diff --git a/CHANGELOG.md b/CHANGELOG.md index ba9ea47cd..08a929418 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -75,6 +75,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Changed +* [#747](https://github.com/allora-network/allora-chain/pull/747) New stdnorm calc + weights onchain + ### Deprecated ### Removed @@ -85,6 +87,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Security + # v0.8.3 ### Added diff --git a/Dockerfile.upgrade b/Dockerfile.upgrade index 11b044bc4..8514b6d8a 100644 --- a/Dockerfile.upgrade +++ b/Dockerfile.upgrade @@ -2,8 +2,8 @@ FROM golang:1.22-bookworm AS builder ENV GO111MODULE=on ENV GOMODCACHE=/gocache -ENV BASELINE_VERSION_TAG=v0.7.0 -ENV UPGRADE_VERSION_TAG=v0.8.0 +ENV BASELINE_VERSION_TAG=v0.8.0 +ENV UPGRADE_VERSION_TAG=v0.9.0 ENV GIT_STASH_MESSAGE="Docker build" diff --git a/app/upgrades.go b/app/upgrades.go index cf9597370..aa7c5fcb7 100644 --- a/app/upgrades.go +++ b/app/upgrades.go @@ -12,6 +12,7 @@ import ( "github.com/allora-network/allora-chain/app/upgrades/v0_6_0" "github.com/allora-network/allora-chain/app/upgrades/v0_7_0" "github.com/allora-network/allora-chain/app/upgrades/v0_8_0" + "github.com/allora-network/allora-chain/app/upgrades/v0_9_0" ) var upgradeHandlers = []upgrades.Upgrade{ @@ -21,6 +22,7 @@ var upgradeHandlers = []upgrades.Upgrade{ v0_6_0.Upgrade, v0_7_0.Upgrade, v0_8_0.Upgrade, + v0_9_0.Upgrade, // Add more upgrade handlers here // ... } diff --git a/app/upgrades/v0_9_0/upgrades.go b/app/upgrades/v0_9_0/upgrades.go new file mode 100644 index 000000000..850d4b893 --- /dev/null +++ b/app/upgrades/v0_9_0/upgrades.go @@ -0,0 +1,40 @@ +package v0_9_0 //nolint:revive // var-naming: don't use an underscore in package name + +import ( + "context" + + storetypes "cosmossdk.io/store/types" + upgradetypes "cosmossdk.io/x/upgrade/types" + "github.com/allora-network/allora-chain/app/keepers" + "github.com/allora-network/allora-chain/app/upgrades" + sdk "github.com/cosmos/cosmos-sdk/types" + "github.com/cosmos/cosmos-sdk/types/module" +) + +const ( + UpgradeName = "v0.9.0" +) + +var Upgrade = upgrades.Upgrade{ + UpgradeName: UpgradeName, + CreateUpgradeHandler: CreateUpgradeHandler, + StoreUpgrades: storetypes.StoreUpgrades{Added: nil, Renamed: nil, Deleted: nil}, +} + +func CreateUpgradeHandler( + moduleManager *module.Manager, + configurator module.Configurator, + keepers *keepers.AppKeepers, +) upgradetypes.UpgradeHandler { + return func(ctx context.Context, plan upgradetypes.Plan, vm module.VersionMap) (module.VersionMap, error) { + sdkCtx := sdk.UnwrapSDKContext(ctx) + sdkCtx.Logger().Info("RUN MIGRATIONS") + vm, err := moduleManager.RunMigrations(ctx, configurator, vm) + if err != nil { + return vm, err + } + + sdkCtx.Logger().Info("MIGRATIONS COMPLETED") + return vm, nil + } +} diff --git a/math/utils.go b/math/utils.go index 269f56255..7604b2edb 100755 --- a/math/utils.go +++ b/math/utils.go @@ -110,7 +110,7 @@ func NCalcEma( // Used for deterministic ranging of maps func GetSortedKeys[K cmp.Ordered, V any](m map[K]V) []K { keys := make([]K, 0, len(m)) - for k := range m { + for k := range m { // nolint: maprange // reason: iteration to array before sorting keys = append(keys, k) } sort.Slice(keys, func(i, j int) bool { return keys[i] < keys[j] }) @@ -125,7 +125,7 @@ func GetSortedKeys[K cmp.Ordered, V any](m map[K]V) []K { func GetSortedElementsByDecWeightDesc[K cmp.Ordered](m map[K]*Dec) []K { // Create a new array that only contains unique elements that are in the map newL := make([]K, 0) - for id := range m { + for id := range m { // nolint: maprange // reason: iteration to array before sorting newL = append(newL, id) } diff --git a/test/integration/update_params_test.go b/test/integration/update_params_test.go index 3e464e43b..cc8ce2071 100644 --- a/test/integration/update_params_test.go +++ b/test/integration/update_params_test.go @@ -2,7 +2,6 @@ package integration_test import ( "context" - "fmt" alloraMath "github.com/allora-network/allora-chain/math" testCommon "github.com/allora-network/allora-chain/test/common" @@ -28,8 +27,8 @@ func checkIfAdmin(m testCommon.TestConfig, address string) bool { func UpdateParamsChecks(m testCommon.TestConfig) { ctx := context.Background() // Ensure Alice is in the whitelist and Bob is not - require.True(m.T, checkIfAdmin(m, m.AliceAddr), fmt.Sprintf("Alice %s should be a whitelist admin", m.AliceAddr)) - require.False(m.T, checkIfAdmin(m, m.BobAddr), fmt.Sprintf("Bob %s should not be a whitelist admin", m.BobAddr)) + require.True(m.T, checkIfAdmin(m, m.AliceAddr), "Alice %s should be a whitelist admin", m.AliceAddr) + require.False(m.T, checkIfAdmin(m, m.BobAddr), "Bob %s should not be a whitelist admin", m.BobAddr) // Keep old params to revert back to oldParams := GetEmissionsParams(m) @@ -96,6 +95,7 @@ func UpdateParamsChecks(m testCommon.TestConfig) { GlobalReputerWhitelistEnabled: nil, GlobalAdminWhitelistAppended: nil, MaxWhitelistInputArrayLength: nil, + MinWeightThresholdForStdnorm: nil, }, } txResp, err := m.Client.BroadcastTx(ctx, m.AliceAcc, updateParamRequest) @@ -162,6 +162,7 @@ func UpdateParamsChecks(m testCommon.TestConfig) { GlobalReputerWhitelistEnabled: nil, GlobalAdminWhitelistAppended: nil, MaxWhitelistInputArrayLength: nil, + MinWeightThresholdForStdnorm: nil, }, } _, err = m.Client.BroadcastTx(ctx, m.BobAcc, updateParamRequest) @@ -232,6 +233,7 @@ func UpdateParamsChecks(m testCommon.TestConfig) { GlobalReputerWhitelistEnabled: nil, GlobalAdminWhitelistAppended: nil, MaxWhitelistInputArrayLength: nil, + MinWeightThresholdForStdnorm: nil, }, } txResp, err = m.Client.BroadcastTx(ctx, m.AliceAcc, updateParamRequest) diff --git a/test/integration/upgrade_test.go b/test/integration/upgrade_test.go index eb7354bcf..96a60de9b 100644 --- a/test/integration/upgrade_test.go +++ b/test/integration/upgrade_test.go @@ -6,7 +6,7 @@ import ( "time" upgradetypes "cosmossdk.io/x/upgrade/types" - v0_8_0 "github.com/allora-network/allora-chain/app/upgrades/v0_8_0" + v0_9_0 "github.com/allora-network/allora-chain/app/upgrades/v0_9_0" testCommon "github.com/allora-network/allora-chain/test/common" sdktypes "github.com/cosmos/cosmos-sdk/types" authtypes "github.com/cosmos/cosmos-sdk/x/auth/types" @@ -57,7 +57,7 @@ func voteOnProposal(m testCommon.TestConfig, proposalId uint64) { // propose an upgrade to the v0.5.0 software version func proposeUpgrade(m testCommon.TestConfig) (proposalId uint64, proposalHeight int64) { ctx := context.Background() - name := v0_8_0.UpgradeName + name := v0_9_0.UpgradeName summary := "Upgrade to " + name + " software version" currHeight, err := m.Client.BlockHeight(ctx) @@ -162,7 +162,7 @@ func getAppliedVersionHeight(m testCommon.TestConfig, version string) int64 { } func UpgradeChecks(m testCommon.TestConfig) { - versionName := v0_8_0.UpgradeName + versionName := v0_9_0.UpgradeName m.T.Log("--- Getting Emissions Module Version Before Upgrade ---") emissionsVersionBefore := getEmissionsVersion(m) m.T.Logf("--- Propose Upgrade to %s software version from v0 (%d) ---", versionName, emissionsVersionBefore) diff --git a/test/local_testnet_l1.sh b/test/local_testnet_l1.sh index becb9117a..5ce713104 100755 --- a/test/local_testnet_l1.sh +++ b/test/local_testnet_l1.sh @@ -30,7 +30,7 @@ VALIDATORS_API_PORT_START=1317 HEADS_IP_START=20 CHAIN_ID="${CHAIN_ID:-localnet}" LOCALNET_DATADIR="$(pwd)/$CHAIN_ID" -UPGRADE_VERSION="${UPGRADE_VERSION:-"v0.7.0"}" +UPGRADE_VERSION="${UPGRADE_VERSION:-"v0.9.0"}" DO_UPGRADE="${DO_UPGRADE:-"false"}" if [ "$DO_UPGRADE" == "true" ]; then DOCKERFILE="${DOCKERFILE:-"./Dockerfile.upgrade"}" diff --git a/utils/migutils/migutils_test.go b/utils/migutils/migutils_test.go index f0bcef5ee..6ad8e4adc 100644 --- a/utils/migutils/migutils_test.go +++ b/utils/migutils/migutils_test.go @@ -3,7 +3,6 @@ package migutils_test import ( "fmt" rand "math/rand/v2" - "strings" "testing" "cosmossdk.io/collections" @@ -133,6 +132,6 @@ func runSafelyClearWholeMapCase[K, V any]( for _, key := range keys { _, err := m.Get(testDB.TestCtx.Ctx, key) require.Error(t, err) - require.True(t, strings.Contains(err.Error(), "collections: not found")) + require.Contains(t, err.Error(), "collections: not found") } } diff --git a/x/emissions/api/emissions/v7/codec.go b/x/emissions/api/emissions/v7/codec.go new file mode 100644 index 000000000..366db0ed6 --- /dev/null +++ b/x/emissions/api/emissions/v7/codec.go @@ -0,0 +1,47 @@ +package emissionsv7 + +import ( + "github.com/cosmos/cosmos-sdk/codec" + "github.com/cosmos/cosmos-sdk/codec/types" + sdk "github.com/cosmos/cosmos-sdk/types" +) + +// nolint: exhaustruct +func RegisterInterfaces(registry types.InterfaceRegistry) { + registry.RegisterImplementations((*sdk.Msg)(nil), + &UpdateParamsRequest{}, + &CreateNewTopicRequest{}, + &RegisterRequest{}, + &RemoveRegistrationRequest{}, + &AddStakeRequest{}, + &RemoveStakeRequest{}, + &CancelRemoveStakeRequest{}, + &DelegateStakeRequest{}, + &RewardDelegateStakeRequest{}, + &RemoveDelegateStakeRequest{}, + &CancelRemoveDelegateStakeRequest{}, + &FundTopicRequest{}, + &AddToWhitelistAdminRequest{}, + &RemoveFromWhitelistAdminRequest{}, + &InsertWorkerPayloadRequest{}, + &InsertReputerPayloadRequest{}, + &AddToGlobalWhitelistRequest{}, + &RemoveFromGlobalWhitelistRequest{}, + &EnableTopicWorkerWhitelistRequest{}, + &DisableTopicWorkerWhitelistRequest{}, + &EnableTopicReputerWhitelistRequest{}, + &DisableTopicReputerWhitelistRequest{}, + &AddToTopicCreatorWhitelistRequest{}, + &RemoveFromTopicCreatorWhitelistRequest{}, + &AddToTopicWorkerWhitelistRequest{}, + &RemoveFromTopicWorkerWhitelistRequest{}, + &AddToTopicReputerWhitelistRequest{}, + &RemoveFromTopicReputerWhitelistRequest{}, + ) +} + +// So we need to register types like: +func RegisterTypes(registry *codec.LegacyAmino) { + // Internal types used by requests + registry.RegisterConcrete(&OptionalParams{}, "emissions/v7/OptionalParams", nil) //nolint:exhaustruct +} diff --git a/x/emissions/api/emissions/v7/events.pulsar.go b/x/emissions/api/emissions/v7/events.pulsar.go index 6faa6101f..b5baa6bd3 100644 --- a/x/emissions/api/emissions/v7/events.pulsar.go +++ b/x/emissions/api/emissions/v7/events.pulsar.go @@ -855,13 +855,12 @@ func (x *_EventRewardsSettled_5_list) IsValid() bool { } var ( - md_EventRewardsSettled protoreflect.MessageDescriptor - fd_EventRewardsSettled_actor_type protoreflect.FieldDescriptor - fd_EventRewardsSettled_topic_id protoreflect.FieldDescriptor - fd_EventRewardsSettled_block_height protoreflect.FieldDescriptor - fd_EventRewardsSettled_addresses protoreflect.FieldDescriptor - fd_EventRewardsSettled_rewards protoreflect.FieldDescriptor - fd_EventRewardsSettled_block_height_tx protoreflect.FieldDescriptor + md_EventRewardsSettled protoreflect.MessageDescriptor + fd_EventRewardsSettled_actor_type protoreflect.FieldDescriptor + fd_EventRewardsSettled_topic_id protoreflect.FieldDescriptor + fd_EventRewardsSettled_block_height protoreflect.FieldDescriptor + fd_EventRewardsSettled_addresses protoreflect.FieldDescriptor + fd_EventRewardsSettled_rewards protoreflect.FieldDescriptor ) func init() { @@ -872,7 +871,6 @@ func init() { fd_EventRewardsSettled_block_height = md_EventRewardsSettled.Fields().ByName("block_height") fd_EventRewardsSettled_addresses = md_EventRewardsSettled.Fields().ByName("addresses") fd_EventRewardsSettled_rewards = md_EventRewardsSettled.Fields().ByName("rewards") - fd_EventRewardsSettled_block_height_tx = md_EventRewardsSettled.Fields().ByName("block_height_tx") } var _ protoreflect.Message = (*fastReflection_EventRewardsSettled)(nil) @@ -970,12 +968,6 @@ func (x *fastReflection_EventRewardsSettled) Range(f func(protoreflect.FieldDesc return } } - if x.BlockHeightTx != int64(0) { - value := protoreflect.ValueOfInt64(x.BlockHeightTx) - if !f(fd_EventRewardsSettled_block_height_tx, value) { - return - } - } } // Has reports whether a field is populated. @@ -1001,8 +993,6 @@ func (x *fastReflection_EventRewardsSettled) Has(fd protoreflect.FieldDescriptor return len(x.Addresses) != 0 case "emissions.v7.EventRewardsSettled.rewards": return len(x.Rewards) != 0 - case "emissions.v7.EventRewardsSettled.block_height_tx": - return x.BlockHeightTx != int64(0) default: if fd.IsExtension() { panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v7.EventRewardsSettled")) @@ -1029,8 +1019,6 @@ func (x *fastReflection_EventRewardsSettled) Clear(fd protoreflect.FieldDescript x.Addresses = nil case "emissions.v7.EventRewardsSettled.rewards": x.Rewards = nil - case "emissions.v7.EventRewardsSettled.block_height_tx": - x.BlockHeightTx = int64(0) default: if fd.IsExtension() { panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v7.EventRewardsSettled")) @@ -1068,9 +1056,6 @@ func (x *fastReflection_EventRewardsSettled) Get(descriptor protoreflect.FieldDe } listValue := &_EventRewardsSettled_5_list{list: &x.Rewards} return protoreflect.ValueOfList(listValue) - case "emissions.v7.EventRewardsSettled.block_height_tx": - value := x.BlockHeightTx - return protoreflect.ValueOfInt64(value) default: if descriptor.IsExtension() { panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v7.EventRewardsSettled")) @@ -1105,8 +1090,6 @@ func (x *fastReflection_EventRewardsSettled) Set(fd protoreflect.FieldDescriptor lv := value.List() clv := lv.(*_EventRewardsSettled_5_list) x.Rewards = *clv.list - case "emissions.v7.EventRewardsSettled.block_height_tx": - x.BlockHeightTx = value.Int() default: if fd.IsExtension() { panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v7.EventRewardsSettled")) @@ -1145,8 +1128,6 @@ func (x *fastReflection_EventRewardsSettled) Mutable(fd protoreflect.FieldDescri panic(fmt.Errorf("field topic_id of message emissions.v7.EventRewardsSettled is not mutable")) case "emissions.v7.EventRewardsSettled.block_height": panic(fmt.Errorf("field block_height of message emissions.v7.EventRewardsSettled is not mutable")) - case "emissions.v7.EventRewardsSettled.block_height_tx": - panic(fmt.Errorf("field block_height_tx of message emissions.v7.EventRewardsSettled is not mutable")) default: if fd.IsExtension() { panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v7.EventRewardsSettled")) @@ -1172,8 +1153,6 @@ func (x *fastReflection_EventRewardsSettled) NewField(fd protoreflect.FieldDescr case "emissions.v7.EventRewardsSettled.rewards": list := []string{} return protoreflect.ValueOfList(&_EventRewardsSettled_5_list{list: &list}) - case "emissions.v7.EventRewardsSettled.block_height_tx": - return protoreflect.ValueOfInt64(int64(0)) default: if fd.IsExtension() { panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v7.EventRewardsSettled")) @@ -1264,9 +1243,6 @@ func (x *fastReflection_EventRewardsSettled) ProtoMethods() *protoiface.Methods n += 1 + l + runtime.Sov(uint64(l)) } } - if x.BlockHeightTx != 0 { - n += 1 + runtime.Sov(uint64(x.BlockHeightTx)) - } if x.unknownFields != nil { n += len(x.unknownFields) } @@ -1296,11 +1272,6 @@ func (x *fastReflection_EventRewardsSettled) ProtoMethods() *protoiface.Methods i -= len(x.unknownFields) copy(dAtA[i:], x.unknownFields) } - if x.BlockHeightTx != 0 { - i = runtime.EncodeVarint(dAtA, i, uint64(x.BlockHeightTx)) - i-- - dAtA[i] = 0x30 - } if len(x.Rewards) > 0 { for iNdEx := len(x.Rewards) - 1; iNdEx >= 0; iNdEx-- { i -= len(x.Rewards[iNdEx]) @@ -1504,25 +1475,6 @@ func (x *fastReflection_EventRewardsSettled) ProtoMethods() *protoiface.Methods } x.Rewards = append(x.Rewards, string(dAtA[iNdEx:postIndex])) iNdEx = postIndex - case 6: - if wireType != 0 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field BlockHeightTx", wireType) - } - x.BlockHeightTx = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow - } - if iNdEx >= l { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - x.BlockHeightTx |= int64(b&0x7F) << shift - if b < 0x80 { - break - } - } default: iNdEx = preIndex skippy, err := runtime.Skip(dAtA[iNdEx:]) @@ -9252,12 +9204,11 @@ type EventRewardsSettled struct { sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - ActorType ActorType `protobuf:"varint,1,opt,name=actor_type,json=actorType,proto3,enum=emissions.v7.ActorType" json:"actor_type,omitempty"` - TopicId uint64 `protobuf:"varint,2,opt,name=topic_id,json=topicId,proto3" json:"topic_id,omitempty"` - BlockHeight int64 `protobuf:"varint,3,opt,name=block_height,json=blockHeight,proto3" json:"block_height,omitempty"` - Addresses []string `protobuf:"bytes,4,rep,name=addresses,proto3" json:"addresses,omitempty"` - Rewards []string `protobuf:"bytes,5,rep,name=rewards,proto3" json:"rewards,omitempty"` - BlockHeightTx int64 `protobuf:"varint,6,opt,name=block_height_tx,json=blockHeightTx,proto3" json:"block_height_tx,omitempty"` + ActorType ActorType `protobuf:"varint,1,opt,name=actor_type,json=actorType,proto3,enum=emissions.v7.ActorType" json:"actor_type,omitempty"` + TopicId uint64 `protobuf:"varint,2,opt,name=topic_id,json=topicId,proto3" json:"topic_id,omitempty"` + BlockHeight int64 `protobuf:"varint,3,opt,name=block_height,json=blockHeight,proto3" json:"block_height,omitempty"` + Addresses []string `protobuf:"bytes,4,rep,name=addresses,proto3" json:"addresses,omitempty"` + Rewards []string `protobuf:"bytes,5,rep,name=rewards,proto3" json:"rewards,omitempty"` } func (x *EventRewardsSettled) Reset() { @@ -9315,13 +9266,6 @@ func (x *EventRewardsSettled) GetRewards() []string { return nil } -func (x *EventRewardsSettled) GetBlockHeightTx() int64 { - if x != nil { - return x.BlockHeightTx - } - return 0 -} - type EventNetworkLossSet struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -10015,7 +9959,7 @@ var file_emissions_v7_events_proto_rawDesc = []byte{ 0x1f, 0x00, 0xda, 0xde, 0x1f, 0x2f, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x61, 0x6c, 0x6c, 0x6f, 0x72, 0x61, 0x2d, 0x6e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x2f, 0x61, 0x6c, 0x6c, 0x6f, 0x72, 0x61, 0x2d, 0x63, 0x68, 0x61, 0x69, 0x6e, 0x2f, 0x6d, 0x61, 0x74, - 0x68, 0x2e, 0x44, 0x65, 0x63, 0x52, 0x06, 0x73, 0x63, 0x6f, 0x72, 0x65, 0x73, 0x22, 0xa4, 0x02, + 0x68, 0x2e, 0x44, 0x65, 0x63, 0x52, 0x06, 0x73, 0x63, 0x6f, 0x72, 0x65, 0x73, 0x22, 0xfc, 0x01, 0x0a, 0x13, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x77, 0x61, 0x72, 0x64, 0x73, 0x53, 0x65, 0x74, 0x74, 0x6c, 0x65, 0x64, 0x12, 0x36, 0x0a, 0x0a, 0x61, 0x63, 0x74, 0x6f, 0x72, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x17, 0x2e, 0x65, 0x6d, 0x69, 0x73, @@ -10031,87 +9975,111 @@ var file_emissions_v7_events_proto_rawDesc = []byte{ 0xda, 0xde, 0x1f, 0x2f, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x61, 0x6c, 0x6c, 0x6f, 0x72, 0x61, 0x2d, 0x6e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x2f, 0x61, 0x6c, 0x6c, 0x6f, 0x72, 0x61, 0x2d, 0x63, 0x68, 0x61, 0x69, 0x6e, 0x2f, 0x6d, 0x61, 0x74, 0x68, 0x2e, - 0x44, 0x65, 0x63, 0x52, 0x07, 0x72, 0x65, 0x77, 0x61, 0x72, 0x64, 0x73, 0x12, 0x26, 0x0a, 0x0f, - 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x5f, 0x68, 0x65, 0x69, 0x67, 0x68, 0x74, 0x5f, 0x74, 0x78, 0x18, - 0x06, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0d, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x48, 0x65, 0x69, 0x67, - 0x68, 0x74, 0x54, 0x78, 0x22, 0x91, 0x01, 0x0a, 0x13, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x4e, 0x65, - 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x4c, 0x6f, 0x73, 0x73, 0x53, 0x65, 0x74, 0x12, 0x19, 0x0a, 0x08, + 0x44, 0x65, 0x63, 0x52, 0x07, 0x72, 0x65, 0x77, 0x61, 0x72, 0x64, 0x73, 0x22, 0x91, 0x01, 0x0a, + 0x13, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x4e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x4c, 0x6f, 0x73, + 0x73, 0x53, 0x65, 0x74, 0x12, 0x19, 0x0a, 0x08, 0x74, 0x6f, 0x70, 0x69, 0x63, 0x5f, 0x69, 0x64, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x07, 0x74, 0x6f, 0x70, 0x69, 0x63, 0x49, 0x64, 0x12, + 0x21, 0x0a, 0x0c, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x5f, 0x68, 0x65, 0x69, 0x67, 0x68, 0x74, 0x18, + 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0b, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x48, 0x65, 0x69, 0x67, + 0x68, 0x74, 0x12, 0x3c, 0x0a, 0x0c, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x5f, 0x62, 0x75, 0x6e, 0x64, + 0x6c, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x65, 0x6d, 0x69, 0x73, 0x73, + 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x33, 0x2e, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x42, 0x75, 0x6e, + 0x64, 0x6c, 0x65, 0x52, 0x0b, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x42, 0x75, 0x6e, 0x64, 0x6c, 0x65, + 0x22, 0x85, 0x01, 0x0a, 0x19, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x46, 0x6f, 0x72, 0x65, 0x63, 0x61, + 0x73, 0x74, 0x54, 0x61, 0x73, 0x6b, 0x53, 0x63, 0x6f, 0x72, 0x65, 0x53, 0x65, 0x74, 0x12, 0x19, + 0x0a, 0x08, 0x74, 0x6f, 0x70, 0x69, 0x63, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, + 0x52, 0x07, 0x74, 0x6f, 0x70, 0x69, 0x63, 0x49, 0x64, 0x12, 0x4d, 0x0a, 0x05, 0x73, 0x63, 0x6f, + 0x72, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x42, 0x37, 0xc8, 0xde, 0x1f, 0x00, 0xda, 0xde, + 0x1f, 0x2f, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x61, 0x6c, 0x6c, + 0x6f, 0x72, 0x61, 0x2d, 0x6e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x2f, 0x61, 0x6c, 0x6c, 0x6f, + 0x72, 0x61, 0x2d, 0x63, 0x68, 0x61, 0x69, 0x6e, 0x2f, 0x6d, 0x61, 0x74, 0x68, 0x2e, 0x44, 0x65, + 0x63, 0x52, 0x05, 0x73, 0x63, 0x6f, 0x72, 0x65, 0x22, 0x83, 0x01, 0x0a, 0x18, 0x45, 0x76, 0x65, + 0x6e, 0x74, 0x57, 0x6f, 0x72, 0x6b, 0x65, 0x72, 0x4c, 0x61, 0x73, 0x74, 0x43, 0x6f, 0x6d, 0x6d, + 0x69, 0x74, 0x53, 0x65, 0x74, 0x12, 0x19, 0x0a, 0x08, 0x74, 0x6f, 0x70, 0x69, 0x63, 0x5f, 0x69, + 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x07, 0x74, 0x6f, 0x70, 0x69, 0x63, 0x49, 0x64, + 0x12, 0x21, 0x0a, 0x0c, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x5f, 0x68, 0x65, 0x69, 0x67, 0x68, 0x74, + 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0b, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x48, 0x65, 0x69, + 0x67, 0x68, 0x74, 0x12, 0x29, 0x0a, 0x05, 0x6e, 0x6f, 0x6e, 0x63, 0x65, 0x18, 0x03, 0x20, 0x01, + 0x28, 0x0b, 0x32, 0x13, 0x2e, 0x65, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, + 0x33, 0x2e, 0x4e, 0x6f, 0x6e, 0x63, 0x65, 0x52, 0x05, 0x6e, 0x6f, 0x6e, 0x63, 0x65, 0x22, 0x84, + 0x01, 0x0a, 0x19, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x70, 0x75, 0x74, 0x65, 0x72, 0x4c, + 0x61, 0x73, 0x74, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x53, 0x65, 0x74, 0x12, 0x19, 0x0a, 0x08, 0x74, 0x6f, 0x70, 0x69, 0x63, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x07, 0x74, 0x6f, 0x70, 0x69, 0x63, 0x49, 0x64, 0x12, 0x21, 0x0a, 0x0c, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x5f, 0x68, 0x65, 0x69, 0x67, 0x68, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0b, 0x62, - 0x6c, 0x6f, 0x63, 0x6b, 0x48, 0x65, 0x69, 0x67, 0x68, 0x74, 0x12, 0x3c, 0x0a, 0x0c, 0x76, 0x61, - 0x6c, 0x75, 0x65, 0x5f, 0x62, 0x75, 0x6e, 0x64, 0x6c, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, - 0x32, 0x19, 0x2e, 0x65, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x33, 0x2e, - 0x56, 0x61, 0x6c, 0x75, 0x65, 0x42, 0x75, 0x6e, 0x64, 0x6c, 0x65, 0x52, 0x0b, 0x76, 0x61, 0x6c, - 0x75, 0x65, 0x42, 0x75, 0x6e, 0x64, 0x6c, 0x65, 0x22, 0x85, 0x01, 0x0a, 0x19, 0x45, 0x76, 0x65, - 0x6e, 0x74, 0x46, 0x6f, 0x72, 0x65, 0x63, 0x61, 0x73, 0x74, 0x54, 0x61, 0x73, 0x6b, 0x53, 0x63, - 0x6f, 0x72, 0x65, 0x53, 0x65, 0x74, 0x12, 0x19, 0x0a, 0x08, 0x74, 0x6f, 0x70, 0x69, 0x63, 0x5f, - 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x07, 0x74, 0x6f, 0x70, 0x69, 0x63, 0x49, - 0x64, 0x12, 0x4d, 0x0a, 0x05, 0x73, 0x63, 0x6f, 0x72, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, - 0x42, 0x37, 0xc8, 0xde, 0x1f, 0x00, 0xda, 0xde, 0x1f, 0x2f, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, - 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x61, 0x6c, 0x6c, 0x6f, 0x72, 0x61, 0x2d, 0x6e, 0x65, 0x74, 0x77, - 0x6f, 0x72, 0x6b, 0x2f, 0x61, 0x6c, 0x6c, 0x6f, 0x72, 0x61, 0x2d, 0x63, 0x68, 0x61, 0x69, 0x6e, - 0x2f, 0x6d, 0x61, 0x74, 0x68, 0x2e, 0x44, 0x65, 0x63, 0x52, 0x05, 0x73, 0x63, 0x6f, 0x72, 0x65, - 0x22, 0x83, 0x01, 0x0a, 0x18, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x57, 0x6f, 0x72, 0x6b, 0x65, 0x72, - 0x4c, 0x61, 0x73, 0x74, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x53, 0x65, 0x74, 0x12, 0x19, 0x0a, + 0x6c, 0x6f, 0x63, 0x6b, 0x48, 0x65, 0x69, 0x67, 0x68, 0x74, 0x12, 0x29, 0x0a, 0x05, 0x6e, 0x6f, + 0x6e, 0x63, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x13, 0x2e, 0x65, 0x6d, 0x69, 0x73, + 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x33, 0x2e, 0x4e, 0x6f, 0x6e, 0x63, 0x65, 0x52, 0x05, + 0x6e, 0x6f, 0x6e, 0x63, 0x65, 0x22, 0x86, 0x01, 0x0a, 0x14, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x54, + 0x6f, 0x70, 0x69, 0x63, 0x52, 0x65, 0x77, 0x61, 0x72, 0x64, 0x73, 0x53, 0x65, 0x74, 0x12, 0x1b, + 0x0a, 0x09, 0x74, 0x6f, 0x70, 0x69, 0x63, 0x5f, 0x69, 0x64, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, + 0x04, 0x52, 0x08, 0x74, 0x6f, 0x70, 0x69, 0x63, 0x49, 0x64, 0x73, 0x12, 0x51, 0x0a, 0x07, 0x72, + 0x65, 0x77, 0x61, 0x72, 0x64, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x09, 0x42, 0x37, 0xc8, 0xde, + 0x1f, 0x00, 0xda, 0xde, 0x1f, 0x2f, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, + 0x2f, 0x61, 0x6c, 0x6c, 0x6f, 0x72, 0x61, 0x2d, 0x6e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x2f, + 0x61, 0x6c, 0x6c, 0x6f, 0x72, 0x61, 0x2d, 0x63, 0x68, 0x61, 0x69, 0x6e, 0x2f, 0x6d, 0x61, 0x74, + 0x68, 0x2e, 0x44, 0x65, 0x63, 0x52, 0x07, 0x72, 0x65, 0x77, 0x61, 0x72, 0x64, 0x73, 0x22, 0x88, + 0x02, 0x0a, 0x11, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x45, 0x4d, 0x41, 0x53, 0x63, 0x6f, 0x72, 0x65, + 0x73, 0x53, 0x65, 0x74, 0x12, 0x36, 0x0a, 0x0a, 0x61, 0x63, 0x74, 0x6f, 0x72, 0x5f, 0x74, 0x79, + 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x17, 0x2e, 0x65, 0x6d, 0x69, 0x73, 0x73, + 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x37, 0x2e, 0x41, 0x63, 0x74, 0x6f, 0x72, 0x54, 0x79, 0x70, + 0x65, 0x52, 0x09, 0x61, 0x63, 0x74, 0x6f, 0x72, 0x54, 0x79, 0x70, 0x65, 0x12, 0x19, 0x0a, 0x08, + 0x74, 0x6f, 0x70, 0x69, 0x63, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x04, 0x52, 0x07, + 0x74, 0x6f, 0x70, 0x69, 0x63, 0x49, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x6e, 0x6f, 0x6e, 0x63, 0x65, + 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x05, 0x6e, 0x6f, 0x6e, 0x63, 0x65, 0x12, 0x1c, 0x0a, + 0x09, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x65, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x09, + 0x52, 0x09, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x65, 0x73, 0x12, 0x4f, 0x0a, 0x06, 0x73, + 0x63, 0x6f, 0x72, 0x65, 0x73, 0x18, 0x05, 0x20, 0x03, 0x28, 0x09, 0x42, 0x37, 0xc8, 0xde, 0x1f, + 0x00, 0xda, 0xde, 0x1f, 0x2f, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, + 0x61, 0x6c, 0x6c, 0x6f, 0x72, 0x61, 0x2d, 0x6e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x2f, 0x61, + 0x6c, 0x6c, 0x6f, 0x72, 0x61, 0x2d, 0x63, 0x68, 0x61, 0x69, 0x6e, 0x2f, 0x6d, 0x61, 0x74, 0x68, + 0x2e, 0x44, 0x65, 0x63, 0x52, 0x06, 0x73, 0x63, 0x6f, 0x72, 0x65, 0x73, 0x12, 0x1b, 0x0a, 0x09, + 0x69, 0x73, 0x5f, 0x61, 0x63, 0x74, 0x69, 0x76, 0x65, 0x18, 0x06, 0x20, 0x03, 0x28, 0x08, 0x52, + 0x08, 0x69, 0x73, 0x41, 0x63, 0x74, 0x69, 0x76, 0x65, 0x22, 0x90, 0x02, 0x0a, 0x1d, 0x45, 0x76, + 0x65, 0x6e, 0x74, 0x4c, 0x69, 0x73, 0x74, 0x65, 0x6e, 0x69, 0x6e, 0x67, 0x43, 0x6f, 0x65, 0x66, + 0x66, 0x69, 0x63, 0x69, 0x65, 0x6e, 0x74, 0x73, 0x53, 0x65, 0x74, 0x12, 0x36, 0x0a, 0x0a, 0x61, + 0x63, 0x74, 0x6f, 0x72, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, + 0x17, 0x2e, 0x65, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x37, 0x2e, 0x41, + 0x63, 0x74, 0x6f, 0x72, 0x54, 0x79, 0x70, 0x65, 0x52, 0x09, 0x61, 0x63, 0x74, 0x6f, 0x72, 0x54, + 0x79, 0x70, 0x65, 0x12, 0x19, 0x0a, 0x08, 0x74, 0x6f, 0x70, 0x69, 0x63, 0x5f, 0x69, 0x64, 0x18, + 0x02, 0x20, 0x01, 0x28, 0x04, 0x52, 0x07, 0x74, 0x6f, 0x70, 0x69, 0x63, 0x49, 0x64, 0x12, 0x21, + 0x0a, 0x0c, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x5f, 0x68, 0x65, 0x69, 0x67, 0x68, 0x74, 0x18, 0x03, + 0x20, 0x01, 0x28, 0x03, 0x52, 0x0b, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x48, 0x65, 0x69, 0x67, 0x68, + 0x74, 0x12, 0x1c, 0x0a, 0x09, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x65, 0x73, 0x18, 0x04, + 0x20, 0x03, 0x28, 0x09, 0x52, 0x09, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x65, 0x73, 0x12, + 0x5b, 0x0a, 0x0c, 0x63, 0x6f, 0x65, 0x66, 0x66, 0x69, 0x63, 0x69, 0x65, 0x6e, 0x74, 0x73, 0x18, + 0x05, 0x20, 0x03, 0x28, 0x09, 0x42, 0x37, 0xc8, 0xde, 0x1f, 0x00, 0xda, 0xde, 0x1f, 0x2f, 0x67, + 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x61, 0x6c, 0x6c, 0x6f, 0x72, 0x61, + 0x2d, 0x6e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x2f, 0x61, 0x6c, 0x6c, 0x6f, 0x72, 0x61, 0x2d, + 0x63, 0x68, 0x61, 0x69, 0x6e, 0x2f, 0x6d, 0x61, 0x74, 0x68, 0x2e, 0x44, 0x65, 0x63, 0x52, 0x0c, + 0x63, 0x6f, 0x65, 0x66, 0x66, 0x69, 0x63, 0x69, 0x65, 0x6e, 0x74, 0x73, 0x22, 0xcd, 0x01, 0x0a, + 0x1c, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x49, 0x6e, 0x66, 0x65, 0x72, 0x65, 0x72, 0x4e, 0x65, 0x74, + 0x77, 0x6f, 0x72, 0x6b, 0x52, 0x65, 0x67, 0x72, 0x65, 0x74, 0x53, 0x65, 0x74, 0x12, 0x19, 0x0a, 0x08, 0x74, 0x6f, 0x70, 0x69, 0x63, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x07, 0x74, 0x6f, 0x70, 0x69, 0x63, 0x49, 0x64, 0x12, 0x21, 0x0a, 0x0c, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x5f, 0x68, 0x65, 0x69, 0x67, 0x68, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0b, - 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x48, 0x65, 0x69, 0x67, 0x68, 0x74, 0x12, 0x29, 0x0a, 0x05, 0x6e, - 0x6f, 0x6e, 0x63, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x13, 0x2e, 0x65, 0x6d, 0x69, - 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x33, 0x2e, 0x4e, 0x6f, 0x6e, 0x63, 0x65, 0x52, - 0x05, 0x6e, 0x6f, 0x6e, 0x63, 0x65, 0x22, 0x84, 0x01, 0x0a, 0x19, 0x45, 0x76, 0x65, 0x6e, 0x74, - 0x52, 0x65, 0x70, 0x75, 0x74, 0x65, 0x72, 0x4c, 0x61, 0x73, 0x74, 0x43, 0x6f, 0x6d, 0x6d, 0x69, - 0x74, 0x53, 0x65, 0x74, 0x12, 0x19, 0x0a, 0x08, 0x74, 0x6f, 0x70, 0x69, 0x63, 0x5f, 0x69, 0x64, - 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x07, 0x74, 0x6f, 0x70, 0x69, 0x63, 0x49, 0x64, 0x12, - 0x21, 0x0a, 0x0c, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x5f, 0x68, 0x65, 0x69, 0x67, 0x68, 0x74, 0x18, - 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0b, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x48, 0x65, 0x69, 0x67, - 0x68, 0x74, 0x12, 0x29, 0x0a, 0x05, 0x6e, 0x6f, 0x6e, 0x63, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, - 0x0b, 0x32, 0x13, 0x2e, 0x65, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x33, - 0x2e, 0x4e, 0x6f, 0x6e, 0x63, 0x65, 0x52, 0x05, 0x6e, 0x6f, 0x6e, 0x63, 0x65, 0x22, 0x86, 0x01, - 0x0a, 0x14, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x54, 0x6f, 0x70, 0x69, 0x63, 0x52, 0x65, 0x77, 0x61, - 0x72, 0x64, 0x73, 0x53, 0x65, 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x74, 0x6f, 0x70, 0x69, 0x63, 0x5f, - 0x69, 0x64, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x04, 0x52, 0x08, 0x74, 0x6f, 0x70, 0x69, 0x63, - 0x49, 0x64, 0x73, 0x12, 0x51, 0x0a, 0x07, 0x72, 0x65, 0x77, 0x61, 0x72, 0x64, 0x73, 0x18, 0x02, - 0x20, 0x03, 0x28, 0x09, 0x42, 0x37, 0xc8, 0xde, 0x1f, 0x00, 0xda, 0xde, 0x1f, 0x2f, 0x67, 0x69, - 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x61, 0x6c, 0x6c, 0x6f, 0x72, 0x61, 0x2d, - 0x6e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x2f, 0x61, 0x6c, 0x6c, 0x6f, 0x72, 0x61, 0x2d, 0x63, - 0x68, 0x61, 0x69, 0x6e, 0x2f, 0x6d, 0x61, 0x74, 0x68, 0x2e, 0x44, 0x65, 0x63, 0x52, 0x07, 0x72, - 0x65, 0x77, 0x61, 0x72, 0x64, 0x73, 0x22, 0x88, 0x02, 0x0a, 0x11, 0x45, 0x76, 0x65, 0x6e, 0x74, - 0x45, 0x4d, 0x41, 0x53, 0x63, 0x6f, 0x72, 0x65, 0x73, 0x53, 0x65, 0x74, 0x12, 0x36, 0x0a, 0x0a, - 0x61, 0x63, 0x74, 0x6f, 0x72, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, - 0x32, 0x17, 0x2e, 0x65, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x37, 0x2e, - 0x41, 0x63, 0x74, 0x6f, 0x72, 0x54, 0x79, 0x70, 0x65, 0x52, 0x09, 0x61, 0x63, 0x74, 0x6f, 0x72, - 0x54, 0x79, 0x70, 0x65, 0x12, 0x19, 0x0a, 0x08, 0x74, 0x6f, 0x70, 0x69, 0x63, 0x5f, 0x69, 0x64, - 0x18, 0x02, 0x20, 0x01, 0x28, 0x04, 0x52, 0x07, 0x74, 0x6f, 0x70, 0x69, 0x63, 0x49, 0x64, 0x12, - 0x14, 0x0a, 0x05, 0x6e, 0x6f, 0x6e, 0x63, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x05, - 0x6e, 0x6f, 0x6e, 0x63, 0x65, 0x12, 0x1c, 0x0a, 0x09, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, - 0x65, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x09, 0x52, 0x09, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, - 0x73, 0x65, 0x73, 0x12, 0x4f, 0x0a, 0x06, 0x73, 0x63, 0x6f, 0x72, 0x65, 0x73, 0x18, 0x05, 0x20, - 0x03, 0x28, 0x09, 0x42, 0x37, 0xc8, 0xde, 0x1f, 0x00, 0xda, 0xde, 0x1f, 0x2f, 0x67, 0x69, 0x74, - 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x61, 0x6c, 0x6c, 0x6f, 0x72, 0x61, 0x2d, 0x6e, - 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x2f, 0x61, 0x6c, 0x6c, 0x6f, 0x72, 0x61, 0x2d, 0x63, 0x68, - 0x61, 0x69, 0x6e, 0x2f, 0x6d, 0x61, 0x74, 0x68, 0x2e, 0x44, 0x65, 0x63, 0x52, 0x06, 0x73, 0x63, - 0x6f, 0x72, 0x65, 0x73, 0x12, 0x1b, 0x0a, 0x09, 0x69, 0x73, 0x5f, 0x61, 0x63, 0x74, 0x69, 0x76, - 0x65, 0x18, 0x06, 0x20, 0x03, 0x28, 0x08, 0x52, 0x08, 0x69, 0x73, 0x41, 0x63, 0x74, 0x69, 0x76, - 0x65, 0x22, 0x90, 0x02, 0x0a, 0x1d, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x4c, 0x69, 0x73, 0x74, 0x65, - 0x6e, 0x69, 0x6e, 0x67, 0x43, 0x6f, 0x65, 0x66, 0x66, 0x69, 0x63, 0x69, 0x65, 0x6e, 0x74, 0x73, - 0x53, 0x65, 0x74, 0x12, 0x36, 0x0a, 0x0a, 0x61, 0x63, 0x74, 0x6f, 0x72, 0x5f, 0x74, 0x79, 0x70, - 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x17, 0x2e, 0x65, 0x6d, 0x69, 0x73, 0x73, 0x69, - 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x37, 0x2e, 0x41, 0x63, 0x74, 0x6f, 0x72, 0x54, 0x79, 0x70, 0x65, - 0x52, 0x09, 0x61, 0x63, 0x74, 0x6f, 0x72, 0x54, 0x79, 0x70, 0x65, 0x12, 0x19, 0x0a, 0x08, 0x74, - 0x6f, 0x70, 0x69, 0x63, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x04, 0x52, 0x07, 0x74, - 0x6f, 0x70, 0x69, 0x63, 0x49, 0x64, 0x12, 0x21, 0x0a, 0x0c, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x5f, - 0x68, 0x65, 0x69, 0x67, 0x68, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0b, 0x62, 0x6c, - 0x6f, 0x63, 0x6b, 0x48, 0x65, 0x69, 0x67, 0x68, 0x74, 0x12, 0x1c, 0x0a, 0x09, 0x61, 0x64, 0x64, - 0x72, 0x65, 0x73, 0x73, 0x65, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x09, 0x52, 0x09, 0x61, 0x64, - 0x64, 0x72, 0x65, 0x73, 0x73, 0x65, 0x73, 0x12, 0x5b, 0x0a, 0x0c, 0x63, 0x6f, 0x65, 0x66, 0x66, - 0x69, 0x63, 0x69, 0x65, 0x6e, 0x74, 0x73, 0x18, 0x05, 0x20, 0x03, 0x28, 0x09, 0x42, 0x37, 0xc8, + 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x48, 0x65, 0x69, 0x67, 0x68, 0x74, 0x12, 0x1c, 0x0a, 0x09, 0x61, + 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x65, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x09, 0x52, 0x09, + 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x65, 0x73, 0x12, 0x51, 0x0a, 0x07, 0x72, 0x65, 0x67, + 0x72, 0x65, 0x74, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x09, 0x42, 0x37, 0xc8, 0xde, 0x1f, 0x00, + 0xda, 0xde, 0x1f, 0x2f, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x61, + 0x6c, 0x6c, 0x6f, 0x72, 0x61, 0x2d, 0x6e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x2f, 0x61, 0x6c, + 0x6c, 0x6f, 0x72, 0x61, 0x2d, 0x63, 0x68, 0x61, 0x69, 0x6e, 0x2f, 0x6d, 0x61, 0x74, 0x68, 0x2e, + 0x44, 0x65, 0x63, 0x52, 0x07, 0x72, 0x65, 0x67, 0x72, 0x65, 0x74, 0x73, 0x22, 0xd0, 0x01, 0x0a, + 0x1f, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x46, 0x6f, 0x72, 0x65, 0x63, 0x61, 0x73, 0x74, 0x65, 0x72, + 0x4e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x52, 0x65, 0x67, 0x72, 0x65, 0x74, 0x53, 0x65, 0x74, + 0x12, 0x19, 0x0a, 0x08, 0x74, 0x6f, 0x70, 0x69, 0x63, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, + 0x28, 0x04, 0x52, 0x07, 0x74, 0x6f, 0x70, 0x69, 0x63, 0x49, 0x64, 0x12, 0x21, 0x0a, 0x0c, 0x62, + 0x6c, 0x6f, 0x63, 0x6b, 0x5f, 0x68, 0x65, 0x69, 0x67, 0x68, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, + 0x03, 0x52, 0x0b, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x48, 0x65, 0x69, 0x67, 0x68, 0x74, 0x12, 0x1c, + 0x0a, 0x09, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x65, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, + 0x09, 0x52, 0x09, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x65, 0x73, 0x12, 0x51, 0x0a, 0x07, + 0x72, 0x65, 0x67, 0x72, 0x65, 0x74, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x09, 0x42, 0x37, 0xc8, 0xde, 0x1f, 0x00, 0xda, 0xde, 0x1f, 0x2f, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x61, 0x6c, 0x6c, 0x6f, 0x72, 0x61, 0x2d, 0x6e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x2f, 0x61, 0x6c, 0x6c, 0x6f, 0x72, 0x61, 0x2d, 0x63, 0x68, 0x61, 0x69, 0x6e, 0x2f, 0x6d, 0x61, - 0x74, 0x68, 0x2e, 0x44, 0x65, 0x63, 0x52, 0x0c, 0x63, 0x6f, 0x65, 0x66, 0x66, 0x69, 0x63, 0x69, - 0x65, 0x6e, 0x74, 0x73, 0x22, 0xcd, 0x01, 0x0a, 0x1c, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x49, 0x6e, + 0x74, 0x68, 0x2e, 0x44, 0x65, 0x63, 0x52, 0x07, 0x72, 0x65, 0x67, 0x72, 0x65, 0x74, 0x73, 0x22, + 0xd2, 0x01, 0x0a, 0x21, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x4e, 0x61, 0x69, 0x76, 0x65, 0x49, 0x6e, 0x66, 0x65, 0x72, 0x65, 0x72, 0x4e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x52, 0x65, 0x67, 0x72, 0x65, 0x74, 0x53, 0x65, 0x74, 0x12, 0x19, 0x0a, 0x08, 0x74, 0x6f, 0x70, 0x69, 0x63, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x07, 0x74, 0x6f, 0x70, 0x69, 0x63, 0x49, 0x64, @@ -10124,77 +10092,51 @@ var file_emissions_v7_events_proto_rawDesc = []byte{ 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x61, 0x6c, 0x6c, 0x6f, 0x72, 0x61, 0x2d, 0x6e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x2f, 0x61, 0x6c, 0x6c, 0x6f, 0x72, 0x61, 0x2d, 0x63, 0x68, 0x61, 0x69, 0x6e, 0x2f, 0x6d, 0x61, 0x74, 0x68, 0x2e, 0x44, 0x65, 0x63, 0x52, 0x07, 0x72, 0x65, 0x67, - 0x72, 0x65, 0x74, 0x73, 0x22, 0xd0, 0x01, 0x0a, 0x1f, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x46, 0x6f, - 0x72, 0x65, 0x63, 0x61, 0x73, 0x74, 0x65, 0x72, 0x4e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x52, - 0x65, 0x67, 0x72, 0x65, 0x74, 0x53, 0x65, 0x74, 0x12, 0x19, 0x0a, 0x08, 0x74, 0x6f, 0x70, 0x69, - 0x63, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x07, 0x74, 0x6f, 0x70, 0x69, - 0x63, 0x49, 0x64, 0x12, 0x21, 0x0a, 0x0c, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x5f, 0x68, 0x65, 0x69, - 0x67, 0x68, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0b, 0x62, 0x6c, 0x6f, 0x63, 0x6b, - 0x48, 0x65, 0x69, 0x67, 0x68, 0x74, 0x12, 0x1c, 0x0a, 0x09, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, - 0x73, 0x65, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x09, 0x52, 0x09, 0x61, 0x64, 0x64, 0x72, 0x65, - 0x73, 0x73, 0x65, 0x73, 0x12, 0x51, 0x0a, 0x07, 0x72, 0x65, 0x67, 0x72, 0x65, 0x74, 0x73, 0x18, - 0x04, 0x20, 0x03, 0x28, 0x09, 0x42, 0x37, 0xc8, 0xde, 0x1f, 0x00, 0xda, 0xde, 0x1f, 0x2f, 0x67, - 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x61, 0x6c, 0x6c, 0x6f, 0x72, 0x61, - 0x2d, 0x6e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x2f, 0x61, 0x6c, 0x6c, 0x6f, 0x72, 0x61, 0x2d, - 0x63, 0x68, 0x61, 0x69, 0x6e, 0x2f, 0x6d, 0x61, 0x74, 0x68, 0x2e, 0x44, 0x65, 0x63, 0x52, 0x07, - 0x72, 0x65, 0x67, 0x72, 0x65, 0x74, 0x73, 0x22, 0xd2, 0x01, 0x0a, 0x21, 0x45, 0x76, 0x65, 0x6e, - 0x74, 0x4e, 0x61, 0x69, 0x76, 0x65, 0x49, 0x6e, 0x66, 0x65, 0x72, 0x65, 0x72, 0x4e, 0x65, 0x74, - 0x77, 0x6f, 0x72, 0x6b, 0x52, 0x65, 0x67, 0x72, 0x65, 0x74, 0x53, 0x65, 0x74, 0x12, 0x19, 0x0a, - 0x08, 0x74, 0x6f, 0x70, 0x69, 0x63, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, - 0x07, 0x74, 0x6f, 0x70, 0x69, 0x63, 0x49, 0x64, 0x12, 0x21, 0x0a, 0x0c, 0x62, 0x6c, 0x6f, 0x63, - 0x6b, 0x5f, 0x68, 0x65, 0x69, 0x67, 0x68, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0b, - 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x48, 0x65, 0x69, 0x67, 0x68, 0x74, 0x12, 0x1c, 0x0a, 0x09, 0x61, - 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x65, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x09, 0x52, 0x09, - 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x65, 0x73, 0x12, 0x51, 0x0a, 0x07, 0x72, 0x65, 0x67, - 0x72, 0x65, 0x74, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x09, 0x42, 0x37, 0xc8, 0xde, 0x1f, 0x00, - 0xda, 0xde, 0x1f, 0x2f, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x61, - 0x6c, 0x6c, 0x6f, 0x72, 0x61, 0x2d, 0x6e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x2f, 0x61, 0x6c, - 0x6c, 0x6f, 0x72, 0x61, 0x2d, 0x63, 0x68, 0x61, 0x69, 0x6e, 0x2f, 0x6d, 0x61, 0x74, 0x68, 0x2e, - 0x44, 0x65, 0x63, 0x52, 0x07, 0x72, 0x65, 0x67, 0x72, 0x65, 0x74, 0x73, 0x22, 0xab, 0x01, 0x0a, - 0x1a, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x54, 0x6f, 0x70, 0x69, 0x63, 0x49, 0x6e, 0x69, 0x74, 0x69, - 0x61, 0x6c, 0x52, 0x65, 0x67, 0x72, 0x65, 0x74, 0x53, 0x65, 0x74, 0x12, 0x19, 0x0a, 0x08, 0x74, - 0x6f, 0x70, 0x69, 0x63, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x07, 0x74, - 0x6f, 0x70, 0x69, 0x63, 0x49, 0x64, 0x12, 0x21, 0x0a, 0x0c, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x5f, - 0x68, 0x65, 0x69, 0x67, 0x68, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0b, 0x62, 0x6c, - 0x6f, 0x63, 0x6b, 0x48, 0x65, 0x69, 0x67, 0x68, 0x74, 0x12, 0x4f, 0x0a, 0x06, 0x72, 0x65, 0x67, - 0x72, 0x65, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x42, 0x37, 0xc8, 0xde, 0x1f, 0x00, 0xda, - 0xde, 0x1f, 0x2f, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x61, 0x6c, - 0x6c, 0x6f, 0x72, 0x61, 0x2d, 0x6e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x2f, 0x61, 0x6c, 0x6c, - 0x6f, 0x72, 0x61, 0x2d, 0x63, 0x68, 0x61, 0x69, 0x6e, 0x2f, 0x6d, 0x61, 0x74, 0x68, 0x2e, 0x44, - 0x65, 0x63, 0x52, 0x06, 0x72, 0x65, 0x67, 0x72, 0x65, 0x74, 0x22, 0xe3, 0x01, 0x0a, 0x1c, 0x45, - 0x76, 0x65, 0x6e, 0x74, 0x54, 0x6f, 0x70, 0x69, 0x63, 0x49, 0x6e, 0x69, 0x74, 0x69, 0x61, 0x6c, - 0x45, 0x6d, 0x61, 0x53, 0x63, 0x6f, 0x72, 0x65, 0x53, 0x65, 0x74, 0x12, 0x36, 0x0a, 0x0a, 0x61, - 0x63, 0x74, 0x6f, 0x72, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, - 0x17, 0x2e, 0x65, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x37, 0x2e, 0x41, - 0x63, 0x74, 0x6f, 0x72, 0x54, 0x79, 0x70, 0x65, 0x52, 0x09, 0x61, 0x63, 0x74, 0x6f, 0x72, 0x54, - 0x79, 0x70, 0x65, 0x12, 0x19, 0x0a, 0x08, 0x74, 0x6f, 0x70, 0x69, 0x63, 0x5f, 0x69, 0x64, 0x18, - 0x02, 0x20, 0x01, 0x28, 0x04, 0x52, 0x07, 0x74, 0x6f, 0x70, 0x69, 0x63, 0x49, 0x64, 0x12, 0x21, - 0x0a, 0x0c, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x5f, 0x68, 0x65, 0x69, 0x67, 0x68, 0x74, 0x18, 0x03, + 0x72, 0x65, 0x74, 0x73, 0x22, 0xab, 0x01, 0x0a, 0x1a, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x54, 0x6f, + 0x70, 0x69, 0x63, 0x49, 0x6e, 0x69, 0x74, 0x69, 0x61, 0x6c, 0x52, 0x65, 0x67, 0x72, 0x65, 0x74, + 0x53, 0x65, 0x74, 0x12, 0x19, 0x0a, 0x08, 0x74, 0x6f, 0x70, 0x69, 0x63, 0x5f, 0x69, 0x64, 0x18, + 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x07, 0x74, 0x6f, 0x70, 0x69, 0x63, 0x49, 0x64, 0x12, 0x21, + 0x0a, 0x0c, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x5f, 0x68, 0x65, 0x69, 0x67, 0x68, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0b, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x48, 0x65, 0x69, 0x67, 0x68, - 0x74, 0x12, 0x4d, 0x0a, 0x05, 0x73, 0x63, 0x6f, 0x72, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, - 0x42, 0x37, 0xc8, 0xde, 0x1f, 0x00, 0xda, 0xde, 0x1f, 0x2f, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, - 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x61, 0x6c, 0x6c, 0x6f, 0x72, 0x61, 0x2d, 0x6e, 0x65, 0x74, 0x77, - 0x6f, 0x72, 0x6b, 0x2f, 0x61, 0x6c, 0x6c, 0x6f, 0x72, 0x61, 0x2d, 0x63, 0x68, 0x61, 0x69, 0x6e, - 0x2f, 0x6d, 0x61, 0x74, 0x68, 0x2e, 0x44, 0x65, 0x63, 0x52, 0x05, 0x73, 0x63, 0x6f, 0x72, 0x65, - 0x2a, 0x62, 0x0a, 0x09, 0x41, 0x63, 0x74, 0x6f, 0x72, 0x54, 0x79, 0x70, 0x65, 0x12, 0x22, 0x0a, - 0x1e, 0x41, 0x43, 0x54, 0x4f, 0x52, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x49, 0x4e, 0x46, 0x45, - 0x52, 0x45, 0x52, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, - 0x00, 0x12, 0x19, 0x0a, 0x15, 0x41, 0x43, 0x54, 0x4f, 0x52, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, - 0x46, 0x4f, 0x52, 0x45, 0x43, 0x41, 0x53, 0x54, 0x45, 0x52, 0x10, 0x01, 0x12, 0x16, 0x0a, 0x12, - 0x41, 0x43, 0x54, 0x4f, 0x52, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x52, 0x45, 0x50, 0x55, 0x54, - 0x45, 0x52, 0x10, 0x02, 0x42, 0xc1, 0x01, 0x0a, 0x10, 0x63, 0x6f, 0x6d, 0x2e, 0x65, 0x6d, 0x69, - 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x37, 0x42, 0x0b, 0x45, 0x76, 0x65, 0x6e, 0x74, - 0x73, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x4f, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, - 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x61, 0x6c, 0x6c, 0x6f, 0x72, 0x61, 0x2d, 0x6e, 0x65, 0x74, 0x77, - 0x6f, 0x72, 0x6b, 0x2f, 0x61, 0x6c, 0x6c, 0x6f, 0x72, 0x61, 0x2d, 0x63, 0x68, 0x61, 0x69, 0x6e, - 0x2f, 0x78, 0x2f, 0x65, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x61, 0x70, 0x69, - 0x2f, 0x65, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x76, 0x37, 0x3b, 0x65, 0x6d, - 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x76, 0x37, 0xa2, 0x02, 0x03, 0x45, 0x58, 0x58, 0xaa, - 0x02, 0x0c, 0x45, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x56, 0x37, 0xca, 0x02, - 0x0c, 0x45, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x5c, 0x56, 0x37, 0xe2, 0x02, 0x18, - 0x45, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x5c, 0x56, 0x37, 0x5c, 0x47, 0x50, 0x42, - 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x0d, 0x45, 0x6d, 0x69, 0x73, 0x73, - 0x69, 0x6f, 0x6e, 0x73, 0x3a, 0x3a, 0x56, 0x37, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, + 0x74, 0x12, 0x4f, 0x0a, 0x06, 0x72, 0x65, 0x67, 0x72, 0x65, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, + 0x09, 0x42, 0x37, 0xc8, 0xde, 0x1f, 0x00, 0xda, 0xde, 0x1f, 0x2f, 0x67, 0x69, 0x74, 0x68, 0x75, + 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x61, 0x6c, 0x6c, 0x6f, 0x72, 0x61, 0x2d, 0x6e, 0x65, 0x74, + 0x77, 0x6f, 0x72, 0x6b, 0x2f, 0x61, 0x6c, 0x6c, 0x6f, 0x72, 0x61, 0x2d, 0x63, 0x68, 0x61, 0x69, + 0x6e, 0x2f, 0x6d, 0x61, 0x74, 0x68, 0x2e, 0x44, 0x65, 0x63, 0x52, 0x06, 0x72, 0x65, 0x67, 0x72, + 0x65, 0x74, 0x22, 0xe3, 0x01, 0x0a, 0x1c, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x54, 0x6f, 0x70, 0x69, + 0x63, 0x49, 0x6e, 0x69, 0x74, 0x69, 0x61, 0x6c, 0x45, 0x6d, 0x61, 0x53, 0x63, 0x6f, 0x72, 0x65, + 0x53, 0x65, 0x74, 0x12, 0x36, 0x0a, 0x0a, 0x61, 0x63, 0x74, 0x6f, 0x72, 0x5f, 0x74, 0x79, 0x70, + 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x17, 0x2e, 0x65, 0x6d, 0x69, 0x73, 0x73, 0x69, + 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x37, 0x2e, 0x41, 0x63, 0x74, 0x6f, 0x72, 0x54, 0x79, 0x70, 0x65, + 0x52, 0x09, 0x61, 0x63, 0x74, 0x6f, 0x72, 0x54, 0x79, 0x70, 0x65, 0x12, 0x19, 0x0a, 0x08, 0x74, + 0x6f, 0x70, 0x69, 0x63, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x04, 0x52, 0x07, 0x74, + 0x6f, 0x70, 0x69, 0x63, 0x49, 0x64, 0x12, 0x21, 0x0a, 0x0c, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x5f, + 0x68, 0x65, 0x69, 0x67, 0x68, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0b, 0x62, 0x6c, + 0x6f, 0x63, 0x6b, 0x48, 0x65, 0x69, 0x67, 0x68, 0x74, 0x12, 0x4d, 0x0a, 0x05, 0x73, 0x63, 0x6f, + 0x72, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x42, 0x37, 0xc8, 0xde, 0x1f, 0x00, 0xda, 0xde, + 0x1f, 0x2f, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x61, 0x6c, 0x6c, + 0x6f, 0x72, 0x61, 0x2d, 0x6e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x2f, 0x61, 0x6c, 0x6c, 0x6f, + 0x72, 0x61, 0x2d, 0x63, 0x68, 0x61, 0x69, 0x6e, 0x2f, 0x6d, 0x61, 0x74, 0x68, 0x2e, 0x44, 0x65, + 0x63, 0x52, 0x05, 0x73, 0x63, 0x6f, 0x72, 0x65, 0x2a, 0x62, 0x0a, 0x09, 0x41, 0x63, 0x74, 0x6f, + 0x72, 0x54, 0x79, 0x70, 0x65, 0x12, 0x22, 0x0a, 0x1e, 0x41, 0x43, 0x54, 0x4f, 0x52, 0x5f, 0x54, + 0x59, 0x50, 0x45, 0x5f, 0x49, 0x4e, 0x46, 0x45, 0x52, 0x45, 0x52, 0x5f, 0x55, 0x4e, 0x53, 0x50, + 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x19, 0x0a, 0x15, 0x41, 0x43, 0x54, + 0x4f, 0x52, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x46, 0x4f, 0x52, 0x45, 0x43, 0x41, 0x53, 0x54, + 0x45, 0x52, 0x10, 0x01, 0x12, 0x16, 0x0a, 0x12, 0x41, 0x43, 0x54, 0x4f, 0x52, 0x5f, 0x54, 0x59, + 0x50, 0x45, 0x5f, 0x52, 0x45, 0x50, 0x55, 0x54, 0x45, 0x52, 0x10, 0x02, 0x42, 0xc1, 0x01, 0x0a, + 0x10, 0x63, 0x6f, 0x6d, 0x2e, 0x65, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, + 0x37, 0x42, 0x0b, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x73, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, + 0x5a, 0x4f, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x61, 0x6c, 0x6c, + 0x6f, 0x72, 0x61, 0x2d, 0x6e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x2f, 0x61, 0x6c, 0x6c, 0x6f, + 0x72, 0x61, 0x2d, 0x63, 0x68, 0x61, 0x69, 0x6e, 0x2f, 0x78, 0x2f, 0x65, 0x6d, 0x69, 0x73, 0x73, + 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x65, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, + 0x6e, 0x73, 0x2f, 0x76, 0x37, 0x3b, 0x65, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x76, + 0x37, 0xa2, 0x02, 0x03, 0x45, 0x58, 0x58, 0xaa, 0x02, 0x0c, 0x45, 0x6d, 0x69, 0x73, 0x73, 0x69, + 0x6f, 0x6e, 0x73, 0x2e, 0x56, 0x37, 0xca, 0x02, 0x0c, 0x45, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, + 0x6e, 0x73, 0x5c, 0x56, 0x37, 0xe2, 0x02, 0x18, 0x45, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, + 0x73, 0x5c, 0x56, 0x37, 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, + 0xea, 0x02, 0x0d, 0x45, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x3a, 0x3a, 0x56, 0x37, + 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } var ( diff --git a/x/emissions/api/emissions/v8/events.pulsar.go b/x/emissions/api/emissions/v8/events.pulsar.go new file mode 100644 index 000000000..d1acb961e --- /dev/null +++ b/x/emissions/api/emissions/v8/events.pulsar.go @@ -0,0 +1,12363 @@ +// Code generated by protoc-gen-go-pulsar. DO NOT EDIT. +package emissionsv8 + +import ( + fmt "fmt" + v3 "github.com/allora-network/allora-chain/x/emissions/api/emissions/v3" + runtime "github.com/cosmos/cosmos-proto/runtime" + _ "github.com/cosmos/gogoproto/gogoproto" + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoiface "google.golang.org/protobuf/runtime/protoiface" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + io "io" + reflect "reflect" + sync "sync" +) + +var _ protoreflect.List = (*_EventScoresSet_4_list)(nil) + +type _EventScoresSet_4_list struct { + list *[]string +} + +func (x *_EventScoresSet_4_list) Len() int { + if x.list == nil { + return 0 + } + return len(*x.list) +} + +func (x *_EventScoresSet_4_list) Get(i int) protoreflect.Value { + return protoreflect.ValueOfString((*x.list)[i]) +} + +func (x *_EventScoresSet_4_list) Set(i int, value protoreflect.Value) { + valueUnwrapped := value.String() + concreteValue := valueUnwrapped + (*x.list)[i] = concreteValue +} + +func (x *_EventScoresSet_4_list) Append(value protoreflect.Value) { + valueUnwrapped := value.String() + concreteValue := valueUnwrapped + *x.list = append(*x.list, concreteValue) +} + +func (x *_EventScoresSet_4_list) AppendMutable() protoreflect.Value { + panic(fmt.Errorf("AppendMutable can not be called on message EventScoresSet at list field Addresses as it is not of Message kind")) +} + +func (x *_EventScoresSet_4_list) Truncate(n int) { + *x.list = (*x.list)[:n] +} + +func (x *_EventScoresSet_4_list) NewElement() protoreflect.Value { + v := "" + return protoreflect.ValueOfString(v) +} + +func (x *_EventScoresSet_4_list) IsValid() bool { + return x.list != nil +} + +var _ protoreflect.List = (*_EventScoresSet_5_list)(nil) + +type _EventScoresSet_5_list struct { + list *[]string +} + +func (x *_EventScoresSet_5_list) Len() int { + if x.list == nil { + return 0 + } + return len(*x.list) +} + +func (x *_EventScoresSet_5_list) Get(i int) protoreflect.Value { + return protoreflect.ValueOfString((*x.list)[i]) +} + +func (x *_EventScoresSet_5_list) Set(i int, value protoreflect.Value) { + valueUnwrapped := value.String() + concreteValue := valueUnwrapped + (*x.list)[i] = concreteValue +} + +func (x *_EventScoresSet_5_list) Append(value protoreflect.Value) { + valueUnwrapped := value.String() + concreteValue := valueUnwrapped + *x.list = append(*x.list, concreteValue) +} + +func (x *_EventScoresSet_5_list) AppendMutable() protoreflect.Value { + panic(fmt.Errorf("AppendMutable can not be called on message EventScoresSet at list field Scores as it is not of Message kind")) +} + +func (x *_EventScoresSet_5_list) Truncate(n int) { + *x.list = (*x.list)[:n] +} + +func (x *_EventScoresSet_5_list) NewElement() protoreflect.Value { + v := "" + return protoreflect.ValueOfString(v) +} + +func (x *_EventScoresSet_5_list) IsValid() bool { + return x.list != nil +} + +var ( + md_EventScoresSet protoreflect.MessageDescriptor + fd_EventScoresSet_actor_type protoreflect.FieldDescriptor + fd_EventScoresSet_topic_id protoreflect.FieldDescriptor + fd_EventScoresSet_block_height protoreflect.FieldDescriptor + fd_EventScoresSet_addresses protoreflect.FieldDescriptor + fd_EventScoresSet_scores protoreflect.FieldDescriptor +) + +func init() { + file_emissions_v8_events_proto_init() + md_EventScoresSet = File_emissions_v8_events_proto.Messages().ByName("EventScoresSet") + fd_EventScoresSet_actor_type = md_EventScoresSet.Fields().ByName("actor_type") + fd_EventScoresSet_topic_id = md_EventScoresSet.Fields().ByName("topic_id") + fd_EventScoresSet_block_height = md_EventScoresSet.Fields().ByName("block_height") + fd_EventScoresSet_addresses = md_EventScoresSet.Fields().ByName("addresses") + fd_EventScoresSet_scores = md_EventScoresSet.Fields().ByName("scores") +} + +var _ protoreflect.Message = (*fastReflection_EventScoresSet)(nil) + +type fastReflection_EventScoresSet EventScoresSet + +func (x *EventScoresSet) ProtoReflect() protoreflect.Message { + return (*fastReflection_EventScoresSet)(x) +} + +func (x *EventScoresSet) slowProtoReflect() protoreflect.Message { + mi := &file_emissions_v8_events_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) +} + +var _fastReflection_EventScoresSet_messageType fastReflection_EventScoresSet_messageType +var _ protoreflect.MessageType = fastReflection_EventScoresSet_messageType{} + +type fastReflection_EventScoresSet_messageType struct{} + +func (x fastReflection_EventScoresSet_messageType) Zero() protoreflect.Message { + return (*fastReflection_EventScoresSet)(nil) +} +func (x fastReflection_EventScoresSet_messageType) New() protoreflect.Message { + return new(fastReflection_EventScoresSet) +} +func (x fastReflection_EventScoresSet_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_EventScoresSet +} + +// Descriptor returns message descriptor, which contains only the protobuf +// type information for the message. +func (x *fastReflection_EventScoresSet) Descriptor() protoreflect.MessageDescriptor { + return md_EventScoresSet +} + +// Type returns the message type, which encapsulates both Go and protobuf +// type information. If the Go type information is not needed, +// it is recommended that the message descriptor be used instead. +func (x *fastReflection_EventScoresSet) Type() protoreflect.MessageType { + return _fastReflection_EventScoresSet_messageType +} + +// New returns a newly allocated and mutable empty message. +func (x *fastReflection_EventScoresSet) New() protoreflect.Message { + return new(fastReflection_EventScoresSet) +} + +// Interface unwraps the message reflection interface and +// returns the underlying ProtoMessage interface. +func (x *fastReflection_EventScoresSet) Interface() protoreflect.ProtoMessage { + return (*EventScoresSet)(x) +} + +// Range iterates over every populated field in an undefined order, +// calling f for each field descriptor and value encountered. +// Range returns immediately if f returns false. +// While iterating, mutating operations may only be performed +// on the current field descriptor. +func (x *fastReflection_EventScoresSet) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { + if x.ActorType != 0 { + value := protoreflect.ValueOfEnum((protoreflect.EnumNumber)(x.ActorType)) + if !f(fd_EventScoresSet_actor_type, value) { + return + } + } + if x.TopicId != uint64(0) { + value := protoreflect.ValueOfUint64(x.TopicId) + if !f(fd_EventScoresSet_topic_id, value) { + return + } + } + if x.BlockHeight != int64(0) { + value := protoreflect.ValueOfInt64(x.BlockHeight) + if !f(fd_EventScoresSet_block_height, value) { + return + } + } + if len(x.Addresses) != 0 { + value := protoreflect.ValueOfList(&_EventScoresSet_4_list{list: &x.Addresses}) + if !f(fd_EventScoresSet_addresses, value) { + return + } + } + if len(x.Scores) != 0 { + value := protoreflect.ValueOfList(&_EventScoresSet_5_list{list: &x.Scores}) + if !f(fd_EventScoresSet_scores, value) { + return + } + } +} + +// Has reports whether a field is populated. +// +// Some fields have the property of nullability where it is possible to +// distinguish between the default value of a field and whether the field +// was explicitly populated with the default value. Singular message fields, +// member fields of a oneof, and proto2 scalar fields are nullable. Such +// fields are populated only if explicitly set. +// +// In other cases (aside from the nullable cases above), +// a proto3 scalar field is populated if it contains a non-zero value, and +// a repeated field is populated if it is non-empty. +func (x *fastReflection_EventScoresSet) Has(fd protoreflect.FieldDescriptor) bool { + switch fd.FullName() { + case "emissions.v8.EventScoresSet.actor_type": + return x.ActorType != 0 + case "emissions.v8.EventScoresSet.topic_id": + return x.TopicId != uint64(0) + case "emissions.v8.EventScoresSet.block_height": + return x.BlockHeight != int64(0) + case "emissions.v8.EventScoresSet.addresses": + return len(x.Addresses) != 0 + case "emissions.v8.EventScoresSet.scores": + return len(x.Scores) != 0 + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.EventScoresSet")) + } + panic(fmt.Errorf("message emissions.v8.EventScoresSet does not contain field %s", fd.FullName())) + } +} + +// Clear clears the field such that a subsequent Has call reports false. +// +// Clearing an extension field clears both the extension type and value +// associated with the given field number. +// +// Clear is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_EventScoresSet) Clear(fd protoreflect.FieldDescriptor) { + switch fd.FullName() { + case "emissions.v8.EventScoresSet.actor_type": + x.ActorType = 0 + case "emissions.v8.EventScoresSet.topic_id": + x.TopicId = uint64(0) + case "emissions.v8.EventScoresSet.block_height": + x.BlockHeight = int64(0) + case "emissions.v8.EventScoresSet.addresses": + x.Addresses = nil + case "emissions.v8.EventScoresSet.scores": + x.Scores = nil + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.EventScoresSet")) + } + panic(fmt.Errorf("message emissions.v8.EventScoresSet does not contain field %s", fd.FullName())) + } +} + +// Get retrieves the value for a field. +// +// For unpopulated scalars, it returns the default value, where +// the default value of a bytes scalar is guaranteed to be a copy. +// For unpopulated composite types, it returns an empty, read-only view +// of the value; to obtain a mutable reference, use Mutable. +func (x *fastReflection_EventScoresSet) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { + switch descriptor.FullName() { + case "emissions.v8.EventScoresSet.actor_type": + value := x.ActorType + return protoreflect.ValueOfEnum((protoreflect.EnumNumber)(value)) + case "emissions.v8.EventScoresSet.topic_id": + value := x.TopicId + return protoreflect.ValueOfUint64(value) + case "emissions.v8.EventScoresSet.block_height": + value := x.BlockHeight + return protoreflect.ValueOfInt64(value) + case "emissions.v8.EventScoresSet.addresses": + if len(x.Addresses) == 0 { + return protoreflect.ValueOfList(&_EventScoresSet_4_list{}) + } + listValue := &_EventScoresSet_4_list{list: &x.Addresses} + return protoreflect.ValueOfList(listValue) + case "emissions.v8.EventScoresSet.scores": + if len(x.Scores) == 0 { + return protoreflect.ValueOfList(&_EventScoresSet_5_list{}) + } + listValue := &_EventScoresSet_5_list{list: &x.Scores} + return protoreflect.ValueOfList(listValue) + default: + if descriptor.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.EventScoresSet")) + } + panic(fmt.Errorf("message emissions.v8.EventScoresSet does not contain field %s", descriptor.FullName())) + } +} + +// Set stores the value for a field. +// +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType. +// When setting a composite type, it is unspecified whether the stored value +// aliases the source's memory in any way. If the composite value is an +// empty, read-only value, then it panics. +// +// Set is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_EventScoresSet) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { + switch fd.FullName() { + case "emissions.v8.EventScoresSet.actor_type": + x.ActorType = (ActorType)(value.Enum()) + case "emissions.v8.EventScoresSet.topic_id": + x.TopicId = value.Uint() + case "emissions.v8.EventScoresSet.block_height": + x.BlockHeight = value.Int() + case "emissions.v8.EventScoresSet.addresses": + lv := value.List() + clv := lv.(*_EventScoresSet_4_list) + x.Addresses = *clv.list + case "emissions.v8.EventScoresSet.scores": + lv := value.List() + clv := lv.(*_EventScoresSet_5_list) + x.Scores = *clv.list + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.EventScoresSet")) + } + panic(fmt.Errorf("message emissions.v8.EventScoresSet does not contain field %s", fd.FullName())) + } +} + +// Mutable returns a mutable reference to a composite type. +// +// If the field is unpopulated, it may allocate a composite value. +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType +// if not already stored. +// It panics if the field does not contain a composite type. +// +// Mutable is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_EventScoresSet) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.EventScoresSet.addresses": + if x.Addresses == nil { + x.Addresses = []string{} + } + value := &_EventScoresSet_4_list{list: &x.Addresses} + return protoreflect.ValueOfList(value) + case "emissions.v8.EventScoresSet.scores": + if x.Scores == nil { + x.Scores = []string{} + } + value := &_EventScoresSet_5_list{list: &x.Scores} + return protoreflect.ValueOfList(value) + case "emissions.v8.EventScoresSet.actor_type": + panic(fmt.Errorf("field actor_type of message emissions.v8.EventScoresSet is not mutable")) + case "emissions.v8.EventScoresSet.topic_id": + panic(fmt.Errorf("field topic_id of message emissions.v8.EventScoresSet is not mutable")) + case "emissions.v8.EventScoresSet.block_height": + panic(fmt.Errorf("field block_height of message emissions.v8.EventScoresSet is not mutable")) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.EventScoresSet")) + } + panic(fmt.Errorf("message emissions.v8.EventScoresSet does not contain field %s", fd.FullName())) + } +} + +// NewField returns a new value that is assignable to the field +// for the given descriptor. For scalars, this returns the default value. +// For lists, maps, and messages, this returns a new, empty, mutable value. +func (x *fastReflection_EventScoresSet) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.EventScoresSet.actor_type": + return protoreflect.ValueOfEnum(0) + case "emissions.v8.EventScoresSet.topic_id": + return protoreflect.ValueOfUint64(uint64(0)) + case "emissions.v8.EventScoresSet.block_height": + return protoreflect.ValueOfInt64(int64(0)) + case "emissions.v8.EventScoresSet.addresses": + list := []string{} + return protoreflect.ValueOfList(&_EventScoresSet_4_list{list: &list}) + case "emissions.v8.EventScoresSet.scores": + list := []string{} + return protoreflect.ValueOfList(&_EventScoresSet_5_list{list: &list}) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.EventScoresSet")) + } + panic(fmt.Errorf("message emissions.v8.EventScoresSet does not contain field %s", fd.FullName())) + } +} + +// WhichOneof reports which field within the oneof is populated, +// returning nil if none are populated. +// It panics if the oneof descriptor does not belong to this message. +func (x *fastReflection_EventScoresSet) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { + switch d.FullName() { + default: + panic(fmt.Errorf("%s is not a oneof field in emissions.v8.EventScoresSet", d.FullName())) + } + panic("unreachable") +} + +// GetUnknown retrieves the entire list of unknown fields. +// The caller may only mutate the contents of the RawFields +// if the mutated bytes are stored back into the message with SetUnknown. +func (x *fastReflection_EventScoresSet) GetUnknown() protoreflect.RawFields { + return x.unknownFields +} + +// SetUnknown stores an entire list of unknown fields. +// The raw fields must be syntactically valid according to the wire format. +// An implementation may panic if this is not the case. +// Once stored, the caller must not mutate the content of the RawFields. +// An empty RawFields may be passed to clear the fields. +// +// SetUnknown is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_EventScoresSet) SetUnknown(fields protoreflect.RawFields) { + x.unknownFields = fields +} + +// IsValid reports whether the message is valid. +// +// An invalid message is an empty, read-only value. +// +// An invalid message often corresponds to a nil pointer of the concrete +// message type, but the details are implementation dependent. +// Validity is not part of the protobuf data model, and may not +// be preserved in marshaling or other operations. +func (x *fastReflection_EventScoresSet) IsValid() bool { + return x != nil +} + +// ProtoMethods returns optional fastReflectionFeature-path implementations of various operations. +// This method may return nil. +// +// The returned methods type is identical to +// "google.golang.org/protobuf/runtime/protoiface".Methods. +// Consult the protoiface package documentation for details. +func (x *fastReflection_EventScoresSet) ProtoMethods() *protoiface.Methods { + size := func(input protoiface.SizeInput) protoiface.SizeOutput { + x := input.Message.Interface().(*EventScoresSet) + if x == nil { + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: 0, + } + } + options := runtime.SizeInputToOptions(input) + _ = options + var n int + var l int + _ = l + if x.ActorType != 0 { + n += 1 + runtime.Sov(uint64(x.ActorType)) + } + if x.TopicId != 0 { + n += 1 + runtime.Sov(uint64(x.TopicId)) + } + if x.BlockHeight != 0 { + n += 1 + runtime.Sov(uint64(x.BlockHeight)) + } + if len(x.Addresses) > 0 { + for _, s := range x.Addresses { + l = len(s) + n += 1 + l + runtime.Sov(uint64(l)) + } + } + if len(x.Scores) > 0 { + for _, s := range x.Scores { + l = len(s) + n += 1 + l + runtime.Sov(uint64(l)) + } + } + if x.unknownFields != nil { + n += len(x.unknownFields) + } + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: n, + } + } + + marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { + x := input.Message.Interface().(*EventScoresSet) + if x == nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + options := runtime.MarshalInputToOptions(input) + _ = options + size := options.Size(x) + dAtA := make([]byte, size) + i := len(dAtA) + _ = i + var l int + _ = l + if x.unknownFields != nil { + i -= len(x.unknownFields) + copy(dAtA[i:], x.unknownFields) + } + if len(x.Scores) > 0 { + for iNdEx := len(x.Scores) - 1; iNdEx >= 0; iNdEx-- { + i -= len(x.Scores[iNdEx]) + copy(dAtA[i:], x.Scores[iNdEx]) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.Scores[iNdEx]))) + i-- + dAtA[i] = 0x2a + } + } + if len(x.Addresses) > 0 { + for iNdEx := len(x.Addresses) - 1; iNdEx >= 0; iNdEx-- { + i -= len(x.Addresses[iNdEx]) + copy(dAtA[i:], x.Addresses[iNdEx]) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.Addresses[iNdEx]))) + i-- + dAtA[i] = 0x22 + } + } + if x.BlockHeight != 0 { + i = runtime.EncodeVarint(dAtA, i, uint64(x.BlockHeight)) + i-- + dAtA[i] = 0x18 + } + if x.TopicId != 0 { + i = runtime.EncodeVarint(dAtA, i, uint64(x.TopicId)) + i-- + dAtA[i] = 0x10 + } + if x.ActorType != 0 { + i = runtime.EncodeVarint(dAtA, i, uint64(x.ActorType)) + i-- + dAtA[i] = 0x8 + } + if input.Buf != nil { + input.Buf = append(input.Buf, dAtA...) + } else { + input.Buf = dAtA + } + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { + x := input.Message.Interface().(*EventScoresSet) + if x == nil { + return protoiface.UnmarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Flags: input.Flags, + }, nil + } + options := runtime.UnmarshalInputToOptions(input) + _ = options + dAtA := input.Buf + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: EventScoresSet: wiretype end group for non-group") + } + if fieldNum <= 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: EventScoresSet: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field ActorType", wireType) + } + x.ActorType = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + x.ActorType |= ActorType(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 2: + if wireType != 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field TopicId", wireType) + } + x.TopicId = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + x.TopicId |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 3: + if wireType != 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field BlockHeight", wireType) + } + x.BlockHeight = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + x.BlockHeight |= int64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 4: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Addresses", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + x.Addresses = append(x.Addresses, string(dAtA[iNdEx:postIndex])) + iNdEx = postIndex + case 5: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Scores", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + x.Scores = append(x.Scores, string(dAtA[iNdEx:postIndex])) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := runtime.Skip(dAtA[iNdEx:]) + if err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if (iNdEx + skippy) > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + if !options.DiscardUnknown { + x.unknownFields = append(x.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + } + iNdEx += skippy + } + } + + if iNdEx > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, nil + } + return &protoiface.Methods{ + NoUnkeyedLiterals: struct{}{}, + Flags: protoiface.SupportMarshalDeterministic | protoiface.SupportUnmarshalDiscardUnknown, + Size: size, + Marshal: marshal, + Unmarshal: unmarshal, + Merge: nil, + CheckInitialized: nil, + } +} + +var _ protoreflect.List = (*_EventRewardsSettled_4_list)(nil) + +type _EventRewardsSettled_4_list struct { + list *[]string +} + +func (x *_EventRewardsSettled_4_list) Len() int { + if x.list == nil { + return 0 + } + return len(*x.list) +} + +func (x *_EventRewardsSettled_4_list) Get(i int) protoreflect.Value { + return protoreflect.ValueOfString((*x.list)[i]) +} + +func (x *_EventRewardsSettled_4_list) Set(i int, value protoreflect.Value) { + valueUnwrapped := value.String() + concreteValue := valueUnwrapped + (*x.list)[i] = concreteValue +} + +func (x *_EventRewardsSettled_4_list) Append(value protoreflect.Value) { + valueUnwrapped := value.String() + concreteValue := valueUnwrapped + *x.list = append(*x.list, concreteValue) +} + +func (x *_EventRewardsSettled_4_list) AppendMutable() protoreflect.Value { + panic(fmt.Errorf("AppendMutable can not be called on message EventRewardsSettled at list field Addresses as it is not of Message kind")) +} + +func (x *_EventRewardsSettled_4_list) Truncate(n int) { + *x.list = (*x.list)[:n] +} + +func (x *_EventRewardsSettled_4_list) NewElement() protoreflect.Value { + v := "" + return protoreflect.ValueOfString(v) +} + +func (x *_EventRewardsSettled_4_list) IsValid() bool { + return x.list != nil +} + +var _ protoreflect.List = (*_EventRewardsSettled_5_list)(nil) + +type _EventRewardsSettled_5_list struct { + list *[]string +} + +func (x *_EventRewardsSettled_5_list) Len() int { + if x.list == nil { + return 0 + } + return len(*x.list) +} + +func (x *_EventRewardsSettled_5_list) Get(i int) protoreflect.Value { + return protoreflect.ValueOfString((*x.list)[i]) +} + +func (x *_EventRewardsSettled_5_list) Set(i int, value protoreflect.Value) { + valueUnwrapped := value.String() + concreteValue := valueUnwrapped + (*x.list)[i] = concreteValue +} + +func (x *_EventRewardsSettled_5_list) Append(value protoreflect.Value) { + valueUnwrapped := value.String() + concreteValue := valueUnwrapped + *x.list = append(*x.list, concreteValue) +} + +func (x *_EventRewardsSettled_5_list) AppendMutable() protoreflect.Value { + panic(fmt.Errorf("AppendMutable can not be called on message EventRewardsSettled at list field Rewards as it is not of Message kind")) +} + +func (x *_EventRewardsSettled_5_list) Truncate(n int) { + *x.list = (*x.list)[:n] +} + +func (x *_EventRewardsSettled_5_list) NewElement() protoreflect.Value { + v := "" + return protoreflect.ValueOfString(v) +} + +func (x *_EventRewardsSettled_5_list) IsValid() bool { + return x.list != nil +} + +var ( + md_EventRewardsSettled protoreflect.MessageDescriptor + fd_EventRewardsSettled_actor_type protoreflect.FieldDescriptor + fd_EventRewardsSettled_topic_id protoreflect.FieldDescriptor + fd_EventRewardsSettled_block_height protoreflect.FieldDescriptor + fd_EventRewardsSettled_addresses protoreflect.FieldDescriptor + fd_EventRewardsSettled_rewards protoreflect.FieldDescriptor + fd_EventRewardsSettled_block_height_tx protoreflect.FieldDescriptor +) + +func init() { + file_emissions_v8_events_proto_init() + md_EventRewardsSettled = File_emissions_v8_events_proto.Messages().ByName("EventRewardsSettled") + fd_EventRewardsSettled_actor_type = md_EventRewardsSettled.Fields().ByName("actor_type") + fd_EventRewardsSettled_topic_id = md_EventRewardsSettled.Fields().ByName("topic_id") + fd_EventRewardsSettled_block_height = md_EventRewardsSettled.Fields().ByName("block_height") + fd_EventRewardsSettled_addresses = md_EventRewardsSettled.Fields().ByName("addresses") + fd_EventRewardsSettled_rewards = md_EventRewardsSettled.Fields().ByName("rewards") + fd_EventRewardsSettled_block_height_tx = md_EventRewardsSettled.Fields().ByName("block_height_tx") +} + +var _ protoreflect.Message = (*fastReflection_EventRewardsSettled)(nil) + +type fastReflection_EventRewardsSettled EventRewardsSettled + +func (x *EventRewardsSettled) ProtoReflect() protoreflect.Message { + return (*fastReflection_EventRewardsSettled)(x) +} + +func (x *EventRewardsSettled) slowProtoReflect() protoreflect.Message { + mi := &file_emissions_v8_events_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) +} + +var _fastReflection_EventRewardsSettled_messageType fastReflection_EventRewardsSettled_messageType +var _ protoreflect.MessageType = fastReflection_EventRewardsSettled_messageType{} + +type fastReflection_EventRewardsSettled_messageType struct{} + +func (x fastReflection_EventRewardsSettled_messageType) Zero() protoreflect.Message { + return (*fastReflection_EventRewardsSettled)(nil) +} +func (x fastReflection_EventRewardsSettled_messageType) New() protoreflect.Message { + return new(fastReflection_EventRewardsSettled) +} +func (x fastReflection_EventRewardsSettled_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_EventRewardsSettled +} + +// Descriptor returns message descriptor, which contains only the protobuf +// type information for the message. +func (x *fastReflection_EventRewardsSettled) Descriptor() protoreflect.MessageDescriptor { + return md_EventRewardsSettled +} + +// Type returns the message type, which encapsulates both Go and protobuf +// type information. If the Go type information is not needed, +// it is recommended that the message descriptor be used instead. +func (x *fastReflection_EventRewardsSettled) Type() protoreflect.MessageType { + return _fastReflection_EventRewardsSettled_messageType +} + +// New returns a newly allocated and mutable empty message. +func (x *fastReflection_EventRewardsSettled) New() protoreflect.Message { + return new(fastReflection_EventRewardsSettled) +} + +// Interface unwraps the message reflection interface and +// returns the underlying ProtoMessage interface. +func (x *fastReflection_EventRewardsSettled) Interface() protoreflect.ProtoMessage { + return (*EventRewardsSettled)(x) +} + +// Range iterates over every populated field in an undefined order, +// calling f for each field descriptor and value encountered. +// Range returns immediately if f returns false. +// While iterating, mutating operations may only be performed +// on the current field descriptor. +func (x *fastReflection_EventRewardsSettled) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { + if x.ActorType != 0 { + value := protoreflect.ValueOfEnum((protoreflect.EnumNumber)(x.ActorType)) + if !f(fd_EventRewardsSettled_actor_type, value) { + return + } + } + if x.TopicId != uint64(0) { + value := protoreflect.ValueOfUint64(x.TopicId) + if !f(fd_EventRewardsSettled_topic_id, value) { + return + } + } + if x.BlockHeight != int64(0) { + value := protoreflect.ValueOfInt64(x.BlockHeight) + if !f(fd_EventRewardsSettled_block_height, value) { + return + } + } + if len(x.Addresses) != 0 { + value := protoreflect.ValueOfList(&_EventRewardsSettled_4_list{list: &x.Addresses}) + if !f(fd_EventRewardsSettled_addresses, value) { + return + } + } + if len(x.Rewards) != 0 { + value := protoreflect.ValueOfList(&_EventRewardsSettled_5_list{list: &x.Rewards}) + if !f(fd_EventRewardsSettled_rewards, value) { + return + } + } + if x.BlockHeightTx != int64(0) { + value := protoreflect.ValueOfInt64(x.BlockHeightTx) + if !f(fd_EventRewardsSettled_block_height_tx, value) { + return + } + } +} + +// Has reports whether a field is populated. +// +// Some fields have the property of nullability where it is possible to +// distinguish between the default value of a field and whether the field +// was explicitly populated with the default value. Singular message fields, +// member fields of a oneof, and proto2 scalar fields are nullable. Such +// fields are populated only if explicitly set. +// +// In other cases (aside from the nullable cases above), +// a proto3 scalar field is populated if it contains a non-zero value, and +// a repeated field is populated if it is non-empty. +func (x *fastReflection_EventRewardsSettled) Has(fd protoreflect.FieldDescriptor) bool { + switch fd.FullName() { + case "emissions.v8.EventRewardsSettled.actor_type": + return x.ActorType != 0 + case "emissions.v8.EventRewardsSettled.topic_id": + return x.TopicId != uint64(0) + case "emissions.v8.EventRewardsSettled.block_height": + return x.BlockHeight != int64(0) + case "emissions.v8.EventRewardsSettled.addresses": + return len(x.Addresses) != 0 + case "emissions.v8.EventRewardsSettled.rewards": + return len(x.Rewards) != 0 + case "emissions.v8.EventRewardsSettled.block_height_tx": + return x.BlockHeightTx != int64(0) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.EventRewardsSettled")) + } + panic(fmt.Errorf("message emissions.v8.EventRewardsSettled does not contain field %s", fd.FullName())) + } +} + +// Clear clears the field such that a subsequent Has call reports false. +// +// Clearing an extension field clears both the extension type and value +// associated with the given field number. +// +// Clear is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_EventRewardsSettled) Clear(fd protoreflect.FieldDescriptor) { + switch fd.FullName() { + case "emissions.v8.EventRewardsSettled.actor_type": + x.ActorType = 0 + case "emissions.v8.EventRewardsSettled.topic_id": + x.TopicId = uint64(0) + case "emissions.v8.EventRewardsSettled.block_height": + x.BlockHeight = int64(0) + case "emissions.v8.EventRewardsSettled.addresses": + x.Addresses = nil + case "emissions.v8.EventRewardsSettled.rewards": + x.Rewards = nil + case "emissions.v8.EventRewardsSettled.block_height_tx": + x.BlockHeightTx = int64(0) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.EventRewardsSettled")) + } + panic(fmt.Errorf("message emissions.v8.EventRewardsSettled does not contain field %s", fd.FullName())) + } +} + +// Get retrieves the value for a field. +// +// For unpopulated scalars, it returns the default value, where +// the default value of a bytes scalar is guaranteed to be a copy. +// For unpopulated composite types, it returns an empty, read-only view +// of the value; to obtain a mutable reference, use Mutable. +func (x *fastReflection_EventRewardsSettled) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { + switch descriptor.FullName() { + case "emissions.v8.EventRewardsSettled.actor_type": + value := x.ActorType + return protoreflect.ValueOfEnum((protoreflect.EnumNumber)(value)) + case "emissions.v8.EventRewardsSettled.topic_id": + value := x.TopicId + return protoreflect.ValueOfUint64(value) + case "emissions.v8.EventRewardsSettled.block_height": + value := x.BlockHeight + return protoreflect.ValueOfInt64(value) + case "emissions.v8.EventRewardsSettled.addresses": + if len(x.Addresses) == 0 { + return protoreflect.ValueOfList(&_EventRewardsSettled_4_list{}) + } + listValue := &_EventRewardsSettled_4_list{list: &x.Addresses} + return protoreflect.ValueOfList(listValue) + case "emissions.v8.EventRewardsSettled.rewards": + if len(x.Rewards) == 0 { + return protoreflect.ValueOfList(&_EventRewardsSettled_5_list{}) + } + listValue := &_EventRewardsSettled_5_list{list: &x.Rewards} + return protoreflect.ValueOfList(listValue) + case "emissions.v8.EventRewardsSettled.block_height_tx": + value := x.BlockHeightTx + return protoreflect.ValueOfInt64(value) + default: + if descriptor.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.EventRewardsSettled")) + } + panic(fmt.Errorf("message emissions.v8.EventRewardsSettled does not contain field %s", descriptor.FullName())) + } +} + +// Set stores the value for a field. +// +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType. +// When setting a composite type, it is unspecified whether the stored value +// aliases the source's memory in any way. If the composite value is an +// empty, read-only value, then it panics. +// +// Set is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_EventRewardsSettled) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { + switch fd.FullName() { + case "emissions.v8.EventRewardsSettled.actor_type": + x.ActorType = (ActorType)(value.Enum()) + case "emissions.v8.EventRewardsSettled.topic_id": + x.TopicId = value.Uint() + case "emissions.v8.EventRewardsSettled.block_height": + x.BlockHeight = value.Int() + case "emissions.v8.EventRewardsSettled.addresses": + lv := value.List() + clv := lv.(*_EventRewardsSettled_4_list) + x.Addresses = *clv.list + case "emissions.v8.EventRewardsSettled.rewards": + lv := value.List() + clv := lv.(*_EventRewardsSettled_5_list) + x.Rewards = *clv.list + case "emissions.v8.EventRewardsSettled.block_height_tx": + x.BlockHeightTx = value.Int() + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.EventRewardsSettled")) + } + panic(fmt.Errorf("message emissions.v8.EventRewardsSettled does not contain field %s", fd.FullName())) + } +} + +// Mutable returns a mutable reference to a composite type. +// +// If the field is unpopulated, it may allocate a composite value. +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType +// if not already stored. +// It panics if the field does not contain a composite type. +// +// Mutable is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_EventRewardsSettled) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.EventRewardsSettled.addresses": + if x.Addresses == nil { + x.Addresses = []string{} + } + value := &_EventRewardsSettled_4_list{list: &x.Addresses} + return protoreflect.ValueOfList(value) + case "emissions.v8.EventRewardsSettled.rewards": + if x.Rewards == nil { + x.Rewards = []string{} + } + value := &_EventRewardsSettled_5_list{list: &x.Rewards} + return protoreflect.ValueOfList(value) + case "emissions.v8.EventRewardsSettled.actor_type": + panic(fmt.Errorf("field actor_type of message emissions.v8.EventRewardsSettled is not mutable")) + case "emissions.v8.EventRewardsSettled.topic_id": + panic(fmt.Errorf("field topic_id of message emissions.v8.EventRewardsSettled is not mutable")) + case "emissions.v8.EventRewardsSettled.block_height": + panic(fmt.Errorf("field block_height of message emissions.v8.EventRewardsSettled is not mutable")) + case "emissions.v8.EventRewardsSettled.block_height_tx": + panic(fmt.Errorf("field block_height_tx of message emissions.v8.EventRewardsSettled is not mutable")) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.EventRewardsSettled")) + } + panic(fmt.Errorf("message emissions.v8.EventRewardsSettled does not contain field %s", fd.FullName())) + } +} + +// NewField returns a new value that is assignable to the field +// for the given descriptor. For scalars, this returns the default value. +// For lists, maps, and messages, this returns a new, empty, mutable value. +func (x *fastReflection_EventRewardsSettled) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.EventRewardsSettled.actor_type": + return protoreflect.ValueOfEnum(0) + case "emissions.v8.EventRewardsSettled.topic_id": + return protoreflect.ValueOfUint64(uint64(0)) + case "emissions.v8.EventRewardsSettled.block_height": + return protoreflect.ValueOfInt64(int64(0)) + case "emissions.v8.EventRewardsSettled.addresses": + list := []string{} + return protoreflect.ValueOfList(&_EventRewardsSettled_4_list{list: &list}) + case "emissions.v8.EventRewardsSettled.rewards": + list := []string{} + return protoreflect.ValueOfList(&_EventRewardsSettled_5_list{list: &list}) + case "emissions.v8.EventRewardsSettled.block_height_tx": + return protoreflect.ValueOfInt64(int64(0)) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.EventRewardsSettled")) + } + panic(fmt.Errorf("message emissions.v8.EventRewardsSettled does not contain field %s", fd.FullName())) + } +} + +// WhichOneof reports which field within the oneof is populated, +// returning nil if none are populated. +// It panics if the oneof descriptor does not belong to this message. +func (x *fastReflection_EventRewardsSettled) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { + switch d.FullName() { + default: + panic(fmt.Errorf("%s is not a oneof field in emissions.v8.EventRewardsSettled", d.FullName())) + } + panic("unreachable") +} + +// GetUnknown retrieves the entire list of unknown fields. +// The caller may only mutate the contents of the RawFields +// if the mutated bytes are stored back into the message with SetUnknown. +func (x *fastReflection_EventRewardsSettled) GetUnknown() protoreflect.RawFields { + return x.unknownFields +} + +// SetUnknown stores an entire list of unknown fields. +// The raw fields must be syntactically valid according to the wire format. +// An implementation may panic if this is not the case. +// Once stored, the caller must not mutate the content of the RawFields. +// An empty RawFields may be passed to clear the fields. +// +// SetUnknown is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_EventRewardsSettled) SetUnknown(fields protoreflect.RawFields) { + x.unknownFields = fields +} + +// IsValid reports whether the message is valid. +// +// An invalid message is an empty, read-only value. +// +// An invalid message often corresponds to a nil pointer of the concrete +// message type, but the details are implementation dependent. +// Validity is not part of the protobuf data model, and may not +// be preserved in marshaling or other operations. +func (x *fastReflection_EventRewardsSettled) IsValid() bool { + return x != nil +} + +// ProtoMethods returns optional fastReflectionFeature-path implementations of various operations. +// This method may return nil. +// +// The returned methods type is identical to +// "google.golang.org/protobuf/runtime/protoiface".Methods. +// Consult the protoiface package documentation for details. +func (x *fastReflection_EventRewardsSettled) ProtoMethods() *protoiface.Methods { + size := func(input protoiface.SizeInput) protoiface.SizeOutput { + x := input.Message.Interface().(*EventRewardsSettled) + if x == nil { + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: 0, + } + } + options := runtime.SizeInputToOptions(input) + _ = options + var n int + var l int + _ = l + if x.ActorType != 0 { + n += 1 + runtime.Sov(uint64(x.ActorType)) + } + if x.TopicId != 0 { + n += 1 + runtime.Sov(uint64(x.TopicId)) + } + if x.BlockHeight != 0 { + n += 1 + runtime.Sov(uint64(x.BlockHeight)) + } + if len(x.Addresses) > 0 { + for _, s := range x.Addresses { + l = len(s) + n += 1 + l + runtime.Sov(uint64(l)) + } + } + if len(x.Rewards) > 0 { + for _, s := range x.Rewards { + l = len(s) + n += 1 + l + runtime.Sov(uint64(l)) + } + } + if x.BlockHeightTx != 0 { + n += 1 + runtime.Sov(uint64(x.BlockHeightTx)) + } + if x.unknownFields != nil { + n += len(x.unknownFields) + } + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: n, + } + } + + marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { + x := input.Message.Interface().(*EventRewardsSettled) + if x == nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + options := runtime.MarshalInputToOptions(input) + _ = options + size := options.Size(x) + dAtA := make([]byte, size) + i := len(dAtA) + _ = i + var l int + _ = l + if x.unknownFields != nil { + i -= len(x.unknownFields) + copy(dAtA[i:], x.unknownFields) + } + if x.BlockHeightTx != 0 { + i = runtime.EncodeVarint(dAtA, i, uint64(x.BlockHeightTx)) + i-- + dAtA[i] = 0x30 + } + if len(x.Rewards) > 0 { + for iNdEx := len(x.Rewards) - 1; iNdEx >= 0; iNdEx-- { + i -= len(x.Rewards[iNdEx]) + copy(dAtA[i:], x.Rewards[iNdEx]) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.Rewards[iNdEx]))) + i-- + dAtA[i] = 0x2a + } + } + if len(x.Addresses) > 0 { + for iNdEx := len(x.Addresses) - 1; iNdEx >= 0; iNdEx-- { + i -= len(x.Addresses[iNdEx]) + copy(dAtA[i:], x.Addresses[iNdEx]) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.Addresses[iNdEx]))) + i-- + dAtA[i] = 0x22 + } + } + if x.BlockHeight != 0 { + i = runtime.EncodeVarint(dAtA, i, uint64(x.BlockHeight)) + i-- + dAtA[i] = 0x18 + } + if x.TopicId != 0 { + i = runtime.EncodeVarint(dAtA, i, uint64(x.TopicId)) + i-- + dAtA[i] = 0x10 + } + if x.ActorType != 0 { + i = runtime.EncodeVarint(dAtA, i, uint64(x.ActorType)) + i-- + dAtA[i] = 0x8 + } + if input.Buf != nil { + input.Buf = append(input.Buf, dAtA...) + } else { + input.Buf = dAtA + } + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { + x := input.Message.Interface().(*EventRewardsSettled) + if x == nil { + return protoiface.UnmarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Flags: input.Flags, + }, nil + } + options := runtime.UnmarshalInputToOptions(input) + _ = options + dAtA := input.Buf + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: EventRewardsSettled: wiretype end group for non-group") + } + if fieldNum <= 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: EventRewardsSettled: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field ActorType", wireType) + } + x.ActorType = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + x.ActorType |= ActorType(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 2: + if wireType != 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field TopicId", wireType) + } + x.TopicId = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + x.TopicId |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 3: + if wireType != 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field BlockHeight", wireType) + } + x.BlockHeight = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + x.BlockHeight |= int64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 4: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Addresses", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + x.Addresses = append(x.Addresses, string(dAtA[iNdEx:postIndex])) + iNdEx = postIndex + case 5: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Rewards", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + x.Rewards = append(x.Rewards, string(dAtA[iNdEx:postIndex])) + iNdEx = postIndex + case 6: + if wireType != 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field BlockHeightTx", wireType) + } + x.BlockHeightTx = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + x.BlockHeightTx |= int64(b&0x7F) << shift + if b < 0x80 { + break + } + } + default: + iNdEx = preIndex + skippy, err := runtime.Skip(dAtA[iNdEx:]) + if err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if (iNdEx + skippy) > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + if !options.DiscardUnknown { + x.unknownFields = append(x.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + } + iNdEx += skippy + } + } + + if iNdEx > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, nil + } + return &protoiface.Methods{ + NoUnkeyedLiterals: struct{}{}, + Flags: protoiface.SupportMarshalDeterministic | protoiface.SupportUnmarshalDiscardUnknown, + Size: size, + Marshal: marshal, + Unmarshal: unmarshal, + Merge: nil, + CheckInitialized: nil, + } +} + +var ( + md_EventNetworkLossSet protoreflect.MessageDescriptor + fd_EventNetworkLossSet_topic_id protoreflect.FieldDescriptor + fd_EventNetworkLossSet_block_height protoreflect.FieldDescriptor + fd_EventNetworkLossSet_value_bundle protoreflect.FieldDescriptor +) + +func init() { + file_emissions_v8_events_proto_init() + md_EventNetworkLossSet = File_emissions_v8_events_proto.Messages().ByName("EventNetworkLossSet") + fd_EventNetworkLossSet_topic_id = md_EventNetworkLossSet.Fields().ByName("topic_id") + fd_EventNetworkLossSet_block_height = md_EventNetworkLossSet.Fields().ByName("block_height") + fd_EventNetworkLossSet_value_bundle = md_EventNetworkLossSet.Fields().ByName("value_bundle") +} + +var _ protoreflect.Message = (*fastReflection_EventNetworkLossSet)(nil) + +type fastReflection_EventNetworkLossSet EventNetworkLossSet + +func (x *EventNetworkLossSet) ProtoReflect() protoreflect.Message { + return (*fastReflection_EventNetworkLossSet)(x) +} + +func (x *EventNetworkLossSet) slowProtoReflect() protoreflect.Message { + mi := &file_emissions_v8_events_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) +} + +var _fastReflection_EventNetworkLossSet_messageType fastReflection_EventNetworkLossSet_messageType +var _ protoreflect.MessageType = fastReflection_EventNetworkLossSet_messageType{} + +type fastReflection_EventNetworkLossSet_messageType struct{} + +func (x fastReflection_EventNetworkLossSet_messageType) Zero() protoreflect.Message { + return (*fastReflection_EventNetworkLossSet)(nil) +} +func (x fastReflection_EventNetworkLossSet_messageType) New() protoreflect.Message { + return new(fastReflection_EventNetworkLossSet) +} +func (x fastReflection_EventNetworkLossSet_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_EventNetworkLossSet +} + +// Descriptor returns message descriptor, which contains only the protobuf +// type information for the message. +func (x *fastReflection_EventNetworkLossSet) Descriptor() protoreflect.MessageDescriptor { + return md_EventNetworkLossSet +} + +// Type returns the message type, which encapsulates both Go and protobuf +// type information. If the Go type information is not needed, +// it is recommended that the message descriptor be used instead. +func (x *fastReflection_EventNetworkLossSet) Type() protoreflect.MessageType { + return _fastReflection_EventNetworkLossSet_messageType +} + +// New returns a newly allocated and mutable empty message. +func (x *fastReflection_EventNetworkLossSet) New() protoreflect.Message { + return new(fastReflection_EventNetworkLossSet) +} + +// Interface unwraps the message reflection interface and +// returns the underlying ProtoMessage interface. +func (x *fastReflection_EventNetworkLossSet) Interface() protoreflect.ProtoMessage { + return (*EventNetworkLossSet)(x) +} + +// Range iterates over every populated field in an undefined order, +// calling f for each field descriptor and value encountered. +// Range returns immediately if f returns false. +// While iterating, mutating operations may only be performed +// on the current field descriptor. +func (x *fastReflection_EventNetworkLossSet) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { + if x.TopicId != uint64(0) { + value := protoreflect.ValueOfUint64(x.TopicId) + if !f(fd_EventNetworkLossSet_topic_id, value) { + return + } + } + if x.BlockHeight != int64(0) { + value := protoreflect.ValueOfInt64(x.BlockHeight) + if !f(fd_EventNetworkLossSet_block_height, value) { + return + } + } + if x.ValueBundle != nil { + value := protoreflect.ValueOfMessage(x.ValueBundle.ProtoReflect()) + if !f(fd_EventNetworkLossSet_value_bundle, value) { + return + } + } +} + +// Has reports whether a field is populated. +// +// Some fields have the property of nullability where it is possible to +// distinguish between the default value of a field and whether the field +// was explicitly populated with the default value. Singular message fields, +// member fields of a oneof, and proto2 scalar fields are nullable. Such +// fields are populated only if explicitly set. +// +// In other cases (aside from the nullable cases above), +// a proto3 scalar field is populated if it contains a non-zero value, and +// a repeated field is populated if it is non-empty. +func (x *fastReflection_EventNetworkLossSet) Has(fd protoreflect.FieldDescriptor) bool { + switch fd.FullName() { + case "emissions.v8.EventNetworkLossSet.topic_id": + return x.TopicId != uint64(0) + case "emissions.v8.EventNetworkLossSet.block_height": + return x.BlockHeight != int64(0) + case "emissions.v8.EventNetworkLossSet.value_bundle": + return x.ValueBundle != nil + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.EventNetworkLossSet")) + } + panic(fmt.Errorf("message emissions.v8.EventNetworkLossSet does not contain field %s", fd.FullName())) + } +} + +// Clear clears the field such that a subsequent Has call reports false. +// +// Clearing an extension field clears both the extension type and value +// associated with the given field number. +// +// Clear is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_EventNetworkLossSet) Clear(fd protoreflect.FieldDescriptor) { + switch fd.FullName() { + case "emissions.v8.EventNetworkLossSet.topic_id": + x.TopicId = uint64(0) + case "emissions.v8.EventNetworkLossSet.block_height": + x.BlockHeight = int64(0) + case "emissions.v8.EventNetworkLossSet.value_bundle": + x.ValueBundle = nil + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.EventNetworkLossSet")) + } + panic(fmt.Errorf("message emissions.v8.EventNetworkLossSet does not contain field %s", fd.FullName())) + } +} + +// Get retrieves the value for a field. +// +// For unpopulated scalars, it returns the default value, where +// the default value of a bytes scalar is guaranteed to be a copy. +// For unpopulated composite types, it returns an empty, read-only view +// of the value; to obtain a mutable reference, use Mutable. +func (x *fastReflection_EventNetworkLossSet) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { + switch descriptor.FullName() { + case "emissions.v8.EventNetworkLossSet.topic_id": + value := x.TopicId + return protoreflect.ValueOfUint64(value) + case "emissions.v8.EventNetworkLossSet.block_height": + value := x.BlockHeight + return protoreflect.ValueOfInt64(value) + case "emissions.v8.EventNetworkLossSet.value_bundle": + value := x.ValueBundle + return protoreflect.ValueOfMessage(value.ProtoReflect()) + default: + if descriptor.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.EventNetworkLossSet")) + } + panic(fmt.Errorf("message emissions.v8.EventNetworkLossSet does not contain field %s", descriptor.FullName())) + } +} + +// Set stores the value for a field. +// +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType. +// When setting a composite type, it is unspecified whether the stored value +// aliases the source's memory in any way. If the composite value is an +// empty, read-only value, then it panics. +// +// Set is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_EventNetworkLossSet) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { + switch fd.FullName() { + case "emissions.v8.EventNetworkLossSet.topic_id": + x.TopicId = value.Uint() + case "emissions.v8.EventNetworkLossSet.block_height": + x.BlockHeight = value.Int() + case "emissions.v8.EventNetworkLossSet.value_bundle": + x.ValueBundle = value.Message().Interface().(*v3.ValueBundle) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.EventNetworkLossSet")) + } + panic(fmt.Errorf("message emissions.v8.EventNetworkLossSet does not contain field %s", fd.FullName())) + } +} + +// Mutable returns a mutable reference to a composite type. +// +// If the field is unpopulated, it may allocate a composite value. +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType +// if not already stored. +// It panics if the field does not contain a composite type. +// +// Mutable is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_EventNetworkLossSet) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.EventNetworkLossSet.value_bundle": + if x.ValueBundle == nil { + x.ValueBundle = new(v3.ValueBundle) + } + return protoreflect.ValueOfMessage(x.ValueBundle.ProtoReflect()) + case "emissions.v8.EventNetworkLossSet.topic_id": + panic(fmt.Errorf("field topic_id of message emissions.v8.EventNetworkLossSet is not mutable")) + case "emissions.v8.EventNetworkLossSet.block_height": + panic(fmt.Errorf("field block_height of message emissions.v8.EventNetworkLossSet is not mutable")) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.EventNetworkLossSet")) + } + panic(fmt.Errorf("message emissions.v8.EventNetworkLossSet does not contain field %s", fd.FullName())) + } +} + +// NewField returns a new value that is assignable to the field +// for the given descriptor. For scalars, this returns the default value. +// For lists, maps, and messages, this returns a new, empty, mutable value. +func (x *fastReflection_EventNetworkLossSet) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.EventNetworkLossSet.topic_id": + return protoreflect.ValueOfUint64(uint64(0)) + case "emissions.v8.EventNetworkLossSet.block_height": + return protoreflect.ValueOfInt64(int64(0)) + case "emissions.v8.EventNetworkLossSet.value_bundle": + m := new(v3.ValueBundle) + return protoreflect.ValueOfMessage(m.ProtoReflect()) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.EventNetworkLossSet")) + } + panic(fmt.Errorf("message emissions.v8.EventNetworkLossSet does not contain field %s", fd.FullName())) + } +} + +// WhichOneof reports which field within the oneof is populated, +// returning nil if none are populated. +// It panics if the oneof descriptor does not belong to this message. +func (x *fastReflection_EventNetworkLossSet) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { + switch d.FullName() { + default: + panic(fmt.Errorf("%s is not a oneof field in emissions.v8.EventNetworkLossSet", d.FullName())) + } + panic("unreachable") +} + +// GetUnknown retrieves the entire list of unknown fields. +// The caller may only mutate the contents of the RawFields +// if the mutated bytes are stored back into the message with SetUnknown. +func (x *fastReflection_EventNetworkLossSet) GetUnknown() protoreflect.RawFields { + return x.unknownFields +} + +// SetUnknown stores an entire list of unknown fields. +// The raw fields must be syntactically valid according to the wire format. +// An implementation may panic if this is not the case. +// Once stored, the caller must not mutate the content of the RawFields. +// An empty RawFields may be passed to clear the fields. +// +// SetUnknown is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_EventNetworkLossSet) SetUnknown(fields protoreflect.RawFields) { + x.unknownFields = fields +} + +// IsValid reports whether the message is valid. +// +// An invalid message is an empty, read-only value. +// +// An invalid message often corresponds to a nil pointer of the concrete +// message type, but the details are implementation dependent. +// Validity is not part of the protobuf data model, and may not +// be preserved in marshaling or other operations. +func (x *fastReflection_EventNetworkLossSet) IsValid() bool { + return x != nil +} + +// ProtoMethods returns optional fastReflectionFeature-path implementations of various operations. +// This method may return nil. +// +// The returned methods type is identical to +// "google.golang.org/protobuf/runtime/protoiface".Methods. +// Consult the protoiface package documentation for details. +func (x *fastReflection_EventNetworkLossSet) ProtoMethods() *protoiface.Methods { + size := func(input protoiface.SizeInput) protoiface.SizeOutput { + x := input.Message.Interface().(*EventNetworkLossSet) + if x == nil { + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: 0, + } + } + options := runtime.SizeInputToOptions(input) + _ = options + var n int + var l int + _ = l + if x.TopicId != 0 { + n += 1 + runtime.Sov(uint64(x.TopicId)) + } + if x.BlockHeight != 0 { + n += 1 + runtime.Sov(uint64(x.BlockHeight)) + } + if x.ValueBundle != nil { + l = options.Size(x.ValueBundle) + n += 1 + l + runtime.Sov(uint64(l)) + } + if x.unknownFields != nil { + n += len(x.unknownFields) + } + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: n, + } + } + + marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { + x := input.Message.Interface().(*EventNetworkLossSet) + if x == nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + options := runtime.MarshalInputToOptions(input) + _ = options + size := options.Size(x) + dAtA := make([]byte, size) + i := len(dAtA) + _ = i + var l int + _ = l + if x.unknownFields != nil { + i -= len(x.unknownFields) + copy(dAtA[i:], x.unknownFields) + } + if x.ValueBundle != nil { + encoded, err := options.Marshal(x.ValueBundle) + if err != nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = runtime.EncodeVarint(dAtA, i, uint64(len(encoded))) + i-- + dAtA[i] = 0x1a + } + if x.BlockHeight != 0 { + i = runtime.EncodeVarint(dAtA, i, uint64(x.BlockHeight)) + i-- + dAtA[i] = 0x10 + } + if x.TopicId != 0 { + i = runtime.EncodeVarint(dAtA, i, uint64(x.TopicId)) + i-- + dAtA[i] = 0x8 + } + if input.Buf != nil { + input.Buf = append(input.Buf, dAtA...) + } else { + input.Buf = dAtA + } + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { + x := input.Message.Interface().(*EventNetworkLossSet) + if x == nil { + return protoiface.UnmarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Flags: input.Flags, + }, nil + } + options := runtime.UnmarshalInputToOptions(input) + _ = options + dAtA := input.Buf + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: EventNetworkLossSet: wiretype end group for non-group") + } + if fieldNum <= 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: EventNetworkLossSet: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field TopicId", wireType) + } + x.TopicId = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + x.TopicId |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 2: + if wireType != 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field BlockHeight", wireType) + } + x.BlockHeight = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + x.BlockHeight |= int64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 3: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field ValueBundle", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + if x.ValueBundle == nil { + x.ValueBundle = &v3.ValueBundle{} + } + if err := options.Unmarshal(dAtA[iNdEx:postIndex], x.ValueBundle); err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := runtime.Skip(dAtA[iNdEx:]) + if err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if (iNdEx + skippy) > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + if !options.DiscardUnknown { + x.unknownFields = append(x.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + } + iNdEx += skippy + } + } + + if iNdEx > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, nil + } + return &protoiface.Methods{ + NoUnkeyedLiterals: struct{}{}, + Flags: protoiface.SupportMarshalDeterministic | protoiface.SupportUnmarshalDiscardUnknown, + Size: size, + Marshal: marshal, + Unmarshal: unmarshal, + Merge: nil, + CheckInitialized: nil, + } +} + +var ( + md_EventForecastTaskScoreSet protoreflect.MessageDescriptor + fd_EventForecastTaskScoreSet_topic_id protoreflect.FieldDescriptor + fd_EventForecastTaskScoreSet_score protoreflect.FieldDescriptor +) + +func init() { + file_emissions_v8_events_proto_init() + md_EventForecastTaskScoreSet = File_emissions_v8_events_proto.Messages().ByName("EventForecastTaskScoreSet") + fd_EventForecastTaskScoreSet_topic_id = md_EventForecastTaskScoreSet.Fields().ByName("topic_id") + fd_EventForecastTaskScoreSet_score = md_EventForecastTaskScoreSet.Fields().ByName("score") +} + +var _ protoreflect.Message = (*fastReflection_EventForecastTaskScoreSet)(nil) + +type fastReflection_EventForecastTaskScoreSet EventForecastTaskScoreSet + +func (x *EventForecastTaskScoreSet) ProtoReflect() protoreflect.Message { + return (*fastReflection_EventForecastTaskScoreSet)(x) +} + +func (x *EventForecastTaskScoreSet) slowProtoReflect() protoreflect.Message { + mi := &file_emissions_v8_events_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) +} + +var _fastReflection_EventForecastTaskScoreSet_messageType fastReflection_EventForecastTaskScoreSet_messageType +var _ protoreflect.MessageType = fastReflection_EventForecastTaskScoreSet_messageType{} + +type fastReflection_EventForecastTaskScoreSet_messageType struct{} + +func (x fastReflection_EventForecastTaskScoreSet_messageType) Zero() protoreflect.Message { + return (*fastReflection_EventForecastTaskScoreSet)(nil) +} +func (x fastReflection_EventForecastTaskScoreSet_messageType) New() protoreflect.Message { + return new(fastReflection_EventForecastTaskScoreSet) +} +func (x fastReflection_EventForecastTaskScoreSet_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_EventForecastTaskScoreSet +} + +// Descriptor returns message descriptor, which contains only the protobuf +// type information for the message. +func (x *fastReflection_EventForecastTaskScoreSet) Descriptor() protoreflect.MessageDescriptor { + return md_EventForecastTaskScoreSet +} + +// Type returns the message type, which encapsulates both Go and protobuf +// type information. If the Go type information is not needed, +// it is recommended that the message descriptor be used instead. +func (x *fastReflection_EventForecastTaskScoreSet) Type() protoreflect.MessageType { + return _fastReflection_EventForecastTaskScoreSet_messageType +} + +// New returns a newly allocated and mutable empty message. +func (x *fastReflection_EventForecastTaskScoreSet) New() protoreflect.Message { + return new(fastReflection_EventForecastTaskScoreSet) +} + +// Interface unwraps the message reflection interface and +// returns the underlying ProtoMessage interface. +func (x *fastReflection_EventForecastTaskScoreSet) Interface() protoreflect.ProtoMessage { + return (*EventForecastTaskScoreSet)(x) +} + +// Range iterates over every populated field in an undefined order, +// calling f for each field descriptor and value encountered. +// Range returns immediately if f returns false. +// While iterating, mutating operations may only be performed +// on the current field descriptor. +func (x *fastReflection_EventForecastTaskScoreSet) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { + if x.TopicId != uint64(0) { + value := protoreflect.ValueOfUint64(x.TopicId) + if !f(fd_EventForecastTaskScoreSet_topic_id, value) { + return + } + } + if x.Score != "" { + value := protoreflect.ValueOfString(x.Score) + if !f(fd_EventForecastTaskScoreSet_score, value) { + return + } + } +} + +// Has reports whether a field is populated. +// +// Some fields have the property of nullability where it is possible to +// distinguish between the default value of a field and whether the field +// was explicitly populated with the default value. Singular message fields, +// member fields of a oneof, and proto2 scalar fields are nullable. Such +// fields are populated only if explicitly set. +// +// In other cases (aside from the nullable cases above), +// a proto3 scalar field is populated if it contains a non-zero value, and +// a repeated field is populated if it is non-empty. +func (x *fastReflection_EventForecastTaskScoreSet) Has(fd protoreflect.FieldDescriptor) bool { + switch fd.FullName() { + case "emissions.v8.EventForecastTaskScoreSet.topic_id": + return x.TopicId != uint64(0) + case "emissions.v8.EventForecastTaskScoreSet.score": + return x.Score != "" + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.EventForecastTaskScoreSet")) + } + panic(fmt.Errorf("message emissions.v8.EventForecastTaskScoreSet does not contain field %s", fd.FullName())) + } +} + +// Clear clears the field such that a subsequent Has call reports false. +// +// Clearing an extension field clears both the extension type and value +// associated with the given field number. +// +// Clear is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_EventForecastTaskScoreSet) Clear(fd protoreflect.FieldDescriptor) { + switch fd.FullName() { + case "emissions.v8.EventForecastTaskScoreSet.topic_id": + x.TopicId = uint64(0) + case "emissions.v8.EventForecastTaskScoreSet.score": + x.Score = "" + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.EventForecastTaskScoreSet")) + } + panic(fmt.Errorf("message emissions.v8.EventForecastTaskScoreSet does not contain field %s", fd.FullName())) + } +} + +// Get retrieves the value for a field. +// +// For unpopulated scalars, it returns the default value, where +// the default value of a bytes scalar is guaranteed to be a copy. +// For unpopulated composite types, it returns an empty, read-only view +// of the value; to obtain a mutable reference, use Mutable. +func (x *fastReflection_EventForecastTaskScoreSet) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { + switch descriptor.FullName() { + case "emissions.v8.EventForecastTaskScoreSet.topic_id": + value := x.TopicId + return protoreflect.ValueOfUint64(value) + case "emissions.v8.EventForecastTaskScoreSet.score": + value := x.Score + return protoreflect.ValueOfString(value) + default: + if descriptor.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.EventForecastTaskScoreSet")) + } + panic(fmt.Errorf("message emissions.v8.EventForecastTaskScoreSet does not contain field %s", descriptor.FullName())) + } +} + +// Set stores the value for a field. +// +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType. +// When setting a composite type, it is unspecified whether the stored value +// aliases the source's memory in any way. If the composite value is an +// empty, read-only value, then it panics. +// +// Set is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_EventForecastTaskScoreSet) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { + switch fd.FullName() { + case "emissions.v8.EventForecastTaskScoreSet.topic_id": + x.TopicId = value.Uint() + case "emissions.v8.EventForecastTaskScoreSet.score": + x.Score = value.Interface().(string) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.EventForecastTaskScoreSet")) + } + panic(fmt.Errorf("message emissions.v8.EventForecastTaskScoreSet does not contain field %s", fd.FullName())) + } +} + +// Mutable returns a mutable reference to a composite type. +// +// If the field is unpopulated, it may allocate a composite value. +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType +// if not already stored. +// It panics if the field does not contain a composite type. +// +// Mutable is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_EventForecastTaskScoreSet) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.EventForecastTaskScoreSet.topic_id": + panic(fmt.Errorf("field topic_id of message emissions.v8.EventForecastTaskScoreSet is not mutable")) + case "emissions.v8.EventForecastTaskScoreSet.score": + panic(fmt.Errorf("field score of message emissions.v8.EventForecastTaskScoreSet is not mutable")) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.EventForecastTaskScoreSet")) + } + panic(fmt.Errorf("message emissions.v8.EventForecastTaskScoreSet does not contain field %s", fd.FullName())) + } +} + +// NewField returns a new value that is assignable to the field +// for the given descriptor. For scalars, this returns the default value. +// For lists, maps, and messages, this returns a new, empty, mutable value. +func (x *fastReflection_EventForecastTaskScoreSet) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.EventForecastTaskScoreSet.topic_id": + return protoreflect.ValueOfUint64(uint64(0)) + case "emissions.v8.EventForecastTaskScoreSet.score": + return protoreflect.ValueOfString("") + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.EventForecastTaskScoreSet")) + } + panic(fmt.Errorf("message emissions.v8.EventForecastTaskScoreSet does not contain field %s", fd.FullName())) + } +} + +// WhichOneof reports which field within the oneof is populated, +// returning nil if none are populated. +// It panics if the oneof descriptor does not belong to this message. +func (x *fastReflection_EventForecastTaskScoreSet) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { + switch d.FullName() { + default: + panic(fmt.Errorf("%s is not a oneof field in emissions.v8.EventForecastTaskScoreSet", d.FullName())) + } + panic("unreachable") +} + +// GetUnknown retrieves the entire list of unknown fields. +// The caller may only mutate the contents of the RawFields +// if the mutated bytes are stored back into the message with SetUnknown. +func (x *fastReflection_EventForecastTaskScoreSet) GetUnknown() protoreflect.RawFields { + return x.unknownFields +} + +// SetUnknown stores an entire list of unknown fields. +// The raw fields must be syntactically valid according to the wire format. +// An implementation may panic if this is not the case. +// Once stored, the caller must not mutate the content of the RawFields. +// An empty RawFields may be passed to clear the fields. +// +// SetUnknown is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_EventForecastTaskScoreSet) SetUnknown(fields protoreflect.RawFields) { + x.unknownFields = fields +} + +// IsValid reports whether the message is valid. +// +// An invalid message is an empty, read-only value. +// +// An invalid message often corresponds to a nil pointer of the concrete +// message type, but the details are implementation dependent. +// Validity is not part of the protobuf data model, and may not +// be preserved in marshaling or other operations. +func (x *fastReflection_EventForecastTaskScoreSet) IsValid() bool { + return x != nil +} + +// ProtoMethods returns optional fastReflectionFeature-path implementations of various operations. +// This method may return nil. +// +// The returned methods type is identical to +// "google.golang.org/protobuf/runtime/protoiface".Methods. +// Consult the protoiface package documentation for details. +func (x *fastReflection_EventForecastTaskScoreSet) ProtoMethods() *protoiface.Methods { + size := func(input protoiface.SizeInput) protoiface.SizeOutput { + x := input.Message.Interface().(*EventForecastTaskScoreSet) + if x == nil { + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: 0, + } + } + options := runtime.SizeInputToOptions(input) + _ = options + var n int + var l int + _ = l + if x.TopicId != 0 { + n += 1 + runtime.Sov(uint64(x.TopicId)) + } + l = len(x.Score) + if l > 0 { + n += 1 + l + runtime.Sov(uint64(l)) + } + if x.unknownFields != nil { + n += len(x.unknownFields) + } + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: n, + } + } + + marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { + x := input.Message.Interface().(*EventForecastTaskScoreSet) + if x == nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + options := runtime.MarshalInputToOptions(input) + _ = options + size := options.Size(x) + dAtA := make([]byte, size) + i := len(dAtA) + _ = i + var l int + _ = l + if x.unknownFields != nil { + i -= len(x.unknownFields) + copy(dAtA[i:], x.unknownFields) + } + if len(x.Score) > 0 { + i -= len(x.Score) + copy(dAtA[i:], x.Score) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.Score))) + i-- + dAtA[i] = 0x12 + } + if x.TopicId != 0 { + i = runtime.EncodeVarint(dAtA, i, uint64(x.TopicId)) + i-- + dAtA[i] = 0x8 + } + if input.Buf != nil { + input.Buf = append(input.Buf, dAtA...) + } else { + input.Buf = dAtA + } + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { + x := input.Message.Interface().(*EventForecastTaskScoreSet) + if x == nil { + return protoiface.UnmarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Flags: input.Flags, + }, nil + } + options := runtime.UnmarshalInputToOptions(input) + _ = options + dAtA := input.Buf + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: EventForecastTaskScoreSet: wiretype end group for non-group") + } + if fieldNum <= 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: EventForecastTaskScoreSet: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field TopicId", wireType) + } + x.TopicId = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + x.TopicId |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 2: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Score", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + x.Score = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := runtime.Skip(dAtA[iNdEx:]) + if err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if (iNdEx + skippy) > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + if !options.DiscardUnknown { + x.unknownFields = append(x.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + } + iNdEx += skippy + } + } + + if iNdEx > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, nil + } + return &protoiface.Methods{ + NoUnkeyedLiterals: struct{}{}, + Flags: protoiface.SupportMarshalDeterministic | protoiface.SupportUnmarshalDiscardUnknown, + Size: size, + Marshal: marshal, + Unmarshal: unmarshal, + Merge: nil, + CheckInitialized: nil, + } +} + +var ( + md_EventWorkerLastCommitSet protoreflect.MessageDescriptor + fd_EventWorkerLastCommitSet_topic_id protoreflect.FieldDescriptor + fd_EventWorkerLastCommitSet_block_height protoreflect.FieldDescriptor + fd_EventWorkerLastCommitSet_nonce protoreflect.FieldDescriptor +) + +func init() { + file_emissions_v8_events_proto_init() + md_EventWorkerLastCommitSet = File_emissions_v8_events_proto.Messages().ByName("EventWorkerLastCommitSet") + fd_EventWorkerLastCommitSet_topic_id = md_EventWorkerLastCommitSet.Fields().ByName("topic_id") + fd_EventWorkerLastCommitSet_block_height = md_EventWorkerLastCommitSet.Fields().ByName("block_height") + fd_EventWorkerLastCommitSet_nonce = md_EventWorkerLastCommitSet.Fields().ByName("nonce") +} + +var _ protoreflect.Message = (*fastReflection_EventWorkerLastCommitSet)(nil) + +type fastReflection_EventWorkerLastCommitSet EventWorkerLastCommitSet + +func (x *EventWorkerLastCommitSet) ProtoReflect() protoreflect.Message { + return (*fastReflection_EventWorkerLastCommitSet)(x) +} + +func (x *EventWorkerLastCommitSet) slowProtoReflect() protoreflect.Message { + mi := &file_emissions_v8_events_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) +} + +var _fastReflection_EventWorkerLastCommitSet_messageType fastReflection_EventWorkerLastCommitSet_messageType +var _ protoreflect.MessageType = fastReflection_EventWorkerLastCommitSet_messageType{} + +type fastReflection_EventWorkerLastCommitSet_messageType struct{} + +func (x fastReflection_EventWorkerLastCommitSet_messageType) Zero() protoreflect.Message { + return (*fastReflection_EventWorkerLastCommitSet)(nil) +} +func (x fastReflection_EventWorkerLastCommitSet_messageType) New() protoreflect.Message { + return new(fastReflection_EventWorkerLastCommitSet) +} +func (x fastReflection_EventWorkerLastCommitSet_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_EventWorkerLastCommitSet +} + +// Descriptor returns message descriptor, which contains only the protobuf +// type information for the message. +func (x *fastReflection_EventWorkerLastCommitSet) Descriptor() protoreflect.MessageDescriptor { + return md_EventWorkerLastCommitSet +} + +// Type returns the message type, which encapsulates both Go and protobuf +// type information. If the Go type information is not needed, +// it is recommended that the message descriptor be used instead. +func (x *fastReflection_EventWorkerLastCommitSet) Type() protoreflect.MessageType { + return _fastReflection_EventWorkerLastCommitSet_messageType +} + +// New returns a newly allocated and mutable empty message. +func (x *fastReflection_EventWorkerLastCommitSet) New() protoreflect.Message { + return new(fastReflection_EventWorkerLastCommitSet) +} + +// Interface unwraps the message reflection interface and +// returns the underlying ProtoMessage interface. +func (x *fastReflection_EventWorkerLastCommitSet) Interface() protoreflect.ProtoMessage { + return (*EventWorkerLastCommitSet)(x) +} + +// Range iterates over every populated field in an undefined order, +// calling f for each field descriptor and value encountered. +// Range returns immediately if f returns false. +// While iterating, mutating operations may only be performed +// on the current field descriptor. +func (x *fastReflection_EventWorkerLastCommitSet) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { + if x.TopicId != uint64(0) { + value := protoreflect.ValueOfUint64(x.TopicId) + if !f(fd_EventWorkerLastCommitSet_topic_id, value) { + return + } + } + if x.BlockHeight != int64(0) { + value := protoreflect.ValueOfInt64(x.BlockHeight) + if !f(fd_EventWorkerLastCommitSet_block_height, value) { + return + } + } + if x.Nonce != nil { + value := protoreflect.ValueOfMessage(x.Nonce.ProtoReflect()) + if !f(fd_EventWorkerLastCommitSet_nonce, value) { + return + } + } +} + +// Has reports whether a field is populated. +// +// Some fields have the property of nullability where it is possible to +// distinguish between the default value of a field and whether the field +// was explicitly populated with the default value. Singular message fields, +// member fields of a oneof, and proto2 scalar fields are nullable. Such +// fields are populated only if explicitly set. +// +// In other cases (aside from the nullable cases above), +// a proto3 scalar field is populated if it contains a non-zero value, and +// a repeated field is populated if it is non-empty. +func (x *fastReflection_EventWorkerLastCommitSet) Has(fd protoreflect.FieldDescriptor) bool { + switch fd.FullName() { + case "emissions.v8.EventWorkerLastCommitSet.topic_id": + return x.TopicId != uint64(0) + case "emissions.v8.EventWorkerLastCommitSet.block_height": + return x.BlockHeight != int64(0) + case "emissions.v8.EventWorkerLastCommitSet.nonce": + return x.Nonce != nil + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.EventWorkerLastCommitSet")) + } + panic(fmt.Errorf("message emissions.v8.EventWorkerLastCommitSet does not contain field %s", fd.FullName())) + } +} + +// Clear clears the field such that a subsequent Has call reports false. +// +// Clearing an extension field clears both the extension type and value +// associated with the given field number. +// +// Clear is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_EventWorkerLastCommitSet) Clear(fd protoreflect.FieldDescriptor) { + switch fd.FullName() { + case "emissions.v8.EventWorkerLastCommitSet.topic_id": + x.TopicId = uint64(0) + case "emissions.v8.EventWorkerLastCommitSet.block_height": + x.BlockHeight = int64(0) + case "emissions.v8.EventWorkerLastCommitSet.nonce": + x.Nonce = nil + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.EventWorkerLastCommitSet")) + } + panic(fmt.Errorf("message emissions.v8.EventWorkerLastCommitSet does not contain field %s", fd.FullName())) + } +} + +// Get retrieves the value for a field. +// +// For unpopulated scalars, it returns the default value, where +// the default value of a bytes scalar is guaranteed to be a copy. +// For unpopulated composite types, it returns an empty, read-only view +// of the value; to obtain a mutable reference, use Mutable. +func (x *fastReflection_EventWorkerLastCommitSet) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { + switch descriptor.FullName() { + case "emissions.v8.EventWorkerLastCommitSet.topic_id": + value := x.TopicId + return protoreflect.ValueOfUint64(value) + case "emissions.v8.EventWorkerLastCommitSet.block_height": + value := x.BlockHeight + return protoreflect.ValueOfInt64(value) + case "emissions.v8.EventWorkerLastCommitSet.nonce": + value := x.Nonce + return protoreflect.ValueOfMessage(value.ProtoReflect()) + default: + if descriptor.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.EventWorkerLastCommitSet")) + } + panic(fmt.Errorf("message emissions.v8.EventWorkerLastCommitSet does not contain field %s", descriptor.FullName())) + } +} + +// Set stores the value for a field. +// +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType. +// When setting a composite type, it is unspecified whether the stored value +// aliases the source's memory in any way. If the composite value is an +// empty, read-only value, then it panics. +// +// Set is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_EventWorkerLastCommitSet) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { + switch fd.FullName() { + case "emissions.v8.EventWorkerLastCommitSet.topic_id": + x.TopicId = value.Uint() + case "emissions.v8.EventWorkerLastCommitSet.block_height": + x.BlockHeight = value.Int() + case "emissions.v8.EventWorkerLastCommitSet.nonce": + x.Nonce = value.Message().Interface().(*v3.Nonce) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.EventWorkerLastCommitSet")) + } + panic(fmt.Errorf("message emissions.v8.EventWorkerLastCommitSet does not contain field %s", fd.FullName())) + } +} + +// Mutable returns a mutable reference to a composite type. +// +// If the field is unpopulated, it may allocate a composite value. +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType +// if not already stored. +// It panics if the field does not contain a composite type. +// +// Mutable is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_EventWorkerLastCommitSet) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.EventWorkerLastCommitSet.nonce": + if x.Nonce == nil { + x.Nonce = new(v3.Nonce) + } + return protoreflect.ValueOfMessage(x.Nonce.ProtoReflect()) + case "emissions.v8.EventWorkerLastCommitSet.topic_id": + panic(fmt.Errorf("field topic_id of message emissions.v8.EventWorkerLastCommitSet is not mutable")) + case "emissions.v8.EventWorkerLastCommitSet.block_height": + panic(fmt.Errorf("field block_height of message emissions.v8.EventWorkerLastCommitSet is not mutable")) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.EventWorkerLastCommitSet")) + } + panic(fmt.Errorf("message emissions.v8.EventWorkerLastCommitSet does not contain field %s", fd.FullName())) + } +} + +// NewField returns a new value that is assignable to the field +// for the given descriptor. For scalars, this returns the default value. +// For lists, maps, and messages, this returns a new, empty, mutable value. +func (x *fastReflection_EventWorkerLastCommitSet) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.EventWorkerLastCommitSet.topic_id": + return protoreflect.ValueOfUint64(uint64(0)) + case "emissions.v8.EventWorkerLastCommitSet.block_height": + return protoreflect.ValueOfInt64(int64(0)) + case "emissions.v8.EventWorkerLastCommitSet.nonce": + m := new(v3.Nonce) + return protoreflect.ValueOfMessage(m.ProtoReflect()) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.EventWorkerLastCommitSet")) + } + panic(fmt.Errorf("message emissions.v8.EventWorkerLastCommitSet does not contain field %s", fd.FullName())) + } +} + +// WhichOneof reports which field within the oneof is populated, +// returning nil if none are populated. +// It panics if the oneof descriptor does not belong to this message. +func (x *fastReflection_EventWorkerLastCommitSet) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { + switch d.FullName() { + default: + panic(fmt.Errorf("%s is not a oneof field in emissions.v8.EventWorkerLastCommitSet", d.FullName())) + } + panic("unreachable") +} + +// GetUnknown retrieves the entire list of unknown fields. +// The caller may only mutate the contents of the RawFields +// if the mutated bytes are stored back into the message with SetUnknown. +func (x *fastReflection_EventWorkerLastCommitSet) GetUnknown() protoreflect.RawFields { + return x.unknownFields +} + +// SetUnknown stores an entire list of unknown fields. +// The raw fields must be syntactically valid according to the wire format. +// An implementation may panic if this is not the case. +// Once stored, the caller must not mutate the content of the RawFields. +// An empty RawFields may be passed to clear the fields. +// +// SetUnknown is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_EventWorkerLastCommitSet) SetUnknown(fields protoreflect.RawFields) { + x.unknownFields = fields +} + +// IsValid reports whether the message is valid. +// +// An invalid message is an empty, read-only value. +// +// An invalid message often corresponds to a nil pointer of the concrete +// message type, but the details are implementation dependent. +// Validity is not part of the protobuf data model, and may not +// be preserved in marshaling or other operations. +func (x *fastReflection_EventWorkerLastCommitSet) IsValid() bool { + return x != nil +} + +// ProtoMethods returns optional fastReflectionFeature-path implementations of various operations. +// This method may return nil. +// +// The returned methods type is identical to +// "google.golang.org/protobuf/runtime/protoiface".Methods. +// Consult the protoiface package documentation for details. +func (x *fastReflection_EventWorkerLastCommitSet) ProtoMethods() *protoiface.Methods { + size := func(input protoiface.SizeInput) protoiface.SizeOutput { + x := input.Message.Interface().(*EventWorkerLastCommitSet) + if x == nil { + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: 0, + } + } + options := runtime.SizeInputToOptions(input) + _ = options + var n int + var l int + _ = l + if x.TopicId != 0 { + n += 1 + runtime.Sov(uint64(x.TopicId)) + } + if x.BlockHeight != 0 { + n += 1 + runtime.Sov(uint64(x.BlockHeight)) + } + if x.Nonce != nil { + l = options.Size(x.Nonce) + n += 1 + l + runtime.Sov(uint64(l)) + } + if x.unknownFields != nil { + n += len(x.unknownFields) + } + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: n, + } + } + + marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { + x := input.Message.Interface().(*EventWorkerLastCommitSet) + if x == nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + options := runtime.MarshalInputToOptions(input) + _ = options + size := options.Size(x) + dAtA := make([]byte, size) + i := len(dAtA) + _ = i + var l int + _ = l + if x.unknownFields != nil { + i -= len(x.unknownFields) + copy(dAtA[i:], x.unknownFields) + } + if x.Nonce != nil { + encoded, err := options.Marshal(x.Nonce) + if err != nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = runtime.EncodeVarint(dAtA, i, uint64(len(encoded))) + i-- + dAtA[i] = 0x1a + } + if x.BlockHeight != 0 { + i = runtime.EncodeVarint(dAtA, i, uint64(x.BlockHeight)) + i-- + dAtA[i] = 0x10 + } + if x.TopicId != 0 { + i = runtime.EncodeVarint(dAtA, i, uint64(x.TopicId)) + i-- + dAtA[i] = 0x8 + } + if input.Buf != nil { + input.Buf = append(input.Buf, dAtA...) + } else { + input.Buf = dAtA + } + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { + x := input.Message.Interface().(*EventWorkerLastCommitSet) + if x == nil { + return protoiface.UnmarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Flags: input.Flags, + }, nil + } + options := runtime.UnmarshalInputToOptions(input) + _ = options + dAtA := input.Buf + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: EventWorkerLastCommitSet: wiretype end group for non-group") + } + if fieldNum <= 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: EventWorkerLastCommitSet: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field TopicId", wireType) + } + x.TopicId = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + x.TopicId |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 2: + if wireType != 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field BlockHeight", wireType) + } + x.BlockHeight = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + x.BlockHeight |= int64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 3: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Nonce", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + if x.Nonce == nil { + x.Nonce = &v3.Nonce{} + } + if err := options.Unmarshal(dAtA[iNdEx:postIndex], x.Nonce); err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := runtime.Skip(dAtA[iNdEx:]) + if err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if (iNdEx + skippy) > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + if !options.DiscardUnknown { + x.unknownFields = append(x.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + } + iNdEx += skippy + } + } + + if iNdEx > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, nil + } + return &protoiface.Methods{ + NoUnkeyedLiterals: struct{}{}, + Flags: protoiface.SupportMarshalDeterministic | protoiface.SupportUnmarshalDiscardUnknown, + Size: size, + Marshal: marshal, + Unmarshal: unmarshal, + Merge: nil, + CheckInitialized: nil, + } +} + +var ( + md_EventReputerLastCommitSet protoreflect.MessageDescriptor + fd_EventReputerLastCommitSet_topic_id protoreflect.FieldDescriptor + fd_EventReputerLastCommitSet_block_height protoreflect.FieldDescriptor + fd_EventReputerLastCommitSet_nonce protoreflect.FieldDescriptor +) + +func init() { + file_emissions_v8_events_proto_init() + md_EventReputerLastCommitSet = File_emissions_v8_events_proto.Messages().ByName("EventReputerLastCommitSet") + fd_EventReputerLastCommitSet_topic_id = md_EventReputerLastCommitSet.Fields().ByName("topic_id") + fd_EventReputerLastCommitSet_block_height = md_EventReputerLastCommitSet.Fields().ByName("block_height") + fd_EventReputerLastCommitSet_nonce = md_EventReputerLastCommitSet.Fields().ByName("nonce") +} + +var _ protoreflect.Message = (*fastReflection_EventReputerLastCommitSet)(nil) + +type fastReflection_EventReputerLastCommitSet EventReputerLastCommitSet + +func (x *EventReputerLastCommitSet) ProtoReflect() protoreflect.Message { + return (*fastReflection_EventReputerLastCommitSet)(x) +} + +func (x *EventReputerLastCommitSet) slowProtoReflect() protoreflect.Message { + mi := &file_emissions_v8_events_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) +} + +var _fastReflection_EventReputerLastCommitSet_messageType fastReflection_EventReputerLastCommitSet_messageType +var _ protoreflect.MessageType = fastReflection_EventReputerLastCommitSet_messageType{} + +type fastReflection_EventReputerLastCommitSet_messageType struct{} + +func (x fastReflection_EventReputerLastCommitSet_messageType) Zero() protoreflect.Message { + return (*fastReflection_EventReputerLastCommitSet)(nil) +} +func (x fastReflection_EventReputerLastCommitSet_messageType) New() protoreflect.Message { + return new(fastReflection_EventReputerLastCommitSet) +} +func (x fastReflection_EventReputerLastCommitSet_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_EventReputerLastCommitSet +} + +// Descriptor returns message descriptor, which contains only the protobuf +// type information for the message. +func (x *fastReflection_EventReputerLastCommitSet) Descriptor() protoreflect.MessageDescriptor { + return md_EventReputerLastCommitSet +} + +// Type returns the message type, which encapsulates both Go and protobuf +// type information. If the Go type information is not needed, +// it is recommended that the message descriptor be used instead. +func (x *fastReflection_EventReputerLastCommitSet) Type() protoreflect.MessageType { + return _fastReflection_EventReputerLastCommitSet_messageType +} + +// New returns a newly allocated and mutable empty message. +func (x *fastReflection_EventReputerLastCommitSet) New() protoreflect.Message { + return new(fastReflection_EventReputerLastCommitSet) +} + +// Interface unwraps the message reflection interface and +// returns the underlying ProtoMessage interface. +func (x *fastReflection_EventReputerLastCommitSet) Interface() protoreflect.ProtoMessage { + return (*EventReputerLastCommitSet)(x) +} + +// Range iterates over every populated field in an undefined order, +// calling f for each field descriptor and value encountered. +// Range returns immediately if f returns false. +// While iterating, mutating operations may only be performed +// on the current field descriptor. +func (x *fastReflection_EventReputerLastCommitSet) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { + if x.TopicId != uint64(0) { + value := protoreflect.ValueOfUint64(x.TopicId) + if !f(fd_EventReputerLastCommitSet_topic_id, value) { + return + } + } + if x.BlockHeight != int64(0) { + value := protoreflect.ValueOfInt64(x.BlockHeight) + if !f(fd_EventReputerLastCommitSet_block_height, value) { + return + } + } + if x.Nonce != nil { + value := protoreflect.ValueOfMessage(x.Nonce.ProtoReflect()) + if !f(fd_EventReputerLastCommitSet_nonce, value) { + return + } + } +} + +// Has reports whether a field is populated. +// +// Some fields have the property of nullability where it is possible to +// distinguish between the default value of a field and whether the field +// was explicitly populated with the default value. Singular message fields, +// member fields of a oneof, and proto2 scalar fields are nullable. Such +// fields are populated only if explicitly set. +// +// In other cases (aside from the nullable cases above), +// a proto3 scalar field is populated if it contains a non-zero value, and +// a repeated field is populated if it is non-empty. +func (x *fastReflection_EventReputerLastCommitSet) Has(fd protoreflect.FieldDescriptor) bool { + switch fd.FullName() { + case "emissions.v8.EventReputerLastCommitSet.topic_id": + return x.TopicId != uint64(0) + case "emissions.v8.EventReputerLastCommitSet.block_height": + return x.BlockHeight != int64(0) + case "emissions.v8.EventReputerLastCommitSet.nonce": + return x.Nonce != nil + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.EventReputerLastCommitSet")) + } + panic(fmt.Errorf("message emissions.v8.EventReputerLastCommitSet does not contain field %s", fd.FullName())) + } +} + +// Clear clears the field such that a subsequent Has call reports false. +// +// Clearing an extension field clears both the extension type and value +// associated with the given field number. +// +// Clear is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_EventReputerLastCommitSet) Clear(fd protoreflect.FieldDescriptor) { + switch fd.FullName() { + case "emissions.v8.EventReputerLastCommitSet.topic_id": + x.TopicId = uint64(0) + case "emissions.v8.EventReputerLastCommitSet.block_height": + x.BlockHeight = int64(0) + case "emissions.v8.EventReputerLastCommitSet.nonce": + x.Nonce = nil + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.EventReputerLastCommitSet")) + } + panic(fmt.Errorf("message emissions.v8.EventReputerLastCommitSet does not contain field %s", fd.FullName())) + } +} + +// Get retrieves the value for a field. +// +// For unpopulated scalars, it returns the default value, where +// the default value of a bytes scalar is guaranteed to be a copy. +// For unpopulated composite types, it returns an empty, read-only view +// of the value; to obtain a mutable reference, use Mutable. +func (x *fastReflection_EventReputerLastCommitSet) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { + switch descriptor.FullName() { + case "emissions.v8.EventReputerLastCommitSet.topic_id": + value := x.TopicId + return protoreflect.ValueOfUint64(value) + case "emissions.v8.EventReputerLastCommitSet.block_height": + value := x.BlockHeight + return protoreflect.ValueOfInt64(value) + case "emissions.v8.EventReputerLastCommitSet.nonce": + value := x.Nonce + return protoreflect.ValueOfMessage(value.ProtoReflect()) + default: + if descriptor.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.EventReputerLastCommitSet")) + } + panic(fmt.Errorf("message emissions.v8.EventReputerLastCommitSet does not contain field %s", descriptor.FullName())) + } +} + +// Set stores the value for a field. +// +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType. +// When setting a composite type, it is unspecified whether the stored value +// aliases the source's memory in any way. If the composite value is an +// empty, read-only value, then it panics. +// +// Set is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_EventReputerLastCommitSet) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { + switch fd.FullName() { + case "emissions.v8.EventReputerLastCommitSet.topic_id": + x.TopicId = value.Uint() + case "emissions.v8.EventReputerLastCommitSet.block_height": + x.BlockHeight = value.Int() + case "emissions.v8.EventReputerLastCommitSet.nonce": + x.Nonce = value.Message().Interface().(*v3.Nonce) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.EventReputerLastCommitSet")) + } + panic(fmt.Errorf("message emissions.v8.EventReputerLastCommitSet does not contain field %s", fd.FullName())) + } +} + +// Mutable returns a mutable reference to a composite type. +// +// If the field is unpopulated, it may allocate a composite value. +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType +// if not already stored. +// It panics if the field does not contain a composite type. +// +// Mutable is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_EventReputerLastCommitSet) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.EventReputerLastCommitSet.nonce": + if x.Nonce == nil { + x.Nonce = new(v3.Nonce) + } + return protoreflect.ValueOfMessage(x.Nonce.ProtoReflect()) + case "emissions.v8.EventReputerLastCommitSet.topic_id": + panic(fmt.Errorf("field topic_id of message emissions.v8.EventReputerLastCommitSet is not mutable")) + case "emissions.v8.EventReputerLastCommitSet.block_height": + panic(fmt.Errorf("field block_height of message emissions.v8.EventReputerLastCommitSet is not mutable")) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.EventReputerLastCommitSet")) + } + panic(fmt.Errorf("message emissions.v8.EventReputerLastCommitSet does not contain field %s", fd.FullName())) + } +} + +// NewField returns a new value that is assignable to the field +// for the given descriptor. For scalars, this returns the default value. +// For lists, maps, and messages, this returns a new, empty, mutable value. +func (x *fastReflection_EventReputerLastCommitSet) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.EventReputerLastCommitSet.topic_id": + return protoreflect.ValueOfUint64(uint64(0)) + case "emissions.v8.EventReputerLastCommitSet.block_height": + return protoreflect.ValueOfInt64(int64(0)) + case "emissions.v8.EventReputerLastCommitSet.nonce": + m := new(v3.Nonce) + return protoreflect.ValueOfMessage(m.ProtoReflect()) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.EventReputerLastCommitSet")) + } + panic(fmt.Errorf("message emissions.v8.EventReputerLastCommitSet does not contain field %s", fd.FullName())) + } +} + +// WhichOneof reports which field within the oneof is populated, +// returning nil if none are populated. +// It panics if the oneof descriptor does not belong to this message. +func (x *fastReflection_EventReputerLastCommitSet) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { + switch d.FullName() { + default: + panic(fmt.Errorf("%s is not a oneof field in emissions.v8.EventReputerLastCommitSet", d.FullName())) + } + panic("unreachable") +} + +// GetUnknown retrieves the entire list of unknown fields. +// The caller may only mutate the contents of the RawFields +// if the mutated bytes are stored back into the message with SetUnknown. +func (x *fastReflection_EventReputerLastCommitSet) GetUnknown() protoreflect.RawFields { + return x.unknownFields +} + +// SetUnknown stores an entire list of unknown fields. +// The raw fields must be syntactically valid according to the wire format. +// An implementation may panic if this is not the case. +// Once stored, the caller must not mutate the content of the RawFields. +// An empty RawFields may be passed to clear the fields. +// +// SetUnknown is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_EventReputerLastCommitSet) SetUnknown(fields protoreflect.RawFields) { + x.unknownFields = fields +} + +// IsValid reports whether the message is valid. +// +// An invalid message is an empty, read-only value. +// +// An invalid message often corresponds to a nil pointer of the concrete +// message type, but the details are implementation dependent. +// Validity is not part of the protobuf data model, and may not +// be preserved in marshaling or other operations. +func (x *fastReflection_EventReputerLastCommitSet) IsValid() bool { + return x != nil +} + +// ProtoMethods returns optional fastReflectionFeature-path implementations of various operations. +// This method may return nil. +// +// The returned methods type is identical to +// "google.golang.org/protobuf/runtime/protoiface".Methods. +// Consult the protoiface package documentation for details. +func (x *fastReflection_EventReputerLastCommitSet) ProtoMethods() *protoiface.Methods { + size := func(input protoiface.SizeInput) protoiface.SizeOutput { + x := input.Message.Interface().(*EventReputerLastCommitSet) + if x == nil { + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: 0, + } + } + options := runtime.SizeInputToOptions(input) + _ = options + var n int + var l int + _ = l + if x.TopicId != 0 { + n += 1 + runtime.Sov(uint64(x.TopicId)) + } + if x.BlockHeight != 0 { + n += 1 + runtime.Sov(uint64(x.BlockHeight)) + } + if x.Nonce != nil { + l = options.Size(x.Nonce) + n += 1 + l + runtime.Sov(uint64(l)) + } + if x.unknownFields != nil { + n += len(x.unknownFields) + } + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: n, + } + } + + marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { + x := input.Message.Interface().(*EventReputerLastCommitSet) + if x == nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + options := runtime.MarshalInputToOptions(input) + _ = options + size := options.Size(x) + dAtA := make([]byte, size) + i := len(dAtA) + _ = i + var l int + _ = l + if x.unknownFields != nil { + i -= len(x.unknownFields) + copy(dAtA[i:], x.unknownFields) + } + if x.Nonce != nil { + encoded, err := options.Marshal(x.Nonce) + if err != nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = runtime.EncodeVarint(dAtA, i, uint64(len(encoded))) + i-- + dAtA[i] = 0x1a + } + if x.BlockHeight != 0 { + i = runtime.EncodeVarint(dAtA, i, uint64(x.BlockHeight)) + i-- + dAtA[i] = 0x10 + } + if x.TopicId != 0 { + i = runtime.EncodeVarint(dAtA, i, uint64(x.TopicId)) + i-- + dAtA[i] = 0x8 + } + if input.Buf != nil { + input.Buf = append(input.Buf, dAtA...) + } else { + input.Buf = dAtA + } + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { + x := input.Message.Interface().(*EventReputerLastCommitSet) + if x == nil { + return protoiface.UnmarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Flags: input.Flags, + }, nil + } + options := runtime.UnmarshalInputToOptions(input) + _ = options + dAtA := input.Buf + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: EventReputerLastCommitSet: wiretype end group for non-group") + } + if fieldNum <= 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: EventReputerLastCommitSet: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field TopicId", wireType) + } + x.TopicId = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + x.TopicId |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 2: + if wireType != 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field BlockHeight", wireType) + } + x.BlockHeight = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + x.BlockHeight |= int64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 3: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Nonce", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + if x.Nonce == nil { + x.Nonce = &v3.Nonce{} + } + if err := options.Unmarshal(dAtA[iNdEx:postIndex], x.Nonce); err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := runtime.Skip(dAtA[iNdEx:]) + if err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if (iNdEx + skippy) > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + if !options.DiscardUnknown { + x.unknownFields = append(x.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + } + iNdEx += skippy + } + } + + if iNdEx > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, nil + } + return &protoiface.Methods{ + NoUnkeyedLiterals: struct{}{}, + Flags: protoiface.SupportMarshalDeterministic | protoiface.SupportUnmarshalDiscardUnknown, + Size: size, + Marshal: marshal, + Unmarshal: unmarshal, + Merge: nil, + CheckInitialized: nil, + } +} + +var _ protoreflect.List = (*_EventTopicRewardsSet_1_list)(nil) + +type _EventTopicRewardsSet_1_list struct { + list *[]uint64 +} + +func (x *_EventTopicRewardsSet_1_list) Len() int { + if x.list == nil { + return 0 + } + return len(*x.list) +} + +func (x *_EventTopicRewardsSet_1_list) Get(i int) protoreflect.Value { + return protoreflect.ValueOfUint64((*x.list)[i]) +} + +func (x *_EventTopicRewardsSet_1_list) Set(i int, value protoreflect.Value) { + valueUnwrapped := value.Uint() + concreteValue := valueUnwrapped + (*x.list)[i] = concreteValue +} + +func (x *_EventTopicRewardsSet_1_list) Append(value protoreflect.Value) { + valueUnwrapped := value.Uint() + concreteValue := valueUnwrapped + *x.list = append(*x.list, concreteValue) +} + +func (x *_EventTopicRewardsSet_1_list) AppendMutable() protoreflect.Value { + panic(fmt.Errorf("AppendMutable can not be called on message EventTopicRewardsSet at list field TopicIds as it is not of Message kind")) +} + +func (x *_EventTopicRewardsSet_1_list) Truncate(n int) { + *x.list = (*x.list)[:n] +} + +func (x *_EventTopicRewardsSet_1_list) NewElement() protoreflect.Value { + v := uint64(0) + return protoreflect.ValueOfUint64(v) +} + +func (x *_EventTopicRewardsSet_1_list) IsValid() bool { + return x.list != nil +} + +var _ protoreflect.List = (*_EventTopicRewardsSet_2_list)(nil) + +type _EventTopicRewardsSet_2_list struct { + list *[]string +} + +func (x *_EventTopicRewardsSet_2_list) Len() int { + if x.list == nil { + return 0 + } + return len(*x.list) +} + +func (x *_EventTopicRewardsSet_2_list) Get(i int) protoreflect.Value { + return protoreflect.ValueOfString((*x.list)[i]) +} + +func (x *_EventTopicRewardsSet_2_list) Set(i int, value protoreflect.Value) { + valueUnwrapped := value.String() + concreteValue := valueUnwrapped + (*x.list)[i] = concreteValue +} + +func (x *_EventTopicRewardsSet_2_list) Append(value protoreflect.Value) { + valueUnwrapped := value.String() + concreteValue := valueUnwrapped + *x.list = append(*x.list, concreteValue) +} + +func (x *_EventTopicRewardsSet_2_list) AppendMutable() protoreflect.Value { + panic(fmt.Errorf("AppendMutable can not be called on message EventTopicRewardsSet at list field Rewards as it is not of Message kind")) +} + +func (x *_EventTopicRewardsSet_2_list) Truncate(n int) { + *x.list = (*x.list)[:n] +} + +func (x *_EventTopicRewardsSet_2_list) NewElement() protoreflect.Value { + v := "" + return protoreflect.ValueOfString(v) +} + +func (x *_EventTopicRewardsSet_2_list) IsValid() bool { + return x.list != nil +} + +var ( + md_EventTopicRewardsSet protoreflect.MessageDescriptor + fd_EventTopicRewardsSet_topic_ids protoreflect.FieldDescriptor + fd_EventTopicRewardsSet_rewards protoreflect.FieldDescriptor +) + +func init() { + file_emissions_v8_events_proto_init() + md_EventTopicRewardsSet = File_emissions_v8_events_proto.Messages().ByName("EventTopicRewardsSet") + fd_EventTopicRewardsSet_topic_ids = md_EventTopicRewardsSet.Fields().ByName("topic_ids") + fd_EventTopicRewardsSet_rewards = md_EventTopicRewardsSet.Fields().ByName("rewards") +} + +var _ protoreflect.Message = (*fastReflection_EventTopicRewardsSet)(nil) + +type fastReflection_EventTopicRewardsSet EventTopicRewardsSet + +func (x *EventTopicRewardsSet) ProtoReflect() protoreflect.Message { + return (*fastReflection_EventTopicRewardsSet)(x) +} + +func (x *EventTopicRewardsSet) slowProtoReflect() protoreflect.Message { + mi := &file_emissions_v8_events_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) +} + +var _fastReflection_EventTopicRewardsSet_messageType fastReflection_EventTopicRewardsSet_messageType +var _ protoreflect.MessageType = fastReflection_EventTopicRewardsSet_messageType{} + +type fastReflection_EventTopicRewardsSet_messageType struct{} + +func (x fastReflection_EventTopicRewardsSet_messageType) Zero() protoreflect.Message { + return (*fastReflection_EventTopicRewardsSet)(nil) +} +func (x fastReflection_EventTopicRewardsSet_messageType) New() protoreflect.Message { + return new(fastReflection_EventTopicRewardsSet) +} +func (x fastReflection_EventTopicRewardsSet_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_EventTopicRewardsSet +} + +// Descriptor returns message descriptor, which contains only the protobuf +// type information for the message. +func (x *fastReflection_EventTopicRewardsSet) Descriptor() protoreflect.MessageDescriptor { + return md_EventTopicRewardsSet +} + +// Type returns the message type, which encapsulates both Go and protobuf +// type information. If the Go type information is not needed, +// it is recommended that the message descriptor be used instead. +func (x *fastReflection_EventTopicRewardsSet) Type() protoreflect.MessageType { + return _fastReflection_EventTopicRewardsSet_messageType +} + +// New returns a newly allocated and mutable empty message. +func (x *fastReflection_EventTopicRewardsSet) New() protoreflect.Message { + return new(fastReflection_EventTopicRewardsSet) +} + +// Interface unwraps the message reflection interface and +// returns the underlying ProtoMessage interface. +func (x *fastReflection_EventTopicRewardsSet) Interface() protoreflect.ProtoMessage { + return (*EventTopicRewardsSet)(x) +} + +// Range iterates over every populated field in an undefined order, +// calling f for each field descriptor and value encountered. +// Range returns immediately if f returns false. +// While iterating, mutating operations may only be performed +// on the current field descriptor. +func (x *fastReflection_EventTopicRewardsSet) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { + if len(x.TopicIds) != 0 { + value := protoreflect.ValueOfList(&_EventTopicRewardsSet_1_list{list: &x.TopicIds}) + if !f(fd_EventTopicRewardsSet_topic_ids, value) { + return + } + } + if len(x.Rewards) != 0 { + value := protoreflect.ValueOfList(&_EventTopicRewardsSet_2_list{list: &x.Rewards}) + if !f(fd_EventTopicRewardsSet_rewards, value) { + return + } + } +} + +// Has reports whether a field is populated. +// +// Some fields have the property of nullability where it is possible to +// distinguish between the default value of a field and whether the field +// was explicitly populated with the default value. Singular message fields, +// member fields of a oneof, and proto2 scalar fields are nullable. Such +// fields are populated only if explicitly set. +// +// In other cases (aside from the nullable cases above), +// a proto3 scalar field is populated if it contains a non-zero value, and +// a repeated field is populated if it is non-empty. +func (x *fastReflection_EventTopicRewardsSet) Has(fd protoreflect.FieldDescriptor) bool { + switch fd.FullName() { + case "emissions.v8.EventTopicRewardsSet.topic_ids": + return len(x.TopicIds) != 0 + case "emissions.v8.EventTopicRewardsSet.rewards": + return len(x.Rewards) != 0 + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.EventTopicRewardsSet")) + } + panic(fmt.Errorf("message emissions.v8.EventTopicRewardsSet does not contain field %s", fd.FullName())) + } +} + +// Clear clears the field such that a subsequent Has call reports false. +// +// Clearing an extension field clears both the extension type and value +// associated with the given field number. +// +// Clear is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_EventTopicRewardsSet) Clear(fd protoreflect.FieldDescriptor) { + switch fd.FullName() { + case "emissions.v8.EventTopicRewardsSet.topic_ids": + x.TopicIds = nil + case "emissions.v8.EventTopicRewardsSet.rewards": + x.Rewards = nil + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.EventTopicRewardsSet")) + } + panic(fmt.Errorf("message emissions.v8.EventTopicRewardsSet does not contain field %s", fd.FullName())) + } +} + +// Get retrieves the value for a field. +// +// For unpopulated scalars, it returns the default value, where +// the default value of a bytes scalar is guaranteed to be a copy. +// For unpopulated composite types, it returns an empty, read-only view +// of the value; to obtain a mutable reference, use Mutable. +func (x *fastReflection_EventTopicRewardsSet) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { + switch descriptor.FullName() { + case "emissions.v8.EventTopicRewardsSet.topic_ids": + if len(x.TopicIds) == 0 { + return protoreflect.ValueOfList(&_EventTopicRewardsSet_1_list{}) + } + listValue := &_EventTopicRewardsSet_1_list{list: &x.TopicIds} + return protoreflect.ValueOfList(listValue) + case "emissions.v8.EventTopicRewardsSet.rewards": + if len(x.Rewards) == 0 { + return protoreflect.ValueOfList(&_EventTopicRewardsSet_2_list{}) + } + listValue := &_EventTopicRewardsSet_2_list{list: &x.Rewards} + return protoreflect.ValueOfList(listValue) + default: + if descriptor.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.EventTopicRewardsSet")) + } + panic(fmt.Errorf("message emissions.v8.EventTopicRewardsSet does not contain field %s", descriptor.FullName())) + } +} + +// Set stores the value for a field. +// +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType. +// When setting a composite type, it is unspecified whether the stored value +// aliases the source's memory in any way. If the composite value is an +// empty, read-only value, then it panics. +// +// Set is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_EventTopicRewardsSet) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { + switch fd.FullName() { + case "emissions.v8.EventTopicRewardsSet.topic_ids": + lv := value.List() + clv := lv.(*_EventTopicRewardsSet_1_list) + x.TopicIds = *clv.list + case "emissions.v8.EventTopicRewardsSet.rewards": + lv := value.List() + clv := lv.(*_EventTopicRewardsSet_2_list) + x.Rewards = *clv.list + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.EventTopicRewardsSet")) + } + panic(fmt.Errorf("message emissions.v8.EventTopicRewardsSet does not contain field %s", fd.FullName())) + } +} + +// Mutable returns a mutable reference to a composite type. +// +// If the field is unpopulated, it may allocate a composite value. +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType +// if not already stored. +// It panics if the field does not contain a composite type. +// +// Mutable is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_EventTopicRewardsSet) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.EventTopicRewardsSet.topic_ids": + if x.TopicIds == nil { + x.TopicIds = []uint64{} + } + value := &_EventTopicRewardsSet_1_list{list: &x.TopicIds} + return protoreflect.ValueOfList(value) + case "emissions.v8.EventTopicRewardsSet.rewards": + if x.Rewards == nil { + x.Rewards = []string{} + } + value := &_EventTopicRewardsSet_2_list{list: &x.Rewards} + return protoreflect.ValueOfList(value) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.EventTopicRewardsSet")) + } + panic(fmt.Errorf("message emissions.v8.EventTopicRewardsSet does not contain field %s", fd.FullName())) + } +} + +// NewField returns a new value that is assignable to the field +// for the given descriptor. For scalars, this returns the default value. +// For lists, maps, and messages, this returns a new, empty, mutable value. +func (x *fastReflection_EventTopicRewardsSet) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.EventTopicRewardsSet.topic_ids": + list := []uint64{} + return protoreflect.ValueOfList(&_EventTopicRewardsSet_1_list{list: &list}) + case "emissions.v8.EventTopicRewardsSet.rewards": + list := []string{} + return protoreflect.ValueOfList(&_EventTopicRewardsSet_2_list{list: &list}) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.EventTopicRewardsSet")) + } + panic(fmt.Errorf("message emissions.v8.EventTopicRewardsSet does not contain field %s", fd.FullName())) + } +} + +// WhichOneof reports which field within the oneof is populated, +// returning nil if none are populated. +// It panics if the oneof descriptor does not belong to this message. +func (x *fastReflection_EventTopicRewardsSet) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { + switch d.FullName() { + default: + panic(fmt.Errorf("%s is not a oneof field in emissions.v8.EventTopicRewardsSet", d.FullName())) + } + panic("unreachable") +} + +// GetUnknown retrieves the entire list of unknown fields. +// The caller may only mutate the contents of the RawFields +// if the mutated bytes are stored back into the message with SetUnknown. +func (x *fastReflection_EventTopicRewardsSet) GetUnknown() protoreflect.RawFields { + return x.unknownFields +} + +// SetUnknown stores an entire list of unknown fields. +// The raw fields must be syntactically valid according to the wire format. +// An implementation may panic if this is not the case. +// Once stored, the caller must not mutate the content of the RawFields. +// An empty RawFields may be passed to clear the fields. +// +// SetUnknown is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_EventTopicRewardsSet) SetUnknown(fields protoreflect.RawFields) { + x.unknownFields = fields +} + +// IsValid reports whether the message is valid. +// +// An invalid message is an empty, read-only value. +// +// An invalid message often corresponds to a nil pointer of the concrete +// message type, but the details are implementation dependent. +// Validity is not part of the protobuf data model, and may not +// be preserved in marshaling or other operations. +func (x *fastReflection_EventTopicRewardsSet) IsValid() bool { + return x != nil +} + +// ProtoMethods returns optional fastReflectionFeature-path implementations of various operations. +// This method may return nil. +// +// The returned methods type is identical to +// "google.golang.org/protobuf/runtime/protoiface".Methods. +// Consult the protoiface package documentation for details. +func (x *fastReflection_EventTopicRewardsSet) ProtoMethods() *protoiface.Methods { + size := func(input protoiface.SizeInput) protoiface.SizeOutput { + x := input.Message.Interface().(*EventTopicRewardsSet) + if x == nil { + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: 0, + } + } + options := runtime.SizeInputToOptions(input) + _ = options + var n int + var l int + _ = l + if len(x.TopicIds) > 0 { + l = 0 + for _, e := range x.TopicIds { + l += runtime.Sov(uint64(e)) + } + n += 1 + runtime.Sov(uint64(l)) + l + } + if len(x.Rewards) > 0 { + for _, s := range x.Rewards { + l = len(s) + n += 1 + l + runtime.Sov(uint64(l)) + } + } + if x.unknownFields != nil { + n += len(x.unknownFields) + } + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: n, + } + } + + marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { + x := input.Message.Interface().(*EventTopicRewardsSet) + if x == nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + options := runtime.MarshalInputToOptions(input) + _ = options + size := options.Size(x) + dAtA := make([]byte, size) + i := len(dAtA) + _ = i + var l int + _ = l + if x.unknownFields != nil { + i -= len(x.unknownFields) + copy(dAtA[i:], x.unknownFields) + } + if len(x.Rewards) > 0 { + for iNdEx := len(x.Rewards) - 1; iNdEx >= 0; iNdEx-- { + i -= len(x.Rewards[iNdEx]) + copy(dAtA[i:], x.Rewards[iNdEx]) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.Rewards[iNdEx]))) + i-- + dAtA[i] = 0x12 + } + } + if len(x.TopicIds) > 0 { + var pksize2 int + for _, num := range x.TopicIds { + pksize2 += runtime.Sov(uint64(num)) + } + i -= pksize2 + j1 := i + for _, num := range x.TopicIds { + for num >= 1<<7 { + dAtA[j1] = uint8(uint64(num)&0x7f | 0x80) + num >>= 7 + j1++ + } + dAtA[j1] = uint8(num) + j1++ + } + i = runtime.EncodeVarint(dAtA, i, uint64(pksize2)) + i-- + dAtA[i] = 0xa + } + if input.Buf != nil { + input.Buf = append(input.Buf, dAtA...) + } else { + input.Buf = dAtA + } + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { + x := input.Message.Interface().(*EventTopicRewardsSet) + if x == nil { + return protoiface.UnmarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Flags: input.Flags, + }, nil + } + options := runtime.UnmarshalInputToOptions(input) + _ = options + dAtA := input.Buf + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: EventTopicRewardsSet: wiretype end group for non-group") + } + if fieldNum <= 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: EventTopicRewardsSet: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType == 0 { + var v uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + x.TopicIds = append(x.TopicIds, v) + } else if wireType == 2 { + var packedLen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + packedLen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if packedLen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + packedLen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + var elementCount int + var count int + for _, integer := range dAtA[iNdEx:postIndex] { + if integer < 128 { + count++ + } + } + elementCount = count + if elementCount != 0 && len(x.TopicIds) == 0 { + x.TopicIds = make([]uint64, 0, elementCount) + } + for iNdEx < postIndex { + var v uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + x.TopicIds = append(x.TopicIds, v) + } + } else { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field TopicIds", wireType) + } + case 2: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Rewards", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + x.Rewards = append(x.Rewards, string(dAtA[iNdEx:postIndex])) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := runtime.Skip(dAtA[iNdEx:]) + if err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if (iNdEx + skippy) > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + if !options.DiscardUnknown { + x.unknownFields = append(x.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + } + iNdEx += skippy + } + } + + if iNdEx > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, nil + } + return &protoiface.Methods{ + NoUnkeyedLiterals: struct{}{}, + Flags: protoiface.SupportMarshalDeterministic | protoiface.SupportUnmarshalDiscardUnknown, + Size: size, + Marshal: marshal, + Unmarshal: unmarshal, + Merge: nil, + CheckInitialized: nil, + } +} + +var _ protoreflect.List = (*_EventEMAScoresSet_4_list)(nil) + +type _EventEMAScoresSet_4_list struct { + list *[]string +} + +func (x *_EventEMAScoresSet_4_list) Len() int { + if x.list == nil { + return 0 + } + return len(*x.list) +} + +func (x *_EventEMAScoresSet_4_list) Get(i int) protoreflect.Value { + return protoreflect.ValueOfString((*x.list)[i]) +} + +func (x *_EventEMAScoresSet_4_list) Set(i int, value protoreflect.Value) { + valueUnwrapped := value.String() + concreteValue := valueUnwrapped + (*x.list)[i] = concreteValue +} + +func (x *_EventEMAScoresSet_4_list) Append(value protoreflect.Value) { + valueUnwrapped := value.String() + concreteValue := valueUnwrapped + *x.list = append(*x.list, concreteValue) +} + +func (x *_EventEMAScoresSet_4_list) AppendMutable() protoreflect.Value { + panic(fmt.Errorf("AppendMutable can not be called on message EventEMAScoresSet at list field Addresses as it is not of Message kind")) +} + +func (x *_EventEMAScoresSet_4_list) Truncate(n int) { + *x.list = (*x.list)[:n] +} + +func (x *_EventEMAScoresSet_4_list) NewElement() protoreflect.Value { + v := "" + return protoreflect.ValueOfString(v) +} + +func (x *_EventEMAScoresSet_4_list) IsValid() bool { + return x.list != nil +} + +var _ protoreflect.List = (*_EventEMAScoresSet_5_list)(nil) + +type _EventEMAScoresSet_5_list struct { + list *[]string +} + +func (x *_EventEMAScoresSet_5_list) Len() int { + if x.list == nil { + return 0 + } + return len(*x.list) +} + +func (x *_EventEMAScoresSet_5_list) Get(i int) protoreflect.Value { + return protoreflect.ValueOfString((*x.list)[i]) +} + +func (x *_EventEMAScoresSet_5_list) Set(i int, value protoreflect.Value) { + valueUnwrapped := value.String() + concreteValue := valueUnwrapped + (*x.list)[i] = concreteValue +} + +func (x *_EventEMAScoresSet_5_list) Append(value protoreflect.Value) { + valueUnwrapped := value.String() + concreteValue := valueUnwrapped + *x.list = append(*x.list, concreteValue) +} + +func (x *_EventEMAScoresSet_5_list) AppendMutable() protoreflect.Value { + panic(fmt.Errorf("AppendMutable can not be called on message EventEMAScoresSet at list field Scores as it is not of Message kind")) +} + +func (x *_EventEMAScoresSet_5_list) Truncate(n int) { + *x.list = (*x.list)[:n] +} + +func (x *_EventEMAScoresSet_5_list) NewElement() protoreflect.Value { + v := "" + return protoreflect.ValueOfString(v) +} + +func (x *_EventEMAScoresSet_5_list) IsValid() bool { + return x.list != nil +} + +var _ protoreflect.List = (*_EventEMAScoresSet_6_list)(nil) + +type _EventEMAScoresSet_6_list struct { + list *[]bool +} + +func (x *_EventEMAScoresSet_6_list) Len() int { + if x.list == nil { + return 0 + } + return len(*x.list) +} + +func (x *_EventEMAScoresSet_6_list) Get(i int) protoreflect.Value { + return protoreflect.ValueOfBool((*x.list)[i]) +} + +func (x *_EventEMAScoresSet_6_list) Set(i int, value protoreflect.Value) { + valueUnwrapped := value.Bool() + concreteValue := valueUnwrapped + (*x.list)[i] = concreteValue +} + +func (x *_EventEMAScoresSet_6_list) Append(value protoreflect.Value) { + valueUnwrapped := value.Bool() + concreteValue := valueUnwrapped + *x.list = append(*x.list, concreteValue) +} + +func (x *_EventEMAScoresSet_6_list) AppendMutable() protoreflect.Value { + panic(fmt.Errorf("AppendMutable can not be called on message EventEMAScoresSet at list field IsActive as it is not of Message kind")) +} + +func (x *_EventEMAScoresSet_6_list) Truncate(n int) { + *x.list = (*x.list)[:n] +} + +func (x *_EventEMAScoresSet_6_list) NewElement() protoreflect.Value { + v := false + return protoreflect.ValueOfBool(v) +} + +func (x *_EventEMAScoresSet_6_list) IsValid() bool { + return x.list != nil +} + +var ( + md_EventEMAScoresSet protoreflect.MessageDescriptor + fd_EventEMAScoresSet_actor_type protoreflect.FieldDescriptor + fd_EventEMAScoresSet_topic_id protoreflect.FieldDescriptor + fd_EventEMAScoresSet_nonce protoreflect.FieldDescriptor + fd_EventEMAScoresSet_addresses protoreflect.FieldDescriptor + fd_EventEMAScoresSet_scores protoreflect.FieldDescriptor + fd_EventEMAScoresSet_is_active protoreflect.FieldDescriptor +) + +func init() { + file_emissions_v8_events_proto_init() + md_EventEMAScoresSet = File_emissions_v8_events_proto.Messages().ByName("EventEMAScoresSet") + fd_EventEMAScoresSet_actor_type = md_EventEMAScoresSet.Fields().ByName("actor_type") + fd_EventEMAScoresSet_topic_id = md_EventEMAScoresSet.Fields().ByName("topic_id") + fd_EventEMAScoresSet_nonce = md_EventEMAScoresSet.Fields().ByName("nonce") + fd_EventEMAScoresSet_addresses = md_EventEMAScoresSet.Fields().ByName("addresses") + fd_EventEMAScoresSet_scores = md_EventEMAScoresSet.Fields().ByName("scores") + fd_EventEMAScoresSet_is_active = md_EventEMAScoresSet.Fields().ByName("is_active") +} + +var _ protoreflect.Message = (*fastReflection_EventEMAScoresSet)(nil) + +type fastReflection_EventEMAScoresSet EventEMAScoresSet + +func (x *EventEMAScoresSet) ProtoReflect() protoreflect.Message { + return (*fastReflection_EventEMAScoresSet)(x) +} + +func (x *EventEMAScoresSet) slowProtoReflect() protoreflect.Message { + mi := &file_emissions_v8_events_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) +} + +var _fastReflection_EventEMAScoresSet_messageType fastReflection_EventEMAScoresSet_messageType +var _ protoreflect.MessageType = fastReflection_EventEMAScoresSet_messageType{} + +type fastReflection_EventEMAScoresSet_messageType struct{} + +func (x fastReflection_EventEMAScoresSet_messageType) Zero() protoreflect.Message { + return (*fastReflection_EventEMAScoresSet)(nil) +} +func (x fastReflection_EventEMAScoresSet_messageType) New() protoreflect.Message { + return new(fastReflection_EventEMAScoresSet) +} +func (x fastReflection_EventEMAScoresSet_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_EventEMAScoresSet +} + +// Descriptor returns message descriptor, which contains only the protobuf +// type information for the message. +func (x *fastReflection_EventEMAScoresSet) Descriptor() protoreflect.MessageDescriptor { + return md_EventEMAScoresSet +} + +// Type returns the message type, which encapsulates both Go and protobuf +// type information. If the Go type information is not needed, +// it is recommended that the message descriptor be used instead. +func (x *fastReflection_EventEMAScoresSet) Type() protoreflect.MessageType { + return _fastReflection_EventEMAScoresSet_messageType +} + +// New returns a newly allocated and mutable empty message. +func (x *fastReflection_EventEMAScoresSet) New() protoreflect.Message { + return new(fastReflection_EventEMAScoresSet) +} + +// Interface unwraps the message reflection interface and +// returns the underlying ProtoMessage interface. +func (x *fastReflection_EventEMAScoresSet) Interface() protoreflect.ProtoMessage { + return (*EventEMAScoresSet)(x) +} + +// Range iterates over every populated field in an undefined order, +// calling f for each field descriptor and value encountered. +// Range returns immediately if f returns false. +// While iterating, mutating operations may only be performed +// on the current field descriptor. +func (x *fastReflection_EventEMAScoresSet) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { + if x.ActorType != 0 { + value := protoreflect.ValueOfEnum((protoreflect.EnumNumber)(x.ActorType)) + if !f(fd_EventEMAScoresSet_actor_type, value) { + return + } + } + if x.TopicId != uint64(0) { + value := protoreflect.ValueOfUint64(x.TopicId) + if !f(fd_EventEMAScoresSet_topic_id, value) { + return + } + } + if x.Nonce != int64(0) { + value := protoreflect.ValueOfInt64(x.Nonce) + if !f(fd_EventEMAScoresSet_nonce, value) { + return + } + } + if len(x.Addresses) != 0 { + value := protoreflect.ValueOfList(&_EventEMAScoresSet_4_list{list: &x.Addresses}) + if !f(fd_EventEMAScoresSet_addresses, value) { + return + } + } + if len(x.Scores) != 0 { + value := protoreflect.ValueOfList(&_EventEMAScoresSet_5_list{list: &x.Scores}) + if !f(fd_EventEMAScoresSet_scores, value) { + return + } + } + if len(x.IsActive) != 0 { + value := protoreflect.ValueOfList(&_EventEMAScoresSet_6_list{list: &x.IsActive}) + if !f(fd_EventEMAScoresSet_is_active, value) { + return + } + } +} + +// Has reports whether a field is populated. +// +// Some fields have the property of nullability where it is possible to +// distinguish between the default value of a field and whether the field +// was explicitly populated with the default value. Singular message fields, +// member fields of a oneof, and proto2 scalar fields are nullable. Such +// fields are populated only if explicitly set. +// +// In other cases (aside from the nullable cases above), +// a proto3 scalar field is populated if it contains a non-zero value, and +// a repeated field is populated if it is non-empty. +func (x *fastReflection_EventEMAScoresSet) Has(fd protoreflect.FieldDescriptor) bool { + switch fd.FullName() { + case "emissions.v8.EventEMAScoresSet.actor_type": + return x.ActorType != 0 + case "emissions.v8.EventEMAScoresSet.topic_id": + return x.TopicId != uint64(0) + case "emissions.v8.EventEMAScoresSet.nonce": + return x.Nonce != int64(0) + case "emissions.v8.EventEMAScoresSet.addresses": + return len(x.Addresses) != 0 + case "emissions.v8.EventEMAScoresSet.scores": + return len(x.Scores) != 0 + case "emissions.v8.EventEMAScoresSet.is_active": + return len(x.IsActive) != 0 + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.EventEMAScoresSet")) + } + panic(fmt.Errorf("message emissions.v8.EventEMAScoresSet does not contain field %s", fd.FullName())) + } +} + +// Clear clears the field such that a subsequent Has call reports false. +// +// Clearing an extension field clears both the extension type and value +// associated with the given field number. +// +// Clear is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_EventEMAScoresSet) Clear(fd protoreflect.FieldDescriptor) { + switch fd.FullName() { + case "emissions.v8.EventEMAScoresSet.actor_type": + x.ActorType = 0 + case "emissions.v8.EventEMAScoresSet.topic_id": + x.TopicId = uint64(0) + case "emissions.v8.EventEMAScoresSet.nonce": + x.Nonce = int64(0) + case "emissions.v8.EventEMAScoresSet.addresses": + x.Addresses = nil + case "emissions.v8.EventEMAScoresSet.scores": + x.Scores = nil + case "emissions.v8.EventEMAScoresSet.is_active": + x.IsActive = nil + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.EventEMAScoresSet")) + } + panic(fmt.Errorf("message emissions.v8.EventEMAScoresSet does not contain field %s", fd.FullName())) + } +} + +// Get retrieves the value for a field. +// +// For unpopulated scalars, it returns the default value, where +// the default value of a bytes scalar is guaranteed to be a copy. +// For unpopulated composite types, it returns an empty, read-only view +// of the value; to obtain a mutable reference, use Mutable. +func (x *fastReflection_EventEMAScoresSet) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { + switch descriptor.FullName() { + case "emissions.v8.EventEMAScoresSet.actor_type": + value := x.ActorType + return protoreflect.ValueOfEnum((protoreflect.EnumNumber)(value)) + case "emissions.v8.EventEMAScoresSet.topic_id": + value := x.TopicId + return protoreflect.ValueOfUint64(value) + case "emissions.v8.EventEMAScoresSet.nonce": + value := x.Nonce + return protoreflect.ValueOfInt64(value) + case "emissions.v8.EventEMAScoresSet.addresses": + if len(x.Addresses) == 0 { + return protoreflect.ValueOfList(&_EventEMAScoresSet_4_list{}) + } + listValue := &_EventEMAScoresSet_4_list{list: &x.Addresses} + return protoreflect.ValueOfList(listValue) + case "emissions.v8.EventEMAScoresSet.scores": + if len(x.Scores) == 0 { + return protoreflect.ValueOfList(&_EventEMAScoresSet_5_list{}) + } + listValue := &_EventEMAScoresSet_5_list{list: &x.Scores} + return protoreflect.ValueOfList(listValue) + case "emissions.v8.EventEMAScoresSet.is_active": + if len(x.IsActive) == 0 { + return protoreflect.ValueOfList(&_EventEMAScoresSet_6_list{}) + } + listValue := &_EventEMAScoresSet_6_list{list: &x.IsActive} + return protoreflect.ValueOfList(listValue) + default: + if descriptor.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.EventEMAScoresSet")) + } + panic(fmt.Errorf("message emissions.v8.EventEMAScoresSet does not contain field %s", descriptor.FullName())) + } +} + +// Set stores the value for a field. +// +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType. +// When setting a composite type, it is unspecified whether the stored value +// aliases the source's memory in any way. If the composite value is an +// empty, read-only value, then it panics. +// +// Set is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_EventEMAScoresSet) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { + switch fd.FullName() { + case "emissions.v8.EventEMAScoresSet.actor_type": + x.ActorType = (ActorType)(value.Enum()) + case "emissions.v8.EventEMAScoresSet.topic_id": + x.TopicId = value.Uint() + case "emissions.v8.EventEMAScoresSet.nonce": + x.Nonce = value.Int() + case "emissions.v8.EventEMAScoresSet.addresses": + lv := value.List() + clv := lv.(*_EventEMAScoresSet_4_list) + x.Addresses = *clv.list + case "emissions.v8.EventEMAScoresSet.scores": + lv := value.List() + clv := lv.(*_EventEMAScoresSet_5_list) + x.Scores = *clv.list + case "emissions.v8.EventEMAScoresSet.is_active": + lv := value.List() + clv := lv.(*_EventEMAScoresSet_6_list) + x.IsActive = *clv.list + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.EventEMAScoresSet")) + } + panic(fmt.Errorf("message emissions.v8.EventEMAScoresSet does not contain field %s", fd.FullName())) + } +} + +// Mutable returns a mutable reference to a composite type. +// +// If the field is unpopulated, it may allocate a composite value. +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType +// if not already stored. +// It panics if the field does not contain a composite type. +// +// Mutable is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_EventEMAScoresSet) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.EventEMAScoresSet.addresses": + if x.Addresses == nil { + x.Addresses = []string{} + } + value := &_EventEMAScoresSet_4_list{list: &x.Addresses} + return protoreflect.ValueOfList(value) + case "emissions.v8.EventEMAScoresSet.scores": + if x.Scores == nil { + x.Scores = []string{} + } + value := &_EventEMAScoresSet_5_list{list: &x.Scores} + return protoreflect.ValueOfList(value) + case "emissions.v8.EventEMAScoresSet.is_active": + if x.IsActive == nil { + x.IsActive = []bool{} + } + value := &_EventEMAScoresSet_6_list{list: &x.IsActive} + return protoreflect.ValueOfList(value) + case "emissions.v8.EventEMAScoresSet.actor_type": + panic(fmt.Errorf("field actor_type of message emissions.v8.EventEMAScoresSet is not mutable")) + case "emissions.v8.EventEMAScoresSet.topic_id": + panic(fmt.Errorf("field topic_id of message emissions.v8.EventEMAScoresSet is not mutable")) + case "emissions.v8.EventEMAScoresSet.nonce": + panic(fmt.Errorf("field nonce of message emissions.v8.EventEMAScoresSet is not mutable")) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.EventEMAScoresSet")) + } + panic(fmt.Errorf("message emissions.v8.EventEMAScoresSet does not contain field %s", fd.FullName())) + } +} + +// NewField returns a new value that is assignable to the field +// for the given descriptor. For scalars, this returns the default value. +// For lists, maps, and messages, this returns a new, empty, mutable value. +func (x *fastReflection_EventEMAScoresSet) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.EventEMAScoresSet.actor_type": + return protoreflect.ValueOfEnum(0) + case "emissions.v8.EventEMAScoresSet.topic_id": + return protoreflect.ValueOfUint64(uint64(0)) + case "emissions.v8.EventEMAScoresSet.nonce": + return protoreflect.ValueOfInt64(int64(0)) + case "emissions.v8.EventEMAScoresSet.addresses": + list := []string{} + return protoreflect.ValueOfList(&_EventEMAScoresSet_4_list{list: &list}) + case "emissions.v8.EventEMAScoresSet.scores": + list := []string{} + return protoreflect.ValueOfList(&_EventEMAScoresSet_5_list{list: &list}) + case "emissions.v8.EventEMAScoresSet.is_active": + list := []bool{} + return protoreflect.ValueOfList(&_EventEMAScoresSet_6_list{list: &list}) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.EventEMAScoresSet")) + } + panic(fmt.Errorf("message emissions.v8.EventEMAScoresSet does not contain field %s", fd.FullName())) + } +} + +// WhichOneof reports which field within the oneof is populated, +// returning nil if none are populated. +// It panics if the oneof descriptor does not belong to this message. +func (x *fastReflection_EventEMAScoresSet) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { + switch d.FullName() { + default: + panic(fmt.Errorf("%s is not a oneof field in emissions.v8.EventEMAScoresSet", d.FullName())) + } + panic("unreachable") +} + +// GetUnknown retrieves the entire list of unknown fields. +// The caller may only mutate the contents of the RawFields +// if the mutated bytes are stored back into the message with SetUnknown. +func (x *fastReflection_EventEMAScoresSet) GetUnknown() protoreflect.RawFields { + return x.unknownFields +} + +// SetUnknown stores an entire list of unknown fields. +// The raw fields must be syntactically valid according to the wire format. +// An implementation may panic if this is not the case. +// Once stored, the caller must not mutate the content of the RawFields. +// An empty RawFields may be passed to clear the fields. +// +// SetUnknown is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_EventEMAScoresSet) SetUnknown(fields protoreflect.RawFields) { + x.unknownFields = fields +} + +// IsValid reports whether the message is valid. +// +// An invalid message is an empty, read-only value. +// +// An invalid message often corresponds to a nil pointer of the concrete +// message type, but the details are implementation dependent. +// Validity is not part of the protobuf data model, and may not +// be preserved in marshaling or other operations. +func (x *fastReflection_EventEMAScoresSet) IsValid() bool { + return x != nil +} + +// ProtoMethods returns optional fastReflectionFeature-path implementations of various operations. +// This method may return nil. +// +// The returned methods type is identical to +// "google.golang.org/protobuf/runtime/protoiface".Methods. +// Consult the protoiface package documentation for details. +func (x *fastReflection_EventEMAScoresSet) ProtoMethods() *protoiface.Methods { + size := func(input protoiface.SizeInput) protoiface.SizeOutput { + x := input.Message.Interface().(*EventEMAScoresSet) + if x == nil { + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: 0, + } + } + options := runtime.SizeInputToOptions(input) + _ = options + var n int + var l int + _ = l + if x.ActorType != 0 { + n += 1 + runtime.Sov(uint64(x.ActorType)) + } + if x.TopicId != 0 { + n += 1 + runtime.Sov(uint64(x.TopicId)) + } + if x.Nonce != 0 { + n += 1 + runtime.Sov(uint64(x.Nonce)) + } + if len(x.Addresses) > 0 { + for _, s := range x.Addresses { + l = len(s) + n += 1 + l + runtime.Sov(uint64(l)) + } + } + if len(x.Scores) > 0 { + for _, s := range x.Scores { + l = len(s) + n += 1 + l + runtime.Sov(uint64(l)) + } + } + if len(x.IsActive) > 0 { + n += 1 + runtime.Sov(uint64(len(x.IsActive))) + len(x.IsActive)*1 + } + if x.unknownFields != nil { + n += len(x.unknownFields) + } + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: n, + } + } + + marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { + x := input.Message.Interface().(*EventEMAScoresSet) + if x == nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + options := runtime.MarshalInputToOptions(input) + _ = options + size := options.Size(x) + dAtA := make([]byte, size) + i := len(dAtA) + _ = i + var l int + _ = l + if x.unknownFields != nil { + i -= len(x.unknownFields) + copy(dAtA[i:], x.unknownFields) + } + if len(x.IsActive) > 0 { + for iNdEx := len(x.IsActive) - 1; iNdEx >= 0; iNdEx-- { + i-- + if x.IsActive[iNdEx] { + dAtA[i] = 1 + } else { + dAtA[i] = 0 + } + } + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.IsActive))) + i-- + dAtA[i] = 0x32 + } + if len(x.Scores) > 0 { + for iNdEx := len(x.Scores) - 1; iNdEx >= 0; iNdEx-- { + i -= len(x.Scores[iNdEx]) + copy(dAtA[i:], x.Scores[iNdEx]) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.Scores[iNdEx]))) + i-- + dAtA[i] = 0x2a + } + } + if len(x.Addresses) > 0 { + for iNdEx := len(x.Addresses) - 1; iNdEx >= 0; iNdEx-- { + i -= len(x.Addresses[iNdEx]) + copy(dAtA[i:], x.Addresses[iNdEx]) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.Addresses[iNdEx]))) + i-- + dAtA[i] = 0x22 + } + } + if x.Nonce != 0 { + i = runtime.EncodeVarint(dAtA, i, uint64(x.Nonce)) + i-- + dAtA[i] = 0x18 + } + if x.TopicId != 0 { + i = runtime.EncodeVarint(dAtA, i, uint64(x.TopicId)) + i-- + dAtA[i] = 0x10 + } + if x.ActorType != 0 { + i = runtime.EncodeVarint(dAtA, i, uint64(x.ActorType)) + i-- + dAtA[i] = 0x8 + } + if input.Buf != nil { + input.Buf = append(input.Buf, dAtA...) + } else { + input.Buf = dAtA + } + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { + x := input.Message.Interface().(*EventEMAScoresSet) + if x == nil { + return protoiface.UnmarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Flags: input.Flags, + }, nil + } + options := runtime.UnmarshalInputToOptions(input) + _ = options + dAtA := input.Buf + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: EventEMAScoresSet: wiretype end group for non-group") + } + if fieldNum <= 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: EventEMAScoresSet: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field ActorType", wireType) + } + x.ActorType = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + x.ActorType |= ActorType(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 2: + if wireType != 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field TopicId", wireType) + } + x.TopicId = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + x.TopicId |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 3: + if wireType != 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Nonce", wireType) + } + x.Nonce = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + x.Nonce |= int64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 4: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Addresses", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + x.Addresses = append(x.Addresses, string(dAtA[iNdEx:postIndex])) + iNdEx = postIndex + case 5: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Scores", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + x.Scores = append(x.Scores, string(dAtA[iNdEx:postIndex])) + iNdEx = postIndex + case 6: + if wireType == 0 { + var v int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + x.IsActive = append(x.IsActive, bool(v != 0)) + } else if wireType == 2 { + var packedLen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + packedLen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if packedLen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + packedLen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + var elementCount int + elementCount = packedLen + if elementCount != 0 && len(x.IsActive) == 0 { + x.IsActive = make([]bool, 0, elementCount) + } + for iNdEx < postIndex { + var v int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + x.IsActive = append(x.IsActive, bool(v != 0)) + } + } else { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field IsActive", wireType) + } + default: + iNdEx = preIndex + skippy, err := runtime.Skip(dAtA[iNdEx:]) + if err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if (iNdEx + skippy) > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + if !options.DiscardUnknown { + x.unknownFields = append(x.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + } + iNdEx += skippy + } + } + + if iNdEx > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, nil + } + return &protoiface.Methods{ + NoUnkeyedLiterals: struct{}{}, + Flags: protoiface.SupportMarshalDeterministic | protoiface.SupportUnmarshalDiscardUnknown, + Size: size, + Marshal: marshal, + Unmarshal: unmarshal, + Merge: nil, + CheckInitialized: nil, + } +} + +var _ protoreflect.List = (*_EventListeningCoefficientsSet_4_list)(nil) + +type _EventListeningCoefficientsSet_4_list struct { + list *[]string +} + +func (x *_EventListeningCoefficientsSet_4_list) Len() int { + if x.list == nil { + return 0 + } + return len(*x.list) +} + +func (x *_EventListeningCoefficientsSet_4_list) Get(i int) protoreflect.Value { + return protoreflect.ValueOfString((*x.list)[i]) +} + +func (x *_EventListeningCoefficientsSet_4_list) Set(i int, value protoreflect.Value) { + valueUnwrapped := value.String() + concreteValue := valueUnwrapped + (*x.list)[i] = concreteValue +} + +func (x *_EventListeningCoefficientsSet_4_list) Append(value protoreflect.Value) { + valueUnwrapped := value.String() + concreteValue := valueUnwrapped + *x.list = append(*x.list, concreteValue) +} + +func (x *_EventListeningCoefficientsSet_4_list) AppendMutable() protoreflect.Value { + panic(fmt.Errorf("AppendMutable can not be called on message EventListeningCoefficientsSet at list field Addresses as it is not of Message kind")) +} + +func (x *_EventListeningCoefficientsSet_4_list) Truncate(n int) { + *x.list = (*x.list)[:n] +} + +func (x *_EventListeningCoefficientsSet_4_list) NewElement() protoreflect.Value { + v := "" + return protoreflect.ValueOfString(v) +} + +func (x *_EventListeningCoefficientsSet_4_list) IsValid() bool { + return x.list != nil +} + +var _ protoreflect.List = (*_EventListeningCoefficientsSet_5_list)(nil) + +type _EventListeningCoefficientsSet_5_list struct { + list *[]string +} + +func (x *_EventListeningCoefficientsSet_5_list) Len() int { + if x.list == nil { + return 0 + } + return len(*x.list) +} + +func (x *_EventListeningCoefficientsSet_5_list) Get(i int) protoreflect.Value { + return protoreflect.ValueOfString((*x.list)[i]) +} + +func (x *_EventListeningCoefficientsSet_5_list) Set(i int, value protoreflect.Value) { + valueUnwrapped := value.String() + concreteValue := valueUnwrapped + (*x.list)[i] = concreteValue +} + +func (x *_EventListeningCoefficientsSet_5_list) Append(value protoreflect.Value) { + valueUnwrapped := value.String() + concreteValue := valueUnwrapped + *x.list = append(*x.list, concreteValue) +} + +func (x *_EventListeningCoefficientsSet_5_list) AppendMutable() protoreflect.Value { + panic(fmt.Errorf("AppendMutable can not be called on message EventListeningCoefficientsSet at list field Coefficients as it is not of Message kind")) +} + +func (x *_EventListeningCoefficientsSet_5_list) Truncate(n int) { + *x.list = (*x.list)[:n] +} + +func (x *_EventListeningCoefficientsSet_5_list) NewElement() protoreflect.Value { + v := "" + return protoreflect.ValueOfString(v) +} + +func (x *_EventListeningCoefficientsSet_5_list) IsValid() bool { + return x.list != nil +} + +var ( + md_EventListeningCoefficientsSet protoreflect.MessageDescriptor + fd_EventListeningCoefficientsSet_actor_type protoreflect.FieldDescriptor + fd_EventListeningCoefficientsSet_topic_id protoreflect.FieldDescriptor + fd_EventListeningCoefficientsSet_block_height protoreflect.FieldDescriptor + fd_EventListeningCoefficientsSet_addresses protoreflect.FieldDescriptor + fd_EventListeningCoefficientsSet_coefficients protoreflect.FieldDescriptor +) + +func init() { + file_emissions_v8_events_proto_init() + md_EventListeningCoefficientsSet = File_emissions_v8_events_proto.Messages().ByName("EventListeningCoefficientsSet") + fd_EventListeningCoefficientsSet_actor_type = md_EventListeningCoefficientsSet.Fields().ByName("actor_type") + fd_EventListeningCoefficientsSet_topic_id = md_EventListeningCoefficientsSet.Fields().ByName("topic_id") + fd_EventListeningCoefficientsSet_block_height = md_EventListeningCoefficientsSet.Fields().ByName("block_height") + fd_EventListeningCoefficientsSet_addresses = md_EventListeningCoefficientsSet.Fields().ByName("addresses") + fd_EventListeningCoefficientsSet_coefficients = md_EventListeningCoefficientsSet.Fields().ByName("coefficients") +} + +var _ protoreflect.Message = (*fastReflection_EventListeningCoefficientsSet)(nil) + +type fastReflection_EventListeningCoefficientsSet EventListeningCoefficientsSet + +func (x *EventListeningCoefficientsSet) ProtoReflect() protoreflect.Message { + return (*fastReflection_EventListeningCoefficientsSet)(x) +} + +func (x *EventListeningCoefficientsSet) slowProtoReflect() protoreflect.Message { + mi := &file_emissions_v8_events_proto_msgTypes[8] + 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) +} + +var _fastReflection_EventListeningCoefficientsSet_messageType fastReflection_EventListeningCoefficientsSet_messageType +var _ protoreflect.MessageType = fastReflection_EventListeningCoefficientsSet_messageType{} + +type fastReflection_EventListeningCoefficientsSet_messageType struct{} + +func (x fastReflection_EventListeningCoefficientsSet_messageType) Zero() protoreflect.Message { + return (*fastReflection_EventListeningCoefficientsSet)(nil) +} +func (x fastReflection_EventListeningCoefficientsSet_messageType) New() protoreflect.Message { + return new(fastReflection_EventListeningCoefficientsSet) +} +func (x fastReflection_EventListeningCoefficientsSet_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_EventListeningCoefficientsSet +} + +// Descriptor returns message descriptor, which contains only the protobuf +// type information for the message. +func (x *fastReflection_EventListeningCoefficientsSet) Descriptor() protoreflect.MessageDescriptor { + return md_EventListeningCoefficientsSet +} + +// Type returns the message type, which encapsulates both Go and protobuf +// type information. If the Go type information is not needed, +// it is recommended that the message descriptor be used instead. +func (x *fastReflection_EventListeningCoefficientsSet) Type() protoreflect.MessageType { + return _fastReflection_EventListeningCoefficientsSet_messageType +} + +// New returns a newly allocated and mutable empty message. +func (x *fastReflection_EventListeningCoefficientsSet) New() protoreflect.Message { + return new(fastReflection_EventListeningCoefficientsSet) +} + +// Interface unwraps the message reflection interface and +// returns the underlying ProtoMessage interface. +func (x *fastReflection_EventListeningCoefficientsSet) Interface() protoreflect.ProtoMessage { + return (*EventListeningCoefficientsSet)(x) +} + +// Range iterates over every populated field in an undefined order, +// calling f for each field descriptor and value encountered. +// Range returns immediately if f returns false. +// While iterating, mutating operations may only be performed +// on the current field descriptor. +func (x *fastReflection_EventListeningCoefficientsSet) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { + if x.ActorType != 0 { + value := protoreflect.ValueOfEnum((protoreflect.EnumNumber)(x.ActorType)) + if !f(fd_EventListeningCoefficientsSet_actor_type, value) { + return + } + } + if x.TopicId != uint64(0) { + value := protoreflect.ValueOfUint64(x.TopicId) + if !f(fd_EventListeningCoefficientsSet_topic_id, value) { + return + } + } + if x.BlockHeight != int64(0) { + value := protoreflect.ValueOfInt64(x.BlockHeight) + if !f(fd_EventListeningCoefficientsSet_block_height, value) { + return + } + } + if len(x.Addresses) != 0 { + value := protoreflect.ValueOfList(&_EventListeningCoefficientsSet_4_list{list: &x.Addresses}) + if !f(fd_EventListeningCoefficientsSet_addresses, value) { + return + } + } + if len(x.Coefficients) != 0 { + value := protoreflect.ValueOfList(&_EventListeningCoefficientsSet_5_list{list: &x.Coefficients}) + if !f(fd_EventListeningCoefficientsSet_coefficients, value) { + return + } + } +} + +// Has reports whether a field is populated. +// +// Some fields have the property of nullability where it is possible to +// distinguish between the default value of a field and whether the field +// was explicitly populated with the default value. Singular message fields, +// member fields of a oneof, and proto2 scalar fields are nullable. Such +// fields are populated only if explicitly set. +// +// In other cases (aside from the nullable cases above), +// a proto3 scalar field is populated if it contains a non-zero value, and +// a repeated field is populated if it is non-empty. +func (x *fastReflection_EventListeningCoefficientsSet) Has(fd protoreflect.FieldDescriptor) bool { + switch fd.FullName() { + case "emissions.v8.EventListeningCoefficientsSet.actor_type": + return x.ActorType != 0 + case "emissions.v8.EventListeningCoefficientsSet.topic_id": + return x.TopicId != uint64(0) + case "emissions.v8.EventListeningCoefficientsSet.block_height": + return x.BlockHeight != int64(0) + case "emissions.v8.EventListeningCoefficientsSet.addresses": + return len(x.Addresses) != 0 + case "emissions.v8.EventListeningCoefficientsSet.coefficients": + return len(x.Coefficients) != 0 + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.EventListeningCoefficientsSet")) + } + panic(fmt.Errorf("message emissions.v8.EventListeningCoefficientsSet does not contain field %s", fd.FullName())) + } +} + +// Clear clears the field such that a subsequent Has call reports false. +// +// Clearing an extension field clears both the extension type and value +// associated with the given field number. +// +// Clear is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_EventListeningCoefficientsSet) Clear(fd protoreflect.FieldDescriptor) { + switch fd.FullName() { + case "emissions.v8.EventListeningCoefficientsSet.actor_type": + x.ActorType = 0 + case "emissions.v8.EventListeningCoefficientsSet.topic_id": + x.TopicId = uint64(0) + case "emissions.v8.EventListeningCoefficientsSet.block_height": + x.BlockHeight = int64(0) + case "emissions.v8.EventListeningCoefficientsSet.addresses": + x.Addresses = nil + case "emissions.v8.EventListeningCoefficientsSet.coefficients": + x.Coefficients = nil + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.EventListeningCoefficientsSet")) + } + panic(fmt.Errorf("message emissions.v8.EventListeningCoefficientsSet does not contain field %s", fd.FullName())) + } +} + +// Get retrieves the value for a field. +// +// For unpopulated scalars, it returns the default value, where +// the default value of a bytes scalar is guaranteed to be a copy. +// For unpopulated composite types, it returns an empty, read-only view +// of the value; to obtain a mutable reference, use Mutable. +func (x *fastReflection_EventListeningCoefficientsSet) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { + switch descriptor.FullName() { + case "emissions.v8.EventListeningCoefficientsSet.actor_type": + value := x.ActorType + return protoreflect.ValueOfEnum((protoreflect.EnumNumber)(value)) + case "emissions.v8.EventListeningCoefficientsSet.topic_id": + value := x.TopicId + return protoreflect.ValueOfUint64(value) + case "emissions.v8.EventListeningCoefficientsSet.block_height": + value := x.BlockHeight + return protoreflect.ValueOfInt64(value) + case "emissions.v8.EventListeningCoefficientsSet.addresses": + if len(x.Addresses) == 0 { + return protoreflect.ValueOfList(&_EventListeningCoefficientsSet_4_list{}) + } + listValue := &_EventListeningCoefficientsSet_4_list{list: &x.Addresses} + return protoreflect.ValueOfList(listValue) + case "emissions.v8.EventListeningCoefficientsSet.coefficients": + if len(x.Coefficients) == 0 { + return protoreflect.ValueOfList(&_EventListeningCoefficientsSet_5_list{}) + } + listValue := &_EventListeningCoefficientsSet_5_list{list: &x.Coefficients} + return protoreflect.ValueOfList(listValue) + default: + if descriptor.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.EventListeningCoefficientsSet")) + } + panic(fmt.Errorf("message emissions.v8.EventListeningCoefficientsSet does not contain field %s", descriptor.FullName())) + } +} + +// Set stores the value for a field. +// +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType. +// When setting a composite type, it is unspecified whether the stored value +// aliases the source's memory in any way. If the composite value is an +// empty, read-only value, then it panics. +// +// Set is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_EventListeningCoefficientsSet) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { + switch fd.FullName() { + case "emissions.v8.EventListeningCoefficientsSet.actor_type": + x.ActorType = (ActorType)(value.Enum()) + case "emissions.v8.EventListeningCoefficientsSet.topic_id": + x.TopicId = value.Uint() + case "emissions.v8.EventListeningCoefficientsSet.block_height": + x.BlockHeight = value.Int() + case "emissions.v8.EventListeningCoefficientsSet.addresses": + lv := value.List() + clv := lv.(*_EventListeningCoefficientsSet_4_list) + x.Addresses = *clv.list + case "emissions.v8.EventListeningCoefficientsSet.coefficients": + lv := value.List() + clv := lv.(*_EventListeningCoefficientsSet_5_list) + x.Coefficients = *clv.list + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.EventListeningCoefficientsSet")) + } + panic(fmt.Errorf("message emissions.v8.EventListeningCoefficientsSet does not contain field %s", fd.FullName())) + } +} + +// Mutable returns a mutable reference to a composite type. +// +// If the field is unpopulated, it may allocate a composite value. +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType +// if not already stored. +// It panics if the field does not contain a composite type. +// +// Mutable is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_EventListeningCoefficientsSet) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.EventListeningCoefficientsSet.addresses": + if x.Addresses == nil { + x.Addresses = []string{} + } + value := &_EventListeningCoefficientsSet_4_list{list: &x.Addresses} + return protoreflect.ValueOfList(value) + case "emissions.v8.EventListeningCoefficientsSet.coefficients": + if x.Coefficients == nil { + x.Coefficients = []string{} + } + value := &_EventListeningCoefficientsSet_5_list{list: &x.Coefficients} + return protoreflect.ValueOfList(value) + case "emissions.v8.EventListeningCoefficientsSet.actor_type": + panic(fmt.Errorf("field actor_type of message emissions.v8.EventListeningCoefficientsSet is not mutable")) + case "emissions.v8.EventListeningCoefficientsSet.topic_id": + panic(fmt.Errorf("field topic_id of message emissions.v8.EventListeningCoefficientsSet is not mutable")) + case "emissions.v8.EventListeningCoefficientsSet.block_height": + panic(fmt.Errorf("field block_height of message emissions.v8.EventListeningCoefficientsSet is not mutable")) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.EventListeningCoefficientsSet")) + } + panic(fmt.Errorf("message emissions.v8.EventListeningCoefficientsSet does not contain field %s", fd.FullName())) + } +} + +// NewField returns a new value that is assignable to the field +// for the given descriptor. For scalars, this returns the default value. +// For lists, maps, and messages, this returns a new, empty, mutable value. +func (x *fastReflection_EventListeningCoefficientsSet) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.EventListeningCoefficientsSet.actor_type": + return protoreflect.ValueOfEnum(0) + case "emissions.v8.EventListeningCoefficientsSet.topic_id": + return protoreflect.ValueOfUint64(uint64(0)) + case "emissions.v8.EventListeningCoefficientsSet.block_height": + return protoreflect.ValueOfInt64(int64(0)) + case "emissions.v8.EventListeningCoefficientsSet.addresses": + list := []string{} + return protoreflect.ValueOfList(&_EventListeningCoefficientsSet_4_list{list: &list}) + case "emissions.v8.EventListeningCoefficientsSet.coefficients": + list := []string{} + return protoreflect.ValueOfList(&_EventListeningCoefficientsSet_5_list{list: &list}) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.EventListeningCoefficientsSet")) + } + panic(fmt.Errorf("message emissions.v8.EventListeningCoefficientsSet does not contain field %s", fd.FullName())) + } +} + +// WhichOneof reports which field within the oneof is populated, +// returning nil if none are populated. +// It panics if the oneof descriptor does not belong to this message. +func (x *fastReflection_EventListeningCoefficientsSet) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { + switch d.FullName() { + default: + panic(fmt.Errorf("%s is not a oneof field in emissions.v8.EventListeningCoefficientsSet", d.FullName())) + } + panic("unreachable") +} + +// GetUnknown retrieves the entire list of unknown fields. +// The caller may only mutate the contents of the RawFields +// if the mutated bytes are stored back into the message with SetUnknown. +func (x *fastReflection_EventListeningCoefficientsSet) GetUnknown() protoreflect.RawFields { + return x.unknownFields +} + +// SetUnknown stores an entire list of unknown fields. +// The raw fields must be syntactically valid according to the wire format. +// An implementation may panic if this is not the case. +// Once stored, the caller must not mutate the content of the RawFields. +// An empty RawFields may be passed to clear the fields. +// +// SetUnknown is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_EventListeningCoefficientsSet) SetUnknown(fields protoreflect.RawFields) { + x.unknownFields = fields +} + +// IsValid reports whether the message is valid. +// +// An invalid message is an empty, read-only value. +// +// An invalid message often corresponds to a nil pointer of the concrete +// message type, but the details are implementation dependent. +// Validity is not part of the protobuf data model, and may not +// be preserved in marshaling or other operations. +func (x *fastReflection_EventListeningCoefficientsSet) IsValid() bool { + return x != nil +} + +// ProtoMethods returns optional fastReflectionFeature-path implementations of various operations. +// This method may return nil. +// +// The returned methods type is identical to +// "google.golang.org/protobuf/runtime/protoiface".Methods. +// Consult the protoiface package documentation for details. +func (x *fastReflection_EventListeningCoefficientsSet) ProtoMethods() *protoiface.Methods { + size := func(input protoiface.SizeInput) protoiface.SizeOutput { + x := input.Message.Interface().(*EventListeningCoefficientsSet) + if x == nil { + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: 0, + } + } + options := runtime.SizeInputToOptions(input) + _ = options + var n int + var l int + _ = l + if x.ActorType != 0 { + n += 1 + runtime.Sov(uint64(x.ActorType)) + } + if x.TopicId != 0 { + n += 1 + runtime.Sov(uint64(x.TopicId)) + } + if x.BlockHeight != 0 { + n += 1 + runtime.Sov(uint64(x.BlockHeight)) + } + if len(x.Addresses) > 0 { + for _, s := range x.Addresses { + l = len(s) + n += 1 + l + runtime.Sov(uint64(l)) + } + } + if len(x.Coefficients) > 0 { + for _, s := range x.Coefficients { + l = len(s) + n += 1 + l + runtime.Sov(uint64(l)) + } + } + if x.unknownFields != nil { + n += len(x.unknownFields) + } + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: n, + } + } + + marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { + x := input.Message.Interface().(*EventListeningCoefficientsSet) + if x == nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + options := runtime.MarshalInputToOptions(input) + _ = options + size := options.Size(x) + dAtA := make([]byte, size) + i := len(dAtA) + _ = i + var l int + _ = l + if x.unknownFields != nil { + i -= len(x.unknownFields) + copy(dAtA[i:], x.unknownFields) + } + if len(x.Coefficients) > 0 { + for iNdEx := len(x.Coefficients) - 1; iNdEx >= 0; iNdEx-- { + i -= len(x.Coefficients[iNdEx]) + copy(dAtA[i:], x.Coefficients[iNdEx]) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.Coefficients[iNdEx]))) + i-- + dAtA[i] = 0x2a + } + } + if len(x.Addresses) > 0 { + for iNdEx := len(x.Addresses) - 1; iNdEx >= 0; iNdEx-- { + i -= len(x.Addresses[iNdEx]) + copy(dAtA[i:], x.Addresses[iNdEx]) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.Addresses[iNdEx]))) + i-- + dAtA[i] = 0x22 + } + } + if x.BlockHeight != 0 { + i = runtime.EncodeVarint(dAtA, i, uint64(x.BlockHeight)) + i-- + dAtA[i] = 0x18 + } + if x.TopicId != 0 { + i = runtime.EncodeVarint(dAtA, i, uint64(x.TopicId)) + i-- + dAtA[i] = 0x10 + } + if x.ActorType != 0 { + i = runtime.EncodeVarint(dAtA, i, uint64(x.ActorType)) + i-- + dAtA[i] = 0x8 + } + if input.Buf != nil { + input.Buf = append(input.Buf, dAtA...) + } else { + input.Buf = dAtA + } + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { + x := input.Message.Interface().(*EventListeningCoefficientsSet) + if x == nil { + return protoiface.UnmarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Flags: input.Flags, + }, nil + } + options := runtime.UnmarshalInputToOptions(input) + _ = options + dAtA := input.Buf + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: EventListeningCoefficientsSet: wiretype end group for non-group") + } + if fieldNum <= 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: EventListeningCoefficientsSet: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field ActorType", wireType) + } + x.ActorType = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + x.ActorType |= ActorType(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 2: + if wireType != 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field TopicId", wireType) + } + x.TopicId = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + x.TopicId |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 3: + if wireType != 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field BlockHeight", wireType) + } + x.BlockHeight = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + x.BlockHeight |= int64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 4: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Addresses", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + x.Addresses = append(x.Addresses, string(dAtA[iNdEx:postIndex])) + iNdEx = postIndex + case 5: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Coefficients", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + x.Coefficients = append(x.Coefficients, string(dAtA[iNdEx:postIndex])) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := runtime.Skip(dAtA[iNdEx:]) + if err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if (iNdEx + skippy) > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + if !options.DiscardUnknown { + x.unknownFields = append(x.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + } + iNdEx += skippy + } + } + + if iNdEx > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, nil + } + return &protoiface.Methods{ + NoUnkeyedLiterals: struct{}{}, + Flags: protoiface.SupportMarshalDeterministic | protoiface.SupportUnmarshalDiscardUnknown, + Size: size, + Marshal: marshal, + Unmarshal: unmarshal, + Merge: nil, + CheckInitialized: nil, + } +} + +var _ protoreflect.List = (*_EventInfererNetworkRegretSet_3_list)(nil) + +type _EventInfererNetworkRegretSet_3_list struct { + list *[]string +} + +func (x *_EventInfererNetworkRegretSet_3_list) Len() int { + if x.list == nil { + return 0 + } + return len(*x.list) +} + +func (x *_EventInfererNetworkRegretSet_3_list) Get(i int) protoreflect.Value { + return protoreflect.ValueOfString((*x.list)[i]) +} + +func (x *_EventInfererNetworkRegretSet_3_list) Set(i int, value protoreflect.Value) { + valueUnwrapped := value.String() + concreteValue := valueUnwrapped + (*x.list)[i] = concreteValue +} + +func (x *_EventInfererNetworkRegretSet_3_list) Append(value protoreflect.Value) { + valueUnwrapped := value.String() + concreteValue := valueUnwrapped + *x.list = append(*x.list, concreteValue) +} + +func (x *_EventInfererNetworkRegretSet_3_list) AppendMutable() protoreflect.Value { + panic(fmt.Errorf("AppendMutable can not be called on message EventInfererNetworkRegretSet at list field Addresses as it is not of Message kind")) +} + +func (x *_EventInfererNetworkRegretSet_3_list) Truncate(n int) { + *x.list = (*x.list)[:n] +} + +func (x *_EventInfererNetworkRegretSet_3_list) NewElement() protoreflect.Value { + v := "" + return protoreflect.ValueOfString(v) +} + +func (x *_EventInfererNetworkRegretSet_3_list) IsValid() bool { + return x.list != nil +} + +var _ protoreflect.List = (*_EventInfererNetworkRegretSet_4_list)(nil) + +type _EventInfererNetworkRegretSet_4_list struct { + list *[]string +} + +func (x *_EventInfererNetworkRegretSet_4_list) Len() int { + if x.list == nil { + return 0 + } + return len(*x.list) +} + +func (x *_EventInfererNetworkRegretSet_4_list) Get(i int) protoreflect.Value { + return protoreflect.ValueOfString((*x.list)[i]) +} + +func (x *_EventInfererNetworkRegretSet_4_list) Set(i int, value protoreflect.Value) { + valueUnwrapped := value.String() + concreteValue := valueUnwrapped + (*x.list)[i] = concreteValue +} + +func (x *_EventInfererNetworkRegretSet_4_list) Append(value protoreflect.Value) { + valueUnwrapped := value.String() + concreteValue := valueUnwrapped + *x.list = append(*x.list, concreteValue) +} + +func (x *_EventInfererNetworkRegretSet_4_list) AppendMutable() protoreflect.Value { + panic(fmt.Errorf("AppendMutable can not be called on message EventInfererNetworkRegretSet at list field Regrets as it is not of Message kind")) +} + +func (x *_EventInfererNetworkRegretSet_4_list) Truncate(n int) { + *x.list = (*x.list)[:n] +} + +func (x *_EventInfererNetworkRegretSet_4_list) NewElement() protoreflect.Value { + v := "" + return protoreflect.ValueOfString(v) +} + +func (x *_EventInfererNetworkRegretSet_4_list) IsValid() bool { + return x.list != nil +} + +var ( + md_EventInfererNetworkRegretSet protoreflect.MessageDescriptor + fd_EventInfererNetworkRegretSet_topic_id protoreflect.FieldDescriptor + fd_EventInfererNetworkRegretSet_block_height protoreflect.FieldDescriptor + fd_EventInfererNetworkRegretSet_addresses protoreflect.FieldDescriptor + fd_EventInfererNetworkRegretSet_regrets protoreflect.FieldDescriptor +) + +func init() { + file_emissions_v8_events_proto_init() + md_EventInfererNetworkRegretSet = File_emissions_v8_events_proto.Messages().ByName("EventInfererNetworkRegretSet") + fd_EventInfererNetworkRegretSet_topic_id = md_EventInfererNetworkRegretSet.Fields().ByName("topic_id") + fd_EventInfererNetworkRegretSet_block_height = md_EventInfererNetworkRegretSet.Fields().ByName("block_height") + fd_EventInfererNetworkRegretSet_addresses = md_EventInfererNetworkRegretSet.Fields().ByName("addresses") + fd_EventInfererNetworkRegretSet_regrets = md_EventInfererNetworkRegretSet.Fields().ByName("regrets") +} + +var _ protoreflect.Message = (*fastReflection_EventInfererNetworkRegretSet)(nil) + +type fastReflection_EventInfererNetworkRegretSet EventInfererNetworkRegretSet + +func (x *EventInfererNetworkRegretSet) ProtoReflect() protoreflect.Message { + return (*fastReflection_EventInfererNetworkRegretSet)(x) +} + +func (x *EventInfererNetworkRegretSet) slowProtoReflect() protoreflect.Message { + mi := &file_emissions_v8_events_proto_msgTypes[9] + 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) +} + +var _fastReflection_EventInfererNetworkRegretSet_messageType fastReflection_EventInfererNetworkRegretSet_messageType +var _ protoreflect.MessageType = fastReflection_EventInfererNetworkRegretSet_messageType{} + +type fastReflection_EventInfererNetworkRegretSet_messageType struct{} + +func (x fastReflection_EventInfererNetworkRegretSet_messageType) Zero() protoreflect.Message { + return (*fastReflection_EventInfererNetworkRegretSet)(nil) +} +func (x fastReflection_EventInfererNetworkRegretSet_messageType) New() protoreflect.Message { + return new(fastReflection_EventInfererNetworkRegretSet) +} +func (x fastReflection_EventInfererNetworkRegretSet_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_EventInfererNetworkRegretSet +} + +// Descriptor returns message descriptor, which contains only the protobuf +// type information for the message. +func (x *fastReflection_EventInfererNetworkRegretSet) Descriptor() protoreflect.MessageDescriptor { + return md_EventInfererNetworkRegretSet +} + +// Type returns the message type, which encapsulates both Go and protobuf +// type information. If the Go type information is not needed, +// it is recommended that the message descriptor be used instead. +func (x *fastReflection_EventInfererNetworkRegretSet) Type() protoreflect.MessageType { + return _fastReflection_EventInfererNetworkRegretSet_messageType +} + +// New returns a newly allocated and mutable empty message. +func (x *fastReflection_EventInfererNetworkRegretSet) New() protoreflect.Message { + return new(fastReflection_EventInfererNetworkRegretSet) +} + +// Interface unwraps the message reflection interface and +// returns the underlying ProtoMessage interface. +func (x *fastReflection_EventInfererNetworkRegretSet) Interface() protoreflect.ProtoMessage { + return (*EventInfererNetworkRegretSet)(x) +} + +// Range iterates over every populated field in an undefined order, +// calling f for each field descriptor and value encountered. +// Range returns immediately if f returns false. +// While iterating, mutating operations may only be performed +// on the current field descriptor. +func (x *fastReflection_EventInfererNetworkRegretSet) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { + if x.TopicId != uint64(0) { + value := protoreflect.ValueOfUint64(x.TopicId) + if !f(fd_EventInfererNetworkRegretSet_topic_id, value) { + return + } + } + if x.BlockHeight != int64(0) { + value := protoreflect.ValueOfInt64(x.BlockHeight) + if !f(fd_EventInfererNetworkRegretSet_block_height, value) { + return + } + } + if len(x.Addresses) != 0 { + value := protoreflect.ValueOfList(&_EventInfererNetworkRegretSet_3_list{list: &x.Addresses}) + if !f(fd_EventInfererNetworkRegretSet_addresses, value) { + return + } + } + if len(x.Regrets) != 0 { + value := protoreflect.ValueOfList(&_EventInfererNetworkRegretSet_4_list{list: &x.Regrets}) + if !f(fd_EventInfererNetworkRegretSet_regrets, value) { + return + } + } +} + +// Has reports whether a field is populated. +// +// Some fields have the property of nullability where it is possible to +// distinguish between the default value of a field and whether the field +// was explicitly populated with the default value. Singular message fields, +// member fields of a oneof, and proto2 scalar fields are nullable. Such +// fields are populated only if explicitly set. +// +// In other cases (aside from the nullable cases above), +// a proto3 scalar field is populated if it contains a non-zero value, and +// a repeated field is populated if it is non-empty. +func (x *fastReflection_EventInfererNetworkRegretSet) Has(fd protoreflect.FieldDescriptor) bool { + switch fd.FullName() { + case "emissions.v8.EventInfererNetworkRegretSet.topic_id": + return x.TopicId != uint64(0) + case "emissions.v8.EventInfererNetworkRegretSet.block_height": + return x.BlockHeight != int64(0) + case "emissions.v8.EventInfererNetworkRegretSet.addresses": + return len(x.Addresses) != 0 + case "emissions.v8.EventInfererNetworkRegretSet.regrets": + return len(x.Regrets) != 0 + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.EventInfererNetworkRegretSet")) + } + panic(fmt.Errorf("message emissions.v8.EventInfererNetworkRegretSet does not contain field %s", fd.FullName())) + } +} + +// Clear clears the field such that a subsequent Has call reports false. +// +// Clearing an extension field clears both the extension type and value +// associated with the given field number. +// +// Clear is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_EventInfererNetworkRegretSet) Clear(fd protoreflect.FieldDescriptor) { + switch fd.FullName() { + case "emissions.v8.EventInfererNetworkRegretSet.topic_id": + x.TopicId = uint64(0) + case "emissions.v8.EventInfererNetworkRegretSet.block_height": + x.BlockHeight = int64(0) + case "emissions.v8.EventInfererNetworkRegretSet.addresses": + x.Addresses = nil + case "emissions.v8.EventInfererNetworkRegretSet.regrets": + x.Regrets = nil + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.EventInfererNetworkRegretSet")) + } + panic(fmt.Errorf("message emissions.v8.EventInfererNetworkRegretSet does not contain field %s", fd.FullName())) + } +} + +// Get retrieves the value for a field. +// +// For unpopulated scalars, it returns the default value, where +// the default value of a bytes scalar is guaranteed to be a copy. +// For unpopulated composite types, it returns an empty, read-only view +// of the value; to obtain a mutable reference, use Mutable. +func (x *fastReflection_EventInfererNetworkRegretSet) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { + switch descriptor.FullName() { + case "emissions.v8.EventInfererNetworkRegretSet.topic_id": + value := x.TopicId + return protoreflect.ValueOfUint64(value) + case "emissions.v8.EventInfererNetworkRegretSet.block_height": + value := x.BlockHeight + return protoreflect.ValueOfInt64(value) + case "emissions.v8.EventInfererNetworkRegretSet.addresses": + if len(x.Addresses) == 0 { + return protoreflect.ValueOfList(&_EventInfererNetworkRegretSet_3_list{}) + } + listValue := &_EventInfererNetworkRegretSet_3_list{list: &x.Addresses} + return protoreflect.ValueOfList(listValue) + case "emissions.v8.EventInfererNetworkRegretSet.regrets": + if len(x.Regrets) == 0 { + return protoreflect.ValueOfList(&_EventInfererNetworkRegretSet_4_list{}) + } + listValue := &_EventInfererNetworkRegretSet_4_list{list: &x.Regrets} + return protoreflect.ValueOfList(listValue) + default: + if descriptor.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.EventInfererNetworkRegretSet")) + } + panic(fmt.Errorf("message emissions.v8.EventInfererNetworkRegretSet does not contain field %s", descriptor.FullName())) + } +} + +// Set stores the value for a field. +// +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType. +// When setting a composite type, it is unspecified whether the stored value +// aliases the source's memory in any way. If the composite value is an +// empty, read-only value, then it panics. +// +// Set is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_EventInfererNetworkRegretSet) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { + switch fd.FullName() { + case "emissions.v8.EventInfererNetworkRegretSet.topic_id": + x.TopicId = value.Uint() + case "emissions.v8.EventInfererNetworkRegretSet.block_height": + x.BlockHeight = value.Int() + case "emissions.v8.EventInfererNetworkRegretSet.addresses": + lv := value.List() + clv := lv.(*_EventInfererNetworkRegretSet_3_list) + x.Addresses = *clv.list + case "emissions.v8.EventInfererNetworkRegretSet.regrets": + lv := value.List() + clv := lv.(*_EventInfererNetworkRegretSet_4_list) + x.Regrets = *clv.list + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.EventInfererNetworkRegretSet")) + } + panic(fmt.Errorf("message emissions.v8.EventInfererNetworkRegretSet does not contain field %s", fd.FullName())) + } +} + +// Mutable returns a mutable reference to a composite type. +// +// If the field is unpopulated, it may allocate a composite value. +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType +// if not already stored. +// It panics if the field does not contain a composite type. +// +// Mutable is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_EventInfererNetworkRegretSet) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.EventInfererNetworkRegretSet.addresses": + if x.Addresses == nil { + x.Addresses = []string{} + } + value := &_EventInfererNetworkRegretSet_3_list{list: &x.Addresses} + return protoreflect.ValueOfList(value) + case "emissions.v8.EventInfererNetworkRegretSet.regrets": + if x.Regrets == nil { + x.Regrets = []string{} + } + value := &_EventInfererNetworkRegretSet_4_list{list: &x.Regrets} + return protoreflect.ValueOfList(value) + case "emissions.v8.EventInfererNetworkRegretSet.topic_id": + panic(fmt.Errorf("field topic_id of message emissions.v8.EventInfererNetworkRegretSet is not mutable")) + case "emissions.v8.EventInfererNetworkRegretSet.block_height": + panic(fmt.Errorf("field block_height of message emissions.v8.EventInfererNetworkRegretSet is not mutable")) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.EventInfererNetworkRegretSet")) + } + panic(fmt.Errorf("message emissions.v8.EventInfererNetworkRegretSet does not contain field %s", fd.FullName())) + } +} + +// NewField returns a new value that is assignable to the field +// for the given descriptor. For scalars, this returns the default value. +// For lists, maps, and messages, this returns a new, empty, mutable value. +func (x *fastReflection_EventInfererNetworkRegretSet) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.EventInfererNetworkRegretSet.topic_id": + return protoreflect.ValueOfUint64(uint64(0)) + case "emissions.v8.EventInfererNetworkRegretSet.block_height": + return protoreflect.ValueOfInt64(int64(0)) + case "emissions.v8.EventInfererNetworkRegretSet.addresses": + list := []string{} + return protoreflect.ValueOfList(&_EventInfererNetworkRegretSet_3_list{list: &list}) + case "emissions.v8.EventInfererNetworkRegretSet.regrets": + list := []string{} + return protoreflect.ValueOfList(&_EventInfererNetworkRegretSet_4_list{list: &list}) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.EventInfererNetworkRegretSet")) + } + panic(fmt.Errorf("message emissions.v8.EventInfererNetworkRegretSet does not contain field %s", fd.FullName())) + } +} + +// WhichOneof reports which field within the oneof is populated, +// returning nil if none are populated. +// It panics if the oneof descriptor does not belong to this message. +func (x *fastReflection_EventInfererNetworkRegretSet) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { + switch d.FullName() { + default: + panic(fmt.Errorf("%s is not a oneof field in emissions.v8.EventInfererNetworkRegretSet", d.FullName())) + } + panic("unreachable") +} + +// GetUnknown retrieves the entire list of unknown fields. +// The caller may only mutate the contents of the RawFields +// if the mutated bytes are stored back into the message with SetUnknown. +func (x *fastReflection_EventInfererNetworkRegretSet) GetUnknown() protoreflect.RawFields { + return x.unknownFields +} + +// SetUnknown stores an entire list of unknown fields. +// The raw fields must be syntactically valid according to the wire format. +// An implementation may panic if this is not the case. +// Once stored, the caller must not mutate the content of the RawFields. +// An empty RawFields may be passed to clear the fields. +// +// SetUnknown is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_EventInfererNetworkRegretSet) SetUnknown(fields protoreflect.RawFields) { + x.unknownFields = fields +} + +// IsValid reports whether the message is valid. +// +// An invalid message is an empty, read-only value. +// +// An invalid message often corresponds to a nil pointer of the concrete +// message type, but the details are implementation dependent. +// Validity is not part of the protobuf data model, and may not +// be preserved in marshaling or other operations. +func (x *fastReflection_EventInfererNetworkRegretSet) IsValid() bool { + return x != nil +} + +// ProtoMethods returns optional fastReflectionFeature-path implementations of various operations. +// This method may return nil. +// +// The returned methods type is identical to +// "google.golang.org/protobuf/runtime/protoiface".Methods. +// Consult the protoiface package documentation for details. +func (x *fastReflection_EventInfererNetworkRegretSet) ProtoMethods() *protoiface.Methods { + size := func(input protoiface.SizeInput) protoiface.SizeOutput { + x := input.Message.Interface().(*EventInfererNetworkRegretSet) + if x == nil { + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: 0, + } + } + options := runtime.SizeInputToOptions(input) + _ = options + var n int + var l int + _ = l + if x.TopicId != 0 { + n += 1 + runtime.Sov(uint64(x.TopicId)) + } + if x.BlockHeight != 0 { + n += 1 + runtime.Sov(uint64(x.BlockHeight)) + } + if len(x.Addresses) > 0 { + for _, s := range x.Addresses { + l = len(s) + n += 1 + l + runtime.Sov(uint64(l)) + } + } + if len(x.Regrets) > 0 { + for _, s := range x.Regrets { + l = len(s) + n += 1 + l + runtime.Sov(uint64(l)) + } + } + if x.unknownFields != nil { + n += len(x.unknownFields) + } + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: n, + } + } + + marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { + x := input.Message.Interface().(*EventInfererNetworkRegretSet) + if x == nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + options := runtime.MarshalInputToOptions(input) + _ = options + size := options.Size(x) + dAtA := make([]byte, size) + i := len(dAtA) + _ = i + var l int + _ = l + if x.unknownFields != nil { + i -= len(x.unknownFields) + copy(dAtA[i:], x.unknownFields) + } + if len(x.Regrets) > 0 { + for iNdEx := len(x.Regrets) - 1; iNdEx >= 0; iNdEx-- { + i -= len(x.Regrets[iNdEx]) + copy(dAtA[i:], x.Regrets[iNdEx]) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.Regrets[iNdEx]))) + i-- + dAtA[i] = 0x22 + } + } + if len(x.Addresses) > 0 { + for iNdEx := len(x.Addresses) - 1; iNdEx >= 0; iNdEx-- { + i -= len(x.Addresses[iNdEx]) + copy(dAtA[i:], x.Addresses[iNdEx]) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.Addresses[iNdEx]))) + i-- + dAtA[i] = 0x1a + } + } + if x.BlockHeight != 0 { + i = runtime.EncodeVarint(dAtA, i, uint64(x.BlockHeight)) + i-- + dAtA[i] = 0x10 + } + if x.TopicId != 0 { + i = runtime.EncodeVarint(dAtA, i, uint64(x.TopicId)) + i-- + dAtA[i] = 0x8 + } + if input.Buf != nil { + input.Buf = append(input.Buf, dAtA...) + } else { + input.Buf = dAtA + } + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { + x := input.Message.Interface().(*EventInfererNetworkRegretSet) + if x == nil { + return protoiface.UnmarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Flags: input.Flags, + }, nil + } + options := runtime.UnmarshalInputToOptions(input) + _ = options + dAtA := input.Buf + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: EventInfererNetworkRegretSet: wiretype end group for non-group") + } + if fieldNum <= 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: EventInfererNetworkRegretSet: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field TopicId", wireType) + } + x.TopicId = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + x.TopicId |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 2: + if wireType != 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field BlockHeight", wireType) + } + x.BlockHeight = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + x.BlockHeight |= int64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 3: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Addresses", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + x.Addresses = append(x.Addresses, string(dAtA[iNdEx:postIndex])) + iNdEx = postIndex + case 4: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Regrets", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + x.Regrets = append(x.Regrets, string(dAtA[iNdEx:postIndex])) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := runtime.Skip(dAtA[iNdEx:]) + if err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if (iNdEx + skippy) > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + if !options.DiscardUnknown { + x.unknownFields = append(x.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + } + iNdEx += skippy + } + } + + if iNdEx > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, nil + } + return &protoiface.Methods{ + NoUnkeyedLiterals: struct{}{}, + Flags: protoiface.SupportMarshalDeterministic | protoiface.SupportUnmarshalDiscardUnknown, + Size: size, + Marshal: marshal, + Unmarshal: unmarshal, + Merge: nil, + CheckInitialized: nil, + } +} + +var _ protoreflect.List = (*_EventForecasterNetworkRegretSet_3_list)(nil) + +type _EventForecasterNetworkRegretSet_3_list struct { + list *[]string +} + +func (x *_EventForecasterNetworkRegretSet_3_list) Len() int { + if x.list == nil { + return 0 + } + return len(*x.list) +} + +func (x *_EventForecasterNetworkRegretSet_3_list) Get(i int) protoreflect.Value { + return protoreflect.ValueOfString((*x.list)[i]) +} + +func (x *_EventForecasterNetworkRegretSet_3_list) Set(i int, value protoreflect.Value) { + valueUnwrapped := value.String() + concreteValue := valueUnwrapped + (*x.list)[i] = concreteValue +} + +func (x *_EventForecasterNetworkRegretSet_3_list) Append(value protoreflect.Value) { + valueUnwrapped := value.String() + concreteValue := valueUnwrapped + *x.list = append(*x.list, concreteValue) +} + +func (x *_EventForecasterNetworkRegretSet_3_list) AppendMutable() protoreflect.Value { + panic(fmt.Errorf("AppendMutable can not be called on message EventForecasterNetworkRegretSet at list field Addresses as it is not of Message kind")) +} + +func (x *_EventForecasterNetworkRegretSet_3_list) Truncate(n int) { + *x.list = (*x.list)[:n] +} + +func (x *_EventForecasterNetworkRegretSet_3_list) NewElement() protoreflect.Value { + v := "" + return protoreflect.ValueOfString(v) +} + +func (x *_EventForecasterNetworkRegretSet_3_list) IsValid() bool { + return x.list != nil +} + +var _ protoreflect.List = (*_EventForecasterNetworkRegretSet_4_list)(nil) + +type _EventForecasterNetworkRegretSet_4_list struct { + list *[]string +} + +func (x *_EventForecasterNetworkRegretSet_4_list) Len() int { + if x.list == nil { + return 0 + } + return len(*x.list) +} + +func (x *_EventForecasterNetworkRegretSet_4_list) Get(i int) protoreflect.Value { + return protoreflect.ValueOfString((*x.list)[i]) +} + +func (x *_EventForecasterNetworkRegretSet_4_list) Set(i int, value protoreflect.Value) { + valueUnwrapped := value.String() + concreteValue := valueUnwrapped + (*x.list)[i] = concreteValue +} + +func (x *_EventForecasterNetworkRegretSet_4_list) Append(value protoreflect.Value) { + valueUnwrapped := value.String() + concreteValue := valueUnwrapped + *x.list = append(*x.list, concreteValue) +} + +func (x *_EventForecasterNetworkRegretSet_4_list) AppendMutable() protoreflect.Value { + panic(fmt.Errorf("AppendMutable can not be called on message EventForecasterNetworkRegretSet at list field Regrets as it is not of Message kind")) +} + +func (x *_EventForecasterNetworkRegretSet_4_list) Truncate(n int) { + *x.list = (*x.list)[:n] +} + +func (x *_EventForecasterNetworkRegretSet_4_list) NewElement() protoreflect.Value { + v := "" + return protoreflect.ValueOfString(v) +} + +func (x *_EventForecasterNetworkRegretSet_4_list) IsValid() bool { + return x.list != nil +} + +var ( + md_EventForecasterNetworkRegretSet protoreflect.MessageDescriptor + fd_EventForecasterNetworkRegretSet_topic_id protoreflect.FieldDescriptor + fd_EventForecasterNetworkRegretSet_block_height protoreflect.FieldDescriptor + fd_EventForecasterNetworkRegretSet_addresses protoreflect.FieldDescriptor + fd_EventForecasterNetworkRegretSet_regrets protoreflect.FieldDescriptor +) + +func init() { + file_emissions_v8_events_proto_init() + md_EventForecasterNetworkRegretSet = File_emissions_v8_events_proto.Messages().ByName("EventForecasterNetworkRegretSet") + fd_EventForecasterNetworkRegretSet_topic_id = md_EventForecasterNetworkRegretSet.Fields().ByName("topic_id") + fd_EventForecasterNetworkRegretSet_block_height = md_EventForecasterNetworkRegretSet.Fields().ByName("block_height") + fd_EventForecasterNetworkRegretSet_addresses = md_EventForecasterNetworkRegretSet.Fields().ByName("addresses") + fd_EventForecasterNetworkRegretSet_regrets = md_EventForecasterNetworkRegretSet.Fields().ByName("regrets") +} + +var _ protoreflect.Message = (*fastReflection_EventForecasterNetworkRegretSet)(nil) + +type fastReflection_EventForecasterNetworkRegretSet EventForecasterNetworkRegretSet + +func (x *EventForecasterNetworkRegretSet) ProtoReflect() protoreflect.Message { + return (*fastReflection_EventForecasterNetworkRegretSet)(x) +} + +func (x *EventForecasterNetworkRegretSet) slowProtoReflect() protoreflect.Message { + mi := &file_emissions_v8_events_proto_msgTypes[10] + 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) +} + +var _fastReflection_EventForecasterNetworkRegretSet_messageType fastReflection_EventForecasterNetworkRegretSet_messageType +var _ protoreflect.MessageType = fastReflection_EventForecasterNetworkRegretSet_messageType{} + +type fastReflection_EventForecasterNetworkRegretSet_messageType struct{} + +func (x fastReflection_EventForecasterNetworkRegretSet_messageType) Zero() protoreflect.Message { + return (*fastReflection_EventForecasterNetworkRegretSet)(nil) +} +func (x fastReflection_EventForecasterNetworkRegretSet_messageType) New() protoreflect.Message { + return new(fastReflection_EventForecasterNetworkRegretSet) +} +func (x fastReflection_EventForecasterNetworkRegretSet_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_EventForecasterNetworkRegretSet +} + +// Descriptor returns message descriptor, which contains only the protobuf +// type information for the message. +func (x *fastReflection_EventForecasterNetworkRegretSet) Descriptor() protoreflect.MessageDescriptor { + return md_EventForecasterNetworkRegretSet +} + +// Type returns the message type, which encapsulates both Go and protobuf +// type information. If the Go type information is not needed, +// it is recommended that the message descriptor be used instead. +func (x *fastReflection_EventForecasterNetworkRegretSet) Type() protoreflect.MessageType { + return _fastReflection_EventForecasterNetworkRegretSet_messageType +} + +// New returns a newly allocated and mutable empty message. +func (x *fastReflection_EventForecasterNetworkRegretSet) New() protoreflect.Message { + return new(fastReflection_EventForecasterNetworkRegretSet) +} + +// Interface unwraps the message reflection interface and +// returns the underlying ProtoMessage interface. +func (x *fastReflection_EventForecasterNetworkRegretSet) Interface() protoreflect.ProtoMessage { + return (*EventForecasterNetworkRegretSet)(x) +} + +// Range iterates over every populated field in an undefined order, +// calling f for each field descriptor and value encountered. +// Range returns immediately if f returns false. +// While iterating, mutating operations may only be performed +// on the current field descriptor. +func (x *fastReflection_EventForecasterNetworkRegretSet) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { + if x.TopicId != uint64(0) { + value := protoreflect.ValueOfUint64(x.TopicId) + if !f(fd_EventForecasterNetworkRegretSet_topic_id, value) { + return + } + } + if x.BlockHeight != int64(0) { + value := protoreflect.ValueOfInt64(x.BlockHeight) + if !f(fd_EventForecasterNetworkRegretSet_block_height, value) { + return + } + } + if len(x.Addresses) != 0 { + value := protoreflect.ValueOfList(&_EventForecasterNetworkRegretSet_3_list{list: &x.Addresses}) + if !f(fd_EventForecasterNetworkRegretSet_addresses, value) { + return + } + } + if len(x.Regrets) != 0 { + value := protoreflect.ValueOfList(&_EventForecasterNetworkRegretSet_4_list{list: &x.Regrets}) + if !f(fd_EventForecasterNetworkRegretSet_regrets, value) { + return + } + } +} + +// Has reports whether a field is populated. +// +// Some fields have the property of nullability where it is possible to +// distinguish between the default value of a field and whether the field +// was explicitly populated with the default value. Singular message fields, +// member fields of a oneof, and proto2 scalar fields are nullable. Such +// fields are populated only if explicitly set. +// +// In other cases (aside from the nullable cases above), +// a proto3 scalar field is populated if it contains a non-zero value, and +// a repeated field is populated if it is non-empty. +func (x *fastReflection_EventForecasterNetworkRegretSet) Has(fd protoreflect.FieldDescriptor) bool { + switch fd.FullName() { + case "emissions.v8.EventForecasterNetworkRegretSet.topic_id": + return x.TopicId != uint64(0) + case "emissions.v8.EventForecasterNetworkRegretSet.block_height": + return x.BlockHeight != int64(0) + case "emissions.v8.EventForecasterNetworkRegretSet.addresses": + return len(x.Addresses) != 0 + case "emissions.v8.EventForecasterNetworkRegretSet.regrets": + return len(x.Regrets) != 0 + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.EventForecasterNetworkRegretSet")) + } + panic(fmt.Errorf("message emissions.v8.EventForecasterNetworkRegretSet does not contain field %s", fd.FullName())) + } +} + +// Clear clears the field such that a subsequent Has call reports false. +// +// Clearing an extension field clears both the extension type and value +// associated with the given field number. +// +// Clear is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_EventForecasterNetworkRegretSet) Clear(fd protoreflect.FieldDescriptor) { + switch fd.FullName() { + case "emissions.v8.EventForecasterNetworkRegretSet.topic_id": + x.TopicId = uint64(0) + case "emissions.v8.EventForecasterNetworkRegretSet.block_height": + x.BlockHeight = int64(0) + case "emissions.v8.EventForecasterNetworkRegretSet.addresses": + x.Addresses = nil + case "emissions.v8.EventForecasterNetworkRegretSet.regrets": + x.Regrets = nil + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.EventForecasterNetworkRegretSet")) + } + panic(fmt.Errorf("message emissions.v8.EventForecasterNetworkRegretSet does not contain field %s", fd.FullName())) + } +} + +// Get retrieves the value for a field. +// +// For unpopulated scalars, it returns the default value, where +// the default value of a bytes scalar is guaranteed to be a copy. +// For unpopulated composite types, it returns an empty, read-only view +// of the value; to obtain a mutable reference, use Mutable. +func (x *fastReflection_EventForecasterNetworkRegretSet) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { + switch descriptor.FullName() { + case "emissions.v8.EventForecasterNetworkRegretSet.topic_id": + value := x.TopicId + return protoreflect.ValueOfUint64(value) + case "emissions.v8.EventForecasterNetworkRegretSet.block_height": + value := x.BlockHeight + return protoreflect.ValueOfInt64(value) + case "emissions.v8.EventForecasterNetworkRegretSet.addresses": + if len(x.Addresses) == 0 { + return protoreflect.ValueOfList(&_EventForecasterNetworkRegretSet_3_list{}) + } + listValue := &_EventForecasterNetworkRegretSet_3_list{list: &x.Addresses} + return protoreflect.ValueOfList(listValue) + case "emissions.v8.EventForecasterNetworkRegretSet.regrets": + if len(x.Regrets) == 0 { + return protoreflect.ValueOfList(&_EventForecasterNetworkRegretSet_4_list{}) + } + listValue := &_EventForecasterNetworkRegretSet_4_list{list: &x.Regrets} + return protoreflect.ValueOfList(listValue) + default: + if descriptor.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.EventForecasterNetworkRegretSet")) + } + panic(fmt.Errorf("message emissions.v8.EventForecasterNetworkRegretSet does not contain field %s", descriptor.FullName())) + } +} + +// Set stores the value for a field. +// +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType. +// When setting a composite type, it is unspecified whether the stored value +// aliases the source's memory in any way. If the composite value is an +// empty, read-only value, then it panics. +// +// Set is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_EventForecasterNetworkRegretSet) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { + switch fd.FullName() { + case "emissions.v8.EventForecasterNetworkRegretSet.topic_id": + x.TopicId = value.Uint() + case "emissions.v8.EventForecasterNetworkRegretSet.block_height": + x.BlockHeight = value.Int() + case "emissions.v8.EventForecasterNetworkRegretSet.addresses": + lv := value.List() + clv := lv.(*_EventForecasterNetworkRegretSet_3_list) + x.Addresses = *clv.list + case "emissions.v8.EventForecasterNetworkRegretSet.regrets": + lv := value.List() + clv := lv.(*_EventForecasterNetworkRegretSet_4_list) + x.Regrets = *clv.list + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.EventForecasterNetworkRegretSet")) + } + panic(fmt.Errorf("message emissions.v8.EventForecasterNetworkRegretSet does not contain field %s", fd.FullName())) + } +} + +// Mutable returns a mutable reference to a composite type. +// +// If the field is unpopulated, it may allocate a composite value. +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType +// if not already stored. +// It panics if the field does not contain a composite type. +// +// Mutable is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_EventForecasterNetworkRegretSet) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.EventForecasterNetworkRegretSet.addresses": + if x.Addresses == nil { + x.Addresses = []string{} + } + value := &_EventForecasterNetworkRegretSet_3_list{list: &x.Addresses} + return protoreflect.ValueOfList(value) + case "emissions.v8.EventForecasterNetworkRegretSet.regrets": + if x.Regrets == nil { + x.Regrets = []string{} + } + value := &_EventForecasterNetworkRegretSet_4_list{list: &x.Regrets} + return protoreflect.ValueOfList(value) + case "emissions.v8.EventForecasterNetworkRegretSet.topic_id": + panic(fmt.Errorf("field topic_id of message emissions.v8.EventForecasterNetworkRegretSet is not mutable")) + case "emissions.v8.EventForecasterNetworkRegretSet.block_height": + panic(fmt.Errorf("field block_height of message emissions.v8.EventForecasterNetworkRegretSet is not mutable")) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.EventForecasterNetworkRegretSet")) + } + panic(fmt.Errorf("message emissions.v8.EventForecasterNetworkRegretSet does not contain field %s", fd.FullName())) + } +} + +// NewField returns a new value that is assignable to the field +// for the given descriptor. For scalars, this returns the default value. +// For lists, maps, and messages, this returns a new, empty, mutable value. +func (x *fastReflection_EventForecasterNetworkRegretSet) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.EventForecasterNetworkRegretSet.topic_id": + return protoreflect.ValueOfUint64(uint64(0)) + case "emissions.v8.EventForecasterNetworkRegretSet.block_height": + return protoreflect.ValueOfInt64(int64(0)) + case "emissions.v8.EventForecasterNetworkRegretSet.addresses": + list := []string{} + return protoreflect.ValueOfList(&_EventForecasterNetworkRegretSet_3_list{list: &list}) + case "emissions.v8.EventForecasterNetworkRegretSet.regrets": + list := []string{} + return protoreflect.ValueOfList(&_EventForecasterNetworkRegretSet_4_list{list: &list}) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.EventForecasterNetworkRegretSet")) + } + panic(fmt.Errorf("message emissions.v8.EventForecasterNetworkRegretSet does not contain field %s", fd.FullName())) + } +} + +// WhichOneof reports which field within the oneof is populated, +// returning nil if none are populated. +// It panics if the oneof descriptor does not belong to this message. +func (x *fastReflection_EventForecasterNetworkRegretSet) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { + switch d.FullName() { + default: + panic(fmt.Errorf("%s is not a oneof field in emissions.v8.EventForecasterNetworkRegretSet", d.FullName())) + } + panic("unreachable") +} + +// GetUnknown retrieves the entire list of unknown fields. +// The caller may only mutate the contents of the RawFields +// if the mutated bytes are stored back into the message with SetUnknown. +func (x *fastReflection_EventForecasterNetworkRegretSet) GetUnknown() protoreflect.RawFields { + return x.unknownFields +} + +// SetUnknown stores an entire list of unknown fields. +// The raw fields must be syntactically valid according to the wire format. +// An implementation may panic if this is not the case. +// Once stored, the caller must not mutate the content of the RawFields. +// An empty RawFields may be passed to clear the fields. +// +// SetUnknown is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_EventForecasterNetworkRegretSet) SetUnknown(fields protoreflect.RawFields) { + x.unknownFields = fields +} + +// IsValid reports whether the message is valid. +// +// An invalid message is an empty, read-only value. +// +// An invalid message often corresponds to a nil pointer of the concrete +// message type, but the details are implementation dependent. +// Validity is not part of the protobuf data model, and may not +// be preserved in marshaling or other operations. +func (x *fastReflection_EventForecasterNetworkRegretSet) IsValid() bool { + return x != nil +} + +// ProtoMethods returns optional fastReflectionFeature-path implementations of various operations. +// This method may return nil. +// +// The returned methods type is identical to +// "google.golang.org/protobuf/runtime/protoiface".Methods. +// Consult the protoiface package documentation for details. +func (x *fastReflection_EventForecasterNetworkRegretSet) ProtoMethods() *protoiface.Methods { + size := func(input protoiface.SizeInput) protoiface.SizeOutput { + x := input.Message.Interface().(*EventForecasterNetworkRegretSet) + if x == nil { + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: 0, + } + } + options := runtime.SizeInputToOptions(input) + _ = options + var n int + var l int + _ = l + if x.TopicId != 0 { + n += 1 + runtime.Sov(uint64(x.TopicId)) + } + if x.BlockHeight != 0 { + n += 1 + runtime.Sov(uint64(x.BlockHeight)) + } + if len(x.Addresses) > 0 { + for _, s := range x.Addresses { + l = len(s) + n += 1 + l + runtime.Sov(uint64(l)) + } + } + if len(x.Regrets) > 0 { + for _, s := range x.Regrets { + l = len(s) + n += 1 + l + runtime.Sov(uint64(l)) + } + } + if x.unknownFields != nil { + n += len(x.unknownFields) + } + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: n, + } + } + + marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { + x := input.Message.Interface().(*EventForecasterNetworkRegretSet) + if x == nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + options := runtime.MarshalInputToOptions(input) + _ = options + size := options.Size(x) + dAtA := make([]byte, size) + i := len(dAtA) + _ = i + var l int + _ = l + if x.unknownFields != nil { + i -= len(x.unknownFields) + copy(dAtA[i:], x.unknownFields) + } + if len(x.Regrets) > 0 { + for iNdEx := len(x.Regrets) - 1; iNdEx >= 0; iNdEx-- { + i -= len(x.Regrets[iNdEx]) + copy(dAtA[i:], x.Regrets[iNdEx]) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.Regrets[iNdEx]))) + i-- + dAtA[i] = 0x22 + } + } + if len(x.Addresses) > 0 { + for iNdEx := len(x.Addresses) - 1; iNdEx >= 0; iNdEx-- { + i -= len(x.Addresses[iNdEx]) + copy(dAtA[i:], x.Addresses[iNdEx]) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.Addresses[iNdEx]))) + i-- + dAtA[i] = 0x1a + } + } + if x.BlockHeight != 0 { + i = runtime.EncodeVarint(dAtA, i, uint64(x.BlockHeight)) + i-- + dAtA[i] = 0x10 + } + if x.TopicId != 0 { + i = runtime.EncodeVarint(dAtA, i, uint64(x.TopicId)) + i-- + dAtA[i] = 0x8 + } + if input.Buf != nil { + input.Buf = append(input.Buf, dAtA...) + } else { + input.Buf = dAtA + } + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { + x := input.Message.Interface().(*EventForecasterNetworkRegretSet) + if x == nil { + return protoiface.UnmarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Flags: input.Flags, + }, nil + } + options := runtime.UnmarshalInputToOptions(input) + _ = options + dAtA := input.Buf + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: EventForecasterNetworkRegretSet: wiretype end group for non-group") + } + if fieldNum <= 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: EventForecasterNetworkRegretSet: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field TopicId", wireType) + } + x.TopicId = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + x.TopicId |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 2: + if wireType != 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field BlockHeight", wireType) + } + x.BlockHeight = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + x.BlockHeight |= int64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 3: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Addresses", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + x.Addresses = append(x.Addresses, string(dAtA[iNdEx:postIndex])) + iNdEx = postIndex + case 4: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Regrets", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + x.Regrets = append(x.Regrets, string(dAtA[iNdEx:postIndex])) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := runtime.Skip(dAtA[iNdEx:]) + if err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if (iNdEx + skippy) > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + if !options.DiscardUnknown { + x.unknownFields = append(x.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + } + iNdEx += skippy + } + } + + if iNdEx > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, nil + } + return &protoiface.Methods{ + NoUnkeyedLiterals: struct{}{}, + Flags: protoiface.SupportMarshalDeterministic | protoiface.SupportUnmarshalDiscardUnknown, + Size: size, + Marshal: marshal, + Unmarshal: unmarshal, + Merge: nil, + CheckInitialized: nil, + } +} + +var _ protoreflect.List = (*_EventNaiveInfererNetworkRegretSet_3_list)(nil) + +type _EventNaiveInfererNetworkRegretSet_3_list struct { + list *[]string +} + +func (x *_EventNaiveInfererNetworkRegretSet_3_list) Len() int { + if x.list == nil { + return 0 + } + return len(*x.list) +} + +func (x *_EventNaiveInfererNetworkRegretSet_3_list) Get(i int) protoreflect.Value { + return protoreflect.ValueOfString((*x.list)[i]) +} + +func (x *_EventNaiveInfererNetworkRegretSet_3_list) Set(i int, value protoreflect.Value) { + valueUnwrapped := value.String() + concreteValue := valueUnwrapped + (*x.list)[i] = concreteValue +} + +func (x *_EventNaiveInfererNetworkRegretSet_3_list) Append(value protoreflect.Value) { + valueUnwrapped := value.String() + concreteValue := valueUnwrapped + *x.list = append(*x.list, concreteValue) +} + +func (x *_EventNaiveInfererNetworkRegretSet_3_list) AppendMutable() protoreflect.Value { + panic(fmt.Errorf("AppendMutable can not be called on message EventNaiveInfererNetworkRegretSet at list field Addresses as it is not of Message kind")) +} + +func (x *_EventNaiveInfererNetworkRegretSet_3_list) Truncate(n int) { + *x.list = (*x.list)[:n] +} + +func (x *_EventNaiveInfererNetworkRegretSet_3_list) NewElement() protoreflect.Value { + v := "" + return protoreflect.ValueOfString(v) +} + +func (x *_EventNaiveInfererNetworkRegretSet_3_list) IsValid() bool { + return x.list != nil +} + +var _ protoreflect.List = (*_EventNaiveInfererNetworkRegretSet_4_list)(nil) + +type _EventNaiveInfererNetworkRegretSet_4_list struct { + list *[]string +} + +func (x *_EventNaiveInfererNetworkRegretSet_4_list) Len() int { + if x.list == nil { + return 0 + } + return len(*x.list) +} + +func (x *_EventNaiveInfererNetworkRegretSet_4_list) Get(i int) protoreflect.Value { + return protoreflect.ValueOfString((*x.list)[i]) +} + +func (x *_EventNaiveInfererNetworkRegretSet_4_list) Set(i int, value protoreflect.Value) { + valueUnwrapped := value.String() + concreteValue := valueUnwrapped + (*x.list)[i] = concreteValue +} + +func (x *_EventNaiveInfererNetworkRegretSet_4_list) Append(value protoreflect.Value) { + valueUnwrapped := value.String() + concreteValue := valueUnwrapped + *x.list = append(*x.list, concreteValue) +} + +func (x *_EventNaiveInfererNetworkRegretSet_4_list) AppendMutable() protoreflect.Value { + panic(fmt.Errorf("AppendMutable can not be called on message EventNaiveInfererNetworkRegretSet at list field Regrets as it is not of Message kind")) +} + +func (x *_EventNaiveInfererNetworkRegretSet_4_list) Truncate(n int) { + *x.list = (*x.list)[:n] +} + +func (x *_EventNaiveInfererNetworkRegretSet_4_list) NewElement() protoreflect.Value { + v := "" + return protoreflect.ValueOfString(v) +} + +func (x *_EventNaiveInfererNetworkRegretSet_4_list) IsValid() bool { + return x.list != nil +} + +var ( + md_EventNaiveInfererNetworkRegretSet protoreflect.MessageDescriptor + fd_EventNaiveInfererNetworkRegretSet_topic_id protoreflect.FieldDescriptor + fd_EventNaiveInfererNetworkRegretSet_block_height protoreflect.FieldDescriptor + fd_EventNaiveInfererNetworkRegretSet_addresses protoreflect.FieldDescriptor + fd_EventNaiveInfererNetworkRegretSet_regrets protoreflect.FieldDescriptor +) + +func init() { + file_emissions_v8_events_proto_init() + md_EventNaiveInfererNetworkRegretSet = File_emissions_v8_events_proto.Messages().ByName("EventNaiveInfererNetworkRegretSet") + fd_EventNaiveInfererNetworkRegretSet_topic_id = md_EventNaiveInfererNetworkRegretSet.Fields().ByName("topic_id") + fd_EventNaiveInfererNetworkRegretSet_block_height = md_EventNaiveInfererNetworkRegretSet.Fields().ByName("block_height") + fd_EventNaiveInfererNetworkRegretSet_addresses = md_EventNaiveInfererNetworkRegretSet.Fields().ByName("addresses") + fd_EventNaiveInfererNetworkRegretSet_regrets = md_EventNaiveInfererNetworkRegretSet.Fields().ByName("regrets") +} + +var _ protoreflect.Message = (*fastReflection_EventNaiveInfererNetworkRegretSet)(nil) + +type fastReflection_EventNaiveInfererNetworkRegretSet EventNaiveInfererNetworkRegretSet + +func (x *EventNaiveInfererNetworkRegretSet) ProtoReflect() protoreflect.Message { + return (*fastReflection_EventNaiveInfererNetworkRegretSet)(x) +} + +func (x *EventNaiveInfererNetworkRegretSet) slowProtoReflect() protoreflect.Message { + mi := &file_emissions_v8_events_proto_msgTypes[11] + 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) +} + +var _fastReflection_EventNaiveInfererNetworkRegretSet_messageType fastReflection_EventNaiveInfererNetworkRegretSet_messageType +var _ protoreflect.MessageType = fastReflection_EventNaiveInfererNetworkRegretSet_messageType{} + +type fastReflection_EventNaiveInfererNetworkRegretSet_messageType struct{} + +func (x fastReflection_EventNaiveInfererNetworkRegretSet_messageType) Zero() protoreflect.Message { + return (*fastReflection_EventNaiveInfererNetworkRegretSet)(nil) +} +func (x fastReflection_EventNaiveInfererNetworkRegretSet_messageType) New() protoreflect.Message { + return new(fastReflection_EventNaiveInfererNetworkRegretSet) +} +func (x fastReflection_EventNaiveInfererNetworkRegretSet_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_EventNaiveInfererNetworkRegretSet +} + +// Descriptor returns message descriptor, which contains only the protobuf +// type information for the message. +func (x *fastReflection_EventNaiveInfererNetworkRegretSet) Descriptor() protoreflect.MessageDescriptor { + return md_EventNaiveInfererNetworkRegretSet +} + +// Type returns the message type, which encapsulates both Go and protobuf +// type information. If the Go type information is not needed, +// it is recommended that the message descriptor be used instead. +func (x *fastReflection_EventNaiveInfererNetworkRegretSet) Type() protoreflect.MessageType { + return _fastReflection_EventNaiveInfererNetworkRegretSet_messageType +} + +// New returns a newly allocated and mutable empty message. +func (x *fastReflection_EventNaiveInfererNetworkRegretSet) New() protoreflect.Message { + return new(fastReflection_EventNaiveInfererNetworkRegretSet) +} + +// Interface unwraps the message reflection interface and +// returns the underlying ProtoMessage interface. +func (x *fastReflection_EventNaiveInfererNetworkRegretSet) Interface() protoreflect.ProtoMessage { + return (*EventNaiveInfererNetworkRegretSet)(x) +} + +// Range iterates over every populated field in an undefined order, +// calling f for each field descriptor and value encountered. +// Range returns immediately if f returns false. +// While iterating, mutating operations may only be performed +// on the current field descriptor. +func (x *fastReflection_EventNaiveInfererNetworkRegretSet) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { + if x.TopicId != uint64(0) { + value := protoreflect.ValueOfUint64(x.TopicId) + if !f(fd_EventNaiveInfererNetworkRegretSet_topic_id, value) { + return + } + } + if x.BlockHeight != int64(0) { + value := protoreflect.ValueOfInt64(x.BlockHeight) + if !f(fd_EventNaiveInfererNetworkRegretSet_block_height, value) { + return + } + } + if len(x.Addresses) != 0 { + value := protoreflect.ValueOfList(&_EventNaiveInfererNetworkRegretSet_3_list{list: &x.Addresses}) + if !f(fd_EventNaiveInfererNetworkRegretSet_addresses, value) { + return + } + } + if len(x.Regrets) != 0 { + value := protoreflect.ValueOfList(&_EventNaiveInfererNetworkRegretSet_4_list{list: &x.Regrets}) + if !f(fd_EventNaiveInfererNetworkRegretSet_regrets, value) { + return + } + } +} + +// Has reports whether a field is populated. +// +// Some fields have the property of nullability where it is possible to +// distinguish between the default value of a field and whether the field +// was explicitly populated with the default value. Singular message fields, +// member fields of a oneof, and proto2 scalar fields are nullable. Such +// fields are populated only if explicitly set. +// +// In other cases (aside from the nullable cases above), +// a proto3 scalar field is populated if it contains a non-zero value, and +// a repeated field is populated if it is non-empty. +func (x *fastReflection_EventNaiveInfererNetworkRegretSet) Has(fd protoreflect.FieldDescriptor) bool { + switch fd.FullName() { + case "emissions.v8.EventNaiveInfererNetworkRegretSet.topic_id": + return x.TopicId != uint64(0) + case "emissions.v8.EventNaiveInfererNetworkRegretSet.block_height": + return x.BlockHeight != int64(0) + case "emissions.v8.EventNaiveInfererNetworkRegretSet.addresses": + return len(x.Addresses) != 0 + case "emissions.v8.EventNaiveInfererNetworkRegretSet.regrets": + return len(x.Regrets) != 0 + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.EventNaiveInfererNetworkRegretSet")) + } + panic(fmt.Errorf("message emissions.v8.EventNaiveInfererNetworkRegretSet does not contain field %s", fd.FullName())) + } +} + +// Clear clears the field such that a subsequent Has call reports false. +// +// Clearing an extension field clears both the extension type and value +// associated with the given field number. +// +// Clear is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_EventNaiveInfererNetworkRegretSet) Clear(fd protoreflect.FieldDescriptor) { + switch fd.FullName() { + case "emissions.v8.EventNaiveInfererNetworkRegretSet.topic_id": + x.TopicId = uint64(0) + case "emissions.v8.EventNaiveInfererNetworkRegretSet.block_height": + x.BlockHeight = int64(0) + case "emissions.v8.EventNaiveInfererNetworkRegretSet.addresses": + x.Addresses = nil + case "emissions.v8.EventNaiveInfererNetworkRegretSet.regrets": + x.Regrets = nil + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.EventNaiveInfererNetworkRegretSet")) + } + panic(fmt.Errorf("message emissions.v8.EventNaiveInfererNetworkRegretSet does not contain field %s", fd.FullName())) + } +} + +// Get retrieves the value for a field. +// +// For unpopulated scalars, it returns the default value, where +// the default value of a bytes scalar is guaranteed to be a copy. +// For unpopulated composite types, it returns an empty, read-only view +// of the value; to obtain a mutable reference, use Mutable. +func (x *fastReflection_EventNaiveInfererNetworkRegretSet) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { + switch descriptor.FullName() { + case "emissions.v8.EventNaiveInfererNetworkRegretSet.topic_id": + value := x.TopicId + return protoreflect.ValueOfUint64(value) + case "emissions.v8.EventNaiveInfererNetworkRegretSet.block_height": + value := x.BlockHeight + return protoreflect.ValueOfInt64(value) + case "emissions.v8.EventNaiveInfererNetworkRegretSet.addresses": + if len(x.Addresses) == 0 { + return protoreflect.ValueOfList(&_EventNaiveInfererNetworkRegretSet_3_list{}) + } + listValue := &_EventNaiveInfererNetworkRegretSet_3_list{list: &x.Addresses} + return protoreflect.ValueOfList(listValue) + case "emissions.v8.EventNaiveInfererNetworkRegretSet.regrets": + if len(x.Regrets) == 0 { + return protoreflect.ValueOfList(&_EventNaiveInfererNetworkRegretSet_4_list{}) + } + listValue := &_EventNaiveInfererNetworkRegretSet_4_list{list: &x.Regrets} + return protoreflect.ValueOfList(listValue) + default: + if descriptor.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.EventNaiveInfererNetworkRegretSet")) + } + panic(fmt.Errorf("message emissions.v8.EventNaiveInfererNetworkRegretSet does not contain field %s", descriptor.FullName())) + } +} + +// Set stores the value for a field. +// +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType. +// When setting a composite type, it is unspecified whether the stored value +// aliases the source's memory in any way. If the composite value is an +// empty, read-only value, then it panics. +// +// Set is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_EventNaiveInfererNetworkRegretSet) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { + switch fd.FullName() { + case "emissions.v8.EventNaiveInfererNetworkRegretSet.topic_id": + x.TopicId = value.Uint() + case "emissions.v8.EventNaiveInfererNetworkRegretSet.block_height": + x.BlockHeight = value.Int() + case "emissions.v8.EventNaiveInfererNetworkRegretSet.addresses": + lv := value.List() + clv := lv.(*_EventNaiveInfererNetworkRegretSet_3_list) + x.Addresses = *clv.list + case "emissions.v8.EventNaiveInfererNetworkRegretSet.regrets": + lv := value.List() + clv := lv.(*_EventNaiveInfererNetworkRegretSet_4_list) + x.Regrets = *clv.list + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.EventNaiveInfererNetworkRegretSet")) + } + panic(fmt.Errorf("message emissions.v8.EventNaiveInfererNetworkRegretSet does not contain field %s", fd.FullName())) + } +} + +// Mutable returns a mutable reference to a composite type. +// +// If the field is unpopulated, it may allocate a composite value. +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType +// if not already stored. +// It panics if the field does not contain a composite type. +// +// Mutable is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_EventNaiveInfererNetworkRegretSet) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.EventNaiveInfererNetworkRegretSet.addresses": + if x.Addresses == nil { + x.Addresses = []string{} + } + value := &_EventNaiveInfererNetworkRegretSet_3_list{list: &x.Addresses} + return protoreflect.ValueOfList(value) + case "emissions.v8.EventNaiveInfererNetworkRegretSet.regrets": + if x.Regrets == nil { + x.Regrets = []string{} + } + value := &_EventNaiveInfererNetworkRegretSet_4_list{list: &x.Regrets} + return protoreflect.ValueOfList(value) + case "emissions.v8.EventNaiveInfererNetworkRegretSet.topic_id": + panic(fmt.Errorf("field topic_id of message emissions.v8.EventNaiveInfererNetworkRegretSet is not mutable")) + case "emissions.v8.EventNaiveInfererNetworkRegretSet.block_height": + panic(fmt.Errorf("field block_height of message emissions.v8.EventNaiveInfererNetworkRegretSet is not mutable")) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.EventNaiveInfererNetworkRegretSet")) + } + panic(fmt.Errorf("message emissions.v8.EventNaiveInfererNetworkRegretSet does not contain field %s", fd.FullName())) + } +} + +// NewField returns a new value that is assignable to the field +// for the given descriptor. For scalars, this returns the default value. +// For lists, maps, and messages, this returns a new, empty, mutable value. +func (x *fastReflection_EventNaiveInfererNetworkRegretSet) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.EventNaiveInfererNetworkRegretSet.topic_id": + return protoreflect.ValueOfUint64(uint64(0)) + case "emissions.v8.EventNaiveInfererNetworkRegretSet.block_height": + return protoreflect.ValueOfInt64(int64(0)) + case "emissions.v8.EventNaiveInfererNetworkRegretSet.addresses": + list := []string{} + return protoreflect.ValueOfList(&_EventNaiveInfererNetworkRegretSet_3_list{list: &list}) + case "emissions.v8.EventNaiveInfererNetworkRegretSet.regrets": + list := []string{} + return protoreflect.ValueOfList(&_EventNaiveInfererNetworkRegretSet_4_list{list: &list}) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.EventNaiveInfererNetworkRegretSet")) + } + panic(fmt.Errorf("message emissions.v8.EventNaiveInfererNetworkRegretSet does not contain field %s", fd.FullName())) + } +} + +// WhichOneof reports which field within the oneof is populated, +// returning nil if none are populated. +// It panics if the oneof descriptor does not belong to this message. +func (x *fastReflection_EventNaiveInfererNetworkRegretSet) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { + switch d.FullName() { + default: + panic(fmt.Errorf("%s is not a oneof field in emissions.v8.EventNaiveInfererNetworkRegretSet", d.FullName())) + } + panic("unreachable") +} + +// GetUnknown retrieves the entire list of unknown fields. +// The caller may only mutate the contents of the RawFields +// if the mutated bytes are stored back into the message with SetUnknown. +func (x *fastReflection_EventNaiveInfererNetworkRegretSet) GetUnknown() protoreflect.RawFields { + return x.unknownFields +} + +// SetUnknown stores an entire list of unknown fields. +// The raw fields must be syntactically valid according to the wire format. +// An implementation may panic if this is not the case. +// Once stored, the caller must not mutate the content of the RawFields. +// An empty RawFields may be passed to clear the fields. +// +// SetUnknown is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_EventNaiveInfererNetworkRegretSet) SetUnknown(fields protoreflect.RawFields) { + x.unknownFields = fields +} + +// IsValid reports whether the message is valid. +// +// An invalid message is an empty, read-only value. +// +// An invalid message often corresponds to a nil pointer of the concrete +// message type, but the details are implementation dependent. +// Validity is not part of the protobuf data model, and may not +// be preserved in marshaling or other operations. +func (x *fastReflection_EventNaiveInfererNetworkRegretSet) IsValid() bool { + return x != nil +} + +// ProtoMethods returns optional fastReflectionFeature-path implementations of various operations. +// This method may return nil. +// +// The returned methods type is identical to +// "google.golang.org/protobuf/runtime/protoiface".Methods. +// Consult the protoiface package documentation for details. +func (x *fastReflection_EventNaiveInfererNetworkRegretSet) ProtoMethods() *protoiface.Methods { + size := func(input protoiface.SizeInput) protoiface.SizeOutput { + x := input.Message.Interface().(*EventNaiveInfererNetworkRegretSet) + if x == nil { + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: 0, + } + } + options := runtime.SizeInputToOptions(input) + _ = options + var n int + var l int + _ = l + if x.TopicId != 0 { + n += 1 + runtime.Sov(uint64(x.TopicId)) + } + if x.BlockHeight != 0 { + n += 1 + runtime.Sov(uint64(x.BlockHeight)) + } + if len(x.Addresses) > 0 { + for _, s := range x.Addresses { + l = len(s) + n += 1 + l + runtime.Sov(uint64(l)) + } + } + if len(x.Regrets) > 0 { + for _, s := range x.Regrets { + l = len(s) + n += 1 + l + runtime.Sov(uint64(l)) + } + } + if x.unknownFields != nil { + n += len(x.unknownFields) + } + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: n, + } + } + + marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { + x := input.Message.Interface().(*EventNaiveInfererNetworkRegretSet) + if x == nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + options := runtime.MarshalInputToOptions(input) + _ = options + size := options.Size(x) + dAtA := make([]byte, size) + i := len(dAtA) + _ = i + var l int + _ = l + if x.unknownFields != nil { + i -= len(x.unknownFields) + copy(dAtA[i:], x.unknownFields) + } + if len(x.Regrets) > 0 { + for iNdEx := len(x.Regrets) - 1; iNdEx >= 0; iNdEx-- { + i -= len(x.Regrets[iNdEx]) + copy(dAtA[i:], x.Regrets[iNdEx]) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.Regrets[iNdEx]))) + i-- + dAtA[i] = 0x22 + } + } + if len(x.Addresses) > 0 { + for iNdEx := len(x.Addresses) - 1; iNdEx >= 0; iNdEx-- { + i -= len(x.Addresses[iNdEx]) + copy(dAtA[i:], x.Addresses[iNdEx]) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.Addresses[iNdEx]))) + i-- + dAtA[i] = 0x1a + } + } + if x.BlockHeight != 0 { + i = runtime.EncodeVarint(dAtA, i, uint64(x.BlockHeight)) + i-- + dAtA[i] = 0x10 + } + if x.TopicId != 0 { + i = runtime.EncodeVarint(dAtA, i, uint64(x.TopicId)) + i-- + dAtA[i] = 0x8 + } + if input.Buf != nil { + input.Buf = append(input.Buf, dAtA...) + } else { + input.Buf = dAtA + } + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { + x := input.Message.Interface().(*EventNaiveInfererNetworkRegretSet) + if x == nil { + return protoiface.UnmarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Flags: input.Flags, + }, nil + } + options := runtime.UnmarshalInputToOptions(input) + _ = options + dAtA := input.Buf + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: EventNaiveInfererNetworkRegretSet: wiretype end group for non-group") + } + if fieldNum <= 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: EventNaiveInfererNetworkRegretSet: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field TopicId", wireType) + } + x.TopicId = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + x.TopicId |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 2: + if wireType != 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field BlockHeight", wireType) + } + x.BlockHeight = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + x.BlockHeight |= int64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 3: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Addresses", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + x.Addresses = append(x.Addresses, string(dAtA[iNdEx:postIndex])) + iNdEx = postIndex + case 4: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Regrets", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + x.Regrets = append(x.Regrets, string(dAtA[iNdEx:postIndex])) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := runtime.Skip(dAtA[iNdEx:]) + if err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if (iNdEx + skippy) > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + if !options.DiscardUnknown { + x.unknownFields = append(x.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + } + iNdEx += skippy + } + } + + if iNdEx > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, nil + } + return &protoiface.Methods{ + NoUnkeyedLiterals: struct{}{}, + Flags: protoiface.SupportMarshalDeterministic | protoiface.SupportUnmarshalDiscardUnknown, + Size: size, + Marshal: marshal, + Unmarshal: unmarshal, + Merge: nil, + CheckInitialized: nil, + } +} + +var ( + md_EventTopicInitialRegretSet protoreflect.MessageDescriptor + fd_EventTopicInitialRegretSet_topic_id protoreflect.FieldDescriptor + fd_EventTopicInitialRegretSet_block_height protoreflect.FieldDescriptor + fd_EventTopicInitialRegretSet_regret protoreflect.FieldDescriptor +) + +func init() { + file_emissions_v8_events_proto_init() + md_EventTopicInitialRegretSet = File_emissions_v8_events_proto.Messages().ByName("EventTopicInitialRegretSet") + fd_EventTopicInitialRegretSet_topic_id = md_EventTopicInitialRegretSet.Fields().ByName("topic_id") + fd_EventTopicInitialRegretSet_block_height = md_EventTopicInitialRegretSet.Fields().ByName("block_height") + fd_EventTopicInitialRegretSet_regret = md_EventTopicInitialRegretSet.Fields().ByName("regret") +} + +var _ protoreflect.Message = (*fastReflection_EventTopicInitialRegretSet)(nil) + +type fastReflection_EventTopicInitialRegretSet EventTopicInitialRegretSet + +func (x *EventTopicInitialRegretSet) ProtoReflect() protoreflect.Message { + return (*fastReflection_EventTopicInitialRegretSet)(x) +} + +func (x *EventTopicInitialRegretSet) slowProtoReflect() protoreflect.Message { + mi := &file_emissions_v8_events_proto_msgTypes[12] + 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) +} + +var _fastReflection_EventTopicInitialRegretSet_messageType fastReflection_EventTopicInitialRegretSet_messageType +var _ protoreflect.MessageType = fastReflection_EventTopicInitialRegretSet_messageType{} + +type fastReflection_EventTopicInitialRegretSet_messageType struct{} + +func (x fastReflection_EventTopicInitialRegretSet_messageType) Zero() protoreflect.Message { + return (*fastReflection_EventTopicInitialRegretSet)(nil) +} +func (x fastReflection_EventTopicInitialRegretSet_messageType) New() protoreflect.Message { + return new(fastReflection_EventTopicInitialRegretSet) +} +func (x fastReflection_EventTopicInitialRegretSet_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_EventTopicInitialRegretSet +} + +// Descriptor returns message descriptor, which contains only the protobuf +// type information for the message. +func (x *fastReflection_EventTopicInitialRegretSet) Descriptor() protoreflect.MessageDescriptor { + return md_EventTopicInitialRegretSet +} + +// Type returns the message type, which encapsulates both Go and protobuf +// type information. If the Go type information is not needed, +// it is recommended that the message descriptor be used instead. +func (x *fastReflection_EventTopicInitialRegretSet) Type() protoreflect.MessageType { + return _fastReflection_EventTopicInitialRegretSet_messageType +} + +// New returns a newly allocated and mutable empty message. +func (x *fastReflection_EventTopicInitialRegretSet) New() protoreflect.Message { + return new(fastReflection_EventTopicInitialRegretSet) +} + +// Interface unwraps the message reflection interface and +// returns the underlying ProtoMessage interface. +func (x *fastReflection_EventTopicInitialRegretSet) Interface() protoreflect.ProtoMessage { + return (*EventTopicInitialRegretSet)(x) +} + +// Range iterates over every populated field in an undefined order, +// calling f for each field descriptor and value encountered. +// Range returns immediately if f returns false. +// While iterating, mutating operations may only be performed +// on the current field descriptor. +func (x *fastReflection_EventTopicInitialRegretSet) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { + if x.TopicId != uint64(0) { + value := protoreflect.ValueOfUint64(x.TopicId) + if !f(fd_EventTopicInitialRegretSet_topic_id, value) { + return + } + } + if x.BlockHeight != int64(0) { + value := protoreflect.ValueOfInt64(x.BlockHeight) + if !f(fd_EventTopicInitialRegretSet_block_height, value) { + return + } + } + if x.Regret != "" { + value := protoreflect.ValueOfString(x.Regret) + if !f(fd_EventTopicInitialRegretSet_regret, value) { + return + } + } +} + +// Has reports whether a field is populated. +// +// Some fields have the property of nullability where it is possible to +// distinguish between the default value of a field and whether the field +// was explicitly populated with the default value. Singular message fields, +// member fields of a oneof, and proto2 scalar fields are nullable. Such +// fields are populated only if explicitly set. +// +// In other cases (aside from the nullable cases above), +// a proto3 scalar field is populated if it contains a non-zero value, and +// a repeated field is populated if it is non-empty. +func (x *fastReflection_EventTopicInitialRegretSet) Has(fd protoreflect.FieldDescriptor) bool { + switch fd.FullName() { + case "emissions.v8.EventTopicInitialRegretSet.topic_id": + return x.TopicId != uint64(0) + case "emissions.v8.EventTopicInitialRegretSet.block_height": + return x.BlockHeight != int64(0) + case "emissions.v8.EventTopicInitialRegretSet.regret": + return x.Regret != "" + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.EventTopicInitialRegretSet")) + } + panic(fmt.Errorf("message emissions.v8.EventTopicInitialRegretSet does not contain field %s", fd.FullName())) + } +} + +// Clear clears the field such that a subsequent Has call reports false. +// +// Clearing an extension field clears both the extension type and value +// associated with the given field number. +// +// Clear is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_EventTopicInitialRegretSet) Clear(fd protoreflect.FieldDescriptor) { + switch fd.FullName() { + case "emissions.v8.EventTopicInitialRegretSet.topic_id": + x.TopicId = uint64(0) + case "emissions.v8.EventTopicInitialRegretSet.block_height": + x.BlockHeight = int64(0) + case "emissions.v8.EventTopicInitialRegretSet.regret": + x.Regret = "" + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.EventTopicInitialRegretSet")) + } + panic(fmt.Errorf("message emissions.v8.EventTopicInitialRegretSet does not contain field %s", fd.FullName())) + } +} + +// Get retrieves the value for a field. +// +// For unpopulated scalars, it returns the default value, where +// the default value of a bytes scalar is guaranteed to be a copy. +// For unpopulated composite types, it returns an empty, read-only view +// of the value; to obtain a mutable reference, use Mutable. +func (x *fastReflection_EventTopicInitialRegretSet) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { + switch descriptor.FullName() { + case "emissions.v8.EventTopicInitialRegretSet.topic_id": + value := x.TopicId + return protoreflect.ValueOfUint64(value) + case "emissions.v8.EventTopicInitialRegretSet.block_height": + value := x.BlockHeight + return protoreflect.ValueOfInt64(value) + case "emissions.v8.EventTopicInitialRegretSet.regret": + value := x.Regret + return protoreflect.ValueOfString(value) + default: + if descriptor.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.EventTopicInitialRegretSet")) + } + panic(fmt.Errorf("message emissions.v8.EventTopicInitialRegretSet does not contain field %s", descriptor.FullName())) + } +} + +// Set stores the value for a field. +// +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType. +// When setting a composite type, it is unspecified whether the stored value +// aliases the source's memory in any way. If the composite value is an +// empty, read-only value, then it panics. +// +// Set is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_EventTopicInitialRegretSet) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { + switch fd.FullName() { + case "emissions.v8.EventTopicInitialRegretSet.topic_id": + x.TopicId = value.Uint() + case "emissions.v8.EventTopicInitialRegretSet.block_height": + x.BlockHeight = value.Int() + case "emissions.v8.EventTopicInitialRegretSet.regret": + x.Regret = value.Interface().(string) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.EventTopicInitialRegretSet")) + } + panic(fmt.Errorf("message emissions.v8.EventTopicInitialRegretSet does not contain field %s", fd.FullName())) + } +} + +// Mutable returns a mutable reference to a composite type. +// +// If the field is unpopulated, it may allocate a composite value. +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType +// if not already stored. +// It panics if the field does not contain a composite type. +// +// Mutable is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_EventTopicInitialRegretSet) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.EventTopicInitialRegretSet.topic_id": + panic(fmt.Errorf("field topic_id of message emissions.v8.EventTopicInitialRegretSet is not mutable")) + case "emissions.v8.EventTopicInitialRegretSet.block_height": + panic(fmt.Errorf("field block_height of message emissions.v8.EventTopicInitialRegretSet is not mutable")) + case "emissions.v8.EventTopicInitialRegretSet.regret": + panic(fmt.Errorf("field regret of message emissions.v8.EventTopicInitialRegretSet is not mutable")) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.EventTopicInitialRegretSet")) + } + panic(fmt.Errorf("message emissions.v8.EventTopicInitialRegretSet does not contain field %s", fd.FullName())) + } +} + +// NewField returns a new value that is assignable to the field +// for the given descriptor. For scalars, this returns the default value. +// For lists, maps, and messages, this returns a new, empty, mutable value. +func (x *fastReflection_EventTopicInitialRegretSet) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.EventTopicInitialRegretSet.topic_id": + return protoreflect.ValueOfUint64(uint64(0)) + case "emissions.v8.EventTopicInitialRegretSet.block_height": + return protoreflect.ValueOfInt64(int64(0)) + case "emissions.v8.EventTopicInitialRegretSet.regret": + return protoreflect.ValueOfString("") + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.EventTopicInitialRegretSet")) + } + panic(fmt.Errorf("message emissions.v8.EventTopicInitialRegretSet does not contain field %s", fd.FullName())) + } +} + +// WhichOneof reports which field within the oneof is populated, +// returning nil if none are populated. +// It panics if the oneof descriptor does not belong to this message. +func (x *fastReflection_EventTopicInitialRegretSet) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { + switch d.FullName() { + default: + panic(fmt.Errorf("%s is not a oneof field in emissions.v8.EventTopicInitialRegretSet", d.FullName())) + } + panic("unreachable") +} + +// GetUnknown retrieves the entire list of unknown fields. +// The caller may only mutate the contents of the RawFields +// if the mutated bytes are stored back into the message with SetUnknown. +func (x *fastReflection_EventTopicInitialRegretSet) GetUnknown() protoreflect.RawFields { + return x.unknownFields +} + +// SetUnknown stores an entire list of unknown fields. +// The raw fields must be syntactically valid according to the wire format. +// An implementation may panic if this is not the case. +// Once stored, the caller must not mutate the content of the RawFields. +// An empty RawFields may be passed to clear the fields. +// +// SetUnknown is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_EventTopicInitialRegretSet) SetUnknown(fields protoreflect.RawFields) { + x.unknownFields = fields +} + +// IsValid reports whether the message is valid. +// +// An invalid message is an empty, read-only value. +// +// An invalid message often corresponds to a nil pointer of the concrete +// message type, but the details are implementation dependent. +// Validity is not part of the protobuf data model, and may not +// be preserved in marshaling or other operations. +func (x *fastReflection_EventTopicInitialRegretSet) IsValid() bool { + return x != nil +} + +// ProtoMethods returns optional fastReflectionFeature-path implementations of various operations. +// This method may return nil. +// +// The returned methods type is identical to +// "google.golang.org/protobuf/runtime/protoiface".Methods. +// Consult the protoiface package documentation for details. +func (x *fastReflection_EventTopicInitialRegretSet) ProtoMethods() *protoiface.Methods { + size := func(input protoiface.SizeInput) protoiface.SizeOutput { + x := input.Message.Interface().(*EventTopicInitialRegretSet) + if x == nil { + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: 0, + } + } + options := runtime.SizeInputToOptions(input) + _ = options + var n int + var l int + _ = l + if x.TopicId != 0 { + n += 1 + runtime.Sov(uint64(x.TopicId)) + } + if x.BlockHeight != 0 { + n += 1 + runtime.Sov(uint64(x.BlockHeight)) + } + l = len(x.Regret) + if l > 0 { + n += 1 + l + runtime.Sov(uint64(l)) + } + if x.unknownFields != nil { + n += len(x.unknownFields) + } + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: n, + } + } + + marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { + x := input.Message.Interface().(*EventTopicInitialRegretSet) + if x == nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + options := runtime.MarshalInputToOptions(input) + _ = options + size := options.Size(x) + dAtA := make([]byte, size) + i := len(dAtA) + _ = i + var l int + _ = l + if x.unknownFields != nil { + i -= len(x.unknownFields) + copy(dAtA[i:], x.unknownFields) + } + if len(x.Regret) > 0 { + i -= len(x.Regret) + copy(dAtA[i:], x.Regret) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.Regret))) + i-- + dAtA[i] = 0x1a + } + if x.BlockHeight != 0 { + i = runtime.EncodeVarint(dAtA, i, uint64(x.BlockHeight)) + i-- + dAtA[i] = 0x10 + } + if x.TopicId != 0 { + i = runtime.EncodeVarint(dAtA, i, uint64(x.TopicId)) + i-- + dAtA[i] = 0x8 + } + if input.Buf != nil { + input.Buf = append(input.Buf, dAtA...) + } else { + input.Buf = dAtA + } + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { + x := input.Message.Interface().(*EventTopicInitialRegretSet) + if x == nil { + return protoiface.UnmarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Flags: input.Flags, + }, nil + } + options := runtime.UnmarshalInputToOptions(input) + _ = options + dAtA := input.Buf + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: EventTopicInitialRegretSet: wiretype end group for non-group") + } + if fieldNum <= 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: EventTopicInitialRegretSet: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field TopicId", wireType) + } + x.TopicId = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + x.TopicId |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 2: + if wireType != 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field BlockHeight", wireType) + } + x.BlockHeight = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + x.BlockHeight |= int64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 3: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Regret", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + x.Regret = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := runtime.Skip(dAtA[iNdEx:]) + if err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if (iNdEx + skippy) > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + if !options.DiscardUnknown { + x.unknownFields = append(x.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + } + iNdEx += skippy + } + } + + if iNdEx > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, nil + } + return &protoiface.Methods{ + NoUnkeyedLiterals: struct{}{}, + Flags: protoiface.SupportMarshalDeterministic | protoiface.SupportUnmarshalDiscardUnknown, + Size: size, + Marshal: marshal, + Unmarshal: unmarshal, + Merge: nil, + CheckInitialized: nil, + } +} + +var ( + md_EventTopicInitialEmaScoreSet protoreflect.MessageDescriptor + fd_EventTopicInitialEmaScoreSet_actor_type protoreflect.FieldDescriptor + fd_EventTopicInitialEmaScoreSet_topic_id protoreflect.FieldDescriptor + fd_EventTopicInitialEmaScoreSet_block_height protoreflect.FieldDescriptor + fd_EventTopicInitialEmaScoreSet_score protoreflect.FieldDescriptor +) + +func init() { + file_emissions_v8_events_proto_init() + md_EventTopicInitialEmaScoreSet = File_emissions_v8_events_proto.Messages().ByName("EventTopicInitialEmaScoreSet") + fd_EventTopicInitialEmaScoreSet_actor_type = md_EventTopicInitialEmaScoreSet.Fields().ByName("actor_type") + fd_EventTopicInitialEmaScoreSet_topic_id = md_EventTopicInitialEmaScoreSet.Fields().ByName("topic_id") + fd_EventTopicInitialEmaScoreSet_block_height = md_EventTopicInitialEmaScoreSet.Fields().ByName("block_height") + fd_EventTopicInitialEmaScoreSet_score = md_EventTopicInitialEmaScoreSet.Fields().ByName("score") +} + +var _ protoreflect.Message = (*fastReflection_EventTopicInitialEmaScoreSet)(nil) + +type fastReflection_EventTopicInitialEmaScoreSet EventTopicInitialEmaScoreSet + +func (x *EventTopicInitialEmaScoreSet) ProtoReflect() protoreflect.Message { + return (*fastReflection_EventTopicInitialEmaScoreSet)(x) +} + +func (x *EventTopicInitialEmaScoreSet) slowProtoReflect() protoreflect.Message { + mi := &file_emissions_v8_events_proto_msgTypes[13] + 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) +} + +var _fastReflection_EventTopicInitialEmaScoreSet_messageType fastReflection_EventTopicInitialEmaScoreSet_messageType +var _ protoreflect.MessageType = fastReflection_EventTopicInitialEmaScoreSet_messageType{} + +type fastReflection_EventTopicInitialEmaScoreSet_messageType struct{} + +func (x fastReflection_EventTopicInitialEmaScoreSet_messageType) Zero() protoreflect.Message { + return (*fastReflection_EventTopicInitialEmaScoreSet)(nil) +} +func (x fastReflection_EventTopicInitialEmaScoreSet_messageType) New() protoreflect.Message { + return new(fastReflection_EventTopicInitialEmaScoreSet) +} +func (x fastReflection_EventTopicInitialEmaScoreSet_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_EventTopicInitialEmaScoreSet +} + +// Descriptor returns message descriptor, which contains only the protobuf +// type information for the message. +func (x *fastReflection_EventTopicInitialEmaScoreSet) Descriptor() protoreflect.MessageDescriptor { + return md_EventTopicInitialEmaScoreSet +} + +// Type returns the message type, which encapsulates both Go and protobuf +// type information. If the Go type information is not needed, +// it is recommended that the message descriptor be used instead. +func (x *fastReflection_EventTopicInitialEmaScoreSet) Type() protoreflect.MessageType { + return _fastReflection_EventTopicInitialEmaScoreSet_messageType +} + +// New returns a newly allocated and mutable empty message. +func (x *fastReflection_EventTopicInitialEmaScoreSet) New() protoreflect.Message { + return new(fastReflection_EventTopicInitialEmaScoreSet) +} + +// Interface unwraps the message reflection interface and +// returns the underlying ProtoMessage interface. +func (x *fastReflection_EventTopicInitialEmaScoreSet) Interface() protoreflect.ProtoMessage { + return (*EventTopicInitialEmaScoreSet)(x) +} + +// Range iterates over every populated field in an undefined order, +// calling f for each field descriptor and value encountered. +// Range returns immediately if f returns false. +// While iterating, mutating operations may only be performed +// on the current field descriptor. +func (x *fastReflection_EventTopicInitialEmaScoreSet) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { + if x.ActorType != 0 { + value := protoreflect.ValueOfEnum((protoreflect.EnumNumber)(x.ActorType)) + if !f(fd_EventTopicInitialEmaScoreSet_actor_type, value) { + return + } + } + if x.TopicId != uint64(0) { + value := protoreflect.ValueOfUint64(x.TopicId) + if !f(fd_EventTopicInitialEmaScoreSet_topic_id, value) { + return + } + } + if x.BlockHeight != int64(0) { + value := protoreflect.ValueOfInt64(x.BlockHeight) + if !f(fd_EventTopicInitialEmaScoreSet_block_height, value) { + return + } + } + if x.Score != "" { + value := protoreflect.ValueOfString(x.Score) + if !f(fd_EventTopicInitialEmaScoreSet_score, value) { + return + } + } +} + +// Has reports whether a field is populated. +// +// Some fields have the property of nullability where it is possible to +// distinguish between the default value of a field and whether the field +// was explicitly populated with the default value. Singular message fields, +// member fields of a oneof, and proto2 scalar fields are nullable. Such +// fields are populated only if explicitly set. +// +// In other cases (aside from the nullable cases above), +// a proto3 scalar field is populated if it contains a non-zero value, and +// a repeated field is populated if it is non-empty. +func (x *fastReflection_EventTopicInitialEmaScoreSet) Has(fd protoreflect.FieldDescriptor) bool { + switch fd.FullName() { + case "emissions.v8.EventTopicInitialEmaScoreSet.actor_type": + return x.ActorType != 0 + case "emissions.v8.EventTopicInitialEmaScoreSet.topic_id": + return x.TopicId != uint64(0) + case "emissions.v8.EventTopicInitialEmaScoreSet.block_height": + return x.BlockHeight != int64(0) + case "emissions.v8.EventTopicInitialEmaScoreSet.score": + return x.Score != "" + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.EventTopicInitialEmaScoreSet")) + } + panic(fmt.Errorf("message emissions.v8.EventTopicInitialEmaScoreSet does not contain field %s", fd.FullName())) + } +} + +// Clear clears the field such that a subsequent Has call reports false. +// +// Clearing an extension field clears both the extension type and value +// associated with the given field number. +// +// Clear is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_EventTopicInitialEmaScoreSet) Clear(fd protoreflect.FieldDescriptor) { + switch fd.FullName() { + case "emissions.v8.EventTopicInitialEmaScoreSet.actor_type": + x.ActorType = 0 + case "emissions.v8.EventTopicInitialEmaScoreSet.topic_id": + x.TopicId = uint64(0) + case "emissions.v8.EventTopicInitialEmaScoreSet.block_height": + x.BlockHeight = int64(0) + case "emissions.v8.EventTopicInitialEmaScoreSet.score": + x.Score = "" + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.EventTopicInitialEmaScoreSet")) + } + panic(fmt.Errorf("message emissions.v8.EventTopicInitialEmaScoreSet does not contain field %s", fd.FullName())) + } +} + +// Get retrieves the value for a field. +// +// For unpopulated scalars, it returns the default value, where +// the default value of a bytes scalar is guaranteed to be a copy. +// For unpopulated composite types, it returns an empty, read-only view +// of the value; to obtain a mutable reference, use Mutable. +func (x *fastReflection_EventTopicInitialEmaScoreSet) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { + switch descriptor.FullName() { + case "emissions.v8.EventTopicInitialEmaScoreSet.actor_type": + value := x.ActorType + return protoreflect.ValueOfEnum((protoreflect.EnumNumber)(value)) + case "emissions.v8.EventTopicInitialEmaScoreSet.topic_id": + value := x.TopicId + return protoreflect.ValueOfUint64(value) + case "emissions.v8.EventTopicInitialEmaScoreSet.block_height": + value := x.BlockHeight + return protoreflect.ValueOfInt64(value) + case "emissions.v8.EventTopicInitialEmaScoreSet.score": + value := x.Score + return protoreflect.ValueOfString(value) + default: + if descriptor.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.EventTopicInitialEmaScoreSet")) + } + panic(fmt.Errorf("message emissions.v8.EventTopicInitialEmaScoreSet does not contain field %s", descriptor.FullName())) + } +} + +// Set stores the value for a field. +// +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType. +// When setting a composite type, it is unspecified whether the stored value +// aliases the source's memory in any way. If the composite value is an +// empty, read-only value, then it panics. +// +// Set is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_EventTopicInitialEmaScoreSet) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { + switch fd.FullName() { + case "emissions.v8.EventTopicInitialEmaScoreSet.actor_type": + x.ActorType = (ActorType)(value.Enum()) + case "emissions.v8.EventTopicInitialEmaScoreSet.topic_id": + x.TopicId = value.Uint() + case "emissions.v8.EventTopicInitialEmaScoreSet.block_height": + x.BlockHeight = value.Int() + case "emissions.v8.EventTopicInitialEmaScoreSet.score": + x.Score = value.Interface().(string) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.EventTopicInitialEmaScoreSet")) + } + panic(fmt.Errorf("message emissions.v8.EventTopicInitialEmaScoreSet does not contain field %s", fd.FullName())) + } +} + +// Mutable returns a mutable reference to a composite type. +// +// If the field is unpopulated, it may allocate a composite value. +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType +// if not already stored. +// It panics if the field does not contain a composite type. +// +// Mutable is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_EventTopicInitialEmaScoreSet) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.EventTopicInitialEmaScoreSet.actor_type": + panic(fmt.Errorf("field actor_type of message emissions.v8.EventTopicInitialEmaScoreSet is not mutable")) + case "emissions.v8.EventTopicInitialEmaScoreSet.topic_id": + panic(fmt.Errorf("field topic_id of message emissions.v8.EventTopicInitialEmaScoreSet is not mutable")) + case "emissions.v8.EventTopicInitialEmaScoreSet.block_height": + panic(fmt.Errorf("field block_height of message emissions.v8.EventTopicInitialEmaScoreSet is not mutable")) + case "emissions.v8.EventTopicInitialEmaScoreSet.score": + panic(fmt.Errorf("field score of message emissions.v8.EventTopicInitialEmaScoreSet is not mutable")) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.EventTopicInitialEmaScoreSet")) + } + panic(fmt.Errorf("message emissions.v8.EventTopicInitialEmaScoreSet does not contain field %s", fd.FullName())) + } +} + +// NewField returns a new value that is assignable to the field +// for the given descriptor. For scalars, this returns the default value. +// For lists, maps, and messages, this returns a new, empty, mutable value. +func (x *fastReflection_EventTopicInitialEmaScoreSet) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.EventTopicInitialEmaScoreSet.actor_type": + return protoreflect.ValueOfEnum(0) + case "emissions.v8.EventTopicInitialEmaScoreSet.topic_id": + return protoreflect.ValueOfUint64(uint64(0)) + case "emissions.v8.EventTopicInitialEmaScoreSet.block_height": + return protoreflect.ValueOfInt64(int64(0)) + case "emissions.v8.EventTopicInitialEmaScoreSet.score": + return protoreflect.ValueOfString("") + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.EventTopicInitialEmaScoreSet")) + } + panic(fmt.Errorf("message emissions.v8.EventTopicInitialEmaScoreSet does not contain field %s", fd.FullName())) + } +} + +// WhichOneof reports which field within the oneof is populated, +// returning nil if none are populated. +// It panics if the oneof descriptor does not belong to this message. +func (x *fastReflection_EventTopicInitialEmaScoreSet) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { + switch d.FullName() { + default: + panic(fmt.Errorf("%s is not a oneof field in emissions.v8.EventTopicInitialEmaScoreSet", d.FullName())) + } + panic("unreachable") +} + +// GetUnknown retrieves the entire list of unknown fields. +// The caller may only mutate the contents of the RawFields +// if the mutated bytes are stored back into the message with SetUnknown. +func (x *fastReflection_EventTopicInitialEmaScoreSet) GetUnknown() protoreflect.RawFields { + return x.unknownFields +} + +// SetUnknown stores an entire list of unknown fields. +// The raw fields must be syntactically valid according to the wire format. +// An implementation may panic if this is not the case. +// Once stored, the caller must not mutate the content of the RawFields. +// An empty RawFields may be passed to clear the fields. +// +// SetUnknown is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_EventTopicInitialEmaScoreSet) SetUnknown(fields protoreflect.RawFields) { + x.unknownFields = fields +} + +// IsValid reports whether the message is valid. +// +// An invalid message is an empty, read-only value. +// +// An invalid message often corresponds to a nil pointer of the concrete +// message type, but the details are implementation dependent. +// Validity is not part of the protobuf data model, and may not +// be preserved in marshaling or other operations. +func (x *fastReflection_EventTopicInitialEmaScoreSet) IsValid() bool { + return x != nil +} + +// ProtoMethods returns optional fastReflectionFeature-path implementations of various operations. +// This method may return nil. +// +// The returned methods type is identical to +// "google.golang.org/protobuf/runtime/protoiface".Methods. +// Consult the protoiface package documentation for details. +func (x *fastReflection_EventTopicInitialEmaScoreSet) ProtoMethods() *protoiface.Methods { + size := func(input protoiface.SizeInput) protoiface.SizeOutput { + x := input.Message.Interface().(*EventTopicInitialEmaScoreSet) + if x == nil { + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: 0, + } + } + options := runtime.SizeInputToOptions(input) + _ = options + var n int + var l int + _ = l + if x.ActorType != 0 { + n += 1 + runtime.Sov(uint64(x.ActorType)) + } + if x.TopicId != 0 { + n += 1 + runtime.Sov(uint64(x.TopicId)) + } + if x.BlockHeight != 0 { + n += 1 + runtime.Sov(uint64(x.BlockHeight)) + } + l = len(x.Score) + if l > 0 { + n += 1 + l + runtime.Sov(uint64(l)) + } + if x.unknownFields != nil { + n += len(x.unknownFields) + } + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: n, + } + } + + marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { + x := input.Message.Interface().(*EventTopicInitialEmaScoreSet) + if x == nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + options := runtime.MarshalInputToOptions(input) + _ = options + size := options.Size(x) + dAtA := make([]byte, size) + i := len(dAtA) + _ = i + var l int + _ = l + if x.unknownFields != nil { + i -= len(x.unknownFields) + copy(dAtA[i:], x.unknownFields) + } + if len(x.Score) > 0 { + i -= len(x.Score) + copy(dAtA[i:], x.Score) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.Score))) + i-- + dAtA[i] = 0x22 + } + if x.BlockHeight != 0 { + i = runtime.EncodeVarint(dAtA, i, uint64(x.BlockHeight)) + i-- + dAtA[i] = 0x18 + } + if x.TopicId != 0 { + i = runtime.EncodeVarint(dAtA, i, uint64(x.TopicId)) + i-- + dAtA[i] = 0x10 + } + if x.ActorType != 0 { + i = runtime.EncodeVarint(dAtA, i, uint64(x.ActorType)) + i-- + dAtA[i] = 0x8 + } + if input.Buf != nil { + input.Buf = append(input.Buf, dAtA...) + } else { + input.Buf = dAtA + } + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { + x := input.Message.Interface().(*EventTopicInitialEmaScoreSet) + if x == nil { + return protoiface.UnmarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Flags: input.Flags, + }, nil + } + options := runtime.UnmarshalInputToOptions(input) + _ = options + dAtA := input.Buf + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: EventTopicInitialEmaScoreSet: wiretype end group for non-group") + } + if fieldNum <= 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: EventTopicInitialEmaScoreSet: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field ActorType", wireType) + } + x.ActorType = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + x.ActorType |= ActorType(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 2: + if wireType != 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field TopicId", wireType) + } + x.TopicId = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + x.TopicId |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 3: + if wireType != 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field BlockHeight", wireType) + } + x.BlockHeight = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + x.BlockHeight |= int64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 4: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Score", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + x.Score = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := runtime.Skip(dAtA[iNdEx:]) + if err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if (iNdEx + skippy) > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + if !options.DiscardUnknown { + x.unknownFields = append(x.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + } + iNdEx += skippy + } + } + + if iNdEx > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, nil + } + return &protoiface.Methods{ + NoUnkeyedLiterals: struct{}{}, + Flags: protoiface.SupportMarshalDeterministic | protoiface.SupportUnmarshalDiscardUnknown, + Size: size, + Marshal: marshal, + Unmarshal: unmarshal, + Merge: nil, + CheckInitialized: nil, + } +} + +var ( + md_EventRegretStdNormSet protoreflect.MessageDescriptor + fd_EventRegretStdNormSet_topic_id protoreflect.FieldDescriptor + fd_EventRegretStdNormSet_block_height protoreflect.FieldDescriptor + fd_EventRegretStdNormSet_stdnorm protoreflect.FieldDescriptor +) + +func init() { + file_emissions_v8_events_proto_init() + md_EventRegretStdNormSet = File_emissions_v8_events_proto.Messages().ByName("EventRegretStdNormSet") + fd_EventRegretStdNormSet_topic_id = md_EventRegretStdNormSet.Fields().ByName("topic_id") + fd_EventRegretStdNormSet_block_height = md_EventRegretStdNormSet.Fields().ByName("block_height") + fd_EventRegretStdNormSet_stdnorm = md_EventRegretStdNormSet.Fields().ByName("stdnorm") +} + +var _ protoreflect.Message = (*fastReflection_EventRegretStdNormSet)(nil) + +type fastReflection_EventRegretStdNormSet EventRegretStdNormSet + +func (x *EventRegretStdNormSet) ProtoReflect() protoreflect.Message { + return (*fastReflection_EventRegretStdNormSet)(x) +} + +func (x *EventRegretStdNormSet) slowProtoReflect() protoreflect.Message { + mi := &file_emissions_v8_events_proto_msgTypes[14] + 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) +} + +var _fastReflection_EventRegretStdNormSet_messageType fastReflection_EventRegretStdNormSet_messageType +var _ protoreflect.MessageType = fastReflection_EventRegretStdNormSet_messageType{} + +type fastReflection_EventRegretStdNormSet_messageType struct{} + +func (x fastReflection_EventRegretStdNormSet_messageType) Zero() protoreflect.Message { + return (*fastReflection_EventRegretStdNormSet)(nil) +} +func (x fastReflection_EventRegretStdNormSet_messageType) New() protoreflect.Message { + return new(fastReflection_EventRegretStdNormSet) +} +func (x fastReflection_EventRegretStdNormSet_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_EventRegretStdNormSet +} + +// Descriptor returns message descriptor, which contains only the protobuf +// type information for the message. +func (x *fastReflection_EventRegretStdNormSet) Descriptor() protoreflect.MessageDescriptor { + return md_EventRegretStdNormSet +} + +// Type returns the message type, which encapsulates both Go and protobuf +// type information. If the Go type information is not needed, +// it is recommended that the message descriptor be used instead. +func (x *fastReflection_EventRegretStdNormSet) Type() protoreflect.MessageType { + return _fastReflection_EventRegretStdNormSet_messageType +} + +// New returns a newly allocated and mutable empty message. +func (x *fastReflection_EventRegretStdNormSet) New() protoreflect.Message { + return new(fastReflection_EventRegretStdNormSet) +} + +// Interface unwraps the message reflection interface and +// returns the underlying ProtoMessage interface. +func (x *fastReflection_EventRegretStdNormSet) Interface() protoreflect.ProtoMessage { + return (*EventRegretStdNormSet)(x) +} + +// Range iterates over every populated field in an undefined order, +// calling f for each field descriptor and value encountered. +// Range returns immediately if f returns false. +// While iterating, mutating operations may only be performed +// on the current field descriptor. +func (x *fastReflection_EventRegretStdNormSet) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { + if x.TopicId != uint64(0) { + value := protoreflect.ValueOfUint64(x.TopicId) + if !f(fd_EventRegretStdNormSet_topic_id, value) { + return + } + } + if x.BlockHeight != int64(0) { + value := protoreflect.ValueOfInt64(x.BlockHeight) + if !f(fd_EventRegretStdNormSet_block_height, value) { + return + } + } + if x.Stdnorm != "" { + value := protoreflect.ValueOfString(x.Stdnorm) + if !f(fd_EventRegretStdNormSet_stdnorm, value) { + return + } + } +} + +// Has reports whether a field is populated. +// +// Some fields have the property of nullability where it is possible to +// distinguish between the default value of a field and whether the field +// was explicitly populated with the default value. Singular message fields, +// member fields of a oneof, and proto2 scalar fields are nullable. Such +// fields are populated only if explicitly set. +// +// In other cases (aside from the nullable cases above), +// a proto3 scalar field is populated if it contains a non-zero value, and +// a repeated field is populated if it is non-empty. +func (x *fastReflection_EventRegretStdNormSet) Has(fd protoreflect.FieldDescriptor) bool { + switch fd.FullName() { + case "emissions.v8.EventRegretStdNormSet.topic_id": + return x.TopicId != uint64(0) + case "emissions.v8.EventRegretStdNormSet.block_height": + return x.BlockHeight != int64(0) + case "emissions.v8.EventRegretStdNormSet.stdnorm": + return x.Stdnorm != "" + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.EventRegretStdNormSet")) + } + panic(fmt.Errorf("message emissions.v8.EventRegretStdNormSet does not contain field %s", fd.FullName())) + } +} + +// Clear clears the field such that a subsequent Has call reports false. +// +// Clearing an extension field clears both the extension type and value +// associated with the given field number. +// +// Clear is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_EventRegretStdNormSet) Clear(fd protoreflect.FieldDescriptor) { + switch fd.FullName() { + case "emissions.v8.EventRegretStdNormSet.topic_id": + x.TopicId = uint64(0) + case "emissions.v8.EventRegretStdNormSet.block_height": + x.BlockHeight = int64(0) + case "emissions.v8.EventRegretStdNormSet.stdnorm": + x.Stdnorm = "" + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.EventRegretStdNormSet")) + } + panic(fmt.Errorf("message emissions.v8.EventRegretStdNormSet does not contain field %s", fd.FullName())) + } +} + +// Get retrieves the value for a field. +// +// For unpopulated scalars, it returns the default value, where +// the default value of a bytes scalar is guaranteed to be a copy. +// For unpopulated composite types, it returns an empty, read-only view +// of the value; to obtain a mutable reference, use Mutable. +func (x *fastReflection_EventRegretStdNormSet) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { + switch descriptor.FullName() { + case "emissions.v8.EventRegretStdNormSet.topic_id": + value := x.TopicId + return protoreflect.ValueOfUint64(value) + case "emissions.v8.EventRegretStdNormSet.block_height": + value := x.BlockHeight + return protoreflect.ValueOfInt64(value) + case "emissions.v8.EventRegretStdNormSet.stdnorm": + value := x.Stdnorm + return protoreflect.ValueOfString(value) + default: + if descriptor.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.EventRegretStdNormSet")) + } + panic(fmt.Errorf("message emissions.v8.EventRegretStdNormSet does not contain field %s", descriptor.FullName())) + } +} + +// Set stores the value for a field. +// +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType. +// When setting a composite type, it is unspecified whether the stored value +// aliases the source's memory in any way. If the composite value is an +// empty, read-only value, then it panics. +// +// Set is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_EventRegretStdNormSet) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { + switch fd.FullName() { + case "emissions.v8.EventRegretStdNormSet.topic_id": + x.TopicId = value.Uint() + case "emissions.v8.EventRegretStdNormSet.block_height": + x.BlockHeight = value.Int() + case "emissions.v8.EventRegretStdNormSet.stdnorm": + x.Stdnorm = value.Interface().(string) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.EventRegretStdNormSet")) + } + panic(fmt.Errorf("message emissions.v8.EventRegretStdNormSet does not contain field %s", fd.FullName())) + } +} + +// Mutable returns a mutable reference to a composite type. +// +// If the field is unpopulated, it may allocate a composite value. +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType +// if not already stored. +// It panics if the field does not contain a composite type. +// +// Mutable is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_EventRegretStdNormSet) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.EventRegretStdNormSet.topic_id": + panic(fmt.Errorf("field topic_id of message emissions.v8.EventRegretStdNormSet is not mutable")) + case "emissions.v8.EventRegretStdNormSet.block_height": + panic(fmt.Errorf("field block_height of message emissions.v8.EventRegretStdNormSet is not mutable")) + case "emissions.v8.EventRegretStdNormSet.stdnorm": + panic(fmt.Errorf("field stdnorm of message emissions.v8.EventRegretStdNormSet is not mutable")) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.EventRegretStdNormSet")) + } + panic(fmt.Errorf("message emissions.v8.EventRegretStdNormSet does not contain field %s", fd.FullName())) + } +} + +// NewField returns a new value that is assignable to the field +// for the given descriptor. For scalars, this returns the default value. +// For lists, maps, and messages, this returns a new, empty, mutable value. +func (x *fastReflection_EventRegretStdNormSet) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.EventRegretStdNormSet.topic_id": + return protoreflect.ValueOfUint64(uint64(0)) + case "emissions.v8.EventRegretStdNormSet.block_height": + return protoreflect.ValueOfInt64(int64(0)) + case "emissions.v8.EventRegretStdNormSet.stdnorm": + return protoreflect.ValueOfString("") + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.EventRegretStdNormSet")) + } + panic(fmt.Errorf("message emissions.v8.EventRegretStdNormSet does not contain field %s", fd.FullName())) + } +} + +// WhichOneof reports which field within the oneof is populated, +// returning nil if none are populated. +// It panics if the oneof descriptor does not belong to this message. +func (x *fastReflection_EventRegretStdNormSet) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { + switch d.FullName() { + default: + panic(fmt.Errorf("%s is not a oneof field in emissions.v8.EventRegretStdNormSet", d.FullName())) + } + panic("unreachable") +} + +// GetUnknown retrieves the entire list of unknown fields. +// The caller may only mutate the contents of the RawFields +// if the mutated bytes are stored back into the message with SetUnknown. +func (x *fastReflection_EventRegretStdNormSet) GetUnknown() protoreflect.RawFields { + return x.unknownFields +} + +// SetUnknown stores an entire list of unknown fields. +// The raw fields must be syntactically valid according to the wire format. +// An implementation may panic if this is not the case. +// Once stored, the caller must not mutate the content of the RawFields. +// An empty RawFields may be passed to clear the fields. +// +// SetUnknown is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_EventRegretStdNormSet) SetUnknown(fields protoreflect.RawFields) { + x.unknownFields = fields +} + +// IsValid reports whether the message is valid. +// +// An invalid message is an empty, read-only value. +// +// An invalid message often corresponds to a nil pointer of the concrete +// message type, but the details are implementation dependent. +// Validity is not part of the protobuf data model, and may not +// be preserved in marshaling or other operations. +func (x *fastReflection_EventRegretStdNormSet) IsValid() bool { + return x != nil +} + +// ProtoMethods returns optional fastReflectionFeature-path implementations of various operations. +// This method may return nil. +// +// The returned methods type is identical to +// "google.golang.org/protobuf/runtime/protoiface".Methods. +// Consult the protoiface package documentation for details. +func (x *fastReflection_EventRegretStdNormSet) ProtoMethods() *protoiface.Methods { + size := func(input protoiface.SizeInput) protoiface.SizeOutput { + x := input.Message.Interface().(*EventRegretStdNormSet) + if x == nil { + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: 0, + } + } + options := runtime.SizeInputToOptions(input) + _ = options + var n int + var l int + _ = l + if x.TopicId != 0 { + n += 1 + runtime.Sov(uint64(x.TopicId)) + } + if x.BlockHeight != 0 { + n += 1 + runtime.Sov(uint64(x.BlockHeight)) + } + l = len(x.Stdnorm) + if l > 0 { + n += 1 + l + runtime.Sov(uint64(l)) + } + if x.unknownFields != nil { + n += len(x.unknownFields) + } + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: n, + } + } + + marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { + x := input.Message.Interface().(*EventRegretStdNormSet) + if x == nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + options := runtime.MarshalInputToOptions(input) + _ = options + size := options.Size(x) + dAtA := make([]byte, size) + i := len(dAtA) + _ = i + var l int + _ = l + if x.unknownFields != nil { + i -= len(x.unknownFields) + copy(dAtA[i:], x.unknownFields) + } + if len(x.Stdnorm) > 0 { + i -= len(x.Stdnorm) + copy(dAtA[i:], x.Stdnorm) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.Stdnorm))) + i-- + dAtA[i] = 0x1a + } + if x.BlockHeight != 0 { + i = runtime.EncodeVarint(dAtA, i, uint64(x.BlockHeight)) + i-- + dAtA[i] = 0x10 + } + if x.TopicId != 0 { + i = runtime.EncodeVarint(dAtA, i, uint64(x.TopicId)) + i-- + dAtA[i] = 0x8 + } + if input.Buf != nil { + input.Buf = append(input.Buf, dAtA...) + } else { + input.Buf = dAtA + } + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { + x := input.Message.Interface().(*EventRegretStdNormSet) + if x == nil { + return protoiface.UnmarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Flags: input.Flags, + }, nil + } + options := runtime.UnmarshalInputToOptions(input) + _ = options + dAtA := input.Buf + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: EventRegretStdNormSet: wiretype end group for non-group") + } + if fieldNum <= 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: EventRegretStdNormSet: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field TopicId", wireType) + } + x.TopicId = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + x.TopicId |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 2: + if wireType != 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field BlockHeight", wireType) + } + x.BlockHeight = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + x.BlockHeight |= int64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 3: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Stdnorm", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + x.Stdnorm = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := runtime.Skip(dAtA[iNdEx:]) + if err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if (iNdEx + skippy) > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + if !options.DiscardUnknown { + x.unknownFields = append(x.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + } + iNdEx += skippy + } + } + + if iNdEx > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, nil + } + return &protoiface.Methods{ + NoUnkeyedLiterals: struct{}{}, + Flags: protoiface.SupportMarshalDeterministic | protoiface.SupportUnmarshalDiscardUnknown, + Size: size, + Marshal: marshal, + Unmarshal: unmarshal, + Merge: nil, + CheckInitialized: nil, + } +} + +var ( + md_EventInfererWeightSet protoreflect.MessageDescriptor + fd_EventInfererWeightSet_topic_id protoreflect.FieldDescriptor + fd_EventInfererWeightSet_block_height protoreflect.FieldDescriptor + fd_EventInfererWeightSet_address protoreflect.FieldDescriptor + fd_EventInfererWeightSet_weight protoreflect.FieldDescriptor +) + +func init() { + file_emissions_v8_events_proto_init() + md_EventInfererWeightSet = File_emissions_v8_events_proto.Messages().ByName("EventInfererWeightSet") + fd_EventInfererWeightSet_topic_id = md_EventInfererWeightSet.Fields().ByName("topic_id") + fd_EventInfererWeightSet_block_height = md_EventInfererWeightSet.Fields().ByName("block_height") + fd_EventInfererWeightSet_address = md_EventInfererWeightSet.Fields().ByName("address") + fd_EventInfererWeightSet_weight = md_EventInfererWeightSet.Fields().ByName("weight") +} + +var _ protoreflect.Message = (*fastReflection_EventInfererWeightSet)(nil) + +type fastReflection_EventInfererWeightSet EventInfererWeightSet + +func (x *EventInfererWeightSet) ProtoReflect() protoreflect.Message { + return (*fastReflection_EventInfererWeightSet)(x) +} + +func (x *EventInfererWeightSet) slowProtoReflect() protoreflect.Message { + mi := &file_emissions_v8_events_proto_msgTypes[15] + 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) +} + +var _fastReflection_EventInfererWeightSet_messageType fastReflection_EventInfererWeightSet_messageType +var _ protoreflect.MessageType = fastReflection_EventInfererWeightSet_messageType{} + +type fastReflection_EventInfererWeightSet_messageType struct{} + +func (x fastReflection_EventInfererWeightSet_messageType) Zero() protoreflect.Message { + return (*fastReflection_EventInfererWeightSet)(nil) +} +func (x fastReflection_EventInfererWeightSet_messageType) New() protoreflect.Message { + return new(fastReflection_EventInfererWeightSet) +} +func (x fastReflection_EventInfererWeightSet_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_EventInfererWeightSet +} + +// Descriptor returns message descriptor, which contains only the protobuf +// type information for the message. +func (x *fastReflection_EventInfererWeightSet) Descriptor() protoreflect.MessageDescriptor { + return md_EventInfererWeightSet +} + +// Type returns the message type, which encapsulates both Go and protobuf +// type information. If the Go type information is not needed, +// it is recommended that the message descriptor be used instead. +func (x *fastReflection_EventInfererWeightSet) Type() protoreflect.MessageType { + return _fastReflection_EventInfererWeightSet_messageType +} + +// New returns a newly allocated and mutable empty message. +func (x *fastReflection_EventInfererWeightSet) New() protoreflect.Message { + return new(fastReflection_EventInfererWeightSet) +} + +// Interface unwraps the message reflection interface and +// returns the underlying ProtoMessage interface. +func (x *fastReflection_EventInfererWeightSet) Interface() protoreflect.ProtoMessage { + return (*EventInfererWeightSet)(x) +} + +// Range iterates over every populated field in an undefined order, +// calling f for each field descriptor and value encountered. +// Range returns immediately if f returns false. +// While iterating, mutating operations may only be performed +// on the current field descriptor. +func (x *fastReflection_EventInfererWeightSet) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { + if x.TopicId != uint64(0) { + value := protoreflect.ValueOfUint64(x.TopicId) + if !f(fd_EventInfererWeightSet_topic_id, value) { + return + } + } + if x.BlockHeight != int64(0) { + value := protoreflect.ValueOfInt64(x.BlockHeight) + if !f(fd_EventInfererWeightSet_block_height, value) { + return + } + } + if x.Address != "" { + value := protoreflect.ValueOfString(x.Address) + if !f(fd_EventInfererWeightSet_address, value) { + return + } + } + if x.Weight != "" { + value := protoreflect.ValueOfString(x.Weight) + if !f(fd_EventInfererWeightSet_weight, value) { + return + } + } +} + +// Has reports whether a field is populated. +// +// Some fields have the property of nullability where it is possible to +// distinguish between the default value of a field and whether the field +// was explicitly populated with the default value. Singular message fields, +// member fields of a oneof, and proto2 scalar fields are nullable. Such +// fields are populated only if explicitly set. +// +// In other cases (aside from the nullable cases above), +// a proto3 scalar field is populated if it contains a non-zero value, and +// a repeated field is populated if it is non-empty. +func (x *fastReflection_EventInfererWeightSet) Has(fd protoreflect.FieldDescriptor) bool { + switch fd.FullName() { + case "emissions.v8.EventInfererWeightSet.topic_id": + return x.TopicId != uint64(0) + case "emissions.v8.EventInfererWeightSet.block_height": + return x.BlockHeight != int64(0) + case "emissions.v8.EventInfererWeightSet.address": + return x.Address != "" + case "emissions.v8.EventInfererWeightSet.weight": + return x.Weight != "" + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.EventInfererWeightSet")) + } + panic(fmt.Errorf("message emissions.v8.EventInfererWeightSet does not contain field %s", fd.FullName())) + } +} + +// Clear clears the field such that a subsequent Has call reports false. +// +// Clearing an extension field clears both the extension type and value +// associated with the given field number. +// +// Clear is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_EventInfererWeightSet) Clear(fd protoreflect.FieldDescriptor) { + switch fd.FullName() { + case "emissions.v8.EventInfererWeightSet.topic_id": + x.TopicId = uint64(0) + case "emissions.v8.EventInfererWeightSet.block_height": + x.BlockHeight = int64(0) + case "emissions.v8.EventInfererWeightSet.address": + x.Address = "" + case "emissions.v8.EventInfererWeightSet.weight": + x.Weight = "" + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.EventInfererWeightSet")) + } + panic(fmt.Errorf("message emissions.v8.EventInfererWeightSet does not contain field %s", fd.FullName())) + } +} + +// Get retrieves the value for a field. +// +// For unpopulated scalars, it returns the default value, where +// the default value of a bytes scalar is guaranteed to be a copy. +// For unpopulated composite types, it returns an empty, read-only view +// of the value; to obtain a mutable reference, use Mutable. +func (x *fastReflection_EventInfererWeightSet) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { + switch descriptor.FullName() { + case "emissions.v8.EventInfererWeightSet.topic_id": + value := x.TopicId + return protoreflect.ValueOfUint64(value) + case "emissions.v8.EventInfererWeightSet.block_height": + value := x.BlockHeight + return protoreflect.ValueOfInt64(value) + case "emissions.v8.EventInfererWeightSet.address": + value := x.Address + return protoreflect.ValueOfString(value) + case "emissions.v8.EventInfererWeightSet.weight": + value := x.Weight + return protoreflect.ValueOfString(value) + default: + if descriptor.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.EventInfererWeightSet")) + } + panic(fmt.Errorf("message emissions.v8.EventInfererWeightSet does not contain field %s", descriptor.FullName())) + } +} + +// Set stores the value for a field. +// +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType. +// When setting a composite type, it is unspecified whether the stored value +// aliases the source's memory in any way. If the composite value is an +// empty, read-only value, then it panics. +// +// Set is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_EventInfererWeightSet) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { + switch fd.FullName() { + case "emissions.v8.EventInfererWeightSet.topic_id": + x.TopicId = value.Uint() + case "emissions.v8.EventInfererWeightSet.block_height": + x.BlockHeight = value.Int() + case "emissions.v8.EventInfererWeightSet.address": + x.Address = value.Interface().(string) + case "emissions.v8.EventInfererWeightSet.weight": + x.Weight = value.Interface().(string) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.EventInfererWeightSet")) + } + panic(fmt.Errorf("message emissions.v8.EventInfererWeightSet does not contain field %s", fd.FullName())) + } +} + +// Mutable returns a mutable reference to a composite type. +// +// If the field is unpopulated, it may allocate a composite value. +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType +// if not already stored. +// It panics if the field does not contain a composite type. +// +// Mutable is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_EventInfererWeightSet) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.EventInfererWeightSet.topic_id": + panic(fmt.Errorf("field topic_id of message emissions.v8.EventInfererWeightSet is not mutable")) + case "emissions.v8.EventInfererWeightSet.block_height": + panic(fmt.Errorf("field block_height of message emissions.v8.EventInfererWeightSet is not mutable")) + case "emissions.v8.EventInfererWeightSet.address": + panic(fmt.Errorf("field address of message emissions.v8.EventInfererWeightSet is not mutable")) + case "emissions.v8.EventInfererWeightSet.weight": + panic(fmt.Errorf("field weight of message emissions.v8.EventInfererWeightSet is not mutable")) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.EventInfererWeightSet")) + } + panic(fmt.Errorf("message emissions.v8.EventInfererWeightSet does not contain field %s", fd.FullName())) + } +} + +// NewField returns a new value that is assignable to the field +// for the given descriptor. For scalars, this returns the default value. +// For lists, maps, and messages, this returns a new, empty, mutable value. +func (x *fastReflection_EventInfererWeightSet) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.EventInfererWeightSet.topic_id": + return protoreflect.ValueOfUint64(uint64(0)) + case "emissions.v8.EventInfererWeightSet.block_height": + return protoreflect.ValueOfInt64(int64(0)) + case "emissions.v8.EventInfererWeightSet.address": + return protoreflect.ValueOfString("") + case "emissions.v8.EventInfererWeightSet.weight": + return protoreflect.ValueOfString("") + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.EventInfererWeightSet")) + } + panic(fmt.Errorf("message emissions.v8.EventInfererWeightSet does not contain field %s", fd.FullName())) + } +} + +// WhichOneof reports which field within the oneof is populated, +// returning nil if none are populated. +// It panics if the oneof descriptor does not belong to this message. +func (x *fastReflection_EventInfererWeightSet) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { + switch d.FullName() { + default: + panic(fmt.Errorf("%s is not a oneof field in emissions.v8.EventInfererWeightSet", d.FullName())) + } + panic("unreachable") +} + +// GetUnknown retrieves the entire list of unknown fields. +// The caller may only mutate the contents of the RawFields +// if the mutated bytes are stored back into the message with SetUnknown. +func (x *fastReflection_EventInfererWeightSet) GetUnknown() protoreflect.RawFields { + return x.unknownFields +} + +// SetUnknown stores an entire list of unknown fields. +// The raw fields must be syntactically valid according to the wire format. +// An implementation may panic if this is not the case. +// Once stored, the caller must not mutate the content of the RawFields. +// An empty RawFields may be passed to clear the fields. +// +// SetUnknown is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_EventInfererWeightSet) SetUnknown(fields protoreflect.RawFields) { + x.unknownFields = fields +} + +// IsValid reports whether the message is valid. +// +// An invalid message is an empty, read-only value. +// +// An invalid message often corresponds to a nil pointer of the concrete +// message type, but the details are implementation dependent. +// Validity is not part of the protobuf data model, and may not +// be preserved in marshaling or other operations. +func (x *fastReflection_EventInfererWeightSet) IsValid() bool { + return x != nil +} + +// ProtoMethods returns optional fastReflectionFeature-path implementations of various operations. +// This method may return nil. +// +// The returned methods type is identical to +// "google.golang.org/protobuf/runtime/protoiface".Methods. +// Consult the protoiface package documentation for details. +func (x *fastReflection_EventInfererWeightSet) ProtoMethods() *protoiface.Methods { + size := func(input protoiface.SizeInput) protoiface.SizeOutput { + x := input.Message.Interface().(*EventInfererWeightSet) + if x == nil { + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: 0, + } + } + options := runtime.SizeInputToOptions(input) + _ = options + var n int + var l int + _ = l + if x.TopicId != 0 { + n += 1 + runtime.Sov(uint64(x.TopicId)) + } + if x.BlockHeight != 0 { + n += 1 + runtime.Sov(uint64(x.BlockHeight)) + } + l = len(x.Address) + if l > 0 { + n += 1 + l + runtime.Sov(uint64(l)) + } + l = len(x.Weight) + if l > 0 { + n += 1 + l + runtime.Sov(uint64(l)) + } + if x.unknownFields != nil { + n += len(x.unknownFields) + } + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: n, + } + } + + marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { + x := input.Message.Interface().(*EventInfererWeightSet) + if x == nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + options := runtime.MarshalInputToOptions(input) + _ = options + size := options.Size(x) + dAtA := make([]byte, size) + i := len(dAtA) + _ = i + var l int + _ = l + if x.unknownFields != nil { + i -= len(x.unknownFields) + copy(dAtA[i:], x.unknownFields) + } + if len(x.Weight) > 0 { + i -= len(x.Weight) + copy(dAtA[i:], x.Weight) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.Weight))) + i-- + dAtA[i] = 0x22 + } + if len(x.Address) > 0 { + i -= len(x.Address) + copy(dAtA[i:], x.Address) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.Address))) + i-- + dAtA[i] = 0x1a + } + if x.BlockHeight != 0 { + i = runtime.EncodeVarint(dAtA, i, uint64(x.BlockHeight)) + i-- + dAtA[i] = 0x10 + } + if x.TopicId != 0 { + i = runtime.EncodeVarint(dAtA, i, uint64(x.TopicId)) + i-- + dAtA[i] = 0x8 + } + if input.Buf != nil { + input.Buf = append(input.Buf, dAtA...) + } else { + input.Buf = dAtA + } + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { + x := input.Message.Interface().(*EventInfererWeightSet) + if x == nil { + return protoiface.UnmarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Flags: input.Flags, + }, nil + } + options := runtime.UnmarshalInputToOptions(input) + _ = options + dAtA := input.Buf + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: EventInfererWeightSet: wiretype end group for non-group") + } + if fieldNum <= 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: EventInfererWeightSet: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field TopicId", wireType) + } + x.TopicId = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + x.TopicId |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 2: + if wireType != 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field BlockHeight", wireType) + } + x.BlockHeight = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + x.BlockHeight |= int64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 3: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Address", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + x.Address = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 4: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Weight", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + x.Weight = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := runtime.Skip(dAtA[iNdEx:]) + if err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if (iNdEx + skippy) > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + if !options.DiscardUnknown { + x.unknownFields = append(x.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + } + iNdEx += skippy + } + } + + if iNdEx > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, nil + } + return &protoiface.Methods{ + NoUnkeyedLiterals: struct{}{}, + Flags: protoiface.SupportMarshalDeterministic | protoiface.SupportUnmarshalDiscardUnknown, + Size: size, + Marshal: marshal, + Unmarshal: unmarshal, + Merge: nil, + CheckInitialized: nil, + } +} + +var ( + md_EventForecasterWeightSet protoreflect.MessageDescriptor + fd_EventForecasterWeightSet_topic_id protoreflect.FieldDescriptor + fd_EventForecasterWeightSet_block_height protoreflect.FieldDescriptor + fd_EventForecasterWeightSet_address protoreflect.FieldDescriptor + fd_EventForecasterWeightSet_weight protoreflect.FieldDescriptor +) + +func init() { + file_emissions_v8_events_proto_init() + md_EventForecasterWeightSet = File_emissions_v8_events_proto.Messages().ByName("EventForecasterWeightSet") + fd_EventForecasterWeightSet_topic_id = md_EventForecasterWeightSet.Fields().ByName("topic_id") + fd_EventForecasterWeightSet_block_height = md_EventForecasterWeightSet.Fields().ByName("block_height") + fd_EventForecasterWeightSet_address = md_EventForecasterWeightSet.Fields().ByName("address") + fd_EventForecasterWeightSet_weight = md_EventForecasterWeightSet.Fields().ByName("weight") +} + +var _ protoreflect.Message = (*fastReflection_EventForecasterWeightSet)(nil) + +type fastReflection_EventForecasterWeightSet EventForecasterWeightSet + +func (x *EventForecasterWeightSet) ProtoReflect() protoreflect.Message { + return (*fastReflection_EventForecasterWeightSet)(x) +} + +func (x *EventForecasterWeightSet) slowProtoReflect() protoreflect.Message { + mi := &file_emissions_v8_events_proto_msgTypes[16] + 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) +} + +var _fastReflection_EventForecasterWeightSet_messageType fastReflection_EventForecasterWeightSet_messageType +var _ protoreflect.MessageType = fastReflection_EventForecasterWeightSet_messageType{} + +type fastReflection_EventForecasterWeightSet_messageType struct{} + +func (x fastReflection_EventForecasterWeightSet_messageType) Zero() protoreflect.Message { + return (*fastReflection_EventForecasterWeightSet)(nil) +} +func (x fastReflection_EventForecasterWeightSet_messageType) New() protoreflect.Message { + return new(fastReflection_EventForecasterWeightSet) +} +func (x fastReflection_EventForecasterWeightSet_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_EventForecasterWeightSet +} + +// Descriptor returns message descriptor, which contains only the protobuf +// type information for the message. +func (x *fastReflection_EventForecasterWeightSet) Descriptor() protoreflect.MessageDescriptor { + return md_EventForecasterWeightSet +} + +// Type returns the message type, which encapsulates both Go and protobuf +// type information. If the Go type information is not needed, +// it is recommended that the message descriptor be used instead. +func (x *fastReflection_EventForecasterWeightSet) Type() protoreflect.MessageType { + return _fastReflection_EventForecasterWeightSet_messageType +} + +// New returns a newly allocated and mutable empty message. +func (x *fastReflection_EventForecasterWeightSet) New() protoreflect.Message { + return new(fastReflection_EventForecasterWeightSet) +} + +// Interface unwraps the message reflection interface and +// returns the underlying ProtoMessage interface. +func (x *fastReflection_EventForecasterWeightSet) Interface() protoreflect.ProtoMessage { + return (*EventForecasterWeightSet)(x) +} + +// Range iterates over every populated field in an undefined order, +// calling f for each field descriptor and value encountered. +// Range returns immediately if f returns false. +// While iterating, mutating operations may only be performed +// on the current field descriptor. +func (x *fastReflection_EventForecasterWeightSet) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { + if x.TopicId != uint64(0) { + value := protoreflect.ValueOfUint64(x.TopicId) + if !f(fd_EventForecasterWeightSet_topic_id, value) { + return + } + } + if x.BlockHeight != int64(0) { + value := protoreflect.ValueOfInt64(x.BlockHeight) + if !f(fd_EventForecasterWeightSet_block_height, value) { + return + } + } + if x.Address != "" { + value := protoreflect.ValueOfString(x.Address) + if !f(fd_EventForecasterWeightSet_address, value) { + return + } + } + if x.Weight != "" { + value := protoreflect.ValueOfString(x.Weight) + if !f(fd_EventForecasterWeightSet_weight, value) { + return + } + } +} + +// Has reports whether a field is populated. +// +// Some fields have the property of nullability where it is possible to +// distinguish between the default value of a field and whether the field +// was explicitly populated with the default value. Singular message fields, +// member fields of a oneof, and proto2 scalar fields are nullable. Such +// fields are populated only if explicitly set. +// +// In other cases (aside from the nullable cases above), +// a proto3 scalar field is populated if it contains a non-zero value, and +// a repeated field is populated if it is non-empty. +func (x *fastReflection_EventForecasterWeightSet) Has(fd protoreflect.FieldDescriptor) bool { + switch fd.FullName() { + case "emissions.v8.EventForecasterWeightSet.topic_id": + return x.TopicId != uint64(0) + case "emissions.v8.EventForecasterWeightSet.block_height": + return x.BlockHeight != int64(0) + case "emissions.v8.EventForecasterWeightSet.address": + return x.Address != "" + case "emissions.v8.EventForecasterWeightSet.weight": + return x.Weight != "" + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.EventForecasterWeightSet")) + } + panic(fmt.Errorf("message emissions.v8.EventForecasterWeightSet does not contain field %s", fd.FullName())) + } +} + +// Clear clears the field such that a subsequent Has call reports false. +// +// Clearing an extension field clears both the extension type and value +// associated with the given field number. +// +// Clear is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_EventForecasterWeightSet) Clear(fd protoreflect.FieldDescriptor) { + switch fd.FullName() { + case "emissions.v8.EventForecasterWeightSet.topic_id": + x.TopicId = uint64(0) + case "emissions.v8.EventForecasterWeightSet.block_height": + x.BlockHeight = int64(0) + case "emissions.v8.EventForecasterWeightSet.address": + x.Address = "" + case "emissions.v8.EventForecasterWeightSet.weight": + x.Weight = "" + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.EventForecasterWeightSet")) + } + panic(fmt.Errorf("message emissions.v8.EventForecasterWeightSet does not contain field %s", fd.FullName())) + } +} + +// Get retrieves the value for a field. +// +// For unpopulated scalars, it returns the default value, where +// the default value of a bytes scalar is guaranteed to be a copy. +// For unpopulated composite types, it returns an empty, read-only view +// of the value; to obtain a mutable reference, use Mutable. +func (x *fastReflection_EventForecasterWeightSet) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { + switch descriptor.FullName() { + case "emissions.v8.EventForecasterWeightSet.topic_id": + value := x.TopicId + return protoreflect.ValueOfUint64(value) + case "emissions.v8.EventForecasterWeightSet.block_height": + value := x.BlockHeight + return protoreflect.ValueOfInt64(value) + case "emissions.v8.EventForecasterWeightSet.address": + value := x.Address + return protoreflect.ValueOfString(value) + case "emissions.v8.EventForecasterWeightSet.weight": + value := x.Weight + return protoreflect.ValueOfString(value) + default: + if descriptor.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.EventForecasterWeightSet")) + } + panic(fmt.Errorf("message emissions.v8.EventForecasterWeightSet does not contain field %s", descriptor.FullName())) + } +} + +// Set stores the value for a field. +// +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType. +// When setting a composite type, it is unspecified whether the stored value +// aliases the source's memory in any way. If the composite value is an +// empty, read-only value, then it panics. +// +// Set is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_EventForecasterWeightSet) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { + switch fd.FullName() { + case "emissions.v8.EventForecasterWeightSet.topic_id": + x.TopicId = value.Uint() + case "emissions.v8.EventForecasterWeightSet.block_height": + x.BlockHeight = value.Int() + case "emissions.v8.EventForecasterWeightSet.address": + x.Address = value.Interface().(string) + case "emissions.v8.EventForecasterWeightSet.weight": + x.Weight = value.Interface().(string) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.EventForecasterWeightSet")) + } + panic(fmt.Errorf("message emissions.v8.EventForecasterWeightSet does not contain field %s", fd.FullName())) + } +} + +// Mutable returns a mutable reference to a composite type. +// +// If the field is unpopulated, it may allocate a composite value. +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType +// if not already stored. +// It panics if the field does not contain a composite type. +// +// Mutable is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_EventForecasterWeightSet) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.EventForecasterWeightSet.topic_id": + panic(fmt.Errorf("field topic_id of message emissions.v8.EventForecasterWeightSet is not mutable")) + case "emissions.v8.EventForecasterWeightSet.block_height": + panic(fmt.Errorf("field block_height of message emissions.v8.EventForecasterWeightSet is not mutable")) + case "emissions.v8.EventForecasterWeightSet.address": + panic(fmt.Errorf("field address of message emissions.v8.EventForecasterWeightSet is not mutable")) + case "emissions.v8.EventForecasterWeightSet.weight": + panic(fmt.Errorf("field weight of message emissions.v8.EventForecasterWeightSet is not mutable")) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.EventForecasterWeightSet")) + } + panic(fmt.Errorf("message emissions.v8.EventForecasterWeightSet does not contain field %s", fd.FullName())) + } +} + +// NewField returns a new value that is assignable to the field +// for the given descriptor. For scalars, this returns the default value. +// For lists, maps, and messages, this returns a new, empty, mutable value. +func (x *fastReflection_EventForecasterWeightSet) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.EventForecasterWeightSet.topic_id": + return protoreflect.ValueOfUint64(uint64(0)) + case "emissions.v8.EventForecasterWeightSet.block_height": + return protoreflect.ValueOfInt64(int64(0)) + case "emissions.v8.EventForecasterWeightSet.address": + return protoreflect.ValueOfString("") + case "emissions.v8.EventForecasterWeightSet.weight": + return protoreflect.ValueOfString("") + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.EventForecasterWeightSet")) + } + panic(fmt.Errorf("message emissions.v8.EventForecasterWeightSet does not contain field %s", fd.FullName())) + } +} + +// WhichOneof reports which field within the oneof is populated, +// returning nil if none are populated. +// It panics if the oneof descriptor does not belong to this message. +func (x *fastReflection_EventForecasterWeightSet) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { + switch d.FullName() { + default: + panic(fmt.Errorf("%s is not a oneof field in emissions.v8.EventForecasterWeightSet", d.FullName())) + } + panic("unreachable") +} + +// GetUnknown retrieves the entire list of unknown fields. +// The caller may only mutate the contents of the RawFields +// if the mutated bytes are stored back into the message with SetUnknown. +func (x *fastReflection_EventForecasterWeightSet) GetUnknown() protoreflect.RawFields { + return x.unknownFields +} + +// SetUnknown stores an entire list of unknown fields. +// The raw fields must be syntactically valid according to the wire format. +// An implementation may panic if this is not the case. +// Once stored, the caller must not mutate the content of the RawFields. +// An empty RawFields may be passed to clear the fields. +// +// SetUnknown is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_EventForecasterWeightSet) SetUnknown(fields protoreflect.RawFields) { + x.unknownFields = fields +} + +// IsValid reports whether the message is valid. +// +// An invalid message is an empty, read-only value. +// +// An invalid message often corresponds to a nil pointer of the concrete +// message type, but the details are implementation dependent. +// Validity is not part of the protobuf data model, and may not +// be preserved in marshaling or other operations. +func (x *fastReflection_EventForecasterWeightSet) IsValid() bool { + return x != nil +} + +// ProtoMethods returns optional fastReflectionFeature-path implementations of various operations. +// This method may return nil. +// +// The returned methods type is identical to +// "google.golang.org/protobuf/runtime/protoiface".Methods. +// Consult the protoiface package documentation for details. +func (x *fastReflection_EventForecasterWeightSet) ProtoMethods() *protoiface.Methods { + size := func(input protoiface.SizeInput) protoiface.SizeOutput { + x := input.Message.Interface().(*EventForecasterWeightSet) + if x == nil { + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: 0, + } + } + options := runtime.SizeInputToOptions(input) + _ = options + var n int + var l int + _ = l + if x.TopicId != 0 { + n += 1 + runtime.Sov(uint64(x.TopicId)) + } + if x.BlockHeight != 0 { + n += 1 + runtime.Sov(uint64(x.BlockHeight)) + } + l = len(x.Address) + if l > 0 { + n += 1 + l + runtime.Sov(uint64(l)) + } + l = len(x.Weight) + if l > 0 { + n += 1 + l + runtime.Sov(uint64(l)) + } + if x.unknownFields != nil { + n += len(x.unknownFields) + } + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: n, + } + } + + marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { + x := input.Message.Interface().(*EventForecasterWeightSet) + if x == nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + options := runtime.MarshalInputToOptions(input) + _ = options + size := options.Size(x) + dAtA := make([]byte, size) + i := len(dAtA) + _ = i + var l int + _ = l + if x.unknownFields != nil { + i -= len(x.unknownFields) + copy(dAtA[i:], x.unknownFields) + } + if len(x.Weight) > 0 { + i -= len(x.Weight) + copy(dAtA[i:], x.Weight) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.Weight))) + i-- + dAtA[i] = 0x22 + } + if len(x.Address) > 0 { + i -= len(x.Address) + copy(dAtA[i:], x.Address) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.Address))) + i-- + dAtA[i] = 0x1a + } + if x.BlockHeight != 0 { + i = runtime.EncodeVarint(dAtA, i, uint64(x.BlockHeight)) + i-- + dAtA[i] = 0x10 + } + if x.TopicId != 0 { + i = runtime.EncodeVarint(dAtA, i, uint64(x.TopicId)) + i-- + dAtA[i] = 0x8 + } + if input.Buf != nil { + input.Buf = append(input.Buf, dAtA...) + } else { + input.Buf = dAtA + } + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { + x := input.Message.Interface().(*EventForecasterWeightSet) + if x == nil { + return protoiface.UnmarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Flags: input.Flags, + }, nil + } + options := runtime.UnmarshalInputToOptions(input) + _ = options + dAtA := input.Buf + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: EventForecasterWeightSet: wiretype end group for non-group") + } + if fieldNum <= 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: EventForecasterWeightSet: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field TopicId", wireType) + } + x.TopicId = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + x.TopicId |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 2: + if wireType != 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field BlockHeight", wireType) + } + x.BlockHeight = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + x.BlockHeight |= int64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 3: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Address", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + x.Address = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 4: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Weight", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + x.Weight = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := runtime.Skip(dAtA[iNdEx:]) + if err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if (iNdEx + skippy) > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + if !options.DiscardUnknown { + x.unknownFields = append(x.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + } + iNdEx += skippy + } + } + + if iNdEx > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, nil + } + return &protoiface.Methods{ + NoUnkeyedLiterals: struct{}{}, + Flags: protoiface.SupportMarshalDeterministic | protoiface.SupportUnmarshalDiscardUnknown, + Size: size, + Marshal: marshal, + Unmarshal: unmarshal, + Merge: nil, + CheckInitialized: nil, + } +} + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.27.0 +// protoc (unknown) +// source: emissions/v8/events.proto + +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 ActorType int32 + +const ( + ActorType_ACTOR_TYPE_INFERER_UNSPECIFIED ActorType = 0 + ActorType_ACTOR_TYPE_FORECASTER ActorType = 1 + ActorType_ACTOR_TYPE_REPUTER ActorType = 2 +) + +// Enum value maps for ActorType. +var ( + ActorType_name = map[int32]string{ + 0: "ACTOR_TYPE_INFERER_UNSPECIFIED", + 1: "ACTOR_TYPE_FORECASTER", + 2: "ACTOR_TYPE_REPUTER", + } + ActorType_value = map[string]int32{ + "ACTOR_TYPE_INFERER_UNSPECIFIED": 0, + "ACTOR_TYPE_FORECASTER": 1, + "ACTOR_TYPE_REPUTER": 2, + } +) + +func (x ActorType) Enum() *ActorType { + p := new(ActorType) + *p = x + return p +} + +func (x ActorType) String() string { + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (ActorType) Descriptor() protoreflect.EnumDescriptor { + return file_emissions_v8_events_proto_enumTypes[0].Descriptor() +} + +func (ActorType) Type() protoreflect.EnumType { + return &file_emissions_v8_events_proto_enumTypes[0] +} + +func (x ActorType) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use ActorType.Descriptor instead. +func (ActorType) EnumDescriptor() ([]byte, []int) { + return file_emissions_v8_events_proto_rawDescGZIP(), []int{0} +} + +type EventScoresSet struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + ActorType ActorType `protobuf:"varint,1,opt,name=actor_type,json=actorType,proto3,enum=emissions.v8.ActorType" json:"actor_type,omitempty"` + TopicId uint64 `protobuf:"varint,2,opt,name=topic_id,json=topicId,proto3" json:"topic_id,omitempty"` + BlockHeight int64 `protobuf:"varint,3,opt,name=block_height,json=blockHeight,proto3" json:"block_height,omitempty"` + Addresses []string `protobuf:"bytes,4,rep,name=addresses,proto3" json:"addresses,omitempty"` + Scores []string `protobuf:"bytes,5,rep,name=scores,proto3" json:"scores,omitempty"` +} + +func (x *EventScoresSet) Reset() { + *x = EventScoresSet{} + if protoimpl.UnsafeEnabled { + mi := &file_emissions_v8_events_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *EventScoresSet) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*EventScoresSet) ProtoMessage() {} + +// Deprecated: Use EventScoresSet.ProtoReflect.Descriptor instead. +func (*EventScoresSet) Descriptor() ([]byte, []int) { + return file_emissions_v8_events_proto_rawDescGZIP(), []int{0} +} + +func (x *EventScoresSet) GetActorType() ActorType { + if x != nil { + return x.ActorType + } + return ActorType_ACTOR_TYPE_INFERER_UNSPECIFIED +} + +func (x *EventScoresSet) GetTopicId() uint64 { + if x != nil { + return x.TopicId + } + return 0 +} + +func (x *EventScoresSet) GetBlockHeight() int64 { + if x != nil { + return x.BlockHeight + } + return 0 +} + +func (x *EventScoresSet) GetAddresses() []string { + if x != nil { + return x.Addresses + } + return nil +} + +func (x *EventScoresSet) GetScores() []string { + if x != nil { + return x.Scores + } + return nil +} + +type EventRewardsSettled struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + ActorType ActorType `protobuf:"varint,1,opt,name=actor_type,json=actorType,proto3,enum=emissions.v8.ActorType" json:"actor_type,omitempty"` + TopicId uint64 `protobuf:"varint,2,opt,name=topic_id,json=topicId,proto3" json:"topic_id,omitempty"` + BlockHeight int64 `protobuf:"varint,3,opt,name=block_height,json=blockHeight,proto3" json:"block_height,omitempty"` + Addresses []string `protobuf:"bytes,4,rep,name=addresses,proto3" json:"addresses,omitempty"` + Rewards []string `protobuf:"bytes,5,rep,name=rewards,proto3" json:"rewards,omitempty"` + BlockHeightTx int64 `protobuf:"varint,6,opt,name=block_height_tx,json=blockHeightTx,proto3" json:"block_height_tx,omitempty"` +} + +func (x *EventRewardsSettled) Reset() { + *x = EventRewardsSettled{} + if protoimpl.UnsafeEnabled { + mi := &file_emissions_v8_events_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *EventRewardsSettled) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*EventRewardsSettled) ProtoMessage() {} + +// Deprecated: Use EventRewardsSettled.ProtoReflect.Descriptor instead. +func (*EventRewardsSettled) Descriptor() ([]byte, []int) { + return file_emissions_v8_events_proto_rawDescGZIP(), []int{1} +} + +func (x *EventRewardsSettled) GetActorType() ActorType { + if x != nil { + return x.ActorType + } + return ActorType_ACTOR_TYPE_INFERER_UNSPECIFIED +} + +func (x *EventRewardsSettled) GetTopicId() uint64 { + if x != nil { + return x.TopicId + } + return 0 +} + +func (x *EventRewardsSettled) GetBlockHeight() int64 { + if x != nil { + return x.BlockHeight + } + return 0 +} + +func (x *EventRewardsSettled) GetAddresses() []string { + if x != nil { + return x.Addresses + } + return nil +} + +func (x *EventRewardsSettled) GetRewards() []string { + if x != nil { + return x.Rewards + } + return nil +} + +func (x *EventRewardsSettled) GetBlockHeightTx() int64 { + if x != nil { + return x.BlockHeightTx + } + return 0 +} + +type EventNetworkLossSet struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + TopicId uint64 `protobuf:"varint,1,opt,name=topic_id,json=topicId,proto3" json:"topic_id,omitempty"` + BlockHeight int64 `protobuf:"varint,2,opt,name=block_height,json=blockHeight,proto3" json:"block_height,omitempty"` + ValueBundle *v3.ValueBundle `protobuf:"bytes,3,opt,name=value_bundle,json=valueBundle,proto3" json:"value_bundle,omitempty"` +} + +func (x *EventNetworkLossSet) Reset() { + *x = EventNetworkLossSet{} + if protoimpl.UnsafeEnabled { + mi := &file_emissions_v8_events_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *EventNetworkLossSet) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*EventNetworkLossSet) ProtoMessage() {} + +// Deprecated: Use EventNetworkLossSet.ProtoReflect.Descriptor instead. +func (*EventNetworkLossSet) Descriptor() ([]byte, []int) { + return file_emissions_v8_events_proto_rawDescGZIP(), []int{2} +} + +func (x *EventNetworkLossSet) GetTopicId() uint64 { + if x != nil { + return x.TopicId + } + return 0 +} + +func (x *EventNetworkLossSet) GetBlockHeight() int64 { + if x != nil { + return x.BlockHeight + } + return 0 +} + +func (x *EventNetworkLossSet) GetValueBundle() *v3.ValueBundle { + if x != nil { + return x.ValueBundle + } + return nil +} + +type EventForecastTaskScoreSet struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + TopicId uint64 `protobuf:"varint,1,opt,name=topic_id,json=topicId,proto3" json:"topic_id,omitempty"` + Score string `protobuf:"bytes,2,opt,name=score,proto3" json:"score,omitempty"` +} + +func (x *EventForecastTaskScoreSet) Reset() { + *x = EventForecastTaskScoreSet{} + if protoimpl.UnsafeEnabled { + mi := &file_emissions_v8_events_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *EventForecastTaskScoreSet) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*EventForecastTaskScoreSet) ProtoMessage() {} + +// Deprecated: Use EventForecastTaskScoreSet.ProtoReflect.Descriptor instead. +func (*EventForecastTaskScoreSet) Descriptor() ([]byte, []int) { + return file_emissions_v8_events_proto_rawDescGZIP(), []int{3} +} + +func (x *EventForecastTaskScoreSet) GetTopicId() uint64 { + if x != nil { + return x.TopicId + } + return 0 +} + +func (x *EventForecastTaskScoreSet) GetScore() string { + if x != nil { + return x.Score + } + return "" +} + +type EventWorkerLastCommitSet struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + TopicId uint64 `protobuf:"varint,1,opt,name=topic_id,json=topicId,proto3" json:"topic_id,omitempty"` + BlockHeight int64 `protobuf:"varint,2,opt,name=block_height,json=blockHeight,proto3" json:"block_height,omitempty"` + Nonce *v3.Nonce `protobuf:"bytes,3,opt,name=nonce,proto3" json:"nonce,omitempty"` +} + +func (x *EventWorkerLastCommitSet) Reset() { + *x = EventWorkerLastCommitSet{} + if protoimpl.UnsafeEnabled { + mi := &file_emissions_v8_events_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *EventWorkerLastCommitSet) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*EventWorkerLastCommitSet) ProtoMessage() {} + +// Deprecated: Use EventWorkerLastCommitSet.ProtoReflect.Descriptor instead. +func (*EventWorkerLastCommitSet) Descriptor() ([]byte, []int) { + return file_emissions_v8_events_proto_rawDescGZIP(), []int{4} +} + +func (x *EventWorkerLastCommitSet) GetTopicId() uint64 { + if x != nil { + return x.TopicId + } + return 0 +} + +func (x *EventWorkerLastCommitSet) GetBlockHeight() int64 { + if x != nil { + return x.BlockHeight + } + return 0 +} + +func (x *EventWorkerLastCommitSet) GetNonce() *v3.Nonce { + if x != nil { + return x.Nonce + } + return nil +} + +type EventReputerLastCommitSet struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + TopicId uint64 `protobuf:"varint,1,opt,name=topic_id,json=topicId,proto3" json:"topic_id,omitempty"` + BlockHeight int64 `protobuf:"varint,2,opt,name=block_height,json=blockHeight,proto3" json:"block_height,omitempty"` + Nonce *v3.Nonce `protobuf:"bytes,3,opt,name=nonce,proto3" json:"nonce,omitempty"` +} + +func (x *EventReputerLastCommitSet) Reset() { + *x = EventReputerLastCommitSet{} + if protoimpl.UnsafeEnabled { + mi := &file_emissions_v8_events_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *EventReputerLastCommitSet) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*EventReputerLastCommitSet) ProtoMessage() {} + +// Deprecated: Use EventReputerLastCommitSet.ProtoReflect.Descriptor instead. +func (*EventReputerLastCommitSet) Descriptor() ([]byte, []int) { + return file_emissions_v8_events_proto_rawDescGZIP(), []int{5} +} + +func (x *EventReputerLastCommitSet) GetTopicId() uint64 { + if x != nil { + return x.TopicId + } + return 0 +} + +func (x *EventReputerLastCommitSet) GetBlockHeight() int64 { + if x != nil { + return x.BlockHeight + } + return 0 +} + +func (x *EventReputerLastCommitSet) GetNonce() *v3.Nonce { + if x != nil { + return x.Nonce + } + return nil +} + +type EventTopicRewardsSet struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + TopicIds []uint64 `protobuf:"varint,1,rep,packed,name=topic_ids,json=topicIds,proto3" json:"topic_ids,omitempty"` + Rewards []string `protobuf:"bytes,2,rep,name=rewards,proto3" json:"rewards,omitempty"` +} + +func (x *EventTopicRewardsSet) Reset() { + *x = EventTopicRewardsSet{} + if protoimpl.UnsafeEnabled { + mi := &file_emissions_v8_events_proto_msgTypes[6] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *EventTopicRewardsSet) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*EventTopicRewardsSet) ProtoMessage() {} + +// Deprecated: Use EventTopicRewardsSet.ProtoReflect.Descriptor instead. +func (*EventTopicRewardsSet) Descriptor() ([]byte, []int) { + return file_emissions_v8_events_proto_rawDescGZIP(), []int{6} +} + +func (x *EventTopicRewardsSet) GetTopicIds() []uint64 { + if x != nil { + return x.TopicIds + } + return nil +} + +func (x *EventTopicRewardsSet) GetRewards() []string { + if x != nil { + return x.Rewards + } + return nil +} + +type EventEMAScoresSet struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + ActorType ActorType `protobuf:"varint,1,opt,name=actor_type,json=actorType,proto3,enum=emissions.v8.ActorType" json:"actor_type,omitempty"` + TopicId uint64 `protobuf:"varint,2,opt,name=topic_id,json=topicId,proto3" json:"topic_id,omitempty"` + Nonce int64 `protobuf:"varint,3,opt,name=nonce,proto3" json:"nonce,omitempty"` + Addresses []string `protobuf:"bytes,4,rep,name=addresses,proto3" json:"addresses,omitempty"` + Scores []string `protobuf:"bytes,5,rep,name=scores,proto3" json:"scores,omitempty"` + IsActive []bool `protobuf:"varint,6,rep,packed,name=is_active,json=isActive,proto3" json:"is_active,omitempty"` +} + +func (x *EventEMAScoresSet) Reset() { + *x = EventEMAScoresSet{} + if protoimpl.UnsafeEnabled { + mi := &file_emissions_v8_events_proto_msgTypes[7] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *EventEMAScoresSet) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*EventEMAScoresSet) ProtoMessage() {} + +// Deprecated: Use EventEMAScoresSet.ProtoReflect.Descriptor instead. +func (*EventEMAScoresSet) Descriptor() ([]byte, []int) { + return file_emissions_v8_events_proto_rawDescGZIP(), []int{7} +} + +func (x *EventEMAScoresSet) GetActorType() ActorType { + if x != nil { + return x.ActorType + } + return ActorType_ACTOR_TYPE_INFERER_UNSPECIFIED +} + +func (x *EventEMAScoresSet) GetTopicId() uint64 { + if x != nil { + return x.TopicId + } + return 0 +} + +func (x *EventEMAScoresSet) GetNonce() int64 { + if x != nil { + return x.Nonce + } + return 0 +} + +func (x *EventEMAScoresSet) GetAddresses() []string { + if x != nil { + return x.Addresses + } + return nil +} + +func (x *EventEMAScoresSet) GetScores() []string { + if x != nil { + return x.Scores + } + return nil +} + +func (x *EventEMAScoresSet) GetIsActive() []bool { + if x != nil { + return x.IsActive + } + return nil +} + +type EventListeningCoefficientsSet struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + ActorType ActorType `protobuf:"varint,1,opt,name=actor_type,json=actorType,proto3,enum=emissions.v8.ActorType" json:"actor_type,omitempty"` + TopicId uint64 `protobuf:"varint,2,opt,name=topic_id,json=topicId,proto3" json:"topic_id,omitempty"` + BlockHeight int64 `protobuf:"varint,3,opt,name=block_height,json=blockHeight,proto3" json:"block_height,omitempty"` + Addresses []string `protobuf:"bytes,4,rep,name=addresses,proto3" json:"addresses,omitempty"` + Coefficients []string `protobuf:"bytes,5,rep,name=coefficients,proto3" json:"coefficients,omitempty"` +} + +func (x *EventListeningCoefficientsSet) Reset() { + *x = EventListeningCoefficientsSet{} + if protoimpl.UnsafeEnabled { + mi := &file_emissions_v8_events_proto_msgTypes[8] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *EventListeningCoefficientsSet) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*EventListeningCoefficientsSet) ProtoMessage() {} + +// Deprecated: Use EventListeningCoefficientsSet.ProtoReflect.Descriptor instead. +func (*EventListeningCoefficientsSet) Descriptor() ([]byte, []int) { + return file_emissions_v8_events_proto_rawDescGZIP(), []int{8} +} + +func (x *EventListeningCoefficientsSet) GetActorType() ActorType { + if x != nil { + return x.ActorType + } + return ActorType_ACTOR_TYPE_INFERER_UNSPECIFIED +} + +func (x *EventListeningCoefficientsSet) GetTopicId() uint64 { + if x != nil { + return x.TopicId + } + return 0 +} + +func (x *EventListeningCoefficientsSet) GetBlockHeight() int64 { + if x != nil { + return x.BlockHeight + } + return 0 +} + +func (x *EventListeningCoefficientsSet) GetAddresses() []string { + if x != nil { + return x.Addresses + } + return nil +} + +func (x *EventListeningCoefficientsSet) GetCoefficients() []string { + if x != nil { + return x.Coefficients + } + return nil +} + +type EventInfererNetworkRegretSet struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + TopicId uint64 `protobuf:"varint,1,opt,name=topic_id,json=topicId,proto3" json:"topic_id,omitempty"` + BlockHeight int64 `protobuf:"varint,2,opt,name=block_height,json=blockHeight,proto3" json:"block_height,omitempty"` + Addresses []string `protobuf:"bytes,3,rep,name=addresses,proto3" json:"addresses,omitempty"` + Regrets []string `protobuf:"bytes,4,rep,name=regrets,proto3" json:"regrets,omitempty"` +} + +func (x *EventInfererNetworkRegretSet) Reset() { + *x = EventInfererNetworkRegretSet{} + if protoimpl.UnsafeEnabled { + mi := &file_emissions_v8_events_proto_msgTypes[9] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *EventInfererNetworkRegretSet) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*EventInfererNetworkRegretSet) ProtoMessage() {} + +// Deprecated: Use EventInfererNetworkRegretSet.ProtoReflect.Descriptor instead. +func (*EventInfererNetworkRegretSet) Descriptor() ([]byte, []int) { + return file_emissions_v8_events_proto_rawDescGZIP(), []int{9} +} + +func (x *EventInfererNetworkRegretSet) GetTopicId() uint64 { + if x != nil { + return x.TopicId + } + return 0 +} + +func (x *EventInfererNetworkRegretSet) GetBlockHeight() int64 { + if x != nil { + return x.BlockHeight + } + return 0 +} + +func (x *EventInfererNetworkRegretSet) GetAddresses() []string { + if x != nil { + return x.Addresses + } + return nil +} + +func (x *EventInfererNetworkRegretSet) GetRegrets() []string { + if x != nil { + return x.Regrets + } + return nil +} + +type EventForecasterNetworkRegretSet struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + TopicId uint64 `protobuf:"varint,1,opt,name=topic_id,json=topicId,proto3" json:"topic_id,omitempty"` + BlockHeight int64 `protobuf:"varint,2,opt,name=block_height,json=blockHeight,proto3" json:"block_height,omitempty"` + Addresses []string `protobuf:"bytes,3,rep,name=addresses,proto3" json:"addresses,omitempty"` + Regrets []string `protobuf:"bytes,4,rep,name=regrets,proto3" json:"regrets,omitempty"` +} + +func (x *EventForecasterNetworkRegretSet) Reset() { + *x = EventForecasterNetworkRegretSet{} + if protoimpl.UnsafeEnabled { + mi := &file_emissions_v8_events_proto_msgTypes[10] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *EventForecasterNetworkRegretSet) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*EventForecasterNetworkRegretSet) ProtoMessage() {} + +// Deprecated: Use EventForecasterNetworkRegretSet.ProtoReflect.Descriptor instead. +func (*EventForecasterNetworkRegretSet) Descriptor() ([]byte, []int) { + return file_emissions_v8_events_proto_rawDescGZIP(), []int{10} +} + +func (x *EventForecasterNetworkRegretSet) GetTopicId() uint64 { + if x != nil { + return x.TopicId + } + return 0 +} + +func (x *EventForecasterNetworkRegretSet) GetBlockHeight() int64 { + if x != nil { + return x.BlockHeight + } + return 0 +} + +func (x *EventForecasterNetworkRegretSet) GetAddresses() []string { + if x != nil { + return x.Addresses + } + return nil +} + +func (x *EventForecasterNetworkRegretSet) GetRegrets() []string { + if x != nil { + return x.Regrets + } + return nil +} + +type EventNaiveInfererNetworkRegretSet struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + TopicId uint64 `protobuf:"varint,1,opt,name=topic_id,json=topicId,proto3" json:"topic_id,omitempty"` + BlockHeight int64 `protobuf:"varint,2,opt,name=block_height,json=blockHeight,proto3" json:"block_height,omitempty"` + Addresses []string `protobuf:"bytes,3,rep,name=addresses,proto3" json:"addresses,omitempty"` + Regrets []string `protobuf:"bytes,4,rep,name=regrets,proto3" json:"regrets,omitempty"` +} + +func (x *EventNaiveInfererNetworkRegretSet) Reset() { + *x = EventNaiveInfererNetworkRegretSet{} + if protoimpl.UnsafeEnabled { + mi := &file_emissions_v8_events_proto_msgTypes[11] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *EventNaiveInfererNetworkRegretSet) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*EventNaiveInfererNetworkRegretSet) ProtoMessage() {} + +// Deprecated: Use EventNaiveInfererNetworkRegretSet.ProtoReflect.Descriptor instead. +func (*EventNaiveInfererNetworkRegretSet) Descriptor() ([]byte, []int) { + return file_emissions_v8_events_proto_rawDescGZIP(), []int{11} +} + +func (x *EventNaiveInfererNetworkRegretSet) GetTopicId() uint64 { + if x != nil { + return x.TopicId + } + return 0 +} + +func (x *EventNaiveInfererNetworkRegretSet) GetBlockHeight() int64 { + if x != nil { + return x.BlockHeight + } + return 0 +} + +func (x *EventNaiveInfererNetworkRegretSet) GetAddresses() []string { + if x != nil { + return x.Addresses + } + return nil +} + +func (x *EventNaiveInfererNetworkRegretSet) GetRegrets() []string { + if x != nil { + return x.Regrets + } + return nil +} + +type EventTopicInitialRegretSet struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + TopicId uint64 `protobuf:"varint,1,opt,name=topic_id,json=topicId,proto3" json:"topic_id,omitempty"` + BlockHeight int64 `protobuf:"varint,2,opt,name=block_height,json=blockHeight,proto3" json:"block_height,omitempty"` + Regret string `protobuf:"bytes,3,opt,name=regret,proto3" json:"regret,omitempty"` +} + +func (x *EventTopicInitialRegretSet) Reset() { + *x = EventTopicInitialRegretSet{} + if protoimpl.UnsafeEnabled { + mi := &file_emissions_v8_events_proto_msgTypes[12] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *EventTopicInitialRegretSet) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*EventTopicInitialRegretSet) ProtoMessage() {} + +// Deprecated: Use EventTopicInitialRegretSet.ProtoReflect.Descriptor instead. +func (*EventTopicInitialRegretSet) Descriptor() ([]byte, []int) { + return file_emissions_v8_events_proto_rawDescGZIP(), []int{12} +} + +func (x *EventTopicInitialRegretSet) GetTopicId() uint64 { + if x != nil { + return x.TopicId + } + return 0 +} + +func (x *EventTopicInitialRegretSet) GetBlockHeight() int64 { + if x != nil { + return x.BlockHeight + } + return 0 +} + +func (x *EventTopicInitialRegretSet) GetRegret() string { + if x != nil { + return x.Regret + } + return "" +} + +type EventTopicInitialEmaScoreSet struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + ActorType ActorType `protobuf:"varint,1,opt,name=actor_type,json=actorType,proto3,enum=emissions.v8.ActorType" json:"actor_type,omitempty"` + TopicId uint64 `protobuf:"varint,2,opt,name=topic_id,json=topicId,proto3" json:"topic_id,omitempty"` + BlockHeight int64 `protobuf:"varint,3,opt,name=block_height,json=blockHeight,proto3" json:"block_height,omitempty"` + Score string `protobuf:"bytes,4,opt,name=score,proto3" json:"score,omitempty"` +} + +func (x *EventTopicInitialEmaScoreSet) Reset() { + *x = EventTopicInitialEmaScoreSet{} + if protoimpl.UnsafeEnabled { + mi := &file_emissions_v8_events_proto_msgTypes[13] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *EventTopicInitialEmaScoreSet) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*EventTopicInitialEmaScoreSet) ProtoMessage() {} + +// Deprecated: Use EventTopicInitialEmaScoreSet.ProtoReflect.Descriptor instead. +func (*EventTopicInitialEmaScoreSet) Descriptor() ([]byte, []int) { + return file_emissions_v8_events_proto_rawDescGZIP(), []int{13} +} + +func (x *EventTopicInitialEmaScoreSet) GetActorType() ActorType { + if x != nil { + return x.ActorType + } + return ActorType_ACTOR_TYPE_INFERER_UNSPECIFIED +} + +func (x *EventTopicInitialEmaScoreSet) GetTopicId() uint64 { + if x != nil { + return x.TopicId + } + return 0 +} + +func (x *EventTopicInitialEmaScoreSet) GetBlockHeight() int64 { + if x != nil { + return x.BlockHeight + } + return 0 +} + +func (x *EventTopicInitialEmaScoreSet) GetScore() string { + if x != nil { + return x.Score + } + return "" +} + +type EventRegretStdNormSet struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + TopicId uint64 `protobuf:"varint,1,opt,name=topic_id,json=topicId,proto3" json:"topic_id,omitempty"` + BlockHeight int64 `protobuf:"varint,2,opt,name=block_height,json=blockHeight,proto3" json:"block_height,omitempty"` + Stdnorm string `protobuf:"bytes,3,opt,name=stdnorm,proto3" json:"stdnorm,omitempty"` +} + +func (x *EventRegretStdNormSet) Reset() { + *x = EventRegretStdNormSet{} + if protoimpl.UnsafeEnabled { + mi := &file_emissions_v8_events_proto_msgTypes[14] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *EventRegretStdNormSet) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*EventRegretStdNormSet) ProtoMessage() {} + +// Deprecated: Use EventRegretStdNormSet.ProtoReflect.Descriptor instead. +func (*EventRegretStdNormSet) Descriptor() ([]byte, []int) { + return file_emissions_v8_events_proto_rawDescGZIP(), []int{14} +} + +func (x *EventRegretStdNormSet) GetTopicId() uint64 { + if x != nil { + return x.TopicId + } + return 0 +} + +func (x *EventRegretStdNormSet) GetBlockHeight() int64 { + if x != nil { + return x.BlockHeight + } + return 0 +} + +func (x *EventRegretStdNormSet) GetStdnorm() string { + if x != nil { + return x.Stdnorm + } + return "" +} + +type EventInfererWeightSet struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + TopicId uint64 `protobuf:"varint,1,opt,name=topic_id,json=topicId,proto3" json:"topic_id,omitempty"` + BlockHeight int64 `protobuf:"varint,2,opt,name=block_height,json=blockHeight,proto3" json:"block_height,omitempty"` + Address string `protobuf:"bytes,3,opt,name=address,proto3" json:"address,omitempty"` + Weight string `protobuf:"bytes,4,opt,name=weight,proto3" json:"weight,omitempty"` +} + +func (x *EventInfererWeightSet) Reset() { + *x = EventInfererWeightSet{} + if protoimpl.UnsafeEnabled { + mi := &file_emissions_v8_events_proto_msgTypes[15] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *EventInfererWeightSet) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*EventInfererWeightSet) ProtoMessage() {} + +// Deprecated: Use EventInfererWeightSet.ProtoReflect.Descriptor instead. +func (*EventInfererWeightSet) Descriptor() ([]byte, []int) { + return file_emissions_v8_events_proto_rawDescGZIP(), []int{15} +} + +func (x *EventInfererWeightSet) GetTopicId() uint64 { + if x != nil { + return x.TopicId + } + return 0 +} + +func (x *EventInfererWeightSet) GetBlockHeight() int64 { + if x != nil { + return x.BlockHeight + } + return 0 +} + +func (x *EventInfererWeightSet) GetAddress() string { + if x != nil { + return x.Address + } + return "" +} + +func (x *EventInfererWeightSet) GetWeight() string { + if x != nil { + return x.Weight + } + return "" +} + +type EventForecasterWeightSet struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + TopicId uint64 `protobuf:"varint,1,opt,name=topic_id,json=topicId,proto3" json:"topic_id,omitempty"` + BlockHeight int64 `protobuf:"varint,2,opt,name=block_height,json=blockHeight,proto3" json:"block_height,omitempty"` + Address string `protobuf:"bytes,3,opt,name=address,proto3" json:"address,omitempty"` + Weight string `protobuf:"bytes,4,opt,name=weight,proto3" json:"weight,omitempty"` +} + +func (x *EventForecasterWeightSet) Reset() { + *x = EventForecasterWeightSet{} + if protoimpl.UnsafeEnabled { + mi := &file_emissions_v8_events_proto_msgTypes[16] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *EventForecasterWeightSet) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*EventForecasterWeightSet) ProtoMessage() {} + +// Deprecated: Use EventForecasterWeightSet.ProtoReflect.Descriptor instead. +func (*EventForecasterWeightSet) Descriptor() ([]byte, []int) { + return file_emissions_v8_events_proto_rawDescGZIP(), []int{16} +} + +func (x *EventForecasterWeightSet) GetTopicId() uint64 { + if x != nil { + return x.TopicId + } + return 0 +} + +func (x *EventForecasterWeightSet) GetBlockHeight() int64 { + if x != nil { + return x.BlockHeight + } + return 0 +} + +func (x *EventForecasterWeightSet) GetAddress() string { + if x != nil { + return x.Address + } + return "" +} + +func (x *EventForecasterWeightSet) GetWeight() string { + if x != nil { + return x.Weight + } + return "" +} + +var File_emissions_v8_events_proto protoreflect.FileDescriptor + +var file_emissions_v8_events_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x65, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x76, 0x38, 0x2f, 0x65, + 0x76, 0x65, 0x6e, 0x74, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x0c, 0x65, 0x6d, 0x69, + 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x38, 0x1a, 0x18, 0x65, 0x6d, 0x69, 0x73, 0x73, + 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x76, 0x33, 0x2f, 0x6e, 0x6f, 0x6e, 0x63, 0x65, 0x2e, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x1a, 0x1a, 0x65, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x76, + 0x33, 0x2f, 0x72, 0x65, 0x70, 0x75, 0x74, 0x65, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, + 0x14, 0x67, 0x6f, 0x67, 0x6f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x6f, 0x67, 0x6f, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xf5, 0x01, 0x0a, 0x0e, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x53, + 0x63, 0x6f, 0x72, 0x65, 0x73, 0x53, 0x65, 0x74, 0x12, 0x36, 0x0a, 0x0a, 0x61, 0x63, 0x74, 0x6f, + 0x72, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x17, 0x2e, 0x65, + 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x38, 0x2e, 0x41, 0x63, 0x74, 0x6f, + 0x72, 0x54, 0x79, 0x70, 0x65, 0x52, 0x09, 0x61, 0x63, 0x74, 0x6f, 0x72, 0x54, 0x79, 0x70, 0x65, + 0x12, 0x19, 0x0a, 0x08, 0x74, 0x6f, 0x70, 0x69, 0x63, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, + 0x28, 0x04, 0x52, 0x07, 0x74, 0x6f, 0x70, 0x69, 0x63, 0x49, 0x64, 0x12, 0x21, 0x0a, 0x0c, 0x62, + 0x6c, 0x6f, 0x63, 0x6b, 0x5f, 0x68, 0x65, 0x69, 0x67, 0x68, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, + 0x03, 0x52, 0x0b, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x48, 0x65, 0x69, 0x67, 0x68, 0x74, 0x12, 0x1c, + 0x0a, 0x09, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x65, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, + 0x09, 0x52, 0x09, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x65, 0x73, 0x12, 0x4f, 0x0a, 0x06, + 0x73, 0x63, 0x6f, 0x72, 0x65, 0x73, 0x18, 0x05, 0x20, 0x03, 0x28, 0x09, 0x42, 0x37, 0xc8, 0xde, + 0x1f, 0x00, 0xda, 0xde, 0x1f, 0x2f, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, + 0x2f, 0x61, 0x6c, 0x6c, 0x6f, 0x72, 0x61, 0x2d, 0x6e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x2f, + 0x61, 0x6c, 0x6c, 0x6f, 0x72, 0x61, 0x2d, 0x63, 0x68, 0x61, 0x69, 0x6e, 0x2f, 0x6d, 0x61, 0x74, + 0x68, 0x2e, 0x44, 0x65, 0x63, 0x52, 0x06, 0x73, 0x63, 0x6f, 0x72, 0x65, 0x73, 0x22, 0xa4, 0x02, + 0x0a, 0x13, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x77, 0x61, 0x72, 0x64, 0x73, 0x53, 0x65, + 0x74, 0x74, 0x6c, 0x65, 0x64, 0x12, 0x36, 0x0a, 0x0a, 0x61, 0x63, 0x74, 0x6f, 0x72, 0x5f, 0x74, + 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x17, 0x2e, 0x65, 0x6d, 0x69, 0x73, + 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x38, 0x2e, 0x41, 0x63, 0x74, 0x6f, 0x72, 0x54, 0x79, + 0x70, 0x65, 0x52, 0x09, 0x61, 0x63, 0x74, 0x6f, 0x72, 0x54, 0x79, 0x70, 0x65, 0x12, 0x19, 0x0a, + 0x08, 0x74, 0x6f, 0x70, 0x69, 0x63, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x04, 0x52, + 0x07, 0x74, 0x6f, 0x70, 0x69, 0x63, 0x49, 0x64, 0x12, 0x21, 0x0a, 0x0c, 0x62, 0x6c, 0x6f, 0x63, + 0x6b, 0x5f, 0x68, 0x65, 0x69, 0x67, 0x68, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0b, + 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x48, 0x65, 0x69, 0x67, 0x68, 0x74, 0x12, 0x1c, 0x0a, 0x09, 0x61, + 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x65, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x09, 0x52, 0x09, + 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x65, 0x73, 0x12, 0x51, 0x0a, 0x07, 0x72, 0x65, 0x77, + 0x61, 0x72, 0x64, 0x73, 0x18, 0x05, 0x20, 0x03, 0x28, 0x09, 0x42, 0x37, 0xc8, 0xde, 0x1f, 0x00, + 0xda, 0xde, 0x1f, 0x2f, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x61, + 0x6c, 0x6c, 0x6f, 0x72, 0x61, 0x2d, 0x6e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x2f, 0x61, 0x6c, + 0x6c, 0x6f, 0x72, 0x61, 0x2d, 0x63, 0x68, 0x61, 0x69, 0x6e, 0x2f, 0x6d, 0x61, 0x74, 0x68, 0x2e, + 0x44, 0x65, 0x63, 0x52, 0x07, 0x72, 0x65, 0x77, 0x61, 0x72, 0x64, 0x73, 0x12, 0x26, 0x0a, 0x0f, + 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x5f, 0x68, 0x65, 0x69, 0x67, 0x68, 0x74, 0x5f, 0x74, 0x78, 0x18, + 0x06, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0d, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x48, 0x65, 0x69, 0x67, + 0x68, 0x74, 0x54, 0x78, 0x22, 0x91, 0x01, 0x0a, 0x13, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x4e, 0x65, + 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x4c, 0x6f, 0x73, 0x73, 0x53, 0x65, 0x74, 0x12, 0x19, 0x0a, 0x08, + 0x74, 0x6f, 0x70, 0x69, 0x63, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x07, + 0x74, 0x6f, 0x70, 0x69, 0x63, 0x49, 0x64, 0x12, 0x21, 0x0a, 0x0c, 0x62, 0x6c, 0x6f, 0x63, 0x6b, + 0x5f, 0x68, 0x65, 0x69, 0x67, 0x68, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0b, 0x62, + 0x6c, 0x6f, 0x63, 0x6b, 0x48, 0x65, 0x69, 0x67, 0x68, 0x74, 0x12, 0x3c, 0x0a, 0x0c, 0x76, 0x61, + 0x6c, 0x75, 0x65, 0x5f, 0x62, 0x75, 0x6e, 0x64, 0x6c, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, + 0x32, 0x19, 0x2e, 0x65, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x33, 0x2e, + 0x56, 0x61, 0x6c, 0x75, 0x65, 0x42, 0x75, 0x6e, 0x64, 0x6c, 0x65, 0x52, 0x0b, 0x76, 0x61, 0x6c, + 0x75, 0x65, 0x42, 0x75, 0x6e, 0x64, 0x6c, 0x65, 0x22, 0x85, 0x01, 0x0a, 0x19, 0x45, 0x76, 0x65, + 0x6e, 0x74, 0x46, 0x6f, 0x72, 0x65, 0x63, 0x61, 0x73, 0x74, 0x54, 0x61, 0x73, 0x6b, 0x53, 0x63, + 0x6f, 0x72, 0x65, 0x53, 0x65, 0x74, 0x12, 0x19, 0x0a, 0x08, 0x74, 0x6f, 0x70, 0x69, 0x63, 0x5f, + 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x07, 0x74, 0x6f, 0x70, 0x69, 0x63, 0x49, + 0x64, 0x12, 0x4d, 0x0a, 0x05, 0x73, 0x63, 0x6f, 0x72, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, + 0x42, 0x37, 0xc8, 0xde, 0x1f, 0x00, 0xda, 0xde, 0x1f, 0x2f, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, + 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x61, 0x6c, 0x6c, 0x6f, 0x72, 0x61, 0x2d, 0x6e, 0x65, 0x74, 0x77, + 0x6f, 0x72, 0x6b, 0x2f, 0x61, 0x6c, 0x6c, 0x6f, 0x72, 0x61, 0x2d, 0x63, 0x68, 0x61, 0x69, 0x6e, + 0x2f, 0x6d, 0x61, 0x74, 0x68, 0x2e, 0x44, 0x65, 0x63, 0x52, 0x05, 0x73, 0x63, 0x6f, 0x72, 0x65, + 0x22, 0x83, 0x01, 0x0a, 0x18, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x57, 0x6f, 0x72, 0x6b, 0x65, 0x72, + 0x4c, 0x61, 0x73, 0x74, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x53, 0x65, 0x74, 0x12, 0x19, 0x0a, + 0x08, 0x74, 0x6f, 0x70, 0x69, 0x63, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, + 0x07, 0x74, 0x6f, 0x70, 0x69, 0x63, 0x49, 0x64, 0x12, 0x21, 0x0a, 0x0c, 0x62, 0x6c, 0x6f, 0x63, + 0x6b, 0x5f, 0x68, 0x65, 0x69, 0x67, 0x68, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0b, + 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x48, 0x65, 0x69, 0x67, 0x68, 0x74, 0x12, 0x29, 0x0a, 0x05, 0x6e, + 0x6f, 0x6e, 0x63, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x13, 0x2e, 0x65, 0x6d, 0x69, + 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x33, 0x2e, 0x4e, 0x6f, 0x6e, 0x63, 0x65, 0x52, + 0x05, 0x6e, 0x6f, 0x6e, 0x63, 0x65, 0x22, 0x84, 0x01, 0x0a, 0x19, 0x45, 0x76, 0x65, 0x6e, 0x74, + 0x52, 0x65, 0x70, 0x75, 0x74, 0x65, 0x72, 0x4c, 0x61, 0x73, 0x74, 0x43, 0x6f, 0x6d, 0x6d, 0x69, + 0x74, 0x53, 0x65, 0x74, 0x12, 0x19, 0x0a, 0x08, 0x74, 0x6f, 0x70, 0x69, 0x63, 0x5f, 0x69, 0x64, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x07, 0x74, 0x6f, 0x70, 0x69, 0x63, 0x49, 0x64, 0x12, + 0x21, 0x0a, 0x0c, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x5f, 0x68, 0x65, 0x69, 0x67, 0x68, 0x74, 0x18, + 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0b, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x48, 0x65, 0x69, 0x67, + 0x68, 0x74, 0x12, 0x29, 0x0a, 0x05, 0x6e, 0x6f, 0x6e, 0x63, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, + 0x0b, 0x32, 0x13, 0x2e, 0x65, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x33, + 0x2e, 0x4e, 0x6f, 0x6e, 0x63, 0x65, 0x52, 0x05, 0x6e, 0x6f, 0x6e, 0x63, 0x65, 0x22, 0x86, 0x01, + 0x0a, 0x14, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x54, 0x6f, 0x70, 0x69, 0x63, 0x52, 0x65, 0x77, 0x61, + 0x72, 0x64, 0x73, 0x53, 0x65, 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x74, 0x6f, 0x70, 0x69, 0x63, 0x5f, + 0x69, 0x64, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x04, 0x52, 0x08, 0x74, 0x6f, 0x70, 0x69, 0x63, + 0x49, 0x64, 0x73, 0x12, 0x51, 0x0a, 0x07, 0x72, 0x65, 0x77, 0x61, 0x72, 0x64, 0x73, 0x18, 0x02, + 0x20, 0x03, 0x28, 0x09, 0x42, 0x37, 0xc8, 0xde, 0x1f, 0x00, 0xda, 0xde, 0x1f, 0x2f, 0x67, 0x69, + 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x61, 0x6c, 0x6c, 0x6f, 0x72, 0x61, 0x2d, + 0x6e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x2f, 0x61, 0x6c, 0x6c, 0x6f, 0x72, 0x61, 0x2d, 0x63, + 0x68, 0x61, 0x69, 0x6e, 0x2f, 0x6d, 0x61, 0x74, 0x68, 0x2e, 0x44, 0x65, 0x63, 0x52, 0x07, 0x72, + 0x65, 0x77, 0x61, 0x72, 0x64, 0x73, 0x22, 0x88, 0x02, 0x0a, 0x11, 0x45, 0x76, 0x65, 0x6e, 0x74, + 0x45, 0x4d, 0x41, 0x53, 0x63, 0x6f, 0x72, 0x65, 0x73, 0x53, 0x65, 0x74, 0x12, 0x36, 0x0a, 0x0a, + 0x61, 0x63, 0x74, 0x6f, 0x72, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, + 0x32, 0x17, 0x2e, 0x65, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x38, 0x2e, + 0x41, 0x63, 0x74, 0x6f, 0x72, 0x54, 0x79, 0x70, 0x65, 0x52, 0x09, 0x61, 0x63, 0x74, 0x6f, 0x72, + 0x54, 0x79, 0x70, 0x65, 0x12, 0x19, 0x0a, 0x08, 0x74, 0x6f, 0x70, 0x69, 0x63, 0x5f, 0x69, 0x64, + 0x18, 0x02, 0x20, 0x01, 0x28, 0x04, 0x52, 0x07, 0x74, 0x6f, 0x70, 0x69, 0x63, 0x49, 0x64, 0x12, + 0x14, 0x0a, 0x05, 0x6e, 0x6f, 0x6e, 0x63, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x05, + 0x6e, 0x6f, 0x6e, 0x63, 0x65, 0x12, 0x1c, 0x0a, 0x09, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, + 0x65, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x09, 0x52, 0x09, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, + 0x73, 0x65, 0x73, 0x12, 0x4f, 0x0a, 0x06, 0x73, 0x63, 0x6f, 0x72, 0x65, 0x73, 0x18, 0x05, 0x20, + 0x03, 0x28, 0x09, 0x42, 0x37, 0xc8, 0xde, 0x1f, 0x00, 0xda, 0xde, 0x1f, 0x2f, 0x67, 0x69, 0x74, + 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x61, 0x6c, 0x6c, 0x6f, 0x72, 0x61, 0x2d, 0x6e, + 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x2f, 0x61, 0x6c, 0x6c, 0x6f, 0x72, 0x61, 0x2d, 0x63, 0x68, + 0x61, 0x69, 0x6e, 0x2f, 0x6d, 0x61, 0x74, 0x68, 0x2e, 0x44, 0x65, 0x63, 0x52, 0x06, 0x73, 0x63, + 0x6f, 0x72, 0x65, 0x73, 0x12, 0x1b, 0x0a, 0x09, 0x69, 0x73, 0x5f, 0x61, 0x63, 0x74, 0x69, 0x76, + 0x65, 0x18, 0x06, 0x20, 0x03, 0x28, 0x08, 0x52, 0x08, 0x69, 0x73, 0x41, 0x63, 0x74, 0x69, 0x76, + 0x65, 0x22, 0x90, 0x02, 0x0a, 0x1d, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x4c, 0x69, 0x73, 0x74, 0x65, + 0x6e, 0x69, 0x6e, 0x67, 0x43, 0x6f, 0x65, 0x66, 0x66, 0x69, 0x63, 0x69, 0x65, 0x6e, 0x74, 0x73, + 0x53, 0x65, 0x74, 0x12, 0x36, 0x0a, 0x0a, 0x61, 0x63, 0x74, 0x6f, 0x72, 0x5f, 0x74, 0x79, 0x70, + 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x17, 0x2e, 0x65, 0x6d, 0x69, 0x73, 0x73, 0x69, + 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x38, 0x2e, 0x41, 0x63, 0x74, 0x6f, 0x72, 0x54, 0x79, 0x70, 0x65, + 0x52, 0x09, 0x61, 0x63, 0x74, 0x6f, 0x72, 0x54, 0x79, 0x70, 0x65, 0x12, 0x19, 0x0a, 0x08, 0x74, + 0x6f, 0x70, 0x69, 0x63, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x04, 0x52, 0x07, 0x74, + 0x6f, 0x70, 0x69, 0x63, 0x49, 0x64, 0x12, 0x21, 0x0a, 0x0c, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x5f, + 0x68, 0x65, 0x69, 0x67, 0x68, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0b, 0x62, 0x6c, + 0x6f, 0x63, 0x6b, 0x48, 0x65, 0x69, 0x67, 0x68, 0x74, 0x12, 0x1c, 0x0a, 0x09, 0x61, 0x64, 0x64, + 0x72, 0x65, 0x73, 0x73, 0x65, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x09, 0x52, 0x09, 0x61, 0x64, + 0x64, 0x72, 0x65, 0x73, 0x73, 0x65, 0x73, 0x12, 0x5b, 0x0a, 0x0c, 0x63, 0x6f, 0x65, 0x66, 0x66, + 0x69, 0x63, 0x69, 0x65, 0x6e, 0x74, 0x73, 0x18, 0x05, 0x20, 0x03, 0x28, 0x09, 0x42, 0x37, 0xc8, + 0xde, 0x1f, 0x00, 0xda, 0xde, 0x1f, 0x2f, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, + 0x6d, 0x2f, 0x61, 0x6c, 0x6c, 0x6f, 0x72, 0x61, 0x2d, 0x6e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, + 0x2f, 0x61, 0x6c, 0x6c, 0x6f, 0x72, 0x61, 0x2d, 0x63, 0x68, 0x61, 0x69, 0x6e, 0x2f, 0x6d, 0x61, + 0x74, 0x68, 0x2e, 0x44, 0x65, 0x63, 0x52, 0x0c, 0x63, 0x6f, 0x65, 0x66, 0x66, 0x69, 0x63, 0x69, + 0x65, 0x6e, 0x74, 0x73, 0x22, 0xcd, 0x01, 0x0a, 0x1c, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x49, 0x6e, + 0x66, 0x65, 0x72, 0x65, 0x72, 0x4e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x52, 0x65, 0x67, 0x72, + 0x65, 0x74, 0x53, 0x65, 0x74, 0x12, 0x19, 0x0a, 0x08, 0x74, 0x6f, 0x70, 0x69, 0x63, 0x5f, 0x69, + 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x07, 0x74, 0x6f, 0x70, 0x69, 0x63, 0x49, 0x64, + 0x12, 0x21, 0x0a, 0x0c, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x5f, 0x68, 0x65, 0x69, 0x67, 0x68, 0x74, + 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0b, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x48, 0x65, 0x69, + 0x67, 0x68, 0x74, 0x12, 0x1c, 0x0a, 0x09, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x65, 0x73, + 0x18, 0x03, 0x20, 0x03, 0x28, 0x09, 0x52, 0x09, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x65, + 0x73, 0x12, 0x51, 0x0a, 0x07, 0x72, 0x65, 0x67, 0x72, 0x65, 0x74, 0x73, 0x18, 0x04, 0x20, 0x03, + 0x28, 0x09, 0x42, 0x37, 0xc8, 0xde, 0x1f, 0x00, 0xda, 0xde, 0x1f, 0x2f, 0x67, 0x69, 0x74, 0x68, + 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x61, 0x6c, 0x6c, 0x6f, 0x72, 0x61, 0x2d, 0x6e, 0x65, + 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x2f, 0x61, 0x6c, 0x6c, 0x6f, 0x72, 0x61, 0x2d, 0x63, 0x68, 0x61, + 0x69, 0x6e, 0x2f, 0x6d, 0x61, 0x74, 0x68, 0x2e, 0x44, 0x65, 0x63, 0x52, 0x07, 0x72, 0x65, 0x67, + 0x72, 0x65, 0x74, 0x73, 0x22, 0xd0, 0x01, 0x0a, 0x1f, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x46, 0x6f, + 0x72, 0x65, 0x63, 0x61, 0x73, 0x74, 0x65, 0x72, 0x4e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x52, + 0x65, 0x67, 0x72, 0x65, 0x74, 0x53, 0x65, 0x74, 0x12, 0x19, 0x0a, 0x08, 0x74, 0x6f, 0x70, 0x69, + 0x63, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x07, 0x74, 0x6f, 0x70, 0x69, + 0x63, 0x49, 0x64, 0x12, 0x21, 0x0a, 0x0c, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x5f, 0x68, 0x65, 0x69, + 0x67, 0x68, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0b, 0x62, 0x6c, 0x6f, 0x63, 0x6b, + 0x48, 0x65, 0x69, 0x67, 0x68, 0x74, 0x12, 0x1c, 0x0a, 0x09, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, + 0x73, 0x65, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x09, 0x52, 0x09, 0x61, 0x64, 0x64, 0x72, 0x65, + 0x73, 0x73, 0x65, 0x73, 0x12, 0x51, 0x0a, 0x07, 0x72, 0x65, 0x67, 0x72, 0x65, 0x74, 0x73, 0x18, + 0x04, 0x20, 0x03, 0x28, 0x09, 0x42, 0x37, 0xc8, 0xde, 0x1f, 0x00, 0xda, 0xde, 0x1f, 0x2f, 0x67, + 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x61, 0x6c, 0x6c, 0x6f, 0x72, 0x61, + 0x2d, 0x6e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x2f, 0x61, 0x6c, 0x6c, 0x6f, 0x72, 0x61, 0x2d, + 0x63, 0x68, 0x61, 0x69, 0x6e, 0x2f, 0x6d, 0x61, 0x74, 0x68, 0x2e, 0x44, 0x65, 0x63, 0x52, 0x07, + 0x72, 0x65, 0x67, 0x72, 0x65, 0x74, 0x73, 0x22, 0xd2, 0x01, 0x0a, 0x21, 0x45, 0x76, 0x65, 0x6e, + 0x74, 0x4e, 0x61, 0x69, 0x76, 0x65, 0x49, 0x6e, 0x66, 0x65, 0x72, 0x65, 0x72, 0x4e, 0x65, 0x74, + 0x77, 0x6f, 0x72, 0x6b, 0x52, 0x65, 0x67, 0x72, 0x65, 0x74, 0x53, 0x65, 0x74, 0x12, 0x19, 0x0a, + 0x08, 0x74, 0x6f, 0x70, 0x69, 0x63, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, + 0x07, 0x74, 0x6f, 0x70, 0x69, 0x63, 0x49, 0x64, 0x12, 0x21, 0x0a, 0x0c, 0x62, 0x6c, 0x6f, 0x63, + 0x6b, 0x5f, 0x68, 0x65, 0x69, 0x67, 0x68, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0b, + 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x48, 0x65, 0x69, 0x67, 0x68, 0x74, 0x12, 0x1c, 0x0a, 0x09, 0x61, + 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x65, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x09, 0x52, 0x09, + 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x65, 0x73, 0x12, 0x51, 0x0a, 0x07, 0x72, 0x65, 0x67, + 0x72, 0x65, 0x74, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x09, 0x42, 0x37, 0xc8, 0xde, 0x1f, 0x00, + 0xda, 0xde, 0x1f, 0x2f, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x61, + 0x6c, 0x6c, 0x6f, 0x72, 0x61, 0x2d, 0x6e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x2f, 0x61, 0x6c, + 0x6c, 0x6f, 0x72, 0x61, 0x2d, 0x63, 0x68, 0x61, 0x69, 0x6e, 0x2f, 0x6d, 0x61, 0x74, 0x68, 0x2e, + 0x44, 0x65, 0x63, 0x52, 0x07, 0x72, 0x65, 0x67, 0x72, 0x65, 0x74, 0x73, 0x22, 0xab, 0x01, 0x0a, + 0x1a, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x54, 0x6f, 0x70, 0x69, 0x63, 0x49, 0x6e, 0x69, 0x74, 0x69, + 0x61, 0x6c, 0x52, 0x65, 0x67, 0x72, 0x65, 0x74, 0x53, 0x65, 0x74, 0x12, 0x19, 0x0a, 0x08, 0x74, + 0x6f, 0x70, 0x69, 0x63, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x07, 0x74, + 0x6f, 0x70, 0x69, 0x63, 0x49, 0x64, 0x12, 0x21, 0x0a, 0x0c, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x5f, + 0x68, 0x65, 0x69, 0x67, 0x68, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0b, 0x62, 0x6c, + 0x6f, 0x63, 0x6b, 0x48, 0x65, 0x69, 0x67, 0x68, 0x74, 0x12, 0x4f, 0x0a, 0x06, 0x72, 0x65, 0x67, + 0x72, 0x65, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x42, 0x37, 0xc8, 0xde, 0x1f, 0x00, 0xda, + 0xde, 0x1f, 0x2f, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x61, 0x6c, + 0x6c, 0x6f, 0x72, 0x61, 0x2d, 0x6e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x2f, 0x61, 0x6c, 0x6c, + 0x6f, 0x72, 0x61, 0x2d, 0x63, 0x68, 0x61, 0x69, 0x6e, 0x2f, 0x6d, 0x61, 0x74, 0x68, 0x2e, 0x44, + 0x65, 0x63, 0x52, 0x06, 0x72, 0x65, 0x67, 0x72, 0x65, 0x74, 0x22, 0xe3, 0x01, 0x0a, 0x1c, 0x45, + 0x76, 0x65, 0x6e, 0x74, 0x54, 0x6f, 0x70, 0x69, 0x63, 0x49, 0x6e, 0x69, 0x74, 0x69, 0x61, 0x6c, + 0x45, 0x6d, 0x61, 0x53, 0x63, 0x6f, 0x72, 0x65, 0x53, 0x65, 0x74, 0x12, 0x36, 0x0a, 0x0a, 0x61, + 0x63, 0x74, 0x6f, 0x72, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, + 0x17, 0x2e, 0x65, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x38, 0x2e, 0x41, + 0x63, 0x74, 0x6f, 0x72, 0x54, 0x79, 0x70, 0x65, 0x52, 0x09, 0x61, 0x63, 0x74, 0x6f, 0x72, 0x54, + 0x79, 0x70, 0x65, 0x12, 0x19, 0x0a, 0x08, 0x74, 0x6f, 0x70, 0x69, 0x63, 0x5f, 0x69, 0x64, 0x18, + 0x02, 0x20, 0x01, 0x28, 0x04, 0x52, 0x07, 0x74, 0x6f, 0x70, 0x69, 0x63, 0x49, 0x64, 0x12, 0x21, + 0x0a, 0x0c, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x5f, 0x68, 0x65, 0x69, 0x67, 0x68, 0x74, 0x18, 0x03, + 0x20, 0x01, 0x28, 0x03, 0x52, 0x0b, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x48, 0x65, 0x69, 0x67, 0x68, + 0x74, 0x12, 0x4d, 0x0a, 0x05, 0x73, 0x63, 0x6f, 0x72, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, + 0x42, 0x37, 0xc8, 0xde, 0x1f, 0x00, 0xda, 0xde, 0x1f, 0x2f, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, + 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x61, 0x6c, 0x6c, 0x6f, 0x72, 0x61, 0x2d, 0x6e, 0x65, 0x74, 0x77, + 0x6f, 0x72, 0x6b, 0x2f, 0x61, 0x6c, 0x6c, 0x6f, 0x72, 0x61, 0x2d, 0x63, 0x68, 0x61, 0x69, 0x6e, + 0x2f, 0x6d, 0x61, 0x74, 0x68, 0x2e, 0x44, 0x65, 0x63, 0x52, 0x05, 0x73, 0x63, 0x6f, 0x72, 0x65, + 0x22, 0xa8, 0x01, 0x0a, 0x15, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x67, 0x72, 0x65, 0x74, + 0x53, 0x74, 0x64, 0x4e, 0x6f, 0x72, 0x6d, 0x53, 0x65, 0x74, 0x12, 0x19, 0x0a, 0x08, 0x74, 0x6f, + 0x70, 0x69, 0x63, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x07, 0x74, 0x6f, + 0x70, 0x69, 0x63, 0x49, 0x64, 0x12, 0x21, 0x0a, 0x0c, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x5f, 0x68, + 0x65, 0x69, 0x67, 0x68, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0b, 0x62, 0x6c, 0x6f, + 0x63, 0x6b, 0x48, 0x65, 0x69, 0x67, 0x68, 0x74, 0x12, 0x51, 0x0a, 0x07, 0x73, 0x74, 0x64, 0x6e, + 0x6f, 0x72, 0x6d, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x42, 0x37, 0xc8, 0xde, 0x1f, 0x00, 0xda, + 0xde, 0x1f, 0x2f, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x61, 0x6c, + 0x6c, 0x6f, 0x72, 0x61, 0x2d, 0x6e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x2f, 0x61, 0x6c, 0x6c, + 0x6f, 0x72, 0x61, 0x2d, 0x63, 0x68, 0x61, 0x69, 0x6e, 0x2f, 0x6d, 0x61, 0x74, 0x68, 0x2e, 0x44, + 0x65, 0x63, 0x52, 0x07, 0x73, 0x74, 0x64, 0x6e, 0x6f, 0x72, 0x6d, 0x22, 0xc0, 0x01, 0x0a, 0x15, + 0x45, 0x76, 0x65, 0x6e, 0x74, 0x49, 0x6e, 0x66, 0x65, 0x72, 0x65, 0x72, 0x57, 0x65, 0x69, 0x67, + 0x68, 0x74, 0x53, 0x65, 0x74, 0x12, 0x19, 0x0a, 0x08, 0x74, 0x6f, 0x70, 0x69, 0x63, 0x5f, 0x69, + 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x07, 0x74, 0x6f, 0x70, 0x69, 0x63, 0x49, 0x64, + 0x12, 0x21, 0x0a, 0x0c, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x5f, 0x68, 0x65, 0x69, 0x67, 0x68, 0x74, + 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0b, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x48, 0x65, 0x69, + 0x67, 0x68, 0x74, 0x12, 0x18, 0x0a, 0x07, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x03, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x4f, 0x0a, + 0x06, 0x77, 0x65, 0x69, 0x67, 0x68, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x42, 0x37, 0xc8, + 0xde, 0x1f, 0x00, 0xda, 0xde, 0x1f, 0x2f, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, + 0x6d, 0x2f, 0x61, 0x6c, 0x6c, 0x6f, 0x72, 0x61, 0x2d, 0x6e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, + 0x2f, 0x61, 0x6c, 0x6c, 0x6f, 0x72, 0x61, 0x2d, 0x63, 0x68, 0x61, 0x69, 0x6e, 0x2f, 0x6d, 0x61, + 0x74, 0x68, 0x2e, 0x44, 0x65, 0x63, 0x52, 0x06, 0x77, 0x65, 0x69, 0x67, 0x68, 0x74, 0x22, 0xc3, + 0x01, 0x0a, 0x18, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x46, 0x6f, 0x72, 0x65, 0x63, 0x61, 0x73, 0x74, + 0x65, 0x72, 0x57, 0x65, 0x69, 0x67, 0x68, 0x74, 0x53, 0x65, 0x74, 0x12, 0x19, 0x0a, 0x08, 0x74, + 0x6f, 0x70, 0x69, 0x63, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x07, 0x74, + 0x6f, 0x70, 0x69, 0x63, 0x49, 0x64, 0x12, 0x21, 0x0a, 0x0c, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x5f, + 0x68, 0x65, 0x69, 0x67, 0x68, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0b, 0x62, 0x6c, + 0x6f, 0x63, 0x6b, 0x48, 0x65, 0x69, 0x67, 0x68, 0x74, 0x12, 0x18, 0x0a, 0x07, 0x61, 0x64, 0x64, + 0x72, 0x65, 0x73, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x61, 0x64, 0x64, 0x72, + 0x65, 0x73, 0x73, 0x12, 0x4f, 0x0a, 0x06, 0x77, 0x65, 0x69, 0x67, 0x68, 0x74, 0x18, 0x04, 0x20, + 0x01, 0x28, 0x09, 0x42, 0x37, 0xc8, 0xde, 0x1f, 0x00, 0xda, 0xde, 0x1f, 0x2f, 0x67, 0x69, 0x74, + 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x61, 0x6c, 0x6c, 0x6f, 0x72, 0x61, 0x2d, 0x6e, + 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x2f, 0x61, 0x6c, 0x6c, 0x6f, 0x72, 0x61, 0x2d, 0x63, 0x68, + 0x61, 0x69, 0x6e, 0x2f, 0x6d, 0x61, 0x74, 0x68, 0x2e, 0x44, 0x65, 0x63, 0x52, 0x06, 0x77, 0x65, + 0x69, 0x67, 0x68, 0x74, 0x2a, 0x62, 0x0a, 0x09, 0x41, 0x63, 0x74, 0x6f, 0x72, 0x54, 0x79, 0x70, + 0x65, 0x12, 0x22, 0x0a, 0x1e, 0x41, 0x43, 0x54, 0x4f, 0x52, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, + 0x49, 0x4e, 0x46, 0x45, 0x52, 0x45, 0x52, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, + 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x19, 0x0a, 0x15, 0x41, 0x43, 0x54, 0x4f, 0x52, 0x5f, 0x54, + 0x59, 0x50, 0x45, 0x5f, 0x46, 0x4f, 0x52, 0x45, 0x43, 0x41, 0x53, 0x54, 0x45, 0x52, 0x10, 0x01, + 0x12, 0x16, 0x0a, 0x12, 0x41, 0x43, 0x54, 0x4f, 0x52, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x52, + 0x45, 0x50, 0x55, 0x54, 0x45, 0x52, 0x10, 0x02, 0x42, 0xc1, 0x01, 0x0a, 0x10, 0x63, 0x6f, 0x6d, + 0x2e, 0x65, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x38, 0x42, 0x0b, 0x45, + 0x76, 0x65, 0x6e, 0x74, 0x73, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x4f, 0x67, 0x69, + 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x61, 0x6c, 0x6c, 0x6f, 0x72, 0x61, 0x2d, + 0x6e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x2f, 0x61, 0x6c, 0x6c, 0x6f, 0x72, 0x61, 0x2d, 0x63, + 0x68, 0x61, 0x69, 0x6e, 0x2f, 0x78, 0x2f, 0x65, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, + 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x65, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x76, + 0x38, 0x3b, 0x65, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x76, 0x38, 0xa2, 0x02, 0x03, + 0x45, 0x58, 0x58, 0xaa, 0x02, 0x0c, 0x45, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2e, + 0x56, 0x38, 0xca, 0x02, 0x0c, 0x45, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x5c, 0x56, + 0x38, 0xe2, 0x02, 0x18, 0x45, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x5c, 0x56, 0x38, + 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x0d, 0x45, + 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x3a, 0x3a, 0x56, 0x38, 0x62, 0x06, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_emissions_v8_events_proto_rawDescOnce sync.Once + file_emissions_v8_events_proto_rawDescData = file_emissions_v8_events_proto_rawDesc +) + +func file_emissions_v8_events_proto_rawDescGZIP() []byte { + file_emissions_v8_events_proto_rawDescOnce.Do(func() { + file_emissions_v8_events_proto_rawDescData = protoimpl.X.CompressGZIP(file_emissions_v8_events_proto_rawDescData) + }) + return file_emissions_v8_events_proto_rawDescData +} + +var file_emissions_v8_events_proto_enumTypes = make([]protoimpl.EnumInfo, 1) +var file_emissions_v8_events_proto_msgTypes = make([]protoimpl.MessageInfo, 17) +var file_emissions_v8_events_proto_goTypes = []interface{}{ + (ActorType)(0), // 0: emissions.v8.ActorType + (*EventScoresSet)(nil), // 1: emissions.v8.EventScoresSet + (*EventRewardsSettled)(nil), // 2: emissions.v8.EventRewardsSettled + (*EventNetworkLossSet)(nil), // 3: emissions.v8.EventNetworkLossSet + (*EventForecastTaskScoreSet)(nil), // 4: emissions.v8.EventForecastTaskScoreSet + (*EventWorkerLastCommitSet)(nil), // 5: emissions.v8.EventWorkerLastCommitSet + (*EventReputerLastCommitSet)(nil), // 6: emissions.v8.EventReputerLastCommitSet + (*EventTopicRewardsSet)(nil), // 7: emissions.v8.EventTopicRewardsSet + (*EventEMAScoresSet)(nil), // 8: emissions.v8.EventEMAScoresSet + (*EventListeningCoefficientsSet)(nil), // 9: emissions.v8.EventListeningCoefficientsSet + (*EventInfererNetworkRegretSet)(nil), // 10: emissions.v8.EventInfererNetworkRegretSet + (*EventForecasterNetworkRegretSet)(nil), // 11: emissions.v8.EventForecasterNetworkRegretSet + (*EventNaiveInfererNetworkRegretSet)(nil), // 12: emissions.v8.EventNaiveInfererNetworkRegretSet + (*EventTopicInitialRegretSet)(nil), // 13: emissions.v8.EventTopicInitialRegretSet + (*EventTopicInitialEmaScoreSet)(nil), // 14: emissions.v8.EventTopicInitialEmaScoreSet + (*EventRegretStdNormSet)(nil), // 15: emissions.v8.EventRegretStdNormSet + (*EventInfererWeightSet)(nil), // 16: emissions.v8.EventInfererWeightSet + (*EventForecasterWeightSet)(nil), // 17: emissions.v8.EventForecasterWeightSet + (*v3.ValueBundle)(nil), // 18: emissions.v3.ValueBundle + (*v3.Nonce)(nil), // 19: emissions.v3.Nonce +} +var file_emissions_v8_events_proto_depIdxs = []int32{ + 0, // 0: emissions.v8.EventScoresSet.actor_type:type_name -> emissions.v8.ActorType + 0, // 1: emissions.v8.EventRewardsSettled.actor_type:type_name -> emissions.v8.ActorType + 18, // 2: emissions.v8.EventNetworkLossSet.value_bundle:type_name -> emissions.v3.ValueBundle + 19, // 3: emissions.v8.EventWorkerLastCommitSet.nonce:type_name -> emissions.v3.Nonce + 19, // 4: emissions.v8.EventReputerLastCommitSet.nonce:type_name -> emissions.v3.Nonce + 0, // 5: emissions.v8.EventEMAScoresSet.actor_type:type_name -> emissions.v8.ActorType + 0, // 6: emissions.v8.EventListeningCoefficientsSet.actor_type:type_name -> emissions.v8.ActorType + 0, // 7: emissions.v8.EventTopicInitialEmaScoreSet.actor_type:type_name -> emissions.v8.ActorType + 8, // [8:8] is the sub-list for method output_type + 8, // [8:8] is the sub-list for method input_type + 8, // [8:8] is the sub-list for extension type_name + 8, // [8:8] is the sub-list for extension extendee + 0, // [0:8] is the sub-list for field type_name +} + +func init() { file_emissions_v8_events_proto_init() } +func file_emissions_v8_events_proto_init() { + if File_emissions_v8_events_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_emissions_v8_events_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*EventScoresSet); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_emissions_v8_events_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*EventRewardsSettled); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_emissions_v8_events_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*EventNetworkLossSet); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_emissions_v8_events_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*EventForecastTaskScoreSet); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_emissions_v8_events_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*EventWorkerLastCommitSet); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_emissions_v8_events_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*EventReputerLastCommitSet); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_emissions_v8_events_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*EventTopicRewardsSet); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_emissions_v8_events_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*EventEMAScoresSet); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_emissions_v8_events_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*EventListeningCoefficientsSet); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_emissions_v8_events_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*EventInfererNetworkRegretSet); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_emissions_v8_events_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*EventForecasterNetworkRegretSet); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_emissions_v8_events_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*EventNaiveInfererNetworkRegretSet); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_emissions_v8_events_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*EventTopicInitialRegretSet); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_emissions_v8_events_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*EventTopicInitialEmaScoreSet); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_emissions_v8_events_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*EventRegretStdNormSet); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_emissions_v8_events_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*EventInfererWeightSet); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_emissions_v8_events_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*EventForecasterWeightSet); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_emissions_v8_events_proto_rawDesc, + NumEnums: 1, + NumMessages: 17, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_emissions_v8_events_proto_goTypes, + DependencyIndexes: file_emissions_v8_events_proto_depIdxs, + EnumInfos: file_emissions_v8_events_proto_enumTypes, + MessageInfos: file_emissions_v8_events_proto_msgTypes, + }.Build() + File_emissions_v8_events_proto = out.File + file_emissions_v8_events_proto_rawDesc = nil + file_emissions_v8_events_proto_goTypes = nil + file_emissions_v8_events_proto_depIdxs = nil +} diff --git a/x/emissions/api/emissions/v8/genesis.pulsar.go b/x/emissions/api/emissions/v8/genesis.pulsar.go new file mode 100644 index 000000000..8d9e040d5 --- /dev/null +++ b/x/emissions/api/emissions/v8/genesis.pulsar.go @@ -0,0 +1,33557 @@ +// Code generated by protoc-gen-go-pulsar. DO NOT EDIT. +package emissionsv8 + +import ( + fmt "fmt" + v3 "github.com/allora-network/allora-chain/x/emissions/api/emissions/v3" + _ "github.com/cosmos/cosmos-proto" + runtime "github.com/cosmos/cosmos-proto/runtime" + _ "github.com/cosmos/cosmos-sdk/types/tx/amino" + _ "github.com/cosmos/gogoproto/gogoproto" + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoiface "google.golang.org/protobuf/runtime/protoiface" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + io "io" + reflect "reflect" + sync "sync" +) + +var _ protoreflect.List = (*_GenesisState_2_list)(nil) + +type _GenesisState_2_list struct { + list *[]string +} + +func (x *_GenesisState_2_list) Len() int { + if x.list == nil { + return 0 + } + return len(*x.list) +} + +func (x *_GenesisState_2_list) Get(i int) protoreflect.Value { + return protoreflect.ValueOfString((*x.list)[i]) +} + +func (x *_GenesisState_2_list) Set(i int, value protoreflect.Value) { + valueUnwrapped := value.String() + concreteValue := valueUnwrapped + (*x.list)[i] = concreteValue +} + +func (x *_GenesisState_2_list) Append(value protoreflect.Value) { + valueUnwrapped := value.String() + concreteValue := valueUnwrapped + *x.list = append(*x.list, concreteValue) +} + +func (x *_GenesisState_2_list) AppendMutable() protoreflect.Value { + panic(fmt.Errorf("AppendMutable can not be called on message GenesisState at list field CoreTeamAddresses as it is not of Message kind")) +} + +func (x *_GenesisState_2_list) Truncate(n int) { + *x.list = (*x.list)[:n] +} + +func (x *_GenesisState_2_list) NewElement() protoreflect.Value { + v := "" + return protoreflect.ValueOfString(v) +} + +func (x *_GenesisState_2_list) IsValid() bool { + return x.list != nil +} + +var _ protoreflect.List = (*_GenesisState_4_list)(nil) + +type _GenesisState_4_list struct { + list *[]*TopicIdAndTopic +} + +func (x *_GenesisState_4_list) Len() int { + if x.list == nil { + return 0 + } + return len(*x.list) +} + +func (x *_GenesisState_4_list) Get(i int) protoreflect.Value { + return protoreflect.ValueOfMessage((*x.list)[i].ProtoReflect()) +} + +func (x *_GenesisState_4_list) Set(i int, value protoreflect.Value) { + valueUnwrapped := value.Message() + concreteValue := valueUnwrapped.Interface().(*TopicIdAndTopic) + (*x.list)[i] = concreteValue +} + +func (x *_GenesisState_4_list) Append(value protoreflect.Value) { + valueUnwrapped := value.Message() + concreteValue := valueUnwrapped.Interface().(*TopicIdAndTopic) + *x.list = append(*x.list, concreteValue) +} + +func (x *_GenesisState_4_list) AppendMutable() protoreflect.Value { + v := new(TopicIdAndTopic) + *x.list = append(*x.list, v) + return protoreflect.ValueOfMessage(v.ProtoReflect()) +} + +func (x *_GenesisState_4_list) Truncate(n int) { + for i := n; i < len(*x.list); i++ { + (*x.list)[i] = nil + } + *x.list = (*x.list)[:n] +} + +func (x *_GenesisState_4_list) NewElement() protoreflect.Value { + v := new(TopicIdAndTopic) + return protoreflect.ValueOfMessage(v.ProtoReflect()) +} + +func (x *_GenesisState_4_list) IsValid() bool { + return x.list != nil +} + +var _ protoreflect.List = (*_GenesisState_5_list)(nil) + +type _GenesisState_5_list struct { + list *[]uint64 +} + +func (x *_GenesisState_5_list) Len() int { + if x.list == nil { + return 0 + } + return len(*x.list) +} + +func (x *_GenesisState_5_list) Get(i int) protoreflect.Value { + return protoreflect.ValueOfUint64((*x.list)[i]) +} + +func (x *_GenesisState_5_list) Set(i int, value protoreflect.Value) { + valueUnwrapped := value.Uint() + concreteValue := valueUnwrapped + (*x.list)[i] = concreteValue +} + +func (x *_GenesisState_5_list) Append(value protoreflect.Value) { + valueUnwrapped := value.Uint() + concreteValue := valueUnwrapped + *x.list = append(*x.list, concreteValue) +} + +func (x *_GenesisState_5_list) AppendMutable() protoreflect.Value { + panic(fmt.Errorf("AppendMutable can not be called on message GenesisState at list field ActiveTopics as it is not of Message kind")) +} + +func (x *_GenesisState_5_list) Truncate(n int) { + *x.list = (*x.list)[:n] +} + +func (x *_GenesisState_5_list) NewElement() protoreflect.Value { + v := uint64(0) + return protoreflect.ValueOfUint64(v) +} + +func (x *_GenesisState_5_list) IsValid() bool { + return x.list != nil +} + +var _ protoreflect.List = (*_GenesisState_6_list)(nil) + +type _GenesisState_6_list struct { + list *[]uint64 +} + +func (x *_GenesisState_6_list) Len() int { + if x.list == nil { + return 0 + } + return len(*x.list) +} + +func (x *_GenesisState_6_list) Get(i int) protoreflect.Value { + return protoreflect.ValueOfUint64((*x.list)[i]) +} + +func (x *_GenesisState_6_list) Set(i int, value protoreflect.Value) { + valueUnwrapped := value.Uint() + concreteValue := valueUnwrapped + (*x.list)[i] = concreteValue +} + +func (x *_GenesisState_6_list) Append(value protoreflect.Value) { + valueUnwrapped := value.Uint() + concreteValue := valueUnwrapped + *x.list = append(*x.list, concreteValue) +} + +func (x *_GenesisState_6_list) AppendMutable() protoreflect.Value { + panic(fmt.Errorf("AppendMutable can not be called on message GenesisState at list field RewardableTopics as it is not of Message kind")) +} + +func (x *_GenesisState_6_list) Truncate(n int) { + *x.list = (*x.list)[:n] +} + +func (x *_GenesisState_6_list) NewElement() protoreflect.Value { + v := uint64(0) + return protoreflect.ValueOfUint64(v) +} + +func (x *_GenesisState_6_list) IsValid() bool { + return x.list != nil +} + +var _ protoreflect.List = (*_GenesisState_7_list)(nil) + +type _GenesisState_7_list struct { + list *[]*TopicAndActorId +} + +func (x *_GenesisState_7_list) Len() int { + if x.list == nil { + return 0 + } + return len(*x.list) +} + +func (x *_GenesisState_7_list) Get(i int) protoreflect.Value { + return protoreflect.ValueOfMessage((*x.list)[i].ProtoReflect()) +} + +func (x *_GenesisState_7_list) Set(i int, value protoreflect.Value) { + valueUnwrapped := value.Message() + concreteValue := valueUnwrapped.Interface().(*TopicAndActorId) + (*x.list)[i] = concreteValue +} + +func (x *_GenesisState_7_list) Append(value protoreflect.Value) { + valueUnwrapped := value.Message() + concreteValue := valueUnwrapped.Interface().(*TopicAndActorId) + *x.list = append(*x.list, concreteValue) +} + +func (x *_GenesisState_7_list) AppendMutable() protoreflect.Value { + v := new(TopicAndActorId) + *x.list = append(*x.list, v) + return protoreflect.ValueOfMessage(v.ProtoReflect()) +} + +func (x *_GenesisState_7_list) Truncate(n int) { + for i := n; i < len(*x.list); i++ { + (*x.list)[i] = nil + } + *x.list = (*x.list)[:n] +} + +func (x *_GenesisState_7_list) NewElement() protoreflect.Value { + v := new(TopicAndActorId) + return protoreflect.ValueOfMessage(v.ProtoReflect()) +} + +func (x *_GenesisState_7_list) IsValid() bool { + return x.list != nil +} + +var _ protoreflect.List = (*_GenesisState_8_list)(nil) + +type _GenesisState_8_list struct { + list *[]*TopicAndActorId +} + +func (x *_GenesisState_8_list) Len() int { + if x.list == nil { + return 0 + } + return len(*x.list) +} + +func (x *_GenesisState_8_list) Get(i int) protoreflect.Value { + return protoreflect.ValueOfMessage((*x.list)[i].ProtoReflect()) +} + +func (x *_GenesisState_8_list) Set(i int, value protoreflect.Value) { + valueUnwrapped := value.Message() + concreteValue := valueUnwrapped.Interface().(*TopicAndActorId) + (*x.list)[i] = concreteValue +} + +func (x *_GenesisState_8_list) Append(value protoreflect.Value) { + valueUnwrapped := value.Message() + concreteValue := valueUnwrapped.Interface().(*TopicAndActorId) + *x.list = append(*x.list, concreteValue) +} + +func (x *_GenesisState_8_list) AppendMutable() protoreflect.Value { + v := new(TopicAndActorId) + *x.list = append(*x.list, v) + return protoreflect.ValueOfMessage(v.ProtoReflect()) +} + +func (x *_GenesisState_8_list) Truncate(n int) { + for i := n; i < len(*x.list); i++ { + (*x.list)[i] = nil + } + *x.list = (*x.list)[:n] +} + +func (x *_GenesisState_8_list) NewElement() protoreflect.Value { + v := new(TopicAndActorId) + return protoreflect.ValueOfMessage(v.ProtoReflect()) +} + +func (x *_GenesisState_8_list) IsValid() bool { + return x.list != nil +} + +var _ protoreflect.List = (*_GenesisState_9_list)(nil) + +type _GenesisState_9_list struct { + list *[]*TopicIdAndBlockHeight +} + +func (x *_GenesisState_9_list) Len() int { + if x.list == nil { + return 0 + } + return len(*x.list) +} + +func (x *_GenesisState_9_list) Get(i int) protoreflect.Value { + return protoreflect.ValueOfMessage((*x.list)[i].ProtoReflect()) +} + +func (x *_GenesisState_9_list) Set(i int, value protoreflect.Value) { + valueUnwrapped := value.Message() + concreteValue := valueUnwrapped.Interface().(*TopicIdAndBlockHeight) + (*x.list)[i] = concreteValue +} + +func (x *_GenesisState_9_list) Append(value protoreflect.Value) { + valueUnwrapped := value.Message() + concreteValue := valueUnwrapped.Interface().(*TopicIdAndBlockHeight) + *x.list = append(*x.list, concreteValue) +} + +func (x *_GenesisState_9_list) AppendMutable() protoreflect.Value { + v := new(TopicIdAndBlockHeight) + *x.list = append(*x.list, v) + return protoreflect.ValueOfMessage(v.ProtoReflect()) +} + +func (x *_GenesisState_9_list) Truncate(n int) { + for i := n; i < len(*x.list); i++ { + (*x.list)[i] = nil + } + *x.list = (*x.list)[:n] +} + +func (x *_GenesisState_9_list) NewElement() protoreflect.Value { + v := new(TopicIdAndBlockHeight) + return protoreflect.ValueOfMessage(v.ProtoReflect()) +} + +func (x *_GenesisState_9_list) IsValid() bool { + return x.list != nil +} + +var _ protoreflect.List = (*_GenesisState_10_list)(nil) + +type _GenesisState_10_list struct { + list *[]*TopicIdBlockHeightScores +} + +func (x *_GenesisState_10_list) Len() int { + if x.list == nil { + return 0 + } + return len(*x.list) +} + +func (x *_GenesisState_10_list) Get(i int) protoreflect.Value { + return protoreflect.ValueOfMessage((*x.list)[i].ProtoReflect()) +} + +func (x *_GenesisState_10_list) Set(i int, value protoreflect.Value) { + valueUnwrapped := value.Message() + concreteValue := valueUnwrapped.Interface().(*TopicIdBlockHeightScores) + (*x.list)[i] = concreteValue +} + +func (x *_GenesisState_10_list) Append(value protoreflect.Value) { + valueUnwrapped := value.Message() + concreteValue := valueUnwrapped.Interface().(*TopicIdBlockHeightScores) + *x.list = append(*x.list, concreteValue) +} + +func (x *_GenesisState_10_list) AppendMutable() protoreflect.Value { + v := new(TopicIdBlockHeightScores) + *x.list = append(*x.list, v) + return protoreflect.ValueOfMessage(v.ProtoReflect()) +} + +func (x *_GenesisState_10_list) Truncate(n int) { + for i := n; i < len(*x.list); i++ { + (*x.list)[i] = nil + } + *x.list = (*x.list)[:n] +} + +func (x *_GenesisState_10_list) NewElement() protoreflect.Value { + v := new(TopicIdBlockHeightScores) + return protoreflect.ValueOfMessage(v.ProtoReflect()) +} + +func (x *_GenesisState_10_list) IsValid() bool { + return x.list != nil +} + +var _ protoreflect.List = (*_GenesisState_11_list)(nil) + +type _GenesisState_11_list struct { + list *[]*TopicIdBlockHeightScores +} + +func (x *_GenesisState_11_list) Len() int { + if x.list == nil { + return 0 + } + return len(*x.list) +} + +func (x *_GenesisState_11_list) Get(i int) protoreflect.Value { + return protoreflect.ValueOfMessage((*x.list)[i].ProtoReflect()) +} + +func (x *_GenesisState_11_list) Set(i int, value protoreflect.Value) { + valueUnwrapped := value.Message() + concreteValue := valueUnwrapped.Interface().(*TopicIdBlockHeightScores) + (*x.list)[i] = concreteValue +} + +func (x *_GenesisState_11_list) Append(value protoreflect.Value) { + valueUnwrapped := value.Message() + concreteValue := valueUnwrapped.Interface().(*TopicIdBlockHeightScores) + *x.list = append(*x.list, concreteValue) +} + +func (x *_GenesisState_11_list) AppendMutable() protoreflect.Value { + v := new(TopicIdBlockHeightScores) + *x.list = append(*x.list, v) + return protoreflect.ValueOfMessage(v.ProtoReflect()) +} + +func (x *_GenesisState_11_list) Truncate(n int) { + for i := n; i < len(*x.list); i++ { + (*x.list)[i] = nil + } + *x.list = (*x.list)[:n] +} + +func (x *_GenesisState_11_list) NewElement() protoreflect.Value { + v := new(TopicIdBlockHeightScores) + return protoreflect.ValueOfMessage(v.ProtoReflect()) +} + +func (x *_GenesisState_11_list) IsValid() bool { + return x.list != nil +} + +var _ protoreflect.List = (*_GenesisState_12_list)(nil) + +type _GenesisState_12_list struct { + list *[]*TopicIdBlockHeightScores +} + +func (x *_GenesisState_12_list) Len() int { + if x.list == nil { + return 0 + } + return len(*x.list) +} + +func (x *_GenesisState_12_list) Get(i int) protoreflect.Value { + return protoreflect.ValueOfMessage((*x.list)[i].ProtoReflect()) +} + +func (x *_GenesisState_12_list) Set(i int, value protoreflect.Value) { + valueUnwrapped := value.Message() + concreteValue := valueUnwrapped.Interface().(*TopicIdBlockHeightScores) + (*x.list)[i] = concreteValue +} + +func (x *_GenesisState_12_list) Append(value protoreflect.Value) { + valueUnwrapped := value.Message() + concreteValue := valueUnwrapped.Interface().(*TopicIdBlockHeightScores) + *x.list = append(*x.list, concreteValue) +} + +func (x *_GenesisState_12_list) AppendMutable() protoreflect.Value { + v := new(TopicIdBlockHeightScores) + *x.list = append(*x.list, v) + return protoreflect.ValueOfMessage(v.ProtoReflect()) +} + +func (x *_GenesisState_12_list) Truncate(n int) { + for i := n; i < len(*x.list); i++ { + (*x.list)[i] = nil + } + *x.list = (*x.list)[:n] +} + +func (x *_GenesisState_12_list) NewElement() protoreflect.Value { + v := new(TopicIdBlockHeightScores) + return protoreflect.ValueOfMessage(v.ProtoReflect()) +} + +func (x *_GenesisState_12_list) IsValid() bool { + return x.list != nil +} + +var _ protoreflect.List = (*_GenesisState_16_list)(nil) + +type _GenesisState_16_list struct { + list *[]*TopicIdActorIdListeningCoefficient +} + +func (x *_GenesisState_16_list) Len() int { + if x.list == nil { + return 0 + } + return len(*x.list) +} + +func (x *_GenesisState_16_list) Get(i int) protoreflect.Value { + return protoreflect.ValueOfMessage((*x.list)[i].ProtoReflect()) +} + +func (x *_GenesisState_16_list) Set(i int, value protoreflect.Value) { + valueUnwrapped := value.Message() + concreteValue := valueUnwrapped.Interface().(*TopicIdActorIdListeningCoefficient) + (*x.list)[i] = concreteValue +} + +func (x *_GenesisState_16_list) Append(value protoreflect.Value) { + valueUnwrapped := value.Message() + concreteValue := valueUnwrapped.Interface().(*TopicIdActorIdListeningCoefficient) + *x.list = append(*x.list, concreteValue) +} + +func (x *_GenesisState_16_list) AppendMutable() protoreflect.Value { + v := new(TopicIdActorIdListeningCoefficient) + *x.list = append(*x.list, v) + return protoreflect.ValueOfMessage(v.ProtoReflect()) +} + +func (x *_GenesisState_16_list) Truncate(n int) { + for i := n; i < len(*x.list); i++ { + (*x.list)[i] = nil + } + *x.list = (*x.list)[:n] +} + +func (x *_GenesisState_16_list) NewElement() protoreflect.Value { + v := new(TopicIdActorIdListeningCoefficient) + return protoreflect.ValueOfMessage(v.ProtoReflect()) +} + +func (x *_GenesisState_16_list) IsValid() bool { + return x.list != nil +} + +var _ protoreflect.List = (*_GenesisState_17_list)(nil) + +type _GenesisState_17_list struct { + list *[]*TopicIdActorIdDec +} + +func (x *_GenesisState_17_list) Len() int { + if x.list == nil { + return 0 + } + return len(*x.list) +} + +func (x *_GenesisState_17_list) Get(i int) protoreflect.Value { + return protoreflect.ValueOfMessage((*x.list)[i].ProtoReflect()) +} + +func (x *_GenesisState_17_list) Set(i int, value protoreflect.Value) { + valueUnwrapped := value.Message() + concreteValue := valueUnwrapped.Interface().(*TopicIdActorIdDec) + (*x.list)[i] = concreteValue +} + +func (x *_GenesisState_17_list) Append(value protoreflect.Value) { + valueUnwrapped := value.Message() + concreteValue := valueUnwrapped.Interface().(*TopicIdActorIdDec) + *x.list = append(*x.list, concreteValue) +} + +func (x *_GenesisState_17_list) AppendMutable() protoreflect.Value { + v := new(TopicIdActorIdDec) + *x.list = append(*x.list, v) + return protoreflect.ValueOfMessage(v.ProtoReflect()) +} + +func (x *_GenesisState_17_list) Truncate(n int) { + for i := n; i < len(*x.list); i++ { + (*x.list)[i] = nil + } + *x.list = (*x.list)[:n] +} + +func (x *_GenesisState_17_list) NewElement() protoreflect.Value { + v := new(TopicIdActorIdDec) + return protoreflect.ValueOfMessage(v.ProtoReflect()) +} + +func (x *_GenesisState_17_list) IsValid() bool { + return x.list != nil +} + +var _ protoreflect.List = (*_GenesisState_18_list)(nil) + +type _GenesisState_18_list struct { + list *[]*TopicIdActorIdDec +} + +func (x *_GenesisState_18_list) Len() int { + if x.list == nil { + return 0 + } + return len(*x.list) +} + +func (x *_GenesisState_18_list) Get(i int) protoreflect.Value { + return protoreflect.ValueOfMessage((*x.list)[i].ProtoReflect()) +} + +func (x *_GenesisState_18_list) Set(i int, value protoreflect.Value) { + valueUnwrapped := value.Message() + concreteValue := valueUnwrapped.Interface().(*TopicIdActorIdDec) + (*x.list)[i] = concreteValue +} + +func (x *_GenesisState_18_list) Append(value protoreflect.Value) { + valueUnwrapped := value.Message() + concreteValue := valueUnwrapped.Interface().(*TopicIdActorIdDec) + *x.list = append(*x.list, concreteValue) +} + +func (x *_GenesisState_18_list) AppendMutable() protoreflect.Value { + v := new(TopicIdActorIdDec) + *x.list = append(*x.list, v) + return protoreflect.ValueOfMessage(v.ProtoReflect()) +} + +func (x *_GenesisState_18_list) Truncate(n int) { + for i := n; i < len(*x.list); i++ { + (*x.list)[i] = nil + } + *x.list = (*x.list)[:n] +} + +func (x *_GenesisState_18_list) NewElement() protoreflect.Value { + v := new(TopicIdActorIdDec) + return protoreflect.ValueOfMessage(v.ProtoReflect()) +} + +func (x *_GenesisState_18_list) IsValid() bool { + return x.list != nil +} + +var _ protoreflect.List = (*_GenesisState_19_list)(nil) + +type _GenesisState_19_list struct { + list *[]*TopicIdActorIdDec +} + +func (x *_GenesisState_19_list) Len() int { + if x.list == nil { + return 0 + } + return len(*x.list) +} + +func (x *_GenesisState_19_list) Get(i int) protoreflect.Value { + return protoreflect.ValueOfMessage((*x.list)[i].ProtoReflect()) +} + +func (x *_GenesisState_19_list) Set(i int, value protoreflect.Value) { + valueUnwrapped := value.Message() + concreteValue := valueUnwrapped.Interface().(*TopicIdActorIdDec) + (*x.list)[i] = concreteValue +} + +func (x *_GenesisState_19_list) Append(value protoreflect.Value) { + valueUnwrapped := value.Message() + concreteValue := valueUnwrapped.Interface().(*TopicIdActorIdDec) + *x.list = append(*x.list, concreteValue) +} + +func (x *_GenesisState_19_list) AppendMutable() protoreflect.Value { + v := new(TopicIdActorIdDec) + *x.list = append(*x.list, v) + return protoreflect.ValueOfMessage(v.ProtoReflect()) +} + +func (x *_GenesisState_19_list) Truncate(n int) { + for i := n; i < len(*x.list); i++ { + (*x.list)[i] = nil + } + *x.list = (*x.list)[:n] +} + +func (x *_GenesisState_19_list) NewElement() protoreflect.Value { + v := new(TopicIdActorIdDec) + return protoreflect.ValueOfMessage(v.ProtoReflect()) +} + +func (x *_GenesisState_19_list) IsValid() bool { + return x.list != nil +} + +var _ protoreflect.List = (*_GenesisState_20_list)(nil) + +type _GenesisState_20_list struct { + list *[]*TopicIdAndDec +} + +func (x *_GenesisState_20_list) Len() int { + if x.list == nil { + return 0 + } + return len(*x.list) +} + +func (x *_GenesisState_20_list) Get(i int) protoreflect.Value { + return protoreflect.ValueOfMessage((*x.list)[i].ProtoReflect()) +} + +func (x *_GenesisState_20_list) Set(i int, value protoreflect.Value) { + valueUnwrapped := value.Message() + concreteValue := valueUnwrapped.Interface().(*TopicIdAndDec) + (*x.list)[i] = concreteValue +} + +func (x *_GenesisState_20_list) Append(value protoreflect.Value) { + valueUnwrapped := value.Message() + concreteValue := valueUnwrapped.Interface().(*TopicIdAndDec) + *x.list = append(*x.list, concreteValue) +} + +func (x *_GenesisState_20_list) AppendMutable() protoreflect.Value { + v := new(TopicIdAndDec) + *x.list = append(*x.list, v) + return protoreflect.ValueOfMessage(v.ProtoReflect()) +} + +func (x *_GenesisState_20_list) Truncate(n int) { + for i := n; i < len(*x.list); i++ { + (*x.list)[i] = nil + } + *x.list = (*x.list)[:n] +} + +func (x *_GenesisState_20_list) NewElement() protoreflect.Value { + v := new(TopicIdAndDec) + return protoreflect.ValueOfMessage(v.ProtoReflect()) +} + +func (x *_GenesisState_20_list) IsValid() bool { + return x.list != nil +} + +var _ protoreflect.List = (*_GenesisState_22_list)(nil) + +type _GenesisState_22_list struct { + list *[]*TopicIdAndInt +} + +func (x *_GenesisState_22_list) Len() int { + if x.list == nil { + return 0 + } + return len(*x.list) +} + +func (x *_GenesisState_22_list) Get(i int) protoreflect.Value { + return protoreflect.ValueOfMessage((*x.list)[i].ProtoReflect()) +} + +func (x *_GenesisState_22_list) Set(i int, value protoreflect.Value) { + valueUnwrapped := value.Message() + concreteValue := valueUnwrapped.Interface().(*TopicIdAndInt) + (*x.list)[i] = concreteValue +} + +func (x *_GenesisState_22_list) Append(value protoreflect.Value) { + valueUnwrapped := value.Message() + concreteValue := valueUnwrapped.Interface().(*TopicIdAndInt) + *x.list = append(*x.list, concreteValue) +} + +func (x *_GenesisState_22_list) AppendMutable() protoreflect.Value { + v := new(TopicIdAndInt) + *x.list = append(*x.list, v) + return protoreflect.ValueOfMessage(v.ProtoReflect()) +} + +func (x *_GenesisState_22_list) Truncate(n int) { + for i := n; i < len(*x.list); i++ { + (*x.list)[i] = nil + } + *x.list = (*x.list)[:n] +} + +func (x *_GenesisState_22_list) NewElement() protoreflect.Value { + v := new(TopicIdAndInt) + return protoreflect.ValueOfMessage(v.ProtoReflect()) +} + +func (x *_GenesisState_22_list) IsValid() bool { + return x.list != nil +} + +var _ protoreflect.List = (*_GenesisState_23_list)(nil) + +type _GenesisState_23_list struct { + list *[]*TopicIdActorIdInt +} + +func (x *_GenesisState_23_list) Len() int { + if x.list == nil { + return 0 + } + return len(*x.list) +} + +func (x *_GenesisState_23_list) Get(i int) protoreflect.Value { + return protoreflect.ValueOfMessage((*x.list)[i].ProtoReflect()) +} + +func (x *_GenesisState_23_list) Set(i int, value protoreflect.Value) { + valueUnwrapped := value.Message() + concreteValue := valueUnwrapped.Interface().(*TopicIdActorIdInt) + (*x.list)[i] = concreteValue +} + +func (x *_GenesisState_23_list) Append(value protoreflect.Value) { + valueUnwrapped := value.Message() + concreteValue := valueUnwrapped.Interface().(*TopicIdActorIdInt) + *x.list = append(*x.list, concreteValue) +} + +func (x *_GenesisState_23_list) AppendMutable() protoreflect.Value { + v := new(TopicIdActorIdInt) + *x.list = append(*x.list, v) + return protoreflect.ValueOfMessage(v.ProtoReflect()) +} + +func (x *_GenesisState_23_list) Truncate(n int) { + for i := n; i < len(*x.list); i++ { + (*x.list)[i] = nil + } + *x.list = (*x.list)[:n] +} + +func (x *_GenesisState_23_list) NewElement() protoreflect.Value { + v := new(TopicIdActorIdInt) + return protoreflect.ValueOfMessage(v.ProtoReflect()) +} + +func (x *_GenesisState_23_list) IsValid() bool { + return x.list != nil +} + +var _ protoreflect.List = (*_GenesisState_24_list)(nil) + +type _GenesisState_24_list struct { + list *[]*TopicIdActorIdInt +} + +func (x *_GenesisState_24_list) Len() int { + if x.list == nil { + return 0 + } + return len(*x.list) +} + +func (x *_GenesisState_24_list) Get(i int) protoreflect.Value { + return protoreflect.ValueOfMessage((*x.list)[i].ProtoReflect()) +} + +func (x *_GenesisState_24_list) Set(i int, value protoreflect.Value) { + valueUnwrapped := value.Message() + concreteValue := valueUnwrapped.Interface().(*TopicIdActorIdInt) + (*x.list)[i] = concreteValue +} + +func (x *_GenesisState_24_list) Append(value protoreflect.Value) { + valueUnwrapped := value.Message() + concreteValue := valueUnwrapped.Interface().(*TopicIdActorIdInt) + *x.list = append(*x.list, concreteValue) +} + +func (x *_GenesisState_24_list) AppendMutable() protoreflect.Value { + v := new(TopicIdActorIdInt) + *x.list = append(*x.list, v) + return protoreflect.ValueOfMessage(v.ProtoReflect()) +} + +func (x *_GenesisState_24_list) Truncate(n int) { + for i := n; i < len(*x.list); i++ { + (*x.list)[i] = nil + } + *x.list = (*x.list)[:n] +} + +func (x *_GenesisState_24_list) NewElement() protoreflect.Value { + v := new(TopicIdActorIdInt) + return protoreflect.ValueOfMessage(v.ProtoReflect()) +} + +func (x *_GenesisState_24_list) IsValid() bool { + return x.list != nil +} + +var _ protoreflect.List = (*_GenesisState_25_list)(nil) + +type _GenesisState_25_list struct { + list *[]*TopicIdDelegatorReputerDelegatorInfo +} + +func (x *_GenesisState_25_list) Len() int { + if x.list == nil { + return 0 + } + return len(*x.list) +} + +func (x *_GenesisState_25_list) Get(i int) protoreflect.Value { + return protoreflect.ValueOfMessage((*x.list)[i].ProtoReflect()) +} + +func (x *_GenesisState_25_list) Set(i int, value protoreflect.Value) { + valueUnwrapped := value.Message() + concreteValue := valueUnwrapped.Interface().(*TopicIdDelegatorReputerDelegatorInfo) + (*x.list)[i] = concreteValue +} + +func (x *_GenesisState_25_list) Append(value protoreflect.Value) { + valueUnwrapped := value.Message() + concreteValue := valueUnwrapped.Interface().(*TopicIdDelegatorReputerDelegatorInfo) + *x.list = append(*x.list, concreteValue) +} + +func (x *_GenesisState_25_list) AppendMutable() protoreflect.Value { + v := new(TopicIdDelegatorReputerDelegatorInfo) + *x.list = append(*x.list, v) + return protoreflect.ValueOfMessage(v.ProtoReflect()) +} + +func (x *_GenesisState_25_list) Truncate(n int) { + for i := n; i < len(*x.list); i++ { + (*x.list)[i] = nil + } + *x.list = (*x.list)[:n] +} + +func (x *_GenesisState_25_list) NewElement() protoreflect.Value { + v := new(TopicIdDelegatorReputerDelegatorInfo) + return protoreflect.ValueOfMessage(v.ProtoReflect()) +} + +func (x *_GenesisState_25_list) IsValid() bool { + return x.list != nil +} + +var _ protoreflect.List = (*_GenesisState_26_list)(nil) + +type _GenesisState_26_list struct { + list *[]*TopicIdActorIdInt +} + +func (x *_GenesisState_26_list) Len() int { + if x.list == nil { + return 0 + } + return len(*x.list) +} + +func (x *_GenesisState_26_list) Get(i int) protoreflect.Value { + return protoreflect.ValueOfMessage((*x.list)[i].ProtoReflect()) +} + +func (x *_GenesisState_26_list) Set(i int, value protoreflect.Value) { + valueUnwrapped := value.Message() + concreteValue := valueUnwrapped.Interface().(*TopicIdActorIdInt) + (*x.list)[i] = concreteValue +} + +func (x *_GenesisState_26_list) Append(value protoreflect.Value) { + valueUnwrapped := value.Message() + concreteValue := valueUnwrapped.Interface().(*TopicIdActorIdInt) + *x.list = append(*x.list, concreteValue) +} + +func (x *_GenesisState_26_list) AppendMutable() protoreflect.Value { + v := new(TopicIdActorIdInt) + *x.list = append(*x.list, v) + return protoreflect.ValueOfMessage(v.ProtoReflect()) +} + +func (x *_GenesisState_26_list) Truncate(n int) { + for i := n; i < len(*x.list); i++ { + (*x.list)[i] = nil + } + *x.list = (*x.list)[:n] +} + +func (x *_GenesisState_26_list) NewElement() protoreflect.Value { + v := new(TopicIdActorIdInt) + return protoreflect.ValueOfMessage(v.ProtoReflect()) +} + +func (x *_GenesisState_26_list) IsValid() bool { + return x.list != nil +} + +var _ protoreflect.List = (*_GenesisState_27_list)(nil) + +type _GenesisState_27_list struct { + list *[]*TopicIdActorIdDec +} + +func (x *_GenesisState_27_list) Len() int { + if x.list == nil { + return 0 + } + return len(*x.list) +} + +func (x *_GenesisState_27_list) Get(i int) protoreflect.Value { + return protoreflect.ValueOfMessage((*x.list)[i].ProtoReflect()) +} + +func (x *_GenesisState_27_list) Set(i int, value protoreflect.Value) { + valueUnwrapped := value.Message() + concreteValue := valueUnwrapped.Interface().(*TopicIdActorIdDec) + (*x.list)[i] = concreteValue +} + +func (x *_GenesisState_27_list) Append(value protoreflect.Value) { + valueUnwrapped := value.Message() + concreteValue := valueUnwrapped.Interface().(*TopicIdActorIdDec) + *x.list = append(*x.list, concreteValue) +} + +func (x *_GenesisState_27_list) AppendMutable() protoreflect.Value { + v := new(TopicIdActorIdDec) + *x.list = append(*x.list, v) + return protoreflect.ValueOfMessage(v.ProtoReflect()) +} + +func (x *_GenesisState_27_list) Truncate(n int) { + for i := n; i < len(*x.list); i++ { + (*x.list)[i] = nil + } + *x.list = (*x.list)[:n] +} + +func (x *_GenesisState_27_list) NewElement() protoreflect.Value { + v := new(TopicIdActorIdDec) + return protoreflect.ValueOfMessage(v.ProtoReflect()) +} + +func (x *_GenesisState_27_list) IsValid() bool { + return x.list != nil +} + +var _ protoreflect.List = (*_GenesisState_28_list)(nil) + +type _GenesisState_28_list struct { + list *[]*BlockHeightTopicIdReputerStakeRemovalInfo +} + +func (x *_GenesisState_28_list) Len() int { + if x.list == nil { + return 0 + } + return len(*x.list) +} + +func (x *_GenesisState_28_list) Get(i int) protoreflect.Value { + return protoreflect.ValueOfMessage((*x.list)[i].ProtoReflect()) +} + +func (x *_GenesisState_28_list) Set(i int, value protoreflect.Value) { + valueUnwrapped := value.Message() + concreteValue := valueUnwrapped.Interface().(*BlockHeightTopicIdReputerStakeRemovalInfo) + (*x.list)[i] = concreteValue +} + +func (x *_GenesisState_28_list) Append(value protoreflect.Value) { + valueUnwrapped := value.Message() + concreteValue := valueUnwrapped.Interface().(*BlockHeightTopicIdReputerStakeRemovalInfo) + *x.list = append(*x.list, concreteValue) +} + +func (x *_GenesisState_28_list) AppendMutable() protoreflect.Value { + v := new(BlockHeightTopicIdReputerStakeRemovalInfo) + *x.list = append(*x.list, v) + return protoreflect.ValueOfMessage(v.ProtoReflect()) +} + +func (x *_GenesisState_28_list) Truncate(n int) { + for i := n; i < len(*x.list); i++ { + (*x.list)[i] = nil + } + *x.list = (*x.list)[:n] +} + +func (x *_GenesisState_28_list) NewElement() protoreflect.Value { + v := new(BlockHeightTopicIdReputerStakeRemovalInfo) + return protoreflect.ValueOfMessage(v.ProtoReflect()) +} + +func (x *_GenesisState_28_list) IsValid() bool { + return x.list != nil +} + +var _ protoreflect.List = (*_GenesisState_29_list)(nil) + +type _GenesisState_29_list struct { + list *[]*ActorIdTopicIdBlockHeight +} + +func (x *_GenesisState_29_list) Len() int { + if x.list == nil { + return 0 + } + return len(*x.list) +} + +func (x *_GenesisState_29_list) Get(i int) protoreflect.Value { + return protoreflect.ValueOfMessage((*x.list)[i].ProtoReflect()) +} + +func (x *_GenesisState_29_list) Set(i int, value protoreflect.Value) { + valueUnwrapped := value.Message() + concreteValue := valueUnwrapped.Interface().(*ActorIdTopicIdBlockHeight) + (*x.list)[i] = concreteValue +} + +func (x *_GenesisState_29_list) Append(value protoreflect.Value) { + valueUnwrapped := value.Message() + concreteValue := valueUnwrapped.Interface().(*ActorIdTopicIdBlockHeight) + *x.list = append(*x.list, concreteValue) +} + +func (x *_GenesisState_29_list) AppendMutable() protoreflect.Value { + v := new(ActorIdTopicIdBlockHeight) + *x.list = append(*x.list, v) + return protoreflect.ValueOfMessage(v.ProtoReflect()) +} + +func (x *_GenesisState_29_list) Truncate(n int) { + for i := n; i < len(*x.list); i++ { + (*x.list)[i] = nil + } + *x.list = (*x.list)[:n] +} + +func (x *_GenesisState_29_list) NewElement() protoreflect.Value { + v := new(ActorIdTopicIdBlockHeight) + return protoreflect.ValueOfMessage(v.ProtoReflect()) +} + +func (x *_GenesisState_29_list) IsValid() bool { + return x.list != nil +} + +var _ protoreflect.List = (*_GenesisState_30_list)(nil) + +type _GenesisState_30_list struct { + list *[]*BlockHeightTopicIdDelegatorReputerDelegateStakeRemovalInfo +} + +func (x *_GenesisState_30_list) Len() int { + if x.list == nil { + return 0 + } + return len(*x.list) +} + +func (x *_GenesisState_30_list) Get(i int) protoreflect.Value { + return protoreflect.ValueOfMessage((*x.list)[i].ProtoReflect()) +} + +func (x *_GenesisState_30_list) Set(i int, value protoreflect.Value) { + valueUnwrapped := value.Message() + concreteValue := valueUnwrapped.Interface().(*BlockHeightTopicIdDelegatorReputerDelegateStakeRemovalInfo) + (*x.list)[i] = concreteValue +} + +func (x *_GenesisState_30_list) Append(value protoreflect.Value) { + valueUnwrapped := value.Message() + concreteValue := valueUnwrapped.Interface().(*BlockHeightTopicIdDelegatorReputerDelegateStakeRemovalInfo) + *x.list = append(*x.list, concreteValue) +} + +func (x *_GenesisState_30_list) AppendMutable() protoreflect.Value { + v := new(BlockHeightTopicIdDelegatorReputerDelegateStakeRemovalInfo) + *x.list = append(*x.list, v) + return protoreflect.ValueOfMessage(v.ProtoReflect()) +} + +func (x *_GenesisState_30_list) Truncate(n int) { + for i := n; i < len(*x.list); i++ { + (*x.list)[i] = nil + } + *x.list = (*x.list)[:n] +} + +func (x *_GenesisState_30_list) NewElement() protoreflect.Value { + v := new(BlockHeightTopicIdDelegatorReputerDelegateStakeRemovalInfo) + return protoreflect.ValueOfMessage(v.ProtoReflect()) +} + +func (x *_GenesisState_30_list) IsValid() bool { + return x.list != nil +} + +var _ protoreflect.List = (*_GenesisState_31_list)(nil) + +type _GenesisState_31_list struct { + list *[]*DelegatorReputerTopicIdBlockHeight +} + +func (x *_GenesisState_31_list) Len() int { + if x.list == nil { + return 0 + } + return len(*x.list) +} + +func (x *_GenesisState_31_list) Get(i int) protoreflect.Value { + return protoreflect.ValueOfMessage((*x.list)[i].ProtoReflect()) +} + +func (x *_GenesisState_31_list) Set(i int, value protoreflect.Value) { + valueUnwrapped := value.Message() + concreteValue := valueUnwrapped.Interface().(*DelegatorReputerTopicIdBlockHeight) + (*x.list)[i] = concreteValue +} + +func (x *_GenesisState_31_list) Append(value protoreflect.Value) { + valueUnwrapped := value.Message() + concreteValue := valueUnwrapped.Interface().(*DelegatorReputerTopicIdBlockHeight) + *x.list = append(*x.list, concreteValue) +} + +func (x *_GenesisState_31_list) AppendMutable() protoreflect.Value { + v := new(DelegatorReputerTopicIdBlockHeight) + *x.list = append(*x.list, v) + return protoreflect.ValueOfMessage(v.ProtoReflect()) +} + +func (x *_GenesisState_31_list) Truncate(n int) { + for i := n; i < len(*x.list); i++ { + (*x.list)[i] = nil + } + *x.list = (*x.list)[:n] +} + +func (x *_GenesisState_31_list) NewElement() protoreflect.Value { + v := new(DelegatorReputerTopicIdBlockHeight) + return protoreflect.ValueOfMessage(v.ProtoReflect()) +} + +func (x *_GenesisState_31_list) IsValid() bool { + return x.list != nil +} + +var _ protoreflect.List = (*_GenesisState_32_list)(nil) + +type _GenesisState_32_list struct { + list *[]*TopicIdActorIdInference +} + +func (x *_GenesisState_32_list) Len() int { + if x.list == nil { + return 0 + } + return len(*x.list) +} + +func (x *_GenesisState_32_list) Get(i int) protoreflect.Value { + return protoreflect.ValueOfMessage((*x.list)[i].ProtoReflect()) +} + +func (x *_GenesisState_32_list) Set(i int, value protoreflect.Value) { + valueUnwrapped := value.Message() + concreteValue := valueUnwrapped.Interface().(*TopicIdActorIdInference) + (*x.list)[i] = concreteValue +} + +func (x *_GenesisState_32_list) Append(value protoreflect.Value) { + valueUnwrapped := value.Message() + concreteValue := valueUnwrapped.Interface().(*TopicIdActorIdInference) + *x.list = append(*x.list, concreteValue) +} + +func (x *_GenesisState_32_list) AppendMutable() protoreflect.Value { + v := new(TopicIdActorIdInference) + *x.list = append(*x.list, v) + return protoreflect.ValueOfMessage(v.ProtoReflect()) +} + +func (x *_GenesisState_32_list) Truncate(n int) { + for i := n; i < len(*x.list); i++ { + (*x.list)[i] = nil + } + *x.list = (*x.list)[:n] +} + +func (x *_GenesisState_32_list) NewElement() protoreflect.Value { + v := new(TopicIdActorIdInference) + return protoreflect.ValueOfMessage(v.ProtoReflect()) +} + +func (x *_GenesisState_32_list) IsValid() bool { + return x.list != nil +} + +var _ protoreflect.List = (*_GenesisState_33_list)(nil) + +type _GenesisState_33_list struct { + list *[]*TopicIdActorIdForecast +} + +func (x *_GenesisState_33_list) Len() int { + if x.list == nil { + return 0 + } + return len(*x.list) +} + +func (x *_GenesisState_33_list) Get(i int) protoreflect.Value { + return protoreflect.ValueOfMessage((*x.list)[i].ProtoReflect()) +} + +func (x *_GenesisState_33_list) Set(i int, value protoreflect.Value) { + valueUnwrapped := value.Message() + concreteValue := valueUnwrapped.Interface().(*TopicIdActorIdForecast) + (*x.list)[i] = concreteValue +} + +func (x *_GenesisState_33_list) Append(value protoreflect.Value) { + valueUnwrapped := value.Message() + concreteValue := valueUnwrapped.Interface().(*TopicIdActorIdForecast) + *x.list = append(*x.list, concreteValue) +} + +func (x *_GenesisState_33_list) AppendMutable() protoreflect.Value { + v := new(TopicIdActorIdForecast) + *x.list = append(*x.list, v) + return protoreflect.ValueOfMessage(v.ProtoReflect()) +} + +func (x *_GenesisState_33_list) Truncate(n int) { + for i := n; i < len(*x.list); i++ { + (*x.list)[i] = nil + } + *x.list = (*x.list)[:n] +} + +func (x *_GenesisState_33_list) NewElement() protoreflect.Value { + v := new(TopicIdActorIdForecast) + return protoreflect.ValueOfMessage(v.ProtoReflect()) +} + +func (x *_GenesisState_33_list) IsValid() bool { + return x.list != nil +} + +var _ protoreflect.List = (*_GenesisState_34_list)(nil) + +type _GenesisState_34_list struct { + list *[]*LibP2PKeyAndOffchainNode +} + +func (x *_GenesisState_34_list) Len() int { + if x.list == nil { + return 0 + } + return len(*x.list) +} + +func (x *_GenesisState_34_list) Get(i int) protoreflect.Value { + return protoreflect.ValueOfMessage((*x.list)[i].ProtoReflect()) +} + +func (x *_GenesisState_34_list) Set(i int, value protoreflect.Value) { + valueUnwrapped := value.Message() + concreteValue := valueUnwrapped.Interface().(*LibP2PKeyAndOffchainNode) + (*x.list)[i] = concreteValue +} + +func (x *_GenesisState_34_list) Append(value protoreflect.Value) { + valueUnwrapped := value.Message() + concreteValue := valueUnwrapped.Interface().(*LibP2PKeyAndOffchainNode) + *x.list = append(*x.list, concreteValue) +} + +func (x *_GenesisState_34_list) AppendMutable() protoreflect.Value { + v := new(LibP2PKeyAndOffchainNode) + *x.list = append(*x.list, v) + return protoreflect.ValueOfMessage(v.ProtoReflect()) +} + +func (x *_GenesisState_34_list) Truncate(n int) { + for i := n; i < len(*x.list); i++ { + (*x.list)[i] = nil + } + *x.list = (*x.list)[:n] +} + +func (x *_GenesisState_34_list) NewElement() protoreflect.Value { + v := new(LibP2PKeyAndOffchainNode) + return protoreflect.ValueOfMessage(v.ProtoReflect()) +} + +func (x *_GenesisState_34_list) IsValid() bool { + return x.list != nil +} + +var _ protoreflect.List = (*_GenesisState_35_list)(nil) + +type _GenesisState_35_list struct { + list *[]*LibP2PKeyAndOffchainNode +} + +func (x *_GenesisState_35_list) Len() int { + if x.list == nil { + return 0 + } + return len(*x.list) +} + +func (x *_GenesisState_35_list) Get(i int) protoreflect.Value { + return protoreflect.ValueOfMessage((*x.list)[i].ProtoReflect()) +} + +func (x *_GenesisState_35_list) Set(i int, value protoreflect.Value) { + valueUnwrapped := value.Message() + concreteValue := valueUnwrapped.Interface().(*LibP2PKeyAndOffchainNode) + (*x.list)[i] = concreteValue +} + +func (x *_GenesisState_35_list) Append(value protoreflect.Value) { + valueUnwrapped := value.Message() + concreteValue := valueUnwrapped.Interface().(*LibP2PKeyAndOffchainNode) + *x.list = append(*x.list, concreteValue) +} + +func (x *_GenesisState_35_list) AppendMutable() protoreflect.Value { + v := new(LibP2PKeyAndOffchainNode) + *x.list = append(*x.list, v) + return protoreflect.ValueOfMessage(v.ProtoReflect()) +} + +func (x *_GenesisState_35_list) Truncate(n int) { + for i := n; i < len(*x.list); i++ { + (*x.list)[i] = nil + } + *x.list = (*x.list)[:n] +} + +func (x *_GenesisState_35_list) NewElement() protoreflect.Value { + v := new(LibP2PKeyAndOffchainNode) + return protoreflect.ValueOfMessage(v.ProtoReflect()) +} + +func (x *_GenesisState_35_list) IsValid() bool { + return x.list != nil +} + +var _ protoreflect.List = (*_GenesisState_36_list)(nil) + +type _GenesisState_36_list struct { + list *[]*TopicIdAndInt +} + +func (x *_GenesisState_36_list) Len() int { + if x.list == nil { + return 0 + } + return len(*x.list) +} + +func (x *_GenesisState_36_list) Get(i int) protoreflect.Value { + return protoreflect.ValueOfMessage((*x.list)[i].ProtoReflect()) +} + +func (x *_GenesisState_36_list) Set(i int, value protoreflect.Value) { + valueUnwrapped := value.Message() + concreteValue := valueUnwrapped.Interface().(*TopicIdAndInt) + (*x.list)[i] = concreteValue +} + +func (x *_GenesisState_36_list) Append(value protoreflect.Value) { + valueUnwrapped := value.Message() + concreteValue := valueUnwrapped.Interface().(*TopicIdAndInt) + *x.list = append(*x.list, concreteValue) +} + +func (x *_GenesisState_36_list) AppendMutable() protoreflect.Value { + v := new(TopicIdAndInt) + *x.list = append(*x.list, v) + return protoreflect.ValueOfMessage(v.ProtoReflect()) +} + +func (x *_GenesisState_36_list) Truncate(n int) { + for i := n; i < len(*x.list); i++ { + (*x.list)[i] = nil + } + *x.list = (*x.list)[:n] +} + +func (x *_GenesisState_36_list) NewElement() protoreflect.Value { + v := new(TopicIdAndInt) + return protoreflect.ValueOfMessage(v.ProtoReflect()) +} + +func (x *_GenesisState_36_list) IsValid() bool { + return x.list != nil +} + +var _ protoreflect.List = (*_GenesisState_37_list)(nil) + +type _GenesisState_37_list struct { + list *[]*TopicIdAndDec +} + +func (x *_GenesisState_37_list) Len() int { + if x.list == nil { + return 0 + } + return len(*x.list) +} + +func (x *_GenesisState_37_list) Get(i int) protoreflect.Value { + return protoreflect.ValueOfMessage((*x.list)[i].ProtoReflect()) +} + +func (x *_GenesisState_37_list) Set(i int, value protoreflect.Value) { + valueUnwrapped := value.Message() + concreteValue := valueUnwrapped.Interface().(*TopicIdAndDec) + (*x.list)[i] = concreteValue +} + +func (x *_GenesisState_37_list) Append(value protoreflect.Value) { + valueUnwrapped := value.Message() + concreteValue := valueUnwrapped.Interface().(*TopicIdAndDec) + *x.list = append(*x.list, concreteValue) +} + +func (x *_GenesisState_37_list) AppendMutable() protoreflect.Value { + v := new(TopicIdAndDec) + *x.list = append(*x.list, v) + return protoreflect.ValueOfMessage(v.ProtoReflect()) +} + +func (x *_GenesisState_37_list) Truncate(n int) { + for i := n; i < len(*x.list); i++ { + (*x.list)[i] = nil + } + *x.list = (*x.list)[:n] +} + +func (x *_GenesisState_37_list) NewElement() protoreflect.Value { + v := new(TopicIdAndDec) + return protoreflect.ValueOfMessage(v.ProtoReflect()) +} + +func (x *_GenesisState_37_list) IsValid() bool { + return x.list != nil +} + +var _ protoreflect.List = (*_GenesisState_38_list)(nil) + +type _GenesisState_38_list struct { + list *[]*TopicIdBlockHeightInferences +} + +func (x *_GenesisState_38_list) Len() int { + if x.list == nil { + return 0 + } + return len(*x.list) +} + +func (x *_GenesisState_38_list) Get(i int) protoreflect.Value { + return protoreflect.ValueOfMessage((*x.list)[i].ProtoReflect()) +} + +func (x *_GenesisState_38_list) Set(i int, value protoreflect.Value) { + valueUnwrapped := value.Message() + concreteValue := valueUnwrapped.Interface().(*TopicIdBlockHeightInferences) + (*x.list)[i] = concreteValue +} + +func (x *_GenesisState_38_list) Append(value protoreflect.Value) { + valueUnwrapped := value.Message() + concreteValue := valueUnwrapped.Interface().(*TopicIdBlockHeightInferences) + *x.list = append(*x.list, concreteValue) +} + +func (x *_GenesisState_38_list) AppendMutable() protoreflect.Value { + v := new(TopicIdBlockHeightInferences) + *x.list = append(*x.list, v) + return protoreflect.ValueOfMessage(v.ProtoReflect()) +} + +func (x *_GenesisState_38_list) Truncate(n int) { + for i := n; i < len(*x.list); i++ { + (*x.list)[i] = nil + } + *x.list = (*x.list)[:n] +} + +func (x *_GenesisState_38_list) NewElement() protoreflect.Value { + v := new(TopicIdBlockHeightInferences) + return protoreflect.ValueOfMessage(v.ProtoReflect()) +} + +func (x *_GenesisState_38_list) IsValid() bool { + return x.list != nil +} + +var _ protoreflect.List = (*_GenesisState_39_list)(nil) + +type _GenesisState_39_list struct { + list *[]*TopicIdBlockHeightForecasts +} + +func (x *_GenesisState_39_list) Len() int { + if x.list == nil { + return 0 + } + return len(*x.list) +} + +func (x *_GenesisState_39_list) Get(i int) protoreflect.Value { + return protoreflect.ValueOfMessage((*x.list)[i].ProtoReflect()) +} + +func (x *_GenesisState_39_list) Set(i int, value protoreflect.Value) { + valueUnwrapped := value.Message() + concreteValue := valueUnwrapped.Interface().(*TopicIdBlockHeightForecasts) + (*x.list)[i] = concreteValue +} + +func (x *_GenesisState_39_list) Append(value protoreflect.Value) { + valueUnwrapped := value.Message() + concreteValue := valueUnwrapped.Interface().(*TopicIdBlockHeightForecasts) + *x.list = append(*x.list, concreteValue) +} + +func (x *_GenesisState_39_list) AppendMutable() protoreflect.Value { + v := new(TopicIdBlockHeightForecasts) + *x.list = append(*x.list, v) + return protoreflect.ValueOfMessage(v.ProtoReflect()) +} + +func (x *_GenesisState_39_list) Truncate(n int) { + for i := n; i < len(*x.list); i++ { + (*x.list)[i] = nil + } + *x.list = (*x.list)[:n] +} + +func (x *_GenesisState_39_list) NewElement() protoreflect.Value { + v := new(TopicIdBlockHeightForecasts) + return protoreflect.ValueOfMessage(v.ProtoReflect()) +} + +func (x *_GenesisState_39_list) IsValid() bool { + return x.list != nil +} + +var _ protoreflect.List = (*_GenesisState_40_list)(nil) + +type _GenesisState_40_list struct { + list *[]*TopicIdBlockHeightReputerValueBundles +} + +func (x *_GenesisState_40_list) Len() int { + if x.list == nil { + return 0 + } + return len(*x.list) +} + +func (x *_GenesisState_40_list) Get(i int) protoreflect.Value { + return protoreflect.ValueOfMessage((*x.list)[i].ProtoReflect()) +} + +func (x *_GenesisState_40_list) Set(i int, value protoreflect.Value) { + valueUnwrapped := value.Message() + concreteValue := valueUnwrapped.Interface().(*TopicIdBlockHeightReputerValueBundles) + (*x.list)[i] = concreteValue +} + +func (x *_GenesisState_40_list) Append(value protoreflect.Value) { + valueUnwrapped := value.Message() + concreteValue := valueUnwrapped.Interface().(*TopicIdBlockHeightReputerValueBundles) + *x.list = append(*x.list, concreteValue) +} + +func (x *_GenesisState_40_list) AppendMutable() protoreflect.Value { + v := new(TopicIdBlockHeightReputerValueBundles) + *x.list = append(*x.list, v) + return protoreflect.ValueOfMessage(v.ProtoReflect()) +} + +func (x *_GenesisState_40_list) Truncate(n int) { + for i := n; i < len(*x.list); i++ { + (*x.list)[i] = nil + } + *x.list = (*x.list)[:n] +} + +func (x *_GenesisState_40_list) NewElement() protoreflect.Value { + v := new(TopicIdBlockHeightReputerValueBundles) + return protoreflect.ValueOfMessage(v.ProtoReflect()) +} + +func (x *_GenesisState_40_list) IsValid() bool { + return x.list != nil +} + +var _ protoreflect.List = (*_GenesisState_41_list)(nil) + +type _GenesisState_41_list struct { + list *[]*TopicIdBlockHeightValueBundles +} + +func (x *_GenesisState_41_list) Len() int { + if x.list == nil { + return 0 + } + return len(*x.list) +} + +func (x *_GenesisState_41_list) Get(i int) protoreflect.Value { + return protoreflect.ValueOfMessage((*x.list)[i].ProtoReflect()) +} + +func (x *_GenesisState_41_list) Set(i int, value protoreflect.Value) { + valueUnwrapped := value.Message() + concreteValue := valueUnwrapped.Interface().(*TopicIdBlockHeightValueBundles) + (*x.list)[i] = concreteValue +} + +func (x *_GenesisState_41_list) Append(value protoreflect.Value) { + valueUnwrapped := value.Message() + concreteValue := valueUnwrapped.Interface().(*TopicIdBlockHeightValueBundles) + *x.list = append(*x.list, concreteValue) +} + +func (x *_GenesisState_41_list) AppendMutable() protoreflect.Value { + v := new(TopicIdBlockHeightValueBundles) + *x.list = append(*x.list, v) + return protoreflect.ValueOfMessage(v.ProtoReflect()) +} + +func (x *_GenesisState_41_list) Truncate(n int) { + for i := n; i < len(*x.list); i++ { + (*x.list)[i] = nil + } + *x.list = (*x.list)[:n] +} + +func (x *_GenesisState_41_list) NewElement() protoreflect.Value { + v := new(TopicIdBlockHeightValueBundles) + return protoreflect.ValueOfMessage(v.ProtoReflect()) +} + +func (x *_GenesisState_41_list) IsValid() bool { + return x.list != nil +} + +var _ protoreflect.List = (*_GenesisState_43_list)(nil) + +type _GenesisState_43_list struct { + list *[]*TopicIdAndNonces +} + +func (x *_GenesisState_43_list) Len() int { + if x.list == nil { + return 0 + } + return len(*x.list) +} + +func (x *_GenesisState_43_list) Get(i int) protoreflect.Value { + return protoreflect.ValueOfMessage((*x.list)[i].ProtoReflect()) +} + +func (x *_GenesisState_43_list) Set(i int, value protoreflect.Value) { + valueUnwrapped := value.Message() + concreteValue := valueUnwrapped.Interface().(*TopicIdAndNonces) + (*x.list)[i] = concreteValue +} + +func (x *_GenesisState_43_list) Append(value protoreflect.Value) { + valueUnwrapped := value.Message() + concreteValue := valueUnwrapped.Interface().(*TopicIdAndNonces) + *x.list = append(*x.list, concreteValue) +} + +func (x *_GenesisState_43_list) AppendMutable() protoreflect.Value { + v := new(TopicIdAndNonces) + *x.list = append(*x.list, v) + return protoreflect.ValueOfMessage(v.ProtoReflect()) +} + +func (x *_GenesisState_43_list) Truncate(n int) { + for i := n; i < len(*x.list); i++ { + (*x.list)[i] = nil + } + *x.list = (*x.list)[:n] +} + +func (x *_GenesisState_43_list) NewElement() protoreflect.Value { + v := new(TopicIdAndNonces) + return protoreflect.ValueOfMessage(v.ProtoReflect()) +} + +func (x *_GenesisState_43_list) IsValid() bool { + return x.list != nil +} + +var _ protoreflect.List = (*_GenesisState_44_list)(nil) + +type _GenesisState_44_list struct { + list *[]*TopicIdAndReputerRequestNonces +} + +func (x *_GenesisState_44_list) Len() int { + if x.list == nil { + return 0 + } + return len(*x.list) +} + +func (x *_GenesisState_44_list) Get(i int) protoreflect.Value { + return protoreflect.ValueOfMessage((*x.list)[i].ProtoReflect()) +} + +func (x *_GenesisState_44_list) Set(i int, value protoreflect.Value) { + valueUnwrapped := value.Message() + concreteValue := valueUnwrapped.Interface().(*TopicIdAndReputerRequestNonces) + (*x.list)[i] = concreteValue +} + +func (x *_GenesisState_44_list) Append(value protoreflect.Value) { + valueUnwrapped := value.Message() + concreteValue := valueUnwrapped.Interface().(*TopicIdAndReputerRequestNonces) + *x.list = append(*x.list, concreteValue) +} + +func (x *_GenesisState_44_list) AppendMutable() protoreflect.Value { + v := new(TopicIdAndReputerRequestNonces) + *x.list = append(*x.list, v) + return protoreflect.ValueOfMessage(v.ProtoReflect()) +} + +func (x *_GenesisState_44_list) Truncate(n int) { + for i := n; i < len(*x.list); i++ { + (*x.list)[i] = nil + } + *x.list = (*x.list)[:n] +} + +func (x *_GenesisState_44_list) NewElement() protoreflect.Value { + v := new(TopicIdAndReputerRequestNonces) + return protoreflect.ValueOfMessage(v.ProtoReflect()) +} + +func (x *_GenesisState_44_list) IsValid() bool { + return x.list != nil +} + +var _ protoreflect.List = (*_GenesisState_45_list)(nil) + +type _GenesisState_45_list struct { + list *[]*TopicIdActorIdTimeStampedValue +} + +func (x *_GenesisState_45_list) Len() int { + if x.list == nil { + return 0 + } + return len(*x.list) +} + +func (x *_GenesisState_45_list) Get(i int) protoreflect.Value { + return protoreflect.ValueOfMessage((*x.list)[i].ProtoReflect()) +} + +func (x *_GenesisState_45_list) Set(i int, value protoreflect.Value) { + valueUnwrapped := value.Message() + concreteValue := valueUnwrapped.Interface().(*TopicIdActorIdTimeStampedValue) + (*x.list)[i] = concreteValue +} + +func (x *_GenesisState_45_list) Append(value protoreflect.Value) { + valueUnwrapped := value.Message() + concreteValue := valueUnwrapped.Interface().(*TopicIdActorIdTimeStampedValue) + *x.list = append(*x.list, concreteValue) +} + +func (x *_GenesisState_45_list) AppendMutable() protoreflect.Value { + v := new(TopicIdActorIdTimeStampedValue) + *x.list = append(*x.list, v) + return protoreflect.ValueOfMessage(v.ProtoReflect()) +} + +func (x *_GenesisState_45_list) Truncate(n int) { + for i := n; i < len(*x.list); i++ { + (*x.list)[i] = nil + } + *x.list = (*x.list)[:n] +} + +func (x *_GenesisState_45_list) NewElement() protoreflect.Value { + v := new(TopicIdActorIdTimeStampedValue) + return protoreflect.ValueOfMessage(v.ProtoReflect()) +} + +func (x *_GenesisState_45_list) IsValid() bool { + return x.list != nil +} + +var _ protoreflect.List = (*_GenesisState_46_list)(nil) + +type _GenesisState_46_list struct { + list *[]*TopicIdActorIdTimeStampedValue +} + +func (x *_GenesisState_46_list) Len() int { + if x.list == nil { + return 0 + } + return len(*x.list) +} + +func (x *_GenesisState_46_list) Get(i int) protoreflect.Value { + return protoreflect.ValueOfMessage((*x.list)[i].ProtoReflect()) +} + +func (x *_GenesisState_46_list) Set(i int, value protoreflect.Value) { + valueUnwrapped := value.Message() + concreteValue := valueUnwrapped.Interface().(*TopicIdActorIdTimeStampedValue) + (*x.list)[i] = concreteValue +} + +func (x *_GenesisState_46_list) Append(value protoreflect.Value) { + valueUnwrapped := value.Message() + concreteValue := valueUnwrapped.Interface().(*TopicIdActorIdTimeStampedValue) + *x.list = append(*x.list, concreteValue) +} + +func (x *_GenesisState_46_list) AppendMutable() protoreflect.Value { + v := new(TopicIdActorIdTimeStampedValue) + *x.list = append(*x.list, v) + return protoreflect.ValueOfMessage(v.ProtoReflect()) +} + +func (x *_GenesisState_46_list) Truncate(n int) { + for i := n; i < len(*x.list); i++ { + (*x.list)[i] = nil + } + *x.list = (*x.list)[:n] +} + +func (x *_GenesisState_46_list) NewElement() protoreflect.Value { + v := new(TopicIdActorIdTimeStampedValue) + return protoreflect.ValueOfMessage(v.ProtoReflect()) +} + +func (x *_GenesisState_46_list) IsValid() bool { + return x.list != nil +} + +var _ protoreflect.List = (*_GenesisState_47_list)(nil) + +type _GenesisState_47_list struct { + list *[]*TopicIdActorIdActorIdTimeStampedValue +} + +func (x *_GenesisState_47_list) Len() int { + if x.list == nil { + return 0 + } + return len(*x.list) +} + +func (x *_GenesisState_47_list) Get(i int) protoreflect.Value { + return protoreflect.ValueOfMessage((*x.list)[i].ProtoReflect()) +} + +func (x *_GenesisState_47_list) Set(i int, value protoreflect.Value) { + valueUnwrapped := value.Message() + concreteValue := valueUnwrapped.Interface().(*TopicIdActorIdActorIdTimeStampedValue) + (*x.list)[i] = concreteValue +} + +func (x *_GenesisState_47_list) Append(value protoreflect.Value) { + valueUnwrapped := value.Message() + concreteValue := valueUnwrapped.Interface().(*TopicIdActorIdActorIdTimeStampedValue) + *x.list = append(*x.list, concreteValue) +} + +func (x *_GenesisState_47_list) AppendMutable() protoreflect.Value { + v := new(TopicIdActorIdActorIdTimeStampedValue) + *x.list = append(*x.list, v) + return protoreflect.ValueOfMessage(v.ProtoReflect()) +} + +func (x *_GenesisState_47_list) Truncate(n int) { + for i := n; i < len(*x.list); i++ { + (*x.list)[i] = nil + } + *x.list = (*x.list)[:n] +} + +func (x *_GenesisState_47_list) NewElement() protoreflect.Value { + v := new(TopicIdActorIdActorIdTimeStampedValue) + return protoreflect.ValueOfMessage(v.ProtoReflect()) +} + +func (x *_GenesisState_47_list) IsValid() bool { + return x.list != nil +} + +var _ protoreflect.List = (*_GenesisState_48_list)(nil) + +type _GenesisState_48_list struct { + list *[]*TopicIdActorIdTimeStampedValue +} + +func (x *_GenesisState_48_list) Len() int { + if x.list == nil { + return 0 + } + return len(*x.list) +} + +func (x *_GenesisState_48_list) Get(i int) protoreflect.Value { + return protoreflect.ValueOfMessage((*x.list)[i].ProtoReflect()) +} + +func (x *_GenesisState_48_list) Set(i int, value protoreflect.Value) { + valueUnwrapped := value.Message() + concreteValue := valueUnwrapped.Interface().(*TopicIdActorIdTimeStampedValue) + (*x.list)[i] = concreteValue +} + +func (x *_GenesisState_48_list) Append(value protoreflect.Value) { + valueUnwrapped := value.Message() + concreteValue := valueUnwrapped.Interface().(*TopicIdActorIdTimeStampedValue) + *x.list = append(*x.list, concreteValue) +} + +func (x *_GenesisState_48_list) AppendMutable() protoreflect.Value { + v := new(TopicIdActorIdTimeStampedValue) + *x.list = append(*x.list, v) + return protoreflect.ValueOfMessage(v.ProtoReflect()) +} + +func (x *_GenesisState_48_list) Truncate(n int) { + for i := n; i < len(*x.list); i++ { + (*x.list)[i] = nil + } + *x.list = (*x.list)[:n] +} + +func (x *_GenesisState_48_list) NewElement() protoreflect.Value { + v := new(TopicIdActorIdTimeStampedValue) + return protoreflect.ValueOfMessage(v.ProtoReflect()) +} + +func (x *_GenesisState_48_list) IsValid() bool { + return x.list != nil +} + +var _ protoreflect.List = (*_GenesisState_49_list)(nil) + +type _GenesisState_49_list struct { + list *[]*TopicIdActorIdActorIdTimeStampedValue +} + +func (x *_GenesisState_49_list) Len() int { + if x.list == nil { + return 0 + } + return len(*x.list) +} + +func (x *_GenesisState_49_list) Get(i int) protoreflect.Value { + return protoreflect.ValueOfMessage((*x.list)[i].ProtoReflect()) +} + +func (x *_GenesisState_49_list) Set(i int, value protoreflect.Value) { + valueUnwrapped := value.Message() + concreteValue := valueUnwrapped.Interface().(*TopicIdActorIdActorIdTimeStampedValue) + (*x.list)[i] = concreteValue +} + +func (x *_GenesisState_49_list) Append(value protoreflect.Value) { + valueUnwrapped := value.Message() + concreteValue := valueUnwrapped.Interface().(*TopicIdActorIdActorIdTimeStampedValue) + *x.list = append(*x.list, concreteValue) +} + +func (x *_GenesisState_49_list) AppendMutable() protoreflect.Value { + v := new(TopicIdActorIdActorIdTimeStampedValue) + *x.list = append(*x.list, v) + return protoreflect.ValueOfMessage(v.ProtoReflect()) +} + +func (x *_GenesisState_49_list) Truncate(n int) { + for i := n; i < len(*x.list); i++ { + (*x.list)[i] = nil + } + *x.list = (*x.list)[:n] +} + +func (x *_GenesisState_49_list) NewElement() protoreflect.Value { + v := new(TopicIdActorIdActorIdTimeStampedValue) + return protoreflect.ValueOfMessage(v.ProtoReflect()) +} + +func (x *_GenesisState_49_list) IsValid() bool { + return x.list != nil +} + +var _ protoreflect.List = (*_GenesisState_50_list)(nil) + +type _GenesisState_50_list struct { + list *[]*TopicIdActorIdActorIdTimeStampedValue +} + +func (x *_GenesisState_50_list) Len() int { + if x.list == nil { + return 0 + } + return len(*x.list) +} + +func (x *_GenesisState_50_list) Get(i int) protoreflect.Value { + return protoreflect.ValueOfMessage((*x.list)[i].ProtoReflect()) +} + +func (x *_GenesisState_50_list) Set(i int, value protoreflect.Value) { + valueUnwrapped := value.Message() + concreteValue := valueUnwrapped.Interface().(*TopicIdActorIdActorIdTimeStampedValue) + (*x.list)[i] = concreteValue +} + +func (x *_GenesisState_50_list) Append(value protoreflect.Value) { + valueUnwrapped := value.Message() + concreteValue := valueUnwrapped.Interface().(*TopicIdActorIdActorIdTimeStampedValue) + *x.list = append(*x.list, concreteValue) +} + +func (x *_GenesisState_50_list) AppendMutable() protoreflect.Value { + v := new(TopicIdActorIdActorIdTimeStampedValue) + *x.list = append(*x.list, v) + return protoreflect.ValueOfMessage(v.ProtoReflect()) +} + +func (x *_GenesisState_50_list) Truncate(n int) { + for i := n; i < len(*x.list); i++ { + (*x.list)[i] = nil + } + *x.list = (*x.list)[:n] +} + +func (x *_GenesisState_50_list) NewElement() protoreflect.Value { + v := new(TopicIdActorIdActorIdTimeStampedValue) + return protoreflect.ValueOfMessage(v.ProtoReflect()) +} + +func (x *_GenesisState_50_list) IsValid() bool { + return x.list != nil +} + +var _ protoreflect.List = (*_GenesisState_51_list)(nil) + +type _GenesisState_51_list struct { + list *[]*TopicIdActorIdActorIdTimeStampedValue +} + +func (x *_GenesisState_51_list) Len() int { + if x.list == nil { + return 0 + } + return len(*x.list) +} + +func (x *_GenesisState_51_list) Get(i int) protoreflect.Value { + return protoreflect.ValueOfMessage((*x.list)[i].ProtoReflect()) +} + +func (x *_GenesisState_51_list) Set(i int, value protoreflect.Value) { + valueUnwrapped := value.Message() + concreteValue := valueUnwrapped.Interface().(*TopicIdActorIdActorIdTimeStampedValue) + (*x.list)[i] = concreteValue +} + +func (x *_GenesisState_51_list) Append(value protoreflect.Value) { + valueUnwrapped := value.Message() + concreteValue := valueUnwrapped.Interface().(*TopicIdActorIdActorIdTimeStampedValue) + *x.list = append(*x.list, concreteValue) +} + +func (x *_GenesisState_51_list) AppendMutable() protoreflect.Value { + v := new(TopicIdActorIdActorIdTimeStampedValue) + *x.list = append(*x.list, v) + return protoreflect.ValueOfMessage(v.ProtoReflect()) +} + +func (x *_GenesisState_51_list) Truncate(n int) { + for i := n; i < len(*x.list); i++ { + (*x.list)[i] = nil + } + *x.list = (*x.list)[:n] +} + +func (x *_GenesisState_51_list) NewElement() protoreflect.Value { + v := new(TopicIdActorIdActorIdTimeStampedValue) + return protoreflect.ValueOfMessage(v.ProtoReflect()) +} + +func (x *_GenesisState_51_list) IsValid() bool { + return x.list != nil +} + +var _ protoreflect.List = (*_GenesisState_52_list)(nil) + +type _GenesisState_52_list struct { + list *[]*TopicIdActorIdActorIdTimeStampedValue +} + +func (x *_GenesisState_52_list) Len() int { + if x.list == nil { + return 0 + } + return len(*x.list) +} + +func (x *_GenesisState_52_list) Get(i int) protoreflect.Value { + return protoreflect.ValueOfMessage((*x.list)[i].ProtoReflect()) +} + +func (x *_GenesisState_52_list) Set(i int, value protoreflect.Value) { + valueUnwrapped := value.Message() + concreteValue := valueUnwrapped.Interface().(*TopicIdActorIdActorIdTimeStampedValue) + (*x.list)[i] = concreteValue +} + +func (x *_GenesisState_52_list) Append(value protoreflect.Value) { + valueUnwrapped := value.Message() + concreteValue := valueUnwrapped.Interface().(*TopicIdActorIdActorIdTimeStampedValue) + *x.list = append(*x.list, concreteValue) +} + +func (x *_GenesisState_52_list) AppendMutable() protoreflect.Value { + v := new(TopicIdActorIdActorIdTimeStampedValue) + *x.list = append(*x.list, v) + return protoreflect.ValueOfMessage(v.ProtoReflect()) +} + +func (x *_GenesisState_52_list) Truncate(n int) { + for i := n; i < len(*x.list); i++ { + (*x.list)[i] = nil + } + *x.list = (*x.list)[:n] +} + +func (x *_GenesisState_52_list) NewElement() protoreflect.Value { + v := new(TopicIdActorIdActorIdTimeStampedValue) + return protoreflect.ValueOfMessage(v.ProtoReflect()) +} + +func (x *_GenesisState_52_list) IsValid() bool { + return x.list != nil +} + +var _ protoreflect.List = (*_GenesisState_53_list)(nil) + +type _GenesisState_53_list struct { + list *[]*TopicIdTimestampedActorNonce +} + +func (x *_GenesisState_53_list) Len() int { + if x.list == nil { + return 0 + } + return len(*x.list) +} + +func (x *_GenesisState_53_list) Get(i int) protoreflect.Value { + return protoreflect.ValueOfMessage((*x.list)[i].ProtoReflect()) +} + +func (x *_GenesisState_53_list) Set(i int, value protoreflect.Value) { + valueUnwrapped := value.Message() + concreteValue := valueUnwrapped.Interface().(*TopicIdTimestampedActorNonce) + (*x.list)[i] = concreteValue +} + +func (x *_GenesisState_53_list) Append(value protoreflect.Value) { + valueUnwrapped := value.Message() + concreteValue := valueUnwrapped.Interface().(*TopicIdTimestampedActorNonce) + *x.list = append(*x.list, concreteValue) +} + +func (x *_GenesisState_53_list) AppendMutable() protoreflect.Value { + v := new(TopicIdTimestampedActorNonce) + *x.list = append(*x.list, v) + return protoreflect.ValueOfMessage(v.ProtoReflect()) +} + +func (x *_GenesisState_53_list) Truncate(n int) { + for i := n; i < len(*x.list); i++ { + (*x.list)[i] = nil + } + *x.list = (*x.list)[:n] +} + +func (x *_GenesisState_53_list) NewElement() protoreflect.Value { + v := new(TopicIdTimestampedActorNonce) + return protoreflect.ValueOfMessage(v.ProtoReflect()) +} + +func (x *_GenesisState_53_list) IsValid() bool { + return x.list != nil +} + +var _ protoreflect.List = (*_GenesisState_54_list)(nil) + +type _GenesisState_54_list struct { + list *[]*TopicIdTimestampedActorNonce +} + +func (x *_GenesisState_54_list) Len() int { + if x.list == nil { + return 0 + } + return len(*x.list) +} + +func (x *_GenesisState_54_list) Get(i int) protoreflect.Value { + return protoreflect.ValueOfMessage((*x.list)[i].ProtoReflect()) +} + +func (x *_GenesisState_54_list) Set(i int, value protoreflect.Value) { + valueUnwrapped := value.Message() + concreteValue := valueUnwrapped.Interface().(*TopicIdTimestampedActorNonce) + (*x.list)[i] = concreteValue +} + +func (x *_GenesisState_54_list) Append(value protoreflect.Value) { + valueUnwrapped := value.Message() + concreteValue := valueUnwrapped.Interface().(*TopicIdTimestampedActorNonce) + *x.list = append(*x.list, concreteValue) +} + +func (x *_GenesisState_54_list) AppendMutable() protoreflect.Value { + v := new(TopicIdTimestampedActorNonce) + *x.list = append(*x.list, v) + return protoreflect.ValueOfMessage(v.ProtoReflect()) +} + +func (x *_GenesisState_54_list) Truncate(n int) { + for i := n; i < len(*x.list); i++ { + (*x.list)[i] = nil + } + *x.list = (*x.list)[:n] +} + +func (x *_GenesisState_54_list) NewElement() protoreflect.Value { + v := new(TopicIdTimestampedActorNonce) + return protoreflect.ValueOfMessage(v.ProtoReflect()) +} + +func (x *_GenesisState_54_list) IsValid() bool { + return x.list != nil +} + +var _ protoreflect.List = (*_GenesisState_55_list)(nil) + +type _GenesisState_55_list struct { + list *[]*BlockHeightAndTopicIds +} + +func (x *_GenesisState_55_list) Len() int { + if x.list == nil { + return 0 + } + return len(*x.list) +} + +func (x *_GenesisState_55_list) Get(i int) protoreflect.Value { + return protoreflect.ValueOfMessage((*x.list)[i].ProtoReflect()) +} + +func (x *_GenesisState_55_list) Set(i int, value protoreflect.Value) { + valueUnwrapped := value.Message() + concreteValue := valueUnwrapped.Interface().(*BlockHeightAndTopicIds) + (*x.list)[i] = concreteValue +} + +func (x *_GenesisState_55_list) Append(value protoreflect.Value) { + valueUnwrapped := value.Message() + concreteValue := valueUnwrapped.Interface().(*BlockHeightAndTopicIds) + *x.list = append(*x.list, concreteValue) +} + +func (x *_GenesisState_55_list) AppendMutable() protoreflect.Value { + v := new(BlockHeightAndTopicIds) + *x.list = append(*x.list, v) + return protoreflect.ValueOfMessage(v.ProtoReflect()) +} + +func (x *_GenesisState_55_list) Truncate(n int) { + for i := n; i < len(*x.list); i++ { + (*x.list)[i] = nil + } + *x.list = (*x.list)[:n] +} + +func (x *_GenesisState_55_list) NewElement() protoreflect.Value { + v := new(BlockHeightAndTopicIds) + return protoreflect.ValueOfMessage(v.ProtoReflect()) +} + +func (x *_GenesisState_55_list) IsValid() bool { + return x.list != nil +} + +var _ protoreflect.List = (*_GenesisState_56_list)(nil) + +type _GenesisState_56_list struct { + list *[]*TopicIdAndBlockHeight +} + +func (x *_GenesisState_56_list) Len() int { + if x.list == nil { + return 0 + } + return len(*x.list) +} + +func (x *_GenesisState_56_list) Get(i int) protoreflect.Value { + return protoreflect.ValueOfMessage((*x.list)[i].ProtoReflect()) +} + +func (x *_GenesisState_56_list) Set(i int, value protoreflect.Value) { + valueUnwrapped := value.Message() + concreteValue := valueUnwrapped.Interface().(*TopicIdAndBlockHeight) + (*x.list)[i] = concreteValue +} + +func (x *_GenesisState_56_list) Append(value protoreflect.Value) { + valueUnwrapped := value.Message() + concreteValue := valueUnwrapped.Interface().(*TopicIdAndBlockHeight) + *x.list = append(*x.list, concreteValue) +} + +func (x *_GenesisState_56_list) AppendMutable() protoreflect.Value { + v := new(TopicIdAndBlockHeight) + *x.list = append(*x.list, v) + return protoreflect.ValueOfMessage(v.ProtoReflect()) +} + +func (x *_GenesisState_56_list) Truncate(n int) { + for i := n; i < len(*x.list); i++ { + (*x.list)[i] = nil + } + *x.list = (*x.list)[:n] +} + +func (x *_GenesisState_56_list) NewElement() protoreflect.Value { + v := new(TopicIdAndBlockHeight) + return protoreflect.ValueOfMessage(v.ProtoReflect()) +} + +func (x *_GenesisState_56_list) IsValid() bool { + return x.list != nil +} + +var _ protoreflect.List = (*_GenesisState_57_list)(nil) + +type _GenesisState_57_list struct { + list *[]*TopicIdAndBlockHeight +} + +func (x *_GenesisState_57_list) Len() int { + if x.list == nil { + return 0 + } + return len(*x.list) +} + +func (x *_GenesisState_57_list) Get(i int) protoreflect.Value { + return protoreflect.ValueOfMessage((*x.list)[i].ProtoReflect()) +} + +func (x *_GenesisState_57_list) Set(i int, value protoreflect.Value) { + valueUnwrapped := value.Message() + concreteValue := valueUnwrapped.Interface().(*TopicIdAndBlockHeight) + (*x.list)[i] = concreteValue +} + +func (x *_GenesisState_57_list) Append(value protoreflect.Value) { + valueUnwrapped := value.Message() + concreteValue := valueUnwrapped.Interface().(*TopicIdAndBlockHeight) + *x.list = append(*x.list, concreteValue) +} + +func (x *_GenesisState_57_list) AppendMutable() protoreflect.Value { + v := new(TopicIdAndBlockHeight) + *x.list = append(*x.list, v) + return protoreflect.ValueOfMessage(v.ProtoReflect()) +} + +func (x *_GenesisState_57_list) Truncate(n int) { + for i := n; i < len(*x.list); i++ { + (*x.list)[i] = nil + } + *x.list = (*x.list)[:n] +} + +func (x *_GenesisState_57_list) NewElement() protoreflect.Value { + v := new(TopicIdAndBlockHeight) + return protoreflect.ValueOfMessage(v.ProtoReflect()) +} + +func (x *_GenesisState_57_list) IsValid() bool { + return x.list != nil +} + +var _ protoreflect.List = (*_GenesisState_58_list)(nil) + +type _GenesisState_58_list struct { + list *[]*BlockHeightTopicIds +} + +func (x *_GenesisState_58_list) Len() int { + if x.list == nil { + return 0 + } + return len(*x.list) +} + +func (x *_GenesisState_58_list) Get(i int) protoreflect.Value { + return protoreflect.ValueOfMessage((*x.list)[i].ProtoReflect()) +} + +func (x *_GenesisState_58_list) Set(i int, value protoreflect.Value) { + valueUnwrapped := value.Message() + concreteValue := valueUnwrapped.Interface().(*BlockHeightTopicIds) + (*x.list)[i] = concreteValue +} + +func (x *_GenesisState_58_list) Append(value protoreflect.Value) { + valueUnwrapped := value.Message() + concreteValue := valueUnwrapped.Interface().(*BlockHeightTopicIds) + *x.list = append(*x.list, concreteValue) +} + +func (x *_GenesisState_58_list) AppendMutable() protoreflect.Value { + v := new(BlockHeightTopicIds) + *x.list = append(*x.list, v) + return protoreflect.ValueOfMessage(v.ProtoReflect()) +} + +func (x *_GenesisState_58_list) Truncate(n int) { + for i := n; i < len(*x.list); i++ { + (*x.list)[i] = nil + } + *x.list = (*x.list)[:n] +} + +func (x *_GenesisState_58_list) NewElement() protoreflect.Value { + v := new(BlockHeightTopicIds) + return protoreflect.ValueOfMessage(v.ProtoReflect()) +} + +func (x *_GenesisState_58_list) IsValid() bool { + return x.list != nil +} + +var _ protoreflect.List = (*_GenesisState_59_list)(nil) + +type _GenesisState_59_list struct { + list *[]*BlockHeightTopicIdWeightPair +} + +func (x *_GenesisState_59_list) Len() int { + if x.list == nil { + return 0 + } + return len(*x.list) +} + +func (x *_GenesisState_59_list) Get(i int) protoreflect.Value { + return protoreflect.ValueOfMessage((*x.list)[i].ProtoReflect()) +} + +func (x *_GenesisState_59_list) Set(i int, value protoreflect.Value) { + valueUnwrapped := value.Message() + concreteValue := valueUnwrapped.Interface().(*BlockHeightTopicIdWeightPair) + (*x.list)[i] = concreteValue +} + +func (x *_GenesisState_59_list) Append(value protoreflect.Value) { + valueUnwrapped := value.Message() + concreteValue := valueUnwrapped.Interface().(*BlockHeightTopicIdWeightPair) + *x.list = append(*x.list, concreteValue) +} + +func (x *_GenesisState_59_list) AppendMutable() protoreflect.Value { + v := new(BlockHeightTopicIdWeightPair) + *x.list = append(*x.list, v) + return protoreflect.ValueOfMessage(v.ProtoReflect()) +} + +func (x *_GenesisState_59_list) Truncate(n int) { + for i := n; i < len(*x.list); i++ { + (*x.list)[i] = nil + } + *x.list = (*x.list)[:n] +} + +func (x *_GenesisState_59_list) NewElement() protoreflect.Value { + v := new(BlockHeightTopicIdWeightPair) + return protoreflect.ValueOfMessage(v.ProtoReflect()) +} + +func (x *_GenesisState_59_list) IsValid() bool { + return x.list != nil +} + +var _ protoreflect.List = (*_GenesisState_60_list)(nil) + +type _GenesisState_60_list struct { + list *[]*TopicIdActorIdScore +} + +func (x *_GenesisState_60_list) Len() int { + if x.list == nil { + return 0 + } + return len(*x.list) +} + +func (x *_GenesisState_60_list) Get(i int) protoreflect.Value { + return protoreflect.ValueOfMessage((*x.list)[i].ProtoReflect()) +} + +func (x *_GenesisState_60_list) Set(i int, value protoreflect.Value) { + valueUnwrapped := value.Message() + concreteValue := valueUnwrapped.Interface().(*TopicIdActorIdScore) + (*x.list)[i] = concreteValue +} + +func (x *_GenesisState_60_list) Append(value protoreflect.Value) { + valueUnwrapped := value.Message() + concreteValue := valueUnwrapped.Interface().(*TopicIdActorIdScore) + *x.list = append(*x.list, concreteValue) +} + +func (x *_GenesisState_60_list) AppendMutable() protoreflect.Value { + v := new(TopicIdActorIdScore) + *x.list = append(*x.list, v) + return protoreflect.ValueOfMessage(v.ProtoReflect()) +} + +func (x *_GenesisState_60_list) Truncate(n int) { + for i := n; i < len(*x.list); i++ { + (*x.list)[i] = nil + } + *x.list = (*x.list)[:n] +} + +func (x *_GenesisState_60_list) NewElement() protoreflect.Value { + v := new(TopicIdActorIdScore) + return protoreflect.ValueOfMessage(v.ProtoReflect()) +} + +func (x *_GenesisState_60_list) IsValid() bool { + return x.list != nil +} + +var _ protoreflect.List = (*_GenesisState_61_list)(nil) + +type _GenesisState_61_list struct { + list *[]*TopicIdActorIdScore +} + +func (x *_GenesisState_61_list) Len() int { + if x.list == nil { + return 0 + } + return len(*x.list) +} + +func (x *_GenesisState_61_list) Get(i int) protoreflect.Value { + return protoreflect.ValueOfMessage((*x.list)[i].ProtoReflect()) +} + +func (x *_GenesisState_61_list) Set(i int, value protoreflect.Value) { + valueUnwrapped := value.Message() + concreteValue := valueUnwrapped.Interface().(*TopicIdActorIdScore) + (*x.list)[i] = concreteValue +} + +func (x *_GenesisState_61_list) Append(value protoreflect.Value) { + valueUnwrapped := value.Message() + concreteValue := valueUnwrapped.Interface().(*TopicIdActorIdScore) + *x.list = append(*x.list, concreteValue) +} + +func (x *_GenesisState_61_list) AppendMutable() protoreflect.Value { + v := new(TopicIdActorIdScore) + *x.list = append(*x.list, v) + return protoreflect.ValueOfMessage(v.ProtoReflect()) +} + +func (x *_GenesisState_61_list) Truncate(n int) { + for i := n; i < len(*x.list); i++ { + (*x.list)[i] = nil + } + *x.list = (*x.list)[:n] +} + +func (x *_GenesisState_61_list) NewElement() protoreflect.Value { + v := new(TopicIdActorIdScore) + return protoreflect.ValueOfMessage(v.ProtoReflect()) +} + +func (x *_GenesisState_61_list) IsValid() bool { + return x.list != nil +} + +var _ protoreflect.List = (*_GenesisState_62_list)(nil) + +type _GenesisState_62_list struct { + list *[]*TopicIdActorIdScore +} + +func (x *_GenesisState_62_list) Len() int { + if x.list == nil { + return 0 + } + return len(*x.list) +} + +func (x *_GenesisState_62_list) Get(i int) protoreflect.Value { + return protoreflect.ValueOfMessage((*x.list)[i].ProtoReflect()) +} + +func (x *_GenesisState_62_list) Set(i int, value protoreflect.Value) { + valueUnwrapped := value.Message() + concreteValue := valueUnwrapped.Interface().(*TopicIdActorIdScore) + (*x.list)[i] = concreteValue +} + +func (x *_GenesisState_62_list) Append(value protoreflect.Value) { + valueUnwrapped := value.Message() + concreteValue := valueUnwrapped.Interface().(*TopicIdActorIdScore) + *x.list = append(*x.list, concreteValue) +} + +func (x *_GenesisState_62_list) AppendMutable() protoreflect.Value { + v := new(TopicIdActorIdScore) + *x.list = append(*x.list, v) + return protoreflect.ValueOfMessage(v.ProtoReflect()) +} + +func (x *_GenesisState_62_list) Truncate(n int) { + for i := n; i < len(*x.list); i++ { + (*x.list)[i] = nil + } + *x.list = (*x.list)[:n] +} + +func (x *_GenesisState_62_list) NewElement() protoreflect.Value { + v := new(TopicIdActorIdScore) + return protoreflect.ValueOfMessage(v.ProtoReflect()) +} + +func (x *_GenesisState_62_list) IsValid() bool { + return x.list != nil +} + +var _ protoreflect.List = (*_GenesisState_63_list)(nil) + +type _GenesisState_63_list struct { + list *[]*TopicIdAndDec +} + +func (x *_GenesisState_63_list) Len() int { + if x.list == nil { + return 0 + } + return len(*x.list) +} + +func (x *_GenesisState_63_list) Get(i int) protoreflect.Value { + return protoreflect.ValueOfMessage((*x.list)[i].ProtoReflect()) +} + +func (x *_GenesisState_63_list) Set(i int, value protoreflect.Value) { + valueUnwrapped := value.Message() + concreteValue := valueUnwrapped.Interface().(*TopicIdAndDec) + (*x.list)[i] = concreteValue +} + +func (x *_GenesisState_63_list) Append(value protoreflect.Value) { + valueUnwrapped := value.Message() + concreteValue := valueUnwrapped.Interface().(*TopicIdAndDec) + *x.list = append(*x.list, concreteValue) +} + +func (x *_GenesisState_63_list) AppendMutable() protoreflect.Value { + v := new(TopicIdAndDec) + *x.list = append(*x.list, v) + return protoreflect.ValueOfMessage(v.ProtoReflect()) +} + +func (x *_GenesisState_63_list) Truncate(n int) { + for i := n; i < len(*x.list); i++ { + (*x.list)[i] = nil + } + *x.list = (*x.list)[:n] +} + +func (x *_GenesisState_63_list) NewElement() protoreflect.Value { + v := new(TopicIdAndDec) + return protoreflect.ValueOfMessage(v.ProtoReflect()) +} + +func (x *_GenesisState_63_list) IsValid() bool { + return x.list != nil +} + +var _ protoreflect.List = (*_GenesisState_64_list)(nil) + +type _GenesisState_64_list struct { + list *[]*TopicIdAndDec +} + +func (x *_GenesisState_64_list) Len() int { + if x.list == nil { + return 0 + } + return len(*x.list) +} + +func (x *_GenesisState_64_list) Get(i int) protoreflect.Value { + return protoreflect.ValueOfMessage((*x.list)[i].ProtoReflect()) +} + +func (x *_GenesisState_64_list) Set(i int, value protoreflect.Value) { + valueUnwrapped := value.Message() + concreteValue := valueUnwrapped.Interface().(*TopicIdAndDec) + (*x.list)[i] = concreteValue +} + +func (x *_GenesisState_64_list) Append(value protoreflect.Value) { + valueUnwrapped := value.Message() + concreteValue := valueUnwrapped.Interface().(*TopicIdAndDec) + *x.list = append(*x.list, concreteValue) +} + +func (x *_GenesisState_64_list) AppendMutable() protoreflect.Value { + v := new(TopicIdAndDec) + *x.list = append(*x.list, v) + return protoreflect.ValueOfMessage(v.ProtoReflect()) +} + +func (x *_GenesisState_64_list) Truncate(n int) { + for i := n; i < len(*x.list); i++ { + (*x.list)[i] = nil + } + *x.list = (*x.list)[:n] +} + +func (x *_GenesisState_64_list) NewElement() protoreflect.Value { + v := new(TopicIdAndDec) + return protoreflect.ValueOfMessage(v.ProtoReflect()) +} + +func (x *_GenesisState_64_list) IsValid() bool { + return x.list != nil +} + +var _ protoreflect.List = (*_GenesisState_65_list)(nil) + +type _GenesisState_65_list struct { + list *[]*TopicIdAndDec +} + +func (x *_GenesisState_65_list) Len() int { + if x.list == nil { + return 0 + } + return len(*x.list) +} + +func (x *_GenesisState_65_list) Get(i int) protoreflect.Value { + return protoreflect.ValueOfMessage((*x.list)[i].ProtoReflect()) +} + +func (x *_GenesisState_65_list) Set(i int, value protoreflect.Value) { + valueUnwrapped := value.Message() + concreteValue := valueUnwrapped.Interface().(*TopicIdAndDec) + (*x.list)[i] = concreteValue +} + +func (x *_GenesisState_65_list) Append(value protoreflect.Value) { + valueUnwrapped := value.Message() + concreteValue := valueUnwrapped.Interface().(*TopicIdAndDec) + *x.list = append(*x.list, concreteValue) +} + +func (x *_GenesisState_65_list) AppendMutable() protoreflect.Value { + v := new(TopicIdAndDec) + *x.list = append(*x.list, v) + return protoreflect.ValueOfMessage(v.ProtoReflect()) +} + +func (x *_GenesisState_65_list) Truncate(n int) { + for i := n; i < len(*x.list); i++ { + (*x.list)[i] = nil + } + *x.list = (*x.list)[:n] +} + +func (x *_GenesisState_65_list) NewElement() protoreflect.Value { + v := new(TopicIdAndDec) + return protoreflect.ValueOfMessage(v.ProtoReflect()) +} + +func (x *_GenesisState_65_list) IsValid() bool { + return x.list != nil +} + +var _ protoreflect.List = (*_GenesisState_66_list)(nil) + +type _GenesisState_66_list struct { + list *[]*TopicIdActorIdUint64 +} + +func (x *_GenesisState_66_list) Len() int { + if x.list == nil { + return 0 + } + return len(*x.list) +} + +func (x *_GenesisState_66_list) Get(i int) protoreflect.Value { + return protoreflect.ValueOfMessage((*x.list)[i].ProtoReflect()) +} + +func (x *_GenesisState_66_list) Set(i int, value protoreflect.Value) { + valueUnwrapped := value.Message() + concreteValue := valueUnwrapped.Interface().(*TopicIdActorIdUint64) + (*x.list)[i] = concreteValue +} + +func (x *_GenesisState_66_list) Append(value protoreflect.Value) { + valueUnwrapped := value.Message() + concreteValue := valueUnwrapped.Interface().(*TopicIdActorIdUint64) + *x.list = append(*x.list, concreteValue) +} + +func (x *_GenesisState_66_list) AppendMutable() protoreflect.Value { + v := new(TopicIdActorIdUint64) + *x.list = append(*x.list, v) + return protoreflect.ValueOfMessage(v.ProtoReflect()) +} + +func (x *_GenesisState_66_list) Truncate(n int) { + for i := n; i < len(*x.list); i++ { + (*x.list)[i] = nil + } + *x.list = (*x.list)[:n] +} + +func (x *_GenesisState_66_list) NewElement() protoreflect.Value { + v := new(TopicIdActorIdUint64) + return protoreflect.ValueOfMessage(v.ProtoReflect()) +} + +func (x *_GenesisState_66_list) IsValid() bool { + return x.list != nil +} + +var _ protoreflect.List = (*_GenesisState_67_list)(nil) + +type _GenesisState_67_list struct { + list *[]*TopicIdActorIdUint64 +} + +func (x *_GenesisState_67_list) Len() int { + if x.list == nil { + return 0 + } + return len(*x.list) +} + +func (x *_GenesisState_67_list) Get(i int) protoreflect.Value { + return protoreflect.ValueOfMessage((*x.list)[i].ProtoReflect()) +} + +func (x *_GenesisState_67_list) Set(i int, value protoreflect.Value) { + valueUnwrapped := value.Message() + concreteValue := valueUnwrapped.Interface().(*TopicIdActorIdUint64) + (*x.list)[i] = concreteValue +} + +func (x *_GenesisState_67_list) Append(value protoreflect.Value) { + valueUnwrapped := value.Message() + concreteValue := valueUnwrapped.Interface().(*TopicIdActorIdUint64) + *x.list = append(*x.list, concreteValue) +} + +func (x *_GenesisState_67_list) AppendMutable() protoreflect.Value { + v := new(TopicIdActorIdUint64) + *x.list = append(*x.list, v) + return protoreflect.ValueOfMessage(v.ProtoReflect()) +} + +func (x *_GenesisState_67_list) Truncate(n int) { + for i := n; i < len(*x.list); i++ { + (*x.list)[i] = nil + } + *x.list = (*x.list)[:n] +} + +func (x *_GenesisState_67_list) NewElement() protoreflect.Value { + v := new(TopicIdActorIdUint64) + return protoreflect.ValueOfMessage(v.ProtoReflect()) +} + +func (x *_GenesisState_67_list) IsValid() bool { + return x.list != nil +} + +var _ protoreflect.List = (*_GenesisState_68_list)(nil) + +type _GenesisState_68_list struct { + list *[]*TopicAndActorId +} + +func (x *_GenesisState_68_list) Len() int { + if x.list == nil { + return 0 + } + return len(*x.list) +} + +func (x *_GenesisState_68_list) Get(i int) protoreflect.Value { + return protoreflect.ValueOfMessage((*x.list)[i].ProtoReflect()) +} + +func (x *_GenesisState_68_list) Set(i int, value protoreflect.Value) { + valueUnwrapped := value.Message() + concreteValue := valueUnwrapped.Interface().(*TopicAndActorId) + (*x.list)[i] = concreteValue +} + +func (x *_GenesisState_68_list) Append(value protoreflect.Value) { + valueUnwrapped := value.Message() + concreteValue := valueUnwrapped.Interface().(*TopicAndActorId) + *x.list = append(*x.list, concreteValue) +} + +func (x *_GenesisState_68_list) AppendMutable() protoreflect.Value { + v := new(TopicAndActorId) + *x.list = append(*x.list, v) + return protoreflect.ValueOfMessage(v.ProtoReflect()) +} + +func (x *_GenesisState_68_list) Truncate(n int) { + for i := n; i < len(*x.list); i++ { + (*x.list)[i] = nil + } + *x.list = (*x.list)[:n] +} + +func (x *_GenesisState_68_list) NewElement() protoreflect.Value { + v := new(TopicAndActorId) + return protoreflect.ValueOfMessage(v.ProtoReflect()) +} + +func (x *_GenesisState_68_list) IsValid() bool { + return x.list != nil +} + +var _ protoreflect.List = (*_GenesisState_69_list)(nil) + +type _GenesisState_69_list struct { + list *[]*TopicAndActorId +} + +func (x *_GenesisState_69_list) Len() int { + if x.list == nil { + return 0 + } + return len(*x.list) +} + +func (x *_GenesisState_69_list) Get(i int) protoreflect.Value { + return protoreflect.ValueOfMessage((*x.list)[i].ProtoReflect()) +} + +func (x *_GenesisState_69_list) Set(i int, value protoreflect.Value) { + valueUnwrapped := value.Message() + concreteValue := valueUnwrapped.Interface().(*TopicAndActorId) + (*x.list)[i] = concreteValue +} + +func (x *_GenesisState_69_list) Append(value protoreflect.Value) { + valueUnwrapped := value.Message() + concreteValue := valueUnwrapped.Interface().(*TopicAndActorId) + *x.list = append(*x.list, concreteValue) +} + +func (x *_GenesisState_69_list) AppendMutable() protoreflect.Value { + v := new(TopicAndActorId) + *x.list = append(*x.list, v) + return protoreflect.ValueOfMessage(v.ProtoReflect()) +} + +func (x *_GenesisState_69_list) Truncate(n int) { + for i := n; i < len(*x.list); i++ { + (*x.list)[i] = nil + } + *x.list = (*x.list)[:n] +} + +func (x *_GenesisState_69_list) NewElement() protoreflect.Value { + v := new(TopicAndActorId) + return protoreflect.ValueOfMessage(v.ProtoReflect()) +} + +func (x *_GenesisState_69_list) IsValid() bool { + return x.list != nil +} + +var _ protoreflect.List = (*_GenesisState_70_list)(nil) + +type _GenesisState_70_list struct { + list *[]*TopicIdActorIdScore +} + +func (x *_GenesisState_70_list) Len() int { + if x.list == nil { + return 0 + } + return len(*x.list) +} + +func (x *_GenesisState_70_list) Get(i int) protoreflect.Value { + return protoreflect.ValueOfMessage((*x.list)[i].ProtoReflect()) +} + +func (x *_GenesisState_70_list) Set(i int, value protoreflect.Value) { + valueUnwrapped := value.Message() + concreteValue := valueUnwrapped.Interface().(*TopicIdActorIdScore) + (*x.list)[i] = concreteValue +} + +func (x *_GenesisState_70_list) Append(value protoreflect.Value) { + valueUnwrapped := value.Message() + concreteValue := valueUnwrapped.Interface().(*TopicIdActorIdScore) + *x.list = append(*x.list, concreteValue) +} + +func (x *_GenesisState_70_list) AppendMutable() protoreflect.Value { + v := new(TopicIdActorIdScore) + *x.list = append(*x.list, v) + return protoreflect.ValueOfMessage(v.ProtoReflect()) +} + +func (x *_GenesisState_70_list) Truncate(n int) { + for i := n; i < len(*x.list); i++ { + (*x.list)[i] = nil + } + *x.list = (*x.list)[:n] +} + +func (x *_GenesisState_70_list) NewElement() protoreflect.Value { + v := new(TopicIdActorIdScore) + return protoreflect.ValueOfMessage(v.ProtoReflect()) +} + +func (x *_GenesisState_70_list) IsValid() bool { + return x.list != nil +} + +var _ protoreflect.List = (*_GenesisState_71_list)(nil) + +type _GenesisState_71_list struct { + list *[]*TopicIdActorIdScore +} + +func (x *_GenesisState_71_list) Len() int { + if x.list == nil { + return 0 + } + return len(*x.list) +} + +func (x *_GenesisState_71_list) Get(i int) protoreflect.Value { + return protoreflect.ValueOfMessage((*x.list)[i].ProtoReflect()) +} + +func (x *_GenesisState_71_list) Set(i int, value protoreflect.Value) { + valueUnwrapped := value.Message() + concreteValue := valueUnwrapped.Interface().(*TopicIdActorIdScore) + (*x.list)[i] = concreteValue +} + +func (x *_GenesisState_71_list) Append(value protoreflect.Value) { + valueUnwrapped := value.Message() + concreteValue := valueUnwrapped.Interface().(*TopicIdActorIdScore) + *x.list = append(*x.list, concreteValue) +} + +func (x *_GenesisState_71_list) AppendMutable() protoreflect.Value { + v := new(TopicIdActorIdScore) + *x.list = append(*x.list, v) + return protoreflect.ValueOfMessage(v.ProtoReflect()) +} + +func (x *_GenesisState_71_list) Truncate(n int) { + for i := n; i < len(*x.list); i++ { + (*x.list)[i] = nil + } + *x.list = (*x.list)[:n] +} + +func (x *_GenesisState_71_list) NewElement() protoreflect.Value { + v := new(TopicIdActorIdScore) + return protoreflect.ValueOfMessage(v.ProtoReflect()) +} + +func (x *_GenesisState_71_list) IsValid() bool { + return x.list != nil +} + +var _ protoreflect.List = (*_GenesisState_72_list)(nil) + +type _GenesisState_72_list struct { + list *[]*TopicAndActorId +} + +func (x *_GenesisState_72_list) Len() int { + if x.list == nil { + return 0 + } + return len(*x.list) +} + +func (x *_GenesisState_72_list) Get(i int) protoreflect.Value { + return protoreflect.ValueOfMessage((*x.list)[i].ProtoReflect()) +} + +func (x *_GenesisState_72_list) Set(i int, value protoreflect.Value) { + valueUnwrapped := value.Message() + concreteValue := valueUnwrapped.Interface().(*TopicAndActorId) + (*x.list)[i] = concreteValue +} + +func (x *_GenesisState_72_list) Append(value protoreflect.Value) { + valueUnwrapped := value.Message() + concreteValue := valueUnwrapped.Interface().(*TopicAndActorId) + *x.list = append(*x.list, concreteValue) +} + +func (x *_GenesisState_72_list) AppendMutable() protoreflect.Value { + v := new(TopicAndActorId) + *x.list = append(*x.list, v) + return protoreflect.ValueOfMessage(v.ProtoReflect()) +} + +func (x *_GenesisState_72_list) Truncate(n int) { + for i := n; i < len(*x.list); i++ { + (*x.list)[i] = nil + } + *x.list = (*x.list)[:n] +} + +func (x *_GenesisState_72_list) NewElement() protoreflect.Value { + v := new(TopicAndActorId) + return protoreflect.ValueOfMessage(v.ProtoReflect()) +} + +func (x *_GenesisState_72_list) IsValid() bool { + return x.list != nil +} + +var _ protoreflect.List = (*_GenesisState_73_list)(nil) + +type _GenesisState_73_list struct { + list *[]*TopicIdActorIdScore +} + +func (x *_GenesisState_73_list) Len() int { + if x.list == nil { + return 0 + } + return len(*x.list) +} + +func (x *_GenesisState_73_list) Get(i int) protoreflect.Value { + return protoreflect.ValueOfMessage((*x.list)[i].ProtoReflect()) +} + +func (x *_GenesisState_73_list) Set(i int, value protoreflect.Value) { + valueUnwrapped := value.Message() + concreteValue := valueUnwrapped.Interface().(*TopicIdActorIdScore) + (*x.list)[i] = concreteValue +} + +func (x *_GenesisState_73_list) Append(value protoreflect.Value) { + valueUnwrapped := value.Message() + concreteValue := valueUnwrapped.Interface().(*TopicIdActorIdScore) + *x.list = append(*x.list, concreteValue) +} + +func (x *_GenesisState_73_list) AppendMutable() protoreflect.Value { + v := new(TopicIdActorIdScore) + *x.list = append(*x.list, v) + return protoreflect.ValueOfMessage(v.ProtoReflect()) +} + +func (x *_GenesisState_73_list) Truncate(n int) { + for i := n; i < len(*x.list); i++ { + (*x.list)[i] = nil + } + *x.list = (*x.list)[:n] +} + +func (x *_GenesisState_73_list) NewElement() protoreflect.Value { + v := new(TopicIdActorIdScore) + return protoreflect.ValueOfMessage(v.ProtoReflect()) +} + +func (x *_GenesisState_73_list) IsValid() bool { + return x.list != nil +} + +var _ protoreflect.List = (*_GenesisState_74_list)(nil) + +type _GenesisState_74_list struct { + list *[]*TopicIdReputerReputerValueBundle +} + +func (x *_GenesisState_74_list) Len() int { + if x.list == nil { + return 0 + } + return len(*x.list) +} + +func (x *_GenesisState_74_list) Get(i int) protoreflect.Value { + return protoreflect.ValueOfMessage((*x.list)[i].ProtoReflect()) +} + +func (x *_GenesisState_74_list) Set(i int, value protoreflect.Value) { + valueUnwrapped := value.Message() + concreteValue := valueUnwrapped.Interface().(*TopicIdReputerReputerValueBundle) + (*x.list)[i] = concreteValue +} + +func (x *_GenesisState_74_list) Append(value protoreflect.Value) { + valueUnwrapped := value.Message() + concreteValue := valueUnwrapped.Interface().(*TopicIdReputerReputerValueBundle) + *x.list = append(*x.list, concreteValue) +} + +func (x *_GenesisState_74_list) AppendMutable() protoreflect.Value { + v := new(TopicIdReputerReputerValueBundle) + *x.list = append(*x.list, v) + return protoreflect.ValueOfMessage(v.ProtoReflect()) +} + +func (x *_GenesisState_74_list) Truncate(n int) { + for i := n; i < len(*x.list); i++ { + (*x.list)[i] = nil + } + *x.list = (*x.list)[:n] +} + +func (x *_GenesisState_74_list) NewElement() protoreflect.Value { + v := new(TopicIdReputerReputerValueBundle) + return protoreflect.ValueOfMessage(v.ProtoReflect()) +} + +func (x *_GenesisState_74_list) IsValid() bool { + return x.list != nil +} + +var _ protoreflect.List = (*_GenesisState_77_list)(nil) + +type _GenesisState_77_list struct { + list *[]string +} + +func (x *_GenesisState_77_list) Len() int { + if x.list == nil { + return 0 + } + return len(*x.list) +} + +func (x *_GenesisState_77_list) Get(i int) protoreflect.Value { + return protoreflect.ValueOfString((*x.list)[i]) +} + +func (x *_GenesisState_77_list) Set(i int, value protoreflect.Value) { + valueUnwrapped := value.String() + concreteValue := valueUnwrapped + (*x.list)[i] = concreteValue +} + +func (x *_GenesisState_77_list) Append(value protoreflect.Value) { + valueUnwrapped := value.String() + concreteValue := valueUnwrapped + *x.list = append(*x.list, concreteValue) +} + +func (x *_GenesisState_77_list) AppendMutable() protoreflect.Value { + panic(fmt.Errorf("AppendMutable can not be called on message GenesisState at list field WhitelistAdmins as it is not of Message kind")) +} + +func (x *_GenesisState_77_list) Truncate(n int) { + *x.list = (*x.list)[:n] +} + +func (x *_GenesisState_77_list) NewElement() protoreflect.Value { + v := "" + return protoreflect.ValueOfString(v) +} + +func (x *_GenesisState_77_list) IsValid() bool { + return x.list != nil +} + +var _ protoreflect.List = (*_GenesisState_78_list)(nil) + +type _GenesisState_78_list struct { + list *[]string +} + +func (x *_GenesisState_78_list) Len() int { + if x.list == nil { + return 0 + } + return len(*x.list) +} + +func (x *_GenesisState_78_list) Get(i int) protoreflect.Value { + return protoreflect.ValueOfString((*x.list)[i]) +} + +func (x *_GenesisState_78_list) Set(i int, value protoreflect.Value) { + valueUnwrapped := value.String() + concreteValue := valueUnwrapped + (*x.list)[i] = concreteValue +} + +func (x *_GenesisState_78_list) Append(value protoreflect.Value) { + valueUnwrapped := value.String() + concreteValue := valueUnwrapped + *x.list = append(*x.list, concreteValue) +} + +func (x *_GenesisState_78_list) AppendMutable() protoreflect.Value { + panic(fmt.Errorf("AppendMutable can not be called on message GenesisState at list field GlobalWhitelist as it is not of Message kind")) +} + +func (x *_GenesisState_78_list) Truncate(n int) { + *x.list = (*x.list)[:n] +} + +func (x *_GenesisState_78_list) NewElement() protoreflect.Value { + v := "" + return protoreflect.ValueOfString(v) +} + +func (x *_GenesisState_78_list) IsValid() bool { + return x.list != nil +} + +var _ protoreflect.List = (*_GenesisState_79_list)(nil) + +type _GenesisState_79_list struct { + list *[]string +} + +func (x *_GenesisState_79_list) Len() int { + if x.list == nil { + return 0 + } + return len(*x.list) +} + +func (x *_GenesisState_79_list) Get(i int) protoreflect.Value { + return protoreflect.ValueOfString((*x.list)[i]) +} + +func (x *_GenesisState_79_list) Set(i int, value protoreflect.Value) { + valueUnwrapped := value.String() + concreteValue := valueUnwrapped + (*x.list)[i] = concreteValue +} + +func (x *_GenesisState_79_list) Append(value protoreflect.Value) { + valueUnwrapped := value.String() + concreteValue := valueUnwrapped + *x.list = append(*x.list, concreteValue) +} + +func (x *_GenesisState_79_list) AppendMutable() protoreflect.Value { + panic(fmt.Errorf("AppendMutable can not be called on message GenesisState at list field TopicCreatorWhitelist as it is not of Message kind")) +} + +func (x *_GenesisState_79_list) Truncate(n int) { + *x.list = (*x.list)[:n] +} + +func (x *_GenesisState_79_list) NewElement() protoreflect.Value { + v := "" + return protoreflect.ValueOfString(v) +} + +func (x *_GenesisState_79_list) IsValid() bool { + return x.list != nil +} + +var _ protoreflect.List = (*_GenesisState_80_list)(nil) + +type _GenesisState_80_list struct { + list *[]*TopicAndActorId +} + +func (x *_GenesisState_80_list) Len() int { + if x.list == nil { + return 0 + } + return len(*x.list) +} + +func (x *_GenesisState_80_list) Get(i int) protoreflect.Value { + return protoreflect.ValueOfMessage((*x.list)[i].ProtoReflect()) +} + +func (x *_GenesisState_80_list) Set(i int, value protoreflect.Value) { + valueUnwrapped := value.Message() + concreteValue := valueUnwrapped.Interface().(*TopicAndActorId) + (*x.list)[i] = concreteValue +} + +func (x *_GenesisState_80_list) Append(value protoreflect.Value) { + valueUnwrapped := value.Message() + concreteValue := valueUnwrapped.Interface().(*TopicAndActorId) + *x.list = append(*x.list, concreteValue) +} + +func (x *_GenesisState_80_list) AppendMutable() protoreflect.Value { + v := new(TopicAndActorId) + *x.list = append(*x.list, v) + return protoreflect.ValueOfMessage(v.ProtoReflect()) +} + +func (x *_GenesisState_80_list) Truncate(n int) { + for i := n; i < len(*x.list); i++ { + (*x.list)[i] = nil + } + *x.list = (*x.list)[:n] +} + +func (x *_GenesisState_80_list) NewElement() protoreflect.Value { + v := new(TopicAndActorId) + return protoreflect.ValueOfMessage(v.ProtoReflect()) +} + +func (x *_GenesisState_80_list) IsValid() bool { + return x.list != nil +} + +var _ protoreflect.List = (*_GenesisState_81_list)(nil) + +type _GenesisState_81_list struct { + list *[]*TopicAndActorId +} + +func (x *_GenesisState_81_list) Len() int { + if x.list == nil { + return 0 + } + return len(*x.list) +} + +func (x *_GenesisState_81_list) Get(i int) protoreflect.Value { + return protoreflect.ValueOfMessage((*x.list)[i].ProtoReflect()) +} + +func (x *_GenesisState_81_list) Set(i int, value protoreflect.Value) { + valueUnwrapped := value.Message() + concreteValue := valueUnwrapped.Interface().(*TopicAndActorId) + (*x.list)[i] = concreteValue +} + +func (x *_GenesisState_81_list) Append(value protoreflect.Value) { + valueUnwrapped := value.Message() + concreteValue := valueUnwrapped.Interface().(*TopicAndActorId) + *x.list = append(*x.list, concreteValue) +} + +func (x *_GenesisState_81_list) AppendMutable() protoreflect.Value { + v := new(TopicAndActorId) + *x.list = append(*x.list, v) + return protoreflect.ValueOfMessage(v.ProtoReflect()) +} + +func (x *_GenesisState_81_list) Truncate(n int) { + for i := n; i < len(*x.list); i++ { + (*x.list)[i] = nil + } + *x.list = (*x.list)[:n] +} + +func (x *_GenesisState_81_list) NewElement() protoreflect.Value { + v := new(TopicAndActorId) + return protoreflect.ValueOfMessage(v.ProtoReflect()) +} + +func (x *_GenesisState_81_list) IsValid() bool { + return x.list != nil +} + +var _ protoreflect.List = (*_GenesisState_82_list)(nil) + +type _GenesisState_82_list struct { + list *[]uint64 +} + +func (x *_GenesisState_82_list) Len() int { + if x.list == nil { + return 0 + } + return len(*x.list) +} + +func (x *_GenesisState_82_list) Get(i int) protoreflect.Value { + return protoreflect.ValueOfUint64((*x.list)[i]) +} + +func (x *_GenesisState_82_list) Set(i int, value protoreflect.Value) { + valueUnwrapped := value.Uint() + concreteValue := valueUnwrapped + (*x.list)[i] = concreteValue +} + +func (x *_GenesisState_82_list) Append(value protoreflect.Value) { + valueUnwrapped := value.Uint() + concreteValue := valueUnwrapped + *x.list = append(*x.list, concreteValue) +} + +func (x *_GenesisState_82_list) AppendMutable() protoreflect.Value { + panic(fmt.Errorf("AppendMutable can not be called on message GenesisState at list field TopicWorkerWhitelistEnabled as it is not of Message kind")) +} + +func (x *_GenesisState_82_list) Truncate(n int) { + *x.list = (*x.list)[:n] +} + +func (x *_GenesisState_82_list) NewElement() protoreflect.Value { + v := uint64(0) + return protoreflect.ValueOfUint64(v) +} + +func (x *_GenesisState_82_list) IsValid() bool { + return x.list != nil +} + +var _ protoreflect.List = (*_GenesisState_83_list)(nil) + +type _GenesisState_83_list struct { + list *[]uint64 +} + +func (x *_GenesisState_83_list) Len() int { + if x.list == nil { + return 0 + } + return len(*x.list) +} + +func (x *_GenesisState_83_list) Get(i int) protoreflect.Value { + return protoreflect.ValueOfUint64((*x.list)[i]) +} + +func (x *_GenesisState_83_list) Set(i int, value protoreflect.Value) { + valueUnwrapped := value.Uint() + concreteValue := valueUnwrapped + (*x.list)[i] = concreteValue +} + +func (x *_GenesisState_83_list) Append(value protoreflect.Value) { + valueUnwrapped := value.Uint() + concreteValue := valueUnwrapped + *x.list = append(*x.list, concreteValue) +} + +func (x *_GenesisState_83_list) AppendMutable() protoreflect.Value { + panic(fmt.Errorf("AppendMutable can not be called on message GenesisState at list field TopicReputerWhitelistEnabled as it is not of Message kind")) +} + +func (x *_GenesisState_83_list) Truncate(n int) { + *x.list = (*x.list)[:n] +} + +func (x *_GenesisState_83_list) NewElement() protoreflect.Value { + v := uint64(0) + return protoreflect.ValueOfUint64(v) +} + +func (x *_GenesisState_83_list) IsValid() bool { + return x.list != nil +} + +var _ protoreflect.List = (*_GenesisState_84_list)(nil) + +type _GenesisState_84_list struct { + list *[]*TopicIdAndDec +} + +func (x *_GenesisState_84_list) Len() int { + if x.list == nil { + return 0 + } + return len(*x.list) +} + +func (x *_GenesisState_84_list) Get(i int) protoreflect.Value { + return protoreflect.ValueOfMessage((*x.list)[i].ProtoReflect()) +} + +func (x *_GenesisState_84_list) Set(i int, value protoreflect.Value) { + valueUnwrapped := value.Message() + concreteValue := valueUnwrapped.Interface().(*TopicIdAndDec) + (*x.list)[i] = concreteValue +} + +func (x *_GenesisState_84_list) Append(value protoreflect.Value) { + valueUnwrapped := value.Message() + concreteValue := valueUnwrapped.Interface().(*TopicIdAndDec) + *x.list = append(*x.list, concreteValue) +} + +func (x *_GenesisState_84_list) AppendMutable() protoreflect.Value { + v := new(TopicIdAndDec) + *x.list = append(*x.list, v) + return protoreflect.ValueOfMessage(v.ProtoReflect()) +} + +func (x *_GenesisState_84_list) Truncate(n int) { + for i := n; i < len(*x.list); i++ { + (*x.list)[i] = nil + } + *x.list = (*x.list)[:n] +} + +func (x *_GenesisState_84_list) NewElement() protoreflect.Value { + v := new(TopicIdAndDec) + return protoreflect.ValueOfMessage(v.ProtoReflect()) +} + +func (x *_GenesisState_84_list) IsValid() bool { + return x.list != nil +} + +var _ protoreflect.List = (*_GenesisState_85_list)(nil) + +type _GenesisState_85_list struct { + list *[]*TopicIdAndDec +} + +func (x *_GenesisState_85_list) Len() int { + if x.list == nil { + return 0 + } + return len(*x.list) +} + +func (x *_GenesisState_85_list) Get(i int) protoreflect.Value { + return protoreflect.ValueOfMessage((*x.list)[i].ProtoReflect()) +} + +func (x *_GenesisState_85_list) Set(i int, value protoreflect.Value) { + valueUnwrapped := value.Message() + concreteValue := valueUnwrapped.Interface().(*TopicIdAndDec) + (*x.list)[i] = concreteValue +} + +func (x *_GenesisState_85_list) Append(value protoreflect.Value) { + valueUnwrapped := value.Message() + concreteValue := valueUnwrapped.Interface().(*TopicIdAndDec) + *x.list = append(*x.list, concreteValue) +} + +func (x *_GenesisState_85_list) AppendMutable() protoreflect.Value { + v := new(TopicIdAndDec) + *x.list = append(*x.list, v) + return protoreflect.ValueOfMessage(v.ProtoReflect()) +} + +func (x *_GenesisState_85_list) Truncate(n int) { + for i := n; i < len(*x.list); i++ { + (*x.list)[i] = nil + } + *x.list = (*x.list)[:n] +} + +func (x *_GenesisState_85_list) NewElement() protoreflect.Value { + v := new(TopicIdAndDec) + return protoreflect.ValueOfMessage(v.ProtoReflect()) +} + +func (x *_GenesisState_85_list) IsValid() bool { + return x.list != nil +} + +var _ protoreflect.List = (*_GenesisState_86_list)(nil) + +type _GenesisState_86_list struct { + list *[]*TopicIdAndDec +} + +func (x *_GenesisState_86_list) Len() int { + if x.list == nil { + return 0 + } + return len(*x.list) +} + +func (x *_GenesisState_86_list) Get(i int) protoreflect.Value { + return protoreflect.ValueOfMessage((*x.list)[i].ProtoReflect()) +} + +func (x *_GenesisState_86_list) Set(i int, value protoreflect.Value) { + valueUnwrapped := value.Message() + concreteValue := valueUnwrapped.Interface().(*TopicIdAndDec) + (*x.list)[i] = concreteValue +} + +func (x *_GenesisState_86_list) Append(value protoreflect.Value) { + valueUnwrapped := value.Message() + concreteValue := valueUnwrapped.Interface().(*TopicIdAndDec) + *x.list = append(*x.list, concreteValue) +} + +func (x *_GenesisState_86_list) AppendMutable() protoreflect.Value { + v := new(TopicIdAndDec) + *x.list = append(*x.list, v) + return protoreflect.ValueOfMessage(v.ProtoReflect()) +} + +func (x *_GenesisState_86_list) Truncate(n int) { + for i := n; i < len(*x.list); i++ { + (*x.list)[i] = nil + } + *x.list = (*x.list)[:n] +} + +func (x *_GenesisState_86_list) NewElement() protoreflect.Value { + v := new(TopicIdAndDec) + return protoreflect.ValueOfMessage(v.ProtoReflect()) +} + +func (x *_GenesisState_86_list) IsValid() bool { + return x.list != nil +} + +var _ protoreflect.List = (*_GenesisState_87_list)(nil) + +type _GenesisState_87_list struct { + list *[]*TopicIdAndDec +} + +func (x *_GenesisState_87_list) Len() int { + if x.list == nil { + return 0 + } + return len(*x.list) +} + +func (x *_GenesisState_87_list) Get(i int) protoreflect.Value { + return protoreflect.ValueOfMessage((*x.list)[i].ProtoReflect()) +} + +func (x *_GenesisState_87_list) Set(i int, value protoreflect.Value) { + valueUnwrapped := value.Message() + concreteValue := valueUnwrapped.Interface().(*TopicIdAndDec) + (*x.list)[i] = concreteValue +} + +func (x *_GenesisState_87_list) Append(value protoreflect.Value) { + valueUnwrapped := value.Message() + concreteValue := valueUnwrapped.Interface().(*TopicIdAndDec) + *x.list = append(*x.list, concreteValue) +} + +func (x *_GenesisState_87_list) AppendMutable() protoreflect.Value { + v := new(TopicIdAndDec) + *x.list = append(*x.list, v) + return protoreflect.ValueOfMessage(v.ProtoReflect()) +} + +func (x *_GenesisState_87_list) Truncate(n int) { + for i := n; i < len(*x.list); i++ { + (*x.list)[i] = nil + } + *x.list = (*x.list)[:n] +} + +func (x *_GenesisState_87_list) NewElement() protoreflect.Value { + v := new(TopicIdAndDec) + return protoreflect.ValueOfMessage(v.ProtoReflect()) +} + +func (x *_GenesisState_87_list) IsValid() bool { + return x.list != nil +} + +var _ protoreflect.List = (*_GenesisState_88_list)(nil) + +type _GenesisState_88_list struct { + list *[]*TopicIdAndDec +} + +func (x *_GenesisState_88_list) Len() int { + if x.list == nil { + return 0 + } + return len(*x.list) +} + +func (x *_GenesisState_88_list) Get(i int) protoreflect.Value { + return protoreflect.ValueOfMessage((*x.list)[i].ProtoReflect()) +} + +func (x *_GenesisState_88_list) Set(i int, value protoreflect.Value) { + valueUnwrapped := value.Message() + concreteValue := valueUnwrapped.Interface().(*TopicIdAndDec) + (*x.list)[i] = concreteValue +} + +func (x *_GenesisState_88_list) Append(value protoreflect.Value) { + valueUnwrapped := value.Message() + concreteValue := valueUnwrapped.Interface().(*TopicIdAndDec) + *x.list = append(*x.list, concreteValue) +} + +func (x *_GenesisState_88_list) AppendMutable() protoreflect.Value { + v := new(TopicIdAndDec) + *x.list = append(*x.list, v) + return protoreflect.ValueOfMessage(v.ProtoReflect()) +} + +func (x *_GenesisState_88_list) Truncate(n int) { + for i := n; i < len(*x.list); i++ { + (*x.list)[i] = nil + } + *x.list = (*x.list)[:n] +} + +func (x *_GenesisState_88_list) NewElement() protoreflect.Value { + v := new(TopicIdAndDec) + return protoreflect.ValueOfMessage(v.ProtoReflect()) +} + +func (x *_GenesisState_88_list) IsValid() bool { + return x.list != nil +} + +var _ protoreflect.List = (*_GenesisState_89_list)(nil) + +type _GenesisState_89_list struct { + list *[]string +} + +func (x *_GenesisState_89_list) Len() int { + if x.list == nil { + return 0 + } + return len(*x.list) +} + +func (x *_GenesisState_89_list) Get(i int) protoreflect.Value { + return protoreflect.ValueOfString((*x.list)[i]) +} + +func (x *_GenesisState_89_list) Set(i int, value protoreflect.Value) { + valueUnwrapped := value.String() + concreteValue := valueUnwrapped + (*x.list)[i] = concreteValue +} + +func (x *_GenesisState_89_list) Append(value protoreflect.Value) { + valueUnwrapped := value.String() + concreteValue := valueUnwrapped + *x.list = append(*x.list, concreteValue) +} + +func (x *_GenesisState_89_list) AppendMutable() protoreflect.Value { + panic(fmt.Errorf("AppendMutable can not be called on message GenesisState at list field GlobalWorkerWhitelist as it is not of Message kind")) +} + +func (x *_GenesisState_89_list) Truncate(n int) { + *x.list = (*x.list)[:n] +} + +func (x *_GenesisState_89_list) NewElement() protoreflect.Value { + v := "" + return protoreflect.ValueOfString(v) +} + +func (x *_GenesisState_89_list) IsValid() bool { + return x.list != nil +} + +var _ protoreflect.List = (*_GenesisState_90_list)(nil) + +type _GenesisState_90_list struct { + list *[]string +} + +func (x *_GenesisState_90_list) Len() int { + if x.list == nil { + return 0 + } + return len(*x.list) +} + +func (x *_GenesisState_90_list) Get(i int) protoreflect.Value { + return protoreflect.ValueOfString((*x.list)[i]) +} + +func (x *_GenesisState_90_list) Set(i int, value protoreflect.Value) { + valueUnwrapped := value.String() + concreteValue := valueUnwrapped + (*x.list)[i] = concreteValue +} + +func (x *_GenesisState_90_list) Append(value protoreflect.Value) { + valueUnwrapped := value.String() + concreteValue := valueUnwrapped + *x.list = append(*x.list, concreteValue) +} + +func (x *_GenesisState_90_list) AppendMutable() protoreflect.Value { + panic(fmt.Errorf("AppendMutable can not be called on message GenesisState at list field GlobalReputerWhitelist as it is not of Message kind")) +} + +func (x *_GenesisState_90_list) Truncate(n int) { + *x.list = (*x.list)[:n] +} + +func (x *_GenesisState_90_list) NewElement() protoreflect.Value { + v := "" + return protoreflect.ValueOfString(v) +} + +func (x *_GenesisState_90_list) IsValid() bool { + return x.list != nil +} + +var _ protoreflect.List = (*_GenesisState_91_list)(nil) + +type _GenesisState_91_list struct { + list *[]string +} + +func (x *_GenesisState_91_list) Len() int { + if x.list == nil { + return 0 + } + return len(*x.list) +} + +func (x *_GenesisState_91_list) Get(i int) protoreflect.Value { + return protoreflect.ValueOfString((*x.list)[i]) +} + +func (x *_GenesisState_91_list) Set(i int, value protoreflect.Value) { + valueUnwrapped := value.String() + concreteValue := valueUnwrapped + (*x.list)[i] = concreteValue +} + +func (x *_GenesisState_91_list) Append(value protoreflect.Value) { + valueUnwrapped := value.String() + concreteValue := valueUnwrapped + *x.list = append(*x.list, concreteValue) +} + +func (x *_GenesisState_91_list) AppendMutable() protoreflect.Value { + panic(fmt.Errorf("AppendMutable can not be called on message GenesisState at list field GlobalAdminWhitelist as it is not of Message kind")) +} + +func (x *_GenesisState_91_list) Truncate(n int) { + *x.list = (*x.list)[:n] +} + +func (x *_GenesisState_91_list) NewElement() protoreflect.Value { + v := "" + return protoreflect.ValueOfString(v) +} + +func (x *_GenesisState_91_list) IsValid() bool { + return x.list != nil +} + +var _ protoreflect.List = (*_GenesisState_92_list)(nil) + +type _GenesisState_92_list struct { + list *[]*TopicIdAndDec +} + +func (x *_GenesisState_92_list) Len() int { + if x.list == nil { + return 0 + } + return len(*x.list) +} + +func (x *_GenesisState_92_list) Get(i int) protoreflect.Value { + return protoreflect.ValueOfMessage((*x.list)[i].ProtoReflect()) +} + +func (x *_GenesisState_92_list) Set(i int, value protoreflect.Value) { + valueUnwrapped := value.Message() + concreteValue := valueUnwrapped.Interface().(*TopicIdAndDec) + (*x.list)[i] = concreteValue +} + +func (x *_GenesisState_92_list) Append(value protoreflect.Value) { + valueUnwrapped := value.Message() + concreteValue := valueUnwrapped.Interface().(*TopicIdAndDec) + *x.list = append(*x.list, concreteValue) +} + +func (x *_GenesisState_92_list) AppendMutable() protoreflect.Value { + v := new(TopicIdAndDec) + *x.list = append(*x.list, v) + return protoreflect.ValueOfMessage(v.ProtoReflect()) +} + +func (x *_GenesisState_92_list) Truncate(n int) { + for i := n; i < len(*x.list); i++ { + (*x.list)[i] = nil + } + *x.list = (*x.list)[:n] +} + +func (x *_GenesisState_92_list) NewElement() protoreflect.Value { + v := new(TopicIdAndDec) + return protoreflect.ValueOfMessage(v.ProtoReflect()) +} + +func (x *_GenesisState_92_list) IsValid() bool { + return x.list != nil +} + +var _ protoreflect.List = (*_GenesisState_93_list)(nil) + +type _GenesisState_93_list struct { + list *[]*TopicIdActorIdDec +} + +func (x *_GenesisState_93_list) Len() int { + if x.list == nil { + return 0 + } + return len(*x.list) +} + +func (x *_GenesisState_93_list) Get(i int) protoreflect.Value { + return protoreflect.ValueOfMessage((*x.list)[i].ProtoReflect()) +} + +func (x *_GenesisState_93_list) Set(i int, value protoreflect.Value) { + valueUnwrapped := value.Message() + concreteValue := valueUnwrapped.Interface().(*TopicIdActorIdDec) + (*x.list)[i] = concreteValue +} + +func (x *_GenesisState_93_list) Append(value protoreflect.Value) { + valueUnwrapped := value.Message() + concreteValue := valueUnwrapped.Interface().(*TopicIdActorIdDec) + *x.list = append(*x.list, concreteValue) +} + +func (x *_GenesisState_93_list) AppendMutable() protoreflect.Value { + v := new(TopicIdActorIdDec) + *x.list = append(*x.list, v) + return protoreflect.ValueOfMessage(v.ProtoReflect()) +} + +func (x *_GenesisState_93_list) Truncate(n int) { + for i := n; i < len(*x.list); i++ { + (*x.list)[i] = nil + } + *x.list = (*x.list)[:n] +} + +func (x *_GenesisState_93_list) NewElement() protoreflect.Value { + v := new(TopicIdActorIdDec) + return protoreflect.ValueOfMessage(v.ProtoReflect()) +} + +func (x *_GenesisState_93_list) IsValid() bool { + return x.list != nil +} + +var _ protoreflect.List = (*_GenesisState_94_list)(nil) + +type _GenesisState_94_list struct { + list *[]*TopicIdActorIdDec +} + +func (x *_GenesisState_94_list) Len() int { + if x.list == nil { + return 0 + } + return len(*x.list) +} + +func (x *_GenesisState_94_list) Get(i int) protoreflect.Value { + return protoreflect.ValueOfMessage((*x.list)[i].ProtoReflect()) +} + +func (x *_GenesisState_94_list) Set(i int, value protoreflect.Value) { + valueUnwrapped := value.Message() + concreteValue := valueUnwrapped.Interface().(*TopicIdActorIdDec) + (*x.list)[i] = concreteValue +} + +func (x *_GenesisState_94_list) Append(value protoreflect.Value) { + valueUnwrapped := value.Message() + concreteValue := valueUnwrapped.Interface().(*TopicIdActorIdDec) + *x.list = append(*x.list, concreteValue) +} + +func (x *_GenesisState_94_list) AppendMutable() protoreflect.Value { + v := new(TopicIdActorIdDec) + *x.list = append(*x.list, v) + return protoreflect.ValueOfMessage(v.ProtoReflect()) +} + +func (x *_GenesisState_94_list) Truncate(n int) { + for i := n; i < len(*x.list); i++ { + (*x.list)[i] = nil + } + *x.list = (*x.list)[:n] +} + +func (x *_GenesisState_94_list) NewElement() protoreflect.Value { + v := new(TopicIdActorIdDec) + return protoreflect.ValueOfMessage(v.ProtoReflect()) +} + +func (x *_GenesisState_94_list) IsValid() bool { + return x.list != nil +} + +var ( + md_GenesisState protoreflect.MessageDescriptor + fd_GenesisState_params protoreflect.FieldDescriptor + fd_GenesisState_core_team_addresses protoreflect.FieldDescriptor + fd_GenesisState_next_topic_id protoreflect.FieldDescriptor + fd_GenesisState_topics protoreflect.FieldDescriptor + fd_GenesisState_active_topics protoreflect.FieldDescriptor + fd_GenesisState_rewardable_topics protoreflect.FieldDescriptor + fd_GenesisState_topic_workers protoreflect.FieldDescriptor + fd_GenesisState_topic_reputers protoreflect.FieldDescriptor + fd_GenesisState_topic_reward_nonce protoreflect.FieldDescriptor + fd_GenesisState_inferer_scores_by_block protoreflect.FieldDescriptor + fd_GenesisState_forecaster_scores_by_block protoreflect.FieldDescriptor + fd_GenesisState_reputer_scores_by_block protoreflect.FieldDescriptor + fd_GenesisState_reputer_listening_coefficient protoreflect.FieldDescriptor + fd_GenesisState_previous_reputer_reward_fraction protoreflect.FieldDescriptor + fd_GenesisState_previous_inference_reward_fraction protoreflect.FieldDescriptor + fd_GenesisState_previous_forecast_reward_fraction protoreflect.FieldDescriptor + fd_GenesisState_previous_forecaster_score_ratio protoreflect.FieldDescriptor + fd_GenesisState_total_stake protoreflect.FieldDescriptor + fd_GenesisState_topic_stake protoreflect.FieldDescriptor + fd_GenesisState_stake_reputer_authority protoreflect.FieldDescriptor + fd_GenesisState_stake_sum_from_delegator protoreflect.FieldDescriptor + fd_GenesisState_delegated_stakes protoreflect.FieldDescriptor + fd_GenesisState_stake_from_delegators_upon_reputer protoreflect.FieldDescriptor + fd_GenesisState_delegate_reward_per_share protoreflect.FieldDescriptor + fd_GenesisState_stake_removals_by_block protoreflect.FieldDescriptor + fd_GenesisState_stake_removals_by_actor protoreflect.FieldDescriptor + fd_GenesisState_delegate_stake_removals_by_block protoreflect.FieldDescriptor + fd_GenesisState_delegate_stake_removals_by_actor protoreflect.FieldDescriptor + fd_GenesisState_inferences protoreflect.FieldDescriptor + fd_GenesisState_forecasts protoreflect.FieldDescriptor + fd_GenesisState_workers protoreflect.FieldDescriptor + fd_GenesisState_reputers protoreflect.FieldDescriptor + fd_GenesisState_topic_fee_revenue protoreflect.FieldDescriptor + fd_GenesisState_previous_topic_weight protoreflect.FieldDescriptor + fd_GenesisState_all_inferences protoreflect.FieldDescriptor + fd_GenesisState_all_forecasts protoreflect.FieldDescriptor + fd_GenesisState_all_loss_bundles protoreflect.FieldDescriptor + fd_GenesisState_network_loss_bundles protoreflect.FieldDescriptor + fd_GenesisState_previous_percentage_reward_to_staked_reputers protoreflect.FieldDescriptor + fd_GenesisState_unfulfilled_worker_nonces protoreflect.FieldDescriptor + fd_GenesisState_unfulfilled_reputer_nonces protoreflect.FieldDescriptor + fd_GenesisState_latest_inferer_network_regrets protoreflect.FieldDescriptor + fd_GenesisState_latest_forecaster_network_regrets protoreflect.FieldDescriptor + fd_GenesisState_latest_one_in_forecaster_network_regrets protoreflect.FieldDescriptor + fd_GenesisState_latest_naive_inferer_network_regrets protoreflect.FieldDescriptor + fd_GenesisState_latest_one_out_inferer_inferer_network_regrets protoreflect.FieldDescriptor + fd_GenesisState_latest_one_out_inferer_forecaster_network_regrets protoreflect.FieldDescriptor + fd_GenesisState_latest_one_out_forecaster_inferer_network_regrets protoreflect.FieldDescriptor + fd_GenesisState_latest_one_out_forecaster_forecaster_network_regrets protoreflect.FieldDescriptor + fd_GenesisState_topic_last_worker_commit protoreflect.FieldDescriptor + fd_GenesisState_topic_last_reputer_commit protoreflect.FieldDescriptor + fd_GenesisState_open_worker_windows protoreflect.FieldDescriptor + fd_GenesisState_last_drip_block protoreflect.FieldDescriptor + fd_GenesisState_topic_to_next_possible_churning_block protoreflect.FieldDescriptor + fd_GenesisState_block_to_active_topics protoreflect.FieldDescriptor + fd_GenesisState_block_to_lowest_active_topic_weight protoreflect.FieldDescriptor + fd_GenesisState_inferer_score_emas protoreflect.FieldDescriptor + fd_GenesisState_forecaster_score_emas protoreflect.FieldDescriptor + fd_GenesisState_reputer_score_emas protoreflect.FieldDescriptor + fd_GenesisState_previous_topic_quantile_inferer_score_ema protoreflect.FieldDescriptor + fd_GenesisState_previous_topic_quantile_forecaster_score_ema protoreflect.FieldDescriptor + fd_GenesisState_previous_topic_quantile_reputer_score_ema protoreflect.FieldDescriptor + fd_GenesisState_count_inferer_inclusions_in_topic_active_set protoreflect.FieldDescriptor + fd_GenesisState_count_forecaster_inclusions_in_topic_active_set protoreflect.FieldDescriptor + fd_GenesisState_active_inferers protoreflect.FieldDescriptor + fd_GenesisState_active_forecasters protoreflect.FieldDescriptor + fd_GenesisState_lowest_inferer_score_ema protoreflect.FieldDescriptor + fd_GenesisState_lowest_forecaster_score_ema protoreflect.FieldDescriptor + fd_GenesisState_active_reputers protoreflect.FieldDescriptor + fd_GenesisState_lowest_reputer_score_ema protoreflect.FieldDescriptor + fd_GenesisState_loss_bundles protoreflect.FieldDescriptor + fd_GenesisState_total_sum_previous_topic_weights protoreflect.FieldDescriptor + fd_GenesisState_reward_current_block_emission protoreflect.FieldDescriptor + fd_GenesisState_whitelist_admins protoreflect.FieldDescriptor + fd_GenesisState_global_whitelist protoreflect.FieldDescriptor + fd_GenesisState_topic_creator_whitelist protoreflect.FieldDescriptor + fd_GenesisState_topic_worker_whitelist protoreflect.FieldDescriptor + fd_GenesisState_topic_reputer_whitelist protoreflect.FieldDescriptor + fd_GenesisState_topic_worker_whitelist_enabled protoreflect.FieldDescriptor + fd_GenesisState_topic_reputer_whitelist_enabled protoreflect.FieldDescriptor + fd_GenesisState_last_median_inferences protoreflect.FieldDescriptor + fd_GenesisState_mad_inferences protoreflect.FieldDescriptor + fd_GenesisState_initial_inferer_ema_score protoreflect.FieldDescriptor + fd_GenesisState_initial_forecaster_ema_score protoreflect.FieldDescriptor + fd_GenesisState_initial_reputer_ema_score protoreflect.FieldDescriptor + fd_GenesisState_global_worker_whitelist protoreflect.FieldDescriptor + fd_GenesisState_global_reputer_whitelist protoreflect.FieldDescriptor + fd_GenesisState_global_admin_whitelist protoreflect.FieldDescriptor + fd_GenesisState_latest_regret_std_norm protoreflect.FieldDescriptor + fd_GenesisState_latest_inferer_weights protoreflect.FieldDescriptor + fd_GenesisState_latest_forecaster_weights protoreflect.FieldDescriptor +) + +func init() { + file_emissions_v8_genesis_proto_init() + md_GenesisState = File_emissions_v8_genesis_proto.Messages().ByName("GenesisState") + fd_GenesisState_params = md_GenesisState.Fields().ByName("params") + fd_GenesisState_core_team_addresses = md_GenesisState.Fields().ByName("core_team_addresses") + fd_GenesisState_next_topic_id = md_GenesisState.Fields().ByName("next_topic_id") + fd_GenesisState_topics = md_GenesisState.Fields().ByName("topics") + fd_GenesisState_active_topics = md_GenesisState.Fields().ByName("active_topics") + fd_GenesisState_rewardable_topics = md_GenesisState.Fields().ByName("rewardable_topics") + fd_GenesisState_topic_workers = md_GenesisState.Fields().ByName("topic_workers") + fd_GenesisState_topic_reputers = md_GenesisState.Fields().ByName("topic_reputers") + fd_GenesisState_topic_reward_nonce = md_GenesisState.Fields().ByName("topic_reward_nonce") + fd_GenesisState_inferer_scores_by_block = md_GenesisState.Fields().ByName("inferer_scores_by_block") + fd_GenesisState_forecaster_scores_by_block = md_GenesisState.Fields().ByName("forecaster_scores_by_block") + fd_GenesisState_reputer_scores_by_block = md_GenesisState.Fields().ByName("reputer_scores_by_block") + fd_GenesisState_reputer_listening_coefficient = md_GenesisState.Fields().ByName("reputer_listening_coefficient") + fd_GenesisState_previous_reputer_reward_fraction = md_GenesisState.Fields().ByName("previous_reputer_reward_fraction") + fd_GenesisState_previous_inference_reward_fraction = md_GenesisState.Fields().ByName("previous_inference_reward_fraction") + fd_GenesisState_previous_forecast_reward_fraction = md_GenesisState.Fields().ByName("previous_forecast_reward_fraction") + fd_GenesisState_previous_forecaster_score_ratio = md_GenesisState.Fields().ByName("previous_forecaster_score_ratio") + fd_GenesisState_total_stake = md_GenesisState.Fields().ByName("total_stake") + fd_GenesisState_topic_stake = md_GenesisState.Fields().ByName("topic_stake") + fd_GenesisState_stake_reputer_authority = md_GenesisState.Fields().ByName("stake_reputer_authority") + fd_GenesisState_stake_sum_from_delegator = md_GenesisState.Fields().ByName("stake_sum_from_delegator") + fd_GenesisState_delegated_stakes = md_GenesisState.Fields().ByName("delegated_stakes") + fd_GenesisState_stake_from_delegators_upon_reputer = md_GenesisState.Fields().ByName("stake_from_delegators_upon_reputer") + fd_GenesisState_delegate_reward_per_share = md_GenesisState.Fields().ByName("delegate_reward_per_share") + fd_GenesisState_stake_removals_by_block = md_GenesisState.Fields().ByName("stake_removals_by_block") + fd_GenesisState_stake_removals_by_actor = md_GenesisState.Fields().ByName("stake_removals_by_actor") + fd_GenesisState_delegate_stake_removals_by_block = md_GenesisState.Fields().ByName("delegate_stake_removals_by_block") + fd_GenesisState_delegate_stake_removals_by_actor = md_GenesisState.Fields().ByName("delegate_stake_removals_by_actor") + fd_GenesisState_inferences = md_GenesisState.Fields().ByName("inferences") + fd_GenesisState_forecasts = md_GenesisState.Fields().ByName("forecasts") + fd_GenesisState_workers = md_GenesisState.Fields().ByName("workers") + fd_GenesisState_reputers = md_GenesisState.Fields().ByName("reputers") + fd_GenesisState_topic_fee_revenue = md_GenesisState.Fields().ByName("topic_fee_revenue") + fd_GenesisState_previous_topic_weight = md_GenesisState.Fields().ByName("previous_topic_weight") + fd_GenesisState_all_inferences = md_GenesisState.Fields().ByName("all_inferences") + fd_GenesisState_all_forecasts = md_GenesisState.Fields().ByName("all_forecasts") + fd_GenesisState_all_loss_bundles = md_GenesisState.Fields().ByName("all_loss_bundles") + fd_GenesisState_network_loss_bundles = md_GenesisState.Fields().ByName("network_loss_bundles") + fd_GenesisState_previous_percentage_reward_to_staked_reputers = md_GenesisState.Fields().ByName("previous_percentage_reward_to_staked_reputers") + fd_GenesisState_unfulfilled_worker_nonces = md_GenesisState.Fields().ByName("unfulfilled_worker_nonces") + fd_GenesisState_unfulfilled_reputer_nonces = md_GenesisState.Fields().ByName("unfulfilled_reputer_nonces") + fd_GenesisState_latest_inferer_network_regrets = md_GenesisState.Fields().ByName("latest_inferer_network_regrets") + fd_GenesisState_latest_forecaster_network_regrets = md_GenesisState.Fields().ByName("latest_forecaster_network_regrets") + fd_GenesisState_latest_one_in_forecaster_network_regrets = md_GenesisState.Fields().ByName("latest_one_in_forecaster_network_regrets") + fd_GenesisState_latest_naive_inferer_network_regrets = md_GenesisState.Fields().ByName("latest_naive_inferer_network_regrets") + fd_GenesisState_latest_one_out_inferer_inferer_network_regrets = md_GenesisState.Fields().ByName("latest_one_out_inferer_inferer_network_regrets") + fd_GenesisState_latest_one_out_inferer_forecaster_network_regrets = md_GenesisState.Fields().ByName("latest_one_out_inferer_forecaster_network_regrets") + fd_GenesisState_latest_one_out_forecaster_inferer_network_regrets = md_GenesisState.Fields().ByName("latest_one_out_forecaster_inferer_network_regrets") + fd_GenesisState_latest_one_out_forecaster_forecaster_network_regrets = md_GenesisState.Fields().ByName("latest_one_out_forecaster_forecaster_network_regrets") + fd_GenesisState_topic_last_worker_commit = md_GenesisState.Fields().ByName("topic_last_worker_commit") + fd_GenesisState_topic_last_reputer_commit = md_GenesisState.Fields().ByName("topic_last_reputer_commit") + fd_GenesisState_open_worker_windows = md_GenesisState.Fields().ByName("open_worker_windows") + fd_GenesisState_last_drip_block = md_GenesisState.Fields().ByName("last_drip_block") + fd_GenesisState_topic_to_next_possible_churning_block = md_GenesisState.Fields().ByName("topic_to_next_possible_churning_block") + fd_GenesisState_block_to_active_topics = md_GenesisState.Fields().ByName("block_to_active_topics") + fd_GenesisState_block_to_lowest_active_topic_weight = md_GenesisState.Fields().ByName("block_to_lowest_active_topic_weight") + fd_GenesisState_inferer_score_emas = md_GenesisState.Fields().ByName("inferer_score_emas") + fd_GenesisState_forecaster_score_emas = md_GenesisState.Fields().ByName("forecaster_score_emas") + fd_GenesisState_reputer_score_emas = md_GenesisState.Fields().ByName("reputer_score_emas") + fd_GenesisState_previous_topic_quantile_inferer_score_ema = md_GenesisState.Fields().ByName("previous_topic_quantile_inferer_score_ema") + fd_GenesisState_previous_topic_quantile_forecaster_score_ema = md_GenesisState.Fields().ByName("previous_topic_quantile_forecaster_score_ema") + fd_GenesisState_previous_topic_quantile_reputer_score_ema = md_GenesisState.Fields().ByName("previous_topic_quantile_reputer_score_ema") + fd_GenesisState_count_inferer_inclusions_in_topic_active_set = md_GenesisState.Fields().ByName("count_inferer_inclusions_in_topic_active_set") + fd_GenesisState_count_forecaster_inclusions_in_topic_active_set = md_GenesisState.Fields().ByName("count_forecaster_inclusions_in_topic_active_set") + fd_GenesisState_active_inferers = md_GenesisState.Fields().ByName("active_inferers") + fd_GenesisState_active_forecasters = md_GenesisState.Fields().ByName("active_forecasters") + fd_GenesisState_lowest_inferer_score_ema = md_GenesisState.Fields().ByName("lowest_inferer_score_ema") + fd_GenesisState_lowest_forecaster_score_ema = md_GenesisState.Fields().ByName("lowest_forecaster_score_ema") + fd_GenesisState_active_reputers = md_GenesisState.Fields().ByName("active_reputers") + fd_GenesisState_lowest_reputer_score_ema = md_GenesisState.Fields().ByName("lowest_reputer_score_ema") + fd_GenesisState_loss_bundles = md_GenesisState.Fields().ByName("loss_bundles") + fd_GenesisState_total_sum_previous_topic_weights = md_GenesisState.Fields().ByName("total_sum_previous_topic_weights") + fd_GenesisState_reward_current_block_emission = md_GenesisState.Fields().ByName("reward_current_block_emission") + fd_GenesisState_whitelist_admins = md_GenesisState.Fields().ByName("whitelist_admins") + fd_GenesisState_global_whitelist = md_GenesisState.Fields().ByName("global_whitelist") + fd_GenesisState_topic_creator_whitelist = md_GenesisState.Fields().ByName("topic_creator_whitelist") + fd_GenesisState_topic_worker_whitelist = md_GenesisState.Fields().ByName("topic_worker_whitelist") + fd_GenesisState_topic_reputer_whitelist = md_GenesisState.Fields().ByName("topic_reputer_whitelist") + fd_GenesisState_topic_worker_whitelist_enabled = md_GenesisState.Fields().ByName("topic_worker_whitelist_enabled") + fd_GenesisState_topic_reputer_whitelist_enabled = md_GenesisState.Fields().ByName("topic_reputer_whitelist_enabled") + fd_GenesisState_last_median_inferences = md_GenesisState.Fields().ByName("last_median_inferences") + fd_GenesisState_mad_inferences = md_GenesisState.Fields().ByName("mad_inferences") + fd_GenesisState_initial_inferer_ema_score = md_GenesisState.Fields().ByName("initial_inferer_ema_score") + fd_GenesisState_initial_forecaster_ema_score = md_GenesisState.Fields().ByName("initial_forecaster_ema_score") + fd_GenesisState_initial_reputer_ema_score = md_GenesisState.Fields().ByName("initial_reputer_ema_score") + fd_GenesisState_global_worker_whitelist = md_GenesisState.Fields().ByName("global_worker_whitelist") + fd_GenesisState_global_reputer_whitelist = md_GenesisState.Fields().ByName("global_reputer_whitelist") + fd_GenesisState_global_admin_whitelist = md_GenesisState.Fields().ByName("global_admin_whitelist") + fd_GenesisState_latest_regret_std_norm = md_GenesisState.Fields().ByName("latest_regret_std_norm") + fd_GenesisState_latest_inferer_weights = md_GenesisState.Fields().ByName("latest_inferer_weights") + fd_GenesisState_latest_forecaster_weights = md_GenesisState.Fields().ByName("latest_forecaster_weights") +} + +var _ protoreflect.Message = (*fastReflection_GenesisState)(nil) + +type fastReflection_GenesisState GenesisState + +func (x *GenesisState) ProtoReflect() protoreflect.Message { + return (*fastReflection_GenesisState)(x) +} + +func (x *GenesisState) slowProtoReflect() protoreflect.Message { + mi := &file_emissions_v8_genesis_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) +} + +var _fastReflection_GenesisState_messageType fastReflection_GenesisState_messageType +var _ protoreflect.MessageType = fastReflection_GenesisState_messageType{} + +type fastReflection_GenesisState_messageType struct{} + +func (x fastReflection_GenesisState_messageType) Zero() protoreflect.Message { + return (*fastReflection_GenesisState)(nil) +} +func (x fastReflection_GenesisState_messageType) New() protoreflect.Message { + return new(fastReflection_GenesisState) +} +func (x fastReflection_GenesisState_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_GenesisState +} + +// Descriptor returns message descriptor, which contains only the protobuf +// type information for the message. +func (x *fastReflection_GenesisState) Descriptor() protoreflect.MessageDescriptor { + return md_GenesisState +} + +// Type returns the message type, which encapsulates both Go and protobuf +// type information. If the Go type information is not needed, +// it is recommended that the message descriptor be used instead. +func (x *fastReflection_GenesisState) Type() protoreflect.MessageType { + return _fastReflection_GenesisState_messageType +} + +// New returns a newly allocated and mutable empty message. +func (x *fastReflection_GenesisState) New() protoreflect.Message { + return new(fastReflection_GenesisState) +} + +// Interface unwraps the message reflection interface and +// returns the underlying ProtoMessage interface. +func (x *fastReflection_GenesisState) Interface() protoreflect.ProtoMessage { + return (*GenesisState)(x) +} + +// Range iterates over every populated field in an undefined order, +// calling f for each field descriptor and value encountered. +// Range returns immediately if f returns false. +// While iterating, mutating operations may only be performed +// on the current field descriptor. +func (x *fastReflection_GenesisState) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { + if x.Params != nil { + value := protoreflect.ValueOfMessage(x.Params.ProtoReflect()) + if !f(fd_GenesisState_params, value) { + return + } + } + if len(x.CoreTeamAddresses) != 0 { + value := protoreflect.ValueOfList(&_GenesisState_2_list{list: &x.CoreTeamAddresses}) + if !f(fd_GenesisState_core_team_addresses, value) { + return + } + } + if x.NextTopicId != uint64(0) { + value := protoreflect.ValueOfUint64(x.NextTopicId) + if !f(fd_GenesisState_next_topic_id, value) { + return + } + } + if len(x.Topics) != 0 { + value := protoreflect.ValueOfList(&_GenesisState_4_list{list: &x.Topics}) + if !f(fd_GenesisState_topics, value) { + return + } + } + if len(x.ActiveTopics) != 0 { + value := protoreflect.ValueOfList(&_GenesisState_5_list{list: &x.ActiveTopics}) + if !f(fd_GenesisState_active_topics, value) { + return + } + } + if len(x.RewardableTopics) != 0 { + value := protoreflect.ValueOfList(&_GenesisState_6_list{list: &x.RewardableTopics}) + if !f(fd_GenesisState_rewardable_topics, value) { + return + } + } + if len(x.TopicWorkers) != 0 { + value := protoreflect.ValueOfList(&_GenesisState_7_list{list: &x.TopicWorkers}) + if !f(fd_GenesisState_topic_workers, value) { + return + } + } + if len(x.TopicReputers) != 0 { + value := protoreflect.ValueOfList(&_GenesisState_8_list{list: &x.TopicReputers}) + if !f(fd_GenesisState_topic_reputers, value) { + return + } + } + if len(x.TopicRewardNonce) != 0 { + value := protoreflect.ValueOfList(&_GenesisState_9_list{list: &x.TopicRewardNonce}) + if !f(fd_GenesisState_topic_reward_nonce, value) { + return + } + } + if len(x.InfererScoresByBlock) != 0 { + value := protoreflect.ValueOfList(&_GenesisState_10_list{list: &x.InfererScoresByBlock}) + if !f(fd_GenesisState_inferer_scores_by_block, value) { + return + } + } + if len(x.ForecasterScoresByBlock) != 0 { + value := protoreflect.ValueOfList(&_GenesisState_11_list{list: &x.ForecasterScoresByBlock}) + if !f(fd_GenesisState_forecaster_scores_by_block, value) { + return + } + } + if len(x.ReputerScoresByBlock) != 0 { + value := protoreflect.ValueOfList(&_GenesisState_12_list{list: &x.ReputerScoresByBlock}) + if !f(fd_GenesisState_reputer_scores_by_block, value) { + return + } + } + if len(x.ReputerListeningCoefficient) != 0 { + value := protoreflect.ValueOfList(&_GenesisState_16_list{list: &x.ReputerListeningCoefficient}) + if !f(fd_GenesisState_reputer_listening_coefficient, value) { + return + } + } + if len(x.PreviousReputerRewardFraction) != 0 { + value := protoreflect.ValueOfList(&_GenesisState_17_list{list: &x.PreviousReputerRewardFraction}) + if !f(fd_GenesisState_previous_reputer_reward_fraction, value) { + return + } + } + if len(x.PreviousInferenceRewardFraction) != 0 { + value := protoreflect.ValueOfList(&_GenesisState_18_list{list: &x.PreviousInferenceRewardFraction}) + if !f(fd_GenesisState_previous_inference_reward_fraction, value) { + return + } + } + if len(x.PreviousForecastRewardFraction) != 0 { + value := protoreflect.ValueOfList(&_GenesisState_19_list{list: &x.PreviousForecastRewardFraction}) + if !f(fd_GenesisState_previous_forecast_reward_fraction, value) { + return + } + } + if len(x.PreviousForecasterScoreRatio) != 0 { + value := protoreflect.ValueOfList(&_GenesisState_20_list{list: &x.PreviousForecasterScoreRatio}) + if !f(fd_GenesisState_previous_forecaster_score_ratio, value) { + return + } + } + if x.TotalStake != "" { + value := protoreflect.ValueOfString(x.TotalStake) + if !f(fd_GenesisState_total_stake, value) { + return + } + } + if len(x.TopicStake) != 0 { + value := protoreflect.ValueOfList(&_GenesisState_22_list{list: &x.TopicStake}) + if !f(fd_GenesisState_topic_stake, value) { + return + } + } + if len(x.StakeReputerAuthority) != 0 { + value := protoreflect.ValueOfList(&_GenesisState_23_list{list: &x.StakeReputerAuthority}) + if !f(fd_GenesisState_stake_reputer_authority, value) { + return + } + } + if len(x.StakeSumFromDelegator) != 0 { + value := protoreflect.ValueOfList(&_GenesisState_24_list{list: &x.StakeSumFromDelegator}) + if !f(fd_GenesisState_stake_sum_from_delegator, value) { + return + } + } + if len(x.DelegatedStakes) != 0 { + value := protoreflect.ValueOfList(&_GenesisState_25_list{list: &x.DelegatedStakes}) + if !f(fd_GenesisState_delegated_stakes, value) { + return + } + } + if len(x.StakeFromDelegatorsUponReputer) != 0 { + value := protoreflect.ValueOfList(&_GenesisState_26_list{list: &x.StakeFromDelegatorsUponReputer}) + if !f(fd_GenesisState_stake_from_delegators_upon_reputer, value) { + return + } + } + if len(x.DelegateRewardPerShare) != 0 { + value := protoreflect.ValueOfList(&_GenesisState_27_list{list: &x.DelegateRewardPerShare}) + if !f(fd_GenesisState_delegate_reward_per_share, value) { + return + } + } + if len(x.StakeRemovalsByBlock) != 0 { + value := protoreflect.ValueOfList(&_GenesisState_28_list{list: &x.StakeRemovalsByBlock}) + if !f(fd_GenesisState_stake_removals_by_block, value) { + return + } + } + if len(x.StakeRemovalsByActor) != 0 { + value := protoreflect.ValueOfList(&_GenesisState_29_list{list: &x.StakeRemovalsByActor}) + if !f(fd_GenesisState_stake_removals_by_actor, value) { + return + } + } + if len(x.DelegateStakeRemovalsByBlock) != 0 { + value := protoreflect.ValueOfList(&_GenesisState_30_list{list: &x.DelegateStakeRemovalsByBlock}) + if !f(fd_GenesisState_delegate_stake_removals_by_block, value) { + return + } + } + if len(x.DelegateStakeRemovalsByActor) != 0 { + value := protoreflect.ValueOfList(&_GenesisState_31_list{list: &x.DelegateStakeRemovalsByActor}) + if !f(fd_GenesisState_delegate_stake_removals_by_actor, value) { + return + } + } + if len(x.Inferences) != 0 { + value := protoreflect.ValueOfList(&_GenesisState_32_list{list: &x.Inferences}) + if !f(fd_GenesisState_inferences, value) { + return + } + } + if len(x.Forecasts) != 0 { + value := protoreflect.ValueOfList(&_GenesisState_33_list{list: &x.Forecasts}) + if !f(fd_GenesisState_forecasts, value) { + return + } + } + if len(x.Workers) != 0 { + value := protoreflect.ValueOfList(&_GenesisState_34_list{list: &x.Workers}) + if !f(fd_GenesisState_workers, value) { + return + } + } + if len(x.Reputers) != 0 { + value := protoreflect.ValueOfList(&_GenesisState_35_list{list: &x.Reputers}) + if !f(fd_GenesisState_reputers, value) { + return + } + } + if len(x.TopicFeeRevenue) != 0 { + value := protoreflect.ValueOfList(&_GenesisState_36_list{list: &x.TopicFeeRevenue}) + if !f(fd_GenesisState_topic_fee_revenue, value) { + return + } + } + if len(x.PreviousTopicWeight) != 0 { + value := protoreflect.ValueOfList(&_GenesisState_37_list{list: &x.PreviousTopicWeight}) + if !f(fd_GenesisState_previous_topic_weight, value) { + return + } + } + if len(x.AllInferences) != 0 { + value := protoreflect.ValueOfList(&_GenesisState_38_list{list: &x.AllInferences}) + if !f(fd_GenesisState_all_inferences, value) { + return + } + } + if len(x.AllForecasts) != 0 { + value := protoreflect.ValueOfList(&_GenesisState_39_list{list: &x.AllForecasts}) + if !f(fd_GenesisState_all_forecasts, value) { + return + } + } + if len(x.AllLossBundles) != 0 { + value := protoreflect.ValueOfList(&_GenesisState_40_list{list: &x.AllLossBundles}) + if !f(fd_GenesisState_all_loss_bundles, value) { + return + } + } + if len(x.NetworkLossBundles) != 0 { + value := protoreflect.ValueOfList(&_GenesisState_41_list{list: &x.NetworkLossBundles}) + if !f(fd_GenesisState_network_loss_bundles, value) { + return + } + } + if x.PreviousPercentageRewardToStakedReputers != "" { + value := protoreflect.ValueOfString(x.PreviousPercentageRewardToStakedReputers) + if !f(fd_GenesisState_previous_percentage_reward_to_staked_reputers, value) { + return + } + } + if len(x.UnfulfilledWorkerNonces) != 0 { + value := protoreflect.ValueOfList(&_GenesisState_43_list{list: &x.UnfulfilledWorkerNonces}) + if !f(fd_GenesisState_unfulfilled_worker_nonces, value) { + return + } + } + if len(x.UnfulfilledReputerNonces) != 0 { + value := protoreflect.ValueOfList(&_GenesisState_44_list{list: &x.UnfulfilledReputerNonces}) + if !f(fd_GenesisState_unfulfilled_reputer_nonces, value) { + return + } + } + if len(x.LatestInfererNetworkRegrets) != 0 { + value := protoreflect.ValueOfList(&_GenesisState_45_list{list: &x.LatestInfererNetworkRegrets}) + if !f(fd_GenesisState_latest_inferer_network_regrets, value) { + return + } + } + if len(x.LatestForecasterNetworkRegrets) != 0 { + value := protoreflect.ValueOfList(&_GenesisState_46_list{list: &x.LatestForecasterNetworkRegrets}) + if !f(fd_GenesisState_latest_forecaster_network_regrets, value) { + return + } + } + if len(x.LatestOneInForecasterNetworkRegrets) != 0 { + value := protoreflect.ValueOfList(&_GenesisState_47_list{list: &x.LatestOneInForecasterNetworkRegrets}) + if !f(fd_GenesisState_latest_one_in_forecaster_network_regrets, value) { + return + } + } + if len(x.LatestNaiveInfererNetworkRegrets) != 0 { + value := protoreflect.ValueOfList(&_GenesisState_48_list{list: &x.LatestNaiveInfererNetworkRegrets}) + if !f(fd_GenesisState_latest_naive_inferer_network_regrets, value) { + return + } + } + if len(x.LatestOneOutInfererInfererNetworkRegrets) != 0 { + value := protoreflect.ValueOfList(&_GenesisState_49_list{list: &x.LatestOneOutInfererInfererNetworkRegrets}) + if !f(fd_GenesisState_latest_one_out_inferer_inferer_network_regrets, value) { + return + } + } + if len(x.LatestOneOutInfererForecasterNetworkRegrets) != 0 { + value := protoreflect.ValueOfList(&_GenesisState_50_list{list: &x.LatestOneOutInfererForecasterNetworkRegrets}) + if !f(fd_GenesisState_latest_one_out_inferer_forecaster_network_regrets, value) { + return + } + } + if len(x.LatestOneOutForecasterInfererNetworkRegrets) != 0 { + value := protoreflect.ValueOfList(&_GenesisState_51_list{list: &x.LatestOneOutForecasterInfererNetworkRegrets}) + if !f(fd_GenesisState_latest_one_out_forecaster_inferer_network_regrets, value) { + return + } + } + if len(x.LatestOneOutForecasterForecasterNetworkRegrets) != 0 { + value := protoreflect.ValueOfList(&_GenesisState_52_list{list: &x.LatestOneOutForecasterForecasterNetworkRegrets}) + if !f(fd_GenesisState_latest_one_out_forecaster_forecaster_network_regrets, value) { + return + } + } + if len(x.TopicLastWorkerCommit) != 0 { + value := protoreflect.ValueOfList(&_GenesisState_53_list{list: &x.TopicLastWorkerCommit}) + if !f(fd_GenesisState_topic_last_worker_commit, value) { + return + } + } + if len(x.TopicLastReputerCommit) != 0 { + value := protoreflect.ValueOfList(&_GenesisState_54_list{list: &x.TopicLastReputerCommit}) + if !f(fd_GenesisState_topic_last_reputer_commit, value) { + return + } + } + if len(x.OpenWorkerWindows) != 0 { + value := protoreflect.ValueOfList(&_GenesisState_55_list{list: &x.OpenWorkerWindows}) + if !f(fd_GenesisState_open_worker_windows, value) { + return + } + } + if len(x.LastDripBlock) != 0 { + value := protoreflect.ValueOfList(&_GenesisState_56_list{list: &x.LastDripBlock}) + if !f(fd_GenesisState_last_drip_block, value) { + return + } + } + if len(x.TopicToNextPossibleChurningBlock) != 0 { + value := protoreflect.ValueOfList(&_GenesisState_57_list{list: &x.TopicToNextPossibleChurningBlock}) + if !f(fd_GenesisState_topic_to_next_possible_churning_block, value) { + return + } + } + if len(x.BlockToActiveTopics) != 0 { + value := protoreflect.ValueOfList(&_GenesisState_58_list{list: &x.BlockToActiveTopics}) + if !f(fd_GenesisState_block_to_active_topics, value) { + return + } + } + if len(x.BlockToLowestActiveTopicWeight) != 0 { + value := protoreflect.ValueOfList(&_GenesisState_59_list{list: &x.BlockToLowestActiveTopicWeight}) + if !f(fd_GenesisState_block_to_lowest_active_topic_weight, value) { + return + } + } + if len(x.InfererScoreEmas) != 0 { + value := protoreflect.ValueOfList(&_GenesisState_60_list{list: &x.InfererScoreEmas}) + if !f(fd_GenesisState_inferer_score_emas, value) { + return + } + } + if len(x.ForecasterScoreEmas) != 0 { + value := protoreflect.ValueOfList(&_GenesisState_61_list{list: &x.ForecasterScoreEmas}) + if !f(fd_GenesisState_forecaster_score_emas, value) { + return + } + } + if len(x.ReputerScoreEmas) != 0 { + value := protoreflect.ValueOfList(&_GenesisState_62_list{list: &x.ReputerScoreEmas}) + if !f(fd_GenesisState_reputer_score_emas, value) { + return + } + } + if len(x.PreviousTopicQuantileInfererScoreEma) != 0 { + value := protoreflect.ValueOfList(&_GenesisState_63_list{list: &x.PreviousTopicQuantileInfererScoreEma}) + if !f(fd_GenesisState_previous_topic_quantile_inferer_score_ema, value) { + return + } + } + if len(x.PreviousTopicQuantileForecasterScoreEma) != 0 { + value := protoreflect.ValueOfList(&_GenesisState_64_list{list: &x.PreviousTopicQuantileForecasterScoreEma}) + if !f(fd_GenesisState_previous_topic_quantile_forecaster_score_ema, value) { + return + } + } + if len(x.PreviousTopicQuantileReputerScoreEma) != 0 { + value := protoreflect.ValueOfList(&_GenesisState_65_list{list: &x.PreviousTopicQuantileReputerScoreEma}) + if !f(fd_GenesisState_previous_topic_quantile_reputer_score_ema, value) { + return + } + } + if len(x.CountInfererInclusionsInTopicActiveSet) != 0 { + value := protoreflect.ValueOfList(&_GenesisState_66_list{list: &x.CountInfererInclusionsInTopicActiveSet}) + if !f(fd_GenesisState_count_inferer_inclusions_in_topic_active_set, value) { + return + } + } + if len(x.CountForecasterInclusionsInTopicActiveSet) != 0 { + value := protoreflect.ValueOfList(&_GenesisState_67_list{list: &x.CountForecasterInclusionsInTopicActiveSet}) + if !f(fd_GenesisState_count_forecaster_inclusions_in_topic_active_set, value) { + return + } + } + if len(x.ActiveInferers) != 0 { + value := protoreflect.ValueOfList(&_GenesisState_68_list{list: &x.ActiveInferers}) + if !f(fd_GenesisState_active_inferers, value) { + return + } + } + if len(x.ActiveForecasters) != 0 { + value := protoreflect.ValueOfList(&_GenesisState_69_list{list: &x.ActiveForecasters}) + if !f(fd_GenesisState_active_forecasters, value) { + return + } + } + if len(x.LowestInfererScoreEma) != 0 { + value := protoreflect.ValueOfList(&_GenesisState_70_list{list: &x.LowestInfererScoreEma}) + if !f(fd_GenesisState_lowest_inferer_score_ema, value) { + return + } + } + if len(x.LowestForecasterScoreEma) != 0 { + value := protoreflect.ValueOfList(&_GenesisState_71_list{list: &x.LowestForecasterScoreEma}) + if !f(fd_GenesisState_lowest_forecaster_score_ema, value) { + return + } + } + if len(x.ActiveReputers) != 0 { + value := protoreflect.ValueOfList(&_GenesisState_72_list{list: &x.ActiveReputers}) + if !f(fd_GenesisState_active_reputers, value) { + return + } + } + if len(x.LowestReputerScoreEma) != 0 { + value := protoreflect.ValueOfList(&_GenesisState_73_list{list: &x.LowestReputerScoreEma}) + if !f(fd_GenesisState_lowest_reputer_score_ema, value) { + return + } + } + if len(x.LossBundles) != 0 { + value := protoreflect.ValueOfList(&_GenesisState_74_list{list: &x.LossBundles}) + if !f(fd_GenesisState_loss_bundles, value) { + return + } + } + if x.TotalSumPreviousTopicWeights != "" { + value := protoreflect.ValueOfString(x.TotalSumPreviousTopicWeights) + if !f(fd_GenesisState_total_sum_previous_topic_weights, value) { + return + } + } + if x.RewardCurrentBlockEmission != "" { + value := protoreflect.ValueOfString(x.RewardCurrentBlockEmission) + if !f(fd_GenesisState_reward_current_block_emission, value) { + return + } + } + if len(x.WhitelistAdmins) != 0 { + value := protoreflect.ValueOfList(&_GenesisState_77_list{list: &x.WhitelistAdmins}) + if !f(fd_GenesisState_whitelist_admins, value) { + return + } + } + if len(x.GlobalWhitelist) != 0 { + value := protoreflect.ValueOfList(&_GenesisState_78_list{list: &x.GlobalWhitelist}) + if !f(fd_GenesisState_global_whitelist, value) { + return + } + } + if len(x.TopicCreatorWhitelist) != 0 { + value := protoreflect.ValueOfList(&_GenesisState_79_list{list: &x.TopicCreatorWhitelist}) + if !f(fd_GenesisState_topic_creator_whitelist, value) { + return + } + } + if len(x.TopicWorkerWhitelist) != 0 { + value := protoreflect.ValueOfList(&_GenesisState_80_list{list: &x.TopicWorkerWhitelist}) + if !f(fd_GenesisState_topic_worker_whitelist, value) { + return + } + } + if len(x.TopicReputerWhitelist) != 0 { + value := protoreflect.ValueOfList(&_GenesisState_81_list{list: &x.TopicReputerWhitelist}) + if !f(fd_GenesisState_topic_reputer_whitelist, value) { + return + } + } + if len(x.TopicWorkerWhitelistEnabled) != 0 { + value := protoreflect.ValueOfList(&_GenesisState_82_list{list: &x.TopicWorkerWhitelistEnabled}) + if !f(fd_GenesisState_topic_worker_whitelist_enabled, value) { + return + } + } + if len(x.TopicReputerWhitelistEnabled) != 0 { + value := protoreflect.ValueOfList(&_GenesisState_83_list{list: &x.TopicReputerWhitelistEnabled}) + if !f(fd_GenesisState_topic_reputer_whitelist_enabled, value) { + return + } + } + if len(x.LastMedianInferences) != 0 { + value := protoreflect.ValueOfList(&_GenesisState_84_list{list: &x.LastMedianInferences}) + if !f(fd_GenesisState_last_median_inferences, value) { + return + } + } + if len(x.MadInferences) != 0 { + value := protoreflect.ValueOfList(&_GenesisState_85_list{list: &x.MadInferences}) + if !f(fd_GenesisState_mad_inferences, value) { + return + } + } + if len(x.InitialInfererEmaScore) != 0 { + value := protoreflect.ValueOfList(&_GenesisState_86_list{list: &x.InitialInfererEmaScore}) + if !f(fd_GenesisState_initial_inferer_ema_score, value) { + return + } + } + if len(x.InitialForecasterEmaScore) != 0 { + value := protoreflect.ValueOfList(&_GenesisState_87_list{list: &x.InitialForecasterEmaScore}) + if !f(fd_GenesisState_initial_forecaster_ema_score, value) { + return + } + } + if len(x.InitialReputerEmaScore) != 0 { + value := protoreflect.ValueOfList(&_GenesisState_88_list{list: &x.InitialReputerEmaScore}) + if !f(fd_GenesisState_initial_reputer_ema_score, value) { + return + } + } + if len(x.GlobalWorkerWhitelist) != 0 { + value := protoreflect.ValueOfList(&_GenesisState_89_list{list: &x.GlobalWorkerWhitelist}) + if !f(fd_GenesisState_global_worker_whitelist, value) { + return + } + } + if len(x.GlobalReputerWhitelist) != 0 { + value := protoreflect.ValueOfList(&_GenesisState_90_list{list: &x.GlobalReputerWhitelist}) + if !f(fd_GenesisState_global_reputer_whitelist, value) { + return + } + } + if len(x.GlobalAdminWhitelist) != 0 { + value := protoreflect.ValueOfList(&_GenesisState_91_list{list: &x.GlobalAdminWhitelist}) + if !f(fd_GenesisState_global_admin_whitelist, value) { + return + } + } + if len(x.LatestRegretStdNorm) != 0 { + value := protoreflect.ValueOfList(&_GenesisState_92_list{list: &x.LatestRegretStdNorm}) + if !f(fd_GenesisState_latest_regret_std_norm, value) { + return + } + } + if len(x.LatestInfererWeights) != 0 { + value := protoreflect.ValueOfList(&_GenesisState_93_list{list: &x.LatestInfererWeights}) + if !f(fd_GenesisState_latest_inferer_weights, value) { + return + } + } + if len(x.LatestForecasterWeights) != 0 { + value := protoreflect.ValueOfList(&_GenesisState_94_list{list: &x.LatestForecasterWeights}) + if !f(fd_GenesisState_latest_forecaster_weights, value) { + return + } + } +} + +// Has reports whether a field is populated. +// +// Some fields have the property of nullability where it is possible to +// distinguish between the default value of a field and whether the field +// was explicitly populated with the default value. Singular message fields, +// member fields of a oneof, and proto2 scalar fields are nullable. Such +// fields are populated only if explicitly set. +// +// In other cases (aside from the nullable cases above), +// a proto3 scalar field is populated if it contains a non-zero value, and +// a repeated field is populated if it is non-empty. +func (x *fastReflection_GenesisState) Has(fd protoreflect.FieldDescriptor) bool { + switch fd.FullName() { + case "emissions.v8.GenesisState.params": + return x.Params != nil + case "emissions.v8.GenesisState.core_team_addresses": + return len(x.CoreTeamAddresses) != 0 + case "emissions.v8.GenesisState.next_topic_id": + return x.NextTopicId != uint64(0) + case "emissions.v8.GenesisState.topics": + return len(x.Topics) != 0 + case "emissions.v8.GenesisState.active_topics": + return len(x.ActiveTopics) != 0 + case "emissions.v8.GenesisState.rewardable_topics": + return len(x.RewardableTopics) != 0 + case "emissions.v8.GenesisState.topic_workers": + return len(x.TopicWorkers) != 0 + case "emissions.v8.GenesisState.topic_reputers": + return len(x.TopicReputers) != 0 + case "emissions.v8.GenesisState.topic_reward_nonce": + return len(x.TopicRewardNonce) != 0 + case "emissions.v8.GenesisState.inferer_scores_by_block": + return len(x.InfererScoresByBlock) != 0 + case "emissions.v8.GenesisState.forecaster_scores_by_block": + return len(x.ForecasterScoresByBlock) != 0 + case "emissions.v8.GenesisState.reputer_scores_by_block": + return len(x.ReputerScoresByBlock) != 0 + case "emissions.v8.GenesisState.reputer_listening_coefficient": + return len(x.ReputerListeningCoefficient) != 0 + case "emissions.v8.GenesisState.previous_reputer_reward_fraction": + return len(x.PreviousReputerRewardFraction) != 0 + case "emissions.v8.GenesisState.previous_inference_reward_fraction": + return len(x.PreviousInferenceRewardFraction) != 0 + case "emissions.v8.GenesisState.previous_forecast_reward_fraction": + return len(x.PreviousForecastRewardFraction) != 0 + case "emissions.v8.GenesisState.previous_forecaster_score_ratio": + return len(x.PreviousForecasterScoreRatio) != 0 + case "emissions.v8.GenesisState.total_stake": + return x.TotalStake != "" + case "emissions.v8.GenesisState.topic_stake": + return len(x.TopicStake) != 0 + case "emissions.v8.GenesisState.stake_reputer_authority": + return len(x.StakeReputerAuthority) != 0 + case "emissions.v8.GenesisState.stake_sum_from_delegator": + return len(x.StakeSumFromDelegator) != 0 + case "emissions.v8.GenesisState.delegated_stakes": + return len(x.DelegatedStakes) != 0 + case "emissions.v8.GenesisState.stake_from_delegators_upon_reputer": + return len(x.StakeFromDelegatorsUponReputer) != 0 + case "emissions.v8.GenesisState.delegate_reward_per_share": + return len(x.DelegateRewardPerShare) != 0 + case "emissions.v8.GenesisState.stake_removals_by_block": + return len(x.StakeRemovalsByBlock) != 0 + case "emissions.v8.GenesisState.stake_removals_by_actor": + return len(x.StakeRemovalsByActor) != 0 + case "emissions.v8.GenesisState.delegate_stake_removals_by_block": + return len(x.DelegateStakeRemovalsByBlock) != 0 + case "emissions.v8.GenesisState.delegate_stake_removals_by_actor": + return len(x.DelegateStakeRemovalsByActor) != 0 + case "emissions.v8.GenesisState.inferences": + return len(x.Inferences) != 0 + case "emissions.v8.GenesisState.forecasts": + return len(x.Forecasts) != 0 + case "emissions.v8.GenesisState.workers": + return len(x.Workers) != 0 + case "emissions.v8.GenesisState.reputers": + return len(x.Reputers) != 0 + case "emissions.v8.GenesisState.topic_fee_revenue": + return len(x.TopicFeeRevenue) != 0 + case "emissions.v8.GenesisState.previous_topic_weight": + return len(x.PreviousTopicWeight) != 0 + case "emissions.v8.GenesisState.all_inferences": + return len(x.AllInferences) != 0 + case "emissions.v8.GenesisState.all_forecasts": + return len(x.AllForecasts) != 0 + case "emissions.v8.GenesisState.all_loss_bundles": + return len(x.AllLossBundles) != 0 + case "emissions.v8.GenesisState.network_loss_bundles": + return len(x.NetworkLossBundles) != 0 + case "emissions.v8.GenesisState.previous_percentage_reward_to_staked_reputers": + return x.PreviousPercentageRewardToStakedReputers != "" + case "emissions.v8.GenesisState.unfulfilled_worker_nonces": + return len(x.UnfulfilledWorkerNonces) != 0 + case "emissions.v8.GenesisState.unfulfilled_reputer_nonces": + return len(x.UnfulfilledReputerNonces) != 0 + case "emissions.v8.GenesisState.latest_inferer_network_regrets": + return len(x.LatestInfererNetworkRegrets) != 0 + case "emissions.v8.GenesisState.latest_forecaster_network_regrets": + return len(x.LatestForecasterNetworkRegrets) != 0 + case "emissions.v8.GenesisState.latest_one_in_forecaster_network_regrets": + return len(x.LatestOneInForecasterNetworkRegrets) != 0 + case "emissions.v8.GenesisState.latest_naive_inferer_network_regrets": + return len(x.LatestNaiveInfererNetworkRegrets) != 0 + case "emissions.v8.GenesisState.latest_one_out_inferer_inferer_network_regrets": + return len(x.LatestOneOutInfererInfererNetworkRegrets) != 0 + case "emissions.v8.GenesisState.latest_one_out_inferer_forecaster_network_regrets": + return len(x.LatestOneOutInfererForecasterNetworkRegrets) != 0 + case "emissions.v8.GenesisState.latest_one_out_forecaster_inferer_network_regrets": + return len(x.LatestOneOutForecasterInfererNetworkRegrets) != 0 + case "emissions.v8.GenesisState.latest_one_out_forecaster_forecaster_network_regrets": + return len(x.LatestOneOutForecasterForecasterNetworkRegrets) != 0 + case "emissions.v8.GenesisState.topic_last_worker_commit": + return len(x.TopicLastWorkerCommit) != 0 + case "emissions.v8.GenesisState.topic_last_reputer_commit": + return len(x.TopicLastReputerCommit) != 0 + case "emissions.v8.GenesisState.open_worker_windows": + return len(x.OpenWorkerWindows) != 0 + case "emissions.v8.GenesisState.last_drip_block": + return len(x.LastDripBlock) != 0 + case "emissions.v8.GenesisState.topic_to_next_possible_churning_block": + return len(x.TopicToNextPossibleChurningBlock) != 0 + case "emissions.v8.GenesisState.block_to_active_topics": + return len(x.BlockToActiveTopics) != 0 + case "emissions.v8.GenesisState.block_to_lowest_active_topic_weight": + return len(x.BlockToLowestActiveTopicWeight) != 0 + case "emissions.v8.GenesisState.inferer_score_emas": + return len(x.InfererScoreEmas) != 0 + case "emissions.v8.GenesisState.forecaster_score_emas": + return len(x.ForecasterScoreEmas) != 0 + case "emissions.v8.GenesisState.reputer_score_emas": + return len(x.ReputerScoreEmas) != 0 + case "emissions.v8.GenesisState.previous_topic_quantile_inferer_score_ema": + return len(x.PreviousTopicQuantileInfererScoreEma) != 0 + case "emissions.v8.GenesisState.previous_topic_quantile_forecaster_score_ema": + return len(x.PreviousTopicQuantileForecasterScoreEma) != 0 + case "emissions.v8.GenesisState.previous_topic_quantile_reputer_score_ema": + return len(x.PreviousTopicQuantileReputerScoreEma) != 0 + case "emissions.v8.GenesisState.count_inferer_inclusions_in_topic_active_set": + return len(x.CountInfererInclusionsInTopicActiveSet) != 0 + case "emissions.v8.GenesisState.count_forecaster_inclusions_in_topic_active_set": + return len(x.CountForecasterInclusionsInTopicActiveSet) != 0 + case "emissions.v8.GenesisState.active_inferers": + return len(x.ActiveInferers) != 0 + case "emissions.v8.GenesisState.active_forecasters": + return len(x.ActiveForecasters) != 0 + case "emissions.v8.GenesisState.lowest_inferer_score_ema": + return len(x.LowestInfererScoreEma) != 0 + case "emissions.v8.GenesisState.lowest_forecaster_score_ema": + return len(x.LowestForecasterScoreEma) != 0 + case "emissions.v8.GenesisState.active_reputers": + return len(x.ActiveReputers) != 0 + case "emissions.v8.GenesisState.lowest_reputer_score_ema": + return len(x.LowestReputerScoreEma) != 0 + case "emissions.v8.GenesisState.loss_bundles": + return len(x.LossBundles) != 0 + case "emissions.v8.GenesisState.total_sum_previous_topic_weights": + return x.TotalSumPreviousTopicWeights != "" + case "emissions.v8.GenesisState.reward_current_block_emission": + return x.RewardCurrentBlockEmission != "" + case "emissions.v8.GenesisState.whitelist_admins": + return len(x.WhitelistAdmins) != 0 + case "emissions.v8.GenesisState.global_whitelist": + return len(x.GlobalWhitelist) != 0 + case "emissions.v8.GenesisState.topic_creator_whitelist": + return len(x.TopicCreatorWhitelist) != 0 + case "emissions.v8.GenesisState.topic_worker_whitelist": + return len(x.TopicWorkerWhitelist) != 0 + case "emissions.v8.GenesisState.topic_reputer_whitelist": + return len(x.TopicReputerWhitelist) != 0 + case "emissions.v8.GenesisState.topic_worker_whitelist_enabled": + return len(x.TopicWorkerWhitelistEnabled) != 0 + case "emissions.v8.GenesisState.topic_reputer_whitelist_enabled": + return len(x.TopicReputerWhitelistEnabled) != 0 + case "emissions.v8.GenesisState.last_median_inferences": + return len(x.LastMedianInferences) != 0 + case "emissions.v8.GenesisState.mad_inferences": + return len(x.MadInferences) != 0 + case "emissions.v8.GenesisState.initial_inferer_ema_score": + return len(x.InitialInfererEmaScore) != 0 + case "emissions.v8.GenesisState.initial_forecaster_ema_score": + return len(x.InitialForecasterEmaScore) != 0 + case "emissions.v8.GenesisState.initial_reputer_ema_score": + return len(x.InitialReputerEmaScore) != 0 + case "emissions.v8.GenesisState.global_worker_whitelist": + return len(x.GlobalWorkerWhitelist) != 0 + case "emissions.v8.GenesisState.global_reputer_whitelist": + return len(x.GlobalReputerWhitelist) != 0 + case "emissions.v8.GenesisState.global_admin_whitelist": + return len(x.GlobalAdminWhitelist) != 0 + case "emissions.v8.GenesisState.latest_regret_std_norm": + return len(x.LatestRegretStdNorm) != 0 + case "emissions.v8.GenesisState.latest_inferer_weights": + return len(x.LatestInfererWeights) != 0 + case "emissions.v8.GenesisState.latest_forecaster_weights": + return len(x.LatestForecasterWeights) != 0 + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GenesisState")) + } + panic(fmt.Errorf("message emissions.v8.GenesisState does not contain field %s", fd.FullName())) + } +} + +// Clear clears the field such that a subsequent Has call reports false. +// +// Clearing an extension field clears both the extension type and value +// associated with the given field number. +// +// Clear is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GenesisState) Clear(fd protoreflect.FieldDescriptor) { + switch fd.FullName() { + case "emissions.v8.GenesisState.params": + x.Params = nil + case "emissions.v8.GenesisState.core_team_addresses": + x.CoreTeamAddresses = nil + case "emissions.v8.GenesisState.next_topic_id": + x.NextTopicId = uint64(0) + case "emissions.v8.GenesisState.topics": + x.Topics = nil + case "emissions.v8.GenesisState.active_topics": + x.ActiveTopics = nil + case "emissions.v8.GenesisState.rewardable_topics": + x.RewardableTopics = nil + case "emissions.v8.GenesisState.topic_workers": + x.TopicWorkers = nil + case "emissions.v8.GenesisState.topic_reputers": + x.TopicReputers = nil + case "emissions.v8.GenesisState.topic_reward_nonce": + x.TopicRewardNonce = nil + case "emissions.v8.GenesisState.inferer_scores_by_block": + x.InfererScoresByBlock = nil + case "emissions.v8.GenesisState.forecaster_scores_by_block": + x.ForecasterScoresByBlock = nil + case "emissions.v8.GenesisState.reputer_scores_by_block": + x.ReputerScoresByBlock = nil + case "emissions.v8.GenesisState.reputer_listening_coefficient": + x.ReputerListeningCoefficient = nil + case "emissions.v8.GenesisState.previous_reputer_reward_fraction": + x.PreviousReputerRewardFraction = nil + case "emissions.v8.GenesisState.previous_inference_reward_fraction": + x.PreviousInferenceRewardFraction = nil + case "emissions.v8.GenesisState.previous_forecast_reward_fraction": + x.PreviousForecastRewardFraction = nil + case "emissions.v8.GenesisState.previous_forecaster_score_ratio": + x.PreviousForecasterScoreRatio = nil + case "emissions.v8.GenesisState.total_stake": + x.TotalStake = "" + case "emissions.v8.GenesisState.topic_stake": + x.TopicStake = nil + case "emissions.v8.GenesisState.stake_reputer_authority": + x.StakeReputerAuthority = nil + case "emissions.v8.GenesisState.stake_sum_from_delegator": + x.StakeSumFromDelegator = nil + case "emissions.v8.GenesisState.delegated_stakes": + x.DelegatedStakes = nil + case "emissions.v8.GenesisState.stake_from_delegators_upon_reputer": + x.StakeFromDelegatorsUponReputer = nil + case "emissions.v8.GenesisState.delegate_reward_per_share": + x.DelegateRewardPerShare = nil + case "emissions.v8.GenesisState.stake_removals_by_block": + x.StakeRemovalsByBlock = nil + case "emissions.v8.GenesisState.stake_removals_by_actor": + x.StakeRemovalsByActor = nil + case "emissions.v8.GenesisState.delegate_stake_removals_by_block": + x.DelegateStakeRemovalsByBlock = nil + case "emissions.v8.GenesisState.delegate_stake_removals_by_actor": + x.DelegateStakeRemovalsByActor = nil + case "emissions.v8.GenesisState.inferences": + x.Inferences = nil + case "emissions.v8.GenesisState.forecasts": + x.Forecasts = nil + case "emissions.v8.GenesisState.workers": + x.Workers = nil + case "emissions.v8.GenesisState.reputers": + x.Reputers = nil + case "emissions.v8.GenesisState.topic_fee_revenue": + x.TopicFeeRevenue = nil + case "emissions.v8.GenesisState.previous_topic_weight": + x.PreviousTopicWeight = nil + case "emissions.v8.GenesisState.all_inferences": + x.AllInferences = nil + case "emissions.v8.GenesisState.all_forecasts": + x.AllForecasts = nil + case "emissions.v8.GenesisState.all_loss_bundles": + x.AllLossBundles = nil + case "emissions.v8.GenesisState.network_loss_bundles": + x.NetworkLossBundles = nil + case "emissions.v8.GenesisState.previous_percentage_reward_to_staked_reputers": + x.PreviousPercentageRewardToStakedReputers = "" + case "emissions.v8.GenesisState.unfulfilled_worker_nonces": + x.UnfulfilledWorkerNonces = nil + case "emissions.v8.GenesisState.unfulfilled_reputer_nonces": + x.UnfulfilledReputerNonces = nil + case "emissions.v8.GenesisState.latest_inferer_network_regrets": + x.LatestInfererNetworkRegrets = nil + case "emissions.v8.GenesisState.latest_forecaster_network_regrets": + x.LatestForecasterNetworkRegrets = nil + case "emissions.v8.GenesisState.latest_one_in_forecaster_network_regrets": + x.LatestOneInForecasterNetworkRegrets = nil + case "emissions.v8.GenesisState.latest_naive_inferer_network_regrets": + x.LatestNaiveInfererNetworkRegrets = nil + case "emissions.v8.GenesisState.latest_one_out_inferer_inferer_network_regrets": + x.LatestOneOutInfererInfererNetworkRegrets = nil + case "emissions.v8.GenesisState.latest_one_out_inferer_forecaster_network_regrets": + x.LatestOneOutInfererForecasterNetworkRegrets = nil + case "emissions.v8.GenesisState.latest_one_out_forecaster_inferer_network_regrets": + x.LatestOneOutForecasterInfererNetworkRegrets = nil + case "emissions.v8.GenesisState.latest_one_out_forecaster_forecaster_network_regrets": + x.LatestOneOutForecasterForecasterNetworkRegrets = nil + case "emissions.v8.GenesisState.topic_last_worker_commit": + x.TopicLastWorkerCommit = nil + case "emissions.v8.GenesisState.topic_last_reputer_commit": + x.TopicLastReputerCommit = nil + case "emissions.v8.GenesisState.open_worker_windows": + x.OpenWorkerWindows = nil + case "emissions.v8.GenesisState.last_drip_block": + x.LastDripBlock = nil + case "emissions.v8.GenesisState.topic_to_next_possible_churning_block": + x.TopicToNextPossibleChurningBlock = nil + case "emissions.v8.GenesisState.block_to_active_topics": + x.BlockToActiveTopics = nil + case "emissions.v8.GenesisState.block_to_lowest_active_topic_weight": + x.BlockToLowestActiveTopicWeight = nil + case "emissions.v8.GenesisState.inferer_score_emas": + x.InfererScoreEmas = nil + case "emissions.v8.GenesisState.forecaster_score_emas": + x.ForecasterScoreEmas = nil + case "emissions.v8.GenesisState.reputer_score_emas": + x.ReputerScoreEmas = nil + case "emissions.v8.GenesisState.previous_topic_quantile_inferer_score_ema": + x.PreviousTopicQuantileInfererScoreEma = nil + case "emissions.v8.GenesisState.previous_topic_quantile_forecaster_score_ema": + x.PreviousTopicQuantileForecasterScoreEma = nil + case "emissions.v8.GenesisState.previous_topic_quantile_reputer_score_ema": + x.PreviousTopicQuantileReputerScoreEma = nil + case "emissions.v8.GenesisState.count_inferer_inclusions_in_topic_active_set": + x.CountInfererInclusionsInTopicActiveSet = nil + case "emissions.v8.GenesisState.count_forecaster_inclusions_in_topic_active_set": + x.CountForecasterInclusionsInTopicActiveSet = nil + case "emissions.v8.GenesisState.active_inferers": + x.ActiveInferers = nil + case "emissions.v8.GenesisState.active_forecasters": + x.ActiveForecasters = nil + case "emissions.v8.GenesisState.lowest_inferer_score_ema": + x.LowestInfererScoreEma = nil + case "emissions.v8.GenesisState.lowest_forecaster_score_ema": + x.LowestForecasterScoreEma = nil + case "emissions.v8.GenesisState.active_reputers": + x.ActiveReputers = nil + case "emissions.v8.GenesisState.lowest_reputer_score_ema": + x.LowestReputerScoreEma = nil + case "emissions.v8.GenesisState.loss_bundles": + x.LossBundles = nil + case "emissions.v8.GenesisState.total_sum_previous_topic_weights": + x.TotalSumPreviousTopicWeights = "" + case "emissions.v8.GenesisState.reward_current_block_emission": + x.RewardCurrentBlockEmission = "" + case "emissions.v8.GenesisState.whitelist_admins": + x.WhitelistAdmins = nil + case "emissions.v8.GenesisState.global_whitelist": + x.GlobalWhitelist = nil + case "emissions.v8.GenesisState.topic_creator_whitelist": + x.TopicCreatorWhitelist = nil + case "emissions.v8.GenesisState.topic_worker_whitelist": + x.TopicWorkerWhitelist = nil + case "emissions.v8.GenesisState.topic_reputer_whitelist": + x.TopicReputerWhitelist = nil + case "emissions.v8.GenesisState.topic_worker_whitelist_enabled": + x.TopicWorkerWhitelistEnabled = nil + case "emissions.v8.GenesisState.topic_reputer_whitelist_enabled": + x.TopicReputerWhitelistEnabled = nil + case "emissions.v8.GenesisState.last_median_inferences": + x.LastMedianInferences = nil + case "emissions.v8.GenesisState.mad_inferences": + x.MadInferences = nil + case "emissions.v8.GenesisState.initial_inferer_ema_score": + x.InitialInfererEmaScore = nil + case "emissions.v8.GenesisState.initial_forecaster_ema_score": + x.InitialForecasterEmaScore = nil + case "emissions.v8.GenesisState.initial_reputer_ema_score": + x.InitialReputerEmaScore = nil + case "emissions.v8.GenesisState.global_worker_whitelist": + x.GlobalWorkerWhitelist = nil + case "emissions.v8.GenesisState.global_reputer_whitelist": + x.GlobalReputerWhitelist = nil + case "emissions.v8.GenesisState.global_admin_whitelist": + x.GlobalAdminWhitelist = nil + case "emissions.v8.GenesisState.latest_regret_std_norm": + x.LatestRegretStdNorm = nil + case "emissions.v8.GenesisState.latest_inferer_weights": + x.LatestInfererWeights = nil + case "emissions.v8.GenesisState.latest_forecaster_weights": + x.LatestForecasterWeights = nil + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GenesisState")) + } + panic(fmt.Errorf("message emissions.v8.GenesisState does not contain field %s", fd.FullName())) + } +} + +// Get retrieves the value for a field. +// +// For unpopulated scalars, it returns the default value, where +// the default value of a bytes scalar is guaranteed to be a copy. +// For unpopulated composite types, it returns an empty, read-only view +// of the value; to obtain a mutable reference, use Mutable. +func (x *fastReflection_GenesisState) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { + switch descriptor.FullName() { + case "emissions.v8.GenesisState.params": + value := x.Params + return protoreflect.ValueOfMessage(value.ProtoReflect()) + case "emissions.v8.GenesisState.core_team_addresses": + if len(x.CoreTeamAddresses) == 0 { + return protoreflect.ValueOfList(&_GenesisState_2_list{}) + } + listValue := &_GenesisState_2_list{list: &x.CoreTeamAddresses} + return protoreflect.ValueOfList(listValue) + case "emissions.v8.GenesisState.next_topic_id": + value := x.NextTopicId + return protoreflect.ValueOfUint64(value) + case "emissions.v8.GenesisState.topics": + if len(x.Topics) == 0 { + return protoreflect.ValueOfList(&_GenesisState_4_list{}) + } + listValue := &_GenesisState_4_list{list: &x.Topics} + return protoreflect.ValueOfList(listValue) + case "emissions.v8.GenesisState.active_topics": + if len(x.ActiveTopics) == 0 { + return protoreflect.ValueOfList(&_GenesisState_5_list{}) + } + listValue := &_GenesisState_5_list{list: &x.ActiveTopics} + return protoreflect.ValueOfList(listValue) + case "emissions.v8.GenesisState.rewardable_topics": + if len(x.RewardableTopics) == 0 { + return protoreflect.ValueOfList(&_GenesisState_6_list{}) + } + listValue := &_GenesisState_6_list{list: &x.RewardableTopics} + return protoreflect.ValueOfList(listValue) + case "emissions.v8.GenesisState.topic_workers": + if len(x.TopicWorkers) == 0 { + return protoreflect.ValueOfList(&_GenesisState_7_list{}) + } + listValue := &_GenesisState_7_list{list: &x.TopicWorkers} + return protoreflect.ValueOfList(listValue) + case "emissions.v8.GenesisState.topic_reputers": + if len(x.TopicReputers) == 0 { + return protoreflect.ValueOfList(&_GenesisState_8_list{}) + } + listValue := &_GenesisState_8_list{list: &x.TopicReputers} + return protoreflect.ValueOfList(listValue) + case "emissions.v8.GenesisState.topic_reward_nonce": + if len(x.TopicRewardNonce) == 0 { + return protoreflect.ValueOfList(&_GenesisState_9_list{}) + } + listValue := &_GenesisState_9_list{list: &x.TopicRewardNonce} + return protoreflect.ValueOfList(listValue) + case "emissions.v8.GenesisState.inferer_scores_by_block": + if len(x.InfererScoresByBlock) == 0 { + return protoreflect.ValueOfList(&_GenesisState_10_list{}) + } + listValue := &_GenesisState_10_list{list: &x.InfererScoresByBlock} + return protoreflect.ValueOfList(listValue) + case "emissions.v8.GenesisState.forecaster_scores_by_block": + if len(x.ForecasterScoresByBlock) == 0 { + return protoreflect.ValueOfList(&_GenesisState_11_list{}) + } + listValue := &_GenesisState_11_list{list: &x.ForecasterScoresByBlock} + return protoreflect.ValueOfList(listValue) + case "emissions.v8.GenesisState.reputer_scores_by_block": + if len(x.ReputerScoresByBlock) == 0 { + return protoreflect.ValueOfList(&_GenesisState_12_list{}) + } + listValue := &_GenesisState_12_list{list: &x.ReputerScoresByBlock} + return protoreflect.ValueOfList(listValue) + case "emissions.v8.GenesisState.reputer_listening_coefficient": + if len(x.ReputerListeningCoefficient) == 0 { + return protoreflect.ValueOfList(&_GenesisState_16_list{}) + } + listValue := &_GenesisState_16_list{list: &x.ReputerListeningCoefficient} + return protoreflect.ValueOfList(listValue) + case "emissions.v8.GenesisState.previous_reputer_reward_fraction": + if len(x.PreviousReputerRewardFraction) == 0 { + return protoreflect.ValueOfList(&_GenesisState_17_list{}) + } + listValue := &_GenesisState_17_list{list: &x.PreviousReputerRewardFraction} + return protoreflect.ValueOfList(listValue) + case "emissions.v8.GenesisState.previous_inference_reward_fraction": + if len(x.PreviousInferenceRewardFraction) == 0 { + return protoreflect.ValueOfList(&_GenesisState_18_list{}) + } + listValue := &_GenesisState_18_list{list: &x.PreviousInferenceRewardFraction} + return protoreflect.ValueOfList(listValue) + case "emissions.v8.GenesisState.previous_forecast_reward_fraction": + if len(x.PreviousForecastRewardFraction) == 0 { + return protoreflect.ValueOfList(&_GenesisState_19_list{}) + } + listValue := &_GenesisState_19_list{list: &x.PreviousForecastRewardFraction} + return protoreflect.ValueOfList(listValue) + case "emissions.v8.GenesisState.previous_forecaster_score_ratio": + if len(x.PreviousForecasterScoreRatio) == 0 { + return protoreflect.ValueOfList(&_GenesisState_20_list{}) + } + listValue := &_GenesisState_20_list{list: &x.PreviousForecasterScoreRatio} + return protoreflect.ValueOfList(listValue) + case "emissions.v8.GenesisState.total_stake": + value := x.TotalStake + return protoreflect.ValueOfString(value) + case "emissions.v8.GenesisState.topic_stake": + if len(x.TopicStake) == 0 { + return protoreflect.ValueOfList(&_GenesisState_22_list{}) + } + listValue := &_GenesisState_22_list{list: &x.TopicStake} + return protoreflect.ValueOfList(listValue) + case "emissions.v8.GenesisState.stake_reputer_authority": + if len(x.StakeReputerAuthority) == 0 { + return protoreflect.ValueOfList(&_GenesisState_23_list{}) + } + listValue := &_GenesisState_23_list{list: &x.StakeReputerAuthority} + return protoreflect.ValueOfList(listValue) + case "emissions.v8.GenesisState.stake_sum_from_delegator": + if len(x.StakeSumFromDelegator) == 0 { + return protoreflect.ValueOfList(&_GenesisState_24_list{}) + } + listValue := &_GenesisState_24_list{list: &x.StakeSumFromDelegator} + return protoreflect.ValueOfList(listValue) + case "emissions.v8.GenesisState.delegated_stakes": + if len(x.DelegatedStakes) == 0 { + return protoreflect.ValueOfList(&_GenesisState_25_list{}) + } + listValue := &_GenesisState_25_list{list: &x.DelegatedStakes} + return protoreflect.ValueOfList(listValue) + case "emissions.v8.GenesisState.stake_from_delegators_upon_reputer": + if len(x.StakeFromDelegatorsUponReputer) == 0 { + return protoreflect.ValueOfList(&_GenesisState_26_list{}) + } + listValue := &_GenesisState_26_list{list: &x.StakeFromDelegatorsUponReputer} + return protoreflect.ValueOfList(listValue) + case "emissions.v8.GenesisState.delegate_reward_per_share": + if len(x.DelegateRewardPerShare) == 0 { + return protoreflect.ValueOfList(&_GenesisState_27_list{}) + } + listValue := &_GenesisState_27_list{list: &x.DelegateRewardPerShare} + return protoreflect.ValueOfList(listValue) + case "emissions.v8.GenesisState.stake_removals_by_block": + if len(x.StakeRemovalsByBlock) == 0 { + return protoreflect.ValueOfList(&_GenesisState_28_list{}) + } + listValue := &_GenesisState_28_list{list: &x.StakeRemovalsByBlock} + return protoreflect.ValueOfList(listValue) + case "emissions.v8.GenesisState.stake_removals_by_actor": + if len(x.StakeRemovalsByActor) == 0 { + return protoreflect.ValueOfList(&_GenesisState_29_list{}) + } + listValue := &_GenesisState_29_list{list: &x.StakeRemovalsByActor} + return protoreflect.ValueOfList(listValue) + case "emissions.v8.GenesisState.delegate_stake_removals_by_block": + if len(x.DelegateStakeRemovalsByBlock) == 0 { + return protoreflect.ValueOfList(&_GenesisState_30_list{}) + } + listValue := &_GenesisState_30_list{list: &x.DelegateStakeRemovalsByBlock} + return protoreflect.ValueOfList(listValue) + case "emissions.v8.GenesisState.delegate_stake_removals_by_actor": + if len(x.DelegateStakeRemovalsByActor) == 0 { + return protoreflect.ValueOfList(&_GenesisState_31_list{}) + } + listValue := &_GenesisState_31_list{list: &x.DelegateStakeRemovalsByActor} + return protoreflect.ValueOfList(listValue) + case "emissions.v8.GenesisState.inferences": + if len(x.Inferences) == 0 { + return protoreflect.ValueOfList(&_GenesisState_32_list{}) + } + listValue := &_GenesisState_32_list{list: &x.Inferences} + return protoreflect.ValueOfList(listValue) + case "emissions.v8.GenesisState.forecasts": + if len(x.Forecasts) == 0 { + return protoreflect.ValueOfList(&_GenesisState_33_list{}) + } + listValue := &_GenesisState_33_list{list: &x.Forecasts} + return protoreflect.ValueOfList(listValue) + case "emissions.v8.GenesisState.workers": + if len(x.Workers) == 0 { + return protoreflect.ValueOfList(&_GenesisState_34_list{}) + } + listValue := &_GenesisState_34_list{list: &x.Workers} + return protoreflect.ValueOfList(listValue) + case "emissions.v8.GenesisState.reputers": + if len(x.Reputers) == 0 { + return protoreflect.ValueOfList(&_GenesisState_35_list{}) + } + listValue := &_GenesisState_35_list{list: &x.Reputers} + return protoreflect.ValueOfList(listValue) + case "emissions.v8.GenesisState.topic_fee_revenue": + if len(x.TopicFeeRevenue) == 0 { + return protoreflect.ValueOfList(&_GenesisState_36_list{}) + } + listValue := &_GenesisState_36_list{list: &x.TopicFeeRevenue} + return protoreflect.ValueOfList(listValue) + case "emissions.v8.GenesisState.previous_topic_weight": + if len(x.PreviousTopicWeight) == 0 { + return protoreflect.ValueOfList(&_GenesisState_37_list{}) + } + listValue := &_GenesisState_37_list{list: &x.PreviousTopicWeight} + return protoreflect.ValueOfList(listValue) + case "emissions.v8.GenesisState.all_inferences": + if len(x.AllInferences) == 0 { + return protoreflect.ValueOfList(&_GenesisState_38_list{}) + } + listValue := &_GenesisState_38_list{list: &x.AllInferences} + return protoreflect.ValueOfList(listValue) + case "emissions.v8.GenesisState.all_forecasts": + if len(x.AllForecasts) == 0 { + return protoreflect.ValueOfList(&_GenesisState_39_list{}) + } + listValue := &_GenesisState_39_list{list: &x.AllForecasts} + return protoreflect.ValueOfList(listValue) + case "emissions.v8.GenesisState.all_loss_bundles": + if len(x.AllLossBundles) == 0 { + return protoreflect.ValueOfList(&_GenesisState_40_list{}) + } + listValue := &_GenesisState_40_list{list: &x.AllLossBundles} + return protoreflect.ValueOfList(listValue) + case "emissions.v8.GenesisState.network_loss_bundles": + if len(x.NetworkLossBundles) == 0 { + return protoreflect.ValueOfList(&_GenesisState_41_list{}) + } + listValue := &_GenesisState_41_list{list: &x.NetworkLossBundles} + return protoreflect.ValueOfList(listValue) + case "emissions.v8.GenesisState.previous_percentage_reward_to_staked_reputers": + value := x.PreviousPercentageRewardToStakedReputers + return protoreflect.ValueOfString(value) + case "emissions.v8.GenesisState.unfulfilled_worker_nonces": + if len(x.UnfulfilledWorkerNonces) == 0 { + return protoreflect.ValueOfList(&_GenesisState_43_list{}) + } + listValue := &_GenesisState_43_list{list: &x.UnfulfilledWorkerNonces} + return protoreflect.ValueOfList(listValue) + case "emissions.v8.GenesisState.unfulfilled_reputer_nonces": + if len(x.UnfulfilledReputerNonces) == 0 { + return protoreflect.ValueOfList(&_GenesisState_44_list{}) + } + listValue := &_GenesisState_44_list{list: &x.UnfulfilledReputerNonces} + return protoreflect.ValueOfList(listValue) + case "emissions.v8.GenesisState.latest_inferer_network_regrets": + if len(x.LatestInfererNetworkRegrets) == 0 { + return protoreflect.ValueOfList(&_GenesisState_45_list{}) + } + listValue := &_GenesisState_45_list{list: &x.LatestInfererNetworkRegrets} + return protoreflect.ValueOfList(listValue) + case "emissions.v8.GenesisState.latest_forecaster_network_regrets": + if len(x.LatestForecasterNetworkRegrets) == 0 { + return protoreflect.ValueOfList(&_GenesisState_46_list{}) + } + listValue := &_GenesisState_46_list{list: &x.LatestForecasterNetworkRegrets} + return protoreflect.ValueOfList(listValue) + case "emissions.v8.GenesisState.latest_one_in_forecaster_network_regrets": + if len(x.LatestOneInForecasterNetworkRegrets) == 0 { + return protoreflect.ValueOfList(&_GenesisState_47_list{}) + } + listValue := &_GenesisState_47_list{list: &x.LatestOneInForecasterNetworkRegrets} + return protoreflect.ValueOfList(listValue) + case "emissions.v8.GenesisState.latest_naive_inferer_network_regrets": + if len(x.LatestNaiveInfererNetworkRegrets) == 0 { + return protoreflect.ValueOfList(&_GenesisState_48_list{}) + } + listValue := &_GenesisState_48_list{list: &x.LatestNaiveInfererNetworkRegrets} + return protoreflect.ValueOfList(listValue) + case "emissions.v8.GenesisState.latest_one_out_inferer_inferer_network_regrets": + if len(x.LatestOneOutInfererInfererNetworkRegrets) == 0 { + return protoreflect.ValueOfList(&_GenesisState_49_list{}) + } + listValue := &_GenesisState_49_list{list: &x.LatestOneOutInfererInfererNetworkRegrets} + return protoreflect.ValueOfList(listValue) + case "emissions.v8.GenesisState.latest_one_out_inferer_forecaster_network_regrets": + if len(x.LatestOneOutInfererForecasterNetworkRegrets) == 0 { + return protoreflect.ValueOfList(&_GenesisState_50_list{}) + } + listValue := &_GenesisState_50_list{list: &x.LatestOneOutInfererForecasterNetworkRegrets} + return protoreflect.ValueOfList(listValue) + case "emissions.v8.GenesisState.latest_one_out_forecaster_inferer_network_regrets": + if len(x.LatestOneOutForecasterInfererNetworkRegrets) == 0 { + return protoreflect.ValueOfList(&_GenesisState_51_list{}) + } + listValue := &_GenesisState_51_list{list: &x.LatestOneOutForecasterInfererNetworkRegrets} + return protoreflect.ValueOfList(listValue) + case "emissions.v8.GenesisState.latest_one_out_forecaster_forecaster_network_regrets": + if len(x.LatestOneOutForecasterForecasterNetworkRegrets) == 0 { + return protoreflect.ValueOfList(&_GenesisState_52_list{}) + } + listValue := &_GenesisState_52_list{list: &x.LatestOneOutForecasterForecasterNetworkRegrets} + return protoreflect.ValueOfList(listValue) + case "emissions.v8.GenesisState.topic_last_worker_commit": + if len(x.TopicLastWorkerCommit) == 0 { + return protoreflect.ValueOfList(&_GenesisState_53_list{}) + } + listValue := &_GenesisState_53_list{list: &x.TopicLastWorkerCommit} + return protoreflect.ValueOfList(listValue) + case "emissions.v8.GenesisState.topic_last_reputer_commit": + if len(x.TopicLastReputerCommit) == 0 { + return protoreflect.ValueOfList(&_GenesisState_54_list{}) + } + listValue := &_GenesisState_54_list{list: &x.TopicLastReputerCommit} + return protoreflect.ValueOfList(listValue) + case "emissions.v8.GenesisState.open_worker_windows": + if len(x.OpenWorkerWindows) == 0 { + return protoreflect.ValueOfList(&_GenesisState_55_list{}) + } + listValue := &_GenesisState_55_list{list: &x.OpenWorkerWindows} + return protoreflect.ValueOfList(listValue) + case "emissions.v8.GenesisState.last_drip_block": + if len(x.LastDripBlock) == 0 { + return protoreflect.ValueOfList(&_GenesisState_56_list{}) + } + listValue := &_GenesisState_56_list{list: &x.LastDripBlock} + return protoreflect.ValueOfList(listValue) + case "emissions.v8.GenesisState.topic_to_next_possible_churning_block": + if len(x.TopicToNextPossibleChurningBlock) == 0 { + return protoreflect.ValueOfList(&_GenesisState_57_list{}) + } + listValue := &_GenesisState_57_list{list: &x.TopicToNextPossibleChurningBlock} + return protoreflect.ValueOfList(listValue) + case "emissions.v8.GenesisState.block_to_active_topics": + if len(x.BlockToActiveTopics) == 0 { + return protoreflect.ValueOfList(&_GenesisState_58_list{}) + } + listValue := &_GenesisState_58_list{list: &x.BlockToActiveTopics} + return protoreflect.ValueOfList(listValue) + case "emissions.v8.GenesisState.block_to_lowest_active_topic_weight": + if len(x.BlockToLowestActiveTopicWeight) == 0 { + return protoreflect.ValueOfList(&_GenesisState_59_list{}) + } + listValue := &_GenesisState_59_list{list: &x.BlockToLowestActiveTopicWeight} + return protoreflect.ValueOfList(listValue) + case "emissions.v8.GenesisState.inferer_score_emas": + if len(x.InfererScoreEmas) == 0 { + return protoreflect.ValueOfList(&_GenesisState_60_list{}) + } + listValue := &_GenesisState_60_list{list: &x.InfererScoreEmas} + return protoreflect.ValueOfList(listValue) + case "emissions.v8.GenesisState.forecaster_score_emas": + if len(x.ForecasterScoreEmas) == 0 { + return protoreflect.ValueOfList(&_GenesisState_61_list{}) + } + listValue := &_GenesisState_61_list{list: &x.ForecasterScoreEmas} + return protoreflect.ValueOfList(listValue) + case "emissions.v8.GenesisState.reputer_score_emas": + if len(x.ReputerScoreEmas) == 0 { + return protoreflect.ValueOfList(&_GenesisState_62_list{}) + } + listValue := &_GenesisState_62_list{list: &x.ReputerScoreEmas} + return protoreflect.ValueOfList(listValue) + case "emissions.v8.GenesisState.previous_topic_quantile_inferer_score_ema": + if len(x.PreviousTopicQuantileInfererScoreEma) == 0 { + return protoreflect.ValueOfList(&_GenesisState_63_list{}) + } + listValue := &_GenesisState_63_list{list: &x.PreviousTopicQuantileInfererScoreEma} + return protoreflect.ValueOfList(listValue) + case "emissions.v8.GenesisState.previous_topic_quantile_forecaster_score_ema": + if len(x.PreviousTopicQuantileForecasterScoreEma) == 0 { + return protoreflect.ValueOfList(&_GenesisState_64_list{}) + } + listValue := &_GenesisState_64_list{list: &x.PreviousTopicQuantileForecasterScoreEma} + return protoreflect.ValueOfList(listValue) + case "emissions.v8.GenesisState.previous_topic_quantile_reputer_score_ema": + if len(x.PreviousTopicQuantileReputerScoreEma) == 0 { + return protoreflect.ValueOfList(&_GenesisState_65_list{}) + } + listValue := &_GenesisState_65_list{list: &x.PreviousTopicQuantileReputerScoreEma} + return protoreflect.ValueOfList(listValue) + case "emissions.v8.GenesisState.count_inferer_inclusions_in_topic_active_set": + if len(x.CountInfererInclusionsInTopicActiveSet) == 0 { + return protoreflect.ValueOfList(&_GenesisState_66_list{}) + } + listValue := &_GenesisState_66_list{list: &x.CountInfererInclusionsInTopicActiveSet} + return protoreflect.ValueOfList(listValue) + case "emissions.v8.GenesisState.count_forecaster_inclusions_in_topic_active_set": + if len(x.CountForecasterInclusionsInTopicActiveSet) == 0 { + return protoreflect.ValueOfList(&_GenesisState_67_list{}) + } + listValue := &_GenesisState_67_list{list: &x.CountForecasterInclusionsInTopicActiveSet} + return protoreflect.ValueOfList(listValue) + case "emissions.v8.GenesisState.active_inferers": + if len(x.ActiveInferers) == 0 { + return protoreflect.ValueOfList(&_GenesisState_68_list{}) + } + listValue := &_GenesisState_68_list{list: &x.ActiveInferers} + return protoreflect.ValueOfList(listValue) + case "emissions.v8.GenesisState.active_forecasters": + if len(x.ActiveForecasters) == 0 { + return protoreflect.ValueOfList(&_GenesisState_69_list{}) + } + listValue := &_GenesisState_69_list{list: &x.ActiveForecasters} + return protoreflect.ValueOfList(listValue) + case "emissions.v8.GenesisState.lowest_inferer_score_ema": + if len(x.LowestInfererScoreEma) == 0 { + return protoreflect.ValueOfList(&_GenesisState_70_list{}) + } + listValue := &_GenesisState_70_list{list: &x.LowestInfererScoreEma} + return protoreflect.ValueOfList(listValue) + case "emissions.v8.GenesisState.lowest_forecaster_score_ema": + if len(x.LowestForecasterScoreEma) == 0 { + return protoreflect.ValueOfList(&_GenesisState_71_list{}) + } + listValue := &_GenesisState_71_list{list: &x.LowestForecasterScoreEma} + return protoreflect.ValueOfList(listValue) + case "emissions.v8.GenesisState.active_reputers": + if len(x.ActiveReputers) == 0 { + return protoreflect.ValueOfList(&_GenesisState_72_list{}) + } + listValue := &_GenesisState_72_list{list: &x.ActiveReputers} + return protoreflect.ValueOfList(listValue) + case "emissions.v8.GenesisState.lowest_reputer_score_ema": + if len(x.LowestReputerScoreEma) == 0 { + return protoreflect.ValueOfList(&_GenesisState_73_list{}) + } + listValue := &_GenesisState_73_list{list: &x.LowestReputerScoreEma} + return protoreflect.ValueOfList(listValue) + case "emissions.v8.GenesisState.loss_bundles": + if len(x.LossBundles) == 0 { + return protoreflect.ValueOfList(&_GenesisState_74_list{}) + } + listValue := &_GenesisState_74_list{list: &x.LossBundles} + return protoreflect.ValueOfList(listValue) + case "emissions.v8.GenesisState.total_sum_previous_topic_weights": + value := x.TotalSumPreviousTopicWeights + return protoreflect.ValueOfString(value) + case "emissions.v8.GenesisState.reward_current_block_emission": + value := x.RewardCurrentBlockEmission + return protoreflect.ValueOfString(value) + case "emissions.v8.GenesisState.whitelist_admins": + if len(x.WhitelistAdmins) == 0 { + return protoreflect.ValueOfList(&_GenesisState_77_list{}) + } + listValue := &_GenesisState_77_list{list: &x.WhitelistAdmins} + return protoreflect.ValueOfList(listValue) + case "emissions.v8.GenesisState.global_whitelist": + if len(x.GlobalWhitelist) == 0 { + return protoreflect.ValueOfList(&_GenesisState_78_list{}) + } + listValue := &_GenesisState_78_list{list: &x.GlobalWhitelist} + return protoreflect.ValueOfList(listValue) + case "emissions.v8.GenesisState.topic_creator_whitelist": + if len(x.TopicCreatorWhitelist) == 0 { + return protoreflect.ValueOfList(&_GenesisState_79_list{}) + } + listValue := &_GenesisState_79_list{list: &x.TopicCreatorWhitelist} + return protoreflect.ValueOfList(listValue) + case "emissions.v8.GenesisState.topic_worker_whitelist": + if len(x.TopicWorkerWhitelist) == 0 { + return protoreflect.ValueOfList(&_GenesisState_80_list{}) + } + listValue := &_GenesisState_80_list{list: &x.TopicWorkerWhitelist} + return protoreflect.ValueOfList(listValue) + case "emissions.v8.GenesisState.topic_reputer_whitelist": + if len(x.TopicReputerWhitelist) == 0 { + return protoreflect.ValueOfList(&_GenesisState_81_list{}) + } + listValue := &_GenesisState_81_list{list: &x.TopicReputerWhitelist} + return protoreflect.ValueOfList(listValue) + case "emissions.v8.GenesisState.topic_worker_whitelist_enabled": + if len(x.TopicWorkerWhitelistEnabled) == 0 { + return protoreflect.ValueOfList(&_GenesisState_82_list{}) + } + listValue := &_GenesisState_82_list{list: &x.TopicWorkerWhitelistEnabled} + return protoreflect.ValueOfList(listValue) + case "emissions.v8.GenesisState.topic_reputer_whitelist_enabled": + if len(x.TopicReputerWhitelistEnabled) == 0 { + return protoreflect.ValueOfList(&_GenesisState_83_list{}) + } + listValue := &_GenesisState_83_list{list: &x.TopicReputerWhitelistEnabled} + return protoreflect.ValueOfList(listValue) + case "emissions.v8.GenesisState.last_median_inferences": + if len(x.LastMedianInferences) == 0 { + return protoreflect.ValueOfList(&_GenesisState_84_list{}) + } + listValue := &_GenesisState_84_list{list: &x.LastMedianInferences} + return protoreflect.ValueOfList(listValue) + case "emissions.v8.GenesisState.mad_inferences": + if len(x.MadInferences) == 0 { + return protoreflect.ValueOfList(&_GenesisState_85_list{}) + } + listValue := &_GenesisState_85_list{list: &x.MadInferences} + return protoreflect.ValueOfList(listValue) + case "emissions.v8.GenesisState.initial_inferer_ema_score": + if len(x.InitialInfererEmaScore) == 0 { + return protoreflect.ValueOfList(&_GenesisState_86_list{}) + } + listValue := &_GenesisState_86_list{list: &x.InitialInfererEmaScore} + return protoreflect.ValueOfList(listValue) + case "emissions.v8.GenesisState.initial_forecaster_ema_score": + if len(x.InitialForecasterEmaScore) == 0 { + return protoreflect.ValueOfList(&_GenesisState_87_list{}) + } + listValue := &_GenesisState_87_list{list: &x.InitialForecasterEmaScore} + return protoreflect.ValueOfList(listValue) + case "emissions.v8.GenesisState.initial_reputer_ema_score": + if len(x.InitialReputerEmaScore) == 0 { + return protoreflect.ValueOfList(&_GenesisState_88_list{}) + } + listValue := &_GenesisState_88_list{list: &x.InitialReputerEmaScore} + return protoreflect.ValueOfList(listValue) + case "emissions.v8.GenesisState.global_worker_whitelist": + if len(x.GlobalWorkerWhitelist) == 0 { + return protoreflect.ValueOfList(&_GenesisState_89_list{}) + } + listValue := &_GenesisState_89_list{list: &x.GlobalWorkerWhitelist} + return protoreflect.ValueOfList(listValue) + case "emissions.v8.GenesisState.global_reputer_whitelist": + if len(x.GlobalReputerWhitelist) == 0 { + return protoreflect.ValueOfList(&_GenesisState_90_list{}) + } + listValue := &_GenesisState_90_list{list: &x.GlobalReputerWhitelist} + return protoreflect.ValueOfList(listValue) + case "emissions.v8.GenesisState.global_admin_whitelist": + if len(x.GlobalAdminWhitelist) == 0 { + return protoreflect.ValueOfList(&_GenesisState_91_list{}) + } + listValue := &_GenesisState_91_list{list: &x.GlobalAdminWhitelist} + return protoreflect.ValueOfList(listValue) + case "emissions.v8.GenesisState.latest_regret_std_norm": + if len(x.LatestRegretStdNorm) == 0 { + return protoreflect.ValueOfList(&_GenesisState_92_list{}) + } + listValue := &_GenesisState_92_list{list: &x.LatestRegretStdNorm} + return protoreflect.ValueOfList(listValue) + case "emissions.v8.GenesisState.latest_inferer_weights": + if len(x.LatestInfererWeights) == 0 { + return protoreflect.ValueOfList(&_GenesisState_93_list{}) + } + listValue := &_GenesisState_93_list{list: &x.LatestInfererWeights} + return protoreflect.ValueOfList(listValue) + case "emissions.v8.GenesisState.latest_forecaster_weights": + if len(x.LatestForecasterWeights) == 0 { + return protoreflect.ValueOfList(&_GenesisState_94_list{}) + } + listValue := &_GenesisState_94_list{list: &x.LatestForecasterWeights} + return protoreflect.ValueOfList(listValue) + default: + if descriptor.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GenesisState")) + } + panic(fmt.Errorf("message emissions.v8.GenesisState does not contain field %s", descriptor.FullName())) + } +} + +// Set stores the value for a field. +// +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType. +// When setting a composite type, it is unspecified whether the stored value +// aliases the source's memory in any way. If the composite value is an +// empty, read-only value, then it panics. +// +// Set is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GenesisState) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { + switch fd.FullName() { + case "emissions.v8.GenesisState.params": + x.Params = value.Message().Interface().(*Params) + case "emissions.v8.GenesisState.core_team_addresses": + lv := value.List() + clv := lv.(*_GenesisState_2_list) + x.CoreTeamAddresses = *clv.list + case "emissions.v8.GenesisState.next_topic_id": + x.NextTopicId = value.Uint() + case "emissions.v8.GenesisState.topics": + lv := value.List() + clv := lv.(*_GenesisState_4_list) + x.Topics = *clv.list + case "emissions.v8.GenesisState.active_topics": + lv := value.List() + clv := lv.(*_GenesisState_5_list) + x.ActiveTopics = *clv.list + case "emissions.v8.GenesisState.rewardable_topics": + lv := value.List() + clv := lv.(*_GenesisState_6_list) + x.RewardableTopics = *clv.list + case "emissions.v8.GenesisState.topic_workers": + lv := value.List() + clv := lv.(*_GenesisState_7_list) + x.TopicWorkers = *clv.list + case "emissions.v8.GenesisState.topic_reputers": + lv := value.List() + clv := lv.(*_GenesisState_8_list) + x.TopicReputers = *clv.list + case "emissions.v8.GenesisState.topic_reward_nonce": + lv := value.List() + clv := lv.(*_GenesisState_9_list) + x.TopicRewardNonce = *clv.list + case "emissions.v8.GenesisState.inferer_scores_by_block": + lv := value.List() + clv := lv.(*_GenesisState_10_list) + x.InfererScoresByBlock = *clv.list + case "emissions.v8.GenesisState.forecaster_scores_by_block": + lv := value.List() + clv := lv.(*_GenesisState_11_list) + x.ForecasterScoresByBlock = *clv.list + case "emissions.v8.GenesisState.reputer_scores_by_block": + lv := value.List() + clv := lv.(*_GenesisState_12_list) + x.ReputerScoresByBlock = *clv.list + case "emissions.v8.GenesisState.reputer_listening_coefficient": + lv := value.List() + clv := lv.(*_GenesisState_16_list) + x.ReputerListeningCoefficient = *clv.list + case "emissions.v8.GenesisState.previous_reputer_reward_fraction": + lv := value.List() + clv := lv.(*_GenesisState_17_list) + x.PreviousReputerRewardFraction = *clv.list + case "emissions.v8.GenesisState.previous_inference_reward_fraction": + lv := value.List() + clv := lv.(*_GenesisState_18_list) + x.PreviousInferenceRewardFraction = *clv.list + case "emissions.v8.GenesisState.previous_forecast_reward_fraction": + lv := value.List() + clv := lv.(*_GenesisState_19_list) + x.PreviousForecastRewardFraction = *clv.list + case "emissions.v8.GenesisState.previous_forecaster_score_ratio": + lv := value.List() + clv := lv.(*_GenesisState_20_list) + x.PreviousForecasterScoreRatio = *clv.list + case "emissions.v8.GenesisState.total_stake": + x.TotalStake = value.Interface().(string) + case "emissions.v8.GenesisState.topic_stake": + lv := value.List() + clv := lv.(*_GenesisState_22_list) + x.TopicStake = *clv.list + case "emissions.v8.GenesisState.stake_reputer_authority": + lv := value.List() + clv := lv.(*_GenesisState_23_list) + x.StakeReputerAuthority = *clv.list + case "emissions.v8.GenesisState.stake_sum_from_delegator": + lv := value.List() + clv := lv.(*_GenesisState_24_list) + x.StakeSumFromDelegator = *clv.list + case "emissions.v8.GenesisState.delegated_stakes": + lv := value.List() + clv := lv.(*_GenesisState_25_list) + x.DelegatedStakes = *clv.list + case "emissions.v8.GenesisState.stake_from_delegators_upon_reputer": + lv := value.List() + clv := lv.(*_GenesisState_26_list) + x.StakeFromDelegatorsUponReputer = *clv.list + case "emissions.v8.GenesisState.delegate_reward_per_share": + lv := value.List() + clv := lv.(*_GenesisState_27_list) + x.DelegateRewardPerShare = *clv.list + case "emissions.v8.GenesisState.stake_removals_by_block": + lv := value.List() + clv := lv.(*_GenesisState_28_list) + x.StakeRemovalsByBlock = *clv.list + case "emissions.v8.GenesisState.stake_removals_by_actor": + lv := value.List() + clv := lv.(*_GenesisState_29_list) + x.StakeRemovalsByActor = *clv.list + case "emissions.v8.GenesisState.delegate_stake_removals_by_block": + lv := value.List() + clv := lv.(*_GenesisState_30_list) + x.DelegateStakeRemovalsByBlock = *clv.list + case "emissions.v8.GenesisState.delegate_stake_removals_by_actor": + lv := value.List() + clv := lv.(*_GenesisState_31_list) + x.DelegateStakeRemovalsByActor = *clv.list + case "emissions.v8.GenesisState.inferences": + lv := value.List() + clv := lv.(*_GenesisState_32_list) + x.Inferences = *clv.list + case "emissions.v8.GenesisState.forecasts": + lv := value.List() + clv := lv.(*_GenesisState_33_list) + x.Forecasts = *clv.list + case "emissions.v8.GenesisState.workers": + lv := value.List() + clv := lv.(*_GenesisState_34_list) + x.Workers = *clv.list + case "emissions.v8.GenesisState.reputers": + lv := value.List() + clv := lv.(*_GenesisState_35_list) + x.Reputers = *clv.list + case "emissions.v8.GenesisState.topic_fee_revenue": + lv := value.List() + clv := lv.(*_GenesisState_36_list) + x.TopicFeeRevenue = *clv.list + case "emissions.v8.GenesisState.previous_topic_weight": + lv := value.List() + clv := lv.(*_GenesisState_37_list) + x.PreviousTopicWeight = *clv.list + case "emissions.v8.GenesisState.all_inferences": + lv := value.List() + clv := lv.(*_GenesisState_38_list) + x.AllInferences = *clv.list + case "emissions.v8.GenesisState.all_forecasts": + lv := value.List() + clv := lv.(*_GenesisState_39_list) + x.AllForecasts = *clv.list + case "emissions.v8.GenesisState.all_loss_bundles": + lv := value.List() + clv := lv.(*_GenesisState_40_list) + x.AllLossBundles = *clv.list + case "emissions.v8.GenesisState.network_loss_bundles": + lv := value.List() + clv := lv.(*_GenesisState_41_list) + x.NetworkLossBundles = *clv.list + case "emissions.v8.GenesisState.previous_percentage_reward_to_staked_reputers": + x.PreviousPercentageRewardToStakedReputers = value.Interface().(string) + case "emissions.v8.GenesisState.unfulfilled_worker_nonces": + lv := value.List() + clv := lv.(*_GenesisState_43_list) + x.UnfulfilledWorkerNonces = *clv.list + case "emissions.v8.GenesisState.unfulfilled_reputer_nonces": + lv := value.List() + clv := lv.(*_GenesisState_44_list) + x.UnfulfilledReputerNonces = *clv.list + case "emissions.v8.GenesisState.latest_inferer_network_regrets": + lv := value.List() + clv := lv.(*_GenesisState_45_list) + x.LatestInfererNetworkRegrets = *clv.list + case "emissions.v8.GenesisState.latest_forecaster_network_regrets": + lv := value.List() + clv := lv.(*_GenesisState_46_list) + x.LatestForecasterNetworkRegrets = *clv.list + case "emissions.v8.GenesisState.latest_one_in_forecaster_network_regrets": + lv := value.List() + clv := lv.(*_GenesisState_47_list) + x.LatestOneInForecasterNetworkRegrets = *clv.list + case "emissions.v8.GenesisState.latest_naive_inferer_network_regrets": + lv := value.List() + clv := lv.(*_GenesisState_48_list) + x.LatestNaiveInfererNetworkRegrets = *clv.list + case "emissions.v8.GenesisState.latest_one_out_inferer_inferer_network_regrets": + lv := value.List() + clv := lv.(*_GenesisState_49_list) + x.LatestOneOutInfererInfererNetworkRegrets = *clv.list + case "emissions.v8.GenesisState.latest_one_out_inferer_forecaster_network_regrets": + lv := value.List() + clv := lv.(*_GenesisState_50_list) + x.LatestOneOutInfererForecasterNetworkRegrets = *clv.list + case "emissions.v8.GenesisState.latest_one_out_forecaster_inferer_network_regrets": + lv := value.List() + clv := lv.(*_GenesisState_51_list) + x.LatestOneOutForecasterInfererNetworkRegrets = *clv.list + case "emissions.v8.GenesisState.latest_one_out_forecaster_forecaster_network_regrets": + lv := value.List() + clv := lv.(*_GenesisState_52_list) + x.LatestOneOutForecasterForecasterNetworkRegrets = *clv.list + case "emissions.v8.GenesisState.topic_last_worker_commit": + lv := value.List() + clv := lv.(*_GenesisState_53_list) + x.TopicLastWorkerCommit = *clv.list + case "emissions.v8.GenesisState.topic_last_reputer_commit": + lv := value.List() + clv := lv.(*_GenesisState_54_list) + x.TopicLastReputerCommit = *clv.list + case "emissions.v8.GenesisState.open_worker_windows": + lv := value.List() + clv := lv.(*_GenesisState_55_list) + x.OpenWorkerWindows = *clv.list + case "emissions.v8.GenesisState.last_drip_block": + lv := value.List() + clv := lv.(*_GenesisState_56_list) + x.LastDripBlock = *clv.list + case "emissions.v8.GenesisState.topic_to_next_possible_churning_block": + lv := value.List() + clv := lv.(*_GenesisState_57_list) + x.TopicToNextPossibleChurningBlock = *clv.list + case "emissions.v8.GenesisState.block_to_active_topics": + lv := value.List() + clv := lv.(*_GenesisState_58_list) + x.BlockToActiveTopics = *clv.list + case "emissions.v8.GenesisState.block_to_lowest_active_topic_weight": + lv := value.List() + clv := lv.(*_GenesisState_59_list) + x.BlockToLowestActiveTopicWeight = *clv.list + case "emissions.v8.GenesisState.inferer_score_emas": + lv := value.List() + clv := lv.(*_GenesisState_60_list) + x.InfererScoreEmas = *clv.list + case "emissions.v8.GenesisState.forecaster_score_emas": + lv := value.List() + clv := lv.(*_GenesisState_61_list) + x.ForecasterScoreEmas = *clv.list + case "emissions.v8.GenesisState.reputer_score_emas": + lv := value.List() + clv := lv.(*_GenesisState_62_list) + x.ReputerScoreEmas = *clv.list + case "emissions.v8.GenesisState.previous_topic_quantile_inferer_score_ema": + lv := value.List() + clv := lv.(*_GenesisState_63_list) + x.PreviousTopicQuantileInfererScoreEma = *clv.list + case "emissions.v8.GenesisState.previous_topic_quantile_forecaster_score_ema": + lv := value.List() + clv := lv.(*_GenesisState_64_list) + x.PreviousTopicQuantileForecasterScoreEma = *clv.list + case "emissions.v8.GenesisState.previous_topic_quantile_reputer_score_ema": + lv := value.List() + clv := lv.(*_GenesisState_65_list) + x.PreviousTopicQuantileReputerScoreEma = *clv.list + case "emissions.v8.GenesisState.count_inferer_inclusions_in_topic_active_set": + lv := value.List() + clv := lv.(*_GenesisState_66_list) + x.CountInfererInclusionsInTopicActiveSet = *clv.list + case "emissions.v8.GenesisState.count_forecaster_inclusions_in_topic_active_set": + lv := value.List() + clv := lv.(*_GenesisState_67_list) + x.CountForecasterInclusionsInTopicActiveSet = *clv.list + case "emissions.v8.GenesisState.active_inferers": + lv := value.List() + clv := lv.(*_GenesisState_68_list) + x.ActiveInferers = *clv.list + case "emissions.v8.GenesisState.active_forecasters": + lv := value.List() + clv := lv.(*_GenesisState_69_list) + x.ActiveForecasters = *clv.list + case "emissions.v8.GenesisState.lowest_inferer_score_ema": + lv := value.List() + clv := lv.(*_GenesisState_70_list) + x.LowestInfererScoreEma = *clv.list + case "emissions.v8.GenesisState.lowest_forecaster_score_ema": + lv := value.List() + clv := lv.(*_GenesisState_71_list) + x.LowestForecasterScoreEma = *clv.list + case "emissions.v8.GenesisState.active_reputers": + lv := value.List() + clv := lv.(*_GenesisState_72_list) + x.ActiveReputers = *clv.list + case "emissions.v8.GenesisState.lowest_reputer_score_ema": + lv := value.List() + clv := lv.(*_GenesisState_73_list) + x.LowestReputerScoreEma = *clv.list + case "emissions.v8.GenesisState.loss_bundles": + lv := value.List() + clv := lv.(*_GenesisState_74_list) + x.LossBundles = *clv.list + case "emissions.v8.GenesisState.total_sum_previous_topic_weights": + x.TotalSumPreviousTopicWeights = value.Interface().(string) + case "emissions.v8.GenesisState.reward_current_block_emission": + x.RewardCurrentBlockEmission = value.Interface().(string) + case "emissions.v8.GenesisState.whitelist_admins": + lv := value.List() + clv := lv.(*_GenesisState_77_list) + x.WhitelistAdmins = *clv.list + case "emissions.v8.GenesisState.global_whitelist": + lv := value.List() + clv := lv.(*_GenesisState_78_list) + x.GlobalWhitelist = *clv.list + case "emissions.v8.GenesisState.topic_creator_whitelist": + lv := value.List() + clv := lv.(*_GenesisState_79_list) + x.TopicCreatorWhitelist = *clv.list + case "emissions.v8.GenesisState.topic_worker_whitelist": + lv := value.List() + clv := lv.(*_GenesisState_80_list) + x.TopicWorkerWhitelist = *clv.list + case "emissions.v8.GenesisState.topic_reputer_whitelist": + lv := value.List() + clv := lv.(*_GenesisState_81_list) + x.TopicReputerWhitelist = *clv.list + case "emissions.v8.GenesisState.topic_worker_whitelist_enabled": + lv := value.List() + clv := lv.(*_GenesisState_82_list) + x.TopicWorkerWhitelistEnabled = *clv.list + case "emissions.v8.GenesisState.topic_reputer_whitelist_enabled": + lv := value.List() + clv := lv.(*_GenesisState_83_list) + x.TopicReputerWhitelistEnabled = *clv.list + case "emissions.v8.GenesisState.last_median_inferences": + lv := value.List() + clv := lv.(*_GenesisState_84_list) + x.LastMedianInferences = *clv.list + case "emissions.v8.GenesisState.mad_inferences": + lv := value.List() + clv := lv.(*_GenesisState_85_list) + x.MadInferences = *clv.list + case "emissions.v8.GenesisState.initial_inferer_ema_score": + lv := value.List() + clv := lv.(*_GenesisState_86_list) + x.InitialInfererEmaScore = *clv.list + case "emissions.v8.GenesisState.initial_forecaster_ema_score": + lv := value.List() + clv := lv.(*_GenesisState_87_list) + x.InitialForecasterEmaScore = *clv.list + case "emissions.v8.GenesisState.initial_reputer_ema_score": + lv := value.List() + clv := lv.(*_GenesisState_88_list) + x.InitialReputerEmaScore = *clv.list + case "emissions.v8.GenesisState.global_worker_whitelist": + lv := value.List() + clv := lv.(*_GenesisState_89_list) + x.GlobalWorkerWhitelist = *clv.list + case "emissions.v8.GenesisState.global_reputer_whitelist": + lv := value.List() + clv := lv.(*_GenesisState_90_list) + x.GlobalReputerWhitelist = *clv.list + case "emissions.v8.GenesisState.global_admin_whitelist": + lv := value.List() + clv := lv.(*_GenesisState_91_list) + x.GlobalAdminWhitelist = *clv.list + case "emissions.v8.GenesisState.latest_regret_std_norm": + lv := value.List() + clv := lv.(*_GenesisState_92_list) + x.LatestRegretStdNorm = *clv.list + case "emissions.v8.GenesisState.latest_inferer_weights": + lv := value.List() + clv := lv.(*_GenesisState_93_list) + x.LatestInfererWeights = *clv.list + case "emissions.v8.GenesisState.latest_forecaster_weights": + lv := value.List() + clv := lv.(*_GenesisState_94_list) + x.LatestForecasterWeights = *clv.list + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GenesisState")) + } + panic(fmt.Errorf("message emissions.v8.GenesisState does not contain field %s", fd.FullName())) + } +} + +// Mutable returns a mutable reference to a composite type. +// +// If the field is unpopulated, it may allocate a composite value. +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType +// if not already stored. +// It panics if the field does not contain a composite type. +// +// Mutable is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GenesisState) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.GenesisState.params": + if x.Params == nil { + x.Params = new(Params) + } + return protoreflect.ValueOfMessage(x.Params.ProtoReflect()) + case "emissions.v8.GenesisState.core_team_addresses": + if x.CoreTeamAddresses == nil { + x.CoreTeamAddresses = []string{} + } + value := &_GenesisState_2_list{list: &x.CoreTeamAddresses} + return protoreflect.ValueOfList(value) + case "emissions.v8.GenesisState.topics": + if x.Topics == nil { + x.Topics = []*TopicIdAndTopic{} + } + value := &_GenesisState_4_list{list: &x.Topics} + return protoreflect.ValueOfList(value) + case "emissions.v8.GenesisState.active_topics": + if x.ActiveTopics == nil { + x.ActiveTopics = []uint64{} + } + value := &_GenesisState_5_list{list: &x.ActiveTopics} + return protoreflect.ValueOfList(value) + case "emissions.v8.GenesisState.rewardable_topics": + if x.RewardableTopics == nil { + x.RewardableTopics = []uint64{} + } + value := &_GenesisState_6_list{list: &x.RewardableTopics} + return protoreflect.ValueOfList(value) + case "emissions.v8.GenesisState.topic_workers": + if x.TopicWorkers == nil { + x.TopicWorkers = []*TopicAndActorId{} + } + value := &_GenesisState_7_list{list: &x.TopicWorkers} + return protoreflect.ValueOfList(value) + case "emissions.v8.GenesisState.topic_reputers": + if x.TopicReputers == nil { + x.TopicReputers = []*TopicAndActorId{} + } + value := &_GenesisState_8_list{list: &x.TopicReputers} + return protoreflect.ValueOfList(value) + case "emissions.v8.GenesisState.topic_reward_nonce": + if x.TopicRewardNonce == nil { + x.TopicRewardNonce = []*TopicIdAndBlockHeight{} + } + value := &_GenesisState_9_list{list: &x.TopicRewardNonce} + return protoreflect.ValueOfList(value) + case "emissions.v8.GenesisState.inferer_scores_by_block": + if x.InfererScoresByBlock == nil { + x.InfererScoresByBlock = []*TopicIdBlockHeightScores{} + } + value := &_GenesisState_10_list{list: &x.InfererScoresByBlock} + return protoreflect.ValueOfList(value) + case "emissions.v8.GenesisState.forecaster_scores_by_block": + if x.ForecasterScoresByBlock == nil { + x.ForecasterScoresByBlock = []*TopicIdBlockHeightScores{} + } + value := &_GenesisState_11_list{list: &x.ForecasterScoresByBlock} + return protoreflect.ValueOfList(value) + case "emissions.v8.GenesisState.reputer_scores_by_block": + if x.ReputerScoresByBlock == nil { + x.ReputerScoresByBlock = []*TopicIdBlockHeightScores{} + } + value := &_GenesisState_12_list{list: &x.ReputerScoresByBlock} + return protoreflect.ValueOfList(value) + case "emissions.v8.GenesisState.reputer_listening_coefficient": + if x.ReputerListeningCoefficient == nil { + x.ReputerListeningCoefficient = []*TopicIdActorIdListeningCoefficient{} + } + value := &_GenesisState_16_list{list: &x.ReputerListeningCoefficient} + return protoreflect.ValueOfList(value) + case "emissions.v8.GenesisState.previous_reputer_reward_fraction": + if x.PreviousReputerRewardFraction == nil { + x.PreviousReputerRewardFraction = []*TopicIdActorIdDec{} + } + value := &_GenesisState_17_list{list: &x.PreviousReputerRewardFraction} + return protoreflect.ValueOfList(value) + case "emissions.v8.GenesisState.previous_inference_reward_fraction": + if x.PreviousInferenceRewardFraction == nil { + x.PreviousInferenceRewardFraction = []*TopicIdActorIdDec{} + } + value := &_GenesisState_18_list{list: &x.PreviousInferenceRewardFraction} + return protoreflect.ValueOfList(value) + case "emissions.v8.GenesisState.previous_forecast_reward_fraction": + if x.PreviousForecastRewardFraction == nil { + x.PreviousForecastRewardFraction = []*TopicIdActorIdDec{} + } + value := &_GenesisState_19_list{list: &x.PreviousForecastRewardFraction} + return protoreflect.ValueOfList(value) + case "emissions.v8.GenesisState.previous_forecaster_score_ratio": + if x.PreviousForecasterScoreRatio == nil { + x.PreviousForecasterScoreRatio = []*TopicIdAndDec{} + } + value := &_GenesisState_20_list{list: &x.PreviousForecasterScoreRatio} + return protoreflect.ValueOfList(value) + case "emissions.v8.GenesisState.topic_stake": + if x.TopicStake == nil { + x.TopicStake = []*TopicIdAndInt{} + } + value := &_GenesisState_22_list{list: &x.TopicStake} + return protoreflect.ValueOfList(value) + case "emissions.v8.GenesisState.stake_reputer_authority": + if x.StakeReputerAuthority == nil { + x.StakeReputerAuthority = []*TopicIdActorIdInt{} + } + value := &_GenesisState_23_list{list: &x.StakeReputerAuthority} + return protoreflect.ValueOfList(value) + case "emissions.v8.GenesisState.stake_sum_from_delegator": + if x.StakeSumFromDelegator == nil { + x.StakeSumFromDelegator = []*TopicIdActorIdInt{} + } + value := &_GenesisState_24_list{list: &x.StakeSumFromDelegator} + return protoreflect.ValueOfList(value) + case "emissions.v8.GenesisState.delegated_stakes": + if x.DelegatedStakes == nil { + x.DelegatedStakes = []*TopicIdDelegatorReputerDelegatorInfo{} + } + value := &_GenesisState_25_list{list: &x.DelegatedStakes} + return protoreflect.ValueOfList(value) + case "emissions.v8.GenesisState.stake_from_delegators_upon_reputer": + if x.StakeFromDelegatorsUponReputer == nil { + x.StakeFromDelegatorsUponReputer = []*TopicIdActorIdInt{} + } + value := &_GenesisState_26_list{list: &x.StakeFromDelegatorsUponReputer} + return protoreflect.ValueOfList(value) + case "emissions.v8.GenesisState.delegate_reward_per_share": + if x.DelegateRewardPerShare == nil { + x.DelegateRewardPerShare = []*TopicIdActorIdDec{} + } + value := &_GenesisState_27_list{list: &x.DelegateRewardPerShare} + return protoreflect.ValueOfList(value) + case "emissions.v8.GenesisState.stake_removals_by_block": + if x.StakeRemovalsByBlock == nil { + x.StakeRemovalsByBlock = []*BlockHeightTopicIdReputerStakeRemovalInfo{} + } + value := &_GenesisState_28_list{list: &x.StakeRemovalsByBlock} + return protoreflect.ValueOfList(value) + case "emissions.v8.GenesisState.stake_removals_by_actor": + if x.StakeRemovalsByActor == nil { + x.StakeRemovalsByActor = []*ActorIdTopicIdBlockHeight{} + } + value := &_GenesisState_29_list{list: &x.StakeRemovalsByActor} + return protoreflect.ValueOfList(value) + case "emissions.v8.GenesisState.delegate_stake_removals_by_block": + if x.DelegateStakeRemovalsByBlock == nil { + x.DelegateStakeRemovalsByBlock = []*BlockHeightTopicIdDelegatorReputerDelegateStakeRemovalInfo{} + } + value := &_GenesisState_30_list{list: &x.DelegateStakeRemovalsByBlock} + return protoreflect.ValueOfList(value) + case "emissions.v8.GenesisState.delegate_stake_removals_by_actor": + if x.DelegateStakeRemovalsByActor == nil { + x.DelegateStakeRemovalsByActor = []*DelegatorReputerTopicIdBlockHeight{} + } + value := &_GenesisState_31_list{list: &x.DelegateStakeRemovalsByActor} + return protoreflect.ValueOfList(value) + case "emissions.v8.GenesisState.inferences": + if x.Inferences == nil { + x.Inferences = []*TopicIdActorIdInference{} + } + value := &_GenesisState_32_list{list: &x.Inferences} + return protoreflect.ValueOfList(value) + case "emissions.v8.GenesisState.forecasts": + if x.Forecasts == nil { + x.Forecasts = []*TopicIdActorIdForecast{} + } + value := &_GenesisState_33_list{list: &x.Forecasts} + return protoreflect.ValueOfList(value) + case "emissions.v8.GenesisState.workers": + if x.Workers == nil { + x.Workers = []*LibP2PKeyAndOffchainNode{} + } + value := &_GenesisState_34_list{list: &x.Workers} + return protoreflect.ValueOfList(value) + case "emissions.v8.GenesisState.reputers": + if x.Reputers == nil { + x.Reputers = []*LibP2PKeyAndOffchainNode{} + } + value := &_GenesisState_35_list{list: &x.Reputers} + return protoreflect.ValueOfList(value) + case "emissions.v8.GenesisState.topic_fee_revenue": + if x.TopicFeeRevenue == nil { + x.TopicFeeRevenue = []*TopicIdAndInt{} + } + value := &_GenesisState_36_list{list: &x.TopicFeeRevenue} + return protoreflect.ValueOfList(value) + case "emissions.v8.GenesisState.previous_topic_weight": + if x.PreviousTopicWeight == nil { + x.PreviousTopicWeight = []*TopicIdAndDec{} + } + value := &_GenesisState_37_list{list: &x.PreviousTopicWeight} + return protoreflect.ValueOfList(value) + case "emissions.v8.GenesisState.all_inferences": + if x.AllInferences == nil { + x.AllInferences = []*TopicIdBlockHeightInferences{} + } + value := &_GenesisState_38_list{list: &x.AllInferences} + return protoreflect.ValueOfList(value) + case "emissions.v8.GenesisState.all_forecasts": + if x.AllForecasts == nil { + x.AllForecasts = []*TopicIdBlockHeightForecasts{} + } + value := &_GenesisState_39_list{list: &x.AllForecasts} + return protoreflect.ValueOfList(value) + case "emissions.v8.GenesisState.all_loss_bundles": + if x.AllLossBundles == nil { + x.AllLossBundles = []*TopicIdBlockHeightReputerValueBundles{} + } + value := &_GenesisState_40_list{list: &x.AllLossBundles} + return protoreflect.ValueOfList(value) + case "emissions.v8.GenesisState.network_loss_bundles": + if x.NetworkLossBundles == nil { + x.NetworkLossBundles = []*TopicIdBlockHeightValueBundles{} + } + value := &_GenesisState_41_list{list: &x.NetworkLossBundles} + return protoreflect.ValueOfList(value) + case "emissions.v8.GenesisState.unfulfilled_worker_nonces": + if x.UnfulfilledWorkerNonces == nil { + x.UnfulfilledWorkerNonces = []*TopicIdAndNonces{} + } + value := &_GenesisState_43_list{list: &x.UnfulfilledWorkerNonces} + return protoreflect.ValueOfList(value) + case "emissions.v8.GenesisState.unfulfilled_reputer_nonces": + if x.UnfulfilledReputerNonces == nil { + x.UnfulfilledReputerNonces = []*TopicIdAndReputerRequestNonces{} + } + value := &_GenesisState_44_list{list: &x.UnfulfilledReputerNonces} + return protoreflect.ValueOfList(value) + case "emissions.v8.GenesisState.latest_inferer_network_regrets": + if x.LatestInfererNetworkRegrets == nil { + x.LatestInfererNetworkRegrets = []*TopicIdActorIdTimeStampedValue{} + } + value := &_GenesisState_45_list{list: &x.LatestInfererNetworkRegrets} + return protoreflect.ValueOfList(value) + case "emissions.v8.GenesisState.latest_forecaster_network_regrets": + if x.LatestForecasterNetworkRegrets == nil { + x.LatestForecasterNetworkRegrets = []*TopicIdActorIdTimeStampedValue{} + } + value := &_GenesisState_46_list{list: &x.LatestForecasterNetworkRegrets} + return protoreflect.ValueOfList(value) + case "emissions.v8.GenesisState.latest_one_in_forecaster_network_regrets": + if x.LatestOneInForecasterNetworkRegrets == nil { + x.LatestOneInForecasterNetworkRegrets = []*TopicIdActorIdActorIdTimeStampedValue{} + } + value := &_GenesisState_47_list{list: &x.LatestOneInForecasterNetworkRegrets} + return protoreflect.ValueOfList(value) + case "emissions.v8.GenesisState.latest_naive_inferer_network_regrets": + if x.LatestNaiveInfererNetworkRegrets == nil { + x.LatestNaiveInfererNetworkRegrets = []*TopicIdActorIdTimeStampedValue{} + } + value := &_GenesisState_48_list{list: &x.LatestNaiveInfererNetworkRegrets} + return protoreflect.ValueOfList(value) + case "emissions.v8.GenesisState.latest_one_out_inferer_inferer_network_regrets": + if x.LatestOneOutInfererInfererNetworkRegrets == nil { + x.LatestOneOutInfererInfererNetworkRegrets = []*TopicIdActorIdActorIdTimeStampedValue{} + } + value := &_GenesisState_49_list{list: &x.LatestOneOutInfererInfererNetworkRegrets} + return protoreflect.ValueOfList(value) + case "emissions.v8.GenesisState.latest_one_out_inferer_forecaster_network_regrets": + if x.LatestOneOutInfererForecasterNetworkRegrets == nil { + x.LatestOneOutInfererForecasterNetworkRegrets = []*TopicIdActorIdActorIdTimeStampedValue{} + } + value := &_GenesisState_50_list{list: &x.LatestOneOutInfererForecasterNetworkRegrets} + return protoreflect.ValueOfList(value) + case "emissions.v8.GenesisState.latest_one_out_forecaster_inferer_network_regrets": + if x.LatestOneOutForecasterInfererNetworkRegrets == nil { + x.LatestOneOutForecasterInfererNetworkRegrets = []*TopicIdActorIdActorIdTimeStampedValue{} + } + value := &_GenesisState_51_list{list: &x.LatestOneOutForecasterInfererNetworkRegrets} + return protoreflect.ValueOfList(value) + case "emissions.v8.GenesisState.latest_one_out_forecaster_forecaster_network_regrets": + if x.LatestOneOutForecasterForecasterNetworkRegrets == nil { + x.LatestOneOutForecasterForecasterNetworkRegrets = []*TopicIdActorIdActorIdTimeStampedValue{} + } + value := &_GenesisState_52_list{list: &x.LatestOneOutForecasterForecasterNetworkRegrets} + return protoreflect.ValueOfList(value) + case "emissions.v8.GenesisState.topic_last_worker_commit": + if x.TopicLastWorkerCommit == nil { + x.TopicLastWorkerCommit = []*TopicIdTimestampedActorNonce{} + } + value := &_GenesisState_53_list{list: &x.TopicLastWorkerCommit} + return protoreflect.ValueOfList(value) + case "emissions.v8.GenesisState.topic_last_reputer_commit": + if x.TopicLastReputerCommit == nil { + x.TopicLastReputerCommit = []*TopicIdTimestampedActorNonce{} + } + value := &_GenesisState_54_list{list: &x.TopicLastReputerCommit} + return protoreflect.ValueOfList(value) + case "emissions.v8.GenesisState.open_worker_windows": + if x.OpenWorkerWindows == nil { + x.OpenWorkerWindows = []*BlockHeightAndTopicIds{} + } + value := &_GenesisState_55_list{list: &x.OpenWorkerWindows} + return protoreflect.ValueOfList(value) + case "emissions.v8.GenesisState.last_drip_block": + if x.LastDripBlock == nil { + x.LastDripBlock = []*TopicIdAndBlockHeight{} + } + value := &_GenesisState_56_list{list: &x.LastDripBlock} + return protoreflect.ValueOfList(value) + case "emissions.v8.GenesisState.topic_to_next_possible_churning_block": + if x.TopicToNextPossibleChurningBlock == nil { + x.TopicToNextPossibleChurningBlock = []*TopicIdAndBlockHeight{} + } + value := &_GenesisState_57_list{list: &x.TopicToNextPossibleChurningBlock} + return protoreflect.ValueOfList(value) + case "emissions.v8.GenesisState.block_to_active_topics": + if x.BlockToActiveTopics == nil { + x.BlockToActiveTopics = []*BlockHeightTopicIds{} + } + value := &_GenesisState_58_list{list: &x.BlockToActiveTopics} + return protoreflect.ValueOfList(value) + case "emissions.v8.GenesisState.block_to_lowest_active_topic_weight": + if x.BlockToLowestActiveTopicWeight == nil { + x.BlockToLowestActiveTopicWeight = []*BlockHeightTopicIdWeightPair{} + } + value := &_GenesisState_59_list{list: &x.BlockToLowestActiveTopicWeight} + return protoreflect.ValueOfList(value) + case "emissions.v8.GenesisState.inferer_score_emas": + if x.InfererScoreEmas == nil { + x.InfererScoreEmas = []*TopicIdActorIdScore{} + } + value := &_GenesisState_60_list{list: &x.InfererScoreEmas} + return protoreflect.ValueOfList(value) + case "emissions.v8.GenesisState.forecaster_score_emas": + if x.ForecasterScoreEmas == nil { + x.ForecasterScoreEmas = []*TopicIdActorIdScore{} + } + value := &_GenesisState_61_list{list: &x.ForecasterScoreEmas} + return protoreflect.ValueOfList(value) + case "emissions.v8.GenesisState.reputer_score_emas": + if x.ReputerScoreEmas == nil { + x.ReputerScoreEmas = []*TopicIdActorIdScore{} + } + value := &_GenesisState_62_list{list: &x.ReputerScoreEmas} + return protoreflect.ValueOfList(value) + case "emissions.v8.GenesisState.previous_topic_quantile_inferer_score_ema": + if x.PreviousTopicQuantileInfererScoreEma == nil { + x.PreviousTopicQuantileInfererScoreEma = []*TopicIdAndDec{} + } + value := &_GenesisState_63_list{list: &x.PreviousTopicQuantileInfererScoreEma} + return protoreflect.ValueOfList(value) + case "emissions.v8.GenesisState.previous_topic_quantile_forecaster_score_ema": + if x.PreviousTopicQuantileForecasterScoreEma == nil { + x.PreviousTopicQuantileForecasterScoreEma = []*TopicIdAndDec{} + } + value := &_GenesisState_64_list{list: &x.PreviousTopicQuantileForecasterScoreEma} + return protoreflect.ValueOfList(value) + case "emissions.v8.GenesisState.previous_topic_quantile_reputer_score_ema": + if x.PreviousTopicQuantileReputerScoreEma == nil { + x.PreviousTopicQuantileReputerScoreEma = []*TopicIdAndDec{} + } + value := &_GenesisState_65_list{list: &x.PreviousTopicQuantileReputerScoreEma} + return protoreflect.ValueOfList(value) + case "emissions.v8.GenesisState.count_inferer_inclusions_in_topic_active_set": + if x.CountInfererInclusionsInTopicActiveSet == nil { + x.CountInfererInclusionsInTopicActiveSet = []*TopicIdActorIdUint64{} + } + value := &_GenesisState_66_list{list: &x.CountInfererInclusionsInTopicActiveSet} + return protoreflect.ValueOfList(value) + case "emissions.v8.GenesisState.count_forecaster_inclusions_in_topic_active_set": + if x.CountForecasterInclusionsInTopicActiveSet == nil { + x.CountForecasterInclusionsInTopicActiveSet = []*TopicIdActorIdUint64{} + } + value := &_GenesisState_67_list{list: &x.CountForecasterInclusionsInTopicActiveSet} + return protoreflect.ValueOfList(value) + case "emissions.v8.GenesisState.active_inferers": + if x.ActiveInferers == nil { + x.ActiveInferers = []*TopicAndActorId{} + } + value := &_GenesisState_68_list{list: &x.ActiveInferers} + return protoreflect.ValueOfList(value) + case "emissions.v8.GenesisState.active_forecasters": + if x.ActiveForecasters == nil { + x.ActiveForecasters = []*TopicAndActorId{} + } + value := &_GenesisState_69_list{list: &x.ActiveForecasters} + return protoreflect.ValueOfList(value) + case "emissions.v8.GenesisState.lowest_inferer_score_ema": + if x.LowestInfererScoreEma == nil { + x.LowestInfererScoreEma = []*TopicIdActorIdScore{} + } + value := &_GenesisState_70_list{list: &x.LowestInfererScoreEma} + return protoreflect.ValueOfList(value) + case "emissions.v8.GenesisState.lowest_forecaster_score_ema": + if x.LowestForecasterScoreEma == nil { + x.LowestForecasterScoreEma = []*TopicIdActorIdScore{} + } + value := &_GenesisState_71_list{list: &x.LowestForecasterScoreEma} + return protoreflect.ValueOfList(value) + case "emissions.v8.GenesisState.active_reputers": + if x.ActiveReputers == nil { + x.ActiveReputers = []*TopicAndActorId{} + } + value := &_GenesisState_72_list{list: &x.ActiveReputers} + return protoreflect.ValueOfList(value) + case "emissions.v8.GenesisState.lowest_reputer_score_ema": + if x.LowestReputerScoreEma == nil { + x.LowestReputerScoreEma = []*TopicIdActorIdScore{} + } + value := &_GenesisState_73_list{list: &x.LowestReputerScoreEma} + return protoreflect.ValueOfList(value) + case "emissions.v8.GenesisState.loss_bundles": + if x.LossBundles == nil { + x.LossBundles = []*TopicIdReputerReputerValueBundle{} + } + value := &_GenesisState_74_list{list: &x.LossBundles} + return protoreflect.ValueOfList(value) + case "emissions.v8.GenesisState.whitelist_admins": + if x.WhitelistAdmins == nil { + x.WhitelistAdmins = []string{} + } + value := &_GenesisState_77_list{list: &x.WhitelistAdmins} + return protoreflect.ValueOfList(value) + case "emissions.v8.GenesisState.global_whitelist": + if x.GlobalWhitelist == nil { + x.GlobalWhitelist = []string{} + } + value := &_GenesisState_78_list{list: &x.GlobalWhitelist} + return protoreflect.ValueOfList(value) + case "emissions.v8.GenesisState.topic_creator_whitelist": + if x.TopicCreatorWhitelist == nil { + x.TopicCreatorWhitelist = []string{} + } + value := &_GenesisState_79_list{list: &x.TopicCreatorWhitelist} + return protoreflect.ValueOfList(value) + case "emissions.v8.GenesisState.topic_worker_whitelist": + if x.TopicWorkerWhitelist == nil { + x.TopicWorkerWhitelist = []*TopicAndActorId{} + } + value := &_GenesisState_80_list{list: &x.TopicWorkerWhitelist} + return protoreflect.ValueOfList(value) + case "emissions.v8.GenesisState.topic_reputer_whitelist": + if x.TopicReputerWhitelist == nil { + x.TopicReputerWhitelist = []*TopicAndActorId{} + } + value := &_GenesisState_81_list{list: &x.TopicReputerWhitelist} + return protoreflect.ValueOfList(value) + case "emissions.v8.GenesisState.topic_worker_whitelist_enabled": + if x.TopicWorkerWhitelistEnabled == nil { + x.TopicWorkerWhitelistEnabled = []uint64{} + } + value := &_GenesisState_82_list{list: &x.TopicWorkerWhitelistEnabled} + return protoreflect.ValueOfList(value) + case "emissions.v8.GenesisState.topic_reputer_whitelist_enabled": + if x.TopicReputerWhitelistEnabled == nil { + x.TopicReputerWhitelistEnabled = []uint64{} + } + value := &_GenesisState_83_list{list: &x.TopicReputerWhitelistEnabled} + return protoreflect.ValueOfList(value) + case "emissions.v8.GenesisState.last_median_inferences": + if x.LastMedianInferences == nil { + x.LastMedianInferences = []*TopicIdAndDec{} + } + value := &_GenesisState_84_list{list: &x.LastMedianInferences} + return protoreflect.ValueOfList(value) + case "emissions.v8.GenesisState.mad_inferences": + if x.MadInferences == nil { + x.MadInferences = []*TopicIdAndDec{} + } + value := &_GenesisState_85_list{list: &x.MadInferences} + return protoreflect.ValueOfList(value) + case "emissions.v8.GenesisState.initial_inferer_ema_score": + if x.InitialInfererEmaScore == nil { + x.InitialInfererEmaScore = []*TopicIdAndDec{} + } + value := &_GenesisState_86_list{list: &x.InitialInfererEmaScore} + return protoreflect.ValueOfList(value) + case "emissions.v8.GenesisState.initial_forecaster_ema_score": + if x.InitialForecasterEmaScore == nil { + x.InitialForecasterEmaScore = []*TopicIdAndDec{} + } + value := &_GenesisState_87_list{list: &x.InitialForecasterEmaScore} + return protoreflect.ValueOfList(value) + case "emissions.v8.GenesisState.initial_reputer_ema_score": + if x.InitialReputerEmaScore == nil { + x.InitialReputerEmaScore = []*TopicIdAndDec{} + } + value := &_GenesisState_88_list{list: &x.InitialReputerEmaScore} + return protoreflect.ValueOfList(value) + case "emissions.v8.GenesisState.global_worker_whitelist": + if x.GlobalWorkerWhitelist == nil { + x.GlobalWorkerWhitelist = []string{} + } + value := &_GenesisState_89_list{list: &x.GlobalWorkerWhitelist} + return protoreflect.ValueOfList(value) + case "emissions.v8.GenesisState.global_reputer_whitelist": + if x.GlobalReputerWhitelist == nil { + x.GlobalReputerWhitelist = []string{} + } + value := &_GenesisState_90_list{list: &x.GlobalReputerWhitelist} + return protoreflect.ValueOfList(value) + case "emissions.v8.GenesisState.global_admin_whitelist": + if x.GlobalAdminWhitelist == nil { + x.GlobalAdminWhitelist = []string{} + } + value := &_GenesisState_91_list{list: &x.GlobalAdminWhitelist} + return protoreflect.ValueOfList(value) + case "emissions.v8.GenesisState.latest_regret_std_norm": + if x.LatestRegretStdNorm == nil { + x.LatestRegretStdNorm = []*TopicIdAndDec{} + } + value := &_GenesisState_92_list{list: &x.LatestRegretStdNorm} + return protoreflect.ValueOfList(value) + case "emissions.v8.GenesisState.latest_inferer_weights": + if x.LatestInfererWeights == nil { + x.LatestInfererWeights = []*TopicIdActorIdDec{} + } + value := &_GenesisState_93_list{list: &x.LatestInfererWeights} + return protoreflect.ValueOfList(value) + case "emissions.v8.GenesisState.latest_forecaster_weights": + if x.LatestForecasterWeights == nil { + x.LatestForecasterWeights = []*TopicIdActorIdDec{} + } + value := &_GenesisState_94_list{list: &x.LatestForecasterWeights} + return protoreflect.ValueOfList(value) + case "emissions.v8.GenesisState.next_topic_id": + panic(fmt.Errorf("field next_topic_id of message emissions.v8.GenesisState is not mutable")) + case "emissions.v8.GenesisState.total_stake": + panic(fmt.Errorf("field total_stake of message emissions.v8.GenesisState is not mutable")) + case "emissions.v8.GenesisState.previous_percentage_reward_to_staked_reputers": + panic(fmt.Errorf("field previous_percentage_reward_to_staked_reputers of message emissions.v8.GenesisState is not mutable")) + case "emissions.v8.GenesisState.total_sum_previous_topic_weights": + panic(fmt.Errorf("field total_sum_previous_topic_weights of message emissions.v8.GenesisState is not mutable")) + case "emissions.v8.GenesisState.reward_current_block_emission": + panic(fmt.Errorf("field reward_current_block_emission of message emissions.v8.GenesisState is not mutable")) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GenesisState")) + } + panic(fmt.Errorf("message emissions.v8.GenesisState does not contain field %s", fd.FullName())) + } +} + +// NewField returns a new value that is assignable to the field +// for the given descriptor. For scalars, this returns the default value. +// For lists, maps, and messages, this returns a new, empty, mutable value. +func (x *fastReflection_GenesisState) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.GenesisState.params": + m := new(Params) + return protoreflect.ValueOfMessage(m.ProtoReflect()) + case "emissions.v8.GenesisState.core_team_addresses": + list := []string{} + return protoreflect.ValueOfList(&_GenesisState_2_list{list: &list}) + case "emissions.v8.GenesisState.next_topic_id": + return protoreflect.ValueOfUint64(uint64(0)) + case "emissions.v8.GenesisState.topics": + list := []*TopicIdAndTopic{} + return protoreflect.ValueOfList(&_GenesisState_4_list{list: &list}) + case "emissions.v8.GenesisState.active_topics": + list := []uint64{} + return protoreflect.ValueOfList(&_GenesisState_5_list{list: &list}) + case "emissions.v8.GenesisState.rewardable_topics": + list := []uint64{} + return protoreflect.ValueOfList(&_GenesisState_6_list{list: &list}) + case "emissions.v8.GenesisState.topic_workers": + list := []*TopicAndActorId{} + return protoreflect.ValueOfList(&_GenesisState_7_list{list: &list}) + case "emissions.v8.GenesisState.topic_reputers": + list := []*TopicAndActorId{} + return protoreflect.ValueOfList(&_GenesisState_8_list{list: &list}) + case "emissions.v8.GenesisState.topic_reward_nonce": + list := []*TopicIdAndBlockHeight{} + return protoreflect.ValueOfList(&_GenesisState_9_list{list: &list}) + case "emissions.v8.GenesisState.inferer_scores_by_block": + list := []*TopicIdBlockHeightScores{} + return protoreflect.ValueOfList(&_GenesisState_10_list{list: &list}) + case "emissions.v8.GenesisState.forecaster_scores_by_block": + list := []*TopicIdBlockHeightScores{} + return protoreflect.ValueOfList(&_GenesisState_11_list{list: &list}) + case "emissions.v8.GenesisState.reputer_scores_by_block": + list := []*TopicIdBlockHeightScores{} + return protoreflect.ValueOfList(&_GenesisState_12_list{list: &list}) + case "emissions.v8.GenesisState.reputer_listening_coefficient": + list := []*TopicIdActorIdListeningCoefficient{} + return protoreflect.ValueOfList(&_GenesisState_16_list{list: &list}) + case "emissions.v8.GenesisState.previous_reputer_reward_fraction": + list := []*TopicIdActorIdDec{} + return protoreflect.ValueOfList(&_GenesisState_17_list{list: &list}) + case "emissions.v8.GenesisState.previous_inference_reward_fraction": + list := []*TopicIdActorIdDec{} + return protoreflect.ValueOfList(&_GenesisState_18_list{list: &list}) + case "emissions.v8.GenesisState.previous_forecast_reward_fraction": + list := []*TopicIdActorIdDec{} + return protoreflect.ValueOfList(&_GenesisState_19_list{list: &list}) + case "emissions.v8.GenesisState.previous_forecaster_score_ratio": + list := []*TopicIdAndDec{} + return protoreflect.ValueOfList(&_GenesisState_20_list{list: &list}) + case "emissions.v8.GenesisState.total_stake": + return protoreflect.ValueOfString("") + case "emissions.v8.GenesisState.topic_stake": + list := []*TopicIdAndInt{} + return protoreflect.ValueOfList(&_GenesisState_22_list{list: &list}) + case "emissions.v8.GenesisState.stake_reputer_authority": + list := []*TopicIdActorIdInt{} + return protoreflect.ValueOfList(&_GenesisState_23_list{list: &list}) + case "emissions.v8.GenesisState.stake_sum_from_delegator": + list := []*TopicIdActorIdInt{} + return protoreflect.ValueOfList(&_GenesisState_24_list{list: &list}) + case "emissions.v8.GenesisState.delegated_stakes": + list := []*TopicIdDelegatorReputerDelegatorInfo{} + return protoreflect.ValueOfList(&_GenesisState_25_list{list: &list}) + case "emissions.v8.GenesisState.stake_from_delegators_upon_reputer": + list := []*TopicIdActorIdInt{} + return protoreflect.ValueOfList(&_GenesisState_26_list{list: &list}) + case "emissions.v8.GenesisState.delegate_reward_per_share": + list := []*TopicIdActorIdDec{} + return protoreflect.ValueOfList(&_GenesisState_27_list{list: &list}) + case "emissions.v8.GenesisState.stake_removals_by_block": + list := []*BlockHeightTopicIdReputerStakeRemovalInfo{} + return protoreflect.ValueOfList(&_GenesisState_28_list{list: &list}) + case "emissions.v8.GenesisState.stake_removals_by_actor": + list := []*ActorIdTopicIdBlockHeight{} + return protoreflect.ValueOfList(&_GenesisState_29_list{list: &list}) + case "emissions.v8.GenesisState.delegate_stake_removals_by_block": + list := []*BlockHeightTopicIdDelegatorReputerDelegateStakeRemovalInfo{} + return protoreflect.ValueOfList(&_GenesisState_30_list{list: &list}) + case "emissions.v8.GenesisState.delegate_stake_removals_by_actor": + list := []*DelegatorReputerTopicIdBlockHeight{} + return protoreflect.ValueOfList(&_GenesisState_31_list{list: &list}) + case "emissions.v8.GenesisState.inferences": + list := []*TopicIdActorIdInference{} + return protoreflect.ValueOfList(&_GenesisState_32_list{list: &list}) + case "emissions.v8.GenesisState.forecasts": + list := []*TopicIdActorIdForecast{} + return protoreflect.ValueOfList(&_GenesisState_33_list{list: &list}) + case "emissions.v8.GenesisState.workers": + list := []*LibP2PKeyAndOffchainNode{} + return protoreflect.ValueOfList(&_GenesisState_34_list{list: &list}) + case "emissions.v8.GenesisState.reputers": + list := []*LibP2PKeyAndOffchainNode{} + return protoreflect.ValueOfList(&_GenesisState_35_list{list: &list}) + case "emissions.v8.GenesisState.topic_fee_revenue": + list := []*TopicIdAndInt{} + return protoreflect.ValueOfList(&_GenesisState_36_list{list: &list}) + case "emissions.v8.GenesisState.previous_topic_weight": + list := []*TopicIdAndDec{} + return protoreflect.ValueOfList(&_GenesisState_37_list{list: &list}) + case "emissions.v8.GenesisState.all_inferences": + list := []*TopicIdBlockHeightInferences{} + return protoreflect.ValueOfList(&_GenesisState_38_list{list: &list}) + case "emissions.v8.GenesisState.all_forecasts": + list := []*TopicIdBlockHeightForecasts{} + return protoreflect.ValueOfList(&_GenesisState_39_list{list: &list}) + case "emissions.v8.GenesisState.all_loss_bundles": + list := []*TopicIdBlockHeightReputerValueBundles{} + return protoreflect.ValueOfList(&_GenesisState_40_list{list: &list}) + case "emissions.v8.GenesisState.network_loss_bundles": + list := []*TopicIdBlockHeightValueBundles{} + return protoreflect.ValueOfList(&_GenesisState_41_list{list: &list}) + case "emissions.v8.GenesisState.previous_percentage_reward_to_staked_reputers": + return protoreflect.ValueOfString("") + case "emissions.v8.GenesisState.unfulfilled_worker_nonces": + list := []*TopicIdAndNonces{} + return protoreflect.ValueOfList(&_GenesisState_43_list{list: &list}) + case "emissions.v8.GenesisState.unfulfilled_reputer_nonces": + list := []*TopicIdAndReputerRequestNonces{} + return protoreflect.ValueOfList(&_GenesisState_44_list{list: &list}) + case "emissions.v8.GenesisState.latest_inferer_network_regrets": + list := []*TopicIdActorIdTimeStampedValue{} + return protoreflect.ValueOfList(&_GenesisState_45_list{list: &list}) + case "emissions.v8.GenesisState.latest_forecaster_network_regrets": + list := []*TopicIdActorIdTimeStampedValue{} + return protoreflect.ValueOfList(&_GenesisState_46_list{list: &list}) + case "emissions.v8.GenesisState.latest_one_in_forecaster_network_regrets": + list := []*TopicIdActorIdActorIdTimeStampedValue{} + return protoreflect.ValueOfList(&_GenesisState_47_list{list: &list}) + case "emissions.v8.GenesisState.latest_naive_inferer_network_regrets": + list := []*TopicIdActorIdTimeStampedValue{} + return protoreflect.ValueOfList(&_GenesisState_48_list{list: &list}) + case "emissions.v8.GenesisState.latest_one_out_inferer_inferer_network_regrets": + list := []*TopicIdActorIdActorIdTimeStampedValue{} + return protoreflect.ValueOfList(&_GenesisState_49_list{list: &list}) + case "emissions.v8.GenesisState.latest_one_out_inferer_forecaster_network_regrets": + list := []*TopicIdActorIdActorIdTimeStampedValue{} + return protoreflect.ValueOfList(&_GenesisState_50_list{list: &list}) + case "emissions.v8.GenesisState.latest_one_out_forecaster_inferer_network_regrets": + list := []*TopicIdActorIdActorIdTimeStampedValue{} + return protoreflect.ValueOfList(&_GenesisState_51_list{list: &list}) + case "emissions.v8.GenesisState.latest_one_out_forecaster_forecaster_network_regrets": + list := []*TopicIdActorIdActorIdTimeStampedValue{} + return protoreflect.ValueOfList(&_GenesisState_52_list{list: &list}) + case "emissions.v8.GenesisState.topic_last_worker_commit": + list := []*TopicIdTimestampedActorNonce{} + return protoreflect.ValueOfList(&_GenesisState_53_list{list: &list}) + case "emissions.v8.GenesisState.topic_last_reputer_commit": + list := []*TopicIdTimestampedActorNonce{} + return protoreflect.ValueOfList(&_GenesisState_54_list{list: &list}) + case "emissions.v8.GenesisState.open_worker_windows": + list := []*BlockHeightAndTopicIds{} + return protoreflect.ValueOfList(&_GenesisState_55_list{list: &list}) + case "emissions.v8.GenesisState.last_drip_block": + list := []*TopicIdAndBlockHeight{} + return protoreflect.ValueOfList(&_GenesisState_56_list{list: &list}) + case "emissions.v8.GenesisState.topic_to_next_possible_churning_block": + list := []*TopicIdAndBlockHeight{} + return protoreflect.ValueOfList(&_GenesisState_57_list{list: &list}) + case "emissions.v8.GenesisState.block_to_active_topics": + list := []*BlockHeightTopicIds{} + return protoreflect.ValueOfList(&_GenesisState_58_list{list: &list}) + case "emissions.v8.GenesisState.block_to_lowest_active_topic_weight": + list := []*BlockHeightTopicIdWeightPair{} + return protoreflect.ValueOfList(&_GenesisState_59_list{list: &list}) + case "emissions.v8.GenesisState.inferer_score_emas": + list := []*TopicIdActorIdScore{} + return protoreflect.ValueOfList(&_GenesisState_60_list{list: &list}) + case "emissions.v8.GenesisState.forecaster_score_emas": + list := []*TopicIdActorIdScore{} + return protoreflect.ValueOfList(&_GenesisState_61_list{list: &list}) + case "emissions.v8.GenesisState.reputer_score_emas": + list := []*TopicIdActorIdScore{} + return protoreflect.ValueOfList(&_GenesisState_62_list{list: &list}) + case "emissions.v8.GenesisState.previous_topic_quantile_inferer_score_ema": + list := []*TopicIdAndDec{} + return protoreflect.ValueOfList(&_GenesisState_63_list{list: &list}) + case "emissions.v8.GenesisState.previous_topic_quantile_forecaster_score_ema": + list := []*TopicIdAndDec{} + return protoreflect.ValueOfList(&_GenesisState_64_list{list: &list}) + case "emissions.v8.GenesisState.previous_topic_quantile_reputer_score_ema": + list := []*TopicIdAndDec{} + return protoreflect.ValueOfList(&_GenesisState_65_list{list: &list}) + case "emissions.v8.GenesisState.count_inferer_inclusions_in_topic_active_set": + list := []*TopicIdActorIdUint64{} + return protoreflect.ValueOfList(&_GenesisState_66_list{list: &list}) + case "emissions.v8.GenesisState.count_forecaster_inclusions_in_topic_active_set": + list := []*TopicIdActorIdUint64{} + return protoreflect.ValueOfList(&_GenesisState_67_list{list: &list}) + case "emissions.v8.GenesisState.active_inferers": + list := []*TopicAndActorId{} + return protoreflect.ValueOfList(&_GenesisState_68_list{list: &list}) + case "emissions.v8.GenesisState.active_forecasters": + list := []*TopicAndActorId{} + return protoreflect.ValueOfList(&_GenesisState_69_list{list: &list}) + case "emissions.v8.GenesisState.lowest_inferer_score_ema": + list := []*TopicIdActorIdScore{} + return protoreflect.ValueOfList(&_GenesisState_70_list{list: &list}) + case "emissions.v8.GenesisState.lowest_forecaster_score_ema": + list := []*TopicIdActorIdScore{} + return protoreflect.ValueOfList(&_GenesisState_71_list{list: &list}) + case "emissions.v8.GenesisState.active_reputers": + list := []*TopicAndActorId{} + return protoreflect.ValueOfList(&_GenesisState_72_list{list: &list}) + case "emissions.v8.GenesisState.lowest_reputer_score_ema": + list := []*TopicIdActorIdScore{} + return protoreflect.ValueOfList(&_GenesisState_73_list{list: &list}) + case "emissions.v8.GenesisState.loss_bundles": + list := []*TopicIdReputerReputerValueBundle{} + return protoreflect.ValueOfList(&_GenesisState_74_list{list: &list}) + case "emissions.v8.GenesisState.total_sum_previous_topic_weights": + return protoreflect.ValueOfString("") + case "emissions.v8.GenesisState.reward_current_block_emission": + return protoreflect.ValueOfString("") + case "emissions.v8.GenesisState.whitelist_admins": + list := []string{} + return protoreflect.ValueOfList(&_GenesisState_77_list{list: &list}) + case "emissions.v8.GenesisState.global_whitelist": + list := []string{} + return protoreflect.ValueOfList(&_GenesisState_78_list{list: &list}) + case "emissions.v8.GenesisState.topic_creator_whitelist": + list := []string{} + return protoreflect.ValueOfList(&_GenesisState_79_list{list: &list}) + case "emissions.v8.GenesisState.topic_worker_whitelist": + list := []*TopicAndActorId{} + return protoreflect.ValueOfList(&_GenesisState_80_list{list: &list}) + case "emissions.v8.GenesisState.topic_reputer_whitelist": + list := []*TopicAndActorId{} + return protoreflect.ValueOfList(&_GenesisState_81_list{list: &list}) + case "emissions.v8.GenesisState.topic_worker_whitelist_enabled": + list := []uint64{} + return protoreflect.ValueOfList(&_GenesisState_82_list{list: &list}) + case "emissions.v8.GenesisState.topic_reputer_whitelist_enabled": + list := []uint64{} + return protoreflect.ValueOfList(&_GenesisState_83_list{list: &list}) + case "emissions.v8.GenesisState.last_median_inferences": + list := []*TopicIdAndDec{} + return protoreflect.ValueOfList(&_GenesisState_84_list{list: &list}) + case "emissions.v8.GenesisState.mad_inferences": + list := []*TopicIdAndDec{} + return protoreflect.ValueOfList(&_GenesisState_85_list{list: &list}) + case "emissions.v8.GenesisState.initial_inferer_ema_score": + list := []*TopicIdAndDec{} + return protoreflect.ValueOfList(&_GenesisState_86_list{list: &list}) + case "emissions.v8.GenesisState.initial_forecaster_ema_score": + list := []*TopicIdAndDec{} + return protoreflect.ValueOfList(&_GenesisState_87_list{list: &list}) + case "emissions.v8.GenesisState.initial_reputer_ema_score": + list := []*TopicIdAndDec{} + return protoreflect.ValueOfList(&_GenesisState_88_list{list: &list}) + case "emissions.v8.GenesisState.global_worker_whitelist": + list := []string{} + return protoreflect.ValueOfList(&_GenesisState_89_list{list: &list}) + case "emissions.v8.GenesisState.global_reputer_whitelist": + list := []string{} + return protoreflect.ValueOfList(&_GenesisState_90_list{list: &list}) + case "emissions.v8.GenesisState.global_admin_whitelist": + list := []string{} + return protoreflect.ValueOfList(&_GenesisState_91_list{list: &list}) + case "emissions.v8.GenesisState.latest_regret_std_norm": + list := []*TopicIdAndDec{} + return protoreflect.ValueOfList(&_GenesisState_92_list{list: &list}) + case "emissions.v8.GenesisState.latest_inferer_weights": + list := []*TopicIdActorIdDec{} + return protoreflect.ValueOfList(&_GenesisState_93_list{list: &list}) + case "emissions.v8.GenesisState.latest_forecaster_weights": + list := []*TopicIdActorIdDec{} + return protoreflect.ValueOfList(&_GenesisState_94_list{list: &list}) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GenesisState")) + } + panic(fmt.Errorf("message emissions.v8.GenesisState does not contain field %s", fd.FullName())) + } +} + +// WhichOneof reports which field within the oneof is populated, +// returning nil if none are populated. +// It panics if the oneof descriptor does not belong to this message. +func (x *fastReflection_GenesisState) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { + switch d.FullName() { + default: + panic(fmt.Errorf("%s is not a oneof field in emissions.v8.GenesisState", d.FullName())) + } + panic("unreachable") +} + +// GetUnknown retrieves the entire list of unknown fields. +// The caller may only mutate the contents of the RawFields +// if the mutated bytes are stored back into the message with SetUnknown. +func (x *fastReflection_GenesisState) GetUnknown() protoreflect.RawFields { + return x.unknownFields +} + +// SetUnknown stores an entire list of unknown fields. +// The raw fields must be syntactically valid according to the wire format. +// An implementation may panic if this is not the case. +// Once stored, the caller must not mutate the content of the RawFields. +// An empty RawFields may be passed to clear the fields. +// +// SetUnknown is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GenesisState) SetUnknown(fields protoreflect.RawFields) { + x.unknownFields = fields +} + +// IsValid reports whether the message is valid. +// +// An invalid message is an empty, read-only value. +// +// An invalid message often corresponds to a nil pointer of the concrete +// message type, but the details are implementation dependent. +// Validity is not part of the protobuf data model, and may not +// be preserved in marshaling or other operations. +func (x *fastReflection_GenesisState) IsValid() bool { + return x != nil +} + +// ProtoMethods returns optional fastReflectionFeature-path implementations of various operations. +// This method may return nil. +// +// The returned methods type is identical to +// "google.golang.org/protobuf/runtime/protoiface".Methods. +// Consult the protoiface package documentation for details. +func (x *fastReflection_GenesisState) ProtoMethods() *protoiface.Methods { + size := func(input protoiface.SizeInput) protoiface.SizeOutput { + x := input.Message.Interface().(*GenesisState) + if x == nil { + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: 0, + } + } + options := runtime.SizeInputToOptions(input) + _ = options + var n int + var l int + _ = l + if x.Params != nil { + l = options.Size(x.Params) + n += 1 + l + runtime.Sov(uint64(l)) + } + if len(x.CoreTeamAddresses) > 0 { + for _, s := range x.CoreTeamAddresses { + l = len(s) + n += 1 + l + runtime.Sov(uint64(l)) + } + } + if x.NextTopicId != 0 { + n += 1 + runtime.Sov(uint64(x.NextTopicId)) + } + if len(x.Topics) > 0 { + for _, e := range x.Topics { + l = options.Size(e) + n += 1 + l + runtime.Sov(uint64(l)) + } + } + if len(x.ActiveTopics) > 0 { + l = 0 + for _, e := range x.ActiveTopics { + l += runtime.Sov(uint64(e)) + } + n += 1 + runtime.Sov(uint64(l)) + l + } + if len(x.RewardableTopics) > 0 { + l = 0 + for _, e := range x.RewardableTopics { + l += runtime.Sov(uint64(e)) + } + n += 1 + runtime.Sov(uint64(l)) + l + } + if len(x.TopicWorkers) > 0 { + for _, e := range x.TopicWorkers { + l = options.Size(e) + n += 1 + l + runtime.Sov(uint64(l)) + } + } + if len(x.TopicReputers) > 0 { + for _, e := range x.TopicReputers { + l = options.Size(e) + n += 1 + l + runtime.Sov(uint64(l)) + } + } + if len(x.TopicRewardNonce) > 0 { + for _, e := range x.TopicRewardNonce { + l = options.Size(e) + n += 1 + l + runtime.Sov(uint64(l)) + } + } + if len(x.InfererScoresByBlock) > 0 { + for _, e := range x.InfererScoresByBlock { + l = options.Size(e) + n += 1 + l + runtime.Sov(uint64(l)) + } + } + if len(x.ForecasterScoresByBlock) > 0 { + for _, e := range x.ForecasterScoresByBlock { + l = options.Size(e) + n += 1 + l + runtime.Sov(uint64(l)) + } + } + if len(x.ReputerScoresByBlock) > 0 { + for _, e := range x.ReputerScoresByBlock { + l = options.Size(e) + n += 1 + l + runtime.Sov(uint64(l)) + } + } + if len(x.ReputerListeningCoefficient) > 0 { + for _, e := range x.ReputerListeningCoefficient { + l = options.Size(e) + n += 2 + l + runtime.Sov(uint64(l)) + } + } + if len(x.PreviousReputerRewardFraction) > 0 { + for _, e := range x.PreviousReputerRewardFraction { + l = options.Size(e) + n += 2 + l + runtime.Sov(uint64(l)) + } + } + if len(x.PreviousInferenceRewardFraction) > 0 { + for _, e := range x.PreviousInferenceRewardFraction { + l = options.Size(e) + n += 2 + l + runtime.Sov(uint64(l)) + } + } + if len(x.PreviousForecastRewardFraction) > 0 { + for _, e := range x.PreviousForecastRewardFraction { + l = options.Size(e) + n += 2 + l + runtime.Sov(uint64(l)) + } + } + if len(x.PreviousForecasterScoreRatio) > 0 { + for _, e := range x.PreviousForecasterScoreRatio { + l = options.Size(e) + n += 2 + l + runtime.Sov(uint64(l)) + } + } + l = len(x.TotalStake) + if l > 0 { + n += 2 + l + runtime.Sov(uint64(l)) + } + if len(x.TopicStake) > 0 { + for _, e := range x.TopicStake { + l = options.Size(e) + n += 2 + l + runtime.Sov(uint64(l)) + } + } + if len(x.StakeReputerAuthority) > 0 { + for _, e := range x.StakeReputerAuthority { + l = options.Size(e) + n += 2 + l + runtime.Sov(uint64(l)) + } + } + if len(x.StakeSumFromDelegator) > 0 { + for _, e := range x.StakeSumFromDelegator { + l = options.Size(e) + n += 2 + l + runtime.Sov(uint64(l)) + } + } + if len(x.DelegatedStakes) > 0 { + for _, e := range x.DelegatedStakes { + l = options.Size(e) + n += 2 + l + runtime.Sov(uint64(l)) + } + } + if len(x.StakeFromDelegatorsUponReputer) > 0 { + for _, e := range x.StakeFromDelegatorsUponReputer { + l = options.Size(e) + n += 2 + l + runtime.Sov(uint64(l)) + } + } + if len(x.DelegateRewardPerShare) > 0 { + for _, e := range x.DelegateRewardPerShare { + l = options.Size(e) + n += 2 + l + runtime.Sov(uint64(l)) + } + } + if len(x.StakeRemovalsByBlock) > 0 { + for _, e := range x.StakeRemovalsByBlock { + l = options.Size(e) + n += 2 + l + runtime.Sov(uint64(l)) + } + } + if len(x.StakeRemovalsByActor) > 0 { + for _, e := range x.StakeRemovalsByActor { + l = options.Size(e) + n += 2 + l + runtime.Sov(uint64(l)) + } + } + if len(x.DelegateStakeRemovalsByBlock) > 0 { + for _, e := range x.DelegateStakeRemovalsByBlock { + l = options.Size(e) + n += 2 + l + runtime.Sov(uint64(l)) + } + } + if len(x.DelegateStakeRemovalsByActor) > 0 { + for _, e := range x.DelegateStakeRemovalsByActor { + l = options.Size(e) + n += 2 + l + runtime.Sov(uint64(l)) + } + } + if len(x.Inferences) > 0 { + for _, e := range x.Inferences { + l = options.Size(e) + n += 2 + l + runtime.Sov(uint64(l)) + } + } + if len(x.Forecasts) > 0 { + for _, e := range x.Forecasts { + l = options.Size(e) + n += 2 + l + runtime.Sov(uint64(l)) + } + } + if len(x.Workers) > 0 { + for _, e := range x.Workers { + l = options.Size(e) + n += 2 + l + runtime.Sov(uint64(l)) + } + } + if len(x.Reputers) > 0 { + for _, e := range x.Reputers { + l = options.Size(e) + n += 2 + l + runtime.Sov(uint64(l)) + } + } + if len(x.TopicFeeRevenue) > 0 { + for _, e := range x.TopicFeeRevenue { + l = options.Size(e) + n += 2 + l + runtime.Sov(uint64(l)) + } + } + if len(x.PreviousTopicWeight) > 0 { + for _, e := range x.PreviousTopicWeight { + l = options.Size(e) + n += 2 + l + runtime.Sov(uint64(l)) + } + } + if len(x.AllInferences) > 0 { + for _, e := range x.AllInferences { + l = options.Size(e) + n += 2 + l + runtime.Sov(uint64(l)) + } + } + if len(x.AllForecasts) > 0 { + for _, e := range x.AllForecasts { + l = options.Size(e) + n += 2 + l + runtime.Sov(uint64(l)) + } + } + if len(x.AllLossBundles) > 0 { + for _, e := range x.AllLossBundles { + l = options.Size(e) + n += 2 + l + runtime.Sov(uint64(l)) + } + } + if len(x.NetworkLossBundles) > 0 { + for _, e := range x.NetworkLossBundles { + l = options.Size(e) + n += 2 + l + runtime.Sov(uint64(l)) + } + } + l = len(x.PreviousPercentageRewardToStakedReputers) + if l > 0 { + n += 2 + l + runtime.Sov(uint64(l)) + } + if len(x.UnfulfilledWorkerNonces) > 0 { + for _, e := range x.UnfulfilledWorkerNonces { + l = options.Size(e) + n += 2 + l + runtime.Sov(uint64(l)) + } + } + if len(x.UnfulfilledReputerNonces) > 0 { + for _, e := range x.UnfulfilledReputerNonces { + l = options.Size(e) + n += 2 + l + runtime.Sov(uint64(l)) + } + } + if len(x.LatestInfererNetworkRegrets) > 0 { + for _, e := range x.LatestInfererNetworkRegrets { + l = options.Size(e) + n += 2 + l + runtime.Sov(uint64(l)) + } + } + if len(x.LatestForecasterNetworkRegrets) > 0 { + for _, e := range x.LatestForecasterNetworkRegrets { + l = options.Size(e) + n += 2 + l + runtime.Sov(uint64(l)) + } + } + if len(x.LatestOneInForecasterNetworkRegrets) > 0 { + for _, e := range x.LatestOneInForecasterNetworkRegrets { + l = options.Size(e) + n += 2 + l + runtime.Sov(uint64(l)) + } + } + if len(x.LatestNaiveInfererNetworkRegrets) > 0 { + for _, e := range x.LatestNaiveInfererNetworkRegrets { + l = options.Size(e) + n += 2 + l + runtime.Sov(uint64(l)) + } + } + if len(x.LatestOneOutInfererInfererNetworkRegrets) > 0 { + for _, e := range x.LatestOneOutInfererInfererNetworkRegrets { + l = options.Size(e) + n += 2 + l + runtime.Sov(uint64(l)) + } + } + if len(x.LatestOneOutInfererForecasterNetworkRegrets) > 0 { + for _, e := range x.LatestOneOutInfererForecasterNetworkRegrets { + l = options.Size(e) + n += 2 + l + runtime.Sov(uint64(l)) + } + } + if len(x.LatestOneOutForecasterInfererNetworkRegrets) > 0 { + for _, e := range x.LatestOneOutForecasterInfererNetworkRegrets { + l = options.Size(e) + n += 2 + l + runtime.Sov(uint64(l)) + } + } + if len(x.LatestOneOutForecasterForecasterNetworkRegrets) > 0 { + for _, e := range x.LatestOneOutForecasterForecasterNetworkRegrets { + l = options.Size(e) + n += 2 + l + runtime.Sov(uint64(l)) + } + } + if len(x.TopicLastWorkerCommit) > 0 { + for _, e := range x.TopicLastWorkerCommit { + l = options.Size(e) + n += 2 + l + runtime.Sov(uint64(l)) + } + } + if len(x.TopicLastReputerCommit) > 0 { + for _, e := range x.TopicLastReputerCommit { + l = options.Size(e) + n += 2 + l + runtime.Sov(uint64(l)) + } + } + if len(x.OpenWorkerWindows) > 0 { + for _, e := range x.OpenWorkerWindows { + l = options.Size(e) + n += 2 + l + runtime.Sov(uint64(l)) + } + } + if len(x.LastDripBlock) > 0 { + for _, e := range x.LastDripBlock { + l = options.Size(e) + n += 2 + l + runtime.Sov(uint64(l)) + } + } + if len(x.TopicToNextPossibleChurningBlock) > 0 { + for _, e := range x.TopicToNextPossibleChurningBlock { + l = options.Size(e) + n += 2 + l + runtime.Sov(uint64(l)) + } + } + if len(x.BlockToActiveTopics) > 0 { + for _, e := range x.BlockToActiveTopics { + l = options.Size(e) + n += 2 + l + runtime.Sov(uint64(l)) + } + } + if len(x.BlockToLowestActiveTopicWeight) > 0 { + for _, e := range x.BlockToLowestActiveTopicWeight { + l = options.Size(e) + n += 2 + l + runtime.Sov(uint64(l)) + } + } + if len(x.InfererScoreEmas) > 0 { + for _, e := range x.InfererScoreEmas { + l = options.Size(e) + n += 2 + l + runtime.Sov(uint64(l)) + } + } + if len(x.ForecasterScoreEmas) > 0 { + for _, e := range x.ForecasterScoreEmas { + l = options.Size(e) + n += 2 + l + runtime.Sov(uint64(l)) + } + } + if len(x.ReputerScoreEmas) > 0 { + for _, e := range x.ReputerScoreEmas { + l = options.Size(e) + n += 2 + l + runtime.Sov(uint64(l)) + } + } + if len(x.PreviousTopicQuantileInfererScoreEma) > 0 { + for _, e := range x.PreviousTopicQuantileInfererScoreEma { + l = options.Size(e) + n += 2 + l + runtime.Sov(uint64(l)) + } + } + if len(x.PreviousTopicQuantileForecasterScoreEma) > 0 { + for _, e := range x.PreviousTopicQuantileForecasterScoreEma { + l = options.Size(e) + n += 2 + l + runtime.Sov(uint64(l)) + } + } + if len(x.PreviousTopicQuantileReputerScoreEma) > 0 { + for _, e := range x.PreviousTopicQuantileReputerScoreEma { + l = options.Size(e) + n += 2 + l + runtime.Sov(uint64(l)) + } + } + if len(x.CountInfererInclusionsInTopicActiveSet) > 0 { + for _, e := range x.CountInfererInclusionsInTopicActiveSet { + l = options.Size(e) + n += 2 + l + runtime.Sov(uint64(l)) + } + } + if len(x.CountForecasterInclusionsInTopicActiveSet) > 0 { + for _, e := range x.CountForecasterInclusionsInTopicActiveSet { + l = options.Size(e) + n += 2 + l + runtime.Sov(uint64(l)) + } + } + if len(x.ActiveInferers) > 0 { + for _, e := range x.ActiveInferers { + l = options.Size(e) + n += 2 + l + runtime.Sov(uint64(l)) + } + } + if len(x.ActiveForecasters) > 0 { + for _, e := range x.ActiveForecasters { + l = options.Size(e) + n += 2 + l + runtime.Sov(uint64(l)) + } + } + if len(x.LowestInfererScoreEma) > 0 { + for _, e := range x.LowestInfererScoreEma { + l = options.Size(e) + n += 2 + l + runtime.Sov(uint64(l)) + } + } + if len(x.LowestForecasterScoreEma) > 0 { + for _, e := range x.LowestForecasterScoreEma { + l = options.Size(e) + n += 2 + l + runtime.Sov(uint64(l)) + } + } + if len(x.ActiveReputers) > 0 { + for _, e := range x.ActiveReputers { + l = options.Size(e) + n += 2 + l + runtime.Sov(uint64(l)) + } + } + if len(x.LowestReputerScoreEma) > 0 { + for _, e := range x.LowestReputerScoreEma { + l = options.Size(e) + n += 2 + l + runtime.Sov(uint64(l)) + } + } + if len(x.LossBundles) > 0 { + for _, e := range x.LossBundles { + l = options.Size(e) + n += 2 + l + runtime.Sov(uint64(l)) + } + } + l = len(x.TotalSumPreviousTopicWeights) + if l > 0 { + n += 2 + l + runtime.Sov(uint64(l)) + } + l = len(x.RewardCurrentBlockEmission) + if l > 0 { + n += 2 + l + runtime.Sov(uint64(l)) + } + if len(x.WhitelistAdmins) > 0 { + for _, s := range x.WhitelistAdmins { + l = len(s) + n += 2 + l + runtime.Sov(uint64(l)) + } + } + if len(x.GlobalWhitelist) > 0 { + for _, s := range x.GlobalWhitelist { + l = len(s) + n += 2 + l + runtime.Sov(uint64(l)) + } + } + if len(x.TopicCreatorWhitelist) > 0 { + for _, s := range x.TopicCreatorWhitelist { + l = len(s) + n += 2 + l + runtime.Sov(uint64(l)) + } + } + if len(x.TopicWorkerWhitelist) > 0 { + for _, e := range x.TopicWorkerWhitelist { + l = options.Size(e) + n += 2 + l + runtime.Sov(uint64(l)) + } + } + if len(x.TopicReputerWhitelist) > 0 { + for _, e := range x.TopicReputerWhitelist { + l = options.Size(e) + n += 2 + l + runtime.Sov(uint64(l)) + } + } + if len(x.TopicWorkerWhitelistEnabled) > 0 { + l = 0 + for _, e := range x.TopicWorkerWhitelistEnabled { + l += runtime.Sov(uint64(e)) + } + n += 2 + runtime.Sov(uint64(l)) + l + } + if len(x.TopicReputerWhitelistEnabled) > 0 { + l = 0 + for _, e := range x.TopicReputerWhitelistEnabled { + l += runtime.Sov(uint64(e)) + } + n += 2 + runtime.Sov(uint64(l)) + l + } + if len(x.LastMedianInferences) > 0 { + for _, e := range x.LastMedianInferences { + l = options.Size(e) + n += 2 + l + runtime.Sov(uint64(l)) + } + } + if len(x.MadInferences) > 0 { + for _, e := range x.MadInferences { + l = options.Size(e) + n += 2 + l + runtime.Sov(uint64(l)) + } + } + if len(x.InitialInfererEmaScore) > 0 { + for _, e := range x.InitialInfererEmaScore { + l = options.Size(e) + n += 2 + l + runtime.Sov(uint64(l)) + } + } + if len(x.InitialForecasterEmaScore) > 0 { + for _, e := range x.InitialForecasterEmaScore { + l = options.Size(e) + n += 2 + l + runtime.Sov(uint64(l)) + } + } + if len(x.InitialReputerEmaScore) > 0 { + for _, e := range x.InitialReputerEmaScore { + l = options.Size(e) + n += 2 + l + runtime.Sov(uint64(l)) + } + } + if len(x.GlobalWorkerWhitelist) > 0 { + for _, s := range x.GlobalWorkerWhitelist { + l = len(s) + n += 2 + l + runtime.Sov(uint64(l)) + } + } + if len(x.GlobalReputerWhitelist) > 0 { + for _, s := range x.GlobalReputerWhitelist { + l = len(s) + n += 2 + l + runtime.Sov(uint64(l)) + } + } + if len(x.GlobalAdminWhitelist) > 0 { + for _, s := range x.GlobalAdminWhitelist { + l = len(s) + n += 2 + l + runtime.Sov(uint64(l)) + } + } + if len(x.LatestRegretStdNorm) > 0 { + for _, e := range x.LatestRegretStdNorm { + l = options.Size(e) + n += 2 + l + runtime.Sov(uint64(l)) + } + } + if len(x.LatestInfererWeights) > 0 { + for _, e := range x.LatestInfererWeights { + l = options.Size(e) + n += 2 + l + runtime.Sov(uint64(l)) + } + } + if len(x.LatestForecasterWeights) > 0 { + for _, e := range x.LatestForecasterWeights { + l = options.Size(e) + n += 2 + l + runtime.Sov(uint64(l)) + } + } + if x.unknownFields != nil { + n += len(x.unknownFields) + } + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: n, + } + } + + marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { + x := input.Message.Interface().(*GenesisState) + if x == nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + options := runtime.MarshalInputToOptions(input) + _ = options + size := options.Size(x) + dAtA := make([]byte, size) + i := len(dAtA) + _ = i + var l int + _ = l + if x.unknownFields != nil { + i -= len(x.unknownFields) + copy(dAtA[i:], x.unknownFields) + } + if len(x.LatestForecasterWeights) > 0 { + for iNdEx := len(x.LatestForecasterWeights) - 1; iNdEx >= 0; iNdEx-- { + encoded, err := options.Marshal(x.LatestForecasterWeights[iNdEx]) + if err != nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = runtime.EncodeVarint(dAtA, i, uint64(len(encoded))) + i-- + dAtA[i] = 0x5 + i-- + dAtA[i] = 0xf2 + } + } + if len(x.LatestInfererWeights) > 0 { + for iNdEx := len(x.LatestInfererWeights) - 1; iNdEx >= 0; iNdEx-- { + encoded, err := options.Marshal(x.LatestInfererWeights[iNdEx]) + if err != nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = runtime.EncodeVarint(dAtA, i, uint64(len(encoded))) + i-- + dAtA[i] = 0x5 + i-- + dAtA[i] = 0xea + } + } + if len(x.LatestRegretStdNorm) > 0 { + for iNdEx := len(x.LatestRegretStdNorm) - 1; iNdEx >= 0; iNdEx-- { + encoded, err := options.Marshal(x.LatestRegretStdNorm[iNdEx]) + if err != nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = runtime.EncodeVarint(dAtA, i, uint64(len(encoded))) + i-- + dAtA[i] = 0x5 + i-- + dAtA[i] = 0xe2 + } + } + if len(x.GlobalAdminWhitelist) > 0 { + for iNdEx := len(x.GlobalAdminWhitelist) - 1; iNdEx >= 0; iNdEx-- { + i -= len(x.GlobalAdminWhitelist[iNdEx]) + copy(dAtA[i:], x.GlobalAdminWhitelist[iNdEx]) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.GlobalAdminWhitelist[iNdEx]))) + i-- + dAtA[i] = 0x5 + i-- + dAtA[i] = 0xda + } + } + if len(x.GlobalReputerWhitelist) > 0 { + for iNdEx := len(x.GlobalReputerWhitelist) - 1; iNdEx >= 0; iNdEx-- { + i -= len(x.GlobalReputerWhitelist[iNdEx]) + copy(dAtA[i:], x.GlobalReputerWhitelist[iNdEx]) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.GlobalReputerWhitelist[iNdEx]))) + i-- + dAtA[i] = 0x5 + i-- + dAtA[i] = 0xd2 + } + } + if len(x.GlobalWorkerWhitelist) > 0 { + for iNdEx := len(x.GlobalWorkerWhitelist) - 1; iNdEx >= 0; iNdEx-- { + i -= len(x.GlobalWorkerWhitelist[iNdEx]) + copy(dAtA[i:], x.GlobalWorkerWhitelist[iNdEx]) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.GlobalWorkerWhitelist[iNdEx]))) + i-- + dAtA[i] = 0x5 + i-- + dAtA[i] = 0xca + } + } + if len(x.InitialReputerEmaScore) > 0 { + for iNdEx := len(x.InitialReputerEmaScore) - 1; iNdEx >= 0; iNdEx-- { + encoded, err := options.Marshal(x.InitialReputerEmaScore[iNdEx]) + if err != nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = runtime.EncodeVarint(dAtA, i, uint64(len(encoded))) + i-- + dAtA[i] = 0x5 + i-- + dAtA[i] = 0xc2 + } + } + if len(x.InitialForecasterEmaScore) > 0 { + for iNdEx := len(x.InitialForecasterEmaScore) - 1; iNdEx >= 0; iNdEx-- { + encoded, err := options.Marshal(x.InitialForecasterEmaScore[iNdEx]) + if err != nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = runtime.EncodeVarint(dAtA, i, uint64(len(encoded))) + i-- + dAtA[i] = 0x5 + i-- + dAtA[i] = 0xba + } + } + if len(x.InitialInfererEmaScore) > 0 { + for iNdEx := len(x.InitialInfererEmaScore) - 1; iNdEx >= 0; iNdEx-- { + encoded, err := options.Marshal(x.InitialInfererEmaScore[iNdEx]) + if err != nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = runtime.EncodeVarint(dAtA, i, uint64(len(encoded))) + i-- + dAtA[i] = 0x5 + i-- + dAtA[i] = 0xb2 + } + } + if len(x.MadInferences) > 0 { + for iNdEx := len(x.MadInferences) - 1; iNdEx >= 0; iNdEx-- { + encoded, err := options.Marshal(x.MadInferences[iNdEx]) + if err != nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = runtime.EncodeVarint(dAtA, i, uint64(len(encoded))) + i-- + dAtA[i] = 0x5 + i-- + dAtA[i] = 0xaa + } + } + if len(x.LastMedianInferences) > 0 { + for iNdEx := len(x.LastMedianInferences) - 1; iNdEx >= 0; iNdEx-- { + encoded, err := options.Marshal(x.LastMedianInferences[iNdEx]) + if err != nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = runtime.EncodeVarint(dAtA, i, uint64(len(encoded))) + i-- + dAtA[i] = 0x5 + i-- + dAtA[i] = 0xa2 + } + } + if len(x.TopicReputerWhitelistEnabled) > 0 { + var pksize2 int + for _, num := range x.TopicReputerWhitelistEnabled { + pksize2 += runtime.Sov(uint64(num)) + } + i -= pksize2 + j1 := i + for _, num := range x.TopicReputerWhitelistEnabled { + for num >= 1<<7 { + dAtA[j1] = uint8(uint64(num)&0x7f | 0x80) + num >>= 7 + j1++ + } + dAtA[j1] = uint8(num) + j1++ + } + i = runtime.EncodeVarint(dAtA, i, uint64(pksize2)) + i-- + dAtA[i] = 0x5 + i-- + dAtA[i] = 0x9a + } + if len(x.TopicWorkerWhitelistEnabled) > 0 { + var pksize4 int + for _, num := range x.TopicWorkerWhitelistEnabled { + pksize4 += runtime.Sov(uint64(num)) + } + i -= pksize4 + j3 := i + for _, num := range x.TopicWorkerWhitelistEnabled { + for num >= 1<<7 { + dAtA[j3] = uint8(uint64(num)&0x7f | 0x80) + num >>= 7 + j3++ + } + dAtA[j3] = uint8(num) + j3++ + } + i = runtime.EncodeVarint(dAtA, i, uint64(pksize4)) + i-- + dAtA[i] = 0x5 + i-- + dAtA[i] = 0x92 + } + if len(x.TopicReputerWhitelist) > 0 { + for iNdEx := len(x.TopicReputerWhitelist) - 1; iNdEx >= 0; iNdEx-- { + encoded, err := options.Marshal(x.TopicReputerWhitelist[iNdEx]) + if err != nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = runtime.EncodeVarint(dAtA, i, uint64(len(encoded))) + i-- + dAtA[i] = 0x5 + i-- + dAtA[i] = 0x8a + } + } + if len(x.TopicWorkerWhitelist) > 0 { + for iNdEx := len(x.TopicWorkerWhitelist) - 1; iNdEx >= 0; iNdEx-- { + encoded, err := options.Marshal(x.TopicWorkerWhitelist[iNdEx]) + if err != nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = runtime.EncodeVarint(dAtA, i, uint64(len(encoded))) + i-- + dAtA[i] = 0x5 + i-- + dAtA[i] = 0x82 + } + } + if len(x.TopicCreatorWhitelist) > 0 { + for iNdEx := len(x.TopicCreatorWhitelist) - 1; iNdEx >= 0; iNdEx-- { + i -= len(x.TopicCreatorWhitelist[iNdEx]) + copy(dAtA[i:], x.TopicCreatorWhitelist[iNdEx]) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.TopicCreatorWhitelist[iNdEx]))) + i-- + dAtA[i] = 0x4 + i-- + dAtA[i] = 0xfa + } + } + if len(x.GlobalWhitelist) > 0 { + for iNdEx := len(x.GlobalWhitelist) - 1; iNdEx >= 0; iNdEx-- { + i -= len(x.GlobalWhitelist[iNdEx]) + copy(dAtA[i:], x.GlobalWhitelist[iNdEx]) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.GlobalWhitelist[iNdEx]))) + i-- + dAtA[i] = 0x4 + i-- + dAtA[i] = 0xf2 + } + } + if len(x.WhitelistAdmins) > 0 { + for iNdEx := len(x.WhitelistAdmins) - 1; iNdEx >= 0; iNdEx-- { + i -= len(x.WhitelistAdmins[iNdEx]) + copy(dAtA[i:], x.WhitelistAdmins[iNdEx]) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.WhitelistAdmins[iNdEx]))) + i-- + dAtA[i] = 0x4 + i-- + dAtA[i] = 0xea + } + } + if len(x.RewardCurrentBlockEmission) > 0 { + i -= len(x.RewardCurrentBlockEmission) + copy(dAtA[i:], x.RewardCurrentBlockEmission) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.RewardCurrentBlockEmission))) + i-- + dAtA[i] = 0x4 + i-- + dAtA[i] = 0xe2 + } + if len(x.TotalSumPreviousTopicWeights) > 0 { + i -= len(x.TotalSumPreviousTopicWeights) + copy(dAtA[i:], x.TotalSumPreviousTopicWeights) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.TotalSumPreviousTopicWeights))) + i-- + dAtA[i] = 0x4 + i-- + dAtA[i] = 0xda + } + if len(x.LossBundles) > 0 { + for iNdEx := len(x.LossBundles) - 1; iNdEx >= 0; iNdEx-- { + encoded, err := options.Marshal(x.LossBundles[iNdEx]) + if err != nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = runtime.EncodeVarint(dAtA, i, uint64(len(encoded))) + i-- + dAtA[i] = 0x4 + i-- + dAtA[i] = 0xd2 + } + } + if len(x.LowestReputerScoreEma) > 0 { + for iNdEx := len(x.LowestReputerScoreEma) - 1; iNdEx >= 0; iNdEx-- { + encoded, err := options.Marshal(x.LowestReputerScoreEma[iNdEx]) + if err != nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = runtime.EncodeVarint(dAtA, i, uint64(len(encoded))) + i-- + dAtA[i] = 0x4 + i-- + dAtA[i] = 0xca + } + } + if len(x.ActiveReputers) > 0 { + for iNdEx := len(x.ActiveReputers) - 1; iNdEx >= 0; iNdEx-- { + encoded, err := options.Marshal(x.ActiveReputers[iNdEx]) + if err != nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = runtime.EncodeVarint(dAtA, i, uint64(len(encoded))) + i-- + dAtA[i] = 0x4 + i-- + dAtA[i] = 0xc2 + } + } + if len(x.LowestForecasterScoreEma) > 0 { + for iNdEx := len(x.LowestForecasterScoreEma) - 1; iNdEx >= 0; iNdEx-- { + encoded, err := options.Marshal(x.LowestForecasterScoreEma[iNdEx]) + if err != nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = runtime.EncodeVarint(dAtA, i, uint64(len(encoded))) + i-- + dAtA[i] = 0x4 + i-- + dAtA[i] = 0xba + } + } + if len(x.LowestInfererScoreEma) > 0 { + for iNdEx := len(x.LowestInfererScoreEma) - 1; iNdEx >= 0; iNdEx-- { + encoded, err := options.Marshal(x.LowestInfererScoreEma[iNdEx]) + if err != nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = runtime.EncodeVarint(dAtA, i, uint64(len(encoded))) + i-- + dAtA[i] = 0x4 + i-- + dAtA[i] = 0xb2 + } + } + if len(x.ActiveForecasters) > 0 { + for iNdEx := len(x.ActiveForecasters) - 1; iNdEx >= 0; iNdEx-- { + encoded, err := options.Marshal(x.ActiveForecasters[iNdEx]) + if err != nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = runtime.EncodeVarint(dAtA, i, uint64(len(encoded))) + i-- + dAtA[i] = 0x4 + i-- + dAtA[i] = 0xaa + } + } + if len(x.ActiveInferers) > 0 { + for iNdEx := len(x.ActiveInferers) - 1; iNdEx >= 0; iNdEx-- { + encoded, err := options.Marshal(x.ActiveInferers[iNdEx]) + if err != nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = runtime.EncodeVarint(dAtA, i, uint64(len(encoded))) + i-- + dAtA[i] = 0x4 + i-- + dAtA[i] = 0xa2 + } + } + if len(x.CountForecasterInclusionsInTopicActiveSet) > 0 { + for iNdEx := len(x.CountForecasterInclusionsInTopicActiveSet) - 1; iNdEx >= 0; iNdEx-- { + encoded, err := options.Marshal(x.CountForecasterInclusionsInTopicActiveSet[iNdEx]) + if err != nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = runtime.EncodeVarint(dAtA, i, uint64(len(encoded))) + i-- + dAtA[i] = 0x4 + i-- + dAtA[i] = 0x9a + } + } + if len(x.CountInfererInclusionsInTopicActiveSet) > 0 { + for iNdEx := len(x.CountInfererInclusionsInTopicActiveSet) - 1; iNdEx >= 0; iNdEx-- { + encoded, err := options.Marshal(x.CountInfererInclusionsInTopicActiveSet[iNdEx]) + if err != nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = runtime.EncodeVarint(dAtA, i, uint64(len(encoded))) + i-- + dAtA[i] = 0x4 + i-- + dAtA[i] = 0x92 + } + } + if len(x.PreviousTopicQuantileReputerScoreEma) > 0 { + for iNdEx := len(x.PreviousTopicQuantileReputerScoreEma) - 1; iNdEx >= 0; iNdEx-- { + encoded, err := options.Marshal(x.PreviousTopicQuantileReputerScoreEma[iNdEx]) + if err != nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = runtime.EncodeVarint(dAtA, i, uint64(len(encoded))) + i-- + dAtA[i] = 0x4 + i-- + dAtA[i] = 0x8a + } + } + if len(x.PreviousTopicQuantileForecasterScoreEma) > 0 { + for iNdEx := len(x.PreviousTopicQuantileForecasterScoreEma) - 1; iNdEx >= 0; iNdEx-- { + encoded, err := options.Marshal(x.PreviousTopicQuantileForecasterScoreEma[iNdEx]) + if err != nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = runtime.EncodeVarint(dAtA, i, uint64(len(encoded))) + i-- + dAtA[i] = 0x4 + i-- + dAtA[i] = 0x82 + } + } + if len(x.PreviousTopicQuantileInfererScoreEma) > 0 { + for iNdEx := len(x.PreviousTopicQuantileInfererScoreEma) - 1; iNdEx >= 0; iNdEx-- { + encoded, err := options.Marshal(x.PreviousTopicQuantileInfererScoreEma[iNdEx]) + if err != nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = runtime.EncodeVarint(dAtA, i, uint64(len(encoded))) + i-- + dAtA[i] = 0x3 + i-- + dAtA[i] = 0xfa + } + } + if len(x.ReputerScoreEmas) > 0 { + for iNdEx := len(x.ReputerScoreEmas) - 1; iNdEx >= 0; iNdEx-- { + encoded, err := options.Marshal(x.ReputerScoreEmas[iNdEx]) + if err != nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = runtime.EncodeVarint(dAtA, i, uint64(len(encoded))) + i-- + dAtA[i] = 0x3 + i-- + dAtA[i] = 0xf2 + } + } + if len(x.ForecasterScoreEmas) > 0 { + for iNdEx := len(x.ForecasterScoreEmas) - 1; iNdEx >= 0; iNdEx-- { + encoded, err := options.Marshal(x.ForecasterScoreEmas[iNdEx]) + if err != nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = runtime.EncodeVarint(dAtA, i, uint64(len(encoded))) + i-- + dAtA[i] = 0x3 + i-- + dAtA[i] = 0xea + } + } + if len(x.InfererScoreEmas) > 0 { + for iNdEx := len(x.InfererScoreEmas) - 1; iNdEx >= 0; iNdEx-- { + encoded, err := options.Marshal(x.InfererScoreEmas[iNdEx]) + if err != nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = runtime.EncodeVarint(dAtA, i, uint64(len(encoded))) + i-- + dAtA[i] = 0x3 + i-- + dAtA[i] = 0xe2 + } + } + if len(x.BlockToLowestActiveTopicWeight) > 0 { + for iNdEx := len(x.BlockToLowestActiveTopicWeight) - 1; iNdEx >= 0; iNdEx-- { + encoded, err := options.Marshal(x.BlockToLowestActiveTopicWeight[iNdEx]) + if err != nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = runtime.EncodeVarint(dAtA, i, uint64(len(encoded))) + i-- + dAtA[i] = 0x3 + i-- + dAtA[i] = 0xda + } + } + if len(x.BlockToActiveTopics) > 0 { + for iNdEx := len(x.BlockToActiveTopics) - 1; iNdEx >= 0; iNdEx-- { + encoded, err := options.Marshal(x.BlockToActiveTopics[iNdEx]) + if err != nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = runtime.EncodeVarint(dAtA, i, uint64(len(encoded))) + i-- + dAtA[i] = 0x3 + i-- + dAtA[i] = 0xd2 + } + } + if len(x.TopicToNextPossibleChurningBlock) > 0 { + for iNdEx := len(x.TopicToNextPossibleChurningBlock) - 1; iNdEx >= 0; iNdEx-- { + encoded, err := options.Marshal(x.TopicToNextPossibleChurningBlock[iNdEx]) + if err != nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = runtime.EncodeVarint(dAtA, i, uint64(len(encoded))) + i-- + dAtA[i] = 0x3 + i-- + dAtA[i] = 0xca + } + } + if len(x.LastDripBlock) > 0 { + for iNdEx := len(x.LastDripBlock) - 1; iNdEx >= 0; iNdEx-- { + encoded, err := options.Marshal(x.LastDripBlock[iNdEx]) + if err != nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = runtime.EncodeVarint(dAtA, i, uint64(len(encoded))) + i-- + dAtA[i] = 0x3 + i-- + dAtA[i] = 0xc2 + } + } + if len(x.OpenWorkerWindows) > 0 { + for iNdEx := len(x.OpenWorkerWindows) - 1; iNdEx >= 0; iNdEx-- { + encoded, err := options.Marshal(x.OpenWorkerWindows[iNdEx]) + if err != nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = runtime.EncodeVarint(dAtA, i, uint64(len(encoded))) + i-- + dAtA[i] = 0x3 + i-- + dAtA[i] = 0xba + } + } + if len(x.TopicLastReputerCommit) > 0 { + for iNdEx := len(x.TopicLastReputerCommit) - 1; iNdEx >= 0; iNdEx-- { + encoded, err := options.Marshal(x.TopicLastReputerCommit[iNdEx]) + if err != nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = runtime.EncodeVarint(dAtA, i, uint64(len(encoded))) + i-- + dAtA[i] = 0x3 + i-- + dAtA[i] = 0xb2 + } + } + if len(x.TopicLastWorkerCommit) > 0 { + for iNdEx := len(x.TopicLastWorkerCommit) - 1; iNdEx >= 0; iNdEx-- { + encoded, err := options.Marshal(x.TopicLastWorkerCommit[iNdEx]) + if err != nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = runtime.EncodeVarint(dAtA, i, uint64(len(encoded))) + i-- + dAtA[i] = 0x3 + i-- + dAtA[i] = 0xaa + } + } + if len(x.LatestOneOutForecasterForecasterNetworkRegrets) > 0 { + for iNdEx := len(x.LatestOneOutForecasterForecasterNetworkRegrets) - 1; iNdEx >= 0; iNdEx-- { + encoded, err := options.Marshal(x.LatestOneOutForecasterForecasterNetworkRegrets[iNdEx]) + if err != nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = runtime.EncodeVarint(dAtA, i, uint64(len(encoded))) + i-- + dAtA[i] = 0x3 + i-- + dAtA[i] = 0xa2 + } + } + if len(x.LatestOneOutForecasterInfererNetworkRegrets) > 0 { + for iNdEx := len(x.LatestOneOutForecasterInfererNetworkRegrets) - 1; iNdEx >= 0; iNdEx-- { + encoded, err := options.Marshal(x.LatestOneOutForecasterInfererNetworkRegrets[iNdEx]) + if err != nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = runtime.EncodeVarint(dAtA, i, uint64(len(encoded))) + i-- + dAtA[i] = 0x3 + i-- + dAtA[i] = 0x9a + } + } + if len(x.LatestOneOutInfererForecasterNetworkRegrets) > 0 { + for iNdEx := len(x.LatestOneOutInfererForecasterNetworkRegrets) - 1; iNdEx >= 0; iNdEx-- { + encoded, err := options.Marshal(x.LatestOneOutInfererForecasterNetworkRegrets[iNdEx]) + if err != nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = runtime.EncodeVarint(dAtA, i, uint64(len(encoded))) + i-- + dAtA[i] = 0x3 + i-- + dAtA[i] = 0x92 + } + } + if len(x.LatestOneOutInfererInfererNetworkRegrets) > 0 { + for iNdEx := len(x.LatestOneOutInfererInfererNetworkRegrets) - 1; iNdEx >= 0; iNdEx-- { + encoded, err := options.Marshal(x.LatestOneOutInfererInfererNetworkRegrets[iNdEx]) + if err != nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = runtime.EncodeVarint(dAtA, i, uint64(len(encoded))) + i-- + dAtA[i] = 0x3 + i-- + dAtA[i] = 0x8a + } + } + if len(x.LatestNaiveInfererNetworkRegrets) > 0 { + for iNdEx := len(x.LatestNaiveInfererNetworkRegrets) - 1; iNdEx >= 0; iNdEx-- { + encoded, err := options.Marshal(x.LatestNaiveInfererNetworkRegrets[iNdEx]) + if err != nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = runtime.EncodeVarint(dAtA, i, uint64(len(encoded))) + i-- + dAtA[i] = 0x3 + i-- + dAtA[i] = 0x82 + } + } + if len(x.LatestOneInForecasterNetworkRegrets) > 0 { + for iNdEx := len(x.LatestOneInForecasterNetworkRegrets) - 1; iNdEx >= 0; iNdEx-- { + encoded, err := options.Marshal(x.LatestOneInForecasterNetworkRegrets[iNdEx]) + if err != nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = runtime.EncodeVarint(dAtA, i, uint64(len(encoded))) + i-- + dAtA[i] = 0x2 + i-- + dAtA[i] = 0xfa + } + } + if len(x.LatestForecasterNetworkRegrets) > 0 { + for iNdEx := len(x.LatestForecasterNetworkRegrets) - 1; iNdEx >= 0; iNdEx-- { + encoded, err := options.Marshal(x.LatestForecasterNetworkRegrets[iNdEx]) + if err != nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = runtime.EncodeVarint(dAtA, i, uint64(len(encoded))) + i-- + dAtA[i] = 0x2 + i-- + dAtA[i] = 0xf2 + } + } + if len(x.LatestInfererNetworkRegrets) > 0 { + for iNdEx := len(x.LatestInfererNetworkRegrets) - 1; iNdEx >= 0; iNdEx-- { + encoded, err := options.Marshal(x.LatestInfererNetworkRegrets[iNdEx]) + if err != nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = runtime.EncodeVarint(dAtA, i, uint64(len(encoded))) + i-- + dAtA[i] = 0x2 + i-- + dAtA[i] = 0xea + } + } + if len(x.UnfulfilledReputerNonces) > 0 { + for iNdEx := len(x.UnfulfilledReputerNonces) - 1; iNdEx >= 0; iNdEx-- { + encoded, err := options.Marshal(x.UnfulfilledReputerNonces[iNdEx]) + if err != nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = runtime.EncodeVarint(dAtA, i, uint64(len(encoded))) + i-- + dAtA[i] = 0x2 + i-- + dAtA[i] = 0xe2 + } + } + if len(x.UnfulfilledWorkerNonces) > 0 { + for iNdEx := len(x.UnfulfilledWorkerNonces) - 1; iNdEx >= 0; iNdEx-- { + encoded, err := options.Marshal(x.UnfulfilledWorkerNonces[iNdEx]) + if err != nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = runtime.EncodeVarint(dAtA, i, uint64(len(encoded))) + i-- + dAtA[i] = 0x2 + i-- + dAtA[i] = 0xda + } + } + if len(x.PreviousPercentageRewardToStakedReputers) > 0 { + i -= len(x.PreviousPercentageRewardToStakedReputers) + copy(dAtA[i:], x.PreviousPercentageRewardToStakedReputers) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.PreviousPercentageRewardToStakedReputers))) + i-- + dAtA[i] = 0x2 + i-- + dAtA[i] = 0xd2 + } + if len(x.NetworkLossBundles) > 0 { + for iNdEx := len(x.NetworkLossBundles) - 1; iNdEx >= 0; iNdEx-- { + encoded, err := options.Marshal(x.NetworkLossBundles[iNdEx]) + if err != nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = runtime.EncodeVarint(dAtA, i, uint64(len(encoded))) + i-- + dAtA[i] = 0x2 + i-- + dAtA[i] = 0xca + } + } + if len(x.AllLossBundles) > 0 { + for iNdEx := len(x.AllLossBundles) - 1; iNdEx >= 0; iNdEx-- { + encoded, err := options.Marshal(x.AllLossBundles[iNdEx]) + if err != nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = runtime.EncodeVarint(dAtA, i, uint64(len(encoded))) + i-- + dAtA[i] = 0x2 + i-- + dAtA[i] = 0xc2 + } + } + if len(x.AllForecasts) > 0 { + for iNdEx := len(x.AllForecasts) - 1; iNdEx >= 0; iNdEx-- { + encoded, err := options.Marshal(x.AllForecasts[iNdEx]) + if err != nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = runtime.EncodeVarint(dAtA, i, uint64(len(encoded))) + i-- + dAtA[i] = 0x2 + i-- + dAtA[i] = 0xba + } + } + if len(x.AllInferences) > 0 { + for iNdEx := len(x.AllInferences) - 1; iNdEx >= 0; iNdEx-- { + encoded, err := options.Marshal(x.AllInferences[iNdEx]) + if err != nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = runtime.EncodeVarint(dAtA, i, uint64(len(encoded))) + i-- + dAtA[i] = 0x2 + i-- + dAtA[i] = 0xb2 + } + } + if len(x.PreviousTopicWeight) > 0 { + for iNdEx := len(x.PreviousTopicWeight) - 1; iNdEx >= 0; iNdEx-- { + encoded, err := options.Marshal(x.PreviousTopicWeight[iNdEx]) + if err != nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = runtime.EncodeVarint(dAtA, i, uint64(len(encoded))) + i-- + dAtA[i] = 0x2 + i-- + dAtA[i] = 0xaa + } + } + if len(x.TopicFeeRevenue) > 0 { + for iNdEx := len(x.TopicFeeRevenue) - 1; iNdEx >= 0; iNdEx-- { + encoded, err := options.Marshal(x.TopicFeeRevenue[iNdEx]) + if err != nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = runtime.EncodeVarint(dAtA, i, uint64(len(encoded))) + i-- + dAtA[i] = 0x2 + i-- + dAtA[i] = 0xa2 + } + } + if len(x.Reputers) > 0 { + for iNdEx := len(x.Reputers) - 1; iNdEx >= 0; iNdEx-- { + encoded, err := options.Marshal(x.Reputers[iNdEx]) + if err != nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = runtime.EncodeVarint(dAtA, i, uint64(len(encoded))) + i-- + dAtA[i] = 0x2 + i-- + dAtA[i] = 0x9a + } + } + if len(x.Workers) > 0 { + for iNdEx := len(x.Workers) - 1; iNdEx >= 0; iNdEx-- { + encoded, err := options.Marshal(x.Workers[iNdEx]) + if err != nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = runtime.EncodeVarint(dAtA, i, uint64(len(encoded))) + i-- + dAtA[i] = 0x2 + i-- + dAtA[i] = 0x92 + } + } + if len(x.Forecasts) > 0 { + for iNdEx := len(x.Forecasts) - 1; iNdEx >= 0; iNdEx-- { + encoded, err := options.Marshal(x.Forecasts[iNdEx]) + if err != nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = runtime.EncodeVarint(dAtA, i, uint64(len(encoded))) + i-- + dAtA[i] = 0x2 + i-- + dAtA[i] = 0x8a + } + } + if len(x.Inferences) > 0 { + for iNdEx := len(x.Inferences) - 1; iNdEx >= 0; iNdEx-- { + encoded, err := options.Marshal(x.Inferences[iNdEx]) + if err != nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = runtime.EncodeVarint(dAtA, i, uint64(len(encoded))) + i-- + dAtA[i] = 0x2 + i-- + dAtA[i] = 0x82 + } + } + if len(x.DelegateStakeRemovalsByActor) > 0 { + for iNdEx := len(x.DelegateStakeRemovalsByActor) - 1; iNdEx >= 0; iNdEx-- { + encoded, err := options.Marshal(x.DelegateStakeRemovalsByActor[iNdEx]) + if err != nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = runtime.EncodeVarint(dAtA, i, uint64(len(encoded))) + i-- + dAtA[i] = 0x1 + i-- + dAtA[i] = 0xfa + } + } + if len(x.DelegateStakeRemovalsByBlock) > 0 { + for iNdEx := len(x.DelegateStakeRemovalsByBlock) - 1; iNdEx >= 0; iNdEx-- { + encoded, err := options.Marshal(x.DelegateStakeRemovalsByBlock[iNdEx]) + if err != nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = runtime.EncodeVarint(dAtA, i, uint64(len(encoded))) + i-- + dAtA[i] = 0x1 + i-- + dAtA[i] = 0xf2 + } + } + if len(x.StakeRemovalsByActor) > 0 { + for iNdEx := len(x.StakeRemovalsByActor) - 1; iNdEx >= 0; iNdEx-- { + encoded, err := options.Marshal(x.StakeRemovalsByActor[iNdEx]) + if err != nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = runtime.EncodeVarint(dAtA, i, uint64(len(encoded))) + i-- + dAtA[i] = 0x1 + i-- + dAtA[i] = 0xea + } + } + if len(x.StakeRemovalsByBlock) > 0 { + for iNdEx := len(x.StakeRemovalsByBlock) - 1; iNdEx >= 0; iNdEx-- { + encoded, err := options.Marshal(x.StakeRemovalsByBlock[iNdEx]) + if err != nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = runtime.EncodeVarint(dAtA, i, uint64(len(encoded))) + i-- + dAtA[i] = 0x1 + i-- + dAtA[i] = 0xe2 + } + } + if len(x.DelegateRewardPerShare) > 0 { + for iNdEx := len(x.DelegateRewardPerShare) - 1; iNdEx >= 0; iNdEx-- { + encoded, err := options.Marshal(x.DelegateRewardPerShare[iNdEx]) + if err != nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = runtime.EncodeVarint(dAtA, i, uint64(len(encoded))) + i-- + dAtA[i] = 0x1 + i-- + dAtA[i] = 0xda + } + } + if len(x.StakeFromDelegatorsUponReputer) > 0 { + for iNdEx := len(x.StakeFromDelegatorsUponReputer) - 1; iNdEx >= 0; iNdEx-- { + encoded, err := options.Marshal(x.StakeFromDelegatorsUponReputer[iNdEx]) + if err != nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = runtime.EncodeVarint(dAtA, i, uint64(len(encoded))) + i-- + dAtA[i] = 0x1 + i-- + dAtA[i] = 0xd2 + } + } + if len(x.DelegatedStakes) > 0 { + for iNdEx := len(x.DelegatedStakes) - 1; iNdEx >= 0; iNdEx-- { + encoded, err := options.Marshal(x.DelegatedStakes[iNdEx]) + if err != nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = runtime.EncodeVarint(dAtA, i, uint64(len(encoded))) + i-- + dAtA[i] = 0x1 + i-- + dAtA[i] = 0xca + } + } + if len(x.StakeSumFromDelegator) > 0 { + for iNdEx := len(x.StakeSumFromDelegator) - 1; iNdEx >= 0; iNdEx-- { + encoded, err := options.Marshal(x.StakeSumFromDelegator[iNdEx]) + if err != nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = runtime.EncodeVarint(dAtA, i, uint64(len(encoded))) + i-- + dAtA[i] = 0x1 + i-- + dAtA[i] = 0xc2 + } + } + if len(x.StakeReputerAuthority) > 0 { + for iNdEx := len(x.StakeReputerAuthority) - 1; iNdEx >= 0; iNdEx-- { + encoded, err := options.Marshal(x.StakeReputerAuthority[iNdEx]) + if err != nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = runtime.EncodeVarint(dAtA, i, uint64(len(encoded))) + i-- + dAtA[i] = 0x1 + i-- + dAtA[i] = 0xba + } + } + if len(x.TopicStake) > 0 { + for iNdEx := len(x.TopicStake) - 1; iNdEx >= 0; iNdEx-- { + encoded, err := options.Marshal(x.TopicStake[iNdEx]) + if err != nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = runtime.EncodeVarint(dAtA, i, uint64(len(encoded))) + i-- + dAtA[i] = 0x1 + i-- + dAtA[i] = 0xb2 + } + } + if len(x.TotalStake) > 0 { + i -= len(x.TotalStake) + copy(dAtA[i:], x.TotalStake) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.TotalStake))) + i-- + dAtA[i] = 0x1 + i-- + dAtA[i] = 0xaa + } + if len(x.PreviousForecasterScoreRatio) > 0 { + for iNdEx := len(x.PreviousForecasterScoreRatio) - 1; iNdEx >= 0; iNdEx-- { + encoded, err := options.Marshal(x.PreviousForecasterScoreRatio[iNdEx]) + if err != nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = runtime.EncodeVarint(dAtA, i, uint64(len(encoded))) + i-- + dAtA[i] = 0x1 + i-- + dAtA[i] = 0xa2 + } + } + if len(x.PreviousForecastRewardFraction) > 0 { + for iNdEx := len(x.PreviousForecastRewardFraction) - 1; iNdEx >= 0; iNdEx-- { + encoded, err := options.Marshal(x.PreviousForecastRewardFraction[iNdEx]) + if err != nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = runtime.EncodeVarint(dAtA, i, uint64(len(encoded))) + i-- + dAtA[i] = 0x1 + i-- + dAtA[i] = 0x9a + } + } + if len(x.PreviousInferenceRewardFraction) > 0 { + for iNdEx := len(x.PreviousInferenceRewardFraction) - 1; iNdEx >= 0; iNdEx-- { + encoded, err := options.Marshal(x.PreviousInferenceRewardFraction[iNdEx]) + if err != nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = runtime.EncodeVarint(dAtA, i, uint64(len(encoded))) + i-- + dAtA[i] = 0x1 + i-- + dAtA[i] = 0x92 + } + } + if len(x.PreviousReputerRewardFraction) > 0 { + for iNdEx := len(x.PreviousReputerRewardFraction) - 1; iNdEx >= 0; iNdEx-- { + encoded, err := options.Marshal(x.PreviousReputerRewardFraction[iNdEx]) + if err != nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = runtime.EncodeVarint(dAtA, i, uint64(len(encoded))) + i-- + dAtA[i] = 0x1 + i-- + dAtA[i] = 0x8a + } + } + if len(x.ReputerListeningCoefficient) > 0 { + for iNdEx := len(x.ReputerListeningCoefficient) - 1; iNdEx >= 0; iNdEx-- { + encoded, err := options.Marshal(x.ReputerListeningCoefficient[iNdEx]) + if err != nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = runtime.EncodeVarint(dAtA, i, uint64(len(encoded))) + i-- + dAtA[i] = 0x1 + i-- + dAtA[i] = 0x82 + } + } + if len(x.ReputerScoresByBlock) > 0 { + for iNdEx := len(x.ReputerScoresByBlock) - 1; iNdEx >= 0; iNdEx-- { + encoded, err := options.Marshal(x.ReputerScoresByBlock[iNdEx]) + if err != nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = runtime.EncodeVarint(dAtA, i, uint64(len(encoded))) + i-- + dAtA[i] = 0x62 + } + } + if len(x.ForecasterScoresByBlock) > 0 { + for iNdEx := len(x.ForecasterScoresByBlock) - 1; iNdEx >= 0; iNdEx-- { + encoded, err := options.Marshal(x.ForecasterScoresByBlock[iNdEx]) + if err != nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = runtime.EncodeVarint(dAtA, i, uint64(len(encoded))) + i-- + dAtA[i] = 0x5a + } + } + if len(x.InfererScoresByBlock) > 0 { + for iNdEx := len(x.InfererScoresByBlock) - 1; iNdEx >= 0; iNdEx-- { + encoded, err := options.Marshal(x.InfererScoresByBlock[iNdEx]) + if err != nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = runtime.EncodeVarint(dAtA, i, uint64(len(encoded))) + i-- + dAtA[i] = 0x52 + } + } + if len(x.TopicRewardNonce) > 0 { + for iNdEx := len(x.TopicRewardNonce) - 1; iNdEx >= 0; iNdEx-- { + encoded, err := options.Marshal(x.TopicRewardNonce[iNdEx]) + if err != nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = runtime.EncodeVarint(dAtA, i, uint64(len(encoded))) + i-- + dAtA[i] = 0x4a + } + } + if len(x.TopicReputers) > 0 { + for iNdEx := len(x.TopicReputers) - 1; iNdEx >= 0; iNdEx-- { + encoded, err := options.Marshal(x.TopicReputers[iNdEx]) + if err != nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = runtime.EncodeVarint(dAtA, i, uint64(len(encoded))) + i-- + dAtA[i] = 0x42 + } + } + if len(x.TopicWorkers) > 0 { + for iNdEx := len(x.TopicWorkers) - 1; iNdEx >= 0; iNdEx-- { + encoded, err := options.Marshal(x.TopicWorkers[iNdEx]) + if err != nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = runtime.EncodeVarint(dAtA, i, uint64(len(encoded))) + i-- + dAtA[i] = 0x3a + } + } + if len(x.RewardableTopics) > 0 { + var pksize6 int + for _, num := range x.RewardableTopics { + pksize6 += runtime.Sov(uint64(num)) + } + i -= pksize6 + j5 := i + for _, num := range x.RewardableTopics { + for num >= 1<<7 { + dAtA[j5] = uint8(uint64(num)&0x7f | 0x80) + num >>= 7 + j5++ + } + dAtA[j5] = uint8(num) + j5++ + } + i = runtime.EncodeVarint(dAtA, i, uint64(pksize6)) + i-- + dAtA[i] = 0x32 + } + if len(x.ActiveTopics) > 0 { + var pksize8 int + for _, num := range x.ActiveTopics { + pksize8 += runtime.Sov(uint64(num)) + } + i -= pksize8 + j7 := i + for _, num := range x.ActiveTopics { + for num >= 1<<7 { + dAtA[j7] = uint8(uint64(num)&0x7f | 0x80) + num >>= 7 + j7++ + } + dAtA[j7] = uint8(num) + j7++ + } + i = runtime.EncodeVarint(dAtA, i, uint64(pksize8)) + i-- + dAtA[i] = 0x2a + } + if len(x.Topics) > 0 { + for iNdEx := len(x.Topics) - 1; iNdEx >= 0; iNdEx-- { + encoded, err := options.Marshal(x.Topics[iNdEx]) + if err != nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = runtime.EncodeVarint(dAtA, i, uint64(len(encoded))) + i-- + dAtA[i] = 0x22 + } + } + if x.NextTopicId != 0 { + i = runtime.EncodeVarint(dAtA, i, uint64(x.NextTopicId)) + i-- + dAtA[i] = 0x18 + } + if len(x.CoreTeamAddresses) > 0 { + for iNdEx := len(x.CoreTeamAddresses) - 1; iNdEx >= 0; iNdEx-- { + i -= len(x.CoreTeamAddresses[iNdEx]) + copy(dAtA[i:], x.CoreTeamAddresses[iNdEx]) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.CoreTeamAddresses[iNdEx]))) + i-- + dAtA[i] = 0x12 + } + } + if x.Params != nil { + encoded, err := options.Marshal(x.Params) + if err != nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = runtime.EncodeVarint(dAtA, i, uint64(len(encoded))) + i-- + dAtA[i] = 0xa + } + if input.Buf != nil { + input.Buf = append(input.Buf, dAtA...) + } else { + input.Buf = dAtA + } + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { + x := input.Message.Interface().(*GenesisState) + if x == nil { + return protoiface.UnmarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Flags: input.Flags, + }, nil + } + options := runtime.UnmarshalInputToOptions(input) + _ = options + dAtA := input.Buf + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: GenesisState: wiretype end group for non-group") + } + if fieldNum <= 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: GenesisState: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Params", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + if x.Params == nil { + x.Params = &Params{} + } + if err := options.Unmarshal(dAtA[iNdEx:postIndex], x.Params); err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + iNdEx = postIndex + case 2: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field CoreTeamAddresses", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + x.CoreTeamAddresses = append(x.CoreTeamAddresses, string(dAtA[iNdEx:postIndex])) + iNdEx = postIndex + case 3: + if wireType != 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field NextTopicId", wireType) + } + x.NextTopicId = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + x.NextTopicId |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 4: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Topics", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + x.Topics = append(x.Topics, &TopicIdAndTopic{}) + if err := options.Unmarshal(dAtA[iNdEx:postIndex], x.Topics[len(x.Topics)-1]); err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + iNdEx = postIndex + case 5: + if wireType == 0 { + var v uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + x.ActiveTopics = append(x.ActiveTopics, v) + } else if wireType == 2 { + var packedLen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + packedLen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if packedLen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + packedLen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + var elementCount int + var count int + for _, integer := range dAtA[iNdEx:postIndex] { + if integer < 128 { + count++ + } + } + elementCount = count + if elementCount != 0 && len(x.ActiveTopics) == 0 { + x.ActiveTopics = make([]uint64, 0, elementCount) + } + for iNdEx < postIndex { + var v uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + x.ActiveTopics = append(x.ActiveTopics, v) + } + } else { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field ActiveTopics", wireType) + } + case 6: + if wireType == 0 { + var v uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + x.RewardableTopics = append(x.RewardableTopics, v) + } else if wireType == 2 { + var packedLen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + packedLen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if packedLen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + packedLen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + var elementCount int + var count int + for _, integer := range dAtA[iNdEx:postIndex] { + if integer < 128 { + count++ + } + } + elementCount = count + if elementCount != 0 && len(x.RewardableTopics) == 0 { + x.RewardableTopics = make([]uint64, 0, elementCount) + } + for iNdEx < postIndex { + var v uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + x.RewardableTopics = append(x.RewardableTopics, v) + } + } else { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field RewardableTopics", wireType) + } + case 7: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field TopicWorkers", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + x.TopicWorkers = append(x.TopicWorkers, &TopicAndActorId{}) + if err := options.Unmarshal(dAtA[iNdEx:postIndex], x.TopicWorkers[len(x.TopicWorkers)-1]); err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + iNdEx = postIndex + case 8: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field TopicReputers", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + x.TopicReputers = append(x.TopicReputers, &TopicAndActorId{}) + if err := options.Unmarshal(dAtA[iNdEx:postIndex], x.TopicReputers[len(x.TopicReputers)-1]); err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + iNdEx = postIndex + case 9: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field TopicRewardNonce", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + x.TopicRewardNonce = append(x.TopicRewardNonce, &TopicIdAndBlockHeight{}) + if err := options.Unmarshal(dAtA[iNdEx:postIndex], x.TopicRewardNonce[len(x.TopicRewardNonce)-1]); err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + iNdEx = postIndex + case 10: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field InfererScoresByBlock", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + x.InfererScoresByBlock = append(x.InfererScoresByBlock, &TopicIdBlockHeightScores{}) + if err := options.Unmarshal(dAtA[iNdEx:postIndex], x.InfererScoresByBlock[len(x.InfererScoresByBlock)-1]); err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + iNdEx = postIndex + case 11: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field ForecasterScoresByBlock", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + x.ForecasterScoresByBlock = append(x.ForecasterScoresByBlock, &TopicIdBlockHeightScores{}) + if err := options.Unmarshal(dAtA[iNdEx:postIndex], x.ForecasterScoresByBlock[len(x.ForecasterScoresByBlock)-1]); err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + iNdEx = postIndex + case 12: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field ReputerScoresByBlock", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + x.ReputerScoresByBlock = append(x.ReputerScoresByBlock, &TopicIdBlockHeightScores{}) + if err := options.Unmarshal(dAtA[iNdEx:postIndex], x.ReputerScoresByBlock[len(x.ReputerScoresByBlock)-1]); err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + iNdEx = postIndex + case 16: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field ReputerListeningCoefficient", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + x.ReputerListeningCoefficient = append(x.ReputerListeningCoefficient, &TopicIdActorIdListeningCoefficient{}) + if err := options.Unmarshal(dAtA[iNdEx:postIndex], x.ReputerListeningCoefficient[len(x.ReputerListeningCoefficient)-1]); err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + iNdEx = postIndex + case 17: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field PreviousReputerRewardFraction", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + x.PreviousReputerRewardFraction = append(x.PreviousReputerRewardFraction, &TopicIdActorIdDec{}) + if err := options.Unmarshal(dAtA[iNdEx:postIndex], x.PreviousReputerRewardFraction[len(x.PreviousReputerRewardFraction)-1]); err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + iNdEx = postIndex + case 18: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field PreviousInferenceRewardFraction", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + x.PreviousInferenceRewardFraction = append(x.PreviousInferenceRewardFraction, &TopicIdActorIdDec{}) + if err := options.Unmarshal(dAtA[iNdEx:postIndex], x.PreviousInferenceRewardFraction[len(x.PreviousInferenceRewardFraction)-1]); err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + iNdEx = postIndex + case 19: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field PreviousForecastRewardFraction", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + x.PreviousForecastRewardFraction = append(x.PreviousForecastRewardFraction, &TopicIdActorIdDec{}) + if err := options.Unmarshal(dAtA[iNdEx:postIndex], x.PreviousForecastRewardFraction[len(x.PreviousForecastRewardFraction)-1]); err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + iNdEx = postIndex + case 20: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field PreviousForecasterScoreRatio", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + x.PreviousForecasterScoreRatio = append(x.PreviousForecasterScoreRatio, &TopicIdAndDec{}) + if err := options.Unmarshal(dAtA[iNdEx:postIndex], x.PreviousForecasterScoreRatio[len(x.PreviousForecasterScoreRatio)-1]); err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + iNdEx = postIndex + case 21: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field TotalStake", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + x.TotalStake = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 22: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field TopicStake", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + x.TopicStake = append(x.TopicStake, &TopicIdAndInt{}) + if err := options.Unmarshal(dAtA[iNdEx:postIndex], x.TopicStake[len(x.TopicStake)-1]); err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + iNdEx = postIndex + case 23: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field StakeReputerAuthority", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + x.StakeReputerAuthority = append(x.StakeReputerAuthority, &TopicIdActorIdInt{}) + if err := options.Unmarshal(dAtA[iNdEx:postIndex], x.StakeReputerAuthority[len(x.StakeReputerAuthority)-1]); err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + iNdEx = postIndex + case 24: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field StakeSumFromDelegator", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + x.StakeSumFromDelegator = append(x.StakeSumFromDelegator, &TopicIdActorIdInt{}) + if err := options.Unmarshal(dAtA[iNdEx:postIndex], x.StakeSumFromDelegator[len(x.StakeSumFromDelegator)-1]); err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + iNdEx = postIndex + case 25: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field DelegatedStakes", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + x.DelegatedStakes = append(x.DelegatedStakes, &TopicIdDelegatorReputerDelegatorInfo{}) + if err := options.Unmarshal(dAtA[iNdEx:postIndex], x.DelegatedStakes[len(x.DelegatedStakes)-1]); err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + iNdEx = postIndex + case 26: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field StakeFromDelegatorsUponReputer", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + x.StakeFromDelegatorsUponReputer = append(x.StakeFromDelegatorsUponReputer, &TopicIdActorIdInt{}) + if err := options.Unmarshal(dAtA[iNdEx:postIndex], x.StakeFromDelegatorsUponReputer[len(x.StakeFromDelegatorsUponReputer)-1]); err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + iNdEx = postIndex + case 27: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field DelegateRewardPerShare", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + x.DelegateRewardPerShare = append(x.DelegateRewardPerShare, &TopicIdActorIdDec{}) + if err := options.Unmarshal(dAtA[iNdEx:postIndex], x.DelegateRewardPerShare[len(x.DelegateRewardPerShare)-1]); err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + iNdEx = postIndex + case 28: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field StakeRemovalsByBlock", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + x.StakeRemovalsByBlock = append(x.StakeRemovalsByBlock, &BlockHeightTopicIdReputerStakeRemovalInfo{}) + if err := options.Unmarshal(dAtA[iNdEx:postIndex], x.StakeRemovalsByBlock[len(x.StakeRemovalsByBlock)-1]); err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + iNdEx = postIndex + case 29: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field StakeRemovalsByActor", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + x.StakeRemovalsByActor = append(x.StakeRemovalsByActor, &ActorIdTopicIdBlockHeight{}) + if err := options.Unmarshal(dAtA[iNdEx:postIndex], x.StakeRemovalsByActor[len(x.StakeRemovalsByActor)-1]); err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + iNdEx = postIndex + case 30: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field DelegateStakeRemovalsByBlock", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + x.DelegateStakeRemovalsByBlock = append(x.DelegateStakeRemovalsByBlock, &BlockHeightTopicIdDelegatorReputerDelegateStakeRemovalInfo{}) + if err := options.Unmarshal(dAtA[iNdEx:postIndex], x.DelegateStakeRemovalsByBlock[len(x.DelegateStakeRemovalsByBlock)-1]); err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + iNdEx = postIndex + case 31: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field DelegateStakeRemovalsByActor", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + x.DelegateStakeRemovalsByActor = append(x.DelegateStakeRemovalsByActor, &DelegatorReputerTopicIdBlockHeight{}) + if err := options.Unmarshal(dAtA[iNdEx:postIndex], x.DelegateStakeRemovalsByActor[len(x.DelegateStakeRemovalsByActor)-1]); err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + iNdEx = postIndex + case 32: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Inferences", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + x.Inferences = append(x.Inferences, &TopicIdActorIdInference{}) + if err := options.Unmarshal(dAtA[iNdEx:postIndex], x.Inferences[len(x.Inferences)-1]); err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + iNdEx = postIndex + case 33: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Forecasts", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + x.Forecasts = append(x.Forecasts, &TopicIdActorIdForecast{}) + if err := options.Unmarshal(dAtA[iNdEx:postIndex], x.Forecasts[len(x.Forecasts)-1]); err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + iNdEx = postIndex + case 34: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Workers", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + x.Workers = append(x.Workers, &LibP2PKeyAndOffchainNode{}) + if err := options.Unmarshal(dAtA[iNdEx:postIndex], x.Workers[len(x.Workers)-1]); err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + iNdEx = postIndex + case 35: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Reputers", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + x.Reputers = append(x.Reputers, &LibP2PKeyAndOffchainNode{}) + if err := options.Unmarshal(dAtA[iNdEx:postIndex], x.Reputers[len(x.Reputers)-1]); err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + iNdEx = postIndex + case 36: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field TopicFeeRevenue", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + x.TopicFeeRevenue = append(x.TopicFeeRevenue, &TopicIdAndInt{}) + if err := options.Unmarshal(dAtA[iNdEx:postIndex], x.TopicFeeRevenue[len(x.TopicFeeRevenue)-1]); err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + iNdEx = postIndex + case 37: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field PreviousTopicWeight", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + x.PreviousTopicWeight = append(x.PreviousTopicWeight, &TopicIdAndDec{}) + if err := options.Unmarshal(dAtA[iNdEx:postIndex], x.PreviousTopicWeight[len(x.PreviousTopicWeight)-1]); err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + iNdEx = postIndex + case 38: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field AllInferences", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + x.AllInferences = append(x.AllInferences, &TopicIdBlockHeightInferences{}) + if err := options.Unmarshal(dAtA[iNdEx:postIndex], x.AllInferences[len(x.AllInferences)-1]); err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + iNdEx = postIndex + case 39: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field AllForecasts", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + x.AllForecasts = append(x.AllForecasts, &TopicIdBlockHeightForecasts{}) + if err := options.Unmarshal(dAtA[iNdEx:postIndex], x.AllForecasts[len(x.AllForecasts)-1]); err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + iNdEx = postIndex + case 40: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field AllLossBundles", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + x.AllLossBundles = append(x.AllLossBundles, &TopicIdBlockHeightReputerValueBundles{}) + if err := options.Unmarshal(dAtA[iNdEx:postIndex], x.AllLossBundles[len(x.AllLossBundles)-1]); err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + iNdEx = postIndex + case 41: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field NetworkLossBundles", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + x.NetworkLossBundles = append(x.NetworkLossBundles, &TopicIdBlockHeightValueBundles{}) + if err := options.Unmarshal(dAtA[iNdEx:postIndex], x.NetworkLossBundles[len(x.NetworkLossBundles)-1]); err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + iNdEx = postIndex + case 42: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field PreviousPercentageRewardToStakedReputers", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + x.PreviousPercentageRewardToStakedReputers = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 43: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field UnfulfilledWorkerNonces", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + x.UnfulfilledWorkerNonces = append(x.UnfulfilledWorkerNonces, &TopicIdAndNonces{}) + if err := options.Unmarshal(dAtA[iNdEx:postIndex], x.UnfulfilledWorkerNonces[len(x.UnfulfilledWorkerNonces)-1]); err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + iNdEx = postIndex + case 44: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field UnfulfilledReputerNonces", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + x.UnfulfilledReputerNonces = append(x.UnfulfilledReputerNonces, &TopicIdAndReputerRequestNonces{}) + if err := options.Unmarshal(dAtA[iNdEx:postIndex], x.UnfulfilledReputerNonces[len(x.UnfulfilledReputerNonces)-1]); err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + iNdEx = postIndex + case 45: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field LatestInfererNetworkRegrets", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + x.LatestInfererNetworkRegrets = append(x.LatestInfererNetworkRegrets, &TopicIdActorIdTimeStampedValue{}) + if err := options.Unmarshal(dAtA[iNdEx:postIndex], x.LatestInfererNetworkRegrets[len(x.LatestInfererNetworkRegrets)-1]); err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + iNdEx = postIndex + case 46: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field LatestForecasterNetworkRegrets", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + x.LatestForecasterNetworkRegrets = append(x.LatestForecasterNetworkRegrets, &TopicIdActorIdTimeStampedValue{}) + if err := options.Unmarshal(dAtA[iNdEx:postIndex], x.LatestForecasterNetworkRegrets[len(x.LatestForecasterNetworkRegrets)-1]); err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + iNdEx = postIndex + case 47: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field LatestOneInForecasterNetworkRegrets", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + x.LatestOneInForecasterNetworkRegrets = append(x.LatestOneInForecasterNetworkRegrets, &TopicIdActorIdActorIdTimeStampedValue{}) + if err := options.Unmarshal(dAtA[iNdEx:postIndex], x.LatestOneInForecasterNetworkRegrets[len(x.LatestOneInForecasterNetworkRegrets)-1]); err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + iNdEx = postIndex + case 48: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field LatestNaiveInfererNetworkRegrets", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + x.LatestNaiveInfererNetworkRegrets = append(x.LatestNaiveInfererNetworkRegrets, &TopicIdActorIdTimeStampedValue{}) + if err := options.Unmarshal(dAtA[iNdEx:postIndex], x.LatestNaiveInfererNetworkRegrets[len(x.LatestNaiveInfererNetworkRegrets)-1]); err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + iNdEx = postIndex + case 49: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field LatestOneOutInfererInfererNetworkRegrets", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + x.LatestOneOutInfererInfererNetworkRegrets = append(x.LatestOneOutInfererInfererNetworkRegrets, &TopicIdActorIdActorIdTimeStampedValue{}) + if err := options.Unmarshal(dAtA[iNdEx:postIndex], x.LatestOneOutInfererInfererNetworkRegrets[len(x.LatestOneOutInfererInfererNetworkRegrets)-1]); err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + iNdEx = postIndex + case 50: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field LatestOneOutInfererForecasterNetworkRegrets", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + x.LatestOneOutInfererForecasterNetworkRegrets = append(x.LatestOneOutInfererForecasterNetworkRegrets, &TopicIdActorIdActorIdTimeStampedValue{}) + if err := options.Unmarshal(dAtA[iNdEx:postIndex], x.LatestOneOutInfererForecasterNetworkRegrets[len(x.LatestOneOutInfererForecasterNetworkRegrets)-1]); err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + iNdEx = postIndex + case 51: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field LatestOneOutForecasterInfererNetworkRegrets", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + x.LatestOneOutForecasterInfererNetworkRegrets = append(x.LatestOneOutForecasterInfererNetworkRegrets, &TopicIdActorIdActorIdTimeStampedValue{}) + if err := options.Unmarshal(dAtA[iNdEx:postIndex], x.LatestOneOutForecasterInfererNetworkRegrets[len(x.LatestOneOutForecasterInfererNetworkRegrets)-1]); err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + iNdEx = postIndex + case 52: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field LatestOneOutForecasterForecasterNetworkRegrets", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + x.LatestOneOutForecasterForecasterNetworkRegrets = append(x.LatestOneOutForecasterForecasterNetworkRegrets, &TopicIdActorIdActorIdTimeStampedValue{}) + if err := options.Unmarshal(dAtA[iNdEx:postIndex], x.LatestOneOutForecasterForecasterNetworkRegrets[len(x.LatestOneOutForecasterForecasterNetworkRegrets)-1]); err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + iNdEx = postIndex + case 53: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field TopicLastWorkerCommit", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + x.TopicLastWorkerCommit = append(x.TopicLastWorkerCommit, &TopicIdTimestampedActorNonce{}) + if err := options.Unmarshal(dAtA[iNdEx:postIndex], x.TopicLastWorkerCommit[len(x.TopicLastWorkerCommit)-1]); err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + iNdEx = postIndex + case 54: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field TopicLastReputerCommit", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + x.TopicLastReputerCommit = append(x.TopicLastReputerCommit, &TopicIdTimestampedActorNonce{}) + if err := options.Unmarshal(dAtA[iNdEx:postIndex], x.TopicLastReputerCommit[len(x.TopicLastReputerCommit)-1]); err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + iNdEx = postIndex + case 55: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field OpenWorkerWindows", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + x.OpenWorkerWindows = append(x.OpenWorkerWindows, &BlockHeightAndTopicIds{}) + if err := options.Unmarshal(dAtA[iNdEx:postIndex], x.OpenWorkerWindows[len(x.OpenWorkerWindows)-1]); err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + iNdEx = postIndex + case 56: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field LastDripBlock", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + x.LastDripBlock = append(x.LastDripBlock, &TopicIdAndBlockHeight{}) + if err := options.Unmarshal(dAtA[iNdEx:postIndex], x.LastDripBlock[len(x.LastDripBlock)-1]); err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + iNdEx = postIndex + case 57: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field TopicToNextPossibleChurningBlock", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + x.TopicToNextPossibleChurningBlock = append(x.TopicToNextPossibleChurningBlock, &TopicIdAndBlockHeight{}) + if err := options.Unmarshal(dAtA[iNdEx:postIndex], x.TopicToNextPossibleChurningBlock[len(x.TopicToNextPossibleChurningBlock)-1]); err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + iNdEx = postIndex + case 58: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field BlockToActiveTopics", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + x.BlockToActiveTopics = append(x.BlockToActiveTopics, &BlockHeightTopicIds{}) + if err := options.Unmarshal(dAtA[iNdEx:postIndex], x.BlockToActiveTopics[len(x.BlockToActiveTopics)-1]); err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + iNdEx = postIndex + case 59: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field BlockToLowestActiveTopicWeight", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + x.BlockToLowestActiveTopicWeight = append(x.BlockToLowestActiveTopicWeight, &BlockHeightTopicIdWeightPair{}) + if err := options.Unmarshal(dAtA[iNdEx:postIndex], x.BlockToLowestActiveTopicWeight[len(x.BlockToLowestActiveTopicWeight)-1]); err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + iNdEx = postIndex + case 60: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field InfererScoreEmas", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + x.InfererScoreEmas = append(x.InfererScoreEmas, &TopicIdActorIdScore{}) + if err := options.Unmarshal(dAtA[iNdEx:postIndex], x.InfererScoreEmas[len(x.InfererScoreEmas)-1]); err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + iNdEx = postIndex + case 61: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field ForecasterScoreEmas", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + x.ForecasterScoreEmas = append(x.ForecasterScoreEmas, &TopicIdActorIdScore{}) + if err := options.Unmarshal(dAtA[iNdEx:postIndex], x.ForecasterScoreEmas[len(x.ForecasterScoreEmas)-1]); err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + iNdEx = postIndex + case 62: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field ReputerScoreEmas", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + x.ReputerScoreEmas = append(x.ReputerScoreEmas, &TopicIdActorIdScore{}) + if err := options.Unmarshal(dAtA[iNdEx:postIndex], x.ReputerScoreEmas[len(x.ReputerScoreEmas)-1]); err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + iNdEx = postIndex + case 63: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field PreviousTopicQuantileInfererScoreEma", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + x.PreviousTopicQuantileInfererScoreEma = append(x.PreviousTopicQuantileInfererScoreEma, &TopicIdAndDec{}) + if err := options.Unmarshal(dAtA[iNdEx:postIndex], x.PreviousTopicQuantileInfererScoreEma[len(x.PreviousTopicQuantileInfererScoreEma)-1]); err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + iNdEx = postIndex + case 64: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field PreviousTopicQuantileForecasterScoreEma", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + x.PreviousTopicQuantileForecasterScoreEma = append(x.PreviousTopicQuantileForecasterScoreEma, &TopicIdAndDec{}) + if err := options.Unmarshal(dAtA[iNdEx:postIndex], x.PreviousTopicQuantileForecasterScoreEma[len(x.PreviousTopicQuantileForecasterScoreEma)-1]); err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + iNdEx = postIndex + case 65: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field PreviousTopicQuantileReputerScoreEma", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + x.PreviousTopicQuantileReputerScoreEma = append(x.PreviousTopicQuantileReputerScoreEma, &TopicIdAndDec{}) + if err := options.Unmarshal(dAtA[iNdEx:postIndex], x.PreviousTopicQuantileReputerScoreEma[len(x.PreviousTopicQuantileReputerScoreEma)-1]); err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + iNdEx = postIndex + case 66: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field CountInfererInclusionsInTopicActiveSet", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + x.CountInfererInclusionsInTopicActiveSet = append(x.CountInfererInclusionsInTopicActiveSet, &TopicIdActorIdUint64{}) + if err := options.Unmarshal(dAtA[iNdEx:postIndex], x.CountInfererInclusionsInTopicActiveSet[len(x.CountInfererInclusionsInTopicActiveSet)-1]); err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + iNdEx = postIndex + case 67: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field CountForecasterInclusionsInTopicActiveSet", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + x.CountForecasterInclusionsInTopicActiveSet = append(x.CountForecasterInclusionsInTopicActiveSet, &TopicIdActorIdUint64{}) + if err := options.Unmarshal(dAtA[iNdEx:postIndex], x.CountForecasterInclusionsInTopicActiveSet[len(x.CountForecasterInclusionsInTopicActiveSet)-1]); err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + iNdEx = postIndex + case 68: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field ActiveInferers", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + x.ActiveInferers = append(x.ActiveInferers, &TopicAndActorId{}) + if err := options.Unmarshal(dAtA[iNdEx:postIndex], x.ActiveInferers[len(x.ActiveInferers)-1]); err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + iNdEx = postIndex + case 69: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field ActiveForecasters", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + x.ActiveForecasters = append(x.ActiveForecasters, &TopicAndActorId{}) + if err := options.Unmarshal(dAtA[iNdEx:postIndex], x.ActiveForecasters[len(x.ActiveForecasters)-1]); err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + iNdEx = postIndex + case 70: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field LowestInfererScoreEma", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + x.LowestInfererScoreEma = append(x.LowestInfererScoreEma, &TopicIdActorIdScore{}) + if err := options.Unmarshal(dAtA[iNdEx:postIndex], x.LowestInfererScoreEma[len(x.LowestInfererScoreEma)-1]); err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + iNdEx = postIndex + case 71: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field LowestForecasterScoreEma", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + x.LowestForecasterScoreEma = append(x.LowestForecasterScoreEma, &TopicIdActorIdScore{}) + if err := options.Unmarshal(dAtA[iNdEx:postIndex], x.LowestForecasterScoreEma[len(x.LowestForecasterScoreEma)-1]); err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + iNdEx = postIndex + case 72: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field ActiveReputers", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + x.ActiveReputers = append(x.ActiveReputers, &TopicAndActorId{}) + if err := options.Unmarshal(dAtA[iNdEx:postIndex], x.ActiveReputers[len(x.ActiveReputers)-1]); err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + iNdEx = postIndex + case 73: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field LowestReputerScoreEma", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + x.LowestReputerScoreEma = append(x.LowestReputerScoreEma, &TopicIdActorIdScore{}) + if err := options.Unmarshal(dAtA[iNdEx:postIndex], x.LowestReputerScoreEma[len(x.LowestReputerScoreEma)-1]); err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + iNdEx = postIndex + case 74: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field LossBundles", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + x.LossBundles = append(x.LossBundles, &TopicIdReputerReputerValueBundle{}) + if err := options.Unmarshal(dAtA[iNdEx:postIndex], x.LossBundles[len(x.LossBundles)-1]); err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + iNdEx = postIndex + case 75: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field TotalSumPreviousTopicWeights", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + x.TotalSumPreviousTopicWeights = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 76: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field RewardCurrentBlockEmission", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + x.RewardCurrentBlockEmission = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 77: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field WhitelistAdmins", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + x.WhitelistAdmins = append(x.WhitelistAdmins, string(dAtA[iNdEx:postIndex])) + iNdEx = postIndex + case 78: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field GlobalWhitelist", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + x.GlobalWhitelist = append(x.GlobalWhitelist, string(dAtA[iNdEx:postIndex])) + iNdEx = postIndex + case 79: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field TopicCreatorWhitelist", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + x.TopicCreatorWhitelist = append(x.TopicCreatorWhitelist, string(dAtA[iNdEx:postIndex])) + iNdEx = postIndex + case 80: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field TopicWorkerWhitelist", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + x.TopicWorkerWhitelist = append(x.TopicWorkerWhitelist, &TopicAndActorId{}) + if err := options.Unmarshal(dAtA[iNdEx:postIndex], x.TopicWorkerWhitelist[len(x.TopicWorkerWhitelist)-1]); err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + iNdEx = postIndex + case 81: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field TopicReputerWhitelist", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + x.TopicReputerWhitelist = append(x.TopicReputerWhitelist, &TopicAndActorId{}) + if err := options.Unmarshal(dAtA[iNdEx:postIndex], x.TopicReputerWhitelist[len(x.TopicReputerWhitelist)-1]); err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + iNdEx = postIndex + case 82: + if wireType == 0 { + var v uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + x.TopicWorkerWhitelistEnabled = append(x.TopicWorkerWhitelistEnabled, v) + } else if wireType == 2 { + var packedLen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + packedLen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if packedLen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + packedLen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + var elementCount int + var count int + for _, integer := range dAtA[iNdEx:postIndex] { + if integer < 128 { + count++ + } + } + elementCount = count + if elementCount != 0 && len(x.TopicWorkerWhitelistEnabled) == 0 { + x.TopicWorkerWhitelistEnabled = make([]uint64, 0, elementCount) + } + for iNdEx < postIndex { + var v uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + x.TopicWorkerWhitelistEnabled = append(x.TopicWorkerWhitelistEnabled, v) + } + } else { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field TopicWorkerWhitelistEnabled", wireType) + } + case 83: + if wireType == 0 { + var v uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + x.TopicReputerWhitelistEnabled = append(x.TopicReputerWhitelistEnabled, v) + } else if wireType == 2 { + var packedLen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + packedLen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if packedLen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + packedLen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + var elementCount int + var count int + for _, integer := range dAtA[iNdEx:postIndex] { + if integer < 128 { + count++ + } + } + elementCount = count + if elementCount != 0 && len(x.TopicReputerWhitelistEnabled) == 0 { + x.TopicReputerWhitelistEnabled = make([]uint64, 0, elementCount) + } + for iNdEx < postIndex { + var v uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + x.TopicReputerWhitelistEnabled = append(x.TopicReputerWhitelistEnabled, v) + } + } else { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field TopicReputerWhitelistEnabled", wireType) + } + case 84: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field LastMedianInferences", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + x.LastMedianInferences = append(x.LastMedianInferences, &TopicIdAndDec{}) + if err := options.Unmarshal(dAtA[iNdEx:postIndex], x.LastMedianInferences[len(x.LastMedianInferences)-1]); err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + iNdEx = postIndex + case 85: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field MadInferences", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + x.MadInferences = append(x.MadInferences, &TopicIdAndDec{}) + if err := options.Unmarshal(dAtA[iNdEx:postIndex], x.MadInferences[len(x.MadInferences)-1]); err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + iNdEx = postIndex + case 86: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field InitialInfererEmaScore", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + x.InitialInfererEmaScore = append(x.InitialInfererEmaScore, &TopicIdAndDec{}) + if err := options.Unmarshal(dAtA[iNdEx:postIndex], x.InitialInfererEmaScore[len(x.InitialInfererEmaScore)-1]); err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + iNdEx = postIndex + case 87: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field InitialForecasterEmaScore", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + x.InitialForecasterEmaScore = append(x.InitialForecasterEmaScore, &TopicIdAndDec{}) + if err := options.Unmarshal(dAtA[iNdEx:postIndex], x.InitialForecasterEmaScore[len(x.InitialForecasterEmaScore)-1]); err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + iNdEx = postIndex + case 88: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field InitialReputerEmaScore", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + x.InitialReputerEmaScore = append(x.InitialReputerEmaScore, &TopicIdAndDec{}) + if err := options.Unmarshal(dAtA[iNdEx:postIndex], x.InitialReputerEmaScore[len(x.InitialReputerEmaScore)-1]); err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + iNdEx = postIndex + case 89: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field GlobalWorkerWhitelist", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + x.GlobalWorkerWhitelist = append(x.GlobalWorkerWhitelist, string(dAtA[iNdEx:postIndex])) + iNdEx = postIndex + case 90: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field GlobalReputerWhitelist", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + x.GlobalReputerWhitelist = append(x.GlobalReputerWhitelist, string(dAtA[iNdEx:postIndex])) + iNdEx = postIndex + case 91: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field GlobalAdminWhitelist", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + x.GlobalAdminWhitelist = append(x.GlobalAdminWhitelist, string(dAtA[iNdEx:postIndex])) + iNdEx = postIndex + case 92: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field LatestRegretStdNorm", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + x.LatestRegretStdNorm = append(x.LatestRegretStdNorm, &TopicIdAndDec{}) + if err := options.Unmarshal(dAtA[iNdEx:postIndex], x.LatestRegretStdNorm[len(x.LatestRegretStdNorm)-1]); err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + iNdEx = postIndex + case 93: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field LatestInfererWeights", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + x.LatestInfererWeights = append(x.LatestInfererWeights, &TopicIdActorIdDec{}) + if err := options.Unmarshal(dAtA[iNdEx:postIndex], x.LatestInfererWeights[len(x.LatestInfererWeights)-1]); err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + iNdEx = postIndex + case 94: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field LatestForecasterWeights", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + x.LatestForecasterWeights = append(x.LatestForecasterWeights, &TopicIdActorIdDec{}) + if err := options.Unmarshal(dAtA[iNdEx:postIndex], x.LatestForecasterWeights[len(x.LatestForecasterWeights)-1]); err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := runtime.Skip(dAtA[iNdEx:]) + if err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if (iNdEx + skippy) > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + if !options.DiscardUnknown { + x.unknownFields = append(x.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + } + iNdEx += skippy + } + } + + if iNdEx > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, nil + } + return &protoiface.Methods{ + NoUnkeyedLiterals: struct{}{}, + Flags: protoiface.SupportMarshalDeterministic | protoiface.SupportUnmarshalDiscardUnknown, + Size: size, + Marshal: marshal, + Unmarshal: unmarshal, + Merge: nil, + CheckInitialized: nil, + } +} + +var ( + md_TopicIdAndTopic protoreflect.MessageDescriptor + fd_TopicIdAndTopic_topic_id protoreflect.FieldDescriptor + fd_TopicIdAndTopic_topic protoreflect.FieldDescriptor +) + +func init() { + file_emissions_v8_genesis_proto_init() + md_TopicIdAndTopic = File_emissions_v8_genesis_proto.Messages().ByName("TopicIdAndTopic") + fd_TopicIdAndTopic_topic_id = md_TopicIdAndTopic.Fields().ByName("topic_id") + fd_TopicIdAndTopic_topic = md_TopicIdAndTopic.Fields().ByName("topic") +} + +var _ protoreflect.Message = (*fastReflection_TopicIdAndTopic)(nil) + +type fastReflection_TopicIdAndTopic TopicIdAndTopic + +func (x *TopicIdAndTopic) ProtoReflect() protoreflect.Message { + return (*fastReflection_TopicIdAndTopic)(x) +} + +func (x *TopicIdAndTopic) slowProtoReflect() protoreflect.Message { + mi := &file_emissions_v8_genesis_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) +} + +var _fastReflection_TopicIdAndTopic_messageType fastReflection_TopicIdAndTopic_messageType +var _ protoreflect.MessageType = fastReflection_TopicIdAndTopic_messageType{} + +type fastReflection_TopicIdAndTopic_messageType struct{} + +func (x fastReflection_TopicIdAndTopic_messageType) Zero() protoreflect.Message { + return (*fastReflection_TopicIdAndTopic)(nil) +} +func (x fastReflection_TopicIdAndTopic_messageType) New() protoreflect.Message { + return new(fastReflection_TopicIdAndTopic) +} +func (x fastReflection_TopicIdAndTopic_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_TopicIdAndTopic +} + +// Descriptor returns message descriptor, which contains only the protobuf +// type information for the message. +func (x *fastReflection_TopicIdAndTopic) Descriptor() protoreflect.MessageDescriptor { + return md_TopicIdAndTopic +} + +// Type returns the message type, which encapsulates both Go and protobuf +// type information. If the Go type information is not needed, +// it is recommended that the message descriptor be used instead. +func (x *fastReflection_TopicIdAndTopic) Type() protoreflect.MessageType { + return _fastReflection_TopicIdAndTopic_messageType +} + +// New returns a newly allocated and mutable empty message. +func (x *fastReflection_TopicIdAndTopic) New() protoreflect.Message { + return new(fastReflection_TopicIdAndTopic) +} + +// Interface unwraps the message reflection interface and +// returns the underlying ProtoMessage interface. +func (x *fastReflection_TopicIdAndTopic) Interface() protoreflect.ProtoMessage { + return (*TopicIdAndTopic)(x) +} + +// Range iterates over every populated field in an undefined order, +// calling f for each field descriptor and value encountered. +// Range returns immediately if f returns false. +// While iterating, mutating operations may only be performed +// on the current field descriptor. +func (x *fastReflection_TopicIdAndTopic) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { + if x.TopicId != uint64(0) { + value := protoreflect.ValueOfUint64(x.TopicId) + if !f(fd_TopicIdAndTopic_topic_id, value) { + return + } + } + if x.Topic != nil { + value := protoreflect.ValueOfMessage(x.Topic.ProtoReflect()) + if !f(fd_TopicIdAndTopic_topic, value) { + return + } + } +} + +// Has reports whether a field is populated. +// +// Some fields have the property of nullability where it is possible to +// distinguish between the default value of a field and whether the field +// was explicitly populated with the default value. Singular message fields, +// member fields of a oneof, and proto2 scalar fields are nullable. Such +// fields are populated only if explicitly set. +// +// In other cases (aside from the nullable cases above), +// a proto3 scalar field is populated if it contains a non-zero value, and +// a repeated field is populated if it is non-empty. +func (x *fastReflection_TopicIdAndTopic) Has(fd protoreflect.FieldDescriptor) bool { + switch fd.FullName() { + case "emissions.v8.TopicIdAndTopic.topic_id": + return x.TopicId != uint64(0) + case "emissions.v8.TopicIdAndTopic.topic": + return x.Topic != nil + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.TopicIdAndTopic")) + } + panic(fmt.Errorf("message emissions.v8.TopicIdAndTopic does not contain field %s", fd.FullName())) + } +} + +// Clear clears the field such that a subsequent Has call reports false. +// +// Clearing an extension field clears both the extension type and value +// associated with the given field number. +// +// Clear is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_TopicIdAndTopic) Clear(fd protoreflect.FieldDescriptor) { + switch fd.FullName() { + case "emissions.v8.TopicIdAndTopic.topic_id": + x.TopicId = uint64(0) + case "emissions.v8.TopicIdAndTopic.topic": + x.Topic = nil + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.TopicIdAndTopic")) + } + panic(fmt.Errorf("message emissions.v8.TopicIdAndTopic does not contain field %s", fd.FullName())) + } +} + +// Get retrieves the value for a field. +// +// For unpopulated scalars, it returns the default value, where +// the default value of a bytes scalar is guaranteed to be a copy. +// For unpopulated composite types, it returns an empty, read-only view +// of the value; to obtain a mutable reference, use Mutable. +func (x *fastReflection_TopicIdAndTopic) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { + switch descriptor.FullName() { + case "emissions.v8.TopicIdAndTopic.topic_id": + value := x.TopicId + return protoreflect.ValueOfUint64(value) + case "emissions.v8.TopicIdAndTopic.topic": + value := x.Topic + return protoreflect.ValueOfMessage(value.ProtoReflect()) + default: + if descriptor.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.TopicIdAndTopic")) + } + panic(fmt.Errorf("message emissions.v8.TopicIdAndTopic does not contain field %s", descriptor.FullName())) + } +} + +// Set stores the value for a field. +// +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType. +// When setting a composite type, it is unspecified whether the stored value +// aliases the source's memory in any way. If the composite value is an +// empty, read-only value, then it panics. +// +// Set is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_TopicIdAndTopic) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { + switch fd.FullName() { + case "emissions.v8.TopicIdAndTopic.topic_id": + x.TopicId = value.Uint() + case "emissions.v8.TopicIdAndTopic.topic": + x.Topic = value.Message().Interface().(*v3.Topic) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.TopicIdAndTopic")) + } + panic(fmt.Errorf("message emissions.v8.TopicIdAndTopic does not contain field %s", fd.FullName())) + } +} + +// Mutable returns a mutable reference to a composite type. +// +// If the field is unpopulated, it may allocate a composite value. +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType +// if not already stored. +// It panics if the field does not contain a composite type. +// +// Mutable is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_TopicIdAndTopic) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.TopicIdAndTopic.topic": + if x.Topic == nil { + x.Topic = new(v3.Topic) + } + return protoreflect.ValueOfMessage(x.Topic.ProtoReflect()) + case "emissions.v8.TopicIdAndTopic.topic_id": + panic(fmt.Errorf("field topic_id of message emissions.v8.TopicIdAndTopic is not mutable")) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.TopicIdAndTopic")) + } + panic(fmt.Errorf("message emissions.v8.TopicIdAndTopic does not contain field %s", fd.FullName())) + } +} + +// NewField returns a new value that is assignable to the field +// for the given descriptor. For scalars, this returns the default value. +// For lists, maps, and messages, this returns a new, empty, mutable value. +func (x *fastReflection_TopicIdAndTopic) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.TopicIdAndTopic.topic_id": + return protoreflect.ValueOfUint64(uint64(0)) + case "emissions.v8.TopicIdAndTopic.topic": + m := new(v3.Topic) + return protoreflect.ValueOfMessage(m.ProtoReflect()) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.TopicIdAndTopic")) + } + panic(fmt.Errorf("message emissions.v8.TopicIdAndTopic does not contain field %s", fd.FullName())) + } +} + +// WhichOneof reports which field within the oneof is populated, +// returning nil if none are populated. +// It panics if the oneof descriptor does not belong to this message. +func (x *fastReflection_TopicIdAndTopic) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { + switch d.FullName() { + default: + panic(fmt.Errorf("%s is not a oneof field in emissions.v8.TopicIdAndTopic", d.FullName())) + } + panic("unreachable") +} + +// GetUnknown retrieves the entire list of unknown fields. +// The caller may only mutate the contents of the RawFields +// if the mutated bytes are stored back into the message with SetUnknown. +func (x *fastReflection_TopicIdAndTopic) GetUnknown() protoreflect.RawFields { + return x.unknownFields +} + +// SetUnknown stores an entire list of unknown fields. +// The raw fields must be syntactically valid according to the wire format. +// An implementation may panic if this is not the case. +// Once stored, the caller must not mutate the content of the RawFields. +// An empty RawFields may be passed to clear the fields. +// +// SetUnknown is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_TopicIdAndTopic) SetUnknown(fields protoreflect.RawFields) { + x.unknownFields = fields +} + +// IsValid reports whether the message is valid. +// +// An invalid message is an empty, read-only value. +// +// An invalid message often corresponds to a nil pointer of the concrete +// message type, but the details are implementation dependent. +// Validity is not part of the protobuf data model, and may not +// be preserved in marshaling or other operations. +func (x *fastReflection_TopicIdAndTopic) IsValid() bool { + return x != nil +} + +// ProtoMethods returns optional fastReflectionFeature-path implementations of various operations. +// This method may return nil. +// +// The returned methods type is identical to +// "google.golang.org/protobuf/runtime/protoiface".Methods. +// Consult the protoiface package documentation for details. +func (x *fastReflection_TopicIdAndTopic) ProtoMethods() *protoiface.Methods { + size := func(input protoiface.SizeInput) protoiface.SizeOutput { + x := input.Message.Interface().(*TopicIdAndTopic) + if x == nil { + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: 0, + } + } + options := runtime.SizeInputToOptions(input) + _ = options + var n int + var l int + _ = l + if x.TopicId != 0 { + n += 1 + runtime.Sov(uint64(x.TopicId)) + } + if x.Topic != nil { + l = options.Size(x.Topic) + n += 1 + l + runtime.Sov(uint64(l)) + } + if x.unknownFields != nil { + n += len(x.unknownFields) + } + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: n, + } + } + + marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { + x := input.Message.Interface().(*TopicIdAndTopic) + if x == nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + options := runtime.MarshalInputToOptions(input) + _ = options + size := options.Size(x) + dAtA := make([]byte, size) + i := len(dAtA) + _ = i + var l int + _ = l + if x.unknownFields != nil { + i -= len(x.unknownFields) + copy(dAtA[i:], x.unknownFields) + } + if x.Topic != nil { + encoded, err := options.Marshal(x.Topic) + if err != nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = runtime.EncodeVarint(dAtA, i, uint64(len(encoded))) + i-- + dAtA[i] = 0x12 + } + if x.TopicId != 0 { + i = runtime.EncodeVarint(dAtA, i, uint64(x.TopicId)) + i-- + dAtA[i] = 0x8 + } + if input.Buf != nil { + input.Buf = append(input.Buf, dAtA...) + } else { + input.Buf = dAtA + } + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { + x := input.Message.Interface().(*TopicIdAndTopic) + if x == nil { + return protoiface.UnmarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Flags: input.Flags, + }, nil + } + options := runtime.UnmarshalInputToOptions(input) + _ = options + dAtA := input.Buf + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: TopicIdAndTopic: wiretype end group for non-group") + } + if fieldNum <= 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: TopicIdAndTopic: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field TopicId", wireType) + } + x.TopicId = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + x.TopicId |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 2: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Topic", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + if x.Topic == nil { + x.Topic = &v3.Topic{} + } + if err := options.Unmarshal(dAtA[iNdEx:postIndex], x.Topic); err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := runtime.Skip(dAtA[iNdEx:]) + if err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if (iNdEx + skippy) > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + if !options.DiscardUnknown { + x.unknownFields = append(x.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + } + iNdEx += skippy + } + } + + if iNdEx > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, nil + } + return &protoiface.Methods{ + NoUnkeyedLiterals: struct{}{}, + Flags: protoiface.SupportMarshalDeterministic | protoiface.SupportUnmarshalDiscardUnknown, + Size: size, + Marshal: marshal, + Unmarshal: unmarshal, + Merge: nil, + CheckInitialized: nil, + } +} + +var ( + md_TopicAndActorId protoreflect.MessageDescriptor + fd_TopicAndActorId_topic_id protoreflect.FieldDescriptor + fd_TopicAndActorId_actor_id protoreflect.FieldDescriptor +) + +func init() { + file_emissions_v8_genesis_proto_init() + md_TopicAndActorId = File_emissions_v8_genesis_proto.Messages().ByName("TopicAndActorId") + fd_TopicAndActorId_topic_id = md_TopicAndActorId.Fields().ByName("topic_id") + fd_TopicAndActorId_actor_id = md_TopicAndActorId.Fields().ByName("actor_id") +} + +var _ protoreflect.Message = (*fastReflection_TopicAndActorId)(nil) + +type fastReflection_TopicAndActorId TopicAndActorId + +func (x *TopicAndActorId) ProtoReflect() protoreflect.Message { + return (*fastReflection_TopicAndActorId)(x) +} + +func (x *TopicAndActorId) slowProtoReflect() protoreflect.Message { + mi := &file_emissions_v8_genesis_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) +} + +var _fastReflection_TopicAndActorId_messageType fastReflection_TopicAndActorId_messageType +var _ protoreflect.MessageType = fastReflection_TopicAndActorId_messageType{} + +type fastReflection_TopicAndActorId_messageType struct{} + +func (x fastReflection_TopicAndActorId_messageType) Zero() protoreflect.Message { + return (*fastReflection_TopicAndActorId)(nil) +} +func (x fastReflection_TopicAndActorId_messageType) New() protoreflect.Message { + return new(fastReflection_TopicAndActorId) +} +func (x fastReflection_TopicAndActorId_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_TopicAndActorId +} + +// Descriptor returns message descriptor, which contains only the protobuf +// type information for the message. +func (x *fastReflection_TopicAndActorId) Descriptor() protoreflect.MessageDescriptor { + return md_TopicAndActorId +} + +// Type returns the message type, which encapsulates both Go and protobuf +// type information. If the Go type information is not needed, +// it is recommended that the message descriptor be used instead. +func (x *fastReflection_TopicAndActorId) Type() protoreflect.MessageType { + return _fastReflection_TopicAndActorId_messageType +} + +// New returns a newly allocated and mutable empty message. +func (x *fastReflection_TopicAndActorId) New() protoreflect.Message { + return new(fastReflection_TopicAndActorId) +} + +// Interface unwraps the message reflection interface and +// returns the underlying ProtoMessage interface. +func (x *fastReflection_TopicAndActorId) Interface() protoreflect.ProtoMessage { + return (*TopicAndActorId)(x) +} + +// Range iterates over every populated field in an undefined order, +// calling f for each field descriptor and value encountered. +// Range returns immediately if f returns false. +// While iterating, mutating operations may only be performed +// on the current field descriptor. +func (x *fastReflection_TopicAndActorId) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { + if x.TopicId != uint64(0) { + value := protoreflect.ValueOfUint64(x.TopicId) + if !f(fd_TopicAndActorId_topic_id, value) { + return + } + } + if x.ActorId != "" { + value := protoreflect.ValueOfString(x.ActorId) + if !f(fd_TopicAndActorId_actor_id, value) { + return + } + } +} + +// Has reports whether a field is populated. +// +// Some fields have the property of nullability where it is possible to +// distinguish between the default value of a field and whether the field +// was explicitly populated with the default value. Singular message fields, +// member fields of a oneof, and proto2 scalar fields are nullable. Such +// fields are populated only if explicitly set. +// +// In other cases (aside from the nullable cases above), +// a proto3 scalar field is populated if it contains a non-zero value, and +// a repeated field is populated if it is non-empty. +func (x *fastReflection_TopicAndActorId) Has(fd protoreflect.FieldDescriptor) bool { + switch fd.FullName() { + case "emissions.v8.TopicAndActorId.topic_id": + return x.TopicId != uint64(0) + case "emissions.v8.TopicAndActorId.actor_id": + return x.ActorId != "" + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.TopicAndActorId")) + } + panic(fmt.Errorf("message emissions.v8.TopicAndActorId does not contain field %s", fd.FullName())) + } +} + +// Clear clears the field such that a subsequent Has call reports false. +// +// Clearing an extension field clears both the extension type and value +// associated with the given field number. +// +// Clear is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_TopicAndActorId) Clear(fd protoreflect.FieldDescriptor) { + switch fd.FullName() { + case "emissions.v8.TopicAndActorId.topic_id": + x.TopicId = uint64(0) + case "emissions.v8.TopicAndActorId.actor_id": + x.ActorId = "" + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.TopicAndActorId")) + } + panic(fmt.Errorf("message emissions.v8.TopicAndActorId does not contain field %s", fd.FullName())) + } +} + +// Get retrieves the value for a field. +// +// For unpopulated scalars, it returns the default value, where +// the default value of a bytes scalar is guaranteed to be a copy. +// For unpopulated composite types, it returns an empty, read-only view +// of the value; to obtain a mutable reference, use Mutable. +func (x *fastReflection_TopicAndActorId) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { + switch descriptor.FullName() { + case "emissions.v8.TopicAndActorId.topic_id": + value := x.TopicId + return protoreflect.ValueOfUint64(value) + case "emissions.v8.TopicAndActorId.actor_id": + value := x.ActorId + return protoreflect.ValueOfString(value) + default: + if descriptor.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.TopicAndActorId")) + } + panic(fmt.Errorf("message emissions.v8.TopicAndActorId does not contain field %s", descriptor.FullName())) + } +} + +// Set stores the value for a field. +// +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType. +// When setting a composite type, it is unspecified whether the stored value +// aliases the source's memory in any way. If the composite value is an +// empty, read-only value, then it panics. +// +// Set is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_TopicAndActorId) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { + switch fd.FullName() { + case "emissions.v8.TopicAndActorId.topic_id": + x.TopicId = value.Uint() + case "emissions.v8.TopicAndActorId.actor_id": + x.ActorId = value.Interface().(string) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.TopicAndActorId")) + } + panic(fmt.Errorf("message emissions.v8.TopicAndActorId does not contain field %s", fd.FullName())) + } +} + +// Mutable returns a mutable reference to a composite type. +// +// If the field is unpopulated, it may allocate a composite value. +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType +// if not already stored. +// It panics if the field does not contain a composite type. +// +// Mutable is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_TopicAndActorId) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.TopicAndActorId.topic_id": + panic(fmt.Errorf("field topic_id of message emissions.v8.TopicAndActorId is not mutable")) + case "emissions.v8.TopicAndActorId.actor_id": + panic(fmt.Errorf("field actor_id of message emissions.v8.TopicAndActorId is not mutable")) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.TopicAndActorId")) + } + panic(fmt.Errorf("message emissions.v8.TopicAndActorId does not contain field %s", fd.FullName())) + } +} + +// NewField returns a new value that is assignable to the field +// for the given descriptor. For scalars, this returns the default value. +// For lists, maps, and messages, this returns a new, empty, mutable value. +func (x *fastReflection_TopicAndActorId) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.TopicAndActorId.topic_id": + return protoreflect.ValueOfUint64(uint64(0)) + case "emissions.v8.TopicAndActorId.actor_id": + return protoreflect.ValueOfString("") + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.TopicAndActorId")) + } + panic(fmt.Errorf("message emissions.v8.TopicAndActorId does not contain field %s", fd.FullName())) + } +} + +// WhichOneof reports which field within the oneof is populated, +// returning nil if none are populated. +// It panics if the oneof descriptor does not belong to this message. +func (x *fastReflection_TopicAndActorId) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { + switch d.FullName() { + default: + panic(fmt.Errorf("%s is not a oneof field in emissions.v8.TopicAndActorId", d.FullName())) + } + panic("unreachable") +} + +// GetUnknown retrieves the entire list of unknown fields. +// The caller may only mutate the contents of the RawFields +// if the mutated bytes are stored back into the message with SetUnknown. +func (x *fastReflection_TopicAndActorId) GetUnknown() protoreflect.RawFields { + return x.unknownFields +} + +// SetUnknown stores an entire list of unknown fields. +// The raw fields must be syntactically valid according to the wire format. +// An implementation may panic if this is not the case. +// Once stored, the caller must not mutate the content of the RawFields. +// An empty RawFields may be passed to clear the fields. +// +// SetUnknown is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_TopicAndActorId) SetUnknown(fields protoreflect.RawFields) { + x.unknownFields = fields +} + +// IsValid reports whether the message is valid. +// +// An invalid message is an empty, read-only value. +// +// An invalid message often corresponds to a nil pointer of the concrete +// message type, but the details are implementation dependent. +// Validity is not part of the protobuf data model, and may not +// be preserved in marshaling or other operations. +func (x *fastReflection_TopicAndActorId) IsValid() bool { + return x != nil +} + +// ProtoMethods returns optional fastReflectionFeature-path implementations of various operations. +// This method may return nil. +// +// The returned methods type is identical to +// "google.golang.org/protobuf/runtime/protoiface".Methods. +// Consult the protoiface package documentation for details. +func (x *fastReflection_TopicAndActorId) ProtoMethods() *protoiface.Methods { + size := func(input protoiface.SizeInput) protoiface.SizeOutput { + x := input.Message.Interface().(*TopicAndActorId) + if x == nil { + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: 0, + } + } + options := runtime.SizeInputToOptions(input) + _ = options + var n int + var l int + _ = l + if x.TopicId != 0 { + n += 1 + runtime.Sov(uint64(x.TopicId)) + } + l = len(x.ActorId) + if l > 0 { + n += 1 + l + runtime.Sov(uint64(l)) + } + if x.unknownFields != nil { + n += len(x.unknownFields) + } + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: n, + } + } + + marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { + x := input.Message.Interface().(*TopicAndActorId) + if x == nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + options := runtime.MarshalInputToOptions(input) + _ = options + size := options.Size(x) + dAtA := make([]byte, size) + i := len(dAtA) + _ = i + var l int + _ = l + if x.unknownFields != nil { + i -= len(x.unknownFields) + copy(dAtA[i:], x.unknownFields) + } + if len(x.ActorId) > 0 { + i -= len(x.ActorId) + copy(dAtA[i:], x.ActorId) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.ActorId))) + i-- + dAtA[i] = 0x12 + } + if x.TopicId != 0 { + i = runtime.EncodeVarint(dAtA, i, uint64(x.TopicId)) + i-- + dAtA[i] = 0x8 + } + if input.Buf != nil { + input.Buf = append(input.Buf, dAtA...) + } else { + input.Buf = dAtA + } + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { + x := input.Message.Interface().(*TopicAndActorId) + if x == nil { + return protoiface.UnmarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Flags: input.Flags, + }, nil + } + options := runtime.UnmarshalInputToOptions(input) + _ = options + dAtA := input.Buf + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: TopicAndActorId: wiretype end group for non-group") + } + if fieldNum <= 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: TopicAndActorId: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field TopicId", wireType) + } + x.TopicId = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + x.TopicId |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 2: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field ActorId", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + x.ActorId = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := runtime.Skip(dAtA[iNdEx:]) + if err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if (iNdEx + skippy) > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + if !options.DiscardUnknown { + x.unknownFields = append(x.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + } + iNdEx += skippy + } + } + + if iNdEx > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, nil + } + return &protoiface.Methods{ + NoUnkeyedLiterals: struct{}{}, + Flags: protoiface.SupportMarshalDeterministic | protoiface.SupportUnmarshalDiscardUnknown, + Size: size, + Marshal: marshal, + Unmarshal: unmarshal, + Merge: nil, + CheckInitialized: nil, + } +} + +var ( + md_TopicIdAndBlockHeight protoreflect.MessageDescriptor + fd_TopicIdAndBlockHeight_topic_id protoreflect.FieldDescriptor + fd_TopicIdAndBlockHeight_block_height protoreflect.FieldDescriptor +) + +func init() { + file_emissions_v8_genesis_proto_init() + md_TopicIdAndBlockHeight = File_emissions_v8_genesis_proto.Messages().ByName("TopicIdAndBlockHeight") + fd_TopicIdAndBlockHeight_topic_id = md_TopicIdAndBlockHeight.Fields().ByName("topic_id") + fd_TopicIdAndBlockHeight_block_height = md_TopicIdAndBlockHeight.Fields().ByName("block_height") +} + +var _ protoreflect.Message = (*fastReflection_TopicIdAndBlockHeight)(nil) + +type fastReflection_TopicIdAndBlockHeight TopicIdAndBlockHeight + +func (x *TopicIdAndBlockHeight) ProtoReflect() protoreflect.Message { + return (*fastReflection_TopicIdAndBlockHeight)(x) +} + +func (x *TopicIdAndBlockHeight) slowProtoReflect() protoreflect.Message { + mi := &file_emissions_v8_genesis_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) +} + +var _fastReflection_TopicIdAndBlockHeight_messageType fastReflection_TopicIdAndBlockHeight_messageType +var _ protoreflect.MessageType = fastReflection_TopicIdAndBlockHeight_messageType{} + +type fastReflection_TopicIdAndBlockHeight_messageType struct{} + +func (x fastReflection_TopicIdAndBlockHeight_messageType) Zero() protoreflect.Message { + return (*fastReflection_TopicIdAndBlockHeight)(nil) +} +func (x fastReflection_TopicIdAndBlockHeight_messageType) New() protoreflect.Message { + return new(fastReflection_TopicIdAndBlockHeight) +} +func (x fastReflection_TopicIdAndBlockHeight_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_TopicIdAndBlockHeight +} + +// Descriptor returns message descriptor, which contains only the protobuf +// type information for the message. +func (x *fastReflection_TopicIdAndBlockHeight) Descriptor() protoreflect.MessageDescriptor { + return md_TopicIdAndBlockHeight +} + +// Type returns the message type, which encapsulates both Go and protobuf +// type information. If the Go type information is not needed, +// it is recommended that the message descriptor be used instead. +func (x *fastReflection_TopicIdAndBlockHeight) Type() protoreflect.MessageType { + return _fastReflection_TopicIdAndBlockHeight_messageType +} + +// New returns a newly allocated and mutable empty message. +func (x *fastReflection_TopicIdAndBlockHeight) New() protoreflect.Message { + return new(fastReflection_TopicIdAndBlockHeight) +} + +// Interface unwraps the message reflection interface and +// returns the underlying ProtoMessage interface. +func (x *fastReflection_TopicIdAndBlockHeight) Interface() protoreflect.ProtoMessage { + return (*TopicIdAndBlockHeight)(x) +} + +// Range iterates over every populated field in an undefined order, +// calling f for each field descriptor and value encountered. +// Range returns immediately if f returns false. +// While iterating, mutating operations may only be performed +// on the current field descriptor. +func (x *fastReflection_TopicIdAndBlockHeight) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { + if x.TopicId != uint64(0) { + value := protoreflect.ValueOfUint64(x.TopicId) + if !f(fd_TopicIdAndBlockHeight_topic_id, value) { + return + } + } + if x.BlockHeight != int64(0) { + value := protoreflect.ValueOfInt64(x.BlockHeight) + if !f(fd_TopicIdAndBlockHeight_block_height, value) { + return + } + } +} + +// Has reports whether a field is populated. +// +// Some fields have the property of nullability where it is possible to +// distinguish between the default value of a field and whether the field +// was explicitly populated with the default value. Singular message fields, +// member fields of a oneof, and proto2 scalar fields are nullable. Such +// fields are populated only if explicitly set. +// +// In other cases (aside from the nullable cases above), +// a proto3 scalar field is populated if it contains a non-zero value, and +// a repeated field is populated if it is non-empty. +func (x *fastReflection_TopicIdAndBlockHeight) Has(fd protoreflect.FieldDescriptor) bool { + switch fd.FullName() { + case "emissions.v8.TopicIdAndBlockHeight.topic_id": + return x.TopicId != uint64(0) + case "emissions.v8.TopicIdAndBlockHeight.block_height": + return x.BlockHeight != int64(0) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.TopicIdAndBlockHeight")) + } + panic(fmt.Errorf("message emissions.v8.TopicIdAndBlockHeight does not contain field %s", fd.FullName())) + } +} + +// Clear clears the field such that a subsequent Has call reports false. +// +// Clearing an extension field clears both the extension type and value +// associated with the given field number. +// +// Clear is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_TopicIdAndBlockHeight) Clear(fd protoreflect.FieldDescriptor) { + switch fd.FullName() { + case "emissions.v8.TopicIdAndBlockHeight.topic_id": + x.TopicId = uint64(0) + case "emissions.v8.TopicIdAndBlockHeight.block_height": + x.BlockHeight = int64(0) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.TopicIdAndBlockHeight")) + } + panic(fmt.Errorf("message emissions.v8.TopicIdAndBlockHeight does not contain field %s", fd.FullName())) + } +} + +// Get retrieves the value for a field. +// +// For unpopulated scalars, it returns the default value, where +// the default value of a bytes scalar is guaranteed to be a copy. +// For unpopulated composite types, it returns an empty, read-only view +// of the value; to obtain a mutable reference, use Mutable. +func (x *fastReflection_TopicIdAndBlockHeight) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { + switch descriptor.FullName() { + case "emissions.v8.TopicIdAndBlockHeight.topic_id": + value := x.TopicId + return protoreflect.ValueOfUint64(value) + case "emissions.v8.TopicIdAndBlockHeight.block_height": + value := x.BlockHeight + return protoreflect.ValueOfInt64(value) + default: + if descriptor.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.TopicIdAndBlockHeight")) + } + panic(fmt.Errorf("message emissions.v8.TopicIdAndBlockHeight does not contain field %s", descriptor.FullName())) + } +} + +// Set stores the value for a field. +// +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType. +// When setting a composite type, it is unspecified whether the stored value +// aliases the source's memory in any way. If the composite value is an +// empty, read-only value, then it panics. +// +// Set is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_TopicIdAndBlockHeight) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { + switch fd.FullName() { + case "emissions.v8.TopicIdAndBlockHeight.topic_id": + x.TopicId = value.Uint() + case "emissions.v8.TopicIdAndBlockHeight.block_height": + x.BlockHeight = value.Int() + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.TopicIdAndBlockHeight")) + } + panic(fmt.Errorf("message emissions.v8.TopicIdAndBlockHeight does not contain field %s", fd.FullName())) + } +} + +// Mutable returns a mutable reference to a composite type. +// +// If the field is unpopulated, it may allocate a composite value. +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType +// if not already stored. +// It panics if the field does not contain a composite type. +// +// Mutable is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_TopicIdAndBlockHeight) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.TopicIdAndBlockHeight.topic_id": + panic(fmt.Errorf("field topic_id of message emissions.v8.TopicIdAndBlockHeight is not mutable")) + case "emissions.v8.TopicIdAndBlockHeight.block_height": + panic(fmt.Errorf("field block_height of message emissions.v8.TopicIdAndBlockHeight is not mutable")) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.TopicIdAndBlockHeight")) + } + panic(fmt.Errorf("message emissions.v8.TopicIdAndBlockHeight does not contain field %s", fd.FullName())) + } +} + +// NewField returns a new value that is assignable to the field +// for the given descriptor. For scalars, this returns the default value. +// For lists, maps, and messages, this returns a new, empty, mutable value. +func (x *fastReflection_TopicIdAndBlockHeight) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.TopicIdAndBlockHeight.topic_id": + return protoreflect.ValueOfUint64(uint64(0)) + case "emissions.v8.TopicIdAndBlockHeight.block_height": + return protoreflect.ValueOfInt64(int64(0)) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.TopicIdAndBlockHeight")) + } + panic(fmt.Errorf("message emissions.v8.TopicIdAndBlockHeight does not contain field %s", fd.FullName())) + } +} + +// WhichOneof reports which field within the oneof is populated, +// returning nil if none are populated. +// It panics if the oneof descriptor does not belong to this message. +func (x *fastReflection_TopicIdAndBlockHeight) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { + switch d.FullName() { + default: + panic(fmt.Errorf("%s is not a oneof field in emissions.v8.TopicIdAndBlockHeight", d.FullName())) + } + panic("unreachable") +} + +// GetUnknown retrieves the entire list of unknown fields. +// The caller may only mutate the contents of the RawFields +// if the mutated bytes are stored back into the message with SetUnknown. +func (x *fastReflection_TopicIdAndBlockHeight) GetUnknown() protoreflect.RawFields { + return x.unknownFields +} + +// SetUnknown stores an entire list of unknown fields. +// The raw fields must be syntactically valid according to the wire format. +// An implementation may panic if this is not the case. +// Once stored, the caller must not mutate the content of the RawFields. +// An empty RawFields may be passed to clear the fields. +// +// SetUnknown is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_TopicIdAndBlockHeight) SetUnknown(fields protoreflect.RawFields) { + x.unknownFields = fields +} + +// IsValid reports whether the message is valid. +// +// An invalid message is an empty, read-only value. +// +// An invalid message often corresponds to a nil pointer of the concrete +// message type, but the details are implementation dependent. +// Validity is not part of the protobuf data model, and may not +// be preserved in marshaling or other operations. +func (x *fastReflection_TopicIdAndBlockHeight) IsValid() bool { + return x != nil +} + +// ProtoMethods returns optional fastReflectionFeature-path implementations of various operations. +// This method may return nil. +// +// The returned methods type is identical to +// "google.golang.org/protobuf/runtime/protoiface".Methods. +// Consult the protoiface package documentation for details. +func (x *fastReflection_TopicIdAndBlockHeight) ProtoMethods() *protoiface.Methods { + size := func(input protoiface.SizeInput) protoiface.SizeOutput { + x := input.Message.Interface().(*TopicIdAndBlockHeight) + if x == nil { + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: 0, + } + } + options := runtime.SizeInputToOptions(input) + _ = options + var n int + var l int + _ = l + if x.TopicId != 0 { + n += 1 + runtime.Sov(uint64(x.TopicId)) + } + if x.BlockHeight != 0 { + n += 1 + runtime.Sov(uint64(x.BlockHeight)) + } + if x.unknownFields != nil { + n += len(x.unknownFields) + } + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: n, + } + } + + marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { + x := input.Message.Interface().(*TopicIdAndBlockHeight) + if x == nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + options := runtime.MarshalInputToOptions(input) + _ = options + size := options.Size(x) + dAtA := make([]byte, size) + i := len(dAtA) + _ = i + var l int + _ = l + if x.unknownFields != nil { + i -= len(x.unknownFields) + copy(dAtA[i:], x.unknownFields) + } + if x.BlockHeight != 0 { + i = runtime.EncodeVarint(dAtA, i, uint64(x.BlockHeight)) + i-- + dAtA[i] = 0x10 + } + if x.TopicId != 0 { + i = runtime.EncodeVarint(dAtA, i, uint64(x.TopicId)) + i-- + dAtA[i] = 0x8 + } + if input.Buf != nil { + input.Buf = append(input.Buf, dAtA...) + } else { + input.Buf = dAtA + } + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { + x := input.Message.Interface().(*TopicIdAndBlockHeight) + if x == nil { + return protoiface.UnmarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Flags: input.Flags, + }, nil + } + options := runtime.UnmarshalInputToOptions(input) + _ = options + dAtA := input.Buf + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: TopicIdAndBlockHeight: wiretype end group for non-group") + } + if fieldNum <= 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: TopicIdAndBlockHeight: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field TopicId", wireType) + } + x.TopicId = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + x.TopicId |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 2: + if wireType != 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field BlockHeight", wireType) + } + x.BlockHeight = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + x.BlockHeight |= int64(b&0x7F) << shift + if b < 0x80 { + break + } + } + default: + iNdEx = preIndex + skippy, err := runtime.Skip(dAtA[iNdEx:]) + if err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if (iNdEx + skippy) > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + if !options.DiscardUnknown { + x.unknownFields = append(x.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + } + iNdEx += skippy + } + } + + if iNdEx > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, nil + } + return &protoiface.Methods{ + NoUnkeyedLiterals: struct{}{}, + Flags: protoiface.SupportMarshalDeterministic | protoiface.SupportUnmarshalDiscardUnknown, + Size: size, + Marshal: marshal, + Unmarshal: unmarshal, + Merge: nil, + CheckInitialized: nil, + } +} + +var _ protoreflect.List = (*_BlockHeightAndTopicIds_2_list)(nil) + +type _BlockHeightAndTopicIds_2_list struct { + list *[]uint64 +} + +func (x *_BlockHeightAndTopicIds_2_list) Len() int { + if x.list == nil { + return 0 + } + return len(*x.list) +} + +func (x *_BlockHeightAndTopicIds_2_list) Get(i int) protoreflect.Value { + return protoreflect.ValueOfUint64((*x.list)[i]) +} + +func (x *_BlockHeightAndTopicIds_2_list) Set(i int, value protoreflect.Value) { + valueUnwrapped := value.Uint() + concreteValue := valueUnwrapped + (*x.list)[i] = concreteValue +} + +func (x *_BlockHeightAndTopicIds_2_list) Append(value protoreflect.Value) { + valueUnwrapped := value.Uint() + concreteValue := valueUnwrapped + *x.list = append(*x.list, concreteValue) +} + +func (x *_BlockHeightAndTopicIds_2_list) AppendMutable() protoreflect.Value { + panic(fmt.Errorf("AppendMutable can not be called on message BlockHeightAndTopicIds at list field TopicIds as it is not of Message kind")) +} + +func (x *_BlockHeightAndTopicIds_2_list) Truncate(n int) { + *x.list = (*x.list)[:n] +} + +func (x *_BlockHeightAndTopicIds_2_list) NewElement() protoreflect.Value { + v := uint64(0) + return protoreflect.ValueOfUint64(v) +} + +func (x *_BlockHeightAndTopicIds_2_list) IsValid() bool { + return x.list != nil +} + +var ( + md_BlockHeightAndTopicIds protoreflect.MessageDescriptor + fd_BlockHeightAndTopicIds_block_height protoreflect.FieldDescriptor + fd_BlockHeightAndTopicIds_topic_ids protoreflect.FieldDescriptor +) + +func init() { + file_emissions_v8_genesis_proto_init() + md_BlockHeightAndTopicIds = File_emissions_v8_genesis_proto.Messages().ByName("BlockHeightAndTopicIds") + fd_BlockHeightAndTopicIds_block_height = md_BlockHeightAndTopicIds.Fields().ByName("block_height") + fd_BlockHeightAndTopicIds_topic_ids = md_BlockHeightAndTopicIds.Fields().ByName("topic_ids") +} + +var _ protoreflect.Message = (*fastReflection_BlockHeightAndTopicIds)(nil) + +type fastReflection_BlockHeightAndTopicIds BlockHeightAndTopicIds + +func (x *BlockHeightAndTopicIds) ProtoReflect() protoreflect.Message { + return (*fastReflection_BlockHeightAndTopicIds)(x) +} + +func (x *BlockHeightAndTopicIds) slowProtoReflect() protoreflect.Message { + mi := &file_emissions_v8_genesis_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) +} + +var _fastReflection_BlockHeightAndTopicIds_messageType fastReflection_BlockHeightAndTopicIds_messageType +var _ protoreflect.MessageType = fastReflection_BlockHeightAndTopicIds_messageType{} + +type fastReflection_BlockHeightAndTopicIds_messageType struct{} + +func (x fastReflection_BlockHeightAndTopicIds_messageType) Zero() protoreflect.Message { + return (*fastReflection_BlockHeightAndTopicIds)(nil) +} +func (x fastReflection_BlockHeightAndTopicIds_messageType) New() protoreflect.Message { + return new(fastReflection_BlockHeightAndTopicIds) +} +func (x fastReflection_BlockHeightAndTopicIds_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_BlockHeightAndTopicIds +} + +// Descriptor returns message descriptor, which contains only the protobuf +// type information for the message. +func (x *fastReflection_BlockHeightAndTopicIds) Descriptor() protoreflect.MessageDescriptor { + return md_BlockHeightAndTopicIds +} + +// Type returns the message type, which encapsulates both Go and protobuf +// type information. If the Go type information is not needed, +// it is recommended that the message descriptor be used instead. +func (x *fastReflection_BlockHeightAndTopicIds) Type() protoreflect.MessageType { + return _fastReflection_BlockHeightAndTopicIds_messageType +} + +// New returns a newly allocated and mutable empty message. +func (x *fastReflection_BlockHeightAndTopicIds) New() protoreflect.Message { + return new(fastReflection_BlockHeightAndTopicIds) +} + +// Interface unwraps the message reflection interface and +// returns the underlying ProtoMessage interface. +func (x *fastReflection_BlockHeightAndTopicIds) Interface() protoreflect.ProtoMessage { + return (*BlockHeightAndTopicIds)(x) +} + +// Range iterates over every populated field in an undefined order, +// calling f for each field descriptor and value encountered. +// Range returns immediately if f returns false. +// While iterating, mutating operations may only be performed +// on the current field descriptor. +func (x *fastReflection_BlockHeightAndTopicIds) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { + if x.BlockHeight != int64(0) { + value := protoreflect.ValueOfInt64(x.BlockHeight) + if !f(fd_BlockHeightAndTopicIds_block_height, value) { + return + } + } + if len(x.TopicIds) != 0 { + value := protoreflect.ValueOfList(&_BlockHeightAndTopicIds_2_list{list: &x.TopicIds}) + if !f(fd_BlockHeightAndTopicIds_topic_ids, value) { + return + } + } +} + +// Has reports whether a field is populated. +// +// Some fields have the property of nullability where it is possible to +// distinguish between the default value of a field and whether the field +// was explicitly populated with the default value. Singular message fields, +// member fields of a oneof, and proto2 scalar fields are nullable. Such +// fields are populated only if explicitly set. +// +// In other cases (aside from the nullable cases above), +// a proto3 scalar field is populated if it contains a non-zero value, and +// a repeated field is populated if it is non-empty. +func (x *fastReflection_BlockHeightAndTopicIds) Has(fd protoreflect.FieldDescriptor) bool { + switch fd.FullName() { + case "emissions.v8.BlockHeightAndTopicIds.block_height": + return x.BlockHeight != int64(0) + case "emissions.v8.BlockHeightAndTopicIds.topic_ids": + return len(x.TopicIds) != 0 + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.BlockHeightAndTopicIds")) + } + panic(fmt.Errorf("message emissions.v8.BlockHeightAndTopicIds does not contain field %s", fd.FullName())) + } +} + +// Clear clears the field such that a subsequent Has call reports false. +// +// Clearing an extension field clears both the extension type and value +// associated with the given field number. +// +// Clear is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_BlockHeightAndTopicIds) Clear(fd protoreflect.FieldDescriptor) { + switch fd.FullName() { + case "emissions.v8.BlockHeightAndTopicIds.block_height": + x.BlockHeight = int64(0) + case "emissions.v8.BlockHeightAndTopicIds.topic_ids": + x.TopicIds = nil + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.BlockHeightAndTopicIds")) + } + panic(fmt.Errorf("message emissions.v8.BlockHeightAndTopicIds does not contain field %s", fd.FullName())) + } +} + +// Get retrieves the value for a field. +// +// For unpopulated scalars, it returns the default value, where +// the default value of a bytes scalar is guaranteed to be a copy. +// For unpopulated composite types, it returns an empty, read-only view +// of the value; to obtain a mutable reference, use Mutable. +func (x *fastReflection_BlockHeightAndTopicIds) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { + switch descriptor.FullName() { + case "emissions.v8.BlockHeightAndTopicIds.block_height": + value := x.BlockHeight + return protoreflect.ValueOfInt64(value) + case "emissions.v8.BlockHeightAndTopicIds.topic_ids": + if len(x.TopicIds) == 0 { + return protoreflect.ValueOfList(&_BlockHeightAndTopicIds_2_list{}) + } + listValue := &_BlockHeightAndTopicIds_2_list{list: &x.TopicIds} + return protoreflect.ValueOfList(listValue) + default: + if descriptor.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.BlockHeightAndTopicIds")) + } + panic(fmt.Errorf("message emissions.v8.BlockHeightAndTopicIds does not contain field %s", descriptor.FullName())) + } +} + +// Set stores the value for a field. +// +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType. +// When setting a composite type, it is unspecified whether the stored value +// aliases the source's memory in any way. If the composite value is an +// empty, read-only value, then it panics. +// +// Set is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_BlockHeightAndTopicIds) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { + switch fd.FullName() { + case "emissions.v8.BlockHeightAndTopicIds.block_height": + x.BlockHeight = value.Int() + case "emissions.v8.BlockHeightAndTopicIds.topic_ids": + lv := value.List() + clv := lv.(*_BlockHeightAndTopicIds_2_list) + x.TopicIds = *clv.list + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.BlockHeightAndTopicIds")) + } + panic(fmt.Errorf("message emissions.v8.BlockHeightAndTopicIds does not contain field %s", fd.FullName())) + } +} + +// Mutable returns a mutable reference to a composite type. +// +// If the field is unpopulated, it may allocate a composite value. +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType +// if not already stored. +// It panics if the field does not contain a composite type. +// +// Mutable is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_BlockHeightAndTopicIds) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.BlockHeightAndTopicIds.topic_ids": + if x.TopicIds == nil { + x.TopicIds = []uint64{} + } + value := &_BlockHeightAndTopicIds_2_list{list: &x.TopicIds} + return protoreflect.ValueOfList(value) + case "emissions.v8.BlockHeightAndTopicIds.block_height": + panic(fmt.Errorf("field block_height of message emissions.v8.BlockHeightAndTopicIds is not mutable")) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.BlockHeightAndTopicIds")) + } + panic(fmt.Errorf("message emissions.v8.BlockHeightAndTopicIds does not contain field %s", fd.FullName())) + } +} + +// NewField returns a new value that is assignable to the field +// for the given descriptor. For scalars, this returns the default value. +// For lists, maps, and messages, this returns a new, empty, mutable value. +func (x *fastReflection_BlockHeightAndTopicIds) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.BlockHeightAndTopicIds.block_height": + return protoreflect.ValueOfInt64(int64(0)) + case "emissions.v8.BlockHeightAndTopicIds.topic_ids": + list := []uint64{} + return protoreflect.ValueOfList(&_BlockHeightAndTopicIds_2_list{list: &list}) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.BlockHeightAndTopicIds")) + } + panic(fmt.Errorf("message emissions.v8.BlockHeightAndTopicIds does not contain field %s", fd.FullName())) + } +} + +// WhichOneof reports which field within the oneof is populated, +// returning nil if none are populated. +// It panics if the oneof descriptor does not belong to this message. +func (x *fastReflection_BlockHeightAndTopicIds) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { + switch d.FullName() { + default: + panic(fmt.Errorf("%s is not a oneof field in emissions.v8.BlockHeightAndTopicIds", d.FullName())) + } + panic("unreachable") +} + +// GetUnknown retrieves the entire list of unknown fields. +// The caller may only mutate the contents of the RawFields +// if the mutated bytes are stored back into the message with SetUnknown. +func (x *fastReflection_BlockHeightAndTopicIds) GetUnknown() protoreflect.RawFields { + return x.unknownFields +} + +// SetUnknown stores an entire list of unknown fields. +// The raw fields must be syntactically valid according to the wire format. +// An implementation may panic if this is not the case. +// Once stored, the caller must not mutate the content of the RawFields. +// An empty RawFields may be passed to clear the fields. +// +// SetUnknown is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_BlockHeightAndTopicIds) SetUnknown(fields protoreflect.RawFields) { + x.unknownFields = fields +} + +// IsValid reports whether the message is valid. +// +// An invalid message is an empty, read-only value. +// +// An invalid message often corresponds to a nil pointer of the concrete +// message type, but the details are implementation dependent. +// Validity is not part of the protobuf data model, and may not +// be preserved in marshaling or other operations. +func (x *fastReflection_BlockHeightAndTopicIds) IsValid() bool { + return x != nil +} + +// ProtoMethods returns optional fastReflectionFeature-path implementations of various operations. +// This method may return nil. +// +// The returned methods type is identical to +// "google.golang.org/protobuf/runtime/protoiface".Methods. +// Consult the protoiface package documentation for details. +func (x *fastReflection_BlockHeightAndTopicIds) ProtoMethods() *protoiface.Methods { + size := func(input protoiface.SizeInput) protoiface.SizeOutput { + x := input.Message.Interface().(*BlockHeightAndTopicIds) + if x == nil { + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: 0, + } + } + options := runtime.SizeInputToOptions(input) + _ = options + var n int + var l int + _ = l + if x.BlockHeight != 0 { + n += 1 + runtime.Sov(uint64(x.BlockHeight)) + } + if len(x.TopicIds) > 0 { + l = 0 + for _, e := range x.TopicIds { + l += runtime.Sov(uint64(e)) + } + n += 1 + runtime.Sov(uint64(l)) + l + } + if x.unknownFields != nil { + n += len(x.unknownFields) + } + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: n, + } + } + + marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { + x := input.Message.Interface().(*BlockHeightAndTopicIds) + if x == nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + options := runtime.MarshalInputToOptions(input) + _ = options + size := options.Size(x) + dAtA := make([]byte, size) + i := len(dAtA) + _ = i + var l int + _ = l + if x.unknownFields != nil { + i -= len(x.unknownFields) + copy(dAtA[i:], x.unknownFields) + } + if len(x.TopicIds) > 0 { + var pksize2 int + for _, num := range x.TopicIds { + pksize2 += runtime.Sov(uint64(num)) + } + i -= pksize2 + j1 := i + for _, num := range x.TopicIds { + for num >= 1<<7 { + dAtA[j1] = uint8(uint64(num)&0x7f | 0x80) + num >>= 7 + j1++ + } + dAtA[j1] = uint8(num) + j1++ + } + i = runtime.EncodeVarint(dAtA, i, uint64(pksize2)) + i-- + dAtA[i] = 0x12 + } + if x.BlockHeight != 0 { + i = runtime.EncodeVarint(dAtA, i, uint64(x.BlockHeight)) + i-- + dAtA[i] = 0x8 + } + if input.Buf != nil { + input.Buf = append(input.Buf, dAtA...) + } else { + input.Buf = dAtA + } + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { + x := input.Message.Interface().(*BlockHeightAndTopicIds) + if x == nil { + return protoiface.UnmarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Flags: input.Flags, + }, nil + } + options := runtime.UnmarshalInputToOptions(input) + _ = options + dAtA := input.Buf + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: BlockHeightAndTopicIds: wiretype end group for non-group") + } + if fieldNum <= 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: BlockHeightAndTopicIds: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field BlockHeight", wireType) + } + x.BlockHeight = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + x.BlockHeight |= int64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 2: + if wireType == 0 { + var v uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + x.TopicIds = append(x.TopicIds, v) + } else if wireType == 2 { + var packedLen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + packedLen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if packedLen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + packedLen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + var elementCount int + var count int + for _, integer := range dAtA[iNdEx:postIndex] { + if integer < 128 { + count++ + } + } + elementCount = count + if elementCount != 0 && len(x.TopicIds) == 0 { + x.TopicIds = make([]uint64, 0, elementCount) + } + for iNdEx < postIndex { + var v uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + x.TopicIds = append(x.TopicIds, v) + } + } else { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field TopicIds", wireType) + } + default: + iNdEx = preIndex + skippy, err := runtime.Skip(dAtA[iNdEx:]) + if err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if (iNdEx + skippy) > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + if !options.DiscardUnknown { + x.unknownFields = append(x.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + } + iNdEx += skippy + } + } + + if iNdEx > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, nil + } + return &protoiface.Methods{ + NoUnkeyedLiterals: struct{}{}, + Flags: protoiface.SupportMarshalDeterministic | protoiface.SupportUnmarshalDiscardUnknown, + Size: size, + Marshal: marshal, + Unmarshal: unmarshal, + Merge: nil, + CheckInitialized: nil, + } +} + +var ( + md_TopicIdBlockHeightScores protoreflect.MessageDescriptor + fd_TopicIdBlockHeightScores_topic_id protoreflect.FieldDescriptor + fd_TopicIdBlockHeightScores_block_height protoreflect.FieldDescriptor + fd_TopicIdBlockHeightScores_scores protoreflect.FieldDescriptor +) + +func init() { + file_emissions_v8_genesis_proto_init() + md_TopicIdBlockHeightScores = File_emissions_v8_genesis_proto.Messages().ByName("TopicIdBlockHeightScores") + fd_TopicIdBlockHeightScores_topic_id = md_TopicIdBlockHeightScores.Fields().ByName("topic_id") + fd_TopicIdBlockHeightScores_block_height = md_TopicIdBlockHeightScores.Fields().ByName("block_height") + fd_TopicIdBlockHeightScores_scores = md_TopicIdBlockHeightScores.Fields().ByName("scores") +} + +var _ protoreflect.Message = (*fastReflection_TopicIdBlockHeightScores)(nil) + +type fastReflection_TopicIdBlockHeightScores TopicIdBlockHeightScores + +func (x *TopicIdBlockHeightScores) ProtoReflect() protoreflect.Message { + return (*fastReflection_TopicIdBlockHeightScores)(x) +} + +func (x *TopicIdBlockHeightScores) slowProtoReflect() protoreflect.Message { + mi := &file_emissions_v8_genesis_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) +} + +var _fastReflection_TopicIdBlockHeightScores_messageType fastReflection_TopicIdBlockHeightScores_messageType +var _ protoreflect.MessageType = fastReflection_TopicIdBlockHeightScores_messageType{} + +type fastReflection_TopicIdBlockHeightScores_messageType struct{} + +func (x fastReflection_TopicIdBlockHeightScores_messageType) Zero() protoreflect.Message { + return (*fastReflection_TopicIdBlockHeightScores)(nil) +} +func (x fastReflection_TopicIdBlockHeightScores_messageType) New() protoreflect.Message { + return new(fastReflection_TopicIdBlockHeightScores) +} +func (x fastReflection_TopicIdBlockHeightScores_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_TopicIdBlockHeightScores +} + +// Descriptor returns message descriptor, which contains only the protobuf +// type information for the message. +func (x *fastReflection_TopicIdBlockHeightScores) Descriptor() protoreflect.MessageDescriptor { + return md_TopicIdBlockHeightScores +} + +// Type returns the message type, which encapsulates both Go and protobuf +// type information. If the Go type information is not needed, +// it is recommended that the message descriptor be used instead. +func (x *fastReflection_TopicIdBlockHeightScores) Type() protoreflect.MessageType { + return _fastReflection_TopicIdBlockHeightScores_messageType +} + +// New returns a newly allocated and mutable empty message. +func (x *fastReflection_TopicIdBlockHeightScores) New() protoreflect.Message { + return new(fastReflection_TopicIdBlockHeightScores) +} + +// Interface unwraps the message reflection interface and +// returns the underlying ProtoMessage interface. +func (x *fastReflection_TopicIdBlockHeightScores) Interface() protoreflect.ProtoMessage { + return (*TopicIdBlockHeightScores)(x) +} + +// Range iterates over every populated field in an undefined order, +// calling f for each field descriptor and value encountered. +// Range returns immediately if f returns false. +// While iterating, mutating operations may only be performed +// on the current field descriptor. +func (x *fastReflection_TopicIdBlockHeightScores) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { + if x.TopicId != uint64(0) { + value := protoreflect.ValueOfUint64(x.TopicId) + if !f(fd_TopicIdBlockHeightScores_topic_id, value) { + return + } + } + if x.BlockHeight != int64(0) { + value := protoreflect.ValueOfInt64(x.BlockHeight) + if !f(fd_TopicIdBlockHeightScores_block_height, value) { + return + } + } + if x.Scores != nil { + value := protoreflect.ValueOfMessage(x.Scores.ProtoReflect()) + if !f(fd_TopicIdBlockHeightScores_scores, value) { + return + } + } +} + +// Has reports whether a field is populated. +// +// Some fields have the property of nullability where it is possible to +// distinguish between the default value of a field and whether the field +// was explicitly populated with the default value. Singular message fields, +// member fields of a oneof, and proto2 scalar fields are nullable. Such +// fields are populated only if explicitly set. +// +// In other cases (aside from the nullable cases above), +// a proto3 scalar field is populated if it contains a non-zero value, and +// a repeated field is populated if it is non-empty. +func (x *fastReflection_TopicIdBlockHeightScores) Has(fd protoreflect.FieldDescriptor) bool { + switch fd.FullName() { + case "emissions.v8.TopicIdBlockHeightScores.topic_id": + return x.TopicId != uint64(0) + case "emissions.v8.TopicIdBlockHeightScores.block_height": + return x.BlockHeight != int64(0) + case "emissions.v8.TopicIdBlockHeightScores.scores": + return x.Scores != nil + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.TopicIdBlockHeightScores")) + } + panic(fmt.Errorf("message emissions.v8.TopicIdBlockHeightScores does not contain field %s", fd.FullName())) + } +} + +// Clear clears the field such that a subsequent Has call reports false. +// +// Clearing an extension field clears both the extension type and value +// associated with the given field number. +// +// Clear is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_TopicIdBlockHeightScores) Clear(fd protoreflect.FieldDescriptor) { + switch fd.FullName() { + case "emissions.v8.TopicIdBlockHeightScores.topic_id": + x.TopicId = uint64(0) + case "emissions.v8.TopicIdBlockHeightScores.block_height": + x.BlockHeight = int64(0) + case "emissions.v8.TopicIdBlockHeightScores.scores": + x.Scores = nil + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.TopicIdBlockHeightScores")) + } + panic(fmt.Errorf("message emissions.v8.TopicIdBlockHeightScores does not contain field %s", fd.FullName())) + } +} + +// Get retrieves the value for a field. +// +// For unpopulated scalars, it returns the default value, where +// the default value of a bytes scalar is guaranteed to be a copy. +// For unpopulated composite types, it returns an empty, read-only view +// of the value; to obtain a mutable reference, use Mutable. +func (x *fastReflection_TopicIdBlockHeightScores) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { + switch descriptor.FullName() { + case "emissions.v8.TopicIdBlockHeightScores.topic_id": + value := x.TopicId + return protoreflect.ValueOfUint64(value) + case "emissions.v8.TopicIdBlockHeightScores.block_height": + value := x.BlockHeight + return protoreflect.ValueOfInt64(value) + case "emissions.v8.TopicIdBlockHeightScores.scores": + value := x.Scores + return protoreflect.ValueOfMessage(value.ProtoReflect()) + default: + if descriptor.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.TopicIdBlockHeightScores")) + } + panic(fmt.Errorf("message emissions.v8.TopicIdBlockHeightScores does not contain field %s", descriptor.FullName())) + } +} + +// Set stores the value for a field. +// +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType. +// When setting a composite type, it is unspecified whether the stored value +// aliases the source's memory in any way. If the composite value is an +// empty, read-only value, then it panics. +// +// Set is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_TopicIdBlockHeightScores) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { + switch fd.FullName() { + case "emissions.v8.TopicIdBlockHeightScores.topic_id": + x.TopicId = value.Uint() + case "emissions.v8.TopicIdBlockHeightScores.block_height": + x.BlockHeight = value.Int() + case "emissions.v8.TopicIdBlockHeightScores.scores": + x.Scores = value.Message().Interface().(*v3.Scores) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.TopicIdBlockHeightScores")) + } + panic(fmt.Errorf("message emissions.v8.TopicIdBlockHeightScores does not contain field %s", fd.FullName())) + } +} + +// Mutable returns a mutable reference to a composite type. +// +// If the field is unpopulated, it may allocate a composite value. +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType +// if not already stored. +// It panics if the field does not contain a composite type. +// +// Mutable is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_TopicIdBlockHeightScores) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.TopicIdBlockHeightScores.scores": + if x.Scores == nil { + x.Scores = new(v3.Scores) + } + return protoreflect.ValueOfMessage(x.Scores.ProtoReflect()) + case "emissions.v8.TopicIdBlockHeightScores.topic_id": + panic(fmt.Errorf("field topic_id of message emissions.v8.TopicIdBlockHeightScores is not mutable")) + case "emissions.v8.TopicIdBlockHeightScores.block_height": + panic(fmt.Errorf("field block_height of message emissions.v8.TopicIdBlockHeightScores is not mutable")) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.TopicIdBlockHeightScores")) + } + panic(fmt.Errorf("message emissions.v8.TopicIdBlockHeightScores does not contain field %s", fd.FullName())) + } +} + +// NewField returns a new value that is assignable to the field +// for the given descriptor. For scalars, this returns the default value. +// For lists, maps, and messages, this returns a new, empty, mutable value. +func (x *fastReflection_TopicIdBlockHeightScores) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.TopicIdBlockHeightScores.topic_id": + return protoreflect.ValueOfUint64(uint64(0)) + case "emissions.v8.TopicIdBlockHeightScores.block_height": + return protoreflect.ValueOfInt64(int64(0)) + case "emissions.v8.TopicIdBlockHeightScores.scores": + m := new(v3.Scores) + return protoreflect.ValueOfMessage(m.ProtoReflect()) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.TopicIdBlockHeightScores")) + } + panic(fmt.Errorf("message emissions.v8.TopicIdBlockHeightScores does not contain field %s", fd.FullName())) + } +} + +// WhichOneof reports which field within the oneof is populated, +// returning nil if none are populated. +// It panics if the oneof descriptor does not belong to this message. +func (x *fastReflection_TopicIdBlockHeightScores) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { + switch d.FullName() { + default: + panic(fmt.Errorf("%s is not a oneof field in emissions.v8.TopicIdBlockHeightScores", d.FullName())) + } + panic("unreachable") +} + +// GetUnknown retrieves the entire list of unknown fields. +// The caller may only mutate the contents of the RawFields +// if the mutated bytes are stored back into the message with SetUnknown. +func (x *fastReflection_TopicIdBlockHeightScores) GetUnknown() protoreflect.RawFields { + return x.unknownFields +} + +// SetUnknown stores an entire list of unknown fields. +// The raw fields must be syntactically valid according to the wire format. +// An implementation may panic if this is not the case. +// Once stored, the caller must not mutate the content of the RawFields. +// An empty RawFields may be passed to clear the fields. +// +// SetUnknown is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_TopicIdBlockHeightScores) SetUnknown(fields protoreflect.RawFields) { + x.unknownFields = fields +} + +// IsValid reports whether the message is valid. +// +// An invalid message is an empty, read-only value. +// +// An invalid message often corresponds to a nil pointer of the concrete +// message type, but the details are implementation dependent. +// Validity is not part of the protobuf data model, and may not +// be preserved in marshaling or other operations. +func (x *fastReflection_TopicIdBlockHeightScores) IsValid() bool { + return x != nil +} + +// ProtoMethods returns optional fastReflectionFeature-path implementations of various operations. +// This method may return nil. +// +// The returned methods type is identical to +// "google.golang.org/protobuf/runtime/protoiface".Methods. +// Consult the protoiface package documentation for details. +func (x *fastReflection_TopicIdBlockHeightScores) ProtoMethods() *protoiface.Methods { + size := func(input protoiface.SizeInput) protoiface.SizeOutput { + x := input.Message.Interface().(*TopicIdBlockHeightScores) + if x == nil { + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: 0, + } + } + options := runtime.SizeInputToOptions(input) + _ = options + var n int + var l int + _ = l + if x.TopicId != 0 { + n += 1 + runtime.Sov(uint64(x.TopicId)) + } + if x.BlockHeight != 0 { + n += 1 + runtime.Sov(uint64(x.BlockHeight)) + } + if x.Scores != nil { + l = options.Size(x.Scores) + n += 1 + l + runtime.Sov(uint64(l)) + } + if x.unknownFields != nil { + n += len(x.unknownFields) + } + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: n, + } + } + + marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { + x := input.Message.Interface().(*TopicIdBlockHeightScores) + if x == nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + options := runtime.MarshalInputToOptions(input) + _ = options + size := options.Size(x) + dAtA := make([]byte, size) + i := len(dAtA) + _ = i + var l int + _ = l + if x.unknownFields != nil { + i -= len(x.unknownFields) + copy(dAtA[i:], x.unknownFields) + } + if x.Scores != nil { + encoded, err := options.Marshal(x.Scores) + if err != nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = runtime.EncodeVarint(dAtA, i, uint64(len(encoded))) + i-- + dAtA[i] = 0x1a + } + if x.BlockHeight != 0 { + i = runtime.EncodeVarint(dAtA, i, uint64(x.BlockHeight)) + i-- + dAtA[i] = 0x10 + } + if x.TopicId != 0 { + i = runtime.EncodeVarint(dAtA, i, uint64(x.TopicId)) + i-- + dAtA[i] = 0x8 + } + if input.Buf != nil { + input.Buf = append(input.Buf, dAtA...) + } else { + input.Buf = dAtA + } + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { + x := input.Message.Interface().(*TopicIdBlockHeightScores) + if x == nil { + return protoiface.UnmarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Flags: input.Flags, + }, nil + } + options := runtime.UnmarshalInputToOptions(input) + _ = options + dAtA := input.Buf + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: TopicIdBlockHeightScores: wiretype end group for non-group") + } + if fieldNum <= 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: TopicIdBlockHeightScores: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field TopicId", wireType) + } + x.TopicId = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + x.TopicId |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 2: + if wireType != 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field BlockHeight", wireType) + } + x.BlockHeight = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + x.BlockHeight |= int64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 3: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Scores", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + if x.Scores == nil { + x.Scores = &v3.Scores{} + } + if err := options.Unmarshal(dAtA[iNdEx:postIndex], x.Scores); err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := runtime.Skip(dAtA[iNdEx:]) + if err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if (iNdEx + skippy) > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + if !options.DiscardUnknown { + x.unknownFields = append(x.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + } + iNdEx += skippy + } + } + + if iNdEx > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, nil + } + return &protoiface.Methods{ + NoUnkeyedLiterals: struct{}{}, + Flags: protoiface.SupportMarshalDeterministic | protoiface.SupportUnmarshalDiscardUnknown, + Size: size, + Marshal: marshal, + Unmarshal: unmarshal, + Merge: nil, + CheckInitialized: nil, + } +} + +var ( + md_TopicIdActorIdScore protoreflect.MessageDescriptor + fd_TopicIdActorIdScore_topic_id protoreflect.FieldDescriptor + fd_TopicIdActorIdScore_actor_id protoreflect.FieldDescriptor + fd_TopicIdActorIdScore_score protoreflect.FieldDescriptor +) + +func init() { + file_emissions_v8_genesis_proto_init() + md_TopicIdActorIdScore = File_emissions_v8_genesis_proto.Messages().ByName("TopicIdActorIdScore") + fd_TopicIdActorIdScore_topic_id = md_TopicIdActorIdScore.Fields().ByName("topic_id") + fd_TopicIdActorIdScore_actor_id = md_TopicIdActorIdScore.Fields().ByName("actor_id") + fd_TopicIdActorIdScore_score = md_TopicIdActorIdScore.Fields().ByName("score") +} + +var _ protoreflect.Message = (*fastReflection_TopicIdActorIdScore)(nil) + +type fastReflection_TopicIdActorIdScore TopicIdActorIdScore + +func (x *TopicIdActorIdScore) ProtoReflect() protoreflect.Message { + return (*fastReflection_TopicIdActorIdScore)(x) +} + +func (x *TopicIdActorIdScore) slowProtoReflect() protoreflect.Message { + mi := &file_emissions_v8_genesis_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) +} + +var _fastReflection_TopicIdActorIdScore_messageType fastReflection_TopicIdActorIdScore_messageType +var _ protoreflect.MessageType = fastReflection_TopicIdActorIdScore_messageType{} + +type fastReflection_TopicIdActorIdScore_messageType struct{} + +func (x fastReflection_TopicIdActorIdScore_messageType) Zero() protoreflect.Message { + return (*fastReflection_TopicIdActorIdScore)(nil) +} +func (x fastReflection_TopicIdActorIdScore_messageType) New() protoreflect.Message { + return new(fastReflection_TopicIdActorIdScore) +} +func (x fastReflection_TopicIdActorIdScore_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_TopicIdActorIdScore +} + +// Descriptor returns message descriptor, which contains only the protobuf +// type information for the message. +func (x *fastReflection_TopicIdActorIdScore) Descriptor() protoreflect.MessageDescriptor { + return md_TopicIdActorIdScore +} + +// Type returns the message type, which encapsulates both Go and protobuf +// type information. If the Go type information is not needed, +// it is recommended that the message descriptor be used instead. +func (x *fastReflection_TopicIdActorIdScore) Type() protoreflect.MessageType { + return _fastReflection_TopicIdActorIdScore_messageType +} + +// New returns a newly allocated and mutable empty message. +func (x *fastReflection_TopicIdActorIdScore) New() protoreflect.Message { + return new(fastReflection_TopicIdActorIdScore) +} + +// Interface unwraps the message reflection interface and +// returns the underlying ProtoMessage interface. +func (x *fastReflection_TopicIdActorIdScore) Interface() protoreflect.ProtoMessage { + return (*TopicIdActorIdScore)(x) +} + +// Range iterates over every populated field in an undefined order, +// calling f for each field descriptor and value encountered. +// Range returns immediately if f returns false. +// While iterating, mutating operations may only be performed +// on the current field descriptor. +func (x *fastReflection_TopicIdActorIdScore) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { + if x.TopicId != uint64(0) { + value := protoreflect.ValueOfUint64(x.TopicId) + if !f(fd_TopicIdActorIdScore_topic_id, value) { + return + } + } + if x.ActorId != "" { + value := protoreflect.ValueOfString(x.ActorId) + if !f(fd_TopicIdActorIdScore_actor_id, value) { + return + } + } + if x.Score != nil { + value := protoreflect.ValueOfMessage(x.Score.ProtoReflect()) + if !f(fd_TopicIdActorIdScore_score, value) { + return + } + } +} + +// Has reports whether a field is populated. +// +// Some fields have the property of nullability where it is possible to +// distinguish between the default value of a field and whether the field +// was explicitly populated with the default value. Singular message fields, +// member fields of a oneof, and proto2 scalar fields are nullable. Such +// fields are populated only if explicitly set. +// +// In other cases (aside from the nullable cases above), +// a proto3 scalar field is populated if it contains a non-zero value, and +// a repeated field is populated if it is non-empty. +func (x *fastReflection_TopicIdActorIdScore) Has(fd protoreflect.FieldDescriptor) bool { + switch fd.FullName() { + case "emissions.v8.TopicIdActorIdScore.topic_id": + return x.TopicId != uint64(0) + case "emissions.v8.TopicIdActorIdScore.actor_id": + return x.ActorId != "" + case "emissions.v8.TopicIdActorIdScore.score": + return x.Score != nil + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.TopicIdActorIdScore")) + } + panic(fmt.Errorf("message emissions.v8.TopicIdActorIdScore does not contain field %s", fd.FullName())) + } +} + +// Clear clears the field such that a subsequent Has call reports false. +// +// Clearing an extension field clears both the extension type and value +// associated with the given field number. +// +// Clear is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_TopicIdActorIdScore) Clear(fd protoreflect.FieldDescriptor) { + switch fd.FullName() { + case "emissions.v8.TopicIdActorIdScore.topic_id": + x.TopicId = uint64(0) + case "emissions.v8.TopicIdActorIdScore.actor_id": + x.ActorId = "" + case "emissions.v8.TopicIdActorIdScore.score": + x.Score = nil + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.TopicIdActorIdScore")) + } + panic(fmt.Errorf("message emissions.v8.TopicIdActorIdScore does not contain field %s", fd.FullName())) + } +} + +// Get retrieves the value for a field. +// +// For unpopulated scalars, it returns the default value, where +// the default value of a bytes scalar is guaranteed to be a copy. +// For unpopulated composite types, it returns an empty, read-only view +// of the value; to obtain a mutable reference, use Mutable. +func (x *fastReflection_TopicIdActorIdScore) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { + switch descriptor.FullName() { + case "emissions.v8.TopicIdActorIdScore.topic_id": + value := x.TopicId + return protoreflect.ValueOfUint64(value) + case "emissions.v8.TopicIdActorIdScore.actor_id": + value := x.ActorId + return protoreflect.ValueOfString(value) + case "emissions.v8.TopicIdActorIdScore.score": + value := x.Score + return protoreflect.ValueOfMessage(value.ProtoReflect()) + default: + if descriptor.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.TopicIdActorIdScore")) + } + panic(fmt.Errorf("message emissions.v8.TopicIdActorIdScore does not contain field %s", descriptor.FullName())) + } +} + +// Set stores the value for a field. +// +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType. +// When setting a composite type, it is unspecified whether the stored value +// aliases the source's memory in any way. If the composite value is an +// empty, read-only value, then it panics. +// +// Set is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_TopicIdActorIdScore) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { + switch fd.FullName() { + case "emissions.v8.TopicIdActorIdScore.topic_id": + x.TopicId = value.Uint() + case "emissions.v8.TopicIdActorIdScore.actor_id": + x.ActorId = value.Interface().(string) + case "emissions.v8.TopicIdActorIdScore.score": + x.Score = value.Message().Interface().(*v3.Score) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.TopicIdActorIdScore")) + } + panic(fmt.Errorf("message emissions.v8.TopicIdActorIdScore does not contain field %s", fd.FullName())) + } +} + +// Mutable returns a mutable reference to a composite type. +// +// If the field is unpopulated, it may allocate a composite value. +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType +// if not already stored. +// It panics if the field does not contain a composite type. +// +// Mutable is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_TopicIdActorIdScore) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.TopicIdActorIdScore.score": + if x.Score == nil { + x.Score = new(v3.Score) + } + return protoreflect.ValueOfMessage(x.Score.ProtoReflect()) + case "emissions.v8.TopicIdActorIdScore.topic_id": + panic(fmt.Errorf("field topic_id of message emissions.v8.TopicIdActorIdScore is not mutable")) + case "emissions.v8.TopicIdActorIdScore.actor_id": + panic(fmt.Errorf("field actor_id of message emissions.v8.TopicIdActorIdScore is not mutable")) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.TopicIdActorIdScore")) + } + panic(fmt.Errorf("message emissions.v8.TopicIdActorIdScore does not contain field %s", fd.FullName())) + } +} + +// NewField returns a new value that is assignable to the field +// for the given descriptor. For scalars, this returns the default value. +// For lists, maps, and messages, this returns a new, empty, mutable value. +func (x *fastReflection_TopicIdActorIdScore) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.TopicIdActorIdScore.topic_id": + return protoreflect.ValueOfUint64(uint64(0)) + case "emissions.v8.TopicIdActorIdScore.actor_id": + return protoreflect.ValueOfString("") + case "emissions.v8.TopicIdActorIdScore.score": + m := new(v3.Score) + return protoreflect.ValueOfMessage(m.ProtoReflect()) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.TopicIdActorIdScore")) + } + panic(fmt.Errorf("message emissions.v8.TopicIdActorIdScore does not contain field %s", fd.FullName())) + } +} + +// WhichOneof reports which field within the oneof is populated, +// returning nil if none are populated. +// It panics if the oneof descriptor does not belong to this message. +func (x *fastReflection_TopicIdActorIdScore) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { + switch d.FullName() { + default: + panic(fmt.Errorf("%s is not a oneof field in emissions.v8.TopicIdActorIdScore", d.FullName())) + } + panic("unreachable") +} + +// GetUnknown retrieves the entire list of unknown fields. +// The caller may only mutate the contents of the RawFields +// if the mutated bytes are stored back into the message with SetUnknown. +func (x *fastReflection_TopicIdActorIdScore) GetUnknown() protoreflect.RawFields { + return x.unknownFields +} + +// SetUnknown stores an entire list of unknown fields. +// The raw fields must be syntactically valid according to the wire format. +// An implementation may panic if this is not the case. +// Once stored, the caller must not mutate the content of the RawFields. +// An empty RawFields may be passed to clear the fields. +// +// SetUnknown is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_TopicIdActorIdScore) SetUnknown(fields protoreflect.RawFields) { + x.unknownFields = fields +} + +// IsValid reports whether the message is valid. +// +// An invalid message is an empty, read-only value. +// +// An invalid message often corresponds to a nil pointer of the concrete +// message type, but the details are implementation dependent. +// Validity is not part of the protobuf data model, and may not +// be preserved in marshaling or other operations. +func (x *fastReflection_TopicIdActorIdScore) IsValid() bool { + return x != nil +} + +// ProtoMethods returns optional fastReflectionFeature-path implementations of various operations. +// This method may return nil. +// +// The returned methods type is identical to +// "google.golang.org/protobuf/runtime/protoiface".Methods. +// Consult the protoiface package documentation for details. +func (x *fastReflection_TopicIdActorIdScore) ProtoMethods() *protoiface.Methods { + size := func(input protoiface.SizeInput) protoiface.SizeOutput { + x := input.Message.Interface().(*TopicIdActorIdScore) + if x == nil { + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: 0, + } + } + options := runtime.SizeInputToOptions(input) + _ = options + var n int + var l int + _ = l + if x.TopicId != 0 { + n += 1 + runtime.Sov(uint64(x.TopicId)) + } + l = len(x.ActorId) + if l > 0 { + n += 1 + l + runtime.Sov(uint64(l)) + } + if x.Score != nil { + l = options.Size(x.Score) + n += 1 + l + runtime.Sov(uint64(l)) + } + if x.unknownFields != nil { + n += len(x.unknownFields) + } + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: n, + } + } + + marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { + x := input.Message.Interface().(*TopicIdActorIdScore) + if x == nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + options := runtime.MarshalInputToOptions(input) + _ = options + size := options.Size(x) + dAtA := make([]byte, size) + i := len(dAtA) + _ = i + var l int + _ = l + if x.unknownFields != nil { + i -= len(x.unknownFields) + copy(dAtA[i:], x.unknownFields) + } + if x.Score != nil { + encoded, err := options.Marshal(x.Score) + if err != nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = runtime.EncodeVarint(dAtA, i, uint64(len(encoded))) + i-- + dAtA[i] = 0x1a + } + if len(x.ActorId) > 0 { + i -= len(x.ActorId) + copy(dAtA[i:], x.ActorId) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.ActorId))) + i-- + dAtA[i] = 0x12 + } + if x.TopicId != 0 { + i = runtime.EncodeVarint(dAtA, i, uint64(x.TopicId)) + i-- + dAtA[i] = 0x8 + } + if input.Buf != nil { + input.Buf = append(input.Buf, dAtA...) + } else { + input.Buf = dAtA + } + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { + x := input.Message.Interface().(*TopicIdActorIdScore) + if x == nil { + return protoiface.UnmarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Flags: input.Flags, + }, nil + } + options := runtime.UnmarshalInputToOptions(input) + _ = options + dAtA := input.Buf + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: TopicIdActorIdScore: wiretype end group for non-group") + } + if fieldNum <= 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: TopicIdActorIdScore: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field TopicId", wireType) + } + x.TopicId = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + x.TopicId |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 2: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field ActorId", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + x.ActorId = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 3: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Score", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + if x.Score == nil { + x.Score = &v3.Score{} + } + if err := options.Unmarshal(dAtA[iNdEx:postIndex], x.Score); err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := runtime.Skip(dAtA[iNdEx:]) + if err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if (iNdEx + skippy) > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + if !options.DiscardUnknown { + x.unknownFields = append(x.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + } + iNdEx += skippy + } + } + + if iNdEx > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, nil + } + return &protoiface.Methods{ + NoUnkeyedLiterals: struct{}{}, + Flags: protoiface.SupportMarshalDeterministic | protoiface.SupportUnmarshalDiscardUnknown, + Size: size, + Marshal: marshal, + Unmarshal: unmarshal, + Merge: nil, + CheckInitialized: nil, + } +} + +var ( + md_TopicIdActorIdUint64 protoreflect.MessageDescriptor + fd_TopicIdActorIdUint64_topic_id protoreflect.FieldDescriptor + fd_TopicIdActorIdUint64_actor_id protoreflect.FieldDescriptor + fd_TopicIdActorIdUint64_uint64 protoreflect.FieldDescriptor +) + +func init() { + file_emissions_v8_genesis_proto_init() + md_TopicIdActorIdUint64 = File_emissions_v8_genesis_proto.Messages().ByName("TopicIdActorIdUint64") + fd_TopicIdActorIdUint64_topic_id = md_TopicIdActorIdUint64.Fields().ByName("topic_id") + fd_TopicIdActorIdUint64_actor_id = md_TopicIdActorIdUint64.Fields().ByName("actor_id") + fd_TopicIdActorIdUint64_uint64 = md_TopicIdActorIdUint64.Fields().ByName("uint64") +} + +var _ protoreflect.Message = (*fastReflection_TopicIdActorIdUint64)(nil) + +type fastReflection_TopicIdActorIdUint64 TopicIdActorIdUint64 + +func (x *TopicIdActorIdUint64) ProtoReflect() protoreflect.Message { + return (*fastReflection_TopicIdActorIdUint64)(x) +} + +func (x *TopicIdActorIdUint64) slowProtoReflect() protoreflect.Message { + mi := &file_emissions_v8_genesis_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) +} + +var _fastReflection_TopicIdActorIdUint64_messageType fastReflection_TopicIdActorIdUint64_messageType +var _ protoreflect.MessageType = fastReflection_TopicIdActorIdUint64_messageType{} + +type fastReflection_TopicIdActorIdUint64_messageType struct{} + +func (x fastReflection_TopicIdActorIdUint64_messageType) Zero() protoreflect.Message { + return (*fastReflection_TopicIdActorIdUint64)(nil) +} +func (x fastReflection_TopicIdActorIdUint64_messageType) New() protoreflect.Message { + return new(fastReflection_TopicIdActorIdUint64) +} +func (x fastReflection_TopicIdActorIdUint64_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_TopicIdActorIdUint64 +} + +// Descriptor returns message descriptor, which contains only the protobuf +// type information for the message. +func (x *fastReflection_TopicIdActorIdUint64) Descriptor() protoreflect.MessageDescriptor { + return md_TopicIdActorIdUint64 +} + +// Type returns the message type, which encapsulates both Go and protobuf +// type information. If the Go type information is not needed, +// it is recommended that the message descriptor be used instead. +func (x *fastReflection_TopicIdActorIdUint64) Type() protoreflect.MessageType { + return _fastReflection_TopicIdActorIdUint64_messageType +} + +// New returns a newly allocated and mutable empty message. +func (x *fastReflection_TopicIdActorIdUint64) New() protoreflect.Message { + return new(fastReflection_TopicIdActorIdUint64) +} + +// Interface unwraps the message reflection interface and +// returns the underlying ProtoMessage interface. +func (x *fastReflection_TopicIdActorIdUint64) Interface() protoreflect.ProtoMessage { + return (*TopicIdActorIdUint64)(x) +} + +// Range iterates over every populated field in an undefined order, +// calling f for each field descriptor and value encountered. +// Range returns immediately if f returns false. +// While iterating, mutating operations may only be performed +// on the current field descriptor. +func (x *fastReflection_TopicIdActorIdUint64) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { + if x.TopicId != uint64(0) { + value := protoreflect.ValueOfUint64(x.TopicId) + if !f(fd_TopicIdActorIdUint64_topic_id, value) { + return + } + } + if x.ActorId != "" { + value := protoreflect.ValueOfString(x.ActorId) + if !f(fd_TopicIdActorIdUint64_actor_id, value) { + return + } + } + if x.Uint64 != uint64(0) { + value := protoreflect.ValueOfUint64(x.Uint64) + if !f(fd_TopicIdActorIdUint64_uint64, value) { + return + } + } +} + +// Has reports whether a field is populated. +// +// Some fields have the property of nullability where it is possible to +// distinguish between the default value of a field and whether the field +// was explicitly populated with the default value. Singular message fields, +// member fields of a oneof, and proto2 scalar fields are nullable. Such +// fields are populated only if explicitly set. +// +// In other cases (aside from the nullable cases above), +// a proto3 scalar field is populated if it contains a non-zero value, and +// a repeated field is populated if it is non-empty. +func (x *fastReflection_TopicIdActorIdUint64) Has(fd protoreflect.FieldDescriptor) bool { + switch fd.FullName() { + case "emissions.v8.TopicIdActorIdUint64.topic_id": + return x.TopicId != uint64(0) + case "emissions.v8.TopicIdActorIdUint64.actor_id": + return x.ActorId != "" + case "emissions.v8.TopicIdActorIdUint64.uint64": + return x.Uint64 != uint64(0) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.TopicIdActorIdUint64")) + } + panic(fmt.Errorf("message emissions.v8.TopicIdActorIdUint64 does not contain field %s", fd.FullName())) + } +} + +// Clear clears the field such that a subsequent Has call reports false. +// +// Clearing an extension field clears both the extension type and value +// associated with the given field number. +// +// Clear is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_TopicIdActorIdUint64) Clear(fd protoreflect.FieldDescriptor) { + switch fd.FullName() { + case "emissions.v8.TopicIdActorIdUint64.topic_id": + x.TopicId = uint64(0) + case "emissions.v8.TopicIdActorIdUint64.actor_id": + x.ActorId = "" + case "emissions.v8.TopicIdActorIdUint64.uint64": + x.Uint64 = uint64(0) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.TopicIdActorIdUint64")) + } + panic(fmt.Errorf("message emissions.v8.TopicIdActorIdUint64 does not contain field %s", fd.FullName())) + } +} + +// Get retrieves the value for a field. +// +// For unpopulated scalars, it returns the default value, where +// the default value of a bytes scalar is guaranteed to be a copy. +// For unpopulated composite types, it returns an empty, read-only view +// of the value; to obtain a mutable reference, use Mutable. +func (x *fastReflection_TopicIdActorIdUint64) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { + switch descriptor.FullName() { + case "emissions.v8.TopicIdActorIdUint64.topic_id": + value := x.TopicId + return protoreflect.ValueOfUint64(value) + case "emissions.v8.TopicIdActorIdUint64.actor_id": + value := x.ActorId + return protoreflect.ValueOfString(value) + case "emissions.v8.TopicIdActorIdUint64.uint64": + value := x.Uint64 + return protoreflect.ValueOfUint64(value) + default: + if descriptor.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.TopicIdActorIdUint64")) + } + panic(fmt.Errorf("message emissions.v8.TopicIdActorIdUint64 does not contain field %s", descriptor.FullName())) + } +} + +// Set stores the value for a field. +// +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType. +// When setting a composite type, it is unspecified whether the stored value +// aliases the source's memory in any way. If the composite value is an +// empty, read-only value, then it panics. +// +// Set is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_TopicIdActorIdUint64) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { + switch fd.FullName() { + case "emissions.v8.TopicIdActorIdUint64.topic_id": + x.TopicId = value.Uint() + case "emissions.v8.TopicIdActorIdUint64.actor_id": + x.ActorId = value.Interface().(string) + case "emissions.v8.TopicIdActorIdUint64.uint64": + x.Uint64 = value.Uint() + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.TopicIdActorIdUint64")) + } + panic(fmt.Errorf("message emissions.v8.TopicIdActorIdUint64 does not contain field %s", fd.FullName())) + } +} + +// Mutable returns a mutable reference to a composite type. +// +// If the field is unpopulated, it may allocate a composite value. +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType +// if not already stored. +// It panics if the field does not contain a composite type. +// +// Mutable is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_TopicIdActorIdUint64) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.TopicIdActorIdUint64.topic_id": + panic(fmt.Errorf("field topic_id of message emissions.v8.TopicIdActorIdUint64 is not mutable")) + case "emissions.v8.TopicIdActorIdUint64.actor_id": + panic(fmt.Errorf("field actor_id of message emissions.v8.TopicIdActorIdUint64 is not mutable")) + case "emissions.v8.TopicIdActorIdUint64.uint64": + panic(fmt.Errorf("field uint64 of message emissions.v8.TopicIdActorIdUint64 is not mutable")) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.TopicIdActorIdUint64")) + } + panic(fmt.Errorf("message emissions.v8.TopicIdActorIdUint64 does not contain field %s", fd.FullName())) + } +} + +// NewField returns a new value that is assignable to the field +// for the given descriptor. For scalars, this returns the default value. +// For lists, maps, and messages, this returns a new, empty, mutable value. +func (x *fastReflection_TopicIdActorIdUint64) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.TopicIdActorIdUint64.topic_id": + return protoreflect.ValueOfUint64(uint64(0)) + case "emissions.v8.TopicIdActorIdUint64.actor_id": + return protoreflect.ValueOfString("") + case "emissions.v8.TopicIdActorIdUint64.uint64": + return protoreflect.ValueOfUint64(uint64(0)) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.TopicIdActorIdUint64")) + } + panic(fmt.Errorf("message emissions.v8.TopicIdActorIdUint64 does not contain field %s", fd.FullName())) + } +} + +// WhichOneof reports which field within the oneof is populated, +// returning nil if none are populated. +// It panics if the oneof descriptor does not belong to this message. +func (x *fastReflection_TopicIdActorIdUint64) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { + switch d.FullName() { + default: + panic(fmt.Errorf("%s is not a oneof field in emissions.v8.TopicIdActorIdUint64", d.FullName())) + } + panic("unreachable") +} + +// GetUnknown retrieves the entire list of unknown fields. +// The caller may only mutate the contents of the RawFields +// if the mutated bytes are stored back into the message with SetUnknown. +func (x *fastReflection_TopicIdActorIdUint64) GetUnknown() protoreflect.RawFields { + return x.unknownFields +} + +// SetUnknown stores an entire list of unknown fields. +// The raw fields must be syntactically valid according to the wire format. +// An implementation may panic if this is not the case. +// Once stored, the caller must not mutate the content of the RawFields. +// An empty RawFields may be passed to clear the fields. +// +// SetUnknown is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_TopicIdActorIdUint64) SetUnknown(fields protoreflect.RawFields) { + x.unknownFields = fields +} + +// IsValid reports whether the message is valid. +// +// An invalid message is an empty, read-only value. +// +// An invalid message often corresponds to a nil pointer of the concrete +// message type, but the details are implementation dependent. +// Validity is not part of the protobuf data model, and may not +// be preserved in marshaling or other operations. +func (x *fastReflection_TopicIdActorIdUint64) IsValid() bool { + return x != nil +} + +// ProtoMethods returns optional fastReflectionFeature-path implementations of various operations. +// This method may return nil. +// +// The returned methods type is identical to +// "google.golang.org/protobuf/runtime/protoiface".Methods. +// Consult the protoiface package documentation for details. +func (x *fastReflection_TopicIdActorIdUint64) ProtoMethods() *protoiface.Methods { + size := func(input protoiface.SizeInput) protoiface.SizeOutput { + x := input.Message.Interface().(*TopicIdActorIdUint64) + if x == nil { + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: 0, + } + } + options := runtime.SizeInputToOptions(input) + _ = options + var n int + var l int + _ = l + if x.TopicId != 0 { + n += 1 + runtime.Sov(uint64(x.TopicId)) + } + l = len(x.ActorId) + if l > 0 { + n += 1 + l + runtime.Sov(uint64(l)) + } + if x.Uint64 != 0 { + n += 1 + runtime.Sov(uint64(x.Uint64)) + } + if x.unknownFields != nil { + n += len(x.unknownFields) + } + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: n, + } + } + + marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { + x := input.Message.Interface().(*TopicIdActorIdUint64) + if x == nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + options := runtime.MarshalInputToOptions(input) + _ = options + size := options.Size(x) + dAtA := make([]byte, size) + i := len(dAtA) + _ = i + var l int + _ = l + if x.unknownFields != nil { + i -= len(x.unknownFields) + copy(dAtA[i:], x.unknownFields) + } + if x.Uint64 != 0 { + i = runtime.EncodeVarint(dAtA, i, uint64(x.Uint64)) + i-- + dAtA[i] = 0x18 + } + if len(x.ActorId) > 0 { + i -= len(x.ActorId) + copy(dAtA[i:], x.ActorId) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.ActorId))) + i-- + dAtA[i] = 0x12 + } + if x.TopicId != 0 { + i = runtime.EncodeVarint(dAtA, i, uint64(x.TopicId)) + i-- + dAtA[i] = 0x8 + } + if input.Buf != nil { + input.Buf = append(input.Buf, dAtA...) + } else { + input.Buf = dAtA + } + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { + x := input.Message.Interface().(*TopicIdActorIdUint64) + if x == nil { + return protoiface.UnmarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Flags: input.Flags, + }, nil + } + options := runtime.UnmarshalInputToOptions(input) + _ = options + dAtA := input.Buf + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: TopicIdActorIdUint64: wiretype end group for non-group") + } + if fieldNum <= 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: TopicIdActorIdUint64: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field TopicId", wireType) + } + x.TopicId = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + x.TopicId |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 2: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field ActorId", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + x.ActorId = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 3: + if wireType != 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Uint64", wireType) + } + x.Uint64 = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + x.Uint64 |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + default: + iNdEx = preIndex + skippy, err := runtime.Skip(dAtA[iNdEx:]) + if err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if (iNdEx + skippy) > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + if !options.DiscardUnknown { + x.unknownFields = append(x.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + } + iNdEx += skippy + } + } + + if iNdEx > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, nil + } + return &protoiface.Methods{ + NoUnkeyedLiterals: struct{}{}, + Flags: protoiface.SupportMarshalDeterministic | protoiface.SupportUnmarshalDiscardUnknown, + Size: size, + Marshal: marshal, + Unmarshal: unmarshal, + Merge: nil, + CheckInitialized: nil, + } +} + +var ( + md_TopicIdActorIdListeningCoefficient protoreflect.MessageDescriptor + fd_TopicIdActorIdListeningCoefficient_topic_id protoreflect.FieldDescriptor + fd_TopicIdActorIdListeningCoefficient_actor_id protoreflect.FieldDescriptor + fd_TopicIdActorIdListeningCoefficient_listening_coefficient protoreflect.FieldDescriptor +) + +func init() { + file_emissions_v8_genesis_proto_init() + md_TopicIdActorIdListeningCoefficient = File_emissions_v8_genesis_proto.Messages().ByName("TopicIdActorIdListeningCoefficient") + fd_TopicIdActorIdListeningCoefficient_topic_id = md_TopicIdActorIdListeningCoefficient.Fields().ByName("topic_id") + fd_TopicIdActorIdListeningCoefficient_actor_id = md_TopicIdActorIdListeningCoefficient.Fields().ByName("actor_id") + fd_TopicIdActorIdListeningCoefficient_listening_coefficient = md_TopicIdActorIdListeningCoefficient.Fields().ByName("listening_coefficient") +} + +var _ protoreflect.Message = (*fastReflection_TopicIdActorIdListeningCoefficient)(nil) + +type fastReflection_TopicIdActorIdListeningCoefficient TopicIdActorIdListeningCoefficient + +func (x *TopicIdActorIdListeningCoefficient) ProtoReflect() protoreflect.Message { + return (*fastReflection_TopicIdActorIdListeningCoefficient)(x) +} + +func (x *TopicIdActorIdListeningCoefficient) slowProtoReflect() protoreflect.Message { + mi := &file_emissions_v8_genesis_proto_msgTypes[8] + 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) +} + +var _fastReflection_TopicIdActorIdListeningCoefficient_messageType fastReflection_TopicIdActorIdListeningCoefficient_messageType +var _ protoreflect.MessageType = fastReflection_TopicIdActorIdListeningCoefficient_messageType{} + +type fastReflection_TopicIdActorIdListeningCoefficient_messageType struct{} + +func (x fastReflection_TopicIdActorIdListeningCoefficient_messageType) Zero() protoreflect.Message { + return (*fastReflection_TopicIdActorIdListeningCoefficient)(nil) +} +func (x fastReflection_TopicIdActorIdListeningCoefficient_messageType) New() protoreflect.Message { + return new(fastReflection_TopicIdActorIdListeningCoefficient) +} +func (x fastReflection_TopicIdActorIdListeningCoefficient_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_TopicIdActorIdListeningCoefficient +} + +// Descriptor returns message descriptor, which contains only the protobuf +// type information for the message. +func (x *fastReflection_TopicIdActorIdListeningCoefficient) Descriptor() protoreflect.MessageDescriptor { + return md_TopicIdActorIdListeningCoefficient +} + +// Type returns the message type, which encapsulates both Go and protobuf +// type information. If the Go type information is not needed, +// it is recommended that the message descriptor be used instead. +func (x *fastReflection_TopicIdActorIdListeningCoefficient) Type() protoreflect.MessageType { + return _fastReflection_TopicIdActorIdListeningCoefficient_messageType +} + +// New returns a newly allocated and mutable empty message. +func (x *fastReflection_TopicIdActorIdListeningCoefficient) New() protoreflect.Message { + return new(fastReflection_TopicIdActorIdListeningCoefficient) +} + +// Interface unwraps the message reflection interface and +// returns the underlying ProtoMessage interface. +func (x *fastReflection_TopicIdActorIdListeningCoefficient) Interface() protoreflect.ProtoMessage { + return (*TopicIdActorIdListeningCoefficient)(x) +} + +// Range iterates over every populated field in an undefined order, +// calling f for each field descriptor and value encountered. +// Range returns immediately if f returns false. +// While iterating, mutating operations may only be performed +// on the current field descriptor. +func (x *fastReflection_TopicIdActorIdListeningCoefficient) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { + if x.TopicId != uint64(0) { + value := protoreflect.ValueOfUint64(x.TopicId) + if !f(fd_TopicIdActorIdListeningCoefficient_topic_id, value) { + return + } + } + if x.ActorId != "" { + value := protoreflect.ValueOfString(x.ActorId) + if !f(fd_TopicIdActorIdListeningCoefficient_actor_id, value) { + return + } + } + if x.ListeningCoefficient != nil { + value := protoreflect.ValueOfMessage(x.ListeningCoefficient.ProtoReflect()) + if !f(fd_TopicIdActorIdListeningCoefficient_listening_coefficient, value) { + return + } + } +} + +// Has reports whether a field is populated. +// +// Some fields have the property of nullability where it is possible to +// distinguish between the default value of a field and whether the field +// was explicitly populated with the default value. Singular message fields, +// member fields of a oneof, and proto2 scalar fields are nullable. Such +// fields are populated only if explicitly set. +// +// In other cases (aside from the nullable cases above), +// a proto3 scalar field is populated if it contains a non-zero value, and +// a repeated field is populated if it is non-empty. +func (x *fastReflection_TopicIdActorIdListeningCoefficient) Has(fd protoreflect.FieldDescriptor) bool { + switch fd.FullName() { + case "emissions.v8.TopicIdActorIdListeningCoefficient.topic_id": + return x.TopicId != uint64(0) + case "emissions.v8.TopicIdActorIdListeningCoefficient.actor_id": + return x.ActorId != "" + case "emissions.v8.TopicIdActorIdListeningCoefficient.listening_coefficient": + return x.ListeningCoefficient != nil + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.TopicIdActorIdListeningCoefficient")) + } + panic(fmt.Errorf("message emissions.v8.TopicIdActorIdListeningCoefficient does not contain field %s", fd.FullName())) + } +} + +// Clear clears the field such that a subsequent Has call reports false. +// +// Clearing an extension field clears both the extension type and value +// associated with the given field number. +// +// Clear is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_TopicIdActorIdListeningCoefficient) Clear(fd protoreflect.FieldDescriptor) { + switch fd.FullName() { + case "emissions.v8.TopicIdActorIdListeningCoefficient.topic_id": + x.TopicId = uint64(0) + case "emissions.v8.TopicIdActorIdListeningCoefficient.actor_id": + x.ActorId = "" + case "emissions.v8.TopicIdActorIdListeningCoefficient.listening_coefficient": + x.ListeningCoefficient = nil + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.TopicIdActorIdListeningCoefficient")) + } + panic(fmt.Errorf("message emissions.v8.TopicIdActorIdListeningCoefficient does not contain field %s", fd.FullName())) + } +} + +// Get retrieves the value for a field. +// +// For unpopulated scalars, it returns the default value, where +// the default value of a bytes scalar is guaranteed to be a copy. +// For unpopulated composite types, it returns an empty, read-only view +// of the value; to obtain a mutable reference, use Mutable. +func (x *fastReflection_TopicIdActorIdListeningCoefficient) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { + switch descriptor.FullName() { + case "emissions.v8.TopicIdActorIdListeningCoefficient.topic_id": + value := x.TopicId + return protoreflect.ValueOfUint64(value) + case "emissions.v8.TopicIdActorIdListeningCoefficient.actor_id": + value := x.ActorId + return protoreflect.ValueOfString(value) + case "emissions.v8.TopicIdActorIdListeningCoefficient.listening_coefficient": + value := x.ListeningCoefficient + return protoreflect.ValueOfMessage(value.ProtoReflect()) + default: + if descriptor.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.TopicIdActorIdListeningCoefficient")) + } + panic(fmt.Errorf("message emissions.v8.TopicIdActorIdListeningCoefficient does not contain field %s", descriptor.FullName())) + } +} + +// Set stores the value for a field. +// +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType. +// When setting a composite type, it is unspecified whether the stored value +// aliases the source's memory in any way. If the composite value is an +// empty, read-only value, then it panics. +// +// Set is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_TopicIdActorIdListeningCoefficient) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { + switch fd.FullName() { + case "emissions.v8.TopicIdActorIdListeningCoefficient.topic_id": + x.TopicId = value.Uint() + case "emissions.v8.TopicIdActorIdListeningCoefficient.actor_id": + x.ActorId = value.Interface().(string) + case "emissions.v8.TopicIdActorIdListeningCoefficient.listening_coefficient": + x.ListeningCoefficient = value.Message().Interface().(*v3.ListeningCoefficient) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.TopicIdActorIdListeningCoefficient")) + } + panic(fmt.Errorf("message emissions.v8.TopicIdActorIdListeningCoefficient does not contain field %s", fd.FullName())) + } +} + +// Mutable returns a mutable reference to a composite type. +// +// If the field is unpopulated, it may allocate a composite value. +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType +// if not already stored. +// It panics if the field does not contain a composite type. +// +// Mutable is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_TopicIdActorIdListeningCoefficient) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.TopicIdActorIdListeningCoefficient.listening_coefficient": + if x.ListeningCoefficient == nil { + x.ListeningCoefficient = new(v3.ListeningCoefficient) + } + return protoreflect.ValueOfMessage(x.ListeningCoefficient.ProtoReflect()) + case "emissions.v8.TopicIdActorIdListeningCoefficient.topic_id": + panic(fmt.Errorf("field topic_id of message emissions.v8.TopicIdActorIdListeningCoefficient is not mutable")) + case "emissions.v8.TopicIdActorIdListeningCoefficient.actor_id": + panic(fmt.Errorf("field actor_id of message emissions.v8.TopicIdActorIdListeningCoefficient is not mutable")) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.TopicIdActorIdListeningCoefficient")) + } + panic(fmt.Errorf("message emissions.v8.TopicIdActorIdListeningCoefficient does not contain field %s", fd.FullName())) + } +} + +// NewField returns a new value that is assignable to the field +// for the given descriptor. For scalars, this returns the default value. +// For lists, maps, and messages, this returns a new, empty, mutable value. +func (x *fastReflection_TopicIdActorIdListeningCoefficient) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.TopicIdActorIdListeningCoefficient.topic_id": + return protoreflect.ValueOfUint64(uint64(0)) + case "emissions.v8.TopicIdActorIdListeningCoefficient.actor_id": + return protoreflect.ValueOfString("") + case "emissions.v8.TopicIdActorIdListeningCoefficient.listening_coefficient": + m := new(v3.ListeningCoefficient) + return protoreflect.ValueOfMessage(m.ProtoReflect()) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.TopicIdActorIdListeningCoefficient")) + } + panic(fmt.Errorf("message emissions.v8.TopicIdActorIdListeningCoefficient does not contain field %s", fd.FullName())) + } +} + +// WhichOneof reports which field within the oneof is populated, +// returning nil if none are populated. +// It panics if the oneof descriptor does not belong to this message. +func (x *fastReflection_TopicIdActorIdListeningCoefficient) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { + switch d.FullName() { + default: + panic(fmt.Errorf("%s is not a oneof field in emissions.v8.TopicIdActorIdListeningCoefficient", d.FullName())) + } + panic("unreachable") +} + +// GetUnknown retrieves the entire list of unknown fields. +// The caller may only mutate the contents of the RawFields +// if the mutated bytes are stored back into the message with SetUnknown. +func (x *fastReflection_TopicIdActorIdListeningCoefficient) GetUnknown() protoreflect.RawFields { + return x.unknownFields +} + +// SetUnknown stores an entire list of unknown fields. +// The raw fields must be syntactically valid according to the wire format. +// An implementation may panic if this is not the case. +// Once stored, the caller must not mutate the content of the RawFields. +// An empty RawFields may be passed to clear the fields. +// +// SetUnknown is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_TopicIdActorIdListeningCoefficient) SetUnknown(fields protoreflect.RawFields) { + x.unknownFields = fields +} + +// IsValid reports whether the message is valid. +// +// An invalid message is an empty, read-only value. +// +// An invalid message often corresponds to a nil pointer of the concrete +// message type, but the details are implementation dependent. +// Validity is not part of the protobuf data model, and may not +// be preserved in marshaling or other operations. +func (x *fastReflection_TopicIdActorIdListeningCoefficient) IsValid() bool { + return x != nil +} + +// ProtoMethods returns optional fastReflectionFeature-path implementations of various operations. +// This method may return nil. +// +// The returned methods type is identical to +// "google.golang.org/protobuf/runtime/protoiface".Methods. +// Consult the protoiface package documentation for details. +func (x *fastReflection_TopicIdActorIdListeningCoefficient) ProtoMethods() *protoiface.Methods { + size := func(input protoiface.SizeInput) protoiface.SizeOutput { + x := input.Message.Interface().(*TopicIdActorIdListeningCoefficient) + if x == nil { + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: 0, + } + } + options := runtime.SizeInputToOptions(input) + _ = options + var n int + var l int + _ = l + if x.TopicId != 0 { + n += 1 + runtime.Sov(uint64(x.TopicId)) + } + l = len(x.ActorId) + if l > 0 { + n += 1 + l + runtime.Sov(uint64(l)) + } + if x.ListeningCoefficient != nil { + l = options.Size(x.ListeningCoefficient) + n += 1 + l + runtime.Sov(uint64(l)) + } + if x.unknownFields != nil { + n += len(x.unknownFields) + } + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: n, + } + } + + marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { + x := input.Message.Interface().(*TopicIdActorIdListeningCoefficient) + if x == nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + options := runtime.MarshalInputToOptions(input) + _ = options + size := options.Size(x) + dAtA := make([]byte, size) + i := len(dAtA) + _ = i + var l int + _ = l + if x.unknownFields != nil { + i -= len(x.unknownFields) + copy(dAtA[i:], x.unknownFields) + } + if x.ListeningCoefficient != nil { + encoded, err := options.Marshal(x.ListeningCoefficient) + if err != nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = runtime.EncodeVarint(dAtA, i, uint64(len(encoded))) + i-- + dAtA[i] = 0x1a + } + if len(x.ActorId) > 0 { + i -= len(x.ActorId) + copy(dAtA[i:], x.ActorId) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.ActorId))) + i-- + dAtA[i] = 0x12 + } + if x.TopicId != 0 { + i = runtime.EncodeVarint(dAtA, i, uint64(x.TopicId)) + i-- + dAtA[i] = 0x8 + } + if input.Buf != nil { + input.Buf = append(input.Buf, dAtA...) + } else { + input.Buf = dAtA + } + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { + x := input.Message.Interface().(*TopicIdActorIdListeningCoefficient) + if x == nil { + return protoiface.UnmarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Flags: input.Flags, + }, nil + } + options := runtime.UnmarshalInputToOptions(input) + _ = options + dAtA := input.Buf + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: TopicIdActorIdListeningCoefficient: wiretype end group for non-group") + } + if fieldNum <= 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: TopicIdActorIdListeningCoefficient: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field TopicId", wireType) + } + x.TopicId = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + x.TopicId |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 2: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field ActorId", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + x.ActorId = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 3: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field ListeningCoefficient", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + if x.ListeningCoefficient == nil { + x.ListeningCoefficient = &v3.ListeningCoefficient{} + } + if err := options.Unmarshal(dAtA[iNdEx:postIndex], x.ListeningCoefficient); err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := runtime.Skip(dAtA[iNdEx:]) + if err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if (iNdEx + skippy) > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + if !options.DiscardUnknown { + x.unknownFields = append(x.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + } + iNdEx += skippy + } + } + + if iNdEx > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, nil + } + return &protoiface.Methods{ + NoUnkeyedLiterals: struct{}{}, + Flags: protoiface.SupportMarshalDeterministic | protoiface.SupportUnmarshalDiscardUnknown, + Size: size, + Marshal: marshal, + Unmarshal: unmarshal, + Merge: nil, + CheckInitialized: nil, + } +} + +var ( + md_TopicIdActorIdDec protoreflect.MessageDescriptor + fd_TopicIdActorIdDec_topic_id protoreflect.FieldDescriptor + fd_TopicIdActorIdDec_actor_id protoreflect.FieldDescriptor + fd_TopicIdActorIdDec_dec protoreflect.FieldDescriptor +) + +func init() { + file_emissions_v8_genesis_proto_init() + md_TopicIdActorIdDec = File_emissions_v8_genesis_proto.Messages().ByName("TopicIdActorIdDec") + fd_TopicIdActorIdDec_topic_id = md_TopicIdActorIdDec.Fields().ByName("topic_id") + fd_TopicIdActorIdDec_actor_id = md_TopicIdActorIdDec.Fields().ByName("actor_id") + fd_TopicIdActorIdDec_dec = md_TopicIdActorIdDec.Fields().ByName("dec") +} + +var _ protoreflect.Message = (*fastReflection_TopicIdActorIdDec)(nil) + +type fastReflection_TopicIdActorIdDec TopicIdActorIdDec + +func (x *TopicIdActorIdDec) ProtoReflect() protoreflect.Message { + return (*fastReflection_TopicIdActorIdDec)(x) +} + +func (x *TopicIdActorIdDec) slowProtoReflect() protoreflect.Message { + mi := &file_emissions_v8_genesis_proto_msgTypes[9] + 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) +} + +var _fastReflection_TopicIdActorIdDec_messageType fastReflection_TopicIdActorIdDec_messageType +var _ protoreflect.MessageType = fastReflection_TopicIdActorIdDec_messageType{} + +type fastReflection_TopicIdActorIdDec_messageType struct{} + +func (x fastReflection_TopicIdActorIdDec_messageType) Zero() protoreflect.Message { + return (*fastReflection_TopicIdActorIdDec)(nil) +} +func (x fastReflection_TopicIdActorIdDec_messageType) New() protoreflect.Message { + return new(fastReflection_TopicIdActorIdDec) +} +func (x fastReflection_TopicIdActorIdDec_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_TopicIdActorIdDec +} + +// Descriptor returns message descriptor, which contains only the protobuf +// type information for the message. +func (x *fastReflection_TopicIdActorIdDec) Descriptor() protoreflect.MessageDescriptor { + return md_TopicIdActorIdDec +} + +// Type returns the message type, which encapsulates both Go and protobuf +// type information. If the Go type information is not needed, +// it is recommended that the message descriptor be used instead. +func (x *fastReflection_TopicIdActorIdDec) Type() protoreflect.MessageType { + return _fastReflection_TopicIdActorIdDec_messageType +} + +// New returns a newly allocated and mutable empty message. +func (x *fastReflection_TopicIdActorIdDec) New() protoreflect.Message { + return new(fastReflection_TopicIdActorIdDec) +} + +// Interface unwraps the message reflection interface and +// returns the underlying ProtoMessage interface. +func (x *fastReflection_TopicIdActorIdDec) Interface() protoreflect.ProtoMessage { + return (*TopicIdActorIdDec)(x) +} + +// Range iterates over every populated field in an undefined order, +// calling f for each field descriptor and value encountered. +// Range returns immediately if f returns false. +// While iterating, mutating operations may only be performed +// on the current field descriptor. +func (x *fastReflection_TopicIdActorIdDec) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { + if x.TopicId != uint64(0) { + value := protoreflect.ValueOfUint64(x.TopicId) + if !f(fd_TopicIdActorIdDec_topic_id, value) { + return + } + } + if x.ActorId != "" { + value := protoreflect.ValueOfString(x.ActorId) + if !f(fd_TopicIdActorIdDec_actor_id, value) { + return + } + } + if x.Dec != "" { + value := protoreflect.ValueOfString(x.Dec) + if !f(fd_TopicIdActorIdDec_dec, value) { + return + } + } +} + +// Has reports whether a field is populated. +// +// Some fields have the property of nullability where it is possible to +// distinguish between the default value of a field and whether the field +// was explicitly populated with the default value. Singular message fields, +// member fields of a oneof, and proto2 scalar fields are nullable. Such +// fields are populated only if explicitly set. +// +// In other cases (aside from the nullable cases above), +// a proto3 scalar field is populated if it contains a non-zero value, and +// a repeated field is populated if it is non-empty. +func (x *fastReflection_TopicIdActorIdDec) Has(fd protoreflect.FieldDescriptor) bool { + switch fd.FullName() { + case "emissions.v8.TopicIdActorIdDec.topic_id": + return x.TopicId != uint64(0) + case "emissions.v8.TopicIdActorIdDec.actor_id": + return x.ActorId != "" + case "emissions.v8.TopicIdActorIdDec.dec": + return x.Dec != "" + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.TopicIdActorIdDec")) + } + panic(fmt.Errorf("message emissions.v8.TopicIdActorIdDec does not contain field %s", fd.FullName())) + } +} + +// Clear clears the field such that a subsequent Has call reports false. +// +// Clearing an extension field clears both the extension type and value +// associated with the given field number. +// +// Clear is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_TopicIdActorIdDec) Clear(fd protoreflect.FieldDescriptor) { + switch fd.FullName() { + case "emissions.v8.TopicIdActorIdDec.topic_id": + x.TopicId = uint64(0) + case "emissions.v8.TopicIdActorIdDec.actor_id": + x.ActorId = "" + case "emissions.v8.TopicIdActorIdDec.dec": + x.Dec = "" + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.TopicIdActorIdDec")) + } + panic(fmt.Errorf("message emissions.v8.TopicIdActorIdDec does not contain field %s", fd.FullName())) + } +} + +// Get retrieves the value for a field. +// +// For unpopulated scalars, it returns the default value, where +// the default value of a bytes scalar is guaranteed to be a copy. +// For unpopulated composite types, it returns an empty, read-only view +// of the value; to obtain a mutable reference, use Mutable. +func (x *fastReflection_TopicIdActorIdDec) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { + switch descriptor.FullName() { + case "emissions.v8.TopicIdActorIdDec.topic_id": + value := x.TopicId + return protoreflect.ValueOfUint64(value) + case "emissions.v8.TopicIdActorIdDec.actor_id": + value := x.ActorId + return protoreflect.ValueOfString(value) + case "emissions.v8.TopicIdActorIdDec.dec": + value := x.Dec + return protoreflect.ValueOfString(value) + default: + if descriptor.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.TopicIdActorIdDec")) + } + panic(fmt.Errorf("message emissions.v8.TopicIdActorIdDec does not contain field %s", descriptor.FullName())) + } +} + +// Set stores the value for a field. +// +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType. +// When setting a composite type, it is unspecified whether the stored value +// aliases the source's memory in any way. If the composite value is an +// empty, read-only value, then it panics. +// +// Set is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_TopicIdActorIdDec) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { + switch fd.FullName() { + case "emissions.v8.TopicIdActorIdDec.topic_id": + x.TopicId = value.Uint() + case "emissions.v8.TopicIdActorIdDec.actor_id": + x.ActorId = value.Interface().(string) + case "emissions.v8.TopicIdActorIdDec.dec": + x.Dec = value.Interface().(string) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.TopicIdActorIdDec")) + } + panic(fmt.Errorf("message emissions.v8.TopicIdActorIdDec does not contain field %s", fd.FullName())) + } +} + +// Mutable returns a mutable reference to a composite type. +// +// If the field is unpopulated, it may allocate a composite value. +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType +// if not already stored. +// It panics if the field does not contain a composite type. +// +// Mutable is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_TopicIdActorIdDec) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.TopicIdActorIdDec.topic_id": + panic(fmt.Errorf("field topic_id of message emissions.v8.TopicIdActorIdDec is not mutable")) + case "emissions.v8.TopicIdActorIdDec.actor_id": + panic(fmt.Errorf("field actor_id of message emissions.v8.TopicIdActorIdDec is not mutable")) + case "emissions.v8.TopicIdActorIdDec.dec": + panic(fmt.Errorf("field dec of message emissions.v8.TopicIdActorIdDec is not mutable")) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.TopicIdActorIdDec")) + } + panic(fmt.Errorf("message emissions.v8.TopicIdActorIdDec does not contain field %s", fd.FullName())) + } +} + +// NewField returns a new value that is assignable to the field +// for the given descriptor. For scalars, this returns the default value. +// For lists, maps, and messages, this returns a new, empty, mutable value. +func (x *fastReflection_TopicIdActorIdDec) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.TopicIdActorIdDec.topic_id": + return protoreflect.ValueOfUint64(uint64(0)) + case "emissions.v8.TopicIdActorIdDec.actor_id": + return protoreflect.ValueOfString("") + case "emissions.v8.TopicIdActorIdDec.dec": + return protoreflect.ValueOfString("") + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.TopicIdActorIdDec")) + } + panic(fmt.Errorf("message emissions.v8.TopicIdActorIdDec does not contain field %s", fd.FullName())) + } +} + +// WhichOneof reports which field within the oneof is populated, +// returning nil if none are populated. +// It panics if the oneof descriptor does not belong to this message. +func (x *fastReflection_TopicIdActorIdDec) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { + switch d.FullName() { + default: + panic(fmt.Errorf("%s is not a oneof field in emissions.v8.TopicIdActorIdDec", d.FullName())) + } + panic("unreachable") +} + +// GetUnknown retrieves the entire list of unknown fields. +// The caller may only mutate the contents of the RawFields +// if the mutated bytes are stored back into the message with SetUnknown. +func (x *fastReflection_TopicIdActorIdDec) GetUnknown() protoreflect.RawFields { + return x.unknownFields +} + +// SetUnknown stores an entire list of unknown fields. +// The raw fields must be syntactically valid according to the wire format. +// An implementation may panic if this is not the case. +// Once stored, the caller must not mutate the content of the RawFields. +// An empty RawFields may be passed to clear the fields. +// +// SetUnknown is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_TopicIdActorIdDec) SetUnknown(fields protoreflect.RawFields) { + x.unknownFields = fields +} + +// IsValid reports whether the message is valid. +// +// An invalid message is an empty, read-only value. +// +// An invalid message often corresponds to a nil pointer of the concrete +// message type, but the details are implementation dependent. +// Validity is not part of the protobuf data model, and may not +// be preserved in marshaling or other operations. +func (x *fastReflection_TopicIdActorIdDec) IsValid() bool { + return x != nil +} + +// ProtoMethods returns optional fastReflectionFeature-path implementations of various operations. +// This method may return nil. +// +// The returned methods type is identical to +// "google.golang.org/protobuf/runtime/protoiface".Methods. +// Consult the protoiface package documentation for details. +func (x *fastReflection_TopicIdActorIdDec) ProtoMethods() *protoiface.Methods { + size := func(input protoiface.SizeInput) protoiface.SizeOutput { + x := input.Message.Interface().(*TopicIdActorIdDec) + if x == nil { + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: 0, + } + } + options := runtime.SizeInputToOptions(input) + _ = options + var n int + var l int + _ = l + if x.TopicId != 0 { + n += 1 + runtime.Sov(uint64(x.TopicId)) + } + l = len(x.ActorId) + if l > 0 { + n += 1 + l + runtime.Sov(uint64(l)) + } + l = len(x.Dec) + if l > 0 { + n += 1 + l + runtime.Sov(uint64(l)) + } + if x.unknownFields != nil { + n += len(x.unknownFields) + } + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: n, + } + } + + marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { + x := input.Message.Interface().(*TopicIdActorIdDec) + if x == nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + options := runtime.MarshalInputToOptions(input) + _ = options + size := options.Size(x) + dAtA := make([]byte, size) + i := len(dAtA) + _ = i + var l int + _ = l + if x.unknownFields != nil { + i -= len(x.unknownFields) + copy(dAtA[i:], x.unknownFields) + } + if len(x.Dec) > 0 { + i -= len(x.Dec) + copy(dAtA[i:], x.Dec) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.Dec))) + i-- + dAtA[i] = 0x1a + } + if len(x.ActorId) > 0 { + i -= len(x.ActorId) + copy(dAtA[i:], x.ActorId) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.ActorId))) + i-- + dAtA[i] = 0x12 + } + if x.TopicId != 0 { + i = runtime.EncodeVarint(dAtA, i, uint64(x.TopicId)) + i-- + dAtA[i] = 0x8 + } + if input.Buf != nil { + input.Buf = append(input.Buf, dAtA...) + } else { + input.Buf = dAtA + } + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { + x := input.Message.Interface().(*TopicIdActorIdDec) + if x == nil { + return protoiface.UnmarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Flags: input.Flags, + }, nil + } + options := runtime.UnmarshalInputToOptions(input) + _ = options + dAtA := input.Buf + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: TopicIdActorIdDec: wiretype end group for non-group") + } + if fieldNum <= 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: TopicIdActorIdDec: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field TopicId", wireType) + } + x.TopicId = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + x.TopicId |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 2: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field ActorId", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + x.ActorId = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 3: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Dec", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + x.Dec = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := runtime.Skip(dAtA[iNdEx:]) + if err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if (iNdEx + skippy) > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + if !options.DiscardUnknown { + x.unknownFields = append(x.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + } + iNdEx += skippy + } + } + + if iNdEx > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, nil + } + return &protoiface.Methods{ + NoUnkeyedLiterals: struct{}{}, + Flags: protoiface.SupportMarshalDeterministic | protoiface.SupportUnmarshalDiscardUnknown, + Size: size, + Marshal: marshal, + Unmarshal: unmarshal, + Merge: nil, + CheckInitialized: nil, + } +} + +var ( + md_TopicIdAndInt protoreflect.MessageDescriptor + fd_TopicIdAndInt_topic_id protoreflect.FieldDescriptor + fd_TopicIdAndInt_int protoreflect.FieldDescriptor +) + +func init() { + file_emissions_v8_genesis_proto_init() + md_TopicIdAndInt = File_emissions_v8_genesis_proto.Messages().ByName("TopicIdAndInt") + fd_TopicIdAndInt_topic_id = md_TopicIdAndInt.Fields().ByName("topic_id") + fd_TopicIdAndInt_int = md_TopicIdAndInt.Fields().ByName("int") +} + +var _ protoreflect.Message = (*fastReflection_TopicIdAndInt)(nil) + +type fastReflection_TopicIdAndInt TopicIdAndInt + +func (x *TopicIdAndInt) ProtoReflect() protoreflect.Message { + return (*fastReflection_TopicIdAndInt)(x) +} + +func (x *TopicIdAndInt) slowProtoReflect() protoreflect.Message { + mi := &file_emissions_v8_genesis_proto_msgTypes[10] + 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) +} + +var _fastReflection_TopicIdAndInt_messageType fastReflection_TopicIdAndInt_messageType +var _ protoreflect.MessageType = fastReflection_TopicIdAndInt_messageType{} + +type fastReflection_TopicIdAndInt_messageType struct{} + +func (x fastReflection_TopicIdAndInt_messageType) Zero() protoreflect.Message { + return (*fastReflection_TopicIdAndInt)(nil) +} +func (x fastReflection_TopicIdAndInt_messageType) New() protoreflect.Message { + return new(fastReflection_TopicIdAndInt) +} +func (x fastReflection_TopicIdAndInt_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_TopicIdAndInt +} + +// Descriptor returns message descriptor, which contains only the protobuf +// type information for the message. +func (x *fastReflection_TopicIdAndInt) Descriptor() protoreflect.MessageDescriptor { + return md_TopicIdAndInt +} + +// Type returns the message type, which encapsulates both Go and protobuf +// type information. If the Go type information is not needed, +// it is recommended that the message descriptor be used instead. +func (x *fastReflection_TopicIdAndInt) Type() protoreflect.MessageType { + return _fastReflection_TopicIdAndInt_messageType +} + +// New returns a newly allocated and mutable empty message. +func (x *fastReflection_TopicIdAndInt) New() protoreflect.Message { + return new(fastReflection_TopicIdAndInt) +} + +// Interface unwraps the message reflection interface and +// returns the underlying ProtoMessage interface. +func (x *fastReflection_TopicIdAndInt) Interface() protoreflect.ProtoMessage { + return (*TopicIdAndInt)(x) +} + +// Range iterates over every populated field in an undefined order, +// calling f for each field descriptor and value encountered. +// Range returns immediately if f returns false. +// While iterating, mutating operations may only be performed +// on the current field descriptor. +func (x *fastReflection_TopicIdAndInt) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { + if x.TopicId != uint64(0) { + value := protoreflect.ValueOfUint64(x.TopicId) + if !f(fd_TopicIdAndInt_topic_id, value) { + return + } + } + if x.Int != "" { + value := protoreflect.ValueOfString(x.Int) + if !f(fd_TopicIdAndInt_int, value) { + return + } + } +} + +// Has reports whether a field is populated. +// +// Some fields have the property of nullability where it is possible to +// distinguish between the default value of a field and whether the field +// was explicitly populated with the default value. Singular message fields, +// member fields of a oneof, and proto2 scalar fields are nullable. Such +// fields are populated only if explicitly set. +// +// In other cases (aside from the nullable cases above), +// a proto3 scalar field is populated if it contains a non-zero value, and +// a repeated field is populated if it is non-empty. +func (x *fastReflection_TopicIdAndInt) Has(fd protoreflect.FieldDescriptor) bool { + switch fd.FullName() { + case "emissions.v8.TopicIdAndInt.topic_id": + return x.TopicId != uint64(0) + case "emissions.v8.TopicIdAndInt.int": + return x.Int != "" + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.TopicIdAndInt")) + } + panic(fmt.Errorf("message emissions.v8.TopicIdAndInt does not contain field %s", fd.FullName())) + } +} + +// Clear clears the field such that a subsequent Has call reports false. +// +// Clearing an extension field clears both the extension type and value +// associated with the given field number. +// +// Clear is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_TopicIdAndInt) Clear(fd protoreflect.FieldDescriptor) { + switch fd.FullName() { + case "emissions.v8.TopicIdAndInt.topic_id": + x.TopicId = uint64(0) + case "emissions.v8.TopicIdAndInt.int": + x.Int = "" + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.TopicIdAndInt")) + } + panic(fmt.Errorf("message emissions.v8.TopicIdAndInt does not contain field %s", fd.FullName())) + } +} + +// Get retrieves the value for a field. +// +// For unpopulated scalars, it returns the default value, where +// the default value of a bytes scalar is guaranteed to be a copy. +// For unpopulated composite types, it returns an empty, read-only view +// of the value; to obtain a mutable reference, use Mutable. +func (x *fastReflection_TopicIdAndInt) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { + switch descriptor.FullName() { + case "emissions.v8.TopicIdAndInt.topic_id": + value := x.TopicId + return protoreflect.ValueOfUint64(value) + case "emissions.v8.TopicIdAndInt.int": + value := x.Int + return protoreflect.ValueOfString(value) + default: + if descriptor.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.TopicIdAndInt")) + } + panic(fmt.Errorf("message emissions.v8.TopicIdAndInt does not contain field %s", descriptor.FullName())) + } +} + +// Set stores the value for a field. +// +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType. +// When setting a composite type, it is unspecified whether the stored value +// aliases the source's memory in any way. If the composite value is an +// empty, read-only value, then it panics. +// +// Set is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_TopicIdAndInt) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { + switch fd.FullName() { + case "emissions.v8.TopicIdAndInt.topic_id": + x.TopicId = value.Uint() + case "emissions.v8.TopicIdAndInt.int": + x.Int = value.Interface().(string) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.TopicIdAndInt")) + } + panic(fmt.Errorf("message emissions.v8.TopicIdAndInt does not contain field %s", fd.FullName())) + } +} + +// Mutable returns a mutable reference to a composite type. +// +// If the field is unpopulated, it may allocate a composite value. +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType +// if not already stored. +// It panics if the field does not contain a composite type. +// +// Mutable is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_TopicIdAndInt) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.TopicIdAndInt.topic_id": + panic(fmt.Errorf("field topic_id of message emissions.v8.TopicIdAndInt is not mutable")) + case "emissions.v8.TopicIdAndInt.int": + panic(fmt.Errorf("field int of message emissions.v8.TopicIdAndInt is not mutable")) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.TopicIdAndInt")) + } + panic(fmt.Errorf("message emissions.v8.TopicIdAndInt does not contain field %s", fd.FullName())) + } +} + +// NewField returns a new value that is assignable to the field +// for the given descriptor. For scalars, this returns the default value. +// For lists, maps, and messages, this returns a new, empty, mutable value. +func (x *fastReflection_TopicIdAndInt) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.TopicIdAndInt.topic_id": + return protoreflect.ValueOfUint64(uint64(0)) + case "emissions.v8.TopicIdAndInt.int": + return protoreflect.ValueOfString("") + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.TopicIdAndInt")) + } + panic(fmt.Errorf("message emissions.v8.TopicIdAndInt does not contain field %s", fd.FullName())) + } +} + +// WhichOneof reports which field within the oneof is populated, +// returning nil if none are populated. +// It panics if the oneof descriptor does not belong to this message. +func (x *fastReflection_TopicIdAndInt) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { + switch d.FullName() { + default: + panic(fmt.Errorf("%s is not a oneof field in emissions.v8.TopicIdAndInt", d.FullName())) + } + panic("unreachable") +} + +// GetUnknown retrieves the entire list of unknown fields. +// The caller may only mutate the contents of the RawFields +// if the mutated bytes are stored back into the message with SetUnknown. +func (x *fastReflection_TopicIdAndInt) GetUnknown() protoreflect.RawFields { + return x.unknownFields +} + +// SetUnknown stores an entire list of unknown fields. +// The raw fields must be syntactically valid according to the wire format. +// An implementation may panic if this is not the case. +// Once stored, the caller must not mutate the content of the RawFields. +// An empty RawFields may be passed to clear the fields. +// +// SetUnknown is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_TopicIdAndInt) SetUnknown(fields protoreflect.RawFields) { + x.unknownFields = fields +} + +// IsValid reports whether the message is valid. +// +// An invalid message is an empty, read-only value. +// +// An invalid message often corresponds to a nil pointer of the concrete +// message type, but the details are implementation dependent. +// Validity is not part of the protobuf data model, and may not +// be preserved in marshaling or other operations. +func (x *fastReflection_TopicIdAndInt) IsValid() bool { + return x != nil +} + +// ProtoMethods returns optional fastReflectionFeature-path implementations of various operations. +// This method may return nil. +// +// The returned methods type is identical to +// "google.golang.org/protobuf/runtime/protoiface".Methods. +// Consult the protoiface package documentation for details. +func (x *fastReflection_TopicIdAndInt) ProtoMethods() *protoiface.Methods { + size := func(input protoiface.SizeInput) protoiface.SizeOutput { + x := input.Message.Interface().(*TopicIdAndInt) + if x == nil { + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: 0, + } + } + options := runtime.SizeInputToOptions(input) + _ = options + var n int + var l int + _ = l + if x.TopicId != 0 { + n += 1 + runtime.Sov(uint64(x.TopicId)) + } + l = len(x.Int) + if l > 0 { + n += 1 + l + runtime.Sov(uint64(l)) + } + if x.unknownFields != nil { + n += len(x.unknownFields) + } + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: n, + } + } + + marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { + x := input.Message.Interface().(*TopicIdAndInt) + if x == nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + options := runtime.MarshalInputToOptions(input) + _ = options + size := options.Size(x) + dAtA := make([]byte, size) + i := len(dAtA) + _ = i + var l int + _ = l + if x.unknownFields != nil { + i -= len(x.unknownFields) + copy(dAtA[i:], x.unknownFields) + } + if len(x.Int) > 0 { + i -= len(x.Int) + copy(dAtA[i:], x.Int) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.Int))) + i-- + dAtA[i] = 0x12 + } + if x.TopicId != 0 { + i = runtime.EncodeVarint(dAtA, i, uint64(x.TopicId)) + i-- + dAtA[i] = 0x8 + } + if input.Buf != nil { + input.Buf = append(input.Buf, dAtA...) + } else { + input.Buf = dAtA + } + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { + x := input.Message.Interface().(*TopicIdAndInt) + if x == nil { + return protoiface.UnmarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Flags: input.Flags, + }, nil + } + options := runtime.UnmarshalInputToOptions(input) + _ = options + dAtA := input.Buf + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: TopicIdAndInt: wiretype end group for non-group") + } + if fieldNum <= 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: TopicIdAndInt: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field TopicId", wireType) + } + x.TopicId = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + x.TopicId |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 2: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Int", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + x.Int = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := runtime.Skip(dAtA[iNdEx:]) + if err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if (iNdEx + skippy) > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + if !options.DiscardUnknown { + x.unknownFields = append(x.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + } + iNdEx += skippy + } + } + + if iNdEx > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, nil + } + return &protoiface.Methods{ + NoUnkeyedLiterals: struct{}{}, + Flags: protoiface.SupportMarshalDeterministic | protoiface.SupportUnmarshalDiscardUnknown, + Size: size, + Marshal: marshal, + Unmarshal: unmarshal, + Merge: nil, + CheckInitialized: nil, + } +} + +var ( + md_TopicIdActorIdInt protoreflect.MessageDescriptor + fd_TopicIdActorIdInt_topic_id protoreflect.FieldDescriptor + fd_TopicIdActorIdInt_actor_id protoreflect.FieldDescriptor + fd_TopicIdActorIdInt_int protoreflect.FieldDescriptor +) + +func init() { + file_emissions_v8_genesis_proto_init() + md_TopicIdActorIdInt = File_emissions_v8_genesis_proto.Messages().ByName("TopicIdActorIdInt") + fd_TopicIdActorIdInt_topic_id = md_TopicIdActorIdInt.Fields().ByName("topic_id") + fd_TopicIdActorIdInt_actor_id = md_TopicIdActorIdInt.Fields().ByName("actor_id") + fd_TopicIdActorIdInt_int = md_TopicIdActorIdInt.Fields().ByName("int") +} + +var _ protoreflect.Message = (*fastReflection_TopicIdActorIdInt)(nil) + +type fastReflection_TopicIdActorIdInt TopicIdActorIdInt + +func (x *TopicIdActorIdInt) ProtoReflect() protoreflect.Message { + return (*fastReflection_TopicIdActorIdInt)(x) +} + +func (x *TopicIdActorIdInt) slowProtoReflect() protoreflect.Message { + mi := &file_emissions_v8_genesis_proto_msgTypes[11] + 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) +} + +var _fastReflection_TopicIdActorIdInt_messageType fastReflection_TopicIdActorIdInt_messageType +var _ protoreflect.MessageType = fastReflection_TopicIdActorIdInt_messageType{} + +type fastReflection_TopicIdActorIdInt_messageType struct{} + +func (x fastReflection_TopicIdActorIdInt_messageType) Zero() protoreflect.Message { + return (*fastReflection_TopicIdActorIdInt)(nil) +} +func (x fastReflection_TopicIdActorIdInt_messageType) New() protoreflect.Message { + return new(fastReflection_TopicIdActorIdInt) +} +func (x fastReflection_TopicIdActorIdInt_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_TopicIdActorIdInt +} + +// Descriptor returns message descriptor, which contains only the protobuf +// type information for the message. +func (x *fastReflection_TopicIdActorIdInt) Descriptor() protoreflect.MessageDescriptor { + return md_TopicIdActorIdInt +} + +// Type returns the message type, which encapsulates both Go and protobuf +// type information. If the Go type information is not needed, +// it is recommended that the message descriptor be used instead. +func (x *fastReflection_TopicIdActorIdInt) Type() protoreflect.MessageType { + return _fastReflection_TopicIdActorIdInt_messageType +} + +// New returns a newly allocated and mutable empty message. +func (x *fastReflection_TopicIdActorIdInt) New() protoreflect.Message { + return new(fastReflection_TopicIdActorIdInt) +} + +// Interface unwraps the message reflection interface and +// returns the underlying ProtoMessage interface. +func (x *fastReflection_TopicIdActorIdInt) Interface() protoreflect.ProtoMessage { + return (*TopicIdActorIdInt)(x) +} + +// Range iterates over every populated field in an undefined order, +// calling f for each field descriptor and value encountered. +// Range returns immediately if f returns false. +// While iterating, mutating operations may only be performed +// on the current field descriptor. +func (x *fastReflection_TopicIdActorIdInt) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { + if x.TopicId != uint64(0) { + value := protoreflect.ValueOfUint64(x.TopicId) + if !f(fd_TopicIdActorIdInt_topic_id, value) { + return + } + } + if x.ActorId != "" { + value := protoreflect.ValueOfString(x.ActorId) + if !f(fd_TopicIdActorIdInt_actor_id, value) { + return + } + } + if x.Int != "" { + value := protoreflect.ValueOfString(x.Int) + if !f(fd_TopicIdActorIdInt_int, value) { + return + } + } +} + +// Has reports whether a field is populated. +// +// Some fields have the property of nullability where it is possible to +// distinguish between the default value of a field and whether the field +// was explicitly populated with the default value. Singular message fields, +// member fields of a oneof, and proto2 scalar fields are nullable. Such +// fields are populated only if explicitly set. +// +// In other cases (aside from the nullable cases above), +// a proto3 scalar field is populated if it contains a non-zero value, and +// a repeated field is populated if it is non-empty. +func (x *fastReflection_TopicIdActorIdInt) Has(fd protoreflect.FieldDescriptor) bool { + switch fd.FullName() { + case "emissions.v8.TopicIdActorIdInt.topic_id": + return x.TopicId != uint64(0) + case "emissions.v8.TopicIdActorIdInt.actor_id": + return x.ActorId != "" + case "emissions.v8.TopicIdActorIdInt.int": + return x.Int != "" + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.TopicIdActorIdInt")) + } + panic(fmt.Errorf("message emissions.v8.TopicIdActorIdInt does not contain field %s", fd.FullName())) + } +} + +// Clear clears the field such that a subsequent Has call reports false. +// +// Clearing an extension field clears both the extension type and value +// associated with the given field number. +// +// Clear is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_TopicIdActorIdInt) Clear(fd protoreflect.FieldDescriptor) { + switch fd.FullName() { + case "emissions.v8.TopicIdActorIdInt.topic_id": + x.TopicId = uint64(0) + case "emissions.v8.TopicIdActorIdInt.actor_id": + x.ActorId = "" + case "emissions.v8.TopicIdActorIdInt.int": + x.Int = "" + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.TopicIdActorIdInt")) + } + panic(fmt.Errorf("message emissions.v8.TopicIdActorIdInt does not contain field %s", fd.FullName())) + } +} + +// Get retrieves the value for a field. +// +// For unpopulated scalars, it returns the default value, where +// the default value of a bytes scalar is guaranteed to be a copy. +// For unpopulated composite types, it returns an empty, read-only view +// of the value; to obtain a mutable reference, use Mutable. +func (x *fastReflection_TopicIdActorIdInt) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { + switch descriptor.FullName() { + case "emissions.v8.TopicIdActorIdInt.topic_id": + value := x.TopicId + return protoreflect.ValueOfUint64(value) + case "emissions.v8.TopicIdActorIdInt.actor_id": + value := x.ActorId + return protoreflect.ValueOfString(value) + case "emissions.v8.TopicIdActorIdInt.int": + value := x.Int + return protoreflect.ValueOfString(value) + default: + if descriptor.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.TopicIdActorIdInt")) + } + panic(fmt.Errorf("message emissions.v8.TopicIdActorIdInt does not contain field %s", descriptor.FullName())) + } +} + +// Set stores the value for a field. +// +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType. +// When setting a composite type, it is unspecified whether the stored value +// aliases the source's memory in any way. If the composite value is an +// empty, read-only value, then it panics. +// +// Set is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_TopicIdActorIdInt) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { + switch fd.FullName() { + case "emissions.v8.TopicIdActorIdInt.topic_id": + x.TopicId = value.Uint() + case "emissions.v8.TopicIdActorIdInt.actor_id": + x.ActorId = value.Interface().(string) + case "emissions.v8.TopicIdActorIdInt.int": + x.Int = value.Interface().(string) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.TopicIdActorIdInt")) + } + panic(fmt.Errorf("message emissions.v8.TopicIdActorIdInt does not contain field %s", fd.FullName())) + } +} + +// Mutable returns a mutable reference to a composite type. +// +// If the field is unpopulated, it may allocate a composite value. +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType +// if not already stored. +// It panics if the field does not contain a composite type. +// +// Mutable is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_TopicIdActorIdInt) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.TopicIdActorIdInt.topic_id": + panic(fmt.Errorf("field topic_id of message emissions.v8.TopicIdActorIdInt is not mutable")) + case "emissions.v8.TopicIdActorIdInt.actor_id": + panic(fmt.Errorf("field actor_id of message emissions.v8.TopicIdActorIdInt is not mutable")) + case "emissions.v8.TopicIdActorIdInt.int": + panic(fmt.Errorf("field int of message emissions.v8.TopicIdActorIdInt is not mutable")) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.TopicIdActorIdInt")) + } + panic(fmt.Errorf("message emissions.v8.TopicIdActorIdInt does not contain field %s", fd.FullName())) + } +} + +// NewField returns a new value that is assignable to the field +// for the given descriptor. For scalars, this returns the default value. +// For lists, maps, and messages, this returns a new, empty, mutable value. +func (x *fastReflection_TopicIdActorIdInt) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.TopicIdActorIdInt.topic_id": + return protoreflect.ValueOfUint64(uint64(0)) + case "emissions.v8.TopicIdActorIdInt.actor_id": + return protoreflect.ValueOfString("") + case "emissions.v8.TopicIdActorIdInt.int": + return protoreflect.ValueOfString("") + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.TopicIdActorIdInt")) + } + panic(fmt.Errorf("message emissions.v8.TopicIdActorIdInt does not contain field %s", fd.FullName())) + } +} + +// WhichOneof reports which field within the oneof is populated, +// returning nil if none are populated. +// It panics if the oneof descriptor does not belong to this message. +func (x *fastReflection_TopicIdActorIdInt) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { + switch d.FullName() { + default: + panic(fmt.Errorf("%s is not a oneof field in emissions.v8.TopicIdActorIdInt", d.FullName())) + } + panic("unreachable") +} + +// GetUnknown retrieves the entire list of unknown fields. +// The caller may only mutate the contents of the RawFields +// if the mutated bytes are stored back into the message with SetUnknown. +func (x *fastReflection_TopicIdActorIdInt) GetUnknown() protoreflect.RawFields { + return x.unknownFields +} + +// SetUnknown stores an entire list of unknown fields. +// The raw fields must be syntactically valid according to the wire format. +// An implementation may panic if this is not the case. +// Once stored, the caller must not mutate the content of the RawFields. +// An empty RawFields may be passed to clear the fields. +// +// SetUnknown is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_TopicIdActorIdInt) SetUnknown(fields protoreflect.RawFields) { + x.unknownFields = fields +} + +// IsValid reports whether the message is valid. +// +// An invalid message is an empty, read-only value. +// +// An invalid message often corresponds to a nil pointer of the concrete +// message type, but the details are implementation dependent. +// Validity is not part of the protobuf data model, and may not +// be preserved in marshaling or other operations. +func (x *fastReflection_TopicIdActorIdInt) IsValid() bool { + return x != nil +} + +// ProtoMethods returns optional fastReflectionFeature-path implementations of various operations. +// This method may return nil. +// +// The returned methods type is identical to +// "google.golang.org/protobuf/runtime/protoiface".Methods. +// Consult the protoiface package documentation for details. +func (x *fastReflection_TopicIdActorIdInt) ProtoMethods() *protoiface.Methods { + size := func(input protoiface.SizeInput) protoiface.SizeOutput { + x := input.Message.Interface().(*TopicIdActorIdInt) + if x == nil { + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: 0, + } + } + options := runtime.SizeInputToOptions(input) + _ = options + var n int + var l int + _ = l + if x.TopicId != 0 { + n += 1 + runtime.Sov(uint64(x.TopicId)) + } + l = len(x.ActorId) + if l > 0 { + n += 1 + l + runtime.Sov(uint64(l)) + } + l = len(x.Int) + if l > 0 { + n += 1 + l + runtime.Sov(uint64(l)) + } + if x.unknownFields != nil { + n += len(x.unknownFields) + } + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: n, + } + } + + marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { + x := input.Message.Interface().(*TopicIdActorIdInt) + if x == nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + options := runtime.MarshalInputToOptions(input) + _ = options + size := options.Size(x) + dAtA := make([]byte, size) + i := len(dAtA) + _ = i + var l int + _ = l + if x.unknownFields != nil { + i -= len(x.unknownFields) + copy(dAtA[i:], x.unknownFields) + } + if len(x.Int) > 0 { + i -= len(x.Int) + copy(dAtA[i:], x.Int) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.Int))) + i-- + dAtA[i] = 0x1a + } + if len(x.ActorId) > 0 { + i -= len(x.ActorId) + copy(dAtA[i:], x.ActorId) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.ActorId))) + i-- + dAtA[i] = 0x12 + } + if x.TopicId != 0 { + i = runtime.EncodeVarint(dAtA, i, uint64(x.TopicId)) + i-- + dAtA[i] = 0x8 + } + if input.Buf != nil { + input.Buf = append(input.Buf, dAtA...) + } else { + input.Buf = dAtA + } + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { + x := input.Message.Interface().(*TopicIdActorIdInt) + if x == nil { + return protoiface.UnmarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Flags: input.Flags, + }, nil + } + options := runtime.UnmarshalInputToOptions(input) + _ = options + dAtA := input.Buf + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: TopicIdActorIdInt: wiretype end group for non-group") + } + if fieldNum <= 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: TopicIdActorIdInt: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field TopicId", wireType) + } + x.TopicId = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + x.TopicId |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 2: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field ActorId", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + x.ActorId = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 3: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Int", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + x.Int = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := runtime.Skip(dAtA[iNdEx:]) + if err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if (iNdEx + skippy) > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + if !options.DiscardUnknown { + x.unknownFields = append(x.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + } + iNdEx += skippy + } + } + + if iNdEx > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, nil + } + return &protoiface.Methods{ + NoUnkeyedLiterals: struct{}{}, + Flags: protoiface.SupportMarshalDeterministic | protoiface.SupportUnmarshalDiscardUnknown, + Size: size, + Marshal: marshal, + Unmarshal: unmarshal, + Merge: nil, + CheckInitialized: nil, + } +} + +var ( + md_TopicIdDelegatorReputerDelegatorInfo protoreflect.MessageDescriptor + fd_TopicIdDelegatorReputerDelegatorInfo_topic_id protoreflect.FieldDescriptor + fd_TopicIdDelegatorReputerDelegatorInfo_delegator protoreflect.FieldDescriptor + fd_TopicIdDelegatorReputerDelegatorInfo_reputer protoreflect.FieldDescriptor + fd_TopicIdDelegatorReputerDelegatorInfo_delegator_info protoreflect.FieldDescriptor +) + +func init() { + file_emissions_v8_genesis_proto_init() + md_TopicIdDelegatorReputerDelegatorInfo = File_emissions_v8_genesis_proto.Messages().ByName("TopicIdDelegatorReputerDelegatorInfo") + fd_TopicIdDelegatorReputerDelegatorInfo_topic_id = md_TopicIdDelegatorReputerDelegatorInfo.Fields().ByName("topic_id") + fd_TopicIdDelegatorReputerDelegatorInfo_delegator = md_TopicIdDelegatorReputerDelegatorInfo.Fields().ByName("delegator") + fd_TopicIdDelegatorReputerDelegatorInfo_reputer = md_TopicIdDelegatorReputerDelegatorInfo.Fields().ByName("reputer") + fd_TopicIdDelegatorReputerDelegatorInfo_delegator_info = md_TopicIdDelegatorReputerDelegatorInfo.Fields().ByName("delegator_info") +} + +var _ protoreflect.Message = (*fastReflection_TopicIdDelegatorReputerDelegatorInfo)(nil) + +type fastReflection_TopicIdDelegatorReputerDelegatorInfo TopicIdDelegatorReputerDelegatorInfo + +func (x *TopicIdDelegatorReputerDelegatorInfo) ProtoReflect() protoreflect.Message { + return (*fastReflection_TopicIdDelegatorReputerDelegatorInfo)(x) +} + +func (x *TopicIdDelegatorReputerDelegatorInfo) slowProtoReflect() protoreflect.Message { + mi := &file_emissions_v8_genesis_proto_msgTypes[12] + 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) +} + +var _fastReflection_TopicIdDelegatorReputerDelegatorInfo_messageType fastReflection_TopicIdDelegatorReputerDelegatorInfo_messageType +var _ protoreflect.MessageType = fastReflection_TopicIdDelegatorReputerDelegatorInfo_messageType{} + +type fastReflection_TopicIdDelegatorReputerDelegatorInfo_messageType struct{} + +func (x fastReflection_TopicIdDelegatorReputerDelegatorInfo_messageType) Zero() protoreflect.Message { + return (*fastReflection_TopicIdDelegatorReputerDelegatorInfo)(nil) +} +func (x fastReflection_TopicIdDelegatorReputerDelegatorInfo_messageType) New() protoreflect.Message { + return new(fastReflection_TopicIdDelegatorReputerDelegatorInfo) +} +func (x fastReflection_TopicIdDelegatorReputerDelegatorInfo_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_TopicIdDelegatorReputerDelegatorInfo +} + +// Descriptor returns message descriptor, which contains only the protobuf +// type information for the message. +func (x *fastReflection_TopicIdDelegatorReputerDelegatorInfo) Descriptor() protoreflect.MessageDescriptor { + return md_TopicIdDelegatorReputerDelegatorInfo +} + +// Type returns the message type, which encapsulates both Go and protobuf +// type information. If the Go type information is not needed, +// it is recommended that the message descriptor be used instead. +func (x *fastReflection_TopicIdDelegatorReputerDelegatorInfo) Type() protoreflect.MessageType { + return _fastReflection_TopicIdDelegatorReputerDelegatorInfo_messageType +} + +// New returns a newly allocated and mutable empty message. +func (x *fastReflection_TopicIdDelegatorReputerDelegatorInfo) New() protoreflect.Message { + return new(fastReflection_TopicIdDelegatorReputerDelegatorInfo) +} + +// Interface unwraps the message reflection interface and +// returns the underlying ProtoMessage interface. +func (x *fastReflection_TopicIdDelegatorReputerDelegatorInfo) Interface() protoreflect.ProtoMessage { + return (*TopicIdDelegatorReputerDelegatorInfo)(x) +} + +// Range iterates over every populated field in an undefined order, +// calling f for each field descriptor and value encountered. +// Range returns immediately if f returns false. +// While iterating, mutating operations may only be performed +// on the current field descriptor. +func (x *fastReflection_TopicIdDelegatorReputerDelegatorInfo) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { + if x.TopicId != uint64(0) { + value := protoreflect.ValueOfUint64(x.TopicId) + if !f(fd_TopicIdDelegatorReputerDelegatorInfo_topic_id, value) { + return + } + } + if x.Delegator != "" { + value := protoreflect.ValueOfString(x.Delegator) + if !f(fd_TopicIdDelegatorReputerDelegatorInfo_delegator, value) { + return + } + } + if x.Reputer != "" { + value := protoreflect.ValueOfString(x.Reputer) + if !f(fd_TopicIdDelegatorReputerDelegatorInfo_reputer, value) { + return + } + } + if x.DelegatorInfo != nil { + value := protoreflect.ValueOfMessage(x.DelegatorInfo.ProtoReflect()) + if !f(fd_TopicIdDelegatorReputerDelegatorInfo_delegator_info, value) { + return + } + } +} + +// Has reports whether a field is populated. +// +// Some fields have the property of nullability where it is possible to +// distinguish between the default value of a field and whether the field +// was explicitly populated with the default value. Singular message fields, +// member fields of a oneof, and proto2 scalar fields are nullable. Such +// fields are populated only if explicitly set. +// +// In other cases (aside from the nullable cases above), +// a proto3 scalar field is populated if it contains a non-zero value, and +// a repeated field is populated if it is non-empty. +func (x *fastReflection_TopicIdDelegatorReputerDelegatorInfo) Has(fd protoreflect.FieldDescriptor) bool { + switch fd.FullName() { + case "emissions.v8.TopicIdDelegatorReputerDelegatorInfo.topic_id": + return x.TopicId != uint64(0) + case "emissions.v8.TopicIdDelegatorReputerDelegatorInfo.delegator": + return x.Delegator != "" + case "emissions.v8.TopicIdDelegatorReputerDelegatorInfo.reputer": + return x.Reputer != "" + case "emissions.v8.TopicIdDelegatorReputerDelegatorInfo.delegator_info": + return x.DelegatorInfo != nil + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.TopicIdDelegatorReputerDelegatorInfo")) + } + panic(fmt.Errorf("message emissions.v8.TopicIdDelegatorReputerDelegatorInfo does not contain field %s", fd.FullName())) + } +} + +// Clear clears the field such that a subsequent Has call reports false. +// +// Clearing an extension field clears both the extension type and value +// associated with the given field number. +// +// Clear is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_TopicIdDelegatorReputerDelegatorInfo) Clear(fd protoreflect.FieldDescriptor) { + switch fd.FullName() { + case "emissions.v8.TopicIdDelegatorReputerDelegatorInfo.topic_id": + x.TopicId = uint64(0) + case "emissions.v8.TopicIdDelegatorReputerDelegatorInfo.delegator": + x.Delegator = "" + case "emissions.v8.TopicIdDelegatorReputerDelegatorInfo.reputer": + x.Reputer = "" + case "emissions.v8.TopicIdDelegatorReputerDelegatorInfo.delegator_info": + x.DelegatorInfo = nil + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.TopicIdDelegatorReputerDelegatorInfo")) + } + panic(fmt.Errorf("message emissions.v8.TopicIdDelegatorReputerDelegatorInfo does not contain field %s", fd.FullName())) + } +} + +// Get retrieves the value for a field. +// +// For unpopulated scalars, it returns the default value, where +// the default value of a bytes scalar is guaranteed to be a copy. +// For unpopulated composite types, it returns an empty, read-only view +// of the value; to obtain a mutable reference, use Mutable. +func (x *fastReflection_TopicIdDelegatorReputerDelegatorInfo) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { + switch descriptor.FullName() { + case "emissions.v8.TopicIdDelegatorReputerDelegatorInfo.topic_id": + value := x.TopicId + return protoreflect.ValueOfUint64(value) + case "emissions.v8.TopicIdDelegatorReputerDelegatorInfo.delegator": + value := x.Delegator + return protoreflect.ValueOfString(value) + case "emissions.v8.TopicIdDelegatorReputerDelegatorInfo.reputer": + value := x.Reputer + return protoreflect.ValueOfString(value) + case "emissions.v8.TopicIdDelegatorReputerDelegatorInfo.delegator_info": + value := x.DelegatorInfo + return protoreflect.ValueOfMessage(value.ProtoReflect()) + default: + if descriptor.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.TopicIdDelegatorReputerDelegatorInfo")) + } + panic(fmt.Errorf("message emissions.v8.TopicIdDelegatorReputerDelegatorInfo does not contain field %s", descriptor.FullName())) + } +} + +// Set stores the value for a field. +// +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType. +// When setting a composite type, it is unspecified whether the stored value +// aliases the source's memory in any way. If the composite value is an +// empty, read-only value, then it panics. +// +// Set is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_TopicIdDelegatorReputerDelegatorInfo) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { + switch fd.FullName() { + case "emissions.v8.TopicIdDelegatorReputerDelegatorInfo.topic_id": + x.TopicId = value.Uint() + case "emissions.v8.TopicIdDelegatorReputerDelegatorInfo.delegator": + x.Delegator = value.Interface().(string) + case "emissions.v8.TopicIdDelegatorReputerDelegatorInfo.reputer": + x.Reputer = value.Interface().(string) + case "emissions.v8.TopicIdDelegatorReputerDelegatorInfo.delegator_info": + x.DelegatorInfo = value.Message().Interface().(*v3.DelegatorInfo) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.TopicIdDelegatorReputerDelegatorInfo")) + } + panic(fmt.Errorf("message emissions.v8.TopicIdDelegatorReputerDelegatorInfo does not contain field %s", fd.FullName())) + } +} + +// Mutable returns a mutable reference to a composite type. +// +// If the field is unpopulated, it may allocate a composite value. +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType +// if not already stored. +// It panics if the field does not contain a composite type. +// +// Mutable is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_TopicIdDelegatorReputerDelegatorInfo) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.TopicIdDelegatorReputerDelegatorInfo.delegator_info": + if x.DelegatorInfo == nil { + x.DelegatorInfo = new(v3.DelegatorInfo) + } + return protoreflect.ValueOfMessage(x.DelegatorInfo.ProtoReflect()) + case "emissions.v8.TopicIdDelegatorReputerDelegatorInfo.topic_id": + panic(fmt.Errorf("field topic_id of message emissions.v8.TopicIdDelegatorReputerDelegatorInfo is not mutable")) + case "emissions.v8.TopicIdDelegatorReputerDelegatorInfo.delegator": + panic(fmt.Errorf("field delegator of message emissions.v8.TopicIdDelegatorReputerDelegatorInfo is not mutable")) + case "emissions.v8.TopicIdDelegatorReputerDelegatorInfo.reputer": + panic(fmt.Errorf("field reputer of message emissions.v8.TopicIdDelegatorReputerDelegatorInfo is not mutable")) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.TopicIdDelegatorReputerDelegatorInfo")) + } + panic(fmt.Errorf("message emissions.v8.TopicIdDelegatorReputerDelegatorInfo does not contain field %s", fd.FullName())) + } +} + +// NewField returns a new value that is assignable to the field +// for the given descriptor. For scalars, this returns the default value. +// For lists, maps, and messages, this returns a new, empty, mutable value. +func (x *fastReflection_TopicIdDelegatorReputerDelegatorInfo) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.TopicIdDelegatorReputerDelegatorInfo.topic_id": + return protoreflect.ValueOfUint64(uint64(0)) + case "emissions.v8.TopicIdDelegatorReputerDelegatorInfo.delegator": + return protoreflect.ValueOfString("") + case "emissions.v8.TopicIdDelegatorReputerDelegatorInfo.reputer": + return protoreflect.ValueOfString("") + case "emissions.v8.TopicIdDelegatorReputerDelegatorInfo.delegator_info": + m := new(v3.DelegatorInfo) + return protoreflect.ValueOfMessage(m.ProtoReflect()) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.TopicIdDelegatorReputerDelegatorInfo")) + } + panic(fmt.Errorf("message emissions.v8.TopicIdDelegatorReputerDelegatorInfo does not contain field %s", fd.FullName())) + } +} + +// WhichOneof reports which field within the oneof is populated, +// returning nil if none are populated. +// It panics if the oneof descriptor does not belong to this message. +func (x *fastReflection_TopicIdDelegatorReputerDelegatorInfo) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { + switch d.FullName() { + default: + panic(fmt.Errorf("%s is not a oneof field in emissions.v8.TopicIdDelegatorReputerDelegatorInfo", d.FullName())) + } + panic("unreachable") +} + +// GetUnknown retrieves the entire list of unknown fields. +// The caller may only mutate the contents of the RawFields +// if the mutated bytes are stored back into the message with SetUnknown. +func (x *fastReflection_TopicIdDelegatorReputerDelegatorInfo) GetUnknown() protoreflect.RawFields { + return x.unknownFields +} + +// SetUnknown stores an entire list of unknown fields. +// The raw fields must be syntactically valid according to the wire format. +// An implementation may panic if this is not the case. +// Once stored, the caller must not mutate the content of the RawFields. +// An empty RawFields may be passed to clear the fields. +// +// SetUnknown is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_TopicIdDelegatorReputerDelegatorInfo) SetUnknown(fields protoreflect.RawFields) { + x.unknownFields = fields +} + +// IsValid reports whether the message is valid. +// +// An invalid message is an empty, read-only value. +// +// An invalid message often corresponds to a nil pointer of the concrete +// message type, but the details are implementation dependent. +// Validity is not part of the protobuf data model, and may not +// be preserved in marshaling or other operations. +func (x *fastReflection_TopicIdDelegatorReputerDelegatorInfo) IsValid() bool { + return x != nil +} + +// ProtoMethods returns optional fastReflectionFeature-path implementations of various operations. +// This method may return nil. +// +// The returned methods type is identical to +// "google.golang.org/protobuf/runtime/protoiface".Methods. +// Consult the protoiface package documentation for details. +func (x *fastReflection_TopicIdDelegatorReputerDelegatorInfo) ProtoMethods() *protoiface.Methods { + size := func(input protoiface.SizeInput) protoiface.SizeOutput { + x := input.Message.Interface().(*TopicIdDelegatorReputerDelegatorInfo) + if x == nil { + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: 0, + } + } + options := runtime.SizeInputToOptions(input) + _ = options + var n int + var l int + _ = l + if x.TopicId != 0 { + n += 1 + runtime.Sov(uint64(x.TopicId)) + } + l = len(x.Delegator) + if l > 0 { + n += 1 + l + runtime.Sov(uint64(l)) + } + l = len(x.Reputer) + if l > 0 { + n += 1 + l + runtime.Sov(uint64(l)) + } + if x.DelegatorInfo != nil { + l = options.Size(x.DelegatorInfo) + n += 1 + l + runtime.Sov(uint64(l)) + } + if x.unknownFields != nil { + n += len(x.unknownFields) + } + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: n, + } + } + + marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { + x := input.Message.Interface().(*TopicIdDelegatorReputerDelegatorInfo) + if x == nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + options := runtime.MarshalInputToOptions(input) + _ = options + size := options.Size(x) + dAtA := make([]byte, size) + i := len(dAtA) + _ = i + var l int + _ = l + if x.unknownFields != nil { + i -= len(x.unknownFields) + copy(dAtA[i:], x.unknownFields) + } + if x.DelegatorInfo != nil { + encoded, err := options.Marshal(x.DelegatorInfo) + if err != nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = runtime.EncodeVarint(dAtA, i, uint64(len(encoded))) + i-- + dAtA[i] = 0x22 + } + if len(x.Reputer) > 0 { + i -= len(x.Reputer) + copy(dAtA[i:], x.Reputer) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.Reputer))) + i-- + dAtA[i] = 0x1a + } + if len(x.Delegator) > 0 { + i -= len(x.Delegator) + copy(dAtA[i:], x.Delegator) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.Delegator))) + i-- + dAtA[i] = 0x12 + } + if x.TopicId != 0 { + i = runtime.EncodeVarint(dAtA, i, uint64(x.TopicId)) + i-- + dAtA[i] = 0x8 + } + if input.Buf != nil { + input.Buf = append(input.Buf, dAtA...) + } else { + input.Buf = dAtA + } + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { + x := input.Message.Interface().(*TopicIdDelegatorReputerDelegatorInfo) + if x == nil { + return protoiface.UnmarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Flags: input.Flags, + }, nil + } + options := runtime.UnmarshalInputToOptions(input) + _ = options + dAtA := input.Buf + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: TopicIdDelegatorReputerDelegatorInfo: wiretype end group for non-group") + } + if fieldNum <= 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: TopicIdDelegatorReputerDelegatorInfo: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field TopicId", wireType) + } + x.TopicId = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + x.TopicId |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 2: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Delegator", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + x.Delegator = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 3: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Reputer", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + x.Reputer = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 4: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field DelegatorInfo", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + if x.DelegatorInfo == nil { + x.DelegatorInfo = &v3.DelegatorInfo{} + } + if err := options.Unmarshal(dAtA[iNdEx:postIndex], x.DelegatorInfo); err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := runtime.Skip(dAtA[iNdEx:]) + if err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if (iNdEx + skippy) > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + if !options.DiscardUnknown { + x.unknownFields = append(x.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + } + iNdEx += skippy + } + } + + if iNdEx > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, nil + } + return &protoiface.Methods{ + NoUnkeyedLiterals: struct{}{}, + Flags: protoiface.SupportMarshalDeterministic | protoiface.SupportUnmarshalDiscardUnknown, + Size: size, + Marshal: marshal, + Unmarshal: unmarshal, + Merge: nil, + CheckInitialized: nil, + } +} + +var ( + md_BlockHeightTopicIdReputerStakeRemovalInfo protoreflect.MessageDescriptor + fd_BlockHeightTopicIdReputerStakeRemovalInfo_block_height protoreflect.FieldDescriptor + fd_BlockHeightTopicIdReputerStakeRemovalInfo_topic_id protoreflect.FieldDescriptor + fd_BlockHeightTopicIdReputerStakeRemovalInfo_reputer protoreflect.FieldDescriptor + fd_BlockHeightTopicIdReputerStakeRemovalInfo_stake_removal_info protoreflect.FieldDescriptor +) + +func init() { + file_emissions_v8_genesis_proto_init() + md_BlockHeightTopicIdReputerStakeRemovalInfo = File_emissions_v8_genesis_proto.Messages().ByName("BlockHeightTopicIdReputerStakeRemovalInfo") + fd_BlockHeightTopicIdReputerStakeRemovalInfo_block_height = md_BlockHeightTopicIdReputerStakeRemovalInfo.Fields().ByName("block_height") + fd_BlockHeightTopicIdReputerStakeRemovalInfo_topic_id = md_BlockHeightTopicIdReputerStakeRemovalInfo.Fields().ByName("topic_id") + fd_BlockHeightTopicIdReputerStakeRemovalInfo_reputer = md_BlockHeightTopicIdReputerStakeRemovalInfo.Fields().ByName("reputer") + fd_BlockHeightTopicIdReputerStakeRemovalInfo_stake_removal_info = md_BlockHeightTopicIdReputerStakeRemovalInfo.Fields().ByName("stake_removal_info") +} + +var _ protoreflect.Message = (*fastReflection_BlockHeightTopicIdReputerStakeRemovalInfo)(nil) + +type fastReflection_BlockHeightTopicIdReputerStakeRemovalInfo BlockHeightTopicIdReputerStakeRemovalInfo + +func (x *BlockHeightTopicIdReputerStakeRemovalInfo) ProtoReflect() protoreflect.Message { + return (*fastReflection_BlockHeightTopicIdReputerStakeRemovalInfo)(x) +} + +func (x *BlockHeightTopicIdReputerStakeRemovalInfo) slowProtoReflect() protoreflect.Message { + mi := &file_emissions_v8_genesis_proto_msgTypes[13] + 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) +} + +var _fastReflection_BlockHeightTopicIdReputerStakeRemovalInfo_messageType fastReflection_BlockHeightTopicIdReputerStakeRemovalInfo_messageType +var _ protoreflect.MessageType = fastReflection_BlockHeightTopicIdReputerStakeRemovalInfo_messageType{} + +type fastReflection_BlockHeightTopicIdReputerStakeRemovalInfo_messageType struct{} + +func (x fastReflection_BlockHeightTopicIdReputerStakeRemovalInfo_messageType) Zero() protoreflect.Message { + return (*fastReflection_BlockHeightTopicIdReputerStakeRemovalInfo)(nil) +} +func (x fastReflection_BlockHeightTopicIdReputerStakeRemovalInfo_messageType) New() protoreflect.Message { + return new(fastReflection_BlockHeightTopicIdReputerStakeRemovalInfo) +} +func (x fastReflection_BlockHeightTopicIdReputerStakeRemovalInfo_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_BlockHeightTopicIdReputerStakeRemovalInfo +} + +// Descriptor returns message descriptor, which contains only the protobuf +// type information for the message. +func (x *fastReflection_BlockHeightTopicIdReputerStakeRemovalInfo) Descriptor() protoreflect.MessageDescriptor { + return md_BlockHeightTopicIdReputerStakeRemovalInfo +} + +// Type returns the message type, which encapsulates both Go and protobuf +// type information. If the Go type information is not needed, +// it is recommended that the message descriptor be used instead. +func (x *fastReflection_BlockHeightTopicIdReputerStakeRemovalInfo) Type() protoreflect.MessageType { + return _fastReflection_BlockHeightTopicIdReputerStakeRemovalInfo_messageType +} + +// New returns a newly allocated and mutable empty message. +func (x *fastReflection_BlockHeightTopicIdReputerStakeRemovalInfo) New() protoreflect.Message { + return new(fastReflection_BlockHeightTopicIdReputerStakeRemovalInfo) +} + +// Interface unwraps the message reflection interface and +// returns the underlying ProtoMessage interface. +func (x *fastReflection_BlockHeightTopicIdReputerStakeRemovalInfo) Interface() protoreflect.ProtoMessage { + return (*BlockHeightTopicIdReputerStakeRemovalInfo)(x) +} + +// Range iterates over every populated field in an undefined order, +// calling f for each field descriptor and value encountered. +// Range returns immediately if f returns false. +// While iterating, mutating operations may only be performed +// on the current field descriptor. +func (x *fastReflection_BlockHeightTopicIdReputerStakeRemovalInfo) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { + if x.BlockHeight != int64(0) { + value := protoreflect.ValueOfInt64(x.BlockHeight) + if !f(fd_BlockHeightTopicIdReputerStakeRemovalInfo_block_height, value) { + return + } + } + if x.TopicId != uint64(0) { + value := protoreflect.ValueOfUint64(x.TopicId) + if !f(fd_BlockHeightTopicIdReputerStakeRemovalInfo_topic_id, value) { + return + } + } + if x.Reputer != "" { + value := protoreflect.ValueOfString(x.Reputer) + if !f(fd_BlockHeightTopicIdReputerStakeRemovalInfo_reputer, value) { + return + } + } + if x.StakeRemovalInfo != nil { + value := protoreflect.ValueOfMessage(x.StakeRemovalInfo.ProtoReflect()) + if !f(fd_BlockHeightTopicIdReputerStakeRemovalInfo_stake_removal_info, value) { + return + } + } +} + +// Has reports whether a field is populated. +// +// Some fields have the property of nullability where it is possible to +// distinguish between the default value of a field and whether the field +// was explicitly populated with the default value. Singular message fields, +// member fields of a oneof, and proto2 scalar fields are nullable. Such +// fields are populated only if explicitly set. +// +// In other cases (aside from the nullable cases above), +// a proto3 scalar field is populated if it contains a non-zero value, and +// a repeated field is populated if it is non-empty. +func (x *fastReflection_BlockHeightTopicIdReputerStakeRemovalInfo) Has(fd protoreflect.FieldDescriptor) bool { + switch fd.FullName() { + case "emissions.v8.BlockHeightTopicIdReputerStakeRemovalInfo.block_height": + return x.BlockHeight != int64(0) + case "emissions.v8.BlockHeightTopicIdReputerStakeRemovalInfo.topic_id": + return x.TopicId != uint64(0) + case "emissions.v8.BlockHeightTopicIdReputerStakeRemovalInfo.reputer": + return x.Reputer != "" + case "emissions.v8.BlockHeightTopicIdReputerStakeRemovalInfo.stake_removal_info": + return x.StakeRemovalInfo != nil + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.BlockHeightTopicIdReputerStakeRemovalInfo")) + } + panic(fmt.Errorf("message emissions.v8.BlockHeightTopicIdReputerStakeRemovalInfo does not contain field %s", fd.FullName())) + } +} + +// Clear clears the field such that a subsequent Has call reports false. +// +// Clearing an extension field clears both the extension type and value +// associated with the given field number. +// +// Clear is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_BlockHeightTopicIdReputerStakeRemovalInfo) Clear(fd protoreflect.FieldDescriptor) { + switch fd.FullName() { + case "emissions.v8.BlockHeightTopicIdReputerStakeRemovalInfo.block_height": + x.BlockHeight = int64(0) + case "emissions.v8.BlockHeightTopicIdReputerStakeRemovalInfo.topic_id": + x.TopicId = uint64(0) + case "emissions.v8.BlockHeightTopicIdReputerStakeRemovalInfo.reputer": + x.Reputer = "" + case "emissions.v8.BlockHeightTopicIdReputerStakeRemovalInfo.stake_removal_info": + x.StakeRemovalInfo = nil + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.BlockHeightTopicIdReputerStakeRemovalInfo")) + } + panic(fmt.Errorf("message emissions.v8.BlockHeightTopicIdReputerStakeRemovalInfo does not contain field %s", fd.FullName())) + } +} + +// Get retrieves the value for a field. +// +// For unpopulated scalars, it returns the default value, where +// the default value of a bytes scalar is guaranteed to be a copy. +// For unpopulated composite types, it returns an empty, read-only view +// of the value; to obtain a mutable reference, use Mutable. +func (x *fastReflection_BlockHeightTopicIdReputerStakeRemovalInfo) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { + switch descriptor.FullName() { + case "emissions.v8.BlockHeightTopicIdReputerStakeRemovalInfo.block_height": + value := x.BlockHeight + return protoreflect.ValueOfInt64(value) + case "emissions.v8.BlockHeightTopicIdReputerStakeRemovalInfo.topic_id": + value := x.TopicId + return protoreflect.ValueOfUint64(value) + case "emissions.v8.BlockHeightTopicIdReputerStakeRemovalInfo.reputer": + value := x.Reputer + return protoreflect.ValueOfString(value) + case "emissions.v8.BlockHeightTopicIdReputerStakeRemovalInfo.stake_removal_info": + value := x.StakeRemovalInfo + return protoreflect.ValueOfMessage(value.ProtoReflect()) + default: + if descriptor.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.BlockHeightTopicIdReputerStakeRemovalInfo")) + } + panic(fmt.Errorf("message emissions.v8.BlockHeightTopicIdReputerStakeRemovalInfo does not contain field %s", descriptor.FullName())) + } +} + +// Set stores the value for a field. +// +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType. +// When setting a composite type, it is unspecified whether the stored value +// aliases the source's memory in any way. If the composite value is an +// empty, read-only value, then it panics. +// +// Set is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_BlockHeightTopicIdReputerStakeRemovalInfo) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { + switch fd.FullName() { + case "emissions.v8.BlockHeightTopicIdReputerStakeRemovalInfo.block_height": + x.BlockHeight = value.Int() + case "emissions.v8.BlockHeightTopicIdReputerStakeRemovalInfo.topic_id": + x.TopicId = value.Uint() + case "emissions.v8.BlockHeightTopicIdReputerStakeRemovalInfo.reputer": + x.Reputer = value.Interface().(string) + case "emissions.v8.BlockHeightTopicIdReputerStakeRemovalInfo.stake_removal_info": + x.StakeRemovalInfo = value.Message().Interface().(*v3.StakeRemovalInfo) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.BlockHeightTopicIdReputerStakeRemovalInfo")) + } + panic(fmt.Errorf("message emissions.v8.BlockHeightTopicIdReputerStakeRemovalInfo does not contain field %s", fd.FullName())) + } +} + +// Mutable returns a mutable reference to a composite type. +// +// If the field is unpopulated, it may allocate a composite value. +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType +// if not already stored. +// It panics if the field does not contain a composite type. +// +// Mutable is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_BlockHeightTopicIdReputerStakeRemovalInfo) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.BlockHeightTopicIdReputerStakeRemovalInfo.stake_removal_info": + if x.StakeRemovalInfo == nil { + x.StakeRemovalInfo = new(v3.StakeRemovalInfo) + } + return protoreflect.ValueOfMessage(x.StakeRemovalInfo.ProtoReflect()) + case "emissions.v8.BlockHeightTopicIdReputerStakeRemovalInfo.block_height": + panic(fmt.Errorf("field block_height of message emissions.v8.BlockHeightTopicIdReputerStakeRemovalInfo is not mutable")) + case "emissions.v8.BlockHeightTopicIdReputerStakeRemovalInfo.topic_id": + panic(fmt.Errorf("field topic_id of message emissions.v8.BlockHeightTopicIdReputerStakeRemovalInfo is not mutable")) + case "emissions.v8.BlockHeightTopicIdReputerStakeRemovalInfo.reputer": + panic(fmt.Errorf("field reputer of message emissions.v8.BlockHeightTopicIdReputerStakeRemovalInfo is not mutable")) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.BlockHeightTopicIdReputerStakeRemovalInfo")) + } + panic(fmt.Errorf("message emissions.v8.BlockHeightTopicIdReputerStakeRemovalInfo does not contain field %s", fd.FullName())) + } +} + +// NewField returns a new value that is assignable to the field +// for the given descriptor. For scalars, this returns the default value. +// For lists, maps, and messages, this returns a new, empty, mutable value. +func (x *fastReflection_BlockHeightTopicIdReputerStakeRemovalInfo) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.BlockHeightTopicIdReputerStakeRemovalInfo.block_height": + return protoreflect.ValueOfInt64(int64(0)) + case "emissions.v8.BlockHeightTopicIdReputerStakeRemovalInfo.topic_id": + return protoreflect.ValueOfUint64(uint64(0)) + case "emissions.v8.BlockHeightTopicIdReputerStakeRemovalInfo.reputer": + return protoreflect.ValueOfString("") + case "emissions.v8.BlockHeightTopicIdReputerStakeRemovalInfo.stake_removal_info": + m := new(v3.StakeRemovalInfo) + return protoreflect.ValueOfMessage(m.ProtoReflect()) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.BlockHeightTopicIdReputerStakeRemovalInfo")) + } + panic(fmt.Errorf("message emissions.v8.BlockHeightTopicIdReputerStakeRemovalInfo does not contain field %s", fd.FullName())) + } +} + +// WhichOneof reports which field within the oneof is populated, +// returning nil if none are populated. +// It panics if the oneof descriptor does not belong to this message. +func (x *fastReflection_BlockHeightTopicIdReputerStakeRemovalInfo) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { + switch d.FullName() { + default: + panic(fmt.Errorf("%s is not a oneof field in emissions.v8.BlockHeightTopicIdReputerStakeRemovalInfo", d.FullName())) + } + panic("unreachable") +} + +// GetUnknown retrieves the entire list of unknown fields. +// The caller may only mutate the contents of the RawFields +// if the mutated bytes are stored back into the message with SetUnknown. +func (x *fastReflection_BlockHeightTopicIdReputerStakeRemovalInfo) GetUnknown() protoreflect.RawFields { + return x.unknownFields +} + +// SetUnknown stores an entire list of unknown fields. +// The raw fields must be syntactically valid according to the wire format. +// An implementation may panic if this is not the case. +// Once stored, the caller must not mutate the content of the RawFields. +// An empty RawFields may be passed to clear the fields. +// +// SetUnknown is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_BlockHeightTopicIdReputerStakeRemovalInfo) SetUnknown(fields protoreflect.RawFields) { + x.unknownFields = fields +} + +// IsValid reports whether the message is valid. +// +// An invalid message is an empty, read-only value. +// +// An invalid message often corresponds to a nil pointer of the concrete +// message type, but the details are implementation dependent. +// Validity is not part of the protobuf data model, and may not +// be preserved in marshaling or other operations. +func (x *fastReflection_BlockHeightTopicIdReputerStakeRemovalInfo) IsValid() bool { + return x != nil +} + +// ProtoMethods returns optional fastReflectionFeature-path implementations of various operations. +// This method may return nil. +// +// The returned methods type is identical to +// "google.golang.org/protobuf/runtime/protoiface".Methods. +// Consult the protoiface package documentation for details. +func (x *fastReflection_BlockHeightTopicIdReputerStakeRemovalInfo) ProtoMethods() *protoiface.Methods { + size := func(input protoiface.SizeInput) protoiface.SizeOutput { + x := input.Message.Interface().(*BlockHeightTopicIdReputerStakeRemovalInfo) + if x == nil { + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: 0, + } + } + options := runtime.SizeInputToOptions(input) + _ = options + var n int + var l int + _ = l + if x.BlockHeight != 0 { + n += 1 + runtime.Sov(uint64(x.BlockHeight)) + } + if x.TopicId != 0 { + n += 1 + runtime.Sov(uint64(x.TopicId)) + } + l = len(x.Reputer) + if l > 0 { + n += 1 + l + runtime.Sov(uint64(l)) + } + if x.StakeRemovalInfo != nil { + l = options.Size(x.StakeRemovalInfo) + n += 1 + l + runtime.Sov(uint64(l)) + } + if x.unknownFields != nil { + n += len(x.unknownFields) + } + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: n, + } + } + + marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { + x := input.Message.Interface().(*BlockHeightTopicIdReputerStakeRemovalInfo) + if x == nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + options := runtime.MarshalInputToOptions(input) + _ = options + size := options.Size(x) + dAtA := make([]byte, size) + i := len(dAtA) + _ = i + var l int + _ = l + if x.unknownFields != nil { + i -= len(x.unknownFields) + copy(dAtA[i:], x.unknownFields) + } + if x.StakeRemovalInfo != nil { + encoded, err := options.Marshal(x.StakeRemovalInfo) + if err != nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = runtime.EncodeVarint(dAtA, i, uint64(len(encoded))) + i-- + dAtA[i] = 0x22 + } + if len(x.Reputer) > 0 { + i -= len(x.Reputer) + copy(dAtA[i:], x.Reputer) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.Reputer))) + i-- + dAtA[i] = 0x1a + } + if x.TopicId != 0 { + i = runtime.EncodeVarint(dAtA, i, uint64(x.TopicId)) + i-- + dAtA[i] = 0x10 + } + if x.BlockHeight != 0 { + i = runtime.EncodeVarint(dAtA, i, uint64(x.BlockHeight)) + i-- + dAtA[i] = 0x8 + } + if input.Buf != nil { + input.Buf = append(input.Buf, dAtA...) + } else { + input.Buf = dAtA + } + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { + x := input.Message.Interface().(*BlockHeightTopicIdReputerStakeRemovalInfo) + if x == nil { + return protoiface.UnmarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Flags: input.Flags, + }, nil + } + options := runtime.UnmarshalInputToOptions(input) + _ = options + dAtA := input.Buf + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: BlockHeightTopicIdReputerStakeRemovalInfo: wiretype end group for non-group") + } + if fieldNum <= 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: BlockHeightTopicIdReputerStakeRemovalInfo: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field BlockHeight", wireType) + } + x.BlockHeight = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + x.BlockHeight |= int64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 2: + if wireType != 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field TopicId", wireType) + } + x.TopicId = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + x.TopicId |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 3: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Reputer", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + x.Reputer = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 4: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field StakeRemovalInfo", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + if x.StakeRemovalInfo == nil { + x.StakeRemovalInfo = &v3.StakeRemovalInfo{} + } + if err := options.Unmarshal(dAtA[iNdEx:postIndex], x.StakeRemovalInfo); err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := runtime.Skip(dAtA[iNdEx:]) + if err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if (iNdEx + skippy) > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + if !options.DiscardUnknown { + x.unknownFields = append(x.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + } + iNdEx += skippy + } + } + + if iNdEx > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, nil + } + return &protoiface.Methods{ + NoUnkeyedLiterals: struct{}{}, + Flags: protoiface.SupportMarshalDeterministic | protoiface.SupportUnmarshalDiscardUnknown, + Size: size, + Marshal: marshal, + Unmarshal: unmarshal, + Merge: nil, + CheckInitialized: nil, + } +} + +var ( + md_ActorIdTopicIdBlockHeight protoreflect.MessageDescriptor + fd_ActorIdTopicIdBlockHeight_actor_id protoreflect.FieldDescriptor + fd_ActorIdTopicIdBlockHeight_topic_id protoreflect.FieldDescriptor + fd_ActorIdTopicIdBlockHeight_block_height protoreflect.FieldDescriptor +) + +func init() { + file_emissions_v8_genesis_proto_init() + md_ActorIdTopicIdBlockHeight = File_emissions_v8_genesis_proto.Messages().ByName("ActorIdTopicIdBlockHeight") + fd_ActorIdTopicIdBlockHeight_actor_id = md_ActorIdTopicIdBlockHeight.Fields().ByName("actor_id") + fd_ActorIdTopicIdBlockHeight_topic_id = md_ActorIdTopicIdBlockHeight.Fields().ByName("topic_id") + fd_ActorIdTopicIdBlockHeight_block_height = md_ActorIdTopicIdBlockHeight.Fields().ByName("block_height") +} + +var _ protoreflect.Message = (*fastReflection_ActorIdTopicIdBlockHeight)(nil) + +type fastReflection_ActorIdTopicIdBlockHeight ActorIdTopicIdBlockHeight + +func (x *ActorIdTopicIdBlockHeight) ProtoReflect() protoreflect.Message { + return (*fastReflection_ActorIdTopicIdBlockHeight)(x) +} + +func (x *ActorIdTopicIdBlockHeight) slowProtoReflect() protoreflect.Message { + mi := &file_emissions_v8_genesis_proto_msgTypes[14] + 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) +} + +var _fastReflection_ActorIdTopicIdBlockHeight_messageType fastReflection_ActorIdTopicIdBlockHeight_messageType +var _ protoreflect.MessageType = fastReflection_ActorIdTopicIdBlockHeight_messageType{} + +type fastReflection_ActorIdTopicIdBlockHeight_messageType struct{} + +func (x fastReflection_ActorIdTopicIdBlockHeight_messageType) Zero() protoreflect.Message { + return (*fastReflection_ActorIdTopicIdBlockHeight)(nil) +} +func (x fastReflection_ActorIdTopicIdBlockHeight_messageType) New() protoreflect.Message { + return new(fastReflection_ActorIdTopicIdBlockHeight) +} +func (x fastReflection_ActorIdTopicIdBlockHeight_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_ActorIdTopicIdBlockHeight +} + +// Descriptor returns message descriptor, which contains only the protobuf +// type information for the message. +func (x *fastReflection_ActorIdTopicIdBlockHeight) Descriptor() protoreflect.MessageDescriptor { + return md_ActorIdTopicIdBlockHeight +} + +// Type returns the message type, which encapsulates both Go and protobuf +// type information. If the Go type information is not needed, +// it is recommended that the message descriptor be used instead. +func (x *fastReflection_ActorIdTopicIdBlockHeight) Type() protoreflect.MessageType { + return _fastReflection_ActorIdTopicIdBlockHeight_messageType +} + +// New returns a newly allocated and mutable empty message. +func (x *fastReflection_ActorIdTopicIdBlockHeight) New() protoreflect.Message { + return new(fastReflection_ActorIdTopicIdBlockHeight) +} + +// Interface unwraps the message reflection interface and +// returns the underlying ProtoMessage interface. +func (x *fastReflection_ActorIdTopicIdBlockHeight) Interface() protoreflect.ProtoMessage { + return (*ActorIdTopicIdBlockHeight)(x) +} + +// Range iterates over every populated field in an undefined order, +// calling f for each field descriptor and value encountered. +// Range returns immediately if f returns false. +// While iterating, mutating operations may only be performed +// on the current field descriptor. +func (x *fastReflection_ActorIdTopicIdBlockHeight) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { + if x.ActorId != "" { + value := protoreflect.ValueOfString(x.ActorId) + if !f(fd_ActorIdTopicIdBlockHeight_actor_id, value) { + return + } + } + if x.TopicId != uint64(0) { + value := protoreflect.ValueOfUint64(x.TopicId) + if !f(fd_ActorIdTopicIdBlockHeight_topic_id, value) { + return + } + } + if x.BlockHeight != int64(0) { + value := protoreflect.ValueOfInt64(x.BlockHeight) + if !f(fd_ActorIdTopicIdBlockHeight_block_height, value) { + return + } + } +} + +// Has reports whether a field is populated. +// +// Some fields have the property of nullability where it is possible to +// distinguish between the default value of a field and whether the field +// was explicitly populated with the default value. Singular message fields, +// member fields of a oneof, and proto2 scalar fields are nullable. Such +// fields are populated only if explicitly set. +// +// In other cases (aside from the nullable cases above), +// a proto3 scalar field is populated if it contains a non-zero value, and +// a repeated field is populated if it is non-empty. +func (x *fastReflection_ActorIdTopicIdBlockHeight) Has(fd protoreflect.FieldDescriptor) bool { + switch fd.FullName() { + case "emissions.v8.ActorIdTopicIdBlockHeight.actor_id": + return x.ActorId != "" + case "emissions.v8.ActorIdTopicIdBlockHeight.topic_id": + return x.TopicId != uint64(0) + case "emissions.v8.ActorIdTopicIdBlockHeight.block_height": + return x.BlockHeight != int64(0) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.ActorIdTopicIdBlockHeight")) + } + panic(fmt.Errorf("message emissions.v8.ActorIdTopicIdBlockHeight does not contain field %s", fd.FullName())) + } +} + +// Clear clears the field such that a subsequent Has call reports false. +// +// Clearing an extension field clears both the extension type and value +// associated with the given field number. +// +// Clear is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_ActorIdTopicIdBlockHeight) Clear(fd protoreflect.FieldDescriptor) { + switch fd.FullName() { + case "emissions.v8.ActorIdTopicIdBlockHeight.actor_id": + x.ActorId = "" + case "emissions.v8.ActorIdTopicIdBlockHeight.topic_id": + x.TopicId = uint64(0) + case "emissions.v8.ActorIdTopicIdBlockHeight.block_height": + x.BlockHeight = int64(0) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.ActorIdTopicIdBlockHeight")) + } + panic(fmt.Errorf("message emissions.v8.ActorIdTopicIdBlockHeight does not contain field %s", fd.FullName())) + } +} + +// Get retrieves the value for a field. +// +// For unpopulated scalars, it returns the default value, where +// the default value of a bytes scalar is guaranteed to be a copy. +// For unpopulated composite types, it returns an empty, read-only view +// of the value; to obtain a mutable reference, use Mutable. +func (x *fastReflection_ActorIdTopicIdBlockHeight) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { + switch descriptor.FullName() { + case "emissions.v8.ActorIdTopicIdBlockHeight.actor_id": + value := x.ActorId + return protoreflect.ValueOfString(value) + case "emissions.v8.ActorIdTopicIdBlockHeight.topic_id": + value := x.TopicId + return protoreflect.ValueOfUint64(value) + case "emissions.v8.ActorIdTopicIdBlockHeight.block_height": + value := x.BlockHeight + return protoreflect.ValueOfInt64(value) + default: + if descriptor.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.ActorIdTopicIdBlockHeight")) + } + panic(fmt.Errorf("message emissions.v8.ActorIdTopicIdBlockHeight does not contain field %s", descriptor.FullName())) + } +} + +// Set stores the value for a field. +// +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType. +// When setting a composite type, it is unspecified whether the stored value +// aliases the source's memory in any way. If the composite value is an +// empty, read-only value, then it panics. +// +// Set is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_ActorIdTopicIdBlockHeight) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { + switch fd.FullName() { + case "emissions.v8.ActorIdTopicIdBlockHeight.actor_id": + x.ActorId = value.Interface().(string) + case "emissions.v8.ActorIdTopicIdBlockHeight.topic_id": + x.TopicId = value.Uint() + case "emissions.v8.ActorIdTopicIdBlockHeight.block_height": + x.BlockHeight = value.Int() + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.ActorIdTopicIdBlockHeight")) + } + panic(fmt.Errorf("message emissions.v8.ActorIdTopicIdBlockHeight does not contain field %s", fd.FullName())) + } +} + +// Mutable returns a mutable reference to a composite type. +// +// If the field is unpopulated, it may allocate a composite value. +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType +// if not already stored. +// It panics if the field does not contain a composite type. +// +// Mutable is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_ActorIdTopicIdBlockHeight) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.ActorIdTopicIdBlockHeight.actor_id": + panic(fmt.Errorf("field actor_id of message emissions.v8.ActorIdTopicIdBlockHeight is not mutable")) + case "emissions.v8.ActorIdTopicIdBlockHeight.topic_id": + panic(fmt.Errorf("field topic_id of message emissions.v8.ActorIdTopicIdBlockHeight is not mutable")) + case "emissions.v8.ActorIdTopicIdBlockHeight.block_height": + panic(fmt.Errorf("field block_height of message emissions.v8.ActorIdTopicIdBlockHeight is not mutable")) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.ActorIdTopicIdBlockHeight")) + } + panic(fmt.Errorf("message emissions.v8.ActorIdTopicIdBlockHeight does not contain field %s", fd.FullName())) + } +} + +// NewField returns a new value that is assignable to the field +// for the given descriptor. For scalars, this returns the default value. +// For lists, maps, and messages, this returns a new, empty, mutable value. +func (x *fastReflection_ActorIdTopicIdBlockHeight) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.ActorIdTopicIdBlockHeight.actor_id": + return protoreflect.ValueOfString("") + case "emissions.v8.ActorIdTopicIdBlockHeight.topic_id": + return protoreflect.ValueOfUint64(uint64(0)) + case "emissions.v8.ActorIdTopicIdBlockHeight.block_height": + return protoreflect.ValueOfInt64(int64(0)) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.ActorIdTopicIdBlockHeight")) + } + panic(fmt.Errorf("message emissions.v8.ActorIdTopicIdBlockHeight does not contain field %s", fd.FullName())) + } +} + +// WhichOneof reports which field within the oneof is populated, +// returning nil if none are populated. +// It panics if the oneof descriptor does not belong to this message. +func (x *fastReflection_ActorIdTopicIdBlockHeight) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { + switch d.FullName() { + default: + panic(fmt.Errorf("%s is not a oneof field in emissions.v8.ActorIdTopicIdBlockHeight", d.FullName())) + } + panic("unreachable") +} + +// GetUnknown retrieves the entire list of unknown fields. +// The caller may only mutate the contents of the RawFields +// if the mutated bytes are stored back into the message with SetUnknown. +func (x *fastReflection_ActorIdTopicIdBlockHeight) GetUnknown() protoreflect.RawFields { + return x.unknownFields +} + +// SetUnknown stores an entire list of unknown fields. +// The raw fields must be syntactically valid according to the wire format. +// An implementation may panic if this is not the case. +// Once stored, the caller must not mutate the content of the RawFields. +// An empty RawFields may be passed to clear the fields. +// +// SetUnknown is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_ActorIdTopicIdBlockHeight) SetUnknown(fields protoreflect.RawFields) { + x.unknownFields = fields +} + +// IsValid reports whether the message is valid. +// +// An invalid message is an empty, read-only value. +// +// An invalid message often corresponds to a nil pointer of the concrete +// message type, but the details are implementation dependent. +// Validity is not part of the protobuf data model, and may not +// be preserved in marshaling or other operations. +func (x *fastReflection_ActorIdTopicIdBlockHeight) IsValid() bool { + return x != nil +} + +// ProtoMethods returns optional fastReflectionFeature-path implementations of various operations. +// This method may return nil. +// +// The returned methods type is identical to +// "google.golang.org/protobuf/runtime/protoiface".Methods. +// Consult the protoiface package documentation for details. +func (x *fastReflection_ActorIdTopicIdBlockHeight) ProtoMethods() *protoiface.Methods { + size := func(input protoiface.SizeInput) protoiface.SizeOutput { + x := input.Message.Interface().(*ActorIdTopicIdBlockHeight) + if x == nil { + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: 0, + } + } + options := runtime.SizeInputToOptions(input) + _ = options + var n int + var l int + _ = l + l = len(x.ActorId) + if l > 0 { + n += 1 + l + runtime.Sov(uint64(l)) + } + if x.TopicId != 0 { + n += 1 + runtime.Sov(uint64(x.TopicId)) + } + if x.BlockHeight != 0 { + n += 1 + runtime.Sov(uint64(x.BlockHeight)) + } + if x.unknownFields != nil { + n += len(x.unknownFields) + } + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: n, + } + } + + marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { + x := input.Message.Interface().(*ActorIdTopicIdBlockHeight) + if x == nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + options := runtime.MarshalInputToOptions(input) + _ = options + size := options.Size(x) + dAtA := make([]byte, size) + i := len(dAtA) + _ = i + var l int + _ = l + if x.unknownFields != nil { + i -= len(x.unknownFields) + copy(dAtA[i:], x.unknownFields) + } + if x.BlockHeight != 0 { + i = runtime.EncodeVarint(dAtA, i, uint64(x.BlockHeight)) + i-- + dAtA[i] = 0x18 + } + if x.TopicId != 0 { + i = runtime.EncodeVarint(dAtA, i, uint64(x.TopicId)) + i-- + dAtA[i] = 0x10 + } + if len(x.ActorId) > 0 { + i -= len(x.ActorId) + copy(dAtA[i:], x.ActorId) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.ActorId))) + i-- + dAtA[i] = 0xa + } + if input.Buf != nil { + input.Buf = append(input.Buf, dAtA...) + } else { + input.Buf = dAtA + } + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { + x := input.Message.Interface().(*ActorIdTopicIdBlockHeight) + if x == nil { + return protoiface.UnmarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Flags: input.Flags, + }, nil + } + options := runtime.UnmarshalInputToOptions(input) + _ = options + dAtA := input.Buf + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: ActorIdTopicIdBlockHeight: wiretype end group for non-group") + } + if fieldNum <= 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: ActorIdTopicIdBlockHeight: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field ActorId", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + x.ActorId = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field TopicId", wireType) + } + x.TopicId = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + x.TopicId |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 3: + if wireType != 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field BlockHeight", wireType) + } + x.BlockHeight = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + x.BlockHeight |= int64(b&0x7F) << shift + if b < 0x80 { + break + } + } + default: + iNdEx = preIndex + skippy, err := runtime.Skip(dAtA[iNdEx:]) + if err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if (iNdEx + skippy) > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + if !options.DiscardUnknown { + x.unknownFields = append(x.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + } + iNdEx += skippy + } + } + + if iNdEx > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, nil + } + return &protoiface.Methods{ + NoUnkeyedLiterals: struct{}{}, + Flags: protoiface.SupportMarshalDeterministic | protoiface.SupportUnmarshalDiscardUnknown, + Size: size, + Marshal: marshal, + Unmarshal: unmarshal, + Merge: nil, + CheckInitialized: nil, + } +} + +var ( + md_BlockHeightTopicIdDelegatorReputerDelegateStakeRemovalInfo protoreflect.MessageDescriptor + fd_BlockHeightTopicIdDelegatorReputerDelegateStakeRemovalInfo_block_height protoreflect.FieldDescriptor + fd_BlockHeightTopicIdDelegatorReputerDelegateStakeRemovalInfo_topic_id protoreflect.FieldDescriptor + fd_BlockHeightTopicIdDelegatorReputerDelegateStakeRemovalInfo_delegator protoreflect.FieldDescriptor + fd_BlockHeightTopicIdDelegatorReputerDelegateStakeRemovalInfo_reputer protoreflect.FieldDescriptor + fd_BlockHeightTopicIdDelegatorReputerDelegateStakeRemovalInfo_delegate_stake_removal_info protoreflect.FieldDescriptor +) + +func init() { + file_emissions_v8_genesis_proto_init() + md_BlockHeightTopicIdDelegatorReputerDelegateStakeRemovalInfo = File_emissions_v8_genesis_proto.Messages().ByName("BlockHeightTopicIdDelegatorReputerDelegateStakeRemovalInfo") + fd_BlockHeightTopicIdDelegatorReputerDelegateStakeRemovalInfo_block_height = md_BlockHeightTopicIdDelegatorReputerDelegateStakeRemovalInfo.Fields().ByName("block_height") + fd_BlockHeightTopicIdDelegatorReputerDelegateStakeRemovalInfo_topic_id = md_BlockHeightTopicIdDelegatorReputerDelegateStakeRemovalInfo.Fields().ByName("topic_id") + fd_BlockHeightTopicIdDelegatorReputerDelegateStakeRemovalInfo_delegator = md_BlockHeightTopicIdDelegatorReputerDelegateStakeRemovalInfo.Fields().ByName("delegator") + fd_BlockHeightTopicIdDelegatorReputerDelegateStakeRemovalInfo_reputer = md_BlockHeightTopicIdDelegatorReputerDelegateStakeRemovalInfo.Fields().ByName("reputer") + fd_BlockHeightTopicIdDelegatorReputerDelegateStakeRemovalInfo_delegate_stake_removal_info = md_BlockHeightTopicIdDelegatorReputerDelegateStakeRemovalInfo.Fields().ByName("delegate_stake_removal_info") +} + +var _ protoreflect.Message = (*fastReflection_BlockHeightTopicIdDelegatorReputerDelegateStakeRemovalInfo)(nil) + +type fastReflection_BlockHeightTopicIdDelegatorReputerDelegateStakeRemovalInfo BlockHeightTopicIdDelegatorReputerDelegateStakeRemovalInfo + +func (x *BlockHeightTopicIdDelegatorReputerDelegateStakeRemovalInfo) ProtoReflect() protoreflect.Message { + return (*fastReflection_BlockHeightTopicIdDelegatorReputerDelegateStakeRemovalInfo)(x) +} + +func (x *BlockHeightTopicIdDelegatorReputerDelegateStakeRemovalInfo) slowProtoReflect() protoreflect.Message { + mi := &file_emissions_v8_genesis_proto_msgTypes[15] + 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) +} + +var _fastReflection_BlockHeightTopicIdDelegatorReputerDelegateStakeRemovalInfo_messageType fastReflection_BlockHeightTopicIdDelegatorReputerDelegateStakeRemovalInfo_messageType +var _ protoreflect.MessageType = fastReflection_BlockHeightTopicIdDelegatorReputerDelegateStakeRemovalInfo_messageType{} + +type fastReflection_BlockHeightTopicIdDelegatorReputerDelegateStakeRemovalInfo_messageType struct{} + +func (x fastReflection_BlockHeightTopicIdDelegatorReputerDelegateStakeRemovalInfo_messageType) Zero() protoreflect.Message { + return (*fastReflection_BlockHeightTopicIdDelegatorReputerDelegateStakeRemovalInfo)(nil) +} +func (x fastReflection_BlockHeightTopicIdDelegatorReputerDelegateStakeRemovalInfo_messageType) New() protoreflect.Message { + return new(fastReflection_BlockHeightTopicIdDelegatorReputerDelegateStakeRemovalInfo) +} +func (x fastReflection_BlockHeightTopicIdDelegatorReputerDelegateStakeRemovalInfo_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_BlockHeightTopicIdDelegatorReputerDelegateStakeRemovalInfo +} + +// Descriptor returns message descriptor, which contains only the protobuf +// type information for the message. +func (x *fastReflection_BlockHeightTopicIdDelegatorReputerDelegateStakeRemovalInfo) Descriptor() protoreflect.MessageDescriptor { + return md_BlockHeightTopicIdDelegatorReputerDelegateStakeRemovalInfo +} + +// Type returns the message type, which encapsulates both Go and protobuf +// type information. If the Go type information is not needed, +// it is recommended that the message descriptor be used instead. +func (x *fastReflection_BlockHeightTopicIdDelegatorReputerDelegateStakeRemovalInfo) Type() protoreflect.MessageType { + return _fastReflection_BlockHeightTopicIdDelegatorReputerDelegateStakeRemovalInfo_messageType +} + +// New returns a newly allocated and mutable empty message. +func (x *fastReflection_BlockHeightTopicIdDelegatorReputerDelegateStakeRemovalInfo) New() protoreflect.Message { + return new(fastReflection_BlockHeightTopicIdDelegatorReputerDelegateStakeRemovalInfo) +} + +// Interface unwraps the message reflection interface and +// returns the underlying ProtoMessage interface. +func (x *fastReflection_BlockHeightTopicIdDelegatorReputerDelegateStakeRemovalInfo) Interface() protoreflect.ProtoMessage { + return (*BlockHeightTopicIdDelegatorReputerDelegateStakeRemovalInfo)(x) +} + +// Range iterates over every populated field in an undefined order, +// calling f for each field descriptor and value encountered. +// Range returns immediately if f returns false. +// While iterating, mutating operations may only be performed +// on the current field descriptor. +func (x *fastReflection_BlockHeightTopicIdDelegatorReputerDelegateStakeRemovalInfo) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { + if x.BlockHeight != int64(0) { + value := protoreflect.ValueOfInt64(x.BlockHeight) + if !f(fd_BlockHeightTopicIdDelegatorReputerDelegateStakeRemovalInfo_block_height, value) { + return + } + } + if x.TopicId != uint64(0) { + value := protoreflect.ValueOfUint64(x.TopicId) + if !f(fd_BlockHeightTopicIdDelegatorReputerDelegateStakeRemovalInfo_topic_id, value) { + return + } + } + if x.Delegator != "" { + value := protoreflect.ValueOfString(x.Delegator) + if !f(fd_BlockHeightTopicIdDelegatorReputerDelegateStakeRemovalInfo_delegator, value) { + return + } + } + if x.Reputer != "" { + value := protoreflect.ValueOfString(x.Reputer) + if !f(fd_BlockHeightTopicIdDelegatorReputerDelegateStakeRemovalInfo_reputer, value) { + return + } + } + if x.DelegateStakeRemovalInfo != nil { + value := protoreflect.ValueOfMessage(x.DelegateStakeRemovalInfo.ProtoReflect()) + if !f(fd_BlockHeightTopicIdDelegatorReputerDelegateStakeRemovalInfo_delegate_stake_removal_info, value) { + return + } + } +} + +// Has reports whether a field is populated. +// +// Some fields have the property of nullability where it is possible to +// distinguish between the default value of a field and whether the field +// was explicitly populated with the default value. Singular message fields, +// member fields of a oneof, and proto2 scalar fields are nullable. Such +// fields are populated only if explicitly set. +// +// In other cases (aside from the nullable cases above), +// a proto3 scalar field is populated if it contains a non-zero value, and +// a repeated field is populated if it is non-empty. +func (x *fastReflection_BlockHeightTopicIdDelegatorReputerDelegateStakeRemovalInfo) Has(fd protoreflect.FieldDescriptor) bool { + switch fd.FullName() { + case "emissions.v8.BlockHeightTopicIdDelegatorReputerDelegateStakeRemovalInfo.block_height": + return x.BlockHeight != int64(0) + case "emissions.v8.BlockHeightTopicIdDelegatorReputerDelegateStakeRemovalInfo.topic_id": + return x.TopicId != uint64(0) + case "emissions.v8.BlockHeightTopicIdDelegatorReputerDelegateStakeRemovalInfo.delegator": + return x.Delegator != "" + case "emissions.v8.BlockHeightTopicIdDelegatorReputerDelegateStakeRemovalInfo.reputer": + return x.Reputer != "" + case "emissions.v8.BlockHeightTopicIdDelegatorReputerDelegateStakeRemovalInfo.delegate_stake_removal_info": + return x.DelegateStakeRemovalInfo != nil + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.BlockHeightTopicIdDelegatorReputerDelegateStakeRemovalInfo")) + } + panic(fmt.Errorf("message emissions.v8.BlockHeightTopicIdDelegatorReputerDelegateStakeRemovalInfo does not contain field %s", fd.FullName())) + } +} + +// Clear clears the field such that a subsequent Has call reports false. +// +// Clearing an extension field clears both the extension type and value +// associated with the given field number. +// +// Clear is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_BlockHeightTopicIdDelegatorReputerDelegateStakeRemovalInfo) Clear(fd protoreflect.FieldDescriptor) { + switch fd.FullName() { + case "emissions.v8.BlockHeightTopicIdDelegatorReputerDelegateStakeRemovalInfo.block_height": + x.BlockHeight = int64(0) + case "emissions.v8.BlockHeightTopicIdDelegatorReputerDelegateStakeRemovalInfo.topic_id": + x.TopicId = uint64(0) + case "emissions.v8.BlockHeightTopicIdDelegatorReputerDelegateStakeRemovalInfo.delegator": + x.Delegator = "" + case "emissions.v8.BlockHeightTopicIdDelegatorReputerDelegateStakeRemovalInfo.reputer": + x.Reputer = "" + case "emissions.v8.BlockHeightTopicIdDelegatorReputerDelegateStakeRemovalInfo.delegate_stake_removal_info": + x.DelegateStakeRemovalInfo = nil + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.BlockHeightTopicIdDelegatorReputerDelegateStakeRemovalInfo")) + } + panic(fmt.Errorf("message emissions.v8.BlockHeightTopicIdDelegatorReputerDelegateStakeRemovalInfo does not contain field %s", fd.FullName())) + } +} + +// Get retrieves the value for a field. +// +// For unpopulated scalars, it returns the default value, where +// the default value of a bytes scalar is guaranteed to be a copy. +// For unpopulated composite types, it returns an empty, read-only view +// of the value; to obtain a mutable reference, use Mutable. +func (x *fastReflection_BlockHeightTopicIdDelegatorReputerDelegateStakeRemovalInfo) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { + switch descriptor.FullName() { + case "emissions.v8.BlockHeightTopicIdDelegatorReputerDelegateStakeRemovalInfo.block_height": + value := x.BlockHeight + return protoreflect.ValueOfInt64(value) + case "emissions.v8.BlockHeightTopicIdDelegatorReputerDelegateStakeRemovalInfo.topic_id": + value := x.TopicId + return protoreflect.ValueOfUint64(value) + case "emissions.v8.BlockHeightTopicIdDelegatorReputerDelegateStakeRemovalInfo.delegator": + value := x.Delegator + return protoreflect.ValueOfString(value) + case "emissions.v8.BlockHeightTopicIdDelegatorReputerDelegateStakeRemovalInfo.reputer": + value := x.Reputer + return protoreflect.ValueOfString(value) + case "emissions.v8.BlockHeightTopicIdDelegatorReputerDelegateStakeRemovalInfo.delegate_stake_removal_info": + value := x.DelegateStakeRemovalInfo + return protoreflect.ValueOfMessage(value.ProtoReflect()) + default: + if descriptor.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.BlockHeightTopicIdDelegatorReputerDelegateStakeRemovalInfo")) + } + panic(fmt.Errorf("message emissions.v8.BlockHeightTopicIdDelegatorReputerDelegateStakeRemovalInfo does not contain field %s", descriptor.FullName())) + } +} + +// Set stores the value for a field. +// +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType. +// When setting a composite type, it is unspecified whether the stored value +// aliases the source's memory in any way. If the composite value is an +// empty, read-only value, then it panics. +// +// Set is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_BlockHeightTopicIdDelegatorReputerDelegateStakeRemovalInfo) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { + switch fd.FullName() { + case "emissions.v8.BlockHeightTopicIdDelegatorReputerDelegateStakeRemovalInfo.block_height": + x.BlockHeight = value.Int() + case "emissions.v8.BlockHeightTopicIdDelegatorReputerDelegateStakeRemovalInfo.topic_id": + x.TopicId = value.Uint() + case "emissions.v8.BlockHeightTopicIdDelegatorReputerDelegateStakeRemovalInfo.delegator": + x.Delegator = value.Interface().(string) + case "emissions.v8.BlockHeightTopicIdDelegatorReputerDelegateStakeRemovalInfo.reputer": + x.Reputer = value.Interface().(string) + case "emissions.v8.BlockHeightTopicIdDelegatorReputerDelegateStakeRemovalInfo.delegate_stake_removal_info": + x.DelegateStakeRemovalInfo = value.Message().Interface().(*v3.DelegateStakeRemovalInfo) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.BlockHeightTopicIdDelegatorReputerDelegateStakeRemovalInfo")) + } + panic(fmt.Errorf("message emissions.v8.BlockHeightTopicIdDelegatorReputerDelegateStakeRemovalInfo does not contain field %s", fd.FullName())) + } +} + +// Mutable returns a mutable reference to a composite type. +// +// If the field is unpopulated, it may allocate a composite value. +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType +// if not already stored. +// It panics if the field does not contain a composite type. +// +// Mutable is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_BlockHeightTopicIdDelegatorReputerDelegateStakeRemovalInfo) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.BlockHeightTopicIdDelegatorReputerDelegateStakeRemovalInfo.delegate_stake_removal_info": + if x.DelegateStakeRemovalInfo == nil { + x.DelegateStakeRemovalInfo = new(v3.DelegateStakeRemovalInfo) + } + return protoreflect.ValueOfMessage(x.DelegateStakeRemovalInfo.ProtoReflect()) + case "emissions.v8.BlockHeightTopicIdDelegatorReputerDelegateStakeRemovalInfo.block_height": + panic(fmt.Errorf("field block_height of message emissions.v8.BlockHeightTopicIdDelegatorReputerDelegateStakeRemovalInfo is not mutable")) + case "emissions.v8.BlockHeightTopicIdDelegatorReputerDelegateStakeRemovalInfo.topic_id": + panic(fmt.Errorf("field topic_id of message emissions.v8.BlockHeightTopicIdDelegatorReputerDelegateStakeRemovalInfo is not mutable")) + case "emissions.v8.BlockHeightTopicIdDelegatorReputerDelegateStakeRemovalInfo.delegator": + panic(fmt.Errorf("field delegator of message emissions.v8.BlockHeightTopicIdDelegatorReputerDelegateStakeRemovalInfo is not mutable")) + case "emissions.v8.BlockHeightTopicIdDelegatorReputerDelegateStakeRemovalInfo.reputer": + panic(fmt.Errorf("field reputer of message emissions.v8.BlockHeightTopicIdDelegatorReputerDelegateStakeRemovalInfo is not mutable")) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.BlockHeightTopicIdDelegatorReputerDelegateStakeRemovalInfo")) + } + panic(fmt.Errorf("message emissions.v8.BlockHeightTopicIdDelegatorReputerDelegateStakeRemovalInfo does not contain field %s", fd.FullName())) + } +} + +// NewField returns a new value that is assignable to the field +// for the given descriptor. For scalars, this returns the default value. +// For lists, maps, and messages, this returns a new, empty, mutable value. +func (x *fastReflection_BlockHeightTopicIdDelegatorReputerDelegateStakeRemovalInfo) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.BlockHeightTopicIdDelegatorReputerDelegateStakeRemovalInfo.block_height": + return protoreflect.ValueOfInt64(int64(0)) + case "emissions.v8.BlockHeightTopicIdDelegatorReputerDelegateStakeRemovalInfo.topic_id": + return protoreflect.ValueOfUint64(uint64(0)) + case "emissions.v8.BlockHeightTopicIdDelegatorReputerDelegateStakeRemovalInfo.delegator": + return protoreflect.ValueOfString("") + case "emissions.v8.BlockHeightTopicIdDelegatorReputerDelegateStakeRemovalInfo.reputer": + return protoreflect.ValueOfString("") + case "emissions.v8.BlockHeightTopicIdDelegatorReputerDelegateStakeRemovalInfo.delegate_stake_removal_info": + m := new(v3.DelegateStakeRemovalInfo) + return protoreflect.ValueOfMessage(m.ProtoReflect()) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.BlockHeightTopicIdDelegatorReputerDelegateStakeRemovalInfo")) + } + panic(fmt.Errorf("message emissions.v8.BlockHeightTopicIdDelegatorReputerDelegateStakeRemovalInfo does not contain field %s", fd.FullName())) + } +} + +// WhichOneof reports which field within the oneof is populated, +// returning nil if none are populated. +// It panics if the oneof descriptor does not belong to this message. +func (x *fastReflection_BlockHeightTopicIdDelegatorReputerDelegateStakeRemovalInfo) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { + switch d.FullName() { + default: + panic(fmt.Errorf("%s is not a oneof field in emissions.v8.BlockHeightTopicIdDelegatorReputerDelegateStakeRemovalInfo", d.FullName())) + } + panic("unreachable") +} + +// GetUnknown retrieves the entire list of unknown fields. +// The caller may only mutate the contents of the RawFields +// if the mutated bytes are stored back into the message with SetUnknown. +func (x *fastReflection_BlockHeightTopicIdDelegatorReputerDelegateStakeRemovalInfo) GetUnknown() protoreflect.RawFields { + return x.unknownFields +} + +// SetUnknown stores an entire list of unknown fields. +// The raw fields must be syntactically valid according to the wire format. +// An implementation may panic if this is not the case. +// Once stored, the caller must not mutate the content of the RawFields. +// An empty RawFields may be passed to clear the fields. +// +// SetUnknown is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_BlockHeightTopicIdDelegatorReputerDelegateStakeRemovalInfo) SetUnknown(fields protoreflect.RawFields) { + x.unknownFields = fields +} + +// IsValid reports whether the message is valid. +// +// An invalid message is an empty, read-only value. +// +// An invalid message often corresponds to a nil pointer of the concrete +// message type, but the details are implementation dependent. +// Validity is not part of the protobuf data model, and may not +// be preserved in marshaling or other operations. +func (x *fastReflection_BlockHeightTopicIdDelegatorReputerDelegateStakeRemovalInfo) IsValid() bool { + return x != nil +} + +// ProtoMethods returns optional fastReflectionFeature-path implementations of various operations. +// This method may return nil. +// +// The returned methods type is identical to +// "google.golang.org/protobuf/runtime/protoiface".Methods. +// Consult the protoiface package documentation for details. +func (x *fastReflection_BlockHeightTopicIdDelegatorReputerDelegateStakeRemovalInfo) ProtoMethods() *protoiface.Methods { + size := func(input protoiface.SizeInput) protoiface.SizeOutput { + x := input.Message.Interface().(*BlockHeightTopicIdDelegatorReputerDelegateStakeRemovalInfo) + if x == nil { + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: 0, + } + } + options := runtime.SizeInputToOptions(input) + _ = options + var n int + var l int + _ = l + if x.BlockHeight != 0 { + n += 1 + runtime.Sov(uint64(x.BlockHeight)) + } + if x.TopicId != 0 { + n += 1 + runtime.Sov(uint64(x.TopicId)) + } + l = len(x.Delegator) + if l > 0 { + n += 1 + l + runtime.Sov(uint64(l)) + } + l = len(x.Reputer) + if l > 0 { + n += 1 + l + runtime.Sov(uint64(l)) + } + if x.DelegateStakeRemovalInfo != nil { + l = options.Size(x.DelegateStakeRemovalInfo) + n += 1 + l + runtime.Sov(uint64(l)) + } + if x.unknownFields != nil { + n += len(x.unknownFields) + } + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: n, + } + } + + marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { + x := input.Message.Interface().(*BlockHeightTopicIdDelegatorReputerDelegateStakeRemovalInfo) + if x == nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + options := runtime.MarshalInputToOptions(input) + _ = options + size := options.Size(x) + dAtA := make([]byte, size) + i := len(dAtA) + _ = i + var l int + _ = l + if x.unknownFields != nil { + i -= len(x.unknownFields) + copy(dAtA[i:], x.unknownFields) + } + if x.DelegateStakeRemovalInfo != nil { + encoded, err := options.Marshal(x.DelegateStakeRemovalInfo) + if err != nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = runtime.EncodeVarint(dAtA, i, uint64(len(encoded))) + i-- + dAtA[i] = 0x2a + } + if len(x.Reputer) > 0 { + i -= len(x.Reputer) + copy(dAtA[i:], x.Reputer) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.Reputer))) + i-- + dAtA[i] = 0x22 + } + if len(x.Delegator) > 0 { + i -= len(x.Delegator) + copy(dAtA[i:], x.Delegator) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.Delegator))) + i-- + dAtA[i] = 0x1a + } + if x.TopicId != 0 { + i = runtime.EncodeVarint(dAtA, i, uint64(x.TopicId)) + i-- + dAtA[i] = 0x10 + } + if x.BlockHeight != 0 { + i = runtime.EncodeVarint(dAtA, i, uint64(x.BlockHeight)) + i-- + dAtA[i] = 0x8 + } + if input.Buf != nil { + input.Buf = append(input.Buf, dAtA...) + } else { + input.Buf = dAtA + } + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { + x := input.Message.Interface().(*BlockHeightTopicIdDelegatorReputerDelegateStakeRemovalInfo) + if x == nil { + return protoiface.UnmarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Flags: input.Flags, + }, nil + } + options := runtime.UnmarshalInputToOptions(input) + _ = options + dAtA := input.Buf + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: BlockHeightTopicIdDelegatorReputerDelegateStakeRemovalInfo: wiretype end group for non-group") + } + if fieldNum <= 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: BlockHeightTopicIdDelegatorReputerDelegateStakeRemovalInfo: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field BlockHeight", wireType) + } + x.BlockHeight = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + x.BlockHeight |= int64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 2: + if wireType != 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field TopicId", wireType) + } + x.TopicId = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + x.TopicId |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 3: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Delegator", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + x.Delegator = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 4: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Reputer", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + x.Reputer = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 5: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field DelegateStakeRemovalInfo", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + if x.DelegateStakeRemovalInfo == nil { + x.DelegateStakeRemovalInfo = &v3.DelegateStakeRemovalInfo{} + } + if err := options.Unmarshal(dAtA[iNdEx:postIndex], x.DelegateStakeRemovalInfo); err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := runtime.Skip(dAtA[iNdEx:]) + if err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if (iNdEx + skippy) > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + if !options.DiscardUnknown { + x.unknownFields = append(x.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + } + iNdEx += skippy + } + } + + if iNdEx > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, nil + } + return &protoiface.Methods{ + NoUnkeyedLiterals: struct{}{}, + Flags: protoiface.SupportMarshalDeterministic | protoiface.SupportUnmarshalDiscardUnknown, + Size: size, + Marshal: marshal, + Unmarshal: unmarshal, + Merge: nil, + CheckInitialized: nil, + } +} + +var ( + md_DelegatorReputerTopicIdBlockHeight protoreflect.MessageDescriptor + fd_DelegatorReputerTopicIdBlockHeight_delegator protoreflect.FieldDescriptor + fd_DelegatorReputerTopicIdBlockHeight_reputer protoreflect.FieldDescriptor + fd_DelegatorReputerTopicIdBlockHeight_topic_id protoreflect.FieldDescriptor + fd_DelegatorReputerTopicIdBlockHeight_block_height protoreflect.FieldDescriptor +) + +func init() { + file_emissions_v8_genesis_proto_init() + md_DelegatorReputerTopicIdBlockHeight = File_emissions_v8_genesis_proto.Messages().ByName("DelegatorReputerTopicIdBlockHeight") + fd_DelegatorReputerTopicIdBlockHeight_delegator = md_DelegatorReputerTopicIdBlockHeight.Fields().ByName("delegator") + fd_DelegatorReputerTopicIdBlockHeight_reputer = md_DelegatorReputerTopicIdBlockHeight.Fields().ByName("reputer") + fd_DelegatorReputerTopicIdBlockHeight_topic_id = md_DelegatorReputerTopicIdBlockHeight.Fields().ByName("topic_id") + fd_DelegatorReputerTopicIdBlockHeight_block_height = md_DelegatorReputerTopicIdBlockHeight.Fields().ByName("block_height") +} + +var _ protoreflect.Message = (*fastReflection_DelegatorReputerTopicIdBlockHeight)(nil) + +type fastReflection_DelegatorReputerTopicIdBlockHeight DelegatorReputerTopicIdBlockHeight + +func (x *DelegatorReputerTopicIdBlockHeight) ProtoReflect() protoreflect.Message { + return (*fastReflection_DelegatorReputerTopicIdBlockHeight)(x) +} + +func (x *DelegatorReputerTopicIdBlockHeight) slowProtoReflect() protoreflect.Message { + mi := &file_emissions_v8_genesis_proto_msgTypes[16] + 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) +} + +var _fastReflection_DelegatorReputerTopicIdBlockHeight_messageType fastReflection_DelegatorReputerTopicIdBlockHeight_messageType +var _ protoreflect.MessageType = fastReflection_DelegatorReputerTopicIdBlockHeight_messageType{} + +type fastReflection_DelegatorReputerTopicIdBlockHeight_messageType struct{} + +func (x fastReflection_DelegatorReputerTopicIdBlockHeight_messageType) Zero() protoreflect.Message { + return (*fastReflection_DelegatorReputerTopicIdBlockHeight)(nil) +} +func (x fastReflection_DelegatorReputerTopicIdBlockHeight_messageType) New() protoreflect.Message { + return new(fastReflection_DelegatorReputerTopicIdBlockHeight) +} +func (x fastReflection_DelegatorReputerTopicIdBlockHeight_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_DelegatorReputerTopicIdBlockHeight +} + +// Descriptor returns message descriptor, which contains only the protobuf +// type information for the message. +func (x *fastReflection_DelegatorReputerTopicIdBlockHeight) Descriptor() protoreflect.MessageDescriptor { + return md_DelegatorReputerTopicIdBlockHeight +} + +// Type returns the message type, which encapsulates both Go and protobuf +// type information. If the Go type information is not needed, +// it is recommended that the message descriptor be used instead. +func (x *fastReflection_DelegatorReputerTopicIdBlockHeight) Type() protoreflect.MessageType { + return _fastReflection_DelegatorReputerTopicIdBlockHeight_messageType +} + +// New returns a newly allocated and mutable empty message. +func (x *fastReflection_DelegatorReputerTopicIdBlockHeight) New() protoreflect.Message { + return new(fastReflection_DelegatorReputerTopicIdBlockHeight) +} + +// Interface unwraps the message reflection interface and +// returns the underlying ProtoMessage interface. +func (x *fastReflection_DelegatorReputerTopicIdBlockHeight) Interface() protoreflect.ProtoMessage { + return (*DelegatorReputerTopicIdBlockHeight)(x) +} + +// Range iterates over every populated field in an undefined order, +// calling f for each field descriptor and value encountered. +// Range returns immediately if f returns false. +// While iterating, mutating operations may only be performed +// on the current field descriptor. +func (x *fastReflection_DelegatorReputerTopicIdBlockHeight) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { + if x.Delegator != "" { + value := protoreflect.ValueOfString(x.Delegator) + if !f(fd_DelegatorReputerTopicIdBlockHeight_delegator, value) { + return + } + } + if x.Reputer != "" { + value := protoreflect.ValueOfString(x.Reputer) + if !f(fd_DelegatorReputerTopicIdBlockHeight_reputer, value) { + return + } + } + if x.TopicId != uint64(0) { + value := protoreflect.ValueOfUint64(x.TopicId) + if !f(fd_DelegatorReputerTopicIdBlockHeight_topic_id, value) { + return + } + } + if x.BlockHeight != int64(0) { + value := protoreflect.ValueOfInt64(x.BlockHeight) + if !f(fd_DelegatorReputerTopicIdBlockHeight_block_height, value) { + return + } + } +} + +// Has reports whether a field is populated. +// +// Some fields have the property of nullability where it is possible to +// distinguish between the default value of a field and whether the field +// was explicitly populated with the default value. Singular message fields, +// member fields of a oneof, and proto2 scalar fields are nullable. Such +// fields are populated only if explicitly set. +// +// In other cases (aside from the nullable cases above), +// a proto3 scalar field is populated if it contains a non-zero value, and +// a repeated field is populated if it is non-empty. +func (x *fastReflection_DelegatorReputerTopicIdBlockHeight) Has(fd protoreflect.FieldDescriptor) bool { + switch fd.FullName() { + case "emissions.v8.DelegatorReputerTopicIdBlockHeight.delegator": + return x.Delegator != "" + case "emissions.v8.DelegatorReputerTopicIdBlockHeight.reputer": + return x.Reputer != "" + case "emissions.v8.DelegatorReputerTopicIdBlockHeight.topic_id": + return x.TopicId != uint64(0) + case "emissions.v8.DelegatorReputerTopicIdBlockHeight.block_height": + return x.BlockHeight != int64(0) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.DelegatorReputerTopicIdBlockHeight")) + } + panic(fmt.Errorf("message emissions.v8.DelegatorReputerTopicIdBlockHeight does not contain field %s", fd.FullName())) + } +} + +// Clear clears the field such that a subsequent Has call reports false. +// +// Clearing an extension field clears both the extension type and value +// associated with the given field number. +// +// Clear is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_DelegatorReputerTopicIdBlockHeight) Clear(fd protoreflect.FieldDescriptor) { + switch fd.FullName() { + case "emissions.v8.DelegatorReputerTopicIdBlockHeight.delegator": + x.Delegator = "" + case "emissions.v8.DelegatorReputerTopicIdBlockHeight.reputer": + x.Reputer = "" + case "emissions.v8.DelegatorReputerTopicIdBlockHeight.topic_id": + x.TopicId = uint64(0) + case "emissions.v8.DelegatorReputerTopicIdBlockHeight.block_height": + x.BlockHeight = int64(0) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.DelegatorReputerTopicIdBlockHeight")) + } + panic(fmt.Errorf("message emissions.v8.DelegatorReputerTopicIdBlockHeight does not contain field %s", fd.FullName())) + } +} + +// Get retrieves the value for a field. +// +// For unpopulated scalars, it returns the default value, where +// the default value of a bytes scalar is guaranteed to be a copy. +// For unpopulated composite types, it returns an empty, read-only view +// of the value; to obtain a mutable reference, use Mutable. +func (x *fastReflection_DelegatorReputerTopicIdBlockHeight) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { + switch descriptor.FullName() { + case "emissions.v8.DelegatorReputerTopicIdBlockHeight.delegator": + value := x.Delegator + return protoreflect.ValueOfString(value) + case "emissions.v8.DelegatorReputerTopicIdBlockHeight.reputer": + value := x.Reputer + return protoreflect.ValueOfString(value) + case "emissions.v8.DelegatorReputerTopicIdBlockHeight.topic_id": + value := x.TopicId + return protoreflect.ValueOfUint64(value) + case "emissions.v8.DelegatorReputerTopicIdBlockHeight.block_height": + value := x.BlockHeight + return protoreflect.ValueOfInt64(value) + default: + if descriptor.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.DelegatorReputerTopicIdBlockHeight")) + } + panic(fmt.Errorf("message emissions.v8.DelegatorReputerTopicIdBlockHeight does not contain field %s", descriptor.FullName())) + } +} + +// Set stores the value for a field. +// +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType. +// When setting a composite type, it is unspecified whether the stored value +// aliases the source's memory in any way. If the composite value is an +// empty, read-only value, then it panics. +// +// Set is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_DelegatorReputerTopicIdBlockHeight) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { + switch fd.FullName() { + case "emissions.v8.DelegatorReputerTopicIdBlockHeight.delegator": + x.Delegator = value.Interface().(string) + case "emissions.v8.DelegatorReputerTopicIdBlockHeight.reputer": + x.Reputer = value.Interface().(string) + case "emissions.v8.DelegatorReputerTopicIdBlockHeight.topic_id": + x.TopicId = value.Uint() + case "emissions.v8.DelegatorReputerTopicIdBlockHeight.block_height": + x.BlockHeight = value.Int() + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.DelegatorReputerTopicIdBlockHeight")) + } + panic(fmt.Errorf("message emissions.v8.DelegatorReputerTopicIdBlockHeight does not contain field %s", fd.FullName())) + } +} + +// Mutable returns a mutable reference to a composite type. +// +// If the field is unpopulated, it may allocate a composite value. +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType +// if not already stored. +// It panics if the field does not contain a composite type. +// +// Mutable is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_DelegatorReputerTopicIdBlockHeight) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.DelegatorReputerTopicIdBlockHeight.delegator": + panic(fmt.Errorf("field delegator of message emissions.v8.DelegatorReputerTopicIdBlockHeight is not mutable")) + case "emissions.v8.DelegatorReputerTopicIdBlockHeight.reputer": + panic(fmt.Errorf("field reputer of message emissions.v8.DelegatorReputerTopicIdBlockHeight is not mutable")) + case "emissions.v8.DelegatorReputerTopicIdBlockHeight.topic_id": + panic(fmt.Errorf("field topic_id of message emissions.v8.DelegatorReputerTopicIdBlockHeight is not mutable")) + case "emissions.v8.DelegatorReputerTopicIdBlockHeight.block_height": + panic(fmt.Errorf("field block_height of message emissions.v8.DelegatorReputerTopicIdBlockHeight is not mutable")) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.DelegatorReputerTopicIdBlockHeight")) + } + panic(fmt.Errorf("message emissions.v8.DelegatorReputerTopicIdBlockHeight does not contain field %s", fd.FullName())) + } +} + +// NewField returns a new value that is assignable to the field +// for the given descriptor. For scalars, this returns the default value. +// For lists, maps, and messages, this returns a new, empty, mutable value. +func (x *fastReflection_DelegatorReputerTopicIdBlockHeight) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.DelegatorReputerTopicIdBlockHeight.delegator": + return protoreflect.ValueOfString("") + case "emissions.v8.DelegatorReputerTopicIdBlockHeight.reputer": + return protoreflect.ValueOfString("") + case "emissions.v8.DelegatorReputerTopicIdBlockHeight.topic_id": + return protoreflect.ValueOfUint64(uint64(0)) + case "emissions.v8.DelegatorReputerTopicIdBlockHeight.block_height": + return protoreflect.ValueOfInt64(int64(0)) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.DelegatorReputerTopicIdBlockHeight")) + } + panic(fmt.Errorf("message emissions.v8.DelegatorReputerTopicIdBlockHeight does not contain field %s", fd.FullName())) + } +} + +// WhichOneof reports which field within the oneof is populated, +// returning nil if none are populated. +// It panics if the oneof descriptor does not belong to this message. +func (x *fastReflection_DelegatorReputerTopicIdBlockHeight) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { + switch d.FullName() { + default: + panic(fmt.Errorf("%s is not a oneof field in emissions.v8.DelegatorReputerTopicIdBlockHeight", d.FullName())) + } + panic("unreachable") +} + +// GetUnknown retrieves the entire list of unknown fields. +// The caller may only mutate the contents of the RawFields +// if the mutated bytes are stored back into the message with SetUnknown. +func (x *fastReflection_DelegatorReputerTopicIdBlockHeight) GetUnknown() protoreflect.RawFields { + return x.unknownFields +} + +// SetUnknown stores an entire list of unknown fields. +// The raw fields must be syntactically valid according to the wire format. +// An implementation may panic if this is not the case. +// Once stored, the caller must not mutate the content of the RawFields. +// An empty RawFields may be passed to clear the fields. +// +// SetUnknown is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_DelegatorReputerTopicIdBlockHeight) SetUnknown(fields protoreflect.RawFields) { + x.unknownFields = fields +} + +// IsValid reports whether the message is valid. +// +// An invalid message is an empty, read-only value. +// +// An invalid message often corresponds to a nil pointer of the concrete +// message type, but the details are implementation dependent. +// Validity is not part of the protobuf data model, and may not +// be preserved in marshaling or other operations. +func (x *fastReflection_DelegatorReputerTopicIdBlockHeight) IsValid() bool { + return x != nil +} + +// ProtoMethods returns optional fastReflectionFeature-path implementations of various operations. +// This method may return nil. +// +// The returned methods type is identical to +// "google.golang.org/protobuf/runtime/protoiface".Methods. +// Consult the protoiface package documentation for details. +func (x *fastReflection_DelegatorReputerTopicIdBlockHeight) ProtoMethods() *protoiface.Methods { + size := func(input protoiface.SizeInput) protoiface.SizeOutput { + x := input.Message.Interface().(*DelegatorReputerTopicIdBlockHeight) + if x == nil { + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: 0, + } + } + options := runtime.SizeInputToOptions(input) + _ = options + var n int + var l int + _ = l + l = len(x.Delegator) + if l > 0 { + n += 1 + l + runtime.Sov(uint64(l)) + } + l = len(x.Reputer) + if l > 0 { + n += 1 + l + runtime.Sov(uint64(l)) + } + if x.TopicId != 0 { + n += 1 + runtime.Sov(uint64(x.TopicId)) + } + if x.BlockHeight != 0 { + n += 1 + runtime.Sov(uint64(x.BlockHeight)) + } + if x.unknownFields != nil { + n += len(x.unknownFields) + } + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: n, + } + } + + marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { + x := input.Message.Interface().(*DelegatorReputerTopicIdBlockHeight) + if x == nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + options := runtime.MarshalInputToOptions(input) + _ = options + size := options.Size(x) + dAtA := make([]byte, size) + i := len(dAtA) + _ = i + var l int + _ = l + if x.unknownFields != nil { + i -= len(x.unknownFields) + copy(dAtA[i:], x.unknownFields) + } + if x.BlockHeight != 0 { + i = runtime.EncodeVarint(dAtA, i, uint64(x.BlockHeight)) + i-- + dAtA[i] = 0x20 + } + if x.TopicId != 0 { + i = runtime.EncodeVarint(dAtA, i, uint64(x.TopicId)) + i-- + dAtA[i] = 0x18 + } + if len(x.Reputer) > 0 { + i -= len(x.Reputer) + copy(dAtA[i:], x.Reputer) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.Reputer))) + i-- + dAtA[i] = 0x12 + } + if len(x.Delegator) > 0 { + i -= len(x.Delegator) + copy(dAtA[i:], x.Delegator) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.Delegator))) + i-- + dAtA[i] = 0xa + } + if input.Buf != nil { + input.Buf = append(input.Buf, dAtA...) + } else { + input.Buf = dAtA + } + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { + x := input.Message.Interface().(*DelegatorReputerTopicIdBlockHeight) + if x == nil { + return protoiface.UnmarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Flags: input.Flags, + }, nil + } + options := runtime.UnmarshalInputToOptions(input) + _ = options + dAtA := input.Buf + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: DelegatorReputerTopicIdBlockHeight: wiretype end group for non-group") + } + if fieldNum <= 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: DelegatorReputerTopicIdBlockHeight: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Delegator", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + x.Delegator = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Reputer", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + x.Reputer = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 3: + if wireType != 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field TopicId", wireType) + } + x.TopicId = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + x.TopicId |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 4: + if wireType != 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field BlockHeight", wireType) + } + x.BlockHeight = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + x.BlockHeight |= int64(b&0x7F) << shift + if b < 0x80 { + break + } + } + default: + iNdEx = preIndex + skippy, err := runtime.Skip(dAtA[iNdEx:]) + if err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if (iNdEx + skippy) > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + if !options.DiscardUnknown { + x.unknownFields = append(x.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + } + iNdEx += skippy + } + } + + if iNdEx > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, nil + } + return &protoiface.Methods{ + NoUnkeyedLiterals: struct{}{}, + Flags: protoiface.SupportMarshalDeterministic | protoiface.SupportUnmarshalDiscardUnknown, + Size: size, + Marshal: marshal, + Unmarshal: unmarshal, + Merge: nil, + CheckInitialized: nil, + } +} + +var ( + md_TopicIdActorIdInference protoreflect.MessageDescriptor + fd_TopicIdActorIdInference_topic_id protoreflect.FieldDescriptor + fd_TopicIdActorIdInference_actor_id protoreflect.FieldDescriptor + fd_TopicIdActorIdInference_inference protoreflect.FieldDescriptor +) + +func init() { + file_emissions_v8_genesis_proto_init() + md_TopicIdActorIdInference = File_emissions_v8_genesis_proto.Messages().ByName("TopicIdActorIdInference") + fd_TopicIdActorIdInference_topic_id = md_TopicIdActorIdInference.Fields().ByName("topic_id") + fd_TopicIdActorIdInference_actor_id = md_TopicIdActorIdInference.Fields().ByName("actor_id") + fd_TopicIdActorIdInference_inference = md_TopicIdActorIdInference.Fields().ByName("inference") +} + +var _ protoreflect.Message = (*fastReflection_TopicIdActorIdInference)(nil) + +type fastReflection_TopicIdActorIdInference TopicIdActorIdInference + +func (x *TopicIdActorIdInference) ProtoReflect() protoreflect.Message { + return (*fastReflection_TopicIdActorIdInference)(x) +} + +func (x *TopicIdActorIdInference) slowProtoReflect() protoreflect.Message { + mi := &file_emissions_v8_genesis_proto_msgTypes[17] + 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) +} + +var _fastReflection_TopicIdActorIdInference_messageType fastReflection_TopicIdActorIdInference_messageType +var _ protoreflect.MessageType = fastReflection_TopicIdActorIdInference_messageType{} + +type fastReflection_TopicIdActorIdInference_messageType struct{} + +func (x fastReflection_TopicIdActorIdInference_messageType) Zero() protoreflect.Message { + return (*fastReflection_TopicIdActorIdInference)(nil) +} +func (x fastReflection_TopicIdActorIdInference_messageType) New() protoreflect.Message { + return new(fastReflection_TopicIdActorIdInference) +} +func (x fastReflection_TopicIdActorIdInference_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_TopicIdActorIdInference +} + +// Descriptor returns message descriptor, which contains only the protobuf +// type information for the message. +func (x *fastReflection_TopicIdActorIdInference) Descriptor() protoreflect.MessageDescriptor { + return md_TopicIdActorIdInference +} + +// Type returns the message type, which encapsulates both Go and protobuf +// type information. If the Go type information is not needed, +// it is recommended that the message descriptor be used instead. +func (x *fastReflection_TopicIdActorIdInference) Type() protoreflect.MessageType { + return _fastReflection_TopicIdActorIdInference_messageType +} + +// New returns a newly allocated and mutable empty message. +func (x *fastReflection_TopicIdActorIdInference) New() protoreflect.Message { + return new(fastReflection_TopicIdActorIdInference) +} + +// Interface unwraps the message reflection interface and +// returns the underlying ProtoMessage interface. +func (x *fastReflection_TopicIdActorIdInference) Interface() protoreflect.ProtoMessage { + return (*TopicIdActorIdInference)(x) +} + +// Range iterates over every populated field in an undefined order, +// calling f for each field descriptor and value encountered. +// Range returns immediately if f returns false. +// While iterating, mutating operations may only be performed +// on the current field descriptor. +func (x *fastReflection_TopicIdActorIdInference) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { + if x.TopicId != uint64(0) { + value := protoreflect.ValueOfUint64(x.TopicId) + if !f(fd_TopicIdActorIdInference_topic_id, value) { + return + } + } + if x.ActorId != "" { + value := protoreflect.ValueOfString(x.ActorId) + if !f(fd_TopicIdActorIdInference_actor_id, value) { + return + } + } + if x.Inference != nil { + value := protoreflect.ValueOfMessage(x.Inference.ProtoReflect()) + if !f(fd_TopicIdActorIdInference_inference, value) { + return + } + } +} + +// Has reports whether a field is populated. +// +// Some fields have the property of nullability where it is possible to +// distinguish between the default value of a field and whether the field +// was explicitly populated with the default value. Singular message fields, +// member fields of a oneof, and proto2 scalar fields are nullable. Such +// fields are populated only if explicitly set. +// +// In other cases (aside from the nullable cases above), +// a proto3 scalar field is populated if it contains a non-zero value, and +// a repeated field is populated if it is non-empty. +func (x *fastReflection_TopicIdActorIdInference) Has(fd protoreflect.FieldDescriptor) bool { + switch fd.FullName() { + case "emissions.v8.TopicIdActorIdInference.topic_id": + return x.TopicId != uint64(0) + case "emissions.v8.TopicIdActorIdInference.actor_id": + return x.ActorId != "" + case "emissions.v8.TopicIdActorIdInference.inference": + return x.Inference != nil + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.TopicIdActorIdInference")) + } + panic(fmt.Errorf("message emissions.v8.TopicIdActorIdInference does not contain field %s", fd.FullName())) + } +} + +// Clear clears the field such that a subsequent Has call reports false. +// +// Clearing an extension field clears both the extension type and value +// associated with the given field number. +// +// Clear is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_TopicIdActorIdInference) Clear(fd protoreflect.FieldDescriptor) { + switch fd.FullName() { + case "emissions.v8.TopicIdActorIdInference.topic_id": + x.TopicId = uint64(0) + case "emissions.v8.TopicIdActorIdInference.actor_id": + x.ActorId = "" + case "emissions.v8.TopicIdActorIdInference.inference": + x.Inference = nil + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.TopicIdActorIdInference")) + } + panic(fmt.Errorf("message emissions.v8.TopicIdActorIdInference does not contain field %s", fd.FullName())) + } +} + +// Get retrieves the value for a field. +// +// For unpopulated scalars, it returns the default value, where +// the default value of a bytes scalar is guaranteed to be a copy. +// For unpopulated composite types, it returns an empty, read-only view +// of the value; to obtain a mutable reference, use Mutable. +func (x *fastReflection_TopicIdActorIdInference) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { + switch descriptor.FullName() { + case "emissions.v8.TopicIdActorIdInference.topic_id": + value := x.TopicId + return protoreflect.ValueOfUint64(value) + case "emissions.v8.TopicIdActorIdInference.actor_id": + value := x.ActorId + return protoreflect.ValueOfString(value) + case "emissions.v8.TopicIdActorIdInference.inference": + value := x.Inference + return protoreflect.ValueOfMessage(value.ProtoReflect()) + default: + if descriptor.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.TopicIdActorIdInference")) + } + panic(fmt.Errorf("message emissions.v8.TopicIdActorIdInference does not contain field %s", descriptor.FullName())) + } +} + +// Set stores the value for a field. +// +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType. +// When setting a composite type, it is unspecified whether the stored value +// aliases the source's memory in any way. If the composite value is an +// empty, read-only value, then it panics. +// +// Set is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_TopicIdActorIdInference) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { + switch fd.FullName() { + case "emissions.v8.TopicIdActorIdInference.topic_id": + x.TopicId = value.Uint() + case "emissions.v8.TopicIdActorIdInference.actor_id": + x.ActorId = value.Interface().(string) + case "emissions.v8.TopicIdActorIdInference.inference": + x.Inference = value.Message().Interface().(*v3.Inference) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.TopicIdActorIdInference")) + } + panic(fmt.Errorf("message emissions.v8.TopicIdActorIdInference does not contain field %s", fd.FullName())) + } +} + +// Mutable returns a mutable reference to a composite type. +// +// If the field is unpopulated, it may allocate a composite value. +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType +// if not already stored. +// It panics if the field does not contain a composite type. +// +// Mutable is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_TopicIdActorIdInference) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.TopicIdActorIdInference.inference": + if x.Inference == nil { + x.Inference = new(v3.Inference) + } + return protoreflect.ValueOfMessage(x.Inference.ProtoReflect()) + case "emissions.v8.TopicIdActorIdInference.topic_id": + panic(fmt.Errorf("field topic_id of message emissions.v8.TopicIdActorIdInference is not mutable")) + case "emissions.v8.TopicIdActorIdInference.actor_id": + panic(fmt.Errorf("field actor_id of message emissions.v8.TopicIdActorIdInference is not mutable")) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.TopicIdActorIdInference")) + } + panic(fmt.Errorf("message emissions.v8.TopicIdActorIdInference does not contain field %s", fd.FullName())) + } +} + +// NewField returns a new value that is assignable to the field +// for the given descriptor. For scalars, this returns the default value. +// For lists, maps, and messages, this returns a new, empty, mutable value. +func (x *fastReflection_TopicIdActorIdInference) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.TopicIdActorIdInference.topic_id": + return protoreflect.ValueOfUint64(uint64(0)) + case "emissions.v8.TopicIdActorIdInference.actor_id": + return protoreflect.ValueOfString("") + case "emissions.v8.TopicIdActorIdInference.inference": + m := new(v3.Inference) + return protoreflect.ValueOfMessage(m.ProtoReflect()) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.TopicIdActorIdInference")) + } + panic(fmt.Errorf("message emissions.v8.TopicIdActorIdInference does not contain field %s", fd.FullName())) + } +} + +// WhichOneof reports which field within the oneof is populated, +// returning nil if none are populated. +// It panics if the oneof descriptor does not belong to this message. +func (x *fastReflection_TopicIdActorIdInference) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { + switch d.FullName() { + default: + panic(fmt.Errorf("%s is not a oneof field in emissions.v8.TopicIdActorIdInference", d.FullName())) + } + panic("unreachable") +} + +// GetUnknown retrieves the entire list of unknown fields. +// The caller may only mutate the contents of the RawFields +// if the mutated bytes are stored back into the message with SetUnknown. +func (x *fastReflection_TopicIdActorIdInference) GetUnknown() protoreflect.RawFields { + return x.unknownFields +} + +// SetUnknown stores an entire list of unknown fields. +// The raw fields must be syntactically valid according to the wire format. +// An implementation may panic if this is not the case. +// Once stored, the caller must not mutate the content of the RawFields. +// An empty RawFields may be passed to clear the fields. +// +// SetUnknown is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_TopicIdActorIdInference) SetUnknown(fields protoreflect.RawFields) { + x.unknownFields = fields +} + +// IsValid reports whether the message is valid. +// +// An invalid message is an empty, read-only value. +// +// An invalid message often corresponds to a nil pointer of the concrete +// message type, but the details are implementation dependent. +// Validity is not part of the protobuf data model, and may not +// be preserved in marshaling or other operations. +func (x *fastReflection_TopicIdActorIdInference) IsValid() bool { + return x != nil +} + +// ProtoMethods returns optional fastReflectionFeature-path implementations of various operations. +// This method may return nil. +// +// The returned methods type is identical to +// "google.golang.org/protobuf/runtime/protoiface".Methods. +// Consult the protoiface package documentation for details. +func (x *fastReflection_TopicIdActorIdInference) ProtoMethods() *protoiface.Methods { + size := func(input protoiface.SizeInput) protoiface.SizeOutput { + x := input.Message.Interface().(*TopicIdActorIdInference) + if x == nil { + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: 0, + } + } + options := runtime.SizeInputToOptions(input) + _ = options + var n int + var l int + _ = l + if x.TopicId != 0 { + n += 1 + runtime.Sov(uint64(x.TopicId)) + } + l = len(x.ActorId) + if l > 0 { + n += 1 + l + runtime.Sov(uint64(l)) + } + if x.Inference != nil { + l = options.Size(x.Inference) + n += 1 + l + runtime.Sov(uint64(l)) + } + if x.unknownFields != nil { + n += len(x.unknownFields) + } + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: n, + } + } + + marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { + x := input.Message.Interface().(*TopicIdActorIdInference) + if x == nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + options := runtime.MarshalInputToOptions(input) + _ = options + size := options.Size(x) + dAtA := make([]byte, size) + i := len(dAtA) + _ = i + var l int + _ = l + if x.unknownFields != nil { + i -= len(x.unknownFields) + copy(dAtA[i:], x.unknownFields) + } + if x.Inference != nil { + encoded, err := options.Marshal(x.Inference) + if err != nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = runtime.EncodeVarint(dAtA, i, uint64(len(encoded))) + i-- + dAtA[i] = 0x1a + } + if len(x.ActorId) > 0 { + i -= len(x.ActorId) + copy(dAtA[i:], x.ActorId) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.ActorId))) + i-- + dAtA[i] = 0x12 + } + if x.TopicId != 0 { + i = runtime.EncodeVarint(dAtA, i, uint64(x.TopicId)) + i-- + dAtA[i] = 0x8 + } + if input.Buf != nil { + input.Buf = append(input.Buf, dAtA...) + } else { + input.Buf = dAtA + } + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { + x := input.Message.Interface().(*TopicIdActorIdInference) + if x == nil { + return protoiface.UnmarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Flags: input.Flags, + }, nil + } + options := runtime.UnmarshalInputToOptions(input) + _ = options + dAtA := input.Buf + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: TopicIdActorIdInference: wiretype end group for non-group") + } + if fieldNum <= 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: TopicIdActorIdInference: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field TopicId", wireType) + } + x.TopicId = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + x.TopicId |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 2: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field ActorId", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + x.ActorId = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 3: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Inference", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + if x.Inference == nil { + x.Inference = &v3.Inference{} + } + if err := options.Unmarshal(dAtA[iNdEx:postIndex], x.Inference); err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := runtime.Skip(dAtA[iNdEx:]) + if err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if (iNdEx + skippy) > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + if !options.DiscardUnknown { + x.unknownFields = append(x.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + } + iNdEx += skippy + } + } + + if iNdEx > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, nil + } + return &protoiface.Methods{ + NoUnkeyedLiterals: struct{}{}, + Flags: protoiface.SupportMarshalDeterministic | protoiface.SupportUnmarshalDiscardUnknown, + Size: size, + Marshal: marshal, + Unmarshal: unmarshal, + Merge: nil, + CheckInitialized: nil, + } +} + +var ( + md_TopicIdActorIdForecast protoreflect.MessageDescriptor + fd_TopicIdActorIdForecast_topic_id protoreflect.FieldDescriptor + fd_TopicIdActorIdForecast_actor_id protoreflect.FieldDescriptor + fd_TopicIdActorIdForecast_forecast protoreflect.FieldDescriptor +) + +func init() { + file_emissions_v8_genesis_proto_init() + md_TopicIdActorIdForecast = File_emissions_v8_genesis_proto.Messages().ByName("TopicIdActorIdForecast") + fd_TopicIdActorIdForecast_topic_id = md_TopicIdActorIdForecast.Fields().ByName("topic_id") + fd_TopicIdActorIdForecast_actor_id = md_TopicIdActorIdForecast.Fields().ByName("actor_id") + fd_TopicIdActorIdForecast_forecast = md_TopicIdActorIdForecast.Fields().ByName("forecast") +} + +var _ protoreflect.Message = (*fastReflection_TopicIdActorIdForecast)(nil) + +type fastReflection_TopicIdActorIdForecast TopicIdActorIdForecast + +func (x *TopicIdActorIdForecast) ProtoReflect() protoreflect.Message { + return (*fastReflection_TopicIdActorIdForecast)(x) +} + +func (x *TopicIdActorIdForecast) slowProtoReflect() protoreflect.Message { + mi := &file_emissions_v8_genesis_proto_msgTypes[18] + 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) +} + +var _fastReflection_TopicIdActorIdForecast_messageType fastReflection_TopicIdActorIdForecast_messageType +var _ protoreflect.MessageType = fastReflection_TopicIdActorIdForecast_messageType{} + +type fastReflection_TopicIdActorIdForecast_messageType struct{} + +func (x fastReflection_TopicIdActorIdForecast_messageType) Zero() protoreflect.Message { + return (*fastReflection_TopicIdActorIdForecast)(nil) +} +func (x fastReflection_TopicIdActorIdForecast_messageType) New() protoreflect.Message { + return new(fastReflection_TopicIdActorIdForecast) +} +func (x fastReflection_TopicIdActorIdForecast_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_TopicIdActorIdForecast +} + +// Descriptor returns message descriptor, which contains only the protobuf +// type information for the message. +func (x *fastReflection_TopicIdActorIdForecast) Descriptor() protoreflect.MessageDescriptor { + return md_TopicIdActorIdForecast +} + +// Type returns the message type, which encapsulates both Go and protobuf +// type information. If the Go type information is not needed, +// it is recommended that the message descriptor be used instead. +func (x *fastReflection_TopicIdActorIdForecast) Type() protoreflect.MessageType { + return _fastReflection_TopicIdActorIdForecast_messageType +} + +// New returns a newly allocated and mutable empty message. +func (x *fastReflection_TopicIdActorIdForecast) New() protoreflect.Message { + return new(fastReflection_TopicIdActorIdForecast) +} + +// Interface unwraps the message reflection interface and +// returns the underlying ProtoMessage interface. +func (x *fastReflection_TopicIdActorIdForecast) Interface() protoreflect.ProtoMessage { + return (*TopicIdActorIdForecast)(x) +} + +// Range iterates over every populated field in an undefined order, +// calling f for each field descriptor and value encountered. +// Range returns immediately if f returns false. +// While iterating, mutating operations may only be performed +// on the current field descriptor. +func (x *fastReflection_TopicIdActorIdForecast) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { + if x.TopicId != uint64(0) { + value := protoreflect.ValueOfUint64(x.TopicId) + if !f(fd_TopicIdActorIdForecast_topic_id, value) { + return + } + } + if x.ActorId != "" { + value := protoreflect.ValueOfString(x.ActorId) + if !f(fd_TopicIdActorIdForecast_actor_id, value) { + return + } + } + if x.Forecast != nil { + value := protoreflect.ValueOfMessage(x.Forecast.ProtoReflect()) + if !f(fd_TopicIdActorIdForecast_forecast, value) { + return + } + } +} + +// Has reports whether a field is populated. +// +// Some fields have the property of nullability where it is possible to +// distinguish between the default value of a field and whether the field +// was explicitly populated with the default value. Singular message fields, +// member fields of a oneof, and proto2 scalar fields are nullable. Such +// fields are populated only if explicitly set. +// +// In other cases (aside from the nullable cases above), +// a proto3 scalar field is populated if it contains a non-zero value, and +// a repeated field is populated if it is non-empty. +func (x *fastReflection_TopicIdActorIdForecast) Has(fd protoreflect.FieldDescriptor) bool { + switch fd.FullName() { + case "emissions.v8.TopicIdActorIdForecast.topic_id": + return x.TopicId != uint64(0) + case "emissions.v8.TopicIdActorIdForecast.actor_id": + return x.ActorId != "" + case "emissions.v8.TopicIdActorIdForecast.forecast": + return x.Forecast != nil + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.TopicIdActorIdForecast")) + } + panic(fmt.Errorf("message emissions.v8.TopicIdActorIdForecast does not contain field %s", fd.FullName())) + } +} + +// Clear clears the field such that a subsequent Has call reports false. +// +// Clearing an extension field clears both the extension type and value +// associated with the given field number. +// +// Clear is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_TopicIdActorIdForecast) Clear(fd protoreflect.FieldDescriptor) { + switch fd.FullName() { + case "emissions.v8.TopicIdActorIdForecast.topic_id": + x.TopicId = uint64(0) + case "emissions.v8.TopicIdActorIdForecast.actor_id": + x.ActorId = "" + case "emissions.v8.TopicIdActorIdForecast.forecast": + x.Forecast = nil + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.TopicIdActorIdForecast")) + } + panic(fmt.Errorf("message emissions.v8.TopicIdActorIdForecast does not contain field %s", fd.FullName())) + } +} + +// Get retrieves the value for a field. +// +// For unpopulated scalars, it returns the default value, where +// the default value of a bytes scalar is guaranteed to be a copy. +// For unpopulated composite types, it returns an empty, read-only view +// of the value; to obtain a mutable reference, use Mutable. +func (x *fastReflection_TopicIdActorIdForecast) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { + switch descriptor.FullName() { + case "emissions.v8.TopicIdActorIdForecast.topic_id": + value := x.TopicId + return protoreflect.ValueOfUint64(value) + case "emissions.v8.TopicIdActorIdForecast.actor_id": + value := x.ActorId + return protoreflect.ValueOfString(value) + case "emissions.v8.TopicIdActorIdForecast.forecast": + value := x.Forecast + return protoreflect.ValueOfMessage(value.ProtoReflect()) + default: + if descriptor.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.TopicIdActorIdForecast")) + } + panic(fmt.Errorf("message emissions.v8.TopicIdActorIdForecast does not contain field %s", descriptor.FullName())) + } +} + +// Set stores the value for a field. +// +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType. +// When setting a composite type, it is unspecified whether the stored value +// aliases the source's memory in any way. If the composite value is an +// empty, read-only value, then it panics. +// +// Set is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_TopicIdActorIdForecast) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { + switch fd.FullName() { + case "emissions.v8.TopicIdActorIdForecast.topic_id": + x.TopicId = value.Uint() + case "emissions.v8.TopicIdActorIdForecast.actor_id": + x.ActorId = value.Interface().(string) + case "emissions.v8.TopicIdActorIdForecast.forecast": + x.Forecast = value.Message().Interface().(*v3.Forecast) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.TopicIdActorIdForecast")) + } + panic(fmt.Errorf("message emissions.v8.TopicIdActorIdForecast does not contain field %s", fd.FullName())) + } +} + +// Mutable returns a mutable reference to a composite type. +// +// If the field is unpopulated, it may allocate a composite value. +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType +// if not already stored. +// It panics if the field does not contain a composite type. +// +// Mutable is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_TopicIdActorIdForecast) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.TopicIdActorIdForecast.forecast": + if x.Forecast == nil { + x.Forecast = new(v3.Forecast) + } + return protoreflect.ValueOfMessage(x.Forecast.ProtoReflect()) + case "emissions.v8.TopicIdActorIdForecast.topic_id": + panic(fmt.Errorf("field topic_id of message emissions.v8.TopicIdActorIdForecast is not mutable")) + case "emissions.v8.TopicIdActorIdForecast.actor_id": + panic(fmt.Errorf("field actor_id of message emissions.v8.TopicIdActorIdForecast is not mutable")) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.TopicIdActorIdForecast")) + } + panic(fmt.Errorf("message emissions.v8.TopicIdActorIdForecast does not contain field %s", fd.FullName())) + } +} + +// NewField returns a new value that is assignable to the field +// for the given descriptor. For scalars, this returns the default value. +// For lists, maps, and messages, this returns a new, empty, mutable value. +func (x *fastReflection_TopicIdActorIdForecast) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.TopicIdActorIdForecast.topic_id": + return protoreflect.ValueOfUint64(uint64(0)) + case "emissions.v8.TopicIdActorIdForecast.actor_id": + return protoreflect.ValueOfString("") + case "emissions.v8.TopicIdActorIdForecast.forecast": + m := new(v3.Forecast) + return protoreflect.ValueOfMessage(m.ProtoReflect()) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.TopicIdActorIdForecast")) + } + panic(fmt.Errorf("message emissions.v8.TopicIdActorIdForecast does not contain field %s", fd.FullName())) + } +} + +// WhichOneof reports which field within the oneof is populated, +// returning nil if none are populated. +// It panics if the oneof descriptor does not belong to this message. +func (x *fastReflection_TopicIdActorIdForecast) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { + switch d.FullName() { + default: + panic(fmt.Errorf("%s is not a oneof field in emissions.v8.TopicIdActorIdForecast", d.FullName())) + } + panic("unreachable") +} + +// GetUnknown retrieves the entire list of unknown fields. +// The caller may only mutate the contents of the RawFields +// if the mutated bytes are stored back into the message with SetUnknown. +func (x *fastReflection_TopicIdActorIdForecast) GetUnknown() protoreflect.RawFields { + return x.unknownFields +} + +// SetUnknown stores an entire list of unknown fields. +// The raw fields must be syntactically valid according to the wire format. +// An implementation may panic if this is not the case. +// Once stored, the caller must not mutate the content of the RawFields. +// An empty RawFields may be passed to clear the fields. +// +// SetUnknown is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_TopicIdActorIdForecast) SetUnknown(fields protoreflect.RawFields) { + x.unknownFields = fields +} + +// IsValid reports whether the message is valid. +// +// An invalid message is an empty, read-only value. +// +// An invalid message often corresponds to a nil pointer of the concrete +// message type, but the details are implementation dependent. +// Validity is not part of the protobuf data model, and may not +// be preserved in marshaling or other operations. +func (x *fastReflection_TopicIdActorIdForecast) IsValid() bool { + return x != nil +} + +// ProtoMethods returns optional fastReflectionFeature-path implementations of various operations. +// This method may return nil. +// +// The returned methods type is identical to +// "google.golang.org/protobuf/runtime/protoiface".Methods. +// Consult the protoiface package documentation for details. +func (x *fastReflection_TopicIdActorIdForecast) ProtoMethods() *protoiface.Methods { + size := func(input protoiface.SizeInput) protoiface.SizeOutput { + x := input.Message.Interface().(*TopicIdActorIdForecast) + if x == nil { + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: 0, + } + } + options := runtime.SizeInputToOptions(input) + _ = options + var n int + var l int + _ = l + if x.TopicId != 0 { + n += 1 + runtime.Sov(uint64(x.TopicId)) + } + l = len(x.ActorId) + if l > 0 { + n += 1 + l + runtime.Sov(uint64(l)) + } + if x.Forecast != nil { + l = options.Size(x.Forecast) + n += 1 + l + runtime.Sov(uint64(l)) + } + if x.unknownFields != nil { + n += len(x.unknownFields) + } + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: n, + } + } + + marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { + x := input.Message.Interface().(*TopicIdActorIdForecast) + if x == nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + options := runtime.MarshalInputToOptions(input) + _ = options + size := options.Size(x) + dAtA := make([]byte, size) + i := len(dAtA) + _ = i + var l int + _ = l + if x.unknownFields != nil { + i -= len(x.unknownFields) + copy(dAtA[i:], x.unknownFields) + } + if x.Forecast != nil { + encoded, err := options.Marshal(x.Forecast) + if err != nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = runtime.EncodeVarint(dAtA, i, uint64(len(encoded))) + i-- + dAtA[i] = 0x1a + } + if len(x.ActorId) > 0 { + i -= len(x.ActorId) + copy(dAtA[i:], x.ActorId) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.ActorId))) + i-- + dAtA[i] = 0x12 + } + if x.TopicId != 0 { + i = runtime.EncodeVarint(dAtA, i, uint64(x.TopicId)) + i-- + dAtA[i] = 0x8 + } + if input.Buf != nil { + input.Buf = append(input.Buf, dAtA...) + } else { + input.Buf = dAtA + } + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { + x := input.Message.Interface().(*TopicIdActorIdForecast) + if x == nil { + return protoiface.UnmarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Flags: input.Flags, + }, nil + } + options := runtime.UnmarshalInputToOptions(input) + _ = options + dAtA := input.Buf + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: TopicIdActorIdForecast: wiretype end group for non-group") + } + if fieldNum <= 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: TopicIdActorIdForecast: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field TopicId", wireType) + } + x.TopicId = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + x.TopicId |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 2: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field ActorId", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + x.ActorId = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 3: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Forecast", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + if x.Forecast == nil { + x.Forecast = &v3.Forecast{} + } + if err := options.Unmarshal(dAtA[iNdEx:postIndex], x.Forecast); err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := runtime.Skip(dAtA[iNdEx:]) + if err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if (iNdEx + skippy) > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + if !options.DiscardUnknown { + x.unknownFields = append(x.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + } + iNdEx += skippy + } + } + + if iNdEx > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, nil + } + return &protoiface.Methods{ + NoUnkeyedLiterals: struct{}{}, + Flags: protoiface.SupportMarshalDeterministic | protoiface.SupportUnmarshalDiscardUnknown, + Size: size, + Marshal: marshal, + Unmarshal: unmarshal, + Merge: nil, + CheckInitialized: nil, + } +} + +var ( + md_LibP2PKeyAndOffchainNode protoreflect.MessageDescriptor + fd_LibP2PKeyAndOffchainNode_lib_p2p_key protoreflect.FieldDescriptor + fd_LibP2PKeyAndOffchainNode_offchain_node protoreflect.FieldDescriptor +) + +func init() { + file_emissions_v8_genesis_proto_init() + md_LibP2PKeyAndOffchainNode = File_emissions_v8_genesis_proto.Messages().ByName("LibP2pKeyAndOffchainNode") + fd_LibP2PKeyAndOffchainNode_lib_p2p_key = md_LibP2PKeyAndOffchainNode.Fields().ByName("lib_p2p_key") + fd_LibP2PKeyAndOffchainNode_offchain_node = md_LibP2PKeyAndOffchainNode.Fields().ByName("offchain_node") +} + +var _ protoreflect.Message = (*fastReflection_LibP2PKeyAndOffchainNode)(nil) + +type fastReflection_LibP2PKeyAndOffchainNode LibP2PKeyAndOffchainNode + +func (x *LibP2PKeyAndOffchainNode) ProtoReflect() protoreflect.Message { + return (*fastReflection_LibP2PKeyAndOffchainNode)(x) +} + +func (x *LibP2PKeyAndOffchainNode) slowProtoReflect() protoreflect.Message { + mi := &file_emissions_v8_genesis_proto_msgTypes[19] + 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) +} + +var _fastReflection_LibP2PKeyAndOffchainNode_messageType fastReflection_LibP2PKeyAndOffchainNode_messageType +var _ protoreflect.MessageType = fastReflection_LibP2PKeyAndOffchainNode_messageType{} + +type fastReflection_LibP2PKeyAndOffchainNode_messageType struct{} + +func (x fastReflection_LibP2PKeyAndOffchainNode_messageType) Zero() protoreflect.Message { + return (*fastReflection_LibP2PKeyAndOffchainNode)(nil) +} +func (x fastReflection_LibP2PKeyAndOffchainNode_messageType) New() protoreflect.Message { + return new(fastReflection_LibP2PKeyAndOffchainNode) +} +func (x fastReflection_LibP2PKeyAndOffchainNode_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_LibP2PKeyAndOffchainNode +} + +// Descriptor returns message descriptor, which contains only the protobuf +// type information for the message. +func (x *fastReflection_LibP2PKeyAndOffchainNode) Descriptor() protoreflect.MessageDescriptor { + return md_LibP2PKeyAndOffchainNode +} + +// Type returns the message type, which encapsulates both Go and protobuf +// type information. If the Go type information is not needed, +// it is recommended that the message descriptor be used instead. +func (x *fastReflection_LibP2PKeyAndOffchainNode) Type() protoreflect.MessageType { + return _fastReflection_LibP2PKeyAndOffchainNode_messageType +} + +// New returns a newly allocated and mutable empty message. +func (x *fastReflection_LibP2PKeyAndOffchainNode) New() protoreflect.Message { + return new(fastReflection_LibP2PKeyAndOffchainNode) +} + +// Interface unwraps the message reflection interface and +// returns the underlying ProtoMessage interface. +func (x *fastReflection_LibP2PKeyAndOffchainNode) Interface() protoreflect.ProtoMessage { + return (*LibP2PKeyAndOffchainNode)(x) +} + +// Range iterates over every populated field in an undefined order, +// calling f for each field descriptor and value encountered. +// Range returns immediately if f returns false. +// While iterating, mutating operations may only be performed +// on the current field descriptor. +func (x *fastReflection_LibP2PKeyAndOffchainNode) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { + if x.LibP2PKey != "" { + value := protoreflect.ValueOfString(x.LibP2PKey) + if !f(fd_LibP2PKeyAndOffchainNode_lib_p2p_key, value) { + return + } + } + if x.OffchainNode != nil { + value := protoreflect.ValueOfMessage(x.OffchainNode.ProtoReflect()) + if !f(fd_LibP2PKeyAndOffchainNode_offchain_node, value) { + return + } + } +} + +// Has reports whether a field is populated. +// +// Some fields have the property of nullability where it is possible to +// distinguish between the default value of a field and whether the field +// was explicitly populated with the default value. Singular message fields, +// member fields of a oneof, and proto2 scalar fields are nullable. Such +// fields are populated only if explicitly set. +// +// In other cases (aside from the nullable cases above), +// a proto3 scalar field is populated if it contains a non-zero value, and +// a repeated field is populated if it is non-empty. +func (x *fastReflection_LibP2PKeyAndOffchainNode) Has(fd protoreflect.FieldDescriptor) bool { + switch fd.FullName() { + case "emissions.v8.LibP2pKeyAndOffchainNode.lib_p2p_key": + return x.LibP2PKey != "" + case "emissions.v8.LibP2pKeyAndOffchainNode.offchain_node": + return x.OffchainNode != nil + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.LibP2pKeyAndOffchainNode")) + } + panic(fmt.Errorf("message emissions.v8.LibP2pKeyAndOffchainNode does not contain field %s", fd.FullName())) + } +} + +// Clear clears the field such that a subsequent Has call reports false. +// +// Clearing an extension field clears both the extension type and value +// associated with the given field number. +// +// Clear is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_LibP2PKeyAndOffchainNode) Clear(fd protoreflect.FieldDescriptor) { + switch fd.FullName() { + case "emissions.v8.LibP2pKeyAndOffchainNode.lib_p2p_key": + x.LibP2PKey = "" + case "emissions.v8.LibP2pKeyAndOffchainNode.offchain_node": + x.OffchainNode = nil + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.LibP2pKeyAndOffchainNode")) + } + panic(fmt.Errorf("message emissions.v8.LibP2pKeyAndOffchainNode does not contain field %s", fd.FullName())) + } +} + +// Get retrieves the value for a field. +// +// For unpopulated scalars, it returns the default value, where +// the default value of a bytes scalar is guaranteed to be a copy. +// For unpopulated composite types, it returns an empty, read-only view +// of the value; to obtain a mutable reference, use Mutable. +func (x *fastReflection_LibP2PKeyAndOffchainNode) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { + switch descriptor.FullName() { + case "emissions.v8.LibP2pKeyAndOffchainNode.lib_p2p_key": + value := x.LibP2PKey + return protoreflect.ValueOfString(value) + case "emissions.v8.LibP2pKeyAndOffchainNode.offchain_node": + value := x.OffchainNode + return protoreflect.ValueOfMessage(value.ProtoReflect()) + default: + if descriptor.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.LibP2pKeyAndOffchainNode")) + } + panic(fmt.Errorf("message emissions.v8.LibP2pKeyAndOffchainNode does not contain field %s", descriptor.FullName())) + } +} + +// Set stores the value for a field. +// +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType. +// When setting a composite type, it is unspecified whether the stored value +// aliases the source's memory in any way. If the composite value is an +// empty, read-only value, then it panics. +// +// Set is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_LibP2PKeyAndOffchainNode) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { + switch fd.FullName() { + case "emissions.v8.LibP2pKeyAndOffchainNode.lib_p2p_key": + x.LibP2PKey = value.Interface().(string) + case "emissions.v8.LibP2pKeyAndOffchainNode.offchain_node": + x.OffchainNode = value.Message().Interface().(*v3.OffchainNode) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.LibP2pKeyAndOffchainNode")) + } + panic(fmt.Errorf("message emissions.v8.LibP2pKeyAndOffchainNode does not contain field %s", fd.FullName())) + } +} + +// Mutable returns a mutable reference to a composite type. +// +// If the field is unpopulated, it may allocate a composite value. +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType +// if not already stored. +// It panics if the field does not contain a composite type. +// +// Mutable is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_LibP2PKeyAndOffchainNode) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.LibP2pKeyAndOffchainNode.offchain_node": + if x.OffchainNode == nil { + x.OffchainNode = new(v3.OffchainNode) + } + return protoreflect.ValueOfMessage(x.OffchainNode.ProtoReflect()) + case "emissions.v8.LibP2pKeyAndOffchainNode.lib_p2p_key": + panic(fmt.Errorf("field lib_p2p_key of message emissions.v8.LibP2pKeyAndOffchainNode is not mutable")) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.LibP2pKeyAndOffchainNode")) + } + panic(fmt.Errorf("message emissions.v8.LibP2pKeyAndOffchainNode does not contain field %s", fd.FullName())) + } +} + +// NewField returns a new value that is assignable to the field +// for the given descriptor. For scalars, this returns the default value. +// For lists, maps, and messages, this returns a new, empty, mutable value. +func (x *fastReflection_LibP2PKeyAndOffchainNode) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.LibP2pKeyAndOffchainNode.lib_p2p_key": + return protoreflect.ValueOfString("") + case "emissions.v8.LibP2pKeyAndOffchainNode.offchain_node": + m := new(v3.OffchainNode) + return protoreflect.ValueOfMessage(m.ProtoReflect()) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.LibP2pKeyAndOffchainNode")) + } + panic(fmt.Errorf("message emissions.v8.LibP2pKeyAndOffchainNode does not contain field %s", fd.FullName())) + } +} + +// WhichOneof reports which field within the oneof is populated, +// returning nil if none are populated. +// It panics if the oneof descriptor does not belong to this message. +func (x *fastReflection_LibP2PKeyAndOffchainNode) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { + switch d.FullName() { + default: + panic(fmt.Errorf("%s is not a oneof field in emissions.v8.LibP2pKeyAndOffchainNode", d.FullName())) + } + panic("unreachable") +} + +// GetUnknown retrieves the entire list of unknown fields. +// The caller may only mutate the contents of the RawFields +// if the mutated bytes are stored back into the message with SetUnknown. +func (x *fastReflection_LibP2PKeyAndOffchainNode) GetUnknown() protoreflect.RawFields { + return x.unknownFields +} + +// SetUnknown stores an entire list of unknown fields. +// The raw fields must be syntactically valid according to the wire format. +// An implementation may panic if this is not the case. +// Once stored, the caller must not mutate the content of the RawFields. +// An empty RawFields may be passed to clear the fields. +// +// SetUnknown is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_LibP2PKeyAndOffchainNode) SetUnknown(fields protoreflect.RawFields) { + x.unknownFields = fields +} + +// IsValid reports whether the message is valid. +// +// An invalid message is an empty, read-only value. +// +// An invalid message often corresponds to a nil pointer of the concrete +// message type, but the details are implementation dependent. +// Validity is not part of the protobuf data model, and may not +// be preserved in marshaling or other operations. +func (x *fastReflection_LibP2PKeyAndOffchainNode) IsValid() bool { + return x != nil +} + +// ProtoMethods returns optional fastReflectionFeature-path implementations of various operations. +// This method may return nil. +// +// The returned methods type is identical to +// "google.golang.org/protobuf/runtime/protoiface".Methods. +// Consult the protoiface package documentation for details. +func (x *fastReflection_LibP2PKeyAndOffchainNode) ProtoMethods() *protoiface.Methods { + size := func(input protoiface.SizeInput) protoiface.SizeOutput { + x := input.Message.Interface().(*LibP2PKeyAndOffchainNode) + if x == nil { + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: 0, + } + } + options := runtime.SizeInputToOptions(input) + _ = options + var n int + var l int + _ = l + l = len(x.LibP2PKey) + if l > 0 { + n += 1 + l + runtime.Sov(uint64(l)) + } + if x.OffchainNode != nil { + l = options.Size(x.OffchainNode) + n += 1 + l + runtime.Sov(uint64(l)) + } + if x.unknownFields != nil { + n += len(x.unknownFields) + } + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: n, + } + } + + marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { + x := input.Message.Interface().(*LibP2PKeyAndOffchainNode) + if x == nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + options := runtime.MarshalInputToOptions(input) + _ = options + size := options.Size(x) + dAtA := make([]byte, size) + i := len(dAtA) + _ = i + var l int + _ = l + if x.unknownFields != nil { + i -= len(x.unknownFields) + copy(dAtA[i:], x.unknownFields) + } + if x.OffchainNode != nil { + encoded, err := options.Marshal(x.OffchainNode) + if err != nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = runtime.EncodeVarint(dAtA, i, uint64(len(encoded))) + i-- + dAtA[i] = 0x12 + } + if len(x.LibP2PKey) > 0 { + i -= len(x.LibP2PKey) + copy(dAtA[i:], x.LibP2PKey) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.LibP2PKey))) + i-- + dAtA[i] = 0xa + } + if input.Buf != nil { + input.Buf = append(input.Buf, dAtA...) + } else { + input.Buf = dAtA + } + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { + x := input.Message.Interface().(*LibP2PKeyAndOffchainNode) + if x == nil { + return protoiface.UnmarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Flags: input.Flags, + }, nil + } + options := runtime.UnmarshalInputToOptions(input) + _ = options + dAtA := input.Buf + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: LibP2PKeyAndOffchainNode: wiretype end group for non-group") + } + if fieldNum <= 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: LibP2PKeyAndOffchainNode: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field LibP2PKey", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + x.LibP2PKey = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field OffchainNode", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + if x.OffchainNode == nil { + x.OffchainNode = &v3.OffchainNode{} + } + if err := options.Unmarshal(dAtA[iNdEx:postIndex], x.OffchainNode); err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := runtime.Skip(dAtA[iNdEx:]) + if err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if (iNdEx + skippy) > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + if !options.DiscardUnknown { + x.unknownFields = append(x.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + } + iNdEx += skippy + } + } + + if iNdEx > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, nil + } + return &protoiface.Methods{ + NoUnkeyedLiterals: struct{}{}, + Flags: protoiface.SupportMarshalDeterministic | protoiface.SupportUnmarshalDiscardUnknown, + Size: size, + Marshal: marshal, + Unmarshal: unmarshal, + Merge: nil, + CheckInitialized: nil, + } +} + +var ( + md_TopicIdAndDec protoreflect.MessageDescriptor + fd_TopicIdAndDec_topic_id protoreflect.FieldDescriptor + fd_TopicIdAndDec_dec protoreflect.FieldDescriptor +) + +func init() { + file_emissions_v8_genesis_proto_init() + md_TopicIdAndDec = File_emissions_v8_genesis_proto.Messages().ByName("TopicIdAndDec") + fd_TopicIdAndDec_topic_id = md_TopicIdAndDec.Fields().ByName("topic_id") + fd_TopicIdAndDec_dec = md_TopicIdAndDec.Fields().ByName("dec") +} + +var _ protoreflect.Message = (*fastReflection_TopicIdAndDec)(nil) + +type fastReflection_TopicIdAndDec TopicIdAndDec + +func (x *TopicIdAndDec) ProtoReflect() protoreflect.Message { + return (*fastReflection_TopicIdAndDec)(x) +} + +func (x *TopicIdAndDec) slowProtoReflect() protoreflect.Message { + mi := &file_emissions_v8_genesis_proto_msgTypes[20] + 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) +} + +var _fastReflection_TopicIdAndDec_messageType fastReflection_TopicIdAndDec_messageType +var _ protoreflect.MessageType = fastReflection_TopicIdAndDec_messageType{} + +type fastReflection_TopicIdAndDec_messageType struct{} + +func (x fastReflection_TopicIdAndDec_messageType) Zero() protoreflect.Message { + return (*fastReflection_TopicIdAndDec)(nil) +} +func (x fastReflection_TopicIdAndDec_messageType) New() protoreflect.Message { + return new(fastReflection_TopicIdAndDec) +} +func (x fastReflection_TopicIdAndDec_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_TopicIdAndDec +} + +// Descriptor returns message descriptor, which contains only the protobuf +// type information for the message. +func (x *fastReflection_TopicIdAndDec) Descriptor() protoreflect.MessageDescriptor { + return md_TopicIdAndDec +} + +// Type returns the message type, which encapsulates both Go and protobuf +// type information. If the Go type information is not needed, +// it is recommended that the message descriptor be used instead. +func (x *fastReflection_TopicIdAndDec) Type() protoreflect.MessageType { + return _fastReflection_TopicIdAndDec_messageType +} + +// New returns a newly allocated and mutable empty message. +func (x *fastReflection_TopicIdAndDec) New() protoreflect.Message { + return new(fastReflection_TopicIdAndDec) +} + +// Interface unwraps the message reflection interface and +// returns the underlying ProtoMessage interface. +func (x *fastReflection_TopicIdAndDec) Interface() protoreflect.ProtoMessage { + return (*TopicIdAndDec)(x) +} + +// Range iterates over every populated field in an undefined order, +// calling f for each field descriptor and value encountered. +// Range returns immediately if f returns false. +// While iterating, mutating operations may only be performed +// on the current field descriptor. +func (x *fastReflection_TopicIdAndDec) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { + if x.TopicId != uint64(0) { + value := protoreflect.ValueOfUint64(x.TopicId) + if !f(fd_TopicIdAndDec_topic_id, value) { + return + } + } + if x.Dec != "" { + value := protoreflect.ValueOfString(x.Dec) + if !f(fd_TopicIdAndDec_dec, value) { + return + } + } +} + +// Has reports whether a field is populated. +// +// Some fields have the property of nullability where it is possible to +// distinguish between the default value of a field and whether the field +// was explicitly populated with the default value. Singular message fields, +// member fields of a oneof, and proto2 scalar fields are nullable. Such +// fields are populated only if explicitly set. +// +// In other cases (aside from the nullable cases above), +// a proto3 scalar field is populated if it contains a non-zero value, and +// a repeated field is populated if it is non-empty. +func (x *fastReflection_TopicIdAndDec) Has(fd protoreflect.FieldDescriptor) bool { + switch fd.FullName() { + case "emissions.v8.TopicIdAndDec.topic_id": + return x.TopicId != uint64(0) + case "emissions.v8.TopicIdAndDec.dec": + return x.Dec != "" + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.TopicIdAndDec")) + } + panic(fmt.Errorf("message emissions.v8.TopicIdAndDec does not contain field %s", fd.FullName())) + } +} + +// Clear clears the field such that a subsequent Has call reports false. +// +// Clearing an extension field clears both the extension type and value +// associated with the given field number. +// +// Clear is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_TopicIdAndDec) Clear(fd protoreflect.FieldDescriptor) { + switch fd.FullName() { + case "emissions.v8.TopicIdAndDec.topic_id": + x.TopicId = uint64(0) + case "emissions.v8.TopicIdAndDec.dec": + x.Dec = "" + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.TopicIdAndDec")) + } + panic(fmt.Errorf("message emissions.v8.TopicIdAndDec does not contain field %s", fd.FullName())) + } +} + +// Get retrieves the value for a field. +// +// For unpopulated scalars, it returns the default value, where +// the default value of a bytes scalar is guaranteed to be a copy. +// For unpopulated composite types, it returns an empty, read-only view +// of the value; to obtain a mutable reference, use Mutable. +func (x *fastReflection_TopicIdAndDec) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { + switch descriptor.FullName() { + case "emissions.v8.TopicIdAndDec.topic_id": + value := x.TopicId + return protoreflect.ValueOfUint64(value) + case "emissions.v8.TopicIdAndDec.dec": + value := x.Dec + return protoreflect.ValueOfString(value) + default: + if descriptor.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.TopicIdAndDec")) + } + panic(fmt.Errorf("message emissions.v8.TopicIdAndDec does not contain field %s", descriptor.FullName())) + } +} + +// Set stores the value for a field. +// +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType. +// When setting a composite type, it is unspecified whether the stored value +// aliases the source's memory in any way. If the composite value is an +// empty, read-only value, then it panics. +// +// Set is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_TopicIdAndDec) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { + switch fd.FullName() { + case "emissions.v8.TopicIdAndDec.topic_id": + x.TopicId = value.Uint() + case "emissions.v8.TopicIdAndDec.dec": + x.Dec = value.Interface().(string) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.TopicIdAndDec")) + } + panic(fmt.Errorf("message emissions.v8.TopicIdAndDec does not contain field %s", fd.FullName())) + } +} + +// Mutable returns a mutable reference to a composite type. +// +// If the field is unpopulated, it may allocate a composite value. +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType +// if not already stored. +// It panics if the field does not contain a composite type. +// +// Mutable is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_TopicIdAndDec) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.TopicIdAndDec.topic_id": + panic(fmt.Errorf("field topic_id of message emissions.v8.TopicIdAndDec is not mutable")) + case "emissions.v8.TopicIdAndDec.dec": + panic(fmt.Errorf("field dec of message emissions.v8.TopicIdAndDec is not mutable")) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.TopicIdAndDec")) + } + panic(fmt.Errorf("message emissions.v8.TopicIdAndDec does not contain field %s", fd.FullName())) + } +} + +// NewField returns a new value that is assignable to the field +// for the given descriptor. For scalars, this returns the default value. +// For lists, maps, and messages, this returns a new, empty, mutable value. +func (x *fastReflection_TopicIdAndDec) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.TopicIdAndDec.topic_id": + return protoreflect.ValueOfUint64(uint64(0)) + case "emissions.v8.TopicIdAndDec.dec": + return protoreflect.ValueOfString("") + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.TopicIdAndDec")) + } + panic(fmt.Errorf("message emissions.v8.TopicIdAndDec does not contain field %s", fd.FullName())) + } +} + +// WhichOneof reports which field within the oneof is populated, +// returning nil if none are populated. +// It panics if the oneof descriptor does not belong to this message. +func (x *fastReflection_TopicIdAndDec) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { + switch d.FullName() { + default: + panic(fmt.Errorf("%s is not a oneof field in emissions.v8.TopicIdAndDec", d.FullName())) + } + panic("unreachable") +} + +// GetUnknown retrieves the entire list of unknown fields. +// The caller may only mutate the contents of the RawFields +// if the mutated bytes are stored back into the message with SetUnknown. +func (x *fastReflection_TopicIdAndDec) GetUnknown() protoreflect.RawFields { + return x.unknownFields +} + +// SetUnknown stores an entire list of unknown fields. +// The raw fields must be syntactically valid according to the wire format. +// An implementation may panic if this is not the case. +// Once stored, the caller must not mutate the content of the RawFields. +// An empty RawFields may be passed to clear the fields. +// +// SetUnknown is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_TopicIdAndDec) SetUnknown(fields protoreflect.RawFields) { + x.unknownFields = fields +} + +// IsValid reports whether the message is valid. +// +// An invalid message is an empty, read-only value. +// +// An invalid message often corresponds to a nil pointer of the concrete +// message type, but the details are implementation dependent. +// Validity is not part of the protobuf data model, and may not +// be preserved in marshaling or other operations. +func (x *fastReflection_TopicIdAndDec) IsValid() bool { + return x != nil +} + +// ProtoMethods returns optional fastReflectionFeature-path implementations of various operations. +// This method may return nil. +// +// The returned methods type is identical to +// "google.golang.org/protobuf/runtime/protoiface".Methods. +// Consult the protoiface package documentation for details. +func (x *fastReflection_TopicIdAndDec) ProtoMethods() *protoiface.Methods { + size := func(input protoiface.SizeInput) protoiface.SizeOutput { + x := input.Message.Interface().(*TopicIdAndDec) + if x == nil { + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: 0, + } + } + options := runtime.SizeInputToOptions(input) + _ = options + var n int + var l int + _ = l + if x.TopicId != 0 { + n += 1 + runtime.Sov(uint64(x.TopicId)) + } + l = len(x.Dec) + if l > 0 { + n += 1 + l + runtime.Sov(uint64(l)) + } + if x.unknownFields != nil { + n += len(x.unknownFields) + } + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: n, + } + } + + marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { + x := input.Message.Interface().(*TopicIdAndDec) + if x == nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + options := runtime.MarshalInputToOptions(input) + _ = options + size := options.Size(x) + dAtA := make([]byte, size) + i := len(dAtA) + _ = i + var l int + _ = l + if x.unknownFields != nil { + i -= len(x.unknownFields) + copy(dAtA[i:], x.unknownFields) + } + if len(x.Dec) > 0 { + i -= len(x.Dec) + copy(dAtA[i:], x.Dec) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.Dec))) + i-- + dAtA[i] = 0x12 + } + if x.TopicId != 0 { + i = runtime.EncodeVarint(dAtA, i, uint64(x.TopicId)) + i-- + dAtA[i] = 0x8 + } + if input.Buf != nil { + input.Buf = append(input.Buf, dAtA...) + } else { + input.Buf = dAtA + } + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { + x := input.Message.Interface().(*TopicIdAndDec) + if x == nil { + return protoiface.UnmarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Flags: input.Flags, + }, nil + } + options := runtime.UnmarshalInputToOptions(input) + _ = options + dAtA := input.Buf + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: TopicIdAndDec: wiretype end group for non-group") + } + if fieldNum <= 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: TopicIdAndDec: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field TopicId", wireType) + } + x.TopicId = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + x.TopicId |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 2: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Dec", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + x.Dec = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := runtime.Skip(dAtA[iNdEx:]) + if err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if (iNdEx + skippy) > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + if !options.DiscardUnknown { + x.unknownFields = append(x.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + } + iNdEx += skippy + } + } + + if iNdEx > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, nil + } + return &protoiface.Methods{ + NoUnkeyedLiterals: struct{}{}, + Flags: protoiface.SupportMarshalDeterministic | protoiface.SupportUnmarshalDiscardUnknown, + Size: size, + Marshal: marshal, + Unmarshal: unmarshal, + Merge: nil, + CheckInitialized: nil, + } +} + +var ( + md_TopicIdBlockHeightInferences protoreflect.MessageDescriptor + fd_TopicIdBlockHeightInferences_topic_id protoreflect.FieldDescriptor + fd_TopicIdBlockHeightInferences_block_height protoreflect.FieldDescriptor + fd_TopicIdBlockHeightInferences_inferences protoreflect.FieldDescriptor +) + +func init() { + file_emissions_v8_genesis_proto_init() + md_TopicIdBlockHeightInferences = File_emissions_v8_genesis_proto.Messages().ByName("TopicIdBlockHeightInferences") + fd_TopicIdBlockHeightInferences_topic_id = md_TopicIdBlockHeightInferences.Fields().ByName("topic_id") + fd_TopicIdBlockHeightInferences_block_height = md_TopicIdBlockHeightInferences.Fields().ByName("block_height") + fd_TopicIdBlockHeightInferences_inferences = md_TopicIdBlockHeightInferences.Fields().ByName("inferences") +} + +var _ protoreflect.Message = (*fastReflection_TopicIdBlockHeightInferences)(nil) + +type fastReflection_TopicIdBlockHeightInferences TopicIdBlockHeightInferences + +func (x *TopicIdBlockHeightInferences) ProtoReflect() protoreflect.Message { + return (*fastReflection_TopicIdBlockHeightInferences)(x) +} + +func (x *TopicIdBlockHeightInferences) slowProtoReflect() protoreflect.Message { + mi := &file_emissions_v8_genesis_proto_msgTypes[21] + 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) +} + +var _fastReflection_TopicIdBlockHeightInferences_messageType fastReflection_TopicIdBlockHeightInferences_messageType +var _ protoreflect.MessageType = fastReflection_TopicIdBlockHeightInferences_messageType{} + +type fastReflection_TopicIdBlockHeightInferences_messageType struct{} + +func (x fastReflection_TopicIdBlockHeightInferences_messageType) Zero() protoreflect.Message { + return (*fastReflection_TopicIdBlockHeightInferences)(nil) +} +func (x fastReflection_TopicIdBlockHeightInferences_messageType) New() protoreflect.Message { + return new(fastReflection_TopicIdBlockHeightInferences) +} +func (x fastReflection_TopicIdBlockHeightInferences_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_TopicIdBlockHeightInferences +} + +// Descriptor returns message descriptor, which contains only the protobuf +// type information for the message. +func (x *fastReflection_TopicIdBlockHeightInferences) Descriptor() protoreflect.MessageDescriptor { + return md_TopicIdBlockHeightInferences +} + +// Type returns the message type, which encapsulates both Go and protobuf +// type information. If the Go type information is not needed, +// it is recommended that the message descriptor be used instead. +func (x *fastReflection_TopicIdBlockHeightInferences) Type() protoreflect.MessageType { + return _fastReflection_TopicIdBlockHeightInferences_messageType +} + +// New returns a newly allocated and mutable empty message. +func (x *fastReflection_TopicIdBlockHeightInferences) New() protoreflect.Message { + return new(fastReflection_TopicIdBlockHeightInferences) +} + +// Interface unwraps the message reflection interface and +// returns the underlying ProtoMessage interface. +func (x *fastReflection_TopicIdBlockHeightInferences) Interface() protoreflect.ProtoMessage { + return (*TopicIdBlockHeightInferences)(x) +} + +// Range iterates over every populated field in an undefined order, +// calling f for each field descriptor and value encountered. +// Range returns immediately if f returns false. +// While iterating, mutating operations may only be performed +// on the current field descriptor. +func (x *fastReflection_TopicIdBlockHeightInferences) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { + if x.TopicId != uint64(0) { + value := protoreflect.ValueOfUint64(x.TopicId) + if !f(fd_TopicIdBlockHeightInferences_topic_id, value) { + return + } + } + if x.BlockHeight != int64(0) { + value := protoreflect.ValueOfInt64(x.BlockHeight) + if !f(fd_TopicIdBlockHeightInferences_block_height, value) { + return + } + } + if x.Inferences != nil { + value := protoreflect.ValueOfMessage(x.Inferences.ProtoReflect()) + if !f(fd_TopicIdBlockHeightInferences_inferences, value) { + return + } + } +} + +// Has reports whether a field is populated. +// +// Some fields have the property of nullability where it is possible to +// distinguish between the default value of a field and whether the field +// was explicitly populated with the default value. Singular message fields, +// member fields of a oneof, and proto2 scalar fields are nullable. Such +// fields are populated only if explicitly set. +// +// In other cases (aside from the nullable cases above), +// a proto3 scalar field is populated if it contains a non-zero value, and +// a repeated field is populated if it is non-empty. +func (x *fastReflection_TopicIdBlockHeightInferences) Has(fd protoreflect.FieldDescriptor) bool { + switch fd.FullName() { + case "emissions.v8.TopicIdBlockHeightInferences.topic_id": + return x.TopicId != uint64(0) + case "emissions.v8.TopicIdBlockHeightInferences.block_height": + return x.BlockHeight != int64(0) + case "emissions.v8.TopicIdBlockHeightInferences.inferences": + return x.Inferences != nil + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.TopicIdBlockHeightInferences")) + } + panic(fmt.Errorf("message emissions.v8.TopicIdBlockHeightInferences does not contain field %s", fd.FullName())) + } +} + +// Clear clears the field such that a subsequent Has call reports false. +// +// Clearing an extension field clears both the extension type and value +// associated with the given field number. +// +// Clear is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_TopicIdBlockHeightInferences) Clear(fd protoreflect.FieldDescriptor) { + switch fd.FullName() { + case "emissions.v8.TopicIdBlockHeightInferences.topic_id": + x.TopicId = uint64(0) + case "emissions.v8.TopicIdBlockHeightInferences.block_height": + x.BlockHeight = int64(0) + case "emissions.v8.TopicIdBlockHeightInferences.inferences": + x.Inferences = nil + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.TopicIdBlockHeightInferences")) + } + panic(fmt.Errorf("message emissions.v8.TopicIdBlockHeightInferences does not contain field %s", fd.FullName())) + } +} + +// Get retrieves the value for a field. +// +// For unpopulated scalars, it returns the default value, where +// the default value of a bytes scalar is guaranteed to be a copy. +// For unpopulated composite types, it returns an empty, read-only view +// of the value; to obtain a mutable reference, use Mutable. +func (x *fastReflection_TopicIdBlockHeightInferences) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { + switch descriptor.FullName() { + case "emissions.v8.TopicIdBlockHeightInferences.topic_id": + value := x.TopicId + return protoreflect.ValueOfUint64(value) + case "emissions.v8.TopicIdBlockHeightInferences.block_height": + value := x.BlockHeight + return protoreflect.ValueOfInt64(value) + case "emissions.v8.TopicIdBlockHeightInferences.inferences": + value := x.Inferences + return protoreflect.ValueOfMessage(value.ProtoReflect()) + default: + if descriptor.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.TopicIdBlockHeightInferences")) + } + panic(fmt.Errorf("message emissions.v8.TopicIdBlockHeightInferences does not contain field %s", descriptor.FullName())) + } +} + +// Set stores the value for a field. +// +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType. +// When setting a composite type, it is unspecified whether the stored value +// aliases the source's memory in any way. If the composite value is an +// empty, read-only value, then it panics. +// +// Set is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_TopicIdBlockHeightInferences) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { + switch fd.FullName() { + case "emissions.v8.TopicIdBlockHeightInferences.topic_id": + x.TopicId = value.Uint() + case "emissions.v8.TopicIdBlockHeightInferences.block_height": + x.BlockHeight = value.Int() + case "emissions.v8.TopicIdBlockHeightInferences.inferences": + x.Inferences = value.Message().Interface().(*v3.Inferences) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.TopicIdBlockHeightInferences")) + } + panic(fmt.Errorf("message emissions.v8.TopicIdBlockHeightInferences does not contain field %s", fd.FullName())) + } +} + +// Mutable returns a mutable reference to a composite type. +// +// If the field is unpopulated, it may allocate a composite value. +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType +// if not already stored. +// It panics if the field does not contain a composite type. +// +// Mutable is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_TopicIdBlockHeightInferences) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.TopicIdBlockHeightInferences.inferences": + if x.Inferences == nil { + x.Inferences = new(v3.Inferences) + } + return protoreflect.ValueOfMessage(x.Inferences.ProtoReflect()) + case "emissions.v8.TopicIdBlockHeightInferences.topic_id": + panic(fmt.Errorf("field topic_id of message emissions.v8.TopicIdBlockHeightInferences is not mutable")) + case "emissions.v8.TopicIdBlockHeightInferences.block_height": + panic(fmt.Errorf("field block_height of message emissions.v8.TopicIdBlockHeightInferences is not mutable")) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.TopicIdBlockHeightInferences")) + } + panic(fmt.Errorf("message emissions.v8.TopicIdBlockHeightInferences does not contain field %s", fd.FullName())) + } +} + +// NewField returns a new value that is assignable to the field +// for the given descriptor. For scalars, this returns the default value. +// For lists, maps, and messages, this returns a new, empty, mutable value. +func (x *fastReflection_TopicIdBlockHeightInferences) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.TopicIdBlockHeightInferences.topic_id": + return protoreflect.ValueOfUint64(uint64(0)) + case "emissions.v8.TopicIdBlockHeightInferences.block_height": + return protoreflect.ValueOfInt64(int64(0)) + case "emissions.v8.TopicIdBlockHeightInferences.inferences": + m := new(v3.Inferences) + return protoreflect.ValueOfMessage(m.ProtoReflect()) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.TopicIdBlockHeightInferences")) + } + panic(fmt.Errorf("message emissions.v8.TopicIdBlockHeightInferences does not contain field %s", fd.FullName())) + } +} + +// WhichOneof reports which field within the oneof is populated, +// returning nil if none are populated. +// It panics if the oneof descriptor does not belong to this message. +func (x *fastReflection_TopicIdBlockHeightInferences) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { + switch d.FullName() { + default: + panic(fmt.Errorf("%s is not a oneof field in emissions.v8.TopicIdBlockHeightInferences", d.FullName())) + } + panic("unreachable") +} + +// GetUnknown retrieves the entire list of unknown fields. +// The caller may only mutate the contents of the RawFields +// if the mutated bytes are stored back into the message with SetUnknown. +func (x *fastReflection_TopicIdBlockHeightInferences) GetUnknown() protoreflect.RawFields { + return x.unknownFields +} + +// SetUnknown stores an entire list of unknown fields. +// The raw fields must be syntactically valid according to the wire format. +// An implementation may panic if this is not the case. +// Once stored, the caller must not mutate the content of the RawFields. +// An empty RawFields may be passed to clear the fields. +// +// SetUnknown is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_TopicIdBlockHeightInferences) SetUnknown(fields protoreflect.RawFields) { + x.unknownFields = fields +} + +// IsValid reports whether the message is valid. +// +// An invalid message is an empty, read-only value. +// +// An invalid message often corresponds to a nil pointer of the concrete +// message type, but the details are implementation dependent. +// Validity is not part of the protobuf data model, and may not +// be preserved in marshaling or other operations. +func (x *fastReflection_TopicIdBlockHeightInferences) IsValid() bool { + return x != nil +} + +// ProtoMethods returns optional fastReflectionFeature-path implementations of various operations. +// This method may return nil. +// +// The returned methods type is identical to +// "google.golang.org/protobuf/runtime/protoiface".Methods. +// Consult the protoiface package documentation for details. +func (x *fastReflection_TopicIdBlockHeightInferences) ProtoMethods() *protoiface.Methods { + size := func(input protoiface.SizeInput) protoiface.SizeOutput { + x := input.Message.Interface().(*TopicIdBlockHeightInferences) + if x == nil { + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: 0, + } + } + options := runtime.SizeInputToOptions(input) + _ = options + var n int + var l int + _ = l + if x.TopicId != 0 { + n += 1 + runtime.Sov(uint64(x.TopicId)) + } + if x.BlockHeight != 0 { + n += 1 + runtime.Sov(uint64(x.BlockHeight)) + } + if x.Inferences != nil { + l = options.Size(x.Inferences) + n += 1 + l + runtime.Sov(uint64(l)) + } + if x.unknownFields != nil { + n += len(x.unknownFields) + } + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: n, + } + } + + marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { + x := input.Message.Interface().(*TopicIdBlockHeightInferences) + if x == nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + options := runtime.MarshalInputToOptions(input) + _ = options + size := options.Size(x) + dAtA := make([]byte, size) + i := len(dAtA) + _ = i + var l int + _ = l + if x.unknownFields != nil { + i -= len(x.unknownFields) + copy(dAtA[i:], x.unknownFields) + } + if x.Inferences != nil { + encoded, err := options.Marshal(x.Inferences) + if err != nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = runtime.EncodeVarint(dAtA, i, uint64(len(encoded))) + i-- + dAtA[i] = 0x1a + } + if x.BlockHeight != 0 { + i = runtime.EncodeVarint(dAtA, i, uint64(x.BlockHeight)) + i-- + dAtA[i] = 0x10 + } + if x.TopicId != 0 { + i = runtime.EncodeVarint(dAtA, i, uint64(x.TopicId)) + i-- + dAtA[i] = 0x8 + } + if input.Buf != nil { + input.Buf = append(input.Buf, dAtA...) + } else { + input.Buf = dAtA + } + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { + x := input.Message.Interface().(*TopicIdBlockHeightInferences) + if x == nil { + return protoiface.UnmarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Flags: input.Flags, + }, nil + } + options := runtime.UnmarshalInputToOptions(input) + _ = options + dAtA := input.Buf + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: TopicIdBlockHeightInferences: wiretype end group for non-group") + } + if fieldNum <= 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: TopicIdBlockHeightInferences: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field TopicId", wireType) + } + x.TopicId = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + x.TopicId |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 2: + if wireType != 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field BlockHeight", wireType) + } + x.BlockHeight = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + x.BlockHeight |= int64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 3: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Inferences", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + if x.Inferences == nil { + x.Inferences = &v3.Inferences{} + } + if err := options.Unmarshal(dAtA[iNdEx:postIndex], x.Inferences); err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := runtime.Skip(dAtA[iNdEx:]) + if err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if (iNdEx + skippy) > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + if !options.DiscardUnknown { + x.unknownFields = append(x.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + } + iNdEx += skippy + } + } + + if iNdEx > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, nil + } + return &protoiface.Methods{ + NoUnkeyedLiterals: struct{}{}, + Flags: protoiface.SupportMarshalDeterministic | protoiface.SupportUnmarshalDiscardUnknown, + Size: size, + Marshal: marshal, + Unmarshal: unmarshal, + Merge: nil, + CheckInitialized: nil, + } +} + +var ( + md_TopicIdBlockHeightForecasts protoreflect.MessageDescriptor + fd_TopicIdBlockHeightForecasts_topic_id protoreflect.FieldDescriptor + fd_TopicIdBlockHeightForecasts_block_height protoreflect.FieldDescriptor + fd_TopicIdBlockHeightForecasts_forecasts protoreflect.FieldDescriptor +) + +func init() { + file_emissions_v8_genesis_proto_init() + md_TopicIdBlockHeightForecasts = File_emissions_v8_genesis_proto.Messages().ByName("TopicIdBlockHeightForecasts") + fd_TopicIdBlockHeightForecasts_topic_id = md_TopicIdBlockHeightForecasts.Fields().ByName("topic_id") + fd_TopicIdBlockHeightForecasts_block_height = md_TopicIdBlockHeightForecasts.Fields().ByName("block_height") + fd_TopicIdBlockHeightForecasts_forecasts = md_TopicIdBlockHeightForecasts.Fields().ByName("forecasts") +} + +var _ protoreflect.Message = (*fastReflection_TopicIdBlockHeightForecasts)(nil) + +type fastReflection_TopicIdBlockHeightForecasts TopicIdBlockHeightForecasts + +func (x *TopicIdBlockHeightForecasts) ProtoReflect() protoreflect.Message { + return (*fastReflection_TopicIdBlockHeightForecasts)(x) +} + +func (x *TopicIdBlockHeightForecasts) slowProtoReflect() protoreflect.Message { + mi := &file_emissions_v8_genesis_proto_msgTypes[22] + 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) +} + +var _fastReflection_TopicIdBlockHeightForecasts_messageType fastReflection_TopicIdBlockHeightForecasts_messageType +var _ protoreflect.MessageType = fastReflection_TopicIdBlockHeightForecasts_messageType{} + +type fastReflection_TopicIdBlockHeightForecasts_messageType struct{} + +func (x fastReflection_TopicIdBlockHeightForecasts_messageType) Zero() protoreflect.Message { + return (*fastReflection_TopicIdBlockHeightForecasts)(nil) +} +func (x fastReflection_TopicIdBlockHeightForecasts_messageType) New() protoreflect.Message { + return new(fastReflection_TopicIdBlockHeightForecasts) +} +func (x fastReflection_TopicIdBlockHeightForecasts_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_TopicIdBlockHeightForecasts +} + +// Descriptor returns message descriptor, which contains only the protobuf +// type information for the message. +func (x *fastReflection_TopicIdBlockHeightForecasts) Descriptor() protoreflect.MessageDescriptor { + return md_TopicIdBlockHeightForecasts +} + +// Type returns the message type, which encapsulates both Go and protobuf +// type information. If the Go type information is not needed, +// it is recommended that the message descriptor be used instead. +func (x *fastReflection_TopicIdBlockHeightForecasts) Type() protoreflect.MessageType { + return _fastReflection_TopicIdBlockHeightForecasts_messageType +} + +// New returns a newly allocated and mutable empty message. +func (x *fastReflection_TopicIdBlockHeightForecasts) New() protoreflect.Message { + return new(fastReflection_TopicIdBlockHeightForecasts) +} + +// Interface unwraps the message reflection interface and +// returns the underlying ProtoMessage interface. +func (x *fastReflection_TopicIdBlockHeightForecasts) Interface() protoreflect.ProtoMessage { + return (*TopicIdBlockHeightForecasts)(x) +} + +// Range iterates over every populated field in an undefined order, +// calling f for each field descriptor and value encountered. +// Range returns immediately if f returns false. +// While iterating, mutating operations may only be performed +// on the current field descriptor. +func (x *fastReflection_TopicIdBlockHeightForecasts) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { + if x.TopicId != uint64(0) { + value := protoreflect.ValueOfUint64(x.TopicId) + if !f(fd_TopicIdBlockHeightForecasts_topic_id, value) { + return + } + } + if x.BlockHeight != int64(0) { + value := protoreflect.ValueOfInt64(x.BlockHeight) + if !f(fd_TopicIdBlockHeightForecasts_block_height, value) { + return + } + } + if x.Forecasts != nil { + value := protoreflect.ValueOfMessage(x.Forecasts.ProtoReflect()) + if !f(fd_TopicIdBlockHeightForecasts_forecasts, value) { + return + } + } +} + +// Has reports whether a field is populated. +// +// Some fields have the property of nullability where it is possible to +// distinguish between the default value of a field and whether the field +// was explicitly populated with the default value. Singular message fields, +// member fields of a oneof, and proto2 scalar fields are nullable. Such +// fields are populated only if explicitly set. +// +// In other cases (aside from the nullable cases above), +// a proto3 scalar field is populated if it contains a non-zero value, and +// a repeated field is populated if it is non-empty. +func (x *fastReflection_TopicIdBlockHeightForecasts) Has(fd protoreflect.FieldDescriptor) bool { + switch fd.FullName() { + case "emissions.v8.TopicIdBlockHeightForecasts.topic_id": + return x.TopicId != uint64(0) + case "emissions.v8.TopicIdBlockHeightForecasts.block_height": + return x.BlockHeight != int64(0) + case "emissions.v8.TopicIdBlockHeightForecasts.forecasts": + return x.Forecasts != nil + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.TopicIdBlockHeightForecasts")) + } + panic(fmt.Errorf("message emissions.v8.TopicIdBlockHeightForecasts does not contain field %s", fd.FullName())) + } +} + +// Clear clears the field such that a subsequent Has call reports false. +// +// Clearing an extension field clears both the extension type and value +// associated with the given field number. +// +// Clear is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_TopicIdBlockHeightForecasts) Clear(fd protoreflect.FieldDescriptor) { + switch fd.FullName() { + case "emissions.v8.TopicIdBlockHeightForecasts.topic_id": + x.TopicId = uint64(0) + case "emissions.v8.TopicIdBlockHeightForecasts.block_height": + x.BlockHeight = int64(0) + case "emissions.v8.TopicIdBlockHeightForecasts.forecasts": + x.Forecasts = nil + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.TopicIdBlockHeightForecasts")) + } + panic(fmt.Errorf("message emissions.v8.TopicIdBlockHeightForecasts does not contain field %s", fd.FullName())) + } +} + +// Get retrieves the value for a field. +// +// For unpopulated scalars, it returns the default value, where +// the default value of a bytes scalar is guaranteed to be a copy. +// For unpopulated composite types, it returns an empty, read-only view +// of the value; to obtain a mutable reference, use Mutable. +func (x *fastReflection_TopicIdBlockHeightForecasts) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { + switch descriptor.FullName() { + case "emissions.v8.TopicIdBlockHeightForecasts.topic_id": + value := x.TopicId + return protoreflect.ValueOfUint64(value) + case "emissions.v8.TopicIdBlockHeightForecasts.block_height": + value := x.BlockHeight + return protoreflect.ValueOfInt64(value) + case "emissions.v8.TopicIdBlockHeightForecasts.forecasts": + value := x.Forecasts + return protoreflect.ValueOfMessage(value.ProtoReflect()) + default: + if descriptor.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.TopicIdBlockHeightForecasts")) + } + panic(fmt.Errorf("message emissions.v8.TopicIdBlockHeightForecasts does not contain field %s", descriptor.FullName())) + } +} + +// Set stores the value for a field. +// +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType. +// When setting a composite type, it is unspecified whether the stored value +// aliases the source's memory in any way. If the composite value is an +// empty, read-only value, then it panics. +// +// Set is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_TopicIdBlockHeightForecasts) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { + switch fd.FullName() { + case "emissions.v8.TopicIdBlockHeightForecasts.topic_id": + x.TopicId = value.Uint() + case "emissions.v8.TopicIdBlockHeightForecasts.block_height": + x.BlockHeight = value.Int() + case "emissions.v8.TopicIdBlockHeightForecasts.forecasts": + x.Forecasts = value.Message().Interface().(*v3.Forecasts) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.TopicIdBlockHeightForecasts")) + } + panic(fmt.Errorf("message emissions.v8.TopicIdBlockHeightForecasts does not contain field %s", fd.FullName())) + } +} + +// Mutable returns a mutable reference to a composite type. +// +// If the field is unpopulated, it may allocate a composite value. +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType +// if not already stored. +// It panics if the field does not contain a composite type. +// +// Mutable is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_TopicIdBlockHeightForecasts) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.TopicIdBlockHeightForecasts.forecasts": + if x.Forecasts == nil { + x.Forecasts = new(v3.Forecasts) + } + return protoreflect.ValueOfMessage(x.Forecasts.ProtoReflect()) + case "emissions.v8.TopicIdBlockHeightForecasts.topic_id": + panic(fmt.Errorf("field topic_id of message emissions.v8.TopicIdBlockHeightForecasts is not mutable")) + case "emissions.v8.TopicIdBlockHeightForecasts.block_height": + panic(fmt.Errorf("field block_height of message emissions.v8.TopicIdBlockHeightForecasts is not mutable")) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.TopicIdBlockHeightForecasts")) + } + panic(fmt.Errorf("message emissions.v8.TopicIdBlockHeightForecasts does not contain field %s", fd.FullName())) + } +} + +// NewField returns a new value that is assignable to the field +// for the given descriptor. For scalars, this returns the default value. +// For lists, maps, and messages, this returns a new, empty, mutable value. +func (x *fastReflection_TopicIdBlockHeightForecasts) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.TopicIdBlockHeightForecasts.topic_id": + return protoreflect.ValueOfUint64(uint64(0)) + case "emissions.v8.TopicIdBlockHeightForecasts.block_height": + return protoreflect.ValueOfInt64(int64(0)) + case "emissions.v8.TopicIdBlockHeightForecasts.forecasts": + m := new(v3.Forecasts) + return protoreflect.ValueOfMessage(m.ProtoReflect()) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.TopicIdBlockHeightForecasts")) + } + panic(fmt.Errorf("message emissions.v8.TopicIdBlockHeightForecasts does not contain field %s", fd.FullName())) + } +} + +// WhichOneof reports which field within the oneof is populated, +// returning nil if none are populated. +// It panics if the oneof descriptor does not belong to this message. +func (x *fastReflection_TopicIdBlockHeightForecasts) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { + switch d.FullName() { + default: + panic(fmt.Errorf("%s is not a oneof field in emissions.v8.TopicIdBlockHeightForecasts", d.FullName())) + } + panic("unreachable") +} + +// GetUnknown retrieves the entire list of unknown fields. +// The caller may only mutate the contents of the RawFields +// if the mutated bytes are stored back into the message with SetUnknown. +func (x *fastReflection_TopicIdBlockHeightForecasts) GetUnknown() protoreflect.RawFields { + return x.unknownFields +} + +// SetUnknown stores an entire list of unknown fields. +// The raw fields must be syntactically valid according to the wire format. +// An implementation may panic if this is not the case. +// Once stored, the caller must not mutate the content of the RawFields. +// An empty RawFields may be passed to clear the fields. +// +// SetUnknown is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_TopicIdBlockHeightForecasts) SetUnknown(fields protoreflect.RawFields) { + x.unknownFields = fields +} + +// IsValid reports whether the message is valid. +// +// An invalid message is an empty, read-only value. +// +// An invalid message often corresponds to a nil pointer of the concrete +// message type, but the details are implementation dependent. +// Validity is not part of the protobuf data model, and may not +// be preserved in marshaling or other operations. +func (x *fastReflection_TopicIdBlockHeightForecasts) IsValid() bool { + return x != nil +} + +// ProtoMethods returns optional fastReflectionFeature-path implementations of various operations. +// This method may return nil. +// +// The returned methods type is identical to +// "google.golang.org/protobuf/runtime/protoiface".Methods. +// Consult the protoiface package documentation for details. +func (x *fastReflection_TopicIdBlockHeightForecasts) ProtoMethods() *protoiface.Methods { + size := func(input protoiface.SizeInput) protoiface.SizeOutput { + x := input.Message.Interface().(*TopicIdBlockHeightForecasts) + if x == nil { + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: 0, + } + } + options := runtime.SizeInputToOptions(input) + _ = options + var n int + var l int + _ = l + if x.TopicId != 0 { + n += 1 + runtime.Sov(uint64(x.TopicId)) + } + if x.BlockHeight != 0 { + n += 1 + runtime.Sov(uint64(x.BlockHeight)) + } + if x.Forecasts != nil { + l = options.Size(x.Forecasts) + n += 1 + l + runtime.Sov(uint64(l)) + } + if x.unknownFields != nil { + n += len(x.unknownFields) + } + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: n, + } + } + + marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { + x := input.Message.Interface().(*TopicIdBlockHeightForecasts) + if x == nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + options := runtime.MarshalInputToOptions(input) + _ = options + size := options.Size(x) + dAtA := make([]byte, size) + i := len(dAtA) + _ = i + var l int + _ = l + if x.unknownFields != nil { + i -= len(x.unknownFields) + copy(dAtA[i:], x.unknownFields) + } + if x.Forecasts != nil { + encoded, err := options.Marshal(x.Forecasts) + if err != nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = runtime.EncodeVarint(dAtA, i, uint64(len(encoded))) + i-- + dAtA[i] = 0x1a + } + if x.BlockHeight != 0 { + i = runtime.EncodeVarint(dAtA, i, uint64(x.BlockHeight)) + i-- + dAtA[i] = 0x10 + } + if x.TopicId != 0 { + i = runtime.EncodeVarint(dAtA, i, uint64(x.TopicId)) + i-- + dAtA[i] = 0x8 + } + if input.Buf != nil { + input.Buf = append(input.Buf, dAtA...) + } else { + input.Buf = dAtA + } + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { + x := input.Message.Interface().(*TopicIdBlockHeightForecasts) + if x == nil { + return protoiface.UnmarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Flags: input.Flags, + }, nil + } + options := runtime.UnmarshalInputToOptions(input) + _ = options + dAtA := input.Buf + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: TopicIdBlockHeightForecasts: wiretype end group for non-group") + } + if fieldNum <= 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: TopicIdBlockHeightForecasts: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field TopicId", wireType) + } + x.TopicId = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + x.TopicId |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 2: + if wireType != 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field BlockHeight", wireType) + } + x.BlockHeight = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + x.BlockHeight |= int64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 3: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Forecasts", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + if x.Forecasts == nil { + x.Forecasts = &v3.Forecasts{} + } + if err := options.Unmarshal(dAtA[iNdEx:postIndex], x.Forecasts); err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := runtime.Skip(dAtA[iNdEx:]) + if err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if (iNdEx + skippy) > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + if !options.DiscardUnknown { + x.unknownFields = append(x.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + } + iNdEx += skippy + } + } + + if iNdEx > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, nil + } + return &protoiface.Methods{ + NoUnkeyedLiterals: struct{}{}, + Flags: protoiface.SupportMarshalDeterministic | protoiface.SupportUnmarshalDiscardUnknown, + Size: size, + Marshal: marshal, + Unmarshal: unmarshal, + Merge: nil, + CheckInitialized: nil, + } +} + +var ( + md_TopicIdBlockHeightReputerValueBundles protoreflect.MessageDescriptor + fd_TopicIdBlockHeightReputerValueBundles_topic_id protoreflect.FieldDescriptor + fd_TopicIdBlockHeightReputerValueBundles_block_height protoreflect.FieldDescriptor + fd_TopicIdBlockHeightReputerValueBundles_reputer_value_bundles protoreflect.FieldDescriptor +) + +func init() { + file_emissions_v8_genesis_proto_init() + md_TopicIdBlockHeightReputerValueBundles = File_emissions_v8_genesis_proto.Messages().ByName("TopicIdBlockHeightReputerValueBundles") + fd_TopicIdBlockHeightReputerValueBundles_topic_id = md_TopicIdBlockHeightReputerValueBundles.Fields().ByName("topic_id") + fd_TopicIdBlockHeightReputerValueBundles_block_height = md_TopicIdBlockHeightReputerValueBundles.Fields().ByName("block_height") + fd_TopicIdBlockHeightReputerValueBundles_reputer_value_bundles = md_TopicIdBlockHeightReputerValueBundles.Fields().ByName("reputer_value_bundles") +} + +var _ protoreflect.Message = (*fastReflection_TopicIdBlockHeightReputerValueBundles)(nil) + +type fastReflection_TopicIdBlockHeightReputerValueBundles TopicIdBlockHeightReputerValueBundles + +func (x *TopicIdBlockHeightReputerValueBundles) ProtoReflect() protoreflect.Message { + return (*fastReflection_TopicIdBlockHeightReputerValueBundles)(x) +} + +func (x *TopicIdBlockHeightReputerValueBundles) slowProtoReflect() protoreflect.Message { + mi := &file_emissions_v8_genesis_proto_msgTypes[23] + 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) +} + +var _fastReflection_TopicIdBlockHeightReputerValueBundles_messageType fastReflection_TopicIdBlockHeightReputerValueBundles_messageType +var _ protoreflect.MessageType = fastReflection_TopicIdBlockHeightReputerValueBundles_messageType{} + +type fastReflection_TopicIdBlockHeightReputerValueBundles_messageType struct{} + +func (x fastReflection_TopicIdBlockHeightReputerValueBundles_messageType) Zero() protoreflect.Message { + return (*fastReflection_TopicIdBlockHeightReputerValueBundles)(nil) +} +func (x fastReflection_TopicIdBlockHeightReputerValueBundles_messageType) New() protoreflect.Message { + return new(fastReflection_TopicIdBlockHeightReputerValueBundles) +} +func (x fastReflection_TopicIdBlockHeightReputerValueBundles_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_TopicIdBlockHeightReputerValueBundles +} + +// Descriptor returns message descriptor, which contains only the protobuf +// type information for the message. +func (x *fastReflection_TopicIdBlockHeightReputerValueBundles) Descriptor() protoreflect.MessageDescriptor { + return md_TopicIdBlockHeightReputerValueBundles +} + +// Type returns the message type, which encapsulates both Go and protobuf +// type information. If the Go type information is not needed, +// it is recommended that the message descriptor be used instead. +func (x *fastReflection_TopicIdBlockHeightReputerValueBundles) Type() protoreflect.MessageType { + return _fastReflection_TopicIdBlockHeightReputerValueBundles_messageType +} + +// New returns a newly allocated and mutable empty message. +func (x *fastReflection_TopicIdBlockHeightReputerValueBundles) New() protoreflect.Message { + return new(fastReflection_TopicIdBlockHeightReputerValueBundles) +} + +// Interface unwraps the message reflection interface and +// returns the underlying ProtoMessage interface. +func (x *fastReflection_TopicIdBlockHeightReputerValueBundles) Interface() protoreflect.ProtoMessage { + return (*TopicIdBlockHeightReputerValueBundles)(x) +} + +// Range iterates over every populated field in an undefined order, +// calling f for each field descriptor and value encountered. +// Range returns immediately if f returns false. +// While iterating, mutating operations may only be performed +// on the current field descriptor. +func (x *fastReflection_TopicIdBlockHeightReputerValueBundles) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { + if x.TopicId != uint64(0) { + value := protoreflect.ValueOfUint64(x.TopicId) + if !f(fd_TopicIdBlockHeightReputerValueBundles_topic_id, value) { + return + } + } + if x.BlockHeight != int64(0) { + value := protoreflect.ValueOfInt64(x.BlockHeight) + if !f(fd_TopicIdBlockHeightReputerValueBundles_block_height, value) { + return + } + } + if x.ReputerValueBundles != nil { + value := protoreflect.ValueOfMessage(x.ReputerValueBundles.ProtoReflect()) + if !f(fd_TopicIdBlockHeightReputerValueBundles_reputer_value_bundles, value) { + return + } + } +} + +// Has reports whether a field is populated. +// +// Some fields have the property of nullability where it is possible to +// distinguish between the default value of a field and whether the field +// was explicitly populated with the default value. Singular message fields, +// member fields of a oneof, and proto2 scalar fields are nullable. Such +// fields are populated only if explicitly set. +// +// In other cases (aside from the nullable cases above), +// a proto3 scalar field is populated if it contains a non-zero value, and +// a repeated field is populated if it is non-empty. +func (x *fastReflection_TopicIdBlockHeightReputerValueBundles) Has(fd protoreflect.FieldDescriptor) bool { + switch fd.FullName() { + case "emissions.v8.TopicIdBlockHeightReputerValueBundles.topic_id": + return x.TopicId != uint64(0) + case "emissions.v8.TopicIdBlockHeightReputerValueBundles.block_height": + return x.BlockHeight != int64(0) + case "emissions.v8.TopicIdBlockHeightReputerValueBundles.reputer_value_bundles": + return x.ReputerValueBundles != nil + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.TopicIdBlockHeightReputerValueBundles")) + } + panic(fmt.Errorf("message emissions.v8.TopicIdBlockHeightReputerValueBundles does not contain field %s", fd.FullName())) + } +} + +// Clear clears the field such that a subsequent Has call reports false. +// +// Clearing an extension field clears both the extension type and value +// associated with the given field number. +// +// Clear is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_TopicIdBlockHeightReputerValueBundles) Clear(fd protoreflect.FieldDescriptor) { + switch fd.FullName() { + case "emissions.v8.TopicIdBlockHeightReputerValueBundles.topic_id": + x.TopicId = uint64(0) + case "emissions.v8.TopicIdBlockHeightReputerValueBundles.block_height": + x.BlockHeight = int64(0) + case "emissions.v8.TopicIdBlockHeightReputerValueBundles.reputer_value_bundles": + x.ReputerValueBundles = nil + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.TopicIdBlockHeightReputerValueBundles")) + } + panic(fmt.Errorf("message emissions.v8.TopicIdBlockHeightReputerValueBundles does not contain field %s", fd.FullName())) + } +} + +// Get retrieves the value for a field. +// +// For unpopulated scalars, it returns the default value, where +// the default value of a bytes scalar is guaranteed to be a copy. +// For unpopulated composite types, it returns an empty, read-only view +// of the value; to obtain a mutable reference, use Mutable. +func (x *fastReflection_TopicIdBlockHeightReputerValueBundles) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { + switch descriptor.FullName() { + case "emissions.v8.TopicIdBlockHeightReputerValueBundles.topic_id": + value := x.TopicId + return protoreflect.ValueOfUint64(value) + case "emissions.v8.TopicIdBlockHeightReputerValueBundles.block_height": + value := x.BlockHeight + return protoreflect.ValueOfInt64(value) + case "emissions.v8.TopicIdBlockHeightReputerValueBundles.reputer_value_bundles": + value := x.ReputerValueBundles + return protoreflect.ValueOfMessage(value.ProtoReflect()) + default: + if descriptor.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.TopicIdBlockHeightReputerValueBundles")) + } + panic(fmt.Errorf("message emissions.v8.TopicIdBlockHeightReputerValueBundles does not contain field %s", descriptor.FullName())) + } +} + +// Set stores the value for a field. +// +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType. +// When setting a composite type, it is unspecified whether the stored value +// aliases the source's memory in any way. If the composite value is an +// empty, read-only value, then it panics. +// +// Set is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_TopicIdBlockHeightReputerValueBundles) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { + switch fd.FullName() { + case "emissions.v8.TopicIdBlockHeightReputerValueBundles.topic_id": + x.TopicId = value.Uint() + case "emissions.v8.TopicIdBlockHeightReputerValueBundles.block_height": + x.BlockHeight = value.Int() + case "emissions.v8.TopicIdBlockHeightReputerValueBundles.reputer_value_bundles": + x.ReputerValueBundles = value.Message().Interface().(*v3.ReputerValueBundles) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.TopicIdBlockHeightReputerValueBundles")) + } + panic(fmt.Errorf("message emissions.v8.TopicIdBlockHeightReputerValueBundles does not contain field %s", fd.FullName())) + } +} + +// Mutable returns a mutable reference to a composite type. +// +// If the field is unpopulated, it may allocate a composite value. +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType +// if not already stored. +// It panics if the field does not contain a composite type. +// +// Mutable is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_TopicIdBlockHeightReputerValueBundles) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.TopicIdBlockHeightReputerValueBundles.reputer_value_bundles": + if x.ReputerValueBundles == nil { + x.ReputerValueBundles = new(v3.ReputerValueBundles) + } + return protoreflect.ValueOfMessage(x.ReputerValueBundles.ProtoReflect()) + case "emissions.v8.TopicIdBlockHeightReputerValueBundles.topic_id": + panic(fmt.Errorf("field topic_id of message emissions.v8.TopicIdBlockHeightReputerValueBundles is not mutable")) + case "emissions.v8.TopicIdBlockHeightReputerValueBundles.block_height": + panic(fmt.Errorf("field block_height of message emissions.v8.TopicIdBlockHeightReputerValueBundles is not mutable")) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.TopicIdBlockHeightReputerValueBundles")) + } + panic(fmt.Errorf("message emissions.v8.TopicIdBlockHeightReputerValueBundles does not contain field %s", fd.FullName())) + } +} + +// NewField returns a new value that is assignable to the field +// for the given descriptor. For scalars, this returns the default value. +// For lists, maps, and messages, this returns a new, empty, mutable value. +func (x *fastReflection_TopicIdBlockHeightReputerValueBundles) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.TopicIdBlockHeightReputerValueBundles.topic_id": + return protoreflect.ValueOfUint64(uint64(0)) + case "emissions.v8.TopicIdBlockHeightReputerValueBundles.block_height": + return protoreflect.ValueOfInt64(int64(0)) + case "emissions.v8.TopicIdBlockHeightReputerValueBundles.reputer_value_bundles": + m := new(v3.ReputerValueBundles) + return protoreflect.ValueOfMessage(m.ProtoReflect()) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.TopicIdBlockHeightReputerValueBundles")) + } + panic(fmt.Errorf("message emissions.v8.TopicIdBlockHeightReputerValueBundles does not contain field %s", fd.FullName())) + } +} + +// WhichOneof reports which field within the oneof is populated, +// returning nil if none are populated. +// It panics if the oneof descriptor does not belong to this message. +func (x *fastReflection_TopicIdBlockHeightReputerValueBundles) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { + switch d.FullName() { + default: + panic(fmt.Errorf("%s is not a oneof field in emissions.v8.TopicIdBlockHeightReputerValueBundles", d.FullName())) + } + panic("unreachable") +} + +// GetUnknown retrieves the entire list of unknown fields. +// The caller may only mutate the contents of the RawFields +// if the mutated bytes are stored back into the message with SetUnknown. +func (x *fastReflection_TopicIdBlockHeightReputerValueBundles) GetUnknown() protoreflect.RawFields { + return x.unknownFields +} + +// SetUnknown stores an entire list of unknown fields. +// The raw fields must be syntactically valid according to the wire format. +// An implementation may panic if this is not the case. +// Once stored, the caller must not mutate the content of the RawFields. +// An empty RawFields may be passed to clear the fields. +// +// SetUnknown is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_TopicIdBlockHeightReputerValueBundles) SetUnknown(fields protoreflect.RawFields) { + x.unknownFields = fields +} + +// IsValid reports whether the message is valid. +// +// An invalid message is an empty, read-only value. +// +// An invalid message often corresponds to a nil pointer of the concrete +// message type, but the details are implementation dependent. +// Validity is not part of the protobuf data model, and may not +// be preserved in marshaling or other operations. +func (x *fastReflection_TopicIdBlockHeightReputerValueBundles) IsValid() bool { + return x != nil +} + +// ProtoMethods returns optional fastReflectionFeature-path implementations of various operations. +// This method may return nil. +// +// The returned methods type is identical to +// "google.golang.org/protobuf/runtime/protoiface".Methods. +// Consult the protoiface package documentation for details. +func (x *fastReflection_TopicIdBlockHeightReputerValueBundles) ProtoMethods() *protoiface.Methods { + size := func(input protoiface.SizeInput) protoiface.SizeOutput { + x := input.Message.Interface().(*TopicIdBlockHeightReputerValueBundles) + if x == nil { + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: 0, + } + } + options := runtime.SizeInputToOptions(input) + _ = options + var n int + var l int + _ = l + if x.TopicId != 0 { + n += 1 + runtime.Sov(uint64(x.TopicId)) + } + if x.BlockHeight != 0 { + n += 1 + runtime.Sov(uint64(x.BlockHeight)) + } + if x.ReputerValueBundles != nil { + l = options.Size(x.ReputerValueBundles) + n += 1 + l + runtime.Sov(uint64(l)) + } + if x.unknownFields != nil { + n += len(x.unknownFields) + } + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: n, + } + } + + marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { + x := input.Message.Interface().(*TopicIdBlockHeightReputerValueBundles) + if x == nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + options := runtime.MarshalInputToOptions(input) + _ = options + size := options.Size(x) + dAtA := make([]byte, size) + i := len(dAtA) + _ = i + var l int + _ = l + if x.unknownFields != nil { + i -= len(x.unknownFields) + copy(dAtA[i:], x.unknownFields) + } + if x.ReputerValueBundles != nil { + encoded, err := options.Marshal(x.ReputerValueBundles) + if err != nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = runtime.EncodeVarint(dAtA, i, uint64(len(encoded))) + i-- + dAtA[i] = 0x1a + } + if x.BlockHeight != 0 { + i = runtime.EncodeVarint(dAtA, i, uint64(x.BlockHeight)) + i-- + dAtA[i] = 0x10 + } + if x.TopicId != 0 { + i = runtime.EncodeVarint(dAtA, i, uint64(x.TopicId)) + i-- + dAtA[i] = 0x8 + } + if input.Buf != nil { + input.Buf = append(input.Buf, dAtA...) + } else { + input.Buf = dAtA + } + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { + x := input.Message.Interface().(*TopicIdBlockHeightReputerValueBundles) + if x == nil { + return protoiface.UnmarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Flags: input.Flags, + }, nil + } + options := runtime.UnmarshalInputToOptions(input) + _ = options + dAtA := input.Buf + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: TopicIdBlockHeightReputerValueBundles: wiretype end group for non-group") + } + if fieldNum <= 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: TopicIdBlockHeightReputerValueBundles: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field TopicId", wireType) + } + x.TopicId = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + x.TopicId |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 2: + if wireType != 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field BlockHeight", wireType) + } + x.BlockHeight = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + x.BlockHeight |= int64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 3: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field ReputerValueBundles", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + if x.ReputerValueBundles == nil { + x.ReputerValueBundles = &v3.ReputerValueBundles{} + } + if err := options.Unmarshal(dAtA[iNdEx:postIndex], x.ReputerValueBundles); err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := runtime.Skip(dAtA[iNdEx:]) + if err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if (iNdEx + skippy) > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + if !options.DiscardUnknown { + x.unknownFields = append(x.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + } + iNdEx += skippy + } + } + + if iNdEx > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, nil + } + return &protoiface.Methods{ + NoUnkeyedLiterals: struct{}{}, + Flags: protoiface.SupportMarshalDeterministic | protoiface.SupportUnmarshalDiscardUnknown, + Size: size, + Marshal: marshal, + Unmarshal: unmarshal, + Merge: nil, + CheckInitialized: nil, + } +} + +var ( + md_TopicIdBlockHeightValueBundles protoreflect.MessageDescriptor + fd_TopicIdBlockHeightValueBundles_topic_id protoreflect.FieldDescriptor + fd_TopicIdBlockHeightValueBundles_block_height protoreflect.FieldDescriptor + fd_TopicIdBlockHeightValueBundles_value_bundle protoreflect.FieldDescriptor +) + +func init() { + file_emissions_v8_genesis_proto_init() + md_TopicIdBlockHeightValueBundles = File_emissions_v8_genesis_proto.Messages().ByName("TopicIdBlockHeightValueBundles") + fd_TopicIdBlockHeightValueBundles_topic_id = md_TopicIdBlockHeightValueBundles.Fields().ByName("topic_id") + fd_TopicIdBlockHeightValueBundles_block_height = md_TopicIdBlockHeightValueBundles.Fields().ByName("block_height") + fd_TopicIdBlockHeightValueBundles_value_bundle = md_TopicIdBlockHeightValueBundles.Fields().ByName("value_bundle") +} + +var _ protoreflect.Message = (*fastReflection_TopicIdBlockHeightValueBundles)(nil) + +type fastReflection_TopicIdBlockHeightValueBundles TopicIdBlockHeightValueBundles + +func (x *TopicIdBlockHeightValueBundles) ProtoReflect() protoreflect.Message { + return (*fastReflection_TopicIdBlockHeightValueBundles)(x) +} + +func (x *TopicIdBlockHeightValueBundles) slowProtoReflect() protoreflect.Message { + mi := &file_emissions_v8_genesis_proto_msgTypes[24] + 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) +} + +var _fastReflection_TopicIdBlockHeightValueBundles_messageType fastReflection_TopicIdBlockHeightValueBundles_messageType +var _ protoreflect.MessageType = fastReflection_TopicIdBlockHeightValueBundles_messageType{} + +type fastReflection_TopicIdBlockHeightValueBundles_messageType struct{} + +func (x fastReflection_TopicIdBlockHeightValueBundles_messageType) Zero() protoreflect.Message { + return (*fastReflection_TopicIdBlockHeightValueBundles)(nil) +} +func (x fastReflection_TopicIdBlockHeightValueBundles_messageType) New() protoreflect.Message { + return new(fastReflection_TopicIdBlockHeightValueBundles) +} +func (x fastReflection_TopicIdBlockHeightValueBundles_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_TopicIdBlockHeightValueBundles +} + +// Descriptor returns message descriptor, which contains only the protobuf +// type information for the message. +func (x *fastReflection_TopicIdBlockHeightValueBundles) Descriptor() protoreflect.MessageDescriptor { + return md_TopicIdBlockHeightValueBundles +} + +// Type returns the message type, which encapsulates both Go and protobuf +// type information. If the Go type information is not needed, +// it is recommended that the message descriptor be used instead. +func (x *fastReflection_TopicIdBlockHeightValueBundles) Type() protoreflect.MessageType { + return _fastReflection_TopicIdBlockHeightValueBundles_messageType +} + +// New returns a newly allocated and mutable empty message. +func (x *fastReflection_TopicIdBlockHeightValueBundles) New() protoreflect.Message { + return new(fastReflection_TopicIdBlockHeightValueBundles) +} + +// Interface unwraps the message reflection interface and +// returns the underlying ProtoMessage interface. +func (x *fastReflection_TopicIdBlockHeightValueBundles) Interface() protoreflect.ProtoMessage { + return (*TopicIdBlockHeightValueBundles)(x) +} + +// Range iterates over every populated field in an undefined order, +// calling f for each field descriptor and value encountered. +// Range returns immediately if f returns false. +// While iterating, mutating operations may only be performed +// on the current field descriptor. +func (x *fastReflection_TopicIdBlockHeightValueBundles) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { + if x.TopicId != uint64(0) { + value := protoreflect.ValueOfUint64(x.TopicId) + if !f(fd_TopicIdBlockHeightValueBundles_topic_id, value) { + return + } + } + if x.BlockHeight != int64(0) { + value := protoreflect.ValueOfInt64(x.BlockHeight) + if !f(fd_TopicIdBlockHeightValueBundles_block_height, value) { + return + } + } + if x.ValueBundle != nil { + value := protoreflect.ValueOfMessage(x.ValueBundle.ProtoReflect()) + if !f(fd_TopicIdBlockHeightValueBundles_value_bundle, value) { + return + } + } +} + +// Has reports whether a field is populated. +// +// Some fields have the property of nullability where it is possible to +// distinguish between the default value of a field and whether the field +// was explicitly populated with the default value. Singular message fields, +// member fields of a oneof, and proto2 scalar fields are nullable. Such +// fields are populated only if explicitly set. +// +// In other cases (aside from the nullable cases above), +// a proto3 scalar field is populated if it contains a non-zero value, and +// a repeated field is populated if it is non-empty. +func (x *fastReflection_TopicIdBlockHeightValueBundles) Has(fd protoreflect.FieldDescriptor) bool { + switch fd.FullName() { + case "emissions.v8.TopicIdBlockHeightValueBundles.topic_id": + return x.TopicId != uint64(0) + case "emissions.v8.TopicIdBlockHeightValueBundles.block_height": + return x.BlockHeight != int64(0) + case "emissions.v8.TopicIdBlockHeightValueBundles.value_bundle": + return x.ValueBundle != nil + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.TopicIdBlockHeightValueBundles")) + } + panic(fmt.Errorf("message emissions.v8.TopicIdBlockHeightValueBundles does not contain field %s", fd.FullName())) + } +} + +// Clear clears the field such that a subsequent Has call reports false. +// +// Clearing an extension field clears both the extension type and value +// associated with the given field number. +// +// Clear is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_TopicIdBlockHeightValueBundles) Clear(fd protoreflect.FieldDescriptor) { + switch fd.FullName() { + case "emissions.v8.TopicIdBlockHeightValueBundles.topic_id": + x.TopicId = uint64(0) + case "emissions.v8.TopicIdBlockHeightValueBundles.block_height": + x.BlockHeight = int64(0) + case "emissions.v8.TopicIdBlockHeightValueBundles.value_bundle": + x.ValueBundle = nil + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.TopicIdBlockHeightValueBundles")) + } + panic(fmt.Errorf("message emissions.v8.TopicIdBlockHeightValueBundles does not contain field %s", fd.FullName())) + } +} + +// Get retrieves the value for a field. +// +// For unpopulated scalars, it returns the default value, where +// the default value of a bytes scalar is guaranteed to be a copy. +// For unpopulated composite types, it returns an empty, read-only view +// of the value; to obtain a mutable reference, use Mutable. +func (x *fastReflection_TopicIdBlockHeightValueBundles) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { + switch descriptor.FullName() { + case "emissions.v8.TopicIdBlockHeightValueBundles.topic_id": + value := x.TopicId + return protoreflect.ValueOfUint64(value) + case "emissions.v8.TopicIdBlockHeightValueBundles.block_height": + value := x.BlockHeight + return protoreflect.ValueOfInt64(value) + case "emissions.v8.TopicIdBlockHeightValueBundles.value_bundle": + value := x.ValueBundle + return protoreflect.ValueOfMessage(value.ProtoReflect()) + default: + if descriptor.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.TopicIdBlockHeightValueBundles")) + } + panic(fmt.Errorf("message emissions.v8.TopicIdBlockHeightValueBundles does not contain field %s", descriptor.FullName())) + } +} + +// Set stores the value for a field. +// +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType. +// When setting a composite type, it is unspecified whether the stored value +// aliases the source's memory in any way. If the composite value is an +// empty, read-only value, then it panics. +// +// Set is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_TopicIdBlockHeightValueBundles) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { + switch fd.FullName() { + case "emissions.v8.TopicIdBlockHeightValueBundles.topic_id": + x.TopicId = value.Uint() + case "emissions.v8.TopicIdBlockHeightValueBundles.block_height": + x.BlockHeight = value.Int() + case "emissions.v8.TopicIdBlockHeightValueBundles.value_bundle": + x.ValueBundle = value.Message().Interface().(*v3.ValueBundle) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.TopicIdBlockHeightValueBundles")) + } + panic(fmt.Errorf("message emissions.v8.TopicIdBlockHeightValueBundles does not contain field %s", fd.FullName())) + } +} + +// Mutable returns a mutable reference to a composite type. +// +// If the field is unpopulated, it may allocate a composite value. +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType +// if not already stored. +// It panics if the field does not contain a composite type. +// +// Mutable is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_TopicIdBlockHeightValueBundles) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.TopicIdBlockHeightValueBundles.value_bundle": + if x.ValueBundle == nil { + x.ValueBundle = new(v3.ValueBundle) + } + return protoreflect.ValueOfMessage(x.ValueBundle.ProtoReflect()) + case "emissions.v8.TopicIdBlockHeightValueBundles.topic_id": + panic(fmt.Errorf("field topic_id of message emissions.v8.TopicIdBlockHeightValueBundles is not mutable")) + case "emissions.v8.TopicIdBlockHeightValueBundles.block_height": + panic(fmt.Errorf("field block_height of message emissions.v8.TopicIdBlockHeightValueBundles is not mutable")) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.TopicIdBlockHeightValueBundles")) + } + panic(fmt.Errorf("message emissions.v8.TopicIdBlockHeightValueBundles does not contain field %s", fd.FullName())) + } +} + +// NewField returns a new value that is assignable to the field +// for the given descriptor. For scalars, this returns the default value. +// For lists, maps, and messages, this returns a new, empty, mutable value. +func (x *fastReflection_TopicIdBlockHeightValueBundles) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.TopicIdBlockHeightValueBundles.topic_id": + return protoreflect.ValueOfUint64(uint64(0)) + case "emissions.v8.TopicIdBlockHeightValueBundles.block_height": + return protoreflect.ValueOfInt64(int64(0)) + case "emissions.v8.TopicIdBlockHeightValueBundles.value_bundle": + m := new(v3.ValueBundle) + return protoreflect.ValueOfMessage(m.ProtoReflect()) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.TopicIdBlockHeightValueBundles")) + } + panic(fmt.Errorf("message emissions.v8.TopicIdBlockHeightValueBundles does not contain field %s", fd.FullName())) + } +} + +// WhichOneof reports which field within the oneof is populated, +// returning nil if none are populated. +// It panics if the oneof descriptor does not belong to this message. +func (x *fastReflection_TopicIdBlockHeightValueBundles) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { + switch d.FullName() { + default: + panic(fmt.Errorf("%s is not a oneof field in emissions.v8.TopicIdBlockHeightValueBundles", d.FullName())) + } + panic("unreachable") +} + +// GetUnknown retrieves the entire list of unknown fields. +// The caller may only mutate the contents of the RawFields +// if the mutated bytes are stored back into the message with SetUnknown. +func (x *fastReflection_TopicIdBlockHeightValueBundles) GetUnknown() protoreflect.RawFields { + return x.unknownFields +} + +// SetUnknown stores an entire list of unknown fields. +// The raw fields must be syntactically valid according to the wire format. +// An implementation may panic if this is not the case. +// Once stored, the caller must not mutate the content of the RawFields. +// An empty RawFields may be passed to clear the fields. +// +// SetUnknown is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_TopicIdBlockHeightValueBundles) SetUnknown(fields protoreflect.RawFields) { + x.unknownFields = fields +} + +// IsValid reports whether the message is valid. +// +// An invalid message is an empty, read-only value. +// +// An invalid message often corresponds to a nil pointer of the concrete +// message type, but the details are implementation dependent. +// Validity is not part of the protobuf data model, and may not +// be preserved in marshaling or other operations. +func (x *fastReflection_TopicIdBlockHeightValueBundles) IsValid() bool { + return x != nil +} + +// ProtoMethods returns optional fastReflectionFeature-path implementations of various operations. +// This method may return nil. +// +// The returned methods type is identical to +// "google.golang.org/protobuf/runtime/protoiface".Methods. +// Consult the protoiface package documentation for details. +func (x *fastReflection_TopicIdBlockHeightValueBundles) ProtoMethods() *protoiface.Methods { + size := func(input protoiface.SizeInput) protoiface.SizeOutput { + x := input.Message.Interface().(*TopicIdBlockHeightValueBundles) + if x == nil { + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: 0, + } + } + options := runtime.SizeInputToOptions(input) + _ = options + var n int + var l int + _ = l + if x.TopicId != 0 { + n += 1 + runtime.Sov(uint64(x.TopicId)) + } + if x.BlockHeight != 0 { + n += 1 + runtime.Sov(uint64(x.BlockHeight)) + } + if x.ValueBundle != nil { + l = options.Size(x.ValueBundle) + n += 1 + l + runtime.Sov(uint64(l)) + } + if x.unknownFields != nil { + n += len(x.unknownFields) + } + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: n, + } + } + + marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { + x := input.Message.Interface().(*TopicIdBlockHeightValueBundles) + if x == nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + options := runtime.MarshalInputToOptions(input) + _ = options + size := options.Size(x) + dAtA := make([]byte, size) + i := len(dAtA) + _ = i + var l int + _ = l + if x.unknownFields != nil { + i -= len(x.unknownFields) + copy(dAtA[i:], x.unknownFields) + } + if x.ValueBundle != nil { + encoded, err := options.Marshal(x.ValueBundle) + if err != nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = runtime.EncodeVarint(dAtA, i, uint64(len(encoded))) + i-- + dAtA[i] = 0x1a + } + if x.BlockHeight != 0 { + i = runtime.EncodeVarint(dAtA, i, uint64(x.BlockHeight)) + i-- + dAtA[i] = 0x10 + } + if x.TopicId != 0 { + i = runtime.EncodeVarint(dAtA, i, uint64(x.TopicId)) + i-- + dAtA[i] = 0x8 + } + if input.Buf != nil { + input.Buf = append(input.Buf, dAtA...) + } else { + input.Buf = dAtA + } + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { + x := input.Message.Interface().(*TopicIdBlockHeightValueBundles) + if x == nil { + return protoiface.UnmarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Flags: input.Flags, + }, nil + } + options := runtime.UnmarshalInputToOptions(input) + _ = options + dAtA := input.Buf + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: TopicIdBlockHeightValueBundles: wiretype end group for non-group") + } + if fieldNum <= 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: TopicIdBlockHeightValueBundles: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field TopicId", wireType) + } + x.TopicId = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + x.TopicId |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 2: + if wireType != 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field BlockHeight", wireType) + } + x.BlockHeight = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + x.BlockHeight |= int64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 3: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field ValueBundle", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + if x.ValueBundle == nil { + x.ValueBundle = &v3.ValueBundle{} + } + if err := options.Unmarshal(dAtA[iNdEx:postIndex], x.ValueBundle); err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := runtime.Skip(dAtA[iNdEx:]) + if err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if (iNdEx + skippy) > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + if !options.DiscardUnknown { + x.unknownFields = append(x.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + } + iNdEx += skippy + } + } + + if iNdEx > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, nil + } + return &protoiface.Methods{ + NoUnkeyedLiterals: struct{}{}, + Flags: protoiface.SupportMarshalDeterministic | protoiface.SupportUnmarshalDiscardUnknown, + Size: size, + Marshal: marshal, + Unmarshal: unmarshal, + Merge: nil, + CheckInitialized: nil, + } +} + +var ( + md_TopicIdAndNonces protoreflect.MessageDescriptor + fd_TopicIdAndNonces_topic_id protoreflect.FieldDescriptor + fd_TopicIdAndNonces_nonces protoreflect.FieldDescriptor +) + +func init() { + file_emissions_v8_genesis_proto_init() + md_TopicIdAndNonces = File_emissions_v8_genesis_proto.Messages().ByName("TopicIdAndNonces") + fd_TopicIdAndNonces_topic_id = md_TopicIdAndNonces.Fields().ByName("topic_id") + fd_TopicIdAndNonces_nonces = md_TopicIdAndNonces.Fields().ByName("nonces") +} + +var _ protoreflect.Message = (*fastReflection_TopicIdAndNonces)(nil) + +type fastReflection_TopicIdAndNonces TopicIdAndNonces + +func (x *TopicIdAndNonces) ProtoReflect() protoreflect.Message { + return (*fastReflection_TopicIdAndNonces)(x) +} + +func (x *TopicIdAndNonces) slowProtoReflect() protoreflect.Message { + mi := &file_emissions_v8_genesis_proto_msgTypes[25] + 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) +} + +var _fastReflection_TopicIdAndNonces_messageType fastReflection_TopicIdAndNonces_messageType +var _ protoreflect.MessageType = fastReflection_TopicIdAndNonces_messageType{} + +type fastReflection_TopicIdAndNonces_messageType struct{} + +func (x fastReflection_TopicIdAndNonces_messageType) Zero() protoreflect.Message { + return (*fastReflection_TopicIdAndNonces)(nil) +} +func (x fastReflection_TopicIdAndNonces_messageType) New() protoreflect.Message { + return new(fastReflection_TopicIdAndNonces) +} +func (x fastReflection_TopicIdAndNonces_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_TopicIdAndNonces +} + +// Descriptor returns message descriptor, which contains only the protobuf +// type information for the message. +func (x *fastReflection_TopicIdAndNonces) Descriptor() protoreflect.MessageDescriptor { + return md_TopicIdAndNonces +} + +// Type returns the message type, which encapsulates both Go and protobuf +// type information. If the Go type information is not needed, +// it is recommended that the message descriptor be used instead. +func (x *fastReflection_TopicIdAndNonces) Type() protoreflect.MessageType { + return _fastReflection_TopicIdAndNonces_messageType +} + +// New returns a newly allocated and mutable empty message. +func (x *fastReflection_TopicIdAndNonces) New() protoreflect.Message { + return new(fastReflection_TopicIdAndNonces) +} + +// Interface unwraps the message reflection interface and +// returns the underlying ProtoMessage interface. +func (x *fastReflection_TopicIdAndNonces) Interface() protoreflect.ProtoMessage { + return (*TopicIdAndNonces)(x) +} + +// Range iterates over every populated field in an undefined order, +// calling f for each field descriptor and value encountered. +// Range returns immediately if f returns false. +// While iterating, mutating operations may only be performed +// on the current field descriptor. +func (x *fastReflection_TopicIdAndNonces) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { + if x.TopicId != uint64(0) { + value := protoreflect.ValueOfUint64(x.TopicId) + if !f(fd_TopicIdAndNonces_topic_id, value) { + return + } + } + if x.Nonces != nil { + value := protoreflect.ValueOfMessage(x.Nonces.ProtoReflect()) + if !f(fd_TopicIdAndNonces_nonces, value) { + return + } + } +} + +// Has reports whether a field is populated. +// +// Some fields have the property of nullability where it is possible to +// distinguish between the default value of a field and whether the field +// was explicitly populated with the default value. Singular message fields, +// member fields of a oneof, and proto2 scalar fields are nullable. Such +// fields are populated only if explicitly set. +// +// In other cases (aside from the nullable cases above), +// a proto3 scalar field is populated if it contains a non-zero value, and +// a repeated field is populated if it is non-empty. +func (x *fastReflection_TopicIdAndNonces) Has(fd protoreflect.FieldDescriptor) bool { + switch fd.FullName() { + case "emissions.v8.TopicIdAndNonces.topic_id": + return x.TopicId != uint64(0) + case "emissions.v8.TopicIdAndNonces.nonces": + return x.Nonces != nil + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.TopicIdAndNonces")) + } + panic(fmt.Errorf("message emissions.v8.TopicIdAndNonces does not contain field %s", fd.FullName())) + } +} + +// Clear clears the field such that a subsequent Has call reports false. +// +// Clearing an extension field clears both the extension type and value +// associated with the given field number. +// +// Clear is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_TopicIdAndNonces) Clear(fd protoreflect.FieldDescriptor) { + switch fd.FullName() { + case "emissions.v8.TopicIdAndNonces.topic_id": + x.TopicId = uint64(0) + case "emissions.v8.TopicIdAndNonces.nonces": + x.Nonces = nil + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.TopicIdAndNonces")) + } + panic(fmt.Errorf("message emissions.v8.TopicIdAndNonces does not contain field %s", fd.FullName())) + } +} + +// Get retrieves the value for a field. +// +// For unpopulated scalars, it returns the default value, where +// the default value of a bytes scalar is guaranteed to be a copy. +// For unpopulated composite types, it returns an empty, read-only view +// of the value; to obtain a mutable reference, use Mutable. +func (x *fastReflection_TopicIdAndNonces) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { + switch descriptor.FullName() { + case "emissions.v8.TopicIdAndNonces.topic_id": + value := x.TopicId + return protoreflect.ValueOfUint64(value) + case "emissions.v8.TopicIdAndNonces.nonces": + value := x.Nonces + return protoreflect.ValueOfMessage(value.ProtoReflect()) + default: + if descriptor.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.TopicIdAndNonces")) + } + panic(fmt.Errorf("message emissions.v8.TopicIdAndNonces does not contain field %s", descriptor.FullName())) + } +} + +// Set stores the value for a field. +// +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType. +// When setting a composite type, it is unspecified whether the stored value +// aliases the source's memory in any way. If the composite value is an +// empty, read-only value, then it panics. +// +// Set is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_TopicIdAndNonces) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { + switch fd.FullName() { + case "emissions.v8.TopicIdAndNonces.topic_id": + x.TopicId = value.Uint() + case "emissions.v8.TopicIdAndNonces.nonces": + x.Nonces = value.Message().Interface().(*v3.Nonces) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.TopicIdAndNonces")) + } + panic(fmt.Errorf("message emissions.v8.TopicIdAndNonces does not contain field %s", fd.FullName())) + } +} + +// Mutable returns a mutable reference to a composite type. +// +// If the field is unpopulated, it may allocate a composite value. +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType +// if not already stored. +// It panics if the field does not contain a composite type. +// +// Mutable is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_TopicIdAndNonces) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.TopicIdAndNonces.nonces": + if x.Nonces == nil { + x.Nonces = new(v3.Nonces) + } + return protoreflect.ValueOfMessage(x.Nonces.ProtoReflect()) + case "emissions.v8.TopicIdAndNonces.topic_id": + panic(fmt.Errorf("field topic_id of message emissions.v8.TopicIdAndNonces is not mutable")) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.TopicIdAndNonces")) + } + panic(fmt.Errorf("message emissions.v8.TopicIdAndNonces does not contain field %s", fd.FullName())) + } +} + +// NewField returns a new value that is assignable to the field +// for the given descriptor. For scalars, this returns the default value. +// For lists, maps, and messages, this returns a new, empty, mutable value. +func (x *fastReflection_TopicIdAndNonces) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.TopicIdAndNonces.topic_id": + return protoreflect.ValueOfUint64(uint64(0)) + case "emissions.v8.TopicIdAndNonces.nonces": + m := new(v3.Nonces) + return protoreflect.ValueOfMessage(m.ProtoReflect()) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.TopicIdAndNonces")) + } + panic(fmt.Errorf("message emissions.v8.TopicIdAndNonces does not contain field %s", fd.FullName())) + } +} + +// WhichOneof reports which field within the oneof is populated, +// returning nil if none are populated. +// It panics if the oneof descriptor does not belong to this message. +func (x *fastReflection_TopicIdAndNonces) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { + switch d.FullName() { + default: + panic(fmt.Errorf("%s is not a oneof field in emissions.v8.TopicIdAndNonces", d.FullName())) + } + panic("unreachable") +} + +// GetUnknown retrieves the entire list of unknown fields. +// The caller may only mutate the contents of the RawFields +// if the mutated bytes are stored back into the message with SetUnknown. +func (x *fastReflection_TopicIdAndNonces) GetUnknown() protoreflect.RawFields { + return x.unknownFields +} + +// SetUnknown stores an entire list of unknown fields. +// The raw fields must be syntactically valid according to the wire format. +// An implementation may panic if this is not the case. +// Once stored, the caller must not mutate the content of the RawFields. +// An empty RawFields may be passed to clear the fields. +// +// SetUnknown is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_TopicIdAndNonces) SetUnknown(fields protoreflect.RawFields) { + x.unknownFields = fields +} + +// IsValid reports whether the message is valid. +// +// An invalid message is an empty, read-only value. +// +// An invalid message often corresponds to a nil pointer of the concrete +// message type, but the details are implementation dependent. +// Validity is not part of the protobuf data model, and may not +// be preserved in marshaling or other operations. +func (x *fastReflection_TopicIdAndNonces) IsValid() bool { + return x != nil +} + +// ProtoMethods returns optional fastReflectionFeature-path implementations of various operations. +// This method may return nil. +// +// The returned methods type is identical to +// "google.golang.org/protobuf/runtime/protoiface".Methods. +// Consult the protoiface package documentation for details. +func (x *fastReflection_TopicIdAndNonces) ProtoMethods() *protoiface.Methods { + size := func(input protoiface.SizeInput) protoiface.SizeOutput { + x := input.Message.Interface().(*TopicIdAndNonces) + if x == nil { + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: 0, + } + } + options := runtime.SizeInputToOptions(input) + _ = options + var n int + var l int + _ = l + if x.TopicId != 0 { + n += 1 + runtime.Sov(uint64(x.TopicId)) + } + if x.Nonces != nil { + l = options.Size(x.Nonces) + n += 1 + l + runtime.Sov(uint64(l)) + } + if x.unknownFields != nil { + n += len(x.unknownFields) + } + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: n, + } + } + + marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { + x := input.Message.Interface().(*TopicIdAndNonces) + if x == nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + options := runtime.MarshalInputToOptions(input) + _ = options + size := options.Size(x) + dAtA := make([]byte, size) + i := len(dAtA) + _ = i + var l int + _ = l + if x.unknownFields != nil { + i -= len(x.unknownFields) + copy(dAtA[i:], x.unknownFields) + } + if x.Nonces != nil { + encoded, err := options.Marshal(x.Nonces) + if err != nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = runtime.EncodeVarint(dAtA, i, uint64(len(encoded))) + i-- + dAtA[i] = 0x12 + } + if x.TopicId != 0 { + i = runtime.EncodeVarint(dAtA, i, uint64(x.TopicId)) + i-- + dAtA[i] = 0x8 + } + if input.Buf != nil { + input.Buf = append(input.Buf, dAtA...) + } else { + input.Buf = dAtA + } + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { + x := input.Message.Interface().(*TopicIdAndNonces) + if x == nil { + return protoiface.UnmarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Flags: input.Flags, + }, nil + } + options := runtime.UnmarshalInputToOptions(input) + _ = options + dAtA := input.Buf + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: TopicIdAndNonces: wiretype end group for non-group") + } + if fieldNum <= 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: TopicIdAndNonces: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field TopicId", wireType) + } + x.TopicId = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + x.TopicId |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 2: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Nonces", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + if x.Nonces == nil { + x.Nonces = &v3.Nonces{} + } + if err := options.Unmarshal(dAtA[iNdEx:postIndex], x.Nonces); err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := runtime.Skip(dAtA[iNdEx:]) + if err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if (iNdEx + skippy) > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + if !options.DiscardUnknown { + x.unknownFields = append(x.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + } + iNdEx += skippy + } + } + + if iNdEx > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, nil + } + return &protoiface.Methods{ + NoUnkeyedLiterals: struct{}{}, + Flags: protoiface.SupportMarshalDeterministic | protoiface.SupportUnmarshalDiscardUnknown, + Size: size, + Marshal: marshal, + Unmarshal: unmarshal, + Merge: nil, + CheckInitialized: nil, + } +} + +var ( + md_TopicIdAndReputerRequestNonces protoreflect.MessageDescriptor + fd_TopicIdAndReputerRequestNonces_topic_id protoreflect.FieldDescriptor + fd_TopicIdAndReputerRequestNonces_reputer_request_nonces protoreflect.FieldDescriptor +) + +func init() { + file_emissions_v8_genesis_proto_init() + md_TopicIdAndReputerRequestNonces = File_emissions_v8_genesis_proto.Messages().ByName("TopicIdAndReputerRequestNonces") + fd_TopicIdAndReputerRequestNonces_topic_id = md_TopicIdAndReputerRequestNonces.Fields().ByName("topic_id") + fd_TopicIdAndReputerRequestNonces_reputer_request_nonces = md_TopicIdAndReputerRequestNonces.Fields().ByName("reputer_request_nonces") +} + +var _ protoreflect.Message = (*fastReflection_TopicIdAndReputerRequestNonces)(nil) + +type fastReflection_TopicIdAndReputerRequestNonces TopicIdAndReputerRequestNonces + +func (x *TopicIdAndReputerRequestNonces) ProtoReflect() protoreflect.Message { + return (*fastReflection_TopicIdAndReputerRequestNonces)(x) +} + +func (x *TopicIdAndReputerRequestNonces) slowProtoReflect() protoreflect.Message { + mi := &file_emissions_v8_genesis_proto_msgTypes[26] + 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) +} + +var _fastReflection_TopicIdAndReputerRequestNonces_messageType fastReflection_TopicIdAndReputerRequestNonces_messageType +var _ protoreflect.MessageType = fastReflection_TopicIdAndReputerRequestNonces_messageType{} + +type fastReflection_TopicIdAndReputerRequestNonces_messageType struct{} + +func (x fastReflection_TopicIdAndReputerRequestNonces_messageType) Zero() protoreflect.Message { + return (*fastReflection_TopicIdAndReputerRequestNonces)(nil) +} +func (x fastReflection_TopicIdAndReputerRequestNonces_messageType) New() protoreflect.Message { + return new(fastReflection_TopicIdAndReputerRequestNonces) +} +func (x fastReflection_TopicIdAndReputerRequestNonces_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_TopicIdAndReputerRequestNonces +} + +// Descriptor returns message descriptor, which contains only the protobuf +// type information for the message. +func (x *fastReflection_TopicIdAndReputerRequestNonces) Descriptor() protoreflect.MessageDescriptor { + return md_TopicIdAndReputerRequestNonces +} + +// Type returns the message type, which encapsulates both Go and protobuf +// type information. If the Go type information is not needed, +// it is recommended that the message descriptor be used instead. +func (x *fastReflection_TopicIdAndReputerRequestNonces) Type() protoreflect.MessageType { + return _fastReflection_TopicIdAndReputerRequestNonces_messageType +} + +// New returns a newly allocated and mutable empty message. +func (x *fastReflection_TopicIdAndReputerRequestNonces) New() protoreflect.Message { + return new(fastReflection_TopicIdAndReputerRequestNonces) +} + +// Interface unwraps the message reflection interface and +// returns the underlying ProtoMessage interface. +func (x *fastReflection_TopicIdAndReputerRequestNonces) Interface() protoreflect.ProtoMessage { + return (*TopicIdAndReputerRequestNonces)(x) +} + +// Range iterates over every populated field in an undefined order, +// calling f for each field descriptor and value encountered. +// Range returns immediately if f returns false. +// While iterating, mutating operations may only be performed +// on the current field descriptor. +func (x *fastReflection_TopicIdAndReputerRequestNonces) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { + if x.TopicId != uint64(0) { + value := protoreflect.ValueOfUint64(x.TopicId) + if !f(fd_TopicIdAndReputerRequestNonces_topic_id, value) { + return + } + } + if x.ReputerRequestNonces != nil { + value := protoreflect.ValueOfMessage(x.ReputerRequestNonces.ProtoReflect()) + if !f(fd_TopicIdAndReputerRequestNonces_reputer_request_nonces, value) { + return + } + } +} + +// Has reports whether a field is populated. +// +// Some fields have the property of nullability where it is possible to +// distinguish between the default value of a field and whether the field +// was explicitly populated with the default value. Singular message fields, +// member fields of a oneof, and proto2 scalar fields are nullable. Such +// fields are populated only if explicitly set. +// +// In other cases (aside from the nullable cases above), +// a proto3 scalar field is populated if it contains a non-zero value, and +// a repeated field is populated if it is non-empty. +func (x *fastReflection_TopicIdAndReputerRequestNonces) Has(fd protoreflect.FieldDescriptor) bool { + switch fd.FullName() { + case "emissions.v8.TopicIdAndReputerRequestNonces.topic_id": + return x.TopicId != uint64(0) + case "emissions.v8.TopicIdAndReputerRequestNonces.reputer_request_nonces": + return x.ReputerRequestNonces != nil + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.TopicIdAndReputerRequestNonces")) + } + panic(fmt.Errorf("message emissions.v8.TopicIdAndReputerRequestNonces does not contain field %s", fd.FullName())) + } +} + +// Clear clears the field such that a subsequent Has call reports false. +// +// Clearing an extension field clears both the extension type and value +// associated with the given field number. +// +// Clear is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_TopicIdAndReputerRequestNonces) Clear(fd protoreflect.FieldDescriptor) { + switch fd.FullName() { + case "emissions.v8.TopicIdAndReputerRequestNonces.topic_id": + x.TopicId = uint64(0) + case "emissions.v8.TopicIdAndReputerRequestNonces.reputer_request_nonces": + x.ReputerRequestNonces = nil + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.TopicIdAndReputerRequestNonces")) + } + panic(fmt.Errorf("message emissions.v8.TopicIdAndReputerRequestNonces does not contain field %s", fd.FullName())) + } +} + +// Get retrieves the value for a field. +// +// For unpopulated scalars, it returns the default value, where +// the default value of a bytes scalar is guaranteed to be a copy. +// For unpopulated composite types, it returns an empty, read-only view +// of the value; to obtain a mutable reference, use Mutable. +func (x *fastReflection_TopicIdAndReputerRequestNonces) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { + switch descriptor.FullName() { + case "emissions.v8.TopicIdAndReputerRequestNonces.topic_id": + value := x.TopicId + return protoreflect.ValueOfUint64(value) + case "emissions.v8.TopicIdAndReputerRequestNonces.reputer_request_nonces": + value := x.ReputerRequestNonces + return protoreflect.ValueOfMessage(value.ProtoReflect()) + default: + if descriptor.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.TopicIdAndReputerRequestNonces")) + } + panic(fmt.Errorf("message emissions.v8.TopicIdAndReputerRequestNonces does not contain field %s", descriptor.FullName())) + } +} + +// Set stores the value for a field. +// +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType. +// When setting a composite type, it is unspecified whether the stored value +// aliases the source's memory in any way. If the composite value is an +// empty, read-only value, then it panics. +// +// Set is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_TopicIdAndReputerRequestNonces) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { + switch fd.FullName() { + case "emissions.v8.TopicIdAndReputerRequestNonces.topic_id": + x.TopicId = value.Uint() + case "emissions.v8.TopicIdAndReputerRequestNonces.reputer_request_nonces": + x.ReputerRequestNonces = value.Message().Interface().(*v3.ReputerRequestNonces) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.TopicIdAndReputerRequestNonces")) + } + panic(fmt.Errorf("message emissions.v8.TopicIdAndReputerRequestNonces does not contain field %s", fd.FullName())) + } +} + +// Mutable returns a mutable reference to a composite type. +// +// If the field is unpopulated, it may allocate a composite value. +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType +// if not already stored. +// It panics if the field does not contain a composite type. +// +// Mutable is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_TopicIdAndReputerRequestNonces) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.TopicIdAndReputerRequestNonces.reputer_request_nonces": + if x.ReputerRequestNonces == nil { + x.ReputerRequestNonces = new(v3.ReputerRequestNonces) + } + return protoreflect.ValueOfMessage(x.ReputerRequestNonces.ProtoReflect()) + case "emissions.v8.TopicIdAndReputerRequestNonces.topic_id": + panic(fmt.Errorf("field topic_id of message emissions.v8.TopicIdAndReputerRequestNonces is not mutable")) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.TopicIdAndReputerRequestNonces")) + } + panic(fmt.Errorf("message emissions.v8.TopicIdAndReputerRequestNonces does not contain field %s", fd.FullName())) + } +} + +// NewField returns a new value that is assignable to the field +// for the given descriptor. For scalars, this returns the default value. +// For lists, maps, and messages, this returns a new, empty, mutable value. +func (x *fastReflection_TopicIdAndReputerRequestNonces) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.TopicIdAndReputerRequestNonces.topic_id": + return protoreflect.ValueOfUint64(uint64(0)) + case "emissions.v8.TopicIdAndReputerRequestNonces.reputer_request_nonces": + m := new(v3.ReputerRequestNonces) + return protoreflect.ValueOfMessage(m.ProtoReflect()) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.TopicIdAndReputerRequestNonces")) + } + panic(fmt.Errorf("message emissions.v8.TopicIdAndReputerRequestNonces does not contain field %s", fd.FullName())) + } +} + +// WhichOneof reports which field within the oneof is populated, +// returning nil if none are populated. +// It panics if the oneof descriptor does not belong to this message. +func (x *fastReflection_TopicIdAndReputerRequestNonces) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { + switch d.FullName() { + default: + panic(fmt.Errorf("%s is not a oneof field in emissions.v8.TopicIdAndReputerRequestNonces", d.FullName())) + } + panic("unreachable") +} + +// GetUnknown retrieves the entire list of unknown fields. +// The caller may only mutate the contents of the RawFields +// if the mutated bytes are stored back into the message with SetUnknown. +func (x *fastReflection_TopicIdAndReputerRequestNonces) GetUnknown() protoreflect.RawFields { + return x.unknownFields +} + +// SetUnknown stores an entire list of unknown fields. +// The raw fields must be syntactically valid according to the wire format. +// An implementation may panic if this is not the case. +// Once stored, the caller must not mutate the content of the RawFields. +// An empty RawFields may be passed to clear the fields. +// +// SetUnknown is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_TopicIdAndReputerRequestNonces) SetUnknown(fields protoreflect.RawFields) { + x.unknownFields = fields +} + +// IsValid reports whether the message is valid. +// +// An invalid message is an empty, read-only value. +// +// An invalid message often corresponds to a nil pointer of the concrete +// message type, but the details are implementation dependent. +// Validity is not part of the protobuf data model, and may not +// be preserved in marshaling or other operations. +func (x *fastReflection_TopicIdAndReputerRequestNonces) IsValid() bool { + return x != nil +} + +// ProtoMethods returns optional fastReflectionFeature-path implementations of various operations. +// This method may return nil. +// +// The returned methods type is identical to +// "google.golang.org/protobuf/runtime/protoiface".Methods. +// Consult the protoiface package documentation for details. +func (x *fastReflection_TopicIdAndReputerRequestNonces) ProtoMethods() *protoiface.Methods { + size := func(input protoiface.SizeInput) protoiface.SizeOutput { + x := input.Message.Interface().(*TopicIdAndReputerRequestNonces) + if x == nil { + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: 0, + } + } + options := runtime.SizeInputToOptions(input) + _ = options + var n int + var l int + _ = l + if x.TopicId != 0 { + n += 1 + runtime.Sov(uint64(x.TopicId)) + } + if x.ReputerRequestNonces != nil { + l = options.Size(x.ReputerRequestNonces) + n += 1 + l + runtime.Sov(uint64(l)) + } + if x.unknownFields != nil { + n += len(x.unknownFields) + } + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: n, + } + } + + marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { + x := input.Message.Interface().(*TopicIdAndReputerRequestNonces) + if x == nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + options := runtime.MarshalInputToOptions(input) + _ = options + size := options.Size(x) + dAtA := make([]byte, size) + i := len(dAtA) + _ = i + var l int + _ = l + if x.unknownFields != nil { + i -= len(x.unknownFields) + copy(dAtA[i:], x.unknownFields) + } + if x.ReputerRequestNonces != nil { + encoded, err := options.Marshal(x.ReputerRequestNonces) + if err != nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = runtime.EncodeVarint(dAtA, i, uint64(len(encoded))) + i-- + dAtA[i] = 0x12 + } + if x.TopicId != 0 { + i = runtime.EncodeVarint(dAtA, i, uint64(x.TopicId)) + i-- + dAtA[i] = 0x8 + } + if input.Buf != nil { + input.Buf = append(input.Buf, dAtA...) + } else { + input.Buf = dAtA + } + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { + x := input.Message.Interface().(*TopicIdAndReputerRequestNonces) + if x == nil { + return protoiface.UnmarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Flags: input.Flags, + }, nil + } + options := runtime.UnmarshalInputToOptions(input) + _ = options + dAtA := input.Buf + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: TopicIdAndReputerRequestNonces: wiretype end group for non-group") + } + if fieldNum <= 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: TopicIdAndReputerRequestNonces: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field TopicId", wireType) + } + x.TopicId = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + x.TopicId |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 2: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field ReputerRequestNonces", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + if x.ReputerRequestNonces == nil { + x.ReputerRequestNonces = &v3.ReputerRequestNonces{} + } + if err := options.Unmarshal(dAtA[iNdEx:postIndex], x.ReputerRequestNonces); err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := runtime.Skip(dAtA[iNdEx:]) + if err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if (iNdEx + skippy) > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + if !options.DiscardUnknown { + x.unknownFields = append(x.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + } + iNdEx += skippy + } + } + + if iNdEx > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, nil + } + return &protoiface.Methods{ + NoUnkeyedLiterals: struct{}{}, + Flags: protoiface.SupportMarshalDeterministic | protoiface.SupportUnmarshalDiscardUnknown, + Size: size, + Marshal: marshal, + Unmarshal: unmarshal, + Merge: nil, + CheckInitialized: nil, + } +} + +var ( + md_TopicIdActorIdTimeStampedValue protoreflect.MessageDescriptor + fd_TopicIdActorIdTimeStampedValue_topic_id protoreflect.FieldDescriptor + fd_TopicIdActorIdTimeStampedValue_actor_id protoreflect.FieldDescriptor + fd_TopicIdActorIdTimeStampedValue_timestamped_value protoreflect.FieldDescriptor +) + +func init() { + file_emissions_v8_genesis_proto_init() + md_TopicIdActorIdTimeStampedValue = File_emissions_v8_genesis_proto.Messages().ByName("TopicIdActorIdTimeStampedValue") + fd_TopicIdActorIdTimeStampedValue_topic_id = md_TopicIdActorIdTimeStampedValue.Fields().ByName("topic_id") + fd_TopicIdActorIdTimeStampedValue_actor_id = md_TopicIdActorIdTimeStampedValue.Fields().ByName("actor_id") + fd_TopicIdActorIdTimeStampedValue_timestamped_value = md_TopicIdActorIdTimeStampedValue.Fields().ByName("timestamped_value") +} + +var _ protoreflect.Message = (*fastReflection_TopicIdActorIdTimeStampedValue)(nil) + +type fastReflection_TopicIdActorIdTimeStampedValue TopicIdActorIdTimeStampedValue + +func (x *TopicIdActorIdTimeStampedValue) ProtoReflect() protoreflect.Message { + return (*fastReflection_TopicIdActorIdTimeStampedValue)(x) +} + +func (x *TopicIdActorIdTimeStampedValue) slowProtoReflect() protoreflect.Message { + mi := &file_emissions_v8_genesis_proto_msgTypes[27] + 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) +} + +var _fastReflection_TopicIdActorIdTimeStampedValue_messageType fastReflection_TopicIdActorIdTimeStampedValue_messageType +var _ protoreflect.MessageType = fastReflection_TopicIdActorIdTimeStampedValue_messageType{} + +type fastReflection_TopicIdActorIdTimeStampedValue_messageType struct{} + +func (x fastReflection_TopicIdActorIdTimeStampedValue_messageType) Zero() protoreflect.Message { + return (*fastReflection_TopicIdActorIdTimeStampedValue)(nil) +} +func (x fastReflection_TopicIdActorIdTimeStampedValue_messageType) New() protoreflect.Message { + return new(fastReflection_TopicIdActorIdTimeStampedValue) +} +func (x fastReflection_TopicIdActorIdTimeStampedValue_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_TopicIdActorIdTimeStampedValue +} + +// Descriptor returns message descriptor, which contains only the protobuf +// type information for the message. +func (x *fastReflection_TopicIdActorIdTimeStampedValue) Descriptor() protoreflect.MessageDescriptor { + return md_TopicIdActorIdTimeStampedValue +} + +// Type returns the message type, which encapsulates both Go and protobuf +// type information. If the Go type information is not needed, +// it is recommended that the message descriptor be used instead. +func (x *fastReflection_TopicIdActorIdTimeStampedValue) Type() protoreflect.MessageType { + return _fastReflection_TopicIdActorIdTimeStampedValue_messageType +} + +// New returns a newly allocated and mutable empty message. +func (x *fastReflection_TopicIdActorIdTimeStampedValue) New() protoreflect.Message { + return new(fastReflection_TopicIdActorIdTimeStampedValue) +} + +// Interface unwraps the message reflection interface and +// returns the underlying ProtoMessage interface. +func (x *fastReflection_TopicIdActorIdTimeStampedValue) Interface() protoreflect.ProtoMessage { + return (*TopicIdActorIdTimeStampedValue)(x) +} + +// Range iterates over every populated field in an undefined order, +// calling f for each field descriptor and value encountered. +// Range returns immediately if f returns false. +// While iterating, mutating operations may only be performed +// on the current field descriptor. +func (x *fastReflection_TopicIdActorIdTimeStampedValue) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { + if x.TopicId != uint64(0) { + value := protoreflect.ValueOfUint64(x.TopicId) + if !f(fd_TopicIdActorIdTimeStampedValue_topic_id, value) { + return + } + } + if x.ActorId != "" { + value := protoreflect.ValueOfString(x.ActorId) + if !f(fd_TopicIdActorIdTimeStampedValue_actor_id, value) { + return + } + } + if x.TimestampedValue != nil { + value := protoreflect.ValueOfMessage(x.TimestampedValue.ProtoReflect()) + if !f(fd_TopicIdActorIdTimeStampedValue_timestamped_value, value) { + return + } + } +} + +// Has reports whether a field is populated. +// +// Some fields have the property of nullability where it is possible to +// distinguish between the default value of a field and whether the field +// was explicitly populated with the default value. Singular message fields, +// member fields of a oneof, and proto2 scalar fields are nullable. Such +// fields are populated only if explicitly set. +// +// In other cases (aside from the nullable cases above), +// a proto3 scalar field is populated if it contains a non-zero value, and +// a repeated field is populated if it is non-empty. +func (x *fastReflection_TopicIdActorIdTimeStampedValue) Has(fd protoreflect.FieldDescriptor) bool { + switch fd.FullName() { + case "emissions.v8.TopicIdActorIdTimeStampedValue.topic_id": + return x.TopicId != uint64(0) + case "emissions.v8.TopicIdActorIdTimeStampedValue.actor_id": + return x.ActorId != "" + case "emissions.v8.TopicIdActorIdTimeStampedValue.timestamped_value": + return x.TimestampedValue != nil + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.TopicIdActorIdTimeStampedValue")) + } + panic(fmt.Errorf("message emissions.v8.TopicIdActorIdTimeStampedValue does not contain field %s", fd.FullName())) + } +} + +// Clear clears the field such that a subsequent Has call reports false. +// +// Clearing an extension field clears both the extension type and value +// associated with the given field number. +// +// Clear is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_TopicIdActorIdTimeStampedValue) Clear(fd protoreflect.FieldDescriptor) { + switch fd.FullName() { + case "emissions.v8.TopicIdActorIdTimeStampedValue.topic_id": + x.TopicId = uint64(0) + case "emissions.v8.TopicIdActorIdTimeStampedValue.actor_id": + x.ActorId = "" + case "emissions.v8.TopicIdActorIdTimeStampedValue.timestamped_value": + x.TimestampedValue = nil + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.TopicIdActorIdTimeStampedValue")) + } + panic(fmt.Errorf("message emissions.v8.TopicIdActorIdTimeStampedValue does not contain field %s", fd.FullName())) + } +} + +// Get retrieves the value for a field. +// +// For unpopulated scalars, it returns the default value, where +// the default value of a bytes scalar is guaranteed to be a copy. +// For unpopulated composite types, it returns an empty, read-only view +// of the value; to obtain a mutable reference, use Mutable. +func (x *fastReflection_TopicIdActorIdTimeStampedValue) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { + switch descriptor.FullName() { + case "emissions.v8.TopicIdActorIdTimeStampedValue.topic_id": + value := x.TopicId + return protoreflect.ValueOfUint64(value) + case "emissions.v8.TopicIdActorIdTimeStampedValue.actor_id": + value := x.ActorId + return protoreflect.ValueOfString(value) + case "emissions.v8.TopicIdActorIdTimeStampedValue.timestamped_value": + value := x.TimestampedValue + return protoreflect.ValueOfMessage(value.ProtoReflect()) + default: + if descriptor.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.TopicIdActorIdTimeStampedValue")) + } + panic(fmt.Errorf("message emissions.v8.TopicIdActorIdTimeStampedValue does not contain field %s", descriptor.FullName())) + } +} + +// Set stores the value for a field. +// +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType. +// When setting a composite type, it is unspecified whether the stored value +// aliases the source's memory in any way. If the composite value is an +// empty, read-only value, then it panics. +// +// Set is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_TopicIdActorIdTimeStampedValue) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { + switch fd.FullName() { + case "emissions.v8.TopicIdActorIdTimeStampedValue.topic_id": + x.TopicId = value.Uint() + case "emissions.v8.TopicIdActorIdTimeStampedValue.actor_id": + x.ActorId = value.Interface().(string) + case "emissions.v8.TopicIdActorIdTimeStampedValue.timestamped_value": + x.TimestampedValue = value.Message().Interface().(*v3.TimestampedValue) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.TopicIdActorIdTimeStampedValue")) + } + panic(fmt.Errorf("message emissions.v8.TopicIdActorIdTimeStampedValue does not contain field %s", fd.FullName())) + } +} + +// Mutable returns a mutable reference to a composite type. +// +// If the field is unpopulated, it may allocate a composite value. +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType +// if not already stored. +// It panics if the field does not contain a composite type. +// +// Mutable is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_TopicIdActorIdTimeStampedValue) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.TopicIdActorIdTimeStampedValue.timestamped_value": + if x.TimestampedValue == nil { + x.TimestampedValue = new(v3.TimestampedValue) + } + return protoreflect.ValueOfMessage(x.TimestampedValue.ProtoReflect()) + case "emissions.v8.TopicIdActorIdTimeStampedValue.topic_id": + panic(fmt.Errorf("field topic_id of message emissions.v8.TopicIdActorIdTimeStampedValue is not mutable")) + case "emissions.v8.TopicIdActorIdTimeStampedValue.actor_id": + panic(fmt.Errorf("field actor_id of message emissions.v8.TopicIdActorIdTimeStampedValue is not mutable")) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.TopicIdActorIdTimeStampedValue")) + } + panic(fmt.Errorf("message emissions.v8.TopicIdActorIdTimeStampedValue does not contain field %s", fd.FullName())) + } +} + +// NewField returns a new value that is assignable to the field +// for the given descriptor. For scalars, this returns the default value. +// For lists, maps, and messages, this returns a new, empty, mutable value. +func (x *fastReflection_TopicIdActorIdTimeStampedValue) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.TopicIdActorIdTimeStampedValue.topic_id": + return protoreflect.ValueOfUint64(uint64(0)) + case "emissions.v8.TopicIdActorIdTimeStampedValue.actor_id": + return protoreflect.ValueOfString("") + case "emissions.v8.TopicIdActorIdTimeStampedValue.timestamped_value": + m := new(v3.TimestampedValue) + return protoreflect.ValueOfMessage(m.ProtoReflect()) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.TopicIdActorIdTimeStampedValue")) + } + panic(fmt.Errorf("message emissions.v8.TopicIdActorIdTimeStampedValue does not contain field %s", fd.FullName())) + } +} + +// WhichOneof reports which field within the oneof is populated, +// returning nil if none are populated. +// It panics if the oneof descriptor does not belong to this message. +func (x *fastReflection_TopicIdActorIdTimeStampedValue) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { + switch d.FullName() { + default: + panic(fmt.Errorf("%s is not a oneof field in emissions.v8.TopicIdActorIdTimeStampedValue", d.FullName())) + } + panic("unreachable") +} + +// GetUnknown retrieves the entire list of unknown fields. +// The caller may only mutate the contents of the RawFields +// if the mutated bytes are stored back into the message with SetUnknown. +func (x *fastReflection_TopicIdActorIdTimeStampedValue) GetUnknown() protoreflect.RawFields { + return x.unknownFields +} + +// SetUnknown stores an entire list of unknown fields. +// The raw fields must be syntactically valid according to the wire format. +// An implementation may panic if this is not the case. +// Once stored, the caller must not mutate the content of the RawFields. +// An empty RawFields may be passed to clear the fields. +// +// SetUnknown is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_TopicIdActorIdTimeStampedValue) SetUnknown(fields protoreflect.RawFields) { + x.unknownFields = fields +} + +// IsValid reports whether the message is valid. +// +// An invalid message is an empty, read-only value. +// +// An invalid message often corresponds to a nil pointer of the concrete +// message type, but the details are implementation dependent. +// Validity is not part of the protobuf data model, and may not +// be preserved in marshaling or other operations. +func (x *fastReflection_TopicIdActorIdTimeStampedValue) IsValid() bool { + return x != nil +} + +// ProtoMethods returns optional fastReflectionFeature-path implementations of various operations. +// This method may return nil. +// +// The returned methods type is identical to +// "google.golang.org/protobuf/runtime/protoiface".Methods. +// Consult the protoiface package documentation for details. +func (x *fastReflection_TopicIdActorIdTimeStampedValue) ProtoMethods() *protoiface.Methods { + size := func(input protoiface.SizeInput) protoiface.SizeOutput { + x := input.Message.Interface().(*TopicIdActorIdTimeStampedValue) + if x == nil { + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: 0, + } + } + options := runtime.SizeInputToOptions(input) + _ = options + var n int + var l int + _ = l + if x.TopicId != 0 { + n += 1 + runtime.Sov(uint64(x.TopicId)) + } + l = len(x.ActorId) + if l > 0 { + n += 1 + l + runtime.Sov(uint64(l)) + } + if x.TimestampedValue != nil { + l = options.Size(x.TimestampedValue) + n += 1 + l + runtime.Sov(uint64(l)) + } + if x.unknownFields != nil { + n += len(x.unknownFields) + } + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: n, + } + } + + marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { + x := input.Message.Interface().(*TopicIdActorIdTimeStampedValue) + if x == nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + options := runtime.MarshalInputToOptions(input) + _ = options + size := options.Size(x) + dAtA := make([]byte, size) + i := len(dAtA) + _ = i + var l int + _ = l + if x.unknownFields != nil { + i -= len(x.unknownFields) + copy(dAtA[i:], x.unknownFields) + } + if x.TimestampedValue != nil { + encoded, err := options.Marshal(x.TimestampedValue) + if err != nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = runtime.EncodeVarint(dAtA, i, uint64(len(encoded))) + i-- + dAtA[i] = 0x1a + } + if len(x.ActorId) > 0 { + i -= len(x.ActorId) + copy(dAtA[i:], x.ActorId) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.ActorId))) + i-- + dAtA[i] = 0x12 + } + if x.TopicId != 0 { + i = runtime.EncodeVarint(dAtA, i, uint64(x.TopicId)) + i-- + dAtA[i] = 0x8 + } + if input.Buf != nil { + input.Buf = append(input.Buf, dAtA...) + } else { + input.Buf = dAtA + } + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { + x := input.Message.Interface().(*TopicIdActorIdTimeStampedValue) + if x == nil { + return protoiface.UnmarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Flags: input.Flags, + }, nil + } + options := runtime.UnmarshalInputToOptions(input) + _ = options + dAtA := input.Buf + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: TopicIdActorIdTimeStampedValue: wiretype end group for non-group") + } + if fieldNum <= 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: TopicIdActorIdTimeStampedValue: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field TopicId", wireType) + } + x.TopicId = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + x.TopicId |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 2: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field ActorId", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + x.ActorId = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 3: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field TimestampedValue", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + if x.TimestampedValue == nil { + x.TimestampedValue = &v3.TimestampedValue{} + } + if err := options.Unmarshal(dAtA[iNdEx:postIndex], x.TimestampedValue); err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := runtime.Skip(dAtA[iNdEx:]) + if err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if (iNdEx + skippy) > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + if !options.DiscardUnknown { + x.unknownFields = append(x.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + } + iNdEx += skippy + } + } + + if iNdEx > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, nil + } + return &protoiface.Methods{ + NoUnkeyedLiterals: struct{}{}, + Flags: protoiface.SupportMarshalDeterministic | protoiface.SupportUnmarshalDiscardUnknown, + Size: size, + Marshal: marshal, + Unmarshal: unmarshal, + Merge: nil, + CheckInitialized: nil, + } +} + +var ( + md_TopicIdActorIdActorIdTimeStampedValue protoreflect.MessageDescriptor + fd_TopicIdActorIdActorIdTimeStampedValue_topic_id protoreflect.FieldDescriptor + fd_TopicIdActorIdActorIdTimeStampedValue_actor_id1 protoreflect.FieldDescriptor + fd_TopicIdActorIdActorIdTimeStampedValue_actor_id2 protoreflect.FieldDescriptor + fd_TopicIdActorIdActorIdTimeStampedValue_timestamped_value protoreflect.FieldDescriptor +) + +func init() { + file_emissions_v8_genesis_proto_init() + md_TopicIdActorIdActorIdTimeStampedValue = File_emissions_v8_genesis_proto.Messages().ByName("TopicIdActorIdActorIdTimeStampedValue") + fd_TopicIdActorIdActorIdTimeStampedValue_topic_id = md_TopicIdActorIdActorIdTimeStampedValue.Fields().ByName("topic_id") + fd_TopicIdActorIdActorIdTimeStampedValue_actor_id1 = md_TopicIdActorIdActorIdTimeStampedValue.Fields().ByName("actor_id1") + fd_TopicIdActorIdActorIdTimeStampedValue_actor_id2 = md_TopicIdActorIdActorIdTimeStampedValue.Fields().ByName("actor_id2") + fd_TopicIdActorIdActorIdTimeStampedValue_timestamped_value = md_TopicIdActorIdActorIdTimeStampedValue.Fields().ByName("timestamped_value") +} + +var _ protoreflect.Message = (*fastReflection_TopicIdActorIdActorIdTimeStampedValue)(nil) + +type fastReflection_TopicIdActorIdActorIdTimeStampedValue TopicIdActorIdActorIdTimeStampedValue + +func (x *TopicIdActorIdActorIdTimeStampedValue) ProtoReflect() protoreflect.Message { + return (*fastReflection_TopicIdActorIdActorIdTimeStampedValue)(x) +} + +func (x *TopicIdActorIdActorIdTimeStampedValue) slowProtoReflect() protoreflect.Message { + mi := &file_emissions_v8_genesis_proto_msgTypes[28] + 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) +} + +var _fastReflection_TopicIdActorIdActorIdTimeStampedValue_messageType fastReflection_TopicIdActorIdActorIdTimeStampedValue_messageType +var _ protoreflect.MessageType = fastReflection_TopicIdActorIdActorIdTimeStampedValue_messageType{} + +type fastReflection_TopicIdActorIdActorIdTimeStampedValue_messageType struct{} + +func (x fastReflection_TopicIdActorIdActorIdTimeStampedValue_messageType) Zero() protoreflect.Message { + return (*fastReflection_TopicIdActorIdActorIdTimeStampedValue)(nil) +} +func (x fastReflection_TopicIdActorIdActorIdTimeStampedValue_messageType) New() protoreflect.Message { + return new(fastReflection_TopicIdActorIdActorIdTimeStampedValue) +} +func (x fastReflection_TopicIdActorIdActorIdTimeStampedValue_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_TopicIdActorIdActorIdTimeStampedValue +} + +// Descriptor returns message descriptor, which contains only the protobuf +// type information for the message. +func (x *fastReflection_TopicIdActorIdActorIdTimeStampedValue) Descriptor() protoreflect.MessageDescriptor { + return md_TopicIdActorIdActorIdTimeStampedValue +} + +// Type returns the message type, which encapsulates both Go and protobuf +// type information. If the Go type information is not needed, +// it is recommended that the message descriptor be used instead. +func (x *fastReflection_TopicIdActorIdActorIdTimeStampedValue) Type() protoreflect.MessageType { + return _fastReflection_TopicIdActorIdActorIdTimeStampedValue_messageType +} + +// New returns a newly allocated and mutable empty message. +func (x *fastReflection_TopicIdActorIdActorIdTimeStampedValue) New() protoreflect.Message { + return new(fastReflection_TopicIdActorIdActorIdTimeStampedValue) +} + +// Interface unwraps the message reflection interface and +// returns the underlying ProtoMessage interface. +func (x *fastReflection_TopicIdActorIdActorIdTimeStampedValue) Interface() protoreflect.ProtoMessage { + return (*TopicIdActorIdActorIdTimeStampedValue)(x) +} + +// Range iterates over every populated field in an undefined order, +// calling f for each field descriptor and value encountered. +// Range returns immediately if f returns false. +// While iterating, mutating operations may only be performed +// on the current field descriptor. +func (x *fastReflection_TopicIdActorIdActorIdTimeStampedValue) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { + if x.TopicId != uint64(0) { + value := protoreflect.ValueOfUint64(x.TopicId) + if !f(fd_TopicIdActorIdActorIdTimeStampedValue_topic_id, value) { + return + } + } + if x.ActorId1 != "" { + value := protoreflect.ValueOfString(x.ActorId1) + if !f(fd_TopicIdActorIdActorIdTimeStampedValue_actor_id1, value) { + return + } + } + if x.ActorId2 != "" { + value := protoreflect.ValueOfString(x.ActorId2) + if !f(fd_TopicIdActorIdActorIdTimeStampedValue_actor_id2, value) { + return + } + } + if x.TimestampedValue != nil { + value := protoreflect.ValueOfMessage(x.TimestampedValue.ProtoReflect()) + if !f(fd_TopicIdActorIdActorIdTimeStampedValue_timestamped_value, value) { + return + } + } +} + +// Has reports whether a field is populated. +// +// Some fields have the property of nullability where it is possible to +// distinguish between the default value of a field and whether the field +// was explicitly populated with the default value. Singular message fields, +// member fields of a oneof, and proto2 scalar fields are nullable. Such +// fields are populated only if explicitly set. +// +// In other cases (aside from the nullable cases above), +// a proto3 scalar field is populated if it contains a non-zero value, and +// a repeated field is populated if it is non-empty. +func (x *fastReflection_TopicIdActorIdActorIdTimeStampedValue) Has(fd protoreflect.FieldDescriptor) bool { + switch fd.FullName() { + case "emissions.v8.TopicIdActorIdActorIdTimeStampedValue.topic_id": + return x.TopicId != uint64(0) + case "emissions.v8.TopicIdActorIdActorIdTimeStampedValue.actor_id1": + return x.ActorId1 != "" + case "emissions.v8.TopicIdActorIdActorIdTimeStampedValue.actor_id2": + return x.ActorId2 != "" + case "emissions.v8.TopicIdActorIdActorIdTimeStampedValue.timestamped_value": + return x.TimestampedValue != nil + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.TopicIdActorIdActorIdTimeStampedValue")) + } + panic(fmt.Errorf("message emissions.v8.TopicIdActorIdActorIdTimeStampedValue does not contain field %s", fd.FullName())) + } +} + +// Clear clears the field such that a subsequent Has call reports false. +// +// Clearing an extension field clears both the extension type and value +// associated with the given field number. +// +// Clear is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_TopicIdActorIdActorIdTimeStampedValue) Clear(fd protoreflect.FieldDescriptor) { + switch fd.FullName() { + case "emissions.v8.TopicIdActorIdActorIdTimeStampedValue.topic_id": + x.TopicId = uint64(0) + case "emissions.v8.TopicIdActorIdActorIdTimeStampedValue.actor_id1": + x.ActorId1 = "" + case "emissions.v8.TopicIdActorIdActorIdTimeStampedValue.actor_id2": + x.ActorId2 = "" + case "emissions.v8.TopicIdActorIdActorIdTimeStampedValue.timestamped_value": + x.TimestampedValue = nil + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.TopicIdActorIdActorIdTimeStampedValue")) + } + panic(fmt.Errorf("message emissions.v8.TopicIdActorIdActorIdTimeStampedValue does not contain field %s", fd.FullName())) + } +} + +// Get retrieves the value for a field. +// +// For unpopulated scalars, it returns the default value, where +// the default value of a bytes scalar is guaranteed to be a copy. +// For unpopulated composite types, it returns an empty, read-only view +// of the value; to obtain a mutable reference, use Mutable. +func (x *fastReflection_TopicIdActorIdActorIdTimeStampedValue) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { + switch descriptor.FullName() { + case "emissions.v8.TopicIdActorIdActorIdTimeStampedValue.topic_id": + value := x.TopicId + return protoreflect.ValueOfUint64(value) + case "emissions.v8.TopicIdActorIdActorIdTimeStampedValue.actor_id1": + value := x.ActorId1 + return protoreflect.ValueOfString(value) + case "emissions.v8.TopicIdActorIdActorIdTimeStampedValue.actor_id2": + value := x.ActorId2 + return protoreflect.ValueOfString(value) + case "emissions.v8.TopicIdActorIdActorIdTimeStampedValue.timestamped_value": + value := x.TimestampedValue + return protoreflect.ValueOfMessage(value.ProtoReflect()) + default: + if descriptor.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.TopicIdActorIdActorIdTimeStampedValue")) + } + panic(fmt.Errorf("message emissions.v8.TopicIdActorIdActorIdTimeStampedValue does not contain field %s", descriptor.FullName())) + } +} + +// Set stores the value for a field. +// +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType. +// When setting a composite type, it is unspecified whether the stored value +// aliases the source's memory in any way. If the composite value is an +// empty, read-only value, then it panics. +// +// Set is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_TopicIdActorIdActorIdTimeStampedValue) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { + switch fd.FullName() { + case "emissions.v8.TopicIdActorIdActorIdTimeStampedValue.topic_id": + x.TopicId = value.Uint() + case "emissions.v8.TopicIdActorIdActorIdTimeStampedValue.actor_id1": + x.ActorId1 = value.Interface().(string) + case "emissions.v8.TopicIdActorIdActorIdTimeStampedValue.actor_id2": + x.ActorId2 = value.Interface().(string) + case "emissions.v8.TopicIdActorIdActorIdTimeStampedValue.timestamped_value": + x.TimestampedValue = value.Message().Interface().(*v3.TimestampedValue) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.TopicIdActorIdActorIdTimeStampedValue")) + } + panic(fmt.Errorf("message emissions.v8.TopicIdActorIdActorIdTimeStampedValue does not contain field %s", fd.FullName())) + } +} + +// Mutable returns a mutable reference to a composite type. +// +// If the field is unpopulated, it may allocate a composite value. +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType +// if not already stored. +// It panics if the field does not contain a composite type. +// +// Mutable is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_TopicIdActorIdActorIdTimeStampedValue) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.TopicIdActorIdActorIdTimeStampedValue.timestamped_value": + if x.TimestampedValue == nil { + x.TimestampedValue = new(v3.TimestampedValue) + } + return protoreflect.ValueOfMessage(x.TimestampedValue.ProtoReflect()) + case "emissions.v8.TopicIdActorIdActorIdTimeStampedValue.topic_id": + panic(fmt.Errorf("field topic_id of message emissions.v8.TopicIdActorIdActorIdTimeStampedValue is not mutable")) + case "emissions.v8.TopicIdActorIdActorIdTimeStampedValue.actor_id1": + panic(fmt.Errorf("field actor_id1 of message emissions.v8.TopicIdActorIdActorIdTimeStampedValue is not mutable")) + case "emissions.v8.TopicIdActorIdActorIdTimeStampedValue.actor_id2": + panic(fmt.Errorf("field actor_id2 of message emissions.v8.TopicIdActorIdActorIdTimeStampedValue is not mutable")) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.TopicIdActorIdActorIdTimeStampedValue")) + } + panic(fmt.Errorf("message emissions.v8.TopicIdActorIdActorIdTimeStampedValue does not contain field %s", fd.FullName())) + } +} + +// NewField returns a new value that is assignable to the field +// for the given descriptor. For scalars, this returns the default value. +// For lists, maps, and messages, this returns a new, empty, mutable value. +func (x *fastReflection_TopicIdActorIdActorIdTimeStampedValue) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.TopicIdActorIdActorIdTimeStampedValue.topic_id": + return protoreflect.ValueOfUint64(uint64(0)) + case "emissions.v8.TopicIdActorIdActorIdTimeStampedValue.actor_id1": + return protoreflect.ValueOfString("") + case "emissions.v8.TopicIdActorIdActorIdTimeStampedValue.actor_id2": + return protoreflect.ValueOfString("") + case "emissions.v8.TopicIdActorIdActorIdTimeStampedValue.timestamped_value": + m := new(v3.TimestampedValue) + return protoreflect.ValueOfMessage(m.ProtoReflect()) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.TopicIdActorIdActorIdTimeStampedValue")) + } + panic(fmt.Errorf("message emissions.v8.TopicIdActorIdActorIdTimeStampedValue does not contain field %s", fd.FullName())) + } +} + +// WhichOneof reports which field within the oneof is populated, +// returning nil if none are populated. +// It panics if the oneof descriptor does not belong to this message. +func (x *fastReflection_TopicIdActorIdActorIdTimeStampedValue) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { + switch d.FullName() { + default: + panic(fmt.Errorf("%s is not a oneof field in emissions.v8.TopicIdActorIdActorIdTimeStampedValue", d.FullName())) + } + panic("unreachable") +} + +// GetUnknown retrieves the entire list of unknown fields. +// The caller may only mutate the contents of the RawFields +// if the mutated bytes are stored back into the message with SetUnknown. +func (x *fastReflection_TopicIdActorIdActorIdTimeStampedValue) GetUnknown() protoreflect.RawFields { + return x.unknownFields +} + +// SetUnknown stores an entire list of unknown fields. +// The raw fields must be syntactically valid according to the wire format. +// An implementation may panic if this is not the case. +// Once stored, the caller must not mutate the content of the RawFields. +// An empty RawFields may be passed to clear the fields. +// +// SetUnknown is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_TopicIdActorIdActorIdTimeStampedValue) SetUnknown(fields protoreflect.RawFields) { + x.unknownFields = fields +} + +// IsValid reports whether the message is valid. +// +// An invalid message is an empty, read-only value. +// +// An invalid message often corresponds to a nil pointer of the concrete +// message type, but the details are implementation dependent. +// Validity is not part of the protobuf data model, and may not +// be preserved in marshaling or other operations. +func (x *fastReflection_TopicIdActorIdActorIdTimeStampedValue) IsValid() bool { + return x != nil +} + +// ProtoMethods returns optional fastReflectionFeature-path implementations of various operations. +// This method may return nil. +// +// The returned methods type is identical to +// "google.golang.org/protobuf/runtime/protoiface".Methods. +// Consult the protoiface package documentation for details. +func (x *fastReflection_TopicIdActorIdActorIdTimeStampedValue) ProtoMethods() *protoiface.Methods { + size := func(input protoiface.SizeInput) protoiface.SizeOutput { + x := input.Message.Interface().(*TopicIdActorIdActorIdTimeStampedValue) + if x == nil { + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: 0, + } + } + options := runtime.SizeInputToOptions(input) + _ = options + var n int + var l int + _ = l + if x.TopicId != 0 { + n += 1 + runtime.Sov(uint64(x.TopicId)) + } + l = len(x.ActorId1) + if l > 0 { + n += 1 + l + runtime.Sov(uint64(l)) + } + l = len(x.ActorId2) + if l > 0 { + n += 1 + l + runtime.Sov(uint64(l)) + } + if x.TimestampedValue != nil { + l = options.Size(x.TimestampedValue) + n += 1 + l + runtime.Sov(uint64(l)) + } + if x.unknownFields != nil { + n += len(x.unknownFields) + } + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: n, + } + } + + marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { + x := input.Message.Interface().(*TopicIdActorIdActorIdTimeStampedValue) + if x == nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + options := runtime.MarshalInputToOptions(input) + _ = options + size := options.Size(x) + dAtA := make([]byte, size) + i := len(dAtA) + _ = i + var l int + _ = l + if x.unknownFields != nil { + i -= len(x.unknownFields) + copy(dAtA[i:], x.unknownFields) + } + if x.TimestampedValue != nil { + encoded, err := options.Marshal(x.TimestampedValue) + if err != nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = runtime.EncodeVarint(dAtA, i, uint64(len(encoded))) + i-- + dAtA[i] = 0x22 + } + if len(x.ActorId2) > 0 { + i -= len(x.ActorId2) + copy(dAtA[i:], x.ActorId2) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.ActorId2))) + i-- + dAtA[i] = 0x1a + } + if len(x.ActorId1) > 0 { + i -= len(x.ActorId1) + copy(dAtA[i:], x.ActorId1) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.ActorId1))) + i-- + dAtA[i] = 0x12 + } + if x.TopicId != 0 { + i = runtime.EncodeVarint(dAtA, i, uint64(x.TopicId)) + i-- + dAtA[i] = 0x8 + } + if input.Buf != nil { + input.Buf = append(input.Buf, dAtA...) + } else { + input.Buf = dAtA + } + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { + x := input.Message.Interface().(*TopicIdActorIdActorIdTimeStampedValue) + if x == nil { + return protoiface.UnmarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Flags: input.Flags, + }, nil + } + options := runtime.UnmarshalInputToOptions(input) + _ = options + dAtA := input.Buf + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: TopicIdActorIdActorIdTimeStampedValue: wiretype end group for non-group") + } + if fieldNum <= 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: TopicIdActorIdActorIdTimeStampedValue: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field TopicId", wireType) + } + x.TopicId = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + x.TopicId |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 2: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field ActorId1", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + x.ActorId1 = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 3: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field ActorId2", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + x.ActorId2 = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 4: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field TimestampedValue", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + if x.TimestampedValue == nil { + x.TimestampedValue = &v3.TimestampedValue{} + } + if err := options.Unmarshal(dAtA[iNdEx:postIndex], x.TimestampedValue); err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := runtime.Skip(dAtA[iNdEx:]) + if err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if (iNdEx + skippy) > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + if !options.DiscardUnknown { + x.unknownFields = append(x.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + } + iNdEx += skippy + } + } + + if iNdEx > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, nil + } + return &protoiface.Methods{ + NoUnkeyedLiterals: struct{}{}, + Flags: protoiface.SupportMarshalDeterministic | protoiface.SupportUnmarshalDiscardUnknown, + Size: size, + Marshal: marshal, + Unmarshal: unmarshal, + Merge: nil, + CheckInitialized: nil, + } +} + +var ( + md_TopicIdTimestampedActorNonce protoreflect.MessageDescriptor + fd_TopicIdTimestampedActorNonce_topic_id protoreflect.FieldDescriptor + fd_TopicIdTimestampedActorNonce_timestamped_actor_nonce protoreflect.FieldDescriptor +) + +func init() { + file_emissions_v8_genesis_proto_init() + md_TopicIdTimestampedActorNonce = File_emissions_v8_genesis_proto.Messages().ByName("TopicIdTimestampedActorNonce") + fd_TopicIdTimestampedActorNonce_topic_id = md_TopicIdTimestampedActorNonce.Fields().ByName("topic_id") + fd_TopicIdTimestampedActorNonce_timestamped_actor_nonce = md_TopicIdTimestampedActorNonce.Fields().ByName("timestamped_actor_nonce") +} + +var _ protoreflect.Message = (*fastReflection_TopicIdTimestampedActorNonce)(nil) + +type fastReflection_TopicIdTimestampedActorNonce TopicIdTimestampedActorNonce + +func (x *TopicIdTimestampedActorNonce) ProtoReflect() protoreflect.Message { + return (*fastReflection_TopicIdTimestampedActorNonce)(x) +} + +func (x *TopicIdTimestampedActorNonce) slowProtoReflect() protoreflect.Message { + mi := &file_emissions_v8_genesis_proto_msgTypes[29] + 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) +} + +var _fastReflection_TopicIdTimestampedActorNonce_messageType fastReflection_TopicIdTimestampedActorNonce_messageType +var _ protoreflect.MessageType = fastReflection_TopicIdTimestampedActorNonce_messageType{} + +type fastReflection_TopicIdTimestampedActorNonce_messageType struct{} + +func (x fastReflection_TopicIdTimestampedActorNonce_messageType) Zero() protoreflect.Message { + return (*fastReflection_TopicIdTimestampedActorNonce)(nil) +} +func (x fastReflection_TopicIdTimestampedActorNonce_messageType) New() protoreflect.Message { + return new(fastReflection_TopicIdTimestampedActorNonce) +} +func (x fastReflection_TopicIdTimestampedActorNonce_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_TopicIdTimestampedActorNonce +} + +// Descriptor returns message descriptor, which contains only the protobuf +// type information for the message. +func (x *fastReflection_TopicIdTimestampedActorNonce) Descriptor() protoreflect.MessageDescriptor { + return md_TopicIdTimestampedActorNonce +} + +// Type returns the message type, which encapsulates both Go and protobuf +// type information. If the Go type information is not needed, +// it is recommended that the message descriptor be used instead. +func (x *fastReflection_TopicIdTimestampedActorNonce) Type() protoreflect.MessageType { + return _fastReflection_TopicIdTimestampedActorNonce_messageType +} + +// New returns a newly allocated and mutable empty message. +func (x *fastReflection_TopicIdTimestampedActorNonce) New() protoreflect.Message { + return new(fastReflection_TopicIdTimestampedActorNonce) +} + +// Interface unwraps the message reflection interface and +// returns the underlying ProtoMessage interface. +func (x *fastReflection_TopicIdTimestampedActorNonce) Interface() protoreflect.ProtoMessage { + return (*TopicIdTimestampedActorNonce)(x) +} + +// Range iterates over every populated field in an undefined order, +// calling f for each field descriptor and value encountered. +// Range returns immediately if f returns false. +// While iterating, mutating operations may only be performed +// on the current field descriptor. +func (x *fastReflection_TopicIdTimestampedActorNonce) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { + if x.TopicId != uint64(0) { + value := protoreflect.ValueOfUint64(x.TopicId) + if !f(fd_TopicIdTimestampedActorNonce_topic_id, value) { + return + } + } + if x.TimestampedActorNonce != nil { + value := protoreflect.ValueOfMessage(x.TimestampedActorNonce.ProtoReflect()) + if !f(fd_TopicIdTimestampedActorNonce_timestamped_actor_nonce, value) { + return + } + } +} + +// Has reports whether a field is populated. +// +// Some fields have the property of nullability where it is possible to +// distinguish between the default value of a field and whether the field +// was explicitly populated with the default value. Singular message fields, +// member fields of a oneof, and proto2 scalar fields are nullable. Such +// fields are populated only if explicitly set. +// +// In other cases (aside from the nullable cases above), +// a proto3 scalar field is populated if it contains a non-zero value, and +// a repeated field is populated if it is non-empty. +func (x *fastReflection_TopicIdTimestampedActorNonce) Has(fd protoreflect.FieldDescriptor) bool { + switch fd.FullName() { + case "emissions.v8.TopicIdTimestampedActorNonce.topic_id": + return x.TopicId != uint64(0) + case "emissions.v8.TopicIdTimestampedActorNonce.timestamped_actor_nonce": + return x.TimestampedActorNonce != nil + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.TopicIdTimestampedActorNonce")) + } + panic(fmt.Errorf("message emissions.v8.TopicIdTimestampedActorNonce does not contain field %s", fd.FullName())) + } +} + +// Clear clears the field such that a subsequent Has call reports false. +// +// Clearing an extension field clears both the extension type and value +// associated with the given field number. +// +// Clear is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_TopicIdTimestampedActorNonce) Clear(fd protoreflect.FieldDescriptor) { + switch fd.FullName() { + case "emissions.v8.TopicIdTimestampedActorNonce.topic_id": + x.TopicId = uint64(0) + case "emissions.v8.TopicIdTimestampedActorNonce.timestamped_actor_nonce": + x.TimestampedActorNonce = nil + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.TopicIdTimestampedActorNonce")) + } + panic(fmt.Errorf("message emissions.v8.TopicIdTimestampedActorNonce does not contain field %s", fd.FullName())) + } +} + +// Get retrieves the value for a field. +// +// For unpopulated scalars, it returns the default value, where +// the default value of a bytes scalar is guaranteed to be a copy. +// For unpopulated composite types, it returns an empty, read-only view +// of the value; to obtain a mutable reference, use Mutable. +func (x *fastReflection_TopicIdTimestampedActorNonce) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { + switch descriptor.FullName() { + case "emissions.v8.TopicIdTimestampedActorNonce.topic_id": + value := x.TopicId + return protoreflect.ValueOfUint64(value) + case "emissions.v8.TopicIdTimestampedActorNonce.timestamped_actor_nonce": + value := x.TimestampedActorNonce + return protoreflect.ValueOfMessage(value.ProtoReflect()) + default: + if descriptor.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.TopicIdTimestampedActorNonce")) + } + panic(fmt.Errorf("message emissions.v8.TopicIdTimestampedActorNonce does not contain field %s", descriptor.FullName())) + } +} + +// Set stores the value for a field. +// +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType. +// When setting a composite type, it is unspecified whether the stored value +// aliases the source's memory in any way. If the composite value is an +// empty, read-only value, then it panics. +// +// Set is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_TopicIdTimestampedActorNonce) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { + switch fd.FullName() { + case "emissions.v8.TopicIdTimestampedActorNonce.topic_id": + x.TopicId = value.Uint() + case "emissions.v8.TopicIdTimestampedActorNonce.timestamped_actor_nonce": + x.TimestampedActorNonce = value.Message().Interface().(*v3.TimestampedActorNonce) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.TopicIdTimestampedActorNonce")) + } + panic(fmt.Errorf("message emissions.v8.TopicIdTimestampedActorNonce does not contain field %s", fd.FullName())) + } +} + +// Mutable returns a mutable reference to a composite type. +// +// If the field is unpopulated, it may allocate a composite value. +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType +// if not already stored. +// It panics if the field does not contain a composite type. +// +// Mutable is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_TopicIdTimestampedActorNonce) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.TopicIdTimestampedActorNonce.timestamped_actor_nonce": + if x.TimestampedActorNonce == nil { + x.TimestampedActorNonce = new(v3.TimestampedActorNonce) + } + return protoreflect.ValueOfMessage(x.TimestampedActorNonce.ProtoReflect()) + case "emissions.v8.TopicIdTimestampedActorNonce.topic_id": + panic(fmt.Errorf("field topic_id of message emissions.v8.TopicIdTimestampedActorNonce is not mutable")) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.TopicIdTimestampedActorNonce")) + } + panic(fmt.Errorf("message emissions.v8.TopicIdTimestampedActorNonce does not contain field %s", fd.FullName())) + } +} + +// NewField returns a new value that is assignable to the field +// for the given descriptor. For scalars, this returns the default value. +// For lists, maps, and messages, this returns a new, empty, mutable value. +func (x *fastReflection_TopicIdTimestampedActorNonce) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.TopicIdTimestampedActorNonce.topic_id": + return protoreflect.ValueOfUint64(uint64(0)) + case "emissions.v8.TopicIdTimestampedActorNonce.timestamped_actor_nonce": + m := new(v3.TimestampedActorNonce) + return protoreflect.ValueOfMessage(m.ProtoReflect()) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.TopicIdTimestampedActorNonce")) + } + panic(fmt.Errorf("message emissions.v8.TopicIdTimestampedActorNonce does not contain field %s", fd.FullName())) + } +} + +// WhichOneof reports which field within the oneof is populated, +// returning nil if none are populated. +// It panics if the oneof descriptor does not belong to this message. +func (x *fastReflection_TopicIdTimestampedActorNonce) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { + switch d.FullName() { + default: + panic(fmt.Errorf("%s is not a oneof field in emissions.v8.TopicIdTimestampedActorNonce", d.FullName())) + } + panic("unreachable") +} + +// GetUnknown retrieves the entire list of unknown fields. +// The caller may only mutate the contents of the RawFields +// if the mutated bytes are stored back into the message with SetUnknown. +func (x *fastReflection_TopicIdTimestampedActorNonce) GetUnknown() protoreflect.RawFields { + return x.unknownFields +} + +// SetUnknown stores an entire list of unknown fields. +// The raw fields must be syntactically valid according to the wire format. +// An implementation may panic if this is not the case. +// Once stored, the caller must not mutate the content of the RawFields. +// An empty RawFields may be passed to clear the fields. +// +// SetUnknown is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_TopicIdTimestampedActorNonce) SetUnknown(fields protoreflect.RawFields) { + x.unknownFields = fields +} + +// IsValid reports whether the message is valid. +// +// An invalid message is an empty, read-only value. +// +// An invalid message often corresponds to a nil pointer of the concrete +// message type, but the details are implementation dependent. +// Validity is not part of the protobuf data model, and may not +// be preserved in marshaling or other operations. +func (x *fastReflection_TopicIdTimestampedActorNonce) IsValid() bool { + return x != nil +} + +// ProtoMethods returns optional fastReflectionFeature-path implementations of various operations. +// This method may return nil. +// +// The returned methods type is identical to +// "google.golang.org/protobuf/runtime/protoiface".Methods. +// Consult the protoiface package documentation for details. +func (x *fastReflection_TopicIdTimestampedActorNonce) ProtoMethods() *protoiface.Methods { + size := func(input protoiface.SizeInput) protoiface.SizeOutput { + x := input.Message.Interface().(*TopicIdTimestampedActorNonce) + if x == nil { + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: 0, + } + } + options := runtime.SizeInputToOptions(input) + _ = options + var n int + var l int + _ = l + if x.TopicId != 0 { + n += 1 + runtime.Sov(uint64(x.TopicId)) + } + if x.TimestampedActorNonce != nil { + l = options.Size(x.TimestampedActorNonce) + n += 1 + l + runtime.Sov(uint64(l)) + } + if x.unknownFields != nil { + n += len(x.unknownFields) + } + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: n, + } + } + + marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { + x := input.Message.Interface().(*TopicIdTimestampedActorNonce) + if x == nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + options := runtime.MarshalInputToOptions(input) + _ = options + size := options.Size(x) + dAtA := make([]byte, size) + i := len(dAtA) + _ = i + var l int + _ = l + if x.unknownFields != nil { + i -= len(x.unknownFields) + copy(dAtA[i:], x.unknownFields) + } + if x.TimestampedActorNonce != nil { + encoded, err := options.Marshal(x.TimestampedActorNonce) + if err != nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = runtime.EncodeVarint(dAtA, i, uint64(len(encoded))) + i-- + dAtA[i] = 0x12 + } + if x.TopicId != 0 { + i = runtime.EncodeVarint(dAtA, i, uint64(x.TopicId)) + i-- + dAtA[i] = 0x8 + } + if input.Buf != nil { + input.Buf = append(input.Buf, dAtA...) + } else { + input.Buf = dAtA + } + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { + x := input.Message.Interface().(*TopicIdTimestampedActorNonce) + if x == nil { + return protoiface.UnmarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Flags: input.Flags, + }, nil + } + options := runtime.UnmarshalInputToOptions(input) + _ = options + dAtA := input.Buf + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: TopicIdTimestampedActorNonce: wiretype end group for non-group") + } + if fieldNum <= 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: TopicIdTimestampedActorNonce: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field TopicId", wireType) + } + x.TopicId = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + x.TopicId |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 2: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field TimestampedActorNonce", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + if x.TimestampedActorNonce == nil { + x.TimestampedActorNonce = &v3.TimestampedActorNonce{} + } + if err := options.Unmarshal(dAtA[iNdEx:postIndex], x.TimestampedActorNonce); err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := runtime.Skip(dAtA[iNdEx:]) + if err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if (iNdEx + skippy) > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + if !options.DiscardUnknown { + x.unknownFields = append(x.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + } + iNdEx += skippy + } + } + + if iNdEx > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, nil + } + return &protoiface.Methods{ + NoUnkeyedLiterals: struct{}{}, + Flags: protoiface.SupportMarshalDeterministic | protoiface.SupportUnmarshalDiscardUnknown, + Size: size, + Marshal: marshal, + Unmarshal: unmarshal, + Merge: nil, + CheckInitialized: nil, + } +} + +var ( + md_BlockHeightTopicIds protoreflect.MessageDescriptor + fd_BlockHeightTopicIds_block_height protoreflect.FieldDescriptor + fd_BlockHeightTopicIds_topic_ids protoreflect.FieldDescriptor +) + +func init() { + file_emissions_v8_genesis_proto_init() + md_BlockHeightTopicIds = File_emissions_v8_genesis_proto.Messages().ByName("BlockHeightTopicIds") + fd_BlockHeightTopicIds_block_height = md_BlockHeightTopicIds.Fields().ByName("block_height") + fd_BlockHeightTopicIds_topic_ids = md_BlockHeightTopicIds.Fields().ByName("topic_ids") +} + +var _ protoreflect.Message = (*fastReflection_BlockHeightTopicIds)(nil) + +type fastReflection_BlockHeightTopicIds BlockHeightTopicIds + +func (x *BlockHeightTopicIds) ProtoReflect() protoreflect.Message { + return (*fastReflection_BlockHeightTopicIds)(x) +} + +func (x *BlockHeightTopicIds) slowProtoReflect() protoreflect.Message { + mi := &file_emissions_v8_genesis_proto_msgTypes[30] + 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) +} + +var _fastReflection_BlockHeightTopicIds_messageType fastReflection_BlockHeightTopicIds_messageType +var _ protoreflect.MessageType = fastReflection_BlockHeightTopicIds_messageType{} + +type fastReflection_BlockHeightTopicIds_messageType struct{} + +func (x fastReflection_BlockHeightTopicIds_messageType) Zero() protoreflect.Message { + return (*fastReflection_BlockHeightTopicIds)(nil) +} +func (x fastReflection_BlockHeightTopicIds_messageType) New() protoreflect.Message { + return new(fastReflection_BlockHeightTopicIds) +} +func (x fastReflection_BlockHeightTopicIds_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_BlockHeightTopicIds +} + +// Descriptor returns message descriptor, which contains only the protobuf +// type information for the message. +func (x *fastReflection_BlockHeightTopicIds) Descriptor() protoreflect.MessageDescriptor { + return md_BlockHeightTopicIds +} + +// Type returns the message type, which encapsulates both Go and protobuf +// type information. If the Go type information is not needed, +// it is recommended that the message descriptor be used instead. +func (x *fastReflection_BlockHeightTopicIds) Type() protoreflect.MessageType { + return _fastReflection_BlockHeightTopicIds_messageType +} + +// New returns a newly allocated and mutable empty message. +func (x *fastReflection_BlockHeightTopicIds) New() protoreflect.Message { + return new(fastReflection_BlockHeightTopicIds) +} + +// Interface unwraps the message reflection interface and +// returns the underlying ProtoMessage interface. +func (x *fastReflection_BlockHeightTopicIds) Interface() protoreflect.ProtoMessage { + return (*BlockHeightTopicIds)(x) +} + +// Range iterates over every populated field in an undefined order, +// calling f for each field descriptor and value encountered. +// Range returns immediately if f returns false. +// While iterating, mutating operations may only be performed +// on the current field descriptor. +func (x *fastReflection_BlockHeightTopicIds) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { + if x.BlockHeight != int64(0) { + value := protoreflect.ValueOfInt64(x.BlockHeight) + if !f(fd_BlockHeightTopicIds_block_height, value) { + return + } + } + if x.TopicIds != nil { + value := protoreflect.ValueOfMessage(x.TopicIds.ProtoReflect()) + if !f(fd_BlockHeightTopicIds_topic_ids, value) { + return + } + } +} + +// Has reports whether a field is populated. +// +// Some fields have the property of nullability where it is possible to +// distinguish between the default value of a field and whether the field +// was explicitly populated with the default value. Singular message fields, +// member fields of a oneof, and proto2 scalar fields are nullable. Such +// fields are populated only if explicitly set. +// +// In other cases (aside from the nullable cases above), +// a proto3 scalar field is populated if it contains a non-zero value, and +// a repeated field is populated if it is non-empty. +func (x *fastReflection_BlockHeightTopicIds) Has(fd protoreflect.FieldDescriptor) bool { + switch fd.FullName() { + case "emissions.v8.BlockHeightTopicIds.block_height": + return x.BlockHeight != int64(0) + case "emissions.v8.BlockHeightTopicIds.topic_ids": + return x.TopicIds != nil + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.BlockHeightTopicIds")) + } + panic(fmt.Errorf("message emissions.v8.BlockHeightTopicIds does not contain field %s", fd.FullName())) + } +} + +// Clear clears the field such that a subsequent Has call reports false. +// +// Clearing an extension field clears both the extension type and value +// associated with the given field number. +// +// Clear is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_BlockHeightTopicIds) Clear(fd protoreflect.FieldDescriptor) { + switch fd.FullName() { + case "emissions.v8.BlockHeightTopicIds.block_height": + x.BlockHeight = int64(0) + case "emissions.v8.BlockHeightTopicIds.topic_ids": + x.TopicIds = nil + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.BlockHeightTopicIds")) + } + panic(fmt.Errorf("message emissions.v8.BlockHeightTopicIds does not contain field %s", fd.FullName())) + } +} + +// Get retrieves the value for a field. +// +// For unpopulated scalars, it returns the default value, where +// the default value of a bytes scalar is guaranteed to be a copy. +// For unpopulated composite types, it returns an empty, read-only view +// of the value; to obtain a mutable reference, use Mutable. +func (x *fastReflection_BlockHeightTopicIds) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { + switch descriptor.FullName() { + case "emissions.v8.BlockHeightTopicIds.block_height": + value := x.BlockHeight + return protoreflect.ValueOfInt64(value) + case "emissions.v8.BlockHeightTopicIds.topic_ids": + value := x.TopicIds + return protoreflect.ValueOfMessage(value.ProtoReflect()) + default: + if descriptor.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.BlockHeightTopicIds")) + } + panic(fmt.Errorf("message emissions.v8.BlockHeightTopicIds does not contain field %s", descriptor.FullName())) + } +} + +// Set stores the value for a field. +// +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType. +// When setting a composite type, it is unspecified whether the stored value +// aliases the source's memory in any way. If the composite value is an +// empty, read-only value, then it panics. +// +// Set is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_BlockHeightTopicIds) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { + switch fd.FullName() { + case "emissions.v8.BlockHeightTopicIds.block_height": + x.BlockHeight = value.Int() + case "emissions.v8.BlockHeightTopicIds.topic_ids": + x.TopicIds = value.Message().Interface().(*v3.TopicIds) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.BlockHeightTopicIds")) + } + panic(fmt.Errorf("message emissions.v8.BlockHeightTopicIds does not contain field %s", fd.FullName())) + } +} + +// Mutable returns a mutable reference to a composite type. +// +// If the field is unpopulated, it may allocate a composite value. +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType +// if not already stored. +// It panics if the field does not contain a composite type. +// +// Mutable is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_BlockHeightTopicIds) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.BlockHeightTopicIds.topic_ids": + if x.TopicIds == nil { + x.TopicIds = new(v3.TopicIds) + } + return protoreflect.ValueOfMessage(x.TopicIds.ProtoReflect()) + case "emissions.v8.BlockHeightTopicIds.block_height": + panic(fmt.Errorf("field block_height of message emissions.v8.BlockHeightTopicIds is not mutable")) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.BlockHeightTopicIds")) + } + panic(fmt.Errorf("message emissions.v8.BlockHeightTopicIds does not contain field %s", fd.FullName())) + } +} + +// NewField returns a new value that is assignable to the field +// for the given descriptor. For scalars, this returns the default value. +// For lists, maps, and messages, this returns a new, empty, mutable value. +func (x *fastReflection_BlockHeightTopicIds) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.BlockHeightTopicIds.block_height": + return protoreflect.ValueOfInt64(int64(0)) + case "emissions.v8.BlockHeightTopicIds.topic_ids": + m := new(v3.TopicIds) + return protoreflect.ValueOfMessage(m.ProtoReflect()) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.BlockHeightTopicIds")) + } + panic(fmt.Errorf("message emissions.v8.BlockHeightTopicIds does not contain field %s", fd.FullName())) + } +} + +// WhichOneof reports which field within the oneof is populated, +// returning nil if none are populated. +// It panics if the oneof descriptor does not belong to this message. +func (x *fastReflection_BlockHeightTopicIds) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { + switch d.FullName() { + default: + panic(fmt.Errorf("%s is not a oneof field in emissions.v8.BlockHeightTopicIds", d.FullName())) + } + panic("unreachable") +} + +// GetUnknown retrieves the entire list of unknown fields. +// The caller may only mutate the contents of the RawFields +// if the mutated bytes are stored back into the message with SetUnknown. +func (x *fastReflection_BlockHeightTopicIds) GetUnknown() protoreflect.RawFields { + return x.unknownFields +} + +// SetUnknown stores an entire list of unknown fields. +// The raw fields must be syntactically valid according to the wire format. +// An implementation may panic if this is not the case. +// Once stored, the caller must not mutate the content of the RawFields. +// An empty RawFields may be passed to clear the fields. +// +// SetUnknown is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_BlockHeightTopicIds) SetUnknown(fields protoreflect.RawFields) { + x.unknownFields = fields +} + +// IsValid reports whether the message is valid. +// +// An invalid message is an empty, read-only value. +// +// An invalid message often corresponds to a nil pointer of the concrete +// message type, but the details are implementation dependent. +// Validity is not part of the protobuf data model, and may not +// be preserved in marshaling or other operations. +func (x *fastReflection_BlockHeightTopicIds) IsValid() bool { + return x != nil +} + +// ProtoMethods returns optional fastReflectionFeature-path implementations of various operations. +// This method may return nil. +// +// The returned methods type is identical to +// "google.golang.org/protobuf/runtime/protoiface".Methods. +// Consult the protoiface package documentation for details. +func (x *fastReflection_BlockHeightTopicIds) ProtoMethods() *protoiface.Methods { + size := func(input protoiface.SizeInput) protoiface.SizeOutput { + x := input.Message.Interface().(*BlockHeightTopicIds) + if x == nil { + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: 0, + } + } + options := runtime.SizeInputToOptions(input) + _ = options + var n int + var l int + _ = l + if x.BlockHeight != 0 { + n += 1 + runtime.Sov(uint64(x.BlockHeight)) + } + if x.TopicIds != nil { + l = options.Size(x.TopicIds) + n += 1 + l + runtime.Sov(uint64(l)) + } + if x.unknownFields != nil { + n += len(x.unknownFields) + } + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: n, + } + } + + marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { + x := input.Message.Interface().(*BlockHeightTopicIds) + if x == nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + options := runtime.MarshalInputToOptions(input) + _ = options + size := options.Size(x) + dAtA := make([]byte, size) + i := len(dAtA) + _ = i + var l int + _ = l + if x.unknownFields != nil { + i -= len(x.unknownFields) + copy(dAtA[i:], x.unknownFields) + } + if x.TopicIds != nil { + encoded, err := options.Marshal(x.TopicIds) + if err != nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = runtime.EncodeVarint(dAtA, i, uint64(len(encoded))) + i-- + dAtA[i] = 0x12 + } + if x.BlockHeight != 0 { + i = runtime.EncodeVarint(dAtA, i, uint64(x.BlockHeight)) + i-- + dAtA[i] = 0x8 + } + if input.Buf != nil { + input.Buf = append(input.Buf, dAtA...) + } else { + input.Buf = dAtA + } + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { + x := input.Message.Interface().(*BlockHeightTopicIds) + if x == nil { + return protoiface.UnmarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Flags: input.Flags, + }, nil + } + options := runtime.UnmarshalInputToOptions(input) + _ = options + dAtA := input.Buf + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: BlockHeightTopicIds: wiretype end group for non-group") + } + if fieldNum <= 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: BlockHeightTopicIds: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field BlockHeight", wireType) + } + x.BlockHeight = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + x.BlockHeight |= int64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 2: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field TopicIds", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + if x.TopicIds == nil { + x.TopicIds = &v3.TopicIds{} + } + if err := options.Unmarshal(dAtA[iNdEx:postIndex], x.TopicIds); err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := runtime.Skip(dAtA[iNdEx:]) + if err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if (iNdEx + skippy) > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + if !options.DiscardUnknown { + x.unknownFields = append(x.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + } + iNdEx += skippy + } + } + + if iNdEx > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, nil + } + return &protoiface.Methods{ + NoUnkeyedLiterals: struct{}{}, + Flags: protoiface.SupportMarshalDeterministic | protoiface.SupportUnmarshalDiscardUnknown, + Size: size, + Marshal: marshal, + Unmarshal: unmarshal, + Merge: nil, + CheckInitialized: nil, + } +} + +var ( + md_BlockHeightTopicIdWeightPair protoreflect.MessageDescriptor + fd_BlockHeightTopicIdWeightPair_block_height protoreflect.FieldDescriptor + fd_BlockHeightTopicIdWeightPair_topic_weight protoreflect.FieldDescriptor +) + +func init() { + file_emissions_v8_genesis_proto_init() + md_BlockHeightTopicIdWeightPair = File_emissions_v8_genesis_proto.Messages().ByName("BlockHeightTopicIdWeightPair") + fd_BlockHeightTopicIdWeightPair_block_height = md_BlockHeightTopicIdWeightPair.Fields().ByName("block_height") + fd_BlockHeightTopicIdWeightPair_topic_weight = md_BlockHeightTopicIdWeightPair.Fields().ByName("topic_weight") +} + +var _ protoreflect.Message = (*fastReflection_BlockHeightTopicIdWeightPair)(nil) + +type fastReflection_BlockHeightTopicIdWeightPair BlockHeightTopicIdWeightPair + +func (x *BlockHeightTopicIdWeightPair) ProtoReflect() protoreflect.Message { + return (*fastReflection_BlockHeightTopicIdWeightPair)(x) +} + +func (x *BlockHeightTopicIdWeightPair) slowProtoReflect() protoreflect.Message { + mi := &file_emissions_v8_genesis_proto_msgTypes[31] + 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) +} + +var _fastReflection_BlockHeightTopicIdWeightPair_messageType fastReflection_BlockHeightTopicIdWeightPair_messageType +var _ protoreflect.MessageType = fastReflection_BlockHeightTopicIdWeightPair_messageType{} + +type fastReflection_BlockHeightTopicIdWeightPair_messageType struct{} + +func (x fastReflection_BlockHeightTopicIdWeightPair_messageType) Zero() protoreflect.Message { + return (*fastReflection_BlockHeightTopicIdWeightPair)(nil) +} +func (x fastReflection_BlockHeightTopicIdWeightPair_messageType) New() protoreflect.Message { + return new(fastReflection_BlockHeightTopicIdWeightPair) +} +func (x fastReflection_BlockHeightTopicIdWeightPair_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_BlockHeightTopicIdWeightPair +} + +// Descriptor returns message descriptor, which contains only the protobuf +// type information for the message. +func (x *fastReflection_BlockHeightTopicIdWeightPair) Descriptor() protoreflect.MessageDescriptor { + return md_BlockHeightTopicIdWeightPair +} + +// Type returns the message type, which encapsulates both Go and protobuf +// type information. If the Go type information is not needed, +// it is recommended that the message descriptor be used instead. +func (x *fastReflection_BlockHeightTopicIdWeightPair) Type() protoreflect.MessageType { + return _fastReflection_BlockHeightTopicIdWeightPair_messageType +} + +// New returns a newly allocated and mutable empty message. +func (x *fastReflection_BlockHeightTopicIdWeightPair) New() protoreflect.Message { + return new(fastReflection_BlockHeightTopicIdWeightPair) +} + +// Interface unwraps the message reflection interface and +// returns the underlying ProtoMessage interface. +func (x *fastReflection_BlockHeightTopicIdWeightPair) Interface() protoreflect.ProtoMessage { + return (*BlockHeightTopicIdWeightPair)(x) +} + +// Range iterates over every populated field in an undefined order, +// calling f for each field descriptor and value encountered. +// Range returns immediately if f returns false. +// While iterating, mutating operations may only be performed +// on the current field descriptor. +func (x *fastReflection_BlockHeightTopicIdWeightPair) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { + if x.BlockHeight != int64(0) { + value := protoreflect.ValueOfInt64(x.BlockHeight) + if !f(fd_BlockHeightTopicIdWeightPair_block_height, value) { + return + } + } + if x.TopicWeight != nil { + value := protoreflect.ValueOfMessage(x.TopicWeight.ProtoReflect()) + if !f(fd_BlockHeightTopicIdWeightPair_topic_weight, value) { + return + } + } +} + +// Has reports whether a field is populated. +// +// Some fields have the property of nullability where it is possible to +// distinguish between the default value of a field and whether the field +// was explicitly populated with the default value. Singular message fields, +// member fields of a oneof, and proto2 scalar fields are nullable. Such +// fields are populated only if explicitly set. +// +// In other cases (aside from the nullable cases above), +// a proto3 scalar field is populated if it contains a non-zero value, and +// a repeated field is populated if it is non-empty. +func (x *fastReflection_BlockHeightTopicIdWeightPair) Has(fd protoreflect.FieldDescriptor) bool { + switch fd.FullName() { + case "emissions.v8.BlockHeightTopicIdWeightPair.block_height": + return x.BlockHeight != int64(0) + case "emissions.v8.BlockHeightTopicIdWeightPair.topic_weight": + return x.TopicWeight != nil + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.BlockHeightTopicIdWeightPair")) + } + panic(fmt.Errorf("message emissions.v8.BlockHeightTopicIdWeightPair does not contain field %s", fd.FullName())) + } +} + +// Clear clears the field such that a subsequent Has call reports false. +// +// Clearing an extension field clears both the extension type and value +// associated with the given field number. +// +// Clear is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_BlockHeightTopicIdWeightPair) Clear(fd protoreflect.FieldDescriptor) { + switch fd.FullName() { + case "emissions.v8.BlockHeightTopicIdWeightPair.block_height": + x.BlockHeight = int64(0) + case "emissions.v8.BlockHeightTopicIdWeightPair.topic_weight": + x.TopicWeight = nil + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.BlockHeightTopicIdWeightPair")) + } + panic(fmt.Errorf("message emissions.v8.BlockHeightTopicIdWeightPair does not contain field %s", fd.FullName())) + } +} + +// Get retrieves the value for a field. +// +// For unpopulated scalars, it returns the default value, where +// the default value of a bytes scalar is guaranteed to be a copy. +// For unpopulated composite types, it returns an empty, read-only view +// of the value; to obtain a mutable reference, use Mutable. +func (x *fastReflection_BlockHeightTopicIdWeightPair) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { + switch descriptor.FullName() { + case "emissions.v8.BlockHeightTopicIdWeightPair.block_height": + value := x.BlockHeight + return protoreflect.ValueOfInt64(value) + case "emissions.v8.BlockHeightTopicIdWeightPair.topic_weight": + value := x.TopicWeight + return protoreflect.ValueOfMessage(value.ProtoReflect()) + default: + if descriptor.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.BlockHeightTopicIdWeightPair")) + } + panic(fmt.Errorf("message emissions.v8.BlockHeightTopicIdWeightPair does not contain field %s", descriptor.FullName())) + } +} + +// Set stores the value for a field. +// +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType. +// When setting a composite type, it is unspecified whether the stored value +// aliases the source's memory in any way. If the composite value is an +// empty, read-only value, then it panics. +// +// Set is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_BlockHeightTopicIdWeightPair) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { + switch fd.FullName() { + case "emissions.v8.BlockHeightTopicIdWeightPair.block_height": + x.BlockHeight = value.Int() + case "emissions.v8.BlockHeightTopicIdWeightPair.topic_weight": + x.TopicWeight = value.Message().Interface().(*v3.TopicIdWeightPair) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.BlockHeightTopicIdWeightPair")) + } + panic(fmt.Errorf("message emissions.v8.BlockHeightTopicIdWeightPair does not contain field %s", fd.FullName())) + } +} + +// Mutable returns a mutable reference to a composite type. +// +// If the field is unpopulated, it may allocate a composite value. +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType +// if not already stored. +// It panics if the field does not contain a composite type. +// +// Mutable is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_BlockHeightTopicIdWeightPair) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.BlockHeightTopicIdWeightPair.topic_weight": + if x.TopicWeight == nil { + x.TopicWeight = new(v3.TopicIdWeightPair) + } + return protoreflect.ValueOfMessage(x.TopicWeight.ProtoReflect()) + case "emissions.v8.BlockHeightTopicIdWeightPair.block_height": + panic(fmt.Errorf("field block_height of message emissions.v8.BlockHeightTopicIdWeightPair is not mutable")) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.BlockHeightTopicIdWeightPair")) + } + panic(fmt.Errorf("message emissions.v8.BlockHeightTopicIdWeightPair does not contain field %s", fd.FullName())) + } +} + +// NewField returns a new value that is assignable to the field +// for the given descriptor. For scalars, this returns the default value. +// For lists, maps, and messages, this returns a new, empty, mutable value. +func (x *fastReflection_BlockHeightTopicIdWeightPair) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.BlockHeightTopicIdWeightPair.block_height": + return protoreflect.ValueOfInt64(int64(0)) + case "emissions.v8.BlockHeightTopicIdWeightPair.topic_weight": + m := new(v3.TopicIdWeightPair) + return protoreflect.ValueOfMessage(m.ProtoReflect()) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.BlockHeightTopicIdWeightPair")) + } + panic(fmt.Errorf("message emissions.v8.BlockHeightTopicIdWeightPair does not contain field %s", fd.FullName())) + } +} + +// WhichOneof reports which field within the oneof is populated, +// returning nil if none are populated. +// It panics if the oneof descriptor does not belong to this message. +func (x *fastReflection_BlockHeightTopicIdWeightPair) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { + switch d.FullName() { + default: + panic(fmt.Errorf("%s is not a oneof field in emissions.v8.BlockHeightTopicIdWeightPair", d.FullName())) + } + panic("unreachable") +} + +// GetUnknown retrieves the entire list of unknown fields. +// The caller may only mutate the contents of the RawFields +// if the mutated bytes are stored back into the message with SetUnknown. +func (x *fastReflection_BlockHeightTopicIdWeightPair) GetUnknown() protoreflect.RawFields { + return x.unknownFields +} + +// SetUnknown stores an entire list of unknown fields. +// The raw fields must be syntactically valid according to the wire format. +// An implementation may panic if this is not the case. +// Once stored, the caller must not mutate the content of the RawFields. +// An empty RawFields may be passed to clear the fields. +// +// SetUnknown is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_BlockHeightTopicIdWeightPair) SetUnknown(fields protoreflect.RawFields) { + x.unknownFields = fields +} + +// IsValid reports whether the message is valid. +// +// An invalid message is an empty, read-only value. +// +// An invalid message often corresponds to a nil pointer of the concrete +// message type, but the details are implementation dependent. +// Validity is not part of the protobuf data model, and may not +// be preserved in marshaling or other operations. +func (x *fastReflection_BlockHeightTopicIdWeightPair) IsValid() bool { + return x != nil +} + +// ProtoMethods returns optional fastReflectionFeature-path implementations of various operations. +// This method may return nil. +// +// The returned methods type is identical to +// "google.golang.org/protobuf/runtime/protoiface".Methods. +// Consult the protoiface package documentation for details. +func (x *fastReflection_BlockHeightTopicIdWeightPair) ProtoMethods() *protoiface.Methods { + size := func(input protoiface.SizeInput) protoiface.SizeOutput { + x := input.Message.Interface().(*BlockHeightTopicIdWeightPair) + if x == nil { + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: 0, + } + } + options := runtime.SizeInputToOptions(input) + _ = options + var n int + var l int + _ = l + if x.BlockHeight != 0 { + n += 1 + runtime.Sov(uint64(x.BlockHeight)) + } + if x.TopicWeight != nil { + l = options.Size(x.TopicWeight) + n += 1 + l + runtime.Sov(uint64(l)) + } + if x.unknownFields != nil { + n += len(x.unknownFields) + } + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: n, + } + } + + marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { + x := input.Message.Interface().(*BlockHeightTopicIdWeightPair) + if x == nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + options := runtime.MarshalInputToOptions(input) + _ = options + size := options.Size(x) + dAtA := make([]byte, size) + i := len(dAtA) + _ = i + var l int + _ = l + if x.unknownFields != nil { + i -= len(x.unknownFields) + copy(dAtA[i:], x.unknownFields) + } + if x.TopicWeight != nil { + encoded, err := options.Marshal(x.TopicWeight) + if err != nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = runtime.EncodeVarint(dAtA, i, uint64(len(encoded))) + i-- + dAtA[i] = 0x12 + } + if x.BlockHeight != 0 { + i = runtime.EncodeVarint(dAtA, i, uint64(x.BlockHeight)) + i-- + dAtA[i] = 0x8 + } + if input.Buf != nil { + input.Buf = append(input.Buf, dAtA...) + } else { + input.Buf = dAtA + } + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { + x := input.Message.Interface().(*BlockHeightTopicIdWeightPair) + if x == nil { + return protoiface.UnmarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Flags: input.Flags, + }, nil + } + options := runtime.UnmarshalInputToOptions(input) + _ = options + dAtA := input.Buf + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: BlockHeightTopicIdWeightPair: wiretype end group for non-group") + } + if fieldNum <= 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: BlockHeightTopicIdWeightPair: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field BlockHeight", wireType) + } + x.BlockHeight = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + x.BlockHeight |= int64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 2: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field TopicWeight", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + if x.TopicWeight == nil { + x.TopicWeight = &v3.TopicIdWeightPair{} + } + if err := options.Unmarshal(dAtA[iNdEx:postIndex], x.TopicWeight); err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := runtime.Skip(dAtA[iNdEx:]) + if err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if (iNdEx + skippy) > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + if !options.DiscardUnknown { + x.unknownFields = append(x.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + } + iNdEx += skippy + } + } + + if iNdEx > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, nil + } + return &protoiface.Methods{ + NoUnkeyedLiterals: struct{}{}, + Flags: protoiface.SupportMarshalDeterministic | protoiface.SupportUnmarshalDiscardUnknown, + Size: size, + Marshal: marshal, + Unmarshal: unmarshal, + Merge: nil, + CheckInitialized: nil, + } +} + +var ( + md_TopicIdReputerReputerValueBundle protoreflect.MessageDescriptor + fd_TopicIdReputerReputerValueBundle_topic_id protoreflect.FieldDescriptor + fd_TopicIdReputerReputerValueBundle_reputer protoreflect.FieldDescriptor + fd_TopicIdReputerReputerValueBundle_reputer_value_bundle protoreflect.FieldDescriptor +) + +func init() { + file_emissions_v8_genesis_proto_init() + md_TopicIdReputerReputerValueBundle = File_emissions_v8_genesis_proto.Messages().ByName("TopicIdReputerReputerValueBundle") + fd_TopicIdReputerReputerValueBundle_topic_id = md_TopicIdReputerReputerValueBundle.Fields().ByName("topic_id") + fd_TopicIdReputerReputerValueBundle_reputer = md_TopicIdReputerReputerValueBundle.Fields().ByName("reputer") + fd_TopicIdReputerReputerValueBundle_reputer_value_bundle = md_TopicIdReputerReputerValueBundle.Fields().ByName("reputer_value_bundle") +} + +var _ protoreflect.Message = (*fastReflection_TopicIdReputerReputerValueBundle)(nil) + +type fastReflection_TopicIdReputerReputerValueBundle TopicIdReputerReputerValueBundle + +func (x *TopicIdReputerReputerValueBundle) ProtoReflect() protoreflect.Message { + return (*fastReflection_TopicIdReputerReputerValueBundle)(x) +} + +func (x *TopicIdReputerReputerValueBundle) slowProtoReflect() protoreflect.Message { + mi := &file_emissions_v8_genesis_proto_msgTypes[32] + 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) +} + +var _fastReflection_TopicIdReputerReputerValueBundle_messageType fastReflection_TopicIdReputerReputerValueBundle_messageType +var _ protoreflect.MessageType = fastReflection_TopicIdReputerReputerValueBundle_messageType{} + +type fastReflection_TopicIdReputerReputerValueBundle_messageType struct{} + +func (x fastReflection_TopicIdReputerReputerValueBundle_messageType) Zero() protoreflect.Message { + return (*fastReflection_TopicIdReputerReputerValueBundle)(nil) +} +func (x fastReflection_TopicIdReputerReputerValueBundle_messageType) New() protoreflect.Message { + return new(fastReflection_TopicIdReputerReputerValueBundle) +} +func (x fastReflection_TopicIdReputerReputerValueBundle_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_TopicIdReputerReputerValueBundle +} + +// Descriptor returns message descriptor, which contains only the protobuf +// type information for the message. +func (x *fastReflection_TopicIdReputerReputerValueBundle) Descriptor() protoreflect.MessageDescriptor { + return md_TopicIdReputerReputerValueBundle +} + +// Type returns the message type, which encapsulates both Go and protobuf +// type information. If the Go type information is not needed, +// it is recommended that the message descriptor be used instead. +func (x *fastReflection_TopicIdReputerReputerValueBundle) Type() protoreflect.MessageType { + return _fastReflection_TopicIdReputerReputerValueBundle_messageType +} + +// New returns a newly allocated and mutable empty message. +func (x *fastReflection_TopicIdReputerReputerValueBundle) New() protoreflect.Message { + return new(fastReflection_TopicIdReputerReputerValueBundle) +} + +// Interface unwraps the message reflection interface and +// returns the underlying ProtoMessage interface. +func (x *fastReflection_TopicIdReputerReputerValueBundle) Interface() protoreflect.ProtoMessage { + return (*TopicIdReputerReputerValueBundle)(x) +} + +// Range iterates over every populated field in an undefined order, +// calling f for each field descriptor and value encountered. +// Range returns immediately if f returns false. +// While iterating, mutating operations may only be performed +// on the current field descriptor. +func (x *fastReflection_TopicIdReputerReputerValueBundle) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { + if x.TopicId != uint64(0) { + value := protoreflect.ValueOfUint64(x.TopicId) + if !f(fd_TopicIdReputerReputerValueBundle_topic_id, value) { + return + } + } + if x.Reputer != "" { + value := protoreflect.ValueOfString(x.Reputer) + if !f(fd_TopicIdReputerReputerValueBundle_reputer, value) { + return + } + } + if x.ReputerValueBundle != nil { + value := protoreflect.ValueOfMessage(x.ReputerValueBundle.ProtoReflect()) + if !f(fd_TopicIdReputerReputerValueBundle_reputer_value_bundle, value) { + return + } + } +} + +// Has reports whether a field is populated. +// +// Some fields have the property of nullability where it is possible to +// distinguish between the default value of a field and whether the field +// was explicitly populated with the default value. Singular message fields, +// member fields of a oneof, and proto2 scalar fields are nullable. Such +// fields are populated only if explicitly set. +// +// In other cases (aside from the nullable cases above), +// a proto3 scalar field is populated if it contains a non-zero value, and +// a repeated field is populated if it is non-empty. +func (x *fastReflection_TopicIdReputerReputerValueBundle) Has(fd protoreflect.FieldDescriptor) bool { + switch fd.FullName() { + case "emissions.v8.TopicIdReputerReputerValueBundle.topic_id": + return x.TopicId != uint64(0) + case "emissions.v8.TopicIdReputerReputerValueBundle.reputer": + return x.Reputer != "" + case "emissions.v8.TopicIdReputerReputerValueBundle.reputer_value_bundle": + return x.ReputerValueBundle != nil + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.TopicIdReputerReputerValueBundle")) + } + panic(fmt.Errorf("message emissions.v8.TopicIdReputerReputerValueBundle does not contain field %s", fd.FullName())) + } +} + +// Clear clears the field such that a subsequent Has call reports false. +// +// Clearing an extension field clears both the extension type and value +// associated with the given field number. +// +// Clear is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_TopicIdReputerReputerValueBundle) Clear(fd protoreflect.FieldDescriptor) { + switch fd.FullName() { + case "emissions.v8.TopicIdReputerReputerValueBundle.topic_id": + x.TopicId = uint64(0) + case "emissions.v8.TopicIdReputerReputerValueBundle.reputer": + x.Reputer = "" + case "emissions.v8.TopicIdReputerReputerValueBundle.reputer_value_bundle": + x.ReputerValueBundle = nil + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.TopicIdReputerReputerValueBundle")) + } + panic(fmt.Errorf("message emissions.v8.TopicIdReputerReputerValueBundle does not contain field %s", fd.FullName())) + } +} + +// Get retrieves the value for a field. +// +// For unpopulated scalars, it returns the default value, where +// the default value of a bytes scalar is guaranteed to be a copy. +// For unpopulated composite types, it returns an empty, read-only view +// of the value; to obtain a mutable reference, use Mutable. +func (x *fastReflection_TopicIdReputerReputerValueBundle) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { + switch descriptor.FullName() { + case "emissions.v8.TopicIdReputerReputerValueBundle.topic_id": + value := x.TopicId + return protoreflect.ValueOfUint64(value) + case "emissions.v8.TopicIdReputerReputerValueBundle.reputer": + value := x.Reputer + return protoreflect.ValueOfString(value) + case "emissions.v8.TopicIdReputerReputerValueBundle.reputer_value_bundle": + value := x.ReputerValueBundle + return protoreflect.ValueOfMessage(value.ProtoReflect()) + default: + if descriptor.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.TopicIdReputerReputerValueBundle")) + } + panic(fmt.Errorf("message emissions.v8.TopicIdReputerReputerValueBundle does not contain field %s", descriptor.FullName())) + } +} + +// Set stores the value for a field. +// +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType. +// When setting a composite type, it is unspecified whether the stored value +// aliases the source's memory in any way. If the composite value is an +// empty, read-only value, then it panics. +// +// Set is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_TopicIdReputerReputerValueBundle) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { + switch fd.FullName() { + case "emissions.v8.TopicIdReputerReputerValueBundle.topic_id": + x.TopicId = value.Uint() + case "emissions.v8.TopicIdReputerReputerValueBundle.reputer": + x.Reputer = value.Interface().(string) + case "emissions.v8.TopicIdReputerReputerValueBundle.reputer_value_bundle": + x.ReputerValueBundle = value.Message().Interface().(*v3.ReputerValueBundle) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.TopicIdReputerReputerValueBundle")) + } + panic(fmt.Errorf("message emissions.v8.TopicIdReputerReputerValueBundle does not contain field %s", fd.FullName())) + } +} + +// Mutable returns a mutable reference to a composite type. +// +// If the field is unpopulated, it may allocate a composite value. +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType +// if not already stored. +// It panics if the field does not contain a composite type. +// +// Mutable is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_TopicIdReputerReputerValueBundle) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.TopicIdReputerReputerValueBundle.reputer_value_bundle": + if x.ReputerValueBundle == nil { + x.ReputerValueBundle = new(v3.ReputerValueBundle) + } + return protoreflect.ValueOfMessage(x.ReputerValueBundle.ProtoReflect()) + case "emissions.v8.TopicIdReputerReputerValueBundle.topic_id": + panic(fmt.Errorf("field topic_id of message emissions.v8.TopicIdReputerReputerValueBundle is not mutable")) + case "emissions.v8.TopicIdReputerReputerValueBundle.reputer": + panic(fmt.Errorf("field reputer of message emissions.v8.TopicIdReputerReputerValueBundle is not mutable")) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.TopicIdReputerReputerValueBundle")) + } + panic(fmt.Errorf("message emissions.v8.TopicIdReputerReputerValueBundle does not contain field %s", fd.FullName())) + } +} + +// NewField returns a new value that is assignable to the field +// for the given descriptor. For scalars, this returns the default value. +// For lists, maps, and messages, this returns a new, empty, mutable value. +func (x *fastReflection_TopicIdReputerReputerValueBundle) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.TopicIdReputerReputerValueBundle.topic_id": + return protoreflect.ValueOfUint64(uint64(0)) + case "emissions.v8.TopicIdReputerReputerValueBundle.reputer": + return protoreflect.ValueOfString("") + case "emissions.v8.TopicIdReputerReputerValueBundle.reputer_value_bundle": + m := new(v3.ReputerValueBundle) + return protoreflect.ValueOfMessage(m.ProtoReflect()) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.TopicIdReputerReputerValueBundle")) + } + panic(fmt.Errorf("message emissions.v8.TopicIdReputerReputerValueBundle does not contain field %s", fd.FullName())) + } +} + +// WhichOneof reports which field within the oneof is populated, +// returning nil if none are populated. +// It panics if the oneof descriptor does not belong to this message. +func (x *fastReflection_TopicIdReputerReputerValueBundle) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { + switch d.FullName() { + default: + panic(fmt.Errorf("%s is not a oneof field in emissions.v8.TopicIdReputerReputerValueBundle", d.FullName())) + } + panic("unreachable") +} + +// GetUnknown retrieves the entire list of unknown fields. +// The caller may only mutate the contents of the RawFields +// if the mutated bytes are stored back into the message with SetUnknown. +func (x *fastReflection_TopicIdReputerReputerValueBundle) GetUnknown() protoreflect.RawFields { + return x.unknownFields +} + +// SetUnknown stores an entire list of unknown fields. +// The raw fields must be syntactically valid according to the wire format. +// An implementation may panic if this is not the case. +// Once stored, the caller must not mutate the content of the RawFields. +// An empty RawFields may be passed to clear the fields. +// +// SetUnknown is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_TopicIdReputerReputerValueBundle) SetUnknown(fields protoreflect.RawFields) { + x.unknownFields = fields +} + +// IsValid reports whether the message is valid. +// +// An invalid message is an empty, read-only value. +// +// An invalid message often corresponds to a nil pointer of the concrete +// message type, but the details are implementation dependent. +// Validity is not part of the protobuf data model, and may not +// be preserved in marshaling or other operations. +func (x *fastReflection_TopicIdReputerReputerValueBundle) IsValid() bool { + return x != nil +} + +// ProtoMethods returns optional fastReflectionFeature-path implementations of various operations. +// This method may return nil. +// +// The returned methods type is identical to +// "google.golang.org/protobuf/runtime/protoiface".Methods. +// Consult the protoiface package documentation for details. +func (x *fastReflection_TopicIdReputerReputerValueBundle) ProtoMethods() *protoiface.Methods { + size := func(input protoiface.SizeInput) protoiface.SizeOutput { + x := input.Message.Interface().(*TopicIdReputerReputerValueBundle) + if x == nil { + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: 0, + } + } + options := runtime.SizeInputToOptions(input) + _ = options + var n int + var l int + _ = l + if x.TopicId != 0 { + n += 1 + runtime.Sov(uint64(x.TopicId)) + } + l = len(x.Reputer) + if l > 0 { + n += 1 + l + runtime.Sov(uint64(l)) + } + if x.ReputerValueBundle != nil { + l = options.Size(x.ReputerValueBundle) + n += 1 + l + runtime.Sov(uint64(l)) + } + if x.unknownFields != nil { + n += len(x.unknownFields) + } + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: n, + } + } + + marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { + x := input.Message.Interface().(*TopicIdReputerReputerValueBundle) + if x == nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + options := runtime.MarshalInputToOptions(input) + _ = options + size := options.Size(x) + dAtA := make([]byte, size) + i := len(dAtA) + _ = i + var l int + _ = l + if x.unknownFields != nil { + i -= len(x.unknownFields) + copy(dAtA[i:], x.unknownFields) + } + if x.ReputerValueBundle != nil { + encoded, err := options.Marshal(x.ReputerValueBundle) + if err != nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = runtime.EncodeVarint(dAtA, i, uint64(len(encoded))) + i-- + dAtA[i] = 0x1a + } + if len(x.Reputer) > 0 { + i -= len(x.Reputer) + copy(dAtA[i:], x.Reputer) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.Reputer))) + i-- + dAtA[i] = 0x12 + } + if x.TopicId != 0 { + i = runtime.EncodeVarint(dAtA, i, uint64(x.TopicId)) + i-- + dAtA[i] = 0x8 + } + if input.Buf != nil { + input.Buf = append(input.Buf, dAtA...) + } else { + input.Buf = dAtA + } + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { + x := input.Message.Interface().(*TopicIdReputerReputerValueBundle) + if x == nil { + return protoiface.UnmarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Flags: input.Flags, + }, nil + } + options := runtime.UnmarshalInputToOptions(input) + _ = options + dAtA := input.Buf + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: TopicIdReputerReputerValueBundle: wiretype end group for non-group") + } + if fieldNum <= 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: TopicIdReputerReputerValueBundle: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field TopicId", wireType) + } + x.TopicId = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + x.TopicId |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 2: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Reputer", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + x.Reputer = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 3: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field ReputerValueBundle", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + if x.ReputerValueBundle == nil { + x.ReputerValueBundle = &v3.ReputerValueBundle{} + } + if err := options.Unmarshal(dAtA[iNdEx:postIndex], x.ReputerValueBundle); err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := runtime.Skip(dAtA[iNdEx:]) + if err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if (iNdEx + skippy) > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + if !options.DiscardUnknown { + x.unknownFields = append(x.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + } + iNdEx += skippy + } + } + + if iNdEx > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, nil + } + return &protoiface.Methods{ + NoUnkeyedLiterals: struct{}{}, + Flags: protoiface.SupportMarshalDeterministic | protoiface.SupportUnmarshalDiscardUnknown, + Size: size, + Marshal: marshal, + Unmarshal: unmarshal, + Merge: nil, + CheckInitialized: nil, + } +} + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.27.0 +// protoc (unknown) +// source: emissions/v8/genesis.proto + +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) +) + +// GenesisState is the state that must be provided at genesis. +type GenesisState struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // / PARAMS + Params *Params `protobuf:"bytes,1,opt,name=params,proto3" json:"params,omitempty"` + // / WHITELISTS + CoreTeamAddresses []string `protobuf:"bytes,2,rep,name=core_team_addresses,json=coreTeamAddresses,proto3" json:"core_team_addresses,omitempty"` + // / TOPIC + // the next topic id to be used, equal to the number of topics that have been + // created + NextTopicId uint64 `protobuf:"varint,3,opt,name=next_topic_id,json=nextTopicId,proto3" json:"next_topic_id,omitempty"` + // every topic that has been created indexed by their topicId starting from 1 + // (0 is reserved for the root network) + Topics []*TopicIdAndTopic `protobuf:"bytes,4,rep,name=topics,proto3" json:"topics,omitempty"` + ActiveTopics []uint64 `protobuf:"varint,5,rep,packed,name=active_topics,json=activeTopics,proto3" json:"active_topics,omitempty"` + // every topic that has been churned and ready to be rewarded i.e. reputer + // losses have been committed + RewardableTopics []uint64 `protobuf:"varint,6,rep,packed,name=rewardable_topics,json=rewardableTopics,proto3" json:"rewardable_topics,omitempty"` + // for a topic, what is every worker node that has registered to it? + TopicWorkers []*TopicAndActorId `protobuf:"bytes,7,rep,name=topic_workers,json=topicWorkers,proto3" json:"topic_workers,omitempty"` + // for a topic, what is every reputer node that has registered to it? + TopicReputers []*TopicAndActorId `protobuf:"bytes,8,rep,name=topic_reputers,json=topicReputers,proto3" json:"topic_reputers,omitempty"` + // map of (topic) -> nonce/block height + TopicRewardNonce []*TopicIdAndBlockHeight `protobuf:"bytes,9,rep,name=topic_reward_nonce,json=topicRewardNonce,proto3" json:"topic_reward_nonce,omitempty"` + // / SCORES + // ALSO SEE 61, 62, 63 below + // map of (topic, block_height, worker) -> score + InfererScoresByBlock []*TopicIdBlockHeightScores `protobuf:"bytes,10,rep,name=inferer_scores_by_block,json=infererScoresByBlock,proto3" json:"inferer_scores_by_block,omitempty"` + // map of (topic, block_height, worker) -> score + ForecasterScoresByBlock []*TopicIdBlockHeightScores `protobuf:"bytes,11,rep,name=forecaster_scores_by_block,json=forecasterScoresByBlock,proto3" json:"forecaster_scores_by_block,omitempty"` + // map of (topic, block_height, reputer) -> score + ReputerScoresByBlock []*TopicIdBlockHeightScores `protobuf:"bytes,12,rep,name=reputer_scores_by_block,json=reputerScoresByBlock,proto3" json:"reputer_scores_by_block,omitempty"` + // SEE 13, 14, 15 reserved; see the top of GenesisState + // map of (topic, reputer) -> listening coefficient + ReputerListeningCoefficient []*TopicIdActorIdListeningCoefficient `protobuf:"bytes,16,rep,name=reputer_listening_coefficient,json=reputerListeningCoefficient,proto3" json:"reputer_listening_coefficient,omitempty"` + // map of (topic, reputer) -> previous reward (used for EMA) + PreviousReputerRewardFraction []*TopicIdActorIdDec `protobuf:"bytes,17,rep,name=previous_reputer_reward_fraction,json=previousReputerRewardFraction,proto3" json:"previous_reputer_reward_fraction,omitempty"` + // map of (topic, worker) -> previous reward for inference (used for EMA) + PreviousInferenceRewardFraction []*TopicIdActorIdDec `protobuf:"bytes,18,rep,name=previous_inference_reward_fraction,json=previousInferenceRewardFraction,proto3" json:"previous_inference_reward_fraction,omitempty"` + // map of (topic, worker) -> previous reward for forecast (used for EMA) + PreviousForecastRewardFraction []*TopicIdActorIdDec `protobuf:"bytes,19,rep,name=previous_forecast_reward_fraction,json=previousForecastRewardFraction,proto3" json:"previous_forecast_reward_fraction,omitempty"` + // map of (topic, forecaster) -> ratio of forecaster score + PreviousForecasterScoreRatio []*TopicIdAndDec `protobuf:"bytes,20,rep,name=previous_forecaster_score_ratio,json=previousForecasterScoreRatio,proto3" json:"previous_forecaster_score_ratio,omitempty"` + // total sum stake of all stakers on the network + TotalStake string `protobuf:"bytes,21,opt,name=total_stake,json=totalStake,proto3" json:"total_stake,omitempty"` + // for every topic, how much total stake does that topic have accumulated? + TopicStake []*TopicIdAndInt `protobuf:"bytes,22,rep,name=topic_stake,json=topicStake,proto3" json:"topic_stake,omitempty"` + // stake reputer placed in topic + delegate stake placed in them, + // signalling their total authority on the topic + // (topic Id, reputer) -> stake from reputer on self + + // stakeFromDelegatorsUponReputer + StakeReputerAuthority []*TopicIdActorIdInt `protobuf:"bytes,23,rep,name=stake_reputer_authority,json=stakeReputerAuthority,proto3" json:"stake_reputer_authority,omitempty"` + // map of (topic id, delegator) -> total amount of stake in that topic placed + // by that delegator + StakeSumFromDelegator []*TopicIdActorIdInt `protobuf:"bytes,24,rep,name=stake_sum_from_delegator,json=stakeSumFromDelegator,proto3" json:"stake_sum_from_delegator,omitempty"` + // map of (topic id, delegator, reputer) -> amount of stake that has been + // placed by that delegator on that target + DelegatedStakes []*TopicIdDelegatorReputerDelegatorInfo `protobuf:"bytes,25,rep,name=delegated_stakes,json=delegatedStakes,proto3" json:"delegated_stakes,omitempty"` + // map of (topic id, reputer) -> total amount of stake that has been placed on + // that reputer by delegators + StakeFromDelegatorsUponReputer []*TopicIdActorIdInt `protobuf:"bytes,26,rep,name=stake_from_delegators_upon_reputer,json=stakeFromDelegatorsUponReputer,proto3" json:"stake_from_delegators_upon_reputer,omitempty"` + // map of (topicId, reputer) -> share of delegate reward + DelegateRewardPerShare []*TopicIdActorIdDec `protobuf:"bytes,27,rep,name=delegate_reward_per_share,json=delegateRewardPerShare,proto3" json:"delegate_reward_per_share,omitempty"` + // stake removals are double indexed to avoid O(n) lookups when removing stake + // map of (blockHeight, topic, reputer) -> removal information for that + // reputer + StakeRemovalsByBlock []*BlockHeightTopicIdReputerStakeRemovalInfo `protobuf:"bytes,28,rep,name=stake_removals_by_block,json=stakeRemovalsByBlock,proto3" json:"stake_removals_by_block,omitempty"` + // key set of (reputer, topic, blockHeight) to existence of a removal in the + // forwards map + StakeRemovalsByActor []*ActorIdTopicIdBlockHeight `protobuf:"bytes,29,rep,name=stake_removals_by_actor,json=stakeRemovalsByActor,proto3" json:"stake_removals_by_actor,omitempty"` + // delegate stake removals are double indexed to avoid O(n) lookups when + // removing stake map of (blockHeight, topic, delegator, reputer staked upon) + // -> (list of reputers delegated upon and info) to have stake removed at that + // block + DelegateStakeRemovalsByBlock []*BlockHeightTopicIdDelegatorReputerDelegateStakeRemovalInfo `protobuf:"bytes,30,rep,name=delegate_stake_removals_by_block,json=delegateStakeRemovalsByBlock,proto3" json:"delegate_stake_removals_by_block,omitempty"` + // key set of (delegator, reputer, topicId, blockHeight) to existence of a + // removal in the forwards map + DelegateStakeRemovalsByActor []*DelegatorReputerTopicIdBlockHeight `protobuf:"bytes,31,rep,name=delegate_stake_removals_by_actor,json=delegateStakeRemovalsByActor,proto3" json:"delegate_stake_removals_by_actor,omitempty"` + // / MISC GLOBAL STATE + // map of (topic, worker) -> inference + Inferences []*TopicIdActorIdInference `protobuf:"bytes,32,rep,name=inferences,proto3" json:"inferences,omitempty"` + // map of (topic, worker) -> forecast[] + Forecasts []*TopicIdActorIdForecast `protobuf:"bytes,33,rep,name=forecasts,proto3" json:"forecasts,omitempty"` + // map of worker id to node data about that worker + Workers []*LibP2PKeyAndOffchainNode `protobuf:"bytes,34,rep,name=workers,proto3" json:"workers,omitempty"` + // map of reputer id to node data about that reputer + Reputers []*LibP2PKeyAndOffchainNode `protobuf:"bytes,35,rep,name=reputers,proto3" json:"reputers,omitempty"` + // fee revenue collected by a topic over the course of the last reward cadence + TopicFeeRevenue []*TopicIdAndInt `protobuf:"bytes,36,rep,name=topic_fee_revenue,json=topicFeeRevenue,proto3" json:"topic_fee_revenue,omitempty"` + // store previous weights for exponential moving average in rewards calc + PreviousTopicWeight []*TopicIdAndDec `protobuf:"bytes,37,rep,name=previous_topic_weight,json=previousTopicWeight,proto3" json:"previous_topic_weight,omitempty"` + // map of (topic, block_height) -> Inference + AllInferences []*TopicIdBlockHeightInferences `protobuf:"bytes,38,rep,name=all_inferences,json=allInferences,proto3" json:"all_inferences,omitempty"` + // map of (topic, block_height) -> Forecast + AllForecasts []*TopicIdBlockHeightForecasts `protobuf:"bytes,39,rep,name=all_forecasts,json=allForecasts,proto3" json:"all_forecasts,omitempty"` + // map of (topic, block_height) -> ReputerValueBundles (1 per reputer active + // at that time) + AllLossBundles []*TopicIdBlockHeightReputerValueBundles `protobuf:"bytes,40,rep,name=all_loss_bundles,json=allLossBundles,proto3" json:"all_loss_bundles,omitempty"` + // map of (topic, block_height) -> ValueBundle (1 network wide bundle per + // timestep) + NetworkLossBundles []*TopicIdBlockHeightValueBundles `protobuf:"bytes,41,rep,name=network_loss_bundles,json=networkLossBundles,proto3" json:"network_loss_bundles,omitempty"` + // Percentage of all rewards, paid out to staked reputers, during the previous + // reward cadence. Used by mint module + PreviousPercentageRewardToStakedReputers string `protobuf:"bytes,42,opt,name=previous_percentage_reward_to_staked_reputers,json=previousPercentageRewardToStakedReputers,proto3" json:"previous_percentage_reward_to_staked_reputers,omitempty"` + // SEE 55, 56 below + // map of (topic) -> unfulfilled nonces + UnfulfilledWorkerNonces []*TopicIdAndNonces `protobuf:"bytes,43,rep,name=unfulfilled_worker_nonces,json=unfulfilledWorkerNonces,proto3" json:"unfulfilled_worker_nonces,omitempty"` + // map of (topic) -> unfulfilled nonces + UnfulfilledReputerNonces []*TopicIdAndReputerRequestNonces `protobuf:"bytes,44,rep,name=unfulfilled_reputer_nonces,json=unfulfilledReputerNonces,proto3" json:"unfulfilled_reputer_nonces,omitempty"` + // / REGRETS + // map of (topic, worker) -> regret of worker from comparing loss of worker + // relative to loss of other inferers + LatestInfererNetworkRegrets []*TopicIdActorIdTimeStampedValue `protobuf:"bytes,45,rep,name=latest_inferer_network_regrets,json=latestInfererNetworkRegrets,proto3" json:"latest_inferer_network_regrets,omitempty"` + // map of (topic, worker) -> regret of worker from comparing loss of worker + // relative to loss of other forecasters + LatestForecasterNetworkRegrets []*TopicIdActorIdTimeStampedValue `protobuf:"bytes,46,rep,name=latest_forecaster_network_regrets,json=latestForecasterNetworkRegrets,proto3" json:"latest_forecaster_network_regrets,omitempty"` + // map of (topic, forecaster, inferer) -> R^+_{ij_kk} regret of forecaster + // loss from comparing one-in loss with all network inferer (3rd index) + // regrets L_ij made under the regime of the one-in forecaster (2nd index) + LatestOneInForecasterNetworkRegrets []*TopicIdActorIdActorIdTimeStampedValue `protobuf:"bytes,47,rep,name=latest_one_in_forecaster_network_regrets,json=latestOneInForecasterNetworkRegrets,proto3" json:"latest_one_in_forecaster_network_regrets,omitempty"` + // the forecaster (2nd index) regrets made under the regime of the same + // forecaster as a one-in forecaster + LatestNaiveInfererNetworkRegrets []*TopicIdActorIdTimeStampedValue `protobuf:"bytes,48,rep,name=latest_naive_inferer_network_regrets,json=latestNaiveInfererNetworkRegrets,proto3" json:"latest_naive_inferer_network_regrets,omitempty"` + LatestOneOutInfererInfererNetworkRegrets []*TopicIdActorIdActorIdTimeStampedValue `protobuf:"bytes,49,rep,name=latest_one_out_inferer_inferer_network_regrets,json=latestOneOutInfererInfererNetworkRegrets,proto3" json:"latest_one_out_inferer_inferer_network_regrets,omitempty"` + LatestOneOutInfererForecasterNetworkRegrets []*TopicIdActorIdActorIdTimeStampedValue `protobuf:"bytes,50,rep,name=latest_one_out_inferer_forecaster_network_regrets,json=latestOneOutInfererForecasterNetworkRegrets,proto3" json:"latest_one_out_inferer_forecaster_network_regrets,omitempty"` + LatestOneOutForecasterInfererNetworkRegrets []*TopicIdActorIdActorIdTimeStampedValue `protobuf:"bytes,51,rep,name=latest_one_out_forecaster_inferer_network_regrets,json=latestOneOutForecasterInfererNetworkRegrets,proto3" json:"latest_one_out_forecaster_inferer_network_regrets,omitempty"` + LatestOneOutForecasterForecasterNetworkRegrets []*TopicIdActorIdActorIdTimeStampedValue `protobuf:"bytes,52,rep,name=latest_one_out_forecaster_forecaster_network_regrets,json=latestOneOutForecasterForecasterNetworkRegrets,proto3" json:"latest_one_out_forecaster_forecaster_network_regrets,omitempty"` + // / RECORD COMMITS + TopicLastWorkerCommit []*TopicIdTimestampedActorNonce `protobuf:"bytes,53,rep,name=topic_last_worker_commit,json=topicLastWorkerCommit,proto3" json:"topic_last_worker_commit,omitempty"` + TopicLastReputerCommit []*TopicIdTimestampedActorNonce `protobuf:"bytes,54,rep,name=topic_last_reputer_commit,json=topicLastReputerCommit,proto3" json:"topic_last_reputer_commit,omitempty"` + // / WINDOW + // map of open worker nonce windows for topics on particular block heights + OpenWorkerWindows []*BlockHeightAndTopicIds `protobuf:"bytes,55,rep,name=open_worker_windows,json=openWorkerWindows,proto3" json:"open_worker_windows,omitempty"` + // / DRIPS + // map of (topic) -> last dripped block + LastDripBlock []*TopicIdAndBlockHeight `protobuf:"bytes,56,rep,name=last_drip_block,json=lastDripBlock,proto3" json:"last_drip_block,omitempty"` + // ACTIVE TOPIC + TopicToNextPossibleChurningBlock []*TopicIdAndBlockHeight `protobuf:"bytes,57,rep,name=topic_to_next_possible_churning_block,json=topicToNextPossibleChurningBlock,proto3" json:"topic_to_next_possible_churning_block,omitempty"` + BlockToActiveTopics []*BlockHeightTopicIds `protobuf:"bytes,58,rep,name=block_to_active_topics,json=blockToActiveTopics,proto3" json:"block_to_active_topics,omitempty"` + BlockToLowestActiveTopicWeight []*BlockHeightTopicIdWeightPair `protobuf:"bytes,59,rep,name=block_to_lowest_active_topic_weight,json=blockToLowestActiveTopicWeight,proto3" json:"block_to_lowest_active_topic_weight,omitempty"` + // / EMA SCORES + // map of (topic, block_height, worker) -> score + InfererScoreEmas []*TopicIdActorIdScore `protobuf:"bytes,60,rep,name=inferer_score_emas,json=infererScoreEmas,proto3" json:"inferer_score_emas,omitempty"` + // map of (topic, block_height, worker) -> score + ForecasterScoreEmas []*TopicIdActorIdScore `protobuf:"bytes,61,rep,name=forecaster_score_emas,json=forecasterScoreEmas,proto3" json:"forecaster_score_emas,omitempty"` + // map of (topic, block_height, reputer) -> score + ReputerScoreEmas []*TopicIdActorIdScore `protobuf:"bytes,62,rep,name=reputer_score_emas,json=reputerScoreEmas,proto3" json:"reputer_score_emas,omitempty"` + // EMA + PreviousTopicQuantileInfererScoreEma []*TopicIdAndDec `protobuf:"bytes,63,rep,name=previous_topic_quantile_inferer_score_ema,json=previousTopicQuantileInfererScoreEma,proto3" json:"previous_topic_quantile_inferer_score_ema,omitempty"` + PreviousTopicQuantileForecasterScoreEma []*TopicIdAndDec `protobuf:"bytes,64,rep,name=previous_topic_quantile_forecaster_score_ema,json=previousTopicQuantileForecasterScoreEma,proto3" json:"previous_topic_quantile_forecaster_score_ema,omitempty"` + PreviousTopicQuantileReputerScoreEma []*TopicIdAndDec `protobuf:"bytes,65,rep,name=previous_topic_quantile_reputer_score_ema,json=previousTopicQuantileReputerScoreEma,proto3" json:"previous_topic_quantile_reputer_score_ema,omitempty"` + // INCLUSIONS + CountInfererInclusionsInTopicActiveSet []*TopicIdActorIdUint64 `protobuf:"bytes,66,rep,name=count_inferer_inclusions_in_topic_active_set,json=countInfererInclusionsInTopicActiveSet,proto3" json:"count_inferer_inclusions_in_topic_active_set,omitempty"` + CountForecasterInclusionsInTopicActiveSet []*TopicIdActorIdUint64 `protobuf:"bytes,67,rep,name=count_forecaster_inclusions_in_topic_active_set,json=countForecasterInclusionsInTopicActiveSet,proto3" json:"count_forecaster_inclusions_in_topic_active_set,omitempty"` + // active inferers for each topic + ActiveInferers []*TopicAndActorId `protobuf:"bytes,68,rep,name=active_inferers,json=activeInferers,proto3" json:"active_inferers,omitempty"` + // active forecasters for each topic + ActiveForecasters []*TopicAndActorId `protobuf:"bytes,69,rep,name=active_forecasters,json=activeForecasters,proto3" json:"active_forecasters,omitempty"` + // lowest inferer score EMA for each topic + LowestInfererScoreEma []*TopicIdActorIdScore `protobuf:"bytes,70,rep,name=lowest_inferer_score_ema,json=lowestInfererScoreEma,proto3" json:"lowest_inferer_score_ema,omitempty"` + // lowest forecaster score EMA for each topic + LowestForecasterScoreEma []*TopicIdActorIdScore `protobuf:"bytes,71,rep,name=lowest_forecaster_score_ema,json=lowestForecasterScoreEma,proto3" json:"lowest_forecaster_score_ema,omitempty"` + // active reputers for each topic + ActiveReputers []*TopicAndActorId `protobuf:"bytes,72,rep,name=active_reputers,json=activeReputers,proto3" json:"active_reputers,omitempty"` + // lowest reputer score EMA for each topic + LowestReputerScoreEma []*TopicIdActorIdScore `protobuf:"bytes,73,rep,name=lowest_reputer_score_ema,json=lowestReputerScoreEma,proto3" json:"lowest_reputer_score_ema,omitempty"` + // map of (topic, reputer) -> reputer loss + LossBundles []*TopicIdReputerReputerValueBundle `protobuf:"bytes,74,rep,name=loss_bundles,json=lossBundles,proto3" json:"loss_bundles,omitempty"` + // total sum of topic weights + TotalSumPreviousTopicWeights string `protobuf:"bytes,75,opt,name=total_sum_previous_topic_weights,json=totalSumPreviousTopicWeights,proto3" json:"total_sum_previous_topic_weights,omitempty"` + // reward emission on current block + RewardCurrentBlockEmission string `protobuf:"bytes,76,opt,name=reward_current_block_emission,json=rewardCurrentBlockEmission,proto3" json:"reward_current_block_emission,omitempty"` + WhitelistAdmins []string `protobuf:"bytes,77,rep,name=whitelist_admins,json=whitelistAdmins,proto3" json:"whitelist_admins,omitempty"` + GlobalWhitelist []string `protobuf:"bytes,78,rep,name=global_whitelist,json=globalWhitelist,proto3" json:"global_whitelist,omitempty"` + TopicCreatorWhitelist []string `protobuf:"bytes,79,rep,name=topic_creator_whitelist,json=topicCreatorWhitelist,proto3" json:"topic_creator_whitelist,omitempty"` + TopicWorkerWhitelist []*TopicAndActorId `protobuf:"bytes,80,rep,name=topic_worker_whitelist,json=topicWorkerWhitelist,proto3" json:"topic_worker_whitelist,omitempty"` + TopicReputerWhitelist []*TopicAndActorId `protobuf:"bytes,81,rep,name=topic_reputer_whitelist,json=topicReputerWhitelist,proto3" json:"topic_reputer_whitelist,omitempty"` + TopicWorkerWhitelistEnabled []uint64 `protobuf:"varint,82,rep,packed,name=topic_worker_whitelist_enabled,json=topicWorkerWhitelistEnabled,proto3" json:"topic_worker_whitelist_enabled,omitempty"` + TopicReputerWhitelistEnabled []uint64 `protobuf:"varint,83,rep,packed,name=topic_reputer_whitelist_enabled,json=topicReputerWhitelistEnabled,proto3" json:"topic_reputer_whitelist_enabled,omitempty"` + LastMedianInferences []*TopicIdAndDec `protobuf:"bytes,84,rep,name=last_median_inferences,json=lastMedianInferences,proto3" json:"last_median_inferences,omitempty"` + MadInferences []*TopicIdAndDec `protobuf:"bytes,85,rep,name=mad_inferences,json=madInferences,proto3" json:"mad_inferences,omitempty"` + // current inferer ema scores to apply per topic + // map of topic -> inferer ema score + InitialInfererEmaScore []*TopicIdAndDec `protobuf:"bytes,86,rep,name=initial_inferer_ema_score,json=initialInfererEmaScore,proto3" json:"initial_inferer_ema_score,omitempty"` + // current forecaster ema scores to apply per topic + // map of topic -> forecaster ema score + InitialForecasterEmaScore []*TopicIdAndDec `protobuf:"bytes,87,rep,name=initial_forecaster_ema_score,json=initialForecasterEmaScore,proto3" json:"initial_forecaster_ema_score,omitempty"` + // current reputer ema scores to apply per topic + // map of topic -> reputer ema score + InitialReputerEmaScore []*TopicIdAndDec `protobuf:"bytes,88,rep,name=initial_reputer_ema_score,json=initialReputerEmaScore,proto3" json:"initial_reputer_ema_score,omitempty"` + GlobalWorkerWhitelist []string `protobuf:"bytes,89,rep,name=global_worker_whitelist,json=globalWorkerWhitelist,proto3" json:"global_worker_whitelist,omitempty"` + GlobalReputerWhitelist []string `protobuf:"bytes,90,rep,name=global_reputer_whitelist,json=globalReputerWhitelist,proto3" json:"global_reputer_whitelist,omitempty"` + GlobalAdminWhitelist []string `protobuf:"bytes,91,rep,name=global_admin_whitelist,json=globalAdminWhitelist,proto3" json:"global_admin_whitelist,omitempty"` + // REGRET STDNORM + LatestRegretStdNorm []*TopicIdAndDec `protobuf:"bytes,92,rep,name=latest_regret_std_norm,json=latestRegretStdNorm,proto3" json:"latest_regret_std_norm,omitempty"` + // WEIGHTS + LatestInfererWeights []*TopicIdActorIdDec `protobuf:"bytes,93,rep,name=latest_inferer_weights,json=latestInfererWeights,proto3" json:"latest_inferer_weights,omitempty"` + LatestForecasterWeights []*TopicIdActorIdDec `protobuf:"bytes,94,rep,name=latest_forecaster_weights,json=latestForecasterWeights,proto3" json:"latest_forecaster_weights,omitempty"` +} + +func (x *GenesisState) Reset() { + *x = GenesisState{} + if protoimpl.UnsafeEnabled { + mi := &file_emissions_v8_genesis_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GenesisState) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GenesisState) ProtoMessage() {} + +// Deprecated: Use GenesisState.ProtoReflect.Descriptor instead. +func (*GenesisState) Descriptor() ([]byte, []int) { + return file_emissions_v8_genesis_proto_rawDescGZIP(), []int{0} +} + +func (x *GenesisState) GetParams() *Params { + if x != nil { + return x.Params + } + return nil +} + +func (x *GenesisState) GetCoreTeamAddresses() []string { + if x != nil { + return x.CoreTeamAddresses + } + return nil +} + +func (x *GenesisState) GetNextTopicId() uint64 { + if x != nil { + return x.NextTopicId + } + return 0 +} + +func (x *GenesisState) GetTopics() []*TopicIdAndTopic { + if x != nil { + return x.Topics + } + return nil +} + +func (x *GenesisState) GetActiveTopics() []uint64 { + if x != nil { + return x.ActiveTopics + } + return nil +} + +func (x *GenesisState) GetRewardableTopics() []uint64 { + if x != nil { + return x.RewardableTopics + } + return nil +} + +func (x *GenesisState) GetTopicWorkers() []*TopicAndActorId { + if x != nil { + return x.TopicWorkers + } + return nil +} + +func (x *GenesisState) GetTopicReputers() []*TopicAndActorId { + if x != nil { + return x.TopicReputers + } + return nil +} + +func (x *GenesisState) GetTopicRewardNonce() []*TopicIdAndBlockHeight { + if x != nil { + return x.TopicRewardNonce + } + return nil +} + +func (x *GenesisState) GetInfererScoresByBlock() []*TopicIdBlockHeightScores { + if x != nil { + return x.InfererScoresByBlock + } + return nil +} + +func (x *GenesisState) GetForecasterScoresByBlock() []*TopicIdBlockHeightScores { + if x != nil { + return x.ForecasterScoresByBlock + } + return nil +} + +func (x *GenesisState) GetReputerScoresByBlock() []*TopicIdBlockHeightScores { + if x != nil { + return x.ReputerScoresByBlock + } + return nil +} + +func (x *GenesisState) GetReputerListeningCoefficient() []*TopicIdActorIdListeningCoefficient { + if x != nil { + return x.ReputerListeningCoefficient + } + return nil +} + +func (x *GenesisState) GetPreviousReputerRewardFraction() []*TopicIdActorIdDec { + if x != nil { + return x.PreviousReputerRewardFraction + } + return nil +} + +func (x *GenesisState) GetPreviousInferenceRewardFraction() []*TopicIdActorIdDec { + if x != nil { + return x.PreviousInferenceRewardFraction + } + return nil +} + +func (x *GenesisState) GetPreviousForecastRewardFraction() []*TopicIdActorIdDec { + if x != nil { + return x.PreviousForecastRewardFraction + } + return nil +} + +func (x *GenesisState) GetPreviousForecasterScoreRatio() []*TopicIdAndDec { + if x != nil { + return x.PreviousForecasterScoreRatio + } + return nil +} + +func (x *GenesisState) GetTotalStake() string { + if x != nil { + return x.TotalStake + } + return "" +} + +func (x *GenesisState) GetTopicStake() []*TopicIdAndInt { + if x != nil { + return x.TopicStake + } + return nil +} + +func (x *GenesisState) GetStakeReputerAuthority() []*TopicIdActorIdInt { + if x != nil { + return x.StakeReputerAuthority + } + return nil +} + +func (x *GenesisState) GetStakeSumFromDelegator() []*TopicIdActorIdInt { + if x != nil { + return x.StakeSumFromDelegator + } + return nil +} + +func (x *GenesisState) GetDelegatedStakes() []*TopicIdDelegatorReputerDelegatorInfo { + if x != nil { + return x.DelegatedStakes + } + return nil +} + +func (x *GenesisState) GetStakeFromDelegatorsUponReputer() []*TopicIdActorIdInt { + if x != nil { + return x.StakeFromDelegatorsUponReputer + } + return nil +} + +func (x *GenesisState) GetDelegateRewardPerShare() []*TopicIdActorIdDec { + if x != nil { + return x.DelegateRewardPerShare + } + return nil +} + +func (x *GenesisState) GetStakeRemovalsByBlock() []*BlockHeightTopicIdReputerStakeRemovalInfo { + if x != nil { + return x.StakeRemovalsByBlock + } + return nil +} + +func (x *GenesisState) GetStakeRemovalsByActor() []*ActorIdTopicIdBlockHeight { + if x != nil { + return x.StakeRemovalsByActor + } + return nil +} + +func (x *GenesisState) GetDelegateStakeRemovalsByBlock() []*BlockHeightTopicIdDelegatorReputerDelegateStakeRemovalInfo { + if x != nil { + return x.DelegateStakeRemovalsByBlock + } + return nil +} + +func (x *GenesisState) GetDelegateStakeRemovalsByActor() []*DelegatorReputerTopicIdBlockHeight { + if x != nil { + return x.DelegateStakeRemovalsByActor + } + return nil +} + +func (x *GenesisState) GetInferences() []*TopicIdActorIdInference { + if x != nil { + return x.Inferences + } + return nil +} + +func (x *GenesisState) GetForecasts() []*TopicIdActorIdForecast { + if x != nil { + return x.Forecasts + } + return nil +} + +func (x *GenesisState) GetWorkers() []*LibP2PKeyAndOffchainNode { + if x != nil { + return x.Workers + } + return nil +} + +func (x *GenesisState) GetReputers() []*LibP2PKeyAndOffchainNode { + if x != nil { + return x.Reputers + } + return nil +} + +func (x *GenesisState) GetTopicFeeRevenue() []*TopicIdAndInt { + if x != nil { + return x.TopicFeeRevenue + } + return nil +} + +func (x *GenesisState) GetPreviousTopicWeight() []*TopicIdAndDec { + if x != nil { + return x.PreviousTopicWeight + } + return nil +} + +func (x *GenesisState) GetAllInferences() []*TopicIdBlockHeightInferences { + if x != nil { + return x.AllInferences + } + return nil +} + +func (x *GenesisState) GetAllForecasts() []*TopicIdBlockHeightForecasts { + if x != nil { + return x.AllForecasts + } + return nil +} + +func (x *GenesisState) GetAllLossBundles() []*TopicIdBlockHeightReputerValueBundles { + if x != nil { + return x.AllLossBundles + } + return nil +} + +func (x *GenesisState) GetNetworkLossBundles() []*TopicIdBlockHeightValueBundles { + if x != nil { + return x.NetworkLossBundles + } + return nil +} + +func (x *GenesisState) GetPreviousPercentageRewardToStakedReputers() string { + if x != nil { + return x.PreviousPercentageRewardToStakedReputers + } + return "" +} + +func (x *GenesisState) GetUnfulfilledWorkerNonces() []*TopicIdAndNonces { + if x != nil { + return x.UnfulfilledWorkerNonces + } + return nil +} + +func (x *GenesisState) GetUnfulfilledReputerNonces() []*TopicIdAndReputerRequestNonces { + if x != nil { + return x.UnfulfilledReputerNonces + } + return nil +} + +func (x *GenesisState) GetLatestInfererNetworkRegrets() []*TopicIdActorIdTimeStampedValue { + if x != nil { + return x.LatestInfererNetworkRegrets + } + return nil +} + +func (x *GenesisState) GetLatestForecasterNetworkRegrets() []*TopicIdActorIdTimeStampedValue { + if x != nil { + return x.LatestForecasterNetworkRegrets + } + return nil +} + +func (x *GenesisState) GetLatestOneInForecasterNetworkRegrets() []*TopicIdActorIdActorIdTimeStampedValue { + if x != nil { + return x.LatestOneInForecasterNetworkRegrets + } + return nil +} + +func (x *GenesisState) GetLatestNaiveInfererNetworkRegrets() []*TopicIdActorIdTimeStampedValue { + if x != nil { + return x.LatestNaiveInfererNetworkRegrets + } + return nil +} + +func (x *GenesisState) GetLatestOneOutInfererInfererNetworkRegrets() []*TopicIdActorIdActorIdTimeStampedValue { + if x != nil { + return x.LatestOneOutInfererInfererNetworkRegrets + } + return nil +} + +func (x *GenesisState) GetLatestOneOutInfererForecasterNetworkRegrets() []*TopicIdActorIdActorIdTimeStampedValue { + if x != nil { + return x.LatestOneOutInfererForecasterNetworkRegrets + } + return nil +} + +func (x *GenesisState) GetLatestOneOutForecasterInfererNetworkRegrets() []*TopicIdActorIdActorIdTimeStampedValue { + if x != nil { + return x.LatestOneOutForecasterInfererNetworkRegrets + } + return nil +} + +func (x *GenesisState) GetLatestOneOutForecasterForecasterNetworkRegrets() []*TopicIdActorIdActorIdTimeStampedValue { + if x != nil { + return x.LatestOneOutForecasterForecasterNetworkRegrets + } + return nil +} + +func (x *GenesisState) GetTopicLastWorkerCommit() []*TopicIdTimestampedActorNonce { + if x != nil { + return x.TopicLastWorkerCommit + } + return nil +} + +func (x *GenesisState) GetTopicLastReputerCommit() []*TopicIdTimestampedActorNonce { + if x != nil { + return x.TopicLastReputerCommit + } + return nil +} + +func (x *GenesisState) GetOpenWorkerWindows() []*BlockHeightAndTopicIds { + if x != nil { + return x.OpenWorkerWindows + } + return nil +} + +func (x *GenesisState) GetLastDripBlock() []*TopicIdAndBlockHeight { + if x != nil { + return x.LastDripBlock + } + return nil +} + +func (x *GenesisState) GetTopicToNextPossibleChurningBlock() []*TopicIdAndBlockHeight { + if x != nil { + return x.TopicToNextPossibleChurningBlock + } + return nil +} + +func (x *GenesisState) GetBlockToActiveTopics() []*BlockHeightTopicIds { + if x != nil { + return x.BlockToActiveTopics + } + return nil +} + +func (x *GenesisState) GetBlockToLowestActiveTopicWeight() []*BlockHeightTopicIdWeightPair { + if x != nil { + return x.BlockToLowestActiveTopicWeight + } + return nil +} + +func (x *GenesisState) GetInfererScoreEmas() []*TopicIdActorIdScore { + if x != nil { + return x.InfererScoreEmas + } + return nil +} + +func (x *GenesisState) GetForecasterScoreEmas() []*TopicIdActorIdScore { + if x != nil { + return x.ForecasterScoreEmas + } + return nil +} + +func (x *GenesisState) GetReputerScoreEmas() []*TopicIdActorIdScore { + if x != nil { + return x.ReputerScoreEmas + } + return nil +} + +func (x *GenesisState) GetPreviousTopicQuantileInfererScoreEma() []*TopicIdAndDec { + if x != nil { + return x.PreviousTopicQuantileInfererScoreEma + } + return nil +} + +func (x *GenesisState) GetPreviousTopicQuantileForecasterScoreEma() []*TopicIdAndDec { + if x != nil { + return x.PreviousTopicQuantileForecasterScoreEma + } + return nil +} + +func (x *GenesisState) GetPreviousTopicQuantileReputerScoreEma() []*TopicIdAndDec { + if x != nil { + return x.PreviousTopicQuantileReputerScoreEma + } + return nil +} + +func (x *GenesisState) GetCountInfererInclusionsInTopicActiveSet() []*TopicIdActorIdUint64 { + if x != nil { + return x.CountInfererInclusionsInTopicActiveSet + } + return nil +} + +func (x *GenesisState) GetCountForecasterInclusionsInTopicActiveSet() []*TopicIdActorIdUint64 { + if x != nil { + return x.CountForecasterInclusionsInTopicActiveSet + } + return nil +} + +func (x *GenesisState) GetActiveInferers() []*TopicAndActorId { + if x != nil { + return x.ActiveInferers + } + return nil +} + +func (x *GenesisState) GetActiveForecasters() []*TopicAndActorId { + if x != nil { + return x.ActiveForecasters + } + return nil +} + +func (x *GenesisState) GetLowestInfererScoreEma() []*TopicIdActorIdScore { + if x != nil { + return x.LowestInfererScoreEma + } + return nil +} + +func (x *GenesisState) GetLowestForecasterScoreEma() []*TopicIdActorIdScore { + if x != nil { + return x.LowestForecasterScoreEma + } + return nil +} + +func (x *GenesisState) GetActiveReputers() []*TopicAndActorId { + if x != nil { + return x.ActiveReputers + } + return nil +} + +func (x *GenesisState) GetLowestReputerScoreEma() []*TopicIdActorIdScore { + if x != nil { + return x.LowestReputerScoreEma + } + return nil +} + +func (x *GenesisState) GetLossBundles() []*TopicIdReputerReputerValueBundle { + if x != nil { + return x.LossBundles + } + return nil +} + +func (x *GenesisState) GetTotalSumPreviousTopicWeights() string { + if x != nil { + return x.TotalSumPreviousTopicWeights + } + return "" +} + +func (x *GenesisState) GetRewardCurrentBlockEmission() string { + if x != nil { + return x.RewardCurrentBlockEmission + } + return "" +} + +func (x *GenesisState) GetWhitelistAdmins() []string { + if x != nil { + return x.WhitelistAdmins + } + return nil +} + +func (x *GenesisState) GetGlobalWhitelist() []string { + if x != nil { + return x.GlobalWhitelist + } + return nil +} + +func (x *GenesisState) GetTopicCreatorWhitelist() []string { + if x != nil { + return x.TopicCreatorWhitelist + } + return nil +} + +func (x *GenesisState) GetTopicWorkerWhitelist() []*TopicAndActorId { + if x != nil { + return x.TopicWorkerWhitelist + } + return nil +} + +func (x *GenesisState) GetTopicReputerWhitelist() []*TopicAndActorId { + if x != nil { + return x.TopicReputerWhitelist + } + return nil +} + +func (x *GenesisState) GetTopicWorkerWhitelistEnabled() []uint64 { + if x != nil { + return x.TopicWorkerWhitelistEnabled + } + return nil +} + +func (x *GenesisState) GetTopicReputerWhitelistEnabled() []uint64 { + if x != nil { + return x.TopicReputerWhitelistEnabled + } + return nil +} + +func (x *GenesisState) GetLastMedianInferences() []*TopicIdAndDec { + if x != nil { + return x.LastMedianInferences + } + return nil +} + +func (x *GenesisState) GetMadInferences() []*TopicIdAndDec { + if x != nil { + return x.MadInferences + } + return nil +} + +func (x *GenesisState) GetInitialInfererEmaScore() []*TopicIdAndDec { + if x != nil { + return x.InitialInfererEmaScore + } + return nil +} + +func (x *GenesisState) GetInitialForecasterEmaScore() []*TopicIdAndDec { + if x != nil { + return x.InitialForecasterEmaScore + } + return nil +} + +func (x *GenesisState) GetInitialReputerEmaScore() []*TopicIdAndDec { + if x != nil { + return x.InitialReputerEmaScore + } + return nil +} + +func (x *GenesisState) GetGlobalWorkerWhitelist() []string { + if x != nil { + return x.GlobalWorkerWhitelist + } + return nil +} + +func (x *GenesisState) GetGlobalReputerWhitelist() []string { + if x != nil { + return x.GlobalReputerWhitelist + } + return nil +} + +func (x *GenesisState) GetGlobalAdminWhitelist() []string { + if x != nil { + return x.GlobalAdminWhitelist + } + return nil +} + +func (x *GenesisState) GetLatestRegretStdNorm() []*TopicIdAndDec { + if x != nil { + return x.LatestRegretStdNorm + } + return nil +} + +func (x *GenesisState) GetLatestInfererWeights() []*TopicIdActorIdDec { + if x != nil { + return x.LatestInfererWeights + } + return nil +} + +func (x *GenesisState) GetLatestForecasterWeights() []*TopicIdActorIdDec { + if x != nil { + return x.LatestForecasterWeights + } + return nil +} + +type TopicIdAndTopic struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + TopicId uint64 `protobuf:"varint,1,opt,name=topic_id,json=topicId,proto3" json:"topic_id,omitempty"` + Topic *v3.Topic `protobuf:"bytes,2,opt,name=topic,proto3" json:"topic,omitempty"` +} + +func (x *TopicIdAndTopic) Reset() { + *x = TopicIdAndTopic{} + if protoimpl.UnsafeEnabled { + mi := &file_emissions_v8_genesis_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *TopicIdAndTopic) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*TopicIdAndTopic) ProtoMessage() {} + +// Deprecated: Use TopicIdAndTopic.ProtoReflect.Descriptor instead. +func (*TopicIdAndTopic) Descriptor() ([]byte, []int) { + return file_emissions_v8_genesis_proto_rawDescGZIP(), []int{1} +} + +func (x *TopicIdAndTopic) GetTopicId() uint64 { + if x != nil { + return x.TopicId + } + return 0 +} + +func (x *TopicIdAndTopic) GetTopic() *v3.Topic { + if x != nil { + return x.Topic + } + return nil +} + +type TopicAndActorId struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + TopicId uint64 `protobuf:"varint,1,opt,name=topic_id,json=topicId,proto3" json:"topic_id,omitempty"` + ActorId string `protobuf:"bytes,2,opt,name=actor_id,json=actorId,proto3" json:"actor_id,omitempty"` +} + +func (x *TopicAndActorId) Reset() { + *x = TopicAndActorId{} + if protoimpl.UnsafeEnabled { + mi := &file_emissions_v8_genesis_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *TopicAndActorId) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*TopicAndActorId) ProtoMessage() {} + +// Deprecated: Use TopicAndActorId.ProtoReflect.Descriptor instead. +func (*TopicAndActorId) Descriptor() ([]byte, []int) { + return file_emissions_v8_genesis_proto_rawDescGZIP(), []int{2} +} + +func (x *TopicAndActorId) GetTopicId() uint64 { + if x != nil { + return x.TopicId + } + return 0 +} + +func (x *TopicAndActorId) GetActorId() string { + if x != nil { + return x.ActorId + } + return "" +} + +type TopicIdAndBlockHeight struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + TopicId uint64 `protobuf:"varint,1,opt,name=topic_id,json=topicId,proto3" json:"topic_id,omitempty"` + BlockHeight int64 `protobuf:"varint,2,opt,name=block_height,json=blockHeight,proto3" json:"block_height,omitempty"` +} + +func (x *TopicIdAndBlockHeight) Reset() { + *x = TopicIdAndBlockHeight{} + if protoimpl.UnsafeEnabled { + mi := &file_emissions_v8_genesis_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *TopicIdAndBlockHeight) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*TopicIdAndBlockHeight) ProtoMessage() {} + +// Deprecated: Use TopicIdAndBlockHeight.ProtoReflect.Descriptor instead. +func (*TopicIdAndBlockHeight) Descriptor() ([]byte, []int) { + return file_emissions_v8_genesis_proto_rawDescGZIP(), []int{3} +} + +func (x *TopicIdAndBlockHeight) GetTopicId() uint64 { + if x != nil { + return x.TopicId + } + return 0 +} + +func (x *TopicIdAndBlockHeight) GetBlockHeight() int64 { + if x != nil { + return x.BlockHeight + } + return 0 +} + +type BlockHeightAndTopicIds struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + BlockHeight int64 `protobuf:"varint,1,opt,name=block_height,json=blockHeight,proto3" json:"block_height,omitempty"` + TopicIds []uint64 `protobuf:"varint,2,rep,packed,name=topic_ids,json=topicIds,proto3" json:"topic_ids,omitempty"` +} + +func (x *BlockHeightAndTopicIds) Reset() { + *x = BlockHeightAndTopicIds{} + if protoimpl.UnsafeEnabled { + mi := &file_emissions_v8_genesis_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *BlockHeightAndTopicIds) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*BlockHeightAndTopicIds) ProtoMessage() {} + +// Deprecated: Use BlockHeightAndTopicIds.ProtoReflect.Descriptor instead. +func (*BlockHeightAndTopicIds) Descriptor() ([]byte, []int) { + return file_emissions_v8_genesis_proto_rawDescGZIP(), []int{4} +} + +func (x *BlockHeightAndTopicIds) GetBlockHeight() int64 { + if x != nil { + return x.BlockHeight + } + return 0 +} + +func (x *BlockHeightAndTopicIds) GetTopicIds() []uint64 { + if x != nil { + return x.TopicIds + } + return nil +} + +type TopicIdBlockHeightScores struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + TopicId uint64 `protobuf:"varint,1,opt,name=topic_id,json=topicId,proto3" json:"topic_id,omitempty"` + BlockHeight int64 `protobuf:"varint,2,opt,name=block_height,json=blockHeight,proto3" json:"block_height,omitempty"` + Scores *v3.Scores `protobuf:"bytes,3,opt,name=scores,proto3" json:"scores,omitempty"` +} + +func (x *TopicIdBlockHeightScores) Reset() { + *x = TopicIdBlockHeightScores{} + if protoimpl.UnsafeEnabled { + mi := &file_emissions_v8_genesis_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *TopicIdBlockHeightScores) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*TopicIdBlockHeightScores) ProtoMessage() {} + +// Deprecated: Use TopicIdBlockHeightScores.ProtoReflect.Descriptor instead. +func (*TopicIdBlockHeightScores) Descriptor() ([]byte, []int) { + return file_emissions_v8_genesis_proto_rawDescGZIP(), []int{5} +} + +func (x *TopicIdBlockHeightScores) GetTopicId() uint64 { + if x != nil { + return x.TopicId + } + return 0 +} + +func (x *TopicIdBlockHeightScores) GetBlockHeight() int64 { + if x != nil { + return x.BlockHeight + } + return 0 +} + +func (x *TopicIdBlockHeightScores) GetScores() *v3.Scores { + if x != nil { + return x.Scores + } + return nil +} + +type TopicIdActorIdScore struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + TopicId uint64 `protobuf:"varint,1,opt,name=topic_id,json=topicId,proto3" json:"topic_id,omitempty"` + ActorId string `protobuf:"bytes,2,opt,name=actor_id,json=actorId,proto3" json:"actor_id,omitempty"` + Score *v3.Score `protobuf:"bytes,3,opt,name=score,proto3" json:"score,omitempty"` +} + +func (x *TopicIdActorIdScore) Reset() { + *x = TopicIdActorIdScore{} + if protoimpl.UnsafeEnabled { + mi := &file_emissions_v8_genesis_proto_msgTypes[6] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *TopicIdActorIdScore) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*TopicIdActorIdScore) ProtoMessage() {} + +// Deprecated: Use TopicIdActorIdScore.ProtoReflect.Descriptor instead. +func (*TopicIdActorIdScore) Descriptor() ([]byte, []int) { + return file_emissions_v8_genesis_proto_rawDescGZIP(), []int{6} +} + +func (x *TopicIdActorIdScore) GetTopicId() uint64 { + if x != nil { + return x.TopicId + } + return 0 +} + +func (x *TopicIdActorIdScore) GetActorId() string { + if x != nil { + return x.ActorId + } + return "" +} + +func (x *TopicIdActorIdScore) GetScore() *v3.Score { + if x != nil { + return x.Score + } + return nil +} + +type TopicIdActorIdUint64 struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + TopicId uint64 `protobuf:"varint,1,opt,name=topic_id,json=topicId,proto3" json:"topic_id,omitempty"` + ActorId string `protobuf:"bytes,2,opt,name=actor_id,json=actorId,proto3" json:"actor_id,omitempty"` + Uint64 uint64 `protobuf:"varint,3,opt,name=uint64,proto3" json:"uint64,omitempty"` +} + +func (x *TopicIdActorIdUint64) Reset() { + *x = TopicIdActorIdUint64{} + if protoimpl.UnsafeEnabled { + mi := &file_emissions_v8_genesis_proto_msgTypes[7] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *TopicIdActorIdUint64) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*TopicIdActorIdUint64) ProtoMessage() {} + +// Deprecated: Use TopicIdActorIdUint64.ProtoReflect.Descriptor instead. +func (*TopicIdActorIdUint64) Descriptor() ([]byte, []int) { + return file_emissions_v8_genesis_proto_rawDescGZIP(), []int{7} +} + +func (x *TopicIdActorIdUint64) GetTopicId() uint64 { + if x != nil { + return x.TopicId + } + return 0 +} + +func (x *TopicIdActorIdUint64) GetActorId() string { + if x != nil { + return x.ActorId + } + return "" +} + +func (x *TopicIdActorIdUint64) GetUint64() uint64 { + if x != nil { + return x.Uint64 + } + return 0 +} + +type TopicIdActorIdListeningCoefficient struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + TopicId uint64 `protobuf:"varint,1,opt,name=topic_id,json=topicId,proto3" json:"topic_id,omitempty"` + ActorId string `protobuf:"bytes,2,opt,name=actor_id,json=actorId,proto3" json:"actor_id,omitempty"` + ListeningCoefficient *v3.ListeningCoefficient `protobuf:"bytes,3,opt,name=listening_coefficient,json=listeningCoefficient,proto3" json:"listening_coefficient,omitempty"` +} + +func (x *TopicIdActorIdListeningCoefficient) Reset() { + *x = TopicIdActorIdListeningCoefficient{} + if protoimpl.UnsafeEnabled { + mi := &file_emissions_v8_genesis_proto_msgTypes[8] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *TopicIdActorIdListeningCoefficient) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*TopicIdActorIdListeningCoefficient) ProtoMessage() {} + +// Deprecated: Use TopicIdActorIdListeningCoefficient.ProtoReflect.Descriptor instead. +func (*TopicIdActorIdListeningCoefficient) Descriptor() ([]byte, []int) { + return file_emissions_v8_genesis_proto_rawDescGZIP(), []int{8} +} + +func (x *TopicIdActorIdListeningCoefficient) GetTopicId() uint64 { + if x != nil { + return x.TopicId + } + return 0 +} + +func (x *TopicIdActorIdListeningCoefficient) GetActorId() string { + if x != nil { + return x.ActorId + } + return "" +} + +func (x *TopicIdActorIdListeningCoefficient) GetListeningCoefficient() *v3.ListeningCoefficient { + if x != nil { + return x.ListeningCoefficient + } + return nil +} + +type TopicIdActorIdDec struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + TopicId uint64 `protobuf:"varint,1,opt,name=topic_id,json=topicId,proto3" json:"topic_id,omitempty"` + ActorId string `protobuf:"bytes,2,opt,name=actor_id,json=actorId,proto3" json:"actor_id,omitempty"` + Dec string `protobuf:"bytes,3,opt,name=dec,proto3" json:"dec,omitempty"` +} + +func (x *TopicIdActorIdDec) Reset() { + *x = TopicIdActorIdDec{} + if protoimpl.UnsafeEnabled { + mi := &file_emissions_v8_genesis_proto_msgTypes[9] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *TopicIdActorIdDec) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*TopicIdActorIdDec) ProtoMessage() {} + +// Deprecated: Use TopicIdActorIdDec.ProtoReflect.Descriptor instead. +func (*TopicIdActorIdDec) Descriptor() ([]byte, []int) { + return file_emissions_v8_genesis_proto_rawDescGZIP(), []int{9} +} + +func (x *TopicIdActorIdDec) GetTopicId() uint64 { + if x != nil { + return x.TopicId + } + return 0 +} + +func (x *TopicIdActorIdDec) GetActorId() string { + if x != nil { + return x.ActorId + } + return "" +} + +func (x *TopicIdActorIdDec) GetDec() string { + if x != nil { + return x.Dec + } + return "" +} + +type TopicIdAndInt struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + TopicId uint64 `protobuf:"varint,1,opt,name=topic_id,json=topicId,proto3" json:"topic_id,omitempty"` + Int string `protobuf:"bytes,2,opt,name=int,proto3" json:"int,omitempty"` +} + +func (x *TopicIdAndInt) Reset() { + *x = TopicIdAndInt{} + if protoimpl.UnsafeEnabled { + mi := &file_emissions_v8_genesis_proto_msgTypes[10] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *TopicIdAndInt) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*TopicIdAndInt) ProtoMessage() {} + +// Deprecated: Use TopicIdAndInt.ProtoReflect.Descriptor instead. +func (*TopicIdAndInt) Descriptor() ([]byte, []int) { + return file_emissions_v8_genesis_proto_rawDescGZIP(), []int{10} +} + +func (x *TopicIdAndInt) GetTopicId() uint64 { + if x != nil { + return x.TopicId + } + return 0 +} + +func (x *TopicIdAndInt) GetInt() string { + if x != nil { + return x.Int + } + return "" +} + +type TopicIdActorIdInt struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + TopicId uint64 `protobuf:"varint,1,opt,name=topic_id,json=topicId,proto3" json:"topic_id,omitempty"` + ActorId string `protobuf:"bytes,2,opt,name=actor_id,json=actorId,proto3" json:"actor_id,omitempty"` + Int string `protobuf:"bytes,3,opt,name=int,proto3" json:"int,omitempty"` +} + +func (x *TopicIdActorIdInt) Reset() { + *x = TopicIdActorIdInt{} + if protoimpl.UnsafeEnabled { + mi := &file_emissions_v8_genesis_proto_msgTypes[11] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *TopicIdActorIdInt) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*TopicIdActorIdInt) ProtoMessage() {} + +// Deprecated: Use TopicIdActorIdInt.ProtoReflect.Descriptor instead. +func (*TopicIdActorIdInt) Descriptor() ([]byte, []int) { + return file_emissions_v8_genesis_proto_rawDescGZIP(), []int{11} +} + +func (x *TopicIdActorIdInt) GetTopicId() uint64 { + if x != nil { + return x.TopicId + } + return 0 +} + +func (x *TopicIdActorIdInt) GetActorId() string { + if x != nil { + return x.ActorId + } + return "" +} + +func (x *TopicIdActorIdInt) GetInt() string { + if x != nil { + return x.Int + } + return "" +} + +type TopicIdDelegatorReputerDelegatorInfo struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + TopicId uint64 `protobuf:"varint,1,opt,name=topic_id,json=topicId,proto3" json:"topic_id,omitempty"` + Delegator string `protobuf:"bytes,2,opt,name=delegator,proto3" json:"delegator,omitempty"` + Reputer string `protobuf:"bytes,3,opt,name=reputer,proto3" json:"reputer,omitempty"` + DelegatorInfo *v3.DelegatorInfo `protobuf:"bytes,4,opt,name=delegator_info,json=delegatorInfo,proto3" json:"delegator_info,omitempty"` +} + +func (x *TopicIdDelegatorReputerDelegatorInfo) Reset() { + *x = TopicIdDelegatorReputerDelegatorInfo{} + if protoimpl.UnsafeEnabled { + mi := &file_emissions_v8_genesis_proto_msgTypes[12] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *TopicIdDelegatorReputerDelegatorInfo) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*TopicIdDelegatorReputerDelegatorInfo) ProtoMessage() {} + +// Deprecated: Use TopicIdDelegatorReputerDelegatorInfo.ProtoReflect.Descriptor instead. +func (*TopicIdDelegatorReputerDelegatorInfo) Descriptor() ([]byte, []int) { + return file_emissions_v8_genesis_proto_rawDescGZIP(), []int{12} +} + +func (x *TopicIdDelegatorReputerDelegatorInfo) GetTopicId() uint64 { + if x != nil { + return x.TopicId + } + return 0 +} + +func (x *TopicIdDelegatorReputerDelegatorInfo) GetDelegator() string { + if x != nil { + return x.Delegator + } + return "" +} + +func (x *TopicIdDelegatorReputerDelegatorInfo) GetReputer() string { + if x != nil { + return x.Reputer + } + return "" +} + +func (x *TopicIdDelegatorReputerDelegatorInfo) GetDelegatorInfo() *v3.DelegatorInfo { + if x != nil { + return x.DelegatorInfo + } + return nil +} + +type BlockHeightTopicIdReputerStakeRemovalInfo struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + BlockHeight int64 `protobuf:"varint,1,opt,name=block_height,json=blockHeight,proto3" json:"block_height,omitempty"` + TopicId uint64 `protobuf:"varint,2,opt,name=topic_id,json=topicId,proto3" json:"topic_id,omitempty"` + Reputer string `protobuf:"bytes,3,opt,name=reputer,proto3" json:"reputer,omitempty"` + StakeRemovalInfo *v3.StakeRemovalInfo `protobuf:"bytes,4,opt,name=stake_removal_info,json=stakeRemovalInfo,proto3" json:"stake_removal_info,omitempty"` +} + +func (x *BlockHeightTopicIdReputerStakeRemovalInfo) Reset() { + *x = BlockHeightTopicIdReputerStakeRemovalInfo{} + if protoimpl.UnsafeEnabled { + mi := &file_emissions_v8_genesis_proto_msgTypes[13] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *BlockHeightTopicIdReputerStakeRemovalInfo) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*BlockHeightTopicIdReputerStakeRemovalInfo) ProtoMessage() {} + +// Deprecated: Use BlockHeightTopicIdReputerStakeRemovalInfo.ProtoReflect.Descriptor instead. +func (*BlockHeightTopicIdReputerStakeRemovalInfo) Descriptor() ([]byte, []int) { + return file_emissions_v8_genesis_proto_rawDescGZIP(), []int{13} +} + +func (x *BlockHeightTopicIdReputerStakeRemovalInfo) GetBlockHeight() int64 { + if x != nil { + return x.BlockHeight + } + return 0 +} + +func (x *BlockHeightTopicIdReputerStakeRemovalInfo) GetTopicId() uint64 { + if x != nil { + return x.TopicId + } + return 0 +} + +func (x *BlockHeightTopicIdReputerStakeRemovalInfo) GetReputer() string { + if x != nil { + return x.Reputer + } + return "" +} + +func (x *BlockHeightTopicIdReputerStakeRemovalInfo) GetStakeRemovalInfo() *v3.StakeRemovalInfo { + if x != nil { + return x.StakeRemovalInfo + } + return nil +} + +type ActorIdTopicIdBlockHeight struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + ActorId string `protobuf:"bytes,1,opt,name=actor_id,json=actorId,proto3" json:"actor_id,omitempty"` + TopicId uint64 `protobuf:"varint,2,opt,name=topic_id,json=topicId,proto3" json:"topic_id,omitempty"` + BlockHeight int64 `protobuf:"varint,3,opt,name=block_height,json=blockHeight,proto3" json:"block_height,omitempty"` +} + +func (x *ActorIdTopicIdBlockHeight) Reset() { + *x = ActorIdTopicIdBlockHeight{} + if protoimpl.UnsafeEnabled { + mi := &file_emissions_v8_genesis_proto_msgTypes[14] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ActorIdTopicIdBlockHeight) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ActorIdTopicIdBlockHeight) ProtoMessage() {} + +// Deprecated: Use ActorIdTopicIdBlockHeight.ProtoReflect.Descriptor instead. +func (*ActorIdTopicIdBlockHeight) Descriptor() ([]byte, []int) { + return file_emissions_v8_genesis_proto_rawDescGZIP(), []int{14} +} + +func (x *ActorIdTopicIdBlockHeight) GetActorId() string { + if x != nil { + return x.ActorId + } + return "" +} + +func (x *ActorIdTopicIdBlockHeight) GetTopicId() uint64 { + if x != nil { + return x.TopicId + } + return 0 +} + +func (x *ActorIdTopicIdBlockHeight) GetBlockHeight() int64 { + if x != nil { + return x.BlockHeight + } + return 0 +} + +type BlockHeightTopicIdDelegatorReputerDelegateStakeRemovalInfo struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + BlockHeight int64 `protobuf:"varint,1,opt,name=block_height,json=blockHeight,proto3" json:"block_height,omitempty"` + TopicId uint64 `protobuf:"varint,2,opt,name=topic_id,json=topicId,proto3" json:"topic_id,omitempty"` + Delegator string `protobuf:"bytes,3,opt,name=delegator,proto3" json:"delegator,omitempty"` + Reputer string `protobuf:"bytes,4,opt,name=reputer,proto3" json:"reputer,omitempty"` + DelegateStakeRemovalInfo *v3.DelegateStakeRemovalInfo `protobuf:"bytes,5,opt,name=delegate_stake_removal_info,json=delegateStakeRemovalInfo,proto3" json:"delegate_stake_removal_info,omitempty"` +} + +func (x *BlockHeightTopicIdDelegatorReputerDelegateStakeRemovalInfo) Reset() { + *x = BlockHeightTopicIdDelegatorReputerDelegateStakeRemovalInfo{} + if protoimpl.UnsafeEnabled { + mi := &file_emissions_v8_genesis_proto_msgTypes[15] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *BlockHeightTopicIdDelegatorReputerDelegateStakeRemovalInfo) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*BlockHeightTopicIdDelegatorReputerDelegateStakeRemovalInfo) ProtoMessage() {} + +// Deprecated: Use BlockHeightTopicIdDelegatorReputerDelegateStakeRemovalInfo.ProtoReflect.Descriptor instead. +func (*BlockHeightTopicIdDelegatorReputerDelegateStakeRemovalInfo) Descriptor() ([]byte, []int) { + return file_emissions_v8_genesis_proto_rawDescGZIP(), []int{15} +} + +func (x *BlockHeightTopicIdDelegatorReputerDelegateStakeRemovalInfo) GetBlockHeight() int64 { + if x != nil { + return x.BlockHeight + } + return 0 +} + +func (x *BlockHeightTopicIdDelegatorReputerDelegateStakeRemovalInfo) GetTopicId() uint64 { + if x != nil { + return x.TopicId + } + return 0 +} + +func (x *BlockHeightTopicIdDelegatorReputerDelegateStakeRemovalInfo) GetDelegator() string { + if x != nil { + return x.Delegator + } + return "" +} + +func (x *BlockHeightTopicIdDelegatorReputerDelegateStakeRemovalInfo) GetReputer() string { + if x != nil { + return x.Reputer + } + return "" +} + +func (x *BlockHeightTopicIdDelegatorReputerDelegateStakeRemovalInfo) GetDelegateStakeRemovalInfo() *v3.DelegateStakeRemovalInfo { + if x != nil { + return x.DelegateStakeRemovalInfo + } + return nil +} + +type DelegatorReputerTopicIdBlockHeight struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Delegator string `protobuf:"bytes,1,opt,name=delegator,proto3" json:"delegator,omitempty"` + Reputer string `protobuf:"bytes,2,opt,name=reputer,proto3" json:"reputer,omitempty"` + TopicId uint64 `protobuf:"varint,3,opt,name=topic_id,json=topicId,proto3" json:"topic_id,omitempty"` + BlockHeight int64 `protobuf:"varint,4,opt,name=block_height,json=blockHeight,proto3" json:"block_height,omitempty"` +} + +func (x *DelegatorReputerTopicIdBlockHeight) Reset() { + *x = DelegatorReputerTopicIdBlockHeight{} + if protoimpl.UnsafeEnabled { + mi := &file_emissions_v8_genesis_proto_msgTypes[16] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *DelegatorReputerTopicIdBlockHeight) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*DelegatorReputerTopicIdBlockHeight) ProtoMessage() {} + +// Deprecated: Use DelegatorReputerTopicIdBlockHeight.ProtoReflect.Descriptor instead. +func (*DelegatorReputerTopicIdBlockHeight) Descriptor() ([]byte, []int) { + return file_emissions_v8_genesis_proto_rawDescGZIP(), []int{16} +} + +func (x *DelegatorReputerTopicIdBlockHeight) GetDelegator() string { + if x != nil { + return x.Delegator + } + return "" +} + +func (x *DelegatorReputerTopicIdBlockHeight) GetReputer() string { + if x != nil { + return x.Reputer + } + return "" +} + +func (x *DelegatorReputerTopicIdBlockHeight) GetTopicId() uint64 { + if x != nil { + return x.TopicId + } + return 0 +} + +func (x *DelegatorReputerTopicIdBlockHeight) GetBlockHeight() int64 { + if x != nil { + return x.BlockHeight + } + return 0 +} + +type TopicIdActorIdInference struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + TopicId uint64 `protobuf:"varint,1,opt,name=topic_id,json=topicId,proto3" json:"topic_id,omitempty"` + ActorId string `protobuf:"bytes,2,opt,name=actor_id,json=actorId,proto3" json:"actor_id,omitempty"` + Inference *v3.Inference `protobuf:"bytes,3,opt,name=inference,proto3" json:"inference,omitempty"` +} + +func (x *TopicIdActorIdInference) Reset() { + *x = TopicIdActorIdInference{} + if protoimpl.UnsafeEnabled { + mi := &file_emissions_v8_genesis_proto_msgTypes[17] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *TopicIdActorIdInference) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*TopicIdActorIdInference) ProtoMessage() {} + +// Deprecated: Use TopicIdActorIdInference.ProtoReflect.Descriptor instead. +func (*TopicIdActorIdInference) Descriptor() ([]byte, []int) { + return file_emissions_v8_genesis_proto_rawDescGZIP(), []int{17} +} + +func (x *TopicIdActorIdInference) GetTopicId() uint64 { + if x != nil { + return x.TopicId + } + return 0 +} + +func (x *TopicIdActorIdInference) GetActorId() string { + if x != nil { + return x.ActorId + } + return "" +} + +func (x *TopicIdActorIdInference) GetInference() *v3.Inference { + if x != nil { + return x.Inference + } + return nil +} + +type TopicIdActorIdForecast struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + TopicId uint64 `protobuf:"varint,1,opt,name=topic_id,json=topicId,proto3" json:"topic_id,omitempty"` + ActorId string `protobuf:"bytes,2,opt,name=actor_id,json=actorId,proto3" json:"actor_id,omitempty"` + Forecast *v3.Forecast `protobuf:"bytes,3,opt,name=forecast,proto3" json:"forecast,omitempty"` +} + +func (x *TopicIdActorIdForecast) Reset() { + *x = TopicIdActorIdForecast{} + if protoimpl.UnsafeEnabled { + mi := &file_emissions_v8_genesis_proto_msgTypes[18] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *TopicIdActorIdForecast) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*TopicIdActorIdForecast) ProtoMessage() {} + +// Deprecated: Use TopicIdActorIdForecast.ProtoReflect.Descriptor instead. +func (*TopicIdActorIdForecast) Descriptor() ([]byte, []int) { + return file_emissions_v8_genesis_proto_rawDescGZIP(), []int{18} +} + +func (x *TopicIdActorIdForecast) GetTopicId() uint64 { + if x != nil { + return x.TopicId + } + return 0 +} + +func (x *TopicIdActorIdForecast) GetActorId() string { + if x != nil { + return x.ActorId + } + return "" +} + +func (x *TopicIdActorIdForecast) GetForecast() *v3.Forecast { + if x != nil { + return x.Forecast + } + return nil +} + +type LibP2PKeyAndOffchainNode struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + LibP2PKey string `protobuf:"bytes,1,opt,name=lib_p2p_key,json=libP2pKey,proto3" json:"lib_p2p_key,omitempty"` + OffchainNode *v3.OffchainNode `protobuf:"bytes,2,opt,name=offchain_node,json=offchainNode,proto3" json:"offchain_node,omitempty"` +} + +func (x *LibP2PKeyAndOffchainNode) Reset() { + *x = LibP2PKeyAndOffchainNode{} + if protoimpl.UnsafeEnabled { + mi := &file_emissions_v8_genesis_proto_msgTypes[19] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *LibP2PKeyAndOffchainNode) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*LibP2PKeyAndOffchainNode) ProtoMessage() {} + +// Deprecated: Use LibP2PKeyAndOffchainNode.ProtoReflect.Descriptor instead. +func (*LibP2PKeyAndOffchainNode) Descriptor() ([]byte, []int) { + return file_emissions_v8_genesis_proto_rawDescGZIP(), []int{19} +} + +func (x *LibP2PKeyAndOffchainNode) GetLibP2PKey() string { + if x != nil { + return x.LibP2PKey + } + return "" +} + +func (x *LibP2PKeyAndOffchainNode) GetOffchainNode() *v3.OffchainNode { + if x != nil { + return x.OffchainNode + } + return nil +} + +type TopicIdAndDec struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + TopicId uint64 `protobuf:"varint,1,opt,name=topic_id,json=topicId,proto3" json:"topic_id,omitempty"` + Dec string `protobuf:"bytes,2,opt,name=dec,proto3" json:"dec,omitempty"` +} + +func (x *TopicIdAndDec) Reset() { + *x = TopicIdAndDec{} + if protoimpl.UnsafeEnabled { + mi := &file_emissions_v8_genesis_proto_msgTypes[20] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *TopicIdAndDec) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*TopicIdAndDec) ProtoMessage() {} + +// Deprecated: Use TopicIdAndDec.ProtoReflect.Descriptor instead. +func (*TopicIdAndDec) Descriptor() ([]byte, []int) { + return file_emissions_v8_genesis_proto_rawDescGZIP(), []int{20} +} + +func (x *TopicIdAndDec) GetTopicId() uint64 { + if x != nil { + return x.TopicId + } + return 0 +} + +func (x *TopicIdAndDec) GetDec() string { + if x != nil { + return x.Dec + } + return "" +} + +type TopicIdBlockHeightInferences struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + TopicId uint64 `protobuf:"varint,1,opt,name=topic_id,json=topicId,proto3" json:"topic_id,omitempty"` + BlockHeight int64 `protobuf:"varint,2,opt,name=block_height,json=blockHeight,proto3" json:"block_height,omitempty"` + Inferences *v3.Inferences `protobuf:"bytes,3,opt,name=inferences,proto3" json:"inferences,omitempty"` +} + +func (x *TopicIdBlockHeightInferences) Reset() { + *x = TopicIdBlockHeightInferences{} + if protoimpl.UnsafeEnabled { + mi := &file_emissions_v8_genesis_proto_msgTypes[21] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *TopicIdBlockHeightInferences) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*TopicIdBlockHeightInferences) ProtoMessage() {} + +// Deprecated: Use TopicIdBlockHeightInferences.ProtoReflect.Descriptor instead. +func (*TopicIdBlockHeightInferences) Descriptor() ([]byte, []int) { + return file_emissions_v8_genesis_proto_rawDescGZIP(), []int{21} +} + +func (x *TopicIdBlockHeightInferences) GetTopicId() uint64 { + if x != nil { + return x.TopicId + } + return 0 +} + +func (x *TopicIdBlockHeightInferences) GetBlockHeight() int64 { + if x != nil { + return x.BlockHeight + } + return 0 +} + +func (x *TopicIdBlockHeightInferences) GetInferences() *v3.Inferences { + if x != nil { + return x.Inferences + } + return nil +} + +type TopicIdBlockHeightForecasts struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + TopicId uint64 `protobuf:"varint,1,opt,name=topic_id,json=topicId,proto3" json:"topic_id,omitempty"` + BlockHeight int64 `protobuf:"varint,2,opt,name=block_height,json=blockHeight,proto3" json:"block_height,omitempty"` + Forecasts *v3.Forecasts `protobuf:"bytes,3,opt,name=forecasts,proto3" json:"forecasts,omitempty"` +} + +func (x *TopicIdBlockHeightForecasts) Reset() { + *x = TopicIdBlockHeightForecasts{} + if protoimpl.UnsafeEnabled { + mi := &file_emissions_v8_genesis_proto_msgTypes[22] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *TopicIdBlockHeightForecasts) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*TopicIdBlockHeightForecasts) ProtoMessage() {} + +// Deprecated: Use TopicIdBlockHeightForecasts.ProtoReflect.Descriptor instead. +func (*TopicIdBlockHeightForecasts) Descriptor() ([]byte, []int) { + return file_emissions_v8_genesis_proto_rawDescGZIP(), []int{22} +} + +func (x *TopicIdBlockHeightForecasts) GetTopicId() uint64 { + if x != nil { + return x.TopicId + } + return 0 +} + +func (x *TopicIdBlockHeightForecasts) GetBlockHeight() int64 { + if x != nil { + return x.BlockHeight + } + return 0 +} + +func (x *TopicIdBlockHeightForecasts) GetForecasts() *v3.Forecasts { + if x != nil { + return x.Forecasts + } + return nil +} + +type TopicIdBlockHeightReputerValueBundles struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + TopicId uint64 `protobuf:"varint,1,opt,name=topic_id,json=topicId,proto3" json:"topic_id,omitempty"` + BlockHeight int64 `protobuf:"varint,2,opt,name=block_height,json=blockHeight,proto3" json:"block_height,omitempty"` + ReputerValueBundles *v3.ReputerValueBundles `protobuf:"bytes,3,opt,name=reputer_value_bundles,json=reputerValueBundles,proto3" json:"reputer_value_bundles,omitempty"` +} + +func (x *TopicIdBlockHeightReputerValueBundles) Reset() { + *x = TopicIdBlockHeightReputerValueBundles{} + if protoimpl.UnsafeEnabled { + mi := &file_emissions_v8_genesis_proto_msgTypes[23] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *TopicIdBlockHeightReputerValueBundles) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*TopicIdBlockHeightReputerValueBundles) ProtoMessage() {} + +// Deprecated: Use TopicIdBlockHeightReputerValueBundles.ProtoReflect.Descriptor instead. +func (*TopicIdBlockHeightReputerValueBundles) Descriptor() ([]byte, []int) { + return file_emissions_v8_genesis_proto_rawDescGZIP(), []int{23} +} + +func (x *TopicIdBlockHeightReputerValueBundles) GetTopicId() uint64 { + if x != nil { + return x.TopicId + } + return 0 +} + +func (x *TopicIdBlockHeightReputerValueBundles) GetBlockHeight() int64 { + if x != nil { + return x.BlockHeight + } + return 0 +} + +func (x *TopicIdBlockHeightReputerValueBundles) GetReputerValueBundles() *v3.ReputerValueBundles { + if x != nil { + return x.ReputerValueBundles + } + return nil +} + +type TopicIdBlockHeightValueBundles struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + TopicId uint64 `protobuf:"varint,1,opt,name=topic_id,json=topicId,proto3" json:"topic_id,omitempty"` + BlockHeight int64 `protobuf:"varint,2,opt,name=block_height,json=blockHeight,proto3" json:"block_height,omitempty"` + ValueBundle *v3.ValueBundle `protobuf:"bytes,3,opt,name=value_bundle,json=valueBundle,proto3" json:"value_bundle,omitempty"` +} + +func (x *TopicIdBlockHeightValueBundles) Reset() { + *x = TopicIdBlockHeightValueBundles{} + if protoimpl.UnsafeEnabled { + mi := &file_emissions_v8_genesis_proto_msgTypes[24] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *TopicIdBlockHeightValueBundles) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*TopicIdBlockHeightValueBundles) ProtoMessage() {} + +// Deprecated: Use TopicIdBlockHeightValueBundles.ProtoReflect.Descriptor instead. +func (*TopicIdBlockHeightValueBundles) Descriptor() ([]byte, []int) { + return file_emissions_v8_genesis_proto_rawDescGZIP(), []int{24} +} + +func (x *TopicIdBlockHeightValueBundles) GetTopicId() uint64 { + if x != nil { + return x.TopicId + } + return 0 +} + +func (x *TopicIdBlockHeightValueBundles) GetBlockHeight() int64 { + if x != nil { + return x.BlockHeight + } + return 0 +} + +func (x *TopicIdBlockHeightValueBundles) GetValueBundle() *v3.ValueBundle { + if x != nil { + return x.ValueBundle + } + return nil +} + +type TopicIdAndNonces struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + TopicId uint64 `protobuf:"varint,1,opt,name=topic_id,json=topicId,proto3" json:"topic_id,omitempty"` + Nonces *v3.Nonces `protobuf:"bytes,2,opt,name=nonces,proto3" json:"nonces,omitempty"` +} + +func (x *TopicIdAndNonces) Reset() { + *x = TopicIdAndNonces{} + if protoimpl.UnsafeEnabled { + mi := &file_emissions_v8_genesis_proto_msgTypes[25] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *TopicIdAndNonces) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*TopicIdAndNonces) ProtoMessage() {} + +// Deprecated: Use TopicIdAndNonces.ProtoReflect.Descriptor instead. +func (*TopicIdAndNonces) Descriptor() ([]byte, []int) { + return file_emissions_v8_genesis_proto_rawDescGZIP(), []int{25} +} + +func (x *TopicIdAndNonces) GetTopicId() uint64 { + if x != nil { + return x.TopicId + } + return 0 +} + +func (x *TopicIdAndNonces) GetNonces() *v3.Nonces { + if x != nil { + return x.Nonces + } + return nil +} + +type TopicIdAndReputerRequestNonces struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + TopicId uint64 `protobuf:"varint,1,opt,name=topic_id,json=topicId,proto3" json:"topic_id,omitempty"` + ReputerRequestNonces *v3.ReputerRequestNonces `protobuf:"bytes,2,opt,name=reputer_request_nonces,json=reputerRequestNonces,proto3" json:"reputer_request_nonces,omitempty"` +} + +func (x *TopicIdAndReputerRequestNonces) Reset() { + *x = TopicIdAndReputerRequestNonces{} + if protoimpl.UnsafeEnabled { + mi := &file_emissions_v8_genesis_proto_msgTypes[26] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *TopicIdAndReputerRequestNonces) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*TopicIdAndReputerRequestNonces) ProtoMessage() {} + +// Deprecated: Use TopicIdAndReputerRequestNonces.ProtoReflect.Descriptor instead. +func (*TopicIdAndReputerRequestNonces) Descriptor() ([]byte, []int) { + return file_emissions_v8_genesis_proto_rawDescGZIP(), []int{26} +} + +func (x *TopicIdAndReputerRequestNonces) GetTopicId() uint64 { + if x != nil { + return x.TopicId + } + return 0 +} + +func (x *TopicIdAndReputerRequestNonces) GetReputerRequestNonces() *v3.ReputerRequestNonces { + if x != nil { + return x.ReputerRequestNonces + } + return nil +} + +type TopicIdActorIdTimeStampedValue struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + TopicId uint64 `protobuf:"varint,1,opt,name=topic_id,json=topicId,proto3" json:"topic_id,omitempty"` + ActorId string `protobuf:"bytes,2,opt,name=actor_id,json=actorId,proto3" json:"actor_id,omitempty"` + TimestampedValue *v3.TimestampedValue `protobuf:"bytes,3,opt,name=timestamped_value,json=timestampedValue,proto3" json:"timestamped_value,omitempty"` +} + +func (x *TopicIdActorIdTimeStampedValue) Reset() { + *x = TopicIdActorIdTimeStampedValue{} + if protoimpl.UnsafeEnabled { + mi := &file_emissions_v8_genesis_proto_msgTypes[27] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *TopicIdActorIdTimeStampedValue) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*TopicIdActorIdTimeStampedValue) ProtoMessage() {} + +// Deprecated: Use TopicIdActorIdTimeStampedValue.ProtoReflect.Descriptor instead. +func (*TopicIdActorIdTimeStampedValue) Descriptor() ([]byte, []int) { + return file_emissions_v8_genesis_proto_rawDescGZIP(), []int{27} +} + +func (x *TopicIdActorIdTimeStampedValue) GetTopicId() uint64 { + if x != nil { + return x.TopicId + } + return 0 +} + +func (x *TopicIdActorIdTimeStampedValue) GetActorId() string { + if x != nil { + return x.ActorId + } + return "" +} + +func (x *TopicIdActorIdTimeStampedValue) GetTimestampedValue() *v3.TimestampedValue { + if x != nil { + return x.TimestampedValue + } + return nil +} + +type TopicIdActorIdActorIdTimeStampedValue struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + TopicId uint64 `protobuf:"varint,1,opt,name=topic_id,json=topicId,proto3" json:"topic_id,omitempty"` + ActorId1 string `protobuf:"bytes,2,opt,name=actor_id1,json=actorId1,proto3" json:"actor_id1,omitempty"` + ActorId2 string `protobuf:"bytes,3,opt,name=actor_id2,json=actorId2,proto3" json:"actor_id2,omitempty"` + TimestampedValue *v3.TimestampedValue `protobuf:"bytes,4,opt,name=timestamped_value,json=timestampedValue,proto3" json:"timestamped_value,omitempty"` +} + +func (x *TopicIdActorIdActorIdTimeStampedValue) Reset() { + *x = TopicIdActorIdActorIdTimeStampedValue{} + if protoimpl.UnsafeEnabled { + mi := &file_emissions_v8_genesis_proto_msgTypes[28] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *TopicIdActorIdActorIdTimeStampedValue) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*TopicIdActorIdActorIdTimeStampedValue) ProtoMessage() {} + +// Deprecated: Use TopicIdActorIdActorIdTimeStampedValue.ProtoReflect.Descriptor instead. +func (*TopicIdActorIdActorIdTimeStampedValue) Descriptor() ([]byte, []int) { + return file_emissions_v8_genesis_proto_rawDescGZIP(), []int{28} +} + +func (x *TopicIdActorIdActorIdTimeStampedValue) GetTopicId() uint64 { + if x != nil { + return x.TopicId + } + return 0 +} + +func (x *TopicIdActorIdActorIdTimeStampedValue) GetActorId1() string { + if x != nil { + return x.ActorId1 + } + return "" +} + +func (x *TopicIdActorIdActorIdTimeStampedValue) GetActorId2() string { + if x != nil { + return x.ActorId2 + } + return "" +} + +func (x *TopicIdActorIdActorIdTimeStampedValue) GetTimestampedValue() *v3.TimestampedValue { + if x != nil { + return x.TimestampedValue + } + return nil +} + +type TopicIdTimestampedActorNonce struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + TopicId uint64 `protobuf:"varint,1,opt,name=topic_id,json=topicId,proto3" json:"topic_id,omitempty"` + TimestampedActorNonce *v3.TimestampedActorNonce `protobuf:"bytes,2,opt,name=timestamped_actor_nonce,json=timestampedActorNonce,proto3" json:"timestamped_actor_nonce,omitempty"` +} + +func (x *TopicIdTimestampedActorNonce) Reset() { + *x = TopicIdTimestampedActorNonce{} + if protoimpl.UnsafeEnabled { + mi := &file_emissions_v8_genesis_proto_msgTypes[29] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *TopicIdTimestampedActorNonce) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*TopicIdTimestampedActorNonce) ProtoMessage() {} + +// Deprecated: Use TopicIdTimestampedActorNonce.ProtoReflect.Descriptor instead. +func (*TopicIdTimestampedActorNonce) Descriptor() ([]byte, []int) { + return file_emissions_v8_genesis_proto_rawDescGZIP(), []int{29} +} + +func (x *TopicIdTimestampedActorNonce) GetTopicId() uint64 { + if x != nil { + return x.TopicId + } + return 0 +} + +func (x *TopicIdTimestampedActorNonce) GetTimestampedActorNonce() *v3.TimestampedActorNonce { + if x != nil { + return x.TimestampedActorNonce + } + return nil +} + +type BlockHeightTopicIds struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + BlockHeight int64 `protobuf:"varint,1,opt,name=block_height,json=blockHeight,proto3" json:"block_height,omitempty"` + TopicIds *v3.TopicIds `protobuf:"bytes,2,opt,name=topic_ids,json=topicIds,proto3" json:"topic_ids,omitempty"` +} + +func (x *BlockHeightTopicIds) Reset() { + *x = BlockHeightTopicIds{} + if protoimpl.UnsafeEnabled { + mi := &file_emissions_v8_genesis_proto_msgTypes[30] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *BlockHeightTopicIds) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*BlockHeightTopicIds) ProtoMessage() {} + +// Deprecated: Use BlockHeightTopicIds.ProtoReflect.Descriptor instead. +func (*BlockHeightTopicIds) Descriptor() ([]byte, []int) { + return file_emissions_v8_genesis_proto_rawDescGZIP(), []int{30} +} + +func (x *BlockHeightTopicIds) GetBlockHeight() int64 { + if x != nil { + return x.BlockHeight + } + return 0 +} + +func (x *BlockHeightTopicIds) GetTopicIds() *v3.TopicIds { + if x != nil { + return x.TopicIds + } + return nil +} + +type BlockHeightTopicIdWeightPair struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + BlockHeight int64 `protobuf:"varint,1,opt,name=block_height,json=blockHeight,proto3" json:"block_height,omitempty"` + TopicWeight *v3.TopicIdWeightPair `protobuf:"bytes,2,opt,name=topic_weight,json=topicWeight,proto3" json:"topic_weight,omitempty"` +} + +func (x *BlockHeightTopicIdWeightPair) Reset() { + *x = BlockHeightTopicIdWeightPair{} + if protoimpl.UnsafeEnabled { + mi := &file_emissions_v8_genesis_proto_msgTypes[31] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *BlockHeightTopicIdWeightPair) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*BlockHeightTopicIdWeightPair) ProtoMessage() {} + +// Deprecated: Use BlockHeightTopicIdWeightPair.ProtoReflect.Descriptor instead. +func (*BlockHeightTopicIdWeightPair) Descriptor() ([]byte, []int) { + return file_emissions_v8_genesis_proto_rawDescGZIP(), []int{31} +} + +func (x *BlockHeightTopicIdWeightPair) GetBlockHeight() int64 { + if x != nil { + return x.BlockHeight + } + return 0 +} + +func (x *BlockHeightTopicIdWeightPair) GetTopicWeight() *v3.TopicIdWeightPair { + if x != nil { + return x.TopicWeight + } + return nil +} + +type TopicIdReputerReputerValueBundle struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + TopicId uint64 `protobuf:"varint,1,opt,name=topic_id,json=topicId,proto3" json:"topic_id,omitempty"` + Reputer string `protobuf:"bytes,2,opt,name=reputer,proto3" json:"reputer,omitempty"` + ReputerValueBundle *v3.ReputerValueBundle `protobuf:"bytes,3,opt,name=reputer_value_bundle,json=reputerValueBundle,proto3" json:"reputer_value_bundle,omitempty"` +} + +func (x *TopicIdReputerReputerValueBundle) Reset() { + *x = TopicIdReputerReputerValueBundle{} + if protoimpl.UnsafeEnabled { + mi := &file_emissions_v8_genesis_proto_msgTypes[32] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *TopicIdReputerReputerValueBundle) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*TopicIdReputerReputerValueBundle) ProtoMessage() {} + +// Deprecated: Use TopicIdReputerReputerValueBundle.ProtoReflect.Descriptor instead. +func (*TopicIdReputerReputerValueBundle) Descriptor() ([]byte, []int) { + return file_emissions_v8_genesis_proto_rawDescGZIP(), []int{32} +} + +func (x *TopicIdReputerReputerValueBundle) GetTopicId() uint64 { + if x != nil { + return x.TopicId + } + return 0 +} + +func (x *TopicIdReputerReputerValueBundle) GetReputer() string { + if x != nil { + return x.Reputer + } + return "" +} + +func (x *TopicIdReputerReputerValueBundle) GetReputerValueBundle() *v3.ReputerValueBundle { + if x != nil { + return x.ReputerValueBundle + } + return nil +} + +var File_emissions_v8_genesis_proto protoreflect.FileDescriptor + +var file_emissions_v8_genesis_proto_rawDesc = []byte{ + 0x0a, 0x1a, 0x65, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x76, 0x38, 0x2f, 0x67, + 0x65, 0x6e, 0x65, 0x73, 0x69, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x0c, 0x65, 0x6d, + 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x38, 0x1a, 0x11, 0x61, 0x6d, 0x69, 0x6e, + 0x6f, 0x2f, 0x61, 0x6d, 0x69, 0x6e, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x19, 0x63, + 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x5f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x63, 0x6f, 0x73, 0x6d, + 0x6f, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x17, 0x65, 0x6d, 0x69, 0x73, 0x73, 0x69, + 0x6f, 0x6e, 0x73, 0x2f, 0x76, 0x33, 0x2f, 0x6e, 0x6f, 0x64, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x1a, 0x18, 0x65, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x76, 0x33, 0x2f, + 0x6e, 0x6f, 0x6e, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1a, 0x65, 0x6d, 0x69, + 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x76, 0x33, 0x2f, 0x72, 0x65, 0x70, 0x75, 0x74, 0x65, + 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x18, 0x65, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, + 0x6e, 0x73, 0x2f, 0x76, 0x33, 0x2f, 0x73, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x1a, 0x18, 0x65, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x76, 0x33, 0x2f, + 0x73, 0x74, 0x61, 0x6b, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x18, 0x65, 0x6d, 0x69, + 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x76, 0x33, 0x2f, 0x74, 0x6f, 0x70, 0x69, 0x63, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x18, 0x65, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, + 0x2f, 0x76, 0x33, 0x2f, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, + 0x19, 0x65, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x76, 0x33, 0x2f, 0x77, 0x6f, + 0x72, 0x6b, 0x65, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x19, 0x65, 0x6d, 0x69, 0x73, + 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x76, 0x38, 0x2f, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x14, 0x67, 0x6f, 0x67, 0x6f, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x2f, 0x67, 0x6f, 0x67, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xcf, 0x42, 0x0a, 0x0c, + 0x47, 0x65, 0x6e, 0x65, 0x73, 0x69, 0x73, 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x32, 0x0a, 0x06, + 0x70, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x65, + 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x38, 0x2e, 0x50, 0x61, 0x72, 0x61, + 0x6d, 0x73, 0x42, 0x04, 0xc8, 0xde, 0x1f, 0x00, 0x52, 0x06, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x73, + 0x12, 0x2e, 0x0a, 0x13, 0x63, 0x6f, 0x72, 0x65, 0x5f, 0x74, 0x65, 0x61, 0x6d, 0x5f, 0x61, 0x64, + 0x64, 0x72, 0x65, 0x73, 0x73, 0x65, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x09, 0x52, 0x11, 0x63, + 0x6f, 0x72, 0x65, 0x54, 0x65, 0x61, 0x6d, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x65, 0x73, + 0x12, 0x22, 0x0a, 0x0d, 0x6e, 0x65, 0x78, 0x74, 0x5f, 0x74, 0x6f, 0x70, 0x69, 0x63, 0x5f, 0x69, + 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0b, 0x6e, 0x65, 0x78, 0x74, 0x54, 0x6f, 0x70, + 0x69, 0x63, 0x49, 0x64, 0x12, 0x35, 0x0a, 0x06, 0x74, 0x6f, 0x70, 0x69, 0x63, 0x73, 0x18, 0x04, + 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x65, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, + 0x2e, 0x76, 0x38, 0x2e, 0x54, 0x6f, 0x70, 0x69, 0x63, 0x49, 0x64, 0x41, 0x6e, 0x64, 0x54, 0x6f, + 0x70, 0x69, 0x63, 0x52, 0x06, 0x74, 0x6f, 0x70, 0x69, 0x63, 0x73, 0x12, 0x23, 0x0a, 0x0d, 0x61, + 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x74, 0x6f, 0x70, 0x69, 0x63, 0x73, 0x18, 0x05, 0x20, 0x03, + 0x28, 0x04, 0x52, 0x0c, 0x61, 0x63, 0x74, 0x69, 0x76, 0x65, 0x54, 0x6f, 0x70, 0x69, 0x63, 0x73, + 0x12, 0x2b, 0x0a, 0x11, 0x72, 0x65, 0x77, 0x61, 0x72, 0x64, 0x61, 0x62, 0x6c, 0x65, 0x5f, 0x74, + 0x6f, 0x70, 0x69, 0x63, 0x73, 0x18, 0x06, 0x20, 0x03, 0x28, 0x04, 0x52, 0x10, 0x72, 0x65, 0x77, + 0x61, 0x72, 0x64, 0x61, 0x62, 0x6c, 0x65, 0x54, 0x6f, 0x70, 0x69, 0x63, 0x73, 0x12, 0x42, 0x0a, + 0x0d, 0x74, 0x6f, 0x70, 0x69, 0x63, 0x5f, 0x77, 0x6f, 0x72, 0x6b, 0x65, 0x72, 0x73, 0x18, 0x07, + 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x65, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, + 0x2e, 0x76, 0x38, 0x2e, 0x54, 0x6f, 0x70, 0x69, 0x63, 0x41, 0x6e, 0x64, 0x41, 0x63, 0x74, 0x6f, + 0x72, 0x49, 0x64, 0x52, 0x0c, 0x74, 0x6f, 0x70, 0x69, 0x63, 0x57, 0x6f, 0x72, 0x6b, 0x65, 0x72, + 0x73, 0x12, 0x44, 0x0a, 0x0e, 0x74, 0x6f, 0x70, 0x69, 0x63, 0x5f, 0x72, 0x65, 0x70, 0x75, 0x74, + 0x65, 0x72, 0x73, 0x18, 0x08, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x65, 0x6d, 0x69, 0x73, + 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x38, 0x2e, 0x54, 0x6f, 0x70, 0x69, 0x63, 0x41, 0x6e, + 0x64, 0x41, 0x63, 0x74, 0x6f, 0x72, 0x49, 0x64, 0x52, 0x0d, 0x74, 0x6f, 0x70, 0x69, 0x63, 0x52, + 0x65, 0x70, 0x75, 0x74, 0x65, 0x72, 0x73, 0x12, 0x51, 0x0a, 0x12, 0x74, 0x6f, 0x70, 0x69, 0x63, + 0x5f, 0x72, 0x65, 0x77, 0x61, 0x72, 0x64, 0x5f, 0x6e, 0x6f, 0x6e, 0x63, 0x65, 0x18, 0x09, 0x20, + 0x03, 0x28, 0x0b, 0x32, 0x23, 0x2e, 0x65, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2e, + 0x76, 0x38, 0x2e, 0x54, 0x6f, 0x70, 0x69, 0x63, 0x49, 0x64, 0x41, 0x6e, 0x64, 0x42, 0x6c, 0x6f, + 0x63, 0x6b, 0x48, 0x65, 0x69, 0x67, 0x68, 0x74, 0x52, 0x10, 0x74, 0x6f, 0x70, 0x69, 0x63, 0x52, + 0x65, 0x77, 0x61, 0x72, 0x64, 0x4e, 0x6f, 0x6e, 0x63, 0x65, 0x12, 0x5d, 0x0a, 0x17, 0x69, 0x6e, + 0x66, 0x65, 0x72, 0x65, 0x72, 0x5f, 0x73, 0x63, 0x6f, 0x72, 0x65, 0x73, 0x5f, 0x62, 0x79, 0x5f, + 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x18, 0x0a, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x26, 0x2e, 0x65, 0x6d, + 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x38, 0x2e, 0x54, 0x6f, 0x70, 0x69, 0x63, + 0x49, 0x64, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x48, 0x65, 0x69, 0x67, 0x68, 0x74, 0x53, 0x63, 0x6f, + 0x72, 0x65, 0x73, 0x52, 0x14, 0x69, 0x6e, 0x66, 0x65, 0x72, 0x65, 0x72, 0x53, 0x63, 0x6f, 0x72, + 0x65, 0x73, 0x42, 0x79, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x12, 0x63, 0x0a, 0x1a, 0x66, 0x6f, 0x72, + 0x65, 0x63, 0x61, 0x73, 0x74, 0x65, 0x72, 0x5f, 0x73, 0x63, 0x6f, 0x72, 0x65, 0x73, 0x5f, 0x62, + 0x79, 0x5f, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x18, 0x0b, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x26, 0x2e, + 0x65, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x38, 0x2e, 0x54, 0x6f, 0x70, + 0x69, 0x63, 0x49, 0x64, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x48, 0x65, 0x69, 0x67, 0x68, 0x74, 0x53, + 0x63, 0x6f, 0x72, 0x65, 0x73, 0x52, 0x17, 0x66, 0x6f, 0x72, 0x65, 0x63, 0x61, 0x73, 0x74, 0x65, + 0x72, 0x53, 0x63, 0x6f, 0x72, 0x65, 0x73, 0x42, 0x79, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x12, 0x5d, + 0x0a, 0x17, 0x72, 0x65, 0x70, 0x75, 0x74, 0x65, 0x72, 0x5f, 0x73, 0x63, 0x6f, 0x72, 0x65, 0x73, + 0x5f, 0x62, 0x79, 0x5f, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x18, 0x0c, 0x20, 0x03, 0x28, 0x0b, 0x32, + 0x26, 0x2e, 0x65, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x38, 0x2e, 0x54, + 0x6f, 0x70, 0x69, 0x63, 0x49, 0x64, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x48, 0x65, 0x69, 0x67, 0x68, + 0x74, 0x53, 0x63, 0x6f, 0x72, 0x65, 0x73, 0x52, 0x14, 0x72, 0x65, 0x70, 0x75, 0x74, 0x65, 0x72, + 0x53, 0x63, 0x6f, 0x72, 0x65, 0x73, 0x42, 0x79, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x12, 0x74, 0x0a, + 0x1d, 0x72, 0x65, 0x70, 0x75, 0x74, 0x65, 0x72, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x65, 0x6e, 0x69, + 0x6e, 0x67, 0x5f, 0x63, 0x6f, 0x65, 0x66, 0x66, 0x69, 0x63, 0x69, 0x65, 0x6e, 0x74, 0x18, 0x10, + 0x20, 0x03, 0x28, 0x0b, 0x32, 0x30, 0x2e, 0x65, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, + 0x2e, 0x76, 0x38, 0x2e, 0x54, 0x6f, 0x70, 0x69, 0x63, 0x49, 0x64, 0x41, 0x63, 0x74, 0x6f, 0x72, + 0x49, 0x64, 0x4c, 0x69, 0x73, 0x74, 0x65, 0x6e, 0x69, 0x6e, 0x67, 0x43, 0x6f, 0x65, 0x66, 0x66, + 0x69, 0x63, 0x69, 0x65, 0x6e, 0x74, 0x52, 0x1b, 0x72, 0x65, 0x70, 0x75, 0x74, 0x65, 0x72, 0x4c, + 0x69, 0x73, 0x74, 0x65, 0x6e, 0x69, 0x6e, 0x67, 0x43, 0x6f, 0x65, 0x66, 0x66, 0x69, 0x63, 0x69, + 0x65, 0x6e, 0x74, 0x12, 0x68, 0x0a, 0x20, 0x70, 0x72, 0x65, 0x76, 0x69, 0x6f, 0x75, 0x73, 0x5f, + 0x72, 0x65, 0x70, 0x75, 0x74, 0x65, 0x72, 0x5f, 0x72, 0x65, 0x77, 0x61, 0x72, 0x64, 0x5f, 0x66, + 0x72, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x11, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1f, 0x2e, + 0x65, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x38, 0x2e, 0x54, 0x6f, 0x70, + 0x69, 0x63, 0x49, 0x64, 0x41, 0x63, 0x74, 0x6f, 0x72, 0x49, 0x64, 0x44, 0x65, 0x63, 0x52, 0x1d, + 0x70, 0x72, 0x65, 0x76, 0x69, 0x6f, 0x75, 0x73, 0x52, 0x65, 0x70, 0x75, 0x74, 0x65, 0x72, 0x52, + 0x65, 0x77, 0x61, 0x72, 0x64, 0x46, 0x72, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x6c, 0x0a, + 0x22, 0x70, 0x72, 0x65, 0x76, 0x69, 0x6f, 0x75, 0x73, 0x5f, 0x69, 0x6e, 0x66, 0x65, 0x72, 0x65, + 0x6e, 0x63, 0x65, 0x5f, 0x72, 0x65, 0x77, 0x61, 0x72, 0x64, 0x5f, 0x66, 0x72, 0x61, 0x63, 0x74, + 0x69, 0x6f, 0x6e, 0x18, 0x12, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x65, 0x6d, 0x69, 0x73, + 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x38, 0x2e, 0x54, 0x6f, 0x70, 0x69, 0x63, 0x49, 0x64, + 0x41, 0x63, 0x74, 0x6f, 0x72, 0x49, 0x64, 0x44, 0x65, 0x63, 0x52, 0x1f, 0x70, 0x72, 0x65, 0x76, + 0x69, 0x6f, 0x75, 0x73, 0x49, 0x6e, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x52, 0x65, 0x77, + 0x61, 0x72, 0x64, 0x46, 0x72, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x6a, 0x0a, 0x21, 0x70, + 0x72, 0x65, 0x76, 0x69, 0x6f, 0x75, 0x73, 0x5f, 0x66, 0x6f, 0x72, 0x65, 0x63, 0x61, 0x73, 0x74, + 0x5f, 0x72, 0x65, 0x77, 0x61, 0x72, 0x64, 0x5f, 0x66, 0x72, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, + 0x18, 0x13, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x65, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, + 0x6e, 0x73, 0x2e, 0x76, 0x38, 0x2e, 0x54, 0x6f, 0x70, 0x69, 0x63, 0x49, 0x64, 0x41, 0x63, 0x74, + 0x6f, 0x72, 0x49, 0x64, 0x44, 0x65, 0x63, 0x52, 0x1e, 0x70, 0x72, 0x65, 0x76, 0x69, 0x6f, 0x75, + 0x73, 0x46, 0x6f, 0x72, 0x65, 0x63, 0x61, 0x73, 0x74, 0x52, 0x65, 0x77, 0x61, 0x72, 0x64, 0x46, + 0x72, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x62, 0x0a, 0x1f, 0x70, 0x72, 0x65, 0x76, 0x69, + 0x6f, 0x75, 0x73, 0x5f, 0x66, 0x6f, 0x72, 0x65, 0x63, 0x61, 0x73, 0x74, 0x65, 0x72, 0x5f, 0x73, + 0x63, 0x6f, 0x72, 0x65, 0x5f, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x18, 0x14, 0x20, 0x03, 0x28, 0x0b, + 0x32, 0x1b, 0x2e, 0x65, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x38, 0x2e, + 0x54, 0x6f, 0x70, 0x69, 0x63, 0x49, 0x64, 0x41, 0x6e, 0x64, 0x44, 0x65, 0x63, 0x52, 0x1c, 0x70, + 0x72, 0x65, 0x76, 0x69, 0x6f, 0x75, 0x73, 0x46, 0x6f, 0x72, 0x65, 0x63, 0x61, 0x73, 0x74, 0x65, + 0x72, 0x53, 0x63, 0x6f, 0x72, 0x65, 0x52, 0x61, 0x74, 0x69, 0x6f, 0x12, 0x51, 0x0a, 0x0b, 0x74, + 0x6f, 0x74, 0x61, 0x6c, 0x5f, 0x73, 0x74, 0x61, 0x6b, 0x65, 0x18, 0x15, 0x20, 0x01, 0x28, 0x09, + 0x42, 0x30, 0xc8, 0xde, 0x1f, 0x00, 0xda, 0xde, 0x1f, 0x15, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, + 0x73, 0x64, 0x6b, 0x2e, 0x69, 0x6f, 0x2f, 0x6d, 0x61, 0x74, 0x68, 0x2e, 0x49, 0x6e, 0x74, 0xd2, + 0xb4, 0x2d, 0x0a, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2e, 0x49, 0x6e, 0x74, 0xa8, 0xe7, 0xb0, + 0x2a, 0x01, 0x52, 0x0a, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x53, 0x74, 0x61, 0x6b, 0x65, 0x12, 0x3c, + 0x0a, 0x0b, 0x74, 0x6f, 0x70, 0x69, 0x63, 0x5f, 0x73, 0x74, 0x61, 0x6b, 0x65, 0x18, 0x16, 0x20, + 0x03, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x65, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2e, + 0x76, 0x38, 0x2e, 0x54, 0x6f, 0x70, 0x69, 0x63, 0x49, 0x64, 0x41, 0x6e, 0x64, 0x49, 0x6e, 0x74, + 0x52, 0x0a, 0x74, 0x6f, 0x70, 0x69, 0x63, 0x53, 0x74, 0x61, 0x6b, 0x65, 0x12, 0x57, 0x0a, 0x17, + 0x73, 0x74, 0x61, 0x6b, 0x65, 0x5f, 0x72, 0x65, 0x70, 0x75, 0x74, 0x65, 0x72, 0x5f, 0x61, 0x75, + 0x74, 0x68, 0x6f, 0x72, 0x69, 0x74, 0x79, 0x18, 0x17, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1f, 0x2e, + 0x65, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x38, 0x2e, 0x54, 0x6f, 0x70, + 0x69, 0x63, 0x49, 0x64, 0x41, 0x63, 0x74, 0x6f, 0x72, 0x49, 0x64, 0x49, 0x6e, 0x74, 0x52, 0x15, + 0x73, 0x74, 0x61, 0x6b, 0x65, 0x52, 0x65, 0x70, 0x75, 0x74, 0x65, 0x72, 0x41, 0x75, 0x74, 0x68, + 0x6f, 0x72, 0x69, 0x74, 0x79, 0x12, 0x58, 0x0a, 0x18, 0x73, 0x74, 0x61, 0x6b, 0x65, 0x5f, 0x73, + 0x75, 0x6d, 0x5f, 0x66, 0x72, 0x6f, 0x6d, 0x5f, 0x64, 0x65, 0x6c, 0x65, 0x67, 0x61, 0x74, 0x6f, + 0x72, 0x18, 0x18, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x65, 0x6d, 0x69, 0x73, 0x73, 0x69, + 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x38, 0x2e, 0x54, 0x6f, 0x70, 0x69, 0x63, 0x49, 0x64, 0x41, 0x63, + 0x74, 0x6f, 0x72, 0x49, 0x64, 0x49, 0x6e, 0x74, 0x52, 0x15, 0x73, 0x74, 0x61, 0x6b, 0x65, 0x53, + 0x75, 0x6d, 0x46, 0x72, 0x6f, 0x6d, 0x44, 0x65, 0x6c, 0x65, 0x67, 0x61, 0x74, 0x6f, 0x72, 0x12, + 0x5d, 0x0a, 0x10, 0x64, 0x65, 0x6c, 0x65, 0x67, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x73, 0x74, 0x61, + 0x6b, 0x65, 0x73, 0x18, 0x19, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x32, 0x2e, 0x65, 0x6d, 0x69, 0x73, + 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x38, 0x2e, 0x54, 0x6f, 0x70, 0x69, 0x63, 0x49, 0x64, + 0x44, 0x65, 0x6c, 0x65, 0x67, 0x61, 0x74, 0x6f, 0x72, 0x52, 0x65, 0x70, 0x75, 0x74, 0x65, 0x72, + 0x44, 0x65, 0x6c, 0x65, 0x67, 0x61, 0x74, 0x6f, 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x0f, 0x64, + 0x65, 0x6c, 0x65, 0x67, 0x61, 0x74, 0x65, 0x64, 0x53, 0x74, 0x61, 0x6b, 0x65, 0x73, 0x12, 0x6b, + 0x0a, 0x22, 0x73, 0x74, 0x61, 0x6b, 0x65, 0x5f, 0x66, 0x72, 0x6f, 0x6d, 0x5f, 0x64, 0x65, 0x6c, + 0x65, 0x67, 0x61, 0x74, 0x6f, 0x72, 0x73, 0x5f, 0x75, 0x70, 0x6f, 0x6e, 0x5f, 0x72, 0x65, 0x70, + 0x75, 0x74, 0x65, 0x72, 0x18, 0x1a, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x65, 0x6d, 0x69, + 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x38, 0x2e, 0x54, 0x6f, 0x70, 0x69, 0x63, 0x49, + 0x64, 0x41, 0x63, 0x74, 0x6f, 0x72, 0x49, 0x64, 0x49, 0x6e, 0x74, 0x52, 0x1e, 0x73, 0x74, 0x61, + 0x6b, 0x65, 0x46, 0x72, 0x6f, 0x6d, 0x44, 0x65, 0x6c, 0x65, 0x67, 0x61, 0x74, 0x6f, 0x72, 0x73, + 0x55, 0x70, 0x6f, 0x6e, 0x52, 0x65, 0x70, 0x75, 0x74, 0x65, 0x72, 0x12, 0x5a, 0x0a, 0x19, 0x64, + 0x65, 0x6c, 0x65, 0x67, 0x61, 0x74, 0x65, 0x5f, 0x72, 0x65, 0x77, 0x61, 0x72, 0x64, 0x5f, 0x70, + 0x65, 0x72, 0x5f, 0x73, 0x68, 0x61, 0x72, 0x65, 0x18, 0x1b, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1f, + 0x2e, 0x65, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x38, 0x2e, 0x54, 0x6f, + 0x70, 0x69, 0x63, 0x49, 0x64, 0x41, 0x63, 0x74, 0x6f, 0x72, 0x49, 0x64, 0x44, 0x65, 0x63, 0x52, + 0x16, 0x64, 0x65, 0x6c, 0x65, 0x67, 0x61, 0x74, 0x65, 0x52, 0x65, 0x77, 0x61, 0x72, 0x64, 0x50, + 0x65, 0x72, 0x53, 0x68, 0x61, 0x72, 0x65, 0x12, 0x6e, 0x0a, 0x17, 0x73, 0x74, 0x61, 0x6b, 0x65, + 0x5f, 0x72, 0x65, 0x6d, 0x6f, 0x76, 0x61, 0x6c, 0x73, 0x5f, 0x62, 0x79, 0x5f, 0x62, 0x6c, 0x6f, + 0x63, 0x6b, 0x18, 0x1c, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x37, 0x2e, 0x65, 0x6d, 0x69, 0x73, 0x73, + 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x38, 0x2e, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x48, 0x65, 0x69, + 0x67, 0x68, 0x74, 0x54, 0x6f, 0x70, 0x69, 0x63, 0x49, 0x64, 0x52, 0x65, 0x70, 0x75, 0x74, 0x65, + 0x72, 0x53, 0x74, 0x61, 0x6b, 0x65, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x61, 0x6c, 0x49, 0x6e, 0x66, + 0x6f, 0x52, 0x14, 0x73, 0x74, 0x61, 0x6b, 0x65, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x61, 0x6c, 0x73, + 0x42, 0x79, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x12, 0x5e, 0x0a, 0x17, 0x73, 0x74, 0x61, 0x6b, 0x65, + 0x5f, 0x72, 0x65, 0x6d, 0x6f, 0x76, 0x61, 0x6c, 0x73, 0x5f, 0x62, 0x79, 0x5f, 0x61, 0x63, 0x74, + 0x6f, 0x72, 0x18, 0x1d, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x27, 0x2e, 0x65, 0x6d, 0x69, 0x73, 0x73, + 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x38, 0x2e, 0x41, 0x63, 0x74, 0x6f, 0x72, 0x49, 0x64, 0x54, + 0x6f, 0x70, 0x69, 0x63, 0x49, 0x64, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x48, 0x65, 0x69, 0x67, 0x68, + 0x74, 0x52, 0x14, 0x73, 0x74, 0x61, 0x6b, 0x65, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x61, 0x6c, 0x73, + 0x42, 0x79, 0x41, 0x63, 0x74, 0x6f, 0x72, 0x12, 0x90, 0x01, 0x0a, 0x20, 0x64, 0x65, 0x6c, 0x65, + 0x67, 0x61, 0x74, 0x65, 0x5f, 0x73, 0x74, 0x61, 0x6b, 0x65, 0x5f, 0x72, 0x65, 0x6d, 0x6f, 0x76, + 0x61, 0x6c, 0x73, 0x5f, 0x62, 0x79, 0x5f, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x18, 0x1e, 0x20, 0x03, + 0x28, 0x0b, 0x32, 0x48, 0x2e, 0x65, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, + 0x38, 0x2e, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x48, 0x65, 0x69, 0x67, 0x68, 0x74, 0x54, 0x6f, 0x70, + 0x69, 0x63, 0x49, 0x64, 0x44, 0x65, 0x6c, 0x65, 0x67, 0x61, 0x74, 0x6f, 0x72, 0x52, 0x65, 0x70, + 0x75, 0x74, 0x65, 0x72, 0x44, 0x65, 0x6c, 0x65, 0x67, 0x61, 0x74, 0x65, 0x53, 0x74, 0x61, 0x6b, + 0x65, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x61, 0x6c, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x1c, 0x64, 0x65, + 0x6c, 0x65, 0x67, 0x61, 0x74, 0x65, 0x53, 0x74, 0x61, 0x6b, 0x65, 0x52, 0x65, 0x6d, 0x6f, 0x76, + 0x61, 0x6c, 0x73, 0x42, 0x79, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x12, 0x78, 0x0a, 0x20, 0x64, 0x65, + 0x6c, 0x65, 0x67, 0x61, 0x74, 0x65, 0x5f, 0x73, 0x74, 0x61, 0x6b, 0x65, 0x5f, 0x72, 0x65, 0x6d, + 0x6f, 0x76, 0x61, 0x6c, 0x73, 0x5f, 0x62, 0x79, 0x5f, 0x61, 0x63, 0x74, 0x6f, 0x72, 0x18, 0x1f, + 0x20, 0x03, 0x28, 0x0b, 0x32, 0x30, 0x2e, 0x65, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, + 0x2e, 0x76, 0x38, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x67, 0x61, 0x74, 0x6f, 0x72, 0x52, 0x65, 0x70, + 0x75, 0x74, 0x65, 0x72, 0x54, 0x6f, 0x70, 0x69, 0x63, 0x49, 0x64, 0x42, 0x6c, 0x6f, 0x63, 0x6b, + 0x48, 0x65, 0x69, 0x67, 0x68, 0x74, 0x52, 0x1c, 0x64, 0x65, 0x6c, 0x65, 0x67, 0x61, 0x74, 0x65, + 0x53, 0x74, 0x61, 0x6b, 0x65, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x61, 0x6c, 0x73, 0x42, 0x79, 0x41, + 0x63, 0x74, 0x6f, 0x72, 0x12, 0x45, 0x0a, 0x0a, 0x69, 0x6e, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, + 0x65, 0x73, 0x18, 0x20, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x25, 0x2e, 0x65, 0x6d, 0x69, 0x73, 0x73, + 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x38, 0x2e, 0x54, 0x6f, 0x70, 0x69, 0x63, 0x49, 0x64, 0x41, + 0x63, 0x74, 0x6f, 0x72, 0x49, 0x64, 0x49, 0x6e, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x52, + 0x0a, 0x69, 0x6e, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x73, 0x12, 0x42, 0x0a, 0x09, 0x66, + 0x6f, 0x72, 0x65, 0x63, 0x61, 0x73, 0x74, 0x73, 0x18, 0x21, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x24, + 0x2e, 0x65, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x38, 0x2e, 0x54, 0x6f, + 0x70, 0x69, 0x63, 0x49, 0x64, 0x41, 0x63, 0x74, 0x6f, 0x72, 0x49, 0x64, 0x46, 0x6f, 0x72, 0x65, + 0x63, 0x61, 0x73, 0x74, 0x52, 0x09, 0x66, 0x6f, 0x72, 0x65, 0x63, 0x61, 0x73, 0x74, 0x73, 0x12, + 0x40, 0x0a, 0x07, 0x77, 0x6f, 0x72, 0x6b, 0x65, 0x72, 0x73, 0x18, 0x22, 0x20, 0x03, 0x28, 0x0b, + 0x32, 0x26, 0x2e, 0x65, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x38, 0x2e, + 0x4c, 0x69, 0x62, 0x50, 0x32, 0x70, 0x4b, 0x65, 0x79, 0x41, 0x6e, 0x64, 0x4f, 0x66, 0x66, 0x63, + 0x68, 0x61, 0x69, 0x6e, 0x4e, 0x6f, 0x64, 0x65, 0x52, 0x07, 0x77, 0x6f, 0x72, 0x6b, 0x65, 0x72, + 0x73, 0x12, 0x42, 0x0a, 0x08, 0x72, 0x65, 0x70, 0x75, 0x74, 0x65, 0x72, 0x73, 0x18, 0x23, 0x20, + 0x03, 0x28, 0x0b, 0x32, 0x26, 0x2e, 0x65, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2e, + 0x76, 0x38, 0x2e, 0x4c, 0x69, 0x62, 0x50, 0x32, 0x70, 0x4b, 0x65, 0x79, 0x41, 0x6e, 0x64, 0x4f, + 0x66, 0x66, 0x63, 0x68, 0x61, 0x69, 0x6e, 0x4e, 0x6f, 0x64, 0x65, 0x52, 0x08, 0x72, 0x65, 0x70, + 0x75, 0x74, 0x65, 0x72, 0x73, 0x12, 0x47, 0x0a, 0x11, 0x74, 0x6f, 0x70, 0x69, 0x63, 0x5f, 0x66, + 0x65, 0x65, 0x5f, 0x72, 0x65, 0x76, 0x65, 0x6e, 0x75, 0x65, 0x18, 0x24, 0x20, 0x03, 0x28, 0x0b, + 0x32, 0x1b, 0x2e, 0x65, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x38, 0x2e, + 0x54, 0x6f, 0x70, 0x69, 0x63, 0x49, 0x64, 0x41, 0x6e, 0x64, 0x49, 0x6e, 0x74, 0x52, 0x0f, 0x74, + 0x6f, 0x70, 0x69, 0x63, 0x46, 0x65, 0x65, 0x52, 0x65, 0x76, 0x65, 0x6e, 0x75, 0x65, 0x12, 0x4f, + 0x0a, 0x15, 0x70, 0x72, 0x65, 0x76, 0x69, 0x6f, 0x75, 0x73, 0x5f, 0x74, 0x6f, 0x70, 0x69, 0x63, + 0x5f, 0x77, 0x65, 0x69, 0x67, 0x68, 0x74, 0x18, 0x25, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1b, 0x2e, + 0x65, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x38, 0x2e, 0x54, 0x6f, 0x70, + 0x69, 0x63, 0x49, 0x64, 0x41, 0x6e, 0x64, 0x44, 0x65, 0x63, 0x52, 0x13, 0x70, 0x72, 0x65, 0x76, + 0x69, 0x6f, 0x75, 0x73, 0x54, 0x6f, 0x70, 0x69, 0x63, 0x57, 0x65, 0x69, 0x67, 0x68, 0x74, 0x12, + 0x51, 0x0a, 0x0e, 0x61, 0x6c, 0x6c, 0x5f, 0x69, 0x6e, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, + 0x73, 0x18, 0x26, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2a, 0x2e, 0x65, 0x6d, 0x69, 0x73, 0x73, 0x69, + 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x38, 0x2e, 0x54, 0x6f, 0x70, 0x69, 0x63, 0x49, 0x64, 0x42, 0x6c, + 0x6f, 0x63, 0x6b, 0x48, 0x65, 0x69, 0x67, 0x68, 0x74, 0x49, 0x6e, 0x66, 0x65, 0x72, 0x65, 0x6e, + 0x63, 0x65, 0x73, 0x52, 0x0d, 0x61, 0x6c, 0x6c, 0x49, 0x6e, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, + 0x65, 0x73, 0x12, 0x4e, 0x0a, 0x0d, 0x61, 0x6c, 0x6c, 0x5f, 0x66, 0x6f, 0x72, 0x65, 0x63, 0x61, + 0x73, 0x74, 0x73, 0x18, 0x27, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x29, 0x2e, 0x65, 0x6d, 0x69, 0x73, + 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x38, 0x2e, 0x54, 0x6f, 0x70, 0x69, 0x63, 0x49, 0x64, + 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x48, 0x65, 0x69, 0x67, 0x68, 0x74, 0x46, 0x6f, 0x72, 0x65, 0x63, + 0x61, 0x73, 0x74, 0x73, 0x52, 0x0c, 0x61, 0x6c, 0x6c, 0x46, 0x6f, 0x72, 0x65, 0x63, 0x61, 0x73, + 0x74, 0x73, 0x12, 0x5d, 0x0a, 0x10, 0x61, 0x6c, 0x6c, 0x5f, 0x6c, 0x6f, 0x73, 0x73, 0x5f, 0x62, + 0x75, 0x6e, 0x64, 0x6c, 0x65, 0x73, 0x18, 0x28, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x33, 0x2e, 0x65, + 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x38, 0x2e, 0x54, 0x6f, 0x70, 0x69, + 0x63, 0x49, 0x64, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x48, 0x65, 0x69, 0x67, 0x68, 0x74, 0x52, 0x65, + 0x70, 0x75, 0x74, 0x65, 0x72, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x42, 0x75, 0x6e, 0x64, 0x6c, 0x65, + 0x73, 0x52, 0x0e, 0x61, 0x6c, 0x6c, 0x4c, 0x6f, 0x73, 0x73, 0x42, 0x75, 0x6e, 0x64, 0x6c, 0x65, + 0x73, 0x12, 0x5e, 0x0a, 0x14, 0x6e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x5f, 0x6c, 0x6f, 0x73, + 0x73, 0x5f, 0x62, 0x75, 0x6e, 0x64, 0x6c, 0x65, 0x73, 0x18, 0x29, 0x20, 0x03, 0x28, 0x0b, 0x32, + 0x2c, 0x2e, 0x65, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x38, 0x2e, 0x54, + 0x6f, 0x70, 0x69, 0x63, 0x49, 0x64, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x48, 0x65, 0x69, 0x67, 0x68, + 0x74, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x42, 0x75, 0x6e, 0x64, 0x6c, 0x65, 0x73, 0x52, 0x12, 0x6e, + 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x4c, 0x6f, 0x73, 0x73, 0x42, 0x75, 0x6e, 0x64, 0x6c, 0x65, + 0x73, 0x12, 0x98, 0x01, 0x0a, 0x2d, 0x70, 0x72, 0x65, 0x76, 0x69, 0x6f, 0x75, 0x73, 0x5f, 0x70, + 0x65, 0x72, 0x63, 0x65, 0x6e, 0x74, 0x61, 0x67, 0x65, 0x5f, 0x72, 0x65, 0x77, 0x61, 0x72, 0x64, + 0x5f, 0x74, 0x6f, 0x5f, 0x73, 0x74, 0x61, 0x6b, 0x65, 0x64, 0x5f, 0x72, 0x65, 0x70, 0x75, 0x74, + 0x65, 0x72, 0x73, 0x18, 0x2a, 0x20, 0x01, 0x28, 0x09, 0x42, 0x37, 0xc8, 0xde, 0x1f, 0x00, 0xda, + 0xde, 0x1f, 0x2f, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x61, 0x6c, + 0x6c, 0x6f, 0x72, 0x61, 0x2d, 0x6e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x2f, 0x61, 0x6c, 0x6c, + 0x6f, 0x72, 0x61, 0x2d, 0x63, 0x68, 0x61, 0x69, 0x6e, 0x2f, 0x6d, 0x61, 0x74, 0x68, 0x2e, 0x44, + 0x65, 0x63, 0x52, 0x28, 0x70, 0x72, 0x65, 0x76, 0x69, 0x6f, 0x75, 0x73, 0x50, 0x65, 0x72, 0x63, + 0x65, 0x6e, 0x74, 0x61, 0x67, 0x65, 0x52, 0x65, 0x77, 0x61, 0x72, 0x64, 0x54, 0x6f, 0x53, 0x74, + 0x61, 0x6b, 0x65, 0x64, 0x52, 0x65, 0x70, 0x75, 0x74, 0x65, 0x72, 0x73, 0x12, 0x5a, 0x0a, 0x19, + 0x75, 0x6e, 0x66, 0x75, 0x6c, 0x66, 0x69, 0x6c, 0x6c, 0x65, 0x64, 0x5f, 0x77, 0x6f, 0x72, 0x6b, + 0x65, 0x72, 0x5f, 0x6e, 0x6f, 0x6e, 0x63, 0x65, 0x73, 0x18, 0x2b, 0x20, 0x03, 0x28, 0x0b, 0x32, + 0x1e, 0x2e, 0x65, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x38, 0x2e, 0x54, + 0x6f, 0x70, 0x69, 0x63, 0x49, 0x64, 0x41, 0x6e, 0x64, 0x4e, 0x6f, 0x6e, 0x63, 0x65, 0x73, 0x52, + 0x17, 0x75, 0x6e, 0x66, 0x75, 0x6c, 0x66, 0x69, 0x6c, 0x6c, 0x65, 0x64, 0x57, 0x6f, 0x72, 0x6b, + 0x65, 0x72, 0x4e, 0x6f, 0x6e, 0x63, 0x65, 0x73, 0x12, 0x6a, 0x0a, 0x1a, 0x75, 0x6e, 0x66, 0x75, + 0x6c, 0x66, 0x69, 0x6c, 0x6c, 0x65, 0x64, 0x5f, 0x72, 0x65, 0x70, 0x75, 0x74, 0x65, 0x72, 0x5f, + 0x6e, 0x6f, 0x6e, 0x63, 0x65, 0x73, 0x18, 0x2c, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2c, 0x2e, 0x65, + 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x38, 0x2e, 0x54, 0x6f, 0x70, 0x69, + 0x63, 0x49, 0x64, 0x41, 0x6e, 0x64, 0x52, 0x65, 0x70, 0x75, 0x74, 0x65, 0x72, 0x52, 0x65, 0x71, + 0x75, 0x65, 0x73, 0x74, 0x4e, 0x6f, 0x6e, 0x63, 0x65, 0x73, 0x52, 0x18, 0x75, 0x6e, 0x66, 0x75, + 0x6c, 0x66, 0x69, 0x6c, 0x6c, 0x65, 0x64, 0x52, 0x65, 0x70, 0x75, 0x74, 0x65, 0x72, 0x4e, 0x6f, + 0x6e, 0x63, 0x65, 0x73, 0x12, 0x71, 0x0a, 0x1e, 0x6c, 0x61, 0x74, 0x65, 0x73, 0x74, 0x5f, 0x69, + 0x6e, 0x66, 0x65, 0x72, 0x65, 0x72, 0x5f, 0x6e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x5f, 0x72, + 0x65, 0x67, 0x72, 0x65, 0x74, 0x73, 0x18, 0x2d, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2c, 0x2e, 0x65, + 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x38, 0x2e, 0x54, 0x6f, 0x70, 0x69, + 0x63, 0x49, 0x64, 0x41, 0x63, 0x74, 0x6f, 0x72, 0x49, 0x64, 0x54, 0x69, 0x6d, 0x65, 0x53, 0x74, + 0x61, 0x6d, 0x70, 0x65, 0x64, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x1b, 0x6c, 0x61, 0x74, 0x65, + 0x73, 0x74, 0x49, 0x6e, 0x66, 0x65, 0x72, 0x65, 0x72, 0x4e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, + 0x52, 0x65, 0x67, 0x72, 0x65, 0x74, 0x73, 0x12, 0x77, 0x0a, 0x21, 0x6c, 0x61, 0x74, 0x65, 0x73, + 0x74, 0x5f, 0x66, 0x6f, 0x72, 0x65, 0x63, 0x61, 0x73, 0x74, 0x65, 0x72, 0x5f, 0x6e, 0x65, 0x74, + 0x77, 0x6f, 0x72, 0x6b, 0x5f, 0x72, 0x65, 0x67, 0x72, 0x65, 0x74, 0x73, 0x18, 0x2e, 0x20, 0x03, + 0x28, 0x0b, 0x32, 0x2c, 0x2e, 0x65, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, + 0x38, 0x2e, 0x54, 0x6f, 0x70, 0x69, 0x63, 0x49, 0x64, 0x41, 0x63, 0x74, 0x6f, 0x72, 0x49, 0x64, + 0x54, 0x69, 0x6d, 0x65, 0x53, 0x74, 0x61, 0x6d, 0x70, 0x65, 0x64, 0x56, 0x61, 0x6c, 0x75, 0x65, + 0x52, 0x1e, 0x6c, 0x61, 0x74, 0x65, 0x73, 0x74, 0x46, 0x6f, 0x72, 0x65, 0x63, 0x61, 0x73, 0x74, + 0x65, 0x72, 0x4e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x52, 0x65, 0x67, 0x72, 0x65, 0x74, 0x73, + 0x12, 0x8a, 0x01, 0x0a, 0x28, 0x6c, 0x61, 0x74, 0x65, 0x73, 0x74, 0x5f, 0x6f, 0x6e, 0x65, 0x5f, + 0x69, 0x6e, 0x5f, 0x66, 0x6f, 0x72, 0x65, 0x63, 0x61, 0x73, 0x74, 0x65, 0x72, 0x5f, 0x6e, 0x65, + 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x5f, 0x72, 0x65, 0x67, 0x72, 0x65, 0x74, 0x73, 0x18, 0x2f, 0x20, + 0x03, 0x28, 0x0b, 0x32, 0x33, 0x2e, 0x65, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2e, + 0x76, 0x38, 0x2e, 0x54, 0x6f, 0x70, 0x69, 0x63, 0x49, 0x64, 0x41, 0x63, 0x74, 0x6f, 0x72, 0x49, + 0x64, 0x41, 0x63, 0x74, 0x6f, 0x72, 0x49, 0x64, 0x54, 0x69, 0x6d, 0x65, 0x53, 0x74, 0x61, 0x6d, + 0x70, 0x65, 0x64, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x23, 0x6c, 0x61, 0x74, 0x65, 0x73, 0x74, + 0x4f, 0x6e, 0x65, 0x49, 0x6e, 0x46, 0x6f, 0x72, 0x65, 0x63, 0x61, 0x73, 0x74, 0x65, 0x72, 0x4e, + 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x52, 0x65, 0x67, 0x72, 0x65, 0x74, 0x73, 0x12, 0x7c, 0x0a, + 0x24, 0x6c, 0x61, 0x74, 0x65, 0x73, 0x74, 0x5f, 0x6e, 0x61, 0x69, 0x76, 0x65, 0x5f, 0x69, 0x6e, + 0x66, 0x65, 0x72, 0x65, 0x72, 0x5f, 0x6e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x5f, 0x72, 0x65, + 0x67, 0x72, 0x65, 0x74, 0x73, 0x18, 0x30, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2c, 0x2e, 0x65, 0x6d, + 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x38, 0x2e, 0x54, 0x6f, 0x70, 0x69, 0x63, + 0x49, 0x64, 0x41, 0x63, 0x74, 0x6f, 0x72, 0x49, 0x64, 0x54, 0x69, 0x6d, 0x65, 0x53, 0x74, 0x61, + 0x6d, 0x70, 0x65, 0x64, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x20, 0x6c, 0x61, 0x74, 0x65, 0x73, + 0x74, 0x4e, 0x61, 0x69, 0x76, 0x65, 0x49, 0x6e, 0x66, 0x65, 0x72, 0x65, 0x72, 0x4e, 0x65, 0x74, + 0x77, 0x6f, 0x72, 0x6b, 0x52, 0x65, 0x67, 0x72, 0x65, 0x74, 0x73, 0x12, 0x95, 0x01, 0x0a, 0x2e, + 0x6c, 0x61, 0x74, 0x65, 0x73, 0x74, 0x5f, 0x6f, 0x6e, 0x65, 0x5f, 0x6f, 0x75, 0x74, 0x5f, 0x69, + 0x6e, 0x66, 0x65, 0x72, 0x65, 0x72, 0x5f, 0x69, 0x6e, 0x66, 0x65, 0x72, 0x65, 0x72, 0x5f, 0x6e, + 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x5f, 0x72, 0x65, 0x67, 0x72, 0x65, 0x74, 0x73, 0x18, 0x31, + 0x20, 0x03, 0x28, 0x0b, 0x32, 0x33, 0x2e, 0x65, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, + 0x2e, 0x76, 0x38, 0x2e, 0x54, 0x6f, 0x70, 0x69, 0x63, 0x49, 0x64, 0x41, 0x63, 0x74, 0x6f, 0x72, + 0x49, 0x64, 0x41, 0x63, 0x74, 0x6f, 0x72, 0x49, 0x64, 0x54, 0x69, 0x6d, 0x65, 0x53, 0x74, 0x61, + 0x6d, 0x70, 0x65, 0x64, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x28, 0x6c, 0x61, 0x74, 0x65, 0x73, + 0x74, 0x4f, 0x6e, 0x65, 0x4f, 0x75, 0x74, 0x49, 0x6e, 0x66, 0x65, 0x72, 0x65, 0x72, 0x49, 0x6e, + 0x66, 0x65, 0x72, 0x65, 0x72, 0x4e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x52, 0x65, 0x67, 0x72, + 0x65, 0x74, 0x73, 0x12, 0x9b, 0x01, 0x0a, 0x31, 0x6c, 0x61, 0x74, 0x65, 0x73, 0x74, 0x5f, 0x6f, + 0x6e, 0x65, 0x5f, 0x6f, 0x75, 0x74, 0x5f, 0x69, 0x6e, 0x66, 0x65, 0x72, 0x65, 0x72, 0x5f, 0x66, + 0x6f, 0x72, 0x65, 0x63, 0x61, 0x73, 0x74, 0x65, 0x72, 0x5f, 0x6e, 0x65, 0x74, 0x77, 0x6f, 0x72, + 0x6b, 0x5f, 0x72, 0x65, 0x67, 0x72, 0x65, 0x74, 0x73, 0x18, 0x32, 0x20, 0x03, 0x28, 0x0b, 0x32, + 0x33, 0x2e, 0x65, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x38, 0x2e, 0x54, + 0x6f, 0x70, 0x69, 0x63, 0x49, 0x64, 0x41, 0x63, 0x74, 0x6f, 0x72, 0x49, 0x64, 0x41, 0x63, 0x74, + 0x6f, 0x72, 0x49, 0x64, 0x54, 0x69, 0x6d, 0x65, 0x53, 0x74, 0x61, 0x6d, 0x70, 0x65, 0x64, 0x56, + 0x61, 0x6c, 0x75, 0x65, 0x52, 0x2b, 0x6c, 0x61, 0x74, 0x65, 0x73, 0x74, 0x4f, 0x6e, 0x65, 0x4f, + 0x75, 0x74, 0x49, 0x6e, 0x66, 0x65, 0x72, 0x65, 0x72, 0x46, 0x6f, 0x72, 0x65, 0x63, 0x61, 0x73, + 0x74, 0x65, 0x72, 0x4e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x52, 0x65, 0x67, 0x72, 0x65, 0x74, + 0x73, 0x12, 0x9b, 0x01, 0x0a, 0x31, 0x6c, 0x61, 0x74, 0x65, 0x73, 0x74, 0x5f, 0x6f, 0x6e, 0x65, + 0x5f, 0x6f, 0x75, 0x74, 0x5f, 0x66, 0x6f, 0x72, 0x65, 0x63, 0x61, 0x73, 0x74, 0x65, 0x72, 0x5f, + 0x69, 0x6e, 0x66, 0x65, 0x72, 0x65, 0x72, 0x5f, 0x6e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x5f, + 0x72, 0x65, 0x67, 0x72, 0x65, 0x74, 0x73, 0x18, 0x33, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x33, 0x2e, + 0x65, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x38, 0x2e, 0x54, 0x6f, 0x70, + 0x69, 0x63, 0x49, 0x64, 0x41, 0x63, 0x74, 0x6f, 0x72, 0x49, 0x64, 0x41, 0x63, 0x74, 0x6f, 0x72, + 0x49, 0x64, 0x54, 0x69, 0x6d, 0x65, 0x53, 0x74, 0x61, 0x6d, 0x70, 0x65, 0x64, 0x56, 0x61, 0x6c, + 0x75, 0x65, 0x52, 0x2b, 0x6c, 0x61, 0x74, 0x65, 0x73, 0x74, 0x4f, 0x6e, 0x65, 0x4f, 0x75, 0x74, + 0x46, 0x6f, 0x72, 0x65, 0x63, 0x61, 0x73, 0x74, 0x65, 0x72, 0x49, 0x6e, 0x66, 0x65, 0x72, 0x65, + 0x72, 0x4e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x52, 0x65, 0x67, 0x72, 0x65, 0x74, 0x73, 0x12, + 0xa1, 0x01, 0x0a, 0x34, 0x6c, 0x61, 0x74, 0x65, 0x73, 0x74, 0x5f, 0x6f, 0x6e, 0x65, 0x5f, 0x6f, + 0x75, 0x74, 0x5f, 0x66, 0x6f, 0x72, 0x65, 0x63, 0x61, 0x73, 0x74, 0x65, 0x72, 0x5f, 0x66, 0x6f, + 0x72, 0x65, 0x63, 0x61, 0x73, 0x74, 0x65, 0x72, 0x5f, 0x6e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, + 0x5f, 0x72, 0x65, 0x67, 0x72, 0x65, 0x74, 0x73, 0x18, 0x34, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x33, + 0x2e, 0x65, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x38, 0x2e, 0x54, 0x6f, + 0x70, 0x69, 0x63, 0x49, 0x64, 0x41, 0x63, 0x74, 0x6f, 0x72, 0x49, 0x64, 0x41, 0x63, 0x74, 0x6f, + 0x72, 0x49, 0x64, 0x54, 0x69, 0x6d, 0x65, 0x53, 0x74, 0x61, 0x6d, 0x70, 0x65, 0x64, 0x56, 0x61, + 0x6c, 0x75, 0x65, 0x52, 0x2e, 0x6c, 0x61, 0x74, 0x65, 0x73, 0x74, 0x4f, 0x6e, 0x65, 0x4f, 0x75, + 0x74, 0x46, 0x6f, 0x72, 0x65, 0x63, 0x61, 0x73, 0x74, 0x65, 0x72, 0x46, 0x6f, 0x72, 0x65, 0x63, + 0x61, 0x73, 0x74, 0x65, 0x72, 0x4e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x52, 0x65, 0x67, 0x72, + 0x65, 0x74, 0x73, 0x12, 0x63, 0x0a, 0x18, 0x74, 0x6f, 0x70, 0x69, 0x63, 0x5f, 0x6c, 0x61, 0x73, + 0x74, 0x5f, 0x77, 0x6f, 0x72, 0x6b, 0x65, 0x72, 0x5f, 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x18, + 0x35, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2a, 0x2e, 0x65, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, + 0x73, 0x2e, 0x76, 0x38, 0x2e, 0x54, 0x6f, 0x70, 0x69, 0x63, 0x49, 0x64, 0x54, 0x69, 0x6d, 0x65, + 0x73, 0x74, 0x61, 0x6d, 0x70, 0x65, 0x64, 0x41, 0x63, 0x74, 0x6f, 0x72, 0x4e, 0x6f, 0x6e, 0x63, + 0x65, 0x52, 0x15, 0x74, 0x6f, 0x70, 0x69, 0x63, 0x4c, 0x61, 0x73, 0x74, 0x57, 0x6f, 0x72, 0x6b, + 0x65, 0x72, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x12, 0x65, 0x0a, 0x19, 0x74, 0x6f, 0x70, 0x69, + 0x63, 0x5f, 0x6c, 0x61, 0x73, 0x74, 0x5f, 0x72, 0x65, 0x70, 0x75, 0x74, 0x65, 0x72, 0x5f, 0x63, + 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x18, 0x36, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2a, 0x2e, 0x65, 0x6d, + 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x38, 0x2e, 0x54, 0x6f, 0x70, 0x69, 0x63, + 0x49, 0x64, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x65, 0x64, 0x41, 0x63, 0x74, + 0x6f, 0x72, 0x4e, 0x6f, 0x6e, 0x63, 0x65, 0x52, 0x16, 0x74, 0x6f, 0x70, 0x69, 0x63, 0x4c, 0x61, + 0x73, 0x74, 0x52, 0x65, 0x70, 0x75, 0x74, 0x65, 0x72, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x12, + 0x54, 0x0a, 0x13, 0x6f, 0x70, 0x65, 0x6e, 0x5f, 0x77, 0x6f, 0x72, 0x6b, 0x65, 0x72, 0x5f, 0x77, + 0x69, 0x6e, 0x64, 0x6f, 0x77, 0x73, 0x18, 0x37, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x24, 0x2e, 0x65, + 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x38, 0x2e, 0x42, 0x6c, 0x6f, 0x63, + 0x6b, 0x48, 0x65, 0x69, 0x67, 0x68, 0x74, 0x41, 0x6e, 0x64, 0x54, 0x6f, 0x70, 0x69, 0x63, 0x49, + 0x64, 0x73, 0x52, 0x11, 0x6f, 0x70, 0x65, 0x6e, 0x57, 0x6f, 0x72, 0x6b, 0x65, 0x72, 0x57, 0x69, + 0x6e, 0x64, 0x6f, 0x77, 0x73, 0x12, 0x4b, 0x0a, 0x0f, 0x6c, 0x61, 0x73, 0x74, 0x5f, 0x64, 0x72, + 0x69, 0x70, 0x5f, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x18, 0x38, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x23, + 0x2e, 0x65, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x38, 0x2e, 0x54, 0x6f, + 0x70, 0x69, 0x63, 0x49, 0x64, 0x41, 0x6e, 0x64, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x48, 0x65, 0x69, + 0x67, 0x68, 0x74, 0x52, 0x0d, 0x6c, 0x61, 0x73, 0x74, 0x44, 0x72, 0x69, 0x70, 0x42, 0x6c, 0x6f, + 0x63, 0x6b, 0x12, 0x74, 0x0a, 0x25, 0x74, 0x6f, 0x70, 0x69, 0x63, 0x5f, 0x74, 0x6f, 0x5f, 0x6e, + 0x65, 0x78, 0x74, 0x5f, 0x70, 0x6f, 0x73, 0x73, 0x69, 0x62, 0x6c, 0x65, 0x5f, 0x63, 0x68, 0x75, + 0x72, 0x6e, 0x69, 0x6e, 0x67, 0x5f, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x18, 0x39, 0x20, 0x03, 0x28, + 0x0b, 0x32, 0x23, 0x2e, 0x65, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x38, + 0x2e, 0x54, 0x6f, 0x70, 0x69, 0x63, 0x49, 0x64, 0x41, 0x6e, 0x64, 0x42, 0x6c, 0x6f, 0x63, 0x6b, + 0x48, 0x65, 0x69, 0x67, 0x68, 0x74, 0x52, 0x20, 0x74, 0x6f, 0x70, 0x69, 0x63, 0x54, 0x6f, 0x4e, + 0x65, 0x78, 0x74, 0x50, 0x6f, 0x73, 0x73, 0x69, 0x62, 0x6c, 0x65, 0x43, 0x68, 0x75, 0x72, 0x6e, + 0x69, 0x6e, 0x67, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x12, 0x56, 0x0a, 0x16, 0x62, 0x6c, 0x6f, 0x63, + 0x6b, 0x5f, 0x74, 0x6f, 0x5f, 0x61, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x74, 0x6f, 0x70, 0x69, + 0x63, 0x73, 0x18, 0x3a, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x65, 0x6d, 0x69, 0x73, 0x73, + 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x38, 0x2e, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x48, 0x65, 0x69, + 0x67, 0x68, 0x74, 0x54, 0x6f, 0x70, 0x69, 0x63, 0x49, 0x64, 0x73, 0x52, 0x13, 0x62, 0x6c, 0x6f, + 0x63, 0x6b, 0x54, 0x6f, 0x41, 0x63, 0x74, 0x69, 0x76, 0x65, 0x54, 0x6f, 0x70, 0x69, 0x63, 0x73, + 0x12, 0x77, 0x0a, 0x23, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x5f, 0x74, 0x6f, 0x5f, 0x6c, 0x6f, 0x77, + 0x65, 0x73, 0x74, 0x5f, 0x61, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x74, 0x6f, 0x70, 0x69, 0x63, + 0x5f, 0x77, 0x65, 0x69, 0x67, 0x68, 0x74, 0x18, 0x3b, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2a, 0x2e, + 0x65, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x38, 0x2e, 0x42, 0x6c, 0x6f, + 0x63, 0x6b, 0x48, 0x65, 0x69, 0x67, 0x68, 0x74, 0x54, 0x6f, 0x70, 0x69, 0x63, 0x49, 0x64, 0x57, + 0x65, 0x69, 0x67, 0x68, 0x74, 0x50, 0x61, 0x69, 0x72, 0x52, 0x1e, 0x62, 0x6c, 0x6f, 0x63, 0x6b, + 0x54, 0x6f, 0x4c, 0x6f, 0x77, 0x65, 0x73, 0x74, 0x41, 0x63, 0x74, 0x69, 0x76, 0x65, 0x54, 0x6f, + 0x70, 0x69, 0x63, 0x57, 0x65, 0x69, 0x67, 0x68, 0x74, 0x12, 0x4f, 0x0a, 0x12, 0x69, 0x6e, 0x66, + 0x65, 0x72, 0x65, 0x72, 0x5f, 0x73, 0x63, 0x6f, 0x72, 0x65, 0x5f, 0x65, 0x6d, 0x61, 0x73, 0x18, + 0x3c, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x65, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, + 0x73, 0x2e, 0x76, 0x38, 0x2e, 0x54, 0x6f, 0x70, 0x69, 0x63, 0x49, 0x64, 0x41, 0x63, 0x74, 0x6f, + 0x72, 0x49, 0x64, 0x53, 0x63, 0x6f, 0x72, 0x65, 0x52, 0x10, 0x69, 0x6e, 0x66, 0x65, 0x72, 0x65, + 0x72, 0x53, 0x63, 0x6f, 0x72, 0x65, 0x45, 0x6d, 0x61, 0x73, 0x12, 0x55, 0x0a, 0x15, 0x66, 0x6f, + 0x72, 0x65, 0x63, 0x61, 0x73, 0x74, 0x65, 0x72, 0x5f, 0x73, 0x63, 0x6f, 0x72, 0x65, 0x5f, 0x65, + 0x6d, 0x61, 0x73, 0x18, 0x3d, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x65, 0x6d, 0x69, 0x73, + 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x38, 0x2e, 0x54, 0x6f, 0x70, 0x69, 0x63, 0x49, 0x64, + 0x41, 0x63, 0x74, 0x6f, 0x72, 0x49, 0x64, 0x53, 0x63, 0x6f, 0x72, 0x65, 0x52, 0x13, 0x66, 0x6f, + 0x72, 0x65, 0x63, 0x61, 0x73, 0x74, 0x65, 0x72, 0x53, 0x63, 0x6f, 0x72, 0x65, 0x45, 0x6d, 0x61, + 0x73, 0x12, 0x4f, 0x0a, 0x12, 0x72, 0x65, 0x70, 0x75, 0x74, 0x65, 0x72, 0x5f, 0x73, 0x63, 0x6f, + 0x72, 0x65, 0x5f, 0x65, 0x6d, 0x61, 0x73, 0x18, 0x3e, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x21, 0x2e, + 0x65, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x38, 0x2e, 0x54, 0x6f, 0x70, + 0x69, 0x63, 0x49, 0x64, 0x41, 0x63, 0x74, 0x6f, 0x72, 0x49, 0x64, 0x53, 0x63, 0x6f, 0x72, 0x65, + 0x52, 0x10, 0x72, 0x65, 0x70, 0x75, 0x74, 0x65, 0x72, 0x53, 0x63, 0x6f, 0x72, 0x65, 0x45, 0x6d, + 0x61, 0x73, 0x12, 0x74, 0x0a, 0x29, 0x70, 0x72, 0x65, 0x76, 0x69, 0x6f, 0x75, 0x73, 0x5f, 0x74, + 0x6f, 0x70, 0x69, 0x63, 0x5f, 0x71, 0x75, 0x61, 0x6e, 0x74, 0x69, 0x6c, 0x65, 0x5f, 0x69, 0x6e, + 0x66, 0x65, 0x72, 0x65, 0x72, 0x5f, 0x73, 0x63, 0x6f, 0x72, 0x65, 0x5f, 0x65, 0x6d, 0x61, 0x18, + 0x3f, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x65, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, + 0x73, 0x2e, 0x76, 0x38, 0x2e, 0x54, 0x6f, 0x70, 0x69, 0x63, 0x49, 0x64, 0x41, 0x6e, 0x64, 0x44, + 0x65, 0x63, 0x52, 0x24, 0x70, 0x72, 0x65, 0x76, 0x69, 0x6f, 0x75, 0x73, 0x54, 0x6f, 0x70, 0x69, + 0x63, 0x51, 0x75, 0x61, 0x6e, 0x74, 0x69, 0x6c, 0x65, 0x49, 0x6e, 0x66, 0x65, 0x72, 0x65, 0x72, + 0x53, 0x63, 0x6f, 0x72, 0x65, 0x45, 0x6d, 0x61, 0x12, 0x7a, 0x0a, 0x2c, 0x70, 0x72, 0x65, 0x76, + 0x69, 0x6f, 0x75, 0x73, 0x5f, 0x74, 0x6f, 0x70, 0x69, 0x63, 0x5f, 0x71, 0x75, 0x61, 0x6e, 0x74, + 0x69, 0x6c, 0x65, 0x5f, 0x66, 0x6f, 0x72, 0x65, 0x63, 0x61, 0x73, 0x74, 0x65, 0x72, 0x5f, 0x73, + 0x63, 0x6f, 0x72, 0x65, 0x5f, 0x65, 0x6d, 0x61, 0x18, 0x40, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1b, + 0x2e, 0x65, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x38, 0x2e, 0x54, 0x6f, + 0x70, 0x69, 0x63, 0x49, 0x64, 0x41, 0x6e, 0x64, 0x44, 0x65, 0x63, 0x52, 0x27, 0x70, 0x72, 0x65, + 0x76, 0x69, 0x6f, 0x75, 0x73, 0x54, 0x6f, 0x70, 0x69, 0x63, 0x51, 0x75, 0x61, 0x6e, 0x74, 0x69, + 0x6c, 0x65, 0x46, 0x6f, 0x72, 0x65, 0x63, 0x61, 0x73, 0x74, 0x65, 0x72, 0x53, 0x63, 0x6f, 0x72, + 0x65, 0x45, 0x6d, 0x61, 0x12, 0x74, 0x0a, 0x29, 0x70, 0x72, 0x65, 0x76, 0x69, 0x6f, 0x75, 0x73, + 0x5f, 0x74, 0x6f, 0x70, 0x69, 0x63, 0x5f, 0x71, 0x75, 0x61, 0x6e, 0x74, 0x69, 0x6c, 0x65, 0x5f, + 0x72, 0x65, 0x70, 0x75, 0x74, 0x65, 0x72, 0x5f, 0x73, 0x63, 0x6f, 0x72, 0x65, 0x5f, 0x65, 0x6d, + 0x61, 0x18, 0x41, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x65, 0x6d, 0x69, 0x73, 0x73, 0x69, + 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x38, 0x2e, 0x54, 0x6f, 0x70, 0x69, 0x63, 0x49, 0x64, 0x41, 0x6e, + 0x64, 0x44, 0x65, 0x63, 0x52, 0x24, 0x70, 0x72, 0x65, 0x76, 0x69, 0x6f, 0x75, 0x73, 0x54, 0x6f, + 0x70, 0x69, 0x63, 0x51, 0x75, 0x61, 0x6e, 0x74, 0x69, 0x6c, 0x65, 0x52, 0x65, 0x70, 0x75, 0x74, + 0x65, 0x72, 0x53, 0x63, 0x6f, 0x72, 0x65, 0x45, 0x6d, 0x61, 0x12, 0x80, 0x01, 0x0a, 0x2c, 0x63, + 0x6f, 0x75, 0x6e, 0x74, 0x5f, 0x69, 0x6e, 0x66, 0x65, 0x72, 0x65, 0x72, 0x5f, 0x69, 0x6e, 0x63, + 0x6c, 0x75, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x5f, 0x69, 0x6e, 0x5f, 0x74, 0x6f, 0x70, 0x69, 0x63, + 0x5f, 0x61, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x73, 0x65, 0x74, 0x18, 0x42, 0x20, 0x03, 0x28, + 0x0b, 0x32, 0x22, 0x2e, 0x65, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x38, + 0x2e, 0x54, 0x6f, 0x70, 0x69, 0x63, 0x49, 0x64, 0x41, 0x63, 0x74, 0x6f, 0x72, 0x49, 0x64, 0x55, + 0x69, 0x6e, 0x74, 0x36, 0x34, 0x52, 0x26, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x49, 0x6e, 0x66, 0x65, + 0x72, 0x65, 0x72, 0x49, 0x6e, 0x63, 0x6c, 0x75, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x49, 0x6e, 0x54, + 0x6f, 0x70, 0x69, 0x63, 0x41, 0x63, 0x74, 0x69, 0x76, 0x65, 0x53, 0x65, 0x74, 0x12, 0x86, 0x01, + 0x0a, 0x2f, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x5f, 0x66, 0x6f, 0x72, 0x65, 0x63, 0x61, 0x73, 0x74, + 0x65, 0x72, 0x5f, 0x69, 0x6e, 0x63, 0x6c, 0x75, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x5f, 0x69, 0x6e, + 0x5f, 0x74, 0x6f, 0x70, 0x69, 0x63, 0x5f, 0x61, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x73, 0x65, + 0x74, 0x18, 0x43, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x22, 0x2e, 0x65, 0x6d, 0x69, 0x73, 0x73, 0x69, + 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x38, 0x2e, 0x54, 0x6f, 0x70, 0x69, 0x63, 0x49, 0x64, 0x41, 0x63, + 0x74, 0x6f, 0x72, 0x49, 0x64, 0x55, 0x69, 0x6e, 0x74, 0x36, 0x34, 0x52, 0x29, 0x63, 0x6f, 0x75, + 0x6e, 0x74, 0x46, 0x6f, 0x72, 0x65, 0x63, 0x61, 0x73, 0x74, 0x65, 0x72, 0x49, 0x6e, 0x63, 0x6c, + 0x75, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x49, 0x6e, 0x54, 0x6f, 0x70, 0x69, 0x63, 0x41, 0x63, 0x74, + 0x69, 0x76, 0x65, 0x53, 0x65, 0x74, 0x12, 0x46, 0x0a, 0x0f, 0x61, 0x63, 0x74, 0x69, 0x76, 0x65, + 0x5f, 0x69, 0x6e, 0x66, 0x65, 0x72, 0x65, 0x72, 0x73, 0x18, 0x44, 0x20, 0x03, 0x28, 0x0b, 0x32, + 0x1d, 0x2e, 0x65, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x38, 0x2e, 0x54, + 0x6f, 0x70, 0x69, 0x63, 0x41, 0x6e, 0x64, 0x41, 0x63, 0x74, 0x6f, 0x72, 0x49, 0x64, 0x52, 0x0e, + 0x61, 0x63, 0x74, 0x69, 0x76, 0x65, 0x49, 0x6e, 0x66, 0x65, 0x72, 0x65, 0x72, 0x73, 0x12, 0x4c, + 0x0a, 0x12, 0x61, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x66, 0x6f, 0x72, 0x65, 0x63, 0x61, 0x73, + 0x74, 0x65, 0x72, 0x73, 0x18, 0x45, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x65, 0x6d, 0x69, + 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x38, 0x2e, 0x54, 0x6f, 0x70, 0x69, 0x63, 0x41, + 0x6e, 0x64, 0x41, 0x63, 0x74, 0x6f, 0x72, 0x49, 0x64, 0x52, 0x11, 0x61, 0x63, 0x74, 0x69, 0x76, + 0x65, 0x46, 0x6f, 0x72, 0x65, 0x63, 0x61, 0x73, 0x74, 0x65, 0x72, 0x73, 0x12, 0x5a, 0x0a, 0x18, + 0x6c, 0x6f, 0x77, 0x65, 0x73, 0x74, 0x5f, 0x69, 0x6e, 0x66, 0x65, 0x72, 0x65, 0x72, 0x5f, 0x73, + 0x63, 0x6f, 0x72, 0x65, 0x5f, 0x65, 0x6d, 0x61, 0x18, 0x46, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x21, + 0x2e, 0x65, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x38, 0x2e, 0x54, 0x6f, + 0x70, 0x69, 0x63, 0x49, 0x64, 0x41, 0x63, 0x74, 0x6f, 0x72, 0x49, 0x64, 0x53, 0x63, 0x6f, 0x72, + 0x65, 0x52, 0x15, 0x6c, 0x6f, 0x77, 0x65, 0x73, 0x74, 0x49, 0x6e, 0x66, 0x65, 0x72, 0x65, 0x72, + 0x53, 0x63, 0x6f, 0x72, 0x65, 0x45, 0x6d, 0x61, 0x12, 0x60, 0x0a, 0x1b, 0x6c, 0x6f, 0x77, 0x65, + 0x73, 0x74, 0x5f, 0x66, 0x6f, 0x72, 0x65, 0x63, 0x61, 0x73, 0x74, 0x65, 0x72, 0x5f, 0x73, 0x63, + 0x6f, 0x72, 0x65, 0x5f, 0x65, 0x6d, 0x61, 0x18, 0x47, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x21, 0x2e, + 0x65, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x38, 0x2e, 0x54, 0x6f, 0x70, + 0x69, 0x63, 0x49, 0x64, 0x41, 0x63, 0x74, 0x6f, 0x72, 0x49, 0x64, 0x53, 0x63, 0x6f, 0x72, 0x65, + 0x52, 0x18, 0x6c, 0x6f, 0x77, 0x65, 0x73, 0x74, 0x46, 0x6f, 0x72, 0x65, 0x63, 0x61, 0x73, 0x74, + 0x65, 0x72, 0x53, 0x63, 0x6f, 0x72, 0x65, 0x45, 0x6d, 0x61, 0x12, 0x46, 0x0a, 0x0f, 0x61, 0x63, + 0x74, 0x69, 0x76, 0x65, 0x5f, 0x72, 0x65, 0x70, 0x75, 0x74, 0x65, 0x72, 0x73, 0x18, 0x48, 0x20, + 0x03, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x65, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2e, + 0x76, 0x38, 0x2e, 0x54, 0x6f, 0x70, 0x69, 0x63, 0x41, 0x6e, 0x64, 0x41, 0x63, 0x74, 0x6f, 0x72, + 0x49, 0x64, 0x52, 0x0e, 0x61, 0x63, 0x74, 0x69, 0x76, 0x65, 0x52, 0x65, 0x70, 0x75, 0x74, 0x65, + 0x72, 0x73, 0x12, 0x5a, 0x0a, 0x18, 0x6c, 0x6f, 0x77, 0x65, 0x73, 0x74, 0x5f, 0x72, 0x65, 0x70, + 0x75, 0x74, 0x65, 0x72, 0x5f, 0x73, 0x63, 0x6f, 0x72, 0x65, 0x5f, 0x65, 0x6d, 0x61, 0x18, 0x49, + 0x20, 0x03, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x65, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, + 0x2e, 0x76, 0x38, 0x2e, 0x54, 0x6f, 0x70, 0x69, 0x63, 0x49, 0x64, 0x41, 0x63, 0x74, 0x6f, 0x72, + 0x49, 0x64, 0x53, 0x63, 0x6f, 0x72, 0x65, 0x52, 0x15, 0x6c, 0x6f, 0x77, 0x65, 0x73, 0x74, 0x52, + 0x65, 0x70, 0x75, 0x74, 0x65, 0x72, 0x53, 0x63, 0x6f, 0x72, 0x65, 0x45, 0x6d, 0x61, 0x12, 0x51, + 0x0a, 0x0c, 0x6c, 0x6f, 0x73, 0x73, 0x5f, 0x62, 0x75, 0x6e, 0x64, 0x6c, 0x65, 0x73, 0x18, 0x4a, + 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2e, 0x2e, 0x65, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, + 0x2e, 0x76, 0x38, 0x2e, 0x54, 0x6f, 0x70, 0x69, 0x63, 0x49, 0x64, 0x52, 0x65, 0x70, 0x75, 0x74, + 0x65, 0x72, 0x52, 0x65, 0x70, 0x75, 0x74, 0x65, 0x72, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x42, 0x75, + 0x6e, 0x64, 0x6c, 0x65, 0x52, 0x0b, 0x6c, 0x6f, 0x73, 0x73, 0x42, 0x75, 0x6e, 0x64, 0x6c, 0x65, + 0x73, 0x12, 0x7f, 0x0a, 0x20, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x5f, 0x73, 0x75, 0x6d, 0x5f, 0x70, + 0x72, 0x65, 0x76, 0x69, 0x6f, 0x75, 0x73, 0x5f, 0x74, 0x6f, 0x70, 0x69, 0x63, 0x5f, 0x77, 0x65, + 0x69, 0x67, 0x68, 0x74, 0x73, 0x18, 0x4b, 0x20, 0x01, 0x28, 0x09, 0x42, 0x37, 0xc8, 0xde, 0x1f, + 0x00, 0xda, 0xde, 0x1f, 0x2f, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, + 0x61, 0x6c, 0x6c, 0x6f, 0x72, 0x61, 0x2d, 0x6e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x2f, 0x61, + 0x6c, 0x6c, 0x6f, 0x72, 0x61, 0x2d, 0x63, 0x68, 0x61, 0x69, 0x6e, 0x2f, 0x6d, 0x61, 0x74, 0x68, + 0x2e, 0x44, 0x65, 0x63, 0x52, 0x1c, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x53, 0x75, 0x6d, 0x50, 0x72, + 0x65, 0x76, 0x69, 0x6f, 0x75, 0x73, 0x54, 0x6f, 0x70, 0x69, 0x63, 0x57, 0x65, 0x69, 0x67, 0x68, + 0x74, 0x73, 0x12, 0x73, 0x0a, 0x1d, 0x72, 0x65, 0x77, 0x61, 0x72, 0x64, 0x5f, 0x63, 0x75, 0x72, + 0x72, 0x65, 0x6e, 0x74, 0x5f, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x5f, 0x65, 0x6d, 0x69, 0x73, 0x73, + 0x69, 0x6f, 0x6e, 0x18, 0x4c, 0x20, 0x01, 0x28, 0x09, 0x42, 0x30, 0xc8, 0xde, 0x1f, 0x00, 0xda, + 0xde, 0x1f, 0x15, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x73, 0x64, 0x6b, 0x2e, 0x69, 0x6f, 0x2f, + 0x6d, 0x61, 0x74, 0x68, 0x2e, 0x49, 0x6e, 0x74, 0xd2, 0xb4, 0x2d, 0x0a, 0x63, 0x6f, 0x73, 0x6d, + 0x6f, 0x73, 0x2e, 0x49, 0x6e, 0x74, 0xa8, 0xe7, 0xb0, 0x2a, 0x01, 0x52, 0x1a, 0x72, 0x65, 0x77, + 0x61, 0x72, 0x64, 0x43, 0x75, 0x72, 0x72, 0x65, 0x6e, 0x74, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x45, + 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x29, 0x0a, 0x10, 0x77, 0x68, 0x69, 0x74, 0x65, + 0x6c, 0x69, 0x73, 0x74, 0x5f, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x73, 0x18, 0x4d, 0x20, 0x03, 0x28, + 0x09, 0x52, 0x0f, 0x77, 0x68, 0x69, 0x74, 0x65, 0x6c, 0x69, 0x73, 0x74, 0x41, 0x64, 0x6d, 0x69, + 0x6e, 0x73, 0x12, 0x29, 0x0a, 0x10, 0x67, 0x6c, 0x6f, 0x62, 0x61, 0x6c, 0x5f, 0x77, 0x68, 0x69, + 0x74, 0x65, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x4e, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0f, 0x67, 0x6c, + 0x6f, 0x62, 0x61, 0x6c, 0x57, 0x68, 0x69, 0x74, 0x65, 0x6c, 0x69, 0x73, 0x74, 0x12, 0x36, 0x0a, + 0x17, 0x74, 0x6f, 0x70, 0x69, 0x63, 0x5f, 0x63, 0x72, 0x65, 0x61, 0x74, 0x6f, 0x72, 0x5f, 0x77, + 0x68, 0x69, 0x74, 0x65, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x4f, 0x20, 0x03, 0x28, 0x09, 0x52, 0x15, + 0x74, 0x6f, 0x70, 0x69, 0x63, 0x43, 0x72, 0x65, 0x61, 0x74, 0x6f, 0x72, 0x57, 0x68, 0x69, 0x74, + 0x65, 0x6c, 0x69, 0x73, 0x74, 0x12, 0x53, 0x0a, 0x16, 0x74, 0x6f, 0x70, 0x69, 0x63, 0x5f, 0x77, + 0x6f, 0x72, 0x6b, 0x65, 0x72, 0x5f, 0x77, 0x68, 0x69, 0x74, 0x65, 0x6c, 0x69, 0x73, 0x74, 0x18, + 0x50, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x65, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, + 0x73, 0x2e, 0x76, 0x38, 0x2e, 0x54, 0x6f, 0x70, 0x69, 0x63, 0x41, 0x6e, 0x64, 0x41, 0x63, 0x74, + 0x6f, 0x72, 0x49, 0x64, 0x52, 0x14, 0x74, 0x6f, 0x70, 0x69, 0x63, 0x57, 0x6f, 0x72, 0x6b, 0x65, + 0x72, 0x57, 0x68, 0x69, 0x74, 0x65, 0x6c, 0x69, 0x73, 0x74, 0x12, 0x55, 0x0a, 0x17, 0x74, 0x6f, + 0x70, 0x69, 0x63, 0x5f, 0x72, 0x65, 0x70, 0x75, 0x74, 0x65, 0x72, 0x5f, 0x77, 0x68, 0x69, 0x74, + 0x65, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x51, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x65, 0x6d, + 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x38, 0x2e, 0x54, 0x6f, 0x70, 0x69, 0x63, + 0x41, 0x6e, 0x64, 0x41, 0x63, 0x74, 0x6f, 0x72, 0x49, 0x64, 0x52, 0x15, 0x74, 0x6f, 0x70, 0x69, + 0x63, 0x52, 0x65, 0x70, 0x75, 0x74, 0x65, 0x72, 0x57, 0x68, 0x69, 0x74, 0x65, 0x6c, 0x69, 0x73, + 0x74, 0x12, 0x43, 0x0a, 0x1e, 0x74, 0x6f, 0x70, 0x69, 0x63, 0x5f, 0x77, 0x6f, 0x72, 0x6b, 0x65, + 0x72, 0x5f, 0x77, 0x68, 0x69, 0x74, 0x65, 0x6c, 0x69, 0x73, 0x74, 0x5f, 0x65, 0x6e, 0x61, 0x62, + 0x6c, 0x65, 0x64, 0x18, 0x52, 0x20, 0x03, 0x28, 0x04, 0x52, 0x1b, 0x74, 0x6f, 0x70, 0x69, 0x63, + 0x57, 0x6f, 0x72, 0x6b, 0x65, 0x72, 0x57, 0x68, 0x69, 0x74, 0x65, 0x6c, 0x69, 0x73, 0x74, 0x45, + 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x12, 0x45, 0x0a, 0x1f, 0x74, 0x6f, 0x70, 0x69, 0x63, 0x5f, + 0x72, 0x65, 0x70, 0x75, 0x74, 0x65, 0x72, 0x5f, 0x77, 0x68, 0x69, 0x74, 0x65, 0x6c, 0x69, 0x73, + 0x74, 0x5f, 0x65, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x18, 0x53, 0x20, 0x03, 0x28, 0x04, 0x52, + 0x1c, 0x74, 0x6f, 0x70, 0x69, 0x63, 0x52, 0x65, 0x70, 0x75, 0x74, 0x65, 0x72, 0x57, 0x68, 0x69, + 0x74, 0x65, 0x6c, 0x69, 0x73, 0x74, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x12, 0x51, 0x0a, + 0x16, 0x6c, 0x61, 0x73, 0x74, 0x5f, 0x6d, 0x65, 0x64, 0x69, 0x61, 0x6e, 0x5f, 0x69, 0x6e, 0x66, + 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x73, 0x18, 0x54, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1b, 0x2e, + 0x65, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x38, 0x2e, 0x54, 0x6f, 0x70, + 0x69, 0x63, 0x49, 0x64, 0x41, 0x6e, 0x64, 0x44, 0x65, 0x63, 0x52, 0x14, 0x6c, 0x61, 0x73, 0x74, + 0x4d, 0x65, 0x64, 0x69, 0x61, 0x6e, 0x49, 0x6e, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x73, + 0x12, 0x42, 0x0a, 0x0e, 0x6d, 0x61, 0x64, 0x5f, 0x69, 0x6e, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, + 0x65, 0x73, 0x18, 0x55, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x65, 0x6d, 0x69, 0x73, 0x73, + 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x38, 0x2e, 0x54, 0x6f, 0x70, 0x69, 0x63, 0x49, 0x64, 0x41, + 0x6e, 0x64, 0x44, 0x65, 0x63, 0x52, 0x0d, 0x6d, 0x61, 0x64, 0x49, 0x6e, 0x66, 0x65, 0x72, 0x65, + 0x6e, 0x63, 0x65, 0x73, 0x12, 0x56, 0x0a, 0x19, 0x69, 0x6e, 0x69, 0x74, 0x69, 0x61, 0x6c, 0x5f, + 0x69, 0x6e, 0x66, 0x65, 0x72, 0x65, 0x72, 0x5f, 0x65, 0x6d, 0x61, 0x5f, 0x73, 0x63, 0x6f, 0x72, + 0x65, 0x18, 0x56, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x65, 0x6d, 0x69, 0x73, 0x73, 0x69, + 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x38, 0x2e, 0x54, 0x6f, 0x70, 0x69, 0x63, 0x49, 0x64, 0x41, 0x6e, + 0x64, 0x44, 0x65, 0x63, 0x52, 0x16, 0x69, 0x6e, 0x69, 0x74, 0x69, 0x61, 0x6c, 0x49, 0x6e, 0x66, + 0x65, 0x72, 0x65, 0x72, 0x45, 0x6d, 0x61, 0x53, 0x63, 0x6f, 0x72, 0x65, 0x12, 0x5c, 0x0a, 0x1c, + 0x69, 0x6e, 0x69, 0x74, 0x69, 0x61, 0x6c, 0x5f, 0x66, 0x6f, 0x72, 0x65, 0x63, 0x61, 0x73, 0x74, + 0x65, 0x72, 0x5f, 0x65, 0x6d, 0x61, 0x5f, 0x73, 0x63, 0x6f, 0x72, 0x65, 0x18, 0x57, 0x20, 0x03, + 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x65, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, + 0x38, 0x2e, 0x54, 0x6f, 0x70, 0x69, 0x63, 0x49, 0x64, 0x41, 0x6e, 0x64, 0x44, 0x65, 0x63, 0x52, + 0x19, 0x69, 0x6e, 0x69, 0x74, 0x69, 0x61, 0x6c, 0x46, 0x6f, 0x72, 0x65, 0x63, 0x61, 0x73, 0x74, + 0x65, 0x72, 0x45, 0x6d, 0x61, 0x53, 0x63, 0x6f, 0x72, 0x65, 0x12, 0x56, 0x0a, 0x19, 0x69, 0x6e, + 0x69, 0x74, 0x69, 0x61, 0x6c, 0x5f, 0x72, 0x65, 0x70, 0x75, 0x74, 0x65, 0x72, 0x5f, 0x65, 0x6d, + 0x61, 0x5f, 0x73, 0x63, 0x6f, 0x72, 0x65, 0x18, 0x58, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1b, 0x2e, + 0x65, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x38, 0x2e, 0x54, 0x6f, 0x70, + 0x69, 0x63, 0x49, 0x64, 0x41, 0x6e, 0x64, 0x44, 0x65, 0x63, 0x52, 0x16, 0x69, 0x6e, 0x69, 0x74, + 0x69, 0x61, 0x6c, 0x52, 0x65, 0x70, 0x75, 0x74, 0x65, 0x72, 0x45, 0x6d, 0x61, 0x53, 0x63, 0x6f, + 0x72, 0x65, 0x12, 0x36, 0x0a, 0x17, 0x67, 0x6c, 0x6f, 0x62, 0x61, 0x6c, 0x5f, 0x77, 0x6f, 0x72, + 0x6b, 0x65, 0x72, 0x5f, 0x77, 0x68, 0x69, 0x74, 0x65, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x59, 0x20, + 0x03, 0x28, 0x09, 0x52, 0x15, 0x67, 0x6c, 0x6f, 0x62, 0x61, 0x6c, 0x57, 0x6f, 0x72, 0x6b, 0x65, + 0x72, 0x57, 0x68, 0x69, 0x74, 0x65, 0x6c, 0x69, 0x73, 0x74, 0x12, 0x38, 0x0a, 0x18, 0x67, 0x6c, + 0x6f, 0x62, 0x61, 0x6c, 0x5f, 0x72, 0x65, 0x70, 0x75, 0x74, 0x65, 0x72, 0x5f, 0x77, 0x68, 0x69, + 0x74, 0x65, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x5a, 0x20, 0x03, 0x28, 0x09, 0x52, 0x16, 0x67, 0x6c, + 0x6f, 0x62, 0x61, 0x6c, 0x52, 0x65, 0x70, 0x75, 0x74, 0x65, 0x72, 0x57, 0x68, 0x69, 0x74, 0x65, + 0x6c, 0x69, 0x73, 0x74, 0x12, 0x34, 0x0a, 0x16, 0x67, 0x6c, 0x6f, 0x62, 0x61, 0x6c, 0x5f, 0x61, + 0x64, 0x6d, 0x69, 0x6e, 0x5f, 0x77, 0x68, 0x69, 0x74, 0x65, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x5b, + 0x20, 0x03, 0x28, 0x09, 0x52, 0x14, 0x67, 0x6c, 0x6f, 0x62, 0x61, 0x6c, 0x41, 0x64, 0x6d, 0x69, + 0x6e, 0x57, 0x68, 0x69, 0x74, 0x65, 0x6c, 0x69, 0x73, 0x74, 0x12, 0x50, 0x0a, 0x16, 0x6c, 0x61, + 0x74, 0x65, 0x73, 0x74, 0x5f, 0x72, 0x65, 0x67, 0x72, 0x65, 0x74, 0x5f, 0x73, 0x74, 0x64, 0x5f, + 0x6e, 0x6f, 0x72, 0x6d, 0x18, 0x5c, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x65, 0x6d, 0x69, + 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x38, 0x2e, 0x54, 0x6f, 0x70, 0x69, 0x63, 0x49, + 0x64, 0x41, 0x6e, 0x64, 0x44, 0x65, 0x63, 0x52, 0x13, 0x6c, 0x61, 0x74, 0x65, 0x73, 0x74, 0x52, + 0x65, 0x67, 0x72, 0x65, 0x74, 0x53, 0x74, 0x64, 0x4e, 0x6f, 0x72, 0x6d, 0x12, 0x55, 0x0a, 0x16, + 0x6c, 0x61, 0x74, 0x65, 0x73, 0x74, 0x5f, 0x69, 0x6e, 0x66, 0x65, 0x72, 0x65, 0x72, 0x5f, 0x77, + 0x65, 0x69, 0x67, 0x68, 0x74, 0x73, 0x18, 0x5d, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x65, + 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x38, 0x2e, 0x54, 0x6f, 0x70, 0x69, + 0x63, 0x49, 0x64, 0x41, 0x63, 0x74, 0x6f, 0x72, 0x49, 0x64, 0x44, 0x65, 0x63, 0x52, 0x14, 0x6c, + 0x61, 0x74, 0x65, 0x73, 0x74, 0x49, 0x6e, 0x66, 0x65, 0x72, 0x65, 0x72, 0x57, 0x65, 0x69, 0x67, + 0x68, 0x74, 0x73, 0x12, 0x5b, 0x0a, 0x19, 0x6c, 0x61, 0x74, 0x65, 0x73, 0x74, 0x5f, 0x66, 0x6f, + 0x72, 0x65, 0x63, 0x61, 0x73, 0x74, 0x65, 0x72, 0x5f, 0x77, 0x65, 0x69, 0x67, 0x68, 0x74, 0x73, + 0x18, 0x5e, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x65, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, + 0x6e, 0x73, 0x2e, 0x76, 0x38, 0x2e, 0x54, 0x6f, 0x70, 0x69, 0x63, 0x49, 0x64, 0x41, 0x63, 0x74, + 0x6f, 0x72, 0x49, 0x64, 0x44, 0x65, 0x63, 0x52, 0x17, 0x6c, 0x61, 0x74, 0x65, 0x73, 0x74, 0x46, + 0x6f, 0x72, 0x65, 0x63, 0x61, 0x73, 0x74, 0x65, 0x72, 0x57, 0x65, 0x69, 0x67, 0x68, 0x74, 0x73, + 0x4a, 0x04, 0x08, 0x0d, 0x10, 0x0e, 0x4a, 0x04, 0x08, 0x0e, 0x10, 0x0f, 0x4a, 0x04, 0x08, 0x0f, + 0x10, 0x10, 0x52, 0x1b, 0x6c, 0x61, 0x74, 0x65, 0x73, 0x74, 0x49, 0x6e, 0x66, 0x65, 0x72, 0x65, + 0x72, 0x53, 0x63, 0x6f, 0x72, 0x65, 0x73, 0x42, 0x79, 0x57, 0x6f, 0x72, 0x6b, 0x65, 0x72, 0x52, + 0x1e, 0x6c, 0x61, 0x74, 0x65, 0x73, 0x74, 0x46, 0x6f, 0x72, 0x65, 0x63, 0x61, 0x73, 0x74, 0x65, + 0x72, 0x53, 0x63, 0x6f, 0x72, 0x65, 0x73, 0x42, 0x79, 0x57, 0x6f, 0x72, 0x6b, 0x65, 0x72, 0x52, + 0x1c, 0x6c, 0x61, 0x74, 0x65, 0x73, 0x74, 0x52, 0x65, 0x70, 0x75, 0x74, 0x65, 0x72, 0x53, 0x63, + 0x6f, 0x72, 0x65, 0x73, 0x42, 0x79, 0x52, 0x65, 0x70, 0x75, 0x74, 0x65, 0x72, 0x22, 0x57, 0x0a, + 0x0f, 0x54, 0x6f, 0x70, 0x69, 0x63, 0x49, 0x64, 0x41, 0x6e, 0x64, 0x54, 0x6f, 0x70, 0x69, 0x63, + 0x12, 0x19, 0x0a, 0x08, 0x74, 0x6f, 0x70, 0x69, 0x63, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, + 0x28, 0x04, 0x52, 0x07, 0x74, 0x6f, 0x70, 0x69, 0x63, 0x49, 0x64, 0x12, 0x29, 0x0a, 0x05, 0x74, + 0x6f, 0x70, 0x69, 0x63, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x13, 0x2e, 0x65, 0x6d, 0x69, + 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x33, 0x2e, 0x54, 0x6f, 0x70, 0x69, 0x63, 0x52, + 0x05, 0x74, 0x6f, 0x70, 0x69, 0x63, 0x22, 0x47, 0x0a, 0x0f, 0x54, 0x6f, 0x70, 0x69, 0x63, 0x41, + 0x6e, 0x64, 0x41, 0x63, 0x74, 0x6f, 0x72, 0x49, 0x64, 0x12, 0x19, 0x0a, 0x08, 0x74, 0x6f, 0x70, + 0x69, 0x63, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x07, 0x74, 0x6f, 0x70, + 0x69, 0x63, 0x49, 0x64, 0x12, 0x19, 0x0a, 0x08, 0x61, 0x63, 0x74, 0x6f, 0x72, 0x5f, 0x69, 0x64, + 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x61, 0x63, 0x74, 0x6f, 0x72, 0x49, 0x64, 0x22, + 0x55, 0x0a, 0x15, 0x54, 0x6f, 0x70, 0x69, 0x63, 0x49, 0x64, 0x41, 0x6e, 0x64, 0x42, 0x6c, 0x6f, + 0x63, 0x6b, 0x48, 0x65, 0x69, 0x67, 0x68, 0x74, 0x12, 0x19, 0x0a, 0x08, 0x74, 0x6f, 0x70, 0x69, + 0x63, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x07, 0x74, 0x6f, 0x70, 0x69, + 0x63, 0x49, 0x64, 0x12, 0x21, 0x0a, 0x0c, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x5f, 0x68, 0x65, 0x69, + 0x67, 0x68, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0b, 0x62, 0x6c, 0x6f, 0x63, 0x6b, + 0x48, 0x65, 0x69, 0x67, 0x68, 0x74, 0x22, 0x58, 0x0a, 0x16, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x48, + 0x65, 0x69, 0x67, 0x68, 0x74, 0x41, 0x6e, 0x64, 0x54, 0x6f, 0x70, 0x69, 0x63, 0x49, 0x64, 0x73, + 0x12, 0x21, 0x0a, 0x0c, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x5f, 0x68, 0x65, 0x69, 0x67, 0x68, 0x74, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0b, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x48, 0x65, 0x69, + 0x67, 0x68, 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x74, 0x6f, 0x70, 0x69, 0x63, 0x5f, 0x69, 0x64, 0x73, + 0x18, 0x02, 0x20, 0x03, 0x28, 0x04, 0x52, 0x08, 0x74, 0x6f, 0x70, 0x69, 0x63, 0x49, 0x64, 0x73, + 0x22, 0x86, 0x01, 0x0a, 0x18, 0x54, 0x6f, 0x70, 0x69, 0x63, 0x49, 0x64, 0x42, 0x6c, 0x6f, 0x63, + 0x6b, 0x48, 0x65, 0x69, 0x67, 0x68, 0x74, 0x53, 0x63, 0x6f, 0x72, 0x65, 0x73, 0x12, 0x19, 0x0a, + 0x08, 0x74, 0x6f, 0x70, 0x69, 0x63, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, + 0x07, 0x74, 0x6f, 0x70, 0x69, 0x63, 0x49, 0x64, 0x12, 0x21, 0x0a, 0x0c, 0x62, 0x6c, 0x6f, 0x63, + 0x6b, 0x5f, 0x68, 0x65, 0x69, 0x67, 0x68, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0b, + 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x48, 0x65, 0x69, 0x67, 0x68, 0x74, 0x12, 0x2c, 0x0a, 0x06, 0x73, + 0x63, 0x6f, 0x72, 0x65, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x65, 0x6d, + 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x33, 0x2e, 0x53, 0x63, 0x6f, 0x72, 0x65, + 0x73, 0x52, 0x06, 0x73, 0x63, 0x6f, 0x72, 0x65, 0x73, 0x22, 0x76, 0x0a, 0x13, 0x54, 0x6f, 0x70, + 0x69, 0x63, 0x49, 0x64, 0x41, 0x63, 0x74, 0x6f, 0x72, 0x49, 0x64, 0x53, 0x63, 0x6f, 0x72, 0x65, + 0x12, 0x19, 0x0a, 0x08, 0x74, 0x6f, 0x70, 0x69, 0x63, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, + 0x28, 0x04, 0x52, 0x07, 0x74, 0x6f, 0x70, 0x69, 0x63, 0x49, 0x64, 0x12, 0x19, 0x0a, 0x08, 0x61, + 0x63, 0x74, 0x6f, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x61, + 0x63, 0x74, 0x6f, 0x72, 0x49, 0x64, 0x12, 0x29, 0x0a, 0x05, 0x73, 0x63, 0x6f, 0x72, 0x65, 0x18, + 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x13, 0x2e, 0x65, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, + 0x73, 0x2e, 0x76, 0x33, 0x2e, 0x53, 0x63, 0x6f, 0x72, 0x65, 0x52, 0x05, 0x73, 0x63, 0x6f, 0x72, + 0x65, 0x22, 0x64, 0x0a, 0x14, 0x54, 0x6f, 0x70, 0x69, 0x63, 0x49, 0x64, 0x41, 0x63, 0x74, 0x6f, + 0x72, 0x49, 0x64, 0x55, 0x69, 0x6e, 0x74, 0x36, 0x34, 0x12, 0x19, 0x0a, 0x08, 0x74, 0x6f, 0x70, + 0x69, 0x63, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x07, 0x74, 0x6f, 0x70, + 0x69, 0x63, 0x49, 0x64, 0x12, 0x19, 0x0a, 0x08, 0x61, 0x63, 0x74, 0x6f, 0x72, 0x5f, 0x69, 0x64, + 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x61, 0x63, 0x74, 0x6f, 0x72, 0x49, 0x64, 0x12, + 0x16, 0x0a, 0x06, 0x75, 0x69, 0x6e, 0x74, 0x36, 0x34, 0x18, 0x03, 0x20, 0x01, 0x28, 0x04, 0x52, + 0x06, 0x75, 0x69, 0x6e, 0x74, 0x36, 0x34, 0x22, 0xb3, 0x01, 0x0a, 0x22, 0x54, 0x6f, 0x70, 0x69, + 0x63, 0x49, 0x64, 0x41, 0x63, 0x74, 0x6f, 0x72, 0x49, 0x64, 0x4c, 0x69, 0x73, 0x74, 0x65, 0x6e, + 0x69, 0x6e, 0x67, 0x43, 0x6f, 0x65, 0x66, 0x66, 0x69, 0x63, 0x69, 0x65, 0x6e, 0x74, 0x12, 0x19, + 0x0a, 0x08, 0x74, 0x6f, 0x70, 0x69, 0x63, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, + 0x52, 0x07, 0x74, 0x6f, 0x70, 0x69, 0x63, 0x49, 0x64, 0x12, 0x19, 0x0a, 0x08, 0x61, 0x63, 0x74, + 0x6f, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x61, 0x63, 0x74, + 0x6f, 0x72, 0x49, 0x64, 0x12, 0x57, 0x0a, 0x15, 0x6c, 0x69, 0x73, 0x74, 0x65, 0x6e, 0x69, 0x6e, + 0x67, 0x5f, 0x63, 0x6f, 0x65, 0x66, 0x66, 0x69, 0x63, 0x69, 0x65, 0x6e, 0x74, 0x18, 0x03, 0x20, + 0x01, 0x28, 0x0b, 0x32, 0x22, 0x2e, 0x65, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2e, + 0x76, 0x33, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x65, 0x6e, 0x69, 0x6e, 0x67, 0x43, 0x6f, 0x65, 0x66, + 0x66, 0x69, 0x63, 0x69, 0x65, 0x6e, 0x74, 0x52, 0x14, 0x6c, 0x69, 0x73, 0x74, 0x65, 0x6e, 0x69, + 0x6e, 0x67, 0x43, 0x6f, 0x65, 0x66, 0x66, 0x69, 0x63, 0x69, 0x65, 0x6e, 0x74, 0x22, 0x94, 0x01, + 0x0a, 0x11, 0x54, 0x6f, 0x70, 0x69, 0x63, 0x49, 0x64, 0x41, 0x63, 0x74, 0x6f, 0x72, 0x49, 0x64, + 0x44, 0x65, 0x63, 0x12, 0x19, 0x0a, 0x08, 0x74, 0x6f, 0x70, 0x69, 0x63, 0x5f, 0x69, 0x64, 0x18, + 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x07, 0x74, 0x6f, 0x70, 0x69, 0x63, 0x49, 0x64, 0x12, 0x19, + 0x0a, 0x08, 0x61, 0x63, 0x74, 0x6f, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, + 0x52, 0x07, 0x61, 0x63, 0x74, 0x6f, 0x72, 0x49, 0x64, 0x12, 0x49, 0x0a, 0x03, 0x64, 0x65, 0x63, + 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x42, 0x37, 0xc8, 0xde, 0x1f, 0x00, 0xda, 0xde, 0x1f, 0x2f, + 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x61, 0x6c, 0x6c, 0x6f, 0x72, + 0x61, 0x2d, 0x6e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x2f, 0x61, 0x6c, 0x6c, 0x6f, 0x72, 0x61, + 0x2d, 0x63, 0x68, 0x61, 0x69, 0x6e, 0x2f, 0x6d, 0x61, 0x74, 0x68, 0x2e, 0x44, 0x65, 0x63, 0x52, + 0x03, 0x64, 0x65, 0x63, 0x22, 0x6e, 0x0a, 0x0d, 0x54, 0x6f, 0x70, 0x69, 0x63, 0x49, 0x64, 0x41, + 0x6e, 0x64, 0x49, 0x6e, 0x74, 0x12, 0x19, 0x0a, 0x08, 0x74, 0x6f, 0x70, 0x69, 0x63, 0x5f, 0x69, + 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x07, 0x74, 0x6f, 0x70, 0x69, 0x63, 0x49, 0x64, + 0x12, 0x42, 0x0a, 0x03, 0x69, 0x6e, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x42, 0x30, 0xc8, + 0xde, 0x1f, 0x00, 0xda, 0xde, 0x1f, 0x15, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x73, 0x64, 0x6b, + 0x2e, 0x69, 0x6f, 0x2f, 0x6d, 0x61, 0x74, 0x68, 0x2e, 0x49, 0x6e, 0x74, 0xd2, 0xb4, 0x2d, 0x0a, + 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2e, 0x49, 0x6e, 0x74, 0xa8, 0xe7, 0xb0, 0x2a, 0x01, 0x52, + 0x03, 0x69, 0x6e, 0x74, 0x22, 0x8d, 0x01, 0x0a, 0x11, 0x54, 0x6f, 0x70, 0x69, 0x63, 0x49, 0x64, + 0x41, 0x63, 0x74, 0x6f, 0x72, 0x49, 0x64, 0x49, 0x6e, 0x74, 0x12, 0x19, 0x0a, 0x08, 0x74, 0x6f, + 0x70, 0x69, 0x63, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x07, 0x74, 0x6f, + 0x70, 0x69, 0x63, 0x49, 0x64, 0x12, 0x19, 0x0a, 0x08, 0x61, 0x63, 0x74, 0x6f, 0x72, 0x5f, 0x69, + 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x61, 0x63, 0x74, 0x6f, 0x72, 0x49, 0x64, + 0x12, 0x42, 0x0a, 0x03, 0x69, 0x6e, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x42, 0x30, 0xc8, + 0xde, 0x1f, 0x00, 0xda, 0xde, 0x1f, 0x15, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x73, 0x64, 0x6b, + 0x2e, 0x69, 0x6f, 0x2f, 0x6d, 0x61, 0x74, 0x68, 0x2e, 0x49, 0x6e, 0x74, 0xd2, 0xb4, 0x2d, 0x0a, + 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2e, 0x49, 0x6e, 0x74, 0xa8, 0xe7, 0xb0, 0x2a, 0x01, 0x52, + 0x03, 0x69, 0x6e, 0x74, 0x22, 0xbd, 0x01, 0x0a, 0x24, 0x54, 0x6f, 0x70, 0x69, 0x63, 0x49, 0x64, + 0x44, 0x65, 0x6c, 0x65, 0x67, 0x61, 0x74, 0x6f, 0x72, 0x52, 0x65, 0x70, 0x75, 0x74, 0x65, 0x72, + 0x44, 0x65, 0x6c, 0x65, 0x67, 0x61, 0x74, 0x6f, 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x19, 0x0a, + 0x08, 0x74, 0x6f, 0x70, 0x69, 0x63, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, + 0x07, 0x74, 0x6f, 0x70, 0x69, 0x63, 0x49, 0x64, 0x12, 0x1c, 0x0a, 0x09, 0x64, 0x65, 0x6c, 0x65, + 0x67, 0x61, 0x74, 0x6f, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x64, 0x65, 0x6c, + 0x65, 0x67, 0x61, 0x74, 0x6f, 0x72, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x70, 0x75, 0x74, 0x65, + 0x72, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x72, 0x65, 0x70, 0x75, 0x74, 0x65, 0x72, + 0x12, 0x42, 0x0a, 0x0e, 0x64, 0x65, 0x6c, 0x65, 0x67, 0x61, 0x74, 0x6f, 0x72, 0x5f, 0x69, 0x6e, + 0x66, 0x6f, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x65, 0x6d, 0x69, 0x73, 0x73, + 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x33, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x67, 0x61, 0x74, 0x6f, + 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x0d, 0x64, 0x65, 0x6c, 0x65, 0x67, 0x61, 0x74, 0x6f, 0x72, + 0x49, 0x6e, 0x66, 0x6f, 0x22, 0xd1, 0x01, 0x0a, 0x29, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x48, 0x65, + 0x69, 0x67, 0x68, 0x74, 0x54, 0x6f, 0x70, 0x69, 0x63, 0x49, 0x64, 0x52, 0x65, 0x70, 0x75, 0x74, + 0x65, 0x72, 0x53, 0x74, 0x61, 0x6b, 0x65, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x61, 0x6c, 0x49, 0x6e, + 0x66, 0x6f, 0x12, 0x21, 0x0a, 0x0c, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x5f, 0x68, 0x65, 0x69, 0x67, + 0x68, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0b, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x48, + 0x65, 0x69, 0x67, 0x68, 0x74, 0x12, 0x19, 0x0a, 0x08, 0x74, 0x6f, 0x70, 0x69, 0x63, 0x5f, 0x69, + 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x04, 0x52, 0x07, 0x74, 0x6f, 0x70, 0x69, 0x63, 0x49, 0x64, + 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x70, 0x75, 0x74, 0x65, 0x72, 0x18, 0x03, 0x20, 0x01, 0x28, + 0x09, 0x52, 0x07, 0x72, 0x65, 0x70, 0x75, 0x74, 0x65, 0x72, 0x12, 0x4c, 0x0a, 0x12, 0x73, 0x74, + 0x61, 0x6b, 0x65, 0x5f, 0x72, 0x65, 0x6d, 0x6f, 0x76, 0x61, 0x6c, 0x5f, 0x69, 0x6e, 0x66, 0x6f, + 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x65, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, + 0x6e, 0x73, 0x2e, 0x76, 0x33, 0x2e, 0x53, 0x74, 0x61, 0x6b, 0x65, 0x52, 0x65, 0x6d, 0x6f, 0x76, + 0x61, 0x6c, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x10, 0x73, 0x74, 0x61, 0x6b, 0x65, 0x52, 0x65, 0x6d, + 0x6f, 0x76, 0x61, 0x6c, 0x49, 0x6e, 0x66, 0x6f, 0x22, 0x74, 0x0a, 0x19, 0x41, 0x63, 0x74, 0x6f, + 0x72, 0x49, 0x64, 0x54, 0x6f, 0x70, 0x69, 0x63, 0x49, 0x64, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x48, + 0x65, 0x69, 0x67, 0x68, 0x74, 0x12, 0x19, 0x0a, 0x08, 0x61, 0x63, 0x74, 0x6f, 0x72, 0x5f, 0x69, + 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x61, 0x63, 0x74, 0x6f, 0x72, 0x49, 0x64, + 0x12, 0x19, 0x0a, 0x08, 0x74, 0x6f, 0x70, 0x69, 0x63, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, + 0x28, 0x04, 0x52, 0x07, 0x74, 0x6f, 0x70, 0x69, 0x63, 0x49, 0x64, 0x12, 0x21, 0x0a, 0x0c, 0x62, + 0x6c, 0x6f, 0x63, 0x6b, 0x5f, 0x68, 0x65, 0x69, 0x67, 0x68, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, + 0x03, 0x52, 0x0b, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x48, 0x65, 0x69, 0x67, 0x68, 0x74, 0x22, 0x99, + 0x02, 0x0a, 0x3a, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x48, 0x65, 0x69, 0x67, 0x68, 0x74, 0x54, 0x6f, + 0x70, 0x69, 0x63, 0x49, 0x64, 0x44, 0x65, 0x6c, 0x65, 0x67, 0x61, 0x74, 0x6f, 0x72, 0x52, 0x65, + 0x70, 0x75, 0x74, 0x65, 0x72, 0x44, 0x65, 0x6c, 0x65, 0x67, 0x61, 0x74, 0x65, 0x53, 0x74, 0x61, + 0x6b, 0x65, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x61, 0x6c, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x21, 0x0a, + 0x0c, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x5f, 0x68, 0x65, 0x69, 0x67, 0x68, 0x74, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x03, 0x52, 0x0b, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x48, 0x65, 0x69, 0x67, 0x68, 0x74, + 0x12, 0x19, 0x0a, 0x08, 0x74, 0x6f, 0x70, 0x69, 0x63, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, + 0x28, 0x04, 0x52, 0x07, 0x74, 0x6f, 0x70, 0x69, 0x63, 0x49, 0x64, 0x12, 0x1c, 0x0a, 0x09, 0x64, + 0x65, 0x6c, 0x65, 0x67, 0x61, 0x74, 0x6f, 0x72, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, + 0x64, 0x65, 0x6c, 0x65, 0x67, 0x61, 0x74, 0x6f, 0x72, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x70, + 0x75, 0x74, 0x65, 0x72, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x72, 0x65, 0x70, 0x75, + 0x74, 0x65, 0x72, 0x12, 0x65, 0x0a, 0x1b, 0x64, 0x65, 0x6c, 0x65, 0x67, 0x61, 0x74, 0x65, 0x5f, + 0x73, 0x74, 0x61, 0x6b, 0x65, 0x5f, 0x72, 0x65, 0x6d, 0x6f, 0x76, 0x61, 0x6c, 0x5f, 0x69, 0x6e, + 0x66, 0x6f, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x26, 0x2e, 0x65, 0x6d, 0x69, 0x73, 0x73, + 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x33, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x67, 0x61, 0x74, 0x65, + 0x53, 0x74, 0x61, 0x6b, 0x65, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x61, 0x6c, 0x49, 0x6e, 0x66, 0x6f, + 0x52, 0x18, 0x64, 0x65, 0x6c, 0x65, 0x67, 0x61, 0x74, 0x65, 0x53, 0x74, 0x61, 0x6b, 0x65, 0x52, + 0x65, 0x6d, 0x6f, 0x76, 0x61, 0x6c, 0x49, 0x6e, 0x66, 0x6f, 0x22, 0x9a, 0x01, 0x0a, 0x22, 0x44, + 0x65, 0x6c, 0x65, 0x67, 0x61, 0x74, 0x6f, 0x72, 0x52, 0x65, 0x70, 0x75, 0x74, 0x65, 0x72, 0x54, + 0x6f, 0x70, 0x69, 0x63, 0x49, 0x64, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x48, 0x65, 0x69, 0x67, 0x68, + 0x74, 0x12, 0x1c, 0x0a, 0x09, 0x64, 0x65, 0x6c, 0x65, 0x67, 0x61, 0x74, 0x6f, 0x72, 0x18, 0x01, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x64, 0x65, 0x6c, 0x65, 0x67, 0x61, 0x74, 0x6f, 0x72, 0x12, + 0x18, 0x0a, 0x07, 0x72, 0x65, 0x70, 0x75, 0x74, 0x65, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, + 0x52, 0x07, 0x72, 0x65, 0x70, 0x75, 0x74, 0x65, 0x72, 0x12, 0x19, 0x0a, 0x08, 0x74, 0x6f, 0x70, + 0x69, 0x63, 0x5f, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x04, 0x52, 0x07, 0x74, 0x6f, 0x70, + 0x69, 0x63, 0x49, 0x64, 0x12, 0x21, 0x0a, 0x0c, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x5f, 0x68, 0x65, + 0x69, 0x67, 0x68, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0b, 0x62, 0x6c, 0x6f, 0x63, + 0x6b, 0x48, 0x65, 0x69, 0x67, 0x68, 0x74, 0x22, 0x86, 0x01, 0x0a, 0x17, 0x54, 0x6f, 0x70, 0x69, + 0x63, 0x49, 0x64, 0x41, 0x63, 0x74, 0x6f, 0x72, 0x49, 0x64, 0x49, 0x6e, 0x66, 0x65, 0x72, 0x65, + 0x6e, 0x63, 0x65, 0x12, 0x19, 0x0a, 0x08, 0x74, 0x6f, 0x70, 0x69, 0x63, 0x5f, 0x69, 0x64, 0x18, + 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x07, 0x74, 0x6f, 0x70, 0x69, 0x63, 0x49, 0x64, 0x12, 0x19, + 0x0a, 0x08, 0x61, 0x63, 0x74, 0x6f, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, + 0x52, 0x07, 0x61, 0x63, 0x74, 0x6f, 0x72, 0x49, 0x64, 0x12, 0x35, 0x0a, 0x09, 0x69, 0x6e, 0x66, + 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x65, + 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x33, 0x2e, 0x49, 0x6e, 0x66, 0x65, + 0x72, 0x65, 0x6e, 0x63, 0x65, 0x52, 0x09, 0x69, 0x6e, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, + 0x22, 0x82, 0x01, 0x0a, 0x16, 0x54, 0x6f, 0x70, 0x69, 0x63, 0x49, 0x64, 0x41, 0x63, 0x74, 0x6f, + 0x72, 0x49, 0x64, 0x46, 0x6f, 0x72, 0x65, 0x63, 0x61, 0x73, 0x74, 0x12, 0x19, 0x0a, 0x08, 0x74, + 0x6f, 0x70, 0x69, 0x63, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x07, 0x74, + 0x6f, 0x70, 0x69, 0x63, 0x49, 0x64, 0x12, 0x19, 0x0a, 0x08, 0x61, 0x63, 0x74, 0x6f, 0x72, 0x5f, + 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x61, 0x63, 0x74, 0x6f, 0x72, 0x49, + 0x64, 0x12, 0x32, 0x0a, 0x08, 0x66, 0x6f, 0x72, 0x65, 0x63, 0x61, 0x73, 0x74, 0x18, 0x03, 0x20, + 0x01, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x65, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2e, + 0x76, 0x33, 0x2e, 0x46, 0x6f, 0x72, 0x65, 0x63, 0x61, 0x73, 0x74, 0x52, 0x08, 0x66, 0x6f, 0x72, + 0x65, 0x63, 0x61, 0x73, 0x74, 0x22, 0x7b, 0x0a, 0x18, 0x4c, 0x69, 0x62, 0x50, 0x32, 0x70, 0x4b, + 0x65, 0x79, 0x41, 0x6e, 0x64, 0x4f, 0x66, 0x66, 0x63, 0x68, 0x61, 0x69, 0x6e, 0x4e, 0x6f, 0x64, + 0x65, 0x12, 0x1e, 0x0a, 0x0b, 0x6c, 0x69, 0x62, 0x5f, 0x70, 0x32, 0x70, 0x5f, 0x6b, 0x65, 0x79, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x6c, 0x69, 0x62, 0x50, 0x32, 0x70, 0x4b, 0x65, + 0x79, 0x12, 0x3f, 0x0a, 0x0d, 0x6f, 0x66, 0x66, 0x63, 0x68, 0x61, 0x69, 0x6e, 0x5f, 0x6e, 0x6f, + 0x64, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x65, 0x6d, 0x69, 0x73, 0x73, + 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x33, 0x2e, 0x4f, 0x66, 0x66, 0x63, 0x68, 0x61, 0x69, 0x6e, + 0x4e, 0x6f, 0x64, 0x65, 0x52, 0x0c, 0x6f, 0x66, 0x66, 0x63, 0x68, 0x61, 0x69, 0x6e, 0x4e, 0x6f, + 0x64, 0x65, 0x22, 0x75, 0x0a, 0x0d, 0x54, 0x6f, 0x70, 0x69, 0x63, 0x49, 0x64, 0x41, 0x6e, 0x64, + 0x44, 0x65, 0x63, 0x12, 0x19, 0x0a, 0x08, 0x74, 0x6f, 0x70, 0x69, 0x63, 0x5f, 0x69, 0x64, 0x18, + 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x07, 0x74, 0x6f, 0x70, 0x69, 0x63, 0x49, 0x64, 0x12, 0x49, + 0x0a, 0x03, 0x64, 0x65, 0x63, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x42, 0x37, 0xc8, 0xde, 0x1f, + 0x00, 0xda, 0xde, 0x1f, 0x2f, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, + 0x61, 0x6c, 0x6c, 0x6f, 0x72, 0x61, 0x2d, 0x6e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x2f, 0x61, + 0x6c, 0x6c, 0x6f, 0x72, 0x61, 0x2d, 0x63, 0x68, 0x61, 0x69, 0x6e, 0x2f, 0x6d, 0x61, 0x74, 0x68, + 0x2e, 0x44, 0x65, 0x63, 0x52, 0x03, 0x64, 0x65, 0x63, 0x22, 0x96, 0x01, 0x0a, 0x1c, 0x54, 0x6f, + 0x70, 0x69, 0x63, 0x49, 0x64, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x48, 0x65, 0x69, 0x67, 0x68, 0x74, + 0x49, 0x6e, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x73, 0x12, 0x19, 0x0a, 0x08, 0x74, 0x6f, + 0x70, 0x69, 0x63, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x07, 0x74, 0x6f, + 0x70, 0x69, 0x63, 0x49, 0x64, 0x12, 0x21, 0x0a, 0x0c, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x5f, 0x68, + 0x65, 0x69, 0x67, 0x68, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0b, 0x62, 0x6c, 0x6f, + 0x63, 0x6b, 0x48, 0x65, 0x69, 0x67, 0x68, 0x74, 0x12, 0x38, 0x0a, 0x0a, 0x69, 0x6e, 0x66, 0x65, + 0x72, 0x65, 0x6e, 0x63, 0x65, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x18, 0x2e, 0x65, + 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x33, 0x2e, 0x49, 0x6e, 0x66, 0x65, + 0x72, 0x65, 0x6e, 0x63, 0x65, 0x73, 0x52, 0x0a, 0x69, 0x6e, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, + 0x65, 0x73, 0x22, 0x92, 0x01, 0x0a, 0x1b, 0x54, 0x6f, 0x70, 0x69, 0x63, 0x49, 0x64, 0x42, 0x6c, + 0x6f, 0x63, 0x6b, 0x48, 0x65, 0x69, 0x67, 0x68, 0x74, 0x46, 0x6f, 0x72, 0x65, 0x63, 0x61, 0x73, + 0x74, 0x73, 0x12, 0x19, 0x0a, 0x08, 0x74, 0x6f, 0x70, 0x69, 0x63, 0x5f, 0x69, 0x64, 0x18, 0x01, + 0x20, 0x01, 0x28, 0x04, 0x52, 0x07, 0x74, 0x6f, 0x70, 0x69, 0x63, 0x49, 0x64, 0x12, 0x21, 0x0a, + 0x0c, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x5f, 0x68, 0x65, 0x69, 0x67, 0x68, 0x74, 0x18, 0x02, 0x20, + 0x01, 0x28, 0x03, 0x52, 0x0b, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x48, 0x65, 0x69, 0x67, 0x68, 0x74, + 0x12, 0x35, 0x0a, 0x09, 0x66, 0x6f, 0x72, 0x65, 0x63, 0x61, 0x73, 0x74, 0x73, 0x18, 0x03, 0x20, + 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x65, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2e, + 0x76, 0x33, 0x2e, 0x46, 0x6f, 0x72, 0x65, 0x63, 0x61, 0x73, 0x74, 0x73, 0x52, 0x09, 0x66, 0x6f, + 0x72, 0x65, 0x63, 0x61, 0x73, 0x74, 0x73, 0x22, 0xbc, 0x01, 0x0a, 0x25, 0x54, 0x6f, 0x70, 0x69, + 0x63, 0x49, 0x64, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x48, 0x65, 0x69, 0x67, 0x68, 0x74, 0x52, 0x65, + 0x70, 0x75, 0x74, 0x65, 0x72, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x42, 0x75, 0x6e, 0x64, 0x6c, 0x65, + 0x73, 0x12, 0x19, 0x0a, 0x08, 0x74, 0x6f, 0x70, 0x69, 0x63, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x04, 0x52, 0x07, 0x74, 0x6f, 0x70, 0x69, 0x63, 0x49, 0x64, 0x12, 0x21, 0x0a, 0x0c, + 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x5f, 0x68, 0x65, 0x69, 0x67, 0x68, 0x74, 0x18, 0x02, 0x20, 0x01, + 0x28, 0x03, 0x52, 0x0b, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x48, 0x65, 0x69, 0x67, 0x68, 0x74, 0x12, + 0x55, 0x0a, 0x15, 0x72, 0x65, 0x70, 0x75, 0x74, 0x65, 0x72, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, + 0x5f, 0x62, 0x75, 0x6e, 0x64, 0x6c, 0x65, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x21, + 0x2e, 0x65, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x33, 0x2e, 0x52, 0x65, + 0x70, 0x75, 0x74, 0x65, 0x72, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x42, 0x75, 0x6e, 0x64, 0x6c, 0x65, + 0x73, 0x52, 0x13, 0x72, 0x65, 0x70, 0x75, 0x74, 0x65, 0x72, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x42, + 0x75, 0x6e, 0x64, 0x6c, 0x65, 0x73, 0x22, 0x9c, 0x01, 0x0a, 0x1e, 0x54, 0x6f, 0x70, 0x69, 0x63, + 0x49, 0x64, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x48, 0x65, 0x69, 0x67, 0x68, 0x74, 0x56, 0x61, 0x6c, + 0x75, 0x65, 0x42, 0x75, 0x6e, 0x64, 0x6c, 0x65, 0x73, 0x12, 0x19, 0x0a, 0x08, 0x74, 0x6f, 0x70, + 0x69, 0x63, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x07, 0x74, 0x6f, 0x70, + 0x69, 0x63, 0x49, 0x64, 0x12, 0x21, 0x0a, 0x0c, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x5f, 0x68, 0x65, + 0x69, 0x67, 0x68, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0b, 0x62, 0x6c, 0x6f, 0x63, + 0x6b, 0x48, 0x65, 0x69, 0x67, 0x68, 0x74, 0x12, 0x3c, 0x0a, 0x0c, 0x76, 0x61, 0x6c, 0x75, 0x65, + 0x5f, 0x62, 0x75, 0x6e, 0x64, 0x6c, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, + 0x65, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x33, 0x2e, 0x56, 0x61, 0x6c, + 0x75, 0x65, 0x42, 0x75, 0x6e, 0x64, 0x6c, 0x65, 0x52, 0x0b, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x42, + 0x75, 0x6e, 0x64, 0x6c, 0x65, 0x22, 0x5b, 0x0a, 0x10, 0x54, 0x6f, 0x70, 0x69, 0x63, 0x49, 0x64, + 0x41, 0x6e, 0x64, 0x4e, 0x6f, 0x6e, 0x63, 0x65, 0x73, 0x12, 0x19, 0x0a, 0x08, 0x74, 0x6f, 0x70, + 0x69, 0x63, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x07, 0x74, 0x6f, 0x70, + 0x69, 0x63, 0x49, 0x64, 0x12, 0x2c, 0x0a, 0x06, 0x6e, 0x6f, 0x6e, 0x63, 0x65, 0x73, 0x18, 0x02, + 0x20, 0x01, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x65, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, + 0x2e, 0x76, 0x33, 0x2e, 0x4e, 0x6f, 0x6e, 0x63, 0x65, 0x73, 0x52, 0x06, 0x6e, 0x6f, 0x6e, 0x63, + 0x65, 0x73, 0x22, 0x95, 0x01, 0x0a, 0x1e, 0x54, 0x6f, 0x70, 0x69, 0x63, 0x49, 0x64, 0x41, 0x6e, + 0x64, 0x52, 0x65, 0x70, 0x75, 0x74, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x4e, + 0x6f, 0x6e, 0x63, 0x65, 0x73, 0x12, 0x19, 0x0a, 0x08, 0x74, 0x6f, 0x70, 0x69, 0x63, 0x5f, 0x69, + 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x07, 0x74, 0x6f, 0x70, 0x69, 0x63, 0x49, 0x64, + 0x12, 0x58, 0x0a, 0x16, 0x72, 0x65, 0x70, 0x75, 0x74, 0x65, 0x72, 0x5f, 0x72, 0x65, 0x71, 0x75, + 0x65, 0x73, 0x74, 0x5f, 0x6e, 0x6f, 0x6e, 0x63, 0x65, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, + 0x32, 0x22, 0x2e, 0x65, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x33, 0x2e, + 0x52, 0x65, 0x70, 0x75, 0x74, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x4e, 0x6f, + 0x6e, 0x63, 0x65, 0x73, 0x52, 0x14, 0x72, 0x65, 0x70, 0x75, 0x74, 0x65, 0x72, 0x52, 0x65, 0x71, + 0x75, 0x65, 0x73, 0x74, 0x4e, 0x6f, 0x6e, 0x63, 0x65, 0x73, 0x22, 0xa3, 0x01, 0x0a, 0x1e, 0x54, + 0x6f, 0x70, 0x69, 0x63, 0x49, 0x64, 0x41, 0x63, 0x74, 0x6f, 0x72, 0x49, 0x64, 0x54, 0x69, 0x6d, + 0x65, 0x53, 0x74, 0x61, 0x6d, 0x70, 0x65, 0x64, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x19, 0x0a, + 0x08, 0x74, 0x6f, 0x70, 0x69, 0x63, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, + 0x07, 0x74, 0x6f, 0x70, 0x69, 0x63, 0x49, 0x64, 0x12, 0x19, 0x0a, 0x08, 0x61, 0x63, 0x74, 0x6f, + 0x72, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x61, 0x63, 0x74, 0x6f, + 0x72, 0x49, 0x64, 0x12, 0x4b, 0x0a, 0x11, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, + 0x65, 0x64, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1e, + 0x2e, 0x65, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x33, 0x2e, 0x54, 0x69, + 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x65, 0x64, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x10, + 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x65, 0x64, 0x56, 0x61, 0x6c, 0x75, 0x65, + 0x22, 0xc9, 0x01, 0x0a, 0x25, 0x54, 0x6f, 0x70, 0x69, 0x63, 0x49, 0x64, 0x41, 0x63, 0x74, 0x6f, + 0x72, 0x49, 0x64, 0x41, 0x63, 0x74, 0x6f, 0x72, 0x49, 0x64, 0x54, 0x69, 0x6d, 0x65, 0x53, 0x74, + 0x61, 0x6d, 0x70, 0x65, 0x64, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x19, 0x0a, 0x08, 0x74, 0x6f, + 0x70, 0x69, 0x63, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x07, 0x74, 0x6f, + 0x70, 0x69, 0x63, 0x49, 0x64, 0x12, 0x1b, 0x0a, 0x09, 0x61, 0x63, 0x74, 0x6f, 0x72, 0x5f, 0x69, + 0x64, 0x31, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x61, 0x63, 0x74, 0x6f, 0x72, 0x49, + 0x64, 0x31, 0x12, 0x1b, 0x0a, 0x09, 0x61, 0x63, 0x74, 0x6f, 0x72, 0x5f, 0x69, 0x64, 0x32, 0x18, + 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x61, 0x63, 0x74, 0x6f, 0x72, 0x49, 0x64, 0x32, 0x12, + 0x4b, 0x0a, 0x11, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x65, 0x64, 0x5f, 0x76, + 0x61, 0x6c, 0x75, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x65, 0x6d, 0x69, + 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x33, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, + 0x61, 0x6d, 0x70, 0x65, 0x64, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x10, 0x74, 0x69, 0x6d, 0x65, + 0x73, 0x74, 0x61, 0x6d, 0x70, 0x65, 0x64, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x22, 0x96, 0x01, 0x0a, + 0x1c, 0x54, 0x6f, 0x70, 0x69, 0x63, 0x49, 0x64, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, + 0x70, 0x65, 0x64, 0x41, 0x63, 0x74, 0x6f, 0x72, 0x4e, 0x6f, 0x6e, 0x63, 0x65, 0x12, 0x19, 0x0a, + 0x08, 0x74, 0x6f, 0x70, 0x69, 0x63, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, + 0x07, 0x74, 0x6f, 0x70, 0x69, 0x63, 0x49, 0x64, 0x12, 0x5b, 0x0a, 0x17, 0x74, 0x69, 0x6d, 0x65, + 0x73, 0x74, 0x61, 0x6d, 0x70, 0x65, 0x64, 0x5f, 0x61, 0x63, 0x74, 0x6f, 0x72, 0x5f, 0x6e, 0x6f, + 0x6e, 0x63, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x23, 0x2e, 0x65, 0x6d, 0x69, 0x73, + 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x33, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, + 0x6d, 0x70, 0x65, 0x64, 0x41, 0x63, 0x74, 0x6f, 0x72, 0x4e, 0x6f, 0x6e, 0x63, 0x65, 0x52, 0x15, + 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x65, 0x64, 0x41, 0x63, 0x74, 0x6f, 0x72, + 0x4e, 0x6f, 0x6e, 0x63, 0x65, 0x22, 0x6d, 0x0a, 0x13, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x48, 0x65, + 0x69, 0x67, 0x68, 0x74, 0x54, 0x6f, 0x70, 0x69, 0x63, 0x49, 0x64, 0x73, 0x12, 0x21, 0x0a, 0x0c, + 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x5f, 0x68, 0x65, 0x69, 0x67, 0x68, 0x74, 0x18, 0x01, 0x20, 0x01, + 0x28, 0x03, 0x52, 0x0b, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x48, 0x65, 0x69, 0x67, 0x68, 0x74, 0x12, + 0x33, 0x0a, 0x09, 0x74, 0x6f, 0x70, 0x69, 0x63, 0x5f, 0x69, 0x64, 0x73, 0x18, 0x02, 0x20, 0x01, + 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x65, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, + 0x33, 0x2e, 0x54, 0x6f, 0x70, 0x69, 0x63, 0x49, 0x64, 0x73, 0x52, 0x08, 0x74, 0x6f, 0x70, 0x69, + 0x63, 0x49, 0x64, 0x73, 0x22, 0x85, 0x01, 0x0a, 0x1c, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x48, 0x65, + 0x69, 0x67, 0x68, 0x74, 0x54, 0x6f, 0x70, 0x69, 0x63, 0x49, 0x64, 0x57, 0x65, 0x69, 0x67, 0x68, + 0x74, 0x50, 0x61, 0x69, 0x72, 0x12, 0x21, 0x0a, 0x0c, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x5f, 0x68, + 0x65, 0x69, 0x67, 0x68, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0b, 0x62, 0x6c, 0x6f, + 0x63, 0x6b, 0x48, 0x65, 0x69, 0x67, 0x68, 0x74, 0x12, 0x42, 0x0a, 0x0c, 0x74, 0x6f, 0x70, 0x69, + 0x63, 0x5f, 0x77, 0x65, 0x69, 0x67, 0x68, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1f, + 0x2e, 0x65, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x33, 0x2e, 0x54, 0x6f, + 0x70, 0x69, 0x63, 0x49, 0x64, 0x57, 0x65, 0x69, 0x67, 0x68, 0x74, 0x50, 0x61, 0x69, 0x72, 0x52, + 0x0b, 0x74, 0x6f, 0x70, 0x69, 0x63, 0x57, 0x65, 0x69, 0x67, 0x68, 0x74, 0x22, 0xab, 0x01, 0x0a, + 0x20, 0x54, 0x6f, 0x70, 0x69, 0x63, 0x49, 0x64, 0x52, 0x65, 0x70, 0x75, 0x74, 0x65, 0x72, 0x52, + 0x65, 0x70, 0x75, 0x74, 0x65, 0x72, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x42, 0x75, 0x6e, 0x64, 0x6c, + 0x65, 0x12, 0x19, 0x0a, 0x08, 0x74, 0x6f, 0x70, 0x69, 0x63, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x04, 0x52, 0x07, 0x74, 0x6f, 0x70, 0x69, 0x63, 0x49, 0x64, 0x12, 0x18, 0x0a, 0x07, + 0x72, 0x65, 0x70, 0x75, 0x74, 0x65, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x72, + 0x65, 0x70, 0x75, 0x74, 0x65, 0x72, 0x12, 0x52, 0x0a, 0x14, 0x72, 0x65, 0x70, 0x75, 0x74, 0x65, + 0x72, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x5f, 0x62, 0x75, 0x6e, 0x64, 0x6c, 0x65, 0x18, 0x03, + 0x20, 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x65, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, + 0x2e, 0x76, 0x33, 0x2e, 0x52, 0x65, 0x70, 0x75, 0x74, 0x65, 0x72, 0x56, 0x61, 0x6c, 0x75, 0x65, + 0x42, 0x75, 0x6e, 0x64, 0x6c, 0x65, 0x52, 0x12, 0x72, 0x65, 0x70, 0x75, 0x74, 0x65, 0x72, 0x56, + 0x61, 0x6c, 0x75, 0x65, 0x42, 0x75, 0x6e, 0x64, 0x6c, 0x65, 0x42, 0xc2, 0x01, 0x0a, 0x10, 0x63, + 0x6f, 0x6d, 0x2e, 0x65, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x38, 0x42, + 0x0c, 0x47, 0x65, 0x6e, 0x65, 0x73, 0x69, 0x73, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, + 0x4f, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x61, 0x6c, 0x6c, 0x6f, + 0x72, 0x61, 0x2d, 0x6e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x2f, 0x61, 0x6c, 0x6c, 0x6f, 0x72, + 0x61, 0x2d, 0x63, 0x68, 0x61, 0x69, 0x6e, 0x2f, 0x78, 0x2f, 0x65, 0x6d, 0x69, 0x73, 0x73, 0x69, + 0x6f, 0x6e, 0x73, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x65, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, + 0x73, 0x2f, 0x76, 0x38, 0x3b, 0x65, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x76, 0x38, + 0xa2, 0x02, 0x03, 0x45, 0x58, 0x58, 0xaa, 0x02, 0x0c, 0x45, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, + 0x6e, 0x73, 0x2e, 0x56, 0x38, 0xca, 0x02, 0x0c, 0x45, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, + 0x73, 0x5c, 0x56, 0x38, 0xe2, 0x02, 0x18, 0x45, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, + 0x5c, 0x56, 0x38, 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, + 0x02, 0x0d, 0x45, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x3a, 0x3a, 0x56, 0x38, 0x62, + 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_emissions_v8_genesis_proto_rawDescOnce sync.Once + file_emissions_v8_genesis_proto_rawDescData = file_emissions_v8_genesis_proto_rawDesc +) + +func file_emissions_v8_genesis_proto_rawDescGZIP() []byte { + file_emissions_v8_genesis_proto_rawDescOnce.Do(func() { + file_emissions_v8_genesis_proto_rawDescData = protoimpl.X.CompressGZIP(file_emissions_v8_genesis_proto_rawDescData) + }) + return file_emissions_v8_genesis_proto_rawDescData +} + +var file_emissions_v8_genesis_proto_msgTypes = make([]protoimpl.MessageInfo, 33) +var file_emissions_v8_genesis_proto_goTypes = []interface{}{ + (*GenesisState)(nil), // 0: emissions.v8.GenesisState + (*TopicIdAndTopic)(nil), // 1: emissions.v8.TopicIdAndTopic + (*TopicAndActorId)(nil), // 2: emissions.v8.TopicAndActorId + (*TopicIdAndBlockHeight)(nil), // 3: emissions.v8.TopicIdAndBlockHeight + (*BlockHeightAndTopicIds)(nil), // 4: emissions.v8.BlockHeightAndTopicIds + (*TopicIdBlockHeightScores)(nil), // 5: emissions.v8.TopicIdBlockHeightScores + (*TopicIdActorIdScore)(nil), // 6: emissions.v8.TopicIdActorIdScore + (*TopicIdActorIdUint64)(nil), // 7: emissions.v8.TopicIdActorIdUint64 + (*TopicIdActorIdListeningCoefficient)(nil), // 8: emissions.v8.TopicIdActorIdListeningCoefficient + (*TopicIdActorIdDec)(nil), // 9: emissions.v8.TopicIdActorIdDec + (*TopicIdAndInt)(nil), // 10: emissions.v8.TopicIdAndInt + (*TopicIdActorIdInt)(nil), // 11: emissions.v8.TopicIdActorIdInt + (*TopicIdDelegatorReputerDelegatorInfo)(nil), // 12: emissions.v8.TopicIdDelegatorReputerDelegatorInfo + (*BlockHeightTopicIdReputerStakeRemovalInfo)(nil), // 13: emissions.v8.BlockHeightTopicIdReputerStakeRemovalInfo + (*ActorIdTopicIdBlockHeight)(nil), // 14: emissions.v8.ActorIdTopicIdBlockHeight + (*BlockHeightTopicIdDelegatorReputerDelegateStakeRemovalInfo)(nil), // 15: emissions.v8.BlockHeightTopicIdDelegatorReputerDelegateStakeRemovalInfo + (*DelegatorReputerTopicIdBlockHeight)(nil), // 16: emissions.v8.DelegatorReputerTopicIdBlockHeight + (*TopicIdActorIdInference)(nil), // 17: emissions.v8.TopicIdActorIdInference + (*TopicIdActorIdForecast)(nil), // 18: emissions.v8.TopicIdActorIdForecast + (*LibP2PKeyAndOffchainNode)(nil), // 19: emissions.v8.LibP2pKeyAndOffchainNode + (*TopicIdAndDec)(nil), // 20: emissions.v8.TopicIdAndDec + (*TopicIdBlockHeightInferences)(nil), // 21: emissions.v8.TopicIdBlockHeightInferences + (*TopicIdBlockHeightForecasts)(nil), // 22: emissions.v8.TopicIdBlockHeightForecasts + (*TopicIdBlockHeightReputerValueBundles)(nil), // 23: emissions.v8.TopicIdBlockHeightReputerValueBundles + (*TopicIdBlockHeightValueBundles)(nil), // 24: emissions.v8.TopicIdBlockHeightValueBundles + (*TopicIdAndNonces)(nil), // 25: emissions.v8.TopicIdAndNonces + (*TopicIdAndReputerRequestNonces)(nil), // 26: emissions.v8.TopicIdAndReputerRequestNonces + (*TopicIdActorIdTimeStampedValue)(nil), // 27: emissions.v8.TopicIdActorIdTimeStampedValue + (*TopicIdActorIdActorIdTimeStampedValue)(nil), // 28: emissions.v8.TopicIdActorIdActorIdTimeStampedValue + (*TopicIdTimestampedActorNonce)(nil), // 29: emissions.v8.TopicIdTimestampedActorNonce + (*BlockHeightTopicIds)(nil), // 30: emissions.v8.BlockHeightTopicIds + (*BlockHeightTopicIdWeightPair)(nil), // 31: emissions.v8.BlockHeightTopicIdWeightPair + (*TopicIdReputerReputerValueBundle)(nil), // 32: emissions.v8.TopicIdReputerReputerValueBundle + (*Params)(nil), // 33: emissions.v8.Params + (*v3.Topic)(nil), // 34: emissions.v3.Topic + (*v3.Scores)(nil), // 35: emissions.v3.Scores + (*v3.Score)(nil), // 36: emissions.v3.Score + (*v3.ListeningCoefficient)(nil), // 37: emissions.v3.ListeningCoefficient + (*v3.DelegatorInfo)(nil), // 38: emissions.v3.DelegatorInfo + (*v3.StakeRemovalInfo)(nil), // 39: emissions.v3.StakeRemovalInfo + (*v3.DelegateStakeRemovalInfo)(nil), // 40: emissions.v3.DelegateStakeRemovalInfo + (*v3.Inference)(nil), // 41: emissions.v3.Inference + (*v3.Forecast)(nil), // 42: emissions.v3.Forecast + (*v3.OffchainNode)(nil), // 43: emissions.v3.OffchainNode + (*v3.Inferences)(nil), // 44: emissions.v3.Inferences + (*v3.Forecasts)(nil), // 45: emissions.v3.Forecasts + (*v3.ReputerValueBundles)(nil), // 46: emissions.v3.ReputerValueBundles + (*v3.ValueBundle)(nil), // 47: emissions.v3.ValueBundle + (*v3.Nonces)(nil), // 48: emissions.v3.Nonces + (*v3.ReputerRequestNonces)(nil), // 49: emissions.v3.ReputerRequestNonces + (*v3.TimestampedValue)(nil), // 50: emissions.v3.TimestampedValue + (*v3.TimestampedActorNonce)(nil), // 51: emissions.v3.TimestampedActorNonce + (*v3.TopicIds)(nil), // 52: emissions.v3.TopicIds + (*v3.TopicIdWeightPair)(nil), // 53: emissions.v3.TopicIdWeightPair + (*v3.ReputerValueBundle)(nil), // 54: emissions.v3.ReputerValueBundle +} +var file_emissions_v8_genesis_proto_depIdxs = []int32{ + 33, // 0: emissions.v8.GenesisState.params:type_name -> emissions.v8.Params + 1, // 1: emissions.v8.GenesisState.topics:type_name -> emissions.v8.TopicIdAndTopic + 2, // 2: emissions.v8.GenesisState.topic_workers:type_name -> emissions.v8.TopicAndActorId + 2, // 3: emissions.v8.GenesisState.topic_reputers:type_name -> emissions.v8.TopicAndActorId + 3, // 4: emissions.v8.GenesisState.topic_reward_nonce:type_name -> emissions.v8.TopicIdAndBlockHeight + 5, // 5: emissions.v8.GenesisState.inferer_scores_by_block:type_name -> emissions.v8.TopicIdBlockHeightScores + 5, // 6: emissions.v8.GenesisState.forecaster_scores_by_block:type_name -> emissions.v8.TopicIdBlockHeightScores + 5, // 7: emissions.v8.GenesisState.reputer_scores_by_block:type_name -> emissions.v8.TopicIdBlockHeightScores + 8, // 8: emissions.v8.GenesisState.reputer_listening_coefficient:type_name -> emissions.v8.TopicIdActorIdListeningCoefficient + 9, // 9: emissions.v8.GenesisState.previous_reputer_reward_fraction:type_name -> emissions.v8.TopicIdActorIdDec + 9, // 10: emissions.v8.GenesisState.previous_inference_reward_fraction:type_name -> emissions.v8.TopicIdActorIdDec + 9, // 11: emissions.v8.GenesisState.previous_forecast_reward_fraction:type_name -> emissions.v8.TopicIdActorIdDec + 20, // 12: emissions.v8.GenesisState.previous_forecaster_score_ratio:type_name -> emissions.v8.TopicIdAndDec + 10, // 13: emissions.v8.GenesisState.topic_stake:type_name -> emissions.v8.TopicIdAndInt + 11, // 14: emissions.v8.GenesisState.stake_reputer_authority:type_name -> emissions.v8.TopicIdActorIdInt + 11, // 15: emissions.v8.GenesisState.stake_sum_from_delegator:type_name -> emissions.v8.TopicIdActorIdInt + 12, // 16: emissions.v8.GenesisState.delegated_stakes:type_name -> emissions.v8.TopicIdDelegatorReputerDelegatorInfo + 11, // 17: emissions.v8.GenesisState.stake_from_delegators_upon_reputer:type_name -> emissions.v8.TopicIdActorIdInt + 9, // 18: emissions.v8.GenesisState.delegate_reward_per_share:type_name -> emissions.v8.TopicIdActorIdDec + 13, // 19: emissions.v8.GenesisState.stake_removals_by_block:type_name -> emissions.v8.BlockHeightTopicIdReputerStakeRemovalInfo + 14, // 20: emissions.v8.GenesisState.stake_removals_by_actor:type_name -> emissions.v8.ActorIdTopicIdBlockHeight + 15, // 21: emissions.v8.GenesisState.delegate_stake_removals_by_block:type_name -> emissions.v8.BlockHeightTopicIdDelegatorReputerDelegateStakeRemovalInfo + 16, // 22: emissions.v8.GenesisState.delegate_stake_removals_by_actor:type_name -> emissions.v8.DelegatorReputerTopicIdBlockHeight + 17, // 23: emissions.v8.GenesisState.inferences:type_name -> emissions.v8.TopicIdActorIdInference + 18, // 24: emissions.v8.GenesisState.forecasts:type_name -> emissions.v8.TopicIdActorIdForecast + 19, // 25: emissions.v8.GenesisState.workers:type_name -> emissions.v8.LibP2pKeyAndOffchainNode + 19, // 26: emissions.v8.GenesisState.reputers:type_name -> emissions.v8.LibP2pKeyAndOffchainNode + 10, // 27: emissions.v8.GenesisState.topic_fee_revenue:type_name -> emissions.v8.TopicIdAndInt + 20, // 28: emissions.v8.GenesisState.previous_topic_weight:type_name -> emissions.v8.TopicIdAndDec + 21, // 29: emissions.v8.GenesisState.all_inferences:type_name -> emissions.v8.TopicIdBlockHeightInferences + 22, // 30: emissions.v8.GenesisState.all_forecasts:type_name -> emissions.v8.TopicIdBlockHeightForecasts + 23, // 31: emissions.v8.GenesisState.all_loss_bundles:type_name -> emissions.v8.TopicIdBlockHeightReputerValueBundles + 24, // 32: emissions.v8.GenesisState.network_loss_bundles:type_name -> emissions.v8.TopicIdBlockHeightValueBundles + 25, // 33: emissions.v8.GenesisState.unfulfilled_worker_nonces:type_name -> emissions.v8.TopicIdAndNonces + 26, // 34: emissions.v8.GenesisState.unfulfilled_reputer_nonces:type_name -> emissions.v8.TopicIdAndReputerRequestNonces + 27, // 35: emissions.v8.GenesisState.latest_inferer_network_regrets:type_name -> emissions.v8.TopicIdActorIdTimeStampedValue + 27, // 36: emissions.v8.GenesisState.latest_forecaster_network_regrets:type_name -> emissions.v8.TopicIdActorIdTimeStampedValue + 28, // 37: emissions.v8.GenesisState.latest_one_in_forecaster_network_regrets:type_name -> emissions.v8.TopicIdActorIdActorIdTimeStampedValue + 27, // 38: emissions.v8.GenesisState.latest_naive_inferer_network_regrets:type_name -> emissions.v8.TopicIdActorIdTimeStampedValue + 28, // 39: emissions.v8.GenesisState.latest_one_out_inferer_inferer_network_regrets:type_name -> emissions.v8.TopicIdActorIdActorIdTimeStampedValue + 28, // 40: emissions.v8.GenesisState.latest_one_out_inferer_forecaster_network_regrets:type_name -> emissions.v8.TopicIdActorIdActorIdTimeStampedValue + 28, // 41: emissions.v8.GenesisState.latest_one_out_forecaster_inferer_network_regrets:type_name -> emissions.v8.TopicIdActorIdActorIdTimeStampedValue + 28, // 42: emissions.v8.GenesisState.latest_one_out_forecaster_forecaster_network_regrets:type_name -> emissions.v8.TopicIdActorIdActorIdTimeStampedValue + 29, // 43: emissions.v8.GenesisState.topic_last_worker_commit:type_name -> emissions.v8.TopicIdTimestampedActorNonce + 29, // 44: emissions.v8.GenesisState.topic_last_reputer_commit:type_name -> emissions.v8.TopicIdTimestampedActorNonce + 4, // 45: emissions.v8.GenesisState.open_worker_windows:type_name -> emissions.v8.BlockHeightAndTopicIds + 3, // 46: emissions.v8.GenesisState.last_drip_block:type_name -> emissions.v8.TopicIdAndBlockHeight + 3, // 47: emissions.v8.GenesisState.topic_to_next_possible_churning_block:type_name -> emissions.v8.TopicIdAndBlockHeight + 30, // 48: emissions.v8.GenesisState.block_to_active_topics:type_name -> emissions.v8.BlockHeightTopicIds + 31, // 49: emissions.v8.GenesisState.block_to_lowest_active_topic_weight:type_name -> emissions.v8.BlockHeightTopicIdWeightPair + 6, // 50: emissions.v8.GenesisState.inferer_score_emas:type_name -> emissions.v8.TopicIdActorIdScore + 6, // 51: emissions.v8.GenesisState.forecaster_score_emas:type_name -> emissions.v8.TopicIdActorIdScore + 6, // 52: emissions.v8.GenesisState.reputer_score_emas:type_name -> emissions.v8.TopicIdActorIdScore + 20, // 53: emissions.v8.GenesisState.previous_topic_quantile_inferer_score_ema:type_name -> emissions.v8.TopicIdAndDec + 20, // 54: emissions.v8.GenesisState.previous_topic_quantile_forecaster_score_ema:type_name -> emissions.v8.TopicIdAndDec + 20, // 55: emissions.v8.GenesisState.previous_topic_quantile_reputer_score_ema:type_name -> emissions.v8.TopicIdAndDec + 7, // 56: emissions.v8.GenesisState.count_inferer_inclusions_in_topic_active_set:type_name -> emissions.v8.TopicIdActorIdUint64 + 7, // 57: emissions.v8.GenesisState.count_forecaster_inclusions_in_topic_active_set:type_name -> emissions.v8.TopicIdActorIdUint64 + 2, // 58: emissions.v8.GenesisState.active_inferers:type_name -> emissions.v8.TopicAndActorId + 2, // 59: emissions.v8.GenesisState.active_forecasters:type_name -> emissions.v8.TopicAndActorId + 6, // 60: emissions.v8.GenesisState.lowest_inferer_score_ema:type_name -> emissions.v8.TopicIdActorIdScore + 6, // 61: emissions.v8.GenesisState.lowest_forecaster_score_ema:type_name -> emissions.v8.TopicIdActorIdScore + 2, // 62: emissions.v8.GenesisState.active_reputers:type_name -> emissions.v8.TopicAndActorId + 6, // 63: emissions.v8.GenesisState.lowest_reputer_score_ema:type_name -> emissions.v8.TopicIdActorIdScore + 32, // 64: emissions.v8.GenesisState.loss_bundles:type_name -> emissions.v8.TopicIdReputerReputerValueBundle + 2, // 65: emissions.v8.GenesisState.topic_worker_whitelist:type_name -> emissions.v8.TopicAndActorId + 2, // 66: emissions.v8.GenesisState.topic_reputer_whitelist:type_name -> emissions.v8.TopicAndActorId + 20, // 67: emissions.v8.GenesisState.last_median_inferences:type_name -> emissions.v8.TopicIdAndDec + 20, // 68: emissions.v8.GenesisState.mad_inferences:type_name -> emissions.v8.TopicIdAndDec + 20, // 69: emissions.v8.GenesisState.initial_inferer_ema_score:type_name -> emissions.v8.TopicIdAndDec + 20, // 70: emissions.v8.GenesisState.initial_forecaster_ema_score:type_name -> emissions.v8.TopicIdAndDec + 20, // 71: emissions.v8.GenesisState.initial_reputer_ema_score:type_name -> emissions.v8.TopicIdAndDec + 20, // 72: emissions.v8.GenesisState.latest_regret_std_norm:type_name -> emissions.v8.TopicIdAndDec + 9, // 73: emissions.v8.GenesisState.latest_inferer_weights:type_name -> emissions.v8.TopicIdActorIdDec + 9, // 74: emissions.v8.GenesisState.latest_forecaster_weights:type_name -> emissions.v8.TopicIdActorIdDec + 34, // 75: emissions.v8.TopicIdAndTopic.topic:type_name -> emissions.v3.Topic + 35, // 76: emissions.v8.TopicIdBlockHeightScores.scores:type_name -> emissions.v3.Scores + 36, // 77: emissions.v8.TopicIdActorIdScore.score:type_name -> emissions.v3.Score + 37, // 78: emissions.v8.TopicIdActorIdListeningCoefficient.listening_coefficient:type_name -> emissions.v3.ListeningCoefficient + 38, // 79: emissions.v8.TopicIdDelegatorReputerDelegatorInfo.delegator_info:type_name -> emissions.v3.DelegatorInfo + 39, // 80: emissions.v8.BlockHeightTopicIdReputerStakeRemovalInfo.stake_removal_info:type_name -> emissions.v3.StakeRemovalInfo + 40, // 81: emissions.v8.BlockHeightTopicIdDelegatorReputerDelegateStakeRemovalInfo.delegate_stake_removal_info:type_name -> emissions.v3.DelegateStakeRemovalInfo + 41, // 82: emissions.v8.TopicIdActorIdInference.inference:type_name -> emissions.v3.Inference + 42, // 83: emissions.v8.TopicIdActorIdForecast.forecast:type_name -> emissions.v3.Forecast + 43, // 84: emissions.v8.LibP2pKeyAndOffchainNode.offchain_node:type_name -> emissions.v3.OffchainNode + 44, // 85: emissions.v8.TopicIdBlockHeightInferences.inferences:type_name -> emissions.v3.Inferences + 45, // 86: emissions.v8.TopicIdBlockHeightForecasts.forecasts:type_name -> emissions.v3.Forecasts + 46, // 87: emissions.v8.TopicIdBlockHeightReputerValueBundles.reputer_value_bundles:type_name -> emissions.v3.ReputerValueBundles + 47, // 88: emissions.v8.TopicIdBlockHeightValueBundles.value_bundle:type_name -> emissions.v3.ValueBundle + 48, // 89: emissions.v8.TopicIdAndNonces.nonces:type_name -> emissions.v3.Nonces + 49, // 90: emissions.v8.TopicIdAndReputerRequestNonces.reputer_request_nonces:type_name -> emissions.v3.ReputerRequestNonces + 50, // 91: emissions.v8.TopicIdActorIdTimeStampedValue.timestamped_value:type_name -> emissions.v3.TimestampedValue + 50, // 92: emissions.v8.TopicIdActorIdActorIdTimeStampedValue.timestamped_value:type_name -> emissions.v3.TimestampedValue + 51, // 93: emissions.v8.TopicIdTimestampedActorNonce.timestamped_actor_nonce:type_name -> emissions.v3.TimestampedActorNonce + 52, // 94: emissions.v8.BlockHeightTopicIds.topic_ids:type_name -> emissions.v3.TopicIds + 53, // 95: emissions.v8.BlockHeightTopicIdWeightPair.topic_weight:type_name -> emissions.v3.TopicIdWeightPair + 54, // 96: emissions.v8.TopicIdReputerReputerValueBundle.reputer_value_bundle:type_name -> emissions.v3.ReputerValueBundle + 97, // [97:97] is the sub-list for method output_type + 97, // [97:97] is the sub-list for method input_type + 97, // [97:97] is the sub-list for extension type_name + 97, // [97:97] is the sub-list for extension extendee + 0, // [0:97] is the sub-list for field type_name +} + +func init() { file_emissions_v8_genesis_proto_init() } +func file_emissions_v8_genesis_proto_init() { + if File_emissions_v8_genesis_proto != nil { + return + } + file_emissions_v8_params_proto_init() + if !protoimpl.UnsafeEnabled { + file_emissions_v8_genesis_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GenesisState); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_emissions_v8_genesis_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*TopicIdAndTopic); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_emissions_v8_genesis_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*TopicAndActorId); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_emissions_v8_genesis_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*TopicIdAndBlockHeight); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_emissions_v8_genesis_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*BlockHeightAndTopicIds); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_emissions_v8_genesis_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*TopicIdBlockHeightScores); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_emissions_v8_genesis_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*TopicIdActorIdScore); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_emissions_v8_genesis_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*TopicIdActorIdUint64); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_emissions_v8_genesis_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*TopicIdActorIdListeningCoefficient); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_emissions_v8_genesis_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*TopicIdActorIdDec); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_emissions_v8_genesis_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*TopicIdAndInt); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_emissions_v8_genesis_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*TopicIdActorIdInt); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_emissions_v8_genesis_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*TopicIdDelegatorReputerDelegatorInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_emissions_v8_genesis_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*BlockHeightTopicIdReputerStakeRemovalInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_emissions_v8_genesis_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ActorIdTopicIdBlockHeight); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_emissions_v8_genesis_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*BlockHeightTopicIdDelegatorReputerDelegateStakeRemovalInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_emissions_v8_genesis_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*DelegatorReputerTopicIdBlockHeight); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_emissions_v8_genesis_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*TopicIdActorIdInference); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_emissions_v8_genesis_proto_msgTypes[18].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*TopicIdActorIdForecast); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_emissions_v8_genesis_proto_msgTypes[19].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*LibP2PKeyAndOffchainNode); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_emissions_v8_genesis_proto_msgTypes[20].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*TopicIdAndDec); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_emissions_v8_genesis_proto_msgTypes[21].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*TopicIdBlockHeightInferences); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_emissions_v8_genesis_proto_msgTypes[22].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*TopicIdBlockHeightForecasts); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_emissions_v8_genesis_proto_msgTypes[23].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*TopicIdBlockHeightReputerValueBundles); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_emissions_v8_genesis_proto_msgTypes[24].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*TopicIdBlockHeightValueBundles); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_emissions_v8_genesis_proto_msgTypes[25].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*TopicIdAndNonces); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_emissions_v8_genesis_proto_msgTypes[26].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*TopicIdAndReputerRequestNonces); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_emissions_v8_genesis_proto_msgTypes[27].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*TopicIdActorIdTimeStampedValue); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_emissions_v8_genesis_proto_msgTypes[28].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*TopicIdActorIdActorIdTimeStampedValue); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_emissions_v8_genesis_proto_msgTypes[29].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*TopicIdTimestampedActorNonce); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_emissions_v8_genesis_proto_msgTypes[30].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*BlockHeightTopicIds); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_emissions_v8_genesis_proto_msgTypes[31].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*BlockHeightTopicIdWeightPair); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_emissions_v8_genesis_proto_msgTypes[32].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*TopicIdReputerReputerValueBundle); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_emissions_v8_genesis_proto_rawDesc, + NumEnums: 0, + NumMessages: 33, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_emissions_v8_genesis_proto_goTypes, + DependencyIndexes: file_emissions_v8_genesis_proto_depIdxs, + MessageInfos: file_emissions_v8_genesis_proto_msgTypes, + }.Build() + File_emissions_v8_genesis_proto = out.File + file_emissions_v8_genesis_proto_rawDesc = nil + file_emissions_v8_genesis_proto_goTypes = nil + file_emissions_v8_genesis_proto_depIdxs = nil +} diff --git a/x/emissions/api/emissions/v8/params.pulsar.go b/x/emissions/api/emissions/v8/params.pulsar.go new file mode 100644 index 000000000..1de7c8c48 --- /dev/null +++ b/x/emissions/api/emissions/v8/params.pulsar.go @@ -0,0 +1,4419 @@ +// Code generated by protoc-gen-go-pulsar. DO NOT EDIT. +package emissionsv8 + +import ( + fmt "fmt" + _ "github.com/cosmos/cosmos-proto" + runtime "github.com/cosmos/cosmos-proto/runtime" + _ "github.com/cosmos/cosmos-sdk/types/tx/amino" + _ "github.com/cosmos/gogoproto/gogoproto" + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoiface "google.golang.org/protobuf/runtime/protoiface" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + io "io" + reflect "reflect" + sync "sync" +) + +var ( + md_Params protoreflect.MessageDescriptor + fd_Params_version protoreflect.FieldDescriptor + fd_Params_max_serialized_msg_length protoreflect.FieldDescriptor + fd_Params_min_topic_weight protoreflect.FieldDescriptor + fd_Params_required_minimum_stake protoreflect.FieldDescriptor + fd_Params_remove_stake_delay_window protoreflect.FieldDescriptor + fd_Params_min_epoch_length protoreflect.FieldDescriptor + fd_Params_beta_entropy protoreflect.FieldDescriptor + fd_Params_learning_rate protoreflect.FieldDescriptor + fd_Params_max_gradient_threshold protoreflect.FieldDescriptor + fd_Params_min_stake_fraction protoreflect.FieldDescriptor + fd_Params_max_unfulfilled_worker_requests protoreflect.FieldDescriptor + fd_Params_max_unfulfilled_reputer_requests protoreflect.FieldDescriptor + fd_Params_topic_reward_stake_importance protoreflect.FieldDescriptor + fd_Params_topic_reward_fee_revenue_importance protoreflect.FieldDescriptor + fd_Params_topic_reward_alpha protoreflect.FieldDescriptor + fd_Params_task_reward_alpha protoreflect.FieldDescriptor + fd_Params_validators_vs_allora_percent_reward protoreflect.FieldDescriptor + fd_Params_max_samples_to_scale_scores protoreflect.FieldDescriptor + fd_Params_max_top_inferers_to_reward protoreflect.FieldDescriptor + fd_Params_max_top_forecasters_to_reward protoreflect.FieldDescriptor + fd_Params_max_top_reputers_to_reward protoreflect.FieldDescriptor + fd_Params_create_topic_fee protoreflect.FieldDescriptor + fd_Params_gradient_descent_max_iters protoreflect.FieldDescriptor + fd_Params_registration_fee protoreflect.FieldDescriptor + fd_Params_default_page_limit protoreflect.FieldDescriptor + fd_Params_max_page_limit protoreflect.FieldDescriptor + fd_Params_min_epoch_length_record_limit protoreflect.FieldDescriptor + fd_Params_blocks_per_month protoreflect.FieldDescriptor + fd_Params_p_reward_inference protoreflect.FieldDescriptor + fd_Params_p_reward_forecast protoreflect.FieldDescriptor + fd_Params_p_reward_reputer protoreflect.FieldDescriptor + fd_Params_c_reward_inference protoreflect.FieldDescriptor + fd_Params_c_reward_forecast protoreflect.FieldDescriptor + fd_Params_c_norm protoreflect.FieldDescriptor + fd_Params_epsilon_reputer protoreflect.FieldDescriptor + fd_Params_half_max_process_stake_removals_end_block protoreflect.FieldDescriptor + fd_Params_epsilon_safe_div protoreflect.FieldDescriptor + fd_Params_data_sending_fee protoreflect.FieldDescriptor + fd_Params_max_elements_per_forecast protoreflect.FieldDescriptor + fd_Params_max_active_topics_per_block protoreflect.FieldDescriptor + fd_Params_max_string_length protoreflect.FieldDescriptor + fd_Params_initial_regret_quantile protoreflect.FieldDescriptor + fd_Params_p_norm_safe_div protoreflect.FieldDescriptor + fd_Params_global_whitelist_enabled protoreflect.FieldDescriptor + fd_Params_topic_creator_whitelist_enabled protoreflect.FieldDescriptor + fd_Params_min_experienced_worker_regrets protoreflect.FieldDescriptor + fd_Params_inference_outlier_detection_threshold protoreflect.FieldDescriptor + fd_Params_inference_outlier_detection_alpha protoreflect.FieldDescriptor + fd_Params_lambda_initial_score protoreflect.FieldDescriptor + fd_Params_global_worker_whitelist_enabled protoreflect.FieldDescriptor + fd_Params_global_reputer_whitelist_enabled protoreflect.FieldDescriptor + fd_Params_global_admin_whitelist_appended protoreflect.FieldDescriptor + fd_Params_max_whitelist_input_array_length protoreflect.FieldDescriptor + fd_Params_min_weight_threshold_for_stdnorm protoreflect.FieldDescriptor +) + +func init() { + file_emissions_v8_params_proto_init() + md_Params = File_emissions_v8_params_proto.Messages().ByName("Params") + fd_Params_version = md_Params.Fields().ByName("version") + fd_Params_max_serialized_msg_length = md_Params.Fields().ByName("max_serialized_msg_length") + fd_Params_min_topic_weight = md_Params.Fields().ByName("min_topic_weight") + fd_Params_required_minimum_stake = md_Params.Fields().ByName("required_minimum_stake") + fd_Params_remove_stake_delay_window = md_Params.Fields().ByName("remove_stake_delay_window") + fd_Params_min_epoch_length = md_Params.Fields().ByName("min_epoch_length") + fd_Params_beta_entropy = md_Params.Fields().ByName("beta_entropy") + fd_Params_learning_rate = md_Params.Fields().ByName("learning_rate") + fd_Params_max_gradient_threshold = md_Params.Fields().ByName("max_gradient_threshold") + fd_Params_min_stake_fraction = md_Params.Fields().ByName("min_stake_fraction") + fd_Params_max_unfulfilled_worker_requests = md_Params.Fields().ByName("max_unfulfilled_worker_requests") + fd_Params_max_unfulfilled_reputer_requests = md_Params.Fields().ByName("max_unfulfilled_reputer_requests") + fd_Params_topic_reward_stake_importance = md_Params.Fields().ByName("topic_reward_stake_importance") + fd_Params_topic_reward_fee_revenue_importance = md_Params.Fields().ByName("topic_reward_fee_revenue_importance") + fd_Params_topic_reward_alpha = md_Params.Fields().ByName("topic_reward_alpha") + fd_Params_task_reward_alpha = md_Params.Fields().ByName("task_reward_alpha") + fd_Params_validators_vs_allora_percent_reward = md_Params.Fields().ByName("validators_vs_allora_percent_reward") + fd_Params_max_samples_to_scale_scores = md_Params.Fields().ByName("max_samples_to_scale_scores") + fd_Params_max_top_inferers_to_reward = md_Params.Fields().ByName("max_top_inferers_to_reward") + fd_Params_max_top_forecasters_to_reward = md_Params.Fields().ByName("max_top_forecasters_to_reward") + fd_Params_max_top_reputers_to_reward = md_Params.Fields().ByName("max_top_reputers_to_reward") + fd_Params_create_topic_fee = md_Params.Fields().ByName("create_topic_fee") + fd_Params_gradient_descent_max_iters = md_Params.Fields().ByName("gradient_descent_max_iters") + fd_Params_registration_fee = md_Params.Fields().ByName("registration_fee") + fd_Params_default_page_limit = md_Params.Fields().ByName("default_page_limit") + fd_Params_max_page_limit = md_Params.Fields().ByName("max_page_limit") + fd_Params_min_epoch_length_record_limit = md_Params.Fields().ByName("min_epoch_length_record_limit") + fd_Params_blocks_per_month = md_Params.Fields().ByName("blocks_per_month") + fd_Params_p_reward_inference = md_Params.Fields().ByName("p_reward_inference") + fd_Params_p_reward_forecast = md_Params.Fields().ByName("p_reward_forecast") + fd_Params_p_reward_reputer = md_Params.Fields().ByName("p_reward_reputer") + fd_Params_c_reward_inference = md_Params.Fields().ByName("c_reward_inference") + fd_Params_c_reward_forecast = md_Params.Fields().ByName("c_reward_forecast") + fd_Params_c_norm = md_Params.Fields().ByName("c_norm") + fd_Params_epsilon_reputer = md_Params.Fields().ByName("epsilon_reputer") + fd_Params_half_max_process_stake_removals_end_block = md_Params.Fields().ByName("half_max_process_stake_removals_end_block") + fd_Params_epsilon_safe_div = md_Params.Fields().ByName("epsilon_safe_div") + fd_Params_data_sending_fee = md_Params.Fields().ByName("data_sending_fee") + fd_Params_max_elements_per_forecast = md_Params.Fields().ByName("max_elements_per_forecast") + fd_Params_max_active_topics_per_block = md_Params.Fields().ByName("max_active_topics_per_block") + fd_Params_max_string_length = md_Params.Fields().ByName("max_string_length") + fd_Params_initial_regret_quantile = md_Params.Fields().ByName("initial_regret_quantile") + fd_Params_p_norm_safe_div = md_Params.Fields().ByName("p_norm_safe_div") + fd_Params_global_whitelist_enabled = md_Params.Fields().ByName("global_whitelist_enabled") + fd_Params_topic_creator_whitelist_enabled = md_Params.Fields().ByName("topic_creator_whitelist_enabled") + fd_Params_min_experienced_worker_regrets = md_Params.Fields().ByName("min_experienced_worker_regrets") + fd_Params_inference_outlier_detection_threshold = md_Params.Fields().ByName("inference_outlier_detection_threshold") + fd_Params_inference_outlier_detection_alpha = md_Params.Fields().ByName("inference_outlier_detection_alpha") + fd_Params_lambda_initial_score = md_Params.Fields().ByName("lambda_initial_score") + fd_Params_global_worker_whitelist_enabled = md_Params.Fields().ByName("global_worker_whitelist_enabled") + fd_Params_global_reputer_whitelist_enabled = md_Params.Fields().ByName("global_reputer_whitelist_enabled") + fd_Params_global_admin_whitelist_appended = md_Params.Fields().ByName("global_admin_whitelist_appended") + fd_Params_max_whitelist_input_array_length = md_Params.Fields().ByName("max_whitelist_input_array_length") + fd_Params_min_weight_threshold_for_stdnorm = md_Params.Fields().ByName("min_weight_threshold_for_stdnorm") +} + +var _ protoreflect.Message = (*fastReflection_Params)(nil) + +type fastReflection_Params Params + +func (x *Params) ProtoReflect() protoreflect.Message { + return (*fastReflection_Params)(x) +} + +func (x *Params) slowProtoReflect() protoreflect.Message { + mi := &file_emissions_v8_params_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) +} + +var _fastReflection_Params_messageType fastReflection_Params_messageType +var _ protoreflect.MessageType = fastReflection_Params_messageType{} + +type fastReflection_Params_messageType struct{} + +func (x fastReflection_Params_messageType) Zero() protoreflect.Message { + return (*fastReflection_Params)(nil) +} +func (x fastReflection_Params_messageType) New() protoreflect.Message { + return new(fastReflection_Params) +} +func (x fastReflection_Params_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_Params +} + +// Descriptor returns message descriptor, which contains only the protobuf +// type information for the message. +func (x *fastReflection_Params) Descriptor() protoreflect.MessageDescriptor { + return md_Params +} + +// Type returns the message type, which encapsulates both Go and protobuf +// type information. If the Go type information is not needed, +// it is recommended that the message descriptor be used instead. +func (x *fastReflection_Params) Type() protoreflect.MessageType { + return _fastReflection_Params_messageType +} + +// New returns a newly allocated and mutable empty message. +func (x *fastReflection_Params) New() protoreflect.Message { + return new(fastReflection_Params) +} + +// Interface unwraps the message reflection interface and +// returns the underlying ProtoMessage interface. +func (x *fastReflection_Params) Interface() protoreflect.ProtoMessage { + return (*Params)(x) +} + +// Range iterates over every populated field in an undefined order, +// calling f for each field descriptor and value encountered. +// Range returns immediately if f returns false. +// While iterating, mutating operations may only be performed +// on the current field descriptor. +func (x *fastReflection_Params) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { + if x.Version != "" { + value := protoreflect.ValueOfString(x.Version) + if !f(fd_Params_version, value) { + return + } + } + if x.MaxSerializedMsgLength != int64(0) { + value := protoreflect.ValueOfInt64(x.MaxSerializedMsgLength) + if !f(fd_Params_max_serialized_msg_length, value) { + return + } + } + if x.MinTopicWeight != "" { + value := protoreflect.ValueOfString(x.MinTopicWeight) + if !f(fd_Params_min_topic_weight, value) { + return + } + } + if x.RequiredMinimumStake != "" { + value := protoreflect.ValueOfString(x.RequiredMinimumStake) + if !f(fd_Params_required_minimum_stake, value) { + return + } + } + if x.RemoveStakeDelayWindow != int64(0) { + value := protoreflect.ValueOfInt64(x.RemoveStakeDelayWindow) + if !f(fd_Params_remove_stake_delay_window, value) { + return + } + } + if x.MinEpochLength != int64(0) { + value := protoreflect.ValueOfInt64(x.MinEpochLength) + if !f(fd_Params_min_epoch_length, value) { + return + } + } + if x.BetaEntropy != "" { + value := protoreflect.ValueOfString(x.BetaEntropy) + if !f(fd_Params_beta_entropy, value) { + return + } + } + if x.LearningRate != "" { + value := protoreflect.ValueOfString(x.LearningRate) + if !f(fd_Params_learning_rate, value) { + return + } + } + if x.MaxGradientThreshold != "" { + value := protoreflect.ValueOfString(x.MaxGradientThreshold) + if !f(fd_Params_max_gradient_threshold, value) { + return + } + } + if x.MinStakeFraction != "" { + value := protoreflect.ValueOfString(x.MinStakeFraction) + if !f(fd_Params_min_stake_fraction, value) { + return + } + } + if x.MaxUnfulfilledWorkerRequests != uint64(0) { + value := protoreflect.ValueOfUint64(x.MaxUnfulfilledWorkerRequests) + if !f(fd_Params_max_unfulfilled_worker_requests, value) { + return + } + } + if x.MaxUnfulfilledReputerRequests != uint64(0) { + value := protoreflect.ValueOfUint64(x.MaxUnfulfilledReputerRequests) + if !f(fd_Params_max_unfulfilled_reputer_requests, value) { + return + } + } + if x.TopicRewardStakeImportance != "" { + value := protoreflect.ValueOfString(x.TopicRewardStakeImportance) + if !f(fd_Params_topic_reward_stake_importance, value) { + return + } + } + if x.TopicRewardFeeRevenueImportance != "" { + value := protoreflect.ValueOfString(x.TopicRewardFeeRevenueImportance) + if !f(fd_Params_topic_reward_fee_revenue_importance, value) { + return + } + } + if x.TopicRewardAlpha != "" { + value := protoreflect.ValueOfString(x.TopicRewardAlpha) + if !f(fd_Params_topic_reward_alpha, value) { + return + } + } + if x.TaskRewardAlpha != "" { + value := protoreflect.ValueOfString(x.TaskRewardAlpha) + if !f(fd_Params_task_reward_alpha, value) { + return + } + } + if x.ValidatorsVsAlloraPercentReward != "" { + value := protoreflect.ValueOfString(x.ValidatorsVsAlloraPercentReward) + if !f(fd_Params_validators_vs_allora_percent_reward, value) { + return + } + } + if x.MaxSamplesToScaleScores != uint64(0) { + value := protoreflect.ValueOfUint64(x.MaxSamplesToScaleScores) + if !f(fd_Params_max_samples_to_scale_scores, value) { + return + } + } + if x.MaxTopInferersToReward != uint64(0) { + value := protoreflect.ValueOfUint64(x.MaxTopInferersToReward) + if !f(fd_Params_max_top_inferers_to_reward, value) { + return + } + } + if x.MaxTopForecastersToReward != uint64(0) { + value := protoreflect.ValueOfUint64(x.MaxTopForecastersToReward) + if !f(fd_Params_max_top_forecasters_to_reward, value) { + return + } + } + if x.MaxTopReputersToReward != uint64(0) { + value := protoreflect.ValueOfUint64(x.MaxTopReputersToReward) + if !f(fd_Params_max_top_reputers_to_reward, value) { + return + } + } + if x.CreateTopicFee != "" { + value := protoreflect.ValueOfString(x.CreateTopicFee) + if !f(fd_Params_create_topic_fee, value) { + return + } + } + if x.GradientDescentMaxIters != uint64(0) { + value := protoreflect.ValueOfUint64(x.GradientDescentMaxIters) + if !f(fd_Params_gradient_descent_max_iters, value) { + return + } + } + if x.RegistrationFee != "" { + value := protoreflect.ValueOfString(x.RegistrationFee) + if !f(fd_Params_registration_fee, value) { + return + } + } + if x.DefaultPageLimit != uint64(0) { + value := protoreflect.ValueOfUint64(x.DefaultPageLimit) + if !f(fd_Params_default_page_limit, value) { + return + } + } + if x.MaxPageLimit != uint64(0) { + value := protoreflect.ValueOfUint64(x.MaxPageLimit) + if !f(fd_Params_max_page_limit, value) { + return + } + } + if x.MinEpochLengthRecordLimit != int64(0) { + value := protoreflect.ValueOfInt64(x.MinEpochLengthRecordLimit) + if !f(fd_Params_min_epoch_length_record_limit, value) { + return + } + } + if x.BlocksPerMonth != uint64(0) { + value := protoreflect.ValueOfUint64(x.BlocksPerMonth) + if !f(fd_Params_blocks_per_month, value) { + return + } + } + if x.PRewardInference != "" { + value := protoreflect.ValueOfString(x.PRewardInference) + if !f(fd_Params_p_reward_inference, value) { + return + } + } + if x.PRewardForecast != "" { + value := protoreflect.ValueOfString(x.PRewardForecast) + if !f(fd_Params_p_reward_forecast, value) { + return + } + } + if x.PRewardReputer != "" { + value := protoreflect.ValueOfString(x.PRewardReputer) + if !f(fd_Params_p_reward_reputer, value) { + return + } + } + if x.CRewardInference != "" { + value := protoreflect.ValueOfString(x.CRewardInference) + if !f(fd_Params_c_reward_inference, value) { + return + } + } + if x.CRewardForecast != "" { + value := protoreflect.ValueOfString(x.CRewardForecast) + if !f(fd_Params_c_reward_forecast, value) { + return + } + } + if x.CNorm != "" { + value := protoreflect.ValueOfString(x.CNorm) + if !f(fd_Params_c_norm, value) { + return + } + } + if x.EpsilonReputer != "" { + value := protoreflect.ValueOfString(x.EpsilonReputer) + if !f(fd_Params_epsilon_reputer, value) { + return + } + } + if x.HalfMaxProcessStakeRemovalsEndBlock != uint64(0) { + value := protoreflect.ValueOfUint64(x.HalfMaxProcessStakeRemovalsEndBlock) + if !f(fd_Params_half_max_process_stake_removals_end_block, value) { + return + } + } + if x.EpsilonSafeDiv != "" { + value := protoreflect.ValueOfString(x.EpsilonSafeDiv) + if !f(fd_Params_epsilon_safe_div, value) { + return + } + } + if x.DataSendingFee != "" { + value := protoreflect.ValueOfString(x.DataSendingFee) + if !f(fd_Params_data_sending_fee, value) { + return + } + } + if x.MaxElementsPerForecast != uint64(0) { + value := protoreflect.ValueOfUint64(x.MaxElementsPerForecast) + if !f(fd_Params_max_elements_per_forecast, value) { + return + } + } + if x.MaxActiveTopicsPerBlock != uint64(0) { + value := protoreflect.ValueOfUint64(x.MaxActiveTopicsPerBlock) + if !f(fd_Params_max_active_topics_per_block, value) { + return + } + } + if x.MaxStringLength != uint64(0) { + value := protoreflect.ValueOfUint64(x.MaxStringLength) + if !f(fd_Params_max_string_length, value) { + return + } + } + if x.InitialRegretQuantile != "" { + value := protoreflect.ValueOfString(x.InitialRegretQuantile) + if !f(fd_Params_initial_regret_quantile, value) { + return + } + } + if x.PNormSafeDiv != "" { + value := protoreflect.ValueOfString(x.PNormSafeDiv) + if !f(fd_Params_p_norm_safe_div, value) { + return + } + } + if x.GlobalWhitelistEnabled != false { + value := protoreflect.ValueOfBool(x.GlobalWhitelistEnabled) + if !f(fd_Params_global_whitelist_enabled, value) { + return + } + } + if x.TopicCreatorWhitelistEnabled != false { + value := protoreflect.ValueOfBool(x.TopicCreatorWhitelistEnabled) + if !f(fd_Params_topic_creator_whitelist_enabled, value) { + return + } + } + if x.MinExperiencedWorkerRegrets != uint64(0) { + value := protoreflect.ValueOfUint64(x.MinExperiencedWorkerRegrets) + if !f(fd_Params_min_experienced_worker_regrets, value) { + return + } + } + if x.InferenceOutlierDetectionThreshold != "" { + value := protoreflect.ValueOfString(x.InferenceOutlierDetectionThreshold) + if !f(fd_Params_inference_outlier_detection_threshold, value) { + return + } + } + if x.InferenceOutlierDetectionAlpha != "" { + value := protoreflect.ValueOfString(x.InferenceOutlierDetectionAlpha) + if !f(fd_Params_inference_outlier_detection_alpha, value) { + return + } + } + if x.LambdaInitialScore != "" { + value := protoreflect.ValueOfString(x.LambdaInitialScore) + if !f(fd_Params_lambda_initial_score, value) { + return + } + } + if x.GlobalWorkerWhitelistEnabled != false { + value := protoreflect.ValueOfBool(x.GlobalWorkerWhitelistEnabled) + if !f(fd_Params_global_worker_whitelist_enabled, value) { + return + } + } + if x.GlobalReputerWhitelistEnabled != false { + value := protoreflect.ValueOfBool(x.GlobalReputerWhitelistEnabled) + if !f(fd_Params_global_reputer_whitelist_enabled, value) { + return + } + } + if x.GlobalAdminWhitelistAppended != false { + value := protoreflect.ValueOfBool(x.GlobalAdminWhitelistAppended) + if !f(fd_Params_global_admin_whitelist_appended, value) { + return + } + } + if x.MaxWhitelistInputArrayLength != uint64(0) { + value := protoreflect.ValueOfUint64(x.MaxWhitelistInputArrayLength) + if !f(fd_Params_max_whitelist_input_array_length, value) { + return + } + } + if x.MinWeightThresholdForStdnorm != "" { + value := protoreflect.ValueOfString(x.MinWeightThresholdForStdnorm) + if !f(fd_Params_min_weight_threshold_for_stdnorm, value) { + return + } + } +} + +// Has reports whether a field is populated. +// +// Some fields have the property of nullability where it is possible to +// distinguish between the default value of a field and whether the field +// was explicitly populated with the default value. Singular message fields, +// member fields of a oneof, and proto2 scalar fields are nullable. Such +// fields are populated only if explicitly set. +// +// In other cases (aside from the nullable cases above), +// a proto3 scalar field is populated if it contains a non-zero value, and +// a repeated field is populated if it is non-empty. +func (x *fastReflection_Params) Has(fd protoreflect.FieldDescriptor) bool { + switch fd.FullName() { + case "emissions.v8.Params.version": + return x.Version != "" + case "emissions.v8.Params.max_serialized_msg_length": + return x.MaxSerializedMsgLength != int64(0) + case "emissions.v8.Params.min_topic_weight": + return x.MinTopicWeight != "" + case "emissions.v8.Params.required_minimum_stake": + return x.RequiredMinimumStake != "" + case "emissions.v8.Params.remove_stake_delay_window": + return x.RemoveStakeDelayWindow != int64(0) + case "emissions.v8.Params.min_epoch_length": + return x.MinEpochLength != int64(0) + case "emissions.v8.Params.beta_entropy": + return x.BetaEntropy != "" + case "emissions.v8.Params.learning_rate": + return x.LearningRate != "" + case "emissions.v8.Params.max_gradient_threshold": + return x.MaxGradientThreshold != "" + case "emissions.v8.Params.min_stake_fraction": + return x.MinStakeFraction != "" + case "emissions.v8.Params.max_unfulfilled_worker_requests": + return x.MaxUnfulfilledWorkerRequests != uint64(0) + case "emissions.v8.Params.max_unfulfilled_reputer_requests": + return x.MaxUnfulfilledReputerRequests != uint64(0) + case "emissions.v8.Params.topic_reward_stake_importance": + return x.TopicRewardStakeImportance != "" + case "emissions.v8.Params.topic_reward_fee_revenue_importance": + return x.TopicRewardFeeRevenueImportance != "" + case "emissions.v8.Params.topic_reward_alpha": + return x.TopicRewardAlpha != "" + case "emissions.v8.Params.task_reward_alpha": + return x.TaskRewardAlpha != "" + case "emissions.v8.Params.validators_vs_allora_percent_reward": + return x.ValidatorsVsAlloraPercentReward != "" + case "emissions.v8.Params.max_samples_to_scale_scores": + return x.MaxSamplesToScaleScores != uint64(0) + case "emissions.v8.Params.max_top_inferers_to_reward": + return x.MaxTopInferersToReward != uint64(0) + case "emissions.v8.Params.max_top_forecasters_to_reward": + return x.MaxTopForecastersToReward != uint64(0) + case "emissions.v8.Params.max_top_reputers_to_reward": + return x.MaxTopReputersToReward != uint64(0) + case "emissions.v8.Params.create_topic_fee": + return x.CreateTopicFee != "" + case "emissions.v8.Params.gradient_descent_max_iters": + return x.GradientDescentMaxIters != uint64(0) + case "emissions.v8.Params.registration_fee": + return x.RegistrationFee != "" + case "emissions.v8.Params.default_page_limit": + return x.DefaultPageLimit != uint64(0) + case "emissions.v8.Params.max_page_limit": + return x.MaxPageLimit != uint64(0) + case "emissions.v8.Params.min_epoch_length_record_limit": + return x.MinEpochLengthRecordLimit != int64(0) + case "emissions.v8.Params.blocks_per_month": + return x.BlocksPerMonth != uint64(0) + case "emissions.v8.Params.p_reward_inference": + return x.PRewardInference != "" + case "emissions.v8.Params.p_reward_forecast": + return x.PRewardForecast != "" + case "emissions.v8.Params.p_reward_reputer": + return x.PRewardReputer != "" + case "emissions.v8.Params.c_reward_inference": + return x.CRewardInference != "" + case "emissions.v8.Params.c_reward_forecast": + return x.CRewardForecast != "" + case "emissions.v8.Params.c_norm": + return x.CNorm != "" + case "emissions.v8.Params.epsilon_reputer": + return x.EpsilonReputer != "" + case "emissions.v8.Params.half_max_process_stake_removals_end_block": + return x.HalfMaxProcessStakeRemovalsEndBlock != uint64(0) + case "emissions.v8.Params.epsilon_safe_div": + return x.EpsilonSafeDiv != "" + case "emissions.v8.Params.data_sending_fee": + return x.DataSendingFee != "" + case "emissions.v8.Params.max_elements_per_forecast": + return x.MaxElementsPerForecast != uint64(0) + case "emissions.v8.Params.max_active_topics_per_block": + return x.MaxActiveTopicsPerBlock != uint64(0) + case "emissions.v8.Params.max_string_length": + return x.MaxStringLength != uint64(0) + case "emissions.v8.Params.initial_regret_quantile": + return x.InitialRegretQuantile != "" + case "emissions.v8.Params.p_norm_safe_div": + return x.PNormSafeDiv != "" + case "emissions.v8.Params.global_whitelist_enabled": + return x.GlobalWhitelistEnabled != false + case "emissions.v8.Params.topic_creator_whitelist_enabled": + return x.TopicCreatorWhitelistEnabled != false + case "emissions.v8.Params.min_experienced_worker_regrets": + return x.MinExperiencedWorkerRegrets != uint64(0) + case "emissions.v8.Params.inference_outlier_detection_threshold": + return x.InferenceOutlierDetectionThreshold != "" + case "emissions.v8.Params.inference_outlier_detection_alpha": + return x.InferenceOutlierDetectionAlpha != "" + case "emissions.v8.Params.lambda_initial_score": + return x.LambdaInitialScore != "" + case "emissions.v8.Params.global_worker_whitelist_enabled": + return x.GlobalWorkerWhitelistEnabled != false + case "emissions.v8.Params.global_reputer_whitelist_enabled": + return x.GlobalReputerWhitelistEnabled != false + case "emissions.v8.Params.global_admin_whitelist_appended": + return x.GlobalAdminWhitelistAppended != false + case "emissions.v8.Params.max_whitelist_input_array_length": + return x.MaxWhitelistInputArrayLength != uint64(0) + case "emissions.v8.Params.min_weight_threshold_for_stdnorm": + return x.MinWeightThresholdForStdnorm != "" + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.Params")) + } + panic(fmt.Errorf("message emissions.v8.Params does not contain field %s", fd.FullName())) + } +} + +// Clear clears the field such that a subsequent Has call reports false. +// +// Clearing an extension field clears both the extension type and value +// associated with the given field number. +// +// Clear is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_Params) Clear(fd protoreflect.FieldDescriptor) { + switch fd.FullName() { + case "emissions.v8.Params.version": + x.Version = "" + case "emissions.v8.Params.max_serialized_msg_length": + x.MaxSerializedMsgLength = int64(0) + case "emissions.v8.Params.min_topic_weight": + x.MinTopicWeight = "" + case "emissions.v8.Params.required_minimum_stake": + x.RequiredMinimumStake = "" + case "emissions.v8.Params.remove_stake_delay_window": + x.RemoveStakeDelayWindow = int64(0) + case "emissions.v8.Params.min_epoch_length": + x.MinEpochLength = int64(0) + case "emissions.v8.Params.beta_entropy": + x.BetaEntropy = "" + case "emissions.v8.Params.learning_rate": + x.LearningRate = "" + case "emissions.v8.Params.max_gradient_threshold": + x.MaxGradientThreshold = "" + case "emissions.v8.Params.min_stake_fraction": + x.MinStakeFraction = "" + case "emissions.v8.Params.max_unfulfilled_worker_requests": + x.MaxUnfulfilledWorkerRequests = uint64(0) + case "emissions.v8.Params.max_unfulfilled_reputer_requests": + x.MaxUnfulfilledReputerRequests = uint64(0) + case "emissions.v8.Params.topic_reward_stake_importance": + x.TopicRewardStakeImportance = "" + case "emissions.v8.Params.topic_reward_fee_revenue_importance": + x.TopicRewardFeeRevenueImportance = "" + case "emissions.v8.Params.topic_reward_alpha": + x.TopicRewardAlpha = "" + case "emissions.v8.Params.task_reward_alpha": + x.TaskRewardAlpha = "" + case "emissions.v8.Params.validators_vs_allora_percent_reward": + x.ValidatorsVsAlloraPercentReward = "" + case "emissions.v8.Params.max_samples_to_scale_scores": + x.MaxSamplesToScaleScores = uint64(0) + case "emissions.v8.Params.max_top_inferers_to_reward": + x.MaxTopInferersToReward = uint64(0) + case "emissions.v8.Params.max_top_forecasters_to_reward": + x.MaxTopForecastersToReward = uint64(0) + case "emissions.v8.Params.max_top_reputers_to_reward": + x.MaxTopReputersToReward = uint64(0) + case "emissions.v8.Params.create_topic_fee": + x.CreateTopicFee = "" + case "emissions.v8.Params.gradient_descent_max_iters": + x.GradientDescentMaxIters = uint64(0) + case "emissions.v8.Params.registration_fee": + x.RegistrationFee = "" + case "emissions.v8.Params.default_page_limit": + x.DefaultPageLimit = uint64(0) + case "emissions.v8.Params.max_page_limit": + x.MaxPageLimit = uint64(0) + case "emissions.v8.Params.min_epoch_length_record_limit": + x.MinEpochLengthRecordLimit = int64(0) + case "emissions.v8.Params.blocks_per_month": + x.BlocksPerMonth = uint64(0) + case "emissions.v8.Params.p_reward_inference": + x.PRewardInference = "" + case "emissions.v8.Params.p_reward_forecast": + x.PRewardForecast = "" + case "emissions.v8.Params.p_reward_reputer": + x.PRewardReputer = "" + case "emissions.v8.Params.c_reward_inference": + x.CRewardInference = "" + case "emissions.v8.Params.c_reward_forecast": + x.CRewardForecast = "" + case "emissions.v8.Params.c_norm": + x.CNorm = "" + case "emissions.v8.Params.epsilon_reputer": + x.EpsilonReputer = "" + case "emissions.v8.Params.half_max_process_stake_removals_end_block": + x.HalfMaxProcessStakeRemovalsEndBlock = uint64(0) + case "emissions.v8.Params.epsilon_safe_div": + x.EpsilonSafeDiv = "" + case "emissions.v8.Params.data_sending_fee": + x.DataSendingFee = "" + case "emissions.v8.Params.max_elements_per_forecast": + x.MaxElementsPerForecast = uint64(0) + case "emissions.v8.Params.max_active_topics_per_block": + x.MaxActiveTopicsPerBlock = uint64(0) + case "emissions.v8.Params.max_string_length": + x.MaxStringLength = uint64(0) + case "emissions.v8.Params.initial_regret_quantile": + x.InitialRegretQuantile = "" + case "emissions.v8.Params.p_norm_safe_div": + x.PNormSafeDiv = "" + case "emissions.v8.Params.global_whitelist_enabled": + x.GlobalWhitelistEnabled = false + case "emissions.v8.Params.topic_creator_whitelist_enabled": + x.TopicCreatorWhitelistEnabled = false + case "emissions.v8.Params.min_experienced_worker_regrets": + x.MinExperiencedWorkerRegrets = uint64(0) + case "emissions.v8.Params.inference_outlier_detection_threshold": + x.InferenceOutlierDetectionThreshold = "" + case "emissions.v8.Params.inference_outlier_detection_alpha": + x.InferenceOutlierDetectionAlpha = "" + case "emissions.v8.Params.lambda_initial_score": + x.LambdaInitialScore = "" + case "emissions.v8.Params.global_worker_whitelist_enabled": + x.GlobalWorkerWhitelistEnabled = false + case "emissions.v8.Params.global_reputer_whitelist_enabled": + x.GlobalReputerWhitelistEnabled = false + case "emissions.v8.Params.global_admin_whitelist_appended": + x.GlobalAdminWhitelistAppended = false + case "emissions.v8.Params.max_whitelist_input_array_length": + x.MaxWhitelistInputArrayLength = uint64(0) + case "emissions.v8.Params.min_weight_threshold_for_stdnorm": + x.MinWeightThresholdForStdnorm = "" + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.Params")) + } + panic(fmt.Errorf("message emissions.v8.Params does not contain field %s", fd.FullName())) + } +} + +// Get retrieves the value for a field. +// +// For unpopulated scalars, it returns the default value, where +// the default value of a bytes scalar is guaranteed to be a copy. +// For unpopulated composite types, it returns an empty, read-only view +// of the value; to obtain a mutable reference, use Mutable. +func (x *fastReflection_Params) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { + switch descriptor.FullName() { + case "emissions.v8.Params.version": + value := x.Version + return protoreflect.ValueOfString(value) + case "emissions.v8.Params.max_serialized_msg_length": + value := x.MaxSerializedMsgLength + return protoreflect.ValueOfInt64(value) + case "emissions.v8.Params.min_topic_weight": + value := x.MinTopicWeight + return protoreflect.ValueOfString(value) + case "emissions.v8.Params.required_minimum_stake": + value := x.RequiredMinimumStake + return protoreflect.ValueOfString(value) + case "emissions.v8.Params.remove_stake_delay_window": + value := x.RemoveStakeDelayWindow + return protoreflect.ValueOfInt64(value) + case "emissions.v8.Params.min_epoch_length": + value := x.MinEpochLength + return protoreflect.ValueOfInt64(value) + case "emissions.v8.Params.beta_entropy": + value := x.BetaEntropy + return protoreflect.ValueOfString(value) + case "emissions.v8.Params.learning_rate": + value := x.LearningRate + return protoreflect.ValueOfString(value) + case "emissions.v8.Params.max_gradient_threshold": + value := x.MaxGradientThreshold + return protoreflect.ValueOfString(value) + case "emissions.v8.Params.min_stake_fraction": + value := x.MinStakeFraction + return protoreflect.ValueOfString(value) + case "emissions.v8.Params.max_unfulfilled_worker_requests": + value := x.MaxUnfulfilledWorkerRequests + return protoreflect.ValueOfUint64(value) + case "emissions.v8.Params.max_unfulfilled_reputer_requests": + value := x.MaxUnfulfilledReputerRequests + return protoreflect.ValueOfUint64(value) + case "emissions.v8.Params.topic_reward_stake_importance": + value := x.TopicRewardStakeImportance + return protoreflect.ValueOfString(value) + case "emissions.v8.Params.topic_reward_fee_revenue_importance": + value := x.TopicRewardFeeRevenueImportance + return protoreflect.ValueOfString(value) + case "emissions.v8.Params.topic_reward_alpha": + value := x.TopicRewardAlpha + return protoreflect.ValueOfString(value) + case "emissions.v8.Params.task_reward_alpha": + value := x.TaskRewardAlpha + return protoreflect.ValueOfString(value) + case "emissions.v8.Params.validators_vs_allora_percent_reward": + value := x.ValidatorsVsAlloraPercentReward + return protoreflect.ValueOfString(value) + case "emissions.v8.Params.max_samples_to_scale_scores": + value := x.MaxSamplesToScaleScores + return protoreflect.ValueOfUint64(value) + case "emissions.v8.Params.max_top_inferers_to_reward": + value := x.MaxTopInferersToReward + return protoreflect.ValueOfUint64(value) + case "emissions.v8.Params.max_top_forecasters_to_reward": + value := x.MaxTopForecastersToReward + return protoreflect.ValueOfUint64(value) + case "emissions.v8.Params.max_top_reputers_to_reward": + value := x.MaxTopReputersToReward + return protoreflect.ValueOfUint64(value) + case "emissions.v8.Params.create_topic_fee": + value := x.CreateTopicFee + return protoreflect.ValueOfString(value) + case "emissions.v8.Params.gradient_descent_max_iters": + value := x.GradientDescentMaxIters + return protoreflect.ValueOfUint64(value) + case "emissions.v8.Params.registration_fee": + value := x.RegistrationFee + return protoreflect.ValueOfString(value) + case "emissions.v8.Params.default_page_limit": + value := x.DefaultPageLimit + return protoreflect.ValueOfUint64(value) + case "emissions.v8.Params.max_page_limit": + value := x.MaxPageLimit + return protoreflect.ValueOfUint64(value) + case "emissions.v8.Params.min_epoch_length_record_limit": + value := x.MinEpochLengthRecordLimit + return protoreflect.ValueOfInt64(value) + case "emissions.v8.Params.blocks_per_month": + value := x.BlocksPerMonth + return protoreflect.ValueOfUint64(value) + case "emissions.v8.Params.p_reward_inference": + value := x.PRewardInference + return protoreflect.ValueOfString(value) + case "emissions.v8.Params.p_reward_forecast": + value := x.PRewardForecast + return protoreflect.ValueOfString(value) + case "emissions.v8.Params.p_reward_reputer": + value := x.PRewardReputer + return protoreflect.ValueOfString(value) + case "emissions.v8.Params.c_reward_inference": + value := x.CRewardInference + return protoreflect.ValueOfString(value) + case "emissions.v8.Params.c_reward_forecast": + value := x.CRewardForecast + return protoreflect.ValueOfString(value) + case "emissions.v8.Params.c_norm": + value := x.CNorm + return protoreflect.ValueOfString(value) + case "emissions.v8.Params.epsilon_reputer": + value := x.EpsilonReputer + return protoreflect.ValueOfString(value) + case "emissions.v8.Params.half_max_process_stake_removals_end_block": + value := x.HalfMaxProcessStakeRemovalsEndBlock + return protoreflect.ValueOfUint64(value) + case "emissions.v8.Params.epsilon_safe_div": + value := x.EpsilonSafeDiv + return protoreflect.ValueOfString(value) + case "emissions.v8.Params.data_sending_fee": + value := x.DataSendingFee + return protoreflect.ValueOfString(value) + case "emissions.v8.Params.max_elements_per_forecast": + value := x.MaxElementsPerForecast + return protoreflect.ValueOfUint64(value) + case "emissions.v8.Params.max_active_topics_per_block": + value := x.MaxActiveTopicsPerBlock + return protoreflect.ValueOfUint64(value) + case "emissions.v8.Params.max_string_length": + value := x.MaxStringLength + return protoreflect.ValueOfUint64(value) + case "emissions.v8.Params.initial_regret_quantile": + value := x.InitialRegretQuantile + return protoreflect.ValueOfString(value) + case "emissions.v8.Params.p_norm_safe_div": + value := x.PNormSafeDiv + return protoreflect.ValueOfString(value) + case "emissions.v8.Params.global_whitelist_enabled": + value := x.GlobalWhitelistEnabled + return protoreflect.ValueOfBool(value) + case "emissions.v8.Params.topic_creator_whitelist_enabled": + value := x.TopicCreatorWhitelistEnabled + return protoreflect.ValueOfBool(value) + case "emissions.v8.Params.min_experienced_worker_regrets": + value := x.MinExperiencedWorkerRegrets + return protoreflect.ValueOfUint64(value) + case "emissions.v8.Params.inference_outlier_detection_threshold": + value := x.InferenceOutlierDetectionThreshold + return protoreflect.ValueOfString(value) + case "emissions.v8.Params.inference_outlier_detection_alpha": + value := x.InferenceOutlierDetectionAlpha + return protoreflect.ValueOfString(value) + case "emissions.v8.Params.lambda_initial_score": + value := x.LambdaInitialScore + return protoreflect.ValueOfString(value) + case "emissions.v8.Params.global_worker_whitelist_enabled": + value := x.GlobalWorkerWhitelistEnabled + return protoreflect.ValueOfBool(value) + case "emissions.v8.Params.global_reputer_whitelist_enabled": + value := x.GlobalReputerWhitelistEnabled + return protoreflect.ValueOfBool(value) + case "emissions.v8.Params.global_admin_whitelist_appended": + value := x.GlobalAdminWhitelistAppended + return protoreflect.ValueOfBool(value) + case "emissions.v8.Params.max_whitelist_input_array_length": + value := x.MaxWhitelistInputArrayLength + return protoreflect.ValueOfUint64(value) + case "emissions.v8.Params.min_weight_threshold_for_stdnorm": + value := x.MinWeightThresholdForStdnorm + return protoreflect.ValueOfString(value) + default: + if descriptor.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.Params")) + } + panic(fmt.Errorf("message emissions.v8.Params does not contain field %s", descriptor.FullName())) + } +} + +// Set stores the value for a field. +// +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType. +// When setting a composite type, it is unspecified whether the stored value +// aliases the source's memory in any way. If the composite value is an +// empty, read-only value, then it panics. +// +// Set is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_Params) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { + switch fd.FullName() { + case "emissions.v8.Params.version": + x.Version = value.Interface().(string) + case "emissions.v8.Params.max_serialized_msg_length": + x.MaxSerializedMsgLength = value.Int() + case "emissions.v8.Params.min_topic_weight": + x.MinTopicWeight = value.Interface().(string) + case "emissions.v8.Params.required_minimum_stake": + x.RequiredMinimumStake = value.Interface().(string) + case "emissions.v8.Params.remove_stake_delay_window": + x.RemoveStakeDelayWindow = value.Int() + case "emissions.v8.Params.min_epoch_length": + x.MinEpochLength = value.Int() + case "emissions.v8.Params.beta_entropy": + x.BetaEntropy = value.Interface().(string) + case "emissions.v8.Params.learning_rate": + x.LearningRate = value.Interface().(string) + case "emissions.v8.Params.max_gradient_threshold": + x.MaxGradientThreshold = value.Interface().(string) + case "emissions.v8.Params.min_stake_fraction": + x.MinStakeFraction = value.Interface().(string) + case "emissions.v8.Params.max_unfulfilled_worker_requests": + x.MaxUnfulfilledWorkerRequests = value.Uint() + case "emissions.v8.Params.max_unfulfilled_reputer_requests": + x.MaxUnfulfilledReputerRequests = value.Uint() + case "emissions.v8.Params.topic_reward_stake_importance": + x.TopicRewardStakeImportance = value.Interface().(string) + case "emissions.v8.Params.topic_reward_fee_revenue_importance": + x.TopicRewardFeeRevenueImportance = value.Interface().(string) + case "emissions.v8.Params.topic_reward_alpha": + x.TopicRewardAlpha = value.Interface().(string) + case "emissions.v8.Params.task_reward_alpha": + x.TaskRewardAlpha = value.Interface().(string) + case "emissions.v8.Params.validators_vs_allora_percent_reward": + x.ValidatorsVsAlloraPercentReward = value.Interface().(string) + case "emissions.v8.Params.max_samples_to_scale_scores": + x.MaxSamplesToScaleScores = value.Uint() + case "emissions.v8.Params.max_top_inferers_to_reward": + x.MaxTopInferersToReward = value.Uint() + case "emissions.v8.Params.max_top_forecasters_to_reward": + x.MaxTopForecastersToReward = value.Uint() + case "emissions.v8.Params.max_top_reputers_to_reward": + x.MaxTopReputersToReward = value.Uint() + case "emissions.v8.Params.create_topic_fee": + x.CreateTopicFee = value.Interface().(string) + case "emissions.v8.Params.gradient_descent_max_iters": + x.GradientDescentMaxIters = value.Uint() + case "emissions.v8.Params.registration_fee": + x.RegistrationFee = value.Interface().(string) + case "emissions.v8.Params.default_page_limit": + x.DefaultPageLimit = value.Uint() + case "emissions.v8.Params.max_page_limit": + x.MaxPageLimit = value.Uint() + case "emissions.v8.Params.min_epoch_length_record_limit": + x.MinEpochLengthRecordLimit = value.Int() + case "emissions.v8.Params.blocks_per_month": + x.BlocksPerMonth = value.Uint() + case "emissions.v8.Params.p_reward_inference": + x.PRewardInference = value.Interface().(string) + case "emissions.v8.Params.p_reward_forecast": + x.PRewardForecast = value.Interface().(string) + case "emissions.v8.Params.p_reward_reputer": + x.PRewardReputer = value.Interface().(string) + case "emissions.v8.Params.c_reward_inference": + x.CRewardInference = value.Interface().(string) + case "emissions.v8.Params.c_reward_forecast": + x.CRewardForecast = value.Interface().(string) + case "emissions.v8.Params.c_norm": + x.CNorm = value.Interface().(string) + case "emissions.v8.Params.epsilon_reputer": + x.EpsilonReputer = value.Interface().(string) + case "emissions.v8.Params.half_max_process_stake_removals_end_block": + x.HalfMaxProcessStakeRemovalsEndBlock = value.Uint() + case "emissions.v8.Params.epsilon_safe_div": + x.EpsilonSafeDiv = value.Interface().(string) + case "emissions.v8.Params.data_sending_fee": + x.DataSendingFee = value.Interface().(string) + case "emissions.v8.Params.max_elements_per_forecast": + x.MaxElementsPerForecast = value.Uint() + case "emissions.v8.Params.max_active_topics_per_block": + x.MaxActiveTopicsPerBlock = value.Uint() + case "emissions.v8.Params.max_string_length": + x.MaxStringLength = value.Uint() + case "emissions.v8.Params.initial_regret_quantile": + x.InitialRegretQuantile = value.Interface().(string) + case "emissions.v8.Params.p_norm_safe_div": + x.PNormSafeDiv = value.Interface().(string) + case "emissions.v8.Params.global_whitelist_enabled": + x.GlobalWhitelistEnabled = value.Bool() + case "emissions.v8.Params.topic_creator_whitelist_enabled": + x.TopicCreatorWhitelistEnabled = value.Bool() + case "emissions.v8.Params.min_experienced_worker_regrets": + x.MinExperiencedWorkerRegrets = value.Uint() + case "emissions.v8.Params.inference_outlier_detection_threshold": + x.InferenceOutlierDetectionThreshold = value.Interface().(string) + case "emissions.v8.Params.inference_outlier_detection_alpha": + x.InferenceOutlierDetectionAlpha = value.Interface().(string) + case "emissions.v8.Params.lambda_initial_score": + x.LambdaInitialScore = value.Interface().(string) + case "emissions.v8.Params.global_worker_whitelist_enabled": + x.GlobalWorkerWhitelistEnabled = value.Bool() + case "emissions.v8.Params.global_reputer_whitelist_enabled": + x.GlobalReputerWhitelistEnabled = value.Bool() + case "emissions.v8.Params.global_admin_whitelist_appended": + x.GlobalAdminWhitelistAppended = value.Bool() + case "emissions.v8.Params.max_whitelist_input_array_length": + x.MaxWhitelistInputArrayLength = value.Uint() + case "emissions.v8.Params.min_weight_threshold_for_stdnorm": + x.MinWeightThresholdForStdnorm = value.Interface().(string) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.Params")) + } + panic(fmt.Errorf("message emissions.v8.Params does not contain field %s", fd.FullName())) + } +} + +// Mutable returns a mutable reference to a composite type. +// +// If the field is unpopulated, it may allocate a composite value. +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType +// if not already stored. +// It panics if the field does not contain a composite type. +// +// Mutable is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_Params) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.Params.version": + panic(fmt.Errorf("field version of message emissions.v8.Params is not mutable")) + case "emissions.v8.Params.max_serialized_msg_length": + panic(fmt.Errorf("field max_serialized_msg_length of message emissions.v8.Params is not mutable")) + case "emissions.v8.Params.min_topic_weight": + panic(fmt.Errorf("field min_topic_weight of message emissions.v8.Params is not mutable")) + case "emissions.v8.Params.required_minimum_stake": + panic(fmt.Errorf("field required_minimum_stake of message emissions.v8.Params is not mutable")) + case "emissions.v8.Params.remove_stake_delay_window": + panic(fmt.Errorf("field remove_stake_delay_window of message emissions.v8.Params is not mutable")) + case "emissions.v8.Params.min_epoch_length": + panic(fmt.Errorf("field min_epoch_length of message emissions.v8.Params is not mutable")) + case "emissions.v8.Params.beta_entropy": + panic(fmt.Errorf("field beta_entropy of message emissions.v8.Params is not mutable")) + case "emissions.v8.Params.learning_rate": + panic(fmt.Errorf("field learning_rate of message emissions.v8.Params is not mutable")) + case "emissions.v8.Params.max_gradient_threshold": + panic(fmt.Errorf("field max_gradient_threshold of message emissions.v8.Params is not mutable")) + case "emissions.v8.Params.min_stake_fraction": + panic(fmt.Errorf("field min_stake_fraction of message emissions.v8.Params is not mutable")) + case "emissions.v8.Params.max_unfulfilled_worker_requests": + panic(fmt.Errorf("field max_unfulfilled_worker_requests of message emissions.v8.Params is not mutable")) + case "emissions.v8.Params.max_unfulfilled_reputer_requests": + panic(fmt.Errorf("field max_unfulfilled_reputer_requests of message emissions.v8.Params is not mutable")) + case "emissions.v8.Params.topic_reward_stake_importance": + panic(fmt.Errorf("field topic_reward_stake_importance of message emissions.v8.Params is not mutable")) + case "emissions.v8.Params.topic_reward_fee_revenue_importance": + panic(fmt.Errorf("field topic_reward_fee_revenue_importance of message emissions.v8.Params is not mutable")) + case "emissions.v8.Params.topic_reward_alpha": + panic(fmt.Errorf("field topic_reward_alpha of message emissions.v8.Params is not mutable")) + case "emissions.v8.Params.task_reward_alpha": + panic(fmt.Errorf("field task_reward_alpha of message emissions.v8.Params is not mutable")) + case "emissions.v8.Params.validators_vs_allora_percent_reward": + panic(fmt.Errorf("field validators_vs_allora_percent_reward of message emissions.v8.Params is not mutable")) + case "emissions.v8.Params.max_samples_to_scale_scores": + panic(fmt.Errorf("field max_samples_to_scale_scores of message emissions.v8.Params is not mutable")) + case "emissions.v8.Params.max_top_inferers_to_reward": + panic(fmt.Errorf("field max_top_inferers_to_reward of message emissions.v8.Params is not mutable")) + case "emissions.v8.Params.max_top_forecasters_to_reward": + panic(fmt.Errorf("field max_top_forecasters_to_reward of message emissions.v8.Params is not mutable")) + case "emissions.v8.Params.max_top_reputers_to_reward": + panic(fmt.Errorf("field max_top_reputers_to_reward of message emissions.v8.Params is not mutable")) + case "emissions.v8.Params.create_topic_fee": + panic(fmt.Errorf("field create_topic_fee of message emissions.v8.Params is not mutable")) + case "emissions.v8.Params.gradient_descent_max_iters": + panic(fmt.Errorf("field gradient_descent_max_iters of message emissions.v8.Params is not mutable")) + case "emissions.v8.Params.registration_fee": + panic(fmt.Errorf("field registration_fee of message emissions.v8.Params is not mutable")) + case "emissions.v8.Params.default_page_limit": + panic(fmt.Errorf("field default_page_limit of message emissions.v8.Params is not mutable")) + case "emissions.v8.Params.max_page_limit": + panic(fmt.Errorf("field max_page_limit of message emissions.v8.Params is not mutable")) + case "emissions.v8.Params.min_epoch_length_record_limit": + panic(fmt.Errorf("field min_epoch_length_record_limit of message emissions.v8.Params is not mutable")) + case "emissions.v8.Params.blocks_per_month": + panic(fmt.Errorf("field blocks_per_month of message emissions.v8.Params is not mutable")) + case "emissions.v8.Params.p_reward_inference": + panic(fmt.Errorf("field p_reward_inference of message emissions.v8.Params is not mutable")) + case "emissions.v8.Params.p_reward_forecast": + panic(fmt.Errorf("field p_reward_forecast of message emissions.v8.Params is not mutable")) + case "emissions.v8.Params.p_reward_reputer": + panic(fmt.Errorf("field p_reward_reputer of message emissions.v8.Params is not mutable")) + case "emissions.v8.Params.c_reward_inference": + panic(fmt.Errorf("field c_reward_inference of message emissions.v8.Params is not mutable")) + case "emissions.v8.Params.c_reward_forecast": + panic(fmt.Errorf("field c_reward_forecast of message emissions.v8.Params is not mutable")) + case "emissions.v8.Params.c_norm": + panic(fmt.Errorf("field c_norm of message emissions.v8.Params is not mutable")) + case "emissions.v8.Params.epsilon_reputer": + panic(fmt.Errorf("field epsilon_reputer of message emissions.v8.Params is not mutable")) + case "emissions.v8.Params.half_max_process_stake_removals_end_block": + panic(fmt.Errorf("field half_max_process_stake_removals_end_block of message emissions.v8.Params is not mutable")) + case "emissions.v8.Params.epsilon_safe_div": + panic(fmt.Errorf("field epsilon_safe_div of message emissions.v8.Params is not mutable")) + case "emissions.v8.Params.data_sending_fee": + panic(fmt.Errorf("field data_sending_fee of message emissions.v8.Params is not mutable")) + case "emissions.v8.Params.max_elements_per_forecast": + panic(fmt.Errorf("field max_elements_per_forecast of message emissions.v8.Params is not mutable")) + case "emissions.v8.Params.max_active_topics_per_block": + panic(fmt.Errorf("field max_active_topics_per_block of message emissions.v8.Params is not mutable")) + case "emissions.v8.Params.max_string_length": + panic(fmt.Errorf("field max_string_length of message emissions.v8.Params is not mutable")) + case "emissions.v8.Params.initial_regret_quantile": + panic(fmt.Errorf("field initial_regret_quantile of message emissions.v8.Params is not mutable")) + case "emissions.v8.Params.p_norm_safe_div": + panic(fmt.Errorf("field p_norm_safe_div of message emissions.v8.Params is not mutable")) + case "emissions.v8.Params.global_whitelist_enabled": + panic(fmt.Errorf("field global_whitelist_enabled of message emissions.v8.Params is not mutable")) + case "emissions.v8.Params.topic_creator_whitelist_enabled": + panic(fmt.Errorf("field topic_creator_whitelist_enabled of message emissions.v8.Params is not mutable")) + case "emissions.v8.Params.min_experienced_worker_regrets": + panic(fmt.Errorf("field min_experienced_worker_regrets of message emissions.v8.Params is not mutable")) + case "emissions.v8.Params.inference_outlier_detection_threshold": + panic(fmt.Errorf("field inference_outlier_detection_threshold of message emissions.v8.Params is not mutable")) + case "emissions.v8.Params.inference_outlier_detection_alpha": + panic(fmt.Errorf("field inference_outlier_detection_alpha of message emissions.v8.Params is not mutable")) + case "emissions.v8.Params.lambda_initial_score": + panic(fmt.Errorf("field lambda_initial_score of message emissions.v8.Params is not mutable")) + case "emissions.v8.Params.global_worker_whitelist_enabled": + panic(fmt.Errorf("field global_worker_whitelist_enabled of message emissions.v8.Params is not mutable")) + case "emissions.v8.Params.global_reputer_whitelist_enabled": + panic(fmt.Errorf("field global_reputer_whitelist_enabled of message emissions.v8.Params is not mutable")) + case "emissions.v8.Params.global_admin_whitelist_appended": + panic(fmt.Errorf("field global_admin_whitelist_appended of message emissions.v8.Params is not mutable")) + case "emissions.v8.Params.max_whitelist_input_array_length": + panic(fmt.Errorf("field max_whitelist_input_array_length of message emissions.v8.Params is not mutable")) + case "emissions.v8.Params.min_weight_threshold_for_stdnorm": + panic(fmt.Errorf("field min_weight_threshold_for_stdnorm of message emissions.v8.Params is not mutable")) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.Params")) + } + panic(fmt.Errorf("message emissions.v8.Params does not contain field %s", fd.FullName())) + } +} + +// NewField returns a new value that is assignable to the field +// for the given descriptor. For scalars, this returns the default value. +// For lists, maps, and messages, this returns a new, empty, mutable value. +func (x *fastReflection_Params) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.Params.version": + return protoreflect.ValueOfString("") + case "emissions.v8.Params.max_serialized_msg_length": + return protoreflect.ValueOfInt64(int64(0)) + case "emissions.v8.Params.min_topic_weight": + return protoreflect.ValueOfString("") + case "emissions.v8.Params.required_minimum_stake": + return protoreflect.ValueOfString("") + case "emissions.v8.Params.remove_stake_delay_window": + return protoreflect.ValueOfInt64(int64(0)) + case "emissions.v8.Params.min_epoch_length": + return protoreflect.ValueOfInt64(int64(0)) + case "emissions.v8.Params.beta_entropy": + return protoreflect.ValueOfString("") + case "emissions.v8.Params.learning_rate": + return protoreflect.ValueOfString("") + case "emissions.v8.Params.max_gradient_threshold": + return protoreflect.ValueOfString("") + case "emissions.v8.Params.min_stake_fraction": + return protoreflect.ValueOfString("") + case "emissions.v8.Params.max_unfulfilled_worker_requests": + return protoreflect.ValueOfUint64(uint64(0)) + case "emissions.v8.Params.max_unfulfilled_reputer_requests": + return protoreflect.ValueOfUint64(uint64(0)) + case "emissions.v8.Params.topic_reward_stake_importance": + return protoreflect.ValueOfString("") + case "emissions.v8.Params.topic_reward_fee_revenue_importance": + return protoreflect.ValueOfString("") + case "emissions.v8.Params.topic_reward_alpha": + return protoreflect.ValueOfString("") + case "emissions.v8.Params.task_reward_alpha": + return protoreflect.ValueOfString("") + case "emissions.v8.Params.validators_vs_allora_percent_reward": + return protoreflect.ValueOfString("") + case "emissions.v8.Params.max_samples_to_scale_scores": + return protoreflect.ValueOfUint64(uint64(0)) + case "emissions.v8.Params.max_top_inferers_to_reward": + return protoreflect.ValueOfUint64(uint64(0)) + case "emissions.v8.Params.max_top_forecasters_to_reward": + return protoreflect.ValueOfUint64(uint64(0)) + case "emissions.v8.Params.max_top_reputers_to_reward": + return protoreflect.ValueOfUint64(uint64(0)) + case "emissions.v8.Params.create_topic_fee": + return protoreflect.ValueOfString("") + case "emissions.v8.Params.gradient_descent_max_iters": + return protoreflect.ValueOfUint64(uint64(0)) + case "emissions.v8.Params.registration_fee": + return protoreflect.ValueOfString("") + case "emissions.v8.Params.default_page_limit": + return protoreflect.ValueOfUint64(uint64(0)) + case "emissions.v8.Params.max_page_limit": + return protoreflect.ValueOfUint64(uint64(0)) + case "emissions.v8.Params.min_epoch_length_record_limit": + return protoreflect.ValueOfInt64(int64(0)) + case "emissions.v8.Params.blocks_per_month": + return protoreflect.ValueOfUint64(uint64(0)) + case "emissions.v8.Params.p_reward_inference": + return protoreflect.ValueOfString("") + case "emissions.v8.Params.p_reward_forecast": + return protoreflect.ValueOfString("") + case "emissions.v8.Params.p_reward_reputer": + return protoreflect.ValueOfString("") + case "emissions.v8.Params.c_reward_inference": + return protoreflect.ValueOfString("") + case "emissions.v8.Params.c_reward_forecast": + return protoreflect.ValueOfString("") + case "emissions.v8.Params.c_norm": + return protoreflect.ValueOfString("") + case "emissions.v8.Params.epsilon_reputer": + return protoreflect.ValueOfString("") + case "emissions.v8.Params.half_max_process_stake_removals_end_block": + return protoreflect.ValueOfUint64(uint64(0)) + case "emissions.v8.Params.epsilon_safe_div": + return protoreflect.ValueOfString("") + case "emissions.v8.Params.data_sending_fee": + return protoreflect.ValueOfString("") + case "emissions.v8.Params.max_elements_per_forecast": + return protoreflect.ValueOfUint64(uint64(0)) + case "emissions.v8.Params.max_active_topics_per_block": + return protoreflect.ValueOfUint64(uint64(0)) + case "emissions.v8.Params.max_string_length": + return protoreflect.ValueOfUint64(uint64(0)) + case "emissions.v8.Params.initial_regret_quantile": + return protoreflect.ValueOfString("") + case "emissions.v8.Params.p_norm_safe_div": + return protoreflect.ValueOfString("") + case "emissions.v8.Params.global_whitelist_enabled": + return protoreflect.ValueOfBool(false) + case "emissions.v8.Params.topic_creator_whitelist_enabled": + return protoreflect.ValueOfBool(false) + case "emissions.v8.Params.min_experienced_worker_regrets": + return protoreflect.ValueOfUint64(uint64(0)) + case "emissions.v8.Params.inference_outlier_detection_threshold": + return protoreflect.ValueOfString("") + case "emissions.v8.Params.inference_outlier_detection_alpha": + return protoreflect.ValueOfString("") + case "emissions.v8.Params.lambda_initial_score": + return protoreflect.ValueOfString("") + case "emissions.v8.Params.global_worker_whitelist_enabled": + return protoreflect.ValueOfBool(false) + case "emissions.v8.Params.global_reputer_whitelist_enabled": + return protoreflect.ValueOfBool(false) + case "emissions.v8.Params.global_admin_whitelist_appended": + return protoreflect.ValueOfBool(false) + case "emissions.v8.Params.max_whitelist_input_array_length": + return protoreflect.ValueOfUint64(uint64(0)) + case "emissions.v8.Params.min_weight_threshold_for_stdnorm": + return protoreflect.ValueOfString("") + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.Params")) + } + panic(fmt.Errorf("message emissions.v8.Params does not contain field %s", fd.FullName())) + } +} + +// WhichOneof reports which field within the oneof is populated, +// returning nil if none are populated. +// It panics if the oneof descriptor does not belong to this message. +func (x *fastReflection_Params) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { + switch d.FullName() { + default: + panic(fmt.Errorf("%s is not a oneof field in emissions.v8.Params", d.FullName())) + } + panic("unreachable") +} + +// GetUnknown retrieves the entire list of unknown fields. +// The caller may only mutate the contents of the RawFields +// if the mutated bytes are stored back into the message with SetUnknown. +func (x *fastReflection_Params) GetUnknown() protoreflect.RawFields { + return x.unknownFields +} + +// SetUnknown stores an entire list of unknown fields. +// The raw fields must be syntactically valid according to the wire format. +// An implementation may panic if this is not the case. +// Once stored, the caller must not mutate the content of the RawFields. +// An empty RawFields may be passed to clear the fields. +// +// SetUnknown is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_Params) SetUnknown(fields protoreflect.RawFields) { + x.unknownFields = fields +} + +// IsValid reports whether the message is valid. +// +// An invalid message is an empty, read-only value. +// +// An invalid message often corresponds to a nil pointer of the concrete +// message type, but the details are implementation dependent. +// Validity is not part of the protobuf data model, and may not +// be preserved in marshaling or other operations. +func (x *fastReflection_Params) IsValid() bool { + return x != nil +} + +// ProtoMethods returns optional fastReflectionFeature-path implementations of various operations. +// This method may return nil. +// +// The returned methods type is identical to +// "google.golang.org/protobuf/runtime/protoiface".Methods. +// Consult the protoiface package documentation for details. +func (x *fastReflection_Params) ProtoMethods() *protoiface.Methods { + size := func(input protoiface.SizeInput) protoiface.SizeOutput { + x := input.Message.Interface().(*Params) + if x == nil { + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: 0, + } + } + options := runtime.SizeInputToOptions(input) + _ = options + var n int + var l int + _ = l + l = len(x.Version) + if l > 0 { + n += 1 + l + runtime.Sov(uint64(l)) + } + if x.MaxSerializedMsgLength != 0 { + n += 1 + runtime.Sov(uint64(x.MaxSerializedMsgLength)) + } + l = len(x.MinTopicWeight) + if l > 0 { + n += 1 + l + runtime.Sov(uint64(l)) + } + l = len(x.RequiredMinimumStake) + if l > 0 { + n += 1 + l + runtime.Sov(uint64(l)) + } + if x.RemoveStakeDelayWindow != 0 { + n += 1 + runtime.Sov(uint64(x.RemoveStakeDelayWindow)) + } + if x.MinEpochLength != 0 { + n += 1 + runtime.Sov(uint64(x.MinEpochLength)) + } + l = len(x.BetaEntropy) + if l > 0 { + n += 1 + l + runtime.Sov(uint64(l)) + } + l = len(x.LearningRate) + if l > 0 { + n += 1 + l + runtime.Sov(uint64(l)) + } + l = len(x.MaxGradientThreshold) + if l > 0 { + n += 1 + l + runtime.Sov(uint64(l)) + } + l = len(x.MinStakeFraction) + if l > 0 { + n += 1 + l + runtime.Sov(uint64(l)) + } + if x.MaxUnfulfilledWorkerRequests != 0 { + n += 1 + runtime.Sov(uint64(x.MaxUnfulfilledWorkerRequests)) + } + if x.MaxUnfulfilledReputerRequests != 0 { + n += 1 + runtime.Sov(uint64(x.MaxUnfulfilledReputerRequests)) + } + l = len(x.TopicRewardStakeImportance) + if l > 0 { + n += 1 + l + runtime.Sov(uint64(l)) + } + l = len(x.TopicRewardFeeRevenueImportance) + if l > 0 { + n += 2 + l + runtime.Sov(uint64(l)) + } + l = len(x.TopicRewardAlpha) + if l > 0 { + n += 2 + l + runtime.Sov(uint64(l)) + } + l = len(x.TaskRewardAlpha) + if l > 0 { + n += 2 + l + runtime.Sov(uint64(l)) + } + l = len(x.ValidatorsVsAlloraPercentReward) + if l > 0 { + n += 2 + l + runtime.Sov(uint64(l)) + } + if x.MaxSamplesToScaleScores != 0 { + n += 2 + runtime.Sov(uint64(x.MaxSamplesToScaleScores)) + } + if x.MaxTopInferersToReward != 0 { + n += 2 + runtime.Sov(uint64(x.MaxTopInferersToReward)) + } + if x.MaxTopForecastersToReward != 0 { + n += 2 + runtime.Sov(uint64(x.MaxTopForecastersToReward)) + } + if x.MaxTopReputersToReward != 0 { + n += 2 + runtime.Sov(uint64(x.MaxTopReputersToReward)) + } + l = len(x.CreateTopicFee) + if l > 0 { + n += 2 + l + runtime.Sov(uint64(l)) + } + if x.GradientDescentMaxIters != 0 { + n += 2 + runtime.Sov(uint64(x.GradientDescentMaxIters)) + } + l = len(x.RegistrationFee) + if l > 0 { + n += 2 + l + runtime.Sov(uint64(l)) + } + if x.DefaultPageLimit != 0 { + n += 2 + runtime.Sov(uint64(x.DefaultPageLimit)) + } + if x.MaxPageLimit != 0 { + n += 2 + runtime.Sov(uint64(x.MaxPageLimit)) + } + if x.MinEpochLengthRecordLimit != 0 { + n += 2 + runtime.Sov(uint64(x.MinEpochLengthRecordLimit)) + } + if x.BlocksPerMonth != 0 { + n += 2 + runtime.Sov(uint64(x.BlocksPerMonth)) + } + l = len(x.PRewardInference) + if l > 0 { + n += 2 + l + runtime.Sov(uint64(l)) + } + l = len(x.PRewardForecast) + if l > 0 { + n += 2 + l + runtime.Sov(uint64(l)) + } + l = len(x.PRewardReputer) + if l > 0 { + n += 2 + l + runtime.Sov(uint64(l)) + } + l = len(x.CRewardInference) + if l > 0 { + n += 2 + l + runtime.Sov(uint64(l)) + } + l = len(x.CRewardForecast) + if l > 0 { + n += 2 + l + runtime.Sov(uint64(l)) + } + l = len(x.CNorm) + if l > 0 { + n += 2 + l + runtime.Sov(uint64(l)) + } + l = len(x.EpsilonReputer) + if l > 0 { + n += 2 + l + runtime.Sov(uint64(l)) + } + if x.HalfMaxProcessStakeRemovalsEndBlock != 0 { + n += 2 + runtime.Sov(uint64(x.HalfMaxProcessStakeRemovalsEndBlock)) + } + l = len(x.EpsilonSafeDiv) + if l > 0 { + n += 2 + l + runtime.Sov(uint64(l)) + } + l = len(x.DataSendingFee) + if l > 0 { + n += 2 + l + runtime.Sov(uint64(l)) + } + if x.MaxElementsPerForecast != 0 { + n += 2 + runtime.Sov(uint64(x.MaxElementsPerForecast)) + } + if x.MaxActiveTopicsPerBlock != 0 { + n += 2 + runtime.Sov(uint64(x.MaxActiveTopicsPerBlock)) + } + if x.MaxStringLength != 0 { + n += 2 + runtime.Sov(uint64(x.MaxStringLength)) + } + l = len(x.InitialRegretQuantile) + if l > 0 { + n += 2 + l + runtime.Sov(uint64(l)) + } + l = len(x.PNormSafeDiv) + if l > 0 { + n += 2 + l + runtime.Sov(uint64(l)) + } + if x.GlobalWhitelistEnabled { + n += 3 + } + if x.TopicCreatorWhitelistEnabled { + n += 3 + } + if x.MinExperiencedWorkerRegrets != 0 { + n += 2 + runtime.Sov(uint64(x.MinExperiencedWorkerRegrets)) + } + l = len(x.InferenceOutlierDetectionThreshold) + if l > 0 { + n += 2 + l + runtime.Sov(uint64(l)) + } + l = len(x.InferenceOutlierDetectionAlpha) + if l > 0 { + n += 2 + l + runtime.Sov(uint64(l)) + } + l = len(x.LambdaInitialScore) + if l > 0 { + n += 2 + l + runtime.Sov(uint64(l)) + } + if x.GlobalWorkerWhitelistEnabled { + n += 3 + } + if x.GlobalReputerWhitelistEnabled { + n += 3 + } + if x.GlobalAdminWhitelistAppended { + n += 3 + } + if x.MaxWhitelistInputArrayLength != 0 { + n += 2 + runtime.Sov(uint64(x.MaxWhitelistInputArrayLength)) + } + l = len(x.MinWeightThresholdForStdnorm) + if l > 0 { + n += 2 + l + runtime.Sov(uint64(l)) + } + if x.unknownFields != nil { + n += len(x.unknownFields) + } + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: n, + } + } + + marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { + x := input.Message.Interface().(*Params) + if x == nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + options := runtime.MarshalInputToOptions(input) + _ = options + size := options.Size(x) + dAtA := make([]byte, size) + i := len(dAtA) + _ = i + var l int + _ = l + if x.unknownFields != nil { + i -= len(x.unknownFields) + copy(dAtA[i:], x.unknownFields) + } + if len(x.MinWeightThresholdForStdnorm) > 0 { + i -= len(x.MinWeightThresholdForStdnorm) + copy(dAtA[i:], x.MinWeightThresholdForStdnorm) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.MinWeightThresholdForStdnorm))) + i-- + dAtA[i] = 0x3 + i-- + dAtA[i] = 0xe2 + } + if x.MaxWhitelistInputArrayLength != 0 { + i = runtime.EncodeVarint(dAtA, i, uint64(x.MaxWhitelistInputArrayLength)) + i-- + dAtA[i] = 0x3 + i-- + dAtA[i] = 0xd8 + } + if x.GlobalAdminWhitelistAppended { + i-- + if x.GlobalAdminWhitelistAppended { + dAtA[i] = 1 + } else { + dAtA[i] = 0 + } + i-- + dAtA[i] = 0x3 + i-- + dAtA[i] = 0xd0 + } + if x.GlobalReputerWhitelistEnabled { + i-- + if x.GlobalReputerWhitelistEnabled { + dAtA[i] = 1 + } else { + dAtA[i] = 0 + } + i-- + dAtA[i] = 0x3 + i-- + dAtA[i] = 0xc8 + } + if x.GlobalWorkerWhitelistEnabled { + i-- + if x.GlobalWorkerWhitelistEnabled { + dAtA[i] = 1 + } else { + dAtA[i] = 0 + } + i-- + dAtA[i] = 0x3 + i-- + dAtA[i] = 0xc0 + } + if len(x.LambdaInitialScore) > 0 { + i -= len(x.LambdaInitialScore) + copy(dAtA[i:], x.LambdaInitialScore) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.LambdaInitialScore))) + i-- + dAtA[i] = 0x3 + i-- + dAtA[i] = 0xba + } + if len(x.InferenceOutlierDetectionAlpha) > 0 { + i -= len(x.InferenceOutlierDetectionAlpha) + copy(dAtA[i:], x.InferenceOutlierDetectionAlpha) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.InferenceOutlierDetectionAlpha))) + i-- + dAtA[i] = 0x3 + i-- + dAtA[i] = 0xb2 + } + if len(x.InferenceOutlierDetectionThreshold) > 0 { + i -= len(x.InferenceOutlierDetectionThreshold) + copy(dAtA[i:], x.InferenceOutlierDetectionThreshold) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.InferenceOutlierDetectionThreshold))) + i-- + dAtA[i] = 0x3 + i-- + dAtA[i] = 0xaa + } + if x.MinExperiencedWorkerRegrets != 0 { + i = runtime.EncodeVarint(dAtA, i, uint64(x.MinExperiencedWorkerRegrets)) + i-- + dAtA[i] = 0x3 + i-- + dAtA[i] = 0xa0 + } + if x.TopicCreatorWhitelistEnabled { + i-- + if x.TopicCreatorWhitelistEnabled { + dAtA[i] = 1 + } else { + dAtA[i] = 0 + } + i-- + dAtA[i] = 0x3 + i-- + dAtA[i] = 0x98 + } + if x.GlobalWhitelistEnabled { + i-- + if x.GlobalWhitelistEnabled { + dAtA[i] = 1 + } else { + dAtA[i] = 0 + } + i-- + dAtA[i] = 0x3 + i-- + dAtA[i] = 0x90 + } + if len(x.PNormSafeDiv) > 0 { + i -= len(x.PNormSafeDiv) + copy(dAtA[i:], x.PNormSafeDiv) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.PNormSafeDiv))) + i-- + dAtA[i] = 0x3 + i-- + dAtA[i] = 0x8a + } + if len(x.InitialRegretQuantile) > 0 { + i -= len(x.InitialRegretQuantile) + copy(dAtA[i:], x.InitialRegretQuantile) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.InitialRegretQuantile))) + i-- + dAtA[i] = 0x3 + i-- + dAtA[i] = 0x82 + } + if x.MaxStringLength != 0 { + i = runtime.EncodeVarint(dAtA, i, uint64(x.MaxStringLength)) + i-- + dAtA[i] = 0x2 + i-- + dAtA[i] = 0xf8 + } + if x.MaxActiveTopicsPerBlock != 0 { + i = runtime.EncodeVarint(dAtA, i, uint64(x.MaxActiveTopicsPerBlock)) + i-- + dAtA[i] = 0x2 + i-- + dAtA[i] = 0xf0 + } + if x.MaxElementsPerForecast != 0 { + i = runtime.EncodeVarint(dAtA, i, uint64(x.MaxElementsPerForecast)) + i-- + dAtA[i] = 0x2 + i-- + dAtA[i] = 0xe8 + } + if len(x.DataSendingFee) > 0 { + i -= len(x.DataSendingFee) + copy(dAtA[i:], x.DataSendingFee) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.DataSendingFee))) + i-- + dAtA[i] = 0x2 + i-- + dAtA[i] = 0xe2 + } + if len(x.EpsilonSafeDiv) > 0 { + i -= len(x.EpsilonSafeDiv) + copy(dAtA[i:], x.EpsilonSafeDiv) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.EpsilonSafeDiv))) + i-- + dAtA[i] = 0x2 + i-- + dAtA[i] = 0xda + } + if x.HalfMaxProcessStakeRemovalsEndBlock != 0 { + i = runtime.EncodeVarint(dAtA, i, uint64(x.HalfMaxProcessStakeRemovalsEndBlock)) + i-- + dAtA[i] = 0x2 + i-- + dAtA[i] = 0xd0 + } + if len(x.EpsilonReputer) > 0 { + i -= len(x.EpsilonReputer) + copy(dAtA[i:], x.EpsilonReputer) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.EpsilonReputer))) + i-- + dAtA[i] = 0x2 + i-- + dAtA[i] = 0xc2 + } + if len(x.CNorm) > 0 { + i -= len(x.CNorm) + copy(dAtA[i:], x.CNorm) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.CNorm))) + i-- + dAtA[i] = 0x2 + i-- + dAtA[i] = 0xb2 + } + if len(x.CRewardForecast) > 0 { + i -= len(x.CRewardForecast) + copy(dAtA[i:], x.CRewardForecast) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.CRewardForecast))) + i-- + dAtA[i] = 0x2 + i-- + dAtA[i] = 0xaa + } + if len(x.CRewardInference) > 0 { + i -= len(x.CRewardInference) + copy(dAtA[i:], x.CRewardInference) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.CRewardInference))) + i-- + dAtA[i] = 0x2 + i-- + dAtA[i] = 0xa2 + } + if len(x.PRewardReputer) > 0 { + i -= len(x.PRewardReputer) + copy(dAtA[i:], x.PRewardReputer) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.PRewardReputer))) + i-- + dAtA[i] = 0x2 + i-- + dAtA[i] = 0x9a + } + if len(x.PRewardForecast) > 0 { + i -= len(x.PRewardForecast) + copy(dAtA[i:], x.PRewardForecast) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.PRewardForecast))) + i-- + dAtA[i] = 0x2 + i-- + dAtA[i] = 0x92 + } + if len(x.PRewardInference) > 0 { + i -= len(x.PRewardInference) + copy(dAtA[i:], x.PRewardInference) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.PRewardInference))) + i-- + dAtA[i] = 0x2 + i-- + dAtA[i] = 0x8a + } + if x.BlocksPerMonth != 0 { + i = runtime.EncodeVarint(dAtA, i, uint64(x.BlocksPerMonth)) + i-- + dAtA[i] = 0x2 + i-- + dAtA[i] = 0x80 + } + if x.MinEpochLengthRecordLimit != 0 { + i = runtime.EncodeVarint(dAtA, i, uint64(x.MinEpochLengthRecordLimit)) + i-- + dAtA[i] = 0x1 + i-- + dAtA[i] = 0xf8 + } + if x.MaxPageLimit != 0 { + i = runtime.EncodeVarint(dAtA, i, uint64(x.MaxPageLimit)) + i-- + dAtA[i] = 0x1 + i-- + dAtA[i] = 0xf0 + } + if x.DefaultPageLimit != 0 { + i = runtime.EncodeVarint(dAtA, i, uint64(x.DefaultPageLimit)) + i-- + dAtA[i] = 0x1 + i-- + dAtA[i] = 0xe8 + } + if len(x.RegistrationFee) > 0 { + i -= len(x.RegistrationFee) + copy(dAtA[i:], x.RegistrationFee) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.RegistrationFee))) + i-- + dAtA[i] = 0x1 + i-- + dAtA[i] = 0xe2 + } + if x.GradientDescentMaxIters != 0 { + i = runtime.EncodeVarint(dAtA, i, uint64(x.GradientDescentMaxIters)) + i-- + dAtA[i] = 0x1 + i-- + dAtA[i] = 0xc8 + } + if len(x.CreateTopicFee) > 0 { + i -= len(x.CreateTopicFee) + copy(dAtA[i:], x.CreateTopicFee) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.CreateTopicFee))) + i-- + dAtA[i] = 0x1 + i-- + dAtA[i] = 0xc2 + } + if x.MaxTopReputersToReward != 0 { + i = runtime.EncodeVarint(dAtA, i, uint64(x.MaxTopReputersToReward)) + i-- + dAtA[i] = 0x1 + i-- + dAtA[i] = 0xb8 + } + if x.MaxTopForecastersToReward != 0 { + i = runtime.EncodeVarint(dAtA, i, uint64(x.MaxTopForecastersToReward)) + i-- + dAtA[i] = 0x1 + i-- + dAtA[i] = 0xb0 + } + if x.MaxTopInferersToReward != 0 { + i = runtime.EncodeVarint(dAtA, i, uint64(x.MaxTopInferersToReward)) + i-- + dAtA[i] = 0x1 + i-- + dAtA[i] = 0xa8 + } + if x.MaxSamplesToScaleScores != 0 { + i = runtime.EncodeVarint(dAtA, i, uint64(x.MaxSamplesToScaleScores)) + i-- + dAtA[i] = 0x1 + i-- + dAtA[i] = 0xa0 + } + if len(x.ValidatorsVsAlloraPercentReward) > 0 { + i -= len(x.ValidatorsVsAlloraPercentReward) + copy(dAtA[i:], x.ValidatorsVsAlloraPercentReward) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.ValidatorsVsAlloraPercentReward))) + i-- + dAtA[i] = 0x1 + i-- + dAtA[i] = 0x9a + } + if len(x.TaskRewardAlpha) > 0 { + i -= len(x.TaskRewardAlpha) + copy(dAtA[i:], x.TaskRewardAlpha) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.TaskRewardAlpha))) + i-- + dAtA[i] = 0x1 + i-- + dAtA[i] = 0x92 + } + if len(x.TopicRewardAlpha) > 0 { + i -= len(x.TopicRewardAlpha) + copy(dAtA[i:], x.TopicRewardAlpha) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.TopicRewardAlpha))) + i-- + dAtA[i] = 0x1 + i-- + dAtA[i] = 0x8a + } + if len(x.TopicRewardFeeRevenueImportance) > 0 { + i -= len(x.TopicRewardFeeRevenueImportance) + copy(dAtA[i:], x.TopicRewardFeeRevenueImportance) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.TopicRewardFeeRevenueImportance))) + i-- + dAtA[i] = 0x1 + i-- + dAtA[i] = 0x82 + } + if len(x.TopicRewardStakeImportance) > 0 { + i -= len(x.TopicRewardStakeImportance) + copy(dAtA[i:], x.TopicRewardStakeImportance) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.TopicRewardStakeImportance))) + i-- + dAtA[i] = 0x7a + } + if x.MaxUnfulfilledReputerRequests != 0 { + i = runtime.EncodeVarint(dAtA, i, uint64(x.MaxUnfulfilledReputerRequests)) + i-- + dAtA[i] = 0x70 + } + if x.MaxUnfulfilledWorkerRequests != 0 { + i = runtime.EncodeVarint(dAtA, i, uint64(x.MaxUnfulfilledWorkerRequests)) + i-- + dAtA[i] = 0x68 + } + if len(x.MinStakeFraction) > 0 { + i -= len(x.MinStakeFraction) + copy(dAtA[i:], x.MinStakeFraction) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.MinStakeFraction))) + i-- + dAtA[i] = 0x5a + } + if len(x.MaxGradientThreshold) > 0 { + i -= len(x.MaxGradientThreshold) + copy(dAtA[i:], x.MaxGradientThreshold) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.MaxGradientThreshold))) + i-- + dAtA[i] = 0x52 + } + if len(x.LearningRate) > 0 { + i -= len(x.LearningRate) + copy(dAtA[i:], x.LearningRate) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.LearningRate))) + i-- + dAtA[i] = 0x4a + } + if len(x.BetaEntropy) > 0 { + i -= len(x.BetaEntropy) + copy(dAtA[i:], x.BetaEntropy) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.BetaEntropy))) + i-- + dAtA[i] = 0x42 + } + if x.MinEpochLength != 0 { + i = runtime.EncodeVarint(dAtA, i, uint64(x.MinEpochLength)) + i-- + dAtA[i] = 0x38 + } + if x.RemoveStakeDelayWindow != 0 { + i = runtime.EncodeVarint(dAtA, i, uint64(x.RemoveStakeDelayWindow)) + i-- + dAtA[i] = 0x30 + } + if len(x.RequiredMinimumStake) > 0 { + i -= len(x.RequiredMinimumStake) + copy(dAtA[i:], x.RequiredMinimumStake) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.RequiredMinimumStake))) + i-- + dAtA[i] = 0x2a + } + if len(x.MinTopicWeight) > 0 { + i -= len(x.MinTopicWeight) + copy(dAtA[i:], x.MinTopicWeight) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.MinTopicWeight))) + i-- + dAtA[i] = 0x1a + } + if x.MaxSerializedMsgLength != 0 { + i = runtime.EncodeVarint(dAtA, i, uint64(x.MaxSerializedMsgLength)) + i-- + dAtA[i] = 0x10 + } + if len(x.Version) > 0 { + i -= len(x.Version) + copy(dAtA[i:], x.Version) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.Version))) + i-- + dAtA[i] = 0xa + } + if input.Buf != nil { + input.Buf = append(input.Buf, dAtA...) + } else { + input.Buf = dAtA + } + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { + x := input.Message.Interface().(*Params) + if x == nil { + return protoiface.UnmarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Flags: input.Flags, + }, nil + } + options := runtime.UnmarshalInputToOptions(input) + _ = options + dAtA := input.Buf + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: Params: wiretype end group for non-group") + } + if fieldNum <= 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: Params: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Version", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + x.Version = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field MaxSerializedMsgLength", wireType) + } + x.MaxSerializedMsgLength = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + x.MaxSerializedMsgLength |= int64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 3: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field MinTopicWeight", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + x.MinTopicWeight = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 5: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field RequiredMinimumStake", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + x.RequiredMinimumStake = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 6: + if wireType != 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field RemoveStakeDelayWindow", wireType) + } + x.RemoveStakeDelayWindow = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + x.RemoveStakeDelayWindow |= int64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 7: + if wireType != 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field MinEpochLength", wireType) + } + x.MinEpochLength = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + x.MinEpochLength |= int64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 8: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field BetaEntropy", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + x.BetaEntropy = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 9: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field LearningRate", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + x.LearningRate = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 10: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field MaxGradientThreshold", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + x.MaxGradientThreshold = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 11: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field MinStakeFraction", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + x.MinStakeFraction = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 13: + if wireType != 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field MaxUnfulfilledWorkerRequests", wireType) + } + x.MaxUnfulfilledWorkerRequests = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + x.MaxUnfulfilledWorkerRequests |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 14: + if wireType != 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field MaxUnfulfilledReputerRequests", wireType) + } + x.MaxUnfulfilledReputerRequests = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + x.MaxUnfulfilledReputerRequests |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 15: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field TopicRewardStakeImportance", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + x.TopicRewardStakeImportance = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 16: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field TopicRewardFeeRevenueImportance", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + x.TopicRewardFeeRevenueImportance = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 17: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field TopicRewardAlpha", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + x.TopicRewardAlpha = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 18: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field TaskRewardAlpha", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + x.TaskRewardAlpha = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 19: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field ValidatorsVsAlloraPercentReward", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + x.ValidatorsVsAlloraPercentReward = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 20: + if wireType != 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field MaxSamplesToScaleScores", wireType) + } + x.MaxSamplesToScaleScores = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + x.MaxSamplesToScaleScores |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 21: + if wireType != 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field MaxTopInferersToReward", wireType) + } + x.MaxTopInferersToReward = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + x.MaxTopInferersToReward |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 22: + if wireType != 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field MaxTopForecastersToReward", wireType) + } + x.MaxTopForecastersToReward = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + x.MaxTopForecastersToReward |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 23: + if wireType != 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field MaxTopReputersToReward", wireType) + } + x.MaxTopReputersToReward = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + x.MaxTopReputersToReward |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 24: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field CreateTopicFee", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + x.CreateTopicFee = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 25: + if wireType != 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field GradientDescentMaxIters", wireType) + } + x.GradientDescentMaxIters = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + x.GradientDescentMaxIters |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 28: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field RegistrationFee", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + x.RegistrationFee = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 29: + if wireType != 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field DefaultPageLimit", wireType) + } + x.DefaultPageLimit = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + x.DefaultPageLimit |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 30: + if wireType != 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field MaxPageLimit", wireType) + } + x.MaxPageLimit = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + x.MaxPageLimit |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 31: + if wireType != 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field MinEpochLengthRecordLimit", wireType) + } + x.MinEpochLengthRecordLimit = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + x.MinEpochLengthRecordLimit |= int64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 32: + if wireType != 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field BlocksPerMonth", wireType) + } + x.BlocksPerMonth = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + x.BlocksPerMonth |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 33: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field PRewardInference", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + x.PRewardInference = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 34: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field PRewardForecast", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + x.PRewardForecast = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 35: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field PRewardReputer", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + x.PRewardReputer = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 36: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field CRewardInference", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + x.CRewardInference = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 37: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field CRewardForecast", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + x.CRewardForecast = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 38: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field CNorm", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + x.CNorm = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 40: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field EpsilonReputer", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + x.EpsilonReputer = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 42: + if wireType != 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field HalfMaxProcessStakeRemovalsEndBlock", wireType) + } + x.HalfMaxProcessStakeRemovalsEndBlock = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + x.HalfMaxProcessStakeRemovalsEndBlock |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 43: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field EpsilonSafeDiv", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + x.EpsilonSafeDiv = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 44: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field DataSendingFee", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + x.DataSendingFee = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 45: + if wireType != 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field MaxElementsPerForecast", wireType) + } + x.MaxElementsPerForecast = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + x.MaxElementsPerForecast |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 46: + if wireType != 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field MaxActiveTopicsPerBlock", wireType) + } + x.MaxActiveTopicsPerBlock = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + x.MaxActiveTopicsPerBlock |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 47: + if wireType != 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field MaxStringLength", wireType) + } + x.MaxStringLength = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + x.MaxStringLength |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 48: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field InitialRegretQuantile", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + x.InitialRegretQuantile = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 49: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field PNormSafeDiv", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + x.PNormSafeDiv = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 50: + if wireType != 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field GlobalWhitelistEnabled", wireType) + } + var v int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + x.GlobalWhitelistEnabled = bool(v != 0) + case 51: + if wireType != 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field TopicCreatorWhitelistEnabled", wireType) + } + var v int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + x.TopicCreatorWhitelistEnabled = bool(v != 0) + case 52: + if wireType != 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field MinExperiencedWorkerRegrets", wireType) + } + x.MinExperiencedWorkerRegrets = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + x.MinExperiencedWorkerRegrets |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 53: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field InferenceOutlierDetectionThreshold", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + x.InferenceOutlierDetectionThreshold = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 54: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field InferenceOutlierDetectionAlpha", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + x.InferenceOutlierDetectionAlpha = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 55: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field LambdaInitialScore", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + x.LambdaInitialScore = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 56: + if wireType != 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field GlobalWorkerWhitelistEnabled", wireType) + } + var v int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + x.GlobalWorkerWhitelistEnabled = bool(v != 0) + case 57: + if wireType != 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field GlobalReputerWhitelistEnabled", wireType) + } + var v int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + x.GlobalReputerWhitelistEnabled = bool(v != 0) + case 58: + if wireType != 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field GlobalAdminWhitelistAppended", wireType) + } + var v int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + x.GlobalAdminWhitelistAppended = bool(v != 0) + case 59: + if wireType != 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field MaxWhitelistInputArrayLength", wireType) + } + x.MaxWhitelistInputArrayLength = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + x.MaxWhitelistInputArrayLength |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 60: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field MinWeightThresholdForStdnorm", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + x.MinWeightThresholdForStdnorm = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := runtime.Skip(dAtA[iNdEx:]) + if err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if (iNdEx + skippy) > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + if !options.DiscardUnknown { + x.unknownFields = append(x.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + } + iNdEx += skippy + } + } + + if iNdEx > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, nil + } + return &protoiface.Methods{ + NoUnkeyedLiterals: struct{}{}, + Flags: protoiface.SupportMarshalDeterministic | protoiface.SupportUnmarshalDiscardUnknown, + Size: size, + Marshal: marshal, + Unmarshal: unmarshal, + Merge: nil, + CheckInitialized: nil, + } +} + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.27.0 +// protoc (unknown) +// source: emissions/v8/params.proto + +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) +) + +// Params defines the parameters of the module. +type Params struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Version string `protobuf:"bytes,1,opt,name=version,proto3" json:"version,omitempty"` // version of the protocol should be in lockstep with + // github release tag version + MaxSerializedMsgLength int64 `protobuf:"varint,2,opt,name=max_serialized_msg_length,json=maxSerializedMsgLength,proto3" json:"max_serialized_msg_length,omitempty"` // max length of input data for msg and query server calls + MinTopicWeight string `protobuf:"bytes,3,opt,name=min_topic_weight,json=minTopicWeight,proto3" json:"min_topic_weight,omitempty"` // total unmet demand for a topic < this => don't run inference + // solicatation or weight-adjustment + RequiredMinimumStake string `protobuf:"bytes,5,opt,name=required_minimum_stake,json=requiredMinimumStake,proto3" json:"required_minimum_stake,omitempty"` // minimum amount of tokens to send to stake as a reputer or worker + RemoveStakeDelayWindow int64 `protobuf:"varint,6,opt,name=remove_stake_delay_window,json=removeStakeDelayWindow,proto3" json:"remove_stake_delay_window,omitempty"` // how long to wait (blocks) before allowed to remove stake + MinEpochLength int64 `protobuf:"varint,7,opt,name=min_epoch_length,json=minEpochLength,proto3" json:"min_epoch_length,omitempty"` // fastest allowable topic epoch and cadence of a + // repeating inference request + BetaEntropy string `protobuf:"bytes,8,opt,name=beta_entropy,json=betaEntropy,proto3" json:"beta_entropy,omitempty"` // controls resilience of reward payouts against copycat workers + LearningRate string `protobuf:"bytes,9,opt,name=learning_rate,json=learningRate,proto3" json:"learning_rate,omitempty"` // speed of gradient descent + MaxGradientThreshold string `protobuf:"bytes,10,opt,name=max_gradient_threshold,json=maxGradientThreshold,proto3" json:"max_gradient_threshold,omitempty"` // gradient descent stops when gradient falls below this + MinStakeFraction string `protobuf:"bytes,11,opt,name=min_stake_fraction,json=minStakeFraction,proto3" json:"min_stake_fraction,omitempty"` // minimum fraction of stake to listen to when setting consensus listening + // coefficients + MaxUnfulfilledWorkerRequests uint64 `protobuf:"varint,13,opt,name=max_unfulfilled_worker_requests,json=maxUnfulfilledWorkerRequests,proto3" json:"max_unfulfilled_worker_requests,omitempty"` // max num worker request nonces to keep track of per topic + MaxUnfulfilledReputerRequests uint64 `protobuf:"varint,14,opt,name=max_unfulfilled_reputer_requests,json=maxUnfulfilledReputerRequests,proto3" json:"max_unfulfilled_reputer_requests,omitempty"` // max num reputer request nonces to keep track of per topic + TopicRewardStakeImportance string `protobuf:"bytes,15,opt,name=topic_reward_stake_importance,json=topicRewardStakeImportance,proto3" json:"topic_reward_stake_importance,omitempty"` // The exponent μ represents the importance of stake in the reward of a + // topic and has a fiducial value of 0.5 + TopicRewardFeeRevenueImportance string `protobuf:"bytes,16,opt,name=topic_reward_fee_revenue_importance,json=topicRewardFeeRevenueImportance,proto3" json:"topic_reward_fee_revenue_importance,omitempty"` // The exponent ν represents the importance of fee revenue in the reward of + // a topic and has a fiducial value of 0.5 + TopicRewardAlpha string `protobuf:"bytes,17,opt,name=topic_reward_alpha,json=topicRewardAlpha,proto3" json:"topic_reward_alpha,omitempty"` // global exponential moving average parameter. Fiducial value of 0.9375 on + // a monthly timescale, 0.5 for weekly updates + TaskRewardAlpha string `protobuf:"bytes,18,opt,name=task_reward_alpha,json=taskRewardAlpha,proto3" json:"task_reward_alpha,omitempty"` // global exponential moving average parameter. Fiducial value of 0.1 used + // to calculate ~U_ij, ~V_ik, ~W_im + ValidatorsVsAlloraPercentReward string `protobuf:"bytes,19,opt,name=validators_vs_allora_percent_reward,json=validatorsVsAlloraPercentReward,proto3" json:"validators_vs_allora_percent_reward,omitempty"` // percent of total supply rewarded to cosmos network validators, rest goes + // to allora reputers workers etc + MaxSamplesToScaleScores uint64 `protobuf:"varint,20,opt,name=max_samples_to_scale_scores,json=maxSamplesToScaleScores,proto3" json:"max_samples_to_scale_scores,omitempty"` // number of scores to use for standard deviation calculation + MaxTopInferersToReward uint64 `protobuf:"varint,21,opt,name=max_top_inferers_to_reward,json=maxTopInferersToReward,proto3" json:"max_top_inferers_to_reward,omitempty"` // max number of top inferers by score to reward + MaxTopForecastersToReward uint64 `protobuf:"varint,22,opt,name=max_top_forecasters_to_reward,json=maxTopForecastersToReward,proto3" json:"max_top_forecasters_to_reward,omitempty"` // max number of top forecasters by score to reward + MaxTopReputersToReward uint64 `protobuf:"varint,23,opt,name=max_top_reputers_to_reward,json=maxTopReputersToReward,proto3" json:"max_top_reputers_to_reward,omitempty"` // max number of top reputers by score to reward + CreateTopicFee string `protobuf:"bytes,24,opt,name=create_topic_fee,json=createTopicFee,proto3" json:"create_topic_fee,omitempty"` // topic registration fee + GradientDescentMaxIters uint64 `protobuf:"varint,25,opt,name=gradient_descent_max_iters,json=gradientDescentMaxIters,proto3" json:"gradient_descent_max_iters,omitempty"` // max number of gradient descent iterations + RegistrationFee string `protobuf:"bytes,28,opt,name=registration_fee,json=registrationFee,proto3" json:"registration_fee,omitempty"` // registration fee for reputer or worker + DefaultPageLimit uint64 `protobuf:"varint,29,opt,name=default_page_limit,json=defaultPageLimit,proto3" json:"default_page_limit,omitempty"` // default limit for pagination + MaxPageLimit uint64 `protobuf:"varint,30,opt,name=max_page_limit,json=maxPageLimit,proto3" json:"max_page_limit,omitempty"` // max limit for pagination + // min number of epochs to keep network losses, reputer losses, inferences, + // forecasts + MinEpochLengthRecordLimit int64 `protobuf:"varint,31,opt,name=min_epoch_length_record_limit,json=minEpochLengthRecordLimit,proto3" json:"min_epoch_length_record_limit,omitempty"` + // block emission rate in number of blocks expected per month + BlocksPerMonth uint64 `protobuf:"varint,32,opt,name=blocks_per_month,json=blocksPerMonth,proto3" json:"blocks_per_month,omitempty"` + PRewardInference string `protobuf:"bytes,33,opt,name=p_reward_inference,json=pRewardInference,proto3" json:"p_reward_inference,omitempty"` + PRewardForecast string `protobuf:"bytes,34,opt,name=p_reward_forecast,json=pRewardForecast,proto3" json:"p_reward_forecast,omitempty"` + PRewardReputer string `protobuf:"bytes,35,opt,name=p_reward_reputer,json=pRewardReputer,proto3" json:"p_reward_reputer,omitempty"` + CRewardInference string `protobuf:"bytes,36,opt,name=c_reward_inference,json=cRewardInference,proto3" json:"c_reward_inference,omitempty"` + CRewardForecast string `protobuf:"bytes,37,opt,name=c_reward_forecast,json=cRewardForecast,proto3" json:"c_reward_forecast,omitempty"` + CNorm string `protobuf:"bytes,38,opt,name=c_norm,json=cNorm,proto3" json:"c_norm,omitempty"` + EpsilonReputer string `protobuf:"bytes,40,opt,name=epsilon_reputer,json=epsilonReputer,proto3" json:"epsilon_reputer,omitempty"` // a small tolerance quantity used to cap reputer scores at infinitesimally + // close proximities + HalfMaxProcessStakeRemovalsEndBlock uint64 `protobuf:"varint,42,opt,name=half_max_process_stake_removals_end_block,json=halfMaxProcessStakeRemovalsEndBlock,proto3" json:"half_max_process_stake_removals_end_block,omitempty"` // max amount of stake removals to process in an ABCI end block. + // Applied twice once for stakeRemovals and once for + // DelegateStakeRemovals, so actual max is this number times two + EpsilonSafeDiv string `protobuf:"bytes,43,opt,name=epsilon_safe_div,json=epsilonSafeDiv,proto3" json:"epsilon_safe_div,omitempty"` + // / a small tolerance quantity used to cap division by zero + DataSendingFee string `protobuf:"bytes,44,opt,name=data_sending_fee,json=dataSendingFee,proto3" json:"data_sending_fee,omitempty"` + // payload sending fee for reputer or worker + MaxElementsPerForecast uint64 `protobuf:"varint,45,opt,name=max_elements_per_forecast,json=maxElementsPerForecast,proto3" json:"max_elements_per_forecast,omitempty"` // max number of top forecasters by score to reward + MaxActiveTopicsPerBlock uint64 `protobuf:"varint,46,opt,name=max_active_topics_per_block,json=maxActiveTopicsPerBlock,proto3" json:"max_active_topics_per_block,omitempty"` // max number of active topics per block + MaxStringLength uint64 `protobuf:"varint,47,opt,name=max_string_length,json=maxStringLength,proto3" json:"max_string_length,omitempty"` // max permittible length of strings uploaded to the chain + InitialRegretQuantile string `protobuf:"bytes,48,opt,name=initial_regret_quantile,json=initialRegretQuantile,proto3" json:"initial_regret_quantile,omitempty"` + PNormSafeDiv string `protobuf:"bytes,49,opt,name=p_norm_safe_div,json=pNormSafeDiv,proto3" json:"p_norm_safe_div,omitempty"` + GlobalWhitelistEnabled bool `protobuf:"varint,50,opt,name=global_whitelist_enabled,json=globalWhitelistEnabled,proto3" json:"global_whitelist_enabled,omitempty"` // global whitelist enabled => all global whitelisted actors can create topics + // and participate in all topics as workers and reputers + TopicCreatorWhitelistEnabled bool `protobuf:"varint,51,opt,name=topic_creator_whitelist_enabled,json=topicCreatorWhitelistEnabled,proto3" json:"topic_creator_whitelist_enabled,omitempty"` // topic creator whitelist enabled => only topic creator whitelisted actors can create topics + MinExperiencedWorkerRegrets uint64 `protobuf:"varint,52,opt,name=min_experienced_worker_regrets,json=minExperiencedWorkerRegrets,proto3" json:"min_experienced_worker_regrets,omitempty"` // minimum number of experienced workers required to use their regrets + // for calculating the topic initial regret + InferenceOutlierDetectionThreshold string `protobuf:"bytes,53,opt,name=inference_outlier_detection_threshold,json=inferenceOutlierDetectionThreshold,proto3" json:"inference_outlier_detection_threshold,omitempty"` + InferenceOutlierDetectionAlpha string `protobuf:"bytes,54,opt,name=inference_outlier_detection_alpha,json=inferenceOutlierDetectionAlpha,proto3" json:"inference_outlier_detection_alpha,omitempty"` + LambdaInitialScore string `protobuf:"bytes,55,opt,name=lambda_initial_score,json=lambdaInitialScore,proto3" json:"lambda_initial_score,omitempty"` + GlobalWorkerWhitelistEnabled bool `protobuf:"varint,56,opt,name=global_worker_whitelist_enabled,json=globalWorkerWhitelistEnabled,proto3" json:"global_worker_whitelist_enabled,omitempty"` + GlobalReputerWhitelistEnabled bool `protobuf:"varint,57,opt,name=global_reputer_whitelist_enabled,json=globalReputerWhitelistEnabled,proto3" json:"global_reputer_whitelist_enabled,omitempty"` + GlobalAdminWhitelistAppended bool `protobuf:"varint,58,opt,name=global_admin_whitelist_appended,json=globalAdminWhitelistAppended,proto3" json:"global_admin_whitelist_appended,omitempty"` + MaxWhitelistInputArrayLength uint64 `protobuf:"varint,59,opt,name=max_whitelist_input_array_length,json=maxWhitelistInputArrayLength,proto3" json:"max_whitelist_input_array_length,omitempty"` + MinWeightThresholdForStdnorm string `protobuf:"bytes,60,opt,name=min_weight_threshold_for_stdnorm,json=minWeightThresholdForStdnorm,proto3" json:"min_weight_threshold_for_stdnorm,omitempty"` +} + +func (x *Params) Reset() { + *x = Params{} + if protoimpl.UnsafeEnabled { + mi := &file_emissions_v8_params_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Params) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Params) ProtoMessage() {} + +// Deprecated: Use Params.ProtoReflect.Descriptor instead. +func (*Params) Descriptor() ([]byte, []int) { + return file_emissions_v8_params_proto_rawDescGZIP(), []int{0} +} + +func (x *Params) GetVersion() string { + if x != nil { + return x.Version + } + return "" +} + +func (x *Params) GetMaxSerializedMsgLength() int64 { + if x != nil { + return x.MaxSerializedMsgLength + } + return 0 +} + +func (x *Params) GetMinTopicWeight() string { + if x != nil { + return x.MinTopicWeight + } + return "" +} + +func (x *Params) GetRequiredMinimumStake() string { + if x != nil { + return x.RequiredMinimumStake + } + return "" +} + +func (x *Params) GetRemoveStakeDelayWindow() int64 { + if x != nil { + return x.RemoveStakeDelayWindow + } + return 0 +} + +func (x *Params) GetMinEpochLength() int64 { + if x != nil { + return x.MinEpochLength + } + return 0 +} + +func (x *Params) GetBetaEntropy() string { + if x != nil { + return x.BetaEntropy + } + return "" +} + +func (x *Params) GetLearningRate() string { + if x != nil { + return x.LearningRate + } + return "" +} + +func (x *Params) GetMaxGradientThreshold() string { + if x != nil { + return x.MaxGradientThreshold + } + return "" +} + +func (x *Params) GetMinStakeFraction() string { + if x != nil { + return x.MinStakeFraction + } + return "" +} + +func (x *Params) GetMaxUnfulfilledWorkerRequests() uint64 { + if x != nil { + return x.MaxUnfulfilledWorkerRequests + } + return 0 +} + +func (x *Params) GetMaxUnfulfilledReputerRequests() uint64 { + if x != nil { + return x.MaxUnfulfilledReputerRequests + } + return 0 +} + +func (x *Params) GetTopicRewardStakeImportance() string { + if x != nil { + return x.TopicRewardStakeImportance + } + return "" +} + +func (x *Params) GetTopicRewardFeeRevenueImportance() string { + if x != nil { + return x.TopicRewardFeeRevenueImportance + } + return "" +} + +func (x *Params) GetTopicRewardAlpha() string { + if x != nil { + return x.TopicRewardAlpha + } + return "" +} + +func (x *Params) GetTaskRewardAlpha() string { + if x != nil { + return x.TaskRewardAlpha + } + return "" +} + +func (x *Params) GetValidatorsVsAlloraPercentReward() string { + if x != nil { + return x.ValidatorsVsAlloraPercentReward + } + return "" +} + +func (x *Params) GetMaxSamplesToScaleScores() uint64 { + if x != nil { + return x.MaxSamplesToScaleScores + } + return 0 +} + +func (x *Params) GetMaxTopInferersToReward() uint64 { + if x != nil { + return x.MaxTopInferersToReward + } + return 0 +} + +func (x *Params) GetMaxTopForecastersToReward() uint64 { + if x != nil { + return x.MaxTopForecastersToReward + } + return 0 +} + +func (x *Params) GetMaxTopReputersToReward() uint64 { + if x != nil { + return x.MaxTopReputersToReward + } + return 0 +} + +func (x *Params) GetCreateTopicFee() string { + if x != nil { + return x.CreateTopicFee + } + return "" +} + +func (x *Params) GetGradientDescentMaxIters() uint64 { + if x != nil { + return x.GradientDescentMaxIters + } + return 0 +} + +func (x *Params) GetRegistrationFee() string { + if x != nil { + return x.RegistrationFee + } + return "" +} + +func (x *Params) GetDefaultPageLimit() uint64 { + if x != nil { + return x.DefaultPageLimit + } + return 0 +} + +func (x *Params) GetMaxPageLimit() uint64 { + if x != nil { + return x.MaxPageLimit + } + return 0 +} + +func (x *Params) GetMinEpochLengthRecordLimit() int64 { + if x != nil { + return x.MinEpochLengthRecordLimit + } + return 0 +} + +func (x *Params) GetBlocksPerMonth() uint64 { + if x != nil { + return x.BlocksPerMonth + } + return 0 +} + +func (x *Params) GetPRewardInference() string { + if x != nil { + return x.PRewardInference + } + return "" +} + +func (x *Params) GetPRewardForecast() string { + if x != nil { + return x.PRewardForecast + } + return "" +} + +func (x *Params) GetPRewardReputer() string { + if x != nil { + return x.PRewardReputer + } + return "" +} + +func (x *Params) GetCRewardInference() string { + if x != nil { + return x.CRewardInference + } + return "" +} + +func (x *Params) GetCRewardForecast() string { + if x != nil { + return x.CRewardForecast + } + return "" +} + +func (x *Params) GetCNorm() string { + if x != nil { + return x.CNorm + } + return "" +} + +func (x *Params) GetEpsilonReputer() string { + if x != nil { + return x.EpsilonReputer + } + return "" +} + +func (x *Params) GetHalfMaxProcessStakeRemovalsEndBlock() uint64 { + if x != nil { + return x.HalfMaxProcessStakeRemovalsEndBlock + } + return 0 +} + +func (x *Params) GetEpsilonSafeDiv() string { + if x != nil { + return x.EpsilonSafeDiv + } + return "" +} + +func (x *Params) GetDataSendingFee() string { + if x != nil { + return x.DataSendingFee + } + return "" +} + +func (x *Params) GetMaxElementsPerForecast() uint64 { + if x != nil { + return x.MaxElementsPerForecast + } + return 0 +} + +func (x *Params) GetMaxActiveTopicsPerBlock() uint64 { + if x != nil { + return x.MaxActiveTopicsPerBlock + } + return 0 +} + +func (x *Params) GetMaxStringLength() uint64 { + if x != nil { + return x.MaxStringLength + } + return 0 +} + +func (x *Params) GetInitialRegretQuantile() string { + if x != nil { + return x.InitialRegretQuantile + } + return "" +} + +func (x *Params) GetPNormSafeDiv() string { + if x != nil { + return x.PNormSafeDiv + } + return "" +} + +func (x *Params) GetGlobalWhitelistEnabled() bool { + if x != nil { + return x.GlobalWhitelistEnabled + } + return false +} + +func (x *Params) GetTopicCreatorWhitelistEnabled() bool { + if x != nil { + return x.TopicCreatorWhitelistEnabled + } + return false +} + +func (x *Params) GetMinExperiencedWorkerRegrets() uint64 { + if x != nil { + return x.MinExperiencedWorkerRegrets + } + return 0 +} + +func (x *Params) GetInferenceOutlierDetectionThreshold() string { + if x != nil { + return x.InferenceOutlierDetectionThreshold + } + return "" +} + +func (x *Params) GetInferenceOutlierDetectionAlpha() string { + if x != nil { + return x.InferenceOutlierDetectionAlpha + } + return "" +} + +func (x *Params) GetLambdaInitialScore() string { + if x != nil { + return x.LambdaInitialScore + } + return "" +} + +func (x *Params) GetGlobalWorkerWhitelistEnabled() bool { + if x != nil { + return x.GlobalWorkerWhitelistEnabled + } + return false +} + +func (x *Params) GetGlobalReputerWhitelistEnabled() bool { + if x != nil { + return x.GlobalReputerWhitelistEnabled + } + return false +} + +func (x *Params) GetGlobalAdminWhitelistAppended() bool { + if x != nil { + return x.GlobalAdminWhitelistAppended + } + return false +} + +func (x *Params) GetMaxWhitelistInputArrayLength() uint64 { + if x != nil { + return x.MaxWhitelistInputArrayLength + } + return 0 +} + +func (x *Params) GetMinWeightThresholdForStdnorm() string { + if x != nil { + return x.MinWeightThresholdForStdnorm + } + return "" +} + +var File_emissions_v8_params_proto protoreflect.FileDescriptor + +var file_emissions_v8_params_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x65, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x76, 0x38, 0x2f, 0x70, + 0x61, 0x72, 0x61, 0x6d, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x0c, 0x65, 0x6d, 0x69, + 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x38, 0x1a, 0x11, 0x61, 0x6d, 0x69, 0x6e, 0x6f, + 0x2f, 0x61, 0x6d, 0x69, 0x6e, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x19, 0x63, 0x6f, + 0x73, 0x6d, 0x6f, 0x73, 0x5f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x63, 0x6f, 0x73, 0x6d, 0x6f, + 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x14, 0x67, 0x6f, 0x67, 0x6f, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x2f, 0x67, 0x6f, 0x67, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xb4, 0x25, + 0x0a, 0x06, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x12, 0x18, 0x0a, 0x07, 0x76, 0x65, 0x72, 0x73, + 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, + 0x6f, 0x6e, 0x12, 0x39, 0x0a, 0x19, 0x6d, 0x61, 0x78, 0x5f, 0x73, 0x65, 0x72, 0x69, 0x61, 0x6c, + 0x69, 0x7a, 0x65, 0x64, 0x5f, 0x6d, 0x73, 0x67, 0x5f, 0x6c, 0x65, 0x6e, 0x67, 0x74, 0x68, 0x18, + 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x16, 0x6d, 0x61, 0x78, 0x53, 0x65, 0x72, 0x69, 0x61, 0x6c, + 0x69, 0x7a, 0x65, 0x64, 0x4d, 0x73, 0x67, 0x4c, 0x65, 0x6e, 0x67, 0x74, 0x68, 0x12, 0x61, 0x0a, + 0x10, 0x6d, 0x69, 0x6e, 0x5f, 0x74, 0x6f, 0x70, 0x69, 0x63, 0x5f, 0x77, 0x65, 0x69, 0x67, 0x68, + 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x42, 0x37, 0xc8, 0xde, 0x1f, 0x00, 0xda, 0xde, 0x1f, + 0x2f, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x61, 0x6c, 0x6c, 0x6f, + 0x72, 0x61, 0x2d, 0x6e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x2f, 0x61, 0x6c, 0x6c, 0x6f, 0x72, + 0x61, 0x2d, 0x63, 0x68, 0x61, 0x69, 0x6e, 0x2f, 0x6d, 0x61, 0x74, 0x68, 0x2e, 0x44, 0x65, 0x63, + 0x52, 0x0e, 0x6d, 0x69, 0x6e, 0x54, 0x6f, 0x70, 0x69, 0x63, 0x57, 0x65, 0x69, 0x67, 0x68, 0x74, + 0x12, 0x66, 0x0a, 0x16, 0x72, 0x65, 0x71, 0x75, 0x69, 0x72, 0x65, 0x64, 0x5f, 0x6d, 0x69, 0x6e, + 0x69, 0x6d, 0x75, 0x6d, 0x5f, 0x73, 0x74, 0x61, 0x6b, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, + 0x42, 0x30, 0xc8, 0xde, 0x1f, 0x00, 0xda, 0xde, 0x1f, 0x15, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, + 0x73, 0x64, 0x6b, 0x2e, 0x69, 0x6f, 0x2f, 0x6d, 0x61, 0x74, 0x68, 0x2e, 0x49, 0x6e, 0x74, 0xd2, + 0xb4, 0x2d, 0x0a, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2e, 0x49, 0x6e, 0x74, 0xa8, 0xe7, 0xb0, + 0x2a, 0x01, 0x52, 0x14, 0x72, 0x65, 0x71, 0x75, 0x69, 0x72, 0x65, 0x64, 0x4d, 0x69, 0x6e, 0x69, + 0x6d, 0x75, 0x6d, 0x53, 0x74, 0x61, 0x6b, 0x65, 0x12, 0x39, 0x0a, 0x19, 0x72, 0x65, 0x6d, 0x6f, + 0x76, 0x65, 0x5f, 0x73, 0x74, 0x61, 0x6b, 0x65, 0x5f, 0x64, 0x65, 0x6c, 0x61, 0x79, 0x5f, 0x77, + 0x69, 0x6e, 0x64, 0x6f, 0x77, 0x18, 0x06, 0x20, 0x01, 0x28, 0x03, 0x52, 0x16, 0x72, 0x65, 0x6d, + 0x6f, 0x76, 0x65, 0x53, 0x74, 0x61, 0x6b, 0x65, 0x44, 0x65, 0x6c, 0x61, 0x79, 0x57, 0x69, 0x6e, + 0x64, 0x6f, 0x77, 0x12, 0x28, 0x0a, 0x10, 0x6d, 0x69, 0x6e, 0x5f, 0x65, 0x70, 0x6f, 0x63, 0x68, + 0x5f, 0x6c, 0x65, 0x6e, 0x67, 0x74, 0x68, 0x18, 0x07, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0e, 0x6d, + 0x69, 0x6e, 0x45, 0x70, 0x6f, 0x63, 0x68, 0x4c, 0x65, 0x6e, 0x67, 0x74, 0x68, 0x12, 0x5a, 0x0a, + 0x0c, 0x62, 0x65, 0x74, 0x61, 0x5f, 0x65, 0x6e, 0x74, 0x72, 0x6f, 0x70, 0x79, 0x18, 0x08, 0x20, + 0x01, 0x28, 0x09, 0x42, 0x37, 0xc8, 0xde, 0x1f, 0x00, 0xda, 0xde, 0x1f, 0x2f, 0x67, 0x69, 0x74, + 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x61, 0x6c, 0x6c, 0x6f, 0x72, 0x61, 0x2d, 0x6e, + 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x2f, 0x61, 0x6c, 0x6c, 0x6f, 0x72, 0x61, 0x2d, 0x63, 0x68, + 0x61, 0x69, 0x6e, 0x2f, 0x6d, 0x61, 0x74, 0x68, 0x2e, 0x44, 0x65, 0x63, 0x52, 0x0b, 0x62, 0x65, + 0x74, 0x61, 0x45, 0x6e, 0x74, 0x72, 0x6f, 0x70, 0x79, 0x12, 0x5c, 0x0a, 0x0d, 0x6c, 0x65, 0x61, + 0x72, 0x6e, 0x69, 0x6e, 0x67, 0x5f, 0x72, 0x61, 0x74, 0x65, 0x18, 0x09, 0x20, 0x01, 0x28, 0x09, + 0x42, 0x37, 0xc8, 0xde, 0x1f, 0x00, 0xda, 0xde, 0x1f, 0x2f, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, + 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x61, 0x6c, 0x6c, 0x6f, 0x72, 0x61, 0x2d, 0x6e, 0x65, 0x74, 0x77, + 0x6f, 0x72, 0x6b, 0x2f, 0x61, 0x6c, 0x6c, 0x6f, 0x72, 0x61, 0x2d, 0x63, 0x68, 0x61, 0x69, 0x6e, + 0x2f, 0x6d, 0x61, 0x74, 0x68, 0x2e, 0x44, 0x65, 0x63, 0x52, 0x0c, 0x6c, 0x65, 0x61, 0x72, 0x6e, + 0x69, 0x6e, 0x67, 0x52, 0x61, 0x74, 0x65, 0x12, 0x6d, 0x0a, 0x16, 0x6d, 0x61, 0x78, 0x5f, 0x67, + 0x72, 0x61, 0x64, 0x69, 0x65, 0x6e, 0x74, 0x5f, 0x74, 0x68, 0x72, 0x65, 0x73, 0x68, 0x6f, 0x6c, + 0x64, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x09, 0x42, 0x37, 0xc8, 0xde, 0x1f, 0x00, 0xda, 0xde, 0x1f, + 0x2f, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x61, 0x6c, 0x6c, 0x6f, + 0x72, 0x61, 0x2d, 0x6e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x2f, 0x61, 0x6c, 0x6c, 0x6f, 0x72, + 0x61, 0x2d, 0x63, 0x68, 0x61, 0x69, 0x6e, 0x2f, 0x6d, 0x61, 0x74, 0x68, 0x2e, 0x44, 0x65, 0x63, + 0x52, 0x14, 0x6d, 0x61, 0x78, 0x47, 0x72, 0x61, 0x64, 0x69, 0x65, 0x6e, 0x74, 0x54, 0x68, 0x72, + 0x65, 0x73, 0x68, 0x6f, 0x6c, 0x64, 0x12, 0x65, 0x0a, 0x12, 0x6d, 0x69, 0x6e, 0x5f, 0x73, 0x74, + 0x61, 0x6b, 0x65, 0x5f, 0x66, 0x72, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x0b, 0x20, 0x01, + 0x28, 0x09, 0x42, 0x37, 0xc8, 0xde, 0x1f, 0x00, 0xda, 0xde, 0x1f, 0x2f, 0x67, 0x69, 0x74, 0x68, + 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x61, 0x6c, 0x6c, 0x6f, 0x72, 0x61, 0x2d, 0x6e, 0x65, + 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x2f, 0x61, 0x6c, 0x6c, 0x6f, 0x72, 0x61, 0x2d, 0x63, 0x68, 0x61, + 0x69, 0x6e, 0x2f, 0x6d, 0x61, 0x74, 0x68, 0x2e, 0x44, 0x65, 0x63, 0x52, 0x10, 0x6d, 0x69, 0x6e, + 0x53, 0x74, 0x61, 0x6b, 0x65, 0x46, 0x72, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x45, 0x0a, + 0x1f, 0x6d, 0x61, 0x78, 0x5f, 0x75, 0x6e, 0x66, 0x75, 0x6c, 0x66, 0x69, 0x6c, 0x6c, 0x65, 0x64, + 0x5f, 0x77, 0x6f, 0x72, 0x6b, 0x65, 0x72, 0x5f, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x73, + 0x18, 0x0d, 0x20, 0x01, 0x28, 0x04, 0x52, 0x1c, 0x6d, 0x61, 0x78, 0x55, 0x6e, 0x66, 0x75, 0x6c, + 0x66, 0x69, 0x6c, 0x6c, 0x65, 0x64, 0x57, 0x6f, 0x72, 0x6b, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, + 0x65, 0x73, 0x74, 0x73, 0x12, 0x47, 0x0a, 0x20, 0x6d, 0x61, 0x78, 0x5f, 0x75, 0x6e, 0x66, 0x75, + 0x6c, 0x66, 0x69, 0x6c, 0x6c, 0x65, 0x64, 0x5f, 0x72, 0x65, 0x70, 0x75, 0x74, 0x65, 0x72, 0x5f, + 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x73, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x04, 0x52, 0x1d, + 0x6d, 0x61, 0x78, 0x55, 0x6e, 0x66, 0x75, 0x6c, 0x66, 0x69, 0x6c, 0x6c, 0x65, 0x64, 0x52, 0x65, + 0x70, 0x75, 0x74, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x73, 0x12, 0x7a, 0x0a, + 0x1d, 0x74, 0x6f, 0x70, 0x69, 0x63, 0x5f, 0x72, 0x65, 0x77, 0x61, 0x72, 0x64, 0x5f, 0x73, 0x74, + 0x61, 0x6b, 0x65, 0x5f, 0x69, 0x6d, 0x70, 0x6f, 0x72, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x18, 0x0f, + 0x20, 0x01, 0x28, 0x09, 0x42, 0x37, 0xc8, 0xde, 0x1f, 0x00, 0xda, 0xde, 0x1f, 0x2f, 0x67, 0x69, + 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x61, 0x6c, 0x6c, 0x6f, 0x72, 0x61, 0x2d, + 0x6e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x2f, 0x61, 0x6c, 0x6c, 0x6f, 0x72, 0x61, 0x2d, 0x63, + 0x68, 0x61, 0x69, 0x6e, 0x2f, 0x6d, 0x61, 0x74, 0x68, 0x2e, 0x44, 0x65, 0x63, 0x52, 0x1a, 0x74, + 0x6f, 0x70, 0x69, 0x63, 0x52, 0x65, 0x77, 0x61, 0x72, 0x64, 0x53, 0x74, 0x61, 0x6b, 0x65, 0x49, + 0x6d, 0x70, 0x6f, 0x72, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x12, 0x85, 0x01, 0x0a, 0x23, 0x74, 0x6f, + 0x70, 0x69, 0x63, 0x5f, 0x72, 0x65, 0x77, 0x61, 0x72, 0x64, 0x5f, 0x66, 0x65, 0x65, 0x5f, 0x72, + 0x65, 0x76, 0x65, 0x6e, 0x75, 0x65, 0x5f, 0x69, 0x6d, 0x70, 0x6f, 0x72, 0x74, 0x61, 0x6e, 0x63, + 0x65, 0x18, 0x10, 0x20, 0x01, 0x28, 0x09, 0x42, 0x37, 0xc8, 0xde, 0x1f, 0x00, 0xda, 0xde, 0x1f, + 0x2f, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x61, 0x6c, 0x6c, 0x6f, + 0x72, 0x61, 0x2d, 0x6e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x2f, 0x61, 0x6c, 0x6c, 0x6f, 0x72, + 0x61, 0x2d, 0x63, 0x68, 0x61, 0x69, 0x6e, 0x2f, 0x6d, 0x61, 0x74, 0x68, 0x2e, 0x44, 0x65, 0x63, + 0x52, 0x1f, 0x74, 0x6f, 0x70, 0x69, 0x63, 0x52, 0x65, 0x77, 0x61, 0x72, 0x64, 0x46, 0x65, 0x65, + 0x52, 0x65, 0x76, 0x65, 0x6e, 0x75, 0x65, 0x49, 0x6d, 0x70, 0x6f, 0x72, 0x74, 0x61, 0x6e, 0x63, + 0x65, 0x12, 0x65, 0x0a, 0x12, 0x74, 0x6f, 0x70, 0x69, 0x63, 0x5f, 0x72, 0x65, 0x77, 0x61, 0x72, + 0x64, 0x5f, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x18, 0x11, 0x20, 0x01, 0x28, 0x09, 0x42, 0x37, 0xc8, + 0xde, 0x1f, 0x00, 0xda, 0xde, 0x1f, 0x2f, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, + 0x6d, 0x2f, 0x61, 0x6c, 0x6c, 0x6f, 0x72, 0x61, 0x2d, 0x6e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, + 0x2f, 0x61, 0x6c, 0x6c, 0x6f, 0x72, 0x61, 0x2d, 0x63, 0x68, 0x61, 0x69, 0x6e, 0x2f, 0x6d, 0x61, + 0x74, 0x68, 0x2e, 0x44, 0x65, 0x63, 0x52, 0x10, 0x74, 0x6f, 0x70, 0x69, 0x63, 0x52, 0x65, 0x77, + 0x61, 0x72, 0x64, 0x41, 0x6c, 0x70, 0x68, 0x61, 0x12, 0x63, 0x0a, 0x11, 0x74, 0x61, 0x73, 0x6b, + 0x5f, 0x72, 0x65, 0x77, 0x61, 0x72, 0x64, 0x5f, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x18, 0x12, 0x20, + 0x01, 0x28, 0x09, 0x42, 0x37, 0xc8, 0xde, 0x1f, 0x00, 0xda, 0xde, 0x1f, 0x2f, 0x67, 0x69, 0x74, + 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x61, 0x6c, 0x6c, 0x6f, 0x72, 0x61, 0x2d, 0x6e, + 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x2f, 0x61, 0x6c, 0x6c, 0x6f, 0x72, 0x61, 0x2d, 0x63, 0x68, + 0x61, 0x69, 0x6e, 0x2f, 0x6d, 0x61, 0x74, 0x68, 0x2e, 0x44, 0x65, 0x63, 0x52, 0x0f, 0x74, 0x61, + 0x73, 0x6b, 0x52, 0x65, 0x77, 0x61, 0x72, 0x64, 0x41, 0x6c, 0x70, 0x68, 0x61, 0x12, 0x85, 0x01, + 0x0a, 0x23, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x6f, 0x72, 0x73, 0x5f, 0x76, 0x73, 0x5f, + 0x61, 0x6c, 0x6c, 0x6f, 0x72, 0x61, 0x5f, 0x70, 0x65, 0x72, 0x63, 0x65, 0x6e, 0x74, 0x5f, 0x72, + 0x65, 0x77, 0x61, 0x72, 0x64, 0x18, 0x13, 0x20, 0x01, 0x28, 0x09, 0x42, 0x37, 0xc8, 0xde, 0x1f, + 0x00, 0xda, 0xde, 0x1f, 0x2f, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, + 0x61, 0x6c, 0x6c, 0x6f, 0x72, 0x61, 0x2d, 0x6e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x2f, 0x61, + 0x6c, 0x6c, 0x6f, 0x72, 0x61, 0x2d, 0x63, 0x68, 0x61, 0x69, 0x6e, 0x2f, 0x6d, 0x61, 0x74, 0x68, + 0x2e, 0x44, 0x65, 0x63, 0x52, 0x1f, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x6f, 0x72, 0x73, + 0x56, 0x73, 0x41, 0x6c, 0x6c, 0x6f, 0x72, 0x61, 0x50, 0x65, 0x72, 0x63, 0x65, 0x6e, 0x74, 0x52, + 0x65, 0x77, 0x61, 0x72, 0x64, 0x12, 0x3c, 0x0a, 0x1b, 0x6d, 0x61, 0x78, 0x5f, 0x73, 0x61, 0x6d, + 0x70, 0x6c, 0x65, 0x73, 0x5f, 0x74, 0x6f, 0x5f, 0x73, 0x63, 0x61, 0x6c, 0x65, 0x5f, 0x73, 0x63, + 0x6f, 0x72, 0x65, 0x73, 0x18, 0x14, 0x20, 0x01, 0x28, 0x04, 0x52, 0x17, 0x6d, 0x61, 0x78, 0x53, + 0x61, 0x6d, 0x70, 0x6c, 0x65, 0x73, 0x54, 0x6f, 0x53, 0x63, 0x61, 0x6c, 0x65, 0x53, 0x63, 0x6f, + 0x72, 0x65, 0x73, 0x12, 0x3a, 0x0a, 0x1a, 0x6d, 0x61, 0x78, 0x5f, 0x74, 0x6f, 0x70, 0x5f, 0x69, + 0x6e, 0x66, 0x65, 0x72, 0x65, 0x72, 0x73, 0x5f, 0x74, 0x6f, 0x5f, 0x72, 0x65, 0x77, 0x61, 0x72, + 0x64, 0x18, 0x15, 0x20, 0x01, 0x28, 0x04, 0x52, 0x16, 0x6d, 0x61, 0x78, 0x54, 0x6f, 0x70, 0x49, + 0x6e, 0x66, 0x65, 0x72, 0x65, 0x72, 0x73, 0x54, 0x6f, 0x52, 0x65, 0x77, 0x61, 0x72, 0x64, 0x12, + 0x40, 0x0a, 0x1d, 0x6d, 0x61, 0x78, 0x5f, 0x74, 0x6f, 0x70, 0x5f, 0x66, 0x6f, 0x72, 0x65, 0x63, + 0x61, 0x73, 0x74, 0x65, 0x72, 0x73, 0x5f, 0x74, 0x6f, 0x5f, 0x72, 0x65, 0x77, 0x61, 0x72, 0x64, + 0x18, 0x16, 0x20, 0x01, 0x28, 0x04, 0x52, 0x19, 0x6d, 0x61, 0x78, 0x54, 0x6f, 0x70, 0x46, 0x6f, + 0x72, 0x65, 0x63, 0x61, 0x73, 0x74, 0x65, 0x72, 0x73, 0x54, 0x6f, 0x52, 0x65, 0x77, 0x61, 0x72, + 0x64, 0x12, 0x3a, 0x0a, 0x1a, 0x6d, 0x61, 0x78, 0x5f, 0x74, 0x6f, 0x70, 0x5f, 0x72, 0x65, 0x70, + 0x75, 0x74, 0x65, 0x72, 0x73, 0x5f, 0x74, 0x6f, 0x5f, 0x72, 0x65, 0x77, 0x61, 0x72, 0x64, 0x18, + 0x17, 0x20, 0x01, 0x28, 0x04, 0x52, 0x16, 0x6d, 0x61, 0x78, 0x54, 0x6f, 0x70, 0x52, 0x65, 0x70, + 0x75, 0x74, 0x65, 0x72, 0x73, 0x54, 0x6f, 0x52, 0x65, 0x77, 0x61, 0x72, 0x64, 0x12, 0x5a, 0x0a, + 0x10, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x5f, 0x74, 0x6f, 0x70, 0x69, 0x63, 0x5f, 0x66, 0x65, + 0x65, 0x18, 0x18, 0x20, 0x01, 0x28, 0x09, 0x42, 0x30, 0xc8, 0xde, 0x1f, 0x00, 0xda, 0xde, 0x1f, + 0x15, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x73, 0x64, 0x6b, 0x2e, 0x69, 0x6f, 0x2f, 0x6d, 0x61, + 0x74, 0x68, 0x2e, 0x49, 0x6e, 0x74, 0xd2, 0xb4, 0x2d, 0x0a, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, + 0x2e, 0x49, 0x6e, 0x74, 0xa8, 0xe7, 0xb0, 0x2a, 0x01, 0x52, 0x0e, 0x63, 0x72, 0x65, 0x61, 0x74, + 0x65, 0x54, 0x6f, 0x70, 0x69, 0x63, 0x46, 0x65, 0x65, 0x12, 0x3b, 0x0a, 0x1a, 0x67, 0x72, 0x61, + 0x64, 0x69, 0x65, 0x6e, 0x74, 0x5f, 0x64, 0x65, 0x73, 0x63, 0x65, 0x6e, 0x74, 0x5f, 0x6d, 0x61, + 0x78, 0x5f, 0x69, 0x74, 0x65, 0x72, 0x73, 0x18, 0x19, 0x20, 0x01, 0x28, 0x04, 0x52, 0x17, 0x67, + 0x72, 0x61, 0x64, 0x69, 0x65, 0x6e, 0x74, 0x44, 0x65, 0x73, 0x63, 0x65, 0x6e, 0x74, 0x4d, 0x61, + 0x78, 0x49, 0x74, 0x65, 0x72, 0x73, 0x12, 0x5b, 0x0a, 0x10, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, + 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x66, 0x65, 0x65, 0x18, 0x1c, 0x20, 0x01, 0x28, 0x09, + 0x42, 0x30, 0xc8, 0xde, 0x1f, 0x00, 0xda, 0xde, 0x1f, 0x15, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, + 0x73, 0x64, 0x6b, 0x2e, 0x69, 0x6f, 0x2f, 0x6d, 0x61, 0x74, 0x68, 0x2e, 0x49, 0x6e, 0x74, 0xd2, + 0xb4, 0x2d, 0x0a, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2e, 0x49, 0x6e, 0x74, 0xa8, 0xe7, 0xb0, + 0x2a, 0x01, 0x52, 0x0f, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, + 0x46, 0x65, 0x65, 0x12, 0x2c, 0x0a, 0x12, 0x64, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x5f, 0x70, + 0x61, 0x67, 0x65, 0x5f, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x18, 0x1d, 0x20, 0x01, 0x28, 0x04, 0x52, + 0x10, 0x64, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x50, 0x61, 0x67, 0x65, 0x4c, 0x69, 0x6d, 0x69, + 0x74, 0x12, 0x24, 0x0a, 0x0e, 0x6d, 0x61, 0x78, 0x5f, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x6c, 0x69, + 0x6d, 0x69, 0x74, 0x18, 0x1e, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0c, 0x6d, 0x61, 0x78, 0x50, 0x61, + 0x67, 0x65, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x12, 0x40, 0x0a, 0x1d, 0x6d, 0x69, 0x6e, 0x5f, 0x65, + 0x70, 0x6f, 0x63, 0x68, 0x5f, 0x6c, 0x65, 0x6e, 0x67, 0x74, 0x68, 0x5f, 0x72, 0x65, 0x63, 0x6f, + 0x72, 0x64, 0x5f, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x18, 0x1f, 0x20, 0x01, 0x28, 0x03, 0x52, 0x19, + 0x6d, 0x69, 0x6e, 0x45, 0x70, 0x6f, 0x63, 0x68, 0x4c, 0x65, 0x6e, 0x67, 0x74, 0x68, 0x52, 0x65, + 0x63, 0x6f, 0x72, 0x64, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x12, 0x28, 0x0a, 0x10, 0x62, 0x6c, 0x6f, + 0x63, 0x6b, 0x73, 0x5f, 0x70, 0x65, 0x72, 0x5f, 0x6d, 0x6f, 0x6e, 0x74, 0x68, 0x18, 0x20, 0x20, + 0x01, 0x28, 0x04, 0x52, 0x0e, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x73, 0x50, 0x65, 0x72, 0x4d, 0x6f, + 0x6e, 0x74, 0x68, 0x12, 0x65, 0x0a, 0x12, 0x70, 0x5f, 0x72, 0x65, 0x77, 0x61, 0x72, 0x64, 0x5f, + 0x69, 0x6e, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x18, 0x21, 0x20, 0x01, 0x28, 0x09, 0x42, + 0x37, 0xc8, 0xde, 0x1f, 0x00, 0xda, 0xde, 0x1f, 0x2f, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, + 0x63, 0x6f, 0x6d, 0x2f, 0x61, 0x6c, 0x6c, 0x6f, 0x72, 0x61, 0x2d, 0x6e, 0x65, 0x74, 0x77, 0x6f, + 0x72, 0x6b, 0x2f, 0x61, 0x6c, 0x6c, 0x6f, 0x72, 0x61, 0x2d, 0x63, 0x68, 0x61, 0x69, 0x6e, 0x2f, + 0x6d, 0x61, 0x74, 0x68, 0x2e, 0x44, 0x65, 0x63, 0x52, 0x10, 0x70, 0x52, 0x65, 0x77, 0x61, 0x72, + 0x64, 0x49, 0x6e, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x12, 0x63, 0x0a, 0x11, 0x70, 0x5f, + 0x72, 0x65, 0x77, 0x61, 0x72, 0x64, 0x5f, 0x66, 0x6f, 0x72, 0x65, 0x63, 0x61, 0x73, 0x74, 0x18, + 0x22, 0x20, 0x01, 0x28, 0x09, 0x42, 0x37, 0xc8, 0xde, 0x1f, 0x00, 0xda, 0xde, 0x1f, 0x2f, 0x67, + 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x61, 0x6c, 0x6c, 0x6f, 0x72, 0x61, + 0x2d, 0x6e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x2f, 0x61, 0x6c, 0x6c, 0x6f, 0x72, 0x61, 0x2d, + 0x63, 0x68, 0x61, 0x69, 0x6e, 0x2f, 0x6d, 0x61, 0x74, 0x68, 0x2e, 0x44, 0x65, 0x63, 0x52, 0x0f, + 0x70, 0x52, 0x65, 0x77, 0x61, 0x72, 0x64, 0x46, 0x6f, 0x72, 0x65, 0x63, 0x61, 0x73, 0x74, 0x12, + 0x61, 0x0a, 0x10, 0x70, 0x5f, 0x72, 0x65, 0x77, 0x61, 0x72, 0x64, 0x5f, 0x72, 0x65, 0x70, 0x75, + 0x74, 0x65, 0x72, 0x18, 0x23, 0x20, 0x01, 0x28, 0x09, 0x42, 0x37, 0xc8, 0xde, 0x1f, 0x00, 0xda, + 0xde, 0x1f, 0x2f, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x61, 0x6c, + 0x6c, 0x6f, 0x72, 0x61, 0x2d, 0x6e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x2f, 0x61, 0x6c, 0x6c, + 0x6f, 0x72, 0x61, 0x2d, 0x63, 0x68, 0x61, 0x69, 0x6e, 0x2f, 0x6d, 0x61, 0x74, 0x68, 0x2e, 0x44, + 0x65, 0x63, 0x52, 0x0e, 0x70, 0x52, 0x65, 0x77, 0x61, 0x72, 0x64, 0x52, 0x65, 0x70, 0x75, 0x74, + 0x65, 0x72, 0x12, 0x65, 0x0a, 0x12, 0x63, 0x5f, 0x72, 0x65, 0x77, 0x61, 0x72, 0x64, 0x5f, 0x69, + 0x6e, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x18, 0x24, 0x20, 0x01, 0x28, 0x09, 0x42, 0x37, + 0xc8, 0xde, 0x1f, 0x00, 0xda, 0xde, 0x1f, 0x2f, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, + 0x6f, 0x6d, 0x2f, 0x61, 0x6c, 0x6c, 0x6f, 0x72, 0x61, 0x2d, 0x6e, 0x65, 0x74, 0x77, 0x6f, 0x72, + 0x6b, 0x2f, 0x61, 0x6c, 0x6c, 0x6f, 0x72, 0x61, 0x2d, 0x63, 0x68, 0x61, 0x69, 0x6e, 0x2f, 0x6d, + 0x61, 0x74, 0x68, 0x2e, 0x44, 0x65, 0x63, 0x52, 0x10, 0x63, 0x52, 0x65, 0x77, 0x61, 0x72, 0x64, + 0x49, 0x6e, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x12, 0x63, 0x0a, 0x11, 0x63, 0x5f, 0x72, + 0x65, 0x77, 0x61, 0x72, 0x64, 0x5f, 0x66, 0x6f, 0x72, 0x65, 0x63, 0x61, 0x73, 0x74, 0x18, 0x25, + 0x20, 0x01, 0x28, 0x09, 0x42, 0x37, 0xc8, 0xde, 0x1f, 0x00, 0xda, 0xde, 0x1f, 0x2f, 0x67, 0x69, + 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x61, 0x6c, 0x6c, 0x6f, 0x72, 0x61, 0x2d, + 0x6e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x2f, 0x61, 0x6c, 0x6c, 0x6f, 0x72, 0x61, 0x2d, 0x63, + 0x68, 0x61, 0x69, 0x6e, 0x2f, 0x6d, 0x61, 0x74, 0x68, 0x2e, 0x44, 0x65, 0x63, 0x52, 0x0f, 0x63, + 0x52, 0x65, 0x77, 0x61, 0x72, 0x64, 0x46, 0x6f, 0x72, 0x65, 0x63, 0x61, 0x73, 0x74, 0x12, 0x4e, + 0x0a, 0x06, 0x63, 0x5f, 0x6e, 0x6f, 0x72, 0x6d, 0x18, 0x26, 0x20, 0x01, 0x28, 0x09, 0x42, 0x37, + 0xc8, 0xde, 0x1f, 0x00, 0xda, 0xde, 0x1f, 0x2f, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, + 0x6f, 0x6d, 0x2f, 0x61, 0x6c, 0x6c, 0x6f, 0x72, 0x61, 0x2d, 0x6e, 0x65, 0x74, 0x77, 0x6f, 0x72, + 0x6b, 0x2f, 0x61, 0x6c, 0x6c, 0x6f, 0x72, 0x61, 0x2d, 0x63, 0x68, 0x61, 0x69, 0x6e, 0x2f, 0x6d, + 0x61, 0x74, 0x68, 0x2e, 0x44, 0x65, 0x63, 0x52, 0x05, 0x63, 0x4e, 0x6f, 0x72, 0x6d, 0x12, 0x60, + 0x0a, 0x0f, 0x65, 0x70, 0x73, 0x69, 0x6c, 0x6f, 0x6e, 0x5f, 0x72, 0x65, 0x70, 0x75, 0x74, 0x65, + 0x72, 0x18, 0x28, 0x20, 0x01, 0x28, 0x09, 0x42, 0x37, 0xc8, 0xde, 0x1f, 0x00, 0xda, 0xde, 0x1f, + 0x2f, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x61, 0x6c, 0x6c, 0x6f, + 0x72, 0x61, 0x2d, 0x6e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x2f, 0x61, 0x6c, 0x6c, 0x6f, 0x72, + 0x61, 0x2d, 0x63, 0x68, 0x61, 0x69, 0x6e, 0x2f, 0x6d, 0x61, 0x74, 0x68, 0x2e, 0x44, 0x65, 0x63, + 0x52, 0x0e, 0x65, 0x70, 0x73, 0x69, 0x6c, 0x6f, 0x6e, 0x52, 0x65, 0x70, 0x75, 0x74, 0x65, 0x72, + 0x12, 0x56, 0x0a, 0x29, 0x68, 0x61, 0x6c, 0x66, 0x5f, 0x6d, 0x61, 0x78, 0x5f, 0x70, 0x72, 0x6f, + 0x63, 0x65, 0x73, 0x73, 0x5f, 0x73, 0x74, 0x61, 0x6b, 0x65, 0x5f, 0x72, 0x65, 0x6d, 0x6f, 0x76, + 0x61, 0x6c, 0x73, 0x5f, 0x65, 0x6e, 0x64, 0x5f, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x18, 0x2a, 0x20, + 0x01, 0x28, 0x04, 0x52, 0x23, 0x68, 0x61, 0x6c, 0x66, 0x4d, 0x61, 0x78, 0x50, 0x72, 0x6f, 0x63, + 0x65, 0x73, 0x73, 0x53, 0x74, 0x61, 0x6b, 0x65, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x61, 0x6c, 0x73, + 0x45, 0x6e, 0x64, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x12, 0x61, 0x0a, 0x10, 0x65, 0x70, 0x73, 0x69, + 0x6c, 0x6f, 0x6e, 0x5f, 0x73, 0x61, 0x66, 0x65, 0x5f, 0x64, 0x69, 0x76, 0x18, 0x2b, 0x20, 0x01, + 0x28, 0x09, 0x42, 0x37, 0xc8, 0xde, 0x1f, 0x00, 0xda, 0xde, 0x1f, 0x2f, 0x67, 0x69, 0x74, 0x68, + 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x61, 0x6c, 0x6c, 0x6f, 0x72, 0x61, 0x2d, 0x6e, 0x65, + 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x2f, 0x61, 0x6c, 0x6c, 0x6f, 0x72, 0x61, 0x2d, 0x63, 0x68, 0x61, + 0x69, 0x6e, 0x2f, 0x6d, 0x61, 0x74, 0x68, 0x2e, 0x44, 0x65, 0x63, 0x52, 0x0e, 0x65, 0x70, 0x73, + 0x69, 0x6c, 0x6f, 0x6e, 0x53, 0x61, 0x66, 0x65, 0x44, 0x69, 0x76, 0x12, 0x5a, 0x0a, 0x10, 0x64, + 0x61, 0x74, 0x61, 0x5f, 0x73, 0x65, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x5f, 0x66, 0x65, 0x65, 0x18, + 0x2c, 0x20, 0x01, 0x28, 0x09, 0x42, 0x30, 0xc8, 0xde, 0x1f, 0x00, 0xda, 0xde, 0x1f, 0x15, 0x63, + 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x73, 0x64, 0x6b, 0x2e, 0x69, 0x6f, 0x2f, 0x6d, 0x61, 0x74, 0x68, + 0x2e, 0x49, 0x6e, 0x74, 0xd2, 0xb4, 0x2d, 0x0a, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2e, 0x49, + 0x6e, 0x74, 0xa8, 0xe7, 0xb0, 0x2a, 0x01, 0x52, 0x0e, 0x64, 0x61, 0x74, 0x61, 0x53, 0x65, 0x6e, + 0x64, 0x69, 0x6e, 0x67, 0x46, 0x65, 0x65, 0x12, 0x39, 0x0a, 0x19, 0x6d, 0x61, 0x78, 0x5f, 0x65, + 0x6c, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x5f, 0x70, 0x65, 0x72, 0x5f, 0x66, 0x6f, 0x72, 0x65, + 0x63, 0x61, 0x73, 0x74, 0x18, 0x2d, 0x20, 0x01, 0x28, 0x04, 0x52, 0x16, 0x6d, 0x61, 0x78, 0x45, + 0x6c, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x50, 0x65, 0x72, 0x46, 0x6f, 0x72, 0x65, 0x63, 0x61, + 0x73, 0x74, 0x12, 0x3c, 0x0a, 0x1b, 0x6d, 0x61, 0x78, 0x5f, 0x61, 0x63, 0x74, 0x69, 0x76, 0x65, + 0x5f, 0x74, 0x6f, 0x70, 0x69, 0x63, 0x73, 0x5f, 0x70, 0x65, 0x72, 0x5f, 0x62, 0x6c, 0x6f, 0x63, + 0x6b, 0x18, 0x2e, 0x20, 0x01, 0x28, 0x04, 0x52, 0x17, 0x6d, 0x61, 0x78, 0x41, 0x63, 0x74, 0x69, + 0x76, 0x65, 0x54, 0x6f, 0x70, 0x69, 0x63, 0x73, 0x50, 0x65, 0x72, 0x42, 0x6c, 0x6f, 0x63, 0x6b, + 0x12, 0x2a, 0x0a, 0x11, 0x6d, 0x61, 0x78, 0x5f, 0x73, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x5f, 0x6c, + 0x65, 0x6e, 0x67, 0x74, 0x68, 0x18, 0x2f, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0f, 0x6d, 0x61, 0x78, + 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x4c, 0x65, 0x6e, 0x67, 0x74, 0x68, 0x12, 0x6f, 0x0a, 0x17, + 0x69, 0x6e, 0x69, 0x74, 0x69, 0x61, 0x6c, 0x5f, 0x72, 0x65, 0x67, 0x72, 0x65, 0x74, 0x5f, 0x71, + 0x75, 0x61, 0x6e, 0x74, 0x69, 0x6c, 0x65, 0x18, 0x30, 0x20, 0x01, 0x28, 0x09, 0x42, 0x37, 0xc8, + 0xde, 0x1f, 0x00, 0xda, 0xde, 0x1f, 0x2f, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, + 0x6d, 0x2f, 0x61, 0x6c, 0x6c, 0x6f, 0x72, 0x61, 0x2d, 0x6e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, + 0x2f, 0x61, 0x6c, 0x6c, 0x6f, 0x72, 0x61, 0x2d, 0x63, 0x68, 0x61, 0x69, 0x6e, 0x2f, 0x6d, 0x61, + 0x74, 0x68, 0x2e, 0x44, 0x65, 0x63, 0x52, 0x15, 0x69, 0x6e, 0x69, 0x74, 0x69, 0x61, 0x6c, 0x52, + 0x65, 0x67, 0x72, 0x65, 0x74, 0x51, 0x75, 0x61, 0x6e, 0x74, 0x69, 0x6c, 0x65, 0x12, 0x5e, 0x0a, + 0x0f, 0x70, 0x5f, 0x6e, 0x6f, 0x72, 0x6d, 0x5f, 0x73, 0x61, 0x66, 0x65, 0x5f, 0x64, 0x69, 0x76, + 0x18, 0x31, 0x20, 0x01, 0x28, 0x09, 0x42, 0x37, 0xc8, 0xde, 0x1f, 0x00, 0xda, 0xde, 0x1f, 0x2f, + 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x61, 0x6c, 0x6c, 0x6f, 0x72, + 0x61, 0x2d, 0x6e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x2f, 0x61, 0x6c, 0x6c, 0x6f, 0x72, 0x61, + 0x2d, 0x63, 0x68, 0x61, 0x69, 0x6e, 0x2f, 0x6d, 0x61, 0x74, 0x68, 0x2e, 0x44, 0x65, 0x63, 0x52, + 0x0c, 0x70, 0x4e, 0x6f, 0x72, 0x6d, 0x53, 0x61, 0x66, 0x65, 0x44, 0x69, 0x76, 0x12, 0x3f, 0x0a, + 0x18, 0x67, 0x6c, 0x6f, 0x62, 0x61, 0x6c, 0x5f, 0x77, 0x68, 0x69, 0x74, 0x65, 0x6c, 0x69, 0x73, + 0x74, 0x5f, 0x65, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x18, 0x32, 0x20, 0x01, 0x28, 0x08, 0x42, + 0x05, 0xa8, 0xe7, 0xb0, 0x2a, 0x01, 0x52, 0x16, 0x67, 0x6c, 0x6f, 0x62, 0x61, 0x6c, 0x57, 0x68, + 0x69, 0x74, 0x65, 0x6c, 0x69, 0x73, 0x74, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x12, 0x4c, + 0x0a, 0x1f, 0x74, 0x6f, 0x70, 0x69, 0x63, 0x5f, 0x63, 0x72, 0x65, 0x61, 0x74, 0x6f, 0x72, 0x5f, + 0x77, 0x68, 0x69, 0x74, 0x65, 0x6c, 0x69, 0x73, 0x74, 0x5f, 0x65, 0x6e, 0x61, 0x62, 0x6c, 0x65, + 0x64, 0x18, 0x33, 0x20, 0x01, 0x28, 0x08, 0x42, 0x05, 0xa8, 0xe7, 0xb0, 0x2a, 0x01, 0x52, 0x1c, + 0x74, 0x6f, 0x70, 0x69, 0x63, 0x43, 0x72, 0x65, 0x61, 0x74, 0x6f, 0x72, 0x57, 0x68, 0x69, 0x74, + 0x65, 0x6c, 0x69, 0x73, 0x74, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x12, 0x43, 0x0a, 0x1e, + 0x6d, 0x69, 0x6e, 0x5f, 0x65, 0x78, 0x70, 0x65, 0x72, 0x69, 0x65, 0x6e, 0x63, 0x65, 0x64, 0x5f, + 0x77, 0x6f, 0x72, 0x6b, 0x65, 0x72, 0x5f, 0x72, 0x65, 0x67, 0x72, 0x65, 0x74, 0x73, 0x18, 0x34, + 0x20, 0x01, 0x28, 0x04, 0x52, 0x1b, 0x6d, 0x69, 0x6e, 0x45, 0x78, 0x70, 0x65, 0x72, 0x69, 0x65, + 0x6e, 0x63, 0x65, 0x64, 0x57, 0x6f, 0x72, 0x6b, 0x65, 0x72, 0x52, 0x65, 0x67, 0x72, 0x65, 0x74, + 0x73, 0x12, 0x8a, 0x01, 0x0a, 0x25, 0x69, 0x6e, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x5f, + 0x6f, 0x75, 0x74, 0x6c, 0x69, 0x65, 0x72, 0x5f, 0x64, 0x65, 0x74, 0x65, 0x63, 0x74, 0x69, 0x6f, + 0x6e, 0x5f, 0x74, 0x68, 0x72, 0x65, 0x73, 0x68, 0x6f, 0x6c, 0x64, 0x18, 0x35, 0x20, 0x01, 0x28, + 0x09, 0x42, 0x37, 0xc8, 0xde, 0x1f, 0x00, 0xda, 0xde, 0x1f, 0x2f, 0x67, 0x69, 0x74, 0x68, 0x75, + 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x61, 0x6c, 0x6c, 0x6f, 0x72, 0x61, 0x2d, 0x6e, 0x65, 0x74, + 0x77, 0x6f, 0x72, 0x6b, 0x2f, 0x61, 0x6c, 0x6c, 0x6f, 0x72, 0x61, 0x2d, 0x63, 0x68, 0x61, 0x69, + 0x6e, 0x2f, 0x6d, 0x61, 0x74, 0x68, 0x2e, 0x44, 0x65, 0x63, 0x52, 0x22, 0x69, 0x6e, 0x66, 0x65, + 0x72, 0x65, 0x6e, 0x63, 0x65, 0x4f, 0x75, 0x74, 0x6c, 0x69, 0x65, 0x72, 0x44, 0x65, 0x74, 0x65, + 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x68, 0x72, 0x65, 0x73, 0x68, 0x6f, 0x6c, 0x64, 0x12, 0x82, + 0x01, 0x0a, 0x21, 0x69, 0x6e, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x5f, 0x6f, 0x75, 0x74, + 0x6c, 0x69, 0x65, 0x72, 0x5f, 0x64, 0x65, 0x74, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x61, + 0x6c, 0x70, 0x68, 0x61, 0x18, 0x36, 0x20, 0x01, 0x28, 0x09, 0x42, 0x37, 0xc8, 0xde, 0x1f, 0x00, + 0xda, 0xde, 0x1f, 0x2f, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x61, + 0x6c, 0x6c, 0x6f, 0x72, 0x61, 0x2d, 0x6e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x2f, 0x61, 0x6c, + 0x6c, 0x6f, 0x72, 0x61, 0x2d, 0x63, 0x68, 0x61, 0x69, 0x6e, 0x2f, 0x6d, 0x61, 0x74, 0x68, 0x2e, + 0x44, 0x65, 0x63, 0x52, 0x1e, 0x69, 0x6e, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x4f, 0x75, + 0x74, 0x6c, 0x69, 0x65, 0x72, 0x44, 0x65, 0x74, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x41, 0x6c, + 0x70, 0x68, 0x61, 0x12, 0x69, 0x0a, 0x14, 0x6c, 0x61, 0x6d, 0x62, 0x64, 0x61, 0x5f, 0x69, 0x6e, + 0x69, 0x74, 0x69, 0x61, 0x6c, 0x5f, 0x73, 0x63, 0x6f, 0x72, 0x65, 0x18, 0x37, 0x20, 0x01, 0x28, + 0x09, 0x42, 0x37, 0xc8, 0xde, 0x1f, 0x00, 0xda, 0xde, 0x1f, 0x2f, 0x67, 0x69, 0x74, 0x68, 0x75, + 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x61, 0x6c, 0x6c, 0x6f, 0x72, 0x61, 0x2d, 0x6e, 0x65, 0x74, + 0x77, 0x6f, 0x72, 0x6b, 0x2f, 0x61, 0x6c, 0x6c, 0x6f, 0x72, 0x61, 0x2d, 0x63, 0x68, 0x61, 0x69, + 0x6e, 0x2f, 0x6d, 0x61, 0x74, 0x68, 0x2e, 0x44, 0x65, 0x63, 0x52, 0x12, 0x6c, 0x61, 0x6d, 0x62, + 0x64, 0x61, 0x49, 0x6e, 0x69, 0x74, 0x69, 0x61, 0x6c, 0x53, 0x63, 0x6f, 0x72, 0x65, 0x12, 0x4c, + 0x0a, 0x1f, 0x67, 0x6c, 0x6f, 0x62, 0x61, 0x6c, 0x5f, 0x77, 0x6f, 0x72, 0x6b, 0x65, 0x72, 0x5f, + 0x77, 0x68, 0x69, 0x74, 0x65, 0x6c, 0x69, 0x73, 0x74, 0x5f, 0x65, 0x6e, 0x61, 0x62, 0x6c, 0x65, + 0x64, 0x18, 0x38, 0x20, 0x01, 0x28, 0x08, 0x42, 0x05, 0xa8, 0xe7, 0xb0, 0x2a, 0x01, 0x52, 0x1c, + 0x67, 0x6c, 0x6f, 0x62, 0x61, 0x6c, 0x57, 0x6f, 0x72, 0x6b, 0x65, 0x72, 0x57, 0x68, 0x69, 0x74, + 0x65, 0x6c, 0x69, 0x73, 0x74, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x12, 0x4e, 0x0a, 0x20, + 0x67, 0x6c, 0x6f, 0x62, 0x61, 0x6c, 0x5f, 0x72, 0x65, 0x70, 0x75, 0x74, 0x65, 0x72, 0x5f, 0x77, + 0x68, 0x69, 0x74, 0x65, 0x6c, 0x69, 0x73, 0x74, 0x5f, 0x65, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, + 0x18, 0x39, 0x20, 0x01, 0x28, 0x08, 0x42, 0x05, 0xa8, 0xe7, 0xb0, 0x2a, 0x01, 0x52, 0x1d, 0x67, + 0x6c, 0x6f, 0x62, 0x61, 0x6c, 0x52, 0x65, 0x70, 0x75, 0x74, 0x65, 0x72, 0x57, 0x68, 0x69, 0x74, + 0x65, 0x6c, 0x69, 0x73, 0x74, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x12, 0x4c, 0x0a, 0x1f, + 0x67, 0x6c, 0x6f, 0x62, 0x61, 0x6c, 0x5f, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x5f, 0x77, 0x68, 0x69, + 0x74, 0x65, 0x6c, 0x69, 0x73, 0x74, 0x5f, 0x61, 0x70, 0x70, 0x65, 0x6e, 0x64, 0x65, 0x64, 0x18, + 0x3a, 0x20, 0x01, 0x28, 0x08, 0x42, 0x05, 0xa8, 0xe7, 0xb0, 0x2a, 0x01, 0x52, 0x1c, 0x67, 0x6c, + 0x6f, 0x62, 0x61, 0x6c, 0x41, 0x64, 0x6d, 0x69, 0x6e, 0x57, 0x68, 0x69, 0x74, 0x65, 0x6c, 0x69, + 0x73, 0x74, 0x41, 0x70, 0x70, 0x65, 0x6e, 0x64, 0x65, 0x64, 0x12, 0x4d, 0x0a, 0x20, 0x6d, 0x61, + 0x78, 0x5f, 0x77, 0x68, 0x69, 0x74, 0x65, 0x6c, 0x69, 0x73, 0x74, 0x5f, 0x69, 0x6e, 0x70, 0x75, + 0x74, 0x5f, 0x61, 0x72, 0x72, 0x61, 0x79, 0x5f, 0x6c, 0x65, 0x6e, 0x67, 0x74, 0x68, 0x18, 0x3b, + 0x20, 0x01, 0x28, 0x04, 0x42, 0x05, 0xa8, 0xe7, 0xb0, 0x2a, 0x01, 0x52, 0x1c, 0x6d, 0x61, 0x78, + 0x57, 0x68, 0x69, 0x74, 0x65, 0x6c, 0x69, 0x73, 0x74, 0x49, 0x6e, 0x70, 0x75, 0x74, 0x41, 0x72, + 0x72, 0x61, 0x79, 0x4c, 0x65, 0x6e, 0x67, 0x74, 0x68, 0x12, 0x7f, 0x0a, 0x20, 0x6d, 0x69, 0x6e, + 0x5f, 0x77, 0x65, 0x69, 0x67, 0x68, 0x74, 0x5f, 0x74, 0x68, 0x72, 0x65, 0x73, 0x68, 0x6f, 0x6c, + 0x64, 0x5f, 0x66, 0x6f, 0x72, 0x5f, 0x73, 0x74, 0x64, 0x6e, 0x6f, 0x72, 0x6d, 0x18, 0x3c, 0x20, + 0x01, 0x28, 0x09, 0x42, 0x37, 0xc8, 0xde, 0x1f, 0x00, 0xda, 0xde, 0x1f, 0x2f, 0x67, 0x69, 0x74, + 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x61, 0x6c, 0x6c, 0x6f, 0x72, 0x61, 0x2d, 0x6e, + 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x2f, 0x61, 0x6c, 0x6c, 0x6f, 0x72, 0x61, 0x2d, 0x63, 0x68, + 0x61, 0x69, 0x6e, 0x2f, 0x6d, 0x61, 0x74, 0x68, 0x2e, 0x44, 0x65, 0x63, 0x52, 0x1c, 0x6d, 0x69, + 0x6e, 0x57, 0x65, 0x69, 0x67, 0x68, 0x74, 0x54, 0x68, 0x72, 0x65, 0x73, 0x68, 0x6f, 0x6c, 0x64, + 0x46, 0x6f, 0x72, 0x53, 0x74, 0x64, 0x6e, 0x6f, 0x72, 0x6d, 0x4a, 0x04, 0x08, 0x04, 0x10, 0x05, + 0x4a, 0x04, 0x08, 0x1a, 0x10, 0x1b, 0x4a, 0x04, 0x08, 0x1b, 0x10, 0x1c, 0x4a, 0x04, 0x08, 0x27, + 0x10, 0x28, 0x4a, 0x04, 0x08, 0x29, 0x10, 0x2a, 0x52, 0x14, 0x6d, 0x61, 0x78, 0x5f, 0x74, 0x6f, + 0x70, 0x69, 0x63, 0x73, 0x5f, 0x70, 0x65, 0x72, 0x5f, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x52, 0x1b, + 0x6d, 0x69, 0x6e, 0x5f, 0x65, 0x66, 0x66, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x74, 0x6f, + 0x70, 0x69, 0x63, 0x5f, 0x72, 0x65, 0x76, 0x65, 0x6e, 0x75, 0x65, 0x52, 0x23, 0x6d, 0x61, 0x78, + 0x5f, 0x72, 0x65, 0x74, 0x72, 0x69, 0x65, 0x73, 0x5f, 0x74, 0x6f, 0x5f, 0x66, 0x75, 0x6c, 0x66, + 0x69, 0x6c, 0x5f, 0x6e, 0x6f, 0x6e, 0x63, 0x65, 0x73, 0x5f, 0x77, 0x6f, 0x72, 0x6b, 0x65, 0x72, + 0x52, 0x1c, 0x74, 0x6f, 0x70, 0x69, 0x63, 0x5f, 0x66, 0x65, 0x65, 0x5f, 0x72, 0x65, 0x76, 0x65, + 0x6e, 0x75, 0x65, 0x5f, 0x64, 0x65, 0x63, 0x61, 0x79, 0x5f, 0x72, 0x61, 0x74, 0x65, 0x52, 0x24, + 0x6d, 0x61, 0x78, 0x5f, 0x72, 0x65, 0x74, 0x72, 0x69, 0x65, 0x73, 0x5f, 0x74, 0x6f, 0x5f, 0x66, + 0x75, 0x6c, 0x66, 0x69, 0x6c, 0x5f, 0x6e, 0x6f, 0x6e, 0x63, 0x65, 0x73, 0x5f, 0x72, 0x65, 0x70, + 0x75, 0x74, 0x65, 0x72, 0x42, 0xc1, 0x01, 0x0a, 0x10, 0x63, 0x6f, 0x6d, 0x2e, 0x65, 0x6d, 0x69, + 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x38, 0x42, 0x0b, 0x50, 0x61, 0x72, 0x61, 0x6d, + 0x73, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x4f, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, + 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x61, 0x6c, 0x6c, 0x6f, 0x72, 0x61, 0x2d, 0x6e, 0x65, 0x74, 0x77, + 0x6f, 0x72, 0x6b, 0x2f, 0x61, 0x6c, 0x6c, 0x6f, 0x72, 0x61, 0x2d, 0x63, 0x68, 0x61, 0x69, 0x6e, + 0x2f, 0x78, 0x2f, 0x65, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x61, 0x70, 0x69, + 0x2f, 0x65, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x76, 0x38, 0x3b, 0x65, 0x6d, + 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x76, 0x38, 0xa2, 0x02, 0x03, 0x45, 0x58, 0x58, 0xaa, + 0x02, 0x0c, 0x45, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x56, 0x38, 0xca, 0x02, + 0x0c, 0x45, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x5c, 0x56, 0x38, 0xe2, 0x02, 0x18, + 0x45, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x5c, 0x56, 0x38, 0x5c, 0x47, 0x50, 0x42, + 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x0d, 0x45, 0x6d, 0x69, 0x73, 0x73, + 0x69, 0x6f, 0x6e, 0x73, 0x3a, 0x3a, 0x56, 0x38, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_emissions_v8_params_proto_rawDescOnce sync.Once + file_emissions_v8_params_proto_rawDescData = file_emissions_v8_params_proto_rawDesc +) + +func file_emissions_v8_params_proto_rawDescGZIP() []byte { + file_emissions_v8_params_proto_rawDescOnce.Do(func() { + file_emissions_v8_params_proto_rawDescData = protoimpl.X.CompressGZIP(file_emissions_v8_params_proto_rawDescData) + }) + return file_emissions_v8_params_proto_rawDescData +} + +var file_emissions_v8_params_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_emissions_v8_params_proto_goTypes = []interface{}{ + (*Params)(nil), // 0: emissions.v8.Params +} +var file_emissions_v8_params_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_emissions_v8_params_proto_init() } +func file_emissions_v8_params_proto_init() { + if File_emissions_v8_params_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_emissions_v8_params_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Params); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_emissions_v8_params_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_emissions_v8_params_proto_goTypes, + DependencyIndexes: file_emissions_v8_params_proto_depIdxs, + MessageInfos: file_emissions_v8_params_proto_msgTypes, + }.Build() + File_emissions_v8_params_proto = out.File + file_emissions_v8_params_proto_rawDesc = nil + file_emissions_v8_params_proto_goTypes = nil + file_emissions_v8_params_proto_depIdxs = nil +} diff --git a/x/emissions/api/emissions/v8/query.pulsar.go b/x/emissions/api/emissions/v8/query.pulsar.go new file mode 100644 index 000000000..406d607eb --- /dev/null +++ b/x/emissions/api/emissions/v8/query.pulsar.go @@ -0,0 +1,112179 @@ +// Code generated by protoc-gen-go-pulsar. DO NOT EDIT. +package emissionsv8 + +import ( + fmt "fmt" + v3 "github.com/allora-network/allora-chain/x/emissions/api/emissions/v3" + _ "github.com/cosmos/cosmos-proto" + runtime "github.com/cosmos/cosmos-proto/runtime" + _ "github.com/cosmos/cosmos-sdk/types/query" + _ "github.com/cosmos/cosmos-sdk/types/tx/amino" + _ "github.com/cosmos/gogoproto/gogoproto" + _ "google.golang.org/genproto/googleapis/api/annotations" + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoiface "google.golang.org/protobuf/runtime/protoiface" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + io "io" + reflect "reflect" + sync "sync" +) + +var ( + md_IsWhitelistedGlobalWorkerRequest protoreflect.MessageDescriptor + fd_IsWhitelistedGlobalWorkerRequest_address protoreflect.FieldDescriptor +) + +func init() { + file_emissions_v8_query_proto_init() + md_IsWhitelistedGlobalWorkerRequest = File_emissions_v8_query_proto.Messages().ByName("IsWhitelistedGlobalWorkerRequest") + fd_IsWhitelistedGlobalWorkerRequest_address = md_IsWhitelistedGlobalWorkerRequest.Fields().ByName("address") +} + +var _ protoreflect.Message = (*fastReflection_IsWhitelistedGlobalWorkerRequest)(nil) + +type fastReflection_IsWhitelistedGlobalWorkerRequest IsWhitelistedGlobalWorkerRequest + +func (x *IsWhitelistedGlobalWorkerRequest) ProtoReflect() protoreflect.Message { + return (*fastReflection_IsWhitelistedGlobalWorkerRequest)(x) +} + +func (x *IsWhitelistedGlobalWorkerRequest) slowProtoReflect() protoreflect.Message { + mi := &file_emissions_v8_query_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) +} + +var _fastReflection_IsWhitelistedGlobalWorkerRequest_messageType fastReflection_IsWhitelistedGlobalWorkerRequest_messageType +var _ protoreflect.MessageType = fastReflection_IsWhitelistedGlobalWorkerRequest_messageType{} + +type fastReflection_IsWhitelistedGlobalWorkerRequest_messageType struct{} + +func (x fastReflection_IsWhitelistedGlobalWorkerRequest_messageType) Zero() protoreflect.Message { + return (*fastReflection_IsWhitelistedGlobalWorkerRequest)(nil) +} +func (x fastReflection_IsWhitelistedGlobalWorkerRequest_messageType) New() protoreflect.Message { + return new(fastReflection_IsWhitelistedGlobalWorkerRequest) +} +func (x fastReflection_IsWhitelistedGlobalWorkerRequest_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_IsWhitelistedGlobalWorkerRequest +} + +// Descriptor returns message descriptor, which contains only the protobuf +// type information for the message. +func (x *fastReflection_IsWhitelistedGlobalWorkerRequest) Descriptor() protoreflect.MessageDescriptor { + return md_IsWhitelistedGlobalWorkerRequest +} + +// Type returns the message type, which encapsulates both Go and protobuf +// type information. If the Go type information is not needed, +// it is recommended that the message descriptor be used instead. +func (x *fastReflection_IsWhitelistedGlobalWorkerRequest) Type() protoreflect.MessageType { + return _fastReflection_IsWhitelistedGlobalWorkerRequest_messageType +} + +// New returns a newly allocated and mutable empty message. +func (x *fastReflection_IsWhitelistedGlobalWorkerRequest) New() protoreflect.Message { + return new(fastReflection_IsWhitelistedGlobalWorkerRequest) +} + +// Interface unwraps the message reflection interface and +// returns the underlying ProtoMessage interface. +func (x *fastReflection_IsWhitelistedGlobalWorkerRequest) Interface() protoreflect.ProtoMessage { + return (*IsWhitelistedGlobalWorkerRequest)(x) +} + +// Range iterates over every populated field in an undefined order, +// calling f for each field descriptor and value encountered. +// Range returns immediately if f returns false. +// While iterating, mutating operations may only be performed +// on the current field descriptor. +func (x *fastReflection_IsWhitelistedGlobalWorkerRequest) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { + if x.Address != "" { + value := protoreflect.ValueOfString(x.Address) + if !f(fd_IsWhitelistedGlobalWorkerRequest_address, value) { + return + } + } +} + +// Has reports whether a field is populated. +// +// Some fields have the property of nullability where it is possible to +// distinguish between the default value of a field and whether the field +// was explicitly populated with the default value. Singular message fields, +// member fields of a oneof, and proto2 scalar fields are nullable. Such +// fields are populated only if explicitly set. +// +// In other cases (aside from the nullable cases above), +// a proto3 scalar field is populated if it contains a non-zero value, and +// a repeated field is populated if it is non-empty. +func (x *fastReflection_IsWhitelistedGlobalWorkerRequest) Has(fd protoreflect.FieldDescriptor) bool { + switch fd.FullName() { + case "emissions.v8.IsWhitelistedGlobalWorkerRequest.address": + return x.Address != "" + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.IsWhitelistedGlobalWorkerRequest")) + } + panic(fmt.Errorf("message emissions.v8.IsWhitelistedGlobalWorkerRequest does not contain field %s", fd.FullName())) + } +} + +// Clear clears the field such that a subsequent Has call reports false. +// +// Clearing an extension field clears both the extension type and value +// associated with the given field number. +// +// Clear is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_IsWhitelistedGlobalWorkerRequest) Clear(fd protoreflect.FieldDescriptor) { + switch fd.FullName() { + case "emissions.v8.IsWhitelistedGlobalWorkerRequest.address": + x.Address = "" + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.IsWhitelistedGlobalWorkerRequest")) + } + panic(fmt.Errorf("message emissions.v8.IsWhitelistedGlobalWorkerRequest does not contain field %s", fd.FullName())) + } +} + +// Get retrieves the value for a field. +// +// For unpopulated scalars, it returns the default value, where +// the default value of a bytes scalar is guaranteed to be a copy. +// For unpopulated composite types, it returns an empty, read-only view +// of the value; to obtain a mutable reference, use Mutable. +func (x *fastReflection_IsWhitelistedGlobalWorkerRequest) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { + switch descriptor.FullName() { + case "emissions.v8.IsWhitelistedGlobalWorkerRequest.address": + value := x.Address + return protoreflect.ValueOfString(value) + default: + if descriptor.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.IsWhitelistedGlobalWorkerRequest")) + } + panic(fmt.Errorf("message emissions.v8.IsWhitelistedGlobalWorkerRequest does not contain field %s", descriptor.FullName())) + } +} + +// Set stores the value for a field. +// +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType. +// When setting a composite type, it is unspecified whether the stored value +// aliases the source's memory in any way. If the composite value is an +// empty, read-only value, then it panics. +// +// Set is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_IsWhitelistedGlobalWorkerRequest) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { + switch fd.FullName() { + case "emissions.v8.IsWhitelistedGlobalWorkerRequest.address": + x.Address = value.Interface().(string) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.IsWhitelistedGlobalWorkerRequest")) + } + panic(fmt.Errorf("message emissions.v8.IsWhitelistedGlobalWorkerRequest does not contain field %s", fd.FullName())) + } +} + +// Mutable returns a mutable reference to a composite type. +// +// If the field is unpopulated, it may allocate a composite value. +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType +// if not already stored. +// It panics if the field does not contain a composite type. +// +// Mutable is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_IsWhitelistedGlobalWorkerRequest) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.IsWhitelistedGlobalWorkerRequest.address": + panic(fmt.Errorf("field address of message emissions.v8.IsWhitelistedGlobalWorkerRequest is not mutable")) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.IsWhitelistedGlobalWorkerRequest")) + } + panic(fmt.Errorf("message emissions.v8.IsWhitelistedGlobalWorkerRequest does not contain field %s", fd.FullName())) + } +} + +// NewField returns a new value that is assignable to the field +// for the given descriptor. For scalars, this returns the default value. +// For lists, maps, and messages, this returns a new, empty, mutable value. +func (x *fastReflection_IsWhitelistedGlobalWorkerRequest) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.IsWhitelistedGlobalWorkerRequest.address": + return protoreflect.ValueOfString("") + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.IsWhitelistedGlobalWorkerRequest")) + } + panic(fmt.Errorf("message emissions.v8.IsWhitelistedGlobalWorkerRequest does not contain field %s", fd.FullName())) + } +} + +// WhichOneof reports which field within the oneof is populated, +// returning nil if none are populated. +// It panics if the oneof descriptor does not belong to this message. +func (x *fastReflection_IsWhitelistedGlobalWorkerRequest) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { + switch d.FullName() { + default: + panic(fmt.Errorf("%s is not a oneof field in emissions.v8.IsWhitelistedGlobalWorkerRequest", d.FullName())) + } + panic("unreachable") +} + +// GetUnknown retrieves the entire list of unknown fields. +// The caller may only mutate the contents of the RawFields +// if the mutated bytes are stored back into the message with SetUnknown. +func (x *fastReflection_IsWhitelistedGlobalWorkerRequest) GetUnknown() protoreflect.RawFields { + return x.unknownFields +} + +// SetUnknown stores an entire list of unknown fields. +// The raw fields must be syntactically valid according to the wire format. +// An implementation may panic if this is not the case. +// Once stored, the caller must not mutate the content of the RawFields. +// An empty RawFields may be passed to clear the fields. +// +// SetUnknown is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_IsWhitelistedGlobalWorkerRequest) SetUnknown(fields protoreflect.RawFields) { + x.unknownFields = fields +} + +// IsValid reports whether the message is valid. +// +// An invalid message is an empty, read-only value. +// +// An invalid message often corresponds to a nil pointer of the concrete +// message type, but the details are implementation dependent. +// Validity is not part of the protobuf data model, and may not +// be preserved in marshaling or other operations. +func (x *fastReflection_IsWhitelistedGlobalWorkerRequest) IsValid() bool { + return x != nil +} + +// ProtoMethods returns optional fastReflectionFeature-path implementations of various operations. +// This method may return nil. +// +// The returned methods type is identical to +// "google.golang.org/protobuf/runtime/protoiface".Methods. +// Consult the protoiface package documentation for details. +func (x *fastReflection_IsWhitelistedGlobalWorkerRequest) ProtoMethods() *protoiface.Methods { + size := func(input protoiface.SizeInput) protoiface.SizeOutput { + x := input.Message.Interface().(*IsWhitelistedGlobalWorkerRequest) + if x == nil { + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: 0, + } + } + options := runtime.SizeInputToOptions(input) + _ = options + var n int + var l int + _ = l + l = len(x.Address) + if l > 0 { + n += 1 + l + runtime.Sov(uint64(l)) + } + if x.unknownFields != nil { + n += len(x.unknownFields) + } + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: n, + } + } + + marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { + x := input.Message.Interface().(*IsWhitelistedGlobalWorkerRequest) + if x == nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + options := runtime.MarshalInputToOptions(input) + _ = options + size := options.Size(x) + dAtA := make([]byte, size) + i := len(dAtA) + _ = i + var l int + _ = l + if x.unknownFields != nil { + i -= len(x.unknownFields) + copy(dAtA[i:], x.unknownFields) + } + if len(x.Address) > 0 { + i -= len(x.Address) + copy(dAtA[i:], x.Address) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.Address))) + i-- + dAtA[i] = 0xa + } + if input.Buf != nil { + input.Buf = append(input.Buf, dAtA...) + } else { + input.Buf = dAtA + } + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { + x := input.Message.Interface().(*IsWhitelistedGlobalWorkerRequest) + if x == nil { + return protoiface.UnmarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Flags: input.Flags, + }, nil + } + options := runtime.UnmarshalInputToOptions(input) + _ = options + dAtA := input.Buf + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: IsWhitelistedGlobalWorkerRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: IsWhitelistedGlobalWorkerRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Address", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + x.Address = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := runtime.Skip(dAtA[iNdEx:]) + if err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if (iNdEx + skippy) > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + if !options.DiscardUnknown { + x.unknownFields = append(x.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + } + iNdEx += skippy + } + } + + if iNdEx > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, nil + } + return &protoiface.Methods{ + NoUnkeyedLiterals: struct{}{}, + Flags: protoiface.SupportMarshalDeterministic | protoiface.SupportUnmarshalDiscardUnknown, + Size: size, + Marshal: marshal, + Unmarshal: unmarshal, + Merge: nil, + CheckInitialized: nil, + } +} + +var ( + md_IsWhitelistedGlobalWorkerResponse protoreflect.MessageDescriptor + fd_IsWhitelistedGlobalWorkerResponse_is_whitelisted_global_worker protoreflect.FieldDescriptor +) + +func init() { + file_emissions_v8_query_proto_init() + md_IsWhitelistedGlobalWorkerResponse = File_emissions_v8_query_proto.Messages().ByName("IsWhitelistedGlobalWorkerResponse") + fd_IsWhitelistedGlobalWorkerResponse_is_whitelisted_global_worker = md_IsWhitelistedGlobalWorkerResponse.Fields().ByName("is_whitelisted_global_worker") +} + +var _ protoreflect.Message = (*fastReflection_IsWhitelistedGlobalWorkerResponse)(nil) + +type fastReflection_IsWhitelistedGlobalWorkerResponse IsWhitelistedGlobalWorkerResponse + +func (x *IsWhitelistedGlobalWorkerResponse) ProtoReflect() protoreflect.Message { + return (*fastReflection_IsWhitelistedGlobalWorkerResponse)(x) +} + +func (x *IsWhitelistedGlobalWorkerResponse) slowProtoReflect() protoreflect.Message { + mi := &file_emissions_v8_query_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) +} + +var _fastReflection_IsWhitelistedGlobalWorkerResponse_messageType fastReflection_IsWhitelistedGlobalWorkerResponse_messageType +var _ protoreflect.MessageType = fastReflection_IsWhitelistedGlobalWorkerResponse_messageType{} + +type fastReflection_IsWhitelistedGlobalWorkerResponse_messageType struct{} + +func (x fastReflection_IsWhitelistedGlobalWorkerResponse_messageType) Zero() protoreflect.Message { + return (*fastReflection_IsWhitelistedGlobalWorkerResponse)(nil) +} +func (x fastReflection_IsWhitelistedGlobalWorkerResponse_messageType) New() protoreflect.Message { + return new(fastReflection_IsWhitelistedGlobalWorkerResponse) +} +func (x fastReflection_IsWhitelistedGlobalWorkerResponse_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_IsWhitelistedGlobalWorkerResponse +} + +// Descriptor returns message descriptor, which contains only the protobuf +// type information for the message. +func (x *fastReflection_IsWhitelistedGlobalWorkerResponse) Descriptor() protoreflect.MessageDescriptor { + return md_IsWhitelistedGlobalWorkerResponse +} + +// Type returns the message type, which encapsulates both Go and protobuf +// type information. If the Go type information is not needed, +// it is recommended that the message descriptor be used instead. +func (x *fastReflection_IsWhitelistedGlobalWorkerResponse) Type() protoreflect.MessageType { + return _fastReflection_IsWhitelistedGlobalWorkerResponse_messageType +} + +// New returns a newly allocated and mutable empty message. +func (x *fastReflection_IsWhitelistedGlobalWorkerResponse) New() protoreflect.Message { + return new(fastReflection_IsWhitelistedGlobalWorkerResponse) +} + +// Interface unwraps the message reflection interface and +// returns the underlying ProtoMessage interface. +func (x *fastReflection_IsWhitelistedGlobalWorkerResponse) Interface() protoreflect.ProtoMessage { + return (*IsWhitelistedGlobalWorkerResponse)(x) +} + +// Range iterates over every populated field in an undefined order, +// calling f for each field descriptor and value encountered. +// Range returns immediately if f returns false. +// While iterating, mutating operations may only be performed +// on the current field descriptor. +func (x *fastReflection_IsWhitelistedGlobalWorkerResponse) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { + if x.IsWhitelistedGlobalWorker != false { + value := protoreflect.ValueOfBool(x.IsWhitelistedGlobalWorker) + if !f(fd_IsWhitelistedGlobalWorkerResponse_is_whitelisted_global_worker, value) { + return + } + } +} + +// Has reports whether a field is populated. +// +// Some fields have the property of nullability where it is possible to +// distinguish between the default value of a field and whether the field +// was explicitly populated with the default value. Singular message fields, +// member fields of a oneof, and proto2 scalar fields are nullable. Such +// fields are populated only if explicitly set. +// +// In other cases (aside from the nullable cases above), +// a proto3 scalar field is populated if it contains a non-zero value, and +// a repeated field is populated if it is non-empty. +func (x *fastReflection_IsWhitelistedGlobalWorkerResponse) Has(fd protoreflect.FieldDescriptor) bool { + switch fd.FullName() { + case "emissions.v8.IsWhitelistedGlobalWorkerResponse.is_whitelisted_global_worker": + return x.IsWhitelistedGlobalWorker != false + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.IsWhitelistedGlobalWorkerResponse")) + } + panic(fmt.Errorf("message emissions.v8.IsWhitelistedGlobalWorkerResponse does not contain field %s", fd.FullName())) + } +} + +// Clear clears the field such that a subsequent Has call reports false. +// +// Clearing an extension field clears both the extension type and value +// associated with the given field number. +// +// Clear is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_IsWhitelistedGlobalWorkerResponse) Clear(fd protoreflect.FieldDescriptor) { + switch fd.FullName() { + case "emissions.v8.IsWhitelistedGlobalWorkerResponse.is_whitelisted_global_worker": + x.IsWhitelistedGlobalWorker = false + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.IsWhitelistedGlobalWorkerResponse")) + } + panic(fmt.Errorf("message emissions.v8.IsWhitelistedGlobalWorkerResponse does not contain field %s", fd.FullName())) + } +} + +// Get retrieves the value for a field. +// +// For unpopulated scalars, it returns the default value, where +// the default value of a bytes scalar is guaranteed to be a copy. +// For unpopulated composite types, it returns an empty, read-only view +// of the value; to obtain a mutable reference, use Mutable. +func (x *fastReflection_IsWhitelistedGlobalWorkerResponse) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { + switch descriptor.FullName() { + case "emissions.v8.IsWhitelistedGlobalWorkerResponse.is_whitelisted_global_worker": + value := x.IsWhitelistedGlobalWorker + return protoreflect.ValueOfBool(value) + default: + if descriptor.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.IsWhitelistedGlobalWorkerResponse")) + } + panic(fmt.Errorf("message emissions.v8.IsWhitelistedGlobalWorkerResponse does not contain field %s", descriptor.FullName())) + } +} + +// Set stores the value for a field. +// +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType. +// When setting a composite type, it is unspecified whether the stored value +// aliases the source's memory in any way. If the composite value is an +// empty, read-only value, then it panics. +// +// Set is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_IsWhitelistedGlobalWorkerResponse) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { + switch fd.FullName() { + case "emissions.v8.IsWhitelistedGlobalWorkerResponse.is_whitelisted_global_worker": + x.IsWhitelistedGlobalWorker = value.Bool() + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.IsWhitelistedGlobalWorkerResponse")) + } + panic(fmt.Errorf("message emissions.v8.IsWhitelistedGlobalWorkerResponse does not contain field %s", fd.FullName())) + } +} + +// Mutable returns a mutable reference to a composite type. +// +// If the field is unpopulated, it may allocate a composite value. +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType +// if not already stored. +// It panics if the field does not contain a composite type. +// +// Mutable is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_IsWhitelistedGlobalWorkerResponse) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.IsWhitelistedGlobalWorkerResponse.is_whitelisted_global_worker": + panic(fmt.Errorf("field is_whitelisted_global_worker of message emissions.v8.IsWhitelistedGlobalWorkerResponse is not mutable")) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.IsWhitelistedGlobalWorkerResponse")) + } + panic(fmt.Errorf("message emissions.v8.IsWhitelistedGlobalWorkerResponse does not contain field %s", fd.FullName())) + } +} + +// NewField returns a new value that is assignable to the field +// for the given descriptor. For scalars, this returns the default value. +// For lists, maps, and messages, this returns a new, empty, mutable value. +func (x *fastReflection_IsWhitelistedGlobalWorkerResponse) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.IsWhitelistedGlobalWorkerResponse.is_whitelisted_global_worker": + return protoreflect.ValueOfBool(false) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.IsWhitelistedGlobalWorkerResponse")) + } + panic(fmt.Errorf("message emissions.v8.IsWhitelistedGlobalWorkerResponse does not contain field %s", fd.FullName())) + } +} + +// WhichOneof reports which field within the oneof is populated, +// returning nil if none are populated. +// It panics if the oneof descriptor does not belong to this message. +func (x *fastReflection_IsWhitelistedGlobalWorkerResponse) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { + switch d.FullName() { + default: + panic(fmt.Errorf("%s is not a oneof field in emissions.v8.IsWhitelistedGlobalWorkerResponse", d.FullName())) + } + panic("unreachable") +} + +// GetUnknown retrieves the entire list of unknown fields. +// The caller may only mutate the contents of the RawFields +// if the mutated bytes are stored back into the message with SetUnknown. +func (x *fastReflection_IsWhitelistedGlobalWorkerResponse) GetUnknown() protoreflect.RawFields { + return x.unknownFields +} + +// SetUnknown stores an entire list of unknown fields. +// The raw fields must be syntactically valid according to the wire format. +// An implementation may panic if this is not the case. +// Once stored, the caller must not mutate the content of the RawFields. +// An empty RawFields may be passed to clear the fields. +// +// SetUnknown is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_IsWhitelistedGlobalWorkerResponse) SetUnknown(fields protoreflect.RawFields) { + x.unknownFields = fields +} + +// IsValid reports whether the message is valid. +// +// An invalid message is an empty, read-only value. +// +// An invalid message often corresponds to a nil pointer of the concrete +// message type, but the details are implementation dependent. +// Validity is not part of the protobuf data model, and may not +// be preserved in marshaling or other operations. +func (x *fastReflection_IsWhitelistedGlobalWorkerResponse) IsValid() bool { + return x != nil +} + +// ProtoMethods returns optional fastReflectionFeature-path implementations of various operations. +// This method may return nil. +// +// The returned methods type is identical to +// "google.golang.org/protobuf/runtime/protoiface".Methods. +// Consult the protoiface package documentation for details. +func (x *fastReflection_IsWhitelistedGlobalWorkerResponse) ProtoMethods() *protoiface.Methods { + size := func(input protoiface.SizeInput) protoiface.SizeOutput { + x := input.Message.Interface().(*IsWhitelistedGlobalWorkerResponse) + if x == nil { + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: 0, + } + } + options := runtime.SizeInputToOptions(input) + _ = options + var n int + var l int + _ = l + if x.IsWhitelistedGlobalWorker { + n += 2 + } + if x.unknownFields != nil { + n += len(x.unknownFields) + } + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: n, + } + } + + marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { + x := input.Message.Interface().(*IsWhitelistedGlobalWorkerResponse) + if x == nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + options := runtime.MarshalInputToOptions(input) + _ = options + size := options.Size(x) + dAtA := make([]byte, size) + i := len(dAtA) + _ = i + var l int + _ = l + if x.unknownFields != nil { + i -= len(x.unknownFields) + copy(dAtA[i:], x.unknownFields) + } + if x.IsWhitelistedGlobalWorker { + i-- + if x.IsWhitelistedGlobalWorker { + dAtA[i] = 1 + } else { + dAtA[i] = 0 + } + i-- + dAtA[i] = 0x8 + } + if input.Buf != nil { + input.Buf = append(input.Buf, dAtA...) + } else { + input.Buf = dAtA + } + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { + x := input.Message.Interface().(*IsWhitelistedGlobalWorkerResponse) + if x == nil { + return protoiface.UnmarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Flags: input.Flags, + }, nil + } + options := runtime.UnmarshalInputToOptions(input) + _ = options + dAtA := input.Buf + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: IsWhitelistedGlobalWorkerResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: IsWhitelistedGlobalWorkerResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field IsWhitelistedGlobalWorker", wireType) + } + var v int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + x.IsWhitelistedGlobalWorker = bool(v != 0) + default: + iNdEx = preIndex + skippy, err := runtime.Skip(dAtA[iNdEx:]) + if err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if (iNdEx + skippy) > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + if !options.DiscardUnknown { + x.unknownFields = append(x.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + } + iNdEx += skippy + } + } + + if iNdEx > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, nil + } + return &protoiface.Methods{ + NoUnkeyedLiterals: struct{}{}, + Flags: protoiface.SupportMarshalDeterministic | protoiface.SupportUnmarshalDiscardUnknown, + Size: size, + Marshal: marshal, + Unmarshal: unmarshal, + Merge: nil, + CheckInitialized: nil, + } +} + +var ( + md_IsWhitelistedGlobalReputerRequest protoreflect.MessageDescriptor + fd_IsWhitelistedGlobalReputerRequest_address protoreflect.FieldDescriptor +) + +func init() { + file_emissions_v8_query_proto_init() + md_IsWhitelistedGlobalReputerRequest = File_emissions_v8_query_proto.Messages().ByName("IsWhitelistedGlobalReputerRequest") + fd_IsWhitelistedGlobalReputerRequest_address = md_IsWhitelistedGlobalReputerRequest.Fields().ByName("address") +} + +var _ protoreflect.Message = (*fastReflection_IsWhitelistedGlobalReputerRequest)(nil) + +type fastReflection_IsWhitelistedGlobalReputerRequest IsWhitelistedGlobalReputerRequest + +func (x *IsWhitelistedGlobalReputerRequest) ProtoReflect() protoreflect.Message { + return (*fastReflection_IsWhitelistedGlobalReputerRequest)(x) +} + +func (x *IsWhitelistedGlobalReputerRequest) slowProtoReflect() protoreflect.Message { + mi := &file_emissions_v8_query_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) +} + +var _fastReflection_IsWhitelistedGlobalReputerRequest_messageType fastReflection_IsWhitelistedGlobalReputerRequest_messageType +var _ protoreflect.MessageType = fastReflection_IsWhitelistedGlobalReputerRequest_messageType{} + +type fastReflection_IsWhitelistedGlobalReputerRequest_messageType struct{} + +func (x fastReflection_IsWhitelistedGlobalReputerRequest_messageType) Zero() protoreflect.Message { + return (*fastReflection_IsWhitelistedGlobalReputerRequest)(nil) +} +func (x fastReflection_IsWhitelistedGlobalReputerRequest_messageType) New() protoreflect.Message { + return new(fastReflection_IsWhitelistedGlobalReputerRequest) +} +func (x fastReflection_IsWhitelistedGlobalReputerRequest_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_IsWhitelistedGlobalReputerRequest +} + +// Descriptor returns message descriptor, which contains only the protobuf +// type information for the message. +func (x *fastReflection_IsWhitelistedGlobalReputerRequest) Descriptor() protoreflect.MessageDescriptor { + return md_IsWhitelistedGlobalReputerRequest +} + +// Type returns the message type, which encapsulates both Go and protobuf +// type information. If the Go type information is not needed, +// it is recommended that the message descriptor be used instead. +func (x *fastReflection_IsWhitelistedGlobalReputerRequest) Type() protoreflect.MessageType { + return _fastReflection_IsWhitelistedGlobalReputerRequest_messageType +} + +// New returns a newly allocated and mutable empty message. +func (x *fastReflection_IsWhitelistedGlobalReputerRequest) New() protoreflect.Message { + return new(fastReflection_IsWhitelistedGlobalReputerRequest) +} + +// Interface unwraps the message reflection interface and +// returns the underlying ProtoMessage interface. +func (x *fastReflection_IsWhitelistedGlobalReputerRequest) Interface() protoreflect.ProtoMessage { + return (*IsWhitelistedGlobalReputerRequest)(x) +} + +// Range iterates over every populated field in an undefined order, +// calling f for each field descriptor and value encountered. +// Range returns immediately if f returns false. +// While iterating, mutating operations may only be performed +// on the current field descriptor. +func (x *fastReflection_IsWhitelistedGlobalReputerRequest) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { + if x.Address != "" { + value := protoreflect.ValueOfString(x.Address) + if !f(fd_IsWhitelistedGlobalReputerRequest_address, value) { + return + } + } +} + +// Has reports whether a field is populated. +// +// Some fields have the property of nullability where it is possible to +// distinguish between the default value of a field and whether the field +// was explicitly populated with the default value. Singular message fields, +// member fields of a oneof, and proto2 scalar fields are nullable. Such +// fields are populated only if explicitly set. +// +// In other cases (aside from the nullable cases above), +// a proto3 scalar field is populated if it contains a non-zero value, and +// a repeated field is populated if it is non-empty. +func (x *fastReflection_IsWhitelistedGlobalReputerRequest) Has(fd protoreflect.FieldDescriptor) bool { + switch fd.FullName() { + case "emissions.v8.IsWhitelistedGlobalReputerRequest.address": + return x.Address != "" + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.IsWhitelistedGlobalReputerRequest")) + } + panic(fmt.Errorf("message emissions.v8.IsWhitelistedGlobalReputerRequest does not contain field %s", fd.FullName())) + } +} + +// Clear clears the field such that a subsequent Has call reports false. +// +// Clearing an extension field clears both the extension type and value +// associated with the given field number. +// +// Clear is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_IsWhitelistedGlobalReputerRequest) Clear(fd protoreflect.FieldDescriptor) { + switch fd.FullName() { + case "emissions.v8.IsWhitelistedGlobalReputerRequest.address": + x.Address = "" + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.IsWhitelistedGlobalReputerRequest")) + } + panic(fmt.Errorf("message emissions.v8.IsWhitelistedGlobalReputerRequest does not contain field %s", fd.FullName())) + } +} + +// Get retrieves the value for a field. +// +// For unpopulated scalars, it returns the default value, where +// the default value of a bytes scalar is guaranteed to be a copy. +// For unpopulated composite types, it returns an empty, read-only view +// of the value; to obtain a mutable reference, use Mutable. +func (x *fastReflection_IsWhitelistedGlobalReputerRequest) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { + switch descriptor.FullName() { + case "emissions.v8.IsWhitelistedGlobalReputerRequest.address": + value := x.Address + return protoreflect.ValueOfString(value) + default: + if descriptor.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.IsWhitelistedGlobalReputerRequest")) + } + panic(fmt.Errorf("message emissions.v8.IsWhitelistedGlobalReputerRequest does not contain field %s", descriptor.FullName())) + } +} + +// Set stores the value for a field. +// +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType. +// When setting a composite type, it is unspecified whether the stored value +// aliases the source's memory in any way. If the composite value is an +// empty, read-only value, then it panics. +// +// Set is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_IsWhitelistedGlobalReputerRequest) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { + switch fd.FullName() { + case "emissions.v8.IsWhitelistedGlobalReputerRequest.address": + x.Address = value.Interface().(string) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.IsWhitelistedGlobalReputerRequest")) + } + panic(fmt.Errorf("message emissions.v8.IsWhitelistedGlobalReputerRequest does not contain field %s", fd.FullName())) + } +} + +// Mutable returns a mutable reference to a composite type. +// +// If the field is unpopulated, it may allocate a composite value. +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType +// if not already stored. +// It panics if the field does not contain a composite type. +// +// Mutable is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_IsWhitelistedGlobalReputerRequest) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.IsWhitelistedGlobalReputerRequest.address": + panic(fmt.Errorf("field address of message emissions.v8.IsWhitelistedGlobalReputerRequest is not mutable")) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.IsWhitelistedGlobalReputerRequest")) + } + panic(fmt.Errorf("message emissions.v8.IsWhitelistedGlobalReputerRequest does not contain field %s", fd.FullName())) + } +} + +// NewField returns a new value that is assignable to the field +// for the given descriptor. For scalars, this returns the default value. +// For lists, maps, and messages, this returns a new, empty, mutable value. +func (x *fastReflection_IsWhitelistedGlobalReputerRequest) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.IsWhitelistedGlobalReputerRequest.address": + return protoreflect.ValueOfString("") + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.IsWhitelistedGlobalReputerRequest")) + } + panic(fmt.Errorf("message emissions.v8.IsWhitelistedGlobalReputerRequest does not contain field %s", fd.FullName())) + } +} + +// WhichOneof reports which field within the oneof is populated, +// returning nil if none are populated. +// It panics if the oneof descriptor does not belong to this message. +func (x *fastReflection_IsWhitelistedGlobalReputerRequest) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { + switch d.FullName() { + default: + panic(fmt.Errorf("%s is not a oneof field in emissions.v8.IsWhitelistedGlobalReputerRequest", d.FullName())) + } + panic("unreachable") +} + +// GetUnknown retrieves the entire list of unknown fields. +// The caller may only mutate the contents of the RawFields +// if the mutated bytes are stored back into the message with SetUnknown. +func (x *fastReflection_IsWhitelistedGlobalReputerRequest) GetUnknown() protoreflect.RawFields { + return x.unknownFields +} + +// SetUnknown stores an entire list of unknown fields. +// The raw fields must be syntactically valid according to the wire format. +// An implementation may panic if this is not the case. +// Once stored, the caller must not mutate the content of the RawFields. +// An empty RawFields may be passed to clear the fields. +// +// SetUnknown is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_IsWhitelistedGlobalReputerRequest) SetUnknown(fields protoreflect.RawFields) { + x.unknownFields = fields +} + +// IsValid reports whether the message is valid. +// +// An invalid message is an empty, read-only value. +// +// An invalid message often corresponds to a nil pointer of the concrete +// message type, but the details are implementation dependent. +// Validity is not part of the protobuf data model, and may not +// be preserved in marshaling or other operations. +func (x *fastReflection_IsWhitelistedGlobalReputerRequest) IsValid() bool { + return x != nil +} + +// ProtoMethods returns optional fastReflectionFeature-path implementations of various operations. +// This method may return nil. +// +// The returned methods type is identical to +// "google.golang.org/protobuf/runtime/protoiface".Methods. +// Consult the protoiface package documentation for details. +func (x *fastReflection_IsWhitelistedGlobalReputerRequest) ProtoMethods() *protoiface.Methods { + size := func(input protoiface.SizeInput) protoiface.SizeOutput { + x := input.Message.Interface().(*IsWhitelistedGlobalReputerRequest) + if x == nil { + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: 0, + } + } + options := runtime.SizeInputToOptions(input) + _ = options + var n int + var l int + _ = l + l = len(x.Address) + if l > 0 { + n += 1 + l + runtime.Sov(uint64(l)) + } + if x.unknownFields != nil { + n += len(x.unknownFields) + } + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: n, + } + } + + marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { + x := input.Message.Interface().(*IsWhitelistedGlobalReputerRequest) + if x == nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + options := runtime.MarshalInputToOptions(input) + _ = options + size := options.Size(x) + dAtA := make([]byte, size) + i := len(dAtA) + _ = i + var l int + _ = l + if x.unknownFields != nil { + i -= len(x.unknownFields) + copy(dAtA[i:], x.unknownFields) + } + if len(x.Address) > 0 { + i -= len(x.Address) + copy(dAtA[i:], x.Address) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.Address))) + i-- + dAtA[i] = 0xa + } + if input.Buf != nil { + input.Buf = append(input.Buf, dAtA...) + } else { + input.Buf = dAtA + } + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { + x := input.Message.Interface().(*IsWhitelistedGlobalReputerRequest) + if x == nil { + return protoiface.UnmarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Flags: input.Flags, + }, nil + } + options := runtime.UnmarshalInputToOptions(input) + _ = options + dAtA := input.Buf + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: IsWhitelistedGlobalReputerRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: IsWhitelistedGlobalReputerRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Address", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + x.Address = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := runtime.Skip(dAtA[iNdEx:]) + if err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if (iNdEx + skippy) > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + if !options.DiscardUnknown { + x.unknownFields = append(x.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + } + iNdEx += skippy + } + } + + if iNdEx > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, nil + } + return &protoiface.Methods{ + NoUnkeyedLiterals: struct{}{}, + Flags: protoiface.SupportMarshalDeterministic | protoiface.SupportUnmarshalDiscardUnknown, + Size: size, + Marshal: marshal, + Unmarshal: unmarshal, + Merge: nil, + CheckInitialized: nil, + } +} + +var ( + md_IsWhitelistedGlobalReputerResponse protoreflect.MessageDescriptor + fd_IsWhitelistedGlobalReputerResponse_is_whitelisted_global_reputer protoreflect.FieldDescriptor +) + +func init() { + file_emissions_v8_query_proto_init() + md_IsWhitelistedGlobalReputerResponse = File_emissions_v8_query_proto.Messages().ByName("IsWhitelistedGlobalReputerResponse") + fd_IsWhitelistedGlobalReputerResponse_is_whitelisted_global_reputer = md_IsWhitelistedGlobalReputerResponse.Fields().ByName("is_whitelisted_global_reputer") +} + +var _ protoreflect.Message = (*fastReflection_IsWhitelistedGlobalReputerResponse)(nil) + +type fastReflection_IsWhitelistedGlobalReputerResponse IsWhitelistedGlobalReputerResponse + +func (x *IsWhitelistedGlobalReputerResponse) ProtoReflect() protoreflect.Message { + return (*fastReflection_IsWhitelistedGlobalReputerResponse)(x) +} + +func (x *IsWhitelistedGlobalReputerResponse) slowProtoReflect() protoreflect.Message { + mi := &file_emissions_v8_query_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) +} + +var _fastReflection_IsWhitelistedGlobalReputerResponse_messageType fastReflection_IsWhitelistedGlobalReputerResponse_messageType +var _ protoreflect.MessageType = fastReflection_IsWhitelistedGlobalReputerResponse_messageType{} + +type fastReflection_IsWhitelistedGlobalReputerResponse_messageType struct{} + +func (x fastReflection_IsWhitelistedGlobalReputerResponse_messageType) Zero() protoreflect.Message { + return (*fastReflection_IsWhitelistedGlobalReputerResponse)(nil) +} +func (x fastReflection_IsWhitelistedGlobalReputerResponse_messageType) New() protoreflect.Message { + return new(fastReflection_IsWhitelistedGlobalReputerResponse) +} +func (x fastReflection_IsWhitelistedGlobalReputerResponse_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_IsWhitelistedGlobalReputerResponse +} + +// Descriptor returns message descriptor, which contains only the protobuf +// type information for the message. +func (x *fastReflection_IsWhitelistedGlobalReputerResponse) Descriptor() protoreflect.MessageDescriptor { + return md_IsWhitelistedGlobalReputerResponse +} + +// Type returns the message type, which encapsulates both Go and protobuf +// type information. If the Go type information is not needed, +// it is recommended that the message descriptor be used instead. +func (x *fastReflection_IsWhitelistedGlobalReputerResponse) Type() protoreflect.MessageType { + return _fastReflection_IsWhitelistedGlobalReputerResponse_messageType +} + +// New returns a newly allocated and mutable empty message. +func (x *fastReflection_IsWhitelistedGlobalReputerResponse) New() protoreflect.Message { + return new(fastReflection_IsWhitelistedGlobalReputerResponse) +} + +// Interface unwraps the message reflection interface and +// returns the underlying ProtoMessage interface. +func (x *fastReflection_IsWhitelistedGlobalReputerResponse) Interface() protoreflect.ProtoMessage { + return (*IsWhitelistedGlobalReputerResponse)(x) +} + +// Range iterates over every populated field in an undefined order, +// calling f for each field descriptor and value encountered. +// Range returns immediately if f returns false. +// While iterating, mutating operations may only be performed +// on the current field descriptor. +func (x *fastReflection_IsWhitelistedGlobalReputerResponse) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { + if x.IsWhitelistedGlobalReputer != false { + value := protoreflect.ValueOfBool(x.IsWhitelistedGlobalReputer) + if !f(fd_IsWhitelistedGlobalReputerResponse_is_whitelisted_global_reputer, value) { + return + } + } +} + +// Has reports whether a field is populated. +// +// Some fields have the property of nullability where it is possible to +// distinguish between the default value of a field and whether the field +// was explicitly populated with the default value. Singular message fields, +// member fields of a oneof, and proto2 scalar fields are nullable. Such +// fields are populated only if explicitly set. +// +// In other cases (aside from the nullable cases above), +// a proto3 scalar field is populated if it contains a non-zero value, and +// a repeated field is populated if it is non-empty. +func (x *fastReflection_IsWhitelistedGlobalReputerResponse) Has(fd protoreflect.FieldDescriptor) bool { + switch fd.FullName() { + case "emissions.v8.IsWhitelistedGlobalReputerResponse.is_whitelisted_global_reputer": + return x.IsWhitelistedGlobalReputer != false + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.IsWhitelistedGlobalReputerResponse")) + } + panic(fmt.Errorf("message emissions.v8.IsWhitelistedGlobalReputerResponse does not contain field %s", fd.FullName())) + } +} + +// Clear clears the field such that a subsequent Has call reports false. +// +// Clearing an extension field clears both the extension type and value +// associated with the given field number. +// +// Clear is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_IsWhitelistedGlobalReputerResponse) Clear(fd protoreflect.FieldDescriptor) { + switch fd.FullName() { + case "emissions.v8.IsWhitelistedGlobalReputerResponse.is_whitelisted_global_reputer": + x.IsWhitelistedGlobalReputer = false + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.IsWhitelistedGlobalReputerResponse")) + } + panic(fmt.Errorf("message emissions.v8.IsWhitelistedGlobalReputerResponse does not contain field %s", fd.FullName())) + } +} + +// Get retrieves the value for a field. +// +// For unpopulated scalars, it returns the default value, where +// the default value of a bytes scalar is guaranteed to be a copy. +// For unpopulated composite types, it returns an empty, read-only view +// of the value; to obtain a mutable reference, use Mutable. +func (x *fastReflection_IsWhitelistedGlobalReputerResponse) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { + switch descriptor.FullName() { + case "emissions.v8.IsWhitelistedGlobalReputerResponse.is_whitelisted_global_reputer": + value := x.IsWhitelistedGlobalReputer + return protoreflect.ValueOfBool(value) + default: + if descriptor.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.IsWhitelistedGlobalReputerResponse")) + } + panic(fmt.Errorf("message emissions.v8.IsWhitelistedGlobalReputerResponse does not contain field %s", descriptor.FullName())) + } +} + +// Set stores the value for a field. +// +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType. +// When setting a composite type, it is unspecified whether the stored value +// aliases the source's memory in any way. If the composite value is an +// empty, read-only value, then it panics. +// +// Set is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_IsWhitelistedGlobalReputerResponse) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { + switch fd.FullName() { + case "emissions.v8.IsWhitelistedGlobalReputerResponse.is_whitelisted_global_reputer": + x.IsWhitelistedGlobalReputer = value.Bool() + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.IsWhitelistedGlobalReputerResponse")) + } + panic(fmt.Errorf("message emissions.v8.IsWhitelistedGlobalReputerResponse does not contain field %s", fd.FullName())) + } +} + +// Mutable returns a mutable reference to a composite type. +// +// If the field is unpopulated, it may allocate a composite value. +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType +// if not already stored. +// It panics if the field does not contain a composite type. +// +// Mutable is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_IsWhitelistedGlobalReputerResponse) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.IsWhitelistedGlobalReputerResponse.is_whitelisted_global_reputer": + panic(fmt.Errorf("field is_whitelisted_global_reputer of message emissions.v8.IsWhitelistedGlobalReputerResponse is not mutable")) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.IsWhitelistedGlobalReputerResponse")) + } + panic(fmt.Errorf("message emissions.v8.IsWhitelistedGlobalReputerResponse does not contain field %s", fd.FullName())) + } +} + +// NewField returns a new value that is assignable to the field +// for the given descriptor. For scalars, this returns the default value. +// For lists, maps, and messages, this returns a new, empty, mutable value. +func (x *fastReflection_IsWhitelistedGlobalReputerResponse) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.IsWhitelistedGlobalReputerResponse.is_whitelisted_global_reputer": + return protoreflect.ValueOfBool(false) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.IsWhitelistedGlobalReputerResponse")) + } + panic(fmt.Errorf("message emissions.v8.IsWhitelistedGlobalReputerResponse does not contain field %s", fd.FullName())) + } +} + +// WhichOneof reports which field within the oneof is populated, +// returning nil if none are populated. +// It panics if the oneof descriptor does not belong to this message. +func (x *fastReflection_IsWhitelistedGlobalReputerResponse) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { + switch d.FullName() { + default: + panic(fmt.Errorf("%s is not a oneof field in emissions.v8.IsWhitelistedGlobalReputerResponse", d.FullName())) + } + panic("unreachable") +} + +// GetUnknown retrieves the entire list of unknown fields. +// The caller may only mutate the contents of the RawFields +// if the mutated bytes are stored back into the message with SetUnknown. +func (x *fastReflection_IsWhitelistedGlobalReputerResponse) GetUnknown() protoreflect.RawFields { + return x.unknownFields +} + +// SetUnknown stores an entire list of unknown fields. +// The raw fields must be syntactically valid according to the wire format. +// An implementation may panic if this is not the case. +// Once stored, the caller must not mutate the content of the RawFields. +// An empty RawFields may be passed to clear the fields. +// +// SetUnknown is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_IsWhitelistedGlobalReputerResponse) SetUnknown(fields protoreflect.RawFields) { + x.unknownFields = fields +} + +// IsValid reports whether the message is valid. +// +// An invalid message is an empty, read-only value. +// +// An invalid message often corresponds to a nil pointer of the concrete +// message type, but the details are implementation dependent. +// Validity is not part of the protobuf data model, and may not +// be preserved in marshaling or other operations. +func (x *fastReflection_IsWhitelistedGlobalReputerResponse) IsValid() bool { + return x != nil +} + +// ProtoMethods returns optional fastReflectionFeature-path implementations of various operations. +// This method may return nil. +// +// The returned methods type is identical to +// "google.golang.org/protobuf/runtime/protoiface".Methods. +// Consult the protoiface package documentation for details. +func (x *fastReflection_IsWhitelistedGlobalReputerResponse) ProtoMethods() *protoiface.Methods { + size := func(input protoiface.SizeInput) protoiface.SizeOutput { + x := input.Message.Interface().(*IsWhitelistedGlobalReputerResponse) + if x == nil { + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: 0, + } + } + options := runtime.SizeInputToOptions(input) + _ = options + var n int + var l int + _ = l + if x.IsWhitelistedGlobalReputer { + n += 2 + } + if x.unknownFields != nil { + n += len(x.unknownFields) + } + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: n, + } + } + + marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { + x := input.Message.Interface().(*IsWhitelistedGlobalReputerResponse) + if x == nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + options := runtime.MarshalInputToOptions(input) + _ = options + size := options.Size(x) + dAtA := make([]byte, size) + i := len(dAtA) + _ = i + var l int + _ = l + if x.unknownFields != nil { + i -= len(x.unknownFields) + copy(dAtA[i:], x.unknownFields) + } + if x.IsWhitelistedGlobalReputer { + i-- + if x.IsWhitelistedGlobalReputer { + dAtA[i] = 1 + } else { + dAtA[i] = 0 + } + i-- + dAtA[i] = 0x8 + } + if input.Buf != nil { + input.Buf = append(input.Buf, dAtA...) + } else { + input.Buf = dAtA + } + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { + x := input.Message.Interface().(*IsWhitelistedGlobalReputerResponse) + if x == nil { + return protoiface.UnmarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Flags: input.Flags, + }, nil + } + options := runtime.UnmarshalInputToOptions(input) + _ = options + dAtA := input.Buf + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: IsWhitelistedGlobalReputerResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: IsWhitelistedGlobalReputerResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field IsWhitelistedGlobalReputer", wireType) + } + var v int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + x.IsWhitelistedGlobalReputer = bool(v != 0) + default: + iNdEx = preIndex + skippy, err := runtime.Skip(dAtA[iNdEx:]) + if err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if (iNdEx + skippy) > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + if !options.DiscardUnknown { + x.unknownFields = append(x.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + } + iNdEx += skippy + } + } + + if iNdEx > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, nil + } + return &protoiface.Methods{ + NoUnkeyedLiterals: struct{}{}, + Flags: protoiface.SupportMarshalDeterministic | protoiface.SupportUnmarshalDiscardUnknown, + Size: size, + Marshal: marshal, + Unmarshal: unmarshal, + Merge: nil, + CheckInitialized: nil, + } +} + +var ( + md_IsWhitelistedGlobalAdminRequest protoreflect.MessageDescriptor + fd_IsWhitelistedGlobalAdminRequest_address protoreflect.FieldDescriptor +) + +func init() { + file_emissions_v8_query_proto_init() + md_IsWhitelistedGlobalAdminRequest = File_emissions_v8_query_proto.Messages().ByName("IsWhitelistedGlobalAdminRequest") + fd_IsWhitelistedGlobalAdminRequest_address = md_IsWhitelistedGlobalAdminRequest.Fields().ByName("address") +} + +var _ protoreflect.Message = (*fastReflection_IsWhitelistedGlobalAdminRequest)(nil) + +type fastReflection_IsWhitelistedGlobalAdminRequest IsWhitelistedGlobalAdminRequest + +func (x *IsWhitelistedGlobalAdminRequest) ProtoReflect() protoreflect.Message { + return (*fastReflection_IsWhitelistedGlobalAdminRequest)(x) +} + +func (x *IsWhitelistedGlobalAdminRequest) slowProtoReflect() protoreflect.Message { + mi := &file_emissions_v8_query_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) +} + +var _fastReflection_IsWhitelistedGlobalAdminRequest_messageType fastReflection_IsWhitelistedGlobalAdminRequest_messageType +var _ protoreflect.MessageType = fastReflection_IsWhitelistedGlobalAdminRequest_messageType{} + +type fastReflection_IsWhitelistedGlobalAdminRequest_messageType struct{} + +func (x fastReflection_IsWhitelistedGlobalAdminRequest_messageType) Zero() protoreflect.Message { + return (*fastReflection_IsWhitelistedGlobalAdminRequest)(nil) +} +func (x fastReflection_IsWhitelistedGlobalAdminRequest_messageType) New() protoreflect.Message { + return new(fastReflection_IsWhitelistedGlobalAdminRequest) +} +func (x fastReflection_IsWhitelistedGlobalAdminRequest_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_IsWhitelistedGlobalAdminRequest +} + +// Descriptor returns message descriptor, which contains only the protobuf +// type information for the message. +func (x *fastReflection_IsWhitelistedGlobalAdminRequest) Descriptor() protoreflect.MessageDescriptor { + return md_IsWhitelistedGlobalAdminRequest +} + +// Type returns the message type, which encapsulates both Go and protobuf +// type information. If the Go type information is not needed, +// it is recommended that the message descriptor be used instead. +func (x *fastReflection_IsWhitelistedGlobalAdminRequest) Type() protoreflect.MessageType { + return _fastReflection_IsWhitelistedGlobalAdminRequest_messageType +} + +// New returns a newly allocated and mutable empty message. +func (x *fastReflection_IsWhitelistedGlobalAdminRequest) New() protoreflect.Message { + return new(fastReflection_IsWhitelistedGlobalAdminRequest) +} + +// Interface unwraps the message reflection interface and +// returns the underlying ProtoMessage interface. +func (x *fastReflection_IsWhitelistedGlobalAdminRequest) Interface() protoreflect.ProtoMessage { + return (*IsWhitelistedGlobalAdminRequest)(x) +} + +// Range iterates over every populated field in an undefined order, +// calling f for each field descriptor and value encountered. +// Range returns immediately if f returns false. +// While iterating, mutating operations may only be performed +// on the current field descriptor. +func (x *fastReflection_IsWhitelistedGlobalAdminRequest) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { + if x.Address != "" { + value := protoreflect.ValueOfString(x.Address) + if !f(fd_IsWhitelistedGlobalAdminRequest_address, value) { + return + } + } +} + +// Has reports whether a field is populated. +// +// Some fields have the property of nullability where it is possible to +// distinguish between the default value of a field and whether the field +// was explicitly populated with the default value. Singular message fields, +// member fields of a oneof, and proto2 scalar fields are nullable. Such +// fields are populated only if explicitly set. +// +// In other cases (aside from the nullable cases above), +// a proto3 scalar field is populated if it contains a non-zero value, and +// a repeated field is populated if it is non-empty. +func (x *fastReflection_IsWhitelistedGlobalAdminRequest) Has(fd protoreflect.FieldDescriptor) bool { + switch fd.FullName() { + case "emissions.v8.IsWhitelistedGlobalAdminRequest.address": + return x.Address != "" + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.IsWhitelistedGlobalAdminRequest")) + } + panic(fmt.Errorf("message emissions.v8.IsWhitelistedGlobalAdminRequest does not contain field %s", fd.FullName())) + } +} + +// Clear clears the field such that a subsequent Has call reports false. +// +// Clearing an extension field clears both the extension type and value +// associated with the given field number. +// +// Clear is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_IsWhitelistedGlobalAdminRequest) Clear(fd protoreflect.FieldDescriptor) { + switch fd.FullName() { + case "emissions.v8.IsWhitelistedGlobalAdminRequest.address": + x.Address = "" + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.IsWhitelistedGlobalAdminRequest")) + } + panic(fmt.Errorf("message emissions.v8.IsWhitelistedGlobalAdminRequest does not contain field %s", fd.FullName())) + } +} + +// Get retrieves the value for a field. +// +// For unpopulated scalars, it returns the default value, where +// the default value of a bytes scalar is guaranteed to be a copy. +// For unpopulated composite types, it returns an empty, read-only view +// of the value; to obtain a mutable reference, use Mutable. +func (x *fastReflection_IsWhitelistedGlobalAdminRequest) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { + switch descriptor.FullName() { + case "emissions.v8.IsWhitelistedGlobalAdminRequest.address": + value := x.Address + return protoreflect.ValueOfString(value) + default: + if descriptor.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.IsWhitelistedGlobalAdminRequest")) + } + panic(fmt.Errorf("message emissions.v8.IsWhitelistedGlobalAdminRequest does not contain field %s", descriptor.FullName())) + } +} + +// Set stores the value for a field. +// +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType. +// When setting a composite type, it is unspecified whether the stored value +// aliases the source's memory in any way. If the composite value is an +// empty, read-only value, then it panics. +// +// Set is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_IsWhitelistedGlobalAdminRequest) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { + switch fd.FullName() { + case "emissions.v8.IsWhitelistedGlobalAdminRequest.address": + x.Address = value.Interface().(string) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.IsWhitelistedGlobalAdminRequest")) + } + panic(fmt.Errorf("message emissions.v8.IsWhitelistedGlobalAdminRequest does not contain field %s", fd.FullName())) + } +} + +// Mutable returns a mutable reference to a composite type. +// +// If the field is unpopulated, it may allocate a composite value. +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType +// if not already stored. +// It panics if the field does not contain a composite type. +// +// Mutable is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_IsWhitelistedGlobalAdminRequest) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.IsWhitelistedGlobalAdminRequest.address": + panic(fmt.Errorf("field address of message emissions.v8.IsWhitelistedGlobalAdminRequest is not mutable")) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.IsWhitelistedGlobalAdminRequest")) + } + panic(fmt.Errorf("message emissions.v8.IsWhitelistedGlobalAdminRequest does not contain field %s", fd.FullName())) + } +} + +// NewField returns a new value that is assignable to the field +// for the given descriptor. For scalars, this returns the default value. +// For lists, maps, and messages, this returns a new, empty, mutable value. +func (x *fastReflection_IsWhitelistedGlobalAdminRequest) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.IsWhitelistedGlobalAdminRequest.address": + return protoreflect.ValueOfString("") + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.IsWhitelistedGlobalAdminRequest")) + } + panic(fmt.Errorf("message emissions.v8.IsWhitelistedGlobalAdminRequest does not contain field %s", fd.FullName())) + } +} + +// WhichOneof reports which field within the oneof is populated, +// returning nil if none are populated. +// It panics if the oneof descriptor does not belong to this message. +func (x *fastReflection_IsWhitelistedGlobalAdminRequest) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { + switch d.FullName() { + default: + panic(fmt.Errorf("%s is not a oneof field in emissions.v8.IsWhitelistedGlobalAdminRequest", d.FullName())) + } + panic("unreachable") +} + +// GetUnknown retrieves the entire list of unknown fields. +// The caller may only mutate the contents of the RawFields +// if the mutated bytes are stored back into the message with SetUnknown. +func (x *fastReflection_IsWhitelistedGlobalAdminRequest) GetUnknown() protoreflect.RawFields { + return x.unknownFields +} + +// SetUnknown stores an entire list of unknown fields. +// The raw fields must be syntactically valid according to the wire format. +// An implementation may panic if this is not the case. +// Once stored, the caller must not mutate the content of the RawFields. +// An empty RawFields may be passed to clear the fields. +// +// SetUnknown is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_IsWhitelistedGlobalAdminRequest) SetUnknown(fields protoreflect.RawFields) { + x.unknownFields = fields +} + +// IsValid reports whether the message is valid. +// +// An invalid message is an empty, read-only value. +// +// An invalid message often corresponds to a nil pointer of the concrete +// message type, but the details are implementation dependent. +// Validity is not part of the protobuf data model, and may not +// be preserved in marshaling or other operations. +func (x *fastReflection_IsWhitelistedGlobalAdminRequest) IsValid() bool { + return x != nil +} + +// ProtoMethods returns optional fastReflectionFeature-path implementations of various operations. +// This method may return nil. +// +// The returned methods type is identical to +// "google.golang.org/protobuf/runtime/protoiface".Methods. +// Consult the protoiface package documentation for details. +func (x *fastReflection_IsWhitelistedGlobalAdminRequest) ProtoMethods() *protoiface.Methods { + size := func(input protoiface.SizeInput) protoiface.SizeOutput { + x := input.Message.Interface().(*IsWhitelistedGlobalAdminRequest) + if x == nil { + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: 0, + } + } + options := runtime.SizeInputToOptions(input) + _ = options + var n int + var l int + _ = l + l = len(x.Address) + if l > 0 { + n += 1 + l + runtime.Sov(uint64(l)) + } + if x.unknownFields != nil { + n += len(x.unknownFields) + } + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: n, + } + } + + marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { + x := input.Message.Interface().(*IsWhitelistedGlobalAdminRequest) + if x == nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + options := runtime.MarshalInputToOptions(input) + _ = options + size := options.Size(x) + dAtA := make([]byte, size) + i := len(dAtA) + _ = i + var l int + _ = l + if x.unknownFields != nil { + i -= len(x.unknownFields) + copy(dAtA[i:], x.unknownFields) + } + if len(x.Address) > 0 { + i -= len(x.Address) + copy(dAtA[i:], x.Address) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.Address))) + i-- + dAtA[i] = 0xa + } + if input.Buf != nil { + input.Buf = append(input.Buf, dAtA...) + } else { + input.Buf = dAtA + } + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { + x := input.Message.Interface().(*IsWhitelistedGlobalAdminRequest) + if x == nil { + return protoiface.UnmarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Flags: input.Flags, + }, nil + } + options := runtime.UnmarshalInputToOptions(input) + _ = options + dAtA := input.Buf + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: IsWhitelistedGlobalAdminRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: IsWhitelistedGlobalAdminRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Address", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + x.Address = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := runtime.Skip(dAtA[iNdEx:]) + if err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if (iNdEx + skippy) > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + if !options.DiscardUnknown { + x.unknownFields = append(x.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + } + iNdEx += skippy + } + } + + if iNdEx > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, nil + } + return &protoiface.Methods{ + NoUnkeyedLiterals: struct{}{}, + Flags: protoiface.SupportMarshalDeterministic | protoiface.SupportUnmarshalDiscardUnknown, + Size: size, + Marshal: marshal, + Unmarshal: unmarshal, + Merge: nil, + CheckInitialized: nil, + } +} + +var ( + md_IsWhitelistedGlobalAdminResponse protoreflect.MessageDescriptor + fd_IsWhitelistedGlobalAdminResponse_is_whitelisted_global_admin protoreflect.FieldDescriptor +) + +func init() { + file_emissions_v8_query_proto_init() + md_IsWhitelistedGlobalAdminResponse = File_emissions_v8_query_proto.Messages().ByName("IsWhitelistedGlobalAdminResponse") + fd_IsWhitelistedGlobalAdminResponse_is_whitelisted_global_admin = md_IsWhitelistedGlobalAdminResponse.Fields().ByName("is_whitelisted_global_admin") +} + +var _ protoreflect.Message = (*fastReflection_IsWhitelistedGlobalAdminResponse)(nil) + +type fastReflection_IsWhitelistedGlobalAdminResponse IsWhitelistedGlobalAdminResponse + +func (x *IsWhitelistedGlobalAdminResponse) ProtoReflect() protoreflect.Message { + return (*fastReflection_IsWhitelistedGlobalAdminResponse)(x) +} + +func (x *IsWhitelistedGlobalAdminResponse) slowProtoReflect() protoreflect.Message { + mi := &file_emissions_v8_query_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) +} + +var _fastReflection_IsWhitelistedGlobalAdminResponse_messageType fastReflection_IsWhitelistedGlobalAdminResponse_messageType +var _ protoreflect.MessageType = fastReflection_IsWhitelistedGlobalAdminResponse_messageType{} + +type fastReflection_IsWhitelistedGlobalAdminResponse_messageType struct{} + +func (x fastReflection_IsWhitelistedGlobalAdminResponse_messageType) Zero() protoreflect.Message { + return (*fastReflection_IsWhitelistedGlobalAdminResponse)(nil) +} +func (x fastReflection_IsWhitelistedGlobalAdminResponse_messageType) New() protoreflect.Message { + return new(fastReflection_IsWhitelistedGlobalAdminResponse) +} +func (x fastReflection_IsWhitelistedGlobalAdminResponse_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_IsWhitelistedGlobalAdminResponse +} + +// Descriptor returns message descriptor, which contains only the protobuf +// type information for the message. +func (x *fastReflection_IsWhitelistedGlobalAdminResponse) Descriptor() protoreflect.MessageDescriptor { + return md_IsWhitelistedGlobalAdminResponse +} + +// Type returns the message type, which encapsulates both Go and protobuf +// type information. If the Go type information is not needed, +// it is recommended that the message descriptor be used instead. +func (x *fastReflection_IsWhitelistedGlobalAdminResponse) Type() protoreflect.MessageType { + return _fastReflection_IsWhitelistedGlobalAdminResponse_messageType +} + +// New returns a newly allocated and mutable empty message. +func (x *fastReflection_IsWhitelistedGlobalAdminResponse) New() protoreflect.Message { + return new(fastReflection_IsWhitelistedGlobalAdminResponse) +} + +// Interface unwraps the message reflection interface and +// returns the underlying ProtoMessage interface. +func (x *fastReflection_IsWhitelistedGlobalAdminResponse) Interface() protoreflect.ProtoMessage { + return (*IsWhitelistedGlobalAdminResponse)(x) +} + +// Range iterates over every populated field in an undefined order, +// calling f for each field descriptor and value encountered. +// Range returns immediately if f returns false. +// While iterating, mutating operations may only be performed +// on the current field descriptor. +func (x *fastReflection_IsWhitelistedGlobalAdminResponse) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { + if x.IsWhitelistedGlobalAdmin != false { + value := protoreflect.ValueOfBool(x.IsWhitelistedGlobalAdmin) + if !f(fd_IsWhitelistedGlobalAdminResponse_is_whitelisted_global_admin, value) { + return + } + } +} + +// Has reports whether a field is populated. +// +// Some fields have the property of nullability where it is possible to +// distinguish between the default value of a field and whether the field +// was explicitly populated with the default value. Singular message fields, +// member fields of a oneof, and proto2 scalar fields are nullable. Such +// fields are populated only if explicitly set. +// +// In other cases (aside from the nullable cases above), +// a proto3 scalar field is populated if it contains a non-zero value, and +// a repeated field is populated if it is non-empty. +func (x *fastReflection_IsWhitelistedGlobalAdminResponse) Has(fd protoreflect.FieldDescriptor) bool { + switch fd.FullName() { + case "emissions.v8.IsWhitelistedGlobalAdminResponse.is_whitelisted_global_admin": + return x.IsWhitelistedGlobalAdmin != false + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.IsWhitelistedGlobalAdminResponse")) + } + panic(fmt.Errorf("message emissions.v8.IsWhitelistedGlobalAdminResponse does not contain field %s", fd.FullName())) + } +} + +// Clear clears the field such that a subsequent Has call reports false. +// +// Clearing an extension field clears both the extension type and value +// associated with the given field number. +// +// Clear is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_IsWhitelistedGlobalAdminResponse) Clear(fd protoreflect.FieldDescriptor) { + switch fd.FullName() { + case "emissions.v8.IsWhitelistedGlobalAdminResponse.is_whitelisted_global_admin": + x.IsWhitelistedGlobalAdmin = false + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.IsWhitelistedGlobalAdminResponse")) + } + panic(fmt.Errorf("message emissions.v8.IsWhitelistedGlobalAdminResponse does not contain field %s", fd.FullName())) + } +} + +// Get retrieves the value for a field. +// +// For unpopulated scalars, it returns the default value, where +// the default value of a bytes scalar is guaranteed to be a copy. +// For unpopulated composite types, it returns an empty, read-only view +// of the value; to obtain a mutable reference, use Mutable. +func (x *fastReflection_IsWhitelistedGlobalAdminResponse) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { + switch descriptor.FullName() { + case "emissions.v8.IsWhitelistedGlobalAdminResponse.is_whitelisted_global_admin": + value := x.IsWhitelistedGlobalAdmin + return protoreflect.ValueOfBool(value) + default: + if descriptor.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.IsWhitelistedGlobalAdminResponse")) + } + panic(fmt.Errorf("message emissions.v8.IsWhitelistedGlobalAdminResponse does not contain field %s", descriptor.FullName())) + } +} + +// Set stores the value for a field. +// +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType. +// When setting a composite type, it is unspecified whether the stored value +// aliases the source's memory in any way. If the composite value is an +// empty, read-only value, then it panics. +// +// Set is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_IsWhitelistedGlobalAdminResponse) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { + switch fd.FullName() { + case "emissions.v8.IsWhitelistedGlobalAdminResponse.is_whitelisted_global_admin": + x.IsWhitelistedGlobalAdmin = value.Bool() + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.IsWhitelistedGlobalAdminResponse")) + } + panic(fmt.Errorf("message emissions.v8.IsWhitelistedGlobalAdminResponse does not contain field %s", fd.FullName())) + } +} + +// Mutable returns a mutable reference to a composite type. +// +// If the field is unpopulated, it may allocate a composite value. +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType +// if not already stored. +// It panics if the field does not contain a composite type. +// +// Mutable is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_IsWhitelistedGlobalAdminResponse) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.IsWhitelistedGlobalAdminResponse.is_whitelisted_global_admin": + panic(fmt.Errorf("field is_whitelisted_global_admin of message emissions.v8.IsWhitelistedGlobalAdminResponse is not mutable")) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.IsWhitelistedGlobalAdminResponse")) + } + panic(fmt.Errorf("message emissions.v8.IsWhitelistedGlobalAdminResponse does not contain field %s", fd.FullName())) + } +} + +// NewField returns a new value that is assignable to the field +// for the given descriptor. For scalars, this returns the default value. +// For lists, maps, and messages, this returns a new, empty, mutable value. +func (x *fastReflection_IsWhitelistedGlobalAdminResponse) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.IsWhitelistedGlobalAdminResponse.is_whitelisted_global_admin": + return protoreflect.ValueOfBool(false) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.IsWhitelistedGlobalAdminResponse")) + } + panic(fmt.Errorf("message emissions.v8.IsWhitelistedGlobalAdminResponse does not contain field %s", fd.FullName())) + } +} + +// WhichOneof reports which field within the oneof is populated, +// returning nil if none are populated. +// It panics if the oneof descriptor does not belong to this message. +func (x *fastReflection_IsWhitelistedGlobalAdminResponse) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { + switch d.FullName() { + default: + panic(fmt.Errorf("%s is not a oneof field in emissions.v8.IsWhitelistedGlobalAdminResponse", d.FullName())) + } + panic("unreachable") +} + +// GetUnknown retrieves the entire list of unknown fields. +// The caller may only mutate the contents of the RawFields +// if the mutated bytes are stored back into the message with SetUnknown. +func (x *fastReflection_IsWhitelistedGlobalAdminResponse) GetUnknown() protoreflect.RawFields { + return x.unknownFields +} + +// SetUnknown stores an entire list of unknown fields. +// The raw fields must be syntactically valid according to the wire format. +// An implementation may panic if this is not the case. +// Once stored, the caller must not mutate the content of the RawFields. +// An empty RawFields may be passed to clear the fields. +// +// SetUnknown is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_IsWhitelistedGlobalAdminResponse) SetUnknown(fields protoreflect.RawFields) { + x.unknownFields = fields +} + +// IsValid reports whether the message is valid. +// +// An invalid message is an empty, read-only value. +// +// An invalid message often corresponds to a nil pointer of the concrete +// message type, but the details are implementation dependent. +// Validity is not part of the protobuf data model, and may not +// be preserved in marshaling or other operations. +func (x *fastReflection_IsWhitelistedGlobalAdminResponse) IsValid() bool { + return x != nil +} + +// ProtoMethods returns optional fastReflectionFeature-path implementations of various operations. +// This method may return nil. +// +// The returned methods type is identical to +// "google.golang.org/protobuf/runtime/protoiface".Methods. +// Consult the protoiface package documentation for details. +func (x *fastReflection_IsWhitelistedGlobalAdminResponse) ProtoMethods() *protoiface.Methods { + size := func(input protoiface.SizeInput) protoiface.SizeOutput { + x := input.Message.Interface().(*IsWhitelistedGlobalAdminResponse) + if x == nil { + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: 0, + } + } + options := runtime.SizeInputToOptions(input) + _ = options + var n int + var l int + _ = l + if x.IsWhitelistedGlobalAdmin { + n += 2 + } + if x.unknownFields != nil { + n += len(x.unknownFields) + } + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: n, + } + } + + marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { + x := input.Message.Interface().(*IsWhitelistedGlobalAdminResponse) + if x == nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + options := runtime.MarshalInputToOptions(input) + _ = options + size := options.Size(x) + dAtA := make([]byte, size) + i := len(dAtA) + _ = i + var l int + _ = l + if x.unknownFields != nil { + i -= len(x.unknownFields) + copy(dAtA[i:], x.unknownFields) + } + if x.IsWhitelistedGlobalAdmin { + i-- + if x.IsWhitelistedGlobalAdmin { + dAtA[i] = 1 + } else { + dAtA[i] = 0 + } + i-- + dAtA[i] = 0x8 + } + if input.Buf != nil { + input.Buf = append(input.Buf, dAtA...) + } else { + input.Buf = dAtA + } + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { + x := input.Message.Interface().(*IsWhitelistedGlobalAdminResponse) + if x == nil { + return protoiface.UnmarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Flags: input.Flags, + }, nil + } + options := runtime.UnmarshalInputToOptions(input) + _ = options + dAtA := input.Buf + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: IsWhitelistedGlobalAdminResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: IsWhitelistedGlobalAdminResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field IsWhitelistedGlobalAdmin", wireType) + } + var v int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + x.IsWhitelistedGlobalAdmin = bool(v != 0) + default: + iNdEx = preIndex + skippy, err := runtime.Skip(dAtA[iNdEx:]) + if err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if (iNdEx + skippy) > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + if !options.DiscardUnknown { + x.unknownFields = append(x.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + } + iNdEx += skippy + } + } + + if iNdEx > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, nil + } + return &protoiface.Methods{ + NoUnkeyedLiterals: struct{}{}, + Flags: protoiface.SupportMarshalDeterministic | protoiface.SupportUnmarshalDiscardUnknown, + Size: size, + Marshal: marshal, + Unmarshal: unmarshal, + Merge: nil, + CheckInitialized: nil, + } +} + +var ( + md_IsTopicWorkerWhitelistEnabledRequest protoreflect.MessageDescriptor + fd_IsTopicWorkerWhitelistEnabledRequest_topic_id protoreflect.FieldDescriptor +) + +func init() { + file_emissions_v8_query_proto_init() + md_IsTopicWorkerWhitelistEnabledRequest = File_emissions_v8_query_proto.Messages().ByName("IsTopicWorkerWhitelistEnabledRequest") + fd_IsTopicWorkerWhitelistEnabledRequest_topic_id = md_IsTopicWorkerWhitelistEnabledRequest.Fields().ByName("topic_id") +} + +var _ protoreflect.Message = (*fastReflection_IsTopicWorkerWhitelistEnabledRequest)(nil) + +type fastReflection_IsTopicWorkerWhitelistEnabledRequest IsTopicWorkerWhitelistEnabledRequest + +func (x *IsTopicWorkerWhitelistEnabledRequest) ProtoReflect() protoreflect.Message { + return (*fastReflection_IsTopicWorkerWhitelistEnabledRequest)(x) +} + +func (x *IsTopicWorkerWhitelistEnabledRequest) slowProtoReflect() protoreflect.Message { + mi := &file_emissions_v8_query_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) +} + +var _fastReflection_IsTopicWorkerWhitelistEnabledRequest_messageType fastReflection_IsTopicWorkerWhitelistEnabledRequest_messageType +var _ protoreflect.MessageType = fastReflection_IsTopicWorkerWhitelistEnabledRequest_messageType{} + +type fastReflection_IsTopicWorkerWhitelistEnabledRequest_messageType struct{} + +func (x fastReflection_IsTopicWorkerWhitelistEnabledRequest_messageType) Zero() protoreflect.Message { + return (*fastReflection_IsTopicWorkerWhitelistEnabledRequest)(nil) +} +func (x fastReflection_IsTopicWorkerWhitelistEnabledRequest_messageType) New() protoreflect.Message { + return new(fastReflection_IsTopicWorkerWhitelistEnabledRequest) +} +func (x fastReflection_IsTopicWorkerWhitelistEnabledRequest_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_IsTopicWorkerWhitelistEnabledRequest +} + +// Descriptor returns message descriptor, which contains only the protobuf +// type information for the message. +func (x *fastReflection_IsTopicWorkerWhitelistEnabledRequest) Descriptor() protoreflect.MessageDescriptor { + return md_IsTopicWorkerWhitelistEnabledRequest +} + +// Type returns the message type, which encapsulates both Go and protobuf +// type information. If the Go type information is not needed, +// it is recommended that the message descriptor be used instead. +func (x *fastReflection_IsTopicWorkerWhitelistEnabledRequest) Type() protoreflect.MessageType { + return _fastReflection_IsTopicWorkerWhitelistEnabledRequest_messageType +} + +// New returns a newly allocated and mutable empty message. +func (x *fastReflection_IsTopicWorkerWhitelistEnabledRequest) New() protoreflect.Message { + return new(fastReflection_IsTopicWorkerWhitelistEnabledRequest) +} + +// Interface unwraps the message reflection interface and +// returns the underlying ProtoMessage interface. +func (x *fastReflection_IsTopicWorkerWhitelistEnabledRequest) Interface() protoreflect.ProtoMessage { + return (*IsTopicWorkerWhitelistEnabledRequest)(x) +} + +// Range iterates over every populated field in an undefined order, +// calling f for each field descriptor and value encountered. +// Range returns immediately if f returns false. +// While iterating, mutating operations may only be performed +// on the current field descriptor. +func (x *fastReflection_IsTopicWorkerWhitelistEnabledRequest) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { + if x.TopicId != uint64(0) { + value := protoreflect.ValueOfUint64(x.TopicId) + if !f(fd_IsTopicWorkerWhitelistEnabledRequest_topic_id, value) { + return + } + } +} + +// Has reports whether a field is populated. +// +// Some fields have the property of nullability where it is possible to +// distinguish between the default value of a field and whether the field +// was explicitly populated with the default value. Singular message fields, +// member fields of a oneof, and proto2 scalar fields are nullable. Such +// fields are populated only if explicitly set. +// +// In other cases (aside from the nullable cases above), +// a proto3 scalar field is populated if it contains a non-zero value, and +// a repeated field is populated if it is non-empty. +func (x *fastReflection_IsTopicWorkerWhitelistEnabledRequest) Has(fd protoreflect.FieldDescriptor) bool { + switch fd.FullName() { + case "emissions.v8.IsTopicWorkerWhitelistEnabledRequest.topic_id": + return x.TopicId != uint64(0) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.IsTopicWorkerWhitelistEnabledRequest")) + } + panic(fmt.Errorf("message emissions.v8.IsTopicWorkerWhitelistEnabledRequest does not contain field %s", fd.FullName())) + } +} + +// Clear clears the field such that a subsequent Has call reports false. +// +// Clearing an extension field clears both the extension type and value +// associated with the given field number. +// +// Clear is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_IsTopicWorkerWhitelistEnabledRequest) Clear(fd protoreflect.FieldDescriptor) { + switch fd.FullName() { + case "emissions.v8.IsTopicWorkerWhitelistEnabledRequest.topic_id": + x.TopicId = uint64(0) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.IsTopicWorkerWhitelistEnabledRequest")) + } + panic(fmt.Errorf("message emissions.v8.IsTopicWorkerWhitelistEnabledRequest does not contain field %s", fd.FullName())) + } +} + +// Get retrieves the value for a field. +// +// For unpopulated scalars, it returns the default value, where +// the default value of a bytes scalar is guaranteed to be a copy. +// For unpopulated composite types, it returns an empty, read-only view +// of the value; to obtain a mutable reference, use Mutable. +func (x *fastReflection_IsTopicWorkerWhitelistEnabledRequest) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { + switch descriptor.FullName() { + case "emissions.v8.IsTopicWorkerWhitelistEnabledRequest.topic_id": + value := x.TopicId + return protoreflect.ValueOfUint64(value) + default: + if descriptor.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.IsTopicWorkerWhitelistEnabledRequest")) + } + panic(fmt.Errorf("message emissions.v8.IsTopicWorkerWhitelistEnabledRequest does not contain field %s", descriptor.FullName())) + } +} + +// Set stores the value for a field. +// +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType. +// When setting a composite type, it is unspecified whether the stored value +// aliases the source's memory in any way. If the composite value is an +// empty, read-only value, then it panics. +// +// Set is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_IsTopicWorkerWhitelistEnabledRequest) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { + switch fd.FullName() { + case "emissions.v8.IsTopicWorkerWhitelistEnabledRequest.topic_id": + x.TopicId = value.Uint() + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.IsTopicWorkerWhitelistEnabledRequest")) + } + panic(fmt.Errorf("message emissions.v8.IsTopicWorkerWhitelistEnabledRequest does not contain field %s", fd.FullName())) + } +} + +// Mutable returns a mutable reference to a composite type. +// +// If the field is unpopulated, it may allocate a composite value. +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType +// if not already stored. +// It panics if the field does not contain a composite type. +// +// Mutable is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_IsTopicWorkerWhitelistEnabledRequest) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.IsTopicWorkerWhitelistEnabledRequest.topic_id": + panic(fmt.Errorf("field topic_id of message emissions.v8.IsTopicWorkerWhitelistEnabledRequest is not mutable")) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.IsTopicWorkerWhitelistEnabledRequest")) + } + panic(fmt.Errorf("message emissions.v8.IsTopicWorkerWhitelistEnabledRequest does not contain field %s", fd.FullName())) + } +} + +// NewField returns a new value that is assignable to the field +// for the given descriptor. For scalars, this returns the default value. +// For lists, maps, and messages, this returns a new, empty, mutable value. +func (x *fastReflection_IsTopicWorkerWhitelistEnabledRequest) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.IsTopicWorkerWhitelistEnabledRequest.topic_id": + return protoreflect.ValueOfUint64(uint64(0)) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.IsTopicWorkerWhitelistEnabledRequest")) + } + panic(fmt.Errorf("message emissions.v8.IsTopicWorkerWhitelistEnabledRequest does not contain field %s", fd.FullName())) + } +} + +// WhichOneof reports which field within the oneof is populated, +// returning nil if none are populated. +// It panics if the oneof descriptor does not belong to this message. +func (x *fastReflection_IsTopicWorkerWhitelistEnabledRequest) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { + switch d.FullName() { + default: + panic(fmt.Errorf("%s is not a oneof field in emissions.v8.IsTopicWorkerWhitelistEnabledRequest", d.FullName())) + } + panic("unreachable") +} + +// GetUnknown retrieves the entire list of unknown fields. +// The caller may only mutate the contents of the RawFields +// if the mutated bytes are stored back into the message with SetUnknown. +func (x *fastReflection_IsTopicWorkerWhitelistEnabledRequest) GetUnknown() protoreflect.RawFields { + return x.unknownFields +} + +// SetUnknown stores an entire list of unknown fields. +// The raw fields must be syntactically valid according to the wire format. +// An implementation may panic if this is not the case. +// Once stored, the caller must not mutate the content of the RawFields. +// An empty RawFields may be passed to clear the fields. +// +// SetUnknown is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_IsTopicWorkerWhitelistEnabledRequest) SetUnknown(fields protoreflect.RawFields) { + x.unknownFields = fields +} + +// IsValid reports whether the message is valid. +// +// An invalid message is an empty, read-only value. +// +// An invalid message often corresponds to a nil pointer of the concrete +// message type, but the details are implementation dependent. +// Validity is not part of the protobuf data model, and may not +// be preserved in marshaling or other operations. +func (x *fastReflection_IsTopicWorkerWhitelistEnabledRequest) IsValid() bool { + return x != nil +} + +// ProtoMethods returns optional fastReflectionFeature-path implementations of various operations. +// This method may return nil. +// +// The returned methods type is identical to +// "google.golang.org/protobuf/runtime/protoiface".Methods. +// Consult the protoiface package documentation for details. +func (x *fastReflection_IsTopicWorkerWhitelistEnabledRequest) ProtoMethods() *protoiface.Methods { + size := func(input protoiface.SizeInput) protoiface.SizeOutput { + x := input.Message.Interface().(*IsTopicWorkerWhitelistEnabledRequest) + if x == nil { + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: 0, + } + } + options := runtime.SizeInputToOptions(input) + _ = options + var n int + var l int + _ = l + if x.TopicId != 0 { + n += 1 + runtime.Sov(uint64(x.TopicId)) + } + if x.unknownFields != nil { + n += len(x.unknownFields) + } + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: n, + } + } + + marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { + x := input.Message.Interface().(*IsTopicWorkerWhitelistEnabledRequest) + if x == nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + options := runtime.MarshalInputToOptions(input) + _ = options + size := options.Size(x) + dAtA := make([]byte, size) + i := len(dAtA) + _ = i + var l int + _ = l + if x.unknownFields != nil { + i -= len(x.unknownFields) + copy(dAtA[i:], x.unknownFields) + } + if x.TopicId != 0 { + i = runtime.EncodeVarint(dAtA, i, uint64(x.TopicId)) + i-- + dAtA[i] = 0x8 + } + if input.Buf != nil { + input.Buf = append(input.Buf, dAtA...) + } else { + input.Buf = dAtA + } + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { + x := input.Message.Interface().(*IsTopicWorkerWhitelistEnabledRequest) + if x == nil { + return protoiface.UnmarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Flags: input.Flags, + }, nil + } + options := runtime.UnmarshalInputToOptions(input) + _ = options + dAtA := input.Buf + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: IsTopicWorkerWhitelistEnabledRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: IsTopicWorkerWhitelistEnabledRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field TopicId", wireType) + } + x.TopicId = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + x.TopicId |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + default: + iNdEx = preIndex + skippy, err := runtime.Skip(dAtA[iNdEx:]) + if err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if (iNdEx + skippy) > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + if !options.DiscardUnknown { + x.unknownFields = append(x.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + } + iNdEx += skippy + } + } + + if iNdEx > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, nil + } + return &protoiface.Methods{ + NoUnkeyedLiterals: struct{}{}, + Flags: protoiface.SupportMarshalDeterministic | protoiface.SupportUnmarshalDiscardUnknown, + Size: size, + Marshal: marshal, + Unmarshal: unmarshal, + Merge: nil, + CheckInitialized: nil, + } +} + +var ( + md_IsTopicWorkerWhitelistEnabledResponse protoreflect.MessageDescriptor + fd_IsTopicWorkerWhitelistEnabledResponse_is_topic_worker_whitelist_enabled protoreflect.FieldDescriptor +) + +func init() { + file_emissions_v8_query_proto_init() + md_IsTopicWorkerWhitelistEnabledResponse = File_emissions_v8_query_proto.Messages().ByName("IsTopicWorkerWhitelistEnabledResponse") + fd_IsTopicWorkerWhitelistEnabledResponse_is_topic_worker_whitelist_enabled = md_IsTopicWorkerWhitelistEnabledResponse.Fields().ByName("is_topic_worker_whitelist_enabled") +} + +var _ protoreflect.Message = (*fastReflection_IsTopicWorkerWhitelistEnabledResponse)(nil) + +type fastReflection_IsTopicWorkerWhitelistEnabledResponse IsTopicWorkerWhitelistEnabledResponse + +func (x *IsTopicWorkerWhitelistEnabledResponse) ProtoReflect() protoreflect.Message { + return (*fastReflection_IsTopicWorkerWhitelistEnabledResponse)(x) +} + +func (x *IsTopicWorkerWhitelistEnabledResponse) slowProtoReflect() protoreflect.Message { + mi := &file_emissions_v8_query_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) +} + +var _fastReflection_IsTopicWorkerWhitelistEnabledResponse_messageType fastReflection_IsTopicWorkerWhitelistEnabledResponse_messageType +var _ protoreflect.MessageType = fastReflection_IsTopicWorkerWhitelistEnabledResponse_messageType{} + +type fastReflection_IsTopicWorkerWhitelistEnabledResponse_messageType struct{} + +func (x fastReflection_IsTopicWorkerWhitelistEnabledResponse_messageType) Zero() protoreflect.Message { + return (*fastReflection_IsTopicWorkerWhitelistEnabledResponse)(nil) +} +func (x fastReflection_IsTopicWorkerWhitelistEnabledResponse_messageType) New() protoreflect.Message { + return new(fastReflection_IsTopicWorkerWhitelistEnabledResponse) +} +func (x fastReflection_IsTopicWorkerWhitelistEnabledResponse_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_IsTopicWorkerWhitelistEnabledResponse +} + +// Descriptor returns message descriptor, which contains only the protobuf +// type information for the message. +func (x *fastReflection_IsTopicWorkerWhitelistEnabledResponse) Descriptor() protoreflect.MessageDescriptor { + return md_IsTopicWorkerWhitelistEnabledResponse +} + +// Type returns the message type, which encapsulates both Go and protobuf +// type information. If the Go type information is not needed, +// it is recommended that the message descriptor be used instead. +func (x *fastReflection_IsTopicWorkerWhitelistEnabledResponse) Type() protoreflect.MessageType { + return _fastReflection_IsTopicWorkerWhitelistEnabledResponse_messageType +} + +// New returns a newly allocated and mutable empty message. +func (x *fastReflection_IsTopicWorkerWhitelistEnabledResponse) New() protoreflect.Message { + return new(fastReflection_IsTopicWorkerWhitelistEnabledResponse) +} + +// Interface unwraps the message reflection interface and +// returns the underlying ProtoMessage interface. +func (x *fastReflection_IsTopicWorkerWhitelistEnabledResponse) Interface() protoreflect.ProtoMessage { + return (*IsTopicWorkerWhitelistEnabledResponse)(x) +} + +// Range iterates over every populated field in an undefined order, +// calling f for each field descriptor and value encountered. +// Range returns immediately if f returns false. +// While iterating, mutating operations may only be performed +// on the current field descriptor. +func (x *fastReflection_IsTopicWorkerWhitelistEnabledResponse) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { + if x.IsTopicWorkerWhitelistEnabled != false { + value := protoreflect.ValueOfBool(x.IsTopicWorkerWhitelistEnabled) + if !f(fd_IsTopicWorkerWhitelistEnabledResponse_is_topic_worker_whitelist_enabled, value) { + return + } + } +} + +// Has reports whether a field is populated. +// +// Some fields have the property of nullability where it is possible to +// distinguish between the default value of a field and whether the field +// was explicitly populated with the default value. Singular message fields, +// member fields of a oneof, and proto2 scalar fields are nullable. Such +// fields are populated only if explicitly set. +// +// In other cases (aside from the nullable cases above), +// a proto3 scalar field is populated if it contains a non-zero value, and +// a repeated field is populated if it is non-empty. +func (x *fastReflection_IsTopicWorkerWhitelistEnabledResponse) Has(fd protoreflect.FieldDescriptor) bool { + switch fd.FullName() { + case "emissions.v8.IsTopicWorkerWhitelistEnabledResponse.is_topic_worker_whitelist_enabled": + return x.IsTopicWorkerWhitelistEnabled != false + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.IsTopicWorkerWhitelistEnabledResponse")) + } + panic(fmt.Errorf("message emissions.v8.IsTopicWorkerWhitelistEnabledResponse does not contain field %s", fd.FullName())) + } +} + +// Clear clears the field such that a subsequent Has call reports false. +// +// Clearing an extension field clears both the extension type and value +// associated with the given field number. +// +// Clear is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_IsTopicWorkerWhitelistEnabledResponse) Clear(fd protoreflect.FieldDescriptor) { + switch fd.FullName() { + case "emissions.v8.IsTopicWorkerWhitelistEnabledResponse.is_topic_worker_whitelist_enabled": + x.IsTopicWorkerWhitelistEnabled = false + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.IsTopicWorkerWhitelistEnabledResponse")) + } + panic(fmt.Errorf("message emissions.v8.IsTopicWorkerWhitelistEnabledResponse does not contain field %s", fd.FullName())) + } +} + +// Get retrieves the value for a field. +// +// For unpopulated scalars, it returns the default value, where +// the default value of a bytes scalar is guaranteed to be a copy. +// For unpopulated composite types, it returns an empty, read-only view +// of the value; to obtain a mutable reference, use Mutable. +func (x *fastReflection_IsTopicWorkerWhitelistEnabledResponse) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { + switch descriptor.FullName() { + case "emissions.v8.IsTopicWorkerWhitelistEnabledResponse.is_topic_worker_whitelist_enabled": + value := x.IsTopicWorkerWhitelistEnabled + return protoreflect.ValueOfBool(value) + default: + if descriptor.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.IsTopicWorkerWhitelistEnabledResponse")) + } + panic(fmt.Errorf("message emissions.v8.IsTopicWorkerWhitelistEnabledResponse does not contain field %s", descriptor.FullName())) + } +} + +// Set stores the value for a field. +// +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType. +// When setting a composite type, it is unspecified whether the stored value +// aliases the source's memory in any way. If the composite value is an +// empty, read-only value, then it panics. +// +// Set is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_IsTopicWorkerWhitelistEnabledResponse) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { + switch fd.FullName() { + case "emissions.v8.IsTopicWorkerWhitelistEnabledResponse.is_topic_worker_whitelist_enabled": + x.IsTopicWorkerWhitelistEnabled = value.Bool() + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.IsTopicWorkerWhitelistEnabledResponse")) + } + panic(fmt.Errorf("message emissions.v8.IsTopicWorkerWhitelistEnabledResponse does not contain field %s", fd.FullName())) + } +} + +// Mutable returns a mutable reference to a composite type. +// +// If the field is unpopulated, it may allocate a composite value. +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType +// if not already stored. +// It panics if the field does not contain a composite type. +// +// Mutable is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_IsTopicWorkerWhitelistEnabledResponse) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.IsTopicWorkerWhitelistEnabledResponse.is_topic_worker_whitelist_enabled": + panic(fmt.Errorf("field is_topic_worker_whitelist_enabled of message emissions.v8.IsTopicWorkerWhitelistEnabledResponse is not mutable")) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.IsTopicWorkerWhitelistEnabledResponse")) + } + panic(fmt.Errorf("message emissions.v8.IsTopicWorkerWhitelistEnabledResponse does not contain field %s", fd.FullName())) + } +} + +// NewField returns a new value that is assignable to the field +// for the given descriptor. For scalars, this returns the default value. +// For lists, maps, and messages, this returns a new, empty, mutable value. +func (x *fastReflection_IsTopicWorkerWhitelistEnabledResponse) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.IsTopicWorkerWhitelistEnabledResponse.is_topic_worker_whitelist_enabled": + return protoreflect.ValueOfBool(false) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.IsTopicWorkerWhitelistEnabledResponse")) + } + panic(fmt.Errorf("message emissions.v8.IsTopicWorkerWhitelistEnabledResponse does not contain field %s", fd.FullName())) + } +} + +// WhichOneof reports which field within the oneof is populated, +// returning nil if none are populated. +// It panics if the oneof descriptor does not belong to this message. +func (x *fastReflection_IsTopicWorkerWhitelistEnabledResponse) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { + switch d.FullName() { + default: + panic(fmt.Errorf("%s is not a oneof field in emissions.v8.IsTopicWorkerWhitelistEnabledResponse", d.FullName())) + } + panic("unreachable") +} + +// GetUnknown retrieves the entire list of unknown fields. +// The caller may only mutate the contents of the RawFields +// if the mutated bytes are stored back into the message with SetUnknown. +func (x *fastReflection_IsTopicWorkerWhitelistEnabledResponse) GetUnknown() protoreflect.RawFields { + return x.unknownFields +} + +// SetUnknown stores an entire list of unknown fields. +// The raw fields must be syntactically valid according to the wire format. +// An implementation may panic if this is not the case. +// Once stored, the caller must not mutate the content of the RawFields. +// An empty RawFields may be passed to clear the fields. +// +// SetUnknown is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_IsTopicWorkerWhitelistEnabledResponse) SetUnknown(fields protoreflect.RawFields) { + x.unknownFields = fields +} + +// IsValid reports whether the message is valid. +// +// An invalid message is an empty, read-only value. +// +// An invalid message often corresponds to a nil pointer of the concrete +// message type, but the details are implementation dependent. +// Validity is not part of the protobuf data model, and may not +// be preserved in marshaling or other operations. +func (x *fastReflection_IsTopicWorkerWhitelistEnabledResponse) IsValid() bool { + return x != nil +} + +// ProtoMethods returns optional fastReflectionFeature-path implementations of various operations. +// This method may return nil. +// +// The returned methods type is identical to +// "google.golang.org/protobuf/runtime/protoiface".Methods. +// Consult the protoiface package documentation for details. +func (x *fastReflection_IsTopicWorkerWhitelistEnabledResponse) ProtoMethods() *protoiface.Methods { + size := func(input protoiface.SizeInput) protoiface.SizeOutput { + x := input.Message.Interface().(*IsTopicWorkerWhitelistEnabledResponse) + if x == nil { + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: 0, + } + } + options := runtime.SizeInputToOptions(input) + _ = options + var n int + var l int + _ = l + if x.IsTopicWorkerWhitelistEnabled { + n += 2 + } + if x.unknownFields != nil { + n += len(x.unknownFields) + } + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: n, + } + } + + marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { + x := input.Message.Interface().(*IsTopicWorkerWhitelistEnabledResponse) + if x == nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + options := runtime.MarshalInputToOptions(input) + _ = options + size := options.Size(x) + dAtA := make([]byte, size) + i := len(dAtA) + _ = i + var l int + _ = l + if x.unknownFields != nil { + i -= len(x.unknownFields) + copy(dAtA[i:], x.unknownFields) + } + if x.IsTopicWorkerWhitelistEnabled { + i-- + if x.IsTopicWorkerWhitelistEnabled { + dAtA[i] = 1 + } else { + dAtA[i] = 0 + } + i-- + dAtA[i] = 0x8 + } + if input.Buf != nil { + input.Buf = append(input.Buf, dAtA...) + } else { + input.Buf = dAtA + } + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { + x := input.Message.Interface().(*IsTopicWorkerWhitelistEnabledResponse) + if x == nil { + return protoiface.UnmarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Flags: input.Flags, + }, nil + } + options := runtime.UnmarshalInputToOptions(input) + _ = options + dAtA := input.Buf + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: IsTopicWorkerWhitelistEnabledResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: IsTopicWorkerWhitelistEnabledResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field IsTopicWorkerWhitelistEnabled", wireType) + } + var v int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + x.IsTopicWorkerWhitelistEnabled = bool(v != 0) + default: + iNdEx = preIndex + skippy, err := runtime.Skip(dAtA[iNdEx:]) + if err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if (iNdEx + skippy) > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + if !options.DiscardUnknown { + x.unknownFields = append(x.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + } + iNdEx += skippy + } + } + + if iNdEx > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, nil + } + return &protoiface.Methods{ + NoUnkeyedLiterals: struct{}{}, + Flags: protoiface.SupportMarshalDeterministic | protoiface.SupportUnmarshalDiscardUnknown, + Size: size, + Marshal: marshal, + Unmarshal: unmarshal, + Merge: nil, + CheckInitialized: nil, + } +} + +var ( + md_IsTopicReputerWhitelistEnabledRequest protoreflect.MessageDescriptor + fd_IsTopicReputerWhitelistEnabledRequest_topic_id protoreflect.FieldDescriptor +) + +func init() { + file_emissions_v8_query_proto_init() + md_IsTopicReputerWhitelistEnabledRequest = File_emissions_v8_query_proto.Messages().ByName("IsTopicReputerWhitelistEnabledRequest") + fd_IsTopicReputerWhitelistEnabledRequest_topic_id = md_IsTopicReputerWhitelistEnabledRequest.Fields().ByName("topic_id") +} + +var _ protoreflect.Message = (*fastReflection_IsTopicReputerWhitelistEnabledRequest)(nil) + +type fastReflection_IsTopicReputerWhitelistEnabledRequest IsTopicReputerWhitelistEnabledRequest + +func (x *IsTopicReputerWhitelistEnabledRequest) ProtoReflect() protoreflect.Message { + return (*fastReflection_IsTopicReputerWhitelistEnabledRequest)(x) +} + +func (x *IsTopicReputerWhitelistEnabledRequest) slowProtoReflect() protoreflect.Message { + mi := &file_emissions_v8_query_proto_msgTypes[8] + 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) +} + +var _fastReflection_IsTopicReputerWhitelistEnabledRequest_messageType fastReflection_IsTopicReputerWhitelistEnabledRequest_messageType +var _ protoreflect.MessageType = fastReflection_IsTopicReputerWhitelistEnabledRequest_messageType{} + +type fastReflection_IsTopicReputerWhitelistEnabledRequest_messageType struct{} + +func (x fastReflection_IsTopicReputerWhitelistEnabledRequest_messageType) Zero() protoreflect.Message { + return (*fastReflection_IsTopicReputerWhitelistEnabledRequest)(nil) +} +func (x fastReflection_IsTopicReputerWhitelistEnabledRequest_messageType) New() protoreflect.Message { + return new(fastReflection_IsTopicReputerWhitelistEnabledRequest) +} +func (x fastReflection_IsTopicReputerWhitelistEnabledRequest_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_IsTopicReputerWhitelistEnabledRequest +} + +// Descriptor returns message descriptor, which contains only the protobuf +// type information for the message. +func (x *fastReflection_IsTopicReputerWhitelistEnabledRequest) Descriptor() protoreflect.MessageDescriptor { + return md_IsTopicReputerWhitelistEnabledRequest +} + +// Type returns the message type, which encapsulates both Go and protobuf +// type information. If the Go type information is not needed, +// it is recommended that the message descriptor be used instead. +func (x *fastReflection_IsTopicReputerWhitelistEnabledRequest) Type() protoreflect.MessageType { + return _fastReflection_IsTopicReputerWhitelistEnabledRequest_messageType +} + +// New returns a newly allocated and mutable empty message. +func (x *fastReflection_IsTopicReputerWhitelistEnabledRequest) New() protoreflect.Message { + return new(fastReflection_IsTopicReputerWhitelistEnabledRequest) +} + +// Interface unwraps the message reflection interface and +// returns the underlying ProtoMessage interface. +func (x *fastReflection_IsTopicReputerWhitelistEnabledRequest) Interface() protoreflect.ProtoMessage { + return (*IsTopicReputerWhitelistEnabledRequest)(x) +} + +// Range iterates over every populated field in an undefined order, +// calling f for each field descriptor and value encountered. +// Range returns immediately if f returns false. +// While iterating, mutating operations may only be performed +// on the current field descriptor. +func (x *fastReflection_IsTopicReputerWhitelistEnabledRequest) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { + if x.TopicId != uint64(0) { + value := protoreflect.ValueOfUint64(x.TopicId) + if !f(fd_IsTopicReputerWhitelistEnabledRequest_topic_id, value) { + return + } + } +} + +// Has reports whether a field is populated. +// +// Some fields have the property of nullability where it is possible to +// distinguish between the default value of a field and whether the field +// was explicitly populated with the default value. Singular message fields, +// member fields of a oneof, and proto2 scalar fields are nullable. Such +// fields are populated only if explicitly set. +// +// In other cases (aside from the nullable cases above), +// a proto3 scalar field is populated if it contains a non-zero value, and +// a repeated field is populated if it is non-empty. +func (x *fastReflection_IsTopicReputerWhitelistEnabledRequest) Has(fd protoreflect.FieldDescriptor) bool { + switch fd.FullName() { + case "emissions.v8.IsTopicReputerWhitelistEnabledRequest.topic_id": + return x.TopicId != uint64(0) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.IsTopicReputerWhitelistEnabledRequest")) + } + panic(fmt.Errorf("message emissions.v8.IsTopicReputerWhitelistEnabledRequest does not contain field %s", fd.FullName())) + } +} + +// Clear clears the field such that a subsequent Has call reports false. +// +// Clearing an extension field clears both the extension type and value +// associated with the given field number. +// +// Clear is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_IsTopicReputerWhitelistEnabledRequest) Clear(fd protoreflect.FieldDescriptor) { + switch fd.FullName() { + case "emissions.v8.IsTopicReputerWhitelistEnabledRequest.topic_id": + x.TopicId = uint64(0) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.IsTopicReputerWhitelistEnabledRequest")) + } + panic(fmt.Errorf("message emissions.v8.IsTopicReputerWhitelistEnabledRequest does not contain field %s", fd.FullName())) + } +} + +// Get retrieves the value for a field. +// +// For unpopulated scalars, it returns the default value, where +// the default value of a bytes scalar is guaranteed to be a copy. +// For unpopulated composite types, it returns an empty, read-only view +// of the value; to obtain a mutable reference, use Mutable. +func (x *fastReflection_IsTopicReputerWhitelistEnabledRequest) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { + switch descriptor.FullName() { + case "emissions.v8.IsTopicReputerWhitelistEnabledRequest.topic_id": + value := x.TopicId + return protoreflect.ValueOfUint64(value) + default: + if descriptor.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.IsTopicReputerWhitelistEnabledRequest")) + } + panic(fmt.Errorf("message emissions.v8.IsTopicReputerWhitelistEnabledRequest does not contain field %s", descriptor.FullName())) + } +} + +// Set stores the value for a field. +// +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType. +// When setting a composite type, it is unspecified whether the stored value +// aliases the source's memory in any way. If the composite value is an +// empty, read-only value, then it panics. +// +// Set is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_IsTopicReputerWhitelistEnabledRequest) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { + switch fd.FullName() { + case "emissions.v8.IsTopicReputerWhitelistEnabledRequest.topic_id": + x.TopicId = value.Uint() + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.IsTopicReputerWhitelistEnabledRequest")) + } + panic(fmt.Errorf("message emissions.v8.IsTopicReputerWhitelistEnabledRequest does not contain field %s", fd.FullName())) + } +} + +// Mutable returns a mutable reference to a composite type. +// +// If the field is unpopulated, it may allocate a composite value. +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType +// if not already stored. +// It panics if the field does not contain a composite type. +// +// Mutable is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_IsTopicReputerWhitelistEnabledRequest) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.IsTopicReputerWhitelistEnabledRequest.topic_id": + panic(fmt.Errorf("field topic_id of message emissions.v8.IsTopicReputerWhitelistEnabledRequest is not mutable")) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.IsTopicReputerWhitelistEnabledRequest")) + } + panic(fmt.Errorf("message emissions.v8.IsTopicReputerWhitelistEnabledRequest does not contain field %s", fd.FullName())) + } +} + +// NewField returns a new value that is assignable to the field +// for the given descriptor. For scalars, this returns the default value. +// For lists, maps, and messages, this returns a new, empty, mutable value. +func (x *fastReflection_IsTopicReputerWhitelistEnabledRequest) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.IsTopicReputerWhitelistEnabledRequest.topic_id": + return protoreflect.ValueOfUint64(uint64(0)) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.IsTopicReputerWhitelistEnabledRequest")) + } + panic(fmt.Errorf("message emissions.v8.IsTopicReputerWhitelistEnabledRequest does not contain field %s", fd.FullName())) + } +} + +// WhichOneof reports which field within the oneof is populated, +// returning nil if none are populated. +// It panics if the oneof descriptor does not belong to this message. +func (x *fastReflection_IsTopicReputerWhitelistEnabledRequest) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { + switch d.FullName() { + default: + panic(fmt.Errorf("%s is not a oneof field in emissions.v8.IsTopicReputerWhitelistEnabledRequest", d.FullName())) + } + panic("unreachable") +} + +// GetUnknown retrieves the entire list of unknown fields. +// The caller may only mutate the contents of the RawFields +// if the mutated bytes are stored back into the message with SetUnknown. +func (x *fastReflection_IsTopicReputerWhitelistEnabledRequest) GetUnknown() protoreflect.RawFields { + return x.unknownFields +} + +// SetUnknown stores an entire list of unknown fields. +// The raw fields must be syntactically valid according to the wire format. +// An implementation may panic if this is not the case. +// Once stored, the caller must not mutate the content of the RawFields. +// An empty RawFields may be passed to clear the fields. +// +// SetUnknown is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_IsTopicReputerWhitelistEnabledRequest) SetUnknown(fields protoreflect.RawFields) { + x.unknownFields = fields +} + +// IsValid reports whether the message is valid. +// +// An invalid message is an empty, read-only value. +// +// An invalid message often corresponds to a nil pointer of the concrete +// message type, but the details are implementation dependent. +// Validity is not part of the protobuf data model, and may not +// be preserved in marshaling or other operations. +func (x *fastReflection_IsTopicReputerWhitelistEnabledRequest) IsValid() bool { + return x != nil +} + +// ProtoMethods returns optional fastReflectionFeature-path implementations of various operations. +// This method may return nil. +// +// The returned methods type is identical to +// "google.golang.org/protobuf/runtime/protoiface".Methods. +// Consult the protoiface package documentation for details. +func (x *fastReflection_IsTopicReputerWhitelistEnabledRequest) ProtoMethods() *protoiface.Methods { + size := func(input protoiface.SizeInput) protoiface.SizeOutput { + x := input.Message.Interface().(*IsTopicReputerWhitelistEnabledRequest) + if x == nil { + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: 0, + } + } + options := runtime.SizeInputToOptions(input) + _ = options + var n int + var l int + _ = l + if x.TopicId != 0 { + n += 1 + runtime.Sov(uint64(x.TopicId)) + } + if x.unknownFields != nil { + n += len(x.unknownFields) + } + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: n, + } + } + + marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { + x := input.Message.Interface().(*IsTopicReputerWhitelistEnabledRequest) + if x == nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + options := runtime.MarshalInputToOptions(input) + _ = options + size := options.Size(x) + dAtA := make([]byte, size) + i := len(dAtA) + _ = i + var l int + _ = l + if x.unknownFields != nil { + i -= len(x.unknownFields) + copy(dAtA[i:], x.unknownFields) + } + if x.TopicId != 0 { + i = runtime.EncodeVarint(dAtA, i, uint64(x.TopicId)) + i-- + dAtA[i] = 0x8 + } + if input.Buf != nil { + input.Buf = append(input.Buf, dAtA...) + } else { + input.Buf = dAtA + } + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { + x := input.Message.Interface().(*IsTopicReputerWhitelistEnabledRequest) + if x == nil { + return protoiface.UnmarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Flags: input.Flags, + }, nil + } + options := runtime.UnmarshalInputToOptions(input) + _ = options + dAtA := input.Buf + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: IsTopicReputerWhitelistEnabledRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: IsTopicReputerWhitelistEnabledRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field TopicId", wireType) + } + x.TopicId = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + x.TopicId |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + default: + iNdEx = preIndex + skippy, err := runtime.Skip(dAtA[iNdEx:]) + if err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if (iNdEx + skippy) > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + if !options.DiscardUnknown { + x.unknownFields = append(x.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + } + iNdEx += skippy + } + } + + if iNdEx > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, nil + } + return &protoiface.Methods{ + NoUnkeyedLiterals: struct{}{}, + Flags: protoiface.SupportMarshalDeterministic | protoiface.SupportUnmarshalDiscardUnknown, + Size: size, + Marshal: marshal, + Unmarshal: unmarshal, + Merge: nil, + CheckInitialized: nil, + } +} + +var ( + md_IsTopicReputerWhitelistEnabledResponse protoreflect.MessageDescriptor + fd_IsTopicReputerWhitelistEnabledResponse_is_topic_reputer_whitelist_enabled protoreflect.FieldDescriptor +) + +func init() { + file_emissions_v8_query_proto_init() + md_IsTopicReputerWhitelistEnabledResponse = File_emissions_v8_query_proto.Messages().ByName("IsTopicReputerWhitelistEnabledResponse") + fd_IsTopicReputerWhitelistEnabledResponse_is_topic_reputer_whitelist_enabled = md_IsTopicReputerWhitelistEnabledResponse.Fields().ByName("is_topic_reputer_whitelist_enabled") +} + +var _ protoreflect.Message = (*fastReflection_IsTopicReputerWhitelistEnabledResponse)(nil) + +type fastReflection_IsTopicReputerWhitelistEnabledResponse IsTopicReputerWhitelistEnabledResponse + +func (x *IsTopicReputerWhitelistEnabledResponse) ProtoReflect() protoreflect.Message { + return (*fastReflection_IsTopicReputerWhitelistEnabledResponse)(x) +} + +func (x *IsTopicReputerWhitelistEnabledResponse) slowProtoReflect() protoreflect.Message { + mi := &file_emissions_v8_query_proto_msgTypes[9] + 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) +} + +var _fastReflection_IsTopicReputerWhitelistEnabledResponse_messageType fastReflection_IsTopicReputerWhitelistEnabledResponse_messageType +var _ protoreflect.MessageType = fastReflection_IsTopicReputerWhitelistEnabledResponse_messageType{} + +type fastReflection_IsTopicReputerWhitelistEnabledResponse_messageType struct{} + +func (x fastReflection_IsTopicReputerWhitelistEnabledResponse_messageType) Zero() protoreflect.Message { + return (*fastReflection_IsTopicReputerWhitelistEnabledResponse)(nil) +} +func (x fastReflection_IsTopicReputerWhitelistEnabledResponse_messageType) New() protoreflect.Message { + return new(fastReflection_IsTopicReputerWhitelistEnabledResponse) +} +func (x fastReflection_IsTopicReputerWhitelistEnabledResponse_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_IsTopicReputerWhitelistEnabledResponse +} + +// Descriptor returns message descriptor, which contains only the protobuf +// type information for the message. +func (x *fastReflection_IsTopicReputerWhitelistEnabledResponse) Descriptor() protoreflect.MessageDescriptor { + return md_IsTopicReputerWhitelistEnabledResponse +} + +// Type returns the message type, which encapsulates both Go and protobuf +// type information. If the Go type information is not needed, +// it is recommended that the message descriptor be used instead. +func (x *fastReflection_IsTopicReputerWhitelistEnabledResponse) Type() protoreflect.MessageType { + return _fastReflection_IsTopicReputerWhitelistEnabledResponse_messageType +} + +// New returns a newly allocated and mutable empty message. +func (x *fastReflection_IsTopicReputerWhitelistEnabledResponse) New() protoreflect.Message { + return new(fastReflection_IsTopicReputerWhitelistEnabledResponse) +} + +// Interface unwraps the message reflection interface and +// returns the underlying ProtoMessage interface. +func (x *fastReflection_IsTopicReputerWhitelistEnabledResponse) Interface() protoreflect.ProtoMessage { + return (*IsTopicReputerWhitelistEnabledResponse)(x) +} + +// Range iterates over every populated field in an undefined order, +// calling f for each field descriptor and value encountered. +// Range returns immediately if f returns false. +// While iterating, mutating operations may only be performed +// on the current field descriptor. +func (x *fastReflection_IsTopicReputerWhitelistEnabledResponse) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { + if x.IsTopicReputerWhitelistEnabled != false { + value := protoreflect.ValueOfBool(x.IsTopicReputerWhitelistEnabled) + if !f(fd_IsTopicReputerWhitelistEnabledResponse_is_topic_reputer_whitelist_enabled, value) { + return + } + } +} + +// Has reports whether a field is populated. +// +// Some fields have the property of nullability where it is possible to +// distinguish between the default value of a field and whether the field +// was explicitly populated with the default value. Singular message fields, +// member fields of a oneof, and proto2 scalar fields are nullable. Such +// fields are populated only if explicitly set. +// +// In other cases (aside from the nullable cases above), +// a proto3 scalar field is populated if it contains a non-zero value, and +// a repeated field is populated if it is non-empty. +func (x *fastReflection_IsTopicReputerWhitelistEnabledResponse) Has(fd protoreflect.FieldDescriptor) bool { + switch fd.FullName() { + case "emissions.v8.IsTopicReputerWhitelistEnabledResponse.is_topic_reputer_whitelist_enabled": + return x.IsTopicReputerWhitelistEnabled != false + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.IsTopicReputerWhitelistEnabledResponse")) + } + panic(fmt.Errorf("message emissions.v8.IsTopicReputerWhitelistEnabledResponse does not contain field %s", fd.FullName())) + } +} + +// Clear clears the field such that a subsequent Has call reports false. +// +// Clearing an extension field clears both the extension type and value +// associated with the given field number. +// +// Clear is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_IsTopicReputerWhitelistEnabledResponse) Clear(fd protoreflect.FieldDescriptor) { + switch fd.FullName() { + case "emissions.v8.IsTopicReputerWhitelistEnabledResponse.is_topic_reputer_whitelist_enabled": + x.IsTopicReputerWhitelistEnabled = false + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.IsTopicReputerWhitelistEnabledResponse")) + } + panic(fmt.Errorf("message emissions.v8.IsTopicReputerWhitelistEnabledResponse does not contain field %s", fd.FullName())) + } +} + +// Get retrieves the value for a field. +// +// For unpopulated scalars, it returns the default value, where +// the default value of a bytes scalar is guaranteed to be a copy. +// For unpopulated composite types, it returns an empty, read-only view +// of the value; to obtain a mutable reference, use Mutable. +func (x *fastReflection_IsTopicReputerWhitelistEnabledResponse) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { + switch descriptor.FullName() { + case "emissions.v8.IsTopicReputerWhitelistEnabledResponse.is_topic_reputer_whitelist_enabled": + value := x.IsTopicReputerWhitelistEnabled + return protoreflect.ValueOfBool(value) + default: + if descriptor.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.IsTopicReputerWhitelistEnabledResponse")) + } + panic(fmt.Errorf("message emissions.v8.IsTopicReputerWhitelistEnabledResponse does not contain field %s", descriptor.FullName())) + } +} + +// Set stores the value for a field. +// +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType. +// When setting a composite type, it is unspecified whether the stored value +// aliases the source's memory in any way. If the composite value is an +// empty, read-only value, then it panics. +// +// Set is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_IsTopicReputerWhitelistEnabledResponse) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { + switch fd.FullName() { + case "emissions.v8.IsTopicReputerWhitelistEnabledResponse.is_topic_reputer_whitelist_enabled": + x.IsTopicReputerWhitelistEnabled = value.Bool() + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.IsTopicReputerWhitelistEnabledResponse")) + } + panic(fmt.Errorf("message emissions.v8.IsTopicReputerWhitelistEnabledResponse does not contain field %s", fd.FullName())) + } +} + +// Mutable returns a mutable reference to a composite type. +// +// If the field is unpopulated, it may allocate a composite value. +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType +// if not already stored. +// It panics if the field does not contain a composite type. +// +// Mutable is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_IsTopicReputerWhitelistEnabledResponse) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.IsTopicReputerWhitelistEnabledResponse.is_topic_reputer_whitelist_enabled": + panic(fmt.Errorf("field is_topic_reputer_whitelist_enabled of message emissions.v8.IsTopicReputerWhitelistEnabledResponse is not mutable")) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.IsTopicReputerWhitelistEnabledResponse")) + } + panic(fmt.Errorf("message emissions.v8.IsTopicReputerWhitelistEnabledResponse does not contain field %s", fd.FullName())) + } +} + +// NewField returns a new value that is assignable to the field +// for the given descriptor. For scalars, this returns the default value. +// For lists, maps, and messages, this returns a new, empty, mutable value. +func (x *fastReflection_IsTopicReputerWhitelistEnabledResponse) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.IsTopicReputerWhitelistEnabledResponse.is_topic_reputer_whitelist_enabled": + return protoreflect.ValueOfBool(false) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.IsTopicReputerWhitelistEnabledResponse")) + } + panic(fmt.Errorf("message emissions.v8.IsTopicReputerWhitelistEnabledResponse does not contain field %s", fd.FullName())) + } +} + +// WhichOneof reports which field within the oneof is populated, +// returning nil if none are populated. +// It panics if the oneof descriptor does not belong to this message. +func (x *fastReflection_IsTopicReputerWhitelistEnabledResponse) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { + switch d.FullName() { + default: + panic(fmt.Errorf("%s is not a oneof field in emissions.v8.IsTopicReputerWhitelistEnabledResponse", d.FullName())) + } + panic("unreachable") +} + +// GetUnknown retrieves the entire list of unknown fields. +// The caller may only mutate the contents of the RawFields +// if the mutated bytes are stored back into the message with SetUnknown. +func (x *fastReflection_IsTopicReputerWhitelistEnabledResponse) GetUnknown() protoreflect.RawFields { + return x.unknownFields +} + +// SetUnknown stores an entire list of unknown fields. +// The raw fields must be syntactically valid according to the wire format. +// An implementation may panic if this is not the case. +// Once stored, the caller must not mutate the content of the RawFields. +// An empty RawFields may be passed to clear the fields. +// +// SetUnknown is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_IsTopicReputerWhitelistEnabledResponse) SetUnknown(fields protoreflect.RawFields) { + x.unknownFields = fields +} + +// IsValid reports whether the message is valid. +// +// An invalid message is an empty, read-only value. +// +// An invalid message often corresponds to a nil pointer of the concrete +// message type, but the details are implementation dependent. +// Validity is not part of the protobuf data model, and may not +// be preserved in marshaling or other operations. +func (x *fastReflection_IsTopicReputerWhitelistEnabledResponse) IsValid() bool { + return x != nil +} + +// ProtoMethods returns optional fastReflectionFeature-path implementations of various operations. +// This method may return nil. +// +// The returned methods type is identical to +// "google.golang.org/protobuf/runtime/protoiface".Methods. +// Consult the protoiface package documentation for details. +func (x *fastReflection_IsTopicReputerWhitelistEnabledResponse) ProtoMethods() *protoiface.Methods { + size := func(input protoiface.SizeInput) protoiface.SizeOutput { + x := input.Message.Interface().(*IsTopicReputerWhitelistEnabledResponse) + if x == nil { + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: 0, + } + } + options := runtime.SizeInputToOptions(input) + _ = options + var n int + var l int + _ = l + if x.IsTopicReputerWhitelistEnabled { + n += 2 + } + if x.unknownFields != nil { + n += len(x.unknownFields) + } + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: n, + } + } + + marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { + x := input.Message.Interface().(*IsTopicReputerWhitelistEnabledResponse) + if x == nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + options := runtime.MarshalInputToOptions(input) + _ = options + size := options.Size(x) + dAtA := make([]byte, size) + i := len(dAtA) + _ = i + var l int + _ = l + if x.unknownFields != nil { + i -= len(x.unknownFields) + copy(dAtA[i:], x.unknownFields) + } + if x.IsTopicReputerWhitelistEnabled { + i-- + if x.IsTopicReputerWhitelistEnabled { + dAtA[i] = 1 + } else { + dAtA[i] = 0 + } + i-- + dAtA[i] = 0x8 + } + if input.Buf != nil { + input.Buf = append(input.Buf, dAtA...) + } else { + input.Buf = dAtA + } + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { + x := input.Message.Interface().(*IsTopicReputerWhitelistEnabledResponse) + if x == nil { + return protoiface.UnmarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Flags: input.Flags, + }, nil + } + options := runtime.UnmarshalInputToOptions(input) + _ = options + dAtA := input.Buf + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: IsTopicReputerWhitelistEnabledResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: IsTopicReputerWhitelistEnabledResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field IsTopicReputerWhitelistEnabled", wireType) + } + var v int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + x.IsTopicReputerWhitelistEnabled = bool(v != 0) + default: + iNdEx = preIndex + skippy, err := runtime.Skip(dAtA[iNdEx:]) + if err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if (iNdEx + skippy) > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + if !options.DiscardUnknown { + x.unknownFields = append(x.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + } + iNdEx += skippy + } + } + + if iNdEx > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, nil + } + return &protoiface.Methods{ + NoUnkeyedLiterals: struct{}{}, + Flags: protoiface.SupportMarshalDeterministic | protoiface.SupportUnmarshalDiscardUnknown, + Size: size, + Marshal: marshal, + Unmarshal: unmarshal, + Merge: nil, + CheckInitialized: nil, + } +} + +var ( + md_IsWhitelistedTopicCreatorRequest protoreflect.MessageDescriptor + fd_IsWhitelistedTopicCreatorRequest_address protoreflect.FieldDescriptor +) + +func init() { + file_emissions_v8_query_proto_init() + md_IsWhitelistedTopicCreatorRequest = File_emissions_v8_query_proto.Messages().ByName("IsWhitelistedTopicCreatorRequest") + fd_IsWhitelistedTopicCreatorRequest_address = md_IsWhitelistedTopicCreatorRequest.Fields().ByName("address") +} + +var _ protoreflect.Message = (*fastReflection_IsWhitelistedTopicCreatorRequest)(nil) + +type fastReflection_IsWhitelistedTopicCreatorRequest IsWhitelistedTopicCreatorRequest + +func (x *IsWhitelistedTopicCreatorRequest) ProtoReflect() protoreflect.Message { + return (*fastReflection_IsWhitelistedTopicCreatorRequest)(x) +} + +func (x *IsWhitelistedTopicCreatorRequest) slowProtoReflect() protoreflect.Message { + mi := &file_emissions_v8_query_proto_msgTypes[10] + 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) +} + +var _fastReflection_IsWhitelistedTopicCreatorRequest_messageType fastReflection_IsWhitelistedTopicCreatorRequest_messageType +var _ protoreflect.MessageType = fastReflection_IsWhitelistedTopicCreatorRequest_messageType{} + +type fastReflection_IsWhitelistedTopicCreatorRequest_messageType struct{} + +func (x fastReflection_IsWhitelistedTopicCreatorRequest_messageType) Zero() protoreflect.Message { + return (*fastReflection_IsWhitelistedTopicCreatorRequest)(nil) +} +func (x fastReflection_IsWhitelistedTopicCreatorRequest_messageType) New() protoreflect.Message { + return new(fastReflection_IsWhitelistedTopicCreatorRequest) +} +func (x fastReflection_IsWhitelistedTopicCreatorRequest_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_IsWhitelistedTopicCreatorRequest +} + +// Descriptor returns message descriptor, which contains only the protobuf +// type information for the message. +func (x *fastReflection_IsWhitelistedTopicCreatorRequest) Descriptor() protoreflect.MessageDescriptor { + return md_IsWhitelistedTopicCreatorRequest +} + +// Type returns the message type, which encapsulates both Go and protobuf +// type information. If the Go type information is not needed, +// it is recommended that the message descriptor be used instead. +func (x *fastReflection_IsWhitelistedTopicCreatorRequest) Type() protoreflect.MessageType { + return _fastReflection_IsWhitelistedTopicCreatorRequest_messageType +} + +// New returns a newly allocated and mutable empty message. +func (x *fastReflection_IsWhitelistedTopicCreatorRequest) New() protoreflect.Message { + return new(fastReflection_IsWhitelistedTopicCreatorRequest) +} + +// Interface unwraps the message reflection interface and +// returns the underlying ProtoMessage interface. +func (x *fastReflection_IsWhitelistedTopicCreatorRequest) Interface() protoreflect.ProtoMessage { + return (*IsWhitelistedTopicCreatorRequest)(x) +} + +// Range iterates over every populated field in an undefined order, +// calling f for each field descriptor and value encountered. +// Range returns immediately if f returns false. +// While iterating, mutating operations may only be performed +// on the current field descriptor. +func (x *fastReflection_IsWhitelistedTopicCreatorRequest) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { + if x.Address != "" { + value := protoreflect.ValueOfString(x.Address) + if !f(fd_IsWhitelistedTopicCreatorRequest_address, value) { + return + } + } +} + +// Has reports whether a field is populated. +// +// Some fields have the property of nullability where it is possible to +// distinguish between the default value of a field and whether the field +// was explicitly populated with the default value. Singular message fields, +// member fields of a oneof, and proto2 scalar fields are nullable. Such +// fields are populated only if explicitly set. +// +// In other cases (aside from the nullable cases above), +// a proto3 scalar field is populated if it contains a non-zero value, and +// a repeated field is populated if it is non-empty. +func (x *fastReflection_IsWhitelistedTopicCreatorRequest) Has(fd protoreflect.FieldDescriptor) bool { + switch fd.FullName() { + case "emissions.v8.IsWhitelistedTopicCreatorRequest.address": + return x.Address != "" + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.IsWhitelistedTopicCreatorRequest")) + } + panic(fmt.Errorf("message emissions.v8.IsWhitelistedTopicCreatorRequest does not contain field %s", fd.FullName())) + } +} + +// Clear clears the field such that a subsequent Has call reports false. +// +// Clearing an extension field clears both the extension type and value +// associated with the given field number. +// +// Clear is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_IsWhitelistedTopicCreatorRequest) Clear(fd protoreflect.FieldDescriptor) { + switch fd.FullName() { + case "emissions.v8.IsWhitelistedTopicCreatorRequest.address": + x.Address = "" + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.IsWhitelistedTopicCreatorRequest")) + } + panic(fmt.Errorf("message emissions.v8.IsWhitelistedTopicCreatorRequest does not contain field %s", fd.FullName())) + } +} + +// Get retrieves the value for a field. +// +// For unpopulated scalars, it returns the default value, where +// the default value of a bytes scalar is guaranteed to be a copy. +// For unpopulated composite types, it returns an empty, read-only view +// of the value; to obtain a mutable reference, use Mutable. +func (x *fastReflection_IsWhitelistedTopicCreatorRequest) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { + switch descriptor.FullName() { + case "emissions.v8.IsWhitelistedTopicCreatorRequest.address": + value := x.Address + return protoreflect.ValueOfString(value) + default: + if descriptor.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.IsWhitelistedTopicCreatorRequest")) + } + panic(fmt.Errorf("message emissions.v8.IsWhitelistedTopicCreatorRequest does not contain field %s", descriptor.FullName())) + } +} + +// Set stores the value for a field. +// +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType. +// When setting a composite type, it is unspecified whether the stored value +// aliases the source's memory in any way. If the composite value is an +// empty, read-only value, then it panics. +// +// Set is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_IsWhitelistedTopicCreatorRequest) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { + switch fd.FullName() { + case "emissions.v8.IsWhitelistedTopicCreatorRequest.address": + x.Address = value.Interface().(string) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.IsWhitelistedTopicCreatorRequest")) + } + panic(fmt.Errorf("message emissions.v8.IsWhitelistedTopicCreatorRequest does not contain field %s", fd.FullName())) + } +} + +// Mutable returns a mutable reference to a composite type. +// +// If the field is unpopulated, it may allocate a composite value. +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType +// if not already stored. +// It panics if the field does not contain a composite type. +// +// Mutable is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_IsWhitelistedTopicCreatorRequest) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.IsWhitelistedTopicCreatorRequest.address": + panic(fmt.Errorf("field address of message emissions.v8.IsWhitelistedTopicCreatorRequest is not mutable")) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.IsWhitelistedTopicCreatorRequest")) + } + panic(fmt.Errorf("message emissions.v8.IsWhitelistedTopicCreatorRequest does not contain field %s", fd.FullName())) + } +} + +// NewField returns a new value that is assignable to the field +// for the given descriptor. For scalars, this returns the default value. +// For lists, maps, and messages, this returns a new, empty, mutable value. +func (x *fastReflection_IsWhitelistedTopicCreatorRequest) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.IsWhitelistedTopicCreatorRequest.address": + return protoreflect.ValueOfString("") + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.IsWhitelistedTopicCreatorRequest")) + } + panic(fmt.Errorf("message emissions.v8.IsWhitelistedTopicCreatorRequest does not contain field %s", fd.FullName())) + } +} + +// WhichOneof reports which field within the oneof is populated, +// returning nil if none are populated. +// It panics if the oneof descriptor does not belong to this message. +func (x *fastReflection_IsWhitelistedTopicCreatorRequest) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { + switch d.FullName() { + default: + panic(fmt.Errorf("%s is not a oneof field in emissions.v8.IsWhitelistedTopicCreatorRequest", d.FullName())) + } + panic("unreachable") +} + +// GetUnknown retrieves the entire list of unknown fields. +// The caller may only mutate the contents of the RawFields +// if the mutated bytes are stored back into the message with SetUnknown. +func (x *fastReflection_IsWhitelistedTopicCreatorRequest) GetUnknown() protoreflect.RawFields { + return x.unknownFields +} + +// SetUnknown stores an entire list of unknown fields. +// The raw fields must be syntactically valid according to the wire format. +// An implementation may panic if this is not the case. +// Once stored, the caller must not mutate the content of the RawFields. +// An empty RawFields may be passed to clear the fields. +// +// SetUnknown is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_IsWhitelistedTopicCreatorRequest) SetUnknown(fields protoreflect.RawFields) { + x.unknownFields = fields +} + +// IsValid reports whether the message is valid. +// +// An invalid message is an empty, read-only value. +// +// An invalid message often corresponds to a nil pointer of the concrete +// message type, but the details are implementation dependent. +// Validity is not part of the protobuf data model, and may not +// be preserved in marshaling or other operations. +func (x *fastReflection_IsWhitelistedTopicCreatorRequest) IsValid() bool { + return x != nil +} + +// ProtoMethods returns optional fastReflectionFeature-path implementations of various operations. +// This method may return nil. +// +// The returned methods type is identical to +// "google.golang.org/protobuf/runtime/protoiface".Methods. +// Consult the protoiface package documentation for details. +func (x *fastReflection_IsWhitelistedTopicCreatorRequest) ProtoMethods() *protoiface.Methods { + size := func(input protoiface.SizeInput) protoiface.SizeOutput { + x := input.Message.Interface().(*IsWhitelistedTopicCreatorRequest) + if x == nil { + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: 0, + } + } + options := runtime.SizeInputToOptions(input) + _ = options + var n int + var l int + _ = l + l = len(x.Address) + if l > 0 { + n += 1 + l + runtime.Sov(uint64(l)) + } + if x.unknownFields != nil { + n += len(x.unknownFields) + } + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: n, + } + } + + marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { + x := input.Message.Interface().(*IsWhitelistedTopicCreatorRequest) + if x == nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + options := runtime.MarshalInputToOptions(input) + _ = options + size := options.Size(x) + dAtA := make([]byte, size) + i := len(dAtA) + _ = i + var l int + _ = l + if x.unknownFields != nil { + i -= len(x.unknownFields) + copy(dAtA[i:], x.unknownFields) + } + if len(x.Address) > 0 { + i -= len(x.Address) + copy(dAtA[i:], x.Address) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.Address))) + i-- + dAtA[i] = 0xa + } + if input.Buf != nil { + input.Buf = append(input.Buf, dAtA...) + } else { + input.Buf = dAtA + } + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { + x := input.Message.Interface().(*IsWhitelistedTopicCreatorRequest) + if x == nil { + return protoiface.UnmarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Flags: input.Flags, + }, nil + } + options := runtime.UnmarshalInputToOptions(input) + _ = options + dAtA := input.Buf + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: IsWhitelistedTopicCreatorRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: IsWhitelistedTopicCreatorRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Address", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + x.Address = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := runtime.Skip(dAtA[iNdEx:]) + if err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if (iNdEx + skippy) > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + if !options.DiscardUnknown { + x.unknownFields = append(x.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + } + iNdEx += skippy + } + } + + if iNdEx > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, nil + } + return &protoiface.Methods{ + NoUnkeyedLiterals: struct{}{}, + Flags: protoiface.SupportMarshalDeterministic | protoiface.SupportUnmarshalDiscardUnknown, + Size: size, + Marshal: marshal, + Unmarshal: unmarshal, + Merge: nil, + CheckInitialized: nil, + } +} + +var ( + md_IsWhitelistedTopicCreatorResponse protoreflect.MessageDescriptor + fd_IsWhitelistedTopicCreatorResponse_is_whitelisted_topic_creator protoreflect.FieldDescriptor +) + +func init() { + file_emissions_v8_query_proto_init() + md_IsWhitelistedTopicCreatorResponse = File_emissions_v8_query_proto.Messages().ByName("IsWhitelistedTopicCreatorResponse") + fd_IsWhitelistedTopicCreatorResponse_is_whitelisted_topic_creator = md_IsWhitelistedTopicCreatorResponse.Fields().ByName("is_whitelisted_topic_creator") +} + +var _ protoreflect.Message = (*fastReflection_IsWhitelistedTopicCreatorResponse)(nil) + +type fastReflection_IsWhitelistedTopicCreatorResponse IsWhitelistedTopicCreatorResponse + +func (x *IsWhitelistedTopicCreatorResponse) ProtoReflect() protoreflect.Message { + return (*fastReflection_IsWhitelistedTopicCreatorResponse)(x) +} + +func (x *IsWhitelistedTopicCreatorResponse) slowProtoReflect() protoreflect.Message { + mi := &file_emissions_v8_query_proto_msgTypes[11] + 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) +} + +var _fastReflection_IsWhitelistedTopicCreatorResponse_messageType fastReflection_IsWhitelistedTopicCreatorResponse_messageType +var _ protoreflect.MessageType = fastReflection_IsWhitelistedTopicCreatorResponse_messageType{} + +type fastReflection_IsWhitelistedTopicCreatorResponse_messageType struct{} + +func (x fastReflection_IsWhitelistedTopicCreatorResponse_messageType) Zero() protoreflect.Message { + return (*fastReflection_IsWhitelistedTopicCreatorResponse)(nil) +} +func (x fastReflection_IsWhitelistedTopicCreatorResponse_messageType) New() protoreflect.Message { + return new(fastReflection_IsWhitelistedTopicCreatorResponse) +} +func (x fastReflection_IsWhitelistedTopicCreatorResponse_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_IsWhitelistedTopicCreatorResponse +} + +// Descriptor returns message descriptor, which contains only the protobuf +// type information for the message. +func (x *fastReflection_IsWhitelistedTopicCreatorResponse) Descriptor() protoreflect.MessageDescriptor { + return md_IsWhitelistedTopicCreatorResponse +} + +// Type returns the message type, which encapsulates both Go and protobuf +// type information. If the Go type information is not needed, +// it is recommended that the message descriptor be used instead. +func (x *fastReflection_IsWhitelistedTopicCreatorResponse) Type() protoreflect.MessageType { + return _fastReflection_IsWhitelistedTopicCreatorResponse_messageType +} + +// New returns a newly allocated and mutable empty message. +func (x *fastReflection_IsWhitelistedTopicCreatorResponse) New() protoreflect.Message { + return new(fastReflection_IsWhitelistedTopicCreatorResponse) +} + +// Interface unwraps the message reflection interface and +// returns the underlying ProtoMessage interface. +func (x *fastReflection_IsWhitelistedTopicCreatorResponse) Interface() protoreflect.ProtoMessage { + return (*IsWhitelistedTopicCreatorResponse)(x) +} + +// Range iterates over every populated field in an undefined order, +// calling f for each field descriptor and value encountered. +// Range returns immediately if f returns false. +// While iterating, mutating operations may only be performed +// on the current field descriptor. +func (x *fastReflection_IsWhitelistedTopicCreatorResponse) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { + if x.IsWhitelistedTopicCreator != false { + value := protoreflect.ValueOfBool(x.IsWhitelistedTopicCreator) + if !f(fd_IsWhitelistedTopicCreatorResponse_is_whitelisted_topic_creator, value) { + return + } + } +} + +// Has reports whether a field is populated. +// +// Some fields have the property of nullability where it is possible to +// distinguish between the default value of a field and whether the field +// was explicitly populated with the default value. Singular message fields, +// member fields of a oneof, and proto2 scalar fields are nullable. Such +// fields are populated only if explicitly set. +// +// In other cases (aside from the nullable cases above), +// a proto3 scalar field is populated if it contains a non-zero value, and +// a repeated field is populated if it is non-empty. +func (x *fastReflection_IsWhitelistedTopicCreatorResponse) Has(fd protoreflect.FieldDescriptor) bool { + switch fd.FullName() { + case "emissions.v8.IsWhitelistedTopicCreatorResponse.is_whitelisted_topic_creator": + return x.IsWhitelistedTopicCreator != false + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.IsWhitelistedTopicCreatorResponse")) + } + panic(fmt.Errorf("message emissions.v8.IsWhitelistedTopicCreatorResponse does not contain field %s", fd.FullName())) + } +} + +// Clear clears the field such that a subsequent Has call reports false. +// +// Clearing an extension field clears both the extension type and value +// associated with the given field number. +// +// Clear is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_IsWhitelistedTopicCreatorResponse) Clear(fd protoreflect.FieldDescriptor) { + switch fd.FullName() { + case "emissions.v8.IsWhitelistedTopicCreatorResponse.is_whitelisted_topic_creator": + x.IsWhitelistedTopicCreator = false + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.IsWhitelistedTopicCreatorResponse")) + } + panic(fmt.Errorf("message emissions.v8.IsWhitelistedTopicCreatorResponse does not contain field %s", fd.FullName())) + } +} + +// Get retrieves the value for a field. +// +// For unpopulated scalars, it returns the default value, where +// the default value of a bytes scalar is guaranteed to be a copy. +// For unpopulated composite types, it returns an empty, read-only view +// of the value; to obtain a mutable reference, use Mutable. +func (x *fastReflection_IsWhitelistedTopicCreatorResponse) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { + switch descriptor.FullName() { + case "emissions.v8.IsWhitelistedTopicCreatorResponse.is_whitelisted_topic_creator": + value := x.IsWhitelistedTopicCreator + return protoreflect.ValueOfBool(value) + default: + if descriptor.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.IsWhitelistedTopicCreatorResponse")) + } + panic(fmt.Errorf("message emissions.v8.IsWhitelistedTopicCreatorResponse does not contain field %s", descriptor.FullName())) + } +} + +// Set stores the value for a field. +// +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType. +// When setting a composite type, it is unspecified whether the stored value +// aliases the source's memory in any way. If the composite value is an +// empty, read-only value, then it panics. +// +// Set is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_IsWhitelistedTopicCreatorResponse) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { + switch fd.FullName() { + case "emissions.v8.IsWhitelistedTopicCreatorResponse.is_whitelisted_topic_creator": + x.IsWhitelistedTopicCreator = value.Bool() + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.IsWhitelistedTopicCreatorResponse")) + } + panic(fmt.Errorf("message emissions.v8.IsWhitelistedTopicCreatorResponse does not contain field %s", fd.FullName())) + } +} + +// Mutable returns a mutable reference to a composite type. +// +// If the field is unpopulated, it may allocate a composite value. +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType +// if not already stored. +// It panics if the field does not contain a composite type. +// +// Mutable is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_IsWhitelistedTopicCreatorResponse) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.IsWhitelistedTopicCreatorResponse.is_whitelisted_topic_creator": + panic(fmt.Errorf("field is_whitelisted_topic_creator of message emissions.v8.IsWhitelistedTopicCreatorResponse is not mutable")) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.IsWhitelistedTopicCreatorResponse")) + } + panic(fmt.Errorf("message emissions.v8.IsWhitelistedTopicCreatorResponse does not contain field %s", fd.FullName())) + } +} + +// NewField returns a new value that is assignable to the field +// for the given descriptor. For scalars, this returns the default value. +// For lists, maps, and messages, this returns a new, empty, mutable value. +func (x *fastReflection_IsWhitelistedTopicCreatorResponse) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.IsWhitelistedTopicCreatorResponse.is_whitelisted_topic_creator": + return protoreflect.ValueOfBool(false) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.IsWhitelistedTopicCreatorResponse")) + } + panic(fmt.Errorf("message emissions.v8.IsWhitelistedTopicCreatorResponse does not contain field %s", fd.FullName())) + } +} + +// WhichOneof reports which field within the oneof is populated, +// returning nil if none are populated. +// It panics if the oneof descriptor does not belong to this message. +func (x *fastReflection_IsWhitelistedTopicCreatorResponse) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { + switch d.FullName() { + default: + panic(fmt.Errorf("%s is not a oneof field in emissions.v8.IsWhitelistedTopicCreatorResponse", d.FullName())) + } + panic("unreachable") +} + +// GetUnknown retrieves the entire list of unknown fields. +// The caller may only mutate the contents of the RawFields +// if the mutated bytes are stored back into the message with SetUnknown. +func (x *fastReflection_IsWhitelistedTopicCreatorResponse) GetUnknown() protoreflect.RawFields { + return x.unknownFields +} + +// SetUnknown stores an entire list of unknown fields. +// The raw fields must be syntactically valid according to the wire format. +// An implementation may panic if this is not the case. +// Once stored, the caller must not mutate the content of the RawFields. +// An empty RawFields may be passed to clear the fields. +// +// SetUnknown is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_IsWhitelistedTopicCreatorResponse) SetUnknown(fields protoreflect.RawFields) { + x.unknownFields = fields +} + +// IsValid reports whether the message is valid. +// +// An invalid message is an empty, read-only value. +// +// An invalid message often corresponds to a nil pointer of the concrete +// message type, but the details are implementation dependent. +// Validity is not part of the protobuf data model, and may not +// be preserved in marshaling or other operations. +func (x *fastReflection_IsWhitelistedTopicCreatorResponse) IsValid() bool { + return x != nil +} + +// ProtoMethods returns optional fastReflectionFeature-path implementations of various operations. +// This method may return nil. +// +// The returned methods type is identical to +// "google.golang.org/protobuf/runtime/protoiface".Methods. +// Consult the protoiface package documentation for details. +func (x *fastReflection_IsWhitelistedTopicCreatorResponse) ProtoMethods() *protoiface.Methods { + size := func(input protoiface.SizeInput) protoiface.SizeOutput { + x := input.Message.Interface().(*IsWhitelistedTopicCreatorResponse) + if x == nil { + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: 0, + } + } + options := runtime.SizeInputToOptions(input) + _ = options + var n int + var l int + _ = l + if x.IsWhitelistedTopicCreator { + n += 2 + } + if x.unknownFields != nil { + n += len(x.unknownFields) + } + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: n, + } + } + + marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { + x := input.Message.Interface().(*IsWhitelistedTopicCreatorResponse) + if x == nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + options := runtime.MarshalInputToOptions(input) + _ = options + size := options.Size(x) + dAtA := make([]byte, size) + i := len(dAtA) + _ = i + var l int + _ = l + if x.unknownFields != nil { + i -= len(x.unknownFields) + copy(dAtA[i:], x.unknownFields) + } + if x.IsWhitelistedTopicCreator { + i-- + if x.IsWhitelistedTopicCreator { + dAtA[i] = 1 + } else { + dAtA[i] = 0 + } + i-- + dAtA[i] = 0x8 + } + if input.Buf != nil { + input.Buf = append(input.Buf, dAtA...) + } else { + input.Buf = dAtA + } + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { + x := input.Message.Interface().(*IsWhitelistedTopicCreatorResponse) + if x == nil { + return protoiface.UnmarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Flags: input.Flags, + }, nil + } + options := runtime.UnmarshalInputToOptions(input) + _ = options + dAtA := input.Buf + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: IsWhitelistedTopicCreatorResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: IsWhitelistedTopicCreatorResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field IsWhitelistedTopicCreator", wireType) + } + var v int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + x.IsWhitelistedTopicCreator = bool(v != 0) + default: + iNdEx = preIndex + skippy, err := runtime.Skip(dAtA[iNdEx:]) + if err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if (iNdEx + skippy) > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + if !options.DiscardUnknown { + x.unknownFields = append(x.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + } + iNdEx += skippy + } + } + + if iNdEx > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, nil + } + return &protoiface.Methods{ + NoUnkeyedLiterals: struct{}{}, + Flags: protoiface.SupportMarshalDeterministic | protoiface.SupportUnmarshalDiscardUnknown, + Size: size, + Marshal: marshal, + Unmarshal: unmarshal, + Merge: nil, + CheckInitialized: nil, + } +} + +var ( + md_IsWhitelistedGlobalActorRequest protoreflect.MessageDescriptor + fd_IsWhitelistedGlobalActorRequest_address protoreflect.FieldDescriptor +) + +func init() { + file_emissions_v8_query_proto_init() + md_IsWhitelistedGlobalActorRequest = File_emissions_v8_query_proto.Messages().ByName("IsWhitelistedGlobalActorRequest") + fd_IsWhitelistedGlobalActorRequest_address = md_IsWhitelistedGlobalActorRequest.Fields().ByName("address") +} + +var _ protoreflect.Message = (*fastReflection_IsWhitelistedGlobalActorRequest)(nil) + +type fastReflection_IsWhitelistedGlobalActorRequest IsWhitelistedGlobalActorRequest + +func (x *IsWhitelistedGlobalActorRequest) ProtoReflect() protoreflect.Message { + return (*fastReflection_IsWhitelistedGlobalActorRequest)(x) +} + +func (x *IsWhitelistedGlobalActorRequest) slowProtoReflect() protoreflect.Message { + mi := &file_emissions_v8_query_proto_msgTypes[12] + 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) +} + +var _fastReflection_IsWhitelistedGlobalActorRequest_messageType fastReflection_IsWhitelistedGlobalActorRequest_messageType +var _ protoreflect.MessageType = fastReflection_IsWhitelistedGlobalActorRequest_messageType{} + +type fastReflection_IsWhitelistedGlobalActorRequest_messageType struct{} + +func (x fastReflection_IsWhitelistedGlobalActorRequest_messageType) Zero() protoreflect.Message { + return (*fastReflection_IsWhitelistedGlobalActorRequest)(nil) +} +func (x fastReflection_IsWhitelistedGlobalActorRequest_messageType) New() protoreflect.Message { + return new(fastReflection_IsWhitelistedGlobalActorRequest) +} +func (x fastReflection_IsWhitelistedGlobalActorRequest_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_IsWhitelistedGlobalActorRequest +} + +// Descriptor returns message descriptor, which contains only the protobuf +// type information for the message. +func (x *fastReflection_IsWhitelistedGlobalActorRequest) Descriptor() protoreflect.MessageDescriptor { + return md_IsWhitelistedGlobalActorRequest +} + +// Type returns the message type, which encapsulates both Go and protobuf +// type information. If the Go type information is not needed, +// it is recommended that the message descriptor be used instead. +func (x *fastReflection_IsWhitelistedGlobalActorRequest) Type() protoreflect.MessageType { + return _fastReflection_IsWhitelistedGlobalActorRequest_messageType +} + +// New returns a newly allocated and mutable empty message. +func (x *fastReflection_IsWhitelistedGlobalActorRequest) New() protoreflect.Message { + return new(fastReflection_IsWhitelistedGlobalActorRequest) +} + +// Interface unwraps the message reflection interface and +// returns the underlying ProtoMessage interface. +func (x *fastReflection_IsWhitelistedGlobalActorRequest) Interface() protoreflect.ProtoMessage { + return (*IsWhitelistedGlobalActorRequest)(x) +} + +// Range iterates over every populated field in an undefined order, +// calling f for each field descriptor and value encountered. +// Range returns immediately if f returns false. +// While iterating, mutating operations may only be performed +// on the current field descriptor. +func (x *fastReflection_IsWhitelistedGlobalActorRequest) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { + if x.Address != "" { + value := protoreflect.ValueOfString(x.Address) + if !f(fd_IsWhitelistedGlobalActorRequest_address, value) { + return + } + } +} + +// Has reports whether a field is populated. +// +// Some fields have the property of nullability where it is possible to +// distinguish between the default value of a field and whether the field +// was explicitly populated with the default value. Singular message fields, +// member fields of a oneof, and proto2 scalar fields are nullable. Such +// fields are populated only if explicitly set. +// +// In other cases (aside from the nullable cases above), +// a proto3 scalar field is populated if it contains a non-zero value, and +// a repeated field is populated if it is non-empty. +func (x *fastReflection_IsWhitelistedGlobalActorRequest) Has(fd protoreflect.FieldDescriptor) bool { + switch fd.FullName() { + case "emissions.v8.IsWhitelistedGlobalActorRequest.address": + return x.Address != "" + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.IsWhitelistedGlobalActorRequest")) + } + panic(fmt.Errorf("message emissions.v8.IsWhitelistedGlobalActorRequest does not contain field %s", fd.FullName())) + } +} + +// Clear clears the field such that a subsequent Has call reports false. +// +// Clearing an extension field clears both the extension type and value +// associated with the given field number. +// +// Clear is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_IsWhitelistedGlobalActorRequest) Clear(fd protoreflect.FieldDescriptor) { + switch fd.FullName() { + case "emissions.v8.IsWhitelistedGlobalActorRequest.address": + x.Address = "" + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.IsWhitelistedGlobalActorRequest")) + } + panic(fmt.Errorf("message emissions.v8.IsWhitelistedGlobalActorRequest does not contain field %s", fd.FullName())) + } +} + +// Get retrieves the value for a field. +// +// For unpopulated scalars, it returns the default value, where +// the default value of a bytes scalar is guaranteed to be a copy. +// For unpopulated composite types, it returns an empty, read-only view +// of the value; to obtain a mutable reference, use Mutable. +func (x *fastReflection_IsWhitelistedGlobalActorRequest) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { + switch descriptor.FullName() { + case "emissions.v8.IsWhitelistedGlobalActorRequest.address": + value := x.Address + return protoreflect.ValueOfString(value) + default: + if descriptor.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.IsWhitelistedGlobalActorRequest")) + } + panic(fmt.Errorf("message emissions.v8.IsWhitelistedGlobalActorRequest does not contain field %s", descriptor.FullName())) + } +} + +// Set stores the value for a field. +// +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType. +// When setting a composite type, it is unspecified whether the stored value +// aliases the source's memory in any way. If the composite value is an +// empty, read-only value, then it panics. +// +// Set is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_IsWhitelistedGlobalActorRequest) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { + switch fd.FullName() { + case "emissions.v8.IsWhitelistedGlobalActorRequest.address": + x.Address = value.Interface().(string) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.IsWhitelistedGlobalActorRequest")) + } + panic(fmt.Errorf("message emissions.v8.IsWhitelistedGlobalActorRequest does not contain field %s", fd.FullName())) + } +} + +// Mutable returns a mutable reference to a composite type. +// +// If the field is unpopulated, it may allocate a composite value. +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType +// if not already stored. +// It panics if the field does not contain a composite type. +// +// Mutable is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_IsWhitelistedGlobalActorRequest) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.IsWhitelistedGlobalActorRequest.address": + panic(fmt.Errorf("field address of message emissions.v8.IsWhitelistedGlobalActorRequest is not mutable")) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.IsWhitelistedGlobalActorRequest")) + } + panic(fmt.Errorf("message emissions.v8.IsWhitelistedGlobalActorRequest does not contain field %s", fd.FullName())) + } +} + +// NewField returns a new value that is assignable to the field +// for the given descriptor. For scalars, this returns the default value. +// For lists, maps, and messages, this returns a new, empty, mutable value. +func (x *fastReflection_IsWhitelistedGlobalActorRequest) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.IsWhitelistedGlobalActorRequest.address": + return protoreflect.ValueOfString("") + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.IsWhitelistedGlobalActorRequest")) + } + panic(fmt.Errorf("message emissions.v8.IsWhitelistedGlobalActorRequest does not contain field %s", fd.FullName())) + } +} + +// WhichOneof reports which field within the oneof is populated, +// returning nil if none are populated. +// It panics if the oneof descriptor does not belong to this message. +func (x *fastReflection_IsWhitelistedGlobalActorRequest) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { + switch d.FullName() { + default: + panic(fmt.Errorf("%s is not a oneof field in emissions.v8.IsWhitelistedGlobalActorRequest", d.FullName())) + } + panic("unreachable") +} + +// GetUnknown retrieves the entire list of unknown fields. +// The caller may only mutate the contents of the RawFields +// if the mutated bytes are stored back into the message with SetUnknown. +func (x *fastReflection_IsWhitelistedGlobalActorRequest) GetUnknown() protoreflect.RawFields { + return x.unknownFields +} + +// SetUnknown stores an entire list of unknown fields. +// The raw fields must be syntactically valid according to the wire format. +// An implementation may panic if this is not the case. +// Once stored, the caller must not mutate the content of the RawFields. +// An empty RawFields may be passed to clear the fields. +// +// SetUnknown is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_IsWhitelistedGlobalActorRequest) SetUnknown(fields protoreflect.RawFields) { + x.unknownFields = fields +} + +// IsValid reports whether the message is valid. +// +// An invalid message is an empty, read-only value. +// +// An invalid message often corresponds to a nil pointer of the concrete +// message type, but the details are implementation dependent. +// Validity is not part of the protobuf data model, and may not +// be preserved in marshaling or other operations. +func (x *fastReflection_IsWhitelistedGlobalActorRequest) IsValid() bool { + return x != nil +} + +// ProtoMethods returns optional fastReflectionFeature-path implementations of various operations. +// This method may return nil. +// +// The returned methods type is identical to +// "google.golang.org/protobuf/runtime/protoiface".Methods. +// Consult the protoiface package documentation for details. +func (x *fastReflection_IsWhitelistedGlobalActorRequest) ProtoMethods() *protoiface.Methods { + size := func(input protoiface.SizeInput) protoiface.SizeOutput { + x := input.Message.Interface().(*IsWhitelistedGlobalActorRequest) + if x == nil { + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: 0, + } + } + options := runtime.SizeInputToOptions(input) + _ = options + var n int + var l int + _ = l + l = len(x.Address) + if l > 0 { + n += 1 + l + runtime.Sov(uint64(l)) + } + if x.unknownFields != nil { + n += len(x.unknownFields) + } + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: n, + } + } + + marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { + x := input.Message.Interface().(*IsWhitelistedGlobalActorRequest) + if x == nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + options := runtime.MarshalInputToOptions(input) + _ = options + size := options.Size(x) + dAtA := make([]byte, size) + i := len(dAtA) + _ = i + var l int + _ = l + if x.unknownFields != nil { + i -= len(x.unknownFields) + copy(dAtA[i:], x.unknownFields) + } + if len(x.Address) > 0 { + i -= len(x.Address) + copy(dAtA[i:], x.Address) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.Address))) + i-- + dAtA[i] = 0xa + } + if input.Buf != nil { + input.Buf = append(input.Buf, dAtA...) + } else { + input.Buf = dAtA + } + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { + x := input.Message.Interface().(*IsWhitelistedGlobalActorRequest) + if x == nil { + return protoiface.UnmarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Flags: input.Flags, + }, nil + } + options := runtime.UnmarshalInputToOptions(input) + _ = options + dAtA := input.Buf + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: IsWhitelistedGlobalActorRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: IsWhitelistedGlobalActorRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Address", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + x.Address = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := runtime.Skip(dAtA[iNdEx:]) + if err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if (iNdEx + skippy) > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + if !options.DiscardUnknown { + x.unknownFields = append(x.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + } + iNdEx += skippy + } + } + + if iNdEx > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, nil + } + return &protoiface.Methods{ + NoUnkeyedLiterals: struct{}{}, + Flags: protoiface.SupportMarshalDeterministic | protoiface.SupportUnmarshalDiscardUnknown, + Size: size, + Marshal: marshal, + Unmarshal: unmarshal, + Merge: nil, + CheckInitialized: nil, + } +} + +var ( + md_IsWhitelistedGlobalActorResponse protoreflect.MessageDescriptor + fd_IsWhitelistedGlobalActorResponse_is_whitelisted_global_actor protoreflect.FieldDescriptor +) + +func init() { + file_emissions_v8_query_proto_init() + md_IsWhitelistedGlobalActorResponse = File_emissions_v8_query_proto.Messages().ByName("IsWhitelistedGlobalActorResponse") + fd_IsWhitelistedGlobalActorResponse_is_whitelisted_global_actor = md_IsWhitelistedGlobalActorResponse.Fields().ByName("is_whitelisted_global_actor") +} + +var _ protoreflect.Message = (*fastReflection_IsWhitelistedGlobalActorResponse)(nil) + +type fastReflection_IsWhitelistedGlobalActorResponse IsWhitelistedGlobalActorResponse + +func (x *IsWhitelistedGlobalActorResponse) ProtoReflect() protoreflect.Message { + return (*fastReflection_IsWhitelistedGlobalActorResponse)(x) +} + +func (x *IsWhitelistedGlobalActorResponse) slowProtoReflect() protoreflect.Message { + mi := &file_emissions_v8_query_proto_msgTypes[13] + 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) +} + +var _fastReflection_IsWhitelistedGlobalActorResponse_messageType fastReflection_IsWhitelistedGlobalActorResponse_messageType +var _ protoreflect.MessageType = fastReflection_IsWhitelistedGlobalActorResponse_messageType{} + +type fastReflection_IsWhitelistedGlobalActorResponse_messageType struct{} + +func (x fastReflection_IsWhitelistedGlobalActorResponse_messageType) Zero() protoreflect.Message { + return (*fastReflection_IsWhitelistedGlobalActorResponse)(nil) +} +func (x fastReflection_IsWhitelistedGlobalActorResponse_messageType) New() protoreflect.Message { + return new(fastReflection_IsWhitelistedGlobalActorResponse) +} +func (x fastReflection_IsWhitelistedGlobalActorResponse_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_IsWhitelistedGlobalActorResponse +} + +// Descriptor returns message descriptor, which contains only the protobuf +// type information for the message. +func (x *fastReflection_IsWhitelistedGlobalActorResponse) Descriptor() protoreflect.MessageDescriptor { + return md_IsWhitelistedGlobalActorResponse +} + +// Type returns the message type, which encapsulates both Go and protobuf +// type information. If the Go type information is not needed, +// it is recommended that the message descriptor be used instead. +func (x *fastReflection_IsWhitelistedGlobalActorResponse) Type() protoreflect.MessageType { + return _fastReflection_IsWhitelistedGlobalActorResponse_messageType +} + +// New returns a newly allocated and mutable empty message. +func (x *fastReflection_IsWhitelistedGlobalActorResponse) New() protoreflect.Message { + return new(fastReflection_IsWhitelistedGlobalActorResponse) +} + +// Interface unwraps the message reflection interface and +// returns the underlying ProtoMessage interface. +func (x *fastReflection_IsWhitelistedGlobalActorResponse) Interface() protoreflect.ProtoMessage { + return (*IsWhitelistedGlobalActorResponse)(x) +} + +// Range iterates over every populated field in an undefined order, +// calling f for each field descriptor and value encountered. +// Range returns immediately if f returns false. +// While iterating, mutating operations may only be performed +// on the current field descriptor. +func (x *fastReflection_IsWhitelistedGlobalActorResponse) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { + if x.IsWhitelistedGlobalActor != false { + value := protoreflect.ValueOfBool(x.IsWhitelistedGlobalActor) + if !f(fd_IsWhitelistedGlobalActorResponse_is_whitelisted_global_actor, value) { + return + } + } +} + +// Has reports whether a field is populated. +// +// Some fields have the property of nullability where it is possible to +// distinguish between the default value of a field and whether the field +// was explicitly populated with the default value. Singular message fields, +// member fields of a oneof, and proto2 scalar fields are nullable. Such +// fields are populated only if explicitly set. +// +// In other cases (aside from the nullable cases above), +// a proto3 scalar field is populated if it contains a non-zero value, and +// a repeated field is populated if it is non-empty. +func (x *fastReflection_IsWhitelistedGlobalActorResponse) Has(fd protoreflect.FieldDescriptor) bool { + switch fd.FullName() { + case "emissions.v8.IsWhitelistedGlobalActorResponse.is_whitelisted_global_actor": + return x.IsWhitelistedGlobalActor != false + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.IsWhitelistedGlobalActorResponse")) + } + panic(fmt.Errorf("message emissions.v8.IsWhitelistedGlobalActorResponse does not contain field %s", fd.FullName())) + } +} + +// Clear clears the field such that a subsequent Has call reports false. +// +// Clearing an extension field clears both the extension type and value +// associated with the given field number. +// +// Clear is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_IsWhitelistedGlobalActorResponse) Clear(fd protoreflect.FieldDescriptor) { + switch fd.FullName() { + case "emissions.v8.IsWhitelistedGlobalActorResponse.is_whitelisted_global_actor": + x.IsWhitelistedGlobalActor = false + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.IsWhitelistedGlobalActorResponse")) + } + panic(fmt.Errorf("message emissions.v8.IsWhitelistedGlobalActorResponse does not contain field %s", fd.FullName())) + } +} + +// Get retrieves the value for a field. +// +// For unpopulated scalars, it returns the default value, where +// the default value of a bytes scalar is guaranteed to be a copy. +// For unpopulated composite types, it returns an empty, read-only view +// of the value; to obtain a mutable reference, use Mutable. +func (x *fastReflection_IsWhitelistedGlobalActorResponse) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { + switch descriptor.FullName() { + case "emissions.v8.IsWhitelistedGlobalActorResponse.is_whitelisted_global_actor": + value := x.IsWhitelistedGlobalActor + return protoreflect.ValueOfBool(value) + default: + if descriptor.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.IsWhitelistedGlobalActorResponse")) + } + panic(fmt.Errorf("message emissions.v8.IsWhitelistedGlobalActorResponse does not contain field %s", descriptor.FullName())) + } +} + +// Set stores the value for a field. +// +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType. +// When setting a composite type, it is unspecified whether the stored value +// aliases the source's memory in any way. If the composite value is an +// empty, read-only value, then it panics. +// +// Set is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_IsWhitelistedGlobalActorResponse) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { + switch fd.FullName() { + case "emissions.v8.IsWhitelistedGlobalActorResponse.is_whitelisted_global_actor": + x.IsWhitelistedGlobalActor = value.Bool() + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.IsWhitelistedGlobalActorResponse")) + } + panic(fmt.Errorf("message emissions.v8.IsWhitelistedGlobalActorResponse does not contain field %s", fd.FullName())) + } +} + +// Mutable returns a mutable reference to a composite type. +// +// If the field is unpopulated, it may allocate a composite value. +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType +// if not already stored. +// It panics if the field does not contain a composite type. +// +// Mutable is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_IsWhitelistedGlobalActorResponse) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.IsWhitelistedGlobalActorResponse.is_whitelisted_global_actor": + panic(fmt.Errorf("field is_whitelisted_global_actor of message emissions.v8.IsWhitelistedGlobalActorResponse is not mutable")) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.IsWhitelistedGlobalActorResponse")) + } + panic(fmt.Errorf("message emissions.v8.IsWhitelistedGlobalActorResponse does not contain field %s", fd.FullName())) + } +} + +// NewField returns a new value that is assignable to the field +// for the given descriptor. For scalars, this returns the default value. +// For lists, maps, and messages, this returns a new, empty, mutable value. +func (x *fastReflection_IsWhitelistedGlobalActorResponse) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.IsWhitelistedGlobalActorResponse.is_whitelisted_global_actor": + return protoreflect.ValueOfBool(false) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.IsWhitelistedGlobalActorResponse")) + } + panic(fmt.Errorf("message emissions.v8.IsWhitelistedGlobalActorResponse does not contain field %s", fd.FullName())) + } +} + +// WhichOneof reports which field within the oneof is populated, +// returning nil if none are populated. +// It panics if the oneof descriptor does not belong to this message. +func (x *fastReflection_IsWhitelistedGlobalActorResponse) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { + switch d.FullName() { + default: + panic(fmt.Errorf("%s is not a oneof field in emissions.v8.IsWhitelistedGlobalActorResponse", d.FullName())) + } + panic("unreachable") +} + +// GetUnknown retrieves the entire list of unknown fields. +// The caller may only mutate the contents of the RawFields +// if the mutated bytes are stored back into the message with SetUnknown. +func (x *fastReflection_IsWhitelistedGlobalActorResponse) GetUnknown() protoreflect.RawFields { + return x.unknownFields +} + +// SetUnknown stores an entire list of unknown fields. +// The raw fields must be syntactically valid according to the wire format. +// An implementation may panic if this is not the case. +// Once stored, the caller must not mutate the content of the RawFields. +// An empty RawFields may be passed to clear the fields. +// +// SetUnknown is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_IsWhitelistedGlobalActorResponse) SetUnknown(fields protoreflect.RawFields) { + x.unknownFields = fields +} + +// IsValid reports whether the message is valid. +// +// An invalid message is an empty, read-only value. +// +// An invalid message often corresponds to a nil pointer of the concrete +// message type, but the details are implementation dependent. +// Validity is not part of the protobuf data model, and may not +// be preserved in marshaling or other operations. +func (x *fastReflection_IsWhitelistedGlobalActorResponse) IsValid() bool { + return x != nil +} + +// ProtoMethods returns optional fastReflectionFeature-path implementations of various operations. +// This method may return nil. +// +// The returned methods type is identical to +// "google.golang.org/protobuf/runtime/protoiface".Methods. +// Consult the protoiface package documentation for details. +func (x *fastReflection_IsWhitelistedGlobalActorResponse) ProtoMethods() *protoiface.Methods { + size := func(input protoiface.SizeInput) protoiface.SizeOutput { + x := input.Message.Interface().(*IsWhitelistedGlobalActorResponse) + if x == nil { + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: 0, + } + } + options := runtime.SizeInputToOptions(input) + _ = options + var n int + var l int + _ = l + if x.IsWhitelistedGlobalActor { + n += 2 + } + if x.unknownFields != nil { + n += len(x.unknownFields) + } + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: n, + } + } + + marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { + x := input.Message.Interface().(*IsWhitelistedGlobalActorResponse) + if x == nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + options := runtime.MarshalInputToOptions(input) + _ = options + size := options.Size(x) + dAtA := make([]byte, size) + i := len(dAtA) + _ = i + var l int + _ = l + if x.unknownFields != nil { + i -= len(x.unknownFields) + copy(dAtA[i:], x.unknownFields) + } + if x.IsWhitelistedGlobalActor { + i-- + if x.IsWhitelistedGlobalActor { + dAtA[i] = 1 + } else { + dAtA[i] = 0 + } + i-- + dAtA[i] = 0x8 + } + if input.Buf != nil { + input.Buf = append(input.Buf, dAtA...) + } else { + input.Buf = dAtA + } + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { + x := input.Message.Interface().(*IsWhitelistedGlobalActorResponse) + if x == nil { + return protoiface.UnmarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Flags: input.Flags, + }, nil + } + options := runtime.UnmarshalInputToOptions(input) + _ = options + dAtA := input.Buf + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: IsWhitelistedGlobalActorResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: IsWhitelistedGlobalActorResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field IsWhitelistedGlobalActor", wireType) + } + var v int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + x.IsWhitelistedGlobalActor = bool(v != 0) + default: + iNdEx = preIndex + skippy, err := runtime.Skip(dAtA[iNdEx:]) + if err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if (iNdEx + skippy) > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + if !options.DiscardUnknown { + x.unknownFields = append(x.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + } + iNdEx += skippy + } + } + + if iNdEx > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, nil + } + return &protoiface.Methods{ + NoUnkeyedLiterals: struct{}{}, + Flags: protoiface.SupportMarshalDeterministic | protoiface.SupportUnmarshalDiscardUnknown, + Size: size, + Marshal: marshal, + Unmarshal: unmarshal, + Merge: nil, + CheckInitialized: nil, + } +} + +var ( + md_IsWhitelistedTopicWorkerRequest protoreflect.MessageDescriptor + fd_IsWhitelistedTopicWorkerRequest_topic_id protoreflect.FieldDescriptor + fd_IsWhitelistedTopicWorkerRequest_address protoreflect.FieldDescriptor +) + +func init() { + file_emissions_v8_query_proto_init() + md_IsWhitelistedTopicWorkerRequest = File_emissions_v8_query_proto.Messages().ByName("IsWhitelistedTopicWorkerRequest") + fd_IsWhitelistedTopicWorkerRequest_topic_id = md_IsWhitelistedTopicWorkerRequest.Fields().ByName("topic_id") + fd_IsWhitelistedTopicWorkerRequest_address = md_IsWhitelistedTopicWorkerRequest.Fields().ByName("address") +} + +var _ protoreflect.Message = (*fastReflection_IsWhitelistedTopicWorkerRequest)(nil) + +type fastReflection_IsWhitelistedTopicWorkerRequest IsWhitelistedTopicWorkerRequest + +func (x *IsWhitelistedTopicWorkerRequest) ProtoReflect() protoreflect.Message { + return (*fastReflection_IsWhitelistedTopicWorkerRequest)(x) +} + +func (x *IsWhitelistedTopicWorkerRequest) slowProtoReflect() protoreflect.Message { + mi := &file_emissions_v8_query_proto_msgTypes[14] + 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) +} + +var _fastReflection_IsWhitelistedTopicWorkerRequest_messageType fastReflection_IsWhitelistedTopicWorkerRequest_messageType +var _ protoreflect.MessageType = fastReflection_IsWhitelistedTopicWorkerRequest_messageType{} + +type fastReflection_IsWhitelistedTopicWorkerRequest_messageType struct{} + +func (x fastReflection_IsWhitelistedTopicWorkerRequest_messageType) Zero() protoreflect.Message { + return (*fastReflection_IsWhitelistedTopicWorkerRequest)(nil) +} +func (x fastReflection_IsWhitelistedTopicWorkerRequest_messageType) New() protoreflect.Message { + return new(fastReflection_IsWhitelistedTopicWorkerRequest) +} +func (x fastReflection_IsWhitelistedTopicWorkerRequest_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_IsWhitelistedTopicWorkerRequest +} + +// Descriptor returns message descriptor, which contains only the protobuf +// type information for the message. +func (x *fastReflection_IsWhitelistedTopicWorkerRequest) Descriptor() protoreflect.MessageDescriptor { + return md_IsWhitelistedTopicWorkerRequest +} + +// Type returns the message type, which encapsulates both Go and protobuf +// type information. If the Go type information is not needed, +// it is recommended that the message descriptor be used instead. +func (x *fastReflection_IsWhitelistedTopicWorkerRequest) Type() protoreflect.MessageType { + return _fastReflection_IsWhitelistedTopicWorkerRequest_messageType +} + +// New returns a newly allocated and mutable empty message. +func (x *fastReflection_IsWhitelistedTopicWorkerRequest) New() protoreflect.Message { + return new(fastReflection_IsWhitelistedTopicWorkerRequest) +} + +// Interface unwraps the message reflection interface and +// returns the underlying ProtoMessage interface. +func (x *fastReflection_IsWhitelistedTopicWorkerRequest) Interface() protoreflect.ProtoMessage { + return (*IsWhitelistedTopicWorkerRequest)(x) +} + +// Range iterates over every populated field in an undefined order, +// calling f for each field descriptor and value encountered. +// Range returns immediately if f returns false. +// While iterating, mutating operations may only be performed +// on the current field descriptor. +func (x *fastReflection_IsWhitelistedTopicWorkerRequest) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { + if x.TopicId != uint64(0) { + value := protoreflect.ValueOfUint64(x.TopicId) + if !f(fd_IsWhitelistedTopicWorkerRequest_topic_id, value) { + return + } + } + if x.Address != "" { + value := protoreflect.ValueOfString(x.Address) + if !f(fd_IsWhitelistedTopicWorkerRequest_address, value) { + return + } + } +} + +// Has reports whether a field is populated. +// +// Some fields have the property of nullability where it is possible to +// distinguish between the default value of a field and whether the field +// was explicitly populated with the default value. Singular message fields, +// member fields of a oneof, and proto2 scalar fields are nullable. Such +// fields are populated only if explicitly set. +// +// In other cases (aside from the nullable cases above), +// a proto3 scalar field is populated if it contains a non-zero value, and +// a repeated field is populated if it is non-empty. +func (x *fastReflection_IsWhitelistedTopicWorkerRequest) Has(fd protoreflect.FieldDescriptor) bool { + switch fd.FullName() { + case "emissions.v8.IsWhitelistedTopicWorkerRequest.topic_id": + return x.TopicId != uint64(0) + case "emissions.v8.IsWhitelistedTopicWorkerRequest.address": + return x.Address != "" + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.IsWhitelistedTopicWorkerRequest")) + } + panic(fmt.Errorf("message emissions.v8.IsWhitelistedTopicWorkerRequest does not contain field %s", fd.FullName())) + } +} + +// Clear clears the field such that a subsequent Has call reports false. +// +// Clearing an extension field clears both the extension type and value +// associated with the given field number. +// +// Clear is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_IsWhitelistedTopicWorkerRequest) Clear(fd protoreflect.FieldDescriptor) { + switch fd.FullName() { + case "emissions.v8.IsWhitelistedTopicWorkerRequest.topic_id": + x.TopicId = uint64(0) + case "emissions.v8.IsWhitelistedTopicWorkerRequest.address": + x.Address = "" + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.IsWhitelistedTopicWorkerRequest")) + } + panic(fmt.Errorf("message emissions.v8.IsWhitelistedTopicWorkerRequest does not contain field %s", fd.FullName())) + } +} + +// Get retrieves the value for a field. +// +// For unpopulated scalars, it returns the default value, where +// the default value of a bytes scalar is guaranteed to be a copy. +// For unpopulated composite types, it returns an empty, read-only view +// of the value; to obtain a mutable reference, use Mutable. +func (x *fastReflection_IsWhitelistedTopicWorkerRequest) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { + switch descriptor.FullName() { + case "emissions.v8.IsWhitelistedTopicWorkerRequest.topic_id": + value := x.TopicId + return protoreflect.ValueOfUint64(value) + case "emissions.v8.IsWhitelistedTopicWorkerRequest.address": + value := x.Address + return protoreflect.ValueOfString(value) + default: + if descriptor.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.IsWhitelistedTopicWorkerRequest")) + } + panic(fmt.Errorf("message emissions.v8.IsWhitelistedTopicWorkerRequest does not contain field %s", descriptor.FullName())) + } +} + +// Set stores the value for a field. +// +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType. +// When setting a composite type, it is unspecified whether the stored value +// aliases the source's memory in any way. If the composite value is an +// empty, read-only value, then it panics. +// +// Set is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_IsWhitelistedTopicWorkerRequest) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { + switch fd.FullName() { + case "emissions.v8.IsWhitelistedTopicWorkerRequest.topic_id": + x.TopicId = value.Uint() + case "emissions.v8.IsWhitelistedTopicWorkerRequest.address": + x.Address = value.Interface().(string) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.IsWhitelistedTopicWorkerRequest")) + } + panic(fmt.Errorf("message emissions.v8.IsWhitelistedTopicWorkerRequest does not contain field %s", fd.FullName())) + } +} + +// Mutable returns a mutable reference to a composite type. +// +// If the field is unpopulated, it may allocate a composite value. +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType +// if not already stored. +// It panics if the field does not contain a composite type. +// +// Mutable is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_IsWhitelistedTopicWorkerRequest) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.IsWhitelistedTopicWorkerRequest.topic_id": + panic(fmt.Errorf("field topic_id of message emissions.v8.IsWhitelistedTopicWorkerRequest is not mutable")) + case "emissions.v8.IsWhitelistedTopicWorkerRequest.address": + panic(fmt.Errorf("field address of message emissions.v8.IsWhitelistedTopicWorkerRequest is not mutable")) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.IsWhitelistedTopicWorkerRequest")) + } + panic(fmt.Errorf("message emissions.v8.IsWhitelistedTopicWorkerRequest does not contain field %s", fd.FullName())) + } +} + +// NewField returns a new value that is assignable to the field +// for the given descriptor. For scalars, this returns the default value. +// For lists, maps, and messages, this returns a new, empty, mutable value. +func (x *fastReflection_IsWhitelistedTopicWorkerRequest) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.IsWhitelistedTopicWorkerRequest.topic_id": + return protoreflect.ValueOfUint64(uint64(0)) + case "emissions.v8.IsWhitelistedTopicWorkerRequest.address": + return protoreflect.ValueOfString("") + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.IsWhitelistedTopicWorkerRequest")) + } + panic(fmt.Errorf("message emissions.v8.IsWhitelistedTopicWorkerRequest does not contain field %s", fd.FullName())) + } +} + +// WhichOneof reports which field within the oneof is populated, +// returning nil if none are populated. +// It panics if the oneof descriptor does not belong to this message. +func (x *fastReflection_IsWhitelistedTopicWorkerRequest) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { + switch d.FullName() { + default: + panic(fmt.Errorf("%s is not a oneof field in emissions.v8.IsWhitelistedTopicWorkerRequest", d.FullName())) + } + panic("unreachable") +} + +// GetUnknown retrieves the entire list of unknown fields. +// The caller may only mutate the contents of the RawFields +// if the mutated bytes are stored back into the message with SetUnknown. +func (x *fastReflection_IsWhitelistedTopicWorkerRequest) GetUnknown() protoreflect.RawFields { + return x.unknownFields +} + +// SetUnknown stores an entire list of unknown fields. +// The raw fields must be syntactically valid according to the wire format. +// An implementation may panic if this is not the case. +// Once stored, the caller must not mutate the content of the RawFields. +// An empty RawFields may be passed to clear the fields. +// +// SetUnknown is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_IsWhitelistedTopicWorkerRequest) SetUnknown(fields protoreflect.RawFields) { + x.unknownFields = fields +} + +// IsValid reports whether the message is valid. +// +// An invalid message is an empty, read-only value. +// +// An invalid message often corresponds to a nil pointer of the concrete +// message type, but the details are implementation dependent. +// Validity is not part of the protobuf data model, and may not +// be preserved in marshaling or other operations. +func (x *fastReflection_IsWhitelistedTopicWorkerRequest) IsValid() bool { + return x != nil +} + +// ProtoMethods returns optional fastReflectionFeature-path implementations of various operations. +// This method may return nil. +// +// The returned methods type is identical to +// "google.golang.org/protobuf/runtime/protoiface".Methods. +// Consult the protoiface package documentation for details. +func (x *fastReflection_IsWhitelistedTopicWorkerRequest) ProtoMethods() *protoiface.Methods { + size := func(input protoiface.SizeInput) protoiface.SizeOutput { + x := input.Message.Interface().(*IsWhitelistedTopicWorkerRequest) + if x == nil { + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: 0, + } + } + options := runtime.SizeInputToOptions(input) + _ = options + var n int + var l int + _ = l + if x.TopicId != 0 { + n += 1 + runtime.Sov(uint64(x.TopicId)) + } + l = len(x.Address) + if l > 0 { + n += 1 + l + runtime.Sov(uint64(l)) + } + if x.unknownFields != nil { + n += len(x.unknownFields) + } + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: n, + } + } + + marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { + x := input.Message.Interface().(*IsWhitelistedTopicWorkerRequest) + if x == nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + options := runtime.MarshalInputToOptions(input) + _ = options + size := options.Size(x) + dAtA := make([]byte, size) + i := len(dAtA) + _ = i + var l int + _ = l + if x.unknownFields != nil { + i -= len(x.unknownFields) + copy(dAtA[i:], x.unknownFields) + } + if len(x.Address) > 0 { + i -= len(x.Address) + copy(dAtA[i:], x.Address) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.Address))) + i-- + dAtA[i] = 0x12 + } + if x.TopicId != 0 { + i = runtime.EncodeVarint(dAtA, i, uint64(x.TopicId)) + i-- + dAtA[i] = 0x8 + } + if input.Buf != nil { + input.Buf = append(input.Buf, dAtA...) + } else { + input.Buf = dAtA + } + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { + x := input.Message.Interface().(*IsWhitelistedTopicWorkerRequest) + if x == nil { + return protoiface.UnmarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Flags: input.Flags, + }, nil + } + options := runtime.UnmarshalInputToOptions(input) + _ = options + dAtA := input.Buf + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: IsWhitelistedTopicWorkerRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: IsWhitelistedTopicWorkerRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field TopicId", wireType) + } + x.TopicId = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + x.TopicId |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 2: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Address", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + x.Address = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := runtime.Skip(dAtA[iNdEx:]) + if err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if (iNdEx + skippy) > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + if !options.DiscardUnknown { + x.unknownFields = append(x.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + } + iNdEx += skippy + } + } + + if iNdEx > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, nil + } + return &protoiface.Methods{ + NoUnkeyedLiterals: struct{}{}, + Flags: protoiface.SupportMarshalDeterministic | protoiface.SupportUnmarshalDiscardUnknown, + Size: size, + Marshal: marshal, + Unmarshal: unmarshal, + Merge: nil, + CheckInitialized: nil, + } +} + +var ( + md_IsWhitelistedTopicWorkerResponse protoreflect.MessageDescriptor + fd_IsWhitelistedTopicWorkerResponse_is_whitelisted_topic_worker protoreflect.FieldDescriptor +) + +func init() { + file_emissions_v8_query_proto_init() + md_IsWhitelistedTopicWorkerResponse = File_emissions_v8_query_proto.Messages().ByName("IsWhitelistedTopicWorkerResponse") + fd_IsWhitelistedTopicWorkerResponse_is_whitelisted_topic_worker = md_IsWhitelistedTopicWorkerResponse.Fields().ByName("is_whitelisted_topic_worker") +} + +var _ protoreflect.Message = (*fastReflection_IsWhitelistedTopicWorkerResponse)(nil) + +type fastReflection_IsWhitelistedTopicWorkerResponse IsWhitelistedTopicWorkerResponse + +func (x *IsWhitelistedTopicWorkerResponse) ProtoReflect() protoreflect.Message { + return (*fastReflection_IsWhitelistedTopicWorkerResponse)(x) +} + +func (x *IsWhitelistedTopicWorkerResponse) slowProtoReflect() protoreflect.Message { + mi := &file_emissions_v8_query_proto_msgTypes[15] + 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) +} + +var _fastReflection_IsWhitelistedTopicWorkerResponse_messageType fastReflection_IsWhitelistedTopicWorkerResponse_messageType +var _ protoreflect.MessageType = fastReflection_IsWhitelistedTopicWorkerResponse_messageType{} + +type fastReflection_IsWhitelistedTopicWorkerResponse_messageType struct{} + +func (x fastReflection_IsWhitelistedTopicWorkerResponse_messageType) Zero() protoreflect.Message { + return (*fastReflection_IsWhitelistedTopicWorkerResponse)(nil) +} +func (x fastReflection_IsWhitelistedTopicWorkerResponse_messageType) New() protoreflect.Message { + return new(fastReflection_IsWhitelistedTopicWorkerResponse) +} +func (x fastReflection_IsWhitelistedTopicWorkerResponse_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_IsWhitelistedTopicWorkerResponse +} + +// Descriptor returns message descriptor, which contains only the protobuf +// type information for the message. +func (x *fastReflection_IsWhitelistedTopicWorkerResponse) Descriptor() protoreflect.MessageDescriptor { + return md_IsWhitelistedTopicWorkerResponse +} + +// Type returns the message type, which encapsulates both Go and protobuf +// type information. If the Go type information is not needed, +// it is recommended that the message descriptor be used instead. +func (x *fastReflection_IsWhitelistedTopicWorkerResponse) Type() protoreflect.MessageType { + return _fastReflection_IsWhitelistedTopicWorkerResponse_messageType +} + +// New returns a newly allocated and mutable empty message. +func (x *fastReflection_IsWhitelistedTopicWorkerResponse) New() protoreflect.Message { + return new(fastReflection_IsWhitelistedTopicWorkerResponse) +} + +// Interface unwraps the message reflection interface and +// returns the underlying ProtoMessage interface. +func (x *fastReflection_IsWhitelistedTopicWorkerResponse) Interface() protoreflect.ProtoMessage { + return (*IsWhitelistedTopicWorkerResponse)(x) +} + +// Range iterates over every populated field in an undefined order, +// calling f for each field descriptor and value encountered. +// Range returns immediately if f returns false. +// While iterating, mutating operations may only be performed +// on the current field descriptor. +func (x *fastReflection_IsWhitelistedTopicWorkerResponse) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { + if x.IsWhitelistedTopicWorker != false { + value := protoreflect.ValueOfBool(x.IsWhitelistedTopicWorker) + if !f(fd_IsWhitelistedTopicWorkerResponse_is_whitelisted_topic_worker, value) { + return + } + } +} + +// Has reports whether a field is populated. +// +// Some fields have the property of nullability where it is possible to +// distinguish between the default value of a field and whether the field +// was explicitly populated with the default value. Singular message fields, +// member fields of a oneof, and proto2 scalar fields are nullable. Such +// fields are populated only if explicitly set. +// +// In other cases (aside from the nullable cases above), +// a proto3 scalar field is populated if it contains a non-zero value, and +// a repeated field is populated if it is non-empty. +func (x *fastReflection_IsWhitelistedTopicWorkerResponse) Has(fd protoreflect.FieldDescriptor) bool { + switch fd.FullName() { + case "emissions.v8.IsWhitelistedTopicWorkerResponse.is_whitelisted_topic_worker": + return x.IsWhitelistedTopicWorker != false + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.IsWhitelistedTopicWorkerResponse")) + } + panic(fmt.Errorf("message emissions.v8.IsWhitelistedTopicWorkerResponse does not contain field %s", fd.FullName())) + } +} + +// Clear clears the field such that a subsequent Has call reports false. +// +// Clearing an extension field clears both the extension type and value +// associated with the given field number. +// +// Clear is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_IsWhitelistedTopicWorkerResponse) Clear(fd protoreflect.FieldDescriptor) { + switch fd.FullName() { + case "emissions.v8.IsWhitelistedTopicWorkerResponse.is_whitelisted_topic_worker": + x.IsWhitelistedTopicWorker = false + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.IsWhitelistedTopicWorkerResponse")) + } + panic(fmt.Errorf("message emissions.v8.IsWhitelistedTopicWorkerResponse does not contain field %s", fd.FullName())) + } +} + +// Get retrieves the value for a field. +// +// For unpopulated scalars, it returns the default value, where +// the default value of a bytes scalar is guaranteed to be a copy. +// For unpopulated composite types, it returns an empty, read-only view +// of the value; to obtain a mutable reference, use Mutable. +func (x *fastReflection_IsWhitelistedTopicWorkerResponse) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { + switch descriptor.FullName() { + case "emissions.v8.IsWhitelistedTopicWorkerResponse.is_whitelisted_topic_worker": + value := x.IsWhitelistedTopicWorker + return protoreflect.ValueOfBool(value) + default: + if descriptor.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.IsWhitelistedTopicWorkerResponse")) + } + panic(fmt.Errorf("message emissions.v8.IsWhitelistedTopicWorkerResponse does not contain field %s", descriptor.FullName())) + } +} + +// Set stores the value for a field. +// +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType. +// When setting a composite type, it is unspecified whether the stored value +// aliases the source's memory in any way. If the composite value is an +// empty, read-only value, then it panics. +// +// Set is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_IsWhitelistedTopicWorkerResponse) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { + switch fd.FullName() { + case "emissions.v8.IsWhitelistedTopicWorkerResponse.is_whitelisted_topic_worker": + x.IsWhitelistedTopicWorker = value.Bool() + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.IsWhitelistedTopicWorkerResponse")) + } + panic(fmt.Errorf("message emissions.v8.IsWhitelistedTopicWorkerResponse does not contain field %s", fd.FullName())) + } +} + +// Mutable returns a mutable reference to a composite type. +// +// If the field is unpopulated, it may allocate a composite value. +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType +// if not already stored. +// It panics if the field does not contain a composite type. +// +// Mutable is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_IsWhitelistedTopicWorkerResponse) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.IsWhitelistedTopicWorkerResponse.is_whitelisted_topic_worker": + panic(fmt.Errorf("field is_whitelisted_topic_worker of message emissions.v8.IsWhitelistedTopicWorkerResponse is not mutable")) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.IsWhitelistedTopicWorkerResponse")) + } + panic(fmt.Errorf("message emissions.v8.IsWhitelistedTopicWorkerResponse does not contain field %s", fd.FullName())) + } +} + +// NewField returns a new value that is assignable to the field +// for the given descriptor. For scalars, this returns the default value. +// For lists, maps, and messages, this returns a new, empty, mutable value. +func (x *fastReflection_IsWhitelistedTopicWorkerResponse) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.IsWhitelistedTopicWorkerResponse.is_whitelisted_topic_worker": + return protoreflect.ValueOfBool(false) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.IsWhitelistedTopicWorkerResponse")) + } + panic(fmt.Errorf("message emissions.v8.IsWhitelistedTopicWorkerResponse does not contain field %s", fd.FullName())) + } +} + +// WhichOneof reports which field within the oneof is populated, +// returning nil if none are populated. +// It panics if the oneof descriptor does not belong to this message. +func (x *fastReflection_IsWhitelistedTopicWorkerResponse) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { + switch d.FullName() { + default: + panic(fmt.Errorf("%s is not a oneof field in emissions.v8.IsWhitelistedTopicWorkerResponse", d.FullName())) + } + panic("unreachable") +} + +// GetUnknown retrieves the entire list of unknown fields. +// The caller may only mutate the contents of the RawFields +// if the mutated bytes are stored back into the message with SetUnknown. +func (x *fastReflection_IsWhitelistedTopicWorkerResponse) GetUnknown() protoreflect.RawFields { + return x.unknownFields +} + +// SetUnknown stores an entire list of unknown fields. +// The raw fields must be syntactically valid according to the wire format. +// An implementation may panic if this is not the case. +// Once stored, the caller must not mutate the content of the RawFields. +// An empty RawFields may be passed to clear the fields. +// +// SetUnknown is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_IsWhitelistedTopicWorkerResponse) SetUnknown(fields protoreflect.RawFields) { + x.unknownFields = fields +} + +// IsValid reports whether the message is valid. +// +// An invalid message is an empty, read-only value. +// +// An invalid message often corresponds to a nil pointer of the concrete +// message type, but the details are implementation dependent. +// Validity is not part of the protobuf data model, and may not +// be preserved in marshaling or other operations. +func (x *fastReflection_IsWhitelistedTopicWorkerResponse) IsValid() bool { + return x != nil +} + +// ProtoMethods returns optional fastReflectionFeature-path implementations of various operations. +// This method may return nil. +// +// The returned methods type is identical to +// "google.golang.org/protobuf/runtime/protoiface".Methods. +// Consult the protoiface package documentation for details. +func (x *fastReflection_IsWhitelistedTopicWorkerResponse) ProtoMethods() *protoiface.Methods { + size := func(input protoiface.SizeInput) protoiface.SizeOutput { + x := input.Message.Interface().(*IsWhitelistedTopicWorkerResponse) + if x == nil { + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: 0, + } + } + options := runtime.SizeInputToOptions(input) + _ = options + var n int + var l int + _ = l + if x.IsWhitelistedTopicWorker { + n += 2 + } + if x.unknownFields != nil { + n += len(x.unknownFields) + } + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: n, + } + } + + marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { + x := input.Message.Interface().(*IsWhitelistedTopicWorkerResponse) + if x == nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + options := runtime.MarshalInputToOptions(input) + _ = options + size := options.Size(x) + dAtA := make([]byte, size) + i := len(dAtA) + _ = i + var l int + _ = l + if x.unknownFields != nil { + i -= len(x.unknownFields) + copy(dAtA[i:], x.unknownFields) + } + if x.IsWhitelistedTopicWorker { + i-- + if x.IsWhitelistedTopicWorker { + dAtA[i] = 1 + } else { + dAtA[i] = 0 + } + i-- + dAtA[i] = 0x8 + } + if input.Buf != nil { + input.Buf = append(input.Buf, dAtA...) + } else { + input.Buf = dAtA + } + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { + x := input.Message.Interface().(*IsWhitelistedTopicWorkerResponse) + if x == nil { + return protoiface.UnmarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Flags: input.Flags, + }, nil + } + options := runtime.UnmarshalInputToOptions(input) + _ = options + dAtA := input.Buf + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: IsWhitelistedTopicWorkerResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: IsWhitelistedTopicWorkerResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field IsWhitelistedTopicWorker", wireType) + } + var v int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + x.IsWhitelistedTopicWorker = bool(v != 0) + default: + iNdEx = preIndex + skippy, err := runtime.Skip(dAtA[iNdEx:]) + if err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if (iNdEx + skippy) > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + if !options.DiscardUnknown { + x.unknownFields = append(x.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + } + iNdEx += skippy + } + } + + if iNdEx > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, nil + } + return &protoiface.Methods{ + NoUnkeyedLiterals: struct{}{}, + Flags: protoiface.SupportMarshalDeterministic | protoiface.SupportUnmarshalDiscardUnknown, + Size: size, + Marshal: marshal, + Unmarshal: unmarshal, + Merge: nil, + CheckInitialized: nil, + } +} + +var ( + md_IsWhitelistedTopicReputerRequest protoreflect.MessageDescriptor + fd_IsWhitelistedTopicReputerRequest_topic_id protoreflect.FieldDescriptor + fd_IsWhitelistedTopicReputerRequest_address protoreflect.FieldDescriptor +) + +func init() { + file_emissions_v8_query_proto_init() + md_IsWhitelistedTopicReputerRequest = File_emissions_v8_query_proto.Messages().ByName("IsWhitelistedTopicReputerRequest") + fd_IsWhitelistedTopicReputerRequest_topic_id = md_IsWhitelistedTopicReputerRequest.Fields().ByName("topic_id") + fd_IsWhitelistedTopicReputerRequest_address = md_IsWhitelistedTopicReputerRequest.Fields().ByName("address") +} + +var _ protoreflect.Message = (*fastReflection_IsWhitelistedTopicReputerRequest)(nil) + +type fastReflection_IsWhitelistedTopicReputerRequest IsWhitelistedTopicReputerRequest + +func (x *IsWhitelistedTopicReputerRequest) ProtoReflect() protoreflect.Message { + return (*fastReflection_IsWhitelistedTopicReputerRequest)(x) +} + +func (x *IsWhitelistedTopicReputerRequest) slowProtoReflect() protoreflect.Message { + mi := &file_emissions_v8_query_proto_msgTypes[16] + 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) +} + +var _fastReflection_IsWhitelistedTopicReputerRequest_messageType fastReflection_IsWhitelistedTopicReputerRequest_messageType +var _ protoreflect.MessageType = fastReflection_IsWhitelistedTopicReputerRequest_messageType{} + +type fastReflection_IsWhitelistedTopicReputerRequest_messageType struct{} + +func (x fastReflection_IsWhitelistedTopicReputerRequest_messageType) Zero() protoreflect.Message { + return (*fastReflection_IsWhitelistedTopicReputerRequest)(nil) +} +func (x fastReflection_IsWhitelistedTopicReputerRequest_messageType) New() protoreflect.Message { + return new(fastReflection_IsWhitelistedTopicReputerRequest) +} +func (x fastReflection_IsWhitelistedTopicReputerRequest_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_IsWhitelistedTopicReputerRequest +} + +// Descriptor returns message descriptor, which contains only the protobuf +// type information for the message. +func (x *fastReflection_IsWhitelistedTopicReputerRequest) Descriptor() protoreflect.MessageDescriptor { + return md_IsWhitelistedTopicReputerRequest +} + +// Type returns the message type, which encapsulates both Go and protobuf +// type information. If the Go type information is not needed, +// it is recommended that the message descriptor be used instead. +func (x *fastReflection_IsWhitelistedTopicReputerRequest) Type() protoreflect.MessageType { + return _fastReflection_IsWhitelistedTopicReputerRequest_messageType +} + +// New returns a newly allocated and mutable empty message. +func (x *fastReflection_IsWhitelistedTopicReputerRequest) New() protoreflect.Message { + return new(fastReflection_IsWhitelistedTopicReputerRequest) +} + +// Interface unwraps the message reflection interface and +// returns the underlying ProtoMessage interface. +func (x *fastReflection_IsWhitelistedTopicReputerRequest) Interface() protoreflect.ProtoMessage { + return (*IsWhitelistedTopicReputerRequest)(x) +} + +// Range iterates over every populated field in an undefined order, +// calling f for each field descriptor and value encountered. +// Range returns immediately if f returns false. +// While iterating, mutating operations may only be performed +// on the current field descriptor. +func (x *fastReflection_IsWhitelistedTopicReputerRequest) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { + if x.TopicId != uint64(0) { + value := protoreflect.ValueOfUint64(x.TopicId) + if !f(fd_IsWhitelistedTopicReputerRequest_topic_id, value) { + return + } + } + if x.Address != "" { + value := protoreflect.ValueOfString(x.Address) + if !f(fd_IsWhitelistedTopicReputerRequest_address, value) { + return + } + } +} + +// Has reports whether a field is populated. +// +// Some fields have the property of nullability where it is possible to +// distinguish between the default value of a field and whether the field +// was explicitly populated with the default value. Singular message fields, +// member fields of a oneof, and proto2 scalar fields are nullable. Such +// fields are populated only if explicitly set. +// +// In other cases (aside from the nullable cases above), +// a proto3 scalar field is populated if it contains a non-zero value, and +// a repeated field is populated if it is non-empty. +func (x *fastReflection_IsWhitelistedTopicReputerRequest) Has(fd protoreflect.FieldDescriptor) bool { + switch fd.FullName() { + case "emissions.v8.IsWhitelistedTopicReputerRequest.topic_id": + return x.TopicId != uint64(0) + case "emissions.v8.IsWhitelistedTopicReputerRequest.address": + return x.Address != "" + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.IsWhitelistedTopicReputerRequest")) + } + panic(fmt.Errorf("message emissions.v8.IsWhitelistedTopicReputerRequest does not contain field %s", fd.FullName())) + } +} + +// Clear clears the field such that a subsequent Has call reports false. +// +// Clearing an extension field clears both the extension type and value +// associated with the given field number. +// +// Clear is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_IsWhitelistedTopicReputerRequest) Clear(fd protoreflect.FieldDescriptor) { + switch fd.FullName() { + case "emissions.v8.IsWhitelistedTopicReputerRequest.topic_id": + x.TopicId = uint64(0) + case "emissions.v8.IsWhitelistedTopicReputerRequest.address": + x.Address = "" + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.IsWhitelistedTopicReputerRequest")) + } + panic(fmt.Errorf("message emissions.v8.IsWhitelistedTopicReputerRequest does not contain field %s", fd.FullName())) + } +} + +// Get retrieves the value for a field. +// +// For unpopulated scalars, it returns the default value, where +// the default value of a bytes scalar is guaranteed to be a copy. +// For unpopulated composite types, it returns an empty, read-only view +// of the value; to obtain a mutable reference, use Mutable. +func (x *fastReflection_IsWhitelistedTopicReputerRequest) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { + switch descriptor.FullName() { + case "emissions.v8.IsWhitelistedTopicReputerRequest.topic_id": + value := x.TopicId + return protoreflect.ValueOfUint64(value) + case "emissions.v8.IsWhitelistedTopicReputerRequest.address": + value := x.Address + return protoreflect.ValueOfString(value) + default: + if descriptor.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.IsWhitelistedTopicReputerRequest")) + } + panic(fmt.Errorf("message emissions.v8.IsWhitelistedTopicReputerRequest does not contain field %s", descriptor.FullName())) + } +} + +// Set stores the value for a field. +// +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType. +// When setting a composite type, it is unspecified whether the stored value +// aliases the source's memory in any way. If the composite value is an +// empty, read-only value, then it panics. +// +// Set is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_IsWhitelistedTopicReputerRequest) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { + switch fd.FullName() { + case "emissions.v8.IsWhitelistedTopicReputerRequest.topic_id": + x.TopicId = value.Uint() + case "emissions.v8.IsWhitelistedTopicReputerRequest.address": + x.Address = value.Interface().(string) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.IsWhitelistedTopicReputerRequest")) + } + panic(fmt.Errorf("message emissions.v8.IsWhitelistedTopicReputerRequest does not contain field %s", fd.FullName())) + } +} + +// Mutable returns a mutable reference to a composite type. +// +// If the field is unpopulated, it may allocate a composite value. +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType +// if not already stored. +// It panics if the field does not contain a composite type. +// +// Mutable is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_IsWhitelistedTopicReputerRequest) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.IsWhitelistedTopicReputerRequest.topic_id": + panic(fmt.Errorf("field topic_id of message emissions.v8.IsWhitelistedTopicReputerRequest is not mutable")) + case "emissions.v8.IsWhitelistedTopicReputerRequest.address": + panic(fmt.Errorf("field address of message emissions.v8.IsWhitelistedTopicReputerRequest is not mutable")) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.IsWhitelistedTopicReputerRequest")) + } + panic(fmt.Errorf("message emissions.v8.IsWhitelistedTopicReputerRequest does not contain field %s", fd.FullName())) + } +} + +// NewField returns a new value that is assignable to the field +// for the given descriptor. For scalars, this returns the default value. +// For lists, maps, and messages, this returns a new, empty, mutable value. +func (x *fastReflection_IsWhitelistedTopicReputerRequest) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.IsWhitelistedTopicReputerRequest.topic_id": + return protoreflect.ValueOfUint64(uint64(0)) + case "emissions.v8.IsWhitelistedTopicReputerRequest.address": + return protoreflect.ValueOfString("") + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.IsWhitelistedTopicReputerRequest")) + } + panic(fmt.Errorf("message emissions.v8.IsWhitelistedTopicReputerRequest does not contain field %s", fd.FullName())) + } +} + +// WhichOneof reports which field within the oneof is populated, +// returning nil if none are populated. +// It panics if the oneof descriptor does not belong to this message. +func (x *fastReflection_IsWhitelistedTopicReputerRequest) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { + switch d.FullName() { + default: + panic(fmt.Errorf("%s is not a oneof field in emissions.v8.IsWhitelistedTopicReputerRequest", d.FullName())) + } + panic("unreachable") +} + +// GetUnknown retrieves the entire list of unknown fields. +// The caller may only mutate the contents of the RawFields +// if the mutated bytes are stored back into the message with SetUnknown. +func (x *fastReflection_IsWhitelistedTopicReputerRequest) GetUnknown() protoreflect.RawFields { + return x.unknownFields +} + +// SetUnknown stores an entire list of unknown fields. +// The raw fields must be syntactically valid according to the wire format. +// An implementation may panic if this is not the case. +// Once stored, the caller must not mutate the content of the RawFields. +// An empty RawFields may be passed to clear the fields. +// +// SetUnknown is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_IsWhitelistedTopicReputerRequest) SetUnknown(fields protoreflect.RawFields) { + x.unknownFields = fields +} + +// IsValid reports whether the message is valid. +// +// An invalid message is an empty, read-only value. +// +// An invalid message often corresponds to a nil pointer of the concrete +// message type, but the details are implementation dependent. +// Validity is not part of the protobuf data model, and may not +// be preserved in marshaling or other operations. +func (x *fastReflection_IsWhitelistedTopicReputerRequest) IsValid() bool { + return x != nil +} + +// ProtoMethods returns optional fastReflectionFeature-path implementations of various operations. +// This method may return nil. +// +// The returned methods type is identical to +// "google.golang.org/protobuf/runtime/protoiface".Methods. +// Consult the protoiface package documentation for details. +func (x *fastReflection_IsWhitelistedTopicReputerRequest) ProtoMethods() *protoiface.Methods { + size := func(input protoiface.SizeInput) protoiface.SizeOutput { + x := input.Message.Interface().(*IsWhitelistedTopicReputerRequest) + if x == nil { + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: 0, + } + } + options := runtime.SizeInputToOptions(input) + _ = options + var n int + var l int + _ = l + if x.TopicId != 0 { + n += 1 + runtime.Sov(uint64(x.TopicId)) + } + l = len(x.Address) + if l > 0 { + n += 1 + l + runtime.Sov(uint64(l)) + } + if x.unknownFields != nil { + n += len(x.unknownFields) + } + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: n, + } + } + + marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { + x := input.Message.Interface().(*IsWhitelistedTopicReputerRequest) + if x == nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + options := runtime.MarshalInputToOptions(input) + _ = options + size := options.Size(x) + dAtA := make([]byte, size) + i := len(dAtA) + _ = i + var l int + _ = l + if x.unknownFields != nil { + i -= len(x.unknownFields) + copy(dAtA[i:], x.unknownFields) + } + if len(x.Address) > 0 { + i -= len(x.Address) + copy(dAtA[i:], x.Address) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.Address))) + i-- + dAtA[i] = 0x12 + } + if x.TopicId != 0 { + i = runtime.EncodeVarint(dAtA, i, uint64(x.TopicId)) + i-- + dAtA[i] = 0x8 + } + if input.Buf != nil { + input.Buf = append(input.Buf, dAtA...) + } else { + input.Buf = dAtA + } + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { + x := input.Message.Interface().(*IsWhitelistedTopicReputerRequest) + if x == nil { + return protoiface.UnmarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Flags: input.Flags, + }, nil + } + options := runtime.UnmarshalInputToOptions(input) + _ = options + dAtA := input.Buf + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: IsWhitelistedTopicReputerRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: IsWhitelistedTopicReputerRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field TopicId", wireType) + } + x.TopicId = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + x.TopicId |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 2: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Address", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + x.Address = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := runtime.Skip(dAtA[iNdEx:]) + if err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if (iNdEx + skippy) > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + if !options.DiscardUnknown { + x.unknownFields = append(x.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + } + iNdEx += skippy + } + } + + if iNdEx > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, nil + } + return &protoiface.Methods{ + NoUnkeyedLiterals: struct{}{}, + Flags: protoiface.SupportMarshalDeterministic | protoiface.SupportUnmarshalDiscardUnknown, + Size: size, + Marshal: marshal, + Unmarshal: unmarshal, + Merge: nil, + CheckInitialized: nil, + } +} + +var ( + md_IsWhitelistedTopicReputerResponse protoreflect.MessageDescriptor + fd_IsWhitelistedTopicReputerResponse_is_whitelisted_topic_reputer protoreflect.FieldDescriptor +) + +func init() { + file_emissions_v8_query_proto_init() + md_IsWhitelistedTopicReputerResponse = File_emissions_v8_query_proto.Messages().ByName("IsWhitelistedTopicReputerResponse") + fd_IsWhitelistedTopicReputerResponse_is_whitelisted_topic_reputer = md_IsWhitelistedTopicReputerResponse.Fields().ByName("is_whitelisted_topic_reputer") +} + +var _ protoreflect.Message = (*fastReflection_IsWhitelistedTopicReputerResponse)(nil) + +type fastReflection_IsWhitelistedTopicReputerResponse IsWhitelistedTopicReputerResponse + +func (x *IsWhitelistedTopicReputerResponse) ProtoReflect() protoreflect.Message { + return (*fastReflection_IsWhitelistedTopicReputerResponse)(x) +} + +func (x *IsWhitelistedTopicReputerResponse) slowProtoReflect() protoreflect.Message { + mi := &file_emissions_v8_query_proto_msgTypes[17] + 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) +} + +var _fastReflection_IsWhitelistedTopicReputerResponse_messageType fastReflection_IsWhitelistedTopicReputerResponse_messageType +var _ protoreflect.MessageType = fastReflection_IsWhitelistedTopicReputerResponse_messageType{} + +type fastReflection_IsWhitelistedTopicReputerResponse_messageType struct{} + +func (x fastReflection_IsWhitelistedTopicReputerResponse_messageType) Zero() protoreflect.Message { + return (*fastReflection_IsWhitelistedTopicReputerResponse)(nil) +} +func (x fastReflection_IsWhitelistedTopicReputerResponse_messageType) New() protoreflect.Message { + return new(fastReflection_IsWhitelistedTopicReputerResponse) +} +func (x fastReflection_IsWhitelistedTopicReputerResponse_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_IsWhitelistedTopicReputerResponse +} + +// Descriptor returns message descriptor, which contains only the protobuf +// type information for the message. +func (x *fastReflection_IsWhitelistedTopicReputerResponse) Descriptor() protoreflect.MessageDescriptor { + return md_IsWhitelistedTopicReputerResponse +} + +// Type returns the message type, which encapsulates both Go and protobuf +// type information. If the Go type information is not needed, +// it is recommended that the message descriptor be used instead. +func (x *fastReflection_IsWhitelistedTopicReputerResponse) Type() protoreflect.MessageType { + return _fastReflection_IsWhitelistedTopicReputerResponse_messageType +} + +// New returns a newly allocated and mutable empty message. +func (x *fastReflection_IsWhitelistedTopicReputerResponse) New() protoreflect.Message { + return new(fastReflection_IsWhitelistedTopicReputerResponse) +} + +// Interface unwraps the message reflection interface and +// returns the underlying ProtoMessage interface. +func (x *fastReflection_IsWhitelistedTopicReputerResponse) Interface() protoreflect.ProtoMessage { + return (*IsWhitelistedTopicReputerResponse)(x) +} + +// Range iterates over every populated field in an undefined order, +// calling f for each field descriptor and value encountered. +// Range returns immediately if f returns false. +// While iterating, mutating operations may only be performed +// on the current field descriptor. +func (x *fastReflection_IsWhitelistedTopicReputerResponse) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { + if x.IsWhitelistedTopicReputer != false { + value := protoreflect.ValueOfBool(x.IsWhitelistedTopicReputer) + if !f(fd_IsWhitelistedTopicReputerResponse_is_whitelisted_topic_reputer, value) { + return + } + } +} + +// Has reports whether a field is populated. +// +// Some fields have the property of nullability where it is possible to +// distinguish between the default value of a field and whether the field +// was explicitly populated with the default value. Singular message fields, +// member fields of a oneof, and proto2 scalar fields are nullable. Such +// fields are populated only if explicitly set. +// +// In other cases (aside from the nullable cases above), +// a proto3 scalar field is populated if it contains a non-zero value, and +// a repeated field is populated if it is non-empty. +func (x *fastReflection_IsWhitelistedTopicReputerResponse) Has(fd protoreflect.FieldDescriptor) bool { + switch fd.FullName() { + case "emissions.v8.IsWhitelistedTopicReputerResponse.is_whitelisted_topic_reputer": + return x.IsWhitelistedTopicReputer != false + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.IsWhitelistedTopicReputerResponse")) + } + panic(fmt.Errorf("message emissions.v8.IsWhitelistedTopicReputerResponse does not contain field %s", fd.FullName())) + } +} + +// Clear clears the field such that a subsequent Has call reports false. +// +// Clearing an extension field clears both the extension type and value +// associated with the given field number. +// +// Clear is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_IsWhitelistedTopicReputerResponse) Clear(fd protoreflect.FieldDescriptor) { + switch fd.FullName() { + case "emissions.v8.IsWhitelistedTopicReputerResponse.is_whitelisted_topic_reputer": + x.IsWhitelistedTopicReputer = false + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.IsWhitelistedTopicReputerResponse")) + } + panic(fmt.Errorf("message emissions.v8.IsWhitelistedTopicReputerResponse does not contain field %s", fd.FullName())) + } +} + +// Get retrieves the value for a field. +// +// For unpopulated scalars, it returns the default value, where +// the default value of a bytes scalar is guaranteed to be a copy. +// For unpopulated composite types, it returns an empty, read-only view +// of the value; to obtain a mutable reference, use Mutable. +func (x *fastReflection_IsWhitelistedTopicReputerResponse) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { + switch descriptor.FullName() { + case "emissions.v8.IsWhitelistedTopicReputerResponse.is_whitelisted_topic_reputer": + value := x.IsWhitelistedTopicReputer + return protoreflect.ValueOfBool(value) + default: + if descriptor.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.IsWhitelistedTopicReputerResponse")) + } + panic(fmt.Errorf("message emissions.v8.IsWhitelistedTopicReputerResponse does not contain field %s", descriptor.FullName())) + } +} + +// Set stores the value for a field. +// +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType. +// When setting a composite type, it is unspecified whether the stored value +// aliases the source's memory in any way. If the composite value is an +// empty, read-only value, then it panics. +// +// Set is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_IsWhitelistedTopicReputerResponse) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { + switch fd.FullName() { + case "emissions.v8.IsWhitelistedTopicReputerResponse.is_whitelisted_topic_reputer": + x.IsWhitelistedTopicReputer = value.Bool() + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.IsWhitelistedTopicReputerResponse")) + } + panic(fmt.Errorf("message emissions.v8.IsWhitelistedTopicReputerResponse does not contain field %s", fd.FullName())) + } +} + +// Mutable returns a mutable reference to a composite type. +// +// If the field is unpopulated, it may allocate a composite value. +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType +// if not already stored. +// It panics if the field does not contain a composite type. +// +// Mutable is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_IsWhitelistedTopicReputerResponse) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.IsWhitelistedTopicReputerResponse.is_whitelisted_topic_reputer": + panic(fmt.Errorf("field is_whitelisted_topic_reputer of message emissions.v8.IsWhitelistedTopicReputerResponse is not mutable")) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.IsWhitelistedTopicReputerResponse")) + } + panic(fmt.Errorf("message emissions.v8.IsWhitelistedTopicReputerResponse does not contain field %s", fd.FullName())) + } +} + +// NewField returns a new value that is assignable to the field +// for the given descriptor. For scalars, this returns the default value. +// For lists, maps, and messages, this returns a new, empty, mutable value. +func (x *fastReflection_IsWhitelistedTopicReputerResponse) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.IsWhitelistedTopicReputerResponse.is_whitelisted_topic_reputer": + return protoreflect.ValueOfBool(false) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.IsWhitelistedTopicReputerResponse")) + } + panic(fmt.Errorf("message emissions.v8.IsWhitelistedTopicReputerResponse does not contain field %s", fd.FullName())) + } +} + +// WhichOneof reports which field within the oneof is populated, +// returning nil if none are populated. +// It panics if the oneof descriptor does not belong to this message. +func (x *fastReflection_IsWhitelistedTopicReputerResponse) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { + switch d.FullName() { + default: + panic(fmt.Errorf("%s is not a oneof field in emissions.v8.IsWhitelistedTopicReputerResponse", d.FullName())) + } + panic("unreachable") +} + +// GetUnknown retrieves the entire list of unknown fields. +// The caller may only mutate the contents of the RawFields +// if the mutated bytes are stored back into the message with SetUnknown. +func (x *fastReflection_IsWhitelistedTopicReputerResponse) GetUnknown() protoreflect.RawFields { + return x.unknownFields +} + +// SetUnknown stores an entire list of unknown fields. +// The raw fields must be syntactically valid according to the wire format. +// An implementation may panic if this is not the case. +// Once stored, the caller must not mutate the content of the RawFields. +// An empty RawFields may be passed to clear the fields. +// +// SetUnknown is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_IsWhitelistedTopicReputerResponse) SetUnknown(fields protoreflect.RawFields) { + x.unknownFields = fields +} + +// IsValid reports whether the message is valid. +// +// An invalid message is an empty, read-only value. +// +// An invalid message often corresponds to a nil pointer of the concrete +// message type, but the details are implementation dependent. +// Validity is not part of the protobuf data model, and may not +// be preserved in marshaling or other operations. +func (x *fastReflection_IsWhitelistedTopicReputerResponse) IsValid() bool { + return x != nil +} + +// ProtoMethods returns optional fastReflectionFeature-path implementations of various operations. +// This method may return nil. +// +// The returned methods type is identical to +// "google.golang.org/protobuf/runtime/protoiface".Methods. +// Consult the protoiface package documentation for details. +func (x *fastReflection_IsWhitelistedTopicReputerResponse) ProtoMethods() *protoiface.Methods { + size := func(input protoiface.SizeInput) protoiface.SizeOutput { + x := input.Message.Interface().(*IsWhitelistedTopicReputerResponse) + if x == nil { + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: 0, + } + } + options := runtime.SizeInputToOptions(input) + _ = options + var n int + var l int + _ = l + if x.IsWhitelistedTopicReputer { + n += 2 + } + if x.unknownFields != nil { + n += len(x.unknownFields) + } + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: n, + } + } + + marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { + x := input.Message.Interface().(*IsWhitelistedTopicReputerResponse) + if x == nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + options := runtime.MarshalInputToOptions(input) + _ = options + size := options.Size(x) + dAtA := make([]byte, size) + i := len(dAtA) + _ = i + var l int + _ = l + if x.unknownFields != nil { + i -= len(x.unknownFields) + copy(dAtA[i:], x.unknownFields) + } + if x.IsWhitelistedTopicReputer { + i-- + if x.IsWhitelistedTopicReputer { + dAtA[i] = 1 + } else { + dAtA[i] = 0 + } + i-- + dAtA[i] = 0x8 + } + if input.Buf != nil { + input.Buf = append(input.Buf, dAtA...) + } else { + input.Buf = dAtA + } + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { + x := input.Message.Interface().(*IsWhitelistedTopicReputerResponse) + if x == nil { + return protoiface.UnmarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Flags: input.Flags, + }, nil + } + options := runtime.UnmarshalInputToOptions(input) + _ = options + dAtA := input.Buf + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: IsWhitelistedTopicReputerResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: IsWhitelistedTopicReputerResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field IsWhitelistedTopicReputer", wireType) + } + var v int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + x.IsWhitelistedTopicReputer = bool(v != 0) + default: + iNdEx = preIndex + skippy, err := runtime.Skip(dAtA[iNdEx:]) + if err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if (iNdEx + skippy) > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + if !options.DiscardUnknown { + x.unknownFields = append(x.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + } + iNdEx += skippy + } + } + + if iNdEx > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, nil + } + return &protoiface.Methods{ + NoUnkeyedLiterals: struct{}{}, + Flags: protoiface.SupportMarshalDeterministic | protoiface.SupportUnmarshalDiscardUnknown, + Size: size, + Marshal: marshal, + Unmarshal: unmarshal, + Merge: nil, + CheckInitialized: nil, + } +} + +var ( + md_CanUpdateAllGlobalWhitelistsRequest protoreflect.MessageDescriptor + fd_CanUpdateAllGlobalWhitelistsRequest_address protoreflect.FieldDescriptor +) + +func init() { + file_emissions_v8_query_proto_init() + md_CanUpdateAllGlobalWhitelistsRequest = File_emissions_v8_query_proto.Messages().ByName("CanUpdateAllGlobalWhitelistsRequest") + fd_CanUpdateAllGlobalWhitelistsRequest_address = md_CanUpdateAllGlobalWhitelistsRequest.Fields().ByName("address") +} + +var _ protoreflect.Message = (*fastReflection_CanUpdateAllGlobalWhitelistsRequest)(nil) + +type fastReflection_CanUpdateAllGlobalWhitelistsRequest CanUpdateAllGlobalWhitelistsRequest + +func (x *CanUpdateAllGlobalWhitelistsRequest) ProtoReflect() protoreflect.Message { + return (*fastReflection_CanUpdateAllGlobalWhitelistsRequest)(x) +} + +func (x *CanUpdateAllGlobalWhitelistsRequest) slowProtoReflect() protoreflect.Message { + mi := &file_emissions_v8_query_proto_msgTypes[18] + 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) +} + +var _fastReflection_CanUpdateAllGlobalWhitelistsRequest_messageType fastReflection_CanUpdateAllGlobalWhitelistsRequest_messageType +var _ protoreflect.MessageType = fastReflection_CanUpdateAllGlobalWhitelistsRequest_messageType{} + +type fastReflection_CanUpdateAllGlobalWhitelistsRequest_messageType struct{} + +func (x fastReflection_CanUpdateAllGlobalWhitelistsRequest_messageType) Zero() protoreflect.Message { + return (*fastReflection_CanUpdateAllGlobalWhitelistsRequest)(nil) +} +func (x fastReflection_CanUpdateAllGlobalWhitelistsRequest_messageType) New() protoreflect.Message { + return new(fastReflection_CanUpdateAllGlobalWhitelistsRequest) +} +func (x fastReflection_CanUpdateAllGlobalWhitelistsRequest_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_CanUpdateAllGlobalWhitelistsRequest +} + +// Descriptor returns message descriptor, which contains only the protobuf +// type information for the message. +func (x *fastReflection_CanUpdateAllGlobalWhitelistsRequest) Descriptor() protoreflect.MessageDescriptor { + return md_CanUpdateAllGlobalWhitelistsRequest +} + +// Type returns the message type, which encapsulates both Go and protobuf +// type information. If the Go type information is not needed, +// it is recommended that the message descriptor be used instead. +func (x *fastReflection_CanUpdateAllGlobalWhitelistsRequest) Type() protoreflect.MessageType { + return _fastReflection_CanUpdateAllGlobalWhitelistsRequest_messageType +} + +// New returns a newly allocated and mutable empty message. +func (x *fastReflection_CanUpdateAllGlobalWhitelistsRequest) New() protoreflect.Message { + return new(fastReflection_CanUpdateAllGlobalWhitelistsRequest) +} + +// Interface unwraps the message reflection interface and +// returns the underlying ProtoMessage interface. +func (x *fastReflection_CanUpdateAllGlobalWhitelistsRequest) Interface() protoreflect.ProtoMessage { + return (*CanUpdateAllGlobalWhitelistsRequest)(x) +} + +// Range iterates over every populated field in an undefined order, +// calling f for each field descriptor and value encountered. +// Range returns immediately if f returns false. +// While iterating, mutating operations may only be performed +// on the current field descriptor. +func (x *fastReflection_CanUpdateAllGlobalWhitelistsRequest) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { + if x.Address != "" { + value := protoreflect.ValueOfString(x.Address) + if !f(fd_CanUpdateAllGlobalWhitelistsRequest_address, value) { + return + } + } +} + +// Has reports whether a field is populated. +// +// Some fields have the property of nullability where it is possible to +// distinguish between the default value of a field and whether the field +// was explicitly populated with the default value. Singular message fields, +// member fields of a oneof, and proto2 scalar fields are nullable. Such +// fields are populated only if explicitly set. +// +// In other cases (aside from the nullable cases above), +// a proto3 scalar field is populated if it contains a non-zero value, and +// a repeated field is populated if it is non-empty. +func (x *fastReflection_CanUpdateAllGlobalWhitelistsRequest) Has(fd protoreflect.FieldDescriptor) bool { + switch fd.FullName() { + case "emissions.v8.CanUpdateAllGlobalWhitelistsRequest.address": + return x.Address != "" + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.CanUpdateAllGlobalWhitelistsRequest")) + } + panic(fmt.Errorf("message emissions.v8.CanUpdateAllGlobalWhitelistsRequest does not contain field %s", fd.FullName())) + } +} + +// Clear clears the field such that a subsequent Has call reports false. +// +// Clearing an extension field clears both the extension type and value +// associated with the given field number. +// +// Clear is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_CanUpdateAllGlobalWhitelistsRequest) Clear(fd protoreflect.FieldDescriptor) { + switch fd.FullName() { + case "emissions.v8.CanUpdateAllGlobalWhitelistsRequest.address": + x.Address = "" + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.CanUpdateAllGlobalWhitelistsRequest")) + } + panic(fmt.Errorf("message emissions.v8.CanUpdateAllGlobalWhitelistsRequest does not contain field %s", fd.FullName())) + } +} + +// Get retrieves the value for a field. +// +// For unpopulated scalars, it returns the default value, where +// the default value of a bytes scalar is guaranteed to be a copy. +// For unpopulated composite types, it returns an empty, read-only view +// of the value; to obtain a mutable reference, use Mutable. +func (x *fastReflection_CanUpdateAllGlobalWhitelistsRequest) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { + switch descriptor.FullName() { + case "emissions.v8.CanUpdateAllGlobalWhitelistsRequest.address": + value := x.Address + return protoreflect.ValueOfString(value) + default: + if descriptor.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.CanUpdateAllGlobalWhitelistsRequest")) + } + panic(fmt.Errorf("message emissions.v8.CanUpdateAllGlobalWhitelistsRequest does not contain field %s", descriptor.FullName())) + } +} + +// Set stores the value for a field. +// +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType. +// When setting a composite type, it is unspecified whether the stored value +// aliases the source's memory in any way. If the composite value is an +// empty, read-only value, then it panics. +// +// Set is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_CanUpdateAllGlobalWhitelistsRequest) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { + switch fd.FullName() { + case "emissions.v8.CanUpdateAllGlobalWhitelistsRequest.address": + x.Address = value.Interface().(string) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.CanUpdateAllGlobalWhitelistsRequest")) + } + panic(fmt.Errorf("message emissions.v8.CanUpdateAllGlobalWhitelistsRequest does not contain field %s", fd.FullName())) + } +} + +// Mutable returns a mutable reference to a composite type. +// +// If the field is unpopulated, it may allocate a composite value. +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType +// if not already stored. +// It panics if the field does not contain a composite type. +// +// Mutable is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_CanUpdateAllGlobalWhitelistsRequest) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.CanUpdateAllGlobalWhitelistsRequest.address": + panic(fmt.Errorf("field address of message emissions.v8.CanUpdateAllGlobalWhitelistsRequest is not mutable")) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.CanUpdateAllGlobalWhitelistsRequest")) + } + panic(fmt.Errorf("message emissions.v8.CanUpdateAllGlobalWhitelistsRequest does not contain field %s", fd.FullName())) + } +} + +// NewField returns a new value that is assignable to the field +// for the given descriptor. For scalars, this returns the default value. +// For lists, maps, and messages, this returns a new, empty, mutable value. +func (x *fastReflection_CanUpdateAllGlobalWhitelistsRequest) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.CanUpdateAllGlobalWhitelistsRequest.address": + return protoreflect.ValueOfString("") + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.CanUpdateAllGlobalWhitelistsRequest")) + } + panic(fmt.Errorf("message emissions.v8.CanUpdateAllGlobalWhitelistsRequest does not contain field %s", fd.FullName())) + } +} + +// WhichOneof reports which field within the oneof is populated, +// returning nil if none are populated. +// It panics if the oneof descriptor does not belong to this message. +func (x *fastReflection_CanUpdateAllGlobalWhitelistsRequest) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { + switch d.FullName() { + default: + panic(fmt.Errorf("%s is not a oneof field in emissions.v8.CanUpdateAllGlobalWhitelistsRequest", d.FullName())) + } + panic("unreachable") +} + +// GetUnknown retrieves the entire list of unknown fields. +// The caller may only mutate the contents of the RawFields +// if the mutated bytes are stored back into the message with SetUnknown. +func (x *fastReflection_CanUpdateAllGlobalWhitelistsRequest) GetUnknown() protoreflect.RawFields { + return x.unknownFields +} + +// SetUnknown stores an entire list of unknown fields. +// The raw fields must be syntactically valid according to the wire format. +// An implementation may panic if this is not the case. +// Once stored, the caller must not mutate the content of the RawFields. +// An empty RawFields may be passed to clear the fields. +// +// SetUnknown is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_CanUpdateAllGlobalWhitelistsRequest) SetUnknown(fields protoreflect.RawFields) { + x.unknownFields = fields +} + +// IsValid reports whether the message is valid. +// +// An invalid message is an empty, read-only value. +// +// An invalid message often corresponds to a nil pointer of the concrete +// message type, but the details are implementation dependent. +// Validity is not part of the protobuf data model, and may not +// be preserved in marshaling or other operations. +func (x *fastReflection_CanUpdateAllGlobalWhitelistsRequest) IsValid() bool { + return x != nil +} + +// ProtoMethods returns optional fastReflectionFeature-path implementations of various operations. +// This method may return nil. +// +// The returned methods type is identical to +// "google.golang.org/protobuf/runtime/protoiface".Methods. +// Consult the protoiface package documentation for details. +func (x *fastReflection_CanUpdateAllGlobalWhitelistsRequest) ProtoMethods() *protoiface.Methods { + size := func(input protoiface.SizeInput) protoiface.SizeOutput { + x := input.Message.Interface().(*CanUpdateAllGlobalWhitelistsRequest) + if x == nil { + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: 0, + } + } + options := runtime.SizeInputToOptions(input) + _ = options + var n int + var l int + _ = l + l = len(x.Address) + if l > 0 { + n += 1 + l + runtime.Sov(uint64(l)) + } + if x.unknownFields != nil { + n += len(x.unknownFields) + } + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: n, + } + } + + marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { + x := input.Message.Interface().(*CanUpdateAllGlobalWhitelistsRequest) + if x == nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + options := runtime.MarshalInputToOptions(input) + _ = options + size := options.Size(x) + dAtA := make([]byte, size) + i := len(dAtA) + _ = i + var l int + _ = l + if x.unknownFields != nil { + i -= len(x.unknownFields) + copy(dAtA[i:], x.unknownFields) + } + if len(x.Address) > 0 { + i -= len(x.Address) + copy(dAtA[i:], x.Address) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.Address))) + i-- + dAtA[i] = 0xa + } + if input.Buf != nil { + input.Buf = append(input.Buf, dAtA...) + } else { + input.Buf = dAtA + } + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { + x := input.Message.Interface().(*CanUpdateAllGlobalWhitelistsRequest) + if x == nil { + return protoiface.UnmarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Flags: input.Flags, + }, nil + } + options := runtime.UnmarshalInputToOptions(input) + _ = options + dAtA := input.Buf + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: CanUpdateAllGlobalWhitelistsRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: CanUpdateAllGlobalWhitelistsRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Address", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + x.Address = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := runtime.Skip(dAtA[iNdEx:]) + if err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if (iNdEx + skippy) > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + if !options.DiscardUnknown { + x.unknownFields = append(x.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + } + iNdEx += skippy + } + } + + if iNdEx > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, nil + } + return &protoiface.Methods{ + NoUnkeyedLiterals: struct{}{}, + Flags: protoiface.SupportMarshalDeterministic | protoiface.SupportUnmarshalDiscardUnknown, + Size: size, + Marshal: marshal, + Unmarshal: unmarshal, + Merge: nil, + CheckInitialized: nil, + } +} + +var ( + md_CanUpdateAllGlobalWhitelistsResponse protoreflect.MessageDescriptor + fd_CanUpdateAllGlobalWhitelistsResponse_can_update_all_global_whitelists protoreflect.FieldDescriptor +) + +func init() { + file_emissions_v8_query_proto_init() + md_CanUpdateAllGlobalWhitelistsResponse = File_emissions_v8_query_proto.Messages().ByName("CanUpdateAllGlobalWhitelistsResponse") + fd_CanUpdateAllGlobalWhitelistsResponse_can_update_all_global_whitelists = md_CanUpdateAllGlobalWhitelistsResponse.Fields().ByName("can_update_all_global_whitelists") +} + +var _ protoreflect.Message = (*fastReflection_CanUpdateAllGlobalWhitelistsResponse)(nil) + +type fastReflection_CanUpdateAllGlobalWhitelistsResponse CanUpdateAllGlobalWhitelistsResponse + +func (x *CanUpdateAllGlobalWhitelistsResponse) ProtoReflect() protoreflect.Message { + return (*fastReflection_CanUpdateAllGlobalWhitelistsResponse)(x) +} + +func (x *CanUpdateAllGlobalWhitelistsResponse) slowProtoReflect() protoreflect.Message { + mi := &file_emissions_v8_query_proto_msgTypes[19] + 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) +} + +var _fastReflection_CanUpdateAllGlobalWhitelistsResponse_messageType fastReflection_CanUpdateAllGlobalWhitelistsResponse_messageType +var _ protoreflect.MessageType = fastReflection_CanUpdateAllGlobalWhitelistsResponse_messageType{} + +type fastReflection_CanUpdateAllGlobalWhitelistsResponse_messageType struct{} + +func (x fastReflection_CanUpdateAllGlobalWhitelistsResponse_messageType) Zero() protoreflect.Message { + return (*fastReflection_CanUpdateAllGlobalWhitelistsResponse)(nil) +} +func (x fastReflection_CanUpdateAllGlobalWhitelistsResponse_messageType) New() protoreflect.Message { + return new(fastReflection_CanUpdateAllGlobalWhitelistsResponse) +} +func (x fastReflection_CanUpdateAllGlobalWhitelistsResponse_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_CanUpdateAllGlobalWhitelistsResponse +} + +// Descriptor returns message descriptor, which contains only the protobuf +// type information for the message. +func (x *fastReflection_CanUpdateAllGlobalWhitelistsResponse) Descriptor() protoreflect.MessageDescriptor { + return md_CanUpdateAllGlobalWhitelistsResponse +} + +// Type returns the message type, which encapsulates both Go and protobuf +// type information. If the Go type information is not needed, +// it is recommended that the message descriptor be used instead. +func (x *fastReflection_CanUpdateAllGlobalWhitelistsResponse) Type() protoreflect.MessageType { + return _fastReflection_CanUpdateAllGlobalWhitelistsResponse_messageType +} + +// New returns a newly allocated and mutable empty message. +func (x *fastReflection_CanUpdateAllGlobalWhitelistsResponse) New() protoreflect.Message { + return new(fastReflection_CanUpdateAllGlobalWhitelistsResponse) +} + +// Interface unwraps the message reflection interface and +// returns the underlying ProtoMessage interface. +func (x *fastReflection_CanUpdateAllGlobalWhitelistsResponse) Interface() protoreflect.ProtoMessage { + return (*CanUpdateAllGlobalWhitelistsResponse)(x) +} + +// Range iterates over every populated field in an undefined order, +// calling f for each field descriptor and value encountered. +// Range returns immediately if f returns false. +// While iterating, mutating operations may only be performed +// on the current field descriptor. +func (x *fastReflection_CanUpdateAllGlobalWhitelistsResponse) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { + if x.CanUpdateAllGlobalWhitelists != false { + value := protoreflect.ValueOfBool(x.CanUpdateAllGlobalWhitelists) + if !f(fd_CanUpdateAllGlobalWhitelistsResponse_can_update_all_global_whitelists, value) { + return + } + } +} + +// Has reports whether a field is populated. +// +// Some fields have the property of nullability where it is possible to +// distinguish between the default value of a field and whether the field +// was explicitly populated with the default value. Singular message fields, +// member fields of a oneof, and proto2 scalar fields are nullable. Such +// fields are populated only if explicitly set. +// +// In other cases (aside from the nullable cases above), +// a proto3 scalar field is populated if it contains a non-zero value, and +// a repeated field is populated if it is non-empty. +func (x *fastReflection_CanUpdateAllGlobalWhitelistsResponse) Has(fd protoreflect.FieldDescriptor) bool { + switch fd.FullName() { + case "emissions.v8.CanUpdateAllGlobalWhitelistsResponse.can_update_all_global_whitelists": + return x.CanUpdateAllGlobalWhitelists != false + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.CanUpdateAllGlobalWhitelistsResponse")) + } + panic(fmt.Errorf("message emissions.v8.CanUpdateAllGlobalWhitelistsResponse does not contain field %s", fd.FullName())) + } +} + +// Clear clears the field such that a subsequent Has call reports false. +// +// Clearing an extension field clears both the extension type and value +// associated with the given field number. +// +// Clear is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_CanUpdateAllGlobalWhitelistsResponse) Clear(fd protoreflect.FieldDescriptor) { + switch fd.FullName() { + case "emissions.v8.CanUpdateAllGlobalWhitelistsResponse.can_update_all_global_whitelists": + x.CanUpdateAllGlobalWhitelists = false + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.CanUpdateAllGlobalWhitelistsResponse")) + } + panic(fmt.Errorf("message emissions.v8.CanUpdateAllGlobalWhitelistsResponse does not contain field %s", fd.FullName())) + } +} + +// Get retrieves the value for a field. +// +// For unpopulated scalars, it returns the default value, where +// the default value of a bytes scalar is guaranteed to be a copy. +// For unpopulated composite types, it returns an empty, read-only view +// of the value; to obtain a mutable reference, use Mutable. +func (x *fastReflection_CanUpdateAllGlobalWhitelistsResponse) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { + switch descriptor.FullName() { + case "emissions.v8.CanUpdateAllGlobalWhitelistsResponse.can_update_all_global_whitelists": + value := x.CanUpdateAllGlobalWhitelists + return protoreflect.ValueOfBool(value) + default: + if descriptor.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.CanUpdateAllGlobalWhitelistsResponse")) + } + panic(fmt.Errorf("message emissions.v8.CanUpdateAllGlobalWhitelistsResponse does not contain field %s", descriptor.FullName())) + } +} + +// Set stores the value for a field. +// +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType. +// When setting a composite type, it is unspecified whether the stored value +// aliases the source's memory in any way. If the composite value is an +// empty, read-only value, then it panics. +// +// Set is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_CanUpdateAllGlobalWhitelistsResponse) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { + switch fd.FullName() { + case "emissions.v8.CanUpdateAllGlobalWhitelistsResponse.can_update_all_global_whitelists": + x.CanUpdateAllGlobalWhitelists = value.Bool() + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.CanUpdateAllGlobalWhitelistsResponse")) + } + panic(fmt.Errorf("message emissions.v8.CanUpdateAllGlobalWhitelistsResponse does not contain field %s", fd.FullName())) + } +} + +// Mutable returns a mutable reference to a composite type. +// +// If the field is unpopulated, it may allocate a composite value. +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType +// if not already stored. +// It panics if the field does not contain a composite type. +// +// Mutable is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_CanUpdateAllGlobalWhitelistsResponse) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.CanUpdateAllGlobalWhitelistsResponse.can_update_all_global_whitelists": + panic(fmt.Errorf("field can_update_all_global_whitelists of message emissions.v8.CanUpdateAllGlobalWhitelistsResponse is not mutable")) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.CanUpdateAllGlobalWhitelistsResponse")) + } + panic(fmt.Errorf("message emissions.v8.CanUpdateAllGlobalWhitelistsResponse does not contain field %s", fd.FullName())) + } +} + +// NewField returns a new value that is assignable to the field +// for the given descriptor. For scalars, this returns the default value. +// For lists, maps, and messages, this returns a new, empty, mutable value. +func (x *fastReflection_CanUpdateAllGlobalWhitelistsResponse) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.CanUpdateAllGlobalWhitelistsResponse.can_update_all_global_whitelists": + return protoreflect.ValueOfBool(false) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.CanUpdateAllGlobalWhitelistsResponse")) + } + panic(fmt.Errorf("message emissions.v8.CanUpdateAllGlobalWhitelistsResponse does not contain field %s", fd.FullName())) + } +} + +// WhichOneof reports which field within the oneof is populated, +// returning nil if none are populated. +// It panics if the oneof descriptor does not belong to this message. +func (x *fastReflection_CanUpdateAllGlobalWhitelistsResponse) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { + switch d.FullName() { + default: + panic(fmt.Errorf("%s is not a oneof field in emissions.v8.CanUpdateAllGlobalWhitelistsResponse", d.FullName())) + } + panic("unreachable") +} + +// GetUnknown retrieves the entire list of unknown fields. +// The caller may only mutate the contents of the RawFields +// if the mutated bytes are stored back into the message with SetUnknown. +func (x *fastReflection_CanUpdateAllGlobalWhitelistsResponse) GetUnknown() protoreflect.RawFields { + return x.unknownFields +} + +// SetUnknown stores an entire list of unknown fields. +// The raw fields must be syntactically valid according to the wire format. +// An implementation may panic if this is not the case. +// Once stored, the caller must not mutate the content of the RawFields. +// An empty RawFields may be passed to clear the fields. +// +// SetUnknown is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_CanUpdateAllGlobalWhitelistsResponse) SetUnknown(fields protoreflect.RawFields) { + x.unknownFields = fields +} + +// IsValid reports whether the message is valid. +// +// An invalid message is an empty, read-only value. +// +// An invalid message often corresponds to a nil pointer of the concrete +// message type, but the details are implementation dependent. +// Validity is not part of the protobuf data model, and may not +// be preserved in marshaling or other operations. +func (x *fastReflection_CanUpdateAllGlobalWhitelistsResponse) IsValid() bool { + return x != nil +} + +// ProtoMethods returns optional fastReflectionFeature-path implementations of various operations. +// This method may return nil. +// +// The returned methods type is identical to +// "google.golang.org/protobuf/runtime/protoiface".Methods. +// Consult the protoiface package documentation for details. +func (x *fastReflection_CanUpdateAllGlobalWhitelistsResponse) ProtoMethods() *protoiface.Methods { + size := func(input protoiface.SizeInput) protoiface.SizeOutput { + x := input.Message.Interface().(*CanUpdateAllGlobalWhitelistsResponse) + if x == nil { + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: 0, + } + } + options := runtime.SizeInputToOptions(input) + _ = options + var n int + var l int + _ = l + if x.CanUpdateAllGlobalWhitelists { + n += 2 + } + if x.unknownFields != nil { + n += len(x.unknownFields) + } + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: n, + } + } + + marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { + x := input.Message.Interface().(*CanUpdateAllGlobalWhitelistsResponse) + if x == nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + options := runtime.MarshalInputToOptions(input) + _ = options + size := options.Size(x) + dAtA := make([]byte, size) + i := len(dAtA) + _ = i + var l int + _ = l + if x.unknownFields != nil { + i -= len(x.unknownFields) + copy(dAtA[i:], x.unknownFields) + } + if x.CanUpdateAllGlobalWhitelists { + i-- + if x.CanUpdateAllGlobalWhitelists { + dAtA[i] = 1 + } else { + dAtA[i] = 0 + } + i-- + dAtA[i] = 0x8 + } + if input.Buf != nil { + input.Buf = append(input.Buf, dAtA...) + } else { + input.Buf = dAtA + } + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { + x := input.Message.Interface().(*CanUpdateAllGlobalWhitelistsResponse) + if x == nil { + return protoiface.UnmarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Flags: input.Flags, + }, nil + } + options := runtime.UnmarshalInputToOptions(input) + _ = options + dAtA := input.Buf + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: CanUpdateAllGlobalWhitelistsResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: CanUpdateAllGlobalWhitelistsResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field CanUpdateAllGlobalWhitelists", wireType) + } + var v int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + x.CanUpdateAllGlobalWhitelists = bool(v != 0) + default: + iNdEx = preIndex + skippy, err := runtime.Skip(dAtA[iNdEx:]) + if err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if (iNdEx + skippy) > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + if !options.DiscardUnknown { + x.unknownFields = append(x.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + } + iNdEx += skippy + } + } + + if iNdEx > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, nil + } + return &protoiface.Methods{ + NoUnkeyedLiterals: struct{}{}, + Flags: protoiface.SupportMarshalDeterministic | protoiface.SupportUnmarshalDiscardUnknown, + Size: size, + Marshal: marshal, + Unmarshal: unmarshal, + Merge: nil, + CheckInitialized: nil, + } +} + +var ( + md_CanUpdateGlobalWorkerWhitelistRequest protoreflect.MessageDescriptor + fd_CanUpdateGlobalWorkerWhitelistRequest_address protoreflect.FieldDescriptor +) + +func init() { + file_emissions_v8_query_proto_init() + md_CanUpdateGlobalWorkerWhitelistRequest = File_emissions_v8_query_proto.Messages().ByName("CanUpdateGlobalWorkerWhitelistRequest") + fd_CanUpdateGlobalWorkerWhitelistRequest_address = md_CanUpdateGlobalWorkerWhitelistRequest.Fields().ByName("address") +} + +var _ protoreflect.Message = (*fastReflection_CanUpdateGlobalWorkerWhitelistRequest)(nil) + +type fastReflection_CanUpdateGlobalWorkerWhitelistRequest CanUpdateGlobalWorkerWhitelistRequest + +func (x *CanUpdateGlobalWorkerWhitelistRequest) ProtoReflect() protoreflect.Message { + return (*fastReflection_CanUpdateGlobalWorkerWhitelistRequest)(x) +} + +func (x *CanUpdateGlobalWorkerWhitelistRequest) slowProtoReflect() protoreflect.Message { + mi := &file_emissions_v8_query_proto_msgTypes[20] + 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) +} + +var _fastReflection_CanUpdateGlobalWorkerWhitelistRequest_messageType fastReflection_CanUpdateGlobalWorkerWhitelistRequest_messageType +var _ protoreflect.MessageType = fastReflection_CanUpdateGlobalWorkerWhitelistRequest_messageType{} + +type fastReflection_CanUpdateGlobalWorkerWhitelistRequest_messageType struct{} + +func (x fastReflection_CanUpdateGlobalWorkerWhitelistRequest_messageType) Zero() protoreflect.Message { + return (*fastReflection_CanUpdateGlobalWorkerWhitelistRequest)(nil) +} +func (x fastReflection_CanUpdateGlobalWorkerWhitelistRequest_messageType) New() protoreflect.Message { + return new(fastReflection_CanUpdateGlobalWorkerWhitelistRequest) +} +func (x fastReflection_CanUpdateGlobalWorkerWhitelistRequest_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_CanUpdateGlobalWorkerWhitelistRequest +} + +// Descriptor returns message descriptor, which contains only the protobuf +// type information for the message. +func (x *fastReflection_CanUpdateGlobalWorkerWhitelistRequest) Descriptor() protoreflect.MessageDescriptor { + return md_CanUpdateGlobalWorkerWhitelistRequest +} + +// Type returns the message type, which encapsulates both Go and protobuf +// type information. If the Go type information is not needed, +// it is recommended that the message descriptor be used instead. +func (x *fastReflection_CanUpdateGlobalWorkerWhitelistRequest) Type() protoreflect.MessageType { + return _fastReflection_CanUpdateGlobalWorkerWhitelistRequest_messageType +} + +// New returns a newly allocated and mutable empty message. +func (x *fastReflection_CanUpdateGlobalWorkerWhitelistRequest) New() protoreflect.Message { + return new(fastReflection_CanUpdateGlobalWorkerWhitelistRequest) +} + +// Interface unwraps the message reflection interface and +// returns the underlying ProtoMessage interface. +func (x *fastReflection_CanUpdateGlobalWorkerWhitelistRequest) Interface() protoreflect.ProtoMessage { + return (*CanUpdateGlobalWorkerWhitelistRequest)(x) +} + +// Range iterates over every populated field in an undefined order, +// calling f for each field descriptor and value encountered. +// Range returns immediately if f returns false. +// While iterating, mutating operations may only be performed +// on the current field descriptor. +func (x *fastReflection_CanUpdateGlobalWorkerWhitelistRequest) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { + if x.Address != "" { + value := protoreflect.ValueOfString(x.Address) + if !f(fd_CanUpdateGlobalWorkerWhitelistRequest_address, value) { + return + } + } +} + +// Has reports whether a field is populated. +// +// Some fields have the property of nullability where it is possible to +// distinguish between the default value of a field and whether the field +// was explicitly populated with the default value. Singular message fields, +// member fields of a oneof, and proto2 scalar fields are nullable. Such +// fields are populated only if explicitly set. +// +// In other cases (aside from the nullable cases above), +// a proto3 scalar field is populated if it contains a non-zero value, and +// a repeated field is populated if it is non-empty. +func (x *fastReflection_CanUpdateGlobalWorkerWhitelistRequest) Has(fd protoreflect.FieldDescriptor) bool { + switch fd.FullName() { + case "emissions.v8.CanUpdateGlobalWorkerWhitelistRequest.address": + return x.Address != "" + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.CanUpdateGlobalWorkerWhitelistRequest")) + } + panic(fmt.Errorf("message emissions.v8.CanUpdateGlobalWorkerWhitelistRequest does not contain field %s", fd.FullName())) + } +} + +// Clear clears the field such that a subsequent Has call reports false. +// +// Clearing an extension field clears both the extension type and value +// associated with the given field number. +// +// Clear is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_CanUpdateGlobalWorkerWhitelistRequest) Clear(fd protoreflect.FieldDescriptor) { + switch fd.FullName() { + case "emissions.v8.CanUpdateGlobalWorkerWhitelistRequest.address": + x.Address = "" + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.CanUpdateGlobalWorkerWhitelistRequest")) + } + panic(fmt.Errorf("message emissions.v8.CanUpdateGlobalWorkerWhitelistRequest does not contain field %s", fd.FullName())) + } +} + +// Get retrieves the value for a field. +// +// For unpopulated scalars, it returns the default value, where +// the default value of a bytes scalar is guaranteed to be a copy. +// For unpopulated composite types, it returns an empty, read-only view +// of the value; to obtain a mutable reference, use Mutable. +func (x *fastReflection_CanUpdateGlobalWorkerWhitelistRequest) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { + switch descriptor.FullName() { + case "emissions.v8.CanUpdateGlobalWorkerWhitelistRequest.address": + value := x.Address + return protoreflect.ValueOfString(value) + default: + if descriptor.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.CanUpdateGlobalWorkerWhitelistRequest")) + } + panic(fmt.Errorf("message emissions.v8.CanUpdateGlobalWorkerWhitelistRequest does not contain field %s", descriptor.FullName())) + } +} + +// Set stores the value for a field. +// +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType. +// When setting a composite type, it is unspecified whether the stored value +// aliases the source's memory in any way. If the composite value is an +// empty, read-only value, then it panics. +// +// Set is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_CanUpdateGlobalWorkerWhitelistRequest) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { + switch fd.FullName() { + case "emissions.v8.CanUpdateGlobalWorkerWhitelistRequest.address": + x.Address = value.Interface().(string) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.CanUpdateGlobalWorkerWhitelistRequest")) + } + panic(fmt.Errorf("message emissions.v8.CanUpdateGlobalWorkerWhitelistRequest does not contain field %s", fd.FullName())) + } +} + +// Mutable returns a mutable reference to a composite type. +// +// If the field is unpopulated, it may allocate a composite value. +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType +// if not already stored. +// It panics if the field does not contain a composite type. +// +// Mutable is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_CanUpdateGlobalWorkerWhitelistRequest) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.CanUpdateGlobalWorkerWhitelistRequest.address": + panic(fmt.Errorf("field address of message emissions.v8.CanUpdateGlobalWorkerWhitelistRequest is not mutable")) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.CanUpdateGlobalWorkerWhitelistRequest")) + } + panic(fmt.Errorf("message emissions.v8.CanUpdateGlobalWorkerWhitelistRequest does not contain field %s", fd.FullName())) + } +} + +// NewField returns a new value that is assignable to the field +// for the given descriptor. For scalars, this returns the default value. +// For lists, maps, and messages, this returns a new, empty, mutable value. +func (x *fastReflection_CanUpdateGlobalWorkerWhitelistRequest) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.CanUpdateGlobalWorkerWhitelistRequest.address": + return protoreflect.ValueOfString("") + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.CanUpdateGlobalWorkerWhitelistRequest")) + } + panic(fmt.Errorf("message emissions.v8.CanUpdateGlobalWorkerWhitelistRequest does not contain field %s", fd.FullName())) + } +} + +// WhichOneof reports which field within the oneof is populated, +// returning nil if none are populated. +// It panics if the oneof descriptor does not belong to this message. +func (x *fastReflection_CanUpdateGlobalWorkerWhitelistRequest) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { + switch d.FullName() { + default: + panic(fmt.Errorf("%s is not a oneof field in emissions.v8.CanUpdateGlobalWorkerWhitelistRequest", d.FullName())) + } + panic("unreachable") +} + +// GetUnknown retrieves the entire list of unknown fields. +// The caller may only mutate the contents of the RawFields +// if the mutated bytes are stored back into the message with SetUnknown. +func (x *fastReflection_CanUpdateGlobalWorkerWhitelistRequest) GetUnknown() protoreflect.RawFields { + return x.unknownFields +} + +// SetUnknown stores an entire list of unknown fields. +// The raw fields must be syntactically valid according to the wire format. +// An implementation may panic if this is not the case. +// Once stored, the caller must not mutate the content of the RawFields. +// An empty RawFields may be passed to clear the fields. +// +// SetUnknown is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_CanUpdateGlobalWorkerWhitelistRequest) SetUnknown(fields protoreflect.RawFields) { + x.unknownFields = fields +} + +// IsValid reports whether the message is valid. +// +// An invalid message is an empty, read-only value. +// +// An invalid message often corresponds to a nil pointer of the concrete +// message type, but the details are implementation dependent. +// Validity is not part of the protobuf data model, and may not +// be preserved in marshaling or other operations. +func (x *fastReflection_CanUpdateGlobalWorkerWhitelistRequest) IsValid() bool { + return x != nil +} + +// ProtoMethods returns optional fastReflectionFeature-path implementations of various operations. +// This method may return nil. +// +// The returned methods type is identical to +// "google.golang.org/protobuf/runtime/protoiface".Methods. +// Consult the protoiface package documentation for details. +func (x *fastReflection_CanUpdateGlobalWorkerWhitelistRequest) ProtoMethods() *protoiface.Methods { + size := func(input protoiface.SizeInput) protoiface.SizeOutput { + x := input.Message.Interface().(*CanUpdateGlobalWorkerWhitelistRequest) + if x == nil { + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: 0, + } + } + options := runtime.SizeInputToOptions(input) + _ = options + var n int + var l int + _ = l + l = len(x.Address) + if l > 0 { + n += 1 + l + runtime.Sov(uint64(l)) + } + if x.unknownFields != nil { + n += len(x.unknownFields) + } + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: n, + } + } + + marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { + x := input.Message.Interface().(*CanUpdateGlobalWorkerWhitelistRequest) + if x == nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + options := runtime.MarshalInputToOptions(input) + _ = options + size := options.Size(x) + dAtA := make([]byte, size) + i := len(dAtA) + _ = i + var l int + _ = l + if x.unknownFields != nil { + i -= len(x.unknownFields) + copy(dAtA[i:], x.unknownFields) + } + if len(x.Address) > 0 { + i -= len(x.Address) + copy(dAtA[i:], x.Address) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.Address))) + i-- + dAtA[i] = 0xa + } + if input.Buf != nil { + input.Buf = append(input.Buf, dAtA...) + } else { + input.Buf = dAtA + } + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { + x := input.Message.Interface().(*CanUpdateGlobalWorkerWhitelistRequest) + if x == nil { + return protoiface.UnmarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Flags: input.Flags, + }, nil + } + options := runtime.UnmarshalInputToOptions(input) + _ = options + dAtA := input.Buf + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: CanUpdateGlobalWorkerWhitelistRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: CanUpdateGlobalWorkerWhitelistRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Address", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + x.Address = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := runtime.Skip(dAtA[iNdEx:]) + if err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if (iNdEx + skippy) > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + if !options.DiscardUnknown { + x.unknownFields = append(x.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + } + iNdEx += skippy + } + } + + if iNdEx > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, nil + } + return &protoiface.Methods{ + NoUnkeyedLiterals: struct{}{}, + Flags: protoiface.SupportMarshalDeterministic | protoiface.SupportUnmarshalDiscardUnknown, + Size: size, + Marshal: marshal, + Unmarshal: unmarshal, + Merge: nil, + CheckInitialized: nil, + } +} + +var ( + md_CanUpdateGlobalWorkerWhitelistResponse protoreflect.MessageDescriptor + fd_CanUpdateGlobalWorkerWhitelistResponse_can_update_global_worker_whitelist protoreflect.FieldDescriptor +) + +func init() { + file_emissions_v8_query_proto_init() + md_CanUpdateGlobalWorkerWhitelistResponse = File_emissions_v8_query_proto.Messages().ByName("CanUpdateGlobalWorkerWhitelistResponse") + fd_CanUpdateGlobalWorkerWhitelistResponse_can_update_global_worker_whitelist = md_CanUpdateGlobalWorkerWhitelistResponse.Fields().ByName("can_update_global_worker_whitelist") +} + +var _ protoreflect.Message = (*fastReflection_CanUpdateGlobalWorkerWhitelistResponse)(nil) + +type fastReflection_CanUpdateGlobalWorkerWhitelistResponse CanUpdateGlobalWorkerWhitelistResponse + +func (x *CanUpdateGlobalWorkerWhitelistResponse) ProtoReflect() protoreflect.Message { + return (*fastReflection_CanUpdateGlobalWorkerWhitelistResponse)(x) +} + +func (x *CanUpdateGlobalWorkerWhitelistResponse) slowProtoReflect() protoreflect.Message { + mi := &file_emissions_v8_query_proto_msgTypes[21] + 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) +} + +var _fastReflection_CanUpdateGlobalWorkerWhitelistResponse_messageType fastReflection_CanUpdateGlobalWorkerWhitelistResponse_messageType +var _ protoreflect.MessageType = fastReflection_CanUpdateGlobalWorkerWhitelistResponse_messageType{} + +type fastReflection_CanUpdateGlobalWorkerWhitelistResponse_messageType struct{} + +func (x fastReflection_CanUpdateGlobalWorkerWhitelistResponse_messageType) Zero() protoreflect.Message { + return (*fastReflection_CanUpdateGlobalWorkerWhitelistResponse)(nil) +} +func (x fastReflection_CanUpdateGlobalWorkerWhitelistResponse_messageType) New() protoreflect.Message { + return new(fastReflection_CanUpdateGlobalWorkerWhitelistResponse) +} +func (x fastReflection_CanUpdateGlobalWorkerWhitelistResponse_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_CanUpdateGlobalWorkerWhitelistResponse +} + +// Descriptor returns message descriptor, which contains only the protobuf +// type information for the message. +func (x *fastReflection_CanUpdateGlobalWorkerWhitelistResponse) Descriptor() protoreflect.MessageDescriptor { + return md_CanUpdateGlobalWorkerWhitelistResponse +} + +// Type returns the message type, which encapsulates both Go and protobuf +// type information. If the Go type information is not needed, +// it is recommended that the message descriptor be used instead. +func (x *fastReflection_CanUpdateGlobalWorkerWhitelistResponse) Type() protoreflect.MessageType { + return _fastReflection_CanUpdateGlobalWorkerWhitelistResponse_messageType +} + +// New returns a newly allocated and mutable empty message. +func (x *fastReflection_CanUpdateGlobalWorkerWhitelistResponse) New() protoreflect.Message { + return new(fastReflection_CanUpdateGlobalWorkerWhitelistResponse) +} + +// Interface unwraps the message reflection interface and +// returns the underlying ProtoMessage interface. +func (x *fastReflection_CanUpdateGlobalWorkerWhitelistResponse) Interface() protoreflect.ProtoMessage { + return (*CanUpdateGlobalWorkerWhitelistResponse)(x) +} + +// Range iterates over every populated field in an undefined order, +// calling f for each field descriptor and value encountered. +// Range returns immediately if f returns false. +// While iterating, mutating operations may only be performed +// on the current field descriptor. +func (x *fastReflection_CanUpdateGlobalWorkerWhitelistResponse) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { + if x.CanUpdateGlobalWorkerWhitelist != false { + value := protoreflect.ValueOfBool(x.CanUpdateGlobalWorkerWhitelist) + if !f(fd_CanUpdateGlobalWorkerWhitelistResponse_can_update_global_worker_whitelist, value) { + return + } + } +} + +// Has reports whether a field is populated. +// +// Some fields have the property of nullability where it is possible to +// distinguish between the default value of a field and whether the field +// was explicitly populated with the default value. Singular message fields, +// member fields of a oneof, and proto2 scalar fields are nullable. Such +// fields are populated only if explicitly set. +// +// In other cases (aside from the nullable cases above), +// a proto3 scalar field is populated if it contains a non-zero value, and +// a repeated field is populated if it is non-empty. +func (x *fastReflection_CanUpdateGlobalWorkerWhitelistResponse) Has(fd protoreflect.FieldDescriptor) bool { + switch fd.FullName() { + case "emissions.v8.CanUpdateGlobalWorkerWhitelistResponse.can_update_global_worker_whitelist": + return x.CanUpdateGlobalWorkerWhitelist != false + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.CanUpdateGlobalWorkerWhitelistResponse")) + } + panic(fmt.Errorf("message emissions.v8.CanUpdateGlobalWorkerWhitelistResponse does not contain field %s", fd.FullName())) + } +} + +// Clear clears the field such that a subsequent Has call reports false. +// +// Clearing an extension field clears both the extension type and value +// associated with the given field number. +// +// Clear is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_CanUpdateGlobalWorkerWhitelistResponse) Clear(fd protoreflect.FieldDescriptor) { + switch fd.FullName() { + case "emissions.v8.CanUpdateGlobalWorkerWhitelistResponse.can_update_global_worker_whitelist": + x.CanUpdateGlobalWorkerWhitelist = false + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.CanUpdateGlobalWorkerWhitelistResponse")) + } + panic(fmt.Errorf("message emissions.v8.CanUpdateGlobalWorkerWhitelistResponse does not contain field %s", fd.FullName())) + } +} + +// Get retrieves the value for a field. +// +// For unpopulated scalars, it returns the default value, where +// the default value of a bytes scalar is guaranteed to be a copy. +// For unpopulated composite types, it returns an empty, read-only view +// of the value; to obtain a mutable reference, use Mutable. +func (x *fastReflection_CanUpdateGlobalWorkerWhitelistResponse) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { + switch descriptor.FullName() { + case "emissions.v8.CanUpdateGlobalWorkerWhitelistResponse.can_update_global_worker_whitelist": + value := x.CanUpdateGlobalWorkerWhitelist + return protoreflect.ValueOfBool(value) + default: + if descriptor.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.CanUpdateGlobalWorkerWhitelistResponse")) + } + panic(fmt.Errorf("message emissions.v8.CanUpdateGlobalWorkerWhitelistResponse does not contain field %s", descriptor.FullName())) + } +} + +// Set stores the value for a field. +// +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType. +// When setting a composite type, it is unspecified whether the stored value +// aliases the source's memory in any way. If the composite value is an +// empty, read-only value, then it panics. +// +// Set is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_CanUpdateGlobalWorkerWhitelistResponse) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { + switch fd.FullName() { + case "emissions.v8.CanUpdateGlobalWorkerWhitelistResponse.can_update_global_worker_whitelist": + x.CanUpdateGlobalWorkerWhitelist = value.Bool() + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.CanUpdateGlobalWorkerWhitelistResponse")) + } + panic(fmt.Errorf("message emissions.v8.CanUpdateGlobalWorkerWhitelistResponse does not contain field %s", fd.FullName())) + } +} + +// Mutable returns a mutable reference to a composite type. +// +// If the field is unpopulated, it may allocate a composite value. +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType +// if not already stored. +// It panics if the field does not contain a composite type. +// +// Mutable is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_CanUpdateGlobalWorkerWhitelistResponse) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.CanUpdateGlobalWorkerWhitelistResponse.can_update_global_worker_whitelist": + panic(fmt.Errorf("field can_update_global_worker_whitelist of message emissions.v8.CanUpdateGlobalWorkerWhitelistResponse is not mutable")) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.CanUpdateGlobalWorkerWhitelistResponse")) + } + panic(fmt.Errorf("message emissions.v8.CanUpdateGlobalWorkerWhitelistResponse does not contain field %s", fd.FullName())) + } +} + +// NewField returns a new value that is assignable to the field +// for the given descriptor. For scalars, this returns the default value. +// For lists, maps, and messages, this returns a new, empty, mutable value. +func (x *fastReflection_CanUpdateGlobalWorkerWhitelistResponse) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.CanUpdateGlobalWorkerWhitelistResponse.can_update_global_worker_whitelist": + return protoreflect.ValueOfBool(false) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.CanUpdateGlobalWorkerWhitelistResponse")) + } + panic(fmt.Errorf("message emissions.v8.CanUpdateGlobalWorkerWhitelistResponse does not contain field %s", fd.FullName())) + } +} + +// WhichOneof reports which field within the oneof is populated, +// returning nil if none are populated. +// It panics if the oneof descriptor does not belong to this message. +func (x *fastReflection_CanUpdateGlobalWorkerWhitelistResponse) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { + switch d.FullName() { + default: + panic(fmt.Errorf("%s is not a oneof field in emissions.v8.CanUpdateGlobalWorkerWhitelistResponse", d.FullName())) + } + panic("unreachable") +} + +// GetUnknown retrieves the entire list of unknown fields. +// The caller may only mutate the contents of the RawFields +// if the mutated bytes are stored back into the message with SetUnknown. +func (x *fastReflection_CanUpdateGlobalWorkerWhitelistResponse) GetUnknown() protoreflect.RawFields { + return x.unknownFields +} + +// SetUnknown stores an entire list of unknown fields. +// The raw fields must be syntactically valid according to the wire format. +// An implementation may panic if this is not the case. +// Once stored, the caller must not mutate the content of the RawFields. +// An empty RawFields may be passed to clear the fields. +// +// SetUnknown is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_CanUpdateGlobalWorkerWhitelistResponse) SetUnknown(fields protoreflect.RawFields) { + x.unknownFields = fields +} + +// IsValid reports whether the message is valid. +// +// An invalid message is an empty, read-only value. +// +// An invalid message often corresponds to a nil pointer of the concrete +// message type, but the details are implementation dependent. +// Validity is not part of the protobuf data model, and may not +// be preserved in marshaling or other operations. +func (x *fastReflection_CanUpdateGlobalWorkerWhitelistResponse) IsValid() bool { + return x != nil +} + +// ProtoMethods returns optional fastReflectionFeature-path implementations of various operations. +// This method may return nil. +// +// The returned methods type is identical to +// "google.golang.org/protobuf/runtime/protoiface".Methods. +// Consult the protoiface package documentation for details. +func (x *fastReflection_CanUpdateGlobalWorkerWhitelistResponse) ProtoMethods() *protoiface.Methods { + size := func(input protoiface.SizeInput) protoiface.SizeOutput { + x := input.Message.Interface().(*CanUpdateGlobalWorkerWhitelistResponse) + if x == nil { + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: 0, + } + } + options := runtime.SizeInputToOptions(input) + _ = options + var n int + var l int + _ = l + if x.CanUpdateGlobalWorkerWhitelist { + n += 2 + } + if x.unknownFields != nil { + n += len(x.unknownFields) + } + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: n, + } + } + + marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { + x := input.Message.Interface().(*CanUpdateGlobalWorkerWhitelistResponse) + if x == nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + options := runtime.MarshalInputToOptions(input) + _ = options + size := options.Size(x) + dAtA := make([]byte, size) + i := len(dAtA) + _ = i + var l int + _ = l + if x.unknownFields != nil { + i -= len(x.unknownFields) + copy(dAtA[i:], x.unknownFields) + } + if x.CanUpdateGlobalWorkerWhitelist { + i-- + if x.CanUpdateGlobalWorkerWhitelist { + dAtA[i] = 1 + } else { + dAtA[i] = 0 + } + i-- + dAtA[i] = 0x8 + } + if input.Buf != nil { + input.Buf = append(input.Buf, dAtA...) + } else { + input.Buf = dAtA + } + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { + x := input.Message.Interface().(*CanUpdateGlobalWorkerWhitelistResponse) + if x == nil { + return protoiface.UnmarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Flags: input.Flags, + }, nil + } + options := runtime.UnmarshalInputToOptions(input) + _ = options + dAtA := input.Buf + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: CanUpdateGlobalWorkerWhitelistResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: CanUpdateGlobalWorkerWhitelistResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field CanUpdateGlobalWorkerWhitelist", wireType) + } + var v int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + x.CanUpdateGlobalWorkerWhitelist = bool(v != 0) + default: + iNdEx = preIndex + skippy, err := runtime.Skip(dAtA[iNdEx:]) + if err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if (iNdEx + skippy) > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + if !options.DiscardUnknown { + x.unknownFields = append(x.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + } + iNdEx += skippy + } + } + + if iNdEx > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, nil + } + return &protoiface.Methods{ + NoUnkeyedLiterals: struct{}{}, + Flags: protoiface.SupportMarshalDeterministic | protoiface.SupportUnmarshalDiscardUnknown, + Size: size, + Marshal: marshal, + Unmarshal: unmarshal, + Merge: nil, + CheckInitialized: nil, + } +} + +var ( + md_CanUpdateGlobalReputerWhitelistRequest protoreflect.MessageDescriptor + fd_CanUpdateGlobalReputerWhitelistRequest_address protoreflect.FieldDescriptor +) + +func init() { + file_emissions_v8_query_proto_init() + md_CanUpdateGlobalReputerWhitelistRequest = File_emissions_v8_query_proto.Messages().ByName("CanUpdateGlobalReputerWhitelistRequest") + fd_CanUpdateGlobalReputerWhitelistRequest_address = md_CanUpdateGlobalReputerWhitelistRequest.Fields().ByName("address") +} + +var _ protoreflect.Message = (*fastReflection_CanUpdateGlobalReputerWhitelistRequest)(nil) + +type fastReflection_CanUpdateGlobalReputerWhitelistRequest CanUpdateGlobalReputerWhitelistRequest + +func (x *CanUpdateGlobalReputerWhitelistRequest) ProtoReflect() protoreflect.Message { + return (*fastReflection_CanUpdateGlobalReputerWhitelistRequest)(x) +} + +func (x *CanUpdateGlobalReputerWhitelistRequest) slowProtoReflect() protoreflect.Message { + mi := &file_emissions_v8_query_proto_msgTypes[22] + 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) +} + +var _fastReflection_CanUpdateGlobalReputerWhitelistRequest_messageType fastReflection_CanUpdateGlobalReputerWhitelistRequest_messageType +var _ protoreflect.MessageType = fastReflection_CanUpdateGlobalReputerWhitelistRequest_messageType{} + +type fastReflection_CanUpdateGlobalReputerWhitelistRequest_messageType struct{} + +func (x fastReflection_CanUpdateGlobalReputerWhitelistRequest_messageType) Zero() protoreflect.Message { + return (*fastReflection_CanUpdateGlobalReputerWhitelistRequest)(nil) +} +func (x fastReflection_CanUpdateGlobalReputerWhitelistRequest_messageType) New() protoreflect.Message { + return new(fastReflection_CanUpdateGlobalReputerWhitelistRequest) +} +func (x fastReflection_CanUpdateGlobalReputerWhitelistRequest_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_CanUpdateGlobalReputerWhitelistRequest +} + +// Descriptor returns message descriptor, which contains only the protobuf +// type information for the message. +func (x *fastReflection_CanUpdateGlobalReputerWhitelistRequest) Descriptor() protoreflect.MessageDescriptor { + return md_CanUpdateGlobalReputerWhitelistRequest +} + +// Type returns the message type, which encapsulates both Go and protobuf +// type information. If the Go type information is not needed, +// it is recommended that the message descriptor be used instead. +func (x *fastReflection_CanUpdateGlobalReputerWhitelistRequest) Type() protoreflect.MessageType { + return _fastReflection_CanUpdateGlobalReputerWhitelistRequest_messageType +} + +// New returns a newly allocated and mutable empty message. +func (x *fastReflection_CanUpdateGlobalReputerWhitelistRequest) New() protoreflect.Message { + return new(fastReflection_CanUpdateGlobalReputerWhitelistRequest) +} + +// Interface unwraps the message reflection interface and +// returns the underlying ProtoMessage interface. +func (x *fastReflection_CanUpdateGlobalReputerWhitelistRequest) Interface() protoreflect.ProtoMessage { + return (*CanUpdateGlobalReputerWhitelistRequest)(x) +} + +// Range iterates over every populated field in an undefined order, +// calling f for each field descriptor and value encountered. +// Range returns immediately if f returns false. +// While iterating, mutating operations may only be performed +// on the current field descriptor. +func (x *fastReflection_CanUpdateGlobalReputerWhitelistRequest) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { + if x.Address != "" { + value := protoreflect.ValueOfString(x.Address) + if !f(fd_CanUpdateGlobalReputerWhitelistRequest_address, value) { + return + } + } +} + +// Has reports whether a field is populated. +// +// Some fields have the property of nullability where it is possible to +// distinguish between the default value of a field and whether the field +// was explicitly populated with the default value. Singular message fields, +// member fields of a oneof, and proto2 scalar fields are nullable. Such +// fields are populated only if explicitly set. +// +// In other cases (aside from the nullable cases above), +// a proto3 scalar field is populated if it contains a non-zero value, and +// a repeated field is populated if it is non-empty. +func (x *fastReflection_CanUpdateGlobalReputerWhitelistRequest) Has(fd protoreflect.FieldDescriptor) bool { + switch fd.FullName() { + case "emissions.v8.CanUpdateGlobalReputerWhitelistRequest.address": + return x.Address != "" + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.CanUpdateGlobalReputerWhitelistRequest")) + } + panic(fmt.Errorf("message emissions.v8.CanUpdateGlobalReputerWhitelistRequest does not contain field %s", fd.FullName())) + } +} + +// Clear clears the field such that a subsequent Has call reports false. +// +// Clearing an extension field clears both the extension type and value +// associated with the given field number. +// +// Clear is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_CanUpdateGlobalReputerWhitelistRequest) Clear(fd protoreflect.FieldDescriptor) { + switch fd.FullName() { + case "emissions.v8.CanUpdateGlobalReputerWhitelistRequest.address": + x.Address = "" + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.CanUpdateGlobalReputerWhitelistRequest")) + } + panic(fmt.Errorf("message emissions.v8.CanUpdateGlobalReputerWhitelistRequest does not contain field %s", fd.FullName())) + } +} + +// Get retrieves the value for a field. +// +// For unpopulated scalars, it returns the default value, where +// the default value of a bytes scalar is guaranteed to be a copy. +// For unpopulated composite types, it returns an empty, read-only view +// of the value; to obtain a mutable reference, use Mutable. +func (x *fastReflection_CanUpdateGlobalReputerWhitelistRequest) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { + switch descriptor.FullName() { + case "emissions.v8.CanUpdateGlobalReputerWhitelistRequest.address": + value := x.Address + return protoreflect.ValueOfString(value) + default: + if descriptor.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.CanUpdateGlobalReputerWhitelistRequest")) + } + panic(fmt.Errorf("message emissions.v8.CanUpdateGlobalReputerWhitelistRequest does not contain field %s", descriptor.FullName())) + } +} + +// Set stores the value for a field. +// +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType. +// When setting a composite type, it is unspecified whether the stored value +// aliases the source's memory in any way. If the composite value is an +// empty, read-only value, then it panics. +// +// Set is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_CanUpdateGlobalReputerWhitelistRequest) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { + switch fd.FullName() { + case "emissions.v8.CanUpdateGlobalReputerWhitelistRequest.address": + x.Address = value.Interface().(string) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.CanUpdateGlobalReputerWhitelistRequest")) + } + panic(fmt.Errorf("message emissions.v8.CanUpdateGlobalReputerWhitelistRequest does not contain field %s", fd.FullName())) + } +} + +// Mutable returns a mutable reference to a composite type. +// +// If the field is unpopulated, it may allocate a composite value. +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType +// if not already stored. +// It panics if the field does not contain a composite type. +// +// Mutable is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_CanUpdateGlobalReputerWhitelistRequest) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.CanUpdateGlobalReputerWhitelistRequest.address": + panic(fmt.Errorf("field address of message emissions.v8.CanUpdateGlobalReputerWhitelistRequest is not mutable")) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.CanUpdateGlobalReputerWhitelistRequest")) + } + panic(fmt.Errorf("message emissions.v8.CanUpdateGlobalReputerWhitelistRequest does not contain field %s", fd.FullName())) + } +} + +// NewField returns a new value that is assignable to the field +// for the given descriptor. For scalars, this returns the default value. +// For lists, maps, and messages, this returns a new, empty, mutable value. +func (x *fastReflection_CanUpdateGlobalReputerWhitelistRequest) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.CanUpdateGlobalReputerWhitelistRequest.address": + return protoreflect.ValueOfString("") + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.CanUpdateGlobalReputerWhitelistRequest")) + } + panic(fmt.Errorf("message emissions.v8.CanUpdateGlobalReputerWhitelistRequest does not contain field %s", fd.FullName())) + } +} + +// WhichOneof reports which field within the oneof is populated, +// returning nil if none are populated. +// It panics if the oneof descriptor does not belong to this message. +func (x *fastReflection_CanUpdateGlobalReputerWhitelistRequest) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { + switch d.FullName() { + default: + panic(fmt.Errorf("%s is not a oneof field in emissions.v8.CanUpdateGlobalReputerWhitelistRequest", d.FullName())) + } + panic("unreachable") +} + +// GetUnknown retrieves the entire list of unknown fields. +// The caller may only mutate the contents of the RawFields +// if the mutated bytes are stored back into the message with SetUnknown. +func (x *fastReflection_CanUpdateGlobalReputerWhitelistRequest) GetUnknown() protoreflect.RawFields { + return x.unknownFields +} + +// SetUnknown stores an entire list of unknown fields. +// The raw fields must be syntactically valid according to the wire format. +// An implementation may panic if this is not the case. +// Once stored, the caller must not mutate the content of the RawFields. +// An empty RawFields may be passed to clear the fields. +// +// SetUnknown is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_CanUpdateGlobalReputerWhitelistRequest) SetUnknown(fields protoreflect.RawFields) { + x.unknownFields = fields +} + +// IsValid reports whether the message is valid. +// +// An invalid message is an empty, read-only value. +// +// An invalid message often corresponds to a nil pointer of the concrete +// message type, but the details are implementation dependent. +// Validity is not part of the protobuf data model, and may not +// be preserved in marshaling or other operations. +func (x *fastReflection_CanUpdateGlobalReputerWhitelistRequest) IsValid() bool { + return x != nil +} + +// ProtoMethods returns optional fastReflectionFeature-path implementations of various operations. +// This method may return nil. +// +// The returned methods type is identical to +// "google.golang.org/protobuf/runtime/protoiface".Methods. +// Consult the protoiface package documentation for details. +func (x *fastReflection_CanUpdateGlobalReputerWhitelistRequest) ProtoMethods() *protoiface.Methods { + size := func(input protoiface.SizeInput) protoiface.SizeOutput { + x := input.Message.Interface().(*CanUpdateGlobalReputerWhitelistRequest) + if x == nil { + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: 0, + } + } + options := runtime.SizeInputToOptions(input) + _ = options + var n int + var l int + _ = l + l = len(x.Address) + if l > 0 { + n += 1 + l + runtime.Sov(uint64(l)) + } + if x.unknownFields != nil { + n += len(x.unknownFields) + } + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: n, + } + } + + marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { + x := input.Message.Interface().(*CanUpdateGlobalReputerWhitelistRequest) + if x == nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + options := runtime.MarshalInputToOptions(input) + _ = options + size := options.Size(x) + dAtA := make([]byte, size) + i := len(dAtA) + _ = i + var l int + _ = l + if x.unknownFields != nil { + i -= len(x.unknownFields) + copy(dAtA[i:], x.unknownFields) + } + if len(x.Address) > 0 { + i -= len(x.Address) + copy(dAtA[i:], x.Address) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.Address))) + i-- + dAtA[i] = 0xa + } + if input.Buf != nil { + input.Buf = append(input.Buf, dAtA...) + } else { + input.Buf = dAtA + } + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { + x := input.Message.Interface().(*CanUpdateGlobalReputerWhitelistRequest) + if x == nil { + return protoiface.UnmarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Flags: input.Flags, + }, nil + } + options := runtime.UnmarshalInputToOptions(input) + _ = options + dAtA := input.Buf + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: CanUpdateGlobalReputerWhitelistRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: CanUpdateGlobalReputerWhitelistRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Address", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + x.Address = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := runtime.Skip(dAtA[iNdEx:]) + if err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if (iNdEx + skippy) > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + if !options.DiscardUnknown { + x.unknownFields = append(x.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + } + iNdEx += skippy + } + } + + if iNdEx > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, nil + } + return &protoiface.Methods{ + NoUnkeyedLiterals: struct{}{}, + Flags: protoiface.SupportMarshalDeterministic | protoiface.SupportUnmarshalDiscardUnknown, + Size: size, + Marshal: marshal, + Unmarshal: unmarshal, + Merge: nil, + CheckInitialized: nil, + } +} + +var ( + md_CanUpdateGlobalReputerWhitelistResponse protoreflect.MessageDescriptor + fd_CanUpdateGlobalReputerWhitelistResponse_can_update_global_reputer_whitelist protoreflect.FieldDescriptor +) + +func init() { + file_emissions_v8_query_proto_init() + md_CanUpdateGlobalReputerWhitelistResponse = File_emissions_v8_query_proto.Messages().ByName("CanUpdateGlobalReputerWhitelistResponse") + fd_CanUpdateGlobalReputerWhitelistResponse_can_update_global_reputer_whitelist = md_CanUpdateGlobalReputerWhitelistResponse.Fields().ByName("can_update_global_reputer_whitelist") +} + +var _ protoreflect.Message = (*fastReflection_CanUpdateGlobalReputerWhitelistResponse)(nil) + +type fastReflection_CanUpdateGlobalReputerWhitelistResponse CanUpdateGlobalReputerWhitelistResponse + +func (x *CanUpdateGlobalReputerWhitelistResponse) ProtoReflect() protoreflect.Message { + return (*fastReflection_CanUpdateGlobalReputerWhitelistResponse)(x) +} + +func (x *CanUpdateGlobalReputerWhitelistResponse) slowProtoReflect() protoreflect.Message { + mi := &file_emissions_v8_query_proto_msgTypes[23] + 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) +} + +var _fastReflection_CanUpdateGlobalReputerWhitelistResponse_messageType fastReflection_CanUpdateGlobalReputerWhitelistResponse_messageType +var _ protoreflect.MessageType = fastReflection_CanUpdateGlobalReputerWhitelistResponse_messageType{} + +type fastReflection_CanUpdateGlobalReputerWhitelistResponse_messageType struct{} + +func (x fastReflection_CanUpdateGlobalReputerWhitelistResponse_messageType) Zero() protoreflect.Message { + return (*fastReflection_CanUpdateGlobalReputerWhitelistResponse)(nil) +} +func (x fastReflection_CanUpdateGlobalReputerWhitelistResponse_messageType) New() protoreflect.Message { + return new(fastReflection_CanUpdateGlobalReputerWhitelistResponse) +} +func (x fastReflection_CanUpdateGlobalReputerWhitelistResponse_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_CanUpdateGlobalReputerWhitelistResponse +} + +// Descriptor returns message descriptor, which contains only the protobuf +// type information for the message. +func (x *fastReflection_CanUpdateGlobalReputerWhitelistResponse) Descriptor() protoreflect.MessageDescriptor { + return md_CanUpdateGlobalReputerWhitelistResponse +} + +// Type returns the message type, which encapsulates both Go and protobuf +// type information. If the Go type information is not needed, +// it is recommended that the message descriptor be used instead. +func (x *fastReflection_CanUpdateGlobalReputerWhitelistResponse) Type() protoreflect.MessageType { + return _fastReflection_CanUpdateGlobalReputerWhitelistResponse_messageType +} + +// New returns a newly allocated and mutable empty message. +func (x *fastReflection_CanUpdateGlobalReputerWhitelistResponse) New() protoreflect.Message { + return new(fastReflection_CanUpdateGlobalReputerWhitelistResponse) +} + +// Interface unwraps the message reflection interface and +// returns the underlying ProtoMessage interface. +func (x *fastReflection_CanUpdateGlobalReputerWhitelistResponse) Interface() protoreflect.ProtoMessage { + return (*CanUpdateGlobalReputerWhitelistResponse)(x) +} + +// Range iterates over every populated field in an undefined order, +// calling f for each field descriptor and value encountered. +// Range returns immediately if f returns false. +// While iterating, mutating operations may only be performed +// on the current field descriptor. +func (x *fastReflection_CanUpdateGlobalReputerWhitelistResponse) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { + if x.CanUpdateGlobalReputerWhitelist != false { + value := protoreflect.ValueOfBool(x.CanUpdateGlobalReputerWhitelist) + if !f(fd_CanUpdateGlobalReputerWhitelistResponse_can_update_global_reputer_whitelist, value) { + return + } + } +} + +// Has reports whether a field is populated. +// +// Some fields have the property of nullability where it is possible to +// distinguish between the default value of a field and whether the field +// was explicitly populated with the default value. Singular message fields, +// member fields of a oneof, and proto2 scalar fields are nullable. Such +// fields are populated only if explicitly set. +// +// In other cases (aside from the nullable cases above), +// a proto3 scalar field is populated if it contains a non-zero value, and +// a repeated field is populated if it is non-empty. +func (x *fastReflection_CanUpdateGlobalReputerWhitelistResponse) Has(fd protoreflect.FieldDescriptor) bool { + switch fd.FullName() { + case "emissions.v8.CanUpdateGlobalReputerWhitelistResponse.can_update_global_reputer_whitelist": + return x.CanUpdateGlobalReputerWhitelist != false + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.CanUpdateGlobalReputerWhitelistResponse")) + } + panic(fmt.Errorf("message emissions.v8.CanUpdateGlobalReputerWhitelistResponse does not contain field %s", fd.FullName())) + } +} + +// Clear clears the field such that a subsequent Has call reports false. +// +// Clearing an extension field clears both the extension type and value +// associated with the given field number. +// +// Clear is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_CanUpdateGlobalReputerWhitelistResponse) Clear(fd protoreflect.FieldDescriptor) { + switch fd.FullName() { + case "emissions.v8.CanUpdateGlobalReputerWhitelistResponse.can_update_global_reputer_whitelist": + x.CanUpdateGlobalReputerWhitelist = false + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.CanUpdateGlobalReputerWhitelistResponse")) + } + panic(fmt.Errorf("message emissions.v8.CanUpdateGlobalReputerWhitelistResponse does not contain field %s", fd.FullName())) + } +} + +// Get retrieves the value for a field. +// +// For unpopulated scalars, it returns the default value, where +// the default value of a bytes scalar is guaranteed to be a copy. +// For unpopulated composite types, it returns an empty, read-only view +// of the value; to obtain a mutable reference, use Mutable. +func (x *fastReflection_CanUpdateGlobalReputerWhitelistResponse) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { + switch descriptor.FullName() { + case "emissions.v8.CanUpdateGlobalReputerWhitelistResponse.can_update_global_reputer_whitelist": + value := x.CanUpdateGlobalReputerWhitelist + return protoreflect.ValueOfBool(value) + default: + if descriptor.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.CanUpdateGlobalReputerWhitelistResponse")) + } + panic(fmt.Errorf("message emissions.v8.CanUpdateGlobalReputerWhitelistResponse does not contain field %s", descriptor.FullName())) + } +} + +// Set stores the value for a field. +// +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType. +// When setting a composite type, it is unspecified whether the stored value +// aliases the source's memory in any way. If the composite value is an +// empty, read-only value, then it panics. +// +// Set is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_CanUpdateGlobalReputerWhitelistResponse) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { + switch fd.FullName() { + case "emissions.v8.CanUpdateGlobalReputerWhitelistResponse.can_update_global_reputer_whitelist": + x.CanUpdateGlobalReputerWhitelist = value.Bool() + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.CanUpdateGlobalReputerWhitelistResponse")) + } + panic(fmt.Errorf("message emissions.v8.CanUpdateGlobalReputerWhitelistResponse does not contain field %s", fd.FullName())) + } +} + +// Mutable returns a mutable reference to a composite type. +// +// If the field is unpopulated, it may allocate a composite value. +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType +// if not already stored. +// It panics if the field does not contain a composite type. +// +// Mutable is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_CanUpdateGlobalReputerWhitelistResponse) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.CanUpdateGlobalReputerWhitelistResponse.can_update_global_reputer_whitelist": + panic(fmt.Errorf("field can_update_global_reputer_whitelist of message emissions.v8.CanUpdateGlobalReputerWhitelistResponse is not mutable")) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.CanUpdateGlobalReputerWhitelistResponse")) + } + panic(fmt.Errorf("message emissions.v8.CanUpdateGlobalReputerWhitelistResponse does not contain field %s", fd.FullName())) + } +} + +// NewField returns a new value that is assignable to the field +// for the given descriptor. For scalars, this returns the default value. +// For lists, maps, and messages, this returns a new, empty, mutable value. +func (x *fastReflection_CanUpdateGlobalReputerWhitelistResponse) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.CanUpdateGlobalReputerWhitelistResponse.can_update_global_reputer_whitelist": + return protoreflect.ValueOfBool(false) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.CanUpdateGlobalReputerWhitelistResponse")) + } + panic(fmt.Errorf("message emissions.v8.CanUpdateGlobalReputerWhitelistResponse does not contain field %s", fd.FullName())) + } +} + +// WhichOneof reports which field within the oneof is populated, +// returning nil if none are populated. +// It panics if the oneof descriptor does not belong to this message. +func (x *fastReflection_CanUpdateGlobalReputerWhitelistResponse) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { + switch d.FullName() { + default: + panic(fmt.Errorf("%s is not a oneof field in emissions.v8.CanUpdateGlobalReputerWhitelistResponse", d.FullName())) + } + panic("unreachable") +} + +// GetUnknown retrieves the entire list of unknown fields. +// The caller may only mutate the contents of the RawFields +// if the mutated bytes are stored back into the message with SetUnknown. +func (x *fastReflection_CanUpdateGlobalReputerWhitelistResponse) GetUnknown() protoreflect.RawFields { + return x.unknownFields +} + +// SetUnknown stores an entire list of unknown fields. +// The raw fields must be syntactically valid according to the wire format. +// An implementation may panic if this is not the case. +// Once stored, the caller must not mutate the content of the RawFields. +// An empty RawFields may be passed to clear the fields. +// +// SetUnknown is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_CanUpdateGlobalReputerWhitelistResponse) SetUnknown(fields protoreflect.RawFields) { + x.unknownFields = fields +} + +// IsValid reports whether the message is valid. +// +// An invalid message is an empty, read-only value. +// +// An invalid message often corresponds to a nil pointer of the concrete +// message type, but the details are implementation dependent. +// Validity is not part of the protobuf data model, and may not +// be preserved in marshaling or other operations. +func (x *fastReflection_CanUpdateGlobalReputerWhitelistResponse) IsValid() bool { + return x != nil +} + +// ProtoMethods returns optional fastReflectionFeature-path implementations of various operations. +// This method may return nil. +// +// The returned methods type is identical to +// "google.golang.org/protobuf/runtime/protoiface".Methods. +// Consult the protoiface package documentation for details. +func (x *fastReflection_CanUpdateGlobalReputerWhitelistResponse) ProtoMethods() *protoiface.Methods { + size := func(input protoiface.SizeInput) protoiface.SizeOutput { + x := input.Message.Interface().(*CanUpdateGlobalReputerWhitelistResponse) + if x == nil { + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: 0, + } + } + options := runtime.SizeInputToOptions(input) + _ = options + var n int + var l int + _ = l + if x.CanUpdateGlobalReputerWhitelist { + n += 2 + } + if x.unknownFields != nil { + n += len(x.unknownFields) + } + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: n, + } + } + + marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { + x := input.Message.Interface().(*CanUpdateGlobalReputerWhitelistResponse) + if x == nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + options := runtime.MarshalInputToOptions(input) + _ = options + size := options.Size(x) + dAtA := make([]byte, size) + i := len(dAtA) + _ = i + var l int + _ = l + if x.unknownFields != nil { + i -= len(x.unknownFields) + copy(dAtA[i:], x.unknownFields) + } + if x.CanUpdateGlobalReputerWhitelist { + i-- + if x.CanUpdateGlobalReputerWhitelist { + dAtA[i] = 1 + } else { + dAtA[i] = 0 + } + i-- + dAtA[i] = 0x8 + } + if input.Buf != nil { + input.Buf = append(input.Buf, dAtA...) + } else { + input.Buf = dAtA + } + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { + x := input.Message.Interface().(*CanUpdateGlobalReputerWhitelistResponse) + if x == nil { + return protoiface.UnmarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Flags: input.Flags, + }, nil + } + options := runtime.UnmarshalInputToOptions(input) + _ = options + dAtA := input.Buf + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: CanUpdateGlobalReputerWhitelistResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: CanUpdateGlobalReputerWhitelistResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field CanUpdateGlobalReputerWhitelist", wireType) + } + var v int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + x.CanUpdateGlobalReputerWhitelist = bool(v != 0) + default: + iNdEx = preIndex + skippy, err := runtime.Skip(dAtA[iNdEx:]) + if err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if (iNdEx + skippy) > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + if !options.DiscardUnknown { + x.unknownFields = append(x.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + } + iNdEx += skippy + } + } + + if iNdEx > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, nil + } + return &protoiface.Methods{ + NoUnkeyedLiterals: struct{}{}, + Flags: protoiface.SupportMarshalDeterministic | protoiface.SupportUnmarshalDiscardUnknown, + Size: size, + Marshal: marshal, + Unmarshal: unmarshal, + Merge: nil, + CheckInitialized: nil, + } +} + +var ( + md_CanUpdateParamsRequest protoreflect.MessageDescriptor + fd_CanUpdateParamsRequest_address protoreflect.FieldDescriptor +) + +func init() { + file_emissions_v8_query_proto_init() + md_CanUpdateParamsRequest = File_emissions_v8_query_proto.Messages().ByName("CanUpdateParamsRequest") + fd_CanUpdateParamsRequest_address = md_CanUpdateParamsRequest.Fields().ByName("address") +} + +var _ protoreflect.Message = (*fastReflection_CanUpdateParamsRequest)(nil) + +type fastReflection_CanUpdateParamsRequest CanUpdateParamsRequest + +func (x *CanUpdateParamsRequest) ProtoReflect() protoreflect.Message { + return (*fastReflection_CanUpdateParamsRequest)(x) +} + +func (x *CanUpdateParamsRequest) slowProtoReflect() protoreflect.Message { + mi := &file_emissions_v8_query_proto_msgTypes[24] + 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) +} + +var _fastReflection_CanUpdateParamsRequest_messageType fastReflection_CanUpdateParamsRequest_messageType +var _ protoreflect.MessageType = fastReflection_CanUpdateParamsRequest_messageType{} + +type fastReflection_CanUpdateParamsRequest_messageType struct{} + +func (x fastReflection_CanUpdateParamsRequest_messageType) Zero() protoreflect.Message { + return (*fastReflection_CanUpdateParamsRequest)(nil) +} +func (x fastReflection_CanUpdateParamsRequest_messageType) New() protoreflect.Message { + return new(fastReflection_CanUpdateParamsRequest) +} +func (x fastReflection_CanUpdateParamsRequest_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_CanUpdateParamsRequest +} + +// Descriptor returns message descriptor, which contains only the protobuf +// type information for the message. +func (x *fastReflection_CanUpdateParamsRequest) Descriptor() protoreflect.MessageDescriptor { + return md_CanUpdateParamsRequest +} + +// Type returns the message type, which encapsulates both Go and protobuf +// type information. If the Go type information is not needed, +// it is recommended that the message descriptor be used instead. +func (x *fastReflection_CanUpdateParamsRequest) Type() protoreflect.MessageType { + return _fastReflection_CanUpdateParamsRequest_messageType +} + +// New returns a newly allocated and mutable empty message. +func (x *fastReflection_CanUpdateParamsRequest) New() protoreflect.Message { + return new(fastReflection_CanUpdateParamsRequest) +} + +// Interface unwraps the message reflection interface and +// returns the underlying ProtoMessage interface. +func (x *fastReflection_CanUpdateParamsRequest) Interface() protoreflect.ProtoMessage { + return (*CanUpdateParamsRequest)(x) +} + +// Range iterates over every populated field in an undefined order, +// calling f for each field descriptor and value encountered. +// Range returns immediately if f returns false. +// While iterating, mutating operations may only be performed +// on the current field descriptor. +func (x *fastReflection_CanUpdateParamsRequest) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { + if x.Address != "" { + value := protoreflect.ValueOfString(x.Address) + if !f(fd_CanUpdateParamsRequest_address, value) { + return + } + } +} + +// Has reports whether a field is populated. +// +// Some fields have the property of nullability where it is possible to +// distinguish between the default value of a field and whether the field +// was explicitly populated with the default value. Singular message fields, +// member fields of a oneof, and proto2 scalar fields are nullable. Such +// fields are populated only if explicitly set. +// +// In other cases (aside from the nullable cases above), +// a proto3 scalar field is populated if it contains a non-zero value, and +// a repeated field is populated if it is non-empty. +func (x *fastReflection_CanUpdateParamsRequest) Has(fd protoreflect.FieldDescriptor) bool { + switch fd.FullName() { + case "emissions.v8.CanUpdateParamsRequest.address": + return x.Address != "" + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.CanUpdateParamsRequest")) + } + panic(fmt.Errorf("message emissions.v8.CanUpdateParamsRequest does not contain field %s", fd.FullName())) + } +} + +// Clear clears the field such that a subsequent Has call reports false. +// +// Clearing an extension field clears both the extension type and value +// associated with the given field number. +// +// Clear is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_CanUpdateParamsRequest) Clear(fd protoreflect.FieldDescriptor) { + switch fd.FullName() { + case "emissions.v8.CanUpdateParamsRequest.address": + x.Address = "" + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.CanUpdateParamsRequest")) + } + panic(fmt.Errorf("message emissions.v8.CanUpdateParamsRequest does not contain field %s", fd.FullName())) + } +} + +// Get retrieves the value for a field. +// +// For unpopulated scalars, it returns the default value, where +// the default value of a bytes scalar is guaranteed to be a copy. +// For unpopulated composite types, it returns an empty, read-only view +// of the value; to obtain a mutable reference, use Mutable. +func (x *fastReflection_CanUpdateParamsRequest) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { + switch descriptor.FullName() { + case "emissions.v8.CanUpdateParamsRequest.address": + value := x.Address + return protoreflect.ValueOfString(value) + default: + if descriptor.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.CanUpdateParamsRequest")) + } + panic(fmt.Errorf("message emissions.v8.CanUpdateParamsRequest does not contain field %s", descriptor.FullName())) + } +} + +// Set stores the value for a field. +// +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType. +// When setting a composite type, it is unspecified whether the stored value +// aliases the source's memory in any way. If the composite value is an +// empty, read-only value, then it panics. +// +// Set is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_CanUpdateParamsRequest) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { + switch fd.FullName() { + case "emissions.v8.CanUpdateParamsRequest.address": + x.Address = value.Interface().(string) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.CanUpdateParamsRequest")) + } + panic(fmt.Errorf("message emissions.v8.CanUpdateParamsRequest does not contain field %s", fd.FullName())) + } +} + +// Mutable returns a mutable reference to a composite type. +// +// If the field is unpopulated, it may allocate a composite value. +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType +// if not already stored. +// It panics if the field does not contain a composite type. +// +// Mutable is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_CanUpdateParamsRequest) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.CanUpdateParamsRequest.address": + panic(fmt.Errorf("field address of message emissions.v8.CanUpdateParamsRequest is not mutable")) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.CanUpdateParamsRequest")) + } + panic(fmt.Errorf("message emissions.v8.CanUpdateParamsRequest does not contain field %s", fd.FullName())) + } +} + +// NewField returns a new value that is assignable to the field +// for the given descriptor. For scalars, this returns the default value. +// For lists, maps, and messages, this returns a new, empty, mutable value. +func (x *fastReflection_CanUpdateParamsRequest) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.CanUpdateParamsRequest.address": + return protoreflect.ValueOfString("") + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.CanUpdateParamsRequest")) + } + panic(fmt.Errorf("message emissions.v8.CanUpdateParamsRequest does not contain field %s", fd.FullName())) + } +} + +// WhichOneof reports which field within the oneof is populated, +// returning nil if none are populated. +// It panics if the oneof descriptor does not belong to this message. +func (x *fastReflection_CanUpdateParamsRequest) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { + switch d.FullName() { + default: + panic(fmt.Errorf("%s is not a oneof field in emissions.v8.CanUpdateParamsRequest", d.FullName())) + } + panic("unreachable") +} + +// GetUnknown retrieves the entire list of unknown fields. +// The caller may only mutate the contents of the RawFields +// if the mutated bytes are stored back into the message with SetUnknown. +func (x *fastReflection_CanUpdateParamsRequest) GetUnknown() protoreflect.RawFields { + return x.unknownFields +} + +// SetUnknown stores an entire list of unknown fields. +// The raw fields must be syntactically valid according to the wire format. +// An implementation may panic if this is not the case. +// Once stored, the caller must not mutate the content of the RawFields. +// An empty RawFields may be passed to clear the fields. +// +// SetUnknown is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_CanUpdateParamsRequest) SetUnknown(fields protoreflect.RawFields) { + x.unknownFields = fields +} + +// IsValid reports whether the message is valid. +// +// An invalid message is an empty, read-only value. +// +// An invalid message often corresponds to a nil pointer of the concrete +// message type, but the details are implementation dependent. +// Validity is not part of the protobuf data model, and may not +// be preserved in marshaling or other operations. +func (x *fastReflection_CanUpdateParamsRequest) IsValid() bool { + return x != nil +} + +// ProtoMethods returns optional fastReflectionFeature-path implementations of various operations. +// This method may return nil. +// +// The returned methods type is identical to +// "google.golang.org/protobuf/runtime/protoiface".Methods. +// Consult the protoiface package documentation for details. +func (x *fastReflection_CanUpdateParamsRequest) ProtoMethods() *protoiface.Methods { + size := func(input protoiface.SizeInput) protoiface.SizeOutput { + x := input.Message.Interface().(*CanUpdateParamsRequest) + if x == nil { + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: 0, + } + } + options := runtime.SizeInputToOptions(input) + _ = options + var n int + var l int + _ = l + l = len(x.Address) + if l > 0 { + n += 1 + l + runtime.Sov(uint64(l)) + } + if x.unknownFields != nil { + n += len(x.unknownFields) + } + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: n, + } + } + + marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { + x := input.Message.Interface().(*CanUpdateParamsRequest) + if x == nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + options := runtime.MarshalInputToOptions(input) + _ = options + size := options.Size(x) + dAtA := make([]byte, size) + i := len(dAtA) + _ = i + var l int + _ = l + if x.unknownFields != nil { + i -= len(x.unknownFields) + copy(dAtA[i:], x.unknownFields) + } + if len(x.Address) > 0 { + i -= len(x.Address) + copy(dAtA[i:], x.Address) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.Address))) + i-- + dAtA[i] = 0xa + } + if input.Buf != nil { + input.Buf = append(input.Buf, dAtA...) + } else { + input.Buf = dAtA + } + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { + x := input.Message.Interface().(*CanUpdateParamsRequest) + if x == nil { + return protoiface.UnmarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Flags: input.Flags, + }, nil + } + options := runtime.UnmarshalInputToOptions(input) + _ = options + dAtA := input.Buf + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: CanUpdateParamsRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: CanUpdateParamsRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Address", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + x.Address = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := runtime.Skip(dAtA[iNdEx:]) + if err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if (iNdEx + skippy) > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + if !options.DiscardUnknown { + x.unknownFields = append(x.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + } + iNdEx += skippy + } + } + + if iNdEx > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, nil + } + return &protoiface.Methods{ + NoUnkeyedLiterals: struct{}{}, + Flags: protoiface.SupportMarshalDeterministic | protoiface.SupportUnmarshalDiscardUnknown, + Size: size, + Marshal: marshal, + Unmarshal: unmarshal, + Merge: nil, + CheckInitialized: nil, + } +} + +var ( + md_CanUpdateParamsResponse protoreflect.MessageDescriptor + fd_CanUpdateParamsResponse_can_update_params protoreflect.FieldDescriptor +) + +func init() { + file_emissions_v8_query_proto_init() + md_CanUpdateParamsResponse = File_emissions_v8_query_proto.Messages().ByName("CanUpdateParamsResponse") + fd_CanUpdateParamsResponse_can_update_params = md_CanUpdateParamsResponse.Fields().ByName("can_update_params") +} + +var _ protoreflect.Message = (*fastReflection_CanUpdateParamsResponse)(nil) + +type fastReflection_CanUpdateParamsResponse CanUpdateParamsResponse + +func (x *CanUpdateParamsResponse) ProtoReflect() protoreflect.Message { + return (*fastReflection_CanUpdateParamsResponse)(x) +} + +func (x *CanUpdateParamsResponse) slowProtoReflect() protoreflect.Message { + mi := &file_emissions_v8_query_proto_msgTypes[25] + 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) +} + +var _fastReflection_CanUpdateParamsResponse_messageType fastReflection_CanUpdateParamsResponse_messageType +var _ protoreflect.MessageType = fastReflection_CanUpdateParamsResponse_messageType{} + +type fastReflection_CanUpdateParamsResponse_messageType struct{} + +func (x fastReflection_CanUpdateParamsResponse_messageType) Zero() protoreflect.Message { + return (*fastReflection_CanUpdateParamsResponse)(nil) +} +func (x fastReflection_CanUpdateParamsResponse_messageType) New() protoreflect.Message { + return new(fastReflection_CanUpdateParamsResponse) +} +func (x fastReflection_CanUpdateParamsResponse_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_CanUpdateParamsResponse +} + +// Descriptor returns message descriptor, which contains only the protobuf +// type information for the message. +func (x *fastReflection_CanUpdateParamsResponse) Descriptor() protoreflect.MessageDescriptor { + return md_CanUpdateParamsResponse +} + +// Type returns the message type, which encapsulates both Go and protobuf +// type information. If the Go type information is not needed, +// it is recommended that the message descriptor be used instead. +func (x *fastReflection_CanUpdateParamsResponse) Type() protoreflect.MessageType { + return _fastReflection_CanUpdateParamsResponse_messageType +} + +// New returns a newly allocated and mutable empty message. +func (x *fastReflection_CanUpdateParamsResponse) New() protoreflect.Message { + return new(fastReflection_CanUpdateParamsResponse) +} + +// Interface unwraps the message reflection interface and +// returns the underlying ProtoMessage interface. +func (x *fastReflection_CanUpdateParamsResponse) Interface() protoreflect.ProtoMessage { + return (*CanUpdateParamsResponse)(x) +} + +// Range iterates over every populated field in an undefined order, +// calling f for each field descriptor and value encountered. +// Range returns immediately if f returns false. +// While iterating, mutating operations may only be performed +// on the current field descriptor. +func (x *fastReflection_CanUpdateParamsResponse) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { + if x.CanUpdateParams != false { + value := protoreflect.ValueOfBool(x.CanUpdateParams) + if !f(fd_CanUpdateParamsResponse_can_update_params, value) { + return + } + } +} + +// Has reports whether a field is populated. +// +// Some fields have the property of nullability where it is possible to +// distinguish between the default value of a field and whether the field +// was explicitly populated with the default value. Singular message fields, +// member fields of a oneof, and proto2 scalar fields are nullable. Such +// fields are populated only if explicitly set. +// +// In other cases (aside from the nullable cases above), +// a proto3 scalar field is populated if it contains a non-zero value, and +// a repeated field is populated if it is non-empty. +func (x *fastReflection_CanUpdateParamsResponse) Has(fd protoreflect.FieldDescriptor) bool { + switch fd.FullName() { + case "emissions.v8.CanUpdateParamsResponse.can_update_params": + return x.CanUpdateParams != false + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.CanUpdateParamsResponse")) + } + panic(fmt.Errorf("message emissions.v8.CanUpdateParamsResponse does not contain field %s", fd.FullName())) + } +} + +// Clear clears the field such that a subsequent Has call reports false. +// +// Clearing an extension field clears both the extension type and value +// associated with the given field number. +// +// Clear is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_CanUpdateParamsResponse) Clear(fd protoreflect.FieldDescriptor) { + switch fd.FullName() { + case "emissions.v8.CanUpdateParamsResponse.can_update_params": + x.CanUpdateParams = false + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.CanUpdateParamsResponse")) + } + panic(fmt.Errorf("message emissions.v8.CanUpdateParamsResponse does not contain field %s", fd.FullName())) + } +} + +// Get retrieves the value for a field. +// +// For unpopulated scalars, it returns the default value, where +// the default value of a bytes scalar is guaranteed to be a copy. +// For unpopulated composite types, it returns an empty, read-only view +// of the value; to obtain a mutable reference, use Mutable. +func (x *fastReflection_CanUpdateParamsResponse) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { + switch descriptor.FullName() { + case "emissions.v8.CanUpdateParamsResponse.can_update_params": + value := x.CanUpdateParams + return protoreflect.ValueOfBool(value) + default: + if descriptor.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.CanUpdateParamsResponse")) + } + panic(fmt.Errorf("message emissions.v8.CanUpdateParamsResponse does not contain field %s", descriptor.FullName())) + } +} + +// Set stores the value for a field. +// +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType. +// When setting a composite type, it is unspecified whether the stored value +// aliases the source's memory in any way. If the composite value is an +// empty, read-only value, then it panics. +// +// Set is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_CanUpdateParamsResponse) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { + switch fd.FullName() { + case "emissions.v8.CanUpdateParamsResponse.can_update_params": + x.CanUpdateParams = value.Bool() + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.CanUpdateParamsResponse")) + } + panic(fmt.Errorf("message emissions.v8.CanUpdateParamsResponse does not contain field %s", fd.FullName())) + } +} + +// Mutable returns a mutable reference to a composite type. +// +// If the field is unpopulated, it may allocate a composite value. +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType +// if not already stored. +// It panics if the field does not contain a composite type. +// +// Mutable is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_CanUpdateParamsResponse) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.CanUpdateParamsResponse.can_update_params": + panic(fmt.Errorf("field can_update_params of message emissions.v8.CanUpdateParamsResponse is not mutable")) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.CanUpdateParamsResponse")) + } + panic(fmt.Errorf("message emissions.v8.CanUpdateParamsResponse does not contain field %s", fd.FullName())) + } +} + +// NewField returns a new value that is assignable to the field +// for the given descriptor. For scalars, this returns the default value. +// For lists, maps, and messages, this returns a new, empty, mutable value. +func (x *fastReflection_CanUpdateParamsResponse) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.CanUpdateParamsResponse.can_update_params": + return protoreflect.ValueOfBool(false) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.CanUpdateParamsResponse")) + } + panic(fmt.Errorf("message emissions.v8.CanUpdateParamsResponse does not contain field %s", fd.FullName())) + } +} + +// WhichOneof reports which field within the oneof is populated, +// returning nil if none are populated. +// It panics if the oneof descriptor does not belong to this message. +func (x *fastReflection_CanUpdateParamsResponse) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { + switch d.FullName() { + default: + panic(fmt.Errorf("%s is not a oneof field in emissions.v8.CanUpdateParamsResponse", d.FullName())) + } + panic("unreachable") +} + +// GetUnknown retrieves the entire list of unknown fields. +// The caller may only mutate the contents of the RawFields +// if the mutated bytes are stored back into the message with SetUnknown. +func (x *fastReflection_CanUpdateParamsResponse) GetUnknown() protoreflect.RawFields { + return x.unknownFields +} + +// SetUnknown stores an entire list of unknown fields. +// The raw fields must be syntactically valid according to the wire format. +// An implementation may panic if this is not the case. +// Once stored, the caller must not mutate the content of the RawFields. +// An empty RawFields may be passed to clear the fields. +// +// SetUnknown is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_CanUpdateParamsResponse) SetUnknown(fields protoreflect.RawFields) { + x.unknownFields = fields +} + +// IsValid reports whether the message is valid. +// +// An invalid message is an empty, read-only value. +// +// An invalid message often corresponds to a nil pointer of the concrete +// message type, but the details are implementation dependent. +// Validity is not part of the protobuf data model, and may not +// be preserved in marshaling or other operations. +func (x *fastReflection_CanUpdateParamsResponse) IsValid() bool { + return x != nil +} + +// ProtoMethods returns optional fastReflectionFeature-path implementations of various operations. +// This method may return nil. +// +// The returned methods type is identical to +// "google.golang.org/protobuf/runtime/protoiface".Methods. +// Consult the protoiface package documentation for details. +func (x *fastReflection_CanUpdateParamsResponse) ProtoMethods() *protoiface.Methods { + size := func(input protoiface.SizeInput) protoiface.SizeOutput { + x := input.Message.Interface().(*CanUpdateParamsResponse) + if x == nil { + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: 0, + } + } + options := runtime.SizeInputToOptions(input) + _ = options + var n int + var l int + _ = l + if x.CanUpdateParams { + n += 2 + } + if x.unknownFields != nil { + n += len(x.unknownFields) + } + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: n, + } + } + + marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { + x := input.Message.Interface().(*CanUpdateParamsResponse) + if x == nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + options := runtime.MarshalInputToOptions(input) + _ = options + size := options.Size(x) + dAtA := make([]byte, size) + i := len(dAtA) + _ = i + var l int + _ = l + if x.unknownFields != nil { + i -= len(x.unknownFields) + copy(dAtA[i:], x.unknownFields) + } + if x.CanUpdateParams { + i-- + if x.CanUpdateParams { + dAtA[i] = 1 + } else { + dAtA[i] = 0 + } + i-- + dAtA[i] = 0x8 + } + if input.Buf != nil { + input.Buf = append(input.Buf, dAtA...) + } else { + input.Buf = dAtA + } + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { + x := input.Message.Interface().(*CanUpdateParamsResponse) + if x == nil { + return protoiface.UnmarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Flags: input.Flags, + }, nil + } + options := runtime.UnmarshalInputToOptions(input) + _ = options + dAtA := input.Buf + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: CanUpdateParamsResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: CanUpdateParamsResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field CanUpdateParams", wireType) + } + var v int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + x.CanUpdateParams = bool(v != 0) + default: + iNdEx = preIndex + skippy, err := runtime.Skip(dAtA[iNdEx:]) + if err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if (iNdEx + skippy) > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + if !options.DiscardUnknown { + x.unknownFields = append(x.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + } + iNdEx += skippy + } + } + + if iNdEx > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, nil + } + return &protoiface.Methods{ + NoUnkeyedLiterals: struct{}{}, + Flags: protoiface.SupportMarshalDeterministic | protoiface.SupportUnmarshalDiscardUnknown, + Size: size, + Marshal: marshal, + Unmarshal: unmarshal, + Merge: nil, + CheckInitialized: nil, + } +} + +var ( + md_CanUpdateTopicWhitelistRequest protoreflect.MessageDescriptor + fd_CanUpdateTopicWhitelistRequest_topic_id protoreflect.FieldDescriptor + fd_CanUpdateTopicWhitelistRequest_address protoreflect.FieldDescriptor +) + +func init() { + file_emissions_v8_query_proto_init() + md_CanUpdateTopicWhitelistRequest = File_emissions_v8_query_proto.Messages().ByName("CanUpdateTopicWhitelistRequest") + fd_CanUpdateTopicWhitelistRequest_topic_id = md_CanUpdateTopicWhitelistRequest.Fields().ByName("topic_id") + fd_CanUpdateTopicWhitelistRequest_address = md_CanUpdateTopicWhitelistRequest.Fields().ByName("address") +} + +var _ protoreflect.Message = (*fastReflection_CanUpdateTopicWhitelistRequest)(nil) + +type fastReflection_CanUpdateTopicWhitelistRequest CanUpdateTopicWhitelistRequest + +func (x *CanUpdateTopicWhitelistRequest) ProtoReflect() protoreflect.Message { + return (*fastReflection_CanUpdateTopicWhitelistRequest)(x) +} + +func (x *CanUpdateTopicWhitelistRequest) slowProtoReflect() protoreflect.Message { + mi := &file_emissions_v8_query_proto_msgTypes[26] + 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) +} + +var _fastReflection_CanUpdateTopicWhitelistRequest_messageType fastReflection_CanUpdateTopicWhitelistRequest_messageType +var _ protoreflect.MessageType = fastReflection_CanUpdateTopicWhitelistRequest_messageType{} + +type fastReflection_CanUpdateTopicWhitelistRequest_messageType struct{} + +func (x fastReflection_CanUpdateTopicWhitelistRequest_messageType) Zero() protoreflect.Message { + return (*fastReflection_CanUpdateTopicWhitelistRequest)(nil) +} +func (x fastReflection_CanUpdateTopicWhitelistRequest_messageType) New() protoreflect.Message { + return new(fastReflection_CanUpdateTopicWhitelistRequest) +} +func (x fastReflection_CanUpdateTopicWhitelistRequest_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_CanUpdateTopicWhitelistRequest +} + +// Descriptor returns message descriptor, which contains only the protobuf +// type information for the message. +func (x *fastReflection_CanUpdateTopicWhitelistRequest) Descriptor() protoreflect.MessageDescriptor { + return md_CanUpdateTopicWhitelistRequest +} + +// Type returns the message type, which encapsulates both Go and protobuf +// type information. If the Go type information is not needed, +// it is recommended that the message descriptor be used instead. +func (x *fastReflection_CanUpdateTopicWhitelistRequest) Type() protoreflect.MessageType { + return _fastReflection_CanUpdateTopicWhitelistRequest_messageType +} + +// New returns a newly allocated and mutable empty message. +func (x *fastReflection_CanUpdateTopicWhitelistRequest) New() protoreflect.Message { + return new(fastReflection_CanUpdateTopicWhitelistRequest) +} + +// Interface unwraps the message reflection interface and +// returns the underlying ProtoMessage interface. +func (x *fastReflection_CanUpdateTopicWhitelistRequest) Interface() protoreflect.ProtoMessage { + return (*CanUpdateTopicWhitelistRequest)(x) +} + +// Range iterates over every populated field in an undefined order, +// calling f for each field descriptor and value encountered. +// Range returns immediately if f returns false. +// While iterating, mutating operations may only be performed +// on the current field descriptor. +func (x *fastReflection_CanUpdateTopicWhitelistRequest) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { + if x.TopicId != uint64(0) { + value := protoreflect.ValueOfUint64(x.TopicId) + if !f(fd_CanUpdateTopicWhitelistRequest_topic_id, value) { + return + } + } + if x.Address != "" { + value := protoreflect.ValueOfString(x.Address) + if !f(fd_CanUpdateTopicWhitelistRequest_address, value) { + return + } + } +} + +// Has reports whether a field is populated. +// +// Some fields have the property of nullability where it is possible to +// distinguish between the default value of a field and whether the field +// was explicitly populated with the default value. Singular message fields, +// member fields of a oneof, and proto2 scalar fields are nullable. Such +// fields are populated only if explicitly set. +// +// In other cases (aside from the nullable cases above), +// a proto3 scalar field is populated if it contains a non-zero value, and +// a repeated field is populated if it is non-empty. +func (x *fastReflection_CanUpdateTopicWhitelistRequest) Has(fd protoreflect.FieldDescriptor) bool { + switch fd.FullName() { + case "emissions.v8.CanUpdateTopicWhitelistRequest.topic_id": + return x.TopicId != uint64(0) + case "emissions.v8.CanUpdateTopicWhitelistRequest.address": + return x.Address != "" + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.CanUpdateTopicWhitelistRequest")) + } + panic(fmt.Errorf("message emissions.v8.CanUpdateTopicWhitelistRequest does not contain field %s", fd.FullName())) + } +} + +// Clear clears the field such that a subsequent Has call reports false. +// +// Clearing an extension field clears both the extension type and value +// associated with the given field number. +// +// Clear is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_CanUpdateTopicWhitelistRequest) Clear(fd protoreflect.FieldDescriptor) { + switch fd.FullName() { + case "emissions.v8.CanUpdateTopicWhitelistRequest.topic_id": + x.TopicId = uint64(0) + case "emissions.v8.CanUpdateTopicWhitelistRequest.address": + x.Address = "" + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.CanUpdateTopicWhitelistRequest")) + } + panic(fmt.Errorf("message emissions.v8.CanUpdateTopicWhitelistRequest does not contain field %s", fd.FullName())) + } +} + +// Get retrieves the value for a field. +// +// For unpopulated scalars, it returns the default value, where +// the default value of a bytes scalar is guaranteed to be a copy. +// For unpopulated composite types, it returns an empty, read-only view +// of the value; to obtain a mutable reference, use Mutable. +func (x *fastReflection_CanUpdateTopicWhitelistRequest) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { + switch descriptor.FullName() { + case "emissions.v8.CanUpdateTopicWhitelistRequest.topic_id": + value := x.TopicId + return protoreflect.ValueOfUint64(value) + case "emissions.v8.CanUpdateTopicWhitelistRequest.address": + value := x.Address + return protoreflect.ValueOfString(value) + default: + if descriptor.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.CanUpdateTopicWhitelistRequest")) + } + panic(fmt.Errorf("message emissions.v8.CanUpdateTopicWhitelistRequest does not contain field %s", descriptor.FullName())) + } +} + +// Set stores the value for a field. +// +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType. +// When setting a composite type, it is unspecified whether the stored value +// aliases the source's memory in any way. If the composite value is an +// empty, read-only value, then it panics. +// +// Set is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_CanUpdateTopicWhitelistRequest) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { + switch fd.FullName() { + case "emissions.v8.CanUpdateTopicWhitelistRequest.topic_id": + x.TopicId = value.Uint() + case "emissions.v8.CanUpdateTopicWhitelistRequest.address": + x.Address = value.Interface().(string) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.CanUpdateTopicWhitelistRequest")) + } + panic(fmt.Errorf("message emissions.v8.CanUpdateTopicWhitelistRequest does not contain field %s", fd.FullName())) + } +} + +// Mutable returns a mutable reference to a composite type. +// +// If the field is unpopulated, it may allocate a composite value. +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType +// if not already stored. +// It panics if the field does not contain a composite type. +// +// Mutable is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_CanUpdateTopicWhitelistRequest) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.CanUpdateTopicWhitelistRequest.topic_id": + panic(fmt.Errorf("field topic_id of message emissions.v8.CanUpdateTopicWhitelistRequest is not mutable")) + case "emissions.v8.CanUpdateTopicWhitelistRequest.address": + panic(fmt.Errorf("field address of message emissions.v8.CanUpdateTopicWhitelistRequest is not mutable")) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.CanUpdateTopicWhitelistRequest")) + } + panic(fmt.Errorf("message emissions.v8.CanUpdateTopicWhitelistRequest does not contain field %s", fd.FullName())) + } +} + +// NewField returns a new value that is assignable to the field +// for the given descriptor. For scalars, this returns the default value. +// For lists, maps, and messages, this returns a new, empty, mutable value. +func (x *fastReflection_CanUpdateTopicWhitelistRequest) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.CanUpdateTopicWhitelistRequest.topic_id": + return protoreflect.ValueOfUint64(uint64(0)) + case "emissions.v8.CanUpdateTopicWhitelistRequest.address": + return protoreflect.ValueOfString("") + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.CanUpdateTopicWhitelistRequest")) + } + panic(fmt.Errorf("message emissions.v8.CanUpdateTopicWhitelistRequest does not contain field %s", fd.FullName())) + } +} + +// WhichOneof reports which field within the oneof is populated, +// returning nil if none are populated. +// It panics if the oneof descriptor does not belong to this message. +func (x *fastReflection_CanUpdateTopicWhitelistRequest) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { + switch d.FullName() { + default: + panic(fmt.Errorf("%s is not a oneof field in emissions.v8.CanUpdateTopicWhitelistRequest", d.FullName())) + } + panic("unreachable") +} + +// GetUnknown retrieves the entire list of unknown fields. +// The caller may only mutate the contents of the RawFields +// if the mutated bytes are stored back into the message with SetUnknown. +func (x *fastReflection_CanUpdateTopicWhitelistRequest) GetUnknown() protoreflect.RawFields { + return x.unknownFields +} + +// SetUnknown stores an entire list of unknown fields. +// The raw fields must be syntactically valid according to the wire format. +// An implementation may panic if this is not the case. +// Once stored, the caller must not mutate the content of the RawFields. +// An empty RawFields may be passed to clear the fields. +// +// SetUnknown is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_CanUpdateTopicWhitelistRequest) SetUnknown(fields protoreflect.RawFields) { + x.unknownFields = fields +} + +// IsValid reports whether the message is valid. +// +// An invalid message is an empty, read-only value. +// +// An invalid message often corresponds to a nil pointer of the concrete +// message type, but the details are implementation dependent. +// Validity is not part of the protobuf data model, and may not +// be preserved in marshaling or other operations. +func (x *fastReflection_CanUpdateTopicWhitelistRequest) IsValid() bool { + return x != nil +} + +// ProtoMethods returns optional fastReflectionFeature-path implementations of various operations. +// This method may return nil. +// +// The returned methods type is identical to +// "google.golang.org/protobuf/runtime/protoiface".Methods. +// Consult the protoiface package documentation for details. +func (x *fastReflection_CanUpdateTopicWhitelistRequest) ProtoMethods() *protoiface.Methods { + size := func(input protoiface.SizeInput) protoiface.SizeOutput { + x := input.Message.Interface().(*CanUpdateTopicWhitelistRequest) + if x == nil { + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: 0, + } + } + options := runtime.SizeInputToOptions(input) + _ = options + var n int + var l int + _ = l + if x.TopicId != 0 { + n += 1 + runtime.Sov(uint64(x.TopicId)) + } + l = len(x.Address) + if l > 0 { + n += 1 + l + runtime.Sov(uint64(l)) + } + if x.unknownFields != nil { + n += len(x.unknownFields) + } + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: n, + } + } + + marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { + x := input.Message.Interface().(*CanUpdateTopicWhitelistRequest) + if x == nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + options := runtime.MarshalInputToOptions(input) + _ = options + size := options.Size(x) + dAtA := make([]byte, size) + i := len(dAtA) + _ = i + var l int + _ = l + if x.unknownFields != nil { + i -= len(x.unknownFields) + copy(dAtA[i:], x.unknownFields) + } + if len(x.Address) > 0 { + i -= len(x.Address) + copy(dAtA[i:], x.Address) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.Address))) + i-- + dAtA[i] = 0x12 + } + if x.TopicId != 0 { + i = runtime.EncodeVarint(dAtA, i, uint64(x.TopicId)) + i-- + dAtA[i] = 0x8 + } + if input.Buf != nil { + input.Buf = append(input.Buf, dAtA...) + } else { + input.Buf = dAtA + } + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { + x := input.Message.Interface().(*CanUpdateTopicWhitelistRequest) + if x == nil { + return protoiface.UnmarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Flags: input.Flags, + }, nil + } + options := runtime.UnmarshalInputToOptions(input) + _ = options + dAtA := input.Buf + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: CanUpdateTopicWhitelistRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: CanUpdateTopicWhitelistRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field TopicId", wireType) + } + x.TopicId = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + x.TopicId |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 2: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Address", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + x.Address = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := runtime.Skip(dAtA[iNdEx:]) + if err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if (iNdEx + skippy) > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + if !options.DiscardUnknown { + x.unknownFields = append(x.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + } + iNdEx += skippy + } + } + + if iNdEx > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, nil + } + return &protoiface.Methods{ + NoUnkeyedLiterals: struct{}{}, + Flags: protoiface.SupportMarshalDeterministic | protoiface.SupportUnmarshalDiscardUnknown, + Size: size, + Marshal: marshal, + Unmarshal: unmarshal, + Merge: nil, + CheckInitialized: nil, + } +} + +var ( + md_CanUpdateTopicWhitelistResponse protoreflect.MessageDescriptor + fd_CanUpdateTopicWhitelistResponse_can_update_topic_whitelist protoreflect.FieldDescriptor +) + +func init() { + file_emissions_v8_query_proto_init() + md_CanUpdateTopicWhitelistResponse = File_emissions_v8_query_proto.Messages().ByName("CanUpdateTopicWhitelistResponse") + fd_CanUpdateTopicWhitelistResponse_can_update_topic_whitelist = md_CanUpdateTopicWhitelistResponse.Fields().ByName("can_update_topic_whitelist") +} + +var _ protoreflect.Message = (*fastReflection_CanUpdateTopicWhitelistResponse)(nil) + +type fastReflection_CanUpdateTopicWhitelistResponse CanUpdateTopicWhitelistResponse + +func (x *CanUpdateTopicWhitelistResponse) ProtoReflect() protoreflect.Message { + return (*fastReflection_CanUpdateTopicWhitelistResponse)(x) +} + +func (x *CanUpdateTopicWhitelistResponse) slowProtoReflect() protoreflect.Message { + mi := &file_emissions_v8_query_proto_msgTypes[27] + 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) +} + +var _fastReflection_CanUpdateTopicWhitelistResponse_messageType fastReflection_CanUpdateTopicWhitelistResponse_messageType +var _ protoreflect.MessageType = fastReflection_CanUpdateTopicWhitelistResponse_messageType{} + +type fastReflection_CanUpdateTopicWhitelistResponse_messageType struct{} + +func (x fastReflection_CanUpdateTopicWhitelistResponse_messageType) Zero() protoreflect.Message { + return (*fastReflection_CanUpdateTopicWhitelistResponse)(nil) +} +func (x fastReflection_CanUpdateTopicWhitelistResponse_messageType) New() protoreflect.Message { + return new(fastReflection_CanUpdateTopicWhitelistResponse) +} +func (x fastReflection_CanUpdateTopicWhitelistResponse_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_CanUpdateTopicWhitelistResponse +} + +// Descriptor returns message descriptor, which contains only the protobuf +// type information for the message. +func (x *fastReflection_CanUpdateTopicWhitelistResponse) Descriptor() protoreflect.MessageDescriptor { + return md_CanUpdateTopicWhitelistResponse +} + +// Type returns the message type, which encapsulates both Go and protobuf +// type information. If the Go type information is not needed, +// it is recommended that the message descriptor be used instead. +func (x *fastReflection_CanUpdateTopicWhitelistResponse) Type() protoreflect.MessageType { + return _fastReflection_CanUpdateTopicWhitelistResponse_messageType +} + +// New returns a newly allocated and mutable empty message. +func (x *fastReflection_CanUpdateTopicWhitelistResponse) New() protoreflect.Message { + return new(fastReflection_CanUpdateTopicWhitelistResponse) +} + +// Interface unwraps the message reflection interface and +// returns the underlying ProtoMessage interface. +func (x *fastReflection_CanUpdateTopicWhitelistResponse) Interface() protoreflect.ProtoMessage { + return (*CanUpdateTopicWhitelistResponse)(x) +} + +// Range iterates over every populated field in an undefined order, +// calling f for each field descriptor and value encountered. +// Range returns immediately if f returns false. +// While iterating, mutating operations may only be performed +// on the current field descriptor. +func (x *fastReflection_CanUpdateTopicWhitelistResponse) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { + if x.CanUpdateTopicWhitelist != false { + value := protoreflect.ValueOfBool(x.CanUpdateTopicWhitelist) + if !f(fd_CanUpdateTopicWhitelistResponse_can_update_topic_whitelist, value) { + return + } + } +} + +// Has reports whether a field is populated. +// +// Some fields have the property of nullability where it is possible to +// distinguish between the default value of a field and whether the field +// was explicitly populated with the default value. Singular message fields, +// member fields of a oneof, and proto2 scalar fields are nullable. Such +// fields are populated only if explicitly set. +// +// In other cases (aside from the nullable cases above), +// a proto3 scalar field is populated if it contains a non-zero value, and +// a repeated field is populated if it is non-empty. +func (x *fastReflection_CanUpdateTopicWhitelistResponse) Has(fd protoreflect.FieldDescriptor) bool { + switch fd.FullName() { + case "emissions.v8.CanUpdateTopicWhitelistResponse.can_update_topic_whitelist": + return x.CanUpdateTopicWhitelist != false + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.CanUpdateTopicWhitelistResponse")) + } + panic(fmt.Errorf("message emissions.v8.CanUpdateTopicWhitelistResponse does not contain field %s", fd.FullName())) + } +} + +// Clear clears the field such that a subsequent Has call reports false. +// +// Clearing an extension field clears both the extension type and value +// associated with the given field number. +// +// Clear is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_CanUpdateTopicWhitelistResponse) Clear(fd protoreflect.FieldDescriptor) { + switch fd.FullName() { + case "emissions.v8.CanUpdateTopicWhitelistResponse.can_update_topic_whitelist": + x.CanUpdateTopicWhitelist = false + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.CanUpdateTopicWhitelistResponse")) + } + panic(fmt.Errorf("message emissions.v8.CanUpdateTopicWhitelistResponse does not contain field %s", fd.FullName())) + } +} + +// Get retrieves the value for a field. +// +// For unpopulated scalars, it returns the default value, where +// the default value of a bytes scalar is guaranteed to be a copy. +// For unpopulated composite types, it returns an empty, read-only view +// of the value; to obtain a mutable reference, use Mutable. +func (x *fastReflection_CanUpdateTopicWhitelistResponse) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { + switch descriptor.FullName() { + case "emissions.v8.CanUpdateTopicWhitelistResponse.can_update_topic_whitelist": + value := x.CanUpdateTopicWhitelist + return protoreflect.ValueOfBool(value) + default: + if descriptor.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.CanUpdateTopicWhitelistResponse")) + } + panic(fmt.Errorf("message emissions.v8.CanUpdateTopicWhitelistResponse does not contain field %s", descriptor.FullName())) + } +} + +// Set stores the value for a field. +// +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType. +// When setting a composite type, it is unspecified whether the stored value +// aliases the source's memory in any way. If the composite value is an +// empty, read-only value, then it panics. +// +// Set is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_CanUpdateTopicWhitelistResponse) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { + switch fd.FullName() { + case "emissions.v8.CanUpdateTopicWhitelistResponse.can_update_topic_whitelist": + x.CanUpdateTopicWhitelist = value.Bool() + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.CanUpdateTopicWhitelistResponse")) + } + panic(fmt.Errorf("message emissions.v8.CanUpdateTopicWhitelistResponse does not contain field %s", fd.FullName())) + } +} + +// Mutable returns a mutable reference to a composite type. +// +// If the field is unpopulated, it may allocate a composite value. +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType +// if not already stored. +// It panics if the field does not contain a composite type. +// +// Mutable is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_CanUpdateTopicWhitelistResponse) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.CanUpdateTopicWhitelistResponse.can_update_topic_whitelist": + panic(fmt.Errorf("field can_update_topic_whitelist of message emissions.v8.CanUpdateTopicWhitelistResponse is not mutable")) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.CanUpdateTopicWhitelistResponse")) + } + panic(fmt.Errorf("message emissions.v8.CanUpdateTopicWhitelistResponse does not contain field %s", fd.FullName())) + } +} + +// NewField returns a new value that is assignable to the field +// for the given descriptor. For scalars, this returns the default value. +// For lists, maps, and messages, this returns a new, empty, mutable value. +func (x *fastReflection_CanUpdateTopicWhitelistResponse) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.CanUpdateTopicWhitelistResponse.can_update_topic_whitelist": + return protoreflect.ValueOfBool(false) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.CanUpdateTopicWhitelistResponse")) + } + panic(fmt.Errorf("message emissions.v8.CanUpdateTopicWhitelistResponse does not contain field %s", fd.FullName())) + } +} + +// WhichOneof reports which field within the oneof is populated, +// returning nil if none are populated. +// It panics if the oneof descriptor does not belong to this message. +func (x *fastReflection_CanUpdateTopicWhitelistResponse) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { + switch d.FullName() { + default: + panic(fmt.Errorf("%s is not a oneof field in emissions.v8.CanUpdateTopicWhitelistResponse", d.FullName())) + } + panic("unreachable") +} + +// GetUnknown retrieves the entire list of unknown fields. +// The caller may only mutate the contents of the RawFields +// if the mutated bytes are stored back into the message with SetUnknown. +func (x *fastReflection_CanUpdateTopicWhitelistResponse) GetUnknown() protoreflect.RawFields { + return x.unknownFields +} + +// SetUnknown stores an entire list of unknown fields. +// The raw fields must be syntactically valid according to the wire format. +// An implementation may panic if this is not the case. +// Once stored, the caller must not mutate the content of the RawFields. +// An empty RawFields may be passed to clear the fields. +// +// SetUnknown is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_CanUpdateTopicWhitelistResponse) SetUnknown(fields protoreflect.RawFields) { + x.unknownFields = fields +} + +// IsValid reports whether the message is valid. +// +// An invalid message is an empty, read-only value. +// +// An invalid message often corresponds to a nil pointer of the concrete +// message type, but the details are implementation dependent. +// Validity is not part of the protobuf data model, and may not +// be preserved in marshaling or other operations. +func (x *fastReflection_CanUpdateTopicWhitelistResponse) IsValid() bool { + return x != nil +} + +// ProtoMethods returns optional fastReflectionFeature-path implementations of various operations. +// This method may return nil. +// +// The returned methods type is identical to +// "google.golang.org/protobuf/runtime/protoiface".Methods. +// Consult the protoiface package documentation for details. +func (x *fastReflection_CanUpdateTopicWhitelistResponse) ProtoMethods() *protoiface.Methods { + size := func(input protoiface.SizeInput) protoiface.SizeOutput { + x := input.Message.Interface().(*CanUpdateTopicWhitelistResponse) + if x == nil { + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: 0, + } + } + options := runtime.SizeInputToOptions(input) + _ = options + var n int + var l int + _ = l + if x.CanUpdateTopicWhitelist { + n += 2 + } + if x.unknownFields != nil { + n += len(x.unknownFields) + } + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: n, + } + } + + marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { + x := input.Message.Interface().(*CanUpdateTopicWhitelistResponse) + if x == nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + options := runtime.MarshalInputToOptions(input) + _ = options + size := options.Size(x) + dAtA := make([]byte, size) + i := len(dAtA) + _ = i + var l int + _ = l + if x.unknownFields != nil { + i -= len(x.unknownFields) + copy(dAtA[i:], x.unknownFields) + } + if x.CanUpdateTopicWhitelist { + i-- + if x.CanUpdateTopicWhitelist { + dAtA[i] = 1 + } else { + dAtA[i] = 0 + } + i-- + dAtA[i] = 0x8 + } + if input.Buf != nil { + input.Buf = append(input.Buf, dAtA...) + } else { + input.Buf = dAtA + } + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { + x := input.Message.Interface().(*CanUpdateTopicWhitelistResponse) + if x == nil { + return protoiface.UnmarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Flags: input.Flags, + }, nil + } + options := runtime.UnmarshalInputToOptions(input) + _ = options + dAtA := input.Buf + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: CanUpdateTopicWhitelistResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: CanUpdateTopicWhitelistResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field CanUpdateTopicWhitelist", wireType) + } + var v int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + x.CanUpdateTopicWhitelist = bool(v != 0) + default: + iNdEx = preIndex + skippy, err := runtime.Skip(dAtA[iNdEx:]) + if err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if (iNdEx + skippy) > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + if !options.DiscardUnknown { + x.unknownFields = append(x.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + } + iNdEx += skippy + } + } + + if iNdEx > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, nil + } + return &protoiface.Methods{ + NoUnkeyedLiterals: struct{}{}, + Flags: protoiface.SupportMarshalDeterministic | protoiface.SupportUnmarshalDiscardUnknown, + Size: size, + Marshal: marshal, + Unmarshal: unmarshal, + Merge: nil, + CheckInitialized: nil, + } +} + +var ( + md_CanCreateTopicRequest protoreflect.MessageDescriptor + fd_CanCreateTopicRequest_address protoreflect.FieldDescriptor +) + +func init() { + file_emissions_v8_query_proto_init() + md_CanCreateTopicRequest = File_emissions_v8_query_proto.Messages().ByName("CanCreateTopicRequest") + fd_CanCreateTopicRequest_address = md_CanCreateTopicRequest.Fields().ByName("address") +} + +var _ protoreflect.Message = (*fastReflection_CanCreateTopicRequest)(nil) + +type fastReflection_CanCreateTopicRequest CanCreateTopicRequest + +func (x *CanCreateTopicRequest) ProtoReflect() protoreflect.Message { + return (*fastReflection_CanCreateTopicRequest)(x) +} + +func (x *CanCreateTopicRequest) slowProtoReflect() protoreflect.Message { + mi := &file_emissions_v8_query_proto_msgTypes[28] + 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) +} + +var _fastReflection_CanCreateTopicRequest_messageType fastReflection_CanCreateTopicRequest_messageType +var _ protoreflect.MessageType = fastReflection_CanCreateTopicRequest_messageType{} + +type fastReflection_CanCreateTopicRequest_messageType struct{} + +func (x fastReflection_CanCreateTopicRequest_messageType) Zero() protoreflect.Message { + return (*fastReflection_CanCreateTopicRequest)(nil) +} +func (x fastReflection_CanCreateTopicRequest_messageType) New() protoreflect.Message { + return new(fastReflection_CanCreateTopicRequest) +} +func (x fastReflection_CanCreateTopicRequest_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_CanCreateTopicRequest +} + +// Descriptor returns message descriptor, which contains only the protobuf +// type information for the message. +func (x *fastReflection_CanCreateTopicRequest) Descriptor() protoreflect.MessageDescriptor { + return md_CanCreateTopicRequest +} + +// Type returns the message type, which encapsulates both Go and protobuf +// type information. If the Go type information is not needed, +// it is recommended that the message descriptor be used instead. +func (x *fastReflection_CanCreateTopicRequest) Type() protoreflect.MessageType { + return _fastReflection_CanCreateTopicRequest_messageType +} + +// New returns a newly allocated and mutable empty message. +func (x *fastReflection_CanCreateTopicRequest) New() protoreflect.Message { + return new(fastReflection_CanCreateTopicRequest) +} + +// Interface unwraps the message reflection interface and +// returns the underlying ProtoMessage interface. +func (x *fastReflection_CanCreateTopicRequest) Interface() protoreflect.ProtoMessage { + return (*CanCreateTopicRequest)(x) +} + +// Range iterates over every populated field in an undefined order, +// calling f for each field descriptor and value encountered. +// Range returns immediately if f returns false. +// While iterating, mutating operations may only be performed +// on the current field descriptor. +func (x *fastReflection_CanCreateTopicRequest) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { + if x.Address != "" { + value := protoreflect.ValueOfString(x.Address) + if !f(fd_CanCreateTopicRequest_address, value) { + return + } + } +} + +// Has reports whether a field is populated. +// +// Some fields have the property of nullability where it is possible to +// distinguish between the default value of a field and whether the field +// was explicitly populated with the default value. Singular message fields, +// member fields of a oneof, and proto2 scalar fields are nullable. Such +// fields are populated only if explicitly set. +// +// In other cases (aside from the nullable cases above), +// a proto3 scalar field is populated if it contains a non-zero value, and +// a repeated field is populated if it is non-empty. +func (x *fastReflection_CanCreateTopicRequest) Has(fd protoreflect.FieldDescriptor) bool { + switch fd.FullName() { + case "emissions.v8.CanCreateTopicRequest.address": + return x.Address != "" + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.CanCreateTopicRequest")) + } + panic(fmt.Errorf("message emissions.v8.CanCreateTopicRequest does not contain field %s", fd.FullName())) + } +} + +// Clear clears the field such that a subsequent Has call reports false. +// +// Clearing an extension field clears both the extension type and value +// associated with the given field number. +// +// Clear is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_CanCreateTopicRequest) Clear(fd protoreflect.FieldDescriptor) { + switch fd.FullName() { + case "emissions.v8.CanCreateTopicRequest.address": + x.Address = "" + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.CanCreateTopicRequest")) + } + panic(fmt.Errorf("message emissions.v8.CanCreateTopicRequest does not contain field %s", fd.FullName())) + } +} + +// Get retrieves the value for a field. +// +// For unpopulated scalars, it returns the default value, where +// the default value of a bytes scalar is guaranteed to be a copy. +// For unpopulated composite types, it returns an empty, read-only view +// of the value; to obtain a mutable reference, use Mutable. +func (x *fastReflection_CanCreateTopicRequest) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { + switch descriptor.FullName() { + case "emissions.v8.CanCreateTopicRequest.address": + value := x.Address + return protoreflect.ValueOfString(value) + default: + if descriptor.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.CanCreateTopicRequest")) + } + panic(fmt.Errorf("message emissions.v8.CanCreateTopicRequest does not contain field %s", descriptor.FullName())) + } +} + +// Set stores the value for a field. +// +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType. +// When setting a composite type, it is unspecified whether the stored value +// aliases the source's memory in any way. If the composite value is an +// empty, read-only value, then it panics. +// +// Set is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_CanCreateTopicRequest) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { + switch fd.FullName() { + case "emissions.v8.CanCreateTopicRequest.address": + x.Address = value.Interface().(string) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.CanCreateTopicRequest")) + } + panic(fmt.Errorf("message emissions.v8.CanCreateTopicRequest does not contain field %s", fd.FullName())) + } +} + +// Mutable returns a mutable reference to a composite type. +// +// If the field is unpopulated, it may allocate a composite value. +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType +// if not already stored. +// It panics if the field does not contain a composite type. +// +// Mutable is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_CanCreateTopicRequest) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.CanCreateTopicRequest.address": + panic(fmt.Errorf("field address of message emissions.v8.CanCreateTopicRequest is not mutable")) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.CanCreateTopicRequest")) + } + panic(fmt.Errorf("message emissions.v8.CanCreateTopicRequest does not contain field %s", fd.FullName())) + } +} + +// NewField returns a new value that is assignable to the field +// for the given descriptor. For scalars, this returns the default value. +// For lists, maps, and messages, this returns a new, empty, mutable value. +func (x *fastReflection_CanCreateTopicRequest) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.CanCreateTopicRequest.address": + return protoreflect.ValueOfString("") + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.CanCreateTopicRequest")) + } + panic(fmt.Errorf("message emissions.v8.CanCreateTopicRequest does not contain field %s", fd.FullName())) + } +} + +// WhichOneof reports which field within the oneof is populated, +// returning nil if none are populated. +// It panics if the oneof descriptor does not belong to this message. +func (x *fastReflection_CanCreateTopicRequest) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { + switch d.FullName() { + default: + panic(fmt.Errorf("%s is not a oneof field in emissions.v8.CanCreateTopicRequest", d.FullName())) + } + panic("unreachable") +} + +// GetUnknown retrieves the entire list of unknown fields. +// The caller may only mutate the contents of the RawFields +// if the mutated bytes are stored back into the message with SetUnknown. +func (x *fastReflection_CanCreateTopicRequest) GetUnknown() protoreflect.RawFields { + return x.unknownFields +} + +// SetUnknown stores an entire list of unknown fields. +// The raw fields must be syntactically valid according to the wire format. +// An implementation may panic if this is not the case. +// Once stored, the caller must not mutate the content of the RawFields. +// An empty RawFields may be passed to clear the fields. +// +// SetUnknown is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_CanCreateTopicRequest) SetUnknown(fields protoreflect.RawFields) { + x.unknownFields = fields +} + +// IsValid reports whether the message is valid. +// +// An invalid message is an empty, read-only value. +// +// An invalid message often corresponds to a nil pointer of the concrete +// message type, but the details are implementation dependent. +// Validity is not part of the protobuf data model, and may not +// be preserved in marshaling or other operations. +func (x *fastReflection_CanCreateTopicRequest) IsValid() bool { + return x != nil +} + +// ProtoMethods returns optional fastReflectionFeature-path implementations of various operations. +// This method may return nil. +// +// The returned methods type is identical to +// "google.golang.org/protobuf/runtime/protoiface".Methods. +// Consult the protoiface package documentation for details. +func (x *fastReflection_CanCreateTopicRequest) ProtoMethods() *protoiface.Methods { + size := func(input protoiface.SizeInput) protoiface.SizeOutput { + x := input.Message.Interface().(*CanCreateTopicRequest) + if x == nil { + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: 0, + } + } + options := runtime.SizeInputToOptions(input) + _ = options + var n int + var l int + _ = l + l = len(x.Address) + if l > 0 { + n += 1 + l + runtime.Sov(uint64(l)) + } + if x.unknownFields != nil { + n += len(x.unknownFields) + } + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: n, + } + } + + marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { + x := input.Message.Interface().(*CanCreateTopicRequest) + if x == nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + options := runtime.MarshalInputToOptions(input) + _ = options + size := options.Size(x) + dAtA := make([]byte, size) + i := len(dAtA) + _ = i + var l int + _ = l + if x.unknownFields != nil { + i -= len(x.unknownFields) + copy(dAtA[i:], x.unknownFields) + } + if len(x.Address) > 0 { + i -= len(x.Address) + copy(dAtA[i:], x.Address) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.Address))) + i-- + dAtA[i] = 0xa + } + if input.Buf != nil { + input.Buf = append(input.Buf, dAtA...) + } else { + input.Buf = dAtA + } + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { + x := input.Message.Interface().(*CanCreateTopicRequest) + if x == nil { + return protoiface.UnmarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Flags: input.Flags, + }, nil + } + options := runtime.UnmarshalInputToOptions(input) + _ = options + dAtA := input.Buf + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: CanCreateTopicRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: CanCreateTopicRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Address", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + x.Address = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := runtime.Skip(dAtA[iNdEx:]) + if err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if (iNdEx + skippy) > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + if !options.DiscardUnknown { + x.unknownFields = append(x.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + } + iNdEx += skippy + } + } + + if iNdEx > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, nil + } + return &protoiface.Methods{ + NoUnkeyedLiterals: struct{}{}, + Flags: protoiface.SupportMarshalDeterministic | protoiface.SupportUnmarshalDiscardUnknown, + Size: size, + Marshal: marshal, + Unmarshal: unmarshal, + Merge: nil, + CheckInitialized: nil, + } +} + +var ( + md_CanCreateTopicResponse protoreflect.MessageDescriptor + fd_CanCreateTopicResponse_can_create_topic protoreflect.FieldDescriptor +) + +func init() { + file_emissions_v8_query_proto_init() + md_CanCreateTopicResponse = File_emissions_v8_query_proto.Messages().ByName("CanCreateTopicResponse") + fd_CanCreateTopicResponse_can_create_topic = md_CanCreateTopicResponse.Fields().ByName("can_create_topic") +} + +var _ protoreflect.Message = (*fastReflection_CanCreateTopicResponse)(nil) + +type fastReflection_CanCreateTopicResponse CanCreateTopicResponse + +func (x *CanCreateTopicResponse) ProtoReflect() protoreflect.Message { + return (*fastReflection_CanCreateTopicResponse)(x) +} + +func (x *CanCreateTopicResponse) slowProtoReflect() protoreflect.Message { + mi := &file_emissions_v8_query_proto_msgTypes[29] + 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) +} + +var _fastReflection_CanCreateTopicResponse_messageType fastReflection_CanCreateTopicResponse_messageType +var _ protoreflect.MessageType = fastReflection_CanCreateTopicResponse_messageType{} + +type fastReflection_CanCreateTopicResponse_messageType struct{} + +func (x fastReflection_CanCreateTopicResponse_messageType) Zero() protoreflect.Message { + return (*fastReflection_CanCreateTopicResponse)(nil) +} +func (x fastReflection_CanCreateTopicResponse_messageType) New() protoreflect.Message { + return new(fastReflection_CanCreateTopicResponse) +} +func (x fastReflection_CanCreateTopicResponse_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_CanCreateTopicResponse +} + +// Descriptor returns message descriptor, which contains only the protobuf +// type information for the message. +func (x *fastReflection_CanCreateTopicResponse) Descriptor() protoreflect.MessageDescriptor { + return md_CanCreateTopicResponse +} + +// Type returns the message type, which encapsulates both Go and protobuf +// type information. If the Go type information is not needed, +// it is recommended that the message descriptor be used instead. +func (x *fastReflection_CanCreateTopicResponse) Type() protoreflect.MessageType { + return _fastReflection_CanCreateTopicResponse_messageType +} + +// New returns a newly allocated and mutable empty message. +func (x *fastReflection_CanCreateTopicResponse) New() protoreflect.Message { + return new(fastReflection_CanCreateTopicResponse) +} + +// Interface unwraps the message reflection interface and +// returns the underlying ProtoMessage interface. +func (x *fastReflection_CanCreateTopicResponse) Interface() protoreflect.ProtoMessage { + return (*CanCreateTopicResponse)(x) +} + +// Range iterates over every populated field in an undefined order, +// calling f for each field descriptor and value encountered. +// Range returns immediately if f returns false. +// While iterating, mutating operations may only be performed +// on the current field descriptor. +func (x *fastReflection_CanCreateTopicResponse) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { + if x.CanCreateTopic != false { + value := protoreflect.ValueOfBool(x.CanCreateTopic) + if !f(fd_CanCreateTopicResponse_can_create_topic, value) { + return + } + } +} + +// Has reports whether a field is populated. +// +// Some fields have the property of nullability where it is possible to +// distinguish between the default value of a field and whether the field +// was explicitly populated with the default value. Singular message fields, +// member fields of a oneof, and proto2 scalar fields are nullable. Such +// fields are populated only if explicitly set. +// +// In other cases (aside from the nullable cases above), +// a proto3 scalar field is populated if it contains a non-zero value, and +// a repeated field is populated if it is non-empty. +func (x *fastReflection_CanCreateTopicResponse) Has(fd protoreflect.FieldDescriptor) bool { + switch fd.FullName() { + case "emissions.v8.CanCreateTopicResponse.can_create_topic": + return x.CanCreateTopic != false + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.CanCreateTopicResponse")) + } + panic(fmt.Errorf("message emissions.v8.CanCreateTopicResponse does not contain field %s", fd.FullName())) + } +} + +// Clear clears the field such that a subsequent Has call reports false. +// +// Clearing an extension field clears both the extension type and value +// associated with the given field number. +// +// Clear is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_CanCreateTopicResponse) Clear(fd protoreflect.FieldDescriptor) { + switch fd.FullName() { + case "emissions.v8.CanCreateTopicResponse.can_create_topic": + x.CanCreateTopic = false + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.CanCreateTopicResponse")) + } + panic(fmt.Errorf("message emissions.v8.CanCreateTopicResponse does not contain field %s", fd.FullName())) + } +} + +// Get retrieves the value for a field. +// +// For unpopulated scalars, it returns the default value, where +// the default value of a bytes scalar is guaranteed to be a copy. +// For unpopulated composite types, it returns an empty, read-only view +// of the value; to obtain a mutable reference, use Mutable. +func (x *fastReflection_CanCreateTopicResponse) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { + switch descriptor.FullName() { + case "emissions.v8.CanCreateTopicResponse.can_create_topic": + value := x.CanCreateTopic + return protoreflect.ValueOfBool(value) + default: + if descriptor.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.CanCreateTopicResponse")) + } + panic(fmt.Errorf("message emissions.v8.CanCreateTopicResponse does not contain field %s", descriptor.FullName())) + } +} + +// Set stores the value for a field. +// +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType. +// When setting a composite type, it is unspecified whether the stored value +// aliases the source's memory in any way. If the composite value is an +// empty, read-only value, then it panics. +// +// Set is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_CanCreateTopicResponse) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { + switch fd.FullName() { + case "emissions.v8.CanCreateTopicResponse.can_create_topic": + x.CanCreateTopic = value.Bool() + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.CanCreateTopicResponse")) + } + panic(fmt.Errorf("message emissions.v8.CanCreateTopicResponse does not contain field %s", fd.FullName())) + } +} + +// Mutable returns a mutable reference to a composite type. +// +// If the field is unpopulated, it may allocate a composite value. +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType +// if not already stored. +// It panics if the field does not contain a composite type. +// +// Mutable is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_CanCreateTopicResponse) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.CanCreateTopicResponse.can_create_topic": + panic(fmt.Errorf("field can_create_topic of message emissions.v8.CanCreateTopicResponse is not mutable")) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.CanCreateTopicResponse")) + } + panic(fmt.Errorf("message emissions.v8.CanCreateTopicResponse does not contain field %s", fd.FullName())) + } +} + +// NewField returns a new value that is assignable to the field +// for the given descriptor. For scalars, this returns the default value. +// For lists, maps, and messages, this returns a new, empty, mutable value. +func (x *fastReflection_CanCreateTopicResponse) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.CanCreateTopicResponse.can_create_topic": + return protoreflect.ValueOfBool(false) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.CanCreateTopicResponse")) + } + panic(fmt.Errorf("message emissions.v8.CanCreateTopicResponse does not contain field %s", fd.FullName())) + } +} + +// WhichOneof reports which field within the oneof is populated, +// returning nil if none are populated. +// It panics if the oneof descriptor does not belong to this message. +func (x *fastReflection_CanCreateTopicResponse) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { + switch d.FullName() { + default: + panic(fmt.Errorf("%s is not a oneof field in emissions.v8.CanCreateTopicResponse", d.FullName())) + } + panic("unreachable") +} + +// GetUnknown retrieves the entire list of unknown fields. +// The caller may only mutate the contents of the RawFields +// if the mutated bytes are stored back into the message with SetUnknown. +func (x *fastReflection_CanCreateTopicResponse) GetUnknown() protoreflect.RawFields { + return x.unknownFields +} + +// SetUnknown stores an entire list of unknown fields. +// The raw fields must be syntactically valid according to the wire format. +// An implementation may panic if this is not the case. +// Once stored, the caller must not mutate the content of the RawFields. +// An empty RawFields may be passed to clear the fields. +// +// SetUnknown is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_CanCreateTopicResponse) SetUnknown(fields protoreflect.RawFields) { + x.unknownFields = fields +} + +// IsValid reports whether the message is valid. +// +// An invalid message is an empty, read-only value. +// +// An invalid message often corresponds to a nil pointer of the concrete +// message type, but the details are implementation dependent. +// Validity is not part of the protobuf data model, and may not +// be preserved in marshaling or other operations. +func (x *fastReflection_CanCreateTopicResponse) IsValid() bool { + return x != nil +} + +// ProtoMethods returns optional fastReflectionFeature-path implementations of various operations. +// This method may return nil. +// +// The returned methods type is identical to +// "google.golang.org/protobuf/runtime/protoiface".Methods. +// Consult the protoiface package documentation for details. +func (x *fastReflection_CanCreateTopicResponse) ProtoMethods() *protoiface.Methods { + size := func(input protoiface.SizeInput) protoiface.SizeOutput { + x := input.Message.Interface().(*CanCreateTopicResponse) + if x == nil { + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: 0, + } + } + options := runtime.SizeInputToOptions(input) + _ = options + var n int + var l int + _ = l + if x.CanCreateTopic { + n += 2 + } + if x.unknownFields != nil { + n += len(x.unknownFields) + } + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: n, + } + } + + marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { + x := input.Message.Interface().(*CanCreateTopicResponse) + if x == nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + options := runtime.MarshalInputToOptions(input) + _ = options + size := options.Size(x) + dAtA := make([]byte, size) + i := len(dAtA) + _ = i + var l int + _ = l + if x.unknownFields != nil { + i -= len(x.unknownFields) + copy(dAtA[i:], x.unknownFields) + } + if x.CanCreateTopic { + i-- + if x.CanCreateTopic { + dAtA[i] = 1 + } else { + dAtA[i] = 0 + } + i-- + dAtA[i] = 0x8 + } + if input.Buf != nil { + input.Buf = append(input.Buf, dAtA...) + } else { + input.Buf = dAtA + } + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { + x := input.Message.Interface().(*CanCreateTopicResponse) + if x == nil { + return protoiface.UnmarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Flags: input.Flags, + }, nil + } + options := runtime.UnmarshalInputToOptions(input) + _ = options + dAtA := input.Buf + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: CanCreateTopicResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: CanCreateTopicResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field CanCreateTopic", wireType) + } + var v int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + x.CanCreateTopic = bool(v != 0) + default: + iNdEx = preIndex + skippy, err := runtime.Skip(dAtA[iNdEx:]) + if err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if (iNdEx + skippy) > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + if !options.DiscardUnknown { + x.unknownFields = append(x.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + } + iNdEx += skippy + } + } + + if iNdEx > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, nil + } + return &protoiface.Methods{ + NoUnkeyedLiterals: struct{}{}, + Flags: protoiface.SupportMarshalDeterministic | protoiface.SupportUnmarshalDiscardUnknown, + Size: size, + Marshal: marshal, + Unmarshal: unmarshal, + Merge: nil, + CheckInitialized: nil, + } +} + +var ( + md_CanSubmitWorkerPayloadRequest protoreflect.MessageDescriptor + fd_CanSubmitWorkerPayloadRequest_topic_id protoreflect.FieldDescriptor + fd_CanSubmitWorkerPayloadRequest_address protoreflect.FieldDescriptor +) + +func init() { + file_emissions_v8_query_proto_init() + md_CanSubmitWorkerPayloadRequest = File_emissions_v8_query_proto.Messages().ByName("CanSubmitWorkerPayloadRequest") + fd_CanSubmitWorkerPayloadRequest_topic_id = md_CanSubmitWorkerPayloadRequest.Fields().ByName("topic_id") + fd_CanSubmitWorkerPayloadRequest_address = md_CanSubmitWorkerPayloadRequest.Fields().ByName("address") +} + +var _ protoreflect.Message = (*fastReflection_CanSubmitWorkerPayloadRequest)(nil) + +type fastReflection_CanSubmitWorkerPayloadRequest CanSubmitWorkerPayloadRequest + +func (x *CanSubmitWorkerPayloadRequest) ProtoReflect() protoreflect.Message { + return (*fastReflection_CanSubmitWorkerPayloadRequest)(x) +} + +func (x *CanSubmitWorkerPayloadRequest) slowProtoReflect() protoreflect.Message { + mi := &file_emissions_v8_query_proto_msgTypes[30] + 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) +} + +var _fastReflection_CanSubmitWorkerPayloadRequest_messageType fastReflection_CanSubmitWorkerPayloadRequest_messageType +var _ protoreflect.MessageType = fastReflection_CanSubmitWorkerPayloadRequest_messageType{} + +type fastReflection_CanSubmitWorkerPayloadRequest_messageType struct{} + +func (x fastReflection_CanSubmitWorkerPayloadRequest_messageType) Zero() protoreflect.Message { + return (*fastReflection_CanSubmitWorkerPayloadRequest)(nil) +} +func (x fastReflection_CanSubmitWorkerPayloadRequest_messageType) New() protoreflect.Message { + return new(fastReflection_CanSubmitWorkerPayloadRequest) +} +func (x fastReflection_CanSubmitWorkerPayloadRequest_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_CanSubmitWorkerPayloadRequest +} + +// Descriptor returns message descriptor, which contains only the protobuf +// type information for the message. +func (x *fastReflection_CanSubmitWorkerPayloadRequest) Descriptor() protoreflect.MessageDescriptor { + return md_CanSubmitWorkerPayloadRequest +} + +// Type returns the message type, which encapsulates both Go and protobuf +// type information. If the Go type information is not needed, +// it is recommended that the message descriptor be used instead. +func (x *fastReflection_CanSubmitWorkerPayloadRequest) Type() protoreflect.MessageType { + return _fastReflection_CanSubmitWorkerPayloadRequest_messageType +} + +// New returns a newly allocated and mutable empty message. +func (x *fastReflection_CanSubmitWorkerPayloadRequest) New() protoreflect.Message { + return new(fastReflection_CanSubmitWorkerPayloadRequest) +} + +// Interface unwraps the message reflection interface and +// returns the underlying ProtoMessage interface. +func (x *fastReflection_CanSubmitWorkerPayloadRequest) Interface() protoreflect.ProtoMessage { + return (*CanSubmitWorkerPayloadRequest)(x) +} + +// Range iterates over every populated field in an undefined order, +// calling f for each field descriptor and value encountered. +// Range returns immediately if f returns false. +// While iterating, mutating operations may only be performed +// on the current field descriptor. +func (x *fastReflection_CanSubmitWorkerPayloadRequest) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { + if x.TopicId != uint64(0) { + value := protoreflect.ValueOfUint64(x.TopicId) + if !f(fd_CanSubmitWorkerPayloadRequest_topic_id, value) { + return + } + } + if x.Address != "" { + value := protoreflect.ValueOfString(x.Address) + if !f(fd_CanSubmitWorkerPayloadRequest_address, value) { + return + } + } +} + +// Has reports whether a field is populated. +// +// Some fields have the property of nullability where it is possible to +// distinguish between the default value of a field and whether the field +// was explicitly populated with the default value. Singular message fields, +// member fields of a oneof, and proto2 scalar fields are nullable. Such +// fields are populated only if explicitly set. +// +// In other cases (aside from the nullable cases above), +// a proto3 scalar field is populated if it contains a non-zero value, and +// a repeated field is populated if it is non-empty. +func (x *fastReflection_CanSubmitWorkerPayloadRequest) Has(fd protoreflect.FieldDescriptor) bool { + switch fd.FullName() { + case "emissions.v8.CanSubmitWorkerPayloadRequest.topic_id": + return x.TopicId != uint64(0) + case "emissions.v8.CanSubmitWorkerPayloadRequest.address": + return x.Address != "" + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.CanSubmitWorkerPayloadRequest")) + } + panic(fmt.Errorf("message emissions.v8.CanSubmitWorkerPayloadRequest does not contain field %s", fd.FullName())) + } +} + +// Clear clears the field such that a subsequent Has call reports false. +// +// Clearing an extension field clears both the extension type and value +// associated with the given field number. +// +// Clear is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_CanSubmitWorkerPayloadRequest) Clear(fd protoreflect.FieldDescriptor) { + switch fd.FullName() { + case "emissions.v8.CanSubmitWorkerPayloadRequest.topic_id": + x.TopicId = uint64(0) + case "emissions.v8.CanSubmitWorkerPayloadRequest.address": + x.Address = "" + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.CanSubmitWorkerPayloadRequest")) + } + panic(fmt.Errorf("message emissions.v8.CanSubmitWorkerPayloadRequest does not contain field %s", fd.FullName())) + } +} + +// Get retrieves the value for a field. +// +// For unpopulated scalars, it returns the default value, where +// the default value of a bytes scalar is guaranteed to be a copy. +// For unpopulated composite types, it returns an empty, read-only view +// of the value; to obtain a mutable reference, use Mutable. +func (x *fastReflection_CanSubmitWorkerPayloadRequest) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { + switch descriptor.FullName() { + case "emissions.v8.CanSubmitWorkerPayloadRequest.topic_id": + value := x.TopicId + return protoreflect.ValueOfUint64(value) + case "emissions.v8.CanSubmitWorkerPayloadRequest.address": + value := x.Address + return protoreflect.ValueOfString(value) + default: + if descriptor.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.CanSubmitWorkerPayloadRequest")) + } + panic(fmt.Errorf("message emissions.v8.CanSubmitWorkerPayloadRequest does not contain field %s", descriptor.FullName())) + } +} + +// Set stores the value for a field. +// +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType. +// When setting a composite type, it is unspecified whether the stored value +// aliases the source's memory in any way. If the composite value is an +// empty, read-only value, then it panics. +// +// Set is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_CanSubmitWorkerPayloadRequest) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { + switch fd.FullName() { + case "emissions.v8.CanSubmitWorkerPayloadRequest.topic_id": + x.TopicId = value.Uint() + case "emissions.v8.CanSubmitWorkerPayloadRequest.address": + x.Address = value.Interface().(string) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.CanSubmitWorkerPayloadRequest")) + } + panic(fmt.Errorf("message emissions.v8.CanSubmitWorkerPayloadRequest does not contain field %s", fd.FullName())) + } +} + +// Mutable returns a mutable reference to a composite type. +// +// If the field is unpopulated, it may allocate a composite value. +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType +// if not already stored. +// It panics if the field does not contain a composite type. +// +// Mutable is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_CanSubmitWorkerPayloadRequest) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.CanSubmitWorkerPayloadRequest.topic_id": + panic(fmt.Errorf("field topic_id of message emissions.v8.CanSubmitWorkerPayloadRequest is not mutable")) + case "emissions.v8.CanSubmitWorkerPayloadRequest.address": + panic(fmt.Errorf("field address of message emissions.v8.CanSubmitWorkerPayloadRequest is not mutable")) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.CanSubmitWorkerPayloadRequest")) + } + panic(fmt.Errorf("message emissions.v8.CanSubmitWorkerPayloadRequest does not contain field %s", fd.FullName())) + } +} + +// NewField returns a new value that is assignable to the field +// for the given descriptor. For scalars, this returns the default value. +// For lists, maps, and messages, this returns a new, empty, mutable value. +func (x *fastReflection_CanSubmitWorkerPayloadRequest) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.CanSubmitWorkerPayloadRequest.topic_id": + return protoreflect.ValueOfUint64(uint64(0)) + case "emissions.v8.CanSubmitWorkerPayloadRequest.address": + return protoreflect.ValueOfString("") + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.CanSubmitWorkerPayloadRequest")) + } + panic(fmt.Errorf("message emissions.v8.CanSubmitWorkerPayloadRequest does not contain field %s", fd.FullName())) + } +} + +// WhichOneof reports which field within the oneof is populated, +// returning nil if none are populated. +// It panics if the oneof descriptor does not belong to this message. +func (x *fastReflection_CanSubmitWorkerPayloadRequest) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { + switch d.FullName() { + default: + panic(fmt.Errorf("%s is not a oneof field in emissions.v8.CanSubmitWorkerPayloadRequest", d.FullName())) + } + panic("unreachable") +} + +// GetUnknown retrieves the entire list of unknown fields. +// The caller may only mutate the contents of the RawFields +// if the mutated bytes are stored back into the message with SetUnknown. +func (x *fastReflection_CanSubmitWorkerPayloadRequest) GetUnknown() protoreflect.RawFields { + return x.unknownFields +} + +// SetUnknown stores an entire list of unknown fields. +// The raw fields must be syntactically valid according to the wire format. +// An implementation may panic if this is not the case. +// Once stored, the caller must not mutate the content of the RawFields. +// An empty RawFields may be passed to clear the fields. +// +// SetUnknown is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_CanSubmitWorkerPayloadRequest) SetUnknown(fields protoreflect.RawFields) { + x.unknownFields = fields +} + +// IsValid reports whether the message is valid. +// +// An invalid message is an empty, read-only value. +// +// An invalid message often corresponds to a nil pointer of the concrete +// message type, but the details are implementation dependent. +// Validity is not part of the protobuf data model, and may not +// be preserved in marshaling or other operations. +func (x *fastReflection_CanSubmitWorkerPayloadRequest) IsValid() bool { + return x != nil +} + +// ProtoMethods returns optional fastReflectionFeature-path implementations of various operations. +// This method may return nil. +// +// The returned methods type is identical to +// "google.golang.org/protobuf/runtime/protoiface".Methods. +// Consult the protoiface package documentation for details. +func (x *fastReflection_CanSubmitWorkerPayloadRequest) ProtoMethods() *protoiface.Methods { + size := func(input protoiface.SizeInput) protoiface.SizeOutput { + x := input.Message.Interface().(*CanSubmitWorkerPayloadRequest) + if x == nil { + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: 0, + } + } + options := runtime.SizeInputToOptions(input) + _ = options + var n int + var l int + _ = l + if x.TopicId != 0 { + n += 1 + runtime.Sov(uint64(x.TopicId)) + } + l = len(x.Address) + if l > 0 { + n += 1 + l + runtime.Sov(uint64(l)) + } + if x.unknownFields != nil { + n += len(x.unknownFields) + } + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: n, + } + } + + marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { + x := input.Message.Interface().(*CanSubmitWorkerPayloadRequest) + if x == nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + options := runtime.MarshalInputToOptions(input) + _ = options + size := options.Size(x) + dAtA := make([]byte, size) + i := len(dAtA) + _ = i + var l int + _ = l + if x.unknownFields != nil { + i -= len(x.unknownFields) + copy(dAtA[i:], x.unknownFields) + } + if len(x.Address) > 0 { + i -= len(x.Address) + copy(dAtA[i:], x.Address) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.Address))) + i-- + dAtA[i] = 0x12 + } + if x.TopicId != 0 { + i = runtime.EncodeVarint(dAtA, i, uint64(x.TopicId)) + i-- + dAtA[i] = 0x8 + } + if input.Buf != nil { + input.Buf = append(input.Buf, dAtA...) + } else { + input.Buf = dAtA + } + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { + x := input.Message.Interface().(*CanSubmitWorkerPayloadRequest) + if x == nil { + return protoiface.UnmarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Flags: input.Flags, + }, nil + } + options := runtime.UnmarshalInputToOptions(input) + _ = options + dAtA := input.Buf + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: CanSubmitWorkerPayloadRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: CanSubmitWorkerPayloadRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field TopicId", wireType) + } + x.TopicId = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + x.TopicId |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 2: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Address", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + x.Address = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := runtime.Skip(dAtA[iNdEx:]) + if err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if (iNdEx + skippy) > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + if !options.DiscardUnknown { + x.unknownFields = append(x.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + } + iNdEx += skippy + } + } + + if iNdEx > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, nil + } + return &protoiface.Methods{ + NoUnkeyedLiterals: struct{}{}, + Flags: protoiface.SupportMarshalDeterministic | protoiface.SupportUnmarshalDiscardUnknown, + Size: size, + Marshal: marshal, + Unmarshal: unmarshal, + Merge: nil, + CheckInitialized: nil, + } +} + +var ( + md_CanSubmitWorkerPayloadResponse protoreflect.MessageDescriptor + fd_CanSubmitWorkerPayloadResponse_can_submit_worker_payload protoreflect.FieldDescriptor +) + +func init() { + file_emissions_v8_query_proto_init() + md_CanSubmitWorkerPayloadResponse = File_emissions_v8_query_proto.Messages().ByName("CanSubmitWorkerPayloadResponse") + fd_CanSubmitWorkerPayloadResponse_can_submit_worker_payload = md_CanSubmitWorkerPayloadResponse.Fields().ByName("can_submit_worker_payload") +} + +var _ protoreflect.Message = (*fastReflection_CanSubmitWorkerPayloadResponse)(nil) + +type fastReflection_CanSubmitWorkerPayloadResponse CanSubmitWorkerPayloadResponse + +func (x *CanSubmitWorkerPayloadResponse) ProtoReflect() protoreflect.Message { + return (*fastReflection_CanSubmitWorkerPayloadResponse)(x) +} + +func (x *CanSubmitWorkerPayloadResponse) slowProtoReflect() protoreflect.Message { + mi := &file_emissions_v8_query_proto_msgTypes[31] + 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) +} + +var _fastReflection_CanSubmitWorkerPayloadResponse_messageType fastReflection_CanSubmitWorkerPayloadResponse_messageType +var _ protoreflect.MessageType = fastReflection_CanSubmitWorkerPayloadResponse_messageType{} + +type fastReflection_CanSubmitWorkerPayloadResponse_messageType struct{} + +func (x fastReflection_CanSubmitWorkerPayloadResponse_messageType) Zero() protoreflect.Message { + return (*fastReflection_CanSubmitWorkerPayloadResponse)(nil) +} +func (x fastReflection_CanSubmitWorkerPayloadResponse_messageType) New() protoreflect.Message { + return new(fastReflection_CanSubmitWorkerPayloadResponse) +} +func (x fastReflection_CanSubmitWorkerPayloadResponse_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_CanSubmitWorkerPayloadResponse +} + +// Descriptor returns message descriptor, which contains only the protobuf +// type information for the message. +func (x *fastReflection_CanSubmitWorkerPayloadResponse) Descriptor() protoreflect.MessageDescriptor { + return md_CanSubmitWorkerPayloadResponse +} + +// Type returns the message type, which encapsulates both Go and protobuf +// type information. If the Go type information is not needed, +// it is recommended that the message descriptor be used instead. +func (x *fastReflection_CanSubmitWorkerPayloadResponse) Type() protoreflect.MessageType { + return _fastReflection_CanSubmitWorkerPayloadResponse_messageType +} + +// New returns a newly allocated and mutable empty message. +func (x *fastReflection_CanSubmitWorkerPayloadResponse) New() protoreflect.Message { + return new(fastReflection_CanSubmitWorkerPayloadResponse) +} + +// Interface unwraps the message reflection interface and +// returns the underlying ProtoMessage interface. +func (x *fastReflection_CanSubmitWorkerPayloadResponse) Interface() protoreflect.ProtoMessage { + return (*CanSubmitWorkerPayloadResponse)(x) +} + +// Range iterates over every populated field in an undefined order, +// calling f for each field descriptor and value encountered. +// Range returns immediately if f returns false. +// While iterating, mutating operations may only be performed +// on the current field descriptor. +func (x *fastReflection_CanSubmitWorkerPayloadResponse) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { + if x.CanSubmitWorkerPayload != false { + value := protoreflect.ValueOfBool(x.CanSubmitWorkerPayload) + if !f(fd_CanSubmitWorkerPayloadResponse_can_submit_worker_payload, value) { + return + } + } +} + +// Has reports whether a field is populated. +// +// Some fields have the property of nullability where it is possible to +// distinguish between the default value of a field and whether the field +// was explicitly populated with the default value. Singular message fields, +// member fields of a oneof, and proto2 scalar fields are nullable. Such +// fields are populated only if explicitly set. +// +// In other cases (aside from the nullable cases above), +// a proto3 scalar field is populated if it contains a non-zero value, and +// a repeated field is populated if it is non-empty. +func (x *fastReflection_CanSubmitWorkerPayloadResponse) Has(fd protoreflect.FieldDescriptor) bool { + switch fd.FullName() { + case "emissions.v8.CanSubmitWorkerPayloadResponse.can_submit_worker_payload": + return x.CanSubmitWorkerPayload != false + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.CanSubmitWorkerPayloadResponse")) + } + panic(fmt.Errorf("message emissions.v8.CanSubmitWorkerPayloadResponse does not contain field %s", fd.FullName())) + } +} + +// Clear clears the field such that a subsequent Has call reports false. +// +// Clearing an extension field clears both the extension type and value +// associated with the given field number. +// +// Clear is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_CanSubmitWorkerPayloadResponse) Clear(fd protoreflect.FieldDescriptor) { + switch fd.FullName() { + case "emissions.v8.CanSubmitWorkerPayloadResponse.can_submit_worker_payload": + x.CanSubmitWorkerPayload = false + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.CanSubmitWorkerPayloadResponse")) + } + panic(fmt.Errorf("message emissions.v8.CanSubmitWorkerPayloadResponse does not contain field %s", fd.FullName())) + } +} + +// Get retrieves the value for a field. +// +// For unpopulated scalars, it returns the default value, where +// the default value of a bytes scalar is guaranteed to be a copy. +// For unpopulated composite types, it returns an empty, read-only view +// of the value; to obtain a mutable reference, use Mutable. +func (x *fastReflection_CanSubmitWorkerPayloadResponse) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { + switch descriptor.FullName() { + case "emissions.v8.CanSubmitWorkerPayloadResponse.can_submit_worker_payload": + value := x.CanSubmitWorkerPayload + return protoreflect.ValueOfBool(value) + default: + if descriptor.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.CanSubmitWorkerPayloadResponse")) + } + panic(fmt.Errorf("message emissions.v8.CanSubmitWorkerPayloadResponse does not contain field %s", descriptor.FullName())) + } +} + +// Set stores the value for a field. +// +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType. +// When setting a composite type, it is unspecified whether the stored value +// aliases the source's memory in any way. If the composite value is an +// empty, read-only value, then it panics. +// +// Set is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_CanSubmitWorkerPayloadResponse) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { + switch fd.FullName() { + case "emissions.v8.CanSubmitWorkerPayloadResponse.can_submit_worker_payload": + x.CanSubmitWorkerPayload = value.Bool() + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.CanSubmitWorkerPayloadResponse")) + } + panic(fmt.Errorf("message emissions.v8.CanSubmitWorkerPayloadResponse does not contain field %s", fd.FullName())) + } +} + +// Mutable returns a mutable reference to a composite type. +// +// If the field is unpopulated, it may allocate a composite value. +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType +// if not already stored. +// It panics if the field does not contain a composite type. +// +// Mutable is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_CanSubmitWorkerPayloadResponse) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.CanSubmitWorkerPayloadResponse.can_submit_worker_payload": + panic(fmt.Errorf("field can_submit_worker_payload of message emissions.v8.CanSubmitWorkerPayloadResponse is not mutable")) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.CanSubmitWorkerPayloadResponse")) + } + panic(fmt.Errorf("message emissions.v8.CanSubmitWorkerPayloadResponse does not contain field %s", fd.FullName())) + } +} + +// NewField returns a new value that is assignable to the field +// for the given descriptor. For scalars, this returns the default value. +// For lists, maps, and messages, this returns a new, empty, mutable value. +func (x *fastReflection_CanSubmitWorkerPayloadResponse) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.CanSubmitWorkerPayloadResponse.can_submit_worker_payload": + return protoreflect.ValueOfBool(false) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.CanSubmitWorkerPayloadResponse")) + } + panic(fmt.Errorf("message emissions.v8.CanSubmitWorkerPayloadResponse does not contain field %s", fd.FullName())) + } +} + +// WhichOneof reports which field within the oneof is populated, +// returning nil if none are populated. +// It panics if the oneof descriptor does not belong to this message. +func (x *fastReflection_CanSubmitWorkerPayloadResponse) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { + switch d.FullName() { + default: + panic(fmt.Errorf("%s is not a oneof field in emissions.v8.CanSubmitWorkerPayloadResponse", d.FullName())) + } + panic("unreachable") +} + +// GetUnknown retrieves the entire list of unknown fields. +// The caller may only mutate the contents of the RawFields +// if the mutated bytes are stored back into the message with SetUnknown. +func (x *fastReflection_CanSubmitWorkerPayloadResponse) GetUnknown() protoreflect.RawFields { + return x.unknownFields +} + +// SetUnknown stores an entire list of unknown fields. +// The raw fields must be syntactically valid according to the wire format. +// An implementation may panic if this is not the case. +// Once stored, the caller must not mutate the content of the RawFields. +// An empty RawFields may be passed to clear the fields. +// +// SetUnknown is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_CanSubmitWorkerPayloadResponse) SetUnknown(fields protoreflect.RawFields) { + x.unknownFields = fields +} + +// IsValid reports whether the message is valid. +// +// An invalid message is an empty, read-only value. +// +// An invalid message often corresponds to a nil pointer of the concrete +// message type, but the details are implementation dependent. +// Validity is not part of the protobuf data model, and may not +// be preserved in marshaling or other operations. +func (x *fastReflection_CanSubmitWorkerPayloadResponse) IsValid() bool { + return x != nil +} + +// ProtoMethods returns optional fastReflectionFeature-path implementations of various operations. +// This method may return nil. +// +// The returned methods type is identical to +// "google.golang.org/protobuf/runtime/protoiface".Methods. +// Consult the protoiface package documentation for details. +func (x *fastReflection_CanSubmitWorkerPayloadResponse) ProtoMethods() *protoiface.Methods { + size := func(input protoiface.SizeInput) protoiface.SizeOutput { + x := input.Message.Interface().(*CanSubmitWorkerPayloadResponse) + if x == nil { + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: 0, + } + } + options := runtime.SizeInputToOptions(input) + _ = options + var n int + var l int + _ = l + if x.CanSubmitWorkerPayload { + n += 2 + } + if x.unknownFields != nil { + n += len(x.unknownFields) + } + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: n, + } + } + + marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { + x := input.Message.Interface().(*CanSubmitWorkerPayloadResponse) + if x == nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + options := runtime.MarshalInputToOptions(input) + _ = options + size := options.Size(x) + dAtA := make([]byte, size) + i := len(dAtA) + _ = i + var l int + _ = l + if x.unknownFields != nil { + i -= len(x.unknownFields) + copy(dAtA[i:], x.unknownFields) + } + if x.CanSubmitWorkerPayload { + i-- + if x.CanSubmitWorkerPayload { + dAtA[i] = 1 + } else { + dAtA[i] = 0 + } + i-- + dAtA[i] = 0x8 + } + if input.Buf != nil { + input.Buf = append(input.Buf, dAtA...) + } else { + input.Buf = dAtA + } + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { + x := input.Message.Interface().(*CanSubmitWorkerPayloadResponse) + if x == nil { + return protoiface.UnmarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Flags: input.Flags, + }, nil + } + options := runtime.UnmarshalInputToOptions(input) + _ = options + dAtA := input.Buf + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: CanSubmitWorkerPayloadResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: CanSubmitWorkerPayloadResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field CanSubmitWorkerPayload", wireType) + } + var v int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + x.CanSubmitWorkerPayload = bool(v != 0) + default: + iNdEx = preIndex + skippy, err := runtime.Skip(dAtA[iNdEx:]) + if err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if (iNdEx + skippy) > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + if !options.DiscardUnknown { + x.unknownFields = append(x.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + } + iNdEx += skippy + } + } + + if iNdEx > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, nil + } + return &protoiface.Methods{ + NoUnkeyedLiterals: struct{}{}, + Flags: protoiface.SupportMarshalDeterministic | protoiface.SupportUnmarshalDiscardUnknown, + Size: size, + Marshal: marshal, + Unmarshal: unmarshal, + Merge: nil, + CheckInitialized: nil, + } +} + +var ( + md_CanSubmitReputerPayloadRequest protoreflect.MessageDescriptor + fd_CanSubmitReputerPayloadRequest_topic_id protoreflect.FieldDescriptor + fd_CanSubmitReputerPayloadRequest_address protoreflect.FieldDescriptor +) + +func init() { + file_emissions_v8_query_proto_init() + md_CanSubmitReputerPayloadRequest = File_emissions_v8_query_proto.Messages().ByName("CanSubmitReputerPayloadRequest") + fd_CanSubmitReputerPayloadRequest_topic_id = md_CanSubmitReputerPayloadRequest.Fields().ByName("topic_id") + fd_CanSubmitReputerPayloadRequest_address = md_CanSubmitReputerPayloadRequest.Fields().ByName("address") +} + +var _ protoreflect.Message = (*fastReflection_CanSubmitReputerPayloadRequest)(nil) + +type fastReflection_CanSubmitReputerPayloadRequest CanSubmitReputerPayloadRequest + +func (x *CanSubmitReputerPayloadRequest) ProtoReflect() protoreflect.Message { + return (*fastReflection_CanSubmitReputerPayloadRequest)(x) +} + +func (x *CanSubmitReputerPayloadRequest) slowProtoReflect() protoreflect.Message { + mi := &file_emissions_v8_query_proto_msgTypes[32] + 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) +} + +var _fastReflection_CanSubmitReputerPayloadRequest_messageType fastReflection_CanSubmitReputerPayloadRequest_messageType +var _ protoreflect.MessageType = fastReflection_CanSubmitReputerPayloadRequest_messageType{} + +type fastReflection_CanSubmitReputerPayloadRequest_messageType struct{} + +func (x fastReflection_CanSubmitReputerPayloadRequest_messageType) Zero() protoreflect.Message { + return (*fastReflection_CanSubmitReputerPayloadRequest)(nil) +} +func (x fastReflection_CanSubmitReputerPayloadRequest_messageType) New() protoreflect.Message { + return new(fastReflection_CanSubmitReputerPayloadRequest) +} +func (x fastReflection_CanSubmitReputerPayloadRequest_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_CanSubmitReputerPayloadRequest +} + +// Descriptor returns message descriptor, which contains only the protobuf +// type information for the message. +func (x *fastReflection_CanSubmitReputerPayloadRequest) Descriptor() protoreflect.MessageDescriptor { + return md_CanSubmitReputerPayloadRequest +} + +// Type returns the message type, which encapsulates both Go and protobuf +// type information. If the Go type information is not needed, +// it is recommended that the message descriptor be used instead. +func (x *fastReflection_CanSubmitReputerPayloadRequest) Type() protoreflect.MessageType { + return _fastReflection_CanSubmitReputerPayloadRequest_messageType +} + +// New returns a newly allocated and mutable empty message. +func (x *fastReflection_CanSubmitReputerPayloadRequest) New() protoreflect.Message { + return new(fastReflection_CanSubmitReputerPayloadRequest) +} + +// Interface unwraps the message reflection interface and +// returns the underlying ProtoMessage interface. +func (x *fastReflection_CanSubmitReputerPayloadRequest) Interface() protoreflect.ProtoMessage { + return (*CanSubmitReputerPayloadRequest)(x) +} + +// Range iterates over every populated field in an undefined order, +// calling f for each field descriptor and value encountered. +// Range returns immediately if f returns false. +// While iterating, mutating operations may only be performed +// on the current field descriptor. +func (x *fastReflection_CanSubmitReputerPayloadRequest) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { + if x.TopicId != uint64(0) { + value := protoreflect.ValueOfUint64(x.TopicId) + if !f(fd_CanSubmitReputerPayloadRequest_topic_id, value) { + return + } + } + if x.Address != "" { + value := protoreflect.ValueOfString(x.Address) + if !f(fd_CanSubmitReputerPayloadRequest_address, value) { + return + } + } +} + +// Has reports whether a field is populated. +// +// Some fields have the property of nullability where it is possible to +// distinguish between the default value of a field and whether the field +// was explicitly populated with the default value. Singular message fields, +// member fields of a oneof, and proto2 scalar fields are nullable. Such +// fields are populated only if explicitly set. +// +// In other cases (aside from the nullable cases above), +// a proto3 scalar field is populated if it contains a non-zero value, and +// a repeated field is populated if it is non-empty. +func (x *fastReflection_CanSubmitReputerPayloadRequest) Has(fd protoreflect.FieldDescriptor) bool { + switch fd.FullName() { + case "emissions.v8.CanSubmitReputerPayloadRequest.topic_id": + return x.TopicId != uint64(0) + case "emissions.v8.CanSubmitReputerPayloadRequest.address": + return x.Address != "" + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.CanSubmitReputerPayloadRequest")) + } + panic(fmt.Errorf("message emissions.v8.CanSubmitReputerPayloadRequest does not contain field %s", fd.FullName())) + } +} + +// Clear clears the field such that a subsequent Has call reports false. +// +// Clearing an extension field clears both the extension type and value +// associated with the given field number. +// +// Clear is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_CanSubmitReputerPayloadRequest) Clear(fd protoreflect.FieldDescriptor) { + switch fd.FullName() { + case "emissions.v8.CanSubmitReputerPayloadRequest.topic_id": + x.TopicId = uint64(0) + case "emissions.v8.CanSubmitReputerPayloadRequest.address": + x.Address = "" + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.CanSubmitReputerPayloadRequest")) + } + panic(fmt.Errorf("message emissions.v8.CanSubmitReputerPayloadRequest does not contain field %s", fd.FullName())) + } +} + +// Get retrieves the value for a field. +// +// For unpopulated scalars, it returns the default value, where +// the default value of a bytes scalar is guaranteed to be a copy. +// For unpopulated composite types, it returns an empty, read-only view +// of the value; to obtain a mutable reference, use Mutable. +func (x *fastReflection_CanSubmitReputerPayloadRequest) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { + switch descriptor.FullName() { + case "emissions.v8.CanSubmitReputerPayloadRequest.topic_id": + value := x.TopicId + return protoreflect.ValueOfUint64(value) + case "emissions.v8.CanSubmitReputerPayloadRequest.address": + value := x.Address + return protoreflect.ValueOfString(value) + default: + if descriptor.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.CanSubmitReputerPayloadRequest")) + } + panic(fmt.Errorf("message emissions.v8.CanSubmitReputerPayloadRequest does not contain field %s", descriptor.FullName())) + } +} + +// Set stores the value for a field. +// +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType. +// When setting a composite type, it is unspecified whether the stored value +// aliases the source's memory in any way. If the composite value is an +// empty, read-only value, then it panics. +// +// Set is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_CanSubmitReputerPayloadRequest) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { + switch fd.FullName() { + case "emissions.v8.CanSubmitReputerPayloadRequest.topic_id": + x.TopicId = value.Uint() + case "emissions.v8.CanSubmitReputerPayloadRequest.address": + x.Address = value.Interface().(string) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.CanSubmitReputerPayloadRequest")) + } + panic(fmt.Errorf("message emissions.v8.CanSubmitReputerPayloadRequest does not contain field %s", fd.FullName())) + } +} + +// Mutable returns a mutable reference to a composite type. +// +// If the field is unpopulated, it may allocate a composite value. +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType +// if not already stored. +// It panics if the field does not contain a composite type. +// +// Mutable is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_CanSubmitReputerPayloadRequest) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.CanSubmitReputerPayloadRequest.topic_id": + panic(fmt.Errorf("field topic_id of message emissions.v8.CanSubmitReputerPayloadRequest is not mutable")) + case "emissions.v8.CanSubmitReputerPayloadRequest.address": + panic(fmt.Errorf("field address of message emissions.v8.CanSubmitReputerPayloadRequest is not mutable")) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.CanSubmitReputerPayloadRequest")) + } + panic(fmt.Errorf("message emissions.v8.CanSubmitReputerPayloadRequest does not contain field %s", fd.FullName())) + } +} + +// NewField returns a new value that is assignable to the field +// for the given descriptor. For scalars, this returns the default value. +// For lists, maps, and messages, this returns a new, empty, mutable value. +func (x *fastReflection_CanSubmitReputerPayloadRequest) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.CanSubmitReputerPayloadRequest.topic_id": + return protoreflect.ValueOfUint64(uint64(0)) + case "emissions.v8.CanSubmitReputerPayloadRequest.address": + return protoreflect.ValueOfString("") + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.CanSubmitReputerPayloadRequest")) + } + panic(fmt.Errorf("message emissions.v8.CanSubmitReputerPayloadRequest does not contain field %s", fd.FullName())) + } +} + +// WhichOneof reports which field within the oneof is populated, +// returning nil if none are populated. +// It panics if the oneof descriptor does not belong to this message. +func (x *fastReflection_CanSubmitReputerPayloadRequest) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { + switch d.FullName() { + default: + panic(fmt.Errorf("%s is not a oneof field in emissions.v8.CanSubmitReputerPayloadRequest", d.FullName())) + } + panic("unreachable") +} + +// GetUnknown retrieves the entire list of unknown fields. +// The caller may only mutate the contents of the RawFields +// if the mutated bytes are stored back into the message with SetUnknown. +func (x *fastReflection_CanSubmitReputerPayloadRequest) GetUnknown() protoreflect.RawFields { + return x.unknownFields +} + +// SetUnknown stores an entire list of unknown fields. +// The raw fields must be syntactically valid according to the wire format. +// An implementation may panic if this is not the case. +// Once stored, the caller must not mutate the content of the RawFields. +// An empty RawFields may be passed to clear the fields. +// +// SetUnknown is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_CanSubmitReputerPayloadRequest) SetUnknown(fields protoreflect.RawFields) { + x.unknownFields = fields +} + +// IsValid reports whether the message is valid. +// +// An invalid message is an empty, read-only value. +// +// An invalid message often corresponds to a nil pointer of the concrete +// message type, but the details are implementation dependent. +// Validity is not part of the protobuf data model, and may not +// be preserved in marshaling or other operations. +func (x *fastReflection_CanSubmitReputerPayloadRequest) IsValid() bool { + return x != nil +} + +// ProtoMethods returns optional fastReflectionFeature-path implementations of various operations. +// This method may return nil. +// +// The returned methods type is identical to +// "google.golang.org/protobuf/runtime/protoiface".Methods. +// Consult the protoiface package documentation for details. +func (x *fastReflection_CanSubmitReputerPayloadRequest) ProtoMethods() *protoiface.Methods { + size := func(input protoiface.SizeInput) protoiface.SizeOutput { + x := input.Message.Interface().(*CanSubmitReputerPayloadRequest) + if x == nil { + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: 0, + } + } + options := runtime.SizeInputToOptions(input) + _ = options + var n int + var l int + _ = l + if x.TopicId != 0 { + n += 1 + runtime.Sov(uint64(x.TopicId)) + } + l = len(x.Address) + if l > 0 { + n += 1 + l + runtime.Sov(uint64(l)) + } + if x.unknownFields != nil { + n += len(x.unknownFields) + } + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: n, + } + } + + marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { + x := input.Message.Interface().(*CanSubmitReputerPayloadRequest) + if x == nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + options := runtime.MarshalInputToOptions(input) + _ = options + size := options.Size(x) + dAtA := make([]byte, size) + i := len(dAtA) + _ = i + var l int + _ = l + if x.unknownFields != nil { + i -= len(x.unknownFields) + copy(dAtA[i:], x.unknownFields) + } + if len(x.Address) > 0 { + i -= len(x.Address) + copy(dAtA[i:], x.Address) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.Address))) + i-- + dAtA[i] = 0x12 + } + if x.TopicId != 0 { + i = runtime.EncodeVarint(dAtA, i, uint64(x.TopicId)) + i-- + dAtA[i] = 0x8 + } + if input.Buf != nil { + input.Buf = append(input.Buf, dAtA...) + } else { + input.Buf = dAtA + } + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { + x := input.Message.Interface().(*CanSubmitReputerPayloadRequest) + if x == nil { + return protoiface.UnmarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Flags: input.Flags, + }, nil + } + options := runtime.UnmarshalInputToOptions(input) + _ = options + dAtA := input.Buf + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: CanSubmitReputerPayloadRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: CanSubmitReputerPayloadRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field TopicId", wireType) + } + x.TopicId = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + x.TopicId |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 2: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Address", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + x.Address = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := runtime.Skip(dAtA[iNdEx:]) + if err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if (iNdEx + skippy) > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + if !options.DiscardUnknown { + x.unknownFields = append(x.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + } + iNdEx += skippy + } + } + + if iNdEx > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, nil + } + return &protoiface.Methods{ + NoUnkeyedLiterals: struct{}{}, + Flags: protoiface.SupportMarshalDeterministic | protoiface.SupportUnmarshalDiscardUnknown, + Size: size, + Marshal: marshal, + Unmarshal: unmarshal, + Merge: nil, + CheckInitialized: nil, + } +} + +var ( + md_CanSubmitReputerPayloadResponse protoreflect.MessageDescriptor + fd_CanSubmitReputerPayloadResponse_can_submit_reputer_payload protoreflect.FieldDescriptor +) + +func init() { + file_emissions_v8_query_proto_init() + md_CanSubmitReputerPayloadResponse = File_emissions_v8_query_proto.Messages().ByName("CanSubmitReputerPayloadResponse") + fd_CanSubmitReputerPayloadResponse_can_submit_reputer_payload = md_CanSubmitReputerPayloadResponse.Fields().ByName("can_submit_reputer_payload") +} + +var _ protoreflect.Message = (*fastReflection_CanSubmitReputerPayloadResponse)(nil) + +type fastReflection_CanSubmitReputerPayloadResponse CanSubmitReputerPayloadResponse + +func (x *CanSubmitReputerPayloadResponse) ProtoReflect() protoreflect.Message { + return (*fastReflection_CanSubmitReputerPayloadResponse)(x) +} + +func (x *CanSubmitReputerPayloadResponse) slowProtoReflect() protoreflect.Message { + mi := &file_emissions_v8_query_proto_msgTypes[33] + 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) +} + +var _fastReflection_CanSubmitReputerPayloadResponse_messageType fastReflection_CanSubmitReputerPayloadResponse_messageType +var _ protoreflect.MessageType = fastReflection_CanSubmitReputerPayloadResponse_messageType{} + +type fastReflection_CanSubmitReputerPayloadResponse_messageType struct{} + +func (x fastReflection_CanSubmitReputerPayloadResponse_messageType) Zero() protoreflect.Message { + return (*fastReflection_CanSubmitReputerPayloadResponse)(nil) +} +func (x fastReflection_CanSubmitReputerPayloadResponse_messageType) New() protoreflect.Message { + return new(fastReflection_CanSubmitReputerPayloadResponse) +} +func (x fastReflection_CanSubmitReputerPayloadResponse_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_CanSubmitReputerPayloadResponse +} + +// Descriptor returns message descriptor, which contains only the protobuf +// type information for the message. +func (x *fastReflection_CanSubmitReputerPayloadResponse) Descriptor() protoreflect.MessageDescriptor { + return md_CanSubmitReputerPayloadResponse +} + +// Type returns the message type, which encapsulates both Go and protobuf +// type information. If the Go type information is not needed, +// it is recommended that the message descriptor be used instead. +func (x *fastReflection_CanSubmitReputerPayloadResponse) Type() protoreflect.MessageType { + return _fastReflection_CanSubmitReputerPayloadResponse_messageType +} + +// New returns a newly allocated and mutable empty message. +func (x *fastReflection_CanSubmitReputerPayloadResponse) New() protoreflect.Message { + return new(fastReflection_CanSubmitReputerPayloadResponse) +} + +// Interface unwraps the message reflection interface and +// returns the underlying ProtoMessage interface. +func (x *fastReflection_CanSubmitReputerPayloadResponse) Interface() protoreflect.ProtoMessage { + return (*CanSubmitReputerPayloadResponse)(x) +} + +// Range iterates over every populated field in an undefined order, +// calling f for each field descriptor and value encountered. +// Range returns immediately if f returns false. +// While iterating, mutating operations may only be performed +// on the current field descriptor. +func (x *fastReflection_CanSubmitReputerPayloadResponse) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { + if x.CanSubmitReputerPayload != false { + value := protoreflect.ValueOfBool(x.CanSubmitReputerPayload) + if !f(fd_CanSubmitReputerPayloadResponse_can_submit_reputer_payload, value) { + return + } + } +} + +// Has reports whether a field is populated. +// +// Some fields have the property of nullability where it is possible to +// distinguish between the default value of a field and whether the field +// was explicitly populated with the default value. Singular message fields, +// member fields of a oneof, and proto2 scalar fields are nullable. Such +// fields are populated only if explicitly set. +// +// In other cases (aside from the nullable cases above), +// a proto3 scalar field is populated if it contains a non-zero value, and +// a repeated field is populated if it is non-empty. +func (x *fastReflection_CanSubmitReputerPayloadResponse) Has(fd protoreflect.FieldDescriptor) bool { + switch fd.FullName() { + case "emissions.v8.CanSubmitReputerPayloadResponse.can_submit_reputer_payload": + return x.CanSubmitReputerPayload != false + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.CanSubmitReputerPayloadResponse")) + } + panic(fmt.Errorf("message emissions.v8.CanSubmitReputerPayloadResponse does not contain field %s", fd.FullName())) + } +} + +// Clear clears the field such that a subsequent Has call reports false. +// +// Clearing an extension field clears both the extension type and value +// associated with the given field number. +// +// Clear is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_CanSubmitReputerPayloadResponse) Clear(fd protoreflect.FieldDescriptor) { + switch fd.FullName() { + case "emissions.v8.CanSubmitReputerPayloadResponse.can_submit_reputer_payload": + x.CanSubmitReputerPayload = false + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.CanSubmitReputerPayloadResponse")) + } + panic(fmt.Errorf("message emissions.v8.CanSubmitReputerPayloadResponse does not contain field %s", fd.FullName())) + } +} + +// Get retrieves the value for a field. +// +// For unpopulated scalars, it returns the default value, where +// the default value of a bytes scalar is guaranteed to be a copy. +// For unpopulated composite types, it returns an empty, read-only view +// of the value; to obtain a mutable reference, use Mutable. +func (x *fastReflection_CanSubmitReputerPayloadResponse) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { + switch descriptor.FullName() { + case "emissions.v8.CanSubmitReputerPayloadResponse.can_submit_reputer_payload": + value := x.CanSubmitReputerPayload + return protoreflect.ValueOfBool(value) + default: + if descriptor.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.CanSubmitReputerPayloadResponse")) + } + panic(fmt.Errorf("message emissions.v8.CanSubmitReputerPayloadResponse does not contain field %s", descriptor.FullName())) + } +} + +// Set stores the value for a field. +// +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType. +// When setting a composite type, it is unspecified whether the stored value +// aliases the source's memory in any way. If the composite value is an +// empty, read-only value, then it panics. +// +// Set is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_CanSubmitReputerPayloadResponse) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { + switch fd.FullName() { + case "emissions.v8.CanSubmitReputerPayloadResponse.can_submit_reputer_payload": + x.CanSubmitReputerPayload = value.Bool() + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.CanSubmitReputerPayloadResponse")) + } + panic(fmt.Errorf("message emissions.v8.CanSubmitReputerPayloadResponse does not contain field %s", fd.FullName())) + } +} + +// Mutable returns a mutable reference to a composite type. +// +// If the field is unpopulated, it may allocate a composite value. +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType +// if not already stored. +// It panics if the field does not contain a composite type. +// +// Mutable is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_CanSubmitReputerPayloadResponse) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.CanSubmitReputerPayloadResponse.can_submit_reputer_payload": + panic(fmt.Errorf("field can_submit_reputer_payload of message emissions.v8.CanSubmitReputerPayloadResponse is not mutable")) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.CanSubmitReputerPayloadResponse")) + } + panic(fmt.Errorf("message emissions.v8.CanSubmitReputerPayloadResponse does not contain field %s", fd.FullName())) + } +} + +// NewField returns a new value that is assignable to the field +// for the given descriptor. For scalars, this returns the default value. +// For lists, maps, and messages, this returns a new, empty, mutable value. +func (x *fastReflection_CanSubmitReputerPayloadResponse) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.CanSubmitReputerPayloadResponse.can_submit_reputer_payload": + return protoreflect.ValueOfBool(false) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.CanSubmitReputerPayloadResponse")) + } + panic(fmt.Errorf("message emissions.v8.CanSubmitReputerPayloadResponse does not contain field %s", fd.FullName())) + } +} + +// WhichOneof reports which field within the oneof is populated, +// returning nil if none are populated. +// It panics if the oneof descriptor does not belong to this message. +func (x *fastReflection_CanSubmitReputerPayloadResponse) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { + switch d.FullName() { + default: + panic(fmt.Errorf("%s is not a oneof field in emissions.v8.CanSubmitReputerPayloadResponse", d.FullName())) + } + panic("unreachable") +} + +// GetUnknown retrieves the entire list of unknown fields. +// The caller may only mutate the contents of the RawFields +// if the mutated bytes are stored back into the message with SetUnknown. +func (x *fastReflection_CanSubmitReputerPayloadResponse) GetUnknown() protoreflect.RawFields { + return x.unknownFields +} + +// SetUnknown stores an entire list of unknown fields. +// The raw fields must be syntactically valid according to the wire format. +// An implementation may panic if this is not the case. +// Once stored, the caller must not mutate the content of the RawFields. +// An empty RawFields may be passed to clear the fields. +// +// SetUnknown is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_CanSubmitReputerPayloadResponse) SetUnknown(fields protoreflect.RawFields) { + x.unknownFields = fields +} + +// IsValid reports whether the message is valid. +// +// An invalid message is an empty, read-only value. +// +// An invalid message often corresponds to a nil pointer of the concrete +// message type, but the details are implementation dependent. +// Validity is not part of the protobuf data model, and may not +// be preserved in marshaling or other operations. +func (x *fastReflection_CanSubmitReputerPayloadResponse) IsValid() bool { + return x != nil +} + +// ProtoMethods returns optional fastReflectionFeature-path implementations of various operations. +// This method may return nil. +// +// The returned methods type is identical to +// "google.golang.org/protobuf/runtime/protoiface".Methods. +// Consult the protoiface package documentation for details. +func (x *fastReflection_CanSubmitReputerPayloadResponse) ProtoMethods() *protoiface.Methods { + size := func(input protoiface.SizeInput) protoiface.SizeOutput { + x := input.Message.Interface().(*CanSubmitReputerPayloadResponse) + if x == nil { + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: 0, + } + } + options := runtime.SizeInputToOptions(input) + _ = options + var n int + var l int + _ = l + if x.CanSubmitReputerPayload { + n += 2 + } + if x.unknownFields != nil { + n += len(x.unknownFields) + } + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: n, + } + } + + marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { + x := input.Message.Interface().(*CanSubmitReputerPayloadResponse) + if x == nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + options := runtime.MarshalInputToOptions(input) + _ = options + size := options.Size(x) + dAtA := make([]byte, size) + i := len(dAtA) + _ = i + var l int + _ = l + if x.unknownFields != nil { + i -= len(x.unknownFields) + copy(dAtA[i:], x.unknownFields) + } + if x.CanSubmitReputerPayload { + i-- + if x.CanSubmitReputerPayload { + dAtA[i] = 1 + } else { + dAtA[i] = 0 + } + i-- + dAtA[i] = 0x8 + } + if input.Buf != nil { + input.Buf = append(input.Buf, dAtA...) + } else { + input.Buf = dAtA + } + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { + x := input.Message.Interface().(*CanSubmitReputerPayloadResponse) + if x == nil { + return protoiface.UnmarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Flags: input.Flags, + }, nil + } + options := runtime.UnmarshalInputToOptions(input) + _ = options + dAtA := input.Buf + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: CanSubmitReputerPayloadResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: CanSubmitReputerPayloadResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field CanSubmitReputerPayload", wireType) + } + var v int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + x.CanSubmitReputerPayload = bool(v != 0) + default: + iNdEx = preIndex + skippy, err := runtime.Skip(dAtA[iNdEx:]) + if err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if (iNdEx + skippy) > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + if !options.DiscardUnknown { + x.unknownFields = append(x.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + } + iNdEx += skippy + } + } + + if iNdEx > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, nil + } + return &protoiface.Methods{ + NoUnkeyedLiterals: struct{}{}, + Flags: protoiface.SupportMarshalDeterministic | protoiface.SupportUnmarshalDiscardUnknown, + Size: size, + Marshal: marshal, + Unmarshal: unmarshal, + Merge: nil, + CheckInitialized: nil, + } +} + +var ( + md_GetCountInfererInclusionsInTopicRequest protoreflect.MessageDescriptor + fd_GetCountInfererInclusionsInTopicRequest_topic_id protoreflect.FieldDescriptor + fd_GetCountInfererInclusionsInTopicRequest_inferer protoreflect.FieldDescriptor +) + +func init() { + file_emissions_v8_query_proto_init() + md_GetCountInfererInclusionsInTopicRequest = File_emissions_v8_query_proto.Messages().ByName("GetCountInfererInclusionsInTopicRequest") + fd_GetCountInfererInclusionsInTopicRequest_topic_id = md_GetCountInfererInclusionsInTopicRequest.Fields().ByName("topic_id") + fd_GetCountInfererInclusionsInTopicRequest_inferer = md_GetCountInfererInclusionsInTopicRequest.Fields().ByName("inferer") +} + +var _ protoreflect.Message = (*fastReflection_GetCountInfererInclusionsInTopicRequest)(nil) + +type fastReflection_GetCountInfererInclusionsInTopicRequest GetCountInfererInclusionsInTopicRequest + +func (x *GetCountInfererInclusionsInTopicRequest) ProtoReflect() protoreflect.Message { + return (*fastReflection_GetCountInfererInclusionsInTopicRequest)(x) +} + +func (x *GetCountInfererInclusionsInTopicRequest) slowProtoReflect() protoreflect.Message { + mi := &file_emissions_v8_query_proto_msgTypes[34] + 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) +} + +var _fastReflection_GetCountInfererInclusionsInTopicRequest_messageType fastReflection_GetCountInfererInclusionsInTopicRequest_messageType +var _ protoreflect.MessageType = fastReflection_GetCountInfererInclusionsInTopicRequest_messageType{} + +type fastReflection_GetCountInfererInclusionsInTopicRequest_messageType struct{} + +func (x fastReflection_GetCountInfererInclusionsInTopicRequest_messageType) Zero() protoreflect.Message { + return (*fastReflection_GetCountInfererInclusionsInTopicRequest)(nil) +} +func (x fastReflection_GetCountInfererInclusionsInTopicRequest_messageType) New() protoreflect.Message { + return new(fastReflection_GetCountInfererInclusionsInTopicRequest) +} +func (x fastReflection_GetCountInfererInclusionsInTopicRequest_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_GetCountInfererInclusionsInTopicRequest +} + +// Descriptor returns message descriptor, which contains only the protobuf +// type information for the message. +func (x *fastReflection_GetCountInfererInclusionsInTopicRequest) Descriptor() protoreflect.MessageDescriptor { + return md_GetCountInfererInclusionsInTopicRequest +} + +// Type returns the message type, which encapsulates both Go and protobuf +// type information. If the Go type information is not needed, +// it is recommended that the message descriptor be used instead. +func (x *fastReflection_GetCountInfererInclusionsInTopicRequest) Type() protoreflect.MessageType { + return _fastReflection_GetCountInfererInclusionsInTopicRequest_messageType +} + +// New returns a newly allocated and mutable empty message. +func (x *fastReflection_GetCountInfererInclusionsInTopicRequest) New() protoreflect.Message { + return new(fastReflection_GetCountInfererInclusionsInTopicRequest) +} + +// Interface unwraps the message reflection interface and +// returns the underlying ProtoMessage interface. +func (x *fastReflection_GetCountInfererInclusionsInTopicRequest) Interface() protoreflect.ProtoMessage { + return (*GetCountInfererInclusionsInTopicRequest)(x) +} + +// Range iterates over every populated field in an undefined order, +// calling f for each field descriptor and value encountered. +// Range returns immediately if f returns false. +// While iterating, mutating operations may only be performed +// on the current field descriptor. +func (x *fastReflection_GetCountInfererInclusionsInTopicRequest) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { + if x.TopicId != uint64(0) { + value := protoreflect.ValueOfUint64(x.TopicId) + if !f(fd_GetCountInfererInclusionsInTopicRequest_topic_id, value) { + return + } + } + if x.Inferer != "" { + value := protoreflect.ValueOfString(x.Inferer) + if !f(fd_GetCountInfererInclusionsInTopicRequest_inferer, value) { + return + } + } +} + +// Has reports whether a field is populated. +// +// Some fields have the property of nullability where it is possible to +// distinguish between the default value of a field and whether the field +// was explicitly populated with the default value. Singular message fields, +// member fields of a oneof, and proto2 scalar fields are nullable. Such +// fields are populated only if explicitly set. +// +// In other cases (aside from the nullable cases above), +// a proto3 scalar field is populated if it contains a non-zero value, and +// a repeated field is populated if it is non-empty. +func (x *fastReflection_GetCountInfererInclusionsInTopicRequest) Has(fd protoreflect.FieldDescriptor) bool { + switch fd.FullName() { + case "emissions.v8.GetCountInfererInclusionsInTopicRequest.topic_id": + return x.TopicId != uint64(0) + case "emissions.v8.GetCountInfererInclusionsInTopicRequest.inferer": + return x.Inferer != "" + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetCountInfererInclusionsInTopicRequest")) + } + panic(fmt.Errorf("message emissions.v8.GetCountInfererInclusionsInTopicRequest does not contain field %s", fd.FullName())) + } +} + +// Clear clears the field such that a subsequent Has call reports false. +// +// Clearing an extension field clears both the extension type and value +// associated with the given field number. +// +// Clear is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetCountInfererInclusionsInTopicRequest) Clear(fd protoreflect.FieldDescriptor) { + switch fd.FullName() { + case "emissions.v8.GetCountInfererInclusionsInTopicRequest.topic_id": + x.TopicId = uint64(0) + case "emissions.v8.GetCountInfererInclusionsInTopicRequest.inferer": + x.Inferer = "" + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetCountInfererInclusionsInTopicRequest")) + } + panic(fmt.Errorf("message emissions.v8.GetCountInfererInclusionsInTopicRequest does not contain field %s", fd.FullName())) + } +} + +// Get retrieves the value for a field. +// +// For unpopulated scalars, it returns the default value, where +// the default value of a bytes scalar is guaranteed to be a copy. +// For unpopulated composite types, it returns an empty, read-only view +// of the value; to obtain a mutable reference, use Mutable. +func (x *fastReflection_GetCountInfererInclusionsInTopicRequest) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { + switch descriptor.FullName() { + case "emissions.v8.GetCountInfererInclusionsInTopicRequest.topic_id": + value := x.TopicId + return protoreflect.ValueOfUint64(value) + case "emissions.v8.GetCountInfererInclusionsInTopicRequest.inferer": + value := x.Inferer + return protoreflect.ValueOfString(value) + default: + if descriptor.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetCountInfererInclusionsInTopicRequest")) + } + panic(fmt.Errorf("message emissions.v8.GetCountInfererInclusionsInTopicRequest does not contain field %s", descriptor.FullName())) + } +} + +// Set stores the value for a field. +// +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType. +// When setting a composite type, it is unspecified whether the stored value +// aliases the source's memory in any way. If the composite value is an +// empty, read-only value, then it panics. +// +// Set is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetCountInfererInclusionsInTopicRequest) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { + switch fd.FullName() { + case "emissions.v8.GetCountInfererInclusionsInTopicRequest.topic_id": + x.TopicId = value.Uint() + case "emissions.v8.GetCountInfererInclusionsInTopicRequest.inferer": + x.Inferer = value.Interface().(string) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetCountInfererInclusionsInTopicRequest")) + } + panic(fmt.Errorf("message emissions.v8.GetCountInfererInclusionsInTopicRequest does not contain field %s", fd.FullName())) + } +} + +// Mutable returns a mutable reference to a composite type. +// +// If the field is unpopulated, it may allocate a composite value. +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType +// if not already stored. +// It panics if the field does not contain a composite type. +// +// Mutable is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetCountInfererInclusionsInTopicRequest) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.GetCountInfererInclusionsInTopicRequest.topic_id": + panic(fmt.Errorf("field topic_id of message emissions.v8.GetCountInfererInclusionsInTopicRequest is not mutable")) + case "emissions.v8.GetCountInfererInclusionsInTopicRequest.inferer": + panic(fmt.Errorf("field inferer of message emissions.v8.GetCountInfererInclusionsInTopicRequest is not mutable")) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetCountInfererInclusionsInTopicRequest")) + } + panic(fmt.Errorf("message emissions.v8.GetCountInfererInclusionsInTopicRequest does not contain field %s", fd.FullName())) + } +} + +// NewField returns a new value that is assignable to the field +// for the given descriptor. For scalars, this returns the default value. +// For lists, maps, and messages, this returns a new, empty, mutable value. +func (x *fastReflection_GetCountInfererInclusionsInTopicRequest) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.GetCountInfererInclusionsInTopicRequest.topic_id": + return protoreflect.ValueOfUint64(uint64(0)) + case "emissions.v8.GetCountInfererInclusionsInTopicRequest.inferer": + return protoreflect.ValueOfString("") + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetCountInfererInclusionsInTopicRequest")) + } + panic(fmt.Errorf("message emissions.v8.GetCountInfererInclusionsInTopicRequest does not contain field %s", fd.FullName())) + } +} + +// WhichOneof reports which field within the oneof is populated, +// returning nil if none are populated. +// It panics if the oneof descriptor does not belong to this message. +func (x *fastReflection_GetCountInfererInclusionsInTopicRequest) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { + switch d.FullName() { + default: + panic(fmt.Errorf("%s is not a oneof field in emissions.v8.GetCountInfererInclusionsInTopicRequest", d.FullName())) + } + panic("unreachable") +} + +// GetUnknown retrieves the entire list of unknown fields. +// The caller may only mutate the contents of the RawFields +// if the mutated bytes are stored back into the message with SetUnknown. +func (x *fastReflection_GetCountInfererInclusionsInTopicRequest) GetUnknown() protoreflect.RawFields { + return x.unknownFields +} + +// SetUnknown stores an entire list of unknown fields. +// The raw fields must be syntactically valid according to the wire format. +// An implementation may panic if this is not the case. +// Once stored, the caller must not mutate the content of the RawFields. +// An empty RawFields may be passed to clear the fields. +// +// SetUnknown is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetCountInfererInclusionsInTopicRequest) SetUnknown(fields protoreflect.RawFields) { + x.unknownFields = fields +} + +// IsValid reports whether the message is valid. +// +// An invalid message is an empty, read-only value. +// +// An invalid message often corresponds to a nil pointer of the concrete +// message type, but the details are implementation dependent. +// Validity is not part of the protobuf data model, and may not +// be preserved in marshaling or other operations. +func (x *fastReflection_GetCountInfererInclusionsInTopicRequest) IsValid() bool { + return x != nil +} + +// ProtoMethods returns optional fastReflectionFeature-path implementations of various operations. +// This method may return nil. +// +// The returned methods type is identical to +// "google.golang.org/protobuf/runtime/protoiface".Methods. +// Consult the protoiface package documentation for details. +func (x *fastReflection_GetCountInfererInclusionsInTopicRequest) ProtoMethods() *protoiface.Methods { + size := func(input protoiface.SizeInput) protoiface.SizeOutput { + x := input.Message.Interface().(*GetCountInfererInclusionsInTopicRequest) + if x == nil { + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: 0, + } + } + options := runtime.SizeInputToOptions(input) + _ = options + var n int + var l int + _ = l + if x.TopicId != 0 { + n += 1 + runtime.Sov(uint64(x.TopicId)) + } + l = len(x.Inferer) + if l > 0 { + n += 1 + l + runtime.Sov(uint64(l)) + } + if x.unknownFields != nil { + n += len(x.unknownFields) + } + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: n, + } + } + + marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { + x := input.Message.Interface().(*GetCountInfererInclusionsInTopicRequest) + if x == nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + options := runtime.MarshalInputToOptions(input) + _ = options + size := options.Size(x) + dAtA := make([]byte, size) + i := len(dAtA) + _ = i + var l int + _ = l + if x.unknownFields != nil { + i -= len(x.unknownFields) + copy(dAtA[i:], x.unknownFields) + } + if len(x.Inferer) > 0 { + i -= len(x.Inferer) + copy(dAtA[i:], x.Inferer) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.Inferer))) + i-- + dAtA[i] = 0x12 + } + if x.TopicId != 0 { + i = runtime.EncodeVarint(dAtA, i, uint64(x.TopicId)) + i-- + dAtA[i] = 0x8 + } + if input.Buf != nil { + input.Buf = append(input.Buf, dAtA...) + } else { + input.Buf = dAtA + } + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { + x := input.Message.Interface().(*GetCountInfererInclusionsInTopicRequest) + if x == nil { + return protoiface.UnmarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Flags: input.Flags, + }, nil + } + options := runtime.UnmarshalInputToOptions(input) + _ = options + dAtA := input.Buf + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: GetCountInfererInclusionsInTopicRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: GetCountInfererInclusionsInTopicRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field TopicId", wireType) + } + x.TopicId = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + x.TopicId |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 2: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Inferer", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + x.Inferer = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := runtime.Skip(dAtA[iNdEx:]) + if err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if (iNdEx + skippy) > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + if !options.DiscardUnknown { + x.unknownFields = append(x.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + } + iNdEx += skippy + } + } + + if iNdEx > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, nil + } + return &protoiface.Methods{ + NoUnkeyedLiterals: struct{}{}, + Flags: protoiface.SupportMarshalDeterministic | protoiface.SupportUnmarshalDiscardUnknown, + Size: size, + Marshal: marshal, + Unmarshal: unmarshal, + Merge: nil, + CheckInitialized: nil, + } +} + +var ( + md_GetCountInfererInclusionsInTopicResponse protoreflect.MessageDescriptor + fd_GetCountInfererInclusionsInTopicResponse_count protoreflect.FieldDescriptor +) + +func init() { + file_emissions_v8_query_proto_init() + md_GetCountInfererInclusionsInTopicResponse = File_emissions_v8_query_proto.Messages().ByName("GetCountInfererInclusionsInTopicResponse") + fd_GetCountInfererInclusionsInTopicResponse_count = md_GetCountInfererInclusionsInTopicResponse.Fields().ByName("count") +} + +var _ protoreflect.Message = (*fastReflection_GetCountInfererInclusionsInTopicResponse)(nil) + +type fastReflection_GetCountInfererInclusionsInTopicResponse GetCountInfererInclusionsInTopicResponse + +func (x *GetCountInfererInclusionsInTopicResponse) ProtoReflect() protoreflect.Message { + return (*fastReflection_GetCountInfererInclusionsInTopicResponse)(x) +} + +func (x *GetCountInfererInclusionsInTopicResponse) slowProtoReflect() protoreflect.Message { + mi := &file_emissions_v8_query_proto_msgTypes[35] + 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) +} + +var _fastReflection_GetCountInfererInclusionsInTopicResponse_messageType fastReflection_GetCountInfererInclusionsInTopicResponse_messageType +var _ protoreflect.MessageType = fastReflection_GetCountInfererInclusionsInTopicResponse_messageType{} + +type fastReflection_GetCountInfererInclusionsInTopicResponse_messageType struct{} + +func (x fastReflection_GetCountInfererInclusionsInTopicResponse_messageType) Zero() protoreflect.Message { + return (*fastReflection_GetCountInfererInclusionsInTopicResponse)(nil) +} +func (x fastReflection_GetCountInfererInclusionsInTopicResponse_messageType) New() protoreflect.Message { + return new(fastReflection_GetCountInfererInclusionsInTopicResponse) +} +func (x fastReflection_GetCountInfererInclusionsInTopicResponse_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_GetCountInfererInclusionsInTopicResponse +} + +// Descriptor returns message descriptor, which contains only the protobuf +// type information for the message. +func (x *fastReflection_GetCountInfererInclusionsInTopicResponse) Descriptor() protoreflect.MessageDescriptor { + return md_GetCountInfererInclusionsInTopicResponse +} + +// Type returns the message type, which encapsulates both Go and protobuf +// type information. If the Go type information is not needed, +// it is recommended that the message descriptor be used instead. +func (x *fastReflection_GetCountInfererInclusionsInTopicResponse) Type() protoreflect.MessageType { + return _fastReflection_GetCountInfererInclusionsInTopicResponse_messageType +} + +// New returns a newly allocated and mutable empty message. +func (x *fastReflection_GetCountInfererInclusionsInTopicResponse) New() protoreflect.Message { + return new(fastReflection_GetCountInfererInclusionsInTopicResponse) +} + +// Interface unwraps the message reflection interface and +// returns the underlying ProtoMessage interface. +func (x *fastReflection_GetCountInfererInclusionsInTopicResponse) Interface() protoreflect.ProtoMessage { + return (*GetCountInfererInclusionsInTopicResponse)(x) +} + +// Range iterates over every populated field in an undefined order, +// calling f for each field descriptor and value encountered. +// Range returns immediately if f returns false. +// While iterating, mutating operations may only be performed +// on the current field descriptor. +func (x *fastReflection_GetCountInfererInclusionsInTopicResponse) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { + if x.Count != uint64(0) { + value := protoreflect.ValueOfUint64(x.Count) + if !f(fd_GetCountInfererInclusionsInTopicResponse_count, value) { + return + } + } +} + +// Has reports whether a field is populated. +// +// Some fields have the property of nullability where it is possible to +// distinguish between the default value of a field and whether the field +// was explicitly populated with the default value. Singular message fields, +// member fields of a oneof, and proto2 scalar fields are nullable. Such +// fields are populated only if explicitly set. +// +// In other cases (aside from the nullable cases above), +// a proto3 scalar field is populated if it contains a non-zero value, and +// a repeated field is populated if it is non-empty. +func (x *fastReflection_GetCountInfererInclusionsInTopicResponse) Has(fd protoreflect.FieldDescriptor) bool { + switch fd.FullName() { + case "emissions.v8.GetCountInfererInclusionsInTopicResponse.count": + return x.Count != uint64(0) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetCountInfererInclusionsInTopicResponse")) + } + panic(fmt.Errorf("message emissions.v8.GetCountInfererInclusionsInTopicResponse does not contain field %s", fd.FullName())) + } +} + +// Clear clears the field such that a subsequent Has call reports false. +// +// Clearing an extension field clears both the extension type and value +// associated with the given field number. +// +// Clear is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetCountInfererInclusionsInTopicResponse) Clear(fd protoreflect.FieldDescriptor) { + switch fd.FullName() { + case "emissions.v8.GetCountInfererInclusionsInTopicResponse.count": + x.Count = uint64(0) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetCountInfererInclusionsInTopicResponse")) + } + panic(fmt.Errorf("message emissions.v8.GetCountInfererInclusionsInTopicResponse does not contain field %s", fd.FullName())) + } +} + +// Get retrieves the value for a field. +// +// For unpopulated scalars, it returns the default value, where +// the default value of a bytes scalar is guaranteed to be a copy. +// For unpopulated composite types, it returns an empty, read-only view +// of the value; to obtain a mutable reference, use Mutable. +func (x *fastReflection_GetCountInfererInclusionsInTopicResponse) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { + switch descriptor.FullName() { + case "emissions.v8.GetCountInfererInclusionsInTopicResponse.count": + value := x.Count + return protoreflect.ValueOfUint64(value) + default: + if descriptor.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetCountInfererInclusionsInTopicResponse")) + } + panic(fmt.Errorf("message emissions.v8.GetCountInfererInclusionsInTopicResponse does not contain field %s", descriptor.FullName())) + } +} + +// Set stores the value for a field. +// +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType. +// When setting a composite type, it is unspecified whether the stored value +// aliases the source's memory in any way. If the composite value is an +// empty, read-only value, then it panics. +// +// Set is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetCountInfererInclusionsInTopicResponse) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { + switch fd.FullName() { + case "emissions.v8.GetCountInfererInclusionsInTopicResponse.count": + x.Count = value.Uint() + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetCountInfererInclusionsInTopicResponse")) + } + panic(fmt.Errorf("message emissions.v8.GetCountInfererInclusionsInTopicResponse does not contain field %s", fd.FullName())) + } +} + +// Mutable returns a mutable reference to a composite type. +// +// If the field is unpopulated, it may allocate a composite value. +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType +// if not already stored. +// It panics if the field does not contain a composite type. +// +// Mutable is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetCountInfererInclusionsInTopicResponse) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.GetCountInfererInclusionsInTopicResponse.count": + panic(fmt.Errorf("field count of message emissions.v8.GetCountInfererInclusionsInTopicResponse is not mutable")) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetCountInfererInclusionsInTopicResponse")) + } + panic(fmt.Errorf("message emissions.v8.GetCountInfererInclusionsInTopicResponse does not contain field %s", fd.FullName())) + } +} + +// NewField returns a new value that is assignable to the field +// for the given descriptor. For scalars, this returns the default value. +// For lists, maps, and messages, this returns a new, empty, mutable value. +func (x *fastReflection_GetCountInfererInclusionsInTopicResponse) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.GetCountInfererInclusionsInTopicResponse.count": + return protoreflect.ValueOfUint64(uint64(0)) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetCountInfererInclusionsInTopicResponse")) + } + panic(fmt.Errorf("message emissions.v8.GetCountInfererInclusionsInTopicResponse does not contain field %s", fd.FullName())) + } +} + +// WhichOneof reports which field within the oneof is populated, +// returning nil if none are populated. +// It panics if the oneof descriptor does not belong to this message. +func (x *fastReflection_GetCountInfererInclusionsInTopicResponse) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { + switch d.FullName() { + default: + panic(fmt.Errorf("%s is not a oneof field in emissions.v8.GetCountInfererInclusionsInTopicResponse", d.FullName())) + } + panic("unreachable") +} + +// GetUnknown retrieves the entire list of unknown fields. +// The caller may only mutate the contents of the RawFields +// if the mutated bytes are stored back into the message with SetUnknown. +func (x *fastReflection_GetCountInfererInclusionsInTopicResponse) GetUnknown() protoreflect.RawFields { + return x.unknownFields +} + +// SetUnknown stores an entire list of unknown fields. +// The raw fields must be syntactically valid according to the wire format. +// An implementation may panic if this is not the case. +// Once stored, the caller must not mutate the content of the RawFields. +// An empty RawFields may be passed to clear the fields. +// +// SetUnknown is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetCountInfererInclusionsInTopicResponse) SetUnknown(fields protoreflect.RawFields) { + x.unknownFields = fields +} + +// IsValid reports whether the message is valid. +// +// An invalid message is an empty, read-only value. +// +// An invalid message often corresponds to a nil pointer of the concrete +// message type, but the details are implementation dependent. +// Validity is not part of the protobuf data model, and may not +// be preserved in marshaling or other operations. +func (x *fastReflection_GetCountInfererInclusionsInTopicResponse) IsValid() bool { + return x != nil +} + +// ProtoMethods returns optional fastReflectionFeature-path implementations of various operations. +// This method may return nil. +// +// The returned methods type is identical to +// "google.golang.org/protobuf/runtime/protoiface".Methods. +// Consult the protoiface package documentation for details. +func (x *fastReflection_GetCountInfererInclusionsInTopicResponse) ProtoMethods() *protoiface.Methods { + size := func(input protoiface.SizeInput) protoiface.SizeOutput { + x := input.Message.Interface().(*GetCountInfererInclusionsInTopicResponse) + if x == nil { + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: 0, + } + } + options := runtime.SizeInputToOptions(input) + _ = options + var n int + var l int + _ = l + if x.Count != 0 { + n += 1 + runtime.Sov(uint64(x.Count)) + } + if x.unknownFields != nil { + n += len(x.unknownFields) + } + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: n, + } + } + + marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { + x := input.Message.Interface().(*GetCountInfererInclusionsInTopicResponse) + if x == nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + options := runtime.MarshalInputToOptions(input) + _ = options + size := options.Size(x) + dAtA := make([]byte, size) + i := len(dAtA) + _ = i + var l int + _ = l + if x.unknownFields != nil { + i -= len(x.unknownFields) + copy(dAtA[i:], x.unknownFields) + } + if x.Count != 0 { + i = runtime.EncodeVarint(dAtA, i, uint64(x.Count)) + i-- + dAtA[i] = 0x8 + } + if input.Buf != nil { + input.Buf = append(input.Buf, dAtA...) + } else { + input.Buf = dAtA + } + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { + x := input.Message.Interface().(*GetCountInfererInclusionsInTopicResponse) + if x == nil { + return protoiface.UnmarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Flags: input.Flags, + }, nil + } + options := runtime.UnmarshalInputToOptions(input) + _ = options + dAtA := input.Buf + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: GetCountInfererInclusionsInTopicResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: GetCountInfererInclusionsInTopicResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Count", wireType) + } + x.Count = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + x.Count |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + default: + iNdEx = preIndex + skippy, err := runtime.Skip(dAtA[iNdEx:]) + if err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if (iNdEx + skippy) > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + if !options.DiscardUnknown { + x.unknownFields = append(x.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + } + iNdEx += skippy + } + } + + if iNdEx > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, nil + } + return &protoiface.Methods{ + NoUnkeyedLiterals: struct{}{}, + Flags: protoiface.SupportMarshalDeterministic | protoiface.SupportUnmarshalDiscardUnknown, + Size: size, + Marshal: marshal, + Unmarshal: unmarshal, + Merge: nil, + CheckInitialized: nil, + } +} + +var ( + md_GetCountForecasterInclusionsInTopicRequest protoreflect.MessageDescriptor + fd_GetCountForecasterInclusionsInTopicRequest_topic_id protoreflect.FieldDescriptor + fd_GetCountForecasterInclusionsInTopicRequest_forecaster protoreflect.FieldDescriptor +) + +func init() { + file_emissions_v8_query_proto_init() + md_GetCountForecasterInclusionsInTopicRequest = File_emissions_v8_query_proto.Messages().ByName("GetCountForecasterInclusionsInTopicRequest") + fd_GetCountForecasterInclusionsInTopicRequest_topic_id = md_GetCountForecasterInclusionsInTopicRequest.Fields().ByName("topic_id") + fd_GetCountForecasterInclusionsInTopicRequest_forecaster = md_GetCountForecasterInclusionsInTopicRequest.Fields().ByName("forecaster") +} + +var _ protoreflect.Message = (*fastReflection_GetCountForecasterInclusionsInTopicRequest)(nil) + +type fastReflection_GetCountForecasterInclusionsInTopicRequest GetCountForecasterInclusionsInTopicRequest + +func (x *GetCountForecasterInclusionsInTopicRequest) ProtoReflect() protoreflect.Message { + return (*fastReflection_GetCountForecasterInclusionsInTopicRequest)(x) +} + +func (x *GetCountForecasterInclusionsInTopicRequest) slowProtoReflect() protoreflect.Message { + mi := &file_emissions_v8_query_proto_msgTypes[36] + 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) +} + +var _fastReflection_GetCountForecasterInclusionsInTopicRequest_messageType fastReflection_GetCountForecasterInclusionsInTopicRequest_messageType +var _ protoreflect.MessageType = fastReflection_GetCountForecasterInclusionsInTopicRequest_messageType{} + +type fastReflection_GetCountForecasterInclusionsInTopicRequest_messageType struct{} + +func (x fastReflection_GetCountForecasterInclusionsInTopicRequest_messageType) Zero() protoreflect.Message { + return (*fastReflection_GetCountForecasterInclusionsInTopicRequest)(nil) +} +func (x fastReflection_GetCountForecasterInclusionsInTopicRequest_messageType) New() protoreflect.Message { + return new(fastReflection_GetCountForecasterInclusionsInTopicRequest) +} +func (x fastReflection_GetCountForecasterInclusionsInTopicRequest_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_GetCountForecasterInclusionsInTopicRequest +} + +// Descriptor returns message descriptor, which contains only the protobuf +// type information for the message. +func (x *fastReflection_GetCountForecasterInclusionsInTopicRequest) Descriptor() protoreflect.MessageDescriptor { + return md_GetCountForecasterInclusionsInTopicRequest +} + +// Type returns the message type, which encapsulates both Go and protobuf +// type information. If the Go type information is not needed, +// it is recommended that the message descriptor be used instead. +func (x *fastReflection_GetCountForecasterInclusionsInTopicRequest) Type() protoreflect.MessageType { + return _fastReflection_GetCountForecasterInclusionsInTopicRequest_messageType +} + +// New returns a newly allocated and mutable empty message. +func (x *fastReflection_GetCountForecasterInclusionsInTopicRequest) New() protoreflect.Message { + return new(fastReflection_GetCountForecasterInclusionsInTopicRequest) +} + +// Interface unwraps the message reflection interface and +// returns the underlying ProtoMessage interface. +func (x *fastReflection_GetCountForecasterInclusionsInTopicRequest) Interface() protoreflect.ProtoMessage { + return (*GetCountForecasterInclusionsInTopicRequest)(x) +} + +// Range iterates over every populated field in an undefined order, +// calling f for each field descriptor and value encountered. +// Range returns immediately if f returns false. +// While iterating, mutating operations may only be performed +// on the current field descriptor. +func (x *fastReflection_GetCountForecasterInclusionsInTopicRequest) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { + if x.TopicId != uint64(0) { + value := protoreflect.ValueOfUint64(x.TopicId) + if !f(fd_GetCountForecasterInclusionsInTopicRequest_topic_id, value) { + return + } + } + if x.Forecaster != "" { + value := protoreflect.ValueOfString(x.Forecaster) + if !f(fd_GetCountForecasterInclusionsInTopicRequest_forecaster, value) { + return + } + } +} + +// Has reports whether a field is populated. +// +// Some fields have the property of nullability where it is possible to +// distinguish between the default value of a field and whether the field +// was explicitly populated with the default value. Singular message fields, +// member fields of a oneof, and proto2 scalar fields are nullable. Such +// fields are populated only if explicitly set. +// +// In other cases (aside from the nullable cases above), +// a proto3 scalar field is populated if it contains a non-zero value, and +// a repeated field is populated if it is non-empty. +func (x *fastReflection_GetCountForecasterInclusionsInTopicRequest) Has(fd protoreflect.FieldDescriptor) bool { + switch fd.FullName() { + case "emissions.v8.GetCountForecasterInclusionsInTopicRequest.topic_id": + return x.TopicId != uint64(0) + case "emissions.v8.GetCountForecasterInclusionsInTopicRequest.forecaster": + return x.Forecaster != "" + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetCountForecasterInclusionsInTopicRequest")) + } + panic(fmt.Errorf("message emissions.v8.GetCountForecasterInclusionsInTopicRequest does not contain field %s", fd.FullName())) + } +} + +// Clear clears the field such that a subsequent Has call reports false. +// +// Clearing an extension field clears both the extension type and value +// associated with the given field number. +// +// Clear is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetCountForecasterInclusionsInTopicRequest) Clear(fd protoreflect.FieldDescriptor) { + switch fd.FullName() { + case "emissions.v8.GetCountForecasterInclusionsInTopicRequest.topic_id": + x.TopicId = uint64(0) + case "emissions.v8.GetCountForecasterInclusionsInTopicRequest.forecaster": + x.Forecaster = "" + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetCountForecasterInclusionsInTopicRequest")) + } + panic(fmt.Errorf("message emissions.v8.GetCountForecasterInclusionsInTopicRequest does not contain field %s", fd.FullName())) + } +} + +// Get retrieves the value for a field. +// +// For unpopulated scalars, it returns the default value, where +// the default value of a bytes scalar is guaranteed to be a copy. +// For unpopulated composite types, it returns an empty, read-only view +// of the value; to obtain a mutable reference, use Mutable. +func (x *fastReflection_GetCountForecasterInclusionsInTopicRequest) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { + switch descriptor.FullName() { + case "emissions.v8.GetCountForecasterInclusionsInTopicRequest.topic_id": + value := x.TopicId + return protoreflect.ValueOfUint64(value) + case "emissions.v8.GetCountForecasterInclusionsInTopicRequest.forecaster": + value := x.Forecaster + return protoreflect.ValueOfString(value) + default: + if descriptor.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetCountForecasterInclusionsInTopicRequest")) + } + panic(fmt.Errorf("message emissions.v8.GetCountForecasterInclusionsInTopicRequest does not contain field %s", descriptor.FullName())) + } +} + +// Set stores the value for a field. +// +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType. +// When setting a composite type, it is unspecified whether the stored value +// aliases the source's memory in any way. If the composite value is an +// empty, read-only value, then it panics. +// +// Set is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetCountForecasterInclusionsInTopicRequest) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { + switch fd.FullName() { + case "emissions.v8.GetCountForecasterInclusionsInTopicRequest.topic_id": + x.TopicId = value.Uint() + case "emissions.v8.GetCountForecasterInclusionsInTopicRequest.forecaster": + x.Forecaster = value.Interface().(string) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetCountForecasterInclusionsInTopicRequest")) + } + panic(fmt.Errorf("message emissions.v8.GetCountForecasterInclusionsInTopicRequest does not contain field %s", fd.FullName())) + } +} + +// Mutable returns a mutable reference to a composite type. +// +// If the field is unpopulated, it may allocate a composite value. +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType +// if not already stored. +// It panics if the field does not contain a composite type. +// +// Mutable is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetCountForecasterInclusionsInTopicRequest) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.GetCountForecasterInclusionsInTopicRequest.topic_id": + panic(fmt.Errorf("field topic_id of message emissions.v8.GetCountForecasterInclusionsInTopicRequest is not mutable")) + case "emissions.v8.GetCountForecasterInclusionsInTopicRequest.forecaster": + panic(fmt.Errorf("field forecaster of message emissions.v8.GetCountForecasterInclusionsInTopicRequest is not mutable")) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetCountForecasterInclusionsInTopicRequest")) + } + panic(fmt.Errorf("message emissions.v8.GetCountForecasterInclusionsInTopicRequest does not contain field %s", fd.FullName())) + } +} + +// NewField returns a new value that is assignable to the field +// for the given descriptor. For scalars, this returns the default value. +// For lists, maps, and messages, this returns a new, empty, mutable value. +func (x *fastReflection_GetCountForecasterInclusionsInTopicRequest) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.GetCountForecasterInclusionsInTopicRequest.topic_id": + return protoreflect.ValueOfUint64(uint64(0)) + case "emissions.v8.GetCountForecasterInclusionsInTopicRequest.forecaster": + return protoreflect.ValueOfString("") + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetCountForecasterInclusionsInTopicRequest")) + } + panic(fmt.Errorf("message emissions.v8.GetCountForecasterInclusionsInTopicRequest does not contain field %s", fd.FullName())) + } +} + +// WhichOneof reports which field within the oneof is populated, +// returning nil if none are populated. +// It panics if the oneof descriptor does not belong to this message. +func (x *fastReflection_GetCountForecasterInclusionsInTopicRequest) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { + switch d.FullName() { + default: + panic(fmt.Errorf("%s is not a oneof field in emissions.v8.GetCountForecasterInclusionsInTopicRequest", d.FullName())) + } + panic("unreachable") +} + +// GetUnknown retrieves the entire list of unknown fields. +// The caller may only mutate the contents of the RawFields +// if the mutated bytes are stored back into the message with SetUnknown. +func (x *fastReflection_GetCountForecasterInclusionsInTopicRequest) GetUnknown() protoreflect.RawFields { + return x.unknownFields +} + +// SetUnknown stores an entire list of unknown fields. +// The raw fields must be syntactically valid according to the wire format. +// An implementation may panic if this is not the case. +// Once stored, the caller must not mutate the content of the RawFields. +// An empty RawFields may be passed to clear the fields. +// +// SetUnknown is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetCountForecasterInclusionsInTopicRequest) SetUnknown(fields protoreflect.RawFields) { + x.unknownFields = fields +} + +// IsValid reports whether the message is valid. +// +// An invalid message is an empty, read-only value. +// +// An invalid message often corresponds to a nil pointer of the concrete +// message type, but the details are implementation dependent. +// Validity is not part of the protobuf data model, and may not +// be preserved in marshaling or other operations. +func (x *fastReflection_GetCountForecasterInclusionsInTopicRequest) IsValid() bool { + return x != nil +} + +// ProtoMethods returns optional fastReflectionFeature-path implementations of various operations. +// This method may return nil. +// +// The returned methods type is identical to +// "google.golang.org/protobuf/runtime/protoiface".Methods. +// Consult the protoiface package documentation for details. +func (x *fastReflection_GetCountForecasterInclusionsInTopicRequest) ProtoMethods() *protoiface.Methods { + size := func(input protoiface.SizeInput) protoiface.SizeOutput { + x := input.Message.Interface().(*GetCountForecasterInclusionsInTopicRequest) + if x == nil { + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: 0, + } + } + options := runtime.SizeInputToOptions(input) + _ = options + var n int + var l int + _ = l + if x.TopicId != 0 { + n += 1 + runtime.Sov(uint64(x.TopicId)) + } + l = len(x.Forecaster) + if l > 0 { + n += 1 + l + runtime.Sov(uint64(l)) + } + if x.unknownFields != nil { + n += len(x.unknownFields) + } + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: n, + } + } + + marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { + x := input.Message.Interface().(*GetCountForecasterInclusionsInTopicRequest) + if x == nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + options := runtime.MarshalInputToOptions(input) + _ = options + size := options.Size(x) + dAtA := make([]byte, size) + i := len(dAtA) + _ = i + var l int + _ = l + if x.unknownFields != nil { + i -= len(x.unknownFields) + copy(dAtA[i:], x.unknownFields) + } + if len(x.Forecaster) > 0 { + i -= len(x.Forecaster) + copy(dAtA[i:], x.Forecaster) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.Forecaster))) + i-- + dAtA[i] = 0x12 + } + if x.TopicId != 0 { + i = runtime.EncodeVarint(dAtA, i, uint64(x.TopicId)) + i-- + dAtA[i] = 0x8 + } + if input.Buf != nil { + input.Buf = append(input.Buf, dAtA...) + } else { + input.Buf = dAtA + } + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { + x := input.Message.Interface().(*GetCountForecasterInclusionsInTopicRequest) + if x == nil { + return protoiface.UnmarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Flags: input.Flags, + }, nil + } + options := runtime.UnmarshalInputToOptions(input) + _ = options + dAtA := input.Buf + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: GetCountForecasterInclusionsInTopicRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: GetCountForecasterInclusionsInTopicRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field TopicId", wireType) + } + x.TopicId = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + x.TopicId |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 2: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Forecaster", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + x.Forecaster = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := runtime.Skip(dAtA[iNdEx:]) + if err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if (iNdEx + skippy) > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + if !options.DiscardUnknown { + x.unknownFields = append(x.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + } + iNdEx += skippy + } + } + + if iNdEx > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, nil + } + return &protoiface.Methods{ + NoUnkeyedLiterals: struct{}{}, + Flags: protoiface.SupportMarshalDeterministic | protoiface.SupportUnmarshalDiscardUnknown, + Size: size, + Marshal: marshal, + Unmarshal: unmarshal, + Merge: nil, + CheckInitialized: nil, + } +} + +var ( + md_GetCountForecasterInclusionsInTopicResponse protoreflect.MessageDescriptor + fd_GetCountForecasterInclusionsInTopicResponse_count protoreflect.FieldDescriptor +) + +func init() { + file_emissions_v8_query_proto_init() + md_GetCountForecasterInclusionsInTopicResponse = File_emissions_v8_query_proto.Messages().ByName("GetCountForecasterInclusionsInTopicResponse") + fd_GetCountForecasterInclusionsInTopicResponse_count = md_GetCountForecasterInclusionsInTopicResponse.Fields().ByName("count") +} + +var _ protoreflect.Message = (*fastReflection_GetCountForecasterInclusionsInTopicResponse)(nil) + +type fastReflection_GetCountForecasterInclusionsInTopicResponse GetCountForecasterInclusionsInTopicResponse + +func (x *GetCountForecasterInclusionsInTopicResponse) ProtoReflect() protoreflect.Message { + return (*fastReflection_GetCountForecasterInclusionsInTopicResponse)(x) +} + +func (x *GetCountForecasterInclusionsInTopicResponse) slowProtoReflect() protoreflect.Message { + mi := &file_emissions_v8_query_proto_msgTypes[37] + 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) +} + +var _fastReflection_GetCountForecasterInclusionsInTopicResponse_messageType fastReflection_GetCountForecasterInclusionsInTopicResponse_messageType +var _ protoreflect.MessageType = fastReflection_GetCountForecasterInclusionsInTopicResponse_messageType{} + +type fastReflection_GetCountForecasterInclusionsInTopicResponse_messageType struct{} + +func (x fastReflection_GetCountForecasterInclusionsInTopicResponse_messageType) Zero() protoreflect.Message { + return (*fastReflection_GetCountForecasterInclusionsInTopicResponse)(nil) +} +func (x fastReflection_GetCountForecasterInclusionsInTopicResponse_messageType) New() protoreflect.Message { + return new(fastReflection_GetCountForecasterInclusionsInTopicResponse) +} +func (x fastReflection_GetCountForecasterInclusionsInTopicResponse_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_GetCountForecasterInclusionsInTopicResponse +} + +// Descriptor returns message descriptor, which contains only the protobuf +// type information for the message. +func (x *fastReflection_GetCountForecasterInclusionsInTopicResponse) Descriptor() protoreflect.MessageDescriptor { + return md_GetCountForecasterInclusionsInTopicResponse +} + +// Type returns the message type, which encapsulates both Go and protobuf +// type information. If the Go type information is not needed, +// it is recommended that the message descriptor be used instead. +func (x *fastReflection_GetCountForecasterInclusionsInTopicResponse) Type() protoreflect.MessageType { + return _fastReflection_GetCountForecasterInclusionsInTopicResponse_messageType +} + +// New returns a newly allocated and mutable empty message. +func (x *fastReflection_GetCountForecasterInclusionsInTopicResponse) New() protoreflect.Message { + return new(fastReflection_GetCountForecasterInclusionsInTopicResponse) +} + +// Interface unwraps the message reflection interface and +// returns the underlying ProtoMessage interface. +func (x *fastReflection_GetCountForecasterInclusionsInTopicResponse) Interface() protoreflect.ProtoMessage { + return (*GetCountForecasterInclusionsInTopicResponse)(x) +} + +// Range iterates over every populated field in an undefined order, +// calling f for each field descriptor and value encountered. +// Range returns immediately if f returns false. +// While iterating, mutating operations may only be performed +// on the current field descriptor. +func (x *fastReflection_GetCountForecasterInclusionsInTopicResponse) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { + if x.Count != uint64(0) { + value := protoreflect.ValueOfUint64(x.Count) + if !f(fd_GetCountForecasterInclusionsInTopicResponse_count, value) { + return + } + } +} + +// Has reports whether a field is populated. +// +// Some fields have the property of nullability where it is possible to +// distinguish between the default value of a field and whether the field +// was explicitly populated with the default value. Singular message fields, +// member fields of a oneof, and proto2 scalar fields are nullable. Such +// fields are populated only if explicitly set. +// +// In other cases (aside from the nullable cases above), +// a proto3 scalar field is populated if it contains a non-zero value, and +// a repeated field is populated if it is non-empty. +func (x *fastReflection_GetCountForecasterInclusionsInTopicResponse) Has(fd protoreflect.FieldDescriptor) bool { + switch fd.FullName() { + case "emissions.v8.GetCountForecasterInclusionsInTopicResponse.count": + return x.Count != uint64(0) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetCountForecasterInclusionsInTopicResponse")) + } + panic(fmt.Errorf("message emissions.v8.GetCountForecasterInclusionsInTopicResponse does not contain field %s", fd.FullName())) + } +} + +// Clear clears the field such that a subsequent Has call reports false. +// +// Clearing an extension field clears both the extension type and value +// associated with the given field number. +// +// Clear is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetCountForecasterInclusionsInTopicResponse) Clear(fd protoreflect.FieldDescriptor) { + switch fd.FullName() { + case "emissions.v8.GetCountForecasterInclusionsInTopicResponse.count": + x.Count = uint64(0) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetCountForecasterInclusionsInTopicResponse")) + } + panic(fmt.Errorf("message emissions.v8.GetCountForecasterInclusionsInTopicResponse does not contain field %s", fd.FullName())) + } +} + +// Get retrieves the value for a field. +// +// For unpopulated scalars, it returns the default value, where +// the default value of a bytes scalar is guaranteed to be a copy. +// For unpopulated composite types, it returns an empty, read-only view +// of the value; to obtain a mutable reference, use Mutable. +func (x *fastReflection_GetCountForecasterInclusionsInTopicResponse) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { + switch descriptor.FullName() { + case "emissions.v8.GetCountForecasterInclusionsInTopicResponse.count": + value := x.Count + return protoreflect.ValueOfUint64(value) + default: + if descriptor.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetCountForecasterInclusionsInTopicResponse")) + } + panic(fmt.Errorf("message emissions.v8.GetCountForecasterInclusionsInTopicResponse does not contain field %s", descriptor.FullName())) + } +} + +// Set stores the value for a field. +// +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType. +// When setting a composite type, it is unspecified whether the stored value +// aliases the source's memory in any way. If the composite value is an +// empty, read-only value, then it panics. +// +// Set is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetCountForecasterInclusionsInTopicResponse) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { + switch fd.FullName() { + case "emissions.v8.GetCountForecasterInclusionsInTopicResponse.count": + x.Count = value.Uint() + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetCountForecasterInclusionsInTopicResponse")) + } + panic(fmt.Errorf("message emissions.v8.GetCountForecasterInclusionsInTopicResponse does not contain field %s", fd.FullName())) + } +} + +// Mutable returns a mutable reference to a composite type. +// +// If the field is unpopulated, it may allocate a composite value. +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType +// if not already stored. +// It panics if the field does not contain a composite type. +// +// Mutable is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetCountForecasterInclusionsInTopicResponse) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.GetCountForecasterInclusionsInTopicResponse.count": + panic(fmt.Errorf("field count of message emissions.v8.GetCountForecasterInclusionsInTopicResponse is not mutable")) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetCountForecasterInclusionsInTopicResponse")) + } + panic(fmt.Errorf("message emissions.v8.GetCountForecasterInclusionsInTopicResponse does not contain field %s", fd.FullName())) + } +} + +// NewField returns a new value that is assignable to the field +// for the given descriptor. For scalars, this returns the default value. +// For lists, maps, and messages, this returns a new, empty, mutable value. +func (x *fastReflection_GetCountForecasterInclusionsInTopicResponse) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.GetCountForecasterInclusionsInTopicResponse.count": + return protoreflect.ValueOfUint64(uint64(0)) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetCountForecasterInclusionsInTopicResponse")) + } + panic(fmt.Errorf("message emissions.v8.GetCountForecasterInclusionsInTopicResponse does not contain field %s", fd.FullName())) + } +} + +// WhichOneof reports which field within the oneof is populated, +// returning nil if none are populated. +// It panics if the oneof descriptor does not belong to this message. +func (x *fastReflection_GetCountForecasterInclusionsInTopicResponse) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { + switch d.FullName() { + default: + panic(fmt.Errorf("%s is not a oneof field in emissions.v8.GetCountForecasterInclusionsInTopicResponse", d.FullName())) + } + panic("unreachable") +} + +// GetUnknown retrieves the entire list of unknown fields. +// The caller may only mutate the contents of the RawFields +// if the mutated bytes are stored back into the message with SetUnknown. +func (x *fastReflection_GetCountForecasterInclusionsInTopicResponse) GetUnknown() protoreflect.RawFields { + return x.unknownFields +} + +// SetUnknown stores an entire list of unknown fields. +// The raw fields must be syntactically valid according to the wire format. +// An implementation may panic if this is not the case. +// Once stored, the caller must not mutate the content of the RawFields. +// An empty RawFields may be passed to clear the fields. +// +// SetUnknown is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetCountForecasterInclusionsInTopicResponse) SetUnknown(fields protoreflect.RawFields) { + x.unknownFields = fields +} + +// IsValid reports whether the message is valid. +// +// An invalid message is an empty, read-only value. +// +// An invalid message often corresponds to a nil pointer of the concrete +// message type, but the details are implementation dependent. +// Validity is not part of the protobuf data model, and may not +// be preserved in marshaling or other operations. +func (x *fastReflection_GetCountForecasterInclusionsInTopicResponse) IsValid() bool { + return x != nil +} + +// ProtoMethods returns optional fastReflectionFeature-path implementations of various operations. +// This method may return nil. +// +// The returned methods type is identical to +// "google.golang.org/protobuf/runtime/protoiface".Methods. +// Consult the protoiface package documentation for details. +func (x *fastReflection_GetCountForecasterInclusionsInTopicResponse) ProtoMethods() *protoiface.Methods { + size := func(input protoiface.SizeInput) protoiface.SizeOutput { + x := input.Message.Interface().(*GetCountForecasterInclusionsInTopicResponse) + if x == nil { + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: 0, + } + } + options := runtime.SizeInputToOptions(input) + _ = options + var n int + var l int + _ = l + if x.Count != 0 { + n += 1 + runtime.Sov(uint64(x.Count)) + } + if x.unknownFields != nil { + n += len(x.unknownFields) + } + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: n, + } + } + + marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { + x := input.Message.Interface().(*GetCountForecasterInclusionsInTopicResponse) + if x == nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + options := runtime.MarshalInputToOptions(input) + _ = options + size := options.Size(x) + dAtA := make([]byte, size) + i := len(dAtA) + _ = i + var l int + _ = l + if x.unknownFields != nil { + i -= len(x.unknownFields) + copy(dAtA[i:], x.unknownFields) + } + if x.Count != 0 { + i = runtime.EncodeVarint(dAtA, i, uint64(x.Count)) + i-- + dAtA[i] = 0x8 + } + if input.Buf != nil { + input.Buf = append(input.Buf, dAtA...) + } else { + input.Buf = dAtA + } + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { + x := input.Message.Interface().(*GetCountForecasterInclusionsInTopicResponse) + if x == nil { + return protoiface.UnmarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Flags: input.Flags, + }, nil + } + options := runtime.UnmarshalInputToOptions(input) + _ = options + dAtA := input.Buf + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: GetCountForecasterInclusionsInTopicResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: GetCountForecasterInclusionsInTopicResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Count", wireType) + } + x.Count = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + x.Count |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + default: + iNdEx = preIndex + skippy, err := runtime.Skip(dAtA[iNdEx:]) + if err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if (iNdEx + skippy) > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + if !options.DiscardUnknown { + x.unknownFields = append(x.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + } + iNdEx += skippy + } + } + + if iNdEx > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, nil + } + return &protoiface.Methods{ + NoUnkeyedLiterals: struct{}{}, + Flags: protoiface.SupportMarshalDeterministic | protoiface.SupportUnmarshalDiscardUnknown, + Size: size, + Marshal: marshal, + Unmarshal: unmarshal, + Merge: nil, + CheckInitialized: nil, + } +} + +var ( + md_GetNaiveInfererNetworkRegretRequest protoreflect.MessageDescriptor + fd_GetNaiveInfererNetworkRegretRequest_topic_id protoreflect.FieldDescriptor + fd_GetNaiveInfererNetworkRegretRequest_inferer protoreflect.FieldDescriptor +) + +func init() { + file_emissions_v8_query_proto_init() + md_GetNaiveInfererNetworkRegretRequest = File_emissions_v8_query_proto.Messages().ByName("GetNaiveInfererNetworkRegretRequest") + fd_GetNaiveInfererNetworkRegretRequest_topic_id = md_GetNaiveInfererNetworkRegretRequest.Fields().ByName("topic_id") + fd_GetNaiveInfererNetworkRegretRequest_inferer = md_GetNaiveInfererNetworkRegretRequest.Fields().ByName("inferer") +} + +var _ protoreflect.Message = (*fastReflection_GetNaiveInfererNetworkRegretRequest)(nil) + +type fastReflection_GetNaiveInfererNetworkRegretRequest GetNaiveInfererNetworkRegretRequest + +func (x *GetNaiveInfererNetworkRegretRequest) ProtoReflect() protoreflect.Message { + return (*fastReflection_GetNaiveInfererNetworkRegretRequest)(x) +} + +func (x *GetNaiveInfererNetworkRegretRequest) slowProtoReflect() protoreflect.Message { + mi := &file_emissions_v8_query_proto_msgTypes[38] + 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) +} + +var _fastReflection_GetNaiveInfererNetworkRegretRequest_messageType fastReflection_GetNaiveInfererNetworkRegretRequest_messageType +var _ protoreflect.MessageType = fastReflection_GetNaiveInfererNetworkRegretRequest_messageType{} + +type fastReflection_GetNaiveInfererNetworkRegretRequest_messageType struct{} + +func (x fastReflection_GetNaiveInfererNetworkRegretRequest_messageType) Zero() protoreflect.Message { + return (*fastReflection_GetNaiveInfererNetworkRegretRequest)(nil) +} +func (x fastReflection_GetNaiveInfererNetworkRegretRequest_messageType) New() protoreflect.Message { + return new(fastReflection_GetNaiveInfererNetworkRegretRequest) +} +func (x fastReflection_GetNaiveInfererNetworkRegretRequest_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_GetNaiveInfererNetworkRegretRequest +} + +// Descriptor returns message descriptor, which contains only the protobuf +// type information for the message. +func (x *fastReflection_GetNaiveInfererNetworkRegretRequest) Descriptor() protoreflect.MessageDescriptor { + return md_GetNaiveInfererNetworkRegretRequest +} + +// Type returns the message type, which encapsulates both Go and protobuf +// type information. If the Go type information is not needed, +// it is recommended that the message descriptor be used instead. +func (x *fastReflection_GetNaiveInfererNetworkRegretRequest) Type() protoreflect.MessageType { + return _fastReflection_GetNaiveInfererNetworkRegretRequest_messageType +} + +// New returns a newly allocated and mutable empty message. +func (x *fastReflection_GetNaiveInfererNetworkRegretRequest) New() protoreflect.Message { + return new(fastReflection_GetNaiveInfererNetworkRegretRequest) +} + +// Interface unwraps the message reflection interface and +// returns the underlying ProtoMessage interface. +func (x *fastReflection_GetNaiveInfererNetworkRegretRequest) Interface() protoreflect.ProtoMessage { + return (*GetNaiveInfererNetworkRegretRequest)(x) +} + +// Range iterates over every populated field in an undefined order, +// calling f for each field descriptor and value encountered. +// Range returns immediately if f returns false. +// While iterating, mutating operations may only be performed +// on the current field descriptor. +func (x *fastReflection_GetNaiveInfererNetworkRegretRequest) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { + if x.TopicId != uint64(0) { + value := protoreflect.ValueOfUint64(x.TopicId) + if !f(fd_GetNaiveInfererNetworkRegretRequest_topic_id, value) { + return + } + } + if x.Inferer != "" { + value := protoreflect.ValueOfString(x.Inferer) + if !f(fd_GetNaiveInfererNetworkRegretRequest_inferer, value) { + return + } + } +} + +// Has reports whether a field is populated. +// +// Some fields have the property of nullability where it is possible to +// distinguish between the default value of a field and whether the field +// was explicitly populated with the default value. Singular message fields, +// member fields of a oneof, and proto2 scalar fields are nullable. Such +// fields are populated only if explicitly set. +// +// In other cases (aside from the nullable cases above), +// a proto3 scalar field is populated if it contains a non-zero value, and +// a repeated field is populated if it is non-empty. +func (x *fastReflection_GetNaiveInfererNetworkRegretRequest) Has(fd protoreflect.FieldDescriptor) bool { + switch fd.FullName() { + case "emissions.v8.GetNaiveInfererNetworkRegretRequest.topic_id": + return x.TopicId != uint64(0) + case "emissions.v8.GetNaiveInfererNetworkRegretRequest.inferer": + return x.Inferer != "" + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetNaiveInfererNetworkRegretRequest")) + } + panic(fmt.Errorf("message emissions.v8.GetNaiveInfererNetworkRegretRequest does not contain field %s", fd.FullName())) + } +} + +// Clear clears the field such that a subsequent Has call reports false. +// +// Clearing an extension field clears both the extension type and value +// associated with the given field number. +// +// Clear is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetNaiveInfererNetworkRegretRequest) Clear(fd protoreflect.FieldDescriptor) { + switch fd.FullName() { + case "emissions.v8.GetNaiveInfererNetworkRegretRequest.topic_id": + x.TopicId = uint64(0) + case "emissions.v8.GetNaiveInfererNetworkRegretRequest.inferer": + x.Inferer = "" + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetNaiveInfererNetworkRegretRequest")) + } + panic(fmt.Errorf("message emissions.v8.GetNaiveInfererNetworkRegretRequest does not contain field %s", fd.FullName())) + } +} + +// Get retrieves the value for a field. +// +// For unpopulated scalars, it returns the default value, where +// the default value of a bytes scalar is guaranteed to be a copy. +// For unpopulated composite types, it returns an empty, read-only view +// of the value; to obtain a mutable reference, use Mutable. +func (x *fastReflection_GetNaiveInfererNetworkRegretRequest) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { + switch descriptor.FullName() { + case "emissions.v8.GetNaiveInfererNetworkRegretRequest.topic_id": + value := x.TopicId + return protoreflect.ValueOfUint64(value) + case "emissions.v8.GetNaiveInfererNetworkRegretRequest.inferer": + value := x.Inferer + return protoreflect.ValueOfString(value) + default: + if descriptor.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetNaiveInfererNetworkRegretRequest")) + } + panic(fmt.Errorf("message emissions.v8.GetNaiveInfererNetworkRegretRequest does not contain field %s", descriptor.FullName())) + } +} + +// Set stores the value for a field. +// +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType. +// When setting a composite type, it is unspecified whether the stored value +// aliases the source's memory in any way. If the composite value is an +// empty, read-only value, then it panics. +// +// Set is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetNaiveInfererNetworkRegretRequest) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { + switch fd.FullName() { + case "emissions.v8.GetNaiveInfererNetworkRegretRequest.topic_id": + x.TopicId = value.Uint() + case "emissions.v8.GetNaiveInfererNetworkRegretRequest.inferer": + x.Inferer = value.Interface().(string) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetNaiveInfererNetworkRegretRequest")) + } + panic(fmt.Errorf("message emissions.v8.GetNaiveInfererNetworkRegretRequest does not contain field %s", fd.FullName())) + } +} + +// Mutable returns a mutable reference to a composite type. +// +// If the field is unpopulated, it may allocate a composite value. +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType +// if not already stored. +// It panics if the field does not contain a composite type. +// +// Mutable is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetNaiveInfererNetworkRegretRequest) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.GetNaiveInfererNetworkRegretRequest.topic_id": + panic(fmt.Errorf("field topic_id of message emissions.v8.GetNaiveInfererNetworkRegretRequest is not mutable")) + case "emissions.v8.GetNaiveInfererNetworkRegretRequest.inferer": + panic(fmt.Errorf("field inferer of message emissions.v8.GetNaiveInfererNetworkRegretRequest is not mutable")) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetNaiveInfererNetworkRegretRequest")) + } + panic(fmt.Errorf("message emissions.v8.GetNaiveInfererNetworkRegretRequest does not contain field %s", fd.FullName())) + } +} + +// NewField returns a new value that is assignable to the field +// for the given descriptor. For scalars, this returns the default value. +// For lists, maps, and messages, this returns a new, empty, mutable value. +func (x *fastReflection_GetNaiveInfererNetworkRegretRequest) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.GetNaiveInfererNetworkRegretRequest.topic_id": + return protoreflect.ValueOfUint64(uint64(0)) + case "emissions.v8.GetNaiveInfererNetworkRegretRequest.inferer": + return protoreflect.ValueOfString("") + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetNaiveInfererNetworkRegretRequest")) + } + panic(fmt.Errorf("message emissions.v8.GetNaiveInfererNetworkRegretRequest does not contain field %s", fd.FullName())) + } +} + +// WhichOneof reports which field within the oneof is populated, +// returning nil if none are populated. +// It panics if the oneof descriptor does not belong to this message. +func (x *fastReflection_GetNaiveInfererNetworkRegretRequest) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { + switch d.FullName() { + default: + panic(fmt.Errorf("%s is not a oneof field in emissions.v8.GetNaiveInfererNetworkRegretRequest", d.FullName())) + } + panic("unreachable") +} + +// GetUnknown retrieves the entire list of unknown fields. +// The caller may only mutate the contents of the RawFields +// if the mutated bytes are stored back into the message with SetUnknown. +func (x *fastReflection_GetNaiveInfererNetworkRegretRequest) GetUnknown() protoreflect.RawFields { + return x.unknownFields +} + +// SetUnknown stores an entire list of unknown fields. +// The raw fields must be syntactically valid according to the wire format. +// An implementation may panic if this is not the case. +// Once stored, the caller must not mutate the content of the RawFields. +// An empty RawFields may be passed to clear the fields. +// +// SetUnknown is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetNaiveInfererNetworkRegretRequest) SetUnknown(fields protoreflect.RawFields) { + x.unknownFields = fields +} + +// IsValid reports whether the message is valid. +// +// An invalid message is an empty, read-only value. +// +// An invalid message often corresponds to a nil pointer of the concrete +// message type, but the details are implementation dependent. +// Validity is not part of the protobuf data model, and may not +// be preserved in marshaling or other operations. +func (x *fastReflection_GetNaiveInfererNetworkRegretRequest) IsValid() bool { + return x != nil +} + +// ProtoMethods returns optional fastReflectionFeature-path implementations of various operations. +// This method may return nil. +// +// The returned methods type is identical to +// "google.golang.org/protobuf/runtime/protoiface".Methods. +// Consult the protoiface package documentation for details. +func (x *fastReflection_GetNaiveInfererNetworkRegretRequest) ProtoMethods() *protoiface.Methods { + size := func(input protoiface.SizeInput) protoiface.SizeOutput { + x := input.Message.Interface().(*GetNaiveInfererNetworkRegretRequest) + if x == nil { + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: 0, + } + } + options := runtime.SizeInputToOptions(input) + _ = options + var n int + var l int + _ = l + if x.TopicId != 0 { + n += 1 + runtime.Sov(uint64(x.TopicId)) + } + l = len(x.Inferer) + if l > 0 { + n += 1 + l + runtime.Sov(uint64(l)) + } + if x.unknownFields != nil { + n += len(x.unknownFields) + } + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: n, + } + } + + marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { + x := input.Message.Interface().(*GetNaiveInfererNetworkRegretRequest) + if x == nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + options := runtime.MarshalInputToOptions(input) + _ = options + size := options.Size(x) + dAtA := make([]byte, size) + i := len(dAtA) + _ = i + var l int + _ = l + if x.unknownFields != nil { + i -= len(x.unknownFields) + copy(dAtA[i:], x.unknownFields) + } + if len(x.Inferer) > 0 { + i -= len(x.Inferer) + copy(dAtA[i:], x.Inferer) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.Inferer))) + i-- + dAtA[i] = 0x12 + } + if x.TopicId != 0 { + i = runtime.EncodeVarint(dAtA, i, uint64(x.TopicId)) + i-- + dAtA[i] = 0x8 + } + if input.Buf != nil { + input.Buf = append(input.Buf, dAtA...) + } else { + input.Buf = dAtA + } + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { + x := input.Message.Interface().(*GetNaiveInfererNetworkRegretRequest) + if x == nil { + return protoiface.UnmarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Flags: input.Flags, + }, nil + } + options := runtime.UnmarshalInputToOptions(input) + _ = options + dAtA := input.Buf + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: GetNaiveInfererNetworkRegretRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: GetNaiveInfererNetworkRegretRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field TopicId", wireType) + } + x.TopicId = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + x.TopicId |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 2: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Inferer", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + x.Inferer = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := runtime.Skip(dAtA[iNdEx:]) + if err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if (iNdEx + skippy) > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + if !options.DiscardUnknown { + x.unknownFields = append(x.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + } + iNdEx += skippy + } + } + + if iNdEx > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, nil + } + return &protoiface.Methods{ + NoUnkeyedLiterals: struct{}{}, + Flags: protoiface.SupportMarshalDeterministic | protoiface.SupportUnmarshalDiscardUnknown, + Size: size, + Marshal: marshal, + Unmarshal: unmarshal, + Merge: nil, + CheckInitialized: nil, + } +} + +var ( + md_GetNaiveInfererNetworkRegretResponse protoreflect.MessageDescriptor + fd_GetNaiveInfererNetworkRegretResponse_regret protoreflect.FieldDescriptor +) + +func init() { + file_emissions_v8_query_proto_init() + md_GetNaiveInfererNetworkRegretResponse = File_emissions_v8_query_proto.Messages().ByName("GetNaiveInfererNetworkRegretResponse") + fd_GetNaiveInfererNetworkRegretResponse_regret = md_GetNaiveInfererNetworkRegretResponse.Fields().ByName("regret") +} + +var _ protoreflect.Message = (*fastReflection_GetNaiveInfererNetworkRegretResponse)(nil) + +type fastReflection_GetNaiveInfererNetworkRegretResponse GetNaiveInfererNetworkRegretResponse + +func (x *GetNaiveInfererNetworkRegretResponse) ProtoReflect() protoreflect.Message { + return (*fastReflection_GetNaiveInfererNetworkRegretResponse)(x) +} + +func (x *GetNaiveInfererNetworkRegretResponse) slowProtoReflect() protoreflect.Message { + mi := &file_emissions_v8_query_proto_msgTypes[39] + 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) +} + +var _fastReflection_GetNaiveInfererNetworkRegretResponse_messageType fastReflection_GetNaiveInfererNetworkRegretResponse_messageType +var _ protoreflect.MessageType = fastReflection_GetNaiveInfererNetworkRegretResponse_messageType{} + +type fastReflection_GetNaiveInfererNetworkRegretResponse_messageType struct{} + +func (x fastReflection_GetNaiveInfererNetworkRegretResponse_messageType) Zero() protoreflect.Message { + return (*fastReflection_GetNaiveInfererNetworkRegretResponse)(nil) +} +func (x fastReflection_GetNaiveInfererNetworkRegretResponse_messageType) New() protoreflect.Message { + return new(fastReflection_GetNaiveInfererNetworkRegretResponse) +} +func (x fastReflection_GetNaiveInfererNetworkRegretResponse_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_GetNaiveInfererNetworkRegretResponse +} + +// Descriptor returns message descriptor, which contains only the protobuf +// type information for the message. +func (x *fastReflection_GetNaiveInfererNetworkRegretResponse) Descriptor() protoreflect.MessageDescriptor { + return md_GetNaiveInfererNetworkRegretResponse +} + +// Type returns the message type, which encapsulates both Go and protobuf +// type information. If the Go type information is not needed, +// it is recommended that the message descriptor be used instead. +func (x *fastReflection_GetNaiveInfererNetworkRegretResponse) Type() protoreflect.MessageType { + return _fastReflection_GetNaiveInfererNetworkRegretResponse_messageType +} + +// New returns a newly allocated and mutable empty message. +func (x *fastReflection_GetNaiveInfererNetworkRegretResponse) New() protoreflect.Message { + return new(fastReflection_GetNaiveInfererNetworkRegretResponse) +} + +// Interface unwraps the message reflection interface and +// returns the underlying ProtoMessage interface. +func (x *fastReflection_GetNaiveInfererNetworkRegretResponse) Interface() protoreflect.ProtoMessage { + return (*GetNaiveInfererNetworkRegretResponse)(x) +} + +// Range iterates over every populated field in an undefined order, +// calling f for each field descriptor and value encountered. +// Range returns immediately if f returns false. +// While iterating, mutating operations may only be performed +// on the current field descriptor. +func (x *fastReflection_GetNaiveInfererNetworkRegretResponse) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { + if x.Regret != nil { + value := protoreflect.ValueOfMessage(x.Regret.ProtoReflect()) + if !f(fd_GetNaiveInfererNetworkRegretResponse_regret, value) { + return + } + } +} + +// Has reports whether a field is populated. +// +// Some fields have the property of nullability where it is possible to +// distinguish between the default value of a field and whether the field +// was explicitly populated with the default value. Singular message fields, +// member fields of a oneof, and proto2 scalar fields are nullable. Such +// fields are populated only if explicitly set. +// +// In other cases (aside from the nullable cases above), +// a proto3 scalar field is populated if it contains a non-zero value, and +// a repeated field is populated if it is non-empty. +func (x *fastReflection_GetNaiveInfererNetworkRegretResponse) Has(fd protoreflect.FieldDescriptor) bool { + switch fd.FullName() { + case "emissions.v8.GetNaiveInfererNetworkRegretResponse.regret": + return x.Regret != nil + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetNaiveInfererNetworkRegretResponse")) + } + panic(fmt.Errorf("message emissions.v8.GetNaiveInfererNetworkRegretResponse does not contain field %s", fd.FullName())) + } +} + +// Clear clears the field such that a subsequent Has call reports false. +// +// Clearing an extension field clears both the extension type and value +// associated with the given field number. +// +// Clear is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetNaiveInfererNetworkRegretResponse) Clear(fd protoreflect.FieldDescriptor) { + switch fd.FullName() { + case "emissions.v8.GetNaiveInfererNetworkRegretResponse.regret": + x.Regret = nil + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetNaiveInfererNetworkRegretResponse")) + } + panic(fmt.Errorf("message emissions.v8.GetNaiveInfererNetworkRegretResponse does not contain field %s", fd.FullName())) + } +} + +// Get retrieves the value for a field. +// +// For unpopulated scalars, it returns the default value, where +// the default value of a bytes scalar is guaranteed to be a copy. +// For unpopulated composite types, it returns an empty, read-only view +// of the value; to obtain a mutable reference, use Mutable. +func (x *fastReflection_GetNaiveInfererNetworkRegretResponse) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { + switch descriptor.FullName() { + case "emissions.v8.GetNaiveInfererNetworkRegretResponse.regret": + value := x.Regret + return protoreflect.ValueOfMessage(value.ProtoReflect()) + default: + if descriptor.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetNaiveInfererNetworkRegretResponse")) + } + panic(fmt.Errorf("message emissions.v8.GetNaiveInfererNetworkRegretResponse does not contain field %s", descriptor.FullName())) + } +} + +// Set stores the value for a field. +// +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType. +// When setting a composite type, it is unspecified whether the stored value +// aliases the source's memory in any way. If the composite value is an +// empty, read-only value, then it panics. +// +// Set is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetNaiveInfererNetworkRegretResponse) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { + switch fd.FullName() { + case "emissions.v8.GetNaiveInfererNetworkRegretResponse.regret": + x.Regret = value.Message().Interface().(*v3.TimestampedValue) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetNaiveInfererNetworkRegretResponse")) + } + panic(fmt.Errorf("message emissions.v8.GetNaiveInfererNetworkRegretResponse does not contain field %s", fd.FullName())) + } +} + +// Mutable returns a mutable reference to a composite type. +// +// If the field is unpopulated, it may allocate a composite value. +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType +// if not already stored. +// It panics if the field does not contain a composite type. +// +// Mutable is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetNaiveInfererNetworkRegretResponse) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.GetNaiveInfererNetworkRegretResponse.regret": + if x.Regret == nil { + x.Regret = new(v3.TimestampedValue) + } + return protoreflect.ValueOfMessage(x.Regret.ProtoReflect()) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetNaiveInfererNetworkRegretResponse")) + } + panic(fmt.Errorf("message emissions.v8.GetNaiveInfererNetworkRegretResponse does not contain field %s", fd.FullName())) + } +} + +// NewField returns a new value that is assignable to the field +// for the given descriptor. For scalars, this returns the default value. +// For lists, maps, and messages, this returns a new, empty, mutable value. +func (x *fastReflection_GetNaiveInfererNetworkRegretResponse) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.GetNaiveInfererNetworkRegretResponse.regret": + m := new(v3.TimestampedValue) + return protoreflect.ValueOfMessage(m.ProtoReflect()) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetNaiveInfererNetworkRegretResponse")) + } + panic(fmt.Errorf("message emissions.v8.GetNaiveInfererNetworkRegretResponse does not contain field %s", fd.FullName())) + } +} + +// WhichOneof reports which field within the oneof is populated, +// returning nil if none are populated. +// It panics if the oneof descriptor does not belong to this message. +func (x *fastReflection_GetNaiveInfererNetworkRegretResponse) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { + switch d.FullName() { + default: + panic(fmt.Errorf("%s is not a oneof field in emissions.v8.GetNaiveInfererNetworkRegretResponse", d.FullName())) + } + panic("unreachable") +} + +// GetUnknown retrieves the entire list of unknown fields. +// The caller may only mutate the contents of the RawFields +// if the mutated bytes are stored back into the message with SetUnknown. +func (x *fastReflection_GetNaiveInfererNetworkRegretResponse) GetUnknown() protoreflect.RawFields { + return x.unknownFields +} + +// SetUnknown stores an entire list of unknown fields. +// The raw fields must be syntactically valid according to the wire format. +// An implementation may panic if this is not the case. +// Once stored, the caller must not mutate the content of the RawFields. +// An empty RawFields may be passed to clear the fields. +// +// SetUnknown is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetNaiveInfererNetworkRegretResponse) SetUnknown(fields protoreflect.RawFields) { + x.unknownFields = fields +} + +// IsValid reports whether the message is valid. +// +// An invalid message is an empty, read-only value. +// +// An invalid message often corresponds to a nil pointer of the concrete +// message type, but the details are implementation dependent. +// Validity is not part of the protobuf data model, and may not +// be preserved in marshaling or other operations. +func (x *fastReflection_GetNaiveInfererNetworkRegretResponse) IsValid() bool { + return x != nil +} + +// ProtoMethods returns optional fastReflectionFeature-path implementations of various operations. +// This method may return nil. +// +// The returned methods type is identical to +// "google.golang.org/protobuf/runtime/protoiface".Methods. +// Consult the protoiface package documentation for details. +func (x *fastReflection_GetNaiveInfererNetworkRegretResponse) ProtoMethods() *protoiface.Methods { + size := func(input protoiface.SizeInput) protoiface.SizeOutput { + x := input.Message.Interface().(*GetNaiveInfererNetworkRegretResponse) + if x == nil { + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: 0, + } + } + options := runtime.SizeInputToOptions(input) + _ = options + var n int + var l int + _ = l + if x.Regret != nil { + l = options.Size(x.Regret) + n += 1 + l + runtime.Sov(uint64(l)) + } + if x.unknownFields != nil { + n += len(x.unknownFields) + } + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: n, + } + } + + marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { + x := input.Message.Interface().(*GetNaiveInfererNetworkRegretResponse) + if x == nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + options := runtime.MarshalInputToOptions(input) + _ = options + size := options.Size(x) + dAtA := make([]byte, size) + i := len(dAtA) + _ = i + var l int + _ = l + if x.unknownFields != nil { + i -= len(x.unknownFields) + copy(dAtA[i:], x.unknownFields) + } + if x.Regret != nil { + encoded, err := options.Marshal(x.Regret) + if err != nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = runtime.EncodeVarint(dAtA, i, uint64(len(encoded))) + i-- + dAtA[i] = 0xa + } + if input.Buf != nil { + input.Buf = append(input.Buf, dAtA...) + } else { + input.Buf = dAtA + } + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { + x := input.Message.Interface().(*GetNaiveInfererNetworkRegretResponse) + if x == nil { + return protoiface.UnmarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Flags: input.Flags, + }, nil + } + options := runtime.UnmarshalInputToOptions(input) + _ = options + dAtA := input.Buf + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: GetNaiveInfererNetworkRegretResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: GetNaiveInfererNetworkRegretResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Regret", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + if x.Regret == nil { + x.Regret = &v3.TimestampedValue{} + } + if err := options.Unmarshal(dAtA[iNdEx:postIndex], x.Regret); err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := runtime.Skip(dAtA[iNdEx:]) + if err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if (iNdEx + skippy) > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + if !options.DiscardUnknown { + x.unknownFields = append(x.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + } + iNdEx += skippy + } + } + + if iNdEx > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, nil + } + return &protoiface.Methods{ + NoUnkeyedLiterals: struct{}{}, + Flags: protoiface.SupportMarshalDeterministic | protoiface.SupportUnmarshalDiscardUnknown, + Size: size, + Marshal: marshal, + Unmarshal: unmarshal, + Merge: nil, + CheckInitialized: nil, + } +} + +var ( + md_GetOneOutInfererInfererNetworkRegretRequest protoreflect.MessageDescriptor + fd_GetOneOutInfererInfererNetworkRegretRequest_topic_id protoreflect.FieldDescriptor + fd_GetOneOutInfererInfererNetworkRegretRequest_one_out_inferer protoreflect.FieldDescriptor + fd_GetOneOutInfererInfererNetworkRegretRequest_inferer protoreflect.FieldDescriptor +) + +func init() { + file_emissions_v8_query_proto_init() + md_GetOneOutInfererInfererNetworkRegretRequest = File_emissions_v8_query_proto.Messages().ByName("GetOneOutInfererInfererNetworkRegretRequest") + fd_GetOneOutInfererInfererNetworkRegretRequest_topic_id = md_GetOneOutInfererInfererNetworkRegretRequest.Fields().ByName("topic_id") + fd_GetOneOutInfererInfererNetworkRegretRequest_one_out_inferer = md_GetOneOutInfererInfererNetworkRegretRequest.Fields().ByName("one_out_inferer") + fd_GetOneOutInfererInfererNetworkRegretRequest_inferer = md_GetOneOutInfererInfererNetworkRegretRequest.Fields().ByName("inferer") +} + +var _ protoreflect.Message = (*fastReflection_GetOneOutInfererInfererNetworkRegretRequest)(nil) + +type fastReflection_GetOneOutInfererInfererNetworkRegretRequest GetOneOutInfererInfererNetworkRegretRequest + +func (x *GetOneOutInfererInfererNetworkRegretRequest) ProtoReflect() protoreflect.Message { + return (*fastReflection_GetOneOutInfererInfererNetworkRegretRequest)(x) +} + +func (x *GetOneOutInfererInfererNetworkRegretRequest) slowProtoReflect() protoreflect.Message { + mi := &file_emissions_v8_query_proto_msgTypes[40] + 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) +} + +var _fastReflection_GetOneOutInfererInfererNetworkRegretRequest_messageType fastReflection_GetOneOutInfererInfererNetworkRegretRequest_messageType +var _ protoreflect.MessageType = fastReflection_GetOneOutInfererInfererNetworkRegretRequest_messageType{} + +type fastReflection_GetOneOutInfererInfererNetworkRegretRequest_messageType struct{} + +func (x fastReflection_GetOneOutInfererInfererNetworkRegretRequest_messageType) Zero() protoreflect.Message { + return (*fastReflection_GetOneOutInfererInfererNetworkRegretRequest)(nil) +} +func (x fastReflection_GetOneOutInfererInfererNetworkRegretRequest_messageType) New() protoreflect.Message { + return new(fastReflection_GetOneOutInfererInfererNetworkRegretRequest) +} +func (x fastReflection_GetOneOutInfererInfererNetworkRegretRequest_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_GetOneOutInfererInfererNetworkRegretRequest +} + +// Descriptor returns message descriptor, which contains only the protobuf +// type information for the message. +func (x *fastReflection_GetOneOutInfererInfererNetworkRegretRequest) Descriptor() protoreflect.MessageDescriptor { + return md_GetOneOutInfererInfererNetworkRegretRequest +} + +// Type returns the message type, which encapsulates both Go and protobuf +// type information. If the Go type information is not needed, +// it is recommended that the message descriptor be used instead. +func (x *fastReflection_GetOneOutInfererInfererNetworkRegretRequest) Type() protoreflect.MessageType { + return _fastReflection_GetOneOutInfererInfererNetworkRegretRequest_messageType +} + +// New returns a newly allocated and mutable empty message. +func (x *fastReflection_GetOneOutInfererInfererNetworkRegretRequest) New() protoreflect.Message { + return new(fastReflection_GetOneOutInfererInfererNetworkRegretRequest) +} + +// Interface unwraps the message reflection interface and +// returns the underlying ProtoMessage interface. +func (x *fastReflection_GetOneOutInfererInfererNetworkRegretRequest) Interface() protoreflect.ProtoMessage { + return (*GetOneOutInfererInfererNetworkRegretRequest)(x) +} + +// Range iterates over every populated field in an undefined order, +// calling f for each field descriptor and value encountered. +// Range returns immediately if f returns false. +// While iterating, mutating operations may only be performed +// on the current field descriptor. +func (x *fastReflection_GetOneOutInfererInfererNetworkRegretRequest) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { + if x.TopicId != uint64(0) { + value := protoreflect.ValueOfUint64(x.TopicId) + if !f(fd_GetOneOutInfererInfererNetworkRegretRequest_topic_id, value) { + return + } + } + if x.OneOutInferer != "" { + value := protoreflect.ValueOfString(x.OneOutInferer) + if !f(fd_GetOneOutInfererInfererNetworkRegretRequest_one_out_inferer, value) { + return + } + } + if x.Inferer != "" { + value := protoreflect.ValueOfString(x.Inferer) + if !f(fd_GetOneOutInfererInfererNetworkRegretRequest_inferer, value) { + return + } + } +} + +// Has reports whether a field is populated. +// +// Some fields have the property of nullability where it is possible to +// distinguish between the default value of a field and whether the field +// was explicitly populated with the default value. Singular message fields, +// member fields of a oneof, and proto2 scalar fields are nullable. Such +// fields are populated only if explicitly set. +// +// In other cases (aside from the nullable cases above), +// a proto3 scalar field is populated if it contains a non-zero value, and +// a repeated field is populated if it is non-empty. +func (x *fastReflection_GetOneOutInfererInfererNetworkRegretRequest) Has(fd protoreflect.FieldDescriptor) bool { + switch fd.FullName() { + case "emissions.v8.GetOneOutInfererInfererNetworkRegretRequest.topic_id": + return x.TopicId != uint64(0) + case "emissions.v8.GetOneOutInfererInfererNetworkRegretRequest.one_out_inferer": + return x.OneOutInferer != "" + case "emissions.v8.GetOneOutInfererInfererNetworkRegretRequest.inferer": + return x.Inferer != "" + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetOneOutInfererInfererNetworkRegretRequest")) + } + panic(fmt.Errorf("message emissions.v8.GetOneOutInfererInfererNetworkRegretRequest does not contain field %s", fd.FullName())) + } +} + +// Clear clears the field such that a subsequent Has call reports false. +// +// Clearing an extension field clears both the extension type and value +// associated with the given field number. +// +// Clear is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetOneOutInfererInfererNetworkRegretRequest) Clear(fd protoreflect.FieldDescriptor) { + switch fd.FullName() { + case "emissions.v8.GetOneOutInfererInfererNetworkRegretRequest.topic_id": + x.TopicId = uint64(0) + case "emissions.v8.GetOneOutInfererInfererNetworkRegretRequest.one_out_inferer": + x.OneOutInferer = "" + case "emissions.v8.GetOneOutInfererInfererNetworkRegretRequest.inferer": + x.Inferer = "" + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetOneOutInfererInfererNetworkRegretRequest")) + } + panic(fmt.Errorf("message emissions.v8.GetOneOutInfererInfererNetworkRegretRequest does not contain field %s", fd.FullName())) + } +} + +// Get retrieves the value for a field. +// +// For unpopulated scalars, it returns the default value, where +// the default value of a bytes scalar is guaranteed to be a copy. +// For unpopulated composite types, it returns an empty, read-only view +// of the value; to obtain a mutable reference, use Mutable. +func (x *fastReflection_GetOneOutInfererInfererNetworkRegretRequest) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { + switch descriptor.FullName() { + case "emissions.v8.GetOneOutInfererInfererNetworkRegretRequest.topic_id": + value := x.TopicId + return protoreflect.ValueOfUint64(value) + case "emissions.v8.GetOneOutInfererInfererNetworkRegretRequest.one_out_inferer": + value := x.OneOutInferer + return protoreflect.ValueOfString(value) + case "emissions.v8.GetOneOutInfererInfererNetworkRegretRequest.inferer": + value := x.Inferer + return protoreflect.ValueOfString(value) + default: + if descriptor.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetOneOutInfererInfererNetworkRegretRequest")) + } + panic(fmt.Errorf("message emissions.v8.GetOneOutInfererInfererNetworkRegretRequest does not contain field %s", descriptor.FullName())) + } +} + +// Set stores the value for a field. +// +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType. +// When setting a composite type, it is unspecified whether the stored value +// aliases the source's memory in any way. If the composite value is an +// empty, read-only value, then it panics. +// +// Set is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetOneOutInfererInfererNetworkRegretRequest) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { + switch fd.FullName() { + case "emissions.v8.GetOneOutInfererInfererNetworkRegretRequest.topic_id": + x.TopicId = value.Uint() + case "emissions.v8.GetOneOutInfererInfererNetworkRegretRequest.one_out_inferer": + x.OneOutInferer = value.Interface().(string) + case "emissions.v8.GetOneOutInfererInfererNetworkRegretRequest.inferer": + x.Inferer = value.Interface().(string) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetOneOutInfererInfererNetworkRegretRequest")) + } + panic(fmt.Errorf("message emissions.v8.GetOneOutInfererInfererNetworkRegretRequest does not contain field %s", fd.FullName())) + } +} + +// Mutable returns a mutable reference to a composite type. +// +// If the field is unpopulated, it may allocate a composite value. +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType +// if not already stored. +// It panics if the field does not contain a composite type. +// +// Mutable is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetOneOutInfererInfererNetworkRegretRequest) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.GetOneOutInfererInfererNetworkRegretRequest.topic_id": + panic(fmt.Errorf("field topic_id of message emissions.v8.GetOneOutInfererInfererNetworkRegretRequest is not mutable")) + case "emissions.v8.GetOneOutInfererInfererNetworkRegretRequest.one_out_inferer": + panic(fmt.Errorf("field one_out_inferer of message emissions.v8.GetOneOutInfererInfererNetworkRegretRequest is not mutable")) + case "emissions.v8.GetOneOutInfererInfererNetworkRegretRequest.inferer": + panic(fmt.Errorf("field inferer of message emissions.v8.GetOneOutInfererInfererNetworkRegretRequest is not mutable")) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetOneOutInfererInfererNetworkRegretRequest")) + } + panic(fmt.Errorf("message emissions.v8.GetOneOutInfererInfererNetworkRegretRequest does not contain field %s", fd.FullName())) + } +} + +// NewField returns a new value that is assignable to the field +// for the given descriptor. For scalars, this returns the default value. +// For lists, maps, and messages, this returns a new, empty, mutable value. +func (x *fastReflection_GetOneOutInfererInfererNetworkRegretRequest) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.GetOneOutInfererInfererNetworkRegretRequest.topic_id": + return protoreflect.ValueOfUint64(uint64(0)) + case "emissions.v8.GetOneOutInfererInfererNetworkRegretRequest.one_out_inferer": + return protoreflect.ValueOfString("") + case "emissions.v8.GetOneOutInfererInfererNetworkRegretRequest.inferer": + return protoreflect.ValueOfString("") + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetOneOutInfererInfererNetworkRegretRequest")) + } + panic(fmt.Errorf("message emissions.v8.GetOneOutInfererInfererNetworkRegretRequest does not contain field %s", fd.FullName())) + } +} + +// WhichOneof reports which field within the oneof is populated, +// returning nil if none are populated. +// It panics if the oneof descriptor does not belong to this message. +func (x *fastReflection_GetOneOutInfererInfererNetworkRegretRequest) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { + switch d.FullName() { + default: + panic(fmt.Errorf("%s is not a oneof field in emissions.v8.GetOneOutInfererInfererNetworkRegretRequest", d.FullName())) + } + panic("unreachable") +} + +// GetUnknown retrieves the entire list of unknown fields. +// The caller may only mutate the contents of the RawFields +// if the mutated bytes are stored back into the message with SetUnknown. +func (x *fastReflection_GetOneOutInfererInfererNetworkRegretRequest) GetUnknown() protoreflect.RawFields { + return x.unknownFields +} + +// SetUnknown stores an entire list of unknown fields. +// The raw fields must be syntactically valid according to the wire format. +// An implementation may panic if this is not the case. +// Once stored, the caller must not mutate the content of the RawFields. +// An empty RawFields may be passed to clear the fields. +// +// SetUnknown is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetOneOutInfererInfererNetworkRegretRequest) SetUnknown(fields protoreflect.RawFields) { + x.unknownFields = fields +} + +// IsValid reports whether the message is valid. +// +// An invalid message is an empty, read-only value. +// +// An invalid message often corresponds to a nil pointer of the concrete +// message type, but the details are implementation dependent. +// Validity is not part of the protobuf data model, and may not +// be preserved in marshaling or other operations. +func (x *fastReflection_GetOneOutInfererInfererNetworkRegretRequest) IsValid() bool { + return x != nil +} + +// ProtoMethods returns optional fastReflectionFeature-path implementations of various operations. +// This method may return nil. +// +// The returned methods type is identical to +// "google.golang.org/protobuf/runtime/protoiface".Methods. +// Consult the protoiface package documentation for details. +func (x *fastReflection_GetOneOutInfererInfererNetworkRegretRequest) ProtoMethods() *protoiface.Methods { + size := func(input protoiface.SizeInput) protoiface.SizeOutput { + x := input.Message.Interface().(*GetOneOutInfererInfererNetworkRegretRequest) + if x == nil { + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: 0, + } + } + options := runtime.SizeInputToOptions(input) + _ = options + var n int + var l int + _ = l + if x.TopicId != 0 { + n += 1 + runtime.Sov(uint64(x.TopicId)) + } + l = len(x.OneOutInferer) + if l > 0 { + n += 1 + l + runtime.Sov(uint64(l)) + } + l = len(x.Inferer) + if l > 0 { + n += 1 + l + runtime.Sov(uint64(l)) + } + if x.unknownFields != nil { + n += len(x.unknownFields) + } + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: n, + } + } + + marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { + x := input.Message.Interface().(*GetOneOutInfererInfererNetworkRegretRequest) + if x == nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + options := runtime.MarshalInputToOptions(input) + _ = options + size := options.Size(x) + dAtA := make([]byte, size) + i := len(dAtA) + _ = i + var l int + _ = l + if x.unknownFields != nil { + i -= len(x.unknownFields) + copy(dAtA[i:], x.unknownFields) + } + if len(x.Inferer) > 0 { + i -= len(x.Inferer) + copy(dAtA[i:], x.Inferer) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.Inferer))) + i-- + dAtA[i] = 0x1a + } + if len(x.OneOutInferer) > 0 { + i -= len(x.OneOutInferer) + copy(dAtA[i:], x.OneOutInferer) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.OneOutInferer))) + i-- + dAtA[i] = 0x12 + } + if x.TopicId != 0 { + i = runtime.EncodeVarint(dAtA, i, uint64(x.TopicId)) + i-- + dAtA[i] = 0x8 + } + if input.Buf != nil { + input.Buf = append(input.Buf, dAtA...) + } else { + input.Buf = dAtA + } + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { + x := input.Message.Interface().(*GetOneOutInfererInfererNetworkRegretRequest) + if x == nil { + return protoiface.UnmarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Flags: input.Flags, + }, nil + } + options := runtime.UnmarshalInputToOptions(input) + _ = options + dAtA := input.Buf + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: GetOneOutInfererInfererNetworkRegretRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: GetOneOutInfererInfererNetworkRegretRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field TopicId", wireType) + } + x.TopicId = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + x.TopicId |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 2: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field OneOutInferer", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + x.OneOutInferer = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 3: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Inferer", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + x.Inferer = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := runtime.Skip(dAtA[iNdEx:]) + if err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if (iNdEx + skippy) > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + if !options.DiscardUnknown { + x.unknownFields = append(x.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + } + iNdEx += skippy + } + } + + if iNdEx > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, nil + } + return &protoiface.Methods{ + NoUnkeyedLiterals: struct{}{}, + Flags: protoiface.SupportMarshalDeterministic | protoiface.SupportUnmarshalDiscardUnknown, + Size: size, + Marshal: marshal, + Unmarshal: unmarshal, + Merge: nil, + CheckInitialized: nil, + } +} + +var ( + md_GetOneOutInfererInfererNetworkRegretResponse protoreflect.MessageDescriptor + fd_GetOneOutInfererInfererNetworkRegretResponse_regret protoreflect.FieldDescriptor +) + +func init() { + file_emissions_v8_query_proto_init() + md_GetOneOutInfererInfererNetworkRegretResponse = File_emissions_v8_query_proto.Messages().ByName("GetOneOutInfererInfererNetworkRegretResponse") + fd_GetOneOutInfererInfererNetworkRegretResponse_regret = md_GetOneOutInfererInfererNetworkRegretResponse.Fields().ByName("regret") +} + +var _ protoreflect.Message = (*fastReflection_GetOneOutInfererInfererNetworkRegretResponse)(nil) + +type fastReflection_GetOneOutInfererInfererNetworkRegretResponse GetOneOutInfererInfererNetworkRegretResponse + +func (x *GetOneOutInfererInfererNetworkRegretResponse) ProtoReflect() protoreflect.Message { + return (*fastReflection_GetOneOutInfererInfererNetworkRegretResponse)(x) +} + +func (x *GetOneOutInfererInfererNetworkRegretResponse) slowProtoReflect() protoreflect.Message { + mi := &file_emissions_v8_query_proto_msgTypes[41] + 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) +} + +var _fastReflection_GetOneOutInfererInfererNetworkRegretResponse_messageType fastReflection_GetOneOutInfererInfererNetworkRegretResponse_messageType +var _ protoreflect.MessageType = fastReflection_GetOneOutInfererInfererNetworkRegretResponse_messageType{} + +type fastReflection_GetOneOutInfererInfererNetworkRegretResponse_messageType struct{} + +func (x fastReflection_GetOneOutInfererInfererNetworkRegretResponse_messageType) Zero() protoreflect.Message { + return (*fastReflection_GetOneOutInfererInfererNetworkRegretResponse)(nil) +} +func (x fastReflection_GetOneOutInfererInfererNetworkRegretResponse_messageType) New() protoreflect.Message { + return new(fastReflection_GetOneOutInfererInfererNetworkRegretResponse) +} +func (x fastReflection_GetOneOutInfererInfererNetworkRegretResponse_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_GetOneOutInfererInfererNetworkRegretResponse +} + +// Descriptor returns message descriptor, which contains only the protobuf +// type information for the message. +func (x *fastReflection_GetOneOutInfererInfererNetworkRegretResponse) Descriptor() protoreflect.MessageDescriptor { + return md_GetOneOutInfererInfererNetworkRegretResponse +} + +// Type returns the message type, which encapsulates both Go and protobuf +// type information. If the Go type information is not needed, +// it is recommended that the message descriptor be used instead. +func (x *fastReflection_GetOneOutInfererInfererNetworkRegretResponse) Type() protoreflect.MessageType { + return _fastReflection_GetOneOutInfererInfererNetworkRegretResponse_messageType +} + +// New returns a newly allocated and mutable empty message. +func (x *fastReflection_GetOneOutInfererInfererNetworkRegretResponse) New() protoreflect.Message { + return new(fastReflection_GetOneOutInfererInfererNetworkRegretResponse) +} + +// Interface unwraps the message reflection interface and +// returns the underlying ProtoMessage interface. +func (x *fastReflection_GetOneOutInfererInfererNetworkRegretResponse) Interface() protoreflect.ProtoMessage { + return (*GetOneOutInfererInfererNetworkRegretResponse)(x) +} + +// Range iterates over every populated field in an undefined order, +// calling f for each field descriptor and value encountered. +// Range returns immediately if f returns false. +// While iterating, mutating operations may only be performed +// on the current field descriptor. +func (x *fastReflection_GetOneOutInfererInfererNetworkRegretResponse) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { + if x.Regret != nil { + value := protoreflect.ValueOfMessage(x.Regret.ProtoReflect()) + if !f(fd_GetOneOutInfererInfererNetworkRegretResponse_regret, value) { + return + } + } +} + +// Has reports whether a field is populated. +// +// Some fields have the property of nullability where it is possible to +// distinguish between the default value of a field and whether the field +// was explicitly populated with the default value. Singular message fields, +// member fields of a oneof, and proto2 scalar fields are nullable. Such +// fields are populated only if explicitly set. +// +// In other cases (aside from the nullable cases above), +// a proto3 scalar field is populated if it contains a non-zero value, and +// a repeated field is populated if it is non-empty. +func (x *fastReflection_GetOneOutInfererInfererNetworkRegretResponse) Has(fd protoreflect.FieldDescriptor) bool { + switch fd.FullName() { + case "emissions.v8.GetOneOutInfererInfererNetworkRegretResponse.regret": + return x.Regret != nil + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetOneOutInfererInfererNetworkRegretResponse")) + } + panic(fmt.Errorf("message emissions.v8.GetOneOutInfererInfererNetworkRegretResponse does not contain field %s", fd.FullName())) + } +} + +// Clear clears the field such that a subsequent Has call reports false. +// +// Clearing an extension field clears both the extension type and value +// associated with the given field number. +// +// Clear is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetOneOutInfererInfererNetworkRegretResponse) Clear(fd protoreflect.FieldDescriptor) { + switch fd.FullName() { + case "emissions.v8.GetOneOutInfererInfererNetworkRegretResponse.regret": + x.Regret = nil + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetOneOutInfererInfererNetworkRegretResponse")) + } + panic(fmt.Errorf("message emissions.v8.GetOneOutInfererInfererNetworkRegretResponse does not contain field %s", fd.FullName())) + } +} + +// Get retrieves the value for a field. +// +// For unpopulated scalars, it returns the default value, where +// the default value of a bytes scalar is guaranteed to be a copy. +// For unpopulated composite types, it returns an empty, read-only view +// of the value; to obtain a mutable reference, use Mutable. +func (x *fastReflection_GetOneOutInfererInfererNetworkRegretResponse) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { + switch descriptor.FullName() { + case "emissions.v8.GetOneOutInfererInfererNetworkRegretResponse.regret": + value := x.Regret + return protoreflect.ValueOfMessage(value.ProtoReflect()) + default: + if descriptor.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetOneOutInfererInfererNetworkRegretResponse")) + } + panic(fmt.Errorf("message emissions.v8.GetOneOutInfererInfererNetworkRegretResponse does not contain field %s", descriptor.FullName())) + } +} + +// Set stores the value for a field. +// +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType. +// When setting a composite type, it is unspecified whether the stored value +// aliases the source's memory in any way. If the composite value is an +// empty, read-only value, then it panics. +// +// Set is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetOneOutInfererInfererNetworkRegretResponse) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { + switch fd.FullName() { + case "emissions.v8.GetOneOutInfererInfererNetworkRegretResponse.regret": + x.Regret = value.Message().Interface().(*v3.TimestampedValue) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetOneOutInfererInfererNetworkRegretResponse")) + } + panic(fmt.Errorf("message emissions.v8.GetOneOutInfererInfererNetworkRegretResponse does not contain field %s", fd.FullName())) + } +} + +// Mutable returns a mutable reference to a composite type. +// +// If the field is unpopulated, it may allocate a composite value. +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType +// if not already stored. +// It panics if the field does not contain a composite type. +// +// Mutable is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetOneOutInfererInfererNetworkRegretResponse) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.GetOneOutInfererInfererNetworkRegretResponse.regret": + if x.Regret == nil { + x.Regret = new(v3.TimestampedValue) + } + return protoreflect.ValueOfMessage(x.Regret.ProtoReflect()) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetOneOutInfererInfererNetworkRegretResponse")) + } + panic(fmt.Errorf("message emissions.v8.GetOneOutInfererInfererNetworkRegretResponse does not contain field %s", fd.FullName())) + } +} + +// NewField returns a new value that is assignable to the field +// for the given descriptor. For scalars, this returns the default value. +// For lists, maps, and messages, this returns a new, empty, mutable value. +func (x *fastReflection_GetOneOutInfererInfererNetworkRegretResponse) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.GetOneOutInfererInfererNetworkRegretResponse.regret": + m := new(v3.TimestampedValue) + return protoreflect.ValueOfMessage(m.ProtoReflect()) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetOneOutInfererInfererNetworkRegretResponse")) + } + panic(fmt.Errorf("message emissions.v8.GetOneOutInfererInfererNetworkRegretResponse does not contain field %s", fd.FullName())) + } +} + +// WhichOneof reports which field within the oneof is populated, +// returning nil if none are populated. +// It panics if the oneof descriptor does not belong to this message. +func (x *fastReflection_GetOneOutInfererInfererNetworkRegretResponse) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { + switch d.FullName() { + default: + panic(fmt.Errorf("%s is not a oneof field in emissions.v8.GetOneOutInfererInfererNetworkRegretResponse", d.FullName())) + } + panic("unreachable") +} + +// GetUnknown retrieves the entire list of unknown fields. +// The caller may only mutate the contents of the RawFields +// if the mutated bytes are stored back into the message with SetUnknown. +func (x *fastReflection_GetOneOutInfererInfererNetworkRegretResponse) GetUnknown() protoreflect.RawFields { + return x.unknownFields +} + +// SetUnknown stores an entire list of unknown fields. +// The raw fields must be syntactically valid according to the wire format. +// An implementation may panic if this is not the case. +// Once stored, the caller must not mutate the content of the RawFields. +// An empty RawFields may be passed to clear the fields. +// +// SetUnknown is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetOneOutInfererInfererNetworkRegretResponse) SetUnknown(fields protoreflect.RawFields) { + x.unknownFields = fields +} + +// IsValid reports whether the message is valid. +// +// An invalid message is an empty, read-only value. +// +// An invalid message often corresponds to a nil pointer of the concrete +// message type, but the details are implementation dependent. +// Validity is not part of the protobuf data model, and may not +// be preserved in marshaling or other operations. +func (x *fastReflection_GetOneOutInfererInfererNetworkRegretResponse) IsValid() bool { + return x != nil +} + +// ProtoMethods returns optional fastReflectionFeature-path implementations of various operations. +// This method may return nil. +// +// The returned methods type is identical to +// "google.golang.org/protobuf/runtime/protoiface".Methods. +// Consult the protoiface package documentation for details. +func (x *fastReflection_GetOneOutInfererInfererNetworkRegretResponse) ProtoMethods() *protoiface.Methods { + size := func(input protoiface.SizeInput) protoiface.SizeOutput { + x := input.Message.Interface().(*GetOneOutInfererInfererNetworkRegretResponse) + if x == nil { + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: 0, + } + } + options := runtime.SizeInputToOptions(input) + _ = options + var n int + var l int + _ = l + if x.Regret != nil { + l = options.Size(x.Regret) + n += 1 + l + runtime.Sov(uint64(l)) + } + if x.unknownFields != nil { + n += len(x.unknownFields) + } + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: n, + } + } + + marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { + x := input.Message.Interface().(*GetOneOutInfererInfererNetworkRegretResponse) + if x == nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + options := runtime.MarshalInputToOptions(input) + _ = options + size := options.Size(x) + dAtA := make([]byte, size) + i := len(dAtA) + _ = i + var l int + _ = l + if x.unknownFields != nil { + i -= len(x.unknownFields) + copy(dAtA[i:], x.unknownFields) + } + if x.Regret != nil { + encoded, err := options.Marshal(x.Regret) + if err != nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = runtime.EncodeVarint(dAtA, i, uint64(len(encoded))) + i-- + dAtA[i] = 0xa + } + if input.Buf != nil { + input.Buf = append(input.Buf, dAtA...) + } else { + input.Buf = dAtA + } + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { + x := input.Message.Interface().(*GetOneOutInfererInfererNetworkRegretResponse) + if x == nil { + return protoiface.UnmarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Flags: input.Flags, + }, nil + } + options := runtime.UnmarshalInputToOptions(input) + _ = options + dAtA := input.Buf + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: GetOneOutInfererInfererNetworkRegretResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: GetOneOutInfererInfererNetworkRegretResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Regret", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + if x.Regret == nil { + x.Regret = &v3.TimestampedValue{} + } + if err := options.Unmarshal(dAtA[iNdEx:postIndex], x.Regret); err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := runtime.Skip(dAtA[iNdEx:]) + if err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if (iNdEx + skippy) > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + if !options.DiscardUnknown { + x.unknownFields = append(x.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + } + iNdEx += skippy + } + } + + if iNdEx > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, nil + } + return &protoiface.Methods{ + NoUnkeyedLiterals: struct{}{}, + Flags: protoiface.SupportMarshalDeterministic | protoiface.SupportUnmarshalDiscardUnknown, + Size: size, + Marshal: marshal, + Unmarshal: unmarshal, + Merge: nil, + CheckInitialized: nil, + } +} + +var ( + md_GetOneOutInfererForecasterNetworkRegretRequest protoreflect.MessageDescriptor + fd_GetOneOutInfererForecasterNetworkRegretRequest_topic_id protoreflect.FieldDescriptor + fd_GetOneOutInfererForecasterNetworkRegretRequest_one_out_inferer protoreflect.FieldDescriptor + fd_GetOneOutInfererForecasterNetworkRegretRequest_forecaster protoreflect.FieldDescriptor +) + +func init() { + file_emissions_v8_query_proto_init() + md_GetOneOutInfererForecasterNetworkRegretRequest = File_emissions_v8_query_proto.Messages().ByName("GetOneOutInfererForecasterNetworkRegretRequest") + fd_GetOneOutInfererForecasterNetworkRegretRequest_topic_id = md_GetOneOutInfererForecasterNetworkRegretRequest.Fields().ByName("topic_id") + fd_GetOneOutInfererForecasterNetworkRegretRequest_one_out_inferer = md_GetOneOutInfererForecasterNetworkRegretRequest.Fields().ByName("one_out_inferer") + fd_GetOneOutInfererForecasterNetworkRegretRequest_forecaster = md_GetOneOutInfererForecasterNetworkRegretRequest.Fields().ByName("forecaster") +} + +var _ protoreflect.Message = (*fastReflection_GetOneOutInfererForecasterNetworkRegretRequest)(nil) + +type fastReflection_GetOneOutInfererForecasterNetworkRegretRequest GetOneOutInfererForecasterNetworkRegretRequest + +func (x *GetOneOutInfererForecasterNetworkRegretRequest) ProtoReflect() protoreflect.Message { + return (*fastReflection_GetOneOutInfererForecasterNetworkRegretRequest)(x) +} + +func (x *GetOneOutInfererForecasterNetworkRegretRequest) slowProtoReflect() protoreflect.Message { + mi := &file_emissions_v8_query_proto_msgTypes[42] + 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) +} + +var _fastReflection_GetOneOutInfererForecasterNetworkRegretRequest_messageType fastReflection_GetOneOutInfererForecasterNetworkRegretRequest_messageType +var _ protoreflect.MessageType = fastReflection_GetOneOutInfererForecasterNetworkRegretRequest_messageType{} + +type fastReflection_GetOneOutInfererForecasterNetworkRegretRequest_messageType struct{} + +func (x fastReflection_GetOneOutInfererForecasterNetworkRegretRequest_messageType) Zero() protoreflect.Message { + return (*fastReflection_GetOneOutInfererForecasterNetworkRegretRequest)(nil) +} +func (x fastReflection_GetOneOutInfererForecasterNetworkRegretRequest_messageType) New() protoreflect.Message { + return new(fastReflection_GetOneOutInfererForecasterNetworkRegretRequest) +} +func (x fastReflection_GetOneOutInfererForecasterNetworkRegretRequest_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_GetOneOutInfererForecasterNetworkRegretRequest +} + +// Descriptor returns message descriptor, which contains only the protobuf +// type information for the message. +func (x *fastReflection_GetOneOutInfererForecasterNetworkRegretRequest) Descriptor() protoreflect.MessageDescriptor { + return md_GetOneOutInfererForecasterNetworkRegretRequest +} + +// Type returns the message type, which encapsulates both Go and protobuf +// type information. If the Go type information is not needed, +// it is recommended that the message descriptor be used instead. +func (x *fastReflection_GetOneOutInfererForecasterNetworkRegretRequest) Type() protoreflect.MessageType { + return _fastReflection_GetOneOutInfererForecasterNetworkRegretRequest_messageType +} + +// New returns a newly allocated and mutable empty message. +func (x *fastReflection_GetOneOutInfererForecasterNetworkRegretRequest) New() protoreflect.Message { + return new(fastReflection_GetOneOutInfererForecasterNetworkRegretRequest) +} + +// Interface unwraps the message reflection interface and +// returns the underlying ProtoMessage interface. +func (x *fastReflection_GetOneOutInfererForecasterNetworkRegretRequest) Interface() protoreflect.ProtoMessage { + return (*GetOneOutInfererForecasterNetworkRegretRequest)(x) +} + +// Range iterates over every populated field in an undefined order, +// calling f for each field descriptor and value encountered. +// Range returns immediately if f returns false. +// While iterating, mutating operations may only be performed +// on the current field descriptor. +func (x *fastReflection_GetOneOutInfererForecasterNetworkRegretRequest) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { + if x.TopicId != uint64(0) { + value := protoreflect.ValueOfUint64(x.TopicId) + if !f(fd_GetOneOutInfererForecasterNetworkRegretRequest_topic_id, value) { + return + } + } + if x.OneOutInferer != "" { + value := protoreflect.ValueOfString(x.OneOutInferer) + if !f(fd_GetOneOutInfererForecasterNetworkRegretRequest_one_out_inferer, value) { + return + } + } + if x.Forecaster != "" { + value := protoreflect.ValueOfString(x.Forecaster) + if !f(fd_GetOneOutInfererForecasterNetworkRegretRequest_forecaster, value) { + return + } + } +} + +// Has reports whether a field is populated. +// +// Some fields have the property of nullability where it is possible to +// distinguish between the default value of a field and whether the field +// was explicitly populated with the default value. Singular message fields, +// member fields of a oneof, and proto2 scalar fields are nullable. Such +// fields are populated only if explicitly set. +// +// In other cases (aside from the nullable cases above), +// a proto3 scalar field is populated if it contains a non-zero value, and +// a repeated field is populated if it is non-empty. +func (x *fastReflection_GetOneOutInfererForecasterNetworkRegretRequest) Has(fd protoreflect.FieldDescriptor) bool { + switch fd.FullName() { + case "emissions.v8.GetOneOutInfererForecasterNetworkRegretRequest.topic_id": + return x.TopicId != uint64(0) + case "emissions.v8.GetOneOutInfererForecasterNetworkRegretRequest.one_out_inferer": + return x.OneOutInferer != "" + case "emissions.v8.GetOneOutInfererForecasterNetworkRegretRequest.forecaster": + return x.Forecaster != "" + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetOneOutInfererForecasterNetworkRegretRequest")) + } + panic(fmt.Errorf("message emissions.v8.GetOneOutInfererForecasterNetworkRegretRequest does not contain field %s", fd.FullName())) + } +} + +// Clear clears the field such that a subsequent Has call reports false. +// +// Clearing an extension field clears both the extension type and value +// associated with the given field number. +// +// Clear is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetOneOutInfererForecasterNetworkRegretRequest) Clear(fd protoreflect.FieldDescriptor) { + switch fd.FullName() { + case "emissions.v8.GetOneOutInfererForecasterNetworkRegretRequest.topic_id": + x.TopicId = uint64(0) + case "emissions.v8.GetOneOutInfererForecasterNetworkRegretRequest.one_out_inferer": + x.OneOutInferer = "" + case "emissions.v8.GetOneOutInfererForecasterNetworkRegretRequest.forecaster": + x.Forecaster = "" + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetOneOutInfererForecasterNetworkRegretRequest")) + } + panic(fmt.Errorf("message emissions.v8.GetOneOutInfererForecasterNetworkRegretRequest does not contain field %s", fd.FullName())) + } +} + +// Get retrieves the value for a field. +// +// For unpopulated scalars, it returns the default value, where +// the default value of a bytes scalar is guaranteed to be a copy. +// For unpopulated composite types, it returns an empty, read-only view +// of the value; to obtain a mutable reference, use Mutable. +func (x *fastReflection_GetOneOutInfererForecasterNetworkRegretRequest) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { + switch descriptor.FullName() { + case "emissions.v8.GetOneOutInfererForecasterNetworkRegretRequest.topic_id": + value := x.TopicId + return protoreflect.ValueOfUint64(value) + case "emissions.v8.GetOneOutInfererForecasterNetworkRegretRequest.one_out_inferer": + value := x.OneOutInferer + return protoreflect.ValueOfString(value) + case "emissions.v8.GetOneOutInfererForecasterNetworkRegretRequest.forecaster": + value := x.Forecaster + return protoreflect.ValueOfString(value) + default: + if descriptor.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetOneOutInfererForecasterNetworkRegretRequest")) + } + panic(fmt.Errorf("message emissions.v8.GetOneOutInfererForecasterNetworkRegretRequest does not contain field %s", descriptor.FullName())) + } +} + +// Set stores the value for a field. +// +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType. +// When setting a composite type, it is unspecified whether the stored value +// aliases the source's memory in any way. If the composite value is an +// empty, read-only value, then it panics. +// +// Set is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetOneOutInfererForecasterNetworkRegretRequest) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { + switch fd.FullName() { + case "emissions.v8.GetOneOutInfererForecasterNetworkRegretRequest.topic_id": + x.TopicId = value.Uint() + case "emissions.v8.GetOneOutInfererForecasterNetworkRegretRequest.one_out_inferer": + x.OneOutInferer = value.Interface().(string) + case "emissions.v8.GetOneOutInfererForecasterNetworkRegretRequest.forecaster": + x.Forecaster = value.Interface().(string) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetOneOutInfererForecasterNetworkRegretRequest")) + } + panic(fmt.Errorf("message emissions.v8.GetOneOutInfererForecasterNetworkRegretRequest does not contain field %s", fd.FullName())) + } +} + +// Mutable returns a mutable reference to a composite type. +// +// If the field is unpopulated, it may allocate a composite value. +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType +// if not already stored. +// It panics if the field does not contain a composite type. +// +// Mutable is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetOneOutInfererForecasterNetworkRegretRequest) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.GetOneOutInfererForecasterNetworkRegretRequest.topic_id": + panic(fmt.Errorf("field topic_id of message emissions.v8.GetOneOutInfererForecasterNetworkRegretRequest is not mutable")) + case "emissions.v8.GetOneOutInfererForecasterNetworkRegretRequest.one_out_inferer": + panic(fmt.Errorf("field one_out_inferer of message emissions.v8.GetOneOutInfererForecasterNetworkRegretRequest is not mutable")) + case "emissions.v8.GetOneOutInfererForecasterNetworkRegretRequest.forecaster": + panic(fmt.Errorf("field forecaster of message emissions.v8.GetOneOutInfererForecasterNetworkRegretRequest is not mutable")) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetOneOutInfererForecasterNetworkRegretRequest")) + } + panic(fmt.Errorf("message emissions.v8.GetOneOutInfererForecasterNetworkRegretRequest does not contain field %s", fd.FullName())) + } +} + +// NewField returns a new value that is assignable to the field +// for the given descriptor. For scalars, this returns the default value. +// For lists, maps, and messages, this returns a new, empty, mutable value. +func (x *fastReflection_GetOneOutInfererForecasterNetworkRegretRequest) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.GetOneOutInfererForecasterNetworkRegretRequest.topic_id": + return protoreflect.ValueOfUint64(uint64(0)) + case "emissions.v8.GetOneOutInfererForecasterNetworkRegretRequest.one_out_inferer": + return protoreflect.ValueOfString("") + case "emissions.v8.GetOneOutInfererForecasterNetworkRegretRequest.forecaster": + return protoreflect.ValueOfString("") + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetOneOutInfererForecasterNetworkRegretRequest")) + } + panic(fmt.Errorf("message emissions.v8.GetOneOutInfererForecasterNetworkRegretRequest does not contain field %s", fd.FullName())) + } +} + +// WhichOneof reports which field within the oneof is populated, +// returning nil if none are populated. +// It panics if the oneof descriptor does not belong to this message. +func (x *fastReflection_GetOneOutInfererForecasterNetworkRegretRequest) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { + switch d.FullName() { + default: + panic(fmt.Errorf("%s is not a oneof field in emissions.v8.GetOneOutInfererForecasterNetworkRegretRequest", d.FullName())) + } + panic("unreachable") +} + +// GetUnknown retrieves the entire list of unknown fields. +// The caller may only mutate the contents of the RawFields +// if the mutated bytes are stored back into the message with SetUnknown. +func (x *fastReflection_GetOneOutInfererForecasterNetworkRegretRequest) GetUnknown() protoreflect.RawFields { + return x.unknownFields +} + +// SetUnknown stores an entire list of unknown fields. +// The raw fields must be syntactically valid according to the wire format. +// An implementation may panic if this is not the case. +// Once stored, the caller must not mutate the content of the RawFields. +// An empty RawFields may be passed to clear the fields. +// +// SetUnknown is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetOneOutInfererForecasterNetworkRegretRequest) SetUnknown(fields protoreflect.RawFields) { + x.unknownFields = fields +} + +// IsValid reports whether the message is valid. +// +// An invalid message is an empty, read-only value. +// +// An invalid message often corresponds to a nil pointer of the concrete +// message type, but the details are implementation dependent. +// Validity is not part of the protobuf data model, and may not +// be preserved in marshaling or other operations. +func (x *fastReflection_GetOneOutInfererForecasterNetworkRegretRequest) IsValid() bool { + return x != nil +} + +// ProtoMethods returns optional fastReflectionFeature-path implementations of various operations. +// This method may return nil. +// +// The returned methods type is identical to +// "google.golang.org/protobuf/runtime/protoiface".Methods. +// Consult the protoiface package documentation for details. +func (x *fastReflection_GetOneOutInfererForecasterNetworkRegretRequest) ProtoMethods() *protoiface.Methods { + size := func(input protoiface.SizeInput) protoiface.SizeOutput { + x := input.Message.Interface().(*GetOneOutInfererForecasterNetworkRegretRequest) + if x == nil { + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: 0, + } + } + options := runtime.SizeInputToOptions(input) + _ = options + var n int + var l int + _ = l + if x.TopicId != 0 { + n += 1 + runtime.Sov(uint64(x.TopicId)) + } + l = len(x.OneOutInferer) + if l > 0 { + n += 1 + l + runtime.Sov(uint64(l)) + } + l = len(x.Forecaster) + if l > 0 { + n += 1 + l + runtime.Sov(uint64(l)) + } + if x.unknownFields != nil { + n += len(x.unknownFields) + } + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: n, + } + } + + marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { + x := input.Message.Interface().(*GetOneOutInfererForecasterNetworkRegretRequest) + if x == nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + options := runtime.MarshalInputToOptions(input) + _ = options + size := options.Size(x) + dAtA := make([]byte, size) + i := len(dAtA) + _ = i + var l int + _ = l + if x.unknownFields != nil { + i -= len(x.unknownFields) + copy(dAtA[i:], x.unknownFields) + } + if len(x.Forecaster) > 0 { + i -= len(x.Forecaster) + copy(dAtA[i:], x.Forecaster) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.Forecaster))) + i-- + dAtA[i] = 0x1a + } + if len(x.OneOutInferer) > 0 { + i -= len(x.OneOutInferer) + copy(dAtA[i:], x.OneOutInferer) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.OneOutInferer))) + i-- + dAtA[i] = 0x12 + } + if x.TopicId != 0 { + i = runtime.EncodeVarint(dAtA, i, uint64(x.TopicId)) + i-- + dAtA[i] = 0x8 + } + if input.Buf != nil { + input.Buf = append(input.Buf, dAtA...) + } else { + input.Buf = dAtA + } + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { + x := input.Message.Interface().(*GetOneOutInfererForecasterNetworkRegretRequest) + if x == nil { + return protoiface.UnmarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Flags: input.Flags, + }, nil + } + options := runtime.UnmarshalInputToOptions(input) + _ = options + dAtA := input.Buf + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: GetOneOutInfererForecasterNetworkRegretRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: GetOneOutInfererForecasterNetworkRegretRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field TopicId", wireType) + } + x.TopicId = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + x.TopicId |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 2: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field OneOutInferer", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + x.OneOutInferer = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 3: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Forecaster", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + x.Forecaster = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := runtime.Skip(dAtA[iNdEx:]) + if err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if (iNdEx + skippy) > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + if !options.DiscardUnknown { + x.unknownFields = append(x.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + } + iNdEx += skippy + } + } + + if iNdEx > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, nil + } + return &protoiface.Methods{ + NoUnkeyedLiterals: struct{}{}, + Flags: protoiface.SupportMarshalDeterministic | protoiface.SupportUnmarshalDiscardUnknown, + Size: size, + Marshal: marshal, + Unmarshal: unmarshal, + Merge: nil, + CheckInitialized: nil, + } +} + +var ( + md_GetOneOutInfererForecasterNetworkRegretResponse protoreflect.MessageDescriptor + fd_GetOneOutInfererForecasterNetworkRegretResponse_regret protoreflect.FieldDescriptor +) + +func init() { + file_emissions_v8_query_proto_init() + md_GetOneOutInfererForecasterNetworkRegretResponse = File_emissions_v8_query_proto.Messages().ByName("GetOneOutInfererForecasterNetworkRegretResponse") + fd_GetOneOutInfererForecasterNetworkRegretResponse_regret = md_GetOneOutInfererForecasterNetworkRegretResponse.Fields().ByName("regret") +} + +var _ protoreflect.Message = (*fastReflection_GetOneOutInfererForecasterNetworkRegretResponse)(nil) + +type fastReflection_GetOneOutInfererForecasterNetworkRegretResponse GetOneOutInfererForecasterNetworkRegretResponse + +func (x *GetOneOutInfererForecasterNetworkRegretResponse) ProtoReflect() protoreflect.Message { + return (*fastReflection_GetOneOutInfererForecasterNetworkRegretResponse)(x) +} + +func (x *GetOneOutInfererForecasterNetworkRegretResponse) slowProtoReflect() protoreflect.Message { + mi := &file_emissions_v8_query_proto_msgTypes[43] + 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) +} + +var _fastReflection_GetOneOutInfererForecasterNetworkRegretResponse_messageType fastReflection_GetOneOutInfererForecasterNetworkRegretResponse_messageType +var _ protoreflect.MessageType = fastReflection_GetOneOutInfererForecasterNetworkRegretResponse_messageType{} + +type fastReflection_GetOneOutInfererForecasterNetworkRegretResponse_messageType struct{} + +func (x fastReflection_GetOneOutInfererForecasterNetworkRegretResponse_messageType) Zero() protoreflect.Message { + return (*fastReflection_GetOneOutInfererForecasterNetworkRegretResponse)(nil) +} +func (x fastReflection_GetOneOutInfererForecasterNetworkRegretResponse_messageType) New() protoreflect.Message { + return new(fastReflection_GetOneOutInfererForecasterNetworkRegretResponse) +} +func (x fastReflection_GetOneOutInfererForecasterNetworkRegretResponse_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_GetOneOutInfererForecasterNetworkRegretResponse +} + +// Descriptor returns message descriptor, which contains only the protobuf +// type information for the message. +func (x *fastReflection_GetOneOutInfererForecasterNetworkRegretResponse) Descriptor() protoreflect.MessageDescriptor { + return md_GetOneOutInfererForecasterNetworkRegretResponse +} + +// Type returns the message type, which encapsulates both Go and protobuf +// type information. If the Go type information is not needed, +// it is recommended that the message descriptor be used instead. +func (x *fastReflection_GetOneOutInfererForecasterNetworkRegretResponse) Type() protoreflect.MessageType { + return _fastReflection_GetOneOutInfererForecasterNetworkRegretResponse_messageType +} + +// New returns a newly allocated and mutable empty message. +func (x *fastReflection_GetOneOutInfererForecasterNetworkRegretResponse) New() protoreflect.Message { + return new(fastReflection_GetOneOutInfererForecasterNetworkRegretResponse) +} + +// Interface unwraps the message reflection interface and +// returns the underlying ProtoMessage interface. +func (x *fastReflection_GetOneOutInfererForecasterNetworkRegretResponse) Interface() protoreflect.ProtoMessage { + return (*GetOneOutInfererForecasterNetworkRegretResponse)(x) +} + +// Range iterates over every populated field in an undefined order, +// calling f for each field descriptor and value encountered. +// Range returns immediately if f returns false. +// While iterating, mutating operations may only be performed +// on the current field descriptor. +func (x *fastReflection_GetOneOutInfererForecasterNetworkRegretResponse) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { + if x.Regret != nil { + value := protoreflect.ValueOfMessage(x.Regret.ProtoReflect()) + if !f(fd_GetOneOutInfererForecasterNetworkRegretResponse_regret, value) { + return + } + } +} + +// Has reports whether a field is populated. +// +// Some fields have the property of nullability where it is possible to +// distinguish between the default value of a field and whether the field +// was explicitly populated with the default value. Singular message fields, +// member fields of a oneof, and proto2 scalar fields are nullable. Such +// fields are populated only if explicitly set. +// +// In other cases (aside from the nullable cases above), +// a proto3 scalar field is populated if it contains a non-zero value, and +// a repeated field is populated if it is non-empty. +func (x *fastReflection_GetOneOutInfererForecasterNetworkRegretResponse) Has(fd protoreflect.FieldDescriptor) bool { + switch fd.FullName() { + case "emissions.v8.GetOneOutInfererForecasterNetworkRegretResponse.regret": + return x.Regret != nil + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetOneOutInfererForecasterNetworkRegretResponse")) + } + panic(fmt.Errorf("message emissions.v8.GetOneOutInfererForecasterNetworkRegretResponse does not contain field %s", fd.FullName())) + } +} + +// Clear clears the field such that a subsequent Has call reports false. +// +// Clearing an extension field clears both the extension type and value +// associated with the given field number. +// +// Clear is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetOneOutInfererForecasterNetworkRegretResponse) Clear(fd protoreflect.FieldDescriptor) { + switch fd.FullName() { + case "emissions.v8.GetOneOutInfererForecasterNetworkRegretResponse.regret": + x.Regret = nil + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetOneOutInfererForecasterNetworkRegretResponse")) + } + panic(fmt.Errorf("message emissions.v8.GetOneOutInfererForecasterNetworkRegretResponse does not contain field %s", fd.FullName())) + } +} + +// Get retrieves the value for a field. +// +// For unpopulated scalars, it returns the default value, where +// the default value of a bytes scalar is guaranteed to be a copy. +// For unpopulated composite types, it returns an empty, read-only view +// of the value; to obtain a mutable reference, use Mutable. +func (x *fastReflection_GetOneOutInfererForecasterNetworkRegretResponse) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { + switch descriptor.FullName() { + case "emissions.v8.GetOneOutInfererForecasterNetworkRegretResponse.regret": + value := x.Regret + return protoreflect.ValueOfMessage(value.ProtoReflect()) + default: + if descriptor.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetOneOutInfererForecasterNetworkRegretResponse")) + } + panic(fmt.Errorf("message emissions.v8.GetOneOutInfererForecasterNetworkRegretResponse does not contain field %s", descriptor.FullName())) + } +} + +// Set stores the value for a field. +// +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType. +// When setting a composite type, it is unspecified whether the stored value +// aliases the source's memory in any way. If the composite value is an +// empty, read-only value, then it panics. +// +// Set is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetOneOutInfererForecasterNetworkRegretResponse) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { + switch fd.FullName() { + case "emissions.v8.GetOneOutInfererForecasterNetworkRegretResponse.regret": + x.Regret = value.Message().Interface().(*v3.TimestampedValue) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetOneOutInfererForecasterNetworkRegretResponse")) + } + panic(fmt.Errorf("message emissions.v8.GetOneOutInfererForecasterNetworkRegretResponse does not contain field %s", fd.FullName())) + } +} + +// Mutable returns a mutable reference to a composite type. +// +// If the field is unpopulated, it may allocate a composite value. +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType +// if not already stored. +// It panics if the field does not contain a composite type. +// +// Mutable is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetOneOutInfererForecasterNetworkRegretResponse) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.GetOneOutInfererForecasterNetworkRegretResponse.regret": + if x.Regret == nil { + x.Regret = new(v3.TimestampedValue) + } + return protoreflect.ValueOfMessage(x.Regret.ProtoReflect()) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetOneOutInfererForecasterNetworkRegretResponse")) + } + panic(fmt.Errorf("message emissions.v8.GetOneOutInfererForecasterNetworkRegretResponse does not contain field %s", fd.FullName())) + } +} + +// NewField returns a new value that is assignable to the field +// for the given descriptor. For scalars, this returns the default value. +// For lists, maps, and messages, this returns a new, empty, mutable value. +func (x *fastReflection_GetOneOutInfererForecasterNetworkRegretResponse) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.GetOneOutInfererForecasterNetworkRegretResponse.regret": + m := new(v3.TimestampedValue) + return protoreflect.ValueOfMessage(m.ProtoReflect()) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetOneOutInfererForecasterNetworkRegretResponse")) + } + panic(fmt.Errorf("message emissions.v8.GetOneOutInfererForecasterNetworkRegretResponse does not contain field %s", fd.FullName())) + } +} + +// WhichOneof reports which field within the oneof is populated, +// returning nil if none are populated. +// It panics if the oneof descriptor does not belong to this message. +func (x *fastReflection_GetOneOutInfererForecasterNetworkRegretResponse) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { + switch d.FullName() { + default: + panic(fmt.Errorf("%s is not a oneof field in emissions.v8.GetOneOutInfererForecasterNetworkRegretResponse", d.FullName())) + } + panic("unreachable") +} + +// GetUnknown retrieves the entire list of unknown fields. +// The caller may only mutate the contents of the RawFields +// if the mutated bytes are stored back into the message with SetUnknown. +func (x *fastReflection_GetOneOutInfererForecasterNetworkRegretResponse) GetUnknown() protoreflect.RawFields { + return x.unknownFields +} + +// SetUnknown stores an entire list of unknown fields. +// The raw fields must be syntactically valid according to the wire format. +// An implementation may panic if this is not the case. +// Once stored, the caller must not mutate the content of the RawFields. +// An empty RawFields may be passed to clear the fields. +// +// SetUnknown is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetOneOutInfererForecasterNetworkRegretResponse) SetUnknown(fields protoreflect.RawFields) { + x.unknownFields = fields +} + +// IsValid reports whether the message is valid. +// +// An invalid message is an empty, read-only value. +// +// An invalid message often corresponds to a nil pointer of the concrete +// message type, but the details are implementation dependent. +// Validity is not part of the protobuf data model, and may not +// be preserved in marshaling or other operations. +func (x *fastReflection_GetOneOutInfererForecasterNetworkRegretResponse) IsValid() bool { + return x != nil +} + +// ProtoMethods returns optional fastReflectionFeature-path implementations of various operations. +// This method may return nil. +// +// The returned methods type is identical to +// "google.golang.org/protobuf/runtime/protoiface".Methods. +// Consult the protoiface package documentation for details. +func (x *fastReflection_GetOneOutInfererForecasterNetworkRegretResponse) ProtoMethods() *protoiface.Methods { + size := func(input protoiface.SizeInput) protoiface.SizeOutput { + x := input.Message.Interface().(*GetOneOutInfererForecasterNetworkRegretResponse) + if x == nil { + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: 0, + } + } + options := runtime.SizeInputToOptions(input) + _ = options + var n int + var l int + _ = l + if x.Regret != nil { + l = options.Size(x.Regret) + n += 1 + l + runtime.Sov(uint64(l)) + } + if x.unknownFields != nil { + n += len(x.unknownFields) + } + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: n, + } + } + + marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { + x := input.Message.Interface().(*GetOneOutInfererForecasterNetworkRegretResponse) + if x == nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + options := runtime.MarshalInputToOptions(input) + _ = options + size := options.Size(x) + dAtA := make([]byte, size) + i := len(dAtA) + _ = i + var l int + _ = l + if x.unknownFields != nil { + i -= len(x.unknownFields) + copy(dAtA[i:], x.unknownFields) + } + if x.Regret != nil { + encoded, err := options.Marshal(x.Regret) + if err != nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = runtime.EncodeVarint(dAtA, i, uint64(len(encoded))) + i-- + dAtA[i] = 0xa + } + if input.Buf != nil { + input.Buf = append(input.Buf, dAtA...) + } else { + input.Buf = dAtA + } + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { + x := input.Message.Interface().(*GetOneOutInfererForecasterNetworkRegretResponse) + if x == nil { + return protoiface.UnmarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Flags: input.Flags, + }, nil + } + options := runtime.UnmarshalInputToOptions(input) + _ = options + dAtA := input.Buf + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: GetOneOutInfererForecasterNetworkRegretResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: GetOneOutInfererForecasterNetworkRegretResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Regret", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + if x.Regret == nil { + x.Regret = &v3.TimestampedValue{} + } + if err := options.Unmarshal(dAtA[iNdEx:postIndex], x.Regret); err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := runtime.Skip(dAtA[iNdEx:]) + if err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if (iNdEx + skippy) > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + if !options.DiscardUnknown { + x.unknownFields = append(x.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + } + iNdEx += skippy + } + } + + if iNdEx > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, nil + } + return &protoiface.Methods{ + NoUnkeyedLiterals: struct{}{}, + Flags: protoiface.SupportMarshalDeterministic | protoiface.SupportUnmarshalDiscardUnknown, + Size: size, + Marshal: marshal, + Unmarshal: unmarshal, + Merge: nil, + CheckInitialized: nil, + } +} + +var ( + md_GetOneOutForecasterInfererNetworkRegretRequest protoreflect.MessageDescriptor + fd_GetOneOutForecasterInfererNetworkRegretRequest_topic_id protoreflect.FieldDescriptor + fd_GetOneOutForecasterInfererNetworkRegretRequest_one_out_forecaster protoreflect.FieldDescriptor + fd_GetOneOutForecasterInfererNetworkRegretRequest_inferer protoreflect.FieldDescriptor +) + +func init() { + file_emissions_v8_query_proto_init() + md_GetOneOutForecasterInfererNetworkRegretRequest = File_emissions_v8_query_proto.Messages().ByName("GetOneOutForecasterInfererNetworkRegretRequest") + fd_GetOneOutForecasterInfererNetworkRegretRequest_topic_id = md_GetOneOutForecasterInfererNetworkRegretRequest.Fields().ByName("topic_id") + fd_GetOneOutForecasterInfererNetworkRegretRequest_one_out_forecaster = md_GetOneOutForecasterInfererNetworkRegretRequest.Fields().ByName("one_out_forecaster") + fd_GetOneOutForecasterInfererNetworkRegretRequest_inferer = md_GetOneOutForecasterInfererNetworkRegretRequest.Fields().ByName("inferer") +} + +var _ protoreflect.Message = (*fastReflection_GetOneOutForecasterInfererNetworkRegretRequest)(nil) + +type fastReflection_GetOneOutForecasterInfererNetworkRegretRequest GetOneOutForecasterInfererNetworkRegretRequest + +func (x *GetOneOutForecasterInfererNetworkRegretRequest) ProtoReflect() protoreflect.Message { + return (*fastReflection_GetOneOutForecasterInfererNetworkRegretRequest)(x) +} + +func (x *GetOneOutForecasterInfererNetworkRegretRequest) slowProtoReflect() protoreflect.Message { + mi := &file_emissions_v8_query_proto_msgTypes[44] + 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) +} + +var _fastReflection_GetOneOutForecasterInfererNetworkRegretRequest_messageType fastReflection_GetOneOutForecasterInfererNetworkRegretRequest_messageType +var _ protoreflect.MessageType = fastReflection_GetOneOutForecasterInfererNetworkRegretRequest_messageType{} + +type fastReflection_GetOneOutForecasterInfererNetworkRegretRequest_messageType struct{} + +func (x fastReflection_GetOneOutForecasterInfererNetworkRegretRequest_messageType) Zero() protoreflect.Message { + return (*fastReflection_GetOneOutForecasterInfererNetworkRegretRequest)(nil) +} +func (x fastReflection_GetOneOutForecasterInfererNetworkRegretRequest_messageType) New() protoreflect.Message { + return new(fastReflection_GetOneOutForecasterInfererNetworkRegretRequest) +} +func (x fastReflection_GetOneOutForecasterInfererNetworkRegretRequest_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_GetOneOutForecasterInfererNetworkRegretRequest +} + +// Descriptor returns message descriptor, which contains only the protobuf +// type information for the message. +func (x *fastReflection_GetOneOutForecasterInfererNetworkRegretRequest) Descriptor() protoreflect.MessageDescriptor { + return md_GetOneOutForecasterInfererNetworkRegretRequest +} + +// Type returns the message type, which encapsulates both Go and protobuf +// type information. If the Go type information is not needed, +// it is recommended that the message descriptor be used instead. +func (x *fastReflection_GetOneOutForecasterInfererNetworkRegretRequest) Type() protoreflect.MessageType { + return _fastReflection_GetOneOutForecasterInfererNetworkRegretRequest_messageType +} + +// New returns a newly allocated and mutable empty message. +func (x *fastReflection_GetOneOutForecasterInfererNetworkRegretRequest) New() protoreflect.Message { + return new(fastReflection_GetOneOutForecasterInfererNetworkRegretRequest) +} + +// Interface unwraps the message reflection interface and +// returns the underlying ProtoMessage interface. +func (x *fastReflection_GetOneOutForecasterInfererNetworkRegretRequest) Interface() protoreflect.ProtoMessage { + return (*GetOneOutForecasterInfererNetworkRegretRequest)(x) +} + +// Range iterates over every populated field in an undefined order, +// calling f for each field descriptor and value encountered. +// Range returns immediately if f returns false. +// While iterating, mutating operations may only be performed +// on the current field descriptor. +func (x *fastReflection_GetOneOutForecasterInfererNetworkRegretRequest) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { + if x.TopicId != uint64(0) { + value := protoreflect.ValueOfUint64(x.TopicId) + if !f(fd_GetOneOutForecasterInfererNetworkRegretRequest_topic_id, value) { + return + } + } + if x.OneOutForecaster != "" { + value := protoreflect.ValueOfString(x.OneOutForecaster) + if !f(fd_GetOneOutForecasterInfererNetworkRegretRequest_one_out_forecaster, value) { + return + } + } + if x.Inferer != "" { + value := protoreflect.ValueOfString(x.Inferer) + if !f(fd_GetOneOutForecasterInfererNetworkRegretRequest_inferer, value) { + return + } + } +} + +// Has reports whether a field is populated. +// +// Some fields have the property of nullability where it is possible to +// distinguish between the default value of a field and whether the field +// was explicitly populated with the default value. Singular message fields, +// member fields of a oneof, and proto2 scalar fields are nullable. Such +// fields are populated only if explicitly set. +// +// In other cases (aside from the nullable cases above), +// a proto3 scalar field is populated if it contains a non-zero value, and +// a repeated field is populated if it is non-empty. +func (x *fastReflection_GetOneOutForecasterInfererNetworkRegretRequest) Has(fd protoreflect.FieldDescriptor) bool { + switch fd.FullName() { + case "emissions.v8.GetOneOutForecasterInfererNetworkRegretRequest.topic_id": + return x.TopicId != uint64(0) + case "emissions.v8.GetOneOutForecasterInfererNetworkRegretRequest.one_out_forecaster": + return x.OneOutForecaster != "" + case "emissions.v8.GetOneOutForecasterInfererNetworkRegretRequest.inferer": + return x.Inferer != "" + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetOneOutForecasterInfererNetworkRegretRequest")) + } + panic(fmt.Errorf("message emissions.v8.GetOneOutForecasterInfererNetworkRegretRequest does not contain field %s", fd.FullName())) + } +} + +// Clear clears the field such that a subsequent Has call reports false. +// +// Clearing an extension field clears both the extension type and value +// associated with the given field number. +// +// Clear is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetOneOutForecasterInfererNetworkRegretRequest) Clear(fd protoreflect.FieldDescriptor) { + switch fd.FullName() { + case "emissions.v8.GetOneOutForecasterInfererNetworkRegretRequest.topic_id": + x.TopicId = uint64(0) + case "emissions.v8.GetOneOutForecasterInfererNetworkRegretRequest.one_out_forecaster": + x.OneOutForecaster = "" + case "emissions.v8.GetOneOutForecasterInfererNetworkRegretRequest.inferer": + x.Inferer = "" + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetOneOutForecasterInfererNetworkRegretRequest")) + } + panic(fmt.Errorf("message emissions.v8.GetOneOutForecasterInfererNetworkRegretRequest does not contain field %s", fd.FullName())) + } +} + +// Get retrieves the value for a field. +// +// For unpopulated scalars, it returns the default value, where +// the default value of a bytes scalar is guaranteed to be a copy. +// For unpopulated composite types, it returns an empty, read-only view +// of the value; to obtain a mutable reference, use Mutable. +func (x *fastReflection_GetOneOutForecasterInfererNetworkRegretRequest) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { + switch descriptor.FullName() { + case "emissions.v8.GetOneOutForecasterInfererNetworkRegretRequest.topic_id": + value := x.TopicId + return protoreflect.ValueOfUint64(value) + case "emissions.v8.GetOneOutForecasterInfererNetworkRegretRequest.one_out_forecaster": + value := x.OneOutForecaster + return protoreflect.ValueOfString(value) + case "emissions.v8.GetOneOutForecasterInfererNetworkRegretRequest.inferer": + value := x.Inferer + return protoreflect.ValueOfString(value) + default: + if descriptor.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetOneOutForecasterInfererNetworkRegretRequest")) + } + panic(fmt.Errorf("message emissions.v8.GetOneOutForecasterInfererNetworkRegretRequest does not contain field %s", descriptor.FullName())) + } +} + +// Set stores the value for a field. +// +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType. +// When setting a composite type, it is unspecified whether the stored value +// aliases the source's memory in any way. If the composite value is an +// empty, read-only value, then it panics. +// +// Set is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetOneOutForecasterInfererNetworkRegretRequest) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { + switch fd.FullName() { + case "emissions.v8.GetOneOutForecasterInfererNetworkRegretRequest.topic_id": + x.TopicId = value.Uint() + case "emissions.v8.GetOneOutForecasterInfererNetworkRegretRequest.one_out_forecaster": + x.OneOutForecaster = value.Interface().(string) + case "emissions.v8.GetOneOutForecasterInfererNetworkRegretRequest.inferer": + x.Inferer = value.Interface().(string) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetOneOutForecasterInfererNetworkRegretRequest")) + } + panic(fmt.Errorf("message emissions.v8.GetOneOutForecasterInfererNetworkRegretRequest does not contain field %s", fd.FullName())) + } +} + +// Mutable returns a mutable reference to a composite type. +// +// If the field is unpopulated, it may allocate a composite value. +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType +// if not already stored. +// It panics if the field does not contain a composite type. +// +// Mutable is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetOneOutForecasterInfererNetworkRegretRequest) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.GetOneOutForecasterInfererNetworkRegretRequest.topic_id": + panic(fmt.Errorf("field topic_id of message emissions.v8.GetOneOutForecasterInfererNetworkRegretRequest is not mutable")) + case "emissions.v8.GetOneOutForecasterInfererNetworkRegretRequest.one_out_forecaster": + panic(fmt.Errorf("field one_out_forecaster of message emissions.v8.GetOneOutForecasterInfererNetworkRegretRequest is not mutable")) + case "emissions.v8.GetOneOutForecasterInfererNetworkRegretRequest.inferer": + panic(fmt.Errorf("field inferer of message emissions.v8.GetOneOutForecasterInfererNetworkRegretRequest is not mutable")) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetOneOutForecasterInfererNetworkRegretRequest")) + } + panic(fmt.Errorf("message emissions.v8.GetOneOutForecasterInfererNetworkRegretRequest does not contain field %s", fd.FullName())) + } +} + +// NewField returns a new value that is assignable to the field +// for the given descriptor. For scalars, this returns the default value. +// For lists, maps, and messages, this returns a new, empty, mutable value. +func (x *fastReflection_GetOneOutForecasterInfererNetworkRegretRequest) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.GetOneOutForecasterInfererNetworkRegretRequest.topic_id": + return protoreflect.ValueOfUint64(uint64(0)) + case "emissions.v8.GetOneOutForecasterInfererNetworkRegretRequest.one_out_forecaster": + return protoreflect.ValueOfString("") + case "emissions.v8.GetOneOutForecasterInfererNetworkRegretRequest.inferer": + return protoreflect.ValueOfString("") + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetOneOutForecasterInfererNetworkRegretRequest")) + } + panic(fmt.Errorf("message emissions.v8.GetOneOutForecasterInfererNetworkRegretRequest does not contain field %s", fd.FullName())) + } +} + +// WhichOneof reports which field within the oneof is populated, +// returning nil if none are populated. +// It panics if the oneof descriptor does not belong to this message. +func (x *fastReflection_GetOneOutForecasterInfererNetworkRegretRequest) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { + switch d.FullName() { + default: + panic(fmt.Errorf("%s is not a oneof field in emissions.v8.GetOneOutForecasterInfererNetworkRegretRequest", d.FullName())) + } + panic("unreachable") +} + +// GetUnknown retrieves the entire list of unknown fields. +// The caller may only mutate the contents of the RawFields +// if the mutated bytes are stored back into the message with SetUnknown. +func (x *fastReflection_GetOneOutForecasterInfererNetworkRegretRequest) GetUnknown() protoreflect.RawFields { + return x.unknownFields +} + +// SetUnknown stores an entire list of unknown fields. +// The raw fields must be syntactically valid according to the wire format. +// An implementation may panic if this is not the case. +// Once stored, the caller must not mutate the content of the RawFields. +// An empty RawFields may be passed to clear the fields. +// +// SetUnknown is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetOneOutForecasterInfererNetworkRegretRequest) SetUnknown(fields protoreflect.RawFields) { + x.unknownFields = fields +} + +// IsValid reports whether the message is valid. +// +// An invalid message is an empty, read-only value. +// +// An invalid message often corresponds to a nil pointer of the concrete +// message type, but the details are implementation dependent. +// Validity is not part of the protobuf data model, and may not +// be preserved in marshaling or other operations. +func (x *fastReflection_GetOneOutForecasterInfererNetworkRegretRequest) IsValid() bool { + return x != nil +} + +// ProtoMethods returns optional fastReflectionFeature-path implementations of various operations. +// This method may return nil. +// +// The returned methods type is identical to +// "google.golang.org/protobuf/runtime/protoiface".Methods. +// Consult the protoiface package documentation for details. +func (x *fastReflection_GetOneOutForecasterInfererNetworkRegretRequest) ProtoMethods() *protoiface.Methods { + size := func(input protoiface.SizeInput) protoiface.SizeOutput { + x := input.Message.Interface().(*GetOneOutForecasterInfererNetworkRegretRequest) + if x == nil { + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: 0, + } + } + options := runtime.SizeInputToOptions(input) + _ = options + var n int + var l int + _ = l + if x.TopicId != 0 { + n += 1 + runtime.Sov(uint64(x.TopicId)) + } + l = len(x.OneOutForecaster) + if l > 0 { + n += 1 + l + runtime.Sov(uint64(l)) + } + l = len(x.Inferer) + if l > 0 { + n += 1 + l + runtime.Sov(uint64(l)) + } + if x.unknownFields != nil { + n += len(x.unknownFields) + } + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: n, + } + } + + marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { + x := input.Message.Interface().(*GetOneOutForecasterInfererNetworkRegretRequest) + if x == nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + options := runtime.MarshalInputToOptions(input) + _ = options + size := options.Size(x) + dAtA := make([]byte, size) + i := len(dAtA) + _ = i + var l int + _ = l + if x.unknownFields != nil { + i -= len(x.unknownFields) + copy(dAtA[i:], x.unknownFields) + } + if len(x.Inferer) > 0 { + i -= len(x.Inferer) + copy(dAtA[i:], x.Inferer) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.Inferer))) + i-- + dAtA[i] = 0x1a + } + if len(x.OneOutForecaster) > 0 { + i -= len(x.OneOutForecaster) + copy(dAtA[i:], x.OneOutForecaster) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.OneOutForecaster))) + i-- + dAtA[i] = 0x12 + } + if x.TopicId != 0 { + i = runtime.EncodeVarint(dAtA, i, uint64(x.TopicId)) + i-- + dAtA[i] = 0x8 + } + if input.Buf != nil { + input.Buf = append(input.Buf, dAtA...) + } else { + input.Buf = dAtA + } + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { + x := input.Message.Interface().(*GetOneOutForecasterInfererNetworkRegretRequest) + if x == nil { + return protoiface.UnmarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Flags: input.Flags, + }, nil + } + options := runtime.UnmarshalInputToOptions(input) + _ = options + dAtA := input.Buf + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: GetOneOutForecasterInfererNetworkRegretRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: GetOneOutForecasterInfererNetworkRegretRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field TopicId", wireType) + } + x.TopicId = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + x.TopicId |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 2: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field OneOutForecaster", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + x.OneOutForecaster = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 3: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Inferer", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + x.Inferer = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := runtime.Skip(dAtA[iNdEx:]) + if err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if (iNdEx + skippy) > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + if !options.DiscardUnknown { + x.unknownFields = append(x.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + } + iNdEx += skippy + } + } + + if iNdEx > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, nil + } + return &protoiface.Methods{ + NoUnkeyedLiterals: struct{}{}, + Flags: protoiface.SupportMarshalDeterministic | protoiface.SupportUnmarshalDiscardUnknown, + Size: size, + Marshal: marshal, + Unmarshal: unmarshal, + Merge: nil, + CheckInitialized: nil, + } +} + +var ( + md_GetOneOutForecasterInfererNetworkRegretResponse protoreflect.MessageDescriptor + fd_GetOneOutForecasterInfererNetworkRegretResponse_regret protoreflect.FieldDescriptor +) + +func init() { + file_emissions_v8_query_proto_init() + md_GetOneOutForecasterInfererNetworkRegretResponse = File_emissions_v8_query_proto.Messages().ByName("GetOneOutForecasterInfererNetworkRegretResponse") + fd_GetOneOutForecasterInfererNetworkRegretResponse_regret = md_GetOneOutForecasterInfererNetworkRegretResponse.Fields().ByName("regret") +} + +var _ protoreflect.Message = (*fastReflection_GetOneOutForecasterInfererNetworkRegretResponse)(nil) + +type fastReflection_GetOneOutForecasterInfererNetworkRegretResponse GetOneOutForecasterInfererNetworkRegretResponse + +func (x *GetOneOutForecasterInfererNetworkRegretResponse) ProtoReflect() protoreflect.Message { + return (*fastReflection_GetOneOutForecasterInfererNetworkRegretResponse)(x) +} + +func (x *GetOneOutForecasterInfererNetworkRegretResponse) slowProtoReflect() protoreflect.Message { + mi := &file_emissions_v8_query_proto_msgTypes[45] + 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) +} + +var _fastReflection_GetOneOutForecasterInfererNetworkRegretResponse_messageType fastReflection_GetOneOutForecasterInfererNetworkRegretResponse_messageType +var _ protoreflect.MessageType = fastReflection_GetOneOutForecasterInfererNetworkRegretResponse_messageType{} + +type fastReflection_GetOneOutForecasterInfererNetworkRegretResponse_messageType struct{} + +func (x fastReflection_GetOneOutForecasterInfererNetworkRegretResponse_messageType) Zero() protoreflect.Message { + return (*fastReflection_GetOneOutForecasterInfererNetworkRegretResponse)(nil) +} +func (x fastReflection_GetOneOutForecasterInfererNetworkRegretResponse_messageType) New() protoreflect.Message { + return new(fastReflection_GetOneOutForecasterInfererNetworkRegretResponse) +} +func (x fastReflection_GetOneOutForecasterInfererNetworkRegretResponse_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_GetOneOutForecasterInfererNetworkRegretResponse +} + +// Descriptor returns message descriptor, which contains only the protobuf +// type information for the message. +func (x *fastReflection_GetOneOutForecasterInfererNetworkRegretResponse) Descriptor() protoreflect.MessageDescriptor { + return md_GetOneOutForecasterInfererNetworkRegretResponse +} + +// Type returns the message type, which encapsulates both Go and protobuf +// type information. If the Go type information is not needed, +// it is recommended that the message descriptor be used instead. +func (x *fastReflection_GetOneOutForecasterInfererNetworkRegretResponse) Type() protoreflect.MessageType { + return _fastReflection_GetOneOutForecasterInfererNetworkRegretResponse_messageType +} + +// New returns a newly allocated and mutable empty message. +func (x *fastReflection_GetOneOutForecasterInfererNetworkRegretResponse) New() protoreflect.Message { + return new(fastReflection_GetOneOutForecasterInfererNetworkRegretResponse) +} + +// Interface unwraps the message reflection interface and +// returns the underlying ProtoMessage interface. +func (x *fastReflection_GetOneOutForecasterInfererNetworkRegretResponse) Interface() protoreflect.ProtoMessage { + return (*GetOneOutForecasterInfererNetworkRegretResponse)(x) +} + +// Range iterates over every populated field in an undefined order, +// calling f for each field descriptor and value encountered. +// Range returns immediately if f returns false. +// While iterating, mutating operations may only be performed +// on the current field descriptor. +func (x *fastReflection_GetOneOutForecasterInfererNetworkRegretResponse) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { + if x.Regret != nil { + value := protoreflect.ValueOfMessage(x.Regret.ProtoReflect()) + if !f(fd_GetOneOutForecasterInfererNetworkRegretResponse_regret, value) { + return + } + } +} + +// Has reports whether a field is populated. +// +// Some fields have the property of nullability where it is possible to +// distinguish between the default value of a field and whether the field +// was explicitly populated with the default value. Singular message fields, +// member fields of a oneof, and proto2 scalar fields are nullable. Such +// fields are populated only if explicitly set. +// +// In other cases (aside from the nullable cases above), +// a proto3 scalar field is populated if it contains a non-zero value, and +// a repeated field is populated if it is non-empty. +func (x *fastReflection_GetOneOutForecasterInfererNetworkRegretResponse) Has(fd protoreflect.FieldDescriptor) bool { + switch fd.FullName() { + case "emissions.v8.GetOneOutForecasterInfererNetworkRegretResponse.regret": + return x.Regret != nil + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetOneOutForecasterInfererNetworkRegretResponse")) + } + panic(fmt.Errorf("message emissions.v8.GetOneOutForecasterInfererNetworkRegretResponse does not contain field %s", fd.FullName())) + } +} + +// Clear clears the field such that a subsequent Has call reports false. +// +// Clearing an extension field clears both the extension type and value +// associated with the given field number. +// +// Clear is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetOneOutForecasterInfererNetworkRegretResponse) Clear(fd protoreflect.FieldDescriptor) { + switch fd.FullName() { + case "emissions.v8.GetOneOutForecasterInfererNetworkRegretResponse.regret": + x.Regret = nil + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetOneOutForecasterInfererNetworkRegretResponse")) + } + panic(fmt.Errorf("message emissions.v8.GetOneOutForecasterInfererNetworkRegretResponse does not contain field %s", fd.FullName())) + } +} + +// Get retrieves the value for a field. +// +// For unpopulated scalars, it returns the default value, where +// the default value of a bytes scalar is guaranteed to be a copy. +// For unpopulated composite types, it returns an empty, read-only view +// of the value; to obtain a mutable reference, use Mutable. +func (x *fastReflection_GetOneOutForecasterInfererNetworkRegretResponse) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { + switch descriptor.FullName() { + case "emissions.v8.GetOneOutForecasterInfererNetworkRegretResponse.regret": + value := x.Regret + return protoreflect.ValueOfMessage(value.ProtoReflect()) + default: + if descriptor.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetOneOutForecasterInfererNetworkRegretResponse")) + } + panic(fmt.Errorf("message emissions.v8.GetOneOutForecasterInfererNetworkRegretResponse does not contain field %s", descriptor.FullName())) + } +} + +// Set stores the value for a field. +// +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType. +// When setting a composite type, it is unspecified whether the stored value +// aliases the source's memory in any way. If the composite value is an +// empty, read-only value, then it panics. +// +// Set is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetOneOutForecasterInfererNetworkRegretResponse) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { + switch fd.FullName() { + case "emissions.v8.GetOneOutForecasterInfererNetworkRegretResponse.regret": + x.Regret = value.Message().Interface().(*v3.TimestampedValue) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetOneOutForecasterInfererNetworkRegretResponse")) + } + panic(fmt.Errorf("message emissions.v8.GetOneOutForecasterInfererNetworkRegretResponse does not contain field %s", fd.FullName())) + } +} + +// Mutable returns a mutable reference to a composite type. +// +// If the field is unpopulated, it may allocate a composite value. +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType +// if not already stored. +// It panics if the field does not contain a composite type. +// +// Mutable is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetOneOutForecasterInfererNetworkRegretResponse) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.GetOneOutForecasterInfererNetworkRegretResponse.regret": + if x.Regret == nil { + x.Regret = new(v3.TimestampedValue) + } + return protoreflect.ValueOfMessage(x.Regret.ProtoReflect()) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetOneOutForecasterInfererNetworkRegretResponse")) + } + panic(fmt.Errorf("message emissions.v8.GetOneOutForecasterInfererNetworkRegretResponse does not contain field %s", fd.FullName())) + } +} + +// NewField returns a new value that is assignable to the field +// for the given descriptor. For scalars, this returns the default value. +// For lists, maps, and messages, this returns a new, empty, mutable value. +func (x *fastReflection_GetOneOutForecasterInfererNetworkRegretResponse) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.GetOneOutForecasterInfererNetworkRegretResponse.regret": + m := new(v3.TimestampedValue) + return protoreflect.ValueOfMessage(m.ProtoReflect()) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetOneOutForecasterInfererNetworkRegretResponse")) + } + panic(fmt.Errorf("message emissions.v8.GetOneOutForecasterInfererNetworkRegretResponse does not contain field %s", fd.FullName())) + } +} + +// WhichOneof reports which field within the oneof is populated, +// returning nil if none are populated. +// It panics if the oneof descriptor does not belong to this message. +func (x *fastReflection_GetOneOutForecasterInfererNetworkRegretResponse) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { + switch d.FullName() { + default: + panic(fmt.Errorf("%s is not a oneof field in emissions.v8.GetOneOutForecasterInfererNetworkRegretResponse", d.FullName())) + } + panic("unreachable") +} + +// GetUnknown retrieves the entire list of unknown fields. +// The caller may only mutate the contents of the RawFields +// if the mutated bytes are stored back into the message with SetUnknown. +func (x *fastReflection_GetOneOutForecasterInfererNetworkRegretResponse) GetUnknown() protoreflect.RawFields { + return x.unknownFields +} + +// SetUnknown stores an entire list of unknown fields. +// The raw fields must be syntactically valid according to the wire format. +// An implementation may panic if this is not the case. +// Once stored, the caller must not mutate the content of the RawFields. +// An empty RawFields may be passed to clear the fields. +// +// SetUnknown is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetOneOutForecasterInfererNetworkRegretResponse) SetUnknown(fields protoreflect.RawFields) { + x.unknownFields = fields +} + +// IsValid reports whether the message is valid. +// +// An invalid message is an empty, read-only value. +// +// An invalid message often corresponds to a nil pointer of the concrete +// message type, but the details are implementation dependent. +// Validity is not part of the protobuf data model, and may not +// be preserved in marshaling or other operations. +func (x *fastReflection_GetOneOutForecasterInfererNetworkRegretResponse) IsValid() bool { + return x != nil +} + +// ProtoMethods returns optional fastReflectionFeature-path implementations of various operations. +// This method may return nil. +// +// The returned methods type is identical to +// "google.golang.org/protobuf/runtime/protoiface".Methods. +// Consult the protoiface package documentation for details. +func (x *fastReflection_GetOneOutForecasterInfererNetworkRegretResponse) ProtoMethods() *protoiface.Methods { + size := func(input protoiface.SizeInput) protoiface.SizeOutput { + x := input.Message.Interface().(*GetOneOutForecasterInfererNetworkRegretResponse) + if x == nil { + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: 0, + } + } + options := runtime.SizeInputToOptions(input) + _ = options + var n int + var l int + _ = l + if x.Regret != nil { + l = options.Size(x.Regret) + n += 1 + l + runtime.Sov(uint64(l)) + } + if x.unknownFields != nil { + n += len(x.unknownFields) + } + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: n, + } + } + + marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { + x := input.Message.Interface().(*GetOneOutForecasterInfererNetworkRegretResponse) + if x == nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + options := runtime.MarshalInputToOptions(input) + _ = options + size := options.Size(x) + dAtA := make([]byte, size) + i := len(dAtA) + _ = i + var l int + _ = l + if x.unknownFields != nil { + i -= len(x.unknownFields) + copy(dAtA[i:], x.unknownFields) + } + if x.Regret != nil { + encoded, err := options.Marshal(x.Regret) + if err != nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = runtime.EncodeVarint(dAtA, i, uint64(len(encoded))) + i-- + dAtA[i] = 0xa + } + if input.Buf != nil { + input.Buf = append(input.Buf, dAtA...) + } else { + input.Buf = dAtA + } + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { + x := input.Message.Interface().(*GetOneOutForecasterInfererNetworkRegretResponse) + if x == nil { + return protoiface.UnmarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Flags: input.Flags, + }, nil + } + options := runtime.UnmarshalInputToOptions(input) + _ = options + dAtA := input.Buf + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: GetOneOutForecasterInfererNetworkRegretResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: GetOneOutForecasterInfererNetworkRegretResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Regret", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + if x.Regret == nil { + x.Regret = &v3.TimestampedValue{} + } + if err := options.Unmarshal(dAtA[iNdEx:postIndex], x.Regret); err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := runtime.Skip(dAtA[iNdEx:]) + if err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if (iNdEx + skippy) > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + if !options.DiscardUnknown { + x.unknownFields = append(x.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + } + iNdEx += skippy + } + } + + if iNdEx > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, nil + } + return &protoiface.Methods{ + NoUnkeyedLiterals: struct{}{}, + Flags: protoiface.SupportMarshalDeterministic | protoiface.SupportUnmarshalDiscardUnknown, + Size: size, + Marshal: marshal, + Unmarshal: unmarshal, + Merge: nil, + CheckInitialized: nil, + } +} + +var ( + md_GetOneOutForecasterForecasterNetworkRegretRequest protoreflect.MessageDescriptor + fd_GetOneOutForecasterForecasterNetworkRegretRequest_topic_id protoreflect.FieldDescriptor + fd_GetOneOutForecasterForecasterNetworkRegretRequest_one_out_forecaster protoreflect.FieldDescriptor + fd_GetOneOutForecasterForecasterNetworkRegretRequest_forecaster protoreflect.FieldDescriptor +) + +func init() { + file_emissions_v8_query_proto_init() + md_GetOneOutForecasterForecasterNetworkRegretRequest = File_emissions_v8_query_proto.Messages().ByName("GetOneOutForecasterForecasterNetworkRegretRequest") + fd_GetOneOutForecasterForecasterNetworkRegretRequest_topic_id = md_GetOneOutForecasterForecasterNetworkRegretRequest.Fields().ByName("topic_id") + fd_GetOneOutForecasterForecasterNetworkRegretRequest_one_out_forecaster = md_GetOneOutForecasterForecasterNetworkRegretRequest.Fields().ByName("one_out_forecaster") + fd_GetOneOutForecasterForecasterNetworkRegretRequest_forecaster = md_GetOneOutForecasterForecasterNetworkRegretRequest.Fields().ByName("forecaster") +} + +var _ protoreflect.Message = (*fastReflection_GetOneOutForecasterForecasterNetworkRegretRequest)(nil) + +type fastReflection_GetOneOutForecasterForecasterNetworkRegretRequest GetOneOutForecasterForecasterNetworkRegretRequest + +func (x *GetOneOutForecasterForecasterNetworkRegretRequest) ProtoReflect() protoreflect.Message { + return (*fastReflection_GetOneOutForecasterForecasterNetworkRegretRequest)(x) +} + +func (x *GetOneOutForecasterForecasterNetworkRegretRequest) slowProtoReflect() protoreflect.Message { + mi := &file_emissions_v8_query_proto_msgTypes[46] + 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) +} + +var _fastReflection_GetOneOutForecasterForecasterNetworkRegretRequest_messageType fastReflection_GetOneOutForecasterForecasterNetworkRegretRequest_messageType +var _ protoreflect.MessageType = fastReflection_GetOneOutForecasterForecasterNetworkRegretRequest_messageType{} + +type fastReflection_GetOneOutForecasterForecasterNetworkRegretRequest_messageType struct{} + +func (x fastReflection_GetOneOutForecasterForecasterNetworkRegretRequest_messageType) Zero() protoreflect.Message { + return (*fastReflection_GetOneOutForecasterForecasterNetworkRegretRequest)(nil) +} +func (x fastReflection_GetOneOutForecasterForecasterNetworkRegretRequest_messageType) New() protoreflect.Message { + return new(fastReflection_GetOneOutForecasterForecasterNetworkRegretRequest) +} +func (x fastReflection_GetOneOutForecasterForecasterNetworkRegretRequest_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_GetOneOutForecasterForecasterNetworkRegretRequest +} + +// Descriptor returns message descriptor, which contains only the protobuf +// type information for the message. +func (x *fastReflection_GetOneOutForecasterForecasterNetworkRegretRequest) Descriptor() protoreflect.MessageDescriptor { + return md_GetOneOutForecasterForecasterNetworkRegretRequest +} + +// Type returns the message type, which encapsulates both Go and protobuf +// type information. If the Go type information is not needed, +// it is recommended that the message descriptor be used instead. +func (x *fastReflection_GetOneOutForecasterForecasterNetworkRegretRequest) Type() protoreflect.MessageType { + return _fastReflection_GetOneOutForecasterForecasterNetworkRegretRequest_messageType +} + +// New returns a newly allocated and mutable empty message. +func (x *fastReflection_GetOneOutForecasterForecasterNetworkRegretRequest) New() protoreflect.Message { + return new(fastReflection_GetOneOutForecasterForecasterNetworkRegretRequest) +} + +// Interface unwraps the message reflection interface and +// returns the underlying ProtoMessage interface. +func (x *fastReflection_GetOneOutForecasterForecasterNetworkRegretRequest) Interface() protoreflect.ProtoMessage { + return (*GetOneOutForecasterForecasterNetworkRegretRequest)(x) +} + +// Range iterates over every populated field in an undefined order, +// calling f for each field descriptor and value encountered. +// Range returns immediately if f returns false. +// While iterating, mutating operations may only be performed +// on the current field descriptor. +func (x *fastReflection_GetOneOutForecasterForecasterNetworkRegretRequest) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { + if x.TopicId != uint64(0) { + value := protoreflect.ValueOfUint64(x.TopicId) + if !f(fd_GetOneOutForecasterForecasterNetworkRegretRequest_topic_id, value) { + return + } + } + if x.OneOutForecaster != "" { + value := protoreflect.ValueOfString(x.OneOutForecaster) + if !f(fd_GetOneOutForecasterForecasterNetworkRegretRequest_one_out_forecaster, value) { + return + } + } + if x.Forecaster != "" { + value := protoreflect.ValueOfString(x.Forecaster) + if !f(fd_GetOneOutForecasterForecasterNetworkRegretRequest_forecaster, value) { + return + } + } +} + +// Has reports whether a field is populated. +// +// Some fields have the property of nullability where it is possible to +// distinguish between the default value of a field and whether the field +// was explicitly populated with the default value. Singular message fields, +// member fields of a oneof, and proto2 scalar fields are nullable. Such +// fields are populated only if explicitly set. +// +// In other cases (aside from the nullable cases above), +// a proto3 scalar field is populated if it contains a non-zero value, and +// a repeated field is populated if it is non-empty. +func (x *fastReflection_GetOneOutForecasterForecasterNetworkRegretRequest) Has(fd protoreflect.FieldDescriptor) bool { + switch fd.FullName() { + case "emissions.v8.GetOneOutForecasterForecasterNetworkRegretRequest.topic_id": + return x.TopicId != uint64(0) + case "emissions.v8.GetOneOutForecasterForecasterNetworkRegretRequest.one_out_forecaster": + return x.OneOutForecaster != "" + case "emissions.v8.GetOneOutForecasterForecasterNetworkRegretRequest.forecaster": + return x.Forecaster != "" + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetOneOutForecasterForecasterNetworkRegretRequest")) + } + panic(fmt.Errorf("message emissions.v8.GetOneOutForecasterForecasterNetworkRegretRequest does not contain field %s", fd.FullName())) + } +} + +// Clear clears the field such that a subsequent Has call reports false. +// +// Clearing an extension field clears both the extension type and value +// associated with the given field number. +// +// Clear is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetOneOutForecasterForecasterNetworkRegretRequest) Clear(fd protoreflect.FieldDescriptor) { + switch fd.FullName() { + case "emissions.v8.GetOneOutForecasterForecasterNetworkRegretRequest.topic_id": + x.TopicId = uint64(0) + case "emissions.v8.GetOneOutForecasterForecasterNetworkRegretRequest.one_out_forecaster": + x.OneOutForecaster = "" + case "emissions.v8.GetOneOutForecasterForecasterNetworkRegretRequest.forecaster": + x.Forecaster = "" + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetOneOutForecasterForecasterNetworkRegretRequest")) + } + panic(fmt.Errorf("message emissions.v8.GetOneOutForecasterForecasterNetworkRegretRequest does not contain field %s", fd.FullName())) + } +} + +// Get retrieves the value for a field. +// +// For unpopulated scalars, it returns the default value, where +// the default value of a bytes scalar is guaranteed to be a copy. +// For unpopulated composite types, it returns an empty, read-only view +// of the value; to obtain a mutable reference, use Mutable. +func (x *fastReflection_GetOneOutForecasterForecasterNetworkRegretRequest) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { + switch descriptor.FullName() { + case "emissions.v8.GetOneOutForecasterForecasterNetworkRegretRequest.topic_id": + value := x.TopicId + return protoreflect.ValueOfUint64(value) + case "emissions.v8.GetOneOutForecasterForecasterNetworkRegretRequest.one_out_forecaster": + value := x.OneOutForecaster + return protoreflect.ValueOfString(value) + case "emissions.v8.GetOneOutForecasterForecasterNetworkRegretRequest.forecaster": + value := x.Forecaster + return protoreflect.ValueOfString(value) + default: + if descriptor.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetOneOutForecasterForecasterNetworkRegretRequest")) + } + panic(fmt.Errorf("message emissions.v8.GetOneOutForecasterForecasterNetworkRegretRequest does not contain field %s", descriptor.FullName())) + } +} + +// Set stores the value for a field. +// +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType. +// When setting a composite type, it is unspecified whether the stored value +// aliases the source's memory in any way. If the composite value is an +// empty, read-only value, then it panics. +// +// Set is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetOneOutForecasterForecasterNetworkRegretRequest) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { + switch fd.FullName() { + case "emissions.v8.GetOneOutForecasterForecasterNetworkRegretRequest.topic_id": + x.TopicId = value.Uint() + case "emissions.v8.GetOneOutForecasterForecasterNetworkRegretRequest.one_out_forecaster": + x.OneOutForecaster = value.Interface().(string) + case "emissions.v8.GetOneOutForecasterForecasterNetworkRegretRequest.forecaster": + x.Forecaster = value.Interface().(string) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetOneOutForecasterForecasterNetworkRegretRequest")) + } + panic(fmt.Errorf("message emissions.v8.GetOneOutForecasterForecasterNetworkRegretRequest does not contain field %s", fd.FullName())) + } +} + +// Mutable returns a mutable reference to a composite type. +// +// If the field is unpopulated, it may allocate a composite value. +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType +// if not already stored. +// It panics if the field does not contain a composite type. +// +// Mutable is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetOneOutForecasterForecasterNetworkRegretRequest) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.GetOneOutForecasterForecasterNetworkRegretRequest.topic_id": + panic(fmt.Errorf("field topic_id of message emissions.v8.GetOneOutForecasterForecasterNetworkRegretRequest is not mutable")) + case "emissions.v8.GetOneOutForecasterForecasterNetworkRegretRequest.one_out_forecaster": + panic(fmt.Errorf("field one_out_forecaster of message emissions.v8.GetOneOutForecasterForecasterNetworkRegretRequest is not mutable")) + case "emissions.v8.GetOneOutForecasterForecasterNetworkRegretRequest.forecaster": + panic(fmt.Errorf("field forecaster of message emissions.v8.GetOneOutForecasterForecasterNetworkRegretRequest is not mutable")) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetOneOutForecasterForecasterNetworkRegretRequest")) + } + panic(fmt.Errorf("message emissions.v8.GetOneOutForecasterForecasterNetworkRegretRequest does not contain field %s", fd.FullName())) + } +} + +// NewField returns a new value that is assignable to the field +// for the given descriptor. For scalars, this returns the default value. +// For lists, maps, and messages, this returns a new, empty, mutable value. +func (x *fastReflection_GetOneOutForecasterForecasterNetworkRegretRequest) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.GetOneOutForecasterForecasterNetworkRegretRequest.topic_id": + return protoreflect.ValueOfUint64(uint64(0)) + case "emissions.v8.GetOneOutForecasterForecasterNetworkRegretRequest.one_out_forecaster": + return protoreflect.ValueOfString("") + case "emissions.v8.GetOneOutForecasterForecasterNetworkRegretRequest.forecaster": + return protoreflect.ValueOfString("") + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetOneOutForecasterForecasterNetworkRegretRequest")) + } + panic(fmt.Errorf("message emissions.v8.GetOneOutForecasterForecasterNetworkRegretRequest does not contain field %s", fd.FullName())) + } +} + +// WhichOneof reports which field within the oneof is populated, +// returning nil if none are populated. +// It panics if the oneof descriptor does not belong to this message. +func (x *fastReflection_GetOneOutForecasterForecasterNetworkRegretRequest) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { + switch d.FullName() { + default: + panic(fmt.Errorf("%s is not a oneof field in emissions.v8.GetOneOutForecasterForecasterNetworkRegretRequest", d.FullName())) + } + panic("unreachable") +} + +// GetUnknown retrieves the entire list of unknown fields. +// The caller may only mutate the contents of the RawFields +// if the mutated bytes are stored back into the message with SetUnknown. +func (x *fastReflection_GetOneOutForecasterForecasterNetworkRegretRequest) GetUnknown() protoreflect.RawFields { + return x.unknownFields +} + +// SetUnknown stores an entire list of unknown fields. +// The raw fields must be syntactically valid according to the wire format. +// An implementation may panic if this is not the case. +// Once stored, the caller must not mutate the content of the RawFields. +// An empty RawFields may be passed to clear the fields. +// +// SetUnknown is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetOneOutForecasterForecasterNetworkRegretRequest) SetUnknown(fields protoreflect.RawFields) { + x.unknownFields = fields +} + +// IsValid reports whether the message is valid. +// +// An invalid message is an empty, read-only value. +// +// An invalid message often corresponds to a nil pointer of the concrete +// message type, but the details are implementation dependent. +// Validity is not part of the protobuf data model, and may not +// be preserved in marshaling or other operations. +func (x *fastReflection_GetOneOutForecasterForecasterNetworkRegretRequest) IsValid() bool { + return x != nil +} + +// ProtoMethods returns optional fastReflectionFeature-path implementations of various operations. +// This method may return nil. +// +// The returned methods type is identical to +// "google.golang.org/protobuf/runtime/protoiface".Methods. +// Consult the protoiface package documentation for details. +func (x *fastReflection_GetOneOutForecasterForecasterNetworkRegretRequest) ProtoMethods() *protoiface.Methods { + size := func(input protoiface.SizeInput) protoiface.SizeOutput { + x := input.Message.Interface().(*GetOneOutForecasterForecasterNetworkRegretRequest) + if x == nil { + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: 0, + } + } + options := runtime.SizeInputToOptions(input) + _ = options + var n int + var l int + _ = l + if x.TopicId != 0 { + n += 1 + runtime.Sov(uint64(x.TopicId)) + } + l = len(x.OneOutForecaster) + if l > 0 { + n += 1 + l + runtime.Sov(uint64(l)) + } + l = len(x.Forecaster) + if l > 0 { + n += 1 + l + runtime.Sov(uint64(l)) + } + if x.unknownFields != nil { + n += len(x.unknownFields) + } + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: n, + } + } + + marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { + x := input.Message.Interface().(*GetOneOutForecasterForecasterNetworkRegretRequest) + if x == nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + options := runtime.MarshalInputToOptions(input) + _ = options + size := options.Size(x) + dAtA := make([]byte, size) + i := len(dAtA) + _ = i + var l int + _ = l + if x.unknownFields != nil { + i -= len(x.unknownFields) + copy(dAtA[i:], x.unknownFields) + } + if len(x.Forecaster) > 0 { + i -= len(x.Forecaster) + copy(dAtA[i:], x.Forecaster) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.Forecaster))) + i-- + dAtA[i] = 0x1a + } + if len(x.OneOutForecaster) > 0 { + i -= len(x.OneOutForecaster) + copy(dAtA[i:], x.OneOutForecaster) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.OneOutForecaster))) + i-- + dAtA[i] = 0x12 + } + if x.TopicId != 0 { + i = runtime.EncodeVarint(dAtA, i, uint64(x.TopicId)) + i-- + dAtA[i] = 0x8 + } + if input.Buf != nil { + input.Buf = append(input.Buf, dAtA...) + } else { + input.Buf = dAtA + } + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { + x := input.Message.Interface().(*GetOneOutForecasterForecasterNetworkRegretRequest) + if x == nil { + return protoiface.UnmarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Flags: input.Flags, + }, nil + } + options := runtime.UnmarshalInputToOptions(input) + _ = options + dAtA := input.Buf + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: GetOneOutForecasterForecasterNetworkRegretRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: GetOneOutForecasterForecasterNetworkRegretRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field TopicId", wireType) + } + x.TopicId = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + x.TopicId |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 2: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field OneOutForecaster", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + x.OneOutForecaster = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 3: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Forecaster", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + x.Forecaster = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := runtime.Skip(dAtA[iNdEx:]) + if err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if (iNdEx + skippy) > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + if !options.DiscardUnknown { + x.unknownFields = append(x.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + } + iNdEx += skippy + } + } + + if iNdEx > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, nil + } + return &protoiface.Methods{ + NoUnkeyedLiterals: struct{}{}, + Flags: protoiface.SupportMarshalDeterministic | protoiface.SupportUnmarshalDiscardUnknown, + Size: size, + Marshal: marshal, + Unmarshal: unmarshal, + Merge: nil, + CheckInitialized: nil, + } +} + +var ( + md_GetOneOutForecasterForecasterNetworkRegretResponse protoreflect.MessageDescriptor + fd_GetOneOutForecasterForecasterNetworkRegretResponse_regret protoreflect.FieldDescriptor +) + +func init() { + file_emissions_v8_query_proto_init() + md_GetOneOutForecasterForecasterNetworkRegretResponse = File_emissions_v8_query_proto.Messages().ByName("GetOneOutForecasterForecasterNetworkRegretResponse") + fd_GetOneOutForecasterForecasterNetworkRegretResponse_regret = md_GetOneOutForecasterForecasterNetworkRegretResponse.Fields().ByName("regret") +} + +var _ protoreflect.Message = (*fastReflection_GetOneOutForecasterForecasterNetworkRegretResponse)(nil) + +type fastReflection_GetOneOutForecasterForecasterNetworkRegretResponse GetOneOutForecasterForecasterNetworkRegretResponse + +func (x *GetOneOutForecasterForecasterNetworkRegretResponse) ProtoReflect() protoreflect.Message { + return (*fastReflection_GetOneOutForecasterForecasterNetworkRegretResponse)(x) +} + +func (x *GetOneOutForecasterForecasterNetworkRegretResponse) slowProtoReflect() protoreflect.Message { + mi := &file_emissions_v8_query_proto_msgTypes[47] + 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) +} + +var _fastReflection_GetOneOutForecasterForecasterNetworkRegretResponse_messageType fastReflection_GetOneOutForecasterForecasterNetworkRegretResponse_messageType +var _ protoreflect.MessageType = fastReflection_GetOneOutForecasterForecasterNetworkRegretResponse_messageType{} + +type fastReflection_GetOneOutForecasterForecasterNetworkRegretResponse_messageType struct{} + +func (x fastReflection_GetOneOutForecasterForecasterNetworkRegretResponse_messageType) Zero() protoreflect.Message { + return (*fastReflection_GetOneOutForecasterForecasterNetworkRegretResponse)(nil) +} +func (x fastReflection_GetOneOutForecasterForecasterNetworkRegretResponse_messageType) New() protoreflect.Message { + return new(fastReflection_GetOneOutForecasterForecasterNetworkRegretResponse) +} +func (x fastReflection_GetOneOutForecasterForecasterNetworkRegretResponse_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_GetOneOutForecasterForecasterNetworkRegretResponse +} + +// Descriptor returns message descriptor, which contains only the protobuf +// type information for the message. +func (x *fastReflection_GetOneOutForecasterForecasterNetworkRegretResponse) Descriptor() protoreflect.MessageDescriptor { + return md_GetOneOutForecasterForecasterNetworkRegretResponse +} + +// Type returns the message type, which encapsulates both Go and protobuf +// type information. If the Go type information is not needed, +// it is recommended that the message descriptor be used instead. +func (x *fastReflection_GetOneOutForecasterForecasterNetworkRegretResponse) Type() protoreflect.MessageType { + return _fastReflection_GetOneOutForecasterForecasterNetworkRegretResponse_messageType +} + +// New returns a newly allocated and mutable empty message. +func (x *fastReflection_GetOneOutForecasterForecasterNetworkRegretResponse) New() protoreflect.Message { + return new(fastReflection_GetOneOutForecasterForecasterNetworkRegretResponse) +} + +// Interface unwraps the message reflection interface and +// returns the underlying ProtoMessage interface. +func (x *fastReflection_GetOneOutForecasterForecasterNetworkRegretResponse) Interface() protoreflect.ProtoMessage { + return (*GetOneOutForecasterForecasterNetworkRegretResponse)(x) +} + +// Range iterates over every populated field in an undefined order, +// calling f for each field descriptor and value encountered. +// Range returns immediately if f returns false. +// While iterating, mutating operations may only be performed +// on the current field descriptor. +func (x *fastReflection_GetOneOutForecasterForecasterNetworkRegretResponse) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { + if x.Regret != nil { + value := protoreflect.ValueOfMessage(x.Regret.ProtoReflect()) + if !f(fd_GetOneOutForecasterForecasterNetworkRegretResponse_regret, value) { + return + } + } +} + +// Has reports whether a field is populated. +// +// Some fields have the property of nullability where it is possible to +// distinguish between the default value of a field and whether the field +// was explicitly populated with the default value. Singular message fields, +// member fields of a oneof, and proto2 scalar fields are nullable. Such +// fields are populated only if explicitly set. +// +// In other cases (aside from the nullable cases above), +// a proto3 scalar field is populated if it contains a non-zero value, and +// a repeated field is populated if it is non-empty. +func (x *fastReflection_GetOneOutForecasterForecasterNetworkRegretResponse) Has(fd protoreflect.FieldDescriptor) bool { + switch fd.FullName() { + case "emissions.v8.GetOneOutForecasterForecasterNetworkRegretResponse.regret": + return x.Regret != nil + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetOneOutForecasterForecasterNetworkRegretResponse")) + } + panic(fmt.Errorf("message emissions.v8.GetOneOutForecasterForecasterNetworkRegretResponse does not contain field %s", fd.FullName())) + } +} + +// Clear clears the field such that a subsequent Has call reports false. +// +// Clearing an extension field clears both the extension type and value +// associated with the given field number. +// +// Clear is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetOneOutForecasterForecasterNetworkRegretResponse) Clear(fd protoreflect.FieldDescriptor) { + switch fd.FullName() { + case "emissions.v8.GetOneOutForecasterForecasterNetworkRegretResponse.regret": + x.Regret = nil + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetOneOutForecasterForecasterNetworkRegretResponse")) + } + panic(fmt.Errorf("message emissions.v8.GetOneOutForecasterForecasterNetworkRegretResponse does not contain field %s", fd.FullName())) + } +} + +// Get retrieves the value for a field. +// +// For unpopulated scalars, it returns the default value, where +// the default value of a bytes scalar is guaranteed to be a copy. +// For unpopulated composite types, it returns an empty, read-only view +// of the value; to obtain a mutable reference, use Mutable. +func (x *fastReflection_GetOneOutForecasterForecasterNetworkRegretResponse) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { + switch descriptor.FullName() { + case "emissions.v8.GetOneOutForecasterForecasterNetworkRegretResponse.regret": + value := x.Regret + return protoreflect.ValueOfMessage(value.ProtoReflect()) + default: + if descriptor.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetOneOutForecasterForecasterNetworkRegretResponse")) + } + panic(fmt.Errorf("message emissions.v8.GetOneOutForecasterForecasterNetworkRegretResponse does not contain field %s", descriptor.FullName())) + } +} + +// Set stores the value for a field. +// +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType. +// When setting a composite type, it is unspecified whether the stored value +// aliases the source's memory in any way. If the composite value is an +// empty, read-only value, then it panics. +// +// Set is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetOneOutForecasterForecasterNetworkRegretResponse) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { + switch fd.FullName() { + case "emissions.v8.GetOneOutForecasterForecasterNetworkRegretResponse.regret": + x.Regret = value.Message().Interface().(*v3.TimestampedValue) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetOneOutForecasterForecasterNetworkRegretResponse")) + } + panic(fmt.Errorf("message emissions.v8.GetOneOutForecasterForecasterNetworkRegretResponse does not contain field %s", fd.FullName())) + } +} + +// Mutable returns a mutable reference to a composite type. +// +// If the field is unpopulated, it may allocate a composite value. +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType +// if not already stored. +// It panics if the field does not contain a composite type. +// +// Mutable is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetOneOutForecasterForecasterNetworkRegretResponse) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.GetOneOutForecasterForecasterNetworkRegretResponse.regret": + if x.Regret == nil { + x.Regret = new(v3.TimestampedValue) + } + return protoreflect.ValueOfMessage(x.Regret.ProtoReflect()) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetOneOutForecasterForecasterNetworkRegretResponse")) + } + panic(fmt.Errorf("message emissions.v8.GetOneOutForecasterForecasterNetworkRegretResponse does not contain field %s", fd.FullName())) + } +} + +// NewField returns a new value that is assignable to the field +// for the given descriptor. For scalars, this returns the default value. +// For lists, maps, and messages, this returns a new, empty, mutable value. +func (x *fastReflection_GetOneOutForecasterForecasterNetworkRegretResponse) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.GetOneOutForecasterForecasterNetworkRegretResponse.regret": + m := new(v3.TimestampedValue) + return protoreflect.ValueOfMessage(m.ProtoReflect()) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetOneOutForecasterForecasterNetworkRegretResponse")) + } + panic(fmt.Errorf("message emissions.v8.GetOneOutForecasterForecasterNetworkRegretResponse does not contain field %s", fd.FullName())) + } +} + +// WhichOneof reports which field within the oneof is populated, +// returning nil if none are populated. +// It panics if the oneof descriptor does not belong to this message. +func (x *fastReflection_GetOneOutForecasterForecasterNetworkRegretResponse) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { + switch d.FullName() { + default: + panic(fmt.Errorf("%s is not a oneof field in emissions.v8.GetOneOutForecasterForecasterNetworkRegretResponse", d.FullName())) + } + panic("unreachable") +} + +// GetUnknown retrieves the entire list of unknown fields. +// The caller may only mutate the contents of the RawFields +// if the mutated bytes are stored back into the message with SetUnknown. +func (x *fastReflection_GetOneOutForecasterForecasterNetworkRegretResponse) GetUnknown() protoreflect.RawFields { + return x.unknownFields +} + +// SetUnknown stores an entire list of unknown fields. +// The raw fields must be syntactically valid according to the wire format. +// An implementation may panic if this is not the case. +// Once stored, the caller must not mutate the content of the RawFields. +// An empty RawFields may be passed to clear the fields. +// +// SetUnknown is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetOneOutForecasterForecasterNetworkRegretResponse) SetUnknown(fields protoreflect.RawFields) { + x.unknownFields = fields +} + +// IsValid reports whether the message is valid. +// +// An invalid message is an empty, read-only value. +// +// An invalid message often corresponds to a nil pointer of the concrete +// message type, but the details are implementation dependent. +// Validity is not part of the protobuf data model, and may not +// be preserved in marshaling or other operations. +func (x *fastReflection_GetOneOutForecasterForecasterNetworkRegretResponse) IsValid() bool { + return x != nil +} + +// ProtoMethods returns optional fastReflectionFeature-path implementations of various operations. +// This method may return nil. +// +// The returned methods type is identical to +// "google.golang.org/protobuf/runtime/protoiface".Methods. +// Consult the protoiface package documentation for details. +func (x *fastReflection_GetOneOutForecasterForecasterNetworkRegretResponse) ProtoMethods() *protoiface.Methods { + size := func(input protoiface.SizeInput) protoiface.SizeOutput { + x := input.Message.Interface().(*GetOneOutForecasterForecasterNetworkRegretResponse) + if x == nil { + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: 0, + } + } + options := runtime.SizeInputToOptions(input) + _ = options + var n int + var l int + _ = l + if x.Regret != nil { + l = options.Size(x.Regret) + n += 1 + l + runtime.Sov(uint64(l)) + } + if x.unknownFields != nil { + n += len(x.unknownFields) + } + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: n, + } + } + + marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { + x := input.Message.Interface().(*GetOneOutForecasterForecasterNetworkRegretResponse) + if x == nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + options := runtime.MarshalInputToOptions(input) + _ = options + size := options.Size(x) + dAtA := make([]byte, size) + i := len(dAtA) + _ = i + var l int + _ = l + if x.unknownFields != nil { + i -= len(x.unknownFields) + copy(dAtA[i:], x.unknownFields) + } + if x.Regret != nil { + encoded, err := options.Marshal(x.Regret) + if err != nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = runtime.EncodeVarint(dAtA, i, uint64(len(encoded))) + i-- + dAtA[i] = 0xa + } + if input.Buf != nil { + input.Buf = append(input.Buf, dAtA...) + } else { + input.Buf = dAtA + } + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { + x := input.Message.Interface().(*GetOneOutForecasterForecasterNetworkRegretResponse) + if x == nil { + return protoiface.UnmarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Flags: input.Flags, + }, nil + } + options := runtime.UnmarshalInputToOptions(input) + _ = options + dAtA := input.Buf + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: GetOneOutForecasterForecasterNetworkRegretResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: GetOneOutForecasterForecasterNetworkRegretResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Regret", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + if x.Regret == nil { + x.Regret = &v3.TimestampedValue{} + } + if err := options.Unmarshal(dAtA[iNdEx:postIndex], x.Regret); err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := runtime.Skip(dAtA[iNdEx:]) + if err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if (iNdEx + skippy) > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + if !options.DiscardUnknown { + x.unknownFields = append(x.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + } + iNdEx += skippy + } + } + + if iNdEx > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, nil + } + return &protoiface.Methods{ + NoUnkeyedLiterals: struct{}{}, + Flags: protoiface.SupportMarshalDeterministic | protoiface.SupportUnmarshalDiscardUnknown, + Size: size, + Marshal: marshal, + Unmarshal: unmarshal, + Merge: nil, + CheckInitialized: nil, + } +} + +var ( + md_GetParamsRequest protoreflect.MessageDescriptor +) + +func init() { + file_emissions_v8_query_proto_init() + md_GetParamsRequest = File_emissions_v8_query_proto.Messages().ByName("GetParamsRequest") +} + +var _ protoreflect.Message = (*fastReflection_GetParamsRequest)(nil) + +type fastReflection_GetParamsRequest GetParamsRequest + +func (x *GetParamsRequest) ProtoReflect() protoreflect.Message { + return (*fastReflection_GetParamsRequest)(x) +} + +func (x *GetParamsRequest) slowProtoReflect() protoreflect.Message { + mi := &file_emissions_v8_query_proto_msgTypes[48] + 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) +} + +var _fastReflection_GetParamsRequest_messageType fastReflection_GetParamsRequest_messageType +var _ protoreflect.MessageType = fastReflection_GetParamsRequest_messageType{} + +type fastReflection_GetParamsRequest_messageType struct{} + +func (x fastReflection_GetParamsRequest_messageType) Zero() protoreflect.Message { + return (*fastReflection_GetParamsRequest)(nil) +} +func (x fastReflection_GetParamsRequest_messageType) New() protoreflect.Message { + return new(fastReflection_GetParamsRequest) +} +func (x fastReflection_GetParamsRequest_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_GetParamsRequest +} + +// Descriptor returns message descriptor, which contains only the protobuf +// type information for the message. +func (x *fastReflection_GetParamsRequest) Descriptor() protoreflect.MessageDescriptor { + return md_GetParamsRequest +} + +// Type returns the message type, which encapsulates both Go and protobuf +// type information. If the Go type information is not needed, +// it is recommended that the message descriptor be used instead. +func (x *fastReflection_GetParamsRequest) Type() protoreflect.MessageType { + return _fastReflection_GetParamsRequest_messageType +} + +// New returns a newly allocated and mutable empty message. +func (x *fastReflection_GetParamsRequest) New() protoreflect.Message { + return new(fastReflection_GetParamsRequest) +} + +// Interface unwraps the message reflection interface and +// returns the underlying ProtoMessage interface. +func (x *fastReflection_GetParamsRequest) Interface() protoreflect.ProtoMessage { + return (*GetParamsRequest)(x) +} + +// Range iterates over every populated field in an undefined order, +// calling f for each field descriptor and value encountered. +// Range returns immediately if f returns false. +// While iterating, mutating operations may only be performed +// on the current field descriptor. +func (x *fastReflection_GetParamsRequest) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { +} + +// Has reports whether a field is populated. +// +// Some fields have the property of nullability where it is possible to +// distinguish between the default value of a field and whether the field +// was explicitly populated with the default value. Singular message fields, +// member fields of a oneof, and proto2 scalar fields are nullable. Such +// fields are populated only if explicitly set. +// +// In other cases (aside from the nullable cases above), +// a proto3 scalar field is populated if it contains a non-zero value, and +// a repeated field is populated if it is non-empty. +func (x *fastReflection_GetParamsRequest) Has(fd protoreflect.FieldDescriptor) bool { + switch fd.FullName() { + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetParamsRequest")) + } + panic(fmt.Errorf("message emissions.v8.GetParamsRequest does not contain field %s", fd.FullName())) + } +} + +// Clear clears the field such that a subsequent Has call reports false. +// +// Clearing an extension field clears both the extension type and value +// associated with the given field number. +// +// Clear is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetParamsRequest) Clear(fd protoreflect.FieldDescriptor) { + switch fd.FullName() { + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetParamsRequest")) + } + panic(fmt.Errorf("message emissions.v8.GetParamsRequest does not contain field %s", fd.FullName())) + } +} + +// Get retrieves the value for a field. +// +// For unpopulated scalars, it returns the default value, where +// the default value of a bytes scalar is guaranteed to be a copy. +// For unpopulated composite types, it returns an empty, read-only view +// of the value; to obtain a mutable reference, use Mutable. +func (x *fastReflection_GetParamsRequest) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { + switch descriptor.FullName() { + default: + if descriptor.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetParamsRequest")) + } + panic(fmt.Errorf("message emissions.v8.GetParamsRequest does not contain field %s", descriptor.FullName())) + } +} + +// Set stores the value for a field. +// +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType. +// When setting a composite type, it is unspecified whether the stored value +// aliases the source's memory in any way. If the composite value is an +// empty, read-only value, then it panics. +// +// Set is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetParamsRequest) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { + switch fd.FullName() { + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetParamsRequest")) + } + panic(fmt.Errorf("message emissions.v8.GetParamsRequest does not contain field %s", fd.FullName())) + } +} + +// Mutable returns a mutable reference to a composite type. +// +// If the field is unpopulated, it may allocate a composite value. +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType +// if not already stored. +// It panics if the field does not contain a composite type. +// +// Mutable is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetParamsRequest) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetParamsRequest")) + } + panic(fmt.Errorf("message emissions.v8.GetParamsRequest does not contain field %s", fd.FullName())) + } +} + +// NewField returns a new value that is assignable to the field +// for the given descriptor. For scalars, this returns the default value. +// For lists, maps, and messages, this returns a new, empty, mutable value. +func (x *fastReflection_GetParamsRequest) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetParamsRequest")) + } + panic(fmt.Errorf("message emissions.v8.GetParamsRequest does not contain field %s", fd.FullName())) + } +} + +// WhichOneof reports which field within the oneof is populated, +// returning nil if none are populated. +// It panics if the oneof descriptor does not belong to this message. +func (x *fastReflection_GetParamsRequest) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { + switch d.FullName() { + default: + panic(fmt.Errorf("%s is not a oneof field in emissions.v8.GetParamsRequest", d.FullName())) + } + panic("unreachable") +} + +// GetUnknown retrieves the entire list of unknown fields. +// The caller may only mutate the contents of the RawFields +// if the mutated bytes are stored back into the message with SetUnknown. +func (x *fastReflection_GetParamsRequest) GetUnknown() protoreflect.RawFields { + return x.unknownFields +} + +// SetUnknown stores an entire list of unknown fields. +// The raw fields must be syntactically valid according to the wire format. +// An implementation may panic if this is not the case. +// Once stored, the caller must not mutate the content of the RawFields. +// An empty RawFields may be passed to clear the fields. +// +// SetUnknown is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetParamsRequest) SetUnknown(fields protoreflect.RawFields) { + x.unknownFields = fields +} + +// IsValid reports whether the message is valid. +// +// An invalid message is an empty, read-only value. +// +// An invalid message often corresponds to a nil pointer of the concrete +// message type, but the details are implementation dependent. +// Validity is not part of the protobuf data model, and may not +// be preserved in marshaling or other operations. +func (x *fastReflection_GetParamsRequest) IsValid() bool { + return x != nil +} + +// ProtoMethods returns optional fastReflectionFeature-path implementations of various operations. +// This method may return nil. +// +// The returned methods type is identical to +// "google.golang.org/protobuf/runtime/protoiface".Methods. +// Consult the protoiface package documentation for details. +func (x *fastReflection_GetParamsRequest) ProtoMethods() *protoiface.Methods { + size := func(input protoiface.SizeInput) protoiface.SizeOutput { + x := input.Message.Interface().(*GetParamsRequest) + if x == nil { + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: 0, + } + } + options := runtime.SizeInputToOptions(input) + _ = options + var n int + var l int + _ = l + if x.unknownFields != nil { + n += len(x.unknownFields) + } + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: n, + } + } + + marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { + x := input.Message.Interface().(*GetParamsRequest) + if x == nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + options := runtime.MarshalInputToOptions(input) + _ = options + size := options.Size(x) + dAtA := make([]byte, size) + i := len(dAtA) + _ = i + var l int + _ = l + if x.unknownFields != nil { + i -= len(x.unknownFields) + copy(dAtA[i:], x.unknownFields) + } + if input.Buf != nil { + input.Buf = append(input.Buf, dAtA...) + } else { + input.Buf = dAtA + } + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { + x := input.Message.Interface().(*GetParamsRequest) + if x == nil { + return protoiface.UnmarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Flags: input.Flags, + }, nil + } + options := runtime.UnmarshalInputToOptions(input) + _ = options + dAtA := input.Buf + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: GetParamsRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: GetParamsRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + default: + iNdEx = preIndex + skippy, err := runtime.Skip(dAtA[iNdEx:]) + if err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if (iNdEx + skippy) > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + if !options.DiscardUnknown { + x.unknownFields = append(x.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + } + iNdEx += skippy + } + } + + if iNdEx > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, nil + } + return &protoiface.Methods{ + NoUnkeyedLiterals: struct{}{}, + Flags: protoiface.SupportMarshalDeterministic | protoiface.SupportUnmarshalDiscardUnknown, + Size: size, + Marshal: marshal, + Unmarshal: unmarshal, + Merge: nil, + CheckInitialized: nil, + } +} + +var ( + md_GetParamsResponse protoreflect.MessageDescriptor + fd_GetParamsResponse_params protoreflect.FieldDescriptor +) + +func init() { + file_emissions_v8_query_proto_init() + md_GetParamsResponse = File_emissions_v8_query_proto.Messages().ByName("GetParamsResponse") + fd_GetParamsResponse_params = md_GetParamsResponse.Fields().ByName("params") +} + +var _ protoreflect.Message = (*fastReflection_GetParamsResponse)(nil) + +type fastReflection_GetParamsResponse GetParamsResponse + +func (x *GetParamsResponse) ProtoReflect() protoreflect.Message { + return (*fastReflection_GetParamsResponse)(x) +} + +func (x *GetParamsResponse) slowProtoReflect() protoreflect.Message { + mi := &file_emissions_v8_query_proto_msgTypes[49] + 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) +} + +var _fastReflection_GetParamsResponse_messageType fastReflection_GetParamsResponse_messageType +var _ protoreflect.MessageType = fastReflection_GetParamsResponse_messageType{} + +type fastReflection_GetParamsResponse_messageType struct{} + +func (x fastReflection_GetParamsResponse_messageType) Zero() protoreflect.Message { + return (*fastReflection_GetParamsResponse)(nil) +} +func (x fastReflection_GetParamsResponse_messageType) New() protoreflect.Message { + return new(fastReflection_GetParamsResponse) +} +func (x fastReflection_GetParamsResponse_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_GetParamsResponse +} + +// Descriptor returns message descriptor, which contains only the protobuf +// type information for the message. +func (x *fastReflection_GetParamsResponse) Descriptor() protoreflect.MessageDescriptor { + return md_GetParamsResponse +} + +// Type returns the message type, which encapsulates both Go and protobuf +// type information. If the Go type information is not needed, +// it is recommended that the message descriptor be used instead. +func (x *fastReflection_GetParamsResponse) Type() protoreflect.MessageType { + return _fastReflection_GetParamsResponse_messageType +} + +// New returns a newly allocated and mutable empty message. +func (x *fastReflection_GetParamsResponse) New() protoreflect.Message { + return new(fastReflection_GetParamsResponse) +} + +// Interface unwraps the message reflection interface and +// returns the underlying ProtoMessage interface. +func (x *fastReflection_GetParamsResponse) Interface() protoreflect.ProtoMessage { + return (*GetParamsResponse)(x) +} + +// Range iterates over every populated field in an undefined order, +// calling f for each field descriptor and value encountered. +// Range returns immediately if f returns false. +// While iterating, mutating operations may only be performed +// on the current field descriptor. +func (x *fastReflection_GetParamsResponse) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { + if x.Params != nil { + value := protoreflect.ValueOfMessage(x.Params.ProtoReflect()) + if !f(fd_GetParamsResponse_params, value) { + return + } + } +} + +// Has reports whether a field is populated. +// +// Some fields have the property of nullability where it is possible to +// distinguish between the default value of a field and whether the field +// was explicitly populated with the default value. Singular message fields, +// member fields of a oneof, and proto2 scalar fields are nullable. Such +// fields are populated only if explicitly set. +// +// In other cases (aside from the nullable cases above), +// a proto3 scalar field is populated if it contains a non-zero value, and +// a repeated field is populated if it is non-empty. +func (x *fastReflection_GetParamsResponse) Has(fd protoreflect.FieldDescriptor) bool { + switch fd.FullName() { + case "emissions.v8.GetParamsResponse.params": + return x.Params != nil + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetParamsResponse")) + } + panic(fmt.Errorf("message emissions.v8.GetParamsResponse does not contain field %s", fd.FullName())) + } +} + +// Clear clears the field such that a subsequent Has call reports false. +// +// Clearing an extension field clears both the extension type and value +// associated with the given field number. +// +// Clear is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetParamsResponse) Clear(fd protoreflect.FieldDescriptor) { + switch fd.FullName() { + case "emissions.v8.GetParamsResponse.params": + x.Params = nil + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetParamsResponse")) + } + panic(fmt.Errorf("message emissions.v8.GetParamsResponse does not contain field %s", fd.FullName())) + } +} + +// Get retrieves the value for a field. +// +// For unpopulated scalars, it returns the default value, where +// the default value of a bytes scalar is guaranteed to be a copy. +// For unpopulated composite types, it returns an empty, read-only view +// of the value; to obtain a mutable reference, use Mutable. +func (x *fastReflection_GetParamsResponse) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { + switch descriptor.FullName() { + case "emissions.v8.GetParamsResponse.params": + value := x.Params + return protoreflect.ValueOfMessage(value.ProtoReflect()) + default: + if descriptor.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetParamsResponse")) + } + panic(fmt.Errorf("message emissions.v8.GetParamsResponse does not contain field %s", descriptor.FullName())) + } +} + +// Set stores the value for a field. +// +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType. +// When setting a composite type, it is unspecified whether the stored value +// aliases the source's memory in any way. If the composite value is an +// empty, read-only value, then it panics. +// +// Set is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetParamsResponse) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { + switch fd.FullName() { + case "emissions.v8.GetParamsResponse.params": + x.Params = value.Message().Interface().(*Params) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetParamsResponse")) + } + panic(fmt.Errorf("message emissions.v8.GetParamsResponse does not contain field %s", fd.FullName())) + } +} + +// Mutable returns a mutable reference to a composite type. +// +// If the field is unpopulated, it may allocate a composite value. +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType +// if not already stored. +// It panics if the field does not contain a composite type. +// +// Mutable is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetParamsResponse) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.GetParamsResponse.params": + if x.Params == nil { + x.Params = new(Params) + } + return protoreflect.ValueOfMessage(x.Params.ProtoReflect()) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetParamsResponse")) + } + panic(fmt.Errorf("message emissions.v8.GetParamsResponse does not contain field %s", fd.FullName())) + } +} + +// NewField returns a new value that is assignable to the field +// for the given descriptor. For scalars, this returns the default value. +// For lists, maps, and messages, this returns a new, empty, mutable value. +func (x *fastReflection_GetParamsResponse) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.GetParamsResponse.params": + m := new(Params) + return protoreflect.ValueOfMessage(m.ProtoReflect()) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetParamsResponse")) + } + panic(fmt.Errorf("message emissions.v8.GetParamsResponse does not contain field %s", fd.FullName())) + } +} + +// WhichOneof reports which field within the oneof is populated, +// returning nil if none are populated. +// It panics if the oneof descriptor does not belong to this message. +func (x *fastReflection_GetParamsResponse) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { + switch d.FullName() { + default: + panic(fmt.Errorf("%s is not a oneof field in emissions.v8.GetParamsResponse", d.FullName())) + } + panic("unreachable") +} + +// GetUnknown retrieves the entire list of unknown fields. +// The caller may only mutate the contents of the RawFields +// if the mutated bytes are stored back into the message with SetUnknown. +func (x *fastReflection_GetParamsResponse) GetUnknown() protoreflect.RawFields { + return x.unknownFields +} + +// SetUnknown stores an entire list of unknown fields. +// The raw fields must be syntactically valid according to the wire format. +// An implementation may panic if this is not the case. +// Once stored, the caller must not mutate the content of the RawFields. +// An empty RawFields may be passed to clear the fields. +// +// SetUnknown is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetParamsResponse) SetUnknown(fields protoreflect.RawFields) { + x.unknownFields = fields +} + +// IsValid reports whether the message is valid. +// +// An invalid message is an empty, read-only value. +// +// An invalid message often corresponds to a nil pointer of the concrete +// message type, but the details are implementation dependent. +// Validity is not part of the protobuf data model, and may not +// be preserved in marshaling or other operations. +func (x *fastReflection_GetParamsResponse) IsValid() bool { + return x != nil +} + +// ProtoMethods returns optional fastReflectionFeature-path implementations of various operations. +// This method may return nil. +// +// The returned methods type is identical to +// "google.golang.org/protobuf/runtime/protoiface".Methods. +// Consult the protoiface package documentation for details. +func (x *fastReflection_GetParamsResponse) ProtoMethods() *protoiface.Methods { + size := func(input protoiface.SizeInput) protoiface.SizeOutput { + x := input.Message.Interface().(*GetParamsResponse) + if x == nil { + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: 0, + } + } + options := runtime.SizeInputToOptions(input) + _ = options + var n int + var l int + _ = l + if x.Params != nil { + l = options.Size(x.Params) + n += 1 + l + runtime.Sov(uint64(l)) + } + if x.unknownFields != nil { + n += len(x.unknownFields) + } + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: n, + } + } + + marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { + x := input.Message.Interface().(*GetParamsResponse) + if x == nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + options := runtime.MarshalInputToOptions(input) + _ = options + size := options.Size(x) + dAtA := make([]byte, size) + i := len(dAtA) + _ = i + var l int + _ = l + if x.unknownFields != nil { + i -= len(x.unknownFields) + copy(dAtA[i:], x.unknownFields) + } + if x.Params != nil { + encoded, err := options.Marshal(x.Params) + if err != nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = runtime.EncodeVarint(dAtA, i, uint64(len(encoded))) + i-- + dAtA[i] = 0xa + } + if input.Buf != nil { + input.Buf = append(input.Buf, dAtA...) + } else { + input.Buf = dAtA + } + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { + x := input.Message.Interface().(*GetParamsResponse) + if x == nil { + return protoiface.UnmarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Flags: input.Flags, + }, nil + } + options := runtime.UnmarshalInputToOptions(input) + _ = options + dAtA := input.Buf + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: GetParamsResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: GetParamsResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Params", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + if x.Params == nil { + x.Params = &Params{} + } + if err := options.Unmarshal(dAtA[iNdEx:postIndex], x.Params); err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := runtime.Skip(dAtA[iNdEx:]) + if err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if (iNdEx + skippy) > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + if !options.DiscardUnknown { + x.unknownFields = append(x.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + } + iNdEx += skippy + } + } + + if iNdEx > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, nil + } + return &protoiface.Methods{ + NoUnkeyedLiterals: struct{}{}, + Flags: protoiface.SupportMarshalDeterministic | protoiface.SupportUnmarshalDiscardUnknown, + Size: size, + Marshal: marshal, + Unmarshal: unmarshal, + Merge: nil, + CheckInitialized: nil, + } +} + +var ( + md_GetTotalStakeRequest protoreflect.MessageDescriptor +) + +func init() { + file_emissions_v8_query_proto_init() + md_GetTotalStakeRequest = File_emissions_v8_query_proto.Messages().ByName("GetTotalStakeRequest") +} + +var _ protoreflect.Message = (*fastReflection_GetTotalStakeRequest)(nil) + +type fastReflection_GetTotalStakeRequest GetTotalStakeRequest + +func (x *GetTotalStakeRequest) ProtoReflect() protoreflect.Message { + return (*fastReflection_GetTotalStakeRequest)(x) +} + +func (x *GetTotalStakeRequest) slowProtoReflect() protoreflect.Message { + mi := &file_emissions_v8_query_proto_msgTypes[50] + 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) +} + +var _fastReflection_GetTotalStakeRequest_messageType fastReflection_GetTotalStakeRequest_messageType +var _ protoreflect.MessageType = fastReflection_GetTotalStakeRequest_messageType{} + +type fastReflection_GetTotalStakeRequest_messageType struct{} + +func (x fastReflection_GetTotalStakeRequest_messageType) Zero() protoreflect.Message { + return (*fastReflection_GetTotalStakeRequest)(nil) +} +func (x fastReflection_GetTotalStakeRequest_messageType) New() protoreflect.Message { + return new(fastReflection_GetTotalStakeRequest) +} +func (x fastReflection_GetTotalStakeRequest_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_GetTotalStakeRequest +} + +// Descriptor returns message descriptor, which contains only the protobuf +// type information for the message. +func (x *fastReflection_GetTotalStakeRequest) Descriptor() protoreflect.MessageDescriptor { + return md_GetTotalStakeRequest +} + +// Type returns the message type, which encapsulates both Go and protobuf +// type information. If the Go type information is not needed, +// it is recommended that the message descriptor be used instead. +func (x *fastReflection_GetTotalStakeRequest) Type() protoreflect.MessageType { + return _fastReflection_GetTotalStakeRequest_messageType +} + +// New returns a newly allocated and mutable empty message. +func (x *fastReflection_GetTotalStakeRequest) New() protoreflect.Message { + return new(fastReflection_GetTotalStakeRequest) +} + +// Interface unwraps the message reflection interface and +// returns the underlying ProtoMessage interface. +func (x *fastReflection_GetTotalStakeRequest) Interface() protoreflect.ProtoMessage { + return (*GetTotalStakeRequest)(x) +} + +// Range iterates over every populated field in an undefined order, +// calling f for each field descriptor and value encountered. +// Range returns immediately if f returns false. +// While iterating, mutating operations may only be performed +// on the current field descriptor. +func (x *fastReflection_GetTotalStakeRequest) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { +} + +// Has reports whether a field is populated. +// +// Some fields have the property of nullability where it is possible to +// distinguish between the default value of a field and whether the field +// was explicitly populated with the default value. Singular message fields, +// member fields of a oneof, and proto2 scalar fields are nullable. Such +// fields are populated only if explicitly set. +// +// In other cases (aside from the nullable cases above), +// a proto3 scalar field is populated if it contains a non-zero value, and +// a repeated field is populated if it is non-empty. +func (x *fastReflection_GetTotalStakeRequest) Has(fd protoreflect.FieldDescriptor) bool { + switch fd.FullName() { + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetTotalStakeRequest")) + } + panic(fmt.Errorf("message emissions.v8.GetTotalStakeRequest does not contain field %s", fd.FullName())) + } +} + +// Clear clears the field such that a subsequent Has call reports false. +// +// Clearing an extension field clears both the extension type and value +// associated with the given field number. +// +// Clear is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetTotalStakeRequest) Clear(fd protoreflect.FieldDescriptor) { + switch fd.FullName() { + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetTotalStakeRequest")) + } + panic(fmt.Errorf("message emissions.v8.GetTotalStakeRequest does not contain field %s", fd.FullName())) + } +} + +// Get retrieves the value for a field. +// +// For unpopulated scalars, it returns the default value, where +// the default value of a bytes scalar is guaranteed to be a copy. +// For unpopulated composite types, it returns an empty, read-only view +// of the value; to obtain a mutable reference, use Mutable. +func (x *fastReflection_GetTotalStakeRequest) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { + switch descriptor.FullName() { + default: + if descriptor.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetTotalStakeRequest")) + } + panic(fmt.Errorf("message emissions.v8.GetTotalStakeRequest does not contain field %s", descriptor.FullName())) + } +} + +// Set stores the value for a field. +// +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType. +// When setting a composite type, it is unspecified whether the stored value +// aliases the source's memory in any way. If the composite value is an +// empty, read-only value, then it panics. +// +// Set is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetTotalStakeRequest) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { + switch fd.FullName() { + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetTotalStakeRequest")) + } + panic(fmt.Errorf("message emissions.v8.GetTotalStakeRequest does not contain field %s", fd.FullName())) + } +} + +// Mutable returns a mutable reference to a composite type. +// +// If the field is unpopulated, it may allocate a composite value. +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType +// if not already stored. +// It panics if the field does not contain a composite type. +// +// Mutable is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetTotalStakeRequest) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetTotalStakeRequest")) + } + panic(fmt.Errorf("message emissions.v8.GetTotalStakeRequest does not contain field %s", fd.FullName())) + } +} + +// NewField returns a new value that is assignable to the field +// for the given descriptor. For scalars, this returns the default value. +// For lists, maps, and messages, this returns a new, empty, mutable value. +func (x *fastReflection_GetTotalStakeRequest) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetTotalStakeRequest")) + } + panic(fmt.Errorf("message emissions.v8.GetTotalStakeRequest does not contain field %s", fd.FullName())) + } +} + +// WhichOneof reports which field within the oneof is populated, +// returning nil if none are populated. +// It panics if the oneof descriptor does not belong to this message. +func (x *fastReflection_GetTotalStakeRequest) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { + switch d.FullName() { + default: + panic(fmt.Errorf("%s is not a oneof field in emissions.v8.GetTotalStakeRequest", d.FullName())) + } + panic("unreachable") +} + +// GetUnknown retrieves the entire list of unknown fields. +// The caller may only mutate the contents of the RawFields +// if the mutated bytes are stored back into the message with SetUnknown. +func (x *fastReflection_GetTotalStakeRequest) GetUnknown() protoreflect.RawFields { + return x.unknownFields +} + +// SetUnknown stores an entire list of unknown fields. +// The raw fields must be syntactically valid according to the wire format. +// An implementation may panic if this is not the case. +// Once stored, the caller must not mutate the content of the RawFields. +// An empty RawFields may be passed to clear the fields. +// +// SetUnknown is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetTotalStakeRequest) SetUnknown(fields protoreflect.RawFields) { + x.unknownFields = fields +} + +// IsValid reports whether the message is valid. +// +// An invalid message is an empty, read-only value. +// +// An invalid message often corresponds to a nil pointer of the concrete +// message type, but the details are implementation dependent. +// Validity is not part of the protobuf data model, and may not +// be preserved in marshaling or other operations. +func (x *fastReflection_GetTotalStakeRequest) IsValid() bool { + return x != nil +} + +// ProtoMethods returns optional fastReflectionFeature-path implementations of various operations. +// This method may return nil. +// +// The returned methods type is identical to +// "google.golang.org/protobuf/runtime/protoiface".Methods. +// Consult the protoiface package documentation for details. +func (x *fastReflection_GetTotalStakeRequest) ProtoMethods() *protoiface.Methods { + size := func(input protoiface.SizeInput) protoiface.SizeOutput { + x := input.Message.Interface().(*GetTotalStakeRequest) + if x == nil { + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: 0, + } + } + options := runtime.SizeInputToOptions(input) + _ = options + var n int + var l int + _ = l + if x.unknownFields != nil { + n += len(x.unknownFields) + } + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: n, + } + } + + marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { + x := input.Message.Interface().(*GetTotalStakeRequest) + if x == nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + options := runtime.MarshalInputToOptions(input) + _ = options + size := options.Size(x) + dAtA := make([]byte, size) + i := len(dAtA) + _ = i + var l int + _ = l + if x.unknownFields != nil { + i -= len(x.unknownFields) + copy(dAtA[i:], x.unknownFields) + } + if input.Buf != nil { + input.Buf = append(input.Buf, dAtA...) + } else { + input.Buf = dAtA + } + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { + x := input.Message.Interface().(*GetTotalStakeRequest) + if x == nil { + return protoiface.UnmarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Flags: input.Flags, + }, nil + } + options := runtime.UnmarshalInputToOptions(input) + _ = options + dAtA := input.Buf + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: GetTotalStakeRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: GetTotalStakeRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + default: + iNdEx = preIndex + skippy, err := runtime.Skip(dAtA[iNdEx:]) + if err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if (iNdEx + skippy) > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + if !options.DiscardUnknown { + x.unknownFields = append(x.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + } + iNdEx += skippy + } + } + + if iNdEx > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, nil + } + return &protoiface.Methods{ + NoUnkeyedLiterals: struct{}{}, + Flags: protoiface.SupportMarshalDeterministic | protoiface.SupportUnmarshalDiscardUnknown, + Size: size, + Marshal: marshal, + Unmarshal: unmarshal, + Merge: nil, + CheckInitialized: nil, + } +} + +var ( + md_GetTotalStakeResponse protoreflect.MessageDescriptor + fd_GetTotalStakeResponse_amount protoreflect.FieldDescriptor +) + +func init() { + file_emissions_v8_query_proto_init() + md_GetTotalStakeResponse = File_emissions_v8_query_proto.Messages().ByName("GetTotalStakeResponse") + fd_GetTotalStakeResponse_amount = md_GetTotalStakeResponse.Fields().ByName("amount") +} + +var _ protoreflect.Message = (*fastReflection_GetTotalStakeResponse)(nil) + +type fastReflection_GetTotalStakeResponse GetTotalStakeResponse + +func (x *GetTotalStakeResponse) ProtoReflect() protoreflect.Message { + return (*fastReflection_GetTotalStakeResponse)(x) +} + +func (x *GetTotalStakeResponse) slowProtoReflect() protoreflect.Message { + mi := &file_emissions_v8_query_proto_msgTypes[51] + 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) +} + +var _fastReflection_GetTotalStakeResponse_messageType fastReflection_GetTotalStakeResponse_messageType +var _ protoreflect.MessageType = fastReflection_GetTotalStakeResponse_messageType{} + +type fastReflection_GetTotalStakeResponse_messageType struct{} + +func (x fastReflection_GetTotalStakeResponse_messageType) Zero() protoreflect.Message { + return (*fastReflection_GetTotalStakeResponse)(nil) +} +func (x fastReflection_GetTotalStakeResponse_messageType) New() protoreflect.Message { + return new(fastReflection_GetTotalStakeResponse) +} +func (x fastReflection_GetTotalStakeResponse_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_GetTotalStakeResponse +} + +// Descriptor returns message descriptor, which contains only the protobuf +// type information for the message. +func (x *fastReflection_GetTotalStakeResponse) Descriptor() protoreflect.MessageDescriptor { + return md_GetTotalStakeResponse +} + +// Type returns the message type, which encapsulates both Go and protobuf +// type information. If the Go type information is not needed, +// it is recommended that the message descriptor be used instead. +func (x *fastReflection_GetTotalStakeResponse) Type() protoreflect.MessageType { + return _fastReflection_GetTotalStakeResponse_messageType +} + +// New returns a newly allocated and mutable empty message. +func (x *fastReflection_GetTotalStakeResponse) New() protoreflect.Message { + return new(fastReflection_GetTotalStakeResponse) +} + +// Interface unwraps the message reflection interface and +// returns the underlying ProtoMessage interface. +func (x *fastReflection_GetTotalStakeResponse) Interface() protoreflect.ProtoMessage { + return (*GetTotalStakeResponse)(x) +} + +// Range iterates over every populated field in an undefined order, +// calling f for each field descriptor and value encountered. +// Range returns immediately if f returns false. +// While iterating, mutating operations may only be performed +// on the current field descriptor. +func (x *fastReflection_GetTotalStakeResponse) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { + if x.Amount != "" { + value := protoreflect.ValueOfString(x.Amount) + if !f(fd_GetTotalStakeResponse_amount, value) { + return + } + } +} + +// Has reports whether a field is populated. +// +// Some fields have the property of nullability where it is possible to +// distinguish between the default value of a field and whether the field +// was explicitly populated with the default value. Singular message fields, +// member fields of a oneof, and proto2 scalar fields are nullable. Such +// fields are populated only if explicitly set. +// +// In other cases (aside from the nullable cases above), +// a proto3 scalar field is populated if it contains a non-zero value, and +// a repeated field is populated if it is non-empty. +func (x *fastReflection_GetTotalStakeResponse) Has(fd protoreflect.FieldDescriptor) bool { + switch fd.FullName() { + case "emissions.v8.GetTotalStakeResponse.amount": + return x.Amount != "" + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetTotalStakeResponse")) + } + panic(fmt.Errorf("message emissions.v8.GetTotalStakeResponse does not contain field %s", fd.FullName())) + } +} + +// Clear clears the field such that a subsequent Has call reports false. +// +// Clearing an extension field clears both the extension type and value +// associated with the given field number. +// +// Clear is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetTotalStakeResponse) Clear(fd protoreflect.FieldDescriptor) { + switch fd.FullName() { + case "emissions.v8.GetTotalStakeResponse.amount": + x.Amount = "" + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetTotalStakeResponse")) + } + panic(fmt.Errorf("message emissions.v8.GetTotalStakeResponse does not contain field %s", fd.FullName())) + } +} + +// Get retrieves the value for a field. +// +// For unpopulated scalars, it returns the default value, where +// the default value of a bytes scalar is guaranteed to be a copy. +// For unpopulated composite types, it returns an empty, read-only view +// of the value; to obtain a mutable reference, use Mutable. +func (x *fastReflection_GetTotalStakeResponse) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { + switch descriptor.FullName() { + case "emissions.v8.GetTotalStakeResponse.amount": + value := x.Amount + return protoreflect.ValueOfString(value) + default: + if descriptor.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetTotalStakeResponse")) + } + panic(fmt.Errorf("message emissions.v8.GetTotalStakeResponse does not contain field %s", descriptor.FullName())) + } +} + +// Set stores the value for a field. +// +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType. +// When setting a composite type, it is unspecified whether the stored value +// aliases the source's memory in any way. If the composite value is an +// empty, read-only value, then it panics. +// +// Set is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetTotalStakeResponse) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { + switch fd.FullName() { + case "emissions.v8.GetTotalStakeResponse.amount": + x.Amount = value.Interface().(string) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetTotalStakeResponse")) + } + panic(fmt.Errorf("message emissions.v8.GetTotalStakeResponse does not contain field %s", fd.FullName())) + } +} + +// Mutable returns a mutable reference to a composite type. +// +// If the field is unpopulated, it may allocate a composite value. +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType +// if not already stored. +// It panics if the field does not contain a composite type. +// +// Mutable is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetTotalStakeResponse) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.GetTotalStakeResponse.amount": + panic(fmt.Errorf("field amount of message emissions.v8.GetTotalStakeResponse is not mutable")) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetTotalStakeResponse")) + } + panic(fmt.Errorf("message emissions.v8.GetTotalStakeResponse does not contain field %s", fd.FullName())) + } +} + +// NewField returns a new value that is assignable to the field +// for the given descriptor. For scalars, this returns the default value. +// For lists, maps, and messages, this returns a new, empty, mutable value. +func (x *fastReflection_GetTotalStakeResponse) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.GetTotalStakeResponse.amount": + return protoreflect.ValueOfString("") + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetTotalStakeResponse")) + } + panic(fmt.Errorf("message emissions.v8.GetTotalStakeResponse does not contain field %s", fd.FullName())) + } +} + +// WhichOneof reports which field within the oneof is populated, +// returning nil if none are populated. +// It panics if the oneof descriptor does not belong to this message. +func (x *fastReflection_GetTotalStakeResponse) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { + switch d.FullName() { + default: + panic(fmt.Errorf("%s is not a oneof field in emissions.v8.GetTotalStakeResponse", d.FullName())) + } + panic("unreachable") +} + +// GetUnknown retrieves the entire list of unknown fields. +// The caller may only mutate the contents of the RawFields +// if the mutated bytes are stored back into the message with SetUnknown. +func (x *fastReflection_GetTotalStakeResponse) GetUnknown() protoreflect.RawFields { + return x.unknownFields +} + +// SetUnknown stores an entire list of unknown fields. +// The raw fields must be syntactically valid according to the wire format. +// An implementation may panic if this is not the case. +// Once stored, the caller must not mutate the content of the RawFields. +// An empty RawFields may be passed to clear the fields. +// +// SetUnknown is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetTotalStakeResponse) SetUnknown(fields protoreflect.RawFields) { + x.unknownFields = fields +} + +// IsValid reports whether the message is valid. +// +// An invalid message is an empty, read-only value. +// +// An invalid message often corresponds to a nil pointer of the concrete +// message type, but the details are implementation dependent. +// Validity is not part of the protobuf data model, and may not +// be preserved in marshaling or other operations. +func (x *fastReflection_GetTotalStakeResponse) IsValid() bool { + return x != nil +} + +// ProtoMethods returns optional fastReflectionFeature-path implementations of various operations. +// This method may return nil. +// +// The returned methods type is identical to +// "google.golang.org/protobuf/runtime/protoiface".Methods. +// Consult the protoiface package documentation for details. +func (x *fastReflection_GetTotalStakeResponse) ProtoMethods() *protoiface.Methods { + size := func(input protoiface.SizeInput) protoiface.SizeOutput { + x := input.Message.Interface().(*GetTotalStakeResponse) + if x == nil { + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: 0, + } + } + options := runtime.SizeInputToOptions(input) + _ = options + var n int + var l int + _ = l + l = len(x.Amount) + if l > 0 { + n += 1 + l + runtime.Sov(uint64(l)) + } + if x.unknownFields != nil { + n += len(x.unknownFields) + } + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: n, + } + } + + marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { + x := input.Message.Interface().(*GetTotalStakeResponse) + if x == nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + options := runtime.MarshalInputToOptions(input) + _ = options + size := options.Size(x) + dAtA := make([]byte, size) + i := len(dAtA) + _ = i + var l int + _ = l + if x.unknownFields != nil { + i -= len(x.unknownFields) + copy(dAtA[i:], x.unknownFields) + } + if len(x.Amount) > 0 { + i -= len(x.Amount) + copy(dAtA[i:], x.Amount) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.Amount))) + i-- + dAtA[i] = 0xa + } + if input.Buf != nil { + input.Buf = append(input.Buf, dAtA...) + } else { + input.Buf = dAtA + } + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { + x := input.Message.Interface().(*GetTotalStakeResponse) + if x == nil { + return protoiface.UnmarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Flags: input.Flags, + }, nil + } + options := runtime.UnmarshalInputToOptions(input) + _ = options + dAtA := input.Buf + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: GetTotalStakeResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: GetTotalStakeResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Amount", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + x.Amount = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := runtime.Skip(dAtA[iNdEx:]) + if err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if (iNdEx + skippy) > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + if !options.DiscardUnknown { + x.unknownFields = append(x.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + } + iNdEx += skippy + } + } + + if iNdEx > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, nil + } + return &protoiface.Methods{ + NoUnkeyedLiterals: struct{}{}, + Flags: protoiface.SupportMarshalDeterministic | protoiface.SupportUnmarshalDiscardUnknown, + Size: size, + Marshal: marshal, + Unmarshal: unmarshal, + Merge: nil, + CheckInitialized: nil, + } +} + +var ( + md_GetReputerStakeInTopicRequest protoreflect.MessageDescriptor + fd_GetReputerStakeInTopicRequest_address protoreflect.FieldDescriptor + fd_GetReputerStakeInTopicRequest_topic_id protoreflect.FieldDescriptor +) + +func init() { + file_emissions_v8_query_proto_init() + md_GetReputerStakeInTopicRequest = File_emissions_v8_query_proto.Messages().ByName("GetReputerStakeInTopicRequest") + fd_GetReputerStakeInTopicRequest_address = md_GetReputerStakeInTopicRequest.Fields().ByName("address") + fd_GetReputerStakeInTopicRequest_topic_id = md_GetReputerStakeInTopicRequest.Fields().ByName("topic_id") +} + +var _ protoreflect.Message = (*fastReflection_GetReputerStakeInTopicRequest)(nil) + +type fastReflection_GetReputerStakeInTopicRequest GetReputerStakeInTopicRequest + +func (x *GetReputerStakeInTopicRequest) ProtoReflect() protoreflect.Message { + return (*fastReflection_GetReputerStakeInTopicRequest)(x) +} + +func (x *GetReputerStakeInTopicRequest) slowProtoReflect() protoreflect.Message { + mi := &file_emissions_v8_query_proto_msgTypes[52] + 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) +} + +var _fastReflection_GetReputerStakeInTopicRequest_messageType fastReflection_GetReputerStakeInTopicRequest_messageType +var _ protoreflect.MessageType = fastReflection_GetReputerStakeInTopicRequest_messageType{} + +type fastReflection_GetReputerStakeInTopicRequest_messageType struct{} + +func (x fastReflection_GetReputerStakeInTopicRequest_messageType) Zero() protoreflect.Message { + return (*fastReflection_GetReputerStakeInTopicRequest)(nil) +} +func (x fastReflection_GetReputerStakeInTopicRequest_messageType) New() protoreflect.Message { + return new(fastReflection_GetReputerStakeInTopicRequest) +} +func (x fastReflection_GetReputerStakeInTopicRequest_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_GetReputerStakeInTopicRequest +} + +// Descriptor returns message descriptor, which contains only the protobuf +// type information for the message. +func (x *fastReflection_GetReputerStakeInTopicRequest) Descriptor() protoreflect.MessageDescriptor { + return md_GetReputerStakeInTopicRequest +} + +// Type returns the message type, which encapsulates both Go and protobuf +// type information. If the Go type information is not needed, +// it is recommended that the message descriptor be used instead. +func (x *fastReflection_GetReputerStakeInTopicRequest) Type() protoreflect.MessageType { + return _fastReflection_GetReputerStakeInTopicRequest_messageType +} + +// New returns a newly allocated and mutable empty message. +func (x *fastReflection_GetReputerStakeInTopicRequest) New() protoreflect.Message { + return new(fastReflection_GetReputerStakeInTopicRequest) +} + +// Interface unwraps the message reflection interface and +// returns the underlying ProtoMessage interface. +func (x *fastReflection_GetReputerStakeInTopicRequest) Interface() protoreflect.ProtoMessage { + return (*GetReputerStakeInTopicRequest)(x) +} + +// Range iterates over every populated field in an undefined order, +// calling f for each field descriptor and value encountered. +// Range returns immediately if f returns false. +// While iterating, mutating operations may only be performed +// on the current field descriptor. +func (x *fastReflection_GetReputerStakeInTopicRequest) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { + if x.Address != "" { + value := protoreflect.ValueOfString(x.Address) + if !f(fd_GetReputerStakeInTopicRequest_address, value) { + return + } + } + if x.TopicId != uint64(0) { + value := protoreflect.ValueOfUint64(x.TopicId) + if !f(fd_GetReputerStakeInTopicRequest_topic_id, value) { + return + } + } +} + +// Has reports whether a field is populated. +// +// Some fields have the property of nullability where it is possible to +// distinguish between the default value of a field and whether the field +// was explicitly populated with the default value. Singular message fields, +// member fields of a oneof, and proto2 scalar fields are nullable. Such +// fields are populated only if explicitly set. +// +// In other cases (aside from the nullable cases above), +// a proto3 scalar field is populated if it contains a non-zero value, and +// a repeated field is populated if it is non-empty. +func (x *fastReflection_GetReputerStakeInTopicRequest) Has(fd protoreflect.FieldDescriptor) bool { + switch fd.FullName() { + case "emissions.v8.GetReputerStakeInTopicRequest.address": + return x.Address != "" + case "emissions.v8.GetReputerStakeInTopicRequest.topic_id": + return x.TopicId != uint64(0) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetReputerStakeInTopicRequest")) + } + panic(fmt.Errorf("message emissions.v8.GetReputerStakeInTopicRequest does not contain field %s", fd.FullName())) + } +} + +// Clear clears the field such that a subsequent Has call reports false. +// +// Clearing an extension field clears both the extension type and value +// associated with the given field number. +// +// Clear is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetReputerStakeInTopicRequest) Clear(fd protoreflect.FieldDescriptor) { + switch fd.FullName() { + case "emissions.v8.GetReputerStakeInTopicRequest.address": + x.Address = "" + case "emissions.v8.GetReputerStakeInTopicRequest.topic_id": + x.TopicId = uint64(0) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetReputerStakeInTopicRequest")) + } + panic(fmt.Errorf("message emissions.v8.GetReputerStakeInTopicRequest does not contain field %s", fd.FullName())) + } +} + +// Get retrieves the value for a field. +// +// For unpopulated scalars, it returns the default value, where +// the default value of a bytes scalar is guaranteed to be a copy. +// For unpopulated composite types, it returns an empty, read-only view +// of the value; to obtain a mutable reference, use Mutable. +func (x *fastReflection_GetReputerStakeInTopicRequest) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { + switch descriptor.FullName() { + case "emissions.v8.GetReputerStakeInTopicRequest.address": + value := x.Address + return protoreflect.ValueOfString(value) + case "emissions.v8.GetReputerStakeInTopicRequest.topic_id": + value := x.TopicId + return protoreflect.ValueOfUint64(value) + default: + if descriptor.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetReputerStakeInTopicRequest")) + } + panic(fmt.Errorf("message emissions.v8.GetReputerStakeInTopicRequest does not contain field %s", descriptor.FullName())) + } +} + +// Set stores the value for a field. +// +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType. +// When setting a composite type, it is unspecified whether the stored value +// aliases the source's memory in any way. If the composite value is an +// empty, read-only value, then it panics. +// +// Set is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetReputerStakeInTopicRequest) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { + switch fd.FullName() { + case "emissions.v8.GetReputerStakeInTopicRequest.address": + x.Address = value.Interface().(string) + case "emissions.v8.GetReputerStakeInTopicRequest.topic_id": + x.TopicId = value.Uint() + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetReputerStakeInTopicRequest")) + } + panic(fmt.Errorf("message emissions.v8.GetReputerStakeInTopicRequest does not contain field %s", fd.FullName())) + } +} + +// Mutable returns a mutable reference to a composite type. +// +// If the field is unpopulated, it may allocate a composite value. +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType +// if not already stored. +// It panics if the field does not contain a composite type. +// +// Mutable is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetReputerStakeInTopicRequest) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.GetReputerStakeInTopicRequest.address": + panic(fmt.Errorf("field address of message emissions.v8.GetReputerStakeInTopicRequest is not mutable")) + case "emissions.v8.GetReputerStakeInTopicRequest.topic_id": + panic(fmt.Errorf("field topic_id of message emissions.v8.GetReputerStakeInTopicRequest is not mutable")) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetReputerStakeInTopicRequest")) + } + panic(fmt.Errorf("message emissions.v8.GetReputerStakeInTopicRequest does not contain field %s", fd.FullName())) + } +} + +// NewField returns a new value that is assignable to the field +// for the given descriptor. For scalars, this returns the default value. +// For lists, maps, and messages, this returns a new, empty, mutable value. +func (x *fastReflection_GetReputerStakeInTopicRequest) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.GetReputerStakeInTopicRequest.address": + return protoreflect.ValueOfString("") + case "emissions.v8.GetReputerStakeInTopicRequest.topic_id": + return protoreflect.ValueOfUint64(uint64(0)) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetReputerStakeInTopicRequest")) + } + panic(fmt.Errorf("message emissions.v8.GetReputerStakeInTopicRequest does not contain field %s", fd.FullName())) + } +} + +// WhichOneof reports which field within the oneof is populated, +// returning nil if none are populated. +// It panics if the oneof descriptor does not belong to this message. +func (x *fastReflection_GetReputerStakeInTopicRequest) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { + switch d.FullName() { + default: + panic(fmt.Errorf("%s is not a oneof field in emissions.v8.GetReputerStakeInTopicRequest", d.FullName())) + } + panic("unreachable") +} + +// GetUnknown retrieves the entire list of unknown fields. +// The caller may only mutate the contents of the RawFields +// if the mutated bytes are stored back into the message with SetUnknown. +func (x *fastReflection_GetReputerStakeInTopicRequest) GetUnknown() protoreflect.RawFields { + return x.unknownFields +} + +// SetUnknown stores an entire list of unknown fields. +// The raw fields must be syntactically valid according to the wire format. +// An implementation may panic if this is not the case. +// Once stored, the caller must not mutate the content of the RawFields. +// An empty RawFields may be passed to clear the fields. +// +// SetUnknown is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetReputerStakeInTopicRequest) SetUnknown(fields protoreflect.RawFields) { + x.unknownFields = fields +} + +// IsValid reports whether the message is valid. +// +// An invalid message is an empty, read-only value. +// +// An invalid message often corresponds to a nil pointer of the concrete +// message type, but the details are implementation dependent. +// Validity is not part of the protobuf data model, and may not +// be preserved in marshaling or other operations. +func (x *fastReflection_GetReputerStakeInTopicRequest) IsValid() bool { + return x != nil +} + +// ProtoMethods returns optional fastReflectionFeature-path implementations of various operations. +// This method may return nil. +// +// The returned methods type is identical to +// "google.golang.org/protobuf/runtime/protoiface".Methods. +// Consult the protoiface package documentation for details. +func (x *fastReflection_GetReputerStakeInTopicRequest) ProtoMethods() *protoiface.Methods { + size := func(input protoiface.SizeInput) protoiface.SizeOutput { + x := input.Message.Interface().(*GetReputerStakeInTopicRequest) + if x == nil { + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: 0, + } + } + options := runtime.SizeInputToOptions(input) + _ = options + var n int + var l int + _ = l + l = len(x.Address) + if l > 0 { + n += 1 + l + runtime.Sov(uint64(l)) + } + if x.TopicId != 0 { + n += 1 + runtime.Sov(uint64(x.TopicId)) + } + if x.unknownFields != nil { + n += len(x.unknownFields) + } + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: n, + } + } + + marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { + x := input.Message.Interface().(*GetReputerStakeInTopicRequest) + if x == nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + options := runtime.MarshalInputToOptions(input) + _ = options + size := options.Size(x) + dAtA := make([]byte, size) + i := len(dAtA) + _ = i + var l int + _ = l + if x.unknownFields != nil { + i -= len(x.unknownFields) + copy(dAtA[i:], x.unknownFields) + } + if x.TopicId != 0 { + i = runtime.EncodeVarint(dAtA, i, uint64(x.TopicId)) + i-- + dAtA[i] = 0x10 + } + if len(x.Address) > 0 { + i -= len(x.Address) + copy(dAtA[i:], x.Address) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.Address))) + i-- + dAtA[i] = 0xa + } + if input.Buf != nil { + input.Buf = append(input.Buf, dAtA...) + } else { + input.Buf = dAtA + } + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { + x := input.Message.Interface().(*GetReputerStakeInTopicRequest) + if x == nil { + return protoiface.UnmarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Flags: input.Flags, + }, nil + } + options := runtime.UnmarshalInputToOptions(input) + _ = options + dAtA := input.Buf + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: GetReputerStakeInTopicRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: GetReputerStakeInTopicRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Address", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + x.Address = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field TopicId", wireType) + } + x.TopicId = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + x.TopicId |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + default: + iNdEx = preIndex + skippy, err := runtime.Skip(dAtA[iNdEx:]) + if err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if (iNdEx + skippy) > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + if !options.DiscardUnknown { + x.unknownFields = append(x.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + } + iNdEx += skippy + } + } + + if iNdEx > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, nil + } + return &protoiface.Methods{ + NoUnkeyedLiterals: struct{}{}, + Flags: protoiface.SupportMarshalDeterministic | protoiface.SupportUnmarshalDiscardUnknown, + Size: size, + Marshal: marshal, + Unmarshal: unmarshal, + Merge: nil, + CheckInitialized: nil, + } +} + +var ( + md_GetReputerStakeInTopicResponse protoreflect.MessageDescriptor + fd_GetReputerStakeInTopicResponse_amount protoreflect.FieldDescriptor +) + +func init() { + file_emissions_v8_query_proto_init() + md_GetReputerStakeInTopicResponse = File_emissions_v8_query_proto.Messages().ByName("GetReputerStakeInTopicResponse") + fd_GetReputerStakeInTopicResponse_amount = md_GetReputerStakeInTopicResponse.Fields().ByName("amount") +} + +var _ protoreflect.Message = (*fastReflection_GetReputerStakeInTopicResponse)(nil) + +type fastReflection_GetReputerStakeInTopicResponse GetReputerStakeInTopicResponse + +func (x *GetReputerStakeInTopicResponse) ProtoReflect() protoreflect.Message { + return (*fastReflection_GetReputerStakeInTopicResponse)(x) +} + +func (x *GetReputerStakeInTopicResponse) slowProtoReflect() protoreflect.Message { + mi := &file_emissions_v8_query_proto_msgTypes[53] + 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) +} + +var _fastReflection_GetReputerStakeInTopicResponse_messageType fastReflection_GetReputerStakeInTopicResponse_messageType +var _ protoreflect.MessageType = fastReflection_GetReputerStakeInTopicResponse_messageType{} + +type fastReflection_GetReputerStakeInTopicResponse_messageType struct{} + +func (x fastReflection_GetReputerStakeInTopicResponse_messageType) Zero() protoreflect.Message { + return (*fastReflection_GetReputerStakeInTopicResponse)(nil) +} +func (x fastReflection_GetReputerStakeInTopicResponse_messageType) New() protoreflect.Message { + return new(fastReflection_GetReputerStakeInTopicResponse) +} +func (x fastReflection_GetReputerStakeInTopicResponse_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_GetReputerStakeInTopicResponse +} + +// Descriptor returns message descriptor, which contains only the protobuf +// type information for the message. +func (x *fastReflection_GetReputerStakeInTopicResponse) Descriptor() protoreflect.MessageDescriptor { + return md_GetReputerStakeInTopicResponse +} + +// Type returns the message type, which encapsulates both Go and protobuf +// type information. If the Go type information is not needed, +// it is recommended that the message descriptor be used instead. +func (x *fastReflection_GetReputerStakeInTopicResponse) Type() protoreflect.MessageType { + return _fastReflection_GetReputerStakeInTopicResponse_messageType +} + +// New returns a newly allocated and mutable empty message. +func (x *fastReflection_GetReputerStakeInTopicResponse) New() protoreflect.Message { + return new(fastReflection_GetReputerStakeInTopicResponse) +} + +// Interface unwraps the message reflection interface and +// returns the underlying ProtoMessage interface. +func (x *fastReflection_GetReputerStakeInTopicResponse) Interface() protoreflect.ProtoMessage { + return (*GetReputerStakeInTopicResponse)(x) +} + +// Range iterates over every populated field in an undefined order, +// calling f for each field descriptor and value encountered. +// Range returns immediately if f returns false. +// While iterating, mutating operations may only be performed +// on the current field descriptor. +func (x *fastReflection_GetReputerStakeInTopicResponse) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { + if x.Amount != "" { + value := protoreflect.ValueOfString(x.Amount) + if !f(fd_GetReputerStakeInTopicResponse_amount, value) { + return + } + } +} + +// Has reports whether a field is populated. +// +// Some fields have the property of nullability where it is possible to +// distinguish between the default value of a field and whether the field +// was explicitly populated with the default value. Singular message fields, +// member fields of a oneof, and proto2 scalar fields are nullable. Such +// fields are populated only if explicitly set. +// +// In other cases (aside from the nullable cases above), +// a proto3 scalar field is populated if it contains a non-zero value, and +// a repeated field is populated if it is non-empty. +func (x *fastReflection_GetReputerStakeInTopicResponse) Has(fd protoreflect.FieldDescriptor) bool { + switch fd.FullName() { + case "emissions.v8.GetReputerStakeInTopicResponse.amount": + return x.Amount != "" + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetReputerStakeInTopicResponse")) + } + panic(fmt.Errorf("message emissions.v8.GetReputerStakeInTopicResponse does not contain field %s", fd.FullName())) + } +} + +// Clear clears the field such that a subsequent Has call reports false. +// +// Clearing an extension field clears both the extension type and value +// associated with the given field number. +// +// Clear is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetReputerStakeInTopicResponse) Clear(fd protoreflect.FieldDescriptor) { + switch fd.FullName() { + case "emissions.v8.GetReputerStakeInTopicResponse.amount": + x.Amount = "" + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetReputerStakeInTopicResponse")) + } + panic(fmt.Errorf("message emissions.v8.GetReputerStakeInTopicResponse does not contain field %s", fd.FullName())) + } +} + +// Get retrieves the value for a field. +// +// For unpopulated scalars, it returns the default value, where +// the default value of a bytes scalar is guaranteed to be a copy. +// For unpopulated composite types, it returns an empty, read-only view +// of the value; to obtain a mutable reference, use Mutable. +func (x *fastReflection_GetReputerStakeInTopicResponse) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { + switch descriptor.FullName() { + case "emissions.v8.GetReputerStakeInTopicResponse.amount": + value := x.Amount + return protoreflect.ValueOfString(value) + default: + if descriptor.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetReputerStakeInTopicResponse")) + } + panic(fmt.Errorf("message emissions.v8.GetReputerStakeInTopicResponse does not contain field %s", descriptor.FullName())) + } +} + +// Set stores the value for a field. +// +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType. +// When setting a composite type, it is unspecified whether the stored value +// aliases the source's memory in any way. If the composite value is an +// empty, read-only value, then it panics. +// +// Set is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetReputerStakeInTopicResponse) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { + switch fd.FullName() { + case "emissions.v8.GetReputerStakeInTopicResponse.amount": + x.Amount = value.Interface().(string) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetReputerStakeInTopicResponse")) + } + panic(fmt.Errorf("message emissions.v8.GetReputerStakeInTopicResponse does not contain field %s", fd.FullName())) + } +} + +// Mutable returns a mutable reference to a composite type. +// +// If the field is unpopulated, it may allocate a composite value. +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType +// if not already stored. +// It panics if the field does not contain a composite type. +// +// Mutable is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetReputerStakeInTopicResponse) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.GetReputerStakeInTopicResponse.amount": + panic(fmt.Errorf("field amount of message emissions.v8.GetReputerStakeInTopicResponse is not mutable")) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetReputerStakeInTopicResponse")) + } + panic(fmt.Errorf("message emissions.v8.GetReputerStakeInTopicResponse does not contain field %s", fd.FullName())) + } +} + +// NewField returns a new value that is assignable to the field +// for the given descriptor. For scalars, this returns the default value. +// For lists, maps, and messages, this returns a new, empty, mutable value. +func (x *fastReflection_GetReputerStakeInTopicResponse) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.GetReputerStakeInTopicResponse.amount": + return protoreflect.ValueOfString("") + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetReputerStakeInTopicResponse")) + } + panic(fmt.Errorf("message emissions.v8.GetReputerStakeInTopicResponse does not contain field %s", fd.FullName())) + } +} + +// WhichOneof reports which field within the oneof is populated, +// returning nil if none are populated. +// It panics if the oneof descriptor does not belong to this message. +func (x *fastReflection_GetReputerStakeInTopicResponse) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { + switch d.FullName() { + default: + panic(fmt.Errorf("%s is not a oneof field in emissions.v8.GetReputerStakeInTopicResponse", d.FullName())) + } + panic("unreachable") +} + +// GetUnknown retrieves the entire list of unknown fields. +// The caller may only mutate the contents of the RawFields +// if the mutated bytes are stored back into the message with SetUnknown. +func (x *fastReflection_GetReputerStakeInTopicResponse) GetUnknown() protoreflect.RawFields { + return x.unknownFields +} + +// SetUnknown stores an entire list of unknown fields. +// The raw fields must be syntactically valid according to the wire format. +// An implementation may panic if this is not the case. +// Once stored, the caller must not mutate the content of the RawFields. +// An empty RawFields may be passed to clear the fields. +// +// SetUnknown is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetReputerStakeInTopicResponse) SetUnknown(fields protoreflect.RawFields) { + x.unknownFields = fields +} + +// IsValid reports whether the message is valid. +// +// An invalid message is an empty, read-only value. +// +// An invalid message often corresponds to a nil pointer of the concrete +// message type, but the details are implementation dependent. +// Validity is not part of the protobuf data model, and may not +// be preserved in marshaling or other operations. +func (x *fastReflection_GetReputerStakeInTopicResponse) IsValid() bool { + return x != nil +} + +// ProtoMethods returns optional fastReflectionFeature-path implementations of various operations. +// This method may return nil. +// +// The returned methods type is identical to +// "google.golang.org/protobuf/runtime/protoiface".Methods. +// Consult the protoiface package documentation for details. +func (x *fastReflection_GetReputerStakeInTopicResponse) ProtoMethods() *protoiface.Methods { + size := func(input protoiface.SizeInput) protoiface.SizeOutput { + x := input.Message.Interface().(*GetReputerStakeInTopicResponse) + if x == nil { + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: 0, + } + } + options := runtime.SizeInputToOptions(input) + _ = options + var n int + var l int + _ = l + l = len(x.Amount) + if l > 0 { + n += 1 + l + runtime.Sov(uint64(l)) + } + if x.unknownFields != nil { + n += len(x.unknownFields) + } + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: n, + } + } + + marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { + x := input.Message.Interface().(*GetReputerStakeInTopicResponse) + if x == nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + options := runtime.MarshalInputToOptions(input) + _ = options + size := options.Size(x) + dAtA := make([]byte, size) + i := len(dAtA) + _ = i + var l int + _ = l + if x.unknownFields != nil { + i -= len(x.unknownFields) + copy(dAtA[i:], x.unknownFields) + } + if len(x.Amount) > 0 { + i -= len(x.Amount) + copy(dAtA[i:], x.Amount) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.Amount))) + i-- + dAtA[i] = 0xa + } + if input.Buf != nil { + input.Buf = append(input.Buf, dAtA...) + } else { + input.Buf = dAtA + } + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { + x := input.Message.Interface().(*GetReputerStakeInTopicResponse) + if x == nil { + return protoiface.UnmarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Flags: input.Flags, + }, nil + } + options := runtime.UnmarshalInputToOptions(input) + _ = options + dAtA := input.Buf + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: GetReputerStakeInTopicResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: GetReputerStakeInTopicResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Amount", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + x.Amount = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := runtime.Skip(dAtA[iNdEx:]) + if err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if (iNdEx + skippy) > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + if !options.DiscardUnknown { + x.unknownFields = append(x.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + } + iNdEx += skippy + } + } + + if iNdEx > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, nil + } + return &protoiface.Methods{ + NoUnkeyedLiterals: struct{}{}, + Flags: protoiface.SupportMarshalDeterministic | protoiface.SupportUnmarshalDiscardUnknown, + Size: size, + Marshal: marshal, + Unmarshal: unmarshal, + Merge: nil, + CheckInitialized: nil, + } +} + +var _ protoreflect.List = (*_GetMultiReputerStakeInTopicRequest_1_list)(nil) + +type _GetMultiReputerStakeInTopicRequest_1_list struct { + list *[]string +} + +func (x *_GetMultiReputerStakeInTopicRequest_1_list) Len() int { + if x.list == nil { + return 0 + } + return len(*x.list) +} + +func (x *_GetMultiReputerStakeInTopicRequest_1_list) Get(i int) protoreflect.Value { + return protoreflect.ValueOfString((*x.list)[i]) +} + +func (x *_GetMultiReputerStakeInTopicRequest_1_list) Set(i int, value protoreflect.Value) { + valueUnwrapped := value.String() + concreteValue := valueUnwrapped + (*x.list)[i] = concreteValue +} + +func (x *_GetMultiReputerStakeInTopicRequest_1_list) Append(value protoreflect.Value) { + valueUnwrapped := value.String() + concreteValue := valueUnwrapped + *x.list = append(*x.list, concreteValue) +} + +func (x *_GetMultiReputerStakeInTopicRequest_1_list) AppendMutable() protoreflect.Value { + panic(fmt.Errorf("AppendMutable can not be called on message GetMultiReputerStakeInTopicRequest at list field Addresses as it is not of Message kind")) +} + +func (x *_GetMultiReputerStakeInTopicRequest_1_list) Truncate(n int) { + *x.list = (*x.list)[:n] +} + +func (x *_GetMultiReputerStakeInTopicRequest_1_list) NewElement() protoreflect.Value { + v := "" + return protoreflect.ValueOfString(v) +} + +func (x *_GetMultiReputerStakeInTopicRequest_1_list) IsValid() bool { + return x.list != nil +} + +var ( + md_GetMultiReputerStakeInTopicRequest protoreflect.MessageDescriptor + fd_GetMultiReputerStakeInTopicRequest_addresses protoreflect.FieldDescriptor + fd_GetMultiReputerStakeInTopicRequest_topic_id protoreflect.FieldDescriptor +) + +func init() { + file_emissions_v8_query_proto_init() + md_GetMultiReputerStakeInTopicRequest = File_emissions_v8_query_proto.Messages().ByName("GetMultiReputerStakeInTopicRequest") + fd_GetMultiReputerStakeInTopicRequest_addresses = md_GetMultiReputerStakeInTopicRequest.Fields().ByName("addresses") + fd_GetMultiReputerStakeInTopicRequest_topic_id = md_GetMultiReputerStakeInTopicRequest.Fields().ByName("topic_id") +} + +var _ protoreflect.Message = (*fastReflection_GetMultiReputerStakeInTopicRequest)(nil) + +type fastReflection_GetMultiReputerStakeInTopicRequest GetMultiReputerStakeInTopicRequest + +func (x *GetMultiReputerStakeInTopicRequest) ProtoReflect() protoreflect.Message { + return (*fastReflection_GetMultiReputerStakeInTopicRequest)(x) +} + +func (x *GetMultiReputerStakeInTopicRequest) slowProtoReflect() protoreflect.Message { + mi := &file_emissions_v8_query_proto_msgTypes[54] + 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) +} + +var _fastReflection_GetMultiReputerStakeInTopicRequest_messageType fastReflection_GetMultiReputerStakeInTopicRequest_messageType +var _ protoreflect.MessageType = fastReflection_GetMultiReputerStakeInTopicRequest_messageType{} + +type fastReflection_GetMultiReputerStakeInTopicRequest_messageType struct{} + +func (x fastReflection_GetMultiReputerStakeInTopicRequest_messageType) Zero() protoreflect.Message { + return (*fastReflection_GetMultiReputerStakeInTopicRequest)(nil) +} +func (x fastReflection_GetMultiReputerStakeInTopicRequest_messageType) New() protoreflect.Message { + return new(fastReflection_GetMultiReputerStakeInTopicRequest) +} +func (x fastReflection_GetMultiReputerStakeInTopicRequest_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_GetMultiReputerStakeInTopicRequest +} + +// Descriptor returns message descriptor, which contains only the protobuf +// type information for the message. +func (x *fastReflection_GetMultiReputerStakeInTopicRequest) Descriptor() protoreflect.MessageDescriptor { + return md_GetMultiReputerStakeInTopicRequest +} + +// Type returns the message type, which encapsulates both Go and protobuf +// type information. If the Go type information is not needed, +// it is recommended that the message descriptor be used instead. +func (x *fastReflection_GetMultiReputerStakeInTopicRequest) Type() protoreflect.MessageType { + return _fastReflection_GetMultiReputerStakeInTopicRequest_messageType +} + +// New returns a newly allocated and mutable empty message. +func (x *fastReflection_GetMultiReputerStakeInTopicRequest) New() protoreflect.Message { + return new(fastReflection_GetMultiReputerStakeInTopicRequest) +} + +// Interface unwraps the message reflection interface and +// returns the underlying ProtoMessage interface. +func (x *fastReflection_GetMultiReputerStakeInTopicRequest) Interface() protoreflect.ProtoMessage { + return (*GetMultiReputerStakeInTopicRequest)(x) +} + +// Range iterates over every populated field in an undefined order, +// calling f for each field descriptor and value encountered. +// Range returns immediately if f returns false. +// While iterating, mutating operations may only be performed +// on the current field descriptor. +func (x *fastReflection_GetMultiReputerStakeInTopicRequest) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { + if len(x.Addresses) != 0 { + value := protoreflect.ValueOfList(&_GetMultiReputerStakeInTopicRequest_1_list{list: &x.Addresses}) + if !f(fd_GetMultiReputerStakeInTopicRequest_addresses, value) { + return + } + } + if x.TopicId != uint64(0) { + value := protoreflect.ValueOfUint64(x.TopicId) + if !f(fd_GetMultiReputerStakeInTopicRequest_topic_id, value) { + return + } + } +} + +// Has reports whether a field is populated. +// +// Some fields have the property of nullability where it is possible to +// distinguish between the default value of a field and whether the field +// was explicitly populated with the default value. Singular message fields, +// member fields of a oneof, and proto2 scalar fields are nullable. Such +// fields are populated only if explicitly set. +// +// In other cases (aside from the nullable cases above), +// a proto3 scalar field is populated if it contains a non-zero value, and +// a repeated field is populated if it is non-empty. +func (x *fastReflection_GetMultiReputerStakeInTopicRequest) Has(fd protoreflect.FieldDescriptor) bool { + switch fd.FullName() { + case "emissions.v8.GetMultiReputerStakeInTopicRequest.addresses": + return len(x.Addresses) != 0 + case "emissions.v8.GetMultiReputerStakeInTopicRequest.topic_id": + return x.TopicId != uint64(0) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetMultiReputerStakeInTopicRequest")) + } + panic(fmt.Errorf("message emissions.v8.GetMultiReputerStakeInTopicRequest does not contain field %s", fd.FullName())) + } +} + +// Clear clears the field such that a subsequent Has call reports false. +// +// Clearing an extension field clears both the extension type and value +// associated with the given field number. +// +// Clear is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetMultiReputerStakeInTopicRequest) Clear(fd protoreflect.FieldDescriptor) { + switch fd.FullName() { + case "emissions.v8.GetMultiReputerStakeInTopicRequest.addresses": + x.Addresses = nil + case "emissions.v8.GetMultiReputerStakeInTopicRequest.topic_id": + x.TopicId = uint64(0) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetMultiReputerStakeInTopicRequest")) + } + panic(fmt.Errorf("message emissions.v8.GetMultiReputerStakeInTopicRequest does not contain field %s", fd.FullName())) + } +} + +// Get retrieves the value for a field. +// +// For unpopulated scalars, it returns the default value, where +// the default value of a bytes scalar is guaranteed to be a copy. +// For unpopulated composite types, it returns an empty, read-only view +// of the value; to obtain a mutable reference, use Mutable. +func (x *fastReflection_GetMultiReputerStakeInTopicRequest) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { + switch descriptor.FullName() { + case "emissions.v8.GetMultiReputerStakeInTopicRequest.addresses": + if len(x.Addresses) == 0 { + return protoreflect.ValueOfList(&_GetMultiReputerStakeInTopicRequest_1_list{}) + } + listValue := &_GetMultiReputerStakeInTopicRequest_1_list{list: &x.Addresses} + return protoreflect.ValueOfList(listValue) + case "emissions.v8.GetMultiReputerStakeInTopicRequest.topic_id": + value := x.TopicId + return protoreflect.ValueOfUint64(value) + default: + if descriptor.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetMultiReputerStakeInTopicRequest")) + } + panic(fmt.Errorf("message emissions.v8.GetMultiReputerStakeInTopicRequest does not contain field %s", descriptor.FullName())) + } +} + +// Set stores the value for a field. +// +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType. +// When setting a composite type, it is unspecified whether the stored value +// aliases the source's memory in any way. If the composite value is an +// empty, read-only value, then it panics. +// +// Set is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetMultiReputerStakeInTopicRequest) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { + switch fd.FullName() { + case "emissions.v8.GetMultiReputerStakeInTopicRequest.addresses": + lv := value.List() + clv := lv.(*_GetMultiReputerStakeInTopicRequest_1_list) + x.Addresses = *clv.list + case "emissions.v8.GetMultiReputerStakeInTopicRequest.topic_id": + x.TopicId = value.Uint() + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetMultiReputerStakeInTopicRequest")) + } + panic(fmt.Errorf("message emissions.v8.GetMultiReputerStakeInTopicRequest does not contain field %s", fd.FullName())) + } +} + +// Mutable returns a mutable reference to a composite type. +// +// If the field is unpopulated, it may allocate a composite value. +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType +// if not already stored. +// It panics if the field does not contain a composite type. +// +// Mutable is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetMultiReputerStakeInTopicRequest) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.GetMultiReputerStakeInTopicRequest.addresses": + if x.Addresses == nil { + x.Addresses = []string{} + } + value := &_GetMultiReputerStakeInTopicRequest_1_list{list: &x.Addresses} + return protoreflect.ValueOfList(value) + case "emissions.v8.GetMultiReputerStakeInTopicRequest.topic_id": + panic(fmt.Errorf("field topic_id of message emissions.v8.GetMultiReputerStakeInTopicRequest is not mutable")) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetMultiReputerStakeInTopicRequest")) + } + panic(fmt.Errorf("message emissions.v8.GetMultiReputerStakeInTopicRequest does not contain field %s", fd.FullName())) + } +} + +// NewField returns a new value that is assignable to the field +// for the given descriptor. For scalars, this returns the default value. +// For lists, maps, and messages, this returns a new, empty, mutable value. +func (x *fastReflection_GetMultiReputerStakeInTopicRequest) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.GetMultiReputerStakeInTopicRequest.addresses": + list := []string{} + return protoreflect.ValueOfList(&_GetMultiReputerStakeInTopicRequest_1_list{list: &list}) + case "emissions.v8.GetMultiReputerStakeInTopicRequest.topic_id": + return protoreflect.ValueOfUint64(uint64(0)) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetMultiReputerStakeInTopicRequest")) + } + panic(fmt.Errorf("message emissions.v8.GetMultiReputerStakeInTopicRequest does not contain field %s", fd.FullName())) + } +} + +// WhichOneof reports which field within the oneof is populated, +// returning nil if none are populated. +// It panics if the oneof descriptor does not belong to this message. +func (x *fastReflection_GetMultiReputerStakeInTopicRequest) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { + switch d.FullName() { + default: + panic(fmt.Errorf("%s is not a oneof field in emissions.v8.GetMultiReputerStakeInTopicRequest", d.FullName())) + } + panic("unreachable") +} + +// GetUnknown retrieves the entire list of unknown fields. +// The caller may only mutate the contents of the RawFields +// if the mutated bytes are stored back into the message with SetUnknown. +func (x *fastReflection_GetMultiReputerStakeInTopicRequest) GetUnknown() protoreflect.RawFields { + return x.unknownFields +} + +// SetUnknown stores an entire list of unknown fields. +// The raw fields must be syntactically valid according to the wire format. +// An implementation may panic if this is not the case. +// Once stored, the caller must not mutate the content of the RawFields. +// An empty RawFields may be passed to clear the fields. +// +// SetUnknown is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetMultiReputerStakeInTopicRequest) SetUnknown(fields protoreflect.RawFields) { + x.unknownFields = fields +} + +// IsValid reports whether the message is valid. +// +// An invalid message is an empty, read-only value. +// +// An invalid message often corresponds to a nil pointer of the concrete +// message type, but the details are implementation dependent. +// Validity is not part of the protobuf data model, and may not +// be preserved in marshaling or other operations. +func (x *fastReflection_GetMultiReputerStakeInTopicRequest) IsValid() bool { + return x != nil +} + +// ProtoMethods returns optional fastReflectionFeature-path implementations of various operations. +// This method may return nil. +// +// The returned methods type is identical to +// "google.golang.org/protobuf/runtime/protoiface".Methods. +// Consult the protoiface package documentation for details. +func (x *fastReflection_GetMultiReputerStakeInTopicRequest) ProtoMethods() *protoiface.Methods { + size := func(input protoiface.SizeInput) protoiface.SizeOutput { + x := input.Message.Interface().(*GetMultiReputerStakeInTopicRequest) + if x == nil { + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: 0, + } + } + options := runtime.SizeInputToOptions(input) + _ = options + var n int + var l int + _ = l + if len(x.Addresses) > 0 { + for _, s := range x.Addresses { + l = len(s) + n += 1 + l + runtime.Sov(uint64(l)) + } + } + if x.TopicId != 0 { + n += 1 + runtime.Sov(uint64(x.TopicId)) + } + if x.unknownFields != nil { + n += len(x.unknownFields) + } + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: n, + } + } + + marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { + x := input.Message.Interface().(*GetMultiReputerStakeInTopicRequest) + if x == nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + options := runtime.MarshalInputToOptions(input) + _ = options + size := options.Size(x) + dAtA := make([]byte, size) + i := len(dAtA) + _ = i + var l int + _ = l + if x.unknownFields != nil { + i -= len(x.unknownFields) + copy(dAtA[i:], x.unknownFields) + } + if x.TopicId != 0 { + i = runtime.EncodeVarint(dAtA, i, uint64(x.TopicId)) + i-- + dAtA[i] = 0x10 + } + if len(x.Addresses) > 0 { + for iNdEx := len(x.Addresses) - 1; iNdEx >= 0; iNdEx-- { + i -= len(x.Addresses[iNdEx]) + copy(dAtA[i:], x.Addresses[iNdEx]) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.Addresses[iNdEx]))) + i-- + dAtA[i] = 0xa + } + } + if input.Buf != nil { + input.Buf = append(input.Buf, dAtA...) + } else { + input.Buf = dAtA + } + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { + x := input.Message.Interface().(*GetMultiReputerStakeInTopicRequest) + if x == nil { + return protoiface.UnmarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Flags: input.Flags, + }, nil + } + options := runtime.UnmarshalInputToOptions(input) + _ = options + dAtA := input.Buf + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: GetMultiReputerStakeInTopicRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: GetMultiReputerStakeInTopicRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Addresses", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + x.Addresses = append(x.Addresses, string(dAtA[iNdEx:postIndex])) + iNdEx = postIndex + case 2: + if wireType != 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field TopicId", wireType) + } + x.TopicId = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + x.TopicId |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + default: + iNdEx = preIndex + skippy, err := runtime.Skip(dAtA[iNdEx:]) + if err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if (iNdEx + skippy) > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + if !options.DiscardUnknown { + x.unknownFields = append(x.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + } + iNdEx += skippy + } + } + + if iNdEx > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, nil + } + return &protoiface.Methods{ + NoUnkeyedLiterals: struct{}{}, + Flags: protoiface.SupportMarshalDeterministic | protoiface.SupportUnmarshalDiscardUnknown, + Size: size, + Marshal: marshal, + Unmarshal: unmarshal, + Merge: nil, + CheckInitialized: nil, + } +} + +var _ protoreflect.List = (*_GetMultiReputerStakeInTopicResponse_1_list)(nil) + +type _GetMultiReputerStakeInTopicResponse_1_list struct { + list *[]*v3.StakeInfo +} + +func (x *_GetMultiReputerStakeInTopicResponse_1_list) Len() int { + if x.list == nil { + return 0 + } + return len(*x.list) +} + +func (x *_GetMultiReputerStakeInTopicResponse_1_list) Get(i int) protoreflect.Value { + return protoreflect.ValueOfMessage((*x.list)[i].ProtoReflect()) +} + +func (x *_GetMultiReputerStakeInTopicResponse_1_list) Set(i int, value protoreflect.Value) { + valueUnwrapped := value.Message() + concreteValue := valueUnwrapped.Interface().(*v3.StakeInfo) + (*x.list)[i] = concreteValue +} + +func (x *_GetMultiReputerStakeInTopicResponse_1_list) Append(value protoreflect.Value) { + valueUnwrapped := value.Message() + concreteValue := valueUnwrapped.Interface().(*v3.StakeInfo) + *x.list = append(*x.list, concreteValue) +} + +func (x *_GetMultiReputerStakeInTopicResponse_1_list) AppendMutable() protoreflect.Value { + v := new(v3.StakeInfo) + *x.list = append(*x.list, v) + return protoreflect.ValueOfMessage(v.ProtoReflect()) +} + +func (x *_GetMultiReputerStakeInTopicResponse_1_list) Truncate(n int) { + for i := n; i < len(*x.list); i++ { + (*x.list)[i] = nil + } + *x.list = (*x.list)[:n] +} + +func (x *_GetMultiReputerStakeInTopicResponse_1_list) NewElement() protoreflect.Value { + v := new(v3.StakeInfo) + return protoreflect.ValueOfMessage(v.ProtoReflect()) +} + +func (x *_GetMultiReputerStakeInTopicResponse_1_list) IsValid() bool { + return x.list != nil +} + +var ( + md_GetMultiReputerStakeInTopicResponse protoreflect.MessageDescriptor + fd_GetMultiReputerStakeInTopicResponse_amounts protoreflect.FieldDescriptor +) + +func init() { + file_emissions_v8_query_proto_init() + md_GetMultiReputerStakeInTopicResponse = File_emissions_v8_query_proto.Messages().ByName("GetMultiReputerStakeInTopicResponse") + fd_GetMultiReputerStakeInTopicResponse_amounts = md_GetMultiReputerStakeInTopicResponse.Fields().ByName("amounts") +} + +var _ protoreflect.Message = (*fastReflection_GetMultiReputerStakeInTopicResponse)(nil) + +type fastReflection_GetMultiReputerStakeInTopicResponse GetMultiReputerStakeInTopicResponse + +func (x *GetMultiReputerStakeInTopicResponse) ProtoReflect() protoreflect.Message { + return (*fastReflection_GetMultiReputerStakeInTopicResponse)(x) +} + +func (x *GetMultiReputerStakeInTopicResponse) slowProtoReflect() protoreflect.Message { + mi := &file_emissions_v8_query_proto_msgTypes[55] + 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) +} + +var _fastReflection_GetMultiReputerStakeInTopicResponse_messageType fastReflection_GetMultiReputerStakeInTopicResponse_messageType +var _ protoreflect.MessageType = fastReflection_GetMultiReputerStakeInTopicResponse_messageType{} + +type fastReflection_GetMultiReputerStakeInTopicResponse_messageType struct{} + +func (x fastReflection_GetMultiReputerStakeInTopicResponse_messageType) Zero() protoreflect.Message { + return (*fastReflection_GetMultiReputerStakeInTopicResponse)(nil) +} +func (x fastReflection_GetMultiReputerStakeInTopicResponse_messageType) New() protoreflect.Message { + return new(fastReflection_GetMultiReputerStakeInTopicResponse) +} +func (x fastReflection_GetMultiReputerStakeInTopicResponse_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_GetMultiReputerStakeInTopicResponse +} + +// Descriptor returns message descriptor, which contains only the protobuf +// type information for the message. +func (x *fastReflection_GetMultiReputerStakeInTopicResponse) Descriptor() protoreflect.MessageDescriptor { + return md_GetMultiReputerStakeInTopicResponse +} + +// Type returns the message type, which encapsulates both Go and protobuf +// type information. If the Go type information is not needed, +// it is recommended that the message descriptor be used instead. +func (x *fastReflection_GetMultiReputerStakeInTopicResponse) Type() protoreflect.MessageType { + return _fastReflection_GetMultiReputerStakeInTopicResponse_messageType +} + +// New returns a newly allocated and mutable empty message. +func (x *fastReflection_GetMultiReputerStakeInTopicResponse) New() protoreflect.Message { + return new(fastReflection_GetMultiReputerStakeInTopicResponse) +} + +// Interface unwraps the message reflection interface and +// returns the underlying ProtoMessage interface. +func (x *fastReflection_GetMultiReputerStakeInTopicResponse) Interface() protoreflect.ProtoMessage { + return (*GetMultiReputerStakeInTopicResponse)(x) +} + +// Range iterates over every populated field in an undefined order, +// calling f for each field descriptor and value encountered. +// Range returns immediately if f returns false. +// While iterating, mutating operations may only be performed +// on the current field descriptor. +func (x *fastReflection_GetMultiReputerStakeInTopicResponse) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { + if len(x.Amounts) != 0 { + value := protoreflect.ValueOfList(&_GetMultiReputerStakeInTopicResponse_1_list{list: &x.Amounts}) + if !f(fd_GetMultiReputerStakeInTopicResponse_amounts, value) { + return + } + } +} + +// Has reports whether a field is populated. +// +// Some fields have the property of nullability where it is possible to +// distinguish between the default value of a field and whether the field +// was explicitly populated with the default value. Singular message fields, +// member fields of a oneof, and proto2 scalar fields are nullable. Such +// fields are populated only if explicitly set. +// +// In other cases (aside from the nullable cases above), +// a proto3 scalar field is populated if it contains a non-zero value, and +// a repeated field is populated if it is non-empty. +func (x *fastReflection_GetMultiReputerStakeInTopicResponse) Has(fd protoreflect.FieldDescriptor) bool { + switch fd.FullName() { + case "emissions.v8.GetMultiReputerStakeInTopicResponse.amounts": + return len(x.Amounts) != 0 + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetMultiReputerStakeInTopicResponse")) + } + panic(fmt.Errorf("message emissions.v8.GetMultiReputerStakeInTopicResponse does not contain field %s", fd.FullName())) + } +} + +// Clear clears the field such that a subsequent Has call reports false. +// +// Clearing an extension field clears both the extension type and value +// associated with the given field number. +// +// Clear is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetMultiReputerStakeInTopicResponse) Clear(fd protoreflect.FieldDescriptor) { + switch fd.FullName() { + case "emissions.v8.GetMultiReputerStakeInTopicResponse.amounts": + x.Amounts = nil + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetMultiReputerStakeInTopicResponse")) + } + panic(fmt.Errorf("message emissions.v8.GetMultiReputerStakeInTopicResponse does not contain field %s", fd.FullName())) + } +} + +// Get retrieves the value for a field. +// +// For unpopulated scalars, it returns the default value, where +// the default value of a bytes scalar is guaranteed to be a copy. +// For unpopulated composite types, it returns an empty, read-only view +// of the value; to obtain a mutable reference, use Mutable. +func (x *fastReflection_GetMultiReputerStakeInTopicResponse) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { + switch descriptor.FullName() { + case "emissions.v8.GetMultiReputerStakeInTopicResponse.amounts": + if len(x.Amounts) == 0 { + return protoreflect.ValueOfList(&_GetMultiReputerStakeInTopicResponse_1_list{}) + } + listValue := &_GetMultiReputerStakeInTopicResponse_1_list{list: &x.Amounts} + return protoreflect.ValueOfList(listValue) + default: + if descriptor.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetMultiReputerStakeInTopicResponse")) + } + panic(fmt.Errorf("message emissions.v8.GetMultiReputerStakeInTopicResponse does not contain field %s", descriptor.FullName())) + } +} + +// Set stores the value for a field. +// +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType. +// When setting a composite type, it is unspecified whether the stored value +// aliases the source's memory in any way. If the composite value is an +// empty, read-only value, then it panics. +// +// Set is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetMultiReputerStakeInTopicResponse) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { + switch fd.FullName() { + case "emissions.v8.GetMultiReputerStakeInTopicResponse.amounts": + lv := value.List() + clv := lv.(*_GetMultiReputerStakeInTopicResponse_1_list) + x.Amounts = *clv.list + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetMultiReputerStakeInTopicResponse")) + } + panic(fmt.Errorf("message emissions.v8.GetMultiReputerStakeInTopicResponse does not contain field %s", fd.FullName())) + } +} + +// Mutable returns a mutable reference to a composite type. +// +// If the field is unpopulated, it may allocate a composite value. +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType +// if not already stored. +// It panics if the field does not contain a composite type. +// +// Mutable is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetMultiReputerStakeInTopicResponse) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.GetMultiReputerStakeInTopicResponse.amounts": + if x.Amounts == nil { + x.Amounts = []*v3.StakeInfo{} + } + value := &_GetMultiReputerStakeInTopicResponse_1_list{list: &x.Amounts} + return protoreflect.ValueOfList(value) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetMultiReputerStakeInTopicResponse")) + } + panic(fmt.Errorf("message emissions.v8.GetMultiReputerStakeInTopicResponse does not contain field %s", fd.FullName())) + } +} + +// NewField returns a new value that is assignable to the field +// for the given descriptor. For scalars, this returns the default value. +// For lists, maps, and messages, this returns a new, empty, mutable value. +func (x *fastReflection_GetMultiReputerStakeInTopicResponse) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.GetMultiReputerStakeInTopicResponse.amounts": + list := []*v3.StakeInfo{} + return protoreflect.ValueOfList(&_GetMultiReputerStakeInTopicResponse_1_list{list: &list}) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetMultiReputerStakeInTopicResponse")) + } + panic(fmt.Errorf("message emissions.v8.GetMultiReputerStakeInTopicResponse does not contain field %s", fd.FullName())) + } +} + +// WhichOneof reports which field within the oneof is populated, +// returning nil if none are populated. +// It panics if the oneof descriptor does not belong to this message. +func (x *fastReflection_GetMultiReputerStakeInTopicResponse) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { + switch d.FullName() { + default: + panic(fmt.Errorf("%s is not a oneof field in emissions.v8.GetMultiReputerStakeInTopicResponse", d.FullName())) + } + panic("unreachable") +} + +// GetUnknown retrieves the entire list of unknown fields. +// The caller may only mutate the contents of the RawFields +// if the mutated bytes are stored back into the message with SetUnknown. +func (x *fastReflection_GetMultiReputerStakeInTopicResponse) GetUnknown() protoreflect.RawFields { + return x.unknownFields +} + +// SetUnknown stores an entire list of unknown fields. +// The raw fields must be syntactically valid according to the wire format. +// An implementation may panic if this is not the case. +// Once stored, the caller must not mutate the content of the RawFields. +// An empty RawFields may be passed to clear the fields. +// +// SetUnknown is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetMultiReputerStakeInTopicResponse) SetUnknown(fields protoreflect.RawFields) { + x.unknownFields = fields +} + +// IsValid reports whether the message is valid. +// +// An invalid message is an empty, read-only value. +// +// An invalid message often corresponds to a nil pointer of the concrete +// message type, but the details are implementation dependent. +// Validity is not part of the protobuf data model, and may not +// be preserved in marshaling or other operations. +func (x *fastReflection_GetMultiReputerStakeInTopicResponse) IsValid() bool { + return x != nil +} + +// ProtoMethods returns optional fastReflectionFeature-path implementations of various operations. +// This method may return nil. +// +// The returned methods type is identical to +// "google.golang.org/protobuf/runtime/protoiface".Methods. +// Consult the protoiface package documentation for details. +func (x *fastReflection_GetMultiReputerStakeInTopicResponse) ProtoMethods() *protoiface.Methods { + size := func(input protoiface.SizeInput) protoiface.SizeOutput { + x := input.Message.Interface().(*GetMultiReputerStakeInTopicResponse) + if x == nil { + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: 0, + } + } + options := runtime.SizeInputToOptions(input) + _ = options + var n int + var l int + _ = l + if len(x.Amounts) > 0 { + for _, e := range x.Amounts { + l = options.Size(e) + n += 1 + l + runtime.Sov(uint64(l)) + } + } + if x.unknownFields != nil { + n += len(x.unknownFields) + } + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: n, + } + } + + marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { + x := input.Message.Interface().(*GetMultiReputerStakeInTopicResponse) + if x == nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + options := runtime.MarshalInputToOptions(input) + _ = options + size := options.Size(x) + dAtA := make([]byte, size) + i := len(dAtA) + _ = i + var l int + _ = l + if x.unknownFields != nil { + i -= len(x.unknownFields) + copy(dAtA[i:], x.unknownFields) + } + if len(x.Amounts) > 0 { + for iNdEx := len(x.Amounts) - 1; iNdEx >= 0; iNdEx-- { + encoded, err := options.Marshal(x.Amounts[iNdEx]) + if err != nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = runtime.EncodeVarint(dAtA, i, uint64(len(encoded))) + i-- + dAtA[i] = 0xa + } + } + if input.Buf != nil { + input.Buf = append(input.Buf, dAtA...) + } else { + input.Buf = dAtA + } + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { + x := input.Message.Interface().(*GetMultiReputerStakeInTopicResponse) + if x == nil { + return protoiface.UnmarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Flags: input.Flags, + }, nil + } + options := runtime.UnmarshalInputToOptions(input) + _ = options + dAtA := input.Buf + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: GetMultiReputerStakeInTopicResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: GetMultiReputerStakeInTopicResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Amounts", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + x.Amounts = append(x.Amounts, &v3.StakeInfo{}) + if err := options.Unmarshal(dAtA[iNdEx:postIndex], x.Amounts[len(x.Amounts)-1]); err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := runtime.Skip(dAtA[iNdEx:]) + if err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if (iNdEx + skippy) > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + if !options.DiscardUnknown { + x.unknownFields = append(x.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + } + iNdEx += skippy + } + } + + if iNdEx > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, nil + } + return &protoiface.Methods{ + NoUnkeyedLiterals: struct{}{}, + Flags: protoiface.SupportMarshalDeterministic | protoiface.SupportUnmarshalDiscardUnknown, + Size: size, + Marshal: marshal, + Unmarshal: unmarshal, + Merge: nil, + CheckInitialized: nil, + } +} + +var ( + md_GetStakeFromReputerInTopicInSelfRequest protoreflect.MessageDescriptor + fd_GetStakeFromReputerInTopicInSelfRequest_reputer_address protoreflect.FieldDescriptor + fd_GetStakeFromReputerInTopicInSelfRequest_topic_id protoreflect.FieldDescriptor +) + +func init() { + file_emissions_v8_query_proto_init() + md_GetStakeFromReputerInTopicInSelfRequest = File_emissions_v8_query_proto.Messages().ByName("GetStakeFromReputerInTopicInSelfRequest") + fd_GetStakeFromReputerInTopicInSelfRequest_reputer_address = md_GetStakeFromReputerInTopicInSelfRequest.Fields().ByName("reputer_address") + fd_GetStakeFromReputerInTopicInSelfRequest_topic_id = md_GetStakeFromReputerInTopicInSelfRequest.Fields().ByName("topic_id") +} + +var _ protoreflect.Message = (*fastReflection_GetStakeFromReputerInTopicInSelfRequest)(nil) + +type fastReflection_GetStakeFromReputerInTopicInSelfRequest GetStakeFromReputerInTopicInSelfRequest + +func (x *GetStakeFromReputerInTopicInSelfRequest) ProtoReflect() protoreflect.Message { + return (*fastReflection_GetStakeFromReputerInTopicInSelfRequest)(x) +} + +func (x *GetStakeFromReputerInTopicInSelfRequest) slowProtoReflect() protoreflect.Message { + mi := &file_emissions_v8_query_proto_msgTypes[56] + 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) +} + +var _fastReflection_GetStakeFromReputerInTopicInSelfRequest_messageType fastReflection_GetStakeFromReputerInTopicInSelfRequest_messageType +var _ protoreflect.MessageType = fastReflection_GetStakeFromReputerInTopicInSelfRequest_messageType{} + +type fastReflection_GetStakeFromReputerInTopicInSelfRequest_messageType struct{} + +func (x fastReflection_GetStakeFromReputerInTopicInSelfRequest_messageType) Zero() protoreflect.Message { + return (*fastReflection_GetStakeFromReputerInTopicInSelfRequest)(nil) +} +func (x fastReflection_GetStakeFromReputerInTopicInSelfRequest_messageType) New() protoreflect.Message { + return new(fastReflection_GetStakeFromReputerInTopicInSelfRequest) +} +func (x fastReflection_GetStakeFromReputerInTopicInSelfRequest_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_GetStakeFromReputerInTopicInSelfRequest +} + +// Descriptor returns message descriptor, which contains only the protobuf +// type information for the message. +func (x *fastReflection_GetStakeFromReputerInTopicInSelfRequest) Descriptor() protoreflect.MessageDescriptor { + return md_GetStakeFromReputerInTopicInSelfRequest +} + +// Type returns the message type, which encapsulates both Go and protobuf +// type information. If the Go type information is not needed, +// it is recommended that the message descriptor be used instead. +func (x *fastReflection_GetStakeFromReputerInTopicInSelfRequest) Type() protoreflect.MessageType { + return _fastReflection_GetStakeFromReputerInTopicInSelfRequest_messageType +} + +// New returns a newly allocated and mutable empty message. +func (x *fastReflection_GetStakeFromReputerInTopicInSelfRequest) New() protoreflect.Message { + return new(fastReflection_GetStakeFromReputerInTopicInSelfRequest) +} + +// Interface unwraps the message reflection interface and +// returns the underlying ProtoMessage interface. +func (x *fastReflection_GetStakeFromReputerInTopicInSelfRequest) Interface() protoreflect.ProtoMessage { + return (*GetStakeFromReputerInTopicInSelfRequest)(x) +} + +// Range iterates over every populated field in an undefined order, +// calling f for each field descriptor and value encountered. +// Range returns immediately if f returns false. +// While iterating, mutating operations may only be performed +// on the current field descriptor. +func (x *fastReflection_GetStakeFromReputerInTopicInSelfRequest) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { + if x.ReputerAddress != "" { + value := protoreflect.ValueOfString(x.ReputerAddress) + if !f(fd_GetStakeFromReputerInTopicInSelfRequest_reputer_address, value) { + return + } + } + if x.TopicId != uint64(0) { + value := protoreflect.ValueOfUint64(x.TopicId) + if !f(fd_GetStakeFromReputerInTopicInSelfRequest_topic_id, value) { + return + } + } +} + +// Has reports whether a field is populated. +// +// Some fields have the property of nullability where it is possible to +// distinguish between the default value of a field and whether the field +// was explicitly populated with the default value. Singular message fields, +// member fields of a oneof, and proto2 scalar fields are nullable. Such +// fields are populated only if explicitly set. +// +// In other cases (aside from the nullable cases above), +// a proto3 scalar field is populated if it contains a non-zero value, and +// a repeated field is populated if it is non-empty. +func (x *fastReflection_GetStakeFromReputerInTopicInSelfRequest) Has(fd protoreflect.FieldDescriptor) bool { + switch fd.FullName() { + case "emissions.v8.GetStakeFromReputerInTopicInSelfRequest.reputer_address": + return x.ReputerAddress != "" + case "emissions.v8.GetStakeFromReputerInTopicInSelfRequest.topic_id": + return x.TopicId != uint64(0) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetStakeFromReputerInTopicInSelfRequest")) + } + panic(fmt.Errorf("message emissions.v8.GetStakeFromReputerInTopicInSelfRequest does not contain field %s", fd.FullName())) + } +} + +// Clear clears the field such that a subsequent Has call reports false. +// +// Clearing an extension field clears both the extension type and value +// associated with the given field number. +// +// Clear is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetStakeFromReputerInTopicInSelfRequest) Clear(fd protoreflect.FieldDescriptor) { + switch fd.FullName() { + case "emissions.v8.GetStakeFromReputerInTopicInSelfRequest.reputer_address": + x.ReputerAddress = "" + case "emissions.v8.GetStakeFromReputerInTopicInSelfRequest.topic_id": + x.TopicId = uint64(0) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetStakeFromReputerInTopicInSelfRequest")) + } + panic(fmt.Errorf("message emissions.v8.GetStakeFromReputerInTopicInSelfRequest does not contain field %s", fd.FullName())) + } +} + +// Get retrieves the value for a field. +// +// For unpopulated scalars, it returns the default value, where +// the default value of a bytes scalar is guaranteed to be a copy. +// For unpopulated composite types, it returns an empty, read-only view +// of the value; to obtain a mutable reference, use Mutable. +func (x *fastReflection_GetStakeFromReputerInTopicInSelfRequest) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { + switch descriptor.FullName() { + case "emissions.v8.GetStakeFromReputerInTopicInSelfRequest.reputer_address": + value := x.ReputerAddress + return protoreflect.ValueOfString(value) + case "emissions.v8.GetStakeFromReputerInTopicInSelfRequest.topic_id": + value := x.TopicId + return protoreflect.ValueOfUint64(value) + default: + if descriptor.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetStakeFromReputerInTopicInSelfRequest")) + } + panic(fmt.Errorf("message emissions.v8.GetStakeFromReputerInTopicInSelfRequest does not contain field %s", descriptor.FullName())) + } +} + +// Set stores the value for a field. +// +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType. +// When setting a composite type, it is unspecified whether the stored value +// aliases the source's memory in any way. If the composite value is an +// empty, read-only value, then it panics. +// +// Set is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetStakeFromReputerInTopicInSelfRequest) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { + switch fd.FullName() { + case "emissions.v8.GetStakeFromReputerInTopicInSelfRequest.reputer_address": + x.ReputerAddress = value.Interface().(string) + case "emissions.v8.GetStakeFromReputerInTopicInSelfRequest.topic_id": + x.TopicId = value.Uint() + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetStakeFromReputerInTopicInSelfRequest")) + } + panic(fmt.Errorf("message emissions.v8.GetStakeFromReputerInTopicInSelfRequest does not contain field %s", fd.FullName())) + } +} + +// Mutable returns a mutable reference to a composite type. +// +// If the field is unpopulated, it may allocate a composite value. +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType +// if not already stored. +// It panics if the field does not contain a composite type. +// +// Mutable is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetStakeFromReputerInTopicInSelfRequest) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.GetStakeFromReputerInTopicInSelfRequest.reputer_address": + panic(fmt.Errorf("field reputer_address of message emissions.v8.GetStakeFromReputerInTopicInSelfRequest is not mutable")) + case "emissions.v8.GetStakeFromReputerInTopicInSelfRequest.topic_id": + panic(fmt.Errorf("field topic_id of message emissions.v8.GetStakeFromReputerInTopicInSelfRequest is not mutable")) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetStakeFromReputerInTopicInSelfRequest")) + } + panic(fmt.Errorf("message emissions.v8.GetStakeFromReputerInTopicInSelfRequest does not contain field %s", fd.FullName())) + } +} + +// NewField returns a new value that is assignable to the field +// for the given descriptor. For scalars, this returns the default value. +// For lists, maps, and messages, this returns a new, empty, mutable value. +func (x *fastReflection_GetStakeFromReputerInTopicInSelfRequest) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.GetStakeFromReputerInTopicInSelfRequest.reputer_address": + return protoreflect.ValueOfString("") + case "emissions.v8.GetStakeFromReputerInTopicInSelfRequest.topic_id": + return protoreflect.ValueOfUint64(uint64(0)) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetStakeFromReputerInTopicInSelfRequest")) + } + panic(fmt.Errorf("message emissions.v8.GetStakeFromReputerInTopicInSelfRequest does not contain field %s", fd.FullName())) + } +} + +// WhichOneof reports which field within the oneof is populated, +// returning nil if none are populated. +// It panics if the oneof descriptor does not belong to this message. +func (x *fastReflection_GetStakeFromReputerInTopicInSelfRequest) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { + switch d.FullName() { + default: + panic(fmt.Errorf("%s is not a oneof field in emissions.v8.GetStakeFromReputerInTopicInSelfRequest", d.FullName())) + } + panic("unreachable") +} + +// GetUnknown retrieves the entire list of unknown fields. +// The caller may only mutate the contents of the RawFields +// if the mutated bytes are stored back into the message with SetUnknown. +func (x *fastReflection_GetStakeFromReputerInTopicInSelfRequest) GetUnknown() protoreflect.RawFields { + return x.unknownFields +} + +// SetUnknown stores an entire list of unknown fields. +// The raw fields must be syntactically valid according to the wire format. +// An implementation may panic if this is not the case. +// Once stored, the caller must not mutate the content of the RawFields. +// An empty RawFields may be passed to clear the fields. +// +// SetUnknown is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetStakeFromReputerInTopicInSelfRequest) SetUnknown(fields protoreflect.RawFields) { + x.unknownFields = fields +} + +// IsValid reports whether the message is valid. +// +// An invalid message is an empty, read-only value. +// +// An invalid message often corresponds to a nil pointer of the concrete +// message type, but the details are implementation dependent. +// Validity is not part of the protobuf data model, and may not +// be preserved in marshaling or other operations. +func (x *fastReflection_GetStakeFromReputerInTopicInSelfRequest) IsValid() bool { + return x != nil +} + +// ProtoMethods returns optional fastReflectionFeature-path implementations of various operations. +// This method may return nil. +// +// The returned methods type is identical to +// "google.golang.org/protobuf/runtime/protoiface".Methods. +// Consult the protoiface package documentation for details. +func (x *fastReflection_GetStakeFromReputerInTopicInSelfRequest) ProtoMethods() *protoiface.Methods { + size := func(input protoiface.SizeInput) protoiface.SizeOutput { + x := input.Message.Interface().(*GetStakeFromReputerInTopicInSelfRequest) + if x == nil { + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: 0, + } + } + options := runtime.SizeInputToOptions(input) + _ = options + var n int + var l int + _ = l + l = len(x.ReputerAddress) + if l > 0 { + n += 1 + l + runtime.Sov(uint64(l)) + } + if x.TopicId != 0 { + n += 1 + runtime.Sov(uint64(x.TopicId)) + } + if x.unknownFields != nil { + n += len(x.unknownFields) + } + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: n, + } + } + + marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { + x := input.Message.Interface().(*GetStakeFromReputerInTopicInSelfRequest) + if x == nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + options := runtime.MarshalInputToOptions(input) + _ = options + size := options.Size(x) + dAtA := make([]byte, size) + i := len(dAtA) + _ = i + var l int + _ = l + if x.unknownFields != nil { + i -= len(x.unknownFields) + copy(dAtA[i:], x.unknownFields) + } + if x.TopicId != 0 { + i = runtime.EncodeVarint(dAtA, i, uint64(x.TopicId)) + i-- + dAtA[i] = 0x10 + } + if len(x.ReputerAddress) > 0 { + i -= len(x.ReputerAddress) + copy(dAtA[i:], x.ReputerAddress) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.ReputerAddress))) + i-- + dAtA[i] = 0xa + } + if input.Buf != nil { + input.Buf = append(input.Buf, dAtA...) + } else { + input.Buf = dAtA + } + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { + x := input.Message.Interface().(*GetStakeFromReputerInTopicInSelfRequest) + if x == nil { + return protoiface.UnmarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Flags: input.Flags, + }, nil + } + options := runtime.UnmarshalInputToOptions(input) + _ = options + dAtA := input.Buf + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: GetStakeFromReputerInTopicInSelfRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: GetStakeFromReputerInTopicInSelfRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field ReputerAddress", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + x.ReputerAddress = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field TopicId", wireType) + } + x.TopicId = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + x.TopicId |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + default: + iNdEx = preIndex + skippy, err := runtime.Skip(dAtA[iNdEx:]) + if err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if (iNdEx + skippy) > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + if !options.DiscardUnknown { + x.unknownFields = append(x.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + } + iNdEx += skippy + } + } + + if iNdEx > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, nil + } + return &protoiface.Methods{ + NoUnkeyedLiterals: struct{}{}, + Flags: protoiface.SupportMarshalDeterministic | protoiface.SupportUnmarshalDiscardUnknown, + Size: size, + Marshal: marshal, + Unmarshal: unmarshal, + Merge: nil, + CheckInitialized: nil, + } +} + +var ( + md_GetStakeFromReputerInTopicInSelfResponse protoreflect.MessageDescriptor + fd_GetStakeFromReputerInTopicInSelfResponse_amount protoreflect.FieldDescriptor +) + +func init() { + file_emissions_v8_query_proto_init() + md_GetStakeFromReputerInTopicInSelfResponse = File_emissions_v8_query_proto.Messages().ByName("GetStakeFromReputerInTopicInSelfResponse") + fd_GetStakeFromReputerInTopicInSelfResponse_amount = md_GetStakeFromReputerInTopicInSelfResponse.Fields().ByName("amount") +} + +var _ protoreflect.Message = (*fastReflection_GetStakeFromReputerInTopicInSelfResponse)(nil) + +type fastReflection_GetStakeFromReputerInTopicInSelfResponse GetStakeFromReputerInTopicInSelfResponse + +func (x *GetStakeFromReputerInTopicInSelfResponse) ProtoReflect() protoreflect.Message { + return (*fastReflection_GetStakeFromReputerInTopicInSelfResponse)(x) +} + +func (x *GetStakeFromReputerInTopicInSelfResponse) slowProtoReflect() protoreflect.Message { + mi := &file_emissions_v8_query_proto_msgTypes[57] + 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) +} + +var _fastReflection_GetStakeFromReputerInTopicInSelfResponse_messageType fastReflection_GetStakeFromReputerInTopicInSelfResponse_messageType +var _ protoreflect.MessageType = fastReflection_GetStakeFromReputerInTopicInSelfResponse_messageType{} + +type fastReflection_GetStakeFromReputerInTopicInSelfResponse_messageType struct{} + +func (x fastReflection_GetStakeFromReputerInTopicInSelfResponse_messageType) Zero() protoreflect.Message { + return (*fastReflection_GetStakeFromReputerInTopicInSelfResponse)(nil) +} +func (x fastReflection_GetStakeFromReputerInTopicInSelfResponse_messageType) New() protoreflect.Message { + return new(fastReflection_GetStakeFromReputerInTopicInSelfResponse) +} +func (x fastReflection_GetStakeFromReputerInTopicInSelfResponse_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_GetStakeFromReputerInTopicInSelfResponse +} + +// Descriptor returns message descriptor, which contains only the protobuf +// type information for the message. +func (x *fastReflection_GetStakeFromReputerInTopicInSelfResponse) Descriptor() protoreflect.MessageDescriptor { + return md_GetStakeFromReputerInTopicInSelfResponse +} + +// Type returns the message type, which encapsulates both Go and protobuf +// type information. If the Go type information is not needed, +// it is recommended that the message descriptor be used instead. +func (x *fastReflection_GetStakeFromReputerInTopicInSelfResponse) Type() protoreflect.MessageType { + return _fastReflection_GetStakeFromReputerInTopicInSelfResponse_messageType +} + +// New returns a newly allocated and mutable empty message. +func (x *fastReflection_GetStakeFromReputerInTopicInSelfResponse) New() protoreflect.Message { + return new(fastReflection_GetStakeFromReputerInTopicInSelfResponse) +} + +// Interface unwraps the message reflection interface and +// returns the underlying ProtoMessage interface. +func (x *fastReflection_GetStakeFromReputerInTopicInSelfResponse) Interface() protoreflect.ProtoMessage { + return (*GetStakeFromReputerInTopicInSelfResponse)(x) +} + +// Range iterates over every populated field in an undefined order, +// calling f for each field descriptor and value encountered. +// Range returns immediately if f returns false. +// While iterating, mutating operations may only be performed +// on the current field descriptor. +func (x *fastReflection_GetStakeFromReputerInTopicInSelfResponse) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { + if x.Amount != "" { + value := protoreflect.ValueOfString(x.Amount) + if !f(fd_GetStakeFromReputerInTopicInSelfResponse_amount, value) { + return + } + } +} + +// Has reports whether a field is populated. +// +// Some fields have the property of nullability where it is possible to +// distinguish between the default value of a field and whether the field +// was explicitly populated with the default value. Singular message fields, +// member fields of a oneof, and proto2 scalar fields are nullable. Such +// fields are populated only if explicitly set. +// +// In other cases (aside from the nullable cases above), +// a proto3 scalar field is populated if it contains a non-zero value, and +// a repeated field is populated if it is non-empty. +func (x *fastReflection_GetStakeFromReputerInTopicInSelfResponse) Has(fd protoreflect.FieldDescriptor) bool { + switch fd.FullName() { + case "emissions.v8.GetStakeFromReputerInTopicInSelfResponse.amount": + return x.Amount != "" + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetStakeFromReputerInTopicInSelfResponse")) + } + panic(fmt.Errorf("message emissions.v8.GetStakeFromReputerInTopicInSelfResponse does not contain field %s", fd.FullName())) + } +} + +// Clear clears the field such that a subsequent Has call reports false. +// +// Clearing an extension field clears both the extension type and value +// associated with the given field number. +// +// Clear is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetStakeFromReputerInTopicInSelfResponse) Clear(fd protoreflect.FieldDescriptor) { + switch fd.FullName() { + case "emissions.v8.GetStakeFromReputerInTopicInSelfResponse.amount": + x.Amount = "" + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetStakeFromReputerInTopicInSelfResponse")) + } + panic(fmt.Errorf("message emissions.v8.GetStakeFromReputerInTopicInSelfResponse does not contain field %s", fd.FullName())) + } +} + +// Get retrieves the value for a field. +// +// For unpopulated scalars, it returns the default value, where +// the default value of a bytes scalar is guaranteed to be a copy. +// For unpopulated composite types, it returns an empty, read-only view +// of the value; to obtain a mutable reference, use Mutable. +func (x *fastReflection_GetStakeFromReputerInTopicInSelfResponse) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { + switch descriptor.FullName() { + case "emissions.v8.GetStakeFromReputerInTopicInSelfResponse.amount": + value := x.Amount + return protoreflect.ValueOfString(value) + default: + if descriptor.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetStakeFromReputerInTopicInSelfResponse")) + } + panic(fmt.Errorf("message emissions.v8.GetStakeFromReputerInTopicInSelfResponse does not contain field %s", descriptor.FullName())) + } +} + +// Set stores the value for a field. +// +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType. +// When setting a composite type, it is unspecified whether the stored value +// aliases the source's memory in any way. If the composite value is an +// empty, read-only value, then it panics. +// +// Set is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetStakeFromReputerInTopicInSelfResponse) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { + switch fd.FullName() { + case "emissions.v8.GetStakeFromReputerInTopicInSelfResponse.amount": + x.Amount = value.Interface().(string) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetStakeFromReputerInTopicInSelfResponse")) + } + panic(fmt.Errorf("message emissions.v8.GetStakeFromReputerInTopicInSelfResponse does not contain field %s", fd.FullName())) + } +} + +// Mutable returns a mutable reference to a composite type. +// +// If the field is unpopulated, it may allocate a composite value. +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType +// if not already stored. +// It panics if the field does not contain a composite type. +// +// Mutable is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetStakeFromReputerInTopicInSelfResponse) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.GetStakeFromReputerInTopicInSelfResponse.amount": + panic(fmt.Errorf("field amount of message emissions.v8.GetStakeFromReputerInTopicInSelfResponse is not mutable")) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetStakeFromReputerInTopicInSelfResponse")) + } + panic(fmt.Errorf("message emissions.v8.GetStakeFromReputerInTopicInSelfResponse does not contain field %s", fd.FullName())) + } +} + +// NewField returns a new value that is assignable to the field +// for the given descriptor. For scalars, this returns the default value. +// For lists, maps, and messages, this returns a new, empty, mutable value. +func (x *fastReflection_GetStakeFromReputerInTopicInSelfResponse) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.GetStakeFromReputerInTopicInSelfResponse.amount": + return protoreflect.ValueOfString("") + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetStakeFromReputerInTopicInSelfResponse")) + } + panic(fmt.Errorf("message emissions.v8.GetStakeFromReputerInTopicInSelfResponse does not contain field %s", fd.FullName())) + } +} + +// WhichOneof reports which field within the oneof is populated, +// returning nil if none are populated. +// It panics if the oneof descriptor does not belong to this message. +func (x *fastReflection_GetStakeFromReputerInTopicInSelfResponse) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { + switch d.FullName() { + default: + panic(fmt.Errorf("%s is not a oneof field in emissions.v8.GetStakeFromReputerInTopicInSelfResponse", d.FullName())) + } + panic("unreachable") +} + +// GetUnknown retrieves the entire list of unknown fields. +// The caller may only mutate the contents of the RawFields +// if the mutated bytes are stored back into the message with SetUnknown. +func (x *fastReflection_GetStakeFromReputerInTopicInSelfResponse) GetUnknown() protoreflect.RawFields { + return x.unknownFields +} + +// SetUnknown stores an entire list of unknown fields. +// The raw fields must be syntactically valid according to the wire format. +// An implementation may panic if this is not the case. +// Once stored, the caller must not mutate the content of the RawFields. +// An empty RawFields may be passed to clear the fields. +// +// SetUnknown is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetStakeFromReputerInTopicInSelfResponse) SetUnknown(fields protoreflect.RawFields) { + x.unknownFields = fields +} + +// IsValid reports whether the message is valid. +// +// An invalid message is an empty, read-only value. +// +// An invalid message often corresponds to a nil pointer of the concrete +// message type, but the details are implementation dependent. +// Validity is not part of the protobuf data model, and may not +// be preserved in marshaling or other operations. +func (x *fastReflection_GetStakeFromReputerInTopicInSelfResponse) IsValid() bool { + return x != nil +} + +// ProtoMethods returns optional fastReflectionFeature-path implementations of various operations. +// This method may return nil. +// +// The returned methods type is identical to +// "google.golang.org/protobuf/runtime/protoiface".Methods. +// Consult the protoiface package documentation for details. +func (x *fastReflection_GetStakeFromReputerInTopicInSelfResponse) ProtoMethods() *protoiface.Methods { + size := func(input protoiface.SizeInput) protoiface.SizeOutput { + x := input.Message.Interface().(*GetStakeFromReputerInTopicInSelfResponse) + if x == nil { + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: 0, + } + } + options := runtime.SizeInputToOptions(input) + _ = options + var n int + var l int + _ = l + l = len(x.Amount) + if l > 0 { + n += 1 + l + runtime.Sov(uint64(l)) + } + if x.unknownFields != nil { + n += len(x.unknownFields) + } + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: n, + } + } + + marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { + x := input.Message.Interface().(*GetStakeFromReputerInTopicInSelfResponse) + if x == nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + options := runtime.MarshalInputToOptions(input) + _ = options + size := options.Size(x) + dAtA := make([]byte, size) + i := len(dAtA) + _ = i + var l int + _ = l + if x.unknownFields != nil { + i -= len(x.unknownFields) + copy(dAtA[i:], x.unknownFields) + } + if len(x.Amount) > 0 { + i -= len(x.Amount) + copy(dAtA[i:], x.Amount) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.Amount))) + i-- + dAtA[i] = 0xa + } + if input.Buf != nil { + input.Buf = append(input.Buf, dAtA...) + } else { + input.Buf = dAtA + } + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { + x := input.Message.Interface().(*GetStakeFromReputerInTopicInSelfResponse) + if x == nil { + return protoiface.UnmarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Flags: input.Flags, + }, nil + } + options := runtime.UnmarshalInputToOptions(input) + _ = options + dAtA := input.Buf + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: GetStakeFromReputerInTopicInSelfResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: GetStakeFromReputerInTopicInSelfResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Amount", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + x.Amount = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := runtime.Skip(dAtA[iNdEx:]) + if err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if (iNdEx + skippy) > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + if !options.DiscardUnknown { + x.unknownFields = append(x.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + } + iNdEx += skippy + } + } + + if iNdEx > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, nil + } + return &protoiface.Methods{ + NoUnkeyedLiterals: struct{}{}, + Flags: protoiface.SupportMarshalDeterministic | protoiface.SupportUnmarshalDiscardUnknown, + Size: size, + Marshal: marshal, + Unmarshal: unmarshal, + Merge: nil, + CheckInitialized: nil, + } +} + +var ( + md_GetDelegateStakeInTopicInReputerRequest protoreflect.MessageDescriptor + fd_GetDelegateStakeInTopicInReputerRequest_reputer_address protoreflect.FieldDescriptor + fd_GetDelegateStakeInTopicInReputerRequest_topic_id protoreflect.FieldDescriptor +) + +func init() { + file_emissions_v8_query_proto_init() + md_GetDelegateStakeInTopicInReputerRequest = File_emissions_v8_query_proto.Messages().ByName("GetDelegateStakeInTopicInReputerRequest") + fd_GetDelegateStakeInTopicInReputerRequest_reputer_address = md_GetDelegateStakeInTopicInReputerRequest.Fields().ByName("reputer_address") + fd_GetDelegateStakeInTopicInReputerRequest_topic_id = md_GetDelegateStakeInTopicInReputerRequest.Fields().ByName("topic_id") +} + +var _ protoreflect.Message = (*fastReflection_GetDelegateStakeInTopicInReputerRequest)(nil) + +type fastReflection_GetDelegateStakeInTopicInReputerRequest GetDelegateStakeInTopicInReputerRequest + +func (x *GetDelegateStakeInTopicInReputerRequest) ProtoReflect() protoreflect.Message { + return (*fastReflection_GetDelegateStakeInTopicInReputerRequest)(x) +} + +func (x *GetDelegateStakeInTopicInReputerRequest) slowProtoReflect() protoreflect.Message { + mi := &file_emissions_v8_query_proto_msgTypes[58] + 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) +} + +var _fastReflection_GetDelegateStakeInTopicInReputerRequest_messageType fastReflection_GetDelegateStakeInTopicInReputerRequest_messageType +var _ protoreflect.MessageType = fastReflection_GetDelegateStakeInTopicInReputerRequest_messageType{} + +type fastReflection_GetDelegateStakeInTopicInReputerRequest_messageType struct{} + +func (x fastReflection_GetDelegateStakeInTopicInReputerRequest_messageType) Zero() protoreflect.Message { + return (*fastReflection_GetDelegateStakeInTopicInReputerRequest)(nil) +} +func (x fastReflection_GetDelegateStakeInTopicInReputerRequest_messageType) New() protoreflect.Message { + return new(fastReflection_GetDelegateStakeInTopicInReputerRequest) +} +func (x fastReflection_GetDelegateStakeInTopicInReputerRequest_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_GetDelegateStakeInTopicInReputerRequest +} + +// Descriptor returns message descriptor, which contains only the protobuf +// type information for the message. +func (x *fastReflection_GetDelegateStakeInTopicInReputerRequest) Descriptor() protoreflect.MessageDescriptor { + return md_GetDelegateStakeInTopicInReputerRequest +} + +// Type returns the message type, which encapsulates both Go and protobuf +// type information. If the Go type information is not needed, +// it is recommended that the message descriptor be used instead. +func (x *fastReflection_GetDelegateStakeInTopicInReputerRequest) Type() protoreflect.MessageType { + return _fastReflection_GetDelegateStakeInTopicInReputerRequest_messageType +} + +// New returns a newly allocated and mutable empty message. +func (x *fastReflection_GetDelegateStakeInTopicInReputerRequest) New() protoreflect.Message { + return new(fastReflection_GetDelegateStakeInTopicInReputerRequest) +} + +// Interface unwraps the message reflection interface and +// returns the underlying ProtoMessage interface. +func (x *fastReflection_GetDelegateStakeInTopicInReputerRequest) Interface() protoreflect.ProtoMessage { + return (*GetDelegateStakeInTopicInReputerRequest)(x) +} + +// Range iterates over every populated field in an undefined order, +// calling f for each field descriptor and value encountered. +// Range returns immediately if f returns false. +// While iterating, mutating operations may only be performed +// on the current field descriptor. +func (x *fastReflection_GetDelegateStakeInTopicInReputerRequest) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { + if x.ReputerAddress != "" { + value := protoreflect.ValueOfString(x.ReputerAddress) + if !f(fd_GetDelegateStakeInTopicInReputerRequest_reputer_address, value) { + return + } + } + if x.TopicId != uint64(0) { + value := protoreflect.ValueOfUint64(x.TopicId) + if !f(fd_GetDelegateStakeInTopicInReputerRequest_topic_id, value) { + return + } + } +} + +// Has reports whether a field is populated. +// +// Some fields have the property of nullability where it is possible to +// distinguish between the default value of a field and whether the field +// was explicitly populated with the default value. Singular message fields, +// member fields of a oneof, and proto2 scalar fields are nullable. Such +// fields are populated only if explicitly set. +// +// In other cases (aside from the nullable cases above), +// a proto3 scalar field is populated if it contains a non-zero value, and +// a repeated field is populated if it is non-empty. +func (x *fastReflection_GetDelegateStakeInTopicInReputerRequest) Has(fd protoreflect.FieldDescriptor) bool { + switch fd.FullName() { + case "emissions.v8.GetDelegateStakeInTopicInReputerRequest.reputer_address": + return x.ReputerAddress != "" + case "emissions.v8.GetDelegateStakeInTopicInReputerRequest.topic_id": + return x.TopicId != uint64(0) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetDelegateStakeInTopicInReputerRequest")) + } + panic(fmt.Errorf("message emissions.v8.GetDelegateStakeInTopicInReputerRequest does not contain field %s", fd.FullName())) + } +} + +// Clear clears the field such that a subsequent Has call reports false. +// +// Clearing an extension field clears both the extension type and value +// associated with the given field number. +// +// Clear is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetDelegateStakeInTopicInReputerRequest) Clear(fd protoreflect.FieldDescriptor) { + switch fd.FullName() { + case "emissions.v8.GetDelegateStakeInTopicInReputerRequest.reputer_address": + x.ReputerAddress = "" + case "emissions.v8.GetDelegateStakeInTopicInReputerRequest.topic_id": + x.TopicId = uint64(0) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetDelegateStakeInTopicInReputerRequest")) + } + panic(fmt.Errorf("message emissions.v8.GetDelegateStakeInTopicInReputerRequest does not contain field %s", fd.FullName())) + } +} + +// Get retrieves the value for a field. +// +// For unpopulated scalars, it returns the default value, where +// the default value of a bytes scalar is guaranteed to be a copy. +// For unpopulated composite types, it returns an empty, read-only view +// of the value; to obtain a mutable reference, use Mutable. +func (x *fastReflection_GetDelegateStakeInTopicInReputerRequest) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { + switch descriptor.FullName() { + case "emissions.v8.GetDelegateStakeInTopicInReputerRequest.reputer_address": + value := x.ReputerAddress + return protoreflect.ValueOfString(value) + case "emissions.v8.GetDelegateStakeInTopicInReputerRequest.topic_id": + value := x.TopicId + return protoreflect.ValueOfUint64(value) + default: + if descriptor.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetDelegateStakeInTopicInReputerRequest")) + } + panic(fmt.Errorf("message emissions.v8.GetDelegateStakeInTopicInReputerRequest does not contain field %s", descriptor.FullName())) + } +} + +// Set stores the value for a field. +// +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType. +// When setting a composite type, it is unspecified whether the stored value +// aliases the source's memory in any way. If the composite value is an +// empty, read-only value, then it panics. +// +// Set is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetDelegateStakeInTopicInReputerRequest) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { + switch fd.FullName() { + case "emissions.v8.GetDelegateStakeInTopicInReputerRequest.reputer_address": + x.ReputerAddress = value.Interface().(string) + case "emissions.v8.GetDelegateStakeInTopicInReputerRequest.topic_id": + x.TopicId = value.Uint() + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetDelegateStakeInTopicInReputerRequest")) + } + panic(fmt.Errorf("message emissions.v8.GetDelegateStakeInTopicInReputerRequest does not contain field %s", fd.FullName())) + } +} + +// Mutable returns a mutable reference to a composite type. +// +// If the field is unpopulated, it may allocate a composite value. +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType +// if not already stored. +// It panics if the field does not contain a composite type. +// +// Mutable is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetDelegateStakeInTopicInReputerRequest) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.GetDelegateStakeInTopicInReputerRequest.reputer_address": + panic(fmt.Errorf("field reputer_address of message emissions.v8.GetDelegateStakeInTopicInReputerRequest is not mutable")) + case "emissions.v8.GetDelegateStakeInTopicInReputerRequest.topic_id": + panic(fmt.Errorf("field topic_id of message emissions.v8.GetDelegateStakeInTopicInReputerRequest is not mutable")) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetDelegateStakeInTopicInReputerRequest")) + } + panic(fmt.Errorf("message emissions.v8.GetDelegateStakeInTopicInReputerRequest does not contain field %s", fd.FullName())) + } +} + +// NewField returns a new value that is assignable to the field +// for the given descriptor. For scalars, this returns the default value. +// For lists, maps, and messages, this returns a new, empty, mutable value. +func (x *fastReflection_GetDelegateStakeInTopicInReputerRequest) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.GetDelegateStakeInTopicInReputerRequest.reputer_address": + return protoreflect.ValueOfString("") + case "emissions.v8.GetDelegateStakeInTopicInReputerRequest.topic_id": + return protoreflect.ValueOfUint64(uint64(0)) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetDelegateStakeInTopicInReputerRequest")) + } + panic(fmt.Errorf("message emissions.v8.GetDelegateStakeInTopicInReputerRequest does not contain field %s", fd.FullName())) + } +} + +// WhichOneof reports which field within the oneof is populated, +// returning nil if none are populated. +// It panics if the oneof descriptor does not belong to this message. +func (x *fastReflection_GetDelegateStakeInTopicInReputerRequest) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { + switch d.FullName() { + default: + panic(fmt.Errorf("%s is not a oneof field in emissions.v8.GetDelegateStakeInTopicInReputerRequest", d.FullName())) + } + panic("unreachable") +} + +// GetUnknown retrieves the entire list of unknown fields. +// The caller may only mutate the contents of the RawFields +// if the mutated bytes are stored back into the message with SetUnknown. +func (x *fastReflection_GetDelegateStakeInTopicInReputerRequest) GetUnknown() protoreflect.RawFields { + return x.unknownFields +} + +// SetUnknown stores an entire list of unknown fields. +// The raw fields must be syntactically valid according to the wire format. +// An implementation may panic if this is not the case. +// Once stored, the caller must not mutate the content of the RawFields. +// An empty RawFields may be passed to clear the fields. +// +// SetUnknown is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetDelegateStakeInTopicInReputerRequest) SetUnknown(fields protoreflect.RawFields) { + x.unknownFields = fields +} + +// IsValid reports whether the message is valid. +// +// An invalid message is an empty, read-only value. +// +// An invalid message often corresponds to a nil pointer of the concrete +// message type, but the details are implementation dependent. +// Validity is not part of the protobuf data model, and may not +// be preserved in marshaling or other operations. +func (x *fastReflection_GetDelegateStakeInTopicInReputerRequest) IsValid() bool { + return x != nil +} + +// ProtoMethods returns optional fastReflectionFeature-path implementations of various operations. +// This method may return nil. +// +// The returned methods type is identical to +// "google.golang.org/protobuf/runtime/protoiface".Methods. +// Consult the protoiface package documentation for details. +func (x *fastReflection_GetDelegateStakeInTopicInReputerRequest) ProtoMethods() *protoiface.Methods { + size := func(input protoiface.SizeInput) protoiface.SizeOutput { + x := input.Message.Interface().(*GetDelegateStakeInTopicInReputerRequest) + if x == nil { + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: 0, + } + } + options := runtime.SizeInputToOptions(input) + _ = options + var n int + var l int + _ = l + l = len(x.ReputerAddress) + if l > 0 { + n += 1 + l + runtime.Sov(uint64(l)) + } + if x.TopicId != 0 { + n += 1 + runtime.Sov(uint64(x.TopicId)) + } + if x.unknownFields != nil { + n += len(x.unknownFields) + } + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: n, + } + } + + marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { + x := input.Message.Interface().(*GetDelegateStakeInTopicInReputerRequest) + if x == nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + options := runtime.MarshalInputToOptions(input) + _ = options + size := options.Size(x) + dAtA := make([]byte, size) + i := len(dAtA) + _ = i + var l int + _ = l + if x.unknownFields != nil { + i -= len(x.unknownFields) + copy(dAtA[i:], x.unknownFields) + } + if x.TopicId != 0 { + i = runtime.EncodeVarint(dAtA, i, uint64(x.TopicId)) + i-- + dAtA[i] = 0x10 + } + if len(x.ReputerAddress) > 0 { + i -= len(x.ReputerAddress) + copy(dAtA[i:], x.ReputerAddress) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.ReputerAddress))) + i-- + dAtA[i] = 0xa + } + if input.Buf != nil { + input.Buf = append(input.Buf, dAtA...) + } else { + input.Buf = dAtA + } + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { + x := input.Message.Interface().(*GetDelegateStakeInTopicInReputerRequest) + if x == nil { + return protoiface.UnmarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Flags: input.Flags, + }, nil + } + options := runtime.UnmarshalInputToOptions(input) + _ = options + dAtA := input.Buf + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: GetDelegateStakeInTopicInReputerRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: GetDelegateStakeInTopicInReputerRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field ReputerAddress", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + x.ReputerAddress = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field TopicId", wireType) + } + x.TopicId = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + x.TopicId |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + default: + iNdEx = preIndex + skippy, err := runtime.Skip(dAtA[iNdEx:]) + if err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if (iNdEx + skippy) > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + if !options.DiscardUnknown { + x.unknownFields = append(x.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + } + iNdEx += skippy + } + } + + if iNdEx > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, nil + } + return &protoiface.Methods{ + NoUnkeyedLiterals: struct{}{}, + Flags: protoiface.SupportMarshalDeterministic | protoiface.SupportUnmarshalDiscardUnknown, + Size: size, + Marshal: marshal, + Unmarshal: unmarshal, + Merge: nil, + CheckInitialized: nil, + } +} + +var ( + md_GetDelegateStakeInTopicInReputerResponse protoreflect.MessageDescriptor + fd_GetDelegateStakeInTopicInReputerResponse_amount protoreflect.FieldDescriptor +) + +func init() { + file_emissions_v8_query_proto_init() + md_GetDelegateStakeInTopicInReputerResponse = File_emissions_v8_query_proto.Messages().ByName("GetDelegateStakeInTopicInReputerResponse") + fd_GetDelegateStakeInTopicInReputerResponse_amount = md_GetDelegateStakeInTopicInReputerResponse.Fields().ByName("amount") +} + +var _ protoreflect.Message = (*fastReflection_GetDelegateStakeInTopicInReputerResponse)(nil) + +type fastReflection_GetDelegateStakeInTopicInReputerResponse GetDelegateStakeInTopicInReputerResponse + +func (x *GetDelegateStakeInTopicInReputerResponse) ProtoReflect() protoreflect.Message { + return (*fastReflection_GetDelegateStakeInTopicInReputerResponse)(x) +} + +func (x *GetDelegateStakeInTopicInReputerResponse) slowProtoReflect() protoreflect.Message { + mi := &file_emissions_v8_query_proto_msgTypes[59] + 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) +} + +var _fastReflection_GetDelegateStakeInTopicInReputerResponse_messageType fastReflection_GetDelegateStakeInTopicInReputerResponse_messageType +var _ protoreflect.MessageType = fastReflection_GetDelegateStakeInTopicInReputerResponse_messageType{} + +type fastReflection_GetDelegateStakeInTopicInReputerResponse_messageType struct{} + +func (x fastReflection_GetDelegateStakeInTopicInReputerResponse_messageType) Zero() protoreflect.Message { + return (*fastReflection_GetDelegateStakeInTopicInReputerResponse)(nil) +} +func (x fastReflection_GetDelegateStakeInTopicInReputerResponse_messageType) New() protoreflect.Message { + return new(fastReflection_GetDelegateStakeInTopicInReputerResponse) +} +func (x fastReflection_GetDelegateStakeInTopicInReputerResponse_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_GetDelegateStakeInTopicInReputerResponse +} + +// Descriptor returns message descriptor, which contains only the protobuf +// type information for the message. +func (x *fastReflection_GetDelegateStakeInTopicInReputerResponse) Descriptor() protoreflect.MessageDescriptor { + return md_GetDelegateStakeInTopicInReputerResponse +} + +// Type returns the message type, which encapsulates both Go and protobuf +// type information. If the Go type information is not needed, +// it is recommended that the message descriptor be used instead. +func (x *fastReflection_GetDelegateStakeInTopicInReputerResponse) Type() protoreflect.MessageType { + return _fastReflection_GetDelegateStakeInTopicInReputerResponse_messageType +} + +// New returns a newly allocated and mutable empty message. +func (x *fastReflection_GetDelegateStakeInTopicInReputerResponse) New() protoreflect.Message { + return new(fastReflection_GetDelegateStakeInTopicInReputerResponse) +} + +// Interface unwraps the message reflection interface and +// returns the underlying ProtoMessage interface. +func (x *fastReflection_GetDelegateStakeInTopicInReputerResponse) Interface() protoreflect.ProtoMessage { + return (*GetDelegateStakeInTopicInReputerResponse)(x) +} + +// Range iterates over every populated field in an undefined order, +// calling f for each field descriptor and value encountered. +// Range returns immediately if f returns false. +// While iterating, mutating operations may only be performed +// on the current field descriptor. +func (x *fastReflection_GetDelegateStakeInTopicInReputerResponse) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { + if x.Amount != "" { + value := protoreflect.ValueOfString(x.Amount) + if !f(fd_GetDelegateStakeInTopicInReputerResponse_amount, value) { + return + } + } +} + +// Has reports whether a field is populated. +// +// Some fields have the property of nullability where it is possible to +// distinguish between the default value of a field and whether the field +// was explicitly populated with the default value. Singular message fields, +// member fields of a oneof, and proto2 scalar fields are nullable. Such +// fields are populated only if explicitly set. +// +// In other cases (aside from the nullable cases above), +// a proto3 scalar field is populated if it contains a non-zero value, and +// a repeated field is populated if it is non-empty. +func (x *fastReflection_GetDelegateStakeInTopicInReputerResponse) Has(fd protoreflect.FieldDescriptor) bool { + switch fd.FullName() { + case "emissions.v8.GetDelegateStakeInTopicInReputerResponse.amount": + return x.Amount != "" + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetDelegateStakeInTopicInReputerResponse")) + } + panic(fmt.Errorf("message emissions.v8.GetDelegateStakeInTopicInReputerResponse does not contain field %s", fd.FullName())) + } +} + +// Clear clears the field such that a subsequent Has call reports false. +// +// Clearing an extension field clears both the extension type and value +// associated with the given field number. +// +// Clear is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetDelegateStakeInTopicInReputerResponse) Clear(fd protoreflect.FieldDescriptor) { + switch fd.FullName() { + case "emissions.v8.GetDelegateStakeInTopicInReputerResponse.amount": + x.Amount = "" + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetDelegateStakeInTopicInReputerResponse")) + } + panic(fmt.Errorf("message emissions.v8.GetDelegateStakeInTopicInReputerResponse does not contain field %s", fd.FullName())) + } +} + +// Get retrieves the value for a field. +// +// For unpopulated scalars, it returns the default value, where +// the default value of a bytes scalar is guaranteed to be a copy. +// For unpopulated composite types, it returns an empty, read-only view +// of the value; to obtain a mutable reference, use Mutable. +func (x *fastReflection_GetDelegateStakeInTopicInReputerResponse) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { + switch descriptor.FullName() { + case "emissions.v8.GetDelegateStakeInTopicInReputerResponse.amount": + value := x.Amount + return protoreflect.ValueOfString(value) + default: + if descriptor.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetDelegateStakeInTopicInReputerResponse")) + } + panic(fmt.Errorf("message emissions.v8.GetDelegateStakeInTopicInReputerResponse does not contain field %s", descriptor.FullName())) + } +} + +// Set stores the value for a field. +// +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType. +// When setting a composite type, it is unspecified whether the stored value +// aliases the source's memory in any way. If the composite value is an +// empty, read-only value, then it panics. +// +// Set is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetDelegateStakeInTopicInReputerResponse) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { + switch fd.FullName() { + case "emissions.v8.GetDelegateStakeInTopicInReputerResponse.amount": + x.Amount = value.Interface().(string) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetDelegateStakeInTopicInReputerResponse")) + } + panic(fmt.Errorf("message emissions.v8.GetDelegateStakeInTopicInReputerResponse does not contain field %s", fd.FullName())) + } +} + +// Mutable returns a mutable reference to a composite type. +// +// If the field is unpopulated, it may allocate a composite value. +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType +// if not already stored. +// It panics if the field does not contain a composite type. +// +// Mutable is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetDelegateStakeInTopicInReputerResponse) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.GetDelegateStakeInTopicInReputerResponse.amount": + panic(fmt.Errorf("field amount of message emissions.v8.GetDelegateStakeInTopicInReputerResponse is not mutable")) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetDelegateStakeInTopicInReputerResponse")) + } + panic(fmt.Errorf("message emissions.v8.GetDelegateStakeInTopicInReputerResponse does not contain field %s", fd.FullName())) + } +} + +// NewField returns a new value that is assignable to the field +// for the given descriptor. For scalars, this returns the default value. +// For lists, maps, and messages, this returns a new, empty, mutable value. +func (x *fastReflection_GetDelegateStakeInTopicInReputerResponse) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.GetDelegateStakeInTopicInReputerResponse.amount": + return protoreflect.ValueOfString("") + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetDelegateStakeInTopicInReputerResponse")) + } + panic(fmt.Errorf("message emissions.v8.GetDelegateStakeInTopicInReputerResponse does not contain field %s", fd.FullName())) + } +} + +// WhichOneof reports which field within the oneof is populated, +// returning nil if none are populated. +// It panics if the oneof descriptor does not belong to this message. +func (x *fastReflection_GetDelegateStakeInTopicInReputerResponse) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { + switch d.FullName() { + default: + panic(fmt.Errorf("%s is not a oneof field in emissions.v8.GetDelegateStakeInTopicInReputerResponse", d.FullName())) + } + panic("unreachable") +} + +// GetUnknown retrieves the entire list of unknown fields. +// The caller may only mutate the contents of the RawFields +// if the mutated bytes are stored back into the message with SetUnknown. +func (x *fastReflection_GetDelegateStakeInTopicInReputerResponse) GetUnknown() protoreflect.RawFields { + return x.unknownFields +} + +// SetUnknown stores an entire list of unknown fields. +// The raw fields must be syntactically valid according to the wire format. +// An implementation may panic if this is not the case. +// Once stored, the caller must not mutate the content of the RawFields. +// An empty RawFields may be passed to clear the fields. +// +// SetUnknown is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetDelegateStakeInTopicInReputerResponse) SetUnknown(fields protoreflect.RawFields) { + x.unknownFields = fields +} + +// IsValid reports whether the message is valid. +// +// An invalid message is an empty, read-only value. +// +// An invalid message often corresponds to a nil pointer of the concrete +// message type, but the details are implementation dependent. +// Validity is not part of the protobuf data model, and may not +// be preserved in marshaling or other operations. +func (x *fastReflection_GetDelegateStakeInTopicInReputerResponse) IsValid() bool { + return x != nil +} + +// ProtoMethods returns optional fastReflectionFeature-path implementations of various operations. +// This method may return nil. +// +// The returned methods type is identical to +// "google.golang.org/protobuf/runtime/protoiface".Methods. +// Consult the protoiface package documentation for details. +func (x *fastReflection_GetDelegateStakeInTopicInReputerResponse) ProtoMethods() *protoiface.Methods { + size := func(input protoiface.SizeInput) protoiface.SizeOutput { + x := input.Message.Interface().(*GetDelegateStakeInTopicInReputerResponse) + if x == nil { + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: 0, + } + } + options := runtime.SizeInputToOptions(input) + _ = options + var n int + var l int + _ = l + l = len(x.Amount) + if l > 0 { + n += 1 + l + runtime.Sov(uint64(l)) + } + if x.unknownFields != nil { + n += len(x.unknownFields) + } + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: n, + } + } + + marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { + x := input.Message.Interface().(*GetDelegateStakeInTopicInReputerResponse) + if x == nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + options := runtime.MarshalInputToOptions(input) + _ = options + size := options.Size(x) + dAtA := make([]byte, size) + i := len(dAtA) + _ = i + var l int + _ = l + if x.unknownFields != nil { + i -= len(x.unknownFields) + copy(dAtA[i:], x.unknownFields) + } + if len(x.Amount) > 0 { + i -= len(x.Amount) + copy(dAtA[i:], x.Amount) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.Amount))) + i-- + dAtA[i] = 0xa + } + if input.Buf != nil { + input.Buf = append(input.Buf, dAtA...) + } else { + input.Buf = dAtA + } + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { + x := input.Message.Interface().(*GetDelegateStakeInTopicInReputerResponse) + if x == nil { + return protoiface.UnmarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Flags: input.Flags, + }, nil + } + options := runtime.UnmarshalInputToOptions(input) + _ = options + dAtA := input.Buf + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: GetDelegateStakeInTopicInReputerResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: GetDelegateStakeInTopicInReputerResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Amount", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + x.Amount = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := runtime.Skip(dAtA[iNdEx:]) + if err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if (iNdEx + skippy) > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + if !options.DiscardUnknown { + x.unknownFields = append(x.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + } + iNdEx += skippy + } + } + + if iNdEx > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, nil + } + return &protoiface.Methods{ + NoUnkeyedLiterals: struct{}{}, + Flags: protoiface.SupportMarshalDeterministic | protoiface.SupportUnmarshalDiscardUnknown, + Size: size, + Marshal: marshal, + Unmarshal: unmarshal, + Merge: nil, + CheckInitialized: nil, + } +} + +var ( + md_GetStakeFromDelegatorInTopicInReputerRequest protoreflect.MessageDescriptor + fd_GetStakeFromDelegatorInTopicInReputerRequest_delegator_address protoreflect.FieldDescriptor + fd_GetStakeFromDelegatorInTopicInReputerRequest_reputer_address protoreflect.FieldDescriptor + fd_GetStakeFromDelegatorInTopicInReputerRequest_topic_id protoreflect.FieldDescriptor +) + +func init() { + file_emissions_v8_query_proto_init() + md_GetStakeFromDelegatorInTopicInReputerRequest = File_emissions_v8_query_proto.Messages().ByName("GetStakeFromDelegatorInTopicInReputerRequest") + fd_GetStakeFromDelegatorInTopicInReputerRequest_delegator_address = md_GetStakeFromDelegatorInTopicInReputerRequest.Fields().ByName("delegator_address") + fd_GetStakeFromDelegatorInTopicInReputerRequest_reputer_address = md_GetStakeFromDelegatorInTopicInReputerRequest.Fields().ByName("reputer_address") + fd_GetStakeFromDelegatorInTopicInReputerRequest_topic_id = md_GetStakeFromDelegatorInTopicInReputerRequest.Fields().ByName("topic_id") +} + +var _ protoreflect.Message = (*fastReflection_GetStakeFromDelegatorInTopicInReputerRequest)(nil) + +type fastReflection_GetStakeFromDelegatorInTopicInReputerRequest GetStakeFromDelegatorInTopicInReputerRequest + +func (x *GetStakeFromDelegatorInTopicInReputerRequest) ProtoReflect() protoreflect.Message { + return (*fastReflection_GetStakeFromDelegatorInTopicInReputerRequest)(x) +} + +func (x *GetStakeFromDelegatorInTopicInReputerRequest) slowProtoReflect() protoreflect.Message { + mi := &file_emissions_v8_query_proto_msgTypes[60] + 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) +} + +var _fastReflection_GetStakeFromDelegatorInTopicInReputerRequest_messageType fastReflection_GetStakeFromDelegatorInTopicInReputerRequest_messageType +var _ protoreflect.MessageType = fastReflection_GetStakeFromDelegatorInTopicInReputerRequest_messageType{} + +type fastReflection_GetStakeFromDelegatorInTopicInReputerRequest_messageType struct{} + +func (x fastReflection_GetStakeFromDelegatorInTopicInReputerRequest_messageType) Zero() protoreflect.Message { + return (*fastReflection_GetStakeFromDelegatorInTopicInReputerRequest)(nil) +} +func (x fastReflection_GetStakeFromDelegatorInTopicInReputerRequest_messageType) New() protoreflect.Message { + return new(fastReflection_GetStakeFromDelegatorInTopicInReputerRequest) +} +func (x fastReflection_GetStakeFromDelegatorInTopicInReputerRequest_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_GetStakeFromDelegatorInTopicInReputerRequest +} + +// Descriptor returns message descriptor, which contains only the protobuf +// type information for the message. +func (x *fastReflection_GetStakeFromDelegatorInTopicInReputerRequest) Descriptor() protoreflect.MessageDescriptor { + return md_GetStakeFromDelegatorInTopicInReputerRequest +} + +// Type returns the message type, which encapsulates both Go and protobuf +// type information. If the Go type information is not needed, +// it is recommended that the message descriptor be used instead. +func (x *fastReflection_GetStakeFromDelegatorInTopicInReputerRequest) Type() protoreflect.MessageType { + return _fastReflection_GetStakeFromDelegatorInTopicInReputerRequest_messageType +} + +// New returns a newly allocated and mutable empty message. +func (x *fastReflection_GetStakeFromDelegatorInTopicInReputerRequest) New() protoreflect.Message { + return new(fastReflection_GetStakeFromDelegatorInTopicInReputerRequest) +} + +// Interface unwraps the message reflection interface and +// returns the underlying ProtoMessage interface. +func (x *fastReflection_GetStakeFromDelegatorInTopicInReputerRequest) Interface() protoreflect.ProtoMessage { + return (*GetStakeFromDelegatorInTopicInReputerRequest)(x) +} + +// Range iterates over every populated field in an undefined order, +// calling f for each field descriptor and value encountered. +// Range returns immediately if f returns false. +// While iterating, mutating operations may only be performed +// on the current field descriptor. +func (x *fastReflection_GetStakeFromDelegatorInTopicInReputerRequest) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { + if x.DelegatorAddress != "" { + value := protoreflect.ValueOfString(x.DelegatorAddress) + if !f(fd_GetStakeFromDelegatorInTopicInReputerRequest_delegator_address, value) { + return + } + } + if x.ReputerAddress != "" { + value := protoreflect.ValueOfString(x.ReputerAddress) + if !f(fd_GetStakeFromDelegatorInTopicInReputerRequest_reputer_address, value) { + return + } + } + if x.TopicId != uint64(0) { + value := protoreflect.ValueOfUint64(x.TopicId) + if !f(fd_GetStakeFromDelegatorInTopicInReputerRequest_topic_id, value) { + return + } + } +} + +// Has reports whether a field is populated. +// +// Some fields have the property of nullability where it is possible to +// distinguish between the default value of a field and whether the field +// was explicitly populated with the default value. Singular message fields, +// member fields of a oneof, and proto2 scalar fields are nullable. Such +// fields are populated only if explicitly set. +// +// In other cases (aside from the nullable cases above), +// a proto3 scalar field is populated if it contains a non-zero value, and +// a repeated field is populated if it is non-empty. +func (x *fastReflection_GetStakeFromDelegatorInTopicInReputerRequest) Has(fd protoreflect.FieldDescriptor) bool { + switch fd.FullName() { + case "emissions.v8.GetStakeFromDelegatorInTopicInReputerRequest.delegator_address": + return x.DelegatorAddress != "" + case "emissions.v8.GetStakeFromDelegatorInTopicInReputerRequest.reputer_address": + return x.ReputerAddress != "" + case "emissions.v8.GetStakeFromDelegatorInTopicInReputerRequest.topic_id": + return x.TopicId != uint64(0) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetStakeFromDelegatorInTopicInReputerRequest")) + } + panic(fmt.Errorf("message emissions.v8.GetStakeFromDelegatorInTopicInReputerRequest does not contain field %s", fd.FullName())) + } +} + +// Clear clears the field such that a subsequent Has call reports false. +// +// Clearing an extension field clears both the extension type and value +// associated with the given field number. +// +// Clear is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetStakeFromDelegatorInTopicInReputerRequest) Clear(fd protoreflect.FieldDescriptor) { + switch fd.FullName() { + case "emissions.v8.GetStakeFromDelegatorInTopicInReputerRequest.delegator_address": + x.DelegatorAddress = "" + case "emissions.v8.GetStakeFromDelegatorInTopicInReputerRequest.reputer_address": + x.ReputerAddress = "" + case "emissions.v8.GetStakeFromDelegatorInTopicInReputerRequest.topic_id": + x.TopicId = uint64(0) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetStakeFromDelegatorInTopicInReputerRequest")) + } + panic(fmt.Errorf("message emissions.v8.GetStakeFromDelegatorInTopicInReputerRequest does not contain field %s", fd.FullName())) + } +} + +// Get retrieves the value for a field. +// +// For unpopulated scalars, it returns the default value, where +// the default value of a bytes scalar is guaranteed to be a copy. +// For unpopulated composite types, it returns an empty, read-only view +// of the value; to obtain a mutable reference, use Mutable. +func (x *fastReflection_GetStakeFromDelegatorInTopicInReputerRequest) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { + switch descriptor.FullName() { + case "emissions.v8.GetStakeFromDelegatorInTopicInReputerRequest.delegator_address": + value := x.DelegatorAddress + return protoreflect.ValueOfString(value) + case "emissions.v8.GetStakeFromDelegatorInTopicInReputerRequest.reputer_address": + value := x.ReputerAddress + return protoreflect.ValueOfString(value) + case "emissions.v8.GetStakeFromDelegatorInTopicInReputerRequest.topic_id": + value := x.TopicId + return protoreflect.ValueOfUint64(value) + default: + if descriptor.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetStakeFromDelegatorInTopicInReputerRequest")) + } + panic(fmt.Errorf("message emissions.v8.GetStakeFromDelegatorInTopicInReputerRequest does not contain field %s", descriptor.FullName())) + } +} + +// Set stores the value for a field. +// +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType. +// When setting a composite type, it is unspecified whether the stored value +// aliases the source's memory in any way. If the composite value is an +// empty, read-only value, then it panics. +// +// Set is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetStakeFromDelegatorInTopicInReputerRequest) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { + switch fd.FullName() { + case "emissions.v8.GetStakeFromDelegatorInTopicInReputerRequest.delegator_address": + x.DelegatorAddress = value.Interface().(string) + case "emissions.v8.GetStakeFromDelegatorInTopicInReputerRequest.reputer_address": + x.ReputerAddress = value.Interface().(string) + case "emissions.v8.GetStakeFromDelegatorInTopicInReputerRequest.topic_id": + x.TopicId = value.Uint() + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetStakeFromDelegatorInTopicInReputerRequest")) + } + panic(fmt.Errorf("message emissions.v8.GetStakeFromDelegatorInTopicInReputerRequest does not contain field %s", fd.FullName())) + } +} + +// Mutable returns a mutable reference to a composite type. +// +// If the field is unpopulated, it may allocate a composite value. +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType +// if not already stored. +// It panics if the field does not contain a composite type. +// +// Mutable is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetStakeFromDelegatorInTopicInReputerRequest) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.GetStakeFromDelegatorInTopicInReputerRequest.delegator_address": + panic(fmt.Errorf("field delegator_address of message emissions.v8.GetStakeFromDelegatorInTopicInReputerRequest is not mutable")) + case "emissions.v8.GetStakeFromDelegatorInTopicInReputerRequest.reputer_address": + panic(fmt.Errorf("field reputer_address of message emissions.v8.GetStakeFromDelegatorInTopicInReputerRequest is not mutable")) + case "emissions.v8.GetStakeFromDelegatorInTopicInReputerRequest.topic_id": + panic(fmt.Errorf("field topic_id of message emissions.v8.GetStakeFromDelegatorInTopicInReputerRequest is not mutable")) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetStakeFromDelegatorInTopicInReputerRequest")) + } + panic(fmt.Errorf("message emissions.v8.GetStakeFromDelegatorInTopicInReputerRequest does not contain field %s", fd.FullName())) + } +} + +// NewField returns a new value that is assignable to the field +// for the given descriptor. For scalars, this returns the default value. +// For lists, maps, and messages, this returns a new, empty, mutable value. +func (x *fastReflection_GetStakeFromDelegatorInTopicInReputerRequest) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.GetStakeFromDelegatorInTopicInReputerRequest.delegator_address": + return protoreflect.ValueOfString("") + case "emissions.v8.GetStakeFromDelegatorInTopicInReputerRequest.reputer_address": + return protoreflect.ValueOfString("") + case "emissions.v8.GetStakeFromDelegatorInTopicInReputerRequest.topic_id": + return protoreflect.ValueOfUint64(uint64(0)) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetStakeFromDelegatorInTopicInReputerRequest")) + } + panic(fmt.Errorf("message emissions.v8.GetStakeFromDelegatorInTopicInReputerRequest does not contain field %s", fd.FullName())) + } +} + +// WhichOneof reports which field within the oneof is populated, +// returning nil if none are populated. +// It panics if the oneof descriptor does not belong to this message. +func (x *fastReflection_GetStakeFromDelegatorInTopicInReputerRequest) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { + switch d.FullName() { + default: + panic(fmt.Errorf("%s is not a oneof field in emissions.v8.GetStakeFromDelegatorInTopicInReputerRequest", d.FullName())) + } + panic("unreachable") +} + +// GetUnknown retrieves the entire list of unknown fields. +// The caller may only mutate the contents of the RawFields +// if the mutated bytes are stored back into the message with SetUnknown. +func (x *fastReflection_GetStakeFromDelegatorInTopicInReputerRequest) GetUnknown() protoreflect.RawFields { + return x.unknownFields +} + +// SetUnknown stores an entire list of unknown fields. +// The raw fields must be syntactically valid according to the wire format. +// An implementation may panic if this is not the case. +// Once stored, the caller must not mutate the content of the RawFields. +// An empty RawFields may be passed to clear the fields. +// +// SetUnknown is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetStakeFromDelegatorInTopicInReputerRequest) SetUnknown(fields protoreflect.RawFields) { + x.unknownFields = fields +} + +// IsValid reports whether the message is valid. +// +// An invalid message is an empty, read-only value. +// +// An invalid message often corresponds to a nil pointer of the concrete +// message type, but the details are implementation dependent. +// Validity is not part of the protobuf data model, and may not +// be preserved in marshaling or other operations. +func (x *fastReflection_GetStakeFromDelegatorInTopicInReputerRequest) IsValid() bool { + return x != nil +} + +// ProtoMethods returns optional fastReflectionFeature-path implementations of various operations. +// This method may return nil. +// +// The returned methods type is identical to +// "google.golang.org/protobuf/runtime/protoiface".Methods. +// Consult the protoiface package documentation for details. +func (x *fastReflection_GetStakeFromDelegatorInTopicInReputerRequest) ProtoMethods() *protoiface.Methods { + size := func(input protoiface.SizeInput) protoiface.SizeOutput { + x := input.Message.Interface().(*GetStakeFromDelegatorInTopicInReputerRequest) + if x == nil { + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: 0, + } + } + options := runtime.SizeInputToOptions(input) + _ = options + var n int + var l int + _ = l + l = len(x.DelegatorAddress) + if l > 0 { + n += 1 + l + runtime.Sov(uint64(l)) + } + l = len(x.ReputerAddress) + if l > 0 { + n += 1 + l + runtime.Sov(uint64(l)) + } + if x.TopicId != 0 { + n += 1 + runtime.Sov(uint64(x.TopicId)) + } + if x.unknownFields != nil { + n += len(x.unknownFields) + } + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: n, + } + } + + marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { + x := input.Message.Interface().(*GetStakeFromDelegatorInTopicInReputerRequest) + if x == nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + options := runtime.MarshalInputToOptions(input) + _ = options + size := options.Size(x) + dAtA := make([]byte, size) + i := len(dAtA) + _ = i + var l int + _ = l + if x.unknownFields != nil { + i -= len(x.unknownFields) + copy(dAtA[i:], x.unknownFields) + } + if x.TopicId != 0 { + i = runtime.EncodeVarint(dAtA, i, uint64(x.TopicId)) + i-- + dAtA[i] = 0x18 + } + if len(x.ReputerAddress) > 0 { + i -= len(x.ReputerAddress) + copy(dAtA[i:], x.ReputerAddress) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.ReputerAddress))) + i-- + dAtA[i] = 0x12 + } + if len(x.DelegatorAddress) > 0 { + i -= len(x.DelegatorAddress) + copy(dAtA[i:], x.DelegatorAddress) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.DelegatorAddress))) + i-- + dAtA[i] = 0xa + } + if input.Buf != nil { + input.Buf = append(input.Buf, dAtA...) + } else { + input.Buf = dAtA + } + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { + x := input.Message.Interface().(*GetStakeFromDelegatorInTopicInReputerRequest) + if x == nil { + return protoiface.UnmarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Flags: input.Flags, + }, nil + } + options := runtime.UnmarshalInputToOptions(input) + _ = options + dAtA := input.Buf + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: GetStakeFromDelegatorInTopicInReputerRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: GetStakeFromDelegatorInTopicInReputerRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field DelegatorAddress", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + x.DelegatorAddress = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field ReputerAddress", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + x.ReputerAddress = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 3: + if wireType != 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field TopicId", wireType) + } + x.TopicId = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + x.TopicId |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + default: + iNdEx = preIndex + skippy, err := runtime.Skip(dAtA[iNdEx:]) + if err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if (iNdEx + skippy) > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + if !options.DiscardUnknown { + x.unknownFields = append(x.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + } + iNdEx += skippy + } + } + + if iNdEx > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, nil + } + return &protoiface.Methods{ + NoUnkeyedLiterals: struct{}{}, + Flags: protoiface.SupportMarshalDeterministic | protoiface.SupportUnmarshalDiscardUnknown, + Size: size, + Marshal: marshal, + Unmarshal: unmarshal, + Merge: nil, + CheckInitialized: nil, + } +} + +var ( + md_GetStakeFromDelegatorInTopicInReputerResponse protoreflect.MessageDescriptor + fd_GetStakeFromDelegatorInTopicInReputerResponse_amount protoreflect.FieldDescriptor +) + +func init() { + file_emissions_v8_query_proto_init() + md_GetStakeFromDelegatorInTopicInReputerResponse = File_emissions_v8_query_proto.Messages().ByName("GetStakeFromDelegatorInTopicInReputerResponse") + fd_GetStakeFromDelegatorInTopicInReputerResponse_amount = md_GetStakeFromDelegatorInTopicInReputerResponse.Fields().ByName("amount") +} + +var _ protoreflect.Message = (*fastReflection_GetStakeFromDelegatorInTopicInReputerResponse)(nil) + +type fastReflection_GetStakeFromDelegatorInTopicInReputerResponse GetStakeFromDelegatorInTopicInReputerResponse + +func (x *GetStakeFromDelegatorInTopicInReputerResponse) ProtoReflect() protoreflect.Message { + return (*fastReflection_GetStakeFromDelegatorInTopicInReputerResponse)(x) +} + +func (x *GetStakeFromDelegatorInTopicInReputerResponse) slowProtoReflect() protoreflect.Message { + mi := &file_emissions_v8_query_proto_msgTypes[61] + 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) +} + +var _fastReflection_GetStakeFromDelegatorInTopicInReputerResponse_messageType fastReflection_GetStakeFromDelegatorInTopicInReputerResponse_messageType +var _ protoreflect.MessageType = fastReflection_GetStakeFromDelegatorInTopicInReputerResponse_messageType{} + +type fastReflection_GetStakeFromDelegatorInTopicInReputerResponse_messageType struct{} + +func (x fastReflection_GetStakeFromDelegatorInTopicInReputerResponse_messageType) Zero() protoreflect.Message { + return (*fastReflection_GetStakeFromDelegatorInTopicInReputerResponse)(nil) +} +func (x fastReflection_GetStakeFromDelegatorInTopicInReputerResponse_messageType) New() protoreflect.Message { + return new(fastReflection_GetStakeFromDelegatorInTopicInReputerResponse) +} +func (x fastReflection_GetStakeFromDelegatorInTopicInReputerResponse_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_GetStakeFromDelegatorInTopicInReputerResponse +} + +// Descriptor returns message descriptor, which contains only the protobuf +// type information for the message. +func (x *fastReflection_GetStakeFromDelegatorInTopicInReputerResponse) Descriptor() protoreflect.MessageDescriptor { + return md_GetStakeFromDelegatorInTopicInReputerResponse +} + +// Type returns the message type, which encapsulates both Go and protobuf +// type information. If the Go type information is not needed, +// it is recommended that the message descriptor be used instead. +func (x *fastReflection_GetStakeFromDelegatorInTopicInReputerResponse) Type() protoreflect.MessageType { + return _fastReflection_GetStakeFromDelegatorInTopicInReputerResponse_messageType +} + +// New returns a newly allocated and mutable empty message. +func (x *fastReflection_GetStakeFromDelegatorInTopicInReputerResponse) New() protoreflect.Message { + return new(fastReflection_GetStakeFromDelegatorInTopicInReputerResponse) +} + +// Interface unwraps the message reflection interface and +// returns the underlying ProtoMessage interface. +func (x *fastReflection_GetStakeFromDelegatorInTopicInReputerResponse) Interface() protoreflect.ProtoMessage { + return (*GetStakeFromDelegatorInTopicInReputerResponse)(x) +} + +// Range iterates over every populated field in an undefined order, +// calling f for each field descriptor and value encountered. +// Range returns immediately if f returns false. +// While iterating, mutating operations may only be performed +// on the current field descriptor. +func (x *fastReflection_GetStakeFromDelegatorInTopicInReputerResponse) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { + if x.Amount != "" { + value := protoreflect.ValueOfString(x.Amount) + if !f(fd_GetStakeFromDelegatorInTopicInReputerResponse_amount, value) { + return + } + } +} + +// Has reports whether a field is populated. +// +// Some fields have the property of nullability where it is possible to +// distinguish between the default value of a field and whether the field +// was explicitly populated with the default value. Singular message fields, +// member fields of a oneof, and proto2 scalar fields are nullable. Such +// fields are populated only if explicitly set. +// +// In other cases (aside from the nullable cases above), +// a proto3 scalar field is populated if it contains a non-zero value, and +// a repeated field is populated if it is non-empty. +func (x *fastReflection_GetStakeFromDelegatorInTopicInReputerResponse) Has(fd protoreflect.FieldDescriptor) bool { + switch fd.FullName() { + case "emissions.v8.GetStakeFromDelegatorInTopicInReputerResponse.amount": + return x.Amount != "" + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetStakeFromDelegatorInTopicInReputerResponse")) + } + panic(fmt.Errorf("message emissions.v8.GetStakeFromDelegatorInTopicInReputerResponse does not contain field %s", fd.FullName())) + } +} + +// Clear clears the field such that a subsequent Has call reports false. +// +// Clearing an extension field clears both the extension type and value +// associated with the given field number. +// +// Clear is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetStakeFromDelegatorInTopicInReputerResponse) Clear(fd protoreflect.FieldDescriptor) { + switch fd.FullName() { + case "emissions.v8.GetStakeFromDelegatorInTopicInReputerResponse.amount": + x.Amount = "" + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetStakeFromDelegatorInTopicInReputerResponse")) + } + panic(fmt.Errorf("message emissions.v8.GetStakeFromDelegatorInTopicInReputerResponse does not contain field %s", fd.FullName())) + } +} + +// Get retrieves the value for a field. +// +// For unpopulated scalars, it returns the default value, where +// the default value of a bytes scalar is guaranteed to be a copy. +// For unpopulated composite types, it returns an empty, read-only view +// of the value; to obtain a mutable reference, use Mutable. +func (x *fastReflection_GetStakeFromDelegatorInTopicInReputerResponse) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { + switch descriptor.FullName() { + case "emissions.v8.GetStakeFromDelegatorInTopicInReputerResponse.amount": + value := x.Amount + return protoreflect.ValueOfString(value) + default: + if descriptor.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetStakeFromDelegatorInTopicInReputerResponse")) + } + panic(fmt.Errorf("message emissions.v8.GetStakeFromDelegatorInTopicInReputerResponse does not contain field %s", descriptor.FullName())) + } +} + +// Set stores the value for a field. +// +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType. +// When setting a composite type, it is unspecified whether the stored value +// aliases the source's memory in any way. If the composite value is an +// empty, read-only value, then it panics. +// +// Set is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetStakeFromDelegatorInTopicInReputerResponse) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { + switch fd.FullName() { + case "emissions.v8.GetStakeFromDelegatorInTopicInReputerResponse.amount": + x.Amount = value.Interface().(string) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetStakeFromDelegatorInTopicInReputerResponse")) + } + panic(fmt.Errorf("message emissions.v8.GetStakeFromDelegatorInTopicInReputerResponse does not contain field %s", fd.FullName())) + } +} + +// Mutable returns a mutable reference to a composite type. +// +// If the field is unpopulated, it may allocate a composite value. +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType +// if not already stored. +// It panics if the field does not contain a composite type. +// +// Mutable is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetStakeFromDelegatorInTopicInReputerResponse) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.GetStakeFromDelegatorInTopicInReputerResponse.amount": + panic(fmt.Errorf("field amount of message emissions.v8.GetStakeFromDelegatorInTopicInReputerResponse is not mutable")) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetStakeFromDelegatorInTopicInReputerResponse")) + } + panic(fmt.Errorf("message emissions.v8.GetStakeFromDelegatorInTopicInReputerResponse does not contain field %s", fd.FullName())) + } +} + +// NewField returns a new value that is assignable to the field +// for the given descriptor. For scalars, this returns the default value. +// For lists, maps, and messages, this returns a new, empty, mutable value. +func (x *fastReflection_GetStakeFromDelegatorInTopicInReputerResponse) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.GetStakeFromDelegatorInTopicInReputerResponse.amount": + return protoreflect.ValueOfString("") + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetStakeFromDelegatorInTopicInReputerResponse")) + } + panic(fmt.Errorf("message emissions.v8.GetStakeFromDelegatorInTopicInReputerResponse does not contain field %s", fd.FullName())) + } +} + +// WhichOneof reports which field within the oneof is populated, +// returning nil if none are populated. +// It panics if the oneof descriptor does not belong to this message. +func (x *fastReflection_GetStakeFromDelegatorInTopicInReputerResponse) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { + switch d.FullName() { + default: + panic(fmt.Errorf("%s is not a oneof field in emissions.v8.GetStakeFromDelegatorInTopicInReputerResponse", d.FullName())) + } + panic("unreachable") +} + +// GetUnknown retrieves the entire list of unknown fields. +// The caller may only mutate the contents of the RawFields +// if the mutated bytes are stored back into the message with SetUnknown. +func (x *fastReflection_GetStakeFromDelegatorInTopicInReputerResponse) GetUnknown() protoreflect.RawFields { + return x.unknownFields +} + +// SetUnknown stores an entire list of unknown fields. +// The raw fields must be syntactically valid according to the wire format. +// An implementation may panic if this is not the case. +// Once stored, the caller must not mutate the content of the RawFields. +// An empty RawFields may be passed to clear the fields. +// +// SetUnknown is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetStakeFromDelegatorInTopicInReputerResponse) SetUnknown(fields protoreflect.RawFields) { + x.unknownFields = fields +} + +// IsValid reports whether the message is valid. +// +// An invalid message is an empty, read-only value. +// +// An invalid message often corresponds to a nil pointer of the concrete +// message type, but the details are implementation dependent. +// Validity is not part of the protobuf data model, and may not +// be preserved in marshaling or other operations. +func (x *fastReflection_GetStakeFromDelegatorInTopicInReputerResponse) IsValid() bool { + return x != nil +} + +// ProtoMethods returns optional fastReflectionFeature-path implementations of various operations. +// This method may return nil. +// +// The returned methods type is identical to +// "google.golang.org/protobuf/runtime/protoiface".Methods. +// Consult the protoiface package documentation for details. +func (x *fastReflection_GetStakeFromDelegatorInTopicInReputerResponse) ProtoMethods() *protoiface.Methods { + size := func(input protoiface.SizeInput) protoiface.SizeOutput { + x := input.Message.Interface().(*GetStakeFromDelegatorInTopicInReputerResponse) + if x == nil { + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: 0, + } + } + options := runtime.SizeInputToOptions(input) + _ = options + var n int + var l int + _ = l + l = len(x.Amount) + if l > 0 { + n += 1 + l + runtime.Sov(uint64(l)) + } + if x.unknownFields != nil { + n += len(x.unknownFields) + } + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: n, + } + } + + marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { + x := input.Message.Interface().(*GetStakeFromDelegatorInTopicInReputerResponse) + if x == nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + options := runtime.MarshalInputToOptions(input) + _ = options + size := options.Size(x) + dAtA := make([]byte, size) + i := len(dAtA) + _ = i + var l int + _ = l + if x.unknownFields != nil { + i -= len(x.unknownFields) + copy(dAtA[i:], x.unknownFields) + } + if len(x.Amount) > 0 { + i -= len(x.Amount) + copy(dAtA[i:], x.Amount) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.Amount))) + i-- + dAtA[i] = 0xa + } + if input.Buf != nil { + input.Buf = append(input.Buf, dAtA...) + } else { + input.Buf = dAtA + } + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { + x := input.Message.Interface().(*GetStakeFromDelegatorInTopicInReputerResponse) + if x == nil { + return protoiface.UnmarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Flags: input.Flags, + }, nil + } + options := runtime.UnmarshalInputToOptions(input) + _ = options + dAtA := input.Buf + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: GetStakeFromDelegatorInTopicInReputerResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: GetStakeFromDelegatorInTopicInReputerResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Amount", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + x.Amount = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := runtime.Skip(dAtA[iNdEx:]) + if err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if (iNdEx + skippy) > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + if !options.DiscardUnknown { + x.unknownFields = append(x.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + } + iNdEx += skippy + } + } + + if iNdEx > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, nil + } + return &protoiface.Methods{ + NoUnkeyedLiterals: struct{}{}, + Flags: protoiface.SupportMarshalDeterministic | protoiface.SupportUnmarshalDiscardUnknown, + Size: size, + Marshal: marshal, + Unmarshal: unmarshal, + Merge: nil, + CheckInitialized: nil, + } +} + +var ( + md_GetStakeFromDelegatorInTopicRequest protoreflect.MessageDescriptor + fd_GetStakeFromDelegatorInTopicRequest_delegator_address protoreflect.FieldDescriptor + fd_GetStakeFromDelegatorInTopicRequest_topic_id protoreflect.FieldDescriptor +) + +func init() { + file_emissions_v8_query_proto_init() + md_GetStakeFromDelegatorInTopicRequest = File_emissions_v8_query_proto.Messages().ByName("GetStakeFromDelegatorInTopicRequest") + fd_GetStakeFromDelegatorInTopicRequest_delegator_address = md_GetStakeFromDelegatorInTopicRequest.Fields().ByName("delegator_address") + fd_GetStakeFromDelegatorInTopicRequest_topic_id = md_GetStakeFromDelegatorInTopicRequest.Fields().ByName("topic_id") +} + +var _ protoreflect.Message = (*fastReflection_GetStakeFromDelegatorInTopicRequest)(nil) + +type fastReflection_GetStakeFromDelegatorInTopicRequest GetStakeFromDelegatorInTopicRequest + +func (x *GetStakeFromDelegatorInTopicRequest) ProtoReflect() protoreflect.Message { + return (*fastReflection_GetStakeFromDelegatorInTopicRequest)(x) +} + +func (x *GetStakeFromDelegatorInTopicRequest) slowProtoReflect() protoreflect.Message { + mi := &file_emissions_v8_query_proto_msgTypes[62] + 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) +} + +var _fastReflection_GetStakeFromDelegatorInTopicRequest_messageType fastReflection_GetStakeFromDelegatorInTopicRequest_messageType +var _ protoreflect.MessageType = fastReflection_GetStakeFromDelegatorInTopicRequest_messageType{} + +type fastReflection_GetStakeFromDelegatorInTopicRequest_messageType struct{} + +func (x fastReflection_GetStakeFromDelegatorInTopicRequest_messageType) Zero() protoreflect.Message { + return (*fastReflection_GetStakeFromDelegatorInTopicRequest)(nil) +} +func (x fastReflection_GetStakeFromDelegatorInTopicRequest_messageType) New() protoreflect.Message { + return new(fastReflection_GetStakeFromDelegatorInTopicRequest) +} +func (x fastReflection_GetStakeFromDelegatorInTopicRequest_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_GetStakeFromDelegatorInTopicRequest +} + +// Descriptor returns message descriptor, which contains only the protobuf +// type information for the message. +func (x *fastReflection_GetStakeFromDelegatorInTopicRequest) Descriptor() protoreflect.MessageDescriptor { + return md_GetStakeFromDelegatorInTopicRequest +} + +// Type returns the message type, which encapsulates both Go and protobuf +// type information. If the Go type information is not needed, +// it is recommended that the message descriptor be used instead. +func (x *fastReflection_GetStakeFromDelegatorInTopicRequest) Type() protoreflect.MessageType { + return _fastReflection_GetStakeFromDelegatorInTopicRequest_messageType +} + +// New returns a newly allocated and mutable empty message. +func (x *fastReflection_GetStakeFromDelegatorInTopicRequest) New() protoreflect.Message { + return new(fastReflection_GetStakeFromDelegatorInTopicRequest) +} + +// Interface unwraps the message reflection interface and +// returns the underlying ProtoMessage interface. +func (x *fastReflection_GetStakeFromDelegatorInTopicRequest) Interface() protoreflect.ProtoMessage { + return (*GetStakeFromDelegatorInTopicRequest)(x) +} + +// Range iterates over every populated field in an undefined order, +// calling f for each field descriptor and value encountered. +// Range returns immediately if f returns false. +// While iterating, mutating operations may only be performed +// on the current field descriptor. +func (x *fastReflection_GetStakeFromDelegatorInTopicRequest) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { + if x.DelegatorAddress != "" { + value := protoreflect.ValueOfString(x.DelegatorAddress) + if !f(fd_GetStakeFromDelegatorInTopicRequest_delegator_address, value) { + return + } + } + if x.TopicId != uint64(0) { + value := protoreflect.ValueOfUint64(x.TopicId) + if !f(fd_GetStakeFromDelegatorInTopicRequest_topic_id, value) { + return + } + } +} + +// Has reports whether a field is populated. +// +// Some fields have the property of nullability where it is possible to +// distinguish between the default value of a field and whether the field +// was explicitly populated with the default value. Singular message fields, +// member fields of a oneof, and proto2 scalar fields are nullable. Such +// fields are populated only if explicitly set. +// +// In other cases (aside from the nullable cases above), +// a proto3 scalar field is populated if it contains a non-zero value, and +// a repeated field is populated if it is non-empty. +func (x *fastReflection_GetStakeFromDelegatorInTopicRequest) Has(fd protoreflect.FieldDescriptor) bool { + switch fd.FullName() { + case "emissions.v8.GetStakeFromDelegatorInTopicRequest.delegator_address": + return x.DelegatorAddress != "" + case "emissions.v8.GetStakeFromDelegatorInTopicRequest.topic_id": + return x.TopicId != uint64(0) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetStakeFromDelegatorInTopicRequest")) + } + panic(fmt.Errorf("message emissions.v8.GetStakeFromDelegatorInTopicRequest does not contain field %s", fd.FullName())) + } +} + +// Clear clears the field such that a subsequent Has call reports false. +// +// Clearing an extension field clears both the extension type and value +// associated with the given field number. +// +// Clear is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetStakeFromDelegatorInTopicRequest) Clear(fd protoreflect.FieldDescriptor) { + switch fd.FullName() { + case "emissions.v8.GetStakeFromDelegatorInTopicRequest.delegator_address": + x.DelegatorAddress = "" + case "emissions.v8.GetStakeFromDelegatorInTopicRequest.topic_id": + x.TopicId = uint64(0) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetStakeFromDelegatorInTopicRequest")) + } + panic(fmt.Errorf("message emissions.v8.GetStakeFromDelegatorInTopicRequest does not contain field %s", fd.FullName())) + } +} + +// Get retrieves the value for a field. +// +// For unpopulated scalars, it returns the default value, where +// the default value of a bytes scalar is guaranteed to be a copy. +// For unpopulated composite types, it returns an empty, read-only view +// of the value; to obtain a mutable reference, use Mutable. +func (x *fastReflection_GetStakeFromDelegatorInTopicRequest) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { + switch descriptor.FullName() { + case "emissions.v8.GetStakeFromDelegatorInTopicRequest.delegator_address": + value := x.DelegatorAddress + return protoreflect.ValueOfString(value) + case "emissions.v8.GetStakeFromDelegatorInTopicRequest.topic_id": + value := x.TopicId + return protoreflect.ValueOfUint64(value) + default: + if descriptor.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetStakeFromDelegatorInTopicRequest")) + } + panic(fmt.Errorf("message emissions.v8.GetStakeFromDelegatorInTopicRequest does not contain field %s", descriptor.FullName())) + } +} + +// Set stores the value for a field. +// +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType. +// When setting a composite type, it is unspecified whether the stored value +// aliases the source's memory in any way. If the composite value is an +// empty, read-only value, then it panics. +// +// Set is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetStakeFromDelegatorInTopicRequest) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { + switch fd.FullName() { + case "emissions.v8.GetStakeFromDelegatorInTopicRequest.delegator_address": + x.DelegatorAddress = value.Interface().(string) + case "emissions.v8.GetStakeFromDelegatorInTopicRequest.topic_id": + x.TopicId = value.Uint() + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetStakeFromDelegatorInTopicRequest")) + } + panic(fmt.Errorf("message emissions.v8.GetStakeFromDelegatorInTopicRequest does not contain field %s", fd.FullName())) + } +} + +// Mutable returns a mutable reference to a composite type. +// +// If the field is unpopulated, it may allocate a composite value. +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType +// if not already stored. +// It panics if the field does not contain a composite type. +// +// Mutable is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetStakeFromDelegatorInTopicRequest) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.GetStakeFromDelegatorInTopicRequest.delegator_address": + panic(fmt.Errorf("field delegator_address of message emissions.v8.GetStakeFromDelegatorInTopicRequest is not mutable")) + case "emissions.v8.GetStakeFromDelegatorInTopicRequest.topic_id": + panic(fmt.Errorf("field topic_id of message emissions.v8.GetStakeFromDelegatorInTopicRequest is not mutable")) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetStakeFromDelegatorInTopicRequest")) + } + panic(fmt.Errorf("message emissions.v8.GetStakeFromDelegatorInTopicRequest does not contain field %s", fd.FullName())) + } +} + +// NewField returns a new value that is assignable to the field +// for the given descriptor. For scalars, this returns the default value. +// For lists, maps, and messages, this returns a new, empty, mutable value. +func (x *fastReflection_GetStakeFromDelegatorInTopicRequest) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.GetStakeFromDelegatorInTopicRequest.delegator_address": + return protoreflect.ValueOfString("") + case "emissions.v8.GetStakeFromDelegatorInTopicRequest.topic_id": + return protoreflect.ValueOfUint64(uint64(0)) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetStakeFromDelegatorInTopicRequest")) + } + panic(fmt.Errorf("message emissions.v8.GetStakeFromDelegatorInTopicRequest does not contain field %s", fd.FullName())) + } +} + +// WhichOneof reports which field within the oneof is populated, +// returning nil if none are populated. +// It panics if the oneof descriptor does not belong to this message. +func (x *fastReflection_GetStakeFromDelegatorInTopicRequest) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { + switch d.FullName() { + default: + panic(fmt.Errorf("%s is not a oneof field in emissions.v8.GetStakeFromDelegatorInTopicRequest", d.FullName())) + } + panic("unreachable") +} + +// GetUnknown retrieves the entire list of unknown fields. +// The caller may only mutate the contents of the RawFields +// if the mutated bytes are stored back into the message with SetUnknown. +func (x *fastReflection_GetStakeFromDelegatorInTopicRequest) GetUnknown() protoreflect.RawFields { + return x.unknownFields +} + +// SetUnknown stores an entire list of unknown fields. +// The raw fields must be syntactically valid according to the wire format. +// An implementation may panic if this is not the case. +// Once stored, the caller must not mutate the content of the RawFields. +// An empty RawFields may be passed to clear the fields. +// +// SetUnknown is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetStakeFromDelegatorInTopicRequest) SetUnknown(fields protoreflect.RawFields) { + x.unknownFields = fields +} + +// IsValid reports whether the message is valid. +// +// An invalid message is an empty, read-only value. +// +// An invalid message often corresponds to a nil pointer of the concrete +// message type, but the details are implementation dependent. +// Validity is not part of the protobuf data model, and may not +// be preserved in marshaling or other operations. +func (x *fastReflection_GetStakeFromDelegatorInTopicRequest) IsValid() bool { + return x != nil +} + +// ProtoMethods returns optional fastReflectionFeature-path implementations of various operations. +// This method may return nil. +// +// The returned methods type is identical to +// "google.golang.org/protobuf/runtime/protoiface".Methods. +// Consult the protoiface package documentation for details. +func (x *fastReflection_GetStakeFromDelegatorInTopicRequest) ProtoMethods() *protoiface.Methods { + size := func(input protoiface.SizeInput) protoiface.SizeOutput { + x := input.Message.Interface().(*GetStakeFromDelegatorInTopicRequest) + if x == nil { + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: 0, + } + } + options := runtime.SizeInputToOptions(input) + _ = options + var n int + var l int + _ = l + l = len(x.DelegatorAddress) + if l > 0 { + n += 1 + l + runtime.Sov(uint64(l)) + } + if x.TopicId != 0 { + n += 1 + runtime.Sov(uint64(x.TopicId)) + } + if x.unknownFields != nil { + n += len(x.unknownFields) + } + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: n, + } + } + + marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { + x := input.Message.Interface().(*GetStakeFromDelegatorInTopicRequest) + if x == nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + options := runtime.MarshalInputToOptions(input) + _ = options + size := options.Size(x) + dAtA := make([]byte, size) + i := len(dAtA) + _ = i + var l int + _ = l + if x.unknownFields != nil { + i -= len(x.unknownFields) + copy(dAtA[i:], x.unknownFields) + } + if x.TopicId != 0 { + i = runtime.EncodeVarint(dAtA, i, uint64(x.TopicId)) + i-- + dAtA[i] = 0x10 + } + if len(x.DelegatorAddress) > 0 { + i -= len(x.DelegatorAddress) + copy(dAtA[i:], x.DelegatorAddress) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.DelegatorAddress))) + i-- + dAtA[i] = 0xa + } + if input.Buf != nil { + input.Buf = append(input.Buf, dAtA...) + } else { + input.Buf = dAtA + } + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { + x := input.Message.Interface().(*GetStakeFromDelegatorInTopicRequest) + if x == nil { + return protoiface.UnmarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Flags: input.Flags, + }, nil + } + options := runtime.UnmarshalInputToOptions(input) + _ = options + dAtA := input.Buf + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: GetStakeFromDelegatorInTopicRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: GetStakeFromDelegatorInTopicRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field DelegatorAddress", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + x.DelegatorAddress = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field TopicId", wireType) + } + x.TopicId = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + x.TopicId |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + default: + iNdEx = preIndex + skippy, err := runtime.Skip(dAtA[iNdEx:]) + if err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if (iNdEx + skippy) > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + if !options.DiscardUnknown { + x.unknownFields = append(x.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + } + iNdEx += skippy + } + } + + if iNdEx > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, nil + } + return &protoiface.Methods{ + NoUnkeyedLiterals: struct{}{}, + Flags: protoiface.SupportMarshalDeterministic | protoiface.SupportUnmarshalDiscardUnknown, + Size: size, + Marshal: marshal, + Unmarshal: unmarshal, + Merge: nil, + CheckInitialized: nil, + } +} + +var ( + md_GetStakeFromDelegatorInTopicResponse protoreflect.MessageDescriptor + fd_GetStakeFromDelegatorInTopicResponse_amount protoreflect.FieldDescriptor +) + +func init() { + file_emissions_v8_query_proto_init() + md_GetStakeFromDelegatorInTopicResponse = File_emissions_v8_query_proto.Messages().ByName("GetStakeFromDelegatorInTopicResponse") + fd_GetStakeFromDelegatorInTopicResponse_amount = md_GetStakeFromDelegatorInTopicResponse.Fields().ByName("amount") +} + +var _ protoreflect.Message = (*fastReflection_GetStakeFromDelegatorInTopicResponse)(nil) + +type fastReflection_GetStakeFromDelegatorInTopicResponse GetStakeFromDelegatorInTopicResponse + +func (x *GetStakeFromDelegatorInTopicResponse) ProtoReflect() protoreflect.Message { + return (*fastReflection_GetStakeFromDelegatorInTopicResponse)(x) +} + +func (x *GetStakeFromDelegatorInTopicResponse) slowProtoReflect() protoreflect.Message { + mi := &file_emissions_v8_query_proto_msgTypes[63] + 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) +} + +var _fastReflection_GetStakeFromDelegatorInTopicResponse_messageType fastReflection_GetStakeFromDelegatorInTopicResponse_messageType +var _ protoreflect.MessageType = fastReflection_GetStakeFromDelegatorInTopicResponse_messageType{} + +type fastReflection_GetStakeFromDelegatorInTopicResponse_messageType struct{} + +func (x fastReflection_GetStakeFromDelegatorInTopicResponse_messageType) Zero() protoreflect.Message { + return (*fastReflection_GetStakeFromDelegatorInTopicResponse)(nil) +} +func (x fastReflection_GetStakeFromDelegatorInTopicResponse_messageType) New() protoreflect.Message { + return new(fastReflection_GetStakeFromDelegatorInTopicResponse) +} +func (x fastReflection_GetStakeFromDelegatorInTopicResponse_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_GetStakeFromDelegatorInTopicResponse +} + +// Descriptor returns message descriptor, which contains only the protobuf +// type information for the message. +func (x *fastReflection_GetStakeFromDelegatorInTopicResponse) Descriptor() protoreflect.MessageDescriptor { + return md_GetStakeFromDelegatorInTopicResponse +} + +// Type returns the message type, which encapsulates both Go and protobuf +// type information. If the Go type information is not needed, +// it is recommended that the message descriptor be used instead. +func (x *fastReflection_GetStakeFromDelegatorInTopicResponse) Type() protoreflect.MessageType { + return _fastReflection_GetStakeFromDelegatorInTopicResponse_messageType +} + +// New returns a newly allocated and mutable empty message. +func (x *fastReflection_GetStakeFromDelegatorInTopicResponse) New() protoreflect.Message { + return new(fastReflection_GetStakeFromDelegatorInTopicResponse) +} + +// Interface unwraps the message reflection interface and +// returns the underlying ProtoMessage interface. +func (x *fastReflection_GetStakeFromDelegatorInTopicResponse) Interface() protoreflect.ProtoMessage { + return (*GetStakeFromDelegatorInTopicResponse)(x) +} + +// Range iterates over every populated field in an undefined order, +// calling f for each field descriptor and value encountered. +// Range returns immediately if f returns false. +// While iterating, mutating operations may only be performed +// on the current field descriptor. +func (x *fastReflection_GetStakeFromDelegatorInTopicResponse) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { + if x.Amount != "" { + value := protoreflect.ValueOfString(x.Amount) + if !f(fd_GetStakeFromDelegatorInTopicResponse_amount, value) { + return + } + } +} + +// Has reports whether a field is populated. +// +// Some fields have the property of nullability where it is possible to +// distinguish between the default value of a field and whether the field +// was explicitly populated with the default value. Singular message fields, +// member fields of a oneof, and proto2 scalar fields are nullable. Such +// fields are populated only if explicitly set. +// +// In other cases (aside from the nullable cases above), +// a proto3 scalar field is populated if it contains a non-zero value, and +// a repeated field is populated if it is non-empty. +func (x *fastReflection_GetStakeFromDelegatorInTopicResponse) Has(fd protoreflect.FieldDescriptor) bool { + switch fd.FullName() { + case "emissions.v8.GetStakeFromDelegatorInTopicResponse.amount": + return x.Amount != "" + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetStakeFromDelegatorInTopicResponse")) + } + panic(fmt.Errorf("message emissions.v8.GetStakeFromDelegatorInTopicResponse does not contain field %s", fd.FullName())) + } +} + +// Clear clears the field such that a subsequent Has call reports false. +// +// Clearing an extension field clears both the extension type and value +// associated with the given field number. +// +// Clear is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetStakeFromDelegatorInTopicResponse) Clear(fd protoreflect.FieldDescriptor) { + switch fd.FullName() { + case "emissions.v8.GetStakeFromDelegatorInTopicResponse.amount": + x.Amount = "" + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetStakeFromDelegatorInTopicResponse")) + } + panic(fmt.Errorf("message emissions.v8.GetStakeFromDelegatorInTopicResponse does not contain field %s", fd.FullName())) + } +} + +// Get retrieves the value for a field. +// +// For unpopulated scalars, it returns the default value, where +// the default value of a bytes scalar is guaranteed to be a copy. +// For unpopulated composite types, it returns an empty, read-only view +// of the value; to obtain a mutable reference, use Mutable. +func (x *fastReflection_GetStakeFromDelegatorInTopicResponse) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { + switch descriptor.FullName() { + case "emissions.v8.GetStakeFromDelegatorInTopicResponse.amount": + value := x.Amount + return protoreflect.ValueOfString(value) + default: + if descriptor.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetStakeFromDelegatorInTopicResponse")) + } + panic(fmt.Errorf("message emissions.v8.GetStakeFromDelegatorInTopicResponse does not contain field %s", descriptor.FullName())) + } +} + +// Set stores the value for a field. +// +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType. +// When setting a composite type, it is unspecified whether the stored value +// aliases the source's memory in any way. If the composite value is an +// empty, read-only value, then it panics. +// +// Set is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetStakeFromDelegatorInTopicResponse) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { + switch fd.FullName() { + case "emissions.v8.GetStakeFromDelegatorInTopicResponse.amount": + x.Amount = value.Interface().(string) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetStakeFromDelegatorInTopicResponse")) + } + panic(fmt.Errorf("message emissions.v8.GetStakeFromDelegatorInTopicResponse does not contain field %s", fd.FullName())) + } +} + +// Mutable returns a mutable reference to a composite type. +// +// If the field is unpopulated, it may allocate a composite value. +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType +// if not already stored. +// It panics if the field does not contain a composite type. +// +// Mutable is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetStakeFromDelegatorInTopicResponse) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.GetStakeFromDelegatorInTopicResponse.amount": + panic(fmt.Errorf("field amount of message emissions.v8.GetStakeFromDelegatorInTopicResponse is not mutable")) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetStakeFromDelegatorInTopicResponse")) + } + panic(fmt.Errorf("message emissions.v8.GetStakeFromDelegatorInTopicResponse does not contain field %s", fd.FullName())) + } +} + +// NewField returns a new value that is assignable to the field +// for the given descriptor. For scalars, this returns the default value. +// For lists, maps, and messages, this returns a new, empty, mutable value. +func (x *fastReflection_GetStakeFromDelegatorInTopicResponse) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.GetStakeFromDelegatorInTopicResponse.amount": + return protoreflect.ValueOfString("") + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetStakeFromDelegatorInTopicResponse")) + } + panic(fmt.Errorf("message emissions.v8.GetStakeFromDelegatorInTopicResponse does not contain field %s", fd.FullName())) + } +} + +// WhichOneof reports which field within the oneof is populated, +// returning nil if none are populated. +// It panics if the oneof descriptor does not belong to this message. +func (x *fastReflection_GetStakeFromDelegatorInTopicResponse) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { + switch d.FullName() { + default: + panic(fmt.Errorf("%s is not a oneof field in emissions.v8.GetStakeFromDelegatorInTopicResponse", d.FullName())) + } + panic("unreachable") +} + +// GetUnknown retrieves the entire list of unknown fields. +// The caller may only mutate the contents of the RawFields +// if the mutated bytes are stored back into the message with SetUnknown. +func (x *fastReflection_GetStakeFromDelegatorInTopicResponse) GetUnknown() protoreflect.RawFields { + return x.unknownFields +} + +// SetUnknown stores an entire list of unknown fields. +// The raw fields must be syntactically valid according to the wire format. +// An implementation may panic if this is not the case. +// Once stored, the caller must not mutate the content of the RawFields. +// An empty RawFields may be passed to clear the fields. +// +// SetUnknown is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetStakeFromDelegatorInTopicResponse) SetUnknown(fields protoreflect.RawFields) { + x.unknownFields = fields +} + +// IsValid reports whether the message is valid. +// +// An invalid message is an empty, read-only value. +// +// An invalid message often corresponds to a nil pointer of the concrete +// message type, but the details are implementation dependent. +// Validity is not part of the protobuf data model, and may not +// be preserved in marshaling or other operations. +func (x *fastReflection_GetStakeFromDelegatorInTopicResponse) IsValid() bool { + return x != nil +} + +// ProtoMethods returns optional fastReflectionFeature-path implementations of various operations. +// This method may return nil. +// +// The returned methods type is identical to +// "google.golang.org/protobuf/runtime/protoiface".Methods. +// Consult the protoiface package documentation for details. +func (x *fastReflection_GetStakeFromDelegatorInTopicResponse) ProtoMethods() *protoiface.Methods { + size := func(input protoiface.SizeInput) protoiface.SizeOutput { + x := input.Message.Interface().(*GetStakeFromDelegatorInTopicResponse) + if x == nil { + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: 0, + } + } + options := runtime.SizeInputToOptions(input) + _ = options + var n int + var l int + _ = l + l = len(x.Amount) + if l > 0 { + n += 1 + l + runtime.Sov(uint64(l)) + } + if x.unknownFields != nil { + n += len(x.unknownFields) + } + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: n, + } + } + + marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { + x := input.Message.Interface().(*GetStakeFromDelegatorInTopicResponse) + if x == nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + options := runtime.MarshalInputToOptions(input) + _ = options + size := options.Size(x) + dAtA := make([]byte, size) + i := len(dAtA) + _ = i + var l int + _ = l + if x.unknownFields != nil { + i -= len(x.unknownFields) + copy(dAtA[i:], x.unknownFields) + } + if len(x.Amount) > 0 { + i -= len(x.Amount) + copy(dAtA[i:], x.Amount) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.Amount))) + i-- + dAtA[i] = 0xa + } + if input.Buf != nil { + input.Buf = append(input.Buf, dAtA...) + } else { + input.Buf = dAtA + } + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { + x := input.Message.Interface().(*GetStakeFromDelegatorInTopicResponse) + if x == nil { + return protoiface.UnmarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Flags: input.Flags, + }, nil + } + options := runtime.UnmarshalInputToOptions(input) + _ = options + dAtA := input.Buf + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: GetStakeFromDelegatorInTopicResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: GetStakeFromDelegatorInTopicResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Amount", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + x.Amount = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := runtime.Skip(dAtA[iNdEx:]) + if err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if (iNdEx + skippy) > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + if !options.DiscardUnknown { + x.unknownFields = append(x.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + } + iNdEx += skippy + } + } + + if iNdEx > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, nil + } + return &protoiface.Methods{ + NoUnkeyedLiterals: struct{}{}, + Flags: protoiface.SupportMarshalDeterministic | protoiface.SupportUnmarshalDiscardUnknown, + Size: size, + Marshal: marshal, + Unmarshal: unmarshal, + Merge: nil, + CheckInitialized: nil, + } +} + +var ( + md_GetTopicStakeRequest protoreflect.MessageDescriptor + fd_GetTopicStakeRequest_topic_id protoreflect.FieldDescriptor +) + +func init() { + file_emissions_v8_query_proto_init() + md_GetTopicStakeRequest = File_emissions_v8_query_proto.Messages().ByName("GetTopicStakeRequest") + fd_GetTopicStakeRequest_topic_id = md_GetTopicStakeRequest.Fields().ByName("topic_id") +} + +var _ protoreflect.Message = (*fastReflection_GetTopicStakeRequest)(nil) + +type fastReflection_GetTopicStakeRequest GetTopicStakeRequest + +func (x *GetTopicStakeRequest) ProtoReflect() protoreflect.Message { + return (*fastReflection_GetTopicStakeRequest)(x) +} + +func (x *GetTopicStakeRequest) slowProtoReflect() protoreflect.Message { + mi := &file_emissions_v8_query_proto_msgTypes[64] + 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) +} + +var _fastReflection_GetTopicStakeRequest_messageType fastReflection_GetTopicStakeRequest_messageType +var _ protoreflect.MessageType = fastReflection_GetTopicStakeRequest_messageType{} + +type fastReflection_GetTopicStakeRequest_messageType struct{} + +func (x fastReflection_GetTopicStakeRequest_messageType) Zero() protoreflect.Message { + return (*fastReflection_GetTopicStakeRequest)(nil) +} +func (x fastReflection_GetTopicStakeRequest_messageType) New() protoreflect.Message { + return new(fastReflection_GetTopicStakeRequest) +} +func (x fastReflection_GetTopicStakeRequest_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_GetTopicStakeRequest +} + +// Descriptor returns message descriptor, which contains only the protobuf +// type information for the message. +func (x *fastReflection_GetTopicStakeRequest) Descriptor() protoreflect.MessageDescriptor { + return md_GetTopicStakeRequest +} + +// Type returns the message type, which encapsulates both Go and protobuf +// type information. If the Go type information is not needed, +// it is recommended that the message descriptor be used instead. +func (x *fastReflection_GetTopicStakeRequest) Type() protoreflect.MessageType { + return _fastReflection_GetTopicStakeRequest_messageType +} + +// New returns a newly allocated and mutable empty message. +func (x *fastReflection_GetTopicStakeRequest) New() protoreflect.Message { + return new(fastReflection_GetTopicStakeRequest) +} + +// Interface unwraps the message reflection interface and +// returns the underlying ProtoMessage interface. +func (x *fastReflection_GetTopicStakeRequest) Interface() protoreflect.ProtoMessage { + return (*GetTopicStakeRequest)(x) +} + +// Range iterates over every populated field in an undefined order, +// calling f for each field descriptor and value encountered. +// Range returns immediately if f returns false. +// While iterating, mutating operations may only be performed +// on the current field descriptor. +func (x *fastReflection_GetTopicStakeRequest) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { + if x.TopicId != uint64(0) { + value := protoreflect.ValueOfUint64(x.TopicId) + if !f(fd_GetTopicStakeRequest_topic_id, value) { + return + } + } +} + +// Has reports whether a field is populated. +// +// Some fields have the property of nullability where it is possible to +// distinguish between the default value of a field and whether the field +// was explicitly populated with the default value. Singular message fields, +// member fields of a oneof, and proto2 scalar fields are nullable. Such +// fields are populated only if explicitly set. +// +// In other cases (aside from the nullable cases above), +// a proto3 scalar field is populated if it contains a non-zero value, and +// a repeated field is populated if it is non-empty. +func (x *fastReflection_GetTopicStakeRequest) Has(fd protoreflect.FieldDescriptor) bool { + switch fd.FullName() { + case "emissions.v8.GetTopicStakeRequest.topic_id": + return x.TopicId != uint64(0) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetTopicStakeRequest")) + } + panic(fmt.Errorf("message emissions.v8.GetTopicStakeRequest does not contain field %s", fd.FullName())) + } +} + +// Clear clears the field such that a subsequent Has call reports false. +// +// Clearing an extension field clears both the extension type and value +// associated with the given field number. +// +// Clear is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetTopicStakeRequest) Clear(fd protoreflect.FieldDescriptor) { + switch fd.FullName() { + case "emissions.v8.GetTopicStakeRequest.topic_id": + x.TopicId = uint64(0) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetTopicStakeRequest")) + } + panic(fmt.Errorf("message emissions.v8.GetTopicStakeRequest does not contain field %s", fd.FullName())) + } +} + +// Get retrieves the value for a field. +// +// For unpopulated scalars, it returns the default value, where +// the default value of a bytes scalar is guaranteed to be a copy. +// For unpopulated composite types, it returns an empty, read-only view +// of the value; to obtain a mutable reference, use Mutable. +func (x *fastReflection_GetTopicStakeRequest) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { + switch descriptor.FullName() { + case "emissions.v8.GetTopicStakeRequest.topic_id": + value := x.TopicId + return protoreflect.ValueOfUint64(value) + default: + if descriptor.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetTopicStakeRequest")) + } + panic(fmt.Errorf("message emissions.v8.GetTopicStakeRequest does not contain field %s", descriptor.FullName())) + } +} + +// Set stores the value for a field. +// +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType. +// When setting a composite type, it is unspecified whether the stored value +// aliases the source's memory in any way. If the composite value is an +// empty, read-only value, then it panics. +// +// Set is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetTopicStakeRequest) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { + switch fd.FullName() { + case "emissions.v8.GetTopicStakeRequest.topic_id": + x.TopicId = value.Uint() + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetTopicStakeRequest")) + } + panic(fmt.Errorf("message emissions.v8.GetTopicStakeRequest does not contain field %s", fd.FullName())) + } +} + +// Mutable returns a mutable reference to a composite type. +// +// If the field is unpopulated, it may allocate a composite value. +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType +// if not already stored. +// It panics if the field does not contain a composite type. +// +// Mutable is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetTopicStakeRequest) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.GetTopicStakeRequest.topic_id": + panic(fmt.Errorf("field topic_id of message emissions.v8.GetTopicStakeRequest is not mutable")) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetTopicStakeRequest")) + } + panic(fmt.Errorf("message emissions.v8.GetTopicStakeRequest does not contain field %s", fd.FullName())) + } +} + +// NewField returns a new value that is assignable to the field +// for the given descriptor. For scalars, this returns the default value. +// For lists, maps, and messages, this returns a new, empty, mutable value. +func (x *fastReflection_GetTopicStakeRequest) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.GetTopicStakeRequest.topic_id": + return protoreflect.ValueOfUint64(uint64(0)) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetTopicStakeRequest")) + } + panic(fmt.Errorf("message emissions.v8.GetTopicStakeRequest does not contain field %s", fd.FullName())) + } +} + +// WhichOneof reports which field within the oneof is populated, +// returning nil if none are populated. +// It panics if the oneof descriptor does not belong to this message. +func (x *fastReflection_GetTopicStakeRequest) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { + switch d.FullName() { + default: + panic(fmt.Errorf("%s is not a oneof field in emissions.v8.GetTopicStakeRequest", d.FullName())) + } + panic("unreachable") +} + +// GetUnknown retrieves the entire list of unknown fields. +// The caller may only mutate the contents of the RawFields +// if the mutated bytes are stored back into the message with SetUnknown. +func (x *fastReflection_GetTopicStakeRequest) GetUnknown() protoreflect.RawFields { + return x.unknownFields +} + +// SetUnknown stores an entire list of unknown fields. +// The raw fields must be syntactically valid according to the wire format. +// An implementation may panic if this is not the case. +// Once stored, the caller must not mutate the content of the RawFields. +// An empty RawFields may be passed to clear the fields. +// +// SetUnknown is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetTopicStakeRequest) SetUnknown(fields protoreflect.RawFields) { + x.unknownFields = fields +} + +// IsValid reports whether the message is valid. +// +// An invalid message is an empty, read-only value. +// +// An invalid message often corresponds to a nil pointer of the concrete +// message type, but the details are implementation dependent. +// Validity is not part of the protobuf data model, and may not +// be preserved in marshaling or other operations. +func (x *fastReflection_GetTopicStakeRequest) IsValid() bool { + return x != nil +} + +// ProtoMethods returns optional fastReflectionFeature-path implementations of various operations. +// This method may return nil. +// +// The returned methods type is identical to +// "google.golang.org/protobuf/runtime/protoiface".Methods. +// Consult the protoiface package documentation for details. +func (x *fastReflection_GetTopicStakeRequest) ProtoMethods() *protoiface.Methods { + size := func(input protoiface.SizeInput) protoiface.SizeOutput { + x := input.Message.Interface().(*GetTopicStakeRequest) + if x == nil { + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: 0, + } + } + options := runtime.SizeInputToOptions(input) + _ = options + var n int + var l int + _ = l + if x.TopicId != 0 { + n += 1 + runtime.Sov(uint64(x.TopicId)) + } + if x.unknownFields != nil { + n += len(x.unknownFields) + } + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: n, + } + } + + marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { + x := input.Message.Interface().(*GetTopicStakeRequest) + if x == nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + options := runtime.MarshalInputToOptions(input) + _ = options + size := options.Size(x) + dAtA := make([]byte, size) + i := len(dAtA) + _ = i + var l int + _ = l + if x.unknownFields != nil { + i -= len(x.unknownFields) + copy(dAtA[i:], x.unknownFields) + } + if x.TopicId != 0 { + i = runtime.EncodeVarint(dAtA, i, uint64(x.TopicId)) + i-- + dAtA[i] = 0x8 + } + if input.Buf != nil { + input.Buf = append(input.Buf, dAtA...) + } else { + input.Buf = dAtA + } + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { + x := input.Message.Interface().(*GetTopicStakeRequest) + if x == nil { + return protoiface.UnmarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Flags: input.Flags, + }, nil + } + options := runtime.UnmarshalInputToOptions(input) + _ = options + dAtA := input.Buf + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: GetTopicStakeRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: GetTopicStakeRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field TopicId", wireType) + } + x.TopicId = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + x.TopicId |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + default: + iNdEx = preIndex + skippy, err := runtime.Skip(dAtA[iNdEx:]) + if err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if (iNdEx + skippy) > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + if !options.DiscardUnknown { + x.unknownFields = append(x.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + } + iNdEx += skippy + } + } + + if iNdEx > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, nil + } + return &protoiface.Methods{ + NoUnkeyedLiterals: struct{}{}, + Flags: protoiface.SupportMarshalDeterministic | protoiface.SupportUnmarshalDiscardUnknown, + Size: size, + Marshal: marshal, + Unmarshal: unmarshal, + Merge: nil, + CheckInitialized: nil, + } +} + +var ( + md_GetTopicStakeResponse protoreflect.MessageDescriptor + fd_GetTopicStakeResponse_amount protoreflect.FieldDescriptor +) + +func init() { + file_emissions_v8_query_proto_init() + md_GetTopicStakeResponse = File_emissions_v8_query_proto.Messages().ByName("GetTopicStakeResponse") + fd_GetTopicStakeResponse_amount = md_GetTopicStakeResponse.Fields().ByName("amount") +} + +var _ protoreflect.Message = (*fastReflection_GetTopicStakeResponse)(nil) + +type fastReflection_GetTopicStakeResponse GetTopicStakeResponse + +func (x *GetTopicStakeResponse) ProtoReflect() protoreflect.Message { + return (*fastReflection_GetTopicStakeResponse)(x) +} + +func (x *GetTopicStakeResponse) slowProtoReflect() protoreflect.Message { + mi := &file_emissions_v8_query_proto_msgTypes[65] + 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) +} + +var _fastReflection_GetTopicStakeResponse_messageType fastReflection_GetTopicStakeResponse_messageType +var _ protoreflect.MessageType = fastReflection_GetTopicStakeResponse_messageType{} + +type fastReflection_GetTopicStakeResponse_messageType struct{} + +func (x fastReflection_GetTopicStakeResponse_messageType) Zero() protoreflect.Message { + return (*fastReflection_GetTopicStakeResponse)(nil) +} +func (x fastReflection_GetTopicStakeResponse_messageType) New() protoreflect.Message { + return new(fastReflection_GetTopicStakeResponse) +} +func (x fastReflection_GetTopicStakeResponse_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_GetTopicStakeResponse +} + +// Descriptor returns message descriptor, which contains only the protobuf +// type information for the message. +func (x *fastReflection_GetTopicStakeResponse) Descriptor() protoreflect.MessageDescriptor { + return md_GetTopicStakeResponse +} + +// Type returns the message type, which encapsulates both Go and protobuf +// type information. If the Go type information is not needed, +// it is recommended that the message descriptor be used instead. +func (x *fastReflection_GetTopicStakeResponse) Type() protoreflect.MessageType { + return _fastReflection_GetTopicStakeResponse_messageType +} + +// New returns a newly allocated and mutable empty message. +func (x *fastReflection_GetTopicStakeResponse) New() protoreflect.Message { + return new(fastReflection_GetTopicStakeResponse) +} + +// Interface unwraps the message reflection interface and +// returns the underlying ProtoMessage interface. +func (x *fastReflection_GetTopicStakeResponse) Interface() protoreflect.ProtoMessage { + return (*GetTopicStakeResponse)(x) +} + +// Range iterates over every populated field in an undefined order, +// calling f for each field descriptor and value encountered. +// Range returns immediately if f returns false. +// While iterating, mutating operations may only be performed +// on the current field descriptor. +func (x *fastReflection_GetTopicStakeResponse) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { + if x.Amount != "" { + value := protoreflect.ValueOfString(x.Amount) + if !f(fd_GetTopicStakeResponse_amount, value) { + return + } + } +} + +// Has reports whether a field is populated. +// +// Some fields have the property of nullability where it is possible to +// distinguish between the default value of a field and whether the field +// was explicitly populated with the default value. Singular message fields, +// member fields of a oneof, and proto2 scalar fields are nullable. Such +// fields are populated only if explicitly set. +// +// In other cases (aside from the nullable cases above), +// a proto3 scalar field is populated if it contains a non-zero value, and +// a repeated field is populated if it is non-empty. +func (x *fastReflection_GetTopicStakeResponse) Has(fd protoreflect.FieldDescriptor) bool { + switch fd.FullName() { + case "emissions.v8.GetTopicStakeResponse.amount": + return x.Amount != "" + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetTopicStakeResponse")) + } + panic(fmt.Errorf("message emissions.v8.GetTopicStakeResponse does not contain field %s", fd.FullName())) + } +} + +// Clear clears the field such that a subsequent Has call reports false. +// +// Clearing an extension field clears both the extension type and value +// associated with the given field number. +// +// Clear is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetTopicStakeResponse) Clear(fd protoreflect.FieldDescriptor) { + switch fd.FullName() { + case "emissions.v8.GetTopicStakeResponse.amount": + x.Amount = "" + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetTopicStakeResponse")) + } + panic(fmt.Errorf("message emissions.v8.GetTopicStakeResponse does not contain field %s", fd.FullName())) + } +} + +// Get retrieves the value for a field. +// +// For unpopulated scalars, it returns the default value, where +// the default value of a bytes scalar is guaranteed to be a copy. +// For unpopulated composite types, it returns an empty, read-only view +// of the value; to obtain a mutable reference, use Mutable. +func (x *fastReflection_GetTopicStakeResponse) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { + switch descriptor.FullName() { + case "emissions.v8.GetTopicStakeResponse.amount": + value := x.Amount + return protoreflect.ValueOfString(value) + default: + if descriptor.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetTopicStakeResponse")) + } + panic(fmt.Errorf("message emissions.v8.GetTopicStakeResponse does not contain field %s", descriptor.FullName())) + } +} + +// Set stores the value for a field. +// +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType. +// When setting a composite type, it is unspecified whether the stored value +// aliases the source's memory in any way. If the composite value is an +// empty, read-only value, then it panics. +// +// Set is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetTopicStakeResponse) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { + switch fd.FullName() { + case "emissions.v8.GetTopicStakeResponse.amount": + x.Amount = value.Interface().(string) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetTopicStakeResponse")) + } + panic(fmt.Errorf("message emissions.v8.GetTopicStakeResponse does not contain field %s", fd.FullName())) + } +} + +// Mutable returns a mutable reference to a composite type. +// +// If the field is unpopulated, it may allocate a composite value. +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType +// if not already stored. +// It panics if the field does not contain a composite type. +// +// Mutable is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetTopicStakeResponse) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.GetTopicStakeResponse.amount": + panic(fmt.Errorf("field amount of message emissions.v8.GetTopicStakeResponse is not mutable")) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetTopicStakeResponse")) + } + panic(fmt.Errorf("message emissions.v8.GetTopicStakeResponse does not contain field %s", fd.FullName())) + } +} + +// NewField returns a new value that is assignable to the field +// for the given descriptor. For scalars, this returns the default value. +// For lists, maps, and messages, this returns a new, empty, mutable value. +func (x *fastReflection_GetTopicStakeResponse) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.GetTopicStakeResponse.amount": + return protoreflect.ValueOfString("") + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetTopicStakeResponse")) + } + panic(fmt.Errorf("message emissions.v8.GetTopicStakeResponse does not contain field %s", fd.FullName())) + } +} + +// WhichOneof reports which field within the oneof is populated, +// returning nil if none are populated. +// It panics if the oneof descriptor does not belong to this message. +func (x *fastReflection_GetTopicStakeResponse) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { + switch d.FullName() { + default: + panic(fmt.Errorf("%s is not a oneof field in emissions.v8.GetTopicStakeResponse", d.FullName())) + } + panic("unreachable") +} + +// GetUnknown retrieves the entire list of unknown fields. +// The caller may only mutate the contents of the RawFields +// if the mutated bytes are stored back into the message with SetUnknown. +func (x *fastReflection_GetTopicStakeResponse) GetUnknown() protoreflect.RawFields { + return x.unknownFields +} + +// SetUnknown stores an entire list of unknown fields. +// The raw fields must be syntactically valid according to the wire format. +// An implementation may panic if this is not the case. +// Once stored, the caller must not mutate the content of the RawFields. +// An empty RawFields may be passed to clear the fields. +// +// SetUnknown is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetTopicStakeResponse) SetUnknown(fields protoreflect.RawFields) { + x.unknownFields = fields +} + +// IsValid reports whether the message is valid. +// +// An invalid message is an empty, read-only value. +// +// An invalid message often corresponds to a nil pointer of the concrete +// message type, but the details are implementation dependent. +// Validity is not part of the protobuf data model, and may not +// be preserved in marshaling or other operations. +func (x *fastReflection_GetTopicStakeResponse) IsValid() bool { + return x != nil +} + +// ProtoMethods returns optional fastReflectionFeature-path implementations of various operations. +// This method may return nil. +// +// The returned methods type is identical to +// "google.golang.org/protobuf/runtime/protoiface".Methods. +// Consult the protoiface package documentation for details. +func (x *fastReflection_GetTopicStakeResponse) ProtoMethods() *protoiface.Methods { + size := func(input protoiface.SizeInput) protoiface.SizeOutput { + x := input.Message.Interface().(*GetTopicStakeResponse) + if x == nil { + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: 0, + } + } + options := runtime.SizeInputToOptions(input) + _ = options + var n int + var l int + _ = l + l = len(x.Amount) + if l > 0 { + n += 1 + l + runtime.Sov(uint64(l)) + } + if x.unknownFields != nil { + n += len(x.unknownFields) + } + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: n, + } + } + + marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { + x := input.Message.Interface().(*GetTopicStakeResponse) + if x == nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + options := runtime.MarshalInputToOptions(input) + _ = options + size := options.Size(x) + dAtA := make([]byte, size) + i := len(dAtA) + _ = i + var l int + _ = l + if x.unknownFields != nil { + i -= len(x.unknownFields) + copy(dAtA[i:], x.unknownFields) + } + if len(x.Amount) > 0 { + i -= len(x.Amount) + copy(dAtA[i:], x.Amount) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.Amount))) + i-- + dAtA[i] = 0xa + } + if input.Buf != nil { + input.Buf = append(input.Buf, dAtA...) + } else { + input.Buf = dAtA + } + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { + x := input.Message.Interface().(*GetTopicStakeResponse) + if x == nil { + return protoiface.UnmarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Flags: input.Flags, + }, nil + } + options := runtime.UnmarshalInputToOptions(input) + _ = options + dAtA := input.Buf + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: GetTopicStakeResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: GetTopicStakeResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Amount", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + x.Amount = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := runtime.Skip(dAtA[iNdEx:]) + if err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if (iNdEx + skippy) > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + if !options.DiscardUnknown { + x.unknownFields = append(x.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + } + iNdEx += skippy + } + } + + if iNdEx > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, nil + } + return &protoiface.Methods{ + NoUnkeyedLiterals: struct{}{}, + Flags: protoiface.SupportMarshalDeterministic | protoiface.SupportUnmarshalDiscardUnknown, + Size: size, + Marshal: marshal, + Unmarshal: unmarshal, + Merge: nil, + CheckInitialized: nil, + } +} + +var ( + md_GetNetworkLossBundleAtBlockRequest protoreflect.MessageDescriptor + fd_GetNetworkLossBundleAtBlockRequest_topic_id protoreflect.FieldDescriptor + fd_GetNetworkLossBundleAtBlockRequest_block_height protoreflect.FieldDescriptor +) + +func init() { + file_emissions_v8_query_proto_init() + md_GetNetworkLossBundleAtBlockRequest = File_emissions_v8_query_proto.Messages().ByName("GetNetworkLossBundleAtBlockRequest") + fd_GetNetworkLossBundleAtBlockRequest_topic_id = md_GetNetworkLossBundleAtBlockRequest.Fields().ByName("topic_id") + fd_GetNetworkLossBundleAtBlockRequest_block_height = md_GetNetworkLossBundleAtBlockRequest.Fields().ByName("block_height") +} + +var _ protoreflect.Message = (*fastReflection_GetNetworkLossBundleAtBlockRequest)(nil) + +type fastReflection_GetNetworkLossBundleAtBlockRequest GetNetworkLossBundleAtBlockRequest + +func (x *GetNetworkLossBundleAtBlockRequest) ProtoReflect() protoreflect.Message { + return (*fastReflection_GetNetworkLossBundleAtBlockRequest)(x) +} + +func (x *GetNetworkLossBundleAtBlockRequest) slowProtoReflect() protoreflect.Message { + mi := &file_emissions_v8_query_proto_msgTypes[66] + 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) +} + +var _fastReflection_GetNetworkLossBundleAtBlockRequest_messageType fastReflection_GetNetworkLossBundleAtBlockRequest_messageType +var _ protoreflect.MessageType = fastReflection_GetNetworkLossBundleAtBlockRequest_messageType{} + +type fastReflection_GetNetworkLossBundleAtBlockRequest_messageType struct{} + +func (x fastReflection_GetNetworkLossBundleAtBlockRequest_messageType) Zero() protoreflect.Message { + return (*fastReflection_GetNetworkLossBundleAtBlockRequest)(nil) +} +func (x fastReflection_GetNetworkLossBundleAtBlockRequest_messageType) New() protoreflect.Message { + return new(fastReflection_GetNetworkLossBundleAtBlockRequest) +} +func (x fastReflection_GetNetworkLossBundleAtBlockRequest_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_GetNetworkLossBundleAtBlockRequest +} + +// Descriptor returns message descriptor, which contains only the protobuf +// type information for the message. +func (x *fastReflection_GetNetworkLossBundleAtBlockRequest) Descriptor() protoreflect.MessageDescriptor { + return md_GetNetworkLossBundleAtBlockRequest +} + +// Type returns the message type, which encapsulates both Go and protobuf +// type information. If the Go type information is not needed, +// it is recommended that the message descriptor be used instead. +func (x *fastReflection_GetNetworkLossBundleAtBlockRequest) Type() protoreflect.MessageType { + return _fastReflection_GetNetworkLossBundleAtBlockRequest_messageType +} + +// New returns a newly allocated and mutable empty message. +func (x *fastReflection_GetNetworkLossBundleAtBlockRequest) New() protoreflect.Message { + return new(fastReflection_GetNetworkLossBundleAtBlockRequest) +} + +// Interface unwraps the message reflection interface and +// returns the underlying ProtoMessage interface. +func (x *fastReflection_GetNetworkLossBundleAtBlockRequest) Interface() protoreflect.ProtoMessage { + return (*GetNetworkLossBundleAtBlockRequest)(x) +} + +// Range iterates over every populated field in an undefined order, +// calling f for each field descriptor and value encountered. +// Range returns immediately if f returns false. +// While iterating, mutating operations may only be performed +// on the current field descriptor. +func (x *fastReflection_GetNetworkLossBundleAtBlockRequest) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { + if x.TopicId != uint64(0) { + value := protoreflect.ValueOfUint64(x.TopicId) + if !f(fd_GetNetworkLossBundleAtBlockRequest_topic_id, value) { + return + } + } + if x.BlockHeight != int64(0) { + value := protoreflect.ValueOfInt64(x.BlockHeight) + if !f(fd_GetNetworkLossBundleAtBlockRequest_block_height, value) { + return + } + } +} + +// Has reports whether a field is populated. +// +// Some fields have the property of nullability where it is possible to +// distinguish between the default value of a field and whether the field +// was explicitly populated with the default value. Singular message fields, +// member fields of a oneof, and proto2 scalar fields are nullable. Such +// fields are populated only if explicitly set. +// +// In other cases (aside from the nullable cases above), +// a proto3 scalar field is populated if it contains a non-zero value, and +// a repeated field is populated if it is non-empty. +func (x *fastReflection_GetNetworkLossBundleAtBlockRequest) Has(fd protoreflect.FieldDescriptor) bool { + switch fd.FullName() { + case "emissions.v8.GetNetworkLossBundleAtBlockRequest.topic_id": + return x.TopicId != uint64(0) + case "emissions.v8.GetNetworkLossBundleAtBlockRequest.block_height": + return x.BlockHeight != int64(0) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetNetworkLossBundleAtBlockRequest")) + } + panic(fmt.Errorf("message emissions.v8.GetNetworkLossBundleAtBlockRequest does not contain field %s", fd.FullName())) + } +} + +// Clear clears the field such that a subsequent Has call reports false. +// +// Clearing an extension field clears both the extension type and value +// associated with the given field number. +// +// Clear is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetNetworkLossBundleAtBlockRequest) Clear(fd protoreflect.FieldDescriptor) { + switch fd.FullName() { + case "emissions.v8.GetNetworkLossBundleAtBlockRequest.topic_id": + x.TopicId = uint64(0) + case "emissions.v8.GetNetworkLossBundleAtBlockRequest.block_height": + x.BlockHeight = int64(0) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetNetworkLossBundleAtBlockRequest")) + } + panic(fmt.Errorf("message emissions.v8.GetNetworkLossBundleAtBlockRequest does not contain field %s", fd.FullName())) + } +} + +// Get retrieves the value for a field. +// +// For unpopulated scalars, it returns the default value, where +// the default value of a bytes scalar is guaranteed to be a copy. +// For unpopulated composite types, it returns an empty, read-only view +// of the value; to obtain a mutable reference, use Mutable. +func (x *fastReflection_GetNetworkLossBundleAtBlockRequest) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { + switch descriptor.FullName() { + case "emissions.v8.GetNetworkLossBundleAtBlockRequest.topic_id": + value := x.TopicId + return protoreflect.ValueOfUint64(value) + case "emissions.v8.GetNetworkLossBundleAtBlockRequest.block_height": + value := x.BlockHeight + return protoreflect.ValueOfInt64(value) + default: + if descriptor.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetNetworkLossBundleAtBlockRequest")) + } + panic(fmt.Errorf("message emissions.v8.GetNetworkLossBundleAtBlockRequest does not contain field %s", descriptor.FullName())) + } +} + +// Set stores the value for a field. +// +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType. +// When setting a composite type, it is unspecified whether the stored value +// aliases the source's memory in any way. If the composite value is an +// empty, read-only value, then it panics. +// +// Set is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetNetworkLossBundleAtBlockRequest) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { + switch fd.FullName() { + case "emissions.v8.GetNetworkLossBundleAtBlockRequest.topic_id": + x.TopicId = value.Uint() + case "emissions.v8.GetNetworkLossBundleAtBlockRequest.block_height": + x.BlockHeight = value.Int() + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetNetworkLossBundleAtBlockRequest")) + } + panic(fmt.Errorf("message emissions.v8.GetNetworkLossBundleAtBlockRequest does not contain field %s", fd.FullName())) + } +} + +// Mutable returns a mutable reference to a composite type. +// +// If the field is unpopulated, it may allocate a composite value. +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType +// if not already stored. +// It panics if the field does not contain a composite type. +// +// Mutable is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetNetworkLossBundleAtBlockRequest) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.GetNetworkLossBundleAtBlockRequest.topic_id": + panic(fmt.Errorf("field topic_id of message emissions.v8.GetNetworkLossBundleAtBlockRequest is not mutable")) + case "emissions.v8.GetNetworkLossBundleAtBlockRequest.block_height": + panic(fmt.Errorf("field block_height of message emissions.v8.GetNetworkLossBundleAtBlockRequest is not mutable")) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetNetworkLossBundleAtBlockRequest")) + } + panic(fmt.Errorf("message emissions.v8.GetNetworkLossBundleAtBlockRequest does not contain field %s", fd.FullName())) + } +} + +// NewField returns a new value that is assignable to the field +// for the given descriptor. For scalars, this returns the default value. +// For lists, maps, and messages, this returns a new, empty, mutable value. +func (x *fastReflection_GetNetworkLossBundleAtBlockRequest) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.GetNetworkLossBundleAtBlockRequest.topic_id": + return protoreflect.ValueOfUint64(uint64(0)) + case "emissions.v8.GetNetworkLossBundleAtBlockRequest.block_height": + return protoreflect.ValueOfInt64(int64(0)) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetNetworkLossBundleAtBlockRequest")) + } + panic(fmt.Errorf("message emissions.v8.GetNetworkLossBundleAtBlockRequest does not contain field %s", fd.FullName())) + } +} + +// WhichOneof reports which field within the oneof is populated, +// returning nil if none are populated. +// It panics if the oneof descriptor does not belong to this message. +func (x *fastReflection_GetNetworkLossBundleAtBlockRequest) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { + switch d.FullName() { + default: + panic(fmt.Errorf("%s is not a oneof field in emissions.v8.GetNetworkLossBundleAtBlockRequest", d.FullName())) + } + panic("unreachable") +} + +// GetUnknown retrieves the entire list of unknown fields. +// The caller may only mutate the contents of the RawFields +// if the mutated bytes are stored back into the message with SetUnknown. +func (x *fastReflection_GetNetworkLossBundleAtBlockRequest) GetUnknown() protoreflect.RawFields { + return x.unknownFields +} + +// SetUnknown stores an entire list of unknown fields. +// The raw fields must be syntactically valid according to the wire format. +// An implementation may panic if this is not the case. +// Once stored, the caller must not mutate the content of the RawFields. +// An empty RawFields may be passed to clear the fields. +// +// SetUnknown is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetNetworkLossBundleAtBlockRequest) SetUnknown(fields protoreflect.RawFields) { + x.unknownFields = fields +} + +// IsValid reports whether the message is valid. +// +// An invalid message is an empty, read-only value. +// +// An invalid message often corresponds to a nil pointer of the concrete +// message type, but the details are implementation dependent. +// Validity is not part of the protobuf data model, and may not +// be preserved in marshaling or other operations. +func (x *fastReflection_GetNetworkLossBundleAtBlockRequest) IsValid() bool { + return x != nil +} + +// ProtoMethods returns optional fastReflectionFeature-path implementations of various operations. +// This method may return nil. +// +// The returned methods type is identical to +// "google.golang.org/protobuf/runtime/protoiface".Methods. +// Consult the protoiface package documentation for details. +func (x *fastReflection_GetNetworkLossBundleAtBlockRequest) ProtoMethods() *protoiface.Methods { + size := func(input protoiface.SizeInput) protoiface.SizeOutput { + x := input.Message.Interface().(*GetNetworkLossBundleAtBlockRequest) + if x == nil { + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: 0, + } + } + options := runtime.SizeInputToOptions(input) + _ = options + var n int + var l int + _ = l + if x.TopicId != 0 { + n += 1 + runtime.Sov(uint64(x.TopicId)) + } + if x.BlockHeight != 0 { + n += 1 + runtime.Sov(uint64(x.BlockHeight)) + } + if x.unknownFields != nil { + n += len(x.unknownFields) + } + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: n, + } + } + + marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { + x := input.Message.Interface().(*GetNetworkLossBundleAtBlockRequest) + if x == nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + options := runtime.MarshalInputToOptions(input) + _ = options + size := options.Size(x) + dAtA := make([]byte, size) + i := len(dAtA) + _ = i + var l int + _ = l + if x.unknownFields != nil { + i -= len(x.unknownFields) + copy(dAtA[i:], x.unknownFields) + } + if x.BlockHeight != 0 { + i = runtime.EncodeVarint(dAtA, i, uint64(x.BlockHeight)) + i-- + dAtA[i] = 0x10 + } + if x.TopicId != 0 { + i = runtime.EncodeVarint(dAtA, i, uint64(x.TopicId)) + i-- + dAtA[i] = 0x8 + } + if input.Buf != nil { + input.Buf = append(input.Buf, dAtA...) + } else { + input.Buf = dAtA + } + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { + x := input.Message.Interface().(*GetNetworkLossBundleAtBlockRequest) + if x == nil { + return protoiface.UnmarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Flags: input.Flags, + }, nil + } + options := runtime.UnmarshalInputToOptions(input) + _ = options + dAtA := input.Buf + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: GetNetworkLossBundleAtBlockRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: GetNetworkLossBundleAtBlockRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field TopicId", wireType) + } + x.TopicId = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + x.TopicId |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 2: + if wireType != 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field BlockHeight", wireType) + } + x.BlockHeight = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + x.BlockHeight |= int64(b&0x7F) << shift + if b < 0x80 { + break + } + } + default: + iNdEx = preIndex + skippy, err := runtime.Skip(dAtA[iNdEx:]) + if err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if (iNdEx + skippy) > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + if !options.DiscardUnknown { + x.unknownFields = append(x.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + } + iNdEx += skippy + } + } + + if iNdEx > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, nil + } + return &protoiface.Methods{ + NoUnkeyedLiterals: struct{}{}, + Flags: protoiface.SupportMarshalDeterministic | protoiface.SupportUnmarshalDiscardUnknown, + Size: size, + Marshal: marshal, + Unmarshal: unmarshal, + Merge: nil, + CheckInitialized: nil, + } +} + +var ( + md_GetNetworkLossBundleAtBlockResponse protoreflect.MessageDescriptor + fd_GetNetworkLossBundleAtBlockResponse_loss_bundle protoreflect.FieldDescriptor +) + +func init() { + file_emissions_v8_query_proto_init() + md_GetNetworkLossBundleAtBlockResponse = File_emissions_v8_query_proto.Messages().ByName("GetNetworkLossBundleAtBlockResponse") + fd_GetNetworkLossBundleAtBlockResponse_loss_bundle = md_GetNetworkLossBundleAtBlockResponse.Fields().ByName("loss_bundle") +} + +var _ protoreflect.Message = (*fastReflection_GetNetworkLossBundleAtBlockResponse)(nil) + +type fastReflection_GetNetworkLossBundleAtBlockResponse GetNetworkLossBundleAtBlockResponse + +func (x *GetNetworkLossBundleAtBlockResponse) ProtoReflect() protoreflect.Message { + return (*fastReflection_GetNetworkLossBundleAtBlockResponse)(x) +} + +func (x *GetNetworkLossBundleAtBlockResponse) slowProtoReflect() protoreflect.Message { + mi := &file_emissions_v8_query_proto_msgTypes[67] + 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) +} + +var _fastReflection_GetNetworkLossBundleAtBlockResponse_messageType fastReflection_GetNetworkLossBundleAtBlockResponse_messageType +var _ protoreflect.MessageType = fastReflection_GetNetworkLossBundleAtBlockResponse_messageType{} + +type fastReflection_GetNetworkLossBundleAtBlockResponse_messageType struct{} + +func (x fastReflection_GetNetworkLossBundleAtBlockResponse_messageType) Zero() protoreflect.Message { + return (*fastReflection_GetNetworkLossBundleAtBlockResponse)(nil) +} +func (x fastReflection_GetNetworkLossBundleAtBlockResponse_messageType) New() protoreflect.Message { + return new(fastReflection_GetNetworkLossBundleAtBlockResponse) +} +func (x fastReflection_GetNetworkLossBundleAtBlockResponse_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_GetNetworkLossBundleAtBlockResponse +} + +// Descriptor returns message descriptor, which contains only the protobuf +// type information for the message. +func (x *fastReflection_GetNetworkLossBundleAtBlockResponse) Descriptor() protoreflect.MessageDescriptor { + return md_GetNetworkLossBundleAtBlockResponse +} + +// Type returns the message type, which encapsulates both Go and protobuf +// type information. If the Go type information is not needed, +// it is recommended that the message descriptor be used instead. +func (x *fastReflection_GetNetworkLossBundleAtBlockResponse) Type() protoreflect.MessageType { + return _fastReflection_GetNetworkLossBundleAtBlockResponse_messageType +} + +// New returns a newly allocated and mutable empty message. +func (x *fastReflection_GetNetworkLossBundleAtBlockResponse) New() protoreflect.Message { + return new(fastReflection_GetNetworkLossBundleAtBlockResponse) +} + +// Interface unwraps the message reflection interface and +// returns the underlying ProtoMessage interface. +func (x *fastReflection_GetNetworkLossBundleAtBlockResponse) Interface() protoreflect.ProtoMessage { + return (*GetNetworkLossBundleAtBlockResponse)(x) +} + +// Range iterates over every populated field in an undefined order, +// calling f for each field descriptor and value encountered. +// Range returns immediately if f returns false. +// While iterating, mutating operations may only be performed +// on the current field descriptor. +func (x *fastReflection_GetNetworkLossBundleAtBlockResponse) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { + if x.LossBundle != nil { + value := protoreflect.ValueOfMessage(x.LossBundle.ProtoReflect()) + if !f(fd_GetNetworkLossBundleAtBlockResponse_loss_bundle, value) { + return + } + } +} + +// Has reports whether a field is populated. +// +// Some fields have the property of nullability where it is possible to +// distinguish between the default value of a field and whether the field +// was explicitly populated with the default value. Singular message fields, +// member fields of a oneof, and proto2 scalar fields are nullable. Such +// fields are populated only if explicitly set. +// +// In other cases (aside from the nullable cases above), +// a proto3 scalar field is populated if it contains a non-zero value, and +// a repeated field is populated if it is non-empty. +func (x *fastReflection_GetNetworkLossBundleAtBlockResponse) Has(fd protoreflect.FieldDescriptor) bool { + switch fd.FullName() { + case "emissions.v8.GetNetworkLossBundleAtBlockResponse.loss_bundle": + return x.LossBundle != nil + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetNetworkLossBundleAtBlockResponse")) + } + panic(fmt.Errorf("message emissions.v8.GetNetworkLossBundleAtBlockResponse does not contain field %s", fd.FullName())) + } +} + +// Clear clears the field such that a subsequent Has call reports false. +// +// Clearing an extension field clears both the extension type and value +// associated with the given field number. +// +// Clear is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetNetworkLossBundleAtBlockResponse) Clear(fd protoreflect.FieldDescriptor) { + switch fd.FullName() { + case "emissions.v8.GetNetworkLossBundleAtBlockResponse.loss_bundle": + x.LossBundle = nil + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetNetworkLossBundleAtBlockResponse")) + } + panic(fmt.Errorf("message emissions.v8.GetNetworkLossBundleAtBlockResponse does not contain field %s", fd.FullName())) + } +} + +// Get retrieves the value for a field. +// +// For unpopulated scalars, it returns the default value, where +// the default value of a bytes scalar is guaranteed to be a copy. +// For unpopulated composite types, it returns an empty, read-only view +// of the value; to obtain a mutable reference, use Mutable. +func (x *fastReflection_GetNetworkLossBundleAtBlockResponse) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { + switch descriptor.FullName() { + case "emissions.v8.GetNetworkLossBundleAtBlockResponse.loss_bundle": + value := x.LossBundle + return protoreflect.ValueOfMessage(value.ProtoReflect()) + default: + if descriptor.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetNetworkLossBundleAtBlockResponse")) + } + panic(fmt.Errorf("message emissions.v8.GetNetworkLossBundleAtBlockResponse does not contain field %s", descriptor.FullName())) + } +} + +// Set stores the value for a field. +// +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType. +// When setting a composite type, it is unspecified whether the stored value +// aliases the source's memory in any way. If the composite value is an +// empty, read-only value, then it panics. +// +// Set is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetNetworkLossBundleAtBlockResponse) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { + switch fd.FullName() { + case "emissions.v8.GetNetworkLossBundleAtBlockResponse.loss_bundle": + x.LossBundle = value.Message().Interface().(*v3.ValueBundle) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetNetworkLossBundleAtBlockResponse")) + } + panic(fmt.Errorf("message emissions.v8.GetNetworkLossBundleAtBlockResponse does not contain field %s", fd.FullName())) + } +} + +// Mutable returns a mutable reference to a composite type. +// +// If the field is unpopulated, it may allocate a composite value. +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType +// if not already stored. +// It panics if the field does not contain a composite type. +// +// Mutable is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetNetworkLossBundleAtBlockResponse) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.GetNetworkLossBundleAtBlockResponse.loss_bundle": + if x.LossBundle == nil { + x.LossBundle = new(v3.ValueBundle) + } + return protoreflect.ValueOfMessage(x.LossBundle.ProtoReflect()) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetNetworkLossBundleAtBlockResponse")) + } + panic(fmt.Errorf("message emissions.v8.GetNetworkLossBundleAtBlockResponse does not contain field %s", fd.FullName())) + } +} + +// NewField returns a new value that is assignable to the field +// for the given descriptor. For scalars, this returns the default value. +// For lists, maps, and messages, this returns a new, empty, mutable value. +func (x *fastReflection_GetNetworkLossBundleAtBlockResponse) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.GetNetworkLossBundleAtBlockResponse.loss_bundle": + m := new(v3.ValueBundle) + return protoreflect.ValueOfMessage(m.ProtoReflect()) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetNetworkLossBundleAtBlockResponse")) + } + panic(fmt.Errorf("message emissions.v8.GetNetworkLossBundleAtBlockResponse does not contain field %s", fd.FullName())) + } +} + +// WhichOneof reports which field within the oneof is populated, +// returning nil if none are populated. +// It panics if the oneof descriptor does not belong to this message. +func (x *fastReflection_GetNetworkLossBundleAtBlockResponse) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { + switch d.FullName() { + default: + panic(fmt.Errorf("%s is not a oneof field in emissions.v8.GetNetworkLossBundleAtBlockResponse", d.FullName())) + } + panic("unreachable") +} + +// GetUnknown retrieves the entire list of unknown fields. +// The caller may only mutate the contents of the RawFields +// if the mutated bytes are stored back into the message with SetUnknown. +func (x *fastReflection_GetNetworkLossBundleAtBlockResponse) GetUnknown() protoreflect.RawFields { + return x.unknownFields +} + +// SetUnknown stores an entire list of unknown fields. +// The raw fields must be syntactically valid according to the wire format. +// An implementation may panic if this is not the case. +// Once stored, the caller must not mutate the content of the RawFields. +// An empty RawFields may be passed to clear the fields. +// +// SetUnknown is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetNetworkLossBundleAtBlockResponse) SetUnknown(fields protoreflect.RawFields) { + x.unknownFields = fields +} + +// IsValid reports whether the message is valid. +// +// An invalid message is an empty, read-only value. +// +// An invalid message often corresponds to a nil pointer of the concrete +// message type, but the details are implementation dependent. +// Validity is not part of the protobuf data model, and may not +// be preserved in marshaling or other operations. +func (x *fastReflection_GetNetworkLossBundleAtBlockResponse) IsValid() bool { + return x != nil +} + +// ProtoMethods returns optional fastReflectionFeature-path implementations of various operations. +// This method may return nil. +// +// The returned methods type is identical to +// "google.golang.org/protobuf/runtime/protoiface".Methods. +// Consult the protoiface package documentation for details. +func (x *fastReflection_GetNetworkLossBundleAtBlockResponse) ProtoMethods() *protoiface.Methods { + size := func(input protoiface.SizeInput) protoiface.SizeOutput { + x := input.Message.Interface().(*GetNetworkLossBundleAtBlockResponse) + if x == nil { + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: 0, + } + } + options := runtime.SizeInputToOptions(input) + _ = options + var n int + var l int + _ = l + if x.LossBundle != nil { + l = options.Size(x.LossBundle) + n += 1 + l + runtime.Sov(uint64(l)) + } + if x.unknownFields != nil { + n += len(x.unknownFields) + } + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: n, + } + } + + marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { + x := input.Message.Interface().(*GetNetworkLossBundleAtBlockResponse) + if x == nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + options := runtime.MarshalInputToOptions(input) + _ = options + size := options.Size(x) + dAtA := make([]byte, size) + i := len(dAtA) + _ = i + var l int + _ = l + if x.unknownFields != nil { + i -= len(x.unknownFields) + copy(dAtA[i:], x.unknownFields) + } + if x.LossBundle != nil { + encoded, err := options.Marshal(x.LossBundle) + if err != nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = runtime.EncodeVarint(dAtA, i, uint64(len(encoded))) + i-- + dAtA[i] = 0xa + } + if input.Buf != nil { + input.Buf = append(input.Buf, dAtA...) + } else { + input.Buf = dAtA + } + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { + x := input.Message.Interface().(*GetNetworkLossBundleAtBlockResponse) + if x == nil { + return protoiface.UnmarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Flags: input.Flags, + }, nil + } + options := runtime.UnmarshalInputToOptions(input) + _ = options + dAtA := input.Buf + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: GetNetworkLossBundleAtBlockResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: GetNetworkLossBundleAtBlockResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field LossBundle", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + if x.LossBundle == nil { + x.LossBundle = &v3.ValueBundle{} + } + if err := options.Unmarshal(dAtA[iNdEx:postIndex], x.LossBundle); err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := runtime.Skip(dAtA[iNdEx:]) + if err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if (iNdEx + skippy) > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + if !options.DiscardUnknown { + x.unknownFields = append(x.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + } + iNdEx += skippy + } + } + + if iNdEx > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, nil + } + return &protoiface.Methods{ + NoUnkeyedLiterals: struct{}{}, + Flags: protoiface.SupportMarshalDeterministic | protoiface.SupportUnmarshalDiscardUnknown, + Size: size, + Marshal: marshal, + Unmarshal: unmarshal, + Merge: nil, + CheckInitialized: nil, + } +} + +var ( + md_GetNextTopicIdRequest protoreflect.MessageDescriptor +) + +func init() { + file_emissions_v8_query_proto_init() + md_GetNextTopicIdRequest = File_emissions_v8_query_proto.Messages().ByName("GetNextTopicIdRequest") +} + +var _ protoreflect.Message = (*fastReflection_GetNextTopicIdRequest)(nil) + +type fastReflection_GetNextTopicIdRequest GetNextTopicIdRequest + +func (x *GetNextTopicIdRequest) ProtoReflect() protoreflect.Message { + return (*fastReflection_GetNextTopicIdRequest)(x) +} + +func (x *GetNextTopicIdRequest) slowProtoReflect() protoreflect.Message { + mi := &file_emissions_v8_query_proto_msgTypes[68] + 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) +} + +var _fastReflection_GetNextTopicIdRequest_messageType fastReflection_GetNextTopicIdRequest_messageType +var _ protoreflect.MessageType = fastReflection_GetNextTopicIdRequest_messageType{} + +type fastReflection_GetNextTopicIdRequest_messageType struct{} + +func (x fastReflection_GetNextTopicIdRequest_messageType) Zero() protoreflect.Message { + return (*fastReflection_GetNextTopicIdRequest)(nil) +} +func (x fastReflection_GetNextTopicIdRequest_messageType) New() protoreflect.Message { + return new(fastReflection_GetNextTopicIdRequest) +} +func (x fastReflection_GetNextTopicIdRequest_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_GetNextTopicIdRequest +} + +// Descriptor returns message descriptor, which contains only the protobuf +// type information for the message. +func (x *fastReflection_GetNextTopicIdRequest) Descriptor() protoreflect.MessageDescriptor { + return md_GetNextTopicIdRequest +} + +// Type returns the message type, which encapsulates both Go and protobuf +// type information. If the Go type information is not needed, +// it is recommended that the message descriptor be used instead. +func (x *fastReflection_GetNextTopicIdRequest) Type() protoreflect.MessageType { + return _fastReflection_GetNextTopicIdRequest_messageType +} + +// New returns a newly allocated and mutable empty message. +func (x *fastReflection_GetNextTopicIdRequest) New() protoreflect.Message { + return new(fastReflection_GetNextTopicIdRequest) +} + +// Interface unwraps the message reflection interface and +// returns the underlying ProtoMessage interface. +func (x *fastReflection_GetNextTopicIdRequest) Interface() protoreflect.ProtoMessage { + return (*GetNextTopicIdRequest)(x) +} + +// Range iterates over every populated field in an undefined order, +// calling f for each field descriptor and value encountered. +// Range returns immediately if f returns false. +// While iterating, mutating operations may only be performed +// on the current field descriptor. +func (x *fastReflection_GetNextTopicIdRequest) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { +} + +// Has reports whether a field is populated. +// +// Some fields have the property of nullability where it is possible to +// distinguish between the default value of a field and whether the field +// was explicitly populated with the default value. Singular message fields, +// member fields of a oneof, and proto2 scalar fields are nullable. Such +// fields are populated only if explicitly set. +// +// In other cases (aside from the nullable cases above), +// a proto3 scalar field is populated if it contains a non-zero value, and +// a repeated field is populated if it is non-empty. +func (x *fastReflection_GetNextTopicIdRequest) Has(fd protoreflect.FieldDescriptor) bool { + switch fd.FullName() { + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetNextTopicIdRequest")) + } + panic(fmt.Errorf("message emissions.v8.GetNextTopicIdRequest does not contain field %s", fd.FullName())) + } +} + +// Clear clears the field such that a subsequent Has call reports false. +// +// Clearing an extension field clears both the extension type and value +// associated with the given field number. +// +// Clear is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetNextTopicIdRequest) Clear(fd protoreflect.FieldDescriptor) { + switch fd.FullName() { + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetNextTopicIdRequest")) + } + panic(fmt.Errorf("message emissions.v8.GetNextTopicIdRequest does not contain field %s", fd.FullName())) + } +} + +// Get retrieves the value for a field. +// +// For unpopulated scalars, it returns the default value, where +// the default value of a bytes scalar is guaranteed to be a copy. +// For unpopulated composite types, it returns an empty, read-only view +// of the value; to obtain a mutable reference, use Mutable. +func (x *fastReflection_GetNextTopicIdRequest) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { + switch descriptor.FullName() { + default: + if descriptor.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetNextTopicIdRequest")) + } + panic(fmt.Errorf("message emissions.v8.GetNextTopicIdRequest does not contain field %s", descriptor.FullName())) + } +} + +// Set stores the value for a field. +// +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType. +// When setting a composite type, it is unspecified whether the stored value +// aliases the source's memory in any way. If the composite value is an +// empty, read-only value, then it panics. +// +// Set is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetNextTopicIdRequest) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { + switch fd.FullName() { + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetNextTopicIdRequest")) + } + panic(fmt.Errorf("message emissions.v8.GetNextTopicIdRequest does not contain field %s", fd.FullName())) + } +} + +// Mutable returns a mutable reference to a composite type. +// +// If the field is unpopulated, it may allocate a composite value. +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType +// if not already stored. +// It panics if the field does not contain a composite type. +// +// Mutable is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetNextTopicIdRequest) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetNextTopicIdRequest")) + } + panic(fmt.Errorf("message emissions.v8.GetNextTopicIdRequest does not contain field %s", fd.FullName())) + } +} + +// NewField returns a new value that is assignable to the field +// for the given descriptor. For scalars, this returns the default value. +// For lists, maps, and messages, this returns a new, empty, mutable value. +func (x *fastReflection_GetNextTopicIdRequest) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetNextTopicIdRequest")) + } + panic(fmt.Errorf("message emissions.v8.GetNextTopicIdRequest does not contain field %s", fd.FullName())) + } +} + +// WhichOneof reports which field within the oneof is populated, +// returning nil if none are populated. +// It panics if the oneof descriptor does not belong to this message. +func (x *fastReflection_GetNextTopicIdRequest) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { + switch d.FullName() { + default: + panic(fmt.Errorf("%s is not a oneof field in emissions.v8.GetNextTopicIdRequest", d.FullName())) + } + panic("unreachable") +} + +// GetUnknown retrieves the entire list of unknown fields. +// The caller may only mutate the contents of the RawFields +// if the mutated bytes are stored back into the message with SetUnknown. +func (x *fastReflection_GetNextTopicIdRequest) GetUnknown() protoreflect.RawFields { + return x.unknownFields +} + +// SetUnknown stores an entire list of unknown fields. +// The raw fields must be syntactically valid according to the wire format. +// An implementation may panic if this is not the case. +// Once stored, the caller must not mutate the content of the RawFields. +// An empty RawFields may be passed to clear the fields. +// +// SetUnknown is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetNextTopicIdRequest) SetUnknown(fields protoreflect.RawFields) { + x.unknownFields = fields +} + +// IsValid reports whether the message is valid. +// +// An invalid message is an empty, read-only value. +// +// An invalid message often corresponds to a nil pointer of the concrete +// message type, but the details are implementation dependent. +// Validity is not part of the protobuf data model, and may not +// be preserved in marshaling or other operations. +func (x *fastReflection_GetNextTopicIdRequest) IsValid() bool { + return x != nil +} + +// ProtoMethods returns optional fastReflectionFeature-path implementations of various operations. +// This method may return nil. +// +// The returned methods type is identical to +// "google.golang.org/protobuf/runtime/protoiface".Methods. +// Consult the protoiface package documentation for details. +func (x *fastReflection_GetNextTopicIdRequest) ProtoMethods() *protoiface.Methods { + size := func(input protoiface.SizeInput) protoiface.SizeOutput { + x := input.Message.Interface().(*GetNextTopicIdRequest) + if x == nil { + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: 0, + } + } + options := runtime.SizeInputToOptions(input) + _ = options + var n int + var l int + _ = l + if x.unknownFields != nil { + n += len(x.unknownFields) + } + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: n, + } + } + + marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { + x := input.Message.Interface().(*GetNextTopicIdRequest) + if x == nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + options := runtime.MarshalInputToOptions(input) + _ = options + size := options.Size(x) + dAtA := make([]byte, size) + i := len(dAtA) + _ = i + var l int + _ = l + if x.unknownFields != nil { + i -= len(x.unknownFields) + copy(dAtA[i:], x.unknownFields) + } + if input.Buf != nil { + input.Buf = append(input.Buf, dAtA...) + } else { + input.Buf = dAtA + } + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { + x := input.Message.Interface().(*GetNextTopicIdRequest) + if x == nil { + return protoiface.UnmarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Flags: input.Flags, + }, nil + } + options := runtime.UnmarshalInputToOptions(input) + _ = options + dAtA := input.Buf + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: GetNextTopicIdRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: GetNextTopicIdRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + default: + iNdEx = preIndex + skippy, err := runtime.Skip(dAtA[iNdEx:]) + if err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if (iNdEx + skippy) > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + if !options.DiscardUnknown { + x.unknownFields = append(x.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + } + iNdEx += skippy + } + } + + if iNdEx > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, nil + } + return &protoiface.Methods{ + NoUnkeyedLiterals: struct{}{}, + Flags: protoiface.SupportMarshalDeterministic | protoiface.SupportUnmarshalDiscardUnknown, + Size: size, + Marshal: marshal, + Unmarshal: unmarshal, + Merge: nil, + CheckInitialized: nil, + } +} + +var ( + md_GetNextTopicIdResponse protoreflect.MessageDescriptor + fd_GetNextTopicIdResponse_next_topic_id protoreflect.FieldDescriptor +) + +func init() { + file_emissions_v8_query_proto_init() + md_GetNextTopicIdResponse = File_emissions_v8_query_proto.Messages().ByName("GetNextTopicIdResponse") + fd_GetNextTopicIdResponse_next_topic_id = md_GetNextTopicIdResponse.Fields().ByName("next_topic_id") +} + +var _ protoreflect.Message = (*fastReflection_GetNextTopicIdResponse)(nil) + +type fastReflection_GetNextTopicIdResponse GetNextTopicIdResponse + +func (x *GetNextTopicIdResponse) ProtoReflect() protoreflect.Message { + return (*fastReflection_GetNextTopicIdResponse)(x) +} + +func (x *GetNextTopicIdResponse) slowProtoReflect() protoreflect.Message { + mi := &file_emissions_v8_query_proto_msgTypes[69] + 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) +} + +var _fastReflection_GetNextTopicIdResponse_messageType fastReflection_GetNextTopicIdResponse_messageType +var _ protoreflect.MessageType = fastReflection_GetNextTopicIdResponse_messageType{} + +type fastReflection_GetNextTopicIdResponse_messageType struct{} + +func (x fastReflection_GetNextTopicIdResponse_messageType) Zero() protoreflect.Message { + return (*fastReflection_GetNextTopicIdResponse)(nil) +} +func (x fastReflection_GetNextTopicIdResponse_messageType) New() protoreflect.Message { + return new(fastReflection_GetNextTopicIdResponse) +} +func (x fastReflection_GetNextTopicIdResponse_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_GetNextTopicIdResponse +} + +// Descriptor returns message descriptor, which contains only the protobuf +// type information for the message. +func (x *fastReflection_GetNextTopicIdResponse) Descriptor() protoreflect.MessageDescriptor { + return md_GetNextTopicIdResponse +} + +// Type returns the message type, which encapsulates both Go and protobuf +// type information. If the Go type information is not needed, +// it is recommended that the message descriptor be used instead. +func (x *fastReflection_GetNextTopicIdResponse) Type() protoreflect.MessageType { + return _fastReflection_GetNextTopicIdResponse_messageType +} + +// New returns a newly allocated and mutable empty message. +func (x *fastReflection_GetNextTopicIdResponse) New() protoreflect.Message { + return new(fastReflection_GetNextTopicIdResponse) +} + +// Interface unwraps the message reflection interface and +// returns the underlying ProtoMessage interface. +func (x *fastReflection_GetNextTopicIdResponse) Interface() protoreflect.ProtoMessage { + return (*GetNextTopicIdResponse)(x) +} + +// Range iterates over every populated field in an undefined order, +// calling f for each field descriptor and value encountered. +// Range returns immediately if f returns false. +// While iterating, mutating operations may only be performed +// on the current field descriptor. +func (x *fastReflection_GetNextTopicIdResponse) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { + if x.NextTopicId != uint64(0) { + value := protoreflect.ValueOfUint64(x.NextTopicId) + if !f(fd_GetNextTopicIdResponse_next_topic_id, value) { + return + } + } +} + +// Has reports whether a field is populated. +// +// Some fields have the property of nullability where it is possible to +// distinguish between the default value of a field and whether the field +// was explicitly populated with the default value. Singular message fields, +// member fields of a oneof, and proto2 scalar fields are nullable. Such +// fields are populated only if explicitly set. +// +// In other cases (aside from the nullable cases above), +// a proto3 scalar field is populated if it contains a non-zero value, and +// a repeated field is populated if it is non-empty. +func (x *fastReflection_GetNextTopicIdResponse) Has(fd protoreflect.FieldDescriptor) bool { + switch fd.FullName() { + case "emissions.v8.GetNextTopicIdResponse.next_topic_id": + return x.NextTopicId != uint64(0) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetNextTopicIdResponse")) + } + panic(fmt.Errorf("message emissions.v8.GetNextTopicIdResponse does not contain field %s", fd.FullName())) + } +} + +// Clear clears the field such that a subsequent Has call reports false. +// +// Clearing an extension field clears both the extension type and value +// associated with the given field number. +// +// Clear is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetNextTopicIdResponse) Clear(fd protoreflect.FieldDescriptor) { + switch fd.FullName() { + case "emissions.v8.GetNextTopicIdResponse.next_topic_id": + x.NextTopicId = uint64(0) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetNextTopicIdResponse")) + } + panic(fmt.Errorf("message emissions.v8.GetNextTopicIdResponse does not contain field %s", fd.FullName())) + } +} + +// Get retrieves the value for a field. +// +// For unpopulated scalars, it returns the default value, where +// the default value of a bytes scalar is guaranteed to be a copy. +// For unpopulated composite types, it returns an empty, read-only view +// of the value; to obtain a mutable reference, use Mutable. +func (x *fastReflection_GetNextTopicIdResponse) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { + switch descriptor.FullName() { + case "emissions.v8.GetNextTopicIdResponse.next_topic_id": + value := x.NextTopicId + return protoreflect.ValueOfUint64(value) + default: + if descriptor.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetNextTopicIdResponse")) + } + panic(fmt.Errorf("message emissions.v8.GetNextTopicIdResponse does not contain field %s", descriptor.FullName())) + } +} + +// Set stores the value for a field. +// +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType. +// When setting a composite type, it is unspecified whether the stored value +// aliases the source's memory in any way. If the composite value is an +// empty, read-only value, then it panics. +// +// Set is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetNextTopicIdResponse) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { + switch fd.FullName() { + case "emissions.v8.GetNextTopicIdResponse.next_topic_id": + x.NextTopicId = value.Uint() + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetNextTopicIdResponse")) + } + panic(fmt.Errorf("message emissions.v8.GetNextTopicIdResponse does not contain field %s", fd.FullName())) + } +} + +// Mutable returns a mutable reference to a composite type. +// +// If the field is unpopulated, it may allocate a composite value. +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType +// if not already stored. +// It panics if the field does not contain a composite type. +// +// Mutable is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetNextTopicIdResponse) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.GetNextTopicIdResponse.next_topic_id": + panic(fmt.Errorf("field next_topic_id of message emissions.v8.GetNextTopicIdResponse is not mutable")) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetNextTopicIdResponse")) + } + panic(fmt.Errorf("message emissions.v8.GetNextTopicIdResponse does not contain field %s", fd.FullName())) + } +} + +// NewField returns a new value that is assignable to the field +// for the given descriptor. For scalars, this returns the default value. +// For lists, maps, and messages, this returns a new, empty, mutable value. +func (x *fastReflection_GetNextTopicIdResponse) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.GetNextTopicIdResponse.next_topic_id": + return protoreflect.ValueOfUint64(uint64(0)) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetNextTopicIdResponse")) + } + panic(fmt.Errorf("message emissions.v8.GetNextTopicIdResponse does not contain field %s", fd.FullName())) + } +} + +// WhichOneof reports which field within the oneof is populated, +// returning nil if none are populated. +// It panics if the oneof descriptor does not belong to this message. +func (x *fastReflection_GetNextTopicIdResponse) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { + switch d.FullName() { + default: + panic(fmt.Errorf("%s is not a oneof field in emissions.v8.GetNextTopicIdResponse", d.FullName())) + } + panic("unreachable") +} + +// GetUnknown retrieves the entire list of unknown fields. +// The caller may only mutate the contents of the RawFields +// if the mutated bytes are stored back into the message with SetUnknown. +func (x *fastReflection_GetNextTopicIdResponse) GetUnknown() protoreflect.RawFields { + return x.unknownFields +} + +// SetUnknown stores an entire list of unknown fields. +// The raw fields must be syntactically valid according to the wire format. +// An implementation may panic if this is not the case. +// Once stored, the caller must not mutate the content of the RawFields. +// An empty RawFields may be passed to clear the fields. +// +// SetUnknown is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetNextTopicIdResponse) SetUnknown(fields protoreflect.RawFields) { + x.unknownFields = fields +} + +// IsValid reports whether the message is valid. +// +// An invalid message is an empty, read-only value. +// +// An invalid message often corresponds to a nil pointer of the concrete +// message type, but the details are implementation dependent. +// Validity is not part of the protobuf data model, and may not +// be preserved in marshaling or other operations. +func (x *fastReflection_GetNextTopicIdResponse) IsValid() bool { + return x != nil +} + +// ProtoMethods returns optional fastReflectionFeature-path implementations of various operations. +// This method may return nil. +// +// The returned methods type is identical to +// "google.golang.org/protobuf/runtime/protoiface".Methods. +// Consult the protoiface package documentation for details. +func (x *fastReflection_GetNextTopicIdResponse) ProtoMethods() *protoiface.Methods { + size := func(input protoiface.SizeInput) protoiface.SizeOutput { + x := input.Message.Interface().(*GetNextTopicIdResponse) + if x == nil { + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: 0, + } + } + options := runtime.SizeInputToOptions(input) + _ = options + var n int + var l int + _ = l + if x.NextTopicId != 0 { + n += 1 + runtime.Sov(uint64(x.NextTopicId)) + } + if x.unknownFields != nil { + n += len(x.unknownFields) + } + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: n, + } + } + + marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { + x := input.Message.Interface().(*GetNextTopicIdResponse) + if x == nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + options := runtime.MarshalInputToOptions(input) + _ = options + size := options.Size(x) + dAtA := make([]byte, size) + i := len(dAtA) + _ = i + var l int + _ = l + if x.unknownFields != nil { + i -= len(x.unknownFields) + copy(dAtA[i:], x.unknownFields) + } + if x.NextTopicId != 0 { + i = runtime.EncodeVarint(dAtA, i, uint64(x.NextTopicId)) + i-- + dAtA[i] = 0x8 + } + if input.Buf != nil { + input.Buf = append(input.Buf, dAtA...) + } else { + input.Buf = dAtA + } + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { + x := input.Message.Interface().(*GetNextTopicIdResponse) + if x == nil { + return protoiface.UnmarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Flags: input.Flags, + }, nil + } + options := runtime.UnmarshalInputToOptions(input) + _ = options + dAtA := input.Buf + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: GetNextTopicIdResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: GetNextTopicIdResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field NextTopicId", wireType) + } + x.NextTopicId = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + x.NextTopicId |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + default: + iNdEx = preIndex + skippy, err := runtime.Skip(dAtA[iNdEx:]) + if err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if (iNdEx + skippy) > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + if !options.DiscardUnknown { + x.unknownFields = append(x.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + } + iNdEx += skippy + } + } + + if iNdEx > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, nil + } + return &protoiface.Methods{ + NoUnkeyedLiterals: struct{}{}, + Flags: protoiface.SupportMarshalDeterministic | protoiface.SupportUnmarshalDiscardUnknown, + Size: size, + Marshal: marshal, + Unmarshal: unmarshal, + Merge: nil, + CheckInitialized: nil, + } +} + +var ( + md_GetTopicRequest protoreflect.MessageDescriptor + fd_GetTopicRequest_topic_id protoreflect.FieldDescriptor +) + +func init() { + file_emissions_v8_query_proto_init() + md_GetTopicRequest = File_emissions_v8_query_proto.Messages().ByName("GetTopicRequest") + fd_GetTopicRequest_topic_id = md_GetTopicRequest.Fields().ByName("topic_id") +} + +var _ protoreflect.Message = (*fastReflection_GetTopicRequest)(nil) + +type fastReflection_GetTopicRequest GetTopicRequest + +func (x *GetTopicRequest) ProtoReflect() protoreflect.Message { + return (*fastReflection_GetTopicRequest)(x) +} + +func (x *GetTopicRequest) slowProtoReflect() protoreflect.Message { + mi := &file_emissions_v8_query_proto_msgTypes[70] + 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) +} + +var _fastReflection_GetTopicRequest_messageType fastReflection_GetTopicRequest_messageType +var _ protoreflect.MessageType = fastReflection_GetTopicRequest_messageType{} + +type fastReflection_GetTopicRequest_messageType struct{} + +func (x fastReflection_GetTopicRequest_messageType) Zero() protoreflect.Message { + return (*fastReflection_GetTopicRequest)(nil) +} +func (x fastReflection_GetTopicRequest_messageType) New() protoreflect.Message { + return new(fastReflection_GetTopicRequest) +} +func (x fastReflection_GetTopicRequest_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_GetTopicRequest +} + +// Descriptor returns message descriptor, which contains only the protobuf +// type information for the message. +func (x *fastReflection_GetTopicRequest) Descriptor() protoreflect.MessageDescriptor { + return md_GetTopicRequest +} + +// Type returns the message type, which encapsulates both Go and protobuf +// type information. If the Go type information is not needed, +// it is recommended that the message descriptor be used instead. +func (x *fastReflection_GetTopicRequest) Type() protoreflect.MessageType { + return _fastReflection_GetTopicRequest_messageType +} + +// New returns a newly allocated and mutable empty message. +func (x *fastReflection_GetTopicRequest) New() protoreflect.Message { + return new(fastReflection_GetTopicRequest) +} + +// Interface unwraps the message reflection interface and +// returns the underlying ProtoMessage interface. +func (x *fastReflection_GetTopicRequest) Interface() protoreflect.ProtoMessage { + return (*GetTopicRequest)(x) +} + +// Range iterates over every populated field in an undefined order, +// calling f for each field descriptor and value encountered. +// Range returns immediately if f returns false. +// While iterating, mutating operations may only be performed +// on the current field descriptor. +func (x *fastReflection_GetTopicRequest) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { + if x.TopicId != uint64(0) { + value := protoreflect.ValueOfUint64(x.TopicId) + if !f(fd_GetTopicRequest_topic_id, value) { + return + } + } +} + +// Has reports whether a field is populated. +// +// Some fields have the property of nullability where it is possible to +// distinguish between the default value of a field and whether the field +// was explicitly populated with the default value. Singular message fields, +// member fields of a oneof, and proto2 scalar fields are nullable. Such +// fields are populated only if explicitly set. +// +// In other cases (aside from the nullable cases above), +// a proto3 scalar field is populated if it contains a non-zero value, and +// a repeated field is populated if it is non-empty. +func (x *fastReflection_GetTopicRequest) Has(fd protoreflect.FieldDescriptor) bool { + switch fd.FullName() { + case "emissions.v8.GetTopicRequest.topic_id": + return x.TopicId != uint64(0) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetTopicRequest")) + } + panic(fmt.Errorf("message emissions.v8.GetTopicRequest does not contain field %s", fd.FullName())) + } +} + +// Clear clears the field such that a subsequent Has call reports false. +// +// Clearing an extension field clears both the extension type and value +// associated with the given field number. +// +// Clear is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetTopicRequest) Clear(fd protoreflect.FieldDescriptor) { + switch fd.FullName() { + case "emissions.v8.GetTopicRequest.topic_id": + x.TopicId = uint64(0) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetTopicRequest")) + } + panic(fmt.Errorf("message emissions.v8.GetTopicRequest does not contain field %s", fd.FullName())) + } +} + +// Get retrieves the value for a field. +// +// For unpopulated scalars, it returns the default value, where +// the default value of a bytes scalar is guaranteed to be a copy. +// For unpopulated composite types, it returns an empty, read-only view +// of the value; to obtain a mutable reference, use Mutable. +func (x *fastReflection_GetTopicRequest) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { + switch descriptor.FullName() { + case "emissions.v8.GetTopicRequest.topic_id": + value := x.TopicId + return protoreflect.ValueOfUint64(value) + default: + if descriptor.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetTopicRequest")) + } + panic(fmt.Errorf("message emissions.v8.GetTopicRequest does not contain field %s", descriptor.FullName())) + } +} + +// Set stores the value for a field. +// +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType. +// When setting a composite type, it is unspecified whether the stored value +// aliases the source's memory in any way. If the composite value is an +// empty, read-only value, then it panics. +// +// Set is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetTopicRequest) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { + switch fd.FullName() { + case "emissions.v8.GetTopicRequest.topic_id": + x.TopicId = value.Uint() + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetTopicRequest")) + } + panic(fmt.Errorf("message emissions.v8.GetTopicRequest does not contain field %s", fd.FullName())) + } +} + +// Mutable returns a mutable reference to a composite type. +// +// If the field is unpopulated, it may allocate a composite value. +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType +// if not already stored. +// It panics if the field does not contain a composite type. +// +// Mutable is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetTopicRequest) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.GetTopicRequest.topic_id": + panic(fmt.Errorf("field topic_id of message emissions.v8.GetTopicRequest is not mutable")) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetTopicRequest")) + } + panic(fmt.Errorf("message emissions.v8.GetTopicRequest does not contain field %s", fd.FullName())) + } +} + +// NewField returns a new value that is assignable to the field +// for the given descriptor. For scalars, this returns the default value. +// For lists, maps, and messages, this returns a new, empty, mutable value. +func (x *fastReflection_GetTopicRequest) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.GetTopicRequest.topic_id": + return protoreflect.ValueOfUint64(uint64(0)) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetTopicRequest")) + } + panic(fmt.Errorf("message emissions.v8.GetTopicRequest does not contain field %s", fd.FullName())) + } +} + +// WhichOneof reports which field within the oneof is populated, +// returning nil if none are populated. +// It panics if the oneof descriptor does not belong to this message. +func (x *fastReflection_GetTopicRequest) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { + switch d.FullName() { + default: + panic(fmt.Errorf("%s is not a oneof field in emissions.v8.GetTopicRequest", d.FullName())) + } + panic("unreachable") +} + +// GetUnknown retrieves the entire list of unknown fields. +// The caller may only mutate the contents of the RawFields +// if the mutated bytes are stored back into the message with SetUnknown. +func (x *fastReflection_GetTopicRequest) GetUnknown() protoreflect.RawFields { + return x.unknownFields +} + +// SetUnknown stores an entire list of unknown fields. +// The raw fields must be syntactically valid according to the wire format. +// An implementation may panic if this is not the case. +// Once stored, the caller must not mutate the content of the RawFields. +// An empty RawFields may be passed to clear the fields. +// +// SetUnknown is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetTopicRequest) SetUnknown(fields protoreflect.RawFields) { + x.unknownFields = fields +} + +// IsValid reports whether the message is valid. +// +// An invalid message is an empty, read-only value. +// +// An invalid message often corresponds to a nil pointer of the concrete +// message type, but the details are implementation dependent. +// Validity is not part of the protobuf data model, and may not +// be preserved in marshaling or other operations. +func (x *fastReflection_GetTopicRequest) IsValid() bool { + return x != nil +} + +// ProtoMethods returns optional fastReflectionFeature-path implementations of various operations. +// This method may return nil. +// +// The returned methods type is identical to +// "google.golang.org/protobuf/runtime/protoiface".Methods. +// Consult the protoiface package documentation for details. +func (x *fastReflection_GetTopicRequest) ProtoMethods() *protoiface.Methods { + size := func(input protoiface.SizeInput) protoiface.SizeOutput { + x := input.Message.Interface().(*GetTopicRequest) + if x == nil { + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: 0, + } + } + options := runtime.SizeInputToOptions(input) + _ = options + var n int + var l int + _ = l + if x.TopicId != 0 { + n += 1 + runtime.Sov(uint64(x.TopicId)) + } + if x.unknownFields != nil { + n += len(x.unknownFields) + } + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: n, + } + } + + marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { + x := input.Message.Interface().(*GetTopicRequest) + if x == nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + options := runtime.MarshalInputToOptions(input) + _ = options + size := options.Size(x) + dAtA := make([]byte, size) + i := len(dAtA) + _ = i + var l int + _ = l + if x.unknownFields != nil { + i -= len(x.unknownFields) + copy(dAtA[i:], x.unknownFields) + } + if x.TopicId != 0 { + i = runtime.EncodeVarint(dAtA, i, uint64(x.TopicId)) + i-- + dAtA[i] = 0x8 + } + if input.Buf != nil { + input.Buf = append(input.Buf, dAtA...) + } else { + input.Buf = dAtA + } + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { + x := input.Message.Interface().(*GetTopicRequest) + if x == nil { + return protoiface.UnmarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Flags: input.Flags, + }, nil + } + options := runtime.UnmarshalInputToOptions(input) + _ = options + dAtA := input.Buf + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: GetTopicRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: GetTopicRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field TopicId", wireType) + } + x.TopicId = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + x.TopicId |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + default: + iNdEx = preIndex + skippy, err := runtime.Skip(dAtA[iNdEx:]) + if err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if (iNdEx + skippy) > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + if !options.DiscardUnknown { + x.unknownFields = append(x.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + } + iNdEx += skippy + } + } + + if iNdEx > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, nil + } + return &protoiface.Methods{ + NoUnkeyedLiterals: struct{}{}, + Flags: protoiface.SupportMarshalDeterministic | protoiface.SupportUnmarshalDiscardUnknown, + Size: size, + Marshal: marshal, + Unmarshal: unmarshal, + Merge: nil, + CheckInitialized: nil, + } +} + +var ( + md_GetTopicResponse protoreflect.MessageDescriptor + fd_GetTopicResponse_topic protoreflect.FieldDescriptor + fd_GetTopicResponse_weight protoreflect.FieldDescriptor + fd_GetTopicResponse_effective_revenue protoreflect.FieldDescriptor +) + +func init() { + file_emissions_v8_query_proto_init() + md_GetTopicResponse = File_emissions_v8_query_proto.Messages().ByName("GetTopicResponse") + fd_GetTopicResponse_topic = md_GetTopicResponse.Fields().ByName("topic") + fd_GetTopicResponse_weight = md_GetTopicResponse.Fields().ByName("weight") + fd_GetTopicResponse_effective_revenue = md_GetTopicResponse.Fields().ByName("effective_revenue") +} + +var _ protoreflect.Message = (*fastReflection_GetTopicResponse)(nil) + +type fastReflection_GetTopicResponse GetTopicResponse + +func (x *GetTopicResponse) ProtoReflect() protoreflect.Message { + return (*fastReflection_GetTopicResponse)(x) +} + +func (x *GetTopicResponse) slowProtoReflect() protoreflect.Message { + mi := &file_emissions_v8_query_proto_msgTypes[71] + 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) +} + +var _fastReflection_GetTopicResponse_messageType fastReflection_GetTopicResponse_messageType +var _ protoreflect.MessageType = fastReflection_GetTopicResponse_messageType{} + +type fastReflection_GetTopicResponse_messageType struct{} + +func (x fastReflection_GetTopicResponse_messageType) Zero() protoreflect.Message { + return (*fastReflection_GetTopicResponse)(nil) +} +func (x fastReflection_GetTopicResponse_messageType) New() protoreflect.Message { + return new(fastReflection_GetTopicResponse) +} +func (x fastReflection_GetTopicResponse_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_GetTopicResponse +} + +// Descriptor returns message descriptor, which contains only the protobuf +// type information for the message. +func (x *fastReflection_GetTopicResponse) Descriptor() protoreflect.MessageDescriptor { + return md_GetTopicResponse +} + +// Type returns the message type, which encapsulates both Go and protobuf +// type information. If the Go type information is not needed, +// it is recommended that the message descriptor be used instead. +func (x *fastReflection_GetTopicResponse) Type() protoreflect.MessageType { + return _fastReflection_GetTopicResponse_messageType +} + +// New returns a newly allocated and mutable empty message. +func (x *fastReflection_GetTopicResponse) New() protoreflect.Message { + return new(fastReflection_GetTopicResponse) +} + +// Interface unwraps the message reflection interface and +// returns the underlying ProtoMessage interface. +func (x *fastReflection_GetTopicResponse) Interface() protoreflect.ProtoMessage { + return (*GetTopicResponse)(x) +} + +// Range iterates over every populated field in an undefined order, +// calling f for each field descriptor and value encountered. +// Range returns immediately if f returns false. +// While iterating, mutating operations may only be performed +// on the current field descriptor. +func (x *fastReflection_GetTopicResponse) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { + if x.Topic != nil { + value := protoreflect.ValueOfMessage(x.Topic.ProtoReflect()) + if !f(fd_GetTopicResponse_topic, value) { + return + } + } + if x.Weight != "" { + value := protoreflect.ValueOfString(x.Weight) + if !f(fd_GetTopicResponse_weight, value) { + return + } + } + if x.EffectiveRevenue != "" { + value := protoreflect.ValueOfString(x.EffectiveRevenue) + if !f(fd_GetTopicResponse_effective_revenue, value) { + return + } + } +} + +// Has reports whether a field is populated. +// +// Some fields have the property of nullability where it is possible to +// distinguish between the default value of a field and whether the field +// was explicitly populated with the default value. Singular message fields, +// member fields of a oneof, and proto2 scalar fields are nullable. Such +// fields are populated only if explicitly set. +// +// In other cases (aside from the nullable cases above), +// a proto3 scalar field is populated if it contains a non-zero value, and +// a repeated field is populated if it is non-empty. +func (x *fastReflection_GetTopicResponse) Has(fd protoreflect.FieldDescriptor) bool { + switch fd.FullName() { + case "emissions.v8.GetTopicResponse.topic": + return x.Topic != nil + case "emissions.v8.GetTopicResponse.weight": + return x.Weight != "" + case "emissions.v8.GetTopicResponse.effective_revenue": + return x.EffectiveRevenue != "" + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetTopicResponse")) + } + panic(fmt.Errorf("message emissions.v8.GetTopicResponse does not contain field %s", fd.FullName())) + } +} + +// Clear clears the field such that a subsequent Has call reports false. +// +// Clearing an extension field clears both the extension type and value +// associated with the given field number. +// +// Clear is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetTopicResponse) Clear(fd protoreflect.FieldDescriptor) { + switch fd.FullName() { + case "emissions.v8.GetTopicResponse.topic": + x.Topic = nil + case "emissions.v8.GetTopicResponse.weight": + x.Weight = "" + case "emissions.v8.GetTopicResponse.effective_revenue": + x.EffectiveRevenue = "" + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetTopicResponse")) + } + panic(fmt.Errorf("message emissions.v8.GetTopicResponse does not contain field %s", fd.FullName())) + } +} + +// Get retrieves the value for a field. +// +// For unpopulated scalars, it returns the default value, where +// the default value of a bytes scalar is guaranteed to be a copy. +// For unpopulated composite types, it returns an empty, read-only view +// of the value; to obtain a mutable reference, use Mutable. +func (x *fastReflection_GetTopicResponse) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { + switch descriptor.FullName() { + case "emissions.v8.GetTopicResponse.topic": + value := x.Topic + return protoreflect.ValueOfMessage(value.ProtoReflect()) + case "emissions.v8.GetTopicResponse.weight": + value := x.Weight + return protoreflect.ValueOfString(value) + case "emissions.v8.GetTopicResponse.effective_revenue": + value := x.EffectiveRevenue + return protoreflect.ValueOfString(value) + default: + if descriptor.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetTopicResponse")) + } + panic(fmt.Errorf("message emissions.v8.GetTopicResponse does not contain field %s", descriptor.FullName())) + } +} + +// Set stores the value for a field. +// +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType. +// When setting a composite type, it is unspecified whether the stored value +// aliases the source's memory in any way. If the composite value is an +// empty, read-only value, then it panics. +// +// Set is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetTopicResponse) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { + switch fd.FullName() { + case "emissions.v8.GetTopicResponse.topic": + x.Topic = value.Message().Interface().(*v3.Topic) + case "emissions.v8.GetTopicResponse.weight": + x.Weight = value.Interface().(string) + case "emissions.v8.GetTopicResponse.effective_revenue": + x.EffectiveRevenue = value.Interface().(string) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetTopicResponse")) + } + panic(fmt.Errorf("message emissions.v8.GetTopicResponse does not contain field %s", fd.FullName())) + } +} + +// Mutable returns a mutable reference to a composite type. +// +// If the field is unpopulated, it may allocate a composite value. +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType +// if not already stored. +// It panics if the field does not contain a composite type. +// +// Mutable is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetTopicResponse) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.GetTopicResponse.topic": + if x.Topic == nil { + x.Topic = new(v3.Topic) + } + return protoreflect.ValueOfMessage(x.Topic.ProtoReflect()) + case "emissions.v8.GetTopicResponse.weight": + panic(fmt.Errorf("field weight of message emissions.v8.GetTopicResponse is not mutable")) + case "emissions.v8.GetTopicResponse.effective_revenue": + panic(fmt.Errorf("field effective_revenue of message emissions.v8.GetTopicResponse is not mutable")) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetTopicResponse")) + } + panic(fmt.Errorf("message emissions.v8.GetTopicResponse does not contain field %s", fd.FullName())) + } +} + +// NewField returns a new value that is assignable to the field +// for the given descriptor. For scalars, this returns the default value. +// For lists, maps, and messages, this returns a new, empty, mutable value. +func (x *fastReflection_GetTopicResponse) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.GetTopicResponse.topic": + m := new(v3.Topic) + return protoreflect.ValueOfMessage(m.ProtoReflect()) + case "emissions.v8.GetTopicResponse.weight": + return protoreflect.ValueOfString("") + case "emissions.v8.GetTopicResponse.effective_revenue": + return protoreflect.ValueOfString("") + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetTopicResponse")) + } + panic(fmt.Errorf("message emissions.v8.GetTopicResponse does not contain field %s", fd.FullName())) + } +} + +// WhichOneof reports which field within the oneof is populated, +// returning nil if none are populated. +// It panics if the oneof descriptor does not belong to this message. +func (x *fastReflection_GetTopicResponse) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { + switch d.FullName() { + default: + panic(fmt.Errorf("%s is not a oneof field in emissions.v8.GetTopicResponse", d.FullName())) + } + panic("unreachable") +} + +// GetUnknown retrieves the entire list of unknown fields. +// The caller may only mutate the contents of the RawFields +// if the mutated bytes are stored back into the message with SetUnknown. +func (x *fastReflection_GetTopicResponse) GetUnknown() protoreflect.RawFields { + return x.unknownFields +} + +// SetUnknown stores an entire list of unknown fields. +// The raw fields must be syntactically valid according to the wire format. +// An implementation may panic if this is not the case. +// Once stored, the caller must not mutate the content of the RawFields. +// An empty RawFields may be passed to clear the fields. +// +// SetUnknown is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetTopicResponse) SetUnknown(fields protoreflect.RawFields) { + x.unknownFields = fields +} + +// IsValid reports whether the message is valid. +// +// An invalid message is an empty, read-only value. +// +// An invalid message often corresponds to a nil pointer of the concrete +// message type, but the details are implementation dependent. +// Validity is not part of the protobuf data model, and may not +// be preserved in marshaling or other operations. +func (x *fastReflection_GetTopicResponse) IsValid() bool { + return x != nil +} + +// ProtoMethods returns optional fastReflectionFeature-path implementations of various operations. +// This method may return nil. +// +// The returned methods type is identical to +// "google.golang.org/protobuf/runtime/protoiface".Methods. +// Consult the protoiface package documentation for details. +func (x *fastReflection_GetTopicResponse) ProtoMethods() *protoiface.Methods { + size := func(input protoiface.SizeInput) protoiface.SizeOutput { + x := input.Message.Interface().(*GetTopicResponse) + if x == nil { + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: 0, + } + } + options := runtime.SizeInputToOptions(input) + _ = options + var n int + var l int + _ = l + if x.Topic != nil { + l = options.Size(x.Topic) + n += 1 + l + runtime.Sov(uint64(l)) + } + l = len(x.Weight) + if l > 0 { + n += 1 + l + runtime.Sov(uint64(l)) + } + l = len(x.EffectiveRevenue) + if l > 0 { + n += 1 + l + runtime.Sov(uint64(l)) + } + if x.unknownFields != nil { + n += len(x.unknownFields) + } + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: n, + } + } + + marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { + x := input.Message.Interface().(*GetTopicResponse) + if x == nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + options := runtime.MarshalInputToOptions(input) + _ = options + size := options.Size(x) + dAtA := make([]byte, size) + i := len(dAtA) + _ = i + var l int + _ = l + if x.unknownFields != nil { + i -= len(x.unknownFields) + copy(dAtA[i:], x.unknownFields) + } + if len(x.EffectiveRevenue) > 0 { + i -= len(x.EffectiveRevenue) + copy(dAtA[i:], x.EffectiveRevenue) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.EffectiveRevenue))) + i-- + dAtA[i] = 0x1a + } + if len(x.Weight) > 0 { + i -= len(x.Weight) + copy(dAtA[i:], x.Weight) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.Weight))) + i-- + dAtA[i] = 0x12 + } + if x.Topic != nil { + encoded, err := options.Marshal(x.Topic) + if err != nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = runtime.EncodeVarint(dAtA, i, uint64(len(encoded))) + i-- + dAtA[i] = 0xa + } + if input.Buf != nil { + input.Buf = append(input.Buf, dAtA...) + } else { + input.Buf = dAtA + } + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { + x := input.Message.Interface().(*GetTopicResponse) + if x == nil { + return protoiface.UnmarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Flags: input.Flags, + }, nil + } + options := runtime.UnmarshalInputToOptions(input) + _ = options + dAtA := input.Buf + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: GetTopicResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: GetTopicResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Topic", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + if x.Topic == nil { + x.Topic = &v3.Topic{} + } + if err := options.Unmarshal(dAtA[iNdEx:postIndex], x.Topic); err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + iNdEx = postIndex + case 2: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Weight", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + x.Weight = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 3: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field EffectiveRevenue", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + x.EffectiveRevenue = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := runtime.Skip(dAtA[iNdEx:]) + if err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if (iNdEx + skippy) > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + if !options.DiscardUnknown { + x.unknownFields = append(x.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + } + iNdEx += skippy + } + } + + if iNdEx > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, nil + } + return &protoiface.Methods{ + NoUnkeyedLiterals: struct{}{}, + Flags: protoiface.SupportMarshalDeterministic | protoiface.SupportUnmarshalDiscardUnknown, + Size: size, + Marshal: marshal, + Unmarshal: unmarshal, + Merge: nil, + CheckInitialized: nil, + } +} + +var ( + md_GetActiveTopicsRequest protoreflect.MessageDescriptor + fd_GetActiveTopicsRequest_pagination protoreflect.FieldDescriptor +) + +func init() { + file_emissions_v8_query_proto_init() + md_GetActiveTopicsRequest = File_emissions_v8_query_proto.Messages().ByName("GetActiveTopicsRequest") + fd_GetActiveTopicsRequest_pagination = md_GetActiveTopicsRequest.Fields().ByName("pagination") +} + +var _ protoreflect.Message = (*fastReflection_GetActiveTopicsRequest)(nil) + +type fastReflection_GetActiveTopicsRequest GetActiveTopicsRequest + +func (x *GetActiveTopicsRequest) ProtoReflect() protoreflect.Message { + return (*fastReflection_GetActiveTopicsRequest)(x) +} + +func (x *GetActiveTopicsRequest) slowProtoReflect() protoreflect.Message { + mi := &file_emissions_v8_query_proto_msgTypes[72] + 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) +} + +var _fastReflection_GetActiveTopicsRequest_messageType fastReflection_GetActiveTopicsRequest_messageType +var _ protoreflect.MessageType = fastReflection_GetActiveTopicsRequest_messageType{} + +type fastReflection_GetActiveTopicsRequest_messageType struct{} + +func (x fastReflection_GetActiveTopicsRequest_messageType) Zero() protoreflect.Message { + return (*fastReflection_GetActiveTopicsRequest)(nil) +} +func (x fastReflection_GetActiveTopicsRequest_messageType) New() protoreflect.Message { + return new(fastReflection_GetActiveTopicsRequest) +} +func (x fastReflection_GetActiveTopicsRequest_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_GetActiveTopicsRequest +} + +// Descriptor returns message descriptor, which contains only the protobuf +// type information for the message. +func (x *fastReflection_GetActiveTopicsRequest) Descriptor() protoreflect.MessageDescriptor { + return md_GetActiveTopicsRequest +} + +// Type returns the message type, which encapsulates both Go and protobuf +// type information. If the Go type information is not needed, +// it is recommended that the message descriptor be used instead. +func (x *fastReflection_GetActiveTopicsRequest) Type() protoreflect.MessageType { + return _fastReflection_GetActiveTopicsRequest_messageType +} + +// New returns a newly allocated and mutable empty message. +func (x *fastReflection_GetActiveTopicsRequest) New() protoreflect.Message { + return new(fastReflection_GetActiveTopicsRequest) +} + +// Interface unwraps the message reflection interface and +// returns the underlying ProtoMessage interface. +func (x *fastReflection_GetActiveTopicsRequest) Interface() protoreflect.ProtoMessage { + return (*GetActiveTopicsRequest)(x) +} + +// Range iterates over every populated field in an undefined order, +// calling f for each field descriptor and value encountered. +// Range returns immediately if f returns false. +// While iterating, mutating operations may only be performed +// on the current field descriptor. +func (x *fastReflection_GetActiveTopicsRequest) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { + if x.Pagination != nil { + value := protoreflect.ValueOfMessage(x.Pagination.ProtoReflect()) + if !f(fd_GetActiveTopicsRequest_pagination, value) { + return + } + } +} + +// Has reports whether a field is populated. +// +// Some fields have the property of nullability where it is possible to +// distinguish between the default value of a field and whether the field +// was explicitly populated with the default value. Singular message fields, +// member fields of a oneof, and proto2 scalar fields are nullable. Such +// fields are populated only if explicitly set. +// +// In other cases (aside from the nullable cases above), +// a proto3 scalar field is populated if it contains a non-zero value, and +// a repeated field is populated if it is non-empty. +func (x *fastReflection_GetActiveTopicsRequest) Has(fd protoreflect.FieldDescriptor) bool { + switch fd.FullName() { + case "emissions.v8.GetActiveTopicsRequest.pagination": + return x.Pagination != nil + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetActiveTopicsRequest")) + } + panic(fmt.Errorf("message emissions.v8.GetActiveTopicsRequest does not contain field %s", fd.FullName())) + } +} + +// Clear clears the field such that a subsequent Has call reports false. +// +// Clearing an extension field clears both the extension type and value +// associated with the given field number. +// +// Clear is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetActiveTopicsRequest) Clear(fd protoreflect.FieldDescriptor) { + switch fd.FullName() { + case "emissions.v8.GetActiveTopicsRequest.pagination": + x.Pagination = nil + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetActiveTopicsRequest")) + } + panic(fmt.Errorf("message emissions.v8.GetActiveTopicsRequest does not contain field %s", fd.FullName())) + } +} + +// Get retrieves the value for a field. +// +// For unpopulated scalars, it returns the default value, where +// the default value of a bytes scalar is guaranteed to be a copy. +// For unpopulated composite types, it returns an empty, read-only view +// of the value; to obtain a mutable reference, use Mutable. +func (x *fastReflection_GetActiveTopicsRequest) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { + switch descriptor.FullName() { + case "emissions.v8.GetActiveTopicsRequest.pagination": + value := x.Pagination + return protoreflect.ValueOfMessage(value.ProtoReflect()) + default: + if descriptor.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetActiveTopicsRequest")) + } + panic(fmt.Errorf("message emissions.v8.GetActiveTopicsRequest does not contain field %s", descriptor.FullName())) + } +} + +// Set stores the value for a field. +// +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType. +// When setting a composite type, it is unspecified whether the stored value +// aliases the source's memory in any way. If the composite value is an +// empty, read-only value, then it panics. +// +// Set is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetActiveTopicsRequest) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { + switch fd.FullName() { + case "emissions.v8.GetActiveTopicsRequest.pagination": + x.Pagination = value.Message().Interface().(*v3.SimpleCursorPaginationRequest) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetActiveTopicsRequest")) + } + panic(fmt.Errorf("message emissions.v8.GetActiveTopicsRequest does not contain field %s", fd.FullName())) + } +} + +// Mutable returns a mutable reference to a composite type. +// +// If the field is unpopulated, it may allocate a composite value. +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType +// if not already stored. +// It panics if the field does not contain a composite type. +// +// Mutable is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetActiveTopicsRequest) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.GetActiveTopicsRequest.pagination": + if x.Pagination == nil { + x.Pagination = new(v3.SimpleCursorPaginationRequest) + } + return protoreflect.ValueOfMessage(x.Pagination.ProtoReflect()) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetActiveTopicsRequest")) + } + panic(fmt.Errorf("message emissions.v8.GetActiveTopicsRequest does not contain field %s", fd.FullName())) + } +} + +// NewField returns a new value that is assignable to the field +// for the given descriptor. For scalars, this returns the default value. +// For lists, maps, and messages, this returns a new, empty, mutable value. +func (x *fastReflection_GetActiveTopicsRequest) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.GetActiveTopicsRequest.pagination": + m := new(v3.SimpleCursorPaginationRequest) + return protoreflect.ValueOfMessage(m.ProtoReflect()) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetActiveTopicsRequest")) + } + panic(fmt.Errorf("message emissions.v8.GetActiveTopicsRequest does not contain field %s", fd.FullName())) + } +} + +// WhichOneof reports which field within the oneof is populated, +// returning nil if none are populated. +// It panics if the oneof descriptor does not belong to this message. +func (x *fastReflection_GetActiveTopicsRequest) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { + switch d.FullName() { + default: + panic(fmt.Errorf("%s is not a oneof field in emissions.v8.GetActiveTopicsRequest", d.FullName())) + } + panic("unreachable") +} + +// GetUnknown retrieves the entire list of unknown fields. +// The caller may only mutate the contents of the RawFields +// if the mutated bytes are stored back into the message with SetUnknown. +func (x *fastReflection_GetActiveTopicsRequest) GetUnknown() protoreflect.RawFields { + return x.unknownFields +} + +// SetUnknown stores an entire list of unknown fields. +// The raw fields must be syntactically valid according to the wire format. +// An implementation may panic if this is not the case. +// Once stored, the caller must not mutate the content of the RawFields. +// An empty RawFields may be passed to clear the fields. +// +// SetUnknown is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetActiveTopicsRequest) SetUnknown(fields protoreflect.RawFields) { + x.unknownFields = fields +} + +// IsValid reports whether the message is valid. +// +// An invalid message is an empty, read-only value. +// +// An invalid message often corresponds to a nil pointer of the concrete +// message type, but the details are implementation dependent. +// Validity is not part of the protobuf data model, and may not +// be preserved in marshaling or other operations. +func (x *fastReflection_GetActiveTopicsRequest) IsValid() bool { + return x != nil +} + +// ProtoMethods returns optional fastReflectionFeature-path implementations of various operations. +// This method may return nil. +// +// The returned methods type is identical to +// "google.golang.org/protobuf/runtime/protoiface".Methods. +// Consult the protoiface package documentation for details. +func (x *fastReflection_GetActiveTopicsRequest) ProtoMethods() *protoiface.Methods { + size := func(input protoiface.SizeInput) protoiface.SizeOutput { + x := input.Message.Interface().(*GetActiveTopicsRequest) + if x == nil { + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: 0, + } + } + options := runtime.SizeInputToOptions(input) + _ = options + var n int + var l int + _ = l + if x.Pagination != nil { + l = options.Size(x.Pagination) + n += 1 + l + runtime.Sov(uint64(l)) + } + if x.unknownFields != nil { + n += len(x.unknownFields) + } + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: n, + } + } + + marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { + x := input.Message.Interface().(*GetActiveTopicsRequest) + if x == nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + options := runtime.MarshalInputToOptions(input) + _ = options + size := options.Size(x) + dAtA := make([]byte, size) + i := len(dAtA) + _ = i + var l int + _ = l + if x.unknownFields != nil { + i -= len(x.unknownFields) + copy(dAtA[i:], x.unknownFields) + } + if x.Pagination != nil { + encoded, err := options.Marshal(x.Pagination) + if err != nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = runtime.EncodeVarint(dAtA, i, uint64(len(encoded))) + i-- + dAtA[i] = 0xa + } + if input.Buf != nil { + input.Buf = append(input.Buf, dAtA...) + } else { + input.Buf = dAtA + } + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { + x := input.Message.Interface().(*GetActiveTopicsRequest) + if x == nil { + return protoiface.UnmarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Flags: input.Flags, + }, nil + } + options := runtime.UnmarshalInputToOptions(input) + _ = options + dAtA := input.Buf + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: GetActiveTopicsRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: GetActiveTopicsRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Pagination", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + if x.Pagination == nil { + x.Pagination = &v3.SimpleCursorPaginationRequest{} + } + if err := options.Unmarshal(dAtA[iNdEx:postIndex], x.Pagination); err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := runtime.Skip(dAtA[iNdEx:]) + if err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if (iNdEx + skippy) > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + if !options.DiscardUnknown { + x.unknownFields = append(x.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + } + iNdEx += skippy + } + } + + if iNdEx > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, nil + } + return &protoiface.Methods{ + NoUnkeyedLiterals: struct{}{}, + Flags: protoiface.SupportMarshalDeterministic | protoiface.SupportUnmarshalDiscardUnknown, + Size: size, + Marshal: marshal, + Unmarshal: unmarshal, + Merge: nil, + CheckInitialized: nil, + } +} + +var _ protoreflect.List = (*_GetActiveTopicsResponse_1_list)(nil) + +type _GetActiveTopicsResponse_1_list struct { + list *[]*v3.Topic +} + +func (x *_GetActiveTopicsResponse_1_list) Len() int { + if x.list == nil { + return 0 + } + return len(*x.list) +} + +func (x *_GetActiveTopicsResponse_1_list) Get(i int) protoreflect.Value { + return protoreflect.ValueOfMessage((*x.list)[i].ProtoReflect()) +} + +func (x *_GetActiveTopicsResponse_1_list) Set(i int, value protoreflect.Value) { + valueUnwrapped := value.Message() + concreteValue := valueUnwrapped.Interface().(*v3.Topic) + (*x.list)[i] = concreteValue +} + +func (x *_GetActiveTopicsResponse_1_list) Append(value protoreflect.Value) { + valueUnwrapped := value.Message() + concreteValue := valueUnwrapped.Interface().(*v3.Topic) + *x.list = append(*x.list, concreteValue) +} + +func (x *_GetActiveTopicsResponse_1_list) AppendMutable() protoreflect.Value { + v := new(v3.Topic) + *x.list = append(*x.list, v) + return protoreflect.ValueOfMessage(v.ProtoReflect()) +} + +func (x *_GetActiveTopicsResponse_1_list) Truncate(n int) { + for i := n; i < len(*x.list); i++ { + (*x.list)[i] = nil + } + *x.list = (*x.list)[:n] +} + +func (x *_GetActiveTopicsResponse_1_list) NewElement() protoreflect.Value { + v := new(v3.Topic) + return protoreflect.ValueOfMessage(v.ProtoReflect()) +} + +func (x *_GetActiveTopicsResponse_1_list) IsValid() bool { + return x.list != nil +} + +var ( + md_GetActiveTopicsResponse protoreflect.MessageDescriptor + fd_GetActiveTopicsResponse_topics protoreflect.FieldDescriptor + fd_GetActiveTopicsResponse_pagination protoreflect.FieldDescriptor +) + +func init() { + file_emissions_v8_query_proto_init() + md_GetActiveTopicsResponse = File_emissions_v8_query_proto.Messages().ByName("GetActiveTopicsResponse") + fd_GetActiveTopicsResponse_topics = md_GetActiveTopicsResponse.Fields().ByName("topics") + fd_GetActiveTopicsResponse_pagination = md_GetActiveTopicsResponse.Fields().ByName("pagination") +} + +var _ protoreflect.Message = (*fastReflection_GetActiveTopicsResponse)(nil) + +type fastReflection_GetActiveTopicsResponse GetActiveTopicsResponse + +func (x *GetActiveTopicsResponse) ProtoReflect() protoreflect.Message { + return (*fastReflection_GetActiveTopicsResponse)(x) +} + +func (x *GetActiveTopicsResponse) slowProtoReflect() protoreflect.Message { + mi := &file_emissions_v8_query_proto_msgTypes[73] + 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) +} + +var _fastReflection_GetActiveTopicsResponse_messageType fastReflection_GetActiveTopicsResponse_messageType +var _ protoreflect.MessageType = fastReflection_GetActiveTopicsResponse_messageType{} + +type fastReflection_GetActiveTopicsResponse_messageType struct{} + +func (x fastReflection_GetActiveTopicsResponse_messageType) Zero() protoreflect.Message { + return (*fastReflection_GetActiveTopicsResponse)(nil) +} +func (x fastReflection_GetActiveTopicsResponse_messageType) New() protoreflect.Message { + return new(fastReflection_GetActiveTopicsResponse) +} +func (x fastReflection_GetActiveTopicsResponse_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_GetActiveTopicsResponse +} + +// Descriptor returns message descriptor, which contains only the protobuf +// type information for the message. +func (x *fastReflection_GetActiveTopicsResponse) Descriptor() protoreflect.MessageDescriptor { + return md_GetActiveTopicsResponse +} + +// Type returns the message type, which encapsulates both Go and protobuf +// type information. If the Go type information is not needed, +// it is recommended that the message descriptor be used instead. +func (x *fastReflection_GetActiveTopicsResponse) Type() protoreflect.MessageType { + return _fastReflection_GetActiveTopicsResponse_messageType +} + +// New returns a newly allocated and mutable empty message. +func (x *fastReflection_GetActiveTopicsResponse) New() protoreflect.Message { + return new(fastReflection_GetActiveTopicsResponse) +} + +// Interface unwraps the message reflection interface and +// returns the underlying ProtoMessage interface. +func (x *fastReflection_GetActiveTopicsResponse) Interface() protoreflect.ProtoMessage { + return (*GetActiveTopicsResponse)(x) +} + +// Range iterates over every populated field in an undefined order, +// calling f for each field descriptor and value encountered. +// Range returns immediately if f returns false. +// While iterating, mutating operations may only be performed +// on the current field descriptor. +func (x *fastReflection_GetActiveTopicsResponse) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { + if len(x.Topics) != 0 { + value := protoreflect.ValueOfList(&_GetActiveTopicsResponse_1_list{list: &x.Topics}) + if !f(fd_GetActiveTopicsResponse_topics, value) { + return + } + } + if x.Pagination != nil { + value := protoreflect.ValueOfMessage(x.Pagination.ProtoReflect()) + if !f(fd_GetActiveTopicsResponse_pagination, value) { + return + } + } +} + +// Has reports whether a field is populated. +// +// Some fields have the property of nullability where it is possible to +// distinguish between the default value of a field and whether the field +// was explicitly populated with the default value. Singular message fields, +// member fields of a oneof, and proto2 scalar fields are nullable. Such +// fields are populated only if explicitly set. +// +// In other cases (aside from the nullable cases above), +// a proto3 scalar field is populated if it contains a non-zero value, and +// a repeated field is populated if it is non-empty. +func (x *fastReflection_GetActiveTopicsResponse) Has(fd protoreflect.FieldDescriptor) bool { + switch fd.FullName() { + case "emissions.v8.GetActiveTopicsResponse.topics": + return len(x.Topics) != 0 + case "emissions.v8.GetActiveTopicsResponse.pagination": + return x.Pagination != nil + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetActiveTopicsResponse")) + } + panic(fmt.Errorf("message emissions.v8.GetActiveTopicsResponse does not contain field %s", fd.FullName())) + } +} + +// Clear clears the field such that a subsequent Has call reports false. +// +// Clearing an extension field clears both the extension type and value +// associated with the given field number. +// +// Clear is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetActiveTopicsResponse) Clear(fd protoreflect.FieldDescriptor) { + switch fd.FullName() { + case "emissions.v8.GetActiveTopicsResponse.topics": + x.Topics = nil + case "emissions.v8.GetActiveTopicsResponse.pagination": + x.Pagination = nil + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetActiveTopicsResponse")) + } + panic(fmt.Errorf("message emissions.v8.GetActiveTopicsResponse does not contain field %s", fd.FullName())) + } +} + +// Get retrieves the value for a field. +// +// For unpopulated scalars, it returns the default value, where +// the default value of a bytes scalar is guaranteed to be a copy. +// For unpopulated composite types, it returns an empty, read-only view +// of the value; to obtain a mutable reference, use Mutable. +func (x *fastReflection_GetActiveTopicsResponse) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { + switch descriptor.FullName() { + case "emissions.v8.GetActiveTopicsResponse.topics": + if len(x.Topics) == 0 { + return protoreflect.ValueOfList(&_GetActiveTopicsResponse_1_list{}) + } + listValue := &_GetActiveTopicsResponse_1_list{list: &x.Topics} + return protoreflect.ValueOfList(listValue) + case "emissions.v8.GetActiveTopicsResponse.pagination": + value := x.Pagination + return protoreflect.ValueOfMessage(value.ProtoReflect()) + default: + if descriptor.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetActiveTopicsResponse")) + } + panic(fmt.Errorf("message emissions.v8.GetActiveTopicsResponse does not contain field %s", descriptor.FullName())) + } +} + +// Set stores the value for a field. +// +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType. +// When setting a composite type, it is unspecified whether the stored value +// aliases the source's memory in any way. If the composite value is an +// empty, read-only value, then it panics. +// +// Set is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetActiveTopicsResponse) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { + switch fd.FullName() { + case "emissions.v8.GetActiveTopicsResponse.topics": + lv := value.List() + clv := lv.(*_GetActiveTopicsResponse_1_list) + x.Topics = *clv.list + case "emissions.v8.GetActiveTopicsResponse.pagination": + x.Pagination = value.Message().Interface().(*v3.SimpleCursorPaginationResponse) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetActiveTopicsResponse")) + } + panic(fmt.Errorf("message emissions.v8.GetActiveTopicsResponse does not contain field %s", fd.FullName())) + } +} + +// Mutable returns a mutable reference to a composite type. +// +// If the field is unpopulated, it may allocate a composite value. +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType +// if not already stored. +// It panics if the field does not contain a composite type. +// +// Mutable is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetActiveTopicsResponse) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.GetActiveTopicsResponse.topics": + if x.Topics == nil { + x.Topics = []*v3.Topic{} + } + value := &_GetActiveTopicsResponse_1_list{list: &x.Topics} + return protoreflect.ValueOfList(value) + case "emissions.v8.GetActiveTopicsResponse.pagination": + if x.Pagination == nil { + x.Pagination = new(v3.SimpleCursorPaginationResponse) + } + return protoreflect.ValueOfMessage(x.Pagination.ProtoReflect()) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetActiveTopicsResponse")) + } + panic(fmt.Errorf("message emissions.v8.GetActiveTopicsResponse does not contain field %s", fd.FullName())) + } +} + +// NewField returns a new value that is assignable to the field +// for the given descriptor. For scalars, this returns the default value. +// For lists, maps, and messages, this returns a new, empty, mutable value. +func (x *fastReflection_GetActiveTopicsResponse) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.GetActiveTopicsResponse.topics": + list := []*v3.Topic{} + return protoreflect.ValueOfList(&_GetActiveTopicsResponse_1_list{list: &list}) + case "emissions.v8.GetActiveTopicsResponse.pagination": + m := new(v3.SimpleCursorPaginationResponse) + return protoreflect.ValueOfMessage(m.ProtoReflect()) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetActiveTopicsResponse")) + } + panic(fmt.Errorf("message emissions.v8.GetActiveTopicsResponse does not contain field %s", fd.FullName())) + } +} + +// WhichOneof reports which field within the oneof is populated, +// returning nil if none are populated. +// It panics if the oneof descriptor does not belong to this message. +func (x *fastReflection_GetActiveTopicsResponse) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { + switch d.FullName() { + default: + panic(fmt.Errorf("%s is not a oneof field in emissions.v8.GetActiveTopicsResponse", d.FullName())) + } + panic("unreachable") +} + +// GetUnknown retrieves the entire list of unknown fields. +// The caller may only mutate the contents of the RawFields +// if the mutated bytes are stored back into the message with SetUnknown. +func (x *fastReflection_GetActiveTopicsResponse) GetUnknown() protoreflect.RawFields { + return x.unknownFields +} + +// SetUnknown stores an entire list of unknown fields. +// The raw fields must be syntactically valid according to the wire format. +// An implementation may panic if this is not the case. +// Once stored, the caller must not mutate the content of the RawFields. +// An empty RawFields may be passed to clear the fields. +// +// SetUnknown is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetActiveTopicsResponse) SetUnknown(fields protoreflect.RawFields) { + x.unknownFields = fields +} + +// IsValid reports whether the message is valid. +// +// An invalid message is an empty, read-only value. +// +// An invalid message often corresponds to a nil pointer of the concrete +// message type, but the details are implementation dependent. +// Validity is not part of the protobuf data model, and may not +// be preserved in marshaling or other operations. +func (x *fastReflection_GetActiveTopicsResponse) IsValid() bool { + return x != nil +} + +// ProtoMethods returns optional fastReflectionFeature-path implementations of various operations. +// This method may return nil. +// +// The returned methods type is identical to +// "google.golang.org/protobuf/runtime/protoiface".Methods. +// Consult the protoiface package documentation for details. +func (x *fastReflection_GetActiveTopicsResponse) ProtoMethods() *protoiface.Methods { + size := func(input protoiface.SizeInput) protoiface.SizeOutput { + x := input.Message.Interface().(*GetActiveTopicsResponse) + if x == nil { + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: 0, + } + } + options := runtime.SizeInputToOptions(input) + _ = options + var n int + var l int + _ = l + if len(x.Topics) > 0 { + for _, e := range x.Topics { + l = options.Size(e) + n += 1 + l + runtime.Sov(uint64(l)) + } + } + if x.Pagination != nil { + l = options.Size(x.Pagination) + n += 1 + l + runtime.Sov(uint64(l)) + } + if x.unknownFields != nil { + n += len(x.unknownFields) + } + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: n, + } + } + + marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { + x := input.Message.Interface().(*GetActiveTopicsResponse) + if x == nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + options := runtime.MarshalInputToOptions(input) + _ = options + size := options.Size(x) + dAtA := make([]byte, size) + i := len(dAtA) + _ = i + var l int + _ = l + if x.unknownFields != nil { + i -= len(x.unknownFields) + copy(dAtA[i:], x.unknownFields) + } + if x.Pagination != nil { + encoded, err := options.Marshal(x.Pagination) + if err != nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = runtime.EncodeVarint(dAtA, i, uint64(len(encoded))) + i-- + dAtA[i] = 0x12 + } + if len(x.Topics) > 0 { + for iNdEx := len(x.Topics) - 1; iNdEx >= 0; iNdEx-- { + encoded, err := options.Marshal(x.Topics[iNdEx]) + if err != nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = runtime.EncodeVarint(dAtA, i, uint64(len(encoded))) + i-- + dAtA[i] = 0xa + } + } + if input.Buf != nil { + input.Buf = append(input.Buf, dAtA...) + } else { + input.Buf = dAtA + } + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { + x := input.Message.Interface().(*GetActiveTopicsResponse) + if x == nil { + return protoiface.UnmarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Flags: input.Flags, + }, nil + } + options := runtime.UnmarshalInputToOptions(input) + _ = options + dAtA := input.Buf + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: GetActiveTopicsResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: GetActiveTopicsResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Topics", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + x.Topics = append(x.Topics, &v3.Topic{}) + if err := options.Unmarshal(dAtA[iNdEx:postIndex], x.Topics[len(x.Topics)-1]); err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + iNdEx = postIndex + case 2: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Pagination", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + if x.Pagination == nil { + x.Pagination = &v3.SimpleCursorPaginationResponse{} + } + if err := options.Unmarshal(dAtA[iNdEx:postIndex], x.Pagination); err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := runtime.Skip(dAtA[iNdEx:]) + if err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if (iNdEx + skippy) > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + if !options.DiscardUnknown { + x.unknownFields = append(x.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + } + iNdEx += skippy + } + } + + if iNdEx > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, nil + } + return &protoiface.Methods{ + NoUnkeyedLiterals: struct{}{}, + Flags: protoiface.SupportMarshalDeterministic | protoiface.SupportUnmarshalDiscardUnknown, + Size: size, + Marshal: marshal, + Unmarshal: unmarshal, + Merge: nil, + CheckInitialized: nil, + } +} + +var ( + md_GetInferencesAtBlockRequest protoreflect.MessageDescriptor + fd_GetInferencesAtBlockRequest_topic_id protoreflect.FieldDescriptor + fd_GetInferencesAtBlockRequest_block_height protoreflect.FieldDescriptor +) + +func init() { + file_emissions_v8_query_proto_init() + md_GetInferencesAtBlockRequest = File_emissions_v8_query_proto.Messages().ByName("GetInferencesAtBlockRequest") + fd_GetInferencesAtBlockRequest_topic_id = md_GetInferencesAtBlockRequest.Fields().ByName("topic_id") + fd_GetInferencesAtBlockRequest_block_height = md_GetInferencesAtBlockRequest.Fields().ByName("block_height") +} + +var _ protoreflect.Message = (*fastReflection_GetInferencesAtBlockRequest)(nil) + +type fastReflection_GetInferencesAtBlockRequest GetInferencesAtBlockRequest + +func (x *GetInferencesAtBlockRequest) ProtoReflect() protoreflect.Message { + return (*fastReflection_GetInferencesAtBlockRequest)(x) +} + +func (x *GetInferencesAtBlockRequest) slowProtoReflect() protoreflect.Message { + mi := &file_emissions_v8_query_proto_msgTypes[74] + 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) +} + +var _fastReflection_GetInferencesAtBlockRequest_messageType fastReflection_GetInferencesAtBlockRequest_messageType +var _ protoreflect.MessageType = fastReflection_GetInferencesAtBlockRequest_messageType{} + +type fastReflection_GetInferencesAtBlockRequest_messageType struct{} + +func (x fastReflection_GetInferencesAtBlockRequest_messageType) Zero() protoreflect.Message { + return (*fastReflection_GetInferencesAtBlockRequest)(nil) +} +func (x fastReflection_GetInferencesAtBlockRequest_messageType) New() protoreflect.Message { + return new(fastReflection_GetInferencesAtBlockRequest) +} +func (x fastReflection_GetInferencesAtBlockRequest_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_GetInferencesAtBlockRequest +} + +// Descriptor returns message descriptor, which contains only the protobuf +// type information for the message. +func (x *fastReflection_GetInferencesAtBlockRequest) Descriptor() protoreflect.MessageDescriptor { + return md_GetInferencesAtBlockRequest +} + +// Type returns the message type, which encapsulates both Go and protobuf +// type information. If the Go type information is not needed, +// it is recommended that the message descriptor be used instead. +func (x *fastReflection_GetInferencesAtBlockRequest) Type() protoreflect.MessageType { + return _fastReflection_GetInferencesAtBlockRequest_messageType +} + +// New returns a newly allocated and mutable empty message. +func (x *fastReflection_GetInferencesAtBlockRequest) New() protoreflect.Message { + return new(fastReflection_GetInferencesAtBlockRequest) +} + +// Interface unwraps the message reflection interface and +// returns the underlying ProtoMessage interface. +func (x *fastReflection_GetInferencesAtBlockRequest) Interface() protoreflect.ProtoMessage { + return (*GetInferencesAtBlockRequest)(x) +} + +// Range iterates over every populated field in an undefined order, +// calling f for each field descriptor and value encountered. +// Range returns immediately if f returns false. +// While iterating, mutating operations may only be performed +// on the current field descriptor. +func (x *fastReflection_GetInferencesAtBlockRequest) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { + if x.TopicId != uint64(0) { + value := protoreflect.ValueOfUint64(x.TopicId) + if !f(fd_GetInferencesAtBlockRequest_topic_id, value) { + return + } + } + if x.BlockHeight != int64(0) { + value := protoreflect.ValueOfInt64(x.BlockHeight) + if !f(fd_GetInferencesAtBlockRequest_block_height, value) { + return + } + } +} + +// Has reports whether a field is populated. +// +// Some fields have the property of nullability where it is possible to +// distinguish between the default value of a field and whether the field +// was explicitly populated with the default value. Singular message fields, +// member fields of a oneof, and proto2 scalar fields are nullable. Such +// fields are populated only if explicitly set. +// +// In other cases (aside from the nullable cases above), +// a proto3 scalar field is populated if it contains a non-zero value, and +// a repeated field is populated if it is non-empty. +func (x *fastReflection_GetInferencesAtBlockRequest) Has(fd protoreflect.FieldDescriptor) bool { + switch fd.FullName() { + case "emissions.v8.GetInferencesAtBlockRequest.topic_id": + return x.TopicId != uint64(0) + case "emissions.v8.GetInferencesAtBlockRequest.block_height": + return x.BlockHeight != int64(0) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetInferencesAtBlockRequest")) + } + panic(fmt.Errorf("message emissions.v8.GetInferencesAtBlockRequest does not contain field %s", fd.FullName())) + } +} + +// Clear clears the field such that a subsequent Has call reports false. +// +// Clearing an extension field clears both the extension type and value +// associated with the given field number. +// +// Clear is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetInferencesAtBlockRequest) Clear(fd protoreflect.FieldDescriptor) { + switch fd.FullName() { + case "emissions.v8.GetInferencesAtBlockRequest.topic_id": + x.TopicId = uint64(0) + case "emissions.v8.GetInferencesAtBlockRequest.block_height": + x.BlockHeight = int64(0) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetInferencesAtBlockRequest")) + } + panic(fmt.Errorf("message emissions.v8.GetInferencesAtBlockRequest does not contain field %s", fd.FullName())) + } +} + +// Get retrieves the value for a field. +// +// For unpopulated scalars, it returns the default value, where +// the default value of a bytes scalar is guaranteed to be a copy. +// For unpopulated composite types, it returns an empty, read-only view +// of the value; to obtain a mutable reference, use Mutable. +func (x *fastReflection_GetInferencesAtBlockRequest) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { + switch descriptor.FullName() { + case "emissions.v8.GetInferencesAtBlockRequest.topic_id": + value := x.TopicId + return protoreflect.ValueOfUint64(value) + case "emissions.v8.GetInferencesAtBlockRequest.block_height": + value := x.BlockHeight + return protoreflect.ValueOfInt64(value) + default: + if descriptor.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetInferencesAtBlockRequest")) + } + panic(fmt.Errorf("message emissions.v8.GetInferencesAtBlockRequest does not contain field %s", descriptor.FullName())) + } +} + +// Set stores the value for a field. +// +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType. +// When setting a composite type, it is unspecified whether the stored value +// aliases the source's memory in any way. If the composite value is an +// empty, read-only value, then it panics. +// +// Set is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetInferencesAtBlockRequest) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { + switch fd.FullName() { + case "emissions.v8.GetInferencesAtBlockRequest.topic_id": + x.TopicId = value.Uint() + case "emissions.v8.GetInferencesAtBlockRequest.block_height": + x.BlockHeight = value.Int() + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetInferencesAtBlockRequest")) + } + panic(fmt.Errorf("message emissions.v8.GetInferencesAtBlockRequest does not contain field %s", fd.FullName())) + } +} + +// Mutable returns a mutable reference to a composite type. +// +// If the field is unpopulated, it may allocate a composite value. +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType +// if not already stored. +// It panics if the field does not contain a composite type. +// +// Mutable is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetInferencesAtBlockRequest) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.GetInferencesAtBlockRequest.topic_id": + panic(fmt.Errorf("field topic_id of message emissions.v8.GetInferencesAtBlockRequest is not mutable")) + case "emissions.v8.GetInferencesAtBlockRequest.block_height": + panic(fmt.Errorf("field block_height of message emissions.v8.GetInferencesAtBlockRequest is not mutable")) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetInferencesAtBlockRequest")) + } + panic(fmt.Errorf("message emissions.v8.GetInferencesAtBlockRequest does not contain field %s", fd.FullName())) + } +} + +// NewField returns a new value that is assignable to the field +// for the given descriptor. For scalars, this returns the default value. +// For lists, maps, and messages, this returns a new, empty, mutable value. +func (x *fastReflection_GetInferencesAtBlockRequest) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.GetInferencesAtBlockRequest.topic_id": + return protoreflect.ValueOfUint64(uint64(0)) + case "emissions.v8.GetInferencesAtBlockRequest.block_height": + return protoreflect.ValueOfInt64(int64(0)) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetInferencesAtBlockRequest")) + } + panic(fmt.Errorf("message emissions.v8.GetInferencesAtBlockRequest does not contain field %s", fd.FullName())) + } +} + +// WhichOneof reports which field within the oneof is populated, +// returning nil if none are populated. +// It panics if the oneof descriptor does not belong to this message. +func (x *fastReflection_GetInferencesAtBlockRequest) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { + switch d.FullName() { + default: + panic(fmt.Errorf("%s is not a oneof field in emissions.v8.GetInferencesAtBlockRequest", d.FullName())) + } + panic("unreachable") +} + +// GetUnknown retrieves the entire list of unknown fields. +// The caller may only mutate the contents of the RawFields +// if the mutated bytes are stored back into the message with SetUnknown. +func (x *fastReflection_GetInferencesAtBlockRequest) GetUnknown() protoreflect.RawFields { + return x.unknownFields +} + +// SetUnknown stores an entire list of unknown fields. +// The raw fields must be syntactically valid according to the wire format. +// An implementation may panic if this is not the case. +// Once stored, the caller must not mutate the content of the RawFields. +// An empty RawFields may be passed to clear the fields. +// +// SetUnknown is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetInferencesAtBlockRequest) SetUnknown(fields protoreflect.RawFields) { + x.unknownFields = fields +} + +// IsValid reports whether the message is valid. +// +// An invalid message is an empty, read-only value. +// +// An invalid message often corresponds to a nil pointer of the concrete +// message type, but the details are implementation dependent. +// Validity is not part of the protobuf data model, and may not +// be preserved in marshaling or other operations. +func (x *fastReflection_GetInferencesAtBlockRequest) IsValid() bool { + return x != nil +} + +// ProtoMethods returns optional fastReflectionFeature-path implementations of various operations. +// This method may return nil. +// +// The returned methods type is identical to +// "google.golang.org/protobuf/runtime/protoiface".Methods. +// Consult the protoiface package documentation for details. +func (x *fastReflection_GetInferencesAtBlockRequest) ProtoMethods() *protoiface.Methods { + size := func(input protoiface.SizeInput) protoiface.SizeOutput { + x := input.Message.Interface().(*GetInferencesAtBlockRequest) + if x == nil { + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: 0, + } + } + options := runtime.SizeInputToOptions(input) + _ = options + var n int + var l int + _ = l + if x.TopicId != 0 { + n += 1 + runtime.Sov(uint64(x.TopicId)) + } + if x.BlockHeight != 0 { + n += 1 + runtime.Sov(uint64(x.BlockHeight)) + } + if x.unknownFields != nil { + n += len(x.unknownFields) + } + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: n, + } + } + + marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { + x := input.Message.Interface().(*GetInferencesAtBlockRequest) + if x == nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + options := runtime.MarshalInputToOptions(input) + _ = options + size := options.Size(x) + dAtA := make([]byte, size) + i := len(dAtA) + _ = i + var l int + _ = l + if x.unknownFields != nil { + i -= len(x.unknownFields) + copy(dAtA[i:], x.unknownFields) + } + if x.BlockHeight != 0 { + i = runtime.EncodeVarint(dAtA, i, uint64(x.BlockHeight)) + i-- + dAtA[i] = 0x10 + } + if x.TopicId != 0 { + i = runtime.EncodeVarint(dAtA, i, uint64(x.TopicId)) + i-- + dAtA[i] = 0x8 + } + if input.Buf != nil { + input.Buf = append(input.Buf, dAtA...) + } else { + input.Buf = dAtA + } + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { + x := input.Message.Interface().(*GetInferencesAtBlockRequest) + if x == nil { + return protoiface.UnmarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Flags: input.Flags, + }, nil + } + options := runtime.UnmarshalInputToOptions(input) + _ = options + dAtA := input.Buf + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: GetInferencesAtBlockRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: GetInferencesAtBlockRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field TopicId", wireType) + } + x.TopicId = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + x.TopicId |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 2: + if wireType != 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field BlockHeight", wireType) + } + x.BlockHeight = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + x.BlockHeight |= int64(b&0x7F) << shift + if b < 0x80 { + break + } + } + default: + iNdEx = preIndex + skippy, err := runtime.Skip(dAtA[iNdEx:]) + if err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if (iNdEx + skippy) > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + if !options.DiscardUnknown { + x.unknownFields = append(x.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + } + iNdEx += skippy + } + } + + if iNdEx > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, nil + } + return &protoiface.Methods{ + NoUnkeyedLiterals: struct{}{}, + Flags: protoiface.SupportMarshalDeterministic | protoiface.SupportUnmarshalDiscardUnknown, + Size: size, + Marshal: marshal, + Unmarshal: unmarshal, + Merge: nil, + CheckInitialized: nil, + } +} + +var ( + md_GetInferencesAtBlockResponse protoreflect.MessageDescriptor + fd_GetInferencesAtBlockResponse_inferences protoreflect.FieldDescriptor +) + +func init() { + file_emissions_v8_query_proto_init() + md_GetInferencesAtBlockResponse = File_emissions_v8_query_proto.Messages().ByName("GetInferencesAtBlockResponse") + fd_GetInferencesAtBlockResponse_inferences = md_GetInferencesAtBlockResponse.Fields().ByName("inferences") +} + +var _ protoreflect.Message = (*fastReflection_GetInferencesAtBlockResponse)(nil) + +type fastReflection_GetInferencesAtBlockResponse GetInferencesAtBlockResponse + +func (x *GetInferencesAtBlockResponse) ProtoReflect() protoreflect.Message { + return (*fastReflection_GetInferencesAtBlockResponse)(x) +} + +func (x *GetInferencesAtBlockResponse) slowProtoReflect() protoreflect.Message { + mi := &file_emissions_v8_query_proto_msgTypes[75] + 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) +} + +var _fastReflection_GetInferencesAtBlockResponse_messageType fastReflection_GetInferencesAtBlockResponse_messageType +var _ protoreflect.MessageType = fastReflection_GetInferencesAtBlockResponse_messageType{} + +type fastReflection_GetInferencesAtBlockResponse_messageType struct{} + +func (x fastReflection_GetInferencesAtBlockResponse_messageType) Zero() protoreflect.Message { + return (*fastReflection_GetInferencesAtBlockResponse)(nil) +} +func (x fastReflection_GetInferencesAtBlockResponse_messageType) New() protoreflect.Message { + return new(fastReflection_GetInferencesAtBlockResponse) +} +func (x fastReflection_GetInferencesAtBlockResponse_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_GetInferencesAtBlockResponse +} + +// Descriptor returns message descriptor, which contains only the protobuf +// type information for the message. +func (x *fastReflection_GetInferencesAtBlockResponse) Descriptor() protoreflect.MessageDescriptor { + return md_GetInferencesAtBlockResponse +} + +// Type returns the message type, which encapsulates both Go and protobuf +// type information. If the Go type information is not needed, +// it is recommended that the message descriptor be used instead. +func (x *fastReflection_GetInferencesAtBlockResponse) Type() protoreflect.MessageType { + return _fastReflection_GetInferencesAtBlockResponse_messageType +} + +// New returns a newly allocated and mutable empty message. +func (x *fastReflection_GetInferencesAtBlockResponse) New() protoreflect.Message { + return new(fastReflection_GetInferencesAtBlockResponse) +} + +// Interface unwraps the message reflection interface and +// returns the underlying ProtoMessage interface. +func (x *fastReflection_GetInferencesAtBlockResponse) Interface() protoreflect.ProtoMessage { + return (*GetInferencesAtBlockResponse)(x) +} + +// Range iterates over every populated field in an undefined order, +// calling f for each field descriptor and value encountered. +// Range returns immediately if f returns false. +// While iterating, mutating operations may only be performed +// on the current field descriptor. +func (x *fastReflection_GetInferencesAtBlockResponse) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { + if x.Inferences != nil { + value := protoreflect.ValueOfMessage(x.Inferences.ProtoReflect()) + if !f(fd_GetInferencesAtBlockResponse_inferences, value) { + return + } + } +} + +// Has reports whether a field is populated. +// +// Some fields have the property of nullability where it is possible to +// distinguish between the default value of a field and whether the field +// was explicitly populated with the default value. Singular message fields, +// member fields of a oneof, and proto2 scalar fields are nullable. Such +// fields are populated only if explicitly set. +// +// In other cases (aside from the nullable cases above), +// a proto3 scalar field is populated if it contains a non-zero value, and +// a repeated field is populated if it is non-empty. +func (x *fastReflection_GetInferencesAtBlockResponse) Has(fd protoreflect.FieldDescriptor) bool { + switch fd.FullName() { + case "emissions.v8.GetInferencesAtBlockResponse.inferences": + return x.Inferences != nil + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetInferencesAtBlockResponse")) + } + panic(fmt.Errorf("message emissions.v8.GetInferencesAtBlockResponse does not contain field %s", fd.FullName())) + } +} + +// Clear clears the field such that a subsequent Has call reports false. +// +// Clearing an extension field clears both the extension type and value +// associated with the given field number. +// +// Clear is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetInferencesAtBlockResponse) Clear(fd protoreflect.FieldDescriptor) { + switch fd.FullName() { + case "emissions.v8.GetInferencesAtBlockResponse.inferences": + x.Inferences = nil + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetInferencesAtBlockResponse")) + } + panic(fmt.Errorf("message emissions.v8.GetInferencesAtBlockResponse does not contain field %s", fd.FullName())) + } +} + +// Get retrieves the value for a field. +// +// For unpopulated scalars, it returns the default value, where +// the default value of a bytes scalar is guaranteed to be a copy. +// For unpopulated composite types, it returns an empty, read-only view +// of the value; to obtain a mutable reference, use Mutable. +func (x *fastReflection_GetInferencesAtBlockResponse) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { + switch descriptor.FullName() { + case "emissions.v8.GetInferencesAtBlockResponse.inferences": + value := x.Inferences + return protoreflect.ValueOfMessage(value.ProtoReflect()) + default: + if descriptor.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetInferencesAtBlockResponse")) + } + panic(fmt.Errorf("message emissions.v8.GetInferencesAtBlockResponse does not contain field %s", descriptor.FullName())) + } +} + +// Set stores the value for a field. +// +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType. +// When setting a composite type, it is unspecified whether the stored value +// aliases the source's memory in any way. If the composite value is an +// empty, read-only value, then it panics. +// +// Set is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetInferencesAtBlockResponse) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { + switch fd.FullName() { + case "emissions.v8.GetInferencesAtBlockResponse.inferences": + x.Inferences = value.Message().Interface().(*v3.Inferences) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetInferencesAtBlockResponse")) + } + panic(fmt.Errorf("message emissions.v8.GetInferencesAtBlockResponse does not contain field %s", fd.FullName())) + } +} + +// Mutable returns a mutable reference to a composite type. +// +// If the field is unpopulated, it may allocate a composite value. +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType +// if not already stored. +// It panics if the field does not contain a composite type. +// +// Mutable is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetInferencesAtBlockResponse) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.GetInferencesAtBlockResponse.inferences": + if x.Inferences == nil { + x.Inferences = new(v3.Inferences) + } + return protoreflect.ValueOfMessage(x.Inferences.ProtoReflect()) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetInferencesAtBlockResponse")) + } + panic(fmt.Errorf("message emissions.v8.GetInferencesAtBlockResponse does not contain field %s", fd.FullName())) + } +} + +// NewField returns a new value that is assignable to the field +// for the given descriptor. For scalars, this returns the default value. +// For lists, maps, and messages, this returns a new, empty, mutable value. +func (x *fastReflection_GetInferencesAtBlockResponse) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.GetInferencesAtBlockResponse.inferences": + m := new(v3.Inferences) + return protoreflect.ValueOfMessage(m.ProtoReflect()) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetInferencesAtBlockResponse")) + } + panic(fmt.Errorf("message emissions.v8.GetInferencesAtBlockResponse does not contain field %s", fd.FullName())) + } +} + +// WhichOneof reports which field within the oneof is populated, +// returning nil if none are populated. +// It panics if the oneof descriptor does not belong to this message. +func (x *fastReflection_GetInferencesAtBlockResponse) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { + switch d.FullName() { + default: + panic(fmt.Errorf("%s is not a oneof field in emissions.v8.GetInferencesAtBlockResponse", d.FullName())) + } + panic("unreachable") +} + +// GetUnknown retrieves the entire list of unknown fields. +// The caller may only mutate the contents of the RawFields +// if the mutated bytes are stored back into the message with SetUnknown. +func (x *fastReflection_GetInferencesAtBlockResponse) GetUnknown() protoreflect.RawFields { + return x.unknownFields +} + +// SetUnknown stores an entire list of unknown fields. +// The raw fields must be syntactically valid according to the wire format. +// An implementation may panic if this is not the case. +// Once stored, the caller must not mutate the content of the RawFields. +// An empty RawFields may be passed to clear the fields. +// +// SetUnknown is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetInferencesAtBlockResponse) SetUnknown(fields protoreflect.RawFields) { + x.unknownFields = fields +} + +// IsValid reports whether the message is valid. +// +// An invalid message is an empty, read-only value. +// +// An invalid message often corresponds to a nil pointer of the concrete +// message type, but the details are implementation dependent. +// Validity is not part of the protobuf data model, and may not +// be preserved in marshaling or other operations. +func (x *fastReflection_GetInferencesAtBlockResponse) IsValid() bool { + return x != nil +} + +// ProtoMethods returns optional fastReflectionFeature-path implementations of various operations. +// This method may return nil. +// +// The returned methods type is identical to +// "google.golang.org/protobuf/runtime/protoiface".Methods. +// Consult the protoiface package documentation for details. +func (x *fastReflection_GetInferencesAtBlockResponse) ProtoMethods() *protoiface.Methods { + size := func(input protoiface.SizeInput) protoiface.SizeOutput { + x := input.Message.Interface().(*GetInferencesAtBlockResponse) + if x == nil { + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: 0, + } + } + options := runtime.SizeInputToOptions(input) + _ = options + var n int + var l int + _ = l + if x.Inferences != nil { + l = options.Size(x.Inferences) + n += 1 + l + runtime.Sov(uint64(l)) + } + if x.unknownFields != nil { + n += len(x.unknownFields) + } + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: n, + } + } + + marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { + x := input.Message.Interface().(*GetInferencesAtBlockResponse) + if x == nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + options := runtime.MarshalInputToOptions(input) + _ = options + size := options.Size(x) + dAtA := make([]byte, size) + i := len(dAtA) + _ = i + var l int + _ = l + if x.unknownFields != nil { + i -= len(x.unknownFields) + copy(dAtA[i:], x.unknownFields) + } + if x.Inferences != nil { + encoded, err := options.Marshal(x.Inferences) + if err != nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = runtime.EncodeVarint(dAtA, i, uint64(len(encoded))) + i-- + dAtA[i] = 0xa + } + if input.Buf != nil { + input.Buf = append(input.Buf, dAtA...) + } else { + input.Buf = dAtA + } + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { + x := input.Message.Interface().(*GetInferencesAtBlockResponse) + if x == nil { + return protoiface.UnmarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Flags: input.Flags, + }, nil + } + options := runtime.UnmarshalInputToOptions(input) + _ = options + dAtA := input.Buf + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: GetInferencesAtBlockResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: GetInferencesAtBlockResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Inferences", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + if x.Inferences == nil { + x.Inferences = &v3.Inferences{} + } + if err := options.Unmarshal(dAtA[iNdEx:postIndex], x.Inferences); err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := runtime.Skip(dAtA[iNdEx:]) + if err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if (iNdEx + skippy) > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + if !options.DiscardUnknown { + x.unknownFields = append(x.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + } + iNdEx += skippy + } + } + + if iNdEx > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, nil + } + return &protoiface.Methods{ + NoUnkeyedLiterals: struct{}{}, + Flags: protoiface.SupportMarshalDeterministic | protoiface.SupportUnmarshalDiscardUnknown, + Size: size, + Marshal: marshal, + Unmarshal: unmarshal, + Merge: nil, + CheckInitialized: nil, + } +} + +var ( + md_GetLatestTopicInferencesRequest protoreflect.MessageDescriptor + fd_GetLatestTopicInferencesRequest_topic_id protoreflect.FieldDescriptor +) + +func init() { + file_emissions_v8_query_proto_init() + md_GetLatestTopicInferencesRequest = File_emissions_v8_query_proto.Messages().ByName("GetLatestTopicInferencesRequest") + fd_GetLatestTopicInferencesRequest_topic_id = md_GetLatestTopicInferencesRequest.Fields().ByName("topic_id") +} + +var _ protoreflect.Message = (*fastReflection_GetLatestTopicInferencesRequest)(nil) + +type fastReflection_GetLatestTopicInferencesRequest GetLatestTopicInferencesRequest + +func (x *GetLatestTopicInferencesRequest) ProtoReflect() protoreflect.Message { + return (*fastReflection_GetLatestTopicInferencesRequest)(x) +} + +func (x *GetLatestTopicInferencesRequest) slowProtoReflect() protoreflect.Message { + mi := &file_emissions_v8_query_proto_msgTypes[76] + 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) +} + +var _fastReflection_GetLatestTopicInferencesRequest_messageType fastReflection_GetLatestTopicInferencesRequest_messageType +var _ protoreflect.MessageType = fastReflection_GetLatestTopicInferencesRequest_messageType{} + +type fastReflection_GetLatestTopicInferencesRequest_messageType struct{} + +func (x fastReflection_GetLatestTopicInferencesRequest_messageType) Zero() protoreflect.Message { + return (*fastReflection_GetLatestTopicInferencesRequest)(nil) +} +func (x fastReflection_GetLatestTopicInferencesRequest_messageType) New() protoreflect.Message { + return new(fastReflection_GetLatestTopicInferencesRequest) +} +func (x fastReflection_GetLatestTopicInferencesRequest_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_GetLatestTopicInferencesRequest +} + +// Descriptor returns message descriptor, which contains only the protobuf +// type information for the message. +func (x *fastReflection_GetLatestTopicInferencesRequest) Descriptor() protoreflect.MessageDescriptor { + return md_GetLatestTopicInferencesRequest +} + +// Type returns the message type, which encapsulates both Go and protobuf +// type information. If the Go type information is not needed, +// it is recommended that the message descriptor be used instead. +func (x *fastReflection_GetLatestTopicInferencesRequest) Type() protoreflect.MessageType { + return _fastReflection_GetLatestTopicInferencesRequest_messageType +} + +// New returns a newly allocated and mutable empty message. +func (x *fastReflection_GetLatestTopicInferencesRequest) New() protoreflect.Message { + return new(fastReflection_GetLatestTopicInferencesRequest) +} + +// Interface unwraps the message reflection interface and +// returns the underlying ProtoMessage interface. +func (x *fastReflection_GetLatestTopicInferencesRequest) Interface() protoreflect.ProtoMessage { + return (*GetLatestTopicInferencesRequest)(x) +} + +// Range iterates over every populated field in an undefined order, +// calling f for each field descriptor and value encountered. +// Range returns immediately if f returns false. +// While iterating, mutating operations may only be performed +// on the current field descriptor. +func (x *fastReflection_GetLatestTopicInferencesRequest) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { + if x.TopicId != uint64(0) { + value := protoreflect.ValueOfUint64(x.TopicId) + if !f(fd_GetLatestTopicInferencesRequest_topic_id, value) { + return + } + } +} + +// Has reports whether a field is populated. +// +// Some fields have the property of nullability where it is possible to +// distinguish between the default value of a field and whether the field +// was explicitly populated with the default value. Singular message fields, +// member fields of a oneof, and proto2 scalar fields are nullable. Such +// fields are populated only if explicitly set. +// +// In other cases (aside from the nullable cases above), +// a proto3 scalar field is populated if it contains a non-zero value, and +// a repeated field is populated if it is non-empty. +func (x *fastReflection_GetLatestTopicInferencesRequest) Has(fd protoreflect.FieldDescriptor) bool { + switch fd.FullName() { + case "emissions.v8.GetLatestTopicInferencesRequest.topic_id": + return x.TopicId != uint64(0) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetLatestTopicInferencesRequest")) + } + panic(fmt.Errorf("message emissions.v8.GetLatestTopicInferencesRequest does not contain field %s", fd.FullName())) + } +} + +// Clear clears the field such that a subsequent Has call reports false. +// +// Clearing an extension field clears both the extension type and value +// associated with the given field number. +// +// Clear is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetLatestTopicInferencesRequest) Clear(fd protoreflect.FieldDescriptor) { + switch fd.FullName() { + case "emissions.v8.GetLatestTopicInferencesRequest.topic_id": + x.TopicId = uint64(0) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetLatestTopicInferencesRequest")) + } + panic(fmt.Errorf("message emissions.v8.GetLatestTopicInferencesRequest does not contain field %s", fd.FullName())) + } +} + +// Get retrieves the value for a field. +// +// For unpopulated scalars, it returns the default value, where +// the default value of a bytes scalar is guaranteed to be a copy. +// For unpopulated composite types, it returns an empty, read-only view +// of the value; to obtain a mutable reference, use Mutable. +func (x *fastReflection_GetLatestTopicInferencesRequest) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { + switch descriptor.FullName() { + case "emissions.v8.GetLatestTopicInferencesRequest.topic_id": + value := x.TopicId + return protoreflect.ValueOfUint64(value) + default: + if descriptor.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetLatestTopicInferencesRequest")) + } + panic(fmt.Errorf("message emissions.v8.GetLatestTopicInferencesRequest does not contain field %s", descriptor.FullName())) + } +} + +// Set stores the value for a field. +// +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType. +// When setting a composite type, it is unspecified whether the stored value +// aliases the source's memory in any way. If the composite value is an +// empty, read-only value, then it panics. +// +// Set is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetLatestTopicInferencesRequest) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { + switch fd.FullName() { + case "emissions.v8.GetLatestTopicInferencesRequest.topic_id": + x.TopicId = value.Uint() + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetLatestTopicInferencesRequest")) + } + panic(fmt.Errorf("message emissions.v8.GetLatestTopicInferencesRequest does not contain field %s", fd.FullName())) + } +} + +// Mutable returns a mutable reference to a composite type. +// +// If the field is unpopulated, it may allocate a composite value. +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType +// if not already stored. +// It panics if the field does not contain a composite type. +// +// Mutable is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetLatestTopicInferencesRequest) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.GetLatestTopicInferencesRequest.topic_id": + panic(fmt.Errorf("field topic_id of message emissions.v8.GetLatestTopicInferencesRequest is not mutable")) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetLatestTopicInferencesRequest")) + } + panic(fmt.Errorf("message emissions.v8.GetLatestTopicInferencesRequest does not contain field %s", fd.FullName())) + } +} + +// NewField returns a new value that is assignable to the field +// for the given descriptor. For scalars, this returns the default value. +// For lists, maps, and messages, this returns a new, empty, mutable value. +func (x *fastReflection_GetLatestTopicInferencesRequest) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.GetLatestTopicInferencesRequest.topic_id": + return protoreflect.ValueOfUint64(uint64(0)) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetLatestTopicInferencesRequest")) + } + panic(fmt.Errorf("message emissions.v8.GetLatestTopicInferencesRequest does not contain field %s", fd.FullName())) + } +} + +// WhichOneof reports which field within the oneof is populated, +// returning nil if none are populated. +// It panics if the oneof descriptor does not belong to this message. +func (x *fastReflection_GetLatestTopicInferencesRequest) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { + switch d.FullName() { + default: + panic(fmt.Errorf("%s is not a oneof field in emissions.v8.GetLatestTopicInferencesRequest", d.FullName())) + } + panic("unreachable") +} + +// GetUnknown retrieves the entire list of unknown fields. +// The caller may only mutate the contents of the RawFields +// if the mutated bytes are stored back into the message with SetUnknown. +func (x *fastReflection_GetLatestTopicInferencesRequest) GetUnknown() protoreflect.RawFields { + return x.unknownFields +} + +// SetUnknown stores an entire list of unknown fields. +// The raw fields must be syntactically valid according to the wire format. +// An implementation may panic if this is not the case. +// Once stored, the caller must not mutate the content of the RawFields. +// An empty RawFields may be passed to clear the fields. +// +// SetUnknown is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetLatestTopicInferencesRequest) SetUnknown(fields protoreflect.RawFields) { + x.unknownFields = fields +} + +// IsValid reports whether the message is valid. +// +// An invalid message is an empty, read-only value. +// +// An invalid message often corresponds to a nil pointer of the concrete +// message type, but the details are implementation dependent. +// Validity is not part of the protobuf data model, and may not +// be preserved in marshaling or other operations. +func (x *fastReflection_GetLatestTopicInferencesRequest) IsValid() bool { + return x != nil +} + +// ProtoMethods returns optional fastReflectionFeature-path implementations of various operations. +// This method may return nil. +// +// The returned methods type is identical to +// "google.golang.org/protobuf/runtime/protoiface".Methods. +// Consult the protoiface package documentation for details. +func (x *fastReflection_GetLatestTopicInferencesRequest) ProtoMethods() *protoiface.Methods { + size := func(input protoiface.SizeInput) protoiface.SizeOutput { + x := input.Message.Interface().(*GetLatestTopicInferencesRequest) + if x == nil { + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: 0, + } + } + options := runtime.SizeInputToOptions(input) + _ = options + var n int + var l int + _ = l + if x.TopicId != 0 { + n += 1 + runtime.Sov(uint64(x.TopicId)) + } + if x.unknownFields != nil { + n += len(x.unknownFields) + } + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: n, + } + } + + marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { + x := input.Message.Interface().(*GetLatestTopicInferencesRequest) + if x == nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + options := runtime.MarshalInputToOptions(input) + _ = options + size := options.Size(x) + dAtA := make([]byte, size) + i := len(dAtA) + _ = i + var l int + _ = l + if x.unknownFields != nil { + i -= len(x.unknownFields) + copy(dAtA[i:], x.unknownFields) + } + if x.TopicId != 0 { + i = runtime.EncodeVarint(dAtA, i, uint64(x.TopicId)) + i-- + dAtA[i] = 0x8 + } + if input.Buf != nil { + input.Buf = append(input.Buf, dAtA...) + } else { + input.Buf = dAtA + } + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { + x := input.Message.Interface().(*GetLatestTopicInferencesRequest) + if x == nil { + return protoiface.UnmarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Flags: input.Flags, + }, nil + } + options := runtime.UnmarshalInputToOptions(input) + _ = options + dAtA := input.Buf + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: GetLatestTopicInferencesRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: GetLatestTopicInferencesRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field TopicId", wireType) + } + x.TopicId = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + x.TopicId |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + default: + iNdEx = preIndex + skippy, err := runtime.Skip(dAtA[iNdEx:]) + if err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if (iNdEx + skippy) > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + if !options.DiscardUnknown { + x.unknownFields = append(x.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + } + iNdEx += skippy + } + } + + if iNdEx > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, nil + } + return &protoiface.Methods{ + NoUnkeyedLiterals: struct{}{}, + Flags: protoiface.SupportMarshalDeterministic | protoiface.SupportUnmarshalDiscardUnknown, + Size: size, + Marshal: marshal, + Unmarshal: unmarshal, + Merge: nil, + CheckInitialized: nil, + } +} + +var ( + md_GetLatestTopicInferencesResponse protoreflect.MessageDescriptor + fd_GetLatestTopicInferencesResponse_inferences protoreflect.FieldDescriptor + fd_GetLatestTopicInferencesResponse_block_height protoreflect.FieldDescriptor +) + +func init() { + file_emissions_v8_query_proto_init() + md_GetLatestTopicInferencesResponse = File_emissions_v8_query_proto.Messages().ByName("GetLatestTopicInferencesResponse") + fd_GetLatestTopicInferencesResponse_inferences = md_GetLatestTopicInferencesResponse.Fields().ByName("inferences") + fd_GetLatestTopicInferencesResponse_block_height = md_GetLatestTopicInferencesResponse.Fields().ByName("block_height") +} + +var _ protoreflect.Message = (*fastReflection_GetLatestTopicInferencesResponse)(nil) + +type fastReflection_GetLatestTopicInferencesResponse GetLatestTopicInferencesResponse + +func (x *GetLatestTopicInferencesResponse) ProtoReflect() protoreflect.Message { + return (*fastReflection_GetLatestTopicInferencesResponse)(x) +} + +func (x *GetLatestTopicInferencesResponse) slowProtoReflect() protoreflect.Message { + mi := &file_emissions_v8_query_proto_msgTypes[77] + 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) +} + +var _fastReflection_GetLatestTopicInferencesResponse_messageType fastReflection_GetLatestTopicInferencesResponse_messageType +var _ protoreflect.MessageType = fastReflection_GetLatestTopicInferencesResponse_messageType{} + +type fastReflection_GetLatestTopicInferencesResponse_messageType struct{} + +func (x fastReflection_GetLatestTopicInferencesResponse_messageType) Zero() protoreflect.Message { + return (*fastReflection_GetLatestTopicInferencesResponse)(nil) +} +func (x fastReflection_GetLatestTopicInferencesResponse_messageType) New() protoreflect.Message { + return new(fastReflection_GetLatestTopicInferencesResponse) +} +func (x fastReflection_GetLatestTopicInferencesResponse_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_GetLatestTopicInferencesResponse +} + +// Descriptor returns message descriptor, which contains only the protobuf +// type information for the message. +func (x *fastReflection_GetLatestTopicInferencesResponse) Descriptor() protoreflect.MessageDescriptor { + return md_GetLatestTopicInferencesResponse +} + +// Type returns the message type, which encapsulates both Go and protobuf +// type information. If the Go type information is not needed, +// it is recommended that the message descriptor be used instead. +func (x *fastReflection_GetLatestTopicInferencesResponse) Type() protoreflect.MessageType { + return _fastReflection_GetLatestTopicInferencesResponse_messageType +} + +// New returns a newly allocated and mutable empty message. +func (x *fastReflection_GetLatestTopicInferencesResponse) New() protoreflect.Message { + return new(fastReflection_GetLatestTopicInferencesResponse) +} + +// Interface unwraps the message reflection interface and +// returns the underlying ProtoMessage interface. +func (x *fastReflection_GetLatestTopicInferencesResponse) Interface() protoreflect.ProtoMessage { + return (*GetLatestTopicInferencesResponse)(x) +} + +// Range iterates over every populated field in an undefined order, +// calling f for each field descriptor and value encountered. +// Range returns immediately if f returns false. +// While iterating, mutating operations may only be performed +// on the current field descriptor. +func (x *fastReflection_GetLatestTopicInferencesResponse) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { + if x.Inferences != nil { + value := protoreflect.ValueOfMessage(x.Inferences.ProtoReflect()) + if !f(fd_GetLatestTopicInferencesResponse_inferences, value) { + return + } + } + if x.BlockHeight != int64(0) { + value := protoreflect.ValueOfInt64(x.BlockHeight) + if !f(fd_GetLatestTopicInferencesResponse_block_height, value) { + return + } + } +} + +// Has reports whether a field is populated. +// +// Some fields have the property of nullability where it is possible to +// distinguish between the default value of a field and whether the field +// was explicitly populated with the default value. Singular message fields, +// member fields of a oneof, and proto2 scalar fields are nullable. Such +// fields are populated only if explicitly set. +// +// In other cases (aside from the nullable cases above), +// a proto3 scalar field is populated if it contains a non-zero value, and +// a repeated field is populated if it is non-empty. +func (x *fastReflection_GetLatestTopicInferencesResponse) Has(fd protoreflect.FieldDescriptor) bool { + switch fd.FullName() { + case "emissions.v8.GetLatestTopicInferencesResponse.inferences": + return x.Inferences != nil + case "emissions.v8.GetLatestTopicInferencesResponse.block_height": + return x.BlockHeight != int64(0) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetLatestTopicInferencesResponse")) + } + panic(fmt.Errorf("message emissions.v8.GetLatestTopicInferencesResponse does not contain field %s", fd.FullName())) + } +} + +// Clear clears the field such that a subsequent Has call reports false. +// +// Clearing an extension field clears both the extension type and value +// associated with the given field number. +// +// Clear is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetLatestTopicInferencesResponse) Clear(fd protoreflect.FieldDescriptor) { + switch fd.FullName() { + case "emissions.v8.GetLatestTopicInferencesResponse.inferences": + x.Inferences = nil + case "emissions.v8.GetLatestTopicInferencesResponse.block_height": + x.BlockHeight = int64(0) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetLatestTopicInferencesResponse")) + } + panic(fmt.Errorf("message emissions.v8.GetLatestTopicInferencesResponse does not contain field %s", fd.FullName())) + } +} + +// Get retrieves the value for a field. +// +// For unpopulated scalars, it returns the default value, where +// the default value of a bytes scalar is guaranteed to be a copy. +// For unpopulated composite types, it returns an empty, read-only view +// of the value; to obtain a mutable reference, use Mutable. +func (x *fastReflection_GetLatestTopicInferencesResponse) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { + switch descriptor.FullName() { + case "emissions.v8.GetLatestTopicInferencesResponse.inferences": + value := x.Inferences + return protoreflect.ValueOfMessage(value.ProtoReflect()) + case "emissions.v8.GetLatestTopicInferencesResponse.block_height": + value := x.BlockHeight + return protoreflect.ValueOfInt64(value) + default: + if descriptor.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetLatestTopicInferencesResponse")) + } + panic(fmt.Errorf("message emissions.v8.GetLatestTopicInferencesResponse does not contain field %s", descriptor.FullName())) + } +} + +// Set stores the value for a field. +// +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType. +// When setting a composite type, it is unspecified whether the stored value +// aliases the source's memory in any way. If the composite value is an +// empty, read-only value, then it panics. +// +// Set is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetLatestTopicInferencesResponse) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { + switch fd.FullName() { + case "emissions.v8.GetLatestTopicInferencesResponse.inferences": + x.Inferences = value.Message().Interface().(*v3.Inferences) + case "emissions.v8.GetLatestTopicInferencesResponse.block_height": + x.BlockHeight = value.Int() + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetLatestTopicInferencesResponse")) + } + panic(fmt.Errorf("message emissions.v8.GetLatestTopicInferencesResponse does not contain field %s", fd.FullName())) + } +} + +// Mutable returns a mutable reference to a composite type. +// +// If the field is unpopulated, it may allocate a composite value. +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType +// if not already stored. +// It panics if the field does not contain a composite type. +// +// Mutable is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetLatestTopicInferencesResponse) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.GetLatestTopicInferencesResponse.inferences": + if x.Inferences == nil { + x.Inferences = new(v3.Inferences) + } + return protoreflect.ValueOfMessage(x.Inferences.ProtoReflect()) + case "emissions.v8.GetLatestTopicInferencesResponse.block_height": + panic(fmt.Errorf("field block_height of message emissions.v8.GetLatestTopicInferencesResponse is not mutable")) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetLatestTopicInferencesResponse")) + } + panic(fmt.Errorf("message emissions.v8.GetLatestTopicInferencesResponse does not contain field %s", fd.FullName())) + } +} + +// NewField returns a new value that is assignable to the field +// for the given descriptor. For scalars, this returns the default value. +// For lists, maps, and messages, this returns a new, empty, mutable value. +func (x *fastReflection_GetLatestTopicInferencesResponse) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.GetLatestTopicInferencesResponse.inferences": + m := new(v3.Inferences) + return protoreflect.ValueOfMessage(m.ProtoReflect()) + case "emissions.v8.GetLatestTopicInferencesResponse.block_height": + return protoreflect.ValueOfInt64(int64(0)) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetLatestTopicInferencesResponse")) + } + panic(fmt.Errorf("message emissions.v8.GetLatestTopicInferencesResponse does not contain field %s", fd.FullName())) + } +} + +// WhichOneof reports which field within the oneof is populated, +// returning nil if none are populated. +// It panics if the oneof descriptor does not belong to this message. +func (x *fastReflection_GetLatestTopicInferencesResponse) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { + switch d.FullName() { + default: + panic(fmt.Errorf("%s is not a oneof field in emissions.v8.GetLatestTopicInferencesResponse", d.FullName())) + } + panic("unreachable") +} + +// GetUnknown retrieves the entire list of unknown fields. +// The caller may only mutate the contents of the RawFields +// if the mutated bytes are stored back into the message with SetUnknown. +func (x *fastReflection_GetLatestTopicInferencesResponse) GetUnknown() protoreflect.RawFields { + return x.unknownFields +} + +// SetUnknown stores an entire list of unknown fields. +// The raw fields must be syntactically valid according to the wire format. +// An implementation may panic if this is not the case. +// Once stored, the caller must not mutate the content of the RawFields. +// An empty RawFields may be passed to clear the fields. +// +// SetUnknown is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetLatestTopicInferencesResponse) SetUnknown(fields protoreflect.RawFields) { + x.unknownFields = fields +} + +// IsValid reports whether the message is valid. +// +// An invalid message is an empty, read-only value. +// +// An invalid message often corresponds to a nil pointer of the concrete +// message type, but the details are implementation dependent. +// Validity is not part of the protobuf data model, and may not +// be preserved in marshaling or other operations. +func (x *fastReflection_GetLatestTopicInferencesResponse) IsValid() bool { + return x != nil +} + +// ProtoMethods returns optional fastReflectionFeature-path implementations of various operations. +// This method may return nil. +// +// The returned methods type is identical to +// "google.golang.org/protobuf/runtime/protoiface".Methods. +// Consult the protoiface package documentation for details. +func (x *fastReflection_GetLatestTopicInferencesResponse) ProtoMethods() *protoiface.Methods { + size := func(input protoiface.SizeInput) protoiface.SizeOutput { + x := input.Message.Interface().(*GetLatestTopicInferencesResponse) + if x == nil { + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: 0, + } + } + options := runtime.SizeInputToOptions(input) + _ = options + var n int + var l int + _ = l + if x.Inferences != nil { + l = options.Size(x.Inferences) + n += 1 + l + runtime.Sov(uint64(l)) + } + if x.BlockHeight != 0 { + n += 1 + runtime.Sov(uint64(x.BlockHeight)) + } + if x.unknownFields != nil { + n += len(x.unknownFields) + } + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: n, + } + } + + marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { + x := input.Message.Interface().(*GetLatestTopicInferencesResponse) + if x == nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + options := runtime.MarshalInputToOptions(input) + _ = options + size := options.Size(x) + dAtA := make([]byte, size) + i := len(dAtA) + _ = i + var l int + _ = l + if x.unknownFields != nil { + i -= len(x.unknownFields) + copy(dAtA[i:], x.unknownFields) + } + if x.BlockHeight != 0 { + i = runtime.EncodeVarint(dAtA, i, uint64(x.BlockHeight)) + i-- + dAtA[i] = 0x10 + } + if x.Inferences != nil { + encoded, err := options.Marshal(x.Inferences) + if err != nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = runtime.EncodeVarint(dAtA, i, uint64(len(encoded))) + i-- + dAtA[i] = 0xa + } + if input.Buf != nil { + input.Buf = append(input.Buf, dAtA...) + } else { + input.Buf = dAtA + } + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { + x := input.Message.Interface().(*GetLatestTopicInferencesResponse) + if x == nil { + return protoiface.UnmarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Flags: input.Flags, + }, nil + } + options := runtime.UnmarshalInputToOptions(input) + _ = options + dAtA := input.Buf + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: GetLatestTopicInferencesResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: GetLatestTopicInferencesResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Inferences", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + if x.Inferences == nil { + x.Inferences = &v3.Inferences{} + } + if err := options.Unmarshal(dAtA[iNdEx:postIndex], x.Inferences); err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + iNdEx = postIndex + case 2: + if wireType != 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field BlockHeight", wireType) + } + x.BlockHeight = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + x.BlockHeight |= int64(b&0x7F) << shift + if b < 0x80 { + break + } + } + default: + iNdEx = preIndex + skippy, err := runtime.Skip(dAtA[iNdEx:]) + if err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if (iNdEx + skippy) > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + if !options.DiscardUnknown { + x.unknownFields = append(x.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + } + iNdEx += skippy + } + } + + if iNdEx > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, nil + } + return &protoiface.Methods{ + NoUnkeyedLiterals: struct{}{}, + Flags: protoiface.SupportMarshalDeterministic | protoiface.SupportUnmarshalDiscardUnknown, + Size: size, + Marshal: marshal, + Unmarshal: unmarshal, + Merge: nil, + CheckInitialized: nil, + } +} + +var ( + md_GetForecastsAtBlockRequest protoreflect.MessageDescriptor + fd_GetForecastsAtBlockRequest_topic_id protoreflect.FieldDescriptor + fd_GetForecastsAtBlockRequest_block_height protoreflect.FieldDescriptor +) + +func init() { + file_emissions_v8_query_proto_init() + md_GetForecastsAtBlockRequest = File_emissions_v8_query_proto.Messages().ByName("GetForecastsAtBlockRequest") + fd_GetForecastsAtBlockRequest_topic_id = md_GetForecastsAtBlockRequest.Fields().ByName("topic_id") + fd_GetForecastsAtBlockRequest_block_height = md_GetForecastsAtBlockRequest.Fields().ByName("block_height") +} + +var _ protoreflect.Message = (*fastReflection_GetForecastsAtBlockRequest)(nil) + +type fastReflection_GetForecastsAtBlockRequest GetForecastsAtBlockRequest + +func (x *GetForecastsAtBlockRequest) ProtoReflect() protoreflect.Message { + return (*fastReflection_GetForecastsAtBlockRequest)(x) +} + +func (x *GetForecastsAtBlockRequest) slowProtoReflect() protoreflect.Message { + mi := &file_emissions_v8_query_proto_msgTypes[78] + 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) +} + +var _fastReflection_GetForecastsAtBlockRequest_messageType fastReflection_GetForecastsAtBlockRequest_messageType +var _ protoreflect.MessageType = fastReflection_GetForecastsAtBlockRequest_messageType{} + +type fastReflection_GetForecastsAtBlockRequest_messageType struct{} + +func (x fastReflection_GetForecastsAtBlockRequest_messageType) Zero() protoreflect.Message { + return (*fastReflection_GetForecastsAtBlockRequest)(nil) +} +func (x fastReflection_GetForecastsAtBlockRequest_messageType) New() protoreflect.Message { + return new(fastReflection_GetForecastsAtBlockRequest) +} +func (x fastReflection_GetForecastsAtBlockRequest_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_GetForecastsAtBlockRequest +} + +// Descriptor returns message descriptor, which contains only the protobuf +// type information for the message. +func (x *fastReflection_GetForecastsAtBlockRequest) Descriptor() protoreflect.MessageDescriptor { + return md_GetForecastsAtBlockRequest +} + +// Type returns the message type, which encapsulates both Go and protobuf +// type information. If the Go type information is not needed, +// it is recommended that the message descriptor be used instead. +func (x *fastReflection_GetForecastsAtBlockRequest) Type() protoreflect.MessageType { + return _fastReflection_GetForecastsAtBlockRequest_messageType +} + +// New returns a newly allocated and mutable empty message. +func (x *fastReflection_GetForecastsAtBlockRequest) New() protoreflect.Message { + return new(fastReflection_GetForecastsAtBlockRequest) +} + +// Interface unwraps the message reflection interface and +// returns the underlying ProtoMessage interface. +func (x *fastReflection_GetForecastsAtBlockRequest) Interface() protoreflect.ProtoMessage { + return (*GetForecastsAtBlockRequest)(x) +} + +// Range iterates over every populated field in an undefined order, +// calling f for each field descriptor and value encountered. +// Range returns immediately if f returns false. +// While iterating, mutating operations may only be performed +// on the current field descriptor. +func (x *fastReflection_GetForecastsAtBlockRequest) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { + if x.TopicId != uint64(0) { + value := protoreflect.ValueOfUint64(x.TopicId) + if !f(fd_GetForecastsAtBlockRequest_topic_id, value) { + return + } + } + if x.BlockHeight != int64(0) { + value := protoreflect.ValueOfInt64(x.BlockHeight) + if !f(fd_GetForecastsAtBlockRequest_block_height, value) { + return + } + } +} + +// Has reports whether a field is populated. +// +// Some fields have the property of nullability where it is possible to +// distinguish between the default value of a field and whether the field +// was explicitly populated with the default value. Singular message fields, +// member fields of a oneof, and proto2 scalar fields are nullable. Such +// fields are populated only if explicitly set. +// +// In other cases (aside from the nullable cases above), +// a proto3 scalar field is populated if it contains a non-zero value, and +// a repeated field is populated if it is non-empty. +func (x *fastReflection_GetForecastsAtBlockRequest) Has(fd protoreflect.FieldDescriptor) bool { + switch fd.FullName() { + case "emissions.v8.GetForecastsAtBlockRequest.topic_id": + return x.TopicId != uint64(0) + case "emissions.v8.GetForecastsAtBlockRequest.block_height": + return x.BlockHeight != int64(0) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetForecastsAtBlockRequest")) + } + panic(fmt.Errorf("message emissions.v8.GetForecastsAtBlockRequest does not contain field %s", fd.FullName())) + } +} + +// Clear clears the field such that a subsequent Has call reports false. +// +// Clearing an extension field clears both the extension type and value +// associated with the given field number. +// +// Clear is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetForecastsAtBlockRequest) Clear(fd protoreflect.FieldDescriptor) { + switch fd.FullName() { + case "emissions.v8.GetForecastsAtBlockRequest.topic_id": + x.TopicId = uint64(0) + case "emissions.v8.GetForecastsAtBlockRequest.block_height": + x.BlockHeight = int64(0) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetForecastsAtBlockRequest")) + } + panic(fmt.Errorf("message emissions.v8.GetForecastsAtBlockRequest does not contain field %s", fd.FullName())) + } +} + +// Get retrieves the value for a field. +// +// For unpopulated scalars, it returns the default value, where +// the default value of a bytes scalar is guaranteed to be a copy. +// For unpopulated composite types, it returns an empty, read-only view +// of the value; to obtain a mutable reference, use Mutable. +func (x *fastReflection_GetForecastsAtBlockRequest) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { + switch descriptor.FullName() { + case "emissions.v8.GetForecastsAtBlockRequest.topic_id": + value := x.TopicId + return protoreflect.ValueOfUint64(value) + case "emissions.v8.GetForecastsAtBlockRequest.block_height": + value := x.BlockHeight + return protoreflect.ValueOfInt64(value) + default: + if descriptor.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetForecastsAtBlockRequest")) + } + panic(fmt.Errorf("message emissions.v8.GetForecastsAtBlockRequest does not contain field %s", descriptor.FullName())) + } +} + +// Set stores the value for a field. +// +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType. +// When setting a composite type, it is unspecified whether the stored value +// aliases the source's memory in any way. If the composite value is an +// empty, read-only value, then it panics. +// +// Set is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetForecastsAtBlockRequest) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { + switch fd.FullName() { + case "emissions.v8.GetForecastsAtBlockRequest.topic_id": + x.TopicId = value.Uint() + case "emissions.v8.GetForecastsAtBlockRequest.block_height": + x.BlockHeight = value.Int() + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetForecastsAtBlockRequest")) + } + panic(fmt.Errorf("message emissions.v8.GetForecastsAtBlockRequest does not contain field %s", fd.FullName())) + } +} + +// Mutable returns a mutable reference to a composite type. +// +// If the field is unpopulated, it may allocate a composite value. +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType +// if not already stored. +// It panics if the field does not contain a composite type. +// +// Mutable is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetForecastsAtBlockRequest) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.GetForecastsAtBlockRequest.topic_id": + panic(fmt.Errorf("field topic_id of message emissions.v8.GetForecastsAtBlockRequest is not mutable")) + case "emissions.v8.GetForecastsAtBlockRequest.block_height": + panic(fmt.Errorf("field block_height of message emissions.v8.GetForecastsAtBlockRequest is not mutable")) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetForecastsAtBlockRequest")) + } + panic(fmt.Errorf("message emissions.v8.GetForecastsAtBlockRequest does not contain field %s", fd.FullName())) + } +} + +// NewField returns a new value that is assignable to the field +// for the given descriptor. For scalars, this returns the default value. +// For lists, maps, and messages, this returns a new, empty, mutable value. +func (x *fastReflection_GetForecastsAtBlockRequest) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.GetForecastsAtBlockRequest.topic_id": + return protoreflect.ValueOfUint64(uint64(0)) + case "emissions.v8.GetForecastsAtBlockRequest.block_height": + return protoreflect.ValueOfInt64(int64(0)) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetForecastsAtBlockRequest")) + } + panic(fmt.Errorf("message emissions.v8.GetForecastsAtBlockRequest does not contain field %s", fd.FullName())) + } +} + +// WhichOneof reports which field within the oneof is populated, +// returning nil if none are populated. +// It panics if the oneof descriptor does not belong to this message. +func (x *fastReflection_GetForecastsAtBlockRequest) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { + switch d.FullName() { + default: + panic(fmt.Errorf("%s is not a oneof field in emissions.v8.GetForecastsAtBlockRequest", d.FullName())) + } + panic("unreachable") +} + +// GetUnknown retrieves the entire list of unknown fields. +// The caller may only mutate the contents of the RawFields +// if the mutated bytes are stored back into the message with SetUnknown. +func (x *fastReflection_GetForecastsAtBlockRequest) GetUnknown() protoreflect.RawFields { + return x.unknownFields +} + +// SetUnknown stores an entire list of unknown fields. +// The raw fields must be syntactically valid according to the wire format. +// An implementation may panic if this is not the case. +// Once stored, the caller must not mutate the content of the RawFields. +// An empty RawFields may be passed to clear the fields. +// +// SetUnknown is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetForecastsAtBlockRequest) SetUnknown(fields protoreflect.RawFields) { + x.unknownFields = fields +} + +// IsValid reports whether the message is valid. +// +// An invalid message is an empty, read-only value. +// +// An invalid message often corresponds to a nil pointer of the concrete +// message type, but the details are implementation dependent. +// Validity is not part of the protobuf data model, and may not +// be preserved in marshaling or other operations. +func (x *fastReflection_GetForecastsAtBlockRequest) IsValid() bool { + return x != nil +} + +// ProtoMethods returns optional fastReflectionFeature-path implementations of various operations. +// This method may return nil. +// +// The returned methods type is identical to +// "google.golang.org/protobuf/runtime/protoiface".Methods. +// Consult the protoiface package documentation for details. +func (x *fastReflection_GetForecastsAtBlockRequest) ProtoMethods() *protoiface.Methods { + size := func(input protoiface.SizeInput) protoiface.SizeOutput { + x := input.Message.Interface().(*GetForecastsAtBlockRequest) + if x == nil { + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: 0, + } + } + options := runtime.SizeInputToOptions(input) + _ = options + var n int + var l int + _ = l + if x.TopicId != 0 { + n += 1 + runtime.Sov(uint64(x.TopicId)) + } + if x.BlockHeight != 0 { + n += 1 + runtime.Sov(uint64(x.BlockHeight)) + } + if x.unknownFields != nil { + n += len(x.unknownFields) + } + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: n, + } + } + + marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { + x := input.Message.Interface().(*GetForecastsAtBlockRequest) + if x == nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + options := runtime.MarshalInputToOptions(input) + _ = options + size := options.Size(x) + dAtA := make([]byte, size) + i := len(dAtA) + _ = i + var l int + _ = l + if x.unknownFields != nil { + i -= len(x.unknownFields) + copy(dAtA[i:], x.unknownFields) + } + if x.BlockHeight != 0 { + i = runtime.EncodeVarint(dAtA, i, uint64(x.BlockHeight)) + i-- + dAtA[i] = 0x10 + } + if x.TopicId != 0 { + i = runtime.EncodeVarint(dAtA, i, uint64(x.TopicId)) + i-- + dAtA[i] = 0x8 + } + if input.Buf != nil { + input.Buf = append(input.Buf, dAtA...) + } else { + input.Buf = dAtA + } + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { + x := input.Message.Interface().(*GetForecastsAtBlockRequest) + if x == nil { + return protoiface.UnmarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Flags: input.Flags, + }, nil + } + options := runtime.UnmarshalInputToOptions(input) + _ = options + dAtA := input.Buf + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: GetForecastsAtBlockRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: GetForecastsAtBlockRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field TopicId", wireType) + } + x.TopicId = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + x.TopicId |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 2: + if wireType != 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field BlockHeight", wireType) + } + x.BlockHeight = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + x.BlockHeight |= int64(b&0x7F) << shift + if b < 0x80 { + break + } + } + default: + iNdEx = preIndex + skippy, err := runtime.Skip(dAtA[iNdEx:]) + if err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if (iNdEx + skippy) > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + if !options.DiscardUnknown { + x.unknownFields = append(x.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + } + iNdEx += skippy + } + } + + if iNdEx > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, nil + } + return &protoiface.Methods{ + NoUnkeyedLiterals: struct{}{}, + Flags: protoiface.SupportMarshalDeterministic | protoiface.SupportUnmarshalDiscardUnknown, + Size: size, + Marshal: marshal, + Unmarshal: unmarshal, + Merge: nil, + CheckInitialized: nil, + } +} + +var ( + md_GetForecastsAtBlockResponse protoreflect.MessageDescriptor + fd_GetForecastsAtBlockResponse_forecasts protoreflect.FieldDescriptor +) + +func init() { + file_emissions_v8_query_proto_init() + md_GetForecastsAtBlockResponse = File_emissions_v8_query_proto.Messages().ByName("GetForecastsAtBlockResponse") + fd_GetForecastsAtBlockResponse_forecasts = md_GetForecastsAtBlockResponse.Fields().ByName("forecasts") +} + +var _ protoreflect.Message = (*fastReflection_GetForecastsAtBlockResponse)(nil) + +type fastReflection_GetForecastsAtBlockResponse GetForecastsAtBlockResponse + +func (x *GetForecastsAtBlockResponse) ProtoReflect() protoreflect.Message { + return (*fastReflection_GetForecastsAtBlockResponse)(x) +} + +func (x *GetForecastsAtBlockResponse) slowProtoReflect() protoreflect.Message { + mi := &file_emissions_v8_query_proto_msgTypes[79] + 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) +} + +var _fastReflection_GetForecastsAtBlockResponse_messageType fastReflection_GetForecastsAtBlockResponse_messageType +var _ protoreflect.MessageType = fastReflection_GetForecastsAtBlockResponse_messageType{} + +type fastReflection_GetForecastsAtBlockResponse_messageType struct{} + +func (x fastReflection_GetForecastsAtBlockResponse_messageType) Zero() protoreflect.Message { + return (*fastReflection_GetForecastsAtBlockResponse)(nil) +} +func (x fastReflection_GetForecastsAtBlockResponse_messageType) New() protoreflect.Message { + return new(fastReflection_GetForecastsAtBlockResponse) +} +func (x fastReflection_GetForecastsAtBlockResponse_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_GetForecastsAtBlockResponse +} + +// Descriptor returns message descriptor, which contains only the protobuf +// type information for the message. +func (x *fastReflection_GetForecastsAtBlockResponse) Descriptor() protoreflect.MessageDescriptor { + return md_GetForecastsAtBlockResponse +} + +// Type returns the message type, which encapsulates both Go and protobuf +// type information. If the Go type information is not needed, +// it is recommended that the message descriptor be used instead. +func (x *fastReflection_GetForecastsAtBlockResponse) Type() protoreflect.MessageType { + return _fastReflection_GetForecastsAtBlockResponse_messageType +} + +// New returns a newly allocated and mutable empty message. +func (x *fastReflection_GetForecastsAtBlockResponse) New() protoreflect.Message { + return new(fastReflection_GetForecastsAtBlockResponse) +} + +// Interface unwraps the message reflection interface and +// returns the underlying ProtoMessage interface. +func (x *fastReflection_GetForecastsAtBlockResponse) Interface() protoreflect.ProtoMessage { + return (*GetForecastsAtBlockResponse)(x) +} + +// Range iterates over every populated field in an undefined order, +// calling f for each field descriptor and value encountered. +// Range returns immediately if f returns false. +// While iterating, mutating operations may only be performed +// on the current field descriptor. +func (x *fastReflection_GetForecastsAtBlockResponse) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { + if x.Forecasts != nil { + value := protoreflect.ValueOfMessage(x.Forecasts.ProtoReflect()) + if !f(fd_GetForecastsAtBlockResponse_forecasts, value) { + return + } + } +} + +// Has reports whether a field is populated. +// +// Some fields have the property of nullability where it is possible to +// distinguish between the default value of a field and whether the field +// was explicitly populated with the default value. Singular message fields, +// member fields of a oneof, and proto2 scalar fields are nullable. Such +// fields are populated only if explicitly set. +// +// In other cases (aside from the nullable cases above), +// a proto3 scalar field is populated if it contains a non-zero value, and +// a repeated field is populated if it is non-empty. +func (x *fastReflection_GetForecastsAtBlockResponse) Has(fd protoreflect.FieldDescriptor) bool { + switch fd.FullName() { + case "emissions.v8.GetForecastsAtBlockResponse.forecasts": + return x.Forecasts != nil + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetForecastsAtBlockResponse")) + } + panic(fmt.Errorf("message emissions.v8.GetForecastsAtBlockResponse does not contain field %s", fd.FullName())) + } +} + +// Clear clears the field such that a subsequent Has call reports false. +// +// Clearing an extension field clears both the extension type and value +// associated with the given field number. +// +// Clear is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetForecastsAtBlockResponse) Clear(fd protoreflect.FieldDescriptor) { + switch fd.FullName() { + case "emissions.v8.GetForecastsAtBlockResponse.forecasts": + x.Forecasts = nil + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetForecastsAtBlockResponse")) + } + panic(fmt.Errorf("message emissions.v8.GetForecastsAtBlockResponse does not contain field %s", fd.FullName())) + } +} + +// Get retrieves the value for a field. +// +// For unpopulated scalars, it returns the default value, where +// the default value of a bytes scalar is guaranteed to be a copy. +// For unpopulated composite types, it returns an empty, read-only view +// of the value; to obtain a mutable reference, use Mutable. +func (x *fastReflection_GetForecastsAtBlockResponse) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { + switch descriptor.FullName() { + case "emissions.v8.GetForecastsAtBlockResponse.forecasts": + value := x.Forecasts + return protoreflect.ValueOfMessage(value.ProtoReflect()) + default: + if descriptor.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetForecastsAtBlockResponse")) + } + panic(fmt.Errorf("message emissions.v8.GetForecastsAtBlockResponse does not contain field %s", descriptor.FullName())) + } +} + +// Set stores the value for a field. +// +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType. +// When setting a composite type, it is unspecified whether the stored value +// aliases the source's memory in any way. If the composite value is an +// empty, read-only value, then it panics. +// +// Set is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetForecastsAtBlockResponse) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { + switch fd.FullName() { + case "emissions.v8.GetForecastsAtBlockResponse.forecasts": + x.Forecasts = value.Message().Interface().(*v3.Forecasts) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetForecastsAtBlockResponse")) + } + panic(fmt.Errorf("message emissions.v8.GetForecastsAtBlockResponse does not contain field %s", fd.FullName())) + } +} + +// Mutable returns a mutable reference to a composite type. +// +// If the field is unpopulated, it may allocate a composite value. +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType +// if not already stored. +// It panics if the field does not contain a composite type. +// +// Mutable is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetForecastsAtBlockResponse) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.GetForecastsAtBlockResponse.forecasts": + if x.Forecasts == nil { + x.Forecasts = new(v3.Forecasts) + } + return protoreflect.ValueOfMessage(x.Forecasts.ProtoReflect()) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetForecastsAtBlockResponse")) + } + panic(fmt.Errorf("message emissions.v8.GetForecastsAtBlockResponse does not contain field %s", fd.FullName())) + } +} + +// NewField returns a new value that is assignable to the field +// for the given descriptor. For scalars, this returns the default value. +// For lists, maps, and messages, this returns a new, empty, mutable value. +func (x *fastReflection_GetForecastsAtBlockResponse) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.GetForecastsAtBlockResponse.forecasts": + m := new(v3.Forecasts) + return protoreflect.ValueOfMessage(m.ProtoReflect()) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetForecastsAtBlockResponse")) + } + panic(fmt.Errorf("message emissions.v8.GetForecastsAtBlockResponse does not contain field %s", fd.FullName())) + } +} + +// WhichOneof reports which field within the oneof is populated, +// returning nil if none are populated. +// It panics if the oneof descriptor does not belong to this message. +func (x *fastReflection_GetForecastsAtBlockResponse) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { + switch d.FullName() { + default: + panic(fmt.Errorf("%s is not a oneof field in emissions.v8.GetForecastsAtBlockResponse", d.FullName())) + } + panic("unreachable") +} + +// GetUnknown retrieves the entire list of unknown fields. +// The caller may only mutate the contents of the RawFields +// if the mutated bytes are stored back into the message with SetUnknown. +func (x *fastReflection_GetForecastsAtBlockResponse) GetUnknown() protoreflect.RawFields { + return x.unknownFields +} + +// SetUnknown stores an entire list of unknown fields. +// The raw fields must be syntactically valid according to the wire format. +// An implementation may panic if this is not the case. +// Once stored, the caller must not mutate the content of the RawFields. +// An empty RawFields may be passed to clear the fields. +// +// SetUnknown is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetForecastsAtBlockResponse) SetUnknown(fields protoreflect.RawFields) { + x.unknownFields = fields +} + +// IsValid reports whether the message is valid. +// +// An invalid message is an empty, read-only value. +// +// An invalid message often corresponds to a nil pointer of the concrete +// message type, but the details are implementation dependent. +// Validity is not part of the protobuf data model, and may not +// be preserved in marshaling or other operations. +func (x *fastReflection_GetForecastsAtBlockResponse) IsValid() bool { + return x != nil +} + +// ProtoMethods returns optional fastReflectionFeature-path implementations of various operations. +// This method may return nil. +// +// The returned methods type is identical to +// "google.golang.org/protobuf/runtime/protoiface".Methods. +// Consult the protoiface package documentation for details. +func (x *fastReflection_GetForecastsAtBlockResponse) ProtoMethods() *protoiface.Methods { + size := func(input protoiface.SizeInput) protoiface.SizeOutput { + x := input.Message.Interface().(*GetForecastsAtBlockResponse) + if x == nil { + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: 0, + } + } + options := runtime.SizeInputToOptions(input) + _ = options + var n int + var l int + _ = l + if x.Forecasts != nil { + l = options.Size(x.Forecasts) + n += 1 + l + runtime.Sov(uint64(l)) + } + if x.unknownFields != nil { + n += len(x.unknownFields) + } + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: n, + } + } + + marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { + x := input.Message.Interface().(*GetForecastsAtBlockResponse) + if x == nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + options := runtime.MarshalInputToOptions(input) + _ = options + size := options.Size(x) + dAtA := make([]byte, size) + i := len(dAtA) + _ = i + var l int + _ = l + if x.unknownFields != nil { + i -= len(x.unknownFields) + copy(dAtA[i:], x.unknownFields) + } + if x.Forecasts != nil { + encoded, err := options.Marshal(x.Forecasts) + if err != nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = runtime.EncodeVarint(dAtA, i, uint64(len(encoded))) + i-- + dAtA[i] = 0xa + } + if input.Buf != nil { + input.Buf = append(input.Buf, dAtA...) + } else { + input.Buf = dAtA + } + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { + x := input.Message.Interface().(*GetForecastsAtBlockResponse) + if x == nil { + return protoiface.UnmarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Flags: input.Flags, + }, nil + } + options := runtime.UnmarshalInputToOptions(input) + _ = options + dAtA := input.Buf + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: GetForecastsAtBlockResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: GetForecastsAtBlockResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Forecasts", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + if x.Forecasts == nil { + x.Forecasts = &v3.Forecasts{} + } + if err := options.Unmarshal(dAtA[iNdEx:postIndex], x.Forecasts); err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := runtime.Skip(dAtA[iNdEx:]) + if err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if (iNdEx + skippy) > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + if !options.DiscardUnknown { + x.unknownFields = append(x.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + } + iNdEx += skippy + } + } + + if iNdEx > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, nil + } + return &protoiface.Methods{ + NoUnkeyedLiterals: struct{}{}, + Flags: protoiface.SupportMarshalDeterministic | protoiface.SupportUnmarshalDiscardUnknown, + Size: size, + Marshal: marshal, + Unmarshal: unmarshal, + Merge: nil, + CheckInitialized: nil, + } +} + +var ( + md_GetWorkerLatestInferenceByTopicIdRequest protoreflect.MessageDescriptor + fd_GetWorkerLatestInferenceByTopicIdRequest_topic_id protoreflect.FieldDescriptor + fd_GetWorkerLatestInferenceByTopicIdRequest_worker_address protoreflect.FieldDescriptor +) + +func init() { + file_emissions_v8_query_proto_init() + md_GetWorkerLatestInferenceByTopicIdRequest = File_emissions_v8_query_proto.Messages().ByName("GetWorkerLatestInferenceByTopicIdRequest") + fd_GetWorkerLatestInferenceByTopicIdRequest_topic_id = md_GetWorkerLatestInferenceByTopicIdRequest.Fields().ByName("topic_id") + fd_GetWorkerLatestInferenceByTopicIdRequest_worker_address = md_GetWorkerLatestInferenceByTopicIdRequest.Fields().ByName("worker_address") +} + +var _ protoreflect.Message = (*fastReflection_GetWorkerLatestInferenceByTopicIdRequest)(nil) + +type fastReflection_GetWorkerLatestInferenceByTopicIdRequest GetWorkerLatestInferenceByTopicIdRequest + +func (x *GetWorkerLatestInferenceByTopicIdRequest) ProtoReflect() protoreflect.Message { + return (*fastReflection_GetWorkerLatestInferenceByTopicIdRequest)(x) +} + +func (x *GetWorkerLatestInferenceByTopicIdRequest) slowProtoReflect() protoreflect.Message { + mi := &file_emissions_v8_query_proto_msgTypes[80] + 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) +} + +var _fastReflection_GetWorkerLatestInferenceByTopicIdRequest_messageType fastReflection_GetWorkerLatestInferenceByTopicIdRequest_messageType +var _ protoreflect.MessageType = fastReflection_GetWorkerLatestInferenceByTopicIdRequest_messageType{} + +type fastReflection_GetWorkerLatestInferenceByTopicIdRequest_messageType struct{} + +func (x fastReflection_GetWorkerLatestInferenceByTopicIdRequest_messageType) Zero() protoreflect.Message { + return (*fastReflection_GetWorkerLatestInferenceByTopicIdRequest)(nil) +} +func (x fastReflection_GetWorkerLatestInferenceByTopicIdRequest_messageType) New() protoreflect.Message { + return new(fastReflection_GetWorkerLatestInferenceByTopicIdRequest) +} +func (x fastReflection_GetWorkerLatestInferenceByTopicIdRequest_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_GetWorkerLatestInferenceByTopicIdRequest +} + +// Descriptor returns message descriptor, which contains only the protobuf +// type information for the message. +func (x *fastReflection_GetWorkerLatestInferenceByTopicIdRequest) Descriptor() protoreflect.MessageDescriptor { + return md_GetWorkerLatestInferenceByTopicIdRequest +} + +// Type returns the message type, which encapsulates both Go and protobuf +// type information. If the Go type information is not needed, +// it is recommended that the message descriptor be used instead. +func (x *fastReflection_GetWorkerLatestInferenceByTopicIdRequest) Type() protoreflect.MessageType { + return _fastReflection_GetWorkerLatestInferenceByTopicIdRequest_messageType +} + +// New returns a newly allocated and mutable empty message. +func (x *fastReflection_GetWorkerLatestInferenceByTopicIdRequest) New() protoreflect.Message { + return new(fastReflection_GetWorkerLatestInferenceByTopicIdRequest) +} + +// Interface unwraps the message reflection interface and +// returns the underlying ProtoMessage interface. +func (x *fastReflection_GetWorkerLatestInferenceByTopicIdRequest) Interface() protoreflect.ProtoMessage { + return (*GetWorkerLatestInferenceByTopicIdRequest)(x) +} + +// Range iterates over every populated field in an undefined order, +// calling f for each field descriptor and value encountered. +// Range returns immediately if f returns false. +// While iterating, mutating operations may only be performed +// on the current field descriptor. +func (x *fastReflection_GetWorkerLatestInferenceByTopicIdRequest) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { + if x.TopicId != uint64(0) { + value := protoreflect.ValueOfUint64(x.TopicId) + if !f(fd_GetWorkerLatestInferenceByTopicIdRequest_topic_id, value) { + return + } + } + if x.WorkerAddress != "" { + value := protoreflect.ValueOfString(x.WorkerAddress) + if !f(fd_GetWorkerLatestInferenceByTopicIdRequest_worker_address, value) { + return + } + } +} + +// Has reports whether a field is populated. +// +// Some fields have the property of nullability where it is possible to +// distinguish between the default value of a field and whether the field +// was explicitly populated with the default value. Singular message fields, +// member fields of a oneof, and proto2 scalar fields are nullable. Such +// fields are populated only if explicitly set. +// +// In other cases (aside from the nullable cases above), +// a proto3 scalar field is populated if it contains a non-zero value, and +// a repeated field is populated if it is non-empty. +func (x *fastReflection_GetWorkerLatestInferenceByTopicIdRequest) Has(fd protoreflect.FieldDescriptor) bool { + switch fd.FullName() { + case "emissions.v8.GetWorkerLatestInferenceByTopicIdRequest.topic_id": + return x.TopicId != uint64(0) + case "emissions.v8.GetWorkerLatestInferenceByTopicIdRequest.worker_address": + return x.WorkerAddress != "" + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetWorkerLatestInferenceByTopicIdRequest")) + } + panic(fmt.Errorf("message emissions.v8.GetWorkerLatestInferenceByTopicIdRequest does not contain field %s", fd.FullName())) + } +} + +// Clear clears the field such that a subsequent Has call reports false. +// +// Clearing an extension field clears both the extension type and value +// associated with the given field number. +// +// Clear is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetWorkerLatestInferenceByTopicIdRequest) Clear(fd protoreflect.FieldDescriptor) { + switch fd.FullName() { + case "emissions.v8.GetWorkerLatestInferenceByTopicIdRequest.topic_id": + x.TopicId = uint64(0) + case "emissions.v8.GetWorkerLatestInferenceByTopicIdRequest.worker_address": + x.WorkerAddress = "" + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetWorkerLatestInferenceByTopicIdRequest")) + } + panic(fmt.Errorf("message emissions.v8.GetWorkerLatestInferenceByTopicIdRequest does not contain field %s", fd.FullName())) + } +} + +// Get retrieves the value for a field. +// +// For unpopulated scalars, it returns the default value, where +// the default value of a bytes scalar is guaranteed to be a copy. +// For unpopulated composite types, it returns an empty, read-only view +// of the value; to obtain a mutable reference, use Mutable. +func (x *fastReflection_GetWorkerLatestInferenceByTopicIdRequest) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { + switch descriptor.FullName() { + case "emissions.v8.GetWorkerLatestInferenceByTopicIdRequest.topic_id": + value := x.TopicId + return protoreflect.ValueOfUint64(value) + case "emissions.v8.GetWorkerLatestInferenceByTopicIdRequest.worker_address": + value := x.WorkerAddress + return protoreflect.ValueOfString(value) + default: + if descriptor.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetWorkerLatestInferenceByTopicIdRequest")) + } + panic(fmt.Errorf("message emissions.v8.GetWorkerLatestInferenceByTopicIdRequest does not contain field %s", descriptor.FullName())) + } +} + +// Set stores the value for a field. +// +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType. +// When setting a composite type, it is unspecified whether the stored value +// aliases the source's memory in any way. If the composite value is an +// empty, read-only value, then it panics. +// +// Set is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetWorkerLatestInferenceByTopicIdRequest) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { + switch fd.FullName() { + case "emissions.v8.GetWorkerLatestInferenceByTopicIdRequest.topic_id": + x.TopicId = value.Uint() + case "emissions.v8.GetWorkerLatestInferenceByTopicIdRequest.worker_address": + x.WorkerAddress = value.Interface().(string) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetWorkerLatestInferenceByTopicIdRequest")) + } + panic(fmt.Errorf("message emissions.v8.GetWorkerLatestInferenceByTopicIdRequest does not contain field %s", fd.FullName())) + } +} + +// Mutable returns a mutable reference to a composite type. +// +// If the field is unpopulated, it may allocate a composite value. +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType +// if not already stored. +// It panics if the field does not contain a composite type. +// +// Mutable is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetWorkerLatestInferenceByTopicIdRequest) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.GetWorkerLatestInferenceByTopicIdRequest.topic_id": + panic(fmt.Errorf("field topic_id of message emissions.v8.GetWorkerLatestInferenceByTopicIdRequest is not mutable")) + case "emissions.v8.GetWorkerLatestInferenceByTopicIdRequest.worker_address": + panic(fmt.Errorf("field worker_address of message emissions.v8.GetWorkerLatestInferenceByTopicIdRequest is not mutable")) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetWorkerLatestInferenceByTopicIdRequest")) + } + panic(fmt.Errorf("message emissions.v8.GetWorkerLatestInferenceByTopicIdRequest does not contain field %s", fd.FullName())) + } +} + +// NewField returns a new value that is assignable to the field +// for the given descriptor. For scalars, this returns the default value. +// For lists, maps, and messages, this returns a new, empty, mutable value. +func (x *fastReflection_GetWorkerLatestInferenceByTopicIdRequest) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.GetWorkerLatestInferenceByTopicIdRequest.topic_id": + return protoreflect.ValueOfUint64(uint64(0)) + case "emissions.v8.GetWorkerLatestInferenceByTopicIdRequest.worker_address": + return protoreflect.ValueOfString("") + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetWorkerLatestInferenceByTopicIdRequest")) + } + panic(fmt.Errorf("message emissions.v8.GetWorkerLatestInferenceByTopicIdRequest does not contain field %s", fd.FullName())) + } +} + +// WhichOneof reports which field within the oneof is populated, +// returning nil if none are populated. +// It panics if the oneof descriptor does not belong to this message. +func (x *fastReflection_GetWorkerLatestInferenceByTopicIdRequest) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { + switch d.FullName() { + default: + panic(fmt.Errorf("%s is not a oneof field in emissions.v8.GetWorkerLatestInferenceByTopicIdRequest", d.FullName())) + } + panic("unreachable") +} + +// GetUnknown retrieves the entire list of unknown fields. +// The caller may only mutate the contents of the RawFields +// if the mutated bytes are stored back into the message with SetUnknown. +func (x *fastReflection_GetWorkerLatestInferenceByTopicIdRequest) GetUnknown() protoreflect.RawFields { + return x.unknownFields +} + +// SetUnknown stores an entire list of unknown fields. +// The raw fields must be syntactically valid according to the wire format. +// An implementation may panic if this is not the case. +// Once stored, the caller must not mutate the content of the RawFields. +// An empty RawFields may be passed to clear the fields. +// +// SetUnknown is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetWorkerLatestInferenceByTopicIdRequest) SetUnknown(fields protoreflect.RawFields) { + x.unknownFields = fields +} + +// IsValid reports whether the message is valid. +// +// An invalid message is an empty, read-only value. +// +// An invalid message often corresponds to a nil pointer of the concrete +// message type, but the details are implementation dependent. +// Validity is not part of the protobuf data model, and may not +// be preserved in marshaling or other operations. +func (x *fastReflection_GetWorkerLatestInferenceByTopicIdRequest) IsValid() bool { + return x != nil +} + +// ProtoMethods returns optional fastReflectionFeature-path implementations of various operations. +// This method may return nil. +// +// The returned methods type is identical to +// "google.golang.org/protobuf/runtime/protoiface".Methods. +// Consult the protoiface package documentation for details. +func (x *fastReflection_GetWorkerLatestInferenceByTopicIdRequest) ProtoMethods() *protoiface.Methods { + size := func(input protoiface.SizeInput) protoiface.SizeOutput { + x := input.Message.Interface().(*GetWorkerLatestInferenceByTopicIdRequest) + if x == nil { + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: 0, + } + } + options := runtime.SizeInputToOptions(input) + _ = options + var n int + var l int + _ = l + if x.TopicId != 0 { + n += 1 + runtime.Sov(uint64(x.TopicId)) + } + l = len(x.WorkerAddress) + if l > 0 { + n += 1 + l + runtime.Sov(uint64(l)) + } + if x.unknownFields != nil { + n += len(x.unknownFields) + } + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: n, + } + } + + marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { + x := input.Message.Interface().(*GetWorkerLatestInferenceByTopicIdRequest) + if x == nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + options := runtime.MarshalInputToOptions(input) + _ = options + size := options.Size(x) + dAtA := make([]byte, size) + i := len(dAtA) + _ = i + var l int + _ = l + if x.unknownFields != nil { + i -= len(x.unknownFields) + copy(dAtA[i:], x.unknownFields) + } + if len(x.WorkerAddress) > 0 { + i -= len(x.WorkerAddress) + copy(dAtA[i:], x.WorkerAddress) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.WorkerAddress))) + i-- + dAtA[i] = 0x12 + } + if x.TopicId != 0 { + i = runtime.EncodeVarint(dAtA, i, uint64(x.TopicId)) + i-- + dAtA[i] = 0x8 + } + if input.Buf != nil { + input.Buf = append(input.Buf, dAtA...) + } else { + input.Buf = dAtA + } + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { + x := input.Message.Interface().(*GetWorkerLatestInferenceByTopicIdRequest) + if x == nil { + return protoiface.UnmarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Flags: input.Flags, + }, nil + } + options := runtime.UnmarshalInputToOptions(input) + _ = options + dAtA := input.Buf + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: GetWorkerLatestInferenceByTopicIdRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: GetWorkerLatestInferenceByTopicIdRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field TopicId", wireType) + } + x.TopicId = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + x.TopicId |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 2: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field WorkerAddress", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + x.WorkerAddress = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := runtime.Skip(dAtA[iNdEx:]) + if err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if (iNdEx + skippy) > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + if !options.DiscardUnknown { + x.unknownFields = append(x.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + } + iNdEx += skippy + } + } + + if iNdEx > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, nil + } + return &protoiface.Methods{ + NoUnkeyedLiterals: struct{}{}, + Flags: protoiface.SupportMarshalDeterministic | protoiface.SupportUnmarshalDiscardUnknown, + Size: size, + Marshal: marshal, + Unmarshal: unmarshal, + Merge: nil, + CheckInitialized: nil, + } +} + +var ( + md_GetWorkerLatestInferenceByTopicIdResponse protoreflect.MessageDescriptor + fd_GetWorkerLatestInferenceByTopicIdResponse_latest_inference protoreflect.FieldDescriptor +) + +func init() { + file_emissions_v8_query_proto_init() + md_GetWorkerLatestInferenceByTopicIdResponse = File_emissions_v8_query_proto.Messages().ByName("GetWorkerLatestInferenceByTopicIdResponse") + fd_GetWorkerLatestInferenceByTopicIdResponse_latest_inference = md_GetWorkerLatestInferenceByTopicIdResponse.Fields().ByName("latest_inference") +} + +var _ protoreflect.Message = (*fastReflection_GetWorkerLatestInferenceByTopicIdResponse)(nil) + +type fastReflection_GetWorkerLatestInferenceByTopicIdResponse GetWorkerLatestInferenceByTopicIdResponse + +func (x *GetWorkerLatestInferenceByTopicIdResponse) ProtoReflect() protoreflect.Message { + return (*fastReflection_GetWorkerLatestInferenceByTopicIdResponse)(x) +} + +func (x *GetWorkerLatestInferenceByTopicIdResponse) slowProtoReflect() protoreflect.Message { + mi := &file_emissions_v8_query_proto_msgTypes[81] + 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) +} + +var _fastReflection_GetWorkerLatestInferenceByTopicIdResponse_messageType fastReflection_GetWorkerLatestInferenceByTopicIdResponse_messageType +var _ protoreflect.MessageType = fastReflection_GetWorkerLatestInferenceByTopicIdResponse_messageType{} + +type fastReflection_GetWorkerLatestInferenceByTopicIdResponse_messageType struct{} + +func (x fastReflection_GetWorkerLatestInferenceByTopicIdResponse_messageType) Zero() protoreflect.Message { + return (*fastReflection_GetWorkerLatestInferenceByTopicIdResponse)(nil) +} +func (x fastReflection_GetWorkerLatestInferenceByTopicIdResponse_messageType) New() protoreflect.Message { + return new(fastReflection_GetWorkerLatestInferenceByTopicIdResponse) +} +func (x fastReflection_GetWorkerLatestInferenceByTopicIdResponse_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_GetWorkerLatestInferenceByTopicIdResponse +} + +// Descriptor returns message descriptor, which contains only the protobuf +// type information for the message. +func (x *fastReflection_GetWorkerLatestInferenceByTopicIdResponse) Descriptor() protoreflect.MessageDescriptor { + return md_GetWorkerLatestInferenceByTopicIdResponse +} + +// Type returns the message type, which encapsulates both Go and protobuf +// type information. If the Go type information is not needed, +// it is recommended that the message descriptor be used instead. +func (x *fastReflection_GetWorkerLatestInferenceByTopicIdResponse) Type() protoreflect.MessageType { + return _fastReflection_GetWorkerLatestInferenceByTopicIdResponse_messageType +} + +// New returns a newly allocated and mutable empty message. +func (x *fastReflection_GetWorkerLatestInferenceByTopicIdResponse) New() protoreflect.Message { + return new(fastReflection_GetWorkerLatestInferenceByTopicIdResponse) +} + +// Interface unwraps the message reflection interface and +// returns the underlying ProtoMessage interface. +func (x *fastReflection_GetWorkerLatestInferenceByTopicIdResponse) Interface() protoreflect.ProtoMessage { + return (*GetWorkerLatestInferenceByTopicIdResponse)(x) +} + +// Range iterates over every populated field in an undefined order, +// calling f for each field descriptor and value encountered. +// Range returns immediately if f returns false. +// While iterating, mutating operations may only be performed +// on the current field descriptor. +func (x *fastReflection_GetWorkerLatestInferenceByTopicIdResponse) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { + if x.LatestInference != nil { + value := protoreflect.ValueOfMessage(x.LatestInference.ProtoReflect()) + if !f(fd_GetWorkerLatestInferenceByTopicIdResponse_latest_inference, value) { + return + } + } +} + +// Has reports whether a field is populated. +// +// Some fields have the property of nullability where it is possible to +// distinguish between the default value of a field and whether the field +// was explicitly populated with the default value. Singular message fields, +// member fields of a oneof, and proto2 scalar fields are nullable. Such +// fields are populated only if explicitly set. +// +// In other cases (aside from the nullable cases above), +// a proto3 scalar field is populated if it contains a non-zero value, and +// a repeated field is populated if it is non-empty. +func (x *fastReflection_GetWorkerLatestInferenceByTopicIdResponse) Has(fd protoreflect.FieldDescriptor) bool { + switch fd.FullName() { + case "emissions.v8.GetWorkerLatestInferenceByTopicIdResponse.latest_inference": + return x.LatestInference != nil + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetWorkerLatestInferenceByTopicIdResponse")) + } + panic(fmt.Errorf("message emissions.v8.GetWorkerLatestInferenceByTopicIdResponse does not contain field %s", fd.FullName())) + } +} + +// Clear clears the field such that a subsequent Has call reports false. +// +// Clearing an extension field clears both the extension type and value +// associated with the given field number. +// +// Clear is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetWorkerLatestInferenceByTopicIdResponse) Clear(fd protoreflect.FieldDescriptor) { + switch fd.FullName() { + case "emissions.v8.GetWorkerLatestInferenceByTopicIdResponse.latest_inference": + x.LatestInference = nil + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetWorkerLatestInferenceByTopicIdResponse")) + } + panic(fmt.Errorf("message emissions.v8.GetWorkerLatestInferenceByTopicIdResponse does not contain field %s", fd.FullName())) + } +} + +// Get retrieves the value for a field. +// +// For unpopulated scalars, it returns the default value, where +// the default value of a bytes scalar is guaranteed to be a copy. +// For unpopulated composite types, it returns an empty, read-only view +// of the value; to obtain a mutable reference, use Mutable. +func (x *fastReflection_GetWorkerLatestInferenceByTopicIdResponse) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { + switch descriptor.FullName() { + case "emissions.v8.GetWorkerLatestInferenceByTopicIdResponse.latest_inference": + value := x.LatestInference + return protoreflect.ValueOfMessage(value.ProtoReflect()) + default: + if descriptor.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetWorkerLatestInferenceByTopicIdResponse")) + } + panic(fmt.Errorf("message emissions.v8.GetWorkerLatestInferenceByTopicIdResponse does not contain field %s", descriptor.FullName())) + } +} + +// Set stores the value for a field. +// +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType. +// When setting a composite type, it is unspecified whether the stored value +// aliases the source's memory in any way. If the composite value is an +// empty, read-only value, then it panics. +// +// Set is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetWorkerLatestInferenceByTopicIdResponse) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { + switch fd.FullName() { + case "emissions.v8.GetWorkerLatestInferenceByTopicIdResponse.latest_inference": + x.LatestInference = value.Message().Interface().(*v3.Inference) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetWorkerLatestInferenceByTopicIdResponse")) + } + panic(fmt.Errorf("message emissions.v8.GetWorkerLatestInferenceByTopicIdResponse does not contain field %s", fd.FullName())) + } +} + +// Mutable returns a mutable reference to a composite type. +// +// If the field is unpopulated, it may allocate a composite value. +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType +// if not already stored. +// It panics if the field does not contain a composite type. +// +// Mutable is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetWorkerLatestInferenceByTopicIdResponse) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.GetWorkerLatestInferenceByTopicIdResponse.latest_inference": + if x.LatestInference == nil { + x.LatestInference = new(v3.Inference) + } + return protoreflect.ValueOfMessage(x.LatestInference.ProtoReflect()) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetWorkerLatestInferenceByTopicIdResponse")) + } + panic(fmt.Errorf("message emissions.v8.GetWorkerLatestInferenceByTopicIdResponse does not contain field %s", fd.FullName())) + } +} + +// NewField returns a new value that is assignable to the field +// for the given descriptor. For scalars, this returns the default value. +// For lists, maps, and messages, this returns a new, empty, mutable value. +func (x *fastReflection_GetWorkerLatestInferenceByTopicIdResponse) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.GetWorkerLatestInferenceByTopicIdResponse.latest_inference": + m := new(v3.Inference) + return protoreflect.ValueOfMessage(m.ProtoReflect()) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetWorkerLatestInferenceByTopicIdResponse")) + } + panic(fmt.Errorf("message emissions.v8.GetWorkerLatestInferenceByTopicIdResponse does not contain field %s", fd.FullName())) + } +} + +// WhichOneof reports which field within the oneof is populated, +// returning nil if none are populated. +// It panics if the oneof descriptor does not belong to this message. +func (x *fastReflection_GetWorkerLatestInferenceByTopicIdResponse) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { + switch d.FullName() { + default: + panic(fmt.Errorf("%s is not a oneof field in emissions.v8.GetWorkerLatestInferenceByTopicIdResponse", d.FullName())) + } + panic("unreachable") +} + +// GetUnknown retrieves the entire list of unknown fields. +// The caller may only mutate the contents of the RawFields +// if the mutated bytes are stored back into the message with SetUnknown. +func (x *fastReflection_GetWorkerLatestInferenceByTopicIdResponse) GetUnknown() protoreflect.RawFields { + return x.unknownFields +} + +// SetUnknown stores an entire list of unknown fields. +// The raw fields must be syntactically valid according to the wire format. +// An implementation may panic if this is not the case. +// Once stored, the caller must not mutate the content of the RawFields. +// An empty RawFields may be passed to clear the fields. +// +// SetUnknown is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetWorkerLatestInferenceByTopicIdResponse) SetUnknown(fields protoreflect.RawFields) { + x.unknownFields = fields +} + +// IsValid reports whether the message is valid. +// +// An invalid message is an empty, read-only value. +// +// An invalid message often corresponds to a nil pointer of the concrete +// message type, but the details are implementation dependent. +// Validity is not part of the protobuf data model, and may not +// be preserved in marshaling or other operations. +func (x *fastReflection_GetWorkerLatestInferenceByTopicIdResponse) IsValid() bool { + return x != nil +} + +// ProtoMethods returns optional fastReflectionFeature-path implementations of various operations. +// This method may return nil. +// +// The returned methods type is identical to +// "google.golang.org/protobuf/runtime/protoiface".Methods. +// Consult the protoiface package documentation for details. +func (x *fastReflection_GetWorkerLatestInferenceByTopicIdResponse) ProtoMethods() *protoiface.Methods { + size := func(input protoiface.SizeInput) protoiface.SizeOutput { + x := input.Message.Interface().(*GetWorkerLatestInferenceByTopicIdResponse) + if x == nil { + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: 0, + } + } + options := runtime.SizeInputToOptions(input) + _ = options + var n int + var l int + _ = l + if x.LatestInference != nil { + l = options.Size(x.LatestInference) + n += 1 + l + runtime.Sov(uint64(l)) + } + if x.unknownFields != nil { + n += len(x.unknownFields) + } + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: n, + } + } + + marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { + x := input.Message.Interface().(*GetWorkerLatestInferenceByTopicIdResponse) + if x == nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + options := runtime.MarshalInputToOptions(input) + _ = options + size := options.Size(x) + dAtA := make([]byte, size) + i := len(dAtA) + _ = i + var l int + _ = l + if x.unknownFields != nil { + i -= len(x.unknownFields) + copy(dAtA[i:], x.unknownFields) + } + if x.LatestInference != nil { + encoded, err := options.Marshal(x.LatestInference) + if err != nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = runtime.EncodeVarint(dAtA, i, uint64(len(encoded))) + i-- + dAtA[i] = 0xa + } + if input.Buf != nil { + input.Buf = append(input.Buf, dAtA...) + } else { + input.Buf = dAtA + } + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { + x := input.Message.Interface().(*GetWorkerLatestInferenceByTopicIdResponse) + if x == nil { + return protoiface.UnmarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Flags: input.Flags, + }, nil + } + options := runtime.UnmarshalInputToOptions(input) + _ = options + dAtA := input.Buf + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: GetWorkerLatestInferenceByTopicIdResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: GetWorkerLatestInferenceByTopicIdResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field LatestInference", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + if x.LatestInference == nil { + x.LatestInference = &v3.Inference{} + } + if err := options.Unmarshal(dAtA[iNdEx:postIndex], x.LatestInference); err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := runtime.Skip(dAtA[iNdEx:]) + if err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if (iNdEx + skippy) > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + if !options.DiscardUnknown { + x.unknownFields = append(x.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + } + iNdEx += skippy + } + } + + if iNdEx > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, nil + } + return &protoiface.Methods{ + NoUnkeyedLiterals: struct{}{}, + Flags: protoiface.SupportMarshalDeterministic | protoiface.SupportUnmarshalDiscardUnknown, + Size: size, + Marshal: marshal, + Unmarshal: unmarshal, + Merge: nil, + CheckInitialized: nil, + } +} + +var ( + md_GetWorkerNodeInfoRequest protoreflect.MessageDescriptor + fd_GetWorkerNodeInfoRequest_address protoreflect.FieldDescriptor +) + +func init() { + file_emissions_v8_query_proto_init() + md_GetWorkerNodeInfoRequest = File_emissions_v8_query_proto.Messages().ByName("GetWorkerNodeInfoRequest") + fd_GetWorkerNodeInfoRequest_address = md_GetWorkerNodeInfoRequest.Fields().ByName("address") +} + +var _ protoreflect.Message = (*fastReflection_GetWorkerNodeInfoRequest)(nil) + +type fastReflection_GetWorkerNodeInfoRequest GetWorkerNodeInfoRequest + +func (x *GetWorkerNodeInfoRequest) ProtoReflect() protoreflect.Message { + return (*fastReflection_GetWorkerNodeInfoRequest)(x) +} + +func (x *GetWorkerNodeInfoRequest) slowProtoReflect() protoreflect.Message { + mi := &file_emissions_v8_query_proto_msgTypes[82] + 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) +} + +var _fastReflection_GetWorkerNodeInfoRequest_messageType fastReflection_GetWorkerNodeInfoRequest_messageType +var _ protoreflect.MessageType = fastReflection_GetWorkerNodeInfoRequest_messageType{} + +type fastReflection_GetWorkerNodeInfoRequest_messageType struct{} + +func (x fastReflection_GetWorkerNodeInfoRequest_messageType) Zero() protoreflect.Message { + return (*fastReflection_GetWorkerNodeInfoRequest)(nil) +} +func (x fastReflection_GetWorkerNodeInfoRequest_messageType) New() protoreflect.Message { + return new(fastReflection_GetWorkerNodeInfoRequest) +} +func (x fastReflection_GetWorkerNodeInfoRequest_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_GetWorkerNodeInfoRequest +} + +// Descriptor returns message descriptor, which contains only the protobuf +// type information for the message. +func (x *fastReflection_GetWorkerNodeInfoRequest) Descriptor() protoreflect.MessageDescriptor { + return md_GetWorkerNodeInfoRequest +} + +// Type returns the message type, which encapsulates both Go and protobuf +// type information. If the Go type information is not needed, +// it is recommended that the message descriptor be used instead. +func (x *fastReflection_GetWorkerNodeInfoRequest) Type() protoreflect.MessageType { + return _fastReflection_GetWorkerNodeInfoRequest_messageType +} + +// New returns a newly allocated and mutable empty message. +func (x *fastReflection_GetWorkerNodeInfoRequest) New() protoreflect.Message { + return new(fastReflection_GetWorkerNodeInfoRequest) +} + +// Interface unwraps the message reflection interface and +// returns the underlying ProtoMessage interface. +func (x *fastReflection_GetWorkerNodeInfoRequest) Interface() protoreflect.ProtoMessage { + return (*GetWorkerNodeInfoRequest)(x) +} + +// Range iterates over every populated field in an undefined order, +// calling f for each field descriptor and value encountered. +// Range returns immediately if f returns false. +// While iterating, mutating operations may only be performed +// on the current field descriptor. +func (x *fastReflection_GetWorkerNodeInfoRequest) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { + if x.Address != "" { + value := protoreflect.ValueOfString(x.Address) + if !f(fd_GetWorkerNodeInfoRequest_address, value) { + return + } + } +} + +// Has reports whether a field is populated. +// +// Some fields have the property of nullability where it is possible to +// distinguish between the default value of a field and whether the field +// was explicitly populated with the default value. Singular message fields, +// member fields of a oneof, and proto2 scalar fields are nullable. Such +// fields are populated only if explicitly set. +// +// In other cases (aside from the nullable cases above), +// a proto3 scalar field is populated if it contains a non-zero value, and +// a repeated field is populated if it is non-empty. +func (x *fastReflection_GetWorkerNodeInfoRequest) Has(fd protoreflect.FieldDescriptor) bool { + switch fd.FullName() { + case "emissions.v8.GetWorkerNodeInfoRequest.address": + return x.Address != "" + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetWorkerNodeInfoRequest")) + } + panic(fmt.Errorf("message emissions.v8.GetWorkerNodeInfoRequest does not contain field %s", fd.FullName())) + } +} + +// Clear clears the field such that a subsequent Has call reports false. +// +// Clearing an extension field clears both the extension type and value +// associated with the given field number. +// +// Clear is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetWorkerNodeInfoRequest) Clear(fd protoreflect.FieldDescriptor) { + switch fd.FullName() { + case "emissions.v8.GetWorkerNodeInfoRequest.address": + x.Address = "" + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetWorkerNodeInfoRequest")) + } + panic(fmt.Errorf("message emissions.v8.GetWorkerNodeInfoRequest does not contain field %s", fd.FullName())) + } +} + +// Get retrieves the value for a field. +// +// For unpopulated scalars, it returns the default value, where +// the default value of a bytes scalar is guaranteed to be a copy. +// For unpopulated composite types, it returns an empty, read-only view +// of the value; to obtain a mutable reference, use Mutable. +func (x *fastReflection_GetWorkerNodeInfoRequest) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { + switch descriptor.FullName() { + case "emissions.v8.GetWorkerNodeInfoRequest.address": + value := x.Address + return protoreflect.ValueOfString(value) + default: + if descriptor.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetWorkerNodeInfoRequest")) + } + panic(fmt.Errorf("message emissions.v8.GetWorkerNodeInfoRequest does not contain field %s", descriptor.FullName())) + } +} + +// Set stores the value for a field. +// +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType. +// When setting a composite type, it is unspecified whether the stored value +// aliases the source's memory in any way. If the composite value is an +// empty, read-only value, then it panics. +// +// Set is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetWorkerNodeInfoRequest) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { + switch fd.FullName() { + case "emissions.v8.GetWorkerNodeInfoRequest.address": + x.Address = value.Interface().(string) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetWorkerNodeInfoRequest")) + } + panic(fmt.Errorf("message emissions.v8.GetWorkerNodeInfoRequest does not contain field %s", fd.FullName())) + } +} + +// Mutable returns a mutable reference to a composite type. +// +// If the field is unpopulated, it may allocate a composite value. +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType +// if not already stored. +// It panics if the field does not contain a composite type. +// +// Mutable is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetWorkerNodeInfoRequest) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.GetWorkerNodeInfoRequest.address": + panic(fmt.Errorf("field address of message emissions.v8.GetWorkerNodeInfoRequest is not mutable")) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetWorkerNodeInfoRequest")) + } + panic(fmt.Errorf("message emissions.v8.GetWorkerNodeInfoRequest does not contain field %s", fd.FullName())) + } +} + +// NewField returns a new value that is assignable to the field +// for the given descriptor. For scalars, this returns the default value. +// For lists, maps, and messages, this returns a new, empty, mutable value. +func (x *fastReflection_GetWorkerNodeInfoRequest) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.GetWorkerNodeInfoRequest.address": + return protoreflect.ValueOfString("") + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetWorkerNodeInfoRequest")) + } + panic(fmt.Errorf("message emissions.v8.GetWorkerNodeInfoRequest does not contain field %s", fd.FullName())) + } +} + +// WhichOneof reports which field within the oneof is populated, +// returning nil if none are populated. +// It panics if the oneof descriptor does not belong to this message. +func (x *fastReflection_GetWorkerNodeInfoRequest) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { + switch d.FullName() { + default: + panic(fmt.Errorf("%s is not a oneof field in emissions.v8.GetWorkerNodeInfoRequest", d.FullName())) + } + panic("unreachable") +} + +// GetUnknown retrieves the entire list of unknown fields. +// The caller may only mutate the contents of the RawFields +// if the mutated bytes are stored back into the message with SetUnknown. +func (x *fastReflection_GetWorkerNodeInfoRequest) GetUnknown() protoreflect.RawFields { + return x.unknownFields +} + +// SetUnknown stores an entire list of unknown fields. +// The raw fields must be syntactically valid according to the wire format. +// An implementation may panic if this is not the case. +// Once stored, the caller must not mutate the content of the RawFields. +// An empty RawFields may be passed to clear the fields. +// +// SetUnknown is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetWorkerNodeInfoRequest) SetUnknown(fields protoreflect.RawFields) { + x.unknownFields = fields +} + +// IsValid reports whether the message is valid. +// +// An invalid message is an empty, read-only value. +// +// An invalid message often corresponds to a nil pointer of the concrete +// message type, but the details are implementation dependent. +// Validity is not part of the protobuf data model, and may not +// be preserved in marshaling or other operations. +func (x *fastReflection_GetWorkerNodeInfoRequest) IsValid() bool { + return x != nil +} + +// ProtoMethods returns optional fastReflectionFeature-path implementations of various operations. +// This method may return nil. +// +// The returned methods type is identical to +// "google.golang.org/protobuf/runtime/protoiface".Methods. +// Consult the protoiface package documentation for details. +func (x *fastReflection_GetWorkerNodeInfoRequest) ProtoMethods() *protoiface.Methods { + size := func(input protoiface.SizeInput) protoiface.SizeOutput { + x := input.Message.Interface().(*GetWorkerNodeInfoRequest) + if x == nil { + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: 0, + } + } + options := runtime.SizeInputToOptions(input) + _ = options + var n int + var l int + _ = l + l = len(x.Address) + if l > 0 { + n += 1 + l + runtime.Sov(uint64(l)) + } + if x.unknownFields != nil { + n += len(x.unknownFields) + } + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: n, + } + } + + marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { + x := input.Message.Interface().(*GetWorkerNodeInfoRequest) + if x == nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + options := runtime.MarshalInputToOptions(input) + _ = options + size := options.Size(x) + dAtA := make([]byte, size) + i := len(dAtA) + _ = i + var l int + _ = l + if x.unknownFields != nil { + i -= len(x.unknownFields) + copy(dAtA[i:], x.unknownFields) + } + if len(x.Address) > 0 { + i -= len(x.Address) + copy(dAtA[i:], x.Address) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.Address))) + i-- + dAtA[i] = 0x12 + } + if input.Buf != nil { + input.Buf = append(input.Buf, dAtA...) + } else { + input.Buf = dAtA + } + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { + x := input.Message.Interface().(*GetWorkerNodeInfoRequest) + if x == nil { + return protoiface.UnmarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Flags: input.Flags, + }, nil + } + options := runtime.UnmarshalInputToOptions(input) + _ = options + dAtA := input.Buf + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: GetWorkerNodeInfoRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: GetWorkerNodeInfoRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 2: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Address", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + x.Address = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := runtime.Skip(dAtA[iNdEx:]) + if err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if (iNdEx + skippy) > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + if !options.DiscardUnknown { + x.unknownFields = append(x.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + } + iNdEx += skippy + } + } + + if iNdEx > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, nil + } + return &protoiface.Methods{ + NoUnkeyedLiterals: struct{}{}, + Flags: protoiface.SupportMarshalDeterministic | protoiface.SupportUnmarshalDiscardUnknown, + Size: size, + Marshal: marshal, + Unmarshal: unmarshal, + Merge: nil, + CheckInitialized: nil, + } +} + +var ( + md_GetWorkerNodeInfoResponse protoreflect.MessageDescriptor + fd_GetWorkerNodeInfoResponse_node_info protoreflect.FieldDescriptor +) + +func init() { + file_emissions_v8_query_proto_init() + md_GetWorkerNodeInfoResponse = File_emissions_v8_query_proto.Messages().ByName("GetWorkerNodeInfoResponse") + fd_GetWorkerNodeInfoResponse_node_info = md_GetWorkerNodeInfoResponse.Fields().ByName("node_info") +} + +var _ protoreflect.Message = (*fastReflection_GetWorkerNodeInfoResponse)(nil) + +type fastReflection_GetWorkerNodeInfoResponse GetWorkerNodeInfoResponse + +func (x *GetWorkerNodeInfoResponse) ProtoReflect() protoreflect.Message { + return (*fastReflection_GetWorkerNodeInfoResponse)(x) +} + +func (x *GetWorkerNodeInfoResponse) slowProtoReflect() protoreflect.Message { + mi := &file_emissions_v8_query_proto_msgTypes[83] + 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) +} + +var _fastReflection_GetWorkerNodeInfoResponse_messageType fastReflection_GetWorkerNodeInfoResponse_messageType +var _ protoreflect.MessageType = fastReflection_GetWorkerNodeInfoResponse_messageType{} + +type fastReflection_GetWorkerNodeInfoResponse_messageType struct{} + +func (x fastReflection_GetWorkerNodeInfoResponse_messageType) Zero() protoreflect.Message { + return (*fastReflection_GetWorkerNodeInfoResponse)(nil) +} +func (x fastReflection_GetWorkerNodeInfoResponse_messageType) New() protoreflect.Message { + return new(fastReflection_GetWorkerNodeInfoResponse) +} +func (x fastReflection_GetWorkerNodeInfoResponse_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_GetWorkerNodeInfoResponse +} + +// Descriptor returns message descriptor, which contains only the protobuf +// type information for the message. +func (x *fastReflection_GetWorkerNodeInfoResponse) Descriptor() protoreflect.MessageDescriptor { + return md_GetWorkerNodeInfoResponse +} + +// Type returns the message type, which encapsulates both Go and protobuf +// type information. If the Go type information is not needed, +// it is recommended that the message descriptor be used instead. +func (x *fastReflection_GetWorkerNodeInfoResponse) Type() protoreflect.MessageType { + return _fastReflection_GetWorkerNodeInfoResponse_messageType +} + +// New returns a newly allocated and mutable empty message. +func (x *fastReflection_GetWorkerNodeInfoResponse) New() protoreflect.Message { + return new(fastReflection_GetWorkerNodeInfoResponse) +} + +// Interface unwraps the message reflection interface and +// returns the underlying ProtoMessage interface. +func (x *fastReflection_GetWorkerNodeInfoResponse) Interface() protoreflect.ProtoMessage { + return (*GetWorkerNodeInfoResponse)(x) +} + +// Range iterates over every populated field in an undefined order, +// calling f for each field descriptor and value encountered. +// Range returns immediately if f returns false. +// While iterating, mutating operations may only be performed +// on the current field descriptor. +func (x *fastReflection_GetWorkerNodeInfoResponse) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { + if x.NodeInfo != nil { + value := protoreflect.ValueOfMessage(x.NodeInfo.ProtoReflect()) + if !f(fd_GetWorkerNodeInfoResponse_node_info, value) { + return + } + } +} + +// Has reports whether a field is populated. +// +// Some fields have the property of nullability where it is possible to +// distinguish between the default value of a field and whether the field +// was explicitly populated with the default value. Singular message fields, +// member fields of a oneof, and proto2 scalar fields are nullable. Such +// fields are populated only if explicitly set. +// +// In other cases (aside from the nullable cases above), +// a proto3 scalar field is populated if it contains a non-zero value, and +// a repeated field is populated if it is non-empty. +func (x *fastReflection_GetWorkerNodeInfoResponse) Has(fd protoreflect.FieldDescriptor) bool { + switch fd.FullName() { + case "emissions.v8.GetWorkerNodeInfoResponse.node_info": + return x.NodeInfo != nil + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetWorkerNodeInfoResponse")) + } + panic(fmt.Errorf("message emissions.v8.GetWorkerNodeInfoResponse does not contain field %s", fd.FullName())) + } +} + +// Clear clears the field such that a subsequent Has call reports false. +// +// Clearing an extension field clears both the extension type and value +// associated with the given field number. +// +// Clear is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetWorkerNodeInfoResponse) Clear(fd protoreflect.FieldDescriptor) { + switch fd.FullName() { + case "emissions.v8.GetWorkerNodeInfoResponse.node_info": + x.NodeInfo = nil + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetWorkerNodeInfoResponse")) + } + panic(fmt.Errorf("message emissions.v8.GetWorkerNodeInfoResponse does not contain field %s", fd.FullName())) + } +} + +// Get retrieves the value for a field. +// +// For unpopulated scalars, it returns the default value, where +// the default value of a bytes scalar is guaranteed to be a copy. +// For unpopulated composite types, it returns an empty, read-only view +// of the value; to obtain a mutable reference, use Mutable. +func (x *fastReflection_GetWorkerNodeInfoResponse) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { + switch descriptor.FullName() { + case "emissions.v8.GetWorkerNodeInfoResponse.node_info": + value := x.NodeInfo + return protoreflect.ValueOfMessage(value.ProtoReflect()) + default: + if descriptor.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetWorkerNodeInfoResponse")) + } + panic(fmt.Errorf("message emissions.v8.GetWorkerNodeInfoResponse does not contain field %s", descriptor.FullName())) + } +} + +// Set stores the value for a field. +// +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType. +// When setting a composite type, it is unspecified whether the stored value +// aliases the source's memory in any way. If the composite value is an +// empty, read-only value, then it panics. +// +// Set is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetWorkerNodeInfoResponse) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { + switch fd.FullName() { + case "emissions.v8.GetWorkerNodeInfoResponse.node_info": + x.NodeInfo = value.Message().Interface().(*v3.OffchainNode) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetWorkerNodeInfoResponse")) + } + panic(fmt.Errorf("message emissions.v8.GetWorkerNodeInfoResponse does not contain field %s", fd.FullName())) + } +} + +// Mutable returns a mutable reference to a composite type. +// +// If the field is unpopulated, it may allocate a composite value. +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType +// if not already stored. +// It panics if the field does not contain a composite type. +// +// Mutable is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetWorkerNodeInfoResponse) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.GetWorkerNodeInfoResponse.node_info": + if x.NodeInfo == nil { + x.NodeInfo = new(v3.OffchainNode) + } + return protoreflect.ValueOfMessage(x.NodeInfo.ProtoReflect()) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetWorkerNodeInfoResponse")) + } + panic(fmt.Errorf("message emissions.v8.GetWorkerNodeInfoResponse does not contain field %s", fd.FullName())) + } +} + +// NewField returns a new value that is assignable to the field +// for the given descriptor. For scalars, this returns the default value. +// For lists, maps, and messages, this returns a new, empty, mutable value. +func (x *fastReflection_GetWorkerNodeInfoResponse) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.GetWorkerNodeInfoResponse.node_info": + m := new(v3.OffchainNode) + return protoreflect.ValueOfMessage(m.ProtoReflect()) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetWorkerNodeInfoResponse")) + } + panic(fmt.Errorf("message emissions.v8.GetWorkerNodeInfoResponse does not contain field %s", fd.FullName())) + } +} + +// WhichOneof reports which field within the oneof is populated, +// returning nil if none are populated. +// It panics if the oneof descriptor does not belong to this message. +func (x *fastReflection_GetWorkerNodeInfoResponse) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { + switch d.FullName() { + default: + panic(fmt.Errorf("%s is not a oneof field in emissions.v8.GetWorkerNodeInfoResponse", d.FullName())) + } + panic("unreachable") +} + +// GetUnknown retrieves the entire list of unknown fields. +// The caller may only mutate the contents of the RawFields +// if the mutated bytes are stored back into the message with SetUnknown. +func (x *fastReflection_GetWorkerNodeInfoResponse) GetUnknown() protoreflect.RawFields { + return x.unknownFields +} + +// SetUnknown stores an entire list of unknown fields. +// The raw fields must be syntactically valid according to the wire format. +// An implementation may panic if this is not the case. +// Once stored, the caller must not mutate the content of the RawFields. +// An empty RawFields may be passed to clear the fields. +// +// SetUnknown is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetWorkerNodeInfoResponse) SetUnknown(fields protoreflect.RawFields) { + x.unknownFields = fields +} + +// IsValid reports whether the message is valid. +// +// An invalid message is an empty, read-only value. +// +// An invalid message often corresponds to a nil pointer of the concrete +// message type, but the details are implementation dependent. +// Validity is not part of the protobuf data model, and may not +// be preserved in marshaling or other operations. +func (x *fastReflection_GetWorkerNodeInfoResponse) IsValid() bool { + return x != nil +} + +// ProtoMethods returns optional fastReflectionFeature-path implementations of various operations. +// This method may return nil. +// +// The returned methods type is identical to +// "google.golang.org/protobuf/runtime/protoiface".Methods. +// Consult the protoiface package documentation for details. +func (x *fastReflection_GetWorkerNodeInfoResponse) ProtoMethods() *protoiface.Methods { + size := func(input protoiface.SizeInput) protoiface.SizeOutput { + x := input.Message.Interface().(*GetWorkerNodeInfoResponse) + if x == nil { + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: 0, + } + } + options := runtime.SizeInputToOptions(input) + _ = options + var n int + var l int + _ = l + if x.NodeInfo != nil { + l = options.Size(x.NodeInfo) + n += 1 + l + runtime.Sov(uint64(l)) + } + if x.unknownFields != nil { + n += len(x.unknownFields) + } + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: n, + } + } + + marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { + x := input.Message.Interface().(*GetWorkerNodeInfoResponse) + if x == nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + options := runtime.MarshalInputToOptions(input) + _ = options + size := options.Size(x) + dAtA := make([]byte, size) + i := len(dAtA) + _ = i + var l int + _ = l + if x.unknownFields != nil { + i -= len(x.unknownFields) + copy(dAtA[i:], x.unknownFields) + } + if x.NodeInfo != nil { + encoded, err := options.Marshal(x.NodeInfo) + if err != nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = runtime.EncodeVarint(dAtA, i, uint64(len(encoded))) + i-- + dAtA[i] = 0xa + } + if input.Buf != nil { + input.Buf = append(input.Buf, dAtA...) + } else { + input.Buf = dAtA + } + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { + x := input.Message.Interface().(*GetWorkerNodeInfoResponse) + if x == nil { + return protoiface.UnmarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Flags: input.Flags, + }, nil + } + options := runtime.UnmarshalInputToOptions(input) + _ = options + dAtA := input.Buf + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: GetWorkerNodeInfoResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: GetWorkerNodeInfoResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field NodeInfo", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + if x.NodeInfo == nil { + x.NodeInfo = &v3.OffchainNode{} + } + if err := options.Unmarshal(dAtA[iNdEx:postIndex], x.NodeInfo); err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := runtime.Skip(dAtA[iNdEx:]) + if err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if (iNdEx + skippy) > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + if !options.DiscardUnknown { + x.unknownFields = append(x.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + } + iNdEx += skippy + } + } + + if iNdEx > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, nil + } + return &protoiface.Methods{ + NoUnkeyedLiterals: struct{}{}, + Flags: protoiface.SupportMarshalDeterministic | protoiface.SupportUnmarshalDiscardUnknown, + Size: size, + Marshal: marshal, + Unmarshal: unmarshal, + Merge: nil, + CheckInitialized: nil, + } +} + +var ( + md_GetReputerNodeInfoRequest protoreflect.MessageDescriptor + fd_GetReputerNodeInfoRequest_address protoreflect.FieldDescriptor +) + +func init() { + file_emissions_v8_query_proto_init() + md_GetReputerNodeInfoRequest = File_emissions_v8_query_proto.Messages().ByName("GetReputerNodeInfoRequest") + fd_GetReputerNodeInfoRequest_address = md_GetReputerNodeInfoRequest.Fields().ByName("address") +} + +var _ protoreflect.Message = (*fastReflection_GetReputerNodeInfoRequest)(nil) + +type fastReflection_GetReputerNodeInfoRequest GetReputerNodeInfoRequest + +func (x *GetReputerNodeInfoRequest) ProtoReflect() protoreflect.Message { + return (*fastReflection_GetReputerNodeInfoRequest)(x) +} + +func (x *GetReputerNodeInfoRequest) slowProtoReflect() protoreflect.Message { + mi := &file_emissions_v8_query_proto_msgTypes[84] + 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) +} + +var _fastReflection_GetReputerNodeInfoRequest_messageType fastReflection_GetReputerNodeInfoRequest_messageType +var _ protoreflect.MessageType = fastReflection_GetReputerNodeInfoRequest_messageType{} + +type fastReflection_GetReputerNodeInfoRequest_messageType struct{} + +func (x fastReflection_GetReputerNodeInfoRequest_messageType) Zero() protoreflect.Message { + return (*fastReflection_GetReputerNodeInfoRequest)(nil) +} +func (x fastReflection_GetReputerNodeInfoRequest_messageType) New() protoreflect.Message { + return new(fastReflection_GetReputerNodeInfoRequest) +} +func (x fastReflection_GetReputerNodeInfoRequest_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_GetReputerNodeInfoRequest +} + +// Descriptor returns message descriptor, which contains only the protobuf +// type information for the message. +func (x *fastReflection_GetReputerNodeInfoRequest) Descriptor() protoreflect.MessageDescriptor { + return md_GetReputerNodeInfoRequest +} + +// Type returns the message type, which encapsulates both Go and protobuf +// type information. If the Go type information is not needed, +// it is recommended that the message descriptor be used instead. +func (x *fastReflection_GetReputerNodeInfoRequest) Type() protoreflect.MessageType { + return _fastReflection_GetReputerNodeInfoRequest_messageType +} + +// New returns a newly allocated and mutable empty message. +func (x *fastReflection_GetReputerNodeInfoRequest) New() protoreflect.Message { + return new(fastReflection_GetReputerNodeInfoRequest) +} + +// Interface unwraps the message reflection interface and +// returns the underlying ProtoMessage interface. +func (x *fastReflection_GetReputerNodeInfoRequest) Interface() protoreflect.ProtoMessage { + return (*GetReputerNodeInfoRequest)(x) +} + +// Range iterates over every populated field in an undefined order, +// calling f for each field descriptor and value encountered. +// Range returns immediately if f returns false. +// While iterating, mutating operations may only be performed +// on the current field descriptor. +func (x *fastReflection_GetReputerNodeInfoRequest) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { + if x.Address != "" { + value := protoreflect.ValueOfString(x.Address) + if !f(fd_GetReputerNodeInfoRequest_address, value) { + return + } + } +} + +// Has reports whether a field is populated. +// +// Some fields have the property of nullability where it is possible to +// distinguish between the default value of a field and whether the field +// was explicitly populated with the default value. Singular message fields, +// member fields of a oneof, and proto2 scalar fields are nullable. Such +// fields are populated only if explicitly set. +// +// In other cases (aside from the nullable cases above), +// a proto3 scalar field is populated if it contains a non-zero value, and +// a repeated field is populated if it is non-empty. +func (x *fastReflection_GetReputerNodeInfoRequest) Has(fd protoreflect.FieldDescriptor) bool { + switch fd.FullName() { + case "emissions.v8.GetReputerNodeInfoRequest.address": + return x.Address != "" + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetReputerNodeInfoRequest")) + } + panic(fmt.Errorf("message emissions.v8.GetReputerNodeInfoRequest does not contain field %s", fd.FullName())) + } +} + +// Clear clears the field such that a subsequent Has call reports false. +// +// Clearing an extension field clears both the extension type and value +// associated with the given field number. +// +// Clear is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetReputerNodeInfoRequest) Clear(fd protoreflect.FieldDescriptor) { + switch fd.FullName() { + case "emissions.v8.GetReputerNodeInfoRequest.address": + x.Address = "" + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetReputerNodeInfoRequest")) + } + panic(fmt.Errorf("message emissions.v8.GetReputerNodeInfoRequest does not contain field %s", fd.FullName())) + } +} + +// Get retrieves the value for a field. +// +// For unpopulated scalars, it returns the default value, where +// the default value of a bytes scalar is guaranteed to be a copy. +// For unpopulated composite types, it returns an empty, read-only view +// of the value; to obtain a mutable reference, use Mutable. +func (x *fastReflection_GetReputerNodeInfoRequest) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { + switch descriptor.FullName() { + case "emissions.v8.GetReputerNodeInfoRequest.address": + value := x.Address + return protoreflect.ValueOfString(value) + default: + if descriptor.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetReputerNodeInfoRequest")) + } + panic(fmt.Errorf("message emissions.v8.GetReputerNodeInfoRequest does not contain field %s", descriptor.FullName())) + } +} + +// Set stores the value for a field. +// +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType. +// When setting a composite type, it is unspecified whether the stored value +// aliases the source's memory in any way. If the composite value is an +// empty, read-only value, then it panics. +// +// Set is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetReputerNodeInfoRequest) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { + switch fd.FullName() { + case "emissions.v8.GetReputerNodeInfoRequest.address": + x.Address = value.Interface().(string) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetReputerNodeInfoRequest")) + } + panic(fmt.Errorf("message emissions.v8.GetReputerNodeInfoRequest does not contain field %s", fd.FullName())) + } +} + +// Mutable returns a mutable reference to a composite type. +// +// If the field is unpopulated, it may allocate a composite value. +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType +// if not already stored. +// It panics if the field does not contain a composite type. +// +// Mutable is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetReputerNodeInfoRequest) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.GetReputerNodeInfoRequest.address": + panic(fmt.Errorf("field address of message emissions.v8.GetReputerNodeInfoRequest is not mutable")) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetReputerNodeInfoRequest")) + } + panic(fmt.Errorf("message emissions.v8.GetReputerNodeInfoRequest does not contain field %s", fd.FullName())) + } +} + +// NewField returns a new value that is assignable to the field +// for the given descriptor. For scalars, this returns the default value. +// For lists, maps, and messages, this returns a new, empty, mutable value. +func (x *fastReflection_GetReputerNodeInfoRequest) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.GetReputerNodeInfoRequest.address": + return protoreflect.ValueOfString("") + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetReputerNodeInfoRequest")) + } + panic(fmt.Errorf("message emissions.v8.GetReputerNodeInfoRequest does not contain field %s", fd.FullName())) + } +} + +// WhichOneof reports which field within the oneof is populated, +// returning nil if none are populated. +// It panics if the oneof descriptor does not belong to this message. +func (x *fastReflection_GetReputerNodeInfoRequest) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { + switch d.FullName() { + default: + panic(fmt.Errorf("%s is not a oneof field in emissions.v8.GetReputerNodeInfoRequest", d.FullName())) + } + panic("unreachable") +} + +// GetUnknown retrieves the entire list of unknown fields. +// The caller may only mutate the contents of the RawFields +// if the mutated bytes are stored back into the message with SetUnknown. +func (x *fastReflection_GetReputerNodeInfoRequest) GetUnknown() protoreflect.RawFields { + return x.unknownFields +} + +// SetUnknown stores an entire list of unknown fields. +// The raw fields must be syntactically valid according to the wire format. +// An implementation may panic if this is not the case. +// Once stored, the caller must not mutate the content of the RawFields. +// An empty RawFields may be passed to clear the fields. +// +// SetUnknown is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetReputerNodeInfoRequest) SetUnknown(fields protoreflect.RawFields) { + x.unknownFields = fields +} + +// IsValid reports whether the message is valid. +// +// An invalid message is an empty, read-only value. +// +// An invalid message often corresponds to a nil pointer of the concrete +// message type, but the details are implementation dependent. +// Validity is not part of the protobuf data model, and may not +// be preserved in marshaling or other operations. +func (x *fastReflection_GetReputerNodeInfoRequest) IsValid() bool { + return x != nil +} + +// ProtoMethods returns optional fastReflectionFeature-path implementations of various operations. +// This method may return nil. +// +// The returned methods type is identical to +// "google.golang.org/protobuf/runtime/protoiface".Methods. +// Consult the protoiface package documentation for details. +func (x *fastReflection_GetReputerNodeInfoRequest) ProtoMethods() *protoiface.Methods { + size := func(input protoiface.SizeInput) protoiface.SizeOutput { + x := input.Message.Interface().(*GetReputerNodeInfoRequest) + if x == nil { + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: 0, + } + } + options := runtime.SizeInputToOptions(input) + _ = options + var n int + var l int + _ = l + l = len(x.Address) + if l > 0 { + n += 1 + l + runtime.Sov(uint64(l)) + } + if x.unknownFields != nil { + n += len(x.unknownFields) + } + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: n, + } + } + + marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { + x := input.Message.Interface().(*GetReputerNodeInfoRequest) + if x == nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + options := runtime.MarshalInputToOptions(input) + _ = options + size := options.Size(x) + dAtA := make([]byte, size) + i := len(dAtA) + _ = i + var l int + _ = l + if x.unknownFields != nil { + i -= len(x.unknownFields) + copy(dAtA[i:], x.unknownFields) + } + if len(x.Address) > 0 { + i -= len(x.Address) + copy(dAtA[i:], x.Address) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.Address))) + i-- + dAtA[i] = 0x12 + } + if input.Buf != nil { + input.Buf = append(input.Buf, dAtA...) + } else { + input.Buf = dAtA + } + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { + x := input.Message.Interface().(*GetReputerNodeInfoRequest) + if x == nil { + return protoiface.UnmarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Flags: input.Flags, + }, nil + } + options := runtime.UnmarshalInputToOptions(input) + _ = options + dAtA := input.Buf + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: GetReputerNodeInfoRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: GetReputerNodeInfoRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 2: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Address", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + x.Address = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := runtime.Skip(dAtA[iNdEx:]) + if err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if (iNdEx + skippy) > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + if !options.DiscardUnknown { + x.unknownFields = append(x.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + } + iNdEx += skippy + } + } + + if iNdEx > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, nil + } + return &protoiface.Methods{ + NoUnkeyedLiterals: struct{}{}, + Flags: protoiface.SupportMarshalDeterministic | protoiface.SupportUnmarshalDiscardUnknown, + Size: size, + Marshal: marshal, + Unmarshal: unmarshal, + Merge: nil, + CheckInitialized: nil, + } +} + +var ( + md_GetReputerNodeInfoResponse protoreflect.MessageDescriptor + fd_GetReputerNodeInfoResponse_node_info protoreflect.FieldDescriptor +) + +func init() { + file_emissions_v8_query_proto_init() + md_GetReputerNodeInfoResponse = File_emissions_v8_query_proto.Messages().ByName("GetReputerNodeInfoResponse") + fd_GetReputerNodeInfoResponse_node_info = md_GetReputerNodeInfoResponse.Fields().ByName("node_info") +} + +var _ protoreflect.Message = (*fastReflection_GetReputerNodeInfoResponse)(nil) + +type fastReflection_GetReputerNodeInfoResponse GetReputerNodeInfoResponse + +func (x *GetReputerNodeInfoResponse) ProtoReflect() protoreflect.Message { + return (*fastReflection_GetReputerNodeInfoResponse)(x) +} + +func (x *GetReputerNodeInfoResponse) slowProtoReflect() protoreflect.Message { + mi := &file_emissions_v8_query_proto_msgTypes[85] + 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) +} + +var _fastReflection_GetReputerNodeInfoResponse_messageType fastReflection_GetReputerNodeInfoResponse_messageType +var _ protoreflect.MessageType = fastReflection_GetReputerNodeInfoResponse_messageType{} + +type fastReflection_GetReputerNodeInfoResponse_messageType struct{} + +func (x fastReflection_GetReputerNodeInfoResponse_messageType) Zero() protoreflect.Message { + return (*fastReflection_GetReputerNodeInfoResponse)(nil) +} +func (x fastReflection_GetReputerNodeInfoResponse_messageType) New() protoreflect.Message { + return new(fastReflection_GetReputerNodeInfoResponse) +} +func (x fastReflection_GetReputerNodeInfoResponse_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_GetReputerNodeInfoResponse +} + +// Descriptor returns message descriptor, which contains only the protobuf +// type information for the message. +func (x *fastReflection_GetReputerNodeInfoResponse) Descriptor() protoreflect.MessageDescriptor { + return md_GetReputerNodeInfoResponse +} + +// Type returns the message type, which encapsulates both Go and protobuf +// type information. If the Go type information is not needed, +// it is recommended that the message descriptor be used instead. +func (x *fastReflection_GetReputerNodeInfoResponse) Type() protoreflect.MessageType { + return _fastReflection_GetReputerNodeInfoResponse_messageType +} + +// New returns a newly allocated and mutable empty message. +func (x *fastReflection_GetReputerNodeInfoResponse) New() protoreflect.Message { + return new(fastReflection_GetReputerNodeInfoResponse) +} + +// Interface unwraps the message reflection interface and +// returns the underlying ProtoMessage interface. +func (x *fastReflection_GetReputerNodeInfoResponse) Interface() protoreflect.ProtoMessage { + return (*GetReputerNodeInfoResponse)(x) +} + +// Range iterates over every populated field in an undefined order, +// calling f for each field descriptor and value encountered. +// Range returns immediately if f returns false. +// While iterating, mutating operations may only be performed +// on the current field descriptor. +func (x *fastReflection_GetReputerNodeInfoResponse) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { + if x.NodeInfo != nil { + value := protoreflect.ValueOfMessage(x.NodeInfo.ProtoReflect()) + if !f(fd_GetReputerNodeInfoResponse_node_info, value) { + return + } + } +} + +// Has reports whether a field is populated. +// +// Some fields have the property of nullability where it is possible to +// distinguish between the default value of a field and whether the field +// was explicitly populated with the default value. Singular message fields, +// member fields of a oneof, and proto2 scalar fields are nullable. Such +// fields are populated only if explicitly set. +// +// In other cases (aside from the nullable cases above), +// a proto3 scalar field is populated if it contains a non-zero value, and +// a repeated field is populated if it is non-empty. +func (x *fastReflection_GetReputerNodeInfoResponse) Has(fd protoreflect.FieldDescriptor) bool { + switch fd.FullName() { + case "emissions.v8.GetReputerNodeInfoResponse.node_info": + return x.NodeInfo != nil + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetReputerNodeInfoResponse")) + } + panic(fmt.Errorf("message emissions.v8.GetReputerNodeInfoResponse does not contain field %s", fd.FullName())) + } +} + +// Clear clears the field such that a subsequent Has call reports false. +// +// Clearing an extension field clears both the extension type and value +// associated with the given field number. +// +// Clear is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetReputerNodeInfoResponse) Clear(fd protoreflect.FieldDescriptor) { + switch fd.FullName() { + case "emissions.v8.GetReputerNodeInfoResponse.node_info": + x.NodeInfo = nil + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetReputerNodeInfoResponse")) + } + panic(fmt.Errorf("message emissions.v8.GetReputerNodeInfoResponse does not contain field %s", fd.FullName())) + } +} + +// Get retrieves the value for a field. +// +// For unpopulated scalars, it returns the default value, where +// the default value of a bytes scalar is guaranteed to be a copy. +// For unpopulated composite types, it returns an empty, read-only view +// of the value; to obtain a mutable reference, use Mutable. +func (x *fastReflection_GetReputerNodeInfoResponse) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { + switch descriptor.FullName() { + case "emissions.v8.GetReputerNodeInfoResponse.node_info": + value := x.NodeInfo + return protoreflect.ValueOfMessage(value.ProtoReflect()) + default: + if descriptor.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetReputerNodeInfoResponse")) + } + panic(fmt.Errorf("message emissions.v8.GetReputerNodeInfoResponse does not contain field %s", descriptor.FullName())) + } +} + +// Set stores the value for a field. +// +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType. +// When setting a composite type, it is unspecified whether the stored value +// aliases the source's memory in any way. If the composite value is an +// empty, read-only value, then it panics. +// +// Set is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetReputerNodeInfoResponse) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { + switch fd.FullName() { + case "emissions.v8.GetReputerNodeInfoResponse.node_info": + x.NodeInfo = value.Message().Interface().(*v3.OffchainNode) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetReputerNodeInfoResponse")) + } + panic(fmt.Errorf("message emissions.v8.GetReputerNodeInfoResponse does not contain field %s", fd.FullName())) + } +} + +// Mutable returns a mutable reference to a composite type. +// +// If the field is unpopulated, it may allocate a composite value. +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType +// if not already stored. +// It panics if the field does not contain a composite type. +// +// Mutable is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetReputerNodeInfoResponse) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.GetReputerNodeInfoResponse.node_info": + if x.NodeInfo == nil { + x.NodeInfo = new(v3.OffchainNode) + } + return protoreflect.ValueOfMessage(x.NodeInfo.ProtoReflect()) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetReputerNodeInfoResponse")) + } + panic(fmt.Errorf("message emissions.v8.GetReputerNodeInfoResponse does not contain field %s", fd.FullName())) + } +} + +// NewField returns a new value that is assignable to the field +// for the given descriptor. For scalars, this returns the default value. +// For lists, maps, and messages, this returns a new, empty, mutable value. +func (x *fastReflection_GetReputerNodeInfoResponse) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.GetReputerNodeInfoResponse.node_info": + m := new(v3.OffchainNode) + return protoreflect.ValueOfMessage(m.ProtoReflect()) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetReputerNodeInfoResponse")) + } + panic(fmt.Errorf("message emissions.v8.GetReputerNodeInfoResponse does not contain field %s", fd.FullName())) + } +} + +// WhichOneof reports which field within the oneof is populated, +// returning nil if none are populated. +// It panics if the oneof descriptor does not belong to this message. +func (x *fastReflection_GetReputerNodeInfoResponse) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { + switch d.FullName() { + default: + panic(fmt.Errorf("%s is not a oneof field in emissions.v8.GetReputerNodeInfoResponse", d.FullName())) + } + panic("unreachable") +} + +// GetUnknown retrieves the entire list of unknown fields. +// The caller may only mutate the contents of the RawFields +// if the mutated bytes are stored back into the message with SetUnknown. +func (x *fastReflection_GetReputerNodeInfoResponse) GetUnknown() protoreflect.RawFields { + return x.unknownFields +} + +// SetUnknown stores an entire list of unknown fields. +// The raw fields must be syntactically valid according to the wire format. +// An implementation may panic if this is not the case. +// Once stored, the caller must not mutate the content of the RawFields. +// An empty RawFields may be passed to clear the fields. +// +// SetUnknown is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetReputerNodeInfoResponse) SetUnknown(fields protoreflect.RawFields) { + x.unknownFields = fields +} + +// IsValid reports whether the message is valid. +// +// An invalid message is an empty, read-only value. +// +// An invalid message often corresponds to a nil pointer of the concrete +// message type, but the details are implementation dependent. +// Validity is not part of the protobuf data model, and may not +// be preserved in marshaling or other operations. +func (x *fastReflection_GetReputerNodeInfoResponse) IsValid() bool { + return x != nil +} + +// ProtoMethods returns optional fastReflectionFeature-path implementations of various operations. +// This method may return nil. +// +// The returned methods type is identical to +// "google.golang.org/protobuf/runtime/protoiface".Methods. +// Consult the protoiface package documentation for details. +func (x *fastReflection_GetReputerNodeInfoResponse) ProtoMethods() *protoiface.Methods { + size := func(input protoiface.SizeInput) protoiface.SizeOutput { + x := input.Message.Interface().(*GetReputerNodeInfoResponse) + if x == nil { + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: 0, + } + } + options := runtime.SizeInputToOptions(input) + _ = options + var n int + var l int + _ = l + if x.NodeInfo != nil { + l = options.Size(x.NodeInfo) + n += 1 + l + runtime.Sov(uint64(l)) + } + if x.unknownFields != nil { + n += len(x.unknownFields) + } + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: n, + } + } + + marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { + x := input.Message.Interface().(*GetReputerNodeInfoResponse) + if x == nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + options := runtime.MarshalInputToOptions(input) + _ = options + size := options.Size(x) + dAtA := make([]byte, size) + i := len(dAtA) + _ = i + var l int + _ = l + if x.unknownFields != nil { + i -= len(x.unknownFields) + copy(dAtA[i:], x.unknownFields) + } + if x.NodeInfo != nil { + encoded, err := options.Marshal(x.NodeInfo) + if err != nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = runtime.EncodeVarint(dAtA, i, uint64(len(encoded))) + i-- + dAtA[i] = 0xa + } + if input.Buf != nil { + input.Buf = append(input.Buf, dAtA...) + } else { + input.Buf = dAtA + } + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { + x := input.Message.Interface().(*GetReputerNodeInfoResponse) + if x == nil { + return protoiface.UnmarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Flags: input.Flags, + }, nil + } + options := runtime.UnmarshalInputToOptions(input) + _ = options + dAtA := input.Buf + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: GetReputerNodeInfoResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: GetReputerNodeInfoResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field NodeInfo", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + if x.NodeInfo == nil { + x.NodeInfo = &v3.OffchainNode{} + } + if err := options.Unmarshal(dAtA[iNdEx:postIndex], x.NodeInfo); err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := runtime.Skip(dAtA[iNdEx:]) + if err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if (iNdEx + skippy) > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + if !options.DiscardUnknown { + x.unknownFields = append(x.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + } + iNdEx += skippy + } + } + + if iNdEx > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, nil + } + return &protoiface.Methods{ + NoUnkeyedLiterals: struct{}{}, + Flags: protoiface.SupportMarshalDeterministic | protoiface.SupportUnmarshalDiscardUnknown, + Size: size, + Marshal: marshal, + Unmarshal: unmarshal, + Merge: nil, + CheckInitialized: nil, + } +} + +var ( + md_GetNetworkInferencesAtBlockRequest protoreflect.MessageDescriptor + fd_GetNetworkInferencesAtBlockRequest_topic_id protoreflect.FieldDescriptor + fd_GetNetworkInferencesAtBlockRequest_block_height_last_inference protoreflect.FieldDescriptor +) + +func init() { + file_emissions_v8_query_proto_init() + md_GetNetworkInferencesAtBlockRequest = File_emissions_v8_query_proto.Messages().ByName("GetNetworkInferencesAtBlockRequest") + fd_GetNetworkInferencesAtBlockRequest_topic_id = md_GetNetworkInferencesAtBlockRequest.Fields().ByName("topic_id") + fd_GetNetworkInferencesAtBlockRequest_block_height_last_inference = md_GetNetworkInferencesAtBlockRequest.Fields().ByName("block_height_last_inference") +} + +var _ protoreflect.Message = (*fastReflection_GetNetworkInferencesAtBlockRequest)(nil) + +type fastReflection_GetNetworkInferencesAtBlockRequest GetNetworkInferencesAtBlockRequest + +func (x *GetNetworkInferencesAtBlockRequest) ProtoReflect() protoreflect.Message { + return (*fastReflection_GetNetworkInferencesAtBlockRequest)(x) +} + +func (x *GetNetworkInferencesAtBlockRequest) slowProtoReflect() protoreflect.Message { + mi := &file_emissions_v8_query_proto_msgTypes[86] + 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) +} + +var _fastReflection_GetNetworkInferencesAtBlockRequest_messageType fastReflection_GetNetworkInferencesAtBlockRequest_messageType +var _ protoreflect.MessageType = fastReflection_GetNetworkInferencesAtBlockRequest_messageType{} + +type fastReflection_GetNetworkInferencesAtBlockRequest_messageType struct{} + +func (x fastReflection_GetNetworkInferencesAtBlockRequest_messageType) Zero() protoreflect.Message { + return (*fastReflection_GetNetworkInferencesAtBlockRequest)(nil) +} +func (x fastReflection_GetNetworkInferencesAtBlockRequest_messageType) New() protoreflect.Message { + return new(fastReflection_GetNetworkInferencesAtBlockRequest) +} +func (x fastReflection_GetNetworkInferencesAtBlockRequest_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_GetNetworkInferencesAtBlockRequest +} + +// Descriptor returns message descriptor, which contains only the protobuf +// type information for the message. +func (x *fastReflection_GetNetworkInferencesAtBlockRequest) Descriptor() protoreflect.MessageDescriptor { + return md_GetNetworkInferencesAtBlockRequest +} + +// Type returns the message type, which encapsulates both Go and protobuf +// type information. If the Go type information is not needed, +// it is recommended that the message descriptor be used instead. +func (x *fastReflection_GetNetworkInferencesAtBlockRequest) Type() protoreflect.MessageType { + return _fastReflection_GetNetworkInferencesAtBlockRequest_messageType +} + +// New returns a newly allocated and mutable empty message. +func (x *fastReflection_GetNetworkInferencesAtBlockRequest) New() protoreflect.Message { + return new(fastReflection_GetNetworkInferencesAtBlockRequest) +} + +// Interface unwraps the message reflection interface and +// returns the underlying ProtoMessage interface. +func (x *fastReflection_GetNetworkInferencesAtBlockRequest) Interface() protoreflect.ProtoMessage { + return (*GetNetworkInferencesAtBlockRequest)(x) +} + +// Range iterates over every populated field in an undefined order, +// calling f for each field descriptor and value encountered. +// Range returns immediately if f returns false. +// While iterating, mutating operations may only be performed +// on the current field descriptor. +func (x *fastReflection_GetNetworkInferencesAtBlockRequest) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { + if x.TopicId != uint64(0) { + value := protoreflect.ValueOfUint64(x.TopicId) + if !f(fd_GetNetworkInferencesAtBlockRequest_topic_id, value) { + return + } + } + if x.BlockHeightLastInference != int64(0) { + value := protoreflect.ValueOfInt64(x.BlockHeightLastInference) + if !f(fd_GetNetworkInferencesAtBlockRequest_block_height_last_inference, value) { + return + } + } +} + +// Has reports whether a field is populated. +// +// Some fields have the property of nullability where it is possible to +// distinguish between the default value of a field and whether the field +// was explicitly populated with the default value. Singular message fields, +// member fields of a oneof, and proto2 scalar fields are nullable. Such +// fields are populated only if explicitly set. +// +// In other cases (aside from the nullable cases above), +// a proto3 scalar field is populated if it contains a non-zero value, and +// a repeated field is populated if it is non-empty. +func (x *fastReflection_GetNetworkInferencesAtBlockRequest) Has(fd protoreflect.FieldDescriptor) bool { + switch fd.FullName() { + case "emissions.v8.GetNetworkInferencesAtBlockRequest.topic_id": + return x.TopicId != uint64(0) + case "emissions.v8.GetNetworkInferencesAtBlockRequest.block_height_last_inference": + return x.BlockHeightLastInference != int64(0) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetNetworkInferencesAtBlockRequest")) + } + panic(fmt.Errorf("message emissions.v8.GetNetworkInferencesAtBlockRequest does not contain field %s", fd.FullName())) + } +} + +// Clear clears the field such that a subsequent Has call reports false. +// +// Clearing an extension field clears both the extension type and value +// associated with the given field number. +// +// Clear is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetNetworkInferencesAtBlockRequest) Clear(fd protoreflect.FieldDescriptor) { + switch fd.FullName() { + case "emissions.v8.GetNetworkInferencesAtBlockRequest.topic_id": + x.TopicId = uint64(0) + case "emissions.v8.GetNetworkInferencesAtBlockRequest.block_height_last_inference": + x.BlockHeightLastInference = int64(0) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetNetworkInferencesAtBlockRequest")) + } + panic(fmt.Errorf("message emissions.v8.GetNetworkInferencesAtBlockRequest does not contain field %s", fd.FullName())) + } +} + +// Get retrieves the value for a field. +// +// For unpopulated scalars, it returns the default value, where +// the default value of a bytes scalar is guaranteed to be a copy. +// For unpopulated composite types, it returns an empty, read-only view +// of the value; to obtain a mutable reference, use Mutable. +func (x *fastReflection_GetNetworkInferencesAtBlockRequest) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { + switch descriptor.FullName() { + case "emissions.v8.GetNetworkInferencesAtBlockRequest.topic_id": + value := x.TopicId + return protoreflect.ValueOfUint64(value) + case "emissions.v8.GetNetworkInferencesAtBlockRequest.block_height_last_inference": + value := x.BlockHeightLastInference + return protoreflect.ValueOfInt64(value) + default: + if descriptor.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetNetworkInferencesAtBlockRequest")) + } + panic(fmt.Errorf("message emissions.v8.GetNetworkInferencesAtBlockRequest does not contain field %s", descriptor.FullName())) + } +} + +// Set stores the value for a field. +// +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType. +// When setting a composite type, it is unspecified whether the stored value +// aliases the source's memory in any way. If the composite value is an +// empty, read-only value, then it panics. +// +// Set is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetNetworkInferencesAtBlockRequest) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { + switch fd.FullName() { + case "emissions.v8.GetNetworkInferencesAtBlockRequest.topic_id": + x.TopicId = value.Uint() + case "emissions.v8.GetNetworkInferencesAtBlockRequest.block_height_last_inference": + x.BlockHeightLastInference = value.Int() + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetNetworkInferencesAtBlockRequest")) + } + panic(fmt.Errorf("message emissions.v8.GetNetworkInferencesAtBlockRequest does not contain field %s", fd.FullName())) + } +} + +// Mutable returns a mutable reference to a composite type. +// +// If the field is unpopulated, it may allocate a composite value. +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType +// if not already stored. +// It panics if the field does not contain a composite type. +// +// Mutable is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetNetworkInferencesAtBlockRequest) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.GetNetworkInferencesAtBlockRequest.topic_id": + panic(fmt.Errorf("field topic_id of message emissions.v8.GetNetworkInferencesAtBlockRequest is not mutable")) + case "emissions.v8.GetNetworkInferencesAtBlockRequest.block_height_last_inference": + panic(fmt.Errorf("field block_height_last_inference of message emissions.v8.GetNetworkInferencesAtBlockRequest is not mutable")) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetNetworkInferencesAtBlockRequest")) + } + panic(fmt.Errorf("message emissions.v8.GetNetworkInferencesAtBlockRequest does not contain field %s", fd.FullName())) + } +} + +// NewField returns a new value that is assignable to the field +// for the given descriptor. For scalars, this returns the default value. +// For lists, maps, and messages, this returns a new, empty, mutable value. +func (x *fastReflection_GetNetworkInferencesAtBlockRequest) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.GetNetworkInferencesAtBlockRequest.topic_id": + return protoreflect.ValueOfUint64(uint64(0)) + case "emissions.v8.GetNetworkInferencesAtBlockRequest.block_height_last_inference": + return protoreflect.ValueOfInt64(int64(0)) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetNetworkInferencesAtBlockRequest")) + } + panic(fmt.Errorf("message emissions.v8.GetNetworkInferencesAtBlockRequest does not contain field %s", fd.FullName())) + } +} + +// WhichOneof reports which field within the oneof is populated, +// returning nil if none are populated. +// It panics if the oneof descriptor does not belong to this message. +func (x *fastReflection_GetNetworkInferencesAtBlockRequest) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { + switch d.FullName() { + default: + panic(fmt.Errorf("%s is not a oneof field in emissions.v8.GetNetworkInferencesAtBlockRequest", d.FullName())) + } + panic("unreachable") +} + +// GetUnknown retrieves the entire list of unknown fields. +// The caller may only mutate the contents of the RawFields +// if the mutated bytes are stored back into the message with SetUnknown. +func (x *fastReflection_GetNetworkInferencesAtBlockRequest) GetUnknown() protoreflect.RawFields { + return x.unknownFields +} + +// SetUnknown stores an entire list of unknown fields. +// The raw fields must be syntactically valid according to the wire format. +// An implementation may panic if this is not the case. +// Once stored, the caller must not mutate the content of the RawFields. +// An empty RawFields may be passed to clear the fields. +// +// SetUnknown is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetNetworkInferencesAtBlockRequest) SetUnknown(fields protoreflect.RawFields) { + x.unknownFields = fields +} + +// IsValid reports whether the message is valid. +// +// An invalid message is an empty, read-only value. +// +// An invalid message often corresponds to a nil pointer of the concrete +// message type, but the details are implementation dependent. +// Validity is not part of the protobuf data model, and may not +// be preserved in marshaling or other operations. +func (x *fastReflection_GetNetworkInferencesAtBlockRequest) IsValid() bool { + return x != nil +} + +// ProtoMethods returns optional fastReflectionFeature-path implementations of various operations. +// This method may return nil. +// +// The returned methods type is identical to +// "google.golang.org/protobuf/runtime/protoiface".Methods. +// Consult the protoiface package documentation for details. +func (x *fastReflection_GetNetworkInferencesAtBlockRequest) ProtoMethods() *protoiface.Methods { + size := func(input protoiface.SizeInput) protoiface.SizeOutput { + x := input.Message.Interface().(*GetNetworkInferencesAtBlockRequest) + if x == nil { + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: 0, + } + } + options := runtime.SizeInputToOptions(input) + _ = options + var n int + var l int + _ = l + if x.TopicId != 0 { + n += 1 + runtime.Sov(uint64(x.TopicId)) + } + if x.BlockHeightLastInference != 0 { + n += 1 + runtime.Sov(uint64(x.BlockHeightLastInference)) + } + if x.unknownFields != nil { + n += len(x.unknownFields) + } + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: n, + } + } + + marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { + x := input.Message.Interface().(*GetNetworkInferencesAtBlockRequest) + if x == nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + options := runtime.MarshalInputToOptions(input) + _ = options + size := options.Size(x) + dAtA := make([]byte, size) + i := len(dAtA) + _ = i + var l int + _ = l + if x.unknownFields != nil { + i -= len(x.unknownFields) + copy(dAtA[i:], x.unknownFields) + } + if x.BlockHeightLastInference != 0 { + i = runtime.EncodeVarint(dAtA, i, uint64(x.BlockHeightLastInference)) + i-- + dAtA[i] = 0x10 + } + if x.TopicId != 0 { + i = runtime.EncodeVarint(dAtA, i, uint64(x.TopicId)) + i-- + dAtA[i] = 0x8 + } + if input.Buf != nil { + input.Buf = append(input.Buf, dAtA...) + } else { + input.Buf = dAtA + } + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { + x := input.Message.Interface().(*GetNetworkInferencesAtBlockRequest) + if x == nil { + return protoiface.UnmarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Flags: input.Flags, + }, nil + } + options := runtime.UnmarshalInputToOptions(input) + _ = options + dAtA := input.Buf + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: GetNetworkInferencesAtBlockRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: GetNetworkInferencesAtBlockRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field TopicId", wireType) + } + x.TopicId = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + x.TopicId |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 2: + if wireType != 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field BlockHeightLastInference", wireType) + } + x.BlockHeightLastInference = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + x.BlockHeightLastInference |= int64(b&0x7F) << shift + if b < 0x80 { + break + } + } + default: + iNdEx = preIndex + skippy, err := runtime.Skip(dAtA[iNdEx:]) + if err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if (iNdEx + skippy) > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + if !options.DiscardUnknown { + x.unknownFields = append(x.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + } + iNdEx += skippy + } + } + + if iNdEx > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, nil + } + return &protoiface.Methods{ + NoUnkeyedLiterals: struct{}{}, + Flags: protoiface.SupportMarshalDeterministic | protoiface.SupportUnmarshalDiscardUnknown, + Size: size, + Marshal: marshal, + Unmarshal: unmarshal, + Merge: nil, + CheckInitialized: nil, + } +} + +var ( + md_GetNetworkInferencesAtBlockOutlierResistantRequest protoreflect.MessageDescriptor + fd_GetNetworkInferencesAtBlockOutlierResistantRequest_topic_id protoreflect.FieldDescriptor + fd_GetNetworkInferencesAtBlockOutlierResistantRequest_block_height_last_inference protoreflect.FieldDescriptor +) + +func init() { + file_emissions_v8_query_proto_init() + md_GetNetworkInferencesAtBlockOutlierResistantRequest = File_emissions_v8_query_proto.Messages().ByName("GetNetworkInferencesAtBlockOutlierResistantRequest") + fd_GetNetworkInferencesAtBlockOutlierResistantRequest_topic_id = md_GetNetworkInferencesAtBlockOutlierResistantRequest.Fields().ByName("topic_id") + fd_GetNetworkInferencesAtBlockOutlierResistantRequest_block_height_last_inference = md_GetNetworkInferencesAtBlockOutlierResistantRequest.Fields().ByName("block_height_last_inference") +} + +var _ protoreflect.Message = (*fastReflection_GetNetworkInferencesAtBlockOutlierResistantRequest)(nil) + +type fastReflection_GetNetworkInferencesAtBlockOutlierResistantRequest GetNetworkInferencesAtBlockOutlierResistantRequest + +func (x *GetNetworkInferencesAtBlockOutlierResistantRequest) ProtoReflect() protoreflect.Message { + return (*fastReflection_GetNetworkInferencesAtBlockOutlierResistantRequest)(x) +} + +func (x *GetNetworkInferencesAtBlockOutlierResistantRequest) slowProtoReflect() protoreflect.Message { + mi := &file_emissions_v8_query_proto_msgTypes[87] + 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) +} + +var _fastReflection_GetNetworkInferencesAtBlockOutlierResistantRequest_messageType fastReflection_GetNetworkInferencesAtBlockOutlierResistantRequest_messageType +var _ protoreflect.MessageType = fastReflection_GetNetworkInferencesAtBlockOutlierResistantRequest_messageType{} + +type fastReflection_GetNetworkInferencesAtBlockOutlierResistantRequest_messageType struct{} + +func (x fastReflection_GetNetworkInferencesAtBlockOutlierResistantRequest_messageType) Zero() protoreflect.Message { + return (*fastReflection_GetNetworkInferencesAtBlockOutlierResistantRequest)(nil) +} +func (x fastReflection_GetNetworkInferencesAtBlockOutlierResistantRequest_messageType) New() protoreflect.Message { + return new(fastReflection_GetNetworkInferencesAtBlockOutlierResistantRequest) +} +func (x fastReflection_GetNetworkInferencesAtBlockOutlierResistantRequest_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_GetNetworkInferencesAtBlockOutlierResistantRequest +} + +// Descriptor returns message descriptor, which contains only the protobuf +// type information for the message. +func (x *fastReflection_GetNetworkInferencesAtBlockOutlierResistantRequest) Descriptor() protoreflect.MessageDescriptor { + return md_GetNetworkInferencesAtBlockOutlierResistantRequest +} + +// Type returns the message type, which encapsulates both Go and protobuf +// type information. If the Go type information is not needed, +// it is recommended that the message descriptor be used instead. +func (x *fastReflection_GetNetworkInferencesAtBlockOutlierResistantRequest) Type() protoreflect.MessageType { + return _fastReflection_GetNetworkInferencesAtBlockOutlierResistantRequest_messageType +} + +// New returns a newly allocated and mutable empty message. +func (x *fastReflection_GetNetworkInferencesAtBlockOutlierResistantRequest) New() protoreflect.Message { + return new(fastReflection_GetNetworkInferencesAtBlockOutlierResistantRequest) +} + +// Interface unwraps the message reflection interface and +// returns the underlying ProtoMessage interface. +func (x *fastReflection_GetNetworkInferencesAtBlockOutlierResistantRequest) Interface() protoreflect.ProtoMessage { + return (*GetNetworkInferencesAtBlockOutlierResistantRequest)(x) +} + +// Range iterates over every populated field in an undefined order, +// calling f for each field descriptor and value encountered. +// Range returns immediately if f returns false. +// While iterating, mutating operations may only be performed +// on the current field descriptor. +func (x *fastReflection_GetNetworkInferencesAtBlockOutlierResistantRequest) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { + if x.TopicId != uint64(0) { + value := protoreflect.ValueOfUint64(x.TopicId) + if !f(fd_GetNetworkInferencesAtBlockOutlierResistantRequest_topic_id, value) { + return + } + } + if x.BlockHeightLastInference != int64(0) { + value := protoreflect.ValueOfInt64(x.BlockHeightLastInference) + if !f(fd_GetNetworkInferencesAtBlockOutlierResistantRequest_block_height_last_inference, value) { + return + } + } +} + +// Has reports whether a field is populated. +// +// Some fields have the property of nullability where it is possible to +// distinguish between the default value of a field and whether the field +// was explicitly populated with the default value. Singular message fields, +// member fields of a oneof, and proto2 scalar fields are nullable. Such +// fields are populated only if explicitly set. +// +// In other cases (aside from the nullable cases above), +// a proto3 scalar field is populated if it contains a non-zero value, and +// a repeated field is populated if it is non-empty. +func (x *fastReflection_GetNetworkInferencesAtBlockOutlierResistantRequest) Has(fd protoreflect.FieldDescriptor) bool { + switch fd.FullName() { + case "emissions.v8.GetNetworkInferencesAtBlockOutlierResistantRequest.topic_id": + return x.TopicId != uint64(0) + case "emissions.v8.GetNetworkInferencesAtBlockOutlierResistantRequest.block_height_last_inference": + return x.BlockHeightLastInference != int64(0) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetNetworkInferencesAtBlockOutlierResistantRequest")) + } + panic(fmt.Errorf("message emissions.v8.GetNetworkInferencesAtBlockOutlierResistantRequest does not contain field %s", fd.FullName())) + } +} + +// Clear clears the field such that a subsequent Has call reports false. +// +// Clearing an extension field clears both the extension type and value +// associated with the given field number. +// +// Clear is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetNetworkInferencesAtBlockOutlierResistantRequest) Clear(fd protoreflect.FieldDescriptor) { + switch fd.FullName() { + case "emissions.v8.GetNetworkInferencesAtBlockOutlierResistantRequest.topic_id": + x.TopicId = uint64(0) + case "emissions.v8.GetNetworkInferencesAtBlockOutlierResistantRequest.block_height_last_inference": + x.BlockHeightLastInference = int64(0) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetNetworkInferencesAtBlockOutlierResistantRequest")) + } + panic(fmt.Errorf("message emissions.v8.GetNetworkInferencesAtBlockOutlierResistantRequest does not contain field %s", fd.FullName())) + } +} + +// Get retrieves the value for a field. +// +// For unpopulated scalars, it returns the default value, where +// the default value of a bytes scalar is guaranteed to be a copy. +// For unpopulated composite types, it returns an empty, read-only view +// of the value; to obtain a mutable reference, use Mutable. +func (x *fastReflection_GetNetworkInferencesAtBlockOutlierResistantRequest) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { + switch descriptor.FullName() { + case "emissions.v8.GetNetworkInferencesAtBlockOutlierResistantRequest.topic_id": + value := x.TopicId + return protoreflect.ValueOfUint64(value) + case "emissions.v8.GetNetworkInferencesAtBlockOutlierResistantRequest.block_height_last_inference": + value := x.BlockHeightLastInference + return protoreflect.ValueOfInt64(value) + default: + if descriptor.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetNetworkInferencesAtBlockOutlierResistantRequest")) + } + panic(fmt.Errorf("message emissions.v8.GetNetworkInferencesAtBlockOutlierResistantRequest does not contain field %s", descriptor.FullName())) + } +} + +// Set stores the value for a field. +// +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType. +// When setting a composite type, it is unspecified whether the stored value +// aliases the source's memory in any way. If the composite value is an +// empty, read-only value, then it panics. +// +// Set is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetNetworkInferencesAtBlockOutlierResistantRequest) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { + switch fd.FullName() { + case "emissions.v8.GetNetworkInferencesAtBlockOutlierResistantRequest.topic_id": + x.TopicId = value.Uint() + case "emissions.v8.GetNetworkInferencesAtBlockOutlierResistantRequest.block_height_last_inference": + x.BlockHeightLastInference = value.Int() + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetNetworkInferencesAtBlockOutlierResistantRequest")) + } + panic(fmt.Errorf("message emissions.v8.GetNetworkInferencesAtBlockOutlierResistantRequest does not contain field %s", fd.FullName())) + } +} + +// Mutable returns a mutable reference to a composite type. +// +// If the field is unpopulated, it may allocate a composite value. +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType +// if not already stored. +// It panics if the field does not contain a composite type. +// +// Mutable is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetNetworkInferencesAtBlockOutlierResistantRequest) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.GetNetworkInferencesAtBlockOutlierResistantRequest.topic_id": + panic(fmt.Errorf("field topic_id of message emissions.v8.GetNetworkInferencesAtBlockOutlierResistantRequest is not mutable")) + case "emissions.v8.GetNetworkInferencesAtBlockOutlierResistantRequest.block_height_last_inference": + panic(fmt.Errorf("field block_height_last_inference of message emissions.v8.GetNetworkInferencesAtBlockOutlierResistantRequest is not mutable")) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetNetworkInferencesAtBlockOutlierResistantRequest")) + } + panic(fmt.Errorf("message emissions.v8.GetNetworkInferencesAtBlockOutlierResistantRequest does not contain field %s", fd.FullName())) + } +} + +// NewField returns a new value that is assignable to the field +// for the given descriptor. For scalars, this returns the default value. +// For lists, maps, and messages, this returns a new, empty, mutable value. +func (x *fastReflection_GetNetworkInferencesAtBlockOutlierResistantRequest) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.GetNetworkInferencesAtBlockOutlierResistantRequest.topic_id": + return protoreflect.ValueOfUint64(uint64(0)) + case "emissions.v8.GetNetworkInferencesAtBlockOutlierResistantRequest.block_height_last_inference": + return protoreflect.ValueOfInt64(int64(0)) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetNetworkInferencesAtBlockOutlierResistantRequest")) + } + panic(fmt.Errorf("message emissions.v8.GetNetworkInferencesAtBlockOutlierResistantRequest does not contain field %s", fd.FullName())) + } +} + +// WhichOneof reports which field within the oneof is populated, +// returning nil if none are populated. +// It panics if the oneof descriptor does not belong to this message. +func (x *fastReflection_GetNetworkInferencesAtBlockOutlierResistantRequest) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { + switch d.FullName() { + default: + panic(fmt.Errorf("%s is not a oneof field in emissions.v8.GetNetworkInferencesAtBlockOutlierResistantRequest", d.FullName())) + } + panic("unreachable") +} + +// GetUnknown retrieves the entire list of unknown fields. +// The caller may only mutate the contents of the RawFields +// if the mutated bytes are stored back into the message with SetUnknown. +func (x *fastReflection_GetNetworkInferencesAtBlockOutlierResistantRequest) GetUnknown() protoreflect.RawFields { + return x.unknownFields +} + +// SetUnknown stores an entire list of unknown fields. +// The raw fields must be syntactically valid according to the wire format. +// An implementation may panic if this is not the case. +// Once stored, the caller must not mutate the content of the RawFields. +// An empty RawFields may be passed to clear the fields. +// +// SetUnknown is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetNetworkInferencesAtBlockOutlierResistantRequest) SetUnknown(fields protoreflect.RawFields) { + x.unknownFields = fields +} + +// IsValid reports whether the message is valid. +// +// An invalid message is an empty, read-only value. +// +// An invalid message often corresponds to a nil pointer of the concrete +// message type, but the details are implementation dependent. +// Validity is not part of the protobuf data model, and may not +// be preserved in marshaling or other operations. +func (x *fastReflection_GetNetworkInferencesAtBlockOutlierResistantRequest) IsValid() bool { + return x != nil +} + +// ProtoMethods returns optional fastReflectionFeature-path implementations of various operations. +// This method may return nil. +// +// The returned methods type is identical to +// "google.golang.org/protobuf/runtime/protoiface".Methods. +// Consult the protoiface package documentation for details. +func (x *fastReflection_GetNetworkInferencesAtBlockOutlierResistantRequest) ProtoMethods() *protoiface.Methods { + size := func(input protoiface.SizeInput) protoiface.SizeOutput { + x := input.Message.Interface().(*GetNetworkInferencesAtBlockOutlierResistantRequest) + if x == nil { + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: 0, + } + } + options := runtime.SizeInputToOptions(input) + _ = options + var n int + var l int + _ = l + if x.TopicId != 0 { + n += 1 + runtime.Sov(uint64(x.TopicId)) + } + if x.BlockHeightLastInference != 0 { + n += 1 + runtime.Sov(uint64(x.BlockHeightLastInference)) + } + if x.unknownFields != nil { + n += len(x.unknownFields) + } + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: n, + } + } + + marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { + x := input.Message.Interface().(*GetNetworkInferencesAtBlockOutlierResistantRequest) + if x == nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + options := runtime.MarshalInputToOptions(input) + _ = options + size := options.Size(x) + dAtA := make([]byte, size) + i := len(dAtA) + _ = i + var l int + _ = l + if x.unknownFields != nil { + i -= len(x.unknownFields) + copy(dAtA[i:], x.unknownFields) + } + if x.BlockHeightLastInference != 0 { + i = runtime.EncodeVarint(dAtA, i, uint64(x.BlockHeightLastInference)) + i-- + dAtA[i] = 0x10 + } + if x.TopicId != 0 { + i = runtime.EncodeVarint(dAtA, i, uint64(x.TopicId)) + i-- + dAtA[i] = 0x8 + } + if input.Buf != nil { + input.Buf = append(input.Buf, dAtA...) + } else { + input.Buf = dAtA + } + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { + x := input.Message.Interface().(*GetNetworkInferencesAtBlockOutlierResistantRequest) + if x == nil { + return protoiface.UnmarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Flags: input.Flags, + }, nil + } + options := runtime.UnmarshalInputToOptions(input) + _ = options + dAtA := input.Buf + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: GetNetworkInferencesAtBlockOutlierResistantRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: GetNetworkInferencesAtBlockOutlierResistantRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field TopicId", wireType) + } + x.TopicId = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + x.TopicId |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 2: + if wireType != 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field BlockHeightLastInference", wireType) + } + x.BlockHeightLastInference = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + x.BlockHeightLastInference |= int64(b&0x7F) << shift + if b < 0x80 { + break + } + } + default: + iNdEx = preIndex + skippy, err := runtime.Skip(dAtA[iNdEx:]) + if err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if (iNdEx + skippy) > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + if !options.DiscardUnknown { + x.unknownFields = append(x.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + } + iNdEx += skippy + } + } + + if iNdEx > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, nil + } + return &protoiface.Methods{ + NoUnkeyedLiterals: struct{}{}, + Flags: protoiface.SupportMarshalDeterministic | protoiface.SupportUnmarshalDiscardUnknown, + Size: size, + Marshal: marshal, + Unmarshal: unmarshal, + Merge: nil, + CheckInitialized: nil, + } +} + +var ( + md_GetLatestNetworkInferencesRequest protoreflect.MessageDescriptor + fd_GetLatestNetworkInferencesRequest_topic_id protoreflect.FieldDescriptor +) + +func init() { + file_emissions_v8_query_proto_init() + md_GetLatestNetworkInferencesRequest = File_emissions_v8_query_proto.Messages().ByName("GetLatestNetworkInferencesRequest") + fd_GetLatestNetworkInferencesRequest_topic_id = md_GetLatestNetworkInferencesRequest.Fields().ByName("topic_id") +} + +var _ protoreflect.Message = (*fastReflection_GetLatestNetworkInferencesRequest)(nil) + +type fastReflection_GetLatestNetworkInferencesRequest GetLatestNetworkInferencesRequest + +func (x *GetLatestNetworkInferencesRequest) ProtoReflect() protoreflect.Message { + return (*fastReflection_GetLatestNetworkInferencesRequest)(x) +} + +func (x *GetLatestNetworkInferencesRequest) slowProtoReflect() protoreflect.Message { + mi := &file_emissions_v8_query_proto_msgTypes[88] + 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) +} + +var _fastReflection_GetLatestNetworkInferencesRequest_messageType fastReflection_GetLatestNetworkInferencesRequest_messageType +var _ protoreflect.MessageType = fastReflection_GetLatestNetworkInferencesRequest_messageType{} + +type fastReflection_GetLatestNetworkInferencesRequest_messageType struct{} + +func (x fastReflection_GetLatestNetworkInferencesRequest_messageType) Zero() protoreflect.Message { + return (*fastReflection_GetLatestNetworkInferencesRequest)(nil) +} +func (x fastReflection_GetLatestNetworkInferencesRequest_messageType) New() protoreflect.Message { + return new(fastReflection_GetLatestNetworkInferencesRequest) +} +func (x fastReflection_GetLatestNetworkInferencesRequest_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_GetLatestNetworkInferencesRequest +} + +// Descriptor returns message descriptor, which contains only the protobuf +// type information for the message. +func (x *fastReflection_GetLatestNetworkInferencesRequest) Descriptor() protoreflect.MessageDescriptor { + return md_GetLatestNetworkInferencesRequest +} + +// Type returns the message type, which encapsulates both Go and protobuf +// type information. If the Go type information is not needed, +// it is recommended that the message descriptor be used instead. +func (x *fastReflection_GetLatestNetworkInferencesRequest) Type() protoreflect.MessageType { + return _fastReflection_GetLatestNetworkInferencesRequest_messageType +} + +// New returns a newly allocated and mutable empty message. +func (x *fastReflection_GetLatestNetworkInferencesRequest) New() protoreflect.Message { + return new(fastReflection_GetLatestNetworkInferencesRequest) +} + +// Interface unwraps the message reflection interface and +// returns the underlying ProtoMessage interface. +func (x *fastReflection_GetLatestNetworkInferencesRequest) Interface() protoreflect.ProtoMessage { + return (*GetLatestNetworkInferencesRequest)(x) +} + +// Range iterates over every populated field in an undefined order, +// calling f for each field descriptor and value encountered. +// Range returns immediately if f returns false. +// While iterating, mutating operations may only be performed +// on the current field descriptor. +func (x *fastReflection_GetLatestNetworkInferencesRequest) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { + if x.TopicId != uint64(0) { + value := protoreflect.ValueOfUint64(x.TopicId) + if !f(fd_GetLatestNetworkInferencesRequest_topic_id, value) { + return + } + } +} + +// Has reports whether a field is populated. +// +// Some fields have the property of nullability where it is possible to +// distinguish between the default value of a field and whether the field +// was explicitly populated with the default value. Singular message fields, +// member fields of a oneof, and proto2 scalar fields are nullable. Such +// fields are populated only if explicitly set. +// +// In other cases (aside from the nullable cases above), +// a proto3 scalar field is populated if it contains a non-zero value, and +// a repeated field is populated if it is non-empty. +func (x *fastReflection_GetLatestNetworkInferencesRequest) Has(fd protoreflect.FieldDescriptor) bool { + switch fd.FullName() { + case "emissions.v8.GetLatestNetworkInferencesRequest.topic_id": + return x.TopicId != uint64(0) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetLatestNetworkInferencesRequest")) + } + panic(fmt.Errorf("message emissions.v8.GetLatestNetworkInferencesRequest does not contain field %s", fd.FullName())) + } +} + +// Clear clears the field such that a subsequent Has call reports false. +// +// Clearing an extension field clears both the extension type and value +// associated with the given field number. +// +// Clear is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetLatestNetworkInferencesRequest) Clear(fd protoreflect.FieldDescriptor) { + switch fd.FullName() { + case "emissions.v8.GetLatestNetworkInferencesRequest.topic_id": + x.TopicId = uint64(0) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetLatestNetworkInferencesRequest")) + } + panic(fmt.Errorf("message emissions.v8.GetLatestNetworkInferencesRequest does not contain field %s", fd.FullName())) + } +} + +// Get retrieves the value for a field. +// +// For unpopulated scalars, it returns the default value, where +// the default value of a bytes scalar is guaranteed to be a copy. +// For unpopulated composite types, it returns an empty, read-only view +// of the value; to obtain a mutable reference, use Mutable. +func (x *fastReflection_GetLatestNetworkInferencesRequest) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { + switch descriptor.FullName() { + case "emissions.v8.GetLatestNetworkInferencesRequest.topic_id": + value := x.TopicId + return protoreflect.ValueOfUint64(value) + default: + if descriptor.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetLatestNetworkInferencesRequest")) + } + panic(fmt.Errorf("message emissions.v8.GetLatestNetworkInferencesRequest does not contain field %s", descriptor.FullName())) + } +} + +// Set stores the value for a field. +// +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType. +// When setting a composite type, it is unspecified whether the stored value +// aliases the source's memory in any way. If the composite value is an +// empty, read-only value, then it panics. +// +// Set is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetLatestNetworkInferencesRequest) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { + switch fd.FullName() { + case "emissions.v8.GetLatestNetworkInferencesRequest.topic_id": + x.TopicId = value.Uint() + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetLatestNetworkInferencesRequest")) + } + panic(fmt.Errorf("message emissions.v8.GetLatestNetworkInferencesRequest does not contain field %s", fd.FullName())) + } +} + +// Mutable returns a mutable reference to a composite type. +// +// If the field is unpopulated, it may allocate a composite value. +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType +// if not already stored. +// It panics if the field does not contain a composite type. +// +// Mutable is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetLatestNetworkInferencesRequest) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.GetLatestNetworkInferencesRequest.topic_id": + panic(fmt.Errorf("field topic_id of message emissions.v8.GetLatestNetworkInferencesRequest is not mutable")) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetLatestNetworkInferencesRequest")) + } + panic(fmt.Errorf("message emissions.v8.GetLatestNetworkInferencesRequest does not contain field %s", fd.FullName())) + } +} + +// NewField returns a new value that is assignable to the field +// for the given descriptor. For scalars, this returns the default value. +// For lists, maps, and messages, this returns a new, empty, mutable value. +func (x *fastReflection_GetLatestNetworkInferencesRequest) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.GetLatestNetworkInferencesRequest.topic_id": + return protoreflect.ValueOfUint64(uint64(0)) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetLatestNetworkInferencesRequest")) + } + panic(fmt.Errorf("message emissions.v8.GetLatestNetworkInferencesRequest does not contain field %s", fd.FullName())) + } +} + +// WhichOneof reports which field within the oneof is populated, +// returning nil if none are populated. +// It panics if the oneof descriptor does not belong to this message. +func (x *fastReflection_GetLatestNetworkInferencesRequest) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { + switch d.FullName() { + default: + panic(fmt.Errorf("%s is not a oneof field in emissions.v8.GetLatestNetworkInferencesRequest", d.FullName())) + } + panic("unreachable") +} + +// GetUnknown retrieves the entire list of unknown fields. +// The caller may only mutate the contents of the RawFields +// if the mutated bytes are stored back into the message with SetUnknown. +func (x *fastReflection_GetLatestNetworkInferencesRequest) GetUnknown() protoreflect.RawFields { + return x.unknownFields +} + +// SetUnknown stores an entire list of unknown fields. +// The raw fields must be syntactically valid according to the wire format. +// An implementation may panic if this is not the case. +// Once stored, the caller must not mutate the content of the RawFields. +// An empty RawFields may be passed to clear the fields. +// +// SetUnknown is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetLatestNetworkInferencesRequest) SetUnknown(fields protoreflect.RawFields) { + x.unknownFields = fields +} + +// IsValid reports whether the message is valid. +// +// An invalid message is an empty, read-only value. +// +// An invalid message often corresponds to a nil pointer of the concrete +// message type, but the details are implementation dependent. +// Validity is not part of the protobuf data model, and may not +// be preserved in marshaling or other operations. +func (x *fastReflection_GetLatestNetworkInferencesRequest) IsValid() bool { + return x != nil +} + +// ProtoMethods returns optional fastReflectionFeature-path implementations of various operations. +// This method may return nil. +// +// The returned methods type is identical to +// "google.golang.org/protobuf/runtime/protoiface".Methods. +// Consult the protoiface package documentation for details. +func (x *fastReflection_GetLatestNetworkInferencesRequest) ProtoMethods() *protoiface.Methods { + size := func(input protoiface.SizeInput) protoiface.SizeOutput { + x := input.Message.Interface().(*GetLatestNetworkInferencesRequest) + if x == nil { + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: 0, + } + } + options := runtime.SizeInputToOptions(input) + _ = options + var n int + var l int + _ = l + if x.TopicId != 0 { + n += 1 + runtime.Sov(uint64(x.TopicId)) + } + if x.unknownFields != nil { + n += len(x.unknownFields) + } + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: n, + } + } + + marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { + x := input.Message.Interface().(*GetLatestNetworkInferencesRequest) + if x == nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + options := runtime.MarshalInputToOptions(input) + _ = options + size := options.Size(x) + dAtA := make([]byte, size) + i := len(dAtA) + _ = i + var l int + _ = l + if x.unknownFields != nil { + i -= len(x.unknownFields) + copy(dAtA[i:], x.unknownFields) + } + if x.TopicId != 0 { + i = runtime.EncodeVarint(dAtA, i, uint64(x.TopicId)) + i-- + dAtA[i] = 0x8 + } + if input.Buf != nil { + input.Buf = append(input.Buf, dAtA...) + } else { + input.Buf = dAtA + } + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { + x := input.Message.Interface().(*GetLatestNetworkInferencesRequest) + if x == nil { + return protoiface.UnmarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Flags: input.Flags, + }, nil + } + options := runtime.UnmarshalInputToOptions(input) + _ = options + dAtA := input.Buf + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: GetLatestNetworkInferencesRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: GetLatestNetworkInferencesRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field TopicId", wireType) + } + x.TopicId = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + x.TopicId |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + default: + iNdEx = preIndex + skippy, err := runtime.Skip(dAtA[iNdEx:]) + if err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if (iNdEx + skippy) > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + if !options.DiscardUnknown { + x.unknownFields = append(x.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + } + iNdEx += skippy + } + } + + if iNdEx > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, nil + } + return &protoiface.Methods{ + NoUnkeyedLiterals: struct{}{}, + Flags: protoiface.SupportMarshalDeterministic | protoiface.SupportUnmarshalDiscardUnknown, + Size: size, + Marshal: marshal, + Unmarshal: unmarshal, + Merge: nil, + CheckInitialized: nil, + } +} + +var ( + md_GetLatestNetworkInferencesOutlierResistantRequest protoreflect.MessageDescriptor + fd_GetLatestNetworkInferencesOutlierResistantRequest_topic_id protoreflect.FieldDescriptor +) + +func init() { + file_emissions_v8_query_proto_init() + md_GetLatestNetworkInferencesOutlierResistantRequest = File_emissions_v8_query_proto.Messages().ByName("GetLatestNetworkInferencesOutlierResistantRequest") + fd_GetLatestNetworkInferencesOutlierResistantRequest_topic_id = md_GetLatestNetworkInferencesOutlierResistantRequest.Fields().ByName("topic_id") +} + +var _ protoreflect.Message = (*fastReflection_GetLatestNetworkInferencesOutlierResistantRequest)(nil) + +type fastReflection_GetLatestNetworkInferencesOutlierResistantRequest GetLatestNetworkInferencesOutlierResistantRequest + +func (x *GetLatestNetworkInferencesOutlierResistantRequest) ProtoReflect() protoreflect.Message { + return (*fastReflection_GetLatestNetworkInferencesOutlierResistantRequest)(x) +} + +func (x *GetLatestNetworkInferencesOutlierResistantRequest) slowProtoReflect() protoreflect.Message { + mi := &file_emissions_v8_query_proto_msgTypes[89] + 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) +} + +var _fastReflection_GetLatestNetworkInferencesOutlierResistantRequest_messageType fastReflection_GetLatestNetworkInferencesOutlierResistantRequest_messageType +var _ protoreflect.MessageType = fastReflection_GetLatestNetworkInferencesOutlierResistantRequest_messageType{} + +type fastReflection_GetLatestNetworkInferencesOutlierResistantRequest_messageType struct{} + +func (x fastReflection_GetLatestNetworkInferencesOutlierResistantRequest_messageType) Zero() protoreflect.Message { + return (*fastReflection_GetLatestNetworkInferencesOutlierResistantRequest)(nil) +} +func (x fastReflection_GetLatestNetworkInferencesOutlierResistantRequest_messageType) New() protoreflect.Message { + return new(fastReflection_GetLatestNetworkInferencesOutlierResistantRequest) +} +func (x fastReflection_GetLatestNetworkInferencesOutlierResistantRequest_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_GetLatestNetworkInferencesOutlierResistantRequest +} + +// Descriptor returns message descriptor, which contains only the protobuf +// type information for the message. +func (x *fastReflection_GetLatestNetworkInferencesOutlierResistantRequest) Descriptor() protoreflect.MessageDescriptor { + return md_GetLatestNetworkInferencesOutlierResistantRequest +} + +// Type returns the message type, which encapsulates both Go and protobuf +// type information. If the Go type information is not needed, +// it is recommended that the message descriptor be used instead. +func (x *fastReflection_GetLatestNetworkInferencesOutlierResistantRequest) Type() protoreflect.MessageType { + return _fastReflection_GetLatestNetworkInferencesOutlierResistantRequest_messageType +} + +// New returns a newly allocated and mutable empty message. +func (x *fastReflection_GetLatestNetworkInferencesOutlierResistantRequest) New() protoreflect.Message { + return new(fastReflection_GetLatestNetworkInferencesOutlierResistantRequest) +} + +// Interface unwraps the message reflection interface and +// returns the underlying ProtoMessage interface. +func (x *fastReflection_GetLatestNetworkInferencesOutlierResistantRequest) Interface() protoreflect.ProtoMessage { + return (*GetLatestNetworkInferencesOutlierResistantRequest)(x) +} + +// Range iterates over every populated field in an undefined order, +// calling f for each field descriptor and value encountered. +// Range returns immediately if f returns false. +// While iterating, mutating operations may only be performed +// on the current field descriptor. +func (x *fastReflection_GetLatestNetworkInferencesOutlierResistantRequest) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { + if x.TopicId != uint64(0) { + value := protoreflect.ValueOfUint64(x.TopicId) + if !f(fd_GetLatestNetworkInferencesOutlierResistantRequest_topic_id, value) { + return + } + } +} + +// Has reports whether a field is populated. +// +// Some fields have the property of nullability where it is possible to +// distinguish between the default value of a field and whether the field +// was explicitly populated with the default value. Singular message fields, +// member fields of a oneof, and proto2 scalar fields are nullable. Such +// fields are populated only if explicitly set. +// +// In other cases (aside from the nullable cases above), +// a proto3 scalar field is populated if it contains a non-zero value, and +// a repeated field is populated if it is non-empty. +func (x *fastReflection_GetLatestNetworkInferencesOutlierResistantRequest) Has(fd protoreflect.FieldDescriptor) bool { + switch fd.FullName() { + case "emissions.v8.GetLatestNetworkInferencesOutlierResistantRequest.topic_id": + return x.TopicId != uint64(0) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetLatestNetworkInferencesOutlierResistantRequest")) + } + panic(fmt.Errorf("message emissions.v8.GetLatestNetworkInferencesOutlierResistantRequest does not contain field %s", fd.FullName())) + } +} + +// Clear clears the field such that a subsequent Has call reports false. +// +// Clearing an extension field clears both the extension type and value +// associated with the given field number. +// +// Clear is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetLatestNetworkInferencesOutlierResistantRequest) Clear(fd protoreflect.FieldDescriptor) { + switch fd.FullName() { + case "emissions.v8.GetLatestNetworkInferencesOutlierResistantRequest.topic_id": + x.TopicId = uint64(0) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetLatestNetworkInferencesOutlierResistantRequest")) + } + panic(fmt.Errorf("message emissions.v8.GetLatestNetworkInferencesOutlierResistantRequest does not contain field %s", fd.FullName())) + } +} + +// Get retrieves the value for a field. +// +// For unpopulated scalars, it returns the default value, where +// the default value of a bytes scalar is guaranteed to be a copy. +// For unpopulated composite types, it returns an empty, read-only view +// of the value; to obtain a mutable reference, use Mutable. +func (x *fastReflection_GetLatestNetworkInferencesOutlierResistantRequest) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { + switch descriptor.FullName() { + case "emissions.v8.GetLatestNetworkInferencesOutlierResistantRequest.topic_id": + value := x.TopicId + return protoreflect.ValueOfUint64(value) + default: + if descriptor.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetLatestNetworkInferencesOutlierResistantRequest")) + } + panic(fmt.Errorf("message emissions.v8.GetLatestNetworkInferencesOutlierResistantRequest does not contain field %s", descriptor.FullName())) + } +} + +// Set stores the value for a field. +// +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType. +// When setting a composite type, it is unspecified whether the stored value +// aliases the source's memory in any way. If the composite value is an +// empty, read-only value, then it panics. +// +// Set is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetLatestNetworkInferencesOutlierResistantRequest) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { + switch fd.FullName() { + case "emissions.v8.GetLatestNetworkInferencesOutlierResistantRequest.topic_id": + x.TopicId = value.Uint() + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetLatestNetworkInferencesOutlierResistantRequest")) + } + panic(fmt.Errorf("message emissions.v8.GetLatestNetworkInferencesOutlierResistantRequest does not contain field %s", fd.FullName())) + } +} + +// Mutable returns a mutable reference to a composite type. +// +// If the field is unpopulated, it may allocate a composite value. +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType +// if not already stored. +// It panics if the field does not contain a composite type. +// +// Mutable is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetLatestNetworkInferencesOutlierResistantRequest) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.GetLatestNetworkInferencesOutlierResistantRequest.topic_id": + panic(fmt.Errorf("field topic_id of message emissions.v8.GetLatestNetworkInferencesOutlierResistantRequest is not mutable")) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetLatestNetworkInferencesOutlierResistantRequest")) + } + panic(fmt.Errorf("message emissions.v8.GetLatestNetworkInferencesOutlierResistantRequest does not contain field %s", fd.FullName())) + } +} + +// NewField returns a new value that is assignable to the field +// for the given descriptor. For scalars, this returns the default value. +// For lists, maps, and messages, this returns a new, empty, mutable value. +func (x *fastReflection_GetLatestNetworkInferencesOutlierResistantRequest) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.GetLatestNetworkInferencesOutlierResistantRequest.topic_id": + return protoreflect.ValueOfUint64(uint64(0)) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetLatestNetworkInferencesOutlierResistantRequest")) + } + panic(fmt.Errorf("message emissions.v8.GetLatestNetworkInferencesOutlierResistantRequest does not contain field %s", fd.FullName())) + } +} + +// WhichOneof reports which field within the oneof is populated, +// returning nil if none are populated. +// It panics if the oneof descriptor does not belong to this message. +func (x *fastReflection_GetLatestNetworkInferencesOutlierResistantRequest) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { + switch d.FullName() { + default: + panic(fmt.Errorf("%s is not a oneof field in emissions.v8.GetLatestNetworkInferencesOutlierResistantRequest", d.FullName())) + } + panic("unreachable") +} + +// GetUnknown retrieves the entire list of unknown fields. +// The caller may only mutate the contents of the RawFields +// if the mutated bytes are stored back into the message with SetUnknown. +func (x *fastReflection_GetLatestNetworkInferencesOutlierResistantRequest) GetUnknown() protoreflect.RawFields { + return x.unknownFields +} + +// SetUnknown stores an entire list of unknown fields. +// The raw fields must be syntactically valid according to the wire format. +// An implementation may panic if this is not the case. +// Once stored, the caller must not mutate the content of the RawFields. +// An empty RawFields may be passed to clear the fields. +// +// SetUnknown is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetLatestNetworkInferencesOutlierResistantRequest) SetUnknown(fields protoreflect.RawFields) { + x.unknownFields = fields +} + +// IsValid reports whether the message is valid. +// +// An invalid message is an empty, read-only value. +// +// An invalid message often corresponds to a nil pointer of the concrete +// message type, but the details are implementation dependent. +// Validity is not part of the protobuf data model, and may not +// be preserved in marshaling or other operations. +func (x *fastReflection_GetLatestNetworkInferencesOutlierResistantRequest) IsValid() bool { + return x != nil +} + +// ProtoMethods returns optional fastReflectionFeature-path implementations of various operations. +// This method may return nil. +// +// The returned methods type is identical to +// "google.golang.org/protobuf/runtime/protoiface".Methods. +// Consult the protoiface package documentation for details. +func (x *fastReflection_GetLatestNetworkInferencesOutlierResistantRequest) ProtoMethods() *protoiface.Methods { + size := func(input protoiface.SizeInput) protoiface.SizeOutput { + x := input.Message.Interface().(*GetLatestNetworkInferencesOutlierResistantRequest) + if x == nil { + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: 0, + } + } + options := runtime.SizeInputToOptions(input) + _ = options + var n int + var l int + _ = l + if x.TopicId != 0 { + n += 1 + runtime.Sov(uint64(x.TopicId)) + } + if x.unknownFields != nil { + n += len(x.unknownFields) + } + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: n, + } + } + + marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { + x := input.Message.Interface().(*GetLatestNetworkInferencesOutlierResistantRequest) + if x == nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + options := runtime.MarshalInputToOptions(input) + _ = options + size := options.Size(x) + dAtA := make([]byte, size) + i := len(dAtA) + _ = i + var l int + _ = l + if x.unknownFields != nil { + i -= len(x.unknownFields) + copy(dAtA[i:], x.unknownFields) + } + if x.TopicId != 0 { + i = runtime.EncodeVarint(dAtA, i, uint64(x.TopicId)) + i-- + dAtA[i] = 0x8 + } + if input.Buf != nil { + input.Buf = append(input.Buf, dAtA...) + } else { + input.Buf = dAtA + } + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { + x := input.Message.Interface().(*GetLatestNetworkInferencesOutlierResistantRequest) + if x == nil { + return protoiface.UnmarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Flags: input.Flags, + }, nil + } + options := runtime.UnmarshalInputToOptions(input) + _ = options + dAtA := input.Buf + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: GetLatestNetworkInferencesOutlierResistantRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: GetLatestNetworkInferencesOutlierResistantRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field TopicId", wireType) + } + x.TopicId = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + x.TopicId |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + default: + iNdEx = preIndex + skippy, err := runtime.Skip(dAtA[iNdEx:]) + if err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if (iNdEx + skippy) > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + if !options.DiscardUnknown { + x.unknownFields = append(x.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + } + iNdEx += skippy + } + } + + if iNdEx > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, nil + } + return &protoiface.Methods{ + NoUnkeyedLiterals: struct{}{}, + Flags: protoiface.SupportMarshalDeterministic | protoiface.SupportUnmarshalDiscardUnknown, + Size: size, + Marshal: marshal, + Unmarshal: unmarshal, + Merge: nil, + CheckInitialized: nil, + } +} + +var ( + md_GetLatestAvailableNetworkInferencesRequest protoreflect.MessageDescriptor + fd_GetLatestAvailableNetworkInferencesRequest_topic_id protoreflect.FieldDescriptor +) + +func init() { + file_emissions_v8_query_proto_init() + md_GetLatestAvailableNetworkInferencesRequest = File_emissions_v8_query_proto.Messages().ByName("GetLatestAvailableNetworkInferencesRequest") + fd_GetLatestAvailableNetworkInferencesRequest_topic_id = md_GetLatestAvailableNetworkInferencesRequest.Fields().ByName("topic_id") +} + +var _ protoreflect.Message = (*fastReflection_GetLatestAvailableNetworkInferencesRequest)(nil) + +type fastReflection_GetLatestAvailableNetworkInferencesRequest GetLatestAvailableNetworkInferencesRequest + +func (x *GetLatestAvailableNetworkInferencesRequest) ProtoReflect() protoreflect.Message { + return (*fastReflection_GetLatestAvailableNetworkInferencesRequest)(x) +} + +func (x *GetLatestAvailableNetworkInferencesRequest) slowProtoReflect() protoreflect.Message { + mi := &file_emissions_v8_query_proto_msgTypes[90] + 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) +} + +var _fastReflection_GetLatestAvailableNetworkInferencesRequest_messageType fastReflection_GetLatestAvailableNetworkInferencesRequest_messageType +var _ protoreflect.MessageType = fastReflection_GetLatestAvailableNetworkInferencesRequest_messageType{} + +type fastReflection_GetLatestAvailableNetworkInferencesRequest_messageType struct{} + +func (x fastReflection_GetLatestAvailableNetworkInferencesRequest_messageType) Zero() protoreflect.Message { + return (*fastReflection_GetLatestAvailableNetworkInferencesRequest)(nil) +} +func (x fastReflection_GetLatestAvailableNetworkInferencesRequest_messageType) New() protoreflect.Message { + return new(fastReflection_GetLatestAvailableNetworkInferencesRequest) +} +func (x fastReflection_GetLatestAvailableNetworkInferencesRequest_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_GetLatestAvailableNetworkInferencesRequest +} + +// Descriptor returns message descriptor, which contains only the protobuf +// type information for the message. +func (x *fastReflection_GetLatestAvailableNetworkInferencesRequest) Descriptor() protoreflect.MessageDescriptor { + return md_GetLatestAvailableNetworkInferencesRequest +} + +// Type returns the message type, which encapsulates both Go and protobuf +// type information. If the Go type information is not needed, +// it is recommended that the message descriptor be used instead. +func (x *fastReflection_GetLatestAvailableNetworkInferencesRequest) Type() protoreflect.MessageType { + return _fastReflection_GetLatestAvailableNetworkInferencesRequest_messageType +} + +// New returns a newly allocated and mutable empty message. +func (x *fastReflection_GetLatestAvailableNetworkInferencesRequest) New() protoreflect.Message { + return new(fastReflection_GetLatestAvailableNetworkInferencesRequest) +} + +// Interface unwraps the message reflection interface and +// returns the underlying ProtoMessage interface. +func (x *fastReflection_GetLatestAvailableNetworkInferencesRequest) Interface() protoreflect.ProtoMessage { + return (*GetLatestAvailableNetworkInferencesRequest)(x) +} + +// Range iterates over every populated field in an undefined order, +// calling f for each field descriptor and value encountered. +// Range returns immediately if f returns false. +// While iterating, mutating operations may only be performed +// on the current field descriptor. +func (x *fastReflection_GetLatestAvailableNetworkInferencesRequest) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { + if x.TopicId != uint64(0) { + value := protoreflect.ValueOfUint64(x.TopicId) + if !f(fd_GetLatestAvailableNetworkInferencesRequest_topic_id, value) { + return + } + } +} + +// Has reports whether a field is populated. +// +// Some fields have the property of nullability where it is possible to +// distinguish between the default value of a field and whether the field +// was explicitly populated with the default value. Singular message fields, +// member fields of a oneof, and proto2 scalar fields are nullable. Such +// fields are populated only if explicitly set. +// +// In other cases (aside from the nullable cases above), +// a proto3 scalar field is populated if it contains a non-zero value, and +// a repeated field is populated if it is non-empty. +func (x *fastReflection_GetLatestAvailableNetworkInferencesRequest) Has(fd protoreflect.FieldDescriptor) bool { + switch fd.FullName() { + case "emissions.v8.GetLatestAvailableNetworkInferencesRequest.topic_id": + return x.TopicId != uint64(0) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetLatestAvailableNetworkInferencesRequest")) + } + panic(fmt.Errorf("message emissions.v8.GetLatestAvailableNetworkInferencesRequest does not contain field %s", fd.FullName())) + } +} + +// Clear clears the field such that a subsequent Has call reports false. +// +// Clearing an extension field clears both the extension type and value +// associated with the given field number. +// +// Clear is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetLatestAvailableNetworkInferencesRequest) Clear(fd protoreflect.FieldDescriptor) { + switch fd.FullName() { + case "emissions.v8.GetLatestAvailableNetworkInferencesRequest.topic_id": + x.TopicId = uint64(0) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetLatestAvailableNetworkInferencesRequest")) + } + panic(fmt.Errorf("message emissions.v8.GetLatestAvailableNetworkInferencesRequest does not contain field %s", fd.FullName())) + } +} + +// Get retrieves the value for a field. +// +// For unpopulated scalars, it returns the default value, where +// the default value of a bytes scalar is guaranteed to be a copy. +// For unpopulated composite types, it returns an empty, read-only view +// of the value; to obtain a mutable reference, use Mutable. +func (x *fastReflection_GetLatestAvailableNetworkInferencesRequest) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { + switch descriptor.FullName() { + case "emissions.v8.GetLatestAvailableNetworkInferencesRequest.topic_id": + value := x.TopicId + return protoreflect.ValueOfUint64(value) + default: + if descriptor.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetLatestAvailableNetworkInferencesRequest")) + } + panic(fmt.Errorf("message emissions.v8.GetLatestAvailableNetworkInferencesRequest does not contain field %s", descriptor.FullName())) + } +} + +// Set stores the value for a field. +// +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType. +// When setting a composite type, it is unspecified whether the stored value +// aliases the source's memory in any way. If the composite value is an +// empty, read-only value, then it panics. +// +// Set is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetLatestAvailableNetworkInferencesRequest) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { + switch fd.FullName() { + case "emissions.v8.GetLatestAvailableNetworkInferencesRequest.topic_id": + x.TopicId = value.Uint() + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetLatestAvailableNetworkInferencesRequest")) + } + panic(fmt.Errorf("message emissions.v8.GetLatestAvailableNetworkInferencesRequest does not contain field %s", fd.FullName())) + } +} + +// Mutable returns a mutable reference to a composite type. +// +// If the field is unpopulated, it may allocate a composite value. +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType +// if not already stored. +// It panics if the field does not contain a composite type. +// +// Mutable is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetLatestAvailableNetworkInferencesRequest) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.GetLatestAvailableNetworkInferencesRequest.topic_id": + panic(fmt.Errorf("field topic_id of message emissions.v8.GetLatestAvailableNetworkInferencesRequest is not mutable")) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetLatestAvailableNetworkInferencesRequest")) + } + panic(fmt.Errorf("message emissions.v8.GetLatestAvailableNetworkInferencesRequest does not contain field %s", fd.FullName())) + } +} + +// NewField returns a new value that is assignable to the field +// for the given descriptor. For scalars, this returns the default value. +// For lists, maps, and messages, this returns a new, empty, mutable value. +func (x *fastReflection_GetLatestAvailableNetworkInferencesRequest) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.GetLatestAvailableNetworkInferencesRequest.topic_id": + return protoreflect.ValueOfUint64(uint64(0)) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetLatestAvailableNetworkInferencesRequest")) + } + panic(fmt.Errorf("message emissions.v8.GetLatestAvailableNetworkInferencesRequest does not contain field %s", fd.FullName())) + } +} + +// WhichOneof reports which field within the oneof is populated, +// returning nil if none are populated. +// It panics if the oneof descriptor does not belong to this message. +func (x *fastReflection_GetLatestAvailableNetworkInferencesRequest) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { + switch d.FullName() { + default: + panic(fmt.Errorf("%s is not a oneof field in emissions.v8.GetLatestAvailableNetworkInferencesRequest", d.FullName())) + } + panic("unreachable") +} + +// GetUnknown retrieves the entire list of unknown fields. +// The caller may only mutate the contents of the RawFields +// if the mutated bytes are stored back into the message with SetUnknown. +func (x *fastReflection_GetLatestAvailableNetworkInferencesRequest) GetUnknown() protoreflect.RawFields { + return x.unknownFields +} + +// SetUnknown stores an entire list of unknown fields. +// The raw fields must be syntactically valid according to the wire format. +// An implementation may panic if this is not the case. +// Once stored, the caller must not mutate the content of the RawFields. +// An empty RawFields may be passed to clear the fields. +// +// SetUnknown is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetLatestAvailableNetworkInferencesRequest) SetUnknown(fields protoreflect.RawFields) { + x.unknownFields = fields +} + +// IsValid reports whether the message is valid. +// +// An invalid message is an empty, read-only value. +// +// An invalid message often corresponds to a nil pointer of the concrete +// message type, but the details are implementation dependent. +// Validity is not part of the protobuf data model, and may not +// be preserved in marshaling or other operations. +func (x *fastReflection_GetLatestAvailableNetworkInferencesRequest) IsValid() bool { + return x != nil +} + +// ProtoMethods returns optional fastReflectionFeature-path implementations of various operations. +// This method may return nil. +// +// The returned methods type is identical to +// "google.golang.org/protobuf/runtime/protoiface".Methods. +// Consult the protoiface package documentation for details. +func (x *fastReflection_GetLatestAvailableNetworkInferencesRequest) ProtoMethods() *protoiface.Methods { + size := func(input protoiface.SizeInput) protoiface.SizeOutput { + x := input.Message.Interface().(*GetLatestAvailableNetworkInferencesRequest) + if x == nil { + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: 0, + } + } + options := runtime.SizeInputToOptions(input) + _ = options + var n int + var l int + _ = l + if x.TopicId != 0 { + n += 1 + runtime.Sov(uint64(x.TopicId)) + } + if x.unknownFields != nil { + n += len(x.unknownFields) + } + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: n, + } + } + + marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { + x := input.Message.Interface().(*GetLatestAvailableNetworkInferencesRequest) + if x == nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + options := runtime.MarshalInputToOptions(input) + _ = options + size := options.Size(x) + dAtA := make([]byte, size) + i := len(dAtA) + _ = i + var l int + _ = l + if x.unknownFields != nil { + i -= len(x.unknownFields) + copy(dAtA[i:], x.unknownFields) + } + if x.TopicId != 0 { + i = runtime.EncodeVarint(dAtA, i, uint64(x.TopicId)) + i-- + dAtA[i] = 0x8 + } + if input.Buf != nil { + input.Buf = append(input.Buf, dAtA...) + } else { + input.Buf = dAtA + } + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { + x := input.Message.Interface().(*GetLatestAvailableNetworkInferencesRequest) + if x == nil { + return protoiface.UnmarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Flags: input.Flags, + }, nil + } + options := runtime.UnmarshalInputToOptions(input) + _ = options + dAtA := input.Buf + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: GetLatestAvailableNetworkInferencesRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: GetLatestAvailableNetworkInferencesRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field TopicId", wireType) + } + x.TopicId = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + x.TopicId |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + default: + iNdEx = preIndex + skippy, err := runtime.Skip(dAtA[iNdEx:]) + if err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if (iNdEx + skippy) > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + if !options.DiscardUnknown { + x.unknownFields = append(x.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + } + iNdEx += skippy + } + } + + if iNdEx > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, nil + } + return &protoiface.Methods{ + NoUnkeyedLiterals: struct{}{}, + Flags: protoiface.SupportMarshalDeterministic | protoiface.SupportUnmarshalDiscardUnknown, + Size: size, + Marshal: marshal, + Unmarshal: unmarshal, + Merge: nil, + CheckInitialized: nil, + } +} + +var ( + md_GetLatestAvailableNetworkInferencesOutlierResistantRequest protoreflect.MessageDescriptor + fd_GetLatestAvailableNetworkInferencesOutlierResistantRequest_topic_id protoreflect.FieldDescriptor +) + +func init() { + file_emissions_v8_query_proto_init() + md_GetLatestAvailableNetworkInferencesOutlierResistantRequest = File_emissions_v8_query_proto.Messages().ByName("GetLatestAvailableNetworkInferencesOutlierResistantRequest") + fd_GetLatestAvailableNetworkInferencesOutlierResistantRequest_topic_id = md_GetLatestAvailableNetworkInferencesOutlierResistantRequest.Fields().ByName("topic_id") +} + +var _ protoreflect.Message = (*fastReflection_GetLatestAvailableNetworkInferencesOutlierResistantRequest)(nil) + +type fastReflection_GetLatestAvailableNetworkInferencesOutlierResistantRequest GetLatestAvailableNetworkInferencesOutlierResistantRequest + +func (x *GetLatestAvailableNetworkInferencesOutlierResistantRequest) ProtoReflect() protoreflect.Message { + return (*fastReflection_GetLatestAvailableNetworkInferencesOutlierResistantRequest)(x) +} + +func (x *GetLatestAvailableNetworkInferencesOutlierResistantRequest) slowProtoReflect() protoreflect.Message { + mi := &file_emissions_v8_query_proto_msgTypes[91] + 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) +} + +var _fastReflection_GetLatestAvailableNetworkInferencesOutlierResistantRequest_messageType fastReflection_GetLatestAvailableNetworkInferencesOutlierResistantRequest_messageType +var _ protoreflect.MessageType = fastReflection_GetLatestAvailableNetworkInferencesOutlierResistantRequest_messageType{} + +type fastReflection_GetLatestAvailableNetworkInferencesOutlierResistantRequest_messageType struct{} + +func (x fastReflection_GetLatestAvailableNetworkInferencesOutlierResistantRequest_messageType) Zero() protoreflect.Message { + return (*fastReflection_GetLatestAvailableNetworkInferencesOutlierResistantRequest)(nil) +} +func (x fastReflection_GetLatestAvailableNetworkInferencesOutlierResistantRequest_messageType) New() protoreflect.Message { + return new(fastReflection_GetLatestAvailableNetworkInferencesOutlierResistantRequest) +} +func (x fastReflection_GetLatestAvailableNetworkInferencesOutlierResistantRequest_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_GetLatestAvailableNetworkInferencesOutlierResistantRequest +} + +// Descriptor returns message descriptor, which contains only the protobuf +// type information for the message. +func (x *fastReflection_GetLatestAvailableNetworkInferencesOutlierResistantRequest) Descriptor() protoreflect.MessageDescriptor { + return md_GetLatestAvailableNetworkInferencesOutlierResistantRequest +} + +// Type returns the message type, which encapsulates both Go and protobuf +// type information. If the Go type information is not needed, +// it is recommended that the message descriptor be used instead. +func (x *fastReflection_GetLatestAvailableNetworkInferencesOutlierResistantRequest) Type() protoreflect.MessageType { + return _fastReflection_GetLatestAvailableNetworkInferencesOutlierResistantRequest_messageType +} + +// New returns a newly allocated and mutable empty message. +func (x *fastReflection_GetLatestAvailableNetworkInferencesOutlierResistantRequest) New() protoreflect.Message { + return new(fastReflection_GetLatestAvailableNetworkInferencesOutlierResistantRequest) +} + +// Interface unwraps the message reflection interface and +// returns the underlying ProtoMessage interface. +func (x *fastReflection_GetLatestAvailableNetworkInferencesOutlierResistantRequest) Interface() protoreflect.ProtoMessage { + return (*GetLatestAvailableNetworkInferencesOutlierResistantRequest)(x) +} + +// Range iterates over every populated field in an undefined order, +// calling f for each field descriptor and value encountered. +// Range returns immediately if f returns false. +// While iterating, mutating operations may only be performed +// on the current field descriptor. +func (x *fastReflection_GetLatestAvailableNetworkInferencesOutlierResistantRequest) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { + if x.TopicId != uint64(0) { + value := protoreflect.ValueOfUint64(x.TopicId) + if !f(fd_GetLatestAvailableNetworkInferencesOutlierResistantRequest_topic_id, value) { + return + } + } +} + +// Has reports whether a field is populated. +// +// Some fields have the property of nullability where it is possible to +// distinguish between the default value of a field and whether the field +// was explicitly populated with the default value. Singular message fields, +// member fields of a oneof, and proto2 scalar fields are nullable. Such +// fields are populated only if explicitly set. +// +// In other cases (aside from the nullable cases above), +// a proto3 scalar field is populated if it contains a non-zero value, and +// a repeated field is populated if it is non-empty. +func (x *fastReflection_GetLatestAvailableNetworkInferencesOutlierResistantRequest) Has(fd protoreflect.FieldDescriptor) bool { + switch fd.FullName() { + case "emissions.v8.GetLatestAvailableNetworkInferencesOutlierResistantRequest.topic_id": + return x.TopicId != uint64(0) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetLatestAvailableNetworkInferencesOutlierResistantRequest")) + } + panic(fmt.Errorf("message emissions.v8.GetLatestAvailableNetworkInferencesOutlierResistantRequest does not contain field %s", fd.FullName())) + } +} + +// Clear clears the field such that a subsequent Has call reports false. +// +// Clearing an extension field clears both the extension type and value +// associated with the given field number. +// +// Clear is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetLatestAvailableNetworkInferencesOutlierResistantRequest) Clear(fd protoreflect.FieldDescriptor) { + switch fd.FullName() { + case "emissions.v8.GetLatestAvailableNetworkInferencesOutlierResistantRequest.topic_id": + x.TopicId = uint64(0) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetLatestAvailableNetworkInferencesOutlierResistantRequest")) + } + panic(fmt.Errorf("message emissions.v8.GetLatestAvailableNetworkInferencesOutlierResistantRequest does not contain field %s", fd.FullName())) + } +} + +// Get retrieves the value for a field. +// +// For unpopulated scalars, it returns the default value, where +// the default value of a bytes scalar is guaranteed to be a copy. +// For unpopulated composite types, it returns an empty, read-only view +// of the value; to obtain a mutable reference, use Mutable. +func (x *fastReflection_GetLatestAvailableNetworkInferencesOutlierResistantRequest) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { + switch descriptor.FullName() { + case "emissions.v8.GetLatestAvailableNetworkInferencesOutlierResistantRequest.topic_id": + value := x.TopicId + return protoreflect.ValueOfUint64(value) + default: + if descriptor.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetLatestAvailableNetworkInferencesOutlierResistantRequest")) + } + panic(fmt.Errorf("message emissions.v8.GetLatestAvailableNetworkInferencesOutlierResistantRequest does not contain field %s", descriptor.FullName())) + } +} + +// Set stores the value for a field. +// +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType. +// When setting a composite type, it is unspecified whether the stored value +// aliases the source's memory in any way. If the composite value is an +// empty, read-only value, then it panics. +// +// Set is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetLatestAvailableNetworkInferencesOutlierResistantRequest) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { + switch fd.FullName() { + case "emissions.v8.GetLatestAvailableNetworkInferencesOutlierResistantRequest.topic_id": + x.TopicId = value.Uint() + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetLatestAvailableNetworkInferencesOutlierResistantRequest")) + } + panic(fmt.Errorf("message emissions.v8.GetLatestAvailableNetworkInferencesOutlierResistantRequest does not contain field %s", fd.FullName())) + } +} + +// Mutable returns a mutable reference to a composite type. +// +// If the field is unpopulated, it may allocate a composite value. +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType +// if not already stored. +// It panics if the field does not contain a composite type. +// +// Mutable is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetLatestAvailableNetworkInferencesOutlierResistantRequest) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.GetLatestAvailableNetworkInferencesOutlierResistantRequest.topic_id": + panic(fmt.Errorf("field topic_id of message emissions.v8.GetLatestAvailableNetworkInferencesOutlierResistantRequest is not mutable")) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetLatestAvailableNetworkInferencesOutlierResistantRequest")) + } + panic(fmt.Errorf("message emissions.v8.GetLatestAvailableNetworkInferencesOutlierResistantRequest does not contain field %s", fd.FullName())) + } +} + +// NewField returns a new value that is assignable to the field +// for the given descriptor. For scalars, this returns the default value. +// For lists, maps, and messages, this returns a new, empty, mutable value. +func (x *fastReflection_GetLatestAvailableNetworkInferencesOutlierResistantRequest) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.GetLatestAvailableNetworkInferencesOutlierResistantRequest.topic_id": + return protoreflect.ValueOfUint64(uint64(0)) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetLatestAvailableNetworkInferencesOutlierResistantRequest")) + } + panic(fmt.Errorf("message emissions.v8.GetLatestAvailableNetworkInferencesOutlierResistantRequest does not contain field %s", fd.FullName())) + } +} + +// WhichOneof reports which field within the oneof is populated, +// returning nil if none are populated. +// It panics if the oneof descriptor does not belong to this message. +func (x *fastReflection_GetLatestAvailableNetworkInferencesOutlierResistantRequest) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { + switch d.FullName() { + default: + panic(fmt.Errorf("%s is not a oneof field in emissions.v8.GetLatestAvailableNetworkInferencesOutlierResistantRequest", d.FullName())) + } + panic("unreachable") +} + +// GetUnknown retrieves the entire list of unknown fields. +// The caller may only mutate the contents of the RawFields +// if the mutated bytes are stored back into the message with SetUnknown. +func (x *fastReflection_GetLatestAvailableNetworkInferencesOutlierResistantRequest) GetUnknown() protoreflect.RawFields { + return x.unknownFields +} + +// SetUnknown stores an entire list of unknown fields. +// The raw fields must be syntactically valid according to the wire format. +// An implementation may panic if this is not the case. +// Once stored, the caller must not mutate the content of the RawFields. +// An empty RawFields may be passed to clear the fields. +// +// SetUnknown is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetLatestAvailableNetworkInferencesOutlierResistantRequest) SetUnknown(fields protoreflect.RawFields) { + x.unknownFields = fields +} + +// IsValid reports whether the message is valid. +// +// An invalid message is an empty, read-only value. +// +// An invalid message often corresponds to a nil pointer of the concrete +// message type, but the details are implementation dependent. +// Validity is not part of the protobuf data model, and may not +// be preserved in marshaling or other operations. +func (x *fastReflection_GetLatestAvailableNetworkInferencesOutlierResistantRequest) IsValid() bool { + return x != nil +} + +// ProtoMethods returns optional fastReflectionFeature-path implementations of various operations. +// This method may return nil. +// +// The returned methods type is identical to +// "google.golang.org/protobuf/runtime/protoiface".Methods. +// Consult the protoiface package documentation for details. +func (x *fastReflection_GetLatestAvailableNetworkInferencesOutlierResistantRequest) ProtoMethods() *protoiface.Methods { + size := func(input protoiface.SizeInput) protoiface.SizeOutput { + x := input.Message.Interface().(*GetLatestAvailableNetworkInferencesOutlierResistantRequest) + if x == nil { + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: 0, + } + } + options := runtime.SizeInputToOptions(input) + _ = options + var n int + var l int + _ = l + if x.TopicId != 0 { + n += 1 + runtime.Sov(uint64(x.TopicId)) + } + if x.unknownFields != nil { + n += len(x.unknownFields) + } + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: n, + } + } + + marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { + x := input.Message.Interface().(*GetLatestAvailableNetworkInferencesOutlierResistantRequest) + if x == nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + options := runtime.MarshalInputToOptions(input) + _ = options + size := options.Size(x) + dAtA := make([]byte, size) + i := len(dAtA) + _ = i + var l int + _ = l + if x.unknownFields != nil { + i -= len(x.unknownFields) + copy(dAtA[i:], x.unknownFields) + } + if x.TopicId != 0 { + i = runtime.EncodeVarint(dAtA, i, uint64(x.TopicId)) + i-- + dAtA[i] = 0x8 + } + if input.Buf != nil { + input.Buf = append(input.Buf, dAtA...) + } else { + input.Buf = dAtA + } + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { + x := input.Message.Interface().(*GetLatestAvailableNetworkInferencesOutlierResistantRequest) + if x == nil { + return protoiface.UnmarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Flags: input.Flags, + }, nil + } + options := runtime.UnmarshalInputToOptions(input) + _ = options + dAtA := input.Buf + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: GetLatestAvailableNetworkInferencesOutlierResistantRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: GetLatestAvailableNetworkInferencesOutlierResistantRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field TopicId", wireType) + } + x.TopicId = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + x.TopicId |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + default: + iNdEx = preIndex + skippy, err := runtime.Skip(dAtA[iNdEx:]) + if err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if (iNdEx + skippy) > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + if !options.DiscardUnknown { + x.unknownFields = append(x.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + } + iNdEx += skippy + } + } + + if iNdEx > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, nil + } + return &protoiface.Methods{ + NoUnkeyedLiterals: struct{}{}, + Flags: protoiface.SupportMarshalDeterministic | protoiface.SupportUnmarshalDiscardUnknown, + Size: size, + Marshal: marshal, + Unmarshal: unmarshal, + Merge: nil, + CheckInitialized: nil, + } +} + +var ( + md_IsWorkerNonceUnfulfilledRequest protoreflect.MessageDescriptor + fd_IsWorkerNonceUnfulfilledRequest_topic_id protoreflect.FieldDescriptor + fd_IsWorkerNonceUnfulfilledRequest_block_height protoreflect.FieldDescriptor +) + +func init() { + file_emissions_v8_query_proto_init() + md_IsWorkerNonceUnfulfilledRequest = File_emissions_v8_query_proto.Messages().ByName("IsWorkerNonceUnfulfilledRequest") + fd_IsWorkerNonceUnfulfilledRequest_topic_id = md_IsWorkerNonceUnfulfilledRequest.Fields().ByName("topic_id") + fd_IsWorkerNonceUnfulfilledRequest_block_height = md_IsWorkerNonceUnfulfilledRequest.Fields().ByName("block_height") +} + +var _ protoreflect.Message = (*fastReflection_IsWorkerNonceUnfulfilledRequest)(nil) + +type fastReflection_IsWorkerNonceUnfulfilledRequest IsWorkerNonceUnfulfilledRequest + +func (x *IsWorkerNonceUnfulfilledRequest) ProtoReflect() protoreflect.Message { + return (*fastReflection_IsWorkerNonceUnfulfilledRequest)(x) +} + +func (x *IsWorkerNonceUnfulfilledRequest) slowProtoReflect() protoreflect.Message { + mi := &file_emissions_v8_query_proto_msgTypes[92] + 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) +} + +var _fastReflection_IsWorkerNonceUnfulfilledRequest_messageType fastReflection_IsWorkerNonceUnfulfilledRequest_messageType +var _ protoreflect.MessageType = fastReflection_IsWorkerNonceUnfulfilledRequest_messageType{} + +type fastReflection_IsWorkerNonceUnfulfilledRequest_messageType struct{} + +func (x fastReflection_IsWorkerNonceUnfulfilledRequest_messageType) Zero() protoreflect.Message { + return (*fastReflection_IsWorkerNonceUnfulfilledRequest)(nil) +} +func (x fastReflection_IsWorkerNonceUnfulfilledRequest_messageType) New() protoreflect.Message { + return new(fastReflection_IsWorkerNonceUnfulfilledRequest) +} +func (x fastReflection_IsWorkerNonceUnfulfilledRequest_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_IsWorkerNonceUnfulfilledRequest +} + +// Descriptor returns message descriptor, which contains only the protobuf +// type information for the message. +func (x *fastReflection_IsWorkerNonceUnfulfilledRequest) Descriptor() protoreflect.MessageDescriptor { + return md_IsWorkerNonceUnfulfilledRequest +} + +// Type returns the message type, which encapsulates both Go and protobuf +// type information. If the Go type information is not needed, +// it is recommended that the message descriptor be used instead. +func (x *fastReflection_IsWorkerNonceUnfulfilledRequest) Type() protoreflect.MessageType { + return _fastReflection_IsWorkerNonceUnfulfilledRequest_messageType +} + +// New returns a newly allocated and mutable empty message. +func (x *fastReflection_IsWorkerNonceUnfulfilledRequest) New() protoreflect.Message { + return new(fastReflection_IsWorkerNonceUnfulfilledRequest) +} + +// Interface unwraps the message reflection interface and +// returns the underlying ProtoMessage interface. +func (x *fastReflection_IsWorkerNonceUnfulfilledRequest) Interface() protoreflect.ProtoMessage { + return (*IsWorkerNonceUnfulfilledRequest)(x) +} + +// Range iterates over every populated field in an undefined order, +// calling f for each field descriptor and value encountered. +// Range returns immediately if f returns false. +// While iterating, mutating operations may only be performed +// on the current field descriptor. +func (x *fastReflection_IsWorkerNonceUnfulfilledRequest) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { + if x.TopicId != uint64(0) { + value := protoreflect.ValueOfUint64(x.TopicId) + if !f(fd_IsWorkerNonceUnfulfilledRequest_topic_id, value) { + return + } + } + if x.BlockHeight != int64(0) { + value := protoreflect.ValueOfInt64(x.BlockHeight) + if !f(fd_IsWorkerNonceUnfulfilledRequest_block_height, value) { + return + } + } +} + +// Has reports whether a field is populated. +// +// Some fields have the property of nullability where it is possible to +// distinguish between the default value of a field and whether the field +// was explicitly populated with the default value. Singular message fields, +// member fields of a oneof, and proto2 scalar fields are nullable. Such +// fields are populated only if explicitly set. +// +// In other cases (aside from the nullable cases above), +// a proto3 scalar field is populated if it contains a non-zero value, and +// a repeated field is populated if it is non-empty. +func (x *fastReflection_IsWorkerNonceUnfulfilledRequest) Has(fd protoreflect.FieldDescriptor) bool { + switch fd.FullName() { + case "emissions.v8.IsWorkerNonceUnfulfilledRequest.topic_id": + return x.TopicId != uint64(0) + case "emissions.v8.IsWorkerNonceUnfulfilledRequest.block_height": + return x.BlockHeight != int64(0) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.IsWorkerNonceUnfulfilledRequest")) + } + panic(fmt.Errorf("message emissions.v8.IsWorkerNonceUnfulfilledRequest does not contain field %s", fd.FullName())) + } +} + +// Clear clears the field such that a subsequent Has call reports false. +// +// Clearing an extension field clears both the extension type and value +// associated with the given field number. +// +// Clear is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_IsWorkerNonceUnfulfilledRequest) Clear(fd protoreflect.FieldDescriptor) { + switch fd.FullName() { + case "emissions.v8.IsWorkerNonceUnfulfilledRequest.topic_id": + x.TopicId = uint64(0) + case "emissions.v8.IsWorkerNonceUnfulfilledRequest.block_height": + x.BlockHeight = int64(0) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.IsWorkerNonceUnfulfilledRequest")) + } + panic(fmt.Errorf("message emissions.v8.IsWorkerNonceUnfulfilledRequest does not contain field %s", fd.FullName())) + } +} + +// Get retrieves the value for a field. +// +// For unpopulated scalars, it returns the default value, where +// the default value of a bytes scalar is guaranteed to be a copy. +// For unpopulated composite types, it returns an empty, read-only view +// of the value; to obtain a mutable reference, use Mutable. +func (x *fastReflection_IsWorkerNonceUnfulfilledRequest) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { + switch descriptor.FullName() { + case "emissions.v8.IsWorkerNonceUnfulfilledRequest.topic_id": + value := x.TopicId + return protoreflect.ValueOfUint64(value) + case "emissions.v8.IsWorkerNonceUnfulfilledRequest.block_height": + value := x.BlockHeight + return protoreflect.ValueOfInt64(value) + default: + if descriptor.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.IsWorkerNonceUnfulfilledRequest")) + } + panic(fmt.Errorf("message emissions.v8.IsWorkerNonceUnfulfilledRequest does not contain field %s", descriptor.FullName())) + } +} + +// Set stores the value for a field. +// +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType. +// When setting a composite type, it is unspecified whether the stored value +// aliases the source's memory in any way. If the composite value is an +// empty, read-only value, then it panics. +// +// Set is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_IsWorkerNonceUnfulfilledRequest) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { + switch fd.FullName() { + case "emissions.v8.IsWorkerNonceUnfulfilledRequest.topic_id": + x.TopicId = value.Uint() + case "emissions.v8.IsWorkerNonceUnfulfilledRequest.block_height": + x.BlockHeight = value.Int() + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.IsWorkerNonceUnfulfilledRequest")) + } + panic(fmt.Errorf("message emissions.v8.IsWorkerNonceUnfulfilledRequest does not contain field %s", fd.FullName())) + } +} + +// Mutable returns a mutable reference to a composite type. +// +// If the field is unpopulated, it may allocate a composite value. +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType +// if not already stored. +// It panics if the field does not contain a composite type. +// +// Mutable is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_IsWorkerNonceUnfulfilledRequest) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.IsWorkerNonceUnfulfilledRequest.topic_id": + panic(fmt.Errorf("field topic_id of message emissions.v8.IsWorkerNonceUnfulfilledRequest is not mutable")) + case "emissions.v8.IsWorkerNonceUnfulfilledRequest.block_height": + panic(fmt.Errorf("field block_height of message emissions.v8.IsWorkerNonceUnfulfilledRequest is not mutable")) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.IsWorkerNonceUnfulfilledRequest")) + } + panic(fmt.Errorf("message emissions.v8.IsWorkerNonceUnfulfilledRequest does not contain field %s", fd.FullName())) + } +} + +// NewField returns a new value that is assignable to the field +// for the given descriptor. For scalars, this returns the default value. +// For lists, maps, and messages, this returns a new, empty, mutable value. +func (x *fastReflection_IsWorkerNonceUnfulfilledRequest) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.IsWorkerNonceUnfulfilledRequest.topic_id": + return protoreflect.ValueOfUint64(uint64(0)) + case "emissions.v8.IsWorkerNonceUnfulfilledRequest.block_height": + return protoreflect.ValueOfInt64(int64(0)) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.IsWorkerNonceUnfulfilledRequest")) + } + panic(fmt.Errorf("message emissions.v8.IsWorkerNonceUnfulfilledRequest does not contain field %s", fd.FullName())) + } +} + +// WhichOneof reports which field within the oneof is populated, +// returning nil if none are populated. +// It panics if the oneof descriptor does not belong to this message. +func (x *fastReflection_IsWorkerNonceUnfulfilledRequest) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { + switch d.FullName() { + default: + panic(fmt.Errorf("%s is not a oneof field in emissions.v8.IsWorkerNonceUnfulfilledRequest", d.FullName())) + } + panic("unreachable") +} + +// GetUnknown retrieves the entire list of unknown fields. +// The caller may only mutate the contents of the RawFields +// if the mutated bytes are stored back into the message with SetUnknown. +func (x *fastReflection_IsWorkerNonceUnfulfilledRequest) GetUnknown() protoreflect.RawFields { + return x.unknownFields +} + +// SetUnknown stores an entire list of unknown fields. +// The raw fields must be syntactically valid according to the wire format. +// An implementation may panic if this is not the case. +// Once stored, the caller must not mutate the content of the RawFields. +// An empty RawFields may be passed to clear the fields. +// +// SetUnknown is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_IsWorkerNonceUnfulfilledRequest) SetUnknown(fields protoreflect.RawFields) { + x.unknownFields = fields +} + +// IsValid reports whether the message is valid. +// +// An invalid message is an empty, read-only value. +// +// An invalid message often corresponds to a nil pointer of the concrete +// message type, but the details are implementation dependent. +// Validity is not part of the protobuf data model, and may not +// be preserved in marshaling or other operations. +func (x *fastReflection_IsWorkerNonceUnfulfilledRequest) IsValid() bool { + return x != nil +} + +// ProtoMethods returns optional fastReflectionFeature-path implementations of various operations. +// This method may return nil. +// +// The returned methods type is identical to +// "google.golang.org/protobuf/runtime/protoiface".Methods. +// Consult the protoiface package documentation for details. +func (x *fastReflection_IsWorkerNonceUnfulfilledRequest) ProtoMethods() *protoiface.Methods { + size := func(input protoiface.SizeInput) protoiface.SizeOutput { + x := input.Message.Interface().(*IsWorkerNonceUnfulfilledRequest) + if x == nil { + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: 0, + } + } + options := runtime.SizeInputToOptions(input) + _ = options + var n int + var l int + _ = l + if x.TopicId != 0 { + n += 1 + runtime.Sov(uint64(x.TopicId)) + } + if x.BlockHeight != 0 { + n += 1 + runtime.Sov(uint64(x.BlockHeight)) + } + if x.unknownFields != nil { + n += len(x.unknownFields) + } + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: n, + } + } + + marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { + x := input.Message.Interface().(*IsWorkerNonceUnfulfilledRequest) + if x == nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + options := runtime.MarshalInputToOptions(input) + _ = options + size := options.Size(x) + dAtA := make([]byte, size) + i := len(dAtA) + _ = i + var l int + _ = l + if x.unknownFields != nil { + i -= len(x.unknownFields) + copy(dAtA[i:], x.unknownFields) + } + if x.BlockHeight != 0 { + i = runtime.EncodeVarint(dAtA, i, uint64(x.BlockHeight)) + i-- + dAtA[i] = 0x10 + } + if x.TopicId != 0 { + i = runtime.EncodeVarint(dAtA, i, uint64(x.TopicId)) + i-- + dAtA[i] = 0x8 + } + if input.Buf != nil { + input.Buf = append(input.Buf, dAtA...) + } else { + input.Buf = dAtA + } + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { + x := input.Message.Interface().(*IsWorkerNonceUnfulfilledRequest) + if x == nil { + return protoiface.UnmarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Flags: input.Flags, + }, nil + } + options := runtime.UnmarshalInputToOptions(input) + _ = options + dAtA := input.Buf + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: IsWorkerNonceUnfulfilledRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: IsWorkerNonceUnfulfilledRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field TopicId", wireType) + } + x.TopicId = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + x.TopicId |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 2: + if wireType != 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field BlockHeight", wireType) + } + x.BlockHeight = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + x.BlockHeight |= int64(b&0x7F) << shift + if b < 0x80 { + break + } + } + default: + iNdEx = preIndex + skippy, err := runtime.Skip(dAtA[iNdEx:]) + if err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if (iNdEx + skippy) > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + if !options.DiscardUnknown { + x.unknownFields = append(x.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + } + iNdEx += skippy + } + } + + if iNdEx > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, nil + } + return &protoiface.Methods{ + NoUnkeyedLiterals: struct{}{}, + Flags: protoiface.SupportMarshalDeterministic | protoiface.SupportUnmarshalDiscardUnknown, + Size: size, + Marshal: marshal, + Unmarshal: unmarshal, + Merge: nil, + CheckInitialized: nil, + } +} + +var ( + md_IsWorkerNonceUnfulfilledResponse protoreflect.MessageDescriptor + fd_IsWorkerNonceUnfulfilledResponse_is_worker_nonce_unfulfilled protoreflect.FieldDescriptor +) + +func init() { + file_emissions_v8_query_proto_init() + md_IsWorkerNonceUnfulfilledResponse = File_emissions_v8_query_proto.Messages().ByName("IsWorkerNonceUnfulfilledResponse") + fd_IsWorkerNonceUnfulfilledResponse_is_worker_nonce_unfulfilled = md_IsWorkerNonceUnfulfilledResponse.Fields().ByName("is_worker_nonce_unfulfilled") +} + +var _ protoreflect.Message = (*fastReflection_IsWorkerNonceUnfulfilledResponse)(nil) + +type fastReflection_IsWorkerNonceUnfulfilledResponse IsWorkerNonceUnfulfilledResponse + +func (x *IsWorkerNonceUnfulfilledResponse) ProtoReflect() protoreflect.Message { + return (*fastReflection_IsWorkerNonceUnfulfilledResponse)(x) +} + +func (x *IsWorkerNonceUnfulfilledResponse) slowProtoReflect() protoreflect.Message { + mi := &file_emissions_v8_query_proto_msgTypes[93] + 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) +} + +var _fastReflection_IsWorkerNonceUnfulfilledResponse_messageType fastReflection_IsWorkerNonceUnfulfilledResponse_messageType +var _ protoreflect.MessageType = fastReflection_IsWorkerNonceUnfulfilledResponse_messageType{} + +type fastReflection_IsWorkerNonceUnfulfilledResponse_messageType struct{} + +func (x fastReflection_IsWorkerNonceUnfulfilledResponse_messageType) Zero() protoreflect.Message { + return (*fastReflection_IsWorkerNonceUnfulfilledResponse)(nil) +} +func (x fastReflection_IsWorkerNonceUnfulfilledResponse_messageType) New() protoreflect.Message { + return new(fastReflection_IsWorkerNonceUnfulfilledResponse) +} +func (x fastReflection_IsWorkerNonceUnfulfilledResponse_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_IsWorkerNonceUnfulfilledResponse +} + +// Descriptor returns message descriptor, which contains only the protobuf +// type information for the message. +func (x *fastReflection_IsWorkerNonceUnfulfilledResponse) Descriptor() protoreflect.MessageDescriptor { + return md_IsWorkerNonceUnfulfilledResponse +} + +// Type returns the message type, which encapsulates both Go and protobuf +// type information. If the Go type information is not needed, +// it is recommended that the message descriptor be used instead. +func (x *fastReflection_IsWorkerNonceUnfulfilledResponse) Type() protoreflect.MessageType { + return _fastReflection_IsWorkerNonceUnfulfilledResponse_messageType +} + +// New returns a newly allocated and mutable empty message. +func (x *fastReflection_IsWorkerNonceUnfulfilledResponse) New() protoreflect.Message { + return new(fastReflection_IsWorkerNonceUnfulfilledResponse) +} + +// Interface unwraps the message reflection interface and +// returns the underlying ProtoMessage interface. +func (x *fastReflection_IsWorkerNonceUnfulfilledResponse) Interface() protoreflect.ProtoMessage { + return (*IsWorkerNonceUnfulfilledResponse)(x) +} + +// Range iterates over every populated field in an undefined order, +// calling f for each field descriptor and value encountered. +// Range returns immediately if f returns false. +// While iterating, mutating operations may only be performed +// on the current field descriptor. +func (x *fastReflection_IsWorkerNonceUnfulfilledResponse) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { + if x.IsWorkerNonceUnfulfilled != false { + value := protoreflect.ValueOfBool(x.IsWorkerNonceUnfulfilled) + if !f(fd_IsWorkerNonceUnfulfilledResponse_is_worker_nonce_unfulfilled, value) { + return + } + } +} + +// Has reports whether a field is populated. +// +// Some fields have the property of nullability where it is possible to +// distinguish between the default value of a field and whether the field +// was explicitly populated with the default value. Singular message fields, +// member fields of a oneof, and proto2 scalar fields are nullable. Such +// fields are populated only if explicitly set. +// +// In other cases (aside from the nullable cases above), +// a proto3 scalar field is populated if it contains a non-zero value, and +// a repeated field is populated if it is non-empty. +func (x *fastReflection_IsWorkerNonceUnfulfilledResponse) Has(fd protoreflect.FieldDescriptor) bool { + switch fd.FullName() { + case "emissions.v8.IsWorkerNonceUnfulfilledResponse.is_worker_nonce_unfulfilled": + return x.IsWorkerNonceUnfulfilled != false + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.IsWorkerNonceUnfulfilledResponse")) + } + panic(fmt.Errorf("message emissions.v8.IsWorkerNonceUnfulfilledResponse does not contain field %s", fd.FullName())) + } +} + +// Clear clears the field such that a subsequent Has call reports false. +// +// Clearing an extension field clears both the extension type and value +// associated with the given field number. +// +// Clear is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_IsWorkerNonceUnfulfilledResponse) Clear(fd protoreflect.FieldDescriptor) { + switch fd.FullName() { + case "emissions.v8.IsWorkerNonceUnfulfilledResponse.is_worker_nonce_unfulfilled": + x.IsWorkerNonceUnfulfilled = false + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.IsWorkerNonceUnfulfilledResponse")) + } + panic(fmt.Errorf("message emissions.v8.IsWorkerNonceUnfulfilledResponse does not contain field %s", fd.FullName())) + } +} + +// Get retrieves the value for a field. +// +// For unpopulated scalars, it returns the default value, where +// the default value of a bytes scalar is guaranteed to be a copy. +// For unpopulated composite types, it returns an empty, read-only view +// of the value; to obtain a mutable reference, use Mutable. +func (x *fastReflection_IsWorkerNonceUnfulfilledResponse) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { + switch descriptor.FullName() { + case "emissions.v8.IsWorkerNonceUnfulfilledResponse.is_worker_nonce_unfulfilled": + value := x.IsWorkerNonceUnfulfilled + return protoreflect.ValueOfBool(value) + default: + if descriptor.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.IsWorkerNonceUnfulfilledResponse")) + } + panic(fmt.Errorf("message emissions.v8.IsWorkerNonceUnfulfilledResponse does not contain field %s", descriptor.FullName())) + } +} + +// Set stores the value for a field. +// +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType. +// When setting a composite type, it is unspecified whether the stored value +// aliases the source's memory in any way. If the composite value is an +// empty, read-only value, then it panics. +// +// Set is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_IsWorkerNonceUnfulfilledResponse) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { + switch fd.FullName() { + case "emissions.v8.IsWorkerNonceUnfulfilledResponse.is_worker_nonce_unfulfilled": + x.IsWorkerNonceUnfulfilled = value.Bool() + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.IsWorkerNonceUnfulfilledResponse")) + } + panic(fmt.Errorf("message emissions.v8.IsWorkerNonceUnfulfilledResponse does not contain field %s", fd.FullName())) + } +} + +// Mutable returns a mutable reference to a composite type. +// +// If the field is unpopulated, it may allocate a composite value. +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType +// if not already stored. +// It panics if the field does not contain a composite type. +// +// Mutable is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_IsWorkerNonceUnfulfilledResponse) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.IsWorkerNonceUnfulfilledResponse.is_worker_nonce_unfulfilled": + panic(fmt.Errorf("field is_worker_nonce_unfulfilled of message emissions.v8.IsWorkerNonceUnfulfilledResponse is not mutable")) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.IsWorkerNonceUnfulfilledResponse")) + } + panic(fmt.Errorf("message emissions.v8.IsWorkerNonceUnfulfilledResponse does not contain field %s", fd.FullName())) + } +} + +// NewField returns a new value that is assignable to the field +// for the given descriptor. For scalars, this returns the default value. +// For lists, maps, and messages, this returns a new, empty, mutable value. +func (x *fastReflection_IsWorkerNonceUnfulfilledResponse) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.IsWorkerNonceUnfulfilledResponse.is_worker_nonce_unfulfilled": + return protoreflect.ValueOfBool(false) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.IsWorkerNonceUnfulfilledResponse")) + } + panic(fmt.Errorf("message emissions.v8.IsWorkerNonceUnfulfilledResponse does not contain field %s", fd.FullName())) + } +} + +// WhichOneof reports which field within the oneof is populated, +// returning nil if none are populated. +// It panics if the oneof descriptor does not belong to this message. +func (x *fastReflection_IsWorkerNonceUnfulfilledResponse) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { + switch d.FullName() { + default: + panic(fmt.Errorf("%s is not a oneof field in emissions.v8.IsWorkerNonceUnfulfilledResponse", d.FullName())) + } + panic("unreachable") +} + +// GetUnknown retrieves the entire list of unknown fields. +// The caller may only mutate the contents of the RawFields +// if the mutated bytes are stored back into the message with SetUnknown. +func (x *fastReflection_IsWorkerNonceUnfulfilledResponse) GetUnknown() protoreflect.RawFields { + return x.unknownFields +} + +// SetUnknown stores an entire list of unknown fields. +// The raw fields must be syntactically valid according to the wire format. +// An implementation may panic if this is not the case. +// Once stored, the caller must not mutate the content of the RawFields. +// An empty RawFields may be passed to clear the fields. +// +// SetUnknown is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_IsWorkerNonceUnfulfilledResponse) SetUnknown(fields protoreflect.RawFields) { + x.unknownFields = fields +} + +// IsValid reports whether the message is valid. +// +// An invalid message is an empty, read-only value. +// +// An invalid message often corresponds to a nil pointer of the concrete +// message type, but the details are implementation dependent. +// Validity is not part of the protobuf data model, and may not +// be preserved in marshaling or other operations. +func (x *fastReflection_IsWorkerNonceUnfulfilledResponse) IsValid() bool { + return x != nil +} + +// ProtoMethods returns optional fastReflectionFeature-path implementations of various operations. +// This method may return nil. +// +// The returned methods type is identical to +// "google.golang.org/protobuf/runtime/protoiface".Methods. +// Consult the protoiface package documentation for details. +func (x *fastReflection_IsWorkerNonceUnfulfilledResponse) ProtoMethods() *protoiface.Methods { + size := func(input protoiface.SizeInput) protoiface.SizeOutput { + x := input.Message.Interface().(*IsWorkerNonceUnfulfilledResponse) + if x == nil { + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: 0, + } + } + options := runtime.SizeInputToOptions(input) + _ = options + var n int + var l int + _ = l + if x.IsWorkerNonceUnfulfilled { + n += 2 + } + if x.unknownFields != nil { + n += len(x.unknownFields) + } + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: n, + } + } + + marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { + x := input.Message.Interface().(*IsWorkerNonceUnfulfilledResponse) + if x == nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + options := runtime.MarshalInputToOptions(input) + _ = options + size := options.Size(x) + dAtA := make([]byte, size) + i := len(dAtA) + _ = i + var l int + _ = l + if x.unknownFields != nil { + i -= len(x.unknownFields) + copy(dAtA[i:], x.unknownFields) + } + if x.IsWorkerNonceUnfulfilled { + i-- + if x.IsWorkerNonceUnfulfilled { + dAtA[i] = 1 + } else { + dAtA[i] = 0 + } + i-- + dAtA[i] = 0x8 + } + if input.Buf != nil { + input.Buf = append(input.Buf, dAtA...) + } else { + input.Buf = dAtA + } + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { + x := input.Message.Interface().(*IsWorkerNonceUnfulfilledResponse) + if x == nil { + return protoiface.UnmarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Flags: input.Flags, + }, nil + } + options := runtime.UnmarshalInputToOptions(input) + _ = options + dAtA := input.Buf + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: IsWorkerNonceUnfulfilledResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: IsWorkerNonceUnfulfilledResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field IsWorkerNonceUnfulfilled", wireType) + } + var v int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + x.IsWorkerNonceUnfulfilled = bool(v != 0) + default: + iNdEx = preIndex + skippy, err := runtime.Skip(dAtA[iNdEx:]) + if err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if (iNdEx + skippy) > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + if !options.DiscardUnknown { + x.unknownFields = append(x.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + } + iNdEx += skippy + } + } + + if iNdEx > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, nil + } + return &protoiface.Methods{ + NoUnkeyedLiterals: struct{}{}, + Flags: protoiface.SupportMarshalDeterministic | protoiface.SupportUnmarshalDiscardUnknown, + Size: size, + Marshal: marshal, + Unmarshal: unmarshal, + Merge: nil, + CheckInitialized: nil, + } +} + +var ( + md_GetUnfulfilledReputerNoncesRequest protoreflect.MessageDescriptor + fd_GetUnfulfilledReputerNoncesRequest_topic_id protoreflect.FieldDescriptor +) + +func init() { + file_emissions_v8_query_proto_init() + md_GetUnfulfilledReputerNoncesRequest = File_emissions_v8_query_proto.Messages().ByName("GetUnfulfilledReputerNoncesRequest") + fd_GetUnfulfilledReputerNoncesRequest_topic_id = md_GetUnfulfilledReputerNoncesRequest.Fields().ByName("topic_id") +} + +var _ protoreflect.Message = (*fastReflection_GetUnfulfilledReputerNoncesRequest)(nil) + +type fastReflection_GetUnfulfilledReputerNoncesRequest GetUnfulfilledReputerNoncesRequest + +func (x *GetUnfulfilledReputerNoncesRequest) ProtoReflect() protoreflect.Message { + return (*fastReflection_GetUnfulfilledReputerNoncesRequest)(x) +} + +func (x *GetUnfulfilledReputerNoncesRequest) slowProtoReflect() protoreflect.Message { + mi := &file_emissions_v8_query_proto_msgTypes[94] + 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) +} + +var _fastReflection_GetUnfulfilledReputerNoncesRequest_messageType fastReflection_GetUnfulfilledReputerNoncesRequest_messageType +var _ protoreflect.MessageType = fastReflection_GetUnfulfilledReputerNoncesRequest_messageType{} + +type fastReflection_GetUnfulfilledReputerNoncesRequest_messageType struct{} + +func (x fastReflection_GetUnfulfilledReputerNoncesRequest_messageType) Zero() protoreflect.Message { + return (*fastReflection_GetUnfulfilledReputerNoncesRequest)(nil) +} +func (x fastReflection_GetUnfulfilledReputerNoncesRequest_messageType) New() protoreflect.Message { + return new(fastReflection_GetUnfulfilledReputerNoncesRequest) +} +func (x fastReflection_GetUnfulfilledReputerNoncesRequest_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_GetUnfulfilledReputerNoncesRequest +} + +// Descriptor returns message descriptor, which contains only the protobuf +// type information for the message. +func (x *fastReflection_GetUnfulfilledReputerNoncesRequest) Descriptor() protoreflect.MessageDescriptor { + return md_GetUnfulfilledReputerNoncesRequest +} + +// Type returns the message type, which encapsulates both Go and protobuf +// type information. If the Go type information is not needed, +// it is recommended that the message descriptor be used instead. +func (x *fastReflection_GetUnfulfilledReputerNoncesRequest) Type() protoreflect.MessageType { + return _fastReflection_GetUnfulfilledReputerNoncesRequest_messageType +} + +// New returns a newly allocated and mutable empty message. +func (x *fastReflection_GetUnfulfilledReputerNoncesRequest) New() protoreflect.Message { + return new(fastReflection_GetUnfulfilledReputerNoncesRequest) +} + +// Interface unwraps the message reflection interface and +// returns the underlying ProtoMessage interface. +func (x *fastReflection_GetUnfulfilledReputerNoncesRequest) Interface() protoreflect.ProtoMessage { + return (*GetUnfulfilledReputerNoncesRequest)(x) +} + +// Range iterates over every populated field in an undefined order, +// calling f for each field descriptor and value encountered. +// Range returns immediately if f returns false. +// While iterating, mutating operations may only be performed +// on the current field descriptor. +func (x *fastReflection_GetUnfulfilledReputerNoncesRequest) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { + if x.TopicId != uint64(0) { + value := protoreflect.ValueOfUint64(x.TopicId) + if !f(fd_GetUnfulfilledReputerNoncesRequest_topic_id, value) { + return + } + } +} + +// Has reports whether a field is populated. +// +// Some fields have the property of nullability where it is possible to +// distinguish between the default value of a field and whether the field +// was explicitly populated with the default value. Singular message fields, +// member fields of a oneof, and proto2 scalar fields are nullable. Such +// fields are populated only if explicitly set. +// +// In other cases (aside from the nullable cases above), +// a proto3 scalar field is populated if it contains a non-zero value, and +// a repeated field is populated if it is non-empty. +func (x *fastReflection_GetUnfulfilledReputerNoncesRequest) Has(fd protoreflect.FieldDescriptor) bool { + switch fd.FullName() { + case "emissions.v8.GetUnfulfilledReputerNoncesRequest.topic_id": + return x.TopicId != uint64(0) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetUnfulfilledReputerNoncesRequest")) + } + panic(fmt.Errorf("message emissions.v8.GetUnfulfilledReputerNoncesRequest does not contain field %s", fd.FullName())) + } +} + +// Clear clears the field such that a subsequent Has call reports false. +// +// Clearing an extension field clears both the extension type and value +// associated with the given field number. +// +// Clear is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetUnfulfilledReputerNoncesRequest) Clear(fd protoreflect.FieldDescriptor) { + switch fd.FullName() { + case "emissions.v8.GetUnfulfilledReputerNoncesRequest.topic_id": + x.TopicId = uint64(0) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetUnfulfilledReputerNoncesRequest")) + } + panic(fmt.Errorf("message emissions.v8.GetUnfulfilledReputerNoncesRequest does not contain field %s", fd.FullName())) + } +} + +// Get retrieves the value for a field. +// +// For unpopulated scalars, it returns the default value, where +// the default value of a bytes scalar is guaranteed to be a copy. +// For unpopulated composite types, it returns an empty, read-only view +// of the value; to obtain a mutable reference, use Mutable. +func (x *fastReflection_GetUnfulfilledReputerNoncesRequest) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { + switch descriptor.FullName() { + case "emissions.v8.GetUnfulfilledReputerNoncesRequest.topic_id": + value := x.TopicId + return protoreflect.ValueOfUint64(value) + default: + if descriptor.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetUnfulfilledReputerNoncesRequest")) + } + panic(fmt.Errorf("message emissions.v8.GetUnfulfilledReputerNoncesRequest does not contain field %s", descriptor.FullName())) + } +} + +// Set stores the value for a field. +// +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType. +// When setting a composite type, it is unspecified whether the stored value +// aliases the source's memory in any way. If the composite value is an +// empty, read-only value, then it panics. +// +// Set is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetUnfulfilledReputerNoncesRequest) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { + switch fd.FullName() { + case "emissions.v8.GetUnfulfilledReputerNoncesRequest.topic_id": + x.TopicId = value.Uint() + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetUnfulfilledReputerNoncesRequest")) + } + panic(fmt.Errorf("message emissions.v8.GetUnfulfilledReputerNoncesRequest does not contain field %s", fd.FullName())) + } +} + +// Mutable returns a mutable reference to a composite type. +// +// If the field is unpopulated, it may allocate a composite value. +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType +// if not already stored. +// It panics if the field does not contain a composite type. +// +// Mutable is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetUnfulfilledReputerNoncesRequest) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.GetUnfulfilledReputerNoncesRequest.topic_id": + panic(fmt.Errorf("field topic_id of message emissions.v8.GetUnfulfilledReputerNoncesRequest is not mutable")) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetUnfulfilledReputerNoncesRequest")) + } + panic(fmt.Errorf("message emissions.v8.GetUnfulfilledReputerNoncesRequest does not contain field %s", fd.FullName())) + } +} + +// NewField returns a new value that is assignable to the field +// for the given descriptor. For scalars, this returns the default value. +// For lists, maps, and messages, this returns a new, empty, mutable value. +func (x *fastReflection_GetUnfulfilledReputerNoncesRequest) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.GetUnfulfilledReputerNoncesRequest.topic_id": + return protoreflect.ValueOfUint64(uint64(0)) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetUnfulfilledReputerNoncesRequest")) + } + panic(fmt.Errorf("message emissions.v8.GetUnfulfilledReputerNoncesRequest does not contain field %s", fd.FullName())) + } +} + +// WhichOneof reports which field within the oneof is populated, +// returning nil if none are populated. +// It panics if the oneof descriptor does not belong to this message. +func (x *fastReflection_GetUnfulfilledReputerNoncesRequest) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { + switch d.FullName() { + default: + panic(fmt.Errorf("%s is not a oneof field in emissions.v8.GetUnfulfilledReputerNoncesRequest", d.FullName())) + } + panic("unreachable") +} + +// GetUnknown retrieves the entire list of unknown fields. +// The caller may only mutate the contents of the RawFields +// if the mutated bytes are stored back into the message with SetUnknown. +func (x *fastReflection_GetUnfulfilledReputerNoncesRequest) GetUnknown() protoreflect.RawFields { + return x.unknownFields +} + +// SetUnknown stores an entire list of unknown fields. +// The raw fields must be syntactically valid according to the wire format. +// An implementation may panic if this is not the case. +// Once stored, the caller must not mutate the content of the RawFields. +// An empty RawFields may be passed to clear the fields. +// +// SetUnknown is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetUnfulfilledReputerNoncesRequest) SetUnknown(fields protoreflect.RawFields) { + x.unknownFields = fields +} + +// IsValid reports whether the message is valid. +// +// An invalid message is an empty, read-only value. +// +// An invalid message often corresponds to a nil pointer of the concrete +// message type, but the details are implementation dependent. +// Validity is not part of the protobuf data model, and may not +// be preserved in marshaling or other operations. +func (x *fastReflection_GetUnfulfilledReputerNoncesRequest) IsValid() bool { + return x != nil +} + +// ProtoMethods returns optional fastReflectionFeature-path implementations of various operations. +// This method may return nil. +// +// The returned methods type is identical to +// "google.golang.org/protobuf/runtime/protoiface".Methods. +// Consult the protoiface package documentation for details. +func (x *fastReflection_GetUnfulfilledReputerNoncesRequest) ProtoMethods() *protoiface.Methods { + size := func(input protoiface.SizeInput) protoiface.SizeOutput { + x := input.Message.Interface().(*GetUnfulfilledReputerNoncesRequest) + if x == nil { + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: 0, + } + } + options := runtime.SizeInputToOptions(input) + _ = options + var n int + var l int + _ = l + if x.TopicId != 0 { + n += 1 + runtime.Sov(uint64(x.TopicId)) + } + if x.unknownFields != nil { + n += len(x.unknownFields) + } + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: n, + } + } + + marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { + x := input.Message.Interface().(*GetUnfulfilledReputerNoncesRequest) + if x == nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + options := runtime.MarshalInputToOptions(input) + _ = options + size := options.Size(x) + dAtA := make([]byte, size) + i := len(dAtA) + _ = i + var l int + _ = l + if x.unknownFields != nil { + i -= len(x.unknownFields) + copy(dAtA[i:], x.unknownFields) + } + if x.TopicId != 0 { + i = runtime.EncodeVarint(dAtA, i, uint64(x.TopicId)) + i-- + dAtA[i] = 0x8 + } + if input.Buf != nil { + input.Buf = append(input.Buf, dAtA...) + } else { + input.Buf = dAtA + } + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { + x := input.Message.Interface().(*GetUnfulfilledReputerNoncesRequest) + if x == nil { + return protoiface.UnmarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Flags: input.Flags, + }, nil + } + options := runtime.UnmarshalInputToOptions(input) + _ = options + dAtA := input.Buf + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: GetUnfulfilledReputerNoncesRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: GetUnfulfilledReputerNoncesRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field TopicId", wireType) + } + x.TopicId = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + x.TopicId |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + default: + iNdEx = preIndex + skippy, err := runtime.Skip(dAtA[iNdEx:]) + if err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if (iNdEx + skippy) > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + if !options.DiscardUnknown { + x.unknownFields = append(x.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + } + iNdEx += skippy + } + } + + if iNdEx > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, nil + } + return &protoiface.Methods{ + NoUnkeyedLiterals: struct{}{}, + Flags: protoiface.SupportMarshalDeterministic | protoiface.SupportUnmarshalDiscardUnknown, + Size: size, + Marshal: marshal, + Unmarshal: unmarshal, + Merge: nil, + CheckInitialized: nil, + } +} + +var ( + md_GetUnfulfilledReputerNoncesResponse protoreflect.MessageDescriptor + fd_GetUnfulfilledReputerNoncesResponse_nonces protoreflect.FieldDescriptor +) + +func init() { + file_emissions_v8_query_proto_init() + md_GetUnfulfilledReputerNoncesResponse = File_emissions_v8_query_proto.Messages().ByName("GetUnfulfilledReputerNoncesResponse") + fd_GetUnfulfilledReputerNoncesResponse_nonces = md_GetUnfulfilledReputerNoncesResponse.Fields().ByName("nonces") +} + +var _ protoreflect.Message = (*fastReflection_GetUnfulfilledReputerNoncesResponse)(nil) + +type fastReflection_GetUnfulfilledReputerNoncesResponse GetUnfulfilledReputerNoncesResponse + +func (x *GetUnfulfilledReputerNoncesResponse) ProtoReflect() protoreflect.Message { + return (*fastReflection_GetUnfulfilledReputerNoncesResponse)(x) +} + +func (x *GetUnfulfilledReputerNoncesResponse) slowProtoReflect() protoreflect.Message { + mi := &file_emissions_v8_query_proto_msgTypes[95] + 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) +} + +var _fastReflection_GetUnfulfilledReputerNoncesResponse_messageType fastReflection_GetUnfulfilledReputerNoncesResponse_messageType +var _ protoreflect.MessageType = fastReflection_GetUnfulfilledReputerNoncesResponse_messageType{} + +type fastReflection_GetUnfulfilledReputerNoncesResponse_messageType struct{} + +func (x fastReflection_GetUnfulfilledReputerNoncesResponse_messageType) Zero() protoreflect.Message { + return (*fastReflection_GetUnfulfilledReputerNoncesResponse)(nil) +} +func (x fastReflection_GetUnfulfilledReputerNoncesResponse_messageType) New() protoreflect.Message { + return new(fastReflection_GetUnfulfilledReputerNoncesResponse) +} +func (x fastReflection_GetUnfulfilledReputerNoncesResponse_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_GetUnfulfilledReputerNoncesResponse +} + +// Descriptor returns message descriptor, which contains only the protobuf +// type information for the message. +func (x *fastReflection_GetUnfulfilledReputerNoncesResponse) Descriptor() protoreflect.MessageDescriptor { + return md_GetUnfulfilledReputerNoncesResponse +} + +// Type returns the message type, which encapsulates both Go and protobuf +// type information. If the Go type information is not needed, +// it is recommended that the message descriptor be used instead. +func (x *fastReflection_GetUnfulfilledReputerNoncesResponse) Type() protoreflect.MessageType { + return _fastReflection_GetUnfulfilledReputerNoncesResponse_messageType +} + +// New returns a newly allocated and mutable empty message. +func (x *fastReflection_GetUnfulfilledReputerNoncesResponse) New() protoreflect.Message { + return new(fastReflection_GetUnfulfilledReputerNoncesResponse) +} + +// Interface unwraps the message reflection interface and +// returns the underlying ProtoMessage interface. +func (x *fastReflection_GetUnfulfilledReputerNoncesResponse) Interface() protoreflect.ProtoMessage { + return (*GetUnfulfilledReputerNoncesResponse)(x) +} + +// Range iterates over every populated field in an undefined order, +// calling f for each field descriptor and value encountered. +// Range returns immediately if f returns false. +// While iterating, mutating operations may only be performed +// on the current field descriptor. +func (x *fastReflection_GetUnfulfilledReputerNoncesResponse) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { + if x.Nonces != nil { + value := protoreflect.ValueOfMessage(x.Nonces.ProtoReflect()) + if !f(fd_GetUnfulfilledReputerNoncesResponse_nonces, value) { + return + } + } +} + +// Has reports whether a field is populated. +// +// Some fields have the property of nullability where it is possible to +// distinguish between the default value of a field and whether the field +// was explicitly populated with the default value. Singular message fields, +// member fields of a oneof, and proto2 scalar fields are nullable. Such +// fields are populated only if explicitly set. +// +// In other cases (aside from the nullable cases above), +// a proto3 scalar field is populated if it contains a non-zero value, and +// a repeated field is populated if it is non-empty. +func (x *fastReflection_GetUnfulfilledReputerNoncesResponse) Has(fd protoreflect.FieldDescriptor) bool { + switch fd.FullName() { + case "emissions.v8.GetUnfulfilledReputerNoncesResponse.nonces": + return x.Nonces != nil + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetUnfulfilledReputerNoncesResponse")) + } + panic(fmt.Errorf("message emissions.v8.GetUnfulfilledReputerNoncesResponse does not contain field %s", fd.FullName())) + } +} + +// Clear clears the field such that a subsequent Has call reports false. +// +// Clearing an extension field clears both the extension type and value +// associated with the given field number. +// +// Clear is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetUnfulfilledReputerNoncesResponse) Clear(fd protoreflect.FieldDescriptor) { + switch fd.FullName() { + case "emissions.v8.GetUnfulfilledReputerNoncesResponse.nonces": + x.Nonces = nil + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetUnfulfilledReputerNoncesResponse")) + } + panic(fmt.Errorf("message emissions.v8.GetUnfulfilledReputerNoncesResponse does not contain field %s", fd.FullName())) + } +} + +// Get retrieves the value for a field. +// +// For unpopulated scalars, it returns the default value, where +// the default value of a bytes scalar is guaranteed to be a copy. +// For unpopulated composite types, it returns an empty, read-only view +// of the value; to obtain a mutable reference, use Mutable. +func (x *fastReflection_GetUnfulfilledReputerNoncesResponse) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { + switch descriptor.FullName() { + case "emissions.v8.GetUnfulfilledReputerNoncesResponse.nonces": + value := x.Nonces + return protoreflect.ValueOfMessage(value.ProtoReflect()) + default: + if descriptor.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetUnfulfilledReputerNoncesResponse")) + } + panic(fmt.Errorf("message emissions.v8.GetUnfulfilledReputerNoncesResponse does not contain field %s", descriptor.FullName())) + } +} + +// Set stores the value for a field. +// +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType. +// When setting a composite type, it is unspecified whether the stored value +// aliases the source's memory in any way. If the composite value is an +// empty, read-only value, then it panics. +// +// Set is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetUnfulfilledReputerNoncesResponse) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { + switch fd.FullName() { + case "emissions.v8.GetUnfulfilledReputerNoncesResponse.nonces": + x.Nonces = value.Message().Interface().(*v3.ReputerRequestNonces) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetUnfulfilledReputerNoncesResponse")) + } + panic(fmt.Errorf("message emissions.v8.GetUnfulfilledReputerNoncesResponse does not contain field %s", fd.FullName())) + } +} + +// Mutable returns a mutable reference to a composite type. +// +// If the field is unpopulated, it may allocate a composite value. +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType +// if not already stored. +// It panics if the field does not contain a composite type. +// +// Mutable is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetUnfulfilledReputerNoncesResponse) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.GetUnfulfilledReputerNoncesResponse.nonces": + if x.Nonces == nil { + x.Nonces = new(v3.ReputerRequestNonces) + } + return protoreflect.ValueOfMessage(x.Nonces.ProtoReflect()) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetUnfulfilledReputerNoncesResponse")) + } + panic(fmt.Errorf("message emissions.v8.GetUnfulfilledReputerNoncesResponse does not contain field %s", fd.FullName())) + } +} + +// NewField returns a new value that is assignable to the field +// for the given descriptor. For scalars, this returns the default value. +// For lists, maps, and messages, this returns a new, empty, mutable value. +func (x *fastReflection_GetUnfulfilledReputerNoncesResponse) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.GetUnfulfilledReputerNoncesResponse.nonces": + m := new(v3.ReputerRequestNonces) + return protoreflect.ValueOfMessage(m.ProtoReflect()) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetUnfulfilledReputerNoncesResponse")) + } + panic(fmt.Errorf("message emissions.v8.GetUnfulfilledReputerNoncesResponse does not contain field %s", fd.FullName())) + } +} + +// WhichOneof reports which field within the oneof is populated, +// returning nil if none are populated. +// It panics if the oneof descriptor does not belong to this message. +func (x *fastReflection_GetUnfulfilledReputerNoncesResponse) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { + switch d.FullName() { + default: + panic(fmt.Errorf("%s is not a oneof field in emissions.v8.GetUnfulfilledReputerNoncesResponse", d.FullName())) + } + panic("unreachable") +} + +// GetUnknown retrieves the entire list of unknown fields. +// The caller may only mutate the contents of the RawFields +// if the mutated bytes are stored back into the message with SetUnknown. +func (x *fastReflection_GetUnfulfilledReputerNoncesResponse) GetUnknown() protoreflect.RawFields { + return x.unknownFields +} + +// SetUnknown stores an entire list of unknown fields. +// The raw fields must be syntactically valid according to the wire format. +// An implementation may panic if this is not the case. +// Once stored, the caller must not mutate the content of the RawFields. +// An empty RawFields may be passed to clear the fields. +// +// SetUnknown is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetUnfulfilledReputerNoncesResponse) SetUnknown(fields protoreflect.RawFields) { + x.unknownFields = fields +} + +// IsValid reports whether the message is valid. +// +// An invalid message is an empty, read-only value. +// +// An invalid message often corresponds to a nil pointer of the concrete +// message type, but the details are implementation dependent. +// Validity is not part of the protobuf data model, and may not +// be preserved in marshaling or other operations. +func (x *fastReflection_GetUnfulfilledReputerNoncesResponse) IsValid() bool { + return x != nil +} + +// ProtoMethods returns optional fastReflectionFeature-path implementations of various operations. +// This method may return nil. +// +// The returned methods type is identical to +// "google.golang.org/protobuf/runtime/protoiface".Methods. +// Consult the protoiface package documentation for details. +func (x *fastReflection_GetUnfulfilledReputerNoncesResponse) ProtoMethods() *protoiface.Methods { + size := func(input protoiface.SizeInput) protoiface.SizeOutput { + x := input.Message.Interface().(*GetUnfulfilledReputerNoncesResponse) + if x == nil { + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: 0, + } + } + options := runtime.SizeInputToOptions(input) + _ = options + var n int + var l int + _ = l + if x.Nonces != nil { + l = options.Size(x.Nonces) + n += 1 + l + runtime.Sov(uint64(l)) + } + if x.unknownFields != nil { + n += len(x.unknownFields) + } + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: n, + } + } + + marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { + x := input.Message.Interface().(*GetUnfulfilledReputerNoncesResponse) + if x == nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + options := runtime.MarshalInputToOptions(input) + _ = options + size := options.Size(x) + dAtA := make([]byte, size) + i := len(dAtA) + _ = i + var l int + _ = l + if x.unknownFields != nil { + i -= len(x.unknownFields) + copy(dAtA[i:], x.unknownFields) + } + if x.Nonces != nil { + encoded, err := options.Marshal(x.Nonces) + if err != nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = runtime.EncodeVarint(dAtA, i, uint64(len(encoded))) + i-- + dAtA[i] = 0xa + } + if input.Buf != nil { + input.Buf = append(input.Buf, dAtA...) + } else { + input.Buf = dAtA + } + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { + x := input.Message.Interface().(*GetUnfulfilledReputerNoncesResponse) + if x == nil { + return protoiface.UnmarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Flags: input.Flags, + }, nil + } + options := runtime.UnmarshalInputToOptions(input) + _ = options + dAtA := input.Buf + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: GetUnfulfilledReputerNoncesResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: GetUnfulfilledReputerNoncesResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Nonces", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + if x.Nonces == nil { + x.Nonces = &v3.ReputerRequestNonces{} + } + if err := options.Unmarshal(dAtA[iNdEx:postIndex], x.Nonces); err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := runtime.Skip(dAtA[iNdEx:]) + if err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if (iNdEx + skippy) > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + if !options.DiscardUnknown { + x.unknownFields = append(x.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + } + iNdEx += skippy + } + } + + if iNdEx > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, nil + } + return &protoiface.Methods{ + NoUnkeyedLiterals: struct{}{}, + Flags: protoiface.SupportMarshalDeterministic | protoiface.SupportUnmarshalDiscardUnknown, + Size: size, + Marshal: marshal, + Unmarshal: unmarshal, + Merge: nil, + CheckInitialized: nil, + } +} + +var ( + md_GetUnfulfilledWorkerNoncesRequest protoreflect.MessageDescriptor + fd_GetUnfulfilledWorkerNoncesRequest_topic_id protoreflect.FieldDescriptor +) + +func init() { + file_emissions_v8_query_proto_init() + md_GetUnfulfilledWorkerNoncesRequest = File_emissions_v8_query_proto.Messages().ByName("GetUnfulfilledWorkerNoncesRequest") + fd_GetUnfulfilledWorkerNoncesRequest_topic_id = md_GetUnfulfilledWorkerNoncesRequest.Fields().ByName("topic_id") +} + +var _ protoreflect.Message = (*fastReflection_GetUnfulfilledWorkerNoncesRequest)(nil) + +type fastReflection_GetUnfulfilledWorkerNoncesRequest GetUnfulfilledWorkerNoncesRequest + +func (x *GetUnfulfilledWorkerNoncesRequest) ProtoReflect() protoreflect.Message { + return (*fastReflection_GetUnfulfilledWorkerNoncesRequest)(x) +} + +func (x *GetUnfulfilledWorkerNoncesRequest) slowProtoReflect() protoreflect.Message { + mi := &file_emissions_v8_query_proto_msgTypes[96] + 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) +} + +var _fastReflection_GetUnfulfilledWorkerNoncesRequest_messageType fastReflection_GetUnfulfilledWorkerNoncesRequest_messageType +var _ protoreflect.MessageType = fastReflection_GetUnfulfilledWorkerNoncesRequest_messageType{} + +type fastReflection_GetUnfulfilledWorkerNoncesRequest_messageType struct{} + +func (x fastReflection_GetUnfulfilledWorkerNoncesRequest_messageType) Zero() protoreflect.Message { + return (*fastReflection_GetUnfulfilledWorkerNoncesRequest)(nil) +} +func (x fastReflection_GetUnfulfilledWorkerNoncesRequest_messageType) New() protoreflect.Message { + return new(fastReflection_GetUnfulfilledWorkerNoncesRequest) +} +func (x fastReflection_GetUnfulfilledWorkerNoncesRequest_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_GetUnfulfilledWorkerNoncesRequest +} + +// Descriptor returns message descriptor, which contains only the protobuf +// type information for the message. +func (x *fastReflection_GetUnfulfilledWorkerNoncesRequest) Descriptor() protoreflect.MessageDescriptor { + return md_GetUnfulfilledWorkerNoncesRequest +} + +// Type returns the message type, which encapsulates both Go and protobuf +// type information. If the Go type information is not needed, +// it is recommended that the message descriptor be used instead. +func (x *fastReflection_GetUnfulfilledWorkerNoncesRequest) Type() protoreflect.MessageType { + return _fastReflection_GetUnfulfilledWorkerNoncesRequest_messageType +} + +// New returns a newly allocated and mutable empty message. +func (x *fastReflection_GetUnfulfilledWorkerNoncesRequest) New() protoreflect.Message { + return new(fastReflection_GetUnfulfilledWorkerNoncesRequest) +} + +// Interface unwraps the message reflection interface and +// returns the underlying ProtoMessage interface. +func (x *fastReflection_GetUnfulfilledWorkerNoncesRequest) Interface() protoreflect.ProtoMessage { + return (*GetUnfulfilledWorkerNoncesRequest)(x) +} + +// Range iterates over every populated field in an undefined order, +// calling f for each field descriptor and value encountered. +// Range returns immediately if f returns false. +// While iterating, mutating operations may only be performed +// on the current field descriptor. +func (x *fastReflection_GetUnfulfilledWorkerNoncesRequest) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { + if x.TopicId != uint64(0) { + value := protoreflect.ValueOfUint64(x.TopicId) + if !f(fd_GetUnfulfilledWorkerNoncesRequest_topic_id, value) { + return + } + } +} + +// Has reports whether a field is populated. +// +// Some fields have the property of nullability where it is possible to +// distinguish between the default value of a field and whether the field +// was explicitly populated with the default value. Singular message fields, +// member fields of a oneof, and proto2 scalar fields are nullable. Such +// fields are populated only if explicitly set. +// +// In other cases (aside from the nullable cases above), +// a proto3 scalar field is populated if it contains a non-zero value, and +// a repeated field is populated if it is non-empty. +func (x *fastReflection_GetUnfulfilledWorkerNoncesRequest) Has(fd protoreflect.FieldDescriptor) bool { + switch fd.FullName() { + case "emissions.v8.GetUnfulfilledWorkerNoncesRequest.topic_id": + return x.TopicId != uint64(0) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetUnfulfilledWorkerNoncesRequest")) + } + panic(fmt.Errorf("message emissions.v8.GetUnfulfilledWorkerNoncesRequest does not contain field %s", fd.FullName())) + } +} + +// Clear clears the field such that a subsequent Has call reports false. +// +// Clearing an extension field clears both the extension type and value +// associated with the given field number. +// +// Clear is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetUnfulfilledWorkerNoncesRequest) Clear(fd protoreflect.FieldDescriptor) { + switch fd.FullName() { + case "emissions.v8.GetUnfulfilledWorkerNoncesRequest.topic_id": + x.TopicId = uint64(0) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetUnfulfilledWorkerNoncesRequest")) + } + panic(fmt.Errorf("message emissions.v8.GetUnfulfilledWorkerNoncesRequest does not contain field %s", fd.FullName())) + } +} + +// Get retrieves the value for a field. +// +// For unpopulated scalars, it returns the default value, where +// the default value of a bytes scalar is guaranteed to be a copy. +// For unpopulated composite types, it returns an empty, read-only view +// of the value; to obtain a mutable reference, use Mutable. +func (x *fastReflection_GetUnfulfilledWorkerNoncesRequest) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { + switch descriptor.FullName() { + case "emissions.v8.GetUnfulfilledWorkerNoncesRequest.topic_id": + value := x.TopicId + return protoreflect.ValueOfUint64(value) + default: + if descriptor.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetUnfulfilledWorkerNoncesRequest")) + } + panic(fmt.Errorf("message emissions.v8.GetUnfulfilledWorkerNoncesRequest does not contain field %s", descriptor.FullName())) + } +} + +// Set stores the value for a field. +// +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType. +// When setting a composite type, it is unspecified whether the stored value +// aliases the source's memory in any way. If the composite value is an +// empty, read-only value, then it panics. +// +// Set is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetUnfulfilledWorkerNoncesRequest) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { + switch fd.FullName() { + case "emissions.v8.GetUnfulfilledWorkerNoncesRequest.topic_id": + x.TopicId = value.Uint() + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetUnfulfilledWorkerNoncesRequest")) + } + panic(fmt.Errorf("message emissions.v8.GetUnfulfilledWorkerNoncesRequest does not contain field %s", fd.FullName())) + } +} + +// Mutable returns a mutable reference to a composite type. +// +// If the field is unpopulated, it may allocate a composite value. +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType +// if not already stored. +// It panics if the field does not contain a composite type. +// +// Mutable is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetUnfulfilledWorkerNoncesRequest) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.GetUnfulfilledWorkerNoncesRequest.topic_id": + panic(fmt.Errorf("field topic_id of message emissions.v8.GetUnfulfilledWorkerNoncesRequest is not mutable")) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetUnfulfilledWorkerNoncesRequest")) + } + panic(fmt.Errorf("message emissions.v8.GetUnfulfilledWorkerNoncesRequest does not contain field %s", fd.FullName())) + } +} + +// NewField returns a new value that is assignable to the field +// for the given descriptor. For scalars, this returns the default value. +// For lists, maps, and messages, this returns a new, empty, mutable value. +func (x *fastReflection_GetUnfulfilledWorkerNoncesRequest) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.GetUnfulfilledWorkerNoncesRequest.topic_id": + return protoreflect.ValueOfUint64(uint64(0)) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetUnfulfilledWorkerNoncesRequest")) + } + panic(fmt.Errorf("message emissions.v8.GetUnfulfilledWorkerNoncesRequest does not contain field %s", fd.FullName())) + } +} + +// WhichOneof reports which field within the oneof is populated, +// returning nil if none are populated. +// It panics if the oneof descriptor does not belong to this message. +func (x *fastReflection_GetUnfulfilledWorkerNoncesRequest) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { + switch d.FullName() { + default: + panic(fmt.Errorf("%s is not a oneof field in emissions.v8.GetUnfulfilledWorkerNoncesRequest", d.FullName())) + } + panic("unreachable") +} + +// GetUnknown retrieves the entire list of unknown fields. +// The caller may only mutate the contents of the RawFields +// if the mutated bytes are stored back into the message with SetUnknown. +func (x *fastReflection_GetUnfulfilledWorkerNoncesRequest) GetUnknown() protoreflect.RawFields { + return x.unknownFields +} + +// SetUnknown stores an entire list of unknown fields. +// The raw fields must be syntactically valid according to the wire format. +// An implementation may panic if this is not the case. +// Once stored, the caller must not mutate the content of the RawFields. +// An empty RawFields may be passed to clear the fields. +// +// SetUnknown is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetUnfulfilledWorkerNoncesRequest) SetUnknown(fields protoreflect.RawFields) { + x.unknownFields = fields +} + +// IsValid reports whether the message is valid. +// +// An invalid message is an empty, read-only value. +// +// An invalid message often corresponds to a nil pointer of the concrete +// message type, but the details are implementation dependent. +// Validity is not part of the protobuf data model, and may not +// be preserved in marshaling or other operations. +func (x *fastReflection_GetUnfulfilledWorkerNoncesRequest) IsValid() bool { + return x != nil +} + +// ProtoMethods returns optional fastReflectionFeature-path implementations of various operations. +// This method may return nil. +// +// The returned methods type is identical to +// "google.golang.org/protobuf/runtime/protoiface".Methods. +// Consult the protoiface package documentation for details. +func (x *fastReflection_GetUnfulfilledWorkerNoncesRequest) ProtoMethods() *protoiface.Methods { + size := func(input protoiface.SizeInput) protoiface.SizeOutput { + x := input.Message.Interface().(*GetUnfulfilledWorkerNoncesRequest) + if x == nil { + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: 0, + } + } + options := runtime.SizeInputToOptions(input) + _ = options + var n int + var l int + _ = l + if x.TopicId != 0 { + n += 1 + runtime.Sov(uint64(x.TopicId)) + } + if x.unknownFields != nil { + n += len(x.unknownFields) + } + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: n, + } + } + + marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { + x := input.Message.Interface().(*GetUnfulfilledWorkerNoncesRequest) + if x == nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + options := runtime.MarshalInputToOptions(input) + _ = options + size := options.Size(x) + dAtA := make([]byte, size) + i := len(dAtA) + _ = i + var l int + _ = l + if x.unknownFields != nil { + i -= len(x.unknownFields) + copy(dAtA[i:], x.unknownFields) + } + if x.TopicId != 0 { + i = runtime.EncodeVarint(dAtA, i, uint64(x.TopicId)) + i-- + dAtA[i] = 0x8 + } + if input.Buf != nil { + input.Buf = append(input.Buf, dAtA...) + } else { + input.Buf = dAtA + } + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { + x := input.Message.Interface().(*GetUnfulfilledWorkerNoncesRequest) + if x == nil { + return protoiface.UnmarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Flags: input.Flags, + }, nil + } + options := runtime.UnmarshalInputToOptions(input) + _ = options + dAtA := input.Buf + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: GetUnfulfilledWorkerNoncesRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: GetUnfulfilledWorkerNoncesRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field TopicId", wireType) + } + x.TopicId = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + x.TopicId |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + default: + iNdEx = preIndex + skippy, err := runtime.Skip(dAtA[iNdEx:]) + if err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if (iNdEx + skippy) > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + if !options.DiscardUnknown { + x.unknownFields = append(x.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + } + iNdEx += skippy + } + } + + if iNdEx > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, nil + } + return &protoiface.Methods{ + NoUnkeyedLiterals: struct{}{}, + Flags: protoiface.SupportMarshalDeterministic | protoiface.SupportUnmarshalDiscardUnknown, + Size: size, + Marshal: marshal, + Unmarshal: unmarshal, + Merge: nil, + CheckInitialized: nil, + } +} + +var ( + md_GetUnfulfilledWorkerNoncesResponse protoreflect.MessageDescriptor + fd_GetUnfulfilledWorkerNoncesResponse_nonces protoreflect.FieldDescriptor +) + +func init() { + file_emissions_v8_query_proto_init() + md_GetUnfulfilledWorkerNoncesResponse = File_emissions_v8_query_proto.Messages().ByName("GetUnfulfilledWorkerNoncesResponse") + fd_GetUnfulfilledWorkerNoncesResponse_nonces = md_GetUnfulfilledWorkerNoncesResponse.Fields().ByName("nonces") +} + +var _ protoreflect.Message = (*fastReflection_GetUnfulfilledWorkerNoncesResponse)(nil) + +type fastReflection_GetUnfulfilledWorkerNoncesResponse GetUnfulfilledWorkerNoncesResponse + +func (x *GetUnfulfilledWorkerNoncesResponse) ProtoReflect() protoreflect.Message { + return (*fastReflection_GetUnfulfilledWorkerNoncesResponse)(x) +} + +func (x *GetUnfulfilledWorkerNoncesResponse) slowProtoReflect() protoreflect.Message { + mi := &file_emissions_v8_query_proto_msgTypes[97] + 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) +} + +var _fastReflection_GetUnfulfilledWorkerNoncesResponse_messageType fastReflection_GetUnfulfilledWorkerNoncesResponse_messageType +var _ protoreflect.MessageType = fastReflection_GetUnfulfilledWorkerNoncesResponse_messageType{} + +type fastReflection_GetUnfulfilledWorkerNoncesResponse_messageType struct{} + +func (x fastReflection_GetUnfulfilledWorkerNoncesResponse_messageType) Zero() protoreflect.Message { + return (*fastReflection_GetUnfulfilledWorkerNoncesResponse)(nil) +} +func (x fastReflection_GetUnfulfilledWorkerNoncesResponse_messageType) New() protoreflect.Message { + return new(fastReflection_GetUnfulfilledWorkerNoncesResponse) +} +func (x fastReflection_GetUnfulfilledWorkerNoncesResponse_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_GetUnfulfilledWorkerNoncesResponse +} + +// Descriptor returns message descriptor, which contains only the protobuf +// type information for the message. +func (x *fastReflection_GetUnfulfilledWorkerNoncesResponse) Descriptor() protoreflect.MessageDescriptor { + return md_GetUnfulfilledWorkerNoncesResponse +} + +// Type returns the message type, which encapsulates both Go and protobuf +// type information. If the Go type information is not needed, +// it is recommended that the message descriptor be used instead. +func (x *fastReflection_GetUnfulfilledWorkerNoncesResponse) Type() protoreflect.MessageType { + return _fastReflection_GetUnfulfilledWorkerNoncesResponse_messageType +} + +// New returns a newly allocated and mutable empty message. +func (x *fastReflection_GetUnfulfilledWorkerNoncesResponse) New() protoreflect.Message { + return new(fastReflection_GetUnfulfilledWorkerNoncesResponse) +} + +// Interface unwraps the message reflection interface and +// returns the underlying ProtoMessage interface. +func (x *fastReflection_GetUnfulfilledWorkerNoncesResponse) Interface() protoreflect.ProtoMessage { + return (*GetUnfulfilledWorkerNoncesResponse)(x) +} + +// Range iterates over every populated field in an undefined order, +// calling f for each field descriptor and value encountered. +// Range returns immediately if f returns false. +// While iterating, mutating operations may only be performed +// on the current field descriptor. +func (x *fastReflection_GetUnfulfilledWorkerNoncesResponse) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { + if x.Nonces != nil { + value := protoreflect.ValueOfMessage(x.Nonces.ProtoReflect()) + if !f(fd_GetUnfulfilledWorkerNoncesResponse_nonces, value) { + return + } + } +} + +// Has reports whether a field is populated. +// +// Some fields have the property of nullability where it is possible to +// distinguish between the default value of a field and whether the field +// was explicitly populated with the default value. Singular message fields, +// member fields of a oneof, and proto2 scalar fields are nullable. Such +// fields are populated only if explicitly set. +// +// In other cases (aside from the nullable cases above), +// a proto3 scalar field is populated if it contains a non-zero value, and +// a repeated field is populated if it is non-empty. +func (x *fastReflection_GetUnfulfilledWorkerNoncesResponse) Has(fd protoreflect.FieldDescriptor) bool { + switch fd.FullName() { + case "emissions.v8.GetUnfulfilledWorkerNoncesResponse.nonces": + return x.Nonces != nil + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetUnfulfilledWorkerNoncesResponse")) + } + panic(fmt.Errorf("message emissions.v8.GetUnfulfilledWorkerNoncesResponse does not contain field %s", fd.FullName())) + } +} + +// Clear clears the field such that a subsequent Has call reports false. +// +// Clearing an extension field clears both the extension type and value +// associated with the given field number. +// +// Clear is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetUnfulfilledWorkerNoncesResponse) Clear(fd protoreflect.FieldDescriptor) { + switch fd.FullName() { + case "emissions.v8.GetUnfulfilledWorkerNoncesResponse.nonces": + x.Nonces = nil + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetUnfulfilledWorkerNoncesResponse")) + } + panic(fmt.Errorf("message emissions.v8.GetUnfulfilledWorkerNoncesResponse does not contain field %s", fd.FullName())) + } +} + +// Get retrieves the value for a field. +// +// For unpopulated scalars, it returns the default value, where +// the default value of a bytes scalar is guaranteed to be a copy. +// For unpopulated composite types, it returns an empty, read-only view +// of the value; to obtain a mutable reference, use Mutable. +func (x *fastReflection_GetUnfulfilledWorkerNoncesResponse) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { + switch descriptor.FullName() { + case "emissions.v8.GetUnfulfilledWorkerNoncesResponse.nonces": + value := x.Nonces + return protoreflect.ValueOfMessage(value.ProtoReflect()) + default: + if descriptor.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetUnfulfilledWorkerNoncesResponse")) + } + panic(fmt.Errorf("message emissions.v8.GetUnfulfilledWorkerNoncesResponse does not contain field %s", descriptor.FullName())) + } +} + +// Set stores the value for a field. +// +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType. +// When setting a composite type, it is unspecified whether the stored value +// aliases the source's memory in any way. If the composite value is an +// empty, read-only value, then it panics. +// +// Set is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetUnfulfilledWorkerNoncesResponse) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { + switch fd.FullName() { + case "emissions.v8.GetUnfulfilledWorkerNoncesResponse.nonces": + x.Nonces = value.Message().Interface().(*v3.Nonces) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetUnfulfilledWorkerNoncesResponse")) + } + panic(fmt.Errorf("message emissions.v8.GetUnfulfilledWorkerNoncesResponse does not contain field %s", fd.FullName())) + } +} + +// Mutable returns a mutable reference to a composite type. +// +// If the field is unpopulated, it may allocate a composite value. +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType +// if not already stored. +// It panics if the field does not contain a composite type. +// +// Mutable is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetUnfulfilledWorkerNoncesResponse) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.GetUnfulfilledWorkerNoncesResponse.nonces": + if x.Nonces == nil { + x.Nonces = new(v3.Nonces) + } + return protoreflect.ValueOfMessage(x.Nonces.ProtoReflect()) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetUnfulfilledWorkerNoncesResponse")) + } + panic(fmt.Errorf("message emissions.v8.GetUnfulfilledWorkerNoncesResponse does not contain field %s", fd.FullName())) + } +} + +// NewField returns a new value that is assignable to the field +// for the given descriptor. For scalars, this returns the default value. +// For lists, maps, and messages, this returns a new, empty, mutable value. +func (x *fastReflection_GetUnfulfilledWorkerNoncesResponse) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.GetUnfulfilledWorkerNoncesResponse.nonces": + m := new(v3.Nonces) + return protoreflect.ValueOfMessage(m.ProtoReflect()) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetUnfulfilledWorkerNoncesResponse")) + } + panic(fmt.Errorf("message emissions.v8.GetUnfulfilledWorkerNoncesResponse does not contain field %s", fd.FullName())) + } +} + +// WhichOneof reports which field within the oneof is populated, +// returning nil if none are populated. +// It panics if the oneof descriptor does not belong to this message. +func (x *fastReflection_GetUnfulfilledWorkerNoncesResponse) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { + switch d.FullName() { + default: + panic(fmt.Errorf("%s is not a oneof field in emissions.v8.GetUnfulfilledWorkerNoncesResponse", d.FullName())) + } + panic("unreachable") +} + +// GetUnknown retrieves the entire list of unknown fields. +// The caller may only mutate the contents of the RawFields +// if the mutated bytes are stored back into the message with SetUnknown. +func (x *fastReflection_GetUnfulfilledWorkerNoncesResponse) GetUnknown() protoreflect.RawFields { + return x.unknownFields +} + +// SetUnknown stores an entire list of unknown fields. +// The raw fields must be syntactically valid according to the wire format. +// An implementation may panic if this is not the case. +// Once stored, the caller must not mutate the content of the RawFields. +// An empty RawFields may be passed to clear the fields. +// +// SetUnknown is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetUnfulfilledWorkerNoncesResponse) SetUnknown(fields protoreflect.RawFields) { + x.unknownFields = fields +} + +// IsValid reports whether the message is valid. +// +// An invalid message is an empty, read-only value. +// +// An invalid message often corresponds to a nil pointer of the concrete +// message type, but the details are implementation dependent. +// Validity is not part of the protobuf data model, and may not +// be preserved in marshaling or other operations. +func (x *fastReflection_GetUnfulfilledWorkerNoncesResponse) IsValid() bool { + return x != nil +} + +// ProtoMethods returns optional fastReflectionFeature-path implementations of various operations. +// This method may return nil. +// +// The returned methods type is identical to +// "google.golang.org/protobuf/runtime/protoiface".Methods. +// Consult the protoiface package documentation for details. +func (x *fastReflection_GetUnfulfilledWorkerNoncesResponse) ProtoMethods() *protoiface.Methods { + size := func(input protoiface.SizeInput) protoiface.SizeOutput { + x := input.Message.Interface().(*GetUnfulfilledWorkerNoncesResponse) + if x == nil { + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: 0, + } + } + options := runtime.SizeInputToOptions(input) + _ = options + var n int + var l int + _ = l + if x.Nonces != nil { + l = options.Size(x.Nonces) + n += 1 + l + runtime.Sov(uint64(l)) + } + if x.unknownFields != nil { + n += len(x.unknownFields) + } + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: n, + } + } + + marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { + x := input.Message.Interface().(*GetUnfulfilledWorkerNoncesResponse) + if x == nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + options := runtime.MarshalInputToOptions(input) + _ = options + size := options.Size(x) + dAtA := make([]byte, size) + i := len(dAtA) + _ = i + var l int + _ = l + if x.unknownFields != nil { + i -= len(x.unknownFields) + copy(dAtA[i:], x.unknownFields) + } + if x.Nonces != nil { + encoded, err := options.Marshal(x.Nonces) + if err != nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = runtime.EncodeVarint(dAtA, i, uint64(len(encoded))) + i-- + dAtA[i] = 0xa + } + if input.Buf != nil { + input.Buf = append(input.Buf, dAtA...) + } else { + input.Buf = dAtA + } + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { + x := input.Message.Interface().(*GetUnfulfilledWorkerNoncesResponse) + if x == nil { + return protoiface.UnmarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Flags: input.Flags, + }, nil + } + options := runtime.UnmarshalInputToOptions(input) + _ = options + dAtA := input.Buf + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: GetUnfulfilledWorkerNoncesResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: GetUnfulfilledWorkerNoncesResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Nonces", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + if x.Nonces == nil { + x.Nonces = &v3.Nonces{} + } + if err := options.Unmarshal(dAtA[iNdEx:postIndex], x.Nonces); err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := runtime.Skip(dAtA[iNdEx:]) + if err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if (iNdEx + skippy) > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + if !options.DiscardUnknown { + x.unknownFields = append(x.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + } + iNdEx += skippy + } + } + + if iNdEx > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, nil + } + return &protoiface.Methods{ + NoUnkeyedLiterals: struct{}{}, + Flags: protoiface.SupportMarshalDeterministic | protoiface.SupportUnmarshalDiscardUnknown, + Size: size, + Marshal: marshal, + Unmarshal: unmarshal, + Merge: nil, + CheckInitialized: nil, + } +} + +var ( + md_GetInfererNetworkRegretRequest protoreflect.MessageDescriptor + fd_GetInfererNetworkRegretRequest_topic_id protoreflect.FieldDescriptor + fd_GetInfererNetworkRegretRequest_actor_id protoreflect.FieldDescriptor +) + +func init() { + file_emissions_v8_query_proto_init() + md_GetInfererNetworkRegretRequest = File_emissions_v8_query_proto.Messages().ByName("GetInfererNetworkRegretRequest") + fd_GetInfererNetworkRegretRequest_topic_id = md_GetInfererNetworkRegretRequest.Fields().ByName("topic_id") + fd_GetInfererNetworkRegretRequest_actor_id = md_GetInfererNetworkRegretRequest.Fields().ByName("actor_id") +} + +var _ protoreflect.Message = (*fastReflection_GetInfererNetworkRegretRequest)(nil) + +type fastReflection_GetInfererNetworkRegretRequest GetInfererNetworkRegretRequest + +func (x *GetInfererNetworkRegretRequest) ProtoReflect() protoreflect.Message { + return (*fastReflection_GetInfererNetworkRegretRequest)(x) +} + +func (x *GetInfererNetworkRegretRequest) slowProtoReflect() protoreflect.Message { + mi := &file_emissions_v8_query_proto_msgTypes[98] + 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) +} + +var _fastReflection_GetInfererNetworkRegretRequest_messageType fastReflection_GetInfererNetworkRegretRequest_messageType +var _ protoreflect.MessageType = fastReflection_GetInfererNetworkRegretRequest_messageType{} + +type fastReflection_GetInfererNetworkRegretRequest_messageType struct{} + +func (x fastReflection_GetInfererNetworkRegretRequest_messageType) Zero() protoreflect.Message { + return (*fastReflection_GetInfererNetworkRegretRequest)(nil) +} +func (x fastReflection_GetInfererNetworkRegretRequest_messageType) New() protoreflect.Message { + return new(fastReflection_GetInfererNetworkRegretRequest) +} +func (x fastReflection_GetInfererNetworkRegretRequest_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_GetInfererNetworkRegretRequest +} + +// Descriptor returns message descriptor, which contains only the protobuf +// type information for the message. +func (x *fastReflection_GetInfererNetworkRegretRequest) Descriptor() protoreflect.MessageDescriptor { + return md_GetInfererNetworkRegretRequest +} + +// Type returns the message type, which encapsulates both Go and protobuf +// type information. If the Go type information is not needed, +// it is recommended that the message descriptor be used instead. +func (x *fastReflection_GetInfererNetworkRegretRequest) Type() protoreflect.MessageType { + return _fastReflection_GetInfererNetworkRegretRequest_messageType +} + +// New returns a newly allocated and mutable empty message. +func (x *fastReflection_GetInfererNetworkRegretRequest) New() protoreflect.Message { + return new(fastReflection_GetInfererNetworkRegretRequest) +} + +// Interface unwraps the message reflection interface and +// returns the underlying ProtoMessage interface. +func (x *fastReflection_GetInfererNetworkRegretRequest) Interface() protoreflect.ProtoMessage { + return (*GetInfererNetworkRegretRequest)(x) +} + +// Range iterates over every populated field in an undefined order, +// calling f for each field descriptor and value encountered. +// Range returns immediately if f returns false. +// While iterating, mutating operations may only be performed +// on the current field descriptor. +func (x *fastReflection_GetInfererNetworkRegretRequest) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { + if x.TopicId != uint64(0) { + value := protoreflect.ValueOfUint64(x.TopicId) + if !f(fd_GetInfererNetworkRegretRequest_topic_id, value) { + return + } + } + if x.ActorId != "" { + value := protoreflect.ValueOfString(x.ActorId) + if !f(fd_GetInfererNetworkRegretRequest_actor_id, value) { + return + } + } +} + +// Has reports whether a field is populated. +// +// Some fields have the property of nullability where it is possible to +// distinguish between the default value of a field and whether the field +// was explicitly populated with the default value. Singular message fields, +// member fields of a oneof, and proto2 scalar fields are nullable. Such +// fields are populated only if explicitly set. +// +// In other cases (aside from the nullable cases above), +// a proto3 scalar field is populated if it contains a non-zero value, and +// a repeated field is populated if it is non-empty. +func (x *fastReflection_GetInfererNetworkRegretRequest) Has(fd protoreflect.FieldDescriptor) bool { + switch fd.FullName() { + case "emissions.v8.GetInfererNetworkRegretRequest.topic_id": + return x.TopicId != uint64(0) + case "emissions.v8.GetInfererNetworkRegretRequest.actor_id": + return x.ActorId != "" + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetInfererNetworkRegretRequest")) + } + panic(fmt.Errorf("message emissions.v8.GetInfererNetworkRegretRequest does not contain field %s", fd.FullName())) + } +} + +// Clear clears the field such that a subsequent Has call reports false. +// +// Clearing an extension field clears both the extension type and value +// associated with the given field number. +// +// Clear is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetInfererNetworkRegretRequest) Clear(fd protoreflect.FieldDescriptor) { + switch fd.FullName() { + case "emissions.v8.GetInfererNetworkRegretRequest.topic_id": + x.TopicId = uint64(0) + case "emissions.v8.GetInfererNetworkRegretRequest.actor_id": + x.ActorId = "" + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetInfererNetworkRegretRequest")) + } + panic(fmt.Errorf("message emissions.v8.GetInfererNetworkRegretRequest does not contain field %s", fd.FullName())) + } +} + +// Get retrieves the value for a field. +// +// For unpopulated scalars, it returns the default value, where +// the default value of a bytes scalar is guaranteed to be a copy. +// For unpopulated composite types, it returns an empty, read-only view +// of the value; to obtain a mutable reference, use Mutable. +func (x *fastReflection_GetInfererNetworkRegretRequest) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { + switch descriptor.FullName() { + case "emissions.v8.GetInfererNetworkRegretRequest.topic_id": + value := x.TopicId + return protoreflect.ValueOfUint64(value) + case "emissions.v8.GetInfererNetworkRegretRequest.actor_id": + value := x.ActorId + return protoreflect.ValueOfString(value) + default: + if descriptor.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetInfererNetworkRegretRequest")) + } + panic(fmt.Errorf("message emissions.v8.GetInfererNetworkRegretRequest does not contain field %s", descriptor.FullName())) + } +} + +// Set stores the value for a field. +// +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType. +// When setting a composite type, it is unspecified whether the stored value +// aliases the source's memory in any way. If the composite value is an +// empty, read-only value, then it panics. +// +// Set is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetInfererNetworkRegretRequest) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { + switch fd.FullName() { + case "emissions.v8.GetInfererNetworkRegretRequest.topic_id": + x.TopicId = value.Uint() + case "emissions.v8.GetInfererNetworkRegretRequest.actor_id": + x.ActorId = value.Interface().(string) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetInfererNetworkRegretRequest")) + } + panic(fmt.Errorf("message emissions.v8.GetInfererNetworkRegretRequest does not contain field %s", fd.FullName())) + } +} + +// Mutable returns a mutable reference to a composite type. +// +// If the field is unpopulated, it may allocate a composite value. +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType +// if not already stored. +// It panics if the field does not contain a composite type. +// +// Mutable is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetInfererNetworkRegretRequest) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.GetInfererNetworkRegretRequest.topic_id": + panic(fmt.Errorf("field topic_id of message emissions.v8.GetInfererNetworkRegretRequest is not mutable")) + case "emissions.v8.GetInfererNetworkRegretRequest.actor_id": + panic(fmt.Errorf("field actor_id of message emissions.v8.GetInfererNetworkRegretRequest is not mutable")) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetInfererNetworkRegretRequest")) + } + panic(fmt.Errorf("message emissions.v8.GetInfererNetworkRegretRequest does not contain field %s", fd.FullName())) + } +} + +// NewField returns a new value that is assignable to the field +// for the given descriptor. For scalars, this returns the default value. +// For lists, maps, and messages, this returns a new, empty, mutable value. +func (x *fastReflection_GetInfererNetworkRegretRequest) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.GetInfererNetworkRegretRequest.topic_id": + return protoreflect.ValueOfUint64(uint64(0)) + case "emissions.v8.GetInfererNetworkRegretRequest.actor_id": + return protoreflect.ValueOfString("") + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetInfererNetworkRegretRequest")) + } + panic(fmt.Errorf("message emissions.v8.GetInfererNetworkRegretRequest does not contain field %s", fd.FullName())) + } +} + +// WhichOneof reports which field within the oneof is populated, +// returning nil if none are populated. +// It panics if the oneof descriptor does not belong to this message. +func (x *fastReflection_GetInfererNetworkRegretRequest) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { + switch d.FullName() { + default: + panic(fmt.Errorf("%s is not a oneof field in emissions.v8.GetInfererNetworkRegretRequest", d.FullName())) + } + panic("unreachable") +} + +// GetUnknown retrieves the entire list of unknown fields. +// The caller may only mutate the contents of the RawFields +// if the mutated bytes are stored back into the message with SetUnknown. +func (x *fastReflection_GetInfererNetworkRegretRequest) GetUnknown() protoreflect.RawFields { + return x.unknownFields +} + +// SetUnknown stores an entire list of unknown fields. +// The raw fields must be syntactically valid according to the wire format. +// An implementation may panic if this is not the case. +// Once stored, the caller must not mutate the content of the RawFields. +// An empty RawFields may be passed to clear the fields. +// +// SetUnknown is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetInfererNetworkRegretRequest) SetUnknown(fields protoreflect.RawFields) { + x.unknownFields = fields +} + +// IsValid reports whether the message is valid. +// +// An invalid message is an empty, read-only value. +// +// An invalid message often corresponds to a nil pointer of the concrete +// message type, but the details are implementation dependent. +// Validity is not part of the protobuf data model, and may not +// be preserved in marshaling or other operations. +func (x *fastReflection_GetInfererNetworkRegretRequest) IsValid() bool { + return x != nil +} + +// ProtoMethods returns optional fastReflectionFeature-path implementations of various operations. +// This method may return nil. +// +// The returned methods type is identical to +// "google.golang.org/protobuf/runtime/protoiface".Methods. +// Consult the protoiface package documentation for details. +func (x *fastReflection_GetInfererNetworkRegretRequest) ProtoMethods() *protoiface.Methods { + size := func(input protoiface.SizeInput) protoiface.SizeOutput { + x := input.Message.Interface().(*GetInfererNetworkRegretRequest) + if x == nil { + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: 0, + } + } + options := runtime.SizeInputToOptions(input) + _ = options + var n int + var l int + _ = l + if x.TopicId != 0 { + n += 1 + runtime.Sov(uint64(x.TopicId)) + } + l = len(x.ActorId) + if l > 0 { + n += 1 + l + runtime.Sov(uint64(l)) + } + if x.unknownFields != nil { + n += len(x.unknownFields) + } + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: n, + } + } + + marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { + x := input.Message.Interface().(*GetInfererNetworkRegretRequest) + if x == nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + options := runtime.MarshalInputToOptions(input) + _ = options + size := options.Size(x) + dAtA := make([]byte, size) + i := len(dAtA) + _ = i + var l int + _ = l + if x.unknownFields != nil { + i -= len(x.unknownFields) + copy(dAtA[i:], x.unknownFields) + } + if len(x.ActorId) > 0 { + i -= len(x.ActorId) + copy(dAtA[i:], x.ActorId) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.ActorId))) + i-- + dAtA[i] = 0x12 + } + if x.TopicId != 0 { + i = runtime.EncodeVarint(dAtA, i, uint64(x.TopicId)) + i-- + dAtA[i] = 0x8 + } + if input.Buf != nil { + input.Buf = append(input.Buf, dAtA...) + } else { + input.Buf = dAtA + } + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { + x := input.Message.Interface().(*GetInfererNetworkRegretRequest) + if x == nil { + return protoiface.UnmarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Flags: input.Flags, + }, nil + } + options := runtime.UnmarshalInputToOptions(input) + _ = options + dAtA := input.Buf + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: GetInfererNetworkRegretRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: GetInfererNetworkRegretRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field TopicId", wireType) + } + x.TopicId = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + x.TopicId |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 2: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field ActorId", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + x.ActorId = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := runtime.Skip(dAtA[iNdEx:]) + if err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if (iNdEx + skippy) > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + if !options.DiscardUnknown { + x.unknownFields = append(x.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + } + iNdEx += skippy + } + } + + if iNdEx > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, nil + } + return &protoiface.Methods{ + NoUnkeyedLiterals: struct{}{}, + Flags: protoiface.SupportMarshalDeterministic | protoiface.SupportUnmarshalDiscardUnknown, + Size: size, + Marshal: marshal, + Unmarshal: unmarshal, + Merge: nil, + CheckInitialized: nil, + } +} + +var ( + md_GetInfererNetworkRegretResponse protoreflect.MessageDescriptor + fd_GetInfererNetworkRegretResponse_regret protoreflect.FieldDescriptor +) + +func init() { + file_emissions_v8_query_proto_init() + md_GetInfererNetworkRegretResponse = File_emissions_v8_query_proto.Messages().ByName("GetInfererNetworkRegretResponse") + fd_GetInfererNetworkRegretResponse_regret = md_GetInfererNetworkRegretResponse.Fields().ByName("regret") +} + +var _ protoreflect.Message = (*fastReflection_GetInfererNetworkRegretResponse)(nil) + +type fastReflection_GetInfererNetworkRegretResponse GetInfererNetworkRegretResponse + +func (x *GetInfererNetworkRegretResponse) ProtoReflect() protoreflect.Message { + return (*fastReflection_GetInfererNetworkRegretResponse)(x) +} + +func (x *GetInfererNetworkRegretResponse) slowProtoReflect() protoreflect.Message { + mi := &file_emissions_v8_query_proto_msgTypes[99] + 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) +} + +var _fastReflection_GetInfererNetworkRegretResponse_messageType fastReflection_GetInfererNetworkRegretResponse_messageType +var _ protoreflect.MessageType = fastReflection_GetInfererNetworkRegretResponse_messageType{} + +type fastReflection_GetInfererNetworkRegretResponse_messageType struct{} + +func (x fastReflection_GetInfererNetworkRegretResponse_messageType) Zero() protoreflect.Message { + return (*fastReflection_GetInfererNetworkRegretResponse)(nil) +} +func (x fastReflection_GetInfererNetworkRegretResponse_messageType) New() protoreflect.Message { + return new(fastReflection_GetInfererNetworkRegretResponse) +} +func (x fastReflection_GetInfererNetworkRegretResponse_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_GetInfererNetworkRegretResponse +} + +// Descriptor returns message descriptor, which contains only the protobuf +// type information for the message. +func (x *fastReflection_GetInfererNetworkRegretResponse) Descriptor() protoreflect.MessageDescriptor { + return md_GetInfererNetworkRegretResponse +} + +// Type returns the message type, which encapsulates both Go and protobuf +// type information. If the Go type information is not needed, +// it is recommended that the message descriptor be used instead. +func (x *fastReflection_GetInfererNetworkRegretResponse) Type() protoreflect.MessageType { + return _fastReflection_GetInfererNetworkRegretResponse_messageType +} + +// New returns a newly allocated and mutable empty message. +func (x *fastReflection_GetInfererNetworkRegretResponse) New() protoreflect.Message { + return new(fastReflection_GetInfererNetworkRegretResponse) +} + +// Interface unwraps the message reflection interface and +// returns the underlying ProtoMessage interface. +func (x *fastReflection_GetInfererNetworkRegretResponse) Interface() protoreflect.ProtoMessage { + return (*GetInfererNetworkRegretResponse)(x) +} + +// Range iterates over every populated field in an undefined order, +// calling f for each field descriptor and value encountered. +// Range returns immediately if f returns false. +// While iterating, mutating operations may only be performed +// on the current field descriptor. +func (x *fastReflection_GetInfererNetworkRegretResponse) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { + if x.Regret != nil { + value := protoreflect.ValueOfMessage(x.Regret.ProtoReflect()) + if !f(fd_GetInfererNetworkRegretResponse_regret, value) { + return + } + } +} + +// Has reports whether a field is populated. +// +// Some fields have the property of nullability where it is possible to +// distinguish between the default value of a field and whether the field +// was explicitly populated with the default value. Singular message fields, +// member fields of a oneof, and proto2 scalar fields are nullable. Such +// fields are populated only if explicitly set. +// +// In other cases (aside from the nullable cases above), +// a proto3 scalar field is populated if it contains a non-zero value, and +// a repeated field is populated if it is non-empty. +func (x *fastReflection_GetInfererNetworkRegretResponse) Has(fd protoreflect.FieldDescriptor) bool { + switch fd.FullName() { + case "emissions.v8.GetInfererNetworkRegretResponse.regret": + return x.Regret != nil + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetInfererNetworkRegretResponse")) + } + panic(fmt.Errorf("message emissions.v8.GetInfererNetworkRegretResponse does not contain field %s", fd.FullName())) + } +} + +// Clear clears the field such that a subsequent Has call reports false. +// +// Clearing an extension field clears both the extension type and value +// associated with the given field number. +// +// Clear is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetInfererNetworkRegretResponse) Clear(fd protoreflect.FieldDescriptor) { + switch fd.FullName() { + case "emissions.v8.GetInfererNetworkRegretResponse.regret": + x.Regret = nil + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetInfererNetworkRegretResponse")) + } + panic(fmt.Errorf("message emissions.v8.GetInfererNetworkRegretResponse does not contain field %s", fd.FullName())) + } +} + +// Get retrieves the value for a field. +// +// For unpopulated scalars, it returns the default value, where +// the default value of a bytes scalar is guaranteed to be a copy. +// For unpopulated composite types, it returns an empty, read-only view +// of the value; to obtain a mutable reference, use Mutable. +func (x *fastReflection_GetInfererNetworkRegretResponse) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { + switch descriptor.FullName() { + case "emissions.v8.GetInfererNetworkRegretResponse.regret": + value := x.Regret + return protoreflect.ValueOfMessage(value.ProtoReflect()) + default: + if descriptor.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetInfererNetworkRegretResponse")) + } + panic(fmt.Errorf("message emissions.v8.GetInfererNetworkRegretResponse does not contain field %s", descriptor.FullName())) + } +} + +// Set stores the value for a field. +// +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType. +// When setting a composite type, it is unspecified whether the stored value +// aliases the source's memory in any way. If the composite value is an +// empty, read-only value, then it panics. +// +// Set is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetInfererNetworkRegretResponse) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { + switch fd.FullName() { + case "emissions.v8.GetInfererNetworkRegretResponse.regret": + x.Regret = value.Message().Interface().(*v3.TimestampedValue) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetInfererNetworkRegretResponse")) + } + panic(fmt.Errorf("message emissions.v8.GetInfererNetworkRegretResponse does not contain field %s", fd.FullName())) + } +} + +// Mutable returns a mutable reference to a composite type. +// +// If the field is unpopulated, it may allocate a composite value. +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType +// if not already stored. +// It panics if the field does not contain a composite type. +// +// Mutable is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetInfererNetworkRegretResponse) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.GetInfererNetworkRegretResponse.regret": + if x.Regret == nil { + x.Regret = new(v3.TimestampedValue) + } + return protoreflect.ValueOfMessage(x.Regret.ProtoReflect()) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetInfererNetworkRegretResponse")) + } + panic(fmt.Errorf("message emissions.v8.GetInfererNetworkRegretResponse does not contain field %s", fd.FullName())) + } +} + +// NewField returns a new value that is assignable to the field +// for the given descriptor. For scalars, this returns the default value. +// For lists, maps, and messages, this returns a new, empty, mutable value. +func (x *fastReflection_GetInfererNetworkRegretResponse) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.GetInfererNetworkRegretResponse.regret": + m := new(v3.TimestampedValue) + return protoreflect.ValueOfMessage(m.ProtoReflect()) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetInfererNetworkRegretResponse")) + } + panic(fmt.Errorf("message emissions.v8.GetInfererNetworkRegretResponse does not contain field %s", fd.FullName())) + } +} + +// WhichOneof reports which field within the oneof is populated, +// returning nil if none are populated. +// It panics if the oneof descriptor does not belong to this message. +func (x *fastReflection_GetInfererNetworkRegretResponse) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { + switch d.FullName() { + default: + panic(fmt.Errorf("%s is not a oneof field in emissions.v8.GetInfererNetworkRegretResponse", d.FullName())) + } + panic("unreachable") +} + +// GetUnknown retrieves the entire list of unknown fields. +// The caller may only mutate the contents of the RawFields +// if the mutated bytes are stored back into the message with SetUnknown. +func (x *fastReflection_GetInfererNetworkRegretResponse) GetUnknown() protoreflect.RawFields { + return x.unknownFields +} + +// SetUnknown stores an entire list of unknown fields. +// The raw fields must be syntactically valid according to the wire format. +// An implementation may panic if this is not the case. +// Once stored, the caller must not mutate the content of the RawFields. +// An empty RawFields may be passed to clear the fields. +// +// SetUnknown is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetInfererNetworkRegretResponse) SetUnknown(fields protoreflect.RawFields) { + x.unknownFields = fields +} + +// IsValid reports whether the message is valid. +// +// An invalid message is an empty, read-only value. +// +// An invalid message often corresponds to a nil pointer of the concrete +// message type, but the details are implementation dependent. +// Validity is not part of the protobuf data model, and may not +// be preserved in marshaling or other operations. +func (x *fastReflection_GetInfererNetworkRegretResponse) IsValid() bool { + return x != nil +} + +// ProtoMethods returns optional fastReflectionFeature-path implementations of various operations. +// This method may return nil. +// +// The returned methods type is identical to +// "google.golang.org/protobuf/runtime/protoiface".Methods. +// Consult the protoiface package documentation for details. +func (x *fastReflection_GetInfererNetworkRegretResponse) ProtoMethods() *protoiface.Methods { + size := func(input protoiface.SizeInput) protoiface.SizeOutput { + x := input.Message.Interface().(*GetInfererNetworkRegretResponse) + if x == nil { + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: 0, + } + } + options := runtime.SizeInputToOptions(input) + _ = options + var n int + var l int + _ = l + if x.Regret != nil { + l = options.Size(x.Regret) + n += 1 + l + runtime.Sov(uint64(l)) + } + if x.unknownFields != nil { + n += len(x.unknownFields) + } + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: n, + } + } + + marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { + x := input.Message.Interface().(*GetInfererNetworkRegretResponse) + if x == nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + options := runtime.MarshalInputToOptions(input) + _ = options + size := options.Size(x) + dAtA := make([]byte, size) + i := len(dAtA) + _ = i + var l int + _ = l + if x.unknownFields != nil { + i -= len(x.unknownFields) + copy(dAtA[i:], x.unknownFields) + } + if x.Regret != nil { + encoded, err := options.Marshal(x.Regret) + if err != nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = runtime.EncodeVarint(dAtA, i, uint64(len(encoded))) + i-- + dAtA[i] = 0xa + } + if input.Buf != nil { + input.Buf = append(input.Buf, dAtA...) + } else { + input.Buf = dAtA + } + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { + x := input.Message.Interface().(*GetInfererNetworkRegretResponse) + if x == nil { + return protoiface.UnmarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Flags: input.Flags, + }, nil + } + options := runtime.UnmarshalInputToOptions(input) + _ = options + dAtA := input.Buf + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: GetInfererNetworkRegretResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: GetInfererNetworkRegretResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Regret", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + if x.Regret == nil { + x.Regret = &v3.TimestampedValue{} + } + if err := options.Unmarshal(dAtA[iNdEx:postIndex], x.Regret); err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := runtime.Skip(dAtA[iNdEx:]) + if err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if (iNdEx + skippy) > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + if !options.DiscardUnknown { + x.unknownFields = append(x.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + } + iNdEx += skippy + } + } + + if iNdEx > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, nil + } + return &protoiface.Methods{ + NoUnkeyedLiterals: struct{}{}, + Flags: protoiface.SupportMarshalDeterministic | protoiface.SupportUnmarshalDiscardUnknown, + Size: size, + Marshal: marshal, + Unmarshal: unmarshal, + Merge: nil, + CheckInitialized: nil, + } +} + +var ( + md_GetForecasterNetworkRegretRequest protoreflect.MessageDescriptor + fd_GetForecasterNetworkRegretRequest_topic_id protoreflect.FieldDescriptor + fd_GetForecasterNetworkRegretRequest_worker protoreflect.FieldDescriptor +) + +func init() { + file_emissions_v8_query_proto_init() + md_GetForecasterNetworkRegretRequest = File_emissions_v8_query_proto.Messages().ByName("GetForecasterNetworkRegretRequest") + fd_GetForecasterNetworkRegretRequest_topic_id = md_GetForecasterNetworkRegretRequest.Fields().ByName("topic_id") + fd_GetForecasterNetworkRegretRequest_worker = md_GetForecasterNetworkRegretRequest.Fields().ByName("worker") +} + +var _ protoreflect.Message = (*fastReflection_GetForecasterNetworkRegretRequest)(nil) + +type fastReflection_GetForecasterNetworkRegretRequest GetForecasterNetworkRegretRequest + +func (x *GetForecasterNetworkRegretRequest) ProtoReflect() protoreflect.Message { + return (*fastReflection_GetForecasterNetworkRegretRequest)(x) +} + +func (x *GetForecasterNetworkRegretRequest) slowProtoReflect() protoreflect.Message { + mi := &file_emissions_v8_query_proto_msgTypes[100] + 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) +} + +var _fastReflection_GetForecasterNetworkRegretRequest_messageType fastReflection_GetForecasterNetworkRegretRequest_messageType +var _ protoreflect.MessageType = fastReflection_GetForecasterNetworkRegretRequest_messageType{} + +type fastReflection_GetForecasterNetworkRegretRequest_messageType struct{} + +func (x fastReflection_GetForecasterNetworkRegretRequest_messageType) Zero() protoreflect.Message { + return (*fastReflection_GetForecasterNetworkRegretRequest)(nil) +} +func (x fastReflection_GetForecasterNetworkRegretRequest_messageType) New() protoreflect.Message { + return new(fastReflection_GetForecasterNetworkRegretRequest) +} +func (x fastReflection_GetForecasterNetworkRegretRequest_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_GetForecasterNetworkRegretRequest +} + +// Descriptor returns message descriptor, which contains only the protobuf +// type information for the message. +func (x *fastReflection_GetForecasterNetworkRegretRequest) Descriptor() protoreflect.MessageDescriptor { + return md_GetForecasterNetworkRegretRequest +} + +// Type returns the message type, which encapsulates both Go and protobuf +// type information. If the Go type information is not needed, +// it is recommended that the message descriptor be used instead. +func (x *fastReflection_GetForecasterNetworkRegretRequest) Type() protoreflect.MessageType { + return _fastReflection_GetForecasterNetworkRegretRequest_messageType +} + +// New returns a newly allocated and mutable empty message. +func (x *fastReflection_GetForecasterNetworkRegretRequest) New() protoreflect.Message { + return new(fastReflection_GetForecasterNetworkRegretRequest) +} + +// Interface unwraps the message reflection interface and +// returns the underlying ProtoMessage interface. +func (x *fastReflection_GetForecasterNetworkRegretRequest) Interface() protoreflect.ProtoMessage { + return (*GetForecasterNetworkRegretRequest)(x) +} + +// Range iterates over every populated field in an undefined order, +// calling f for each field descriptor and value encountered. +// Range returns immediately if f returns false. +// While iterating, mutating operations may only be performed +// on the current field descriptor. +func (x *fastReflection_GetForecasterNetworkRegretRequest) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { + if x.TopicId != uint64(0) { + value := protoreflect.ValueOfUint64(x.TopicId) + if !f(fd_GetForecasterNetworkRegretRequest_topic_id, value) { + return + } + } + if x.Worker != "" { + value := protoreflect.ValueOfString(x.Worker) + if !f(fd_GetForecasterNetworkRegretRequest_worker, value) { + return + } + } +} + +// Has reports whether a field is populated. +// +// Some fields have the property of nullability where it is possible to +// distinguish between the default value of a field and whether the field +// was explicitly populated with the default value. Singular message fields, +// member fields of a oneof, and proto2 scalar fields are nullable. Such +// fields are populated only if explicitly set. +// +// In other cases (aside from the nullable cases above), +// a proto3 scalar field is populated if it contains a non-zero value, and +// a repeated field is populated if it is non-empty. +func (x *fastReflection_GetForecasterNetworkRegretRequest) Has(fd protoreflect.FieldDescriptor) bool { + switch fd.FullName() { + case "emissions.v8.GetForecasterNetworkRegretRequest.topic_id": + return x.TopicId != uint64(0) + case "emissions.v8.GetForecasterNetworkRegretRequest.worker": + return x.Worker != "" + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetForecasterNetworkRegretRequest")) + } + panic(fmt.Errorf("message emissions.v8.GetForecasterNetworkRegretRequest does not contain field %s", fd.FullName())) + } +} + +// Clear clears the field such that a subsequent Has call reports false. +// +// Clearing an extension field clears both the extension type and value +// associated with the given field number. +// +// Clear is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetForecasterNetworkRegretRequest) Clear(fd protoreflect.FieldDescriptor) { + switch fd.FullName() { + case "emissions.v8.GetForecasterNetworkRegretRequest.topic_id": + x.TopicId = uint64(0) + case "emissions.v8.GetForecasterNetworkRegretRequest.worker": + x.Worker = "" + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetForecasterNetworkRegretRequest")) + } + panic(fmt.Errorf("message emissions.v8.GetForecasterNetworkRegretRequest does not contain field %s", fd.FullName())) + } +} + +// Get retrieves the value for a field. +// +// For unpopulated scalars, it returns the default value, where +// the default value of a bytes scalar is guaranteed to be a copy. +// For unpopulated composite types, it returns an empty, read-only view +// of the value; to obtain a mutable reference, use Mutable. +func (x *fastReflection_GetForecasterNetworkRegretRequest) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { + switch descriptor.FullName() { + case "emissions.v8.GetForecasterNetworkRegretRequest.topic_id": + value := x.TopicId + return protoreflect.ValueOfUint64(value) + case "emissions.v8.GetForecasterNetworkRegretRequest.worker": + value := x.Worker + return protoreflect.ValueOfString(value) + default: + if descriptor.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetForecasterNetworkRegretRequest")) + } + panic(fmt.Errorf("message emissions.v8.GetForecasterNetworkRegretRequest does not contain field %s", descriptor.FullName())) + } +} + +// Set stores the value for a field. +// +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType. +// When setting a composite type, it is unspecified whether the stored value +// aliases the source's memory in any way. If the composite value is an +// empty, read-only value, then it panics. +// +// Set is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetForecasterNetworkRegretRequest) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { + switch fd.FullName() { + case "emissions.v8.GetForecasterNetworkRegretRequest.topic_id": + x.TopicId = value.Uint() + case "emissions.v8.GetForecasterNetworkRegretRequest.worker": + x.Worker = value.Interface().(string) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetForecasterNetworkRegretRequest")) + } + panic(fmt.Errorf("message emissions.v8.GetForecasterNetworkRegretRequest does not contain field %s", fd.FullName())) + } +} + +// Mutable returns a mutable reference to a composite type. +// +// If the field is unpopulated, it may allocate a composite value. +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType +// if not already stored. +// It panics if the field does not contain a composite type. +// +// Mutable is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetForecasterNetworkRegretRequest) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.GetForecasterNetworkRegretRequest.topic_id": + panic(fmt.Errorf("field topic_id of message emissions.v8.GetForecasterNetworkRegretRequest is not mutable")) + case "emissions.v8.GetForecasterNetworkRegretRequest.worker": + panic(fmt.Errorf("field worker of message emissions.v8.GetForecasterNetworkRegretRequest is not mutable")) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetForecasterNetworkRegretRequest")) + } + panic(fmt.Errorf("message emissions.v8.GetForecasterNetworkRegretRequest does not contain field %s", fd.FullName())) + } +} + +// NewField returns a new value that is assignable to the field +// for the given descriptor. For scalars, this returns the default value. +// For lists, maps, and messages, this returns a new, empty, mutable value. +func (x *fastReflection_GetForecasterNetworkRegretRequest) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.GetForecasterNetworkRegretRequest.topic_id": + return protoreflect.ValueOfUint64(uint64(0)) + case "emissions.v8.GetForecasterNetworkRegretRequest.worker": + return protoreflect.ValueOfString("") + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetForecasterNetworkRegretRequest")) + } + panic(fmt.Errorf("message emissions.v8.GetForecasterNetworkRegretRequest does not contain field %s", fd.FullName())) + } +} + +// WhichOneof reports which field within the oneof is populated, +// returning nil if none are populated. +// It panics if the oneof descriptor does not belong to this message. +func (x *fastReflection_GetForecasterNetworkRegretRequest) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { + switch d.FullName() { + default: + panic(fmt.Errorf("%s is not a oneof field in emissions.v8.GetForecasterNetworkRegretRequest", d.FullName())) + } + panic("unreachable") +} + +// GetUnknown retrieves the entire list of unknown fields. +// The caller may only mutate the contents of the RawFields +// if the mutated bytes are stored back into the message with SetUnknown. +func (x *fastReflection_GetForecasterNetworkRegretRequest) GetUnknown() protoreflect.RawFields { + return x.unknownFields +} + +// SetUnknown stores an entire list of unknown fields. +// The raw fields must be syntactically valid according to the wire format. +// An implementation may panic if this is not the case. +// Once stored, the caller must not mutate the content of the RawFields. +// An empty RawFields may be passed to clear the fields. +// +// SetUnknown is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetForecasterNetworkRegretRequest) SetUnknown(fields protoreflect.RawFields) { + x.unknownFields = fields +} + +// IsValid reports whether the message is valid. +// +// An invalid message is an empty, read-only value. +// +// An invalid message often corresponds to a nil pointer of the concrete +// message type, but the details are implementation dependent. +// Validity is not part of the protobuf data model, and may not +// be preserved in marshaling or other operations. +func (x *fastReflection_GetForecasterNetworkRegretRequest) IsValid() bool { + return x != nil +} + +// ProtoMethods returns optional fastReflectionFeature-path implementations of various operations. +// This method may return nil. +// +// The returned methods type is identical to +// "google.golang.org/protobuf/runtime/protoiface".Methods. +// Consult the protoiface package documentation for details. +func (x *fastReflection_GetForecasterNetworkRegretRequest) ProtoMethods() *protoiface.Methods { + size := func(input protoiface.SizeInput) protoiface.SizeOutput { + x := input.Message.Interface().(*GetForecasterNetworkRegretRequest) + if x == nil { + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: 0, + } + } + options := runtime.SizeInputToOptions(input) + _ = options + var n int + var l int + _ = l + if x.TopicId != 0 { + n += 1 + runtime.Sov(uint64(x.TopicId)) + } + l = len(x.Worker) + if l > 0 { + n += 1 + l + runtime.Sov(uint64(l)) + } + if x.unknownFields != nil { + n += len(x.unknownFields) + } + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: n, + } + } + + marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { + x := input.Message.Interface().(*GetForecasterNetworkRegretRequest) + if x == nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + options := runtime.MarshalInputToOptions(input) + _ = options + size := options.Size(x) + dAtA := make([]byte, size) + i := len(dAtA) + _ = i + var l int + _ = l + if x.unknownFields != nil { + i -= len(x.unknownFields) + copy(dAtA[i:], x.unknownFields) + } + if len(x.Worker) > 0 { + i -= len(x.Worker) + copy(dAtA[i:], x.Worker) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.Worker))) + i-- + dAtA[i] = 0x12 + } + if x.TopicId != 0 { + i = runtime.EncodeVarint(dAtA, i, uint64(x.TopicId)) + i-- + dAtA[i] = 0x8 + } + if input.Buf != nil { + input.Buf = append(input.Buf, dAtA...) + } else { + input.Buf = dAtA + } + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { + x := input.Message.Interface().(*GetForecasterNetworkRegretRequest) + if x == nil { + return protoiface.UnmarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Flags: input.Flags, + }, nil + } + options := runtime.UnmarshalInputToOptions(input) + _ = options + dAtA := input.Buf + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: GetForecasterNetworkRegretRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: GetForecasterNetworkRegretRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field TopicId", wireType) + } + x.TopicId = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + x.TopicId |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 2: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Worker", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + x.Worker = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := runtime.Skip(dAtA[iNdEx:]) + if err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if (iNdEx + skippy) > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + if !options.DiscardUnknown { + x.unknownFields = append(x.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + } + iNdEx += skippy + } + } + + if iNdEx > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, nil + } + return &protoiface.Methods{ + NoUnkeyedLiterals: struct{}{}, + Flags: protoiface.SupportMarshalDeterministic | protoiface.SupportUnmarshalDiscardUnknown, + Size: size, + Marshal: marshal, + Unmarshal: unmarshal, + Merge: nil, + CheckInitialized: nil, + } +} + +var ( + md_GetForecasterNetworkRegretResponse protoreflect.MessageDescriptor + fd_GetForecasterNetworkRegretResponse_regret protoreflect.FieldDescriptor +) + +func init() { + file_emissions_v8_query_proto_init() + md_GetForecasterNetworkRegretResponse = File_emissions_v8_query_proto.Messages().ByName("GetForecasterNetworkRegretResponse") + fd_GetForecasterNetworkRegretResponse_regret = md_GetForecasterNetworkRegretResponse.Fields().ByName("regret") +} + +var _ protoreflect.Message = (*fastReflection_GetForecasterNetworkRegretResponse)(nil) + +type fastReflection_GetForecasterNetworkRegretResponse GetForecasterNetworkRegretResponse + +func (x *GetForecasterNetworkRegretResponse) ProtoReflect() protoreflect.Message { + return (*fastReflection_GetForecasterNetworkRegretResponse)(x) +} + +func (x *GetForecasterNetworkRegretResponse) slowProtoReflect() protoreflect.Message { + mi := &file_emissions_v8_query_proto_msgTypes[101] + 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) +} + +var _fastReflection_GetForecasterNetworkRegretResponse_messageType fastReflection_GetForecasterNetworkRegretResponse_messageType +var _ protoreflect.MessageType = fastReflection_GetForecasterNetworkRegretResponse_messageType{} + +type fastReflection_GetForecasterNetworkRegretResponse_messageType struct{} + +func (x fastReflection_GetForecasterNetworkRegretResponse_messageType) Zero() protoreflect.Message { + return (*fastReflection_GetForecasterNetworkRegretResponse)(nil) +} +func (x fastReflection_GetForecasterNetworkRegretResponse_messageType) New() protoreflect.Message { + return new(fastReflection_GetForecasterNetworkRegretResponse) +} +func (x fastReflection_GetForecasterNetworkRegretResponse_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_GetForecasterNetworkRegretResponse +} + +// Descriptor returns message descriptor, which contains only the protobuf +// type information for the message. +func (x *fastReflection_GetForecasterNetworkRegretResponse) Descriptor() protoreflect.MessageDescriptor { + return md_GetForecasterNetworkRegretResponse +} + +// Type returns the message type, which encapsulates both Go and protobuf +// type information. If the Go type information is not needed, +// it is recommended that the message descriptor be used instead. +func (x *fastReflection_GetForecasterNetworkRegretResponse) Type() protoreflect.MessageType { + return _fastReflection_GetForecasterNetworkRegretResponse_messageType +} + +// New returns a newly allocated and mutable empty message. +func (x *fastReflection_GetForecasterNetworkRegretResponse) New() protoreflect.Message { + return new(fastReflection_GetForecasterNetworkRegretResponse) +} + +// Interface unwraps the message reflection interface and +// returns the underlying ProtoMessage interface. +func (x *fastReflection_GetForecasterNetworkRegretResponse) Interface() protoreflect.ProtoMessage { + return (*GetForecasterNetworkRegretResponse)(x) +} + +// Range iterates over every populated field in an undefined order, +// calling f for each field descriptor and value encountered. +// Range returns immediately if f returns false. +// While iterating, mutating operations may only be performed +// on the current field descriptor. +func (x *fastReflection_GetForecasterNetworkRegretResponse) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { + if x.Regret != nil { + value := protoreflect.ValueOfMessage(x.Regret.ProtoReflect()) + if !f(fd_GetForecasterNetworkRegretResponse_regret, value) { + return + } + } +} + +// Has reports whether a field is populated. +// +// Some fields have the property of nullability where it is possible to +// distinguish between the default value of a field and whether the field +// was explicitly populated with the default value. Singular message fields, +// member fields of a oneof, and proto2 scalar fields are nullable. Such +// fields are populated only if explicitly set. +// +// In other cases (aside from the nullable cases above), +// a proto3 scalar field is populated if it contains a non-zero value, and +// a repeated field is populated if it is non-empty. +func (x *fastReflection_GetForecasterNetworkRegretResponse) Has(fd protoreflect.FieldDescriptor) bool { + switch fd.FullName() { + case "emissions.v8.GetForecasterNetworkRegretResponse.regret": + return x.Regret != nil + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetForecasterNetworkRegretResponse")) + } + panic(fmt.Errorf("message emissions.v8.GetForecasterNetworkRegretResponse does not contain field %s", fd.FullName())) + } +} + +// Clear clears the field such that a subsequent Has call reports false. +// +// Clearing an extension field clears both the extension type and value +// associated with the given field number. +// +// Clear is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetForecasterNetworkRegretResponse) Clear(fd protoreflect.FieldDescriptor) { + switch fd.FullName() { + case "emissions.v8.GetForecasterNetworkRegretResponse.regret": + x.Regret = nil + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetForecasterNetworkRegretResponse")) + } + panic(fmt.Errorf("message emissions.v8.GetForecasterNetworkRegretResponse does not contain field %s", fd.FullName())) + } +} + +// Get retrieves the value for a field. +// +// For unpopulated scalars, it returns the default value, where +// the default value of a bytes scalar is guaranteed to be a copy. +// For unpopulated composite types, it returns an empty, read-only view +// of the value; to obtain a mutable reference, use Mutable. +func (x *fastReflection_GetForecasterNetworkRegretResponse) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { + switch descriptor.FullName() { + case "emissions.v8.GetForecasterNetworkRegretResponse.regret": + value := x.Regret + return protoreflect.ValueOfMessage(value.ProtoReflect()) + default: + if descriptor.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetForecasterNetworkRegretResponse")) + } + panic(fmt.Errorf("message emissions.v8.GetForecasterNetworkRegretResponse does not contain field %s", descriptor.FullName())) + } +} + +// Set stores the value for a field. +// +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType. +// When setting a composite type, it is unspecified whether the stored value +// aliases the source's memory in any way. If the composite value is an +// empty, read-only value, then it panics. +// +// Set is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetForecasterNetworkRegretResponse) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { + switch fd.FullName() { + case "emissions.v8.GetForecasterNetworkRegretResponse.regret": + x.Regret = value.Message().Interface().(*v3.TimestampedValue) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetForecasterNetworkRegretResponse")) + } + panic(fmt.Errorf("message emissions.v8.GetForecasterNetworkRegretResponse does not contain field %s", fd.FullName())) + } +} + +// Mutable returns a mutable reference to a composite type. +// +// If the field is unpopulated, it may allocate a composite value. +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType +// if not already stored. +// It panics if the field does not contain a composite type. +// +// Mutable is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetForecasterNetworkRegretResponse) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.GetForecasterNetworkRegretResponse.regret": + if x.Regret == nil { + x.Regret = new(v3.TimestampedValue) + } + return protoreflect.ValueOfMessage(x.Regret.ProtoReflect()) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetForecasterNetworkRegretResponse")) + } + panic(fmt.Errorf("message emissions.v8.GetForecasterNetworkRegretResponse does not contain field %s", fd.FullName())) + } +} + +// NewField returns a new value that is assignable to the field +// for the given descriptor. For scalars, this returns the default value. +// For lists, maps, and messages, this returns a new, empty, mutable value. +func (x *fastReflection_GetForecasterNetworkRegretResponse) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.GetForecasterNetworkRegretResponse.regret": + m := new(v3.TimestampedValue) + return protoreflect.ValueOfMessage(m.ProtoReflect()) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetForecasterNetworkRegretResponse")) + } + panic(fmt.Errorf("message emissions.v8.GetForecasterNetworkRegretResponse does not contain field %s", fd.FullName())) + } +} + +// WhichOneof reports which field within the oneof is populated, +// returning nil if none are populated. +// It panics if the oneof descriptor does not belong to this message. +func (x *fastReflection_GetForecasterNetworkRegretResponse) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { + switch d.FullName() { + default: + panic(fmt.Errorf("%s is not a oneof field in emissions.v8.GetForecasterNetworkRegretResponse", d.FullName())) + } + panic("unreachable") +} + +// GetUnknown retrieves the entire list of unknown fields. +// The caller may only mutate the contents of the RawFields +// if the mutated bytes are stored back into the message with SetUnknown. +func (x *fastReflection_GetForecasterNetworkRegretResponse) GetUnknown() protoreflect.RawFields { + return x.unknownFields +} + +// SetUnknown stores an entire list of unknown fields. +// The raw fields must be syntactically valid according to the wire format. +// An implementation may panic if this is not the case. +// Once stored, the caller must not mutate the content of the RawFields. +// An empty RawFields may be passed to clear the fields. +// +// SetUnknown is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetForecasterNetworkRegretResponse) SetUnknown(fields protoreflect.RawFields) { + x.unknownFields = fields +} + +// IsValid reports whether the message is valid. +// +// An invalid message is an empty, read-only value. +// +// An invalid message often corresponds to a nil pointer of the concrete +// message type, but the details are implementation dependent. +// Validity is not part of the protobuf data model, and may not +// be preserved in marshaling or other operations. +func (x *fastReflection_GetForecasterNetworkRegretResponse) IsValid() bool { + return x != nil +} + +// ProtoMethods returns optional fastReflectionFeature-path implementations of various operations. +// This method may return nil. +// +// The returned methods type is identical to +// "google.golang.org/protobuf/runtime/protoiface".Methods. +// Consult the protoiface package documentation for details. +func (x *fastReflection_GetForecasterNetworkRegretResponse) ProtoMethods() *protoiface.Methods { + size := func(input protoiface.SizeInput) protoiface.SizeOutput { + x := input.Message.Interface().(*GetForecasterNetworkRegretResponse) + if x == nil { + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: 0, + } + } + options := runtime.SizeInputToOptions(input) + _ = options + var n int + var l int + _ = l + if x.Regret != nil { + l = options.Size(x.Regret) + n += 1 + l + runtime.Sov(uint64(l)) + } + if x.unknownFields != nil { + n += len(x.unknownFields) + } + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: n, + } + } + + marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { + x := input.Message.Interface().(*GetForecasterNetworkRegretResponse) + if x == nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + options := runtime.MarshalInputToOptions(input) + _ = options + size := options.Size(x) + dAtA := make([]byte, size) + i := len(dAtA) + _ = i + var l int + _ = l + if x.unknownFields != nil { + i -= len(x.unknownFields) + copy(dAtA[i:], x.unknownFields) + } + if x.Regret != nil { + encoded, err := options.Marshal(x.Regret) + if err != nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = runtime.EncodeVarint(dAtA, i, uint64(len(encoded))) + i-- + dAtA[i] = 0xa + } + if input.Buf != nil { + input.Buf = append(input.Buf, dAtA...) + } else { + input.Buf = dAtA + } + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { + x := input.Message.Interface().(*GetForecasterNetworkRegretResponse) + if x == nil { + return protoiface.UnmarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Flags: input.Flags, + }, nil + } + options := runtime.UnmarshalInputToOptions(input) + _ = options + dAtA := input.Buf + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: GetForecasterNetworkRegretResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: GetForecasterNetworkRegretResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Regret", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + if x.Regret == nil { + x.Regret = &v3.TimestampedValue{} + } + if err := options.Unmarshal(dAtA[iNdEx:postIndex], x.Regret); err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := runtime.Skip(dAtA[iNdEx:]) + if err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if (iNdEx + skippy) > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + if !options.DiscardUnknown { + x.unknownFields = append(x.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + } + iNdEx += skippy + } + } + + if iNdEx > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, nil + } + return &protoiface.Methods{ + NoUnkeyedLiterals: struct{}{}, + Flags: protoiface.SupportMarshalDeterministic | protoiface.SupportUnmarshalDiscardUnknown, + Size: size, + Marshal: marshal, + Unmarshal: unmarshal, + Merge: nil, + CheckInitialized: nil, + } +} + +var ( + md_GetOneInForecasterNetworkRegretRequest protoreflect.MessageDescriptor + fd_GetOneInForecasterNetworkRegretRequest_topic_id protoreflect.FieldDescriptor + fd_GetOneInForecasterNetworkRegretRequest_forecaster protoreflect.FieldDescriptor + fd_GetOneInForecasterNetworkRegretRequest_inferer protoreflect.FieldDescriptor +) + +func init() { + file_emissions_v8_query_proto_init() + md_GetOneInForecasterNetworkRegretRequest = File_emissions_v8_query_proto.Messages().ByName("GetOneInForecasterNetworkRegretRequest") + fd_GetOneInForecasterNetworkRegretRequest_topic_id = md_GetOneInForecasterNetworkRegretRequest.Fields().ByName("topic_id") + fd_GetOneInForecasterNetworkRegretRequest_forecaster = md_GetOneInForecasterNetworkRegretRequest.Fields().ByName("forecaster") + fd_GetOneInForecasterNetworkRegretRequest_inferer = md_GetOneInForecasterNetworkRegretRequest.Fields().ByName("inferer") +} + +var _ protoreflect.Message = (*fastReflection_GetOneInForecasterNetworkRegretRequest)(nil) + +type fastReflection_GetOneInForecasterNetworkRegretRequest GetOneInForecasterNetworkRegretRequest + +func (x *GetOneInForecasterNetworkRegretRequest) ProtoReflect() protoreflect.Message { + return (*fastReflection_GetOneInForecasterNetworkRegretRequest)(x) +} + +func (x *GetOneInForecasterNetworkRegretRequest) slowProtoReflect() protoreflect.Message { + mi := &file_emissions_v8_query_proto_msgTypes[102] + 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) +} + +var _fastReflection_GetOneInForecasterNetworkRegretRequest_messageType fastReflection_GetOneInForecasterNetworkRegretRequest_messageType +var _ protoreflect.MessageType = fastReflection_GetOneInForecasterNetworkRegretRequest_messageType{} + +type fastReflection_GetOneInForecasterNetworkRegretRequest_messageType struct{} + +func (x fastReflection_GetOneInForecasterNetworkRegretRequest_messageType) Zero() protoreflect.Message { + return (*fastReflection_GetOneInForecasterNetworkRegretRequest)(nil) +} +func (x fastReflection_GetOneInForecasterNetworkRegretRequest_messageType) New() protoreflect.Message { + return new(fastReflection_GetOneInForecasterNetworkRegretRequest) +} +func (x fastReflection_GetOneInForecasterNetworkRegretRequest_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_GetOneInForecasterNetworkRegretRequest +} + +// Descriptor returns message descriptor, which contains only the protobuf +// type information for the message. +func (x *fastReflection_GetOneInForecasterNetworkRegretRequest) Descriptor() protoreflect.MessageDescriptor { + return md_GetOneInForecasterNetworkRegretRequest +} + +// Type returns the message type, which encapsulates both Go and protobuf +// type information. If the Go type information is not needed, +// it is recommended that the message descriptor be used instead. +func (x *fastReflection_GetOneInForecasterNetworkRegretRequest) Type() protoreflect.MessageType { + return _fastReflection_GetOneInForecasterNetworkRegretRequest_messageType +} + +// New returns a newly allocated and mutable empty message. +func (x *fastReflection_GetOneInForecasterNetworkRegretRequest) New() protoreflect.Message { + return new(fastReflection_GetOneInForecasterNetworkRegretRequest) +} + +// Interface unwraps the message reflection interface and +// returns the underlying ProtoMessage interface. +func (x *fastReflection_GetOneInForecasterNetworkRegretRequest) Interface() protoreflect.ProtoMessage { + return (*GetOneInForecasterNetworkRegretRequest)(x) +} + +// Range iterates over every populated field in an undefined order, +// calling f for each field descriptor and value encountered. +// Range returns immediately if f returns false. +// While iterating, mutating operations may only be performed +// on the current field descriptor. +func (x *fastReflection_GetOneInForecasterNetworkRegretRequest) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { + if x.TopicId != uint64(0) { + value := protoreflect.ValueOfUint64(x.TopicId) + if !f(fd_GetOneInForecasterNetworkRegretRequest_topic_id, value) { + return + } + } + if x.Forecaster != "" { + value := protoreflect.ValueOfString(x.Forecaster) + if !f(fd_GetOneInForecasterNetworkRegretRequest_forecaster, value) { + return + } + } + if x.Inferer != "" { + value := protoreflect.ValueOfString(x.Inferer) + if !f(fd_GetOneInForecasterNetworkRegretRequest_inferer, value) { + return + } + } +} + +// Has reports whether a field is populated. +// +// Some fields have the property of nullability where it is possible to +// distinguish between the default value of a field and whether the field +// was explicitly populated with the default value. Singular message fields, +// member fields of a oneof, and proto2 scalar fields are nullable. Such +// fields are populated only if explicitly set. +// +// In other cases (aside from the nullable cases above), +// a proto3 scalar field is populated if it contains a non-zero value, and +// a repeated field is populated if it is non-empty. +func (x *fastReflection_GetOneInForecasterNetworkRegretRequest) Has(fd protoreflect.FieldDescriptor) bool { + switch fd.FullName() { + case "emissions.v8.GetOneInForecasterNetworkRegretRequest.topic_id": + return x.TopicId != uint64(0) + case "emissions.v8.GetOneInForecasterNetworkRegretRequest.forecaster": + return x.Forecaster != "" + case "emissions.v8.GetOneInForecasterNetworkRegretRequest.inferer": + return x.Inferer != "" + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetOneInForecasterNetworkRegretRequest")) + } + panic(fmt.Errorf("message emissions.v8.GetOneInForecasterNetworkRegretRequest does not contain field %s", fd.FullName())) + } +} + +// Clear clears the field such that a subsequent Has call reports false. +// +// Clearing an extension field clears both the extension type and value +// associated with the given field number. +// +// Clear is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetOneInForecasterNetworkRegretRequest) Clear(fd protoreflect.FieldDescriptor) { + switch fd.FullName() { + case "emissions.v8.GetOneInForecasterNetworkRegretRequest.topic_id": + x.TopicId = uint64(0) + case "emissions.v8.GetOneInForecasterNetworkRegretRequest.forecaster": + x.Forecaster = "" + case "emissions.v8.GetOneInForecasterNetworkRegretRequest.inferer": + x.Inferer = "" + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetOneInForecasterNetworkRegretRequest")) + } + panic(fmt.Errorf("message emissions.v8.GetOneInForecasterNetworkRegretRequest does not contain field %s", fd.FullName())) + } +} + +// Get retrieves the value for a field. +// +// For unpopulated scalars, it returns the default value, where +// the default value of a bytes scalar is guaranteed to be a copy. +// For unpopulated composite types, it returns an empty, read-only view +// of the value; to obtain a mutable reference, use Mutable. +func (x *fastReflection_GetOneInForecasterNetworkRegretRequest) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { + switch descriptor.FullName() { + case "emissions.v8.GetOneInForecasterNetworkRegretRequest.topic_id": + value := x.TopicId + return protoreflect.ValueOfUint64(value) + case "emissions.v8.GetOneInForecasterNetworkRegretRequest.forecaster": + value := x.Forecaster + return protoreflect.ValueOfString(value) + case "emissions.v8.GetOneInForecasterNetworkRegretRequest.inferer": + value := x.Inferer + return protoreflect.ValueOfString(value) + default: + if descriptor.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetOneInForecasterNetworkRegretRequest")) + } + panic(fmt.Errorf("message emissions.v8.GetOneInForecasterNetworkRegretRequest does not contain field %s", descriptor.FullName())) + } +} + +// Set stores the value for a field. +// +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType. +// When setting a composite type, it is unspecified whether the stored value +// aliases the source's memory in any way. If the composite value is an +// empty, read-only value, then it panics. +// +// Set is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetOneInForecasterNetworkRegretRequest) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { + switch fd.FullName() { + case "emissions.v8.GetOneInForecasterNetworkRegretRequest.topic_id": + x.TopicId = value.Uint() + case "emissions.v8.GetOneInForecasterNetworkRegretRequest.forecaster": + x.Forecaster = value.Interface().(string) + case "emissions.v8.GetOneInForecasterNetworkRegretRequest.inferer": + x.Inferer = value.Interface().(string) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetOneInForecasterNetworkRegretRequest")) + } + panic(fmt.Errorf("message emissions.v8.GetOneInForecasterNetworkRegretRequest does not contain field %s", fd.FullName())) + } +} + +// Mutable returns a mutable reference to a composite type. +// +// If the field is unpopulated, it may allocate a composite value. +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType +// if not already stored. +// It panics if the field does not contain a composite type. +// +// Mutable is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetOneInForecasterNetworkRegretRequest) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.GetOneInForecasterNetworkRegretRequest.topic_id": + panic(fmt.Errorf("field topic_id of message emissions.v8.GetOneInForecasterNetworkRegretRequest is not mutable")) + case "emissions.v8.GetOneInForecasterNetworkRegretRequest.forecaster": + panic(fmt.Errorf("field forecaster of message emissions.v8.GetOneInForecasterNetworkRegretRequest is not mutable")) + case "emissions.v8.GetOneInForecasterNetworkRegretRequest.inferer": + panic(fmt.Errorf("field inferer of message emissions.v8.GetOneInForecasterNetworkRegretRequest is not mutable")) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetOneInForecasterNetworkRegretRequest")) + } + panic(fmt.Errorf("message emissions.v8.GetOneInForecasterNetworkRegretRequest does not contain field %s", fd.FullName())) + } +} + +// NewField returns a new value that is assignable to the field +// for the given descriptor. For scalars, this returns the default value. +// For lists, maps, and messages, this returns a new, empty, mutable value. +func (x *fastReflection_GetOneInForecasterNetworkRegretRequest) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.GetOneInForecasterNetworkRegretRequest.topic_id": + return protoreflect.ValueOfUint64(uint64(0)) + case "emissions.v8.GetOneInForecasterNetworkRegretRequest.forecaster": + return protoreflect.ValueOfString("") + case "emissions.v8.GetOneInForecasterNetworkRegretRequest.inferer": + return protoreflect.ValueOfString("") + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetOneInForecasterNetworkRegretRequest")) + } + panic(fmt.Errorf("message emissions.v8.GetOneInForecasterNetworkRegretRequest does not contain field %s", fd.FullName())) + } +} + +// WhichOneof reports which field within the oneof is populated, +// returning nil if none are populated. +// It panics if the oneof descriptor does not belong to this message. +func (x *fastReflection_GetOneInForecasterNetworkRegretRequest) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { + switch d.FullName() { + default: + panic(fmt.Errorf("%s is not a oneof field in emissions.v8.GetOneInForecasterNetworkRegretRequest", d.FullName())) + } + panic("unreachable") +} + +// GetUnknown retrieves the entire list of unknown fields. +// The caller may only mutate the contents of the RawFields +// if the mutated bytes are stored back into the message with SetUnknown. +func (x *fastReflection_GetOneInForecasterNetworkRegretRequest) GetUnknown() protoreflect.RawFields { + return x.unknownFields +} + +// SetUnknown stores an entire list of unknown fields. +// The raw fields must be syntactically valid according to the wire format. +// An implementation may panic if this is not the case. +// Once stored, the caller must not mutate the content of the RawFields. +// An empty RawFields may be passed to clear the fields. +// +// SetUnknown is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetOneInForecasterNetworkRegretRequest) SetUnknown(fields protoreflect.RawFields) { + x.unknownFields = fields +} + +// IsValid reports whether the message is valid. +// +// An invalid message is an empty, read-only value. +// +// An invalid message often corresponds to a nil pointer of the concrete +// message type, but the details are implementation dependent. +// Validity is not part of the protobuf data model, and may not +// be preserved in marshaling or other operations. +func (x *fastReflection_GetOneInForecasterNetworkRegretRequest) IsValid() bool { + return x != nil +} + +// ProtoMethods returns optional fastReflectionFeature-path implementations of various operations. +// This method may return nil. +// +// The returned methods type is identical to +// "google.golang.org/protobuf/runtime/protoiface".Methods. +// Consult the protoiface package documentation for details. +func (x *fastReflection_GetOneInForecasterNetworkRegretRequest) ProtoMethods() *protoiface.Methods { + size := func(input protoiface.SizeInput) protoiface.SizeOutput { + x := input.Message.Interface().(*GetOneInForecasterNetworkRegretRequest) + if x == nil { + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: 0, + } + } + options := runtime.SizeInputToOptions(input) + _ = options + var n int + var l int + _ = l + if x.TopicId != 0 { + n += 1 + runtime.Sov(uint64(x.TopicId)) + } + l = len(x.Forecaster) + if l > 0 { + n += 1 + l + runtime.Sov(uint64(l)) + } + l = len(x.Inferer) + if l > 0 { + n += 1 + l + runtime.Sov(uint64(l)) + } + if x.unknownFields != nil { + n += len(x.unknownFields) + } + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: n, + } + } + + marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { + x := input.Message.Interface().(*GetOneInForecasterNetworkRegretRequest) + if x == nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + options := runtime.MarshalInputToOptions(input) + _ = options + size := options.Size(x) + dAtA := make([]byte, size) + i := len(dAtA) + _ = i + var l int + _ = l + if x.unknownFields != nil { + i -= len(x.unknownFields) + copy(dAtA[i:], x.unknownFields) + } + if len(x.Inferer) > 0 { + i -= len(x.Inferer) + copy(dAtA[i:], x.Inferer) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.Inferer))) + i-- + dAtA[i] = 0x1a + } + if len(x.Forecaster) > 0 { + i -= len(x.Forecaster) + copy(dAtA[i:], x.Forecaster) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.Forecaster))) + i-- + dAtA[i] = 0x12 + } + if x.TopicId != 0 { + i = runtime.EncodeVarint(dAtA, i, uint64(x.TopicId)) + i-- + dAtA[i] = 0x8 + } + if input.Buf != nil { + input.Buf = append(input.Buf, dAtA...) + } else { + input.Buf = dAtA + } + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { + x := input.Message.Interface().(*GetOneInForecasterNetworkRegretRequest) + if x == nil { + return protoiface.UnmarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Flags: input.Flags, + }, nil + } + options := runtime.UnmarshalInputToOptions(input) + _ = options + dAtA := input.Buf + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: GetOneInForecasterNetworkRegretRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: GetOneInForecasterNetworkRegretRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field TopicId", wireType) + } + x.TopicId = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + x.TopicId |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 2: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Forecaster", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + x.Forecaster = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 3: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Inferer", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + x.Inferer = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := runtime.Skip(dAtA[iNdEx:]) + if err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if (iNdEx + skippy) > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + if !options.DiscardUnknown { + x.unknownFields = append(x.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + } + iNdEx += skippy + } + } + + if iNdEx > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, nil + } + return &protoiface.Methods{ + NoUnkeyedLiterals: struct{}{}, + Flags: protoiface.SupportMarshalDeterministic | protoiface.SupportUnmarshalDiscardUnknown, + Size: size, + Marshal: marshal, + Unmarshal: unmarshal, + Merge: nil, + CheckInitialized: nil, + } +} + +var ( + md_GetOneInForecasterNetworkRegretResponse protoreflect.MessageDescriptor + fd_GetOneInForecasterNetworkRegretResponse_regret protoreflect.FieldDescriptor +) + +func init() { + file_emissions_v8_query_proto_init() + md_GetOneInForecasterNetworkRegretResponse = File_emissions_v8_query_proto.Messages().ByName("GetOneInForecasterNetworkRegretResponse") + fd_GetOneInForecasterNetworkRegretResponse_regret = md_GetOneInForecasterNetworkRegretResponse.Fields().ByName("regret") +} + +var _ protoreflect.Message = (*fastReflection_GetOneInForecasterNetworkRegretResponse)(nil) + +type fastReflection_GetOneInForecasterNetworkRegretResponse GetOneInForecasterNetworkRegretResponse + +func (x *GetOneInForecasterNetworkRegretResponse) ProtoReflect() protoreflect.Message { + return (*fastReflection_GetOneInForecasterNetworkRegretResponse)(x) +} + +func (x *GetOneInForecasterNetworkRegretResponse) slowProtoReflect() protoreflect.Message { + mi := &file_emissions_v8_query_proto_msgTypes[103] + 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) +} + +var _fastReflection_GetOneInForecasterNetworkRegretResponse_messageType fastReflection_GetOneInForecasterNetworkRegretResponse_messageType +var _ protoreflect.MessageType = fastReflection_GetOneInForecasterNetworkRegretResponse_messageType{} + +type fastReflection_GetOneInForecasterNetworkRegretResponse_messageType struct{} + +func (x fastReflection_GetOneInForecasterNetworkRegretResponse_messageType) Zero() protoreflect.Message { + return (*fastReflection_GetOneInForecasterNetworkRegretResponse)(nil) +} +func (x fastReflection_GetOneInForecasterNetworkRegretResponse_messageType) New() protoreflect.Message { + return new(fastReflection_GetOneInForecasterNetworkRegretResponse) +} +func (x fastReflection_GetOneInForecasterNetworkRegretResponse_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_GetOneInForecasterNetworkRegretResponse +} + +// Descriptor returns message descriptor, which contains only the protobuf +// type information for the message. +func (x *fastReflection_GetOneInForecasterNetworkRegretResponse) Descriptor() protoreflect.MessageDescriptor { + return md_GetOneInForecasterNetworkRegretResponse +} + +// Type returns the message type, which encapsulates both Go and protobuf +// type information. If the Go type information is not needed, +// it is recommended that the message descriptor be used instead. +func (x *fastReflection_GetOneInForecasterNetworkRegretResponse) Type() protoreflect.MessageType { + return _fastReflection_GetOneInForecasterNetworkRegretResponse_messageType +} + +// New returns a newly allocated and mutable empty message. +func (x *fastReflection_GetOneInForecasterNetworkRegretResponse) New() protoreflect.Message { + return new(fastReflection_GetOneInForecasterNetworkRegretResponse) +} + +// Interface unwraps the message reflection interface and +// returns the underlying ProtoMessage interface. +func (x *fastReflection_GetOneInForecasterNetworkRegretResponse) Interface() protoreflect.ProtoMessage { + return (*GetOneInForecasterNetworkRegretResponse)(x) +} + +// Range iterates over every populated field in an undefined order, +// calling f for each field descriptor and value encountered. +// Range returns immediately if f returns false. +// While iterating, mutating operations may only be performed +// on the current field descriptor. +func (x *fastReflection_GetOneInForecasterNetworkRegretResponse) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { + if x.Regret != nil { + value := protoreflect.ValueOfMessage(x.Regret.ProtoReflect()) + if !f(fd_GetOneInForecasterNetworkRegretResponse_regret, value) { + return + } + } +} + +// Has reports whether a field is populated. +// +// Some fields have the property of nullability where it is possible to +// distinguish between the default value of a field and whether the field +// was explicitly populated with the default value. Singular message fields, +// member fields of a oneof, and proto2 scalar fields are nullable. Such +// fields are populated only if explicitly set. +// +// In other cases (aside from the nullable cases above), +// a proto3 scalar field is populated if it contains a non-zero value, and +// a repeated field is populated if it is non-empty. +func (x *fastReflection_GetOneInForecasterNetworkRegretResponse) Has(fd protoreflect.FieldDescriptor) bool { + switch fd.FullName() { + case "emissions.v8.GetOneInForecasterNetworkRegretResponse.regret": + return x.Regret != nil + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetOneInForecasterNetworkRegretResponse")) + } + panic(fmt.Errorf("message emissions.v8.GetOneInForecasterNetworkRegretResponse does not contain field %s", fd.FullName())) + } +} + +// Clear clears the field such that a subsequent Has call reports false. +// +// Clearing an extension field clears both the extension type and value +// associated with the given field number. +// +// Clear is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetOneInForecasterNetworkRegretResponse) Clear(fd protoreflect.FieldDescriptor) { + switch fd.FullName() { + case "emissions.v8.GetOneInForecasterNetworkRegretResponse.regret": + x.Regret = nil + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetOneInForecasterNetworkRegretResponse")) + } + panic(fmt.Errorf("message emissions.v8.GetOneInForecasterNetworkRegretResponse does not contain field %s", fd.FullName())) + } +} + +// Get retrieves the value for a field. +// +// For unpopulated scalars, it returns the default value, where +// the default value of a bytes scalar is guaranteed to be a copy. +// For unpopulated composite types, it returns an empty, read-only view +// of the value; to obtain a mutable reference, use Mutable. +func (x *fastReflection_GetOneInForecasterNetworkRegretResponse) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { + switch descriptor.FullName() { + case "emissions.v8.GetOneInForecasterNetworkRegretResponse.regret": + value := x.Regret + return protoreflect.ValueOfMessage(value.ProtoReflect()) + default: + if descriptor.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetOneInForecasterNetworkRegretResponse")) + } + panic(fmt.Errorf("message emissions.v8.GetOneInForecasterNetworkRegretResponse does not contain field %s", descriptor.FullName())) + } +} + +// Set stores the value for a field. +// +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType. +// When setting a composite type, it is unspecified whether the stored value +// aliases the source's memory in any way. If the composite value is an +// empty, read-only value, then it panics. +// +// Set is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetOneInForecasterNetworkRegretResponse) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { + switch fd.FullName() { + case "emissions.v8.GetOneInForecasterNetworkRegretResponse.regret": + x.Regret = value.Message().Interface().(*v3.TimestampedValue) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetOneInForecasterNetworkRegretResponse")) + } + panic(fmt.Errorf("message emissions.v8.GetOneInForecasterNetworkRegretResponse does not contain field %s", fd.FullName())) + } +} + +// Mutable returns a mutable reference to a composite type. +// +// If the field is unpopulated, it may allocate a composite value. +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType +// if not already stored. +// It panics if the field does not contain a composite type. +// +// Mutable is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetOneInForecasterNetworkRegretResponse) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.GetOneInForecasterNetworkRegretResponse.regret": + if x.Regret == nil { + x.Regret = new(v3.TimestampedValue) + } + return protoreflect.ValueOfMessage(x.Regret.ProtoReflect()) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetOneInForecasterNetworkRegretResponse")) + } + panic(fmt.Errorf("message emissions.v8.GetOneInForecasterNetworkRegretResponse does not contain field %s", fd.FullName())) + } +} + +// NewField returns a new value that is assignable to the field +// for the given descriptor. For scalars, this returns the default value. +// For lists, maps, and messages, this returns a new, empty, mutable value. +func (x *fastReflection_GetOneInForecasterNetworkRegretResponse) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.GetOneInForecasterNetworkRegretResponse.regret": + m := new(v3.TimestampedValue) + return protoreflect.ValueOfMessage(m.ProtoReflect()) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetOneInForecasterNetworkRegretResponse")) + } + panic(fmt.Errorf("message emissions.v8.GetOneInForecasterNetworkRegretResponse does not contain field %s", fd.FullName())) + } +} + +// WhichOneof reports which field within the oneof is populated, +// returning nil if none are populated. +// It panics if the oneof descriptor does not belong to this message. +func (x *fastReflection_GetOneInForecasterNetworkRegretResponse) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { + switch d.FullName() { + default: + panic(fmt.Errorf("%s is not a oneof field in emissions.v8.GetOneInForecasterNetworkRegretResponse", d.FullName())) + } + panic("unreachable") +} + +// GetUnknown retrieves the entire list of unknown fields. +// The caller may only mutate the contents of the RawFields +// if the mutated bytes are stored back into the message with SetUnknown. +func (x *fastReflection_GetOneInForecasterNetworkRegretResponse) GetUnknown() protoreflect.RawFields { + return x.unknownFields +} + +// SetUnknown stores an entire list of unknown fields. +// The raw fields must be syntactically valid according to the wire format. +// An implementation may panic if this is not the case. +// Once stored, the caller must not mutate the content of the RawFields. +// An empty RawFields may be passed to clear the fields. +// +// SetUnknown is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetOneInForecasterNetworkRegretResponse) SetUnknown(fields protoreflect.RawFields) { + x.unknownFields = fields +} + +// IsValid reports whether the message is valid. +// +// An invalid message is an empty, read-only value. +// +// An invalid message often corresponds to a nil pointer of the concrete +// message type, but the details are implementation dependent. +// Validity is not part of the protobuf data model, and may not +// be preserved in marshaling or other operations. +func (x *fastReflection_GetOneInForecasterNetworkRegretResponse) IsValid() bool { + return x != nil +} + +// ProtoMethods returns optional fastReflectionFeature-path implementations of various operations. +// This method may return nil. +// +// The returned methods type is identical to +// "google.golang.org/protobuf/runtime/protoiface".Methods. +// Consult the protoiface package documentation for details. +func (x *fastReflection_GetOneInForecasterNetworkRegretResponse) ProtoMethods() *protoiface.Methods { + size := func(input protoiface.SizeInput) protoiface.SizeOutput { + x := input.Message.Interface().(*GetOneInForecasterNetworkRegretResponse) + if x == nil { + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: 0, + } + } + options := runtime.SizeInputToOptions(input) + _ = options + var n int + var l int + _ = l + if x.Regret != nil { + l = options.Size(x.Regret) + n += 1 + l + runtime.Sov(uint64(l)) + } + if x.unknownFields != nil { + n += len(x.unknownFields) + } + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: n, + } + } + + marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { + x := input.Message.Interface().(*GetOneInForecasterNetworkRegretResponse) + if x == nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + options := runtime.MarshalInputToOptions(input) + _ = options + size := options.Size(x) + dAtA := make([]byte, size) + i := len(dAtA) + _ = i + var l int + _ = l + if x.unknownFields != nil { + i -= len(x.unknownFields) + copy(dAtA[i:], x.unknownFields) + } + if x.Regret != nil { + encoded, err := options.Marshal(x.Regret) + if err != nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = runtime.EncodeVarint(dAtA, i, uint64(len(encoded))) + i-- + dAtA[i] = 0xa + } + if input.Buf != nil { + input.Buf = append(input.Buf, dAtA...) + } else { + input.Buf = dAtA + } + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { + x := input.Message.Interface().(*GetOneInForecasterNetworkRegretResponse) + if x == nil { + return protoiface.UnmarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Flags: input.Flags, + }, nil + } + options := runtime.UnmarshalInputToOptions(input) + _ = options + dAtA := input.Buf + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: GetOneInForecasterNetworkRegretResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: GetOneInForecasterNetworkRegretResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Regret", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + if x.Regret == nil { + x.Regret = &v3.TimestampedValue{} + } + if err := options.Unmarshal(dAtA[iNdEx:postIndex], x.Regret); err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := runtime.Skip(dAtA[iNdEx:]) + if err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if (iNdEx + skippy) > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + if !options.DiscardUnknown { + x.unknownFields = append(x.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + } + iNdEx += skippy + } + } + + if iNdEx > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, nil + } + return &protoiface.Methods{ + NoUnkeyedLiterals: struct{}{}, + Flags: protoiface.SupportMarshalDeterministic | protoiface.SupportUnmarshalDiscardUnknown, + Size: size, + Marshal: marshal, + Unmarshal: unmarshal, + Merge: nil, + CheckInitialized: nil, + } +} + +var ( + md_IsReputerNonceUnfulfilledRequest protoreflect.MessageDescriptor + fd_IsReputerNonceUnfulfilledRequest_topic_id protoreflect.FieldDescriptor + fd_IsReputerNonceUnfulfilledRequest_block_height protoreflect.FieldDescriptor +) + +func init() { + file_emissions_v8_query_proto_init() + md_IsReputerNonceUnfulfilledRequest = File_emissions_v8_query_proto.Messages().ByName("IsReputerNonceUnfulfilledRequest") + fd_IsReputerNonceUnfulfilledRequest_topic_id = md_IsReputerNonceUnfulfilledRequest.Fields().ByName("topic_id") + fd_IsReputerNonceUnfulfilledRequest_block_height = md_IsReputerNonceUnfulfilledRequest.Fields().ByName("block_height") +} + +var _ protoreflect.Message = (*fastReflection_IsReputerNonceUnfulfilledRequest)(nil) + +type fastReflection_IsReputerNonceUnfulfilledRequest IsReputerNonceUnfulfilledRequest + +func (x *IsReputerNonceUnfulfilledRequest) ProtoReflect() protoreflect.Message { + return (*fastReflection_IsReputerNonceUnfulfilledRequest)(x) +} + +func (x *IsReputerNonceUnfulfilledRequest) slowProtoReflect() protoreflect.Message { + mi := &file_emissions_v8_query_proto_msgTypes[104] + 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) +} + +var _fastReflection_IsReputerNonceUnfulfilledRequest_messageType fastReflection_IsReputerNonceUnfulfilledRequest_messageType +var _ protoreflect.MessageType = fastReflection_IsReputerNonceUnfulfilledRequest_messageType{} + +type fastReflection_IsReputerNonceUnfulfilledRequest_messageType struct{} + +func (x fastReflection_IsReputerNonceUnfulfilledRequest_messageType) Zero() protoreflect.Message { + return (*fastReflection_IsReputerNonceUnfulfilledRequest)(nil) +} +func (x fastReflection_IsReputerNonceUnfulfilledRequest_messageType) New() protoreflect.Message { + return new(fastReflection_IsReputerNonceUnfulfilledRequest) +} +func (x fastReflection_IsReputerNonceUnfulfilledRequest_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_IsReputerNonceUnfulfilledRequest +} + +// Descriptor returns message descriptor, which contains only the protobuf +// type information for the message. +func (x *fastReflection_IsReputerNonceUnfulfilledRequest) Descriptor() protoreflect.MessageDescriptor { + return md_IsReputerNonceUnfulfilledRequest +} + +// Type returns the message type, which encapsulates both Go and protobuf +// type information. If the Go type information is not needed, +// it is recommended that the message descriptor be used instead. +func (x *fastReflection_IsReputerNonceUnfulfilledRequest) Type() protoreflect.MessageType { + return _fastReflection_IsReputerNonceUnfulfilledRequest_messageType +} + +// New returns a newly allocated and mutable empty message. +func (x *fastReflection_IsReputerNonceUnfulfilledRequest) New() protoreflect.Message { + return new(fastReflection_IsReputerNonceUnfulfilledRequest) +} + +// Interface unwraps the message reflection interface and +// returns the underlying ProtoMessage interface. +func (x *fastReflection_IsReputerNonceUnfulfilledRequest) Interface() protoreflect.ProtoMessage { + return (*IsReputerNonceUnfulfilledRequest)(x) +} + +// Range iterates over every populated field in an undefined order, +// calling f for each field descriptor and value encountered. +// Range returns immediately if f returns false. +// While iterating, mutating operations may only be performed +// on the current field descriptor. +func (x *fastReflection_IsReputerNonceUnfulfilledRequest) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { + if x.TopicId != uint64(0) { + value := protoreflect.ValueOfUint64(x.TopicId) + if !f(fd_IsReputerNonceUnfulfilledRequest_topic_id, value) { + return + } + } + if x.BlockHeight != int64(0) { + value := protoreflect.ValueOfInt64(x.BlockHeight) + if !f(fd_IsReputerNonceUnfulfilledRequest_block_height, value) { + return + } + } +} + +// Has reports whether a field is populated. +// +// Some fields have the property of nullability where it is possible to +// distinguish between the default value of a field and whether the field +// was explicitly populated with the default value. Singular message fields, +// member fields of a oneof, and proto2 scalar fields are nullable. Such +// fields are populated only if explicitly set. +// +// In other cases (aside from the nullable cases above), +// a proto3 scalar field is populated if it contains a non-zero value, and +// a repeated field is populated if it is non-empty. +func (x *fastReflection_IsReputerNonceUnfulfilledRequest) Has(fd protoreflect.FieldDescriptor) bool { + switch fd.FullName() { + case "emissions.v8.IsReputerNonceUnfulfilledRequest.topic_id": + return x.TopicId != uint64(0) + case "emissions.v8.IsReputerNonceUnfulfilledRequest.block_height": + return x.BlockHeight != int64(0) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.IsReputerNonceUnfulfilledRequest")) + } + panic(fmt.Errorf("message emissions.v8.IsReputerNonceUnfulfilledRequest does not contain field %s", fd.FullName())) + } +} + +// Clear clears the field such that a subsequent Has call reports false. +// +// Clearing an extension field clears both the extension type and value +// associated with the given field number. +// +// Clear is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_IsReputerNonceUnfulfilledRequest) Clear(fd protoreflect.FieldDescriptor) { + switch fd.FullName() { + case "emissions.v8.IsReputerNonceUnfulfilledRequest.topic_id": + x.TopicId = uint64(0) + case "emissions.v8.IsReputerNonceUnfulfilledRequest.block_height": + x.BlockHeight = int64(0) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.IsReputerNonceUnfulfilledRequest")) + } + panic(fmt.Errorf("message emissions.v8.IsReputerNonceUnfulfilledRequest does not contain field %s", fd.FullName())) + } +} + +// Get retrieves the value for a field. +// +// For unpopulated scalars, it returns the default value, where +// the default value of a bytes scalar is guaranteed to be a copy. +// For unpopulated composite types, it returns an empty, read-only view +// of the value; to obtain a mutable reference, use Mutable. +func (x *fastReflection_IsReputerNonceUnfulfilledRequest) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { + switch descriptor.FullName() { + case "emissions.v8.IsReputerNonceUnfulfilledRequest.topic_id": + value := x.TopicId + return protoreflect.ValueOfUint64(value) + case "emissions.v8.IsReputerNonceUnfulfilledRequest.block_height": + value := x.BlockHeight + return protoreflect.ValueOfInt64(value) + default: + if descriptor.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.IsReputerNonceUnfulfilledRequest")) + } + panic(fmt.Errorf("message emissions.v8.IsReputerNonceUnfulfilledRequest does not contain field %s", descriptor.FullName())) + } +} + +// Set stores the value for a field. +// +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType. +// When setting a composite type, it is unspecified whether the stored value +// aliases the source's memory in any way. If the composite value is an +// empty, read-only value, then it panics. +// +// Set is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_IsReputerNonceUnfulfilledRequest) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { + switch fd.FullName() { + case "emissions.v8.IsReputerNonceUnfulfilledRequest.topic_id": + x.TopicId = value.Uint() + case "emissions.v8.IsReputerNonceUnfulfilledRequest.block_height": + x.BlockHeight = value.Int() + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.IsReputerNonceUnfulfilledRequest")) + } + panic(fmt.Errorf("message emissions.v8.IsReputerNonceUnfulfilledRequest does not contain field %s", fd.FullName())) + } +} + +// Mutable returns a mutable reference to a composite type. +// +// If the field is unpopulated, it may allocate a composite value. +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType +// if not already stored. +// It panics if the field does not contain a composite type. +// +// Mutable is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_IsReputerNonceUnfulfilledRequest) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.IsReputerNonceUnfulfilledRequest.topic_id": + panic(fmt.Errorf("field topic_id of message emissions.v8.IsReputerNonceUnfulfilledRequest is not mutable")) + case "emissions.v8.IsReputerNonceUnfulfilledRequest.block_height": + panic(fmt.Errorf("field block_height of message emissions.v8.IsReputerNonceUnfulfilledRequest is not mutable")) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.IsReputerNonceUnfulfilledRequest")) + } + panic(fmt.Errorf("message emissions.v8.IsReputerNonceUnfulfilledRequest does not contain field %s", fd.FullName())) + } +} + +// NewField returns a new value that is assignable to the field +// for the given descriptor. For scalars, this returns the default value. +// For lists, maps, and messages, this returns a new, empty, mutable value. +func (x *fastReflection_IsReputerNonceUnfulfilledRequest) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.IsReputerNonceUnfulfilledRequest.topic_id": + return protoreflect.ValueOfUint64(uint64(0)) + case "emissions.v8.IsReputerNonceUnfulfilledRequest.block_height": + return protoreflect.ValueOfInt64(int64(0)) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.IsReputerNonceUnfulfilledRequest")) + } + panic(fmt.Errorf("message emissions.v8.IsReputerNonceUnfulfilledRequest does not contain field %s", fd.FullName())) + } +} + +// WhichOneof reports which field within the oneof is populated, +// returning nil if none are populated. +// It panics if the oneof descriptor does not belong to this message. +func (x *fastReflection_IsReputerNonceUnfulfilledRequest) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { + switch d.FullName() { + default: + panic(fmt.Errorf("%s is not a oneof field in emissions.v8.IsReputerNonceUnfulfilledRequest", d.FullName())) + } + panic("unreachable") +} + +// GetUnknown retrieves the entire list of unknown fields. +// The caller may only mutate the contents of the RawFields +// if the mutated bytes are stored back into the message with SetUnknown. +func (x *fastReflection_IsReputerNonceUnfulfilledRequest) GetUnknown() protoreflect.RawFields { + return x.unknownFields +} + +// SetUnknown stores an entire list of unknown fields. +// The raw fields must be syntactically valid according to the wire format. +// An implementation may panic if this is not the case. +// Once stored, the caller must not mutate the content of the RawFields. +// An empty RawFields may be passed to clear the fields. +// +// SetUnknown is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_IsReputerNonceUnfulfilledRequest) SetUnknown(fields protoreflect.RawFields) { + x.unknownFields = fields +} + +// IsValid reports whether the message is valid. +// +// An invalid message is an empty, read-only value. +// +// An invalid message often corresponds to a nil pointer of the concrete +// message type, but the details are implementation dependent. +// Validity is not part of the protobuf data model, and may not +// be preserved in marshaling or other operations. +func (x *fastReflection_IsReputerNonceUnfulfilledRequest) IsValid() bool { + return x != nil +} + +// ProtoMethods returns optional fastReflectionFeature-path implementations of various operations. +// This method may return nil. +// +// The returned methods type is identical to +// "google.golang.org/protobuf/runtime/protoiface".Methods. +// Consult the protoiface package documentation for details. +func (x *fastReflection_IsReputerNonceUnfulfilledRequest) ProtoMethods() *protoiface.Methods { + size := func(input protoiface.SizeInput) protoiface.SizeOutput { + x := input.Message.Interface().(*IsReputerNonceUnfulfilledRequest) + if x == nil { + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: 0, + } + } + options := runtime.SizeInputToOptions(input) + _ = options + var n int + var l int + _ = l + if x.TopicId != 0 { + n += 1 + runtime.Sov(uint64(x.TopicId)) + } + if x.BlockHeight != 0 { + n += 1 + runtime.Sov(uint64(x.BlockHeight)) + } + if x.unknownFields != nil { + n += len(x.unknownFields) + } + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: n, + } + } + + marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { + x := input.Message.Interface().(*IsReputerNonceUnfulfilledRequest) + if x == nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + options := runtime.MarshalInputToOptions(input) + _ = options + size := options.Size(x) + dAtA := make([]byte, size) + i := len(dAtA) + _ = i + var l int + _ = l + if x.unknownFields != nil { + i -= len(x.unknownFields) + copy(dAtA[i:], x.unknownFields) + } + if x.BlockHeight != 0 { + i = runtime.EncodeVarint(dAtA, i, uint64(x.BlockHeight)) + i-- + dAtA[i] = 0x10 + } + if x.TopicId != 0 { + i = runtime.EncodeVarint(dAtA, i, uint64(x.TopicId)) + i-- + dAtA[i] = 0x8 + } + if input.Buf != nil { + input.Buf = append(input.Buf, dAtA...) + } else { + input.Buf = dAtA + } + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { + x := input.Message.Interface().(*IsReputerNonceUnfulfilledRequest) + if x == nil { + return protoiface.UnmarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Flags: input.Flags, + }, nil + } + options := runtime.UnmarshalInputToOptions(input) + _ = options + dAtA := input.Buf + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: IsReputerNonceUnfulfilledRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: IsReputerNonceUnfulfilledRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field TopicId", wireType) + } + x.TopicId = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + x.TopicId |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 2: + if wireType != 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field BlockHeight", wireType) + } + x.BlockHeight = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + x.BlockHeight |= int64(b&0x7F) << shift + if b < 0x80 { + break + } + } + default: + iNdEx = preIndex + skippy, err := runtime.Skip(dAtA[iNdEx:]) + if err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if (iNdEx + skippy) > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + if !options.DiscardUnknown { + x.unknownFields = append(x.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + } + iNdEx += skippy + } + } + + if iNdEx > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, nil + } + return &protoiface.Methods{ + NoUnkeyedLiterals: struct{}{}, + Flags: protoiface.SupportMarshalDeterministic | protoiface.SupportUnmarshalDiscardUnknown, + Size: size, + Marshal: marshal, + Unmarshal: unmarshal, + Merge: nil, + CheckInitialized: nil, + } +} + +var ( + md_IsReputerNonceUnfulfilledResponse protoreflect.MessageDescriptor + fd_IsReputerNonceUnfulfilledResponse_is_reputer_nonce_unfulfilled protoreflect.FieldDescriptor +) + +func init() { + file_emissions_v8_query_proto_init() + md_IsReputerNonceUnfulfilledResponse = File_emissions_v8_query_proto.Messages().ByName("IsReputerNonceUnfulfilledResponse") + fd_IsReputerNonceUnfulfilledResponse_is_reputer_nonce_unfulfilled = md_IsReputerNonceUnfulfilledResponse.Fields().ByName("is_reputer_nonce_unfulfilled") +} + +var _ protoreflect.Message = (*fastReflection_IsReputerNonceUnfulfilledResponse)(nil) + +type fastReflection_IsReputerNonceUnfulfilledResponse IsReputerNonceUnfulfilledResponse + +func (x *IsReputerNonceUnfulfilledResponse) ProtoReflect() protoreflect.Message { + return (*fastReflection_IsReputerNonceUnfulfilledResponse)(x) +} + +func (x *IsReputerNonceUnfulfilledResponse) slowProtoReflect() protoreflect.Message { + mi := &file_emissions_v8_query_proto_msgTypes[105] + 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) +} + +var _fastReflection_IsReputerNonceUnfulfilledResponse_messageType fastReflection_IsReputerNonceUnfulfilledResponse_messageType +var _ protoreflect.MessageType = fastReflection_IsReputerNonceUnfulfilledResponse_messageType{} + +type fastReflection_IsReputerNonceUnfulfilledResponse_messageType struct{} + +func (x fastReflection_IsReputerNonceUnfulfilledResponse_messageType) Zero() protoreflect.Message { + return (*fastReflection_IsReputerNonceUnfulfilledResponse)(nil) +} +func (x fastReflection_IsReputerNonceUnfulfilledResponse_messageType) New() protoreflect.Message { + return new(fastReflection_IsReputerNonceUnfulfilledResponse) +} +func (x fastReflection_IsReputerNonceUnfulfilledResponse_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_IsReputerNonceUnfulfilledResponse +} + +// Descriptor returns message descriptor, which contains only the protobuf +// type information for the message. +func (x *fastReflection_IsReputerNonceUnfulfilledResponse) Descriptor() protoreflect.MessageDescriptor { + return md_IsReputerNonceUnfulfilledResponse +} + +// Type returns the message type, which encapsulates both Go and protobuf +// type information. If the Go type information is not needed, +// it is recommended that the message descriptor be used instead. +func (x *fastReflection_IsReputerNonceUnfulfilledResponse) Type() protoreflect.MessageType { + return _fastReflection_IsReputerNonceUnfulfilledResponse_messageType +} + +// New returns a newly allocated and mutable empty message. +func (x *fastReflection_IsReputerNonceUnfulfilledResponse) New() protoreflect.Message { + return new(fastReflection_IsReputerNonceUnfulfilledResponse) +} + +// Interface unwraps the message reflection interface and +// returns the underlying ProtoMessage interface. +func (x *fastReflection_IsReputerNonceUnfulfilledResponse) Interface() protoreflect.ProtoMessage { + return (*IsReputerNonceUnfulfilledResponse)(x) +} + +// Range iterates over every populated field in an undefined order, +// calling f for each field descriptor and value encountered. +// Range returns immediately if f returns false. +// While iterating, mutating operations may only be performed +// on the current field descriptor. +func (x *fastReflection_IsReputerNonceUnfulfilledResponse) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { + if x.IsReputerNonceUnfulfilled != false { + value := protoreflect.ValueOfBool(x.IsReputerNonceUnfulfilled) + if !f(fd_IsReputerNonceUnfulfilledResponse_is_reputer_nonce_unfulfilled, value) { + return + } + } +} + +// Has reports whether a field is populated. +// +// Some fields have the property of nullability where it is possible to +// distinguish between the default value of a field and whether the field +// was explicitly populated with the default value. Singular message fields, +// member fields of a oneof, and proto2 scalar fields are nullable. Such +// fields are populated only if explicitly set. +// +// In other cases (aside from the nullable cases above), +// a proto3 scalar field is populated if it contains a non-zero value, and +// a repeated field is populated if it is non-empty. +func (x *fastReflection_IsReputerNonceUnfulfilledResponse) Has(fd protoreflect.FieldDescriptor) bool { + switch fd.FullName() { + case "emissions.v8.IsReputerNonceUnfulfilledResponse.is_reputer_nonce_unfulfilled": + return x.IsReputerNonceUnfulfilled != false + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.IsReputerNonceUnfulfilledResponse")) + } + panic(fmt.Errorf("message emissions.v8.IsReputerNonceUnfulfilledResponse does not contain field %s", fd.FullName())) + } +} + +// Clear clears the field such that a subsequent Has call reports false. +// +// Clearing an extension field clears both the extension type and value +// associated with the given field number. +// +// Clear is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_IsReputerNonceUnfulfilledResponse) Clear(fd protoreflect.FieldDescriptor) { + switch fd.FullName() { + case "emissions.v8.IsReputerNonceUnfulfilledResponse.is_reputer_nonce_unfulfilled": + x.IsReputerNonceUnfulfilled = false + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.IsReputerNonceUnfulfilledResponse")) + } + panic(fmt.Errorf("message emissions.v8.IsReputerNonceUnfulfilledResponse does not contain field %s", fd.FullName())) + } +} + +// Get retrieves the value for a field. +// +// For unpopulated scalars, it returns the default value, where +// the default value of a bytes scalar is guaranteed to be a copy. +// For unpopulated composite types, it returns an empty, read-only view +// of the value; to obtain a mutable reference, use Mutable. +func (x *fastReflection_IsReputerNonceUnfulfilledResponse) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { + switch descriptor.FullName() { + case "emissions.v8.IsReputerNonceUnfulfilledResponse.is_reputer_nonce_unfulfilled": + value := x.IsReputerNonceUnfulfilled + return protoreflect.ValueOfBool(value) + default: + if descriptor.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.IsReputerNonceUnfulfilledResponse")) + } + panic(fmt.Errorf("message emissions.v8.IsReputerNonceUnfulfilledResponse does not contain field %s", descriptor.FullName())) + } +} + +// Set stores the value for a field. +// +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType. +// When setting a composite type, it is unspecified whether the stored value +// aliases the source's memory in any way. If the composite value is an +// empty, read-only value, then it panics. +// +// Set is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_IsReputerNonceUnfulfilledResponse) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { + switch fd.FullName() { + case "emissions.v8.IsReputerNonceUnfulfilledResponse.is_reputer_nonce_unfulfilled": + x.IsReputerNonceUnfulfilled = value.Bool() + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.IsReputerNonceUnfulfilledResponse")) + } + panic(fmt.Errorf("message emissions.v8.IsReputerNonceUnfulfilledResponse does not contain field %s", fd.FullName())) + } +} + +// Mutable returns a mutable reference to a composite type. +// +// If the field is unpopulated, it may allocate a composite value. +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType +// if not already stored. +// It panics if the field does not contain a composite type. +// +// Mutable is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_IsReputerNonceUnfulfilledResponse) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.IsReputerNonceUnfulfilledResponse.is_reputer_nonce_unfulfilled": + panic(fmt.Errorf("field is_reputer_nonce_unfulfilled of message emissions.v8.IsReputerNonceUnfulfilledResponse is not mutable")) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.IsReputerNonceUnfulfilledResponse")) + } + panic(fmt.Errorf("message emissions.v8.IsReputerNonceUnfulfilledResponse does not contain field %s", fd.FullName())) + } +} + +// NewField returns a new value that is assignable to the field +// for the given descriptor. For scalars, this returns the default value. +// For lists, maps, and messages, this returns a new, empty, mutable value. +func (x *fastReflection_IsReputerNonceUnfulfilledResponse) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.IsReputerNonceUnfulfilledResponse.is_reputer_nonce_unfulfilled": + return protoreflect.ValueOfBool(false) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.IsReputerNonceUnfulfilledResponse")) + } + panic(fmt.Errorf("message emissions.v8.IsReputerNonceUnfulfilledResponse does not contain field %s", fd.FullName())) + } +} + +// WhichOneof reports which field within the oneof is populated, +// returning nil if none are populated. +// It panics if the oneof descriptor does not belong to this message. +func (x *fastReflection_IsReputerNonceUnfulfilledResponse) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { + switch d.FullName() { + default: + panic(fmt.Errorf("%s is not a oneof field in emissions.v8.IsReputerNonceUnfulfilledResponse", d.FullName())) + } + panic("unreachable") +} + +// GetUnknown retrieves the entire list of unknown fields. +// The caller may only mutate the contents of the RawFields +// if the mutated bytes are stored back into the message with SetUnknown. +func (x *fastReflection_IsReputerNonceUnfulfilledResponse) GetUnknown() protoreflect.RawFields { + return x.unknownFields +} + +// SetUnknown stores an entire list of unknown fields. +// The raw fields must be syntactically valid according to the wire format. +// An implementation may panic if this is not the case. +// Once stored, the caller must not mutate the content of the RawFields. +// An empty RawFields may be passed to clear the fields. +// +// SetUnknown is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_IsReputerNonceUnfulfilledResponse) SetUnknown(fields protoreflect.RawFields) { + x.unknownFields = fields +} + +// IsValid reports whether the message is valid. +// +// An invalid message is an empty, read-only value. +// +// An invalid message often corresponds to a nil pointer of the concrete +// message type, but the details are implementation dependent. +// Validity is not part of the protobuf data model, and may not +// be preserved in marshaling or other operations. +func (x *fastReflection_IsReputerNonceUnfulfilledResponse) IsValid() bool { + return x != nil +} + +// ProtoMethods returns optional fastReflectionFeature-path implementations of various operations. +// This method may return nil. +// +// The returned methods type is identical to +// "google.golang.org/protobuf/runtime/protoiface".Methods. +// Consult the protoiface package documentation for details. +func (x *fastReflection_IsReputerNonceUnfulfilledResponse) ProtoMethods() *protoiface.Methods { + size := func(input protoiface.SizeInput) protoiface.SizeOutput { + x := input.Message.Interface().(*IsReputerNonceUnfulfilledResponse) + if x == nil { + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: 0, + } + } + options := runtime.SizeInputToOptions(input) + _ = options + var n int + var l int + _ = l + if x.IsReputerNonceUnfulfilled { + n += 2 + } + if x.unknownFields != nil { + n += len(x.unknownFields) + } + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: n, + } + } + + marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { + x := input.Message.Interface().(*IsReputerNonceUnfulfilledResponse) + if x == nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + options := runtime.MarshalInputToOptions(input) + _ = options + size := options.Size(x) + dAtA := make([]byte, size) + i := len(dAtA) + _ = i + var l int + _ = l + if x.unknownFields != nil { + i -= len(x.unknownFields) + copy(dAtA[i:], x.unknownFields) + } + if x.IsReputerNonceUnfulfilled { + i-- + if x.IsReputerNonceUnfulfilled { + dAtA[i] = 1 + } else { + dAtA[i] = 0 + } + i-- + dAtA[i] = 0x8 + } + if input.Buf != nil { + input.Buf = append(input.Buf, dAtA...) + } else { + input.Buf = dAtA + } + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { + x := input.Message.Interface().(*IsReputerNonceUnfulfilledResponse) + if x == nil { + return protoiface.UnmarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Flags: input.Flags, + }, nil + } + options := runtime.UnmarshalInputToOptions(input) + _ = options + dAtA := input.Buf + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: IsReputerNonceUnfulfilledResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: IsReputerNonceUnfulfilledResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field IsReputerNonceUnfulfilled", wireType) + } + var v int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + x.IsReputerNonceUnfulfilled = bool(v != 0) + default: + iNdEx = preIndex + skippy, err := runtime.Skip(dAtA[iNdEx:]) + if err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if (iNdEx + skippy) > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + if !options.DiscardUnknown { + x.unknownFields = append(x.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + } + iNdEx += skippy + } + } + + if iNdEx > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, nil + } + return &protoiface.Methods{ + NoUnkeyedLiterals: struct{}{}, + Flags: protoiface.SupportMarshalDeterministic | protoiface.SupportUnmarshalDiscardUnknown, + Size: size, + Marshal: marshal, + Unmarshal: unmarshal, + Merge: nil, + CheckInitialized: nil, + } +} + +var ( + md_GetNetworkInferencesAtBlockResponse protoreflect.MessageDescriptor + fd_GetNetworkInferencesAtBlockResponse_network_inferences protoreflect.FieldDescriptor +) + +func init() { + file_emissions_v8_query_proto_init() + md_GetNetworkInferencesAtBlockResponse = File_emissions_v8_query_proto.Messages().ByName("GetNetworkInferencesAtBlockResponse") + fd_GetNetworkInferencesAtBlockResponse_network_inferences = md_GetNetworkInferencesAtBlockResponse.Fields().ByName("network_inferences") +} + +var _ protoreflect.Message = (*fastReflection_GetNetworkInferencesAtBlockResponse)(nil) + +type fastReflection_GetNetworkInferencesAtBlockResponse GetNetworkInferencesAtBlockResponse + +func (x *GetNetworkInferencesAtBlockResponse) ProtoReflect() protoreflect.Message { + return (*fastReflection_GetNetworkInferencesAtBlockResponse)(x) +} + +func (x *GetNetworkInferencesAtBlockResponse) slowProtoReflect() protoreflect.Message { + mi := &file_emissions_v8_query_proto_msgTypes[106] + 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) +} + +var _fastReflection_GetNetworkInferencesAtBlockResponse_messageType fastReflection_GetNetworkInferencesAtBlockResponse_messageType +var _ protoreflect.MessageType = fastReflection_GetNetworkInferencesAtBlockResponse_messageType{} + +type fastReflection_GetNetworkInferencesAtBlockResponse_messageType struct{} + +func (x fastReflection_GetNetworkInferencesAtBlockResponse_messageType) Zero() protoreflect.Message { + return (*fastReflection_GetNetworkInferencesAtBlockResponse)(nil) +} +func (x fastReflection_GetNetworkInferencesAtBlockResponse_messageType) New() protoreflect.Message { + return new(fastReflection_GetNetworkInferencesAtBlockResponse) +} +func (x fastReflection_GetNetworkInferencesAtBlockResponse_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_GetNetworkInferencesAtBlockResponse +} + +// Descriptor returns message descriptor, which contains only the protobuf +// type information for the message. +func (x *fastReflection_GetNetworkInferencesAtBlockResponse) Descriptor() protoreflect.MessageDescriptor { + return md_GetNetworkInferencesAtBlockResponse +} + +// Type returns the message type, which encapsulates both Go and protobuf +// type information. If the Go type information is not needed, +// it is recommended that the message descriptor be used instead. +func (x *fastReflection_GetNetworkInferencesAtBlockResponse) Type() protoreflect.MessageType { + return _fastReflection_GetNetworkInferencesAtBlockResponse_messageType +} + +// New returns a newly allocated and mutable empty message. +func (x *fastReflection_GetNetworkInferencesAtBlockResponse) New() protoreflect.Message { + return new(fastReflection_GetNetworkInferencesAtBlockResponse) +} + +// Interface unwraps the message reflection interface and +// returns the underlying ProtoMessage interface. +func (x *fastReflection_GetNetworkInferencesAtBlockResponse) Interface() protoreflect.ProtoMessage { + return (*GetNetworkInferencesAtBlockResponse)(x) +} + +// Range iterates over every populated field in an undefined order, +// calling f for each field descriptor and value encountered. +// Range returns immediately if f returns false. +// While iterating, mutating operations may only be performed +// on the current field descriptor. +func (x *fastReflection_GetNetworkInferencesAtBlockResponse) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { + if x.NetworkInferences != nil { + value := protoreflect.ValueOfMessage(x.NetworkInferences.ProtoReflect()) + if !f(fd_GetNetworkInferencesAtBlockResponse_network_inferences, value) { + return + } + } +} + +// Has reports whether a field is populated. +// +// Some fields have the property of nullability where it is possible to +// distinguish between the default value of a field and whether the field +// was explicitly populated with the default value. Singular message fields, +// member fields of a oneof, and proto2 scalar fields are nullable. Such +// fields are populated only if explicitly set. +// +// In other cases (aside from the nullable cases above), +// a proto3 scalar field is populated if it contains a non-zero value, and +// a repeated field is populated if it is non-empty. +func (x *fastReflection_GetNetworkInferencesAtBlockResponse) Has(fd protoreflect.FieldDescriptor) bool { + switch fd.FullName() { + case "emissions.v8.GetNetworkInferencesAtBlockResponse.network_inferences": + return x.NetworkInferences != nil + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetNetworkInferencesAtBlockResponse")) + } + panic(fmt.Errorf("message emissions.v8.GetNetworkInferencesAtBlockResponse does not contain field %s", fd.FullName())) + } +} + +// Clear clears the field such that a subsequent Has call reports false. +// +// Clearing an extension field clears both the extension type and value +// associated with the given field number. +// +// Clear is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetNetworkInferencesAtBlockResponse) Clear(fd protoreflect.FieldDescriptor) { + switch fd.FullName() { + case "emissions.v8.GetNetworkInferencesAtBlockResponse.network_inferences": + x.NetworkInferences = nil + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetNetworkInferencesAtBlockResponse")) + } + panic(fmt.Errorf("message emissions.v8.GetNetworkInferencesAtBlockResponse does not contain field %s", fd.FullName())) + } +} + +// Get retrieves the value for a field. +// +// For unpopulated scalars, it returns the default value, where +// the default value of a bytes scalar is guaranteed to be a copy. +// For unpopulated composite types, it returns an empty, read-only view +// of the value; to obtain a mutable reference, use Mutable. +func (x *fastReflection_GetNetworkInferencesAtBlockResponse) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { + switch descriptor.FullName() { + case "emissions.v8.GetNetworkInferencesAtBlockResponse.network_inferences": + value := x.NetworkInferences + return protoreflect.ValueOfMessage(value.ProtoReflect()) + default: + if descriptor.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetNetworkInferencesAtBlockResponse")) + } + panic(fmt.Errorf("message emissions.v8.GetNetworkInferencesAtBlockResponse does not contain field %s", descriptor.FullName())) + } +} + +// Set stores the value for a field. +// +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType. +// When setting a composite type, it is unspecified whether the stored value +// aliases the source's memory in any way. If the composite value is an +// empty, read-only value, then it panics. +// +// Set is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetNetworkInferencesAtBlockResponse) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { + switch fd.FullName() { + case "emissions.v8.GetNetworkInferencesAtBlockResponse.network_inferences": + x.NetworkInferences = value.Message().Interface().(*v3.ValueBundle) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetNetworkInferencesAtBlockResponse")) + } + panic(fmt.Errorf("message emissions.v8.GetNetworkInferencesAtBlockResponse does not contain field %s", fd.FullName())) + } +} + +// Mutable returns a mutable reference to a composite type. +// +// If the field is unpopulated, it may allocate a composite value. +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType +// if not already stored. +// It panics if the field does not contain a composite type. +// +// Mutable is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetNetworkInferencesAtBlockResponse) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.GetNetworkInferencesAtBlockResponse.network_inferences": + if x.NetworkInferences == nil { + x.NetworkInferences = new(v3.ValueBundle) + } + return protoreflect.ValueOfMessage(x.NetworkInferences.ProtoReflect()) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetNetworkInferencesAtBlockResponse")) + } + panic(fmt.Errorf("message emissions.v8.GetNetworkInferencesAtBlockResponse does not contain field %s", fd.FullName())) + } +} + +// NewField returns a new value that is assignable to the field +// for the given descriptor. For scalars, this returns the default value. +// For lists, maps, and messages, this returns a new, empty, mutable value. +func (x *fastReflection_GetNetworkInferencesAtBlockResponse) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.GetNetworkInferencesAtBlockResponse.network_inferences": + m := new(v3.ValueBundle) + return protoreflect.ValueOfMessage(m.ProtoReflect()) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetNetworkInferencesAtBlockResponse")) + } + panic(fmt.Errorf("message emissions.v8.GetNetworkInferencesAtBlockResponse does not contain field %s", fd.FullName())) + } +} + +// WhichOneof reports which field within the oneof is populated, +// returning nil if none are populated. +// It panics if the oneof descriptor does not belong to this message. +func (x *fastReflection_GetNetworkInferencesAtBlockResponse) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { + switch d.FullName() { + default: + panic(fmt.Errorf("%s is not a oneof field in emissions.v8.GetNetworkInferencesAtBlockResponse", d.FullName())) + } + panic("unreachable") +} + +// GetUnknown retrieves the entire list of unknown fields. +// The caller may only mutate the contents of the RawFields +// if the mutated bytes are stored back into the message with SetUnknown. +func (x *fastReflection_GetNetworkInferencesAtBlockResponse) GetUnknown() protoreflect.RawFields { + return x.unknownFields +} + +// SetUnknown stores an entire list of unknown fields. +// The raw fields must be syntactically valid according to the wire format. +// An implementation may panic if this is not the case. +// Once stored, the caller must not mutate the content of the RawFields. +// An empty RawFields may be passed to clear the fields. +// +// SetUnknown is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetNetworkInferencesAtBlockResponse) SetUnknown(fields protoreflect.RawFields) { + x.unknownFields = fields +} + +// IsValid reports whether the message is valid. +// +// An invalid message is an empty, read-only value. +// +// An invalid message often corresponds to a nil pointer of the concrete +// message type, but the details are implementation dependent. +// Validity is not part of the protobuf data model, and may not +// be preserved in marshaling or other operations. +func (x *fastReflection_GetNetworkInferencesAtBlockResponse) IsValid() bool { + return x != nil +} + +// ProtoMethods returns optional fastReflectionFeature-path implementations of various operations. +// This method may return nil. +// +// The returned methods type is identical to +// "google.golang.org/protobuf/runtime/protoiface".Methods. +// Consult the protoiface package documentation for details. +func (x *fastReflection_GetNetworkInferencesAtBlockResponse) ProtoMethods() *protoiface.Methods { + size := func(input protoiface.SizeInput) protoiface.SizeOutput { + x := input.Message.Interface().(*GetNetworkInferencesAtBlockResponse) + if x == nil { + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: 0, + } + } + options := runtime.SizeInputToOptions(input) + _ = options + var n int + var l int + _ = l + if x.NetworkInferences != nil { + l = options.Size(x.NetworkInferences) + n += 1 + l + runtime.Sov(uint64(l)) + } + if x.unknownFields != nil { + n += len(x.unknownFields) + } + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: n, + } + } + + marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { + x := input.Message.Interface().(*GetNetworkInferencesAtBlockResponse) + if x == nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + options := runtime.MarshalInputToOptions(input) + _ = options + size := options.Size(x) + dAtA := make([]byte, size) + i := len(dAtA) + _ = i + var l int + _ = l + if x.unknownFields != nil { + i -= len(x.unknownFields) + copy(dAtA[i:], x.unknownFields) + } + if x.NetworkInferences != nil { + encoded, err := options.Marshal(x.NetworkInferences) + if err != nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = runtime.EncodeVarint(dAtA, i, uint64(len(encoded))) + i-- + dAtA[i] = 0xa + } + if input.Buf != nil { + input.Buf = append(input.Buf, dAtA...) + } else { + input.Buf = dAtA + } + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { + x := input.Message.Interface().(*GetNetworkInferencesAtBlockResponse) + if x == nil { + return protoiface.UnmarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Flags: input.Flags, + }, nil + } + options := runtime.UnmarshalInputToOptions(input) + _ = options + dAtA := input.Buf + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: GetNetworkInferencesAtBlockResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: GetNetworkInferencesAtBlockResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field NetworkInferences", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + if x.NetworkInferences == nil { + x.NetworkInferences = &v3.ValueBundle{} + } + if err := options.Unmarshal(dAtA[iNdEx:postIndex], x.NetworkInferences); err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := runtime.Skip(dAtA[iNdEx:]) + if err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if (iNdEx + skippy) > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + if !options.DiscardUnknown { + x.unknownFields = append(x.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + } + iNdEx += skippy + } + } + + if iNdEx > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, nil + } + return &protoiface.Methods{ + NoUnkeyedLiterals: struct{}{}, + Flags: protoiface.SupportMarshalDeterministic | protoiface.SupportUnmarshalDiscardUnknown, + Size: size, + Marshal: marshal, + Unmarshal: unmarshal, + Merge: nil, + CheckInitialized: nil, + } +} + +var ( + md_GetNetworkInferencesAtBlockOutlierResistantResponse protoreflect.MessageDescriptor + fd_GetNetworkInferencesAtBlockOutlierResistantResponse_network_inferences protoreflect.FieldDescriptor +) + +func init() { + file_emissions_v8_query_proto_init() + md_GetNetworkInferencesAtBlockOutlierResistantResponse = File_emissions_v8_query_proto.Messages().ByName("GetNetworkInferencesAtBlockOutlierResistantResponse") + fd_GetNetworkInferencesAtBlockOutlierResistantResponse_network_inferences = md_GetNetworkInferencesAtBlockOutlierResistantResponse.Fields().ByName("network_inferences") +} + +var _ protoreflect.Message = (*fastReflection_GetNetworkInferencesAtBlockOutlierResistantResponse)(nil) + +type fastReflection_GetNetworkInferencesAtBlockOutlierResistantResponse GetNetworkInferencesAtBlockOutlierResistantResponse + +func (x *GetNetworkInferencesAtBlockOutlierResistantResponse) ProtoReflect() protoreflect.Message { + return (*fastReflection_GetNetworkInferencesAtBlockOutlierResistantResponse)(x) +} + +func (x *GetNetworkInferencesAtBlockOutlierResistantResponse) slowProtoReflect() protoreflect.Message { + mi := &file_emissions_v8_query_proto_msgTypes[107] + 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) +} + +var _fastReflection_GetNetworkInferencesAtBlockOutlierResistantResponse_messageType fastReflection_GetNetworkInferencesAtBlockOutlierResistantResponse_messageType +var _ protoreflect.MessageType = fastReflection_GetNetworkInferencesAtBlockOutlierResistantResponse_messageType{} + +type fastReflection_GetNetworkInferencesAtBlockOutlierResistantResponse_messageType struct{} + +func (x fastReflection_GetNetworkInferencesAtBlockOutlierResistantResponse_messageType) Zero() protoreflect.Message { + return (*fastReflection_GetNetworkInferencesAtBlockOutlierResistantResponse)(nil) +} +func (x fastReflection_GetNetworkInferencesAtBlockOutlierResistantResponse_messageType) New() protoreflect.Message { + return new(fastReflection_GetNetworkInferencesAtBlockOutlierResistantResponse) +} +func (x fastReflection_GetNetworkInferencesAtBlockOutlierResistantResponse_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_GetNetworkInferencesAtBlockOutlierResistantResponse +} + +// Descriptor returns message descriptor, which contains only the protobuf +// type information for the message. +func (x *fastReflection_GetNetworkInferencesAtBlockOutlierResistantResponse) Descriptor() protoreflect.MessageDescriptor { + return md_GetNetworkInferencesAtBlockOutlierResistantResponse +} + +// Type returns the message type, which encapsulates both Go and protobuf +// type information. If the Go type information is not needed, +// it is recommended that the message descriptor be used instead. +func (x *fastReflection_GetNetworkInferencesAtBlockOutlierResistantResponse) Type() protoreflect.MessageType { + return _fastReflection_GetNetworkInferencesAtBlockOutlierResistantResponse_messageType +} + +// New returns a newly allocated and mutable empty message. +func (x *fastReflection_GetNetworkInferencesAtBlockOutlierResistantResponse) New() protoreflect.Message { + return new(fastReflection_GetNetworkInferencesAtBlockOutlierResistantResponse) +} + +// Interface unwraps the message reflection interface and +// returns the underlying ProtoMessage interface. +func (x *fastReflection_GetNetworkInferencesAtBlockOutlierResistantResponse) Interface() protoreflect.ProtoMessage { + return (*GetNetworkInferencesAtBlockOutlierResistantResponse)(x) +} + +// Range iterates over every populated field in an undefined order, +// calling f for each field descriptor and value encountered. +// Range returns immediately if f returns false. +// While iterating, mutating operations may only be performed +// on the current field descriptor. +func (x *fastReflection_GetNetworkInferencesAtBlockOutlierResistantResponse) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { + if x.NetworkInferences != nil { + value := protoreflect.ValueOfMessage(x.NetworkInferences.ProtoReflect()) + if !f(fd_GetNetworkInferencesAtBlockOutlierResistantResponse_network_inferences, value) { + return + } + } +} + +// Has reports whether a field is populated. +// +// Some fields have the property of nullability where it is possible to +// distinguish between the default value of a field and whether the field +// was explicitly populated with the default value. Singular message fields, +// member fields of a oneof, and proto2 scalar fields are nullable. Such +// fields are populated only if explicitly set. +// +// In other cases (aside from the nullable cases above), +// a proto3 scalar field is populated if it contains a non-zero value, and +// a repeated field is populated if it is non-empty. +func (x *fastReflection_GetNetworkInferencesAtBlockOutlierResistantResponse) Has(fd protoreflect.FieldDescriptor) bool { + switch fd.FullName() { + case "emissions.v8.GetNetworkInferencesAtBlockOutlierResistantResponse.network_inferences": + return x.NetworkInferences != nil + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetNetworkInferencesAtBlockOutlierResistantResponse")) + } + panic(fmt.Errorf("message emissions.v8.GetNetworkInferencesAtBlockOutlierResistantResponse does not contain field %s", fd.FullName())) + } +} + +// Clear clears the field such that a subsequent Has call reports false. +// +// Clearing an extension field clears both the extension type and value +// associated with the given field number. +// +// Clear is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetNetworkInferencesAtBlockOutlierResistantResponse) Clear(fd protoreflect.FieldDescriptor) { + switch fd.FullName() { + case "emissions.v8.GetNetworkInferencesAtBlockOutlierResistantResponse.network_inferences": + x.NetworkInferences = nil + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetNetworkInferencesAtBlockOutlierResistantResponse")) + } + panic(fmt.Errorf("message emissions.v8.GetNetworkInferencesAtBlockOutlierResistantResponse does not contain field %s", fd.FullName())) + } +} + +// Get retrieves the value for a field. +// +// For unpopulated scalars, it returns the default value, where +// the default value of a bytes scalar is guaranteed to be a copy. +// For unpopulated composite types, it returns an empty, read-only view +// of the value; to obtain a mutable reference, use Mutable. +func (x *fastReflection_GetNetworkInferencesAtBlockOutlierResistantResponse) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { + switch descriptor.FullName() { + case "emissions.v8.GetNetworkInferencesAtBlockOutlierResistantResponse.network_inferences": + value := x.NetworkInferences + return protoreflect.ValueOfMessage(value.ProtoReflect()) + default: + if descriptor.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetNetworkInferencesAtBlockOutlierResistantResponse")) + } + panic(fmt.Errorf("message emissions.v8.GetNetworkInferencesAtBlockOutlierResistantResponse does not contain field %s", descriptor.FullName())) + } +} + +// Set stores the value for a field. +// +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType. +// When setting a composite type, it is unspecified whether the stored value +// aliases the source's memory in any way. If the composite value is an +// empty, read-only value, then it panics. +// +// Set is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetNetworkInferencesAtBlockOutlierResistantResponse) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { + switch fd.FullName() { + case "emissions.v8.GetNetworkInferencesAtBlockOutlierResistantResponse.network_inferences": + x.NetworkInferences = value.Message().Interface().(*v3.ValueBundle) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetNetworkInferencesAtBlockOutlierResistantResponse")) + } + panic(fmt.Errorf("message emissions.v8.GetNetworkInferencesAtBlockOutlierResistantResponse does not contain field %s", fd.FullName())) + } +} + +// Mutable returns a mutable reference to a composite type. +// +// If the field is unpopulated, it may allocate a composite value. +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType +// if not already stored. +// It panics if the field does not contain a composite type. +// +// Mutable is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetNetworkInferencesAtBlockOutlierResistantResponse) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.GetNetworkInferencesAtBlockOutlierResistantResponse.network_inferences": + if x.NetworkInferences == nil { + x.NetworkInferences = new(v3.ValueBundle) + } + return protoreflect.ValueOfMessage(x.NetworkInferences.ProtoReflect()) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetNetworkInferencesAtBlockOutlierResistantResponse")) + } + panic(fmt.Errorf("message emissions.v8.GetNetworkInferencesAtBlockOutlierResistantResponse does not contain field %s", fd.FullName())) + } +} + +// NewField returns a new value that is assignable to the field +// for the given descriptor. For scalars, this returns the default value. +// For lists, maps, and messages, this returns a new, empty, mutable value. +func (x *fastReflection_GetNetworkInferencesAtBlockOutlierResistantResponse) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.GetNetworkInferencesAtBlockOutlierResistantResponse.network_inferences": + m := new(v3.ValueBundle) + return protoreflect.ValueOfMessage(m.ProtoReflect()) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetNetworkInferencesAtBlockOutlierResistantResponse")) + } + panic(fmt.Errorf("message emissions.v8.GetNetworkInferencesAtBlockOutlierResistantResponse does not contain field %s", fd.FullName())) + } +} + +// WhichOneof reports which field within the oneof is populated, +// returning nil if none are populated. +// It panics if the oneof descriptor does not belong to this message. +func (x *fastReflection_GetNetworkInferencesAtBlockOutlierResistantResponse) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { + switch d.FullName() { + default: + panic(fmt.Errorf("%s is not a oneof field in emissions.v8.GetNetworkInferencesAtBlockOutlierResistantResponse", d.FullName())) + } + panic("unreachable") +} + +// GetUnknown retrieves the entire list of unknown fields. +// The caller may only mutate the contents of the RawFields +// if the mutated bytes are stored back into the message with SetUnknown. +func (x *fastReflection_GetNetworkInferencesAtBlockOutlierResistantResponse) GetUnknown() protoreflect.RawFields { + return x.unknownFields +} + +// SetUnknown stores an entire list of unknown fields. +// The raw fields must be syntactically valid according to the wire format. +// An implementation may panic if this is not the case. +// Once stored, the caller must not mutate the content of the RawFields. +// An empty RawFields may be passed to clear the fields. +// +// SetUnknown is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetNetworkInferencesAtBlockOutlierResistantResponse) SetUnknown(fields protoreflect.RawFields) { + x.unknownFields = fields +} + +// IsValid reports whether the message is valid. +// +// An invalid message is an empty, read-only value. +// +// An invalid message often corresponds to a nil pointer of the concrete +// message type, but the details are implementation dependent. +// Validity is not part of the protobuf data model, and may not +// be preserved in marshaling or other operations. +func (x *fastReflection_GetNetworkInferencesAtBlockOutlierResistantResponse) IsValid() bool { + return x != nil +} + +// ProtoMethods returns optional fastReflectionFeature-path implementations of various operations. +// This method may return nil. +// +// The returned methods type is identical to +// "google.golang.org/protobuf/runtime/protoiface".Methods. +// Consult the protoiface package documentation for details. +func (x *fastReflection_GetNetworkInferencesAtBlockOutlierResistantResponse) ProtoMethods() *protoiface.Methods { + size := func(input protoiface.SizeInput) protoiface.SizeOutput { + x := input.Message.Interface().(*GetNetworkInferencesAtBlockOutlierResistantResponse) + if x == nil { + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: 0, + } + } + options := runtime.SizeInputToOptions(input) + _ = options + var n int + var l int + _ = l + if x.NetworkInferences != nil { + l = options.Size(x.NetworkInferences) + n += 1 + l + runtime.Sov(uint64(l)) + } + if x.unknownFields != nil { + n += len(x.unknownFields) + } + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: n, + } + } + + marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { + x := input.Message.Interface().(*GetNetworkInferencesAtBlockOutlierResistantResponse) + if x == nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + options := runtime.MarshalInputToOptions(input) + _ = options + size := options.Size(x) + dAtA := make([]byte, size) + i := len(dAtA) + _ = i + var l int + _ = l + if x.unknownFields != nil { + i -= len(x.unknownFields) + copy(dAtA[i:], x.unknownFields) + } + if x.NetworkInferences != nil { + encoded, err := options.Marshal(x.NetworkInferences) + if err != nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = runtime.EncodeVarint(dAtA, i, uint64(len(encoded))) + i-- + dAtA[i] = 0xa + } + if input.Buf != nil { + input.Buf = append(input.Buf, dAtA...) + } else { + input.Buf = dAtA + } + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { + x := input.Message.Interface().(*GetNetworkInferencesAtBlockOutlierResistantResponse) + if x == nil { + return protoiface.UnmarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Flags: input.Flags, + }, nil + } + options := runtime.UnmarshalInputToOptions(input) + _ = options + dAtA := input.Buf + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: GetNetworkInferencesAtBlockOutlierResistantResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: GetNetworkInferencesAtBlockOutlierResistantResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field NetworkInferences", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + if x.NetworkInferences == nil { + x.NetworkInferences = &v3.ValueBundle{} + } + if err := options.Unmarshal(dAtA[iNdEx:postIndex], x.NetworkInferences); err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := runtime.Skip(dAtA[iNdEx:]) + if err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if (iNdEx + skippy) > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + if !options.DiscardUnknown { + x.unknownFields = append(x.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + } + iNdEx += skippy + } + } + + if iNdEx > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, nil + } + return &protoiface.Methods{ + NoUnkeyedLiterals: struct{}{}, + Flags: protoiface.SupportMarshalDeterministic | protoiface.SupportUnmarshalDiscardUnknown, + Size: size, + Marshal: marshal, + Unmarshal: unmarshal, + Merge: nil, + CheckInitialized: nil, + } +} + +var _ protoreflect.List = (*_GetLatestNetworkInferencesResponse_2_list)(nil) + +type _GetLatestNetworkInferencesResponse_2_list struct { + list *[]*v3.RegretInformedWeight +} + +func (x *_GetLatestNetworkInferencesResponse_2_list) Len() int { + if x.list == nil { + return 0 + } + return len(*x.list) +} + +func (x *_GetLatestNetworkInferencesResponse_2_list) Get(i int) protoreflect.Value { + return protoreflect.ValueOfMessage((*x.list)[i].ProtoReflect()) +} + +func (x *_GetLatestNetworkInferencesResponse_2_list) Set(i int, value protoreflect.Value) { + valueUnwrapped := value.Message() + concreteValue := valueUnwrapped.Interface().(*v3.RegretInformedWeight) + (*x.list)[i] = concreteValue +} + +func (x *_GetLatestNetworkInferencesResponse_2_list) Append(value protoreflect.Value) { + valueUnwrapped := value.Message() + concreteValue := valueUnwrapped.Interface().(*v3.RegretInformedWeight) + *x.list = append(*x.list, concreteValue) +} + +func (x *_GetLatestNetworkInferencesResponse_2_list) AppendMutable() protoreflect.Value { + v := new(v3.RegretInformedWeight) + *x.list = append(*x.list, v) + return protoreflect.ValueOfMessage(v.ProtoReflect()) +} + +func (x *_GetLatestNetworkInferencesResponse_2_list) Truncate(n int) { + for i := n; i < len(*x.list); i++ { + (*x.list)[i] = nil + } + *x.list = (*x.list)[:n] +} + +func (x *_GetLatestNetworkInferencesResponse_2_list) NewElement() protoreflect.Value { + v := new(v3.RegretInformedWeight) + return protoreflect.ValueOfMessage(v.ProtoReflect()) +} + +func (x *_GetLatestNetworkInferencesResponse_2_list) IsValid() bool { + return x.list != nil +} + +var _ protoreflect.List = (*_GetLatestNetworkInferencesResponse_3_list)(nil) + +type _GetLatestNetworkInferencesResponse_3_list struct { + list *[]*v3.RegretInformedWeight +} + +func (x *_GetLatestNetworkInferencesResponse_3_list) Len() int { + if x.list == nil { + return 0 + } + return len(*x.list) +} + +func (x *_GetLatestNetworkInferencesResponse_3_list) Get(i int) protoreflect.Value { + return protoreflect.ValueOfMessage((*x.list)[i].ProtoReflect()) +} + +func (x *_GetLatestNetworkInferencesResponse_3_list) Set(i int, value protoreflect.Value) { + valueUnwrapped := value.Message() + concreteValue := valueUnwrapped.Interface().(*v3.RegretInformedWeight) + (*x.list)[i] = concreteValue +} + +func (x *_GetLatestNetworkInferencesResponse_3_list) Append(value protoreflect.Value) { + valueUnwrapped := value.Message() + concreteValue := valueUnwrapped.Interface().(*v3.RegretInformedWeight) + *x.list = append(*x.list, concreteValue) +} + +func (x *_GetLatestNetworkInferencesResponse_3_list) AppendMutable() protoreflect.Value { + v := new(v3.RegretInformedWeight) + *x.list = append(*x.list, v) + return protoreflect.ValueOfMessage(v.ProtoReflect()) +} + +func (x *_GetLatestNetworkInferencesResponse_3_list) Truncate(n int) { + for i := n; i < len(*x.list); i++ { + (*x.list)[i] = nil + } + *x.list = (*x.list)[:n] +} + +func (x *_GetLatestNetworkInferencesResponse_3_list) NewElement() protoreflect.Value { + v := new(v3.RegretInformedWeight) + return protoreflect.ValueOfMessage(v.ProtoReflect()) +} + +func (x *_GetLatestNetworkInferencesResponse_3_list) IsValid() bool { + return x.list != nil +} + +var _ protoreflect.List = (*_GetLatestNetworkInferencesResponse_7_list)(nil) + +type _GetLatestNetworkInferencesResponse_7_list struct { + list *[]string +} + +func (x *_GetLatestNetworkInferencesResponse_7_list) Len() int { + if x.list == nil { + return 0 + } + return len(*x.list) +} + +func (x *_GetLatestNetworkInferencesResponse_7_list) Get(i int) protoreflect.Value { + return protoreflect.ValueOfString((*x.list)[i]) +} + +func (x *_GetLatestNetworkInferencesResponse_7_list) Set(i int, value protoreflect.Value) { + valueUnwrapped := value.String() + concreteValue := valueUnwrapped + (*x.list)[i] = concreteValue +} + +func (x *_GetLatestNetworkInferencesResponse_7_list) Append(value protoreflect.Value) { + valueUnwrapped := value.String() + concreteValue := valueUnwrapped + *x.list = append(*x.list, concreteValue) +} + +func (x *_GetLatestNetworkInferencesResponse_7_list) AppendMutable() protoreflect.Value { + panic(fmt.Errorf("AppendMutable can not be called on message GetLatestNetworkInferencesResponse at list field ConfidenceIntervalRawPercentiles as it is not of Message kind")) +} + +func (x *_GetLatestNetworkInferencesResponse_7_list) Truncate(n int) { + *x.list = (*x.list)[:n] +} + +func (x *_GetLatestNetworkInferencesResponse_7_list) NewElement() protoreflect.Value { + v := "" + return protoreflect.ValueOfString(v) +} + +func (x *_GetLatestNetworkInferencesResponse_7_list) IsValid() bool { + return x.list != nil +} + +var _ protoreflect.List = (*_GetLatestNetworkInferencesResponse_8_list)(nil) + +type _GetLatestNetworkInferencesResponse_8_list struct { + list *[]string +} + +func (x *_GetLatestNetworkInferencesResponse_8_list) Len() int { + if x.list == nil { + return 0 + } + return len(*x.list) +} + +func (x *_GetLatestNetworkInferencesResponse_8_list) Get(i int) protoreflect.Value { + return protoreflect.ValueOfString((*x.list)[i]) +} + +func (x *_GetLatestNetworkInferencesResponse_8_list) Set(i int, value protoreflect.Value) { + valueUnwrapped := value.String() + concreteValue := valueUnwrapped + (*x.list)[i] = concreteValue +} + +func (x *_GetLatestNetworkInferencesResponse_8_list) Append(value protoreflect.Value) { + valueUnwrapped := value.String() + concreteValue := valueUnwrapped + *x.list = append(*x.list, concreteValue) +} + +func (x *_GetLatestNetworkInferencesResponse_8_list) AppendMutable() protoreflect.Value { + panic(fmt.Errorf("AppendMutable can not be called on message GetLatestNetworkInferencesResponse at list field ConfidenceIntervalValues as it is not of Message kind")) +} + +func (x *_GetLatestNetworkInferencesResponse_8_list) Truncate(n int) { + *x.list = (*x.list)[:n] +} + +func (x *_GetLatestNetworkInferencesResponse_8_list) NewElement() protoreflect.Value { + v := "" + return protoreflect.ValueOfString(v) +} + +func (x *_GetLatestNetworkInferencesResponse_8_list) IsValid() bool { + return x.list != nil +} + +var ( + md_GetLatestNetworkInferencesResponse protoreflect.MessageDescriptor + fd_GetLatestNetworkInferencesResponse_network_inferences protoreflect.FieldDescriptor + fd_GetLatestNetworkInferencesResponse_inferer_weights protoreflect.FieldDescriptor + fd_GetLatestNetworkInferencesResponse_forecaster_weights protoreflect.FieldDescriptor + fd_GetLatestNetworkInferencesResponse_inference_block_height protoreflect.FieldDescriptor + fd_GetLatestNetworkInferencesResponse_loss_block_height protoreflect.FieldDescriptor + fd_GetLatestNetworkInferencesResponse_confidence_interval_raw_percentiles protoreflect.FieldDescriptor + fd_GetLatestNetworkInferencesResponse_confidence_interval_values protoreflect.FieldDescriptor +) + +func init() { + file_emissions_v8_query_proto_init() + md_GetLatestNetworkInferencesResponse = File_emissions_v8_query_proto.Messages().ByName("GetLatestNetworkInferencesResponse") + fd_GetLatestNetworkInferencesResponse_network_inferences = md_GetLatestNetworkInferencesResponse.Fields().ByName("network_inferences") + fd_GetLatestNetworkInferencesResponse_inferer_weights = md_GetLatestNetworkInferencesResponse.Fields().ByName("inferer_weights") + fd_GetLatestNetworkInferencesResponse_forecaster_weights = md_GetLatestNetworkInferencesResponse.Fields().ByName("forecaster_weights") + fd_GetLatestNetworkInferencesResponse_inference_block_height = md_GetLatestNetworkInferencesResponse.Fields().ByName("inference_block_height") + fd_GetLatestNetworkInferencesResponse_loss_block_height = md_GetLatestNetworkInferencesResponse.Fields().ByName("loss_block_height") + fd_GetLatestNetworkInferencesResponse_confidence_interval_raw_percentiles = md_GetLatestNetworkInferencesResponse.Fields().ByName("confidence_interval_raw_percentiles") + fd_GetLatestNetworkInferencesResponse_confidence_interval_values = md_GetLatestNetworkInferencesResponse.Fields().ByName("confidence_interval_values") +} + +var _ protoreflect.Message = (*fastReflection_GetLatestNetworkInferencesResponse)(nil) + +type fastReflection_GetLatestNetworkInferencesResponse GetLatestNetworkInferencesResponse + +func (x *GetLatestNetworkInferencesResponse) ProtoReflect() protoreflect.Message { + return (*fastReflection_GetLatestNetworkInferencesResponse)(x) +} + +func (x *GetLatestNetworkInferencesResponse) slowProtoReflect() protoreflect.Message { + mi := &file_emissions_v8_query_proto_msgTypes[108] + 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) +} + +var _fastReflection_GetLatestNetworkInferencesResponse_messageType fastReflection_GetLatestNetworkInferencesResponse_messageType +var _ protoreflect.MessageType = fastReflection_GetLatestNetworkInferencesResponse_messageType{} + +type fastReflection_GetLatestNetworkInferencesResponse_messageType struct{} + +func (x fastReflection_GetLatestNetworkInferencesResponse_messageType) Zero() protoreflect.Message { + return (*fastReflection_GetLatestNetworkInferencesResponse)(nil) +} +func (x fastReflection_GetLatestNetworkInferencesResponse_messageType) New() protoreflect.Message { + return new(fastReflection_GetLatestNetworkInferencesResponse) +} +func (x fastReflection_GetLatestNetworkInferencesResponse_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_GetLatestNetworkInferencesResponse +} + +// Descriptor returns message descriptor, which contains only the protobuf +// type information for the message. +func (x *fastReflection_GetLatestNetworkInferencesResponse) Descriptor() protoreflect.MessageDescriptor { + return md_GetLatestNetworkInferencesResponse +} + +// Type returns the message type, which encapsulates both Go and protobuf +// type information. If the Go type information is not needed, +// it is recommended that the message descriptor be used instead. +func (x *fastReflection_GetLatestNetworkInferencesResponse) Type() protoreflect.MessageType { + return _fastReflection_GetLatestNetworkInferencesResponse_messageType +} + +// New returns a newly allocated and mutable empty message. +func (x *fastReflection_GetLatestNetworkInferencesResponse) New() protoreflect.Message { + return new(fastReflection_GetLatestNetworkInferencesResponse) +} + +// Interface unwraps the message reflection interface and +// returns the underlying ProtoMessage interface. +func (x *fastReflection_GetLatestNetworkInferencesResponse) Interface() protoreflect.ProtoMessage { + return (*GetLatestNetworkInferencesResponse)(x) +} + +// Range iterates over every populated field in an undefined order, +// calling f for each field descriptor and value encountered. +// Range returns immediately if f returns false. +// While iterating, mutating operations may only be performed +// on the current field descriptor. +func (x *fastReflection_GetLatestNetworkInferencesResponse) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { + if x.NetworkInferences != nil { + value := protoreflect.ValueOfMessage(x.NetworkInferences.ProtoReflect()) + if !f(fd_GetLatestNetworkInferencesResponse_network_inferences, value) { + return + } + } + if len(x.InfererWeights) != 0 { + value := protoreflect.ValueOfList(&_GetLatestNetworkInferencesResponse_2_list{list: &x.InfererWeights}) + if !f(fd_GetLatestNetworkInferencesResponse_inferer_weights, value) { + return + } + } + if len(x.ForecasterWeights) != 0 { + value := protoreflect.ValueOfList(&_GetLatestNetworkInferencesResponse_3_list{list: &x.ForecasterWeights}) + if !f(fd_GetLatestNetworkInferencesResponse_forecaster_weights, value) { + return + } + } + if x.InferenceBlockHeight != int64(0) { + value := protoreflect.ValueOfInt64(x.InferenceBlockHeight) + if !f(fd_GetLatestNetworkInferencesResponse_inference_block_height, value) { + return + } + } + if x.LossBlockHeight != int64(0) { + value := protoreflect.ValueOfInt64(x.LossBlockHeight) + if !f(fd_GetLatestNetworkInferencesResponse_loss_block_height, value) { + return + } + } + if len(x.ConfidenceIntervalRawPercentiles) != 0 { + value := protoreflect.ValueOfList(&_GetLatestNetworkInferencesResponse_7_list{list: &x.ConfidenceIntervalRawPercentiles}) + if !f(fd_GetLatestNetworkInferencesResponse_confidence_interval_raw_percentiles, value) { + return + } + } + if len(x.ConfidenceIntervalValues) != 0 { + value := protoreflect.ValueOfList(&_GetLatestNetworkInferencesResponse_8_list{list: &x.ConfidenceIntervalValues}) + if !f(fd_GetLatestNetworkInferencesResponse_confidence_interval_values, value) { + return + } + } +} + +// Has reports whether a field is populated. +// +// Some fields have the property of nullability where it is possible to +// distinguish between the default value of a field and whether the field +// was explicitly populated with the default value. Singular message fields, +// member fields of a oneof, and proto2 scalar fields are nullable. Such +// fields are populated only if explicitly set. +// +// In other cases (aside from the nullable cases above), +// a proto3 scalar field is populated if it contains a non-zero value, and +// a repeated field is populated if it is non-empty. +func (x *fastReflection_GetLatestNetworkInferencesResponse) Has(fd protoreflect.FieldDescriptor) bool { + switch fd.FullName() { + case "emissions.v8.GetLatestNetworkInferencesResponse.network_inferences": + return x.NetworkInferences != nil + case "emissions.v8.GetLatestNetworkInferencesResponse.inferer_weights": + return len(x.InfererWeights) != 0 + case "emissions.v8.GetLatestNetworkInferencesResponse.forecaster_weights": + return len(x.ForecasterWeights) != 0 + case "emissions.v8.GetLatestNetworkInferencesResponse.inference_block_height": + return x.InferenceBlockHeight != int64(0) + case "emissions.v8.GetLatestNetworkInferencesResponse.loss_block_height": + return x.LossBlockHeight != int64(0) + case "emissions.v8.GetLatestNetworkInferencesResponse.confidence_interval_raw_percentiles": + return len(x.ConfidenceIntervalRawPercentiles) != 0 + case "emissions.v8.GetLatestNetworkInferencesResponse.confidence_interval_values": + return len(x.ConfidenceIntervalValues) != 0 + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetLatestNetworkInferencesResponse")) + } + panic(fmt.Errorf("message emissions.v8.GetLatestNetworkInferencesResponse does not contain field %s", fd.FullName())) + } +} + +// Clear clears the field such that a subsequent Has call reports false. +// +// Clearing an extension field clears both the extension type and value +// associated with the given field number. +// +// Clear is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetLatestNetworkInferencesResponse) Clear(fd protoreflect.FieldDescriptor) { + switch fd.FullName() { + case "emissions.v8.GetLatestNetworkInferencesResponse.network_inferences": + x.NetworkInferences = nil + case "emissions.v8.GetLatestNetworkInferencesResponse.inferer_weights": + x.InfererWeights = nil + case "emissions.v8.GetLatestNetworkInferencesResponse.forecaster_weights": + x.ForecasterWeights = nil + case "emissions.v8.GetLatestNetworkInferencesResponse.inference_block_height": + x.InferenceBlockHeight = int64(0) + case "emissions.v8.GetLatestNetworkInferencesResponse.loss_block_height": + x.LossBlockHeight = int64(0) + case "emissions.v8.GetLatestNetworkInferencesResponse.confidence_interval_raw_percentiles": + x.ConfidenceIntervalRawPercentiles = nil + case "emissions.v8.GetLatestNetworkInferencesResponse.confidence_interval_values": + x.ConfidenceIntervalValues = nil + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetLatestNetworkInferencesResponse")) + } + panic(fmt.Errorf("message emissions.v8.GetLatestNetworkInferencesResponse does not contain field %s", fd.FullName())) + } +} + +// Get retrieves the value for a field. +// +// For unpopulated scalars, it returns the default value, where +// the default value of a bytes scalar is guaranteed to be a copy. +// For unpopulated composite types, it returns an empty, read-only view +// of the value; to obtain a mutable reference, use Mutable. +func (x *fastReflection_GetLatestNetworkInferencesResponse) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { + switch descriptor.FullName() { + case "emissions.v8.GetLatestNetworkInferencesResponse.network_inferences": + value := x.NetworkInferences + return protoreflect.ValueOfMessage(value.ProtoReflect()) + case "emissions.v8.GetLatestNetworkInferencesResponse.inferer_weights": + if len(x.InfererWeights) == 0 { + return protoreflect.ValueOfList(&_GetLatestNetworkInferencesResponse_2_list{}) + } + listValue := &_GetLatestNetworkInferencesResponse_2_list{list: &x.InfererWeights} + return protoreflect.ValueOfList(listValue) + case "emissions.v8.GetLatestNetworkInferencesResponse.forecaster_weights": + if len(x.ForecasterWeights) == 0 { + return protoreflect.ValueOfList(&_GetLatestNetworkInferencesResponse_3_list{}) + } + listValue := &_GetLatestNetworkInferencesResponse_3_list{list: &x.ForecasterWeights} + return protoreflect.ValueOfList(listValue) + case "emissions.v8.GetLatestNetworkInferencesResponse.inference_block_height": + value := x.InferenceBlockHeight + return protoreflect.ValueOfInt64(value) + case "emissions.v8.GetLatestNetworkInferencesResponse.loss_block_height": + value := x.LossBlockHeight + return protoreflect.ValueOfInt64(value) + case "emissions.v8.GetLatestNetworkInferencesResponse.confidence_interval_raw_percentiles": + if len(x.ConfidenceIntervalRawPercentiles) == 0 { + return protoreflect.ValueOfList(&_GetLatestNetworkInferencesResponse_7_list{}) + } + listValue := &_GetLatestNetworkInferencesResponse_7_list{list: &x.ConfidenceIntervalRawPercentiles} + return protoreflect.ValueOfList(listValue) + case "emissions.v8.GetLatestNetworkInferencesResponse.confidence_interval_values": + if len(x.ConfidenceIntervalValues) == 0 { + return protoreflect.ValueOfList(&_GetLatestNetworkInferencesResponse_8_list{}) + } + listValue := &_GetLatestNetworkInferencesResponse_8_list{list: &x.ConfidenceIntervalValues} + return protoreflect.ValueOfList(listValue) + default: + if descriptor.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetLatestNetworkInferencesResponse")) + } + panic(fmt.Errorf("message emissions.v8.GetLatestNetworkInferencesResponse does not contain field %s", descriptor.FullName())) + } +} + +// Set stores the value for a field. +// +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType. +// When setting a composite type, it is unspecified whether the stored value +// aliases the source's memory in any way. If the composite value is an +// empty, read-only value, then it panics. +// +// Set is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetLatestNetworkInferencesResponse) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { + switch fd.FullName() { + case "emissions.v8.GetLatestNetworkInferencesResponse.network_inferences": + x.NetworkInferences = value.Message().Interface().(*v3.ValueBundle) + case "emissions.v8.GetLatestNetworkInferencesResponse.inferer_weights": + lv := value.List() + clv := lv.(*_GetLatestNetworkInferencesResponse_2_list) + x.InfererWeights = *clv.list + case "emissions.v8.GetLatestNetworkInferencesResponse.forecaster_weights": + lv := value.List() + clv := lv.(*_GetLatestNetworkInferencesResponse_3_list) + x.ForecasterWeights = *clv.list + case "emissions.v8.GetLatestNetworkInferencesResponse.inference_block_height": + x.InferenceBlockHeight = value.Int() + case "emissions.v8.GetLatestNetworkInferencesResponse.loss_block_height": + x.LossBlockHeight = value.Int() + case "emissions.v8.GetLatestNetworkInferencesResponse.confidence_interval_raw_percentiles": + lv := value.List() + clv := lv.(*_GetLatestNetworkInferencesResponse_7_list) + x.ConfidenceIntervalRawPercentiles = *clv.list + case "emissions.v8.GetLatestNetworkInferencesResponse.confidence_interval_values": + lv := value.List() + clv := lv.(*_GetLatestNetworkInferencesResponse_8_list) + x.ConfidenceIntervalValues = *clv.list + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetLatestNetworkInferencesResponse")) + } + panic(fmt.Errorf("message emissions.v8.GetLatestNetworkInferencesResponse does not contain field %s", fd.FullName())) + } +} + +// Mutable returns a mutable reference to a composite type. +// +// If the field is unpopulated, it may allocate a composite value. +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType +// if not already stored. +// It panics if the field does not contain a composite type. +// +// Mutable is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetLatestNetworkInferencesResponse) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.GetLatestNetworkInferencesResponse.network_inferences": + if x.NetworkInferences == nil { + x.NetworkInferences = new(v3.ValueBundle) + } + return protoreflect.ValueOfMessage(x.NetworkInferences.ProtoReflect()) + case "emissions.v8.GetLatestNetworkInferencesResponse.inferer_weights": + if x.InfererWeights == nil { + x.InfererWeights = []*v3.RegretInformedWeight{} + } + value := &_GetLatestNetworkInferencesResponse_2_list{list: &x.InfererWeights} + return protoreflect.ValueOfList(value) + case "emissions.v8.GetLatestNetworkInferencesResponse.forecaster_weights": + if x.ForecasterWeights == nil { + x.ForecasterWeights = []*v3.RegretInformedWeight{} + } + value := &_GetLatestNetworkInferencesResponse_3_list{list: &x.ForecasterWeights} + return protoreflect.ValueOfList(value) + case "emissions.v8.GetLatestNetworkInferencesResponse.confidence_interval_raw_percentiles": + if x.ConfidenceIntervalRawPercentiles == nil { + x.ConfidenceIntervalRawPercentiles = []string{} + } + value := &_GetLatestNetworkInferencesResponse_7_list{list: &x.ConfidenceIntervalRawPercentiles} + return protoreflect.ValueOfList(value) + case "emissions.v8.GetLatestNetworkInferencesResponse.confidence_interval_values": + if x.ConfidenceIntervalValues == nil { + x.ConfidenceIntervalValues = []string{} + } + value := &_GetLatestNetworkInferencesResponse_8_list{list: &x.ConfidenceIntervalValues} + return protoreflect.ValueOfList(value) + case "emissions.v8.GetLatestNetworkInferencesResponse.inference_block_height": + panic(fmt.Errorf("field inference_block_height of message emissions.v8.GetLatestNetworkInferencesResponse is not mutable")) + case "emissions.v8.GetLatestNetworkInferencesResponse.loss_block_height": + panic(fmt.Errorf("field loss_block_height of message emissions.v8.GetLatestNetworkInferencesResponse is not mutable")) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetLatestNetworkInferencesResponse")) + } + panic(fmt.Errorf("message emissions.v8.GetLatestNetworkInferencesResponse does not contain field %s", fd.FullName())) + } +} + +// NewField returns a new value that is assignable to the field +// for the given descriptor. For scalars, this returns the default value. +// For lists, maps, and messages, this returns a new, empty, mutable value. +func (x *fastReflection_GetLatestNetworkInferencesResponse) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.GetLatestNetworkInferencesResponse.network_inferences": + m := new(v3.ValueBundle) + return protoreflect.ValueOfMessage(m.ProtoReflect()) + case "emissions.v8.GetLatestNetworkInferencesResponse.inferer_weights": + list := []*v3.RegretInformedWeight{} + return protoreflect.ValueOfList(&_GetLatestNetworkInferencesResponse_2_list{list: &list}) + case "emissions.v8.GetLatestNetworkInferencesResponse.forecaster_weights": + list := []*v3.RegretInformedWeight{} + return protoreflect.ValueOfList(&_GetLatestNetworkInferencesResponse_3_list{list: &list}) + case "emissions.v8.GetLatestNetworkInferencesResponse.inference_block_height": + return protoreflect.ValueOfInt64(int64(0)) + case "emissions.v8.GetLatestNetworkInferencesResponse.loss_block_height": + return protoreflect.ValueOfInt64(int64(0)) + case "emissions.v8.GetLatestNetworkInferencesResponse.confidence_interval_raw_percentiles": + list := []string{} + return protoreflect.ValueOfList(&_GetLatestNetworkInferencesResponse_7_list{list: &list}) + case "emissions.v8.GetLatestNetworkInferencesResponse.confidence_interval_values": + list := []string{} + return protoreflect.ValueOfList(&_GetLatestNetworkInferencesResponse_8_list{list: &list}) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetLatestNetworkInferencesResponse")) + } + panic(fmt.Errorf("message emissions.v8.GetLatestNetworkInferencesResponse does not contain field %s", fd.FullName())) + } +} + +// WhichOneof reports which field within the oneof is populated, +// returning nil if none are populated. +// It panics if the oneof descriptor does not belong to this message. +func (x *fastReflection_GetLatestNetworkInferencesResponse) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { + switch d.FullName() { + default: + panic(fmt.Errorf("%s is not a oneof field in emissions.v8.GetLatestNetworkInferencesResponse", d.FullName())) + } + panic("unreachable") +} + +// GetUnknown retrieves the entire list of unknown fields. +// The caller may only mutate the contents of the RawFields +// if the mutated bytes are stored back into the message with SetUnknown. +func (x *fastReflection_GetLatestNetworkInferencesResponse) GetUnknown() protoreflect.RawFields { + return x.unknownFields +} + +// SetUnknown stores an entire list of unknown fields. +// The raw fields must be syntactically valid according to the wire format. +// An implementation may panic if this is not the case. +// Once stored, the caller must not mutate the content of the RawFields. +// An empty RawFields may be passed to clear the fields. +// +// SetUnknown is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetLatestNetworkInferencesResponse) SetUnknown(fields protoreflect.RawFields) { + x.unknownFields = fields +} + +// IsValid reports whether the message is valid. +// +// An invalid message is an empty, read-only value. +// +// An invalid message often corresponds to a nil pointer of the concrete +// message type, but the details are implementation dependent. +// Validity is not part of the protobuf data model, and may not +// be preserved in marshaling or other operations. +func (x *fastReflection_GetLatestNetworkInferencesResponse) IsValid() bool { + return x != nil +} + +// ProtoMethods returns optional fastReflectionFeature-path implementations of various operations. +// This method may return nil. +// +// The returned methods type is identical to +// "google.golang.org/protobuf/runtime/protoiface".Methods. +// Consult the protoiface package documentation for details. +func (x *fastReflection_GetLatestNetworkInferencesResponse) ProtoMethods() *protoiface.Methods { + size := func(input protoiface.SizeInput) protoiface.SizeOutput { + x := input.Message.Interface().(*GetLatestNetworkInferencesResponse) + if x == nil { + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: 0, + } + } + options := runtime.SizeInputToOptions(input) + _ = options + var n int + var l int + _ = l + if x.NetworkInferences != nil { + l = options.Size(x.NetworkInferences) + n += 1 + l + runtime.Sov(uint64(l)) + } + if len(x.InfererWeights) > 0 { + for _, e := range x.InfererWeights { + l = options.Size(e) + n += 1 + l + runtime.Sov(uint64(l)) + } + } + if len(x.ForecasterWeights) > 0 { + for _, e := range x.ForecasterWeights { + l = options.Size(e) + n += 1 + l + runtime.Sov(uint64(l)) + } + } + if x.InferenceBlockHeight != 0 { + n += 1 + runtime.Sov(uint64(x.InferenceBlockHeight)) + } + if x.LossBlockHeight != 0 { + n += 1 + runtime.Sov(uint64(x.LossBlockHeight)) + } + if len(x.ConfidenceIntervalRawPercentiles) > 0 { + for _, s := range x.ConfidenceIntervalRawPercentiles { + l = len(s) + n += 1 + l + runtime.Sov(uint64(l)) + } + } + if len(x.ConfidenceIntervalValues) > 0 { + for _, s := range x.ConfidenceIntervalValues { + l = len(s) + n += 1 + l + runtime.Sov(uint64(l)) + } + } + if x.unknownFields != nil { + n += len(x.unknownFields) + } + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: n, + } + } + + marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { + x := input.Message.Interface().(*GetLatestNetworkInferencesResponse) + if x == nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + options := runtime.MarshalInputToOptions(input) + _ = options + size := options.Size(x) + dAtA := make([]byte, size) + i := len(dAtA) + _ = i + var l int + _ = l + if x.unknownFields != nil { + i -= len(x.unknownFields) + copy(dAtA[i:], x.unknownFields) + } + if len(x.ConfidenceIntervalValues) > 0 { + for iNdEx := len(x.ConfidenceIntervalValues) - 1; iNdEx >= 0; iNdEx-- { + i -= len(x.ConfidenceIntervalValues[iNdEx]) + copy(dAtA[i:], x.ConfidenceIntervalValues[iNdEx]) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.ConfidenceIntervalValues[iNdEx]))) + i-- + dAtA[i] = 0x42 + } + } + if len(x.ConfidenceIntervalRawPercentiles) > 0 { + for iNdEx := len(x.ConfidenceIntervalRawPercentiles) - 1; iNdEx >= 0; iNdEx-- { + i -= len(x.ConfidenceIntervalRawPercentiles[iNdEx]) + copy(dAtA[i:], x.ConfidenceIntervalRawPercentiles[iNdEx]) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.ConfidenceIntervalRawPercentiles[iNdEx]))) + i-- + dAtA[i] = 0x3a + } + } + if x.LossBlockHeight != 0 { + i = runtime.EncodeVarint(dAtA, i, uint64(x.LossBlockHeight)) + i-- + dAtA[i] = 0x30 + } + if x.InferenceBlockHeight != 0 { + i = runtime.EncodeVarint(dAtA, i, uint64(x.InferenceBlockHeight)) + i-- + dAtA[i] = 0x28 + } + if len(x.ForecasterWeights) > 0 { + for iNdEx := len(x.ForecasterWeights) - 1; iNdEx >= 0; iNdEx-- { + encoded, err := options.Marshal(x.ForecasterWeights[iNdEx]) + if err != nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = runtime.EncodeVarint(dAtA, i, uint64(len(encoded))) + i-- + dAtA[i] = 0x1a + } + } + if len(x.InfererWeights) > 0 { + for iNdEx := len(x.InfererWeights) - 1; iNdEx >= 0; iNdEx-- { + encoded, err := options.Marshal(x.InfererWeights[iNdEx]) + if err != nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = runtime.EncodeVarint(dAtA, i, uint64(len(encoded))) + i-- + dAtA[i] = 0x12 + } + } + if x.NetworkInferences != nil { + encoded, err := options.Marshal(x.NetworkInferences) + if err != nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = runtime.EncodeVarint(dAtA, i, uint64(len(encoded))) + i-- + dAtA[i] = 0xa + } + if input.Buf != nil { + input.Buf = append(input.Buf, dAtA...) + } else { + input.Buf = dAtA + } + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { + x := input.Message.Interface().(*GetLatestNetworkInferencesResponse) + if x == nil { + return protoiface.UnmarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Flags: input.Flags, + }, nil + } + options := runtime.UnmarshalInputToOptions(input) + _ = options + dAtA := input.Buf + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: GetLatestNetworkInferencesResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: GetLatestNetworkInferencesResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field NetworkInferences", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + if x.NetworkInferences == nil { + x.NetworkInferences = &v3.ValueBundle{} + } + if err := options.Unmarshal(dAtA[iNdEx:postIndex], x.NetworkInferences); err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + iNdEx = postIndex + case 2: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field InfererWeights", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + x.InfererWeights = append(x.InfererWeights, &v3.RegretInformedWeight{}) + if err := options.Unmarshal(dAtA[iNdEx:postIndex], x.InfererWeights[len(x.InfererWeights)-1]); err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + iNdEx = postIndex + case 3: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field ForecasterWeights", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + x.ForecasterWeights = append(x.ForecasterWeights, &v3.RegretInformedWeight{}) + if err := options.Unmarshal(dAtA[iNdEx:postIndex], x.ForecasterWeights[len(x.ForecasterWeights)-1]); err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + iNdEx = postIndex + case 5: + if wireType != 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field InferenceBlockHeight", wireType) + } + x.InferenceBlockHeight = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + x.InferenceBlockHeight |= int64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 6: + if wireType != 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field LossBlockHeight", wireType) + } + x.LossBlockHeight = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + x.LossBlockHeight |= int64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 7: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field ConfidenceIntervalRawPercentiles", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + x.ConfidenceIntervalRawPercentiles = append(x.ConfidenceIntervalRawPercentiles, string(dAtA[iNdEx:postIndex])) + iNdEx = postIndex + case 8: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field ConfidenceIntervalValues", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + x.ConfidenceIntervalValues = append(x.ConfidenceIntervalValues, string(dAtA[iNdEx:postIndex])) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := runtime.Skip(dAtA[iNdEx:]) + if err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if (iNdEx + skippy) > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + if !options.DiscardUnknown { + x.unknownFields = append(x.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + } + iNdEx += skippy + } + } + + if iNdEx > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, nil + } + return &protoiface.Methods{ + NoUnkeyedLiterals: struct{}{}, + Flags: protoiface.SupportMarshalDeterministic | protoiface.SupportUnmarshalDiscardUnknown, + Size: size, + Marshal: marshal, + Unmarshal: unmarshal, + Merge: nil, + CheckInitialized: nil, + } +} + +var _ protoreflect.List = (*_GetLatestNetworkInferencesOutlierResistantResponse_2_list)(nil) + +type _GetLatestNetworkInferencesOutlierResistantResponse_2_list struct { + list *[]*v3.RegretInformedWeight +} + +func (x *_GetLatestNetworkInferencesOutlierResistantResponse_2_list) Len() int { + if x.list == nil { + return 0 + } + return len(*x.list) +} + +func (x *_GetLatestNetworkInferencesOutlierResistantResponse_2_list) Get(i int) protoreflect.Value { + return protoreflect.ValueOfMessage((*x.list)[i].ProtoReflect()) +} + +func (x *_GetLatestNetworkInferencesOutlierResistantResponse_2_list) Set(i int, value protoreflect.Value) { + valueUnwrapped := value.Message() + concreteValue := valueUnwrapped.Interface().(*v3.RegretInformedWeight) + (*x.list)[i] = concreteValue +} + +func (x *_GetLatestNetworkInferencesOutlierResistantResponse_2_list) Append(value protoreflect.Value) { + valueUnwrapped := value.Message() + concreteValue := valueUnwrapped.Interface().(*v3.RegretInformedWeight) + *x.list = append(*x.list, concreteValue) +} + +func (x *_GetLatestNetworkInferencesOutlierResistantResponse_2_list) AppendMutable() protoreflect.Value { + v := new(v3.RegretInformedWeight) + *x.list = append(*x.list, v) + return protoreflect.ValueOfMessage(v.ProtoReflect()) +} + +func (x *_GetLatestNetworkInferencesOutlierResistantResponse_2_list) Truncate(n int) { + for i := n; i < len(*x.list); i++ { + (*x.list)[i] = nil + } + *x.list = (*x.list)[:n] +} + +func (x *_GetLatestNetworkInferencesOutlierResistantResponse_2_list) NewElement() protoreflect.Value { + v := new(v3.RegretInformedWeight) + return protoreflect.ValueOfMessage(v.ProtoReflect()) +} + +func (x *_GetLatestNetworkInferencesOutlierResistantResponse_2_list) IsValid() bool { + return x.list != nil +} + +var _ protoreflect.List = (*_GetLatestNetworkInferencesOutlierResistantResponse_3_list)(nil) + +type _GetLatestNetworkInferencesOutlierResistantResponse_3_list struct { + list *[]*v3.RegretInformedWeight +} + +func (x *_GetLatestNetworkInferencesOutlierResistantResponse_3_list) Len() int { + if x.list == nil { + return 0 + } + return len(*x.list) +} + +func (x *_GetLatestNetworkInferencesOutlierResistantResponse_3_list) Get(i int) protoreflect.Value { + return protoreflect.ValueOfMessage((*x.list)[i].ProtoReflect()) +} + +func (x *_GetLatestNetworkInferencesOutlierResistantResponse_3_list) Set(i int, value protoreflect.Value) { + valueUnwrapped := value.Message() + concreteValue := valueUnwrapped.Interface().(*v3.RegretInformedWeight) + (*x.list)[i] = concreteValue +} + +func (x *_GetLatestNetworkInferencesOutlierResistantResponse_3_list) Append(value protoreflect.Value) { + valueUnwrapped := value.Message() + concreteValue := valueUnwrapped.Interface().(*v3.RegretInformedWeight) + *x.list = append(*x.list, concreteValue) +} + +func (x *_GetLatestNetworkInferencesOutlierResistantResponse_3_list) AppendMutable() protoreflect.Value { + v := new(v3.RegretInformedWeight) + *x.list = append(*x.list, v) + return protoreflect.ValueOfMessage(v.ProtoReflect()) +} + +func (x *_GetLatestNetworkInferencesOutlierResistantResponse_3_list) Truncate(n int) { + for i := n; i < len(*x.list); i++ { + (*x.list)[i] = nil + } + *x.list = (*x.list)[:n] +} + +func (x *_GetLatestNetworkInferencesOutlierResistantResponse_3_list) NewElement() protoreflect.Value { + v := new(v3.RegretInformedWeight) + return protoreflect.ValueOfMessage(v.ProtoReflect()) +} + +func (x *_GetLatestNetworkInferencesOutlierResistantResponse_3_list) IsValid() bool { + return x.list != nil +} + +var _ protoreflect.List = (*_GetLatestNetworkInferencesOutlierResistantResponse_7_list)(nil) + +type _GetLatestNetworkInferencesOutlierResistantResponse_7_list struct { + list *[]string +} + +func (x *_GetLatestNetworkInferencesOutlierResistantResponse_7_list) Len() int { + if x.list == nil { + return 0 + } + return len(*x.list) +} + +func (x *_GetLatestNetworkInferencesOutlierResistantResponse_7_list) Get(i int) protoreflect.Value { + return protoreflect.ValueOfString((*x.list)[i]) +} + +func (x *_GetLatestNetworkInferencesOutlierResistantResponse_7_list) Set(i int, value protoreflect.Value) { + valueUnwrapped := value.String() + concreteValue := valueUnwrapped + (*x.list)[i] = concreteValue +} + +func (x *_GetLatestNetworkInferencesOutlierResistantResponse_7_list) Append(value protoreflect.Value) { + valueUnwrapped := value.String() + concreteValue := valueUnwrapped + *x.list = append(*x.list, concreteValue) +} + +func (x *_GetLatestNetworkInferencesOutlierResistantResponse_7_list) AppendMutable() protoreflect.Value { + panic(fmt.Errorf("AppendMutable can not be called on message GetLatestNetworkInferencesOutlierResistantResponse at list field ConfidenceIntervalRawPercentiles as it is not of Message kind")) +} + +func (x *_GetLatestNetworkInferencesOutlierResistantResponse_7_list) Truncate(n int) { + *x.list = (*x.list)[:n] +} + +func (x *_GetLatestNetworkInferencesOutlierResistantResponse_7_list) NewElement() protoreflect.Value { + v := "" + return protoreflect.ValueOfString(v) +} + +func (x *_GetLatestNetworkInferencesOutlierResistantResponse_7_list) IsValid() bool { + return x.list != nil +} + +var _ protoreflect.List = (*_GetLatestNetworkInferencesOutlierResistantResponse_8_list)(nil) + +type _GetLatestNetworkInferencesOutlierResistantResponse_8_list struct { + list *[]string +} + +func (x *_GetLatestNetworkInferencesOutlierResistantResponse_8_list) Len() int { + if x.list == nil { + return 0 + } + return len(*x.list) +} + +func (x *_GetLatestNetworkInferencesOutlierResistantResponse_8_list) Get(i int) protoreflect.Value { + return protoreflect.ValueOfString((*x.list)[i]) +} + +func (x *_GetLatestNetworkInferencesOutlierResistantResponse_8_list) Set(i int, value protoreflect.Value) { + valueUnwrapped := value.String() + concreteValue := valueUnwrapped + (*x.list)[i] = concreteValue +} + +func (x *_GetLatestNetworkInferencesOutlierResistantResponse_8_list) Append(value protoreflect.Value) { + valueUnwrapped := value.String() + concreteValue := valueUnwrapped + *x.list = append(*x.list, concreteValue) +} + +func (x *_GetLatestNetworkInferencesOutlierResistantResponse_8_list) AppendMutable() protoreflect.Value { + panic(fmt.Errorf("AppendMutable can not be called on message GetLatestNetworkInferencesOutlierResistantResponse at list field ConfidenceIntervalValues as it is not of Message kind")) +} + +func (x *_GetLatestNetworkInferencesOutlierResistantResponse_8_list) Truncate(n int) { + *x.list = (*x.list)[:n] +} + +func (x *_GetLatestNetworkInferencesOutlierResistantResponse_8_list) NewElement() protoreflect.Value { + v := "" + return protoreflect.ValueOfString(v) +} + +func (x *_GetLatestNetworkInferencesOutlierResistantResponse_8_list) IsValid() bool { + return x.list != nil +} + +var ( + md_GetLatestNetworkInferencesOutlierResistantResponse protoreflect.MessageDescriptor + fd_GetLatestNetworkInferencesOutlierResistantResponse_network_inferences protoreflect.FieldDescriptor + fd_GetLatestNetworkInferencesOutlierResistantResponse_inferer_weights protoreflect.FieldDescriptor + fd_GetLatestNetworkInferencesOutlierResistantResponse_forecaster_weights protoreflect.FieldDescriptor + fd_GetLatestNetworkInferencesOutlierResistantResponse_inference_block_height protoreflect.FieldDescriptor + fd_GetLatestNetworkInferencesOutlierResistantResponse_loss_block_height protoreflect.FieldDescriptor + fd_GetLatestNetworkInferencesOutlierResistantResponse_confidence_interval_raw_percentiles protoreflect.FieldDescriptor + fd_GetLatestNetworkInferencesOutlierResistantResponse_confidence_interval_values protoreflect.FieldDescriptor +) + +func init() { + file_emissions_v8_query_proto_init() + md_GetLatestNetworkInferencesOutlierResistantResponse = File_emissions_v8_query_proto.Messages().ByName("GetLatestNetworkInferencesOutlierResistantResponse") + fd_GetLatestNetworkInferencesOutlierResistantResponse_network_inferences = md_GetLatestNetworkInferencesOutlierResistantResponse.Fields().ByName("network_inferences") + fd_GetLatestNetworkInferencesOutlierResistantResponse_inferer_weights = md_GetLatestNetworkInferencesOutlierResistantResponse.Fields().ByName("inferer_weights") + fd_GetLatestNetworkInferencesOutlierResistantResponse_forecaster_weights = md_GetLatestNetworkInferencesOutlierResistantResponse.Fields().ByName("forecaster_weights") + fd_GetLatestNetworkInferencesOutlierResistantResponse_inference_block_height = md_GetLatestNetworkInferencesOutlierResistantResponse.Fields().ByName("inference_block_height") + fd_GetLatestNetworkInferencesOutlierResistantResponse_loss_block_height = md_GetLatestNetworkInferencesOutlierResistantResponse.Fields().ByName("loss_block_height") + fd_GetLatestNetworkInferencesOutlierResistantResponse_confidence_interval_raw_percentiles = md_GetLatestNetworkInferencesOutlierResistantResponse.Fields().ByName("confidence_interval_raw_percentiles") + fd_GetLatestNetworkInferencesOutlierResistantResponse_confidence_interval_values = md_GetLatestNetworkInferencesOutlierResistantResponse.Fields().ByName("confidence_interval_values") +} + +var _ protoreflect.Message = (*fastReflection_GetLatestNetworkInferencesOutlierResistantResponse)(nil) + +type fastReflection_GetLatestNetworkInferencesOutlierResistantResponse GetLatestNetworkInferencesOutlierResistantResponse + +func (x *GetLatestNetworkInferencesOutlierResistantResponse) ProtoReflect() protoreflect.Message { + return (*fastReflection_GetLatestNetworkInferencesOutlierResistantResponse)(x) +} + +func (x *GetLatestNetworkInferencesOutlierResistantResponse) slowProtoReflect() protoreflect.Message { + mi := &file_emissions_v8_query_proto_msgTypes[109] + 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) +} + +var _fastReflection_GetLatestNetworkInferencesOutlierResistantResponse_messageType fastReflection_GetLatestNetworkInferencesOutlierResistantResponse_messageType +var _ protoreflect.MessageType = fastReflection_GetLatestNetworkInferencesOutlierResistantResponse_messageType{} + +type fastReflection_GetLatestNetworkInferencesOutlierResistantResponse_messageType struct{} + +func (x fastReflection_GetLatestNetworkInferencesOutlierResistantResponse_messageType) Zero() protoreflect.Message { + return (*fastReflection_GetLatestNetworkInferencesOutlierResistantResponse)(nil) +} +func (x fastReflection_GetLatestNetworkInferencesOutlierResistantResponse_messageType) New() protoreflect.Message { + return new(fastReflection_GetLatestNetworkInferencesOutlierResistantResponse) +} +func (x fastReflection_GetLatestNetworkInferencesOutlierResistantResponse_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_GetLatestNetworkInferencesOutlierResistantResponse +} + +// Descriptor returns message descriptor, which contains only the protobuf +// type information for the message. +func (x *fastReflection_GetLatestNetworkInferencesOutlierResistantResponse) Descriptor() protoreflect.MessageDescriptor { + return md_GetLatestNetworkInferencesOutlierResistantResponse +} + +// Type returns the message type, which encapsulates both Go and protobuf +// type information. If the Go type information is not needed, +// it is recommended that the message descriptor be used instead. +func (x *fastReflection_GetLatestNetworkInferencesOutlierResistantResponse) Type() protoreflect.MessageType { + return _fastReflection_GetLatestNetworkInferencesOutlierResistantResponse_messageType +} + +// New returns a newly allocated and mutable empty message. +func (x *fastReflection_GetLatestNetworkInferencesOutlierResistantResponse) New() protoreflect.Message { + return new(fastReflection_GetLatestNetworkInferencesOutlierResistantResponse) +} + +// Interface unwraps the message reflection interface and +// returns the underlying ProtoMessage interface. +func (x *fastReflection_GetLatestNetworkInferencesOutlierResistantResponse) Interface() protoreflect.ProtoMessage { + return (*GetLatestNetworkInferencesOutlierResistantResponse)(x) +} + +// Range iterates over every populated field in an undefined order, +// calling f for each field descriptor and value encountered. +// Range returns immediately if f returns false. +// While iterating, mutating operations may only be performed +// on the current field descriptor. +func (x *fastReflection_GetLatestNetworkInferencesOutlierResistantResponse) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { + if x.NetworkInferences != nil { + value := protoreflect.ValueOfMessage(x.NetworkInferences.ProtoReflect()) + if !f(fd_GetLatestNetworkInferencesOutlierResistantResponse_network_inferences, value) { + return + } + } + if len(x.InfererWeights) != 0 { + value := protoreflect.ValueOfList(&_GetLatestNetworkInferencesOutlierResistantResponse_2_list{list: &x.InfererWeights}) + if !f(fd_GetLatestNetworkInferencesOutlierResistantResponse_inferer_weights, value) { + return + } + } + if len(x.ForecasterWeights) != 0 { + value := protoreflect.ValueOfList(&_GetLatestNetworkInferencesOutlierResistantResponse_3_list{list: &x.ForecasterWeights}) + if !f(fd_GetLatestNetworkInferencesOutlierResistantResponse_forecaster_weights, value) { + return + } + } + if x.InferenceBlockHeight != int64(0) { + value := protoreflect.ValueOfInt64(x.InferenceBlockHeight) + if !f(fd_GetLatestNetworkInferencesOutlierResistantResponse_inference_block_height, value) { + return + } + } + if x.LossBlockHeight != int64(0) { + value := protoreflect.ValueOfInt64(x.LossBlockHeight) + if !f(fd_GetLatestNetworkInferencesOutlierResistantResponse_loss_block_height, value) { + return + } + } + if len(x.ConfidenceIntervalRawPercentiles) != 0 { + value := protoreflect.ValueOfList(&_GetLatestNetworkInferencesOutlierResistantResponse_7_list{list: &x.ConfidenceIntervalRawPercentiles}) + if !f(fd_GetLatestNetworkInferencesOutlierResistantResponse_confidence_interval_raw_percentiles, value) { + return + } + } + if len(x.ConfidenceIntervalValues) != 0 { + value := protoreflect.ValueOfList(&_GetLatestNetworkInferencesOutlierResistantResponse_8_list{list: &x.ConfidenceIntervalValues}) + if !f(fd_GetLatestNetworkInferencesOutlierResistantResponse_confidence_interval_values, value) { + return + } + } +} + +// Has reports whether a field is populated. +// +// Some fields have the property of nullability where it is possible to +// distinguish between the default value of a field and whether the field +// was explicitly populated with the default value. Singular message fields, +// member fields of a oneof, and proto2 scalar fields are nullable. Such +// fields are populated only if explicitly set. +// +// In other cases (aside from the nullable cases above), +// a proto3 scalar field is populated if it contains a non-zero value, and +// a repeated field is populated if it is non-empty. +func (x *fastReflection_GetLatestNetworkInferencesOutlierResistantResponse) Has(fd protoreflect.FieldDescriptor) bool { + switch fd.FullName() { + case "emissions.v8.GetLatestNetworkInferencesOutlierResistantResponse.network_inferences": + return x.NetworkInferences != nil + case "emissions.v8.GetLatestNetworkInferencesOutlierResistantResponse.inferer_weights": + return len(x.InfererWeights) != 0 + case "emissions.v8.GetLatestNetworkInferencesOutlierResistantResponse.forecaster_weights": + return len(x.ForecasterWeights) != 0 + case "emissions.v8.GetLatestNetworkInferencesOutlierResistantResponse.inference_block_height": + return x.InferenceBlockHeight != int64(0) + case "emissions.v8.GetLatestNetworkInferencesOutlierResistantResponse.loss_block_height": + return x.LossBlockHeight != int64(0) + case "emissions.v8.GetLatestNetworkInferencesOutlierResistantResponse.confidence_interval_raw_percentiles": + return len(x.ConfidenceIntervalRawPercentiles) != 0 + case "emissions.v8.GetLatestNetworkInferencesOutlierResistantResponse.confidence_interval_values": + return len(x.ConfidenceIntervalValues) != 0 + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetLatestNetworkInferencesOutlierResistantResponse")) + } + panic(fmt.Errorf("message emissions.v8.GetLatestNetworkInferencesOutlierResistantResponse does not contain field %s", fd.FullName())) + } +} + +// Clear clears the field such that a subsequent Has call reports false. +// +// Clearing an extension field clears both the extension type and value +// associated with the given field number. +// +// Clear is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetLatestNetworkInferencesOutlierResistantResponse) Clear(fd protoreflect.FieldDescriptor) { + switch fd.FullName() { + case "emissions.v8.GetLatestNetworkInferencesOutlierResistantResponse.network_inferences": + x.NetworkInferences = nil + case "emissions.v8.GetLatestNetworkInferencesOutlierResistantResponse.inferer_weights": + x.InfererWeights = nil + case "emissions.v8.GetLatestNetworkInferencesOutlierResistantResponse.forecaster_weights": + x.ForecasterWeights = nil + case "emissions.v8.GetLatestNetworkInferencesOutlierResistantResponse.inference_block_height": + x.InferenceBlockHeight = int64(0) + case "emissions.v8.GetLatestNetworkInferencesOutlierResistantResponse.loss_block_height": + x.LossBlockHeight = int64(0) + case "emissions.v8.GetLatestNetworkInferencesOutlierResistantResponse.confidence_interval_raw_percentiles": + x.ConfidenceIntervalRawPercentiles = nil + case "emissions.v8.GetLatestNetworkInferencesOutlierResistantResponse.confidence_interval_values": + x.ConfidenceIntervalValues = nil + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetLatestNetworkInferencesOutlierResistantResponse")) + } + panic(fmt.Errorf("message emissions.v8.GetLatestNetworkInferencesOutlierResistantResponse does not contain field %s", fd.FullName())) + } +} + +// Get retrieves the value for a field. +// +// For unpopulated scalars, it returns the default value, where +// the default value of a bytes scalar is guaranteed to be a copy. +// For unpopulated composite types, it returns an empty, read-only view +// of the value; to obtain a mutable reference, use Mutable. +func (x *fastReflection_GetLatestNetworkInferencesOutlierResistantResponse) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { + switch descriptor.FullName() { + case "emissions.v8.GetLatestNetworkInferencesOutlierResistantResponse.network_inferences": + value := x.NetworkInferences + return protoreflect.ValueOfMessage(value.ProtoReflect()) + case "emissions.v8.GetLatestNetworkInferencesOutlierResistantResponse.inferer_weights": + if len(x.InfererWeights) == 0 { + return protoreflect.ValueOfList(&_GetLatestNetworkInferencesOutlierResistantResponse_2_list{}) + } + listValue := &_GetLatestNetworkInferencesOutlierResistantResponse_2_list{list: &x.InfererWeights} + return protoreflect.ValueOfList(listValue) + case "emissions.v8.GetLatestNetworkInferencesOutlierResistantResponse.forecaster_weights": + if len(x.ForecasterWeights) == 0 { + return protoreflect.ValueOfList(&_GetLatestNetworkInferencesOutlierResistantResponse_3_list{}) + } + listValue := &_GetLatestNetworkInferencesOutlierResistantResponse_3_list{list: &x.ForecasterWeights} + return protoreflect.ValueOfList(listValue) + case "emissions.v8.GetLatestNetworkInferencesOutlierResistantResponse.inference_block_height": + value := x.InferenceBlockHeight + return protoreflect.ValueOfInt64(value) + case "emissions.v8.GetLatestNetworkInferencesOutlierResistantResponse.loss_block_height": + value := x.LossBlockHeight + return protoreflect.ValueOfInt64(value) + case "emissions.v8.GetLatestNetworkInferencesOutlierResistantResponse.confidence_interval_raw_percentiles": + if len(x.ConfidenceIntervalRawPercentiles) == 0 { + return protoreflect.ValueOfList(&_GetLatestNetworkInferencesOutlierResistantResponse_7_list{}) + } + listValue := &_GetLatestNetworkInferencesOutlierResistantResponse_7_list{list: &x.ConfidenceIntervalRawPercentiles} + return protoreflect.ValueOfList(listValue) + case "emissions.v8.GetLatestNetworkInferencesOutlierResistantResponse.confidence_interval_values": + if len(x.ConfidenceIntervalValues) == 0 { + return protoreflect.ValueOfList(&_GetLatestNetworkInferencesOutlierResistantResponse_8_list{}) + } + listValue := &_GetLatestNetworkInferencesOutlierResistantResponse_8_list{list: &x.ConfidenceIntervalValues} + return protoreflect.ValueOfList(listValue) + default: + if descriptor.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetLatestNetworkInferencesOutlierResistantResponse")) + } + panic(fmt.Errorf("message emissions.v8.GetLatestNetworkInferencesOutlierResistantResponse does not contain field %s", descriptor.FullName())) + } +} + +// Set stores the value for a field. +// +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType. +// When setting a composite type, it is unspecified whether the stored value +// aliases the source's memory in any way. If the composite value is an +// empty, read-only value, then it panics. +// +// Set is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetLatestNetworkInferencesOutlierResistantResponse) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { + switch fd.FullName() { + case "emissions.v8.GetLatestNetworkInferencesOutlierResistantResponse.network_inferences": + x.NetworkInferences = value.Message().Interface().(*v3.ValueBundle) + case "emissions.v8.GetLatestNetworkInferencesOutlierResistantResponse.inferer_weights": + lv := value.List() + clv := lv.(*_GetLatestNetworkInferencesOutlierResistantResponse_2_list) + x.InfererWeights = *clv.list + case "emissions.v8.GetLatestNetworkInferencesOutlierResistantResponse.forecaster_weights": + lv := value.List() + clv := lv.(*_GetLatestNetworkInferencesOutlierResistantResponse_3_list) + x.ForecasterWeights = *clv.list + case "emissions.v8.GetLatestNetworkInferencesOutlierResistantResponse.inference_block_height": + x.InferenceBlockHeight = value.Int() + case "emissions.v8.GetLatestNetworkInferencesOutlierResistantResponse.loss_block_height": + x.LossBlockHeight = value.Int() + case "emissions.v8.GetLatestNetworkInferencesOutlierResistantResponse.confidence_interval_raw_percentiles": + lv := value.List() + clv := lv.(*_GetLatestNetworkInferencesOutlierResistantResponse_7_list) + x.ConfidenceIntervalRawPercentiles = *clv.list + case "emissions.v8.GetLatestNetworkInferencesOutlierResistantResponse.confidence_interval_values": + lv := value.List() + clv := lv.(*_GetLatestNetworkInferencesOutlierResistantResponse_8_list) + x.ConfidenceIntervalValues = *clv.list + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetLatestNetworkInferencesOutlierResistantResponse")) + } + panic(fmt.Errorf("message emissions.v8.GetLatestNetworkInferencesOutlierResistantResponse does not contain field %s", fd.FullName())) + } +} + +// Mutable returns a mutable reference to a composite type. +// +// If the field is unpopulated, it may allocate a composite value. +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType +// if not already stored. +// It panics if the field does not contain a composite type. +// +// Mutable is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetLatestNetworkInferencesOutlierResistantResponse) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.GetLatestNetworkInferencesOutlierResistantResponse.network_inferences": + if x.NetworkInferences == nil { + x.NetworkInferences = new(v3.ValueBundle) + } + return protoreflect.ValueOfMessage(x.NetworkInferences.ProtoReflect()) + case "emissions.v8.GetLatestNetworkInferencesOutlierResistantResponse.inferer_weights": + if x.InfererWeights == nil { + x.InfererWeights = []*v3.RegretInformedWeight{} + } + value := &_GetLatestNetworkInferencesOutlierResistantResponse_2_list{list: &x.InfererWeights} + return protoreflect.ValueOfList(value) + case "emissions.v8.GetLatestNetworkInferencesOutlierResistantResponse.forecaster_weights": + if x.ForecasterWeights == nil { + x.ForecasterWeights = []*v3.RegretInformedWeight{} + } + value := &_GetLatestNetworkInferencesOutlierResistantResponse_3_list{list: &x.ForecasterWeights} + return protoreflect.ValueOfList(value) + case "emissions.v8.GetLatestNetworkInferencesOutlierResistantResponse.confidence_interval_raw_percentiles": + if x.ConfidenceIntervalRawPercentiles == nil { + x.ConfidenceIntervalRawPercentiles = []string{} + } + value := &_GetLatestNetworkInferencesOutlierResistantResponse_7_list{list: &x.ConfidenceIntervalRawPercentiles} + return protoreflect.ValueOfList(value) + case "emissions.v8.GetLatestNetworkInferencesOutlierResistantResponse.confidence_interval_values": + if x.ConfidenceIntervalValues == nil { + x.ConfidenceIntervalValues = []string{} + } + value := &_GetLatestNetworkInferencesOutlierResistantResponse_8_list{list: &x.ConfidenceIntervalValues} + return protoreflect.ValueOfList(value) + case "emissions.v8.GetLatestNetworkInferencesOutlierResistantResponse.inference_block_height": + panic(fmt.Errorf("field inference_block_height of message emissions.v8.GetLatestNetworkInferencesOutlierResistantResponse is not mutable")) + case "emissions.v8.GetLatestNetworkInferencesOutlierResistantResponse.loss_block_height": + panic(fmt.Errorf("field loss_block_height of message emissions.v8.GetLatestNetworkInferencesOutlierResistantResponse is not mutable")) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetLatestNetworkInferencesOutlierResistantResponse")) + } + panic(fmt.Errorf("message emissions.v8.GetLatestNetworkInferencesOutlierResistantResponse does not contain field %s", fd.FullName())) + } +} + +// NewField returns a new value that is assignable to the field +// for the given descriptor. For scalars, this returns the default value. +// For lists, maps, and messages, this returns a new, empty, mutable value. +func (x *fastReflection_GetLatestNetworkInferencesOutlierResistantResponse) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.GetLatestNetworkInferencesOutlierResistantResponse.network_inferences": + m := new(v3.ValueBundle) + return protoreflect.ValueOfMessage(m.ProtoReflect()) + case "emissions.v8.GetLatestNetworkInferencesOutlierResistantResponse.inferer_weights": + list := []*v3.RegretInformedWeight{} + return protoreflect.ValueOfList(&_GetLatestNetworkInferencesOutlierResistantResponse_2_list{list: &list}) + case "emissions.v8.GetLatestNetworkInferencesOutlierResistantResponse.forecaster_weights": + list := []*v3.RegretInformedWeight{} + return protoreflect.ValueOfList(&_GetLatestNetworkInferencesOutlierResistantResponse_3_list{list: &list}) + case "emissions.v8.GetLatestNetworkInferencesOutlierResistantResponse.inference_block_height": + return protoreflect.ValueOfInt64(int64(0)) + case "emissions.v8.GetLatestNetworkInferencesOutlierResistantResponse.loss_block_height": + return protoreflect.ValueOfInt64(int64(0)) + case "emissions.v8.GetLatestNetworkInferencesOutlierResistantResponse.confidence_interval_raw_percentiles": + list := []string{} + return protoreflect.ValueOfList(&_GetLatestNetworkInferencesOutlierResistantResponse_7_list{list: &list}) + case "emissions.v8.GetLatestNetworkInferencesOutlierResistantResponse.confidence_interval_values": + list := []string{} + return protoreflect.ValueOfList(&_GetLatestNetworkInferencesOutlierResistantResponse_8_list{list: &list}) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetLatestNetworkInferencesOutlierResistantResponse")) + } + panic(fmt.Errorf("message emissions.v8.GetLatestNetworkInferencesOutlierResistantResponse does not contain field %s", fd.FullName())) + } +} + +// WhichOneof reports which field within the oneof is populated, +// returning nil if none are populated. +// It panics if the oneof descriptor does not belong to this message. +func (x *fastReflection_GetLatestNetworkInferencesOutlierResistantResponse) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { + switch d.FullName() { + default: + panic(fmt.Errorf("%s is not a oneof field in emissions.v8.GetLatestNetworkInferencesOutlierResistantResponse", d.FullName())) + } + panic("unreachable") +} + +// GetUnknown retrieves the entire list of unknown fields. +// The caller may only mutate the contents of the RawFields +// if the mutated bytes are stored back into the message with SetUnknown. +func (x *fastReflection_GetLatestNetworkInferencesOutlierResistantResponse) GetUnknown() protoreflect.RawFields { + return x.unknownFields +} + +// SetUnknown stores an entire list of unknown fields. +// The raw fields must be syntactically valid according to the wire format. +// An implementation may panic if this is not the case. +// Once stored, the caller must not mutate the content of the RawFields. +// An empty RawFields may be passed to clear the fields. +// +// SetUnknown is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetLatestNetworkInferencesOutlierResistantResponse) SetUnknown(fields protoreflect.RawFields) { + x.unknownFields = fields +} + +// IsValid reports whether the message is valid. +// +// An invalid message is an empty, read-only value. +// +// An invalid message often corresponds to a nil pointer of the concrete +// message type, but the details are implementation dependent. +// Validity is not part of the protobuf data model, and may not +// be preserved in marshaling or other operations. +func (x *fastReflection_GetLatestNetworkInferencesOutlierResistantResponse) IsValid() bool { + return x != nil +} + +// ProtoMethods returns optional fastReflectionFeature-path implementations of various operations. +// This method may return nil. +// +// The returned methods type is identical to +// "google.golang.org/protobuf/runtime/protoiface".Methods. +// Consult the protoiface package documentation for details. +func (x *fastReflection_GetLatestNetworkInferencesOutlierResistantResponse) ProtoMethods() *protoiface.Methods { + size := func(input protoiface.SizeInput) protoiface.SizeOutput { + x := input.Message.Interface().(*GetLatestNetworkInferencesOutlierResistantResponse) + if x == nil { + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: 0, + } + } + options := runtime.SizeInputToOptions(input) + _ = options + var n int + var l int + _ = l + if x.NetworkInferences != nil { + l = options.Size(x.NetworkInferences) + n += 1 + l + runtime.Sov(uint64(l)) + } + if len(x.InfererWeights) > 0 { + for _, e := range x.InfererWeights { + l = options.Size(e) + n += 1 + l + runtime.Sov(uint64(l)) + } + } + if len(x.ForecasterWeights) > 0 { + for _, e := range x.ForecasterWeights { + l = options.Size(e) + n += 1 + l + runtime.Sov(uint64(l)) + } + } + if x.InferenceBlockHeight != 0 { + n += 1 + runtime.Sov(uint64(x.InferenceBlockHeight)) + } + if x.LossBlockHeight != 0 { + n += 1 + runtime.Sov(uint64(x.LossBlockHeight)) + } + if len(x.ConfidenceIntervalRawPercentiles) > 0 { + for _, s := range x.ConfidenceIntervalRawPercentiles { + l = len(s) + n += 1 + l + runtime.Sov(uint64(l)) + } + } + if len(x.ConfidenceIntervalValues) > 0 { + for _, s := range x.ConfidenceIntervalValues { + l = len(s) + n += 1 + l + runtime.Sov(uint64(l)) + } + } + if x.unknownFields != nil { + n += len(x.unknownFields) + } + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: n, + } + } + + marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { + x := input.Message.Interface().(*GetLatestNetworkInferencesOutlierResistantResponse) + if x == nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + options := runtime.MarshalInputToOptions(input) + _ = options + size := options.Size(x) + dAtA := make([]byte, size) + i := len(dAtA) + _ = i + var l int + _ = l + if x.unknownFields != nil { + i -= len(x.unknownFields) + copy(dAtA[i:], x.unknownFields) + } + if len(x.ConfidenceIntervalValues) > 0 { + for iNdEx := len(x.ConfidenceIntervalValues) - 1; iNdEx >= 0; iNdEx-- { + i -= len(x.ConfidenceIntervalValues[iNdEx]) + copy(dAtA[i:], x.ConfidenceIntervalValues[iNdEx]) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.ConfidenceIntervalValues[iNdEx]))) + i-- + dAtA[i] = 0x42 + } + } + if len(x.ConfidenceIntervalRawPercentiles) > 0 { + for iNdEx := len(x.ConfidenceIntervalRawPercentiles) - 1; iNdEx >= 0; iNdEx-- { + i -= len(x.ConfidenceIntervalRawPercentiles[iNdEx]) + copy(dAtA[i:], x.ConfidenceIntervalRawPercentiles[iNdEx]) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.ConfidenceIntervalRawPercentiles[iNdEx]))) + i-- + dAtA[i] = 0x3a + } + } + if x.LossBlockHeight != 0 { + i = runtime.EncodeVarint(dAtA, i, uint64(x.LossBlockHeight)) + i-- + dAtA[i] = 0x30 + } + if x.InferenceBlockHeight != 0 { + i = runtime.EncodeVarint(dAtA, i, uint64(x.InferenceBlockHeight)) + i-- + dAtA[i] = 0x28 + } + if len(x.ForecasterWeights) > 0 { + for iNdEx := len(x.ForecasterWeights) - 1; iNdEx >= 0; iNdEx-- { + encoded, err := options.Marshal(x.ForecasterWeights[iNdEx]) + if err != nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = runtime.EncodeVarint(dAtA, i, uint64(len(encoded))) + i-- + dAtA[i] = 0x1a + } + } + if len(x.InfererWeights) > 0 { + for iNdEx := len(x.InfererWeights) - 1; iNdEx >= 0; iNdEx-- { + encoded, err := options.Marshal(x.InfererWeights[iNdEx]) + if err != nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = runtime.EncodeVarint(dAtA, i, uint64(len(encoded))) + i-- + dAtA[i] = 0x12 + } + } + if x.NetworkInferences != nil { + encoded, err := options.Marshal(x.NetworkInferences) + if err != nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = runtime.EncodeVarint(dAtA, i, uint64(len(encoded))) + i-- + dAtA[i] = 0xa + } + if input.Buf != nil { + input.Buf = append(input.Buf, dAtA...) + } else { + input.Buf = dAtA + } + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { + x := input.Message.Interface().(*GetLatestNetworkInferencesOutlierResistantResponse) + if x == nil { + return protoiface.UnmarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Flags: input.Flags, + }, nil + } + options := runtime.UnmarshalInputToOptions(input) + _ = options + dAtA := input.Buf + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: GetLatestNetworkInferencesOutlierResistantResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: GetLatestNetworkInferencesOutlierResistantResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field NetworkInferences", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + if x.NetworkInferences == nil { + x.NetworkInferences = &v3.ValueBundle{} + } + if err := options.Unmarshal(dAtA[iNdEx:postIndex], x.NetworkInferences); err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + iNdEx = postIndex + case 2: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field InfererWeights", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + x.InfererWeights = append(x.InfererWeights, &v3.RegretInformedWeight{}) + if err := options.Unmarshal(dAtA[iNdEx:postIndex], x.InfererWeights[len(x.InfererWeights)-1]); err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + iNdEx = postIndex + case 3: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field ForecasterWeights", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + x.ForecasterWeights = append(x.ForecasterWeights, &v3.RegretInformedWeight{}) + if err := options.Unmarshal(dAtA[iNdEx:postIndex], x.ForecasterWeights[len(x.ForecasterWeights)-1]); err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + iNdEx = postIndex + case 5: + if wireType != 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field InferenceBlockHeight", wireType) + } + x.InferenceBlockHeight = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + x.InferenceBlockHeight |= int64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 6: + if wireType != 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field LossBlockHeight", wireType) + } + x.LossBlockHeight = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + x.LossBlockHeight |= int64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 7: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field ConfidenceIntervalRawPercentiles", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + x.ConfidenceIntervalRawPercentiles = append(x.ConfidenceIntervalRawPercentiles, string(dAtA[iNdEx:postIndex])) + iNdEx = postIndex + case 8: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field ConfidenceIntervalValues", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + x.ConfidenceIntervalValues = append(x.ConfidenceIntervalValues, string(dAtA[iNdEx:postIndex])) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := runtime.Skip(dAtA[iNdEx:]) + if err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if (iNdEx + skippy) > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + if !options.DiscardUnknown { + x.unknownFields = append(x.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + } + iNdEx += skippy + } + } + + if iNdEx > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, nil + } + return &protoiface.Methods{ + NoUnkeyedLiterals: struct{}{}, + Flags: protoiface.SupportMarshalDeterministic | protoiface.SupportUnmarshalDiscardUnknown, + Size: size, + Marshal: marshal, + Unmarshal: unmarshal, + Merge: nil, + CheckInitialized: nil, + } +} + +var _ protoreflect.List = (*_GetLatestAvailableNetworkInferencesResponse_2_list)(nil) + +type _GetLatestAvailableNetworkInferencesResponse_2_list struct { + list *[]*v3.RegretInformedWeight +} + +func (x *_GetLatestAvailableNetworkInferencesResponse_2_list) Len() int { + if x.list == nil { + return 0 + } + return len(*x.list) +} + +func (x *_GetLatestAvailableNetworkInferencesResponse_2_list) Get(i int) protoreflect.Value { + return protoreflect.ValueOfMessage((*x.list)[i].ProtoReflect()) +} + +func (x *_GetLatestAvailableNetworkInferencesResponse_2_list) Set(i int, value protoreflect.Value) { + valueUnwrapped := value.Message() + concreteValue := valueUnwrapped.Interface().(*v3.RegretInformedWeight) + (*x.list)[i] = concreteValue +} + +func (x *_GetLatestAvailableNetworkInferencesResponse_2_list) Append(value protoreflect.Value) { + valueUnwrapped := value.Message() + concreteValue := valueUnwrapped.Interface().(*v3.RegretInformedWeight) + *x.list = append(*x.list, concreteValue) +} + +func (x *_GetLatestAvailableNetworkInferencesResponse_2_list) AppendMutable() protoreflect.Value { + v := new(v3.RegretInformedWeight) + *x.list = append(*x.list, v) + return protoreflect.ValueOfMessage(v.ProtoReflect()) +} + +func (x *_GetLatestAvailableNetworkInferencesResponse_2_list) Truncate(n int) { + for i := n; i < len(*x.list); i++ { + (*x.list)[i] = nil + } + *x.list = (*x.list)[:n] +} + +func (x *_GetLatestAvailableNetworkInferencesResponse_2_list) NewElement() protoreflect.Value { + v := new(v3.RegretInformedWeight) + return protoreflect.ValueOfMessage(v.ProtoReflect()) +} + +func (x *_GetLatestAvailableNetworkInferencesResponse_2_list) IsValid() bool { + return x.list != nil +} + +var _ protoreflect.List = (*_GetLatestAvailableNetworkInferencesResponse_3_list)(nil) + +type _GetLatestAvailableNetworkInferencesResponse_3_list struct { + list *[]*v3.RegretInformedWeight +} + +func (x *_GetLatestAvailableNetworkInferencesResponse_3_list) Len() int { + if x.list == nil { + return 0 + } + return len(*x.list) +} + +func (x *_GetLatestAvailableNetworkInferencesResponse_3_list) Get(i int) protoreflect.Value { + return protoreflect.ValueOfMessage((*x.list)[i].ProtoReflect()) +} + +func (x *_GetLatestAvailableNetworkInferencesResponse_3_list) Set(i int, value protoreflect.Value) { + valueUnwrapped := value.Message() + concreteValue := valueUnwrapped.Interface().(*v3.RegretInformedWeight) + (*x.list)[i] = concreteValue +} + +func (x *_GetLatestAvailableNetworkInferencesResponse_3_list) Append(value protoreflect.Value) { + valueUnwrapped := value.Message() + concreteValue := valueUnwrapped.Interface().(*v3.RegretInformedWeight) + *x.list = append(*x.list, concreteValue) +} + +func (x *_GetLatestAvailableNetworkInferencesResponse_3_list) AppendMutable() protoreflect.Value { + v := new(v3.RegretInformedWeight) + *x.list = append(*x.list, v) + return protoreflect.ValueOfMessage(v.ProtoReflect()) +} + +func (x *_GetLatestAvailableNetworkInferencesResponse_3_list) Truncate(n int) { + for i := n; i < len(*x.list); i++ { + (*x.list)[i] = nil + } + *x.list = (*x.list)[:n] +} + +func (x *_GetLatestAvailableNetworkInferencesResponse_3_list) NewElement() protoreflect.Value { + v := new(v3.RegretInformedWeight) + return protoreflect.ValueOfMessage(v.ProtoReflect()) +} + +func (x *_GetLatestAvailableNetworkInferencesResponse_3_list) IsValid() bool { + return x.list != nil +} + +var _ protoreflect.List = (*_GetLatestAvailableNetworkInferencesResponse_7_list)(nil) + +type _GetLatestAvailableNetworkInferencesResponse_7_list struct { + list *[]string +} + +func (x *_GetLatestAvailableNetworkInferencesResponse_7_list) Len() int { + if x.list == nil { + return 0 + } + return len(*x.list) +} + +func (x *_GetLatestAvailableNetworkInferencesResponse_7_list) Get(i int) protoreflect.Value { + return protoreflect.ValueOfString((*x.list)[i]) +} + +func (x *_GetLatestAvailableNetworkInferencesResponse_7_list) Set(i int, value protoreflect.Value) { + valueUnwrapped := value.String() + concreteValue := valueUnwrapped + (*x.list)[i] = concreteValue +} + +func (x *_GetLatestAvailableNetworkInferencesResponse_7_list) Append(value protoreflect.Value) { + valueUnwrapped := value.String() + concreteValue := valueUnwrapped + *x.list = append(*x.list, concreteValue) +} + +func (x *_GetLatestAvailableNetworkInferencesResponse_7_list) AppendMutable() protoreflect.Value { + panic(fmt.Errorf("AppendMutable can not be called on message GetLatestAvailableNetworkInferencesResponse at list field ConfidenceIntervalRawPercentiles as it is not of Message kind")) +} + +func (x *_GetLatestAvailableNetworkInferencesResponse_7_list) Truncate(n int) { + *x.list = (*x.list)[:n] +} + +func (x *_GetLatestAvailableNetworkInferencesResponse_7_list) NewElement() protoreflect.Value { + v := "" + return protoreflect.ValueOfString(v) +} + +func (x *_GetLatestAvailableNetworkInferencesResponse_7_list) IsValid() bool { + return x.list != nil +} + +var _ protoreflect.List = (*_GetLatestAvailableNetworkInferencesResponse_8_list)(nil) + +type _GetLatestAvailableNetworkInferencesResponse_8_list struct { + list *[]string +} + +func (x *_GetLatestAvailableNetworkInferencesResponse_8_list) Len() int { + if x.list == nil { + return 0 + } + return len(*x.list) +} + +func (x *_GetLatestAvailableNetworkInferencesResponse_8_list) Get(i int) protoreflect.Value { + return protoreflect.ValueOfString((*x.list)[i]) +} + +func (x *_GetLatestAvailableNetworkInferencesResponse_8_list) Set(i int, value protoreflect.Value) { + valueUnwrapped := value.String() + concreteValue := valueUnwrapped + (*x.list)[i] = concreteValue +} + +func (x *_GetLatestAvailableNetworkInferencesResponse_8_list) Append(value protoreflect.Value) { + valueUnwrapped := value.String() + concreteValue := valueUnwrapped + *x.list = append(*x.list, concreteValue) +} + +func (x *_GetLatestAvailableNetworkInferencesResponse_8_list) AppendMutable() protoreflect.Value { + panic(fmt.Errorf("AppendMutable can not be called on message GetLatestAvailableNetworkInferencesResponse at list field ConfidenceIntervalValues as it is not of Message kind")) +} + +func (x *_GetLatestAvailableNetworkInferencesResponse_8_list) Truncate(n int) { + *x.list = (*x.list)[:n] +} + +func (x *_GetLatestAvailableNetworkInferencesResponse_8_list) NewElement() protoreflect.Value { + v := "" + return protoreflect.ValueOfString(v) +} + +func (x *_GetLatestAvailableNetworkInferencesResponse_8_list) IsValid() bool { + return x.list != nil +} + +var ( + md_GetLatestAvailableNetworkInferencesResponse protoreflect.MessageDescriptor + fd_GetLatestAvailableNetworkInferencesResponse_network_inferences protoreflect.FieldDescriptor + fd_GetLatestAvailableNetworkInferencesResponse_inferer_weights protoreflect.FieldDescriptor + fd_GetLatestAvailableNetworkInferencesResponse_forecaster_weights protoreflect.FieldDescriptor + fd_GetLatestAvailableNetworkInferencesResponse_inference_block_height protoreflect.FieldDescriptor + fd_GetLatestAvailableNetworkInferencesResponse_loss_block_height protoreflect.FieldDescriptor + fd_GetLatestAvailableNetworkInferencesResponse_confidence_interval_raw_percentiles protoreflect.FieldDescriptor + fd_GetLatestAvailableNetworkInferencesResponse_confidence_interval_values protoreflect.FieldDescriptor +) + +func init() { + file_emissions_v8_query_proto_init() + md_GetLatestAvailableNetworkInferencesResponse = File_emissions_v8_query_proto.Messages().ByName("GetLatestAvailableNetworkInferencesResponse") + fd_GetLatestAvailableNetworkInferencesResponse_network_inferences = md_GetLatestAvailableNetworkInferencesResponse.Fields().ByName("network_inferences") + fd_GetLatestAvailableNetworkInferencesResponse_inferer_weights = md_GetLatestAvailableNetworkInferencesResponse.Fields().ByName("inferer_weights") + fd_GetLatestAvailableNetworkInferencesResponse_forecaster_weights = md_GetLatestAvailableNetworkInferencesResponse.Fields().ByName("forecaster_weights") + fd_GetLatestAvailableNetworkInferencesResponse_inference_block_height = md_GetLatestAvailableNetworkInferencesResponse.Fields().ByName("inference_block_height") + fd_GetLatestAvailableNetworkInferencesResponse_loss_block_height = md_GetLatestAvailableNetworkInferencesResponse.Fields().ByName("loss_block_height") + fd_GetLatestAvailableNetworkInferencesResponse_confidence_interval_raw_percentiles = md_GetLatestAvailableNetworkInferencesResponse.Fields().ByName("confidence_interval_raw_percentiles") + fd_GetLatestAvailableNetworkInferencesResponse_confidence_interval_values = md_GetLatestAvailableNetworkInferencesResponse.Fields().ByName("confidence_interval_values") +} + +var _ protoreflect.Message = (*fastReflection_GetLatestAvailableNetworkInferencesResponse)(nil) + +type fastReflection_GetLatestAvailableNetworkInferencesResponse GetLatestAvailableNetworkInferencesResponse + +func (x *GetLatestAvailableNetworkInferencesResponse) ProtoReflect() protoreflect.Message { + return (*fastReflection_GetLatestAvailableNetworkInferencesResponse)(x) +} + +func (x *GetLatestAvailableNetworkInferencesResponse) slowProtoReflect() protoreflect.Message { + mi := &file_emissions_v8_query_proto_msgTypes[110] + 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) +} + +var _fastReflection_GetLatestAvailableNetworkInferencesResponse_messageType fastReflection_GetLatestAvailableNetworkInferencesResponse_messageType +var _ protoreflect.MessageType = fastReflection_GetLatestAvailableNetworkInferencesResponse_messageType{} + +type fastReflection_GetLatestAvailableNetworkInferencesResponse_messageType struct{} + +func (x fastReflection_GetLatestAvailableNetworkInferencesResponse_messageType) Zero() protoreflect.Message { + return (*fastReflection_GetLatestAvailableNetworkInferencesResponse)(nil) +} +func (x fastReflection_GetLatestAvailableNetworkInferencesResponse_messageType) New() protoreflect.Message { + return new(fastReflection_GetLatestAvailableNetworkInferencesResponse) +} +func (x fastReflection_GetLatestAvailableNetworkInferencesResponse_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_GetLatestAvailableNetworkInferencesResponse +} + +// Descriptor returns message descriptor, which contains only the protobuf +// type information for the message. +func (x *fastReflection_GetLatestAvailableNetworkInferencesResponse) Descriptor() protoreflect.MessageDescriptor { + return md_GetLatestAvailableNetworkInferencesResponse +} + +// Type returns the message type, which encapsulates both Go and protobuf +// type information. If the Go type information is not needed, +// it is recommended that the message descriptor be used instead. +func (x *fastReflection_GetLatestAvailableNetworkInferencesResponse) Type() protoreflect.MessageType { + return _fastReflection_GetLatestAvailableNetworkInferencesResponse_messageType +} + +// New returns a newly allocated and mutable empty message. +func (x *fastReflection_GetLatestAvailableNetworkInferencesResponse) New() protoreflect.Message { + return new(fastReflection_GetLatestAvailableNetworkInferencesResponse) +} + +// Interface unwraps the message reflection interface and +// returns the underlying ProtoMessage interface. +func (x *fastReflection_GetLatestAvailableNetworkInferencesResponse) Interface() protoreflect.ProtoMessage { + return (*GetLatestAvailableNetworkInferencesResponse)(x) +} + +// Range iterates over every populated field in an undefined order, +// calling f for each field descriptor and value encountered. +// Range returns immediately if f returns false. +// While iterating, mutating operations may only be performed +// on the current field descriptor. +func (x *fastReflection_GetLatestAvailableNetworkInferencesResponse) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { + if x.NetworkInferences != nil { + value := protoreflect.ValueOfMessage(x.NetworkInferences.ProtoReflect()) + if !f(fd_GetLatestAvailableNetworkInferencesResponse_network_inferences, value) { + return + } + } + if len(x.InfererWeights) != 0 { + value := protoreflect.ValueOfList(&_GetLatestAvailableNetworkInferencesResponse_2_list{list: &x.InfererWeights}) + if !f(fd_GetLatestAvailableNetworkInferencesResponse_inferer_weights, value) { + return + } + } + if len(x.ForecasterWeights) != 0 { + value := protoreflect.ValueOfList(&_GetLatestAvailableNetworkInferencesResponse_3_list{list: &x.ForecasterWeights}) + if !f(fd_GetLatestAvailableNetworkInferencesResponse_forecaster_weights, value) { + return + } + } + if x.InferenceBlockHeight != int64(0) { + value := protoreflect.ValueOfInt64(x.InferenceBlockHeight) + if !f(fd_GetLatestAvailableNetworkInferencesResponse_inference_block_height, value) { + return + } + } + if x.LossBlockHeight != int64(0) { + value := protoreflect.ValueOfInt64(x.LossBlockHeight) + if !f(fd_GetLatestAvailableNetworkInferencesResponse_loss_block_height, value) { + return + } + } + if len(x.ConfidenceIntervalRawPercentiles) != 0 { + value := protoreflect.ValueOfList(&_GetLatestAvailableNetworkInferencesResponse_7_list{list: &x.ConfidenceIntervalRawPercentiles}) + if !f(fd_GetLatestAvailableNetworkInferencesResponse_confidence_interval_raw_percentiles, value) { + return + } + } + if len(x.ConfidenceIntervalValues) != 0 { + value := protoreflect.ValueOfList(&_GetLatestAvailableNetworkInferencesResponse_8_list{list: &x.ConfidenceIntervalValues}) + if !f(fd_GetLatestAvailableNetworkInferencesResponse_confidence_interval_values, value) { + return + } + } +} + +// Has reports whether a field is populated. +// +// Some fields have the property of nullability where it is possible to +// distinguish between the default value of a field and whether the field +// was explicitly populated with the default value. Singular message fields, +// member fields of a oneof, and proto2 scalar fields are nullable. Such +// fields are populated only if explicitly set. +// +// In other cases (aside from the nullable cases above), +// a proto3 scalar field is populated if it contains a non-zero value, and +// a repeated field is populated if it is non-empty. +func (x *fastReflection_GetLatestAvailableNetworkInferencesResponse) Has(fd protoreflect.FieldDescriptor) bool { + switch fd.FullName() { + case "emissions.v8.GetLatestAvailableNetworkInferencesResponse.network_inferences": + return x.NetworkInferences != nil + case "emissions.v8.GetLatestAvailableNetworkInferencesResponse.inferer_weights": + return len(x.InfererWeights) != 0 + case "emissions.v8.GetLatestAvailableNetworkInferencesResponse.forecaster_weights": + return len(x.ForecasterWeights) != 0 + case "emissions.v8.GetLatestAvailableNetworkInferencesResponse.inference_block_height": + return x.InferenceBlockHeight != int64(0) + case "emissions.v8.GetLatestAvailableNetworkInferencesResponse.loss_block_height": + return x.LossBlockHeight != int64(0) + case "emissions.v8.GetLatestAvailableNetworkInferencesResponse.confidence_interval_raw_percentiles": + return len(x.ConfidenceIntervalRawPercentiles) != 0 + case "emissions.v8.GetLatestAvailableNetworkInferencesResponse.confidence_interval_values": + return len(x.ConfidenceIntervalValues) != 0 + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetLatestAvailableNetworkInferencesResponse")) + } + panic(fmt.Errorf("message emissions.v8.GetLatestAvailableNetworkInferencesResponse does not contain field %s", fd.FullName())) + } +} + +// Clear clears the field such that a subsequent Has call reports false. +// +// Clearing an extension field clears both the extension type and value +// associated with the given field number. +// +// Clear is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetLatestAvailableNetworkInferencesResponse) Clear(fd protoreflect.FieldDescriptor) { + switch fd.FullName() { + case "emissions.v8.GetLatestAvailableNetworkInferencesResponse.network_inferences": + x.NetworkInferences = nil + case "emissions.v8.GetLatestAvailableNetworkInferencesResponse.inferer_weights": + x.InfererWeights = nil + case "emissions.v8.GetLatestAvailableNetworkInferencesResponse.forecaster_weights": + x.ForecasterWeights = nil + case "emissions.v8.GetLatestAvailableNetworkInferencesResponse.inference_block_height": + x.InferenceBlockHeight = int64(0) + case "emissions.v8.GetLatestAvailableNetworkInferencesResponse.loss_block_height": + x.LossBlockHeight = int64(0) + case "emissions.v8.GetLatestAvailableNetworkInferencesResponse.confidence_interval_raw_percentiles": + x.ConfidenceIntervalRawPercentiles = nil + case "emissions.v8.GetLatestAvailableNetworkInferencesResponse.confidence_interval_values": + x.ConfidenceIntervalValues = nil + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetLatestAvailableNetworkInferencesResponse")) + } + panic(fmt.Errorf("message emissions.v8.GetLatestAvailableNetworkInferencesResponse does not contain field %s", fd.FullName())) + } +} + +// Get retrieves the value for a field. +// +// For unpopulated scalars, it returns the default value, where +// the default value of a bytes scalar is guaranteed to be a copy. +// For unpopulated composite types, it returns an empty, read-only view +// of the value; to obtain a mutable reference, use Mutable. +func (x *fastReflection_GetLatestAvailableNetworkInferencesResponse) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { + switch descriptor.FullName() { + case "emissions.v8.GetLatestAvailableNetworkInferencesResponse.network_inferences": + value := x.NetworkInferences + return protoreflect.ValueOfMessage(value.ProtoReflect()) + case "emissions.v8.GetLatestAvailableNetworkInferencesResponse.inferer_weights": + if len(x.InfererWeights) == 0 { + return protoreflect.ValueOfList(&_GetLatestAvailableNetworkInferencesResponse_2_list{}) + } + listValue := &_GetLatestAvailableNetworkInferencesResponse_2_list{list: &x.InfererWeights} + return protoreflect.ValueOfList(listValue) + case "emissions.v8.GetLatestAvailableNetworkInferencesResponse.forecaster_weights": + if len(x.ForecasterWeights) == 0 { + return protoreflect.ValueOfList(&_GetLatestAvailableNetworkInferencesResponse_3_list{}) + } + listValue := &_GetLatestAvailableNetworkInferencesResponse_3_list{list: &x.ForecasterWeights} + return protoreflect.ValueOfList(listValue) + case "emissions.v8.GetLatestAvailableNetworkInferencesResponse.inference_block_height": + value := x.InferenceBlockHeight + return protoreflect.ValueOfInt64(value) + case "emissions.v8.GetLatestAvailableNetworkInferencesResponse.loss_block_height": + value := x.LossBlockHeight + return protoreflect.ValueOfInt64(value) + case "emissions.v8.GetLatestAvailableNetworkInferencesResponse.confidence_interval_raw_percentiles": + if len(x.ConfidenceIntervalRawPercentiles) == 0 { + return protoreflect.ValueOfList(&_GetLatestAvailableNetworkInferencesResponse_7_list{}) + } + listValue := &_GetLatestAvailableNetworkInferencesResponse_7_list{list: &x.ConfidenceIntervalRawPercentiles} + return protoreflect.ValueOfList(listValue) + case "emissions.v8.GetLatestAvailableNetworkInferencesResponse.confidence_interval_values": + if len(x.ConfidenceIntervalValues) == 0 { + return protoreflect.ValueOfList(&_GetLatestAvailableNetworkInferencesResponse_8_list{}) + } + listValue := &_GetLatestAvailableNetworkInferencesResponse_8_list{list: &x.ConfidenceIntervalValues} + return protoreflect.ValueOfList(listValue) + default: + if descriptor.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetLatestAvailableNetworkInferencesResponse")) + } + panic(fmt.Errorf("message emissions.v8.GetLatestAvailableNetworkInferencesResponse does not contain field %s", descriptor.FullName())) + } +} + +// Set stores the value for a field. +// +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType. +// When setting a composite type, it is unspecified whether the stored value +// aliases the source's memory in any way. If the composite value is an +// empty, read-only value, then it panics. +// +// Set is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetLatestAvailableNetworkInferencesResponse) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { + switch fd.FullName() { + case "emissions.v8.GetLatestAvailableNetworkInferencesResponse.network_inferences": + x.NetworkInferences = value.Message().Interface().(*v3.ValueBundle) + case "emissions.v8.GetLatestAvailableNetworkInferencesResponse.inferer_weights": + lv := value.List() + clv := lv.(*_GetLatestAvailableNetworkInferencesResponse_2_list) + x.InfererWeights = *clv.list + case "emissions.v8.GetLatestAvailableNetworkInferencesResponse.forecaster_weights": + lv := value.List() + clv := lv.(*_GetLatestAvailableNetworkInferencesResponse_3_list) + x.ForecasterWeights = *clv.list + case "emissions.v8.GetLatestAvailableNetworkInferencesResponse.inference_block_height": + x.InferenceBlockHeight = value.Int() + case "emissions.v8.GetLatestAvailableNetworkInferencesResponse.loss_block_height": + x.LossBlockHeight = value.Int() + case "emissions.v8.GetLatestAvailableNetworkInferencesResponse.confidence_interval_raw_percentiles": + lv := value.List() + clv := lv.(*_GetLatestAvailableNetworkInferencesResponse_7_list) + x.ConfidenceIntervalRawPercentiles = *clv.list + case "emissions.v8.GetLatestAvailableNetworkInferencesResponse.confidence_interval_values": + lv := value.List() + clv := lv.(*_GetLatestAvailableNetworkInferencesResponse_8_list) + x.ConfidenceIntervalValues = *clv.list + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetLatestAvailableNetworkInferencesResponse")) + } + panic(fmt.Errorf("message emissions.v8.GetLatestAvailableNetworkInferencesResponse does not contain field %s", fd.FullName())) + } +} + +// Mutable returns a mutable reference to a composite type. +// +// If the field is unpopulated, it may allocate a composite value. +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType +// if not already stored. +// It panics if the field does not contain a composite type. +// +// Mutable is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetLatestAvailableNetworkInferencesResponse) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.GetLatestAvailableNetworkInferencesResponse.network_inferences": + if x.NetworkInferences == nil { + x.NetworkInferences = new(v3.ValueBundle) + } + return protoreflect.ValueOfMessage(x.NetworkInferences.ProtoReflect()) + case "emissions.v8.GetLatestAvailableNetworkInferencesResponse.inferer_weights": + if x.InfererWeights == nil { + x.InfererWeights = []*v3.RegretInformedWeight{} + } + value := &_GetLatestAvailableNetworkInferencesResponse_2_list{list: &x.InfererWeights} + return protoreflect.ValueOfList(value) + case "emissions.v8.GetLatestAvailableNetworkInferencesResponse.forecaster_weights": + if x.ForecasterWeights == nil { + x.ForecasterWeights = []*v3.RegretInformedWeight{} + } + value := &_GetLatestAvailableNetworkInferencesResponse_3_list{list: &x.ForecasterWeights} + return protoreflect.ValueOfList(value) + case "emissions.v8.GetLatestAvailableNetworkInferencesResponse.confidence_interval_raw_percentiles": + if x.ConfidenceIntervalRawPercentiles == nil { + x.ConfidenceIntervalRawPercentiles = []string{} + } + value := &_GetLatestAvailableNetworkInferencesResponse_7_list{list: &x.ConfidenceIntervalRawPercentiles} + return protoreflect.ValueOfList(value) + case "emissions.v8.GetLatestAvailableNetworkInferencesResponse.confidence_interval_values": + if x.ConfidenceIntervalValues == nil { + x.ConfidenceIntervalValues = []string{} + } + value := &_GetLatestAvailableNetworkInferencesResponse_8_list{list: &x.ConfidenceIntervalValues} + return protoreflect.ValueOfList(value) + case "emissions.v8.GetLatestAvailableNetworkInferencesResponse.inference_block_height": + panic(fmt.Errorf("field inference_block_height of message emissions.v8.GetLatestAvailableNetworkInferencesResponse is not mutable")) + case "emissions.v8.GetLatestAvailableNetworkInferencesResponse.loss_block_height": + panic(fmt.Errorf("field loss_block_height of message emissions.v8.GetLatestAvailableNetworkInferencesResponse is not mutable")) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetLatestAvailableNetworkInferencesResponse")) + } + panic(fmt.Errorf("message emissions.v8.GetLatestAvailableNetworkInferencesResponse does not contain field %s", fd.FullName())) + } +} + +// NewField returns a new value that is assignable to the field +// for the given descriptor. For scalars, this returns the default value. +// For lists, maps, and messages, this returns a new, empty, mutable value. +func (x *fastReflection_GetLatestAvailableNetworkInferencesResponse) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.GetLatestAvailableNetworkInferencesResponse.network_inferences": + m := new(v3.ValueBundle) + return protoreflect.ValueOfMessage(m.ProtoReflect()) + case "emissions.v8.GetLatestAvailableNetworkInferencesResponse.inferer_weights": + list := []*v3.RegretInformedWeight{} + return protoreflect.ValueOfList(&_GetLatestAvailableNetworkInferencesResponse_2_list{list: &list}) + case "emissions.v8.GetLatestAvailableNetworkInferencesResponse.forecaster_weights": + list := []*v3.RegretInformedWeight{} + return protoreflect.ValueOfList(&_GetLatestAvailableNetworkInferencesResponse_3_list{list: &list}) + case "emissions.v8.GetLatestAvailableNetworkInferencesResponse.inference_block_height": + return protoreflect.ValueOfInt64(int64(0)) + case "emissions.v8.GetLatestAvailableNetworkInferencesResponse.loss_block_height": + return protoreflect.ValueOfInt64(int64(0)) + case "emissions.v8.GetLatestAvailableNetworkInferencesResponse.confidence_interval_raw_percentiles": + list := []string{} + return protoreflect.ValueOfList(&_GetLatestAvailableNetworkInferencesResponse_7_list{list: &list}) + case "emissions.v8.GetLatestAvailableNetworkInferencesResponse.confidence_interval_values": + list := []string{} + return protoreflect.ValueOfList(&_GetLatestAvailableNetworkInferencesResponse_8_list{list: &list}) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetLatestAvailableNetworkInferencesResponse")) + } + panic(fmt.Errorf("message emissions.v8.GetLatestAvailableNetworkInferencesResponse does not contain field %s", fd.FullName())) + } +} + +// WhichOneof reports which field within the oneof is populated, +// returning nil if none are populated. +// It panics if the oneof descriptor does not belong to this message. +func (x *fastReflection_GetLatestAvailableNetworkInferencesResponse) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { + switch d.FullName() { + default: + panic(fmt.Errorf("%s is not a oneof field in emissions.v8.GetLatestAvailableNetworkInferencesResponse", d.FullName())) + } + panic("unreachable") +} + +// GetUnknown retrieves the entire list of unknown fields. +// The caller may only mutate the contents of the RawFields +// if the mutated bytes are stored back into the message with SetUnknown. +func (x *fastReflection_GetLatestAvailableNetworkInferencesResponse) GetUnknown() protoreflect.RawFields { + return x.unknownFields +} + +// SetUnknown stores an entire list of unknown fields. +// The raw fields must be syntactically valid according to the wire format. +// An implementation may panic if this is not the case. +// Once stored, the caller must not mutate the content of the RawFields. +// An empty RawFields may be passed to clear the fields. +// +// SetUnknown is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetLatestAvailableNetworkInferencesResponse) SetUnknown(fields protoreflect.RawFields) { + x.unknownFields = fields +} + +// IsValid reports whether the message is valid. +// +// An invalid message is an empty, read-only value. +// +// An invalid message often corresponds to a nil pointer of the concrete +// message type, but the details are implementation dependent. +// Validity is not part of the protobuf data model, and may not +// be preserved in marshaling or other operations. +func (x *fastReflection_GetLatestAvailableNetworkInferencesResponse) IsValid() bool { + return x != nil +} + +// ProtoMethods returns optional fastReflectionFeature-path implementations of various operations. +// This method may return nil. +// +// The returned methods type is identical to +// "google.golang.org/protobuf/runtime/protoiface".Methods. +// Consult the protoiface package documentation for details. +func (x *fastReflection_GetLatestAvailableNetworkInferencesResponse) ProtoMethods() *protoiface.Methods { + size := func(input protoiface.SizeInput) protoiface.SizeOutput { + x := input.Message.Interface().(*GetLatestAvailableNetworkInferencesResponse) + if x == nil { + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: 0, + } + } + options := runtime.SizeInputToOptions(input) + _ = options + var n int + var l int + _ = l + if x.NetworkInferences != nil { + l = options.Size(x.NetworkInferences) + n += 1 + l + runtime.Sov(uint64(l)) + } + if len(x.InfererWeights) > 0 { + for _, e := range x.InfererWeights { + l = options.Size(e) + n += 1 + l + runtime.Sov(uint64(l)) + } + } + if len(x.ForecasterWeights) > 0 { + for _, e := range x.ForecasterWeights { + l = options.Size(e) + n += 1 + l + runtime.Sov(uint64(l)) + } + } + if x.InferenceBlockHeight != 0 { + n += 1 + runtime.Sov(uint64(x.InferenceBlockHeight)) + } + if x.LossBlockHeight != 0 { + n += 1 + runtime.Sov(uint64(x.LossBlockHeight)) + } + if len(x.ConfidenceIntervalRawPercentiles) > 0 { + for _, s := range x.ConfidenceIntervalRawPercentiles { + l = len(s) + n += 1 + l + runtime.Sov(uint64(l)) + } + } + if len(x.ConfidenceIntervalValues) > 0 { + for _, s := range x.ConfidenceIntervalValues { + l = len(s) + n += 1 + l + runtime.Sov(uint64(l)) + } + } + if x.unknownFields != nil { + n += len(x.unknownFields) + } + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: n, + } + } + + marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { + x := input.Message.Interface().(*GetLatestAvailableNetworkInferencesResponse) + if x == nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + options := runtime.MarshalInputToOptions(input) + _ = options + size := options.Size(x) + dAtA := make([]byte, size) + i := len(dAtA) + _ = i + var l int + _ = l + if x.unknownFields != nil { + i -= len(x.unknownFields) + copy(dAtA[i:], x.unknownFields) + } + if len(x.ConfidenceIntervalValues) > 0 { + for iNdEx := len(x.ConfidenceIntervalValues) - 1; iNdEx >= 0; iNdEx-- { + i -= len(x.ConfidenceIntervalValues[iNdEx]) + copy(dAtA[i:], x.ConfidenceIntervalValues[iNdEx]) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.ConfidenceIntervalValues[iNdEx]))) + i-- + dAtA[i] = 0x42 + } + } + if len(x.ConfidenceIntervalRawPercentiles) > 0 { + for iNdEx := len(x.ConfidenceIntervalRawPercentiles) - 1; iNdEx >= 0; iNdEx-- { + i -= len(x.ConfidenceIntervalRawPercentiles[iNdEx]) + copy(dAtA[i:], x.ConfidenceIntervalRawPercentiles[iNdEx]) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.ConfidenceIntervalRawPercentiles[iNdEx]))) + i-- + dAtA[i] = 0x3a + } + } + if x.LossBlockHeight != 0 { + i = runtime.EncodeVarint(dAtA, i, uint64(x.LossBlockHeight)) + i-- + dAtA[i] = 0x30 + } + if x.InferenceBlockHeight != 0 { + i = runtime.EncodeVarint(dAtA, i, uint64(x.InferenceBlockHeight)) + i-- + dAtA[i] = 0x28 + } + if len(x.ForecasterWeights) > 0 { + for iNdEx := len(x.ForecasterWeights) - 1; iNdEx >= 0; iNdEx-- { + encoded, err := options.Marshal(x.ForecasterWeights[iNdEx]) + if err != nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = runtime.EncodeVarint(dAtA, i, uint64(len(encoded))) + i-- + dAtA[i] = 0x1a + } + } + if len(x.InfererWeights) > 0 { + for iNdEx := len(x.InfererWeights) - 1; iNdEx >= 0; iNdEx-- { + encoded, err := options.Marshal(x.InfererWeights[iNdEx]) + if err != nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = runtime.EncodeVarint(dAtA, i, uint64(len(encoded))) + i-- + dAtA[i] = 0x12 + } + } + if x.NetworkInferences != nil { + encoded, err := options.Marshal(x.NetworkInferences) + if err != nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = runtime.EncodeVarint(dAtA, i, uint64(len(encoded))) + i-- + dAtA[i] = 0xa + } + if input.Buf != nil { + input.Buf = append(input.Buf, dAtA...) + } else { + input.Buf = dAtA + } + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { + x := input.Message.Interface().(*GetLatestAvailableNetworkInferencesResponse) + if x == nil { + return protoiface.UnmarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Flags: input.Flags, + }, nil + } + options := runtime.UnmarshalInputToOptions(input) + _ = options + dAtA := input.Buf + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: GetLatestAvailableNetworkInferencesResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: GetLatestAvailableNetworkInferencesResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field NetworkInferences", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + if x.NetworkInferences == nil { + x.NetworkInferences = &v3.ValueBundle{} + } + if err := options.Unmarshal(dAtA[iNdEx:postIndex], x.NetworkInferences); err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + iNdEx = postIndex + case 2: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field InfererWeights", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + x.InfererWeights = append(x.InfererWeights, &v3.RegretInformedWeight{}) + if err := options.Unmarshal(dAtA[iNdEx:postIndex], x.InfererWeights[len(x.InfererWeights)-1]); err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + iNdEx = postIndex + case 3: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field ForecasterWeights", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + x.ForecasterWeights = append(x.ForecasterWeights, &v3.RegretInformedWeight{}) + if err := options.Unmarshal(dAtA[iNdEx:postIndex], x.ForecasterWeights[len(x.ForecasterWeights)-1]); err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + iNdEx = postIndex + case 5: + if wireType != 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field InferenceBlockHeight", wireType) + } + x.InferenceBlockHeight = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + x.InferenceBlockHeight |= int64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 6: + if wireType != 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field LossBlockHeight", wireType) + } + x.LossBlockHeight = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + x.LossBlockHeight |= int64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 7: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field ConfidenceIntervalRawPercentiles", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + x.ConfidenceIntervalRawPercentiles = append(x.ConfidenceIntervalRawPercentiles, string(dAtA[iNdEx:postIndex])) + iNdEx = postIndex + case 8: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field ConfidenceIntervalValues", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + x.ConfidenceIntervalValues = append(x.ConfidenceIntervalValues, string(dAtA[iNdEx:postIndex])) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := runtime.Skip(dAtA[iNdEx:]) + if err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if (iNdEx + skippy) > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + if !options.DiscardUnknown { + x.unknownFields = append(x.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + } + iNdEx += skippy + } + } + + if iNdEx > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, nil + } + return &protoiface.Methods{ + NoUnkeyedLiterals: struct{}{}, + Flags: protoiface.SupportMarshalDeterministic | protoiface.SupportUnmarshalDiscardUnknown, + Size: size, + Marshal: marshal, + Unmarshal: unmarshal, + Merge: nil, + CheckInitialized: nil, + } +} + +var _ protoreflect.List = (*_GetLatestAvailableNetworkInferencesOutlierResistantResponse_2_list)(nil) + +type _GetLatestAvailableNetworkInferencesOutlierResistantResponse_2_list struct { + list *[]*v3.RegretInformedWeight +} + +func (x *_GetLatestAvailableNetworkInferencesOutlierResistantResponse_2_list) Len() int { + if x.list == nil { + return 0 + } + return len(*x.list) +} + +func (x *_GetLatestAvailableNetworkInferencesOutlierResistantResponse_2_list) Get(i int) protoreflect.Value { + return protoreflect.ValueOfMessage((*x.list)[i].ProtoReflect()) +} + +func (x *_GetLatestAvailableNetworkInferencesOutlierResistantResponse_2_list) Set(i int, value protoreflect.Value) { + valueUnwrapped := value.Message() + concreteValue := valueUnwrapped.Interface().(*v3.RegretInformedWeight) + (*x.list)[i] = concreteValue +} + +func (x *_GetLatestAvailableNetworkInferencesOutlierResistantResponse_2_list) Append(value protoreflect.Value) { + valueUnwrapped := value.Message() + concreteValue := valueUnwrapped.Interface().(*v3.RegretInformedWeight) + *x.list = append(*x.list, concreteValue) +} + +func (x *_GetLatestAvailableNetworkInferencesOutlierResistantResponse_2_list) AppendMutable() protoreflect.Value { + v := new(v3.RegretInformedWeight) + *x.list = append(*x.list, v) + return protoreflect.ValueOfMessage(v.ProtoReflect()) +} + +func (x *_GetLatestAvailableNetworkInferencesOutlierResistantResponse_2_list) Truncate(n int) { + for i := n; i < len(*x.list); i++ { + (*x.list)[i] = nil + } + *x.list = (*x.list)[:n] +} + +func (x *_GetLatestAvailableNetworkInferencesOutlierResistantResponse_2_list) NewElement() protoreflect.Value { + v := new(v3.RegretInformedWeight) + return protoreflect.ValueOfMessage(v.ProtoReflect()) +} + +func (x *_GetLatestAvailableNetworkInferencesOutlierResistantResponse_2_list) IsValid() bool { + return x.list != nil +} + +var _ protoreflect.List = (*_GetLatestAvailableNetworkInferencesOutlierResistantResponse_3_list)(nil) + +type _GetLatestAvailableNetworkInferencesOutlierResistantResponse_3_list struct { + list *[]*v3.RegretInformedWeight +} + +func (x *_GetLatestAvailableNetworkInferencesOutlierResistantResponse_3_list) Len() int { + if x.list == nil { + return 0 + } + return len(*x.list) +} + +func (x *_GetLatestAvailableNetworkInferencesOutlierResistantResponse_3_list) Get(i int) protoreflect.Value { + return protoreflect.ValueOfMessage((*x.list)[i].ProtoReflect()) +} + +func (x *_GetLatestAvailableNetworkInferencesOutlierResistantResponse_3_list) Set(i int, value protoreflect.Value) { + valueUnwrapped := value.Message() + concreteValue := valueUnwrapped.Interface().(*v3.RegretInformedWeight) + (*x.list)[i] = concreteValue +} + +func (x *_GetLatestAvailableNetworkInferencesOutlierResistantResponse_3_list) Append(value protoreflect.Value) { + valueUnwrapped := value.Message() + concreteValue := valueUnwrapped.Interface().(*v3.RegretInformedWeight) + *x.list = append(*x.list, concreteValue) +} + +func (x *_GetLatestAvailableNetworkInferencesOutlierResistantResponse_3_list) AppendMutable() protoreflect.Value { + v := new(v3.RegretInformedWeight) + *x.list = append(*x.list, v) + return protoreflect.ValueOfMessage(v.ProtoReflect()) +} + +func (x *_GetLatestAvailableNetworkInferencesOutlierResistantResponse_3_list) Truncate(n int) { + for i := n; i < len(*x.list); i++ { + (*x.list)[i] = nil + } + *x.list = (*x.list)[:n] +} + +func (x *_GetLatestAvailableNetworkInferencesOutlierResistantResponse_3_list) NewElement() protoreflect.Value { + v := new(v3.RegretInformedWeight) + return protoreflect.ValueOfMessage(v.ProtoReflect()) +} + +func (x *_GetLatestAvailableNetworkInferencesOutlierResistantResponse_3_list) IsValid() bool { + return x.list != nil +} + +var _ protoreflect.List = (*_GetLatestAvailableNetworkInferencesOutlierResistantResponse_7_list)(nil) + +type _GetLatestAvailableNetworkInferencesOutlierResistantResponse_7_list struct { + list *[]string +} + +func (x *_GetLatestAvailableNetworkInferencesOutlierResistantResponse_7_list) Len() int { + if x.list == nil { + return 0 + } + return len(*x.list) +} + +func (x *_GetLatestAvailableNetworkInferencesOutlierResistantResponse_7_list) Get(i int) protoreflect.Value { + return protoreflect.ValueOfString((*x.list)[i]) +} + +func (x *_GetLatestAvailableNetworkInferencesOutlierResistantResponse_7_list) Set(i int, value protoreflect.Value) { + valueUnwrapped := value.String() + concreteValue := valueUnwrapped + (*x.list)[i] = concreteValue +} + +func (x *_GetLatestAvailableNetworkInferencesOutlierResistantResponse_7_list) Append(value protoreflect.Value) { + valueUnwrapped := value.String() + concreteValue := valueUnwrapped + *x.list = append(*x.list, concreteValue) +} + +func (x *_GetLatestAvailableNetworkInferencesOutlierResistantResponse_7_list) AppendMutable() protoreflect.Value { + panic(fmt.Errorf("AppendMutable can not be called on message GetLatestAvailableNetworkInferencesOutlierResistantResponse at list field ConfidenceIntervalRawPercentiles as it is not of Message kind")) +} + +func (x *_GetLatestAvailableNetworkInferencesOutlierResistantResponse_7_list) Truncate(n int) { + *x.list = (*x.list)[:n] +} + +func (x *_GetLatestAvailableNetworkInferencesOutlierResistantResponse_7_list) NewElement() protoreflect.Value { + v := "" + return protoreflect.ValueOfString(v) +} + +func (x *_GetLatestAvailableNetworkInferencesOutlierResistantResponse_7_list) IsValid() bool { + return x.list != nil +} + +var _ protoreflect.List = (*_GetLatestAvailableNetworkInferencesOutlierResistantResponse_8_list)(nil) + +type _GetLatestAvailableNetworkInferencesOutlierResistantResponse_8_list struct { + list *[]string +} + +func (x *_GetLatestAvailableNetworkInferencesOutlierResistantResponse_8_list) Len() int { + if x.list == nil { + return 0 + } + return len(*x.list) +} + +func (x *_GetLatestAvailableNetworkInferencesOutlierResistantResponse_8_list) Get(i int) protoreflect.Value { + return protoreflect.ValueOfString((*x.list)[i]) +} + +func (x *_GetLatestAvailableNetworkInferencesOutlierResistantResponse_8_list) Set(i int, value protoreflect.Value) { + valueUnwrapped := value.String() + concreteValue := valueUnwrapped + (*x.list)[i] = concreteValue +} + +func (x *_GetLatestAvailableNetworkInferencesOutlierResistantResponse_8_list) Append(value protoreflect.Value) { + valueUnwrapped := value.String() + concreteValue := valueUnwrapped + *x.list = append(*x.list, concreteValue) +} + +func (x *_GetLatestAvailableNetworkInferencesOutlierResistantResponse_8_list) AppendMutable() protoreflect.Value { + panic(fmt.Errorf("AppendMutable can not be called on message GetLatestAvailableNetworkInferencesOutlierResistantResponse at list field ConfidenceIntervalValues as it is not of Message kind")) +} + +func (x *_GetLatestAvailableNetworkInferencesOutlierResistantResponse_8_list) Truncate(n int) { + *x.list = (*x.list)[:n] +} + +func (x *_GetLatestAvailableNetworkInferencesOutlierResistantResponse_8_list) NewElement() protoreflect.Value { + v := "" + return protoreflect.ValueOfString(v) +} + +func (x *_GetLatestAvailableNetworkInferencesOutlierResistantResponse_8_list) IsValid() bool { + return x.list != nil +} + +var ( + md_GetLatestAvailableNetworkInferencesOutlierResistantResponse protoreflect.MessageDescriptor + fd_GetLatestAvailableNetworkInferencesOutlierResistantResponse_network_inferences protoreflect.FieldDescriptor + fd_GetLatestAvailableNetworkInferencesOutlierResistantResponse_inferer_weights protoreflect.FieldDescriptor + fd_GetLatestAvailableNetworkInferencesOutlierResistantResponse_forecaster_weights protoreflect.FieldDescriptor + fd_GetLatestAvailableNetworkInferencesOutlierResistantResponse_inference_block_height protoreflect.FieldDescriptor + fd_GetLatestAvailableNetworkInferencesOutlierResistantResponse_loss_block_height protoreflect.FieldDescriptor + fd_GetLatestAvailableNetworkInferencesOutlierResistantResponse_confidence_interval_raw_percentiles protoreflect.FieldDescriptor + fd_GetLatestAvailableNetworkInferencesOutlierResistantResponse_confidence_interval_values protoreflect.FieldDescriptor +) + +func init() { + file_emissions_v8_query_proto_init() + md_GetLatestAvailableNetworkInferencesOutlierResistantResponse = File_emissions_v8_query_proto.Messages().ByName("GetLatestAvailableNetworkInferencesOutlierResistantResponse") + fd_GetLatestAvailableNetworkInferencesOutlierResistantResponse_network_inferences = md_GetLatestAvailableNetworkInferencesOutlierResistantResponse.Fields().ByName("network_inferences") + fd_GetLatestAvailableNetworkInferencesOutlierResistantResponse_inferer_weights = md_GetLatestAvailableNetworkInferencesOutlierResistantResponse.Fields().ByName("inferer_weights") + fd_GetLatestAvailableNetworkInferencesOutlierResistantResponse_forecaster_weights = md_GetLatestAvailableNetworkInferencesOutlierResistantResponse.Fields().ByName("forecaster_weights") + fd_GetLatestAvailableNetworkInferencesOutlierResistantResponse_inference_block_height = md_GetLatestAvailableNetworkInferencesOutlierResistantResponse.Fields().ByName("inference_block_height") + fd_GetLatestAvailableNetworkInferencesOutlierResistantResponse_loss_block_height = md_GetLatestAvailableNetworkInferencesOutlierResistantResponse.Fields().ByName("loss_block_height") + fd_GetLatestAvailableNetworkInferencesOutlierResistantResponse_confidence_interval_raw_percentiles = md_GetLatestAvailableNetworkInferencesOutlierResistantResponse.Fields().ByName("confidence_interval_raw_percentiles") + fd_GetLatestAvailableNetworkInferencesOutlierResistantResponse_confidence_interval_values = md_GetLatestAvailableNetworkInferencesOutlierResistantResponse.Fields().ByName("confidence_interval_values") +} + +var _ protoreflect.Message = (*fastReflection_GetLatestAvailableNetworkInferencesOutlierResistantResponse)(nil) + +type fastReflection_GetLatestAvailableNetworkInferencesOutlierResistantResponse GetLatestAvailableNetworkInferencesOutlierResistantResponse + +func (x *GetLatestAvailableNetworkInferencesOutlierResistantResponse) ProtoReflect() protoreflect.Message { + return (*fastReflection_GetLatestAvailableNetworkInferencesOutlierResistantResponse)(x) +} + +func (x *GetLatestAvailableNetworkInferencesOutlierResistantResponse) slowProtoReflect() protoreflect.Message { + mi := &file_emissions_v8_query_proto_msgTypes[111] + 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) +} + +var _fastReflection_GetLatestAvailableNetworkInferencesOutlierResistantResponse_messageType fastReflection_GetLatestAvailableNetworkInferencesOutlierResistantResponse_messageType +var _ protoreflect.MessageType = fastReflection_GetLatestAvailableNetworkInferencesOutlierResistantResponse_messageType{} + +type fastReflection_GetLatestAvailableNetworkInferencesOutlierResistantResponse_messageType struct{} + +func (x fastReflection_GetLatestAvailableNetworkInferencesOutlierResistantResponse_messageType) Zero() protoreflect.Message { + return (*fastReflection_GetLatestAvailableNetworkInferencesOutlierResistantResponse)(nil) +} +func (x fastReflection_GetLatestAvailableNetworkInferencesOutlierResistantResponse_messageType) New() protoreflect.Message { + return new(fastReflection_GetLatestAvailableNetworkInferencesOutlierResistantResponse) +} +func (x fastReflection_GetLatestAvailableNetworkInferencesOutlierResistantResponse_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_GetLatestAvailableNetworkInferencesOutlierResistantResponse +} + +// Descriptor returns message descriptor, which contains only the protobuf +// type information for the message. +func (x *fastReflection_GetLatestAvailableNetworkInferencesOutlierResistantResponse) Descriptor() protoreflect.MessageDescriptor { + return md_GetLatestAvailableNetworkInferencesOutlierResistantResponse +} + +// Type returns the message type, which encapsulates both Go and protobuf +// type information. If the Go type information is not needed, +// it is recommended that the message descriptor be used instead. +func (x *fastReflection_GetLatestAvailableNetworkInferencesOutlierResistantResponse) Type() protoreflect.MessageType { + return _fastReflection_GetLatestAvailableNetworkInferencesOutlierResistantResponse_messageType +} + +// New returns a newly allocated and mutable empty message. +func (x *fastReflection_GetLatestAvailableNetworkInferencesOutlierResistantResponse) New() protoreflect.Message { + return new(fastReflection_GetLatestAvailableNetworkInferencesOutlierResistantResponse) +} + +// Interface unwraps the message reflection interface and +// returns the underlying ProtoMessage interface. +func (x *fastReflection_GetLatestAvailableNetworkInferencesOutlierResistantResponse) Interface() protoreflect.ProtoMessage { + return (*GetLatestAvailableNetworkInferencesOutlierResistantResponse)(x) +} + +// Range iterates over every populated field in an undefined order, +// calling f for each field descriptor and value encountered. +// Range returns immediately if f returns false. +// While iterating, mutating operations may only be performed +// on the current field descriptor. +func (x *fastReflection_GetLatestAvailableNetworkInferencesOutlierResistantResponse) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { + if x.NetworkInferences != nil { + value := protoreflect.ValueOfMessage(x.NetworkInferences.ProtoReflect()) + if !f(fd_GetLatestAvailableNetworkInferencesOutlierResistantResponse_network_inferences, value) { + return + } + } + if len(x.InfererWeights) != 0 { + value := protoreflect.ValueOfList(&_GetLatestAvailableNetworkInferencesOutlierResistantResponse_2_list{list: &x.InfererWeights}) + if !f(fd_GetLatestAvailableNetworkInferencesOutlierResistantResponse_inferer_weights, value) { + return + } + } + if len(x.ForecasterWeights) != 0 { + value := protoreflect.ValueOfList(&_GetLatestAvailableNetworkInferencesOutlierResistantResponse_3_list{list: &x.ForecasterWeights}) + if !f(fd_GetLatestAvailableNetworkInferencesOutlierResistantResponse_forecaster_weights, value) { + return + } + } + if x.InferenceBlockHeight != int64(0) { + value := protoreflect.ValueOfInt64(x.InferenceBlockHeight) + if !f(fd_GetLatestAvailableNetworkInferencesOutlierResistantResponse_inference_block_height, value) { + return + } + } + if x.LossBlockHeight != int64(0) { + value := protoreflect.ValueOfInt64(x.LossBlockHeight) + if !f(fd_GetLatestAvailableNetworkInferencesOutlierResistantResponse_loss_block_height, value) { + return + } + } + if len(x.ConfidenceIntervalRawPercentiles) != 0 { + value := protoreflect.ValueOfList(&_GetLatestAvailableNetworkInferencesOutlierResistantResponse_7_list{list: &x.ConfidenceIntervalRawPercentiles}) + if !f(fd_GetLatestAvailableNetworkInferencesOutlierResistantResponse_confidence_interval_raw_percentiles, value) { + return + } + } + if len(x.ConfidenceIntervalValues) != 0 { + value := protoreflect.ValueOfList(&_GetLatestAvailableNetworkInferencesOutlierResistantResponse_8_list{list: &x.ConfidenceIntervalValues}) + if !f(fd_GetLatestAvailableNetworkInferencesOutlierResistantResponse_confidence_interval_values, value) { + return + } + } +} + +// Has reports whether a field is populated. +// +// Some fields have the property of nullability where it is possible to +// distinguish between the default value of a field and whether the field +// was explicitly populated with the default value. Singular message fields, +// member fields of a oneof, and proto2 scalar fields are nullable. Such +// fields are populated only if explicitly set. +// +// In other cases (aside from the nullable cases above), +// a proto3 scalar field is populated if it contains a non-zero value, and +// a repeated field is populated if it is non-empty. +func (x *fastReflection_GetLatestAvailableNetworkInferencesOutlierResistantResponse) Has(fd protoreflect.FieldDescriptor) bool { + switch fd.FullName() { + case "emissions.v8.GetLatestAvailableNetworkInferencesOutlierResistantResponse.network_inferences": + return x.NetworkInferences != nil + case "emissions.v8.GetLatestAvailableNetworkInferencesOutlierResistantResponse.inferer_weights": + return len(x.InfererWeights) != 0 + case "emissions.v8.GetLatestAvailableNetworkInferencesOutlierResistantResponse.forecaster_weights": + return len(x.ForecasterWeights) != 0 + case "emissions.v8.GetLatestAvailableNetworkInferencesOutlierResistantResponse.inference_block_height": + return x.InferenceBlockHeight != int64(0) + case "emissions.v8.GetLatestAvailableNetworkInferencesOutlierResistantResponse.loss_block_height": + return x.LossBlockHeight != int64(0) + case "emissions.v8.GetLatestAvailableNetworkInferencesOutlierResistantResponse.confidence_interval_raw_percentiles": + return len(x.ConfidenceIntervalRawPercentiles) != 0 + case "emissions.v8.GetLatestAvailableNetworkInferencesOutlierResistantResponse.confidence_interval_values": + return len(x.ConfidenceIntervalValues) != 0 + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetLatestAvailableNetworkInferencesOutlierResistantResponse")) + } + panic(fmt.Errorf("message emissions.v8.GetLatestAvailableNetworkInferencesOutlierResistantResponse does not contain field %s", fd.FullName())) + } +} + +// Clear clears the field such that a subsequent Has call reports false. +// +// Clearing an extension field clears both the extension type and value +// associated with the given field number. +// +// Clear is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetLatestAvailableNetworkInferencesOutlierResistantResponse) Clear(fd protoreflect.FieldDescriptor) { + switch fd.FullName() { + case "emissions.v8.GetLatestAvailableNetworkInferencesOutlierResistantResponse.network_inferences": + x.NetworkInferences = nil + case "emissions.v8.GetLatestAvailableNetworkInferencesOutlierResistantResponse.inferer_weights": + x.InfererWeights = nil + case "emissions.v8.GetLatestAvailableNetworkInferencesOutlierResistantResponse.forecaster_weights": + x.ForecasterWeights = nil + case "emissions.v8.GetLatestAvailableNetworkInferencesOutlierResistantResponse.inference_block_height": + x.InferenceBlockHeight = int64(0) + case "emissions.v8.GetLatestAvailableNetworkInferencesOutlierResistantResponse.loss_block_height": + x.LossBlockHeight = int64(0) + case "emissions.v8.GetLatestAvailableNetworkInferencesOutlierResistantResponse.confidence_interval_raw_percentiles": + x.ConfidenceIntervalRawPercentiles = nil + case "emissions.v8.GetLatestAvailableNetworkInferencesOutlierResistantResponse.confidence_interval_values": + x.ConfidenceIntervalValues = nil + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetLatestAvailableNetworkInferencesOutlierResistantResponse")) + } + panic(fmt.Errorf("message emissions.v8.GetLatestAvailableNetworkInferencesOutlierResistantResponse does not contain field %s", fd.FullName())) + } +} + +// Get retrieves the value for a field. +// +// For unpopulated scalars, it returns the default value, where +// the default value of a bytes scalar is guaranteed to be a copy. +// For unpopulated composite types, it returns an empty, read-only view +// of the value; to obtain a mutable reference, use Mutable. +func (x *fastReflection_GetLatestAvailableNetworkInferencesOutlierResistantResponse) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { + switch descriptor.FullName() { + case "emissions.v8.GetLatestAvailableNetworkInferencesOutlierResistantResponse.network_inferences": + value := x.NetworkInferences + return protoreflect.ValueOfMessage(value.ProtoReflect()) + case "emissions.v8.GetLatestAvailableNetworkInferencesOutlierResistantResponse.inferer_weights": + if len(x.InfererWeights) == 0 { + return protoreflect.ValueOfList(&_GetLatestAvailableNetworkInferencesOutlierResistantResponse_2_list{}) + } + listValue := &_GetLatestAvailableNetworkInferencesOutlierResistantResponse_2_list{list: &x.InfererWeights} + return protoreflect.ValueOfList(listValue) + case "emissions.v8.GetLatestAvailableNetworkInferencesOutlierResistantResponse.forecaster_weights": + if len(x.ForecasterWeights) == 0 { + return protoreflect.ValueOfList(&_GetLatestAvailableNetworkInferencesOutlierResistantResponse_3_list{}) + } + listValue := &_GetLatestAvailableNetworkInferencesOutlierResistantResponse_3_list{list: &x.ForecasterWeights} + return protoreflect.ValueOfList(listValue) + case "emissions.v8.GetLatestAvailableNetworkInferencesOutlierResistantResponse.inference_block_height": + value := x.InferenceBlockHeight + return protoreflect.ValueOfInt64(value) + case "emissions.v8.GetLatestAvailableNetworkInferencesOutlierResistantResponse.loss_block_height": + value := x.LossBlockHeight + return protoreflect.ValueOfInt64(value) + case "emissions.v8.GetLatestAvailableNetworkInferencesOutlierResistantResponse.confidence_interval_raw_percentiles": + if len(x.ConfidenceIntervalRawPercentiles) == 0 { + return protoreflect.ValueOfList(&_GetLatestAvailableNetworkInferencesOutlierResistantResponse_7_list{}) + } + listValue := &_GetLatestAvailableNetworkInferencesOutlierResistantResponse_7_list{list: &x.ConfidenceIntervalRawPercentiles} + return protoreflect.ValueOfList(listValue) + case "emissions.v8.GetLatestAvailableNetworkInferencesOutlierResistantResponse.confidence_interval_values": + if len(x.ConfidenceIntervalValues) == 0 { + return protoreflect.ValueOfList(&_GetLatestAvailableNetworkInferencesOutlierResistantResponse_8_list{}) + } + listValue := &_GetLatestAvailableNetworkInferencesOutlierResistantResponse_8_list{list: &x.ConfidenceIntervalValues} + return protoreflect.ValueOfList(listValue) + default: + if descriptor.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetLatestAvailableNetworkInferencesOutlierResistantResponse")) + } + panic(fmt.Errorf("message emissions.v8.GetLatestAvailableNetworkInferencesOutlierResistantResponse does not contain field %s", descriptor.FullName())) + } +} + +// Set stores the value for a field. +// +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType. +// When setting a composite type, it is unspecified whether the stored value +// aliases the source's memory in any way. If the composite value is an +// empty, read-only value, then it panics. +// +// Set is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetLatestAvailableNetworkInferencesOutlierResistantResponse) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { + switch fd.FullName() { + case "emissions.v8.GetLatestAvailableNetworkInferencesOutlierResistantResponse.network_inferences": + x.NetworkInferences = value.Message().Interface().(*v3.ValueBundle) + case "emissions.v8.GetLatestAvailableNetworkInferencesOutlierResistantResponse.inferer_weights": + lv := value.List() + clv := lv.(*_GetLatestAvailableNetworkInferencesOutlierResistantResponse_2_list) + x.InfererWeights = *clv.list + case "emissions.v8.GetLatestAvailableNetworkInferencesOutlierResistantResponse.forecaster_weights": + lv := value.List() + clv := lv.(*_GetLatestAvailableNetworkInferencesOutlierResistantResponse_3_list) + x.ForecasterWeights = *clv.list + case "emissions.v8.GetLatestAvailableNetworkInferencesOutlierResistantResponse.inference_block_height": + x.InferenceBlockHeight = value.Int() + case "emissions.v8.GetLatestAvailableNetworkInferencesOutlierResistantResponse.loss_block_height": + x.LossBlockHeight = value.Int() + case "emissions.v8.GetLatestAvailableNetworkInferencesOutlierResistantResponse.confidence_interval_raw_percentiles": + lv := value.List() + clv := lv.(*_GetLatestAvailableNetworkInferencesOutlierResistantResponse_7_list) + x.ConfidenceIntervalRawPercentiles = *clv.list + case "emissions.v8.GetLatestAvailableNetworkInferencesOutlierResistantResponse.confidence_interval_values": + lv := value.List() + clv := lv.(*_GetLatestAvailableNetworkInferencesOutlierResistantResponse_8_list) + x.ConfidenceIntervalValues = *clv.list + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetLatestAvailableNetworkInferencesOutlierResistantResponse")) + } + panic(fmt.Errorf("message emissions.v8.GetLatestAvailableNetworkInferencesOutlierResistantResponse does not contain field %s", fd.FullName())) + } +} + +// Mutable returns a mutable reference to a composite type. +// +// If the field is unpopulated, it may allocate a composite value. +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType +// if not already stored. +// It panics if the field does not contain a composite type. +// +// Mutable is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetLatestAvailableNetworkInferencesOutlierResistantResponse) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.GetLatestAvailableNetworkInferencesOutlierResistantResponse.network_inferences": + if x.NetworkInferences == nil { + x.NetworkInferences = new(v3.ValueBundle) + } + return protoreflect.ValueOfMessage(x.NetworkInferences.ProtoReflect()) + case "emissions.v8.GetLatestAvailableNetworkInferencesOutlierResistantResponse.inferer_weights": + if x.InfererWeights == nil { + x.InfererWeights = []*v3.RegretInformedWeight{} + } + value := &_GetLatestAvailableNetworkInferencesOutlierResistantResponse_2_list{list: &x.InfererWeights} + return protoreflect.ValueOfList(value) + case "emissions.v8.GetLatestAvailableNetworkInferencesOutlierResistantResponse.forecaster_weights": + if x.ForecasterWeights == nil { + x.ForecasterWeights = []*v3.RegretInformedWeight{} + } + value := &_GetLatestAvailableNetworkInferencesOutlierResistantResponse_3_list{list: &x.ForecasterWeights} + return protoreflect.ValueOfList(value) + case "emissions.v8.GetLatestAvailableNetworkInferencesOutlierResistantResponse.confidence_interval_raw_percentiles": + if x.ConfidenceIntervalRawPercentiles == nil { + x.ConfidenceIntervalRawPercentiles = []string{} + } + value := &_GetLatestAvailableNetworkInferencesOutlierResistantResponse_7_list{list: &x.ConfidenceIntervalRawPercentiles} + return protoreflect.ValueOfList(value) + case "emissions.v8.GetLatestAvailableNetworkInferencesOutlierResistantResponse.confidence_interval_values": + if x.ConfidenceIntervalValues == nil { + x.ConfidenceIntervalValues = []string{} + } + value := &_GetLatestAvailableNetworkInferencesOutlierResistantResponse_8_list{list: &x.ConfidenceIntervalValues} + return protoreflect.ValueOfList(value) + case "emissions.v8.GetLatestAvailableNetworkInferencesOutlierResistantResponse.inference_block_height": + panic(fmt.Errorf("field inference_block_height of message emissions.v8.GetLatestAvailableNetworkInferencesOutlierResistantResponse is not mutable")) + case "emissions.v8.GetLatestAvailableNetworkInferencesOutlierResistantResponse.loss_block_height": + panic(fmt.Errorf("field loss_block_height of message emissions.v8.GetLatestAvailableNetworkInferencesOutlierResistantResponse is not mutable")) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetLatestAvailableNetworkInferencesOutlierResistantResponse")) + } + panic(fmt.Errorf("message emissions.v8.GetLatestAvailableNetworkInferencesOutlierResistantResponse does not contain field %s", fd.FullName())) + } +} + +// NewField returns a new value that is assignable to the field +// for the given descriptor. For scalars, this returns the default value. +// For lists, maps, and messages, this returns a new, empty, mutable value. +func (x *fastReflection_GetLatestAvailableNetworkInferencesOutlierResistantResponse) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.GetLatestAvailableNetworkInferencesOutlierResistantResponse.network_inferences": + m := new(v3.ValueBundle) + return protoreflect.ValueOfMessage(m.ProtoReflect()) + case "emissions.v8.GetLatestAvailableNetworkInferencesOutlierResistantResponse.inferer_weights": + list := []*v3.RegretInformedWeight{} + return protoreflect.ValueOfList(&_GetLatestAvailableNetworkInferencesOutlierResistantResponse_2_list{list: &list}) + case "emissions.v8.GetLatestAvailableNetworkInferencesOutlierResistantResponse.forecaster_weights": + list := []*v3.RegretInformedWeight{} + return protoreflect.ValueOfList(&_GetLatestAvailableNetworkInferencesOutlierResistantResponse_3_list{list: &list}) + case "emissions.v8.GetLatestAvailableNetworkInferencesOutlierResistantResponse.inference_block_height": + return protoreflect.ValueOfInt64(int64(0)) + case "emissions.v8.GetLatestAvailableNetworkInferencesOutlierResistantResponse.loss_block_height": + return protoreflect.ValueOfInt64(int64(0)) + case "emissions.v8.GetLatestAvailableNetworkInferencesOutlierResistantResponse.confidence_interval_raw_percentiles": + list := []string{} + return protoreflect.ValueOfList(&_GetLatestAvailableNetworkInferencesOutlierResistantResponse_7_list{list: &list}) + case "emissions.v8.GetLatestAvailableNetworkInferencesOutlierResistantResponse.confidence_interval_values": + list := []string{} + return protoreflect.ValueOfList(&_GetLatestAvailableNetworkInferencesOutlierResistantResponse_8_list{list: &list}) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetLatestAvailableNetworkInferencesOutlierResistantResponse")) + } + panic(fmt.Errorf("message emissions.v8.GetLatestAvailableNetworkInferencesOutlierResistantResponse does not contain field %s", fd.FullName())) + } +} + +// WhichOneof reports which field within the oneof is populated, +// returning nil if none are populated. +// It panics if the oneof descriptor does not belong to this message. +func (x *fastReflection_GetLatestAvailableNetworkInferencesOutlierResistantResponse) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { + switch d.FullName() { + default: + panic(fmt.Errorf("%s is not a oneof field in emissions.v8.GetLatestAvailableNetworkInferencesOutlierResistantResponse", d.FullName())) + } + panic("unreachable") +} + +// GetUnknown retrieves the entire list of unknown fields. +// The caller may only mutate the contents of the RawFields +// if the mutated bytes are stored back into the message with SetUnknown. +func (x *fastReflection_GetLatestAvailableNetworkInferencesOutlierResistantResponse) GetUnknown() protoreflect.RawFields { + return x.unknownFields +} + +// SetUnknown stores an entire list of unknown fields. +// The raw fields must be syntactically valid according to the wire format. +// An implementation may panic if this is not the case. +// Once stored, the caller must not mutate the content of the RawFields. +// An empty RawFields may be passed to clear the fields. +// +// SetUnknown is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetLatestAvailableNetworkInferencesOutlierResistantResponse) SetUnknown(fields protoreflect.RawFields) { + x.unknownFields = fields +} + +// IsValid reports whether the message is valid. +// +// An invalid message is an empty, read-only value. +// +// An invalid message often corresponds to a nil pointer of the concrete +// message type, but the details are implementation dependent. +// Validity is not part of the protobuf data model, and may not +// be preserved in marshaling or other operations. +func (x *fastReflection_GetLatestAvailableNetworkInferencesOutlierResistantResponse) IsValid() bool { + return x != nil +} + +// ProtoMethods returns optional fastReflectionFeature-path implementations of various operations. +// This method may return nil. +// +// The returned methods type is identical to +// "google.golang.org/protobuf/runtime/protoiface".Methods. +// Consult the protoiface package documentation for details. +func (x *fastReflection_GetLatestAvailableNetworkInferencesOutlierResistantResponse) ProtoMethods() *protoiface.Methods { + size := func(input protoiface.SizeInput) protoiface.SizeOutput { + x := input.Message.Interface().(*GetLatestAvailableNetworkInferencesOutlierResistantResponse) + if x == nil { + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: 0, + } + } + options := runtime.SizeInputToOptions(input) + _ = options + var n int + var l int + _ = l + if x.NetworkInferences != nil { + l = options.Size(x.NetworkInferences) + n += 1 + l + runtime.Sov(uint64(l)) + } + if len(x.InfererWeights) > 0 { + for _, e := range x.InfererWeights { + l = options.Size(e) + n += 1 + l + runtime.Sov(uint64(l)) + } + } + if len(x.ForecasterWeights) > 0 { + for _, e := range x.ForecasterWeights { + l = options.Size(e) + n += 1 + l + runtime.Sov(uint64(l)) + } + } + if x.InferenceBlockHeight != 0 { + n += 1 + runtime.Sov(uint64(x.InferenceBlockHeight)) + } + if x.LossBlockHeight != 0 { + n += 1 + runtime.Sov(uint64(x.LossBlockHeight)) + } + if len(x.ConfidenceIntervalRawPercentiles) > 0 { + for _, s := range x.ConfidenceIntervalRawPercentiles { + l = len(s) + n += 1 + l + runtime.Sov(uint64(l)) + } + } + if len(x.ConfidenceIntervalValues) > 0 { + for _, s := range x.ConfidenceIntervalValues { + l = len(s) + n += 1 + l + runtime.Sov(uint64(l)) + } + } + if x.unknownFields != nil { + n += len(x.unknownFields) + } + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: n, + } + } + + marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { + x := input.Message.Interface().(*GetLatestAvailableNetworkInferencesOutlierResistantResponse) + if x == nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + options := runtime.MarshalInputToOptions(input) + _ = options + size := options.Size(x) + dAtA := make([]byte, size) + i := len(dAtA) + _ = i + var l int + _ = l + if x.unknownFields != nil { + i -= len(x.unknownFields) + copy(dAtA[i:], x.unknownFields) + } + if len(x.ConfidenceIntervalValues) > 0 { + for iNdEx := len(x.ConfidenceIntervalValues) - 1; iNdEx >= 0; iNdEx-- { + i -= len(x.ConfidenceIntervalValues[iNdEx]) + copy(dAtA[i:], x.ConfidenceIntervalValues[iNdEx]) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.ConfidenceIntervalValues[iNdEx]))) + i-- + dAtA[i] = 0x42 + } + } + if len(x.ConfidenceIntervalRawPercentiles) > 0 { + for iNdEx := len(x.ConfidenceIntervalRawPercentiles) - 1; iNdEx >= 0; iNdEx-- { + i -= len(x.ConfidenceIntervalRawPercentiles[iNdEx]) + copy(dAtA[i:], x.ConfidenceIntervalRawPercentiles[iNdEx]) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.ConfidenceIntervalRawPercentiles[iNdEx]))) + i-- + dAtA[i] = 0x3a + } + } + if x.LossBlockHeight != 0 { + i = runtime.EncodeVarint(dAtA, i, uint64(x.LossBlockHeight)) + i-- + dAtA[i] = 0x30 + } + if x.InferenceBlockHeight != 0 { + i = runtime.EncodeVarint(dAtA, i, uint64(x.InferenceBlockHeight)) + i-- + dAtA[i] = 0x28 + } + if len(x.ForecasterWeights) > 0 { + for iNdEx := len(x.ForecasterWeights) - 1; iNdEx >= 0; iNdEx-- { + encoded, err := options.Marshal(x.ForecasterWeights[iNdEx]) + if err != nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = runtime.EncodeVarint(dAtA, i, uint64(len(encoded))) + i-- + dAtA[i] = 0x1a + } + } + if len(x.InfererWeights) > 0 { + for iNdEx := len(x.InfererWeights) - 1; iNdEx >= 0; iNdEx-- { + encoded, err := options.Marshal(x.InfererWeights[iNdEx]) + if err != nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = runtime.EncodeVarint(dAtA, i, uint64(len(encoded))) + i-- + dAtA[i] = 0x12 + } + } + if x.NetworkInferences != nil { + encoded, err := options.Marshal(x.NetworkInferences) + if err != nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = runtime.EncodeVarint(dAtA, i, uint64(len(encoded))) + i-- + dAtA[i] = 0xa + } + if input.Buf != nil { + input.Buf = append(input.Buf, dAtA...) + } else { + input.Buf = dAtA + } + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { + x := input.Message.Interface().(*GetLatestAvailableNetworkInferencesOutlierResistantResponse) + if x == nil { + return protoiface.UnmarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Flags: input.Flags, + }, nil + } + options := runtime.UnmarshalInputToOptions(input) + _ = options + dAtA := input.Buf + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: GetLatestAvailableNetworkInferencesOutlierResistantResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: GetLatestAvailableNetworkInferencesOutlierResistantResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field NetworkInferences", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + if x.NetworkInferences == nil { + x.NetworkInferences = &v3.ValueBundle{} + } + if err := options.Unmarshal(dAtA[iNdEx:postIndex], x.NetworkInferences); err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + iNdEx = postIndex + case 2: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field InfererWeights", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + x.InfererWeights = append(x.InfererWeights, &v3.RegretInformedWeight{}) + if err := options.Unmarshal(dAtA[iNdEx:postIndex], x.InfererWeights[len(x.InfererWeights)-1]); err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + iNdEx = postIndex + case 3: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field ForecasterWeights", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + x.ForecasterWeights = append(x.ForecasterWeights, &v3.RegretInformedWeight{}) + if err := options.Unmarshal(dAtA[iNdEx:postIndex], x.ForecasterWeights[len(x.ForecasterWeights)-1]); err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + iNdEx = postIndex + case 5: + if wireType != 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field InferenceBlockHeight", wireType) + } + x.InferenceBlockHeight = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + x.InferenceBlockHeight |= int64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 6: + if wireType != 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field LossBlockHeight", wireType) + } + x.LossBlockHeight = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + x.LossBlockHeight |= int64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 7: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field ConfidenceIntervalRawPercentiles", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + x.ConfidenceIntervalRawPercentiles = append(x.ConfidenceIntervalRawPercentiles, string(dAtA[iNdEx:postIndex])) + iNdEx = postIndex + case 8: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field ConfidenceIntervalValues", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + x.ConfidenceIntervalValues = append(x.ConfidenceIntervalValues, string(dAtA[iNdEx:postIndex])) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := runtime.Skip(dAtA[iNdEx:]) + if err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if (iNdEx + skippy) > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + if !options.DiscardUnknown { + x.unknownFields = append(x.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + } + iNdEx += skippy + } + } + + if iNdEx > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, nil + } + return &protoiface.Methods{ + NoUnkeyedLiterals: struct{}{}, + Flags: protoiface.SupportMarshalDeterministic | protoiface.SupportUnmarshalDiscardUnknown, + Size: size, + Marshal: marshal, + Unmarshal: unmarshal, + Merge: nil, + CheckInitialized: nil, + } +} + +var ( + md_IsWorkerRegisteredInTopicIdRequest protoreflect.MessageDescriptor + fd_IsWorkerRegisteredInTopicIdRequest_topic_id protoreflect.FieldDescriptor + fd_IsWorkerRegisteredInTopicIdRequest_address protoreflect.FieldDescriptor +) + +func init() { + file_emissions_v8_query_proto_init() + md_IsWorkerRegisteredInTopicIdRequest = File_emissions_v8_query_proto.Messages().ByName("IsWorkerRegisteredInTopicIdRequest") + fd_IsWorkerRegisteredInTopicIdRequest_topic_id = md_IsWorkerRegisteredInTopicIdRequest.Fields().ByName("topic_id") + fd_IsWorkerRegisteredInTopicIdRequest_address = md_IsWorkerRegisteredInTopicIdRequest.Fields().ByName("address") +} + +var _ protoreflect.Message = (*fastReflection_IsWorkerRegisteredInTopicIdRequest)(nil) + +type fastReflection_IsWorkerRegisteredInTopicIdRequest IsWorkerRegisteredInTopicIdRequest + +func (x *IsWorkerRegisteredInTopicIdRequest) ProtoReflect() protoreflect.Message { + return (*fastReflection_IsWorkerRegisteredInTopicIdRequest)(x) +} + +func (x *IsWorkerRegisteredInTopicIdRequest) slowProtoReflect() protoreflect.Message { + mi := &file_emissions_v8_query_proto_msgTypes[112] + 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) +} + +var _fastReflection_IsWorkerRegisteredInTopicIdRequest_messageType fastReflection_IsWorkerRegisteredInTopicIdRequest_messageType +var _ protoreflect.MessageType = fastReflection_IsWorkerRegisteredInTopicIdRequest_messageType{} + +type fastReflection_IsWorkerRegisteredInTopicIdRequest_messageType struct{} + +func (x fastReflection_IsWorkerRegisteredInTopicIdRequest_messageType) Zero() protoreflect.Message { + return (*fastReflection_IsWorkerRegisteredInTopicIdRequest)(nil) +} +func (x fastReflection_IsWorkerRegisteredInTopicIdRequest_messageType) New() protoreflect.Message { + return new(fastReflection_IsWorkerRegisteredInTopicIdRequest) +} +func (x fastReflection_IsWorkerRegisteredInTopicIdRequest_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_IsWorkerRegisteredInTopicIdRequest +} + +// Descriptor returns message descriptor, which contains only the protobuf +// type information for the message. +func (x *fastReflection_IsWorkerRegisteredInTopicIdRequest) Descriptor() protoreflect.MessageDescriptor { + return md_IsWorkerRegisteredInTopicIdRequest +} + +// Type returns the message type, which encapsulates both Go and protobuf +// type information. If the Go type information is not needed, +// it is recommended that the message descriptor be used instead. +func (x *fastReflection_IsWorkerRegisteredInTopicIdRequest) Type() protoreflect.MessageType { + return _fastReflection_IsWorkerRegisteredInTopicIdRequest_messageType +} + +// New returns a newly allocated and mutable empty message. +func (x *fastReflection_IsWorkerRegisteredInTopicIdRequest) New() protoreflect.Message { + return new(fastReflection_IsWorkerRegisteredInTopicIdRequest) +} + +// Interface unwraps the message reflection interface and +// returns the underlying ProtoMessage interface. +func (x *fastReflection_IsWorkerRegisteredInTopicIdRequest) Interface() protoreflect.ProtoMessage { + return (*IsWorkerRegisteredInTopicIdRequest)(x) +} + +// Range iterates over every populated field in an undefined order, +// calling f for each field descriptor and value encountered. +// Range returns immediately if f returns false. +// While iterating, mutating operations may only be performed +// on the current field descriptor. +func (x *fastReflection_IsWorkerRegisteredInTopicIdRequest) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { + if x.TopicId != uint64(0) { + value := protoreflect.ValueOfUint64(x.TopicId) + if !f(fd_IsWorkerRegisteredInTopicIdRequest_topic_id, value) { + return + } + } + if x.Address != "" { + value := protoreflect.ValueOfString(x.Address) + if !f(fd_IsWorkerRegisteredInTopicIdRequest_address, value) { + return + } + } +} + +// Has reports whether a field is populated. +// +// Some fields have the property of nullability where it is possible to +// distinguish between the default value of a field and whether the field +// was explicitly populated with the default value. Singular message fields, +// member fields of a oneof, and proto2 scalar fields are nullable. Such +// fields are populated only if explicitly set. +// +// In other cases (aside from the nullable cases above), +// a proto3 scalar field is populated if it contains a non-zero value, and +// a repeated field is populated if it is non-empty. +func (x *fastReflection_IsWorkerRegisteredInTopicIdRequest) Has(fd protoreflect.FieldDescriptor) bool { + switch fd.FullName() { + case "emissions.v8.IsWorkerRegisteredInTopicIdRequest.topic_id": + return x.TopicId != uint64(0) + case "emissions.v8.IsWorkerRegisteredInTopicIdRequest.address": + return x.Address != "" + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.IsWorkerRegisteredInTopicIdRequest")) + } + panic(fmt.Errorf("message emissions.v8.IsWorkerRegisteredInTopicIdRequest does not contain field %s", fd.FullName())) + } +} + +// Clear clears the field such that a subsequent Has call reports false. +// +// Clearing an extension field clears both the extension type and value +// associated with the given field number. +// +// Clear is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_IsWorkerRegisteredInTopicIdRequest) Clear(fd protoreflect.FieldDescriptor) { + switch fd.FullName() { + case "emissions.v8.IsWorkerRegisteredInTopicIdRequest.topic_id": + x.TopicId = uint64(0) + case "emissions.v8.IsWorkerRegisteredInTopicIdRequest.address": + x.Address = "" + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.IsWorkerRegisteredInTopicIdRequest")) + } + panic(fmt.Errorf("message emissions.v8.IsWorkerRegisteredInTopicIdRequest does not contain field %s", fd.FullName())) + } +} + +// Get retrieves the value for a field. +// +// For unpopulated scalars, it returns the default value, where +// the default value of a bytes scalar is guaranteed to be a copy. +// For unpopulated composite types, it returns an empty, read-only view +// of the value; to obtain a mutable reference, use Mutable. +func (x *fastReflection_IsWorkerRegisteredInTopicIdRequest) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { + switch descriptor.FullName() { + case "emissions.v8.IsWorkerRegisteredInTopicIdRequest.topic_id": + value := x.TopicId + return protoreflect.ValueOfUint64(value) + case "emissions.v8.IsWorkerRegisteredInTopicIdRequest.address": + value := x.Address + return protoreflect.ValueOfString(value) + default: + if descriptor.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.IsWorkerRegisteredInTopicIdRequest")) + } + panic(fmt.Errorf("message emissions.v8.IsWorkerRegisteredInTopicIdRequest does not contain field %s", descriptor.FullName())) + } +} + +// Set stores the value for a field. +// +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType. +// When setting a composite type, it is unspecified whether the stored value +// aliases the source's memory in any way. If the composite value is an +// empty, read-only value, then it panics. +// +// Set is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_IsWorkerRegisteredInTopicIdRequest) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { + switch fd.FullName() { + case "emissions.v8.IsWorkerRegisteredInTopicIdRequest.topic_id": + x.TopicId = value.Uint() + case "emissions.v8.IsWorkerRegisteredInTopicIdRequest.address": + x.Address = value.Interface().(string) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.IsWorkerRegisteredInTopicIdRequest")) + } + panic(fmt.Errorf("message emissions.v8.IsWorkerRegisteredInTopicIdRequest does not contain field %s", fd.FullName())) + } +} + +// Mutable returns a mutable reference to a composite type. +// +// If the field is unpopulated, it may allocate a composite value. +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType +// if not already stored. +// It panics if the field does not contain a composite type. +// +// Mutable is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_IsWorkerRegisteredInTopicIdRequest) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.IsWorkerRegisteredInTopicIdRequest.topic_id": + panic(fmt.Errorf("field topic_id of message emissions.v8.IsWorkerRegisteredInTopicIdRequest is not mutable")) + case "emissions.v8.IsWorkerRegisteredInTopicIdRequest.address": + panic(fmt.Errorf("field address of message emissions.v8.IsWorkerRegisteredInTopicIdRequest is not mutable")) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.IsWorkerRegisteredInTopicIdRequest")) + } + panic(fmt.Errorf("message emissions.v8.IsWorkerRegisteredInTopicIdRequest does not contain field %s", fd.FullName())) + } +} + +// NewField returns a new value that is assignable to the field +// for the given descriptor. For scalars, this returns the default value. +// For lists, maps, and messages, this returns a new, empty, mutable value. +func (x *fastReflection_IsWorkerRegisteredInTopicIdRequest) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.IsWorkerRegisteredInTopicIdRequest.topic_id": + return protoreflect.ValueOfUint64(uint64(0)) + case "emissions.v8.IsWorkerRegisteredInTopicIdRequest.address": + return protoreflect.ValueOfString("") + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.IsWorkerRegisteredInTopicIdRequest")) + } + panic(fmt.Errorf("message emissions.v8.IsWorkerRegisteredInTopicIdRequest does not contain field %s", fd.FullName())) + } +} + +// WhichOneof reports which field within the oneof is populated, +// returning nil if none are populated. +// It panics if the oneof descriptor does not belong to this message. +func (x *fastReflection_IsWorkerRegisteredInTopicIdRequest) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { + switch d.FullName() { + default: + panic(fmt.Errorf("%s is not a oneof field in emissions.v8.IsWorkerRegisteredInTopicIdRequest", d.FullName())) + } + panic("unreachable") +} + +// GetUnknown retrieves the entire list of unknown fields. +// The caller may only mutate the contents of the RawFields +// if the mutated bytes are stored back into the message with SetUnknown. +func (x *fastReflection_IsWorkerRegisteredInTopicIdRequest) GetUnknown() protoreflect.RawFields { + return x.unknownFields +} + +// SetUnknown stores an entire list of unknown fields. +// The raw fields must be syntactically valid according to the wire format. +// An implementation may panic if this is not the case. +// Once stored, the caller must not mutate the content of the RawFields. +// An empty RawFields may be passed to clear the fields. +// +// SetUnknown is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_IsWorkerRegisteredInTopicIdRequest) SetUnknown(fields protoreflect.RawFields) { + x.unknownFields = fields +} + +// IsValid reports whether the message is valid. +// +// An invalid message is an empty, read-only value. +// +// An invalid message often corresponds to a nil pointer of the concrete +// message type, but the details are implementation dependent. +// Validity is not part of the protobuf data model, and may not +// be preserved in marshaling or other operations. +func (x *fastReflection_IsWorkerRegisteredInTopicIdRequest) IsValid() bool { + return x != nil +} + +// ProtoMethods returns optional fastReflectionFeature-path implementations of various operations. +// This method may return nil. +// +// The returned methods type is identical to +// "google.golang.org/protobuf/runtime/protoiface".Methods. +// Consult the protoiface package documentation for details. +func (x *fastReflection_IsWorkerRegisteredInTopicIdRequest) ProtoMethods() *protoiface.Methods { + size := func(input protoiface.SizeInput) protoiface.SizeOutput { + x := input.Message.Interface().(*IsWorkerRegisteredInTopicIdRequest) + if x == nil { + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: 0, + } + } + options := runtime.SizeInputToOptions(input) + _ = options + var n int + var l int + _ = l + if x.TopicId != 0 { + n += 1 + runtime.Sov(uint64(x.TopicId)) + } + l = len(x.Address) + if l > 0 { + n += 1 + l + runtime.Sov(uint64(l)) + } + if x.unknownFields != nil { + n += len(x.unknownFields) + } + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: n, + } + } + + marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { + x := input.Message.Interface().(*IsWorkerRegisteredInTopicIdRequest) + if x == nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + options := runtime.MarshalInputToOptions(input) + _ = options + size := options.Size(x) + dAtA := make([]byte, size) + i := len(dAtA) + _ = i + var l int + _ = l + if x.unknownFields != nil { + i -= len(x.unknownFields) + copy(dAtA[i:], x.unknownFields) + } + if len(x.Address) > 0 { + i -= len(x.Address) + copy(dAtA[i:], x.Address) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.Address))) + i-- + dAtA[i] = 0x12 + } + if x.TopicId != 0 { + i = runtime.EncodeVarint(dAtA, i, uint64(x.TopicId)) + i-- + dAtA[i] = 0x8 + } + if input.Buf != nil { + input.Buf = append(input.Buf, dAtA...) + } else { + input.Buf = dAtA + } + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { + x := input.Message.Interface().(*IsWorkerRegisteredInTopicIdRequest) + if x == nil { + return protoiface.UnmarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Flags: input.Flags, + }, nil + } + options := runtime.UnmarshalInputToOptions(input) + _ = options + dAtA := input.Buf + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: IsWorkerRegisteredInTopicIdRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: IsWorkerRegisteredInTopicIdRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field TopicId", wireType) + } + x.TopicId = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + x.TopicId |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 2: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Address", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + x.Address = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := runtime.Skip(dAtA[iNdEx:]) + if err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if (iNdEx + skippy) > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + if !options.DiscardUnknown { + x.unknownFields = append(x.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + } + iNdEx += skippy + } + } + + if iNdEx > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, nil + } + return &protoiface.Methods{ + NoUnkeyedLiterals: struct{}{}, + Flags: protoiface.SupportMarshalDeterministic | protoiface.SupportUnmarshalDiscardUnknown, + Size: size, + Marshal: marshal, + Unmarshal: unmarshal, + Merge: nil, + CheckInitialized: nil, + } +} + +var ( + md_IsWorkerRegisteredInTopicIdResponse protoreflect.MessageDescriptor + fd_IsWorkerRegisteredInTopicIdResponse_is_registered protoreflect.FieldDescriptor +) + +func init() { + file_emissions_v8_query_proto_init() + md_IsWorkerRegisteredInTopicIdResponse = File_emissions_v8_query_proto.Messages().ByName("IsWorkerRegisteredInTopicIdResponse") + fd_IsWorkerRegisteredInTopicIdResponse_is_registered = md_IsWorkerRegisteredInTopicIdResponse.Fields().ByName("is_registered") +} + +var _ protoreflect.Message = (*fastReflection_IsWorkerRegisteredInTopicIdResponse)(nil) + +type fastReflection_IsWorkerRegisteredInTopicIdResponse IsWorkerRegisteredInTopicIdResponse + +func (x *IsWorkerRegisteredInTopicIdResponse) ProtoReflect() protoreflect.Message { + return (*fastReflection_IsWorkerRegisteredInTopicIdResponse)(x) +} + +func (x *IsWorkerRegisteredInTopicIdResponse) slowProtoReflect() protoreflect.Message { + mi := &file_emissions_v8_query_proto_msgTypes[113] + 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) +} + +var _fastReflection_IsWorkerRegisteredInTopicIdResponse_messageType fastReflection_IsWorkerRegisteredInTopicIdResponse_messageType +var _ protoreflect.MessageType = fastReflection_IsWorkerRegisteredInTopicIdResponse_messageType{} + +type fastReflection_IsWorkerRegisteredInTopicIdResponse_messageType struct{} + +func (x fastReflection_IsWorkerRegisteredInTopicIdResponse_messageType) Zero() protoreflect.Message { + return (*fastReflection_IsWorkerRegisteredInTopicIdResponse)(nil) +} +func (x fastReflection_IsWorkerRegisteredInTopicIdResponse_messageType) New() protoreflect.Message { + return new(fastReflection_IsWorkerRegisteredInTopicIdResponse) +} +func (x fastReflection_IsWorkerRegisteredInTopicIdResponse_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_IsWorkerRegisteredInTopicIdResponse +} + +// Descriptor returns message descriptor, which contains only the protobuf +// type information for the message. +func (x *fastReflection_IsWorkerRegisteredInTopicIdResponse) Descriptor() protoreflect.MessageDescriptor { + return md_IsWorkerRegisteredInTopicIdResponse +} + +// Type returns the message type, which encapsulates both Go and protobuf +// type information. If the Go type information is not needed, +// it is recommended that the message descriptor be used instead. +func (x *fastReflection_IsWorkerRegisteredInTopicIdResponse) Type() protoreflect.MessageType { + return _fastReflection_IsWorkerRegisteredInTopicIdResponse_messageType +} + +// New returns a newly allocated and mutable empty message. +func (x *fastReflection_IsWorkerRegisteredInTopicIdResponse) New() protoreflect.Message { + return new(fastReflection_IsWorkerRegisteredInTopicIdResponse) +} + +// Interface unwraps the message reflection interface and +// returns the underlying ProtoMessage interface. +func (x *fastReflection_IsWorkerRegisteredInTopicIdResponse) Interface() protoreflect.ProtoMessage { + return (*IsWorkerRegisteredInTopicIdResponse)(x) +} + +// Range iterates over every populated field in an undefined order, +// calling f for each field descriptor and value encountered. +// Range returns immediately if f returns false. +// While iterating, mutating operations may only be performed +// on the current field descriptor. +func (x *fastReflection_IsWorkerRegisteredInTopicIdResponse) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { + if x.IsRegistered != false { + value := protoreflect.ValueOfBool(x.IsRegistered) + if !f(fd_IsWorkerRegisteredInTopicIdResponse_is_registered, value) { + return + } + } +} + +// Has reports whether a field is populated. +// +// Some fields have the property of nullability where it is possible to +// distinguish between the default value of a field and whether the field +// was explicitly populated with the default value. Singular message fields, +// member fields of a oneof, and proto2 scalar fields are nullable. Such +// fields are populated only if explicitly set. +// +// In other cases (aside from the nullable cases above), +// a proto3 scalar field is populated if it contains a non-zero value, and +// a repeated field is populated if it is non-empty. +func (x *fastReflection_IsWorkerRegisteredInTopicIdResponse) Has(fd protoreflect.FieldDescriptor) bool { + switch fd.FullName() { + case "emissions.v8.IsWorkerRegisteredInTopicIdResponse.is_registered": + return x.IsRegistered != false + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.IsWorkerRegisteredInTopicIdResponse")) + } + panic(fmt.Errorf("message emissions.v8.IsWorkerRegisteredInTopicIdResponse does not contain field %s", fd.FullName())) + } +} + +// Clear clears the field such that a subsequent Has call reports false. +// +// Clearing an extension field clears both the extension type and value +// associated with the given field number. +// +// Clear is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_IsWorkerRegisteredInTopicIdResponse) Clear(fd protoreflect.FieldDescriptor) { + switch fd.FullName() { + case "emissions.v8.IsWorkerRegisteredInTopicIdResponse.is_registered": + x.IsRegistered = false + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.IsWorkerRegisteredInTopicIdResponse")) + } + panic(fmt.Errorf("message emissions.v8.IsWorkerRegisteredInTopicIdResponse does not contain field %s", fd.FullName())) + } +} + +// Get retrieves the value for a field. +// +// For unpopulated scalars, it returns the default value, where +// the default value of a bytes scalar is guaranteed to be a copy. +// For unpopulated composite types, it returns an empty, read-only view +// of the value; to obtain a mutable reference, use Mutable. +func (x *fastReflection_IsWorkerRegisteredInTopicIdResponse) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { + switch descriptor.FullName() { + case "emissions.v8.IsWorkerRegisteredInTopicIdResponse.is_registered": + value := x.IsRegistered + return protoreflect.ValueOfBool(value) + default: + if descriptor.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.IsWorkerRegisteredInTopicIdResponse")) + } + panic(fmt.Errorf("message emissions.v8.IsWorkerRegisteredInTopicIdResponse does not contain field %s", descriptor.FullName())) + } +} + +// Set stores the value for a field. +// +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType. +// When setting a composite type, it is unspecified whether the stored value +// aliases the source's memory in any way. If the composite value is an +// empty, read-only value, then it panics. +// +// Set is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_IsWorkerRegisteredInTopicIdResponse) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { + switch fd.FullName() { + case "emissions.v8.IsWorkerRegisteredInTopicIdResponse.is_registered": + x.IsRegistered = value.Bool() + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.IsWorkerRegisteredInTopicIdResponse")) + } + panic(fmt.Errorf("message emissions.v8.IsWorkerRegisteredInTopicIdResponse does not contain field %s", fd.FullName())) + } +} + +// Mutable returns a mutable reference to a composite type. +// +// If the field is unpopulated, it may allocate a composite value. +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType +// if not already stored. +// It panics if the field does not contain a composite type. +// +// Mutable is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_IsWorkerRegisteredInTopicIdResponse) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.IsWorkerRegisteredInTopicIdResponse.is_registered": + panic(fmt.Errorf("field is_registered of message emissions.v8.IsWorkerRegisteredInTopicIdResponse is not mutable")) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.IsWorkerRegisteredInTopicIdResponse")) + } + panic(fmt.Errorf("message emissions.v8.IsWorkerRegisteredInTopicIdResponse does not contain field %s", fd.FullName())) + } +} + +// NewField returns a new value that is assignable to the field +// for the given descriptor. For scalars, this returns the default value. +// For lists, maps, and messages, this returns a new, empty, mutable value. +func (x *fastReflection_IsWorkerRegisteredInTopicIdResponse) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.IsWorkerRegisteredInTopicIdResponse.is_registered": + return protoreflect.ValueOfBool(false) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.IsWorkerRegisteredInTopicIdResponse")) + } + panic(fmt.Errorf("message emissions.v8.IsWorkerRegisteredInTopicIdResponse does not contain field %s", fd.FullName())) + } +} + +// WhichOneof reports which field within the oneof is populated, +// returning nil if none are populated. +// It panics if the oneof descriptor does not belong to this message. +func (x *fastReflection_IsWorkerRegisteredInTopicIdResponse) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { + switch d.FullName() { + default: + panic(fmt.Errorf("%s is not a oneof field in emissions.v8.IsWorkerRegisteredInTopicIdResponse", d.FullName())) + } + panic("unreachable") +} + +// GetUnknown retrieves the entire list of unknown fields. +// The caller may only mutate the contents of the RawFields +// if the mutated bytes are stored back into the message with SetUnknown. +func (x *fastReflection_IsWorkerRegisteredInTopicIdResponse) GetUnknown() protoreflect.RawFields { + return x.unknownFields +} + +// SetUnknown stores an entire list of unknown fields. +// The raw fields must be syntactically valid according to the wire format. +// An implementation may panic if this is not the case. +// Once stored, the caller must not mutate the content of the RawFields. +// An empty RawFields may be passed to clear the fields. +// +// SetUnknown is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_IsWorkerRegisteredInTopicIdResponse) SetUnknown(fields protoreflect.RawFields) { + x.unknownFields = fields +} + +// IsValid reports whether the message is valid. +// +// An invalid message is an empty, read-only value. +// +// An invalid message often corresponds to a nil pointer of the concrete +// message type, but the details are implementation dependent. +// Validity is not part of the protobuf data model, and may not +// be preserved in marshaling or other operations. +func (x *fastReflection_IsWorkerRegisteredInTopicIdResponse) IsValid() bool { + return x != nil +} + +// ProtoMethods returns optional fastReflectionFeature-path implementations of various operations. +// This method may return nil. +// +// The returned methods type is identical to +// "google.golang.org/protobuf/runtime/protoiface".Methods. +// Consult the protoiface package documentation for details. +func (x *fastReflection_IsWorkerRegisteredInTopicIdResponse) ProtoMethods() *protoiface.Methods { + size := func(input protoiface.SizeInput) protoiface.SizeOutput { + x := input.Message.Interface().(*IsWorkerRegisteredInTopicIdResponse) + if x == nil { + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: 0, + } + } + options := runtime.SizeInputToOptions(input) + _ = options + var n int + var l int + _ = l + if x.IsRegistered { + n += 2 + } + if x.unknownFields != nil { + n += len(x.unknownFields) + } + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: n, + } + } + + marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { + x := input.Message.Interface().(*IsWorkerRegisteredInTopicIdResponse) + if x == nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + options := runtime.MarshalInputToOptions(input) + _ = options + size := options.Size(x) + dAtA := make([]byte, size) + i := len(dAtA) + _ = i + var l int + _ = l + if x.unknownFields != nil { + i -= len(x.unknownFields) + copy(dAtA[i:], x.unknownFields) + } + if x.IsRegistered { + i-- + if x.IsRegistered { + dAtA[i] = 1 + } else { + dAtA[i] = 0 + } + i-- + dAtA[i] = 0x8 + } + if input.Buf != nil { + input.Buf = append(input.Buf, dAtA...) + } else { + input.Buf = dAtA + } + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { + x := input.Message.Interface().(*IsWorkerRegisteredInTopicIdResponse) + if x == nil { + return protoiface.UnmarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Flags: input.Flags, + }, nil + } + options := runtime.UnmarshalInputToOptions(input) + _ = options + dAtA := input.Buf + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: IsWorkerRegisteredInTopicIdResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: IsWorkerRegisteredInTopicIdResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field IsRegistered", wireType) + } + var v int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + x.IsRegistered = bool(v != 0) + default: + iNdEx = preIndex + skippy, err := runtime.Skip(dAtA[iNdEx:]) + if err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if (iNdEx + skippy) > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + if !options.DiscardUnknown { + x.unknownFields = append(x.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + } + iNdEx += skippy + } + } + + if iNdEx > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, nil + } + return &protoiface.Methods{ + NoUnkeyedLiterals: struct{}{}, + Flags: protoiface.SupportMarshalDeterministic | protoiface.SupportUnmarshalDiscardUnknown, + Size: size, + Marshal: marshal, + Unmarshal: unmarshal, + Merge: nil, + CheckInitialized: nil, + } +} + +var ( + md_IsReputerRegisteredInTopicIdRequest protoreflect.MessageDescriptor + fd_IsReputerRegisteredInTopicIdRequest_topic_id protoreflect.FieldDescriptor + fd_IsReputerRegisteredInTopicIdRequest_address protoreflect.FieldDescriptor +) + +func init() { + file_emissions_v8_query_proto_init() + md_IsReputerRegisteredInTopicIdRequest = File_emissions_v8_query_proto.Messages().ByName("IsReputerRegisteredInTopicIdRequest") + fd_IsReputerRegisteredInTopicIdRequest_topic_id = md_IsReputerRegisteredInTopicIdRequest.Fields().ByName("topic_id") + fd_IsReputerRegisteredInTopicIdRequest_address = md_IsReputerRegisteredInTopicIdRequest.Fields().ByName("address") +} + +var _ protoreflect.Message = (*fastReflection_IsReputerRegisteredInTopicIdRequest)(nil) + +type fastReflection_IsReputerRegisteredInTopicIdRequest IsReputerRegisteredInTopicIdRequest + +func (x *IsReputerRegisteredInTopicIdRequest) ProtoReflect() protoreflect.Message { + return (*fastReflection_IsReputerRegisteredInTopicIdRequest)(x) +} + +func (x *IsReputerRegisteredInTopicIdRequest) slowProtoReflect() protoreflect.Message { + mi := &file_emissions_v8_query_proto_msgTypes[114] + 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) +} + +var _fastReflection_IsReputerRegisteredInTopicIdRequest_messageType fastReflection_IsReputerRegisteredInTopicIdRequest_messageType +var _ protoreflect.MessageType = fastReflection_IsReputerRegisteredInTopicIdRequest_messageType{} + +type fastReflection_IsReputerRegisteredInTopicIdRequest_messageType struct{} + +func (x fastReflection_IsReputerRegisteredInTopicIdRequest_messageType) Zero() protoreflect.Message { + return (*fastReflection_IsReputerRegisteredInTopicIdRequest)(nil) +} +func (x fastReflection_IsReputerRegisteredInTopicIdRequest_messageType) New() protoreflect.Message { + return new(fastReflection_IsReputerRegisteredInTopicIdRequest) +} +func (x fastReflection_IsReputerRegisteredInTopicIdRequest_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_IsReputerRegisteredInTopicIdRequest +} + +// Descriptor returns message descriptor, which contains only the protobuf +// type information for the message. +func (x *fastReflection_IsReputerRegisteredInTopicIdRequest) Descriptor() protoreflect.MessageDescriptor { + return md_IsReputerRegisteredInTopicIdRequest +} + +// Type returns the message type, which encapsulates both Go and protobuf +// type information. If the Go type information is not needed, +// it is recommended that the message descriptor be used instead. +func (x *fastReflection_IsReputerRegisteredInTopicIdRequest) Type() protoreflect.MessageType { + return _fastReflection_IsReputerRegisteredInTopicIdRequest_messageType +} + +// New returns a newly allocated and mutable empty message. +func (x *fastReflection_IsReputerRegisteredInTopicIdRequest) New() protoreflect.Message { + return new(fastReflection_IsReputerRegisteredInTopicIdRequest) +} + +// Interface unwraps the message reflection interface and +// returns the underlying ProtoMessage interface. +func (x *fastReflection_IsReputerRegisteredInTopicIdRequest) Interface() protoreflect.ProtoMessage { + return (*IsReputerRegisteredInTopicIdRequest)(x) +} + +// Range iterates over every populated field in an undefined order, +// calling f for each field descriptor and value encountered. +// Range returns immediately if f returns false. +// While iterating, mutating operations may only be performed +// on the current field descriptor. +func (x *fastReflection_IsReputerRegisteredInTopicIdRequest) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { + if x.TopicId != uint64(0) { + value := protoreflect.ValueOfUint64(x.TopicId) + if !f(fd_IsReputerRegisteredInTopicIdRequest_topic_id, value) { + return + } + } + if x.Address != "" { + value := protoreflect.ValueOfString(x.Address) + if !f(fd_IsReputerRegisteredInTopicIdRequest_address, value) { + return + } + } +} + +// Has reports whether a field is populated. +// +// Some fields have the property of nullability where it is possible to +// distinguish between the default value of a field and whether the field +// was explicitly populated with the default value. Singular message fields, +// member fields of a oneof, and proto2 scalar fields are nullable. Such +// fields are populated only if explicitly set. +// +// In other cases (aside from the nullable cases above), +// a proto3 scalar field is populated if it contains a non-zero value, and +// a repeated field is populated if it is non-empty. +func (x *fastReflection_IsReputerRegisteredInTopicIdRequest) Has(fd protoreflect.FieldDescriptor) bool { + switch fd.FullName() { + case "emissions.v8.IsReputerRegisteredInTopicIdRequest.topic_id": + return x.TopicId != uint64(0) + case "emissions.v8.IsReputerRegisteredInTopicIdRequest.address": + return x.Address != "" + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.IsReputerRegisteredInTopicIdRequest")) + } + panic(fmt.Errorf("message emissions.v8.IsReputerRegisteredInTopicIdRequest does not contain field %s", fd.FullName())) + } +} + +// Clear clears the field such that a subsequent Has call reports false. +// +// Clearing an extension field clears both the extension type and value +// associated with the given field number. +// +// Clear is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_IsReputerRegisteredInTopicIdRequest) Clear(fd protoreflect.FieldDescriptor) { + switch fd.FullName() { + case "emissions.v8.IsReputerRegisteredInTopicIdRequest.topic_id": + x.TopicId = uint64(0) + case "emissions.v8.IsReputerRegisteredInTopicIdRequest.address": + x.Address = "" + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.IsReputerRegisteredInTopicIdRequest")) + } + panic(fmt.Errorf("message emissions.v8.IsReputerRegisteredInTopicIdRequest does not contain field %s", fd.FullName())) + } +} + +// Get retrieves the value for a field. +// +// For unpopulated scalars, it returns the default value, where +// the default value of a bytes scalar is guaranteed to be a copy. +// For unpopulated composite types, it returns an empty, read-only view +// of the value; to obtain a mutable reference, use Mutable. +func (x *fastReflection_IsReputerRegisteredInTopicIdRequest) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { + switch descriptor.FullName() { + case "emissions.v8.IsReputerRegisteredInTopicIdRequest.topic_id": + value := x.TopicId + return protoreflect.ValueOfUint64(value) + case "emissions.v8.IsReputerRegisteredInTopicIdRequest.address": + value := x.Address + return protoreflect.ValueOfString(value) + default: + if descriptor.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.IsReputerRegisteredInTopicIdRequest")) + } + panic(fmt.Errorf("message emissions.v8.IsReputerRegisteredInTopicIdRequest does not contain field %s", descriptor.FullName())) + } +} + +// Set stores the value for a field. +// +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType. +// When setting a composite type, it is unspecified whether the stored value +// aliases the source's memory in any way. If the composite value is an +// empty, read-only value, then it panics. +// +// Set is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_IsReputerRegisteredInTopicIdRequest) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { + switch fd.FullName() { + case "emissions.v8.IsReputerRegisteredInTopicIdRequest.topic_id": + x.TopicId = value.Uint() + case "emissions.v8.IsReputerRegisteredInTopicIdRequest.address": + x.Address = value.Interface().(string) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.IsReputerRegisteredInTopicIdRequest")) + } + panic(fmt.Errorf("message emissions.v8.IsReputerRegisteredInTopicIdRequest does not contain field %s", fd.FullName())) + } +} + +// Mutable returns a mutable reference to a composite type. +// +// If the field is unpopulated, it may allocate a composite value. +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType +// if not already stored. +// It panics if the field does not contain a composite type. +// +// Mutable is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_IsReputerRegisteredInTopicIdRequest) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.IsReputerRegisteredInTopicIdRequest.topic_id": + panic(fmt.Errorf("field topic_id of message emissions.v8.IsReputerRegisteredInTopicIdRequest is not mutable")) + case "emissions.v8.IsReputerRegisteredInTopicIdRequest.address": + panic(fmt.Errorf("field address of message emissions.v8.IsReputerRegisteredInTopicIdRequest is not mutable")) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.IsReputerRegisteredInTopicIdRequest")) + } + panic(fmt.Errorf("message emissions.v8.IsReputerRegisteredInTopicIdRequest does not contain field %s", fd.FullName())) + } +} + +// NewField returns a new value that is assignable to the field +// for the given descriptor. For scalars, this returns the default value. +// For lists, maps, and messages, this returns a new, empty, mutable value. +func (x *fastReflection_IsReputerRegisteredInTopicIdRequest) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.IsReputerRegisteredInTopicIdRequest.topic_id": + return protoreflect.ValueOfUint64(uint64(0)) + case "emissions.v8.IsReputerRegisteredInTopicIdRequest.address": + return protoreflect.ValueOfString("") + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.IsReputerRegisteredInTopicIdRequest")) + } + panic(fmt.Errorf("message emissions.v8.IsReputerRegisteredInTopicIdRequest does not contain field %s", fd.FullName())) + } +} + +// WhichOneof reports which field within the oneof is populated, +// returning nil if none are populated. +// It panics if the oneof descriptor does not belong to this message. +func (x *fastReflection_IsReputerRegisteredInTopicIdRequest) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { + switch d.FullName() { + default: + panic(fmt.Errorf("%s is not a oneof field in emissions.v8.IsReputerRegisteredInTopicIdRequest", d.FullName())) + } + panic("unreachable") +} + +// GetUnknown retrieves the entire list of unknown fields. +// The caller may only mutate the contents of the RawFields +// if the mutated bytes are stored back into the message with SetUnknown. +func (x *fastReflection_IsReputerRegisteredInTopicIdRequest) GetUnknown() protoreflect.RawFields { + return x.unknownFields +} + +// SetUnknown stores an entire list of unknown fields. +// The raw fields must be syntactically valid according to the wire format. +// An implementation may panic if this is not the case. +// Once stored, the caller must not mutate the content of the RawFields. +// An empty RawFields may be passed to clear the fields. +// +// SetUnknown is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_IsReputerRegisteredInTopicIdRequest) SetUnknown(fields protoreflect.RawFields) { + x.unknownFields = fields +} + +// IsValid reports whether the message is valid. +// +// An invalid message is an empty, read-only value. +// +// An invalid message often corresponds to a nil pointer of the concrete +// message type, but the details are implementation dependent. +// Validity is not part of the protobuf data model, and may not +// be preserved in marshaling or other operations. +func (x *fastReflection_IsReputerRegisteredInTopicIdRequest) IsValid() bool { + return x != nil +} + +// ProtoMethods returns optional fastReflectionFeature-path implementations of various operations. +// This method may return nil. +// +// The returned methods type is identical to +// "google.golang.org/protobuf/runtime/protoiface".Methods. +// Consult the protoiface package documentation for details. +func (x *fastReflection_IsReputerRegisteredInTopicIdRequest) ProtoMethods() *protoiface.Methods { + size := func(input protoiface.SizeInput) protoiface.SizeOutput { + x := input.Message.Interface().(*IsReputerRegisteredInTopicIdRequest) + if x == nil { + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: 0, + } + } + options := runtime.SizeInputToOptions(input) + _ = options + var n int + var l int + _ = l + if x.TopicId != 0 { + n += 1 + runtime.Sov(uint64(x.TopicId)) + } + l = len(x.Address) + if l > 0 { + n += 1 + l + runtime.Sov(uint64(l)) + } + if x.unknownFields != nil { + n += len(x.unknownFields) + } + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: n, + } + } + + marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { + x := input.Message.Interface().(*IsReputerRegisteredInTopicIdRequest) + if x == nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + options := runtime.MarshalInputToOptions(input) + _ = options + size := options.Size(x) + dAtA := make([]byte, size) + i := len(dAtA) + _ = i + var l int + _ = l + if x.unknownFields != nil { + i -= len(x.unknownFields) + copy(dAtA[i:], x.unknownFields) + } + if len(x.Address) > 0 { + i -= len(x.Address) + copy(dAtA[i:], x.Address) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.Address))) + i-- + dAtA[i] = 0x12 + } + if x.TopicId != 0 { + i = runtime.EncodeVarint(dAtA, i, uint64(x.TopicId)) + i-- + dAtA[i] = 0x8 + } + if input.Buf != nil { + input.Buf = append(input.Buf, dAtA...) + } else { + input.Buf = dAtA + } + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { + x := input.Message.Interface().(*IsReputerRegisteredInTopicIdRequest) + if x == nil { + return protoiface.UnmarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Flags: input.Flags, + }, nil + } + options := runtime.UnmarshalInputToOptions(input) + _ = options + dAtA := input.Buf + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: IsReputerRegisteredInTopicIdRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: IsReputerRegisteredInTopicIdRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field TopicId", wireType) + } + x.TopicId = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + x.TopicId |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 2: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Address", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + x.Address = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := runtime.Skip(dAtA[iNdEx:]) + if err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if (iNdEx + skippy) > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + if !options.DiscardUnknown { + x.unknownFields = append(x.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + } + iNdEx += skippy + } + } + + if iNdEx > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, nil + } + return &protoiface.Methods{ + NoUnkeyedLiterals: struct{}{}, + Flags: protoiface.SupportMarshalDeterministic | protoiface.SupportUnmarshalDiscardUnknown, + Size: size, + Marshal: marshal, + Unmarshal: unmarshal, + Merge: nil, + CheckInitialized: nil, + } +} + +var ( + md_IsReputerRegisteredInTopicIdResponse protoreflect.MessageDescriptor + fd_IsReputerRegisteredInTopicIdResponse_is_registered protoreflect.FieldDescriptor +) + +func init() { + file_emissions_v8_query_proto_init() + md_IsReputerRegisteredInTopicIdResponse = File_emissions_v8_query_proto.Messages().ByName("IsReputerRegisteredInTopicIdResponse") + fd_IsReputerRegisteredInTopicIdResponse_is_registered = md_IsReputerRegisteredInTopicIdResponse.Fields().ByName("is_registered") +} + +var _ protoreflect.Message = (*fastReflection_IsReputerRegisteredInTopicIdResponse)(nil) + +type fastReflection_IsReputerRegisteredInTopicIdResponse IsReputerRegisteredInTopicIdResponse + +func (x *IsReputerRegisteredInTopicIdResponse) ProtoReflect() protoreflect.Message { + return (*fastReflection_IsReputerRegisteredInTopicIdResponse)(x) +} + +func (x *IsReputerRegisteredInTopicIdResponse) slowProtoReflect() protoreflect.Message { + mi := &file_emissions_v8_query_proto_msgTypes[115] + 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) +} + +var _fastReflection_IsReputerRegisteredInTopicIdResponse_messageType fastReflection_IsReputerRegisteredInTopicIdResponse_messageType +var _ protoreflect.MessageType = fastReflection_IsReputerRegisteredInTopicIdResponse_messageType{} + +type fastReflection_IsReputerRegisteredInTopicIdResponse_messageType struct{} + +func (x fastReflection_IsReputerRegisteredInTopicIdResponse_messageType) Zero() protoreflect.Message { + return (*fastReflection_IsReputerRegisteredInTopicIdResponse)(nil) +} +func (x fastReflection_IsReputerRegisteredInTopicIdResponse_messageType) New() protoreflect.Message { + return new(fastReflection_IsReputerRegisteredInTopicIdResponse) +} +func (x fastReflection_IsReputerRegisteredInTopicIdResponse_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_IsReputerRegisteredInTopicIdResponse +} + +// Descriptor returns message descriptor, which contains only the protobuf +// type information for the message. +func (x *fastReflection_IsReputerRegisteredInTopicIdResponse) Descriptor() protoreflect.MessageDescriptor { + return md_IsReputerRegisteredInTopicIdResponse +} + +// Type returns the message type, which encapsulates both Go and protobuf +// type information. If the Go type information is not needed, +// it is recommended that the message descriptor be used instead. +func (x *fastReflection_IsReputerRegisteredInTopicIdResponse) Type() protoreflect.MessageType { + return _fastReflection_IsReputerRegisteredInTopicIdResponse_messageType +} + +// New returns a newly allocated and mutable empty message. +func (x *fastReflection_IsReputerRegisteredInTopicIdResponse) New() protoreflect.Message { + return new(fastReflection_IsReputerRegisteredInTopicIdResponse) +} + +// Interface unwraps the message reflection interface and +// returns the underlying ProtoMessage interface. +func (x *fastReflection_IsReputerRegisteredInTopicIdResponse) Interface() protoreflect.ProtoMessage { + return (*IsReputerRegisteredInTopicIdResponse)(x) +} + +// Range iterates over every populated field in an undefined order, +// calling f for each field descriptor and value encountered. +// Range returns immediately if f returns false. +// While iterating, mutating operations may only be performed +// on the current field descriptor. +func (x *fastReflection_IsReputerRegisteredInTopicIdResponse) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { + if x.IsRegistered != false { + value := protoreflect.ValueOfBool(x.IsRegistered) + if !f(fd_IsReputerRegisteredInTopicIdResponse_is_registered, value) { + return + } + } +} + +// Has reports whether a field is populated. +// +// Some fields have the property of nullability where it is possible to +// distinguish between the default value of a field and whether the field +// was explicitly populated with the default value. Singular message fields, +// member fields of a oneof, and proto2 scalar fields are nullable. Such +// fields are populated only if explicitly set. +// +// In other cases (aside from the nullable cases above), +// a proto3 scalar field is populated if it contains a non-zero value, and +// a repeated field is populated if it is non-empty. +func (x *fastReflection_IsReputerRegisteredInTopicIdResponse) Has(fd protoreflect.FieldDescriptor) bool { + switch fd.FullName() { + case "emissions.v8.IsReputerRegisteredInTopicIdResponse.is_registered": + return x.IsRegistered != false + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.IsReputerRegisteredInTopicIdResponse")) + } + panic(fmt.Errorf("message emissions.v8.IsReputerRegisteredInTopicIdResponse does not contain field %s", fd.FullName())) + } +} + +// Clear clears the field such that a subsequent Has call reports false. +// +// Clearing an extension field clears both the extension type and value +// associated with the given field number. +// +// Clear is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_IsReputerRegisteredInTopicIdResponse) Clear(fd protoreflect.FieldDescriptor) { + switch fd.FullName() { + case "emissions.v8.IsReputerRegisteredInTopicIdResponse.is_registered": + x.IsRegistered = false + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.IsReputerRegisteredInTopicIdResponse")) + } + panic(fmt.Errorf("message emissions.v8.IsReputerRegisteredInTopicIdResponse does not contain field %s", fd.FullName())) + } +} + +// Get retrieves the value for a field. +// +// For unpopulated scalars, it returns the default value, where +// the default value of a bytes scalar is guaranteed to be a copy. +// For unpopulated composite types, it returns an empty, read-only view +// of the value; to obtain a mutable reference, use Mutable. +func (x *fastReflection_IsReputerRegisteredInTopicIdResponse) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { + switch descriptor.FullName() { + case "emissions.v8.IsReputerRegisteredInTopicIdResponse.is_registered": + value := x.IsRegistered + return protoreflect.ValueOfBool(value) + default: + if descriptor.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.IsReputerRegisteredInTopicIdResponse")) + } + panic(fmt.Errorf("message emissions.v8.IsReputerRegisteredInTopicIdResponse does not contain field %s", descriptor.FullName())) + } +} + +// Set stores the value for a field. +// +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType. +// When setting a composite type, it is unspecified whether the stored value +// aliases the source's memory in any way. If the composite value is an +// empty, read-only value, then it panics. +// +// Set is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_IsReputerRegisteredInTopicIdResponse) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { + switch fd.FullName() { + case "emissions.v8.IsReputerRegisteredInTopicIdResponse.is_registered": + x.IsRegistered = value.Bool() + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.IsReputerRegisteredInTopicIdResponse")) + } + panic(fmt.Errorf("message emissions.v8.IsReputerRegisteredInTopicIdResponse does not contain field %s", fd.FullName())) + } +} + +// Mutable returns a mutable reference to a composite type. +// +// If the field is unpopulated, it may allocate a composite value. +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType +// if not already stored. +// It panics if the field does not contain a composite type. +// +// Mutable is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_IsReputerRegisteredInTopicIdResponse) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.IsReputerRegisteredInTopicIdResponse.is_registered": + panic(fmt.Errorf("field is_registered of message emissions.v8.IsReputerRegisteredInTopicIdResponse is not mutable")) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.IsReputerRegisteredInTopicIdResponse")) + } + panic(fmt.Errorf("message emissions.v8.IsReputerRegisteredInTopicIdResponse does not contain field %s", fd.FullName())) + } +} + +// NewField returns a new value that is assignable to the field +// for the given descriptor. For scalars, this returns the default value. +// For lists, maps, and messages, this returns a new, empty, mutable value. +func (x *fastReflection_IsReputerRegisteredInTopicIdResponse) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.IsReputerRegisteredInTopicIdResponse.is_registered": + return protoreflect.ValueOfBool(false) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.IsReputerRegisteredInTopicIdResponse")) + } + panic(fmt.Errorf("message emissions.v8.IsReputerRegisteredInTopicIdResponse does not contain field %s", fd.FullName())) + } +} + +// WhichOneof reports which field within the oneof is populated, +// returning nil if none are populated. +// It panics if the oneof descriptor does not belong to this message. +func (x *fastReflection_IsReputerRegisteredInTopicIdResponse) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { + switch d.FullName() { + default: + panic(fmt.Errorf("%s is not a oneof field in emissions.v8.IsReputerRegisteredInTopicIdResponse", d.FullName())) + } + panic("unreachable") +} + +// GetUnknown retrieves the entire list of unknown fields. +// The caller may only mutate the contents of the RawFields +// if the mutated bytes are stored back into the message with SetUnknown. +func (x *fastReflection_IsReputerRegisteredInTopicIdResponse) GetUnknown() protoreflect.RawFields { + return x.unknownFields +} + +// SetUnknown stores an entire list of unknown fields. +// The raw fields must be syntactically valid according to the wire format. +// An implementation may panic if this is not the case. +// Once stored, the caller must not mutate the content of the RawFields. +// An empty RawFields may be passed to clear the fields. +// +// SetUnknown is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_IsReputerRegisteredInTopicIdResponse) SetUnknown(fields protoreflect.RawFields) { + x.unknownFields = fields +} + +// IsValid reports whether the message is valid. +// +// An invalid message is an empty, read-only value. +// +// An invalid message often corresponds to a nil pointer of the concrete +// message type, but the details are implementation dependent. +// Validity is not part of the protobuf data model, and may not +// be preserved in marshaling or other operations. +func (x *fastReflection_IsReputerRegisteredInTopicIdResponse) IsValid() bool { + return x != nil +} + +// ProtoMethods returns optional fastReflectionFeature-path implementations of various operations. +// This method may return nil. +// +// The returned methods type is identical to +// "google.golang.org/protobuf/runtime/protoiface".Methods. +// Consult the protoiface package documentation for details. +func (x *fastReflection_IsReputerRegisteredInTopicIdResponse) ProtoMethods() *protoiface.Methods { + size := func(input protoiface.SizeInput) protoiface.SizeOutput { + x := input.Message.Interface().(*IsReputerRegisteredInTopicIdResponse) + if x == nil { + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: 0, + } + } + options := runtime.SizeInputToOptions(input) + _ = options + var n int + var l int + _ = l + if x.IsRegistered { + n += 2 + } + if x.unknownFields != nil { + n += len(x.unknownFields) + } + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: n, + } + } + + marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { + x := input.Message.Interface().(*IsReputerRegisteredInTopicIdResponse) + if x == nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + options := runtime.MarshalInputToOptions(input) + _ = options + size := options.Size(x) + dAtA := make([]byte, size) + i := len(dAtA) + _ = i + var l int + _ = l + if x.unknownFields != nil { + i -= len(x.unknownFields) + copy(dAtA[i:], x.unknownFields) + } + if x.IsRegistered { + i-- + if x.IsRegistered { + dAtA[i] = 1 + } else { + dAtA[i] = 0 + } + i-- + dAtA[i] = 0x8 + } + if input.Buf != nil { + input.Buf = append(input.Buf, dAtA...) + } else { + input.Buf = dAtA + } + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { + x := input.Message.Interface().(*IsReputerRegisteredInTopicIdResponse) + if x == nil { + return protoiface.UnmarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Flags: input.Flags, + }, nil + } + options := runtime.UnmarshalInputToOptions(input) + _ = options + dAtA := input.Buf + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: IsReputerRegisteredInTopicIdResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: IsReputerRegisteredInTopicIdResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field IsRegistered", wireType) + } + var v int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + x.IsRegistered = bool(v != 0) + default: + iNdEx = preIndex + skippy, err := runtime.Skip(dAtA[iNdEx:]) + if err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if (iNdEx + skippy) > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + if !options.DiscardUnknown { + x.unknownFields = append(x.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + } + iNdEx += skippy + } + } + + if iNdEx > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, nil + } + return &protoiface.Methods{ + NoUnkeyedLiterals: struct{}{}, + Flags: protoiface.SupportMarshalDeterministic | protoiface.SupportUnmarshalDiscardUnknown, + Size: size, + Marshal: marshal, + Unmarshal: unmarshal, + Merge: nil, + CheckInitialized: nil, + } +} + +var ( + md_IsWhitelistAdminRequest protoreflect.MessageDescriptor + fd_IsWhitelistAdminRequest_address protoreflect.FieldDescriptor +) + +func init() { + file_emissions_v8_query_proto_init() + md_IsWhitelistAdminRequest = File_emissions_v8_query_proto.Messages().ByName("IsWhitelistAdminRequest") + fd_IsWhitelistAdminRequest_address = md_IsWhitelistAdminRequest.Fields().ByName("address") +} + +var _ protoreflect.Message = (*fastReflection_IsWhitelistAdminRequest)(nil) + +type fastReflection_IsWhitelistAdminRequest IsWhitelistAdminRequest + +func (x *IsWhitelistAdminRequest) ProtoReflect() protoreflect.Message { + return (*fastReflection_IsWhitelistAdminRequest)(x) +} + +func (x *IsWhitelistAdminRequest) slowProtoReflect() protoreflect.Message { + mi := &file_emissions_v8_query_proto_msgTypes[116] + 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) +} + +var _fastReflection_IsWhitelistAdminRequest_messageType fastReflection_IsWhitelistAdminRequest_messageType +var _ protoreflect.MessageType = fastReflection_IsWhitelistAdminRequest_messageType{} + +type fastReflection_IsWhitelistAdminRequest_messageType struct{} + +func (x fastReflection_IsWhitelistAdminRequest_messageType) Zero() protoreflect.Message { + return (*fastReflection_IsWhitelistAdminRequest)(nil) +} +func (x fastReflection_IsWhitelistAdminRequest_messageType) New() protoreflect.Message { + return new(fastReflection_IsWhitelistAdminRequest) +} +func (x fastReflection_IsWhitelistAdminRequest_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_IsWhitelistAdminRequest +} + +// Descriptor returns message descriptor, which contains only the protobuf +// type information for the message. +func (x *fastReflection_IsWhitelistAdminRequest) Descriptor() protoreflect.MessageDescriptor { + return md_IsWhitelistAdminRequest +} + +// Type returns the message type, which encapsulates both Go and protobuf +// type information. If the Go type information is not needed, +// it is recommended that the message descriptor be used instead. +func (x *fastReflection_IsWhitelistAdminRequest) Type() protoreflect.MessageType { + return _fastReflection_IsWhitelistAdminRequest_messageType +} + +// New returns a newly allocated and mutable empty message. +func (x *fastReflection_IsWhitelistAdminRequest) New() protoreflect.Message { + return new(fastReflection_IsWhitelistAdminRequest) +} + +// Interface unwraps the message reflection interface and +// returns the underlying ProtoMessage interface. +func (x *fastReflection_IsWhitelistAdminRequest) Interface() protoreflect.ProtoMessage { + return (*IsWhitelistAdminRequest)(x) +} + +// Range iterates over every populated field in an undefined order, +// calling f for each field descriptor and value encountered. +// Range returns immediately if f returns false. +// While iterating, mutating operations may only be performed +// on the current field descriptor. +func (x *fastReflection_IsWhitelistAdminRequest) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { + if x.Address != "" { + value := protoreflect.ValueOfString(x.Address) + if !f(fd_IsWhitelistAdminRequest_address, value) { + return + } + } +} + +// Has reports whether a field is populated. +// +// Some fields have the property of nullability where it is possible to +// distinguish between the default value of a field and whether the field +// was explicitly populated with the default value. Singular message fields, +// member fields of a oneof, and proto2 scalar fields are nullable. Such +// fields are populated only if explicitly set. +// +// In other cases (aside from the nullable cases above), +// a proto3 scalar field is populated if it contains a non-zero value, and +// a repeated field is populated if it is non-empty. +func (x *fastReflection_IsWhitelistAdminRequest) Has(fd protoreflect.FieldDescriptor) bool { + switch fd.FullName() { + case "emissions.v8.IsWhitelistAdminRequest.address": + return x.Address != "" + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.IsWhitelistAdminRequest")) + } + panic(fmt.Errorf("message emissions.v8.IsWhitelistAdminRequest does not contain field %s", fd.FullName())) + } +} + +// Clear clears the field such that a subsequent Has call reports false. +// +// Clearing an extension field clears both the extension type and value +// associated with the given field number. +// +// Clear is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_IsWhitelistAdminRequest) Clear(fd protoreflect.FieldDescriptor) { + switch fd.FullName() { + case "emissions.v8.IsWhitelistAdminRequest.address": + x.Address = "" + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.IsWhitelistAdminRequest")) + } + panic(fmt.Errorf("message emissions.v8.IsWhitelistAdminRequest does not contain field %s", fd.FullName())) + } +} + +// Get retrieves the value for a field. +// +// For unpopulated scalars, it returns the default value, where +// the default value of a bytes scalar is guaranteed to be a copy. +// For unpopulated composite types, it returns an empty, read-only view +// of the value; to obtain a mutable reference, use Mutable. +func (x *fastReflection_IsWhitelistAdminRequest) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { + switch descriptor.FullName() { + case "emissions.v8.IsWhitelistAdminRequest.address": + value := x.Address + return protoreflect.ValueOfString(value) + default: + if descriptor.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.IsWhitelistAdminRequest")) + } + panic(fmt.Errorf("message emissions.v8.IsWhitelistAdminRequest does not contain field %s", descriptor.FullName())) + } +} + +// Set stores the value for a field. +// +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType. +// When setting a composite type, it is unspecified whether the stored value +// aliases the source's memory in any way. If the composite value is an +// empty, read-only value, then it panics. +// +// Set is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_IsWhitelistAdminRequest) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { + switch fd.FullName() { + case "emissions.v8.IsWhitelistAdminRequest.address": + x.Address = value.Interface().(string) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.IsWhitelistAdminRequest")) + } + panic(fmt.Errorf("message emissions.v8.IsWhitelistAdminRequest does not contain field %s", fd.FullName())) + } +} + +// Mutable returns a mutable reference to a composite type. +// +// If the field is unpopulated, it may allocate a composite value. +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType +// if not already stored. +// It panics if the field does not contain a composite type. +// +// Mutable is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_IsWhitelistAdminRequest) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.IsWhitelistAdminRequest.address": + panic(fmt.Errorf("field address of message emissions.v8.IsWhitelistAdminRequest is not mutable")) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.IsWhitelistAdminRequest")) + } + panic(fmt.Errorf("message emissions.v8.IsWhitelistAdminRequest does not contain field %s", fd.FullName())) + } +} + +// NewField returns a new value that is assignable to the field +// for the given descriptor. For scalars, this returns the default value. +// For lists, maps, and messages, this returns a new, empty, mutable value. +func (x *fastReflection_IsWhitelistAdminRequest) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.IsWhitelistAdminRequest.address": + return protoreflect.ValueOfString("") + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.IsWhitelistAdminRequest")) + } + panic(fmt.Errorf("message emissions.v8.IsWhitelistAdminRequest does not contain field %s", fd.FullName())) + } +} + +// WhichOneof reports which field within the oneof is populated, +// returning nil if none are populated. +// It panics if the oneof descriptor does not belong to this message. +func (x *fastReflection_IsWhitelistAdminRequest) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { + switch d.FullName() { + default: + panic(fmt.Errorf("%s is not a oneof field in emissions.v8.IsWhitelistAdminRequest", d.FullName())) + } + panic("unreachable") +} + +// GetUnknown retrieves the entire list of unknown fields. +// The caller may only mutate the contents of the RawFields +// if the mutated bytes are stored back into the message with SetUnknown. +func (x *fastReflection_IsWhitelistAdminRequest) GetUnknown() protoreflect.RawFields { + return x.unknownFields +} + +// SetUnknown stores an entire list of unknown fields. +// The raw fields must be syntactically valid according to the wire format. +// An implementation may panic if this is not the case. +// Once stored, the caller must not mutate the content of the RawFields. +// An empty RawFields may be passed to clear the fields. +// +// SetUnknown is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_IsWhitelistAdminRequest) SetUnknown(fields protoreflect.RawFields) { + x.unknownFields = fields +} + +// IsValid reports whether the message is valid. +// +// An invalid message is an empty, read-only value. +// +// An invalid message often corresponds to a nil pointer of the concrete +// message type, but the details are implementation dependent. +// Validity is not part of the protobuf data model, and may not +// be preserved in marshaling or other operations. +func (x *fastReflection_IsWhitelistAdminRequest) IsValid() bool { + return x != nil +} + +// ProtoMethods returns optional fastReflectionFeature-path implementations of various operations. +// This method may return nil. +// +// The returned methods type is identical to +// "google.golang.org/protobuf/runtime/protoiface".Methods. +// Consult the protoiface package documentation for details. +func (x *fastReflection_IsWhitelistAdminRequest) ProtoMethods() *protoiface.Methods { + size := func(input protoiface.SizeInput) protoiface.SizeOutput { + x := input.Message.Interface().(*IsWhitelistAdminRequest) + if x == nil { + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: 0, + } + } + options := runtime.SizeInputToOptions(input) + _ = options + var n int + var l int + _ = l + l = len(x.Address) + if l > 0 { + n += 1 + l + runtime.Sov(uint64(l)) + } + if x.unknownFields != nil { + n += len(x.unknownFields) + } + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: n, + } + } + + marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { + x := input.Message.Interface().(*IsWhitelistAdminRequest) + if x == nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + options := runtime.MarshalInputToOptions(input) + _ = options + size := options.Size(x) + dAtA := make([]byte, size) + i := len(dAtA) + _ = i + var l int + _ = l + if x.unknownFields != nil { + i -= len(x.unknownFields) + copy(dAtA[i:], x.unknownFields) + } + if len(x.Address) > 0 { + i -= len(x.Address) + copy(dAtA[i:], x.Address) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.Address))) + i-- + dAtA[i] = 0xa + } + if input.Buf != nil { + input.Buf = append(input.Buf, dAtA...) + } else { + input.Buf = dAtA + } + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { + x := input.Message.Interface().(*IsWhitelistAdminRequest) + if x == nil { + return protoiface.UnmarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Flags: input.Flags, + }, nil + } + options := runtime.UnmarshalInputToOptions(input) + _ = options + dAtA := input.Buf + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: IsWhitelistAdminRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: IsWhitelistAdminRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Address", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + x.Address = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := runtime.Skip(dAtA[iNdEx:]) + if err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if (iNdEx + skippy) > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + if !options.DiscardUnknown { + x.unknownFields = append(x.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + } + iNdEx += skippy + } + } + + if iNdEx > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, nil + } + return &protoiface.Methods{ + NoUnkeyedLiterals: struct{}{}, + Flags: protoiface.SupportMarshalDeterministic | protoiface.SupportUnmarshalDiscardUnknown, + Size: size, + Marshal: marshal, + Unmarshal: unmarshal, + Merge: nil, + CheckInitialized: nil, + } +} + +var ( + md_IsWhitelistAdminResponse protoreflect.MessageDescriptor + fd_IsWhitelistAdminResponse_is_admin protoreflect.FieldDescriptor +) + +func init() { + file_emissions_v8_query_proto_init() + md_IsWhitelistAdminResponse = File_emissions_v8_query_proto.Messages().ByName("IsWhitelistAdminResponse") + fd_IsWhitelistAdminResponse_is_admin = md_IsWhitelistAdminResponse.Fields().ByName("is_admin") +} + +var _ protoreflect.Message = (*fastReflection_IsWhitelistAdminResponse)(nil) + +type fastReflection_IsWhitelistAdminResponse IsWhitelistAdminResponse + +func (x *IsWhitelistAdminResponse) ProtoReflect() protoreflect.Message { + return (*fastReflection_IsWhitelistAdminResponse)(x) +} + +func (x *IsWhitelistAdminResponse) slowProtoReflect() protoreflect.Message { + mi := &file_emissions_v8_query_proto_msgTypes[117] + 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) +} + +var _fastReflection_IsWhitelistAdminResponse_messageType fastReflection_IsWhitelistAdminResponse_messageType +var _ protoreflect.MessageType = fastReflection_IsWhitelistAdminResponse_messageType{} + +type fastReflection_IsWhitelistAdminResponse_messageType struct{} + +func (x fastReflection_IsWhitelistAdminResponse_messageType) Zero() protoreflect.Message { + return (*fastReflection_IsWhitelistAdminResponse)(nil) +} +func (x fastReflection_IsWhitelistAdminResponse_messageType) New() protoreflect.Message { + return new(fastReflection_IsWhitelistAdminResponse) +} +func (x fastReflection_IsWhitelistAdminResponse_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_IsWhitelistAdminResponse +} + +// Descriptor returns message descriptor, which contains only the protobuf +// type information for the message. +func (x *fastReflection_IsWhitelistAdminResponse) Descriptor() protoreflect.MessageDescriptor { + return md_IsWhitelistAdminResponse +} + +// Type returns the message type, which encapsulates both Go and protobuf +// type information. If the Go type information is not needed, +// it is recommended that the message descriptor be used instead. +func (x *fastReflection_IsWhitelistAdminResponse) Type() protoreflect.MessageType { + return _fastReflection_IsWhitelistAdminResponse_messageType +} + +// New returns a newly allocated and mutable empty message. +func (x *fastReflection_IsWhitelistAdminResponse) New() protoreflect.Message { + return new(fastReflection_IsWhitelistAdminResponse) +} + +// Interface unwraps the message reflection interface and +// returns the underlying ProtoMessage interface. +func (x *fastReflection_IsWhitelistAdminResponse) Interface() protoreflect.ProtoMessage { + return (*IsWhitelistAdminResponse)(x) +} + +// Range iterates over every populated field in an undefined order, +// calling f for each field descriptor and value encountered. +// Range returns immediately if f returns false. +// While iterating, mutating operations may only be performed +// on the current field descriptor. +func (x *fastReflection_IsWhitelistAdminResponse) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { + if x.IsAdmin != false { + value := protoreflect.ValueOfBool(x.IsAdmin) + if !f(fd_IsWhitelistAdminResponse_is_admin, value) { + return + } + } +} + +// Has reports whether a field is populated. +// +// Some fields have the property of nullability where it is possible to +// distinguish between the default value of a field and whether the field +// was explicitly populated with the default value. Singular message fields, +// member fields of a oneof, and proto2 scalar fields are nullable. Such +// fields are populated only if explicitly set. +// +// In other cases (aside from the nullable cases above), +// a proto3 scalar field is populated if it contains a non-zero value, and +// a repeated field is populated if it is non-empty. +func (x *fastReflection_IsWhitelistAdminResponse) Has(fd protoreflect.FieldDescriptor) bool { + switch fd.FullName() { + case "emissions.v8.IsWhitelistAdminResponse.is_admin": + return x.IsAdmin != false + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.IsWhitelistAdminResponse")) + } + panic(fmt.Errorf("message emissions.v8.IsWhitelistAdminResponse does not contain field %s", fd.FullName())) + } +} + +// Clear clears the field such that a subsequent Has call reports false. +// +// Clearing an extension field clears both the extension type and value +// associated with the given field number. +// +// Clear is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_IsWhitelistAdminResponse) Clear(fd protoreflect.FieldDescriptor) { + switch fd.FullName() { + case "emissions.v8.IsWhitelistAdminResponse.is_admin": + x.IsAdmin = false + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.IsWhitelistAdminResponse")) + } + panic(fmt.Errorf("message emissions.v8.IsWhitelistAdminResponse does not contain field %s", fd.FullName())) + } +} + +// Get retrieves the value for a field. +// +// For unpopulated scalars, it returns the default value, where +// the default value of a bytes scalar is guaranteed to be a copy. +// For unpopulated composite types, it returns an empty, read-only view +// of the value; to obtain a mutable reference, use Mutable. +func (x *fastReflection_IsWhitelistAdminResponse) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { + switch descriptor.FullName() { + case "emissions.v8.IsWhitelistAdminResponse.is_admin": + value := x.IsAdmin + return protoreflect.ValueOfBool(value) + default: + if descriptor.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.IsWhitelistAdminResponse")) + } + panic(fmt.Errorf("message emissions.v8.IsWhitelistAdminResponse does not contain field %s", descriptor.FullName())) + } +} + +// Set stores the value for a field. +// +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType. +// When setting a composite type, it is unspecified whether the stored value +// aliases the source's memory in any way. If the composite value is an +// empty, read-only value, then it panics. +// +// Set is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_IsWhitelistAdminResponse) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { + switch fd.FullName() { + case "emissions.v8.IsWhitelistAdminResponse.is_admin": + x.IsAdmin = value.Bool() + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.IsWhitelistAdminResponse")) + } + panic(fmt.Errorf("message emissions.v8.IsWhitelistAdminResponse does not contain field %s", fd.FullName())) + } +} + +// Mutable returns a mutable reference to a composite type. +// +// If the field is unpopulated, it may allocate a composite value. +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType +// if not already stored. +// It panics if the field does not contain a composite type. +// +// Mutable is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_IsWhitelistAdminResponse) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.IsWhitelistAdminResponse.is_admin": + panic(fmt.Errorf("field is_admin of message emissions.v8.IsWhitelistAdminResponse is not mutable")) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.IsWhitelistAdminResponse")) + } + panic(fmt.Errorf("message emissions.v8.IsWhitelistAdminResponse does not contain field %s", fd.FullName())) + } +} + +// NewField returns a new value that is assignable to the field +// for the given descriptor. For scalars, this returns the default value. +// For lists, maps, and messages, this returns a new, empty, mutable value. +func (x *fastReflection_IsWhitelistAdminResponse) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.IsWhitelistAdminResponse.is_admin": + return protoreflect.ValueOfBool(false) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.IsWhitelistAdminResponse")) + } + panic(fmt.Errorf("message emissions.v8.IsWhitelistAdminResponse does not contain field %s", fd.FullName())) + } +} + +// WhichOneof reports which field within the oneof is populated, +// returning nil if none are populated. +// It panics if the oneof descriptor does not belong to this message. +func (x *fastReflection_IsWhitelistAdminResponse) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { + switch d.FullName() { + default: + panic(fmt.Errorf("%s is not a oneof field in emissions.v8.IsWhitelistAdminResponse", d.FullName())) + } + panic("unreachable") +} + +// GetUnknown retrieves the entire list of unknown fields. +// The caller may only mutate the contents of the RawFields +// if the mutated bytes are stored back into the message with SetUnknown. +func (x *fastReflection_IsWhitelistAdminResponse) GetUnknown() protoreflect.RawFields { + return x.unknownFields +} + +// SetUnknown stores an entire list of unknown fields. +// The raw fields must be syntactically valid according to the wire format. +// An implementation may panic if this is not the case. +// Once stored, the caller must not mutate the content of the RawFields. +// An empty RawFields may be passed to clear the fields. +// +// SetUnknown is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_IsWhitelistAdminResponse) SetUnknown(fields protoreflect.RawFields) { + x.unknownFields = fields +} + +// IsValid reports whether the message is valid. +// +// An invalid message is an empty, read-only value. +// +// An invalid message often corresponds to a nil pointer of the concrete +// message type, but the details are implementation dependent. +// Validity is not part of the protobuf data model, and may not +// be preserved in marshaling or other operations. +func (x *fastReflection_IsWhitelistAdminResponse) IsValid() bool { + return x != nil +} + +// ProtoMethods returns optional fastReflectionFeature-path implementations of various operations. +// This method may return nil. +// +// The returned methods type is identical to +// "google.golang.org/protobuf/runtime/protoiface".Methods. +// Consult the protoiface package documentation for details. +func (x *fastReflection_IsWhitelistAdminResponse) ProtoMethods() *protoiface.Methods { + size := func(input protoiface.SizeInput) protoiface.SizeOutput { + x := input.Message.Interface().(*IsWhitelistAdminResponse) + if x == nil { + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: 0, + } + } + options := runtime.SizeInputToOptions(input) + _ = options + var n int + var l int + _ = l + if x.IsAdmin { + n += 2 + } + if x.unknownFields != nil { + n += len(x.unknownFields) + } + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: n, + } + } + + marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { + x := input.Message.Interface().(*IsWhitelistAdminResponse) + if x == nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + options := runtime.MarshalInputToOptions(input) + _ = options + size := options.Size(x) + dAtA := make([]byte, size) + i := len(dAtA) + _ = i + var l int + _ = l + if x.unknownFields != nil { + i -= len(x.unknownFields) + copy(dAtA[i:], x.unknownFields) + } + if x.IsAdmin { + i-- + if x.IsAdmin { + dAtA[i] = 1 + } else { + dAtA[i] = 0 + } + i-- + dAtA[i] = 0x8 + } + if input.Buf != nil { + input.Buf = append(input.Buf, dAtA...) + } else { + input.Buf = dAtA + } + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { + x := input.Message.Interface().(*IsWhitelistAdminResponse) + if x == nil { + return protoiface.UnmarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Flags: input.Flags, + }, nil + } + options := runtime.UnmarshalInputToOptions(input) + _ = options + dAtA := input.Buf + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: IsWhitelistAdminResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: IsWhitelistAdminResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field IsAdmin", wireType) + } + var v int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + x.IsAdmin = bool(v != 0) + default: + iNdEx = preIndex + skippy, err := runtime.Skip(dAtA[iNdEx:]) + if err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if (iNdEx + skippy) > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + if !options.DiscardUnknown { + x.unknownFields = append(x.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + } + iNdEx += skippy + } + } + + if iNdEx > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, nil + } + return &protoiface.Methods{ + NoUnkeyedLiterals: struct{}{}, + Flags: protoiface.SupportMarshalDeterministic | protoiface.SupportUnmarshalDiscardUnknown, + Size: size, + Marshal: marshal, + Unmarshal: unmarshal, + Merge: nil, + CheckInitialized: nil, + } +} + +var ( + md_GetStakeRemovalsUpUntilBlockRequest protoreflect.MessageDescriptor + fd_GetStakeRemovalsUpUntilBlockRequest_block_height protoreflect.FieldDescriptor +) + +func init() { + file_emissions_v8_query_proto_init() + md_GetStakeRemovalsUpUntilBlockRequest = File_emissions_v8_query_proto.Messages().ByName("GetStakeRemovalsUpUntilBlockRequest") + fd_GetStakeRemovalsUpUntilBlockRequest_block_height = md_GetStakeRemovalsUpUntilBlockRequest.Fields().ByName("block_height") +} + +var _ protoreflect.Message = (*fastReflection_GetStakeRemovalsUpUntilBlockRequest)(nil) + +type fastReflection_GetStakeRemovalsUpUntilBlockRequest GetStakeRemovalsUpUntilBlockRequest + +func (x *GetStakeRemovalsUpUntilBlockRequest) ProtoReflect() protoreflect.Message { + return (*fastReflection_GetStakeRemovalsUpUntilBlockRequest)(x) +} + +func (x *GetStakeRemovalsUpUntilBlockRequest) slowProtoReflect() protoreflect.Message { + mi := &file_emissions_v8_query_proto_msgTypes[118] + 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) +} + +var _fastReflection_GetStakeRemovalsUpUntilBlockRequest_messageType fastReflection_GetStakeRemovalsUpUntilBlockRequest_messageType +var _ protoreflect.MessageType = fastReflection_GetStakeRemovalsUpUntilBlockRequest_messageType{} + +type fastReflection_GetStakeRemovalsUpUntilBlockRequest_messageType struct{} + +func (x fastReflection_GetStakeRemovalsUpUntilBlockRequest_messageType) Zero() protoreflect.Message { + return (*fastReflection_GetStakeRemovalsUpUntilBlockRequest)(nil) +} +func (x fastReflection_GetStakeRemovalsUpUntilBlockRequest_messageType) New() protoreflect.Message { + return new(fastReflection_GetStakeRemovalsUpUntilBlockRequest) +} +func (x fastReflection_GetStakeRemovalsUpUntilBlockRequest_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_GetStakeRemovalsUpUntilBlockRequest +} + +// Descriptor returns message descriptor, which contains only the protobuf +// type information for the message. +func (x *fastReflection_GetStakeRemovalsUpUntilBlockRequest) Descriptor() protoreflect.MessageDescriptor { + return md_GetStakeRemovalsUpUntilBlockRequest +} + +// Type returns the message type, which encapsulates both Go and protobuf +// type information. If the Go type information is not needed, +// it is recommended that the message descriptor be used instead. +func (x *fastReflection_GetStakeRemovalsUpUntilBlockRequest) Type() protoreflect.MessageType { + return _fastReflection_GetStakeRemovalsUpUntilBlockRequest_messageType +} + +// New returns a newly allocated and mutable empty message. +func (x *fastReflection_GetStakeRemovalsUpUntilBlockRequest) New() protoreflect.Message { + return new(fastReflection_GetStakeRemovalsUpUntilBlockRequest) +} + +// Interface unwraps the message reflection interface and +// returns the underlying ProtoMessage interface. +func (x *fastReflection_GetStakeRemovalsUpUntilBlockRequest) Interface() protoreflect.ProtoMessage { + return (*GetStakeRemovalsUpUntilBlockRequest)(x) +} + +// Range iterates over every populated field in an undefined order, +// calling f for each field descriptor and value encountered. +// Range returns immediately if f returns false. +// While iterating, mutating operations may only be performed +// on the current field descriptor. +func (x *fastReflection_GetStakeRemovalsUpUntilBlockRequest) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { + if x.BlockHeight != int64(0) { + value := protoreflect.ValueOfInt64(x.BlockHeight) + if !f(fd_GetStakeRemovalsUpUntilBlockRequest_block_height, value) { + return + } + } +} + +// Has reports whether a field is populated. +// +// Some fields have the property of nullability where it is possible to +// distinguish between the default value of a field and whether the field +// was explicitly populated with the default value. Singular message fields, +// member fields of a oneof, and proto2 scalar fields are nullable. Such +// fields are populated only if explicitly set. +// +// In other cases (aside from the nullable cases above), +// a proto3 scalar field is populated if it contains a non-zero value, and +// a repeated field is populated if it is non-empty. +func (x *fastReflection_GetStakeRemovalsUpUntilBlockRequest) Has(fd protoreflect.FieldDescriptor) bool { + switch fd.FullName() { + case "emissions.v8.GetStakeRemovalsUpUntilBlockRequest.block_height": + return x.BlockHeight != int64(0) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetStakeRemovalsUpUntilBlockRequest")) + } + panic(fmt.Errorf("message emissions.v8.GetStakeRemovalsUpUntilBlockRequest does not contain field %s", fd.FullName())) + } +} + +// Clear clears the field such that a subsequent Has call reports false. +// +// Clearing an extension field clears both the extension type and value +// associated with the given field number. +// +// Clear is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetStakeRemovalsUpUntilBlockRequest) Clear(fd protoreflect.FieldDescriptor) { + switch fd.FullName() { + case "emissions.v8.GetStakeRemovalsUpUntilBlockRequest.block_height": + x.BlockHeight = int64(0) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetStakeRemovalsUpUntilBlockRequest")) + } + panic(fmt.Errorf("message emissions.v8.GetStakeRemovalsUpUntilBlockRequest does not contain field %s", fd.FullName())) + } +} + +// Get retrieves the value for a field. +// +// For unpopulated scalars, it returns the default value, where +// the default value of a bytes scalar is guaranteed to be a copy. +// For unpopulated composite types, it returns an empty, read-only view +// of the value; to obtain a mutable reference, use Mutable. +func (x *fastReflection_GetStakeRemovalsUpUntilBlockRequest) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { + switch descriptor.FullName() { + case "emissions.v8.GetStakeRemovalsUpUntilBlockRequest.block_height": + value := x.BlockHeight + return protoreflect.ValueOfInt64(value) + default: + if descriptor.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetStakeRemovalsUpUntilBlockRequest")) + } + panic(fmt.Errorf("message emissions.v8.GetStakeRemovalsUpUntilBlockRequest does not contain field %s", descriptor.FullName())) + } +} + +// Set stores the value for a field. +// +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType. +// When setting a composite type, it is unspecified whether the stored value +// aliases the source's memory in any way. If the composite value is an +// empty, read-only value, then it panics. +// +// Set is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetStakeRemovalsUpUntilBlockRequest) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { + switch fd.FullName() { + case "emissions.v8.GetStakeRemovalsUpUntilBlockRequest.block_height": + x.BlockHeight = value.Int() + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetStakeRemovalsUpUntilBlockRequest")) + } + panic(fmt.Errorf("message emissions.v8.GetStakeRemovalsUpUntilBlockRequest does not contain field %s", fd.FullName())) + } +} + +// Mutable returns a mutable reference to a composite type. +// +// If the field is unpopulated, it may allocate a composite value. +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType +// if not already stored. +// It panics if the field does not contain a composite type. +// +// Mutable is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetStakeRemovalsUpUntilBlockRequest) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.GetStakeRemovalsUpUntilBlockRequest.block_height": + panic(fmt.Errorf("field block_height of message emissions.v8.GetStakeRemovalsUpUntilBlockRequest is not mutable")) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetStakeRemovalsUpUntilBlockRequest")) + } + panic(fmt.Errorf("message emissions.v8.GetStakeRemovalsUpUntilBlockRequest does not contain field %s", fd.FullName())) + } +} + +// NewField returns a new value that is assignable to the field +// for the given descriptor. For scalars, this returns the default value. +// For lists, maps, and messages, this returns a new, empty, mutable value. +func (x *fastReflection_GetStakeRemovalsUpUntilBlockRequest) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.GetStakeRemovalsUpUntilBlockRequest.block_height": + return protoreflect.ValueOfInt64(int64(0)) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetStakeRemovalsUpUntilBlockRequest")) + } + panic(fmt.Errorf("message emissions.v8.GetStakeRemovalsUpUntilBlockRequest does not contain field %s", fd.FullName())) + } +} + +// WhichOneof reports which field within the oneof is populated, +// returning nil if none are populated. +// It panics if the oneof descriptor does not belong to this message. +func (x *fastReflection_GetStakeRemovalsUpUntilBlockRequest) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { + switch d.FullName() { + default: + panic(fmt.Errorf("%s is not a oneof field in emissions.v8.GetStakeRemovalsUpUntilBlockRequest", d.FullName())) + } + panic("unreachable") +} + +// GetUnknown retrieves the entire list of unknown fields. +// The caller may only mutate the contents of the RawFields +// if the mutated bytes are stored back into the message with SetUnknown. +func (x *fastReflection_GetStakeRemovalsUpUntilBlockRequest) GetUnknown() protoreflect.RawFields { + return x.unknownFields +} + +// SetUnknown stores an entire list of unknown fields. +// The raw fields must be syntactically valid according to the wire format. +// An implementation may panic if this is not the case. +// Once stored, the caller must not mutate the content of the RawFields. +// An empty RawFields may be passed to clear the fields. +// +// SetUnknown is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetStakeRemovalsUpUntilBlockRequest) SetUnknown(fields protoreflect.RawFields) { + x.unknownFields = fields +} + +// IsValid reports whether the message is valid. +// +// An invalid message is an empty, read-only value. +// +// An invalid message often corresponds to a nil pointer of the concrete +// message type, but the details are implementation dependent. +// Validity is not part of the protobuf data model, and may not +// be preserved in marshaling or other operations. +func (x *fastReflection_GetStakeRemovalsUpUntilBlockRequest) IsValid() bool { + return x != nil +} + +// ProtoMethods returns optional fastReflectionFeature-path implementations of various operations. +// This method may return nil. +// +// The returned methods type is identical to +// "google.golang.org/protobuf/runtime/protoiface".Methods. +// Consult the protoiface package documentation for details. +func (x *fastReflection_GetStakeRemovalsUpUntilBlockRequest) ProtoMethods() *protoiface.Methods { + size := func(input protoiface.SizeInput) protoiface.SizeOutput { + x := input.Message.Interface().(*GetStakeRemovalsUpUntilBlockRequest) + if x == nil { + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: 0, + } + } + options := runtime.SizeInputToOptions(input) + _ = options + var n int + var l int + _ = l + if x.BlockHeight != 0 { + n += 1 + runtime.Sov(uint64(x.BlockHeight)) + } + if x.unknownFields != nil { + n += len(x.unknownFields) + } + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: n, + } + } + + marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { + x := input.Message.Interface().(*GetStakeRemovalsUpUntilBlockRequest) + if x == nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + options := runtime.MarshalInputToOptions(input) + _ = options + size := options.Size(x) + dAtA := make([]byte, size) + i := len(dAtA) + _ = i + var l int + _ = l + if x.unknownFields != nil { + i -= len(x.unknownFields) + copy(dAtA[i:], x.unknownFields) + } + if x.BlockHeight != 0 { + i = runtime.EncodeVarint(dAtA, i, uint64(x.BlockHeight)) + i-- + dAtA[i] = 0x8 + } + if input.Buf != nil { + input.Buf = append(input.Buf, dAtA...) + } else { + input.Buf = dAtA + } + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { + x := input.Message.Interface().(*GetStakeRemovalsUpUntilBlockRequest) + if x == nil { + return protoiface.UnmarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Flags: input.Flags, + }, nil + } + options := runtime.UnmarshalInputToOptions(input) + _ = options + dAtA := input.Buf + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: GetStakeRemovalsUpUntilBlockRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: GetStakeRemovalsUpUntilBlockRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field BlockHeight", wireType) + } + x.BlockHeight = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + x.BlockHeight |= int64(b&0x7F) << shift + if b < 0x80 { + break + } + } + default: + iNdEx = preIndex + skippy, err := runtime.Skip(dAtA[iNdEx:]) + if err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if (iNdEx + skippy) > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + if !options.DiscardUnknown { + x.unknownFields = append(x.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + } + iNdEx += skippy + } + } + + if iNdEx > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, nil + } + return &protoiface.Methods{ + NoUnkeyedLiterals: struct{}{}, + Flags: protoiface.SupportMarshalDeterministic | protoiface.SupportUnmarshalDiscardUnknown, + Size: size, + Marshal: marshal, + Unmarshal: unmarshal, + Merge: nil, + CheckInitialized: nil, + } +} + +var _ protoreflect.List = (*_GetStakeRemovalsUpUntilBlockResponse_1_list)(nil) + +type _GetStakeRemovalsUpUntilBlockResponse_1_list struct { + list *[]*v3.StakeRemovalInfo +} + +func (x *_GetStakeRemovalsUpUntilBlockResponse_1_list) Len() int { + if x.list == nil { + return 0 + } + return len(*x.list) +} + +func (x *_GetStakeRemovalsUpUntilBlockResponse_1_list) Get(i int) protoreflect.Value { + return protoreflect.ValueOfMessage((*x.list)[i].ProtoReflect()) +} + +func (x *_GetStakeRemovalsUpUntilBlockResponse_1_list) Set(i int, value protoreflect.Value) { + valueUnwrapped := value.Message() + concreteValue := valueUnwrapped.Interface().(*v3.StakeRemovalInfo) + (*x.list)[i] = concreteValue +} + +func (x *_GetStakeRemovalsUpUntilBlockResponse_1_list) Append(value protoreflect.Value) { + valueUnwrapped := value.Message() + concreteValue := valueUnwrapped.Interface().(*v3.StakeRemovalInfo) + *x.list = append(*x.list, concreteValue) +} + +func (x *_GetStakeRemovalsUpUntilBlockResponse_1_list) AppendMutable() protoreflect.Value { + v := new(v3.StakeRemovalInfo) + *x.list = append(*x.list, v) + return protoreflect.ValueOfMessage(v.ProtoReflect()) +} + +func (x *_GetStakeRemovalsUpUntilBlockResponse_1_list) Truncate(n int) { + for i := n; i < len(*x.list); i++ { + (*x.list)[i] = nil + } + *x.list = (*x.list)[:n] +} + +func (x *_GetStakeRemovalsUpUntilBlockResponse_1_list) NewElement() protoreflect.Value { + v := new(v3.StakeRemovalInfo) + return protoreflect.ValueOfMessage(v.ProtoReflect()) +} + +func (x *_GetStakeRemovalsUpUntilBlockResponse_1_list) IsValid() bool { + return x.list != nil +} + +var ( + md_GetStakeRemovalsUpUntilBlockResponse protoreflect.MessageDescriptor + fd_GetStakeRemovalsUpUntilBlockResponse_removals protoreflect.FieldDescriptor +) + +func init() { + file_emissions_v8_query_proto_init() + md_GetStakeRemovalsUpUntilBlockResponse = File_emissions_v8_query_proto.Messages().ByName("GetStakeRemovalsUpUntilBlockResponse") + fd_GetStakeRemovalsUpUntilBlockResponse_removals = md_GetStakeRemovalsUpUntilBlockResponse.Fields().ByName("removals") +} + +var _ protoreflect.Message = (*fastReflection_GetStakeRemovalsUpUntilBlockResponse)(nil) + +type fastReflection_GetStakeRemovalsUpUntilBlockResponse GetStakeRemovalsUpUntilBlockResponse + +func (x *GetStakeRemovalsUpUntilBlockResponse) ProtoReflect() protoreflect.Message { + return (*fastReflection_GetStakeRemovalsUpUntilBlockResponse)(x) +} + +func (x *GetStakeRemovalsUpUntilBlockResponse) slowProtoReflect() protoreflect.Message { + mi := &file_emissions_v8_query_proto_msgTypes[119] + 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) +} + +var _fastReflection_GetStakeRemovalsUpUntilBlockResponse_messageType fastReflection_GetStakeRemovalsUpUntilBlockResponse_messageType +var _ protoreflect.MessageType = fastReflection_GetStakeRemovalsUpUntilBlockResponse_messageType{} + +type fastReflection_GetStakeRemovalsUpUntilBlockResponse_messageType struct{} + +func (x fastReflection_GetStakeRemovalsUpUntilBlockResponse_messageType) Zero() protoreflect.Message { + return (*fastReflection_GetStakeRemovalsUpUntilBlockResponse)(nil) +} +func (x fastReflection_GetStakeRemovalsUpUntilBlockResponse_messageType) New() protoreflect.Message { + return new(fastReflection_GetStakeRemovalsUpUntilBlockResponse) +} +func (x fastReflection_GetStakeRemovalsUpUntilBlockResponse_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_GetStakeRemovalsUpUntilBlockResponse +} + +// Descriptor returns message descriptor, which contains only the protobuf +// type information for the message. +func (x *fastReflection_GetStakeRemovalsUpUntilBlockResponse) Descriptor() protoreflect.MessageDescriptor { + return md_GetStakeRemovalsUpUntilBlockResponse +} + +// Type returns the message type, which encapsulates both Go and protobuf +// type information. If the Go type information is not needed, +// it is recommended that the message descriptor be used instead. +func (x *fastReflection_GetStakeRemovalsUpUntilBlockResponse) Type() protoreflect.MessageType { + return _fastReflection_GetStakeRemovalsUpUntilBlockResponse_messageType +} + +// New returns a newly allocated and mutable empty message. +func (x *fastReflection_GetStakeRemovalsUpUntilBlockResponse) New() protoreflect.Message { + return new(fastReflection_GetStakeRemovalsUpUntilBlockResponse) +} + +// Interface unwraps the message reflection interface and +// returns the underlying ProtoMessage interface. +func (x *fastReflection_GetStakeRemovalsUpUntilBlockResponse) Interface() protoreflect.ProtoMessage { + return (*GetStakeRemovalsUpUntilBlockResponse)(x) +} + +// Range iterates over every populated field in an undefined order, +// calling f for each field descriptor and value encountered. +// Range returns immediately if f returns false. +// While iterating, mutating operations may only be performed +// on the current field descriptor. +func (x *fastReflection_GetStakeRemovalsUpUntilBlockResponse) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { + if len(x.Removals) != 0 { + value := protoreflect.ValueOfList(&_GetStakeRemovalsUpUntilBlockResponse_1_list{list: &x.Removals}) + if !f(fd_GetStakeRemovalsUpUntilBlockResponse_removals, value) { + return + } + } +} + +// Has reports whether a field is populated. +// +// Some fields have the property of nullability where it is possible to +// distinguish between the default value of a field and whether the field +// was explicitly populated with the default value. Singular message fields, +// member fields of a oneof, and proto2 scalar fields are nullable. Such +// fields are populated only if explicitly set. +// +// In other cases (aside from the nullable cases above), +// a proto3 scalar field is populated if it contains a non-zero value, and +// a repeated field is populated if it is non-empty. +func (x *fastReflection_GetStakeRemovalsUpUntilBlockResponse) Has(fd protoreflect.FieldDescriptor) bool { + switch fd.FullName() { + case "emissions.v8.GetStakeRemovalsUpUntilBlockResponse.removals": + return len(x.Removals) != 0 + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetStakeRemovalsUpUntilBlockResponse")) + } + panic(fmt.Errorf("message emissions.v8.GetStakeRemovalsUpUntilBlockResponse does not contain field %s", fd.FullName())) + } +} + +// Clear clears the field such that a subsequent Has call reports false. +// +// Clearing an extension field clears both the extension type and value +// associated with the given field number. +// +// Clear is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetStakeRemovalsUpUntilBlockResponse) Clear(fd protoreflect.FieldDescriptor) { + switch fd.FullName() { + case "emissions.v8.GetStakeRemovalsUpUntilBlockResponse.removals": + x.Removals = nil + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetStakeRemovalsUpUntilBlockResponse")) + } + panic(fmt.Errorf("message emissions.v8.GetStakeRemovalsUpUntilBlockResponse does not contain field %s", fd.FullName())) + } +} + +// Get retrieves the value for a field. +// +// For unpopulated scalars, it returns the default value, where +// the default value of a bytes scalar is guaranteed to be a copy. +// For unpopulated composite types, it returns an empty, read-only view +// of the value; to obtain a mutable reference, use Mutable. +func (x *fastReflection_GetStakeRemovalsUpUntilBlockResponse) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { + switch descriptor.FullName() { + case "emissions.v8.GetStakeRemovalsUpUntilBlockResponse.removals": + if len(x.Removals) == 0 { + return protoreflect.ValueOfList(&_GetStakeRemovalsUpUntilBlockResponse_1_list{}) + } + listValue := &_GetStakeRemovalsUpUntilBlockResponse_1_list{list: &x.Removals} + return protoreflect.ValueOfList(listValue) + default: + if descriptor.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetStakeRemovalsUpUntilBlockResponse")) + } + panic(fmt.Errorf("message emissions.v8.GetStakeRemovalsUpUntilBlockResponse does not contain field %s", descriptor.FullName())) + } +} + +// Set stores the value for a field. +// +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType. +// When setting a composite type, it is unspecified whether the stored value +// aliases the source's memory in any way. If the composite value is an +// empty, read-only value, then it panics. +// +// Set is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetStakeRemovalsUpUntilBlockResponse) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { + switch fd.FullName() { + case "emissions.v8.GetStakeRemovalsUpUntilBlockResponse.removals": + lv := value.List() + clv := lv.(*_GetStakeRemovalsUpUntilBlockResponse_1_list) + x.Removals = *clv.list + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetStakeRemovalsUpUntilBlockResponse")) + } + panic(fmt.Errorf("message emissions.v8.GetStakeRemovalsUpUntilBlockResponse does not contain field %s", fd.FullName())) + } +} + +// Mutable returns a mutable reference to a composite type. +// +// If the field is unpopulated, it may allocate a composite value. +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType +// if not already stored. +// It panics if the field does not contain a composite type. +// +// Mutable is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetStakeRemovalsUpUntilBlockResponse) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.GetStakeRemovalsUpUntilBlockResponse.removals": + if x.Removals == nil { + x.Removals = []*v3.StakeRemovalInfo{} + } + value := &_GetStakeRemovalsUpUntilBlockResponse_1_list{list: &x.Removals} + return protoreflect.ValueOfList(value) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetStakeRemovalsUpUntilBlockResponse")) + } + panic(fmt.Errorf("message emissions.v8.GetStakeRemovalsUpUntilBlockResponse does not contain field %s", fd.FullName())) + } +} + +// NewField returns a new value that is assignable to the field +// for the given descriptor. For scalars, this returns the default value. +// For lists, maps, and messages, this returns a new, empty, mutable value. +func (x *fastReflection_GetStakeRemovalsUpUntilBlockResponse) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.GetStakeRemovalsUpUntilBlockResponse.removals": + list := []*v3.StakeRemovalInfo{} + return protoreflect.ValueOfList(&_GetStakeRemovalsUpUntilBlockResponse_1_list{list: &list}) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetStakeRemovalsUpUntilBlockResponse")) + } + panic(fmt.Errorf("message emissions.v8.GetStakeRemovalsUpUntilBlockResponse does not contain field %s", fd.FullName())) + } +} + +// WhichOneof reports which field within the oneof is populated, +// returning nil if none are populated. +// It panics if the oneof descriptor does not belong to this message. +func (x *fastReflection_GetStakeRemovalsUpUntilBlockResponse) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { + switch d.FullName() { + default: + panic(fmt.Errorf("%s is not a oneof field in emissions.v8.GetStakeRemovalsUpUntilBlockResponse", d.FullName())) + } + panic("unreachable") +} + +// GetUnknown retrieves the entire list of unknown fields. +// The caller may only mutate the contents of the RawFields +// if the mutated bytes are stored back into the message with SetUnknown. +func (x *fastReflection_GetStakeRemovalsUpUntilBlockResponse) GetUnknown() protoreflect.RawFields { + return x.unknownFields +} + +// SetUnknown stores an entire list of unknown fields. +// The raw fields must be syntactically valid according to the wire format. +// An implementation may panic if this is not the case. +// Once stored, the caller must not mutate the content of the RawFields. +// An empty RawFields may be passed to clear the fields. +// +// SetUnknown is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetStakeRemovalsUpUntilBlockResponse) SetUnknown(fields protoreflect.RawFields) { + x.unknownFields = fields +} + +// IsValid reports whether the message is valid. +// +// An invalid message is an empty, read-only value. +// +// An invalid message often corresponds to a nil pointer of the concrete +// message type, but the details are implementation dependent. +// Validity is not part of the protobuf data model, and may not +// be preserved in marshaling or other operations. +func (x *fastReflection_GetStakeRemovalsUpUntilBlockResponse) IsValid() bool { + return x != nil +} + +// ProtoMethods returns optional fastReflectionFeature-path implementations of various operations. +// This method may return nil. +// +// The returned methods type is identical to +// "google.golang.org/protobuf/runtime/protoiface".Methods. +// Consult the protoiface package documentation for details. +func (x *fastReflection_GetStakeRemovalsUpUntilBlockResponse) ProtoMethods() *protoiface.Methods { + size := func(input protoiface.SizeInput) protoiface.SizeOutput { + x := input.Message.Interface().(*GetStakeRemovalsUpUntilBlockResponse) + if x == nil { + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: 0, + } + } + options := runtime.SizeInputToOptions(input) + _ = options + var n int + var l int + _ = l + if len(x.Removals) > 0 { + for _, e := range x.Removals { + l = options.Size(e) + n += 1 + l + runtime.Sov(uint64(l)) + } + } + if x.unknownFields != nil { + n += len(x.unknownFields) + } + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: n, + } + } + + marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { + x := input.Message.Interface().(*GetStakeRemovalsUpUntilBlockResponse) + if x == nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + options := runtime.MarshalInputToOptions(input) + _ = options + size := options.Size(x) + dAtA := make([]byte, size) + i := len(dAtA) + _ = i + var l int + _ = l + if x.unknownFields != nil { + i -= len(x.unknownFields) + copy(dAtA[i:], x.unknownFields) + } + if len(x.Removals) > 0 { + for iNdEx := len(x.Removals) - 1; iNdEx >= 0; iNdEx-- { + encoded, err := options.Marshal(x.Removals[iNdEx]) + if err != nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = runtime.EncodeVarint(dAtA, i, uint64(len(encoded))) + i-- + dAtA[i] = 0xa + } + } + if input.Buf != nil { + input.Buf = append(input.Buf, dAtA...) + } else { + input.Buf = dAtA + } + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { + x := input.Message.Interface().(*GetStakeRemovalsUpUntilBlockResponse) + if x == nil { + return protoiface.UnmarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Flags: input.Flags, + }, nil + } + options := runtime.UnmarshalInputToOptions(input) + _ = options + dAtA := input.Buf + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: GetStakeRemovalsUpUntilBlockResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: GetStakeRemovalsUpUntilBlockResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Removals", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + x.Removals = append(x.Removals, &v3.StakeRemovalInfo{}) + if err := options.Unmarshal(dAtA[iNdEx:postIndex], x.Removals[len(x.Removals)-1]); err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := runtime.Skip(dAtA[iNdEx:]) + if err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if (iNdEx + skippy) > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + if !options.DiscardUnknown { + x.unknownFields = append(x.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + } + iNdEx += skippy + } + } + + if iNdEx > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, nil + } + return &protoiface.Methods{ + NoUnkeyedLiterals: struct{}{}, + Flags: protoiface.SupportMarshalDeterministic | protoiface.SupportUnmarshalDiscardUnknown, + Size: size, + Marshal: marshal, + Unmarshal: unmarshal, + Merge: nil, + CheckInitialized: nil, + } +} + +var ( + md_GetDelegateStakeRemovalsUpUntilBlockRequest protoreflect.MessageDescriptor + fd_GetDelegateStakeRemovalsUpUntilBlockRequest_block_height protoreflect.FieldDescriptor +) + +func init() { + file_emissions_v8_query_proto_init() + md_GetDelegateStakeRemovalsUpUntilBlockRequest = File_emissions_v8_query_proto.Messages().ByName("GetDelegateStakeRemovalsUpUntilBlockRequest") + fd_GetDelegateStakeRemovalsUpUntilBlockRequest_block_height = md_GetDelegateStakeRemovalsUpUntilBlockRequest.Fields().ByName("block_height") +} + +var _ protoreflect.Message = (*fastReflection_GetDelegateStakeRemovalsUpUntilBlockRequest)(nil) + +type fastReflection_GetDelegateStakeRemovalsUpUntilBlockRequest GetDelegateStakeRemovalsUpUntilBlockRequest + +func (x *GetDelegateStakeRemovalsUpUntilBlockRequest) ProtoReflect() protoreflect.Message { + return (*fastReflection_GetDelegateStakeRemovalsUpUntilBlockRequest)(x) +} + +func (x *GetDelegateStakeRemovalsUpUntilBlockRequest) slowProtoReflect() protoreflect.Message { + mi := &file_emissions_v8_query_proto_msgTypes[120] + 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) +} + +var _fastReflection_GetDelegateStakeRemovalsUpUntilBlockRequest_messageType fastReflection_GetDelegateStakeRemovalsUpUntilBlockRequest_messageType +var _ protoreflect.MessageType = fastReflection_GetDelegateStakeRemovalsUpUntilBlockRequest_messageType{} + +type fastReflection_GetDelegateStakeRemovalsUpUntilBlockRequest_messageType struct{} + +func (x fastReflection_GetDelegateStakeRemovalsUpUntilBlockRequest_messageType) Zero() protoreflect.Message { + return (*fastReflection_GetDelegateStakeRemovalsUpUntilBlockRequest)(nil) +} +func (x fastReflection_GetDelegateStakeRemovalsUpUntilBlockRequest_messageType) New() protoreflect.Message { + return new(fastReflection_GetDelegateStakeRemovalsUpUntilBlockRequest) +} +func (x fastReflection_GetDelegateStakeRemovalsUpUntilBlockRequest_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_GetDelegateStakeRemovalsUpUntilBlockRequest +} + +// Descriptor returns message descriptor, which contains only the protobuf +// type information for the message. +func (x *fastReflection_GetDelegateStakeRemovalsUpUntilBlockRequest) Descriptor() protoreflect.MessageDescriptor { + return md_GetDelegateStakeRemovalsUpUntilBlockRequest +} + +// Type returns the message type, which encapsulates both Go and protobuf +// type information. If the Go type information is not needed, +// it is recommended that the message descriptor be used instead. +func (x *fastReflection_GetDelegateStakeRemovalsUpUntilBlockRequest) Type() protoreflect.MessageType { + return _fastReflection_GetDelegateStakeRemovalsUpUntilBlockRequest_messageType +} + +// New returns a newly allocated and mutable empty message. +func (x *fastReflection_GetDelegateStakeRemovalsUpUntilBlockRequest) New() protoreflect.Message { + return new(fastReflection_GetDelegateStakeRemovalsUpUntilBlockRequest) +} + +// Interface unwraps the message reflection interface and +// returns the underlying ProtoMessage interface. +func (x *fastReflection_GetDelegateStakeRemovalsUpUntilBlockRequest) Interface() protoreflect.ProtoMessage { + return (*GetDelegateStakeRemovalsUpUntilBlockRequest)(x) +} + +// Range iterates over every populated field in an undefined order, +// calling f for each field descriptor and value encountered. +// Range returns immediately if f returns false. +// While iterating, mutating operations may only be performed +// on the current field descriptor. +func (x *fastReflection_GetDelegateStakeRemovalsUpUntilBlockRequest) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { + if x.BlockHeight != int64(0) { + value := protoreflect.ValueOfInt64(x.BlockHeight) + if !f(fd_GetDelegateStakeRemovalsUpUntilBlockRequest_block_height, value) { + return + } + } +} + +// Has reports whether a field is populated. +// +// Some fields have the property of nullability where it is possible to +// distinguish between the default value of a field and whether the field +// was explicitly populated with the default value. Singular message fields, +// member fields of a oneof, and proto2 scalar fields are nullable. Such +// fields are populated only if explicitly set. +// +// In other cases (aside from the nullable cases above), +// a proto3 scalar field is populated if it contains a non-zero value, and +// a repeated field is populated if it is non-empty. +func (x *fastReflection_GetDelegateStakeRemovalsUpUntilBlockRequest) Has(fd protoreflect.FieldDescriptor) bool { + switch fd.FullName() { + case "emissions.v8.GetDelegateStakeRemovalsUpUntilBlockRequest.block_height": + return x.BlockHeight != int64(0) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetDelegateStakeRemovalsUpUntilBlockRequest")) + } + panic(fmt.Errorf("message emissions.v8.GetDelegateStakeRemovalsUpUntilBlockRequest does not contain field %s", fd.FullName())) + } +} + +// Clear clears the field such that a subsequent Has call reports false. +// +// Clearing an extension field clears both the extension type and value +// associated with the given field number. +// +// Clear is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetDelegateStakeRemovalsUpUntilBlockRequest) Clear(fd protoreflect.FieldDescriptor) { + switch fd.FullName() { + case "emissions.v8.GetDelegateStakeRemovalsUpUntilBlockRequest.block_height": + x.BlockHeight = int64(0) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetDelegateStakeRemovalsUpUntilBlockRequest")) + } + panic(fmt.Errorf("message emissions.v8.GetDelegateStakeRemovalsUpUntilBlockRequest does not contain field %s", fd.FullName())) + } +} + +// Get retrieves the value for a field. +// +// For unpopulated scalars, it returns the default value, where +// the default value of a bytes scalar is guaranteed to be a copy. +// For unpopulated composite types, it returns an empty, read-only view +// of the value; to obtain a mutable reference, use Mutable. +func (x *fastReflection_GetDelegateStakeRemovalsUpUntilBlockRequest) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { + switch descriptor.FullName() { + case "emissions.v8.GetDelegateStakeRemovalsUpUntilBlockRequest.block_height": + value := x.BlockHeight + return protoreflect.ValueOfInt64(value) + default: + if descriptor.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetDelegateStakeRemovalsUpUntilBlockRequest")) + } + panic(fmt.Errorf("message emissions.v8.GetDelegateStakeRemovalsUpUntilBlockRequest does not contain field %s", descriptor.FullName())) + } +} + +// Set stores the value for a field. +// +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType. +// When setting a composite type, it is unspecified whether the stored value +// aliases the source's memory in any way. If the composite value is an +// empty, read-only value, then it panics. +// +// Set is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetDelegateStakeRemovalsUpUntilBlockRequest) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { + switch fd.FullName() { + case "emissions.v8.GetDelegateStakeRemovalsUpUntilBlockRequest.block_height": + x.BlockHeight = value.Int() + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetDelegateStakeRemovalsUpUntilBlockRequest")) + } + panic(fmt.Errorf("message emissions.v8.GetDelegateStakeRemovalsUpUntilBlockRequest does not contain field %s", fd.FullName())) + } +} + +// Mutable returns a mutable reference to a composite type. +// +// If the field is unpopulated, it may allocate a composite value. +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType +// if not already stored. +// It panics if the field does not contain a composite type. +// +// Mutable is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetDelegateStakeRemovalsUpUntilBlockRequest) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.GetDelegateStakeRemovalsUpUntilBlockRequest.block_height": + panic(fmt.Errorf("field block_height of message emissions.v8.GetDelegateStakeRemovalsUpUntilBlockRequest is not mutable")) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetDelegateStakeRemovalsUpUntilBlockRequest")) + } + panic(fmt.Errorf("message emissions.v8.GetDelegateStakeRemovalsUpUntilBlockRequest does not contain field %s", fd.FullName())) + } +} + +// NewField returns a new value that is assignable to the field +// for the given descriptor. For scalars, this returns the default value. +// For lists, maps, and messages, this returns a new, empty, mutable value. +func (x *fastReflection_GetDelegateStakeRemovalsUpUntilBlockRequest) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.GetDelegateStakeRemovalsUpUntilBlockRequest.block_height": + return protoreflect.ValueOfInt64(int64(0)) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetDelegateStakeRemovalsUpUntilBlockRequest")) + } + panic(fmt.Errorf("message emissions.v8.GetDelegateStakeRemovalsUpUntilBlockRequest does not contain field %s", fd.FullName())) + } +} + +// WhichOneof reports which field within the oneof is populated, +// returning nil if none are populated. +// It panics if the oneof descriptor does not belong to this message. +func (x *fastReflection_GetDelegateStakeRemovalsUpUntilBlockRequest) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { + switch d.FullName() { + default: + panic(fmt.Errorf("%s is not a oneof field in emissions.v8.GetDelegateStakeRemovalsUpUntilBlockRequest", d.FullName())) + } + panic("unreachable") +} + +// GetUnknown retrieves the entire list of unknown fields. +// The caller may only mutate the contents of the RawFields +// if the mutated bytes are stored back into the message with SetUnknown. +func (x *fastReflection_GetDelegateStakeRemovalsUpUntilBlockRequest) GetUnknown() protoreflect.RawFields { + return x.unknownFields +} + +// SetUnknown stores an entire list of unknown fields. +// The raw fields must be syntactically valid according to the wire format. +// An implementation may panic if this is not the case. +// Once stored, the caller must not mutate the content of the RawFields. +// An empty RawFields may be passed to clear the fields. +// +// SetUnknown is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetDelegateStakeRemovalsUpUntilBlockRequest) SetUnknown(fields protoreflect.RawFields) { + x.unknownFields = fields +} + +// IsValid reports whether the message is valid. +// +// An invalid message is an empty, read-only value. +// +// An invalid message often corresponds to a nil pointer of the concrete +// message type, but the details are implementation dependent. +// Validity is not part of the protobuf data model, and may not +// be preserved in marshaling or other operations. +func (x *fastReflection_GetDelegateStakeRemovalsUpUntilBlockRequest) IsValid() bool { + return x != nil +} + +// ProtoMethods returns optional fastReflectionFeature-path implementations of various operations. +// This method may return nil. +// +// The returned methods type is identical to +// "google.golang.org/protobuf/runtime/protoiface".Methods. +// Consult the protoiface package documentation for details. +func (x *fastReflection_GetDelegateStakeRemovalsUpUntilBlockRequest) ProtoMethods() *protoiface.Methods { + size := func(input protoiface.SizeInput) protoiface.SizeOutput { + x := input.Message.Interface().(*GetDelegateStakeRemovalsUpUntilBlockRequest) + if x == nil { + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: 0, + } + } + options := runtime.SizeInputToOptions(input) + _ = options + var n int + var l int + _ = l + if x.BlockHeight != 0 { + n += 1 + runtime.Sov(uint64(x.BlockHeight)) + } + if x.unknownFields != nil { + n += len(x.unknownFields) + } + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: n, + } + } + + marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { + x := input.Message.Interface().(*GetDelegateStakeRemovalsUpUntilBlockRequest) + if x == nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + options := runtime.MarshalInputToOptions(input) + _ = options + size := options.Size(x) + dAtA := make([]byte, size) + i := len(dAtA) + _ = i + var l int + _ = l + if x.unknownFields != nil { + i -= len(x.unknownFields) + copy(dAtA[i:], x.unknownFields) + } + if x.BlockHeight != 0 { + i = runtime.EncodeVarint(dAtA, i, uint64(x.BlockHeight)) + i-- + dAtA[i] = 0x8 + } + if input.Buf != nil { + input.Buf = append(input.Buf, dAtA...) + } else { + input.Buf = dAtA + } + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { + x := input.Message.Interface().(*GetDelegateStakeRemovalsUpUntilBlockRequest) + if x == nil { + return protoiface.UnmarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Flags: input.Flags, + }, nil + } + options := runtime.UnmarshalInputToOptions(input) + _ = options + dAtA := input.Buf + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: GetDelegateStakeRemovalsUpUntilBlockRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: GetDelegateStakeRemovalsUpUntilBlockRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field BlockHeight", wireType) + } + x.BlockHeight = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + x.BlockHeight |= int64(b&0x7F) << shift + if b < 0x80 { + break + } + } + default: + iNdEx = preIndex + skippy, err := runtime.Skip(dAtA[iNdEx:]) + if err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if (iNdEx + skippy) > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + if !options.DiscardUnknown { + x.unknownFields = append(x.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + } + iNdEx += skippy + } + } + + if iNdEx > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, nil + } + return &protoiface.Methods{ + NoUnkeyedLiterals: struct{}{}, + Flags: protoiface.SupportMarshalDeterministic | protoiface.SupportUnmarshalDiscardUnknown, + Size: size, + Marshal: marshal, + Unmarshal: unmarshal, + Merge: nil, + CheckInitialized: nil, + } +} + +var _ protoreflect.List = (*_GetDelegateStakeRemovalsUpUntilBlockResponse_1_list)(nil) + +type _GetDelegateStakeRemovalsUpUntilBlockResponse_1_list struct { + list *[]*v3.DelegateStakeRemovalInfo +} + +func (x *_GetDelegateStakeRemovalsUpUntilBlockResponse_1_list) Len() int { + if x.list == nil { + return 0 + } + return len(*x.list) +} + +func (x *_GetDelegateStakeRemovalsUpUntilBlockResponse_1_list) Get(i int) protoreflect.Value { + return protoreflect.ValueOfMessage((*x.list)[i].ProtoReflect()) +} + +func (x *_GetDelegateStakeRemovalsUpUntilBlockResponse_1_list) Set(i int, value protoreflect.Value) { + valueUnwrapped := value.Message() + concreteValue := valueUnwrapped.Interface().(*v3.DelegateStakeRemovalInfo) + (*x.list)[i] = concreteValue +} + +func (x *_GetDelegateStakeRemovalsUpUntilBlockResponse_1_list) Append(value protoreflect.Value) { + valueUnwrapped := value.Message() + concreteValue := valueUnwrapped.Interface().(*v3.DelegateStakeRemovalInfo) + *x.list = append(*x.list, concreteValue) +} + +func (x *_GetDelegateStakeRemovalsUpUntilBlockResponse_1_list) AppendMutable() protoreflect.Value { + v := new(v3.DelegateStakeRemovalInfo) + *x.list = append(*x.list, v) + return protoreflect.ValueOfMessage(v.ProtoReflect()) +} + +func (x *_GetDelegateStakeRemovalsUpUntilBlockResponse_1_list) Truncate(n int) { + for i := n; i < len(*x.list); i++ { + (*x.list)[i] = nil + } + *x.list = (*x.list)[:n] +} + +func (x *_GetDelegateStakeRemovalsUpUntilBlockResponse_1_list) NewElement() protoreflect.Value { + v := new(v3.DelegateStakeRemovalInfo) + return protoreflect.ValueOfMessage(v.ProtoReflect()) +} + +func (x *_GetDelegateStakeRemovalsUpUntilBlockResponse_1_list) IsValid() bool { + return x.list != nil +} + +var ( + md_GetDelegateStakeRemovalsUpUntilBlockResponse protoreflect.MessageDescriptor + fd_GetDelegateStakeRemovalsUpUntilBlockResponse_removals protoreflect.FieldDescriptor +) + +func init() { + file_emissions_v8_query_proto_init() + md_GetDelegateStakeRemovalsUpUntilBlockResponse = File_emissions_v8_query_proto.Messages().ByName("GetDelegateStakeRemovalsUpUntilBlockResponse") + fd_GetDelegateStakeRemovalsUpUntilBlockResponse_removals = md_GetDelegateStakeRemovalsUpUntilBlockResponse.Fields().ByName("removals") +} + +var _ protoreflect.Message = (*fastReflection_GetDelegateStakeRemovalsUpUntilBlockResponse)(nil) + +type fastReflection_GetDelegateStakeRemovalsUpUntilBlockResponse GetDelegateStakeRemovalsUpUntilBlockResponse + +func (x *GetDelegateStakeRemovalsUpUntilBlockResponse) ProtoReflect() protoreflect.Message { + return (*fastReflection_GetDelegateStakeRemovalsUpUntilBlockResponse)(x) +} + +func (x *GetDelegateStakeRemovalsUpUntilBlockResponse) slowProtoReflect() protoreflect.Message { + mi := &file_emissions_v8_query_proto_msgTypes[121] + 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) +} + +var _fastReflection_GetDelegateStakeRemovalsUpUntilBlockResponse_messageType fastReflection_GetDelegateStakeRemovalsUpUntilBlockResponse_messageType +var _ protoreflect.MessageType = fastReflection_GetDelegateStakeRemovalsUpUntilBlockResponse_messageType{} + +type fastReflection_GetDelegateStakeRemovalsUpUntilBlockResponse_messageType struct{} + +func (x fastReflection_GetDelegateStakeRemovalsUpUntilBlockResponse_messageType) Zero() protoreflect.Message { + return (*fastReflection_GetDelegateStakeRemovalsUpUntilBlockResponse)(nil) +} +func (x fastReflection_GetDelegateStakeRemovalsUpUntilBlockResponse_messageType) New() protoreflect.Message { + return new(fastReflection_GetDelegateStakeRemovalsUpUntilBlockResponse) +} +func (x fastReflection_GetDelegateStakeRemovalsUpUntilBlockResponse_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_GetDelegateStakeRemovalsUpUntilBlockResponse +} + +// Descriptor returns message descriptor, which contains only the protobuf +// type information for the message. +func (x *fastReflection_GetDelegateStakeRemovalsUpUntilBlockResponse) Descriptor() protoreflect.MessageDescriptor { + return md_GetDelegateStakeRemovalsUpUntilBlockResponse +} + +// Type returns the message type, which encapsulates both Go and protobuf +// type information. If the Go type information is not needed, +// it is recommended that the message descriptor be used instead. +func (x *fastReflection_GetDelegateStakeRemovalsUpUntilBlockResponse) Type() protoreflect.MessageType { + return _fastReflection_GetDelegateStakeRemovalsUpUntilBlockResponse_messageType +} + +// New returns a newly allocated and mutable empty message. +func (x *fastReflection_GetDelegateStakeRemovalsUpUntilBlockResponse) New() protoreflect.Message { + return new(fastReflection_GetDelegateStakeRemovalsUpUntilBlockResponse) +} + +// Interface unwraps the message reflection interface and +// returns the underlying ProtoMessage interface. +func (x *fastReflection_GetDelegateStakeRemovalsUpUntilBlockResponse) Interface() protoreflect.ProtoMessage { + return (*GetDelegateStakeRemovalsUpUntilBlockResponse)(x) +} + +// Range iterates over every populated field in an undefined order, +// calling f for each field descriptor and value encountered. +// Range returns immediately if f returns false. +// While iterating, mutating operations may only be performed +// on the current field descriptor. +func (x *fastReflection_GetDelegateStakeRemovalsUpUntilBlockResponse) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { + if len(x.Removals) != 0 { + value := protoreflect.ValueOfList(&_GetDelegateStakeRemovalsUpUntilBlockResponse_1_list{list: &x.Removals}) + if !f(fd_GetDelegateStakeRemovalsUpUntilBlockResponse_removals, value) { + return + } + } +} + +// Has reports whether a field is populated. +// +// Some fields have the property of nullability where it is possible to +// distinguish between the default value of a field and whether the field +// was explicitly populated with the default value. Singular message fields, +// member fields of a oneof, and proto2 scalar fields are nullable. Such +// fields are populated only if explicitly set. +// +// In other cases (aside from the nullable cases above), +// a proto3 scalar field is populated if it contains a non-zero value, and +// a repeated field is populated if it is non-empty. +func (x *fastReflection_GetDelegateStakeRemovalsUpUntilBlockResponse) Has(fd protoreflect.FieldDescriptor) bool { + switch fd.FullName() { + case "emissions.v8.GetDelegateStakeRemovalsUpUntilBlockResponse.removals": + return len(x.Removals) != 0 + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetDelegateStakeRemovalsUpUntilBlockResponse")) + } + panic(fmt.Errorf("message emissions.v8.GetDelegateStakeRemovalsUpUntilBlockResponse does not contain field %s", fd.FullName())) + } +} + +// Clear clears the field such that a subsequent Has call reports false. +// +// Clearing an extension field clears both the extension type and value +// associated with the given field number. +// +// Clear is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetDelegateStakeRemovalsUpUntilBlockResponse) Clear(fd protoreflect.FieldDescriptor) { + switch fd.FullName() { + case "emissions.v8.GetDelegateStakeRemovalsUpUntilBlockResponse.removals": + x.Removals = nil + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetDelegateStakeRemovalsUpUntilBlockResponse")) + } + panic(fmt.Errorf("message emissions.v8.GetDelegateStakeRemovalsUpUntilBlockResponse does not contain field %s", fd.FullName())) + } +} + +// Get retrieves the value for a field. +// +// For unpopulated scalars, it returns the default value, where +// the default value of a bytes scalar is guaranteed to be a copy. +// For unpopulated composite types, it returns an empty, read-only view +// of the value; to obtain a mutable reference, use Mutable. +func (x *fastReflection_GetDelegateStakeRemovalsUpUntilBlockResponse) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { + switch descriptor.FullName() { + case "emissions.v8.GetDelegateStakeRemovalsUpUntilBlockResponse.removals": + if len(x.Removals) == 0 { + return protoreflect.ValueOfList(&_GetDelegateStakeRemovalsUpUntilBlockResponse_1_list{}) + } + listValue := &_GetDelegateStakeRemovalsUpUntilBlockResponse_1_list{list: &x.Removals} + return protoreflect.ValueOfList(listValue) + default: + if descriptor.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetDelegateStakeRemovalsUpUntilBlockResponse")) + } + panic(fmt.Errorf("message emissions.v8.GetDelegateStakeRemovalsUpUntilBlockResponse does not contain field %s", descriptor.FullName())) + } +} + +// Set stores the value for a field. +// +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType. +// When setting a composite type, it is unspecified whether the stored value +// aliases the source's memory in any way. If the composite value is an +// empty, read-only value, then it panics. +// +// Set is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetDelegateStakeRemovalsUpUntilBlockResponse) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { + switch fd.FullName() { + case "emissions.v8.GetDelegateStakeRemovalsUpUntilBlockResponse.removals": + lv := value.List() + clv := lv.(*_GetDelegateStakeRemovalsUpUntilBlockResponse_1_list) + x.Removals = *clv.list + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetDelegateStakeRemovalsUpUntilBlockResponse")) + } + panic(fmt.Errorf("message emissions.v8.GetDelegateStakeRemovalsUpUntilBlockResponse does not contain field %s", fd.FullName())) + } +} + +// Mutable returns a mutable reference to a composite type. +// +// If the field is unpopulated, it may allocate a composite value. +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType +// if not already stored. +// It panics if the field does not contain a composite type. +// +// Mutable is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetDelegateStakeRemovalsUpUntilBlockResponse) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.GetDelegateStakeRemovalsUpUntilBlockResponse.removals": + if x.Removals == nil { + x.Removals = []*v3.DelegateStakeRemovalInfo{} + } + value := &_GetDelegateStakeRemovalsUpUntilBlockResponse_1_list{list: &x.Removals} + return protoreflect.ValueOfList(value) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetDelegateStakeRemovalsUpUntilBlockResponse")) + } + panic(fmt.Errorf("message emissions.v8.GetDelegateStakeRemovalsUpUntilBlockResponse does not contain field %s", fd.FullName())) + } +} + +// NewField returns a new value that is assignable to the field +// for the given descriptor. For scalars, this returns the default value. +// For lists, maps, and messages, this returns a new, empty, mutable value. +func (x *fastReflection_GetDelegateStakeRemovalsUpUntilBlockResponse) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.GetDelegateStakeRemovalsUpUntilBlockResponse.removals": + list := []*v3.DelegateStakeRemovalInfo{} + return protoreflect.ValueOfList(&_GetDelegateStakeRemovalsUpUntilBlockResponse_1_list{list: &list}) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetDelegateStakeRemovalsUpUntilBlockResponse")) + } + panic(fmt.Errorf("message emissions.v8.GetDelegateStakeRemovalsUpUntilBlockResponse does not contain field %s", fd.FullName())) + } +} + +// WhichOneof reports which field within the oneof is populated, +// returning nil if none are populated. +// It panics if the oneof descriptor does not belong to this message. +func (x *fastReflection_GetDelegateStakeRemovalsUpUntilBlockResponse) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { + switch d.FullName() { + default: + panic(fmt.Errorf("%s is not a oneof field in emissions.v8.GetDelegateStakeRemovalsUpUntilBlockResponse", d.FullName())) + } + panic("unreachable") +} + +// GetUnknown retrieves the entire list of unknown fields. +// The caller may only mutate the contents of the RawFields +// if the mutated bytes are stored back into the message with SetUnknown. +func (x *fastReflection_GetDelegateStakeRemovalsUpUntilBlockResponse) GetUnknown() protoreflect.RawFields { + return x.unknownFields +} + +// SetUnknown stores an entire list of unknown fields. +// The raw fields must be syntactically valid according to the wire format. +// An implementation may panic if this is not the case. +// Once stored, the caller must not mutate the content of the RawFields. +// An empty RawFields may be passed to clear the fields. +// +// SetUnknown is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetDelegateStakeRemovalsUpUntilBlockResponse) SetUnknown(fields protoreflect.RawFields) { + x.unknownFields = fields +} + +// IsValid reports whether the message is valid. +// +// An invalid message is an empty, read-only value. +// +// An invalid message often corresponds to a nil pointer of the concrete +// message type, but the details are implementation dependent. +// Validity is not part of the protobuf data model, and may not +// be preserved in marshaling or other operations. +func (x *fastReflection_GetDelegateStakeRemovalsUpUntilBlockResponse) IsValid() bool { + return x != nil +} + +// ProtoMethods returns optional fastReflectionFeature-path implementations of various operations. +// This method may return nil. +// +// The returned methods type is identical to +// "google.golang.org/protobuf/runtime/protoiface".Methods. +// Consult the protoiface package documentation for details. +func (x *fastReflection_GetDelegateStakeRemovalsUpUntilBlockResponse) ProtoMethods() *protoiface.Methods { + size := func(input protoiface.SizeInput) protoiface.SizeOutput { + x := input.Message.Interface().(*GetDelegateStakeRemovalsUpUntilBlockResponse) + if x == nil { + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: 0, + } + } + options := runtime.SizeInputToOptions(input) + _ = options + var n int + var l int + _ = l + if len(x.Removals) > 0 { + for _, e := range x.Removals { + l = options.Size(e) + n += 1 + l + runtime.Sov(uint64(l)) + } + } + if x.unknownFields != nil { + n += len(x.unknownFields) + } + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: n, + } + } + + marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { + x := input.Message.Interface().(*GetDelegateStakeRemovalsUpUntilBlockResponse) + if x == nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + options := runtime.MarshalInputToOptions(input) + _ = options + size := options.Size(x) + dAtA := make([]byte, size) + i := len(dAtA) + _ = i + var l int + _ = l + if x.unknownFields != nil { + i -= len(x.unknownFields) + copy(dAtA[i:], x.unknownFields) + } + if len(x.Removals) > 0 { + for iNdEx := len(x.Removals) - 1; iNdEx >= 0; iNdEx-- { + encoded, err := options.Marshal(x.Removals[iNdEx]) + if err != nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = runtime.EncodeVarint(dAtA, i, uint64(len(encoded))) + i-- + dAtA[i] = 0xa + } + } + if input.Buf != nil { + input.Buf = append(input.Buf, dAtA...) + } else { + input.Buf = dAtA + } + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { + x := input.Message.Interface().(*GetDelegateStakeRemovalsUpUntilBlockResponse) + if x == nil { + return protoiface.UnmarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Flags: input.Flags, + }, nil + } + options := runtime.UnmarshalInputToOptions(input) + _ = options + dAtA := input.Buf + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: GetDelegateStakeRemovalsUpUntilBlockResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: GetDelegateStakeRemovalsUpUntilBlockResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Removals", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + x.Removals = append(x.Removals, &v3.DelegateStakeRemovalInfo{}) + if err := options.Unmarshal(dAtA[iNdEx:postIndex], x.Removals[len(x.Removals)-1]); err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := runtime.Skip(dAtA[iNdEx:]) + if err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if (iNdEx + skippy) > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + if !options.DiscardUnknown { + x.unknownFields = append(x.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + } + iNdEx += skippy + } + } + + if iNdEx > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, nil + } + return &protoiface.Methods{ + NoUnkeyedLiterals: struct{}{}, + Flags: protoiface.SupportMarshalDeterministic | protoiface.SupportUnmarshalDiscardUnknown, + Size: size, + Marshal: marshal, + Unmarshal: unmarshal, + Merge: nil, + CheckInitialized: nil, + } +} + +var ( + md_GetStakeRemovalInfoRequest protoreflect.MessageDescriptor + fd_GetStakeRemovalInfoRequest_topic_id protoreflect.FieldDescriptor + fd_GetStakeRemovalInfoRequest_reputer protoreflect.FieldDescriptor +) + +func init() { + file_emissions_v8_query_proto_init() + md_GetStakeRemovalInfoRequest = File_emissions_v8_query_proto.Messages().ByName("GetStakeRemovalInfoRequest") + fd_GetStakeRemovalInfoRequest_topic_id = md_GetStakeRemovalInfoRequest.Fields().ByName("topic_id") + fd_GetStakeRemovalInfoRequest_reputer = md_GetStakeRemovalInfoRequest.Fields().ByName("reputer") +} + +var _ protoreflect.Message = (*fastReflection_GetStakeRemovalInfoRequest)(nil) + +type fastReflection_GetStakeRemovalInfoRequest GetStakeRemovalInfoRequest + +func (x *GetStakeRemovalInfoRequest) ProtoReflect() protoreflect.Message { + return (*fastReflection_GetStakeRemovalInfoRequest)(x) +} + +func (x *GetStakeRemovalInfoRequest) slowProtoReflect() protoreflect.Message { + mi := &file_emissions_v8_query_proto_msgTypes[122] + 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) +} + +var _fastReflection_GetStakeRemovalInfoRequest_messageType fastReflection_GetStakeRemovalInfoRequest_messageType +var _ protoreflect.MessageType = fastReflection_GetStakeRemovalInfoRequest_messageType{} + +type fastReflection_GetStakeRemovalInfoRequest_messageType struct{} + +func (x fastReflection_GetStakeRemovalInfoRequest_messageType) Zero() protoreflect.Message { + return (*fastReflection_GetStakeRemovalInfoRequest)(nil) +} +func (x fastReflection_GetStakeRemovalInfoRequest_messageType) New() protoreflect.Message { + return new(fastReflection_GetStakeRemovalInfoRequest) +} +func (x fastReflection_GetStakeRemovalInfoRequest_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_GetStakeRemovalInfoRequest +} + +// Descriptor returns message descriptor, which contains only the protobuf +// type information for the message. +func (x *fastReflection_GetStakeRemovalInfoRequest) Descriptor() protoreflect.MessageDescriptor { + return md_GetStakeRemovalInfoRequest +} + +// Type returns the message type, which encapsulates both Go and protobuf +// type information. If the Go type information is not needed, +// it is recommended that the message descriptor be used instead. +func (x *fastReflection_GetStakeRemovalInfoRequest) Type() protoreflect.MessageType { + return _fastReflection_GetStakeRemovalInfoRequest_messageType +} + +// New returns a newly allocated and mutable empty message. +func (x *fastReflection_GetStakeRemovalInfoRequest) New() protoreflect.Message { + return new(fastReflection_GetStakeRemovalInfoRequest) +} + +// Interface unwraps the message reflection interface and +// returns the underlying ProtoMessage interface. +func (x *fastReflection_GetStakeRemovalInfoRequest) Interface() protoreflect.ProtoMessage { + return (*GetStakeRemovalInfoRequest)(x) +} + +// Range iterates over every populated field in an undefined order, +// calling f for each field descriptor and value encountered. +// Range returns immediately if f returns false. +// While iterating, mutating operations may only be performed +// on the current field descriptor. +func (x *fastReflection_GetStakeRemovalInfoRequest) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { + if x.TopicId != uint64(0) { + value := protoreflect.ValueOfUint64(x.TopicId) + if !f(fd_GetStakeRemovalInfoRequest_topic_id, value) { + return + } + } + if x.Reputer != "" { + value := protoreflect.ValueOfString(x.Reputer) + if !f(fd_GetStakeRemovalInfoRequest_reputer, value) { + return + } + } +} + +// Has reports whether a field is populated. +// +// Some fields have the property of nullability where it is possible to +// distinguish between the default value of a field and whether the field +// was explicitly populated with the default value. Singular message fields, +// member fields of a oneof, and proto2 scalar fields are nullable. Such +// fields are populated only if explicitly set. +// +// In other cases (aside from the nullable cases above), +// a proto3 scalar field is populated if it contains a non-zero value, and +// a repeated field is populated if it is non-empty. +func (x *fastReflection_GetStakeRemovalInfoRequest) Has(fd protoreflect.FieldDescriptor) bool { + switch fd.FullName() { + case "emissions.v8.GetStakeRemovalInfoRequest.topic_id": + return x.TopicId != uint64(0) + case "emissions.v8.GetStakeRemovalInfoRequest.reputer": + return x.Reputer != "" + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetStakeRemovalInfoRequest")) + } + panic(fmt.Errorf("message emissions.v8.GetStakeRemovalInfoRequest does not contain field %s", fd.FullName())) + } +} + +// Clear clears the field such that a subsequent Has call reports false. +// +// Clearing an extension field clears both the extension type and value +// associated with the given field number. +// +// Clear is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetStakeRemovalInfoRequest) Clear(fd protoreflect.FieldDescriptor) { + switch fd.FullName() { + case "emissions.v8.GetStakeRemovalInfoRequest.topic_id": + x.TopicId = uint64(0) + case "emissions.v8.GetStakeRemovalInfoRequest.reputer": + x.Reputer = "" + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetStakeRemovalInfoRequest")) + } + panic(fmt.Errorf("message emissions.v8.GetStakeRemovalInfoRequest does not contain field %s", fd.FullName())) + } +} + +// Get retrieves the value for a field. +// +// For unpopulated scalars, it returns the default value, where +// the default value of a bytes scalar is guaranteed to be a copy. +// For unpopulated composite types, it returns an empty, read-only view +// of the value; to obtain a mutable reference, use Mutable. +func (x *fastReflection_GetStakeRemovalInfoRequest) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { + switch descriptor.FullName() { + case "emissions.v8.GetStakeRemovalInfoRequest.topic_id": + value := x.TopicId + return protoreflect.ValueOfUint64(value) + case "emissions.v8.GetStakeRemovalInfoRequest.reputer": + value := x.Reputer + return protoreflect.ValueOfString(value) + default: + if descriptor.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetStakeRemovalInfoRequest")) + } + panic(fmt.Errorf("message emissions.v8.GetStakeRemovalInfoRequest does not contain field %s", descriptor.FullName())) + } +} + +// Set stores the value for a field. +// +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType. +// When setting a composite type, it is unspecified whether the stored value +// aliases the source's memory in any way. If the composite value is an +// empty, read-only value, then it panics. +// +// Set is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetStakeRemovalInfoRequest) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { + switch fd.FullName() { + case "emissions.v8.GetStakeRemovalInfoRequest.topic_id": + x.TopicId = value.Uint() + case "emissions.v8.GetStakeRemovalInfoRequest.reputer": + x.Reputer = value.Interface().(string) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetStakeRemovalInfoRequest")) + } + panic(fmt.Errorf("message emissions.v8.GetStakeRemovalInfoRequest does not contain field %s", fd.FullName())) + } +} + +// Mutable returns a mutable reference to a composite type. +// +// If the field is unpopulated, it may allocate a composite value. +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType +// if not already stored. +// It panics if the field does not contain a composite type. +// +// Mutable is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetStakeRemovalInfoRequest) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.GetStakeRemovalInfoRequest.topic_id": + panic(fmt.Errorf("field topic_id of message emissions.v8.GetStakeRemovalInfoRequest is not mutable")) + case "emissions.v8.GetStakeRemovalInfoRequest.reputer": + panic(fmt.Errorf("field reputer of message emissions.v8.GetStakeRemovalInfoRequest is not mutable")) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetStakeRemovalInfoRequest")) + } + panic(fmt.Errorf("message emissions.v8.GetStakeRemovalInfoRequest does not contain field %s", fd.FullName())) + } +} + +// NewField returns a new value that is assignable to the field +// for the given descriptor. For scalars, this returns the default value. +// For lists, maps, and messages, this returns a new, empty, mutable value. +func (x *fastReflection_GetStakeRemovalInfoRequest) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.GetStakeRemovalInfoRequest.topic_id": + return protoreflect.ValueOfUint64(uint64(0)) + case "emissions.v8.GetStakeRemovalInfoRequest.reputer": + return protoreflect.ValueOfString("") + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetStakeRemovalInfoRequest")) + } + panic(fmt.Errorf("message emissions.v8.GetStakeRemovalInfoRequest does not contain field %s", fd.FullName())) + } +} + +// WhichOneof reports which field within the oneof is populated, +// returning nil if none are populated. +// It panics if the oneof descriptor does not belong to this message. +func (x *fastReflection_GetStakeRemovalInfoRequest) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { + switch d.FullName() { + default: + panic(fmt.Errorf("%s is not a oneof field in emissions.v8.GetStakeRemovalInfoRequest", d.FullName())) + } + panic("unreachable") +} + +// GetUnknown retrieves the entire list of unknown fields. +// The caller may only mutate the contents of the RawFields +// if the mutated bytes are stored back into the message with SetUnknown. +func (x *fastReflection_GetStakeRemovalInfoRequest) GetUnknown() protoreflect.RawFields { + return x.unknownFields +} + +// SetUnknown stores an entire list of unknown fields. +// The raw fields must be syntactically valid according to the wire format. +// An implementation may panic if this is not the case. +// Once stored, the caller must not mutate the content of the RawFields. +// An empty RawFields may be passed to clear the fields. +// +// SetUnknown is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetStakeRemovalInfoRequest) SetUnknown(fields protoreflect.RawFields) { + x.unknownFields = fields +} + +// IsValid reports whether the message is valid. +// +// An invalid message is an empty, read-only value. +// +// An invalid message often corresponds to a nil pointer of the concrete +// message type, but the details are implementation dependent. +// Validity is not part of the protobuf data model, and may not +// be preserved in marshaling or other operations. +func (x *fastReflection_GetStakeRemovalInfoRequest) IsValid() bool { + return x != nil +} + +// ProtoMethods returns optional fastReflectionFeature-path implementations of various operations. +// This method may return nil. +// +// The returned methods type is identical to +// "google.golang.org/protobuf/runtime/protoiface".Methods. +// Consult the protoiface package documentation for details. +func (x *fastReflection_GetStakeRemovalInfoRequest) ProtoMethods() *protoiface.Methods { + size := func(input protoiface.SizeInput) protoiface.SizeOutput { + x := input.Message.Interface().(*GetStakeRemovalInfoRequest) + if x == nil { + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: 0, + } + } + options := runtime.SizeInputToOptions(input) + _ = options + var n int + var l int + _ = l + if x.TopicId != 0 { + n += 1 + runtime.Sov(uint64(x.TopicId)) + } + l = len(x.Reputer) + if l > 0 { + n += 1 + l + runtime.Sov(uint64(l)) + } + if x.unknownFields != nil { + n += len(x.unknownFields) + } + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: n, + } + } + + marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { + x := input.Message.Interface().(*GetStakeRemovalInfoRequest) + if x == nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + options := runtime.MarshalInputToOptions(input) + _ = options + size := options.Size(x) + dAtA := make([]byte, size) + i := len(dAtA) + _ = i + var l int + _ = l + if x.unknownFields != nil { + i -= len(x.unknownFields) + copy(dAtA[i:], x.unknownFields) + } + if len(x.Reputer) > 0 { + i -= len(x.Reputer) + copy(dAtA[i:], x.Reputer) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.Reputer))) + i-- + dAtA[i] = 0x12 + } + if x.TopicId != 0 { + i = runtime.EncodeVarint(dAtA, i, uint64(x.TopicId)) + i-- + dAtA[i] = 0x8 + } + if input.Buf != nil { + input.Buf = append(input.Buf, dAtA...) + } else { + input.Buf = dAtA + } + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { + x := input.Message.Interface().(*GetStakeRemovalInfoRequest) + if x == nil { + return protoiface.UnmarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Flags: input.Flags, + }, nil + } + options := runtime.UnmarshalInputToOptions(input) + _ = options + dAtA := input.Buf + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: GetStakeRemovalInfoRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: GetStakeRemovalInfoRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field TopicId", wireType) + } + x.TopicId = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + x.TopicId |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 2: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Reputer", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + x.Reputer = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := runtime.Skip(dAtA[iNdEx:]) + if err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if (iNdEx + skippy) > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + if !options.DiscardUnknown { + x.unknownFields = append(x.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + } + iNdEx += skippy + } + } + + if iNdEx > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, nil + } + return &protoiface.Methods{ + NoUnkeyedLiterals: struct{}{}, + Flags: protoiface.SupportMarshalDeterministic | protoiface.SupportUnmarshalDiscardUnknown, + Size: size, + Marshal: marshal, + Unmarshal: unmarshal, + Merge: nil, + CheckInitialized: nil, + } +} + +var ( + md_GetStakeRemovalInfoResponse protoreflect.MessageDescriptor + fd_GetStakeRemovalInfoResponse_removal protoreflect.FieldDescriptor +) + +func init() { + file_emissions_v8_query_proto_init() + md_GetStakeRemovalInfoResponse = File_emissions_v8_query_proto.Messages().ByName("GetStakeRemovalInfoResponse") + fd_GetStakeRemovalInfoResponse_removal = md_GetStakeRemovalInfoResponse.Fields().ByName("removal") +} + +var _ protoreflect.Message = (*fastReflection_GetStakeRemovalInfoResponse)(nil) + +type fastReflection_GetStakeRemovalInfoResponse GetStakeRemovalInfoResponse + +func (x *GetStakeRemovalInfoResponse) ProtoReflect() protoreflect.Message { + return (*fastReflection_GetStakeRemovalInfoResponse)(x) +} + +func (x *GetStakeRemovalInfoResponse) slowProtoReflect() protoreflect.Message { + mi := &file_emissions_v8_query_proto_msgTypes[123] + 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) +} + +var _fastReflection_GetStakeRemovalInfoResponse_messageType fastReflection_GetStakeRemovalInfoResponse_messageType +var _ protoreflect.MessageType = fastReflection_GetStakeRemovalInfoResponse_messageType{} + +type fastReflection_GetStakeRemovalInfoResponse_messageType struct{} + +func (x fastReflection_GetStakeRemovalInfoResponse_messageType) Zero() protoreflect.Message { + return (*fastReflection_GetStakeRemovalInfoResponse)(nil) +} +func (x fastReflection_GetStakeRemovalInfoResponse_messageType) New() protoreflect.Message { + return new(fastReflection_GetStakeRemovalInfoResponse) +} +func (x fastReflection_GetStakeRemovalInfoResponse_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_GetStakeRemovalInfoResponse +} + +// Descriptor returns message descriptor, which contains only the protobuf +// type information for the message. +func (x *fastReflection_GetStakeRemovalInfoResponse) Descriptor() protoreflect.MessageDescriptor { + return md_GetStakeRemovalInfoResponse +} + +// Type returns the message type, which encapsulates both Go and protobuf +// type information. If the Go type information is not needed, +// it is recommended that the message descriptor be used instead. +func (x *fastReflection_GetStakeRemovalInfoResponse) Type() protoreflect.MessageType { + return _fastReflection_GetStakeRemovalInfoResponse_messageType +} + +// New returns a newly allocated and mutable empty message. +func (x *fastReflection_GetStakeRemovalInfoResponse) New() protoreflect.Message { + return new(fastReflection_GetStakeRemovalInfoResponse) +} + +// Interface unwraps the message reflection interface and +// returns the underlying ProtoMessage interface. +func (x *fastReflection_GetStakeRemovalInfoResponse) Interface() protoreflect.ProtoMessage { + return (*GetStakeRemovalInfoResponse)(x) +} + +// Range iterates over every populated field in an undefined order, +// calling f for each field descriptor and value encountered. +// Range returns immediately if f returns false. +// While iterating, mutating operations may only be performed +// on the current field descriptor. +func (x *fastReflection_GetStakeRemovalInfoResponse) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { + if x.Removal != nil { + value := protoreflect.ValueOfMessage(x.Removal.ProtoReflect()) + if !f(fd_GetStakeRemovalInfoResponse_removal, value) { + return + } + } +} + +// Has reports whether a field is populated. +// +// Some fields have the property of nullability where it is possible to +// distinguish between the default value of a field and whether the field +// was explicitly populated with the default value. Singular message fields, +// member fields of a oneof, and proto2 scalar fields are nullable. Such +// fields are populated only if explicitly set. +// +// In other cases (aside from the nullable cases above), +// a proto3 scalar field is populated if it contains a non-zero value, and +// a repeated field is populated if it is non-empty. +func (x *fastReflection_GetStakeRemovalInfoResponse) Has(fd protoreflect.FieldDescriptor) bool { + switch fd.FullName() { + case "emissions.v8.GetStakeRemovalInfoResponse.removal": + return x.Removal != nil + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetStakeRemovalInfoResponse")) + } + panic(fmt.Errorf("message emissions.v8.GetStakeRemovalInfoResponse does not contain field %s", fd.FullName())) + } +} + +// Clear clears the field such that a subsequent Has call reports false. +// +// Clearing an extension field clears both the extension type and value +// associated with the given field number. +// +// Clear is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetStakeRemovalInfoResponse) Clear(fd protoreflect.FieldDescriptor) { + switch fd.FullName() { + case "emissions.v8.GetStakeRemovalInfoResponse.removal": + x.Removal = nil + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetStakeRemovalInfoResponse")) + } + panic(fmt.Errorf("message emissions.v8.GetStakeRemovalInfoResponse does not contain field %s", fd.FullName())) + } +} + +// Get retrieves the value for a field. +// +// For unpopulated scalars, it returns the default value, where +// the default value of a bytes scalar is guaranteed to be a copy. +// For unpopulated composite types, it returns an empty, read-only view +// of the value; to obtain a mutable reference, use Mutable. +func (x *fastReflection_GetStakeRemovalInfoResponse) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { + switch descriptor.FullName() { + case "emissions.v8.GetStakeRemovalInfoResponse.removal": + value := x.Removal + return protoreflect.ValueOfMessage(value.ProtoReflect()) + default: + if descriptor.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetStakeRemovalInfoResponse")) + } + panic(fmt.Errorf("message emissions.v8.GetStakeRemovalInfoResponse does not contain field %s", descriptor.FullName())) + } +} + +// Set stores the value for a field. +// +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType. +// When setting a composite type, it is unspecified whether the stored value +// aliases the source's memory in any way. If the composite value is an +// empty, read-only value, then it panics. +// +// Set is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetStakeRemovalInfoResponse) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { + switch fd.FullName() { + case "emissions.v8.GetStakeRemovalInfoResponse.removal": + x.Removal = value.Message().Interface().(*v3.StakeRemovalInfo) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetStakeRemovalInfoResponse")) + } + panic(fmt.Errorf("message emissions.v8.GetStakeRemovalInfoResponse does not contain field %s", fd.FullName())) + } +} + +// Mutable returns a mutable reference to a composite type. +// +// If the field is unpopulated, it may allocate a composite value. +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType +// if not already stored. +// It panics if the field does not contain a composite type. +// +// Mutable is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetStakeRemovalInfoResponse) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.GetStakeRemovalInfoResponse.removal": + if x.Removal == nil { + x.Removal = new(v3.StakeRemovalInfo) + } + return protoreflect.ValueOfMessage(x.Removal.ProtoReflect()) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetStakeRemovalInfoResponse")) + } + panic(fmt.Errorf("message emissions.v8.GetStakeRemovalInfoResponse does not contain field %s", fd.FullName())) + } +} + +// NewField returns a new value that is assignable to the field +// for the given descriptor. For scalars, this returns the default value. +// For lists, maps, and messages, this returns a new, empty, mutable value. +func (x *fastReflection_GetStakeRemovalInfoResponse) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.GetStakeRemovalInfoResponse.removal": + m := new(v3.StakeRemovalInfo) + return protoreflect.ValueOfMessage(m.ProtoReflect()) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetStakeRemovalInfoResponse")) + } + panic(fmt.Errorf("message emissions.v8.GetStakeRemovalInfoResponse does not contain field %s", fd.FullName())) + } +} + +// WhichOneof reports which field within the oneof is populated, +// returning nil if none are populated. +// It panics if the oneof descriptor does not belong to this message. +func (x *fastReflection_GetStakeRemovalInfoResponse) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { + switch d.FullName() { + default: + panic(fmt.Errorf("%s is not a oneof field in emissions.v8.GetStakeRemovalInfoResponse", d.FullName())) + } + panic("unreachable") +} + +// GetUnknown retrieves the entire list of unknown fields. +// The caller may only mutate the contents of the RawFields +// if the mutated bytes are stored back into the message with SetUnknown. +func (x *fastReflection_GetStakeRemovalInfoResponse) GetUnknown() protoreflect.RawFields { + return x.unknownFields +} + +// SetUnknown stores an entire list of unknown fields. +// The raw fields must be syntactically valid according to the wire format. +// An implementation may panic if this is not the case. +// Once stored, the caller must not mutate the content of the RawFields. +// An empty RawFields may be passed to clear the fields. +// +// SetUnknown is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetStakeRemovalInfoResponse) SetUnknown(fields protoreflect.RawFields) { + x.unknownFields = fields +} + +// IsValid reports whether the message is valid. +// +// An invalid message is an empty, read-only value. +// +// An invalid message often corresponds to a nil pointer of the concrete +// message type, but the details are implementation dependent. +// Validity is not part of the protobuf data model, and may not +// be preserved in marshaling or other operations. +func (x *fastReflection_GetStakeRemovalInfoResponse) IsValid() bool { + return x != nil +} + +// ProtoMethods returns optional fastReflectionFeature-path implementations of various operations. +// This method may return nil. +// +// The returned methods type is identical to +// "google.golang.org/protobuf/runtime/protoiface".Methods. +// Consult the protoiface package documentation for details. +func (x *fastReflection_GetStakeRemovalInfoResponse) ProtoMethods() *protoiface.Methods { + size := func(input protoiface.SizeInput) protoiface.SizeOutput { + x := input.Message.Interface().(*GetStakeRemovalInfoResponse) + if x == nil { + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: 0, + } + } + options := runtime.SizeInputToOptions(input) + _ = options + var n int + var l int + _ = l + if x.Removal != nil { + l = options.Size(x.Removal) + n += 1 + l + runtime.Sov(uint64(l)) + } + if x.unknownFields != nil { + n += len(x.unknownFields) + } + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: n, + } + } + + marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { + x := input.Message.Interface().(*GetStakeRemovalInfoResponse) + if x == nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + options := runtime.MarshalInputToOptions(input) + _ = options + size := options.Size(x) + dAtA := make([]byte, size) + i := len(dAtA) + _ = i + var l int + _ = l + if x.unknownFields != nil { + i -= len(x.unknownFields) + copy(dAtA[i:], x.unknownFields) + } + if x.Removal != nil { + encoded, err := options.Marshal(x.Removal) + if err != nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = runtime.EncodeVarint(dAtA, i, uint64(len(encoded))) + i-- + dAtA[i] = 0xa + } + if input.Buf != nil { + input.Buf = append(input.Buf, dAtA...) + } else { + input.Buf = dAtA + } + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { + x := input.Message.Interface().(*GetStakeRemovalInfoResponse) + if x == nil { + return protoiface.UnmarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Flags: input.Flags, + }, nil + } + options := runtime.UnmarshalInputToOptions(input) + _ = options + dAtA := input.Buf + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: GetStakeRemovalInfoResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: GetStakeRemovalInfoResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Removal", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + if x.Removal == nil { + x.Removal = &v3.StakeRemovalInfo{} + } + if err := options.Unmarshal(dAtA[iNdEx:postIndex], x.Removal); err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := runtime.Skip(dAtA[iNdEx:]) + if err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if (iNdEx + skippy) > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + if !options.DiscardUnknown { + x.unknownFields = append(x.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + } + iNdEx += skippy + } + } + + if iNdEx > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, nil + } + return &protoiface.Methods{ + NoUnkeyedLiterals: struct{}{}, + Flags: protoiface.SupportMarshalDeterministic | protoiface.SupportUnmarshalDiscardUnknown, + Size: size, + Marshal: marshal, + Unmarshal: unmarshal, + Merge: nil, + CheckInitialized: nil, + } +} + +var ( + md_GetDelegateStakeRemovalInfoRequest protoreflect.MessageDescriptor + fd_GetDelegateStakeRemovalInfoRequest_topic_id protoreflect.FieldDescriptor + fd_GetDelegateStakeRemovalInfoRequest_delegator protoreflect.FieldDescriptor + fd_GetDelegateStakeRemovalInfoRequest_reputer protoreflect.FieldDescriptor +) + +func init() { + file_emissions_v8_query_proto_init() + md_GetDelegateStakeRemovalInfoRequest = File_emissions_v8_query_proto.Messages().ByName("GetDelegateStakeRemovalInfoRequest") + fd_GetDelegateStakeRemovalInfoRequest_topic_id = md_GetDelegateStakeRemovalInfoRequest.Fields().ByName("topic_id") + fd_GetDelegateStakeRemovalInfoRequest_delegator = md_GetDelegateStakeRemovalInfoRequest.Fields().ByName("delegator") + fd_GetDelegateStakeRemovalInfoRequest_reputer = md_GetDelegateStakeRemovalInfoRequest.Fields().ByName("reputer") +} + +var _ protoreflect.Message = (*fastReflection_GetDelegateStakeRemovalInfoRequest)(nil) + +type fastReflection_GetDelegateStakeRemovalInfoRequest GetDelegateStakeRemovalInfoRequest + +func (x *GetDelegateStakeRemovalInfoRequest) ProtoReflect() protoreflect.Message { + return (*fastReflection_GetDelegateStakeRemovalInfoRequest)(x) +} + +func (x *GetDelegateStakeRemovalInfoRequest) slowProtoReflect() protoreflect.Message { + mi := &file_emissions_v8_query_proto_msgTypes[124] + 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) +} + +var _fastReflection_GetDelegateStakeRemovalInfoRequest_messageType fastReflection_GetDelegateStakeRemovalInfoRequest_messageType +var _ protoreflect.MessageType = fastReflection_GetDelegateStakeRemovalInfoRequest_messageType{} + +type fastReflection_GetDelegateStakeRemovalInfoRequest_messageType struct{} + +func (x fastReflection_GetDelegateStakeRemovalInfoRequest_messageType) Zero() protoreflect.Message { + return (*fastReflection_GetDelegateStakeRemovalInfoRequest)(nil) +} +func (x fastReflection_GetDelegateStakeRemovalInfoRequest_messageType) New() protoreflect.Message { + return new(fastReflection_GetDelegateStakeRemovalInfoRequest) +} +func (x fastReflection_GetDelegateStakeRemovalInfoRequest_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_GetDelegateStakeRemovalInfoRequest +} + +// Descriptor returns message descriptor, which contains only the protobuf +// type information for the message. +func (x *fastReflection_GetDelegateStakeRemovalInfoRequest) Descriptor() protoreflect.MessageDescriptor { + return md_GetDelegateStakeRemovalInfoRequest +} + +// Type returns the message type, which encapsulates both Go and protobuf +// type information. If the Go type information is not needed, +// it is recommended that the message descriptor be used instead. +func (x *fastReflection_GetDelegateStakeRemovalInfoRequest) Type() protoreflect.MessageType { + return _fastReflection_GetDelegateStakeRemovalInfoRequest_messageType +} + +// New returns a newly allocated and mutable empty message. +func (x *fastReflection_GetDelegateStakeRemovalInfoRequest) New() protoreflect.Message { + return new(fastReflection_GetDelegateStakeRemovalInfoRequest) +} + +// Interface unwraps the message reflection interface and +// returns the underlying ProtoMessage interface. +func (x *fastReflection_GetDelegateStakeRemovalInfoRequest) Interface() protoreflect.ProtoMessage { + return (*GetDelegateStakeRemovalInfoRequest)(x) +} + +// Range iterates over every populated field in an undefined order, +// calling f for each field descriptor and value encountered. +// Range returns immediately if f returns false. +// While iterating, mutating operations may only be performed +// on the current field descriptor. +func (x *fastReflection_GetDelegateStakeRemovalInfoRequest) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { + if x.TopicId != uint64(0) { + value := protoreflect.ValueOfUint64(x.TopicId) + if !f(fd_GetDelegateStakeRemovalInfoRequest_topic_id, value) { + return + } + } + if x.Delegator != "" { + value := protoreflect.ValueOfString(x.Delegator) + if !f(fd_GetDelegateStakeRemovalInfoRequest_delegator, value) { + return + } + } + if x.Reputer != "" { + value := protoreflect.ValueOfString(x.Reputer) + if !f(fd_GetDelegateStakeRemovalInfoRequest_reputer, value) { + return + } + } +} + +// Has reports whether a field is populated. +// +// Some fields have the property of nullability where it is possible to +// distinguish between the default value of a field and whether the field +// was explicitly populated with the default value. Singular message fields, +// member fields of a oneof, and proto2 scalar fields are nullable. Such +// fields are populated only if explicitly set. +// +// In other cases (aside from the nullable cases above), +// a proto3 scalar field is populated if it contains a non-zero value, and +// a repeated field is populated if it is non-empty. +func (x *fastReflection_GetDelegateStakeRemovalInfoRequest) Has(fd protoreflect.FieldDescriptor) bool { + switch fd.FullName() { + case "emissions.v8.GetDelegateStakeRemovalInfoRequest.topic_id": + return x.TopicId != uint64(0) + case "emissions.v8.GetDelegateStakeRemovalInfoRequest.delegator": + return x.Delegator != "" + case "emissions.v8.GetDelegateStakeRemovalInfoRequest.reputer": + return x.Reputer != "" + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetDelegateStakeRemovalInfoRequest")) + } + panic(fmt.Errorf("message emissions.v8.GetDelegateStakeRemovalInfoRequest does not contain field %s", fd.FullName())) + } +} + +// Clear clears the field such that a subsequent Has call reports false. +// +// Clearing an extension field clears both the extension type and value +// associated with the given field number. +// +// Clear is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetDelegateStakeRemovalInfoRequest) Clear(fd protoreflect.FieldDescriptor) { + switch fd.FullName() { + case "emissions.v8.GetDelegateStakeRemovalInfoRequest.topic_id": + x.TopicId = uint64(0) + case "emissions.v8.GetDelegateStakeRemovalInfoRequest.delegator": + x.Delegator = "" + case "emissions.v8.GetDelegateStakeRemovalInfoRequest.reputer": + x.Reputer = "" + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetDelegateStakeRemovalInfoRequest")) + } + panic(fmt.Errorf("message emissions.v8.GetDelegateStakeRemovalInfoRequest does not contain field %s", fd.FullName())) + } +} + +// Get retrieves the value for a field. +// +// For unpopulated scalars, it returns the default value, where +// the default value of a bytes scalar is guaranteed to be a copy. +// For unpopulated composite types, it returns an empty, read-only view +// of the value; to obtain a mutable reference, use Mutable. +func (x *fastReflection_GetDelegateStakeRemovalInfoRequest) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { + switch descriptor.FullName() { + case "emissions.v8.GetDelegateStakeRemovalInfoRequest.topic_id": + value := x.TopicId + return protoreflect.ValueOfUint64(value) + case "emissions.v8.GetDelegateStakeRemovalInfoRequest.delegator": + value := x.Delegator + return protoreflect.ValueOfString(value) + case "emissions.v8.GetDelegateStakeRemovalInfoRequest.reputer": + value := x.Reputer + return protoreflect.ValueOfString(value) + default: + if descriptor.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetDelegateStakeRemovalInfoRequest")) + } + panic(fmt.Errorf("message emissions.v8.GetDelegateStakeRemovalInfoRequest does not contain field %s", descriptor.FullName())) + } +} + +// Set stores the value for a field. +// +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType. +// When setting a composite type, it is unspecified whether the stored value +// aliases the source's memory in any way. If the composite value is an +// empty, read-only value, then it panics. +// +// Set is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetDelegateStakeRemovalInfoRequest) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { + switch fd.FullName() { + case "emissions.v8.GetDelegateStakeRemovalInfoRequest.topic_id": + x.TopicId = value.Uint() + case "emissions.v8.GetDelegateStakeRemovalInfoRequest.delegator": + x.Delegator = value.Interface().(string) + case "emissions.v8.GetDelegateStakeRemovalInfoRequest.reputer": + x.Reputer = value.Interface().(string) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetDelegateStakeRemovalInfoRequest")) + } + panic(fmt.Errorf("message emissions.v8.GetDelegateStakeRemovalInfoRequest does not contain field %s", fd.FullName())) + } +} + +// Mutable returns a mutable reference to a composite type. +// +// If the field is unpopulated, it may allocate a composite value. +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType +// if not already stored. +// It panics if the field does not contain a composite type. +// +// Mutable is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetDelegateStakeRemovalInfoRequest) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.GetDelegateStakeRemovalInfoRequest.topic_id": + panic(fmt.Errorf("field topic_id of message emissions.v8.GetDelegateStakeRemovalInfoRequest is not mutable")) + case "emissions.v8.GetDelegateStakeRemovalInfoRequest.delegator": + panic(fmt.Errorf("field delegator of message emissions.v8.GetDelegateStakeRemovalInfoRequest is not mutable")) + case "emissions.v8.GetDelegateStakeRemovalInfoRequest.reputer": + panic(fmt.Errorf("field reputer of message emissions.v8.GetDelegateStakeRemovalInfoRequest is not mutable")) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetDelegateStakeRemovalInfoRequest")) + } + panic(fmt.Errorf("message emissions.v8.GetDelegateStakeRemovalInfoRequest does not contain field %s", fd.FullName())) + } +} + +// NewField returns a new value that is assignable to the field +// for the given descriptor. For scalars, this returns the default value. +// For lists, maps, and messages, this returns a new, empty, mutable value. +func (x *fastReflection_GetDelegateStakeRemovalInfoRequest) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.GetDelegateStakeRemovalInfoRequest.topic_id": + return protoreflect.ValueOfUint64(uint64(0)) + case "emissions.v8.GetDelegateStakeRemovalInfoRequest.delegator": + return protoreflect.ValueOfString("") + case "emissions.v8.GetDelegateStakeRemovalInfoRequest.reputer": + return protoreflect.ValueOfString("") + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetDelegateStakeRemovalInfoRequest")) + } + panic(fmt.Errorf("message emissions.v8.GetDelegateStakeRemovalInfoRequest does not contain field %s", fd.FullName())) + } +} + +// WhichOneof reports which field within the oneof is populated, +// returning nil if none are populated. +// It panics if the oneof descriptor does not belong to this message. +func (x *fastReflection_GetDelegateStakeRemovalInfoRequest) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { + switch d.FullName() { + default: + panic(fmt.Errorf("%s is not a oneof field in emissions.v8.GetDelegateStakeRemovalInfoRequest", d.FullName())) + } + panic("unreachable") +} + +// GetUnknown retrieves the entire list of unknown fields. +// The caller may only mutate the contents of the RawFields +// if the mutated bytes are stored back into the message with SetUnknown. +func (x *fastReflection_GetDelegateStakeRemovalInfoRequest) GetUnknown() protoreflect.RawFields { + return x.unknownFields +} + +// SetUnknown stores an entire list of unknown fields. +// The raw fields must be syntactically valid according to the wire format. +// An implementation may panic if this is not the case. +// Once stored, the caller must not mutate the content of the RawFields. +// An empty RawFields may be passed to clear the fields. +// +// SetUnknown is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetDelegateStakeRemovalInfoRequest) SetUnknown(fields protoreflect.RawFields) { + x.unknownFields = fields +} + +// IsValid reports whether the message is valid. +// +// An invalid message is an empty, read-only value. +// +// An invalid message often corresponds to a nil pointer of the concrete +// message type, but the details are implementation dependent. +// Validity is not part of the protobuf data model, and may not +// be preserved in marshaling or other operations. +func (x *fastReflection_GetDelegateStakeRemovalInfoRequest) IsValid() bool { + return x != nil +} + +// ProtoMethods returns optional fastReflectionFeature-path implementations of various operations. +// This method may return nil. +// +// The returned methods type is identical to +// "google.golang.org/protobuf/runtime/protoiface".Methods. +// Consult the protoiface package documentation for details. +func (x *fastReflection_GetDelegateStakeRemovalInfoRequest) ProtoMethods() *protoiface.Methods { + size := func(input protoiface.SizeInput) protoiface.SizeOutput { + x := input.Message.Interface().(*GetDelegateStakeRemovalInfoRequest) + if x == nil { + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: 0, + } + } + options := runtime.SizeInputToOptions(input) + _ = options + var n int + var l int + _ = l + if x.TopicId != 0 { + n += 1 + runtime.Sov(uint64(x.TopicId)) + } + l = len(x.Delegator) + if l > 0 { + n += 1 + l + runtime.Sov(uint64(l)) + } + l = len(x.Reputer) + if l > 0 { + n += 1 + l + runtime.Sov(uint64(l)) + } + if x.unknownFields != nil { + n += len(x.unknownFields) + } + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: n, + } + } + + marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { + x := input.Message.Interface().(*GetDelegateStakeRemovalInfoRequest) + if x == nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + options := runtime.MarshalInputToOptions(input) + _ = options + size := options.Size(x) + dAtA := make([]byte, size) + i := len(dAtA) + _ = i + var l int + _ = l + if x.unknownFields != nil { + i -= len(x.unknownFields) + copy(dAtA[i:], x.unknownFields) + } + if len(x.Reputer) > 0 { + i -= len(x.Reputer) + copy(dAtA[i:], x.Reputer) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.Reputer))) + i-- + dAtA[i] = 0x1a + } + if len(x.Delegator) > 0 { + i -= len(x.Delegator) + copy(dAtA[i:], x.Delegator) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.Delegator))) + i-- + dAtA[i] = 0x12 + } + if x.TopicId != 0 { + i = runtime.EncodeVarint(dAtA, i, uint64(x.TopicId)) + i-- + dAtA[i] = 0x8 + } + if input.Buf != nil { + input.Buf = append(input.Buf, dAtA...) + } else { + input.Buf = dAtA + } + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { + x := input.Message.Interface().(*GetDelegateStakeRemovalInfoRequest) + if x == nil { + return protoiface.UnmarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Flags: input.Flags, + }, nil + } + options := runtime.UnmarshalInputToOptions(input) + _ = options + dAtA := input.Buf + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: GetDelegateStakeRemovalInfoRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: GetDelegateStakeRemovalInfoRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field TopicId", wireType) + } + x.TopicId = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + x.TopicId |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 2: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Delegator", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + x.Delegator = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 3: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Reputer", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + x.Reputer = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := runtime.Skip(dAtA[iNdEx:]) + if err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if (iNdEx + skippy) > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + if !options.DiscardUnknown { + x.unknownFields = append(x.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + } + iNdEx += skippy + } + } + + if iNdEx > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, nil + } + return &protoiface.Methods{ + NoUnkeyedLiterals: struct{}{}, + Flags: protoiface.SupportMarshalDeterministic | protoiface.SupportUnmarshalDiscardUnknown, + Size: size, + Marshal: marshal, + Unmarshal: unmarshal, + Merge: nil, + CheckInitialized: nil, + } +} + +var ( + md_GetDelegateStakeRemovalInfoResponse protoreflect.MessageDescriptor + fd_GetDelegateStakeRemovalInfoResponse_removal protoreflect.FieldDescriptor +) + +func init() { + file_emissions_v8_query_proto_init() + md_GetDelegateStakeRemovalInfoResponse = File_emissions_v8_query_proto.Messages().ByName("GetDelegateStakeRemovalInfoResponse") + fd_GetDelegateStakeRemovalInfoResponse_removal = md_GetDelegateStakeRemovalInfoResponse.Fields().ByName("removal") +} + +var _ protoreflect.Message = (*fastReflection_GetDelegateStakeRemovalInfoResponse)(nil) + +type fastReflection_GetDelegateStakeRemovalInfoResponse GetDelegateStakeRemovalInfoResponse + +func (x *GetDelegateStakeRemovalInfoResponse) ProtoReflect() protoreflect.Message { + return (*fastReflection_GetDelegateStakeRemovalInfoResponse)(x) +} + +func (x *GetDelegateStakeRemovalInfoResponse) slowProtoReflect() protoreflect.Message { + mi := &file_emissions_v8_query_proto_msgTypes[125] + 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) +} + +var _fastReflection_GetDelegateStakeRemovalInfoResponse_messageType fastReflection_GetDelegateStakeRemovalInfoResponse_messageType +var _ protoreflect.MessageType = fastReflection_GetDelegateStakeRemovalInfoResponse_messageType{} + +type fastReflection_GetDelegateStakeRemovalInfoResponse_messageType struct{} + +func (x fastReflection_GetDelegateStakeRemovalInfoResponse_messageType) Zero() protoreflect.Message { + return (*fastReflection_GetDelegateStakeRemovalInfoResponse)(nil) +} +func (x fastReflection_GetDelegateStakeRemovalInfoResponse_messageType) New() protoreflect.Message { + return new(fastReflection_GetDelegateStakeRemovalInfoResponse) +} +func (x fastReflection_GetDelegateStakeRemovalInfoResponse_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_GetDelegateStakeRemovalInfoResponse +} + +// Descriptor returns message descriptor, which contains only the protobuf +// type information for the message. +func (x *fastReflection_GetDelegateStakeRemovalInfoResponse) Descriptor() protoreflect.MessageDescriptor { + return md_GetDelegateStakeRemovalInfoResponse +} + +// Type returns the message type, which encapsulates both Go and protobuf +// type information. If the Go type information is not needed, +// it is recommended that the message descriptor be used instead. +func (x *fastReflection_GetDelegateStakeRemovalInfoResponse) Type() protoreflect.MessageType { + return _fastReflection_GetDelegateStakeRemovalInfoResponse_messageType +} + +// New returns a newly allocated and mutable empty message. +func (x *fastReflection_GetDelegateStakeRemovalInfoResponse) New() protoreflect.Message { + return new(fastReflection_GetDelegateStakeRemovalInfoResponse) +} + +// Interface unwraps the message reflection interface and +// returns the underlying ProtoMessage interface. +func (x *fastReflection_GetDelegateStakeRemovalInfoResponse) Interface() protoreflect.ProtoMessage { + return (*GetDelegateStakeRemovalInfoResponse)(x) +} + +// Range iterates over every populated field in an undefined order, +// calling f for each field descriptor and value encountered. +// Range returns immediately if f returns false. +// While iterating, mutating operations may only be performed +// on the current field descriptor. +func (x *fastReflection_GetDelegateStakeRemovalInfoResponse) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { + if x.Removal != nil { + value := protoreflect.ValueOfMessage(x.Removal.ProtoReflect()) + if !f(fd_GetDelegateStakeRemovalInfoResponse_removal, value) { + return + } + } +} + +// Has reports whether a field is populated. +// +// Some fields have the property of nullability where it is possible to +// distinguish between the default value of a field and whether the field +// was explicitly populated with the default value. Singular message fields, +// member fields of a oneof, and proto2 scalar fields are nullable. Such +// fields are populated only if explicitly set. +// +// In other cases (aside from the nullable cases above), +// a proto3 scalar field is populated if it contains a non-zero value, and +// a repeated field is populated if it is non-empty. +func (x *fastReflection_GetDelegateStakeRemovalInfoResponse) Has(fd protoreflect.FieldDescriptor) bool { + switch fd.FullName() { + case "emissions.v8.GetDelegateStakeRemovalInfoResponse.removal": + return x.Removal != nil + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetDelegateStakeRemovalInfoResponse")) + } + panic(fmt.Errorf("message emissions.v8.GetDelegateStakeRemovalInfoResponse does not contain field %s", fd.FullName())) + } +} + +// Clear clears the field such that a subsequent Has call reports false. +// +// Clearing an extension field clears both the extension type and value +// associated with the given field number. +// +// Clear is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetDelegateStakeRemovalInfoResponse) Clear(fd protoreflect.FieldDescriptor) { + switch fd.FullName() { + case "emissions.v8.GetDelegateStakeRemovalInfoResponse.removal": + x.Removal = nil + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetDelegateStakeRemovalInfoResponse")) + } + panic(fmt.Errorf("message emissions.v8.GetDelegateStakeRemovalInfoResponse does not contain field %s", fd.FullName())) + } +} + +// Get retrieves the value for a field. +// +// For unpopulated scalars, it returns the default value, where +// the default value of a bytes scalar is guaranteed to be a copy. +// For unpopulated composite types, it returns an empty, read-only view +// of the value; to obtain a mutable reference, use Mutable. +func (x *fastReflection_GetDelegateStakeRemovalInfoResponse) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { + switch descriptor.FullName() { + case "emissions.v8.GetDelegateStakeRemovalInfoResponse.removal": + value := x.Removal + return protoreflect.ValueOfMessage(value.ProtoReflect()) + default: + if descriptor.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetDelegateStakeRemovalInfoResponse")) + } + panic(fmt.Errorf("message emissions.v8.GetDelegateStakeRemovalInfoResponse does not contain field %s", descriptor.FullName())) + } +} + +// Set stores the value for a field. +// +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType. +// When setting a composite type, it is unspecified whether the stored value +// aliases the source's memory in any way. If the composite value is an +// empty, read-only value, then it panics. +// +// Set is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetDelegateStakeRemovalInfoResponse) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { + switch fd.FullName() { + case "emissions.v8.GetDelegateStakeRemovalInfoResponse.removal": + x.Removal = value.Message().Interface().(*v3.DelegateStakeRemovalInfo) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetDelegateStakeRemovalInfoResponse")) + } + panic(fmt.Errorf("message emissions.v8.GetDelegateStakeRemovalInfoResponse does not contain field %s", fd.FullName())) + } +} + +// Mutable returns a mutable reference to a composite type. +// +// If the field is unpopulated, it may allocate a composite value. +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType +// if not already stored. +// It panics if the field does not contain a composite type. +// +// Mutable is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetDelegateStakeRemovalInfoResponse) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.GetDelegateStakeRemovalInfoResponse.removal": + if x.Removal == nil { + x.Removal = new(v3.DelegateStakeRemovalInfo) + } + return protoreflect.ValueOfMessage(x.Removal.ProtoReflect()) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetDelegateStakeRemovalInfoResponse")) + } + panic(fmt.Errorf("message emissions.v8.GetDelegateStakeRemovalInfoResponse does not contain field %s", fd.FullName())) + } +} + +// NewField returns a new value that is assignable to the field +// for the given descriptor. For scalars, this returns the default value. +// For lists, maps, and messages, this returns a new, empty, mutable value. +func (x *fastReflection_GetDelegateStakeRemovalInfoResponse) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.GetDelegateStakeRemovalInfoResponse.removal": + m := new(v3.DelegateStakeRemovalInfo) + return protoreflect.ValueOfMessage(m.ProtoReflect()) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetDelegateStakeRemovalInfoResponse")) + } + panic(fmt.Errorf("message emissions.v8.GetDelegateStakeRemovalInfoResponse does not contain field %s", fd.FullName())) + } +} + +// WhichOneof reports which field within the oneof is populated, +// returning nil if none are populated. +// It panics if the oneof descriptor does not belong to this message. +func (x *fastReflection_GetDelegateStakeRemovalInfoResponse) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { + switch d.FullName() { + default: + panic(fmt.Errorf("%s is not a oneof field in emissions.v8.GetDelegateStakeRemovalInfoResponse", d.FullName())) + } + panic("unreachable") +} + +// GetUnknown retrieves the entire list of unknown fields. +// The caller may only mutate the contents of the RawFields +// if the mutated bytes are stored back into the message with SetUnknown. +func (x *fastReflection_GetDelegateStakeRemovalInfoResponse) GetUnknown() protoreflect.RawFields { + return x.unknownFields +} + +// SetUnknown stores an entire list of unknown fields. +// The raw fields must be syntactically valid according to the wire format. +// An implementation may panic if this is not the case. +// Once stored, the caller must not mutate the content of the RawFields. +// An empty RawFields may be passed to clear the fields. +// +// SetUnknown is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetDelegateStakeRemovalInfoResponse) SetUnknown(fields protoreflect.RawFields) { + x.unknownFields = fields +} + +// IsValid reports whether the message is valid. +// +// An invalid message is an empty, read-only value. +// +// An invalid message often corresponds to a nil pointer of the concrete +// message type, but the details are implementation dependent. +// Validity is not part of the protobuf data model, and may not +// be preserved in marshaling or other operations. +func (x *fastReflection_GetDelegateStakeRemovalInfoResponse) IsValid() bool { + return x != nil +} + +// ProtoMethods returns optional fastReflectionFeature-path implementations of various operations. +// This method may return nil. +// +// The returned methods type is identical to +// "google.golang.org/protobuf/runtime/protoiface".Methods. +// Consult the protoiface package documentation for details. +func (x *fastReflection_GetDelegateStakeRemovalInfoResponse) ProtoMethods() *protoiface.Methods { + size := func(input protoiface.SizeInput) protoiface.SizeOutput { + x := input.Message.Interface().(*GetDelegateStakeRemovalInfoResponse) + if x == nil { + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: 0, + } + } + options := runtime.SizeInputToOptions(input) + _ = options + var n int + var l int + _ = l + if x.Removal != nil { + l = options.Size(x.Removal) + n += 1 + l + runtime.Sov(uint64(l)) + } + if x.unknownFields != nil { + n += len(x.unknownFields) + } + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: n, + } + } + + marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { + x := input.Message.Interface().(*GetDelegateStakeRemovalInfoResponse) + if x == nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + options := runtime.MarshalInputToOptions(input) + _ = options + size := options.Size(x) + dAtA := make([]byte, size) + i := len(dAtA) + _ = i + var l int + _ = l + if x.unknownFields != nil { + i -= len(x.unknownFields) + copy(dAtA[i:], x.unknownFields) + } + if x.Removal != nil { + encoded, err := options.Marshal(x.Removal) + if err != nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = runtime.EncodeVarint(dAtA, i, uint64(len(encoded))) + i-- + dAtA[i] = 0xa + } + if input.Buf != nil { + input.Buf = append(input.Buf, dAtA...) + } else { + input.Buf = dAtA + } + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { + x := input.Message.Interface().(*GetDelegateStakeRemovalInfoResponse) + if x == nil { + return protoiface.UnmarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Flags: input.Flags, + }, nil + } + options := runtime.UnmarshalInputToOptions(input) + _ = options + dAtA := input.Buf + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: GetDelegateStakeRemovalInfoResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: GetDelegateStakeRemovalInfoResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Removal", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + if x.Removal == nil { + x.Removal = &v3.DelegateStakeRemovalInfo{} + } + if err := options.Unmarshal(dAtA[iNdEx:postIndex], x.Removal); err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := runtime.Skip(dAtA[iNdEx:]) + if err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if (iNdEx + skippy) > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + if !options.DiscardUnknown { + x.unknownFields = append(x.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + } + iNdEx += skippy + } + } + + if iNdEx > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, nil + } + return &protoiface.Methods{ + NoUnkeyedLiterals: struct{}{}, + Flags: protoiface.SupportMarshalDeterministic | protoiface.SupportUnmarshalDiscardUnknown, + Size: size, + Marshal: marshal, + Unmarshal: unmarshal, + Merge: nil, + CheckInitialized: nil, + } +} + +var ( + md_GetTopicLastWorkerCommitInfoRequest protoreflect.MessageDescriptor + fd_GetTopicLastWorkerCommitInfoRequest_topic_id protoreflect.FieldDescriptor +) + +func init() { + file_emissions_v8_query_proto_init() + md_GetTopicLastWorkerCommitInfoRequest = File_emissions_v8_query_proto.Messages().ByName("GetTopicLastWorkerCommitInfoRequest") + fd_GetTopicLastWorkerCommitInfoRequest_topic_id = md_GetTopicLastWorkerCommitInfoRequest.Fields().ByName("topic_id") +} + +var _ protoreflect.Message = (*fastReflection_GetTopicLastWorkerCommitInfoRequest)(nil) + +type fastReflection_GetTopicLastWorkerCommitInfoRequest GetTopicLastWorkerCommitInfoRequest + +func (x *GetTopicLastWorkerCommitInfoRequest) ProtoReflect() protoreflect.Message { + return (*fastReflection_GetTopicLastWorkerCommitInfoRequest)(x) +} + +func (x *GetTopicLastWorkerCommitInfoRequest) slowProtoReflect() protoreflect.Message { + mi := &file_emissions_v8_query_proto_msgTypes[126] + 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) +} + +var _fastReflection_GetTopicLastWorkerCommitInfoRequest_messageType fastReflection_GetTopicLastWorkerCommitInfoRequest_messageType +var _ protoreflect.MessageType = fastReflection_GetTopicLastWorkerCommitInfoRequest_messageType{} + +type fastReflection_GetTopicLastWorkerCommitInfoRequest_messageType struct{} + +func (x fastReflection_GetTopicLastWorkerCommitInfoRequest_messageType) Zero() protoreflect.Message { + return (*fastReflection_GetTopicLastWorkerCommitInfoRequest)(nil) +} +func (x fastReflection_GetTopicLastWorkerCommitInfoRequest_messageType) New() protoreflect.Message { + return new(fastReflection_GetTopicLastWorkerCommitInfoRequest) +} +func (x fastReflection_GetTopicLastWorkerCommitInfoRequest_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_GetTopicLastWorkerCommitInfoRequest +} + +// Descriptor returns message descriptor, which contains only the protobuf +// type information for the message. +func (x *fastReflection_GetTopicLastWorkerCommitInfoRequest) Descriptor() protoreflect.MessageDescriptor { + return md_GetTopicLastWorkerCommitInfoRequest +} + +// Type returns the message type, which encapsulates both Go and protobuf +// type information. If the Go type information is not needed, +// it is recommended that the message descriptor be used instead. +func (x *fastReflection_GetTopicLastWorkerCommitInfoRequest) Type() protoreflect.MessageType { + return _fastReflection_GetTopicLastWorkerCommitInfoRequest_messageType +} + +// New returns a newly allocated and mutable empty message. +func (x *fastReflection_GetTopicLastWorkerCommitInfoRequest) New() protoreflect.Message { + return new(fastReflection_GetTopicLastWorkerCommitInfoRequest) +} + +// Interface unwraps the message reflection interface and +// returns the underlying ProtoMessage interface. +func (x *fastReflection_GetTopicLastWorkerCommitInfoRequest) Interface() protoreflect.ProtoMessage { + return (*GetTopicLastWorkerCommitInfoRequest)(x) +} + +// Range iterates over every populated field in an undefined order, +// calling f for each field descriptor and value encountered. +// Range returns immediately if f returns false. +// While iterating, mutating operations may only be performed +// on the current field descriptor. +func (x *fastReflection_GetTopicLastWorkerCommitInfoRequest) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { + if x.TopicId != uint64(0) { + value := protoreflect.ValueOfUint64(x.TopicId) + if !f(fd_GetTopicLastWorkerCommitInfoRequest_topic_id, value) { + return + } + } +} + +// Has reports whether a field is populated. +// +// Some fields have the property of nullability where it is possible to +// distinguish between the default value of a field and whether the field +// was explicitly populated with the default value. Singular message fields, +// member fields of a oneof, and proto2 scalar fields are nullable. Such +// fields are populated only if explicitly set. +// +// In other cases (aside from the nullable cases above), +// a proto3 scalar field is populated if it contains a non-zero value, and +// a repeated field is populated if it is non-empty. +func (x *fastReflection_GetTopicLastWorkerCommitInfoRequest) Has(fd protoreflect.FieldDescriptor) bool { + switch fd.FullName() { + case "emissions.v8.GetTopicLastWorkerCommitInfoRequest.topic_id": + return x.TopicId != uint64(0) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetTopicLastWorkerCommitInfoRequest")) + } + panic(fmt.Errorf("message emissions.v8.GetTopicLastWorkerCommitInfoRequest does not contain field %s", fd.FullName())) + } +} + +// Clear clears the field such that a subsequent Has call reports false. +// +// Clearing an extension field clears both the extension type and value +// associated with the given field number. +// +// Clear is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetTopicLastWorkerCommitInfoRequest) Clear(fd protoreflect.FieldDescriptor) { + switch fd.FullName() { + case "emissions.v8.GetTopicLastWorkerCommitInfoRequest.topic_id": + x.TopicId = uint64(0) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetTopicLastWorkerCommitInfoRequest")) + } + panic(fmt.Errorf("message emissions.v8.GetTopicLastWorkerCommitInfoRequest does not contain field %s", fd.FullName())) + } +} + +// Get retrieves the value for a field. +// +// For unpopulated scalars, it returns the default value, where +// the default value of a bytes scalar is guaranteed to be a copy. +// For unpopulated composite types, it returns an empty, read-only view +// of the value; to obtain a mutable reference, use Mutable. +func (x *fastReflection_GetTopicLastWorkerCommitInfoRequest) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { + switch descriptor.FullName() { + case "emissions.v8.GetTopicLastWorkerCommitInfoRequest.topic_id": + value := x.TopicId + return protoreflect.ValueOfUint64(value) + default: + if descriptor.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetTopicLastWorkerCommitInfoRequest")) + } + panic(fmt.Errorf("message emissions.v8.GetTopicLastWorkerCommitInfoRequest does not contain field %s", descriptor.FullName())) + } +} + +// Set stores the value for a field. +// +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType. +// When setting a composite type, it is unspecified whether the stored value +// aliases the source's memory in any way. If the composite value is an +// empty, read-only value, then it panics. +// +// Set is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetTopicLastWorkerCommitInfoRequest) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { + switch fd.FullName() { + case "emissions.v8.GetTopicLastWorkerCommitInfoRequest.topic_id": + x.TopicId = value.Uint() + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetTopicLastWorkerCommitInfoRequest")) + } + panic(fmt.Errorf("message emissions.v8.GetTopicLastWorkerCommitInfoRequest does not contain field %s", fd.FullName())) + } +} + +// Mutable returns a mutable reference to a composite type. +// +// If the field is unpopulated, it may allocate a composite value. +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType +// if not already stored. +// It panics if the field does not contain a composite type. +// +// Mutable is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetTopicLastWorkerCommitInfoRequest) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.GetTopicLastWorkerCommitInfoRequest.topic_id": + panic(fmt.Errorf("field topic_id of message emissions.v8.GetTopicLastWorkerCommitInfoRequest is not mutable")) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetTopicLastWorkerCommitInfoRequest")) + } + panic(fmt.Errorf("message emissions.v8.GetTopicLastWorkerCommitInfoRequest does not contain field %s", fd.FullName())) + } +} + +// NewField returns a new value that is assignable to the field +// for the given descriptor. For scalars, this returns the default value. +// For lists, maps, and messages, this returns a new, empty, mutable value. +func (x *fastReflection_GetTopicLastWorkerCommitInfoRequest) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.GetTopicLastWorkerCommitInfoRequest.topic_id": + return protoreflect.ValueOfUint64(uint64(0)) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetTopicLastWorkerCommitInfoRequest")) + } + panic(fmt.Errorf("message emissions.v8.GetTopicLastWorkerCommitInfoRequest does not contain field %s", fd.FullName())) + } +} + +// WhichOneof reports which field within the oneof is populated, +// returning nil if none are populated. +// It panics if the oneof descriptor does not belong to this message. +func (x *fastReflection_GetTopicLastWorkerCommitInfoRequest) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { + switch d.FullName() { + default: + panic(fmt.Errorf("%s is not a oneof field in emissions.v8.GetTopicLastWorkerCommitInfoRequest", d.FullName())) + } + panic("unreachable") +} + +// GetUnknown retrieves the entire list of unknown fields. +// The caller may only mutate the contents of the RawFields +// if the mutated bytes are stored back into the message with SetUnknown. +func (x *fastReflection_GetTopicLastWorkerCommitInfoRequest) GetUnknown() protoreflect.RawFields { + return x.unknownFields +} + +// SetUnknown stores an entire list of unknown fields. +// The raw fields must be syntactically valid according to the wire format. +// An implementation may panic if this is not the case. +// Once stored, the caller must not mutate the content of the RawFields. +// An empty RawFields may be passed to clear the fields. +// +// SetUnknown is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetTopicLastWorkerCommitInfoRequest) SetUnknown(fields protoreflect.RawFields) { + x.unknownFields = fields +} + +// IsValid reports whether the message is valid. +// +// An invalid message is an empty, read-only value. +// +// An invalid message often corresponds to a nil pointer of the concrete +// message type, but the details are implementation dependent. +// Validity is not part of the protobuf data model, and may not +// be preserved in marshaling or other operations. +func (x *fastReflection_GetTopicLastWorkerCommitInfoRequest) IsValid() bool { + return x != nil +} + +// ProtoMethods returns optional fastReflectionFeature-path implementations of various operations. +// This method may return nil. +// +// The returned methods type is identical to +// "google.golang.org/protobuf/runtime/protoiface".Methods. +// Consult the protoiface package documentation for details. +func (x *fastReflection_GetTopicLastWorkerCommitInfoRequest) ProtoMethods() *protoiface.Methods { + size := func(input protoiface.SizeInput) protoiface.SizeOutput { + x := input.Message.Interface().(*GetTopicLastWorkerCommitInfoRequest) + if x == nil { + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: 0, + } + } + options := runtime.SizeInputToOptions(input) + _ = options + var n int + var l int + _ = l + if x.TopicId != 0 { + n += 1 + runtime.Sov(uint64(x.TopicId)) + } + if x.unknownFields != nil { + n += len(x.unknownFields) + } + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: n, + } + } + + marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { + x := input.Message.Interface().(*GetTopicLastWorkerCommitInfoRequest) + if x == nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + options := runtime.MarshalInputToOptions(input) + _ = options + size := options.Size(x) + dAtA := make([]byte, size) + i := len(dAtA) + _ = i + var l int + _ = l + if x.unknownFields != nil { + i -= len(x.unknownFields) + copy(dAtA[i:], x.unknownFields) + } + if x.TopicId != 0 { + i = runtime.EncodeVarint(dAtA, i, uint64(x.TopicId)) + i-- + dAtA[i] = 0x8 + } + if input.Buf != nil { + input.Buf = append(input.Buf, dAtA...) + } else { + input.Buf = dAtA + } + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { + x := input.Message.Interface().(*GetTopicLastWorkerCommitInfoRequest) + if x == nil { + return protoiface.UnmarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Flags: input.Flags, + }, nil + } + options := runtime.UnmarshalInputToOptions(input) + _ = options + dAtA := input.Buf + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: GetTopicLastWorkerCommitInfoRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: GetTopicLastWorkerCommitInfoRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field TopicId", wireType) + } + x.TopicId = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + x.TopicId |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + default: + iNdEx = preIndex + skippy, err := runtime.Skip(dAtA[iNdEx:]) + if err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if (iNdEx + skippy) > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + if !options.DiscardUnknown { + x.unknownFields = append(x.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + } + iNdEx += skippy + } + } + + if iNdEx > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, nil + } + return &protoiface.Methods{ + NoUnkeyedLiterals: struct{}{}, + Flags: protoiface.SupportMarshalDeterministic | protoiface.SupportUnmarshalDiscardUnknown, + Size: size, + Marshal: marshal, + Unmarshal: unmarshal, + Merge: nil, + CheckInitialized: nil, + } +} + +var ( + md_GetTopicLastWorkerCommitInfoResponse protoreflect.MessageDescriptor + fd_GetTopicLastWorkerCommitInfoResponse_last_commit protoreflect.FieldDescriptor +) + +func init() { + file_emissions_v8_query_proto_init() + md_GetTopicLastWorkerCommitInfoResponse = File_emissions_v8_query_proto.Messages().ByName("GetTopicLastWorkerCommitInfoResponse") + fd_GetTopicLastWorkerCommitInfoResponse_last_commit = md_GetTopicLastWorkerCommitInfoResponse.Fields().ByName("last_commit") +} + +var _ protoreflect.Message = (*fastReflection_GetTopicLastWorkerCommitInfoResponse)(nil) + +type fastReflection_GetTopicLastWorkerCommitInfoResponse GetTopicLastWorkerCommitInfoResponse + +func (x *GetTopicLastWorkerCommitInfoResponse) ProtoReflect() protoreflect.Message { + return (*fastReflection_GetTopicLastWorkerCommitInfoResponse)(x) +} + +func (x *GetTopicLastWorkerCommitInfoResponse) slowProtoReflect() protoreflect.Message { + mi := &file_emissions_v8_query_proto_msgTypes[127] + 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) +} + +var _fastReflection_GetTopicLastWorkerCommitInfoResponse_messageType fastReflection_GetTopicLastWorkerCommitInfoResponse_messageType +var _ protoreflect.MessageType = fastReflection_GetTopicLastWorkerCommitInfoResponse_messageType{} + +type fastReflection_GetTopicLastWorkerCommitInfoResponse_messageType struct{} + +func (x fastReflection_GetTopicLastWorkerCommitInfoResponse_messageType) Zero() protoreflect.Message { + return (*fastReflection_GetTopicLastWorkerCommitInfoResponse)(nil) +} +func (x fastReflection_GetTopicLastWorkerCommitInfoResponse_messageType) New() protoreflect.Message { + return new(fastReflection_GetTopicLastWorkerCommitInfoResponse) +} +func (x fastReflection_GetTopicLastWorkerCommitInfoResponse_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_GetTopicLastWorkerCommitInfoResponse +} + +// Descriptor returns message descriptor, which contains only the protobuf +// type information for the message. +func (x *fastReflection_GetTopicLastWorkerCommitInfoResponse) Descriptor() protoreflect.MessageDescriptor { + return md_GetTopicLastWorkerCommitInfoResponse +} + +// Type returns the message type, which encapsulates both Go and protobuf +// type information. If the Go type information is not needed, +// it is recommended that the message descriptor be used instead. +func (x *fastReflection_GetTopicLastWorkerCommitInfoResponse) Type() protoreflect.MessageType { + return _fastReflection_GetTopicLastWorkerCommitInfoResponse_messageType +} + +// New returns a newly allocated and mutable empty message. +func (x *fastReflection_GetTopicLastWorkerCommitInfoResponse) New() protoreflect.Message { + return new(fastReflection_GetTopicLastWorkerCommitInfoResponse) +} + +// Interface unwraps the message reflection interface and +// returns the underlying ProtoMessage interface. +func (x *fastReflection_GetTopicLastWorkerCommitInfoResponse) Interface() protoreflect.ProtoMessage { + return (*GetTopicLastWorkerCommitInfoResponse)(x) +} + +// Range iterates over every populated field in an undefined order, +// calling f for each field descriptor and value encountered. +// Range returns immediately if f returns false. +// While iterating, mutating operations may only be performed +// on the current field descriptor. +func (x *fastReflection_GetTopicLastWorkerCommitInfoResponse) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { + if x.LastCommit != nil { + value := protoreflect.ValueOfMessage(x.LastCommit.ProtoReflect()) + if !f(fd_GetTopicLastWorkerCommitInfoResponse_last_commit, value) { + return + } + } +} + +// Has reports whether a field is populated. +// +// Some fields have the property of nullability where it is possible to +// distinguish between the default value of a field and whether the field +// was explicitly populated with the default value. Singular message fields, +// member fields of a oneof, and proto2 scalar fields are nullable. Such +// fields are populated only if explicitly set. +// +// In other cases (aside from the nullable cases above), +// a proto3 scalar field is populated if it contains a non-zero value, and +// a repeated field is populated if it is non-empty. +func (x *fastReflection_GetTopicLastWorkerCommitInfoResponse) Has(fd protoreflect.FieldDescriptor) bool { + switch fd.FullName() { + case "emissions.v8.GetTopicLastWorkerCommitInfoResponse.last_commit": + return x.LastCommit != nil + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetTopicLastWorkerCommitInfoResponse")) + } + panic(fmt.Errorf("message emissions.v8.GetTopicLastWorkerCommitInfoResponse does not contain field %s", fd.FullName())) + } +} + +// Clear clears the field such that a subsequent Has call reports false. +// +// Clearing an extension field clears both the extension type and value +// associated with the given field number. +// +// Clear is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetTopicLastWorkerCommitInfoResponse) Clear(fd protoreflect.FieldDescriptor) { + switch fd.FullName() { + case "emissions.v8.GetTopicLastWorkerCommitInfoResponse.last_commit": + x.LastCommit = nil + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetTopicLastWorkerCommitInfoResponse")) + } + panic(fmt.Errorf("message emissions.v8.GetTopicLastWorkerCommitInfoResponse does not contain field %s", fd.FullName())) + } +} + +// Get retrieves the value for a field. +// +// For unpopulated scalars, it returns the default value, where +// the default value of a bytes scalar is guaranteed to be a copy. +// For unpopulated composite types, it returns an empty, read-only view +// of the value; to obtain a mutable reference, use Mutable. +func (x *fastReflection_GetTopicLastWorkerCommitInfoResponse) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { + switch descriptor.FullName() { + case "emissions.v8.GetTopicLastWorkerCommitInfoResponse.last_commit": + value := x.LastCommit + return protoreflect.ValueOfMessage(value.ProtoReflect()) + default: + if descriptor.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetTopicLastWorkerCommitInfoResponse")) + } + panic(fmt.Errorf("message emissions.v8.GetTopicLastWorkerCommitInfoResponse does not contain field %s", descriptor.FullName())) + } +} + +// Set stores the value for a field. +// +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType. +// When setting a composite type, it is unspecified whether the stored value +// aliases the source's memory in any way. If the composite value is an +// empty, read-only value, then it panics. +// +// Set is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetTopicLastWorkerCommitInfoResponse) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { + switch fd.FullName() { + case "emissions.v8.GetTopicLastWorkerCommitInfoResponse.last_commit": + x.LastCommit = value.Message().Interface().(*v3.TimestampedActorNonce) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetTopicLastWorkerCommitInfoResponse")) + } + panic(fmt.Errorf("message emissions.v8.GetTopicLastWorkerCommitInfoResponse does not contain field %s", fd.FullName())) + } +} + +// Mutable returns a mutable reference to a composite type. +// +// If the field is unpopulated, it may allocate a composite value. +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType +// if not already stored. +// It panics if the field does not contain a composite type. +// +// Mutable is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetTopicLastWorkerCommitInfoResponse) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.GetTopicLastWorkerCommitInfoResponse.last_commit": + if x.LastCommit == nil { + x.LastCommit = new(v3.TimestampedActorNonce) + } + return protoreflect.ValueOfMessage(x.LastCommit.ProtoReflect()) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetTopicLastWorkerCommitInfoResponse")) + } + panic(fmt.Errorf("message emissions.v8.GetTopicLastWorkerCommitInfoResponse does not contain field %s", fd.FullName())) + } +} + +// NewField returns a new value that is assignable to the field +// for the given descriptor. For scalars, this returns the default value. +// For lists, maps, and messages, this returns a new, empty, mutable value. +func (x *fastReflection_GetTopicLastWorkerCommitInfoResponse) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.GetTopicLastWorkerCommitInfoResponse.last_commit": + m := new(v3.TimestampedActorNonce) + return protoreflect.ValueOfMessage(m.ProtoReflect()) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetTopicLastWorkerCommitInfoResponse")) + } + panic(fmt.Errorf("message emissions.v8.GetTopicLastWorkerCommitInfoResponse does not contain field %s", fd.FullName())) + } +} + +// WhichOneof reports which field within the oneof is populated, +// returning nil if none are populated. +// It panics if the oneof descriptor does not belong to this message. +func (x *fastReflection_GetTopicLastWorkerCommitInfoResponse) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { + switch d.FullName() { + default: + panic(fmt.Errorf("%s is not a oneof field in emissions.v8.GetTopicLastWorkerCommitInfoResponse", d.FullName())) + } + panic("unreachable") +} + +// GetUnknown retrieves the entire list of unknown fields. +// The caller may only mutate the contents of the RawFields +// if the mutated bytes are stored back into the message with SetUnknown. +func (x *fastReflection_GetTopicLastWorkerCommitInfoResponse) GetUnknown() protoreflect.RawFields { + return x.unknownFields +} + +// SetUnknown stores an entire list of unknown fields. +// The raw fields must be syntactically valid according to the wire format. +// An implementation may panic if this is not the case. +// Once stored, the caller must not mutate the content of the RawFields. +// An empty RawFields may be passed to clear the fields. +// +// SetUnknown is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetTopicLastWorkerCommitInfoResponse) SetUnknown(fields protoreflect.RawFields) { + x.unknownFields = fields +} + +// IsValid reports whether the message is valid. +// +// An invalid message is an empty, read-only value. +// +// An invalid message often corresponds to a nil pointer of the concrete +// message type, but the details are implementation dependent. +// Validity is not part of the protobuf data model, and may not +// be preserved in marshaling or other operations. +func (x *fastReflection_GetTopicLastWorkerCommitInfoResponse) IsValid() bool { + return x != nil +} + +// ProtoMethods returns optional fastReflectionFeature-path implementations of various operations. +// This method may return nil. +// +// The returned methods type is identical to +// "google.golang.org/protobuf/runtime/protoiface".Methods. +// Consult the protoiface package documentation for details. +func (x *fastReflection_GetTopicLastWorkerCommitInfoResponse) ProtoMethods() *protoiface.Methods { + size := func(input protoiface.SizeInput) protoiface.SizeOutput { + x := input.Message.Interface().(*GetTopicLastWorkerCommitInfoResponse) + if x == nil { + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: 0, + } + } + options := runtime.SizeInputToOptions(input) + _ = options + var n int + var l int + _ = l + if x.LastCommit != nil { + l = options.Size(x.LastCommit) + n += 1 + l + runtime.Sov(uint64(l)) + } + if x.unknownFields != nil { + n += len(x.unknownFields) + } + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: n, + } + } + + marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { + x := input.Message.Interface().(*GetTopicLastWorkerCommitInfoResponse) + if x == nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + options := runtime.MarshalInputToOptions(input) + _ = options + size := options.Size(x) + dAtA := make([]byte, size) + i := len(dAtA) + _ = i + var l int + _ = l + if x.unknownFields != nil { + i -= len(x.unknownFields) + copy(dAtA[i:], x.unknownFields) + } + if x.LastCommit != nil { + encoded, err := options.Marshal(x.LastCommit) + if err != nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = runtime.EncodeVarint(dAtA, i, uint64(len(encoded))) + i-- + dAtA[i] = 0xa + } + if input.Buf != nil { + input.Buf = append(input.Buf, dAtA...) + } else { + input.Buf = dAtA + } + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { + x := input.Message.Interface().(*GetTopicLastWorkerCommitInfoResponse) + if x == nil { + return protoiface.UnmarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Flags: input.Flags, + }, nil + } + options := runtime.UnmarshalInputToOptions(input) + _ = options + dAtA := input.Buf + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: GetTopicLastWorkerCommitInfoResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: GetTopicLastWorkerCommitInfoResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field LastCommit", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + if x.LastCommit == nil { + x.LastCommit = &v3.TimestampedActorNonce{} + } + if err := options.Unmarshal(dAtA[iNdEx:postIndex], x.LastCommit); err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := runtime.Skip(dAtA[iNdEx:]) + if err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if (iNdEx + skippy) > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + if !options.DiscardUnknown { + x.unknownFields = append(x.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + } + iNdEx += skippy + } + } + + if iNdEx > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, nil + } + return &protoiface.Methods{ + NoUnkeyedLiterals: struct{}{}, + Flags: protoiface.SupportMarshalDeterministic | protoiface.SupportUnmarshalDiscardUnknown, + Size: size, + Marshal: marshal, + Unmarshal: unmarshal, + Merge: nil, + CheckInitialized: nil, + } +} + +var ( + md_GetTopicLastReputerCommitInfoRequest protoreflect.MessageDescriptor + fd_GetTopicLastReputerCommitInfoRequest_topic_id protoreflect.FieldDescriptor +) + +func init() { + file_emissions_v8_query_proto_init() + md_GetTopicLastReputerCommitInfoRequest = File_emissions_v8_query_proto.Messages().ByName("GetTopicLastReputerCommitInfoRequest") + fd_GetTopicLastReputerCommitInfoRequest_topic_id = md_GetTopicLastReputerCommitInfoRequest.Fields().ByName("topic_id") +} + +var _ protoreflect.Message = (*fastReflection_GetTopicLastReputerCommitInfoRequest)(nil) + +type fastReflection_GetTopicLastReputerCommitInfoRequest GetTopicLastReputerCommitInfoRequest + +func (x *GetTopicLastReputerCommitInfoRequest) ProtoReflect() protoreflect.Message { + return (*fastReflection_GetTopicLastReputerCommitInfoRequest)(x) +} + +func (x *GetTopicLastReputerCommitInfoRequest) slowProtoReflect() protoreflect.Message { + mi := &file_emissions_v8_query_proto_msgTypes[128] + 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) +} + +var _fastReflection_GetTopicLastReputerCommitInfoRequest_messageType fastReflection_GetTopicLastReputerCommitInfoRequest_messageType +var _ protoreflect.MessageType = fastReflection_GetTopicLastReputerCommitInfoRequest_messageType{} + +type fastReflection_GetTopicLastReputerCommitInfoRequest_messageType struct{} + +func (x fastReflection_GetTopicLastReputerCommitInfoRequest_messageType) Zero() protoreflect.Message { + return (*fastReflection_GetTopicLastReputerCommitInfoRequest)(nil) +} +func (x fastReflection_GetTopicLastReputerCommitInfoRequest_messageType) New() protoreflect.Message { + return new(fastReflection_GetTopicLastReputerCommitInfoRequest) +} +func (x fastReflection_GetTopicLastReputerCommitInfoRequest_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_GetTopicLastReputerCommitInfoRequest +} + +// Descriptor returns message descriptor, which contains only the protobuf +// type information for the message. +func (x *fastReflection_GetTopicLastReputerCommitInfoRequest) Descriptor() protoreflect.MessageDescriptor { + return md_GetTopicLastReputerCommitInfoRequest +} + +// Type returns the message type, which encapsulates both Go and protobuf +// type information. If the Go type information is not needed, +// it is recommended that the message descriptor be used instead. +func (x *fastReflection_GetTopicLastReputerCommitInfoRequest) Type() protoreflect.MessageType { + return _fastReflection_GetTopicLastReputerCommitInfoRequest_messageType +} + +// New returns a newly allocated and mutable empty message. +func (x *fastReflection_GetTopicLastReputerCommitInfoRequest) New() protoreflect.Message { + return new(fastReflection_GetTopicLastReputerCommitInfoRequest) +} + +// Interface unwraps the message reflection interface and +// returns the underlying ProtoMessage interface. +func (x *fastReflection_GetTopicLastReputerCommitInfoRequest) Interface() protoreflect.ProtoMessage { + return (*GetTopicLastReputerCommitInfoRequest)(x) +} + +// Range iterates over every populated field in an undefined order, +// calling f for each field descriptor and value encountered. +// Range returns immediately if f returns false. +// While iterating, mutating operations may only be performed +// on the current field descriptor. +func (x *fastReflection_GetTopicLastReputerCommitInfoRequest) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { + if x.TopicId != uint64(0) { + value := protoreflect.ValueOfUint64(x.TopicId) + if !f(fd_GetTopicLastReputerCommitInfoRequest_topic_id, value) { + return + } + } +} + +// Has reports whether a field is populated. +// +// Some fields have the property of nullability where it is possible to +// distinguish between the default value of a field and whether the field +// was explicitly populated with the default value. Singular message fields, +// member fields of a oneof, and proto2 scalar fields are nullable. Such +// fields are populated only if explicitly set. +// +// In other cases (aside from the nullable cases above), +// a proto3 scalar field is populated if it contains a non-zero value, and +// a repeated field is populated if it is non-empty. +func (x *fastReflection_GetTopicLastReputerCommitInfoRequest) Has(fd protoreflect.FieldDescriptor) bool { + switch fd.FullName() { + case "emissions.v8.GetTopicLastReputerCommitInfoRequest.topic_id": + return x.TopicId != uint64(0) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetTopicLastReputerCommitInfoRequest")) + } + panic(fmt.Errorf("message emissions.v8.GetTopicLastReputerCommitInfoRequest does not contain field %s", fd.FullName())) + } +} + +// Clear clears the field such that a subsequent Has call reports false. +// +// Clearing an extension field clears both the extension type and value +// associated with the given field number. +// +// Clear is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetTopicLastReputerCommitInfoRequest) Clear(fd protoreflect.FieldDescriptor) { + switch fd.FullName() { + case "emissions.v8.GetTopicLastReputerCommitInfoRequest.topic_id": + x.TopicId = uint64(0) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetTopicLastReputerCommitInfoRequest")) + } + panic(fmt.Errorf("message emissions.v8.GetTopicLastReputerCommitInfoRequest does not contain field %s", fd.FullName())) + } +} + +// Get retrieves the value for a field. +// +// For unpopulated scalars, it returns the default value, where +// the default value of a bytes scalar is guaranteed to be a copy. +// For unpopulated composite types, it returns an empty, read-only view +// of the value; to obtain a mutable reference, use Mutable. +func (x *fastReflection_GetTopicLastReputerCommitInfoRequest) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { + switch descriptor.FullName() { + case "emissions.v8.GetTopicLastReputerCommitInfoRequest.topic_id": + value := x.TopicId + return protoreflect.ValueOfUint64(value) + default: + if descriptor.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetTopicLastReputerCommitInfoRequest")) + } + panic(fmt.Errorf("message emissions.v8.GetTopicLastReputerCommitInfoRequest does not contain field %s", descriptor.FullName())) + } +} + +// Set stores the value for a field. +// +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType. +// When setting a composite type, it is unspecified whether the stored value +// aliases the source's memory in any way. If the composite value is an +// empty, read-only value, then it panics. +// +// Set is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetTopicLastReputerCommitInfoRequest) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { + switch fd.FullName() { + case "emissions.v8.GetTopicLastReputerCommitInfoRequest.topic_id": + x.TopicId = value.Uint() + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetTopicLastReputerCommitInfoRequest")) + } + panic(fmt.Errorf("message emissions.v8.GetTopicLastReputerCommitInfoRequest does not contain field %s", fd.FullName())) + } +} + +// Mutable returns a mutable reference to a composite type. +// +// If the field is unpopulated, it may allocate a composite value. +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType +// if not already stored. +// It panics if the field does not contain a composite type. +// +// Mutable is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetTopicLastReputerCommitInfoRequest) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.GetTopicLastReputerCommitInfoRequest.topic_id": + panic(fmt.Errorf("field topic_id of message emissions.v8.GetTopicLastReputerCommitInfoRequest is not mutable")) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetTopicLastReputerCommitInfoRequest")) + } + panic(fmt.Errorf("message emissions.v8.GetTopicLastReputerCommitInfoRequest does not contain field %s", fd.FullName())) + } +} + +// NewField returns a new value that is assignable to the field +// for the given descriptor. For scalars, this returns the default value. +// For lists, maps, and messages, this returns a new, empty, mutable value. +func (x *fastReflection_GetTopicLastReputerCommitInfoRequest) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.GetTopicLastReputerCommitInfoRequest.topic_id": + return protoreflect.ValueOfUint64(uint64(0)) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetTopicLastReputerCommitInfoRequest")) + } + panic(fmt.Errorf("message emissions.v8.GetTopicLastReputerCommitInfoRequest does not contain field %s", fd.FullName())) + } +} + +// WhichOneof reports which field within the oneof is populated, +// returning nil if none are populated. +// It panics if the oneof descriptor does not belong to this message. +func (x *fastReflection_GetTopicLastReputerCommitInfoRequest) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { + switch d.FullName() { + default: + panic(fmt.Errorf("%s is not a oneof field in emissions.v8.GetTopicLastReputerCommitInfoRequest", d.FullName())) + } + panic("unreachable") +} + +// GetUnknown retrieves the entire list of unknown fields. +// The caller may only mutate the contents of the RawFields +// if the mutated bytes are stored back into the message with SetUnknown. +func (x *fastReflection_GetTopicLastReputerCommitInfoRequest) GetUnknown() protoreflect.RawFields { + return x.unknownFields +} + +// SetUnknown stores an entire list of unknown fields. +// The raw fields must be syntactically valid according to the wire format. +// An implementation may panic if this is not the case. +// Once stored, the caller must not mutate the content of the RawFields. +// An empty RawFields may be passed to clear the fields. +// +// SetUnknown is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetTopicLastReputerCommitInfoRequest) SetUnknown(fields protoreflect.RawFields) { + x.unknownFields = fields +} + +// IsValid reports whether the message is valid. +// +// An invalid message is an empty, read-only value. +// +// An invalid message often corresponds to a nil pointer of the concrete +// message type, but the details are implementation dependent. +// Validity is not part of the protobuf data model, and may not +// be preserved in marshaling or other operations. +func (x *fastReflection_GetTopicLastReputerCommitInfoRequest) IsValid() bool { + return x != nil +} + +// ProtoMethods returns optional fastReflectionFeature-path implementations of various operations. +// This method may return nil. +// +// The returned methods type is identical to +// "google.golang.org/protobuf/runtime/protoiface".Methods. +// Consult the protoiface package documentation for details. +func (x *fastReflection_GetTopicLastReputerCommitInfoRequest) ProtoMethods() *protoiface.Methods { + size := func(input protoiface.SizeInput) protoiface.SizeOutput { + x := input.Message.Interface().(*GetTopicLastReputerCommitInfoRequest) + if x == nil { + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: 0, + } + } + options := runtime.SizeInputToOptions(input) + _ = options + var n int + var l int + _ = l + if x.TopicId != 0 { + n += 1 + runtime.Sov(uint64(x.TopicId)) + } + if x.unknownFields != nil { + n += len(x.unknownFields) + } + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: n, + } + } + + marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { + x := input.Message.Interface().(*GetTopicLastReputerCommitInfoRequest) + if x == nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + options := runtime.MarshalInputToOptions(input) + _ = options + size := options.Size(x) + dAtA := make([]byte, size) + i := len(dAtA) + _ = i + var l int + _ = l + if x.unknownFields != nil { + i -= len(x.unknownFields) + copy(dAtA[i:], x.unknownFields) + } + if x.TopicId != 0 { + i = runtime.EncodeVarint(dAtA, i, uint64(x.TopicId)) + i-- + dAtA[i] = 0x8 + } + if input.Buf != nil { + input.Buf = append(input.Buf, dAtA...) + } else { + input.Buf = dAtA + } + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { + x := input.Message.Interface().(*GetTopicLastReputerCommitInfoRequest) + if x == nil { + return protoiface.UnmarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Flags: input.Flags, + }, nil + } + options := runtime.UnmarshalInputToOptions(input) + _ = options + dAtA := input.Buf + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: GetTopicLastReputerCommitInfoRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: GetTopicLastReputerCommitInfoRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field TopicId", wireType) + } + x.TopicId = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + x.TopicId |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + default: + iNdEx = preIndex + skippy, err := runtime.Skip(dAtA[iNdEx:]) + if err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if (iNdEx + skippy) > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + if !options.DiscardUnknown { + x.unknownFields = append(x.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + } + iNdEx += skippy + } + } + + if iNdEx > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, nil + } + return &protoiface.Methods{ + NoUnkeyedLiterals: struct{}{}, + Flags: protoiface.SupportMarshalDeterministic | protoiface.SupportUnmarshalDiscardUnknown, + Size: size, + Marshal: marshal, + Unmarshal: unmarshal, + Merge: nil, + CheckInitialized: nil, + } +} + +var ( + md_GetTopicLastReputerCommitInfoResponse protoreflect.MessageDescriptor + fd_GetTopicLastReputerCommitInfoResponse_last_commit protoreflect.FieldDescriptor +) + +func init() { + file_emissions_v8_query_proto_init() + md_GetTopicLastReputerCommitInfoResponse = File_emissions_v8_query_proto.Messages().ByName("GetTopicLastReputerCommitInfoResponse") + fd_GetTopicLastReputerCommitInfoResponse_last_commit = md_GetTopicLastReputerCommitInfoResponse.Fields().ByName("last_commit") +} + +var _ protoreflect.Message = (*fastReflection_GetTopicLastReputerCommitInfoResponse)(nil) + +type fastReflection_GetTopicLastReputerCommitInfoResponse GetTopicLastReputerCommitInfoResponse + +func (x *GetTopicLastReputerCommitInfoResponse) ProtoReflect() protoreflect.Message { + return (*fastReflection_GetTopicLastReputerCommitInfoResponse)(x) +} + +func (x *GetTopicLastReputerCommitInfoResponse) slowProtoReflect() protoreflect.Message { + mi := &file_emissions_v8_query_proto_msgTypes[129] + 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) +} + +var _fastReflection_GetTopicLastReputerCommitInfoResponse_messageType fastReflection_GetTopicLastReputerCommitInfoResponse_messageType +var _ protoreflect.MessageType = fastReflection_GetTopicLastReputerCommitInfoResponse_messageType{} + +type fastReflection_GetTopicLastReputerCommitInfoResponse_messageType struct{} + +func (x fastReflection_GetTopicLastReputerCommitInfoResponse_messageType) Zero() protoreflect.Message { + return (*fastReflection_GetTopicLastReputerCommitInfoResponse)(nil) +} +func (x fastReflection_GetTopicLastReputerCommitInfoResponse_messageType) New() protoreflect.Message { + return new(fastReflection_GetTopicLastReputerCommitInfoResponse) +} +func (x fastReflection_GetTopicLastReputerCommitInfoResponse_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_GetTopicLastReputerCommitInfoResponse +} + +// Descriptor returns message descriptor, which contains only the protobuf +// type information for the message. +func (x *fastReflection_GetTopicLastReputerCommitInfoResponse) Descriptor() protoreflect.MessageDescriptor { + return md_GetTopicLastReputerCommitInfoResponse +} + +// Type returns the message type, which encapsulates both Go and protobuf +// type information. If the Go type information is not needed, +// it is recommended that the message descriptor be used instead. +func (x *fastReflection_GetTopicLastReputerCommitInfoResponse) Type() protoreflect.MessageType { + return _fastReflection_GetTopicLastReputerCommitInfoResponse_messageType +} + +// New returns a newly allocated and mutable empty message. +func (x *fastReflection_GetTopicLastReputerCommitInfoResponse) New() protoreflect.Message { + return new(fastReflection_GetTopicLastReputerCommitInfoResponse) +} + +// Interface unwraps the message reflection interface and +// returns the underlying ProtoMessage interface. +func (x *fastReflection_GetTopicLastReputerCommitInfoResponse) Interface() protoreflect.ProtoMessage { + return (*GetTopicLastReputerCommitInfoResponse)(x) +} + +// Range iterates over every populated field in an undefined order, +// calling f for each field descriptor and value encountered. +// Range returns immediately if f returns false. +// While iterating, mutating operations may only be performed +// on the current field descriptor. +func (x *fastReflection_GetTopicLastReputerCommitInfoResponse) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { + if x.LastCommit != nil { + value := protoreflect.ValueOfMessage(x.LastCommit.ProtoReflect()) + if !f(fd_GetTopicLastReputerCommitInfoResponse_last_commit, value) { + return + } + } +} + +// Has reports whether a field is populated. +// +// Some fields have the property of nullability where it is possible to +// distinguish between the default value of a field and whether the field +// was explicitly populated with the default value. Singular message fields, +// member fields of a oneof, and proto2 scalar fields are nullable. Such +// fields are populated only if explicitly set. +// +// In other cases (aside from the nullable cases above), +// a proto3 scalar field is populated if it contains a non-zero value, and +// a repeated field is populated if it is non-empty. +func (x *fastReflection_GetTopicLastReputerCommitInfoResponse) Has(fd protoreflect.FieldDescriptor) bool { + switch fd.FullName() { + case "emissions.v8.GetTopicLastReputerCommitInfoResponse.last_commit": + return x.LastCommit != nil + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetTopicLastReputerCommitInfoResponse")) + } + panic(fmt.Errorf("message emissions.v8.GetTopicLastReputerCommitInfoResponse does not contain field %s", fd.FullName())) + } +} + +// Clear clears the field such that a subsequent Has call reports false. +// +// Clearing an extension field clears both the extension type and value +// associated with the given field number. +// +// Clear is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetTopicLastReputerCommitInfoResponse) Clear(fd protoreflect.FieldDescriptor) { + switch fd.FullName() { + case "emissions.v8.GetTopicLastReputerCommitInfoResponse.last_commit": + x.LastCommit = nil + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetTopicLastReputerCommitInfoResponse")) + } + panic(fmt.Errorf("message emissions.v8.GetTopicLastReputerCommitInfoResponse does not contain field %s", fd.FullName())) + } +} + +// Get retrieves the value for a field. +// +// For unpopulated scalars, it returns the default value, where +// the default value of a bytes scalar is guaranteed to be a copy. +// For unpopulated composite types, it returns an empty, read-only view +// of the value; to obtain a mutable reference, use Mutable. +func (x *fastReflection_GetTopicLastReputerCommitInfoResponse) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { + switch descriptor.FullName() { + case "emissions.v8.GetTopicLastReputerCommitInfoResponse.last_commit": + value := x.LastCommit + return protoreflect.ValueOfMessage(value.ProtoReflect()) + default: + if descriptor.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetTopicLastReputerCommitInfoResponse")) + } + panic(fmt.Errorf("message emissions.v8.GetTopicLastReputerCommitInfoResponse does not contain field %s", descriptor.FullName())) + } +} + +// Set stores the value for a field. +// +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType. +// When setting a composite type, it is unspecified whether the stored value +// aliases the source's memory in any way. If the composite value is an +// empty, read-only value, then it panics. +// +// Set is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetTopicLastReputerCommitInfoResponse) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { + switch fd.FullName() { + case "emissions.v8.GetTopicLastReputerCommitInfoResponse.last_commit": + x.LastCommit = value.Message().Interface().(*v3.TimestampedActorNonce) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetTopicLastReputerCommitInfoResponse")) + } + panic(fmt.Errorf("message emissions.v8.GetTopicLastReputerCommitInfoResponse does not contain field %s", fd.FullName())) + } +} + +// Mutable returns a mutable reference to a composite type. +// +// If the field is unpopulated, it may allocate a composite value. +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType +// if not already stored. +// It panics if the field does not contain a composite type. +// +// Mutable is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetTopicLastReputerCommitInfoResponse) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.GetTopicLastReputerCommitInfoResponse.last_commit": + if x.LastCommit == nil { + x.LastCommit = new(v3.TimestampedActorNonce) + } + return protoreflect.ValueOfMessage(x.LastCommit.ProtoReflect()) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetTopicLastReputerCommitInfoResponse")) + } + panic(fmt.Errorf("message emissions.v8.GetTopicLastReputerCommitInfoResponse does not contain field %s", fd.FullName())) + } +} + +// NewField returns a new value that is assignable to the field +// for the given descriptor. For scalars, this returns the default value. +// For lists, maps, and messages, this returns a new, empty, mutable value. +func (x *fastReflection_GetTopicLastReputerCommitInfoResponse) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.GetTopicLastReputerCommitInfoResponse.last_commit": + m := new(v3.TimestampedActorNonce) + return protoreflect.ValueOfMessage(m.ProtoReflect()) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetTopicLastReputerCommitInfoResponse")) + } + panic(fmt.Errorf("message emissions.v8.GetTopicLastReputerCommitInfoResponse does not contain field %s", fd.FullName())) + } +} + +// WhichOneof reports which field within the oneof is populated, +// returning nil if none are populated. +// It panics if the oneof descriptor does not belong to this message. +func (x *fastReflection_GetTopicLastReputerCommitInfoResponse) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { + switch d.FullName() { + default: + panic(fmt.Errorf("%s is not a oneof field in emissions.v8.GetTopicLastReputerCommitInfoResponse", d.FullName())) + } + panic("unreachable") +} + +// GetUnknown retrieves the entire list of unknown fields. +// The caller may only mutate the contents of the RawFields +// if the mutated bytes are stored back into the message with SetUnknown. +func (x *fastReflection_GetTopicLastReputerCommitInfoResponse) GetUnknown() protoreflect.RawFields { + return x.unknownFields +} + +// SetUnknown stores an entire list of unknown fields. +// The raw fields must be syntactically valid according to the wire format. +// An implementation may panic if this is not the case. +// Once stored, the caller must not mutate the content of the RawFields. +// An empty RawFields may be passed to clear the fields. +// +// SetUnknown is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetTopicLastReputerCommitInfoResponse) SetUnknown(fields protoreflect.RawFields) { + x.unknownFields = fields +} + +// IsValid reports whether the message is valid. +// +// An invalid message is an empty, read-only value. +// +// An invalid message often corresponds to a nil pointer of the concrete +// message type, but the details are implementation dependent. +// Validity is not part of the protobuf data model, and may not +// be preserved in marshaling or other operations. +func (x *fastReflection_GetTopicLastReputerCommitInfoResponse) IsValid() bool { + return x != nil +} + +// ProtoMethods returns optional fastReflectionFeature-path implementations of various operations. +// This method may return nil. +// +// The returned methods type is identical to +// "google.golang.org/protobuf/runtime/protoiface".Methods. +// Consult the protoiface package documentation for details. +func (x *fastReflection_GetTopicLastReputerCommitInfoResponse) ProtoMethods() *protoiface.Methods { + size := func(input protoiface.SizeInput) protoiface.SizeOutput { + x := input.Message.Interface().(*GetTopicLastReputerCommitInfoResponse) + if x == nil { + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: 0, + } + } + options := runtime.SizeInputToOptions(input) + _ = options + var n int + var l int + _ = l + if x.LastCommit != nil { + l = options.Size(x.LastCommit) + n += 1 + l + runtime.Sov(uint64(l)) + } + if x.unknownFields != nil { + n += len(x.unknownFields) + } + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: n, + } + } + + marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { + x := input.Message.Interface().(*GetTopicLastReputerCommitInfoResponse) + if x == nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + options := runtime.MarshalInputToOptions(input) + _ = options + size := options.Size(x) + dAtA := make([]byte, size) + i := len(dAtA) + _ = i + var l int + _ = l + if x.unknownFields != nil { + i -= len(x.unknownFields) + copy(dAtA[i:], x.unknownFields) + } + if x.LastCommit != nil { + encoded, err := options.Marshal(x.LastCommit) + if err != nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = runtime.EncodeVarint(dAtA, i, uint64(len(encoded))) + i-- + dAtA[i] = 0xa + } + if input.Buf != nil { + input.Buf = append(input.Buf, dAtA...) + } else { + input.Buf = dAtA + } + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { + x := input.Message.Interface().(*GetTopicLastReputerCommitInfoResponse) + if x == nil { + return protoiface.UnmarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Flags: input.Flags, + }, nil + } + options := runtime.UnmarshalInputToOptions(input) + _ = options + dAtA := input.Buf + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: GetTopicLastReputerCommitInfoResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: GetTopicLastReputerCommitInfoResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field LastCommit", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + if x.LastCommit == nil { + x.LastCommit = &v3.TimestampedActorNonce{} + } + if err := options.Unmarshal(dAtA[iNdEx:postIndex], x.LastCommit); err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := runtime.Skip(dAtA[iNdEx:]) + if err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if (iNdEx + skippy) > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + if !options.DiscardUnknown { + x.unknownFields = append(x.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + } + iNdEx += skippy + } + } + + if iNdEx > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, nil + } + return &protoiface.Methods{ + NoUnkeyedLiterals: struct{}{}, + Flags: protoiface.SupportMarshalDeterministic | protoiface.SupportUnmarshalDiscardUnknown, + Size: size, + Marshal: marshal, + Unmarshal: unmarshal, + Merge: nil, + CheckInitialized: nil, + } +} + +var ( + md_GetTopicRewardNonceRequest protoreflect.MessageDescriptor + fd_GetTopicRewardNonceRequest_topic_id protoreflect.FieldDescriptor +) + +func init() { + file_emissions_v8_query_proto_init() + md_GetTopicRewardNonceRequest = File_emissions_v8_query_proto.Messages().ByName("GetTopicRewardNonceRequest") + fd_GetTopicRewardNonceRequest_topic_id = md_GetTopicRewardNonceRequest.Fields().ByName("topic_id") +} + +var _ protoreflect.Message = (*fastReflection_GetTopicRewardNonceRequest)(nil) + +type fastReflection_GetTopicRewardNonceRequest GetTopicRewardNonceRequest + +func (x *GetTopicRewardNonceRequest) ProtoReflect() protoreflect.Message { + return (*fastReflection_GetTopicRewardNonceRequest)(x) +} + +func (x *GetTopicRewardNonceRequest) slowProtoReflect() protoreflect.Message { + mi := &file_emissions_v8_query_proto_msgTypes[130] + 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) +} + +var _fastReflection_GetTopicRewardNonceRequest_messageType fastReflection_GetTopicRewardNonceRequest_messageType +var _ protoreflect.MessageType = fastReflection_GetTopicRewardNonceRequest_messageType{} + +type fastReflection_GetTopicRewardNonceRequest_messageType struct{} + +func (x fastReflection_GetTopicRewardNonceRequest_messageType) Zero() protoreflect.Message { + return (*fastReflection_GetTopicRewardNonceRequest)(nil) +} +func (x fastReflection_GetTopicRewardNonceRequest_messageType) New() protoreflect.Message { + return new(fastReflection_GetTopicRewardNonceRequest) +} +func (x fastReflection_GetTopicRewardNonceRequest_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_GetTopicRewardNonceRequest +} + +// Descriptor returns message descriptor, which contains only the protobuf +// type information for the message. +func (x *fastReflection_GetTopicRewardNonceRequest) Descriptor() protoreflect.MessageDescriptor { + return md_GetTopicRewardNonceRequest +} + +// Type returns the message type, which encapsulates both Go and protobuf +// type information. If the Go type information is not needed, +// it is recommended that the message descriptor be used instead. +func (x *fastReflection_GetTopicRewardNonceRequest) Type() protoreflect.MessageType { + return _fastReflection_GetTopicRewardNonceRequest_messageType +} + +// New returns a newly allocated and mutable empty message. +func (x *fastReflection_GetTopicRewardNonceRequest) New() protoreflect.Message { + return new(fastReflection_GetTopicRewardNonceRequest) +} + +// Interface unwraps the message reflection interface and +// returns the underlying ProtoMessage interface. +func (x *fastReflection_GetTopicRewardNonceRequest) Interface() protoreflect.ProtoMessage { + return (*GetTopicRewardNonceRequest)(x) +} + +// Range iterates over every populated field in an undefined order, +// calling f for each field descriptor and value encountered. +// Range returns immediately if f returns false. +// While iterating, mutating operations may only be performed +// on the current field descriptor. +func (x *fastReflection_GetTopicRewardNonceRequest) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { + if x.TopicId != uint64(0) { + value := protoreflect.ValueOfUint64(x.TopicId) + if !f(fd_GetTopicRewardNonceRequest_topic_id, value) { + return + } + } +} + +// Has reports whether a field is populated. +// +// Some fields have the property of nullability where it is possible to +// distinguish between the default value of a field and whether the field +// was explicitly populated with the default value. Singular message fields, +// member fields of a oneof, and proto2 scalar fields are nullable. Such +// fields are populated only if explicitly set. +// +// In other cases (aside from the nullable cases above), +// a proto3 scalar field is populated if it contains a non-zero value, and +// a repeated field is populated if it is non-empty. +func (x *fastReflection_GetTopicRewardNonceRequest) Has(fd protoreflect.FieldDescriptor) bool { + switch fd.FullName() { + case "emissions.v8.GetTopicRewardNonceRequest.topic_id": + return x.TopicId != uint64(0) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetTopicRewardNonceRequest")) + } + panic(fmt.Errorf("message emissions.v8.GetTopicRewardNonceRequest does not contain field %s", fd.FullName())) + } +} + +// Clear clears the field such that a subsequent Has call reports false. +// +// Clearing an extension field clears both the extension type and value +// associated with the given field number. +// +// Clear is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetTopicRewardNonceRequest) Clear(fd protoreflect.FieldDescriptor) { + switch fd.FullName() { + case "emissions.v8.GetTopicRewardNonceRequest.topic_id": + x.TopicId = uint64(0) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetTopicRewardNonceRequest")) + } + panic(fmt.Errorf("message emissions.v8.GetTopicRewardNonceRequest does not contain field %s", fd.FullName())) + } +} + +// Get retrieves the value for a field. +// +// For unpopulated scalars, it returns the default value, where +// the default value of a bytes scalar is guaranteed to be a copy. +// For unpopulated composite types, it returns an empty, read-only view +// of the value; to obtain a mutable reference, use Mutable. +func (x *fastReflection_GetTopicRewardNonceRequest) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { + switch descriptor.FullName() { + case "emissions.v8.GetTopicRewardNonceRequest.topic_id": + value := x.TopicId + return protoreflect.ValueOfUint64(value) + default: + if descriptor.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetTopicRewardNonceRequest")) + } + panic(fmt.Errorf("message emissions.v8.GetTopicRewardNonceRequest does not contain field %s", descriptor.FullName())) + } +} + +// Set stores the value for a field. +// +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType. +// When setting a composite type, it is unspecified whether the stored value +// aliases the source's memory in any way. If the composite value is an +// empty, read-only value, then it panics. +// +// Set is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetTopicRewardNonceRequest) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { + switch fd.FullName() { + case "emissions.v8.GetTopicRewardNonceRequest.topic_id": + x.TopicId = value.Uint() + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetTopicRewardNonceRequest")) + } + panic(fmt.Errorf("message emissions.v8.GetTopicRewardNonceRequest does not contain field %s", fd.FullName())) + } +} + +// Mutable returns a mutable reference to a composite type. +// +// If the field is unpopulated, it may allocate a composite value. +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType +// if not already stored. +// It panics if the field does not contain a composite type. +// +// Mutable is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetTopicRewardNonceRequest) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.GetTopicRewardNonceRequest.topic_id": + panic(fmt.Errorf("field topic_id of message emissions.v8.GetTopicRewardNonceRequest is not mutable")) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetTopicRewardNonceRequest")) + } + panic(fmt.Errorf("message emissions.v8.GetTopicRewardNonceRequest does not contain field %s", fd.FullName())) + } +} + +// NewField returns a new value that is assignable to the field +// for the given descriptor. For scalars, this returns the default value. +// For lists, maps, and messages, this returns a new, empty, mutable value. +func (x *fastReflection_GetTopicRewardNonceRequest) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.GetTopicRewardNonceRequest.topic_id": + return protoreflect.ValueOfUint64(uint64(0)) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetTopicRewardNonceRequest")) + } + panic(fmt.Errorf("message emissions.v8.GetTopicRewardNonceRequest does not contain field %s", fd.FullName())) + } +} + +// WhichOneof reports which field within the oneof is populated, +// returning nil if none are populated. +// It panics if the oneof descriptor does not belong to this message. +func (x *fastReflection_GetTopicRewardNonceRequest) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { + switch d.FullName() { + default: + panic(fmt.Errorf("%s is not a oneof field in emissions.v8.GetTopicRewardNonceRequest", d.FullName())) + } + panic("unreachable") +} + +// GetUnknown retrieves the entire list of unknown fields. +// The caller may only mutate the contents of the RawFields +// if the mutated bytes are stored back into the message with SetUnknown. +func (x *fastReflection_GetTopicRewardNonceRequest) GetUnknown() protoreflect.RawFields { + return x.unknownFields +} + +// SetUnknown stores an entire list of unknown fields. +// The raw fields must be syntactically valid according to the wire format. +// An implementation may panic if this is not the case. +// Once stored, the caller must not mutate the content of the RawFields. +// An empty RawFields may be passed to clear the fields. +// +// SetUnknown is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetTopicRewardNonceRequest) SetUnknown(fields protoreflect.RawFields) { + x.unknownFields = fields +} + +// IsValid reports whether the message is valid. +// +// An invalid message is an empty, read-only value. +// +// An invalid message often corresponds to a nil pointer of the concrete +// message type, but the details are implementation dependent. +// Validity is not part of the protobuf data model, and may not +// be preserved in marshaling or other operations. +func (x *fastReflection_GetTopicRewardNonceRequest) IsValid() bool { + return x != nil +} + +// ProtoMethods returns optional fastReflectionFeature-path implementations of various operations. +// This method may return nil. +// +// The returned methods type is identical to +// "google.golang.org/protobuf/runtime/protoiface".Methods. +// Consult the protoiface package documentation for details. +func (x *fastReflection_GetTopicRewardNonceRequest) ProtoMethods() *protoiface.Methods { + size := func(input protoiface.SizeInput) protoiface.SizeOutput { + x := input.Message.Interface().(*GetTopicRewardNonceRequest) + if x == nil { + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: 0, + } + } + options := runtime.SizeInputToOptions(input) + _ = options + var n int + var l int + _ = l + if x.TopicId != 0 { + n += 1 + runtime.Sov(uint64(x.TopicId)) + } + if x.unknownFields != nil { + n += len(x.unknownFields) + } + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: n, + } + } + + marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { + x := input.Message.Interface().(*GetTopicRewardNonceRequest) + if x == nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + options := runtime.MarshalInputToOptions(input) + _ = options + size := options.Size(x) + dAtA := make([]byte, size) + i := len(dAtA) + _ = i + var l int + _ = l + if x.unknownFields != nil { + i -= len(x.unknownFields) + copy(dAtA[i:], x.unknownFields) + } + if x.TopicId != 0 { + i = runtime.EncodeVarint(dAtA, i, uint64(x.TopicId)) + i-- + dAtA[i] = 0x8 + } + if input.Buf != nil { + input.Buf = append(input.Buf, dAtA...) + } else { + input.Buf = dAtA + } + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { + x := input.Message.Interface().(*GetTopicRewardNonceRequest) + if x == nil { + return protoiface.UnmarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Flags: input.Flags, + }, nil + } + options := runtime.UnmarshalInputToOptions(input) + _ = options + dAtA := input.Buf + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: GetTopicRewardNonceRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: GetTopicRewardNonceRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field TopicId", wireType) + } + x.TopicId = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + x.TopicId |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + default: + iNdEx = preIndex + skippy, err := runtime.Skip(dAtA[iNdEx:]) + if err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if (iNdEx + skippy) > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + if !options.DiscardUnknown { + x.unknownFields = append(x.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + } + iNdEx += skippy + } + } + + if iNdEx > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, nil + } + return &protoiface.Methods{ + NoUnkeyedLiterals: struct{}{}, + Flags: protoiface.SupportMarshalDeterministic | protoiface.SupportUnmarshalDiscardUnknown, + Size: size, + Marshal: marshal, + Unmarshal: unmarshal, + Merge: nil, + CheckInitialized: nil, + } +} + +var ( + md_GetTopicRewardNonceResponse protoreflect.MessageDescriptor + fd_GetTopicRewardNonceResponse_nonce protoreflect.FieldDescriptor +) + +func init() { + file_emissions_v8_query_proto_init() + md_GetTopicRewardNonceResponse = File_emissions_v8_query_proto.Messages().ByName("GetTopicRewardNonceResponse") + fd_GetTopicRewardNonceResponse_nonce = md_GetTopicRewardNonceResponse.Fields().ByName("nonce") +} + +var _ protoreflect.Message = (*fastReflection_GetTopicRewardNonceResponse)(nil) + +type fastReflection_GetTopicRewardNonceResponse GetTopicRewardNonceResponse + +func (x *GetTopicRewardNonceResponse) ProtoReflect() protoreflect.Message { + return (*fastReflection_GetTopicRewardNonceResponse)(x) +} + +func (x *GetTopicRewardNonceResponse) slowProtoReflect() protoreflect.Message { + mi := &file_emissions_v8_query_proto_msgTypes[131] + 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) +} + +var _fastReflection_GetTopicRewardNonceResponse_messageType fastReflection_GetTopicRewardNonceResponse_messageType +var _ protoreflect.MessageType = fastReflection_GetTopicRewardNonceResponse_messageType{} + +type fastReflection_GetTopicRewardNonceResponse_messageType struct{} + +func (x fastReflection_GetTopicRewardNonceResponse_messageType) Zero() protoreflect.Message { + return (*fastReflection_GetTopicRewardNonceResponse)(nil) +} +func (x fastReflection_GetTopicRewardNonceResponse_messageType) New() protoreflect.Message { + return new(fastReflection_GetTopicRewardNonceResponse) +} +func (x fastReflection_GetTopicRewardNonceResponse_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_GetTopicRewardNonceResponse +} + +// Descriptor returns message descriptor, which contains only the protobuf +// type information for the message. +func (x *fastReflection_GetTopicRewardNonceResponse) Descriptor() protoreflect.MessageDescriptor { + return md_GetTopicRewardNonceResponse +} + +// Type returns the message type, which encapsulates both Go and protobuf +// type information. If the Go type information is not needed, +// it is recommended that the message descriptor be used instead. +func (x *fastReflection_GetTopicRewardNonceResponse) Type() protoreflect.MessageType { + return _fastReflection_GetTopicRewardNonceResponse_messageType +} + +// New returns a newly allocated and mutable empty message. +func (x *fastReflection_GetTopicRewardNonceResponse) New() protoreflect.Message { + return new(fastReflection_GetTopicRewardNonceResponse) +} + +// Interface unwraps the message reflection interface and +// returns the underlying ProtoMessage interface. +func (x *fastReflection_GetTopicRewardNonceResponse) Interface() protoreflect.ProtoMessage { + return (*GetTopicRewardNonceResponse)(x) +} + +// Range iterates over every populated field in an undefined order, +// calling f for each field descriptor and value encountered. +// Range returns immediately if f returns false. +// While iterating, mutating operations may only be performed +// on the current field descriptor. +func (x *fastReflection_GetTopicRewardNonceResponse) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { + if x.Nonce != int64(0) { + value := protoreflect.ValueOfInt64(x.Nonce) + if !f(fd_GetTopicRewardNonceResponse_nonce, value) { + return + } + } +} + +// Has reports whether a field is populated. +// +// Some fields have the property of nullability where it is possible to +// distinguish between the default value of a field and whether the field +// was explicitly populated with the default value. Singular message fields, +// member fields of a oneof, and proto2 scalar fields are nullable. Such +// fields are populated only if explicitly set. +// +// In other cases (aside from the nullable cases above), +// a proto3 scalar field is populated if it contains a non-zero value, and +// a repeated field is populated if it is non-empty. +func (x *fastReflection_GetTopicRewardNonceResponse) Has(fd protoreflect.FieldDescriptor) bool { + switch fd.FullName() { + case "emissions.v8.GetTopicRewardNonceResponse.nonce": + return x.Nonce != int64(0) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetTopicRewardNonceResponse")) + } + panic(fmt.Errorf("message emissions.v8.GetTopicRewardNonceResponse does not contain field %s", fd.FullName())) + } +} + +// Clear clears the field such that a subsequent Has call reports false. +// +// Clearing an extension field clears both the extension type and value +// associated with the given field number. +// +// Clear is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetTopicRewardNonceResponse) Clear(fd protoreflect.FieldDescriptor) { + switch fd.FullName() { + case "emissions.v8.GetTopicRewardNonceResponse.nonce": + x.Nonce = int64(0) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetTopicRewardNonceResponse")) + } + panic(fmt.Errorf("message emissions.v8.GetTopicRewardNonceResponse does not contain field %s", fd.FullName())) + } +} + +// Get retrieves the value for a field. +// +// For unpopulated scalars, it returns the default value, where +// the default value of a bytes scalar is guaranteed to be a copy. +// For unpopulated composite types, it returns an empty, read-only view +// of the value; to obtain a mutable reference, use Mutable. +func (x *fastReflection_GetTopicRewardNonceResponse) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { + switch descriptor.FullName() { + case "emissions.v8.GetTopicRewardNonceResponse.nonce": + value := x.Nonce + return protoreflect.ValueOfInt64(value) + default: + if descriptor.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetTopicRewardNonceResponse")) + } + panic(fmt.Errorf("message emissions.v8.GetTopicRewardNonceResponse does not contain field %s", descriptor.FullName())) + } +} + +// Set stores the value for a field. +// +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType. +// When setting a composite type, it is unspecified whether the stored value +// aliases the source's memory in any way. If the composite value is an +// empty, read-only value, then it panics. +// +// Set is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetTopicRewardNonceResponse) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { + switch fd.FullName() { + case "emissions.v8.GetTopicRewardNonceResponse.nonce": + x.Nonce = value.Int() + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetTopicRewardNonceResponse")) + } + panic(fmt.Errorf("message emissions.v8.GetTopicRewardNonceResponse does not contain field %s", fd.FullName())) + } +} + +// Mutable returns a mutable reference to a composite type. +// +// If the field is unpopulated, it may allocate a composite value. +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType +// if not already stored. +// It panics if the field does not contain a composite type. +// +// Mutable is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetTopicRewardNonceResponse) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.GetTopicRewardNonceResponse.nonce": + panic(fmt.Errorf("field nonce of message emissions.v8.GetTopicRewardNonceResponse is not mutable")) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetTopicRewardNonceResponse")) + } + panic(fmt.Errorf("message emissions.v8.GetTopicRewardNonceResponse does not contain field %s", fd.FullName())) + } +} + +// NewField returns a new value that is assignable to the field +// for the given descriptor. For scalars, this returns the default value. +// For lists, maps, and messages, this returns a new, empty, mutable value. +func (x *fastReflection_GetTopicRewardNonceResponse) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.GetTopicRewardNonceResponse.nonce": + return protoreflect.ValueOfInt64(int64(0)) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetTopicRewardNonceResponse")) + } + panic(fmt.Errorf("message emissions.v8.GetTopicRewardNonceResponse does not contain field %s", fd.FullName())) + } +} + +// WhichOneof reports which field within the oneof is populated, +// returning nil if none are populated. +// It panics if the oneof descriptor does not belong to this message. +func (x *fastReflection_GetTopicRewardNonceResponse) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { + switch d.FullName() { + default: + panic(fmt.Errorf("%s is not a oneof field in emissions.v8.GetTopicRewardNonceResponse", d.FullName())) + } + panic("unreachable") +} + +// GetUnknown retrieves the entire list of unknown fields. +// The caller may only mutate the contents of the RawFields +// if the mutated bytes are stored back into the message with SetUnknown. +func (x *fastReflection_GetTopicRewardNonceResponse) GetUnknown() protoreflect.RawFields { + return x.unknownFields +} + +// SetUnknown stores an entire list of unknown fields. +// The raw fields must be syntactically valid according to the wire format. +// An implementation may panic if this is not the case. +// Once stored, the caller must not mutate the content of the RawFields. +// An empty RawFields may be passed to clear the fields. +// +// SetUnknown is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetTopicRewardNonceResponse) SetUnknown(fields protoreflect.RawFields) { + x.unknownFields = fields +} + +// IsValid reports whether the message is valid. +// +// An invalid message is an empty, read-only value. +// +// An invalid message often corresponds to a nil pointer of the concrete +// message type, but the details are implementation dependent. +// Validity is not part of the protobuf data model, and may not +// be preserved in marshaling or other operations. +func (x *fastReflection_GetTopicRewardNonceResponse) IsValid() bool { + return x != nil +} + +// ProtoMethods returns optional fastReflectionFeature-path implementations of various operations. +// This method may return nil. +// +// The returned methods type is identical to +// "google.golang.org/protobuf/runtime/protoiface".Methods. +// Consult the protoiface package documentation for details. +func (x *fastReflection_GetTopicRewardNonceResponse) ProtoMethods() *protoiface.Methods { + size := func(input protoiface.SizeInput) protoiface.SizeOutput { + x := input.Message.Interface().(*GetTopicRewardNonceResponse) + if x == nil { + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: 0, + } + } + options := runtime.SizeInputToOptions(input) + _ = options + var n int + var l int + _ = l + if x.Nonce != 0 { + n += 1 + runtime.Sov(uint64(x.Nonce)) + } + if x.unknownFields != nil { + n += len(x.unknownFields) + } + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: n, + } + } + + marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { + x := input.Message.Interface().(*GetTopicRewardNonceResponse) + if x == nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + options := runtime.MarshalInputToOptions(input) + _ = options + size := options.Size(x) + dAtA := make([]byte, size) + i := len(dAtA) + _ = i + var l int + _ = l + if x.unknownFields != nil { + i -= len(x.unknownFields) + copy(dAtA[i:], x.unknownFields) + } + if x.Nonce != 0 { + i = runtime.EncodeVarint(dAtA, i, uint64(x.Nonce)) + i-- + dAtA[i] = 0x8 + } + if input.Buf != nil { + input.Buf = append(input.Buf, dAtA...) + } else { + input.Buf = dAtA + } + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { + x := input.Message.Interface().(*GetTopicRewardNonceResponse) + if x == nil { + return protoiface.UnmarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Flags: input.Flags, + }, nil + } + options := runtime.UnmarshalInputToOptions(input) + _ = options + dAtA := input.Buf + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: GetTopicRewardNonceResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: GetTopicRewardNonceResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Nonce", wireType) + } + x.Nonce = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + x.Nonce |= int64(b&0x7F) << shift + if b < 0x80 { + break + } + } + default: + iNdEx = preIndex + skippy, err := runtime.Skip(dAtA[iNdEx:]) + if err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if (iNdEx + skippy) > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + if !options.DiscardUnknown { + x.unknownFields = append(x.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + } + iNdEx += skippy + } + } + + if iNdEx > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, nil + } + return &protoiface.Methods{ + NoUnkeyedLiterals: struct{}{}, + Flags: protoiface.SupportMarshalDeterministic | protoiface.SupportUnmarshalDiscardUnknown, + Size: size, + Marshal: marshal, + Unmarshal: unmarshal, + Merge: nil, + CheckInitialized: nil, + } +} + +var ( + md_GetReputerLossBundlesAtBlockRequest protoreflect.MessageDescriptor + fd_GetReputerLossBundlesAtBlockRequest_topic_id protoreflect.FieldDescriptor + fd_GetReputerLossBundlesAtBlockRequest_block_height protoreflect.FieldDescriptor +) + +func init() { + file_emissions_v8_query_proto_init() + md_GetReputerLossBundlesAtBlockRequest = File_emissions_v8_query_proto.Messages().ByName("GetReputerLossBundlesAtBlockRequest") + fd_GetReputerLossBundlesAtBlockRequest_topic_id = md_GetReputerLossBundlesAtBlockRequest.Fields().ByName("topic_id") + fd_GetReputerLossBundlesAtBlockRequest_block_height = md_GetReputerLossBundlesAtBlockRequest.Fields().ByName("block_height") +} + +var _ protoreflect.Message = (*fastReflection_GetReputerLossBundlesAtBlockRequest)(nil) + +type fastReflection_GetReputerLossBundlesAtBlockRequest GetReputerLossBundlesAtBlockRequest + +func (x *GetReputerLossBundlesAtBlockRequest) ProtoReflect() protoreflect.Message { + return (*fastReflection_GetReputerLossBundlesAtBlockRequest)(x) +} + +func (x *GetReputerLossBundlesAtBlockRequest) slowProtoReflect() protoreflect.Message { + mi := &file_emissions_v8_query_proto_msgTypes[132] + 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) +} + +var _fastReflection_GetReputerLossBundlesAtBlockRequest_messageType fastReflection_GetReputerLossBundlesAtBlockRequest_messageType +var _ protoreflect.MessageType = fastReflection_GetReputerLossBundlesAtBlockRequest_messageType{} + +type fastReflection_GetReputerLossBundlesAtBlockRequest_messageType struct{} + +func (x fastReflection_GetReputerLossBundlesAtBlockRequest_messageType) Zero() protoreflect.Message { + return (*fastReflection_GetReputerLossBundlesAtBlockRequest)(nil) +} +func (x fastReflection_GetReputerLossBundlesAtBlockRequest_messageType) New() protoreflect.Message { + return new(fastReflection_GetReputerLossBundlesAtBlockRequest) +} +func (x fastReflection_GetReputerLossBundlesAtBlockRequest_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_GetReputerLossBundlesAtBlockRequest +} + +// Descriptor returns message descriptor, which contains only the protobuf +// type information for the message. +func (x *fastReflection_GetReputerLossBundlesAtBlockRequest) Descriptor() protoreflect.MessageDescriptor { + return md_GetReputerLossBundlesAtBlockRequest +} + +// Type returns the message type, which encapsulates both Go and protobuf +// type information. If the Go type information is not needed, +// it is recommended that the message descriptor be used instead. +func (x *fastReflection_GetReputerLossBundlesAtBlockRequest) Type() protoreflect.MessageType { + return _fastReflection_GetReputerLossBundlesAtBlockRequest_messageType +} + +// New returns a newly allocated and mutable empty message. +func (x *fastReflection_GetReputerLossBundlesAtBlockRequest) New() protoreflect.Message { + return new(fastReflection_GetReputerLossBundlesAtBlockRequest) +} + +// Interface unwraps the message reflection interface and +// returns the underlying ProtoMessage interface. +func (x *fastReflection_GetReputerLossBundlesAtBlockRequest) Interface() protoreflect.ProtoMessage { + return (*GetReputerLossBundlesAtBlockRequest)(x) +} + +// Range iterates over every populated field in an undefined order, +// calling f for each field descriptor and value encountered. +// Range returns immediately if f returns false. +// While iterating, mutating operations may only be performed +// on the current field descriptor. +func (x *fastReflection_GetReputerLossBundlesAtBlockRequest) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { + if x.TopicId != uint64(0) { + value := protoreflect.ValueOfUint64(x.TopicId) + if !f(fd_GetReputerLossBundlesAtBlockRequest_topic_id, value) { + return + } + } + if x.BlockHeight != int64(0) { + value := protoreflect.ValueOfInt64(x.BlockHeight) + if !f(fd_GetReputerLossBundlesAtBlockRequest_block_height, value) { + return + } + } +} + +// Has reports whether a field is populated. +// +// Some fields have the property of nullability where it is possible to +// distinguish between the default value of a field and whether the field +// was explicitly populated with the default value. Singular message fields, +// member fields of a oneof, and proto2 scalar fields are nullable. Such +// fields are populated only if explicitly set. +// +// In other cases (aside from the nullable cases above), +// a proto3 scalar field is populated if it contains a non-zero value, and +// a repeated field is populated if it is non-empty. +func (x *fastReflection_GetReputerLossBundlesAtBlockRequest) Has(fd protoreflect.FieldDescriptor) bool { + switch fd.FullName() { + case "emissions.v8.GetReputerLossBundlesAtBlockRequest.topic_id": + return x.TopicId != uint64(0) + case "emissions.v8.GetReputerLossBundlesAtBlockRequest.block_height": + return x.BlockHeight != int64(0) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetReputerLossBundlesAtBlockRequest")) + } + panic(fmt.Errorf("message emissions.v8.GetReputerLossBundlesAtBlockRequest does not contain field %s", fd.FullName())) + } +} + +// Clear clears the field such that a subsequent Has call reports false. +// +// Clearing an extension field clears both the extension type and value +// associated with the given field number. +// +// Clear is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetReputerLossBundlesAtBlockRequest) Clear(fd protoreflect.FieldDescriptor) { + switch fd.FullName() { + case "emissions.v8.GetReputerLossBundlesAtBlockRequest.topic_id": + x.TopicId = uint64(0) + case "emissions.v8.GetReputerLossBundlesAtBlockRequest.block_height": + x.BlockHeight = int64(0) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetReputerLossBundlesAtBlockRequest")) + } + panic(fmt.Errorf("message emissions.v8.GetReputerLossBundlesAtBlockRequest does not contain field %s", fd.FullName())) + } +} + +// Get retrieves the value for a field. +// +// For unpopulated scalars, it returns the default value, where +// the default value of a bytes scalar is guaranteed to be a copy. +// For unpopulated composite types, it returns an empty, read-only view +// of the value; to obtain a mutable reference, use Mutable. +func (x *fastReflection_GetReputerLossBundlesAtBlockRequest) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { + switch descriptor.FullName() { + case "emissions.v8.GetReputerLossBundlesAtBlockRequest.topic_id": + value := x.TopicId + return protoreflect.ValueOfUint64(value) + case "emissions.v8.GetReputerLossBundlesAtBlockRequest.block_height": + value := x.BlockHeight + return protoreflect.ValueOfInt64(value) + default: + if descriptor.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetReputerLossBundlesAtBlockRequest")) + } + panic(fmt.Errorf("message emissions.v8.GetReputerLossBundlesAtBlockRequest does not contain field %s", descriptor.FullName())) + } +} + +// Set stores the value for a field. +// +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType. +// When setting a composite type, it is unspecified whether the stored value +// aliases the source's memory in any way. If the composite value is an +// empty, read-only value, then it panics. +// +// Set is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetReputerLossBundlesAtBlockRequest) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { + switch fd.FullName() { + case "emissions.v8.GetReputerLossBundlesAtBlockRequest.topic_id": + x.TopicId = value.Uint() + case "emissions.v8.GetReputerLossBundlesAtBlockRequest.block_height": + x.BlockHeight = value.Int() + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetReputerLossBundlesAtBlockRequest")) + } + panic(fmt.Errorf("message emissions.v8.GetReputerLossBundlesAtBlockRequest does not contain field %s", fd.FullName())) + } +} + +// Mutable returns a mutable reference to a composite type. +// +// If the field is unpopulated, it may allocate a composite value. +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType +// if not already stored. +// It panics if the field does not contain a composite type. +// +// Mutable is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetReputerLossBundlesAtBlockRequest) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.GetReputerLossBundlesAtBlockRequest.topic_id": + panic(fmt.Errorf("field topic_id of message emissions.v8.GetReputerLossBundlesAtBlockRequest is not mutable")) + case "emissions.v8.GetReputerLossBundlesAtBlockRequest.block_height": + panic(fmt.Errorf("field block_height of message emissions.v8.GetReputerLossBundlesAtBlockRequest is not mutable")) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetReputerLossBundlesAtBlockRequest")) + } + panic(fmt.Errorf("message emissions.v8.GetReputerLossBundlesAtBlockRequest does not contain field %s", fd.FullName())) + } +} + +// NewField returns a new value that is assignable to the field +// for the given descriptor. For scalars, this returns the default value. +// For lists, maps, and messages, this returns a new, empty, mutable value. +func (x *fastReflection_GetReputerLossBundlesAtBlockRequest) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.GetReputerLossBundlesAtBlockRequest.topic_id": + return protoreflect.ValueOfUint64(uint64(0)) + case "emissions.v8.GetReputerLossBundlesAtBlockRequest.block_height": + return protoreflect.ValueOfInt64(int64(0)) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetReputerLossBundlesAtBlockRequest")) + } + panic(fmt.Errorf("message emissions.v8.GetReputerLossBundlesAtBlockRequest does not contain field %s", fd.FullName())) + } +} + +// WhichOneof reports which field within the oneof is populated, +// returning nil if none are populated. +// It panics if the oneof descriptor does not belong to this message. +func (x *fastReflection_GetReputerLossBundlesAtBlockRequest) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { + switch d.FullName() { + default: + panic(fmt.Errorf("%s is not a oneof field in emissions.v8.GetReputerLossBundlesAtBlockRequest", d.FullName())) + } + panic("unreachable") +} + +// GetUnknown retrieves the entire list of unknown fields. +// The caller may only mutate the contents of the RawFields +// if the mutated bytes are stored back into the message with SetUnknown. +func (x *fastReflection_GetReputerLossBundlesAtBlockRequest) GetUnknown() protoreflect.RawFields { + return x.unknownFields +} + +// SetUnknown stores an entire list of unknown fields. +// The raw fields must be syntactically valid according to the wire format. +// An implementation may panic if this is not the case. +// Once stored, the caller must not mutate the content of the RawFields. +// An empty RawFields may be passed to clear the fields. +// +// SetUnknown is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetReputerLossBundlesAtBlockRequest) SetUnknown(fields protoreflect.RawFields) { + x.unknownFields = fields +} + +// IsValid reports whether the message is valid. +// +// An invalid message is an empty, read-only value. +// +// An invalid message often corresponds to a nil pointer of the concrete +// message type, but the details are implementation dependent. +// Validity is not part of the protobuf data model, and may not +// be preserved in marshaling or other operations. +func (x *fastReflection_GetReputerLossBundlesAtBlockRequest) IsValid() bool { + return x != nil +} + +// ProtoMethods returns optional fastReflectionFeature-path implementations of various operations. +// This method may return nil. +// +// The returned methods type is identical to +// "google.golang.org/protobuf/runtime/protoiface".Methods. +// Consult the protoiface package documentation for details. +func (x *fastReflection_GetReputerLossBundlesAtBlockRequest) ProtoMethods() *protoiface.Methods { + size := func(input protoiface.SizeInput) protoiface.SizeOutput { + x := input.Message.Interface().(*GetReputerLossBundlesAtBlockRequest) + if x == nil { + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: 0, + } + } + options := runtime.SizeInputToOptions(input) + _ = options + var n int + var l int + _ = l + if x.TopicId != 0 { + n += 1 + runtime.Sov(uint64(x.TopicId)) + } + if x.BlockHeight != 0 { + n += 1 + runtime.Sov(uint64(x.BlockHeight)) + } + if x.unknownFields != nil { + n += len(x.unknownFields) + } + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: n, + } + } + + marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { + x := input.Message.Interface().(*GetReputerLossBundlesAtBlockRequest) + if x == nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + options := runtime.MarshalInputToOptions(input) + _ = options + size := options.Size(x) + dAtA := make([]byte, size) + i := len(dAtA) + _ = i + var l int + _ = l + if x.unknownFields != nil { + i -= len(x.unknownFields) + copy(dAtA[i:], x.unknownFields) + } + if x.BlockHeight != 0 { + i = runtime.EncodeVarint(dAtA, i, uint64(x.BlockHeight)) + i-- + dAtA[i] = 0x10 + } + if x.TopicId != 0 { + i = runtime.EncodeVarint(dAtA, i, uint64(x.TopicId)) + i-- + dAtA[i] = 0x8 + } + if input.Buf != nil { + input.Buf = append(input.Buf, dAtA...) + } else { + input.Buf = dAtA + } + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { + x := input.Message.Interface().(*GetReputerLossBundlesAtBlockRequest) + if x == nil { + return protoiface.UnmarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Flags: input.Flags, + }, nil + } + options := runtime.UnmarshalInputToOptions(input) + _ = options + dAtA := input.Buf + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: GetReputerLossBundlesAtBlockRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: GetReputerLossBundlesAtBlockRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field TopicId", wireType) + } + x.TopicId = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + x.TopicId |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 2: + if wireType != 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field BlockHeight", wireType) + } + x.BlockHeight = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + x.BlockHeight |= int64(b&0x7F) << shift + if b < 0x80 { + break + } + } + default: + iNdEx = preIndex + skippy, err := runtime.Skip(dAtA[iNdEx:]) + if err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if (iNdEx + skippy) > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + if !options.DiscardUnknown { + x.unknownFields = append(x.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + } + iNdEx += skippy + } + } + + if iNdEx > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, nil + } + return &protoiface.Methods{ + NoUnkeyedLiterals: struct{}{}, + Flags: protoiface.SupportMarshalDeterministic | protoiface.SupportUnmarshalDiscardUnknown, + Size: size, + Marshal: marshal, + Unmarshal: unmarshal, + Merge: nil, + CheckInitialized: nil, + } +} + +var ( + md_GetReputerLossBundlesAtBlockResponse protoreflect.MessageDescriptor + fd_GetReputerLossBundlesAtBlockResponse_loss_bundles protoreflect.FieldDescriptor +) + +func init() { + file_emissions_v8_query_proto_init() + md_GetReputerLossBundlesAtBlockResponse = File_emissions_v8_query_proto.Messages().ByName("GetReputerLossBundlesAtBlockResponse") + fd_GetReputerLossBundlesAtBlockResponse_loss_bundles = md_GetReputerLossBundlesAtBlockResponse.Fields().ByName("loss_bundles") +} + +var _ protoreflect.Message = (*fastReflection_GetReputerLossBundlesAtBlockResponse)(nil) + +type fastReflection_GetReputerLossBundlesAtBlockResponse GetReputerLossBundlesAtBlockResponse + +func (x *GetReputerLossBundlesAtBlockResponse) ProtoReflect() protoreflect.Message { + return (*fastReflection_GetReputerLossBundlesAtBlockResponse)(x) +} + +func (x *GetReputerLossBundlesAtBlockResponse) slowProtoReflect() protoreflect.Message { + mi := &file_emissions_v8_query_proto_msgTypes[133] + 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) +} + +var _fastReflection_GetReputerLossBundlesAtBlockResponse_messageType fastReflection_GetReputerLossBundlesAtBlockResponse_messageType +var _ protoreflect.MessageType = fastReflection_GetReputerLossBundlesAtBlockResponse_messageType{} + +type fastReflection_GetReputerLossBundlesAtBlockResponse_messageType struct{} + +func (x fastReflection_GetReputerLossBundlesAtBlockResponse_messageType) Zero() protoreflect.Message { + return (*fastReflection_GetReputerLossBundlesAtBlockResponse)(nil) +} +func (x fastReflection_GetReputerLossBundlesAtBlockResponse_messageType) New() protoreflect.Message { + return new(fastReflection_GetReputerLossBundlesAtBlockResponse) +} +func (x fastReflection_GetReputerLossBundlesAtBlockResponse_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_GetReputerLossBundlesAtBlockResponse +} + +// Descriptor returns message descriptor, which contains only the protobuf +// type information for the message. +func (x *fastReflection_GetReputerLossBundlesAtBlockResponse) Descriptor() protoreflect.MessageDescriptor { + return md_GetReputerLossBundlesAtBlockResponse +} + +// Type returns the message type, which encapsulates both Go and protobuf +// type information. If the Go type information is not needed, +// it is recommended that the message descriptor be used instead. +func (x *fastReflection_GetReputerLossBundlesAtBlockResponse) Type() protoreflect.MessageType { + return _fastReflection_GetReputerLossBundlesAtBlockResponse_messageType +} + +// New returns a newly allocated and mutable empty message. +func (x *fastReflection_GetReputerLossBundlesAtBlockResponse) New() protoreflect.Message { + return new(fastReflection_GetReputerLossBundlesAtBlockResponse) +} + +// Interface unwraps the message reflection interface and +// returns the underlying ProtoMessage interface. +func (x *fastReflection_GetReputerLossBundlesAtBlockResponse) Interface() protoreflect.ProtoMessage { + return (*GetReputerLossBundlesAtBlockResponse)(x) +} + +// Range iterates over every populated field in an undefined order, +// calling f for each field descriptor and value encountered. +// Range returns immediately if f returns false. +// While iterating, mutating operations may only be performed +// on the current field descriptor. +func (x *fastReflection_GetReputerLossBundlesAtBlockResponse) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { + if x.LossBundles != nil { + value := protoreflect.ValueOfMessage(x.LossBundles.ProtoReflect()) + if !f(fd_GetReputerLossBundlesAtBlockResponse_loss_bundles, value) { + return + } + } +} + +// Has reports whether a field is populated. +// +// Some fields have the property of nullability where it is possible to +// distinguish between the default value of a field and whether the field +// was explicitly populated with the default value. Singular message fields, +// member fields of a oneof, and proto2 scalar fields are nullable. Such +// fields are populated only if explicitly set. +// +// In other cases (aside from the nullable cases above), +// a proto3 scalar field is populated if it contains a non-zero value, and +// a repeated field is populated if it is non-empty. +func (x *fastReflection_GetReputerLossBundlesAtBlockResponse) Has(fd protoreflect.FieldDescriptor) bool { + switch fd.FullName() { + case "emissions.v8.GetReputerLossBundlesAtBlockResponse.loss_bundles": + return x.LossBundles != nil + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetReputerLossBundlesAtBlockResponse")) + } + panic(fmt.Errorf("message emissions.v8.GetReputerLossBundlesAtBlockResponse does not contain field %s", fd.FullName())) + } +} + +// Clear clears the field such that a subsequent Has call reports false. +// +// Clearing an extension field clears both the extension type and value +// associated with the given field number. +// +// Clear is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetReputerLossBundlesAtBlockResponse) Clear(fd protoreflect.FieldDescriptor) { + switch fd.FullName() { + case "emissions.v8.GetReputerLossBundlesAtBlockResponse.loss_bundles": + x.LossBundles = nil + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetReputerLossBundlesAtBlockResponse")) + } + panic(fmt.Errorf("message emissions.v8.GetReputerLossBundlesAtBlockResponse does not contain field %s", fd.FullName())) + } +} + +// Get retrieves the value for a field. +// +// For unpopulated scalars, it returns the default value, where +// the default value of a bytes scalar is guaranteed to be a copy. +// For unpopulated composite types, it returns an empty, read-only view +// of the value; to obtain a mutable reference, use Mutable. +func (x *fastReflection_GetReputerLossBundlesAtBlockResponse) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { + switch descriptor.FullName() { + case "emissions.v8.GetReputerLossBundlesAtBlockResponse.loss_bundles": + value := x.LossBundles + return protoreflect.ValueOfMessage(value.ProtoReflect()) + default: + if descriptor.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetReputerLossBundlesAtBlockResponse")) + } + panic(fmt.Errorf("message emissions.v8.GetReputerLossBundlesAtBlockResponse does not contain field %s", descriptor.FullName())) + } +} + +// Set stores the value for a field. +// +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType. +// When setting a composite type, it is unspecified whether the stored value +// aliases the source's memory in any way. If the composite value is an +// empty, read-only value, then it panics. +// +// Set is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetReputerLossBundlesAtBlockResponse) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { + switch fd.FullName() { + case "emissions.v8.GetReputerLossBundlesAtBlockResponse.loss_bundles": + x.LossBundles = value.Message().Interface().(*v3.ReputerValueBundles) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetReputerLossBundlesAtBlockResponse")) + } + panic(fmt.Errorf("message emissions.v8.GetReputerLossBundlesAtBlockResponse does not contain field %s", fd.FullName())) + } +} + +// Mutable returns a mutable reference to a composite type. +// +// If the field is unpopulated, it may allocate a composite value. +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType +// if not already stored. +// It panics if the field does not contain a composite type. +// +// Mutable is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetReputerLossBundlesAtBlockResponse) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.GetReputerLossBundlesAtBlockResponse.loss_bundles": + if x.LossBundles == nil { + x.LossBundles = new(v3.ReputerValueBundles) + } + return protoreflect.ValueOfMessage(x.LossBundles.ProtoReflect()) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetReputerLossBundlesAtBlockResponse")) + } + panic(fmt.Errorf("message emissions.v8.GetReputerLossBundlesAtBlockResponse does not contain field %s", fd.FullName())) + } +} + +// NewField returns a new value that is assignable to the field +// for the given descriptor. For scalars, this returns the default value. +// For lists, maps, and messages, this returns a new, empty, mutable value. +func (x *fastReflection_GetReputerLossBundlesAtBlockResponse) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.GetReputerLossBundlesAtBlockResponse.loss_bundles": + m := new(v3.ReputerValueBundles) + return protoreflect.ValueOfMessage(m.ProtoReflect()) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetReputerLossBundlesAtBlockResponse")) + } + panic(fmt.Errorf("message emissions.v8.GetReputerLossBundlesAtBlockResponse does not contain field %s", fd.FullName())) + } +} + +// WhichOneof reports which field within the oneof is populated, +// returning nil if none are populated. +// It panics if the oneof descriptor does not belong to this message. +func (x *fastReflection_GetReputerLossBundlesAtBlockResponse) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { + switch d.FullName() { + default: + panic(fmt.Errorf("%s is not a oneof field in emissions.v8.GetReputerLossBundlesAtBlockResponse", d.FullName())) + } + panic("unreachable") +} + +// GetUnknown retrieves the entire list of unknown fields. +// The caller may only mutate the contents of the RawFields +// if the mutated bytes are stored back into the message with SetUnknown. +func (x *fastReflection_GetReputerLossBundlesAtBlockResponse) GetUnknown() protoreflect.RawFields { + return x.unknownFields +} + +// SetUnknown stores an entire list of unknown fields. +// The raw fields must be syntactically valid according to the wire format. +// An implementation may panic if this is not the case. +// Once stored, the caller must not mutate the content of the RawFields. +// An empty RawFields may be passed to clear the fields. +// +// SetUnknown is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetReputerLossBundlesAtBlockResponse) SetUnknown(fields protoreflect.RawFields) { + x.unknownFields = fields +} + +// IsValid reports whether the message is valid. +// +// An invalid message is an empty, read-only value. +// +// An invalid message often corresponds to a nil pointer of the concrete +// message type, but the details are implementation dependent. +// Validity is not part of the protobuf data model, and may not +// be preserved in marshaling or other operations. +func (x *fastReflection_GetReputerLossBundlesAtBlockResponse) IsValid() bool { + return x != nil +} + +// ProtoMethods returns optional fastReflectionFeature-path implementations of various operations. +// This method may return nil. +// +// The returned methods type is identical to +// "google.golang.org/protobuf/runtime/protoiface".Methods. +// Consult the protoiface package documentation for details. +func (x *fastReflection_GetReputerLossBundlesAtBlockResponse) ProtoMethods() *protoiface.Methods { + size := func(input protoiface.SizeInput) protoiface.SizeOutput { + x := input.Message.Interface().(*GetReputerLossBundlesAtBlockResponse) + if x == nil { + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: 0, + } + } + options := runtime.SizeInputToOptions(input) + _ = options + var n int + var l int + _ = l + if x.LossBundles != nil { + l = options.Size(x.LossBundles) + n += 1 + l + runtime.Sov(uint64(l)) + } + if x.unknownFields != nil { + n += len(x.unknownFields) + } + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: n, + } + } + + marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { + x := input.Message.Interface().(*GetReputerLossBundlesAtBlockResponse) + if x == nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + options := runtime.MarshalInputToOptions(input) + _ = options + size := options.Size(x) + dAtA := make([]byte, size) + i := len(dAtA) + _ = i + var l int + _ = l + if x.unknownFields != nil { + i -= len(x.unknownFields) + copy(dAtA[i:], x.unknownFields) + } + if x.LossBundles != nil { + encoded, err := options.Marshal(x.LossBundles) + if err != nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = runtime.EncodeVarint(dAtA, i, uint64(len(encoded))) + i-- + dAtA[i] = 0xa + } + if input.Buf != nil { + input.Buf = append(input.Buf, dAtA...) + } else { + input.Buf = dAtA + } + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { + x := input.Message.Interface().(*GetReputerLossBundlesAtBlockResponse) + if x == nil { + return protoiface.UnmarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Flags: input.Flags, + }, nil + } + options := runtime.UnmarshalInputToOptions(input) + _ = options + dAtA := input.Buf + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: GetReputerLossBundlesAtBlockResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: GetReputerLossBundlesAtBlockResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field LossBundles", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + if x.LossBundles == nil { + x.LossBundles = &v3.ReputerValueBundles{} + } + if err := options.Unmarshal(dAtA[iNdEx:postIndex], x.LossBundles); err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := runtime.Skip(dAtA[iNdEx:]) + if err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if (iNdEx + skippy) > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + if !options.DiscardUnknown { + x.unknownFields = append(x.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + } + iNdEx += skippy + } + } + + if iNdEx > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, nil + } + return &protoiface.Methods{ + NoUnkeyedLiterals: struct{}{}, + Flags: protoiface.SupportMarshalDeterministic | protoiface.SupportUnmarshalDiscardUnknown, + Size: size, + Marshal: marshal, + Unmarshal: unmarshal, + Merge: nil, + CheckInitialized: nil, + } +} + +var ( + md_GetStakeReputerAuthorityRequest protoreflect.MessageDescriptor + fd_GetStakeReputerAuthorityRequest_topic_id protoreflect.FieldDescriptor + fd_GetStakeReputerAuthorityRequest_reputer protoreflect.FieldDescriptor +) + +func init() { + file_emissions_v8_query_proto_init() + md_GetStakeReputerAuthorityRequest = File_emissions_v8_query_proto.Messages().ByName("GetStakeReputerAuthorityRequest") + fd_GetStakeReputerAuthorityRequest_topic_id = md_GetStakeReputerAuthorityRequest.Fields().ByName("topic_id") + fd_GetStakeReputerAuthorityRequest_reputer = md_GetStakeReputerAuthorityRequest.Fields().ByName("reputer") +} + +var _ protoreflect.Message = (*fastReflection_GetStakeReputerAuthorityRequest)(nil) + +type fastReflection_GetStakeReputerAuthorityRequest GetStakeReputerAuthorityRequest + +func (x *GetStakeReputerAuthorityRequest) ProtoReflect() protoreflect.Message { + return (*fastReflection_GetStakeReputerAuthorityRequest)(x) +} + +func (x *GetStakeReputerAuthorityRequest) slowProtoReflect() protoreflect.Message { + mi := &file_emissions_v8_query_proto_msgTypes[134] + 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) +} + +var _fastReflection_GetStakeReputerAuthorityRequest_messageType fastReflection_GetStakeReputerAuthorityRequest_messageType +var _ protoreflect.MessageType = fastReflection_GetStakeReputerAuthorityRequest_messageType{} + +type fastReflection_GetStakeReputerAuthorityRequest_messageType struct{} + +func (x fastReflection_GetStakeReputerAuthorityRequest_messageType) Zero() protoreflect.Message { + return (*fastReflection_GetStakeReputerAuthorityRequest)(nil) +} +func (x fastReflection_GetStakeReputerAuthorityRequest_messageType) New() protoreflect.Message { + return new(fastReflection_GetStakeReputerAuthorityRequest) +} +func (x fastReflection_GetStakeReputerAuthorityRequest_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_GetStakeReputerAuthorityRequest +} + +// Descriptor returns message descriptor, which contains only the protobuf +// type information for the message. +func (x *fastReflection_GetStakeReputerAuthorityRequest) Descriptor() protoreflect.MessageDescriptor { + return md_GetStakeReputerAuthorityRequest +} + +// Type returns the message type, which encapsulates both Go and protobuf +// type information. If the Go type information is not needed, +// it is recommended that the message descriptor be used instead. +func (x *fastReflection_GetStakeReputerAuthorityRequest) Type() protoreflect.MessageType { + return _fastReflection_GetStakeReputerAuthorityRequest_messageType +} + +// New returns a newly allocated and mutable empty message. +func (x *fastReflection_GetStakeReputerAuthorityRequest) New() protoreflect.Message { + return new(fastReflection_GetStakeReputerAuthorityRequest) +} + +// Interface unwraps the message reflection interface and +// returns the underlying ProtoMessage interface. +func (x *fastReflection_GetStakeReputerAuthorityRequest) Interface() protoreflect.ProtoMessage { + return (*GetStakeReputerAuthorityRequest)(x) +} + +// Range iterates over every populated field in an undefined order, +// calling f for each field descriptor and value encountered. +// Range returns immediately if f returns false. +// While iterating, mutating operations may only be performed +// on the current field descriptor. +func (x *fastReflection_GetStakeReputerAuthorityRequest) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { + if x.TopicId != uint64(0) { + value := protoreflect.ValueOfUint64(x.TopicId) + if !f(fd_GetStakeReputerAuthorityRequest_topic_id, value) { + return + } + } + if x.Reputer != "" { + value := protoreflect.ValueOfString(x.Reputer) + if !f(fd_GetStakeReputerAuthorityRequest_reputer, value) { + return + } + } +} + +// Has reports whether a field is populated. +// +// Some fields have the property of nullability where it is possible to +// distinguish between the default value of a field and whether the field +// was explicitly populated with the default value. Singular message fields, +// member fields of a oneof, and proto2 scalar fields are nullable. Such +// fields are populated only if explicitly set. +// +// In other cases (aside from the nullable cases above), +// a proto3 scalar field is populated if it contains a non-zero value, and +// a repeated field is populated if it is non-empty. +func (x *fastReflection_GetStakeReputerAuthorityRequest) Has(fd protoreflect.FieldDescriptor) bool { + switch fd.FullName() { + case "emissions.v8.GetStakeReputerAuthorityRequest.topic_id": + return x.TopicId != uint64(0) + case "emissions.v8.GetStakeReputerAuthorityRequest.reputer": + return x.Reputer != "" + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetStakeReputerAuthorityRequest")) + } + panic(fmt.Errorf("message emissions.v8.GetStakeReputerAuthorityRequest does not contain field %s", fd.FullName())) + } +} + +// Clear clears the field such that a subsequent Has call reports false. +// +// Clearing an extension field clears both the extension type and value +// associated with the given field number. +// +// Clear is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetStakeReputerAuthorityRequest) Clear(fd protoreflect.FieldDescriptor) { + switch fd.FullName() { + case "emissions.v8.GetStakeReputerAuthorityRequest.topic_id": + x.TopicId = uint64(0) + case "emissions.v8.GetStakeReputerAuthorityRequest.reputer": + x.Reputer = "" + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetStakeReputerAuthorityRequest")) + } + panic(fmt.Errorf("message emissions.v8.GetStakeReputerAuthorityRequest does not contain field %s", fd.FullName())) + } +} + +// Get retrieves the value for a field. +// +// For unpopulated scalars, it returns the default value, where +// the default value of a bytes scalar is guaranteed to be a copy. +// For unpopulated composite types, it returns an empty, read-only view +// of the value; to obtain a mutable reference, use Mutable. +func (x *fastReflection_GetStakeReputerAuthorityRequest) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { + switch descriptor.FullName() { + case "emissions.v8.GetStakeReputerAuthorityRequest.topic_id": + value := x.TopicId + return protoreflect.ValueOfUint64(value) + case "emissions.v8.GetStakeReputerAuthorityRequest.reputer": + value := x.Reputer + return protoreflect.ValueOfString(value) + default: + if descriptor.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetStakeReputerAuthorityRequest")) + } + panic(fmt.Errorf("message emissions.v8.GetStakeReputerAuthorityRequest does not contain field %s", descriptor.FullName())) + } +} + +// Set stores the value for a field. +// +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType. +// When setting a composite type, it is unspecified whether the stored value +// aliases the source's memory in any way. If the composite value is an +// empty, read-only value, then it panics. +// +// Set is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetStakeReputerAuthorityRequest) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { + switch fd.FullName() { + case "emissions.v8.GetStakeReputerAuthorityRequest.topic_id": + x.TopicId = value.Uint() + case "emissions.v8.GetStakeReputerAuthorityRequest.reputer": + x.Reputer = value.Interface().(string) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetStakeReputerAuthorityRequest")) + } + panic(fmt.Errorf("message emissions.v8.GetStakeReputerAuthorityRequest does not contain field %s", fd.FullName())) + } +} + +// Mutable returns a mutable reference to a composite type. +// +// If the field is unpopulated, it may allocate a composite value. +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType +// if not already stored. +// It panics if the field does not contain a composite type. +// +// Mutable is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetStakeReputerAuthorityRequest) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.GetStakeReputerAuthorityRequest.topic_id": + panic(fmt.Errorf("field topic_id of message emissions.v8.GetStakeReputerAuthorityRequest is not mutable")) + case "emissions.v8.GetStakeReputerAuthorityRequest.reputer": + panic(fmt.Errorf("field reputer of message emissions.v8.GetStakeReputerAuthorityRequest is not mutable")) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetStakeReputerAuthorityRequest")) + } + panic(fmt.Errorf("message emissions.v8.GetStakeReputerAuthorityRequest does not contain field %s", fd.FullName())) + } +} + +// NewField returns a new value that is assignable to the field +// for the given descriptor. For scalars, this returns the default value. +// For lists, maps, and messages, this returns a new, empty, mutable value. +func (x *fastReflection_GetStakeReputerAuthorityRequest) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.GetStakeReputerAuthorityRequest.topic_id": + return protoreflect.ValueOfUint64(uint64(0)) + case "emissions.v8.GetStakeReputerAuthorityRequest.reputer": + return protoreflect.ValueOfString("") + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetStakeReputerAuthorityRequest")) + } + panic(fmt.Errorf("message emissions.v8.GetStakeReputerAuthorityRequest does not contain field %s", fd.FullName())) + } +} + +// WhichOneof reports which field within the oneof is populated, +// returning nil if none are populated. +// It panics if the oneof descriptor does not belong to this message. +func (x *fastReflection_GetStakeReputerAuthorityRequest) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { + switch d.FullName() { + default: + panic(fmt.Errorf("%s is not a oneof field in emissions.v8.GetStakeReputerAuthorityRequest", d.FullName())) + } + panic("unreachable") +} + +// GetUnknown retrieves the entire list of unknown fields. +// The caller may only mutate the contents of the RawFields +// if the mutated bytes are stored back into the message with SetUnknown. +func (x *fastReflection_GetStakeReputerAuthorityRequest) GetUnknown() protoreflect.RawFields { + return x.unknownFields +} + +// SetUnknown stores an entire list of unknown fields. +// The raw fields must be syntactically valid according to the wire format. +// An implementation may panic if this is not the case. +// Once stored, the caller must not mutate the content of the RawFields. +// An empty RawFields may be passed to clear the fields. +// +// SetUnknown is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetStakeReputerAuthorityRequest) SetUnknown(fields protoreflect.RawFields) { + x.unknownFields = fields +} + +// IsValid reports whether the message is valid. +// +// An invalid message is an empty, read-only value. +// +// An invalid message often corresponds to a nil pointer of the concrete +// message type, but the details are implementation dependent. +// Validity is not part of the protobuf data model, and may not +// be preserved in marshaling or other operations. +func (x *fastReflection_GetStakeReputerAuthorityRequest) IsValid() bool { + return x != nil +} + +// ProtoMethods returns optional fastReflectionFeature-path implementations of various operations. +// This method may return nil. +// +// The returned methods type is identical to +// "google.golang.org/protobuf/runtime/protoiface".Methods. +// Consult the protoiface package documentation for details. +func (x *fastReflection_GetStakeReputerAuthorityRequest) ProtoMethods() *protoiface.Methods { + size := func(input protoiface.SizeInput) protoiface.SizeOutput { + x := input.Message.Interface().(*GetStakeReputerAuthorityRequest) + if x == nil { + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: 0, + } + } + options := runtime.SizeInputToOptions(input) + _ = options + var n int + var l int + _ = l + if x.TopicId != 0 { + n += 1 + runtime.Sov(uint64(x.TopicId)) + } + l = len(x.Reputer) + if l > 0 { + n += 1 + l + runtime.Sov(uint64(l)) + } + if x.unknownFields != nil { + n += len(x.unknownFields) + } + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: n, + } + } + + marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { + x := input.Message.Interface().(*GetStakeReputerAuthorityRequest) + if x == nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + options := runtime.MarshalInputToOptions(input) + _ = options + size := options.Size(x) + dAtA := make([]byte, size) + i := len(dAtA) + _ = i + var l int + _ = l + if x.unknownFields != nil { + i -= len(x.unknownFields) + copy(dAtA[i:], x.unknownFields) + } + if len(x.Reputer) > 0 { + i -= len(x.Reputer) + copy(dAtA[i:], x.Reputer) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.Reputer))) + i-- + dAtA[i] = 0x12 + } + if x.TopicId != 0 { + i = runtime.EncodeVarint(dAtA, i, uint64(x.TopicId)) + i-- + dAtA[i] = 0x8 + } + if input.Buf != nil { + input.Buf = append(input.Buf, dAtA...) + } else { + input.Buf = dAtA + } + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { + x := input.Message.Interface().(*GetStakeReputerAuthorityRequest) + if x == nil { + return protoiface.UnmarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Flags: input.Flags, + }, nil + } + options := runtime.UnmarshalInputToOptions(input) + _ = options + dAtA := input.Buf + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: GetStakeReputerAuthorityRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: GetStakeReputerAuthorityRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field TopicId", wireType) + } + x.TopicId = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + x.TopicId |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 2: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Reputer", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + x.Reputer = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := runtime.Skip(dAtA[iNdEx:]) + if err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if (iNdEx + skippy) > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + if !options.DiscardUnknown { + x.unknownFields = append(x.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + } + iNdEx += skippy + } + } + + if iNdEx > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, nil + } + return &protoiface.Methods{ + NoUnkeyedLiterals: struct{}{}, + Flags: protoiface.SupportMarshalDeterministic | protoiface.SupportUnmarshalDiscardUnknown, + Size: size, + Marshal: marshal, + Unmarshal: unmarshal, + Merge: nil, + CheckInitialized: nil, + } +} + +var ( + md_GetStakeReputerAuthorityResponse protoreflect.MessageDescriptor + fd_GetStakeReputerAuthorityResponse_authority protoreflect.FieldDescriptor +) + +func init() { + file_emissions_v8_query_proto_init() + md_GetStakeReputerAuthorityResponse = File_emissions_v8_query_proto.Messages().ByName("GetStakeReputerAuthorityResponse") + fd_GetStakeReputerAuthorityResponse_authority = md_GetStakeReputerAuthorityResponse.Fields().ByName("authority") +} + +var _ protoreflect.Message = (*fastReflection_GetStakeReputerAuthorityResponse)(nil) + +type fastReflection_GetStakeReputerAuthorityResponse GetStakeReputerAuthorityResponse + +func (x *GetStakeReputerAuthorityResponse) ProtoReflect() protoreflect.Message { + return (*fastReflection_GetStakeReputerAuthorityResponse)(x) +} + +func (x *GetStakeReputerAuthorityResponse) slowProtoReflect() protoreflect.Message { + mi := &file_emissions_v8_query_proto_msgTypes[135] + 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) +} + +var _fastReflection_GetStakeReputerAuthorityResponse_messageType fastReflection_GetStakeReputerAuthorityResponse_messageType +var _ protoreflect.MessageType = fastReflection_GetStakeReputerAuthorityResponse_messageType{} + +type fastReflection_GetStakeReputerAuthorityResponse_messageType struct{} + +func (x fastReflection_GetStakeReputerAuthorityResponse_messageType) Zero() protoreflect.Message { + return (*fastReflection_GetStakeReputerAuthorityResponse)(nil) +} +func (x fastReflection_GetStakeReputerAuthorityResponse_messageType) New() protoreflect.Message { + return new(fastReflection_GetStakeReputerAuthorityResponse) +} +func (x fastReflection_GetStakeReputerAuthorityResponse_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_GetStakeReputerAuthorityResponse +} + +// Descriptor returns message descriptor, which contains only the protobuf +// type information for the message. +func (x *fastReflection_GetStakeReputerAuthorityResponse) Descriptor() protoreflect.MessageDescriptor { + return md_GetStakeReputerAuthorityResponse +} + +// Type returns the message type, which encapsulates both Go and protobuf +// type information. If the Go type information is not needed, +// it is recommended that the message descriptor be used instead. +func (x *fastReflection_GetStakeReputerAuthorityResponse) Type() protoreflect.MessageType { + return _fastReflection_GetStakeReputerAuthorityResponse_messageType +} + +// New returns a newly allocated and mutable empty message. +func (x *fastReflection_GetStakeReputerAuthorityResponse) New() protoreflect.Message { + return new(fastReflection_GetStakeReputerAuthorityResponse) +} + +// Interface unwraps the message reflection interface and +// returns the underlying ProtoMessage interface. +func (x *fastReflection_GetStakeReputerAuthorityResponse) Interface() protoreflect.ProtoMessage { + return (*GetStakeReputerAuthorityResponse)(x) +} + +// Range iterates over every populated field in an undefined order, +// calling f for each field descriptor and value encountered. +// Range returns immediately if f returns false. +// While iterating, mutating operations may only be performed +// on the current field descriptor. +func (x *fastReflection_GetStakeReputerAuthorityResponse) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { + if x.Authority != "" { + value := protoreflect.ValueOfString(x.Authority) + if !f(fd_GetStakeReputerAuthorityResponse_authority, value) { + return + } + } +} + +// Has reports whether a field is populated. +// +// Some fields have the property of nullability where it is possible to +// distinguish between the default value of a field and whether the field +// was explicitly populated with the default value. Singular message fields, +// member fields of a oneof, and proto2 scalar fields are nullable. Such +// fields are populated only if explicitly set. +// +// In other cases (aside from the nullable cases above), +// a proto3 scalar field is populated if it contains a non-zero value, and +// a repeated field is populated if it is non-empty. +func (x *fastReflection_GetStakeReputerAuthorityResponse) Has(fd protoreflect.FieldDescriptor) bool { + switch fd.FullName() { + case "emissions.v8.GetStakeReputerAuthorityResponse.authority": + return x.Authority != "" + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetStakeReputerAuthorityResponse")) + } + panic(fmt.Errorf("message emissions.v8.GetStakeReputerAuthorityResponse does not contain field %s", fd.FullName())) + } +} + +// Clear clears the field such that a subsequent Has call reports false. +// +// Clearing an extension field clears both the extension type and value +// associated with the given field number. +// +// Clear is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetStakeReputerAuthorityResponse) Clear(fd protoreflect.FieldDescriptor) { + switch fd.FullName() { + case "emissions.v8.GetStakeReputerAuthorityResponse.authority": + x.Authority = "" + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetStakeReputerAuthorityResponse")) + } + panic(fmt.Errorf("message emissions.v8.GetStakeReputerAuthorityResponse does not contain field %s", fd.FullName())) + } +} + +// Get retrieves the value for a field. +// +// For unpopulated scalars, it returns the default value, where +// the default value of a bytes scalar is guaranteed to be a copy. +// For unpopulated composite types, it returns an empty, read-only view +// of the value; to obtain a mutable reference, use Mutable. +func (x *fastReflection_GetStakeReputerAuthorityResponse) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { + switch descriptor.FullName() { + case "emissions.v8.GetStakeReputerAuthorityResponse.authority": + value := x.Authority + return protoreflect.ValueOfString(value) + default: + if descriptor.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetStakeReputerAuthorityResponse")) + } + panic(fmt.Errorf("message emissions.v8.GetStakeReputerAuthorityResponse does not contain field %s", descriptor.FullName())) + } +} + +// Set stores the value for a field. +// +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType. +// When setting a composite type, it is unspecified whether the stored value +// aliases the source's memory in any way. If the composite value is an +// empty, read-only value, then it panics. +// +// Set is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetStakeReputerAuthorityResponse) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { + switch fd.FullName() { + case "emissions.v8.GetStakeReputerAuthorityResponse.authority": + x.Authority = value.Interface().(string) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetStakeReputerAuthorityResponse")) + } + panic(fmt.Errorf("message emissions.v8.GetStakeReputerAuthorityResponse does not contain field %s", fd.FullName())) + } +} + +// Mutable returns a mutable reference to a composite type. +// +// If the field is unpopulated, it may allocate a composite value. +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType +// if not already stored. +// It panics if the field does not contain a composite type. +// +// Mutable is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetStakeReputerAuthorityResponse) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.GetStakeReputerAuthorityResponse.authority": + panic(fmt.Errorf("field authority of message emissions.v8.GetStakeReputerAuthorityResponse is not mutable")) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetStakeReputerAuthorityResponse")) + } + panic(fmt.Errorf("message emissions.v8.GetStakeReputerAuthorityResponse does not contain field %s", fd.FullName())) + } +} + +// NewField returns a new value that is assignable to the field +// for the given descriptor. For scalars, this returns the default value. +// For lists, maps, and messages, this returns a new, empty, mutable value. +func (x *fastReflection_GetStakeReputerAuthorityResponse) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.GetStakeReputerAuthorityResponse.authority": + return protoreflect.ValueOfString("") + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetStakeReputerAuthorityResponse")) + } + panic(fmt.Errorf("message emissions.v8.GetStakeReputerAuthorityResponse does not contain field %s", fd.FullName())) + } +} + +// WhichOneof reports which field within the oneof is populated, +// returning nil if none are populated. +// It panics if the oneof descriptor does not belong to this message. +func (x *fastReflection_GetStakeReputerAuthorityResponse) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { + switch d.FullName() { + default: + panic(fmt.Errorf("%s is not a oneof field in emissions.v8.GetStakeReputerAuthorityResponse", d.FullName())) + } + panic("unreachable") +} + +// GetUnknown retrieves the entire list of unknown fields. +// The caller may only mutate the contents of the RawFields +// if the mutated bytes are stored back into the message with SetUnknown. +func (x *fastReflection_GetStakeReputerAuthorityResponse) GetUnknown() protoreflect.RawFields { + return x.unknownFields +} + +// SetUnknown stores an entire list of unknown fields. +// The raw fields must be syntactically valid according to the wire format. +// An implementation may panic if this is not the case. +// Once stored, the caller must not mutate the content of the RawFields. +// An empty RawFields may be passed to clear the fields. +// +// SetUnknown is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetStakeReputerAuthorityResponse) SetUnknown(fields protoreflect.RawFields) { + x.unknownFields = fields +} + +// IsValid reports whether the message is valid. +// +// An invalid message is an empty, read-only value. +// +// An invalid message often corresponds to a nil pointer of the concrete +// message type, but the details are implementation dependent. +// Validity is not part of the protobuf data model, and may not +// be preserved in marshaling or other operations. +func (x *fastReflection_GetStakeReputerAuthorityResponse) IsValid() bool { + return x != nil +} + +// ProtoMethods returns optional fastReflectionFeature-path implementations of various operations. +// This method may return nil. +// +// The returned methods type is identical to +// "google.golang.org/protobuf/runtime/protoiface".Methods. +// Consult the protoiface package documentation for details. +func (x *fastReflection_GetStakeReputerAuthorityResponse) ProtoMethods() *protoiface.Methods { + size := func(input protoiface.SizeInput) protoiface.SizeOutput { + x := input.Message.Interface().(*GetStakeReputerAuthorityResponse) + if x == nil { + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: 0, + } + } + options := runtime.SizeInputToOptions(input) + _ = options + var n int + var l int + _ = l + l = len(x.Authority) + if l > 0 { + n += 1 + l + runtime.Sov(uint64(l)) + } + if x.unknownFields != nil { + n += len(x.unknownFields) + } + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: n, + } + } + + marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { + x := input.Message.Interface().(*GetStakeReputerAuthorityResponse) + if x == nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + options := runtime.MarshalInputToOptions(input) + _ = options + size := options.Size(x) + dAtA := make([]byte, size) + i := len(dAtA) + _ = i + var l int + _ = l + if x.unknownFields != nil { + i -= len(x.unknownFields) + copy(dAtA[i:], x.unknownFields) + } + if len(x.Authority) > 0 { + i -= len(x.Authority) + copy(dAtA[i:], x.Authority) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.Authority))) + i-- + dAtA[i] = 0xa + } + if input.Buf != nil { + input.Buf = append(input.Buf, dAtA...) + } else { + input.Buf = dAtA + } + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { + x := input.Message.Interface().(*GetStakeReputerAuthorityResponse) + if x == nil { + return protoiface.UnmarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Flags: input.Flags, + }, nil + } + options := runtime.UnmarshalInputToOptions(input) + _ = options + dAtA := input.Buf + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: GetStakeReputerAuthorityResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: GetStakeReputerAuthorityResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Authority", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + x.Authority = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := runtime.Skip(dAtA[iNdEx:]) + if err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if (iNdEx + skippy) > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + if !options.DiscardUnknown { + x.unknownFields = append(x.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + } + iNdEx += skippy + } + } + + if iNdEx > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, nil + } + return &protoiface.Methods{ + NoUnkeyedLiterals: struct{}{}, + Flags: protoiface.SupportMarshalDeterministic | protoiface.SupportUnmarshalDiscardUnknown, + Size: size, + Marshal: marshal, + Unmarshal: unmarshal, + Merge: nil, + CheckInitialized: nil, + } +} + +var ( + md_GetDelegateStakePlacementRequest protoreflect.MessageDescriptor + fd_GetDelegateStakePlacementRequest_topic_id protoreflect.FieldDescriptor + fd_GetDelegateStakePlacementRequest_delegator protoreflect.FieldDescriptor + fd_GetDelegateStakePlacementRequest_target protoreflect.FieldDescriptor +) + +func init() { + file_emissions_v8_query_proto_init() + md_GetDelegateStakePlacementRequest = File_emissions_v8_query_proto.Messages().ByName("GetDelegateStakePlacementRequest") + fd_GetDelegateStakePlacementRequest_topic_id = md_GetDelegateStakePlacementRequest.Fields().ByName("topic_id") + fd_GetDelegateStakePlacementRequest_delegator = md_GetDelegateStakePlacementRequest.Fields().ByName("delegator") + fd_GetDelegateStakePlacementRequest_target = md_GetDelegateStakePlacementRequest.Fields().ByName("target") +} + +var _ protoreflect.Message = (*fastReflection_GetDelegateStakePlacementRequest)(nil) + +type fastReflection_GetDelegateStakePlacementRequest GetDelegateStakePlacementRequest + +func (x *GetDelegateStakePlacementRequest) ProtoReflect() protoreflect.Message { + return (*fastReflection_GetDelegateStakePlacementRequest)(x) +} + +func (x *GetDelegateStakePlacementRequest) slowProtoReflect() protoreflect.Message { + mi := &file_emissions_v8_query_proto_msgTypes[136] + 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) +} + +var _fastReflection_GetDelegateStakePlacementRequest_messageType fastReflection_GetDelegateStakePlacementRequest_messageType +var _ protoreflect.MessageType = fastReflection_GetDelegateStakePlacementRequest_messageType{} + +type fastReflection_GetDelegateStakePlacementRequest_messageType struct{} + +func (x fastReflection_GetDelegateStakePlacementRequest_messageType) Zero() protoreflect.Message { + return (*fastReflection_GetDelegateStakePlacementRequest)(nil) +} +func (x fastReflection_GetDelegateStakePlacementRequest_messageType) New() protoreflect.Message { + return new(fastReflection_GetDelegateStakePlacementRequest) +} +func (x fastReflection_GetDelegateStakePlacementRequest_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_GetDelegateStakePlacementRequest +} + +// Descriptor returns message descriptor, which contains only the protobuf +// type information for the message. +func (x *fastReflection_GetDelegateStakePlacementRequest) Descriptor() protoreflect.MessageDescriptor { + return md_GetDelegateStakePlacementRequest +} + +// Type returns the message type, which encapsulates both Go and protobuf +// type information. If the Go type information is not needed, +// it is recommended that the message descriptor be used instead. +func (x *fastReflection_GetDelegateStakePlacementRequest) Type() protoreflect.MessageType { + return _fastReflection_GetDelegateStakePlacementRequest_messageType +} + +// New returns a newly allocated and mutable empty message. +func (x *fastReflection_GetDelegateStakePlacementRequest) New() protoreflect.Message { + return new(fastReflection_GetDelegateStakePlacementRequest) +} + +// Interface unwraps the message reflection interface and +// returns the underlying ProtoMessage interface. +func (x *fastReflection_GetDelegateStakePlacementRequest) Interface() protoreflect.ProtoMessage { + return (*GetDelegateStakePlacementRequest)(x) +} + +// Range iterates over every populated field in an undefined order, +// calling f for each field descriptor and value encountered. +// Range returns immediately if f returns false. +// While iterating, mutating operations may only be performed +// on the current field descriptor. +func (x *fastReflection_GetDelegateStakePlacementRequest) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { + if x.TopicId != uint64(0) { + value := protoreflect.ValueOfUint64(x.TopicId) + if !f(fd_GetDelegateStakePlacementRequest_topic_id, value) { + return + } + } + if x.Delegator != "" { + value := protoreflect.ValueOfString(x.Delegator) + if !f(fd_GetDelegateStakePlacementRequest_delegator, value) { + return + } + } + if x.Target != "" { + value := protoreflect.ValueOfString(x.Target) + if !f(fd_GetDelegateStakePlacementRequest_target, value) { + return + } + } +} + +// Has reports whether a field is populated. +// +// Some fields have the property of nullability where it is possible to +// distinguish between the default value of a field and whether the field +// was explicitly populated with the default value. Singular message fields, +// member fields of a oneof, and proto2 scalar fields are nullable. Such +// fields are populated only if explicitly set. +// +// In other cases (aside from the nullable cases above), +// a proto3 scalar field is populated if it contains a non-zero value, and +// a repeated field is populated if it is non-empty. +func (x *fastReflection_GetDelegateStakePlacementRequest) Has(fd protoreflect.FieldDescriptor) bool { + switch fd.FullName() { + case "emissions.v8.GetDelegateStakePlacementRequest.topic_id": + return x.TopicId != uint64(0) + case "emissions.v8.GetDelegateStakePlacementRequest.delegator": + return x.Delegator != "" + case "emissions.v8.GetDelegateStakePlacementRequest.target": + return x.Target != "" + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetDelegateStakePlacementRequest")) + } + panic(fmt.Errorf("message emissions.v8.GetDelegateStakePlacementRequest does not contain field %s", fd.FullName())) + } +} + +// Clear clears the field such that a subsequent Has call reports false. +// +// Clearing an extension field clears both the extension type and value +// associated with the given field number. +// +// Clear is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetDelegateStakePlacementRequest) Clear(fd protoreflect.FieldDescriptor) { + switch fd.FullName() { + case "emissions.v8.GetDelegateStakePlacementRequest.topic_id": + x.TopicId = uint64(0) + case "emissions.v8.GetDelegateStakePlacementRequest.delegator": + x.Delegator = "" + case "emissions.v8.GetDelegateStakePlacementRequest.target": + x.Target = "" + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetDelegateStakePlacementRequest")) + } + panic(fmt.Errorf("message emissions.v8.GetDelegateStakePlacementRequest does not contain field %s", fd.FullName())) + } +} + +// Get retrieves the value for a field. +// +// For unpopulated scalars, it returns the default value, where +// the default value of a bytes scalar is guaranteed to be a copy. +// For unpopulated composite types, it returns an empty, read-only view +// of the value; to obtain a mutable reference, use Mutable. +func (x *fastReflection_GetDelegateStakePlacementRequest) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { + switch descriptor.FullName() { + case "emissions.v8.GetDelegateStakePlacementRequest.topic_id": + value := x.TopicId + return protoreflect.ValueOfUint64(value) + case "emissions.v8.GetDelegateStakePlacementRequest.delegator": + value := x.Delegator + return protoreflect.ValueOfString(value) + case "emissions.v8.GetDelegateStakePlacementRequest.target": + value := x.Target + return protoreflect.ValueOfString(value) + default: + if descriptor.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetDelegateStakePlacementRequest")) + } + panic(fmt.Errorf("message emissions.v8.GetDelegateStakePlacementRequest does not contain field %s", descriptor.FullName())) + } +} + +// Set stores the value for a field. +// +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType. +// When setting a composite type, it is unspecified whether the stored value +// aliases the source's memory in any way. If the composite value is an +// empty, read-only value, then it panics. +// +// Set is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetDelegateStakePlacementRequest) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { + switch fd.FullName() { + case "emissions.v8.GetDelegateStakePlacementRequest.topic_id": + x.TopicId = value.Uint() + case "emissions.v8.GetDelegateStakePlacementRequest.delegator": + x.Delegator = value.Interface().(string) + case "emissions.v8.GetDelegateStakePlacementRequest.target": + x.Target = value.Interface().(string) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetDelegateStakePlacementRequest")) + } + panic(fmt.Errorf("message emissions.v8.GetDelegateStakePlacementRequest does not contain field %s", fd.FullName())) + } +} + +// Mutable returns a mutable reference to a composite type. +// +// If the field is unpopulated, it may allocate a composite value. +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType +// if not already stored. +// It panics if the field does not contain a composite type. +// +// Mutable is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetDelegateStakePlacementRequest) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.GetDelegateStakePlacementRequest.topic_id": + panic(fmt.Errorf("field topic_id of message emissions.v8.GetDelegateStakePlacementRequest is not mutable")) + case "emissions.v8.GetDelegateStakePlacementRequest.delegator": + panic(fmt.Errorf("field delegator of message emissions.v8.GetDelegateStakePlacementRequest is not mutable")) + case "emissions.v8.GetDelegateStakePlacementRequest.target": + panic(fmt.Errorf("field target of message emissions.v8.GetDelegateStakePlacementRequest is not mutable")) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetDelegateStakePlacementRequest")) + } + panic(fmt.Errorf("message emissions.v8.GetDelegateStakePlacementRequest does not contain field %s", fd.FullName())) + } +} + +// NewField returns a new value that is assignable to the field +// for the given descriptor. For scalars, this returns the default value. +// For lists, maps, and messages, this returns a new, empty, mutable value. +func (x *fastReflection_GetDelegateStakePlacementRequest) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.GetDelegateStakePlacementRequest.topic_id": + return protoreflect.ValueOfUint64(uint64(0)) + case "emissions.v8.GetDelegateStakePlacementRequest.delegator": + return protoreflect.ValueOfString("") + case "emissions.v8.GetDelegateStakePlacementRequest.target": + return protoreflect.ValueOfString("") + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetDelegateStakePlacementRequest")) + } + panic(fmt.Errorf("message emissions.v8.GetDelegateStakePlacementRequest does not contain field %s", fd.FullName())) + } +} + +// WhichOneof reports which field within the oneof is populated, +// returning nil if none are populated. +// It panics if the oneof descriptor does not belong to this message. +func (x *fastReflection_GetDelegateStakePlacementRequest) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { + switch d.FullName() { + default: + panic(fmt.Errorf("%s is not a oneof field in emissions.v8.GetDelegateStakePlacementRequest", d.FullName())) + } + panic("unreachable") +} + +// GetUnknown retrieves the entire list of unknown fields. +// The caller may only mutate the contents of the RawFields +// if the mutated bytes are stored back into the message with SetUnknown. +func (x *fastReflection_GetDelegateStakePlacementRequest) GetUnknown() protoreflect.RawFields { + return x.unknownFields +} + +// SetUnknown stores an entire list of unknown fields. +// The raw fields must be syntactically valid according to the wire format. +// An implementation may panic if this is not the case. +// Once stored, the caller must not mutate the content of the RawFields. +// An empty RawFields may be passed to clear the fields. +// +// SetUnknown is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetDelegateStakePlacementRequest) SetUnknown(fields protoreflect.RawFields) { + x.unknownFields = fields +} + +// IsValid reports whether the message is valid. +// +// An invalid message is an empty, read-only value. +// +// An invalid message often corresponds to a nil pointer of the concrete +// message type, but the details are implementation dependent. +// Validity is not part of the protobuf data model, and may not +// be preserved in marshaling or other operations. +func (x *fastReflection_GetDelegateStakePlacementRequest) IsValid() bool { + return x != nil +} + +// ProtoMethods returns optional fastReflectionFeature-path implementations of various operations. +// This method may return nil. +// +// The returned methods type is identical to +// "google.golang.org/protobuf/runtime/protoiface".Methods. +// Consult the protoiface package documentation for details. +func (x *fastReflection_GetDelegateStakePlacementRequest) ProtoMethods() *protoiface.Methods { + size := func(input protoiface.SizeInput) protoiface.SizeOutput { + x := input.Message.Interface().(*GetDelegateStakePlacementRequest) + if x == nil { + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: 0, + } + } + options := runtime.SizeInputToOptions(input) + _ = options + var n int + var l int + _ = l + if x.TopicId != 0 { + n += 1 + runtime.Sov(uint64(x.TopicId)) + } + l = len(x.Delegator) + if l > 0 { + n += 1 + l + runtime.Sov(uint64(l)) + } + l = len(x.Target) + if l > 0 { + n += 1 + l + runtime.Sov(uint64(l)) + } + if x.unknownFields != nil { + n += len(x.unknownFields) + } + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: n, + } + } + + marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { + x := input.Message.Interface().(*GetDelegateStakePlacementRequest) + if x == nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + options := runtime.MarshalInputToOptions(input) + _ = options + size := options.Size(x) + dAtA := make([]byte, size) + i := len(dAtA) + _ = i + var l int + _ = l + if x.unknownFields != nil { + i -= len(x.unknownFields) + copy(dAtA[i:], x.unknownFields) + } + if len(x.Target) > 0 { + i -= len(x.Target) + copy(dAtA[i:], x.Target) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.Target))) + i-- + dAtA[i] = 0x1a + } + if len(x.Delegator) > 0 { + i -= len(x.Delegator) + copy(dAtA[i:], x.Delegator) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.Delegator))) + i-- + dAtA[i] = 0x12 + } + if x.TopicId != 0 { + i = runtime.EncodeVarint(dAtA, i, uint64(x.TopicId)) + i-- + dAtA[i] = 0x8 + } + if input.Buf != nil { + input.Buf = append(input.Buf, dAtA...) + } else { + input.Buf = dAtA + } + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { + x := input.Message.Interface().(*GetDelegateStakePlacementRequest) + if x == nil { + return protoiface.UnmarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Flags: input.Flags, + }, nil + } + options := runtime.UnmarshalInputToOptions(input) + _ = options + dAtA := input.Buf + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: GetDelegateStakePlacementRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: GetDelegateStakePlacementRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field TopicId", wireType) + } + x.TopicId = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + x.TopicId |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 2: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Delegator", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + x.Delegator = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 3: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Target", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + x.Target = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := runtime.Skip(dAtA[iNdEx:]) + if err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if (iNdEx + skippy) > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + if !options.DiscardUnknown { + x.unknownFields = append(x.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + } + iNdEx += skippy + } + } + + if iNdEx > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, nil + } + return &protoiface.Methods{ + NoUnkeyedLiterals: struct{}{}, + Flags: protoiface.SupportMarshalDeterministic | protoiface.SupportUnmarshalDiscardUnknown, + Size: size, + Marshal: marshal, + Unmarshal: unmarshal, + Merge: nil, + CheckInitialized: nil, + } +} + +var ( + md_GetDelegateStakePlacementResponse protoreflect.MessageDescriptor + fd_GetDelegateStakePlacementResponse_delegator_info protoreflect.FieldDescriptor +) + +func init() { + file_emissions_v8_query_proto_init() + md_GetDelegateStakePlacementResponse = File_emissions_v8_query_proto.Messages().ByName("GetDelegateStakePlacementResponse") + fd_GetDelegateStakePlacementResponse_delegator_info = md_GetDelegateStakePlacementResponse.Fields().ByName("delegator_info") +} + +var _ protoreflect.Message = (*fastReflection_GetDelegateStakePlacementResponse)(nil) + +type fastReflection_GetDelegateStakePlacementResponse GetDelegateStakePlacementResponse + +func (x *GetDelegateStakePlacementResponse) ProtoReflect() protoreflect.Message { + return (*fastReflection_GetDelegateStakePlacementResponse)(x) +} + +func (x *GetDelegateStakePlacementResponse) slowProtoReflect() protoreflect.Message { + mi := &file_emissions_v8_query_proto_msgTypes[137] + 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) +} + +var _fastReflection_GetDelegateStakePlacementResponse_messageType fastReflection_GetDelegateStakePlacementResponse_messageType +var _ protoreflect.MessageType = fastReflection_GetDelegateStakePlacementResponse_messageType{} + +type fastReflection_GetDelegateStakePlacementResponse_messageType struct{} + +func (x fastReflection_GetDelegateStakePlacementResponse_messageType) Zero() protoreflect.Message { + return (*fastReflection_GetDelegateStakePlacementResponse)(nil) +} +func (x fastReflection_GetDelegateStakePlacementResponse_messageType) New() protoreflect.Message { + return new(fastReflection_GetDelegateStakePlacementResponse) +} +func (x fastReflection_GetDelegateStakePlacementResponse_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_GetDelegateStakePlacementResponse +} + +// Descriptor returns message descriptor, which contains only the protobuf +// type information for the message. +func (x *fastReflection_GetDelegateStakePlacementResponse) Descriptor() protoreflect.MessageDescriptor { + return md_GetDelegateStakePlacementResponse +} + +// Type returns the message type, which encapsulates both Go and protobuf +// type information. If the Go type information is not needed, +// it is recommended that the message descriptor be used instead. +func (x *fastReflection_GetDelegateStakePlacementResponse) Type() protoreflect.MessageType { + return _fastReflection_GetDelegateStakePlacementResponse_messageType +} + +// New returns a newly allocated and mutable empty message. +func (x *fastReflection_GetDelegateStakePlacementResponse) New() protoreflect.Message { + return new(fastReflection_GetDelegateStakePlacementResponse) +} + +// Interface unwraps the message reflection interface and +// returns the underlying ProtoMessage interface. +func (x *fastReflection_GetDelegateStakePlacementResponse) Interface() protoreflect.ProtoMessage { + return (*GetDelegateStakePlacementResponse)(x) +} + +// Range iterates over every populated field in an undefined order, +// calling f for each field descriptor and value encountered. +// Range returns immediately if f returns false. +// While iterating, mutating operations may only be performed +// on the current field descriptor. +func (x *fastReflection_GetDelegateStakePlacementResponse) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { + if x.DelegatorInfo != nil { + value := protoreflect.ValueOfMessage(x.DelegatorInfo.ProtoReflect()) + if !f(fd_GetDelegateStakePlacementResponse_delegator_info, value) { + return + } + } +} + +// Has reports whether a field is populated. +// +// Some fields have the property of nullability where it is possible to +// distinguish between the default value of a field and whether the field +// was explicitly populated with the default value. Singular message fields, +// member fields of a oneof, and proto2 scalar fields are nullable. Such +// fields are populated only if explicitly set. +// +// In other cases (aside from the nullable cases above), +// a proto3 scalar field is populated if it contains a non-zero value, and +// a repeated field is populated if it is non-empty. +func (x *fastReflection_GetDelegateStakePlacementResponse) Has(fd protoreflect.FieldDescriptor) bool { + switch fd.FullName() { + case "emissions.v8.GetDelegateStakePlacementResponse.delegator_info": + return x.DelegatorInfo != nil + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetDelegateStakePlacementResponse")) + } + panic(fmt.Errorf("message emissions.v8.GetDelegateStakePlacementResponse does not contain field %s", fd.FullName())) + } +} + +// Clear clears the field such that a subsequent Has call reports false. +// +// Clearing an extension field clears both the extension type and value +// associated with the given field number. +// +// Clear is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetDelegateStakePlacementResponse) Clear(fd protoreflect.FieldDescriptor) { + switch fd.FullName() { + case "emissions.v8.GetDelegateStakePlacementResponse.delegator_info": + x.DelegatorInfo = nil + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetDelegateStakePlacementResponse")) + } + panic(fmt.Errorf("message emissions.v8.GetDelegateStakePlacementResponse does not contain field %s", fd.FullName())) + } +} + +// Get retrieves the value for a field. +// +// For unpopulated scalars, it returns the default value, where +// the default value of a bytes scalar is guaranteed to be a copy. +// For unpopulated composite types, it returns an empty, read-only view +// of the value; to obtain a mutable reference, use Mutable. +func (x *fastReflection_GetDelegateStakePlacementResponse) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { + switch descriptor.FullName() { + case "emissions.v8.GetDelegateStakePlacementResponse.delegator_info": + value := x.DelegatorInfo + return protoreflect.ValueOfMessage(value.ProtoReflect()) + default: + if descriptor.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetDelegateStakePlacementResponse")) + } + panic(fmt.Errorf("message emissions.v8.GetDelegateStakePlacementResponse does not contain field %s", descriptor.FullName())) + } +} + +// Set stores the value for a field. +// +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType. +// When setting a composite type, it is unspecified whether the stored value +// aliases the source's memory in any way. If the composite value is an +// empty, read-only value, then it panics. +// +// Set is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetDelegateStakePlacementResponse) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { + switch fd.FullName() { + case "emissions.v8.GetDelegateStakePlacementResponse.delegator_info": + x.DelegatorInfo = value.Message().Interface().(*v3.DelegatorInfo) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetDelegateStakePlacementResponse")) + } + panic(fmt.Errorf("message emissions.v8.GetDelegateStakePlacementResponse does not contain field %s", fd.FullName())) + } +} + +// Mutable returns a mutable reference to a composite type. +// +// If the field is unpopulated, it may allocate a composite value. +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType +// if not already stored. +// It panics if the field does not contain a composite type. +// +// Mutable is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetDelegateStakePlacementResponse) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.GetDelegateStakePlacementResponse.delegator_info": + if x.DelegatorInfo == nil { + x.DelegatorInfo = new(v3.DelegatorInfo) + } + return protoreflect.ValueOfMessage(x.DelegatorInfo.ProtoReflect()) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetDelegateStakePlacementResponse")) + } + panic(fmt.Errorf("message emissions.v8.GetDelegateStakePlacementResponse does not contain field %s", fd.FullName())) + } +} + +// NewField returns a new value that is assignable to the field +// for the given descriptor. For scalars, this returns the default value. +// For lists, maps, and messages, this returns a new, empty, mutable value. +func (x *fastReflection_GetDelegateStakePlacementResponse) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.GetDelegateStakePlacementResponse.delegator_info": + m := new(v3.DelegatorInfo) + return protoreflect.ValueOfMessage(m.ProtoReflect()) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetDelegateStakePlacementResponse")) + } + panic(fmt.Errorf("message emissions.v8.GetDelegateStakePlacementResponse does not contain field %s", fd.FullName())) + } +} + +// WhichOneof reports which field within the oneof is populated, +// returning nil if none are populated. +// It panics if the oneof descriptor does not belong to this message. +func (x *fastReflection_GetDelegateStakePlacementResponse) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { + switch d.FullName() { + default: + panic(fmt.Errorf("%s is not a oneof field in emissions.v8.GetDelegateStakePlacementResponse", d.FullName())) + } + panic("unreachable") +} + +// GetUnknown retrieves the entire list of unknown fields. +// The caller may only mutate the contents of the RawFields +// if the mutated bytes are stored back into the message with SetUnknown. +func (x *fastReflection_GetDelegateStakePlacementResponse) GetUnknown() protoreflect.RawFields { + return x.unknownFields +} + +// SetUnknown stores an entire list of unknown fields. +// The raw fields must be syntactically valid according to the wire format. +// An implementation may panic if this is not the case. +// Once stored, the caller must not mutate the content of the RawFields. +// An empty RawFields may be passed to clear the fields. +// +// SetUnknown is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetDelegateStakePlacementResponse) SetUnknown(fields protoreflect.RawFields) { + x.unknownFields = fields +} + +// IsValid reports whether the message is valid. +// +// An invalid message is an empty, read-only value. +// +// An invalid message often corresponds to a nil pointer of the concrete +// message type, but the details are implementation dependent. +// Validity is not part of the protobuf data model, and may not +// be preserved in marshaling or other operations. +func (x *fastReflection_GetDelegateStakePlacementResponse) IsValid() bool { + return x != nil +} + +// ProtoMethods returns optional fastReflectionFeature-path implementations of various operations. +// This method may return nil. +// +// The returned methods type is identical to +// "google.golang.org/protobuf/runtime/protoiface".Methods. +// Consult the protoiface package documentation for details. +func (x *fastReflection_GetDelegateStakePlacementResponse) ProtoMethods() *protoiface.Methods { + size := func(input protoiface.SizeInput) protoiface.SizeOutput { + x := input.Message.Interface().(*GetDelegateStakePlacementResponse) + if x == nil { + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: 0, + } + } + options := runtime.SizeInputToOptions(input) + _ = options + var n int + var l int + _ = l + if x.DelegatorInfo != nil { + l = options.Size(x.DelegatorInfo) + n += 1 + l + runtime.Sov(uint64(l)) + } + if x.unknownFields != nil { + n += len(x.unknownFields) + } + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: n, + } + } + + marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { + x := input.Message.Interface().(*GetDelegateStakePlacementResponse) + if x == nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + options := runtime.MarshalInputToOptions(input) + _ = options + size := options.Size(x) + dAtA := make([]byte, size) + i := len(dAtA) + _ = i + var l int + _ = l + if x.unknownFields != nil { + i -= len(x.unknownFields) + copy(dAtA[i:], x.unknownFields) + } + if x.DelegatorInfo != nil { + encoded, err := options.Marshal(x.DelegatorInfo) + if err != nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = runtime.EncodeVarint(dAtA, i, uint64(len(encoded))) + i-- + dAtA[i] = 0xa + } + if input.Buf != nil { + input.Buf = append(input.Buf, dAtA...) + } else { + input.Buf = dAtA + } + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { + x := input.Message.Interface().(*GetDelegateStakePlacementResponse) + if x == nil { + return protoiface.UnmarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Flags: input.Flags, + }, nil + } + options := runtime.UnmarshalInputToOptions(input) + _ = options + dAtA := input.Buf + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: GetDelegateStakePlacementResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: GetDelegateStakePlacementResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field DelegatorInfo", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + if x.DelegatorInfo == nil { + x.DelegatorInfo = &v3.DelegatorInfo{} + } + if err := options.Unmarshal(dAtA[iNdEx:postIndex], x.DelegatorInfo); err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := runtime.Skip(dAtA[iNdEx:]) + if err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if (iNdEx + skippy) > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + if !options.DiscardUnknown { + x.unknownFields = append(x.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + } + iNdEx += skippy + } + } + + if iNdEx > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, nil + } + return &protoiface.Methods{ + NoUnkeyedLiterals: struct{}{}, + Flags: protoiface.SupportMarshalDeterministic | protoiface.SupportUnmarshalDiscardUnknown, + Size: size, + Marshal: marshal, + Unmarshal: unmarshal, + Merge: nil, + CheckInitialized: nil, + } +} + +var ( + md_GetDelegateStakeUponReputerRequest protoreflect.MessageDescriptor + fd_GetDelegateStakeUponReputerRequest_topic_id protoreflect.FieldDescriptor + fd_GetDelegateStakeUponReputerRequest_target protoreflect.FieldDescriptor +) + +func init() { + file_emissions_v8_query_proto_init() + md_GetDelegateStakeUponReputerRequest = File_emissions_v8_query_proto.Messages().ByName("GetDelegateStakeUponReputerRequest") + fd_GetDelegateStakeUponReputerRequest_topic_id = md_GetDelegateStakeUponReputerRequest.Fields().ByName("topic_id") + fd_GetDelegateStakeUponReputerRequest_target = md_GetDelegateStakeUponReputerRequest.Fields().ByName("target") +} + +var _ protoreflect.Message = (*fastReflection_GetDelegateStakeUponReputerRequest)(nil) + +type fastReflection_GetDelegateStakeUponReputerRequest GetDelegateStakeUponReputerRequest + +func (x *GetDelegateStakeUponReputerRequest) ProtoReflect() protoreflect.Message { + return (*fastReflection_GetDelegateStakeUponReputerRequest)(x) +} + +func (x *GetDelegateStakeUponReputerRequest) slowProtoReflect() protoreflect.Message { + mi := &file_emissions_v8_query_proto_msgTypes[138] + 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) +} + +var _fastReflection_GetDelegateStakeUponReputerRequest_messageType fastReflection_GetDelegateStakeUponReputerRequest_messageType +var _ protoreflect.MessageType = fastReflection_GetDelegateStakeUponReputerRequest_messageType{} + +type fastReflection_GetDelegateStakeUponReputerRequest_messageType struct{} + +func (x fastReflection_GetDelegateStakeUponReputerRequest_messageType) Zero() protoreflect.Message { + return (*fastReflection_GetDelegateStakeUponReputerRequest)(nil) +} +func (x fastReflection_GetDelegateStakeUponReputerRequest_messageType) New() protoreflect.Message { + return new(fastReflection_GetDelegateStakeUponReputerRequest) +} +func (x fastReflection_GetDelegateStakeUponReputerRequest_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_GetDelegateStakeUponReputerRequest +} + +// Descriptor returns message descriptor, which contains only the protobuf +// type information for the message. +func (x *fastReflection_GetDelegateStakeUponReputerRequest) Descriptor() protoreflect.MessageDescriptor { + return md_GetDelegateStakeUponReputerRequest +} + +// Type returns the message type, which encapsulates both Go and protobuf +// type information. If the Go type information is not needed, +// it is recommended that the message descriptor be used instead. +func (x *fastReflection_GetDelegateStakeUponReputerRequest) Type() protoreflect.MessageType { + return _fastReflection_GetDelegateStakeUponReputerRequest_messageType +} + +// New returns a newly allocated and mutable empty message. +func (x *fastReflection_GetDelegateStakeUponReputerRequest) New() protoreflect.Message { + return new(fastReflection_GetDelegateStakeUponReputerRequest) +} + +// Interface unwraps the message reflection interface and +// returns the underlying ProtoMessage interface. +func (x *fastReflection_GetDelegateStakeUponReputerRequest) Interface() protoreflect.ProtoMessage { + return (*GetDelegateStakeUponReputerRequest)(x) +} + +// Range iterates over every populated field in an undefined order, +// calling f for each field descriptor and value encountered. +// Range returns immediately if f returns false. +// While iterating, mutating operations may only be performed +// on the current field descriptor. +func (x *fastReflection_GetDelegateStakeUponReputerRequest) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { + if x.TopicId != uint64(0) { + value := protoreflect.ValueOfUint64(x.TopicId) + if !f(fd_GetDelegateStakeUponReputerRequest_topic_id, value) { + return + } + } + if x.Target != "" { + value := protoreflect.ValueOfString(x.Target) + if !f(fd_GetDelegateStakeUponReputerRequest_target, value) { + return + } + } +} + +// Has reports whether a field is populated. +// +// Some fields have the property of nullability where it is possible to +// distinguish between the default value of a field and whether the field +// was explicitly populated with the default value. Singular message fields, +// member fields of a oneof, and proto2 scalar fields are nullable. Such +// fields are populated only if explicitly set. +// +// In other cases (aside from the nullable cases above), +// a proto3 scalar field is populated if it contains a non-zero value, and +// a repeated field is populated if it is non-empty. +func (x *fastReflection_GetDelegateStakeUponReputerRequest) Has(fd protoreflect.FieldDescriptor) bool { + switch fd.FullName() { + case "emissions.v8.GetDelegateStakeUponReputerRequest.topic_id": + return x.TopicId != uint64(0) + case "emissions.v8.GetDelegateStakeUponReputerRequest.target": + return x.Target != "" + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetDelegateStakeUponReputerRequest")) + } + panic(fmt.Errorf("message emissions.v8.GetDelegateStakeUponReputerRequest does not contain field %s", fd.FullName())) + } +} + +// Clear clears the field such that a subsequent Has call reports false. +// +// Clearing an extension field clears both the extension type and value +// associated with the given field number. +// +// Clear is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetDelegateStakeUponReputerRequest) Clear(fd protoreflect.FieldDescriptor) { + switch fd.FullName() { + case "emissions.v8.GetDelegateStakeUponReputerRequest.topic_id": + x.TopicId = uint64(0) + case "emissions.v8.GetDelegateStakeUponReputerRequest.target": + x.Target = "" + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetDelegateStakeUponReputerRequest")) + } + panic(fmt.Errorf("message emissions.v8.GetDelegateStakeUponReputerRequest does not contain field %s", fd.FullName())) + } +} + +// Get retrieves the value for a field. +// +// For unpopulated scalars, it returns the default value, where +// the default value of a bytes scalar is guaranteed to be a copy. +// For unpopulated composite types, it returns an empty, read-only view +// of the value; to obtain a mutable reference, use Mutable. +func (x *fastReflection_GetDelegateStakeUponReputerRequest) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { + switch descriptor.FullName() { + case "emissions.v8.GetDelegateStakeUponReputerRequest.topic_id": + value := x.TopicId + return protoreflect.ValueOfUint64(value) + case "emissions.v8.GetDelegateStakeUponReputerRequest.target": + value := x.Target + return protoreflect.ValueOfString(value) + default: + if descriptor.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetDelegateStakeUponReputerRequest")) + } + panic(fmt.Errorf("message emissions.v8.GetDelegateStakeUponReputerRequest does not contain field %s", descriptor.FullName())) + } +} + +// Set stores the value for a field. +// +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType. +// When setting a composite type, it is unspecified whether the stored value +// aliases the source's memory in any way. If the composite value is an +// empty, read-only value, then it panics. +// +// Set is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetDelegateStakeUponReputerRequest) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { + switch fd.FullName() { + case "emissions.v8.GetDelegateStakeUponReputerRequest.topic_id": + x.TopicId = value.Uint() + case "emissions.v8.GetDelegateStakeUponReputerRequest.target": + x.Target = value.Interface().(string) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetDelegateStakeUponReputerRequest")) + } + panic(fmt.Errorf("message emissions.v8.GetDelegateStakeUponReputerRequest does not contain field %s", fd.FullName())) + } +} + +// Mutable returns a mutable reference to a composite type. +// +// If the field is unpopulated, it may allocate a composite value. +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType +// if not already stored. +// It panics if the field does not contain a composite type. +// +// Mutable is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetDelegateStakeUponReputerRequest) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.GetDelegateStakeUponReputerRequest.topic_id": + panic(fmt.Errorf("field topic_id of message emissions.v8.GetDelegateStakeUponReputerRequest is not mutable")) + case "emissions.v8.GetDelegateStakeUponReputerRequest.target": + panic(fmt.Errorf("field target of message emissions.v8.GetDelegateStakeUponReputerRequest is not mutable")) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetDelegateStakeUponReputerRequest")) + } + panic(fmt.Errorf("message emissions.v8.GetDelegateStakeUponReputerRequest does not contain field %s", fd.FullName())) + } +} + +// NewField returns a new value that is assignable to the field +// for the given descriptor. For scalars, this returns the default value. +// For lists, maps, and messages, this returns a new, empty, mutable value. +func (x *fastReflection_GetDelegateStakeUponReputerRequest) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.GetDelegateStakeUponReputerRequest.topic_id": + return protoreflect.ValueOfUint64(uint64(0)) + case "emissions.v8.GetDelegateStakeUponReputerRequest.target": + return protoreflect.ValueOfString("") + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetDelegateStakeUponReputerRequest")) + } + panic(fmt.Errorf("message emissions.v8.GetDelegateStakeUponReputerRequest does not contain field %s", fd.FullName())) + } +} + +// WhichOneof reports which field within the oneof is populated, +// returning nil if none are populated. +// It panics if the oneof descriptor does not belong to this message. +func (x *fastReflection_GetDelegateStakeUponReputerRequest) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { + switch d.FullName() { + default: + panic(fmt.Errorf("%s is not a oneof field in emissions.v8.GetDelegateStakeUponReputerRequest", d.FullName())) + } + panic("unreachable") +} + +// GetUnknown retrieves the entire list of unknown fields. +// The caller may only mutate the contents of the RawFields +// if the mutated bytes are stored back into the message with SetUnknown. +func (x *fastReflection_GetDelegateStakeUponReputerRequest) GetUnknown() protoreflect.RawFields { + return x.unknownFields +} + +// SetUnknown stores an entire list of unknown fields. +// The raw fields must be syntactically valid according to the wire format. +// An implementation may panic if this is not the case. +// Once stored, the caller must not mutate the content of the RawFields. +// An empty RawFields may be passed to clear the fields. +// +// SetUnknown is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetDelegateStakeUponReputerRequest) SetUnknown(fields protoreflect.RawFields) { + x.unknownFields = fields +} + +// IsValid reports whether the message is valid. +// +// An invalid message is an empty, read-only value. +// +// An invalid message often corresponds to a nil pointer of the concrete +// message type, but the details are implementation dependent. +// Validity is not part of the protobuf data model, and may not +// be preserved in marshaling or other operations. +func (x *fastReflection_GetDelegateStakeUponReputerRequest) IsValid() bool { + return x != nil +} + +// ProtoMethods returns optional fastReflectionFeature-path implementations of various operations. +// This method may return nil. +// +// The returned methods type is identical to +// "google.golang.org/protobuf/runtime/protoiface".Methods. +// Consult the protoiface package documentation for details. +func (x *fastReflection_GetDelegateStakeUponReputerRequest) ProtoMethods() *protoiface.Methods { + size := func(input protoiface.SizeInput) protoiface.SizeOutput { + x := input.Message.Interface().(*GetDelegateStakeUponReputerRequest) + if x == nil { + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: 0, + } + } + options := runtime.SizeInputToOptions(input) + _ = options + var n int + var l int + _ = l + if x.TopicId != 0 { + n += 1 + runtime.Sov(uint64(x.TopicId)) + } + l = len(x.Target) + if l > 0 { + n += 1 + l + runtime.Sov(uint64(l)) + } + if x.unknownFields != nil { + n += len(x.unknownFields) + } + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: n, + } + } + + marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { + x := input.Message.Interface().(*GetDelegateStakeUponReputerRequest) + if x == nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + options := runtime.MarshalInputToOptions(input) + _ = options + size := options.Size(x) + dAtA := make([]byte, size) + i := len(dAtA) + _ = i + var l int + _ = l + if x.unknownFields != nil { + i -= len(x.unknownFields) + copy(dAtA[i:], x.unknownFields) + } + if len(x.Target) > 0 { + i -= len(x.Target) + copy(dAtA[i:], x.Target) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.Target))) + i-- + dAtA[i] = 0x12 + } + if x.TopicId != 0 { + i = runtime.EncodeVarint(dAtA, i, uint64(x.TopicId)) + i-- + dAtA[i] = 0x8 + } + if input.Buf != nil { + input.Buf = append(input.Buf, dAtA...) + } else { + input.Buf = dAtA + } + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { + x := input.Message.Interface().(*GetDelegateStakeUponReputerRequest) + if x == nil { + return protoiface.UnmarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Flags: input.Flags, + }, nil + } + options := runtime.UnmarshalInputToOptions(input) + _ = options + dAtA := input.Buf + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: GetDelegateStakeUponReputerRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: GetDelegateStakeUponReputerRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field TopicId", wireType) + } + x.TopicId = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + x.TopicId |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 2: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Target", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + x.Target = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := runtime.Skip(dAtA[iNdEx:]) + if err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if (iNdEx + skippy) > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + if !options.DiscardUnknown { + x.unknownFields = append(x.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + } + iNdEx += skippy + } + } + + if iNdEx > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, nil + } + return &protoiface.Methods{ + NoUnkeyedLiterals: struct{}{}, + Flags: protoiface.SupportMarshalDeterministic | protoiface.SupportUnmarshalDiscardUnknown, + Size: size, + Marshal: marshal, + Unmarshal: unmarshal, + Merge: nil, + CheckInitialized: nil, + } +} + +var ( + md_GetDelegateStakeUponReputerResponse protoreflect.MessageDescriptor + fd_GetDelegateStakeUponReputerResponse_stake protoreflect.FieldDescriptor +) + +func init() { + file_emissions_v8_query_proto_init() + md_GetDelegateStakeUponReputerResponse = File_emissions_v8_query_proto.Messages().ByName("GetDelegateStakeUponReputerResponse") + fd_GetDelegateStakeUponReputerResponse_stake = md_GetDelegateStakeUponReputerResponse.Fields().ByName("stake") +} + +var _ protoreflect.Message = (*fastReflection_GetDelegateStakeUponReputerResponse)(nil) + +type fastReflection_GetDelegateStakeUponReputerResponse GetDelegateStakeUponReputerResponse + +func (x *GetDelegateStakeUponReputerResponse) ProtoReflect() protoreflect.Message { + return (*fastReflection_GetDelegateStakeUponReputerResponse)(x) +} + +func (x *GetDelegateStakeUponReputerResponse) slowProtoReflect() protoreflect.Message { + mi := &file_emissions_v8_query_proto_msgTypes[139] + 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) +} + +var _fastReflection_GetDelegateStakeUponReputerResponse_messageType fastReflection_GetDelegateStakeUponReputerResponse_messageType +var _ protoreflect.MessageType = fastReflection_GetDelegateStakeUponReputerResponse_messageType{} + +type fastReflection_GetDelegateStakeUponReputerResponse_messageType struct{} + +func (x fastReflection_GetDelegateStakeUponReputerResponse_messageType) Zero() protoreflect.Message { + return (*fastReflection_GetDelegateStakeUponReputerResponse)(nil) +} +func (x fastReflection_GetDelegateStakeUponReputerResponse_messageType) New() protoreflect.Message { + return new(fastReflection_GetDelegateStakeUponReputerResponse) +} +func (x fastReflection_GetDelegateStakeUponReputerResponse_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_GetDelegateStakeUponReputerResponse +} + +// Descriptor returns message descriptor, which contains only the protobuf +// type information for the message. +func (x *fastReflection_GetDelegateStakeUponReputerResponse) Descriptor() protoreflect.MessageDescriptor { + return md_GetDelegateStakeUponReputerResponse +} + +// Type returns the message type, which encapsulates both Go and protobuf +// type information. If the Go type information is not needed, +// it is recommended that the message descriptor be used instead. +func (x *fastReflection_GetDelegateStakeUponReputerResponse) Type() protoreflect.MessageType { + return _fastReflection_GetDelegateStakeUponReputerResponse_messageType +} + +// New returns a newly allocated and mutable empty message. +func (x *fastReflection_GetDelegateStakeUponReputerResponse) New() protoreflect.Message { + return new(fastReflection_GetDelegateStakeUponReputerResponse) +} + +// Interface unwraps the message reflection interface and +// returns the underlying ProtoMessage interface. +func (x *fastReflection_GetDelegateStakeUponReputerResponse) Interface() protoreflect.ProtoMessage { + return (*GetDelegateStakeUponReputerResponse)(x) +} + +// Range iterates over every populated field in an undefined order, +// calling f for each field descriptor and value encountered. +// Range returns immediately if f returns false. +// While iterating, mutating operations may only be performed +// on the current field descriptor. +func (x *fastReflection_GetDelegateStakeUponReputerResponse) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { + if x.Stake != "" { + value := protoreflect.ValueOfString(x.Stake) + if !f(fd_GetDelegateStakeUponReputerResponse_stake, value) { + return + } + } +} + +// Has reports whether a field is populated. +// +// Some fields have the property of nullability where it is possible to +// distinguish between the default value of a field and whether the field +// was explicitly populated with the default value. Singular message fields, +// member fields of a oneof, and proto2 scalar fields are nullable. Such +// fields are populated only if explicitly set. +// +// In other cases (aside from the nullable cases above), +// a proto3 scalar field is populated if it contains a non-zero value, and +// a repeated field is populated if it is non-empty. +func (x *fastReflection_GetDelegateStakeUponReputerResponse) Has(fd protoreflect.FieldDescriptor) bool { + switch fd.FullName() { + case "emissions.v8.GetDelegateStakeUponReputerResponse.stake": + return x.Stake != "" + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetDelegateStakeUponReputerResponse")) + } + panic(fmt.Errorf("message emissions.v8.GetDelegateStakeUponReputerResponse does not contain field %s", fd.FullName())) + } +} + +// Clear clears the field such that a subsequent Has call reports false. +// +// Clearing an extension field clears both the extension type and value +// associated with the given field number. +// +// Clear is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetDelegateStakeUponReputerResponse) Clear(fd protoreflect.FieldDescriptor) { + switch fd.FullName() { + case "emissions.v8.GetDelegateStakeUponReputerResponse.stake": + x.Stake = "" + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetDelegateStakeUponReputerResponse")) + } + panic(fmt.Errorf("message emissions.v8.GetDelegateStakeUponReputerResponse does not contain field %s", fd.FullName())) + } +} + +// Get retrieves the value for a field. +// +// For unpopulated scalars, it returns the default value, where +// the default value of a bytes scalar is guaranteed to be a copy. +// For unpopulated composite types, it returns an empty, read-only view +// of the value; to obtain a mutable reference, use Mutable. +func (x *fastReflection_GetDelegateStakeUponReputerResponse) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { + switch descriptor.FullName() { + case "emissions.v8.GetDelegateStakeUponReputerResponse.stake": + value := x.Stake + return protoreflect.ValueOfString(value) + default: + if descriptor.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetDelegateStakeUponReputerResponse")) + } + panic(fmt.Errorf("message emissions.v8.GetDelegateStakeUponReputerResponse does not contain field %s", descriptor.FullName())) + } +} + +// Set stores the value for a field. +// +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType. +// When setting a composite type, it is unspecified whether the stored value +// aliases the source's memory in any way. If the composite value is an +// empty, read-only value, then it panics. +// +// Set is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetDelegateStakeUponReputerResponse) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { + switch fd.FullName() { + case "emissions.v8.GetDelegateStakeUponReputerResponse.stake": + x.Stake = value.Interface().(string) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetDelegateStakeUponReputerResponse")) + } + panic(fmt.Errorf("message emissions.v8.GetDelegateStakeUponReputerResponse does not contain field %s", fd.FullName())) + } +} + +// Mutable returns a mutable reference to a composite type. +// +// If the field is unpopulated, it may allocate a composite value. +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType +// if not already stored. +// It panics if the field does not contain a composite type. +// +// Mutable is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetDelegateStakeUponReputerResponse) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.GetDelegateStakeUponReputerResponse.stake": + panic(fmt.Errorf("field stake of message emissions.v8.GetDelegateStakeUponReputerResponse is not mutable")) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetDelegateStakeUponReputerResponse")) + } + panic(fmt.Errorf("message emissions.v8.GetDelegateStakeUponReputerResponse does not contain field %s", fd.FullName())) + } +} + +// NewField returns a new value that is assignable to the field +// for the given descriptor. For scalars, this returns the default value. +// For lists, maps, and messages, this returns a new, empty, mutable value. +func (x *fastReflection_GetDelegateStakeUponReputerResponse) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.GetDelegateStakeUponReputerResponse.stake": + return protoreflect.ValueOfString("") + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetDelegateStakeUponReputerResponse")) + } + panic(fmt.Errorf("message emissions.v8.GetDelegateStakeUponReputerResponse does not contain field %s", fd.FullName())) + } +} + +// WhichOneof reports which field within the oneof is populated, +// returning nil if none are populated. +// It panics if the oneof descriptor does not belong to this message. +func (x *fastReflection_GetDelegateStakeUponReputerResponse) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { + switch d.FullName() { + default: + panic(fmt.Errorf("%s is not a oneof field in emissions.v8.GetDelegateStakeUponReputerResponse", d.FullName())) + } + panic("unreachable") +} + +// GetUnknown retrieves the entire list of unknown fields. +// The caller may only mutate the contents of the RawFields +// if the mutated bytes are stored back into the message with SetUnknown. +func (x *fastReflection_GetDelegateStakeUponReputerResponse) GetUnknown() protoreflect.RawFields { + return x.unknownFields +} + +// SetUnknown stores an entire list of unknown fields. +// The raw fields must be syntactically valid according to the wire format. +// An implementation may panic if this is not the case. +// Once stored, the caller must not mutate the content of the RawFields. +// An empty RawFields may be passed to clear the fields. +// +// SetUnknown is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetDelegateStakeUponReputerResponse) SetUnknown(fields protoreflect.RawFields) { + x.unknownFields = fields +} + +// IsValid reports whether the message is valid. +// +// An invalid message is an empty, read-only value. +// +// An invalid message often corresponds to a nil pointer of the concrete +// message type, but the details are implementation dependent. +// Validity is not part of the protobuf data model, and may not +// be preserved in marshaling or other operations. +func (x *fastReflection_GetDelegateStakeUponReputerResponse) IsValid() bool { + return x != nil +} + +// ProtoMethods returns optional fastReflectionFeature-path implementations of various operations. +// This method may return nil. +// +// The returned methods type is identical to +// "google.golang.org/protobuf/runtime/protoiface".Methods. +// Consult the protoiface package documentation for details. +func (x *fastReflection_GetDelegateStakeUponReputerResponse) ProtoMethods() *protoiface.Methods { + size := func(input protoiface.SizeInput) protoiface.SizeOutput { + x := input.Message.Interface().(*GetDelegateStakeUponReputerResponse) + if x == nil { + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: 0, + } + } + options := runtime.SizeInputToOptions(input) + _ = options + var n int + var l int + _ = l + l = len(x.Stake) + if l > 0 { + n += 1 + l + runtime.Sov(uint64(l)) + } + if x.unknownFields != nil { + n += len(x.unknownFields) + } + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: n, + } + } + + marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { + x := input.Message.Interface().(*GetDelegateStakeUponReputerResponse) + if x == nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + options := runtime.MarshalInputToOptions(input) + _ = options + size := options.Size(x) + dAtA := make([]byte, size) + i := len(dAtA) + _ = i + var l int + _ = l + if x.unknownFields != nil { + i -= len(x.unknownFields) + copy(dAtA[i:], x.unknownFields) + } + if len(x.Stake) > 0 { + i -= len(x.Stake) + copy(dAtA[i:], x.Stake) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.Stake))) + i-- + dAtA[i] = 0xa + } + if input.Buf != nil { + input.Buf = append(input.Buf, dAtA...) + } else { + input.Buf = dAtA + } + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { + x := input.Message.Interface().(*GetDelegateStakeUponReputerResponse) + if x == nil { + return protoiface.UnmarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Flags: input.Flags, + }, nil + } + options := runtime.UnmarshalInputToOptions(input) + _ = options + dAtA := input.Buf + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: GetDelegateStakeUponReputerResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: GetDelegateStakeUponReputerResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Stake", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + x.Stake = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := runtime.Skip(dAtA[iNdEx:]) + if err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if (iNdEx + skippy) > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + if !options.DiscardUnknown { + x.unknownFields = append(x.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + } + iNdEx += skippy + } + } + + if iNdEx > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, nil + } + return &protoiface.Methods{ + NoUnkeyedLiterals: struct{}{}, + Flags: protoiface.SupportMarshalDeterministic | protoiface.SupportUnmarshalDiscardUnknown, + Size: size, + Marshal: marshal, + Unmarshal: unmarshal, + Merge: nil, + CheckInitialized: nil, + } +} + +var ( + md_GetDelegateRewardPerShareRequest protoreflect.MessageDescriptor + fd_GetDelegateRewardPerShareRequest_topic_id protoreflect.FieldDescriptor + fd_GetDelegateRewardPerShareRequest_reputer protoreflect.FieldDescriptor +) + +func init() { + file_emissions_v8_query_proto_init() + md_GetDelegateRewardPerShareRequest = File_emissions_v8_query_proto.Messages().ByName("GetDelegateRewardPerShareRequest") + fd_GetDelegateRewardPerShareRequest_topic_id = md_GetDelegateRewardPerShareRequest.Fields().ByName("topic_id") + fd_GetDelegateRewardPerShareRequest_reputer = md_GetDelegateRewardPerShareRequest.Fields().ByName("reputer") +} + +var _ protoreflect.Message = (*fastReflection_GetDelegateRewardPerShareRequest)(nil) + +type fastReflection_GetDelegateRewardPerShareRequest GetDelegateRewardPerShareRequest + +func (x *GetDelegateRewardPerShareRequest) ProtoReflect() protoreflect.Message { + return (*fastReflection_GetDelegateRewardPerShareRequest)(x) +} + +func (x *GetDelegateRewardPerShareRequest) slowProtoReflect() protoreflect.Message { + mi := &file_emissions_v8_query_proto_msgTypes[140] + 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) +} + +var _fastReflection_GetDelegateRewardPerShareRequest_messageType fastReflection_GetDelegateRewardPerShareRequest_messageType +var _ protoreflect.MessageType = fastReflection_GetDelegateRewardPerShareRequest_messageType{} + +type fastReflection_GetDelegateRewardPerShareRequest_messageType struct{} + +func (x fastReflection_GetDelegateRewardPerShareRequest_messageType) Zero() protoreflect.Message { + return (*fastReflection_GetDelegateRewardPerShareRequest)(nil) +} +func (x fastReflection_GetDelegateRewardPerShareRequest_messageType) New() protoreflect.Message { + return new(fastReflection_GetDelegateRewardPerShareRequest) +} +func (x fastReflection_GetDelegateRewardPerShareRequest_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_GetDelegateRewardPerShareRequest +} + +// Descriptor returns message descriptor, which contains only the protobuf +// type information for the message. +func (x *fastReflection_GetDelegateRewardPerShareRequest) Descriptor() protoreflect.MessageDescriptor { + return md_GetDelegateRewardPerShareRequest +} + +// Type returns the message type, which encapsulates both Go and protobuf +// type information. If the Go type information is not needed, +// it is recommended that the message descriptor be used instead. +func (x *fastReflection_GetDelegateRewardPerShareRequest) Type() protoreflect.MessageType { + return _fastReflection_GetDelegateRewardPerShareRequest_messageType +} + +// New returns a newly allocated and mutable empty message. +func (x *fastReflection_GetDelegateRewardPerShareRequest) New() protoreflect.Message { + return new(fastReflection_GetDelegateRewardPerShareRequest) +} + +// Interface unwraps the message reflection interface and +// returns the underlying ProtoMessage interface. +func (x *fastReflection_GetDelegateRewardPerShareRequest) Interface() protoreflect.ProtoMessage { + return (*GetDelegateRewardPerShareRequest)(x) +} + +// Range iterates over every populated field in an undefined order, +// calling f for each field descriptor and value encountered. +// Range returns immediately if f returns false. +// While iterating, mutating operations may only be performed +// on the current field descriptor. +func (x *fastReflection_GetDelegateRewardPerShareRequest) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { + if x.TopicId != uint64(0) { + value := protoreflect.ValueOfUint64(x.TopicId) + if !f(fd_GetDelegateRewardPerShareRequest_topic_id, value) { + return + } + } + if x.Reputer != "" { + value := protoreflect.ValueOfString(x.Reputer) + if !f(fd_GetDelegateRewardPerShareRequest_reputer, value) { + return + } + } +} + +// Has reports whether a field is populated. +// +// Some fields have the property of nullability where it is possible to +// distinguish between the default value of a field and whether the field +// was explicitly populated with the default value. Singular message fields, +// member fields of a oneof, and proto2 scalar fields are nullable. Such +// fields are populated only if explicitly set. +// +// In other cases (aside from the nullable cases above), +// a proto3 scalar field is populated if it contains a non-zero value, and +// a repeated field is populated if it is non-empty. +func (x *fastReflection_GetDelegateRewardPerShareRequest) Has(fd protoreflect.FieldDescriptor) bool { + switch fd.FullName() { + case "emissions.v8.GetDelegateRewardPerShareRequest.topic_id": + return x.TopicId != uint64(0) + case "emissions.v8.GetDelegateRewardPerShareRequest.reputer": + return x.Reputer != "" + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetDelegateRewardPerShareRequest")) + } + panic(fmt.Errorf("message emissions.v8.GetDelegateRewardPerShareRequest does not contain field %s", fd.FullName())) + } +} + +// Clear clears the field such that a subsequent Has call reports false. +// +// Clearing an extension field clears both the extension type and value +// associated with the given field number. +// +// Clear is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetDelegateRewardPerShareRequest) Clear(fd protoreflect.FieldDescriptor) { + switch fd.FullName() { + case "emissions.v8.GetDelegateRewardPerShareRequest.topic_id": + x.TopicId = uint64(0) + case "emissions.v8.GetDelegateRewardPerShareRequest.reputer": + x.Reputer = "" + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetDelegateRewardPerShareRequest")) + } + panic(fmt.Errorf("message emissions.v8.GetDelegateRewardPerShareRequest does not contain field %s", fd.FullName())) + } +} + +// Get retrieves the value for a field. +// +// For unpopulated scalars, it returns the default value, where +// the default value of a bytes scalar is guaranteed to be a copy. +// For unpopulated composite types, it returns an empty, read-only view +// of the value; to obtain a mutable reference, use Mutable. +func (x *fastReflection_GetDelegateRewardPerShareRequest) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { + switch descriptor.FullName() { + case "emissions.v8.GetDelegateRewardPerShareRequest.topic_id": + value := x.TopicId + return protoreflect.ValueOfUint64(value) + case "emissions.v8.GetDelegateRewardPerShareRequest.reputer": + value := x.Reputer + return protoreflect.ValueOfString(value) + default: + if descriptor.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetDelegateRewardPerShareRequest")) + } + panic(fmt.Errorf("message emissions.v8.GetDelegateRewardPerShareRequest does not contain field %s", descriptor.FullName())) + } +} + +// Set stores the value for a field. +// +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType. +// When setting a composite type, it is unspecified whether the stored value +// aliases the source's memory in any way. If the composite value is an +// empty, read-only value, then it panics. +// +// Set is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetDelegateRewardPerShareRequest) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { + switch fd.FullName() { + case "emissions.v8.GetDelegateRewardPerShareRequest.topic_id": + x.TopicId = value.Uint() + case "emissions.v8.GetDelegateRewardPerShareRequest.reputer": + x.Reputer = value.Interface().(string) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetDelegateRewardPerShareRequest")) + } + panic(fmt.Errorf("message emissions.v8.GetDelegateRewardPerShareRequest does not contain field %s", fd.FullName())) + } +} + +// Mutable returns a mutable reference to a composite type. +// +// If the field is unpopulated, it may allocate a composite value. +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType +// if not already stored. +// It panics if the field does not contain a composite type. +// +// Mutable is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetDelegateRewardPerShareRequest) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.GetDelegateRewardPerShareRequest.topic_id": + panic(fmt.Errorf("field topic_id of message emissions.v8.GetDelegateRewardPerShareRequest is not mutable")) + case "emissions.v8.GetDelegateRewardPerShareRequest.reputer": + panic(fmt.Errorf("field reputer of message emissions.v8.GetDelegateRewardPerShareRequest is not mutable")) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetDelegateRewardPerShareRequest")) + } + panic(fmt.Errorf("message emissions.v8.GetDelegateRewardPerShareRequest does not contain field %s", fd.FullName())) + } +} + +// NewField returns a new value that is assignable to the field +// for the given descriptor. For scalars, this returns the default value. +// For lists, maps, and messages, this returns a new, empty, mutable value. +func (x *fastReflection_GetDelegateRewardPerShareRequest) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.GetDelegateRewardPerShareRequest.topic_id": + return protoreflect.ValueOfUint64(uint64(0)) + case "emissions.v8.GetDelegateRewardPerShareRequest.reputer": + return protoreflect.ValueOfString("") + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetDelegateRewardPerShareRequest")) + } + panic(fmt.Errorf("message emissions.v8.GetDelegateRewardPerShareRequest does not contain field %s", fd.FullName())) + } +} + +// WhichOneof reports which field within the oneof is populated, +// returning nil if none are populated. +// It panics if the oneof descriptor does not belong to this message. +func (x *fastReflection_GetDelegateRewardPerShareRequest) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { + switch d.FullName() { + default: + panic(fmt.Errorf("%s is not a oneof field in emissions.v8.GetDelegateRewardPerShareRequest", d.FullName())) + } + panic("unreachable") +} + +// GetUnknown retrieves the entire list of unknown fields. +// The caller may only mutate the contents of the RawFields +// if the mutated bytes are stored back into the message with SetUnknown. +func (x *fastReflection_GetDelegateRewardPerShareRequest) GetUnknown() protoreflect.RawFields { + return x.unknownFields +} + +// SetUnknown stores an entire list of unknown fields. +// The raw fields must be syntactically valid according to the wire format. +// An implementation may panic if this is not the case. +// Once stored, the caller must not mutate the content of the RawFields. +// An empty RawFields may be passed to clear the fields. +// +// SetUnknown is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetDelegateRewardPerShareRequest) SetUnknown(fields protoreflect.RawFields) { + x.unknownFields = fields +} + +// IsValid reports whether the message is valid. +// +// An invalid message is an empty, read-only value. +// +// An invalid message often corresponds to a nil pointer of the concrete +// message type, but the details are implementation dependent. +// Validity is not part of the protobuf data model, and may not +// be preserved in marshaling or other operations. +func (x *fastReflection_GetDelegateRewardPerShareRequest) IsValid() bool { + return x != nil +} + +// ProtoMethods returns optional fastReflectionFeature-path implementations of various operations. +// This method may return nil. +// +// The returned methods type is identical to +// "google.golang.org/protobuf/runtime/protoiface".Methods. +// Consult the protoiface package documentation for details. +func (x *fastReflection_GetDelegateRewardPerShareRequest) ProtoMethods() *protoiface.Methods { + size := func(input protoiface.SizeInput) protoiface.SizeOutput { + x := input.Message.Interface().(*GetDelegateRewardPerShareRequest) + if x == nil { + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: 0, + } + } + options := runtime.SizeInputToOptions(input) + _ = options + var n int + var l int + _ = l + if x.TopicId != 0 { + n += 1 + runtime.Sov(uint64(x.TopicId)) + } + l = len(x.Reputer) + if l > 0 { + n += 1 + l + runtime.Sov(uint64(l)) + } + if x.unknownFields != nil { + n += len(x.unknownFields) + } + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: n, + } + } + + marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { + x := input.Message.Interface().(*GetDelegateRewardPerShareRequest) + if x == nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + options := runtime.MarshalInputToOptions(input) + _ = options + size := options.Size(x) + dAtA := make([]byte, size) + i := len(dAtA) + _ = i + var l int + _ = l + if x.unknownFields != nil { + i -= len(x.unknownFields) + copy(dAtA[i:], x.unknownFields) + } + if len(x.Reputer) > 0 { + i -= len(x.Reputer) + copy(dAtA[i:], x.Reputer) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.Reputer))) + i-- + dAtA[i] = 0x12 + } + if x.TopicId != 0 { + i = runtime.EncodeVarint(dAtA, i, uint64(x.TopicId)) + i-- + dAtA[i] = 0x8 + } + if input.Buf != nil { + input.Buf = append(input.Buf, dAtA...) + } else { + input.Buf = dAtA + } + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { + x := input.Message.Interface().(*GetDelegateRewardPerShareRequest) + if x == nil { + return protoiface.UnmarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Flags: input.Flags, + }, nil + } + options := runtime.UnmarshalInputToOptions(input) + _ = options + dAtA := input.Buf + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: GetDelegateRewardPerShareRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: GetDelegateRewardPerShareRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field TopicId", wireType) + } + x.TopicId = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + x.TopicId |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 2: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Reputer", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + x.Reputer = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := runtime.Skip(dAtA[iNdEx:]) + if err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if (iNdEx + skippy) > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + if !options.DiscardUnknown { + x.unknownFields = append(x.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + } + iNdEx += skippy + } + } + + if iNdEx > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, nil + } + return &protoiface.Methods{ + NoUnkeyedLiterals: struct{}{}, + Flags: protoiface.SupportMarshalDeterministic | protoiface.SupportUnmarshalDiscardUnknown, + Size: size, + Marshal: marshal, + Unmarshal: unmarshal, + Merge: nil, + CheckInitialized: nil, + } +} + +var ( + md_GetDelegateRewardPerShareResponse protoreflect.MessageDescriptor + fd_GetDelegateRewardPerShareResponse_reward_per_share protoreflect.FieldDescriptor +) + +func init() { + file_emissions_v8_query_proto_init() + md_GetDelegateRewardPerShareResponse = File_emissions_v8_query_proto.Messages().ByName("GetDelegateRewardPerShareResponse") + fd_GetDelegateRewardPerShareResponse_reward_per_share = md_GetDelegateRewardPerShareResponse.Fields().ByName("reward_per_share") +} + +var _ protoreflect.Message = (*fastReflection_GetDelegateRewardPerShareResponse)(nil) + +type fastReflection_GetDelegateRewardPerShareResponse GetDelegateRewardPerShareResponse + +func (x *GetDelegateRewardPerShareResponse) ProtoReflect() protoreflect.Message { + return (*fastReflection_GetDelegateRewardPerShareResponse)(x) +} + +func (x *GetDelegateRewardPerShareResponse) slowProtoReflect() protoreflect.Message { + mi := &file_emissions_v8_query_proto_msgTypes[141] + 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) +} + +var _fastReflection_GetDelegateRewardPerShareResponse_messageType fastReflection_GetDelegateRewardPerShareResponse_messageType +var _ protoreflect.MessageType = fastReflection_GetDelegateRewardPerShareResponse_messageType{} + +type fastReflection_GetDelegateRewardPerShareResponse_messageType struct{} + +func (x fastReflection_GetDelegateRewardPerShareResponse_messageType) Zero() protoreflect.Message { + return (*fastReflection_GetDelegateRewardPerShareResponse)(nil) +} +func (x fastReflection_GetDelegateRewardPerShareResponse_messageType) New() protoreflect.Message { + return new(fastReflection_GetDelegateRewardPerShareResponse) +} +func (x fastReflection_GetDelegateRewardPerShareResponse_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_GetDelegateRewardPerShareResponse +} + +// Descriptor returns message descriptor, which contains only the protobuf +// type information for the message. +func (x *fastReflection_GetDelegateRewardPerShareResponse) Descriptor() protoreflect.MessageDescriptor { + return md_GetDelegateRewardPerShareResponse +} + +// Type returns the message type, which encapsulates both Go and protobuf +// type information. If the Go type information is not needed, +// it is recommended that the message descriptor be used instead. +func (x *fastReflection_GetDelegateRewardPerShareResponse) Type() protoreflect.MessageType { + return _fastReflection_GetDelegateRewardPerShareResponse_messageType +} + +// New returns a newly allocated and mutable empty message. +func (x *fastReflection_GetDelegateRewardPerShareResponse) New() protoreflect.Message { + return new(fastReflection_GetDelegateRewardPerShareResponse) +} + +// Interface unwraps the message reflection interface and +// returns the underlying ProtoMessage interface. +func (x *fastReflection_GetDelegateRewardPerShareResponse) Interface() protoreflect.ProtoMessage { + return (*GetDelegateRewardPerShareResponse)(x) +} + +// Range iterates over every populated field in an undefined order, +// calling f for each field descriptor and value encountered. +// Range returns immediately if f returns false. +// While iterating, mutating operations may only be performed +// on the current field descriptor. +func (x *fastReflection_GetDelegateRewardPerShareResponse) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { + if x.RewardPerShare != "" { + value := protoreflect.ValueOfString(x.RewardPerShare) + if !f(fd_GetDelegateRewardPerShareResponse_reward_per_share, value) { + return + } + } +} + +// Has reports whether a field is populated. +// +// Some fields have the property of nullability where it is possible to +// distinguish between the default value of a field and whether the field +// was explicitly populated with the default value. Singular message fields, +// member fields of a oneof, and proto2 scalar fields are nullable. Such +// fields are populated only if explicitly set. +// +// In other cases (aside from the nullable cases above), +// a proto3 scalar field is populated if it contains a non-zero value, and +// a repeated field is populated if it is non-empty. +func (x *fastReflection_GetDelegateRewardPerShareResponse) Has(fd protoreflect.FieldDescriptor) bool { + switch fd.FullName() { + case "emissions.v8.GetDelegateRewardPerShareResponse.reward_per_share": + return x.RewardPerShare != "" + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetDelegateRewardPerShareResponse")) + } + panic(fmt.Errorf("message emissions.v8.GetDelegateRewardPerShareResponse does not contain field %s", fd.FullName())) + } +} + +// Clear clears the field such that a subsequent Has call reports false. +// +// Clearing an extension field clears both the extension type and value +// associated with the given field number. +// +// Clear is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetDelegateRewardPerShareResponse) Clear(fd protoreflect.FieldDescriptor) { + switch fd.FullName() { + case "emissions.v8.GetDelegateRewardPerShareResponse.reward_per_share": + x.RewardPerShare = "" + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetDelegateRewardPerShareResponse")) + } + panic(fmt.Errorf("message emissions.v8.GetDelegateRewardPerShareResponse does not contain field %s", fd.FullName())) + } +} + +// Get retrieves the value for a field. +// +// For unpopulated scalars, it returns the default value, where +// the default value of a bytes scalar is guaranteed to be a copy. +// For unpopulated composite types, it returns an empty, read-only view +// of the value; to obtain a mutable reference, use Mutable. +func (x *fastReflection_GetDelegateRewardPerShareResponse) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { + switch descriptor.FullName() { + case "emissions.v8.GetDelegateRewardPerShareResponse.reward_per_share": + value := x.RewardPerShare + return protoreflect.ValueOfString(value) + default: + if descriptor.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetDelegateRewardPerShareResponse")) + } + panic(fmt.Errorf("message emissions.v8.GetDelegateRewardPerShareResponse does not contain field %s", descriptor.FullName())) + } +} + +// Set stores the value for a field. +// +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType. +// When setting a composite type, it is unspecified whether the stored value +// aliases the source's memory in any way. If the composite value is an +// empty, read-only value, then it panics. +// +// Set is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetDelegateRewardPerShareResponse) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { + switch fd.FullName() { + case "emissions.v8.GetDelegateRewardPerShareResponse.reward_per_share": + x.RewardPerShare = value.Interface().(string) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetDelegateRewardPerShareResponse")) + } + panic(fmt.Errorf("message emissions.v8.GetDelegateRewardPerShareResponse does not contain field %s", fd.FullName())) + } +} + +// Mutable returns a mutable reference to a composite type. +// +// If the field is unpopulated, it may allocate a composite value. +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType +// if not already stored. +// It panics if the field does not contain a composite type. +// +// Mutable is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetDelegateRewardPerShareResponse) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.GetDelegateRewardPerShareResponse.reward_per_share": + panic(fmt.Errorf("field reward_per_share of message emissions.v8.GetDelegateRewardPerShareResponse is not mutable")) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetDelegateRewardPerShareResponse")) + } + panic(fmt.Errorf("message emissions.v8.GetDelegateRewardPerShareResponse does not contain field %s", fd.FullName())) + } +} + +// NewField returns a new value that is assignable to the field +// for the given descriptor. For scalars, this returns the default value. +// For lists, maps, and messages, this returns a new, empty, mutable value. +func (x *fastReflection_GetDelegateRewardPerShareResponse) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.GetDelegateRewardPerShareResponse.reward_per_share": + return protoreflect.ValueOfString("") + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetDelegateRewardPerShareResponse")) + } + panic(fmt.Errorf("message emissions.v8.GetDelegateRewardPerShareResponse does not contain field %s", fd.FullName())) + } +} + +// WhichOneof reports which field within the oneof is populated, +// returning nil if none are populated. +// It panics if the oneof descriptor does not belong to this message. +func (x *fastReflection_GetDelegateRewardPerShareResponse) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { + switch d.FullName() { + default: + panic(fmt.Errorf("%s is not a oneof field in emissions.v8.GetDelegateRewardPerShareResponse", d.FullName())) + } + panic("unreachable") +} + +// GetUnknown retrieves the entire list of unknown fields. +// The caller may only mutate the contents of the RawFields +// if the mutated bytes are stored back into the message with SetUnknown. +func (x *fastReflection_GetDelegateRewardPerShareResponse) GetUnknown() protoreflect.RawFields { + return x.unknownFields +} + +// SetUnknown stores an entire list of unknown fields. +// The raw fields must be syntactically valid according to the wire format. +// An implementation may panic if this is not the case. +// Once stored, the caller must not mutate the content of the RawFields. +// An empty RawFields may be passed to clear the fields. +// +// SetUnknown is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetDelegateRewardPerShareResponse) SetUnknown(fields protoreflect.RawFields) { + x.unknownFields = fields +} + +// IsValid reports whether the message is valid. +// +// An invalid message is an empty, read-only value. +// +// An invalid message often corresponds to a nil pointer of the concrete +// message type, but the details are implementation dependent. +// Validity is not part of the protobuf data model, and may not +// be preserved in marshaling or other operations. +func (x *fastReflection_GetDelegateRewardPerShareResponse) IsValid() bool { + return x != nil +} + +// ProtoMethods returns optional fastReflectionFeature-path implementations of various operations. +// This method may return nil. +// +// The returned methods type is identical to +// "google.golang.org/protobuf/runtime/protoiface".Methods. +// Consult the protoiface package documentation for details. +func (x *fastReflection_GetDelegateRewardPerShareResponse) ProtoMethods() *protoiface.Methods { + size := func(input protoiface.SizeInput) protoiface.SizeOutput { + x := input.Message.Interface().(*GetDelegateRewardPerShareResponse) + if x == nil { + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: 0, + } + } + options := runtime.SizeInputToOptions(input) + _ = options + var n int + var l int + _ = l + l = len(x.RewardPerShare) + if l > 0 { + n += 1 + l + runtime.Sov(uint64(l)) + } + if x.unknownFields != nil { + n += len(x.unknownFields) + } + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: n, + } + } + + marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { + x := input.Message.Interface().(*GetDelegateRewardPerShareResponse) + if x == nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + options := runtime.MarshalInputToOptions(input) + _ = options + size := options.Size(x) + dAtA := make([]byte, size) + i := len(dAtA) + _ = i + var l int + _ = l + if x.unknownFields != nil { + i -= len(x.unknownFields) + copy(dAtA[i:], x.unknownFields) + } + if len(x.RewardPerShare) > 0 { + i -= len(x.RewardPerShare) + copy(dAtA[i:], x.RewardPerShare) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.RewardPerShare))) + i-- + dAtA[i] = 0xa + } + if input.Buf != nil { + input.Buf = append(input.Buf, dAtA...) + } else { + input.Buf = dAtA + } + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { + x := input.Message.Interface().(*GetDelegateRewardPerShareResponse) + if x == nil { + return protoiface.UnmarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Flags: input.Flags, + }, nil + } + options := runtime.UnmarshalInputToOptions(input) + _ = options + dAtA := input.Buf + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: GetDelegateRewardPerShareResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: GetDelegateRewardPerShareResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field RewardPerShare", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + x.RewardPerShare = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := runtime.Skip(dAtA[iNdEx:]) + if err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if (iNdEx + skippy) > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + if !options.DiscardUnknown { + x.unknownFields = append(x.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + } + iNdEx += skippy + } + } + + if iNdEx > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, nil + } + return &protoiface.Methods{ + NoUnkeyedLiterals: struct{}{}, + Flags: protoiface.SupportMarshalDeterministic | protoiface.SupportUnmarshalDiscardUnknown, + Size: size, + Marshal: marshal, + Unmarshal: unmarshal, + Merge: nil, + CheckInitialized: nil, + } +} + +var ( + md_GetStakeRemovalForReputerAndTopicIdRequest protoreflect.MessageDescriptor + fd_GetStakeRemovalForReputerAndTopicIdRequest_reputer protoreflect.FieldDescriptor + fd_GetStakeRemovalForReputerAndTopicIdRequest_topic_id protoreflect.FieldDescriptor +) + +func init() { + file_emissions_v8_query_proto_init() + md_GetStakeRemovalForReputerAndTopicIdRequest = File_emissions_v8_query_proto.Messages().ByName("GetStakeRemovalForReputerAndTopicIdRequest") + fd_GetStakeRemovalForReputerAndTopicIdRequest_reputer = md_GetStakeRemovalForReputerAndTopicIdRequest.Fields().ByName("reputer") + fd_GetStakeRemovalForReputerAndTopicIdRequest_topic_id = md_GetStakeRemovalForReputerAndTopicIdRequest.Fields().ByName("topic_id") +} + +var _ protoreflect.Message = (*fastReflection_GetStakeRemovalForReputerAndTopicIdRequest)(nil) + +type fastReflection_GetStakeRemovalForReputerAndTopicIdRequest GetStakeRemovalForReputerAndTopicIdRequest + +func (x *GetStakeRemovalForReputerAndTopicIdRequest) ProtoReflect() protoreflect.Message { + return (*fastReflection_GetStakeRemovalForReputerAndTopicIdRequest)(x) +} + +func (x *GetStakeRemovalForReputerAndTopicIdRequest) slowProtoReflect() protoreflect.Message { + mi := &file_emissions_v8_query_proto_msgTypes[142] + 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) +} + +var _fastReflection_GetStakeRemovalForReputerAndTopicIdRequest_messageType fastReflection_GetStakeRemovalForReputerAndTopicIdRequest_messageType +var _ protoreflect.MessageType = fastReflection_GetStakeRemovalForReputerAndTopicIdRequest_messageType{} + +type fastReflection_GetStakeRemovalForReputerAndTopicIdRequest_messageType struct{} + +func (x fastReflection_GetStakeRemovalForReputerAndTopicIdRequest_messageType) Zero() protoreflect.Message { + return (*fastReflection_GetStakeRemovalForReputerAndTopicIdRequest)(nil) +} +func (x fastReflection_GetStakeRemovalForReputerAndTopicIdRequest_messageType) New() protoreflect.Message { + return new(fastReflection_GetStakeRemovalForReputerAndTopicIdRequest) +} +func (x fastReflection_GetStakeRemovalForReputerAndTopicIdRequest_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_GetStakeRemovalForReputerAndTopicIdRequest +} + +// Descriptor returns message descriptor, which contains only the protobuf +// type information for the message. +func (x *fastReflection_GetStakeRemovalForReputerAndTopicIdRequest) Descriptor() protoreflect.MessageDescriptor { + return md_GetStakeRemovalForReputerAndTopicIdRequest +} + +// Type returns the message type, which encapsulates both Go and protobuf +// type information. If the Go type information is not needed, +// it is recommended that the message descriptor be used instead. +func (x *fastReflection_GetStakeRemovalForReputerAndTopicIdRequest) Type() protoreflect.MessageType { + return _fastReflection_GetStakeRemovalForReputerAndTopicIdRequest_messageType +} + +// New returns a newly allocated and mutable empty message. +func (x *fastReflection_GetStakeRemovalForReputerAndTopicIdRequest) New() protoreflect.Message { + return new(fastReflection_GetStakeRemovalForReputerAndTopicIdRequest) +} + +// Interface unwraps the message reflection interface and +// returns the underlying ProtoMessage interface. +func (x *fastReflection_GetStakeRemovalForReputerAndTopicIdRequest) Interface() protoreflect.ProtoMessage { + return (*GetStakeRemovalForReputerAndTopicIdRequest)(x) +} + +// Range iterates over every populated field in an undefined order, +// calling f for each field descriptor and value encountered. +// Range returns immediately if f returns false. +// While iterating, mutating operations may only be performed +// on the current field descriptor. +func (x *fastReflection_GetStakeRemovalForReputerAndTopicIdRequest) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { + if x.Reputer != "" { + value := protoreflect.ValueOfString(x.Reputer) + if !f(fd_GetStakeRemovalForReputerAndTopicIdRequest_reputer, value) { + return + } + } + if x.TopicId != uint64(0) { + value := protoreflect.ValueOfUint64(x.TopicId) + if !f(fd_GetStakeRemovalForReputerAndTopicIdRequest_topic_id, value) { + return + } + } +} + +// Has reports whether a field is populated. +// +// Some fields have the property of nullability where it is possible to +// distinguish between the default value of a field and whether the field +// was explicitly populated with the default value. Singular message fields, +// member fields of a oneof, and proto2 scalar fields are nullable. Such +// fields are populated only if explicitly set. +// +// In other cases (aside from the nullable cases above), +// a proto3 scalar field is populated if it contains a non-zero value, and +// a repeated field is populated if it is non-empty. +func (x *fastReflection_GetStakeRemovalForReputerAndTopicIdRequest) Has(fd protoreflect.FieldDescriptor) bool { + switch fd.FullName() { + case "emissions.v8.GetStakeRemovalForReputerAndTopicIdRequest.reputer": + return x.Reputer != "" + case "emissions.v8.GetStakeRemovalForReputerAndTopicIdRequest.topic_id": + return x.TopicId != uint64(0) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetStakeRemovalForReputerAndTopicIdRequest")) + } + panic(fmt.Errorf("message emissions.v8.GetStakeRemovalForReputerAndTopicIdRequest does not contain field %s", fd.FullName())) + } +} + +// Clear clears the field such that a subsequent Has call reports false. +// +// Clearing an extension field clears both the extension type and value +// associated with the given field number. +// +// Clear is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetStakeRemovalForReputerAndTopicIdRequest) Clear(fd protoreflect.FieldDescriptor) { + switch fd.FullName() { + case "emissions.v8.GetStakeRemovalForReputerAndTopicIdRequest.reputer": + x.Reputer = "" + case "emissions.v8.GetStakeRemovalForReputerAndTopicIdRequest.topic_id": + x.TopicId = uint64(0) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetStakeRemovalForReputerAndTopicIdRequest")) + } + panic(fmt.Errorf("message emissions.v8.GetStakeRemovalForReputerAndTopicIdRequest does not contain field %s", fd.FullName())) + } +} + +// Get retrieves the value for a field. +// +// For unpopulated scalars, it returns the default value, where +// the default value of a bytes scalar is guaranteed to be a copy. +// For unpopulated composite types, it returns an empty, read-only view +// of the value; to obtain a mutable reference, use Mutable. +func (x *fastReflection_GetStakeRemovalForReputerAndTopicIdRequest) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { + switch descriptor.FullName() { + case "emissions.v8.GetStakeRemovalForReputerAndTopicIdRequest.reputer": + value := x.Reputer + return protoreflect.ValueOfString(value) + case "emissions.v8.GetStakeRemovalForReputerAndTopicIdRequest.topic_id": + value := x.TopicId + return protoreflect.ValueOfUint64(value) + default: + if descriptor.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetStakeRemovalForReputerAndTopicIdRequest")) + } + panic(fmt.Errorf("message emissions.v8.GetStakeRemovalForReputerAndTopicIdRequest does not contain field %s", descriptor.FullName())) + } +} + +// Set stores the value for a field. +// +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType. +// When setting a composite type, it is unspecified whether the stored value +// aliases the source's memory in any way. If the composite value is an +// empty, read-only value, then it panics. +// +// Set is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetStakeRemovalForReputerAndTopicIdRequest) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { + switch fd.FullName() { + case "emissions.v8.GetStakeRemovalForReputerAndTopicIdRequest.reputer": + x.Reputer = value.Interface().(string) + case "emissions.v8.GetStakeRemovalForReputerAndTopicIdRequest.topic_id": + x.TopicId = value.Uint() + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetStakeRemovalForReputerAndTopicIdRequest")) + } + panic(fmt.Errorf("message emissions.v8.GetStakeRemovalForReputerAndTopicIdRequest does not contain field %s", fd.FullName())) + } +} + +// Mutable returns a mutable reference to a composite type. +// +// If the field is unpopulated, it may allocate a composite value. +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType +// if not already stored. +// It panics if the field does not contain a composite type. +// +// Mutable is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetStakeRemovalForReputerAndTopicIdRequest) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.GetStakeRemovalForReputerAndTopicIdRequest.reputer": + panic(fmt.Errorf("field reputer of message emissions.v8.GetStakeRemovalForReputerAndTopicIdRequest is not mutable")) + case "emissions.v8.GetStakeRemovalForReputerAndTopicIdRequest.topic_id": + panic(fmt.Errorf("field topic_id of message emissions.v8.GetStakeRemovalForReputerAndTopicIdRequest is not mutable")) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetStakeRemovalForReputerAndTopicIdRequest")) + } + panic(fmt.Errorf("message emissions.v8.GetStakeRemovalForReputerAndTopicIdRequest does not contain field %s", fd.FullName())) + } +} + +// NewField returns a new value that is assignable to the field +// for the given descriptor. For scalars, this returns the default value. +// For lists, maps, and messages, this returns a new, empty, mutable value. +func (x *fastReflection_GetStakeRemovalForReputerAndTopicIdRequest) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.GetStakeRemovalForReputerAndTopicIdRequest.reputer": + return protoreflect.ValueOfString("") + case "emissions.v8.GetStakeRemovalForReputerAndTopicIdRequest.topic_id": + return protoreflect.ValueOfUint64(uint64(0)) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetStakeRemovalForReputerAndTopicIdRequest")) + } + panic(fmt.Errorf("message emissions.v8.GetStakeRemovalForReputerAndTopicIdRequest does not contain field %s", fd.FullName())) + } +} + +// WhichOneof reports which field within the oneof is populated, +// returning nil if none are populated. +// It panics if the oneof descriptor does not belong to this message. +func (x *fastReflection_GetStakeRemovalForReputerAndTopicIdRequest) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { + switch d.FullName() { + default: + panic(fmt.Errorf("%s is not a oneof field in emissions.v8.GetStakeRemovalForReputerAndTopicIdRequest", d.FullName())) + } + panic("unreachable") +} + +// GetUnknown retrieves the entire list of unknown fields. +// The caller may only mutate the contents of the RawFields +// if the mutated bytes are stored back into the message with SetUnknown. +func (x *fastReflection_GetStakeRemovalForReputerAndTopicIdRequest) GetUnknown() protoreflect.RawFields { + return x.unknownFields +} + +// SetUnknown stores an entire list of unknown fields. +// The raw fields must be syntactically valid according to the wire format. +// An implementation may panic if this is not the case. +// Once stored, the caller must not mutate the content of the RawFields. +// An empty RawFields may be passed to clear the fields. +// +// SetUnknown is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetStakeRemovalForReputerAndTopicIdRequest) SetUnknown(fields protoreflect.RawFields) { + x.unknownFields = fields +} + +// IsValid reports whether the message is valid. +// +// An invalid message is an empty, read-only value. +// +// An invalid message often corresponds to a nil pointer of the concrete +// message type, but the details are implementation dependent. +// Validity is not part of the protobuf data model, and may not +// be preserved in marshaling or other operations. +func (x *fastReflection_GetStakeRemovalForReputerAndTopicIdRequest) IsValid() bool { + return x != nil +} + +// ProtoMethods returns optional fastReflectionFeature-path implementations of various operations. +// This method may return nil. +// +// The returned methods type is identical to +// "google.golang.org/protobuf/runtime/protoiface".Methods. +// Consult the protoiface package documentation for details. +func (x *fastReflection_GetStakeRemovalForReputerAndTopicIdRequest) ProtoMethods() *protoiface.Methods { + size := func(input protoiface.SizeInput) protoiface.SizeOutput { + x := input.Message.Interface().(*GetStakeRemovalForReputerAndTopicIdRequest) + if x == nil { + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: 0, + } + } + options := runtime.SizeInputToOptions(input) + _ = options + var n int + var l int + _ = l + l = len(x.Reputer) + if l > 0 { + n += 1 + l + runtime.Sov(uint64(l)) + } + if x.TopicId != 0 { + n += 1 + runtime.Sov(uint64(x.TopicId)) + } + if x.unknownFields != nil { + n += len(x.unknownFields) + } + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: n, + } + } + + marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { + x := input.Message.Interface().(*GetStakeRemovalForReputerAndTopicIdRequest) + if x == nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + options := runtime.MarshalInputToOptions(input) + _ = options + size := options.Size(x) + dAtA := make([]byte, size) + i := len(dAtA) + _ = i + var l int + _ = l + if x.unknownFields != nil { + i -= len(x.unknownFields) + copy(dAtA[i:], x.unknownFields) + } + if x.TopicId != 0 { + i = runtime.EncodeVarint(dAtA, i, uint64(x.TopicId)) + i-- + dAtA[i] = 0x10 + } + if len(x.Reputer) > 0 { + i -= len(x.Reputer) + copy(dAtA[i:], x.Reputer) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.Reputer))) + i-- + dAtA[i] = 0xa + } + if input.Buf != nil { + input.Buf = append(input.Buf, dAtA...) + } else { + input.Buf = dAtA + } + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { + x := input.Message.Interface().(*GetStakeRemovalForReputerAndTopicIdRequest) + if x == nil { + return protoiface.UnmarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Flags: input.Flags, + }, nil + } + options := runtime.UnmarshalInputToOptions(input) + _ = options + dAtA := input.Buf + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: GetStakeRemovalForReputerAndTopicIdRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: GetStakeRemovalForReputerAndTopicIdRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Reputer", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + x.Reputer = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field TopicId", wireType) + } + x.TopicId = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + x.TopicId |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + default: + iNdEx = preIndex + skippy, err := runtime.Skip(dAtA[iNdEx:]) + if err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if (iNdEx + skippy) > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + if !options.DiscardUnknown { + x.unknownFields = append(x.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + } + iNdEx += skippy + } + } + + if iNdEx > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, nil + } + return &protoiface.Methods{ + NoUnkeyedLiterals: struct{}{}, + Flags: protoiface.SupportMarshalDeterministic | protoiface.SupportUnmarshalDiscardUnknown, + Size: size, + Marshal: marshal, + Unmarshal: unmarshal, + Merge: nil, + CheckInitialized: nil, + } +} + +var ( + md_GetStakeRemovalForReputerAndTopicIdResponse protoreflect.MessageDescriptor + fd_GetStakeRemovalForReputerAndTopicIdResponse_stake_removal_info protoreflect.FieldDescriptor +) + +func init() { + file_emissions_v8_query_proto_init() + md_GetStakeRemovalForReputerAndTopicIdResponse = File_emissions_v8_query_proto.Messages().ByName("GetStakeRemovalForReputerAndTopicIdResponse") + fd_GetStakeRemovalForReputerAndTopicIdResponse_stake_removal_info = md_GetStakeRemovalForReputerAndTopicIdResponse.Fields().ByName("stake_removal_info") +} + +var _ protoreflect.Message = (*fastReflection_GetStakeRemovalForReputerAndTopicIdResponse)(nil) + +type fastReflection_GetStakeRemovalForReputerAndTopicIdResponse GetStakeRemovalForReputerAndTopicIdResponse + +func (x *GetStakeRemovalForReputerAndTopicIdResponse) ProtoReflect() protoreflect.Message { + return (*fastReflection_GetStakeRemovalForReputerAndTopicIdResponse)(x) +} + +func (x *GetStakeRemovalForReputerAndTopicIdResponse) slowProtoReflect() protoreflect.Message { + mi := &file_emissions_v8_query_proto_msgTypes[143] + 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) +} + +var _fastReflection_GetStakeRemovalForReputerAndTopicIdResponse_messageType fastReflection_GetStakeRemovalForReputerAndTopicIdResponse_messageType +var _ protoreflect.MessageType = fastReflection_GetStakeRemovalForReputerAndTopicIdResponse_messageType{} + +type fastReflection_GetStakeRemovalForReputerAndTopicIdResponse_messageType struct{} + +func (x fastReflection_GetStakeRemovalForReputerAndTopicIdResponse_messageType) Zero() protoreflect.Message { + return (*fastReflection_GetStakeRemovalForReputerAndTopicIdResponse)(nil) +} +func (x fastReflection_GetStakeRemovalForReputerAndTopicIdResponse_messageType) New() protoreflect.Message { + return new(fastReflection_GetStakeRemovalForReputerAndTopicIdResponse) +} +func (x fastReflection_GetStakeRemovalForReputerAndTopicIdResponse_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_GetStakeRemovalForReputerAndTopicIdResponse +} + +// Descriptor returns message descriptor, which contains only the protobuf +// type information for the message. +func (x *fastReflection_GetStakeRemovalForReputerAndTopicIdResponse) Descriptor() protoreflect.MessageDescriptor { + return md_GetStakeRemovalForReputerAndTopicIdResponse +} + +// Type returns the message type, which encapsulates both Go and protobuf +// type information. If the Go type information is not needed, +// it is recommended that the message descriptor be used instead. +func (x *fastReflection_GetStakeRemovalForReputerAndTopicIdResponse) Type() protoreflect.MessageType { + return _fastReflection_GetStakeRemovalForReputerAndTopicIdResponse_messageType +} + +// New returns a newly allocated and mutable empty message. +func (x *fastReflection_GetStakeRemovalForReputerAndTopicIdResponse) New() protoreflect.Message { + return new(fastReflection_GetStakeRemovalForReputerAndTopicIdResponse) +} + +// Interface unwraps the message reflection interface and +// returns the underlying ProtoMessage interface. +func (x *fastReflection_GetStakeRemovalForReputerAndTopicIdResponse) Interface() protoreflect.ProtoMessage { + return (*GetStakeRemovalForReputerAndTopicIdResponse)(x) +} + +// Range iterates over every populated field in an undefined order, +// calling f for each field descriptor and value encountered. +// Range returns immediately if f returns false. +// While iterating, mutating operations may only be performed +// on the current field descriptor. +func (x *fastReflection_GetStakeRemovalForReputerAndTopicIdResponse) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { + if x.StakeRemovalInfo != nil { + value := protoreflect.ValueOfMessage(x.StakeRemovalInfo.ProtoReflect()) + if !f(fd_GetStakeRemovalForReputerAndTopicIdResponse_stake_removal_info, value) { + return + } + } +} + +// Has reports whether a field is populated. +// +// Some fields have the property of nullability where it is possible to +// distinguish between the default value of a field and whether the field +// was explicitly populated with the default value. Singular message fields, +// member fields of a oneof, and proto2 scalar fields are nullable. Such +// fields are populated only if explicitly set. +// +// In other cases (aside from the nullable cases above), +// a proto3 scalar field is populated if it contains a non-zero value, and +// a repeated field is populated if it is non-empty. +func (x *fastReflection_GetStakeRemovalForReputerAndTopicIdResponse) Has(fd protoreflect.FieldDescriptor) bool { + switch fd.FullName() { + case "emissions.v8.GetStakeRemovalForReputerAndTopicIdResponse.stake_removal_info": + return x.StakeRemovalInfo != nil + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetStakeRemovalForReputerAndTopicIdResponse")) + } + panic(fmt.Errorf("message emissions.v8.GetStakeRemovalForReputerAndTopicIdResponse does not contain field %s", fd.FullName())) + } +} + +// Clear clears the field such that a subsequent Has call reports false. +// +// Clearing an extension field clears both the extension type and value +// associated with the given field number. +// +// Clear is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetStakeRemovalForReputerAndTopicIdResponse) Clear(fd protoreflect.FieldDescriptor) { + switch fd.FullName() { + case "emissions.v8.GetStakeRemovalForReputerAndTopicIdResponse.stake_removal_info": + x.StakeRemovalInfo = nil + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetStakeRemovalForReputerAndTopicIdResponse")) + } + panic(fmt.Errorf("message emissions.v8.GetStakeRemovalForReputerAndTopicIdResponse does not contain field %s", fd.FullName())) + } +} + +// Get retrieves the value for a field. +// +// For unpopulated scalars, it returns the default value, where +// the default value of a bytes scalar is guaranteed to be a copy. +// For unpopulated composite types, it returns an empty, read-only view +// of the value; to obtain a mutable reference, use Mutable. +func (x *fastReflection_GetStakeRemovalForReputerAndTopicIdResponse) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { + switch descriptor.FullName() { + case "emissions.v8.GetStakeRemovalForReputerAndTopicIdResponse.stake_removal_info": + value := x.StakeRemovalInfo + return protoreflect.ValueOfMessage(value.ProtoReflect()) + default: + if descriptor.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetStakeRemovalForReputerAndTopicIdResponse")) + } + panic(fmt.Errorf("message emissions.v8.GetStakeRemovalForReputerAndTopicIdResponse does not contain field %s", descriptor.FullName())) + } +} + +// Set stores the value for a field. +// +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType. +// When setting a composite type, it is unspecified whether the stored value +// aliases the source's memory in any way. If the composite value is an +// empty, read-only value, then it panics. +// +// Set is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetStakeRemovalForReputerAndTopicIdResponse) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { + switch fd.FullName() { + case "emissions.v8.GetStakeRemovalForReputerAndTopicIdResponse.stake_removal_info": + x.StakeRemovalInfo = value.Message().Interface().(*v3.StakeRemovalInfo) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetStakeRemovalForReputerAndTopicIdResponse")) + } + panic(fmt.Errorf("message emissions.v8.GetStakeRemovalForReputerAndTopicIdResponse does not contain field %s", fd.FullName())) + } +} + +// Mutable returns a mutable reference to a composite type. +// +// If the field is unpopulated, it may allocate a composite value. +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType +// if not already stored. +// It panics if the field does not contain a composite type. +// +// Mutable is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetStakeRemovalForReputerAndTopicIdResponse) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.GetStakeRemovalForReputerAndTopicIdResponse.stake_removal_info": + if x.StakeRemovalInfo == nil { + x.StakeRemovalInfo = new(v3.StakeRemovalInfo) + } + return protoreflect.ValueOfMessage(x.StakeRemovalInfo.ProtoReflect()) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetStakeRemovalForReputerAndTopicIdResponse")) + } + panic(fmt.Errorf("message emissions.v8.GetStakeRemovalForReputerAndTopicIdResponse does not contain field %s", fd.FullName())) + } +} + +// NewField returns a new value that is assignable to the field +// for the given descriptor. For scalars, this returns the default value. +// For lists, maps, and messages, this returns a new, empty, mutable value. +func (x *fastReflection_GetStakeRemovalForReputerAndTopicIdResponse) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.GetStakeRemovalForReputerAndTopicIdResponse.stake_removal_info": + m := new(v3.StakeRemovalInfo) + return protoreflect.ValueOfMessage(m.ProtoReflect()) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetStakeRemovalForReputerAndTopicIdResponse")) + } + panic(fmt.Errorf("message emissions.v8.GetStakeRemovalForReputerAndTopicIdResponse does not contain field %s", fd.FullName())) + } +} + +// WhichOneof reports which field within the oneof is populated, +// returning nil if none are populated. +// It panics if the oneof descriptor does not belong to this message. +func (x *fastReflection_GetStakeRemovalForReputerAndTopicIdResponse) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { + switch d.FullName() { + default: + panic(fmt.Errorf("%s is not a oneof field in emissions.v8.GetStakeRemovalForReputerAndTopicIdResponse", d.FullName())) + } + panic("unreachable") +} + +// GetUnknown retrieves the entire list of unknown fields. +// The caller may only mutate the contents of the RawFields +// if the mutated bytes are stored back into the message with SetUnknown. +func (x *fastReflection_GetStakeRemovalForReputerAndTopicIdResponse) GetUnknown() protoreflect.RawFields { + return x.unknownFields +} + +// SetUnknown stores an entire list of unknown fields. +// The raw fields must be syntactically valid according to the wire format. +// An implementation may panic if this is not the case. +// Once stored, the caller must not mutate the content of the RawFields. +// An empty RawFields may be passed to clear the fields. +// +// SetUnknown is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetStakeRemovalForReputerAndTopicIdResponse) SetUnknown(fields protoreflect.RawFields) { + x.unknownFields = fields +} + +// IsValid reports whether the message is valid. +// +// An invalid message is an empty, read-only value. +// +// An invalid message often corresponds to a nil pointer of the concrete +// message type, but the details are implementation dependent. +// Validity is not part of the protobuf data model, and may not +// be preserved in marshaling or other operations. +func (x *fastReflection_GetStakeRemovalForReputerAndTopicIdResponse) IsValid() bool { + return x != nil +} + +// ProtoMethods returns optional fastReflectionFeature-path implementations of various operations. +// This method may return nil. +// +// The returned methods type is identical to +// "google.golang.org/protobuf/runtime/protoiface".Methods. +// Consult the protoiface package documentation for details. +func (x *fastReflection_GetStakeRemovalForReputerAndTopicIdResponse) ProtoMethods() *protoiface.Methods { + size := func(input protoiface.SizeInput) protoiface.SizeOutput { + x := input.Message.Interface().(*GetStakeRemovalForReputerAndTopicIdResponse) + if x == nil { + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: 0, + } + } + options := runtime.SizeInputToOptions(input) + _ = options + var n int + var l int + _ = l + if x.StakeRemovalInfo != nil { + l = options.Size(x.StakeRemovalInfo) + n += 1 + l + runtime.Sov(uint64(l)) + } + if x.unknownFields != nil { + n += len(x.unknownFields) + } + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: n, + } + } + + marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { + x := input.Message.Interface().(*GetStakeRemovalForReputerAndTopicIdResponse) + if x == nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + options := runtime.MarshalInputToOptions(input) + _ = options + size := options.Size(x) + dAtA := make([]byte, size) + i := len(dAtA) + _ = i + var l int + _ = l + if x.unknownFields != nil { + i -= len(x.unknownFields) + copy(dAtA[i:], x.unknownFields) + } + if x.StakeRemovalInfo != nil { + encoded, err := options.Marshal(x.StakeRemovalInfo) + if err != nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = runtime.EncodeVarint(dAtA, i, uint64(len(encoded))) + i-- + dAtA[i] = 0xa + } + if input.Buf != nil { + input.Buf = append(input.Buf, dAtA...) + } else { + input.Buf = dAtA + } + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { + x := input.Message.Interface().(*GetStakeRemovalForReputerAndTopicIdResponse) + if x == nil { + return protoiface.UnmarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Flags: input.Flags, + }, nil + } + options := runtime.UnmarshalInputToOptions(input) + _ = options + dAtA := input.Buf + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: GetStakeRemovalForReputerAndTopicIdResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: GetStakeRemovalForReputerAndTopicIdResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field StakeRemovalInfo", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + if x.StakeRemovalInfo == nil { + x.StakeRemovalInfo = &v3.StakeRemovalInfo{} + } + if err := options.Unmarshal(dAtA[iNdEx:postIndex], x.StakeRemovalInfo); err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := runtime.Skip(dAtA[iNdEx:]) + if err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if (iNdEx + skippy) > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + if !options.DiscardUnknown { + x.unknownFields = append(x.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + } + iNdEx += skippy + } + } + + if iNdEx > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, nil + } + return &protoiface.Methods{ + NoUnkeyedLiterals: struct{}{}, + Flags: protoiface.SupportMarshalDeterministic | protoiface.SupportUnmarshalDiscardUnknown, + Size: size, + Marshal: marshal, + Unmarshal: unmarshal, + Merge: nil, + CheckInitialized: nil, + } +} + +var ( + md_GetDelegateStakeRemovalRequest protoreflect.MessageDescriptor + fd_GetDelegateStakeRemovalRequest_block_height protoreflect.FieldDescriptor + fd_GetDelegateStakeRemovalRequest_topic_id protoreflect.FieldDescriptor + fd_GetDelegateStakeRemovalRequest_delegator protoreflect.FieldDescriptor + fd_GetDelegateStakeRemovalRequest_reputer protoreflect.FieldDescriptor +) + +func init() { + file_emissions_v8_query_proto_init() + md_GetDelegateStakeRemovalRequest = File_emissions_v8_query_proto.Messages().ByName("GetDelegateStakeRemovalRequest") + fd_GetDelegateStakeRemovalRequest_block_height = md_GetDelegateStakeRemovalRequest.Fields().ByName("block_height") + fd_GetDelegateStakeRemovalRequest_topic_id = md_GetDelegateStakeRemovalRequest.Fields().ByName("topic_id") + fd_GetDelegateStakeRemovalRequest_delegator = md_GetDelegateStakeRemovalRequest.Fields().ByName("delegator") + fd_GetDelegateStakeRemovalRequest_reputer = md_GetDelegateStakeRemovalRequest.Fields().ByName("reputer") +} + +var _ protoreflect.Message = (*fastReflection_GetDelegateStakeRemovalRequest)(nil) + +type fastReflection_GetDelegateStakeRemovalRequest GetDelegateStakeRemovalRequest + +func (x *GetDelegateStakeRemovalRequest) ProtoReflect() protoreflect.Message { + return (*fastReflection_GetDelegateStakeRemovalRequest)(x) +} + +func (x *GetDelegateStakeRemovalRequest) slowProtoReflect() protoreflect.Message { + mi := &file_emissions_v8_query_proto_msgTypes[144] + 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) +} + +var _fastReflection_GetDelegateStakeRemovalRequest_messageType fastReflection_GetDelegateStakeRemovalRequest_messageType +var _ protoreflect.MessageType = fastReflection_GetDelegateStakeRemovalRequest_messageType{} + +type fastReflection_GetDelegateStakeRemovalRequest_messageType struct{} + +func (x fastReflection_GetDelegateStakeRemovalRequest_messageType) Zero() protoreflect.Message { + return (*fastReflection_GetDelegateStakeRemovalRequest)(nil) +} +func (x fastReflection_GetDelegateStakeRemovalRequest_messageType) New() protoreflect.Message { + return new(fastReflection_GetDelegateStakeRemovalRequest) +} +func (x fastReflection_GetDelegateStakeRemovalRequest_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_GetDelegateStakeRemovalRequest +} + +// Descriptor returns message descriptor, which contains only the protobuf +// type information for the message. +func (x *fastReflection_GetDelegateStakeRemovalRequest) Descriptor() protoreflect.MessageDescriptor { + return md_GetDelegateStakeRemovalRequest +} + +// Type returns the message type, which encapsulates both Go and protobuf +// type information. If the Go type information is not needed, +// it is recommended that the message descriptor be used instead. +func (x *fastReflection_GetDelegateStakeRemovalRequest) Type() protoreflect.MessageType { + return _fastReflection_GetDelegateStakeRemovalRequest_messageType +} + +// New returns a newly allocated and mutable empty message. +func (x *fastReflection_GetDelegateStakeRemovalRequest) New() protoreflect.Message { + return new(fastReflection_GetDelegateStakeRemovalRequest) +} + +// Interface unwraps the message reflection interface and +// returns the underlying ProtoMessage interface. +func (x *fastReflection_GetDelegateStakeRemovalRequest) Interface() protoreflect.ProtoMessage { + return (*GetDelegateStakeRemovalRequest)(x) +} + +// Range iterates over every populated field in an undefined order, +// calling f for each field descriptor and value encountered. +// Range returns immediately if f returns false. +// While iterating, mutating operations may only be performed +// on the current field descriptor. +func (x *fastReflection_GetDelegateStakeRemovalRequest) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { + if x.BlockHeight != int64(0) { + value := protoreflect.ValueOfInt64(x.BlockHeight) + if !f(fd_GetDelegateStakeRemovalRequest_block_height, value) { + return + } + } + if x.TopicId != uint64(0) { + value := protoreflect.ValueOfUint64(x.TopicId) + if !f(fd_GetDelegateStakeRemovalRequest_topic_id, value) { + return + } + } + if x.Delegator != "" { + value := protoreflect.ValueOfString(x.Delegator) + if !f(fd_GetDelegateStakeRemovalRequest_delegator, value) { + return + } + } + if x.Reputer != "" { + value := protoreflect.ValueOfString(x.Reputer) + if !f(fd_GetDelegateStakeRemovalRequest_reputer, value) { + return + } + } +} + +// Has reports whether a field is populated. +// +// Some fields have the property of nullability where it is possible to +// distinguish between the default value of a field and whether the field +// was explicitly populated with the default value. Singular message fields, +// member fields of a oneof, and proto2 scalar fields are nullable. Such +// fields are populated only if explicitly set. +// +// In other cases (aside from the nullable cases above), +// a proto3 scalar field is populated if it contains a non-zero value, and +// a repeated field is populated if it is non-empty. +func (x *fastReflection_GetDelegateStakeRemovalRequest) Has(fd protoreflect.FieldDescriptor) bool { + switch fd.FullName() { + case "emissions.v8.GetDelegateStakeRemovalRequest.block_height": + return x.BlockHeight != int64(0) + case "emissions.v8.GetDelegateStakeRemovalRequest.topic_id": + return x.TopicId != uint64(0) + case "emissions.v8.GetDelegateStakeRemovalRequest.delegator": + return x.Delegator != "" + case "emissions.v8.GetDelegateStakeRemovalRequest.reputer": + return x.Reputer != "" + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetDelegateStakeRemovalRequest")) + } + panic(fmt.Errorf("message emissions.v8.GetDelegateStakeRemovalRequest does not contain field %s", fd.FullName())) + } +} + +// Clear clears the field such that a subsequent Has call reports false. +// +// Clearing an extension field clears both the extension type and value +// associated with the given field number. +// +// Clear is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetDelegateStakeRemovalRequest) Clear(fd protoreflect.FieldDescriptor) { + switch fd.FullName() { + case "emissions.v8.GetDelegateStakeRemovalRequest.block_height": + x.BlockHeight = int64(0) + case "emissions.v8.GetDelegateStakeRemovalRequest.topic_id": + x.TopicId = uint64(0) + case "emissions.v8.GetDelegateStakeRemovalRequest.delegator": + x.Delegator = "" + case "emissions.v8.GetDelegateStakeRemovalRequest.reputer": + x.Reputer = "" + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetDelegateStakeRemovalRequest")) + } + panic(fmt.Errorf("message emissions.v8.GetDelegateStakeRemovalRequest does not contain field %s", fd.FullName())) + } +} + +// Get retrieves the value for a field. +// +// For unpopulated scalars, it returns the default value, where +// the default value of a bytes scalar is guaranteed to be a copy. +// For unpopulated composite types, it returns an empty, read-only view +// of the value; to obtain a mutable reference, use Mutable. +func (x *fastReflection_GetDelegateStakeRemovalRequest) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { + switch descriptor.FullName() { + case "emissions.v8.GetDelegateStakeRemovalRequest.block_height": + value := x.BlockHeight + return protoreflect.ValueOfInt64(value) + case "emissions.v8.GetDelegateStakeRemovalRequest.topic_id": + value := x.TopicId + return protoreflect.ValueOfUint64(value) + case "emissions.v8.GetDelegateStakeRemovalRequest.delegator": + value := x.Delegator + return protoreflect.ValueOfString(value) + case "emissions.v8.GetDelegateStakeRemovalRequest.reputer": + value := x.Reputer + return protoreflect.ValueOfString(value) + default: + if descriptor.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetDelegateStakeRemovalRequest")) + } + panic(fmt.Errorf("message emissions.v8.GetDelegateStakeRemovalRequest does not contain field %s", descriptor.FullName())) + } +} + +// Set stores the value for a field. +// +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType. +// When setting a composite type, it is unspecified whether the stored value +// aliases the source's memory in any way. If the composite value is an +// empty, read-only value, then it panics. +// +// Set is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetDelegateStakeRemovalRequest) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { + switch fd.FullName() { + case "emissions.v8.GetDelegateStakeRemovalRequest.block_height": + x.BlockHeight = value.Int() + case "emissions.v8.GetDelegateStakeRemovalRequest.topic_id": + x.TopicId = value.Uint() + case "emissions.v8.GetDelegateStakeRemovalRequest.delegator": + x.Delegator = value.Interface().(string) + case "emissions.v8.GetDelegateStakeRemovalRequest.reputer": + x.Reputer = value.Interface().(string) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetDelegateStakeRemovalRequest")) + } + panic(fmt.Errorf("message emissions.v8.GetDelegateStakeRemovalRequest does not contain field %s", fd.FullName())) + } +} + +// Mutable returns a mutable reference to a composite type. +// +// If the field is unpopulated, it may allocate a composite value. +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType +// if not already stored. +// It panics if the field does not contain a composite type. +// +// Mutable is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetDelegateStakeRemovalRequest) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.GetDelegateStakeRemovalRequest.block_height": + panic(fmt.Errorf("field block_height of message emissions.v8.GetDelegateStakeRemovalRequest is not mutable")) + case "emissions.v8.GetDelegateStakeRemovalRequest.topic_id": + panic(fmt.Errorf("field topic_id of message emissions.v8.GetDelegateStakeRemovalRequest is not mutable")) + case "emissions.v8.GetDelegateStakeRemovalRequest.delegator": + panic(fmt.Errorf("field delegator of message emissions.v8.GetDelegateStakeRemovalRequest is not mutable")) + case "emissions.v8.GetDelegateStakeRemovalRequest.reputer": + panic(fmt.Errorf("field reputer of message emissions.v8.GetDelegateStakeRemovalRequest is not mutable")) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetDelegateStakeRemovalRequest")) + } + panic(fmt.Errorf("message emissions.v8.GetDelegateStakeRemovalRequest does not contain field %s", fd.FullName())) + } +} + +// NewField returns a new value that is assignable to the field +// for the given descriptor. For scalars, this returns the default value. +// For lists, maps, and messages, this returns a new, empty, mutable value. +func (x *fastReflection_GetDelegateStakeRemovalRequest) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.GetDelegateStakeRemovalRequest.block_height": + return protoreflect.ValueOfInt64(int64(0)) + case "emissions.v8.GetDelegateStakeRemovalRequest.topic_id": + return protoreflect.ValueOfUint64(uint64(0)) + case "emissions.v8.GetDelegateStakeRemovalRequest.delegator": + return protoreflect.ValueOfString("") + case "emissions.v8.GetDelegateStakeRemovalRequest.reputer": + return protoreflect.ValueOfString("") + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetDelegateStakeRemovalRequest")) + } + panic(fmt.Errorf("message emissions.v8.GetDelegateStakeRemovalRequest does not contain field %s", fd.FullName())) + } +} + +// WhichOneof reports which field within the oneof is populated, +// returning nil if none are populated. +// It panics if the oneof descriptor does not belong to this message. +func (x *fastReflection_GetDelegateStakeRemovalRequest) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { + switch d.FullName() { + default: + panic(fmt.Errorf("%s is not a oneof field in emissions.v8.GetDelegateStakeRemovalRequest", d.FullName())) + } + panic("unreachable") +} + +// GetUnknown retrieves the entire list of unknown fields. +// The caller may only mutate the contents of the RawFields +// if the mutated bytes are stored back into the message with SetUnknown. +func (x *fastReflection_GetDelegateStakeRemovalRequest) GetUnknown() protoreflect.RawFields { + return x.unknownFields +} + +// SetUnknown stores an entire list of unknown fields. +// The raw fields must be syntactically valid according to the wire format. +// An implementation may panic if this is not the case. +// Once stored, the caller must not mutate the content of the RawFields. +// An empty RawFields may be passed to clear the fields. +// +// SetUnknown is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetDelegateStakeRemovalRequest) SetUnknown(fields protoreflect.RawFields) { + x.unknownFields = fields +} + +// IsValid reports whether the message is valid. +// +// An invalid message is an empty, read-only value. +// +// An invalid message often corresponds to a nil pointer of the concrete +// message type, but the details are implementation dependent. +// Validity is not part of the protobuf data model, and may not +// be preserved in marshaling or other operations. +func (x *fastReflection_GetDelegateStakeRemovalRequest) IsValid() bool { + return x != nil +} + +// ProtoMethods returns optional fastReflectionFeature-path implementations of various operations. +// This method may return nil. +// +// The returned methods type is identical to +// "google.golang.org/protobuf/runtime/protoiface".Methods. +// Consult the protoiface package documentation for details. +func (x *fastReflection_GetDelegateStakeRemovalRequest) ProtoMethods() *protoiface.Methods { + size := func(input protoiface.SizeInput) protoiface.SizeOutput { + x := input.Message.Interface().(*GetDelegateStakeRemovalRequest) + if x == nil { + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: 0, + } + } + options := runtime.SizeInputToOptions(input) + _ = options + var n int + var l int + _ = l + if x.BlockHeight != 0 { + n += 1 + runtime.Sov(uint64(x.BlockHeight)) + } + if x.TopicId != 0 { + n += 1 + runtime.Sov(uint64(x.TopicId)) + } + l = len(x.Delegator) + if l > 0 { + n += 1 + l + runtime.Sov(uint64(l)) + } + l = len(x.Reputer) + if l > 0 { + n += 1 + l + runtime.Sov(uint64(l)) + } + if x.unknownFields != nil { + n += len(x.unknownFields) + } + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: n, + } + } + + marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { + x := input.Message.Interface().(*GetDelegateStakeRemovalRequest) + if x == nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + options := runtime.MarshalInputToOptions(input) + _ = options + size := options.Size(x) + dAtA := make([]byte, size) + i := len(dAtA) + _ = i + var l int + _ = l + if x.unknownFields != nil { + i -= len(x.unknownFields) + copy(dAtA[i:], x.unknownFields) + } + if len(x.Reputer) > 0 { + i -= len(x.Reputer) + copy(dAtA[i:], x.Reputer) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.Reputer))) + i-- + dAtA[i] = 0x22 + } + if len(x.Delegator) > 0 { + i -= len(x.Delegator) + copy(dAtA[i:], x.Delegator) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.Delegator))) + i-- + dAtA[i] = 0x1a + } + if x.TopicId != 0 { + i = runtime.EncodeVarint(dAtA, i, uint64(x.TopicId)) + i-- + dAtA[i] = 0x10 + } + if x.BlockHeight != 0 { + i = runtime.EncodeVarint(dAtA, i, uint64(x.BlockHeight)) + i-- + dAtA[i] = 0x8 + } + if input.Buf != nil { + input.Buf = append(input.Buf, dAtA...) + } else { + input.Buf = dAtA + } + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { + x := input.Message.Interface().(*GetDelegateStakeRemovalRequest) + if x == nil { + return protoiface.UnmarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Flags: input.Flags, + }, nil + } + options := runtime.UnmarshalInputToOptions(input) + _ = options + dAtA := input.Buf + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: GetDelegateStakeRemovalRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: GetDelegateStakeRemovalRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field BlockHeight", wireType) + } + x.BlockHeight = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + x.BlockHeight |= int64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 2: + if wireType != 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field TopicId", wireType) + } + x.TopicId = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + x.TopicId |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 3: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Delegator", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + x.Delegator = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 4: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Reputer", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + x.Reputer = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := runtime.Skip(dAtA[iNdEx:]) + if err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if (iNdEx + skippy) > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + if !options.DiscardUnknown { + x.unknownFields = append(x.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + } + iNdEx += skippy + } + } + + if iNdEx > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, nil + } + return &protoiface.Methods{ + NoUnkeyedLiterals: struct{}{}, + Flags: protoiface.SupportMarshalDeterministic | protoiface.SupportUnmarshalDiscardUnknown, + Size: size, + Marshal: marshal, + Unmarshal: unmarshal, + Merge: nil, + CheckInitialized: nil, + } +} + +var ( + md_GetDelegateStakeRemovalResponse protoreflect.MessageDescriptor + fd_GetDelegateStakeRemovalResponse_stake_removal_info protoreflect.FieldDescriptor +) + +func init() { + file_emissions_v8_query_proto_init() + md_GetDelegateStakeRemovalResponse = File_emissions_v8_query_proto.Messages().ByName("GetDelegateStakeRemovalResponse") + fd_GetDelegateStakeRemovalResponse_stake_removal_info = md_GetDelegateStakeRemovalResponse.Fields().ByName("stake_removal_info") +} + +var _ protoreflect.Message = (*fastReflection_GetDelegateStakeRemovalResponse)(nil) + +type fastReflection_GetDelegateStakeRemovalResponse GetDelegateStakeRemovalResponse + +func (x *GetDelegateStakeRemovalResponse) ProtoReflect() protoreflect.Message { + return (*fastReflection_GetDelegateStakeRemovalResponse)(x) +} + +func (x *GetDelegateStakeRemovalResponse) slowProtoReflect() protoreflect.Message { + mi := &file_emissions_v8_query_proto_msgTypes[145] + 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) +} + +var _fastReflection_GetDelegateStakeRemovalResponse_messageType fastReflection_GetDelegateStakeRemovalResponse_messageType +var _ protoreflect.MessageType = fastReflection_GetDelegateStakeRemovalResponse_messageType{} + +type fastReflection_GetDelegateStakeRemovalResponse_messageType struct{} + +func (x fastReflection_GetDelegateStakeRemovalResponse_messageType) Zero() protoreflect.Message { + return (*fastReflection_GetDelegateStakeRemovalResponse)(nil) +} +func (x fastReflection_GetDelegateStakeRemovalResponse_messageType) New() protoreflect.Message { + return new(fastReflection_GetDelegateStakeRemovalResponse) +} +func (x fastReflection_GetDelegateStakeRemovalResponse_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_GetDelegateStakeRemovalResponse +} + +// Descriptor returns message descriptor, which contains only the protobuf +// type information for the message. +func (x *fastReflection_GetDelegateStakeRemovalResponse) Descriptor() protoreflect.MessageDescriptor { + return md_GetDelegateStakeRemovalResponse +} + +// Type returns the message type, which encapsulates both Go and protobuf +// type information. If the Go type information is not needed, +// it is recommended that the message descriptor be used instead. +func (x *fastReflection_GetDelegateStakeRemovalResponse) Type() protoreflect.MessageType { + return _fastReflection_GetDelegateStakeRemovalResponse_messageType +} + +// New returns a newly allocated and mutable empty message. +func (x *fastReflection_GetDelegateStakeRemovalResponse) New() protoreflect.Message { + return new(fastReflection_GetDelegateStakeRemovalResponse) +} + +// Interface unwraps the message reflection interface and +// returns the underlying ProtoMessage interface. +func (x *fastReflection_GetDelegateStakeRemovalResponse) Interface() protoreflect.ProtoMessage { + return (*GetDelegateStakeRemovalResponse)(x) +} + +// Range iterates over every populated field in an undefined order, +// calling f for each field descriptor and value encountered. +// Range returns immediately if f returns false. +// While iterating, mutating operations may only be performed +// on the current field descriptor. +func (x *fastReflection_GetDelegateStakeRemovalResponse) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { + if x.StakeRemovalInfo != nil { + value := protoreflect.ValueOfMessage(x.StakeRemovalInfo.ProtoReflect()) + if !f(fd_GetDelegateStakeRemovalResponse_stake_removal_info, value) { + return + } + } +} + +// Has reports whether a field is populated. +// +// Some fields have the property of nullability where it is possible to +// distinguish between the default value of a field and whether the field +// was explicitly populated with the default value. Singular message fields, +// member fields of a oneof, and proto2 scalar fields are nullable. Such +// fields are populated only if explicitly set. +// +// In other cases (aside from the nullable cases above), +// a proto3 scalar field is populated if it contains a non-zero value, and +// a repeated field is populated if it is non-empty. +func (x *fastReflection_GetDelegateStakeRemovalResponse) Has(fd protoreflect.FieldDescriptor) bool { + switch fd.FullName() { + case "emissions.v8.GetDelegateStakeRemovalResponse.stake_removal_info": + return x.StakeRemovalInfo != nil + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetDelegateStakeRemovalResponse")) + } + panic(fmt.Errorf("message emissions.v8.GetDelegateStakeRemovalResponse does not contain field %s", fd.FullName())) + } +} + +// Clear clears the field such that a subsequent Has call reports false. +// +// Clearing an extension field clears both the extension type and value +// associated with the given field number. +// +// Clear is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetDelegateStakeRemovalResponse) Clear(fd protoreflect.FieldDescriptor) { + switch fd.FullName() { + case "emissions.v8.GetDelegateStakeRemovalResponse.stake_removal_info": + x.StakeRemovalInfo = nil + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetDelegateStakeRemovalResponse")) + } + panic(fmt.Errorf("message emissions.v8.GetDelegateStakeRemovalResponse does not contain field %s", fd.FullName())) + } +} + +// Get retrieves the value for a field. +// +// For unpopulated scalars, it returns the default value, where +// the default value of a bytes scalar is guaranteed to be a copy. +// For unpopulated composite types, it returns an empty, read-only view +// of the value; to obtain a mutable reference, use Mutable. +func (x *fastReflection_GetDelegateStakeRemovalResponse) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { + switch descriptor.FullName() { + case "emissions.v8.GetDelegateStakeRemovalResponse.stake_removal_info": + value := x.StakeRemovalInfo + return protoreflect.ValueOfMessage(value.ProtoReflect()) + default: + if descriptor.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetDelegateStakeRemovalResponse")) + } + panic(fmt.Errorf("message emissions.v8.GetDelegateStakeRemovalResponse does not contain field %s", descriptor.FullName())) + } +} + +// Set stores the value for a field. +// +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType. +// When setting a composite type, it is unspecified whether the stored value +// aliases the source's memory in any way. If the composite value is an +// empty, read-only value, then it panics. +// +// Set is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetDelegateStakeRemovalResponse) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { + switch fd.FullName() { + case "emissions.v8.GetDelegateStakeRemovalResponse.stake_removal_info": + x.StakeRemovalInfo = value.Message().Interface().(*v3.DelegateStakeRemovalInfo) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetDelegateStakeRemovalResponse")) + } + panic(fmt.Errorf("message emissions.v8.GetDelegateStakeRemovalResponse does not contain field %s", fd.FullName())) + } +} + +// Mutable returns a mutable reference to a composite type. +// +// If the field is unpopulated, it may allocate a composite value. +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType +// if not already stored. +// It panics if the field does not contain a composite type. +// +// Mutable is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetDelegateStakeRemovalResponse) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.GetDelegateStakeRemovalResponse.stake_removal_info": + if x.StakeRemovalInfo == nil { + x.StakeRemovalInfo = new(v3.DelegateStakeRemovalInfo) + } + return protoreflect.ValueOfMessage(x.StakeRemovalInfo.ProtoReflect()) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetDelegateStakeRemovalResponse")) + } + panic(fmt.Errorf("message emissions.v8.GetDelegateStakeRemovalResponse does not contain field %s", fd.FullName())) + } +} + +// NewField returns a new value that is assignable to the field +// for the given descriptor. For scalars, this returns the default value. +// For lists, maps, and messages, this returns a new, empty, mutable value. +func (x *fastReflection_GetDelegateStakeRemovalResponse) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.GetDelegateStakeRemovalResponse.stake_removal_info": + m := new(v3.DelegateStakeRemovalInfo) + return protoreflect.ValueOfMessage(m.ProtoReflect()) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetDelegateStakeRemovalResponse")) + } + panic(fmt.Errorf("message emissions.v8.GetDelegateStakeRemovalResponse does not contain field %s", fd.FullName())) + } +} + +// WhichOneof reports which field within the oneof is populated, +// returning nil if none are populated. +// It panics if the oneof descriptor does not belong to this message. +func (x *fastReflection_GetDelegateStakeRemovalResponse) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { + switch d.FullName() { + default: + panic(fmt.Errorf("%s is not a oneof field in emissions.v8.GetDelegateStakeRemovalResponse", d.FullName())) + } + panic("unreachable") +} + +// GetUnknown retrieves the entire list of unknown fields. +// The caller may only mutate the contents of the RawFields +// if the mutated bytes are stored back into the message with SetUnknown. +func (x *fastReflection_GetDelegateStakeRemovalResponse) GetUnknown() protoreflect.RawFields { + return x.unknownFields +} + +// SetUnknown stores an entire list of unknown fields. +// The raw fields must be syntactically valid according to the wire format. +// An implementation may panic if this is not the case. +// Once stored, the caller must not mutate the content of the RawFields. +// An empty RawFields may be passed to clear the fields. +// +// SetUnknown is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetDelegateStakeRemovalResponse) SetUnknown(fields protoreflect.RawFields) { + x.unknownFields = fields +} + +// IsValid reports whether the message is valid. +// +// An invalid message is an empty, read-only value. +// +// An invalid message often corresponds to a nil pointer of the concrete +// message type, but the details are implementation dependent. +// Validity is not part of the protobuf data model, and may not +// be preserved in marshaling or other operations. +func (x *fastReflection_GetDelegateStakeRemovalResponse) IsValid() bool { + return x != nil +} + +// ProtoMethods returns optional fastReflectionFeature-path implementations of various operations. +// This method may return nil. +// +// The returned methods type is identical to +// "google.golang.org/protobuf/runtime/protoiface".Methods. +// Consult the protoiface package documentation for details. +func (x *fastReflection_GetDelegateStakeRemovalResponse) ProtoMethods() *protoiface.Methods { + size := func(input protoiface.SizeInput) protoiface.SizeOutput { + x := input.Message.Interface().(*GetDelegateStakeRemovalResponse) + if x == nil { + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: 0, + } + } + options := runtime.SizeInputToOptions(input) + _ = options + var n int + var l int + _ = l + if x.StakeRemovalInfo != nil { + l = options.Size(x.StakeRemovalInfo) + n += 1 + l + runtime.Sov(uint64(l)) + } + if x.unknownFields != nil { + n += len(x.unknownFields) + } + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: n, + } + } + + marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { + x := input.Message.Interface().(*GetDelegateStakeRemovalResponse) + if x == nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + options := runtime.MarshalInputToOptions(input) + _ = options + size := options.Size(x) + dAtA := make([]byte, size) + i := len(dAtA) + _ = i + var l int + _ = l + if x.unknownFields != nil { + i -= len(x.unknownFields) + copy(dAtA[i:], x.unknownFields) + } + if x.StakeRemovalInfo != nil { + encoded, err := options.Marshal(x.StakeRemovalInfo) + if err != nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = runtime.EncodeVarint(dAtA, i, uint64(len(encoded))) + i-- + dAtA[i] = 0xa + } + if input.Buf != nil { + input.Buf = append(input.Buf, dAtA...) + } else { + input.Buf = dAtA + } + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { + x := input.Message.Interface().(*GetDelegateStakeRemovalResponse) + if x == nil { + return protoiface.UnmarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Flags: input.Flags, + }, nil + } + options := runtime.UnmarshalInputToOptions(input) + _ = options + dAtA := input.Buf + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: GetDelegateStakeRemovalResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: GetDelegateStakeRemovalResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field StakeRemovalInfo", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + if x.StakeRemovalInfo == nil { + x.StakeRemovalInfo = &v3.DelegateStakeRemovalInfo{} + } + if err := options.Unmarshal(dAtA[iNdEx:postIndex], x.StakeRemovalInfo); err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := runtime.Skip(dAtA[iNdEx:]) + if err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if (iNdEx + skippy) > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + if !options.DiscardUnknown { + x.unknownFields = append(x.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + } + iNdEx += skippy + } + } + + if iNdEx > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, nil + } + return &protoiface.Methods{ + NoUnkeyedLiterals: struct{}{}, + Flags: protoiface.SupportMarshalDeterministic | protoiface.SupportUnmarshalDiscardUnknown, + Size: size, + Marshal: marshal, + Unmarshal: unmarshal, + Merge: nil, + CheckInitialized: nil, + } +} + +var ( + md_GetPreviousTopicWeightRequest protoreflect.MessageDescriptor + fd_GetPreviousTopicWeightRequest_topic_id protoreflect.FieldDescriptor +) + +func init() { + file_emissions_v8_query_proto_init() + md_GetPreviousTopicWeightRequest = File_emissions_v8_query_proto.Messages().ByName("GetPreviousTopicWeightRequest") + fd_GetPreviousTopicWeightRequest_topic_id = md_GetPreviousTopicWeightRequest.Fields().ByName("topic_id") +} + +var _ protoreflect.Message = (*fastReflection_GetPreviousTopicWeightRequest)(nil) + +type fastReflection_GetPreviousTopicWeightRequest GetPreviousTopicWeightRequest + +func (x *GetPreviousTopicWeightRequest) ProtoReflect() protoreflect.Message { + return (*fastReflection_GetPreviousTopicWeightRequest)(x) +} + +func (x *GetPreviousTopicWeightRequest) slowProtoReflect() protoreflect.Message { + mi := &file_emissions_v8_query_proto_msgTypes[146] + 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) +} + +var _fastReflection_GetPreviousTopicWeightRequest_messageType fastReflection_GetPreviousTopicWeightRequest_messageType +var _ protoreflect.MessageType = fastReflection_GetPreviousTopicWeightRequest_messageType{} + +type fastReflection_GetPreviousTopicWeightRequest_messageType struct{} + +func (x fastReflection_GetPreviousTopicWeightRequest_messageType) Zero() protoreflect.Message { + return (*fastReflection_GetPreviousTopicWeightRequest)(nil) +} +func (x fastReflection_GetPreviousTopicWeightRequest_messageType) New() protoreflect.Message { + return new(fastReflection_GetPreviousTopicWeightRequest) +} +func (x fastReflection_GetPreviousTopicWeightRequest_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_GetPreviousTopicWeightRequest +} + +// Descriptor returns message descriptor, which contains only the protobuf +// type information for the message. +func (x *fastReflection_GetPreviousTopicWeightRequest) Descriptor() protoreflect.MessageDescriptor { + return md_GetPreviousTopicWeightRequest +} + +// Type returns the message type, which encapsulates both Go and protobuf +// type information. If the Go type information is not needed, +// it is recommended that the message descriptor be used instead. +func (x *fastReflection_GetPreviousTopicWeightRequest) Type() protoreflect.MessageType { + return _fastReflection_GetPreviousTopicWeightRequest_messageType +} + +// New returns a newly allocated and mutable empty message. +func (x *fastReflection_GetPreviousTopicWeightRequest) New() protoreflect.Message { + return new(fastReflection_GetPreviousTopicWeightRequest) +} + +// Interface unwraps the message reflection interface and +// returns the underlying ProtoMessage interface. +func (x *fastReflection_GetPreviousTopicWeightRequest) Interface() protoreflect.ProtoMessage { + return (*GetPreviousTopicWeightRequest)(x) +} + +// Range iterates over every populated field in an undefined order, +// calling f for each field descriptor and value encountered. +// Range returns immediately if f returns false. +// While iterating, mutating operations may only be performed +// on the current field descriptor. +func (x *fastReflection_GetPreviousTopicWeightRequest) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { + if x.TopicId != uint64(0) { + value := protoreflect.ValueOfUint64(x.TopicId) + if !f(fd_GetPreviousTopicWeightRequest_topic_id, value) { + return + } + } +} + +// Has reports whether a field is populated. +// +// Some fields have the property of nullability where it is possible to +// distinguish between the default value of a field and whether the field +// was explicitly populated with the default value. Singular message fields, +// member fields of a oneof, and proto2 scalar fields are nullable. Such +// fields are populated only if explicitly set. +// +// In other cases (aside from the nullable cases above), +// a proto3 scalar field is populated if it contains a non-zero value, and +// a repeated field is populated if it is non-empty. +func (x *fastReflection_GetPreviousTopicWeightRequest) Has(fd protoreflect.FieldDescriptor) bool { + switch fd.FullName() { + case "emissions.v8.GetPreviousTopicWeightRequest.topic_id": + return x.TopicId != uint64(0) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetPreviousTopicWeightRequest")) + } + panic(fmt.Errorf("message emissions.v8.GetPreviousTopicWeightRequest does not contain field %s", fd.FullName())) + } +} + +// Clear clears the field such that a subsequent Has call reports false. +// +// Clearing an extension field clears both the extension type and value +// associated with the given field number. +// +// Clear is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetPreviousTopicWeightRequest) Clear(fd protoreflect.FieldDescriptor) { + switch fd.FullName() { + case "emissions.v8.GetPreviousTopicWeightRequest.topic_id": + x.TopicId = uint64(0) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetPreviousTopicWeightRequest")) + } + panic(fmt.Errorf("message emissions.v8.GetPreviousTopicWeightRequest does not contain field %s", fd.FullName())) + } +} + +// Get retrieves the value for a field. +// +// For unpopulated scalars, it returns the default value, where +// the default value of a bytes scalar is guaranteed to be a copy. +// For unpopulated composite types, it returns an empty, read-only view +// of the value; to obtain a mutable reference, use Mutable. +func (x *fastReflection_GetPreviousTopicWeightRequest) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { + switch descriptor.FullName() { + case "emissions.v8.GetPreviousTopicWeightRequest.topic_id": + value := x.TopicId + return protoreflect.ValueOfUint64(value) + default: + if descriptor.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetPreviousTopicWeightRequest")) + } + panic(fmt.Errorf("message emissions.v8.GetPreviousTopicWeightRequest does not contain field %s", descriptor.FullName())) + } +} + +// Set stores the value for a field. +// +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType. +// When setting a composite type, it is unspecified whether the stored value +// aliases the source's memory in any way. If the composite value is an +// empty, read-only value, then it panics. +// +// Set is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetPreviousTopicWeightRequest) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { + switch fd.FullName() { + case "emissions.v8.GetPreviousTopicWeightRequest.topic_id": + x.TopicId = value.Uint() + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetPreviousTopicWeightRequest")) + } + panic(fmt.Errorf("message emissions.v8.GetPreviousTopicWeightRequest does not contain field %s", fd.FullName())) + } +} + +// Mutable returns a mutable reference to a composite type. +// +// If the field is unpopulated, it may allocate a composite value. +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType +// if not already stored. +// It panics if the field does not contain a composite type. +// +// Mutable is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetPreviousTopicWeightRequest) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.GetPreviousTopicWeightRequest.topic_id": + panic(fmt.Errorf("field topic_id of message emissions.v8.GetPreviousTopicWeightRequest is not mutable")) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetPreviousTopicWeightRequest")) + } + panic(fmt.Errorf("message emissions.v8.GetPreviousTopicWeightRequest does not contain field %s", fd.FullName())) + } +} + +// NewField returns a new value that is assignable to the field +// for the given descriptor. For scalars, this returns the default value. +// For lists, maps, and messages, this returns a new, empty, mutable value. +func (x *fastReflection_GetPreviousTopicWeightRequest) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.GetPreviousTopicWeightRequest.topic_id": + return protoreflect.ValueOfUint64(uint64(0)) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetPreviousTopicWeightRequest")) + } + panic(fmt.Errorf("message emissions.v8.GetPreviousTopicWeightRequest does not contain field %s", fd.FullName())) + } +} + +// WhichOneof reports which field within the oneof is populated, +// returning nil if none are populated. +// It panics if the oneof descriptor does not belong to this message. +func (x *fastReflection_GetPreviousTopicWeightRequest) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { + switch d.FullName() { + default: + panic(fmt.Errorf("%s is not a oneof field in emissions.v8.GetPreviousTopicWeightRequest", d.FullName())) + } + panic("unreachable") +} + +// GetUnknown retrieves the entire list of unknown fields. +// The caller may only mutate the contents of the RawFields +// if the mutated bytes are stored back into the message with SetUnknown. +func (x *fastReflection_GetPreviousTopicWeightRequest) GetUnknown() protoreflect.RawFields { + return x.unknownFields +} + +// SetUnknown stores an entire list of unknown fields. +// The raw fields must be syntactically valid according to the wire format. +// An implementation may panic if this is not the case. +// Once stored, the caller must not mutate the content of the RawFields. +// An empty RawFields may be passed to clear the fields. +// +// SetUnknown is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetPreviousTopicWeightRequest) SetUnknown(fields protoreflect.RawFields) { + x.unknownFields = fields +} + +// IsValid reports whether the message is valid. +// +// An invalid message is an empty, read-only value. +// +// An invalid message often corresponds to a nil pointer of the concrete +// message type, but the details are implementation dependent. +// Validity is not part of the protobuf data model, and may not +// be preserved in marshaling or other operations. +func (x *fastReflection_GetPreviousTopicWeightRequest) IsValid() bool { + return x != nil +} + +// ProtoMethods returns optional fastReflectionFeature-path implementations of various operations. +// This method may return nil. +// +// The returned methods type is identical to +// "google.golang.org/protobuf/runtime/protoiface".Methods. +// Consult the protoiface package documentation for details. +func (x *fastReflection_GetPreviousTopicWeightRequest) ProtoMethods() *protoiface.Methods { + size := func(input protoiface.SizeInput) protoiface.SizeOutput { + x := input.Message.Interface().(*GetPreviousTopicWeightRequest) + if x == nil { + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: 0, + } + } + options := runtime.SizeInputToOptions(input) + _ = options + var n int + var l int + _ = l + if x.TopicId != 0 { + n += 1 + runtime.Sov(uint64(x.TopicId)) + } + if x.unknownFields != nil { + n += len(x.unknownFields) + } + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: n, + } + } + + marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { + x := input.Message.Interface().(*GetPreviousTopicWeightRequest) + if x == nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + options := runtime.MarshalInputToOptions(input) + _ = options + size := options.Size(x) + dAtA := make([]byte, size) + i := len(dAtA) + _ = i + var l int + _ = l + if x.unknownFields != nil { + i -= len(x.unknownFields) + copy(dAtA[i:], x.unknownFields) + } + if x.TopicId != 0 { + i = runtime.EncodeVarint(dAtA, i, uint64(x.TopicId)) + i-- + dAtA[i] = 0x8 + } + if input.Buf != nil { + input.Buf = append(input.Buf, dAtA...) + } else { + input.Buf = dAtA + } + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { + x := input.Message.Interface().(*GetPreviousTopicWeightRequest) + if x == nil { + return protoiface.UnmarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Flags: input.Flags, + }, nil + } + options := runtime.UnmarshalInputToOptions(input) + _ = options + dAtA := input.Buf + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: GetPreviousTopicWeightRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: GetPreviousTopicWeightRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field TopicId", wireType) + } + x.TopicId = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + x.TopicId |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + default: + iNdEx = preIndex + skippy, err := runtime.Skip(dAtA[iNdEx:]) + if err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if (iNdEx + skippy) > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + if !options.DiscardUnknown { + x.unknownFields = append(x.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + } + iNdEx += skippy + } + } + + if iNdEx > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, nil + } + return &protoiface.Methods{ + NoUnkeyedLiterals: struct{}{}, + Flags: protoiface.SupportMarshalDeterministic | protoiface.SupportUnmarshalDiscardUnknown, + Size: size, + Marshal: marshal, + Unmarshal: unmarshal, + Merge: nil, + CheckInitialized: nil, + } +} + +var ( + md_GetPreviousTopicWeightResponse protoreflect.MessageDescriptor + fd_GetPreviousTopicWeightResponse_weight protoreflect.FieldDescriptor + fd_GetPreviousTopicWeightResponse_not_found protoreflect.FieldDescriptor +) + +func init() { + file_emissions_v8_query_proto_init() + md_GetPreviousTopicWeightResponse = File_emissions_v8_query_proto.Messages().ByName("GetPreviousTopicWeightResponse") + fd_GetPreviousTopicWeightResponse_weight = md_GetPreviousTopicWeightResponse.Fields().ByName("weight") + fd_GetPreviousTopicWeightResponse_not_found = md_GetPreviousTopicWeightResponse.Fields().ByName("not_found") +} + +var _ protoreflect.Message = (*fastReflection_GetPreviousTopicWeightResponse)(nil) + +type fastReflection_GetPreviousTopicWeightResponse GetPreviousTopicWeightResponse + +func (x *GetPreviousTopicWeightResponse) ProtoReflect() protoreflect.Message { + return (*fastReflection_GetPreviousTopicWeightResponse)(x) +} + +func (x *GetPreviousTopicWeightResponse) slowProtoReflect() protoreflect.Message { + mi := &file_emissions_v8_query_proto_msgTypes[147] + 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) +} + +var _fastReflection_GetPreviousTopicWeightResponse_messageType fastReflection_GetPreviousTopicWeightResponse_messageType +var _ protoreflect.MessageType = fastReflection_GetPreviousTopicWeightResponse_messageType{} + +type fastReflection_GetPreviousTopicWeightResponse_messageType struct{} + +func (x fastReflection_GetPreviousTopicWeightResponse_messageType) Zero() protoreflect.Message { + return (*fastReflection_GetPreviousTopicWeightResponse)(nil) +} +func (x fastReflection_GetPreviousTopicWeightResponse_messageType) New() protoreflect.Message { + return new(fastReflection_GetPreviousTopicWeightResponse) +} +func (x fastReflection_GetPreviousTopicWeightResponse_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_GetPreviousTopicWeightResponse +} + +// Descriptor returns message descriptor, which contains only the protobuf +// type information for the message. +func (x *fastReflection_GetPreviousTopicWeightResponse) Descriptor() protoreflect.MessageDescriptor { + return md_GetPreviousTopicWeightResponse +} + +// Type returns the message type, which encapsulates both Go and protobuf +// type information. If the Go type information is not needed, +// it is recommended that the message descriptor be used instead. +func (x *fastReflection_GetPreviousTopicWeightResponse) Type() protoreflect.MessageType { + return _fastReflection_GetPreviousTopicWeightResponse_messageType +} + +// New returns a newly allocated and mutable empty message. +func (x *fastReflection_GetPreviousTopicWeightResponse) New() protoreflect.Message { + return new(fastReflection_GetPreviousTopicWeightResponse) +} + +// Interface unwraps the message reflection interface and +// returns the underlying ProtoMessage interface. +func (x *fastReflection_GetPreviousTopicWeightResponse) Interface() protoreflect.ProtoMessage { + return (*GetPreviousTopicWeightResponse)(x) +} + +// Range iterates over every populated field in an undefined order, +// calling f for each field descriptor and value encountered. +// Range returns immediately if f returns false. +// While iterating, mutating operations may only be performed +// on the current field descriptor. +func (x *fastReflection_GetPreviousTopicWeightResponse) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { + if x.Weight != "" { + value := protoreflect.ValueOfString(x.Weight) + if !f(fd_GetPreviousTopicWeightResponse_weight, value) { + return + } + } + if x.NotFound != false { + value := protoreflect.ValueOfBool(x.NotFound) + if !f(fd_GetPreviousTopicWeightResponse_not_found, value) { + return + } + } +} + +// Has reports whether a field is populated. +// +// Some fields have the property of nullability where it is possible to +// distinguish between the default value of a field and whether the field +// was explicitly populated with the default value. Singular message fields, +// member fields of a oneof, and proto2 scalar fields are nullable. Such +// fields are populated only if explicitly set. +// +// In other cases (aside from the nullable cases above), +// a proto3 scalar field is populated if it contains a non-zero value, and +// a repeated field is populated if it is non-empty. +func (x *fastReflection_GetPreviousTopicWeightResponse) Has(fd protoreflect.FieldDescriptor) bool { + switch fd.FullName() { + case "emissions.v8.GetPreviousTopicWeightResponse.weight": + return x.Weight != "" + case "emissions.v8.GetPreviousTopicWeightResponse.not_found": + return x.NotFound != false + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetPreviousTopicWeightResponse")) + } + panic(fmt.Errorf("message emissions.v8.GetPreviousTopicWeightResponse does not contain field %s", fd.FullName())) + } +} + +// Clear clears the field such that a subsequent Has call reports false. +// +// Clearing an extension field clears both the extension type and value +// associated with the given field number. +// +// Clear is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetPreviousTopicWeightResponse) Clear(fd protoreflect.FieldDescriptor) { + switch fd.FullName() { + case "emissions.v8.GetPreviousTopicWeightResponse.weight": + x.Weight = "" + case "emissions.v8.GetPreviousTopicWeightResponse.not_found": + x.NotFound = false + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetPreviousTopicWeightResponse")) + } + panic(fmt.Errorf("message emissions.v8.GetPreviousTopicWeightResponse does not contain field %s", fd.FullName())) + } +} + +// Get retrieves the value for a field. +// +// For unpopulated scalars, it returns the default value, where +// the default value of a bytes scalar is guaranteed to be a copy. +// For unpopulated composite types, it returns an empty, read-only view +// of the value; to obtain a mutable reference, use Mutable. +func (x *fastReflection_GetPreviousTopicWeightResponse) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { + switch descriptor.FullName() { + case "emissions.v8.GetPreviousTopicWeightResponse.weight": + value := x.Weight + return protoreflect.ValueOfString(value) + case "emissions.v8.GetPreviousTopicWeightResponse.not_found": + value := x.NotFound + return protoreflect.ValueOfBool(value) + default: + if descriptor.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetPreviousTopicWeightResponse")) + } + panic(fmt.Errorf("message emissions.v8.GetPreviousTopicWeightResponse does not contain field %s", descriptor.FullName())) + } +} + +// Set stores the value for a field. +// +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType. +// When setting a composite type, it is unspecified whether the stored value +// aliases the source's memory in any way. If the composite value is an +// empty, read-only value, then it panics. +// +// Set is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetPreviousTopicWeightResponse) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { + switch fd.FullName() { + case "emissions.v8.GetPreviousTopicWeightResponse.weight": + x.Weight = value.Interface().(string) + case "emissions.v8.GetPreviousTopicWeightResponse.not_found": + x.NotFound = value.Bool() + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetPreviousTopicWeightResponse")) + } + panic(fmt.Errorf("message emissions.v8.GetPreviousTopicWeightResponse does not contain field %s", fd.FullName())) + } +} + +// Mutable returns a mutable reference to a composite type. +// +// If the field is unpopulated, it may allocate a composite value. +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType +// if not already stored. +// It panics if the field does not contain a composite type. +// +// Mutable is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetPreviousTopicWeightResponse) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.GetPreviousTopicWeightResponse.weight": + panic(fmt.Errorf("field weight of message emissions.v8.GetPreviousTopicWeightResponse is not mutable")) + case "emissions.v8.GetPreviousTopicWeightResponse.not_found": + panic(fmt.Errorf("field not_found of message emissions.v8.GetPreviousTopicWeightResponse is not mutable")) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetPreviousTopicWeightResponse")) + } + panic(fmt.Errorf("message emissions.v8.GetPreviousTopicWeightResponse does not contain field %s", fd.FullName())) + } +} + +// NewField returns a new value that is assignable to the field +// for the given descriptor. For scalars, this returns the default value. +// For lists, maps, and messages, this returns a new, empty, mutable value. +func (x *fastReflection_GetPreviousTopicWeightResponse) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.GetPreviousTopicWeightResponse.weight": + return protoreflect.ValueOfString("") + case "emissions.v8.GetPreviousTopicWeightResponse.not_found": + return protoreflect.ValueOfBool(false) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetPreviousTopicWeightResponse")) + } + panic(fmt.Errorf("message emissions.v8.GetPreviousTopicWeightResponse does not contain field %s", fd.FullName())) + } +} + +// WhichOneof reports which field within the oneof is populated, +// returning nil if none are populated. +// It panics if the oneof descriptor does not belong to this message. +func (x *fastReflection_GetPreviousTopicWeightResponse) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { + switch d.FullName() { + default: + panic(fmt.Errorf("%s is not a oneof field in emissions.v8.GetPreviousTopicWeightResponse", d.FullName())) + } + panic("unreachable") +} + +// GetUnknown retrieves the entire list of unknown fields. +// The caller may only mutate the contents of the RawFields +// if the mutated bytes are stored back into the message with SetUnknown. +func (x *fastReflection_GetPreviousTopicWeightResponse) GetUnknown() protoreflect.RawFields { + return x.unknownFields +} + +// SetUnknown stores an entire list of unknown fields. +// The raw fields must be syntactically valid according to the wire format. +// An implementation may panic if this is not the case. +// Once stored, the caller must not mutate the content of the RawFields. +// An empty RawFields may be passed to clear the fields. +// +// SetUnknown is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetPreviousTopicWeightResponse) SetUnknown(fields protoreflect.RawFields) { + x.unknownFields = fields +} + +// IsValid reports whether the message is valid. +// +// An invalid message is an empty, read-only value. +// +// An invalid message often corresponds to a nil pointer of the concrete +// message type, but the details are implementation dependent. +// Validity is not part of the protobuf data model, and may not +// be preserved in marshaling or other operations. +func (x *fastReflection_GetPreviousTopicWeightResponse) IsValid() bool { + return x != nil +} + +// ProtoMethods returns optional fastReflectionFeature-path implementations of various operations. +// This method may return nil. +// +// The returned methods type is identical to +// "google.golang.org/protobuf/runtime/protoiface".Methods. +// Consult the protoiface package documentation for details. +func (x *fastReflection_GetPreviousTopicWeightResponse) ProtoMethods() *protoiface.Methods { + size := func(input protoiface.SizeInput) protoiface.SizeOutput { + x := input.Message.Interface().(*GetPreviousTopicWeightResponse) + if x == nil { + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: 0, + } + } + options := runtime.SizeInputToOptions(input) + _ = options + var n int + var l int + _ = l + l = len(x.Weight) + if l > 0 { + n += 1 + l + runtime.Sov(uint64(l)) + } + if x.NotFound { + n += 2 + } + if x.unknownFields != nil { + n += len(x.unknownFields) + } + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: n, + } + } + + marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { + x := input.Message.Interface().(*GetPreviousTopicWeightResponse) + if x == nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + options := runtime.MarshalInputToOptions(input) + _ = options + size := options.Size(x) + dAtA := make([]byte, size) + i := len(dAtA) + _ = i + var l int + _ = l + if x.unknownFields != nil { + i -= len(x.unknownFields) + copy(dAtA[i:], x.unknownFields) + } + if x.NotFound { + i-- + if x.NotFound { + dAtA[i] = 1 + } else { + dAtA[i] = 0 + } + i-- + dAtA[i] = 0x10 + } + if len(x.Weight) > 0 { + i -= len(x.Weight) + copy(dAtA[i:], x.Weight) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.Weight))) + i-- + dAtA[i] = 0xa + } + if input.Buf != nil { + input.Buf = append(input.Buf, dAtA...) + } else { + input.Buf = dAtA + } + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { + x := input.Message.Interface().(*GetPreviousTopicWeightResponse) + if x == nil { + return protoiface.UnmarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Flags: input.Flags, + }, nil + } + options := runtime.UnmarshalInputToOptions(input) + _ = options + dAtA := input.Buf + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: GetPreviousTopicWeightResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: GetPreviousTopicWeightResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Weight", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + x.Weight = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field NotFound", wireType) + } + var v int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + x.NotFound = bool(v != 0) + default: + iNdEx = preIndex + skippy, err := runtime.Skip(dAtA[iNdEx:]) + if err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if (iNdEx + skippy) > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + if !options.DiscardUnknown { + x.unknownFields = append(x.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + } + iNdEx += skippy + } + } + + if iNdEx > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, nil + } + return &protoiface.Methods{ + NoUnkeyedLiterals: struct{}{}, + Flags: protoiface.SupportMarshalDeterministic | protoiface.SupportUnmarshalDiscardUnknown, + Size: size, + Marshal: marshal, + Unmarshal: unmarshal, + Merge: nil, + CheckInitialized: nil, + } +} + +var ( + md_GetTotalSumPreviousTopicWeightsRequest protoreflect.MessageDescriptor +) + +func init() { + file_emissions_v8_query_proto_init() + md_GetTotalSumPreviousTopicWeightsRequest = File_emissions_v8_query_proto.Messages().ByName("GetTotalSumPreviousTopicWeightsRequest") +} + +var _ protoreflect.Message = (*fastReflection_GetTotalSumPreviousTopicWeightsRequest)(nil) + +type fastReflection_GetTotalSumPreviousTopicWeightsRequest GetTotalSumPreviousTopicWeightsRequest + +func (x *GetTotalSumPreviousTopicWeightsRequest) ProtoReflect() protoreflect.Message { + return (*fastReflection_GetTotalSumPreviousTopicWeightsRequest)(x) +} + +func (x *GetTotalSumPreviousTopicWeightsRequest) slowProtoReflect() protoreflect.Message { + mi := &file_emissions_v8_query_proto_msgTypes[148] + 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) +} + +var _fastReflection_GetTotalSumPreviousTopicWeightsRequest_messageType fastReflection_GetTotalSumPreviousTopicWeightsRequest_messageType +var _ protoreflect.MessageType = fastReflection_GetTotalSumPreviousTopicWeightsRequest_messageType{} + +type fastReflection_GetTotalSumPreviousTopicWeightsRequest_messageType struct{} + +func (x fastReflection_GetTotalSumPreviousTopicWeightsRequest_messageType) Zero() protoreflect.Message { + return (*fastReflection_GetTotalSumPreviousTopicWeightsRequest)(nil) +} +func (x fastReflection_GetTotalSumPreviousTopicWeightsRequest_messageType) New() protoreflect.Message { + return new(fastReflection_GetTotalSumPreviousTopicWeightsRequest) +} +func (x fastReflection_GetTotalSumPreviousTopicWeightsRequest_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_GetTotalSumPreviousTopicWeightsRequest +} + +// Descriptor returns message descriptor, which contains only the protobuf +// type information for the message. +func (x *fastReflection_GetTotalSumPreviousTopicWeightsRequest) Descriptor() protoreflect.MessageDescriptor { + return md_GetTotalSumPreviousTopicWeightsRequest +} + +// Type returns the message type, which encapsulates both Go and protobuf +// type information. If the Go type information is not needed, +// it is recommended that the message descriptor be used instead. +func (x *fastReflection_GetTotalSumPreviousTopicWeightsRequest) Type() protoreflect.MessageType { + return _fastReflection_GetTotalSumPreviousTopicWeightsRequest_messageType +} + +// New returns a newly allocated and mutable empty message. +func (x *fastReflection_GetTotalSumPreviousTopicWeightsRequest) New() protoreflect.Message { + return new(fastReflection_GetTotalSumPreviousTopicWeightsRequest) +} + +// Interface unwraps the message reflection interface and +// returns the underlying ProtoMessage interface. +func (x *fastReflection_GetTotalSumPreviousTopicWeightsRequest) Interface() protoreflect.ProtoMessage { + return (*GetTotalSumPreviousTopicWeightsRequest)(x) +} + +// Range iterates over every populated field in an undefined order, +// calling f for each field descriptor and value encountered. +// Range returns immediately if f returns false. +// While iterating, mutating operations may only be performed +// on the current field descriptor. +func (x *fastReflection_GetTotalSumPreviousTopicWeightsRequest) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { +} + +// Has reports whether a field is populated. +// +// Some fields have the property of nullability where it is possible to +// distinguish between the default value of a field and whether the field +// was explicitly populated with the default value. Singular message fields, +// member fields of a oneof, and proto2 scalar fields are nullable. Such +// fields are populated only if explicitly set. +// +// In other cases (aside from the nullable cases above), +// a proto3 scalar field is populated if it contains a non-zero value, and +// a repeated field is populated if it is non-empty. +func (x *fastReflection_GetTotalSumPreviousTopicWeightsRequest) Has(fd protoreflect.FieldDescriptor) bool { + switch fd.FullName() { + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetTotalSumPreviousTopicWeightsRequest")) + } + panic(fmt.Errorf("message emissions.v8.GetTotalSumPreviousTopicWeightsRequest does not contain field %s", fd.FullName())) + } +} + +// Clear clears the field such that a subsequent Has call reports false. +// +// Clearing an extension field clears both the extension type and value +// associated with the given field number. +// +// Clear is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetTotalSumPreviousTopicWeightsRequest) Clear(fd protoreflect.FieldDescriptor) { + switch fd.FullName() { + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetTotalSumPreviousTopicWeightsRequest")) + } + panic(fmt.Errorf("message emissions.v8.GetTotalSumPreviousTopicWeightsRequest does not contain field %s", fd.FullName())) + } +} + +// Get retrieves the value for a field. +// +// For unpopulated scalars, it returns the default value, where +// the default value of a bytes scalar is guaranteed to be a copy. +// For unpopulated composite types, it returns an empty, read-only view +// of the value; to obtain a mutable reference, use Mutable. +func (x *fastReflection_GetTotalSumPreviousTopicWeightsRequest) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { + switch descriptor.FullName() { + default: + if descriptor.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetTotalSumPreviousTopicWeightsRequest")) + } + panic(fmt.Errorf("message emissions.v8.GetTotalSumPreviousTopicWeightsRequest does not contain field %s", descriptor.FullName())) + } +} + +// Set stores the value for a field. +// +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType. +// When setting a composite type, it is unspecified whether the stored value +// aliases the source's memory in any way. If the composite value is an +// empty, read-only value, then it panics. +// +// Set is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetTotalSumPreviousTopicWeightsRequest) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { + switch fd.FullName() { + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetTotalSumPreviousTopicWeightsRequest")) + } + panic(fmt.Errorf("message emissions.v8.GetTotalSumPreviousTopicWeightsRequest does not contain field %s", fd.FullName())) + } +} + +// Mutable returns a mutable reference to a composite type. +// +// If the field is unpopulated, it may allocate a composite value. +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType +// if not already stored. +// It panics if the field does not contain a composite type. +// +// Mutable is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetTotalSumPreviousTopicWeightsRequest) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetTotalSumPreviousTopicWeightsRequest")) + } + panic(fmt.Errorf("message emissions.v8.GetTotalSumPreviousTopicWeightsRequest does not contain field %s", fd.FullName())) + } +} + +// NewField returns a new value that is assignable to the field +// for the given descriptor. For scalars, this returns the default value. +// For lists, maps, and messages, this returns a new, empty, mutable value. +func (x *fastReflection_GetTotalSumPreviousTopicWeightsRequest) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetTotalSumPreviousTopicWeightsRequest")) + } + panic(fmt.Errorf("message emissions.v8.GetTotalSumPreviousTopicWeightsRequest does not contain field %s", fd.FullName())) + } +} + +// WhichOneof reports which field within the oneof is populated, +// returning nil if none are populated. +// It panics if the oneof descriptor does not belong to this message. +func (x *fastReflection_GetTotalSumPreviousTopicWeightsRequest) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { + switch d.FullName() { + default: + panic(fmt.Errorf("%s is not a oneof field in emissions.v8.GetTotalSumPreviousTopicWeightsRequest", d.FullName())) + } + panic("unreachable") +} + +// GetUnknown retrieves the entire list of unknown fields. +// The caller may only mutate the contents of the RawFields +// if the mutated bytes are stored back into the message with SetUnknown. +func (x *fastReflection_GetTotalSumPreviousTopicWeightsRequest) GetUnknown() protoreflect.RawFields { + return x.unknownFields +} + +// SetUnknown stores an entire list of unknown fields. +// The raw fields must be syntactically valid according to the wire format. +// An implementation may panic if this is not the case. +// Once stored, the caller must not mutate the content of the RawFields. +// An empty RawFields may be passed to clear the fields. +// +// SetUnknown is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetTotalSumPreviousTopicWeightsRequest) SetUnknown(fields protoreflect.RawFields) { + x.unknownFields = fields +} + +// IsValid reports whether the message is valid. +// +// An invalid message is an empty, read-only value. +// +// An invalid message often corresponds to a nil pointer of the concrete +// message type, but the details are implementation dependent. +// Validity is not part of the protobuf data model, and may not +// be preserved in marshaling or other operations. +func (x *fastReflection_GetTotalSumPreviousTopicWeightsRequest) IsValid() bool { + return x != nil +} + +// ProtoMethods returns optional fastReflectionFeature-path implementations of various operations. +// This method may return nil. +// +// The returned methods type is identical to +// "google.golang.org/protobuf/runtime/protoiface".Methods. +// Consult the protoiface package documentation for details. +func (x *fastReflection_GetTotalSumPreviousTopicWeightsRequest) ProtoMethods() *protoiface.Methods { + size := func(input protoiface.SizeInput) protoiface.SizeOutput { + x := input.Message.Interface().(*GetTotalSumPreviousTopicWeightsRequest) + if x == nil { + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: 0, + } + } + options := runtime.SizeInputToOptions(input) + _ = options + var n int + var l int + _ = l + if x.unknownFields != nil { + n += len(x.unknownFields) + } + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: n, + } + } + + marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { + x := input.Message.Interface().(*GetTotalSumPreviousTopicWeightsRequest) + if x == nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + options := runtime.MarshalInputToOptions(input) + _ = options + size := options.Size(x) + dAtA := make([]byte, size) + i := len(dAtA) + _ = i + var l int + _ = l + if x.unknownFields != nil { + i -= len(x.unknownFields) + copy(dAtA[i:], x.unknownFields) + } + if input.Buf != nil { + input.Buf = append(input.Buf, dAtA...) + } else { + input.Buf = dAtA + } + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { + x := input.Message.Interface().(*GetTotalSumPreviousTopicWeightsRequest) + if x == nil { + return protoiface.UnmarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Flags: input.Flags, + }, nil + } + options := runtime.UnmarshalInputToOptions(input) + _ = options + dAtA := input.Buf + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: GetTotalSumPreviousTopicWeightsRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: GetTotalSumPreviousTopicWeightsRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + default: + iNdEx = preIndex + skippy, err := runtime.Skip(dAtA[iNdEx:]) + if err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if (iNdEx + skippy) > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + if !options.DiscardUnknown { + x.unknownFields = append(x.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + } + iNdEx += skippy + } + } + + if iNdEx > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, nil + } + return &protoiface.Methods{ + NoUnkeyedLiterals: struct{}{}, + Flags: protoiface.SupportMarshalDeterministic | protoiface.SupportUnmarshalDiscardUnknown, + Size: size, + Marshal: marshal, + Unmarshal: unmarshal, + Merge: nil, + CheckInitialized: nil, + } +} + +var ( + md_GetTotalSumPreviousTopicWeightsResponse protoreflect.MessageDescriptor + fd_GetTotalSumPreviousTopicWeightsResponse_weight protoreflect.FieldDescriptor +) + +func init() { + file_emissions_v8_query_proto_init() + md_GetTotalSumPreviousTopicWeightsResponse = File_emissions_v8_query_proto.Messages().ByName("GetTotalSumPreviousTopicWeightsResponse") + fd_GetTotalSumPreviousTopicWeightsResponse_weight = md_GetTotalSumPreviousTopicWeightsResponse.Fields().ByName("weight") +} + +var _ protoreflect.Message = (*fastReflection_GetTotalSumPreviousTopicWeightsResponse)(nil) + +type fastReflection_GetTotalSumPreviousTopicWeightsResponse GetTotalSumPreviousTopicWeightsResponse + +func (x *GetTotalSumPreviousTopicWeightsResponse) ProtoReflect() protoreflect.Message { + return (*fastReflection_GetTotalSumPreviousTopicWeightsResponse)(x) +} + +func (x *GetTotalSumPreviousTopicWeightsResponse) slowProtoReflect() protoreflect.Message { + mi := &file_emissions_v8_query_proto_msgTypes[149] + 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) +} + +var _fastReflection_GetTotalSumPreviousTopicWeightsResponse_messageType fastReflection_GetTotalSumPreviousTopicWeightsResponse_messageType +var _ protoreflect.MessageType = fastReflection_GetTotalSumPreviousTopicWeightsResponse_messageType{} + +type fastReflection_GetTotalSumPreviousTopicWeightsResponse_messageType struct{} + +func (x fastReflection_GetTotalSumPreviousTopicWeightsResponse_messageType) Zero() protoreflect.Message { + return (*fastReflection_GetTotalSumPreviousTopicWeightsResponse)(nil) +} +func (x fastReflection_GetTotalSumPreviousTopicWeightsResponse_messageType) New() protoreflect.Message { + return new(fastReflection_GetTotalSumPreviousTopicWeightsResponse) +} +func (x fastReflection_GetTotalSumPreviousTopicWeightsResponse_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_GetTotalSumPreviousTopicWeightsResponse +} + +// Descriptor returns message descriptor, which contains only the protobuf +// type information for the message. +func (x *fastReflection_GetTotalSumPreviousTopicWeightsResponse) Descriptor() protoreflect.MessageDescriptor { + return md_GetTotalSumPreviousTopicWeightsResponse +} + +// Type returns the message type, which encapsulates both Go and protobuf +// type information. If the Go type information is not needed, +// it is recommended that the message descriptor be used instead. +func (x *fastReflection_GetTotalSumPreviousTopicWeightsResponse) Type() protoreflect.MessageType { + return _fastReflection_GetTotalSumPreviousTopicWeightsResponse_messageType +} + +// New returns a newly allocated and mutable empty message. +func (x *fastReflection_GetTotalSumPreviousTopicWeightsResponse) New() protoreflect.Message { + return new(fastReflection_GetTotalSumPreviousTopicWeightsResponse) +} + +// Interface unwraps the message reflection interface and +// returns the underlying ProtoMessage interface. +func (x *fastReflection_GetTotalSumPreviousTopicWeightsResponse) Interface() protoreflect.ProtoMessage { + return (*GetTotalSumPreviousTopicWeightsResponse)(x) +} + +// Range iterates over every populated field in an undefined order, +// calling f for each field descriptor and value encountered. +// Range returns immediately if f returns false. +// While iterating, mutating operations may only be performed +// on the current field descriptor. +func (x *fastReflection_GetTotalSumPreviousTopicWeightsResponse) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { + if x.Weight != "" { + value := protoreflect.ValueOfString(x.Weight) + if !f(fd_GetTotalSumPreviousTopicWeightsResponse_weight, value) { + return + } + } +} + +// Has reports whether a field is populated. +// +// Some fields have the property of nullability where it is possible to +// distinguish between the default value of a field and whether the field +// was explicitly populated with the default value. Singular message fields, +// member fields of a oneof, and proto2 scalar fields are nullable. Such +// fields are populated only if explicitly set. +// +// In other cases (aside from the nullable cases above), +// a proto3 scalar field is populated if it contains a non-zero value, and +// a repeated field is populated if it is non-empty. +func (x *fastReflection_GetTotalSumPreviousTopicWeightsResponse) Has(fd protoreflect.FieldDescriptor) bool { + switch fd.FullName() { + case "emissions.v8.GetTotalSumPreviousTopicWeightsResponse.weight": + return x.Weight != "" + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetTotalSumPreviousTopicWeightsResponse")) + } + panic(fmt.Errorf("message emissions.v8.GetTotalSumPreviousTopicWeightsResponse does not contain field %s", fd.FullName())) + } +} + +// Clear clears the field such that a subsequent Has call reports false. +// +// Clearing an extension field clears both the extension type and value +// associated with the given field number. +// +// Clear is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetTotalSumPreviousTopicWeightsResponse) Clear(fd protoreflect.FieldDescriptor) { + switch fd.FullName() { + case "emissions.v8.GetTotalSumPreviousTopicWeightsResponse.weight": + x.Weight = "" + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetTotalSumPreviousTopicWeightsResponse")) + } + panic(fmt.Errorf("message emissions.v8.GetTotalSumPreviousTopicWeightsResponse does not contain field %s", fd.FullName())) + } +} + +// Get retrieves the value for a field. +// +// For unpopulated scalars, it returns the default value, where +// the default value of a bytes scalar is guaranteed to be a copy. +// For unpopulated composite types, it returns an empty, read-only view +// of the value; to obtain a mutable reference, use Mutable. +func (x *fastReflection_GetTotalSumPreviousTopicWeightsResponse) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { + switch descriptor.FullName() { + case "emissions.v8.GetTotalSumPreviousTopicWeightsResponse.weight": + value := x.Weight + return protoreflect.ValueOfString(value) + default: + if descriptor.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetTotalSumPreviousTopicWeightsResponse")) + } + panic(fmt.Errorf("message emissions.v8.GetTotalSumPreviousTopicWeightsResponse does not contain field %s", descriptor.FullName())) + } +} + +// Set stores the value for a field. +// +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType. +// When setting a composite type, it is unspecified whether the stored value +// aliases the source's memory in any way. If the composite value is an +// empty, read-only value, then it panics. +// +// Set is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetTotalSumPreviousTopicWeightsResponse) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { + switch fd.FullName() { + case "emissions.v8.GetTotalSumPreviousTopicWeightsResponse.weight": + x.Weight = value.Interface().(string) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetTotalSumPreviousTopicWeightsResponse")) + } + panic(fmt.Errorf("message emissions.v8.GetTotalSumPreviousTopicWeightsResponse does not contain field %s", fd.FullName())) + } +} + +// Mutable returns a mutable reference to a composite type. +// +// If the field is unpopulated, it may allocate a composite value. +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType +// if not already stored. +// It panics if the field does not contain a composite type. +// +// Mutable is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetTotalSumPreviousTopicWeightsResponse) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.GetTotalSumPreviousTopicWeightsResponse.weight": + panic(fmt.Errorf("field weight of message emissions.v8.GetTotalSumPreviousTopicWeightsResponse is not mutable")) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetTotalSumPreviousTopicWeightsResponse")) + } + panic(fmt.Errorf("message emissions.v8.GetTotalSumPreviousTopicWeightsResponse does not contain field %s", fd.FullName())) + } +} + +// NewField returns a new value that is assignable to the field +// for the given descriptor. For scalars, this returns the default value. +// For lists, maps, and messages, this returns a new, empty, mutable value. +func (x *fastReflection_GetTotalSumPreviousTopicWeightsResponse) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.GetTotalSumPreviousTopicWeightsResponse.weight": + return protoreflect.ValueOfString("") + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetTotalSumPreviousTopicWeightsResponse")) + } + panic(fmt.Errorf("message emissions.v8.GetTotalSumPreviousTopicWeightsResponse does not contain field %s", fd.FullName())) + } +} + +// WhichOneof reports which field within the oneof is populated, +// returning nil if none are populated. +// It panics if the oneof descriptor does not belong to this message. +func (x *fastReflection_GetTotalSumPreviousTopicWeightsResponse) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { + switch d.FullName() { + default: + panic(fmt.Errorf("%s is not a oneof field in emissions.v8.GetTotalSumPreviousTopicWeightsResponse", d.FullName())) + } + panic("unreachable") +} + +// GetUnknown retrieves the entire list of unknown fields. +// The caller may only mutate the contents of the RawFields +// if the mutated bytes are stored back into the message with SetUnknown. +func (x *fastReflection_GetTotalSumPreviousTopicWeightsResponse) GetUnknown() protoreflect.RawFields { + return x.unknownFields +} + +// SetUnknown stores an entire list of unknown fields. +// The raw fields must be syntactically valid according to the wire format. +// An implementation may panic if this is not the case. +// Once stored, the caller must not mutate the content of the RawFields. +// An empty RawFields may be passed to clear the fields. +// +// SetUnknown is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetTotalSumPreviousTopicWeightsResponse) SetUnknown(fields protoreflect.RawFields) { + x.unknownFields = fields +} + +// IsValid reports whether the message is valid. +// +// An invalid message is an empty, read-only value. +// +// An invalid message often corresponds to a nil pointer of the concrete +// message type, but the details are implementation dependent. +// Validity is not part of the protobuf data model, and may not +// be preserved in marshaling or other operations. +func (x *fastReflection_GetTotalSumPreviousTopicWeightsResponse) IsValid() bool { + return x != nil +} + +// ProtoMethods returns optional fastReflectionFeature-path implementations of various operations. +// This method may return nil. +// +// The returned methods type is identical to +// "google.golang.org/protobuf/runtime/protoiface".Methods. +// Consult the protoiface package documentation for details. +func (x *fastReflection_GetTotalSumPreviousTopicWeightsResponse) ProtoMethods() *protoiface.Methods { + size := func(input protoiface.SizeInput) protoiface.SizeOutput { + x := input.Message.Interface().(*GetTotalSumPreviousTopicWeightsResponse) + if x == nil { + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: 0, + } + } + options := runtime.SizeInputToOptions(input) + _ = options + var n int + var l int + _ = l + l = len(x.Weight) + if l > 0 { + n += 1 + l + runtime.Sov(uint64(l)) + } + if x.unknownFields != nil { + n += len(x.unknownFields) + } + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: n, + } + } + + marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { + x := input.Message.Interface().(*GetTotalSumPreviousTopicWeightsResponse) + if x == nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + options := runtime.MarshalInputToOptions(input) + _ = options + size := options.Size(x) + dAtA := make([]byte, size) + i := len(dAtA) + _ = i + var l int + _ = l + if x.unknownFields != nil { + i -= len(x.unknownFields) + copy(dAtA[i:], x.unknownFields) + } + if len(x.Weight) > 0 { + i -= len(x.Weight) + copy(dAtA[i:], x.Weight) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.Weight))) + i-- + dAtA[i] = 0xa + } + if input.Buf != nil { + input.Buf = append(input.Buf, dAtA...) + } else { + input.Buf = dAtA + } + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { + x := input.Message.Interface().(*GetTotalSumPreviousTopicWeightsResponse) + if x == nil { + return protoiface.UnmarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Flags: input.Flags, + }, nil + } + options := runtime.UnmarshalInputToOptions(input) + _ = options + dAtA := input.Buf + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: GetTotalSumPreviousTopicWeightsResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: GetTotalSumPreviousTopicWeightsResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Weight", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + x.Weight = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := runtime.Skip(dAtA[iNdEx:]) + if err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if (iNdEx + skippy) > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + if !options.DiscardUnknown { + x.unknownFields = append(x.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + } + iNdEx += skippy + } + } + + if iNdEx > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, nil + } + return &protoiface.Methods{ + NoUnkeyedLiterals: struct{}{}, + Flags: protoiface.SupportMarshalDeterministic | protoiface.SupportUnmarshalDiscardUnknown, + Size: size, + Marshal: marshal, + Unmarshal: unmarshal, + Merge: nil, + CheckInitialized: nil, + } +} + +var ( + md_TopicExistsRequest protoreflect.MessageDescriptor + fd_TopicExistsRequest_topic_id protoreflect.FieldDescriptor +) + +func init() { + file_emissions_v8_query_proto_init() + md_TopicExistsRequest = File_emissions_v8_query_proto.Messages().ByName("TopicExistsRequest") + fd_TopicExistsRequest_topic_id = md_TopicExistsRequest.Fields().ByName("topic_id") +} + +var _ protoreflect.Message = (*fastReflection_TopicExistsRequest)(nil) + +type fastReflection_TopicExistsRequest TopicExistsRequest + +func (x *TopicExistsRequest) ProtoReflect() protoreflect.Message { + return (*fastReflection_TopicExistsRequest)(x) +} + +func (x *TopicExistsRequest) slowProtoReflect() protoreflect.Message { + mi := &file_emissions_v8_query_proto_msgTypes[150] + 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) +} + +var _fastReflection_TopicExistsRequest_messageType fastReflection_TopicExistsRequest_messageType +var _ protoreflect.MessageType = fastReflection_TopicExistsRequest_messageType{} + +type fastReflection_TopicExistsRequest_messageType struct{} + +func (x fastReflection_TopicExistsRequest_messageType) Zero() protoreflect.Message { + return (*fastReflection_TopicExistsRequest)(nil) +} +func (x fastReflection_TopicExistsRequest_messageType) New() protoreflect.Message { + return new(fastReflection_TopicExistsRequest) +} +func (x fastReflection_TopicExistsRequest_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_TopicExistsRequest +} + +// Descriptor returns message descriptor, which contains only the protobuf +// type information for the message. +func (x *fastReflection_TopicExistsRequest) Descriptor() protoreflect.MessageDescriptor { + return md_TopicExistsRequest +} + +// Type returns the message type, which encapsulates both Go and protobuf +// type information. If the Go type information is not needed, +// it is recommended that the message descriptor be used instead. +func (x *fastReflection_TopicExistsRequest) Type() protoreflect.MessageType { + return _fastReflection_TopicExistsRequest_messageType +} + +// New returns a newly allocated and mutable empty message. +func (x *fastReflection_TopicExistsRequest) New() protoreflect.Message { + return new(fastReflection_TopicExistsRequest) +} + +// Interface unwraps the message reflection interface and +// returns the underlying ProtoMessage interface. +func (x *fastReflection_TopicExistsRequest) Interface() protoreflect.ProtoMessage { + return (*TopicExistsRequest)(x) +} + +// Range iterates over every populated field in an undefined order, +// calling f for each field descriptor and value encountered. +// Range returns immediately if f returns false. +// While iterating, mutating operations may only be performed +// on the current field descriptor. +func (x *fastReflection_TopicExistsRequest) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { + if x.TopicId != uint64(0) { + value := protoreflect.ValueOfUint64(x.TopicId) + if !f(fd_TopicExistsRequest_topic_id, value) { + return + } + } +} + +// Has reports whether a field is populated. +// +// Some fields have the property of nullability where it is possible to +// distinguish between the default value of a field and whether the field +// was explicitly populated with the default value. Singular message fields, +// member fields of a oneof, and proto2 scalar fields are nullable. Such +// fields are populated only if explicitly set. +// +// In other cases (aside from the nullable cases above), +// a proto3 scalar field is populated if it contains a non-zero value, and +// a repeated field is populated if it is non-empty. +func (x *fastReflection_TopicExistsRequest) Has(fd protoreflect.FieldDescriptor) bool { + switch fd.FullName() { + case "emissions.v8.TopicExistsRequest.topic_id": + return x.TopicId != uint64(0) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.TopicExistsRequest")) + } + panic(fmt.Errorf("message emissions.v8.TopicExistsRequest does not contain field %s", fd.FullName())) + } +} + +// Clear clears the field such that a subsequent Has call reports false. +// +// Clearing an extension field clears both the extension type and value +// associated with the given field number. +// +// Clear is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_TopicExistsRequest) Clear(fd protoreflect.FieldDescriptor) { + switch fd.FullName() { + case "emissions.v8.TopicExistsRequest.topic_id": + x.TopicId = uint64(0) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.TopicExistsRequest")) + } + panic(fmt.Errorf("message emissions.v8.TopicExistsRequest does not contain field %s", fd.FullName())) + } +} + +// Get retrieves the value for a field. +// +// For unpopulated scalars, it returns the default value, where +// the default value of a bytes scalar is guaranteed to be a copy. +// For unpopulated composite types, it returns an empty, read-only view +// of the value; to obtain a mutable reference, use Mutable. +func (x *fastReflection_TopicExistsRequest) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { + switch descriptor.FullName() { + case "emissions.v8.TopicExistsRequest.topic_id": + value := x.TopicId + return protoreflect.ValueOfUint64(value) + default: + if descriptor.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.TopicExistsRequest")) + } + panic(fmt.Errorf("message emissions.v8.TopicExistsRequest does not contain field %s", descriptor.FullName())) + } +} + +// Set stores the value for a field. +// +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType. +// When setting a composite type, it is unspecified whether the stored value +// aliases the source's memory in any way. If the composite value is an +// empty, read-only value, then it panics. +// +// Set is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_TopicExistsRequest) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { + switch fd.FullName() { + case "emissions.v8.TopicExistsRequest.topic_id": + x.TopicId = value.Uint() + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.TopicExistsRequest")) + } + panic(fmt.Errorf("message emissions.v8.TopicExistsRequest does not contain field %s", fd.FullName())) + } +} + +// Mutable returns a mutable reference to a composite type. +// +// If the field is unpopulated, it may allocate a composite value. +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType +// if not already stored. +// It panics if the field does not contain a composite type. +// +// Mutable is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_TopicExistsRequest) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.TopicExistsRequest.topic_id": + panic(fmt.Errorf("field topic_id of message emissions.v8.TopicExistsRequest is not mutable")) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.TopicExistsRequest")) + } + panic(fmt.Errorf("message emissions.v8.TopicExistsRequest does not contain field %s", fd.FullName())) + } +} + +// NewField returns a new value that is assignable to the field +// for the given descriptor. For scalars, this returns the default value. +// For lists, maps, and messages, this returns a new, empty, mutable value. +func (x *fastReflection_TopicExistsRequest) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.TopicExistsRequest.topic_id": + return protoreflect.ValueOfUint64(uint64(0)) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.TopicExistsRequest")) + } + panic(fmt.Errorf("message emissions.v8.TopicExistsRequest does not contain field %s", fd.FullName())) + } +} + +// WhichOneof reports which field within the oneof is populated, +// returning nil if none are populated. +// It panics if the oneof descriptor does not belong to this message. +func (x *fastReflection_TopicExistsRequest) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { + switch d.FullName() { + default: + panic(fmt.Errorf("%s is not a oneof field in emissions.v8.TopicExistsRequest", d.FullName())) + } + panic("unreachable") +} + +// GetUnknown retrieves the entire list of unknown fields. +// The caller may only mutate the contents of the RawFields +// if the mutated bytes are stored back into the message with SetUnknown. +func (x *fastReflection_TopicExistsRequest) GetUnknown() protoreflect.RawFields { + return x.unknownFields +} + +// SetUnknown stores an entire list of unknown fields. +// The raw fields must be syntactically valid according to the wire format. +// An implementation may panic if this is not the case. +// Once stored, the caller must not mutate the content of the RawFields. +// An empty RawFields may be passed to clear the fields. +// +// SetUnknown is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_TopicExistsRequest) SetUnknown(fields protoreflect.RawFields) { + x.unknownFields = fields +} + +// IsValid reports whether the message is valid. +// +// An invalid message is an empty, read-only value. +// +// An invalid message often corresponds to a nil pointer of the concrete +// message type, but the details are implementation dependent. +// Validity is not part of the protobuf data model, and may not +// be preserved in marshaling or other operations. +func (x *fastReflection_TopicExistsRequest) IsValid() bool { + return x != nil +} + +// ProtoMethods returns optional fastReflectionFeature-path implementations of various operations. +// This method may return nil. +// +// The returned methods type is identical to +// "google.golang.org/protobuf/runtime/protoiface".Methods. +// Consult the protoiface package documentation for details. +func (x *fastReflection_TopicExistsRequest) ProtoMethods() *protoiface.Methods { + size := func(input protoiface.SizeInput) protoiface.SizeOutput { + x := input.Message.Interface().(*TopicExistsRequest) + if x == nil { + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: 0, + } + } + options := runtime.SizeInputToOptions(input) + _ = options + var n int + var l int + _ = l + if x.TopicId != 0 { + n += 1 + runtime.Sov(uint64(x.TopicId)) + } + if x.unknownFields != nil { + n += len(x.unknownFields) + } + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: n, + } + } + + marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { + x := input.Message.Interface().(*TopicExistsRequest) + if x == nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + options := runtime.MarshalInputToOptions(input) + _ = options + size := options.Size(x) + dAtA := make([]byte, size) + i := len(dAtA) + _ = i + var l int + _ = l + if x.unknownFields != nil { + i -= len(x.unknownFields) + copy(dAtA[i:], x.unknownFields) + } + if x.TopicId != 0 { + i = runtime.EncodeVarint(dAtA, i, uint64(x.TopicId)) + i-- + dAtA[i] = 0x8 + } + if input.Buf != nil { + input.Buf = append(input.Buf, dAtA...) + } else { + input.Buf = dAtA + } + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { + x := input.Message.Interface().(*TopicExistsRequest) + if x == nil { + return protoiface.UnmarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Flags: input.Flags, + }, nil + } + options := runtime.UnmarshalInputToOptions(input) + _ = options + dAtA := input.Buf + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: TopicExistsRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: TopicExistsRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field TopicId", wireType) + } + x.TopicId = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + x.TopicId |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + default: + iNdEx = preIndex + skippy, err := runtime.Skip(dAtA[iNdEx:]) + if err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if (iNdEx + skippy) > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + if !options.DiscardUnknown { + x.unknownFields = append(x.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + } + iNdEx += skippy + } + } + + if iNdEx > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, nil + } + return &protoiface.Methods{ + NoUnkeyedLiterals: struct{}{}, + Flags: protoiface.SupportMarshalDeterministic | protoiface.SupportUnmarshalDiscardUnknown, + Size: size, + Marshal: marshal, + Unmarshal: unmarshal, + Merge: nil, + CheckInitialized: nil, + } +} + +var ( + md_TopicExistsResponse protoreflect.MessageDescriptor + fd_TopicExistsResponse_exists protoreflect.FieldDescriptor +) + +func init() { + file_emissions_v8_query_proto_init() + md_TopicExistsResponse = File_emissions_v8_query_proto.Messages().ByName("TopicExistsResponse") + fd_TopicExistsResponse_exists = md_TopicExistsResponse.Fields().ByName("exists") +} + +var _ protoreflect.Message = (*fastReflection_TopicExistsResponse)(nil) + +type fastReflection_TopicExistsResponse TopicExistsResponse + +func (x *TopicExistsResponse) ProtoReflect() protoreflect.Message { + return (*fastReflection_TopicExistsResponse)(x) +} + +func (x *TopicExistsResponse) slowProtoReflect() protoreflect.Message { + mi := &file_emissions_v8_query_proto_msgTypes[151] + 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) +} + +var _fastReflection_TopicExistsResponse_messageType fastReflection_TopicExistsResponse_messageType +var _ protoreflect.MessageType = fastReflection_TopicExistsResponse_messageType{} + +type fastReflection_TopicExistsResponse_messageType struct{} + +func (x fastReflection_TopicExistsResponse_messageType) Zero() protoreflect.Message { + return (*fastReflection_TopicExistsResponse)(nil) +} +func (x fastReflection_TopicExistsResponse_messageType) New() protoreflect.Message { + return new(fastReflection_TopicExistsResponse) +} +func (x fastReflection_TopicExistsResponse_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_TopicExistsResponse +} + +// Descriptor returns message descriptor, which contains only the protobuf +// type information for the message. +func (x *fastReflection_TopicExistsResponse) Descriptor() protoreflect.MessageDescriptor { + return md_TopicExistsResponse +} + +// Type returns the message type, which encapsulates both Go and protobuf +// type information. If the Go type information is not needed, +// it is recommended that the message descriptor be used instead. +func (x *fastReflection_TopicExistsResponse) Type() protoreflect.MessageType { + return _fastReflection_TopicExistsResponse_messageType +} + +// New returns a newly allocated and mutable empty message. +func (x *fastReflection_TopicExistsResponse) New() protoreflect.Message { + return new(fastReflection_TopicExistsResponse) +} + +// Interface unwraps the message reflection interface and +// returns the underlying ProtoMessage interface. +func (x *fastReflection_TopicExistsResponse) Interface() protoreflect.ProtoMessage { + return (*TopicExistsResponse)(x) +} + +// Range iterates over every populated field in an undefined order, +// calling f for each field descriptor and value encountered. +// Range returns immediately if f returns false. +// While iterating, mutating operations may only be performed +// on the current field descriptor. +func (x *fastReflection_TopicExistsResponse) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { + if x.Exists != false { + value := protoreflect.ValueOfBool(x.Exists) + if !f(fd_TopicExistsResponse_exists, value) { + return + } + } +} + +// Has reports whether a field is populated. +// +// Some fields have the property of nullability where it is possible to +// distinguish between the default value of a field and whether the field +// was explicitly populated with the default value. Singular message fields, +// member fields of a oneof, and proto2 scalar fields are nullable. Such +// fields are populated only if explicitly set. +// +// In other cases (aside from the nullable cases above), +// a proto3 scalar field is populated if it contains a non-zero value, and +// a repeated field is populated if it is non-empty. +func (x *fastReflection_TopicExistsResponse) Has(fd protoreflect.FieldDescriptor) bool { + switch fd.FullName() { + case "emissions.v8.TopicExistsResponse.exists": + return x.Exists != false + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.TopicExistsResponse")) + } + panic(fmt.Errorf("message emissions.v8.TopicExistsResponse does not contain field %s", fd.FullName())) + } +} + +// Clear clears the field such that a subsequent Has call reports false. +// +// Clearing an extension field clears both the extension type and value +// associated with the given field number. +// +// Clear is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_TopicExistsResponse) Clear(fd protoreflect.FieldDescriptor) { + switch fd.FullName() { + case "emissions.v8.TopicExistsResponse.exists": + x.Exists = false + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.TopicExistsResponse")) + } + panic(fmt.Errorf("message emissions.v8.TopicExistsResponse does not contain field %s", fd.FullName())) + } +} + +// Get retrieves the value for a field. +// +// For unpopulated scalars, it returns the default value, where +// the default value of a bytes scalar is guaranteed to be a copy. +// For unpopulated composite types, it returns an empty, read-only view +// of the value; to obtain a mutable reference, use Mutable. +func (x *fastReflection_TopicExistsResponse) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { + switch descriptor.FullName() { + case "emissions.v8.TopicExistsResponse.exists": + value := x.Exists + return protoreflect.ValueOfBool(value) + default: + if descriptor.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.TopicExistsResponse")) + } + panic(fmt.Errorf("message emissions.v8.TopicExistsResponse does not contain field %s", descriptor.FullName())) + } +} + +// Set stores the value for a field. +// +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType. +// When setting a composite type, it is unspecified whether the stored value +// aliases the source's memory in any way. If the composite value is an +// empty, read-only value, then it panics. +// +// Set is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_TopicExistsResponse) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { + switch fd.FullName() { + case "emissions.v8.TopicExistsResponse.exists": + x.Exists = value.Bool() + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.TopicExistsResponse")) + } + panic(fmt.Errorf("message emissions.v8.TopicExistsResponse does not contain field %s", fd.FullName())) + } +} + +// Mutable returns a mutable reference to a composite type. +// +// If the field is unpopulated, it may allocate a composite value. +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType +// if not already stored. +// It panics if the field does not contain a composite type. +// +// Mutable is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_TopicExistsResponse) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.TopicExistsResponse.exists": + panic(fmt.Errorf("field exists of message emissions.v8.TopicExistsResponse is not mutable")) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.TopicExistsResponse")) + } + panic(fmt.Errorf("message emissions.v8.TopicExistsResponse does not contain field %s", fd.FullName())) + } +} + +// NewField returns a new value that is assignable to the field +// for the given descriptor. For scalars, this returns the default value. +// For lists, maps, and messages, this returns a new, empty, mutable value. +func (x *fastReflection_TopicExistsResponse) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.TopicExistsResponse.exists": + return protoreflect.ValueOfBool(false) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.TopicExistsResponse")) + } + panic(fmt.Errorf("message emissions.v8.TopicExistsResponse does not contain field %s", fd.FullName())) + } +} + +// WhichOneof reports which field within the oneof is populated, +// returning nil if none are populated. +// It panics if the oneof descriptor does not belong to this message. +func (x *fastReflection_TopicExistsResponse) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { + switch d.FullName() { + default: + panic(fmt.Errorf("%s is not a oneof field in emissions.v8.TopicExistsResponse", d.FullName())) + } + panic("unreachable") +} + +// GetUnknown retrieves the entire list of unknown fields. +// The caller may only mutate the contents of the RawFields +// if the mutated bytes are stored back into the message with SetUnknown. +func (x *fastReflection_TopicExistsResponse) GetUnknown() protoreflect.RawFields { + return x.unknownFields +} + +// SetUnknown stores an entire list of unknown fields. +// The raw fields must be syntactically valid according to the wire format. +// An implementation may panic if this is not the case. +// Once stored, the caller must not mutate the content of the RawFields. +// An empty RawFields may be passed to clear the fields. +// +// SetUnknown is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_TopicExistsResponse) SetUnknown(fields protoreflect.RawFields) { + x.unknownFields = fields +} + +// IsValid reports whether the message is valid. +// +// An invalid message is an empty, read-only value. +// +// An invalid message often corresponds to a nil pointer of the concrete +// message type, but the details are implementation dependent. +// Validity is not part of the protobuf data model, and may not +// be preserved in marshaling or other operations. +func (x *fastReflection_TopicExistsResponse) IsValid() bool { + return x != nil +} + +// ProtoMethods returns optional fastReflectionFeature-path implementations of various operations. +// This method may return nil. +// +// The returned methods type is identical to +// "google.golang.org/protobuf/runtime/protoiface".Methods. +// Consult the protoiface package documentation for details. +func (x *fastReflection_TopicExistsResponse) ProtoMethods() *protoiface.Methods { + size := func(input protoiface.SizeInput) protoiface.SizeOutput { + x := input.Message.Interface().(*TopicExistsResponse) + if x == nil { + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: 0, + } + } + options := runtime.SizeInputToOptions(input) + _ = options + var n int + var l int + _ = l + if x.Exists { + n += 2 + } + if x.unknownFields != nil { + n += len(x.unknownFields) + } + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: n, + } + } + + marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { + x := input.Message.Interface().(*TopicExistsResponse) + if x == nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + options := runtime.MarshalInputToOptions(input) + _ = options + size := options.Size(x) + dAtA := make([]byte, size) + i := len(dAtA) + _ = i + var l int + _ = l + if x.unknownFields != nil { + i -= len(x.unknownFields) + copy(dAtA[i:], x.unknownFields) + } + if x.Exists { + i-- + if x.Exists { + dAtA[i] = 1 + } else { + dAtA[i] = 0 + } + i-- + dAtA[i] = 0x8 + } + if input.Buf != nil { + input.Buf = append(input.Buf, dAtA...) + } else { + input.Buf = dAtA + } + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { + x := input.Message.Interface().(*TopicExistsResponse) + if x == nil { + return protoiface.UnmarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Flags: input.Flags, + }, nil + } + options := runtime.UnmarshalInputToOptions(input) + _ = options + dAtA := input.Buf + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: TopicExistsResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: TopicExistsResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Exists", wireType) + } + var v int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + x.Exists = bool(v != 0) + default: + iNdEx = preIndex + skippy, err := runtime.Skip(dAtA[iNdEx:]) + if err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if (iNdEx + skippy) > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + if !options.DiscardUnknown { + x.unknownFields = append(x.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + } + iNdEx += skippy + } + } + + if iNdEx > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, nil + } + return &protoiface.Methods{ + NoUnkeyedLiterals: struct{}{}, + Flags: protoiface.SupportMarshalDeterministic | protoiface.SupportUnmarshalDiscardUnknown, + Size: size, + Marshal: marshal, + Unmarshal: unmarshal, + Merge: nil, + CheckInitialized: nil, + } +} + +var ( + md_IsTopicActiveRequest protoreflect.MessageDescriptor + fd_IsTopicActiveRequest_topic_id protoreflect.FieldDescriptor +) + +func init() { + file_emissions_v8_query_proto_init() + md_IsTopicActiveRequest = File_emissions_v8_query_proto.Messages().ByName("IsTopicActiveRequest") + fd_IsTopicActiveRequest_topic_id = md_IsTopicActiveRequest.Fields().ByName("topic_id") +} + +var _ protoreflect.Message = (*fastReflection_IsTopicActiveRequest)(nil) + +type fastReflection_IsTopicActiveRequest IsTopicActiveRequest + +func (x *IsTopicActiveRequest) ProtoReflect() protoreflect.Message { + return (*fastReflection_IsTopicActiveRequest)(x) +} + +func (x *IsTopicActiveRequest) slowProtoReflect() protoreflect.Message { + mi := &file_emissions_v8_query_proto_msgTypes[152] + 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) +} + +var _fastReflection_IsTopicActiveRequest_messageType fastReflection_IsTopicActiveRequest_messageType +var _ protoreflect.MessageType = fastReflection_IsTopicActiveRequest_messageType{} + +type fastReflection_IsTopicActiveRequest_messageType struct{} + +func (x fastReflection_IsTopicActiveRequest_messageType) Zero() protoreflect.Message { + return (*fastReflection_IsTopicActiveRequest)(nil) +} +func (x fastReflection_IsTopicActiveRequest_messageType) New() protoreflect.Message { + return new(fastReflection_IsTopicActiveRequest) +} +func (x fastReflection_IsTopicActiveRequest_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_IsTopicActiveRequest +} + +// Descriptor returns message descriptor, which contains only the protobuf +// type information for the message. +func (x *fastReflection_IsTopicActiveRequest) Descriptor() protoreflect.MessageDescriptor { + return md_IsTopicActiveRequest +} + +// Type returns the message type, which encapsulates both Go and protobuf +// type information. If the Go type information is not needed, +// it is recommended that the message descriptor be used instead. +func (x *fastReflection_IsTopicActiveRequest) Type() protoreflect.MessageType { + return _fastReflection_IsTopicActiveRequest_messageType +} + +// New returns a newly allocated and mutable empty message. +func (x *fastReflection_IsTopicActiveRequest) New() protoreflect.Message { + return new(fastReflection_IsTopicActiveRequest) +} + +// Interface unwraps the message reflection interface and +// returns the underlying ProtoMessage interface. +func (x *fastReflection_IsTopicActiveRequest) Interface() protoreflect.ProtoMessage { + return (*IsTopicActiveRequest)(x) +} + +// Range iterates over every populated field in an undefined order, +// calling f for each field descriptor and value encountered. +// Range returns immediately if f returns false. +// While iterating, mutating operations may only be performed +// on the current field descriptor. +func (x *fastReflection_IsTopicActiveRequest) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { + if x.TopicId != uint64(0) { + value := protoreflect.ValueOfUint64(x.TopicId) + if !f(fd_IsTopicActiveRequest_topic_id, value) { + return + } + } +} + +// Has reports whether a field is populated. +// +// Some fields have the property of nullability where it is possible to +// distinguish between the default value of a field and whether the field +// was explicitly populated with the default value. Singular message fields, +// member fields of a oneof, and proto2 scalar fields are nullable. Such +// fields are populated only if explicitly set. +// +// In other cases (aside from the nullable cases above), +// a proto3 scalar field is populated if it contains a non-zero value, and +// a repeated field is populated if it is non-empty. +func (x *fastReflection_IsTopicActiveRequest) Has(fd protoreflect.FieldDescriptor) bool { + switch fd.FullName() { + case "emissions.v8.IsTopicActiveRequest.topic_id": + return x.TopicId != uint64(0) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.IsTopicActiveRequest")) + } + panic(fmt.Errorf("message emissions.v8.IsTopicActiveRequest does not contain field %s", fd.FullName())) + } +} + +// Clear clears the field such that a subsequent Has call reports false. +// +// Clearing an extension field clears both the extension type and value +// associated with the given field number. +// +// Clear is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_IsTopicActiveRequest) Clear(fd protoreflect.FieldDescriptor) { + switch fd.FullName() { + case "emissions.v8.IsTopicActiveRequest.topic_id": + x.TopicId = uint64(0) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.IsTopicActiveRequest")) + } + panic(fmt.Errorf("message emissions.v8.IsTopicActiveRequest does not contain field %s", fd.FullName())) + } +} + +// Get retrieves the value for a field. +// +// For unpopulated scalars, it returns the default value, where +// the default value of a bytes scalar is guaranteed to be a copy. +// For unpopulated composite types, it returns an empty, read-only view +// of the value; to obtain a mutable reference, use Mutable. +func (x *fastReflection_IsTopicActiveRequest) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { + switch descriptor.FullName() { + case "emissions.v8.IsTopicActiveRequest.topic_id": + value := x.TopicId + return protoreflect.ValueOfUint64(value) + default: + if descriptor.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.IsTopicActiveRequest")) + } + panic(fmt.Errorf("message emissions.v8.IsTopicActiveRequest does not contain field %s", descriptor.FullName())) + } +} + +// Set stores the value for a field. +// +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType. +// When setting a composite type, it is unspecified whether the stored value +// aliases the source's memory in any way. If the composite value is an +// empty, read-only value, then it panics. +// +// Set is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_IsTopicActiveRequest) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { + switch fd.FullName() { + case "emissions.v8.IsTopicActiveRequest.topic_id": + x.TopicId = value.Uint() + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.IsTopicActiveRequest")) + } + panic(fmt.Errorf("message emissions.v8.IsTopicActiveRequest does not contain field %s", fd.FullName())) + } +} + +// Mutable returns a mutable reference to a composite type. +// +// If the field is unpopulated, it may allocate a composite value. +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType +// if not already stored. +// It panics if the field does not contain a composite type. +// +// Mutable is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_IsTopicActiveRequest) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.IsTopicActiveRequest.topic_id": + panic(fmt.Errorf("field topic_id of message emissions.v8.IsTopicActiveRequest is not mutable")) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.IsTopicActiveRequest")) + } + panic(fmt.Errorf("message emissions.v8.IsTopicActiveRequest does not contain field %s", fd.FullName())) + } +} + +// NewField returns a new value that is assignable to the field +// for the given descriptor. For scalars, this returns the default value. +// For lists, maps, and messages, this returns a new, empty, mutable value. +func (x *fastReflection_IsTopicActiveRequest) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.IsTopicActiveRequest.topic_id": + return protoreflect.ValueOfUint64(uint64(0)) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.IsTopicActiveRequest")) + } + panic(fmt.Errorf("message emissions.v8.IsTopicActiveRequest does not contain field %s", fd.FullName())) + } +} + +// WhichOneof reports which field within the oneof is populated, +// returning nil if none are populated. +// It panics if the oneof descriptor does not belong to this message. +func (x *fastReflection_IsTopicActiveRequest) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { + switch d.FullName() { + default: + panic(fmt.Errorf("%s is not a oneof field in emissions.v8.IsTopicActiveRequest", d.FullName())) + } + panic("unreachable") +} + +// GetUnknown retrieves the entire list of unknown fields. +// The caller may only mutate the contents of the RawFields +// if the mutated bytes are stored back into the message with SetUnknown. +func (x *fastReflection_IsTopicActiveRequest) GetUnknown() protoreflect.RawFields { + return x.unknownFields +} + +// SetUnknown stores an entire list of unknown fields. +// The raw fields must be syntactically valid according to the wire format. +// An implementation may panic if this is not the case. +// Once stored, the caller must not mutate the content of the RawFields. +// An empty RawFields may be passed to clear the fields. +// +// SetUnknown is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_IsTopicActiveRequest) SetUnknown(fields protoreflect.RawFields) { + x.unknownFields = fields +} + +// IsValid reports whether the message is valid. +// +// An invalid message is an empty, read-only value. +// +// An invalid message often corresponds to a nil pointer of the concrete +// message type, but the details are implementation dependent. +// Validity is not part of the protobuf data model, and may not +// be preserved in marshaling or other operations. +func (x *fastReflection_IsTopicActiveRequest) IsValid() bool { + return x != nil +} + +// ProtoMethods returns optional fastReflectionFeature-path implementations of various operations. +// This method may return nil. +// +// The returned methods type is identical to +// "google.golang.org/protobuf/runtime/protoiface".Methods. +// Consult the protoiface package documentation for details. +func (x *fastReflection_IsTopicActiveRequest) ProtoMethods() *protoiface.Methods { + size := func(input protoiface.SizeInput) protoiface.SizeOutput { + x := input.Message.Interface().(*IsTopicActiveRequest) + if x == nil { + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: 0, + } + } + options := runtime.SizeInputToOptions(input) + _ = options + var n int + var l int + _ = l + if x.TopicId != 0 { + n += 1 + runtime.Sov(uint64(x.TopicId)) + } + if x.unknownFields != nil { + n += len(x.unknownFields) + } + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: n, + } + } + + marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { + x := input.Message.Interface().(*IsTopicActiveRequest) + if x == nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + options := runtime.MarshalInputToOptions(input) + _ = options + size := options.Size(x) + dAtA := make([]byte, size) + i := len(dAtA) + _ = i + var l int + _ = l + if x.unknownFields != nil { + i -= len(x.unknownFields) + copy(dAtA[i:], x.unknownFields) + } + if x.TopicId != 0 { + i = runtime.EncodeVarint(dAtA, i, uint64(x.TopicId)) + i-- + dAtA[i] = 0x8 + } + if input.Buf != nil { + input.Buf = append(input.Buf, dAtA...) + } else { + input.Buf = dAtA + } + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { + x := input.Message.Interface().(*IsTopicActiveRequest) + if x == nil { + return protoiface.UnmarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Flags: input.Flags, + }, nil + } + options := runtime.UnmarshalInputToOptions(input) + _ = options + dAtA := input.Buf + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: IsTopicActiveRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: IsTopicActiveRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field TopicId", wireType) + } + x.TopicId = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + x.TopicId |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + default: + iNdEx = preIndex + skippy, err := runtime.Skip(dAtA[iNdEx:]) + if err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if (iNdEx + skippy) > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + if !options.DiscardUnknown { + x.unknownFields = append(x.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + } + iNdEx += skippy + } + } + + if iNdEx > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, nil + } + return &protoiface.Methods{ + NoUnkeyedLiterals: struct{}{}, + Flags: protoiface.SupportMarshalDeterministic | protoiface.SupportUnmarshalDiscardUnknown, + Size: size, + Marshal: marshal, + Unmarshal: unmarshal, + Merge: nil, + CheckInitialized: nil, + } +} + +var ( + md_IsTopicActiveResponse protoreflect.MessageDescriptor + fd_IsTopicActiveResponse_is_active protoreflect.FieldDescriptor +) + +func init() { + file_emissions_v8_query_proto_init() + md_IsTopicActiveResponse = File_emissions_v8_query_proto.Messages().ByName("IsTopicActiveResponse") + fd_IsTopicActiveResponse_is_active = md_IsTopicActiveResponse.Fields().ByName("is_active") +} + +var _ protoreflect.Message = (*fastReflection_IsTopicActiveResponse)(nil) + +type fastReflection_IsTopicActiveResponse IsTopicActiveResponse + +func (x *IsTopicActiveResponse) ProtoReflect() protoreflect.Message { + return (*fastReflection_IsTopicActiveResponse)(x) +} + +func (x *IsTopicActiveResponse) slowProtoReflect() protoreflect.Message { + mi := &file_emissions_v8_query_proto_msgTypes[153] + 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) +} + +var _fastReflection_IsTopicActiveResponse_messageType fastReflection_IsTopicActiveResponse_messageType +var _ protoreflect.MessageType = fastReflection_IsTopicActiveResponse_messageType{} + +type fastReflection_IsTopicActiveResponse_messageType struct{} + +func (x fastReflection_IsTopicActiveResponse_messageType) Zero() protoreflect.Message { + return (*fastReflection_IsTopicActiveResponse)(nil) +} +func (x fastReflection_IsTopicActiveResponse_messageType) New() protoreflect.Message { + return new(fastReflection_IsTopicActiveResponse) +} +func (x fastReflection_IsTopicActiveResponse_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_IsTopicActiveResponse +} + +// Descriptor returns message descriptor, which contains only the protobuf +// type information for the message. +func (x *fastReflection_IsTopicActiveResponse) Descriptor() protoreflect.MessageDescriptor { + return md_IsTopicActiveResponse +} + +// Type returns the message type, which encapsulates both Go and protobuf +// type information. If the Go type information is not needed, +// it is recommended that the message descriptor be used instead. +func (x *fastReflection_IsTopicActiveResponse) Type() protoreflect.MessageType { + return _fastReflection_IsTopicActiveResponse_messageType +} + +// New returns a newly allocated and mutable empty message. +func (x *fastReflection_IsTopicActiveResponse) New() protoreflect.Message { + return new(fastReflection_IsTopicActiveResponse) +} + +// Interface unwraps the message reflection interface and +// returns the underlying ProtoMessage interface. +func (x *fastReflection_IsTopicActiveResponse) Interface() protoreflect.ProtoMessage { + return (*IsTopicActiveResponse)(x) +} + +// Range iterates over every populated field in an undefined order, +// calling f for each field descriptor and value encountered. +// Range returns immediately if f returns false. +// While iterating, mutating operations may only be performed +// on the current field descriptor. +func (x *fastReflection_IsTopicActiveResponse) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { + if x.IsActive != false { + value := protoreflect.ValueOfBool(x.IsActive) + if !f(fd_IsTopicActiveResponse_is_active, value) { + return + } + } +} + +// Has reports whether a field is populated. +// +// Some fields have the property of nullability where it is possible to +// distinguish between the default value of a field and whether the field +// was explicitly populated with the default value. Singular message fields, +// member fields of a oneof, and proto2 scalar fields are nullable. Such +// fields are populated only if explicitly set. +// +// In other cases (aside from the nullable cases above), +// a proto3 scalar field is populated if it contains a non-zero value, and +// a repeated field is populated if it is non-empty. +func (x *fastReflection_IsTopicActiveResponse) Has(fd protoreflect.FieldDescriptor) bool { + switch fd.FullName() { + case "emissions.v8.IsTopicActiveResponse.is_active": + return x.IsActive != false + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.IsTopicActiveResponse")) + } + panic(fmt.Errorf("message emissions.v8.IsTopicActiveResponse does not contain field %s", fd.FullName())) + } +} + +// Clear clears the field such that a subsequent Has call reports false. +// +// Clearing an extension field clears both the extension type and value +// associated with the given field number. +// +// Clear is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_IsTopicActiveResponse) Clear(fd protoreflect.FieldDescriptor) { + switch fd.FullName() { + case "emissions.v8.IsTopicActiveResponse.is_active": + x.IsActive = false + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.IsTopicActiveResponse")) + } + panic(fmt.Errorf("message emissions.v8.IsTopicActiveResponse does not contain field %s", fd.FullName())) + } +} + +// Get retrieves the value for a field. +// +// For unpopulated scalars, it returns the default value, where +// the default value of a bytes scalar is guaranteed to be a copy. +// For unpopulated composite types, it returns an empty, read-only view +// of the value; to obtain a mutable reference, use Mutable. +func (x *fastReflection_IsTopicActiveResponse) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { + switch descriptor.FullName() { + case "emissions.v8.IsTopicActiveResponse.is_active": + value := x.IsActive + return protoreflect.ValueOfBool(value) + default: + if descriptor.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.IsTopicActiveResponse")) + } + panic(fmt.Errorf("message emissions.v8.IsTopicActiveResponse does not contain field %s", descriptor.FullName())) + } +} + +// Set stores the value for a field. +// +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType. +// When setting a composite type, it is unspecified whether the stored value +// aliases the source's memory in any way. If the composite value is an +// empty, read-only value, then it panics. +// +// Set is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_IsTopicActiveResponse) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { + switch fd.FullName() { + case "emissions.v8.IsTopicActiveResponse.is_active": + x.IsActive = value.Bool() + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.IsTopicActiveResponse")) + } + panic(fmt.Errorf("message emissions.v8.IsTopicActiveResponse does not contain field %s", fd.FullName())) + } +} + +// Mutable returns a mutable reference to a composite type. +// +// If the field is unpopulated, it may allocate a composite value. +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType +// if not already stored. +// It panics if the field does not contain a composite type. +// +// Mutable is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_IsTopicActiveResponse) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.IsTopicActiveResponse.is_active": + panic(fmt.Errorf("field is_active of message emissions.v8.IsTopicActiveResponse is not mutable")) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.IsTopicActiveResponse")) + } + panic(fmt.Errorf("message emissions.v8.IsTopicActiveResponse does not contain field %s", fd.FullName())) + } +} + +// NewField returns a new value that is assignable to the field +// for the given descriptor. For scalars, this returns the default value. +// For lists, maps, and messages, this returns a new, empty, mutable value. +func (x *fastReflection_IsTopicActiveResponse) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.IsTopicActiveResponse.is_active": + return protoreflect.ValueOfBool(false) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.IsTopicActiveResponse")) + } + panic(fmt.Errorf("message emissions.v8.IsTopicActiveResponse does not contain field %s", fd.FullName())) + } +} + +// WhichOneof reports which field within the oneof is populated, +// returning nil if none are populated. +// It panics if the oneof descriptor does not belong to this message. +func (x *fastReflection_IsTopicActiveResponse) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { + switch d.FullName() { + default: + panic(fmt.Errorf("%s is not a oneof field in emissions.v8.IsTopicActiveResponse", d.FullName())) + } + panic("unreachable") +} + +// GetUnknown retrieves the entire list of unknown fields. +// The caller may only mutate the contents of the RawFields +// if the mutated bytes are stored back into the message with SetUnknown. +func (x *fastReflection_IsTopicActiveResponse) GetUnknown() protoreflect.RawFields { + return x.unknownFields +} + +// SetUnknown stores an entire list of unknown fields. +// The raw fields must be syntactically valid according to the wire format. +// An implementation may panic if this is not the case. +// Once stored, the caller must not mutate the content of the RawFields. +// An empty RawFields may be passed to clear the fields. +// +// SetUnknown is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_IsTopicActiveResponse) SetUnknown(fields protoreflect.RawFields) { + x.unknownFields = fields +} + +// IsValid reports whether the message is valid. +// +// An invalid message is an empty, read-only value. +// +// An invalid message often corresponds to a nil pointer of the concrete +// message type, but the details are implementation dependent. +// Validity is not part of the protobuf data model, and may not +// be preserved in marshaling or other operations. +func (x *fastReflection_IsTopicActiveResponse) IsValid() bool { + return x != nil +} + +// ProtoMethods returns optional fastReflectionFeature-path implementations of various operations. +// This method may return nil. +// +// The returned methods type is identical to +// "google.golang.org/protobuf/runtime/protoiface".Methods. +// Consult the protoiface package documentation for details. +func (x *fastReflection_IsTopicActiveResponse) ProtoMethods() *protoiface.Methods { + size := func(input protoiface.SizeInput) protoiface.SizeOutput { + x := input.Message.Interface().(*IsTopicActiveResponse) + if x == nil { + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: 0, + } + } + options := runtime.SizeInputToOptions(input) + _ = options + var n int + var l int + _ = l + if x.IsActive { + n += 2 + } + if x.unknownFields != nil { + n += len(x.unknownFields) + } + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: n, + } + } + + marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { + x := input.Message.Interface().(*IsTopicActiveResponse) + if x == nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + options := runtime.MarshalInputToOptions(input) + _ = options + size := options.Size(x) + dAtA := make([]byte, size) + i := len(dAtA) + _ = i + var l int + _ = l + if x.unknownFields != nil { + i -= len(x.unknownFields) + copy(dAtA[i:], x.unknownFields) + } + if x.IsActive { + i-- + if x.IsActive { + dAtA[i] = 1 + } else { + dAtA[i] = 0 + } + i-- + dAtA[i] = 0x8 + } + if input.Buf != nil { + input.Buf = append(input.Buf, dAtA...) + } else { + input.Buf = dAtA + } + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { + x := input.Message.Interface().(*IsTopicActiveResponse) + if x == nil { + return protoiface.UnmarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Flags: input.Flags, + }, nil + } + options := runtime.UnmarshalInputToOptions(input) + _ = options + dAtA := input.Buf + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: IsTopicActiveResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: IsTopicActiveResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field IsActive", wireType) + } + var v int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + x.IsActive = bool(v != 0) + default: + iNdEx = preIndex + skippy, err := runtime.Skip(dAtA[iNdEx:]) + if err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if (iNdEx + skippy) > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + if !options.DiscardUnknown { + x.unknownFields = append(x.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + } + iNdEx += skippy + } + } + + if iNdEx > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, nil + } + return &protoiface.Methods{ + NoUnkeyedLiterals: struct{}{}, + Flags: protoiface.SupportMarshalDeterministic | protoiface.SupportUnmarshalDiscardUnknown, + Size: size, + Marshal: marshal, + Unmarshal: unmarshal, + Merge: nil, + CheckInitialized: nil, + } +} + +var ( + md_GetTopicFeeRevenueRequest protoreflect.MessageDescriptor + fd_GetTopicFeeRevenueRequest_topic_id protoreflect.FieldDescriptor +) + +func init() { + file_emissions_v8_query_proto_init() + md_GetTopicFeeRevenueRequest = File_emissions_v8_query_proto.Messages().ByName("GetTopicFeeRevenueRequest") + fd_GetTopicFeeRevenueRequest_topic_id = md_GetTopicFeeRevenueRequest.Fields().ByName("topic_id") +} + +var _ protoreflect.Message = (*fastReflection_GetTopicFeeRevenueRequest)(nil) + +type fastReflection_GetTopicFeeRevenueRequest GetTopicFeeRevenueRequest + +func (x *GetTopicFeeRevenueRequest) ProtoReflect() protoreflect.Message { + return (*fastReflection_GetTopicFeeRevenueRequest)(x) +} + +func (x *GetTopicFeeRevenueRequest) slowProtoReflect() protoreflect.Message { + mi := &file_emissions_v8_query_proto_msgTypes[154] + 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) +} + +var _fastReflection_GetTopicFeeRevenueRequest_messageType fastReflection_GetTopicFeeRevenueRequest_messageType +var _ protoreflect.MessageType = fastReflection_GetTopicFeeRevenueRequest_messageType{} + +type fastReflection_GetTopicFeeRevenueRequest_messageType struct{} + +func (x fastReflection_GetTopicFeeRevenueRequest_messageType) Zero() protoreflect.Message { + return (*fastReflection_GetTopicFeeRevenueRequest)(nil) +} +func (x fastReflection_GetTopicFeeRevenueRequest_messageType) New() protoreflect.Message { + return new(fastReflection_GetTopicFeeRevenueRequest) +} +func (x fastReflection_GetTopicFeeRevenueRequest_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_GetTopicFeeRevenueRequest +} + +// Descriptor returns message descriptor, which contains only the protobuf +// type information for the message. +func (x *fastReflection_GetTopicFeeRevenueRequest) Descriptor() protoreflect.MessageDescriptor { + return md_GetTopicFeeRevenueRequest +} + +// Type returns the message type, which encapsulates both Go and protobuf +// type information. If the Go type information is not needed, +// it is recommended that the message descriptor be used instead. +func (x *fastReflection_GetTopicFeeRevenueRequest) Type() protoreflect.MessageType { + return _fastReflection_GetTopicFeeRevenueRequest_messageType +} + +// New returns a newly allocated and mutable empty message. +func (x *fastReflection_GetTopicFeeRevenueRequest) New() protoreflect.Message { + return new(fastReflection_GetTopicFeeRevenueRequest) +} + +// Interface unwraps the message reflection interface and +// returns the underlying ProtoMessage interface. +func (x *fastReflection_GetTopicFeeRevenueRequest) Interface() protoreflect.ProtoMessage { + return (*GetTopicFeeRevenueRequest)(x) +} + +// Range iterates over every populated field in an undefined order, +// calling f for each field descriptor and value encountered. +// Range returns immediately if f returns false. +// While iterating, mutating operations may only be performed +// on the current field descriptor. +func (x *fastReflection_GetTopicFeeRevenueRequest) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { + if x.TopicId != uint64(0) { + value := protoreflect.ValueOfUint64(x.TopicId) + if !f(fd_GetTopicFeeRevenueRequest_topic_id, value) { + return + } + } +} + +// Has reports whether a field is populated. +// +// Some fields have the property of nullability where it is possible to +// distinguish between the default value of a field and whether the field +// was explicitly populated with the default value. Singular message fields, +// member fields of a oneof, and proto2 scalar fields are nullable. Such +// fields are populated only if explicitly set. +// +// In other cases (aside from the nullable cases above), +// a proto3 scalar field is populated if it contains a non-zero value, and +// a repeated field is populated if it is non-empty. +func (x *fastReflection_GetTopicFeeRevenueRequest) Has(fd protoreflect.FieldDescriptor) bool { + switch fd.FullName() { + case "emissions.v8.GetTopicFeeRevenueRequest.topic_id": + return x.TopicId != uint64(0) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetTopicFeeRevenueRequest")) + } + panic(fmt.Errorf("message emissions.v8.GetTopicFeeRevenueRequest does not contain field %s", fd.FullName())) + } +} + +// Clear clears the field such that a subsequent Has call reports false. +// +// Clearing an extension field clears both the extension type and value +// associated with the given field number. +// +// Clear is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetTopicFeeRevenueRequest) Clear(fd protoreflect.FieldDescriptor) { + switch fd.FullName() { + case "emissions.v8.GetTopicFeeRevenueRequest.topic_id": + x.TopicId = uint64(0) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetTopicFeeRevenueRequest")) + } + panic(fmt.Errorf("message emissions.v8.GetTopicFeeRevenueRequest does not contain field %s", fd.FullName())) + } +} + +// Get retrieves the value for a field. +// +// For unpopulated scalars, it returns the default value, where +// the default value of a bytes scalar is guaranteed to be a copy. +// For unpopulated composite types, it returns an empty, read-only view +// of the value; to obtain a mutable reference, use Mutable. +func (x *fastReflection_GetTopicFeeRevenueRequest) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { + switch descriptor.FullName() { + case "emissions.v8.GetTopicFeeRevenueRequest.topic_id": + value := x.TopicId + return protoreflect.ValueOfUint64(value) + default: + if descriptor.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetTopicFeeRevenueRequest")) + } + panic(fmt.Errorf("message emissions.v8.GetTopicFeeRevenueRequest does not contain field %s", descriptor.FullName())) + } +} + +// Set stores the value for a field. +// +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType. +// When setting a composite type, it is unspecified whether the stored value +// aliases the source's memory in any way. If the composite value is an +// empty, read-only value, then it panics. +// +// Set is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetTopicFeeRevenueRequest) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { + switch fd.FullName() { + case "emissions.v8.GetTopicFeeRevenueRequest.topic_id": + x.TopicId = value.Uint() + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetTopicFeeRevenueRequest")) + } + panic(fmt.Errorf("message emissions.v8.GetTopicFeeRevenueRequest does not contain field %s", fd.FullName())) + } +} + +// Mutable returns a mutable reference to a composite type. +// +// If the field is unpopulated, it may allocate a composite value. +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType +// if not already stored. +// It panics if the field does not contain a composite type. +// +// Mutable is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetTopicFeeRevenueRequest) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.GetTopicFeeRevenueRequest.topic_id": + panic(fmt.Errorf("field topic_id of message emissions.v8.GetTopicFeeRevenueRequest is not mutable")) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetTopicFeeRevenueRequest")) + } + panic(fmt.Errorf("message emissions.v8.GetTopicFeeRevenueRequest does not contain field %s", fd.FullName())) + } +} + +// NewField returns a new value that is assignable to the field +// for the given descriptor. For scalars, this returns the default value. +// For lists, maps, and messages, this returns a new, empty, mutable value. +func (x *fastReflection_GetTopicFeeRevenueRequest) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.GetTopicFeeRevenueRequest.topic_id": + return protoreflect.ValueOfUint64(uint64(0)) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetTopicFeeRevenueRequest")) + } + panic(fmt.Errorf("message emissions.v8.GetTopicFeeRevenueRequest does not contain field %s", fd.FullName())) + } +} + +// WhichOneof reports which field within the oneof is populated, +// returning nil if none are populated. +// It panics if the oneof descriptor does not belong to this message. +func (x *fastReflection_GetTopicFeeRevenueRequest) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { + switch d.FullName() { + default: + panic(fmt.Errorf("%s is not a oneof field in emissions.v8.GetTopicFeeRevenueRequest", d.FullName())) + } + panic("unreachable") +} + +// GetUnknown retrieves the entire list of unknown fields. +// The caller may only mutate the contents of the RawFields +// if the mutated bytes are stored back into the message with SetUnknown. +func (x *fastReflection_GetTopicFeeRevenueRequest) GetUnknown() protoreflect.RawFields { + return x.unknownFields +} + +// SetUnknown stores an entire list of unknown fields. +// The raw fields must be syntactically valid according to the wire format. +// An implementation may panic if this is not the case. +// Once stored, the caller must not mutate the content of the RawFields. +// An empty RawFields may be passed to clear the fields. +// +// SetUnknown is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetTopicFeeRevenueRequest) SetUnknown(fields protoreflect.RawFields) { + x.unknownFields = fields +} + +// IsValid reports whether the message is valid. +// +// An invalid message is an empty, read-only value. +// +// An invalid message often corresponds to a nil pointer of the concrete +// message type, but the details are implementation dependent. +// Validity is not part of the protobuf data model, and may not +// be preserved in marshaling or other operations. +func (x *fastReflection_GetTopicFeeRevenueRequest) IsValid() bool { + return x != nil +} + +// ProtoMethods returns optional fastReflectionFeature-path implementations of various operations. +// This method may return nil. +// +// The returned methods type is identical to +// "google.golang.org/protobuf/runtime/protoiface".Methods. +// Consult the protoiface package documentation for details. +func (x *fastReflection_GetTopicFeeRevenueRequest) ProtoMethods() *protoiface.Methods { + size := func(input protoiface.SizeInput) protoiface.SizeOutput { + x := input.Message.Interface().(*GetTopicFeeRevenueRequest) + if x == nil { + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: 0, + } + } + options := runtime.SizeInputToOptions(input) + _ = options + var n int + var l int + _ = l + if x.TopicId != 0 { + n += 1 + runtime.Sov(uint64(x.TopicId)) + } + if x.unknownFields != nil { + n += len(x.unknownFields) + } + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: n, + } + } + + marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { + x := input.Message.Interface().(*GetTopicFeeRevenueRequest) + if x == nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + options := runtime.MarshalInputToOptions(input) + _ = options + size := options.Size(x) + dAtA := make([]byte, size) + i := len(dAtA) + _ = i + var l int + _ = l + if x.unknownFields != nil { + i -= len(x.unknownFields) + copy(dAtA[i:], x.unknownFields) + } + if x.TopicId != 0 { + i = runtime.EncodeVarint(dAtA, i, uint64(x.TopicId)) + i-- + dAtA[i] = 0x8 + } + if input.Buf != nil { + input.Buf = append(input.Buf, dAtA...) + } else { + input.Buf = dAtA + } + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { + x := input.Message.Interface().(*GetTopicFeeRevenueRequest) + if x == nil { + return protoiface.UnmarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Flags: input.Flags, + }, nil + } + options := runtime.UnmarshalInputToOptions(input) + _ = options + dAtA := input.Buf + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: GetTopicFeeRevenueRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: GetTopicFeeRevenueRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field TopicId", wireType) + } + x.TopicId = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + x.TopicId |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + default: + iNdEx = preIndex + skippy, err := runtime.Skip(dAtA[iNdEx:]) + if err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if (iNdEx + skippy) > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + if !options.DiscardUnknown { + x.unknownFields = append(x.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + } + iNdEx += skippy + } + } + + if iNdEx > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, nil + } + return &protoiface.Methods{ + NoUnkeyedLiterals: struct{}{}, + Flags: protoiface.SupportMarshalDeterministic | protoiface.SupportUnmarshalDiscardUnknown, + Size: size, + Marshal: marshal, + Unmarshal: unmarshal, + Merge: nil, + CheckInitialized: nil, + } +} + +var ( + md_GetTopicFeeRevenueResponse protoreflect.MessageDescriptor + fd_GetTopicFeeRevenueResponse_fee_revenue protoreflect.FieldDescriptor +) + +func init() { + file_emissions_v8_query_proto_init() + md_GetTopicFeeRevenueResponse = File_emissions_v8_query_proto.Messages().ByName("GetTopicFeeRevenueResponse") + fd_GetTopicFeeRevenueResponse_fee_revenue = md_GetTopicFeeRevenueResponse.Fields().ByName("fee_revenue") +} + +var _ protoreflect.Message = (*fastReflection_GetTopicFeeRevenueResponse)(nil) + +type fastReflection_GetTopicFeeRevenueResponse GetTopicFeeRevenueResponse + +func (x *GetTopicFeeRevenueResponse) ProtoReflect() protoreflect.Message { + return (*fastReflection_GetTopicFeeRevenueResponse)(x) +} + +func (x *GetTopicFeeRevenueResponse) slowProtoReflect() protoreflect.Message { + mi := &file_emissions_v8_query_proto_msgTypes[155] + 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) +} + +var _fastReflection_GetTopicFeeRevenueResponse_messageType fastReflection_GetTopicFeeRevenueResponse_messageType +var _ protoreflect.MessageType = fastReflection_GetTopicFeeRevenueResponse_messageType{} + +type fastReflection_GetTopicFeeRevenueResponse_messageType struct{} + +func (x fastReflection_GetTopicFeeRevenueResponse_messageType) Zero() protoreflect.Message { + return (*fastReflection_GetTopicFeeRevenueResponse)(nil) +} +func (x fastReflection_GetTopicFeeRevenueResponse_messageType) New() protoreflect.Message { + return new(fastReflection_GetTopicFeeRevenueResponse) +} +func (x fastReflection_GetTopicFeeRevenueResponse_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_GetTopicFeeRevenueResponse +} + +// Descriptor returns message descriptor, which contains only the protobuf +// type information for the message. +func (x *fastReflection_GetTopicFeeRevenueResponse) Descriptor() protoreflect.MessageDescriptor { + return md_GetTopicFeeRevenueResponse +} + +// Type returns the message type, which encapsulates both Go and protobuf +// type information. If the Go type information is not needed, +// it is recommended that the message descriptor be used instead. +func (x *fastReflection_GetTopicFeeRevenueResponse) Type() protoreflect.MessageType { + return _fastReflection_GetTopicFeeRevenueResponse_messageType +} + +// New returns a newly allocated and mutable empty message. +func (x *fastReflection_GetTopicFeeRevenueResponse) New() protoreflect.Message { + return new(fastReflection_GetTopicFeeRevenueResponse) +} + +// Interface unwraps the message reflection interface and +// returns the underlying ProtoMessage interface. +func (x *fastReflection_GetTopicFeeRevenueResponse) Interface() protoreflect.ProtoMessage { + return (*GetTopicFeeRevenueResponse)(x) +} + +// Range iterates over every populated field in an undefined order, +// calling f for each field descriptor and value encountered. +// Range returns immediately if f returns false. +// While iterating, mutating operations may only be performed +// on the current field descriptor. +func (x *fastReflection_GetTopicFeeRevenueResponse) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { + if x.FeeRevenue != "" { + value := protoreflect.ValueOfString(x.FeeRevenue) + if !f(fd_GetTopicFeeRevenueResponse_fee_revenue, value) { + return + } + } +} + +// Has reports whether a field is populated. +// +// Some fields have the property of nullability where it is possible to +// distinguish between the default value of a field and whether the field +// was explicitly populated with the default value. Singular message fields, +// member fields of a oneof, and proto2 scalar fields are nullable. Such +// fields are populated only if explicitly set. +// +// In other cases (aside from the nullable cases above), +// a proto3 scalar field is populated if it contains a non-zero value, and +// a repeated field is populated if it is non-empty. +func (x *fastReflection_GetTopicFeeRevenueResponse) Has(fd protoreflect.FieldDescriptor) bool { + switch fd.FullName() { + case "emissions.v8.GetTopicFeeRevenueResponse.fee_revenue": + return x.FeeRevenue != "" + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetTopicFeeRevenueResponse")) + } + panic(fmt.Errorf("message emissions.v8.GetTopicFeeRevenueResponse does not contain field %s", fd.FullName())) + } +} + +// Clear clears the field such that a subsequent Has call reports false. +// +// Clearing an extension field clears both the extension type and value +// associated with the given field number. +// +// Clear is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetTopicFeeRevenueResponse) Clear(fd protoreflect.FieldDescriptor) { + switch fd.FullName() { + case "emissions.v8.GetTopicFeeRevenueResponse.fee_revenue": + x.FeeRevenue = "" + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetTopicFeeRevenueResponse")) + } + panic(fmt.Errorf("message emissions.v8.GetTopicFeeRevenueResponse does not contain field %s", fd.FullName())) + } +} + +// Get retrieves the value for a field. +// +// For unpopulated scalars, it returns the default value, where +// the default value of a bytes scalar is guaranteed to be a copy. +// For unpopulated composite types, it returns an empty, read-only view +// of the value; to obtain a mutable reference, use Mutable. +func (x *fastReflection_GetTopicFeeRevenueResponse) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { + switch descriptor.FullName() { + case "emissions.v8.GetTopicFeeRevenueResponse.fee_revenue": + value := x.FeeRevenue + return protoreflect.ValueOfString(value) + default: + if descriptor.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetTopicFeeRevenueResponse")) + } + panic(fmt.Errorf("message emissions.v8.GetTopicFeeRevenueResponse does not contain field %s", descriptor.FullName())) + } +} + +// Set stores the value for a field. +// +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType. +// When setting a composite type, it is unspecified whether the stored value +// aliases the source's memory in any way. If the composite value is an +// empty, read-only value, then it panics. +// +// Set is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetTopicFeeRevenueResponse) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { + switch fd.FullName() { + case "emissions.v8.GetTopicFeeRevenueResponse.fee_revenue": + x.FeeRevenue = value.Interface().(string) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetTopicFeeRevenueResponse")) + } + panic(fmt.Errorf("message emissions.v8.GetTopicFeeRevenueResponse does not contain field %s", fd.FullName())) + } +} + +// Mutable returns a mutable reference to a composite type. +// +// If the field is unpopulated, it may allocate a composite value. +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType +// if not already stored. +// It panics if the field does not contain a composite type. +// +// Mutable is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetTopicFeeRevenueResponse) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.GetTopicFeeRevenueResponse.fee_revenue": + panic(fmt.Errorf("field fee_revenue of message emissions.v8.GetTopicFeeRevenueResponse is not mutable")) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetTopicFeeRevenueResponse")) + } + panic(fmt.Errorf("message emissions.v8.GetTopicFeeRevenueResponse does not contain field %s", fd.FullName())) + } +} + +// NewField returns a new value that is assignable to the field +// for the given descriptor. For scalars, this returns the default value. +// For lists, maps, and messages, this returns a new, empty, mutable value. +func (x *fastReflection_GetTopicFeeRevenueResponse) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.GetTopicFeeRevenueResponse.fee_revenue": + return protoreflect.ValueOfString("") + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetTopicFeeRevenueResponse")) + } + panic(fmt.Errorf("message emissions.v8.GetTopicFeeRevenueResponse does not contain field %s", fd.FullName())) + } +} + +// WhichOneof reports which field within the oneof is populated, +// returning nil if none are populated. +// It panics if the oneof descriptor does not belong to this message. +func (x *fastReflection_GetTopicFeeRevenueResponse) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { + switch d.FullName() { + default: + panic(fmt.Errorf("%s is not a oneof field in emissions.v8.GetTopicFeeRevenueResponse", d.FullName())) + } + panic("unreachable") +} + +// GetUnknown retrieves the entire list of unknown fields. +// The caller may only mutate the contents of the RawFields +// if the mutated bytes are stored back into the message with SetUnknown. +func (x *fastReflection_GetTopicFeeRevenueResponse) GetUnknown() protoreflect.RawFields { + return x.unknownFields +} + +// SetUnknown stores an entire list of unknown fields. +// The raw fields must be syntactically valid according to the wire format. +// An implementation may panic if this is not the case. +// Once stored, the caller must not mutate the content of the RawFields. +// An empty RawFields may be passed to clear the fields. +// +// SetUnknown is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetTopicFeeRevenueResponse) SetUnknown(fields protoreflect.RawFields) { + x.unknownFields = fields +} + +// IsValid reports whether the message is valid. +// +// An invalid message is an empty, read-only value. +// +// An invalid message often corresponds to a nil pointer of the concrete +// message type, but the details are implementation dependent. +// Validity is not part of the protobuf data model, and may not +// be preserved in marshaling or other operations. +func (x *fastReflection_GetTopicFeeRevenueResponse) IsValid() bool { + return x != nil +} + +// ProtoMethods returns optional fastReflectionFeature-path implementations of various operations. +// This method may return nil. +// +// The returned methods type is identical to +// "google.golang.org/protobuf/runtime/protoiface".Methods. +// Consult the protoiface package documentation for details. +func (x *fastReflection_GetTopicFeeRevenueResponse) ProtoMethods() *protoiface.Methods { + size := func(input protoiface.SizeInput) protoiface.SizeOutput { + x := input.Message.Interface().(*GetTopicFeeRevenueResponse) + if x == nil { + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: 0, + } + } + options := runtime.SizeInputToOptions(input) + _ = options + var n int + var l int + _ = l + l = len(x.FeeRevenue) + if l > 0 { + n += 1 + l + runtime.Sov(uint64(l)) + } + if x.unknownFields != nil { + n += len(x.unknownFields) + } + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: n, + } + } + + marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { + x := input.Message.Interface().(*GetTopicFeeRevenueResponse) + if x == nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + options := runtime.MarshalInputToOptions(input) + _ = options + size := options.Size(x) + dAtA := make([]byte, size) + i := len(dAtA) + _ = i + var l int + _ = l + if x.unknownFields != nil { + i -= len(x.unknownFields) + copy(dAtA[i:], x.unknownFields) + } + if len(x.FeeRevenue) > 0 { + i -= len(x.FeeRevenue) + copy(dAtA[i:], x.FeeRevenue) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.FeeRevenue))) + i-- + dAtA[i] = 0xa + } + if input.Buf != nil { + input.Buf = append(input.Buf, dAtA...) + } else { + input.Buf = dAtA + } + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { + x := input.Message.Interface().(*GetTopicFeeRevenueResponse) + if x == nil { + return protoiface.UnmarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Flags: input.Flags, + }, nil + } + options := runtime.UnmarshalInputToOptions(input) + _ = options + dAtA := input.Buf + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: GetTopicFeeRevenueResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: GetTopicFeeRevenueResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field FeeRevenue", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + x.FeeRevenue = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := runtime.Skip(dAtA[iNdEx:]) + if err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if (iNdEx + skippy) > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + if !options.DiscardUnknown { + x.unknownFields = append(x.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + } + iNdEx += skippy + } + } + + if iNdEx > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, nil + } + return &protoiface.Methods{ + NoUnkeyedLiterals: struct{}{}, + Flags: protoiface.SupportMarshalDeterministic | protoiface.SupportUnmarshalDiscardUnknown, + Size: size, + Marshal: marshal, + Unmarshal: unmarshal, + Merge: nil, + CheckInitialized: nil, + } +} + +var ( + md_GetInfererScoreEmaRequest protoreflect.MessageDescriptor + fd_GetInfererScoreEmaRequest_topic_id protoreflect.FieldDescriptor + fd_GetInfererScoreEmaRequest_inferer protoreflect.FieldDescriptor +) + +func init() { + file_emissions_v8_query_proto_init() + md_GetInfererScoreEmaRequest = File_emissions_v8_query_proto.Messages().ByName("GetInfererScoreEmaRequest") + fd_GetInfererScoreEmaRequest_topic_id = md_GetInfererScoreEmaRequest.Fields().ByName("topic_id") + fd_GetInfererScoreEmaRequest_inferer = md_GetInfererScoreEmaRequest.Fields().ByName("inferer") +} + +var _ protoreflect.Message = (*fastReflection_GetInfererScoreEmaRequest)(nil) + +type fastReflection_GetInfererScoreEmaRequest GetInfererScoreEmaRequest + +func (x *GetInfererScoreEmaRequest) ProtoReflect() protoreflect.Message { + return (*fastReflection_GetInfererScoreEmaRequest)(x) +} + +func (x *GetInfererScoreEmaRequest) slowProtoReflect() protoreflect.Message { + mi := &file_emissions_v8_query_proto_msgTypes[156] + 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) +} + +var _fastReflection_GetInfererScoreEmaRequest_messageType fastReflection_GetInfererScoreEmaRequest_messageType +var _ protoreflect.MessageType = fastReflection_GetInfererScoreEmaRequest_messageType{} + +type fastReflection_GetInfererScoreEmaRequest_messageType struct{} + +func (x fastReflection_GetInfererScoreEmaRequest_messageType) Zero() protoreflect.Message { + return (*fastReflection_GetInfererScoreEmaRequest)(nil) +} +func (x fastReflection_GetInfererScoreEmaRequest_messageType) New() protoreflect.Message { + return new(fastReflection_GetInfererScoreEmaRequest) +} +func (x fastReflection_GetInfererScoreEmaRequest_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_GetInfererScoreEmaRequest +} + +// Descriptor returns message descriptor, which contains only the protobuf +// type information for the message. +func (x *fastReflection_GetInfererScoreEmaRequest) Descriptor() protoreflect.MessageDescriptor { + return md_GetInfererScoreEmaRequest +} + +// Type returns the message type, which encapsulates both Go and protobuf +// type information. If the Go type information is not needed, +// it is recommended that the message descriptor be used instead. +func (x *fastReflection_GetInfererScoreEmaRequest) Type() protoreflect.MessageType { + return _fastReflection_GetInfererScoreEmaRequest_messageType +} + +// New returns a newly allocated and mutable empty message. +func (x *fastReflection_GetInfererScoreEmaRequest) New() protoreflect.Message { + return new(fastReflection_GetInfererScoreEmaRequest) +} + +// Interface unwraps the message reflection interface and +// returns the underlying ProtoMessage interface. +func (x *fastReflection_GetInfererScoreEmaRequest) Interface() protoreflect.ProtoMessage { + return (*GetInfererScoreEmaRequest)(x) +} + +// Range iterates over every populated field in an undefined order, +// calling f for each field descriptor and value encountered. +// Range returns immediately if f returns false. +// While iterating, mutating operations may only be performed +// on the current field descriptor. +func (x *fastReflection_GetInfererScoreEmaRequest) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { + if x.TopicId != uint64(0) { + value := protoreflect.ValueOfUint64(x.TopicId) + if !f(fd_GetInfererScoreEmaRequest_topic_id, value) { + return + } + } + if x.Inferer != "" { + value := protoreflect.ValueOfString(x.Inferer) + if !f(fd_GetInfererScoreEmaRequest_inferer, value) { + return + } + } +} + +// Has reports whether a field is populated. +// +// Some fields have the property of nullability where it is possible to +// distinguish between the default value of a field and whether the field +// was explicitly populated with the default value. Singular message fields, +// member fields of a oneof, and proto2 scalar fields are nullable. Such +// fields are populated only if explicitly set. +// +// In other cases (aside from the nullable cases above), +// a proto3 scalar field is populated if it contains a non-zero value, and +// a repeated field is populated if it is non-empty. +func (x *fastReflection_GetInfererScoreEmaRequest) Has(fd protoreflect.FieldDescriptor) bool { + switch fd.FullName() { + case "emissions.v8.GetInfererScoreEmaRequest.topic_id": + return x.TopicId != uint64(0) + case "emissions.v8.GetInfererScoreEmaRequest.inferer": + return x.Inferer != "" + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetInfererScoreEmaRequest")) + } + panic(fmt.Errorf("message emissions.v8.GetInfererScoreEmaRequest does not contain field %s", fd.FullName())) + } +} + +// Clear clears the field such that a subsequent Has call reports false. +// +// Clearing an extension field clears both the extension type and value +// associated with the given field number. +// +// Clear is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetInfererScoreEmaRequest) Clear(fd protoreflect.FieldDescriptor) { + switch fd.FullName() { + case "emissions.v8.GetInfererScoreEmaRequest.topic_id": + x.TopicId = uint64(0) + case "emissions.v8.GetInfererScoreEmaRequest.inferer": + x.Inferer = "" + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetInfererScoreEmaRequest")) + } + panic(fmt.Errorf("message emissions.v8.GetInfererScoreEmaRequest does not contain field %s", fd.FullName())) + } +} + +// Get retrieves the value for a field. +// +// For unpopulated scalars, it returns the default value, where +// the default value of a bytes scalar is guaranteed to be a copy. +// For unpopulated composite types, it returns an empty, read-only view +// of the value; to obtain a mutable reference, use Mutable. +func (x *fastReflection_GetInfererScoreEmaRequest) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { + switch descriptor.FullName() { + case "emissions.v8.GetInfererScoreEmaRequest.topic_id": + value := x.TopicId + return protoreflect.ValueOfUint64(value) + case "emissions.v8.GetInfererScoreEmaRequest.inferer": + value := x.Inferer + return protoreflect.ValueOfString(value) + default: + if descriptor.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetInfererScoreEmaRequest")) + } + panic(fmt.Errorf("message emissions.v8.GetInfererScoreEmaRequest does not contain field %s", descriptor.FullName())) + } +} + +// Set stores the value for a field. +// +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType. +// When setting a composite type, it is unspecified whether the stored value +// aliases the source's memory in any way. If the composite value is an +// empty, read-only value, then it panics. +// +// Set is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetInfererScoreEmaRequest) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { + switch fd.FullName() { + case "emissions.v8.GetInfererScoreEmaRequest.topic_id": + x.TopicId = value.Uint() + case "emissions.v8.GetInfererScoreEmaRequest.inferer": + x.Inferer = value.Interface().(string) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetInfererScoreEmaRequest")) + } + panic(fmt.Errorf("message emissions.v8.GetInfererScoreEmaRequest does not contain field %s", fd.FullName())) + } +} + +// Mutable returns a mutable reference to a composite type. +// +// If the field is unpopulated, it may allocate a composite value. +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType +// if not already stored. +// It panics if the field does not contain a composite type. +// +// Mutable is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetInfererScoreEmaRequest) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.GetInfererScoreEmaRequest.topic_id": + panic(fmt.Errorf("field topic_id of message emissions.v8.GetInfererScoreEmaRequest is not mutable")) + case "emissions.v8.GetInfererScoreEmaRequest.inferer": + panic(fmt.Errorf("field inferer of message emissions.v8.GetInfererScoreEmaRequest is not mutable")) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetInfererScoreEmaRequest")) + } + panic(fmt.Errorf("message emissions.v8.GetInfererScoreEmaRequest does not contain field %s", fd.FullName())) + } +} + +// NewField returns a new value that is assignable to the field +// for the given descriptor. For scalars, this returns the default value. +// For lists, maps, and messages, this returns a new, empty, mutable value. +func (x *fastReflection_GetInfererScoreEmaRequest) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.GetInfererScoreEmaRequest.topic_id": + return protoreflect.ValueOfUint64(uint64(0)) + case "emissions.v8.GetInfererScoreEmaRequest.inferer": + return protoreflect.ValueOfString("") + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetInfererScoreEmaRequest")) + } + panic(fmt.Errorf("message emissions.v8.GetInfererScoreEmaRequest does not contain field %s", fd.FullName())) + } +} + +// WhichOneof reports which field within the oneof is populated, +// returning nil if none are populated. +// It panics if the oneof descriptor does not belong to this message. +func (x *fastReflection_GetInfererScoreEmaRequest) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { + switch d.FullName() { + default: + panic(fmt.Errorf("%s is not a oneof field in emissions.v8.GetInfererScoreEmaRequest", d.FullName())) + } + panic("unreachable") +} + +// GetUnknown retrieves the entire list of unknown fields. +// The caller may only mutate the contents of the RawFields +// if the mutated bytes are stored back into the message with SetUnknown. +func (x *fastReflection_GetInfererScoreEmaRequest) GetUnknown() protoreflect.RawFields { + return x.unknownFields +} + +// SetUnknown stores an entire list of unknown fields. +// The raw fields must be syntactically valid according to the wire format. +// An implementation may panic if this is not the case. +// Once stored, the caller must not mutate the content of the RawFields. +// An empty RawFields may be passed to clear the fields. +// +// SetUnknown is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetInfererScoreEmaRequest) SetUnknown(fields protoreflect.RawFields) { + x.unknownFields = fields +} + +// IsValid reports whether the message is valid. +// +// An invalid message is an empty, read-only value. +// +// An invalid message often corresponds to a nil pointer of the concrete +// message type, but the details are implementation dependent. +// Validity is not part of the protobuf data model, and may not +// be preserved in marshaling or other operations. +func (x *fastReflection_GetInfererScoreEmaRequest) IsValid() bool { + return x != nil +} + +// ProtoMethods returns optional fastReflectionFeature-path implementations of various operations. +// This method may return nil. +// +// The returned methods type is identical to +// "google.golang.org/protobuf/runtime/protoiface".Methods. +// Consult the protoiface package documentation for details. +func (x *fastReflection_GetInfererScoreEmaRequest) ProtoMethods() *protoiface.Methods { + size := func(input protoiface.SizeInput) protoiface.SizeOutput { + x := input.Message.Interface().(*GetInfererScoreEmaRequest) + if x == nil { + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: 0, + } + } + options := runtime.SizeInputToOptions(input) + _ = options + var n int + var l int + _ = l + if x.TopicId != 0 { + n += 1 + runtime.Sov(uint64(x.TopicId)) + } + l = len(x.Inferer) + if l > 0 { + n += 1 + l + runtime.Sov(uint64(l)) + } + if x.unknownFields != nil { + n += len(x.unknownFields) + } + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: n, + } + } + + marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { + x := input.Message.Interface().(*GetInfererScoreEmaRequest) + if x == nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + options := runtime.MarshalInputToOptions(input) + _ = options + size := options.Size(x) + dAtA := make([]byte, size) + i := len(dAtA) + _ = i + var l int + _ = l + if x.unknownFields != nil { + i -= len(x.unknownFields) + copy(dAtA[i:], x.unknownFields) + } + if len(x.Inferer) > 0 { + i -= len(x.Inferer) + copy(dAtA[i:], x.Inferer) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.Inferer))) + i-- + dAtA[i] = 0x12 + } + if x.TopicId != 0 { + i = runtime.EncodeVarint(dAtA, i, uint64(x.TopicId)) + i-- + dAtA[i] = 0x8 + } + if input.Buf != nil { + input.Buf = append(input.Buf, dAtA...) + } else { + input.Buf = dAtA + } + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { + x := input.Message.Interface().(*GetInfererScoreEmaRequest) + if x == nil { + return protoiface.UnmarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Flags: input.Flags, + }, nil + } + options := runtime.UnmarshalInputToOptions(input) + _ = options + dAtA := input.Buf + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: GetInfererScoreEmaRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: GetInfererScoreEmaRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field TopicId", wireType) + } + x.TopicId = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + x.TopicId |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 2: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Inferer", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + x.Inferer = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := runtime.Skip(dAtA[iNdEx:]) + if err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if (iNdEx + skippy) > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + if !options.DiscardUnknown { + x.unknownFields = append(x.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + } + iNdEx += skippy + } + } + + if iNdEx > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, nil + } + return &protoiface.Methods{ + NoUnkeyedLiterals: struct{}{}, + Flags: protoiface.SupportMarshalDeterministic | protoiface.SupportUnmarshalDiscardUnknown, + Size: size, + Marshal: marshal, + Unmarshal: unmarshal, + Merge: nil, + CheckInitialized: nil, + } +} + +var ( + md_GetInfererScoreEmaResponse protoreflect.MessageDescriptor + fd_GetInfererScoreEmaResponse_score protoreflect.FieldDescriptor +) + +func init() { + file_emissions_v8_query_proto_init() + md_GetInfererScoreEmaResponse = File_emissions_v8_query_proto.Messages().ByName("GetInfererScoreEmaResponse") + fd_GetInfererScoreEmaResponse_score = md_GetInfererScoreEmaResponse.Fields().ByName("score") +} + +var _ protoreflect.Message = (*fastReflection_GetInfererScoreEmaResponse)(nil) + +type fastReflection_GetInfererScoreEmaResponse GetInfererScoreEmaResponse + +func (x *GetInfererScoreEmaResponse) ProtoReflect() protoreflect.Message { + return (*fastReflection_GetInfererScoreEmaResponse)(x) +} + +func (x *GetInfererScoreEmaResponse) slowProtoReflect() protoreflect.Message { + mi := &file_emissions_v8_query_proto_msgTypes[157] + 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) +} + +var _fastReflection_GetInfererScoreEmaResponse_messageType fastReflection_GetInfererScoreEmaResponse_messageType +var _ protoreflect.MessageType = fastReflection_GetInfererScoreEmaResponse_messageType{} + +type fastReflection_GetInfererScoreEmaResponse_messageType struct{} + +func (x fastReflection_GetInfererScoreEmaResponse_messageType) Zero() protoreflect.Message { + return (*fastReflection_GetInfererScoreEmaResponse)(nil) +} +func (x fastReflection_GetInfererScoreEmaResponse_messageType) New() protoreflect.Message { + return new(fastReflection_GetInfererScoreEmaResponse) +} +func (x fastReflection_GetInfererScoreEmaResponse_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_GetInfererScoreEmaResponse +} + +// Descriptor returns message descriptor, which contains only the protobuf +// type information for the message. +func (x *fastReflection_GetInfererScoreEmaResponse) Descriptor() protoreflect.MessageDescriptor { + return md_GetInfererScoreEmaResponse +} + +// Type returns the message type, which encapsulates both Go and protobuf +// type information. If the Go type information is not needed, +// it is recommended that the message descriptor be used instead. +func (x *fastReflection_GetInfererScoreEmaResponse) Type() protoreflect.MessageType { + return _fastReflection_GetInfererScoreEmaResponse_messageType +} + +// New returns a newly allocated and mutable empty message. +func (x *fastReflection_GetInfererScoreEmaResponse) New() protoreflect.Message { + return new(fastReflection_GetInfererScoreEmaResponse) +} + +// Interface unwraps the message reflection interface and +// returns the underlying ProtoMessage interface. +func (x *fastReflection_GetInfererScoreEmaResponse) Interface() protoreflect.ProtoMessage { + return (*GetInfererScoreEmaResponse)(x) +} + +// Range iterates over every populated field in an undefined order, +// calling f for each field descriptor and value encountered. +// Range returns immediately if f returns false. +// While iterating, mutating operations may only be performed +// on the current field descriptor. +func (x *fastReflection_GetInfererScoreEmaResponse) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { + if x.Score != nil { + value := protoreflect.ValueOfMessage(x.Score.ProtoReflect()) + if !f(fd_GetInfererScoreEmaResponse_score, value) { + return + } + } +} + +// Has reports whether a field is populated. +// +// Some fields have the property of nullability where it is possible to +// distinguish between the default value of a field and whether the field +// was explicitly populated with the default value. Singular message fields, +// member fields of a oneof, and proto2 scalar fields are nullable. Such +// fields are populated only if explicitly set. +// +// In other cases (aside from the nullable cases above), +// a proto3 scalar field is populated if it contains a non-zero value, and +// a repeated field is populated if it is non-empty. +func (x *fastReflection_GetInfererScoreEmaResponse) Has(fd protoreflect.FieldDescriptor) bool { + switch fd.FullName() { + case "emissions.v8.GetInfererScoreEmaResponse.score": + return x.Score != nil + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetInfererScoreEmaResponse")) + } + panic(fmt.Errorf("message emissions.v8.GetInfererScoreEmaResponse does not contain field %s", fd.FullName())) + } +} + +// Clear clears the field such that a subsequent Has call reports false. +// +// Clearing an extension field clears both the extension type and value +// associated with the given field number. +// +// Clear is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetInfererScoreEmaResponse) Clear(fd protoreflect.FieldDescriptor) { + switch fd.FullName() { + case "emissions.v8.GetInfererScoreEmaResponse.score": + x.Score = nil + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetInfererScoreEmaResponse")) + } + panic(fmt.Errorf("message emissions.v8.GetInfererScoreEmaResponse does not contain field %s", fd.FullName())) + } +} + +// Get retrieves the value for a field. +// +// For unpopulated scalars, it returns the default value, where +// the default value of a bytes scalar is guaranteed to be a copy. +// For unpopulated composite types, it returns an empty, read-only view +// of the value; to obtain a mutable reference, use Mutable. +func (x *fastReflection_GetInfererScoreEmaResponse) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { + switch descriptor.FullName() { + case "emissions.v8.GetInfererScoreEmaResponse.score": + value := x.Score + return protoreflect.ValueOfMessage(value.ProtoReflect()) + default: + if descriptor.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetInfererScoreEmaResponse")) + } + panic(fmt.Errorf("message emissions.v8.GetInfererScoreEmaResponse does not contain field %s", descriptor.FullName())) + } +} + +// Set stores the value for a field. +// +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType. +// When setting a composite type, it is unspecified whether the stored value +// aliases the source's memory in any way. If the composite value is an +// empty, read-only value, then it panics. +// +// Set is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetInfererScoreEmaResponse) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { + switch fd.FullName() { + case "emissions.v8.GetInfererScoreEmaResponse.score": + x.Score = value.Message().Interface().(*v3.Score) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetInfererScoreEmaResponse")) + } + panic(fmt.Errorf("message emissions.v8.GetInfererScoreEmaResponse does not contain field %s", fd.FullName())) + } +} + +// Mutable returns a mutable reference to a composite type. +// +// If the field is unpopulated, it may allocate a composite value. +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType +// if not already stored. +// It panics if the field does not contain a composite type. +// +// Mutable is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetInfererScoreEmaResponse) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.GetInfererScoreEmaResponse.score": + if x.Score == nil { + x.Score = new(v3.Score) + } + return protoreflect.ValueOfMessage(x.Score.ProtoReflect()) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetInfererScoreEmaResponse")) + } + panic(fmt.Errorf("message emissions.v8.GetInfererScoreEmaResponse does not contain field %s", fd.FullName())) + } +} + +// NewField returns a new value that is assignable to the field +// for the given descriptor. For scalars, this returns the default value. +// For lists, maps, and messages, this returns a new, empty, mutable value. +func (x *fastReflection_GetInfererScoreEmaResponse) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.GetInfererScoreEmaResponse.score": + m := new(v3.Score) + return protoreflect.ValueOfMessage(m.ProtoReflect()) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetInfererScoreEmaResponse")) + } + panic(fmt.Errorf("message emissions.v8.GetInfererScoreEmaResponse does not contain field %s", fd.FullName())) + } +} + +// WhichOneof reports which field within the oneof is populated, +// returning nil if none are populated. +// It panics if the oneof descriptor does not belong to this message. +func (x *fastReflection_GetInfererScoreEmaResponse) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { + switch d.FullName() { + default: + panic(fmt.Errorf("%s is not a oneof field in emissions.v8.GetInfererScoreEmaResponse", d.FullName())) + } + panic("unreachable") +} + +// GetUnknown retrieves the entire list of unknown fields. +// The caller may only mutate the contents of the RawFields +// if the mutated bytes are stored back into the message with SetUnknown. +func (x *fastReflection_GetInfererScoreEmaResponse) GetUnknown() protoreflect.RawFields { + return x.unknownFields +} + +// SetUnknown stores an entire list of unknown fields. +// The raw fields must be syntactically valid according to the wire format. +// An implementation may panic if this is not the case. +// Once stored, the caller must not mutate the content of the RawFields. +// An empty RawFields may be passed to clear the fields. +// +// SetUnknown is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetInfererScoreEmaResponse) SetUnknown(fields protoreflect.RawFields) { + x.unknownFields = fields +} + +// IsValid reports whether the message is valid. +// +// An invalid message is an empty, read-only value. +// +// An invalid message often corresponds to a nil pointer of the concrete +// message type, but the details are implementation dependent. +// Validity is not part of the protobuf data model, and may not +// be preserved in marshaling or other operations. +func (x *fastReflection_GetInfererScoreEmaResponse) IsValid() bool { + return x != nil +} + +// ProtoMethods returns optional fastReflectionFeature-path implementations of various operations. +// This method may return nil. +// +// The returned methods type is identical to +// "google.golang.org/protobuf/runtime/protoiface".Methods. +// Consult the protoiface package documentation for details. +func (x *fastReflection_GetInfererScoreEmaResponse) ProtoMethods() *protoiface.Methods { + size := func(input protoiface.SizeInput) protoiface.SizeOutput { + x := input.Message.Interface().(*GetInfererScoreEmaResponse) + if x == nil { + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: 0, + } + } + options := runtime.SizeInputToOptions(input) + _ = options + var n int + var l int + _ = l + if x.Score != nil { + l = options.Size(x.Score) + n += 1 + l + runtime.Sov(uint64(l)) + } + if x.unknownFields != nil { + n += len(x.unknownFields) + } + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: n, + } + } + + marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { + x := input.Message.Interface().(*GetInfererScoreEmaResponse) + if x == nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + options := runtime.MarshalInputToOptions(input) + _ = options + size := options.Size(x) + dAtA := make([]byte, size) + i := len(dAtA) + _ = i + var l int + _ = l + if x.unknownFields != nil { + i -= len(x.unknownFields) + copy(dAtA[i:], x.unknownFields) + } + if x.Score != nil { + encoded, err := options.Marshal(x.Score) + if err != nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = runtime.EncodeVarint(dAtA, i, uint64(len(encoded))) + i-- + dAtA[i] = 0xa + } + if input.Buf != nil { + input.Buf = append(input.Buf, dAtA...) + } else { + input.Buf = dAtA + } + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { + x := input.Message.Interface().(*GetInfererScoreEmaResponse) + if x == nil { + return protoiface.UnmarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Flags: input.Flags, + }, nil + } + options := runtime.UnmarshalInputToOptions(input) + _ = options + dAtA := input.Buf + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: GetInfererScoreEmaResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: GetInfererScoreEmaResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Score", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + if x.Score == nil { + x.Score = &v3.Score{} + } + if err := options.Unmarshal(dAtA[iNdEx:postIndex], x.Score); err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := runtime.Skip(dAtA[iNdEx:]) + if err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if (iNdEx + skippy) > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + if !options.DiscardUnknown { + x.unknownFields = append(x.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + } + iNdEx += skippy + } + } + + if iNdEx > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, nil + } + return &protoiface.Methods{ + NoUnkeyedLiterals: struct{}{}, + Flags: protoiface.SupportMarshalDeterministic | protoiface.SupportUnmarshalDiscardUnknown, + Size: size, + Marshal: marshal, + Unmarshal: unmarshal, + Merge: nil, + CheckInitialized: nil, + } +} + +var ( + md_GetForecasterScoreEmaRequest protoreflect.MessageDescriptor + fd_GetForecasterScoreEmaRequest_topic_id protoreflect.FieldDescriptor + fd_GetForecasterScoreEmaRequest_forecaster protoreflect.FieldDescriptor +) + +func init() { + file_emissions_v8_query_proto_init() + md_GetForecasterScoreEmaRequest = File_emissions_v8_query_proto.Messages().ByName("GetForecasterScoreEmaRequest") + fd_GetForecasterScoreEmaRequest_topic_id = md_GetForecasterScoreEmaRequest.Fields().ByName("topic_id") + fd_GetForecasterScoreEmaRequest_forecaster = md_GetForecasterScoreEmaRequest.Fields().ByName("forecaster") +} + +var _ protoreflect.Message = (*fastReflection_GetForecasterScoreEmaRequest)(nil) + +type fastReflection_GetForecasterScoreEmaRequest GetForecasterScoreEmaRequest + +func (x *GetForecasterScoreEmaRequest) ProtoReflect() protoreflect.Message { + return (*fastReflection_GetForecasterScoreEmaRequest)(x) +} + +func (x *GetForecasterScoreEmaRequest) slowProtoReflect() protoreflect.Message { + mi := &file_emissions_v8_query_proto_msgTypes[158] + 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) +} + +var _fastReflection_GetForecasterScoreEmaRequest_messageType fastReflection_GetForecasterScoreEmaRequest_messageType +var _ protoreflect.MessageType = fastReflection_GetForecasterScoreEmaRequest_messageType{} + +type fastReflection_GetForecasterScoreEmaRequest_messageType struct{} + +func (x fastReflection_GetForecasterScoreEmaRequest_messageType) Zero() protoreflect.Message { + return (*fastReflection_GetForecasterScoreEmaRequest)(nil) +} +func (x fastReflection_GetForecasterScoreEmaRequest_messageType) New() protoreflect.Message { + return new(fastReflection_GetForecasterScoreEmaRequest) +} +func (x fastReflection_GetForecasterScoreEmaRequest_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_GetForecasterScoreEmaRequest +} + +// Descriptor returns message descriptor, which contains only the protobuf +// type information for the message. +func (x *fastReflection_GetForecasterScoreEmaRequest) Descriptor() protoreflect.MessageDescriptor { + return md_GetForecasterScoreEmaRequest +} + +// Type returns the message type, which encapsulates both Go and protobuf +// type information. If the Go type information is not needed, +// it is recommended that the message descriptor be used instead. +func (x *fastReflection_GetForecasterScoreEmaRequest) Type() protoreflect.MessageType { + return _fastReflection_GetForecasterScoreEmaRequest_messageType +} + +// New returns a newly allocated and mutable empty message. +func (x *fastReflection_GetForecasterScoreEmaRequest) New() protoreflect.Message { + return new(fastReflection_GetForecasterScoreEmaRequest) +} + +// Interface unwraps the message reflection interface and +// returns the underlying ProtoMessage interface. +func (x *fastReflection_GetForecasterScoreEmaRequest) Interface() protoreflect.ProtoMessage { + return (*GetForecasterScoreEmaRequest)(x) +} + +// Range iterates over every populated field in an undefined order, +// calling f for each field descriptor and value encountered. +// Range returns immediately if f returns false. +// While iterating, mutating operations may only be performed +// on the current field descriptor. +func (x *fastReflection_GetForecasterScoreEmaRequest) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { + if x.TopicId != uint64(0) { + value := protoreflect.ValueOfUint64(x.TopicId) + if !f(fd_GetForecasterScoreEmaRequest_topic_id, value) { + return + } + } + if x.Forecaster != "" { + value := protoreflect.ValueOfString(x.Forecaster) + if !f(fd_GetForecasterScoreEmaRequest_forecaster, value) { + return + } + } +} + +// Has reports whether a field is populated. +// +// Some fields have the property of nullability where it is possible to +// distinguish between the default value of a field and whether the field +// was explicitly populated with the default value. Singular message fields, +// member fields of a oneof, and proto2 scalar fields are nullable. Such +// fields are populated only if explicitly set. +// +// In other cases (aside from the nullable cases above), +// a proto3 scalar field is populated if it contains a non-zero value, and +// a repeated field is populated if it is non-empty. +func (x *fastReflection_GetForecasterScoreEmaRequest) Has(fd protoreflect.FieldDescriptor) bool { + switch fd.FullName() { + case "emissions.v8.GetForecasterScoreEmaRequest.topic_id": + return x.TopicId != uint64(0) + case "emissions.v8.GetForecasterScoreEmaRequest.forecaster": + return x.Forecaster != "" + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetForecasterScoreEmaRequest")) + } + panic(fmt.Errorf("message emissions.v8.GetForecasterScoreEmaRequest does not contain field %s", fd.FullName())) + } +} + +// Clear clears the field such that a subsequent Has call reports false. +// +// Clearing an extension field clears both the extension type and value +// associated with the given field number. +// +// Clear is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetForecasterScoreEmaRequest) Clear(fd protoreflect.FieldDescriptor) { + switch fd.FullName() { + case "emissions.v8.GetForecasterScoreEmaRequest.topic_id": + x.TopicId = uint64(0) + case "emissions.v8.GetForecasterScoreEmaRequest.forecaster": + x.Forecaster = "" + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetForecasterScoreEmaRequest")) + } + panic(fmt.Errorf("message emissions.v8.GetForecasterScoreEmaRequest does not contain field %s", fd.FullName())) + } +} + +// Get retrieves the value for a field. +// +// For unpopulated scalars, it returns the default value, where +// the default value of a bytes scalar is guaranteed to be a copy. +// For unpopulated composite types, it returns an empty, read-only view +// of the value; to obtain a mutable reference, use Mutable. +func (x *fastReflection_GetForecasterScoreEmaRequest) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { + switch descriptor.FullName() { + case "emissions.v8.GetForecasterScoreEmaRequest.topic_id": + value := x.TopicId + return protoreflect.ValueOfUint64(value) + case "emissions.v8.GetForecasterScoreEmaRequest.forecaster": + value := x.Forecaster + return protoreflect.ValueOfString(value) + default: + if descriptor.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetForecasterScoreEmaRequest")) + } + panic(fmt.Errorf("message emissions.v8.GetForecasterScoreEmaRequest does not contain field %s", descriptor.FullName())) + } +} + +// Set stores the value for a field. +// +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType. +// When setting a composite type, it is unspecified whether the stored value +// aliases the source's memory in any way. If the composite value is an +// empty, read-only value, then it panics. +// +// Set is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetForecasterScoreEmaRequest) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { + switch fd.FullName() { + case "emissions.v8.GetForecasterScoreEmaRequest.topic_id": + x.TopicId = value.Uint() + case "emissions.v8.GetForecasterScoreEmaRequest.forecaster": + x.Forecaster = value.Interface().(string) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetForecasterScoreEmaRequest")) + } + panic(fmt.Errorf("message emissions.v8.GetForecasterScoreEmaRequest does not contain field %s", fd.FullName())) + } +} + +// Mutable returns a mutable reference to a composite type. +// +// If the field is unpopulated, it may allocate a composite value. +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType +// if not already stored. +// It panics if the field does not contain a composite type. +// +// Mutable is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetForecasterScoreEmaRequest) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.GetForecasterScoreEmaRequest.topic_id": + panic(fmt.Errorf("field topic_id of message emissions.v8.GetForecasterScoreEmaRequest is not mutable")) + case "emissions.v8.GetForecasterScoreEmaRequest.forecaster": + panic(fmt.Errorf("field forecaster of message emissions.v8.GetForecasterScoreEmaRequest is not mutable")) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetForecasterScoreEmaRequest")) + } + panic(fmt.Errorf("message emissions.v8.GetForecasterScoreEmaRequest does not contain field %s", fd.FullName())) + } +} + +// NewField returns a new value that is assignable to the field +// for the given descriptor. For scalars, this returns the default value. +// For lists, maps, and messages, this returns a new, empty, mutable value. +func (x *fastReflection_GetForecasterScoreEmaRequest) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.GetForecasterScoreEmaRequest.topic_id": + return protoreflect.ValueOfUint64(uint64(0)) + case "emissions.v8.GetForecasterScoreEmaRequest.forecaster": + return protoreflect.ValueOfString("") + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetForecasterScoreEmaRequest")) + } + panic(fmt.Errorf("message emissions.v8.GetForecasterScoreEmaRequest does not contain field %s", fd.FullName())) + } +} + +// WhichOneof reports which field within the oneof is populated, +// returning nil if none are populated. +// It panics if the oneof descriptor does not belong to this message. +func (x *fastReflection_GetForecasterScoreEmaRequest) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { + switch d.FullName() { + default: + panic(fmt.Errorf("%s is not a oneof field in emissions.v8.GetForecasterScoreEmaRequest", d.FullName())) + } + panic("unreachable") +} + +// GetUnknown retrieves the entire list of unknown fields. +// The caller may only mutate the contents of the RawFields +// if the mutated bytes are stored back into the message with SetUnknown. +func (x *fastReflection_GetForecasterScoreEmaRequest) GetUnknown() protoreflect.RawFields { + return x.unknownFields +} + +// SetUnknown stores an entire list of unknown fields. +// The raw fields must be syntactically valid according to the wire format. +// An implementation may panic if this is not the case. +// Once stored, the caller must not mutate the content of the RawFields. +// An empty RawFields may be passed to clear the fields. +// +// SetUnknown is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetForecasterScoreEmaRequest) SetUnknown(fields protoreflect.RawFields) { + x.unknownFields = fields +} + +// IsValid reports whether the message is valid. +// +// An invalid message is an empty, read-only value. +// +// An invalid message often corresponds to a nil pointer of the concrete +// message type, but the details are implementation dependent. +// Validity is not part of the protobuf data model, and may not +// be preserved in marshaling or other operations. +func (x *fastReflection_GetForecasterScoreEmaRequest) IsValid() bool { + return x != nil +} + +// ProtoMethods returns optional fastReflectionFeature-path implementations of various operations. +// This method may return nil. +// +// The returned methods type is identical to +// "google.golang.org/protobuf/runtime/protoiface".Methods. +// Consult the protoiface package documentation for details. +func (x *fastReflection_GetForecasterScoreEmaRequest) ProtoMethods() *protoiface.Methods { + size := func(input protoiface.SizeInput) protoiface.SizeOutput { + x := input.Message.Interface().(*GetForecasterScoreEmaRequest) + if x == nil { + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: 0, + } + } + options := runtime.SizeInputToOptions(input) + _ = options + var n int + var l int + _ = l + if x.TopicId != 0 { + n += 1 + runtime.Sov(uint64(x.TopicId)) + } + l = len(x.Forecaster) + if l > 0 { + n += 1 + l + runtime.Sov(uint64(l)) + } + if x.unknownFields != nil { + n += len(x.unknownFields) + } + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: n, + } + } + + marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { + x := input.Message.Interface().(*GetForecasterScoreEmaRequest) + if x == nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + options := runtime.MarshalInputToOptions(input) + _ = options + size := options.Size(x) + dAtA := make([]byte, size) + i := len(dAtA) + _ = i + var l int + _ = l + if x.unknownFields != nil { + i -= len(x.unknownFields) + copy(dAtA[i:], x.unknownFields) + } + if len(x.Forecaster) > 0 { + i -= len(x.Forecaster) + copy(dAtA[i:], x.Forecaster) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.Forecaster))) + i-- + dAtA[i] = 0x12 + } + if x.TopicId != 0 { + i = runtime.EncodeVarint(dAtA, i, uint64(x.TopicId)) + i-- + dAtA[i] = 0x8 + } + if input.Buf != nil { + input.Buf = append(input.Buf, dAtA...) + } else { + input.Buf = dAtA + } + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { + x := input.Message.Interface().(*GetForecasterScoreEmaRequest) + if x == nil { + return protoiface.UnmarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Flags: input.Flags, + }, nil + } + options := runtime.UnmarshalInputToOptions(input) + _ = options + dAtA := input.Buf + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: GetForecasterScoreEmaRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: GetForecasterScoreEmaRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field TopicId", wireType) + } + x.TopicId = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + x.TopicId |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 2: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Forecaster", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + x.Forecaster = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := runtime.Skip(dAtA[iNdEx:]) + if err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if (iNdEx + skippy) > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + if !options.DiscardUnknown { + x.unknownFields = append(x.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + } + iNdEx += skippy + } + } + + if iNdEx > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, nil + } + return &protoiface.Methods{ + NoUnkeyedLiterals: struct{}{}, + Flags: protoiface.SupportMarshalDeterministic | protoiface.SupportUnmarshalDiscardUnknown, + Size: size, + Marshal: marshal, + Unmarshal: unmarshal, + Merge: nil, + CheckInitialized: nil, + } +} + +var ( + md_GetForecasterScoreEmaResponse protoreflect.MessageDescriptor + fd_GetForecasterScoreEmaResponse_score protoreflect.FieldDescriptor +) + +func init() { + file_emissions_v8_query_proto_init() + md_GetForecasterScoreEmaResponse = File_emissions_v8_query_proto.Messages().ByName("GetForecasterScoreEmaResponse") + fd_GetForecasterScoreEmaResponse_score = md_GetForecasterScoreEmaResponse.Fields().ByName("score") +} + +var _ protoreflect.Message = (*fastReflection_GetForecasterScoreEmaResponse)(nil) + +type fastReflection_GetForecasterScoreEmaResponse GetForecasterScoreEmaResponse + +func (x *GetForecasterScoreEmaResponse) ProtoReflect() protoreflect.Message { + return (*fastReflection_GetForecasterScoreEmaResponse)(x) +} + +func (x *GetForecasterScoreEmaResponse) slowProtoReflect() protoreflect.Message { + mi := &file_emissions_v8_query_proto_msgTypes[159] + 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) +} + +var _fastReflection_GetForecasterScoreEmaResponse_messageType fastReflection_GetForecasterScoreEmaResponse_messageType +var _ protoreflect.MessageType = fastReflection_GetForecasterScoreEmaResponse_messageType{} + +type fastReflection_GetForecasterScoreEmaResponse_messageType struct{} + +func (x fastReflection_GetForecasterScoreEmaResponse_messageType) Zero() protoreflect.Message { + return (*fastReflection_GetForecasterScoreEmaResponse)(nil) +} +func (x fastReflection_GetForecasterScoreEmaResponse_messageType) New() protoreflect.Message { + return new(fastReflection_GetForecasterScoreEmaResponse) +} +func (x fastReflection_GetForecasterScoreEmaResponse_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_GetForecasterScoreEmaResponse +} + +// Descriptor returns message descriptor, which contains only the protobuf +// type information for the message. +func (x *fastReflection_GetForecasterScoreEmaResponse) Descriptor() protoreflect.MessageDescriptor { + return md_GetForecasterScoreEmaResponse +} + +// Type returns the message type, which encapsulates both Go and protobuf +// type information. If the Go type information is not needed, +// it is recommended that the message descriptor be used instead. +func (x *fastReflection_GetForecasterScoreEmaResponse) Type() protoreflect.MessageType { + return _fastReflection_GetForecasterScoreEmaResponse_messageType +} + +// New returns a newly allocated and mutable empty message. +func (x *fastReflection_GetForecasterScoreEmaResponse) New() protoreflect.Message { + return new(fastReflection_GetForecasterScoreEmaResponse) +} + +// Interface unwraps the message reflection interface and +// returns the underlying ProtoMessage interface. +func (x *fastReflection_GetForecasterScoreEmaResponse) Interface() protoreflect.ProtoMessage { + return (*GetForecasterScoreEmaResponse)(x) +} + +// Range iterates over every populated field in an undefined order, +// calling f for each field descriptor and value encountered. +// Range returns immediately if f returns false. +// While iterating, mutating operations may only be performed +// on the current field descriptor. +func (x *fastReflection_GetForecasterScoreEmaResponse) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { + if x.Score != nil { + value := protoreflect.ValueOfMessage(x.Score.ProtoReflect()) + if !f(fd_GetForecasterScoreEmaResponse_score, value) { + return + } + } +} + +// Has reports whether a field is populated. +// +// Some fields have the property of nullability where it is possible to +// distinguish between the default value of a field and whether the field +// was explicitly populated with the default value. Singular message fields, +// member fields of a oneof, and proto2 scalar fields are nullable. Such +// fields are populated only if explicitly set. +// +// In other cases (aside from the nullable cases above), +// a proto3 scalar field is populated if it contains a non-zero value, and +// a repeated field is populated if it is non-empty. +func (x *fastReflection_GetForecasterScoreEmaResponse) Has(fd protoreflect.FieldDescriptor) bool { + switch fd.FullName() { + case "emissions.v8.GetForecasterScoreEmaResponse.score": + return x.Score != nil + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetForecasterScoreEmaResponse")) + } + panic(fmt.Errorf("message emissions.v8.GetForecasterScoreEmaResponse does not contain field %s", fd.FullName())) + } +} + +// Clear clears the field such that a subsequent Has call reports false. +// +// Clearing an extension field clears both the extension type and value +// associated with the given field number. +// +// Clear is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetForecasterScoreEmaResponse) Clear(fd protoreflect.FieldDescriptor) { + switch fd.FullName() { + case "emissions.v8.GetForecasterScoreEmaResponse.score": + x.Score = nil + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetForecasterScoreEmaResponse")) + } + panic(fmt.Errorf("message emissions.v8.GetForecasterScoreEmaResponse does not contain field %s", fd.FullName())) + } +} + +// Get retrieves the value for a field. +// +// For unpopulated scalars, it returns the default value, where +// the default value of a bytes scalar is guaranteed to be a copy. +// For unpopulated composite types, it returns an empty, read-only view +// of the value; to obtain a mutable reference, use Mutable. +func (x *fastReflection_GetForecasterScoreEmaResponse) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { + switch descriptor.FullName() { + case "emissions.v8.GetForecasterScoreEmaResponse.score": + value := x.Score + return protoreflect.ValueOfMessage(value.ProtoReflect()) + default: + if descriptor.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetForecasterScoreEmaResponse")) + } + panic(fmt.Errorf("message emissions.v8.GetForecasterScoreEmaResponse does not contain field %s", descriptor.FullName())) + } +} + +// Set stores the value for a field. +// +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType. +// When setting a composite type, it is unspecified whether the stored value +// aliases the source's memory in any way. If the composite value is an +// empty, read-only value, then it panics. +// +// Set is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetForecasterScoreEmaResponse) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { + switch fd.FullName() { + case "emissions.v8.GetForecasterScoreEmaResponse.score": + x.Score = value.Message().Interface().(*v3.Score) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetForecasterScoreEmaResponse")) + } + panic(fmt.Errorf("message emissions.v8.GetForecasterScoreEmaResponse does not contain field %s", fd.FullName())) + } +} + +// Mutable returns a mutable reference to a composite type. +// +// If the field is unpopulated, it may allocate a composite value. +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType +// if not already stored. +// It panics if the field does not contain a composite type. +// +// Mutable is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetForecasterScoreEmaResponse) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.GetForecasterScoreEmaResponse.score": + if x.Score == nil { + x.Score = new(v3.Score) + } + return protoreflect.ValueOfMessage(x.Score.ProtoReflect()) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetForecasterScoreEmaResponse")) + } + panic(fmt.Errorf("message emissions.v8.GetForecasterScoreEmaResponse does not contain field %s", fd.FullName())) + } +} + +// NewField returns a new value that is assignable to the field +// for the given descriptor. For scalars, this returns the default value. +// For lists, maps, and messages, this returns a new, empty, mutable value. +func (x *fastReflection_GetForecasterScoreEmaResponse) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.GetForecasterScoreEmaResponse.score": + m := new(v3.Score) + return protoreflect.ValueOfMessage(m.ProtoReflect()) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetForecasterScoreEmaResponse")) + } + panic(fmt.Errorf("message emissions.v8.GetForecasterScoreEmaResponse does not contain field %s", fd.FullName())) + } +} + +// WhichOneof reports which field within the oneof is populated, +// returning nil if none are populated. +// It panics if the oneof descriptor does not belong to this message. +func (x *fastReflection_GetForecasterScoreEmaResponse) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { + switch d.FullName() { + default: + panic(fmt.Errorf("%s is not a oneof field in emissions.v8.GetForecasterScoreEmaResponse", d.FullName())) + } + panic("unreachable") +} + +// GetUnknown retrieves the entire list of unknown fields. +// The caller may only mutate the contents of the RawFields +// if the mutated bytes are stored back into the message with SetUnknown. +func (x *fastReflection_GetForecasterScoreEmaResponse) GetUnknown() protoreflect.RawFields { + return x.unknownFields +} + +// SetUnknown stores an entire list of unknown fields. +// The raw fields must be syntactically valid according to the wire format. +// An implementation may panic if this is not the case. +// Once stored, the caller must not mutate the content of the RawFields. +// An empty RawFields may be passed to clear the fields. +// +// SetUnknown is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetForecasterScoreEmaResponse) SetUnknown(fields protoreflect.RawFields) { + x.unknownFields = fields +} + +// IsValid reports whether the message is valid. +// +// An invalid message is an empty, read-only value. +// +// An invalid message often corresponds to a nil pointer of the concrete +// message type, but the details are implementation dependent. +// Validity is not part of the protobuf data model, and may not +// be preserved in marshaling or other operations. +func (x *fastReflection_GetForecasterScoreEmaResponse) IsValid() bool { + return x != nil +} + +// ProtoMethods returns optional fastReflectionFeature-path implementations of various operations. +// This method may return nil. +// +// The returned methods type is identical to +// "google.golang.org/protobuf/runtime/protoiface".Methods. +// Consult the protoiface package documentation for details. +func (x *fastReflection_GetForecasterScoreEmaResponse) ProtoMethods() *protoiface.Methods { + size := func(input protoiface.SizeInput) protoiface.SizeOutput { + x := input.Message.Interface().(*GetForecasterScoreEmaResponse) + if x == nil { + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: 0, + } + } + options := runtime.SizeInputToOptions(input) + _ = options + var n int + var l int + _ = l + if x.Score != nil { + l = options.Size(x.Score) + n += 1 + l + runtime.Sov(uint64(l)) + } + if x.unknownFields != nil { + n += len(x.unknownFields) + } + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: n, + } + } + + marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { + x := input.Message.Interface().(*GetForecasterScoreEmaResponse) + if x == nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + options := runtime.MarshalInputToOptions(input) + _ = options + size := options.Size(x) + dAtA := make([]byte, size) + i := len(dAtA) + _ = i + var l int + _ = l + if x.unknownFields != nil { + i -= len(x.unknownFields) + copy(dAtA[i:], x.unknownFields) + } + if x.Score != nil { + encoded, err := options.Marshal(x.Score) + if err != nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = runtime.EncodeVarint(dAtA, i, uint64(len(encoded))) + i-- + dAtA[i] = 0xa + } + if input.Buf != nil { + input.Buf = append(input.Buf, dAtA...) + } else { + input.Buf = dAtA + } + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { + x := input.Message.Interface().(*GetForecasterScoreEmaResponse) + if x == nil { + return protoiface.UnmarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Flags: input.Flags, + }, nil + } + options := runtime.UnmarshalInputToOptions(input) + _ = options + dAtA := input.Buf + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: GetForecasterScoreEmaResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: GetForecasterScoreEmaResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Score", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + if x.Score == nil { + x.Score = &v3.Score{} + } + if err := options.Unmarshal(dAtA[iNdEx:postIndex], x.Score); err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := runtime.Skip(dAtA[iNdEx:]) + if err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if (iNdEx + skippy) > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + if !options.DiscardUnknown { + x.unknownFields = append(x.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + } + iNdEx += skippy + } + } + + if iNdEx > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, nil + } + return &protoiface.Methods{ + NoUnkeyedLiterals: struct{}{}, + Flags: protoiface.SupportMarshalDeterministic | protoiface.SupportUnmarshalDiscardUnknown, + Size: size, + Marshal: marshal, + Unmarshal: unmarshal, + Merge: nil, + CheckInitialized: nil, + } +} + +var ( + md_GetReputerScoreEmaRequest protoreflect.MessageDescriptor + fd_GetReputerScoreEmaRequest_topic_id protoreflect.FieldDescriptor + fd_GetReputerScoreEmaRequest_reputer protoreflect.FieldDescriptor +) + +func init() { + file_emissions_v8_query_proto_init() + md_GetReputerScoreEmaRequest = File_emissions_v8_query_proto.Messages().ByName("GetReputerScoreEmaRequest") + fd_GetReputerScoreEmaRequest_topic_id = md_GetReputerScoreEmaRequest.Fields().ByName("topic_id") + fd_GetReputerScoreEmaRequest_reputer = md_GetReputerScoreEmaRequest.Fields().ByName("reputer") +} + +var _ protoreflect.Message = (*fastReflection_GetReputerScoreEmaRequest)(nil) + +type fastReflection_GetReputerScoreEmaRequest GetReputerScoreEmaRequest + +func (x *GetReputerScoreEmaRequest) ProtoReflect() protoreflect.Message { + return (*fastReflection_GetReputerScoreEmaRequest)(x) +} + +func (x *GetReputerScoreEmaRequest) slowProtoReflect() protoreflect.Message { + mi := &file_emissions_v8_query_proto_msgTypes[160] + 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) +} + +var _fastReflection_GetReputerScoreEmaRequest_messageType fastReflection_GetReputerScoreEmaRequest_messageType +var _ protoreflect.MessageType = fastReflection_GetReputerScoreEmaRequest_messageType{} + +type fastReflection_GetReputerScoreEmaRequest_messageType struct{} + +func (x fastReflection_GetReputerScoreEmaRequest_messageType) Zero() protoreflect.Message { + return (*fastReflection_GetReputerScoreEmaRequest)(nil) +} +func (x fastReflection_GetReputerScoreEmaRequest_messageType) New() protoreflect.Message { + return new(fastReflection_GetReputerScoreEmaRequest) +} +func (x fastReflection_GetReputerScoreEmaRequest_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_GetReputerScoreEmaRequest +} + +// Descriptor returns message descriptor, which contains only the protobuf +// type information for the message. +func (x *fastReflection_GetReputerScoreEmaRequest) Descriptor() protoreflect.MessageDescriptor { + return md_GetReputerScoreEmaRequest +} + +// Type returns the message type, which encapsulates both Go and protobuf +// type information. If the Go type information is not needed, +// it is recommended that the message descriptor be used instead. +func (x *fastReflection_GetReputerScoreEmaRequest) Type() protoreflect.MessageType { + return _fastReflection_GetReputerScoreEmaRequest_messageType +} + +// New returns a newly allocated and mutable empty message. +func (x *fastReflection_GetReputerScoreEmaRequest) New() protoreflect.Message { + return new(fastReflection_GetReputerScoreEmaRequest) +} + +// Interface unwraps the message reflection interface and +// returns the underlying ProtoMessage interface. +func (x *fastReflection_GetReputerScoreEmaRequest) Interface() protoreflect.ProtoMessage { + return (*GetReputerScoreEmaRequest)(x) +} + +// Range iterates over every populated field in an undefined order, +// calling f for each field descriptor and value encountered. +// Range returns immediately if f returns false. +// While iterating, mutating operations may only be performed +// on the current field descriptor. +func (x *fastReflection_GetReputerScoreEmaRequest) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { + if x.TopicId != uint64(0) { + value := protoreflect.ValueOfUint64(x.TopicId) + if !f(fd_GetReputerScoreEmaRequest_topic_id, value) { + return + } + } + if x.Reputer != "" { + value := protoreflect.ValueOfString(x.Reputer) + if !f(fd_GetReputerScoreEmaRequest_reputer, value) { + return + } + } +} + +// Has reports whether a field is populated. +// +// Some fields have the property of nullability where it is possible to +// distinguish between the default value of a field and whether the field +// was explicitly populated with the default value. Singular message fields, +// member fields of a oneof, and proto2 scalar fields are nullable. Such +// fields are populated only if explicitly set. +// +// In other cases (aside from the nullable cases above), +// a proto3 scalar field is populated if it contains a non-zero value, and +// a repeated field is populated if it is non-empty. +func (x *fastReflection_GetReputerScoreEmaRequest) Has(fd protoreflect.FieldDescriptor) bool { + switch fd.FullName() { + case "emissions.v8.GetReputerScoreEmaRequest.topic_id": + return x.TopicId != uint64(0) + case "emissions.v8.GetReputerScoreEmaRequest.reputer": + return x.Reputer != "" + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetReputerScoreEmaRequest")) + } + panic(fmt.Errorf("message emissions.v8.GetReputerScoreEmaRequest does not contain field %s", fd.FullName())) + } +} + +// Clear clears the field such that a subsequent Has call reports false. +// +// Clearing an extension field clears both the extension type and value +// associated with the given field number. +// +// Clear is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetReputerScoreEmaRequest) Clear(fd protoreflect.FieldDescriptor) { + switch fd.FullName() { + case "emissions.v8.GetReputerScoreEmaRequest.topic_id": + x.TopicId = uint64(0) + case "emissions.v8.GetReputerScoreEmaRequest.reputer": + x.Reputer = "" + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetReputerScoreEmaRequest")) + } + panic(fmt.Errorf("message emissions.v8.GetReputerScoreEmaRequest does not contain field %s", fd.FullName())) + } +} + +// Get retrieves the value for a field. +// +// For unpopulated scalars, it returns the default value, where +// the default value of a bytes scalar is guaranteed to be a copy. +// For unpopulated composite types, it returns an empty, read-only view +// of the value; to obtain a mutable reference, use Mutable. +func (x *fastReflection_GetReputerScoreEmaRequest) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { + switch descriptor.FullName() { + case "emissions.v8.GetReputerScoreEmaRequest.topic_id": + value := x.TopicId + return protoreflect.ValueOfUint64(value) + case "emissions.v8.GetReputerScoreEmaRequest.reputer": + value := x.Reputer + return protoreflect.ValueOfString(value) + default: + if descriptor.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetReputerScoreEmaRequest")) + } + panic(fmt.Errorf("message emissions.v8.GetReputerScoreEmaRequest does not contain field %s", descriptor.FullName())) + } +} + +// Set stores the value for a field. +// +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType. +// When setting a composite type, it is unspecified whether the stored value +// aliases the source's memory in any way. If the composite value is an +// empty, read-only value, then it panics. +// +// Set is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetReputerScoreEmaRequest) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { + switch fd.FullName() { + case "emissions.v8.GetReputerScoreEmaRequest.topic_id": + x.TopicId = value.Uint() + case "emissions.v8.GetReputerScoreEmaRequest.reputer": + x.Reputer = value.Interface().(string) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetReputerScoreEmaRequest")) + } + panic(fmt.Errorf("message emissions.v8.GetReputerScoreEmaRequest does not contain field %s", fd.FullName())) + } +} + +// Mutable returns a mutable reference to a composite type. +// +// If the field is unpopulated, it may allocate a composite value. +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType +// if not already stored. +// It panics if the field does not contain a composite type. +// +// Mutable is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetReputerScoreEmaRequest) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.GetReputerScoreEmaRequest.topic_id": + panic(fmt.Errorf("field topic_id of message emissions.v8.GetReputerScoreEmaRequest is not mutable")) + case "emissions.v8.GetReputerScoreEmaRequest.reputer": + panic(fmt.Errorf("field reputer of message emissions.v8.GetReputerScoreEmaRequest is not mutable")) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetReputerScoreEmaRequest")) + } + panic(fmt.Errorf("message emissions.v8.GetReputerScoreEmaRequest does not contain field %s", fd.FullName())) + } +} + +// NewField returns a new value that is assignable to the field +// for the given descriptor. For scalars, this returns the default value. +// For lists, maps, and messages, this returns a new, empty, mutable value. +func (x *fastReflection_GetReputerScoreEmaRequest) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.GetReputerScoreEmaRequest.topic_id": + return protoreflect.ValueOfUint64(uint64(0)) + case "emissions.v8.GetReputerScoreEmaRequest.reputer": + return protoreflect.ValueOfString("") + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetReputerScoreEmaRequest")) + } + panic(fmt.Errorf("message emissions.v8.GetReputerScoreEmaRequest does not contain field %s", fd.FullName())) + } +} + +// WhichOneof reports which field within the oneof is populated, +// returning nil if none are populated. +// It panics if the oneof descriptor does not belong to this message. +func (x *fastReflection_GetReputerScoreEmaRequest) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { + switch d.FullName() { + default: + panic(fmt.Errorf("%s is not a oneof field in emissions.v8.GetReputerScoreEmaRequest", d.FullName())) + } + panic("unreachable") +} + +// GetUnknown retrieves the entire list of unknown fields. +// The caller may only mutate the contents of the RawFields +// if the mutated bytes are stored back into the message with SetUnknown. +func (x *fastReflection_GetReputerScoreEmaRequest) GetUnknown() protoreflect.RawFields { + return x.unknownFields +} + +// SetUnknown stores an entire list of unknown fields. +// The raw fields must be syntactically valid according to the wire format. +// An implementation may panic if this is not the case. +// Once stored, the caller must not mutate the content of the RawFields. +// An empty RawFields may be passed to clear the fields. +// +// SetUnknown is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetReputerScoreEmaRequest) SetUnknown(fields protoreflect.RawFields) { + x.unknownFields = fields +} + +// IsValid reports whether the message is valid. +// +// An invalid message is an empty, read-only value. +// +// An invalid message often corresponds to a nil pointer of the concrete +// message type, but the details are implementation dependent. +// Validity is not part of the protobuf data model, and may not +// be preserved in marshaling or other operations. +func (x *fastReflection_GetReputerScoreEmaRequest) IsValid() bool { + return x != nil +} + +// ProtoMethods returns optional fastReflectionFeature-path implementations of various operations. +// This method may return nil. +// +// The returned methods type is identical to +// "google.golang.org/protobuf/runtime/protoiface".Methods. +// Consult the protoiface package documentation for details. +func (x *fastReflection_GetReputerScoreEmaRequest) ProtoMethods() *protoiface.Methods { + size := func(input protoiface.SizeInput) protoiface.SizeOutput { + x := input.Message.Interface().(*GetReputerScoreEmaRequest) + if x == nil { + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: 0, + } + } + options := runtime.SizeInputToOptions(input) + _ = options + var n int + var l int + _ = l + if x.TopicId != 0 { + n += 1 + runtime.Sov(uint64(x.TopicId)) + } + l = len(x.Reputer) + if l > 0 { + n += 1 + l + runtime.Sov(uint64(l)) + } + if x.unknownFields != nil { + n += len(x.unknownFields) + } + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: n, + } + } + + marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { + x := input.Message.Interface().(*GetReputerScoreEmaRequest) + if x == nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + options := runtime.MarshalInputToOptions(input) + _ = options + size := options.Size(x) + dAtA := make([]byte, size) + i := len(dAtA) + _ = i + var l int + _ = l + if x.unknownFields != nil { + i -= len(x.unknownFields) + copy(dAtA[i:], x.unknownFields) + } + if len(x.Reputer) > 0 { + i -= len(x.Reputer) + copy(dAtA[i:], x.Reputer) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.Reputer))) + i-- + dAtA[i] = 0x12 + } + if x.TopicId != 0 { + i = runtime.EncodeVarint(dAtA, i, uint64(x.TopicId)) + i-- + dAtA[i] = 0x8 + } + if input.Buf != nil { + input.Buf = append(input.Buf, dAtA...) + } else { + input.Buf = dAtA + } + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { + x := input.Message.Interface().(*GetReputerScoreEmaRequest) + if x == nil { + return protoiface.UnmarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Flags: input.Flags, + }, nil + } + options := runtime.UnmarshalInputToOptions(input) + _ = options + dAtA := input.Buf + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: GetReputerScoreEmaRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: GetReputerScoreEmaRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field TopicId", wireType) + } + x.TopicId = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + x.TopicId |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 2: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Reputer", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + x.Reputer = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := runtime.Skip(dAtA[iNdEx:]) + if err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if (iNdEx + skippy) > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + if !options.DiscardUnknown { + x.unknownFields = append(x.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + } + iNdEx += skippy + } + } + + if iNdEx > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, nil + } + return &protoiface.Methods{ + NoUnkeyedLiterals: struct{}{}, + Flags: protoiface.SupportMarshalDeterministic | protoiface.SupportUnmarshalDiscardUnknown, + Size: size, + Marshal: marshal, + Unmarshal: unmarshal, + Merge: nil, + CheckInitialized: nil, + } +} + +var ( + md_GetReputerScoreEmaResponse protoreflect.MessageDescriptor + fd_GetReputerScoreEmaResponse_score protoreflect.FieldDescriptor +) + +func init() { + file_emissions_v8_query_proto_init() + md_GetReputerScoreEmaResponse = File_emissions_v8_query_proto.Messages().ByName("GetReputerScoreEmaResponse") + fd_GetReputerScoreEmaResponse_score = md_GetReputerScoreEmaResponse.Fields().ByName("score") +} + +var _ protoreflect.Message = (*fastReflection_GetReputerScoreEmaResponse)(nil) + +type fastReflection_GetReputerScoreEmaResponse GetReputerScoreEmaResponse + +func (x *GetReputerScoreEmaResponse) ProtoReflect() protoreflect.Message { + return (*fastReflection_GetReputerScoreEmaResponse)(x) +} + +func (x *GetReputerScoreEmaResponse) slowProtoReflect() protoreflect.Message { + mi := &file_emissions_v8_query_proto_msgTypes[161] + 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) +} + +var _fastReflection_GetReputerScoreEmaResponse_messageType fastReflection_GetReputerScoreEmaResponse_messageType +var _ protoreflect.MessageType = fastReflection_GetReputerScoreEmaResponse_messageType{} + +type fastReflection_GetReputerScoreEmaResponse_messageType struct{} + +func (x fastReflection_GetReputerScoreEmaResponse_messageType) Zero() protoreflect.Message { + return (*fastReflection_GetReputerScoreEmaResponse)(nil) +} +func (x fastReflection_GetReputerScoreEmaResponse_messageType) New() protoreflect.Message { + return new(fastReflection_GetReputerScoreEmaResponse) +} +func (x fastReflection_GetReputerScoreEmaResponse_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_GetReputerScoreEmaResponse +} + +// Descriptor returns message descriptor, which contains only the protobuf +// type information for the message. +func (x *fastReflection_GetReputerScoreEmaResponse) Descriptor() protoreflect.MessageDescriptor { + return md_GetReputerScoreEmaResponse +} + +// Type returns the message type, which encapsulates both Go and protobuf +// type information. If the Go type information is not needed, +// it is recommended that the message descriptor be used instead. +func (x *fastReflection_GetReputerScoreEmaResponse) Type() protoreflect.MessageType { + return _fastReflection_GetReputerScoreEmaResponse_messageType +} + +// New returns a newly allocated and mutable empty message. +func (x *fastReflection_GetReputerScoreEmaResponse) New() protoreflect.Message { + return new(fastReflection_GetReputerScoreEmaResponse) +} + +// Interface unwraps the message reflection interface and +// returns the underlying ProtoMessage interface. +func (x *fastReflection_GetReputerScoreEmaResponse) Interface() protoreflect.ProtoMessage { + return (*GetReputerScoreEmaResponse)(x) +} + +// Range iterates over every populated field in an undefined order, +// calling f for each field descriptor and value encountered. +// Range returns immediately if f returns false. +// While iterating, mutating operations may only be performed +// on the current field descriptor. +func (x *fastReflection_GetReputerScoreEmaResponse) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { + if x.Score != nil { + value := protoreflect.ValueOfMessage(x.Score.ProtoReflect()) + if !f(fd_GetReputerScoreEmaResponse_score, value) { + return + } + } +} + +// Has reports whether a field is populated. +// +// Some fields have the property of nullability where it is possible to +// distinguish between the default value of a field and whether the field +// was explicitly populated with the default value. Singular message fields, +// member fields of a oneof, and proto2 scalar fields are nullable. Such +// fields are populated only if explicitly set. +// +// In other cases (aside from the nullable cases above), +// a proto3 scalar field is populated if it contains a non-zero value, and +// a repeated field is populated if it is non-empty. +func (x *fastReflection_GetReputerScoreEmaResponse) Has(fd protoreflect.FieldDescriptor) bool { + switch fd.FullName() { + case "emissions.v8.GetReputerScoreEmaResponse.score": + return x.Score != nil + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetReputerScoreEmaResponse")) + } + panic(fmt.Errorf("message emissions.v8.GetReputerScoreEmaResponse does not contain field %s", fd.FullName())) + } +} + +// Clear clears the field such that a subsequent Has call reports false. +// +// Clearing an extension field clears both the extension type and value +// associated with the given field number. +// +// Clear is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetReputerScoreEmaResponse) Clear(fd protoreflect.FieldDescriptor) { + switch fd.FullName() { + case "emissions.v8.GetReputerScoreEmaResponse.score": + x.Score = nil + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetReputerScoreEmaResponse")) + } + panic(fmt.Errorf("message emissions.v8.GetReputerScoreEmaResponse does not contain field %s", fd.FullName())) + } +} + +// Get retrieves the value for a field. +// +// For unpopulated scalars, it returns the default value, where +// the default value of a bytes scalar is guaranteed to be a copy. +// For unpopulated composite types, it returns an empty, read-only view +// of the value; to obtain a mutable reference, use Mutable. +func (x *fastReflection_GetReputerScoreEmaResponse) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { + switch descriptor.FullName() { + case "emissions.v8.GetReputerScoreEmaResponse.score": + value := x.Score + return protoreflect.ValueOfMessage(value.ProtoReflect()) + default: + if descriptor.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetReputerScoreEmaResponse")) + } + panic(fmt.Errorf("message emissions.v8.GetReputerScoreEmaResponse does not contain field %s", descriptor.FullName())) + } +} + +// Set stores the value for a field. +// +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType. +// When setting a composite type, it is unspecified whether the stored value +// aliases the source's memory in any way. If the composite value is an +// empty, read-only value, then it panics. +// +// Set is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetReputerScoreEmaResponse) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { + switch fd.FullName() { + case "emissions.v8.GetReputerScoreEmaResponse.score": + x.Score = value.Message().Interface().(*v3.Score) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetReputerScoreEmaResponse")) + } + panic(fmt.Errorf("message emissions.v8.GetReputerScoreEmaResponse does not contain field %s", fd.FullName())) + } +} + +// Mutable returns a mutable reference to a composite type. +// +// If the field is unpopulated, it may allocate a composite value. +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType +// if not already stored. +// It panics if the field does not contain a composite type. +// +// Mutable is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetReputerScoreEmaResponse) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.GetReputerScoreEmaResponse.score": + if x.Score == nil { + x.Score = new(v3.Score) + } + return protoreflect.ValueOfMessage(x.Score.ProtoReflect()) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetReputerScoreEmaResponse")) + } + panic(fmt.Errorf("message emissions.v8.GetReputerScoreEmaResponse does not contain field %s", fd.FullName())) + } +} + +// NewField returns a new value that is assignable to the field +// for the given descriptor. For scalars, this returns the default value. +// For lists, maps, and messages, this returns a new, empty, mutable value. +func (x *fastReflection_GetReputerScoreEmaResponse) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.GetReputerScoreEmaResponse.score": + m := new(v3.Score) + return protoreflect.ValueOfMessage(m.ProtoReflect()) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetReputerScoreEmaResponse")) + } + panic(fmt.Errorf("message emissions.v8.GetReputerScoreEmaResponse does not contain field %s", fd.FullName())) + } +} + +// WhichOneof reports which field within the oneof is populated, +// returning nil if none are populated. +// It panics if the oneof descriptor does not belong to this message. +func (x *fastReflection_GetReputerScoreEmaResponse) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { + switch d.FullName() { + default: + panic(fmt.Errorf("%s is not a oneof field in emissions.v8.GetReputerScoreEmaResponse", d.FullName())) + } + panic("unreachable") +} + +// GetUnknown retrieves the entire list of unknown fields. +// The caller may only mutate the contents of the RawFields +// if the mutated bytes are stored back into the message with SetUnknown. +func (x *fastReflection_GetReputerScoreEmaResponse) GetUnknown() protoreflect.RawFields { + return x.unknownFields +} + +// SetUnknown stores an entire list of unknown fields. +// The raw fields must be syntactically valid according to the wire format. +// An implementation may panic if this is not the case. +// Once stored, the caller must not mutate the content of the RawFields. +// An empty RawFields may be passed to clear the fields. +// +// SetUnknown is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetReputerScoreEmaResponse) SetUnknown(fields protoreflect.RawFields) { + x.unknownFields = fields +} + +// IsValid reports whether the message is valid. +// +// An invalid message is an empty, read-only value. +// +// An invalid message often corresponds to a nil pointer of the concrete +// message type, but the details are implementation dependent. +// Validity is not part of the protobuf data model, and may not +// be preserved in marshaling or other operations. +func (x *fastReflection_GetReputerScoreEmaResponse) IsValid() bool { + return x != nil +} + +// ProtoMethods returns optional fastReflectionFeature-path implementations of various operations. +// This method may return nil. +// +// The returned methods type is identical to +// "google.golang.org/protobuf/runtime/protoiface".Methods. +// Consult the protoiface package documentation for details. +func (x *fastReflection_GetReputerScoreEmaResponse) ProtoMethods() *protoiface.Methods { + size := func(input protoiface.SizeInput) protoiface.SizeOutput { + x := input.Message.Interface().(*GetReputerScoreEmaResponse) + if x == nil { + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: 0, + } + } + options := runtime.SizeInputToOptions(input) + _ = options + var n int + var l int + _ = l + if x.Score != nil { + l = options.Size(x.Score) + n += 1 + l + runtime.Sov(uint64(l)) + } + if x.unknownFields != nil { + n += len(x.unknownFields) + } + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: n, + } + } + + marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { + x := input.Message.Interface().(*GetReputerScoreEmaResponse) + if x == nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + options := runtime.MarshalInputToOptions(input) + _ = options + size := options.Size(x) + dAtA := make([]byte, size) + i := len(dAtA) + _ = i + var l int + _ = l + if x.unknownFields != nil { + i -= len(x.unknownFields) + copy(dAtA[i:], x.unknownFields) + } + if x.Score != nil { + encoded, err := options.Marshal(x.Score) + if err != nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = runtime.EncodeVarint(dAtA, i, uint64(len(encoded))) + i-- + dAtA[i] = 0xa + } + if input.Buf != nil { + input.Buf = append(input.Buf, dAtA...) + } else { + input.Buf = dAtA + } + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { + x := input.Message.Interface().(*GetReputerScoreEmaResponse) + if x == nil { + return protoiface.UnmarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Flags: input.Flags, + }, nil + } + options := runtime.UnmarshalInputToOptions(input) + _ = options + dAtA := input.Buf + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: GetReputerScoreEmaResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: GetReputerScoreEmaResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Score", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + if x.Score == nil { + x.Score = &v3.Score{} + } + if err := options.Unmarshal(dAtA[iNdEx:postIndex], x.Score); err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := runtime.Skip(dAtA[iNdEx:]) + if err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if (iNdEx + skippy) > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + if !options.DiscardUnknown { + x.unknownFields = append(x.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + } + iNdEx += skippy + } + } + + if iNdEx > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, nil + } + return &protoiface.Methods{ + NoUnkeyedLiterals: struct{}{}, + Flags: protoiface.SupportMarshalDeterministic | protoiface.SupportUnmarshalDiscardUnknown, + Size: size, + Marshal: marshal, + Unmarshal: unmarshal, + Merge: nil, + CheckInitialized: nil, + } +} + +var ( + md_GetInferenceScoresUntilBlockRequest protoreflect.MessageDescriptor + fd_GetInferenceScoresUntilBlockRequest_topic_id protoreflect.FieldDescriptor + fd_GetInferenceScoresUntilBlockRequest_block_height protoreflect.FieldDescriptor +) + +func init() { + file_emissions_v8_query_proto_init() + md_GetInferenceScoresUntilBlockRequest = File_emissions_v8_query_proto.Messages().ByName("GetInferenceScoresUntilBlockRequest") + fd_GetInferenceScoresUntilBlockRequest_topic_id = md_GetInferenceScoresUntilBlockRequest.Fields().ByName("topic_id") + fd_GetInferenceScoresUntilBlockRequest_block_height = md_GetInferenceScoresUntilBlockRequest.Fields().ByName("block_height") +} + +var _ protoreflect.Message = (*fastReflection_GetInferenceScoresUntilBlockRequest)(nil) + +type fastReflection_GetInferenceScoresUntilBlockRequest GetInferenceScoresUntilBlockRequest + +func (x *GetInferenceScoresUntilBlockRequest) ProtoReflect() protoreflect.Message { + return (*fastReflection_GetInferenceScoresUntilBlockRequest)(x) +} + +func (x *GetInferenceScoresUntilBlockRequest) slowProtoReflect() protoreflect.Message { + mi := &file_emissions_v8_query_proto_msgTypes[162] + 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) +} + +var _fastReflection_GetInferenceScoresUntilBlockRequest_messageType fastReflection_GetInferenceScoresUntilBlockRequest_messageType +var _ protoreflect.MessageType = fastReflection_GetInferenceScoresUntilBlockRequest_messageType{} + +type fastReflection_GetInferenceScoresUntilBlockRequest_messageType struct{} + +func (x fastReflection_GetInferenceScoresUntilBlockRequest_messageType) Zero() protoreflect.Message { + return (*fastReflection_GetInferenceScoresUntilBlockRequest)(nil) +} +func (x fastReflection_GetInferenceScoresUntilBlockRequest_messageType) New() protoreflect.Message { + return new(fastReflection_GetInferenceScoresUntilBlockRequest) +} +func (x fastReflection_GetInferenceScoresUntilBlockRequest_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_GetInferenceScoresUntilBlockRequest +} + +// Descriptor returns message descriptor, which contains only the protobuf +// type information for the message. +func (x *fastReflection_GetInferenceScoresUntilBlockRequest) Descriptor() protoreflect.MessageDescriptor { + return md_GetInferenceScoresUntilBlockRequest +} + +// Type returns the message type, which encapsulates both Go and protobuf +// type information. If the Go type information is not needed, +// it is recommended that the message descriptor be used instead. +func (x *fastReflection_GetInferenceScoresUntilBlockRequest) Type() protoreflect.MessageType { + return _fastReflection_GetInferenceScoresUntilBlockRequest_messageType +} + +// New returns a newly allocated and mutable empty message. +func (x *fastReflection_GetInferenceScoresUntilBlockRequest) New() protoreflect.Message { + return new(fastReflection_GetInferenceScoresUntilBlockRequest) +} + +// Interface unwraps the message reflection interface and +// returns the underlying ProtoMessage interface. +func (x *fastReflection_GetInferenceScoresUntilBlockRequest) Interface() protoreflect.ProtoMessage { + return (*GetInferenceScoresUntilBlockRequest)(x) +} + +// Range iterates over every populated field in an undefined order, +// calling f for each field descriptor and value encountered. +// Range returns immediately if f returns false. +// While iterating, mutating operations may only be performed +// on the current field descriptor. +func (x *fastReflection_GetInferenceScoresUntilBlockRequest) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { + if x.TopicId != uint64(0) { + value := protoreflect.ValueOfUint64(x.TopicId) + if !f(fd_GetInferenceScoresUntilBlockRequest_topic_id, value) { + return + } + } + if x.BlockHeight != int64(0) { + value := protoreflect.ValueOfInt64(x.BlockHeight) + if !f(fd_GetInferenceScoresUntilBlockRequest_block_height, value) { + return + } + } +} + +// Has reports whether a field is populated. +// +// Some fields have the property of nullability where it is possible to +// distinguish between the default value of a field and whether the field +// was explicitly populated with the default value. Singular message fields, +// member fields of a oneof, and proto2 scalar fields are nullable. Such +// fields are populated only if explicitly set. +// +// In other cases (aside from the nullable cases above), +// a proto3 scalar field is populated if it contains a non-zero value, and +// a repeated field is populated if it is non-empty. +func (x *fastReflection_GetInferenceScoresUntilBlockRequest) Has(fd protoreflect.FieldDescriptor) bool { + switch fd.FullName() { + case "emissions.v8.GetInferenceScoresUntilBlockRequest.topic_id": + return x.TopicId != uint64(0) + case "emissions.v8.GetInferenceScoresUntilBlockRequest.block_height": + return x.BlockHeight != int64(0) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetInferenceScoresUntilBlockRequest")) + } + panic(fmt.Errorf("message emissions.v8.GetInferenceScoresUntilBlockRequest does not contain field %s", fd.FullName())) + } +} + +// Clear clears the field such that a subsequent Has call reports false. +// +// Clearing an extension field clears both the extension type and value +// associated with the given field number. +// +// Clear is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetInferenceScoresUntilBlockRequest) Clear(fd protoreflect.FieldDescriptor) { + switch fd.FullName() { + case "emissions.v8.GetInferenceScoresUntilBlockRequest.topic_id": + x.TopicId = uint64(0) + case "emissions.v8.GetInferenceScoresUntilBlockRequest.block_height": + x.BlockHeight = int64(0) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetInferenceScoresUntilBlockRequest")) + } + panic(fmt.Errorf("message emissions.v8.GetInferenceScoresUntilBlockRequest does not contain field %s", fd.FullName())) + } +} + +// Get retrieves the value for a field. +// +// For unpopulated scalars, it returns the default value, where +// the default value of a bytes scalar is guaranteed to be a copy. +// For unpopulated composite types, it returns an empty, read-only view +// of the value; to obtain a mutable reference, use Mutable. +func (x *fastReflection_GetInferenceScoresUntilBlockRequest) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { + switch descriptor.FullName() { + case "emissions.v8.GetInferenceScoresUntilBlockRequest.topic_id": + value := x.TopicId + return protoreflect.ValueOfUint64(value) + case "emissions.v8.GetInferenceScoresUntilBlockRequest.block_height": + value := x.BlockHeight + return protoreflect.ValueOfInt64(value) + default: + if descriptor.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetInferenceScoresUntilBlockRequest")) + } + panic(fmt.Errorf("message emissions.v8.GetInferenceScoresUntilBlockRequest does not contain field %s", descriptor.FullName())) + } +} + +// Set stores the value for a field. +// +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType. +// When setting a composite type, it is unspecified whether the stored value +// aliases the source's memory in any way. If the composite value is an +// empty, read-only value, then it panics. +// +// Set is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetInferenceScoresUntilBlockRequest) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { + switch fd.FullName() { + case "emissions.v8.GetInferenceScoresUntilBlockRequest.topic_id": + x.TopicId = value.Uint() + case "emissions.v8.GetInferenceScoresUntilBlockRequest.block_height": + x.BlockHeight = value.Int() + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetInferenceScoresUntilBlockRequest")) + } + panic(fmt.Errorf("message emissions.v8.GetInferenceScoresUntilBlockRequest does not contain field %s", fd.FullName())) + } +} + +// Mutable returns a mutable reference to a composite type. +// +// If the field is unpopulated, it may allocate a composite value. +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType +// if not already stored. +// It panics if the field does not contain a composite type. +// +// Mutable is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetInferenceScoresUntilBlockRequest) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.GetInferenceScoresUntilBlockRequest.topic_id": + panic(fmt.Errorf("field topic_id of message emissions.v8.GetInferenceScoresUntilBlockRequest is not mutable")) + case "emissions.v8.GetInferenceScoresUntilBlockRequest.block_height": + panic(fmt.Errorf("field block_height of message emissions.v8.GetInferenceScoresUntilBlockRequest is not mutable")) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetInferenceScoresUntilBlockRequest")) + } + panic(fmt.Errorf("message emissions.v8.GetInferenceScoresUntilBlockRequest does not contain field %s", fd.FullName())) + } +} + +// NewField returns a new value that is assignable to the field +// for the given descriptor. For scalars, this returns the default value. +// For lists, maps, and messages, this returns a new, empty, mutable value. +func (x *fastReflection_GetInferenceScoresUntilBlockRequest) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.GetInferenceScoresUntilBlockRequest.topic_id": + return protoreflect.ValueOfUint64(uint64(0)) + case "emissions.v8.GetInferenceScoresUntilBlockRequest.block_height": + return protoreflect.ValueOfInt64(int64(0)) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetInferenceScoresUntilBlockRequest")) + } + panic(fmt.Errorf("message emissions.v8.GetInferenceScoresUntilBlockRequest does not contain field %s", fd.FullName())) + } +} + +// WhichOneof reports which field within the oneof is populated, +// returning nil if none are populated. +// It panics if the oneof descriptor does not belong to this message. +func (x *fastReflection_GetInferenceScoresUntilBlockRequest) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { + switch d.FullName() { + default: + panic(fmt.Errorf("%s is not a oneof field in emissions.v8.GetInferenceScoresUntilBlockRequest", d.FullName())) + } + panic("unreachable") +} + +// GetUnknown retrieves the entire list of unknown fields. +// The caller may only mutate the contents of the RawFields +// if the mutated bytes are stored back into the message with SetUnknown. +func (x *fastReflection_GetInferenceScoresUntilBlockRequest) GetUnknown() protoreflect.RawFields { + return x.unknownFields +} + +// SetUnknown stores an entire list of unknown fields. +// The raw fields must be syntactically valid according to the wire format. +// An implementation may panic if this is not the case. +// Once stored, the caller must not mutate the content of the RawFields. +// An empty RawFields may be passed to clear the fields. +// +// SetUnknown is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetInferenceScoresUntilBlockRequest) SetUnknown(fields protoreflect.RawFields) { + x.unknownFields = fields +} + +// IsValid reports whether the message is valid. +// +// An invalid message is an empty, read-only value. +// +// An invalid message often corresponds to a nil pointer of the concrete +// message type, but the details are implementation dependent. +// Validity is not part of the protobuf data model, and may not +// be preserved in marshaling or other operations. +func (x *fastReflection_GetInferenceScoresUntilBlockRequest) IsValid() bool { + return x != nil +} + +// ProtoMethods returns optional fastReflectionFeature-path implementations of various operations. +// This method may return nil. +// +// The returned methods type is identical to +// "google.golang.org/protobuf/runtime/protoiface".Methods. +// Consult the protoiface package documentation for details. +func (x *fastReflection_GetInferenceScoresUntilBlockRequest) ProtoMethods() *protoiface.Methods { + size := func(input protoiface.SizeInput) protoiface.SizeOutput { + x := input.Message.Interface().(*GetInferenceScoresUntilBlockRequest) + if x == nil { + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: 0, + } + } + options := runtime.SizeInputToOptions(input) + _ = options + var n int + var l int + _ = l + if x.TopicId != 0 { + n += 1 + runtime.Sov(uint64(x.TopicId)) + } + if x.BlockHeight != 0 { + n += 1 + runtime.Sov(uint64(x.BlockHeight)) + } + if x.unknownFields != nil { + n += len(x.unknownFields) + } + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: n, + } + } + + marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { + x := input.Message.Interface().(*GetInferenceScoresUntilBlockRequest) + if x == nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + options := runtime.MarshalInputToOptions(input) + _ = options + size := options.Size(x) + dAtA := make([]byte, size) + i := len(dAtA) + _ = i + var l int + _ = l + if x.unknownFields != nil { + i -= len(x.unknownFields) + copy(dAtA[i:], x.unknownFields) + } + if x.BlockHeight != 0 { + i = runtime.EncodeVarint(dAtA, i, uint64(x.BlockHeight)) + i-- + dAtA[i] = 0x10 + } + if x.TopicId != 0 { + i = runtime.EncodeVarint(dAtA, i, uint64(x.TopicId)) + i-- + dAtA[i] = 0x8 + } + if input.Buf != nil { + input.Buf = append(input.Buf, dAtA...) + } else { + input.Buf = dAtA + } + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { + x := input.Message.Interface().(*GetInferenceScoresUntilBlockRequest) + if x == nil { + return protoiface.UnmarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Flags: input.Flags, + }, nil + } + options := runtime.UnmarshalInputToOptions(input) + _ = options + dAtA := input.Buf + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: GetInferenceScoresUntilBlockRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: GetInferenceScoresUntilBlockRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field TopicId", wireType) + } + x.TopicId = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + x.TopicId |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 2: + if wireType != 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field BlockHeight", wireType) + } + x.BlockHeight = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + x.BlockHeight |= int64(b&0x7F) << shift + if b < 0x80 { + break + } + } + default: + iNdEx = preIndex + skippy, err := runtime.Skip(dAtA[iNdEx:]) + if err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if (iNdEx + skippy) > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + if !options.DiscardUnknown { + x.unknownFields = append(x.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + } + iNdEx += skippy + } + } + + if iNdEx > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, nil + } + return &protoiface.Methods{ + NoUnkeyedLiterals: struct{}{}, + Flags: protoiface.SupportMarshalDeterministic | protoiface.SupportUnmarshalDiscardUnknown, + Size: size, + Marshal: marshal, + Unmarshal: unmarshal, + Merge: nil, + CheckInitialized: nil, + } +} + +var _ protoreflect.List = (*_GetInferenceScoresUntilBlockResponse_1_list)(nil) + +type _GetInferenceScoresUntilBlockResponse_1_list struct { + list *[]*v3.Score +} + +func (x *_GetInferenceScoresUntilBlockResponse_1_list) Len() int { + if x.list == nil { + return 0 + } + return len(*x.list) +} + +func (x *_GetInferenceScoresUntilBlockResponse_1_list) Get(i int) protoreflect.Value { + return protoreflect.ValueOfMessage((*x.list)[i].ProtoReflect()) +} + +func (x *_GetInferenceScoresUntilBlockResponse_1_list) Set(i int, value protoreflect.Value) { + valueUnwrapped := value.Message() + concreteValue := valueUnwrapped.Interface().(*v3.Score) + (*x.list)[i] = concreteValue +} + +func (x *_GetInferenceScoresUntilBlockResponse_1_list) Append(value protoreflect.Value) { + valueUnwrapped := value.Message() + concreteValue := valueUnwrapped.Interface().(*v3.Score) + *x.list = append(*x.list, concreteValue) +} + +func (x *_GetInferenceScoresUntilBlockResponse_1_list) AppendMutable() protoreflect.Value { + v := new(v3.Score) + *x.list = append(*x.list, v) + return protoreflect.ValueOfMessage(v.ProtoReflect()) +} + +func (x *_GetInferenceScoresUntilBlockResponse_1_list) Truncate(n int) { + for i := n; i < len(*x.list); i++ { + (*x.list)[i] = nil + } + *x.list = (*x.list)[:n] +} + +func (x *_GetInferenceScoresUntilBlockResponse_1_list) NewElement() protoreflect.Value { + v := new(v3.Score) + return protoreflect.ValueOfMessage(v.ProtoReflect()) +} + +func (x *_GetInferenceScoresUntilBlockResponse_1_list) IsValid() bool { + return x.list != nil +} + +var ( + md_GetInferenceScoresUntilBlockResponse protoreflect.MessageDescriptor + fd_GetInferenceScoresUntilBlockResponse_scores protoreflect.FieldDescriptor +) + +func init() { + file_emissions_v8_query_proto_init() + md_GetInferenceScoresUntilBlockResponse = File_emissions_v8_query_proto.Messages().ByName("GetInferenceScoresUntilBlockResponse") + fd_GetInferenceScoresUntilBlockResponse_scores = md_GetInferenceScoresUntilBlockResponse.Fields().ByName("scores") +} + +var _ protoreflect.Message = (*fastReflection_GetInferenceScoresUntilBlockResponse)(nil) + +type fastReflection_GetInferenceScoresUntilBlockResponse GetInferenceScoresUntilBlockResponse + +func (x *GetInferenceScoresUntilBlockResponse) ProtoReflect() protoreflect.Message { + return (*fastReflection_GetInferenceScoresUntilBlockResponse)(x) +} + +func (x *GetInferenceScoresUntilBlockResponse) slowProtoReflect() protoreflect.Message { + mi := &file_emissions_v8_query_proto_msgTypes[163] + 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) +} + +var _fastReflection_GetInferenceScoresUntilBlockResponse_messageType fastReflection_GetInferenceScoresUntilBlockResponse_messageType +var _ protoreflect.MessageType = fastReflection_GetInferenceScoresUntilBlockResponse_messageType{} + +type fastReflection_GetInferenceScoresUntilBlockResponse_messageType struct{} + +func (x fastReflection_GetInferenceScoresUntilBlockResponse_messageType) Zero() protoreflect.Message { + return (*fastReflection_GetInferenceScoresUntilBlockResponse)(nil) +} +func (x fastReflection_GetInferenceScoresUntilBlockResponse_messageType) New() protoreflect.Message { + return new(fastReflection_GetInferenceScoresUntilBlockResponse) +} +func (x fastReflection_GetInferenceScoresUntilBlockResponse_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_GetInferenceScoresUntilBlockResponse +} + +// Descriptor returns message descriptor, which contains only the protobuf +// type information for the message. +func (x *fastReflection_GetInferenceScoresUntilBlockResponse) Descriptor() protoreflect.MessageDescriptor { + return md_GetInferenceScoresUntilBlockResponse +} + +// Type returns the message type, which encapsulates both Go and protobuf +// type information. If the Go type information is not needed, +// it is recommended that the message descriptor be used instead. +func (x *fastReflection_GetInferenceScoresUntilBlockResponse) Type() protoreflect.MessageType { + return _fastReflection_GetInferenceScoresUntilBlockResponse_messageType +} + +// New returns a newly allocated and mutable empty message. +func (x *fastReflection_GetInferenceScoresUntilBlockResponse) New() protoreflect.Message { + return new(fastReflection_GetInferenceScoresUntilBlockResponse) +} + +// Interface unwraps the message reflection interface and +// returns the underlying ProtoMessage interface. +func (x *fastReflection_GetInferenceScoresUntilBlockResponse) Interface() protoreflect.ProtoMessage { + return (*GetInferenceScoresUntilBlockResponse)(x) +} + +// Range iterates over every populated field in an undefined order, +// calling f for each field descriptor and value encountered. +// Range returns immediately if f returns false. +// While iterating, mutating operations may only be performed +// on the current field descriptor. +func (x *fastReflection_GetInferenceScoresUntilBlockResponse) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { + if len(x.Scores) != 0 { + value := protoreflect.ValueOfList(&_GetInferenceScoresUntilBlockResponse_1_list{list: &x.Scores}) + if !f(fd_GetInferenceScoresUntilBlockResponse_scores, value) { + return + } + } +} + +// Has reports whether a field is populated. +// +// Some fields have the property of nullability where it is possible to +// distinguish between the default value of a field and whether the field +// was explicitly populated with the default value. Singular message fields, +// member fields of a oneof, and proto2 scalar fields are nullable. Such +// fields are populated only if explicitly set. +// +// In other cases (aside from the nullable cases above), +// a proto3 scalar field is populated if it contains a non-zero value, and +// a repeated field is populated if it is non-empty. +func (x *fastReflection_GetInferenceScoresUntilBlockResponse) Has(fd protoreflect.FieldDescriptor) bool { + switch fd.FullName() { + case "emissions.v8.GetInferenceScoresUntilBlockResponse.scores": + return len(x.Scores) != 0 + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetInferenceScoresUntilBlockResponse")) + } + panic(fmt.Errorf("message emissions.v8.GetInferenceScoresUntilBlockResponse does not contain field %s", fd.FullName())) + } +} + +// Clear clears the field such that a subsequent Has call reports false. +// +// Clearing an extension field clears both the extension type and value +// associated with the given field number. +// +// Clear is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetInferenceScoresUntilBlockResponse) Clear(fd protoreflect.FieldDescriptor) { + switch fd.FullName() { + case "emissions.v8.GetInferenceScoresUntilBlockResponse.scores": + x.Scores = nil + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetInferenceScoresUntilBlockResponse")) + } + panic(fmt.Errorf("message emissions.v8.GetInferenceScoresUntilBlockResponse does not contain field %s", fd.FullName())) + } +} + +// Get retrieves the value for a field. +// +// For unpopulated scalars, it returns the default value, where +// the default value of a bytes scalar is guaranteed to be a copy. +// For unpopulated composite types, it returns an empty, read-only view +// of the value; to obtain a mutable reference, use Mutable. +func (x *fastReflection_GetInferenceScoresUntilBlockResponse) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { + switch descriptor.FullName() { + case "emissions.v8.GetInferenceScoresUntilBlockResponse.scores": + if len(x.Scores) == 0 { + return protoreflect.ValueOfList(&_GetInferenceScoresUntilBlockResponse_1_list{}) + } + listValue := &_GetInferenceScoresUntilBlockResponse_1_list{list: &x.Scores} + return protoreflect.ValueOfList(listValue) + default: + if descriptor.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetInferenceScoresUntilBlockResponse")) + } + panic(fmt.Errorf("message emissions.v8.GetInferenceScoresUntilBlockResponse does not contain field %s", descriptor.FullName())) + } +} + +// Set stores the value for a field. +// +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType. +// When setting a composite type, it is unspecified whether the stored value +// aliases the source's memory in any way. If the composite value is an +// empty, read-only value, then it panics. +// +// Set is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetInferenceScoresUntilBlockResponse) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { + switch fd.FullName() { + case "emissions.v8.GetInferenceScoresUntilBlockResponse.scores": + lv := value.List() + clv := lv.(*_GetInferenceScoresUntilBlockResponse_1_list) + x.Scores = *clv.list + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetInferenceScoresUntilBlockResponse")) + } + panic(fmt.Errorf("message emissions.v8.GetInferenceScoresUntilBlockResponse does not contain field %s", fd.FullName())) + } +} + +// Mutable returns a mutable reference to a composite type. +// +// If the field is unpopulated, it may allocate a composite value. +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType +// if not already stored. +// It panics if the field does not contain a composite type. +// +// Mutable is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetInferenceScoresUntilBlockResponse) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.GetInferenceScoresUntilBlockResponse.scores": + if x.Scores == nil { + x.Scores = []*v3.Score{} + } + value := &_GetInferenceScoresUntilBlockResponse_1_list{list: &x.Scores} + return protoreflect.ValueOfList(value) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetInferenceScoresUntilBlockResponse")) + } + panic(fmt.Errorf("message emissions.v8.GetInferenceScoresUntilBlockResponse does not contain field %s", fd.FullName())) + } +} + +// NewField returns a new value that is assignable to the field +// for the given descriptor. For scalars, this returns the default value. +// For lists, maps, and messages, this returns a new, empty, mutable value. +func (x *fastReflection_GetInferenceScoresUntilBlockResponse) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.GetInferenceScoresUntilBlockResponse.scores": + list := []*v3.Score{} + return protoreflect.ValueOfList(&_GetInferenceScoresUntilBlockResponse_1_list{list: &list}) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetInferenceScoresUntilBlockResponse")) + } + panic(fmt.Errorf("message emissions.v8.GetInferenceScoresUntilBlockResponse does not contain field %s", fd.FullName())) + } +} + +// WhichOneof reports which field within the oneof is populated, +// returning nil if none are populated. +// It panics if the oneof descriptor does not belong to this message. +func (x *fastReflection_GetInferenceScoresUntilBlockResponse) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { + switch d.FullName() { + default: + panic(fmt.Errorf("%s is not a oneof field in emissions.v8.GetInferenceScoresUntilBlockResponse", d.FullName())) + } + panic("unreachable") +} + +// GetUnknown retrieves the entire list of unknown fields. +// The caller may only mutate the contents of the RawFields +// if the mutated bytes are stored back into the message with SetUnknown. +func (x *fastReflection_GetInferenceScoresUntilBlockResponse) GetUnknown() protoreflect.RawFields { + return x.unknownFields +} + +// SetUnknown stores an entire list of unknown fields. +// The raw fields must be syntactically valid according to the wire format. +// An implementation may panic if this is not the case. +// Once stored, the caller must not mutate the content of the RawFields. +// An empty RawFields may be passed to clear the fields. +// +// SetUnknown is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetInferenceScoresUntilBlockResponse) SetUnknown(fields protoreflect.RawFields) { + x.unknownFields = fields +} + +// IsValid reports whether the message is valid. +// +// An invalid message is an empty, read-only value. +// +// An invalid message often corresponds to a nil pointer of the concrete +// message type, but the details are implementation dependent. +// Validity is not part of the protobuf data model, and may not +// be preserved in marshaling or other operations. +func (x *fastReflection_GetInferenceScoresUntilBlockResponse) IsValid() bool { + return x != nil +} + +// ProtoMethods returns optional fastReflectionFeature-path implementations of various operations. +// This method may return nil. +// +// The returned methods type is identical to +// "google.golang.org/protobuf/runtime/protoiface".Methods. +// Consult the protoiface package documentation for details. +func (x *fastReflection_GetInferenceScoresUntilBlockResponse) ProtoMethods() *protoiface.Methods { + size := func(input protoiface.SizeInput) protoiface.SizeOutput { + x := input.Message.Interface().(*GetInferenceScoresUntilBlockResponse) + if x == nil { + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: 0, + } + } + options := runtime.SizeInputToOptions(input) + _ = options + var n int + var l int + _ = l + if len(x.Scores) > 0 { + for _, e := range x.Scores { + l = options.Size(e) + n += 1 + l + runtime.Sov(uint64(l)) + } + } + if x.unknownFields != nil { + n += len(x.unknownFields) + } + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: n, + } + } + + marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { + x := input.Message.Interface().(*GetInferenceScoresUntilBlockResponse) + if x == nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + options := runtime.MarshalInputToOptions(input) + _ = options + size := options.Size(x) + dAtA := make([]byte, size) + i := len(dAtA) + _ = i + var l int + _ = l + if x.unknownFields != nil { + i -= len(x.unknownFields) + copy(dAtA[i:], x.unknownFields) + } + if len(x.Scores) > 0 { + for iNdEx := len(x.Scores) - 1; iNdEx >= 0; iNdEx-- { + encoded, err := options.Marshal(x.Scores[iNdEx]) + if err != nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = runtime.EncodeVarint(dAtA, i, uint64(len(encoded))) + i-- + dAtA[i] = 0xa + } + } + if input.Buf != nil { + input.Buf = append(input.Buf, dAtA...) + } else { + input.Buf = dAtA + } + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { + x := input.Message.Interface().(*GetInferenceScoresUntilBlockResponse) + if x == nil { + return protoiface.UnmarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Flags: input.Flags, + }, nil + } + options := runtime.UnmarshalInputToOptions(input) + _ = options + dAtA := input.Buf + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: GetInferenceScoresUntilBlockResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: GetInferenceScoresUntilBlockResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Scores", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + x.Scores = append(x.Scores, &v3.Score{}) + if err := options.Unmarshal(dAtA[iNdEx:postIndex], x.Scores[len(x.Scores)-1]); err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := runtime.Skip(dAtA[iNdEx:]) + if err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if (iNdEx + skippy) > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + if !options.DiscardUnknown { + x.unknownFields = append(x.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + } + iNdEx += skippy + } + } + + if iNdEx > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, nil + } + return &protoiface.Methods{ + NoUnkeyedLiterals: struct{}{}, + Flags: protoiface.SupportMarshalDeterministic | protoiface.SupportUnmarshalDiscardUnknown, + Size: size, + Marshal: marshal, + Unmarshal: unmarshal, + Merge: nil, + CheckInitialized: nil, + } +} + +var ( + md_GetPreviousTopicQuantileForecasterScoreEmaRequest protoreflect.MessageDescriptor + fd_GetPreviousTopicQuantileForecasterScoreEmaRequest_topic_id protoreflect.FieldDescriptor +) + +func init() { + file_emissions_v8_query_proto_init() + md_GetPreviousTopicQuantileForecasterScoreEmaRequest = File_emissions_v8_query_proto.Messages().ByName("GetPreviousTopicQuantileForecasterScoreEmaRequest") + fd_GetPreviousTopicQuantileForecasterScoreEmaRequest_topic_id = md_GetPreviousTopicQuantileForecasterScoreEmaRequest.Fields().ByName("topic_id") +} + +var _ protoreflect.Message = (*fastReflection_GetPreviousTopicQuantileForecasterScoreEmaRequest)(nil) + +type fastReflection_GetPreviousTopicQuantileForecasterScoreEmaRequest GetPreviousTopicQuantileForecasterScoreEmaRequest + +func (x *GetPreviousTopicQuantileForecasterScoreEmaRequest) ProtoReflect() protoreflect.Message { + return (*fastReflection_GetPreviousTopicQuantileForecasterScoreEmaRequest)(x) +} + +func (x *GetPreviousTopicQuantileForecasterScoreEmaRequest) slowProtoReflect() protoreflect.Message { + mi := &file_emissions_v8_query_proto_msgTypes[164] + 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) +} + +var _fastReflection_GetPreviousTopicQuantileForecasterScoreEmaRequest_messageType fastReflection_GetPreviousTopicQuantileForecasterScoreEmaRequest_messageType +var _ protoreflect.MessageType = fastReflection_GetPreviousTopicQuantileForecasterScoreEmaRequest_messageType{} + +type fastReflection_GetPreviousTopicQuantileForecasterScoreEmaRequest_messageType struct{} + +func (x fastReflection_GetPreviousTopicQuantileForecasterScoreEmaRequest_messageType) Zero() protoreflect.Message { + return (*fastReflection_GetPreviousTopicQuantileForecasterScoreEmaRequest)(nil) +} +func (x fastReflection_GetPreviousTopicQuantileForecasterScoreEmaRequest_messageType) New() protoreflect.Message { + return new(fastReflection_GetPreviousTopicQuantileForecasterScoreEmaRequest) +} +func (x fastReflection_GetPreviousTopicQuantileForecasterScoreEmaRequest_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_GetPreviousTopicQuantileForecasterScoreEmaRequest +} + +// Descriptor returns message descriptor, which contains only the protobuf +// type information for the message. +func (x *fastReflection_GetPreviousTopicQuantileForecasterScoreEmaRequest) Descriptor() protoreflect.MessageDescriptor { + return md_GetPreviousTopicQuantileForecasterScoreEmaRequest +} + +// Type returns the message type, which encapsulates both Go and protobuf +// type information. If the Go type information is not needed, +// it is recommended that the message descriptor be used instead. +func (x *fastReflection_GetPreviousTopicQuantileForecasterScoreEmaRequest) Type() protoreflect.MessageType { + return _fastReflection_GetPreviousTopicQuantileForecasterScoreEmaRequest_messageType +} + +// New returns a newly allocated and mutable empty message. +func (x *fastReflection_GetPreviousTopicQuantileForecasterScoreEmaRequest) New() protoreflect.Message { + return new(fastReflection_GetPreviousTopicQuantileForecasterScoreEmaRequest) +} + +// Interface unwraps the message reflection interface and +// returns the underlying ProtoMessage interface. +func (x *fastReflection_GetPreviousTopicQuantileForecasterScoreEmaRequest) Interface() protoreflect.ProtoMessage { + return (*GetPreviousTopicQuantileForecasterScoreEmaRequest)(x) +} + +// Range iterates over every populated field in an undefined order, +// calling f for each field descriptor and value encountered. +// Range returns immediately if f returns false. +// While iterating, mutating operations may only be performed +// on the current field descriptor. +func (x *fastReflection_GetPreviousTopicQuantileForecasterScoreEmaRequest) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { + if x.TopicId != uint64(0) { + value := protoreflect.ValueOfUint64(x.TopicId) + if !f(fd_GetPreviousTopicQuantileForecasterScoreEmaRequest_topic_id, value) { + return + } + } +} + +// Has reports whether a field is populated. +// +// Some fields have the property of nullability where it is possible to +// distinguish between the default value of a field and whether the field +// was explicitly populated with the default value. Singular message fields, +// member fields of a oneof, and proto2 scalar fields are nullable. Such +// fields are populated only if explicitly set. +// +// In other cases (aside from the nullable cases above), +// a proto3 scalar field is populated if it contains a non-zero value, and +// a repeated field is populated if it is non-empty. +func (x *fastReflection_GetPreviousTopicQuantileForecasterScoreEmaRequest) Has(fd protoreflect.FieldDescriptor) bool { + switch fd.FullName() { + case "emissions.v8.GetPreviousTopicQuantileForecasterScoreEmaRequest.topic_id": + return x.TopicId != uint64(0) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetPreviousTopicQuantileForecasterScoreEmaRequest")) + } + panic(fmt.Errorf("message emissions.v8.GetPreviousTopicQuantileForecasterScoreEmaRequest does not contain field %s", fd.FullName())) + } +} + +// Clear clears the field such that a subsequent Has call reports false. +// +// Clearing an extension field clears both the extension type and value +// associated with the given field number. +// +// Clear is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetPreviousTopicQuantileForecasterScoreEmaRequest) Clear(fd protoreflect.FieldDescriptor) { + switch fd.FullName() { + case "emissions.v8.GetPreviousTopicQuantileForecasterScoreEmaRequest.topic_id": + x.TopicId = uint64(0) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetPreviousTopicQuantileForecasterScoreEmaRequest")) + } + panic(fmt.Errorf("message emissions.v8.GetPreviousTopicQuantileForecasterScoreEmaRequest does not contain field %s", fd.FullName())) + } +} + +// Get retrieves the value for a field. +// +// For unpopulated scalars, it returns the default value, where +// the default value of a bytes scalar is guaranteed to be a copy. +// For unpopulated composite types, it returns an empty, read-only view +// of the value; to obtain a mutable reference, use Mutable. +func (x *fastReflection_GetPreviousTopicQuantileForecasterScoreEmaRequest) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { + switch descriptor.FullName() { + case "emissions.v8.GetPreviousTopicQuantileForecasterScoreEmaRequest.topic_id": + value := x.TopicId + return protoreflect.ValueOfUint64(value) + default: + if descriptor.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetPreviousTopicQuantileForecasterScoreEmaRequest")) + } + panic(fmt.Errorf("message emissions.v8.GetPreviousTopicQuantileForecasterScoreEmaRequest does not contain field %s", descriptor.FullName())) + } +} + +// Set stores the value for a field. +// +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType. +// When setting a composite type, it is unspecified whether the stored value +// aliases the source's memory in any way. If the composite value is an +// empty, read-only value, then it panics. +// +// Set is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetPreviousTopicQuantileForecasterScoreEmaRequest) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { + switch fd.FullName() { + case "emissions.v8.GetPreviousTopicQuantileForecasterScoreEmaRequest.topic_id": + x.TopicId = value.Uint() + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetPreviousTopicQuantileForecasterScoreEmaRequest")) + } + panic(fmt.Errorf("message emissions.v8.GetPreviousTopicQuantileForecasterScoreEmaRequest does not contain field %s", fd.FullName())) + } +} + +// Mutable returns a mutable reference to a composite type. +// +// If the field is unpopulated, it may allocate a composite value. +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType +// if not already stored. +// It panics if the field does not contain a composite type. +// +// Mutable is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetPreviousTopicQuantileForecasterScoreEmaRequest) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.GetPreviousTopicQuantileForecasterScoreEmaRequest.topic_id": + panic(fmt.Errorf("field topic_id of message emissions.v8.GetPreviousTopicQuantileForecasterScoreEmaRequest is not mutable")) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetPreviousTopicQuantileForecasterScoreEmaRequest")) + } + panic(fmt.Errorf("message emissions.v8.GetPreviousTopicQuantileForecasterScoreEmaRequest does not contain field %s", fd.FullName())) + } +} + +// NewField returns a new value that is assignable to the field +// for the given descriptor. For scalars, this returns the default value. +// For lists, maps, and messages, this returns a new, empty, mutable value. +func (x *fastReflection_GetPreviousTopicQuantileForecasterScoreEmaRequest) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.GetPreviousTopicQuantileForecasterScoreEmaRequest.topic_id": + return protoreflect.ValueOfUint64(uint64(0)) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetPreviousTopicQuantileForecasterScoreEmaRequest")) + } + panic(fmt.Errorf("message emissions.v8.GetPreviousTopicQuantileForecasterScoreEmaRequest does not contain field %s", fd.FullName())) + } +} + +// WhichOneof reports which field within the oneof is populated, +// returning nil if none are populated. +// It panics if the oneof descriptor does not belong to this message. +func (x *fastReflection_GetPreviousTopicQuantileForecasterScoreEmaRequest) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { + switch d.FullName() { + default: + panic(fmt.Errorf("%s is not a oneof field in emissions.v8.GetPreviousTopicQuantileForecasterScoreEmaRequest", d.FullName())) + } + panic("unreachable") +} + +// GetUnknown retrieves the entire list of unknown fields. +// The caller may only mutate the contents of the RawFields +// if the mutated bytes are stored back into the message with SetUnknown. +func (x *fastReflection_GetPreviousTopicQuantileForecasterScoreEmaRequest) GetUnknown() protoreflect.RawFields { + return x.unknownFields +} + +// SetUnknown stores an entire list of unknown fields. +// The raw fields must be syntactically valid according to the wire format. +// An implementation may panic if this is not the case. +// Once stored, the caller must not mutate the content of the RawFields. +// An empty RawFields may be passed to clear the fields. +// +// SetUnknown is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetPreviousTopicQuantileForecasterScoreEmaRequest) SetUnknown(fields protoreflect.RawFields) { + x.unknownFields = fields +} + +// IsValid reports whether the message is valid. +// +// An invalid message is an empty, read-only value. +// +// An invalid message often corresponds to a nil pointer of the concrete +// message type, but the details are implementation dependent. +// Validity is not part of the protobuf data model, and may not +// be preserved in marshaling or other operations. +func (x *fastReflection_GetPreviousTopicQuantileForecasterScoreEmaRequest) IsValid() bool { + return x != nil +} + +// ProtoMethods returns optional fastReflectionFeature-path implementations of various operations. +// This method may return nil. +// +// The returned methods type is identical to +// "google.golang.org/protobuf/runtime/protoiface".Methods. +// Consult the protoiface package documentation for details. +func (x *fastReflection_GetPreviousTopicQuantileForecasterScoreEmaRequest) ProtoMethods() *protoiface.Methods { + size := func(input protoiface.SizeInput) protoiface.SizeOutput { + x := input.Message.Interface().(*GetPreviousTopicQuantileForecasterScoreEmaRequest) + if x == nil { + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: 0, + } + } + options := runtime.SizeInputToOptions(input) + _ = options + var n int + var l int + _ = l + if x.TopicId != 0 { + n += 1 + runtime.Sov(uint64(x.TopicId)) + } + if x.unknownFields != nil { + n += len(x.unknownFields) + } + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: n, + } + } + + marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { + x := input.Message.Interface().(*GetPreviousTopicQuantileForecasterScoreEmaRequest) + if x == nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + options := runtime.MarshalInputToOptions(input) + _ = options + size := options.Size(x) + dAtA := make([]byte, size) + i := len(dAtA) + _ = i + var l int + _ = l + if x.unknownFields != nil { + i -= len(x.unknownFields) + copy(dAtA[i:], x.unknownFields) + } + if x.TopicId != 0 { + i = runtime.EncodeVarint(dAtA, i, uint64(x.TopicId)) + i-- + dAtA[i] = 0x8 + } + if input.Buf != nil { + input.Buf = append(input.Buf, dAtA...) + } else { + input.Buf = dAtA + } + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { + x := input.Message.Interface().(*GetPreviousTopicQuantileForecasterScoreEmaRequest) + if x == nil { + return protoiface.UnmarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Flags: input.Flags, + }, nil + } + options := runtime.UnmarshalInputToOptions(input) + _ = options + dAtA := input.Buf + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: GetPreviousTopicQuantileForecasterScoreEmaRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: GetPreviousTopicQuantileForecasterScoreEmaRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field TopicId", wireType) + } + x.TopicId = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + x.TopicId |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + default: + iNdEx = preIndex + skippy, err := runtime.Skip(dAtA[iNdEx:]) + if err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if (iNdEx + skippy) > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + if !options.DiscardUnknown { + x.unknownFields = append(x.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + } + iNdEx += skippy + } + } + + if iNdEx > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, nil + } + return &protoiface.Methods{ + NoUnkeyedLiterals: struct{}{}, + Flags: protoiface.SupportMarshalDeterministic | protoiface.SupportUnmarshalDiscardUnknown, + Size: size, + Marshal: marshal, + Unmarshal: unmarshal, + Merge: nil, + CheckInitialized: nil, + } +} + +var ( + md_GetPreviousTopicQuantileForecasterScoreEmaResponse protoreflect.MessageDescriptor + fd_GetPreviousTopicQuantileForecasterScoreEmaResponse_value protoreflect.FieldDescriptor +) + +func init() { + file_emissions_v8_query_proto_init() + md_GetPreviousTopicQuantileForecasterScoreEmaResponse = File_emissions_v8_query_proto.Messages().ByName("GetPreviousTopicQuantileForecasterScoreEmaResponse") + fd_GetPreviousTopicQuantileForecasterScoreEmaResponse_value = md_GetPreviousTopicQuantileForecasterScoreEmaResponse.Fields().ByName("value") +} + +var _ protoreflect.Message = (*fastReflection_GetPreviousTopicQuantileForecasterScoreEmaResponse)(nil) + +type fastReflection_GetPreviousTopicQuantileForecasterScoreEmaResponse GetPreviousTopicQuantileForecasterScoreEmaResponse + +func (x *GetPreviousTopicQuantileForecasterScoreEmaResponse) ProtoReflect() protoreflect.Message { + return (*fastReflection_GetPreviousTopicQuantileForecasterScoreEmaResponse)(x) +} + +func (x *GetPreviousTopicQuantileForecasterScoreEmaResponse) slowProtoReflect() protoreflect.Message { + mi := &file_emissions_v8_query_proto_msgTypes[165] + 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) +} + +var _fastReflection_GetPreviousTopicQuantileForecasterScoreEmaResponse_messageType fastReflection_GetPreviousTopicQuantileForecasterScoreEmaResponse_messageType +var _ protoreflect.MessageType = fastReflection_GetPreviousTopicQuantileForecasterScoreEmaResponse_messageType{} + +type fastReflection_GetPreviousTopicQuantileForecasterScoreEmaResponse_messageType struct{} + +func (x fastReflection_GetPreviousTopicQuantileForecasterScoreEmaResponse_messageType) Zero() protoreflect.Message { + return (*fastReflection_GetPreviousTopicQuantileForecasterScoreEmaResponse)(nil) +} +func (x fastReflection_GetPreviousTopicQuantileForecasterScoreEmaResponse_messageType) New() protoreflect.Message { + return new(fastReflection_GetPreviousTopicQuantileForecasterScoreEmaResponse) +} +func (x fastReflection_GetPreviousTopicQuantileForecasterScoreEmaResponse_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_GetPreviousTopicQuantileForecasterScoreEmaResponse +} + +// Descriptor returns message descriptor, which contains only the protobuf +// type information for the message. +func (x *fastReflection_GetPreviousTopicQuantileForecasterScoreEmaResponse) Descriptor() protoreflect.MessageDescriptor { + return md_GetPreviousTopicQuantileForecasterScoreEmaResponse +} + +// Type returns the message type, which encapsulates both Go and protobuf +// type information. If the Go type information is not needed, +// it is recommended that the message descriptor be used instead. +func (x *fastReflection_GetPreviousTopicQuantileForecasterScoreEmaResponse) Type() protoreflect.MessageType { + return _fastReflection_GetPreviousTopicQuantileForecasterScoreEmaResponse_messageType +} + +// New returns a newly allocated and mutable empty message. +func (x *fastReflection_GetPreviousTopicQuantileForecasterScoreEmaResponse) New() protoreflect.Message { + return new(fastReflection_GetPreviousTopicQuantileForecasterScoreEmaResponse) +} + +// Interface unwraps the message reflection interface and +// returns the underlying ProtoMessage interface. +func (x *fastReflection_GetPreviousTopicQuantileForecasterScoreEmaResponse) Interface() protoreflect.ProtoMessage { + return (*GetPreviousTopicQuantileForecasterScoreEmaResponse)(x) +} + +// Range iterates over every populated field in an undefined order, +// calling f for each field descriptor and value encountered. +// Range returns immediately if f returns false. +// While iterating, mutating operations may only be performed +// on the current field descriptor. +func (x *fastReflection_GetPreviousTopicQuantileForecasterScoreEmaResponse) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { + if x.Value != "" { + value := protoreflect.ValueOfString(x.Value) + if !f(fd_GetPreviousTopicQuantileForecasterScoreEmaResponse_value, value) { + return + } + } +} + +// Has reports whether a field is populated. +// +// Some fields have the property of nullability where it is possible to +// distinguish between the default value of a field and whether the field +// was explicitly populated with the default value. Singular message fields, +// member fields of a oneof, and proto2 scalar fields are nullable. Such +// fields are populated only if explicitly set. +// +// In other cases (aside from the nullable cases above), +// a proto3 scalar field is populated if it contains a non-zero value, and +// a repeated field is populated if it is non-empty. +func (x *fastReflection_GetPreviousTopicQuantileForecasterScoreEmaResponse) Has(fd protoreflect.FieldDescriptor) bool { + switch fd.FullName() { + case "emissions.v8.GetPreviousTopicQuantileForecasterScoreEmaResponse.value": + return x.Value != "" + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetPreviousTopicQuantileForecasterScoreEmaResponse")) + } + panic(fmt.Errorf("message emissions.v8.GetPreviousTopicQuantileForecasterScoreEmaResponse does not contain field %s", fd.FullName())) + } +} + +// Clear clears the field such that a subsequent Has call reports false. +// +// Clearing an extension field clears both the extension type and value +// associated with the given field number. +// +// Clear is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetPreviousTopicQuantileForecasterScoreEmaResponse) Clear(fd protoreflect.FieldDescriptor) { + switch fd.FullName() { + case "emissions.v8.GetPreviousTopicQuantileForecasterScoreEmaResponse.value": + x.Value = "" + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetPreviousTopicQuantileForecasterScoreEmaResponse")) + } + panic(fmt.Errorf("message emissions.v8.GetPreviousTopicQuantileForecasterScoreEmaResponse does not contain field %s", fd.FullName())) + } +} + +// Get retrieves the value for a field. +// +// For unpopulated scalars, it returns the default value, where +// the default value of a bytes scalar is guaranteed to be a copy. +// For unpopulated composite types, it returns an empty, read-only view +// of the value; to obtain a mutable reference, use Mutable. +func (x *fastReflection_GetPreviousTopicQuantileForecasterScoreEmaResponse) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { + switch descriptor.FullName() { + case "emissions.v8.GetPreviousTopicQuantileForecasterScoreEmaResponse.value": + value := x.Value + return protoreflect.ValueOfString(value) + default: + if descriptor.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetPreviousTopicQuantileForecasterScoreEmaResponse")) + } + panic(fmt.Errorf("message emissions.v8.GetPreviousTopicQuantileForecasterScoreEmaResponse does not contain field %s", descriptor.FullName())) + } +} + +// Set stores the value for a field. +// +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType. +// When setting a composite type, it is unspecified whether the stored value +// aliases the source's memory in any way. If the composite value is an +// empty, read-only value, then it panics. +// +// Set is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetPreviousTopicQuantileForecasterScoreEmaResponse) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { + switch fd.FullName() { + case "emissions.v8.GetPreviousTopicQuantileForecasterScoreEmaResponse.value": + x.Value = value.Interface().(string) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetPreviousTopicQuantileForecasterScoreEmaResponse")) + } + panic(fmt.Errorf("message emissions.v8.GetPreviousTopicQuantileForecasterScoreEmaResponse does not contain field %s", fd.FullName())) + } +} + +// Mutable returns a mutable reference to a composite type. +// +// If the field is unpopulated, it may allocate a composite value. +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType +// if not already stored. +// It panics if the field does not contain a composite type. +// +// Mutable is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetPreviousTopicQuantileForecasterScoreEmaResponse) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.GetPreviousTopicQuantileForecasterScoreEmaResponse.value": + panic(fmt.Errorf("field value of message emissions.v8.GetPreviousTopicQuantileForecasterScoreEmaResponse is not mutable")) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetPreviousTopicQuantileForecasterScoreEmaResponse")) + } + panic(fmt.Errorf("message emissions.v8.GetPreviousTopicQuantileForecasterScoreEmaResponse does not contain field %s", fd.FullName())) + } +} + +// NewField returns a new value that is assignable to the field +// for the given descriptor. For scalars, this returns the default value. +// For lists, maps, and messages, this returns a new, empty, mutable value. +func (x *fastReflection_GetPreviousTopicQuantileForecasterScoreEmaResponse) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.GetPreviousTopicQuantileForecasterScoreEmaResponse.value": + return protoreflect.ValueOfString("") + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetPreviousTopicQuantileForecasterScoreEmaResponse")) + } + panic(fmt.Errorf("message emissions.v8.GetPreviousTopicQuantileForecasterScoreEmaResponse does not contain field %s", fd.FullName())) + } +} + +// WhichOneof reports which field within the oneof is populated, +// returning nil if none are populated. +// It panics if the oneof descriptor does not belong to this message. +func (x *fastReflection_GetPreviousTopicQuantileForecasterScoreEmaResponse) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { + switch d.FullName() { + default: + panic(fmt.Errorf("%s is not a oneof field in emissions.v8.GetPreviousTopicQuantileForecasterScoreEmaResponse", d.FullName())) + } + panic("unreachable") +} + +// GetUnknown retrieves the entire list of unknown fields. +// The caller may only mutate the contents of the RawFields +// if the mutated bytes are stored back into the message with SetUnknown. +func (x *fastReflection_GetPreviousTopicQuantileForecasterScoreEmaResponse) GetUnknown() protoreflect.RawFields { + return x.unknownFields +} + +// SetUnknown stores an entire list of unknown fields. +// The raw fields must be syntactically valid according to the wire format. +// An implementation may panic if this is not the case. +// Once stored, the caller must not mutate the content of the RawFields. +// An empty RawFields may be passed to clear the fields. +// +// SetUnknown is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetPreviousTopicQuantileForecasterScoreEmaResponse) SetUnknown(fields protoreflect.RawFields) { + x.unknownFields = fields +} + +// IsValid reports whether the message is valid. +// +// An invalid message is an empty, read-only value. +// +// An invalid message often corresponds to a nil pointer of the concrete +// message type, but the details are implementation dependent. +// Validity is not part of the protobuf data model, and may not +// be preserved in marshaling or other operations. +func (x *fastReflection_GetPreviousTopicQuantileForecasterScoreEmaResponse) IsValid() bool { + return x != nil +} + +// ProtoMethods returns optional fastReflectionFeature-path implementations of various operations. +// This method may return nil. +// +// The returned methods type is identical to +// "google.golang.org/protobuf/runtime/protoiface".Methods. +// Consult the protoiface package documentation for details. +func (x *fastReflection_GetPreviousTopicQuantileForecasterScoreEmaResponse) ProtoMethods() *protoiface.Methods { + size := func(input protoiface.SizeInput) protoiface.SizeOutput { + x := input.Message.Interface().(*GetPreviousTopicQuantileForecasterScoreEmaResponse) + if x == nil { + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: 0, + } + } + options := runtime.SizeInputToOptions(input) + _ = options + var n int + var l int + _ = l + l = len(x.Value) + if l > 0 { + n += 1 + l + runtime.Sov(uint64(l)) + } + if x.unknownFields != nil { + n += len(x.unknownFields) + } + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: n, + } + } + + marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { + x := input.Message.Interface().(*GetPreviousTopicQuantileForecasterScoreEmaResponse) + if x == nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + options := runtime.MarshalInputToOptions(input) + _ = options + size := options.Size(x) + dAtA := make([]byte, size) + i := len(dAtA) + _ = i + var l int + _ = l + if x.unknownFields != nil { + i -= len(x.unknownFields) + copy(dAtA[i:], x.unknownFields) + } + if len(x.Value) > 0 { + i -= len(x.Value) + copy(dAtA[i:], x.Value) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.Value))) + i-- + dAtA[i] = 0xa + } + if input.Buf != nil { + input.Buf = append(input.Buf, dAtA...) + } else { + input.Buf = dAtA + } + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { + x := input.Message.Interface().(*GetPreviousTopicQuantileForecasterScoreEmaResponse) + if x == nil { + return protoiface.UnmarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Flags: input.Flags, + }, nil + } + options := runtime.UnmarshalInputToOptions(input) + _ = options + dAtA := input.Buf + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: GetPreviousTopicQuantileForecasterScoreEmaResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: GetPreviousTopicQuantileForecasterScoreEmaResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Value", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + x.Value = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := runtime.Skip(dAtA[iNdEx:]) + if err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if (iNdEx + skippy) > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + if !options.DiscardUnknown { + x.unknownFields = append(x.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + } + iNdEx += skippy + } + } + + if iNdEx > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, nil + } + return &protoiface.Methods{ + NoUnkeyedLiterals: struct{}{}, + Flags: protoiface.SupportMarshalDeterministic | protoiface.SupportUnmarshalDiscardUnknown, + Size: size, + Marshal: marshal, + Unmarshal: unmarshal, + Merge: nil, + CheckInitialized: nil, + } +} + +var ( + md_GetPreviousTopicQuantileInfererScoreEmaRequest protoreflect.MessageDescriptor + fd_GetPreviousTopicQuantileInfererScoreEmaRequest_topic_id protoreflect.FieldDescriptor +) + +func init() { + file_emissions_v8_query_proto_init() + md_GetPreviousTopicQuantileInfererScoreEmaRequest = File_emissions_v8_query_proto.Messages().ByName("GetPreviousTopicQuantileInfererScoreEmaRequest") + fd_GetPreviousTopicQuantileInfererScoreEmaRequest_topic_id = md_GetPreviousTopicQuantileInfererScoreEmaRequest.Fields().ByName("topic_id") +} + +var _ protoreflect.Message = (*fastReflection_GetPreviousTopicQuantileInfererScoreEmaRequest)(nil) + +type fastReflection_GetPreviousTopicQuantileInfererScoreEmaRequest GetPreviousTopicQuantileInfererScoreEmaRequest + +func (x *GetPreviousTopicQuantileInfererScoreEmaRequest) ProtoReflect() protoreflect.Message { + return (*fastReflection_GetPreviousTopicQuantileInfererScoreEmaRequest)(x) +} + +func (x *GetPreviousTopicQuantileInfererScoreEmaRequest) slowProtoReflect() protoreflect.Message { + mi := &file_emissions_v8_query_proto_msgTypes[166] + 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) +} + +var _fastReflection_GetPreviousTopicQuantileInfererScoreEmaRequest_messageType fastReflection_GetPreviousTopicQuantileInfererScoreEmaRequest_messageType +var _ protoreflect.MessageType = fastReflection_GetPreviousTopicQuantileInfererScoreEmaRequest_messageType{} + +type fastReflection_GetPreviousTopicQuantileInfererScoreEmaRequest_messageType struct{} + +func (x fastReflection_GetPreviousTopicQuantileInfererScoreEmaRequest_messageType) Zero() protoreflect.Message { + return (*fastReflection_GetPreviousTopicQuantileInfererScoreEmaRequest)(nil) +} +func (x fastReflection_GetPreviousTopicQuantileInfererScoreEmaRequest_messageType) New() protoreflect.Message { + return new(fastReflection_GetPreviousTopicQuantileInfererScoreEmaRequest) +} +func (x fastReflection_GetPreviousTopicQuantileInfererScoreEmaRequest_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_GetPreviousTopicQuantileInfererScoreEmaRequest +} + +// Descriptor returns message descriptor, which contains only the protobuf +// type information for the message. +func (x *fastReflection_GetPreviousTopicQuantileInfererScoreEmaRequest) Descriptor() protoreflect.MessageDescriptor { + return md_GetPreviousTopicQuantileInfererScoreEmaRequest +} + +// Type returns the message type, which encapsulates both Go and protobuf +// type information. If the Go type information is not needed, +// it is recommended that the message descriptor be used instead. +func (x *fastReflection_GetPreviousTopicQuantileInfererScoreEmaRequest) Type() protoreflect.MessageType { + return _fastReflection_GetPreviousTopicQuantileInfererScoreEmaRequest_messageType +} + +// New returns a newly allocated and mutable empty message. +func (x *fastReflection_GetPreviousTopicQuantileInfererScoreEmaRequest) New() protoreflect.Message { + return new(fastReflection_GetPreviousTopicQuantileInfererScoreEmaRequest) +} + +// Interface unwraps the message reflection interface and +// returns the underlying ProtoMessage interface. +func (x *fastReflection_GetPreviousTopicQuantileInfererScoreEmaRequest) Interface() protoreflect.ProtoMessage { + return (*GetPreviousTopicQuantileInfererScoreEmaRequest)(x) +} + +// Range iterates over every populated field in an undefined order, +// calling f for each field descriptor and value encountered. +// Range returns immediately if f returns false. +// While iterating, mutating operations may only be performed +// on the current field descriptor. +func (x *fastReflection_GetPreviousTopicQuantileInfererScoreEmaRequest) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { + if x.TopicId != uint64(0) { + value := protoreflect.ValueOfUint64(x.TopicId) + if !f(fd_GetPreviousTopicQuantileInfererScoreEmaRequest_topic_id, value) { + return + } + } +} + +// Has reports whether a field is populated. +// +// Some fields have the property of nullability where it is possible to +// distinguish between the default value of a field and whether the field +// was explicitly populated with the default value. Singular message fields, +// member fields of a oneof, and proto2 scalar fields are nullable. Such +// fields are populated only if explicitly set. +// +// In other cases (aside from the nullable cases above), +// a proto3 scalar field is populated if it contains a non-zero value, and +// a repeated field is populated if it is non-empty. +func (x *fastReflection_GetPreviousTopicQuantileInfererScoreEmaRequest) Has(fd protoreflect.FieldDescriptor) bool { + switch fd.FullName() { + case "emissions.v8.GetPreviousTopicQuantileInfererScoreEmaRequest.topic_id": + return x.TopicId != uint64(0) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetPreviousTopicQuantileInfererScoreEmaRequest")) + } + panic(fmt.Errorf("message emissions.v8.GetPreviousTopicQuantileInfererScoreEmaRequest does not contain field %s", fd.FullName())) + } +} + +// Clear clears the field such that a subsequent Has call reports false. +// +// Clearing an extension field clears both the extension type and value +// associated with the given field number. +// +// Clear is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetPreviousTopicQuantileInfererScoreEmaRequest) Clear(fd protoreflect.FieldDescriptor) { + switch fd.FullName() { + case "emissions.v8.GetPreviousTopicQuantileInfererScoreEmaRequest.topic_id": + x.TopicId = uint64(0) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetPreviousTopicQuantileInfererScoreEmaRequest")) + } + panic(fmt.Errorf("message emissions.v8.GetPreviousTopicQuantileInfererScoreEmaRequest does not contain field %s", fd.FullName())) + } +} + +// Get retrieves the value for a field. +// +// For unpopulated scalars, it returns the default value, where +// the default value of a bytes scalar is guaranteed to be a copy. +// For unpopulated composite types, it returns an empty, read-only view +// of the value; to obtain a mutable reference, use Mutable. +func (x *fastReflection_GetPreviousTopicQuantileInfererScoreEmaRequest) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { + switch descriptor.FullName() { + case "emissions.v8.GetPreviousTopicQuantileInfererScoreEmaRequest.topic_id": + value := x.TopicId + return protoreflect.ValueOfUint64(value) + default: + if descriptor.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetPreviousTopicQuantileInfererScoreEmaRequest")) + } + panic(fmt.Errorf("message emissions.v8.GetPreviousTopicQuantileInfererScoreEmaRequest does not contain field %s", descriptor.FullName())) + } +} + +// Set stores the value for a field. +// +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType. +// When setting a composite type, it is unspecified whether the stored value +// aliases the source's memory in any way. If the composite value is an +// empty, read-only value, then it panics. +// +// Set is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetPreviousTopicQuantileInfererScoreEmaRequest) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { + switch fd.FullName() { + case "emissions.v8.GetPreviousTopicQuantileInfererScoreEmaRequest.topic_id": + x.TopicId = value.Uint() + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetPreviousTopicQuantileInfererScoreEmaRequest")) + } + panic(fmt.Errorf("message emissions.v8.GetPreviousTopicQuantileInfererScoreEmaRequest does not contain field %s", fd.FullName())) + } +} + +// Mutable returns a mutable reference to a composite type. +// +// If the field is unpopulated, it may allocate a composite value. +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType +// if not already stored. +// It panics if the field does not contain a composite type. +// +// Mutable is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetPreviousTopicQuantileInfererScoreEmaRequest) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.GetPreviousTopicQuantileInfererScoreEmaRequest.topic_id": + panic(fmt.Errorf("field topic_id of message emissions.v8.GetPreviousTopicQuantileInfererScoreEmaRequest is not mutable")) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetPreviousTopicQuantileInfererScoreEmaRequest")) + } + panic(fmt.Errorf("message emissions.v8.GetPreviousTopicQuantileInfererScoreEmaRequest does not contain field %s", fd.FullName())) + } +} + +// NewField returns a new value that is assignable to the field +// for the given descriptor. For scalars, this returns the default value. +// For lists, maps, and messages, this returns a new, empty, mutable value. +func (x *fastReflection_GetPreviousTopicQuantileInfererScoreEmaRequest) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.GetPreviousTopicQuantileInfererScoreEmaRequest.topic_id": + return protoreflect.ValueOfUint64(uint64(0)) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetPreviousTopicQuantileInfererScoreEmaRequest")) + } + panic(fmt.Errorf("message emissions.v8.GetPreviousTopicQuantileInfererScoreEmaRequest does not contain field %s", fd.FullName())) + } +} + +// WhichOneof reports which field within the oneof is populated, +// returning nil if none are populated. +// It panics if the oneof descriptor does not belong to this message. +func (x *fastReflection_GetPreviousTopicQuantileInfererScoreEmaRequest) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { + switch d.FullName() { + default: + panic(fmt.Errorf("%s is not a oneof field in emissions.v8.GetPreviousTopicQuantileInfererScoreEmaRequest", d.FullName())) + } + panic("unreachable") +} + +// GetUnknown retrieves the entire list of unknown fields. +// The caller may only mutate the contents of the RawFields +// if the mutated bytes are stored back into the message with SetUnknown. +func (x *fastReflection_GetPreviousTopicQuantileInfererScoreEmaRequest) GetUnknown() protoreflect.RawFields { + return x.unknownFields +} + +// SetUnknown stores an entire list of unknown fields. +// The raw fields must be syntactically valid according to the wire format. +// An implementation may panic if this is not the case. +// Once stored, the caller must not mutate the content of the RawFields. +// An empty RawFields may be passed to clear the fields. +// +// SetUnknown is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetPreviousTopicQuantileInfererScoreEmaRequest) SetUnknown(fields protoreflect.RawFields) { + x.unknownFields = fields +} + +// IsValid reports whether the message is valid. +// +// An invalid message is an empty, read-only value. +// +// An invalid message often corresponds to a nil pointer of the concrete +// message type, but the details are implementation dependent. +// Validity is not part of the protobuf data model, and may not +// be preserved in marshaling or other operations. +func (x *fastReflection_GetPreviousTopicQuantileInfererScoreEmaRequest) IsValid() bool { + return x != nil +} + +// ProtoMethods returns optional fastReflectionFeature-path implementations of various operations. +// This method may return nil. +// +// The returned methods type is identical to +// "google.golang.org/protobuf/runtime/protoiface".Methods. +// Consult the protoiface package documentation for details. +func (x *fastReflection_GetPreviousTopicQuantileInfererScoreEmaRequest) ProtoMethods() *protoiface.Methods { + size := func(input protoiface.SizeInput) protoiface.SizeOutput { + x := input.Message.Interface().(*GetPreviousTopicQuantileInfererScoreEmaRequest) + if x == nil { + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: 0, + } + } + options := runtime.SizeInputToOptions(input) + _ = options + var n int + var l int + _ = l + if x.TopicId != 0 { + n += 1 + runtime.Sov(uint64(x.TopicId)) + } + if x.unknownFields != nil { + n += len(x.unknownFields) + } + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: n, + } + } + + marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { + x := input.Message.Interface().(*GetPreviousTopicQuantileInfererScoreEmaRequest) + if x == nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + options := runtime.MarshalInputToOptions(input) + _ = options + size := options.Size(x) + dAtA := make([]byte, size) + i := len(dAtA) + _ = i + var l int + _ = l + if x.unknownFields != nil { + i -= len(x.unknownFields) + copy(dAtA[i:], x.unknownFields) + } + if x.TopicId != 0 { + i = runtime.EncodeVarint(dAtA, i, uint64(x.TopicId)) + i-- + dAtA[i] = 0x8 + } + if input.Buf != nil { + input.Buf = append(input.Buf, dAtA...) + } else { + input.Buf = dAtA + } + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { + x := input.Message.Interface().(*GetPreviousTopicQuantileInfererScoreEmaRequest) + if x == nil { + return protoiface.UnmarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Flags: input.Flags, + }, nil + } + options := runtime.UnmarshalInputToOptions(input) + _ = options + dAtA := input.Buf + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: GetPreviousTopicQuantileInfererScoreEmaRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: GetPreviousTopicQuantileInfererScoreEmaRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field TopicId", wireType) + } + x.TopicId = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + x.TopicId |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + default: + iNdEx = preIndex + skippy, err := runtime.Skip(dAtA[iNdEx:]) + if err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if (iNdEx + skippy) > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + if !options.DiscardUnknown { + x.unknownFields = append(x.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + } + iNdEx += skippy + } + } + + if iNdEx > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, nil + } + return &protoiface.Methods{ + NoUnkeyedLiterals: struct{}{}, + Flags: protoiface.SupportMarshalDeterministic | protoiface.SupportUnmarshalDiscardUnknown, + Size: size, + Marshal: marshal, + Unmarshal: unmarshal, + Merge: nil, + CheckInitialized: nil, + } +} + +var ( + md_GetPreviousTopicQuantileInfererScoreEmaResponse protoreflect.MessageDescriptor + fd_GetPreviousTopicQuantileInfererScoreEmaResponse_value protoreflect.FieldDescriptor +) + +func init() { + file_emissions_v8_query_proto_init() + md_GetPreviousTopicQuantileInfererScoreEmaResponse = File_emissions_v8_query_proto.Messages().ByName("GetPreviousTopicQuantileInfererScoreEmaResponse") + fd_GetPreviousTopicQuantileInfererScoreEmaResponse_value = md_GetPreviousTopicQuantileInfererScoreEmaResponse.Fields().ByName("value") +} + +var _ protoreflect.Message = (*fastReflection_GetPreviousTopicQuantileInfererScoreEmaResponse)(nil) + +type fastReflection_GetPreviousTopicQuantileInfererScoreEmaResponse GetPreviousTopicQuantileInfererScoreEmaResponse + +func (x *GetPreviousTopicQuantileInfererScoreEmaResponse) ProtoReflect() protoreflect.Message { + return (*fastReflection_GetPreviousTopicQuantileInfererScoreEmaResponse)(x) +} + +func (x *GetPreviousTopicQuantileInfererScoreEmaResponse) slowProtoReflect() protoreflect.Message { + mi := &file_emissions_v8_query_proto_msgTypes[167] + 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) +} + +var _fastReflection_GetPreviousTopicQuantileInfererScoreEmaResponse_messageType fastReflection_GetPreviousTopicQuantileInfererScoreEmaResponse_messageType +var _ protoreflect.MessageType = fastReflection_GetPreviousTopicQuantileInfererScoreEmaResponse_messageType{} + +type fastReflection_GetPreviousTopicQuantileInfererScoreEmaResponse_messageType struct{} + +func (x fastReflection_GetPreviousTopicQuantileInfererScoreEmaResponse_messageType) Zero() protoreflect.Message { + return (*fastReflection_GetPreviousTopicQuantileInfererScoreEmaResponse)(nil) +} +func (x fastReflection_GetPreviousTopicQuantileInfererScoreEmaResponse_messageType) New() protoreflect.Message { + return new(fastReflection_GetPreviousTopicQuantileInfererScoreEmaResponse) +} +func (x fastReflection_GetPreviousTopicQuantileInfererScoreEmaResponse_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_GetPreviousTopicQuantileInfererScoreEmaResponse +} + +// Descriptor returns message descriptor, which contains only the protobuf +// type information for the message. +func (x *fastReflection_GetPreviousTopicQuantileInfererScoreEmaResponse) Descriptor() protoreflect.MessageDescriptor { + return md_GetPreviousTopicQuantileInfererScoreEmaResponse +} + +// Type returns the message type, which encapsulates both Go and protobuf +// type information. If the Go type information is not needed, +// it is recommended that the message descriptor be used instead. +func (x *fastReflection_GetPreviousTopicQuantileInfererScoreEmaResponse) Type() protoreflect.MessageType { + return _fastReflection_GetPreviousTopicQuantileInfererScoreEmaResponse_messageType +} + +// New returns a newly allocated and mutable empty message. +func (x *fastReflection_GetPreviousTopicQuantileInfererScoreEmaResponse) New() protoreflect.Message { + return new(fastReflection_GetPreviousTopicQuantileInfererScoreEmaResponse) +} + +// Interface unwraps the message reflection interface and +// returns the underlying ProtoMessage interface. +func (x *fastReflection_GetPreviousTopicQuantileInfererScoreEmaResponse) Interface() protoreflect.ProtoMessage { + return (*GetPreviousTopicQuantileInfererScoreEmaResponse)(x) +} + +// Range iterates over every populated field in an undefined order, +// calling f for each field descriptor and value encountered. +// Range returns immediately if f returns false. +// While iterating, mutating operations may only be performed +// on the current field descriptor. +func (x *fastReflection_GetPreviousTopicQuantileInfererScoreEmaResponse) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { + if x.Value != "" { + value := protoreflect.ValueOfString(x.Value) + if !f(fd_GetPreviousTopicQuantileInfererScoreEmaResponse_value, value) { + return + } + } +} + +// Has reports whether a field is populated. +// +// Some fields have the property of nullability where it is possible to +// distinguish between the default value of a field and whether the field +// was explicitly populated with the default value. Singular message fields, +// member fields of a oneof, and proto2 scalar fields are nullable. Such +// fields are populated only if explicitly set. +// +// In other cases (aside from the nullable cases above), +// a proto3 scalar field is populated if it contains a non-zero value, and +// a repeated field is populated if it is non-empty. +func (x *fastReflection_GetPreviousTopicQuantileInfererScoreEmaResponse) Has(fd protoreflect.FieldDescriptor) bool { + switch fd.FullName() { + case "emissions.v8.GetPreviousTopicQuantileInfererScoreEmaResponse.value": + return x.Value != "" + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetPreviousTopicQuantileInfererScoreEmaResponse")) + } + panic(fmt.Errorf("message emissions.v8.GetPreviousTopicQuantileInfererScoreEmaResponse does not contain field %s", fd.FullName())) + } +} + +// Clear clears the field such that a subsequent Has call reports false. +// +// Clearing an extension field clears both the extension type and value +// associated with the given field number. +// +// Clear is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetPreviousTopicQuantileInfererScoreEmaResponse) Clear(fd protoreflect.FieldDescriptor) { + switch fd.FullName() { + case "emissions.v8.GetPreviousTopicQuantileInfererScoreEmaResponse.value": + x.Value = "" + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetPreviousTopicQuantileInfererScoreEmaResponse")) + } + panic(fmt.Errorf("message emissions.v8.GetPreviousTopicQuantileInfererScoreEmaResponse does not contain field %s", fd.FullName())) + } +} + +// Get retrieves the value for a field. +// +// For unpopulated scalars, it returns the default value, where +// the default value of a bytes scalar is guaranteed to be a copy. +// For unpopulated composite types, it returns an empty, read-only view +// of the value; to obtain a mutable reference, use Mutable. +func (x *fastReflection_GetPreviousTopicQuantileInfererScoreEmaResponse) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { + switch descriptor.FullName() { + case "emissions.v8.GetPreviousTopicQuantileInfererScoreEmaResponse.value": + value := x.Value + return protoreflect.ValueOfString(value) + default: + if descriptor.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetPreviousTopicQuantileInfererScoreEmaResponse")) + } + panic(fmt.Errorf("message emissions.v8.GetPreviousTopicQuantileInfererScoreEmaResponse does not contain field %s", descriptor.FullName())) + } +} + +// Set stores the value for a field. +// +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType. +// When setting a composite type, it is unspecified whether the stored value +// aliases the source's memory in any way. If the composite value is an +// empty, read-only value, then it panics. +// +// Set is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetPreviousTopicQuantileInfererScoreEmaResponse) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { + switch fd.FullName() { + case "emissions.v8.GetPreviousTopicQuantileInfererScoreEmaResponse.value": + x.Value = value.Interface().(string) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetPreviousTopicQuantileInfererScoreEmaResponse")) + } + panic(fmt.Errorf("message emissions.v8.GetPreviousTopicQuantileInfererScoreEmaResponse does not contain field %s", fd.FullName())) + } +} + +// Mutable returns a mutable reference to a composite type. +// +// If the field is unpopulated, it may allocate a composite value. +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType +// if not already stored. +// It panics if the field does not contain a composite type. +// +// Mutable is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetPreviousTopicQuantileInfererScoreEmaResponse) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.GetPreviousTopicQuantileInfererScoreEmaResponse.value": + panic(fmt.Errorf("field value of message emissions.v8.GetPreviousTopicQuantileInfererScoreEmaResponse is not mutable")) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetPreviousTopicQuantileInfererScoreEmaResponse")) + } + panic(fmt.Errorf("message emissions.v8.GetPreviousTopicQuantileInfererScoreEmaResponse does not contain field %s", fd.FullName())) + } +} + +// NewField returns a new value that is assignable to the field +// for the given descriptor. For scalars, this returns the default value. +// For lists, maps, and messages, this returns a new, empty, mutable value. +func (x *fastReflection_GetPreviousTopicQuantileInfererScoreEmaResponse) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.GetPreviousTopicQuantileInfererScoreEmaResponse.value": + return protoreflect.ValueOfString("") + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetPreviousTopicQuantileInfererScoreEmaResponse")) + } + panic(fmt.Errorf("message emissions.v8.GetPreviousTopicQuantileInfererScoreEmaResponse does not contain field %s", fd.FullName())) + } +} + +// WhichOneof reports which field within the oneof is populated, +// returning nil if none are populated. +// It panics if the oneof descriptor does not belong to this message. +func (x *fastReflection_GetPreviousTopicQuantileInfererScoreEmaResponse) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { + switch d.FullName() { + default: + panic(fmt.Errorf("%s is not a oneof field in emissions.v8.GetPreviousTopicQuantileInfererScoreEmaResponse", d.FullName())) + } + panic("unreachable") +} + +// GetUnknown retrieves the entire list of unknown fields. +// The caller may only mutate the contents of the RawFields +// if the mutated bytes are stored back into the message with SetUnknown. +func (x *fastReflection_GetPreviousTopicQuantileInfererScoreEmaResponse) GetUnknown() protoreflect.RawFields { + return x.unknownFields +} + +// SetUnknown stores an entire list of unknown fields. +// The raw fields must be syntactically valid according to the wire format. +// An implementation may panic if this is not the case. +// Once stored, the caller must not mutate the content of the RawFields. +// An empty RawFields may be passed to clear the fields. +// +// SetUnknown is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetPreviousTopicQuantileInfererScoreEmaResponse) SetUnknown(fields protoreflect.RawFields) { + x.unknownFields = fields +} + +// IsValid reports whether the message is valid. +// +// An invalid message is an empty, read-only value. +// +// An invalid message often corresponds to a nil pointer of the concrete +// message type, but the details are implementation dependent. +// Validity is not part of the protobuf data model, and may not +// be preserved in marshaling or other operations. +func (x *fastReflection_GetPreviousTopicQuantileInfererScoreEmaResponse) IsValid() bool { + return x != nil +} + +// ProtoMethods returns optional fastReflectionFeature-path implementations of various operations. +// This method may return nil. +// +// The returned methods type is identical to +// "google.golang.org/protobuf/runtime/protoiface".Methods. +// Consult the protoiface package documentation for details. +func (x *fastReflection_GetPreviousTopicQuantileInfererScoreEmaResponse) ProtoMethods() *protoiface.Methods { + size := func(input protoiface.SizeInput) protoiface.SizeOutput { + x := input.Message.Interface().(*GetPreviousTopicQuantileInfererScoreEmaResponse) + if x == nil { + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: 0, + } + } + options := runtime.SizeInputToOptions(input) + _ = options + var n int + var l int + _ = l + l = len(x.Value) + if l > 0 { + n += 1 + l + runtime.Sov(uint64(l)) + } + if x.unknownFields != nil { + n += len(x.unknownFields) + } + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: n, + } + } + + marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { + x := input.Message.Interface().(*GetPreviousTopicQuantileInfererScoreEmaResponse) + if x == nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + options := runtime.MarshalInputToOptions(input) + _ = options + size := options.Size(x) + dAtA := make([]byte, size) + i := len(dAtA) + _ = i + var l int + _ = l + if x.unknownFields != nil { + i -= len(x.unknownFields) + copy(dAtA[i:], x.unknownFields) + } + if len(x.Value) > 0 { + i -= len(x.Value) + copy(dAtA[i:], x.Value) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.Value))) + i-- + dAtA[i] = 0xa + } + if input.Buf != nil { + input.Buf = append(input.Buf, dAtA...) + } else { + input.Buf = dAtA + } + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { + x := input.Message.Interface().(*GetPreviousTopicQuantileInfererScoreEmaResponse) + if x == nil { + return protoiface.UnmarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Flags: input.Flags, + }, nil + } + options := runtime.UnmarshalInputToOptions(input) + _ = options + dAtA := input.Buf + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: GetPreviousTopicQuantileInfererScoreEmaResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: GetPreviousTopicQuantileInfererScoreEmaResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Value", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + x.Value = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := runtime.Skip(dAtA[iNdEx:]) + if err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if (iNdEx + skippy) > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + if !options.DiscardUnknown { + x.unknownFields = append(x.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + } + iNdEx += skippy + } + } + + if iNdEx > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, nil + } + return &protoiface.Methods{ + NoUnkeyedLiterals: struct{}{}, + Flags: protoiface.SupportMarshalDeterministic | protoiface.SupportUnmarshalDiscardUnknown, + Size: size, + Marshal: marshal, + Unmarshal: unmarshal, + Merge: nil, + CheckInitialized: nil, + } +} + +var ( + md_GetPreviousTopicQuantileReputerScoreEmaRequest protoreflect.MessageDescriptor + fd_GetPreviousTopicQuantileReputerScoreEmaRequest_topic_id protoreflect.FieldDescriptor +) + +func init() { + file_emissions_v8_query_proto_init() + md_GetPreviousTopicQuantileReputerScoreEmaRequest = File_emissions_v8_query_proto.Messages().ByName("GetPreviousTopicQuantileReputerScoreEmaRequest") + fd_GetPreviousTopicQuantileReputerScoreEmaRequest_topic_id = md_GetPreviousTopicQuantileReputerScoreEmaRequest.Fields().ByName("topic_id") +} + +var _ protoreflect.Message = (*fastReflection_GetPreviousTopicQuantileReputerScoreEmaRequest)(nil) + +type fastReflection_GetPreviousTopicQuantileReputerScoreEmaRequest GetPreviousTopicQuantileReputerScoreEmaRequest + +func (x *GetPreviousTopicQuantileReputerScoreEmaRequest) ProtoReflect() protoreflect.Message { + return (*fastReflection_GetPreviousTopicQuantileReputerScoreEmaRequest)(x) +} + +func (x *GetPreviousTopicQuantileReputerScoreEmaRequest) slowProtoReflect() protoreflect.Message { + mi := &file_emissions_v8_query_proto_msgTypes[168] + 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) +} + +var _fastReflection_GetPreviousTopicQuantileReputerScoreEmaRequest_messageType fastReflection_GetPreviousTopicQuantileReputerScoreEmaRequest_messageType +var _ protoreflect.MessageType = fastReflection_GetPreviousTopicQuantileReputerScoreEmaRequest_messageType{} + +type fastReflection_GetPreviousTopicQuantileReputerScoreEmaRequest_messageType struct{} + +func (x fastReflection_GetPreviousTopicQuantileReputerScoreEmaRequest_messageType) Zero() protoreflect.Message { + return (*fastReflection_GetPreviousTopicQuantileReputerScoreEmaRequest)(nil) +} +func (x fastReflection_GetPreviousTopicQuantileReputerScoreEmaRequest_messageType) New() protoreflect.Message { + return new(fastReflection_GetPreviousTopicQuantileReputerScoreEmaRequest) +} +func (x fastReflection_GetPreviousTopicQuantileReputerScoreEmaRequest_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_GetPreviousTopicQuantileReputerScoreEmaRequest +} + +// Descriptor returns message descriptor, which contains only the protobuf +// type information for the message. +func (x *fastReflection_GetPreviousTopicQuantileReputerScoreEmaRequest) Descriptor() protoreflect.MessageDescriptor { + return md_GetPreviousTopicQuantileReputerScoreEmaRequest +} + +// Type returns the message type, which encapsulates both Go and protobuf +// type information. If the Go type information is not needed, +// it is recommended that the message descriptor be used instead. +func (x *fastReflection_GetPreviousTopicQuantileReputerScoreEmaRequest) Type() protoreflect.MessageType { + return _fastReflection_GetPreviousTopicQuantileReputerScoreEmaRequest_messageType +} + +// New returns a newly allocated and mutable empty message. +func (x *fastReflection_GetPreviousTopicQuantileReputerScoreEmaRequest) New() protoreflect.Message { + return new(fastReflection_GetPreviousTopicQuantileReputerScoreEmaRequest) +} + +// Interface unwraps the message reflection interface and +// returns the underlying ProtoMessage interface. +func (x *fastReflection_GetPreviousTopicQuantileReputerScoreEmaRequest) Interface() protoreflect.ProtoMessage { + return (*GetPreviousTopicQuantileReputerScoreEmaRequest)(x) +} + +// Range iterates over every populated field in an undefined order, +// calling f for each field descriptor and value encountered. +// Range returns immediately if f returns false. +// While iterating, mutating operations may only be performed +// on the current field descriptor. +func (x *fastReflection_GetPreviousTopicQuantileReputerScoreEmaRequest) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { + if x.TopicId != uint64(0) { + value := protoreflect.ValueOfUint64(x.TopicId) + if !f(fd_GetPreviousTopicQuantileReputerScoreEmaRequest_topic_id, value) { + return + } + } +} + +// Has reports whether a field is populated. +// +// Some fields have the property of nullability where it is possible to +// distinguish between the default value of a field and whether the field +// was explicitly populated with the default value. Singular message fields, +// member fields of a oneof, and proto2 scalar fields are nullable. Such +// fields are populated only if explicitly set. +// +// In other cases (aside from the nullable cases above), +// a proto3 scalar field is populated if it contains a non-zero value, and +// a repeated field is populated if it is non-empty. +func (x *fastReflection_GetPreviousTopicQuantileReputerScoreEmaRequest) Has(fd protoreflect.FieldDescriptor) bool { + switch fd.FullName() { + case "emissions.v8.GetPreviousTopicQuantileReputerScoreEmaRequest.topic_id": + return x.TopicId != uint64(0) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetPreviousTopicQuantileReputerScoreEmaRequest")) + } + panic(fmt.Errorf("message emissions.v8.GetPreviousTopicQuantileReputerScoreEmaRequest does not contain field %s", fd.FullName())) + } +} + +// Clear clears the field such that a subsequent Has call reports false. +// +// Clearing an extension field clears both the extension type and value +// associated with the given field number. +// +// Clear is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetPreviousTopicQuantileReputerScoreEmaRequest) Clear(fd protoreflect.FieldDescriptor) { + switch fd.FullName() { + case "emissions.v8.GetPreviousTopicQuantileReputerScoreEmaRequest.topic_id": + x.TopicId = uint64(0) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetPreviousTopicQuantileReputerScoreEmaRequest")) + } + panic(fmt.Errorf("message emissions.v8.GetPreviousTopicQuantileReputerScoreEmaRequest does not contain field %s", fd.FullName())) + } +} + +// Get retrieves the value for a field. +// +// For unpopulated scalars, it returns the default value, where +// the default value of a bytes scalar is guaranteed to be a copy. +// For unpopulated composite types, it returns an empty, read-only view +// of the value; to obtain a mutable reference, use Mutable. +func (x *fastReflection_GetPreviousTopicQuantileReputerScoreEmaRequest) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { + switch descriptor.FullName() { + case "emissions.v8.GetPreviousTopicQuantileReputerScoreEmaRequest.topic_id": + value := x.TopicId + return protoreflect.ValueOfUint64(value) + default: + if descriptor.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetPreviousTopicQuantileReputerScoreEmaRequest")) + } + panic(fmt.Errorf("message emissions.v8.GetPreviousTopicQuantileReputerScoreEmaRequest does not contain field %s", descriptor.FullName())) + } +} + +// Set stores the value for a field. +// +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType. +// When setting a composite type, it is unspecified whether the stored value +// aliases the source's memory in any way. If the composite value is an +// empty, read-only value, then it panics. +// +// Set is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetPreviousTopicQuantileReputerScoreEmaRequest) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { + switch fd.FullName() { + case "emissions.v8.GetPreviousTopicQuantileReputerScoreEmaRequest.topic_id": + x.TopicId = value.Uint() + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetPreviousTopicQuantileReputerScoreEmaRequest")) + } + panic(fmt.Errorf("message emissions.v8.GetPreviousTopicQuantileReputerScoreEmaRequest does not contain field %s", fd.FullName())) + } +} + +// Mutable returns a mutable reference to a composite type. +// +// If the field is unpopulated, it may allocate a composite value. +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType +// if not already stored. +// It panics if the field does not contain a composite type. +// +// Mutable is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetPreviousTopicQuantileReputerScoreEmaRequest) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.GetPreviousTopicQuantileReputerScoreEmaRequest.topic_id": + panic(fmt.Errorf("field topic_id of message emissions.v8.GetPreviousTopicQuantileReputerScoreEmaRequest is not mutable")) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetPreviousTopicQuantileReputerScoreEmaRequest")) + } + panic(fmt.Errorf("message emissions.v8.GetPreviousTopicQuantileReputerScoreEmaRequest does not contain field %s", fd.FullName())) + } +} + +// NewField returns a new value that is assignable to the field +// for the given descriptor. For scalars, this returns the default value. +// For lists, maps, and messages, this returns a new, empty, mutable value. +func (x *fastReflection_GetPreviousTopicQuantileReputerScoreEmaRequest) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.GetPreviousTopicQuantileReputerScoreEmaRequest.topic_id": + return protoreflect.ValueOfUint64(uint64(0)) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetPreviousTopicQuantileReputerScoreEmaRequest")) + } + panic(fmt.Errorf("message emissions.v8.GetPreviousTopicQuantileReputerScoreEmaRequest does not contain field %s", fd.FullName())) + } +} + +// WhichOneof reports which field within the oneof is populated, +// returning nil if none are populated. +// It panics if the oneof descriptor does not belong to this message. +func (x *fastReflection_GetPreviousTopicQuantileReputerScoreEmaRequest) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { + switch d.FullName() { + default: + panic(fmt.Errorf("%s is not a oneof field in emissions.v8.GetPreviousTopicQuantileReputerScoreEmaRequest", d.FullName())) + } + panic("unreachable") +} + +// GetUnknown retrieves the entire list of unknown fields. +// The caller may only mutate the contents of the RawFields +// if the mutated bytes are stored back into the message with SetUnknown. +func (x *fastReflection_GetPreviousTopicQuantileReputerScoreEmaRequest) GetUnknown() protoreflect.RawFields { + return x.unknownFields +} + +// SetUnknown stores an entire list of unknown fields. +// The raw fields must be syntactically valid according to the wire format. +// An implementation may panic if this is not the case. +// Once stored, the caller must not mutate the content of the RawFields. +// An empty RawFields may be passed to clear the fields. +// +// SetUnknown is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetPreviousTopicQuantileReputerScoreEmaRequest) SetUnknown(fields protoreflect.RawFields) { + x.unknownFields = fields +} + +// IsValid reports whether the message is valid. +// +// An invalid message is an empty, read-only value. +// +// An invalid message often corresponds to a nil pointer of the concrete +// message type, but the details are implementation dependent. +// Validity is not part of the protobuf data model, and may not +// be preserved in marshaling or other operations. +func (x *fastReflection_GetPreviousTopicQuantileReputerScoreEmaRequest) IsValid() bool { + return x != nil +} + +// ProtoMethods returns optional fastReflectionFeature-path implementations of various operations. +// This method may return nil. +// +// The returned methods type is identical to +// "google.golang.org/protobuf/runtime/protoiface".Methods. +// Consult the protoiface package documentation for details. +func (x *fastReflection_GetPreviousTopicQuantileReputerScoreEmaRequest) ProtoMethods() *protoiface.Methods { + size := func(input protoiface.SizeInput) protoiface.SizeOutput { + x := input.Message.Interface().(*GetPreviousTopicQuantileReputerScoreEmaRequest) + if x == nil { + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: 0, + } + } + options := runtime.SizeInputToOptions(input) + _ = options + var n int + var l int + _ = l + if x.TopicId != 0 { + n += 1 + runtime.Sov(uint64(x.TopicId)) + } + if x.unknownFields != nil { + n += len(x.unknownFields) + } + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: n, + } + } + + marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { + x := input.Message.Interface().(*GetPreviousTopicQuantileReputerScoreEmaRequest) + if x == nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + options := runtime.MarshalInputToOptions(input) + _ = options + size := options.Size(x) + dAtA := make([]byte, size) + i := len(dAtA) + _ = i + var l int + _ = l + if x.unknownFields != nil { + i -= len(x.unknownFields) + copy(dAtA[i:], x.unknownFields) + } + if x.TopicId != 0 { + i = runtime.EncodeVarint(dAtA, i, uint64(x.TopicId)) + i-- + dAtA[i] = 0x8 + } + if input.Buf != nil { + input.Buf = append(input.Buf, dAtA...) + } else { + input.Buf = dAtA + } + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { + x := input.Message.Interface().(*GetPreviousTopicQuantileReputerScoreEmaRequest) + if x == nil { + return protoiface.UnmarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Flags: input.Flags, + }, nil + } + options := runtime.UnmarshalInputToOptions(input) + _ = options + dAtA := input.Buf + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: GetPreviousTopicQuantileReputerScoreEmaRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: GetPreviousTopicQuantileReputerScoreEmaRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field TopicId", wireType) + } + x.TopicId = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + x.TopicId |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + default: + iNdEx = preIndex + skippy, err := runtime.Skip(dAtA[iNdEx:]) + if err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if (iNdEx + skippy) > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + if !options.DiscardUnknown { + x.unknownFields = append(x.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + } + iNdEx += skippy + } + } + + if iNdEx > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, nil + } + return &protoiface.Methods{ + NoUnkeyedLiterals: struct{}{}, + Flags: protoiface.SupportMarshalDeterministic | protoiface.SupportUnmarshalDiscardUnknown, + Size: size, + Marshal: marshal, + Unmarshal: unmarshal, + Merge: nil, + CheckInitialized: nil, + } +} + +var ( + md_GetPreviousTopicQuantileReputerScoreEmaResponse protoreflect.MessageDescriptor + fd_GetPreviousTopicQuantileReputerScoreEmaResponse_value protoreflect.FieldDescriptor +) + +func init() { + file_emissions_v8_query_proto_init() + md_GetPreviousTopicQuantileReputerScoreEmaResponse = File_emissions_v8_query_proto.Messages().ByName("GetPreviousTopicQuantileReputerScoreEmaResponse") + fd_GetPreviousTopicQuantileReputerScoreEmaResponse_value = md_GetPreviousTopicQuantileReputerScoreEmaResponse.Fields().ByName("value") +} + +var _ protoreflect.Message = (*fastReflection_GetPreviousTopicQuantileReputerScoreEmaResponse)(nil) + +type fastReflection_GetPreviousTopicQuantileReputerScoreEmaResponse GetPreviousTopicQuantileReputerScoreEmaResponse + +func (x *GetPreviousTopicQuantileReputerScoreEmaResponse) ProtoReflect() protoreflect.Message { + return (*fastReflection_GetPreviousTopicQuantileReputerScoreEmaResponse)(x) +} + +func (x *GetPreviousTopicQuantileReputerScoreEmaResponse) slowProtoReflect() protoreflect.Message { + mi := &file_emissions_v8_query_proto_msgTypes[169] + 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) +} + +var _fastReflection_GetPreviousTopicQuantileReputerScoreEmaResponse_messageType fastReflection_GetPreviousTopicQuantileReputerScoreEmaResponse_messageType +var _ protoreflect.MessageType = fastReflection_GetPreviousTopicQuantileReputerScoreEmaResponse_messageType{} + +type fastReflection_GetPreviousTopicQuantileReputerScoreEmaResponse_messageType struct{} + +func (x fastReflection_GetPreviousTopicQuantileReputerScoreEmaResponse_messageType) Zero() protoreflect.Message { + return (*fastReflection_GetPreviousTopicQuantileReputerScoreEmaResponse)(nil) +} +func (x fastReflection_GetPreviousTopicQuantileReputerScoreEmaResponse_messageType) New() protoreflect.Message { + return new(fastReflection_GetPreviousTopicQuantileReputerScoreEmaResponse) +} +func (x fastReflection_GetPreviousTopicQuantileReputerScoreEmaResponse_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_GetPreviousTopicQuantileReputerScoreEmaResponse +} + +// Descriptor returns message descriptor, which contains only the protobuf +// type information for the message. +func (x *fastReflection_GetPreviousTopicQuantileReputerScoreEmaResponse) Descriptor() protoreflect.MessageDescriptor { + return md_GetPreviousTopicQuantileReputerScoreEmaResponse +} + +// Type returns the message type, which encapsulates both Go and protobuf +// type information. If the Go type information is not needed, +// it is recommended that the message descriptor be used instead. +func (x *fastReflection_GetPreviousTopicQuantileReputerScoreEmaResponse) Type() protoreflect.MessageType { + return _fastReflection_GetPreviousTopicQuantileReputerScoreEmaResponse_messageType +} + +// New returns a newly allocated and mutable empty message. +func (x *fastReflection_GetPreviousTopicQuantileReputerScoreEmaResponse) New() protoreflect.Message { + return new(fastReflection_GetPreviousTopicQuantileReputerScoreEmaResponse) +} + +// Interface unwraps the message reflection interface and +// returns the underlying ProtoMessage interface. +func (x *fastReflection_GetPreviousTopicQuantileReputerScoreEmaResponse) Interface() protoreflect.ProtoMessage { + return (*GetPreviousTopicQuantileReputerScoreEmaResponse)(x) +} + +// Range iterates over every populated field in an undefined order, +// calling f for each field descriptor and value encountered. +// Range returns immediately if f returns false. +// While iterating, mutating operations may only be performed +// on the current field descriptor. +func (x *fastReflection_GetPreviousTopicQuantileReputerScoreEmaResponse) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { + if x.Value != "" { + value := protoreflect.ValueOfString(x.Value) + if !f(fd_GetPreviousTopicQuantileReputerScoreEmaResponse_value, value) { + return + } + } +} + +// Has reports whether a field is populated. +// +// Some fields have the property of nullability where it is possible to +// distinguish between the default value of a field and whether the field +// was explicitly populated with the default value. Singular message fields, +// member fields of a oneof, and proto2 scalar fields are nullable. Such +// fields are populated only if explicitly set. +// +// In other cases (aside from the nullable cases above), +// a proto3 scalar field is populated if it contains a non-zero value, and +// a repeated field is populated if it is non-empty. +func (x *fastReflection_GetPreviousTopicQuantileReputerScoreEmaResponse) Has(fd protoreflect.FieldDescriptor) bool { + switch fd.FullName() { + case "emissions.v8.GetPreviousTopicQuantileReputerScoreEmaResponse.value": + return x.Value != "" + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetPreviousTopicQuantileReputerScoreEmaResponse")) + } + panic(fmt.Errorf("message emissions.v8.GetPreviousTopicQuantileReputerScoreEmaResponse does not contain field %s", fd.FullName())) + } +} + +// Clear clears the field such that a subsequent Has call reports false. +// +// Clearing an extension field clears both the extension type and value +// associated with the given field number. +// +// Clear is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetPreviousTopicQuantileReputerScoreEmaResponse) Clear(fd protoreflect.FieldDescriptor) { + switch fd.FullName() { + case "emissions.v8.GetPreviousTopicQuantileReputerScoreEmaResponse.value": + x.Value = "" + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetPreviousTopicQuantileReputerScoreEmaResponse")) + } + panic(fmt.Errorf("message emissions.v8.GetPreviousTopicQuantileReputerScoreEmaResponse does not contain field %s", fd.FullName())) + } +} + +// Get retrieves the value for a field. +// +// For unpopulated scalars, it returns the default value, where +// the default value of a bytes scalar is guaranteed to be a copy. +// For unpopulated composite types, it returns an empty, read-only view +// of the value; to obtain a mutable reference, use Mutable. +func (x *fastReflection_GetPreviousTopicQuantileReputerScoreEmaResponse) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { + switch descriptor.FullName() { + case "emissions.v8.GetPreviousTopicQuantileReputerScoreEmaResponse.value": + value := x.Value + return protoreflect.ValueOfString(value) + default: + if descriptor.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetPreviousTopicQuantileReputerScoreEmaResponse")) + } + panic(fmt.Errorf("message emissions.v8.GetPreviousTopicQuantileReputerScoreEmaResponse does not contain field %s", descriptor.FullName())) + } +} + +// Set stores the value for a field. +// +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType. +// When setting a composite type, it is unspecified whether the stored value +// aliases the source's memory in any way. If the composite value is an +// empty, read-only value, then it panics. +// +// Set is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetPreviousTopicQuantileReputerScoreEmaResponse) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { + switch fd.FullName() { + case "emissions.v8.GetPreviousTopicQuantileReputerScoreEmaResponse.value": + x.Value = value.Interface().(string) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetPreviousTopicQuantileReputerScoreEmaResponse")) + } + panic(fmt.Errorf("message emissions.v8.GetPreviousTopicQuantileReputerScoreEmaResponse does not contain field %s", fd.FullName())) + } +} + +// Mutable returns a mutable reference to a composite type. +// +// If the field is unpopulated, it may allocate a composite value. +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType +// if not already stored. +// It panics if the field does not contain a composite type. +// +// Mutable is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetPreviousTopicQuantileReputerScoreEmaResponse) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.GetPreviousTopicQuantileReputerScoreEmaResponse.value": + panic(fmt.Errorf("field value of message emissions.v8.GetPreviousTopicQuantileReputerScoreEmaResponse is not mutable")) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetPreviousTopicQuantileReputerScoreEmaResponse")) + } + panic(fmt.Errorf("message emissions.v8.GetPreviousTopicQuantileReputerScoreEmaResponse does not contain field %s", fd.FullName())) + } +} + +// NewField returns a new value that is assignable to the field +// for the given descriptor. For scalars, this returns the default value. +// For lists, maps, and messages, this returns a new, empty, mutable value. +func (x *fastReflection_GetPreviousTopicQuantileReputerScoreEmaResponse) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.GetPreviousTopicQuantileReputerScoreEmaResponse.value": + return protoreflect.ValueOfString("") + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetPreviousTopicQuantileReputerScoreEmaResponse")) + } + panic(fmt.Errorf("message emissions.v8.GetPreviousTopicQuantileReputerScoreEmaResponse does not contain field %s", fd.FullName())) + } +} + +// WhichOneof reports which field within the oneof is populated, +// returning nil if none are populated. +// It panics if the oneof descriptor does not belong to this message. +func (x *fastReflection_GetPreviousTopicQuantileReputerScoreEmaResponse) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { + switch d.FullName() { + default: + panic(fmt.Errorf("%s is not a oneof field in emissions.v8.GetPreviousTopicQuantileReputerScoreEmaResponse", d.FullName())) + } + panic("unreachable") +} + +// GetUnknown retrieves the entire list of unknown fields. +// The caller may only mutate the contents of the RawFields +// if the mutated bytes are stored back into the message with SetUnknown. +func (x *fastReflection_GetPreviousTopicQuantileReputerScoreEmaResponse) GetUnknown() protoreflect.RawFields { + return x.unknownFields +} + +// SetUnknown stores an entire list of unknown fields. +// The raw fields must be syntactically valid according to the wire format. +// An implementation may panic if this is not the case. +// Once stored, the caller must not mutate the content of the RawFields. +// An empty RawFields may be passed to clear the fields. +// +// SetUnknown is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetPreviousTopicQuantileReputerScoreEmaResponse) SetUnknown(fields protoreflect.RawFields) { + x.unknownFields = fields +} + +// IsValid reports whether the message is valid. +// +// An invalid message is an empty, read-only value. +// +// An invalid message often corresponds to a nil pointer of the concrete +// message type, but the details are implementation dependent. +// Validity is not part of the protobuf data model, and may not +// be preserved in marshaling or other operations. +func (x *fastReflection_GetPreviousTopicQuantileReputerScoreEmaResponse) IsValid() bool { + return x != nil +} + +// ProtoMethods returns optional fastReflectionFeature-path implementations of various operations. +// This method may return nil. +// +// The returned methods type is identical to +// "google.golang.org/protobuf/runtime/protoiface".Methods. +// Consult the protoiface package documentation for details. +func (x *fastReflection_GetPreviousTopicQuantileReputerScoreEmaResponse) ProtoMethods() *protoiface.Methods { + size := func(input protoiface.SizeInput) protoiface.SizeOutput { + x := input.Message.Interface().(*GetPreviousTopicQuantileReputerScoreEmaResponse) + if x == nil { + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: 0, + } + } + options := runtime.SizeInputToOptions(input) + _ = options + var n int + var l int + _ = l + l = len(x.Value) + if l > 0 { + n += 1 + l + runtime.Sov(uint64(l)) + } + if x.unknownFields != nil { + n += len(x.unknownFields) + } + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: n, + } + } + + marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { + x := input.Message.Interface().(*GetPreviousTopicQuantileReputerScoreEmaResponse) + if x == nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + options := runtime.MarshalInputToOptions(input) + _ = options + size := options.Size(x) + dAtA := make([]byte, size) + i := len(dAtA) + _ = i + var l int + _ = l + if x.unknownFields != nil { + i -= len(x.unknownFields) + copy(dAtA[i:], x.unknownFields) + } + if len(x.Value) > 0 { + i -= len(x.Value) + copy(dAtA[i:], x.Value) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.Value))) + i-- + dAtA[i] = 0xa + } + if input.Buf != nil { + input.Buf = append(input.Buf, dAtA...) + } else { + input.Buf = dAtA + } + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { + x := input.Message.Interface().(*GetPreviousTopicQuantileReputerScoreEmaResponse) + if x == nil { + return protoiface.UnmarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Flags: input.Flags, + }, nil + } + options := runtime.UnmarshalInputToOptions(input) + _ = options + dAtA := input.Buf + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: GetPreviousTopicQuantileReputerScoreEmaResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: GetPreviousTopicQuantileReputerScoreEmaResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Value", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + x.Value = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := runtime.Skip(dAtA[iNdEx:]) + if err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if (iNdEx + skippy) > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + if !options.DiscardUnknown { + x.unknownFields = append(x.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + } + iNdEx += skippy + } + } + + if iNdEx > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, nil + } + return &protoiface.Methods{ + NoUnkeyedLiterals: struct{}{}, + Flags: protoiface.SupportMarshalDeterministic | protoiface.SupportUnmarshalDiscardUnknown, + Size: size, + Marshal: marshal, + Unmarshal: unmarshal, + Merge: nil, + CheckInitialized: nil, + } +} + +var ( + md_GetWorkerInferenceScoresAtBlockRequest protoreflect.MessageDescriptor + fd_GetWorkerInferenceScoresAtBlockRequest_topic_id protoreflect.FieldDescriptor + fd_GetWorkerInferenceScoresAtBlockRequest_block_height protoreflect.FieldDescriptor +) + +func init() { + file_emissions_v8_query_proto_init() + md_GetWorkerInferenceScoresAtBlockRequest = File_emissions_v8_query_proto.Messages().ByName("GetWorkerInferenceScoresAtBlockRequest") + fd_GetWorkerInferenceScoresAtBlockRequest_topic_id = md_GetWorkerInferenceScoresAtBlockRequest.Fields().ByName("topic_id") + fd_GetWorkerInferenceScoresAtBlockRequest_block_height = md_GetWorkerInferenceScoresAtBlockRequest.Fields().ByName("block_height") +} + +var _ protoreflect.Message = (*fastReflection_GetWorkerInferenceScoresAtBlockRequest)(nil) + +type fastReflection_GetWorkerInferenceScoresAtBlockRequest GetWorkerInferenceScoresAtBlockRequest + +func (x *GetWorkerInferenceScoresAtBlockRequest) ProtoReflect() protoreflect.Message { + return (*fastReflection_GetWorkerInferenceScoresAtBlockRequest)(x) +} + +func (x *GetWorkerInferenceScoresAtBlockRequest) slowProtoReflect() protoreflect.Message { + mi := &file_emissions_v8_query_proto_msgTypes[170] + 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) +} + +var _fastReflection_GetWorkerInferenceScoresAtBlockRequest_messageType fastReflection_GetWorkerInferenceScoresAtBlockRequest_messageType +var _ protoreflect.MessageType = fastReflection_GetWorkerInferenceScoresAtBlockRequest_messageType{} + +type fastReflection_GetWorkerInferenceScoresAtBlockRequest_messageType struct{} + +func (x fastReflection_GetWorkerInferenceScoresAtBlockRequest_messageType) Zero() protoreflect.Message { + return (*fastReflection_GetWorkerInferenceScoresAtBlockRequest)(nil) +} +func (x fastReflection_GetWorkerInferenceScoresAtBlockRequest_messageType) New() protoreflect.Message { + return new(fastReflection_GetWorkerInferenceScoresAtBlockRequest) +} +func (x fastReflection_GetWorkerInferenceScoresAtBlockRequest_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_GetWorkerInferenceScoresAtBlockRequest +} + +// Descriptor returns message descriptor, which contains only the protobuf +// type information for the message. +func (x *fastReflection_GetWorkerInferenceScoresAtBlockRequest) Descriptor() protoreflect.MessageDescriptor { + return md_GetWorkerInferenceScoresAtBlockRequest +} + +// Type returns the message type, which encapsulates both Go and protobuf +// type information. If the Go type information is not needed, +// it is recommended that the message descriptor be used instead. +func (x *fastReflection_GetWorkerInferenceScoresAtBlockRequest) Type() protoreflect.MessageType { + return _fastReflection_GetWorkerInferenceScoresAtBlockRequest_messageType +} + +// New returns a newly allocated and mutable empty message. +func (x *fastReflection_GetWorkerInferenceScoresAtBlockRequest) New() protoreflect.Message { + return new(fastReflection_GetWorkerInferenceScoresAtBlockRequest) +} + +// Interface unwraps the message reflection interface and +// returns the underlying ProtoMessage interface. +func (x *fastReflection_GetWorkerInferenceScoresAtBlockRequest) Interface() protoreflect.ProtoMessage { + return (*GetWorkerInferenceScoresAtBlockRequest)(x) +} + +// Range iterates over every populated field in an undefined order, +// calling f for each field descriptor and value encountered. +// Range returns immediately if f returns false. +// While iterating, mutating operations may only be performed +// on the current field descriptor. +func (x *fastReflection_GetWorkerInferenceScoresAtBlockRequest) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { + if x.TopicId != uint64(0) { + value := protoreflect.ValueOfUint64(x.TopicId) + if !f(fd_GetWorkerInferenceScoresAtBlockRequest_topic_id, value) { + return + } + } + if x.BlockHeight != int64(0) { + value := protoreflect.ValueOfInt64(x.BlockHeight) + if !f(fd_GetWorkerInferenceScoresAtBlockRequest_block_height, value) { + return + } + } +} + +// Has reports whether a field is populated. +// +// Some fields have the property of nullability where it is possible to +// distinguish between the default value of a field and whether the field +// was explicitly populated with the default value. Singular message fields, +// member fields of a oneof, and proto2 scalar fields are nullable. Such +// fields are populated only if explicitly set. +// +// In other cases (aside from the nullable cases above), +// a proto3 scalar field is populated if it contains a non-zero value, and +// a repeated field is populated if it is non-empty. +func (x *fastReflection_GetWorkerInferenceScoresAtBlockRequest) Has(fd protoreflect.FieldDescriptor) bool { + switch fd.FullName() { + case "emissions.v8.GetWorkerInferenceScoresAtBlockRequest.topic_id": + return x.TopicId != uint64(0) + case "emissions.v8.GetWorkerInferenceScoresAtBlockRequest.block_height": + return x.BlockHeight != int64(0) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetWorkerInferenceScoresAtBlockRequest")) + } + panic(fmt.Errorf("message emissions.v8.GetWorkerInferenceScoresAtBlockRequest does not contain field %s", fd.FullName())) + } +} + +// Clear clears the field such that a subsequent Has call reports false. +// +// Clearing an extension field clears both the extension type and value +// associated with the given field number. +// +// Clear is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetWorkerInferenceScoresAtBlockRequest) Clear(fd protoreflect.FieldDescriptor) { + switch fd.FullName() { + case "emissions.v8.GetWorkerInferenceScoresAtBlockRequest.topic_id": + x.TopicId = uint64(0) + case "emissions.v8.GetWorkerInferenceScoresAtBlockRequest.block_height": + x.BlockHeight = int64(0) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetWorkerInferenceScoresAtBlockRequest")) + } + panic(fmt.Errorf("message emissions.v8.GetWorkerInferenceScoresAtBlockRequest does not contain field %s", fd.FullName())) + } +} + +// Get retrieves the value for a field. +// +// For unpopulated scalars, it returns the default value, where +// the default value of a bytes scalar is guaranteed to be a copy. +// For unpopulated composite types, it returns an empty, read-only view +// of the value; to obtain a mutable reference, use Mutable. +func (x *fastReflection_GetWorkerInferenceScoresAtBlockRequest) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { + switch descriptor.FullName() { + case "emissions.v8.GetWorkerInferenceScoresAtBlockRequest.topic_id": + value := x.TopicId + return protoreflect.ValueOfUint64(value) + case "emissions.v8.GetWorkerInferenceScoresAtBlockRequest.block_height": + value := x.BlockHeight + return protoreflect.ValueOfInt64(value) + default: + if descriptor.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetWorkerInferenceScoresAtBlockRequest")) + } + panic(fmt.Errorf("message emissions.v8.GetWorkerInferenceScoresAtBlockRequest does not contain field %s", descriptor.FullName())) + } +} + +// Set stores the value for a field. +// +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType. +// When setting a composite type, it is unspecified whether the stored value +// aliases the source's memory in any way. If the composite value is an +// empty, read-only value, then it panics. +// +// Set is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetWorkerInferenceScoresAtBlockRequest) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { + switch fd.FullName() { + case "emissions.v8.GetWorkerInferenceScoresAtBlockRequest.topic_id": + x.TopicId = value.Uint() + case "emissions.v8.GetWorkerInferenceScoresAtBlockRequest.block_height": + x.BlockHeight = value.Int() + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetWorkerInferenceScoresAtBlockRequest")) + } + panic(fmt.Errorf("message emissions.v8.GetWorkerInferenceScoresAtBlockRequest does not contain field %s", fd.FullName())) + } +} + +// Mutable returns a mutable reference to a composite type. +// +// If the field is unpopulated, it may allocate a composite value. +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType +// if not already stored. +// It panics if the field does not contain a composite type. +// +// Mutable is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetWorkerInferenceScoresAtBlockRequest) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.GetWorkerInferenceScoresAtBlockRequest.topic_id": + panic(fmt.Errorf("field topic_id of message emissions.v8.GetWorkerInferenceScoresAtBlockRequest is not mutable")) + case "emissions.v8.GetWorkerInferenceScoresAtBlockRequest.block_height": + panic(fmt.Errorf("field block_height of message emissions.v8.GetWorkerInferenceScoresAtBlockRequest is not mutable")) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetWorkerInferenceScoresAtBlockRequest")) + } + panic(fmt.Errorf("message emissions.v8.GetWorkerInferenceScoresAtBlockRequest does not contain field %s", fd.FullName())) + } +} + +// NewField returns a new value that is assignable to the field +// for the given descriptor. For scalars, this returns the default value. +// For lists, maps, and messages, this returns a new, empty, mutable value. +func (x *fastReflection_GetWorkerInferenceScoresAtBlockRequest) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.GetWorkerInferenceScoresAtBlockRequest.topic_id": + return protoreflect.ValueOfUint64(uint64(0)) + case "emissions.v8.GetWorkerInferenceScoresAtBlockRequest.block_height": + return protoreflect.ValueOfInt64(int64(0)) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetWorkerInferenceScoresAtBlockRequest")) + } + panic(fmt.Errorf("message emissions.v8.GetWorkerInferenceScoresAtBlockRequest does not contain field %s", fd.FullName())) + } +} + +// WhichOneof reports which field within the oneof is populated, +// returning nil if none are populated. +// It panics if the oneof descriptor does not belong to this message. +func (x *fastReflection_GetWorkerInferenceScoresAtBlockRequest) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { + switch d.FullName() { + default: + panic(fmt.Errorf("%s is not a oneof field in emissions.v8.GetWorkerInferenceScoresAtBlockRequest", d.FullName())) + } + panic("unreachable") +} + +// GetUnknown retrieves the entire list of unknown fields. +// The caller may only mutate the contents of the RawFields +// if the mutated bytes are stored back into the message with SetUnknown. +func (x *fastReflection_GetWorkerInferenceScoresAtBlockRequest) GetUnknown() protoreflect.RawFields { + return x.unknownFields +} + +// SetUnknown stores an entire list of unknown fields. +// The raw fields must be syntactically valid according to the wire format. +// An implementation may panic if this is not the case. +// Once stored, the caller must not mutate the content of the RawFields. +// An empty RawFields may be passed to clear the fields. +// +// SetUnknown is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetWorkerInferenceScoresAtBlockRequest) SetUnknown(fields protoreflect.RawFields) { + x.unknownFields = fields +} + +// IsValid reports whether the message is valid. +// +// An invalid message is an empty, read-only value. +// +// An invalid message often corresponds to a nil pointer of the concrete +// message type, but the details are implementation dependent. +// Validity is not part of the protobuf data model, and may not +// be preserved in marshaling or other operations. +func (x *fastReflection_GetWorkerInferenceScoresAtBlockRequest) IsValid() bool { + return x != nil +} + +// ProtoMethods returns optional fastReflectionFeature-path implementations of various operations. +// This method may return nil. +// +// The returned methods type is identical to +// "google.golang.org/protobuf/runtime/protoiface".Methods. +// Consult the protoiface package documentation for details. +func (x *fastReflection_GetWorkerInferenceScoresAtBlockRequest) ProtoMethods() *protoiface.Methods { + size := func(input protoiface.SizeInput) protoiface.SizeOutput { + x := input.Message.Interface().(*GetWorkerInferenceScoresAtBlockRequest) + if x == nil { + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: 0, + } + } + options := runtime.SizeInputToOptions(input) + _ = options + var n int + var l int + _ = l + if x.TopicId != 0 { + n += 1 + runtime.Sov(uint64(x.TopicId)) + } + if x.BlockHeight != 0 { + n += 1 + runtime.Sov(uint64(x.BlockHeight)) + } + if x.unknownFields != nil { + n += len(x.unknownFields) + } + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: n, + } + } + + marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { + x := input.Message.Interface().(*GetWorkerInferenceScoresAtBlockRequest) + if x == nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + options := runtime.MarshalInputToOptions(input) + _ = options + size := options.Size(x) + dAtA := make([]byte, size) + i := len(dAtA) + _ = i + var l int + _ = l + if x.unknownFields != nil { + i -= len(x.unknownFields) + copy(dAtA[i:], x.unknownFields) + } + if x.BlockHeight != 0 { + i = runtime.EncodeVarint(dAtA, i, uint64(x.BlockHeight)) + i-- + dAtA[i] = 0x10 + } + if x.TopicId != 0 { + i = runtime.EncodeVarint(dAtA, i, uint64(x.TopicId)) + i-- + dAtA[i] = 0x8 + } + if input.Buf != nil { + input.Buf = append(input.Buf, dAtA...) + } else { + input.Buf = dAtA + } + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { + x := input.Message.Interface().(*GetWorkerInferenceScoresAtBlockRequest) + if x == nil { + return protoiface.UnmarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Flags: input.Flags, + }, nil + } + options := runtime.UnmarshalInputToOptions(input) + _ = options + dAtA := input.Buf + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: GetWorkerInferenceScoresAtBlockRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: GetWorkerInferenceScoresAtBlockRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field TopicId", wireType) + } + x.TopicId = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + x.TopicId |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 2: + if wireType != 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field BlockHeight", wireType) + } + x.BlockHeight = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + x.BlockHeight |= int64(b&0x7F) << shift + if b < 0x80 { + break + } + } + default: + iNdEx = preIndex + skippy, err := runtime.Skip(dAtA[iNdEx:]) + if err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if (iNdEx + skippy) > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + if !options.DiscardUnknown { + x.unknownFields = append(x.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + } + iNdEx += skippy + } + } + + if iNdEx > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, nil + } + return &protoiface.Methods{ + NoUnkeyedLiterals: struct{}{}, + Flags: protoiface.SupportMarshalDeterministic | protoiface.SupportUnmarshalDiscardUnknown, + Size: size, + Marshal: marshal, + Unmarshal: unmarshal, + Merge: nil, + CheckInitialized: nil, + } +} + +var ( + md_GetWorkerInferenceScoresAtBlockResponse protoreflect.MessageDescriptor + fd_GetWorkerInferenceScoresAtBlockResponse_scores protoreflect.FieldDescriptor +) + +func init() { + file_emissions_v8_query_proto_init() + md_GetWorkerInferenceScoresAtBlockResponse = File_emissions_v8_query_proto.Messages().ByName("GetWorkerInferenceScoresAtBlockResponse") + fd_GetWorkerInferenceScoresAtBlockResponse_scores = md_GetWorkerInferenceScoresAtBlockResponse.Fields().ByName("scores") +} + +var _ protoreflect.Message = (*fastReflection_GetWorkerInferenceScoresAtBlockResponse)(nil) + +type fastReflection_GetWorkerInferenceScoresAtBlockResponse GetWorkerInferenceScoresAtBlockResponse + +func (x *GetWorkerInferenceScoresAtBlockResponse) ProtoReflect() protoreflect.Message { + return (*fastReflection_GetWorkerInferenceScoresAtBlockResponse)(x) +} + +func (x *GetWorkerInferenceScoresAtBlockResponse) slowProtoReflect() protoreflect.Message { + mi := &file_emissions_v8_query_proto_msgTypes[171] + 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) +} + +var _fastReflection_GetWorkerInferenceScoresAtBlockResponse_messageType fastReflection_GetWorkerInferenceScoresAtBlockResponse_messageType +var _ protoreflect.MessageType = fastReflection_GetWorkerInferenceScoresAtBlockResponse_messageType{} + +type fastReflection_GetWorkerInferenceScoresAtBlockResponse_messageType struct{} + +func (x fastReflection_GetWorkerInferenceScoresAtBlockResponse_messageType) Zero() protoreflect.Message { + return (*fastReflection_GetWorkerInferenceScoresAtBlockResponse)(nil) +} +func (x fastReflection_GetWorkerInferenceScoresAtBlockResponse_messageType) New() protoreflect.Message { + return new(fastReflection_GetWorkerInferenceScoresAtBlockResponse) +} +func (x fastReflection_GetWorkerInferenceScoresAtBlockResponse_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_GetWorkerInferenceScoresAtBlockResponse +} + +// Descriptor returns message descriptor, which contains only the protobuf +// type information for the message. +func (x *fastReflection_GetWorkerInferenceScoresAtBlockResponse) Descriptor() protoreflect.MessageDescriptor { + return md_GetWorkerInferenceScoresAtBlockResponse +} + +// Type returns the message type, which encapsulates both Go and protobuf +// type information. If the Go type information is not needed, +// it is recommended that the message descriptor be used instead. +func (x *fastReflection_GetWorkerInferenceScoresAtBlockResponse) Type() protoreflect.MessageType { + return _fastReflection_GetWorkerInferenceScoresAtBlockResponse_messageType +} + +// New returns a newly allocated and mutable empty message. +func (x *fastReflection_GetWorkerInferenceScoresAtBlockResponse) New() protoreflect.Message { + return new(fastReflection_GetWorkerInferenceScoresAtBlockResponse) +} + +// Interface unwraps the message reflection interface and +// returns the underlying ProtoMessage interface. +func (x *fastReflection_GetWorkerInferenceScoresAtBlockResponse) Interface() protoreflect.ProtoMessage { + return (*GetWorkerInferenceScoresAtBlockResponse)(x) +} + +// Range iterates over every populated field in an undefined order, +// calling f for each field descriptor and value encountered. +// Range returns immediately if f returns false. +// While iterating, mutating operations may only be performed +// on the current field descriptor. +func (x *fastReflection_GetWorkerInferenceScoresAtBlockResponse) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { + if x.Scores != nil { + value := protoreflect.ValueOfMessage(x.Scores.ProtoReflect()) + if !f(fd_GetWorkerInferenceScoresAtBlockResponse_scores, value) { + return + } + } +} + +// Has reports whether a field is populated. +// +// Some fields have the property of nullability where it is possible to +// distinguish between the default value of a field and whether the field +// was explicitly populated with the default value. Singular message fields, +// member fields of a oneof, and proto2 scalar fields are nullable. Such +// fields are populated only if explicitly set. +// +// In other cases (aside from the nullable cases above), +// a proto3 scalar field is populated if it contains a non-zero value, and +// a repeated field is populated if it is non-empty. +func (x *fastReflection_GetWorkerInferenceScoresAtBlockResponse) Has(fd protoreflect.FieldDescriptor) bool { + switch fd.FullName() { + case "emissions.v8.GetWorkerInferenceScoresAtBlockResponse.scores": + return x.Scores != nil + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetWorkerInferenceScoresAtBlockResponse")) + } + panic(fmt.Errorf("message emissions.v8.GetWorkerInferenceScoresAtBlockResponse does not contain field %s", fd.FullName())) + } +} + +// Clear clears the field such that a subsequent Has call reports false. +// +// Clearing an extension field clears both the extension type and value +// associated with the given field number. +// +// Clear is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetWorkerInferenceScoresAtBlockResponse) Clear(fd protoreflect.FieldDescriptor) { + switch fd.FullName() { + case "emissions.v8.GetWorkerInferenceScoresAtBlockResponse.scores": + x.Scores = nil + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetWorkerInferenceScoresAtBlockResponse")) + } + panic(fmt.Errorf("message emissions.v8.GetWorkerInferenceScoresAtBlockResponse does not contain field %s", fd.FullName())) + } +} + +// Get retrieves the value for a field. +// +// For unpopulated scalars, it returns the default value, where +// the default value of a bytes scalar is guaranteed to be a copy. +// For unpopulated composite types, it returns an empty, read-only view +// of the value; to obtain a mutable reference, use Mutable. +func (x *fastReflection_GetWorkerInferenceScoresAtBlockResponse) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { + switch descriptor.FullName() { + case "emissions.v8.GetWorkerInferenceScoresAtBlockResponse.scores": + value := x.Scores + return protoreflect.ValueOfMessage(value.ProtoReflect()) + default: + if descriptor.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetWorkerInferenceScoresAtBlockResponse")) + } + panic(fmt.Errorf("message emissions.v8.GetWorkerInferenceScoresAtBlockResponse does not contain field %s", descriptor.FullName())) + } +} + +// Set stores the value for a field. +// +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType. +// When setting a composite type, it is unspecified whether the stored value +// aliases the source's memory in any way. If the composite value is an +// empty, read-only value, then it panics. +// +// Set is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetWorkerInferenceScoresAtBlockResponse) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { + switch fd.FullName() { + case "emissions.v8.GetWorkerInferenceScoresAtBlockResponse.scores": + x.Scores = value.Message().Interface().(*v3.Scores) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetWorkerInferenceScoresAtBlockResponse")) + } + panic(fmt.Errorf("message emissions.v8.GetWorkerInferenceScoresAtBlockResponse does not contain field %s", fd.FullName())) + } +} + +// Mutable returns a mutable reference to a composite type. +// +// If the field is unpopulated, it may allocate a composite value. +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType +// if not already stored. +// It panics if the field does not contain a composite type. +// +// Mutable is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetWorkerInferenceScoresAtBlockResponse) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.GetWorkerInferenceScoresAtBlockResponse.scores": + if x.Scores == nil { + x.Scores = new(v3.Scores) + } + return protoreflect.ValueOfMessage(x.Scores.ProtoReflect()) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetWorkerInferenceScoresAtBlockResponse")) + } + panic(fmt.Errorf("message emissions.v8.GetWorkerInferenceScoresAtBlockResponse does not contain field %s", fd.FullName())) + } +} + +// NewField returns a new value that is assignable to the field +// for the given descriptor. For scalars, this returns the default value. +// For lists, maps, and messages, this returns a new, empty, mutable value. +func (x *fastReflection_GetWorkerInferenceScoresAtBlockResponse) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.GetWorkerInferenceScoresAtBlockResponse.scores": + m := new(v3.Scores) + return protoreflect.ValueOfMessage(m.ProtoReflect()) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetWorkerInferenceScoresAtBlockResponse")) + } + panic(fmt.Errorf("message emissions.v8.GetWorkerInferenceScoresAtBlockResponse does not contain field %s", fd.FullName())) + } +} + +// WhichOneof reports which field within the oneof is populated, +// returning nil if none are populated. +// It panics if the oneof descriptor does not belong to this message. +func (x *fastReflection_GetWorkerInferenceScoresAtBlockResponse) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { + switch d.FullName() { + default: + panic(fmt.Errorf("%s is not a oneof field in emissions.v8.GetWorkerInferenceScoresAtBlockResponse", d.FullName())) + } + panic("unreachable") +} + +// GetUnknown retrieves the entire list of unknown fields. +// The caller may only mutate the contents of the RawFields +// if the mutated bytes are stored back into the message with SetUnknown. +func (x *fastReflection_GetWorkerInferenceScoresAtBlockResponse) GetUnknown() protoreflect.RawFields { + return x.unknownFields +} + +// SetUnknown stores an entire list of unknown fields. +// The raw fields must be syntactically valid according to the wire format. +// An implementation may panic if this is not the case. +// Once stored, the caller must not mutate the content of the RawFields. +// An empty RawFields may be passed to clear the fields. +// +// SetUnknown is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetWorkerInferenceScoresAtBlockResponse) SetUnknown(fields protoreflect.RawFields) { + x.unknownFields = fields +} + +// IsValid reports whether the message is valid. +// +// An invalid message is an empty, read-only value. +// +// An invalid message often corresponds to a nil pointer of the concrete +// message type, but the details are implementation dependent. +// Validity is not part of the protobuf data model, and may not +// be preserved in marshaling or other operations. +func (x *fastReflection_GetWorkerInferenceScoresAtBlockResponse) IsValid() bool { + return x != nil +} + +// ProtoMethods returns optional fastReflectionFeature-path implementations of various operations. +// This method may return nil. +// +// The returned methods type is identical to +// "google.golang.org/protobuf/runtime/protoiface".Methods. +// Consult the protoiface package documentation for details. +func (x *fastReflection_GetWorkerInferenceScoresAtBlockResponse) ProtoMethods() *protoiface.Methods { + size := func(input protoiface.SizeInput) protoiface.SizeOutput { + x := input.Message.Interface().(*GetWorkerInferenceScoresAtBlockResponse) + if x == nil { + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: 0, + } + } + options := runtime.SizeInputToOptions(input) + _ = options + var n int + var l int + _ = l + if x.Scores != nil { + l = options.Size(x.Scores) + n += 1 + l + runtime.Sov(uint64(l)) + } + if x.unknownFields != nil { + n += len(x.unknownFields) + } + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: n, + } + } + + marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { + x := input.Message.Interface().(*GetWorkerInferenceScoresAtBlockResponse) + if x == nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + options := runtime.MarshalInputToOptions(input) + _ = options + size := options.Size(x) + dAtA := make([]byte, size) + i := len(dAtA) + _ = i + var l int + _ = l + if x.unknownFields != nil { + i -= len(x.unknownFields) + copy(dAtA[i:], x.unknownFields) + } + if x.Scores != nil { + encoded, err := options.Marshal(x.Scores) + if err != nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = runtime.EncodeVarint(dAtA, i, uint64(len(encoded))) + i-- + dAtA[i] = 0xa + } + if input.Buf != nil { + input.Buf = append(input.Buf, dAtA...) + } else { + input.Buf = dAtA + } + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { + x := input.Message.Interface().(*GetWorkerInferenceScoresAtBlockResponse) + if x == nil { + return protoiface.UnmarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Flags: input.Flags, + }, nil + } + options := runtime.UnmarshalInputToOptions(input) + _ = options + dAtA := input.Buf + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: GetWorkerInferenceScoresAtBlockResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: GetWorkerInferenceScoresAtBlockResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Scores", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + if x.Scores == nil { + x.Scores = &v3.Scores{} + } + if err := options.Unmarshal(dAtA[iNdEx:postIndex], x.Scores); err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := runtime.Skip(dAtA[iNdEx:]) + if err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if (iNdEx + skippy) > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + if !options.DiscardUnknown { + x.unknownFields = append(x.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + } + iNdEx += skippy + } + } + + if iNdEx > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, nil + } + return &protoiface.Methods{ + NoUnkeyedLiterals: struct{}{}, + Flags: protoiface.SupportMarshalDeterministic | protoiface.SupportUnmarshalDiscardUnknown, + Size: size, + Marshal: marshal, + Unmarshal: unmarshal, + Merge: nil, + CheckInitialized: nil, + } +} + +var ( + md_GetCurrentLowestInfererScoreRequest protoreflect.MessageDescriptor + fd_GetCurrentLowestInfererScoreRequest_topic_id protoreflect.FieldDescriptor +) + +func init() { + file_emissions_v8_query_proto_init() + md_GetCurrentLowestInfererScoreRequest = File_emissions_v8_query_proto.Messages().ByName("GetCurrentLowestInfererScoreRequest") + fd_GetCurrentLowestInfererScoreRequest_topic_id = md_GetCurrentLowestInfererScoreRequest.Fields().ByName("topic_id") +} + +var _ protoreflect.Message = (*fastReflection_GetCurrentLowestInfererScoreRequest)(nil) + +type fastReflection_GetCurrentLowestInfererScoreRequest GetCurrentLowestInfererScoreRequest + +func (x *GetCurrentLowestInfererScoreRequest) ProtoReflect() protoreflect.Message { + return (*fastReflection_GetCurrentLowestInfererScoreRequest)(x) +} + +func (x *GetCurrentLowestInfererScoreRequest) slowProtoReflect() protoreflect.Message { + mi := &file_emissions_v8_query_proto_msgTypes[172] + 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) +} + +var _fastReflection_GetCurrentLowestInfererScoreRequest_messageType fastReflection_GetCurrentLowestInfererScoreRequest_messageType +var _ protoreflect.MessageType = fastReflection_GetCurrentLowestInfererScoreRequest_messageType{} + +type fastReflection_GetCurrentLowestInfererScoreRequest_messageType struct{} + +func (x fastReflection_GetCurrentLowestInfererScoreRequest_messageType) Zero() protoreflect.Message { + return (*fastReflection_GetCurrentLowestInfererScoreRequest)(nil) +} +func (x fastReflection_GetCurrentLowestInfererScoreRequest_messageType) New() protoreflect.Message { + return new(fastReflection_GetCurrentLowestInfererScoreRequest) +} +func (x fastReflection_GetCurrentLowestInfererScoreRequest_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_GetCurrentLowestInfererScoreRequest +} + +// Descriptor returns message descriptor, which contains only the protobuf +// type information for the message. +func (x *fastReflection_GetCurrentLowestInfererScoreRequest) Descriptor() protoreflect.MessageDescriptor { + return md_GetCurrentLowestInfererScoreRequest +} + +// Type returns the message type, which encapsulates both Go and protobuf +// type information. If the Go type information is not needed, +// it is recommended that the message descriptor be used instead. +func (x *fastReflection_GetCurrentLowestInfererScoreRequest) Type() protoreflect.MessageType { + return _fastReflection_GetCurrentLowestInfererScoreRequest_messageType +} + +// New returns a newly allocated and mutable empty message. +func (x *fastReflection_GetCurrentLowestInfererScoreRequest) New() protoreflect.Message { + return new(fastReflection_GetCurrentLowestInfererScoreRequest) +} + +// Interface unwraps the message reflection interface and +// returns the underlying ProtoMessage interface. +func (x *fastReflection_GetCurrentLowestInfererScoreRequest) Interface() protoreflect.ProtoMessage { + return (*GetCurrentLowestInfererScoreRequest)(x) +} + +// Range iterates over every populated field in an undefined order, +// calling f for each field descriptor and value encountered. +// Range returns immediately if f returns false. +// While iterating, mutating operations may only be performed +// on the current field descriptor. +func (x *fastReflection_GetCurrentLowestInfererScoreRequest) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { + if x.TopicId != uint64(0) { + value := protoreflect.ValueOfUint64(x.TopicId) + if !f(fd_GetCurrentLowestInfererScoreRequest_topic_id, value) { + return + } + } +} + +// Has reports whether a field is populated. +// +// Some fields have the property of nullability where it is possible to +// distinguish between the default value of a field and whether the field +// was explicitly populated with the default value. Singular message fields, +// member fields of a oneof, and proto2 scalar fields are nullable. Such +// fields are populated only if explicitly set. +// +// In other cases (aside from the nullable cases above), +// a proto3 scalar field is populated if it contains a non-zero value, and +// a repeated field is populated if it is non-empty. +func (x *fastReflection_GetCurrentLowestInfererScoreRequest) Has(fd protoreflect.FieldDescriptor) bool { + switch fd.FullName() { + case "emissions.v8.GetCurrentLowestInfererScoreRequest.topic_id": + return x.TopicId != uint64(0) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetCurrentLowestInfererScoreRequest")) + } + panic(fmt.Errorf("message emissions.v8.GetCurrentLowestInfererScoreRequest does not contain field %s", fd.FullName())) + } +} + +// Clear clears the field such that a subsequent Has call reports false. +// +// Clearing an extension field clears both the extension type and value +// associated with the given field number. +// +// Clear is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetCurrentLowestInfererScoreRequest) Clear(fd protoreflect.FieldDescriptor) { + switch fd.FullName() { + case "emissions.v8.GetCurrentLowestInfererScoreRequest.topic_id": + x.TopicId = uint64(0) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetCurrentLowestInfererScoreRequest")) + } + panic(fmt.Errorf("message emissions.v8.GetCurrentLowestInfererScoreRequest does not contain field %s", fd.FullName())) + } +} + +// Get retrieves the value for a field. +// +// For unpopulated scalars, it returns the default value, where +// the default value of a bytes scalar is guaranteed to be a copy. +// For unpopulated composite types, it returns an empty, read-only view +// of the value; to obtain a mutable reference, use Mutable. +func (x *fastReflection_GetCurrentLowestInfererScoreRequest) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { + switch descriptor.FullName() { + case "emissions.v8.GetCurrentLowestInfererScoreRequest.topic_id": + value := x.TopicId + return protoreflect.ValueOfUint64(value) + default: + if descriptor.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetCurrentLowestInfererScoreRequest")) + } + panic(fmt.Errorf("message emissions.v8.GetCurrentLowestInfererScoreRequest does not contain field %s", descriptor.FullName())) + } +} + +// Set stores the value for a field. +// +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType. +// When setting a composite type, it is unspecified whether the stored value +// aliases the source's memory in any way. If the composite value is an +// empty, read-only value, then it panics. +// +// Set is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetCurrentLowestInfererScoreRequest) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { + switch fd.FullName() { + case "emissions.v8.GetCurrentLowestInfererScoreRequest.topic_id": + x.TopicId = value.Uint() + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetCurrentLowestInfererScoreRequest")) + } + panic(fmt.Errorf("message emissions.v8.GetCurrentLowestInfererScoreRequest does not contain field %s", fd.FullName())) + } +} + +// Mutable returns a mutable reference to a composite type. +// +// If the field is unpopulated, it may allocate a composite value. +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType +// if not already stored. +// It panics if the field does not contain a composite type. +// +// Mutable is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetCurrentLowestInfererScoreRequest) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.GetCurrentLowestInfererScoreRequest.topic_id": + panic(fmt.Errorf("field topic_id of message emissions.v8.GetCurrentLowestInfererScoreRequest is not mutable")) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetCurrentLowestInfererScoreRequest")) + } + panic(fmt.Errorf("message emissions.v8.GetCurrentLowestInfererScoreRequest does not contain field %s", fd.FullName())) + } +} + +// NewField returns a new value that is assignable to the field +// for the given descriptor. For scalars, this returns the default value. +// For lists, maps, and messages, this returns a new, empty, mutable value. +func (x *fastReflection_GetCurrentLowestInfererScoreRequest) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.GetCurrentLowestInfererScoreRequest.topic_id": + return protoreflect.ValueOfUint64(uint64(0)) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetCurrentLowestInfererScoreRequest")) + } + panic(fmt.Errorf("message emissions.v8.GetCurrentLowestInfererScoreRequest does not contain field %s", fd.FullName())) + } +} + +// WhichOneof reports which field within the oneof is populated, +// returning nil if none are populated. +// It panics if the oneof descriptor does not belong to this message. +func (x *fastReflection_GetCurrentLowestInfererScoreRequest) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { + switch d.FullName() { + default: + panic(fmt.Errorf("%s is not a oneof field in emissions.v8.GetCurrentLowestInfererScoreRequest", d.FullName())) + } + panic("unreachable") +} + +// GetUnknown retrieves the entire list of unknown fields. +// The caller may only mutate the contents of the RawFields +// if the mutated bytes are stored back into the message with SetUnknown. +func (x *fastReflection_GetCurrentLowestInfererScoreRequest) GetUnknown() protoreflect.RawFields { + return x.unknownFields +} + +// SetUnknown stores an entire list of unknown fields. +// The raw fields must be syntactically valid according to the wire format. +// An implementation may panic if this is not the case. +// Once stored, the caller must not mutate the content of the RawFields. +// An empty RawFields may be passed to clear the fields. +// +// SetUnknown is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetCurrentLowestInfererScoreRequest) SetUnknown(fields protoreflect.RawFields) { + x.unknownFields = fields +} + +// IsValid reports whether the message is valid. +// +// An invalid message is an empty, read-only value. +// +// An invalid message often corresponds to a nil pointer of the concrete +// message type, but the details are implementation dependent. +// Validity is not part of the protobuf data model, and may not +// be preserved in marshaling or other operations. +func (x *fastReflection_GetCurrentLowestInfererScoreRequest) IsValid() bool { + return x != nil +} + +// ProtoMethods returns optional fastReflectionFeature-path implementations of various operations. +// This method may return nil. +// +// The returned methods type is identical to +// "google.golang.org/protobuf/runtime/protoiface".Methods. +// Consult the protoiface package documentation for details. +func (x *fastReflection_GetCurrentLowestInfererScoreRequest) ProtoMethods() *protoiface.Methods { + size := func(input protoiface.SizeInput) protoiface.SizeOutput { + x := input.Message.Interface().(*GetCurrentLowestInfererScoreRequest) + if x == nil { + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: 0, + } + } + options := runtime.SizeInputToOptions(input) + _ = options + var n int + var l int + _ = l + if x.TopicId != 0 { + n += 1 + runtime.Sov(uint64(x.TopicId)) + } + if x.unknownFields != nil { + n += len(x.unknownFields) + } + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: n, + } + } + + marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { + x := input.Message.Interface().(*GetCurrentLowestInfererScoreRequest) + if x == nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + options := runtime.MarshalInputToOptions(input) + _ = options + size := options.Size(x) + dAtA := make([]byte, size) + i := len(dAtA) + _ = i + var l int + _ = l + if x.unknownFields != nil { + i -= len(x.unknownFields) + copy(dAtA[i:], x.unknownFields) + } + if x.TopicId != 0 { + i = runtime.EncodeVarint(dAtA, i, uint64(x.TopicId)) + i-- + dAtA[i] = 0x8 + } + if input.Buf != nil { + input.Buf = append(input.Buf, dAtA...) + } else { + input.Buf = dAtA + } + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { + x := input.Message.Interface().(*GetCurrentLowestInfererScoreRequest) + if x == nil { + return protoiface.UnmarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Flags: input.Flags, + }, nil + } + options := runtime.UnmarshalInputToOptions(input) + _ = options + dAtA := input.Buf + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: GetCurrentLowestInfererScoreRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: GetCurrentLowestInfererScoreRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field TopicId", wireType) + } + x.TopicId = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + x.TopicId |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + default: + iNdEx = preIndex + skippy, err := runtime.Skip(dAtA[iNdEx:]) + if err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if (iNdEx + skippy) > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + if !options.DiscardUnknown { + x.unknownFields = append(x.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + } + iNdEx += skippy + } + } + + if iNdEx > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, nil + } + return &protoiface.Methods{ + NoUnkeyedLiterals: struct{}{}, + Flags: protoiface.SupportMarshalDeterministic | protoiface.SupportUnmarshalDiscardUnknown, + Size: size, + Marshal: marshal, + Unmarshal: unmarshal, + Merge: nil, + CheckInitialized: nil, + } +} + +var ( + md_GetCurrentLowestInfererScoreResponse protoreflect.MessageDescriptor + fd_GetCurrentLowestInfererScoreResponse_score protoreflect.FieldDescriptor +) + +func init() { + file_emissions_v8_query_proto_init() + md_GetCurrentLowestInfererScoreResponse = File_emissions_v8_query_proto.Messages().ByName("GetCurrentLowestInfererScoreResponse") + fd_GetCurrentLowestInfererScoreResponse_score = md_GetCurrentLowestInfererScoreResponse.Fields().ByName("score") +} + +var _ protoreflect.Message = (*fastReflection_GetCurrentLowestInfererScoreResponse)(nil) + +type fastReflection_GetCurrentLowestInfererScoreResponse GetCurrentLowestInfererScoreResponse + +func (x *GetCurrentLowestInfererScoreResponse) ProtoReflect() protoreflect.Message { + return (*fastReflection_GetCurrentLowestInfererScoreResponse)(x) +} + +func (x *GetCurrentLowestInfererScoreResponse) slowProtoReflect() protoreflect.Message { + mi := &file_emissions_v8_query_proto_msgTypes[173] + 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) +} + +var _fastReflection_GetCurrentLowestInfererScoreResponse_messageType fastReflection_GetCurrentLowestInfererScoreResponse_messageType +var _ protoreflect.MessageType = fastReflection_GetCurrentLowestInfererScoreResponse_messageType{} + +type fastReflection_GetCurrentLowestInfererScoreResponse_messageType struct{} + +func (x fastReflection_GetCurrentLowestInfererScoreResponse_messageType) Zero() protoreflect.Message { + return (*fastReflection_GetCurrentLowestInfererScoreResponse)(nil) +} +func (x fastReflection_GetCurrentLowestInfererScoreResponse_messageType) New() protoreflect.Message { + return new(fastReflection_GetCurrentLowestInfererScoreResponse) +} +func (x fastReflection_GetCurrentLowestInfererScoreResponse_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_GetCurrentLowestInfererScoreResponse +} + +// Descriptor returns message descriptor, which contains only the protobuf +// type information for the message. +func (x *fastReflection_GetCurrentLowestInfererScoreResponse) Descriptor() protoreflect.MessageDescriptor { + return md_GetCurrentLowestInfererScoreResponse +} + +// Type returns the message type, which encapsulates both Go and protobuf +// type information. If the Go type information is not needed, +// it is recommended that the message descriptor be used instead. +func (x *fastReflection_GetCurrentLowestInfererScoreResponse) Type() protoreflect.MessageType { + return _fastReflection_GetCurrentLowestInfererScoreResponse_messageType +} + +// New returns a newly allocated and mutable empty message. +func (x *fastReflection_GetCurrentLowestInfererScoreResponse) New() protoreflect.Message { + return new(fastReflection_GetCurrentLowestInfererScoreResponse) +} + +// Interface unwraps the message reflection interface and +// returns the underlying ProtoMessage interface. +func (x *fastReflection_GetCurrentLowestInfererScoreResponse) Interface() protoreflect.ProtoMessage { + return (*GetCurrentLowestInfererScoreResponse)(x) +} + +// Range iterates over every populated field in an undefined order, +// calling f for each field descriptor and value encountered. +// Range returns immediately if f returns false. +// While iterating, mutating operations may only be performed +// on the current field descriptor. +func (x *fastReflection_GetCurrentLowestInfererScoreResponse) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { + if x.Score != nil { + value := protoreflect.ValueOfMessage(x.Score.ProtoReflect()) + if !f(fd_GetCurrentLowestInfererScoreResponse_score, value) { + return + } + } +} + +// Has reports whether a field is populated. +// +// Some fields have the property of nullability where it is possible to +// distinguish between the default value of a field and whether the field +// was explicitly populated with the default value. Singular message fields, +// member fields of a oneof, and proto2 scalar fields are nullable. Such +// fields are populated only if explicitly set. +// +// In other cases (aside from the nullable cases above), +// a proto3 scalar field is populated if it contains a non-zero value, and +// a repeated field is populated if it is non-empty. +func (x *fastReflection_GetCurrentLowestInfererScoreResponse) Has(fd protoreflect.FieldDescriptor) bool { + switch fd.FullName() { + case "emissions.v8.GetCurrentLowestInfererScoreResponse.score": + return x.Score != nil + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetCurrentLowestInfererScoreResponse")) + } + panic(fmt.Errorf("message emissions.v8.GetCurrentLowestInfererScoreResponse does not contain field %s", fd.FullName())) + } +} + +// Clear clears the field such that a subsequent Has call reports false. +// +// Clearing an extension field clears both the extension type and value +// associated with the given field number. +// +// Clear is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetCurrentLowestInfererScoreResponse) Clear(fd protoreflect.FieldDescriptor) { + switch fd.FullName() { + case "emissions.v8.GetCurrentLowestInfererScoreResponse.score": + x.Score = nil + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetCurrentLowestInfererScoreResponse")) + } + panic(fmt.Errorf("message emissions.v8.GetCurrentLowestInfererScoreResponse does not contain field %s", fd.FullName())) + } +} + +// Get retrieves the value for a field. +// +// For unpopulated scalars, it returns the default value, where +// the default value of a bytes scalar is guaranteed to be a copy. +// For unpopulated composite types, it returns an empty, read-only view +// of the value; to obtain a mutable reference, use Mutable. +func (x *fastReflection_GetCurrentLowestInfererScoreResponse) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { + switch descriptor.FullName() { + case "emissions.v8.GetCurrentLowestInfererScoreResponse.score": + value := x.Score + return protoreflect.ValueOfMessage(value.ProtoReflect()) + default: + if descriptor.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetCurrentLowestInfererScoreResponse")) + } + panic(fmt.Errorf("message emissions.v8.GetCurrentLowestInfererScoreResponse does not contain field %s", descriptor.FullName())) + } +} + +// Set stores the value for a field. +// +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType. +// When setting a composite type, it is unspecified whether the stored value +// aliases the source's memory in any way. If the composite value is an +// empty, read-only value, then it panics. +// +// Set is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetCurrentLowestInfererScoreResponse) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { + switch fd.FullName() { + case "emissions.v8.GetCurrentLowestInfererScoreResponse.score": + x.Score = value.Message().Interface().(*v3.Score) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetCurrentLowestInfererScoreResponse")) + } + panic(fmt.Errorf("message emissions.v8.GetCurrentLowestInfererScoreResponse does not contain field %s", fd.FullName())) + } +} + +// Mutable returns a mutable reference to a composite type. +// +// If the field is unpopulated, it may allocate a composite value. +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType +// if not already stored. +// It panics if the field does not contain a composite type. +// +// Mutable is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetCurrentLowestInfererScoreResponse) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.GetCurrentLowestInfererScoreResponse.score": + if x.Score == nil { + x.Score = new(v3.Score) + } + return protoreflect.ValueOfMessage(x.Score.ProtoReflect()) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetCurrentLowestInfererScoreResponse")) + } + panic(fmt.Errorf("message emissions.v8.GetCurrentLowestInfererScoreResponse does not contain field %s", fd.FullName())) + } +} + +// NewField returns a new value that is assignable to the field +// for the given descriptor. For scalars, this returns the default value. +// For lists, maps, and messages, this returns a new, empty, mutable value. +func (x *fastReflection_GetCurrentLowestInfererScoreResponse) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.GetCurrentLowestInfererScoreResponse.score": + m := new(v3.Score) + return protoreflect.ValueOfMessage(m.ProtoReflect()) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetCurrentLowestInfererScoreResponse")) + } + panic(fmt.Errorf("message emissions.v8.GetCurrentLowestInfererScoreResponse does not contain field %s", fd.FullName())) + } +} + +// WhichOneof reports which field within the oneof is populated, +// returning nil if none are populated. +// It panics if the oneof descriptor does not belong to this message. +func (x *fastReflection_GetCurrentLowestInfererScoreResponse) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { + switch d.FullName() { + default: + panic(fmt.Errorf("%s is not a oneof field in emissions.v8.GetCurrentLowestInfererScoreResponse", d.FullName())) + } + panic("unreachable") +} + +// GetUnknown retrieves the entire list of unknown fields. +// The caller may only mutate the contents of the RawFields +// if the mutated bytes are stored back into the message with SetUnknown. +func (x *fastReflection_GetCurrentLowestInfererScoreResponse) GetUnknown() protoreflect.RawFields { + return x.unknownFields +} + +// SetUnknown stores an entire list of unknown fields. +// The raw fields must be syntactically valid according to the wire format. +// An implementation may panic if this is not the case. +// Once stored, the caller must not mutate the content of the RawFields. +// An empty RawFields may be passed to clear the fields. +// +// SetUnknown is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetCurrentLowestInfererScoreResponse) SetUnknown(fields protoreflect.RawFields) { + x.unknownFields = fields +} + +// IsValid reports whether the message is valid. +// +// An invalid message is an empty, read-only value. +// +// An invalid message often corresponds to a nil pointer of the concrete +// message type, but the details are implementation dependent. +// Validity is not part of the protobuf data model, and may not +// be preserved in marshaling or other operations. +func (x *fastReflection_GetCurrentLowestInfererScoreResponse) IsValid() bool { + return x != nil +} + +// ProtoMethods returns optional fastReflectionFeature-path implementations of various operations. +// This method may return nil. +// +// The returned methods type is identical to +// "google.golang.org/protobuf/runtime/protoiface".Methods. +// Consult the protoiface package documentation for details. +func (x *fastReflection_GetCurrentLowestInfererScoreResponse) ProtoMethods() *protoiface.Methods { + size := func(input protoiface.SizeInput) protoiface.SizeOutput { + x := input.Message.Interface().(*GetCurrentLowestInfererScoreResponse) + if x == nil { + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: 0, + } + } + options := runtime.SizeInputToOptions(input) + _ = options + var n int + var l int + _ = l + if x.Score != nil { + l = options.Size(x.Score) + n += 1 + l + runtime.Sov(uint64(l)) + } + if x.unknownFields != nil { + n += len(x.unknownFields) + } + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: n, + } + } + + marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { + x := input.Message.Interface().(*GetCurrentLowestInfererScoreResponse) + if x == nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + options := runtime.MarshalInputToOptions(input) + _ = options + size := options.Size(x) + dAtA := make([]byte, size) + i := len(dAtA) + _ = i + var l int + _ = l + if x.unknownFields != nil { + i -= len(x.unknownFields) + copy(dAtA[i:], x.unknownFields) + } + if x.Score != nil { + encoded, err := options.Marshal(x.Score) + if err != nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = runtime.EncodeVarint(dAtA, i, uint64(len(encoded))) + i-- + dAtA[i] = 0xa + } + if input.Buf != nil { + input.Buf = append(input.Buf, dAtA...) + } else { + input.Buf = dAtA + } + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { + x := input.Message.Interface().(*GetCurrentLowestInfererScoreResponse) + if x == nil { + return protoiface.UnmarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Flags: input.Flags, + }, nil + } + options := runtime.UnmarshalInputToOptions(input) + _ = options + dAtA := input.Buf + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: GetCurrentLowestInfererScoreResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: GetCurrentLowestInfererScoreResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Score", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + if x.Score == nil { + x.Score = &v3.Score{} + } + if err := options.Unmarshal(dAtA[iNdEx:postIndex], x.Score); err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := runtime.Skip(dAtA[iNdEx:]) + if err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if (iNdEx + skippy) > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + if !options.DiscardUnknown { + x.unknownFields = append(x.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + } + iNdEx += skippy + } + } + + if iNdEx > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, nil + } + return &protoiface.Methods{ + NoUnkeyedLiterals: struct{}{}, + Flags: protoiface.SupportMarshalDeterministic | protoiface.SupportUnmarshalDiscardUnknown, + Size: size, + Marshal: marshal, + Unmarshal: unmarshal, + Merge: nil, + CheckInitialized: nil, + } +} + +var ( + md_GetForecastScoresUntilBlockRequest protoreflect.MessageDescriptor + fd_GetForecastScoresUntilBlockRequest_topic_id protoreflect.FieldDescriptor + fd_GetForecastScoresUntilBlockRequest_block_height protoreflect.FieldDescriptor +) + +func init() { + file_emissions_v8_query_proto_init() + md_GetForecastScoresUntilBlockRequest = File_emissions_v8_query_proto.Messages().ByName("GetForecastScoresUntilBlockRequest") + fd_GetForecastScoresUntilBlockRequest_topic_id = md_GetForecastScoresUntilBlockRequest.Fields().ByName("topic_id") + fd_GetForecastScoresUntilBlockRequest_block_height = md_GetForecastScoresUntilBlockRequest.Fields().ByName("block_height") +} + +var _ protoreflect.Message = (*fastReflection_GetForecastScoresUntilBlockRequest)(nil) + +type fastReflection_GetForecastScoresUntilBlockRequest GetForecastScoresUntilBlockRequest + +func (x *GetForecastScoresUntilBlockRequest) ProtoReflect() protoreflect.Message { + return (*fastReflection_GetForecastScoresUntilBlockRequest)(x) +} + +func (x *GetForecastScoresUntilBlockRequest) slowProtoReflect() protoreflect.Message { + mi := &file_emissions_v8_query_proto_msgTypes[174] + 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) +} + +var _fastReflection_GetForecastScoresUntilBlockRequest_messageType fastReflection_GetForecastScoresUntilBlockRequest_messageType +var _ protoreflect.MessageType = fastReflection_GetForecastScoresUntilBlockRequest_messageType{} + +type fastReflection_GetForecastScoresUntilBlockRequest_messageType struct{} + +func (x fastReflection_GetForecastScoresUntilBlockRequest_messageType) Zero() protoreflect.Message { + return (*fastReflection_GetForecastScoresUntilBlockRequest)(nil) +} +func (x fastReflection_GetForecastScoresUntilBlockRequest_messageType) New() protoreflect.Message { + return new(fastReflection_GetForecastScoresUntilBlockRequest) +} +func (x fastReflection_GetForecastScoresUntilBlockRequest_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_GetForecastScoresUntilBlockRequest +} + +// Descriptor returns message descriptor, which contains only the protobuf +// type information for the message. +func (x *fastReflection_GetForecastScoresUntilBlockRequest) Descriptor() protoreflect.MessageDescriptor { + return md_GetForecastScoresUntilBlockRequest +} + +// Type returns the message type, which encapsulates both Go and protobuf +// type information. If the Go type information is not needed, +// it is recommended that the message descriptor be used instead. +func (x *fastReflection_GetForecastScoresUntilBlockRequest) Type() protoreflect.MessageType { + return _fastReflection_GetForecastScoresUntilBlockRequest_messageType +} + +// New returns a newly allocated and mutable empty message. +func (x *fastReflection_GetForecastScoresUntilBlockRequest) New() protoreflect.Message { + return new(fastReflection_GetForecastScoresUntilBlockRequest) +} + +// Interface unwraps the message reflection interface and +// returns the underlying ProtoMessage interface. +func (x *fastReflection_GetForecastScoresUntilBlockRequest) Interface() protoreflect.ProtoMessage { + return (*GetForecastScoresUntilBlockRequest)(x) +} + +// Range iterates over every populated field in an undefined order, +// calling f for each field descriptor and value encountered. +// Range returns immediately if f returns false. +// While iterating, mutating operations may only be performed +// on the current field descriptor. +func (x *fastReflection_GetForecastScoresUntilBlockRequest) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { + if x.TopicId != uint64(0) { + value := protoreflect.ValueOfUint64(x.TopicId) + if !f(fd_GetForecastScoresUntilBlockRequest_topic_id, value) { + return + } + } + if x.BlockHeight != int64(0) { + value := protoreflect.ValueOfInt64(x.BlockHeight) + if !f(fd_GetForecastScoresUntilBlockRequest_block_height, value) { + return + } + } +} + +// Has reports whether a field is populated. +// +// Some fields have the property of nullability where it is possible to +// distinguish between the default value of a field and whether the field +// was explicitly populated with the default value. Singular message fields, +// member fields of a oneof, and proto2 scalar fields are nullable. Such +// fields are populated only if explicitly set. +// +// In other cases (aside from the nullable cases above), +// a proto3 scalar field is populated if it contains a non-zero value, and +// a repeated field is populated if it is non-empty. +func (x *fastReflection_GetForecastScoresUntilBlockRequest) Has(fd protoreflect.FieldDescriptor) bool { + switch fd.FullName() { + case "emissions.v8.GetForecastScoresUntilBlockRequest.topic_id": + return x.TopicId != uint64(0) + case "emissions.v8.GetForecastScoresUntilBlockRequest.block_height": + return x.BlockHeight != int64(0) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetForecastScoresUntilBlockRequest")) + } + panic(fmt.Errorf("message emissions.v8.GetForecastScoresUntilBlockRequest does not contain field %s", fd.FullName())) + } +} + +// Clear clears the field such that a subsequent Has call reports false. +// +// Clearing an extension field clears both the extension type and value +// associated with the given field number. +// +// Clear is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetForecastScoresUntilBlockRequest) Clear(fd protoreflect.FieldDescriptor) { + switch fd.FullName() { + case "emissions.v8.GetForecastScoresUntilBlockRequest.topic_id": + x.TopicId = uint64(0) + case "emissions.v8.GetForecastScoresUntilBlockRequest.block_height": + x.BlockHeight = int64(0) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetForecastScoresUntilBlockRequest")) + } + panic(fmt.Errorf("message emissions.v8.GetForecastScoresUntilBlockRequest does not contain field %s", fd.FullName())) + } +} + +// Get retrieves the value for a field. +// +// For unpopulated scalars, it returns the default value, where +// the default value of a bytes scalar is guaranteed to be a copy. +// For unpopulated composite types, it returns an empty, read-only view +// of the value; to obtain a mutable reference, use Mutable. +func (x *fastReflection_GetForecastScoresUntilBlockRequest) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { + switch descriptor.FullName() { + case "emissions.v8.GetForecastScoresUntilBlockRequest.topic_id": + value := x.TopicId + return protoreflect.ValueOfUint64(value) + case "emissions.v8.GetForecastScoresUntilBlockRequest.block_height": + value := x.BlockHeight + return protoreflect.ValueOfInt64(value) + default: + if descriptor.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetForecastScoresUntilBlockRequest")) + } + panic(fmt.Errorf("message emissions.v8.GetForecastScoresUntilBlockRequest does not contain field %s", descriptor.FullName())) + } +} + +// Set stores the value for a field. +// +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType. +// When setting a composite type, it is unspecified whether the stored value +// aliases the source's memory in any way. If the composite value is an +// empty, read-only value, then it panics. +// +// Set is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetForecastScoresUntilBlockRequest) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { + switch fd.FullName() { + case "emissions.v8.GetForecastScoresUntilBlockRequest.topic_id": + x.TopicId = value.Uint() + case "emissions.v8.GetForecastScoresUntilBlockRequest.block_height": + x.BlockHeight = value.Int() + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetForecastScoresUntilBlockRequest")) + } + panic(fmt.Errorf("message emissions.v8.GetForecastScoresUntilBlockRequest does not contain field %s", fd.FullName())) + } +} + +// Mutable returns a mutable reference to a composite type. +// +// If the field is unpopulated, it may allocate a composite value. +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType +// if not already stored. +// It panics if the field does not contain a composite type. +// +// Mutable is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetForecastScoresUntilBlockRequest) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.GetForecastScoresUntilBlockRequest.topic_id": + panic(fmt.Errorf("field topic_id of message emissions.v8.GetForecastScoresUntilBlockRequest is not mutable")) + case "emissions.v8.GetForecastScoresUntilBlockRequest.block_height": + panic(fmt.Errorf("field block_height of message emissions.v8.GetForecastScoresUntilBlockRequest is not mutable")) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetForecastScoresUntilBlockRequest")) + } + panic(fmt.Errorf("message emissions.v8.GetForecastScoresUntilBlockRequest does not contain field %s", fd.FullName())) + } +} + +// NewField returns a new value that is assignable to the field +// for the given descriptor. For scalars, this returns the default value. +// For lists, maps, and messages, this returns a new, empty, mutable value. +func (x *fastReflection_GetForecastScoresUntilBlockRequest) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.GetForecastScoresUntilBlockRequest.topic_id": + return protoreflect.ValueOfUint64(uint64(0)) + case "emissions.v8.GetForecastScoresUntilBlockRequest.block_height": + return protoreflect.ValueOfInt64(int64(0)) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetForecastScoresUntilBlockRequest")) + } + panic(fmt.Errorf("message emissions.v8.GetForecastScoresUntilBlockRequest does not contain field %s", fd.FullName())) + } +} + +// WhichOneof reports which field within the oneof is populated, +// returning nil if none are populated. +// It panics if the oneof descriptor does not belong to this message. +func (x *fastReflection_GetForecastScoresUntilBlockRequest) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { + switch d.FullName() { + default: + panic(fmt.Errorf("%s is not a oneof field in emissions.v8.GetForecastScoresUntilBlockRequest", d.FullName())) + } + panic("unreachable") +} + +// GetUnknown retrieves the entire list of unknown fields. +// The caller may only mutate the contents of the RawFields +// if the mutated bytes are stored back into the message with SetUnknown. +func (x *fastReflection_GetForecastScoresUntilBlockRequest) GetUnknown() protoreflect.RawFields { + return x.unknownFields +} + +// SetUnknown stores an entire list of unknown fields. +// The raw fields must be syntactically valid according to the wire format. +// An implementation may panic if this is not the case. +// Once stored, the caller must not mutate the content of the RawFields. +// An empty RawFields may be passed to clear the fields. +// +// SetUnknown is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetForecastScoresUntilBlockRequest) SetUnknown(fields protoreflect.RawFields) { + x.unknownFields = fields +} + +// IsValid reports whether the message is valid. +// +// An invalid message is an empty, read-only value. +// +// An invalid message often corresponds to a nil pointer of the concrete +// message type, but the details are implementation dependent. +// Validity is not part of the protobuf data model, and may not +// be preserved in marshaling or other operations. +func (x *fastReflection_GetForecastScoresUntilBlockRequest) IsValid() bool { + return x != nil +} + +// ProtoMethods returns optional fastReflectionFeature-path implementations of various operations. +// This method may return nil. +// +// The returned methods type is identical to +// "google.golang.org/protobuf/runtime/protoiface".Methods. +// Consult the protoiface package documentation for details. +func (x *fastReflection_GetForecastScoresUntilBlockRequest) ProtoMethods() *protoiface.Methods { + size := func(input protoiface.SizeInput) protoiface.SizeOutput { + x := input.Message.Interface().(*GetForecastScoresUntilBlockRequest) + if x == nil { + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: 0, + } + } + options := runtime.SizeInputToOptions(input) + _ = options + var n int + var l int + _ = l + if x.TopicId != 0 { + n += 1 + runtime.Sov(uint64(x.TopicId)) + } + if x.BlockHeight != 0 { + n += 1 + runtime.Sov(uint64(x.BlockHeight)) + } + if x.unknownFields != nil { + n += len(x.unknownFields) + } + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: n, + } + } + + marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { + x := input.Message.Interface().(*GetForecastScoresUntilBlockRequest) + if x == nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + options := runtime.MarshalInputToOptions(input) + _ = options + size := options.Size(x) + dAtA := make([]byte, size) + i := len(dAtA) + _ = i + var l int + _ = l + if x.unknownFields != nil { + i -= len(x.unknownFields) + copy(dAtA[i:], x.unknownFields) + } + if x.BlockHeight != 0 { + i = runtime.EncodeVarint(dAtA, i, uint64(x.BlockHeight)) + i-- + dAtA[i] = 0x10 + } + if x.TopicId != 0 { + i = runtime.EncodeVarint(dAtA, i, uint64(x.TopicId)) + i-- + dAtA[i] = 0x8 + } + if input.Buf != nil { + input.Buf = append(input.Buf, dAtA...) + } else { + input.Buf = dAtA + } + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { + x := input.Message.Interface().(*GetForecastScoresUntilBlockRequest) + if x == nil { + return protoiface.UnmarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Flags: input.Flags, + }, nil + } + options := runtime.UnmarshalInputToOptions(input) + _ = options + dAtA := input.Buf + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: GetForecastScoresUntilBlockRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: GetForecastScoresUntilBlockRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field TopicId", wireType) + } + x.TopicId = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + x.TopicId |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 2: + if wireType != 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field BlockHeight", wireType) + } + x.BlockHeight = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + x.BlockHeight |= int64(b&0x7F) << shift + if b < 0x80 { + break + } + } + default: + iNdEx = preIndex + skippy, err := runtime.Skip(dAtA[iNdEx:]) + if err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if (iNdEx + skippy) > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + if !options.DiscardUnknown { + x.unknownFields = append(x.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + } + iNdEx += skippy + } + } + + if iNdEx > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, nil + } + return &protoiface.Methods{ + NoUnkeyedLiterals: struct{}{}, + Flags: protoiface.SupportMarshalDeterministic | protoiface.SupportUnmarshalDiscardUnknown, + Size: size, + Marshal: marshal, + Unmarshal: unmarshal, + Merge: nil, + CheckInitialized: nil, + } +} + +var _ protoreflect.List = (*_GetForecastScoresUntilBlockResponse_1_list)(nil) + +type _GetForecastScoresUntilBlockResponse_1_list struct { + list *[]*v3.Score +} + +func (x *_GetForecastScoresUntilBlockResponse_1_list) Len() int { + if x.list == nil { + return 0 + } + return len(*x.list) +} + +func (x *_GetForecastScoresUntilBlockResponse_1_list) Get(i int) protoreflect.Value { + return protoreflect.ValueOfMessage((*x.list)[i].ProtoReflect()) +} + +func (x *_GetForecastScoresUntilBlockResponse_1_list) Set(i int, value protoreflect.Value) { + valueUnwrapped := value.Message() + concreteValue := valueUnwrapped.Interface().(*v3.Score) + (*x.list)[i] = concreteValue +} + +func (x *_GetForecastScoresUntilBlockResponse_1_list) Append(value protoreflect.Value) { + valueUnwrapped := value.Message() + concreteValue := valueUnwrapped.Interface().(*v3.Score) + *x.list = append(*x.list, concreteValue) +} + +func (x *_GetForecastScoresUntilBlockResponse_1_list) AppendMutable() protoreflect.Value { + v := new(v3.Score) + *x.list = append(*x.list, v) + return protoreflect.ValueOfMessage(v.ProtoReflect()) +} + +func (x *_GetForecastScoresUntilBlockResponse_1_list) Truncate(n int) { + for i := n; i < len(*x.list); i++ { + (*x.list)[i] = nil + } + *x.list = (*x.list)[:n] +} + +func (x *_GetForecastScoresUntilBlockResponse_1_list) NewElement() protoreflect.Value { + v := new(v3.Score) + return protoreflect.ValueOfMessage(v.ProtoReflect()) +} + +func (x *_GetForecastScoresUntilBlockResponse_1_list) IsValid() bool { + return x.list != nil +} + +var ( + md_GetForecastScoresUntilBlockResponse protoreflect.MessageDescriptor + fd_GetForecastScoresUntilBlockResponse_scores protoreflect.FieldDescriptor +) + +func init() { + file_emissions_v8_query_proto_init() + md_GetForecastScoresUntilBlockResponse = File_emissions_v8_query_proto.Messages().ByName("GetForecastScoresUntilBlockResponse") + fd_GetForecastScoresUntilBlockResponse_scores = md_GetForecastScoresUntilBlockResponse.Fields().ByName("scores") +} + +var _ protoreflect.Message = (*fastReflection_GetForecastScoresUntilBlockResponse)(nil) + +type fastReflection_GetForecastScoresUntilBlockResponse GetForecastScoresUntilBlockResponse + +func (x *GetForecastScoresUntilBlockResponse) ProtoReflect() protoreflect.Message { + return (*fastReflection_GetForecastScoresUntilBlockResponse)(x) +} + +func (x *GetForecastScoresUntilBlockResponse) slowProtoReflect() protoreflect.Message { + mi := &file_emissions_v8_query_proto_msgTypes[175] + 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) +} + +var _fastReflection_GetForecastScoresUntilBlockResponse_messageType fastReflection_GetForecastScoresUntilBlockResponse_messageType +var _ protoreflect.MessageType = fastReflection_GetForecastScoresUntilBlockResponse_messageType{} + +type fastReflection_GetForecastScoresUntilBlockResponse_messageType struct{} + +func (x fastReflection_GetForecastScoresUntilBlockResponse_messageType) Zero() protoreflect.Message { + return (*fastReflection_GetForecastScoresUntilBlockResponse)(nil) +} +func (x fastReflection_GetForecastScoresUntilBlockResponse_messageType) New() protoreflect.Message { + return new(fastReflection_GetForecastScoresUntilBlockResponse) +} +func (x fastReflection_GetForecastScoresUntilBlockResponse_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_GetForecastScoresUntilBlockResponse +} + +// Descriptor returns message descriptor, which contains only the protobuf +// type information for the message. +func (x *fastReflection_GetForecastScoresUntilBlockResponse) Descriptor() protoreflect.MessageDescriptor { + return md_GetForecastScoresUntilBlockResponse +} + +// Type returns the message type, which encapsulates both Go and protobuf +// type information. If the Go type information is not needed, +// it is recommended that the message descriptor be used instead. +func (x *fastReflection_GetForecastScoresUntilBlockResponse) Type() protoreflect.MessageType { + return _fastReflection_GetForecastScoresUntilBlockResponse_messageType +} + +// New returns a newly allocated and mutable empty message. +func (x *fastReflection_GetForecastScoresUntilBlockResponse) New() protoreflect.Message { + return new(fastReflection_GetForecastScoresUntilBlockResponse) +} + +// Interface unwraps the message reflection interface and +// returns the underlying ProtoMessage interface. +func (x *fastReflection_GetForecastScoresUntilBlockResponse) Interface() protoreflect.ProtoMessage { + return (*GetForecastScoresUntilBlockResponse)(x) +} + +// Range iterates over every populated field in an undefined order, +// calling f for each field descriptor and value encountered. +// Range returns immediately if f returns false. +// While iterating, mutating operations may only be performed +// on the current field descriptor. +func (x *fastReflection_GetForecastScoresUntilBlockResponse) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { + if len(x.Scores) != 0 { + value := protoreflect.ValueOfList(&_GetForecastScoresUntilBlockResponse_1_list{list: &x.Scores}) + if !f(fd_GetForecastScoresUntilBlockResponse_scores, value) { + return + } + } +} + +// Has reports whether a field is populated. +// +// Some fields have the property of nullability where it is possible to +// distinguish between the default value of a field and whether the field +// was explicitly populated with the default value. Singular message fields, +// member fields of a oneof, and proto2 scalar fields are nullable. Such +// fields are populated only if explicitly set. +// +// In other cases (aside from the nullable cases above), +// a proto3 scalar field is populated if it contains a non-zero value, and +// a repeated field is populated if it is non-empty. +func (x *fastReflection_GetForecastScoresUntilBlockResponse) Has(fd protoreflect.FieldDescriptor) bool { + switch fd.FullName() { + case "emissions.v8.GetForecastScoresUntilBlockResponse.scores": + return len(x.Scores) != 0 + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetForecastScoresUntilBlockResponse")) + } + panic(fmt.Errorf("message emissions.v8.GetForecastScoresUntilBlockResponse does not contain field %s", fd.FullName())) + } +} + +// Clear clears the field such that a subsequent Has call reports false. +// +// Clearing an extension field clears both the extension type and value +// associated with the given field number. +// +// Clear is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetForecastScoresUntilBlockResponse) Clear(fd protoreflect.FieldDescriptor) { + switch fd.FullName() { + case "emissions.v8.GetForecastScoresUntilBlockResponse.scores": + x.Scores = nil + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetForecastScoresUntilBlockResponse")) + } + panic(fmt.Errorf("message emissions.v8.GetForecastScoresUntilBlockResponse does not contain field %s", fd.FullName())) + } +} + +// Get retrieves the value for a field. +// +// For unpopulated scalars, it returns the default value, where +// the default value of a bytes scalar is guaranteed to be a copy. +// For unpopulated composite types, it returns an empty, read-only view +// of the value; to obtain a mutable reference, use Mutable. +func (x *fastReflection_GetForecastScoresUntilBlockResponse) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { + switch descriptor.FullName() { + case "emissions.v8.GetForecastScoresUntilBlockResponse.scores": + if len(x.Scores) == 0 { + return protoreflect.ValueOfList(&_GetForecastScoresUntilBlockResponse_1_list{}) + } + listValue := &_GetForecastScoresUntilBlockResponse_1_list{list: &x.Scores} + return protoreflect.ValueOfList(listValue) + default: + if descriptor.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetForecastScoresUntilBlockResponse")) + } + panic(fmt.Errorf("message emissions.v8.GetForecastScoresUntilBlockResponse does not contain field %s", descriptor.FullName())) + } +} + +// Set stores the value for a field. +// +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType. +// When setting a composite type, it is unspecified whether the stored value +// aliases the source's memory in any way. If the composite value is an +// empty, read-only value, then it panics. +// +// Set is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetForecastScoresUntilBlockResponse) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { + switch fd.FullName() { + case "emissions.v8.GetForecastScoresUntilBlockResponse.scores": + lv := value.List() + clv := lv.(*_GetForecastScoresUntilBlockResponse_1_list) + x.Scores = *clv.list + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetForecastScoresUntilBlockResponse")) + } + panic(fmt.Errorf("message emissions.v8.GetForecastScoresUntilBlockResponse does not contain field %s", fd.FullName())) + } +} + +// Mutable returns a mutable reference to a composite type. +// +// If the field is unpopulated, it may allocate a composite value. +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType +// if not already stored. +// It panics if the field does not contain a composite type. +// +// Mutable is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetForecastScoresUntilBlockResponse) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.GetForecastScoresUntilBlockResponse.scores": + if x.Scores == nil { + x.Scores = []*v3.Score{} + } + value := &_GetForecastScoresUntilBlockResponse_1_list{list: &x.Scores} + return protoreflect.ValueOfList(value) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetForecastScoresUntilBlockResponse")) + } + panic(fmt.Errorf("message emissions.v8.GetForecastScoresUntilBlockResponse does not contain field %s", fd.FullName())) + } +} + +// NewField returns a new value that is assignable to the field +// for the given descriptor. For scalars, this returns the default value. +// For lists, maps, and messages, this returns a new, empty, mutable value. +func (x *fastReflection_GetForecastScoresUntilBlockResponse) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.GetForecastScoresUntilBlockResponse.scores": + list := []*v3.Score{} + return protoreflect.ValueOfList(&_GetForecastScoresUntilBlockResponse_1_list{list: &list}) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetForecastScoresUntilBlockResponse")) + } + panic(fmt.Errorf("message emissions.v8.GetForecastScoresUntilBlockResponse does not contain field %s", fd.FullName())) + } +} + +// WhichOneof reports which field within the oneof is populated, +// returning nil if none are populated. +// It panics if the oneof descriptor does not belong to this message. +func (x *fastReflection_GetForecastScoresUntilBlockResponse) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { + switch d.FullName() { + default: + panic(fmt.Errorf("%s is not a oneof field in emissions.v8.GetForecastScoresUntilBlockResponse", d.FullName())) + } + panic("unreachable") +} + +// GetUnknown retrieves the entire list of unknown fields. +// The caller may only mutate the contents of the RawFields +// if the mutated bytes are stored back into the message with SetUnknown. +func (x *fastReflection_GetForecastScoresUntilBlockResponse) GetUnknown() protoreflect.RawFields { + return x.unknownFields +} + +// SetUnknown stores an entire list of unknown fields. +// The raw fields must be syntactically valid according to the wire format. +// An implementation may panic if this is not the case. +// Once stored, the caller must not mutate the content of the RawFields. +// An empty RawFields may be passed to clear the fields. +// +// SetUnknown is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetForecastScoresUntilBlockResponse) SetUnknown(fields protoreflect.RawFields) { + x.unknownFields = fields +} + +// IsValid reports whether the message is valid. +// +// An invalid message is an empty, read-only value. +// +// An invalid message often corresponds to a nil pointer of the concrete +// message type, but the details are implementation dependent. +// Validity is not part of the protobuf data model, and may not +// be preserved in marshaling or other operations. +func (x *fastReflection_GetForecastScoresUntilBlockResponse) IsValid() bool { + return x != nil +} + +// ProtoMethods returns optional fastReflectionFeature-path implementations of various operations. +// This method may return nil. +// +// The returned methods type is identical to +// "google.golang.org/protobuf/runtime/protoiface".Methods. +// Consult the protoiface package documentation for details. +func (x *fastReflection_GetForecastScoresUntilBlockResponse) ProtoMethods() *protoiface.Methods { + size := func(input protoiface.SizeInput) protoiface.SizeOutput { + x := input.Message.Interface().(*GetForecastScoresUntilBlockResponse) + if x == nil { + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: 0, + } + } + options := runtime.SizeInputToOptions(input) + _ = options + var n int + var l int + _ = l + if len(x.Scores) > 0 { + for _, e := range x.Scores { + l = options.Size(e) + n += 1 + l + runtime.Sov(uint64(l)) + } + } + if x.unknownFields != nil { + n += len(x.unknownFields) + } + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: n, + } + } + + marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { + x := input.Message.Interface().(*GetForecastScoresUntilBlockResponse) + if x == nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + options := runtime.MarshalInputToOptions(input) + _ = options + size := options.Size(x) + dAtA := make([]byte, size) + i := len(dAtA) + _ = i + var l int + _ = l + if x.unknownFields != nil { + i -= len(x.unknownFields) + copy(dAtA[i:], x.unknownFields) + } + if len(x.Scores) > 0 { + for iNdEx := len(x.Scores) - 1; iNdEx >= 0; iNdEx-- { + encoded, err := options.Marshal(x.Scores[iNdEx]) + if err != nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = runtime.EncodeVarint(dAtA, i, uint64(len(encoded))) + i-- + dAtA[i] = 0xa + } + } + if input.Buf != nil { + input.Buf = append(input.Buf, dAtA...) + } else { + input.Buf = dAtA + } + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { + x := input.Message.Interface().(*GetForecastScoresUntilBlockResponse) + if x == nil { + return protoiface.UnmarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Flags: input.Flags, + }, nil + } + options := runtime.UnmarshalInputToOptions(input) + _ = options + dAtA := input.Buf + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: GetForecastScoresUntilBlockResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: GetForecastScoresUntilBlockResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Scores", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + x.Scores = append(x.Scores, &v3.Score{}) + if err := options.Unmarshal(dAtA[iNdEx:postIndex], x.Scores[len(x.Scores)-1]); err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := runtime.Skip(dAtA[iNdEx:]) + if err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if (iNdEx + skippy) > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + if !options.DiscardUnknown { + x.unknownFields = append(x.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + } + iNdEx += skippy + } + } + + if iNdEx > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, nil + } + return &protoiface.Methods{ + NoUnkeyedLiterals: struct{}{}, + Flags: protoiface.SupportMarshalDeterministic | protoiface.SupportUnmarshalDiscardUnknown, + Size: size, + Marshal: marshal, + Unmarshal: unmarshal, + Merge: nil, + CheckInitialized: nil, + } +} + +var ( + md_GetWorkerForecastScoresAtBlockRequest protoreflect.MessageDescriptor + fd_GetWorkerForecastScoresAtBlockRequest_topic_id protoreflect.FieldDescriptor + fd_GetWorkerForecastScoresAtBlockRequest_block_height protoreflect.FieldDescriptor +) + +func init() { + file_emissions_v8_query_proto_init() + md_GetWorkerForecastScoresAtBlockRequest = File_emissions_v8_query_proto.Messages().ByName("GetWorkerForecastScoresAtBlockRequest") + fd_GetWorkerForecastScoresAtBlockRequest_topic_id = md_GetWorkerForecastScoresAtBlockRequest.Fields().ByName("topic_id") + fd_GetWorkerForecastScoresAtBlockRequest_block_height = md_GetWorkerForecastScoresAtBlockRequest.Fields().ByName("block_height") +} + +var _ protoreflect.Message = (*fastReflection_GetWorkerForecastScoresAtBlockRequest)(nil) + +type fastReflection_GetWorkerForecastScoresAtBlockRequest GetWorkerForecastScoresAtBlockRequest + +func (x *GetWorkerForecastScoresAtBlockRequest) ProtoReflect() protoreflect.Message { + return (*fastReflection_GetWorkerForecastScoresAtBlockRequest)(x) +} + +func (x *GetWorkerForecastScoresAtBlockRequest) slowProtoReflect() protoreflect.Message { + mi := &file_emissions_v8_query_proto_msgTypes[176] + 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) +} + +var _fastReflection_GetWorkerForecastScoresAtBlockRequest_messageType fastReflection_GetWorkerForecastScoresAtBlockRequest_messageType +var _ protoreflect.MessageType = fastReflection_GetWorkerForecastScoresAtBlockRequest_messageType{} + +type fastReflection_GetWorkerForecastScoresAtBlockRequest_messageType struct{} + +func (x fastReflection_GetWorkerForecastScoresAtBlockRequest_messageType) Zero() protoreflect.Message { + return (*fastReflection_GetWorkerForecastScoresAtBlockRequest)(nil) +} +func (x fastReflection_GetWorkerForecastScoresAtBlockRequest_messageType) New() protoreflect.Message { + return new(fastReflection_GetWorkerForecastScoresAtBlockRequest) +} +func (x fastReflection_GetWorkerForecastScoresAtBlockRequest_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_GetWorkerForecastScoresAtBlockRequest +} + +// Descriptor returns message descriptor, which contains only the protobuf +// type information for the message. +func (x *fastReflection_GetWorkerForecastScoresAtBlockRequest) Descriptor() protoreflect.MessageDescriptor { + return md_GetWorkerForecastScoresAtBlockRequest +} + +// Type returns the message type, which encapsulates both Go and protobuf +// type information. If the Go type information is not needed, +// it is recommended that the message descriptor be used instead. +func (x *fastReflection_GetWorkerForecastScoresAtBlockRequest) Type() protoreflect.MessageType { + return _fastReflection_GetWorkerForecastScoresAtBlockRequest_messageType +} + +// New returns a newly allocated and mutable empty message. +func (x *fastReflection_GetWorkerForecastScoresAtBlockRequest) New() protoreflect.Message { + return new(fastReflection_GetWorkerForecastScoresAtBlockRequest) +} + +// Interface unwraps the message reflection interface and +// returns the underlying ProtoMessage interface. +func (x *fastReflection_GetWorkerForecastScoresAtBlockRequest) Interface() protoreflect.ProtoMessage { + return (*GetWorkerForecastScoresAtBlockRequest)(x) +} + +// Range iterates over every populated field in an undefined order, +// calling f for each field descriptor and value encountered. +// Range returns immediately if f returns false. +// While iterating, mutating operations may only be performed +// on the current field descriptor. +func (x *fastReflection_GetWorkerForecastScoresAtBlockRequest) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { + if x.TopicId != uint64(0) { + value := protoreflect.ValueOfUint64(x.TopicId) + if !f(fd_GetWorkerForecastScoresAtBlockRequest_topic_id, value) { + return + } + } + if x.BlockHeight != int64(0) { + value := protoreflect.ValueOfInt64(x.BlockHeight) + if !f(fd_GetWorkerForecastScoresAtBlockRequest_block_height, value) { + return + } + } +} + +// Has reports whether a field is populated. +// +// Some fields have the property of nullability where it is possible to +// distinguish between the default value of a field and whether the field +// was explicitly populated with the default value. Singular message fields, +// member fields of a oneof, and proto2 scalar fields are nullable. Such +// fields are populated only if explicitly set. +// +// In other cases (aside from the nullable cases above), +// a proto3 scalar field is populated if it contains a non-zero value, and +// a repeated field is populated if it is non-empty. +func (x *fastReflection_GetWorkerForecastScoresAtBlockRequest) Has(fd protoreflect.FieldDescriptor) bool { + switch fd.FullName() { + case "emissions.v8.GetWorkerForecastScoresAtBlockRequest.topic_id": + return x.TopicId != uint64(0) + case "emissions.v8.GetWorkerForecastScoresAtBlockRequest.block_height": + return x.BlockHeight != int64(0) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetWorkerForecastScoresAtBlockRequest")) + } + panic(fmt.Errorf("message emissions.v8.GetWorkerForecastScoresAtBlockRequest does not contain field %s", fd.FullName())) + } +} + +// Clear clears the field such that a subsequent Has call reports false. +// +// Clearing an extension field clears both the extension type and value +// associated with the given field number. +// +// Clear is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetWorkerForecastScoresAtBlockRequest) Clear(fd protoreflect.FieldDescriptor) { + switch fd.FullName() { + case "emissions.v8.GetWorkerForecastScoresAtBlockRequest.topic_id": + x.TopicId = uint64(0) + case "emissions.v8.GetWorkerForecastScoresAtBlockRequest.block_height": + x.BlockHeight = int64(0) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetWorkerForecastScoresAtBlockRequest")) + } + panic(fmt.Errorf("message emissions.v8.GetWorkerForecastScoresAtBlockRequest does not contain field %s", fd.FullName())) + } +} + +// Get retrieves the value for a field. +// +// For unpopulated scalars, it returns the default value, where +// the default value of a bytes scalar is guaranteed to be a copy. +// For unpopulated composite types, it returns an empty, read-only view +// of the value; to obtain a mutable reference, use Mutable. +func (x *fastReflection_GetWorkerForecastScoresAtBlockRequest) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { + switch descriptor.FullName() { + case "emissions.v8.GetWorkerForecastScoresAtBlockRequest.topic_id": + value := x.TopicId + return protoreflect.ValueOfUint64(value) + case "emissions.v8.GetWorkerForecastScoresAtBlockRequest.block_height": + value := x.BlockHeight + return protoreflect.ValueOfInt64(value) + default: + if descriptor.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetWorkerForecastScoresAtBlockRequest")) + } + panic(fmt.Errorf("message emissions.v8.GetWorkerForecastScoresAtBlockRequest does not contain field %s", descriptor.FullName())) + } +} + +// Set stores the value for a field. +// +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType. +// When setting a composite type, it is unspecified whether the stored value +// aliases the source's memory in any way. If the composite value is an +// empty, read-only value, then it panics. +// +// Set is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetWorkerForecastScoresAtBlockRequest) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { + switch fd.FullName() { + case "emissions.v8.GetWorkerForecastScoresAtBlockRequest.topic_id": + x.TopicId = value.Uint() + case "emissions.v8.GetWorkerForecastScoresAtBlockRequest.block_height": + x.BlockHeight = value.Int() + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetWorkerForecastScoresAtBlockRequest")) + } + panic(fmt.Errorf("message emissions.v8.GetWorkerForecastScoresAtBlockRequest does not contain field %s", fd.FullName())) + } +} + +// Mutable returns a mutable reference to a composite type. +// +// If the field is unpopulated, it may allocate a composite value. +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType +// if not already stored. +// It panics if the field does not contain a composite type. +// +// Mutable is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetWorkerForecastScoresAtBlockRequest) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.GetWorkerForecastScoresAtBlockRequest.topic_id": + panic(fmt.Errorf("field topic_id of message emissions.v8.GetWorkerForecastScoresAtBlockRequest is not mutable")) + case "emissions.v8.GetWorkerForecastScoresAtBlockRequest.block_height": + panic(fmt.Errorf("field block_height of message emissions.v8.GetWorkerForecastScoresAtBlockRequest is not mutable")) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetWorkerForecastScoresAtBlockRequest")) + } + panic(fmt.Errorf("message emissions.v8.GetWorkerForecastScoresAtBlockRequest does not contain field %s", fd.FullName())) + } +} + +// NewField returns a new value that is assignable to the field +// for the given descriptor. For scalars, this returns the default value. +// For lists, maps, and messages, this returns a new, empty, mutable value. +func (x *fastReflection_GetWorkerForecastScoresAtBlockRequest) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.GetWorkerForecastScoresAtBlockRequest.topic_id": + return protoreflect.ValueOfUint64(uint64(0)) + case "emissions.v8.GetWorkerForecastScoresAtBlockRequest.block_height": + return protoreflect.ValueOfInt64(int64(0)) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetWorkerForecastScoresAtBlockRequest")) + } + panic(fmt.Errorf("message emissions.v8.GetWorkerForecastScoresAtBlockRequest does not contain field %s", fd.FullName())) + } +} + +// WhichOneof reports which field within the oneof is populated, +// returning nil if none are populated. +// It panics if the oneof descriptor does not belong to this message. +func (x *fastReflection_GetWorkerForecastScoresAtBlockRequest) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { + switch d.FullName() { + default: + panic(fmt.Errorf("%s is not a oneof field in emissions.v8.GetWorkerForecastScoresAtBlockRequest", d.FullName())) + } + panic("unreachable") +} + +// GetUnknown retrieves the entire list of unknown fields. +// The caller may only mutate the contents of the RawFields +// if the mutated bytes are stored back into the message with SetUnknown. +func (x *fastReflection_GetWorkerForecastScoresAtBlockRequest) GetUnknown() protoreflect.RawFields { + return x.unknownFields +} + +// SetUnknown stores an entire list of unknown fields. +// The raw fields must be syntactically valid according to the wire format. +// An implementation may panic if this is not the case. +// Once stored, the caller must not mutate the content of the RawFields. +// An empty RawFields may be passed to clear the fields. +// +// SetUnknown is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetWorkerForecastScoresAtBlockRequest) SetUnknown(fields protoreflect.RawFields) { + x.unknownFields = fields +} + +// IsValid reports whether the message is valid. +// +// An invalid message is an empty, read-only value. +// +// An invalid message often corresponds to a nil pointer of the concrete +// message type, but the details are implementation dependent. +// Validity is not part of the protobuf data model, and may not +// be preserved in marshaling or other operations. +func (x *fastReflection_GetWorkerForecastScoresAtBlockRequest) IsValid() bool { + return x != nil +} + +// ProtoMethods returns optional fastReflectionFeature-path implementations of various operations. +// This method may return nil. +// +// The returned methods type is identical to +// "google.golang.org/protobuf/runtime/protoiface".Methods. +// Consult the protoiface package documentation for details. +func (x *fastReflection_GetWorkerForecastScoresAtBlockRequest) ProtoMethods() *protoiface.Methods { + size := func(input protoiface.SizeInput) protoiface.SizeOutput { + x := input.Message.Interface().(*GetWorkerForecastScoresAtBlockRequest) + if x == nil { + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: 0, + } + } + options := runtime.SizeInputToOptions(input) + _ = options + var n int + var l int + _ = l + if x.TopicId != 0 { + n += 1 + runtime.Sov(uint64(x.TopicId)) + } + if x.BlockHeight != 0 { + n += 1 + runtime.Sov(uint64(x.BlockHeight)) + } + if x.unknownFields != nil { + n += len(x.unknownFields) + } + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: n, + } + } + + marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { + x := input.Message.Interface().(*GetWorkerForecastScoresAtBlockRequest) + if x == nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + options := runtime.MarshalInputToOptions(input) + _ = options + size := options.Size(x) + dAtA := make([]byte, size) + i := len(dAtA) + _ = i + var l int + _ = l + if x.unknownFields != nil { + i -= len(x.unknownFields) + copy(dAtA[i:], x.unknownFields) + } + if x.BlockHeight != 0 { + i = runtime.EncodeVarint(dAtA, i, uint64(x.BlockHeight)) + i-- + dAtA[i] = 0x10 + } + if x.TopicId != 0 { + i = runtime.EncodeVarint(dAtA, i, uint64(x.TopicId)) + i-- + dAtA[i] = 0x8 + } + if input.Buf != nil { + input.Buf = append(input.Buf, dAtA...) + } else { + input.Buf = dAtA + } + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { + x := input.Message.Interface().(*GetWorkerForecastScoresAtBlockRequest) + if x == nil { + return protoiface.UnmarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Flags: input.Flags, + }, nil + } + options := runtime.UnmarshalInputToOptions(input) + _ = options + dAtA := input.Buf + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: GetWorkerForecastScoresAtBlockRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: GetWorkerForecastScoresAtBlockRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field TopicId", wireType) + } + x.TopicId = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + x.TopicId |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 2: + if wireType != 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field BlockHeight", wireType) + } + x.BlockHeight = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + x.BlockHeight |= int64(b&0x7F) << shift + if b < 0x80 { + break + } + } + default: + iNdEx = preIndex + skippy, err := runtime.Skip(dAtA[iNdEx:]) + if err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if (iNdEx + skippy) > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + if !options.DiscardUnknown { + x.unknownFields = append(x.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + } + iNdEx += skippy + } + } + + if iNdEx > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, nil + } + return &protoiface.Methods{ + NoUnkeyedLiterals: struct{}{}, + Flags: protoiface.SupportMarshalDeterministic | protoiface.SupportUnmarshalDiscardUnknown, + Size: size, + Marshal: marshal, + Unmarshal: unmarshal, + Merge: nil, + CheckInitialized: nil, + } +} + +var ( + md_GetWorkerForecastScoresAtBlockResponse protoreflect.MessageDescriptor + fd_GetWorkerForecastScoresAtBlockResponse_scores protoreflect.FieldDescriptor +) + +func init() { + file_emissions_v8_query_proto_init() + md_GetWorkerForecastScoresAtBlockResponse = File_emissions_v8_query_proto.Messages().ByName("GetWorkerForecastScoresAtBlockResponse") + fd_GetWorkerForecastScoresAtBlockResponse_scores = md_GetWorkerForecastScoresAtBlockResponse.Fields().ByName("scores") +} + +var _ protoreflect.Message = (*fastReflection_GetWorkerForecastScoresAtBlockResponse)(nil) + +type fastReflection_GetWorkerForecastScoresAtBlockResponse GetWorkerForecastScoresAtBlockResponse + +func (x *GetWorkerForecastScoresAtBlockResponse) ProtoReflect() protoreflect.Message { + return (*fastReflection_GetWorkerForecastScoresAtBlockResponse)(x) +} + +func (x *GetWorkerForecastScoresAtBlockResponse) slowProtoReflect() protoreflect.Message { + mi := &file_emissions_v8_query_proto_msgTypes[177] + 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) +} + +var _fastReflection_GetWorkerForecastScoresAtBlockResponse_messageType fastReflection_GetWorkerForecastScoresAtBlockResponse_messageType +var _ protoreflect.MessageType = fastReflection_GetWorkerForecastScoresAtBlockResponse_messageType{} + +type fastReflection_GetWorkerForecastScoresAtBlockResponse_messageType struct{} + +func (x fastReflection_GetWorkerForecastScoresAtBlockResponse_messageType) Zero() protoreflect.Message { + return (*fastReflection_GetWorkerForecastScoresAtBlockResponse)(nil) +} +func (x fastReflection_GetWorkerForecastScoresAtBlockResponse_messageType) New() protoreflect.Message { + return new(fastReflection_GetWorkerForecastScoresAtBlockResponse) +} +func (x fastReflection_GetWorkerForecastScoresAtBlockResponse_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_GetWorkerForecastScoresAtBlockResponse +} + +// Descriptor returns message descriptor, which contains only the protobuf +// type information for the message. +func (x *fastReflection_GetWorkerForecastScoresAtBlockResponse) Descriptor() protoreflect.MessageDescriptor { + return md_GetWorkerForecastScoresAtBlockResponse +} + +// Type returns the message type, which encapsulates both Go and protobuf +// type information. If the Go type information is not needed, +// it is recommended that the message descriptor be used instead. +func (x *fastReflection_GetWorkerForecastScoresAtBlockResponse) Type() protoreflect.MessageType { + return _fastReflection_GetWorkerForecastScoresAtBlockResponse_messageType +} + +// New returns a newly allocated and mutable empty message. +func (x *fastReflection_GetWorkerForecastScoresAtBlockResponse) New() protoreflect.Message { + return new(fastReflection_GetWorkerForecastScoresAtBlockResponse) +} + +// Interface unwraps the message reflection interface and +// returns the underlying ProtoMessage interface. +func (x *fastReflection_GetWorkerForecastScoresAtBlockResponse) Interface() protoreflect.ProtoMessage { + return (*GetWorkerForecastScoresAtBlockResponse)(x) +} + +// Range iterates over every populated field in an undefined order, +// calling f for each field descriptor and value encountered. +// Range returns immediately if f returns false. +// While iterating, mutating operations may only be performed +// on the current field descriptor. +func (x *fastReflection_GetWorkerForecastScoresAtBlockResponse) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { + if x.Scores != nil { + value := protoreflect.ValueOfMessage(x.Scores.ProtoReflect()) + if !f(fd_GetWorkerForecastScoresAtBlockResponse_scores, value) { + return + } + } +} + +// Has reports whether a field is populated. +// +// Some fields have the property of nullability where it is possible to +// distinguish between the default value of a field and whether the field +// was explicitly populated with the default value. Singular message fields, +// member fields of a oneof, and proto2 scalar fields are nullable. Such +// fields are populated only if explicitly set. +// +// In other cases (aside from the nullable cases above), +// a proto3 scalar field is populated if it contains a non-zero value, and +// a repeated field is populated if it is non-empty. +func (x *fastReflection_GetWorkerForecastScoresAtBlockResponse) Has(fd protoreflect.FieldDescriptor) bool { + switch fd.FullName() { + case "emissions.v8.GetWorkerForecastScoresAtBlockResponse.scores": + return x.Scores != nil + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetWorkerForecastScoresAtBlockResponse")) + } + panic(fmt.Errorf("message emissions.v8.GetWorkerForecastScoresAtBlockResponse does not contain field %s", fd.FullName())) + } +} + +// Clear clears the field such that a subsequent Has call reports false. +// +// Clearing an extension field clears both the extension type and value +// associated with the given field number. +// +// Clear is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetWorkerForecastScoresAtBlockResponse) Clear(fd protoreflect.FieldDescriptor) { + switch fd.FullName() { + case "emissions.v8.GetWorkerForecastScoresAtBlockResponse.scores": + x.Scores = nil + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetWorkerForecastScoresAtBlockResponse")) + } + panic(fmt.Errorf("message emissions.v8.GetWorkerForecastScoresAtBlockResponse does not contain field %s", fd.FullName())) + } +} + +// Get retrieves the value for a field. +// +// For unpopulated scalars, it returns the default value, where +// the default value of a bytes scalar is guaranteed to be a copy. +// For unpopulated composite types, it returns an empty, read-only view +// of the value; to obtain a mutable reference, use Mutable. +func (x *fastReflection_GetWorkerForecastScoresAtBlockResponse) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { + switch descriptor.FullName() { + case "emissions.v8.GetWorkerForecastScoresAtBlockResponse.scores": + value := x.Scores + return protoreflect.ValueOfMessage(value.ProtoReflect()) + default: + if descriptor.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetWorkerForecastScoresAtBlockResponse")) + } + panic(fmt.Errorf("message emissions.v8.GetWorkerForecastScoresAtBlockResponse does not contain field %s", descriptor.FullName())) + } +} + +// Set stores the value for a field. +// +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType. +// When setting a composite type, it is unspecified whether the stored value +// aliases the source's memory in any way. If the composite value is an +// empty, read-only value, then it panics. +// +// Set is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetWorkerForecastScoresAtBlockResponse) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { + switch fd.FullName() { + case "emissions.v8.GetWorkerForecastScoresAtBlockResponse.scores": + x.Scores = value.Message().Interface().(*v3.Scores) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetWorkerForecastScoresAtBlockResponse")) + } + panic(fmt.Errorf("message emissions.v8.GetWorkerForecastScoresAtBlockResponse does not contain field %s", fd.FullName())) + } +} + +// Mutable returns a mutable reference to a composite type. +// +// If the field is unpopulated, it may allocate a composite value. +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType +// if not already stored. +// It panics if the field does not contain a composite type. +// +// Mutable is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetWorkerForecastScoresAtBlockResponse) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.GetWorkerForecastScoresAtBlockResponse.scores": + if x.Scores == nil { + x.Scores = new(v3.Scores) + } + return protoreflect.ValueOfMessage(x.Scores.ProtoReflect()) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetWorkerForecastScoresAtBlockResponse")) + } + panic(fmt.Errorf("message emissions.v8.GetWorkerForecastScoresAtBlockResponse does not contain field %s", fd.FullName())) + } +} + +// NewField returns a new value that is assignable to the field +// for the given descriptor. For scalars, this returns the default value. +// For lists, maps, and messages, this returns a new, empty, mutable value. +func (x *fastReflection_GetWorkerForecastScoresAtBlockResponse) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.GetWorkerForecastScoresAtBlockResponse.scores": + m := new(v3.Scores) + return protoreflect.ValueOfMessage(m.ProtoReflect()) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetWorkerForecastScoresAtBlockResponse")) + } + panic(fmt.Errorf("message emissions.v8.GetWorkerForecastScoresAtBlockResponse does not contain field %s", fd.FullName())) + } +} + +// WhichOneof reports which field within the oneof is populated, +// returning nil if none are populated. +// It panics if the oneof descriptor does not belong to this message. +func (x *fastReflection_GetWorkerForecastScoresAtBlockResponse) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { + switch d.FullName() { + default: + panic(fmt.Errorf("%s is not a oneof field in emissions.v8.GetWorkerForecastScoresAtBlockResponse", d.FullName())) + } + panic("unreachable") +} + +// GetUnknown retrieves the entire list of unknown fields. +// The caller may only mutate the contents of the RawFields +// if the mutated bytes are stored back into the message with SetUnknown. +func (x *fastReflection_GetWorkerForecastScoresAtBlockResponse) GetUnknown() protoreflect.RawFields { + return x.unknownFields +} + +// SetUnknown stores an entire list of unknown fields. +// The raw fields must be syntactically valid according to the wire format. +// An implementation may panic if this is not the case. +// Once stored, the caller must not mutate the content of the RawFields. +// An empty RawFields may be passed to clear the fields. +// +// SetUnknown is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetWorkerForecastScoresAtBlockResponse) SetUnknown(fields protoreflect.RawFields) { + x.unknownFields = fields +} + +// IsValid reports whether the message is valid. +// +// An invalid message is an empty, read-only value. +// +// An invalid message often corresponds to a nil pointer of the concrete +// message type, but the details are implementation dependent. +// Validity is not part of the protobuf data model, and may not +// be preserved in marshaling or other operations. +func (x *fastReflection_GetWorkerForecastScoresAtBlockResponse) IsValid() bool { + return x != nil +} + +// ProtoMethods returns optional fastReflectionFeature-path implementations of various operations. +// This method may return nil. +// +// The returned methods type is identical to +// "google.golang.org/protobuf/runtime/protoiface".Methods. +// Consult the protoiface package documentation for details. +func (x *fastReflection_GetWorkerForecastScoresAtBlockResponse) ProtoMethods() *protoiface.Methods { + size := func(input protoiface.SizeInput) protoiface.SizeOutput { + x := input.Message.Interface().(*GetWorkerForecastScoresAtBlockResponse) + if x == nil { + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: 0, + } + } + options := runtime.SizeInputToOptions(input) + _ = options + var n int + var l int + _ = l + if x.Scores != nil { + l = options.Size(x.Scores) + n += 1 + l + runtime.Sov(uint64(l)) + } + if x.unknownFields != nil { + n += len(x.unknownFields) + } + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: n, + } + } + + marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { + x := input.Message.Interface().(*GetWorkerForecastScoresAtBlockResponse) + if x == nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + options := runtime.MarshalInputToOptions(input) + _ = options + size := options.Size(x) + dAtA := make([]byte, size) + i := len(dAtA) + _ = i + var l int + _ = l + if x.unknownFields != nil { + i -= len(x.unknownFields) + copy(dAtA[i:], x.unknownFields) + } + if x.Scores != nil { + encoded, err := options.Marshal(x.Scores) + if err != nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = runtime.EncodeVarint(dAtA, i, uint64(len(encoded))) + i-- + dAtA[i] = 0xa + } + if input.Buf != nil { + input.Buf = append(input.Buf, dAtA...) + } else { + input.Buf = dAtA + } + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { + x := input.Message.Interface().(*GetWorkerForecastScoresAtBlockResponse) + if x == nil { + return protoiface.UnmarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Flags: input.Flags, + }, nil + } + options := runtime.UnmarshalInputToOptions(input) + _ = options + dAtA := input.Buf + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: GetWorkerForecastScoresAtBlockResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: GetWorkerForecastScoresAtBlockResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Scores", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + if x.Scores == nil { + x.Scores = &v3.Scores{} + } + if err := options.Unmarshal(dAtA[iNdEx:postIndex], x.Scores); err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := runtime.Skip(dAtA[iNdEx:]) + if err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if (iNdEx + skippy) > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + if !options.DiscardUnknown { + x.unknownFields = append(x.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + } + iNdEx += skippy + } + } + + if iNdEx > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, nil + } + return &protoiface.Methods{ + NoUnkeyedLiterals: struct{}{}, + Flags: protoiface.SupportMarshalDeterministic | protoiface.SupportUnmarshalDiscardUnknown, + Size: size, + Marshal: marshal, + Unmarshal: unmarshal, + Merge: nil, + CheckInitialized: nil, + } +} + +var ( + md_GetCurrentLowestForecasterScoreRequest protoreflect.MessageDescriptor + fd_GetCurrentLowestForecasterScoreRequest_topic_id protoreflect.FieldDescriptor +) + +func init() { + file_emissions_v8_query_proto_init() + md_GetCurrentLowestForecasterScoreRequest = File_emissions_v8_query_proto.Messages().ByName("GetCurrentLowestForecasterScoreRequest") + fd_GetCurrentLowestForecasterScoreRequest_topic_id = md_GetCurrentLowestForecasterScoreRequest.Fields().ByName("topic_id") +} + +var _ protoreflect.Message = (*fastReflection_GetCurrentLowestForecasterScoreRequest)(nil) + +type fastReflection_GetCurrentLowestForecasterScoreRequest GetCurrentLowestForecasterScoreRequest + +func (x *GetCurrentLowestForecasterScoreRequest) ProtoReflect() protoreflect.Message { + return (*fastReflection_GetCurrentLowestForecasterScoreRequest)(x) +} + +func (x *GetCurrentLowestForecasterScoreRequest) slowProtoReflect() protoreflect.Message { + mi := &file_emissions_v8_query_proto_msgTypes[178] + 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) +} + +var _fastReflection_GetCurrentLowestForecasterScoreRequest_messageType fastReflection_GetCurrentLowestForecasterScoreRequest_messageType +var _ protoreflect.MessageType = fastReflection_GetCurrentLowestForecasterScoreRequest_messageType{} + +type fastReflection_GetCurrentLowestForecasterScoreRequest_messageType struct{} + +func (x fastReflection_GetCurrentLowestForecasterScoreRequest_messageType) Zero() protoreflect.Message { + return (*fastReflection_GetCurrentLowestForecasterScoreRequest)(nil) +} +func (x fastReflection_GetCurrentLowestForecasterScoreRequest_messageType) New() protoreflect.Message { + return new(fastReflection_GetCurrentLowestForecasterScoreRequest) +} +func (x fastReflection_GetCurrentLowestForecasterScoreRequest_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_GetCurrentLowestForecasterScoreRequest +} + +// Descriptor returns message descriptor, which contains only the protobuf +// type information for the message. +func (x *fastReflection_GetCurrentLowestForecasterScoreRequest) Descriptor() protoreflect.MessageDescriptor { + return md_GetCurrentLowestForecasterScoreRequest +} + +// Type returns the message type, which encapsulates both Go and protobuf +// type information. If the Go type information is not needed, +// it is recommended that the message descriptor be used instead. +func (x *fastReflection_GetCurrentLowestForecasterScoreRequest) Type() protoreflect.MessageType { + return _fastReflection_GetCurrentLowestForecasterScoreRequest_messageType +} + +// New returns a newly allocated and mutable empty message. +func (x *fastReflection_GetCurrentLowestForecasterScoreRequest) New() protoreflect.Message { + return new(fastReflection_GetCurrentLowestForecasterScoreRequest) +} + +// Interface unwraps the message reflection interface and +// returns the underlying ProtoMessage interface. +func (x *fastReflection_GetCurrentLowestForecasterScoreRequest) Interface() protoreflect.ProtoMessage { + return (*GetCurrentLowestForecasterScoreRequest)(x) +} + +// Range iterates over every populated field in an undefined order, +// calling f for each field descriptor and value encountered. +// Range returns immediately if f returns false. +// While iterating, mutating operations may only be performed +// on the current field descriptor. +func (x *fastReflection_GetCurrentLowestForecasterScoreRequest) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { + if x.TopicId != uint64(0) { + value := protoreflect.ValueOfUint64(x.TopicId) + if !f(fd_GetCurrentLowestForecasterScoreRequest_topic_id, value) { + return + } + } +} + +// Has reports whether a field is populated. +// +// Some fields have the property of nullability where it is possible to +// distinguish between the default value of a field and whether the field +// was explicitly populated with the default value. Singular message fields, +// member fields of a oneof, and proto2 scalar fields are nullable. Such +// fields are populated only if explicitly set. +// +// In other cases (aside from the nullable cases above), +// a proto3 scalar field is populated if it contains a non-zero value, and +// a repeated field is populated if it is non-empty. +func (x *fastReflection_GetCurrentLowestForecasterScoreRequest) Has(fd protoreflect.FieldDescriptor) bool { + switch fd.FullName() { + case "emissions.v8.GetCurrentLowestForecasterScoreRequest.topic_id": + return x.TopicId != uint64(0) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetCurrentLowestForecasterScoreRequest")) + } + panic(fmt.Errorf("message emissions.v8.GetCurrentLowestForecasterScoreRequest does not contain field %s", fd.FullName())) + } +} + +// Clear clears the field such that a subsequent Has call reports false. +// +// Clearing an extension field clears both the extension type and value +// associated with the given field number. +// +// Clear is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetCurrentLowestForecasterScoreRequest) Clear(fd protoreflect.FieldDescriptor) { + switch fd.FullName() { + case "emissions.v8.GetCurrentLowestForecasterScoreRequest.topic_id": + x.TopicId = uint64(0) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetCurrentLowestForecasterScoreRequest")) + } + panic(fmt.Errorf("message emissions.v8.GetCurrentLowestForecasterScoreRequest does not contain field %s", fd.FullName())) + } +} + +// Get retrieves the value for a field. +// +// For unpopulated scalars, it returns the default value, where +// the default value of a bytes scalar is guaranteed to be a copy. +// For unpopulated composite types, it returns an empty, read-only view +// of the value; to obtain a mutable reference, use Mutable. +func (x *fastReflection_GetCurrentLowestForecasterScoreRequest) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { + switch descriptor.FullName() { + case "emissions.v8.GetCurrentLowestForecasterScoreRequest.topic_id": + value := x.TopicId + return protoreflect.ValueOfUint64(value) + default: + if descriptor.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetCurrentLowestForecasterScoreRequest")) + } + panic(fmt.Errorf("message emissions.v8.GetCurrentLowestForecasterScoreRequest does not contain field %s", descriptor.FullName())) + } +} + +// Set stores the value for a field. +// +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType. +// When setting a composite type, it is unspecified whether the stored value +// aliases the source's memory in any way. If the composite value is an +// empty, read-only value, then it panics. +// +// Set is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetCurrentLowestForecasterScoreRequest) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { + switch fd.FullName() { + case "emissions.v8.GetCurrentLowestForecasterScoreRequest.topic_id": + x.TopicId = value.Uint() + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetCurrentLowestForecasterScoreRequest")) + } + panic(fmt.Errorf("message emissions.v8.GetCurrentLowestForecasterScoreRequest does not contain field %s", fd.FullName())) + } +} + +// Mutable returns a mutable reference to a composite type. +// +// If the field is unpopulated, it may allocate a composite value. +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType +// if not already stored. +// It panics if the field does not contain a composite type. +// +// Mutable is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetCurrentLowestForecasterScoreRequest) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.GetCurrentLowestForecasterScoreRequest.topic_id": + panic(fmt.Errorf("field topic_id of message emissions.v8.GetCurrentLowestForecasterScoreRequest is not mutable")) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetCurrentLowestForecasterScoreRequest")) + } + panic(fmt.Errorf("message emissions.v8.GetCurrentLowestForecasterScoreRequest does not contain field %s", fd.FullName())) + } +} + +// NewField returns a new value that is assignable to the field +// for the given descriptor. For scalars, this returns the default value. +// For lists, maps, and messages, this returns a new, empty, mutable value. +func (x *fastReflection_GetCurrentLowestForecasterScoreRequest) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.GetCurrentLowestForecasterScoreRequest.topic_id": + return protoreflect.ValueOfUint64(uint64(0)) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetCurrentLowestForecasterScoreRequest")) + } + panic(fmt.Errorf("message emissions.v8.GetCurrentLowestForecasterScoreRequest does not contain field %s", fd.FullName())) + } +} + +// WhichOneof reports which field within the oneof is populated, +// returning nil if none are populated. +// It panics if the oneof descriptor does not belong to this message. +func (x *fastReflection_GetCurrentLowestForecasterScoreRequest) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { + switch d.FullName() { + default: + panic(fmt.Errorf("%s is not a oneof field in emissions.v8.GetCurrentLowestForecasterScoreRequest", d.FullName())) + } + panic("unreachable") +} + +// GetUnknown retrieves the entire list of unknown fields. +// The caller may only mutate the contents of the RawFields +// if the mutated bytes are stored back into the message with SetUnknown. +func (x *fastReflection_GetCurrentLowestForecasterScoreRequest) GetUnknown() protoreflect.RawFields { + return x.unknownFields +} + +// SetUnknown stores an entire list of unknown fields. +// The raw fields must be syntactically valid according to the wire format. +// An implementation may panic if this is not the case. +// Once stored, the caller must not mutate the content of the RawFields. +// An empty RawFields may be passed to clear the fields. +// +// SetUnknown is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetCurrentLowestForecasterScoreRequest) SetUnknown(fields protoreflect.RawFields) { + x.unknownFields = fields +} + +// IsValid reports whether the message is valid. +// +// An invalid message is an empty, read-only value. +// +// An invalid message often corresponds to a nil pointer of the concrete +// message type, but the details are implementation dependent. +// Validity is not part of the protobuf data model, and may not +// be preserved in marshaling or other operations. +func (x *fastReflection_GetCurrentLowestForecasterScoreRequest) IsValid() bool { + return x != nil +} + +// ProtoMethods returns optional fastReflectionFeature-path implementations of various operations. +// This method may return nil. +// +// The returned methods type is identical to +// "google.golang.org/protobuf/runtime/protoiface".Methods. +// Consult the protoiface package documentation for details. +func (x *fastReflection_GetCurrentLowestForecasterScoreRequest) ProtoMethods() *protoiface.Methods { + size := func(input protoiface.SizeInput) protoiface.SizeOutput { + x := input.Message.Interface().(*GetCurrentLowestForecasterScoreRequest) + if x == nil { + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: 0, + } + } + options := runtime.SizeInputToOptions(input) + _ = options + var n int + var l int + _ = l + if x.TopicId != 0 { + n += 1 + runtime.Sov(uint64(x.TopicId)) + } + if x.unknownFields != nil { + n += len(x.unknownFields) + } + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: n, + } + } + + marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { + x := input.Message.Interface().(*GetCurrentLowestForecasterScoreRequest) + if x == nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + options := runtime.MarshalInputToOptions(input) + _ = options + size := options.Size(x) + dAtA := make([]byte, size) + i := len(dAtA) + _ = i + var l int + _ = l + if x.unknownFields != nil { + i -= len(x.unknownFields) + copy(dAtA[i:], x.unknownFields) + } + if x.TopicId != 0 { + i = runtime.EncodeVarint(dAtA, i, uint64(x.TopicId)) + i-- + dAtA[i] = 0x8 + } + if input.Buf != nil { + input.Buf = append(input.Buf, dAtA...) + } else { + input.Buf = dAtA + } + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { + x := input.Message.Interface().(*GetCurrentLowestForecasterScoreRequest) + if x == nil { + return protoiface.UnmarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Flags: input.Flags, + }, nil + } + options := runtime.UnmarshalInputToOptions(input) + _ = options + dAtA := input.Buf + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: GetCurrentLowestForecasterScoreRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: GetCurrentLowestForecasterScoreRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field TopicId", wireType) + } + x.TopicId = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + x.TopicId |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + default: + iNdEx = preIndex + skippy, err := runtime.Skip(dAtA[iNdEx:]) + if err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if (iNdEx + skippy) > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + if !options.DiscardUnknown { + x.unknownFields = append(x.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + } + iNdEx += skippy + } + } + + if iNdEx > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, nil + } + return &protoiface.Methods{ + NoUnkeyedLiterals: struct{}{}, + Flags: protoiface.SupportMarshalDeterministic | protoiface.SupportUnmarshalDiscardUnknown, + Size: size, + Marshal: marshal, + Unmarshal: unmarshal, + Merge: nil, + CheckInitialized: nil, + } +} + +var ( + md_GetCurrentLowestForecasterScoreResponse protoreflect.MessageDescriptor + fd_GetCurrentLowestForecasterScoreResponse_score protoreflect.FieldDescriptor +) + +func init() { + file_emissions_v8_query_proto_init() + md_GetCurrentLowestForecasterScoreResponse = File_emissions_v8_query_proto.Messages().ByName("GetCurrentLowestForecasterScoreResponse") + fd_GetCurrentLowestForecasterScoreResponse_score = md_GetCurrentLowestForecasterScoreResponse.Fields().ByName("score") +} + +var _ protoreflect.Message = (*fastReflection_GetCurrentLowestForecasterScoreResponse)(nil) + +type fastReflection_GetCurrentLowestForecasterScoreResponse GetCurrentLowestForecasterScoreResponse + +func (x *GetCurrentLowestForecasterScoreResponse) ProtoReflect() protoreflect.Message { + return (*fastReflection_GetCurrentLowestForecasterScoreResponse)(x) +} + +func (x *GetCurrentLowestForecasterScoreResponse) slowProtoReflect() protoreflect.Message { + mi := &file_emissions_v8_query_proto_msgTypes[179] + 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) +} + +var _fastReflection_GetCurrentLowestForecasterScoreResponse_messageType fastReflection_GetCurrentLowestForecasterScoreResponse_messageType +var _ protoreflect.MessageType = fastReflection_GetCurrentLowestForecasterScoreResponse_messageType{} + +type fastReflection_GetCurrentLowestForecasterScoreResponse_messageType struct{} + +func (x fastReflection_GetCurrentLowestForecasterScoreResponse_messageType) Zero() protoreflect.Message { + return (*fastReflection_GetCurrentLowestForecasterScoreResponse)(nil) +} +func (x fastReflection_GetCurrentLowestForecasterScoreResponse_messageType) New() protoreflect.Message { + return new(fastReflection_GetCurrentLowestForecasterScoreResponse) +} +func (x fastReflection_GetCurrentLowestForecasterScoreResponse_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_GetCurrentLowestForecasterScoreResponse +} + +// Descriptor returns message descriptor, which contains only the protobuf +// type information for the message. +func (x *fastReflection_GetCurrentLowestForecasterScoreResponse) Descriptor() protoreflect.MessageDescriptor { + return md_GetCurrentLowestForecasterScoreResponse +} + +// Type returns the message type, which encapsulates both Go and protobuf +// type information. If the Go type information is not needed, +// it is recommended that the message descriptor be used instead. +func (x *fastReflection_GetCurrentLowestForecasterScoreResponse) Type() protoreflect.MessageType { + return _fastReflection_GetCurrentLowestForecasterScoreResponse_messageType +} + +// New returns a newly allocated and mutable empty message. +func (x *fastReflection_GetCurrentLowestForecasterScoreResponse) New() protoreflect.Message { + return new(fastReflection_GetCurrentLowestForecasterScoreResponse) +} + +// Interface unwraps the message reflection interface and +// returns the underlying ProtoMessage interface. +func (x *fastReflection_GetCurrentLowestForecasterScoreResponse) Interface() protoreflect.ProtoMessage { + return (*GetCurrentLowestForecasterScoreResponse)(x) +} + +// Range iterates over every populated field in an undefined order, +// calling f for each field descriptor and value encountered. +// Range returns immediately if f returns false. +// While iterating, mutating operations may only be performed +// on the current field descriptor. +func (x *fastReflection_GetCurrentLowestForecasterScoreResponse) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { + if x.Score != nil { + value := protoreflect.ValueOfMessage(x.Score.ProtoReflect()) + if !f(fd_GetCurrentLowestForecasterScoreResponse_score, value) { + return + } + } +} + +// Has reports whether a field is populated. +// +// Some fields have the property of nullability where it is possible to +// distinguish between the default value of a field and whether the field +// was explicitly populated with the default value. Singular message fields, +// member fields of a oneof, and proto2 scalar fields are nullable. Such +// fields are populated only if explicitly set. +// +// In other cases (aside from the nullable cases above), +// a proto3 scalar field is populated if it contains a non-zero value, and +// a repeated field is populated if it is non-empty. +func (x *fastReflection_GetCurrentLowestForecasterScoreResponse) Has(fd protoreflect.FieldDescriptor) bool { + switch fd.FullName() { + case "emissions.v8.GetCurrentLowestForecasterScoreResponse.score": + return x.Score != nil + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetCurrentLowestForecasterScoreResponse")) + } + panic(fmt.Errorf("message emissions.v8.GetCurrentLowestForecasterScoreResponse does not contain field %s", fd.FullName())) + } +} + +// Clear clears the field such that a subsequent Has call reports false. +// +// Clearing an extension field clears both the extension type and value +// associated with the given field number. +// +// Clear is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetCurrentLowestForecasterScoreResponse) Clear(fd protoreflect.FieldDescriptor) { + switch fd.FullName() { + case "emissions.v8.GetCurrentLowestForecasterScoreResponse.score": + x.Score = nil + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetCurrentLowestForecasterScoreResponse")) + } + panic(fmt.Errorf("message emissions.v8.GetCurrentLowestForecasterScoreResponse does not contain field %s", fd.FullName())) + } +} + +// Get retrieves the value for a field. +// +// For unpopulated scalars, it returns the default value, where +// the default value of a bytes scalar is guaranteed to be a copy. +// For unpopulated composite types, it returns an empty, read-only view +// of the value; to obtain a mutable reference, use Mutable. +func (x *fastReflection_GetCurrentLowestForecasterScoreResponse) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { + switch descriptor.FullName() { + case "emissions.v8.GetCurrentLowestForecasterScoreResponse.score": + value := x.Score + return protoreflect.ValueOfMessage(value.ProtoReflect()) + default: + if descriptor.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetCurrentLowestForecasterScoreResponse")) + } + panic(fmt.Errorf("message emissions.v8.GetCurrentLowestForecasterScoreResponse does not contain field %s", descriptor.FullName())) + } +} + +// Set stores the value for a field. +// +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType. +// When setting a composite type, it is unspecified whether the stored value +// aliases the source's memory in any way. If the composite value is an +// empty, read-only value, then it panics. +// +// Set is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetCurrentLowestForecasterScoreResponse) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { + switch fd.FullName() { + case "emissions.v8.GetCurrentLowestForecasterScoreResponse.score": + x.Score = value.Message().Interface().(*v3.Score) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetCurrentLowestForecasterScoreResponse")) + } + panic(fmt.Errorf("message emissions.v8.GetCurrentLowestForecasterScoreResponse does not contain field %s", fd.FullName())) + } +} + +// Mutable returns a mutable reference to a composite type. +// +// If the field is unpopulated, it may allocate a composite value. +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType +// if not already stored. +// It panics if the field does not contain a composite type. +// +// Mutable is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetCurrentLowestForecasterScoreResponse) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.GetCurrentLowestForecasterScoreResponse.score": + if x.Score == nil { + x.Score = new(v3.Score) + } + return protoreflect.ValueOfMessage(x.Score.ProtoReflect()) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetCurrentLowestForecasterScoreResponse")) + } + panic(fmt.Errorf("message emissions.v8.GetCurrentLowestForecasterScoreResponse does not contain field %s", fd.FullName())) + } +} + +// NewField returns a new value that is assignable to the field +// for the given descriptor. For scalars, this returns the default value. +// For lists, maps, and messages, this returns a new, empty, mutable value. +func (x *fastReflection_GetCurrentLowestForecasterScoreResponse) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.GetCurrentLowestForecasterScoreResponse.score": + m := new(v3.Score) + return protoreflect.ValueOfMessage(m.ProtoReflect()) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetCurrentLowestForecasterScoreResponse")) + } + panic(fmt.Errorf("message emissions.v8.GetCurrentLowestForecasterScoreResponse does not contain field %s", fd.FullName())) + } +} + +// WhichOneof reports which field within the oneof is populated, +// returning nil if none are populated. +// It panics if the oneof descriptor does not belong to this message. +func (x *fastReflection_GetCurrentLowestForecasterScoreResponse) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { + switch d.FullName() { + default: + panic(fmt.Errorf("%s is not a oneof field in emissions.v8.GetCurrentLowestForecasterScoreResponse", d.FullName())) + } + panic("unreachable") +} + +// GetUnknown retrieves the entire list of unknown fields. +// The caller may only mutate the contents of the RawFields +// if the mutated bytes are stored back into the message with SetUnknown. +func (x *fastReflection_GetCurrentLowestForecasterScoreResponse) GetUnknown() protoreflect.RawFields { + return x.unknownFields +} + +// SetUnknown stores an entire list of unknown fields. +// The raw fields must be syntactically valid according to the wire format. +// An implementation may panic if this is not the case. +// Once stored, the caller must not mutate the content of the RawFields. +// An empty RawFields may be passed to clear the fields. +// +// SetUnknown is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetCurrentLowestForecasterScoreResponse) SetUnknown(fields protoreflect.RawFields) { + x.unknownFields = fields +} + +// IsValid reports whether the message is valid. +// +// An invalid message is an empty, read-only value. +// +// An invalid message often corresponds to a nil pointer of the concrete +// message type, but the details are implementation dependent. +// Validity is not part of the protobuf data model, and may not +// be preserved in marshaling or other operations. +func (x *fastReflection_GetCurrentLowestForecasterScoreResponse) IsValid() bool { + return x != nil +} + +// ProtoMethods returns optional fastReflectionFeature-path implementations of various operations. +// This method may return nil. +// +// The returned methods type is identical to +// "google.golang.org/protobuf/runtime/protoiface".Methods. +// Consult the protoiface package documentation for details. +func (x *fastReflection_GetCurrentLowestForecasterScoreResponse) ProtoMethods() *protoiface.Methods { + size := func(input protoiface.SizeInput) protoiface.SizeOutput { + x := input.Message.Interface().(*GetCurrentLowestForecasterScoreResponse) + if x == nil { + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: 0, + } + } + options := runtime.SizeInputToOptions(input) + _ = options + var n int + var l int + _ = l + if x.Score != nil { + l = options.Size(x.Score) + n += 1 + l + runtime.Sov(uint64(l)) + } + if x.unknownFields != nil { + n += len(x.unknownFields) + } + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: n, + } + } + + marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { + x := input.Message.Interface().(*GetCurrentLowestForecasterScoreResponse) + if x == nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + options := runtime.MarshalInputToOptions(input) + _ = options + size := options.Size(x) + dAtA := make([]byte, size) + i := len(dAtA) + _ = i + var l int + _ = l + if x.unknownFields != nil { + i -= len(x.unknownFields) + copy(dAtA[i:], x.unknownFields) + } + if x.Score != nil { + encoded, err := options.Marshal(x.Score) + if err != nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = runtime.EncodeVarint(dAtA, i, uint64(len(encoded))) + i-- + dAtA[i] = 0xa + } + if input.Buf != nil { + input.Buf = append(input.Buf, dAtA...) + } else { + input.Buf = dAtA + } + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { + x := input.Message.Interface().(*GetCurrentLowestForecasterScoreResponse) + if x == nil { + return protoiface.UnmarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Flags: input.Flags, + }, nil + } + options := runtime.UnmarshalInputToOptions(input) + _ = options + dAtA := input.Buf + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: GetCurrentLowestForecasterScoreResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: GetCurrentLowestForecasterScoreResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Score", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + if x.Score == nil { + x.Score = &v3.Score{} + } + if err := options.Unmarshal(dAtA[iNdEx:postIndex], x.Score); err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := runtime.Skip(dAtA[iNdEx:]) + if err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if (iNdEx + skippy) > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + if !options.DiscardUnknown { + x.unknownFields = append(x.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + } + iNdEx += skippy + } + } + + if iNdEx > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, nil + } + return &protoiface.Methods{ + NoUnkeyedLiterals: struct{}{}, + Flags: protoiface.SupportMarshalDeterministic | protoiface.SupportUnmarshalDiscardUnknown, + Size: size, + Marshal: marshal, + Unmarshal: unmarshal, + Merge: nil, + CheckInitialized: nil, + } +} + +var ( + md_GetReputersScoresAtBlockRequest protoreflect.MessageDescriptor + fd_GetReputersScoresAtBlockRequest_topic_id protoreflect.FieldDescriptor + fd_GetReputersScoresAtBlockRequest_block_height protoreflect.FieldDescriptor +) + +func init() { + file_emissions_v8_query_proto_init() + md_GetReputersScoresAtBlockRequest = File_emissions_v8_query_proto.Messages().ByName("GetReputersScoresAtBlockRequest") + fd_GetReputersScoresAtBlockRequest_topic_id = md_GetReputersScoresAtBlockRequest.Fields().ByName("topic_id") + fd_GetReputersScoresAtBlockRequest_block_height = md_GetReputersScoresAtBlockRequest.Fields().ByName("block_height") +} + +var _ protoreflect.Message = (*fastReflection_GetReputersScoresAtBlockRequest)(nil) + +type fastReflection_GetReputersScoresAtBlockRequest GetReputersScoresAtBlockRequest + +func (x *GetReputersScoresAtBlockRequest) ProtoReflect() protoreflect.Message { + return (*fastReflection_GetReputersScoresAtBlockRequest)(x) +} + +func (x *GetReputersScoresAtBlockRequest) slowProtoReflect() protoreflect.Message { + mi := &file_emissions_v8_query_proto_msgTypes[180] + 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) +} + +var _fastReflection_GetReputersScoresAtBlockRequest_messageType fastReflection_GetReputersScoresAtBlockRequest_messageType +var _ protoreflect.MessageType = fastReflection_GetReputersScoresAtBlockRequest_messageType{} + +type fastReflection_GetReputersScoresAtBlockRequest_messageType struct{} + +func (x fastReflection_GetReputersScoresAtBlockRequest_messageType) Zero() protoreflect.Message { + return (*fastReflection_GetReputersScoresAtBlockRequest)(nil) +} +func (x fastReflection_GetReputersScoresAtBlockRequest_messageType) New() protoreflect.Message { + return new(fastReflection_GetReputersScoresAtBlockRequest) +} +func (x fastReflection_GetReputersScoresAtBlockRequest_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_GetReputersScoresAtBlockRequest +} + +// Descriptor returns message descriptor, which contains only the protobuf +// type information for the message. +func (x *fastReflection_GetReputersScoresAtBlockRequest) Descriptor() protoreflect.MessageDescriptor { + return md_GetReputersScoresAtBlockRequest +} + +// Type returns the message type, which encapsulates both Go and protobuf +// type information. If the Go type information is not needed, +// it is recommended that the message descriptor be used instead. +func (x *fastReflection_GetReputersScoresAtBlockRequest) Type() protoreflect.MessageType { + return _fastReflection_GetReputersScoresAtBlockRequest_messageType +} + +// New returns a newly allocated and mutable empty message. +func (x *fastReflection_GetReputersScoresAtBlockRequest) New() protoreflect.Message { + return new(fastReflection_GetReputersScoresAtBlockRequest) +} + +// Interface unwraps the message reflection interface and +// returns the underlying ProtoMessage interface. +func (x *fastReflection_GetReputersScoresAtBlockRequest) Interface() protoreflect.ProtoMessage { + return (*GetReputersScoresAtBlockRequest)(x) +} + +// Range iterates over every populated field in an undefined order, +// calling f for each field descriptor and value encountered. +// Range returns immediately if f returns false. +// While iterating, mutating operations may only be performed +// on the current field descriptor. +func (x *fastReflection_GetReputersScoresAtBlockRequest) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { + if x.TopicId != uint64(0) { + value := protoreflect.ValueOfUint64(x.TopicId) + if !f(fd_GetReputersScoresAtBlockRequest_topic_id, value) { + return + } + } + if x.BlockHeight != int64(0) { + value := protoreflect.ValueOfInt64(x.BlockHeight) + if !f(fd_GetReputersScoresAtBlockRequest_block_height, value) { + return + } + } +} + +// Has reports whether a field is populated. +// +// Some fields have the property of nullability where it is possible to +// distinguish between the default value of a field and whether the field +// was explicitly populated with the default value. Singular message fields, +// member fields of a oneof, and proto2 scalar fields are nullable. Such +// fields are populated only if explicitly set. +// +// In other cases (aside from the nullable cases above), +// a proto3 scalar field is populated if it contains a non-zero value, and +// a repeated field is populated if it is non-empty. +func (x *fastReflection_GetReputersScoresAtBlockRequest) Has(fd protoreflect.FieldDescriptor) bool { + switch fd.FullName() { + case "emissions.v8.GetReputersScoresAtBlockRequest.topic_id": + return x.TopicId != uint64(0) + case "emissions.v8.GetReputersScoresAtBlockRequest.block_height": + return x.BlockHeight != int64(0) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetReputersScoresAtBlockRequest")) + } + panic(fmt.Errorf("message emissions.v8.GetReputersScoresAtBlockRequest does not contain field %s", fd.FullName())) + } +} + +// Clear clears the field such that a subsequent Has call reports false. +// +// Clearing an extension field clears both the extension type and value +// associated with the given field number. +// +// Clear is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetReputersScoresAtBlockRequest) Clear(fd protoreflect.FieldDescriptor) { + switch fd.FullName() { + case "emissions.v8.GetReputersScoresAtBlockRequest.topic_id": + x.TopicId = uint64(0) + case "emissions.v8.GetReputersScoresAtBlockRequest.block_height": + x.BlockHeight = int64(0) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetReputersScoresAtBlockRequest")) + } + panic(fmt.Errorf("message emissions.v8.GetReputersScoresAtBlockRequest does not contain field %s", fd.FullName())) + } +} + +// Get retrieves the value for a field. +// +// For unpopulated scalars, it returns the default value, where +// the default value of a bytes scalar is guaranteed to be a copy. +// For unpopulated composite types, it returns an empty, read-only view +// of the value; to obtain a mutable reference, use Mutable. +func (x *fastReflection_GetReputersScoresAtBlockRequest) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { + switch descriptor.FullName() { + case "emissions.v8.GetReputersScoresAtBlockRequest.topic_id": + value := x.TopicId + return protoreflect.ValueOfUint64(value) + case "emissions.v8.GetReputersScoresAtBlockRequest.block_height": + value := x.BlockHeight + return protoreflect.ValueOfInt64(value) + default: + if descriptor.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetReputersScoresAtBlockRequest")) + } + panic(fmt.Errorf("message emissions.v8.GetReputersScoresAtBlockRequest does not contain field %s", descriptor.FullName())) + } +} + +// Set stores the value for a field. +// +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType. +// When setting a composite type, it is unspecified whether the stored value +// aliases the source's memory in any way. If the composite value is an +// empty, read-only value, then it panics. +// +// Set is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetReputersScoresAtBlockRequest) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { + switch fd.FullName() { + case "emissions.v8.GetReputersScoresAtBlockRequest.topic_id": + x.TopicId = value.Uint() + case "emissions.v8.GetReputersScoresAtBlockRequest.block_height": + x.BlockHeight = value.Int() + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetReputersScoresAtBlockRequest")) + } + panic(fmt.Errorf("message emissions.v8.GetReputersScoresAtBlockRequest does not contain field %s", fd.FullName())) + } +} + +// Mutable returns a mutable reference to a composite type. +// +// If the field is unpopulated, it may allocate a composite value. +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType +// if not already stored. +// It panics if the field does not contain a composite type. +// +// Mutable is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetReputersScoresAtBlockRequest) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.GetReputersScoresAtBlockRequest.topic_id": + panic(fmt.Errorf("field topic_id of message emissions.v8.GetReputersScoresAtBlockRequest is not mutable")) + case "emissions.v8.GetReputersScoresAtBlockRequest.block_height": + panic(fmt.Errorf("field block_height of message emissions.v8.GetReputersScoresAtBlockRequest is not mutable")) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetReputersScoresAtBlockRequest")) + } + panic(fmt.Errorf("message emissions.v8.GetReputersScoresAtBlockRequest does not contain field %s", fd.FullName())) + } +} + +// NewField returns a new value that is assignable to the field +// for the given descriptor. For scalars, this returns the default value. +// For lists, maps, and messages, this returns a new, empty, mutable value. +func (x *fastReflection_GetReputersScoresAtBlockRequest) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.GetReputersScoresAtBlockRequest.topic_id": + return protoreflect.ValueOfUint64(uint64(0)) + case "emissions.v8.GetReputersScoresAtBlockRequest.block_height": + return protoreflect.ValueOfInt64(int64(0)) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetReputersScoresAtBlockRequest")) + } + panic(fmt.Errorf("message emissions.v8.GetReputersScoresAtBlockRequest does not contain field %s", fd.FullName())) + } +} + +// WhichOneof reports which field within the oneof is populated, +// returning nil if none are populated. +// It panics if the oneof descriptor does not belong to this message. +func (x *fastReflection_GetReputersScoresAtBlockRequest) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { + switch d.FullName() { + default: + panic(fmt.Errorf("%s is not a oneof field in emissions.v8.GetReputersScoresAtBlockRequest", d.FullName())) + } + panic("unreachable") +} + +// GetUnknown retrieves the entire list of unknown fields. +// The caller may only mutate the contents of the RawFields +// if the mutated bytes are stored back into the message with SetUnknown. +func (x *fastReflection_GetReputersScoresAtBlockRequest) GetUnknown() protoreflect.RawFields { + return x.unknownFields +} + +// SetUnknown stores an entire list of unknown fields. +// The raw fields must be syntactically valid according to the wire format. +// An implementation may panic if this is not the case. +// Once stored, the caller must not mutate the content of the RawFields. +// An empty RawFields may be passed to clear the fields. +// +// SetUnknown is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetReputersScoresAtBlockRequest) SetUnknown(fields protoreflect.RawFields) { + x.unknownFields = fields +} + +// IsValid reports whether the message is valid. +// +// An invalid message is an empty, read-only value. +// +// An invalid message often corresponds to a nil pointer of the concrete +// message type, but the details are implementation dependent. +// Validity is not part of the protobuf data model, and may not +// be preserved in marshaling or other operations. +func (x *fastReflection_GetReputersScoresAtBlockRequest) IsValid() bool { + return x != nil +} + +// ProtoMethods returns optional fastReflectionFeature-path implementations of various operations. +// This method may return nil. +// +// The returned methods type is identical to +// "google.golang.org/protobuf/runtime/protoiface".Methods. +// Consult the protoiface package documentation for details. +func (x *fastReflection_GetReputersScoresAtBlockRequest) ProtoMethods() *protoiface.Methods { + size := func(input protoiface.SizeInput) protoiface.SizeOutput { + x := input.Message.Interface().(*GetReputersScoresAtBlockRequest) + if x == nil { + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: 0, + } + } + options := runtime.SizeInputToOptions(input) + _ = options + var n int + var l int + _ = l + if x.TopicId != 0 { + n += 1 + runtime.Sov(uint64(x.TopicId)) + } + if x.BlockHeight != 0 { + n += 1 + runtime.Sov(uint64(x.BlockHeight)) + } + if x.unknownFields != nil { + n += len(x.unknownFields) + } + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: n, + } + } + + marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { + x := input.Message.Interface().(*GetReputersScoresAtBlockRequest) + if x == nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + options := runtime.MarshalInputToOptions(input) + _ = options + size := options.Size(x) + dAtA := make([]byte, size) + i := len(dAtA) + _ = i + var l int + _ = l + if x.unknownFields != nil { + i -= len(x.unknownFields) + copy(dAtA[i:], x.unknownFields) + } + if x.BlockHeight != 0 { + i = runtime.EncodeVarint(dAtA, i, uint64(x.BlockHeight)) + i-- + dAtA[i] = 0x10 + } + if x.TopicId != 0 { + i = runtime.EncodeVarint(dAtA, i, uint64(x.TopicId)) + i-- + dAtA[i] = 0x8 + } + if input.Buf != nil { + input.Buf = append(input.Buf, dAtA...) + } else { + input.Buf = dAtA + } + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { + x := input.Message.Interface().(*GetReputersScoresAtBlockRequest) + if x == nil { + return protoiface.UnmarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Flags: input.Flags, + }, nil + } + options := runtime.UnmarshalInputToOptions(input) + _ = options + dAtA := input.Buf + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: GetReputersScoresAtBlockRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: GetReputersScoresAtBlockRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field TopicId", wireType) + } + x.TopicId = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + x.TopicId |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 2: + if wireType != 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field BlockHeight", wireType) + } + x.BlockHeight = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + x.BlockHeight |= int64(b&0x7F) << shift + if b < 0x80 { + break + } + } + default: + iNdEx = preIndex + skippy, err := runtime.Skip(dAtA[iNdEx:]) + if err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if (iNdEx + skippy) > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + if !options.DiscardUnknown { + x.unknownFields = append(x.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + } + iNdEx += skippy + } + } + + if iNdEx > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, nil + } + return &protoiface.Methods{ + NoUnkeyedLiterals: struct{}{}, + Flags: protoiface.SupportMarshalDeterministic | protoiface.SupportUnmarshalDiscardUnknown, + Size: size, + Marshal: marshal, + Unmarshal: unmarshal, + Merge: nil, + CheckInitialized: nil, + } +} + +var ( + md_GetReputersScoresAtBlockResponse protoreflect.MessageDescriptor + fd_GetReputersScoresAtBlockResponse_scores protoreflect.FieldDescriptor +) + +func init() { + file_emissions_v8_query_proto_init() + md_GetReputersScoresAtBlockResponse = File_emissions_v8_query_proto.Messages().ByName("GetReputersScoresAtBlockResponse") + fd_GetReputersScoresAtBlockResponse_scores = md_GetReputersScoresAtBlockResponse.Fields().ByName("scores") +} + +var _ protoreflect.Message = (*fastReflection_GetReputersScoresAtBlockResponse)(nil) + +type fastReflection_GetReputersScoresAtBlockResponse GetReputersScoresAtBlockResponse + +func (x *GetReputersScoresAtBlockResponse) ProtoReflect() protoreflect.Message { + return (*fastReflection_GetReputersScoresAtBlockResponse)(x) +} + +func (x *GetReputersScoresAtBlockResponse) slowProtoReflect() protoreflect.Message { + mi := &file_emissions_v8_query_proto_msgTypes[181] + 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) +} + +var _fastReflection_GetReputersScoresAtBlockResponse_messageType fastReflection_GetReputersScoresAtBlockResponse_messageType +var _ protoreflect.MessageType = fastReflection_GetReputersScoresAtBlockResponse_messageType{} + +type fastReflection_GetReputersScoresAtBlockResponse_messageType struct{} + +func (x fastReflection_GetReputersScoresAtBlockResponse_messageType) Zero() protoreflect.Message { + return (*fastReflection_GetReputersScoresAtBlockResponse)(nil) +} +func (x fastReflection_GetReputersScoresAtBlockResponse_messageType) New() protoreflect.Message { + return new(fastReflection_GetReputersScoresAtBlockResponse) +} +func (x fastReflection_GetReputersScoresAtBlockResponse_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_GetReputersScoresAtBlockResponse +} + +// Descriptor returns message descriptor, which contains only the protobuf +// type information for the message. +func (x *fastReflection_GetReputersScoresAtBlockResponse) Descriptor() protoreflect.MessageDescriptor { + return md_GetReputersScoresAtBlockResponse +} + +// Type returns the message type, which encapsulates both Go and protobuf +// type information. If the Go type information is not needed, +// it is recommended that the message descriptor be used instead. +func (x *fastReflection_GetReputersScoresAtBlockResponse) Type() protoreflect.MessageType { + return _fastReflection_GetReputersScoresAtBlockResponse_messageType +} + +// New returns a newly allocated and mutable empty message. +func (x *fastReflection_GetReputersScoresAtBlockResponse) New() protoreflect.Message { + return new(fastReflection_GetReputersScoresAtBlockResponse) +} + +// Interface unwraps the message reflection interface and +// returns the underlying ProtoMessage interface. +func (x *fastReflection_GetReputersScoresAtBlockResponse) Interface() protoreflect.ProtoMessage { + return (*GetReputersScoresAtBlockResponse)(x) +} + +// Range iterates over every populated field in an undefined order, +// calling f for each field descriptor and value encountered. +// Range returns immediately if f returns false. +// While iterating, mutating operations may only be performed +// on the current field descriptor. +func (x *fastReflection_GetReputersScoresAtBlockResponse) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { + if x.Scores != nil { + value := protoreflect.ValueOfMessage(x.Scores.ProtoReflect()) + if !f(fd_GetReputersScoresAtBlockResponse_scores, value) { + return + } + } +} + +// Has reports whether a field is populated. +// +// Some fields have the property of nullability where it is possible to +// distinguish between the default value of a field and whether the field +// was explicitly populated with the default value. Singular message fields, +// member fields of a oneof, and proto2 scalar fields are nullable. Such +// fields are populated only if explicitly set. +// +// In other cases (aside from the nullable cases above), +// a proto3 scalar field is populated if it contains a non-zero value, and +// a repeated field is populated if it is non-empty. +func (x *fastReflection_GetReputersScoresAtBlockResponse) Has(fd protoreflect.FieldDescriptor) bool { + switch fd.FullName() { + case "emissions.v8.GetReputersScoresAtBlockResponse.scores": + return x.Scores != nil + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetReputersScoresAtBlockResponse")) + } + panic(fmt.Errorf("message emissions.v8.GetReputersScoresAtBlockResponse does not contain field %s", fd.FullName())) + } +} + +// Clear clears the field such that a subsequent Has call reports false. +// +// Clearing an extension field clears both the extension type and value +// associated with the given field number. +// +// Clear is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetReputersScoresAtBlockResponse) Clear(fd protoreflect.FieldDescriptor) { + switch fd.FullName() { + case "emissions.v8.GetReputersScoresAtBlockResponse.scores": + x.Scores = nil + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetReputersScoresAtBlockResponse")) + } + panic(fmt.Errorf("message emissions.v8.GetReputersScoresAtBlockResponse does not contain field %s", fd.FullName())) + } +} + +// Get retrieves the value for a field. +// +// For unpopulated scalars, it returns the default value, where +// the default value of a bytes scalar is guaranteed to be a copy. +// For unpopulated composite types, it returns an empty, read-only view +// of the value; to obtain a mutable reference, use Mutable. +func (x *fastReflection_GetReputersScoresAtBlockResponse) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { + switch descriptor.FullName() { + case "emissions.v8.GetReputersScoresAtBlockResponse.scores": + value := x.Scores + return protoreflect.ValueOfMessage(value.ProtoReflect()) + default: + if descriptor.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetReputersScoresAtBlockResponse")) + } + panic(fmt.Errorf("message emissions.v8.GetReputersScoresAtBlockResponse does not contain field %s", descriptor.FullName())) + } +} + +// Set stores the value for a field. +// +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType. +// When setting a composite type, it is unspecified whether the stored value +// aliases the source's memory in any way. If the composite value is an +// empty, read-only value, then it panics. +// +// Set is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetReputersScoresAtBlockResponse) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { + switch fd.FullName() { + case "emissions.v8.GetReputersScoresAtBlockResponse.scores": + x.Scores = value.Message().Interface().(*v3.Scores) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetReputersScoresAtBlockResponse")) + } + panic(fmt.Errorf("message emissions.v8.GetReputersScoresAtBlockResponse does not contain field %s", fd.FullName())) + } +} + +// Mutable returns a mutable reference to a composite type. +// +// If the field is unpopulated, it may allocate a composite value. +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType +// if not already stored. +// It panics if the field does not contain a composite type. +// +// Mutable is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetReputersScoresAtBlockResponse) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.GetReputersScoresAtBlockResponse.scores": + if x.Scores == nil { + x.Scores = new(v3.Scores) + } + return protoreflect.ValueOfMessage(x.Scores.ProtoReflect()) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetReputersScoresAtBlockResponse")) + } + panic(fmt.Errorf("message emissions.v8.GetReputersScoresAtBlockResponse does not contain field %s", fd.FullName())) + } +} + +// NewField returns a new value that is assignable to the field +// for the given descriptor. For scalars, this returns the default value. +// For lists, maps, and messages, this returns a new, empty, mutable value. +func (x *fastReflection_GetReputersScoresAtBlockResponse) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.GetReputersScoresAtBlockResponse.scores": + m := new(v3.Scores) + return protoreflect.ValueOfMessage(m.ProtoReflect()) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetReputersScoresAtBlockResponse")) + } + panic(fmt.Errorf("message emissions.v8.GetReputersScoresAtBlockResponse does not contain field %s", fd.FullName())) + } +} + +// WhichOneof reports which field within the oneof is populated, +// returning nil if none are populated. +// It panics if the oneof descriptor does not belong to this message. +func (x *fastReflection_GetReputersScoresAtBlockResponse) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { + switch d.FullName() { + default: + panic(fmt.Errorf("%s is not a oneof field in emissions.v8.GetReputersScoresAtBlockResponse", d.FullName())) + } + panic("unreachable") +} + +// GetUnknown retrieves the entire list of unknown fields. +// The caller may only mutate the contents of the RawFields +// if the mutated bytes are stored back into the message with SetUnknown. +func (x *fastReflection_GetReputersScoresAtBlockResponse) GetUnknown() protoreflect.RawFields { + return x.unknownFields +} + +// SetUnknown stores an entire list of unknown fields. +// The raw fields must be syntactically valid according to the wire format. +// An implementation may panic if this is not the case. +// Once stored, the caller must not mutate the content of the RawFields. +// An empty RawFields may be passed to clear the fields. +// +// SetUnknown is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetReputersScoresAtBlockResponse) SetUnknown(fields protoreflect.RawFields) { + x.unknownFields = fields +} + +// IsValid reports whether the message is valid. +// +// An invalid message is an empty, read-only value. +// +// An invalid message often corresponds to a nil pointer of the concrete +// message type, but the details are implementation dependent. +// Validity is not part of the protobuf data model, and may not +// be preserved in marshaling or other operations. +func (x *fastReflection_GetReputersScoresAtBlockResponse) IsValid() bool { + return x != nil +} + +// ProtoMethods returns optional fastReflectionFeature-path implementations of various operations. +// This method may return nil. +// +// The returned methods type is identical to +// "google.golang.org/protobuf/runtime/protoiface".Methods. +// Consult the protoiface package documentation for details. +func (x *fastReflection_GetReputersScoresAtBlockResponse) ProtoMethods() *protoiface.Methods { + size := func(input protoiface.SizeInput) protoiface.SizeOutput { + x := input.Message.Interface().(*GetReputersScoresAtBlockResponse) + if x == nil { + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: 0, + } + } + options := runtime.SizeInputToOptions(input) + _ = options + var n int + var l int + _ = l + if x.Scores != nil { + l = options.Size(x.Scores) + n += 1 + l + runtime.Sov(uint64(l)) + } + if x.unknownFields != nil { + n += len(x.unknownFields) + } + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: n, + } + } + + marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { + x := input.Message.Interface().(*GetReputersScoresAtBlockResponse) + if x == nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + options := runtime.MarshalInputToOptions(input) + _ = options + size := options.Size(x) + dAtA := make([]byte, size) + i := len(dAtA) + _ = i + var l int + _ = l + if x.unknownFields != nil { + i -= len(x.unknownFields) + copy(dAtA[i:], x.unknownFields) + } + if x.Scores != nil { + encoded, err := options.Marshal(x.Scores) + if err != nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = runtime.EncodeVarint(dAtA, i, uint64(len(encoded))) + i-- + dAtA[i] = 0xa + } + if input.Buf != nil { + input.Buf = append(input.Buf, dAtA...) + } else { + input.Buf = dAtA + } + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { + x := input.Message.Interface().(*GetReputersScoresAtBlockResponse) + if x == nil { + return protoiface.UnmarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Flags: input.Flags, + }, nil + } + options := runtime.UnmarshalInputToOptions(input) + _ = options + dAtA := input.Buf + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: GetReputersScoresAtBlockResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: GetReputersScoresAtBlockResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Scores", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + if x.Scores == nil { + x.Scores = &v3.Scores{} + } + if err := options.Unmarshal(dAtA[iNdEx:postIndex], x.Scores); err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := runtime.Skip(dAtA[iNdEx:]) + if err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if (iNdEx + skippy) > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + if !options.DiscardUnknown { + x.unknownFields = append(x.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + } + iNdEx += skippy + } + } + + if iNdEx > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, nil + } + return &protoiface.Methods{ + NoUnkeyedLiterals: struct{}{}, + Flags: protoiface.SupportMarshalDeterministic | protoiface.SupportUnmarshalDiscardUnknown, + Size: size, + Marshal: marshal, + Unmarshal: unmarshal, + Merge: nil, + CheckInitialized: nil, + } +} + +var ( + md_GetCurrentLowestReputerScoreRequest protoreflect.MessageDescriptor + fd_GetCurrentLowestReputerScoreRequest_topic_id protoreflect.FieldDescriptor +) + +func init() { + file_emissions_v8_query_proto_init() + md_GetCurrentLowestReputerScoreRequest = File_emissions_v8_query_proto.Messages().ByName("GetCurrentLowestReputerScoreRequest") + fd_GetCurrentLowestReputerScoreRequest_topic_id = md_GetCurrentLowestReputerScoreRequest.Fields().ByName("topic_id") +} + +var _ protoreflect.Message = (*fastReflection_GetCurrentLowestReputerScoreRequest)(nil) + +type fastReflection_GetCurrentLowestReputerScoreRequest GetCurrentLowestReputerScoreRequest + +func (x *GetCurrentLowestReputerScoreRequest) ProtoReflect() protoreflect.Message { + return (*fastReflection_GetCurrentLowestReputerScoreRequest)(x) +} + +func (x *GetCurrentLowestReputerScoreRequest) slowProtoReflect() protoreflect.Message { + mi := &file_emissions_v8_query_proto_msgTypes[182] + 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) +} + +var _fastReflection_GetCurrentLowestReputerScoreRequest_messageType fastReflection_GetCurrentLowestReputerScoreRequest_messageType +var _ protoreflect.MessageType = fastReflection_GetCurrentLowestReputerScoreRequest_messageType{} + +type fastReflection_GetCurrentLowestReputerScoreRequest_messageType struct{} + +func (x fastReflection_GetCurrentLowestReputerScoreRequest_messageType) Zero() protoreflect.Message { + return (*fastReflection_GetCurrentLowestReputerScoreRequest)(nil) +} +func (x fastReflection_GetCurrentLowestReputerScoreRequest_messageType) New() protoreflect.Message { + return new(fastReflection_GetCurrentLowestReputerScoreRequest) +} +func (x fastReflection_GetCurrentLowestReputerScoreRequest_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_GetCurrentLowestReputerScoreRequest +} + +// Descriptor returns message descriptor, which contains only the protobuf +// type information for the message. +func (x *fastReflection_GetCurrentLowestReputerScoreRequest) Descriptor() protoreflect.MessageDescriptor { + return md_GetCurrentLowestReputerScoreRequest +} + +// Type returns the message type, which encapsulates both Go and protobuf +// type information. If the Go type information is not needed, +// it is recommended that the message descriptor be used instead. +func (x *fastReflection_GetCurrentLowestReputerScoreRequest) Type() protoreflect.MessageType { + return _fastReflection_GetCurrentLowestReputerScoreRequest_messageType +} + +// New returns a newly allocated and mutable empty message. +func (x *fastReflection_GetCurrentLowestReputerScoreRequest) New() protoreflect.Message { + return new(fastReflection_GetCurrentLowestReputerScoreRequest) +} + +// Interface unwraps the message reflection interface and +// returns the underlying ProtoMessage interface. +func (x *fastReflection_GetCurrentLowestReputerScoreRequest) Interface() protoreflect.ProtoMessage { + return (*GetCurrentLowestReputerScoreRequest)(x) +} + +// Range iterates over every populated field in an undefined order, +// calling f for each field descriptor and value encountered. +// Range returns immediately if f returns false. +// While iterating, mutating operations may only be performed +// on the current field descriptor. +func (x *fastReflection_GetCurrentLowestReputerScoreRequest) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { + if x.TopicId != uint64(0) { + value := protoreflect.ValueOfUint64(x.TopicId) + if !f(fd_GetCurrentLowestReputerScoreRequest_topic_id, value) { + return + } + } +} + +// Has reports whether a field is populated. +// +// Some fields have the property of nullability where it is possible to +// distinguish between the default value of a field and whether the field +// was explicitly populated with the default value. Singular message fields, +// member fields of a oneof, and proto2 scalar fields are nullable. Such +// fields are populated only if explicitly set. +// +// In other cases (aside from the nullable cases above), +// a proto3 scalar field is populated if it contains a non-zero value, and +// a repeated field is populated if it is non-empty. +func (x *fastReflection_GetCurrentLowestReputerScoreRequest) Has(fd protoreflect.FieldDescriptor) bool { + switch fd.FullName() { + case "emissions.v8.GetCurrentLowestReputerScoreRequest.topic_id": + return x.TopicId != uint64(0) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetCurrentLowestReputerScoreRequest")) + } + panic(fmt.Errorf("message emissions.v8.GetCurrentLowestReputerScoreRequest does not contain field %s", fd.FullName())) + } +} + +// Clear clears the field such that a subsequent Has call reports false. +// +// Clearing an extension field clears both the extension type and value +// associated with the given field number. +// +// Clear is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetCurrentLowestReputerScoreRequest) Clear(fd protoreflect.FieldDescriptor) { + switch fd.FullName() { + case "emissions.v8.GetCurrentLowestReputerScoreRequest.topic_id": + x.TopicId = uint64(0) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetCurrentLowestReputerScoreRequest")) + } + panic(fmt.Errorf("message emissions.v8.GetCurrentLowestReputerScoreRequest does not contain field %s", fd.FullName())) + } +} + +// Get retrieves the value for a field. +// +// For unpopulated scalars, it returns the default value, where +// the default value of a bytes scalar is guaranteed to be a copy. +// For unpopulated composite types, it returns an empty, read-only view +// of the value; to obtain a mutable reference, use Mutable. +func (x *fastReflection_GetCurrentLowestReputerScoreRequest) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { + switch descriptor.FullName() { + case "emissions.v8.GetCurrentLowestReputerScoreRequest.topic_id": + value := x.TopicId + return protoreflect.ValueOfUint64(value) + default: + if descriptor.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetCurrentLowestReputerScoreRequest")) + } + panic(fmt.Errorf("message emissions.v8.GetCurrentLowestReputerScoreRequest does not contain field %s", descriptor.FullName())) + } +} + +// Set stores the value for a field. +// +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType. +// When setting a composite type, it is unspecified whether the stored value +// aliases the source's memory in any way. If the composite value is an +// empty, read-only value, then it panics. +// +// Set is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetCurrentLowestReputerScoreRequest) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { + switch fd.FullName() { + case "emissions.v8.GetCurrentLowestReputerScoreRequest.topic_id": + x.TopicId = value.Uint() + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetCurrentLowestReputerScoreRequest")) + } + panic(fmt.Errorf("message emissions.v8.GetCurrentLowestReputerScoreRequest does not contain field %s", fd.FullName())) + } +} + +// Mutable returns a mutable reference to a composite type. +// +// If the field is unpopulated, it may allocate a composite value. +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType +// if not already stored. +// It panics if the field does not contain a composite type. +// +// Mutable is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetCurrentLowestReputerScoreRequest) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.GetCurrentLowestReputerScoreRequest.topic_id": + panic(fmt.Errorf("field topic_id of message emissions.v8.GetCurrentLowestReputerScoreRequest is not mutable")) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetCurrentLowestReputerScoreRequest")) + } + panic(fmt.Errorf("message emissions.v8.GetCurrentLowestReputerScoreRequest does not contain field %s", fd.FullName())) + } +} + +// NewField returns a new value that is assignable to the field +// for the given descriptor. For scalars, this returns the default value. +// For lists, maps, and messages, this returns a new, empty, mutable value. +func (x *fastReflection_GetCurrentLowestReputerScoreRequest) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.GetCurrentLowestReputerScoreRequest.topic_id": + return protoreflect.ValueOfUint64(uint64(0)) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetCurrentLowestReputerScoreRequest")) + } + panic(fmt.Errorf("message emissions.v8.GetCurrentLowestReputerScoreRequest does not contain field %s", fd.FullName())) + } +} + +// WhichOneof reports which field within the oneof is populated, +// returning nil if none are populated. +// It panics if the oneof descriptor does not belong to this message. +func (x *fastReflection_GetCurrentLowestReputerScoreRequest) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { + switch d.FullName() { + default: + panic(fmt.Errorf("%s is not a oneof field in emissions.v8.GetCurrentLowestReputerScoreRequest", d.FullName())) + } + panic("unreachable") +} + +// GetUnknown retrieves the entire list of unknown fields. +// The caller may only mutate the contents of the RawFields +// if the mutated bytes are stored back into the message with SetUnknown. +func (x *fastReflection_GetCurrentLowestReputerScoreRequest) GetUnknown() protoreflect.RawFields { + return x.unknownFields +} + +// SetUnknown stores an entire list of unknown fields. +// The raw fields must be syntactically valid according to the wire format. +// An implementation may panic if this is not the case. +// Once stored, the caller must not mutate the content of the RawFields. +// An empty RawFields may be passed to clear the fields. +// +// SetUnknown is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetCurrentLowestReputerScoreRequest) SetUnknown(fields protoreflect.RawFields) { + x.unknownFields = fields +} + +// IsValid reports whether the message is valid. +// +// An invalid message is an empty, read-only value. +// +// An invalid message often corresponds to a nil pointer of the concrete +// message type, but the details are implementation dependent. +// Validity is not part of the protobuf data model, and may not +// be preserved in marshaling or other operations. +func (x *fastReflection_GetCurrentLowestReputerScoreRequest) IsValid() bool { + return x != nil +} + +// ProtoMethods returns optional fastReflectionFeature-path implementations of various operations. +// This method may return nil. +// +// The returned methods type is identical to +// "google.golang.org/protobuf/runtime/protoiface".Methods. +// Consult the protoiface package documentation for details. +func (x *fastReflection_GetCurrentLowestReputerScoreRequest) ProtoMethods() *protoiface.Methods { + size := func(input protoiface.SizeInput) protoiface.SizeOutput { + x := input.Message.Interface().(*GetCurrentLowestReputerScoreRequest) + if x == nil { + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: 0, + } + } + options := runtime.SizeInputToOptions(input) + _ = options + var n int + var l int + _ = l + if x.TopicId != 0 { + n += 1 + runtime.Sov(uint64(x.TopicId)) + } + if x.unknownFields != nil { + n += len(x.unknownFields) + } + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: n, + } + } + + marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { + x := input.Message.Interface().(*GetCurrentLowestReputerScoreRequest) + if x == nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + options := runtime.MarshalInputToOptions(input) + _ = options + size := options.Size(x) + dAtA := make([]byte, size) + i := len(dAtA) + _ = i + var l int + _ = l + if x.unknownFields != nil { + i -= len(x.unknownFields) + copy(dAtA[i:], x.unknownFields) + } + if x.TopicId != 0 { + i = runtime.EncodeVarint(dAtA, i, uint64(x.TopicId)) + i-- + dAtA[i] = 0x8 + } + if input.Buf != nil { + input.Buf = append(input.Buf, dAtA...) + } else { + input.Buf = dAtA + } + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { + x := input.Message.Interface().(*GetCurrentLowestReputerScoreRequest) + if x == nil { + return protoiface.UnmarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Flags: input.Flags, + }, nil + } + options := runtime.UnmarshalInputToOptions(input) + _ = options + dAtA := input.Buf + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: GetCurrentLowestReputerScoreRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: GetCurrentLowestReputerScoreRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field TopicId", wireType) + } + x.TopicId = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + x.TopicId |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + default: + iNdEx = preIndex + skippy, err := runtime.Skip(dAtA[iNdEx:]) + if err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if (iNdEx + skippy) > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + if !options.DiscardUnknown { + x.unknownFields = append(x.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + } + iNdEx += skippy + } + } + + if iNdEx > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, nil + } + return &protoiface.Methods{ + NoUnkeyedLiterals: struct{}{}, + Flags: protoiface.SupportMarshalDeterministic | protoiface.SupportUnmarshalDiscardUnknown, + Size: size, + Marshal: marshal, + Unmarshal: unmarshal, + Merge: nil, + CheckInitialized: nil, + } +} + +var ( + md_GetCurrentLowestReputerScoreResponse protoreflect.MessageDescriptor + fd_GetCurrentLowestReputerScoreResponse_score protoreflect.FieldDescriptor +) + +func init() { + file_emissions_v8_query_proto_init() + md_GetCurrentLowestReputerScoreResponse = File_emissions_v8_query_proto.Messages().ByName("GetCurrentLowestReputerScoreResponse") + fd_GetCurrentLowestReputerScoreResponse_score = md_GetCurrentLowestReputerScoreResponse.Fields().ByName("score") +} + +var _ protoreflect.Message = (*fastReflection_GetCurrentLowestReputerScoreResponse)(nil) + +type fastReflection_GetCurrentLowestReputerScoreResponse GetCurrentLowestReputerScoreResponse + +func (x *GetCurrentLowestReputerScoreResponse) ProtoReflect() protoreflect.Message { + return (*fastReflection_GetCurrentLowestReputerScoreResponse)(x) +} + +func (x *GetCurrentLowestReputerScoreResponse) slowProtoReflect() protoreflect.Message { + mi := &file_emissions_v8_query_proto_msgTypes[183] + 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) +} + +var _fastReflection_GetCurrentLowestReputerScoreResponse_messageType fastReflection_GetCurrentLowestReputerScoreResponse_messageType +var _ protoreflect.MessageType = fastReflection_GetCurrentLowestReputerScoreResponse_messageType{} + +type fastReflection_GetCurrentLowestReputerScoreResponse_messageType struct{} + +func (x fastReflection_GetCurrentLowestReputerScoreResponse_messageType) Zero() protoreflect.Message { + return (*fastReflection_GetCurrentLowestReputerScoreResponse)(nil) +} +func (x fastReflection_GetCurrentLowestReputerScoreResponse_messageType) New() protoreflect.Message { + return new(fastReflection_GetCurrentLowestReputerScoreResponse) +} +func (x fastReflection_GetCurrentLowestReputerScoreResponse_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_GetCurrentLowestReputerScoreResponse +} + +// Descriptor returns message descriptor, which contains only the protobuf +// type information for the message. +func (x *fastReflection_GetCurrentLowestReputerScoreResponse) Descriptor() protoreflect.MessageDescriptor { + return md_GetCurrentLowestReputerScoreResponse +} + +// Type returns the message type, which encapsulates both Go and protobuf +// type information. If the Go type information is not needed, +// it is recommended that the message descriptor be used instead. +func (x *fastReflection_GetCurrentLowestReputerScoreResponse) Type() protoreflect.MessageType { + return _fastReflection_GetCurrentLowestReputerScoreResponse_messageType +} + +// New returns a newly allocated and mutable empty message. +func (x *fastReflection_GetCurrentLowestReputerScoreResponse) New() protoreflect.Message { + return new(fastReflection_GetCurrentLowestReputerScoreResponse) +} + +// Interface unwraps the message reflection interface and +// returns the underlying ProtoMessage interface. +func (x *fastReflection_GetCurrentLowestReputerScoreResponse) Interface() protoreflect.ProtoMessage { + return (*GetCurrentLowestReputerScoreResponse)(x) +} + +// Range iterates over every populated field in an undefined order, +// calling f for each field descriptor and value encountered. +// Range returns immediately if f returns false. +// While iterating, mutating operations may only be performed +// on the current field descriptor. +func (x *fastReflection_GetCurrentLowestReputerScoreResponse) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { + if x.Score != nil { + value := protoreflect.ValueOfMessage(x.Score.ProtoReflect()) + if !f(fd_GetCurrentLowestReputerScoreResponse_score, value) { + return + } + } +} + +// Has reports whether a field is populated. +// +// Some fields have the property of nullability where it is possible to +// distinguish between the default value of a field and whether the field +// was explicitly populated with the default value. Singular message fields, +// member fields of a oneof, and proto2 scalar fields are nullable. Such +// fields are populated only if explicitly set. +// +// In other cases (aside from the nullable cases above), +// a proto3 scalar field is populated if it contains a non-zero value, and +// a repeated field is populated if it is non-empty. +func (x *fastReflection_GetCurrentLowestReputerScoreResponse) Has(fd protoreflect.FieldDescriptor) bool { + switch fd.FullName() { + case "emissions.v8.GetCurrentLowestReputerScoreResponse.score": + return x.Score != nil + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetCurrentLowestReputerScoreResponse")) + } + panic(fmt.Errorf("message emissions.v8.GetCurrentLowestReputerScoreResponse does not contain field %s", fd.FullName())) + } +} + +// Clear clears the field such that a subsequent Has call reports false. +// +// Clearing an extension field clears both the extension type and value +// associated with the given field number. +// +// Clear is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetCurrentLowestReputerScoreResponse) Clear(fd protoreflect.FieldDescriptor) { + switch fd.FullName() { + case "emissions.v8.GetCurrentLowestReputerScoreResponse.score": + x.Score = nil + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetCurrentLowestReputerScoreResponse")) + } + panic(fmt.Errorf("message emissions.v8.GetCurrentLowestReputerScoreResponse does not contain field %s", fd.FullName())) + } +} + +// Get retrieves the value for a field. +// +// For unpopulated scalars, it returns the default value, where +// the default value of a bytes scalar is guaranteed to be a copy. +// For unpopulated composite types, it returns an empty, read-only view +// of the value; to obtain a mutable reference, use Mutable. +func (x *fastReflection_GetCurrentLowestReputerScoreResponse) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { + switch descriptor.FullName() { + case "emissions.v8.GetCurrentLowestReputerScoreResponse.score": + value := x.Score + return protoreflect.ValueOfMessage(value.ProtoReflect()) + default: + if descriptor.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetCurrentLowestReputerScoreResponse")) + } + panic(fmt.Errorf("message emissions.v8.GetCurrentLowestReputerScoreResponse does not contain field %s", descriptor.FullName())) + } +} + +// Set stores the value for a field. +// +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType. +// When setting a composite type, it is unspecified whether the stored value +// aliases the source's memory in any way. If the composite value is an +// empty, read-only value, then it panics. +// +// Set is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetCurrentLowestReputerScoreResponse) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { + switch fd.FullName() { + case "emissions.v8.GetCurrentLowestReputerScoreResponse.score": + x.Score = value.Message().Interface().(*v3.Score) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetCurrentLowestReputerScoreResponse")) + } + panic(fmt.Errorf("message emissions.v8.GetCurrentLowestReputerScoreResponse does not contain field %s", fd.FullName())) + } +} + +// Mutable returns a mutable reference to a composite type. +// +// If the field is unpopulated, it may allocate a composite value. +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType +// if not already stored. +// It panics if the field does not contain a composite type. +// +// Mutable is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetCurrentLowestReputerScoreResponse) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.GetCurrentLowestReputerScoreResponse.score": + if x.Score == nil { + x.Score = new(v3.Score) + } + return protoreflect.ValueOfMessage(x.Score.ProtoReflect()) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetCurrentLowestReputerScoreResponse")) + } + panic(fmt.Errorf("message emissions.v8.GetCurrentLowestReputerScoreResponse does not contain field %s", fd.FullName())) + } +} + +// NewField returns a new value that is assignable to the field +// for the given descriptor. For scalars, this returns the default value. +// For lists, maps, and messages, this returns a new, empty, mutable value. +func (x *fastReflection_GetCurrentLowestReputerScoreResponse) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.GetCurrentLowestReputerScoreResponse.score": + m := new(v3.Score) + return protoreflect.ValueOfMessage(m.ProtoReflect()) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetCurrentLowestReputerScoreResponse")) + } + panic(fmt.Errorf("message emissions.v8.GetCurrentLowestReputerScoreResponse does not contain field %s", fd.FullName())) + } +} + +// WhichOneof reports which field within the oneof is populated, +// returning nil if none are populated. +// It panics if the oneof descriptor does not belong to this message. +func (x *fastReflection_GetCurrentLowestReputerScoreResponse) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { + switch d.FullName() { + default: + panic(fmt.Errorf("%s is not a oneof field in emissions.v8.GetCurrentLowestReputerScoreResponse", d.FullName())) + } + panic("unreachable") +} + +// GetUnknown retrieves the entire list of unknown fields. +// The caller may only mutate the contents of the RawFields +// if the mutated bytes are stored back into the message with SetUnknown. +func (x *fastReflection_GetCurrentLowestReputerScoreResponse) GetUnknown() protoreflect.RawFields { + return x.unknownFields +} + +// SetUnknown stores an entire list of unknown fields. +// The raw fields must be syntactically valid according to the wire format. +// An implementation may panic if this is not the case. +// Once stored, the caller must not mutate the content of the RawFields. +// An empty RawFields may be passed to clear the fields. +// +// SetUnknown is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetCurrentLowestReputerScoreResponse) SetUnknown(fields protoreflect.RawFields) { + x.unknownFields = fields +} + +// IsValid reports whether the message is valid. +// +// An invalid message is an empty, read-only value. +// +// An invalid message often corresponds to a nil pointer of the concrete +// message type, but the details are implementation dependent. +// Validity is not part of the protobuf data model, and may not +// be preserved in marshaling or other operations. +func (x *fastReflection_GetCurrentLowestReputerScoreResponse) IsValid() bool { + return x != nil +} + +// ProtoMethods returns optional fastReflectionFeature-path implementations of various operations. +// This method may return nil. +// +// The returned methods type is identical to +// "google.golang.org/protobuf/runtime/protoiface".Methods. +// Consult the protoiface package documentation for details. +func (x *fastReflection_GetCurrentLowestReputerScoreResponse) ProtoMethods() *protoiface.Methods { + size := func(input protoiface.SizeInput) protoiface.SizeOutput { + x := input.Message.Interface().(*GetCurrentLowestReputerScoreResponse) + if x == nil { + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: 0, + } + } + options := runtime.SizeInputToOptions(input) + _ = options + var n int + var l int + _ = l + if x.Score != nil { + l = options.Size(x.Score) + n += 1 + l + runtime.Sov(uint64(l)) + } + if x.unknownFields != nil { + n += len(x.unknownFields) + } + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: n, + } + } + + marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { + x := input.Message.Interface().(*GetCurrentLowestReputerScoreResponse) + if x == nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + options := runtime.MarshalInputToOptions(input) + _ = options + size := options.Size(x) + dAtA := make([]byte, size) + i := len(dAtA) + _ = i + var l int + _ = l + if x.unknownFields != nil { + i -= len(x.unknownFields) + copy(dAtA[i:], x.unknownFields) + } + if x.Score != nil { + encoded, err := options.Marshal(x.Score) + if err != nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = runtime.EncodeVarint(dAtA, i, uint64(len(encoded))) + i-- + dAtA[i] = 0xa + } + if input.Buf != nil { + input.Buf = append(input.Buf, dAtA...) + } else { + input.Buf = dAtA + } + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { + x := input.Message.Interface().(*GetCurrentLowestReputerScoreResponse) + if x == nil { + return protoiface.UnmarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Flags: input.Flags, + }, nil + } + options := runtime.UnmarshalInputToOptions(input) + _ = options + dAtA := input.Buf + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: GetCurrentLowestReputerScoreResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: GetCurrentLowestReputerScoreResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Score", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + if x.Score == nil { + x.Score = &v3.Score{} + } + if err := options.Unmarshal(dAtA[iNdEx:postIndex], x.Score); err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := runtime.Skip(dAtA[iNdEx:]) + if err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if (iNdEx + skippy) > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + if !options.DiscardUnknown { + x.unknownFields = append(x.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + } + iNdEx += skippy + } + } + + if iNdEx > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, nil + } + return &protoiface.Methods{ + NoUnkeyedLiterals: struct{}{}, + Flags: protoiface.SupportMarshalDeterministic | protoiface.SupportUnmarshalDiscardUnknown, + Size: size, + Marshal: marshal, + Unmarshal: unmarshal, + Merge: nil, + CheckInitialized: nil, + } +} + +var ( + md_GetListeningCoefficientRequest protoreflect.MessageDescriptor + fd_GetListeningCoefficientRequest_topic_id protoreflect.FieldDescriptor + fd_GetListeningCoefficientRequest_reputer protoreflect.FieldDescriptor +) + +func init() { + file_emissions_v8_query_proto_init() + md_GetListeningCoefficientRequest = File_emissions_v8_query_proto.Messages().ByName("GetListeningCoefficientRequest") + fd_GetListeningCoefficientRequest_topic_id = md_GetListeningCoefficientRequest.Fields().ByName("topic_id") + fd_GetListeningCoefficientRequest_reputer = md_GetListeningCoefficientRequest.Fields().ByName("reputer") +} + +var _ protoreflect.Message = (*fastReflection_GetListeningCoefficientRequest)(nil) + +type fastReflection_GetListeningCoefficientRequest GetListeningCoefficientRequest + +func (x *GetListeningCoefficientRequest) ProtoReflect() protoreflect.Message { + return (*fastReflection_GetListeningCoefficientRequest)(x) +} + +func (x *GetListeningCoefficientRequest) slowProtoReflect() protoreflect.Message { + mi := &file_emissions_v8_query_proto_msgTypes[184] + 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) +} + +var _fastReflection_GetListeningCoefficientRequest_messageType fastReflection_GetListeningCoefficientRequest_messageType +var _ protoreflect.MessageType = fastReflection_GetListeningCoefficientRequest_messageType{} + +type fastReflection_GetListeningCoefficientRequest_messageType struct{} + +func (x fastReflection_GetListeningCoefficientRequest_messageType) Zero() protoreflect.Message { + return (*fastReflection_GetListeningCoefficientRequest)(nil) +} +func (x fastReflection_GetListeningCoefficientRequest_messageType) New() protoreflect.Message { + return new(fastReflection_GetListeningCoefficientRequest) +} +func (x fastReflection_GetListeningCoefficientRequest_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_GetListeningCoefficientRequest +} + +// Descriptor returns message descriptor, which contains only the protobuf +// type information for the message. +func (x *fastReflection_GetListeningCoefficientRequest) Descriptor() protoreflect.MessageDescriptor { + return md_GetListeningCoefficientRequest +} + +// Type returns the message type, which encapsulates both Go and protobuf +// type information. If the Go type information is not needed, +// it is recommended that the message descriptor be used instead. +func (x *fastReflection_GetListeningCoefficientRequest) Type() protoreflect.MessageType { + return _fastReflection_GetListeningCoefficientRequest_messageType +} + +// New returns a newly allocated and mutable empty message. +func (x *fastReflection_GetListeningCoefficientRequest) New() protoreflect.Message { + return new(fastReflection_GetListeningCoefficientRequest) +} + +// Interface unwraps the message reflection interface and +// returns the underlying ProtoMessage interface. +func (x *fastReflection_GetListeningCoefficientRequest) Interface() protoreflect.ProtoMessage { + return (*GetListeningCoefficientRequest)(x) +} + +// Range iterates over every populated field in an undefined order, +// calling f for each field descriptor and value encountered. +// Range returns immediately if f returns false. +// While iterating, mutating operations may only be performed +// on the current field descriptor. +func (x *fastReflection_GetListeningCoefficientRequest) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { + if x.TopicId != uint64(0) { + value := protoreflect.ValueOfUint64(x.TopicId) + if !f(fd_GetListeningCoefficientRequest_topic_id, value) { + return + } + } + if x.Reputer != "" { + value := protoreflect.ValueOfString(x.Reputer) + if !f(fd_GetListeningCoefficientRequest_reputer, value) { + return + } + } +} + +// Has reports whether a field is populated. +// +// Some fields have the property of nullability where it is possible to +// distinguish between the default value of a field and whether the field +// was explicitly populated with the default value. Singular message fields, +// member fields of a oneof, and proto2 scalar fields are nullable. Such +// fields are populated only if explicitly set. +// +// In other cases (aside from the nullable cases above), +// a proto3 scalar field is populated if it contains a non-zero value, and +// a repeated field is populated if it is non-empty. +func (x *fastReflection_GetListeningCoefficientRequest) Has(fd protoreflect.FieldDescriptor) bool { + switch fd.FullName() { + case "emissions.v8.GetListeningCoefficientRequest.topic_id": + return x.TopicId != uint64(0) + case "emissions.v8.GetListeningCoefficientRequest.reputer": + return x.Reputer != "" + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetListeningCoefficientRequest")) + } + panic(fmt.Errorf("message emissions.v8.GetListeningCoefficientRequest does not contain field %s", fd.FullName())) + } +} + +// Clear clears the field such that a subsequent Has call reports false. +// +// Clearing an extension field clears both the extension type and value +// associated with the given field number. +// +// Clear is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetListeningCoefficientRequest) Clear(fd protoreflect.FieldDescriptor) { + switch fd.FullName() { + case "emissions.v8.GetListeningCoefficientRequest.topic_id": + x.TopicId = uint64(0) + case "emissions.v8.GetListeningCoefficientRequest.reputer": + x.Reputer = "" + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetListeningCoefficientRequest")) + } + panic(fmt.Errorf("message emissions.v8.GetListeningCoefficientRequest does not contain field %s", fd.FullName())) + } +} + +// Get retrieves the value for a field. +// +// For unpopulated scalars, it returns the default value, where +// the default value of a bytes scalar is guaranteed to be a copy. +// For unpopulated composite types, it returns an empty, read-only view +// of the value; to obtain a mutable reference, use Mutable. +func (x *fastReflection_GetListeningCoefficientRequest) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { + switch descriptor.FullName() { + case "emissions.v8.GetListeningCoefficientRequest.topic_id": + value := x.TopicId + return protoreflect.ValueOfUint64(value) + case "emissions.v8.GetListeningCoefficientRequest.reputer": + value := x.Reputer + return protoreflect.ValueOfString(value) + default: + if descriptor.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetListeningCoefficientRequest")) + } + panic(fmt.Errorf("message emissions.v8.GetListeningCoefficientRequest does not contain field %s", descriptor.FullName())) + } +} + +// Set stores the value for a field. +// +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType. +// When setting a composite type, it is unspecified whether the stored value +// aliases the source's memory in any way. If the composite value is an +// empty, read-only value, then it panics. +// +// Set is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetListeningCoefficientRequest) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { + switch fd.FullName() { + case "emissions.v8.GetListeningCoefficientRequest.topic_id": + x.TopicId = value.Uint() + case "emissions.v8.GetListeningCoefficientRequest.reputer": + x.Reputer = value.Interface().(string) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetListeningCoefficientRequest")) + } + panic(fmt.Errorf("message emissions.v8.GetListeningCoefficientRequest does not contain field %s", fd.FullName())) + } +} + +// Mutable returns a mutable reference to a composite type. +// +// If the field is unpopulated, it may allocate a composite value. +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType +// if not already stored. +// It panics if the field does not contain a composite type. +// +// Mutable is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetListeningCoefficientRequest) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.GetListeningCoefficientRequest.topic_id": + panic(fmt.Errorf("field topic_id of message emissions.v8.GetListeningCoefficientRequest is not mutable")) + case "emissions.v8.GetListeningCoefficientRequest.reputer": + panic(fmt.Errorf("field reputer of message emissions.v8.GetListeningCoefficientRequest is not mutable")) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetListeningCoefficientRequest")) + } + panic(fmt.Errorf("message emissions.v8.GetListeningCoefficientRequest does not contain field %s", fd.FullName())) + } +} + +// NewField returns a new value that is assignable to the field +// for the given descriptor. For scalars, this returns the default value. +// For lists, maps, and messages, this returns a new, empty, mutable value. +func (x *fastReflection_GetListeningCoefficientRequest) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.GetListeningCoefficientRequest.topic_id": + return protoreflect.ValueOfUint64(uint64(0)) + case "emissions.v8.GetListeningCoefficientRequest.reputer": + return protoreflect.ValueOfString("") + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetListeningCoefficientRequest")) + } + panic(fmt.Errorf("message emissions.v8.GetListeningCoefficientRequest does not contain field %s", fd.FullName())) + } +} + +// WhichOneof reports which field within the oneof is populated, +// returning nil if none are populated. +// It panics if the oneof descriptor does not belong to this message. +func (x *fastReflection_GetListeningCoefficientRequest) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { + switch d.FullName() { + default: + panic(fmt.Errorf("%s is not a oneof field in emissions.v8.GetListeningCoefficientRequest", d.FullName())) + } + panic("unreachable") +} + +// GetUnknown retrieves the entire list of unknown fields. +// The caller may only mutate the contents of the RawFields +// if the mutated bytes are stored back into the message with SetUnknown. +func (x *fastReflection_GetListeningCoefficientRequest) GetUnknown() protoreflect.RawFields { + return x.unknownFields +} + +// SetUnknown stores an entire list of unknown fields. +// The raw fields must be syntactically valid according to the wire format. +// An implementation may panic if this is not the case. +// Once stored, the caller must not mutate the content of the RawFields. +// An empty RawFields may be passed to clear the fields. +// +// SetUnknown is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetListeningCoefficientRequest) SetUnknown(fields protoreflect.RawFields) { + x.unknownFields = fields +} + +// IsValid reports whether the message is valid. +// +// An invalid message is an empty, read-only value. +// +// An invalid message often corresponds to a nil pointer of the concrete +// message type, but the details are implementation dependent. +// Validity is not part of the protobuf data model, and may not +// be preserved in marshaling or other operations. +func (x *fastReflection_GetListeningCoefficientRequest) IsValid() bool { + return x != nil +} + +// ProtoMethods returns optional fastReflectionFeature-path implementations of various operations. +// This method may return nil. +// +// The returned methods type is identical to +// "google.golang.org/protobuf/runtime/protoiface".Methods. +// Consult the protoiface package documentation for details. +func (x *fastReflection_GetListeningCoefficientRequest) ProtoMethods() *protoiface.Methods { + size := func(input protoiface.SizeInput) protoiface.SizeOutput { + x := input.Message.Interface().(*GetListeningCoefficientRequest) + if x == nil { + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: 0, + } + } + options := runtime.SizeInputToOptions(input) + _ = options + var n int + var l int + _ = l + if x.TopicId != 0 { + n += 1 + runtime.Sov(uint64(x.TopicId)) + } + l = len(x.Reputer) + if l > 0 { + n += 1 + l + runtime.Sov(uint64(l)) + } + if x.unknownFields != nil { + n += len(x.unknownFields) + } + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: n, + } + } + + marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { + x := input.Message.Interface().(*GetListeningCoefficientRequest) + if x == nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + options := runtime.MarshalInputToOptions(input) + _ = options + size := options.Size(x) + dAtA := make([]byte, size) + i := len(dAtA) + _ = i + var l int + _ = l + if x.unknownFields != nil { + i -= len(x.unknownFields) + copy(dAtA[i:], x.unknownFields) + } + if len(x.Reputer) > 0 { + i -= len(x.Reputer) + copy(dAtA[i:], x.Reputer) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.Reputer))) + i-- + dAtA[i] = 0x12 + } + if x.TopicId != 0 { + i = runtime.EncodeVarint(dAtA, i, uint64(x.TopicId)) + i-- + dAtA[i] = 0x8 + } + if input.Buf != nil { + input.Buf = append(input.Buf, dAtA...) + } else { + input.Buf = dAtA + } + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { + x := input.Message.Interface().(*GetListeningCoefficientRequest) + if x == nil { + return protoiface.UnmarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Flags: input.Flags, + }, nil + } + options := runtime.UnmarshalInputToOptions(input) + _ = options + dAtA := input.Buf + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: GetListeningCoefficientRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: GetListeningCoefficientRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field TopicId", wireType) + } + x.TopicId = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + x.TopicId |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 2: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Reputer", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + x.Reputer = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := runtime.Skip(dAtA[iNdEx:]) + if err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if (iNdEx + skippy) > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + if !options.DiscardUnknown { + x.unknownFields = append(x.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + } + iNdEx += skippy + } + } + + if iNdEx > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, nil + } + return &protoiface.Methods{ + NoUnkeyedLiterals: struct{}{}, + Flags: protoiface.SupportMarshalDeterministic | protoiface.SupportUnmarshalDiscardUnknown, + Size: size, + Marshal: marshal, + Unmarshal: unmarshal, + Merge: nil, + CheckInitialized: nil, + } +} + +var ( + md_GetListeningCoefficientResponse protoreflect.MessageDescriptor + fd_GetListeningCoefficientResponse_listening_coefficient protoreflect.FieldDescriptor +) + +func init() { + file_emissions_v8_query_proto_init() + md_GetListeningCoefficientResponse = File_emissions_v8_query_proto.Messages().ByName("GetListeningCoefficientResponse") + fd_GetListeningCoefficientResponse_listening_coefficient = md_GetListeningCoefficientResponse.Fields().ByName("listening_coefficient") +} + +var _ protoreflect.Message = (*fastReflection_GetListeningCoefficientResponse)(nil) + +type fastReflection_GetListeningCoefficientResponse GetListeningCoefficientResponse + +func (x *GetListeningCoefficientResponse) ProtoReflect() protoreflect.Message { + return (*fastReflection_GetListeningCoefficientResponse)(x) +} + +func (x *GetListeningCoefficientResponse) slowProtoReflect() protoreflect.Message { + mi := &file_emissions_v8_query_proto_msgTypes[185] + 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) +} + +var _fastReflection_GetListeningCoefficientResponse_messageType fastReflection_GetListeningCoefficientResponse_messageType +var _ protoreflect.MessageType = fastReflection_GetListeningCoefficientResponse_messageType{} + +type fastReflection_GetListeningCoefficientResponse_messageType struct{} + +func (x fastReflection_GetListeningCoefficientResponse_messageType) Zero() protoreflect.Message { + return (*fastReflection_GetListeningCoefficientResponse)(nil) +} +func (x fastReflection_GetListeningCoefficientResponse_messageType) New() protoreflect.Message { + return new(fastReflection_GetListeningCoefficientResponse) +} +func (x fastReflection_GetListeningCoefficientResponse_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_GetListeningCoefficientResponse +} + +// Descriptor returns message descriptor, which contains only the protobuf +// type information for the message. +func (x *fastReflection_GetListeningCoefficientResponse) Descriptor() protoreflect.MessageDescriptor { + return md_GetListeningCoefficientResponse +} + +// Type returns the message type, which encapsulates both Go and protobuf +// type information. If the Go type information is not needed, +// it is recommended that the message descriptor be used instead. +func (x *fastReflection_GetListeningCoefficientResponse) Type() protoreflect.MessageType { + return _fastReflection_GetListeningCoefficientResponse_messageType +} + +// New returns a newly allocated and mutable empty message. +func (x *fastReflection_GetListeningCoefficientResponse) New() protoreflect.Message { + return new(fastReflection_GetListeningCoefficientResponse) +} + +// Interface unwraps the message reflection interface and +// returns the underlying ProtoMessage interface. +func (x *fastReflection_GetListeningCoefficientResponse) Interface() protoreflect.ProtoMessage { + return (*GetListeningCoefficientResponse)(x) +} + +// Range iterates over every populated field in an undefined order, +// calling f for each field descriptor and value encountered. +// Range returns immediately if f returns false. +// While iterating, mutating operations may only be performed +// on the current field descriptor. +func (x *fastReflection_GetListeningCoefficientResponse) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { + if x.ListeningCoefficient != nil { + value := protoreflect.ValueOfMessage(x.ListeningCoefficient.ProtoReflect()) + if !f(fd_GetListeningCoefficientResponse_listening_coefficient, value) { + return + } + } +} + +// Has reports whether a field is populated. +// +// Some fields have the property of nullability where it is possible to +// distinguish between the default value of a field and whether the field +// was explicitly populated with the default value. Singular message fields, +// member fields of a oneof, and proto2 scalar fields are nullable. Such +// fields are populated only if explicitly set. +// +// In other cases (aside from the nullable cases above), +// a proto3 scalar field is populated if it contains a non-zero value, and +// a repeated field is populated if it is non-empty. +func (x *fastReflection_GetListeningCoefficientResponse) Has(fd protoreflect.FieldDescriptor) bool { + switch fd.FullName() { + case "emissions.v8.GetListeningCoefficientResponse.listening_coefficient": + return x.ListeningCoefficient != nil + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetListeningCoefficientResponse")) + } + panic(fmt.Errorf("message emissions.v8.GetListeningCoefficientResponse does not contain field %s", fd.FullName())) + } +} + +// Clear clears the field such that a subsequent Has call reports false. +// +// Clearing an extension field clears both the extension type and value +// associated with the given field number. +// +// Clear is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetListeningCoefficientResponse) Clear(fd protoreflect.FieldDescriptor) { + switch fd.FullName() { + case "emissions.v8.GetListeningCoefficientResponse.listening_coefficient": + x.ListeningCoefficient = nil + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetListeningCoefficientResponse")) + } + panic(fmt.Errorf("message emissions.v8.GetListeningCoefficientResponse does not contain field %s", fd.FullName())) + } +} + +// Get retrieves the value for a field. +// +// For unpopulated scalars, it returns the default value, where +// the default value of a bytes scalar is guaranteed to be a copy. +// For unpopulated composite types, it returns an empty, read-only view +// of the value; to obtain a mutable reference, use Mutable. +func (x *fastReflection_GetListeningCoefficientResponse) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { + switch descriptor.FullName() { + case "emissions.v8.GetListeningCoefficientResponse.listening_coefficient": + value := x.ListeningCoefficient + return protoreflect.ValueOfMessage(value.ProtoReflect()) + default: + if descriptor.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetListeningCoefficientResponse")) + } + panic(fmt.Errorf("message emissions.v8.GetListeningCoefficientResponse does not contain field %s", descriptor.FullName())) + } +} + +// Set stores the value for a field. +// +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType. +// When setting a composite type, it is unspecified whether the stored value +// aliases the source's memory in any way. If the composite value is an +// empty, read-only value, then it panics. +// +// Set is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetListeningCoefficientResponse) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { + switch fd.FullName() { + case "emissions.v8.GetListeningCoefficientResponse.listening_coefficient": + x.ListeningCoefficient = value.Message().Interface().(*v3.ListeningCoefficient) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetListeningCoefficientResponse")) + } + panic(fmt.Errorf("message emissions.v8.GetListeningCoefficientResponse does not contain field %s", fd.FullName())) + } +} + +// Mutable returns a mutable reference to a composite type. +// +// If the field is unpopulated, it may allocate a composite value. +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType +// if not already stored. +// It panics if the field does not contain a composite type. +// +// Mutable is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetListeningCoefficientResponse) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.GetListeningCoefficientResponse.listening_coefficient": + if x.ListeningCoefficient == nil { + x.ListeningCoefficient = new(v3.ListeningCoefficient) + } + return protoreflect.ValueOfMessage(x.ListeningCoefficient.ProtoReflect()) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetListeningCoefficientResponse")) + } + panic(fmt.Errorf("message emissions.v8.GetListeningCoefficientResponse does not contain field %s", fd.FullName())) + } +} + +// NewField returns a new value that is assignable to the field +// for the given descriptor. For scalars, this returns the default value. +// For lists, maps, and messages, this returns a new, empty, mutable value. +func (x *fastReflection_GetListeningCoefficientResponse) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.GetListeningCoefficientResponse.listening_coefficient": + m := new(v3.ListeningCoefficient) + return protoreflect.ValueOfMessage(m.ProtoReflect()) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetListeningCoefficientResponse")) + } + panic(fmt.Errorf("message emissions.v8.GetListeningCoefficientResponse does not contain field %s", fd.FullName())) + } +} + +// WhichOneof reports which field within the oneof is populated, +// returning nil if none are populated. +// It panics if the oneof descriptor does not belong to this message. +func (x *fastReflection_GetListeningCoefficientResponse) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { + switch d.FullName() { + default: + panic(fmt.Errorf("%s is not a oneof field in emissions.v8.GetListeningCoefficientResponse", d.FullName())) + } + panic("unreachable") +} + +// GetUnknown retrieves the entire list of unknown fields. +// The caller may only mutate the contents of the RawFields +// if the mutated bytes are stored back into the message with SetUnknown. +func (x *fastReflection_GetListeningCoefficientResponse) GetUnknown() protoreflect.RawFields { + return x.unknownFields +} + +// SetUnknown stores an entire list of unknown fields. +// The raw fields must be syntactically valid according to the wire format. +// An implementation may panic if this is not the case. +// Once stored, the caller must not mutate the content of the RawFields. +// An empty RawFields may be passed to clear the fields. +// +// SetUnknown is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetListeningCoefficientResponse) SetUnknown(fields protoreflect.RawFields) { + x.unknownFields = fields +} + +// IsValid reports whether the message is valid. +// +// An invalid message is an empty, read-only value. +// +// An invalid message often corresponds to a nil pointer of the concrete +// message type, but the details are implementation dependent. +// Validity is not part of the protobuf data model, and may not +// be preserved in marshaling or other operations. +func (x *fastReflection_GetListeningCoefficientResponse) IsValid() bool { + return x != nil +} + +// ProtoMethods returns optional fastReflectionFeature-path implementations of various operations. +// This method may return nil. +// +// The returned methods type is identical to +// "google.golang.org/protobuf/runtime/protoiface".Methods. +// Consult the protoiface package documentation for details. +func (x *fastReflection_GetListeningCoefficientResponse) ProtoMethods() *protoiface.Methods { + size := func(input protoiface.SizeInput) protoiface.SizeOutput { + x := input.Message.Interface().(*GetListeningCoefficientResponse) + if x == nil { + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: 0, + } + } + options := runtime.SizeInputToOptions(input) + _ = options + var n int + var l int + _ = l + if x.ListeningCoefficient != nil { + l = options.Size(x.ListeningCoefficient) + n += 1 + l + runtime.Sov(uint64(l)) + } + if x.unknownFields != nil { + n += len(x.unknownFields) + } + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: n, + } + } + + marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { + x := input.Message.Interface().(*GetListeningCoefficientResponse) + if x == nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + options := runtime.MarshalInputToOptions(input) + _ = options + size := options.Size(x) + dAtA := make([]byte, size) + i := len(dAtA) + _ = i + var l int + _ = l + if x.unknownFields != nil { + i -= len(x.unknownFields) + copy(dAtA[i:], x.unknownFields) + } + if x.ListeningCoefficient != nil { + encoded, err := options.Marshal(x.ListeningCoefficient) + if err != nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = runtime.EncodeVarint(dAtA, i, uint64(len(encoded))) + i-- + dAtA[i] = 0xa + } + if input.Buf != nil { + input.Buf = append(input.Buf, dAtA...) + } else { + input.Buf = dAtA + } + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { + x := input.Message.Interface().(*GetListeningCoefficientResponse) + if x == nil { + return protoiface.UnmarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Flags: input.Flags, + }, nil + } + options := runtime.UnmarshalInputToOptions(input) + _ = options + dAtA := input.Buf + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: GetListeningCoefficientResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: GetListeningCoefficientResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field ListeningCoefficient", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + if x.ListeningCoefficient == nil { + x.ListeningCoefficient = &v3.ListeningCoefficient{} + } + if err := options.Unmarshal(dAtA[iNdEx:postIndex], x.ListeningCoefficient); err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := runtime.Skip(dAtA[iNdEx:]) + if err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if (iNdEx + skippy) > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + if !options.DiscardUnknown { + x.unknownFields = append(x.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + } + iNdEx += skippy + } + } + + if iNdEx > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, nil + } + return &protoiface.Methods{ + NoUnkeyedLiterals: struct{}{}, + Flags: protoiface.SupportMarshalDeterministic | protoiface.SupportUnmarshalDiscardUnknown, + Size: size, + Marshal: marshal, + Unmarshal: unmarshal, + Merge: nil, + CheckInitialized: nil, + } +} + +var ( + md_GetPreviousReputerRewardFractionRequest protoreflect.MessageDescriptor + fd_GetPreviousReputerRewardFractionRequest_topic_id protoreflect.FieldDescriptor + fd_GetPreviousReputerRewardFractionRequest_reputer protoreflect.FieldDescriptor +) + +func init() { + file_emissions_v8_query_proto_init() + md_GetPreviousReputerRewardFractionRequest = File_emissions_v8_query_proto.Messages().ByName("GetPreviousReputerRewardFractionRequest") + fd_GetPreviousReputerRewardFractionRequest_topic_id = md_GetPreviousReputerRewardFractionRequest.Fields().ByName("topic_id") + fd_GetPreviousReputerRewardFractionRequest_reputer = md_GetPreviousReputerRewardFractionRequest.Fields().ByName("reputer") +} + +var _ protoreflect.Message = (*fastReflection_GetPreviousReputerRewardFractionRequest)(nil) + +type fastReflection_GetPreviousReputerRewardFractionRequest GetPreviousReputerRewardFractionRequest + +func (x *GetPreviousReputerRewardFractionRequest) ProtoReflect() protoreflect.Message { + return (*fastReflection_GetPreviousReputerRewardFractionRequest)(x) +} + +func (x *GetPreviousReputerRewardFractionRequest) slowProtoReflect() protoreflect.Message { + mi := &file_emissions_v8_query_proto_msgTypes[186] + 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) +} + +var _fastReflection_GetPreviousReputerRewardFractionRequest_messageType fastReflection_GetPreviousReputerRewardFractionRequest_messageType +var _ protoreflect.MessageType = fastReflection_GetPreviousReputerRewardFractionRequest_messageType{} + +type fastReflection_GetPreviousReputerRewardFractionRequest_messageType struct{} + +func (x fastReflection_GetPreviousReputerRewardFractionRequest_messageType) Zero() protoreflect.Message { + return (*fastReflection_GetPreviousReputerRewardFractionRequest)(nil) +} +func (x fastReflection_GetPreviousReputerRewardFractionRequest_messageType) New() protoreflect.Message { + return new(fastReflection_GetPreviousReputerRewardFractionRequest) +} +func (x fastReflection_GetPreviousReputerRewardFractionRequest_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_GetPreviousReputerRewardFractionRequest +} + +// Descriptor returns message descriptor, which contains only the protobuf +// type information for the message. +func (x *fastReflection_GetPreviousReputerRewardFractionRequest) Descriptor() protoreflect.MessageDescriptor { + return md_GetPreviousReputerRewardFractionRequest +} + +// Type returns the message type, which encapsulates both Go and protobuf +// type information. If the Go type information is not needed, +// it is recommended that the message descriptor be used instead. +func (x *fastReflection_GetPreviousReputerRewardFractionRequest) Type() protoreflect.MessageType { + return _fastReflection_GetPreviousReputerRewardFractionRequest_messageType +} + +// New returns a newly allocated and mutable empty message. +func (x *fastReflection_GetPreviousReputerRewardFractionRequest) New() protoreflect.Message { + return new(fastReflection_GetPreviousReputerRewardFractionRequest) +} + +// Interface unwraps the message reflection interface and +// returns the underlying ProtoMessage interface. +func (x *fastReflection_GetPreviousReputerRewardFractionRequest) Interface() protoreflect.ProtoMessage { + return (*GetPreviousReputerRewardFractionRequest)(x) +} + +// Range iterates over every populated field in an undefined order, +// calling f for each field descriptor and value encountered. +// Range returns immediately if f returns false. +// While iterating, mutating operations may only be performed +// on the current field descriptor. +func (x *fastReflection_GetPreviousReputerRewardFractionRequest) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { + if x.TopicId != uint64(0) { + value := protoreflect.ValueOfUint64(x.TopicId) + if !f(fd_GetPreviousReputerRewardFractionRequest_topic_id, value) { + return + } + } + if x.Reputer != "" { + value := protoreflect.ValueOfString(x.Reputer) + if !f(fd_GetPreviousReputerRewardFractionRequest_reputer, value) { + return + } + } +} + +// Has reports whether a field is populated. +// +// Some fields have the property of nullability where it is possible to +// distinguish between the default value of a field and whether the field +// was explicitly populated with the default value. Singular message fields, +// member fields of a oneof, and proto2 scalar fields are nullable. Such +// fields are populated only if explicitly set. +// +// In other cases (aside from the nullable cases above), +// a proto3 scalar field is populated if it contains a non-zero value, and +// a repeated field is populated if it is non-empty. +func (x *fastReflection_GetPreviousReputerRewardFractionRequest) Has(fd protoreflect.FieldDescriptor) bool { + switch fd.FullName() { + case "emissions.v8.GetPreviousReputerRewardFractionRequest.topic_id": + return x.TopicId != uint64(0) + case "emissions.v8.GetPreviousReputerRewardFractionRequest.reputer": + return x.Reputer != "" + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetPreviousReputerRewardFractionRequest")) + } + panic(fmt.Errorf("message emissions.v8.GetPreviousReputerRewardFractionRequest does not contain field %s", fd.FullName())) + } +} + +// Clear clears the field such that a subsequent Has call reports false. +// +// Clearing an extension field clears both the extension type and value +// associated with the given field number. +// +// Clear is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetPreviousReputerRewardFractionRequest) Clear(fd protoreflect.FieldDescriptor) { + switch fd.FullName() { + case "emissions.v8.GetPreviousReputerRewardFractionRequest.topic_id": + x.TopicId = uint64(0) + case "emissions.v8.GetPreviousReputerRewardFractionRequest.reputer": + x.Reputer = "" + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetPreviousReputerRewardFractionRequest")) + } + panic(fmt.Errorf("message emissions.v8.GetPreviousReputerRewardFractionRequest does not contain field %s", fd.FullName())) + } +} + +// Get retrieves the value for a field. +// +// For unpopulated scalars, it returns the default value, where +// the default value of a bytes scalar is guaranteed to be a copy. +// For unpopulated composite types, it returns an empty, read-only view +// of the value; to obtain a mutable reference, use Mutable. +func (x *fastReflection_GetPreviousReputerRewardFractionRequest) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { + switch descriptor.FullName() { + case "emissions.v8.GetPreviousReputerRewardFractionRequest.topic_id": + value := x.TopicId + return protoreflect.ValueOfUint64(value) + case "emissions.v8.GetPreviousReputerRewardFractionRequest.reputer": + value := x.Reputer + return protoreflect.ValueOfString(value) + default: + if descriptor.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetPreviousReputerRewardFractionRequest")) + } + panic(fmt.Errorf("message emissions.v8.GetPreviousReputerRewardFractionRequest does not contain field %s", descriptor.FullName())) + } +} + +// Set stores the value for a field. +// +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType. +// When setting a composite type, it is unspecified whether the stored value +// aliases the source's memory in any way. If the composite value is an +// empty, read-only value, then it panics. +// +// Set is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetPreviousReputerRewardFractionRequest) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { + switch fd.FullName() { + case "emissions.v8.GetPreviousReputerRewardFractionRequest.topic_id": + x.TopicId = value.Uint() + case "emissions.v8.GetPreviousReputerRewardFractionRequest.reputer": + x.Reputer = value.Interface().(string) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetPreviousReputerRewardFractionRequest")) + } + panic(fmt.Errorf("message emissions.v8.GetPreviousReputerRewardFractionRequest does not contain field %s", fd.FullName())) + } +} + +// Mutable returns a mutable reference to a composite type. +// +// If the field is unpopulated, it may allocate a composite value. +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType +// if not already stored. +// It panics if the field does not contain a composite type. +// +// Mutable is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetPreviousReputerRewardFractionRequest) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.GetPreviousReputerRewardFractionRequest.topic_id": + panic(fmt.Errorf("field topic_id of message emissions.v8.GetPreviousReputerRewardFractionRequest is not mutable")) + case "emissions.v8.GetPreviousReputerRewardFractionRequest.reputer": + panic(fmt.Errorf("field reputer of message emissions.v8.GetPreviousReputerRewardFractionRequest is not mutable")) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetPreviousReputerRewardFractionRequest")) + } + panic(fmt.Errorf("message emissions.v8.GetPreviousReputerRewardFractionRequest does not contain field %s", fd.FullName())) + } +} + +// NewField returns a new value that is assignable to the field +// for the given descriptor. For scalars, this returns the default value. +// For lists, maps, and messages, this returns a new, empty, mutable value. +func (x *fastReflection_GetPreviousReputerRewardFractionRequest) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.GetPreviousReputerRewardFractionRequest.topic_id": + return protoreflect.ValueOfUint64(uint64(0)) + case "emissions.v8.GetPreviousReputerRewardFractionRequest.reputer": + return protoreflect.ValueOfString("") + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetPreviousReputerRewardFractionRequest")) + } + panic(fmt.Errorf("message emissions.v8.GetPreviousReputerRewardFractionRequest does not contain field %s", fd.FullName())) + } +} + +// WhichOneof reports which field within the oneof is populated, +// returning nil if none are populated. +// It panics if the oneof descriptor does not belong to this message. +func (x *fastReflection_GetPreviousReputerRewardFractionRequest) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { + switch d.FullName() { + default: + panic(fmt.Errorf("%s is not a oneof field in emissions.v8.GetPreviousReputerRewardFractionRequest", d.FullName())) + } + panic("unreachable") +} + +// GetUnknown retrieves the entire list of unknown fields. +// The caller may only mutate the contents of the RawFields +// if the mutated bytes are stored back into the message with SetUnknown. +func (x *fastReflection_GetPreviousReputerRewardFractionRequest) GetUnknown() protoreflect.RawFields { + return x.unknownFields +} + +// SetUnknown stores an entire list of unknown fields. +// The raw fields must be syntactically valid according to the wire format. +// An implementation may panic if this is not the case. +// Once stored, the caller must not mutate the content of the RawFields. +// An empty RawFields may be passed to clear the fields. +// +// SetUnknown is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetPreviousReputerRewardFractionRequest) SetUnknown(fields protoreflect.RawFields) { + x.unknownFields = fields +} + +// IsValid reports whether the message is valid. +// +// An invalid message is an empty, read-only value. +// +// An invalid message often corresponds to a nil pointer of the concrete +// message type, but the details are implementation dependent. +// Validity is not part of the protobuf data model, and may not +// be preserved in marshaling or other operations. +func (x *fastReflection_GetPreviousReputerRewardFractionRequest) IsValid() bool { + return x != nil +} + +// ProtoMethods returns optional fastReflectionFeature-path implementations of various operations. +// This method may return nil. +// +// The returned methods type is identical to +// "google.golang.org/protobuf/runtime/protoiface".Methods. +// Consult the protoiface package documentation for details. +func (x *fastReflection_GetPreviousReputerRewardFractionRequest) ProtoMethods() *protoiface.Methods { + size := func(input protoiface.SizeInput) protoiface.SizeOutput { + x := input.Message.Interface().(*GetPreviousReputerRewardFractionRequest) + if x == nil { + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: 0, + } + } + options := runtime.SizeInputToOptions(input) + _ = options + var n int + var l int + _ = l + if x.TopicId != 0 { + n += 1 + runtime.Sov(uint64(x.TopicId)) + } + l = len(x.Reputer) + if l > 0 { + n += 1 + l + runtime.Sov(uint64(l)) + } + if x.unknownFields != nil { + n += len(x.unknownFields) + } + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: n, + } + } + + marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { + x := input.Message.Interface().(*GetPreviousReputerRewardFractionRequest) + if x == nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + options := runtime.MarshalInputToOptions(input) + _ = options + size := options.Size(x) + dAtA := make([]byte, size) + i := len(dAtA) + _ = i + var l int + _ = l + if x.unknownFields != nil { + i -= len(x.unknownFields) + copy(dAtA[i:], x.unknownFields) + } + if len(x.Reputer) > 0 { + i -= len(x.Reputer) + copy(dAtA[i:], x.Reputer) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.Reputer))) + i-- + dAtA[i] = 0x12 + } + if x.TopicId != 0 { + i = runtime.EncodeVarint(dAtA, i, uint64(x.TopicId)) + i-- + dAtA[i] = 0x8 + } + if input.Buf != nil { + input.Buf = append(input.Buf, dAtA...) + } else { + input.Buf = dAtA + } + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { + x := input.Message.Interface().(*GetPreviousReputerRewardFractionRequest) + if x == nil { + return protoiface.UnmarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Flags: input.Flags, + }, nil + } + options := runtime.UnmarshalInputToOptions(input) + _ = options + dAtA := input.Buf + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: GetPreviousReputerRewardFractionRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: GetPreviousReputerRewardFractionRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field TopicId", wireType) + } + x.TopicId = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + x.TopicId |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 2: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Reputer", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + x.Reputer = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := runtime.Skip(dAtA[iNdEx:]) + if err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if (iNdEx + skippy) > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + if !options.DiscardUnknown { + x.unknownFields = append(x.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + } + iNdEx += skippy + } + } + + if iNdEx > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, nil + } + return &protoiface.Methods{ + NoUnkeyedLiterals: struct{}{}, + Flags: protoiface.SupportMarshalDeterministic | protoiface.SupportUnmarshalDiscardUnknown, + Size: size, + Marshal: marshal, + Unmarshal: unmarshal, + Merge: nil, + CheckInitialized: nil, + } +} + +var ( + md_GetPreviousReputerRewardFractionResponse protoreflect.MessageDescriptor + fd_GetPreviousReputerRewardFractionResponse_reward_fraction protoreflect.FieldDescriptor + fd_GetPreviousReputerRewardFractionResponse_not_found protoreflect.FieldDescriptor +) + +func init() { + file_emissions_v8_query_proto_init() + md_GetPreviousReputerRewardFractionResponse = File_emissions_v8_query_proto.Messages().ByName("GetPreviousReputerRewardFractionResponse") + fd_GetPreviousReputerRewardFractionResponse_reward_fraction = md_GetPreviousReputerRewardFractionResponse.Fields().ByName("reward_fraction") + fd_GetPreviousReputerRewardFractionResponse_not_found = md_GetPreviousReputerRewardFractionResponse.Fields().ByName("not_found") +} + +var _ protoreflect.Message = (*fastReflection_GetPreviousReputerRewardFractionResponse)(nil) + +type fastReflection_GetPreviousReputerRewardFractionResponse GetPreviousReputerRewardFractionResponse + +func (x *GetPreviousReputerRewardFractionResponse) ProtoReflect() protoreflect.Message { + return (*fastReflection_GetPreviousReputerRewardFractionResponse)(x) +} + +func (x *GetPreviousReputerRewardFractionResponse) slowProtoReflect() protoreflect.Message { + mi := &file_emissions_v8_query_proto_msgTypes[187] + 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) +} + +var _fastReflection_GetPreviousReputerRewardFractionResponse_messageType fastReflection_GetPreviousReputerRewardFractionResponse_messageType +var _ protoreflect.MessageType = fastReflection_GetPreviousReputerRewardFractionResponse_messageType{} + +type fastReflection_GetPreviousReputerRewardFractionResponse_messageType struct{} + +func (x fastReflection_GetPreviousReputerRewardFractionResponse_messageType) Zero() protoreflect.Message { + return (*fastReflection_GetPreviousReputerRewardFractionResponse)(nil) +} +func (x fastReflection_GetPreviousReputerRewardFractionResponse_messageType) New() protoreflect.Message { + return new(fastReflection_GetPreviousReputerRewardFractionResponse) +} +func (x fastReflection_GetPreviousReputerRewardFractionResponse_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_GetPreviousReputerRewardFractionResponse +} + +// Descriptor returns message descriptor, which contains only the protobuf +// type information for the message. +func (x *fastReflection_GetPreviousReputerRewardFractionResponse) Descriptor() protoreflect.MessageDescriptor { + return md_GetPreviousReputerRewardFractionResponse +} + +// Type returns the message type, which encapsulates both Go and protobuf +// type information. If the Go type information is not needed, +// it is recommended that the message descriptor be used instead. +func (x *fastReflection_GetPreviousReputerRewardFractionResponse) Type() protoreflect.MessageType { + return _fastReflection_GetPreviousReputerRewardFractionResponse_messageType +} + +// New returns a newly allocated and mutable empty message. +func (x *fastReflection_GetPreviousReputerRewardFractionResponse) New() protoreflect.Message { + return new(fastReflection_GetPreviousReputerRewardFractionResponse) +} + +// Interface unwraps the message reflection interface and +// returns the underlying ProtoMessage interface. +func (x *fastReflection_GetPreviousReputerRewardFractionResponse) Interface() protoreflect.ProtoMessage { + return (*GetPreviousReputerRewardFractionResponse)(x) +} + +// Range iterates over every populated field in an undefined order, +// calling f for each field descriptor and value encountered. +// Range returns immediately if f returns false. +// While iterating, mutating operations may only be performed +// on the current field descriptor. +func (x *fastReflection_GetPreviousReputerRewardFractionResponse) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { + if x.RewardFraction != "" { + value := protoreflect.ValueOfString(x.RewardFraction) + if !f(fd_GetPreviousReputerRewardFractionResponse_reward_fraction, value) { + return + } + } + if x.NotFound != false { + value := protoreflect.ValueOfBool(x.NotFound) + if !f(fd_GetPreviousReputerRewardFractionResponse_not_found, value) { + return + } + } +} + +// Has reports whether a field is populated. +// +// Some fields have the property of nullability where it is possible to +// distinguish between the default value of a field and whether the field +// was explicitly populated with the default value. Singular message fields, +// member fields of a oneof, and proto2 scalar fields are nullable. Such +// fields are populated only if explicitly set. +// +// In other cases (aside from the nullable cases above), +// a proto3 scalar field is populated if it contains a non-zero value, and +// a repeated field is populated if it is non-empty. +func (x *fastReflection_GetPreviousReputerRewardFractionResponse) Has(fd protoreflect.FieldDescriptor) bool { + switch fd.FullName() { + case "emissions.v8.GetPreviousReputerRewardFractionResponse.reward_fraction": + return x.RewardFraction != "" + case "emissions.v8.GetPreviousReputerRewardFractionResponse.not_found": + return x.NotFound != false + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetPreviousReputerRewardFractionResponse")) + } + panic(fmt.Errorf("message emissions.v8.GetPreviousReputerRewardFractionResponse does not contain field %s", fd.FullName())) + } +} + +// Clear clears the field such that a subsequent Has call reports false. +// +// Clearing an extension field clears both the extension type and value +// associated with the given field number. +// +// Clear is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetPreviousReputerRewardFractionResponse) Clear(fd protoreflect.FieldDescriptor) { + switch fd.FullName() { + case "emissions.v8.GetPreviousReputerRewardFractionResponse.reward_fraction": + x.RewardFraction = "" + case "emissions.v8.GetPreviousReputerRewardFractionResponse.not_found": + x.NotFound = false + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetPreviousReputerRewardFractionResponse")) + } + panic(fmt.Errorf("message emissions.v8.GetPreviousReputerRewardFractionResponse does not contain field %s", fd.FullName())) + } +} + +// Get retrieves the value for a field. +// +// For unpopulated scalars, it returns the default value, where +// the default value of a bytes scalar is guaranteed to be a copy. +// For unpopulated composite types, it returns an empty, read-only view +// of the value; to obtain a mutable reference, use Mutable. +func (x *fastReflection_GetPreviousReputerRewardFractionResponse) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { + switch descriptor.FullName() { + case "emissions.v8.GetPreviousReputerRewardFractionResponse.reward_fraction": + value := x.RewardFraction + return protoreflect.ValueOfString(value) + case "emissions.v8.GetPreviousReputerRewardFractionResponse.not_found": + value := x.NotFound + return protoreflect.ValueOfBool(value) + default: + if descriptor.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetPreviousReputerRewardFractionResponse")) + } + panic(fmt.Errorf("message emissions.v8.GetPreviousReputerRewardFractionResponse does not contain field %s", descriptor.FullName())) + } +} + +// Set stores the value for a field. +// +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType. +// When setting a composite type, it is unspecified whether the stored value +// aliases the source's memory in any way. If the composite value is an +// empty, read-only value, then it panics. +// +// Set is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetPreviousReputerRewardFractionResponse) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { + switch fd.FullName() { + case "emissions.v8.GetPreviousReputerRewardFractionResponse.reward_fraction": + x.RewardFraction = value.Interface().(string) + case "emissions.v8.GetPreviousReputerRewardFractionResponse.not_found": + x.NotFound = value.Bool() + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetPreviousReputerRewardFractionResponse")) + } + panic(fmt.Errorf("message emissions.v8.GetPreviousReputerRewardFractionResponse does not contain field %s", fd.FullName())) + } +} + +// Mutable returns a mutable reference to a composite type. +// +// If the field is unpopulated, it may allocate a composite value. +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType +// if not already stored. +// It panics if the field does not contain a composite type. +// +// Mutable is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetPreviousReputerRewardFractionResponse) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.GetPreviousReputerRewardFractionResponse.reward_fraction": + panic(fmt.Errorf("field reward_fraction of message emissions.v8.GetPreviousReputerRewardFractionResponse is not mutable")) + case "emissions.v8.GetPreviousReputerRewardFractionResponse.not_found": + panic(fmt.Errorf("field not_found of message emissions.v8.GetPreviousReputerRewardFractionResponse is not mutable")) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetPreviousReputerRewardFractionResponse")) + } + panic(fmt.Errorf("message emissions.v8.GetPreviousReputerRewardFractionResponse does not contain field %s", fd.FullName())) + } +} + +// NewField returns a new value that is assignable to the field +// for the given descriptor. For scalars, this returns the default value. +// For lists, maps, and messages, this returns a new, empty, mutable value. +func (x *fastReflection_GetPreviousReputerRewardFractionResponse) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.GetPreviousReputerRewardFractionResponse.reward_fraction": + return protoreflect.ValueOfString("") + case "emissions.v8.GetPreviousReputerRewardFractionResponse.not_found": + return protoreflect.ValueOfBool(false) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetPreviousReputerRewardFractionResponse")) + } + panic(fmt.Errorf("message emissions.v8.GetPreviousReputerRewardFractionResponse does not contain field %s", fd.FullName())) + } +} + +// WhichOneof reports which field within the oneof is populated, +// returning nil if none are populated. +// It panics if the oneof descriptor does not belong to this message. +func (x *fastReflection_GetPreviousReputerRewardFractionResponse) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { + switch d.FullName() { + default: + panic(fmt.Errorf("%s is not a oneof field in emissions.v8.GetPreviousReputerRewardFractionResponse", d.FullName())) + } + panic("unreachable") +} + +// GetUnknown retrieves the entire list of unknown fields. +// The caller may only mutate the contents of the RawFields +// if the mutated bytes are stored back into the message with SetUnknown. +func (x *fastReflection_GetPreviousReputerRewardFractionResponse) GetUnknown() protoreflect.RawFields { + return x.unknownFields +} + +// SetUnknown stores an entire list of unknown fields. +// The raw fields must be syntactically valid according to the wire format. +// An implementation may panic if this is not the case. +// Once stored, the caller must not mutate the content of the RawFields. +// An empty RawFields may be passed to clear the fields. +// +// SetUnknown is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetPreviousReputerRewardFractionResponse) SetUnknown(fields protoreflect.RawFields) { + x.unknownFields = fields +} + +// IsValid reports whether the message is valid. +// +// An invalid message is an empty, read-only value. +// +// An invalid message often corresponds to a nil pointer of the concrete +// message type, but the details are implementation dependent. +// Validity is not part of the protobuf data model, and may not +// be preserved in marshaling or other operations. +func (x *fastReflection_GetPreviousReputerRewardFractionResponse) IsValid() bool { + return x != nil +} + +// ProtoMethods returns optional fastReflectionFeature-path implementations of various operations. +// This method may return nil. +// +// The returned methods type is identical to +// "google.golang.org/protobuf/runtime/protoiface".Methods. +// Consult the protoiface package documentation for details. +func (x *fastReflection_GetPreviousReputerRewardFractionResponse) ProtoMethods() *protoiface.Methods { + size := func(input protoiface.SizeInput) protoiface.SizeOutput { + x := input.Message.Interface().(*GetPreviousReputerRewardFractionResponse) + if x == nil { + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: 0, + } + } + options := runtime.SizeInputToOptions(input) + _ = options + var n int + var l int + _ = l + l = len(x.RewardFraction) + if l > 0 { + n += 1 + l + runtime.Sov(uint64(l)) + } + if x.NotFound { + n += 2 + } + if x.unknownFields != nil { + n += len(x.unknownFields) + } + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: n, + } + } + + marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { + x := input.Message.Interface().(*GetPreviousReputerRewardFractionResponse) + if x == nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + options := runtime.MarshalInputToOptions(input) + _ = options + size := options.Size(x) + dAtA := make([]byte, size) + i := len(dAtA) + _ = i + var l int + _ = l + if x.unknownFields != nil { + i -= len(x.unknownFields) + copy(dAtA[i:], x.unknownFields) + } + if x.NotFound { + i-- + if x.NotFound { + dAtA[i] = 1 + } else { + dAtA[i] = 0 + } + i-- + dAtA[i] = 0x10 + } + if len(x.RewardFraction) > 0 { + i -= len(x.RewardFraction) + copy(dAtA[i:], x.RewardFraction) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.RewardFraction))) + i-- + dAtA[i] = 0xa + } + if input.Buf != nil { + input.Buf = append(input.Buf, dAtA...) + } else { + input.Buf = dAtA + } + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { + x := input.Message.Interface().(*GetPreviousReputerRewardFractionResponse) + if x == nil { + return protoiface.UnmarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Flags: input.Flags, + }, nil + } + options := runtime.UnmarshalInputToOptions(input) + _ = options + dAtA := input.Buf + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: GetPreviousReputerRewardFractionResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: GetPreviousReputerRewardFractionResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field RewardFraction", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + x.RewardFraction = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field NotFound", wireType) + } + var v int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + x.NotFound = bool(v != 0) + default: + iNdEx = preIndex + skippy, err := runtime.Skip(dAtA[iNdEx:]) + if err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if (iNdEx + skippy) > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + if !options.DiscardUnknown { + x.unknownFields = append(x.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + } + iNdEx += skippy + } + } + + if iNdEx > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, nil + } + return &protoiface.Methods{ + NoUnkeyedLiterals: struct{}{}, + Flags: protoiface.SupportMarshalDeterministic | protoiface.SupportUnmarshalDiscardUnknown, + Size: size, + Marshal: marshal, + Unmarshal: unmarshal, + Merge: nil, + CheckInitialized: nil, + } +} + +var ( + md_GetPreviousInferenceRewardFractionRequest protoreflect.MessageDescriptor + fd_GetPreviousInferenceRewardFractionRequest_topic_id protoreflect.FieldDescriptor + fd_GetPreviousInferenceRewardFractionRequest_worker protoreflect.FieldDescriptor +) + +func init() { + file_emissions_v8_query_proto_init() + md_GetPreviousInferenceRewardFractionRequest = File_emissions_v8_query_proto.Messages().ByName("GetPreviousInferenceRewardFractionRequest") + fd_GetPreviousInferenceRewardFractionRequest_topic_id = md_GetPreviousInferenceRewardFractionRequest.Fields().ByName("topic_id") + fd_GetPreviousInferenceRewardFractionRequest_worker = md_GetPreviousInferenceRewardFractionRequest.Fields().ByName("worker") +} + +var _ protoreflect.Message = (*fastReflection_GetPreviousInferenceRewardFractionRequest)(nil) + +type fastReflection_GetPreviousInferenceRewardFractionRequest GetPreviousInferenceRewardFractionRequest + +func (x *GetPreviousInferenceRewardFractionRequest) ProtoReflect() protoreflect.Message { + return (*fastReflection_GetPreviousInferenceRewardFractionRequest)(x) +} + +func (x *GetPreviousInferenceRewardFractionRequest) slowProtoReflect() protoreflect.Message { + mi := &file_emissions_v8_query_proto_msgTypes[188] + 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) +} + +var _fastReflection_GetPreviousInferenceRewardFractionRequest_messageType fastReflection_GetPreviousInferenceRewardFractionRequest_messageType +var _ protoreflect.MessageType = fastReflection_GetPreviousInferenceRewardFractionRequest_messageType{} + +type fastReflection_GetPreviousInferenceRewardFractionRequest_messageType struct{} + +func (x fastReflection_GetPreviousInferenceRewardFractionRequest_messageType) Zero() protoreflect.Message { + return (*fastReflection_GetPreviousInferenceRewardFractionRequest)(nil) +} +func (x fastReflection_GetPreviousInferenceRewardFractionRequest_messageType) New() protoreflect.Message { + return new(fastReflection_GetPreviousInferenceRewardFractionRequest) +} +func (x fastReflection_GetPreviousInferenceRewardFractionRequest_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_GetPreviousInferenceRewardFractionRequest +} + +// Descriptor returns message descriptor, which contains only the protobuf +// type information for the message. +func (x *fastReflection_GetPreviousInferenceRewardFractionRequest) Descriptor() protoreflect.MessageDescriptor { + return md_GetPreviousInferenceRewardFractionRequest +} + +// Type returns the message type, which encapsulates both Go and protobuf +// type information. If the Go type information is not needed, +// it is recommended that the message descriptor be used instead. +func (x *fastReflection_GetPreviousInferenceRewardFractionRequest) Type() protoreflect.MessageType { + return _fastReflection_GetPreviousInferenceRewardFractionRequest_messageType +} + +// New returns a newly allocated and mutable empty message. +func (x *fastReflection_GetPreviousInferenceRewardFractionRequest) New() protoreflect.Message { + return new(fastReflection_GetPreviousInferenceRewardFractionRequest) +} + +// Interface unwraps the message reflection interface and +// returns the underlying ProtoMessage interface. +func (x *fastReflection_GetPreviousInferenceRewardFractionRequest) Interface() protoreflect.ProtoMessage { + return (*GetPreviousInferenceRewardFractionRequest)(x) +} + +// Range iterates over every populated field in an undefined order, +// calling f for each field descriptor and value encountered. +// Range returns immediately if f returns false. +// While iterating, mutating operations may only be performed +// on the current field descriptor. +func (x *fastReflection_GetPreviousInferenceRewardFractionRequest) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { + if x.TopicId != uint64(0) { + value := protoreflect.ValueOfUint64(x.TopicId) + if !f(fd_GetPreviousInferenceRewardFractionRequest_topic_id, value) { + return + } + } + if x.Worker != "" { + value := protoreflect.ValueOfString(x.Worker) + if !f(fd_GetPreviousInferenceRewardFractionRequest_worker, value) { + return + } + } +} + +// Has reports whether a field is populated. +// +// Some fields have the property of nullability where it is possible to +// distinguish between the default value of a field and whether the field +// was explicitly populated with the default value. Singular message fields, +// member fields of a oneof, and proto2 scalar fields are nullable. Such +// fields are populated only if explicitly set. +// +// In other cases (aside from the nullable cases above), +// a proto3 scalar field is populated if it contains a non-zero value, and +// a repeated field is populated if it is non-empty. +func (x *fastReflection_GetPreviousInferenceRewardFractionRequest) Has(fd protoreflect.FieldDescriptor) bool { + switch fd.FullName() { + case "emissions.v8.GetPreviousInferenceRewardFractionRequest.topic_id": + return x.TopicId != uint64(0) + case "emissions.v8.GetPreviousInferenceRewardFractionRequest.worker": + return x.Worker != "" + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetPreviousInferenceRewardFractionRequest")) + } + panic(fmt.Errorf("message emissions.v8.GetPreviousInferenceRewardFractionRequest does not contain field %s", fd.FullName())) + } +} + +// Clear clears the field such that a subsequent Has call reports false. +// +// Clearing an extension field clears both the extension type and value +// associated with the given field number. +// +// Clear is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetPreviousInferenceRewardFractionRequest) Clear(fd protoreflect.FieldDescriptor) { + switch fd.FullName() { + case "emissions.v8.GetPreviousInferenceRewardFractionRequest.topic_id": + x.TopicId = uint64(0) + case "emissions.v8.GetPreviousInferenceRewardFractionRequest.worker": + x.Worker = "" + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetPreviousInferenceRewardFractionRequest")) + } + panic(fmt.Errorf("message emissions.v8.GetPreviousInferenceRewardFractionRequest does not contain field %s", fd.FullName())) + } +} + +// Get retrieves the value for a field. +// +// For unpopulated scalars, it returns the default value, where +// the default value of a bytes scalar is guaranteed to be a copy. +// For unpopulated composite types, it returns an empty, read-only view +// of the value; to obtain a mutable reference, use Mutable. +func (x *fastReflection_GetPreviousInferenceRewardFractionRequest) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { + switch descriptor.FullName() { + case "emissions.v8.GetPreviousInferenceRewardFractionRequest.topic_id": + value := x.TopicId + return protoreflect.ValueOfUint64(value) + case "emissions.v8.GetPreviousInferenceRewardFractionRequest.worker": + value := x.Worker + return protoreflect.ValueOfString(value) + default: + if descriptor.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetPreviousInferenceRewardFractionRequest")) + } + panic(fmt.Errorf("message emissions.v8.GetPreviousInferenceRewardFractionRequest does not contain field %s", descriptor.FullName())) + } +} + +// Set stores the value for a field. +// +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType. +// When setting a composite type, it is unspecified whether the stored value +// aliases the source's memory in any way. If the composite value is an +// empty, read-only value, then it panics. +// +// Set is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetPreviousInferenceRewardFractionRequest) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { + switch fd.FullName() { + case "emissions.v8.GetPreviousInferenceRewardFractionRequest.topic_id": + x.TopicId = value.Uint() + case "emissions.v8.GetPreviousInferenceRewardFractionRequest.worker": + x.Worker = value.Interface().(string) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetPreviousInferenceRewardFractionRequest")) + } + panic(fmt.Errorf("message emissions.v8.GetPreviousInferenceRewardFractionRequest does not contain field %s", fd.FullName())) + } +} + +// Mutable returns a mutable reference to a composite type. +// +// If the field is unpopulated, it may allocate a composite value. +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType +// if not already stored. +// It panics if the field does not contain a composite type. +// +// Mutable is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetPreviousInferenceRewardFractionRequest) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.GetPreviousInferenceRewardFractionRequest.topic_id": + panic(fmt.Errorf("field topic_id of message emissions.v8.GetPreviousInferenceRewardFractionRequest is not mutable")) + case "emissions.v8.GetPreviousInferenceRewardFractionRequest.worker": + panic(fmt.Errorf("field worker of message emissions.v8.GetPreviousInferenceRewardFractionRequest is not mutable")) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetPreviousInferenceRewardFractionRequest")) + } + panic(fmt.Errorf("message emissions.v8.GetPreviousInferenceRewardFractionRequest does not contain field %s", fd.FullName())) + } +} + +// NewField returns a new value that is assignable to the field +// for the given descriptor. For scalars, this returns the default value. +// For lists, maps, and messages, this returns a new, empty, mutable value. +func (x *fastReflection_GetPreviousInferenceRewardFractionRequest) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.GetPreviousInferenceRewardFractionRequest.topic_id": + return protoreflect.ValueOfUint64(uint64(0)) + case "emissions.v8.GetPreviousInferenceRewardFractionRequest.worker": + return protoreflect.ValueOfString("") + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetPreviousInferenceRewardFractionRequest")) + } + panic(fmt.Errorf("message emissions.v8.GetPreviousInferenceRewardFractionRequest does not contain field %s", fd.FullName())) + } +} + +// WhichOneof reports which field within the oneof is populated, +// returning nil if none are populated. +// It panics if the oneof descriptor does not belong to this message. +func (x *fastReflection_GetPreviousInferenceRewardFractionRequest) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { + switch d.FullName() { + default: + panic(fmt.Errorf("%s is not a oneof field in emissions.v8.GetPreviousInferenceRewardFractionRequest", d.FullName())) + } + panic("unreachable") +} + +// GetUnknown retrieves the entire list of unknown fields. +// The caller may only mutate the contents of the RawFields +// if the mutated bytes are stored back into the message with SetUnknown. +func (x *fastReflection_GetPreviousInferenceRewardFractionRequest) GetUnknown() protoreflect.RawFields { + return x.unknownFields +} + +// SetUnknown stores an entire list of unknown fields. +// The raw fields must be syntactically valid according to the wire format. +// An implementation may panic if this is not the case. +// Once stored, the caller must not mutate the content of the RawFields. +// An empty RawFields may be passed to clear the fields. +// +// SetUnknown is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetPreviousInferenceRewardFractionRequest) SetUnknown(fields protoreflect.RawFields) { + x.unknownFields = fields +} + +// IsValid reports whether the message is valid. +// +// An invalid message is an empty, read-only value. +// +// An invalid message often corresponds to a nil pointer of the concrete +// message type, but the details are implementation dependent. +// Validity is not part of the protobuf data model, and may not +// be preserved in marshaling or other operations. +func (x *fastReflection_GetPreviousInferenceRewardFractionRequest) IsValid() bool { + return x != nil +} + +// ProtoMethods returns optional fastReflectionFeature-path implementations of various operations. +// This method may return nil. +// +// The returned methods type is identical to +// "google.golang.org/protobuf/runtime/protoiface".Methods. +// Consult the protoiface package documentation for details. +func (x *fastReflection_GetPreviousInferenceRewardFractionRequest) ProtoMethods() *protoiface.Methods { + size := func(input protoiface.SizeInput) protoiface.SizeOutput { + x := input.Message.Interface().(*GetPreviousInferenceRewardFractionRequest) + if x == nil { + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: 0, + } + } + options := runtime.SizeInputToOptions(input) + _ = options + var n int + var l int + _ = l + if x.TopicId != 0 { + n += 1 + runtime.Sov(uint64(x.TopicId)) + } + l = len(x.Worker) + if l > 0 { + n += 1 + l + runtime.Sov(uint64(l)) + } + if x.unknownFields != nil { + n += len(x.unknownFields) + } + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: n, + } + } + + marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { + x := input.Message.Interface().(*GetPreviousInferenceRewardFractionRequest) + if x == nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + options := runtime.MarshalInputToOptions(input) + _ = options + size := options.Size(x) + dAtA := make([]byte, size) + i := len(dAtA) + _ = i + var l int + _ = l + if x.unknownFields != nil { + i -= len(x.unknownFields) + copy(dAtA[i:], x.unknownFields) + } + if len(x.Worker) > 0 { + i -= len(x.Worker) + copy(dAtA[i:], x.Worker) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.Worker))) + i-- + dAtA[i] = 0x12 + } + if x.TopicId != 0 { + i = runtime.EncodeVarint(dAtA, i, uint64(x.TopicId)) + i-- + dAtA[i] = 0x8 + } + if input.Buf != nil { + input.Buf = append(input.Buf, dAtA...) + } else { + input.Buf = dAtA + } + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { + x := input.Message.Interface().(*GetPreviousInferenceRewardFractionRequest) + if x == nil { + return protoiface.UnmarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Flags: input.Flags, + }, nil + } + options := runtime.UnmarshalInputToOptions(input) + _ = options + dAtA := input.Buf + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: GetPreviousInferenceRewardFractionRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: GetPreviousInferenceRewardFractionRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field TopicId", wireType) + } + x.TopicId = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + x.TopicId |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 2: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Worker", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + x.Worker = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := runtime.Skip(dAtA[iNdEx:]) + if err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if (iNdEx + skippy) > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + if !options.DiscardUnknown { + x.unknownFields = append(x.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + } + iNdEx += skippy + } + } + + if iNdEx > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, nil + } + return &protoiface.Methods{ + NoUnkeyedLiterals: struct{}{}, + Flags: protoiface.SupportMarshalDeterministic | protoiface.SupportUnmarshalDiscardUnknown, + Size: size, + Marshal: marshal, + Unmarshal: unmarshal, + Merge: nil, + CheckInitialized: nil, + } +} + +var ( + md_GetPreviousInferenceRewardFractionResponse protoreflect.MessageDescriptor + fd_GetPreviousInferenceRewardFractionResponse_reward_fraction protoreflect.FieldDescriptor + fd_GetPreviousInferenceRewardFractionResponse_not_found protoreflect.FieldDescriptor +) + +func init() { + file_emissions_v8_query_proto_init() + md_GetPreviousInferenceRewardFractionResponse = File_emissions_v8_query_proto.Messages().ByName("GetPreviousInferenceRewardFractionResponse") + fd_GetPreviousInferenceRewardFractionResponse_reward_fraction = md_GetPreviousInferenceRewardFractionResponse.Fields().ByName("reward_fraction") + fd_GetPreviousInferenceRewardFractionResponse_not_found = md_GetPreviousInferenceRewardFractionResponse.Fields().ByName("not_found") +} + +var _ protoreflect.Message = (*fastReflection_GetPreviousInferenceRewardFractionResponse)(nil) + +type fastReflection_GetPreviousInferenceRewardFractionResponse GetPreviousInferenceRewardFractionResponse + +func (x *GetPreviousInferenceRewardFractionResponse) ProtoReflect() protoreflect.Message { + return (*fastReflection_GetPreviousInferenceRewardFractionResponse)(x) +} + +func (x *GetPreviousInferenceRewardFractionResponse) slowProtoReflect() protoreflect.Message { + mi := &file_emissions_v8_query_proto_msgTypes[189] + 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) +} + +var _fastReflection_GetPreviousInferenceRewardFractionResponse_messageType fastReflection_GetPreviousInferenceRewardFractionResponse_messageType +var _ protoreflect.MessageType = fastReflection_GetPreviousInferenceRewardFractionResponse_messageType{} + +type fastReflection_GetPreviousInferenceRewardFractionResponse_messageType struct{} + +func (x fastReflection_GetPreviousInferenceRewardFractionResponse_messageType) Zero() protoreflect.Message { + return (*fastReflection_GetPreviousInferenceRewardFractionResponse)(nil) +} +func (x fastReflection_GetPreviousInferenceRewardFractionResponse_messageType) New() protoreflect.Message { + return new(fastReflection_GetPreviousInferenceRewardFractionResponse) +} +func (x fastReflection_GetPreviousInferenceRewardFractionResponse_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_GetPreviousInferenceRewardFractionResponse +} + +// Descriptor returns message descriptor, which contains only the protobuf +// type information for the message. +func (x *fastReflection_GetPreviousInferenceRewardFractionResponse) Descriptor() protoreflect.MessageDescriptor { + return md_GetPreviousInferenceRewardFractionResponse +} + +// Type returns the message type, which encapsulates both Go and protobuf +// type information. If the Go type information is not needed, +// it is recommended that the message descriptor be used instead. +func (x *fastReflection_GetPreviousInferenceRewardFractionResponse) Type() protoreflect.MessageType { + return _fastReflection_GetPreviousInferenceRewardFractionResponse_messageType +} + +// New returns a newly allocated and mutable empty message. +func (x *fastReflection_GetPreviousInferenceRewardFractionResponse) New() protoreflect.Message { + return new(fastReflection_GetPreviousInferenceRewardFractionResponse) +} + +// Interface unwraps the message reflection interface and +// returns the underlying ProtoMessage interface. +func (x *fastReflection_GetPreviousInferenceRewardFractionResponse) Interface() protoreflect.ProtoMessage { + return (*GetPreviousInferenceRewardFractionResponse)(x) +} + +// Range iterates over every populated field in an undefined order, +// calling f for each field descriptor and value encountered. +// Range returns immediately if f returns false. +// While iterating, mutating operations may only be performed +// on the current field descriptor. +func (x *fastReflection_GetPreviousInferenceRewardFractionResponse) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { + if x.RewardFraction != "" { + value := protoreflect.ValueOfString(x.RewardFraction) + if !f(fd_GetPreviousInferenceRewardFractionResponse_reward_fraction, value) { + return + } + } + if x.NotFound != false { + value := protoreflect.ValueOfBool(x.NotFound) + if !f(fd_GetPreviousInferenceRewardFractionResponse_not_found, value) { + return + } + } +} + +// Has reports whether a field is populated. +// +// Some fields have the property of nullability where it is possible to +// distinguish between the default value of a field and whether the field +// was explicitly populated with the default value. Singular message fields, +// member fields of a oneof, and proto2 scalar fields are nullable. Such +// fields are populated only if explicitly set. +// +// In other cases (aside from the nullable cases above), +// a proto3 scalar field is populated if it contains a non-zero value, and +// a repeated field is populated if it is non-empty. +func (x *fastReflection_GetPreviousInferenceRewardFractionResponse) Has(fd protoreflect.FieldDescriptor) bool { + switch fd.FullName() { + case "emissions.v8.GetPreviousInferenceRewardFractionResponse.reward_fraction": + return x.RewardFraction != "" + case "emissions.v8.GetPreviousInferenceRewardFractionResponse.not_found": + return x.NotFound != false + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetPreviousInferenceRewardFractionResponse")) + } + panic(fmt.Errorf("message emissions.v8.GetPreviousInferenceRewardFractionResponse does not contain field %s", fd.FullName())) + } +} + +// Clear clears the field such that a subsequent Has call reports false. +// +// Clearing an extension field clears both the extension type and value +// associated with the given field number. +// +// Clear is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetPreviousInferenceRewardFractionResponse) Clear(fd protoreflect.FieldDescriptor) { + switch fd.FullName() { + case "emissions.v8.GetPreviousInferenceRewardFractionResponse.reward_fraction": + x.RewardFraction = "" + case "emissions.v8.GetPreviousInferenceRewardFractionResponse.not_found": + x.NotFound = false + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetPreviousInferenceRewardFractionResponse")) + } + panic(fmt.Errorf("message emissions.v8.GetPreviousInferenceRewardFractionResponse does not contain field %s", fd.FullName())) + } +} + +// Get retrieves the value for a field. +// +// For unpopulated scalars, it returns the default value, where +// the default value of a bytes scalar is guaranteed to be a copy. +// For unpopulated composite types, it returns an empty, read-only view +// of the value; to obtain a mutable reference, use Mutable. +func (x *fastReflection_GetPreviousInferenceRewardFractionResponse) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { + switch descriptor.FullName() { + case "emissions.v8.GetPreviousInferenceRewardFractionResponse.reward_fraction": + value := x.RewardFraction + return protoreflect.ValueOfString(value) + case "emissions.v8.GetPreviousInferenceRewardFractionResponse.not_found": + value := x.NotFound + return protoreflect.ValueOfBool(value) + default: + if descriptor.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetPreviousInferenceRewardFractionResponse")) + } + panic(fmt.Errorf("message emissions.v8.GetPreviousInferenceRewardFractionResponse does not contain field %s", descriptor.FullName())) + } +} + +// Set stores the value for a field. +// +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType. +// When setting a composite type, it is unspecified whether the stored value +// aliases the source's memory in any way. If the composite value is an +// empty, read-only value, then it panics. +// +// Set is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetPreviousInferenceRewardFractionResponse) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { + switch fd.FullName() { + case "emissions.v8.GetPreviousInferenceRewardFractionResponse.reward_fraction": + x.RewardFraction = value.Interface().(string) + case "emissions.v8.GetPreviousInferenceRewardFractionResponse.not_found": + x.NotFound = value.Bool() + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetPreviousInferenceRewardFractionResponse")) + } + panic(fmt.Errorf("message emissions.v8.GetPreviousInferenceRewardFractionResponse does not contain field %s", fd.FullName())) + } +} + +// Mutable returns a mutable reference to a composite type. +// +// If the field is unpopulated, it may allocate a composite value. +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType +// if not already stored. +// It panics if the field does not contain a composite type. +// +// Mutable is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetPreviousInferenceRewardFractionResponse) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.GetPreviousInferenceRewardFractionResponse.reward_fraction": + panic(fmt.Errorf("field reward_fraction of message emissions.v8.GetPreviousInferenceRewardFractionResponse is not mutable")) + case "emissions.v8.GetPreviousInferenceRewardFractionResponse.not_found": + panic(fmt.Errorf("field not_found of message emissions.v8.GetPreviousInferenceRewardFractionResponse is not mutable")) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetPreviousInferenceRewardFractionResponse")) + } + panic(fmt.Errorf("message emissions.v8.GetPreviousInferenceRewardFractionResponse does not contain field %s", fd.FullName())) + } +} + +// NewField returns a new value that is assignable to the field +// for the given descriptor. For scalars, this returns the default value. +// For lists, maps, and messages, this returns a new, empty, mutable value. +func (x *fastReflection_GetPreviousInferenceRewardFractionResponse) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.GetPreviousInferenceRewardFractionResponse.reward_fraction": + return protoreflect.ValueOfString("") + case "emissions.v8.GetPreviousInferenceRewardFractionResponse.not_found": + return protoreflect.ValueOfBool(false) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetPreviousInferenceRewardFractionResponse")) + } + panic(fmt.Errorf("message emissions.v8.GetPreviousInferenceRewardFractionResponse does not contain field %s", fd.FullName())) + } +} + +// WhichOneof reports which field within the oneof is populated, +// returning nil if none are populated. +// It panics if the oneof descriptor does not belong to this message. +func (x *fastReflection_GetPreviousInferenceRewardFractionResponse) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { + switch d.FullName() { + default: + panic(fmt.Errorf("%s is not a oneof field in emissions.v8.GetPreviousInferenceRewardFractionResponse", d.FullName())) + } + panic("unreachable") +} + +// GetUnknown retrieves the entire list of unknown fields. +// The caller may only mutate the contents of the RawFields +// if the mutated bytes are stored back into the message with SetUnknown. +func (x *fastReflection_GetPreviousInferenceRewardFractionResponse) GetUnknown() protoreflect.RawFields { + return x.unknownFields +} + +// SetUnknown stores an entire list of unknown fields. +// The raw fields must be syntactically valid according to the wire format. +// An implementation may panic if this is not the case. +// Once stored, the caller must not mutate the content of the RawFields. +// An empty RawFields may be passed to clear the fields. +// +// SetUnknown is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetPreviousInferenceRewardFractionResponse) SetUnknown(fields protoreflect.RawFields) { + x.unknownFields = fields +} + +// IsValid reports whether the message is valid. +// +// An invalid message is an empty, read-only value. +// +// An invalid message often corresponds to a nil pointer of the concrete +// message type, but the details are implementation dependent. +// Validity is not part of the protobuf data model, and may not +// be preserved in marshaling or other operations. +func (x *fastReflection_GetPreviousInferenceRewardFractionResponse) IsValid() bool { + return x != nil +} + +// ProtoMethods returns optional fastReflectionFeature-path implementations of various operations. +// This method may return nil. +// +// The returned methods type is identical to +// "google.golang.org/protobuf/runtime/protoiface".Methods. +// Consult the protoiface package documentation for details. +func (x *fastReflection_GetPreviousInferenceRewardFractionResponse) ProtoMethods() *protoiface.Methods { + size := func(input protoiface.SizeInput) protoiface.SizeOutput { + x := input.Message.Interface().(*GetPreviousInferenceRewardFractionResponse) + if x == nil { + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: 0, + } + } + options := runtime.SizeInputToOptions(input) + _ = options + var n int + var l int + _ = l + l = len(x.RewardFraction) + if l > 0 { + n += 1 + l + runtime.Sov(uint64(l)) + } + if x.NotFound { + n += 2 + } + if x.unknownFields != nil { + n += len(x.unknownFields) + } + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: n, + } + } + + marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { + x := input.Message.Interface().(*GetPreviousInferenceRewardFractionResponse) + if x == nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + options := runtime.MarshalInputToOptions(input) + _ = options + size := options.Size(x) + dAtA := make([]byte, size) + i := len(dAtA) + _ = i + var l int + _ = l + if x.unknownFields != nil { + i -= len(x.unknownFields) + copy(dAtA[i:], x.unknownFields) + } + if x.NotFound { + i-- + if x.NotFound { + dAtA[i] = 1 + } else { + dAtA[i] = 0 + } + i-- + dAtA[i] = 0x10 + } + if len(x.RewardFraction) > 0 { + i -= len(x.RewardFraction) + copy(dAtA[i:], x.RewardFraction) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.RewardFraction))) + i-- + dAtA[i] = 0xa + } + if input.Buf != nil { + input.Buf = append(input.Buf, dAtA...) + } else { + input.Buf = dAtA + } + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { + x := input.Message.Interface().(*GetPreviousInferenceRewardFractionResponse) + if x == nil { + return protoiface.UnmarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Flags: input.Flags, + }, nil + } + options := runtime.UnmarshalInputToOptions(input) + _ = options + dAtA := input.Buf + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: GetPreviousInferenceRewardFractionResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: GetPreviousInferenceRewardFractionResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field RewardFraction", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + x.RewardFraction = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field NotFound", wireType) + } + var v int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + x.NotFound = bool(v != 0) + default: + iNdEx = preIndex + skippy, err := runtime.Skip(dAtA[iNdEx:]) + if err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if (iNdEx + skippy) > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + if !options.DiscardUnknown { + x.unknownFields = append(x.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + } + iNdEx += skippy + } + } + + if iNdEx > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, nil + } + return &protoiface.Methods{ + NoUnkeyedLiterals: struct{}{}, + Flags: protoiface.SupportMarshalDeterministic | protoiface.SupportUnmarshalDiscardUnknown, + Size: size, + Marshal: marshal, + Unmarshal: unmarshal, + Merge: nil, + CheckInitialized: nil, + } +} + +var ( + md_GetPreviousForecastRewardFractionRequest protoreflect.MessageDescriptor + fd_GetPreviousForecastRewardFractionRequest_topic_id protoreflect.FieldDescriptor + fd_GetPreviousForecastRewardFractionRequest_worker protoreflect.FieldDescriptor +) + +func init() { + file_emissions_v8_query_proto_init() + md_GetPreviousForecastRewardFractionRequest = File_emissions_v8_query_proto.Messages().ByName("GetPreviousForecastRewardFractionRequest") + fd_GetPreviousForecastRewardFractionRequest_topic_id = md_GetPreviousForecastRewardFractionRequest.Fields().ByName("topic_id") + fd_GetPreviousForecastRewardFractionRequest_worker = md_GetPreviousForecastRewardFractionRequest.Fields().ByName("worker") +} + +var _ protoreflect.Message = (*fastReflection_GetPreviousForecastRewardFractionRequest)(nil) + +type fastReflection_GetPreviousForecastRewardFractionRequest GetPreviousForecastRewardFractionRequest + +func (x *GetPreviousForecastRewardFractionRequest) ProtoReflect() protoreflect.Message { + return (*fastReflection_GetPreviousForecastRewardFractionRequest)(x) +} + +func (x *GetPreviousForecastRewardFractionRequest) slowProtoReflect() protoreflect.Message { + mi := &file_emissions_v8_query_proto_msgTypes[190] + 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) +} + +var _fastReflection_GetPreviousForecastRewardFractionRequest_messageType fastReflection_GetPreviousForecastRewardFractionRequest_messageType +var _ protoreflect.MessageType = fastReflection_GetPreviousForecastRewardFractionRequest_messageType{} + +type fastReflection_GetPreviousForecastRewardFractionRequest_messageType struct{} + +func (x fastReflection_GetPreviousForecastRewardFractionRequest_messageType) Zero() protoreflect.Message { + return (*fastReflection_GetPreviousForecastRewardFractionRequest)(nil) +} +func (x fastReflection_GetPreviousForecastRewardFractionRequest_messageType) New() protoreflect.Message { + return new(fastReflection_GetPreviousForecastRewardFractionRequest) +} +func (x fastReflection_GetPreviousForecastRewardFractionRequest_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_GetPreviousForecastRewardFractionRequest +} + +// Descriptor returns message descriptor, which contains only the protobuf +// type information for the message. +func (x *fastReflection_GetPreviousForecastRewardFractionRequest) Descriptor() protoreflect.MessageDescriptor { + return md_GetPreviousForecastRewardFractionRequest +} + +// Type returns the message type, which encapsulates both Go and protobuf +// type information. If the Go type information is not needed, +// it is recommended that the message descriptor be used instead. +func (x *fastReflection_GetPreviousForecastRewardFractionRequest) Type() protoreflect.MessageType { + return _fastReflection_GetPreviousForecastRewardFractionRequest_messageType +} + +// New returns a newly allocated and mutable empty message. +func (x *fastReflection_GetPreviousForecastRewardFractionRequest) New() protoreflect.Message { + return new(fastReflection_GetPreviousForecastRewardFractionRequest) +} + +// Interface unwraps the message reflection interface and +// returns the underlying ProtoMessage interface. +func (x *fastReflection_GetPreviousForecastRewardFractionRequest) Interface() protoreflect.ProtoMessage { + return (*GetPreviousForecastRewardFractionRequest)(x) +} + +// Range iterates over every populated field in an undefined order, +// calling f for each field descriptor and value encountered. +// Range returns immediately if f returns false. +// While iterating, mutating operations may only be performed +// on the current field descriptor. +func (x *fastReflection_GetPreviousForecastRewardFractionRequest) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { + if x.TopicId != uint64(0) { + value := protoreflect.ValueOfUint64(x.TopicId) + if !f(fd_GetPreviousForecastRewardFractionRequest_topic_id, value) { + return + } + } + if x.Worker != "" { + value := protoreflect.ValueOfString(x.Worker) + if !f(fd_GetPreviousForecastRewardFractionRequest_worker, value) { + return + } + } +} + +// Has reports whether a field is populated. +// +// Some fields have the property of nullability where it is possible to +// distinguish between the default value of a field and whether the field +// was explicitly populated with the default value. Singular message fields, +// member fields of a oneof, and proto2 scalar fields are nullable. Such +// fields are populated only if explicitly set. +// +// In other cases (aside from the nullable cases above), +// a proto3 scalar field is populated if it contains a non-zero value, and +// a repeated field is populated if it is non-empty. +func (x *fastReflection_GetPreviousForecastRewardFractionRequest) Has(fd protoreflect.FieldDescriptor) bool { + switch fd.FullName() { + case "emissions.v8.GetPreviousForecastRewardFractionRequest.topic_id": + return x.TopicId != uint64(0) + case "emissions.v8.GetPreviousForecastRewardFractionRequest.worker": + return x.Worker != "" + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetPreviousForecastRewardFractionRequest")) + } + panic(fmt.Errorf("message emissions.v8.GetPreviousForecastRewardFractionRequest does not contain field %s", fd.FullName())) + } +} + +// Clear clears the field such that a subsequent Has call reports false. +// +// Clearing an extension field clears both the extension type and value +// associated with the given field number. +// +// Clear is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetPreviousForecastRewardFractionRequest) Clear(fd protoreflect.FieldDescriptor) { + switch fd.FullName() { + case "emissions.v8.GetPreviousForecastRewardFractionRequest.topic_id": + x.TopicId = uint64(0) + case "emissions.v8.GetPreviousForecastRewardFractionRequest.worker": + x.Worker = "" + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetPreviousForecastRewardFractionRequest")) + } + panic(fmt.Errorf("message emissions.v8.GetPreviousForecastRewardFractionRequest does not contain field %s", fd.FullName())) + } +} + +// Get retrieves the value for a field. +// +// For unpopulated scalars, it returns the default value, where +// the default value of a bytes scalar is guaranteed to be a copy. +// For unpopulated composite types, it returns an empty, read-only view +// of the value; to obtain a mutable reference, use Mutable. +func (x *fastReflection_GetPreviousForecastRewardFractionRequest) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { + switch descriptor.FullName() { + case "emissions.v8.GetPreviousForecastRewardFractionRequest.topic_id": + value := x.TopicId + return protoreflect.ValueOfUint64(value) + case "emissions.v8.GetPreviousForecastRewardFractionRequest.worker": + value := x.Worker + return protoreflect.ValueOfString(value) + default: + if descriptor.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetPreviousForecastRewardFractionRequest")) + } + panic(fmt.Errorf("message emissions.v8.GetPreviousForecastRewardFractionRequest does not contain field %s", descriptor.FullName())) + } +} + +// Set stores the value for a field. +// +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType. +// When setting a composite type, it is unspecified whether the stored value +// aliases the source's memory in any way. If the composite value is an +// empty, read-only value, then it panics. +// +// Set is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetPreviousForecastRewardFractionRequest) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { + switch fd.FullName() { + case "emissions.v8.GetPreviousForecastRewardFractionRequest.topic_id": + x.TopicId = value.Uint() + case "emissions.v8.GetPreviousForecastRewardFractionRequest.worker": + x.Worker = value.Interface().(string) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetPreviousForecastRewardFractionRequest")) + } + panic(fmt.Errorf("message emissions.v8.GetPreviousForecastRewardFractionRequest does not contain field %s", fd.FullName())) + } +} + +// Mutable returns a mutable reference to a composite type. +// +// If the field is unpopulated, it may allocate a composite value. +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType +// if not already stored. +// It panics if the field does not contain a composite type. +// +// Mutable is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetPreviousForecastRewardFractionRequest) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.GetPreviousForecastRewardFractionRequest.topic_id": + panic(fmt.Errorf("field topic_id of message emissions.v8.GetPreviousForecastRewardFractionRequest is not mutable")) + case "emissions.v8.GetPreviousForecastRewardFractionRequest.worker": + panic(fmt.Errorf("field worker of message emissions.v8.GetPreviousForecastRewardFractionRequest is not mutable")) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetPreviousForecastRewardFractionRequest")) + } + panic(fmt.Errorf("message emissions.v8.GetPreviousForecastRewardFractionRequest does not contain field %s", fd.FullName())) + } +} + +// NewField returns a new value that is assignable to the field +// for the given descriptor. For scalars, this returns the default value. +// For lists, maps, and messages, this returns a new, empty, mutable value. +func (x *fastReflection_GetPreviousForecastRewardFractionRequest) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.GetPreviousForecastRewardFractionRequest.topic_id": + return protoreflect.ValueOfUint64(uint64(0)) + case "emissions.v8.GetPreviousForecastRewardFractionRequest.worker": + return protoreflect.ValueOfString("") + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetPreviousForecastRewardFractionRequest")) + } + panic(fmt.Errorf("message emissions.v8.GetPreviousForecastRewardFractionRequest does not contain field %s", fd.FullName())) + } +} + +// WhichOneof reports which field within the oneof is populated, +// returning nil if none are populated. +// It panics if the oneof descriptor does not belong to this message. +func (x *fastReflection_GetPreviousForecastRewardFractionRequest) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { + switch d.FullName() { + default: + panic(fmt.Errorf("%s is not a oneof field in emissions.v8.GetPreviousForecastRewardFractionRequest", d.FullName())) + } + panic("unreachable") +} + +// GetUnknown retrieves the entire list of unknown fields. +// The caller may only mutate the contents of the RawFields +// if the mutated bytes are stored back into the message with SetUnknown. +func (x *fastReflection_GetPreviousForecastRewardFractionRequest) GetUnknown() protoreflect.RawFields { + return x.unknownFields +} + +// SetUnknown stores an entire list of unknown fields. +// The raw fields must be syntactically valid according to the wire format. +// An implementation may panic if this is not the case. +// Once stored, the caller must not mutate the content of the RawFields. +// An empty RawFields may be passed to clear the fields. +// +// SetUnknown is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetPreviousForecastRewardFractionRequest) SetUnknown(fields protoreflect.RawFields) { + x.unknownFields = fields +} + +// IsValid reports whether the message is valid. +// +// An invalid message is an empty, read-only value. +// +// An invalid message often corresponds to a nil pointer of the concrete +// message type, but the details are implementation dependent. +// Validity is not part of the protobuf data model, and may not +// be preserved in marshaling or other operations. +func (x *fastReflection_GetPreviousForecastRewardFractionRequest) IsValid() bool { + return x != nil +} + +// ProtoMethods returns optional fastReflectionFeature-path implementations of various operations. +// This method may return nil. +// +// The returned methods type is identical to +// "google.golang.org/protobuf/runtime/protoiface".Methods. +// Consult the protoiface package documentation for details. +func (x *fastReflection_GetPreviousForecastRewardFractionRequest) ProtoMethods() *protoiface.Methods { + size := func(input protoiface.SizeInput) protoiface.SizeOutput { + x := input.Message.Interface().(*GetPreviousForecastRewardFractionRequest) + if x == nil { + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: 0, + } + } + options := runtime.SizeInputToOptions(input) + _ = options + var n int + var l int + _ = l + if x.TopicId != 0 { + n += 1 + runtime.Sov(uint64(x.TopicId)) + } + l = len(x.Worker) + if l > 0 { + n += 1 + l + runtime.Sov(uint64(l)) + } + if x.unknownFields != nil { + n += len(x.unknownFields) + } + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: n, + } + } + + marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { + x := input.Message.Interface().(*GetPreviousForecastRewardFractionRequest) + if x == nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + options := runtime.MarshalInputToOptions(input) + _ = options + size := options.Size(x) + dAtA := make([]byte, size) + i := len(dAtA) + _ = i + var l int + _ = l + if x.unknownFields != nil { + i -= len(x.unknownFields) + copy(dAtA[i:], x.unknownFields) + } + if len(x.Worker) > 0 { + i -= len(x.Worker) + copy(dAtA[i:], x.Worker) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.Worker))) + i-- + dAtA[i] = 0x12 + } + if x.TopicId != 0 { + i = runtime.EncodeVarint(dAtA, i, uint64(x.TopicId)) + i-- + dAtA[i] = 0x8 + } + if input.Buf != nil { + input.Buf = append(input.Buf, dAtA...) + } else { + input.Buf = dAtA + } + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { + x := input.Message.Interface().(*GetPreviousForecastRewardFractionRequest) + if x == nil { + return protoiface.UnmarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Flags: input.Flags, + }, nil + } + options := runtime.UnmarshalInputToOptions(input) + _ = options + dAtA := input.Buf + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: GetPreviousForecastRewardFractionRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: GetPreviousForecastRewardFractionRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field TopicId", wireType) + } + x.TopicId = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + x.TopicId |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 2: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Worker", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + x.Worker = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := runtime.Skip(dAtA[iNdEx:]) + if err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if (iNdEx + skippy) > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + if !options.DiscardUnknown { + x.unknownFields = append(x.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + } + iNdEx += skippy + } + } + + if iNdEx > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, nil + } + return &protoiface.Methods{ + NoUnkeyedLiterals: struct{}{}, + Flags: protoiface.SupportMarshalDeterministic | protoiface.SupportUnmarshalDiscardUnknown, + Size: size, + Marshal: marshal, + Unmarshal: unmarshal, + Merge: nil, + CheckInitialized: nil, + } +} + +var ( + md_GetPreviousForecastRewardFractionResponse protoreflect.MessageDescriptor + fd_GetPreviousForecastRewardFractionResponse_reward_fraction protoreflect.FieldDescriptor + fd_GetPreviousForecastRewardFractionResponse_not_found protoreflect.FieldDescriptor +) + +func init() { + file_emissions_v8_query_proto_init() + md_GetPreviousForecastRewardFractionResponse = File_emissions_v8_query_proto.Messages().ByName("GetPreviousForecastRewardFractionResponse") + fd_GetPreviousForecastRewardFractionResponse_reward_fraction = md_GetPreviousForecastRewardFractionResponse.Fields().ByName("reward_fraction") + fd_GetPreviousForecastRewardFractionResponse_not_found = md_GetPreviousForecastRewardFractionResponse.Fields().ByName("not_found") +} + +var _ protoreflect.Message = (*fastReflection_GetPreviousForecastRewardFractionResponse)(nil) + +type fastReflection_GetPreviousForecastRewardFractionResponse GetPreviousForecastRewardFractionResponse + +func (x *GetPreviousForecastRewardFractionResponse) ProtoReflect() protoreflect.Message { + return (*fastReflection_GetPreviousForecastRewardFractionResponse)(x) +} + +func (x *GetPreviousForecastRewardFractionResponse) slowProtoReflect() protoreflect.Message { + mi := &file_emissions_v8_query_proto_msgTypes[191] + 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) +} + +var _fastReflection_GetPreviousForecastRewardFractionResponse_messageType fastReflection_GetPreviousForecastRewardFractionResponse_messageType +var _ protoreflect.MessageType = fastReflection_GetPreviousForecastRewardFractionResponse_messageType{} + +type fastReflection_GetPreviousForecastRewardFractionResponse_messageType struct{} + +func (x fastReflection_GetPreviousForecastRewardFractionResponse_messageType) Zero() protoreflect.Message { + return (*fastReflection_GetPreviousForecastRewardFractionResponse)(nil) +} +func (x fastReflection_GetPreviousForecastRewardFractionResponse_messageType) New() protoreflect.Message { + return new(fastReflection_GetPreviousForecastRewardFractionResponse) +} +func (x fastReflection_GetPreviousForecastRewardFractionResponse_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_GetPreviousForecastRewardFractionResponse +} + +// Descriptor returns message descriptor, which contains only the protobuf +// type information for the message. +func (x *fastReflection_GetPreviousForecastRewardFractionResponse) Descriptor() protoreflect.MessageDescriptor { + return md_GetPreviousForecastRewardFractionResponse +} + +// Type returns the message type, which encapsulates both Go and protobuf +// type information. If the Go type information is not needed, +// it is recommended that the message descriptor be used instead. +func (x *fastReflection_GetPreviousForecastRewardFractionResponse) Type() protoreflect.MessageType { + return _fastReflection_GetPreviousForecastRewardFractionResponse_messageType +} + +// New returns a newly allocated and mutable empty message. +func (x *fastReflection_GetPreviousForecastRewardFractionResponse) New() protoreflect.Message { + return new(fastReflection_GetPreviousForecastRewardFractionResponse) +} + +// Interface unwraps the message reflection interface and +// returns the underlying ProtoMessage interface. +func (x *fastReflection_GetPreviousForecastRewardFractionResponse) Interface() protoreflect.ProtoMessage { + return (*GetPreviousForecastRewardFractionResponse)(x) +} + +// Range iterates over every populated field in an undefined order, +// calling f for each field descriptor and value encountered. +// Range returns immediately if f returns false. +// While iterating, mutating operations may only be performed +// on the current field descriptor. +func (x *fastReflection_GetPreviousForecastRewardFractionResponse) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { + if x.RewardFraction != "" { + value := protoreflect.ValueOfString(x.RewardFraction) + if !f(fd_GetPreviousForecastRewardFractionResponse_reward_fraction, value) { + return + } + } + if x.NotFound != false { + value := protoreflect.ValueOfBool(x.NotFound) + if !f(fd_GetPreviousForecastRewardFractionResponse_not_found, value) { + return + } + } +} + +// Has reports whether a field is populated. +// +// Some fields have the property of nullability where it is possible to +// distinguish between the default value of a field and whether the field +// was explicitly populated with the default value. Singular message fields, +// member fields of a oneof, and proto2 scalar fields are nullable. Such +// fields are populated only if explicitly set. +// +// In other cases (aside from the nullable cases above), +// a proto3 scalar field is populated if it contains a non-zero value, and +// a repeated field is populated if it is non-empty. +func (x *fastReflection_GetPreviousForecastRewardFractionResponse) Has(fd protoreflect.FieldDescriptor) bool { + switch fd.FullName() { + case "emissions.v8.GetPreviousForecastRewardFractionResponse.reward_fraction": + return x.RewardFraction != "" + case "emissions.v8.GetPreviousForecastRewardFractionResponse.not_found": + return x.NotFound != false + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetPreviousForecastRewardFractionResponse")) + } + panic(fmt.Errorf("message emissions.v8.GetPreviousForecastRewardFractionResponse does not contain field %s", fd.FullName())) + } +} + +// Clear clears the field such that a subsequent Has call reports false. +// +// Clearing an extension field clears both the extension type and value +// associated with the given field number. +// +// Clear is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetPreviousForecastRewardFractionResponse) Clear(fd protoreflect.FieldDescriptor) { + switch fd.FullName() { + case "emissions.v8.GetPreviousForecastRewardFractionResponse.reward_fraction": + x.RewardFraction = "" + case "emissions.v8.GetPreviousForecastRewardFractionResponse.not_found": + x.NotFound = false + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetPreviousForecastRewardFractionResponse")) + } + panic(fmt.Errorf("message emissions.v8.GetPreviousForecastRewardFractionResponse does not contain field %s", fd.FullName())) + } +} + +// Get retrieves the value for a field. +// +// For unpopulated scalars, it returns the default value, where +// the default value of a bytes scalar is guaranteed to be a copy. +// For unpopulated composite types, it returns an empty, read-only view +// of the value; to obtain a mutable reference, use Mutable. +func (x *fastReflection_GetPreviousForecastRewardFractionResponse) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { + switch descriptor.FullName() { + case "emissions.v8.GetPreviousForecastRewardFractionResponse.reward_fraction": + value := x.RewardFraction + return protoreflect.ValueOfString(value) + case "emissions.v8.GetPreviousForecastRewardFractionResponse.not_found": + value := x.NotFound + return protoreflect.ValueOfBool(value) + default: + if descriptor.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetPreviousForecastRewardFractionResponse")) + } + panic(fmt.Errorf("message emissions.v8.GetPreviousForecastRewardFractionResponse does not contain field %s", descriptor.FullName())) + } +} + +// Set stores the value for a field. +// +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType. +// When setting a composite type, it is unspecified whether the stored value +// aliases the source's memory in any way. If the composite value is an +// empty, read-only value, then it panics. +// +// Set is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetPreviousForecastRewardFractionResponse) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { + switch fd.FullName() { + case "emissions.v8.GetPreviousForecastRewardFractionResponse.reward_fraction": + x.RewardFraction = value.Interface().(string) + case "emissions.v8.GetPreviousForecastRewardFractionResponse.not_found": + x.NotFound = value.Bool() + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetPreviousForecastRewardFractionResponse")) + } + panic(fmt.Errorf("message emissions.v8.GetPreviousForecastRewardFractionResponse does not contain field %s", fd.FullName())) + } +} + +// Mutable returns a mutable reference to a composite type. +// +// If the field is unpopulated, it may allocate a composite value. +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType +// if not already stored. +// It panics if the field does not contain a composite type. +// +// Mutable is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetPreviousForecastRewardFractionResponse) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.GetPreviousForecastRewardFractionResponse.reward_fraction": + panic(fmt.Errorf("field reward_fraction of message emissions.v8.GetPreviousForecastRewardFractionResponse is not mutable")) + case "emissions.v8.GetPreviousForecastRewardFractionResponse.not_found": + panic(fmt.Errorf("field not_found of message emissions.v8.GetPreviousForecastRewardFractionResponse is not mutable")) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetPreviousForecastRewardFractionResponse")) + } + panic(fmt.Errorf("message emissions.v8.GetPreviousForecastRewardFractionResponse does not contain field %s", fd.FullName())) + } +} + +// NewField returns a new value that is assignable to the field +// for the given descriptor. For scalars, this returns the default value. +// For lists, maps, and messages, this returns a new, empty, mutable value. +func (x *fastReflection_GetPreviousForecastRewardFractionResponse) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.GetPreviousForecastRewardFractionResponse.reward_fraction": + return protoreflect.ValueOfString("") + case "emissions.v8.GetPreviousForecastRewardFractionResponse.not_found": + return protoreflect.ValueOfBool(false) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetPreviousForecastRewardFractionResponse")) + } + panic(fmt.Errorf("message emissions.v8.GetPreviousForecastRewardFractionResponse does not contain field %s", fd.FullName())) + } +} + +// WhichOneof reports which field within the oneof is populated, +// returning nil if none are populated. +// It panics if the oneof descriptor does not belong to this message. +func (x *fastReflection_GetPreviousForecastRewardFractionResponse) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { + switch d.FullName() { + default: + panic(fmt.Errorf("%s is not a oneof field in emissions.v8.GetPreviousForecastRewardFractionResponse", d.FullName())) + } + panic("unreachable") +} + +// GetUnknown retrieves the entire list of unknown fields. +// The caller may only mutate the contents of the RawFields +// if the mutated bytes are stored back into the message with SetUnknown. +func (x *fastReflection_GetPreviousForecastRewardFractionResponse) GetUnknown() protoreflect.RawFields { + return x.unknownFields +} + +// SetUnknown stores an entire list of unknown fields. +// The raw fields must be syntactically valid according to the wire format. +// An implementation may panic if this is not the case. +// Once stored, the caller must not mutate the content of the RawFields. +// An empty RawFields may be passed to clear the fields. +// +// SetUnknown is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetPreviousForecastRewardFractionResponse) SetUnknown(fields protoreflect.RawFields) { + x.unknownFields = fields +} + +// IsValid reports whether the message is valid. +// +// An invalid message is an empty, read-only value. +// +// An invalid message often corresponds to a nil pointer of the concrete +// message type, but the details are implementation dependent. +// Validity is not part of the protobuf data model, and may not +// be preserved in marshaling or other operations. +func (x *fastReflection_GetPreviousForecastRewardFractionResponse) IsValid() bool { + return x != nil +} + +// ProtoMethods returns optional fastReflectionFeature-path implementations of various operations. +// This method may return nil. +// +// The returned methods type is identical to +// "google.golang.org/protobuf/runtime/protoiface".Methods. +// Consult the protoiface package documentation for details. +func (x *fastReflection_GetPreviousForecastRewardFractionResponse) ProtoMethods() *protoiface.Methods { + size := func(input protoiface.SizeInput) protoiface.SizeOutput { + x := input.Message.Interface().(*GetPreviousForecastRewardFractionResponse) + if x == nil { + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: 0, + } + } + options := runtime.SizeInputToOptions(input) + _ = options + var n int + var l int + _ = l + l = len(x.RewardFraction) + if l > 0 { + n += 1 + l + runtime.Sov(uint64(l)) + } + if x.NotFound { + n += 2 + } + if x.unknownFields != nil { + n += len(x.unknownFields) + } + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: n, + } + } + + marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { + x := input.Message.Interface().(*GetPreviousForecastRewardFractionResponse) + if x == nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + options := runtime.MarshalInputToOptions(input) + _ = options + size := options.Size(x) + dAtA := make([]byte, size) + i := len(dAtA) + _ = i + var l int + _ = l + if x.unknownFields != nil { + i -= len(x.unknownFields) + copy(dAtA[i:], x.unknownFields) + } + if x.NotFound { + i-- + if x.NotFound { + dAtA[i] = 1 + } else { + dAtA[i] = 0 + } + i-- + dAtA[i] = 0x10 + } + if len(x.RewardFraction) > 0 { + i -= len(x.RewardFraction) + copy(dAtA[i:], x.RewardFraction) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.RewardFraction))) + i-- + dAtA[i] = 0xa + } + if input.Buf != nil { + input.Buf = append(input.Buf, dAtA...) + } else { + input.Buf = dAtA + } + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { + x := input.Message.Interface().(*GetPreviousForecastRewardFractionResponse) + if x == nil { + return protoiface.UnmarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Flags: input.Flags, + }, nil + } + options := runtime.UnmarshalInputToOptions(input) + _ = options + dAtA := input.Buf + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: GetPreviousForecastRewardFractionResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: GetPreviousForecastRewardFractionResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field RewardFraction", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + x.RewardFraction = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field NotFound", wireType) + } + var v int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + x.NotFound = bool(v != 0) + default: + iNdEx = preIndex + skippy, err := runtime.Skip(dAtA[iNdEx:]) + if err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if (iNdEx + skippy) > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + if !options.DiscardUnknown { + x.unknownFields = append(x.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + } + iNdEx += skippy + } + } + + if iNdEx > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, nil + } + return &protoiface.Methods{ + NoUnkeyedLiterals: struct{}{}, + Flags: protoiface.SupportMarshalDeterministic | protoiface.SupportUnmarshalDiscardUnknown, + Size: size, + Marshal: marshal, + Unmarshal: unmarshal, + Merge: nil, + CheckInitialized: nil, + } +} + +var ( + md_GetPreviousPercentageRewardToStakedReputersRequest protoreflect.MessageDescriptor +) + +func init() { + file_emissions_v8_query_proto_init() + md_GetPreviousPercentageRewardToStakedReputersRequest = File_emissions_v8_query_proto.Messages().ByName("GetPreviousPercentageRewardToStakedReputersRequest") +} + +var _ protoreflect.Message = (*fastReflection_GetPreviousPercentageRewardToStakedReputersRequest)(nil) + +type fastReflection_GetPreviousPercentageRewardToStakedReputersRequest GetPreviousPercentageRewardToStakedReputersRequest + +func (x *GetPreviousPercentageRewardToStakedReputersRequest) ProtoReflect() protoreflect.Message { + return (*fastReflection_GetPreviousPercentageRewardToStakedReputersRequest)(x) +} + +func (x *GetPreviousPercentageRewardToStakedReputersRequest) slowProtoReflect() protoreflect.Message { + mi := &file_emissions_v8_query_proto_msgTypes[192] + 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) +} + +var _fastReflection_GetPreviousPercentageRewardToStakedReputersRequest_messageType fastReflection_GetPreviousPercentageRewardToStakedReputersRequest_messageType +var _ protoreflect.MessageType = fastReflection_GetPreviousPercentageRewardToStakedReputersRequest_messageType{} + +type fastReflection_GetPreviousPercentageRewardToStakedReputersRequest_messageType struct{} + +func (x fastReflection_GetPreviousPercentageRewardToStakedReputersRequest_messageType) Zero() protoreflect.Message { + return (*fastReflection_GetPreviousPercentageRewardToStakedReputersRequest)(nil) +} +func (x fastReflection_GetPreviousPercentageRewardToStakedReputersRequest_messageType) New() protoreflect.Message { + return new(fastReflection_GetPreviousPercentageRewardToStakedReputersRequest) +} +func (x fastReflection_GetPreviousPercentageRewardToStakedReputersRequest_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_GetPreviousPercentageRewardToStakedReputersRequest +} + +// Descriptor returns message descriptor, which contains only the protobuf +// type information for the message. +func (x *fastReflection_GetPreviousPercentageRewardToStakedReputersRequest) Descriptor() protoreflect.MessageDescriptor { + return md_GetPreviousPercentageRewardToStakedReputersRequest +} + +// Type returns the message type, which encapsulates both Go and protobuf +// type information. If the Go type information is not needed, +// it is recommended that the message descriptor be used instead. +func (x *fastReflection_GetPreviousPercentageRewardToStakedReputersRequest) Type() protoreflect.MessageType { + return _fastReflection_GetPreviousPercentageRewardToStakedReputersRequest_messageType +} + +// New returns a newly allocated and mutable empty message. +func (x *fastReflection_GetPreviousPercentageRewardToStakedReputersRequest) New() protoreflect.Message { + return new(fastReflection_GetPreviousPercentageRewardToStakedReputersRequest) +} + +// Interface unwraps the message reflection interface and +// returns the underlying ProtoMessage interface. +func (x *fastReflection_GetPreviousPercentageRewardToStakedReputersRequest) Interface() protoreflect.ProtoMessage { + return (*GetPreviousPercentageRewardToStakedReputersRequest)(x) +} + +// Range iterates over every populated field in an undefined order, +// calling f for each field descriptor and value encountered. +// Range returns immediately if f returns false. +// While iterating, mutating operations may only be performed +// on the current field descriptor. +func (x *fastReflection_GetPreviousPercentageRewardToStakedReputersRequest) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { +} + +// Has reports whether a field is populated. +// +// Some fields have the property of nullability where it is possible to +// distinguish between the default value of a field and whether the field +// was explicitly populated with the default value. Singular message fields, +// member fields of a oneof, and proto2 scalar fields are nullable. Such +// fields are populated only if explicitly set. +// +// In other cases (aside from the nullable cases above), +// a proto3 scalar field is populated if it contains a non-zero value, and +// a repeated field is populated if it is non-empty. +func (x *fastReflection_GetPreviousPercentageRewardToStakedReputersRequest) Has(fd protoreflect.FieldDescriptor) bool { + switch fd.FullName() { + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetPreviousPercentageRewardToStakedReputersRequest")) + } + panic(fmt.Errorf("message emissions.v8.GetPreviousPercentageRewardToStakedReputersRequest does not contain field %s", fd.FullName())) + } +} + +// Clear clears the field such that a subsequent Has call reports false. +// +// Clearing an extension field clears both the extension type and value +// associated with the given field number. +// +// Clear is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetPreviousPercentageRewardToStakedReputersRequest) Clear(fd protoreflect.FieldDescriptor) { + switch fd.FullName() { + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetPreviousPercentageRewardToStakedReputersRequest")) + } + panic(fmt.Errorf("message emissions.v8.GetPreviousPercentageRewardToStakedReputersRequest does not contain field %s", fd.FullName())) + } +} + +// Get retrieves the value for a field. +// +// For unpopulated scalars, it returns the default value, where +// the default value of a bytes scalar is guaranteed to be a copy. +// For unpopulated composite types, it returns an empty, read-only view +// of the value; to obtain a mutable reference, use Mutable. +func (x *fastReflection_GetPreviousPercentageRewardToStakedReputersRequest) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { + switch descriptor.FullName() { + default: + if descriptor.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetPreviousPercentageRewardToStakedReputersRequest")) + } + panic(fmt.Errorf("message emissions.v8.GetPreviousPercentageRewardToStakedReputersRequest does not contain field %s", descriptor.FullName())) + } +} + +// Set stores the value for a field. +// +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType. +// When setting a composite type, it is unspecified whether the stored value +// aliases the source's memory in any way. If the composite value is an +// empty, read-only value, then it panics. +// +// Set is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetPreviousPercentageRewardToStakedReputersRequest) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { + switch fd.FullName() { + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetPreviousPercentageRewardToStakedReputersRequest")) + } + panic(fmt.Errorf("message emissions.v8.GetPreviousPercentageRewardToStakedReputersRequest does not contain field %s", fd.FullName())) + } +} + +// Mutable returns a mutable reference to a composite type. +// +// If the field is unpopulated, it may allocate a composite value. +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType +// if not already stored. +// It panics if the field does not contain a composite type. +// +// Mutable is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetPreviousPercentageRewardToStakedReputersRequest) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetPreviousPercentageRewardToStakedReputersRequest")) + } + panic(fmt.Errorf("message emissions.v8.GetPreviousPercentageRewardToStakedReputersRequest does not contain field %s", fd.FullName())) + } +} + +// NewField returns a new value that is assignable to the field +// for the given descriptor. For scalars, this returns the default value. +// For lists, maps, and messages, this returns a new, empty, mutable value. +func (x *fastReflection_GetPreviousPercentageRewardToStakedReputersRequest) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetPreviousPercentageRewardToStakedReputersRequest")) + } + panic(fmt.Errorf("message emissions.v8.GetPreviousPercentageRewardToStakedReputersRequest does not contain field %s", fd.FullName())) + } +} + +// WhichOneof reports which field within the oneof is populated, +// returning nil if none are populated. +// It panics if the oneof descriptor does not belong to this message. +func (x *fastReflection_GetPreviousPercentageRewardToStakedReputersRequest) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { + switch d.FullName() { + default: + panic(fmt.Errorf("%s is not a oneof field in emissions.v8.GetPreviousPercentageRewardToStakedReputersRequest", d.FullName())) + } + panic("unreachable") +} + +// GetUnknown retrieves the entire list of unknown fields. +// The caller may only mutate the contents of the RawFields +// if the mutated bytes are stored back into the message with SetUnknown. +func (x *fastReflection_GetPreviousPercentageRewardToStakedReputersRequest) GetUnknown() protoreflect.RawFields { + return x.unknownFields +} + +// SetUnknown stores an entire list of unknown fields. +// The raw fields must be syntactically valid according to the wire format. +// An implementation may panic if this is not the case. +// Once stored, the caller must not mutate the content of the RawFields. +// An empty RawFields may be passed to clear the fields. +// +// SetUnknown is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetPreviousPercentageRewardToStakedReputersRequest) SetUnknown(fields protoreflect.RawFields) { + x.unknownFields = fields +} + +// IsValid reports whether the message is valid. +// +// An invalid message is an empty, read-only value. +// +// An invalid message often corresponds to a nil pointer of the concrete +// message type, but the details are implementation dependent. +// Validity is not part of the protobuf data model, and may not +// be preserved in marshaling or other operations. +func (x *fastReflection_GetPreviousPercentageRewardToStakedReputersRequest) IsValid() bool { + return x != nil +} + +// ProtoMethods returns optional fastReflectionFeature-path implementations of various operations. +// This method may return nil. +// +// The returned methods type is identical to +// "google.golang.org/protobuf/runtime/protoiface".Methods. +// Consult the protoiface package documentation for details. +func (x *fastReflection_GetPreviousPercentageRewardToStakedReputersRequest) ProtoMethods() *protoiface.Methods { + size := func(input protoiface.SizeInput) protoiface.SizeOutput { + x := input.Message.Interface().(*GetPreviousPercentageRewardToStakedReputersRequest) + if x == nil { + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: 0, + } + } + options := runtime.SizeInputToOptions(input) + _ = options + var n int + var l int + _ = l + if x.unknownFields != nil { + n += len(x.unknownFields) + } + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: n, + } + } + + marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { + x := input.Message.Interface().(*GetPreviousPercentageRewardToStakedReputersRequest) + if x == nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + options := runtime.MarshalInputToOptions(input) + _ = options + size := options.Size(x) + dAtA := make([]byte, size) + i := len(dAtA) + _ = i + var l int + _ = l + if x.unknownFields != nil { + i -= len(x.unknownFields) + copy(dAtA[i:], x.unknownFields) + } + if input.Buf != nil { + input.Buf = append(input.Buf, dAtA...) + } else { + input.Buf = dAtA + } + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { + x := input.Message.Interface().(*GetPreviousPercentageRewardToStakedReputersRequest) + if x == nil { + return protoiface.UnmarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Flags: input.Flags, + }, nil + } + options := runtime.UnmarshalInputToOptions(input) + _ = options + dAtA := input.Buf + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: GetPreviousPercentageRewardToStakedReputersRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: GetPreviousPercentageRewardToStakedReputersRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + default: + iNdEx = preIndex + skippy, err := runtime.Skip(dAtA[iNdEx:]) + if err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if (iNdEx + skippy) > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + if !options.DiscardUnknown { + x.unknownFields = append(x.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + } + iNdEx += skippy + } + } + + if iNdEx > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, nil + } + return &protoiface.Methods{ + NoUnkeyedLiterals: struct{}{}, + Flags: protoiface.SupportMarshalDeterministic | protoiface.SupportUnmarshalDiscardUnknown, + Size: size, + Marshal: marshal, + Unmarshal: unmarshal, + Merge: nil, + CheckInitialized: nil, + } +} + +var ( + md_GetPreviousPercentageRewardToStakedReputersResponse protoreflect.MessageDescriptor + fd_GetPreviousPercentageRewardToStakedReputersResponse_percentage_reward protoreflect.FieldDescriptor +) + +func init() { + file_emissions_v8_query_proto_init() + md_GetPreviousPercentageRewardToStakedReputersResponse = File_emissions_v8_query_proto.Messages().ByName("GetPreviousPercentageRewardToStakedReputersResponse") + fd_GetPreviousPercentageRewardToStakedReputersResponse_percentage_reward = md_GetPreviousPercentageRewardToStakedReputersResponse.Fields().ByName("percentage_reward") +} + +var _ protoreflect.Message = (*fastReflection_GetPreviousPercentageRewardToStakedReputersResponse)(nil) + +type fastReflection_GetPreviousPercentageRewardToStakedReputersResponse GetPreviousPercentageRewardToStakedReputersResponse + +func (x *GetPreviousPercentageRewardToStakedReputersResponse) ProtoReflect() protoreflect.Message { + return (*fastReflection_GetPreviousPercentageRewardToStakedReputersResponse)(x) +} + +func (x *GetPreviousPercentageRewardToStakedReputersResponse) slowProtoReflect() protoreflect.Message { + mi := &file_emissions_v8_query_proto_msgTypes[193] + 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) +} + +var _fastReflection_GetPreviousPercentageRewardToStakedReputersResponse_messageType fastReflection_GetPreviousPercentageRewardToStakedReputersResponse_messageType +var _ protoreflect.MessageType = fastReflection_GetPreviousPercentageRewardToStakedReputersResponse_messageType{} + +type fastReflection_GetPreviousPercentageRewardToStakedReputersResponse_messageType struct{} + +func (x fastReflection_GetPreviousPercentageRewardToStakedReputersResponse_messageType) Zero() protoreflect.Message { + return (*fastReflection_GetPreviousPercentageRewardToStakedReputersResponse)(nil) +} +func (x fastReflection_GetPreviousPercentageRewardToStakedReputersResponse_messageType) New() protoreflect.Message { + return new(fastReflection_GetPreviousPercentageRewardToStakedReputersResponse) +} +func (x fastReflection_GetPreviousPercentageRewardToStakedReputersResponse_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_GetPreviousPercentageRewardToStakedReputersResponse +} + +// Descriptor returns message descriptor, which contains only the protobuf +// type information for the message. +func (x *fastReflection_GetPreviousPercentageRewardToStakedReputersResponse) Descriptor() protoreflect.MessageDescriptor { + return md_GetPreviousPercentageRewardToStakedReputersResponse +} + +// Type returns the message type, which encapsulates both Go and protobuf +// type information. If the Go type information is not needed, +// it is recommended that the message descriptor be used instead. +func (x *fastReflection_GetPreviousPercentageRewardToStakedReputersResponse) Type() protoreflect.MessageType { + return _fastReflection_GetPreviousPercentageRewardToStakedReputersResponse_messageType +} + +// New returns a newly allocated and mutable empty message. +func (x *fastReflection_GetPreviousPercentageRewardToStakedReputersResponse) New() protoreflect.Message { + return new(fastReflection_GetPreviousPercentageRewardToStakedReputersResponse) +} + +// Interface unwraps the message reflection interface and +// returns the underlying ProtoMessage interface. +func (x *fastReflection_GetPreviousPercentageRewardToStakedReputersResponse) Interface() protoreflect.ProtoMessage { + return (*GetPreviousPercentageRewardToStakedReputersResponse)(x) +} + +// Range iterates over every populated field in an undefined order, +// calling f for each field descriptor and value encountered. +// Range returns immediately if f returns false. +// While iterating, mutating operations may only be performed +// on the current field descriptor. +func (x *fastReflection_GetPreviousPercentageRewardToStakedReputersResponse) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { + if x.PercentageReward != "" { + value := protoreflect.ValueOfString(x.PercentageReward) + if !f(fd_GetPreviousPercentageRewardToStakedReputersResponse_percentage_reward, value) { + return + } + } +} + +// Has reports whether a field is populated. +// +// Some fields have the property of nullability where it is possible to +// distinguish between the default value of a field and whether the field +// was explicitly populated with the default value. Singular message fields, +// member fields of a oneof, and proto2 scalar fields are nullable. Such +// fields are populated only if explicitly set. +// +// In other cases (aside from the nullable cases above), +// a proto3 scalar field is populated if it contains a non-zero value, and +// a repeated field is populated if it is non-empty. +func (x *fastReflection_GetPreviousPercentageRewardToStakedReputersResponse) Has(fd protoreflect.FieldDescriptor) bool { + switch fd.FullName() { + case "emissions.v8.GetPreviousPercentageRewardToStakedReputersResponse.percentage_reward": + return x.PercentageReward != "" + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetPreviousPercentageRewardToStakedReputersResponse")) + } + panic(fmt.Errorf("message emissions.v8.GetPreviousPercentageRewardToStakedReputersResponse does not contain field %s", fd.FullName())) + } +} + +// Clear clears the field such that a subsequent Has call reports false. +// +// Clearing an extension field clears both the extension type and value +// associated with the given field number. +// +// Clear is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetPreviousPercentageRewardToStakedReputersResponse) Clear(fd protoreflect.FieldDescriptor) { + switch fd.FullName() { + case "emissions.v8.GetPreviousPercentageRewardToStakedReputersResponse.percentage_reward": + x.PercentageReward = "" + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetPreviousPercentageRewardToStakedReputersResponse")) + } + panic(fmt.Errorf("message emissions.v8.GetPreviousPercentageRewardToStakedReputersResponse does not contain field %s", fd.FullName())) + } +} + +// Get retrieves the value for a field. +// +// For unpopulated scalars, it returns the default value, where +// the default value of a bytes scalar is guaranteed to be a copy. +// For unpopulated composite types, it returns an empty, read-only view +// of the value; to obtain a mutable reference, use Mutable. +func (x *fastReflection_GetPreviousPercentageRewardToStakedReputersResponse) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { + switch descriptor.FullName() { + case "emissions.v8.GetPreviousPercentageRewardToStakedReputersResponse.percentage_reward": + value := x.PercentageReward + return protoreflect.ValueOfString(value) + default: + if descriptor.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetPreviousPercentageRewardToStakedReputersResponse")) + } + panic(fmt.Errorf("message emissions.v8.GetPreviousPercentageRewardToStakedReputersResponse does not contain field %s", descriptor.FullName())) + } +} + +// Set stores the value for a field. +// +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType. +// When setting a composite type, it is unspecified whether the stored value +// aliases the source's memory in any way. If the composite value is an +// empty, read-only value, then it panics. +// +// Set is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetPreviousPercentageRewardToStakedReputersResponse) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { + switch fd.FullName() { + case "emissions.v8.GetPreviousPercentageRewardToStakedReputersResponse.percentage_reward": + x.PercentageReward = value.Interface().(string) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetPreviousPercentageRewardToStakedReputersResponse")) + } + panic(fmt.Errorf("message emissions.v8.GetPreviousPercentageRewardToStakedReputersResponse does not contain field %s", fd.FullName())) + } +} + +// Mutable returns a mutable reference to a composite type. +// +// If the field is unpopulated, it may allocate a composite value. +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType +// if not already stored. +// It panics if the field does not contain a composite type. +// +// Mutable is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetPreviousPercentageRewardToStakedReputersResponse) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.GetPreviousPercentageRewardToStakedReputersResponse.percentage_reward": + panic(fmt.Errorf("field percentage_reward of message emissions.v8.GetPreviousPercentageRewardToStakedReputersResponse is not mutable")) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetPreviousPercentageRewardToStakedReputersResponse")) + } + panic(fmt.Errorf("message emissions.v8.GetPreviousPercentageRewardToStakedReputersResponse does not contain field %s", fd.FullName())) + } +} + +// NewField returns a new value that is assignable to the field +// for the given descriptor. For scalars, this returns the default value. +// For lists, maps, and messages, this returns a new, empty, mutable value. +func (x *fastReflection_GetPreviousPercentageRewardToStakedReputersResponse) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.GetPreviousPercentageRewardToStakedReputersResponse.percentage_reward": + return protoreflect.ValueOfString("") + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetPreviousPercentageRewardToStakedReputersResponse")) + } + panic(fmt.Errorf("message emissions.v8.GetPreviousPercentageRewardToStakedReputersResponse does not contain field %s", fd.FullName())) + } +} + +// WhichOneof reports which field within the oneof is populated, +// returning nil if none are populated. +// It panics if the oneof descriptor does not belong to this message. +func (x *fastReflection_GetPreviousPercentageRewardToStakedReputersResponse) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { + switch d.FullName() { + default: + panic(fmt.Errorf("%s is not a oneof field in emissions.v8.GetPreviousPercentageRewardToStakedReputersResponse", d.FullName())) + } + panic("unreachable") +} + +// GetUnknown retrieves the entire list of unknown fields. +// The caller may only mutate the contents of the RawFields +// if the mutated bytes are stored back into the message with SetUnknown. +func (x *fastReflection_GetPreviousPercentageRewardToStakedReputersResponse) GetUnknown() protoreflect.RawFields { + return x.unknownFields +} + +// SetUnknown stores an entire list of unknown fields. +// The raw fields must be syntactically valid according to the wire format. +// An implementation may panic if this is not the case. +// Once stored, the caller must not mutate the content of the RawFields. +// An empty RawFields may be passed to clear the fields. +// +// SetUnknown is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetPreviousPercentageRewardToStakedReputersResponse) SetUnknown(fields protoreflect.RawFields) { + x.unknownFields = fields +} + +// IsValid reports whether the message is valid. +// +// An invalid message is an empty, read-only value. +// +// An invalid message often corresponds to a nil pointer of the concrete +// message type, but the details are implementation dependent. +// Validity is not part of the protobuf data model, and may not +// be preserved in marshaling or other operations. +func (x *fastReflection_GetPreviousPercentageRewardToStakedReputersResponse) IsValid() bool { + return x != nil +} + +// ProtoMethods returns optional fastReflectionFeature-path implementations of various operations. +// This method may return nil. +// +// The returned methods type is identical to +// "google.golang.org/protobuf/runtime/protoiface".Methods. +// Consult the protoiface package documentation for details. +func (x *fastReflection_GetPreviousPercentageRewardToStakedReputersResponse) ProtoMethods() *protoiface.Methods { + size := func(input protoiface.SizeInput) protoiface.SizeOutput { + x := input.Message.Interface().(*GetPreviousPercentageRewardToStakedReputersResponse) + if x == nil { + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: 0, + } + } + options := runtime.SizeInputToOptions(input) + _ = options + var n int + var l int + _ = l + l = len(x.PercentageReward) + if l > 0 { + n += 1 + l + runtime.Sov(uint64(l)) + } + if x.unknownFields != nil { + n += len(x.unknownFields) + } + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: n, + } + } + + marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { + x := input.Message.Interface().(*GetPreviousPercentageRewardToStakedReputersResponse) + if x == nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + options := runtime.MarshalInputToOptions(input) + _ = options + size := options.Size(x) + dAtA := make([]byte, size) + i := len(dAtA) + _ = i + var l int + _ = l + if x.unknownFields != nil { + i -= len(x.unknownFields) + copy(dAtA[i:], x.unknownFields) + } + if len(x.PercentageReward) > 0 { + i -= len(x.PercentageReward) + copy(dAtA[i:], x.PercentageReward) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.PercentageReward))) + i-- + dAtA[i] = 0xa + } + if input.Buf != nil { + input.Buf = append(input.Buf, dAtA...) + } else { + input.Buf = dAtA + } + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { + x := input.Message.Interface().(*GetPreviousPercentageRewardToStakedReputersResponse) + if x == nil { + return protoiface.UnmarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Flags: input.Flags, + }, nil + } + options := runtime.UnmarshalInputToOptions(input) + _ = options + dAtA := input.Buf + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: GetPreviousPercentageRewardToStakedReputersResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: GetPreviousPercentageRewardToStakedReputersResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field PercentageReward", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + x.PercentageReward = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := runtime.Skip(dAtA[iNdEx:]) + if err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if (iNdEx + skippy) > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + if !options.DiscardUnknown { + x.unknownFields = append(x.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + } + iNdEx += skippy + } + } + + if iNdEx > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, nil + } + return &protoiface.Methods{ + NoUnkeyedLiterals: struct{}{}, + Flags: protoiface.SupportMarshalDeterministic | protoiface.SupportUnmarshalDiscardUnknown, + Size: size, + Marshal: marshal, + Unmarshal: unmarshal, + Merge: nil, + CheckInitialized: nil, + } +} + +var ( + md_GetTotalRewardToDistributeRequest protoreflect.MessageDescriptor +) + +func init() { + file_emissions_v8_query_proto_init() + md_GetTotalRewardToDistributeRequest = File_emissions_v8_query_proto.Messages().ByName("GetTotalRewardToDistributeRequest") +} + +var _ protoreflect.Message = (*fastReflection_GetTotalRewardToDistributeRequest)(nil) + +type fastReflection_GetTotalRewardToDistributeRequest GetTotalRewardToDistributeRequest + +func (x *GetTotalRewardToDistributeRequest) ProtoReflect() protoreflect.Message { + return (*fastReflection_GetTotalRewardToDistributeRequest)(x) +} + +func (x *GetTotalRewardToDistributeRequest) slowProtoReflect() protoreflect.Message { + mi := &file_emissions_v8_query_proto_msgTypes[194] + 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) +} + +var _fastReflection_GetTotalRewardToDistributeRequest_messageType fastReflection_GetTotalRewardToDistributeRequest_messageType +var _ protoreflect.MessageType = fastReflection_GetTotalRewardToDistributeRequest_messageType{} + +type fastReflection_GetTotalRewardToDistributeRequest_messageType struct{} + +func (x fastReflection_GetTotalRewardToDistributeRequest_messageType) Zero() protoreflect.Message { + return (*fastReflection_GetTotalRewardToDistributeRequest)(nil) +} +func (x fastReflection_GetTotalRewardToDistributeRequest_messageType) New() protoreflect.Message { + return new(fastReflection_GetTotalRewardToDistributeRequest) +} +func (x fastReflection_GetTotalRewardToDistributeRequest_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_GetTotalRewardToDistributeRequest +} + +// Descriptor returns message descriptor, which contains only the protobuf +// type information for the message. +func (x *fastReflection_GetTotalRewardToDistributeRequest) Descriptor() protoreflect.MessageDescriptor { + return md_GetTotalRewardToDistributeRequest +} + +// Type returns the message type, which encapsulates both Go and protobuf +// type information. If the Go type information is not needed, +// it is recommended that the message descriptor be used instead. +func (x *fastReflection_GetTotalRewardToDistributeRequest) Type() protoreflect.MessageType { + return _fastReflection_GetTotalRewardToDistributeRequest_messageType +} + +// New returns a newly allocated and mutable empty message. +func (x *fastReflection_GetTotalRewardToDistributeRequest) New() protoreflect.Message { + return new(fastReflection_GetTotalRewardToDistributeRequest) +} + +// Interface unwraps the message reflection interface and +// returns the underlying ProtoMessage interface. +func (x *fastReflection_GetTotalRewardToDistributeRequest) Interface() protoreflect.ProtoMessage { + return (*GetTotalRewardToDistributeRequest)(x) +} + +// Range iterates over every populated field in an undefined order, +// calling f for each field descriptor and value encountered. +// Range returns immediately if f returns false. +// While iterating, mutating operations may only be performed +// on the current field descriptor. +func (x *fastReflection_GetTotalRewardToDistributeRequest) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { +} + +// Has reports whether a field is populated. +// +// Some fields have the property of nullability where it is possible to +// distinguish between the default value of a field and whether the field +// was explicitly populated with the default value. Singular message fields, +// member fields of a oneof, and proto2 scalar fields are nullable. Such +// fields are populated only if explicitly set. +// +// In other cases (aside from the nullable cases above), +// a proto3 scalar field is populated if it contains a non-zero value, and +// a repeated field is populated if it is non-empty. +func (x *fastReflection_GetTotalRewardToDistributeRequest) Has(fd protoreflect.FieldDescriptor) bool { + switch fd.FullName() { + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetTotalRewardToDistributeRequest")) + } + panic(fmt.Errorf("message emissions.v8.GetTotalRewardToDistributeRequest does not contain field %s", fd.FullName())) + } +} + +// Clear clears the field such that a subsequent Has call reports false. +// +// Clearing an extension field clears both the extension type and value +// associated with the given field number. +// +// Clear is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetTotalRewardToDistributeRequest) Clear(fd protoreflect.FieldDescriptor) { + switch fd.FullName() { + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetTotalRewardToDistributeRequest")) + } + panic(fmt.Errorf("message emissions.v8.GetTotalRewardToDistributeRequest does not contain field %s", fd.FullName())) + } +} + +// Get retrieves the value for a field. +// +// For unpopulated scalars, it returns the default value, where +// the default value of a bytes scalar is guaranteed to be a copy. +// For unpopulated composite types, it returns an empty, read-only view +// of the value; to obtain a mutable reference, use Mutable. +func (x *fastReflection_GetTotalRewardToDistributeRequest) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { + switch descriptor.FullName() { + default: + if descriptor.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetTotalRewardToDistributeRequest")) + } + panic(fmt.Errorf("message emissions.v8.GetTotalRewardToDistributeRequest does not contain field %s", descriptor.FullName())) + } +} + +// Set stores the value for a field. +// +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType. +// When setting a composite type, it is unspecified whether the stored value +// aliases the source's memory in any way. If the composite value is an +// empty, read-only value, then it panics. +// +// Set is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetTotalRewardToDistributeRequest) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { + switch fd.FullName() { + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetTotalRewardToDistributeRequest")) + } + panic(fmt.Errorf("message emissions.v8.GetTotalRewardToDistributeRequest does not contain field %s", fd.FullName())) + } +} + +// Mutable returns a mutable reference to a composite type. +// +// If the field is unpopulated, it may allocate a composite value. +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType +// if not already stored. +// It panics if the field does not contain a composite type. +// +// Mutable is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetTotalRewardToDistributeRequest) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetTotalRewardToDistributeRequest")) + } + panic(fmt.Errorf("message emissions.v8.GetTotalRewardToDistributeRequest does not contain field %s", fd.FullName())) + } +} + +// NewField returns a new value that is assignable to the field +// for the given descriptor. For scalars, this returns the default value. +// For lists, maps, and messages, this returns a new, empty, mutable value. +func (x *fastReflection_GetTotalRewardToDistributeRequest) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetTotalRewardToDistributeRequest")) + } + panic(fmt.Errorf("message emissions.v8.GetTotalRewardToDistributeRequest does not contain field %s", fd.FullName())) + } +} + +// WhichOneof reports which field within the oneof is populated, +// returning nil if none are populated. +// It panics if the oneof descriptor does not belong to this message. +func (x *fastReflection_GetTotalRewardToDistributeRequest) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { + switch d.FullName() { + default: + panic(fmt.Errorf("%s is not a oneof field in emissions.v8.GetTotalRewardToDistributeRequest", d.FullName())) + } + panic("unreachable") +} + +// GetUnknown retrieves the entire list of unknown fields. +// The caller may only mutate the contents of the RawFields +// if the mutated bytes are stored back into the message with SetUnknown. +func (x *fastReflection_GetTotalRewardToDistributeRequest) GetUnknown() protoreflect.RawFields { + return x.unknownFields +} + +// SetUnknown stores an entire list of unknown fields. +// The raw fields must be syntactically valid according to the wire format. +// An implementation may panic if this is not the case. +// Once stored, the caller must not mutate the content of the RawFields. +// An empty RawFields may be passed to clear the fields. +// +// SetUnknown is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetTotalRewardToDistributeRequest) SetUnknown(fields protoreflect.RawFields) { + x.unknownFields = fields +} + +// IsValid reports whether the message is valid. +// +// An invalid message is an empty, read-only value. +// +// An invalid message often corresponds to a nil pointer of the concrete +// message type, but the details are implementation dependent. +// Validity is not part of the protobuf data model, and may not +// be preserved in marshaling or other operations. +func (x *fastReflection_GetTotalRewardToDistributeRequest) IsValid() bool { + return x != nil +} + +// ProtoMethods returns optional fastReflectionFeature-path implementations of various operations. +// This method may return nil. +// +// The returned methods type is identical to +// "google.golang.org/protobuf/runtime/protoiface".Methods. +// Consult the protoiface package documentation for details. +func (x *fastReflection_GetTotalRewardToDistributeRequest) ProtoMethods() *protoiface.Methods { + size := func(input protoiface.SizeInput) protoiface.SizeOutput { + x := input.Message.Interface().(*GetTotalRewardToDistributeRequest) + if x == nil { + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: 0, + } + } + options := runtime.SizeInputToOptions(input) + _ = options + var n int + var l int + _ = l + if x.unknownFields != nil { + n += len(x.unknownFields) + } + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: n, + } + } + + marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { + x := input.Message.Interface().(*GetTotalRewardToDistributeRequest) + if x == nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + options := runtime.MarshalInputToOptions(input) + _ = options + size := options.Size(x) + dAtA := make([]byte, size) + i := len(dAtA) + _ = i + var l int + _ = l + if x.unknownFields != nil { + i -= len(x.unknownFields) + copy(dAtA[i:], x.unknownFields) + } + if input.Buf != nil { + input.Buf = append(input.Buf, dAtA...) + } else { + input.Buf = dAtA + } + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { + x := input.Message.Interface().(*GetTotalRewardToDistributeRequest) + if x == nil { + return protoiface.UnmarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Flags: input.Flags, + }, nil + } + options := runtime.UnmarshalInputToOptions(input) + _ = options + dAtA := input.Buf + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: GetTotalRewardToDistributeRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: GetTotalRewardToDistributeRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + default: + iNdEx = preIndex + skippy, err := runtime.Skip(dAtA[iNdEx:]) + if err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if (iNdEx + skippy) > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + if !options.DiscardUnknown { + x.unknownFields = append(x.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + } + iNdEx += skippy + } + } + + if iNdEx > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, nil + } + return &protoiface.Methods{ + NoUnkeyedLiterals: struct{}{}, + Flags: protoiface.SupportMarshalDeterministic | protoiface.SupportUnmarshalDiscardUnknown, + Size: size, + Marshal: marshal, + Unmarshal: unmarshal, + Merge: nil, + CheckInitialized: nil, + } +} + +var ( + md_GetTotalRewardToDistributeResponse protoreflect.MessageDescriptor + fd_GetTotalRewardToDistributeResponse_total_reward protoreflect.FieldDescriptor +) + +func init() { + file_emissions_v8_query_proto_init() + md_GetTotalRewardToDistributeResponse = File_emissions_v8_query_proto.Messages().ByName("GetTotalRewardToDistributeResponse") + fd_GetTotalRewardToDistributeResponse_total_reward = md_GetTotalRewardToDistributeResponse.Fields().ByName("total_reward") +} + +var _ protoreflect.Message = (*fastReflection_GetTotalRewardToDistributeResponse)(nil) + +type fastReflection_GetTotalRewardToDistributeResponse GetTotalRewardToDistributeResponse + +func (x *GetTotalRewardToDistributeResponse) ProtoReflect() protoreflect.Message { + return (*fastReflection_GetTotalRewardToDistributeResponse)(x) +} + +func (x *GetTotalRewardToDistributeResponse) slowProtoReflect() protoreflect.Message { + mi := &file_emissions_v8_query_proto_msgTypes[195] + 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) +} + +var _fastReflection_GetTotalRewardToDistributeResponse_messageType fastReflection_GetTotalRewardToDistributeResponse_messageType +var _ protoreflect.MessageType = fastReflection_GetTotalRewardToDistributeResponse_messageType{} + +type fastReflection_GetTotalRewardToDistributeResponse_messageType struct{} + +func (x fastReflection_GetTotalRewardToDistributeResponse_messageType) Zero() protoreflect.Message { + return (*fastReflection_GetTotalRewardToDistributeResponse)(nil) +} +func (x fastReflection_GetTotalRewardToDistributeResponse_messageType) New() protoreflect.Message { + return new(fastReflection_GetTotalRewardToDistributeResponse) +} +func (x fastReflection_GetTotalRewardToDistributeResponse_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_GetTotalRewardToDistributeResponse +} + +// Descriptor returns message descriptor, which contains only the protobuf +// type information for the message. +func (x *fastReflection_GetTotalRewardToDistributeResponse) Descriptor() protoreflect.MessageDescriptor { + return md_GetTotalRewardToDistributeResponse +} + +// Type returns the message type, which encapsulates both Go and protobuf +// type information. If the Go type information is not needed, +// it is recommended that the message descriptor be used instead. +func (x *fastReflection_GetTotalRewardToDistributeResponse) Type() protoreflect.MessageType { + return _fastReflection_GetTotalRewardToDistributeResponse_messageType +} + +// New returns a newly allocated and mutable empty message. +func (x *fastReflection_GetTotalRewardToDistributeResponse) New() protoreflect.Message { + return new(fastReflection_GetTotalRewardToDistributeResponse) +} + +// Interface unwraps the message reflection interface and +// returns the underlying ProtoMessage interface. +func (x *fastReflection_GetTotalRewardToDistributeResponse) Interface() protoreflect.ProtoMessage { + return (*GetTotalRewardToDistributeResponse)(x) +} + +// Range iterates over every populated field in an undefined order, +// calling f for each field descriptor and value encountered. +// Range returns immediately if f returns false. +// While iterating, mutating operations may only be performed +// on the current field descriptor. +func (x *fastReflection_GetTotalRewardToDistributeResponse) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { + if x.TotalReward != "" { + value := protoreflect.ValueOfString(x.TotalReward) + if !f(fd_GetTotalRewardToDistributeResponse_total_reward, value) { + return + } + } +} + +// Has reports whether a field is populated. +// +// Some fields have the property of nullability where it is possible to +// distinguish between the default value of a field and whether the field +// was explicitly populated with the default value. Singular message fields, +// member fields of a oneof, and proto2 scalar fields are nullable. Such +// fields are populated only if explicitly set. +// +// In other cases (aside from the nullable cases above), +// a proto3 scalar field is populated if it contains a non-zero value, and +// a repeated field is populated if it is non-empty. +func (x *fastReflection_GetTotalRewardToDistributeResponse) Has(fd protoreflect.FieldDescriptor) bool { + switch fd.FullName() { + case "emissions.v8.GetTotalRewardToDistributeResponse.total_reward": + return x.TotalReward != "" + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetTotalRewardToDistributeResponse")) + } + panic(fmt.Errorf("message emissions.v8.GetTotalRewardToDistributeResponse does not contain field %s", fd.FullName())) + } +} + +// Clear clears the field such that a subsequent Has call reports false. +// +// Clearing an extension field clears both the extension type and value +// associated with the given field number. +// +// Clear is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetTotalRewardToDistributeResponse) Clear(fd protoreflect.FieldDescriptor) { + switch fd.FullName() { + case "emissions.v8.GetTotalRewardToDistributeResponse.total_reward": + x.TotalReward = "" + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetTotalRewardToDistributeResponse")) + } + panic(fmt.Errorf("message emissions.v8.GetTotalRewardToDistributeResponse does not contain field %s", fd.FullName())) + } +} + +// Get retrieves the value for a field. +// +// For unpopulated scalars, it returns the default value, where +// the default value of a bytes scalar is guaranteed to be a copy. +// For unpopulated composite types, it returns an empty, read-only view +// of the value; to obtain a mutable reference, use Mutable. +func (x *fastReflection_GetTotalRewardToDistributeResponse) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { + switch descriptor.FullName() { + case "emissions.v8.GetTotalRewardToDistributeResponse.total_reward": + value := x.TotalReward + return protoreflect.ValueOfString(value) + default: + if descriptor.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetTotalRewardToDistributeResponse")) + } + panic(fmt.Errorf("message emissions.v8.GetTotalRewardToDistributeResponse does not contain field %s", descriptor.FullName())) + } +} + +// Set stores the value for a field. +// +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType. +// When setting a composite type, it is unspecified whether the stored value +// aliases the source's memory in any way. If the composite value is an +// empty, read-only value, then it panics. +// +// Set is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetTotalRewardToDistributeResponse) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { + switch fd.FullName() { + case "emissions.v8.GetTotalRewardToDistributeResponse.total_reward": + x.TotalReward = value.Interface().(string) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetTotalRewardToDistributeResponse")) + } + panic(fmt.Errorf("message emissions.v8.GetTotalRewardToDistributeResponse does not contain field %s", fd.FullName())) + } +} + +// Mutable returns a mutable reference to a composite type. +// +// If the field is unpopulated, it may allocate a composite value. +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType +// if not already stored. +// It panics if the field does not contain a composite type. +// +// Mutable is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetTotalRewardToDistributeResponse) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.GetTotalRewardToDistributeResponse.total_reward": + panic(fmt.Errorf("field total_reward of message emissions.v8.GetTotalRewardToDistributeResponse is not mutable")) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetTotalRewardToDistributeResponse")) + } + panic(fmt.Errorf("message emissions.v8.GetTotalRewardToDistributeResponse does not contain field %s", fd.FullName())) + } +} + +// NewField returns a new value that is assignable to the field +// for the given descriptor. For scalars, this returns the default value. +// For lists, maps, and messages, this returns a new, empty, mutable value. +func (x *fastReflection_GetTotalRewardToDistributeResponse) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.GetTotalRewardToDistributeResponse.total_reward": + return protoreflect.ValueOfString("") + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetTotalRewardToDistributeResponse")) + } + panic(fmt.Errorf("message emissions.v8.GetTotalRewardToDistributeResponse does not contain field %s", fd.FullName())) + } +} + +// WhichOneof reports which field within the oneof is populated, +// returning nil if none are populated. +// It panics if the oneof descriptor does not belong to this message. +func (x *fastReflection_GetTotalRewardToDistributeResponse) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { + switch d.FullName() { + default: + panic(fmt.Errorf("%s is not a oneof field in emissions.v8.GetTotalRewardToDistributeResponse", d.FullName())) + } + panic("unreachable") +} + +// GetUnknown retrieves the entire list of unknown fields. +// The caller may only mutate the contents of the RawFields +// if the mutated bytes are stored back into the message with SetUnknown. +func (x *fastReflection_GetTotalRewardToDistributeResponse) GetUnknown() protoreflect.RawFields { + return x.unknownFields +} + +// SetUnknown stores an entire list of unknown fields. +// The raw fields must be syntactically valid according to the wire format. +// An implementation may panic if this is not the case. +// Once stored, the caller must not mutate the content of the RawFields. +// An empty RawFields may be passed to clear the fields. +// +// SetUnknown is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetTotalRewardToDistributeResponse) SetUnknown(fields protoreflect.RawFields) { + x.unknownFields = fields +} + +// IsValid reports whether the message is valid. +// +// An invalid message is an empty, read-only value. +// +// An invalid message often corresponds to a nil pointer of the concrete +// message type, but the details are implementation dependent. +// Validity is not part of the protobuf data model, and may not +// be preserved in marshaling or other operations. +func (x *fastReflection_GetTotalRewardToDistributeResponse) IsValid() bool { + return x != nil +} + +// ProtoMethods returns optional fastReflectionFeature-path implementations of various operations. +// This method may return nil. +// +// The returned methods type is identical to +// "google.golang.org/protobuf/runtime/protoiface".Methods. +// Consult the protoiface package documentation for details. +func (x *fastReflection_GetTotalRewardToDistributeResponse) ProtoMethods() *protoiface.Methods { + size := func(input protoiface.SizeInput) protoiface.SizeOutput { + x := input.Message.Interface().(*GetTotalRewardToDistributeResponse) + if x == nil { + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: 0, + } + } + options := runtime.SizeInputToOptions(input) + _ = options + var n int + var l int + _ = l + l = len(x.TotalReward) + if l > 0 { + n += 1 + l + runtime.Sov(uint64(l)) + } + if x.unknownFields != nil { + n += len(x.unknownFields) + } + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: n, + } + } + + marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { + x := input.Message.Interface().(*GetTotalRewardToDistributeResponse) + if x == nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + options := runtime.MarshalInputToOptions(input) + _ = options + size := options.Size(x) + dAtA := make([]byte, size) + i := len(dAtA) + _ = i + var l int + _ = l + if x.unknownFields != nil { + i -= len(x.unknownFields) + copy(dAtA[i:], x.unknownFields) + } + if len(x.TotalReward) > 0 { + i -= len(x.TotalReward) + copy(dAtA[i:], x.TotalReward) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.TotalReward))) + i-- + dAtA[i] = 0xa + } + if input.Buf != nil { + input.Buf = append(input.Buf, dAtA...) + } else { + input.Buf = dAtA + } + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { + x := input.Message.Interface().(*GetTotalRewardToDistributeResponse) + if x == nil { + return protoiface.UnmarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Flags: input.Flags, + }, nil + } + options := runtime.UnmarshalInputToOptions(input) + _ = options + dAtA := input.Buf + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: GetTotalRewardToDistributeResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: GetTotalRewardToDistributeResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field TotalReward", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + x.TotalReward = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := runtime.Skip(dAtA[iNdEx:]) + if err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if (iNdEx + skippy) > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + if !options.DiscardUnknown { + x.unknownFields = append(x.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + } + iNdEx += skippy + } + } + + if iNdEx > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, nil + } + return &protoiface.Methods{ + NoUnkeyedLiterals: struct{}{}, + Flags: protoiface.SupportMarshalDeterministic | protoiface.SupportUnmarshalDiscardUnknown, + Size: size, + Marshal: marshal, + Unmarshal: unmarshal, + Merge: nil, + CheckInitialized: nil, + } +} + +var ( + md_GetActiveTopicsAtBlockRequest protoreflect.MessageDescriptor + fd_GetActiveTopicsAtBlockRequest_block_height protoreflect.FieldDescriptor +) + +func init() { + file_emissions_v8_query_proto_init() + md_GetActiveTopicsAtBlockRequest = File_emissions_v8_query_proto.Messages().ByName("GetActiveTopicsAtBlockRequest") + fd_GetActiveTopicsAtBlockRequest_block_height = md_GetActiveTopicsAtBlockRequest.Fields().ByName("block_height") +} + +var _ protoreflect.Message = (*fastReflection_GetActiveTopicsAtBlockRequest)(nil) + +type fastReflection_GetActiveTopicsAtBlockRequest GetActiveTopicsAtBlockRequest + +func (x *GetActiveTopicsAtBlockRequest) ProtoReflect() protoreflect.Message { + return (*fastReflection_GetActiveTopicsAtBlockRequest)(x) +} + +func (x *GetActiveTopicsAtBlockRequest) slowProtoReflect() protoreflect.Message { + mi := &file_emissions_v8_query_proto_msgTypes[196] + 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) +} + +var _fastReflection_GetActiveTopicsAtBlockRequest_messageType fastReflection_GetActiveTopicsAtBlockRequest_messageType +var _ protoreflect.MessageType = fastReflection_GetActiveTopicsAtBlockRequest_messageType{} + +type fastReflection_GetActiveTopicsAtBlockRequest_messageType struct{} + +func (x fastReflection_GetActiveTopicsAtBlockRequest_messageType) Zero() protoreflect.Message { + return (*fastReflection_GetActiveTopicsAtBlockRequest)(nil) +} +func (x fastReflection_GetActiveTopicsAtBlockRequest_messageType) New() protoreflect.Message { + return new(fastReflection_GetActiveTopicsAtBlockRequest) +} +func (x fastReflection_GetActiveTopicsAtBlockRequest_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_GetActiveTopicsAtBlockRequest +} + +// Descriptor returns message descriptor, which contains only the protobuf +// type information for the message. +func (x *fastReflection_GetActiveTopicsAtBlockRequest) Descriptor() protoreflect.MessageDescriptor { + return md_GetActiveTopicsAtBlockRequest +} + +// Type returns the message type, which encapsulates both Go and protobuf +// type information. If the Go type information is not needed, +// it is recommended that the message descriptor be used instead. +func (x *fastReflection_GetActiveTopicsAtBlockRequest) Type() protoreflect.MessageType { + return _fastReflection_GetActiveTopicsAtBlockRequest_messageType +} + +// New returns a newly allocated and mutable empty message. +func (x *fastReflection_GetActiveTopicsAtBlockRequest) New() protoreflect.Message { + return new(fastReflection_GetActiveTopicsAtBlockRequest) +} + +// Interface unwraps the message reflection interface and +// returns the underlying ProtoMessage interface. +func (x *fastReflection_GetActiveTopicsAtBlockRequest) Interface() protoreflect.ProtoMessage { + return (*GetActiveTopicsAtBlockRequest)(x) +} + +// Range iterates over every populated field in an undefined order, +// calling f for each field descriptor and value encountered. +// Range returns immediately if f returns false. +// While iterating, mutating operations may only be performed +// on the current field descriptor. +func (x *fastReflection_GetActiveTopicsAtBlockRequest) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { + if x.BlockHeight != int64(0) { + value := protoreflect.ValueOfInt64(x.BlockHeight) + if !f(fd_GetActiveTopicsAtBlockRequest_block_height, value) { + return + } + } +} + +// Has reports whether a field is populated. +// +// Some fields have the property of nullability where it is possible to +// distinguish between the default value of a field and whether the field +// was explicitly populated with the default value. Singular message fields, +// member fields of a oneof, and proto2 scalar fields are nullable. Such +// fields are populated only if explicitly set. +// +// In other cases (aside from the nullable cases above), +// a proto3 scalar field is populated if it contains a non-zero value, and +// a repeated field is populated if it is non-empty. +func (x *fastReflection_GetActiveTopicsAtBlockRequest) Has(fd protoreflect.FieldDescriptor) bool { + switch fd.FullName() { + case "emissions.v8.GetActiveTopicsAtBlockRequest.block_height": + return x.BlockHeight != int64(0) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetActiveTopicsAtBlockRequest")) + } + panic(fmt.Errorf("message emissions.v8.GetActiveTopicsAtBlockRequest does not contain field %s", fd.FullName())) + } +} + +// Clear clears the field such that a subsequent Has call reports false. +// +// Clearing an extension field clears both the extension type and value +// associated with the given field number. +// +// Clear is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetActiveTopicsAtBlockRequest) Clear(fd protoreflect.FieldDescriptor) { + switch fd.FullName() { + case "emissions.v8.GetActiveTopicsAtBlockRequest.block_height": + x.BlockHeight = int64(0) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetActiveTopicsAtBlockRequest")) + } + panic(fmt.Errorf("message emissions.v8.GetActiveTopicsAtBlockRequest does not contain field %s", fd.FullName())) + } +} + +// Get retrieves the value for a field. +// +// For unpopulated scalars, it returns the default value, where +// the default value of a bytes scalar is guaranteed to be a copy. +// For unpopulated composite types, it returns an empty, read-only view +// of the value; to obtain a mutable reference, use Mutable. +func (x *fastReflection_GetActiveTopicsAtBlockRequest) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { + switch descriptor.FullName() { + case "emissions.v8.GetActiveTopicsAtBlockRequest.block_height": + value := x.BlockHeight + return protoreflect.ValueOfInt64(value) + default: + if descriptor.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetActiveTopicsAtBlockRequest")) + } + panic(fmt.Errorf("message emissions.v8.GetActiveTopicsAtBlockRequest does not contain field %s", descriptor.FullName())) + } +} + +// Set stores the value for a field. +// +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType. +// When setting a composite type, it is unspecified whether the stored value +// aliases the source's memory in any way. If the composite value is an +// empty, read-only value, then it panics. +// +// Set is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetActiveTopicsAtBlockRequest) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { + switch fd.FullName() { + case "emissions.v8.GetActiveTopicsAtBlockRequest.block_height": + x.BlockHeight = value.Int() + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetActiveTopicsAtBlockRequest")) + } + panic(fmt.Errorf("message emissions.v8.GetActiveTopicsAtBlockRequest does not contain field %s", fd.FullName())) + } +} + +// Mutable returns a mutable reference to a composite type. +// +// If the field is unpopulated, it may allocate a composite value. +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType +// if not already stored. +// It panics if the field does not contain a composite type. +// +// Mutable is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetActiveTopicsAtBlockRequest) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.GetActiveTopicsAtBlockRequest.block_height": + panic(fmt.Errorf("field block_height of message emissions.v8.GetActiveTopicsAtBlockRequest is not mutable")) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetActiveTopicsAtBlockRequest")) + } + panic(fmt.Errorf("message emissions.v8.GetActiveTopicsAtBlockRequest does not contain field %s", fd.FullName())) + } +} + +// NewField returns a new value that is assignable to the field +// for the given descriptor. For scalars, this returns the default value. +// For lists, maps, and messages, this returns a new, empty, mutable value. +func (x *fastReflection_GetActiveTopicsAtBlockRequest) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.GetActiveTopicsAtBlockRequest.block_height": + return protoreflect.ValueOfInt64(int64(0)) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetActiveTopicsAtBlockRequest")) + } + panic(fmt.Errorf("message emissions.v8.GetActiveTopicsAtBlockRequest does not contain field %s", fd.FullName())) + } +} + +// WhichOneof reports which field within the oneof is populated, +// returning nil if none are populated. +// It panics if the oneof descriptor does not belong to this message. +func (x *fastReflection_GetActiveTopicsAtBlockRequest) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { + switch d.FullName() { + default: + panic(fmt.Errorf("%s is not a oneof field in emissions.v8.GetActiveTopicsAtBlockRequest", d.FullName())) + } + panic("unreachable") +} + +// GetUnknown retrieves the entire list of unknown fields. +// The caller may only mutate the contents of the RawFields +// if the mutated bytes are stored back into the message with SetUnknown. +func (x *fastReflection_GetActiveTopicsAtBlockRequest) GetUnknown() protoreflect.RawFields { + return x.unknownFields +} + +// SetUnknown stores an entire list of unknown fields. +// The raw fields must be syntactically valid according to the wire format. +// An implementation may panic if this is not the case. +// Once stored, the caller must not mutate the content of the RawFields. +// An empty RawFields may be passed to clear the fields. +// +// SetUnknown is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetActiveTopicsAtBlockRequest) SetUnknown(fields protoreflect.RawFields) { + x.unknownFields = fields +} + +// IsValid reports whether the message is valid. +// +// An invalid message is an empty, read-only value. +// +// An invalid message often corresponds to a nil pointer of the concrete +// message type, but the details are implementation dependent. +// Validity is not part of the protobuf data model, and may not +// be preserved in marshaling or other operations. +func (x *fastReflection_GetActiveTopicsAtBlockRequest) IsValid() bool { + return x != nil +} + +// ProtoMethods returns optional fastReflectionFeature-path implementations of various operations. +// This method may return nil. +// +// The returned methods type is identical to +// "google.golang.org/protobuf/runtime/protoiface".Methods. +// Consult the protoiface package documentation for details. +func (x *fastReflection_GetActiveTopicsAtBlockRequest) ProtoMethods() *protoiface.Methods { + size := func(input protoiface.SizeInput) protoiface.SizeOutput { + x := input.Message.Interface().(*GetActiveTopicsAtBlockRequest) + if x == nil { + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: 0, + } + } + options := runtime.SizeInputToOptions(input) + _ = options + var n int + var l int + _ = l + if x.BlockHeight != 0 { + n += 1 + runtime.Sov(uint64(x.BlockHeight)) + } + if x.unknownFields != nil { + n += len(x.unknownFields) + } + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: n, + } + } + + marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { + x := input.Message.Interface().(*GetActiveTopicsAtBlockRequest) + if x == nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + options := runtime.MarshalInputToOptions(input) + _ = options + size := options.Size(x) + dAtA := make([]byte, size) + i := len(dAtA) + _ = i + var l int + _ = l + if x.unknownFields != nil { + i -= len(x.unknownFields) + copy(dAtA[i:], x.unknownFields) + } + if x.BlockHeight != 0 { + i = runtime.EncodeVarint(dAtA, i, uint64(x.BlockHeight)) + i-- + dAtA[i] = 0x8 + } + if input.Buf != nil { + input.Buf = append(input.Buf, dAtA...) + } else { + input.Buf = dAtA + } + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { + x := input.Message.Interface().(*GetActiveTopicsAtBlockRequest) + if x == nil { + return protoiface.UnmarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Flags: input.Flags, + }, nil + } + options := runtime.UnmarshalInputToOptions(input) + _ = options + dAtA := input.Buf + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: GetActiveTopicsAtBlockRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: GetActiveTopicsAtBlockRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field BlockHeight", wireType) + } + x.BlockHeight = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + x.BlockHeight |= int64(b&0x7F) << shift + if b < 0x80 { + break + } + } + default: + iNdEx = preIndex + skippy, err := runtime.Skip(dAtA[iNdEx:]) + if err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if (iNdEx + skippy) > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + if !options.DiscardUnknown { + x.unknownFields = append(x.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + } + iNdEx += skippy + } + } + + if iNdEx > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, nil + } + return &protoiface.Methods{ + NoUnkeyedLiterals: struct{}{}, + Flags: protoiface.SupportMarshalDeterministic | protoiface.SupportUnmarshalDiscardUnknown, + Size: size, + Marshal: marshal, + Unmarshal: unmarshal, + Merge: nil, + CheckInitialized: nil, + } +} + +var _ protoreflect.List = (*_GetActiveTopicsAtBlockResponse_1_list)(nil) + +type _GetActiveTopicsAtBlockResponse_1_list struct { + list *[]*v3.Topic +} + +func (x *_GetActiveTopicsAtBlockResponse_1_list) Len() int { + if x.list == nil { + return 0 + } + return len(*x.list) +} + +func (x *_GetActiveTopicsAtBlockResponse_1_list) Get(i int) protoreflect.Value { + return protoreflect.ValueOfMessage((*x.list)[i].ProtoReflect()) +} + +func (x *_GetActiveTopicsAtBlockResponse_1_list) Set(i int, value protoreflect.Value) { + valueUnwrapped := value.Message() + concreteValue := valueUnwrapped.Interface().(*v3.Topic) + (*x.list)[i] = concreteValue +} + +func (x *_GetActiveTopicsAtBlockResponse_1_list) Append(value protoreflect.Value) { + valueUnwrapped := value.Message() + concreteValue := valueUnwrapped.Interface().(*v3.Topic) + *x.list = append(*x.list, concreteValue) +} + +func (x *_GetActiveTopicsAtBlockResponse_1_list) AppendMutable() protoreflect.Value { + v := new(v3.Topic) + *x.list = append(*x.list, v) + return protoreflect.ValueOfMessage(v.ProtoReflect()) +} + +func (x *_GetActiveTopicsAtBlockResponse_1_list) Truncate(n int) { + for i := n; i < len(*x.list); i++ { + (*x.list)[i] = nil + } + *x.list = (*x.list)[:n] +} + +func (x *_GetActiveTopicsAtBlockResponse_1_list) NewElement() protoreflect.Value { + v := new(v3.Topic) + return protoreflect.ValueOfMessage(v.ProtoReflect()) +} + +func (x *_GetActiveTopicsAtBlockResponse_1_list) IsValid() bool { + return x.list != nil +} + +var ( + md_GetActiveTopicsAtBlockResponse protoreflect.MessageDescriptor + fd_GetActiveTopicsAtBlockResponse_topics protoreflect.FieldDescriptor + fd_GetActiveTopicsAtBlockResponse_pagination protoreflect.FieldDescriptor +) + +func init() { + file_emissions_v8_query_proto_init() + md_GetActiveTopicsAtBlockResponse = File_emissions_v8_query_proto.Messages().ByName("GetActiveTopicsAtBlockResponse") + fd_GetActiveTopicsAtBlockResponse_topics = md_GetActiveTopicsAtBlockResponse.Fields().ByName("topics") + fd_GetActiveTopicsAtBlockResponse_pagination = md_GetActiveTopicsAtBlockResponse.Fields().ByName("pagination") +} + +var _ protoreflect.Message = (*fastReflection_GetActiveTopicsAtBlockResponse)(nil) + +type fastReflection_GetActiveTopicsAtBlockResponse GetActiveTopicsAtBlockResponse + +func (x *GetActiveTopicsAtBlockResponse) ProtoReflect() protoreflect.Message { + return (*fastReflection_GetActiveTopicsAtBlockResponse)(x) +} + +func (x *GetActiveTopicsAtBlockResponse) slowProtoReflect() protoreflect.Message { + mi := &file_emissions_v8_query_proto_msgTypes[197] + 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) +} + +var _fastReflection_GetActiveTopicsAtBlockResponse_messageType fastReflection_GetActiveTopicsAtBlockResponse_messageType +var _ protoreflect.MessageType = fastReflection_GetActiveTopicsAtBlockResponse_messageType{} + +type fastReflection_GetActiveTopicsAtBlockResponse_messageType struct{} + +func (x fastReflection_GetActiveTopicsAtBlockResponse_messageType) Zero() protoreflect.Message { + return (*fastReflection_GetActiveTopicsAtBlockResponse)(nil) +} +func (x fastReflection_GetActiveTopicsAtBlockResponse_messageType) New() protoreflect.Message { + return new(fastReflection_GetActiveTopicsAtBlockResponse) +} +func (x fastReflection_GetActiveTopicsAtBlockResponse_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_GetActiveTopicsAtBlockResponse +} + +// Descriptor returns message descriptor, which contains only the protobuf +// type information for the message. +func (x *fastReflection_GetActiveTopicsAtBlockResponse) Descriptor() protoreflect.MessageDescriptor { + return md_GetActiveTopicsAtBlockResponse +} + +// Type returns the message type, which encapsulates both Go and protobuf +// type information. If the Go type information is not needed, +// it is recommended that the message descriptor be used instead. +func (x *fastReflection_GetActiveTopicsAtBlockResponse) Type() protoreflect.MessageType { + return _fastReflection_GetActiveTopicsAtBlockResponse_messageType +} + +// New returns a newly allocated and mutable empty message. +func (x *fastReflection_GetActiveTopicsAtBlockResponse) New() protoreflect.Message { + return new(fastReflection_GetActiveTopicsAtBlockResponse) +} + +// Interface unwraps the message reflection interface and +// returns the underlying ProtoMessage interface. +func (x *fastReflection_GetActiveTopicsAtBlockResponse) Interface() protoreflect.ProtoMessage { + return (*GetActiveTopicsAtBlockResponse)(x) +} + +// Range iterates over every populated field in an undefined order, +// calling f for each field descriptor and value encountered. +// Range returns immediately if f returns false. +// While iterating, mutating operations may only be performed +// on the current field descriptor. +func (x *fastReflection_GetActiveTopicsAtBlockResponse) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { + if len(x.Topics) != 0 { + value := protoreflect.ValueOfList(&_GetActiveTopicsAtBlockResponse_1_list{list: &x.Topics}) + if !f(fd_GetActiveTopicsAtBlockResponse_topics, value) { + return + } + } + if x.Pagination != nil { + value := protoreflect.ValueOfMessage(x.Pagination.ProtoReflect()) + if !f(fd_GetActiveTopicsAtBlockResponse_pagination, value) { + return + } + } +} + +// Has reports whether a field is populated. +// +// Some fields have the property of nullability where it is possible to +// distinguish between the default value of a field and whether the field +// was explicitly populated with the default value. Singular message fields, +// member fields of a oneof, and proto2 scalar fields are nullable. Such +// fields are populated only if explicitly set. +// +// In other cases (aside from the nullable cases above), +// a proto3 scalar field is populated if it contains a non-zero value, and +// a repeated field is populated if it is non-empty. +func (x *fastReflection_GetActiveTopicsAtBlockResponse) Has(fd protoreflect.FieldDescriptor) bool { + switch fd.FullName() { + case "emissions.v8.GetActiveTopicsAtBlockResponse.topics": + return len(x.Topics) != 0 + case "emissions.v8.GetActiveTopicsAtBlockResponse.pagination": + return x.Pagination != nil + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetActiveTopicsAtBlockResponse")) + } + panic(fmt.Errorf("message emissions.v8.GetActiveTopicsAtBlockResponse does not contain field %s", fd.FullName())) + } +} + +// Clear clears the field such that a subsequent Has call reports false. +// +// Clearing an extension field clears both the extension type and value +// associated with the given field number. +// +// Clear is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetActiveTopicsAtBlockResponse) Clear(fd protoreflect.FieldDescriptor) { + switch fd.FullName() { + case "emissions.v8.GetActiveTopicsAtBlockResponse.topics": + x.Topics = nil + case "emissions.v8.GetActiveTopicsAtBlockResponse.pagination": + x.Pagination = nil + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetActiveTopicsAtBlockResponse")) + } + panic(fmt.Errorf("message emissions.v8.GetActiveTopicsAtBlockResponse does not contain field %s", fd.FullName())) + } +} + +// Get retrieves the value for a field. +// +// For unpopulated scalars, it returns the default value, where +// the default value of a bytes scalar is guaranteed to be a copy. +// For unpopulated composite types, it returns an empty, read-only view +// of the value; to obtain a mutable reference, use Mutable. +func (x *fastReflection_GetActiveTopicsAtBlockResponse) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { + switch descriptor.FullName() { + case "emissions.v8.GetActiveTopicsAtBlockResponse.topics": + if len(x.Topics) == 0 { + return protoreflect.ValueOfList(&_GetActiveTopicsAtBlockResponse_1_list{}) + } + listValue := &_GetActiveTopicsAtBlockResponse_1_list{list: &x.Topics} + return protoreflect.ValueOfList(listValue) + case "emissions.v8.GetActiveTopicsAtBlockResponse.pagination": + value := x.Pagination + return protoreflect.ValueOfMessage(value.ProtoReflect()) + default: + if descriptor.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetActiveTopicsAtBlockResponse")) + } + panic(fmt.Errorf("message emissions.v8.GetActiveTopicsAtBlockResponse does not contain field %s", descriptor.FullName())) + } +} + +// Set stores the value for a field. +// +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType. +// When setting a composite type, it is unspecified whether the stored value +// aliases the source's memory in any way. If the composite value is an +// empty, read-only value, then it panics. +// +// Set is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetActiveTopicsAtBlockResponse) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { + switch fd.FullName() { + case "emissions.v8.GetActiveTopicsAtBlockResponse.topics": + lv := value.List() + clv := lv.(*_GetActiveTopicsAtBlockResponse_1_list) + x.Topics = *clv.list + case "emissions.v8.GetActiveTopicsAtBlockResponse.pagination": + x.Pagination = value.Message().Interface().(*v3.SimpleCursorPaginationResponse) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetActiveTopicsAtBlockResponse")) + } + panic(fmt.Errorf("message emissions.v8.GetActiveTopicsAtBlockResponse does not contain field %s", fd.FullName())) + } +} + +// Mutable returns a mutable reference to a composite type. +// +// If the field is unpopulated, it may allocate a composite value. +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType +// if not already stored. +// It panics if the field does not contain a composite type. +// +// Mutable is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetActiveTopicsAtBlockResponse) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.GetActiveTopicsAtBlockResponse.topics": + if x.Topics == nil { + x.Topics = []*v3.Topic{} + } + value := &_GetActiveTopicsAtBlockResponse_1_list{list: &x.Topics} + return protoreflect.ValueOfList(value) + case "emissions.v8.GetActiveTopicsAtBlockResponse.pagination": + if x.Pagination == nil { + x.Pagination = new(v3.SimpleCursorPaginationResponse) + } + return protoreflect.ValueOfMessage(x.Pagination.ProtoReflect()) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetActiveTopicsAtBlockResponse")) + } + panic(fmt.Errorf("message emissions.v8.GetActiveTopicsAtBlockResponse does not contain field %s", fd.FullName())) + } +} + +// NewField returns a new value that is assignable to the field +// for the given descriptor. For scalars, this returns the default value. +// For lists, maps, and messages, this returns a new, empty, mutable value. +func (x *fastReflection_GetActiveTopicsAtBlockResponse) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.GetActiveTopicsAtBlockResponse.topics": + list := []*v3.Topic{} + return protoreflect.ValueOfList(&_GetActiveTopicsAtBlockResponse_1_list{list: &list}) + case "emissions.v8.GetActiveTopicsAtBlockResponse.pagination": + m := new(v3.SimpleCursorPaginationResponse) + return protoreflect.ValueOfMessage(m.ProtoReflect()) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetActiveTopicsAtBlockResponse")) + } + panic(fmt.Errorf("message emissions.v8.GetActiveTopicsAtBlockResponse does not contain field %s", fd.FullName())) + } +} + +// WhichOneof reports which field within the oneof is populated, +// returning nil if none are populated. +// It panics if the oneof descriptor does not belong to this message. +func (x *fastReflection_GetActiveTopicsAtBlockResponse) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { + switch d.FullName() { + default: + panic(fmt.Errorf("%s is not a oneof field in emissions.v8.GetActiveTopicsAtBlockResponse", d.FullName())) + } + panic("unreachable") +} + +// GetUnknown retrieves the entire list of unknown fields. +// The caller may only mutate the contents of the RawFields +// if the mutated bytes are stored back into the message with SetUnknown. +func (x *fastReflection_GetActiveTopicsAtBlockResponse) GetUnknown() protoreflect.RawFields { + return x.unknownFields +} + +// SetUnknown stores an entire list of unknown fields. +// The raw fields must be syntactically valid according to the wire format. +// An implementation may panic if this is not the case. +// Once stored, the caller must not mutate the content of the RawFields. +// An empty RawFields may be passed to clear the fields. +// +// SetUnknown is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetActiveTopicsAtBlockResponse) SetUnknown(fields protoreflect.RawFields) { + x.unknownFields = fields +} + +// IsValid reports whether the message is valid. +// +// An invalid message is an empty, read-only value. +// +// An invalid message often corresponds to a nil pointer of the concrete +// message type, but the details are implementation dependent. +// Validity is not part of the protobuf data model, and may not +// be preserved in marshaling or other operations. +func (x *fastReflection_GetActiveTopicsAtBlockResponse) IsValid() bool { + return x != nil +} + +// ProtoMethods returns optional fastReflectionFeature-path implementations of various operations. +// This method may return nil. +// +// The returned methods type is identical to +// "google.golang.org/protobuf/runtime/protoiface".Methods. +// Consult the protoiface package documentation for details. +func (x *fastReflection_GetActiveTopicsAtBlockResponse) ProtoMethods() *protoiface.Methods { + size := func(input protoiface.SizeInput) protoiface.SizeOutput { + x := input.Message.Interface().(*GetActiveTopicsAtBlockResponse) + if x == nil { + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: 0, + } + } + options := runtime.SizeInputToOptions(input) + _ = options + var n int + var l int + _ = l + if len(x.Topics) > 0 { + for _, e := range x.Topics { + l = options.Size(e) + n += 1 + l + runtime.Sov(uint64(l)) + } + } + if x.Pagination != nil { + l = options.Size(x.Pagination) + n += 1 + l + runtime.Sov(uint64(l)) + } + if x.unknownFields != nil { + n += len(x.unknownFields) + } + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: n, + } + } + + marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { + x := input.Message.Interface().(*GetActiveTopicsAtBlockResponse) + if x == nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + options := runtime.MarshalInputToOptions(input) + _ = options + size := options.Size(x) + dAtA := make([]byte, size) + i := len(dAtA) + _ = i + var l int + _ = l + if x.unknownFields != nil { + i -= len(x.unknownFields) + copy(dAtA[i:], x.unknownFields) + } + if x.Pagination != nil { + encoded, err := options.Marshal(x.Pagination) + if err != nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = runtime.EncodeVarint(dAtA, i, uint64(len(encoded))) + i-- + dAtA[i] = 0x12 + } + if len(x.Topics) > 0 { + for iNdEx := len(x.Topics) - 1; iNdEx >= 0; iNdEx-- { + encoded, err := options.Marshal(x.Topics[iNdEx]) + if err != nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = runtime.EncodeVarint(dAtA, i, uint64(len(encoded))) + i-- + dAtA[i] = 0xa + } + } + if input.Buf != nil { + input.Buf = append(input.Buf, dAtA...) + } else { + input.Buf = dAtA + } + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { + x := input.Message.Interface().(*GetActiveTopicsAtBlockResponse) + if x == nil { + return protoiface.UnmarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Flags: input.Flags, + }, nil + } + options := runtime.UnmarshalInputToOptions(input) + _ = options + dAtA := input.Buf + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: GetActiveTopicsAtBlockResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: GetActiveTopicsAtBlockResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Topics", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + x.Topics = append(x.Topics, &v3.Topic{}) + if err := options.Unmarshal(dAtA[iNdEx:postIndex], x.Topics[len(x.Topics)-1]); err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + iNdEx = postIndex + case 2: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Pagination", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + if x.Pagination == nil { + x.Pagination = &v3.SimpleCursorPaginationResponse{} + } + if err := options.Unmarshal(dAtA[iNdEx:postIndex], x.Pagination); err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := runtime.Skip(dAtA[iNdEx:]) + if err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if (iNdEx + skippy) > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + if !options.DiscardUnknown { + x.unknownFields = append(x.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + } + iNdEx += skippy + } + } + + if iNdEx > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, nil + } + return &protoiface.Methods{ + NoUnkeyedLiterals: struct{}{}, + Flags: protoiface.SupportMarshalDeterministic | protoiface.SupportUnmarshalDiscardUnknown, + Size: size, + Marshal: marshal, + Unmarshal: unmarshal, + Merge: nil, + CheckInitialized: nil, + } +} + +var ( + md_GetNextChurningBlockByTopicIdRequest protoreflect.MessageDescriptor + fd_GetNextChurningBlockByTopicIdRequest_topic_id protoreflect.FieldDescriptor +) + +func init() { + file_emissions_v8_query_proto_init() + md_GetNextChurningBlockByTopicIdRequest = File_emissions_v8_query_proto.Messages().ByName("GetNextChurningBlockByTopicIdRequest") + fd_GetNextChurningBlockByTopicIdRequest_topic_id = md_GetNextChurningBlockByTopicIdRequest.Fields().ByName("topic_id") +} + +var _ protoreflect.Message = (*fastReflection_GetNextChurningBlockByTopicIdRequest)(nil) + +type fastReflection_GetNextChurningBlockByTopicIdRequest GetNextChurningBlockByTopicIdRequest + +func (x *GetNextChurningBlockByTopicIdRequest) ProtoReflect() protoreflect.Message { + return (*fastReflection_GetNextChurningBlockByTopicIdRequest)(x) +} + +func (x *GetNextChurningBlockByTopicIdRequest) slowProtoReflect() protoreflect.Message { + mi := &file_emissions_v8_query_proto_msgTypes[198] + 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) +} + +var _fastReflection_GetNextChurningBlockByTopicIdRequest_messageType fastReflection_GetNextChurningBlockByTopicIdRequest_messageType +var _ protoreflect.MessageType = fastReflection_GetNextChurningBlockByTopicIdRequest_messageType{} + +type fastReflection_GetNextChurningBlockByTopicIdRequest_messageType struct{} + +func (x fastReflection_GetNextChurningBlockByTopicIdRequest_messageType) Zero() protoreflect.Message { + return (*fastReflection_GetNextChurningBlockByTopicIdRequest)(nil) +} +func (x fastReflection_GetNextChurningBlockByTopicIdRequest_messageType) New() protoreflect.Message { + return new(fastReflection_GetNextChurningBlockByTopicIdRequest) +} +func (x fastReflection_GetNextChurningBlockByTopicIdRequest_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_GetNextChurningBlockByTopicIdRequest +} + +// Descriptor returns message descriptor, which contains only the protobuf +// type information for the message. +func (x *fastReflection_GetNextChurningBlockByTopicIdRequest) Descriptor() protoreflect.MessageDescriptor { + return md_GetNextChurningBlockByTopicIdRequest +} + +// Type returns the message type, which encapsulates both Go and protobuf +// type information. If the Go type information is not needed, +// it is recommended that the message descriptor be used instead. +func (x *fastReflection_GetNextChurningBlockByTopicIdRequest) Type() protoreflect.MessageType { + return _fastReflection_GetNextChurningBlockByTopicIdRequest_messageType +} + +// New returns a newly allocated and mutable empty message. +func (x *fastReflection_GetNextChurningBlockByTopicIdRequest) New() protoreflect.Message { + return new(fastReflection_GetNextChurningBlockByTopicIdRequest) +} + +// Interface unwraps the message reflection interface and +// returns the underlying ProtoMessage interface. +func (x *fastReflection_GetNextChurningBlockByTopicIdRequest) Interface() protoreflect.ProtoMessage { + return (*GetNextChurningBlockByTopicIdRequest)(x) +} + +// Range iterates over every populated field in an undefined order, +// calling f for each field descriptor and value encountered. +// Range returns immediately if f returns false. +// While iterating, mutating operations may only be performed +// on the current field descriptor. +func (x *fastReflection_GetNextChurningBlockByTopicIdRequest) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { + if x.TopicId != uint64(0) { + value := protoreflect.ValueOfUint64(x.TopicId) + if !f(fd_GetNextChurningBlockByTopicIdRequest_topic_id, value) { + return + } + } +} + +// Has reports whether a field is populated. +// +// Some fields have the property of nullability where it is possible to +// distinguish between the default value of a field and whether the field +// was explicitly populated with the default value. Singular message fields, +// member fields of a oneof, and proto2 scalar fields are nullable. Such +// fields are populated only if explicitly set. +// +// In other cases (aside from the nullable cases above), +// a proto3 scalar field is populated if it contains a non-zero value, and +// a repeated field is populated if it is non-empty. +func (x *fastReflection_GetNextChurningBlockByTopicIdRequest) Has(fd protoreflect.FieldDescriptor) bool { + switch fd.FullName() { + case "emissions.v8.GetNextChurningBlockByTopicIdRequest.topic_id": + return x.TopicId != uint64(0) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetNextChurningBlockByTopicIdRequest")) + } + panic(fmt.Errorf("message emissions.v8.GetNextChurningBlockByTopicIdRequest does not contain field %s", fd.FullName())) + } +} + +// Clear clears the field such that a subsequent Has call reports false. +// +// Clearing an extension field clears both the extension type and value +// associated with the given field number. +// +// Clear is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetNextChurningBlockByTopicIdRequest) Clear(fd protoreflect.FieldDescriptor) { + switch fd.FullName() { + case "emissions.v8.GetNextChurningBlockByTopicIdRequest.topic_id": + x.TopicId = uint64(0) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetNextChurningBlockByTopicIdRequest")) + } + panic(fmt.Errorf("message emissions.v8.GetNextChurningBlockByTopicIdRequest does not contain field %s", fd.FullName())) + } +} + +// Get retrieves the value for a field. +// +// For unpopulated scalars, it returns the default value, where +// the default value of a bytes scalar is guaranteed to be a copy. +// For unpopulated composite types, it returns an empty, read-only view +// of the value; to obtain a mutable reference, use Mutable. +func (x *fastReflection_GetNextChurningBlockByTopicIdRequest) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { + switch descriptor.FullName() { + case "emissions.v8.GetNextChurningBlockByTopicIdRequest.topic_id": + value := x.TopicId + return protoreflect.ValueOfUint64(value) + default: + if descriptor.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetNextChurningBlockByTopicIdRequest")) + } + panic(fmt.Errorf("message emissions.v8.GetNextChurningBlockByTopicIdRequest does not contain field %s", descriptor.FullName())) + } +} + +// Set stores the value for a field. +// +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType. +// When setting a composite type, it is unspecified whether the stored value +// aliases the source's memory in any way. If the composite value is an +// empty, read-only value, then it panics. +// +// Set is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetNextChurningBlockByTopicIdRequest) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { + switch fd.FullName() { + case "emissions.v8.GetNextChurningBlockByTopicIdRequest.topic_id": + x.TopicId = value.Uint() + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetNextChurningBlockByTopicIdRequest")) + } + panic(fmt.Errorf("message emissions.v8.GetNextChurningBlockByTopicIdRequest does not contain field %s", fd.FullName())) + } +} + +// Mutable returns a mutable reference to a composite type. +// +// If the field is unpopulated, it may allocate a composite value. +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType +// if not already stored. +// It panics if the field does not contain a composite type. +// +// Mutable is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetNextChurningBlockByTopicIdRequest) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.GetNextChurningBlockByTopicIdRequest.topic_id": + panic(fmt.Errorf("field topic_id of message emissions.v8.GetNextChurningBlockByTopicIdRequest is not mutable")) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetNextChurningBlockByTopicIdRequest")) + } + panic(fmt.Errorf("message emissions.v8.GetNextChurningBlockByTopicIdRequest does not contain field %s", fd.FullName())) + } +} + +// NewField returns a new value that is assignable to the field +// for the given descriptor. For scalars, this returns the default value. +// For lists, maps, and messages, this returns a new, empty, mutable value. +func (x *fastReflection_GetNextChurningBlockByTopicIdRequest) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.GetNextChurningBlockByTopicIdRequest.topic_id": + return protoreflect.ValueOfUint64(uint64(0)) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetNextChurningBlockByTopicIdRequest")) + } + panic(fmt.Errorf("message emissions.v8.GetNextChurningBlockByTopicIdRequest does not contain field %s", fd.FullName())) + } +} + +// WhichOneof reports which field within the oneof is populated, +// returning nil if none are populated. +// It panics if the oneof descriptor does not belong to this message. +func (x *fastReflection_GetNextChurningBlockByTopicIdRequest) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { + switch d.FullName() { + default: + panic(fmt.Errorf("%s is not a oneof field in emissions.v8.GetNextChurningBlockByTopicIdRequest", d.FullName())) + } + panic("unreachable") +} + +// GetUnknown retrieves the entire list of unknown fields. +// The caller may only mutate the contents of the RawFields +// if the mutated bytes are stored back into the message with SetUnknown. +func (x *fastReflection_GetNextChurningBlockByTopicIdRequest) GetUnknown() protoreflect.RawFields { + return x.unknownFields +} + +// SetUnknown stores an entire list of unknown fields. +// The raw fields must be syntactically valid according to the wire format. +// An implementation may panic if this is not the case. +// Once stored, the caller must not mutate the content of the RawFields. +// An empty RawFields may be passed to clear the fields. +// +// SetUnknown is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetNextChurningBlockByTopicIdRequest) SetUnknown(fields protoreflect.RawFields) { + x.unknownFields = fields +} + +// IsValid reports whether the message is valid. +// +// An invalid message is an empty, read-only value. +// +// An invalid message often corresponds to a nil pointer of the concrete +// message type, but the details are implementation dependent. +// Validity is not part of the protobuf data model, and may not +// be preserved in marshaling or other operations. +func (x *fastReflection_GetNextChurningBlockByTopicIdRequest) IsValid() bool { + return x != nil +} + +// ProtoMethods returns optional fastReflectionFeature-path implementations of various operations. +// This method may return nil. +// +// The returned methods type is identical to +// "google.golang.org/protobuf/runtime/protoiface".Methods. +// Consult the protoiface package documentation for details. +func (x *fastReflection_GetNextChurningBlockByTopicIdRequest) ProtoMethods() *protoiface.Methods { + size := func(input protoiface.SizeInput) protoiface.SizeOutput { + x := input.Message.Interface().(*GetNextChurningBlockByTopicIdRequest) + if x == nil { + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: 0, + } + } + options := runtime.SizeInputToOptions(input) + _ = options + var n int + var l int + _ = l + if x.TopicId != 0 { + n += 1 + runtime.Sov(uint64(x.TopicId)) + } + if x.unknownFields != nil { + n += len(x.unknownFields) + } + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: n, + } + } + + marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { + x := input.Message.Interface().(*GetNextChurningBlockByTopicIdRequest) + if x == nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + options := runtime.MarshalInputToOptions(input) + _ = options + size := options.Size(x) + dAtA := make([]byte, size) + i := len(dAtA) + _ = i + var l int + _ = l + if x.unknownFields != nil { + i -= len(x.unknownFields) + copy(dAtA[i:], x.unknownFields) + } + if x.TopicId != 0 { + i = runtime.EncodeVarint(dAtA, i, uint64(x.TopicId)) + i-- + dAtA[i] = 0x8 + } + if input.Buf != nil { + input.Buf = append(input.Buf, dAtA...) + } else { + input.Buf = dAtA + } + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { + x := input.Message.Interface().(*GetNextChurningBlockByTopicIdRequest) + if x == nil { + return protoiface.UnmarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Flags: input.Flags, + }, nil + } + options := runtime.UnmarshalInputToOptions(input) + _ = options + dAtA := input.Buf + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: GetNextChurningBlockByTopicIdRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: GetNextChurningBlockByTopicIdRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field TopicId", wireType) + } + x.TopicId = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + x.TopicId |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + default: + iNdEx = preIndex + skippy, err := runtime.Skip(dAtA[iNdEx:]) + if err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if (iNdEx + skippy) > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + if !options.DiscardUnknown { + x.unknownFields = append(x.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + } + iNdEx += skippy + } + } + + if iNdEx > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, nil + } + return &protoiface.Methods{ + NoUnkeyedLiterals: struct{}{}, + Flags: protoiface.SupportMarshalDeterministic | protoiface.SupportUnmarshalDiscardUnknown, + Size: size, + Marshal: marshal, + Unmarshal: unmarshal, + Merge: nil, + CheckInitialized: nil, + } +} + +var ( + md_GetNextChurningBlockByTopicIdResponse protoreflect.MessageDescriptor + fd_GetNextChurningBlockByTopicIdResponse_block_height protoreflect.FieldDescriptor +) + +func init() { + file_emissions_v8_query_proto_init() + md_GetNextChurningBlockByTopicIdResponse = File_emissions_v8_query_proto.Messages().ByName("GetNextChurningBlockByTopicIdResponse") + fd_GetNextChurningBlockByTopicIdResponse_block_height = md_GetNextChurningBlockByTopicIdResponse.Fields().ByName("block_height") +} + +var _ protoreflect.Message = (*fastReflection_GetNextChurningBlockByTopicIdResponse)(nil) + +type fastReflection_GetNextChurningBlockByTopicIdResponse GetNextChurningBlockByTopicIdResponse + +func (x *GetNextChurningBlockByTopicIdResponse) ProtoReflect() protoreflect.Message { + return (*fastReflection_GetNextChurningBlockByTopicIdResponse)(x) +} + +func (x *GetNextChurningBlockByTopicIdResponse) slowProtoReflect() protoreflect.Message { + mi := &file_emissions_v8_query_proto_msgTypes[199] + 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) +} + +var _fastReflection_GetNextChurningBlockByTopicIdResponse_messageType fastReflection_GetNextChurningBlockByTopicIdResponse_messageType +var _ protoreflect.MessageType = fastReflection_GetNextChurningBlockByTopicIdResponse_messageType{} + +type fastReflection_GetNextChurningBlockByTopicIdResponse_messageType struct{} + +func (x fastReflection_GetNextChurningBlockByTopicIdResponse_messageType) Zero() protoreflect.Message { + return (*fastReflection_GetNextChurningBlockByTopicIdResponse)(nil) +} +func (x fastReflection_GetNextChurningBlockByTopicIdResponse_messageType) New() protoreflect.Message { + return new(fastReflection_GetNextChurningBlockByTopicIdResponse) +} +func (x fastReflection_GetNextChurningBlockByTopicIdResponse_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_GetNextChurningBlockByTopicIdResponse +} + +// Descriptor returns message descriptor, which contains only the protobuf +// type information for the message. +func (x *fastReflection_GetNextChurningBlockByTopicIdResponse) Descriptor() protoreflect.MessageDescriptor { + return md_GetNextChurningBlockByTopicIdResponse +} + +// Type returns the message type, which encapsulates both Go and protobuf +// type information. If the Go type information is not needed, +// it is recommended that the message descriptor be used instead. +func (x *fastReflection_GetNextChurningBlockByTopicIdResponse) Type() protoreflect.MessageType { + return _fastReflection_GetNextChurningBlockByTopicIdResponse_messageType +} + +// New returns a newly allocated and mutable empty message. +func (x *fastReflection_GetNextChurningBlockByTopicIdResponse) New() protoreflect.Message { + return new(fastReflection_GetNextChurningBlockByTopicIdResponse) +} + +// Interface unwraps the message reflection interface and +// returns the underlying ProtoMessage interface. +func (x *fastReflection_GetNextChurningBlockByTopicIdResponse) Interface() protoreflect.ProtoMessage { + return (*GetNextChurningBlockByTopicIdResponse)(x) +} + +// Range iterates over every populated field in an undefined order, +// calling f for each field descriptor and value encountered. +// Range returns immediately if f returns false. +// While iterating, mutating operations may only be performed +// on the current field descriptor. +func (x *fastReflection_GetNextChurningBlockByTopicIdResponse) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { + if x.BlockHeight != int64(0) { + value := protoreflect.ValueOfInt64(x.BlockHeight) + if !f(fd_GetNextChurningBlockByTopicIdResponse_block_height, value) { + return + } + } +} + +// Has reports whether a field is populated. +// +// Some fields have the property of nullability where it is possible to +// distinguish between the default value of a field and whether the field +// was explicitly populated with the default value. Singular message fields, +// member fields of a oneof, and proto2 scalar fields are nullable. Such +// fields are populated only if explicitly set. +// +// In other cases (aside from the nullable cases above), +// a proto3 scalar field is populated if it contains a non-zero value, and +// a repeated field is populated if it is non-empty. +func (x *fastReflection_GetNextChurningBlockByTopicIdResponse) Has(fd protoreflect.FieldDescriptor) bool { + switch fd.FullName() { + case "emissions.v8.GetNextChurningBlockByTopicIdResponse.block_height": + return x.BlockHeight != int64(0) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetNextChurningBlockByTopicIdResponse")) + } + panic(fmt.Errorf("message emissions.v8.GetNextChurningBlockByTopicIdResponse does not contain field %s", fd.FullName())) + } +} + +// Clear clears the field such that a subsequent Has call reports false. +// +// Clearing an extension field clears both the extension type and value +// associated with the given field number. +// +// Clear is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetNextChurningBlockByTopicIdResponse) Clear(fd protoreflect.FieldDescriptor) { + switch fd.FullName() { + case "emissions.v8.GetNextChurningBlockByTopicIdResponse.block_height": + x.BlockHeight = int64(0) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetNextChurningBlockByTopicIdResponse")) + } + panic(fmt.Errorf("message emissions.v8.GetNextChurningBlockByTopicIdResponse does not contain field %s", fd.FullName())) + } +} + +// Get retrieves the value for a field. +// +// For unpopulated scalars, it returns the default value, where +// the default value of a bytes scalar is guaranteed to be a copy. +// For unpopulated composite types, it returns an empty, read-only view +// of the value; to obtain a mutable reference, use Mutable. +func (x *fastReflection_GetNextChurningBlockByTopicIdResponse) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { + switch descriptor.FullName() { + case "emissions.v8.GetNextChurningBlockByTopicIdResponse.block_height": + value := x.BlockHeight + return protoreflect.ValueOfInt64(value) + default: + if descriptor.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetNextChurningBlockByTopicIdResponse")) + } + panic(fmt.Errorf("message emissions.v8.GetNextChurningBlockByTopicIdResponse does not contain field %s", descriptor.FullName())) + } +} + +// Set stores the value for a field. +// +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType. +// When setting a composite type, it is unspecified whether the stored value +// aliases the source's memory in any way. If the composite value is an +// empty, read-only value, then it panics. +// +// Set is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetNextChurningBlockByTopicIdResponse) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { + switch fd.FullName() { + case "emissions.v8.GetNextChurningBlockByTopicIdResponse.block_height": + x.BlockHeight = value.Int() + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetNextChurningBlockByTopicIdResponse")) + } + panic(fmt.Errorf("message emissions.v8.GetNextChurningBlockByTopicIdResponse does not contain field %s", fd.FullName())) + } +} + +// Mutable returns a mutable reference to a composite type. +// +// If the field is unpopulated, it may allocate a composite value. +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType +// if not already stored. +// It panics if the field does not contain a composite type. +// +// Mutable is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetNextChurningBlockByTopicIdResponse) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.GetNextChurningBlockByTopicIdResponse.block_height": + panic(fmt.Errorf("field block_height of message emissions.v8.GetNextChurningBlockByTopicIdResponse is not mutable")) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetNextChurningBlockByTopicIdResponse")) + } + panic(fmt.Errorf("message emissions.v8.GetNextChurningBlockByTopicIdResponse does not contain field %s", fd.FullName())) + } +} + +// NewField returns a new value that is assignable to the field +// for the given descriptor. For scalars, this returns the default value. +// For lists, maps, and messages, this returns a new, empty, mutable value. +func (x *fastReflection_GetNextChurningBlockByTopicIdResponse) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.GetNextChurningBlockByTopicIdResponse.block_height": + return protoreflect.ValueOfInt64(int64(0)) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetNextChurningBlockByTopicIdResponse")) + } + panic(fmt.Errorf("message emissions.v8.GetNextChurningBlockByTopicIdResponse does not contain field %s", fd.FullName())) + } +} + +// WhichOneof reports which field within the oneof is populated, +// returning nil if none are populated. +// It panics if the oneof descriptor does not belong to this message. +func (x *fastReflection_GetNextChurningBlockByTopicIdResponse) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { + switch d.FullName() { + default: + panic(fmt.Errorf("%s is not a oneof field in emissions.v8.GetNextChurningBlockByTopicIdResponse", d.FullName())) + } + panic("unreachable") +} + +// GetUnknown retrieves the entire list of unknown fields. +// The caller may only mutate the contents of the RawFields +// if the mutated bytes are stored back into the message with SetUnknown. +func (x *fastReflection_GetNextChurningBlockByTopicIdResponse) GetUnknown() protoreflect.RawFields { + return x.unknownFields +} + +// SetUnknown stores an entire list of unknown fields. +// The raw fields must be syntactically valid according to the wire format. +// An implementation may panic if this is not the case. +// Once stored, the caller must not mutate the content of the RawFields. +// An empty RawFields may be passed to clear the fields. +// +// SetUnknown is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetNextChurningBlockByTopicIdResponse) SetUnknown(fields protoreflect.RawFields) { + x.unknownFields = fields +} + +// IsValid reports whether the message is valid. +// +// An invalid message is an empty, read-only value. +// +// An invalid message often corresponds to a nil pointer of the concrete +// message type, but the details are implementation dependent. +// Validity is not part of the protobuf data model, and may not +// be preserved in marshaling or other operations. +func (x *fastReflection_GetNextChurningBlockByTopicIdResponse) IsValid() bool { + return x != nil +} + +// ProtoMethods returns optional fastReflectionFeature-path implementations of various operations. +// This method may return nil. +// +// The returned methods type is identical to +// "google.golang.org/protobuf/runtime/protoiface".Methods. +// Consult the protoiface package documentation for details. +func (x *fastReflection_GetNextChurningBlockByTopicIdResponse) ProtoMethods() *protoiface.Methods { + size := func(input protoiface.SizeInput) protoiface.SizeOutput { + x := input.Message.Interface().(*GetNextChurningBlockByTopicIdResponse) + if x == nil { + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: 0, + } + } + options := runtime.SizeInputToOptions(input) + _ = options + var n int + var l int + _ = l + if x.BlockHeight != 0 { + n += 1 + runtime.Sov(uint64(x.BlockHeight)) + } + if x.unknownFields != nil { + n += len(x.unknownFields) + } + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: n, + } + } + + marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { + x := input.Message.Interface().(*GetNextChurningBlockByTopicIdResponse) + if x == nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + options := runtime.MarshalInputToOptions(input) + _ = options + size := options.Size(x) + dAtA := make([]byte, size) + i := len(dAtA) + _ = i + var l int + _ = l + if x.unknownFields != nil { + i -= len(x.unknownFields) + copy(dAtA[i:], x.unknownFields) + } + if x.BlockHeight != 0 { + i = runtime.EncodeVarint(dAtA, i, uint64(x.BlockHeight)) + i-- + dAtA[i] = 0x8 + } + if input.Buf != nil { + input.Buf = append(input.Buf, dAtA...) + } else { + input.Buf = dAtA + } + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { + x := input.Message.Interface().(*GetNextChurningBlockByTopicIdResponse) + if x == nil { + return protoiface.UnmarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Flags: input.Flags, + }, nil + } + options := runtime.UnmarshalInputToOptions(input) + _ = options + dAtA := input.Buf + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: GetNextChurningBlockByTopicIdResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: GetNextChurningBlockByTopicIdResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field BlockHeight", wireType) + } + x.BlockHeight = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + x.BlockHeight |= int64(b&0x7F) << shift + if b < 0x80 { + break + } + } + default: + iNdEx = preIndex + skippy, err := runtime.Skip(dAtA[iNdEx:]) + if err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if (iNdEx + skippy) > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + if !options.DiscardUnknown { + x.unknownFields = append(x.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + } + iNdEx += skippy + } + } + + if iNdEx > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, nil + } + return &protoiface.Methods{ + NoUnkeyedLiterals: struct{}{}, + Flags: protoiface.SupportMarshalDeterministic | protoiface.SupportUnmarshalDiscardUnknown, + Size: size, + Marshal: marshal, + Unmarshal: unmarshal, + Merge: nil, + CheckInitialized: nil, + } +} + +var ( + md_GetActiveReputersForTopicRequest protoreflect.MessageDescriptor + fd_GetActiveReputersForTopicRequest_topic_id protoreflect.FieldDescriptor +) + +func init() { + file_emissions_v8_query_proto_init() + md_GetActiveReputersForTopicRequest = File_emissions_v8_query_proto.Messages().ByName("GetActiveReputersForTopicRequest") + fd_GetActiveReputersForTopicRequest_topic_id = md_GetActiveReputersForTopicRequest.Fields().ByName("topic_id") +} + +var _ protoreflect.Message = (*fastReflection_GetActiveReputersForTopicRequest)(nil) + +type fastReflection_GetActiveReputersForTopicRequest GetActiveReputersForTopicRequest + +func (x *GetActiveReputersForTopicRequest) ProtoReflect() protoreflect.Message { + return (*fastReflection_GetActiveReputersForTopicRequest)(x) +} + +func (x *GetActiveReputersForTopicRequest) slowProtoReflect() protoreflect.Message { + mi := &file_emissions_v8_query_proto_msgTypes[200] + 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) +} + +var _fastReflection_GetActiveReputersForTopicRequest_messageType fastReflection_GetActiveReputersForTopicRequest_messageType +var _ protoreflect.MessageType = fastReflection_GetActiveReputersForTopicRequest_messageType{} + +type fastReflection_GetActiveReputersForTopicRequest_messageType struct{} + +func (x fastReflection_GetActiveReputersForTopicRequest_messageType) Zero() protoreflect.Message { + return (*fastReflection_GetActiveReputersForTopicRequest)(nil) +} +func (x fastReflection_GetActiveReputersForTopicRequest_messageType) New() protoreflect.Message { + return new(fastReflection_GetActiveReputersForTopicRequest) +} +func (x fastReflection_GetActiveReputersForTopicRequest_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_GetActiveReputersForTopicRequest +} + +// Descriptor returns message descriptor, which contains only the protobuf +// type information for the message. +func (x *fastReflection_GetActiveReputersForTopicRequest) Descriptor() protoreflect.MessageDescriptor { + return md_GetActiveReputersForTopicRequest +} + +// Type returns the message type, which encapsulates both Go and protobuf +// type information. If the Go type information is not needed, +// it is recommended that the message descriptor be used instead. +func (x *fastReflection_GetActiveReputersForTopicRequest) Type() protoreflect.MessageType { + return _fastReflection_GetActiveReputersForTopicRequest_messageType +} + +// New returns a newly allocated and mutable empty message. +func (x *fastReflection_GetActiveReputersForTopicRequest) New() protoreflect.Message { + return new(fastReflection_GetActiveReputersForTopicRequest) +} + +// Interface unwraps the message reflection interface and +// returns the underlying ProtoMessage interface. +func (x *fastReflection_GetActiveReputersForTopicRequest) Interface() protoreflect.ProtoMessage { + return (*GetActiveReputersForTopicRequest)(x) +} + +// Range iterates over every populated field in an undefined order, +// calling f for each field descriptor and value encountered. +// Range returns immediately if f returns false. +// While iterating, mutating operations may only be performed +// on the current field descriptor. +func (x *fastReflection_GetActiveReputersForTopicRequest) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { + if x.TopicId != uint64(0) { + value := protoreflect.ValueOfUint64(x.TopicId) + if !f(fd_GetActiveReputersForTopicRequest_topic_id, value) { + return + } + } +} + +// Has reports whether a field is populated. +// +// Some fields have the property of nullability where it is possible to +// distinguish between the default value of a field and whether the field +// was explicitly populated with the default value. Singular message fields, +// member fields of a oneof, and proto2 scalar fields are nullable. Such +// fields are populated only if explicitly set. +// +// In other cases (aside from the nullable cases above), +// a proto3 scalar field is populated if it contains a non-zero value, and +// a repeated field is populated if it is non-empty. +func (x *fastReflection_GetActiveReputersForTopicRequest) Has(fd protoreflect.FieldDescriptor) bool { + switch fd.FullName() { + case "emissions.v8.GetActiveReputersForTopicRequest.topic_id": + return x.TopicId != uint64(0) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetActiveReputersForTopicRequest")) + } + panic(fmt.Errorf("message emissions.v8.GetActiveReputersForTopicRequest does not contain field %s", fd.FullName())) + } +} + +// Clear clears the field such that a subsequent Has call reports false. +// +// Clearing an extension field clears both the extension type and value +// associated with the given field number. +// +// Clear is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetActiveReputersForTopicRequest) Clear(fd protoreflect.FieldDescriptor) { + switch fd.FullName() { + case "emissions.v8.GetActiveReputersForTopicRequest.topic_id": + x.TopicId = uint64(0) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetActiveReputersForTopicRequest")) + } + panic(fmt.Errorf("message emissions.v8.GetActiveReputersForTopicRequest does not contain field %s", fd.FullName())) + } +} + +// Get retrieves the value for a field. +// +// For unpopulated scalars, it returns the default value, where +// the default value of a bytes scalar is guaranteed to be a copy. +// For unpopulated composite types, it returns an empty, read-only view +// of the value; to obtain a mutable reference, use Mutable. +func (x *fastReflection_GetActiveReputersForTopicRequest) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { + switch descriptor.FullName() { + case "emissions.v8.GetActiveReputersForTopicRequest.topic_id": + value := x.TopicId + return protoreflect.ValueOfUint64(value) + default: + if descriptor.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetActiveReputersForTopicRequest")) + } + panic(fmt.Errorf("message emissions.v8.GetActiveReputersForTopicRequest does not contain field %s", descriptor.FullName())) + } +} + +// Set stores the value for a field. +// +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType. +// When setting a composite type, it is unspecified whether the stored value +// aliases the source's memory in any way. If the composite value is an +// empty, read-only value, then it panics. +// +// Set is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetActiveReputersForTopicRequest) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { + switch fd.FullName() { + case "emissions.v8.GetActiveReputersForTopicRequest.topic_id": + x.TopicId = value.Uint() + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetActiveReputersForTopicRequest")) + } + panic(fmt.Errorf("message emissions.v8.GetActiveReputersForTopicRequest does not contain field %s", fd.FullName())) + } +} + +// Mutable returns a mutable reference to a composite type. +// +// If the field is unpopulated, it may allocate a composite value. +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType +// if not already stored. +// It panics if the field does not contain a composite type. +// +// Mutable is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetActiveReputersForTopicRequest) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.GetActiveReputersForTopicRequest.topic_id": + panic(fmt.Errorf("field topic_id of message emissions.v8.GetActiveReputersForTopicRequest is not mutable")) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetActiveReputersForTopicRequest")) + } + panic(fmt.Errorf("message emissions.v8.GetActiveReputersForTopicRequest does not contain field %s", fd.FullName())) + } +} + +// NewField returns a new value that is assignable to the field +// for the given descriptor. For scalars, this returns the default value. +// For lists, maps, and messages, this returns a new, empty, mutable value. +func (x *fastReflection_GetActiveReputersForTopicRequest) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.GetActiveReputersForTopicRequest.topic_id": + return protoreflect.ValueOfUint64(uint64(0)) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetActiveReputersForTopicRequest")) + } + panic(fmt.Errorf("message emissions.v8.GetActiveReputersForTopicRequest does not contain field %s", fd.FullName())) + } +} + +// WhichOneof reports which field within the oneof is populated, +// returning nil if none are populated. +// It panics if the oneof descriptor does not belong to this message. +func (x *fastReflection_GetActiveReputersForTopicRequest) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { + switch d.FullName() { + default: + panic(fmt.Errorf("%s is not a oneof field in emissions.v8.GetActiveReputersForTopicRequest", d.FullName())) + } + panic("unreachable") +} + +// GetUnknown retrieves the entire list of unknown fields. +// The caller may only mutate the contents of the RawFields +// if the mutated bytes are stored back into the message with SetUnknown. +func (x *fastReflection_GetActiveReputersForTopicRequest) GetUnknown() protoreflect.RawFields { + return x.unknownFields +} + +// SetUnknown stores an entire list of unknown fields. +// The raw fields must be syntactically valid according to the wire format. +// An implementation may panic if this is not the case. +// Once stored, the caller must not mutate the content of the RawFields. +// An empty RawFields may be passed to clear the fields. +// +// SetUnknown is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetActiveReputersForTopicRequest) SetUnknown(fields protoreflect.RawFields) { + x.unknownFields = fields +} + +// IsValid reports whether the message is valid. +// +// An invalid message is an empty, read-only value. +// +// An invalid message often corresponds to a nil pointer of the concrete +// message type, but the details are implementation dependent. +// Validity is not part of the protobuf data model, and may not +// be preserved in marshaling or other operations. +func (x *fastReflection_GetActiveReputersForTopicRequest) IsValid() bool { + return x != nil +} + +// ProtoMethods returns optional fastReflectionFeature-path implementations of various operations. +// This method may return nil. +// +// The returned methods type is identical to +// "google.golang.org/protobuf/runtime/protoiface".Methods. +// Consult the protoiface package documentation for details. +func (x *fastReflection_GetActiveReputersForTopicRequest) ProtoMethods() *protoiface.Methods { + size := func(input protoiface.SizeInput) protoiface.SizeOutput { + x := input.Message.Interface().(*GetActiveReputersForTopicRequest) + if x == nil { + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: 0, + } + } + options := runtime.SizeInputToOptions(input) + _ = options + var n int + var l int + _ = l + if x.TopicId != 0 { + n += 1 + runtime.Sov(uint64(x.TopicId)) + } + if x.unknownFields != nil { + n += len(x.unknownFields) + } + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: n, + } + } + + marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { + x := input.Message.Interface().(*GetActiveReputersForTopicRequest) + if x == nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + options := runtime.MarshalInputToOptions(input) + _ = options + size := options.Size(x) + dAtA := make([]byte, size) + i := len(dAtA) + _ = i + var l int + _ = l + if x.unknownFields != nil { + i -= len(x.unknownFields) + copy(dAtA[i:], x.unknownFields) + } + if x.TopicId != 0 { + i = runtime.EncodeVarint(dAtA, i, uint64(x.TopicId)) + i-- + dAtA[i] = 0x8 + } + if input.Buf != nil { + input.Buf = append(input.Buf, dAtA...) + } else { + input.Buf = dAtA + } + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { + x := input.Message.Interface().(*GetActiveReputersForTopicRequest) + if x == nil { + return protoiface.UnmarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Flags: input.Flags, + }, nil + } + options := runtime.UnmarshalInputToOptions(input) + _ = options + dAtA := input.Buf + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: GetActiveReputersForTopicRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: GetActiveReputersForTopicRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field TopicId", wireType) + } + x.TopicId = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + x.TopicId |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + default: + iNdEx = preIndex + skippy, err := runtime.Skip(dAtA[iNdEx:]) + if err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if (iNdEx + skippy) > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + if !options.DiscardUnknown { + x.unknownFields = append(x.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + } + iNdEx += skippy + } + } + + if iNdEx > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, nil + } + return &protoiface.Methods{ + NoUnkeyedLiterals: struct{}{}, + Flags: protoiface.SupportMarshalDeterministic | protoiface.SupportUnmarshalDiscardUnknown, + Size: size, + Marshal: marshal, + Unmarshal: unmarshal, + Merge: nil, + CheckInitialized: nil, + } +} + +var _ protoreflect.List = (*_GetActiveReputersForTopicResponse_1_list)(nil) + +type _GetActiveReputersForTopicResponse_1_list struct { + list *[]string +} + +func (x *_GetActiveReputersForTopicResponse_1_list) Len() int { + if x.list == nil { + return 0 + } + return len(*x.list) +} + +func (x *_GetActiveReputersForTopicResponse_1_list) Get(i int) protoreflect.Value { + return protoreflect.ValueOfString((*x.list)[i]) +} + +func (x *_GetActiveReputersForTopicResponse_1_list) Set(i int, value protoreflect.Value) { + valueUnwrapped := value.String() + concreteValue := valueUnwrapped + (*x.list)[i] = concreteValue +} + +func (x *_GetActiveReputersForTopicResponse_1_list) Append(value protoreflect.Value) { + valueUnwrapped := value.String() + concreteValue := valueUnwrapped + *x.list = append(*x.list, concreteValue) +} + +func (x *_GetActiveReputersForTopicResponse_1_list) AppendMutable() protoreflect.Value { + panic(fmt.Errorf("AppendMutable can not be called on message GetActiveReputersForTopicResponse at list field Reputers as it is not of Message kind")) +} + +func (x *_GetActiveReputersForTopicResponse_1_list) Truncate(n int) { + *x.list = (*x.list)[:n] +} + +func (x *_GetActiveReputersForTopicResponse_1_list) NewElement() protoreflect.Value { + v := "" + return protoreflect.ValueOfString(v) +} + +func (x *_GetActiveReputersForTopicResponse_1_list) IsValid() bool { + return x.list != nil +} + +var ( + md_GetActiveReputersForTopicResponse protoreflect.MessageDescriptor + fd_GetActiveReputersForTopicResponse_reputers protoreflect.FieldDescriptor +) + +func init() { + file_emissions_v8_query_proto_init() + md_GetActiveReputersForTopicResponse = File_emissions_v8_query_proto.Messages().ByName("GetActiveReputersForTopicResponse") + fd_GetActiveReputersForTopicResponse_reputers = md_GetActiveReputersForTopicResponse.Fields().ByName("reputers") +} + +var _ protoreflect.Message = (*fastReflection_GetActiveReputersForTopicResponse)(nil) + +type fastReflection_GetActiveReputersForTopicResponse GetActiveReputersForTopicResponse + +func (x *GetActiveReputersForTopicResponse) ProtoReflect() protoreflect.Message { + return (*fastReflection_GetActiveReputersForTopicResponse)(x) +} + +func (x *GetActiveReputersForTopicResponse) slowProtoReflect() protoreflect.Message { + mi := &file_emissions_v8_query_proto_msgTypes[201] + 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) +} + +var _fastReflection_GetActiveReputersForTopicResponse_messageType fastReflection_GetActiveReputersForTopicResponse_messageType +var _ protoreflect.MessageType = fastReflection_GetActiveReputersForTopicResponse_messageType{} + +type fastReflection_GetActiveReputersForTopicResponse_messageType struct{} + +func (x fastReflection_GetActiveReputersForTopicResponse_messageType) Zero() protoreflect.Message { + return (*fastReflection_GetActiveReputersForTopicResponse)(nil) +} +func (x fastReflection_GetActiveReputersForTopicResponse_messageType) New() protoreflect.Message { + return new(fastReflection_GetActiveReputersForTopicResponse) +} +func (x fastReflection_GetActiveReputersForTopicResponse_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_GetActiveReputersForTopicResponse +} + +// Descriptor returns message descriptor, which contains only the protobuf +// type information for the message. +func (x *fastReflection_GetActiveReputersForTopicResponse) Descriptor() protoreflect.MessageDescriptor { + return md_GetActiveReputersForTopicResponse +} + +// Type returns the message type, which encapsulates both Go and protobuf +// type information. If the Go type information is not needed, +// it is recommended that the message descriptor be used instead. +func (x *fastReflection_GetActiveReputersForTopicResponse) Type() protoreflect.MessageType { + return _fastReflection_GetActiveReputersForTopicResponse_messageType +} + +// New returns a newly allocated and mutable empty message. +func (x *fastReflection_GetActiveReputersForTopicResponse) New() protoreflect.Message { + return new(fastReflection_GetActiveReputersForTopicResponse) +} + +// Interface unwraps the message reflection interface and +// returns the underlying ProtoMessage interface. +func (x *fastReflection_GetActiveReputersForTopicResponse) Interface() protoreflect.ProtoMessage { + return (*GetActiveReputersForTopicResponse)(x) +} + +// Range iterates over every populated field in an undefined order, +// calling f for each field descriptor and value encountered. +// Range returns immediately if f returns false. +// While iterating, mutating operations may only be performed +// on the current field descriptor. +func (x *fastReflection_GetActiveReputersForTopicResponse) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { + if len(x.Reputers) != 0 { + value := protoreflect.ValueOfList(&_GetActiveReputersForTopicResponse_1_list{list: &x.Reputers}) + if !f(fd_GetActiveReputersForTopicResponse_reputers, value) { + return + } + } +} + +// Has reports whether a field is populated. +// +// Some fields have the property of nullability where it is possible to +// distinguish between the default value of a field and whether the field +// was explicitly populated with the default value. Singular message fields, +// member fields of a oneof, and proto2 scalar fields are nullable. Such +// fields are populated only if explicitly set. +// +// In other cases (aside from the nullable cases above), +// a proto3 scalar field is populated if it contains a non-zero value, and +// a repeated field is populated if it is non-empty. +func (x *fastReflection_GetActiveReputersForTopicResponse) Has(fd protoreflect.FieldDescriptor) bool { + switch fd.FullName() { + case "emissions.v8.GetActiveReputersForTopicResponse.reputers": + return len(x.Reputers) != 0 + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetActiveReputersForTopicResponse")) + } + panic(fmt.Errorf("message emissions.v8.GetActiveReputersForTopicResponse does not contain field %s", fd.FullName())) + } +} + +// Clear clears the field such that a subsequent Has call reports false. +// +// Clearing an extension field clears both the extension type and value +// associated with the given field number. +// +// Clear is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetActiveReputersForTopicResponse) Clear(fd protoreflect.FieldDescriptor) { + switch fd.FullName() { + case "emissions.v8.GetActiveReputersForTopicResponse.reputers": + x.Reputers = nil + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetActiveReputersForTopicResponse")) + } + panic(fmt.Errorf("message emissions.v8.GetActiveReputersForTopicResponse does not contain field %s", fd.FullName())) + } +} + +// Get retrieves the value for a field. +// +// For unpopulated scalars, it returns the default value, where +// the default value of a bytes scalar is guaranteed to be a copy. +// For unpopulated composite types, it returns an empty, read-only view +// of the value; to obtain a mutable reference, use Mutable. +func (x *fastReflection_GetActiveReputersForTopicResponse) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { + switch descriptor.FullName() { + case "emissions.v8.GetActiveReputersForTopicResponse.reputers": + if len(x.Reputers) == 0 { + return protoreflect.ValueOfList(&_GetActiveReputersForTopicResponse_1_list{}) + } + listValue := &_GetActiveReputersForTopicResponse_1_list{list: &x.Reputers} + return protoreflect.ValueOfList(listValue) + default: + if descriptor.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetActiveReputersForTopicResponse")) + } + panic(fmt.Errorf("message emissions.v8.GetActiveReputersForTopicResponse does not contain field %s", descriptor.FullName())) + } +} + +// Set stores the value for a field. +// +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType. +// When setting a composite type, it is unspecified whether the stored value +// aliases the source's memory in any way. If the composite value is an +// empty, read-only value, then it panics. +// +// Set is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetActiveReputersForTopicResponse) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { + switch fd.FullName() { + case "emissions.v8.GetActiveReputersForTopicResponse.reputers": + lv := value.List() + clv := lv.(*_GetActiveReputersForTopicResponse_1_list) + x.Reputers = *clv.list + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetActiveReputersForTopicResponse")) + } + panic(fmt.Errorf("message emissions.v8.GetActiveReputersForTopicResponse does not contain field %s", fd.FullName())) + } +} + +// Mutable returns a mutable reference to a composite type. +// +// If the field is unpopulated, it may allocate a composite value. +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType +// if not already stored. +// It panics if the field does not contain a composite type. +// +// Mutable is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetActiveReputersForTopicResponse) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.GetActiveReputersForTopicResponse.reputers": + if x.Reputers == nil { + x.Reputers = []string{} + } + value := &_GetActiveReputersForTopicResponse_1_list{list: &x.Reputers} + return protoreflect.ValueOfList(value) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetActiveReputersForTopicResponse")) + } + panic(fmt.Errorf("message emissions.v8.GetActiveReputersForTopicResponse does not contain field %s", fd.FullName())) + } +} + +// NewField returns a new value that is assignable to the field +// for the given descriptor. For scalars, this returns the default value. +// For lists, maps, and messages, this returns a new, empty, mutable value. +func (x *fastReflection_GetActiveReputersForTopicResponse) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.GetActiveReputersForTopicResponse.reputers": + list := []string{} + return protoreflect.ValueOfList(&_GetActiveReputersForTopicResponse_1_list{list: &list}) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetActiveReputersForTopicResponse")) + } + panic(fmt.Errorf("message emissions.v8.GetActiveReputersForTopicResponse does not contain field %s", fd.FullName())) + } +} + +// WhichOneof reports which field within the oneof is populated, +// returning nil if none are populated. +// It panics if the oneof descriptor does not belong to this message. +func (x *fastReflection_GetActiveReputersForTopicResponse) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { + switch d.FullName() { + default: + panic(fmt.Errorf("%s is not a oneof field in emissions.v8.GetActiveReputersForTopicResponse", d.FullName())) + } + panic("unreachable") +} + +// GetUnknown retrieves the entire list of unknown fields. +// The caller may only mutate the contents of the RawFields +// if the mutated bytes are stored back into the message with SetUnknown. +func (x *fastReflection_GetActiveReputersForTopicResponse) GetUnknown() protoreflect.RawFields { + return x.unknownFields +} + +// SetUnknown stores an entire list of unknown fields. +// The raw fields must be syntactically valid according to the wire format. +// An implementation may panic if this is not the case. +// Once stored, the caller must not mutate the content of the RawFields. +// An empty RawFields may be passed to clear the fields. +// +// SetUnknown is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetActiveReputersForTopicResponse) SetUnknown(fields protoreflect.RawFields) { + x.unknownFields = fields +} + +// IsValid reports whether the message is valid. +// +// An invalid message is an empty, read-only value. +// +// An invalid message often corresponds to a nil pointer of the concrete +// message type, but the details are implementation dependent. +// Validity is not part of the protobuf data model, and may not +// be preserved in marshaling or other operations. +func (x *fastReflection_GetActiveReputersForTopicResponse) IsValid() bool { + return x != nil +} + +// ProtoMethods returns optional fastReflectionFeature-path implementations of various operations. +// This method may return nil. +// +// The returned methods type is identical to +// "google.golang.org/protobuf/runtime/protoiface".Methods. +// Consult the protoiface package documentation for details. +func (x *fastReflection_GetActiveReputersForTopicResponse) ProtoMethods() *protoiface.Methods { + size := func(input protoiface.SizeInput) protoiface.SizeOutput { + x := input.Message.Interface().(*GetActiveReputersForTopicResponse) + if x == nil { + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: 0, + } + } + options := runtime.SizeInputToOptions(input) + _ = options + var n int + var l int + _ = l + if len(x.Reputers) > 0 { + for _, s := range x.Reputers { + l = len(s) + n += 1 + l + runtime.Sov(uint64(l)) + } + } + if x.unknownFields != nil { + n += len(x.unknownFields) + } + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: n, + } + } + + marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { + x := input.Message.Interface().(*GetActiveReputersForTopicResponse) + if x == nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + options := runtime.MarshalInputToOptions(input) + _ = options + size := options.Size(x) + dAtA := make([]byte, size) + i := len(dAtA) + _ = i + var l int + _ = l + if x.unknownFields != nil { + i -= len(x.unknownFields) + copy(dAtA[i:], x.unknownFields) + } + if len(x.Reputers) > 0 { + for iNdEx := len(x.Reputers) - 1; iNdEx >= 0; iNdEx-- { + i -= len(x.Reputers[iNdEx]) + copy(dAtA[i:], x.Reputers[iNdEx]) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.Reputers[iNdEx]))) + i-- + dAtA[i] = 0xa + } + } + if input.Buf != nil { + input.Buf = append(input.Buf, dAtA...) + } else { + input.Buf = dAtA + } + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { + x := input.Message.Interface().(*GetActiveReputersForTopicResponse) + if x == nil { + return protoiface.UnmarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Flags: input.Flags, + }, nil + } + options := runtime.UnmarshalInputToOptions(input) + _ = options + dAtA := input.Buf + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: GetActiveReputersForTopicResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: GetActiveReputersForTopicResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Reputers", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + x.Reputers = append(x.Reputers, string(dAtA[iNdEx:postIndex])) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := runtime.Skip(dAtA[iNdEx:]) + if err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if (iNdEx + skippy) > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + if !options.DiscardUnknown { + x.unknownFields = append(x.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + } + iNdEx += skippy + } + } + + if iNdEx > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, nil + } + return &protoiface.Methods{ + NoUnkeyedLiterals: struct{}{}, + Flags: protoiface.SupportMarshalDeterministic | protoiface.SupportUnmarshalDiscardUnknown, + Size: size, + Marshal: marshal, + Unmarshal: unmarshal, + Merge: nil, + CheckInitialized: nil, + } +} + +var ( + md_GetActiveForecastersForTopicRequest protoreflect.MessageDescriptor + fd_GetActiveForecastersForTopicRequest_topic_id protoreflect.FieldDescriptor +) + +func init() { + file_emissions_v8_query_proto_init() + md_GetActiveForecastersForTopicRequest = File_emissions_v8_query_proto.Messages().ByName("GetActiveForecastersForTopicRequest") + fd_GetActiveForecastersForTopicRequest_topic_id = md_GetActiveForecastersForTopicRequest.Fields().ByName("topic_id") +} + +var _ protoreflect.Message = (*fastReflection_GetActiveForecastersForTopicRequest)(nil) + +type fastReflection_GetActiveForecastersForTopicRequest GetActiveForecastersForTopicRequest + +func (x *GetActiveForecastersForTopicRequest) ProtoReflect() protoreflect.Message { + return (*fastReflection_GetActiveForecastersForTopicRequest)(x) +} + +func (x *GetActiveForecastersForTopicRequest) slowProtoReflect() protoreflect.Message { + mi := &file_emissions_v8_query_proto_msgTypes[202] + 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) +} + +var _fastReflection_GetActiveForecastersForTopicRequest_messageType fastReflection_GetActiveForecastersForTopicRequest_messageType +var _ protoreflect.MessageType = fastReflection_GetActiveForecastersForTopicRequest_messageType{} + +type fastReflection_GetActiveForecastersForTopicRequest_messageType struct{} + +func (x fastReflection_GetActiveForecastersForTopicRequest_messageType) Zero() protoreflect.Message { + return (*fastReflection_GetActiveForecastersForTopicRequest)(nil) +} +func (x fastReflection_GetActiveForecastersForTopicRequest_messageType) New() protoreflect.Message { + return new(fastReflection_GetActiveForecastersForTopicRequest) +} +func (x fastReflection_GetActiveForecastersForTopicRequest_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_GetActiveForecastersForTopicRequest +} + +// Descriptor returns message descriptor, which contains only the protobuf +// type information for the message. +func (x *fastReflection_GetActiveForecastersForTopicRequest) Descriptor() protoreflect.MessageDescriptor { + return md_GetActiveForecastersForTopicRequest +} + +// Type returns the message type, which encapsulates both Go and protobuf +// type information. If the Go type information is not needed, +// it is recommended that the message descriptor be used instead. +func (x *fastReflection_GetActiveForecastersForTopicRequest) Type() protoreflect.MessageType { + return _fastReflection_GetActiveForecastersForTopicRequest_messageType +} + +// New returns a newly allocated and mutable empty message. +func (x *fastReflection_GetActiveForecastersForTopicRequest) New() protoreflect.Message { + return new(fastReflection_GetActiveForecastersForTopicRequest) +} + +// Interface unwraps the message reflection interface and +// returns the underlying ProtoMessage interface. +func (x *fastReflection_GetActiveForecastersForTopicRequest) Interface() protoreflect.ProtoMessage { + return (*GetActiveForecastersForTopicRequest)(x) +} + +// Range iterates over every populated field in an undefined order, +// calling f for each field descriptor and value encountered. +// Range returns immediately if f returns false. +// While iterating, mutating operations may only be performed +// on the current field descriptor. +func (x *fastReflection_GetActiveForecastersForTopicRequest) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { + if x.TopicId != uint64(0) { + value := protoreflect.ValueOfUint64(x.TopicId) + if !f(fd_GetActiveForecastersForTopicRequest_topic_id, value) { + return + } + } +} + +// Has reports whether a field is populated. +// +// Some fields have the property of nullability where it is possible to +// distinguish between the default value of a field and whether the field +// was explicitly populated with the default value. Singular message fields, +// member fields of a oneof, and proto2 scalar fields are nullable. Such +// fields are populated only if explicitly set. +// +// In other cases (aside from the nullable cases above), +// a proto3 scalar field is populated if it contains a non-zero value, and +// a repeated field is populated if it is non-empty. +func (x *fastReflection_GetActiveForecastersForTopicRequest) Has(fd protoreflect.FieldDescriptor) bool { + switch fd.FullName() { + case "emissions.v8.GetActiveForecastersForTopicRequest.topic_id": + return x.TopicId != uint64(0) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetActiveForecastersForTopicRequest")) + } + panic(fmt.Errorf("message emissions.v8.GetActiveForecastersForTopicRequest does not contain field %s", fd.FullName())) + } +} + +// Clear clears the field such that a subsequent Has call reports false. +// +// Clearing an extension field clears both the extension type and value +// associated with the given field number. +// +// Clear is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetActiveForecastersForTopicRequest) Clear(fd protoreflect.FieldDescriptor) { + switch fd.FullName() { + case "emissions.v8.GetActiveForecastersForTopicRequest.topic_id": + x.TopicId = uint64(0) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetActiveForecastersForTopicRequest")) + } + panic(fmt.Errorf("message emissions.v8.GetActiveForecastersForTopicRequest does not contain field %s", fd.FullName())) + } +} + +// Get retrieves the value for a field. +// +// For unpopulated scalars, it returns the default value, where +// the default value of a bytes scalar is guaranteed to be a copy. +// For unpopulated composite types, it returns an empty, read-only view +// of the value; to obtain a mutable reference, use Mutable. +func (x *fastReflection_GetActiveForecastersForTopicRequest) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { + switch descriptor.FullName() { + case "emissions.v8.GetActiveForecastersForTopicRequest.topic_id": + value := x.TopicId + return protoreflect.ValueOfUint64(value) + default: + if descriptor.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetActiveForecastersForTopicRequest")) + } + panic(fmt.Errorf("message emissions.v8.GetActiveForecastersForTopicRequest does not contain field %s", descriptor.FullName())) + } +} + +// Set stores the value for a field. +// +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType. +// When setting a composite type, it is unspecified whether the stored value +// aliases the source's memory in any way. If the composite value is an +// empty, read-only value, then it panics. +// +// Set is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetActiveForecastersForTopicRequest) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { + switch fd.FullName() { + case "emissions.v8.GetActiveForecastersForTopicRequest.topic_id": + x.TopicId = value.Uint() + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetActiveForecastersForTopicRequest")) + } + panic(fmt.Errorf("message emissions.v8.GetActiveForecastersForTopicRequest does not contain field %s", fd.FullName())) + } +} + +// Mutable returns a mutable reference to a composite type. +// +// If the field is unpopulated, it may allocate a composite value. +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType +// if not already stored. +// It panics if the field does not contain a composite type. +// +// Mutable is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetActiveForecastersForTopicRequest) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.GetActiveForecastersForTopicRequest.topic_id": + panic(fmt.Errorf("field topic_id of message emissions.v8.GetActiveForecastersForTopicRequest is not mutable")) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetActiveForecastersForTopicRequest")) + } + panic(fmt.Errorf("message emissions.v8.GetActiveForecastersForTopicRequest does not contain field %s", fd.FullName())) + } +} + +// NewField returns a new value that is assignable to the field +// for the given descriptor. For scalars, this returns the default value. +// For lists, maps, and messages, this returns a new, empty, mutable value. +func (x *fastReflection_GetActiveForecastersForTopicRequest) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.GetActiveForecastersForTopicRequest.topic_id": + return protoreflect.ValueOfUint64(uint64(0)) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetActiveForecastersForTopicRequest")) + } + panic(fmt.Errorf("message emissions.v8.GetActiveForecastersForTopicRequest does not contain field %s", fd.FullName())) + } +} + +// WhichOneof reports which field within the oneof is populated, +// returning nil if none are populated. +// It panics if the oneof descriptor does not belong to this message. +func (x *fastReflection_GetActiveForecastersForTopicRequest) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { + switch d.FullName() { + default: + panic(fmt.Errorf("%s is not a oneof field in emissions.v8.GetActiveForecastersForTopicRequest", d.FullName())) + } + panic("unreachable") +} + +// GetUnknown retrieves the entire list of unknown fields. +// The caller may only mutate the contents of the RawFields +// if the mutated bytes are stored back into the message with SetUnknown. +func (x *fastReflection_GetActiveForecastersForTopicRequest) GetUnknown() protoreflect.RawFields { + return x.unknownFields +} + +// SetUnknown stores an entire list of unknown fields. +// The raw fields must be syntactically valid according to the wire format. +// An implementation may panic if this is not the case. +// Once stored, the caller must not mutate the content of the RawFields. +// An empty RawFields may be passed to clear the fields. +// +// SetUnknown is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetActiveForecastersForTopicRequest) SetUnknown(fields protoreflect.RawFields) { + x.unknownFields = fields +} + +// IsValid reports whether the message is valid. +// +// An invalid message is an empty, read-only value. +// +// An invalid message often corresponds to a nil pointer of the concrete +// message type, but the details are implementation dependent. +// Validity is not part of the protobuf data model, and may not +// be preserved in marshaling or other operations. +func (x *fastReflection_GetActiveForecastersForTopicRequest) IsValid() bool { + return x != nil +} + +// ProtoMethods returns optional fastReflectionFeature-path implementations of various operations. +// This method may return nil. +// +// The returned methods type is identical to +// "google.golang.org/protobuf/runtime/protoiface".Methods. +// Consult the protoiface package documentation for details. +func (x *fastReflection_GetActiveForecastersForTopicRequest) ProtoMethods() *protoiface.Methods { + size := func(input protoiface.SizeInput) protoiface.SizeOutput { + x := input.Message.Interface().(*GetActiveForecastersForTopicRequest) + if x == nil { + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: 0, + } + } + options := runtime.SizeInputToOptions(input) + _ = options + var n int + var l int + _ = l + if x.TopicId != 0 { + n += 1 + runtime.Sov(uint64(x.TopicId)) + } + if x.unknownFields != nil { + n += len(x.unknownFields) + } + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: n, + } + } + + marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { + x := input.Message.Interface().(*GetActiveForecastersForTopicRequest) + if x == nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + options := runtime.MarshalInputToOptions(input) + _ = options + size := options.Size(x) + dAtA := make([]byte, size) + i := len(dAtA) + _ = i + var l int + _ = l + if x.unknownFields != nil { + i -= len(x.unknownFields) + copy(dAtA[i:], x.unknownFields) + } + if x.TopicId != 0 { + i = runtime.EncodeVarint(dAtA, i, uint64(x.TopicId)) + i-- + dAtA[i] = 0x8 + } + if input.Buf != nil { + input.Buf = append(input.Buf, dAtA...) + } else { + input.Buf = dAtA + } + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { + x := input.Message.Interface().(*GetActiveForecastersForTopicRequest) + if x == nil { + return protoiface.UnmarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Flags: input.Flags, + }, nil + } + options := runtime.UnmarshalInputToOptions(input) + _ = options + dAtA := input.Buf + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: GetActiveForecastersForTopicRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: GetActiveForecastersForTopicRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field TopicId", wireType) + } + x.TopicId = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + x.TopicId |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + default: + iNdEx = preIndex + skippy, err := runtime.Skip(dAtA[iNdEx:]) + if err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if (iNdEx + skippy) > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + if !options.DiscardUnknown { + x.unknownFields = append(x.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + } + iNdEx += skippy + } + } + + if iNdEx > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, nil + } + return &protoiface.Methods{ + NoUnkeyedLiterals: struct{}{}, + Flags: protoiface.SupportMarshalDeterministic | protoiface.SupportUnmarshalDiscardUnknown, + Size: size, + Marshal: marshal, + Unmarshal: unmarshal, + Merge: nil, + CheckInitialized: nil, + } +} + +var _ protoreflect.List = (*_GetActiveForecastersForTopicResponse_1_list)(nil) + +type _GetActiveForecastersForTopicResponse_1_list struct { + list *[]string +} + +func (x *_GetActiveForecastersForTopicResponse_1_list) Len() int { + if x.list == nil { + return 0 + } + return len(*x.list) +} + +func (x *_GetActiveForecastersForTopicResponse_1_list) Get(i int) protoreflect.Value { + return protoreflect.ValueOfString((*x.list)[i]) +} + +func (x *_GetActiveForecastersForTopicResponse_1_list) Set(i int, value protoreflect.Value) { + valueUnwrapped := value.String() + concreteValue := valueUnwrapped + (*x.list)[i] = concreteValue +} + +func (x *_GetActiveForecastersForTopicResponse_1_list) Append(value protoreflect.Value) { + valueUnwrapped := value.String() + concreteValue := valueUnwrapped + *x.list = append(*x.list, concreteValue) +} + +func (x *_GetActiveForecastersForTopicResponse_1_list) AppendMutable() protoreflect.Value { + panic(fmt.Errorf("AppendMutable can not be called on message GetActiveForecastersForTopicResponse at list field Forecasters as it is not of Message kind")) +} + +func (x *_GetActiveForecastersForTopicResponse_1_list) Truncate(n int) { + *x.list = (*x.list)[:n] +} + +func (x *_GetActiveForecastersForTopicResponse_1_list) NewElement() protoreflect.Value { + v := "" + return protoreflect.ValueOfString(v) +} + +func (x *_GetActiveForecastersForTopicResponse_1_list) IsValid() bool { + return x.list != nil +} + +var ( + md_GetActiveForecastersForTopicResponse protoreflect.MessageDescriptor + fd_GetActiveForecastersForTopicResponse_forecasters protoreflect.FieldDescriptor +) + +func init() { + file_emissions_v8_query_proto_init() + md_GetActiveForecastersForTopicResponse = File_emissions_v8_query_proto.Messages().ByName("GetActiveForecastersForTopicResponse") + fd_GetActiveForecastersForTopicResponse_forecasters = md_GetActiveForecastersForTopicResponse.Fields().ByName("forecasters") +} + +var _ protoreflect.Message = (*fastReflection_GetActiveForecastersForTopicResponse)(nil) + +type fastReflection_GetActiveForecastersForTopicResponse GetActiveForecastersForTopicResponse + +func (x *GetActiveForecastersForTopicResponse) ProtoReflect() protoreflect.Message { + return (*fastReflection_GetActiveForecastersForTopicResponse)(x) +} + +func (x *GetActiveForecastersForTopicResponse) slowProtoReflect() protoreflect.Message { + mi := &file_emissions_v8_query_proto_msgTypes[203] + 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) +} + +var _fastReflection_GetActiveForecastersForTopicResponse_messageType fastReflection_GetActiveForecastersForTopicResponse_messageType +var _ protoreflect.MessageType = fastReflection_GetActiveForecastersForTopicResponse_messageType{} + +type fastReflection_GetActiveForecastersForTopicResponse_messageType struct{} + +func (x fastReflection_GetActiveForecastersForTopicResponse_messageType) Zero() protoreflect.Message { + return (*fastReflection_GetActiveForecastersForTopicResponse)(nil) +} +func (x fastReflection_GetActiveForecastersForTopicResponse_messageType) New() protoreflect.Message { + return new(fastReflection_GetActiveForecastersForTopicResponse) +} +func (x fastReflection_GetActiveForecastersForTopicResponse_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_GetActiveForecastersForTopicResponse +} + +// Descriptor returns message descriptor, which contains only the protobuf +// type information for the message. +func (x *fastReflection_GetActiveForecastersForTopicResponse) Descriptor() protoreflect.MessageDescriptor { + return md_GetActiveForecastersForTopicResponse +} + +// Type returns the message type, which encapsulates both Go and protobuf +// type information. If the Go type information is not needed, +// it is recommended that the message descriptor be used instead. +func (x *fastReflection_GetActiveForecastersForTopicResponse) Type() protoreflect.MessageType { + return _fastReflection_GetActiveForecastersForTopicResponse_messageType +} + +// New returns a newly allocated and mutable empty message. +func (x *fastReflection_GetActiveForecastersForTopicResponse) New() protoreflect.Message { + return new(fastReflection_GetActiveForecastersForTopicResponse) +} + +// Interface unwraps the message reflection interface and +// returns the underlying ProtoMessage interface. +func (x *fastReflection_GetActiveForecastersForTopicResponse) Interface() protoreflect.ProtoMessage { + return (*GetActiveForecastersForTopicResponse)(x) +} + +// Range iterates over every populated field in an undefined order, +// calling f for each field descriptor and value encountered. +// Range returns immediately if f returns false. +// While iterating, mutating operations may only be performed +// on the current field descriptor. +func (x *fastReflection_GetActiveForecastersForTopicResponse) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { + if len(x.Forecasters) != 0 { + value := protoreflect.ValueOfList(&_GetActiveForecastersForTopicResponse_1_list{list: &x.Forecasters}) + if !f(fd_GetActiveForecastersForTopicResponse_forecasters, value) { + return + } + } +} + +// Has reports whether a field is populated. +// +// Some fields have the property of nullability where it is possible to +// distinguish between the default value of a field and whether the field +// was explicitly populated with the default value. Singular message fields, +// member fields of a oneof, and proto2 scalar fields are nullable. Such +// fields are populated only if explicitly set. +// +// In other cases (aside from the nullable cases above), +// a proto3 scalar field is populated if it contains a non-zero value, and +// a repeated field is populated if it is non-empty. +func (x *fastReflection_GetActiveForecastersForTopicResponse) Has(fd protoreflect.FieldDescriptor) bool { + switch fd.FullName() { + case "emissions.v8.GetActiveForecastersForTopicResponse.forecasters": + return len(x.Forecasters) != 0 + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetActiveForecastersForTopicResponse")) + } + panic(fmt.Errorf("message emissions.v8.GetActiveForecastersForTopicResponse does not contain field %s", fd.FullName())) + } +} + +// Clear clears the field such that a subsequent Has call reports false. +// +// Clearing an extension field clears both the extension type and value +// associated with the given field number. +// +// Clear is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetActiveForecastersForTopicResponse) Clear(fd protoreflect.FieldDescriptor) { + switch fd.FullName() { + case "emissions.v8.GetActiveForecastersForTopicResponse.forecasters": + x.Forecasters = nil + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetActiveForecastersForTopicResponse")) + } + panic(fmt.Errorf("message emissions.v8.GetActiveForecastersForTopicResponse does not contain field %s", fd.FullName())) + } +} + +// Get retrieves the value for a field. +// +// For unpopulated scalars, it returns the default value, where +// the default value of a bytes scalar is guaranteed to be a copy. +// For unpopulated composite types, it returns an empty, read-only view +// of the value; to obtain a mutable reference, use Mutable. +func (x *fastReflection_GetActiveForecastersForTopicResponse) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { + switch descriptor.FullName() { + case "emissions.v8.GetActiveForecastersForTopicResponse.forecasters": + if len(x.Forecasters) == 0 { + return protoreflect.ValueOfList(&_GetActiveForecastersForTopicResponse_1_list{}) + } + listValue := &_GetActiveForecastersForTopicResponse_1_list{list: &x.Forecasters} + return protoreflect.ValueOfList(listValue) + default: + if descriptor.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetActiveForecastersForTopicResponse")) + } + panic(fmt.Errorf("message emissions.v8.GetActiveForecastersForTopicResponse does not contain field %s", descriptor.FullName())) + } +} + +// Set stores the value for a field. +// +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType. +// When setting a composite type, it is unspecified whether the stored value +// aliases the source's memory in any way. If the composite value is an +// empty, read-only value, then it panics. +// +// Set is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetActiveForecastersForTopicResponse) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { + switch fd.FullName() { + case "emissions.v8.GetActiveForecastersForTopicResponse.forecasters": + lv := value.List() + clv := lv.(*_GetActiveForecastersForTopicResponse_1_list) + x.Forecasters = *clv.list + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetActiveForecastersForTopicResponse")) + } + panic(fmt.Errorf("message emissions.v8.GetActiveForecastersForTopicResponse does not contain field %s", fd.FullName())) + } +} + +// Mutable returns a mutable reference to a composite type. +// +// If the field is unpopulated, it may allocate a composite value. +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType +// if not already stored. +// It panics if the field does not contain a composite type. +// +// Mutable is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetActiveForecastersForTopicResponse) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.GetActiveForecastersForTopicResponse.forecasters": + if x.Forecasters == nil { + x.Forecasters = []string{} + } + value := &_GetActiveForecastersForTopicResponse_1_list{list: &x.Forecasters} + return protoreflect.ValueOfList(value) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetActiveForecastersForTopicResponse")) + } + panic(fmt.Errorf("message emissions.v8.GetActiveForecastersForTopicResponse does not contain field %s", fd.FullName())) + } +} + +// NewField returns a new value that is assignable to the field +// for the given descriptor. For scalars, this returns the default value. +// For lists, maps, and messages, this returns a new, empty, mutable value. +func (x *fastReflection_GetActiveForecastersForTopicResponse) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.GetActiveForecastersForTopicResponse.forecasters": + list := []string{} + return protoreflect.ValueOfList(&_GetActiveForecastersForTopicResponse_1_list{list: &list}) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetActiveForecastersForTopicResponse")) + } + panic(fmt.Errorf("message emissions.v8.GetActiveForecastersForTopicResponse does not contain field %s", fd.FullName())) + } +} + +// WhichOneof reports which field within the oneof is populated, +// returning nil if none are populated. +// It panics if the oneof descriptor does not belong to this message. +func (x *fastReflection_GetActiveForecastersForTopicResponse) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { + switch d.FullName() { + default: + panic(fmt.Errorf("%s is not a oneof field in emissions.v8.GetActiveForecastersForTopicResponse", d.FullName())) + } + panic("unreachable") +} + +// GetUnknown retrieves the entire list of unknown fields. +// The caller may only mutate the contents of the RawFields +// if the mutated bytes are stored back into the message with SetUnknown. +func (x *fastReflection_GetActiveForecastersForTopicResponse) GetUnknown() protoreflect.RawFields { + return x.unknownFields +} + +// SetUnknown stores an entire list of unknown fields. +// The raw fields must be syntactically valid according to the wire format. +// An implementation may panic if this is not the case. +// Once stored, the caller must not mutate the content of the RawFields. +// An empty RawFields may be passed to clear the fields. +// +// SetUnknown is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetActiveForecastersForTopicResponse) SetUnknown(fields protoreflect.RawFields) { + x.unknownFields = fields +} + +// IsValid reports whether the message is valid. +// +// An invalid message is an empty, read-only value. +// +// An invalid message often corresponds to a nil pointer of the concrete +// message type, but the details are implementation dependent. +// Validity is not part of the protobuf data model, and may not +// be preserved in marshaling or other operations. +func (x *fastReflection_GetActiveForecastersForTopicResponse) IsValid() bool { + return x != nil +} + +// ProtoMethods returns optional fastReflectionFeature-path implementations of various operations. +// This method may return nil. +// +// The returned methods type is identical to +// "google.golang.org/protobuf/runtime/protoiface".Methods. +// Consult the protoiface package documentation for details. +func (x *fastReflection_GetActiveForecastersForTopicResponse) ProtoMethods() *protoiface.Methods { + size := func(input protoiface.SizeInput) protoiface.SizeOutput { + x := input.Message.Interface().(*GetActiveForecastersForTopicResponse) + if x == nil { + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: 0, + } + } + options := runtime.SizeInputToOptions(input) + _ = options + var n int + var l int + _ = l + if len(x.Forecasters) > 0 { + for _, s := range x.Forecasters { + l = len(s) + n += 1 + l + runtime.Sov(uint64(l)) + } + } + if x.unknownFields != nil { + n += len(x.unknownFields) + } + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: n, + } + } + + marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { + x := input.Message.Interface().(*GetActiveForecastersForTopicResponse) + if x == nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + options := runtime.MarshalInputToOptions(input) + _ = options + size := options.Size(x) + dAtA := make([]byte, size) + i := len(dAtA) + _ = i + var l int + _ = l + if x.unknownFields != nil { + i -= len(x.unknownFields) + copy(dAtA[i:], x.unknownFields) + } + if len(x.Forecasters) > 0 { + for iNdEx := len(x.Forecasters) - 1; iNdEx >= 0; iNdEx-- { + i -= len(x.Forecasters[iNdEx]) + copy(dAtA[i:], x.Forecasters[iNdEx]) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.Forecasters[iNdEx]))) + i-- + dAtA[i] = 0xa + } + } + if input.Buf != nil { + input.Buf = append(input.Buf, dAtA...) + } else { + input.Buf = dAtA + } + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { + x := input.Message.Interface().(*GetActiveForecastersForTopicResponse) + if x == nil { + return protoiface.UnmarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Flags: input.Flags, + }, nil + } + options := runtime.UnmarshalInputToOptions(input) + _ = options + dAtA := input.Buf + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: GetActiveForecastersForTopicResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: GetActiveForecastersForTopicResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Forecasters", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + x.Forecasters = append(x.Forecasters, string(dAtA[iNdEx:postIndex])) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := runtime.Skip(dAtA[iNdEx:]) + if err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if (iNdEx + skippy) > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + if !options.DiscardUnknown { + x.unknownFields = append(x.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + } + iNdEx += skippy + } + } + + if iNdEx > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, nil + } + return &protoiface.Methods{ + NoUnkeyedLiterals: struct{}{}, + Flags: protoiface.SupportMarshalDeterministic | protoiface.SupportUnmarshalDiscardUnknown, + Size: size, + Marshal: marshal, + Unmarshal: unmarshal, + Merge: nil, + CheckInitialized: nil, + } +} + +var ( + md_GetActiveInferersForTopicRequest protoreflect.MessageDescriptor + fd_GetActiveInferersForTopicRequest_topic_id protoreflect.FieldDescriptor +) + +func init() { + file_emissions_v8_query_proto_init() + md_GetActiveInferersForTopicRequest = File_emissions_v8_query_proto.Messages().ByName("GetActiveInferersForTopicRequest") + fd_GetActiveInferersForTopicRequest_topic_id = md_GetActiveInferersForTopicRequest.Fields().ByName("topic_id") +} + +var _ protoreflect.Message = (*fastReflection_GetActiveInferersForTopicRequest)(nil) + +type fastReflection_GetActiveInferersForTopicRequest GetActiveInferersForTopicRequest + +func (x *GetActiveInferersForTopicRequest) ProtoReflect() protoreflect.Message { + return (*fastReflection_GetActiveInferersForTopicRequest)(x) +} + +func (x *GetActiveInferersForTopicRequest) slowProtoReflect() protoreflect.Message { + mi := &file_emissions_v8_query_proto_msgTypes[204] + 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) +} + +var _fastReflection_GetActiveInferersForTopicRequest_messageType fastReflection_GetActiveInferersForTopicRequest_messageType +var _ protoreflect.MessageType = fastReflection_GetActiveInferersForTopicRequest_messageType{} + +type fastReflection_GetActiveInferersForTopicRequest_messageType struct{} + +func (x fastReflection_GetActiveInferersForTopicRequest_messageType) Zero() protoreflect.Message { + return (*fastReflection_GetActiveInferersForTopicRequest)(nil) +} +func (x fastReflection_GetActiveInferersForTopicRequest_messageType) New() protoreflect.Message { + return new(fastReflection_GetActiveInferersForTopicRequest) +} +func (x fastReflection_GetActiveInferersForTopicRequest_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_GetActiveInferersForTopicRequest +} + +// Descriptor returns message descriptor, which contains only the protobuf +// type information for the message. +func (x *fastReflection_GetActiveInferersForTopicRequest) Descriptor() protoreflect.MessageDescriptor { + return md_GetActiveInferersForTopicRequest +} + +// Type returns the message type, which encapsulates both Go and protobuf +// type information. If the Go type information is not needed, +// it is recommended that the message descriptor be used instead. +func (x *fastReflection_GetActiveInferersForTopicRequest) Type() protoreflect.MessageType { + return _fastReflection_GetActiveInferersForTopicRequest_messageType +} + +// New returns a newly allocated and mutable empty message. +func (x *fastReflection_GetActiveInferersForTopicRequest) New() protoreflect.Message { + return new(fastReflection_GetActiveInferersForTopicRequest) +} + +// Interface unwraps the message reflection interface and +// returns the underlying ProtoMessage interface. +func (x *fastReflection_GetActiveInferersForTopicRequest) Interface() protoreflect.ProtoMessage { + return (*GetActiveInferersForTopicRequest)(x) +} + +// Range iterates over every populated field in an undefined order, +// calling f for each field descriptor and value encountered. +// Range returns immediately if f returns false. +// While iterating, mutating operations may only be performed +// on the current field descriptor. +func (x *fastReflection_GetActiveInferersForTopicRequest) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { + if x.TopicId != uint64(0) { + value := protoreflect.ValueOfUint64(x.TopicId) + if !f(fd_GetActiveInferersForTopicRequest_topic_id, value) { + return + } + } +} + +// Has reports whether a field is populated. +// +// Some fields have the property of nullability where it is possible to +// distinguish between the default value of a field and whether the field +// was explicitly populated with the default value. Singular message fields, +// member fields of a oneof, and proto2 scalar fields are nullable. Such +// fields are populated only if explicitly set. +// +// In other cases (aside from the nullable cases above), +// a proto3 scalar field is populated if it contains a non-zero value, and +// a repeated field is populated if it is non-empty. +func (x *fastReflection_GetActiveInferersForTopicRequest) Has(fd protoreflect.FieldDescriptor) bool { + switch fd.FullName() { + case "emissions.v8.GetActiveInferersForTopicRequest.topic_id": + return x.TopicId != uint64(0) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetActiveInferersForTopicRequest")) + } + panic(fmt.Errorf("message emissions.v8.GetActiveInferersForTopicRequest does not contain field %s", fd.FullName())) + } +} + +// Clear clears the field such that a subsequent Has call reports false. +// +// Clearing an extension field clears both the extension type and value +// associated with the given field number. +// +// Clear is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetActiveInferersForTopicRequest) Clear(fd protoreflect.FieldDescriptor) { + switch fd.FullName() { + case "emissions.v8.GetActiveInferersForTopicRequest.topic_id": + x.TopicId = uint64(0) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetActiveInferersForTopicRequest")) + } + panic(fmt.Errorf("message emissions.v8.GetActiveInferersForTopicRequest does not contain field %s", fd.FullName())) + } +} + +// Get retrieves the value for a field. +// +// For unpopulated scalars, it returns the default value, where +// the default value of a bytes scalar is guaranteed to be a copy. +// For unpopulated composite types, it returns an empty, read-only view +// of the value; to obtain a mutable reference, use Mutable. +func (x *fastReflection_GetActiveInferersForTopicRequest) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { + switch descriptor.FullName() { + case "emissions.v8.GetActiveInferersForTopicRequest.topic_id": + value := x.TopicId + return protoreflect.ValueOfUint64(value) + default: + if descriptor.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetActiveInferersForTopicRequest")) + } + panic(fmt.Errorf("message emissions.v8.GetActiveInferersForTopicRequest does not contain field %s", descriptor.FullName())) + } +} + +// Set stores the value for a field. +// +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType. +// When setting a composite type, it is unspecified whether the stored value +// aliases the source's memory in any way. If the composite value is an +// empty, read-only value, then it panics. +// +// Set is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetActiveInferersForTopicRequest) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { + switch fd.FullName() { + case "emissions.v8.GetActiveInferersForTopicRequest.topic_id": + x.TopicId = value.Uint() + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetActiveInferersForTopicRequest")) + } + panic(fmt.Errorf("message emissions.v8.GetActiveInferersForTopicRequest does not contain field %s", fd.FullName())) + } +} + +// Mutable returns a mutable reference to a composite type. +// +// If the field is unpopulated, it may allocate a composite value. +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType +// if not already stored. +// It panics if the field does not contain a composite type. +// +// Mutable is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetActiveInferersForTopicRequest) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.GetActiveInferersForTopicRequest.topic_id": + panic(fmt.Errorf("field topic_id of message emissions.v8.GetActiveInferersForTopicRequest is not mutable")) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetActiveInferersForTopicRequest")) + } + panic(fmt.Errorf("message emissions.v8.GetActiveInferersForTopicRequest does not contain field %s", fd.FullName())) + } +} + +// NewField returns a new value that is assignable to the field +// for the given descriptor. For scalars, this returns the default value. +// For lists, maps, and messages, this returns a new, empty, mutable value. +func (x *fastReflection_GetActiveInferersForTopicRequest) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.GetActiveInferersForTopicRequest.topic_id": + return protoreflect.ValueOfUint64(uint64(0)) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetActiveInferersForTopicRequest")) + } + panic(fmt.Errorf("message emissions.v8.GetActiveInferersForTopicRequest does not contain field %s", fd.FullName())) + } +} + +// WhichOneof reports which field within the oneof is populated, +// returning nil if none are populated. +// It panics if the oneof descriptor does not belong to this message. +func (x *fastReflection_GetActiveInferersForTopicRequest) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { + switch d.FullName() { + default: + panic(fmt.Errorf("%s is not a oneof field in emissions.v8.GetActiveInferersForTopicRequest", d.FullName())) + } + panic("unreachable") +} + +// GetUnknown retrieves the entire list of unknown fields. +// The caller may only mutate the contents of the RawFields +// if the mutated bytes are stored back into the message with SetUnknown. +func (x *fastReflection_GetActiveInferersForTopicRequest) GetUnknown() protoreflect.RawFields { + return x.unknownFields +} + +// SetUnknown stores an entire list of unknown fields. +// The raw fields must be syntactically valid according to the wire format. +// An implementation may panic if this is not the case. +// Once stored, the caller must not mutate the content of the RawFields. +// An empty RawFields may be passed to clear the fields. +// +// SetUnknown is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetActiveInferersForTopicRequest) SetUnknown(fields protoreflect.RawFields) { + x.unknownFields = fields +} + +// IsValid reports whether the message is valid. +// +// An invalid message is an empty, read-only value. +// +// An invalid message often corresponds to a nil pointer of the concrete +// message type, but the details are implementation dependent. +// Validity is not part of the protobuf data model, and may not +// be preserved in marshaling or other operations. +func (x *fastReflection_GetActiveInferersForTopicRequest) IsValid() bool { + return x != nil +} + +// ProtoMethods returns optional fastReflectionFeature-path implementations of various operations. +// This method may return nil. +// +// The returned methods type is identical to +// "google.golang.org/protobuf/runtime/protoiface".Methods. +// Consult the protoiface package documentation for details. +func (x *fastReflection_GetActiveInferersForTopicRequest) ProtoMethods() *protoiface.Methods { + size := func(input protoiface.SizeInput) protoiface.SizeOutput { + x := input.Message.Interface().(*GetActiveInferersForTopicRequest) + if x == nil { + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: 0, + } + } + options := runtime.SizeInputToOptions(input) + _ = options + var n int + var l int + _ = l + if x.TopicId != 0 { + n += 1 + runtime.Sov(uint64(x.TopicId)) + } + if x.unknownFields != nil { + n += len(x.unknownFields) + } + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: n, + } + } + + marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { + x := input.Message.Interface().(*GetActiveInferersForTopicRequest) + if x == nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + options := runtime.MarshalInputToOptions(input) + _ = options + size := options.Size(x) + dAtA := make([]byte, size) + i := len(dAtA) + _ = i + var l int + _ = l + if x.unknownFields != nil { + i -= len(x.unknownFields) + copy(dAtA[i:], x.unknownFields) + } + if x.TopicId != 0 { + i = runtime.EncodeVarint(dAtA, i, uint64(x.TopicId)) + i-- + dAtA[i] = 0x8 + } + if input.Buf != nil { + input.Buf = append(input.Buf, dAtA...) + } else { + input.Buf = dAtA + } + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { + x := input.Message.Interface().(*GetActiveInferersForTopicRequest) + if x == nil { + return protoiface.UnmarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Flags: input.Flags, + }, nil + } + options := runtime.UnmarshalInputToOptions(input) + _ = options + dAtA := input.Buf + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: GetActiveInferersForTopicRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: GetActiveInferersForTopicRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field TopicId", wireType) + } + x.TopicId = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + x.TopicId |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + default: + iNdEx = preIndex + skippy, err := runtime.Skip(dAtA[iNdEx:]) + if err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if (iNdEx + skippy) > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + if !options.DiscardUnknown { + x.unknownFields = append(x.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + } + iNdEx += skippy + } + } + + if iNdEx > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, nil + } + return &protoiface.Methods{ + NoUnkeyedLiterals: struct{}{}, + Flags: protoiface.SupportMarshalDeterministic | protoiface.SupportUnmarshalDiscardUnknown, + Size: size, + Marshal: marshal, + Unmarshal: unmarshal, + Merge: nil, + CheckInitialized: nil, + } +} + +var _ protoreflect.List = (*_GetActiveInferersForTopicResponse_1_list)(nil) + +type _GetActiveInferersForTopicResponse_1_list struct { + list *[]string +} + +func (x *_GetActiveInferersForTopicResponse_1_list) Len() int { + if x.list == nil { + return 0 + } + return len(*x.list) +} + +func (x *_GetActiveInferersForTopicResponse_1_list) Get(i int) protoreflect.Value { + return protoreflect.ValueOfString((*x.list)[i]) +} + +func (x *_GetActiveInferersForTopicResponse_1_list) Set(i int, value protoreflect.Value) { + valueUnwrapped := value.String() + concreteValue := valueUnwrapped + (*x.list)[i] = concreteValue +} + +func (x *_GetActiveInferersForTopicResponse_1_list) Append(value protoreflect.Value) { + valueUnwrapped := value.String() + concreteValue := valueUnwrapped + *x.list = append(*x.list, concreteValue) +} + +func (x *_GetActiveInferersForTopicResponse_1_list) AppendMutable() protoreflect.Value { + panic(fmt.Errorf("AppendMutable can not be called on message GetActiveInferersForTopicResponse at list field Inferers as it is not of Message kind")) +} + +func (x *_GetActiveInferersForTopicResponse_1_list) Truncate(n int) { + *x.list = (*x.list)[:n] +} + +func (x *_GetActiveInferersForTopicResponse_1_list) NewElement() protoreflect.Value { + v := "" + return protoreflect.ValueOfString(v) +} + +func (x *_GetActiveInferersForTopicResponse_1_list) IsValid() bool { + return x.list != nil +} + +var ( + md_GetActiveInferersForTopicResponse protoreflect.MessageDescriptor + fd_GetActiveInferersForTopicResponse_inferers protoreflect.FieldDescriptor +) + +func init() { + file_emissions_v8_query_proto_init() + md_GetActiveInferersForTopicResponse = File_emissions_v8_query_proto.Messages().ByName("GetActiveInferersForTopicResponse") + fd_GetActiveInferersForTopicResponse_inferers = md_GetActiveInferersForTopicResponse.Fields().ByName("inferers") +} + +var _ protoreflect.Message = (*fastReflection_GetActiveInferersForTopicResponse)(nil) + +type fastReflection_GetActiveInferersForTopicResponse GetActiveInferersForTopicResponse + +func (x *GetActiveInferersForTopicResponse) ProtoReflect() protoreflect.Message { + return (*fastReflection_GetActiveInferersForTopicResponse)(x) +} + +func (x *GetActiveInferersForTopicResponse) slowProtoReflect() protoreflect.Message { + mi := &file_emissions_v8_query_proto_msgTypes[205] + 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) +} + +var _fastReflection_GetActiveInferersForTopicResponse_messageType fastReflection_GetActiveInferersForTopicResponse_messageType +var _ protoreflect.MessageType = fastReflection_GetActiveInferersForTopicResponse_messageType{} + +type fastReflection_GetActiveInferersForTopicResponse_messageType struct{} + +func (x fastReflection_GetActiveInferersForTopicResponse_messageType) Zero() protoreflect.Message { + return (*fastReflection_GetActiveInferersForTopicResponse)(nil) +} +func (x fastReflection_GetActiveInferersForTopicResponse_messageType) New() protoreflect.Message { + return new(fastReflection_GetActiveInferersForTopicResponse) +} +func (x fastReflection_GetActiveInferersForTopicResponse_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_GetActiveInferersForTopicResponse +} + +// Descriptor returns message descriptor, which contains only the protobuf +// type information for the message. +func (x *fastReflection_GetActiveInferersForTopicResponse) Descriptor() protoreflect.MessageDescriptor { + return md_GetActiveInferersForTopicResponse +} + +// Type returns the message type, which encapsulates both Go and protobuf +// type information. If the Go type information is not needed, +// it is recommended that the message descriptor be used instead. +func (x *fastReflection_GetActiveInferersForTopicResponse) Type() protoreflect.MessageType { + return _fastReflection_GetActiveInferersForTopicResponse_messageType +} + +// New returns a newly allocated and mutable empty message. +func (x *fastReflection_GetActiveInferersForTopicResponse) New() protoreflect.Message { + return new(fastReflection_GetActiveInferersForTopicResponse) +} + +// Interface unwraps the message reflection interface and +// returns the underlying ProtoMessage interface. +func (x *fastReflection_GetActiveInferersForTopicResponse) Interface() protoreflect.ProtoMessage { + return (*GetActiveInferersForTopicResponse)(x) +} + +// Range iterates over every populated field in an undefined order, +// calling f for each field descriptor and value encountered. +// Range returns immediately if f returns false. +// While iterating, mutating operations may only be performed +// on the current field descriptor. +func (x *fastReflection_GetActiveInferersForTopicResponse) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { + if len(x.Inferers) != 0 { + value := protoreflect.ValueOfList(&_GetActiveInferersForTopicResponse_1_list{list: &x.Inferers}) + if !f(fd_GetActiveInferersForTopicResponse_inferers, value) { + return + } + } +} + +// Has reports whether a field is populated. +// +// Some fields have the property of nullability where it is possible to +// distinguish between the default value of a field and whether the field +// was explicitly populated with the default value. Singular message fields, +// member fields of a oneof, and proto2 scalar fields are nullable. Such +// fields are populated only if explicitly set. +// +// In other cases (aside from the nullable cases above), +// a proto3 scalar field is populated if it contains a non-zero value, and +// a repeated field is populated if it is non-empty. +func (x *fastReflection_GetActiveInferersForTopicResponse) Has(fd protoreflect.FieldDescriptor) bool { + switch fd.FullName() { + case "emissions.v8.GetActiveInferersForTopicResponse.inferers": + return len(x.Inferers) != 0 + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetActiveInferersForTopicResponse")) + } + panic(fmt.Errorf("message emissions.v8.GetActiveInferersForTopicResponse does not contain field %s", fd.FullName())) + } +} + +// Clear clears the field such that a subsequent Has call reports false. +// +// Clearing an extension field clears both the extension type and value +// associated with the given field number. +// +// Clear is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetActiveInferersForTopicResponse) Clear(fd protoreflect.FieldDescriptor) { + switch fd.FullName() { + case "emissions.v8.GetActiveInferersForTopicResponse.inferers": + x.Inferers = nil + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetActiveInferersForTopicResponse")) + } + panic(fmt.Errorf("message emissions.v8.GetActiveInferersForTopicResponse does not contain field %s", fd.FullName())) + } +} + +// Get retrieves the value for a field. +// +// For unpopulated scalars, it returns the default value, where +// the default value of a bytes scalar is guaranteed to be a copy. +// For unpopulated composite types, it returns an empty, read-only view +// of the value; to obtain a mutable reference, use Mutable. +func (x *fastReflection_GetActiveInferersForTopicResponse) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { + switch descriptor.FullName() { + case "emissions.v8.GetActiveInferersForTopicResponse.inferers": + if len(x.Inferers) == 0 { + return protoreflect.ValueOfList(&_GetActiveInferersForTopicResponse_1_list{}) + } + listValue := &_GetActiveInferersForTopicResponse_1_list{list: &x.Inferers} + return protoreflect.ValueOfList(listValue) + default: + if descriptor.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetActiveInferersForTopicResponse")) + } + panic(fmt.Errorf("message emissions.v8.GetActiveInferersForTopicResponse does not contain field %s", descriptor.FullName())) + } +} + +// Set stores the value for a field. +// +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType. +// When setting a composite type, it is unspecified whether the stored value +// aliases the source's memory in any way. If the composite value is an +// empty, read-only value, then it panics. +// +// Set is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetActiveInferersForTopicResponse) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { + switch fd.FullName() { + case "emissions.v8.GetActiveInferersForTopicResponse.inferers": + lv := value.List() + clv := lv.(*_GetActiveInferersForTopicResponse_1_list) + x.Inferers = *clv.list + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetActiveInferersForTopicResponse")) + } + panic(fmt.Errorf("message emissions.v8.GetActiveInferersForTopicResponse does not contain field %s", fd.FullName())) + } +} + +// Mutable returns a mutable reference to a composite type. +// +// If the field is unpopulated, it may allocate a composite value. +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType +// if not already stored. +// It panics if the field does not contain a composite type. +// +// Mutable is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetActiveInferersForTopicResponse) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.GetActiveInferersForTopicResponse.inferers": + if x.Inferers == nil { + x.Inferers = []string{} + } + value := &_GetActiveInferersForTopicResponse_1_list{list: &x.Inferers} + return protoreflect.ValueOfList(value) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetActiveInferersForTopicResponse")) + } + panic(fmt.Errorf("message emissions.v8.GetActiveInferersForTopicResponse does not contain field %s", fd.FullName())) + } +} + +// NewField returns a new value that is assignable to the field +// for the given descriptor. For scalars, this returns the default value. +// For lists, maps, and messages, this returns a new, empty, mutable value. +func (x *fastReflection_GetActiveInferersForTopicResponse) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.GetActiveInferersForTopicResponse.inferers": + list := []string{} + return protoreflect.ValueOfList(&_GetActiveInferersForTopicResponse_1_list{list: &list}) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetActiveInferersForTopicResponse")) + } + panic(fmt.Errorf("message emissions.v8.GetActiveInferersForTopicResponse does not contain field %s", fd.FullName())) + } +} + +// WhichOneof reports which field within the oneof is populated, +// returning nil if none are populated. +// It panics if the oneof descriptor does not belong to this message. +func (x *fastReflection_GetActiveInferersForTopicResponse) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { + switch d.FullName() { + default: + panic(fmt.Errorf("%s is not a oneof field in emissions.v8.GetActiveInferersForTopicResponse", d.FullName())) + } + panic("unreachable") +} + +// GetUnknown retrieves the entire list of unknown fields. +// The caller may only mutate the contents of the RawFields +// if the mutated bytes are stored back into the message with SetUnknown. +func (x *fastReflection_GetActiveInferersForTopicResponse) GetUnknown() protoreflect.RawFields { + return x.unknownFields +} + +// SetUnknown stores an entire list of unknown fields. +// The raw fields must be syntactically valid according to the wire format. +// An implementation may panic if this is not the case. +// Once stored, the caller must not mutate the content of the RawFields. +// An empty RawFields may be passed to clear the fields. +// +// SetUnknown is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetActiveInferersForTopicResponse) SetUnknown(fields protoreflect.RawFields) { + x.unknownFields = fields +} + +// IsValid reports whether the message is valid. +// +// An invalid message is an empty, read-only value. +// +// An invalid message often corresponds to a nil pointer of the concrete +// message type, but the details are implementation dependent. +// Validity is not part of the protobuf data model, and may not +// be preserved in marshaling or other operations. +func (x *fastReflection_GetActiveInferersForTopicResponse) IsValid() bool { + return x != nil +} + +// ProtoMethods returns optional fastReflectionFeature-path implementations of various operations. +// This method may return nil. +// +// The returned methods type is identical to +// "google.golang.org/protobuf/runtime/protoiface".Methods. +// Consult the protoiface package documentation for details. +func (x *fastReflection_GetActiveInferersForTopicResponse) ProtoMethods() *protoiface.Methods { + size := func(input protoiface.SizeInput) protoiface.SizeOutput { + x := input.Message.Interface().(*GetActiveInferersForTopicResponse) + if x == nil { + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: 0, + } + } + options := runtime.SizeInputToOptions(input) + _ = options + var n int + var l int + _ = l + if len(x.Inferers) > 0 { + for _, s := range x.Inferers { + l = len(s) + n += 1 + l + runtime.Sov(uint64(l)) + } + } + if x.unknownFields != nil { + n += len(x.unknownFields) + } + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: n, + } + } + + marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { + x := input.Message.Interface().(*GetActiveInferersForTopicResponse) + if x == nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + options := runtime.MarshalInputToOptions(input) + _ = options + size := options.Size(x) + dAtA := make([]byte, size) + i := len(dAtA) + _ = i + var l int + _ = l + if x.unknownFields != nil { + i -= len(x.unknownFields) + copy(dAtA[i:], x.unknownFields) + } + if len(x.Inferers) > 0 { + for iNdEx := len(x.Inferers) - 1; iNdEx >= 0; iNdEx-- { + i -= len(x.Inferers[iNdEx]) + copy(dAtA[i:], x.Inferers[iNdEx]) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.Inferers[iNdEx]))) + i-- + dAtA[i] = 0xa + } + } + if input.Buf != nil { + input.Buf = append(input.Buf, dAtA...) + } else { + input.Buf = dAtA + } + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { + x := input.Message.Interface().(*GetActiveInferersForTopicResponse) + if x == nil { + return protoiface.UnmarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Flags: input.Flags, + }, nil + } + options := runtime.UnmarshalInputToOptions(input) + _ = options + dAtA := input.Buf + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: GetActiveInferersForTopicResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: GetActiveInferersForTopicResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Inferers", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + x.Inferers = append(x.Inferers, string(dAtA[iNdEx:postIndex])) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := runtime.Skip(dAtA[iNdEx:]) + if err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if (iNdEx + skippy) > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + if !options.DiscardUnknown { + x.unknownFields = append(x.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + } + iNdEx += skippy + } + } + + if iNdEx > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, nil + } + return &protoiface.Methods{ + NoUnkeyedLiterals: struct{}{}, + Flags: protoiface.SupportMarshalDeterministic | protoiface.SupportUnmarshalDiscardUnknown, + Size: size, + Marshal: marshal, + Unmarshal: unmarshal, + Merge: nil, + CheckInitialized: nil, + } +} + +var ( + md_GetTopicInitialInfererEmaScoreRequest protoreflect.MessageDescriptor + fd_GetTopicInitialInfererEmaScoreRequest_topic_id protoreflect.FieldDescriptor +) + +func init() { + file_emissions_v8_query_proto_init() + md_GetTopicInitialInfererEmaScoreRequest = File_emissions_v8_query_proto.Messages().ByName("GetTopicInitialInfererEmaScoreRequest") + fd_GetTopicInitialInfererEmaScoreRequest_topic_id = md_GetTopicInitialInfererEmaScoreRequest.Fields().ByName("topic_id") +} + +var _ protoreflect.Message = (*fastReflection_GetTopicInitialInfererEmaScoreRequest)(nil) + +type fastReflection_GetTopicInitialInfererEmaScoreRequest GetTopicInitialInfererEmaScoreRequest + +func (x *GetTopicInitialInfererEmaScoreRequest) ProtoReflect() protoreflect.Message { + return (*fastReflection_GetTopicInitialInfererEmaScoreRequest)(x) +} + +func (x *GetTopicInitialInfererEmaScoreRequest) slowProtoReflect() protoreflect.Message { + mi := &file_emissions_v8_query_proto_msgTypes[206] + 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) +} + +var _fastReflection_GetTopicInitialInfererEmaScoreRequest_messageType fastReflection_GetTopicInitialInfererEmaScoreRequest_messageType +var _ protoreflect.MessageType = fastReflection_GetTopicInitialInfererEmaScoreRequest_messageType{} + +type fastReflection_GetTopicInitialInfererEmaScoreRequest_messageType struct{} + +func (x fastReflection_GetTopicInitialInfererEmaScoreRequest_messageType) Zero() protoreflect.Message { + return (*fastReflection_GetTopicInitialInfererEmaScoreRequest)(nil) +} +func (x fastReflection_GetTopicInitialInfererEmaScoreRequest_messageType) New() protoreflect.Message { + return new(fastReflection_GetTopicInitialInfererEmaScoreRequest) +} +func (x fastReflection_GetTopicInitialInfererEmaScoreRequest_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_GetTopicInitialInfererEmaScoreRequest +} + +// Descriptor returns message descriptor, which contains only the protobuf +// type information for the message. +func (x *fastReflection_GetTopicInitialInfererEmaScoreRequest) Descriptor() protoreflect.MessageDescriptor { + return md_GetTopicInitialInfererEmaScoreRequest +} + +// Type returns the message type, which encapsulates both Go and protobuf +// type information. If the Go type information is not needed, +// it is recommended that the message descriptor be used instead. +func (x *fastReflection_GetTopicInitialInfererEmaScoreRequest) Type() protoreflect.MessageType { + return _fastReflection_GetTopicInitialInfererEmaScoreRequest_messageType +} + +// New returns a newly allocated and mutable empty message. +func (x *fastReflection_GetTopicInitialInfererEmaScoreRequest) New() protoreflect.Message { + return new(fastReflection_GetTopicInitialInfererEmaScoreRequest) +} + +// Interface unwraps the message reflection interface and +// returns the underlying ProtoMessage interface. +func (x *fastReflection_GetTopicInitialInfererEmaScoreRequest) Interface() protoreflect.ProtoMessage { + return (*GetTopicInitialInfererEmaScoreRequest)(x) +} + +// Range iterates over every populated field in an undefined order, +// calling f for each field descriptor and value encountered. +// Range returns immediately if f returns false. +// While iterating, mutating operations may only be performed +// on the current field descriptor. +func (x *fastReflection_GetTopicInitialInfererEmaScoreRequest) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { + if x.TopicId != uint64(0) { + value := protoreflect.ValueOfUint64(x.TopicId) + if !f(fd_GetTopicInitialInfererEmaScoreRequest_topic_id, value) { + return + } + } +} + +// Has reports whether a field is populated. +// +// Some fields have the property of nullability where it is possible to +// distinguish between the default value of a field and whether the field +// was explicitly populated with the default value. Singular message fields, +// member fields of a oneof, and proto2 scalar fields are nullable. Such +// fields are populated only if explicitly set. +// +// In other cases (aside from the nullable cases above), +// a proto3 scalar field is populated if it contains a non-zero value, and +// a repeated field is populated if it is non-empty. +func (x *fastReflection_GetTopicInitialInfererEmaScoreRequest) Has(fd protoreflect.FieldDescriptor) bool { + switch fd.FullName() { + case "emissions.v8.GetTopicInitialInfererEmaScoreRequest.topic_id": + return x.TopicId != uint64(0) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetTopicInitialInfererEmaScoreRequest")) + } + panic(fmt.Errorf("message emissions.v8.GetTopicInitialInfererEmaScoreRequest does not contain field %s", fd.FullName())) + } +} + +// Clear clears the field such that a subsequent Has call reports false. +// +// Clearing an extension field clears both the extension type and value +// associated with the given field number. +// +// Clear is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetTopicInitialInfererEmaScoreRequest) Clear(fd protoreflect.FieldDescriptor) { + switch fd.FullName() { + case "emissions.v8.GetTopicInitialInfererEmaScoreRequest.topic_id": + x.TopicId = uint64(0) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetTopicInitialInfererEmaScoreRequest")) + } + panic(fmt.Errorf("message emissions.v8.GetTopicInitialInfererEmaScoreRequest does not contain field %s", fd.FullName())) + } +} + +// Get retrieves the value for a field. +// +// For unpopulated scalars, it returns the default value, where +// the default value of a bytes scalar is guaranteed to be a copy. +// For unpopulated composite types, it returns an empty, read-only view +// of the value; to obtain a mutable reference, use Mutable. +func (x *fastReflection_GetTopicInitialInfererEmaScoreRequest) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { + switch descriptor.FullName() { + case "emissions.v8.GetTopicInitialInfererEmaScoreRequest.topic_id": + value := x.TopicId + return protoreflect.ValueOfUint64(value) + default: + if descriptor.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetTopicInitialInfererEmaScoreRequest")) + } + panic(fmt.Errorf("message emissions.v8.GetTopicInitialInfererEmaScoreRequest does not contain field %s", descriptor.FullName())) + } +} + +// Set stores the value for a field. +// +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType. +// When setting a composite type, it is unspecified whether the stored value +// aliases the source's memory in any way. If the composite value is an +// empty, read-only value, then it panics. +// +// Set is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetTopicInitialInfererEmaScoreRequest) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { + switch fd.FullName() { + case "emissions.v8.GetTopicInitialInfererEmaScoreRequest.topic_id": + x.TopicId = value.Uint() + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetTopicInitialInfererEmaScoreRequest")) + } + panic(fmt.Errorf("message emissions.v8.GetTopicInitialInfererEmaScoreRequest does not contain field %s", fd.FullName())) + } +} + +// Mutable returns a mutable reference to a composite type. +// +// If the field is unpopulated, it may allocate a composite value. +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType +// if not already stored. +// It panics if the field does not contain a composite type. +// +// Mutable is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetTopicInitialInfererEmaScoreRequest) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.GetTopicInitialInfererEmaScoreRequest.topic_id": + panic(fmt.Errorf("field topic_id of message emissions.v8.GetTopicInitialInfererEmaScoreRequest is not mutable")) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetTopicInitialInfererEmaScoreRequest")) + } + panic(fmt.Errorf("message emissions.v8.GetTopicInitialInfererEmaScoreRequest does not contain field %s", fd.FullName())) + } +} + +// NewField returns a new value that is assignable to the field +// for the given descriptor. For scalars, this returns the default value. +// For lists, maps, and messages, this returns a new, empty, mutable value. +func (x *fastReflection_GetTopicInitialInfererEmaScoreRequest) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.GetTopicInitialInfererEmaScoreRequest.topic_id": + return protoreflect.ValueOfUint64(uint64(0)) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetTopicInitialInfererEmaScoreRequest")) + } + panic(fmt.Errorf("message emissions.v8.GetTopicInitialInfererEmaScoreRequest does not contain field %s", fd.FullName())) + } +} + +// WhichOneof reports which field within the oneof is populated, +// returning nil if none are populated. +// It panics if the oneof descriptor does not belong to this message. +func (x *fastReflection_GetTopicInitialInfererEmaScoreRequest) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { + switch d.FullName() { + default: + panic(fmt.Errorf("%s is not a oneof field in emissions.v8.GetTopicInitialInfererEmaScoreRequest", d.FullName())) + } + panic("unreachable") +} + +// GetUnknown retrieves the entire list of unknown fields. +// The caller may only mutate the contents of the RawFields +// if the mutated bytes are stored back into the message with SetUnknown. +func (x *fastReflection_GetTopicInitialInfererEmaScoreRequest) GetUnknown() protoreflect.RawFields { + return x.unknownFields +} + +// SetUnknown stores an entire list of unknown fields. +// The raw fields must be syntactically valid according to the wire format. +// An implementation may panic if this is not the case. +// Once stored, the caller must not mutate the content of the RawFields. +// An empty RawFields may be passed to clear the fields. +// +// SetUnknown is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetTopicInitialInfererEmaScoreRequest) SetUnknown(fields protoreflect.RawFields) { + x.unknownFields = fields +} + +// IsValid reports whether the message is valid. +// +// An invalid message is an empty, read-only value. +// +// An invalid message often corresponds to a nil pointer of the concrete +// message type, but the details are implementation dependent. +// Validity is not part of the protobuf data model, and may not +// be preserved in marshaling or other operations. +func (x *fastReflection_GetTopicInitialInfererEmaScoreRequest) IsValid() bool { + return x != nil +} + +// ProtoMethods returns optional fastReflectionFeature-path implementations of various operations. +// This method may return nil. +// +// The returned methods type is identical to +// "google.golang.org/protobuf/runtime/protoiface".Methods. +// Consult the protoiface package documentation for details. +func (x *fastReflection_GetTopicInitialInfererEmaScoreRequest) ProtoMethods() *protoiface.Methods { + size := func(input protoiface.SizeInput) protoiface.SizeOutput { + x := input.Message.Interface().(*GetTopicInitialInfererEmaScoreRequest) + if x == nil { + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: 0, + } + } + options := runtime.SizeInputToOptions(input) + _ = options + var n int + var l int + _ = l + if x.TopicId != 0 { + n += 1 + runtime.Sov(uint64(x.TopicId)) + } + if x.unknownFields != nil { + n += len(x.unknownFields) + } + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: n, + } + } + + marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { + x := input.Message.Interface().(*GetTopicInitialInfererEmaScoreRequest) + if x == nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + options := runtime.MarshalInputToOptions(input) + _ = options + size := options.Size(x) + dAtA := make([]byte, size) + i := len(dAtA) + _ = i + var l int + _ = l + if x.unknownFields != nil { + i -= len(x.unknownFields) + copy(dAtA[i:], x.unknownFields) + } + if x.TopicId != 0 { + i = runtime.EncodeVarint(dAtA, i, uint64(x.TopicId)) + i-- + dAtA[i] = 0x8 + } + if input.Buf != nil { + input.Buf = append(input.Buf, dAtA...) + } else { + input.Buf = dAtA + } + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { + x := input.Message.Interface().(*GetTopicInitialInfererEmaScoreRequest) + if x == nil { + return protoiface.UnmarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Flags: input.Flags, + }, nil + } + options := runtime.UnmarshalInputToOptions(input) + _ = options + dAtA := input.Buf + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: GetTopicInitialInfererEmaScoreRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: GetTopicInitialInfererEmaScoreRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field TopicId", wireType) + } + x.TopicId = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + x.TopicId |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + default: + iNdEx = preIndex + skippy, err := runtime.Skip(dAtA[iNdEx:]) + if err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if (iNdEx + skippy) > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + if !options.DiscardUnknown { + x.unknownFields = append(x.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + } + iNdEx += skippy + } + } + + if iNdEx > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, nil + } + return &protoiface.Methods{ + NoUnkeyedLiterals: struct{}{}, + Flags: protoiface.SupportMarshalDeterministic | protoiface.SupportUnmarshalDiscardUnknown, + Size: size, + Marshal: marshal, + Unmarshal: unmarshal, + Merge: nil, + CheckInitialized: nil, + } +} + +var ( + md_GetTopicInitialInfererEmaScoreResponse protoreflect.MessageDescriptor + fd_GetTopicInitialInfererEmaScoreResponse_score protoreflect.FieldDescriptor +) + +func init() { + file_emissions_v8_query_proto_init() + md_GetTopicInitialInfererEmaScoreResponse = File_emissions_v8_query_proto.Messages().ByName("GetTopicInitialInfererEmaScoreResponse") + fd_GetTopicInitialInfererEmaScoreResponse_score = md_GetTopicInitialInfererEmaScoreResponse.Fields().ByName("score") +} + +var _ protoreflect.Message = (*fastReflection_GetTopicInitialInfererEmaScoreResponse)(nil) + +type fastReflection_GetTopicInitialInfererEmaScoreResponse GetTopicInitialInfererEmaScoreResponse + +func (x *GetTopicInitialInfererEmaScoreResponse) ProtoReflect() protoreflect.Message { + return (*fastReflection_GetTopicInitialInfererEmaScoreResponse)(x) +} + +func (x *GetTopicInitialInfererEmaScoreResponse) slowProtoReflect() protoreflect.Message { + mi := &file_emissions_v8_query_proto_msgTypes[207] + 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) +} + +var _fastReflection_GetTopicInitialInfererEmaScoreResponse_messageType fastReflection_GetTopicInitialInfererEmaScoreResponse_messageType +var _ protoreflect.MessageType = fastReflection_GetTopicInitialInfererEmaScoreResponse_messageType{} + +type fastReflection_GetTopicInitialInfererEmaScoreResponse_messageType struct{} + +func (x fastReflection_GetTopicInitialInfererEmaScoreResponse_messageType) Zero() protoreflect.Message { + return (*fastReflection_GetTopicInitialInfererEmaScoreResponse)(nil) +} +func (x fastReflection_GetTopicInitialInfererEmaScoreResponse_messageType) New() protoreflect.Message { + return new(fastReflection_GetTopicInitialInfererEmaScoreResponse) +} +func (x fastReflection_GetTopicInitialInfererEmaScoreResponse_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_GetTopicInitialInfererEmaScoreResponse +} + +// Descriptor returns message descriptor, which contains only the protobuf +// type information for the message. +func (x *fastReflection_GetTopicInitialInfererEmaScoreResponse) Descriptor() protoreflect.MessageDescriptor { + return md_GetTopicInitialInfererEmaScoreResponse +} + +// Type returns the message type, which encapsulates both Go and protobuf +// type information. If the Go type information is not needed, +// it is recommended that the message descriptor be used instead. +func (x *fastReflection_GetTopicInitialInfererEmaScoreResponse) Type() protoreflect.MessageType { + return _fastReflection_GetTopicInitialInfererEmaScoreResponse_messageType +} + +// New returns a newly allocated and mutable empty message. +func (x *fastReflection_GetTopicInitialInfererEmaScoreResponse) New() protoreflect.Message { + return new(fastReflection_GetTopicInitialInfererEmaScoreResponse) +} + +// Interface unwraps the message reflection interface and +// returns the underlying ProtoMessage interface. +func (x *fastReflection_GetTopicInitialInfererEmaScoreResponse) Interface() protoreflect.ProtoMessage { + return (*GetTopicInitialInfererEmaScoreResponse)(x) +} + +// Range iterates over every populated field in an undefined order, +// calling f for each field descriptor and value encountered. +// Range returns immediately if f returns false. +// While iterating, mutating operations may only be performed +// on the current field descriptor. +func (x *fastReflection_GetTopicInitialInfererEmaScoreResponse) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { + if x.Score != "" { + value := protoreflect.ValueOfString(x.Score) + if !f(fd_GetTopicInitialInfererEmaScoreResponse_score, value) { + return + } + } +} + +// Has reports whether a field is populated. +// +// Some fields have the property of nullability where it is possible to +// distinguish between the default value of a field and whether the field +// was explicitly populated with the default value. Singular message fields, +// member fields of a oneof, and proto2 scalar fields are nullable. Such +// fields are populated only if explicitly set. +// +// In other cases (aside from the nullable cases above), +// a proto3 scalar field is populated if it contains a non-zero value, and +// a repeated field is populated if it is non-empty. +func (x *fastReflection_GetTopicInitialInfererEmaScoreResponse) Has(fd protoreflect.FieldDescriptor) bool { + switch fd.FullName() { + case "emissions.v8.GetTopicInitialInfererEmaScoreResponse.score": + return x.Score != "" + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetTopicInitialInfererEmaScoreResponse")) + } + panic(fmt.Errorf("message emissions.v8.GetTopicInitialInfererEmaScoreResponse does not contain field %s", fd.FullName())) + } +} + +// Clear clears the field such that a subsequent Has call reports false. +// +// Clearing an extension field clears both the extension type and value +// associated with the given field number. +// +// Clear is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetTopicInitialInfererEmaScoreResponse) Clear(fd protoreflect.FieldDescriptor) { + switch fd.FullName() { + case "emissions.v8.GetTopicInitialInfererEmaScoreResponse.score": + x.Score = "" + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetTopicInitialInfererEmaScoreResponse")) + } + panic(fmt.Errorf("message emissions.v8.GetTopicInitialInfererEmaScoreResponse does not contain field %s", fd.FullName())) + } +} + +// Get retrieves the value for a field. +// +// For unpopulated scalars, it returns the default value, where +// the default value of a bytes scalar is guaranteed to be a copy. +// For unpopulated composite types, it returns an empty, read-only view +// of the value; to obtain a mutable reference, use Mutable. +func (x *fastReflection_GetTopicInitialInfererEmaScoreResponse) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { + switch descriptor.FullName() { + case "emissions.v8.GetTopicInitialInfererEmaScoreResponse.score": + value := x.Score + return protoreflect.ValueOfString(value) + default: + if descriptor.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetTopicInitialInfererEmaScoreResponse")) + } + panic(fmt.Errorf("message emissions.v8.GetTopicInitialInfererEmaScoreResponse does not contain field %s", descriptor.FullName())) + } +} + +// Set stores the value for a field. +// +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType. +// When setting a composite type, it is unspecified whether the stored value +// aliases the source's memory in any way. If the composite value is an +// empty, read-only value, then it panics. +// +// Set is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetTopicInitialInfererEmaScoreResponse) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { + switch fd.FullName() { + case "emissions.v8.GetTopicInitialInfererEmaScoreResponse.score": + x.Score = value.Interface().(string) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetTopicInitialInfererEmaScoreResponse")) + } + panic(fmt.Errorf("message emissions.v8.GetTopicInitialInfererEmaScoreResponse does not contain field %s", fd.FullName())) + } +} + +// Mutable returns a mutable reference to a composite type. +// +// If the field is unpopulated, it may allocate a composite value. +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType +// if not already stored. +// It panics if the field does not contain a composite type. +// +// Mutable is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetTopicInitialInfererEmaScoreResponse) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.GetTopicInitialInfererEmaScoreResponse.score": + panic(fmt.Errorf("field score of message emissions.v8.GetTopicInitialInfererEmaScoreResponse is not mutable")) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetTopicInitialInfererEmaScoreResponse")) + } + panic(fmt.Errorf("message emissions.v8.GetTopicInitialInfererEmaScoreResponse does not contain field %s", fd.FullName())) + } +} + +// NewField returns a new value that is assignable to the field +// for the given descriptor. For scalars, this returns the default value. +// For lists, maps, and messages, this returns a new, empty, mutable value. +func (x *fastReflection_GetTopicInitialInfererEmaScoreResponse) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.GetTopicInitialInfererEmaScoreResponse.score": + return protoreflect.ValueOfString("") + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetTopicInitialInfererEmaScoreResponse")) + } + panic(fmt.Errorf("message emissions.v8.GetTopicInitialInfererEmaScoreResponse does not contain field %s", fd.FullName())) + } +} + +// WhichOneof reports which field within the oneof is populated, +// returning nil if none are populated. +// It panics if the oneof descriptor does not belong to this message. +func (x *fastReflection_GetTopicInitialInfererEmaScoreResponse) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { + switch d.FullName() { + default: + panic(fmt.Errorf("%s is not a oneof field in emissions.v8.GetTopicInitialInfererEmaScoreResponse", d.FullName())) + } + panic("unreachable") +} + +// GetUnknown retrieves the entire list of unknown fields. +// The caller may only mutate the contents of the RawFields +// if the mutated bytes are stored back into the message with SetUnknown. +func (x *fastReflection_GetTopicInitialInfererEmaScoreResponse) GetUnknown() protoreflect.RawFields { + return x.unknownFields +} + +// SetUnknown stores an entire list of unknown fields. +// The raw fields must be syntactically valid according to the wire format. +// An implementation may panic if this is not the case. +// Once stored, the caller must not mutate the content of the RawFields. +// An empty RawFields may be passed to clear the fields. +// +// SetUnknown is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetTopicInitialInfererEmaScoreResponse) SetUnknown(fields protoreflect.RawFields) { + x.unknownFields = fields +} + +// IsValid reports whether the message is valid. +// +// An invalid message is an empty, read-only value. +// +// An invalid message often corresponds to a nil pointer of the concrete +// message type, but the details are implementation dependent. +// Validity is not part of the protobuf data model, and may not +// be preserved in marshaling or other operations. +func (x *fastReflection_GetTopicInitialInfererEmaScoreResponse) IsValid() bool { + return x != nil +} + +// ProtoMethods returns optional fastReflectionFeature-path implementations of various operations. +// This method may return nil. +// +// The returned methods type is identical to +// "google.golang.org/protobuf/runtime/protoiface".Methods. +// Consult the protoiface package documentation for details. +func (x *fastReflection_GetTopicInitialInfererEmaScoreResponse) ProtoMethods() *protoiface.Methods { + size := func(input protoiface.SizeInput) protoiface.SizeOutput { + x := input.Message.Interface().(*GetTopicInitialInfererEmaScoreResponse) + if x == nil { + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: 0, + } + } + options := runtime.SizeInputToOptions(input) + _ = options + var n int + var l int + _ = l + l = len(x.Score) + if l > 0 { + n += 1 + l + runtime.Sov(uint64(l)) + } + if x.unknownFields != nil { + n += len(x.unknownFields) + } + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: n, + } + } + + marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { + x := input.Message.Interface().(*GetTopicInitialInfererEmaScoreResponse) + if x == nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + options := runtime.MarshalInputToOptions(input) + _ = options + size := options.Size(x) + dAtA := make([]byte, size) + i := len(dAtA) + _ = i + var l int + _ = l + if x.unknownFields != nil { + i -= len(x.unknownFields) + copy(dAtA[i:], x.unknownFields) + } + if len(x.Score) > 0 { + i -= len(x.Score) + copy(dAtA[i:], x.Score) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.Score))) + i-- + dAtA[i] = 0xa + } + if input.Buf != nil { + input.Buf = append(input.Buf, dAtA...) + } else { + input.Buf = dAtA + } + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { + x := input.Message.Interface().(*GetTopicInitialInfererEmaScoreResponse) + if x == nil { + return protoiface.UnmarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Flags: input.Flags, + }, nil + } + options := runtime.UnmarshalInputToOptions(input) + _ = options + dAtA := input.Buf + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: GetTopicInitialInfererEmaScoreResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: GetTopicInitialInfererEmaScoreResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Score", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + x.Score = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := runtime.Skip(dAtA[iNdEx:]) + if err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if (iNdEx + skippy) > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + if !options.DiscardUnknown { + x.unknownFields = append(x.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + } + iNdEx += skippy + } + } + + if iNdEx > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, nil + } + return &protoiface.Methods{ + NoUnkeyedLiterals: struct{}{}, + Flags: protoiface.SupportMarshalDeterministic | protoiface.SupportUnmarshalDiscardUnknown, + Size: size, + Marshal: marshal, + Unmarshal: unmarshal, + Merge: nil, + CheckInitialized: nil, + } +} + +var ( + md_GetTopicInitialForecasterEmaScoreRequest protoreflect.MessageDescriptor + fd_GetTopicInitialForecasterEmaScoreRequest_topic_id protoreflect.FieldDescriptor +) + +func init() { + file_emissions_v8_query_proto_init() + md_GetTopicInitialForecasterEmaScoreRequest = File_emissions_v8_query_proto.Messages().ByName("GetTopicInitialForecasterEmaScoreRequest") + fd_GetTopicInitialForecasterEmaScoreRequest_topic_id = md_GetTopicInitialForecasterEmaScoreRequest.Fields().ByName("topic_id") +} + +var _ protoreflect.Message = (*fastReflection_GetTopicInitialForecasterEmaScoreRequest)(nil) + +type fastReflection_GetTopicInitialForecasterEmaScoreRequest GetTopicInitialForecasterEmaScoreRequest + +func (x *GetTopicInitialForecasterEmaScoreRequest) ProtoReflect() protoreflect.Message { + return (*fastReflection_GetTopicInitialForecasterEmaScoreRequest)(x) +} + +func (x *GetTopicInitialForecasterEmaScoreRequest) slowProtoReflect() protoreflect.Message { + mi := &file_emissions_v8_query_proto_msgTypes[208] + 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) +} + +var _fastReflection_GetTopicInitialForecasterEmaScoreRequest_messageType fastReflection_GetTopicInitialForecasterEmaScoreRequest_messageType +var _ protoreflect.MessageType = fastReflection_GetTopicInitialForecasterEmaScoreRequest_messageType{} + +type fastReflection_GetTopicInitialForecasterEmaScoreRequest_messageType struct{} + +func (x fastReflection_GetTopicInitialForecasterEmaScoreRequest_messageType) Zero() protoreflect.Message { + return (*fastReflection_GetTopicInitialForecasterEmaScoreRequest)(nil) +} +func (x fastReflection_GetTopicInitialForecasterEmaScoreRequest_messageType) New() protoreflect.Message { + return new(fastReflection_GetTopicInitialForecasterEmaScoreRequest) +} +func (x fastReflection_GetTopicInitialForecasterEmaScoreRequest_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_GetTopicInitialForecasterEmaScoreRequest +} + +// Descriptor returns message descriptor, which contains only the protobuf +// type information for the message. +func (x *fastReflection_GetTopicInitialForecasterEmaScoreRequest) Descriptor() protoreflect.MessageDescriptor { + return md_GetTopicInitialForecasterEmaScoreRequest +} + +// Type returns the message type, which encapsulates both Go and protobuf +// type information. If the Go type information is not needed, +// it is recommended that the message descriptor be used instead. +func (x *fastReflection_GetTopicInitialForecasterEmaScoreRequest) Type() protoreflect.MessageType { + return _fastReflection_GetTopicInitialForecasterEmaScoreRequest_messageType +} + +// New returns a newly allocated and mutable empty message. +func (x *fastReflection_GetTopicInitialForecasterEmaScoreRequest) New() protoreflect.Message { + return new(fastReflection_GetTopicInitialForecasterEmaScoreRequest) +} + +// Interface unwraps the message reflection interface and +// returns the underlying ProtoMessage interface. +func (x *fastReflection_GetTopicInitialForecasterEmaScoreRequest) Interface() protoreflect.ProtoMessage { + return (*GetTopicInitialForecasterEmaScoreRequest)(x) +} + +// Range iterates over every populated field in an undefined order, +// calling f for each field descriptor and value encountered. +// Range returns immediately if f returns false. +// While iterating, mutating operations may only be performed +// on the current field descriptor. +func (x *fastReflection_GetTopicInitialForecasterEmaScoreRequest) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { + if x.TopicId != uint64(0) { + value := protoreflect.ValueOfUint64(x.TopicId) + if !f(fd_GetTopicInitialForecasterEmaScoreRequest_topic_id, value) { + return + } + } +} + +// Has reports whether a field is populated. +// +// Some fields have the property of nullability where it is possible to +// distinguish between the default value of a field and whether the field +// was explicitly populated with the default value. Singular message fields, +// member fields of a oneof, and proto2 scalar fields are nullable. Such +// fields are populated only if explicitly set. +// +// In other cases (aside from the nullable cases above), +// a proto3 scalar field is populated if it contains a non-zero value, and +// a repeated field is populated if it is non-empty. +func (x *fastReflection_GetTopicInitialForecasterEmaScoreRequest) Has(fd protoreflect.FieldDescriptor) bool { + switch fd.FullName() { + case "emissions.v8.GetTopicInitialForecasterEmaScoreRequest.topic_id": + return x.TopicId != uint64(0) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetTopicInitialForecasterEmaScoreRequest")) + } + panic(fmt.Errorf("message emissions.v8.GetTopicInitialForecasterEmaScoreRequest does not contain field %s", fd.FullName())) + } +} + +// Clear clears the field such that a subsequent Has call reports false. +// +// Clearing an extension field clears both the extension type and value +// associated with the given field number. +// +// Clear is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetTopicInitialForecasterEmaScoreRequest) Clear(fd protoreflect.FieldDescriptor) { + switch fd.FullName() { + case "emissions.v8.GetTopicInitialForecasterEmaScoreRequest.topic_id": + x.TopicId = uint64(0) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetTopicInitialForecasterEmaScoreRequest")) + } + panic(fmt.Errorf("message emissions.v8.GetTopicInitialForecasterEmaScoreRequest does not contain field %s", fd.FullName())) + } +} + +// Get retrieves the value for a field. +// +// For unpopulated scalars, it returns the default value, where +// the default value of a bytes scalar is guaranteed to be a copy. +// For unpopulated composite types, it returns an empty, read-only view +// of the value; to obtain a mutable reference, use Mutable. +func (x *fastReflection_GetTopicInitialForecasterEmaScoreRequest) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { + switch descriptor.FullName() { + case "emissions.v8.GetTopicInitialForecasterEmaScoreRequest.topic_id": + value := x.TopicId + return protoreflect.ValueOfUint64(value) + default: + if descriptor.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetTopicInitialForecasterEmaScoreRequest")) + } + panic(fmt.Errorf("message emissions.v8.GetTopicInitialForecasterEmaScoreRequest does not contain field %s", descriptor.FullName())) + } +} + +// Set stores the value for a field. +// +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType. +// When setting a composite type, it is unspecified whether the stored value +// aliases the source's memory in any way. If the composite value is an +// empty, read-only value, then it panics. +// +// Set is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetTopicInitialForecasterEmaScoreRequest) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { + switch fd.FullName() { + case "emissions.v8.GetTopicInitialForecasterEmaScoreRequest.topic_id": + x.TopicId = value.Uint() + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetTopicInitialForecasterEmaScoreRequest")) + } + panic(fmt.Errorf("message emissions.v8.GetTopicInitialForecasterEmaScoreRequest does not contain field %s", fd.FullName())) + } +} + +// Mutable returns a mutable reference to a composite type. +// +// If the field is unpopulated, it may allocate a composite value. +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType +// if not already stored. +// It panics if the field does not contain a composite type. +// +// Mutable is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetTopicInitialForecasterEmaScoreRequest) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.GetTopicInitialForecasterEmaScoreRequest.topic_id": + panic(fmt.Errorf("field topic_id of message emissions.v8.GetTopicInitialForecasterEmaScoreRequest is not mutable")) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetTopicInitialForecasterEmaScoreRequest")) + } + panic(fmt.Errorf("message emissions.v8.GetTopicInitialForecasterEmaScoreRequest does not contain field %s", fd.FullName())) + } +} + +// NewField returns a new value that is assignable to the field +// for the given descriptor. For scalars, this returns the default value. +// For lists, maps, and messages, this returns a new, empty, mutable value. +func (x *fastReflection_GetTopicInitialForecasterEmaScoreRequest) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.GetTopicInitialForecasterEmaScoreRequest.topic_id": + return protoreflect.ValueOfUint64(uint64(0)) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetTopicInitialForecasterEmaScoreRequest")) + } + panic(fmt.Errorf("message emissions.v8.GetTopicInitialForecasterEmaScoreRequest does not contain field %s", fd.FullName())) + } +} + +// WhichOneof reports which field within the oneof is populated, +// returning nil if none are populated. +// It panics if the oneof descriptor does not belong to this message. +func (x *fastReflection_GetTopicInitialForecasterEmaScoreRequest) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { + switch d.FullName() { + default: + panic(fmt.Errorf("%s is not a oneof field in emissions.v8.GetTopicInitialForecasterEmaScoreRequest", d.FullName())) + } + panic("unreachable") +} + +// GetUnknown retrieves the entire list of unknown fields. +// The caller may only mutate the contents of the RawFields +// if the mutated bytes are stored back into the message with SetUnknown. +func (x *fastReflection_GetTopicInitialForecasterEmaScoreRequest) GetUnknown() protoreflect.RawFields { + return x.unknownFields +} + +// SetUnknown stores an entire list of unknown fields. +// The raw fields must be syntactically valid according to the wire format. +// An implementation may panic if this is not the case. +// Once stored, the caller must not mutate the content of the RawFields. +// An empty RawFields may be passed to clear the fields. +// +// SetUnknown is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetTopicInitialForecasterEmaScoreRequest) SetUnknown(fields protoreflect.RawFields) { + x.unknownFields = fields +} + +// IsValid reports whether the message is valid. +// +// An invalid message is an empty, read-only value. +// +// An invalid message often corresponds to a nil pointer of the concrete +// message type, but the details are implementation dependent. +// Validity is not part of the protobuf data model, and may not +// be preserved in marshaling or other operations. +func (x *fastReflection_GetTopicInitialForecasterEmaScoreRequest) IsValid() bool { + return x != nil +} + +// ProtoMethods returns optional fastReflectionFeature-path implementations of various operations. +// This method may return nil. +// +// The returned methods type is identical to +// "google.golang.org/protobuf/runtime/protoiface".Methods. +// Consult the protoiface package documentation for details. +func (x *fastReflection_GetTopicInitialForecasterEmaScoreRequest) ProtoMethods() *protoiface.Methods { + size := func(input protoiface.SizeInput) protoiface.SizeOutput { + x := input.Message.Interface().(*GetTopicInitialForecasterEmaScoreRequest) + if x == nil { + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: 0, + } + } + options := runtime.SizeInputToOptions(input) + _ = options + var n int + var l int + _ = l + if x.TopicId != 0 { + n += 1 + runtime.Sov(uint64(x.TopicId)) + } + if x.unknownFields != nil { + n += len(x.unknownFields) + } + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: n, + } + } + + marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { + x := input.Message.Interface().(*GetTopicInitialForecasterEmaScoreRequest) + if x == nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + options := runtime.MarshalInputToOptions(input) + _ = options + size := options.Size(x) + dAtA := make([]byte, size) + i := len(dAtA) + _ = i + var l int + _ = l + if x.unknownFields != nil { + i -= len(x.unknownFields) + copy(dAtA[i:], x.unknownFields) + } + if x.TopicId != 0 { + i = runtime.EncodeVarint(dAtA, i, uint64(x.TopicId)) + i-- + dAtA[i] = 0x8 + } + if input.Buf != nil { + input.Buf = append(input.Buf, dAtA...) + } else { + input.Buf = dAtA + } + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { + x := input.Message.Interface().(*GetTopicInitialForecasterEmaScoreRequest) + if x == nil { + return protoiface.UnmarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Flags: input.Flags, + }, nil + } + options := runtime.UnmarshalInputToOptions(input) + _ = options + dAtA := input.Buf + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: GetTopicInitialForecasterEmaScoreRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: GetTopicInitialForecasterEmaScoreRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field TopicId", wireType) + } + x.TopicId = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + x.TopicId |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + default: + iNdEx = preIndex + skippy, err := runtime.Skip(dAtA[iNdEx:]) + if err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if (iNdEx + skippy) > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + if !options.DiscardUnknown { + x.unknownFields = append(x.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + } + iNdEx += skippy + } + } + + if iNdEx > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, nil + } + return &protoiface.Methods{ + NoUnkeyedLiterals: struct{}{}, + Flags: protoiface.SupportMarshalDeterministic | protoiface.SupportUnmarshalDiscardUnknown, + Size: size, + Marshal: marshal, + Unmarshal: unmarshal, + Merge: nil, + CheckInitialized: nil, + } +} + +var ( + md_GetTopicInitialForecasterEmaScoreResponse protoreflect.MessageDescriptor + fd_GetTopicInitialForecasterEmaScoreResponse_score protoreflect.FieldDescriptor +) + +func init() { + file_emissions_v8_query_proto_init() + md_GetTopicInitialForecasterEmaScoreResponse = File_emissions_v8_query_proto.Messages().ByName("GetTopicInitialForecasterEmaScoreResponse") + fd_GetTopicInitialForecasterEmaScoreResponse_score = md_GetTopicInitialForecasterEmaScoreResponse.Fields().ByName("score") +} + +var _ protoreflect.Message = (*fastReflection_GetTopicInitialForecasterEmaScoreResponse)(nil) + +type fastReflection_GetTopicInitialForecasterEmaScoreResponse GetTopicInitialForecasterEmaScoreResponse + +func (x *GetTopicInitialForecasterEmaScoreResponse) ProtoReflect() protoreflect.Message { + return (*fastReflection_GetTopicInitialForecasterEmaScoreResponse)(x) +} + +func (x *GetTopicInitialForecasterEmaScoreResponse) slowProtoReflect() protoreflect.Message { + mi := &file_emissions_v8_query_proto_msgTypes[209] + 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) +} + +var _fastReflection_GetTopicInitialForecasterEmaScoreResponse_messageType fastReflection_GetTopicInitialForecasterEmaScoreResponse_messageType +var _ protoreflect.MessageType = fastReflection_GetTopicInitialForecasterEmaScoreResponse_messageType{} + +type fastReflection_GetTopicInitialForecasterEmaScoreResponse_messageType struct{} + +func (x fastReflection_GetTopicInitialForecasterEmaScoreResponse_messageType) Zero() protoreflect.Message { + return (*fastReflection_GetTopicInitialForecasterEmaScoreResponse)(nil) +} +func (x fastReflection_GetTopicInitialForecasterEmaScoreResponse_messageType) New() protoreflect.Message { + return new(fastReflection_GetTopicInitialForecasterEmaScoreResponse) +} +func (x fastReflection_GetTopicInitialForecasterEmaScoreResponse_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_GetTopicInitialForecasterEmaScoreResponse +} + +// Descriptor returns message descriptor, which contains only the protobuf +// type information for the message. +func (x *fastReflection_GetTopicInitialForecasterEmaScoreResponse) Descriptor() protoreflect.MessageDescriptor { + return md_GetTopicInitialForecasterEmaScoreResponse +} + +// Type returns the message type, which encapsulates both Go and protobuf +// type information. If the Go type information is not needed, +// it is recommended that the message descriptor be used instead. +func (x *fastReflection_GetTopicInitialForecasterEmaScoreResponse) Type() protoreflect.MessageType { + return _fastReflection_GetTopicInitialForecasterEmaScoreResponse_messageType +} + +// New returns a newly allocated and mutable empty message. +func (x *fastReflection_GetTopicInitialForecasterEmaScoreResponse) New() protoreflect.Message { + return new(fastReflection_GetTopicInitialForecasterEmaScoreResponse) +} + +// Interface unwraps the message reflection interface and +// returns the underlying ProtoMessage interface. +func (x *fastReflection_GetTopicInitialForecasterEmaScoreResponse) Interface() protoreflect.ProtoMessage { + return (*GetTopicInitialForecasterEmaScoreResponse)(x) +} + +// Range iterates over every populated field in an undefined order, +// calling f for each field descriptor and value encountered. +// Range returns immediately if f returns false. +// While iterating, mutating operations may only be performed +// on the current field descriptor. +func (x *fastReflection_GetTopicInitialForecasterEmaScoreResponse) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { + if x.Score != "" { + value := protoreflect.ValueOfString(x.Score) + if !f(fd_GetTopicInitialForecasterEmaScoreResponse_score, value) { + return + } + } +} + +// Has reports whether a field is populated. +// +// Some fields have the property of nullability where it is possible to +// distinguish between the default value of a field and whether the field +// was explicitly populated with the default value. Singular message fields, +// member fields of a oneof, and proto2 scalar fields are nullable. Such +// fields are populated only if explicitly set. +// +// In other cases (aside from the nullable cases above), +// a proto3 scalar field is populated if it contains a non-zero value, and +// a repeated field is populated if it is non-empty. +func (x *fastReflection_GetTopicInitialForecasterEmaScoreResponse) Has(fd protoreflect.FieldDescriptor) bool { + switch fd.FullName() { + case "emissions.v8.GetTopicInitialForecasterEmaScoreResponse.score": + return x.Score != "" + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetTopicInitialForecasterEmaScoreResponse")) + } + panic(fmt.Errorf("message emissions.v8.GetTopicInitialForecasterEmaScoreResponse does not contain field %s", fd.FullName())) + } +} + +// Clear clears the field such that a subsequent Has call reports false. +// +// Clearing an extension field clears both the extension type and value +// associated with the given field number. +// +// Clear is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetTopicInitialForecasterEmaScoreResponse) Clear(fd protoreflect.FieldDescriptor) { + switch fd.FullName() { + case "emissions.v8.GetTopicInitialForecasterEmaScoreResponse.score": + x.Score = "" + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetTopicInitialForecasterEmaScoreResponse")) + } + panic(fmt.Errorf("message emissions.v8.GetTopicInitialForecasterEmaScoreResponse does not contain field %s", fd.FullName())) + } +} + +// Get retrieves the value for a field. +// +// For unpopulated scalars, it returns the default value, where +// the default value of a bytes scalar is guaranteed to be a copy. +// For unpopulated composite types, it returns an empty, read-only view +// of the value; to obtain a mutable reference, use Mutable. +func (x *fastReflection_GetTopicInitialForecasterEmaScoreResponse) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { + switch descriptor.FullName() { + case "emissions.v8.GetTopicInitialForecasterEmaScoreResponse.score": + value := x.Score + return protoreflect.ValueOfString(value) + default: + if descriptor.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetTopicInitialForecasterEmaScoreResponse")) + } + panic(fmt.Errorf("message emissions.v8.GetTopicInitialForecasterEmaScoreResponse does not contain field %s", descriptor.FullName())) + } +} + +// Set stores the value for a field. +// +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType. +// When setting a composite type, it is unspecified whether the stored value +// aliases the source's memory in any way. If the composite value is an +// empty, read-only value, then it panics. +// +// Set is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetTopicInitialForecasterEmaScoreResponse) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { + switch fd.FullName() { + case "emissions.v8.GetTopicInitialForecasterEmaScoreResponse.score": + x.Score = value.Interface().(string) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetTopicInitialForecasterEmaScoreResponse")) + } + panic(fmt.Errorf("message emissions.v8.GetTopicInitialForecasterEmaScoreResponse does not contain field %s", fd.FullName())) + } +} + +// Mutable returns a mutable reference to a composite type. +// +// If the field is unpopulated, it may allocate a composite value. +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType +// if not already stored. +// It panics if the field does not contain a composite type. +// +// Mutable is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetTopicInitialForecasterEmaScoreResponse) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.GetTopicInitialForecasterEmaScoreResponse.score": + panic(fmt.Errorf("field score of message emissions.v8.GetTopicInitialForecasterEmaScoreResponse is not mutable")) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetTopicInitialForecasterEmaScoreResponse")) + } + panic(fmt.Errorf("message emissions.v8.GetTopicInitialForecasterEmaScoreResponse does not contain field %s", fd.FullName())) + } +} + +// NewField returns a new value that is assignable to the field +// for the given descriptor. For scalars, this returns the default value. +// For lists, maps, and messages, this returns a new, empty, mutable value. +func (x *fastReflection_GetTopicInitialForecasterEmaScoreResponse) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.GetTopicInitialForecasterEmaScoreResponse.score": + return protoreflect.ValueOfString("") + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetTopicInitialForecasterEmaScoreResponse")) + } + panic(fmt.Errorf("message emissions.v8.GetTopicInitialForecasterEmaScoreResponse does not contain field %s", fd.FullName())) + } +} + +// WhichOneof reports which field within the oneof is populated, +// returning nil if none are populated. +// It panics if the oneof descriptor does not belong to this message. +func (x *fastReflection_GetTopicInitialForecasterEmaScoreResponse) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { + switch d.FullName() { + default: + panic(fmt.Errorf("%s is not a oneof field in emissions.v8.GetTopicInitialForecasterEmaScoreResponse", d.FullName())) + } + panic("unreachable") +} + +// GetUnknown retrieves the entire list of unknown fields. +// The caller may only mutate the contents of the RawFields +// if the mutated bytes are stored back into the message with SetUnknown. +func (x *fastReflection_GetTopicInitialForecasterEmaScoreResponse) GetUnknown() protoreflect.RawFields { + return x.unknownFields +} + +// SetUnknown stores an entire list of unknown fields. +// The raw fields must be syntactically valid according to the wire format. +// An implementation may panic if this is not the case. +// Once stored, the caller must not mutate the content of the RawFields. +// An empty RawFields may be passed to clear the fields. +// +// SetUnknown is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetTopicInitialForecasterEmaScoreResponse) SetUnknown(fields protoreflect.RawFields) { + x.unknownFields = fields +} + +// IsValid reports whether the message is valid. +// +// An invalid message is an empty, read-only value. +// +// An invalid message often corresponds to a nil pointer of the concrete +// message type, but the details are implementation dependent. +// Validity is not part of the protobuf data model, and may not +// be preserved in marshaling or other operations. +func (x *fastReflection_GetTopicInitialForecasterEmaScoreResponse) IsValid() bool { + return x != nil +} + +// ProtoMethods returns optional fastReflectionFeature-path implementations of various operations. +// This method may return nil. +// +// The returned methods type is identical to +// "google.golang.org/protobuf/runtime/protoiface".Methods. +// Consult the protoiface package documentation for details. +func (x *fastReflection_GetTopicInitialForecasterEmaScoreResponse) ProtoMethods() *protoiface.Methods { + size := func(input protoiface.SizeInput) protoiface.SizeOutput { + x := input.Message.Interface().(*GetTopicInitialForecasterEmaScoreResponse) + if x == nil { + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: 0, + } + } + options := runtime.SizeInputToOptions(input) + _ = options + var n int + var l int + _ = l + l = len(x.Score) + if l > 0 { + n += 1 + l + runtime.Sov(uint64(l)) + } + if x.unknownFields != nil { + n += len(x.unknownFields) + } + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: n, + } + } + + marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { + x := input.Message.Interface().(*GetTopicInitialForecasterEmaScoreResponse) + if x == nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + options := runtime.MarshalInputToOptions(input) + _ = options + size := options.Size(x) + dAtA := make([]byte, size) + i := len(dAtA) + _ = i + var l int + _ = l + if x.unknownFields != nil { + i -= len(x.unknownFields) + copy(dAtA[i:], x.unknownFields) + } + if len(x.Score) > 0 { + i -= len(x.Score) + copy(dAtA[i:], x.Score) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.Score))) + i-- + dAtA[i] = 0xa + } + if input.Buf != nil { + input.Buf = append(input.Buf, dAtA...) + } else { + input.Buf = dAtA + } + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { + x := input.Message.Interface().(*GetTopicInitialForecasterEmaScoreResponse) + if x == nil { + return protoiface.UnmarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Flags: input.Flags, + }, nil + } + options := runtime.UnmarshalInputToOptions(input) + _ = options + dAtA := input.Buf + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: GetTopicInitialForecasterEmaScoreResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: GetTopicInitialForecasterEmaScoreResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Score", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + x.Score = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := runtime.Skip(dAtA[iNdEx:]) + if err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if (iNdEx + skippy) > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + if !options.DiscardUnknown { + x.unknownFields = append(x.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + } + iNdEx += skippy + } + } + + if iNdEx > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, nil + } + return &protoiface.Methods{ + NoUnkeyedLiterals: struct{}{}, + Flags: protoiface.SupportMarshalDeterministic | protoiface.SupportUnmarshalDiscardUnknown, + Size: size, + Marshal: marshal, + Unmarshal: unmarshal, + Merge: nil, + CheckInitialized: nil, + } +} + +var ( + md_GetTopicInitialReputerEmaScoreRequest protoreflect.MessageDescriptor + fd_GetTopicInitialReputerEmaScoreRequest_topic_id protoreflect.FieldDescriptor +) + +func init() { + file_emissions_v8_query_proto_init() + md_GetTopicInitialReputerEmaScoreRequest = File_emissions_v8_query_proto.Messages().ByName("GetTopicInitialReputerEmaScoreRequest") + fd_GetTopicInitialReputerEmaScoreRequest_topic_id = md_GetTopicInitialReputerEmaScoreRequest.Fields().ByName("topic_id") +} + +var _ protoreflect.Message = (*fastReflection_GetTopicInitialReputerEmaScoreRequest)(nil) + +type fastReflection_GetTopicInitialReputerEmaScoreRequest GetTopicInitialReputerEmaScoreRequest + +func (x *GetTopicInitialReputerEmaScoreRequest) ProtoReflect() protoreflect.Message { + return (*fastReflection_GetTopicInitialReputerEmaScoreRequest)(x) +} + +func (x *GetTopicInitialReputerEmaScoreRequest) slowProtoReflect() protoreflect.Message { + mi := &file_emissions_v8_query_proto_msgTypes[210] + 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) +} + +var _fastReflection_GetTopicInitialReputerEmaScoreRequest_messageType fastReflection_GetTopicInitialReputerEmaScoreRequest_messageType +var _ protoreflect.MessageType = fastReflection_GetTopicInitialReputerEmaScoreRequest_messageType{} + +type fastReflection_GetTopicInitialReputerEmaScoreRequest_messageType struct{} + +func (x fastReflection_GetTopicInitialReputerEmaScoreRequest_messageType) Zero() protoreflect.Message { + return (*fastReflection_GetTopicInitialReputerEmaScoreRequest)(nil) +} +func (x fastReflection_GetTopicInitialReputerEmaScoreRequest_messageType) New() protoreflect.Message { + return new(fastReflection_GetTopicInitialReputerEmaScoreRequest) +} +func (x fastReflection_GetTopicInitialReputerEmaScoreRequest_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_GetTopicInitialReputerEmaScoreRequest +} + +// Descriptor returns message descriptor, which contains only the protobuf +// type information for the message. +func (x *fastReflection_GetTopicInitialReputerEmaScoreRequest) Descriptor() protoreflect.MessageDescriptor { + return md_GetTopicInitialReputerEmaScoreRequest +} + +// Type returns the message type, which encapsulates both Go and protobuf +// type information. If the Go type information is not needed, +// it is recommended that the message descriptor be used instead. +func (x *fastReflection_GetTopicInitialReputerEmaScoreRequest) Type() protoreflect.MessageType { + return _fastReflection_GetTopicInitialReputerEmaScoreRequest_messageType +} + +// New returns a newly allocated and mutable empty message. +func (x *fastReflection_GetTopicInitialReputerEmaScoreRequest) New() protoreflect.Message { + return new(fastReflection_GetTopicInitialReputerEmaScoreRequest) +} + +// Interface unwraps the message reflection interface and +// returns the underlying ProtoMessage interface. +func (x *fastReflection_GetTopicInitialReputerEmaScoreRequest) Interface() protoreflect.ProtoMessage { + return (*GetTopicInitialReputerEmaScoreRequest)(x) +} + +// Range iterates over every populated field in an undefined order, +// calling f for each field descriptor and value encountered. +// Range returns immediately if f returns false. +// While iterating, mutating operations may only be performed +// on the current field descriptor. +func (x *fastReflection_GetTopicInitialReputerEmaScoreRequest) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { + if x.TopicId != uint64(0) { + value := protoreflect.ValueOfUint64(x.TopicId) + if !f(fd_GetTopicInitialReputerEmaScoreRequest_topic_id, value) { + return + } + } +} + +// Has reports whether a field is populated. +// +// Some fields have the property of nullability where it is possible to +// distinguish between the default value of a field and whether the field +// was explicitly populated with the default value. Singular message fields, +// member fields of a oneof, and proto2 scalar fields are nullable. Such +// fields are populated only if explicitly set. +// +// In other cases (aside from the nullable cases above), +// a proto3 scalar field is populated if it contains a non-zero value, and +// a repeated field is populated if it is non-empty. +func (x *fastReflection_GetTopicInitialReputerEmaScoreRequest) Has(fd protoreflect.FieldDescriptor) bool { + switch fd.FullName() { + case "emissions.v8.GetTopicInitialReputerEmaScoreRequest.topic_id": + return x.TopicId != uint64(0) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetTopicInitialReputerEmaScoreRequest")) + } + panic(fmt.Errorf("message emissions.v8.GetTopicInitialReputerEmaScoreRequest does not contain field %s", fd.FullName())) + } +} + +// Clear clears the field such that a subsequent Has call reports false. +// +// Clearing an extension field clears both the extension type and value +// associated with the given field number. +// +// Clear is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetTopicInitialReputerEmaScoreRequest) Clear(fd protoreflect.FieldDescriptor) { + switch fd.FullName() { + case "emissions.v8.GetTopicInitialReputerEmaScoreRequest.topic_id": + x.TopicId = uint64(0) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetTopicInitialReputerEmaScoreRequest")) + } + panic(fmt.Errorf("message emissions.v8.GetTopicInitialReputerEmaScoreRequest does not contain field %s", fd.FullName())) + } +} + +// Get retrieves the value for a field. +// +// For unpopulated scalars, it returns the default value, where +// the default value of a bytes scalar is guaranteed to be a copy. +// For unpopulated composite types, it returns an empty, read-only view +// of the value; to obtain a mutable reference, use Mutable. +func (x *fastReflection_GetTopicInitialReputerEmaScoreRequest) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { + switch descriptor.FullName() { + case "emissions.v8.GetTopicInitialReputerEmaScoreRequest.topic_id": + value := x.TopicId + return protoreflect.ValueOfUint64(value) + default: + if descriptor.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetTopicInitialReputerEmaScoreRequest")) + } + panic(fmt.Errorf("message emissions.v8.GetTopicInitialReputerEmaScoreRequest does not contain field %s", descriptor.FullName())) + } +} + +// Set stores the value for a field. +// +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType. +// When setting a composite type, it is unspecified whether the stored value +// aliases the source's memory in any way. If the composite value is an +// empty, read-only value, then it panics. +// +// Set is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetTopicInitialReputerEmaScoreRequest) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { + switch fd.FullName() { + case "emissions.v8.GetTopicInitialReputerEmaScoreRequest.topic_id": + x.TopicId = value.Uint() + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetTopicInitialReputerEmaScoreRequest")) + } + panic(fmt.Errorf("message emissions.v8.GetTopicInitialReputerEmaScoreRequest does not contain field %s", fd.FullName())) + } +} + +// Mutable returns a mutable reference to a composite type. +// +// If the field is unpopulated, it may allocate a composite value. +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType +// if not already stored. +// It panics if the field does not contain a composite type. +// +// Mutable is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetTopicInitialReputerEmaScoreRequest) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.GetTopicInitialReputerEmaScoreRequest.topic_id": + panic(fmt.Errorf("field topic_id of message emissions.v8.GetTopicInitialReputerEmaScoreRequest is not mutable")) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetTopicInitialReputerEmaScoreRequest")) + } + panic(fmt.Errorf("message emissions.v8.GetTopicInitialReputerEmaScoreRequest does not contain field %s", fd.FullName())) + } +} + +// NewField returns a new value that is assignable to the field +// for the given descriptor. For scalars, this returns the default value. +// For lists, maps, and messages, this returns a new, empty, mutable value. +func (x *fastReflection_GetTopicInitialReputerEmaScoreRequest) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.GetTopicInitialReputerEmaScoreRequest.topic_id": + return protoreflect.ValueOfUint64(uint64(0)) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetTopicInitialReputerEmaScoreRequest")) + } + panic(fmt.Errorf("message emissions.v8.GetTopicInitialReputerEmaScoreRequest does not contain field %s", fd.FullName())) + } +} + +// WhichOneof reports which field within the oneof is populated, +// returning nil if none are populated. +// It panics if the oneof descriptor does not belong to this message. +func (x *fastReflection_GetTopicInitialReputerEmaScoreRequest) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { + switch d.FullName() { + default: + panic(fmt.Errorf("%s is not a oneof field in emissions.v8.GetTopicInitialReputerEmaScoreRequest", d.FullName())) + } + panic("unreachable") +} + +// GetUnknown retrieves the entire list of unknown fields. +// The caller may only mutate the contents of the RawFields +// if the mutated bytes are stored back into the message with SetUnknown. +func (x *fastReflection_GetTopicInitialReputerEmaScoreRequest) GetUnknown() protoreflect.RawFields { + return x.unknownFields +} + +// SetUnknown stores an entire list of unknown fields. +// The raw fields must be syntactically valid according to the wire format. +// An implementation may panic if this is not the case. +// Once stored, the caller must not mutate the content of the RawFields. +// An empty RawFields may be passed to clear the fields. +// +// SetUnknown is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetTopicInitialReputerEmaScoreRequest) SetUnknown(fields protoreflect.RawFields) { + x.unknownFields = fields +} + +// IsValid reports whether the message is valid. +// +// An invalid message is an empty, read-only value. +// +// An invalid message often corresponds to a nil pointer of the concrete +// message type, but the details are implementation dependent. +// Validity is not part of the protobuf data model, and may not +// be preserved in marshaling or other operations. +func (x *fastReflection_GetTopicInitialReputerEmaScoreRequest) IsValid() bool { + return x != nil +} + +// ProtoMethods returns optional fastReflectionFeature-path implementations of various operations. +// This method may return nil. +// +// The returned methods type is identical to +// "google.golang.org/protobuf/runtime/protoiface".Methods. +// Consult the protoiface package documentation for details. +func (x *fastReflection_GetTopicInitialReputerEmaScoreRequest) ProtoMethods() *protoiface.Methods { + size := func(input protoiface.SizeInput) protoiface.SizeOutput { + x := input.Message.Interface().(*GetTopicInitialReputerEmaScoreRequest) + if x == nil { + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: 0, + } + } + options := runtime.SizeInputToOptions(input) + _ = options + var n int + var l int + _ = l + if x.TopicId != 0 { + n += 1 + runtime.Sov(uint64(x.TopicId)) + } + if x.unknownFields != nil { + n += len(x.unknownFields) + } + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: n, + } + } + + marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { + x := input.Message.Interface().(*GetTopicInitialReputerEmaScoreRequest) + if x == nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + options := runtime.MarshalInputToOptions(input) + _ = options + size := options.Size(x) + dAtA := make([]byte, size) + i := len(dAtA) + _ = i + var l int + _ = l + if x.unknownFields != nil { + i -= len(x.unknownFields) + copy(dAtA[i:], x.unknownFields) + } + if x.TopicId != 0 { + i = runtime.EncodeVarint(dAtA, i, uint64(x.TopicId)) + i-- + dAtA[i] = 0x8 + } + if input.Buf != nil { + input.Buf = append(input.Buf, dAtA...) + } else { + input.Buf = dAtA + } + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { + x := input.Message.Interface().(*GetTopicInitialReputerEmaScoreRequest) + if x == nil { + return protoiface.UnmarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Flags: input.Flags, + }, nil + } + options := runtime.UnmarshalInputToOptions(input) + _ = options + dAtA := input.Buf + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: GetTopicInitialReputerEmaScoreRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: GetTopicInitialReputerEmaScoreRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field TopicId", wireType) + } + x.TopicId = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + x.TopicId |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + default: + iNdEx = preIndex + skippy, err := runtime.Skip(dAtA[iNdEx:]) + if err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if (iNdEx + skippy) > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + if !options.DiscardUnknown { + x.unknownFields = append(x.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + } + iNdEx += skippy + } + } + + if iNdEx > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, nil + } + return &protoiface.Methods{ + NoUnkeyedLiterals: struct{}{}, + Flags: protoiface.SupportMarshalDeterministic | protoiface.SupportUnmarshalDiscardUnknown, + Size: size, + Marshal: marshal, + Unmarshal: unmarshal, + Merge: nil, + CheckInitialized: nil, + } +} + +var ( + md_GetTopicInitialReputerEmaScoreResponse protoreflect.MessageDescriptor + fd_GetTopicInitialReputerEmaScoreResponse_score protoreflect.FieldDescriptor +) + +func init() { + file_emissions_v8_query_proto_init() + md_GetTopicInitialReputerEmaScoreResponse = File_emissions_v8_query_proto.Messages().ByName("GetTopicInitialReputerEmaScoreResponse") + fd_GetTopicInitialReputerEmaScoreResponse_score = md_GetTopicInitialReputerEmaScoreResponse.Fields().ByName("score") +} + +var _ protoreflect.Message = (*fastReflection_GetTopicInitialReputerEmaScoreResponse)(nil) + +type fastReflection_GetTopicInitialReputerEmaScoreResponse GetTopicInitialReputerEmaScoreResponse + +func (x *GetTopicInitialReputerEmaScoreResponse) ProtoReflect() protoreflect.Message { + return (*fastReflection_GetTopicInitialReputerEmaScoreResponse)(x) +} + +func (x *GetTopicInitialReputerEmaScoreResponse) slowProtoReflect() protoreflect.Message { + mi := &file_emissions_v8_query_proto_msgTypes[211] + 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) +} + +var _fastReflection_GetTopicInitialReputerEmaScoreResponse_messageType fastReflection_GetTopicInitialReputerEmaScoreResponse_messageType +var _ protoreflect.MessageType = fastReflection_GetTopicInitialReputerEmaScoreResponse_messageType{} + +type fastReflection_GetTopicInitialReputerEmaScoreResponse_messageType struct{} + +func (x fastReflection_GetTopicInitialReputerEmaScoreResponse_messageType) Zero() protoreflect.Message { + return (*fastReflection_GetTopicInitialReputerEmaScoreResponse)(nil) +} +func (x fastReflection_GetTopicInitialReputerEmaScoreResponse_messageType) New() protoreflect.Message { + return new(fastReflection_GetTopicInitialReputerEmaScoreResponse) +} +func (x fastReflection_GetTopicInitialReputerEmaScoreResponse_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_GetTopicInitialReputerEmaScoreResponse +} + +// Descriptor returns message descriptor, which contains only the protobuf +// type information for the message. +func (x *fastReflection_GetTopicInitialReputerEmaScoreResponse) Descriptor() protoreflect.MessageDescriptor { + return md_GetTopicInitialReputerEmaScoreResponse +} + +// Type returns the message type, which encapsulates both Go and protobuf +// type information. If the Go type information is not needed, +// it is recommended that the message descriptor be used instead. +func (x *fastReflection_GetTopicInitialReputerEmaScoreResponse) Type() protoreflect.MessageType { + return _fastReflection_GetTopicInitialReputerEmaScoreResponse_messageType +} + +// New returns a newly allocated and mutable empty message. +func (x *fastReflection_GetTopicInitialReputerEmaScoreResponse) New() protoreflect.Message { + return new(fastReflection_GetTopicInitialReputerEmaScoreResponse) +} + +// Interface unwraps the message reflection interface and +// returns the underlying ProtoMessage interface. +func (x *fastReflection_GetTopicInitialReputerEmaScoreResponse) Interface() protoreflect.ProtoMessage { + return (*GetTopicInitialReputerEmaScoreResponse)(x) +} + +// Range iterates over every populated field in an undefined order, +// calling f for each field descriptor and value encountered. +// Range returns immediately if f returns false. +// While iterating, mutating operations may only be performed +// on the current field descriptor. +func (x *fastReflection_GetTopicInitialReputerEmaScoreResponse) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { + if x.Score != "" { + value := protoreflect.ValueOfString(x.Score) + if !f(fd_GetTopicInitialReputerEmaScoreResponse_score, value) { + return + } + } +} + +// Has reports whether a field is populated. +// +// Some fields have the property of nullability where it is possible to +// distinguish between the default value of a field and whether the field +// was explicitly populated with the default value. Singular message fields, +// member fields of a oneof, and proto2 scalar fields are nullable. Such +// fields are populated only if explicitly set. +// +// In other cases (aside from the nullable cases above), +// a proto3 scalar field is populated if it contains a non-zero value, and +// a repeated field is populated if it is non-empty. +func (x *fastReflection_GetTopicInitialReputerEmaScoreResponse) Has(fd protoreflect.FieldDescriptor) bool { + switch fd.FullName() { + case "emissions.v8.GetTopicInitialReputerEmaScoreResponse.score": + return x.Score != "" + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetTopicInitialReputerEmaScoreResponse")) + } + panic(fmt.Errorf("message emissions.v8.GetTopicInitialReputerEmaScoreResponse does not contain field %s", fd.FullName())) + } +} + +// Clear clears the field such that a subsequent Has call reports false. +// +// Clearing an extension field clears both the extension type and value +// associated with the given field number. +// +// Clear is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetTopicInitialReputerEmaScoreResponse) Clear(fd protoreflect.FieldDescriptor) { + switch fd.FullName() { + case "emissions.v8.GetTopicInitialReputerEmaScoreResponse.score": + x.Score = "" + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetTopicInitialReputerEmaScoreResponse")) + } + panic(fmt.Errorf("message emissions.v8.GetTopicInitialReputerEmaScoreResponse does not contain field %s", fd.FullName())) + } +} + +// Get retrieves the value for a field. +// +// For unpopulated scalars, it returns the default value, where +// the default value of a bytes scalar is guaranteed to be a copy. +// For unpopulated composite types, it returns an empty, read-only view +// of the value; to obtain a mutable reference, use Mutable. +func (x *fastReflection_GetTopicInitialReputerEmaScoreResponse) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { + switch descriptor.FullName() { + case "emissions.v8.GetTopicInitialReputerEmaScoreResponse.score": + value := x.Score + return protoreflect.ValueOfString(value) + default: + if descriptor.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetTopicInitialReputerEmaScoreResponse")) + } + panic(fmt.Errorf("message emissions.v8.GetTopicInitialReputerEmaScoreResponse does not contain field %s", descriptor.FullName())) + } +} + +// Set stores the value for a field. +// +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType. +// When setting a composite type, it is unspecified whether the stored value +// aliases the source's memory in any way. If the composite value is an +// empty, read-only value, then it panics. +// +// Set is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetTopicInitialReputerEmaScoreResponse) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { + switch fd.FullName() { + case "emissions.v8.GetTopicInitialReputerEmaScoreResponse.score": + x.Score = value.Interface().(string) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetTopicInitialReputerEmaScoreResponse")) + } + panic(fmt.Errorf("message emissions.v8.GetTopicInitialReputerEmaScoreResponse does not contain field %s", fd.FullName())) + } +} + +// Mutable returns a mutable reference to a composite type. +// +// If the field is unpopulated, it may allocate a composite value. +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType +// if not already stored. +// It panics if the field does not contain a composite type. +// +// Mutable is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetTopicInitialReputerEmaScoreResponse) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.GetTopicInitialReputerEmaScoreResponse.score": + panic(fmt.Errorf("field score of message emissions.v8.GetTopicInitialReputerEmaScoreResponse is not mutable")) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetTopicInitialReputerEmaScoreResponse")) + } + panic(fmt.Errorf("message emissions.v8.GetTopicInitialReputerEmaScoreResponse does not contain field %s", fd.FullName())) + } +} + +// NewField returns a new value that is assignable to the field +// for the given descriptor. For scalars, this returns the default value. +// For lists, maps, and messages, this returns a new, empty, mutable value. +func (x *fastReflection_GetTopicInitialReputerEmaScoreResponse) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.GetTopicInitialReputerEmaScoreResponse.score": + return protoreflect.ValueOfString("") + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetTopicInitialReputerEmaScoreResponse")) + } + panic(fmt.Errorf("message emissions.v8.GetTopicInitialReputerEmaScoreResponse does not contain field %s", fd.FullName())) + } +} + +// WhichOneof reports which field within the oneof is populated, +// returning nil if none are populated. +// It panics if the oneof descriptor does not belong to this message. +func (x *fastReflection_GetTopicInitialReputerEmaScoreResponse) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { + switch d.FullName() { + default: + panic(fmt.Errorf("%s is not a oneof field in emissions.v8.GetTopicInitialReputerEmaScoreResponse", d.FullName())) + } + panic("unreachable") +} + +// GetUnknown retrieves the entire list of unknown fields. +// The caller may only mutate the contents of the RawFields +// if the mutated bytes are stored back into the message with SetUnknown. +func (x *fastReflection_GetTopicInitialReputerEmaScoreResponse) GetUnknown() protoreflect.RawFields { + return x.unknownFields +} + +// SetUnknown stores an entire list of unknown fields. +// The raw fields must be syntactically valid according to the wire format. +// An implementation may panic if this is not the case. +// Once stored, the caller must not mutate the content of the RawFields. +// An empty RawFields may be passed to clear the fields. +// +// SetUnknown is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetTopicInitialReputerEmaScoreResponse) SetUnknown(fields protoreflect.RawFields) { + x.unknownFields = fields +} + +// IsValid reports whether the message is valid. +// +// An invalid message is an empty, read-only value. +// +// An invalid message often corresponds to a nil pointer of the concrete +// message type, but the details are implementation dependent. +// Validity is not part of the protobuf data model, and may not +// be preserved in marshaling or other operations. +func (x *fastReflection_GetTopicInitialReputerEmaScoreResponse) IsValid() bool { + return x != nil +} + +// ProtoMethods returns optional fastReflectionFeature-path implementations of various operations. +// This method may return nil. +// +// The returned methods type is identical to +// "google.golang.org/protobuf/runtime/protoiface".Methods. +// Consult the protoiface package documentation for details. +func (x *fastReflection_GetTopicInitialReputerEmaScoreResponse) ProtoMethods() *protoiface.Methods { + size := func(input protoiface.SizeInput) protoiface.SizeOutput { + x := input.Message.Interface().(*GetTopicInitialReputerEmaScoreResponse) + if x == nil { + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: 0, + } + } + options := runtime.SizeInputToOptions(input) + _ = options + var n int + var l int + _ = l + l = len(x.Score) + if l > 0 { + n += 1 + l + runtime.Sov(uint64(l)) + } + if x.unknownFields != nil { + n += len(x.unknownFields) + } + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: n, + } + } + + marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { + x := input.Message.Interface().(*GetTopicInitialReputerEmaScoreResponse) + if x == nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + options := runtime.MarshalInputToOptions(input) + _ = options + size := options.Size(x) + dAtA := make([]byte, size) + i := len(dAtA) + _ = i + var l int + _ = l + if x.unknownFields != nil { + i -= len(x.unknownFields) + copy(dAtA[i:], x.unknownFields) + } + if len(x.Score) > 0 { + i -= len(x.Score) + copy(dAtA[i:], x.Score) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.Score))) + i-- + dAtA[i] = 0xa + } + if input.Buf != nil { + input.Buf = append(input.Buf, dAtA...) + } else { + input.Buf = dAtA + } + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { + x := input.Message.Interface().(*GetTopicInitialReputerEmaScoreResponse) + if x == nil { + return protoiface.UnmarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Flags: input.Flags, + }, nil + } + options := runtime.UnmarshalInputToOptions(input) + _ = options + dAtA := input.Buf + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: GetTopicInitialReputerEmaScoreResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: GetTopicInitialReputerEmaScoreResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Score", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + x.Score = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := runtime.Skip(dAtA[iNdEx:]) + if err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if (iNdEx + skippy) > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + if !options.DiscardUnknown { + x.unknownFields = append(x.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + } + iNdEx += skippy + } + } + + if iNdEx > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, nil + } + return &protoiface.Methods{ + NoUnkeyedLiterals: struct{}{}, + Flags: protoiface.SupportMarshalDeterministic | protoiface.SupportUnmarshalDiscardUnknown, + Size: size, + Marshal: marshal, + Unmarshal: unmarshal, + Merge: nil, + CheckInitialized: nil, + } +} + +var ( + md_GetLatestRegretStdNormRequest protoreflect.MessageDescriptor + fd_GetLatestRegretStdNormRequest_topic_id protoreflect.FieldDescriptor +) + +func init() { + file_emissions_v8_query_proto_init() + md_GetLatestRegretStdNormRequest = File_emissions_v8_query_proto.Messages().ByName("GetLatestRegretStdNormRequest") + fd_GetLatestRegretStdNormRequest_topic_id = md_GetLatestRegretStdNormRequest.Fields().ByName("topic_id") +} + +var _ protoreflect.Message = (*fastReflection_GetLatestRegretStdNormRequest)(nil) + +type fastReflection_GetLatestRegretStdNormRequest GetLatestRegretStdNormRequest + +func (x *GetLatestRegretStdNormRequest) ProtoReflect() protoreflect.Message { + return (*fastReflection_GetLatestRegretStdNormRequest)(x) +} + +func (x *GetLatestRegretStdNormRequest) slowProtoReflect() protoreflect.Message { + mi := &file_emissions_v8_query_proto_msgTypes[212] + 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) +} + +var _fastReflection_GetLatestRegretStdNormRequest_messageType fastReflection_GetLatestRegretStdNormRequest_messageType +var _ protoreflect.MessageType = fastReflection_GetLatestRegretStdNormRequest_messageType{} + +type fastReflection_GetLatestRegretStdNormRequest_messageType struct{} + +func (x fastReflection_GetLatestRegretStdNormRequest_messageType) Zero() protoreflect.Message { + return (*fastReflection_GetLatestRegretStdNormRequest)(nil) +} +func (x fastReflection_GetLatestRegretStdNormRequest_messageType) New() protoreflect.Message { + return new(fastReflection_GetLatestRegretStdNormRequest) +} +func (x fastReflection_GetLatestRegretStdNormRequest_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_GetLatestRegretStdNormRequest +} + +// Descriptor returns message descriptor, which contains only the protobuf +// type information for the message. +func (x *fastReflection_GetLatestRegretStdNormRequest) Descriptor() protoreflect.MessageDescriptor { + return md_GetLatestRegretStdNormRequest +} + +// Type returns the message type, which encapsulates both Go and protobuf +// type information. If the Go type information is not needed, +// it is recommended that the message descriptor be used instead. +func (x *fastReflection_GetLatestRegretStdNormRequest) Type() protoreflect.MessageType { + return _fastReflection_GetLatestRegretStdNormRequest_messageType +} + +// New returns a newly allocated and mutable empty message. +func (x *fastReflection_GetLatestRegretStdNormRequest) New() protoreflect.Message { + return new(fastReflection_GetLatestRegretStdNormRequest) +} + +// Interface unwraps the message reflection interface and +// returns the underlying ProtoMessage interface. +func (x *fastReflection_GetLatestRegretStdNormRequest) Interface() protoreflect.ProtoMessage { + return (*GetLatestRegretStdNormRequest)(x) +} + +// Range iterates over every populated field in an undefined order, +// calling f for each field descriptor and value encountered. +// Range returns immediately if f returns false. +// While iterating, mutating operations may only be performed +// on the current field descriptor. +func (x *fastReflection_GetLatestRegretStdNormRequest) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { + if x.TopicId != uint64(0) { + value := protoreflect.ValueOfUint64(x.TopicId) + if !f(fd_GetLatestRegretStdNormRequest_topic_id, value) { + return + } + } +} + +// Has reports whether a field is populated. +// +// Some fields have the property of nullability where it is possible to +// distinguish between the default value of a field and whether the field +// was explicitly populated with the default value. Singular message fields, +// member fields of a oneof, and proto2 scalar fields are nullable. Such +// fields are populated only if explicitly set. +// +// In other cases (aside from the nullable cases above), +// a proto3 scalar field is populated if it contains a non-zero value, and +// a repeated field is populated if it is non-empty. +func (x *fastReflection_GetLatestRegretStdNormRequest) Has(fd protoreflect.FieldDescriptor) bool { + switch fd.FullName() { + case "emissions.v8.GetLatestRegretStdNormRequest.topic_id": + return x.TopicId != uint64(0) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetLatestRegretStdNormRequest")) + } + panic(fmt.Errorf("message emissions.v8.GetLatestRegretStdNormRequest does not contain field %s", fd.FullName())) + } +} + +// Clear clears the field such that a subsequent Has call reports false. +// +// Clearing an extension field clears both the extension type and value +// associated with the given field number. +// +// Clear is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetLatestRegretStdNormRequest) Clear(fd protoreflect.FieldDescriptor) { + switch fd.FullName() { + case "emissions.v8.GetLatestRegretStdNormRequest.topic_id": + x.TopicId = uint64(0) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetLatestRegretStdNormRequest")) + } + panic(fmt.Errorf("message emissions.v8.GetLatestRegretStdNormRequest does not contain field %s", fd.FullName())) + } +} + +// Get retrieves the value for a field. +// +// For unpopulated scalars, it returns the default value, where +// the default value of a bytes scalar is guaranteed to be a copy. +// For unpopulated composite types, it returns an empty, read-only view +// of the value; to obtain a mutable reference, use Mutable. +func (x *fastReflection_GetLatestRegretStdNormRequest) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { + switch descriptor.FullName() { + case "emissions.v8.GetLatestRegretStdNormRequest.topic_id": + value := x.TopicId + return protoreflect.ValueOfUint64(value) + default: + if descriptor.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetLatestRegretStdNormRequest")) + } + panic(fmt.Errorf("message emissions.v8.GetLatestRegretStdNormRequest does not contain field %s", descriptor.FullName())) + } +} + +// Set stores the value for a field. +// +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType. +// When setting a composite type, it is unspecified whether the stored value +// aliases the source's memory in any way. If the composite value is an +// empty, read-only value, then it panics. +// +// Set is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetLatestRegretStdNormRequest) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { + switch fd.FullName() { + case "emissions.v8.GetLatestRegretStdNormRequest.topic_id": + x.TopicId = value.Uint() + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetLatestRegretStdNormRequest")) + } + panic(fmt.Errorf("message emissions.v8.GetLatestRegretStdNormRequest does not contain field %s", fd.FullName())) + } +} + +// Mutable returns a mutable reference to a composite type. +// +// If the field is unpopulated, it may allocate a composite value. +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType +// if not already stored. +// It panics if the field does not contain a composite type. +// +// Mutable is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetLatestRegretStdNormRequest) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.GetLatestRegretStdNormRequest.topic_id": + panic(fmt.Errorf("field topic_id of message emissions.v8.GetLatestRegretStdNormRequest is not mutable")) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetLatestRegretStdNormRequest")) + } + panic(fmt.Errorf("message emissions.v8.GetLatestRegretStdNormRequest does not contain field %s", fd.FullName())) + } +} + +// NewField returns a new value that is assignable to the field +// for the given descriptor. For scalars, this returns the default value. +// For lists, maps, and messages, this returns a new, empty, mutable value. +func (x *fastReflection_GetLatestRegretStdNormRequest) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.GetLatestRegretStdNormRequest.topic_id": + return protoreflect.ValueOfUint64(uint64(0)) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetLatestRegretStdNormRequest")) + } + panic(fmt.Errorf("message emissions.v8.GetLatestRegretStdNormRequest does not contain field %s", fd.FullName())) + } +} + +// WhichOneof reports which field within the oneof is populated, +// returning nil if none are populated. +// It panics if the oneof descriptor does not belong to this message. +func (x *fastReflection_GetLatestRegretStdNormRequest) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { + switch d.FullName() { + default: + panic(fmt.Errorf("%s is not a oneof field in emissions.v8.GetLatestRegretStdNormRequest", d.FullName())) + } + panic("unreachable") +} + +// GetUnknown retrieves the entire list of unknown fields. +// The caller may only mutate the contents of the RawFields +// if the mutated bytes are stored back into the message with SetUnknown. +func (x *fastReflection_GetLatestRegretStdNormRequest) GetUnknown() protoreflect.RawFields { + return x.unknownFields +} + +// SetUnknown stores an entire list of unknown fields. +// The raw fields must be syntactically valid according to the wire format. +// An implementation may panic if this is not the case. +// Once stored, the caller must not mutate the content of the RawFields. +// An empty RawFields may be passed to clear the fields. +// +// SetUnknown is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetLatestRegretStdNormRequest) SetUnknown(fields protoreflect.RawFields) { + x.unknownFields = fields +} + +// IsValid reports whether the message is valid. +// +// An invalid message is an empty, read-only value. +// +// An invalid message often corresponds to a nil pointer of the concrete +// message type, but the details are implementation dependent. +// Validity is not part of the protobuf data model, and may not +// be preserved in marshaling or other operations. +func (x *fastReflection_GetLatestRegretStdNormRequest) IsValid() bool { + return x != nil +} + +// ProtoMethods returns optional fastReflectionFeature-path implementations of various operations. +// This method may return nil. +// +// The returned methods type is identical to +// "google.golang.org/protobuf/runtime/protoiface".Methods. +// Consult the protoiface package documentation for details. +func (x *fastReflection_GetLatestRegretStdNormRequest) ProtoMethods() *protoiface.Methods { + size := func(input protoiface.SizeInput) protoiface.SizeOutput { + x := input.Message.Interface().(*GetLatestRegretStdNormRequest) + if x == nil { + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: 0, + } + } + options := runtime.SizeInputToOptions(input) + _ = options + var n int + var l int + _ = l + if x.TopicId != 0 { + n += 1 + runtime.Sov(uint64(x.TopicId)) + } + if x.unknownFields != nil { + n += len(x.unknownFields) + } + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: n, + } + } + + marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { + x := input.Message.Interface().(*GetLatestRegretStdNormRequest) + if x == nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + options := runtime.MarshalInputToOptions(input) + _ = options + size := options.Size(x) + dAtA := make([]byte, size) + i := len(dAtA) + _ = i + var l int + _ = l + if x.unknownFields != nil { + i -= len(x.unknownFields) + copy(dAtA[i:], x.unknownFields) + } + if x.TopicId != 0 { + i = runtime.EncodeVarint(dAtA, i, uint64(x.TopicId)) + i-- + dAtA[i] = 0x8 + } + if input.Buf != nil { + input.Buf = append(input.Buf, dAtA...) + } else { + input.Buf = dAtA + } + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { + x := input.Message.Interface().(*GetLatestRegretStdNormRequest) + if x == nil { + return protoiface.UnmarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Flags: input.Flags, + }, nil + } + options := runtime.UnmarshalInputToOptions(input) + _ = options + dAtA := input.Buf + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: GetLatestRegretStdNormRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: GetLatestRegretStdNormRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field TopicId", wireType) + } + x.TopicId = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + x.TopicId |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + default: + iNdEx = preIndex + skippy, err := runtime.Skip(dAtA[iNdEx:]) + if err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if (iNdEx + skippy) > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + if !options.DiscardUnknown { + x.unknownFields = append(x.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + } + iNdEx += skippy + } + } + + if iNdEx > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, nil + } + return &protoiface.Methods{ + NoUnkeyedLiterals: struct{}{}, + Flags: protoiface.SupportMarshalDeterministic | protoiface.SupportUnmarshalDiscardUnknown, + Size: size, + Marshal: marshal, + Unmarshal: unmarshal, + Merge: nil, + CheckInitialized: nil, + } +} + +var ( + md_GetLatestRegretStdNormResponse protoreflect.MessageDescriptor + fd_GetLatestRegretStdNormResponse_value protoreflect.FieldDescriptor +) + +func init() { + file_emissions_v8_query_proto_init() + md_GetLatestRegretStdNormResponse = File_emissions_v8_query_proto.Messages().ByName("GetLatestRegretStdNormResponse") + fd_GetLatestRegretStdNormResponse_value = md_GetLatestRegretStdNormResponse.Fields().ByName("value") +} + +var _ protoreflect.Message = (*fastReflection_GetLatestRegretStdNormResponse)(nil) + +type fastReflection_GetLatestRegretStdNormResponse GetLatestRegretStdNormResponse + +func (x *GetLatestRegretStdNormResponse) ProtoReflect() protoreflect.Message { + return (*fastReflection_GetLatestRegretStdNormResponse)(x) +} + +func (x *GetLatestRegretStdNormResponse) slowProtoReflect() protoreflect.Message { + mi := &file_emissions_v8_query_proto_msgTypes[213] + 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) +} + +var _fastReflection_GetLatestRegretStdNormResponse_messageType fastReflection_GetLatestRegretStdNormResponse_messageType +var _ protoreflect.MessageType = fastReflection_GetLatestRegretStdNormResponse_messageType{} + +type fastReflection_GetLatestRegretStdNormResponse_messageType struct{} + +func (x fastReflection_GetLatestRegretStdNormResponse_messageType) Zero() protoreflect.Message { + return (*fastReflection_GetLatestRegretStdNormResponse)(nil) +} +func (x fastReflection_GetLatestRegretStdNormResponse_messageType) New() protoreflect.Message { + return new(fastReflection_GetLatestRegretStdNormResponse) +} +func (x fastReflection_GetLatestRegretStdNormResponse_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_GetLatestRegretStdNormResponse +} + +// Descriptor returns message descriptor, which contains only the protobuf +// type information for the message. +func (x *fastReflection_GetLatestRegretStdNormResponse) Descriptor() protoreflect.MessageDescriptor { + return md_GetLatestRegretStdNormResponse +} + +// Type returns the message type, which encapsulates both Go and protobuf +// type information. If the Go type information is not needed, +// it is recommended that the message descriptor be used instead. +func (x *fastReflection_GetLatestRegretStdNormResponse) Type() protoreflect.MessageType { + return _fastReflection_GetLatestRegretStdNormResponse_messageType +} + +// New returns a newly allocated and mutable empty message. +func (x *fastReflection_GetLatestRegretStdNormResponse) New() protoreflect.Message { + return new(fastReflection_GetLatestRegretStdNormResponse) +} + +// Interface unwraps the message reflection interface and +// returns the underlying ProtoMessage interface. +func (x *fastReflection_GetLatestRegretStdNormResponse) Interface() protoreflect.ProtoMessage { + return (*GetLatestRegretStdNormResponse)(x) +} + +// Range iterates over every populated field in an undefined order, +// calling f for each field descriptor and value encountered. +// Range returns immediately if f returns false. +// While iterating, mutating operations may only be performed +// on the current field descriptor. +func (x *fastReflection_GetLatestRegretStdNormResponse) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { + if x.Value != "" { + value := protoreflect.ValueOfString(x.Value) + if !f(fd_GetLatestRegretStdNormResponse_value, value) { + return + } + } +} + +// Has reports whether a field is populated. +// +// Some fields have the property of nullability where it is possible to +// distinguish between the default value of a field and whether the field +// was explicitly populated with the default value. Singular message fields, +// member fields of a oneof, and proto2 scalar fields are nullable. Such +// fields are populated only if explicitly set. +// +// In other cases (aside from the nullable cases above), +// a proto3 scalar field is populated if it contains a non-zero value, and +// a repeated field is populated if it is non-empty. +func (x *fastReflection_GetLatestRegretStdNormResponse) Has(fd protoreflect.FieldDescriptor) bool { + switch fd.FullName() { + case "emissions.v8.GetLatestRegretStdNormResponse.value": + return x.Value != "" + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetLatestRegretStdNormResponse")) + } + panic(fmt.Errorf("message emissions.v8.GetLatestRegretStdNormResponse does not contain field %s", fd.FullName())) + } +} + +// Clear clears the field such that a subsequent Has call reports false. +// +// Clearing an extension field clears both the extension type and value +// associated with the given field number. +// +// Clear is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetLatestRegretStdNormResponse) Clear(fd protoreflect.FieldDescriptor) { + switch fd.FullName() { + case "emissions.v8.GetLatestRegretStdNormResponse.value": + x.Value = "" + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetLatestRegretStdNormResponse")) + } + panic(fmt.Errorf("message emissions.v8.GetLatestRegretStdNormResponse does not contain field %s", fd.FullName())) + } +} + +// Get retrieves the value for a field. +// +// For unpopulated scalars, it returns the default value, where +// the default value of a bytes scalar is guaranteed to be a copy. +// For unpopulated composite types, it returns an empty, read-only view +// of the value; to obtain a mutable reference, use Mutable. +func (x *fastReflection_GetLatestRegretStdNormResponse) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { + switch descriptor.FullName() { + case "emissions.v8.GetLatestRegretStdNormResponse.value": + value := x.Value + return protoreflect.ValueOfString(value) + default: + if descriptor.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetLatestRegretStdNormResponse")) + } + panic(fmt.Errorf("message emissions.v8.GetLatestRegretStdNormResponse does not contain field %s", descriptor.FullName())) + } +} + +// Set stores the value for a field. +// +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType. +// When setting a composite type, it is unspecified whether the stored value +// aliases the source's memory in any way. If the composite value is an +// empty, read-only value, then it panics. +// +// Set is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetLatestRegretStdNormResponse) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { + switch fd.FullName() { + case "emissions.v8.GetLatestRegretStdNormResponse.value": + x.Value = value.Interface().(string) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetLatestRegretStdNormResponse")) + } + panic(fmt.Errorf("message emissions.v8.GetLatestRegretStdNormResponse does not contain field %s", fd.FullName())) + } +} + +// Mutable returns a mutable reference to a composite type. +// +// If the field is unpopulated, it may allocate a composite value. +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType +// if not already stored. +// It panics if the field does not contain a composite type. +// +// Mutable is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetLatestRegretStdNormResponse) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.GetLatestRegretStdNormResponse.value": + panic(fmt.Errorf("field value of message emissions.v8.GetLatestRegretStdNormResponse is not mutable")) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetLatestRegretStdNormResponse")) + } + panic(fmt.Errorf("message emissions.v8.GetLatestRegretStdNormResponse does not contain field %s", fd.FullName())) + } +} + +// NewField returns a new value that is assignable to the field +// for the given descriptor. For scalars, this returns the default value. +// For lists, maps, and messages, this returns a new, empty, mutable value. +func (x *fastReflection_GetLatestRegretStdNormResponse) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.GetLatestRegretStdNormResponse.value": + return protoreflect.ValueOfString("") + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetLatestRegretStdNormResponse")) + } + panic(fmt.Errorf("message emissions.v8.GetLatestRegretStdNormResponse does not contain field %s", fd.FullName())) + } +} + +// WhichOneof reports which field within the oneof is populated, +// returning nil if none are populated. +// It panics if the oneof descriptor does not belong to this message. +func (x *fastReflection_GetLatestRegretStdNormResponse) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { + switch d.FullName() { + default: + panic(fmt.Errorf("%s is not a oneof field in emissions.v8.GetLatestRegretStdNormResponse", d.FullName())) + } + panic("unreachable") +} + +// GetUnknown retrieves the entire list of unknown fields. +// The caller may only mutate the contents of the RawFields +// if the mutated bytes are stored back into the message with SetUnknown. +func (x *fastReflection_GetLatestRegretStdNormResponse) GetUnknown() protoreflect.RawFields { + return x.unknownFields +} + +// SetUnknown stores an entire list of unknown fields. +// The raw fields must be syntactically valid according to the wire format. +// An implementation may panic if this is not the case. +// Once stored, the caller must not mutate the content of the RawFields. +// An empty RawFields may be passed to clear the fields. +// +// SetUnknown is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetLatestRegretStdNormResponse) SetUnknown(fields protoreflect.RawFields) { + x.unknownFields = fields +} + +// IsValid reports whether the message is valid. +// +// An invalid message is an empty, read-only value. +// +// An invalid message often corresponds to a nil pointer of the concrete +// message type, but the details are implementation dependent. +// Validity is not part of the protobuf data model, and may not +// be preserved in marshaling or other operations. +func (x *fastReflection_GetLatestRegretStdNormResponse) IsValid() bool { + return x != nil +} + +// ProtoMethods returns optional fastReflectionFeature-path implementations of various operations. +// This method may return nil. +// +// The returned methods type is identical to +// "google.golang.org/protobuf/runtime/protoiface".Methods. +// Consult the protoiface package documentation for details. +func (x *fastReflection_GetLatestRegretStdNormResponse) ProtoMethods() *protoiface.Methods { + size := func(input protoiface.SizeInput) protoiface.SizeOutput { + x := input.Message.Interface().(*GetLatestRegretStdNormResponse) + if x == nil { + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: 0, + } + } + options := runtime.SizeInputToOptions(input) + _ = options + var n int + var l int + _ = l + l = len(x.Value) + if l > 0 { + n += 1 + l + runtime.Sov(uint64(l)) + } + if x.unknownFields != nil { + n += len(x.unknownFields) + } + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: n, + } + } + + marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { + x := input.Message.Interface().(*GetLatestRegretStdNormResponse) + if x == nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + options := runtime.MarshalInputToOptions(input) + _ = options + size := options.Size(x) + dAtA := make([]byte, size) + i := len(dAtA) + _ = i + var l int + _ = l + if x.unknownFields != nil { + i -= len(x.unknownFields) + copy(dAtA[i:], x.unknownFields) + } + if len(x.Value) > 0 { + i -= len(x.Value) + copy(dAtA[i:], x.Value) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.Value))) + i-- + dAtA[i] = 0xa + } + if input.Buf != nil { + input.Buf = append(input.Buf, dAtA...) + } else { + input.Buf = dAtA + } + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { + x := input.Message.Interface().(*GetLatestRegretStdNormResponse) + if x == nil { + return protoiface.UnmarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Flags: input.Flags, + }, nil + } + options := runtime.UnmarshalInputToOptions(input) + _ = options + dAtA := input.Buf + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: GetLatestRegretStdNormResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: GetLatestRegretStdNormResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Value", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + x.Value = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := runtime.Skip(dAtA[iNdEx:]) + if err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if (iNdEx + skippy) > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + if !options.DiscardUnknown { + x.unknownFields = append(x.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + } + iNdEx += skippy + } + } + + if iNdEx > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, nil + } + return &protoiface.Methods{ + NoUnkeyedLiterals: struct{}{}, + Flags: protoiface.SupportMarshalDeterministic | protoiface.SupportUnmarshalDiscardUnknown, + Size: size, + Marshal: marshal, + Unmarshal: unmarshal, + Merge: nil, + CheckInitialized: nil, + } +} + +var ( + md_GetLatestInfererWeightRequest protoreflect.MessageDescriptor + fd_GetLatestInfererWeightRequest_topic_id protoreflect.FieldDescriptor + fd_GetLatestInfererWeightRequest_actor_id protoreflect.FieldDescriptor +) + +func init() { + file_emissions_v8_query_proto_init() + md_GetLatestInfererWeightRequest = File_emissions_v8_query_proto.Messages().ByName("GetLatestInfererWeightRequest") + fd_GetLatestInfererWeightRequest_topic_id = md_GetLatestInfererWeightRequest.Fields().ByName("topic_id") + fd_GetLatestInfererWeightRequest_actor_id = md_GetLatestInfererWeightRequest.Fields().ByName("actor_id") +} + +var _ protoreflect.Message = (*fastReflection_GetLatestInfererWeightRequest)(nil) + +type fastReflection_GetLatestInfererWeightRequest GetLatestInfererWeightRequest + +func (x *GetLatestInfererWeightRequest) ProtoReflect() protoreflect.Message { + return (*fastReflection_GetLatestInfererWeightRequest)(x) +} + +func (x *GetLatestInfererWeightRequest) slowProtoReflect() protoreflect.Message { + mi := &file_emissions_v8_query_proto_msgTypes[214] + 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) +} + +var _fastReflection_GetLatestInfererWeightRequest_messageType fastReflection_GetLatestInfererWeightRequest_messageType +var _ protoreflect.MessageType = fastReflection_GetLatestInfererWeightRequest_messageType{} + +type fastReflection_GetLatestInfererWeightRequest_messageType struct{} + +func (x fastReflection_GetLatestInfererWeightRequest_messageType) Zero() protoreflect.Message { + return (*fastReflection_GetLatestInfererWeightRequest)(nil) +} +func (x fastReflection_GetLatestInfererWeightRequest_messageType) New() protoreflect.Message { + return new(fastReflection_GetLatestInfererWeightRequest) +} +func (x fastReflection_GetLatestInfererWeightRequest_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_GetLatestInfererWeightRequest +} + +// Descriptor returns message descriptor, which contains only the protobuf +// type information for the message. +func (x *fastReflection_GetLatestInfererWeightRequest) Descriptor() protoreflect.MessageDescriptor { + return md_GetLatestInfererWeightRequest +} + +// Type returns the message type, which encapsulates both Go and protobuf +// type information. If the Go type information is not needed, +// it is recommended that the message descriptor be used instead. +func (x *fastReflection_GetLatestInfererWeightRequest) Type() protoreflect.MessageType { + return _fastReflection_GetLatestInfererWeightRequest_messageType +} + +// New returns a newly allocated and mutable empty message. +func (x *fastReflection_GetLatestInfererWeightRequest) New() protoreflect.Message { + return new(fastReflection_GetLatestInfererWeightRequest) +} + +// Interface unwraps the message reflection interface and +// returns the underlying ProtoMessage interface. +func (x *fastReflection_GetLatestInfererWeightRequest) Interface() protoreflect.ProtoMessage { + return (*GetLatestInfererWeightRequest)(x) +} + +// Range iterates over every populated field in an undefined order, +// calling f for each field descriptor and value encountered. +// Range returns immediately if f returns false. +// While iterating, mutating operations may only be performed +// on the current field descriptor. +func (x *fastReflection_GetLatestInfererWeightRequest) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { + if x.TopicId != uint64(0) { + value := protoreflect.ValueOfUint64(x.TopicId) + if !f(fd_GetLatestInfererWeightRequest_topic_id, value) { + return + } + } + if x.ActorId != "" { + value := protoreflect.ValueOfString(x.ActorId) + if !f(fd_GetLatestInfererWeightRequest_actor_id, value) { + return + } + } +} + +// Has reports whether a field is populated. +// +// Some fields have the property of nullability where it is possible to +// distinguish between the default value of a field and whether the field +// was explicitly populated with the default value. Singular message fields, +// member fields of a oneof, and proto2 scalar fields are nullable. Such +// fields are populated only if explicitly set. +// +// In other cases (aside from the nullable cases above), +// a proto3 scalar field is populated if it contains a non-zero value, and +// a repeated field is populated if it is non-empty. +func (x *fastReflection_GetLatestInfererWeightRequest) Has(fd protoreflect.FieldDescriptor) bool { + switch fd.FullName() { + case "emissions.v8.GetLatestInfererWeightRequest.topic_id": + return x.TopicId != uint64(0) + case "emissions.v8.GetLatestInfererWeightRequest.actor_id": + return x.ActorId != "" + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetLatestInfererWeightRequest")) + } + panic(fmt.Errorf("message emissions.v8.GetLatestInfererWeightRequest does not contain field %s", fd.FullName())) + } +} + +// Clear clears the field such that a subsequent Has call reports false. +// +// Clearing an extension field clears both the extension type and value +// associated with the given field number. +// +// Clear is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetLatestInfererWeightRequest) Clear(fd protoreflect.FieldDescriptor) { + switch fd.FullName() { + case "emissions.v8.GetLatestInfererWeightRequest.topic_id": + x.TopicId = uint64(0) + case "emissions.v8.GetLatestInfererWeightRequest.actor_id": + x.ActorId = "" + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetLatestInfererWeightRequest")) + } + panic(fmt.Errorf("message emissions.v8.GetLatestInfererWeightRequest does not contain field %s", fd.FullName())) + } +} + +// Get retrieves the value for a field. +// +// For unpopulated scalars, it returns the default value, where +// the default value of a bytes scalar is guaranteed to be a copy. +// For unpopulated composite types, it returns an empty, read-only view +// of the value; to obtain a mutable reference, use Mutable. +func (x *fastReflection_GetLatestInfererWeightRequest) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { + switch descriptor.FullName() { + case "emissions.v8.GetLatestInfererWeightRequest.topic_id": + value := x.TopicId + return protoreflect.ValueOfUint64(value) + case "emissions.v8.GetLatestInfererWeightRequest.actor_id": + value := x.ActorId + return protoreflect.ValueOfString(value) + default: + if descriptor.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetLatestInfererWeightRequest")) + } + panic(fmt.Errorf("message emissions.v8.GetLatestInfererWeightRequest does not contain field %s", descriptor.FullName())) + } +} + +// Set stores the value for a field. +// +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType. +// When setting a composite type, it is unspecified whether the stored value +// aliases the source's memory in any way. If the composite value is an +// empty, read-only value, then it panics. +// +// Set is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetLatestInfererWeightRequest) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { + switch fd.FullName() { + case "emissions.v8.GetLatestInfererWeightRequest.topic_id": + x.TopicId = value.Uint() + case "emissions.v8.GetLatestInfererWeightRequest.actor_id": + x.ActorId = value.Interface().(string) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetLatestInfererWeightRequest")) + } + panic(fmt.Errorf("message emissions.v8.GetLatestInfererWeightRequest does not contain field %s", fd.FullName())) + } +} + +// Mutable returns a mutable reference to a composite type. +// +// If the field is unpopulated, it may allocate a composite value. +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType +// if not already stored. +// It panics if the field does not contain a composite type. +// +// Mutable is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetLatestInfererWeightRequest) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.GetLatestInfererWeightRequest.topic_id": + panic(fmt.Errorf("field topic_id of message emissions.v8.GetLatestInfererWeightRequest is not mutable")) + case "emissions.v8.GetLatestInfererWeightRequest.actor_id": + panic(fmt.Errorf("field actor_id of message emissions.v8.GetLatestInfererWeightRequest is not mutable")) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetLatestInfererWeightRequest")) + } + panic(fmt.Errorf("message emissions.v8.GetLatestInfererWeightRequest does not contain field %s", fd.FullName())) + } +} + +// NewField returns a new value that is assignable to the field +// for the given descriptor. For scalars, this returns the default value. +// For lists, maps, and messages, this returns a new, empty, mutable value. +func (x *fastReflection_GetLatestInfererWeightRequest) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.GetLatestInfererWeightRequest.topic_id": + return protoreflect.ValueOfUint64(uint64(0)) + case "emissions.v8.GetLatestInfererWeightRequest.actor_id": + return protoreflect.ValueOfString("") + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetLatestInfererWeightRequest")) + } + panic(fmt.Errorf("message emissions.v8.GetLatestInfererWeightRequest does not contain field %s", fd.FullName())) + } +} + +// WhichOneof reports which field within the oneof is populated, +// returning nil if none are populated. +// It panics if the oneof descriptor does not belong to this message. +func (x *fastReflection_GetLatestInfererWeightRequest) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { + switch d.FullName() { + default: + panic(fmt.Errorf("%s is not a oneof field in emissions.v8.GetLatestInfererWeightRequest", d.FullName())) + } + panic("unreachable") +} + +// GetUnknown retrieves the entire list of unknown fields. +// The caller may only mutate the contents of the RawFields +// if the mutated bytes are stored back into the message with SetUnknown. +func (x *fastReflection_GetLatestInfererWeightRequest) GetUnknown() protoreflect.RawFields { + return x.unknownFields +} + +// SetUnknown stores an entire list of unknown fields. +// The raw fields must be syntactically valid according to the wire format. +// An implementation may panic if this is not the case. +// Once stored, the caller must not mutate the content of the RawFields. +// An empty RawFields may be passed to clear the fields. +// +// SetUnknown is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetLatestInfererWeightRequest) SetUnknown(fields protoreflect.RawFields) { + x.unknownFields = fields +} + +// IsValid reports whether the message is valid. +// +// An invalid message is an empty, read-only value. +// +// An invalid message often corresponds to a nil pointer of the concrete +// message type, but the details are implementation dependent. +// Validity is not part of the protobuf data model, and may not +// be preserved in marshaling or other operations. +func (x *fastReflection_GetLatestInfererWeightRequest) IsValid() bool { + return x != nil +} + +// ProtoMethods returns optional fastReflectionFeature-path implementations of various operations. +// This method may return nil. +// +// The returned methods type is identical to +// "google.golang.org/protobuf/runtime/protoiface".Methods. +// Consult the protoiface package documentation for details. +func (x *fastReflection_GetLatestInfererWeightRequest) ProtoMethods() *protoiface.Methods { + size := func(input protoiface.SizeInput) protoiface.SizeOutput { + x := input.Message.Interface().(*GetLatestInfererWeightRequest) + if x == nil { + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: 0, + } + } + options := runtime.SizeInputToOptions(input) + _ = options + var n int + var l int + _ = l + if x.TopicId != 0 { + n += 1 + runtime.Sov(uint64(x.TopicId)) + } + l = len(x.ActorId) + if l > 0 { + n += 1 + l + runtime.Sov(uint64(l)) + } + if x.unknownFields != nil { + n += len(x.unknownFields) + } + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: n, + } + } + + marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { + x := input.Message.Interface().(*GetLatestInfererWeightRequest) + if x == nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + options := runtime.MarshalInputToOptions(input) + _ = options + size := options.Size(x) + dAtA := make([]byte, size) + i := len(dAtA) + _ = i + var l int + _ = l + if x.unknownFields != nil { + i -= len(x.unknownFields) + copy(dAtA[i:], x.unknownFields) + } + if len(x.ActorId) > 0 { + i -= len(x.ActorId) + copy(dAtA[i:], x.ActorId) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.ActorId))) + i-- + dAtA[i] = 0x12 + } + if x.TopicId != 0 { + i = runtime.EncodeVarint(dAtA, i, uint64(x.TopicId)) + i-- + dAtA[i] = 0x8 + } + if input.Buf != nil { + input.Buf = append(input.Buf, dAtA...) + } else { + input.Buf = dAtA + } + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { + x := input.Message.Interface().(*GetLatestInfererWeightRequest) + if x == nil { + return protoiface.UnmarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Flags: input.Flags, + }, nil + } + options := runtime.UnmarshalInputToOptions(input) + _ = options + dAtA := input.Buf + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: GetLatestInfererWeightRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: GetLatestInfererWeightRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field TopicId", wireType) + } + x.TopicId = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + x.TopicId |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 2: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field ActorId", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + x.ActorId = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := runtime.Skip(dAtA[iNdEx:]) + if err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if (iNdEx + skippy) > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + if !options.DiscardUnknown { + x.unknownFields = append(x.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + } + iNdEx += skippy + } + } + + if iNdEx > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, nil + } + return &protoiface.Methods{ + NoUnkeyedLiterals: struct{}{}, + Flags: protoiface.SupportMarshalDeterministic | protoiface.SupportUnmarshalDiscardUnknown, + Size: size, + Marshal: marshal, + Unmarshal: unmarshal, + Merge: nil, + CheckInitialized: nil, + } +} + +var ( + md_GetLatestInfererWeightResponse protoreflect.MessageDescriptor + fd_GetLatestInfererWeightResponse_weight protoreflect.FieldDescriptor +) + +func init() { + file_emissions_v8_query_proto_init() + md_GetLatestInfererWeightResponse = File_emissions_v8_query_proto.Messages().ByName("GetLatestInfererWeightResponse") + fd_GetLatestInfererWeightResponse_weight = md_GetLatestInfererWeightResponse.Fields().ByName("weight") +} + +var _ protoreflect.Message = (*fastReflection_GetLatestInfererWeightResponse)(nil) + +type fastReflection_GetLatestInfererWeightResponse GetLatestInfererWeightResponse + +func (x *GetLatestInfererWeightResponse) ProtoReflect() protoreflect.Message { + return (*fastReflection_GetLatestInfererWeightResponse)(x) +} + +func (x *GetLatestInfererWeightResponse) slowProtoReflect() protoreflect.Message { + mi := &file_emissions_v8_query_proto_msgTypes[215] + 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) +} + +var _fastReflection_GetLatestInfererWeightResponse_messageType fastReflection_GetLatestInfererWeightResponse_messageType +var _ protoreflect.MessageType = fastReflection_GetLatestInfererWeightResponse_messageType{} + +type fastReflection_GetLatestInfererWeightResponse_messageType struct{} + +func (x fastReflection_GetLatestInfererWeightResponse_messageType) Zero() protoreflect.Message { + return (*fastReflection_GetLatestInfererWeightResponse)(nil) +} +func (x fastReflection_GetLatestInfererWeightResponse_messageType) New() protoreflect.Message { + return new(fastReflection_GetLatestInfererWeightResponse) +} +func (x fastReflection_GetLatestInfererWeightResponse_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_GetLatestInfererWeightResponse +} + +// Descriptor returns message descriptor, which contains only the protobuf +// type information for the message. +func (x *fastReflection_GetLatestInfererWeightResponse) Descriptor() protoreflect.MessageDescriptor { + return md_GetLatestInfererWeightResponse +} + +// Type returns the message type, which encapsulates both Go and protobuf +// type information. If the Go type information is not needed, +// it is recommended that the message descriptor be used instead. +func (x *fastReflection_GetLatestInfererWeightResponse) Type() protoreflect.MessageType { + return _fastReflection_GetLatestInfererWeightResponse_messageType +} + +// New returns a newly allocated and mutable empty message. +func (x *fastReflection_GetLatestInfererWeightResponse) New() protoreflect.Message { + return new(fastReflection_GetLatestInfererWeightResponse) +} + +// Interface unwraps the message reflection interface and +// returns the underlying ProtoMessage interface. +func (x *fastReflection_GetLatestInfererWeightResponse) Interface() protoreflect.ProtoMessage { + return (*GetLatestInfererWeightResponse)(x) +} + +// Range iterates over every populated field in an undefined order, +// calling f for each field descriptor and value encountered. +// Range returns immediately if f returns false. +// While iterating, mutating operations may only be performed +// on the current field descriptor. +func (x *fastReflection_GetLatestInfererWeightResponse) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { + if x.Weight != "" { + value := protoreflect.ValueOfString(x.Weight) + if !f(fd_GetLatestInfererWeightResponse_weight, value) { + return + } + } +} + +// Has reports whether a field is populated. +// +// Some fields have the property of nullability where it is possible to +// distinguish between the default value of a field and whether the field +// was explicitly populated with the default value. Singular message fields, +// member fields of a oneof, and proto2 scalar fields are nullable. Such +// fields are populated only if explicitly set. +// +// In other cases (aside from the nullable cases above), +// a proto3 scalar field is populated if it contains a non-zero value, and +// a repeated field is populated if it is non-empty. +func (x *fastReflection_GetLatestInfererWeightResponse) Has(fd protoreflect.FieldDescriptor) bool { + switch fd.FullName() { + case "emissions.v8.GetLatestInfererWeightResponse.weight": + return x.Weight != "" + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetLatestInfererWeightResponse")) + } + panic(fmt.Errorf("message emissions.v8.GetLatestInfererWeightResponse does not contain field %s", fd.FullName())) + } +} + +// Clear clears the field such that a subsequent Has call reports false. +// +// Clearing an extension field clears both the extension type and value +// associated with the given field number. +// +// Clear is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetLatestInfererWeightResponse) Clear(fd protoreflect.FieldDescriptor) { + switch fd.FullName() { + case "emissions.v8.GetLatestInfererWeightResponse.weight": + x.Weight = "" + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetLatestInfererWeightResponse")) + } + panic(fmt.Errorf("message emissions.v8.GetLatestInfererWeightResponse does not contain field %s", fd.FullName())) + } +} + +// Get retrieves the value for a field. +// +// For unpopulated scalars, it returns the default value, where +// the default value of a bytes scalar is guaranteed to be a copy. +// For unpopulated composite types, it returns an empty, read-only view +// of the value; to obtain a mutable reference, use Mutable. +func (x *fastReflection_GetLatestInfererWeightResponse) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { + switch descriptor.FullName() { + case "emissions.v8.GetLatestInfererWeightResponse.weight": + value := x.Weight + return protoreflect.ValueOfString(value) + default: + if descriptor.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetLatestInfererWeightResponse")) + } + panic(fmt.Errorf("message emissions.v8.GetLatestInfererWeightResponse does not contain field %s", descriptor.FullName())) + } +} + +// Set stores the value for a field. +// +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType. +// When setting a composite type, it is unspecified whether the stored value +// aliases the source's memory in any way. If the composite value is an +// empty, read-only value, then it panics. +// +// Set is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetLatestInfererWeightResponse) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { + switch fd.FullName() { + case "emissions.v8.GetLatestInfererWeightResponse.weight": + x.Weight = value.Interface().(string) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetLatestInfererWeightResponse")) + } + panic(fmt.Errorf("message emissions.v8.GetLatestInfererWeightResponse does not contain field %s", fd.FullName())) + } +} + +// Mutable returns a mutable reference to a composite type. +// +// If the field is unpopulated, it may allocate a composite value. +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType +// if not already stored. +// It panics if the field does not contain a composite type. +// +// Mutable is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetLatestInfererWeightResponse) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.GetLatestInfererWeightResponse.weight": + panic(fmt.Errorf("field weight of message emissions.v8.GetLatestInfererWeightResponse is not mutable")) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetLatestInfererWeightResponse")) + } + panic(fmt.Errorf("message emissions.v8.GetLatestInfererWeightResponse does not contain field %s", fd.FullName())) + } +} + +// NewField returns a new value that is assignable to the field +// for the given descriptor. For scalars, this returns the default value. +// For lists, maps, and messages, this returns a new, empty, mutable value. +func (x *fastReflection_GetLatestInfererWeightResponse) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.GetLatestInfererWeightResponse.weight": + return protoreflect.ValueOfString("") + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetLatestInfererWeightResponse")) + } + panic(fmt.Errorf("message emissions.v8.GetLatestInfererWeightResponse does not contain field %s", fd.FullName())) + } +} + +// WhichOneof reports which field within the oneof is populated, +// returning nil if none are populated. +// It panics if the oneof descriptor does not belong to this message. +func (x *fastReflection_GetLatestInfererWeightResponse) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { + switch d.FullName() { + default: + panic(fmt.Errorf("%s is not a oneof field in emissions.v8.GetLatestInfererWeightResponse", d.FullName())) + } + panic("unreachable") +} + +// GetUnknown retrieves the entire list of unknown fields. +// The caller may only mutate the contents of the RawFields +// if the mutated bytes are stored back into the message with SetUnknown. +func (x *fastReflection_GetLatestInfererWeightResponse) GetUnknown() protoreflect.RawFields { + return x.unknownFields +} + +// SetUnknown stores an entire list of unknown fields. +// The raw fields must be syntactically valid according to the wire format. +// An implementation may panic if this is not the case. +// Once stored, the caller must not mutate the content of the RawFields. +// An empty RawFields may be passed to clear the fields. +// +// SetUnknown is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetLatestInfererWeightResponse) SetUnknown(fields protoreflect.RawFields) { + x.unknownFields = fields +} + +// IsValid reports whether the message is valid. +// +// An invalid message is an empty, read-only value. +// +// An invalid message often corresponds to a nil pointer of the concrete +// message type, but the details are implementation dependent. +// Validity is not part of the protobuf data model, and may not +// be preserved in marshaling or other operations. +func (x *fastReflection_GetLatestInfererWeightResponse) IsValid() bool { + return x != nil +} + +// ProtoMethods returns optional fastReflectionFeature-path implementations of various operations. +// This method may return nil. +// +// The returned methods type is identical to +// "google.golang.org/protobuf/runtime/protoiface".Methods. +// Consult the protoiface package documentation for details. +func (x *fastReflection_GetLatestInfererWeightResponse) ProtoMethods() *protoiface.Methods { + size := func(input protoiface.SizeInput) protoiface.SizeOutput { + x := input.Message.Interface().(*GetLatestInfererWeightResponse) + if x == nil { + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: 0, + } + } + options := runtime.SizeInputToOptions(input) + _ = options + var n int + var l int + _ = l + l = len(x.Weight) + if l > 0 { + n += 1 + l + runtime.Sov(uint64(l)) + } + if x.unknownFields != nil { + n += len(x.unknownFields) + } + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: n, + } + } + + marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { + x := input.Message.Interface().(*GetLatestInfererWeightResponse) + if x == nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + options := runtime.MarshalInputToOptions(input) + _ = options + size := options.Size(x) + dAtA := make([]byte, size) + i := len(dAtA) + _ = i + var l int + _ = l + if x.unknownFields != nil { + i -= len(x.unknownFields) + copy(dAtA[i:], x.unknownFields) + } + if len(x.Weight) > 0 { + i -= len(x.Weight) + copy(dAtA[i:], x.Weight) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.Weight))) + i-- + dAtA[i] = 0xa + } + if input.Buf != nil { + input.Buf = append(input.Buf, dAtA...) + } else { + input.Buf = dAtA + } + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { + x := input.Message.Interface().(*GetLatestInfererWeightResponse) + if x == nil { + return protoiface.UnmarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Flags: input.Flags, + }, nil + } + options := runtime.UnmarshalInputToOptions(input) + _ = options + dAtA := input.Buf + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: GetLatestInfererWeightResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: GetLatestInfererWeightResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Weight", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + x.Weight = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := runtime.Skip(dAtA[iNdEx:]) + if err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if (iNdEx + skippy) > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + if !options.DiscardUnknown { + x.unknownFields = append(x.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + } + iNdEx += skippy + } + } + + if iNdEx > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, nil + } + return &protoiface.Methods{ + NoUnkeyedLiterals: struct{}{}, + Flags: protoiface.SupportMarshalDeterministic | protoiface.SupportUnmarshalDiscardUnknown, + Size: size, + Marshal: marshal, + Unmarshal: unmarshal, + Merge: nil, + CheckInitialized: nil, + } +} + +var ( + md_GetLatestForecasterWeightRequest protoreflect.MessageDescriptor + fd_GetLatestForecasterWeightRequest_topic_id protoreflect.FieldDescriptor + fd_GetLatestForecasterWeightRequest_actor_id protoreflect.FieldDescriptor +) + +func init() { + file_emissions_v8_query_proto_init() + md_GetLatestForecasterWeightRequest = File_emissions_v8_query_proto.Messages().ByName("GetLatestForecasterWeightRequest") + fd_GetLatestForecasterWeightRequest_topic_id = md_GetLatestForecasterWeightRequest.Fields().ByName("topic_id") + fd_GetLatestForecasterWeightRequest_actor_id = md_GetLatestForecasterWeightRequest.Fields().ByName("actor_id") +} + +var _ protoreflect.Message = (*fastReflection_GetLatestForecasterWeightRequest)(nil) + +type fastReflection_GetLatestForecasterWeightRequest GetLatestForecasterWeightRequest + +func (x *GetLatestForecasterWeightRequest) ProtoReflect() protoreflect.Message { + return (*fastReflection_GetLatestForecasterWeightRequest)(x) +} + +func (x *GetLatestForecasterWeightRequest) slowProtoReflect() protoreflect.Message { + mi := &file_emissions_v8_query_proto_msgTypes[216] + 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) +} + +var _fastReflection_GetLatestForecasterWeightRequest_messageType fastReflection_GetLatestForecasterWeightRequest_messageType +var _ protoreflect.MessageType = fastReflection_GetLatestForecasterWeightRequest_messageType{} + +type fastReflection_GetLatestForecasterWeightRequest_messageType struct{} + +func (x fastReflection_GetLatestForecasterWeightRequest_messageType) Zero() protoreflect.Message { + return (*fastReflection_GetLatestForecasterWeightRequest)(nil) +} +func (x fastReflection_GetLatestForecasterWeightRequest_messageType) New() protoreflect.Message { + return new(fastReflection_GetLatestForecasterWeightRequest) +} +func (x fastReflection_GetLatestForecasterWeightRequest_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_GetLatestForecasterWeightRequest +} + +// Descriptor returns message descriptor, which contains only the protobuf +// type information for the message. +func (x *fastReflection_GetLatestForecasterWeightRequest) Descriptor() protoreflect.MessageDescriptor { + return md_GetLatestForecasterWeightRequest +} + +// Type returns the message type, which encapsulates both Go and protobuf +// type information. If the Go type information is not needed, +// it is recommended that the message descriptor be used instead. +func (x *fastReflection_GetLatestForecasterWeightRequest) Type() protoreflect.MessageType { + return _fastReflection_GetLatestForecasterWeightRequest_messageType +} + +// New returns a newly allocated and mutable empty message. +func (x *fastReflection_GetLatestForecasterWeightRequest) New() protoreflect.Message { + return new(fastReflection_GetLatestForecasterWeightRequest) +} + +// Interface unwraps the message reflection interface and +// returns the underlying ProtoMessage interface. +func (x *fastReflection_GetLatestForecasterWeightRequest) Interface() protoreflect.ProtoMessage { + return (*GetLatestForecasterWeightRequest)(x) +} + +// Range iterates over every populated field in an undefined order, +// calling f for each field descriptor and value encountered. +// Range returns immediately if f returns false. +// While iterating, mutating operations may only be performed +// on the current field descriptor. +func (x *fastReflection_GetLatestForecasterWeightRequest) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { + if x.TopicId != uint64(0) { + value := protoreflect.ValueOfUint64(x.TopicId) + if !f(fd_GetLatestForecasterWeightRequest_topic_id, value) { + return + } + } + if x.ActorId != "" { + value := protoreflect.ValueOfString(x.ActorId) + if !f(fd_GetLatestForecasterWeightRequest_actor_id, value) { + return + } + } +} + +// Has reports whether a field is populated. +// +// Some fields have the property of nullability where it is possible to +// distinguish between the default value of a field and whether the field +// was explicitly populated with the default value. Singular message fields, +// member fields of a oneof, and proto2 scalar fields are nullable. Such +// fields are populated only if explicitly set. +// +// In other cases (aside from the nullable cases above), +// a proto3 scalar field is populated if it contains a non-zero value, and +// a repeated field is populated if it is non-empty. +func (x *fastReflection_GetLatestForecasterWeightRequest) Has(fd protoreflect.FieldDescriptor) bool { + switch fd.FullName() { + case "emissions.v8.GetLatestForecasterWeightRequest.topic_id": + return x.TopicId != uint64(0) + case "emissions.v8.GetLatestForecasterWeightRequest.actor_id": + return x.ActorId != "" + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetLatestForecasterWeightRequest")) + } + panic(fmt.Errorf("message emissions.v8.GetLatestForecasterWeightRequest does not contain field %s", fd.FullName())) + } +} + +// Clear clears the field such that a subsequent Has call reports false. +// +// Clearing an extension field clears both the extension type and value +// associated with the given field number. +// +// Clear is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetLatestForecasterWeightRequest) Clear(fd protoreflect.FieldDescriptor) { + switch fd.FullName() { + case "emissions.v8.GetLatestForecasterWeightRequest.topic_id": + x.TopicId = uint64(0) + case "emissions.v8.GetLatestForecasterWeightRequest.actor_id": + x.ActorId = "" + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetLatestForecasterWeightRequest")) + } + panic(fmt.Errorf("message emissions.v8.GetLatestForecasterWeightRequest does not contain field %s", fd.FullName())) + } +} + +// Get retrieves the value for a field. +// +// For unpopulated scalars, it returns the default value, where +// the default value of a bytes scalar is guaranteed to be a copy. +// For unpopulated composite types, it returns an empty, read-only view +// of the value; to obtain a mutable reference, use Mutable. +func (x *fastReflection_GetLatestForecasterWeightRequest) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { + switch descriptor.FullName() { + case "emissions.v8.GetLatestForecasterWeightRequest.topic_id": + value := x.TopicId + return protoreflect.ValueOfUint64(value) + case "emissions.v8.GetLatestForecasterWeightRequest.actor_id": + value := x.ActorId + return protoreflect.ValueOfString(value) + default: + if descriptor.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetLatestForecasterWeightRequest")) + } + panic(fmt.Errorf("message emissions.v8.GetLatestForecasterWeightRequest does not contain field %s", descriptor.FullName())) + } +} + +// Set stores the value for a field. +// +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType. +// When setting a composite type, it is unspecified whether the stored value +// aliases the source's memory in any way. If the composite value is an +// empty, read-only value, then it panics. +// +// Set is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetLatestForecasterWeightRequest) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { + switch fd.FullName() { + case "emissions.v8.GetLatestForecasterWeightRequest.topic_id": + x.TopicId = value.Uint() + case "emissions.v8.GetLatestForecasterWeightRequest.actor_id": + x.ActorId = value.Interface().(string) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetLatestForecasterWeightRequest")) + } + panic(fmt.Errorf("message emissions.v8.GetLatestForecasterWeightRequest does not contain field %s", fd.FullName())) + } +} + +// Mutable returns a mutable reference to a composite type. +// +// If the field is unpopulated, it may allocate a composite value. +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType +// if not already stored. +// It panics if the field does not contain a composite type. +// +// Mutable is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetLatestForecasterWeightRequest) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.GetLatestForecasterWeightRequest.topic_id": + panic(fmt.Errorf("field topic_id of message emissions.v8.GetLatestForecasterWeightRequest is not mutable")) + case "emissions.v8.GetLatestForecasterWeightRequest.actor_id": + panic(fmt.Errorf("field actor_id of message emissions.v8.GetLatestForecasterWeightRequest is not mutable")) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetLatestForecasterWeightRequest")) + } + panic(fmt.Errorf("message emissions.v8.GetLatestForecasterWeightRequest does not contain field %s", fd.FullName())) + } +} + +// NewField returns a new value that is assignable to the field +// for the given descriptor. For scalars, this returns the default value. +// For lists, maps, and messages, this returns a new, empty, mutable value. +func (x *fastReflection_GetLatestForecasterWeightRequest) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.GetLatestForecasterWeightRequest.topic_id": + return protoreflect.ValueOfUint64(uint64(0)) + case "emissions.v8.GetLatestForecasterWeightRequest.actor_id": + return protoreflect.ValueOfString("") + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetLatestForecasterWeightRequest")) + } + panic(fmt.Errorf("message emissions.v8.GetLatestForecasterWeightRequest does not contain field %s", fd.FullName())) + } +} + +// WhichOneof reports which field within the oneof is populated, +// returning nil if none are populated. +// It panics if the oneof descriptor does not belong to this message. +func (x *fastReflection_GetLatestForecasterWeightRequest) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { + switch d.FullName() { + default: + panic(fmt.Errorf("%s is not a oneof field in emissions.v8.GetLatestForecasterWeightRequest", d.FullName())) + } + panic("unreachable") +} + +// GetUnknown retrieves the entire list of unknown fields. +// The caller may only mutate the contents of the RawFields +// if the mutated bytes are stored back into the message with SetUnknown. +func (x *fastReflection_GetLatestForecasterWeightRequest) GetUnknown() protoreflect.RawFields { + return x.unknownFields +} + +// SetUnknown stores an entire list of unknown fields. +// The raw fields must be syntactically valid according to the wire format. +// An implementation may panic if this is not the case. +// Once stored, the caller must not mutate the content of the RawFields. +// An empty RawFields may be passed to clear the fields. +// +// SetUnknown is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetLatestForecasterWeightRequest) SetUnknown(fields protoreflect.RawFields) { + x.unknownFields = fields +} + +// IsValid reports whether the message is valid. +// +// An invalid message is an empty, read-only value. +// +// An invalid message often corresponds to a nil pointer of the concrete +// message type, but the details are implementation dependent. +// Validity is not part of the protobuf data model, and may not +// be preserved in marshaling or other operations. +func (x *fastReflection_GetLatestForecasterWeightRequest) IsValid() bool { + return x != nil +} + +// ProtoMethods returns optional fastReflectionFeature-path implementations of various operations. +// This method may return nil. +// +// The returned methods type is identical to +// "google.golang.org/protobuf/runtime/protoiface".Methods. +// Consult the protoiface package documentation for details. +func (x *fastReflection_GetLatestForecasterWeightRequest) ProtoMethods() *protoiface.Methods { + size := func(input protoiface.SizeInput) protoiface.SizeOutput { + x := input.Message.Interface().(*GetLatestForecasterWeightRequest) + if x == nil { + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: 0, + } + } + options := runtime.SizeInputToOptions(input) + _ = options + var n int + var l int + _ = l + if x.TopicId != 0 { + n += 1 + runtime.Sov(uint64(x.TopicId)) + } + l = len(x.ActorId) + if l > 0 { + n += 1 + l + runtime.Sov(uint64(l)) + } + if x.unknownFields != nil { + n += len(x.unknownFields) + } + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: n, + } + } + + marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { + x := input.Message.Interface().(*GetLatestForecasterWeightRequest) + if x == nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + options := runtime.MarshalInputToOptions(input) + _ = options + size := options.Size(x) + dAtA := make([]byte, size) + i := len(dAtA) + _ = i + var l int + _ = l + if x.unknownFields != nil { + i -= len(x.unknownFields) + copy(dAtA[i:], x.unknownFields) + } + if len(x.ActorId) > 0 { + i -= len(x.ActorId) + copy(dAtA[i:], x.ActorId) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.ActorId))) + i-- + dAtA[i] = 0x12 + } + if x.TopicId != 0 { + i = runtime.EncodeVarint(dAtA, i, uint64(x.TopicId)) + i-- + dAtA[i] = 0x8 + } + if input.Buf != nil { + input.Buf = append(input.Buf, dAtA...) + } else { + input.Buf = dAtA + } + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { + x := input.Message.Interface().(*GetLatestForecasterWeightRequest) + if x == nil { + return protoiface.UnmarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Flags: input.Flags, + }, nil + } + options := runtime.UnmarshalInputToOptions(input) + _ = options + dAtA := input.Buf + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: GetLatestForecasterWeightRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: GetLatestForecasterWeightRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field TopicId", wireType) + } + x.TopicId = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + x.TopicId |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 2: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field ActorId", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + x.ActorId = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := runtime.Skip(dAtA[iNdEx:]) + if err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if (iNdEx + skippy) > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + if !options.DiscardUnknown { + x.unknownFields = append(x.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + } + iNdEx += skippy + } + } + + if iNdEx > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, nil + } + return &protoiface.Methods{ + NoUnkeyedLiterals: struct{}{}, + Flags: protoiface.SupportMarshalDeterministic | protoiface.SupportUnmarshalDiscardUnknown, + Size: size, + Marshal: marshal, + Unmarshal: unmarshal, + Merge: nil, + CheckInitialized: nil, + } +} + +var ( + md_GetLatestForecasterWeightResponse protoreflect.MessageDescriptor + fd_GetLatestForecasterWeightResponse_weight protoreflect.FieldDescriptor +) + +func init() { + file_emissions_v8_query_proto_init() + md_GetLatestForecasterWeightResponse = File_emissions_v8_query_proto.Messages().ByName("GetLatestForecasterWeightResponse") + fd_GetLatestForecasterWeightResponse_weight = md_GetLatestForecasterWeightResponse.Fields().ByName("weight") +} + +var _ protoreflect.Message = (*fastReflection_GetLatestForecasterWeightResponse)(nil) + +type fastReflection_GetLatestForecasterWeightResponse GetLatestForecasterWeightResponse + +func (x *GetLatestForecasterWeightResponse) ProtoReflect() protoreflect.Message { + return (*fastReflection_GetLatestForecasterWeightResponse)(x) +} + +func (x *GetLatestForecasterWeightResponse) slowProtoReflect() protoreflect.Message { + mi := &file_emissions_v8_query_proto_msgTypes[217] + 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) +} + +var _fastReflection_GetLatestForecasterWeightResponse_messageType fastReflection_GetLatestForecasterWeightResponse_messageType +var _ protoreflect.MessageType = fastReflection_GetLatestForecasterWeightResponse_messageType{} + +type fastReflection_GetLatestForecasterWeightResponse_messageType struct{} + +func (x fastReflection_GetLatestForecasterWeightResponse_messageType) Zero() protoreflect.Message { + return (*fastReflection_GetLatestForecasterWeightResponse)(nil) +} +func (x fastReflection_GetLatestForecasterWeightResponse_messageType) New() protoreflect.Message { + return new(fastReflection_GetLatestForecasterWeightResponse) +} +func (x fastReflection_GetLatestForecasterWeightResponse_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_GetLatestForecasterWeightResponse +} + +// Descriptor returns message descriptor, which contains only the protobuf +// type information for the message. +func (x *fastReflection_GetLatestForecasterWeightResponse) Descriptor() protoreflect.MessageDescriptor { + return md_GetLatestForecasterWeightResponse +} + +// Type returns the message type, which encapsulates both Go and protobuf +// type information. If the Go type information is not needed, +// it is recommended that the message descriptor be used instead. +func (x *fastReflection_GetLatestForecasterWeightResponse) Type() protoreflect.MessageType { + return _fastReflection_GetLatestForecasterWeightResponse_messageType +} + +// New returns a newly allocated and mutable empty message. +func (x *fastReflection_GetLatestForecasterWeightResponse) New() protoreflect.Message { + return new(fastReflection_GetLatestForecasterWeightResponse) +} + +// Interface unwraps the message reflection interface and +// returns the underlying ProtoMessage interface. +func (x *fastReflection_GetLatestForecasterWeightResponse) Interface() protoreflect.ProtoMessage { + return (*GetLatestForecasterWeightResponse)(x) +} + +// Range iterates over every populated field in an undefined order, +// calling f for each field descriptor and value encountered. +// Range returns immediately if f returns false. +// While iterating, mutating operations may only be performed +// on the current field descriptor. +func (x *fastReflection_GetLatestForecasterWeightResponse) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { + if x.Weight != "" { + value := protoreflect.ValueOfString(x.Weight) + if !f(fd_GetLatestForecasterWeightResponse_weight, value) { + return + } + } +} + +// Has reports whether a field is populated. +// +// Some fields have the property of nullability where it is possible to +// distinguish between the default value of a field and whether the field +// was explicitly populated with the default value. Singular message fields, +// member fields of a oneof, and proto2 scalar fields are nullable. Such +// fields are populated only if explicitly set. +// +// In other cases (aside from the nullable cases above), +// a proto3 scalar field is populated if it contains a non-zero value, and +// a repeated field is populated if it is non-empty. +func (x *fastReflection_GetLatestForecasterWeightResponse) Has(fd protoreflect.FieldDescriptor) bool { + switch fd.FullName() { + case "emissions.v8.GetLatestForecasterWeightResponse.weight": + return x.Weight != "" + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetLatestForecasterWeightResponse")) + } + panic(fmt.Errorf("message emissions.v8.GetLatestForecasterWeightResponse does not contain field %s", fd.FullName())) + } +} + +// Clear clears the field such that a subsequent Has call reports false. +// +// Clearing an extension field clears both the extension type and value +// associated with the given field number. +// +// Clear is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetLatestForecasterWeightResponse) Clear(fd protoreflect.FieldDescriptor) { + switch fd.FullName() { + case "emissions.v8.GetLatestForecasterWeightResponse.weight": + x.Weight = "" + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetLatestForecasterWeightResponse")) + } + panic(fmt.Errorf("message emissions.v8.GetLatestForecasterWeightResponse does not contain field %s", fd.FullName())) + } +} + +// Get retrieves the value for a field. +// +// For unpopulated scalars, it returns the default value, where +// the default value of a bytes scalar is guaranteed to be a copy. +// For unpopulated composite types, it returns an empty, read-only view +// of the value; to obtain a mutable reference, use Mutable. +func (x *fastReflection_GetLatestForecasterWeightResponse) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { + switch descriptor.FullName() { + case "emissions.v8.GetLatestForecasterWeightResponse.weight": + value := x.Weight + return protoreflect.ValueOfString(value) + default: + if descriptor.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetLatestForecasterWeightResponse")) + } + panic(fmt.Errorf("message emissions.v8.GetLatestForecasterWeightResponse does not contain field %s", descriptor.FullName())) + } +} + +// Set stores the value for a field. +// +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType. +// When setting a composite type, it is unspecified whether the stored value +// aliases the source's memory in any way. If the composite value is an +// empty, read-only value, then it panics. +// +// Set is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetLatestForecasterWeightResponse) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { + switch fd.FullName() { + case "emissions.v8.GetLatestForecasterWeightResponse.weight": + x.Weight = value.Interface().(string) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetLatestForecasterWeightResponse")) + } + panic(fmt.Errorf("message emissions.v8.GetLatestForecasterWeightResponse does not contain field %s", fd.FullName())) + } +} + +// Mutable returns a mutable reference to a composite type. +// +// If the field is unpopulated, it may allocate a composite value. +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType +// if not already stored. +// It panics if the field does not contain a composite type. +// +// Mutable is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetLatestForecasterWeightResponse) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.GetLatestForecasterWeightResponse.weight": + panic(fmt.Errorf("field weight of message emissions.v8.GetLatestForecasterWeightResponse is not mutable")) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetLatestForecasterWeightResponse")) + } + panic(fmt.Errorf("message emissions.v8.GetLatestForecasterWeightResponse does not contain field %s", fd.FullName())) + } +} + +// NewField returns a new value that is assignable to the field +// for the given descriptor. For scalars, this returns the default value. +// For lists, maps, and messages, this returns a new, empty, mutable value. +func (x *fastReflection_GetLatestForecasterWeightResponse) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.GetLatestForecasterWeightResponse.weight": + return protoreflect.ValueOfString("") + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.GetLatestForecasterWeightResponse")) + } + panic(fmt.Errorf("message emissions.v8.GetLatestForecasterWeightResponse does not contain field %s", fd.FullName())) + } +} + +// WhichOneof reports which field within the oneof is populated, +// returning nil if none are populated. +// It panics if the oneof descriptor does not belong to this message. +func (x *fastReflection_GetLatestForecasterWeightResponse) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { + switch d.FullName() { + default: + panic(fmt.Errorf("%s is not a oneof field in emissions.v8.GetLatestForecasterWeightResponse", d.FullName())) + } + panic("unreachable") +} + +// GetUnknown retrieves the entire list of unknown fields. +// The caller may only mutate the contents of the RawFields +// if the mutated bytes are stored back into the message with SetUnknown. +func (x *fastReflection_GetLatestForecasterWeightResponse) GetUnknown() protoreflect.RawFields { + return x.unknownFields +} + +// SetUnknown stores an entire list of unknown fields. +// The raw fields must be syntactically valid according to the wire format. +// An implementation may panic if this is not the case. +// Once stored, the caller must not mutate the content of the RawFields. +// An empty RawFields may be passed to clear the fields. +// +// SetUnknown is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetLatestForecasterWeightResponse) SetUnknown(fields protoreflect.RawFields) { + x.unknownFields = fields +} + +// IsValid reports whether the message is valid. +// +// An invalid message is an empty, read-only value. +// +// An invalid message often corresponds to a nil pointer of the concrete +// message type, but the details are implementation dependent. +// Validity is not part of the protobuf data model, and may not +// be preserved in marshaling or other operations. +func (x *fastReflection_GetLatestForecasterWeightResponse) IsValid() bool { + return x != nil +} + +// ProtoMethods returns optional fastReflectionFeature-path implementations of various operations. +// This method may return nil. +// +// The returned methods type is identical to +// "google.golang.org/protobuf/runtime/protoiface".Methods. +// Consult the protoiface package documentation for details. +func (x *fastReflection_GetLatestForecasterWeightResponse) ProtoMethods() *protoiface.Methods { + size := func(input protoiface.SizeInput) protoiface.SizeOutput { + x := input.Message.Interface().(*GetLatestForecasterWeightResponse) + if x == nil { + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: 0, + } + } + options := runtime.SizeInputToOptions(input) + _ = options + var n int + var l int + _ = l + l = len(x.Weight) + if l > 0 { + n += 1 + l + runtime.Sov(uint64(l)) + } + if x.unknownFields != nil { + n += len(x.unknownFields) + } + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: n, + } + } + + marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { + x := input.Message.Interface().(*GetLatestForecasterWeightResponse) + if x == nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + options := runtime.MarshalInputToOptions(input) + _ = options + size := options.Size(x) + dAtA := make([]byte, size) + i := len(dAtA) + _ = i + var l int + _ = l + if x.unknownFields != nil { + i -= len(x.unknownFields) + copy(dAtA[i:], x.unknownFields) + } + if len(x.Weight) > 0 { + i -= len(x.Weight) + copy(dAtA[i:], x.Weight) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.Weight))) + i-- + dAtA[i] = 0xa + } + if input.Buf != nil { + input.Buf = append(input.Buf, dAtA...) + } else { + input.Buf = dAtA + } + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { + x := input.Message.Interface().(*GetLatestForecasterWeightResponse) + if x == nil { + return protoiface.UnmarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Flags: input.Flags, + }, nil + } + options := runtime.UnmarshalInputToOptions(input) + _ = options + dAtA := input.Buf + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: GetLatestForecasterWeightResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: GetLatestForecasterWeightResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Weight", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + x.Weight = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := runtime.Skip(dAtA[iNdEx:]) + if err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if (iNdEx + skippy) > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + if !options.DiscardUnknown { + x.unknownFields = append(x.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + } + iNdEx += skippy + } + } + + if iNdEx > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, nil + } + return &protoiface.Methods{ + NoUnkeyedLiterals: struct{}{}, + Flags: protoiface.SupportMarshalDeterministic | protoiface.SupportUnmarshalDiscardUnknown, + Size: size, + Marshal: marshal, + Unmarshal: unmarshal, + Merge: nil, + CheckInitialized: nil, + } +} + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.27.0 +// protoc (unknown) +// source: emissions/v8/query.proto + +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 IsWhitelistedGlobalWorkerRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` +} + +func (x *IsWhitelistedGlobalWorkerRequest) Reset() { + *x = IsWhitelistedGlobalWorkerRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_emissions_v8_query_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *IsWhitelistedGlobalWorkerRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*IsWhitelistedGlobalWorkerRequest) ProtoMessage() {} + +// Deprecated: Use IsWhitelistedGlobalWorkerRequest.ProtoReflect.Descriptor instead. +func (*IsWhitelistedGlobalWorkerRequest) Descriptor() ([]byte, []int) { + return file_emissions_v8_query_proto_rawDescGZIP(), []int{0} +} + +func (x *IsWhitelistedGlobalWorkerRequest) GetAddress() string { + if x != nil { + return x.Address + } + return "" +} + +type IsWhitelistedGlobalWorkerResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + IsWhitelistedGlobalWorker bool `protobuf:"varint,1,opt,name=is_whitelisted_global_worker,json=isWhitelistedGlobalWorker,proto3" json:"is_whitelisted_global_worker,omitempty"` +} + +func (x *IsWhitelistedGlobalWorkerResponse) Reset() { + *x = IsWhitelistedGlobalWorkerResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_emissions_v8_query_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *IsWhitelistedGlobalWorkerResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*IsWhitelistedGlobalWorkerResponse) ProtoMessage() {} + +// Deprecated: Use IsWhitelistedGlobalWorkerResponse.ProtoReflect.Descriptor instead. +func (*IsWhitelistedGlobalWorkerResponse) Descriptor() ([]byte, []int) { + return file_emissions_v8_query_proto_rawDescGZIP(), []int{1} +} + +func (x *IsWhitelistedGlobalWorkerResponse) GetIsWhitelistedGlobalWorker() bool { + if x != nil { + return x.IsWhitelistedGlobalWorker + } + return false +} + +type IsWhitelistedGlobalReputerRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` +} + +func (x *IsWhitelistedGlobalReputerRequest) Reset() { + *x = IsWhitelistedGlobalReputerRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_emissions_v8_query_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *IsWhitelistedGlobalReputerRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*IsWhitelistedGlobalReputerRequest) ProtoMessage() {} + +// Deprecated: Use IsWhitelistedGlobalReputerRequest.ProtoReflect.Descriptor instead. +func (*IsWhitelistedGlobalReputerRequest) Descriptor() ([]byte, []int) { + return file_emissions_v8_query_proto_rawDescGZIP(), []int{2} +} + +func (x *IsWhitelistedGlobalReputerRequest) GetAddress() string { + if x != nil { + return x.Address + } + return "" +} + +type IsWhitelistedGlobalReputerResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + IsWhitelistedGlobalReputer bool `protobuf:"varint,1,opt,name=is_whitelisted_global_reputer,json=isWhitelistedGlobalReputer,proto3" json:"is_whitelisted_global_reputer,omitempty"` +} + +func (x *IsWhitelistedGlobalReputerResponse) Reset() { + *x = IsWhitelistedGlobalReputerResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_emissions_v8_query_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *IsWhitelistedGlobalReputerResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*IsWhitelistedGlobalReputerResponse) ProtoMessage() {} + +// Deprecated: Use IsWhitelistedGlobalReputerResponse.ProtoReflect.Descriptor instead. +func (*IsWhitelistedGlobalReputerResponse) Descriptor() ([]byte, []int) { + return file_emissions_v8_query_proto_rawDescGZIP(), []int{3} +} + +func (x *IsWhitelistedGlobalReputerResponse) GetIsWhitelistedGlobalReputer() bool { + if x != nil { + return x.IsWhitelistedGlobalReputer + } + return false +} + +type IsWhitelistedGlobalAdminRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` +} + +func (x *IsWhitelistedGlobalAdminRequest) Reset() { + *x = IsWhitelistedGlobalAdminRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_emissions_v8_query_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *IsWhitelistedGlobalAdminRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*IsWhitelistedGlobalAdminRequest) ProtoMessage() {} + +// Deprecated: Use IsWhitelistedGlobalAdminRequest.ProtoReflect.Descriptor instead. +func (*IsWhitelistedGlobalAdminRequest) Descriptor() ([]byte, []int) { + return file_emissions_v8_query_proto_rawDescGZIP(), []int{4} +} + +func (x *IsWhitelistedGlobalAdminRequest) GetAddress() string { + if x != nil { + return x.Address + } + return "" +} + +type IsWhitelistedGlobalAdminResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + IsWhitelistedGlobalAdmin bool `protobuf:"varint,1,opt,name=is_whitelisted_global_admin,json=isWhitelistedGlobalAdmin,proto3" json:"is_whitelisted_global_admin,omitempty"` +} + +func (x *IsWhitelistedGlobalAdminResponse) Reset() { + *x = IsWhitelistedGlobalAdminResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_emissions_v8_query_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *IsWhitelistedGlobalAdminResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*IsWhitelistedGlobalAdminResponse) ProtoMessage() {} + +// Deprecated: Use IsWhitelistedGlobalAdminResponse.ProtoReflect.Descriptor instead. +func (*IsWhitelistedGlobalAdminResponse) Descriptor() ([]byte, []int) { + return file_emissions_v8_query_proto_rawDescGZIP(), []int{5} +} + +func (x *IsWhitelistedGlobalAdminResponse) GetIsWhitelistedGlobalAdmin() bool { + if x != nil { + return x.IsWhitelistedGlobalAdmin + } + return false +} + +type IsTopicWorkerWhitelistEnabledRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + TopicId uint64 `protobuf:"varint,1,opt,name=topic_id,json=topicId,proto3" json:"topic_id,omitempty"` +} + +func (x *IsTopicWorkerWhitelistEnabledRequest) Reset() { + *x = IsTopicWorkerWhitelistEnabledRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_emissions_v8_query_proto_msgTypes[6] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *IsTopicWorkerWhitelistEnabledRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*IsTopicWorkerWhitelistEnabledRequest) ProtoMessage() {} + +// Deprecated: Use IsTopicWorkerWhitelistEnabledRequest.ProtoReflect.Descriptor instead. +func (*IsTopicWorkerWhitelistEnabledRequest) Descriptor() ([]byte, []int) { + return file_emissions_v8_query_proto_rawDescGZIP(), []int{6} +} + +func (x *IsTopicWorkerWhitelistEnabledRequest) GetTopicId() uint64 { + if x != nil { + return x.TopicId + } + return 0 +} + +type IsTopicWorkerWhitelistEnabledResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + IsTopicWorkerWhitelistEnabled bool `protobuf:"varint,1,opt,name=is_topic_worker_whitelist_enabled,json=isTopicWorkerWhitelistEnabled,proto3" json:"is_topic_worker_whitelist_enabled,omitempty"` +} + +func (x *IsTopicWorkerWhitelistEnabledResponse) Reset() { + *x = IsTopicWorkerWhitelistEnabledResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_emissions_v8_query_proto_msgTypes[7] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *IsTopicWorkerWhitelistEnabledResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*IsTopicWorkerWhitelistEnabledResponse) ProtoMessage() {} + +// Deprecated: Use IsTopicWorkerWhitelistEnabledResponse.ProtoReflect.Descriptor instead. +func (*IsTopicWorkerWhitelistEnabledResponse) Descriptor() ([]byte, []int) { + return file_emissions_v8_query_proto_rawDescGZIP(), []int{7} +} + +func (x *IsTopicWorkerWhitelistEnabledResponse) GetIsTopicWorkerWhitelistEnabled() bool { + if x != nil { + return x.IsTopicWorkerWhitelistEnabled + } + return false +} + +type IsTopicReputerWhitelistEnabledRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + TopicId uint64 `protobuf:"varint,1,opt,name=topic_id,json=topicId,proto3" json:"topic_id,omitempty"` +} + +func (x *IsTopicReputerWhitelistEnabledRequest) Reset() { + *x = IsTopicReputerWhitelistEnabledRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_emissions_v8_query_proto_msgTypes[8] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *IsTopicReputerWhitelistEnabledRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*IsTopicReputerWhitelistEnabledRequest) ProtoMessage() {} + +// Deprecated: Use IsTopicReputerWhitelistEnabledRequest.ProtoReflect.Descriptor instead. +func (*IsTopicReputerWhitelistEnabledRequest) Descriptor() ([]byte, []int) { + return file_emissions_v8_query_proto_rawDescGZIP(), []int{8} +} + +func (x *IsTopicReputerWhitelistEnabledRequest) GetTopicId() uint64 { + if x != nil { + return x.TopicId + } + return 0 +} + +type IsTopicReputerWhitelistEnabledResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + IsTopicReputerWhitelistEnabled bool `protobuf:"varint,1,opt,name=is_topic_reputer_whitelist_enabled,json=isTopicReputerWhitelistEnabled,proto3" json:"is_topic_reputer_whitelist_enabled,omitempty"` +} + +func (x *IsTopicReputerWhitelistEnabledResponse) Reset() { + *x = IsTopicReputerWhitelistEnabledResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_emissions_v8_query_proto_msgTypes[9] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *IsTopicReputerWhitelistEnabledResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*IsTopicReputerWhitelistEnabledResponse) ProtoMessage() {} + +// Deprecated: Use IsTopicReputerWhitelistEnabledResponse.ProtoReflect.Descriptor instead. +func (*IsTopicReputerWhitelistEnabledResponse) Descriptor() ([]byte, []int) { + return file_emissions_v8_query_proto_rawDescGZIP(), []int{9} +} + +func (x *IsTopicReputerWhitelistEnabledResponse) GetIsTopicReputerWhitelistEnabled() bool { + if x != nil { + return x.IsTopicReputerWhitelistEnabled + } + return false +} + +type IsWhitelistedTopicCreatorRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` +} + +func (x *IsWhitelistedTopicCreatorRequest) Reset() { + *x = IsWhitelistedTopicCreatorRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_emissions_v8_query_proto_msgTypes[10] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *IsWhitelistedTopicCreatorRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*IsWhitelistedTopicCreatorRequest) ProtoMessage() {} + +// Deprecated: Use IsWhitelistedTopicCreatorRequest.ProtoReflect.Descriptor instead. +func (*IsWhitelistedTopicCreatorRequest) Descriptor() ([]byte, []int) { + return file_emissions_v8_query_proto_rawDescGZIP(), []int{10} +} + +func (x *IsWhitelistedTopicCreatorRequest) GetAddress() string { + if x != nil { + return x.Address + } + return "" +} + +type IsWhitelistedTopicCreatorResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + IsWhitelistedTopicCreator bool `protobuf:"varint,1,opt,name=is_whitelisted_topic_creator,json=isWhitelistedTopicCreator,proto3" json:"is_whitelisted_topic_creator,omitempty"` +} + +func (x *IsWhitelistedTopicCreatorResponse) Reset() { + *x = IsWhitelistedTopicCreatorResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_emissions_v8_query_proto_msgTypes[11] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *IsWhitelistedTopicCreatorResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*IsWhitelistedTopicCreatorResponse) ProtoMessage() {} + +// Deprecated: Use IsWhitelistedTopicCreatorResponse.ProtoReflect.Descriptor instead. +func (*IsWhitelistedTopicCreatorResponse) Descriptor() ([]byte, []int) { + return file_emissions_v8_query_proto_rawDescGZIP(), []int{11} +} + +func (x *IsWhitelistedTopicCreatorResponse) GetIsWhitelistedTopicCreator() bool { + if x != nil { + return x.IsWhitelistedTopicCreator + } + return false +} + +type IsWhitelistedGlobalActorRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` +} + +func (x *IsWhitelistedGlobalActorRequest) Reset() { + *x = IsWhitelistedGlobalActorRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_emissions_v8_query_proto_msgTypes[12] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *IsWhitelistedGlobalActorRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*IsWhitelistedGlobalActorRequest) ProtoMessage() {} + +// Deprecated: Use IsWhitelistedGlobalActorRequest.ProtoReflect.Descriptor instead. +func (*IsWhitelistedGlobalActorRequest) Descriptor() ([]byte, []int) { + return file_emissions_v8_query_proto_rawDescGZIP(), []int{12} +} + +func (x *IsWhitelistedGlobalActorRequest) GetAddress() string { + if x != nil { + return x.Address + } + return "" +} + +type IsWhitelistedGlobalActorResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + IsWhitelistedGlobalActor bool `protobuf:"varint,1,opt,name=is_whitelisted_global_actor,json=isWhitelistedGlobalActor,proto3" json:"is_whitelisted_global_actor,omitempty"` +} + +func (x *IsWhitelistedGlobalActorResponse) Reset() { + *x = IsWhitelistedGlobalActorResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_emissions_v8_query_proto_msgTypes[13] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *IsWhitelistedGlobalActorResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*IsWhitelistedGlobalActorResponse) ProtoMessage() {} + +// Deprecated: Use IsWhitelistedGlobalActorResponse.ProtoReflect.Descriptor instead. +func (*IsWhitelistedGlobalActorResponse) Descriptor() ([]byte, []int) { + return file_emissions_v8_query_proto_rawDescGZIP(), []int{13} +} + +func (x *IsWhitelistedGlobalActorResponse) GetIsWhitelistedGlobalActor() bool { + if x != nil { + return x.IsWhitelistedGlobalActor + } + return false +} + +type IsWhitelistedTopicWorkerRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + TopicId uint64 `protobuf:"varint,1,opt,name=topic_id,json=topicId,proto3" json:"topic_id,omitempty"` + Address string `protobuf:"bytes,2,opt,name=address,proto3" json:"address,omitempty"` +} + +func (x *IsWhitelistedTopicWorkerRequest) Reset() { + *x = IsWhitelistedTopicWorkerRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_emissions_v8_query_proto_msgTypes[14] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *IsWhitelistedTopicWorkerRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*IsWhitelistedTopicWorkerRequest) ProtoMessage() {} + +// Deprecated: Use IsWhitelistedTopicWorkerRequest.ProtoReflect.Descriptor instead. +func (*IsWhitelistedTopicWorkerRequest) Descriptor() ([]byte, []int) { + return file_emissions_v8_query_proto_rawDescGZIP(), []int{14} +} + +func (x *IsWhitelistedTopicWorkerRequest) GetTopicId() uint64 { + if x != nil { + return x.TopicId + } + return 0 +} + +func (x *IsWhitelistedTopicWorkerRequest) GetAddress() string { + if x != nil { + return x.Address + } + return "" +} + +type IsWhitelistedTopicWorkerResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + IsWhitelistedTopicWorker bool `protobuf:"varint,1,opt,name=is_whitelisted_topic_worker,json=isWhitelistedTopicWorker,proto3" json:"is_whitelisted_topic_worker,omitempty"` +} + +func (x *IsWhitelistedTopicWorkerResponse) Reset() { + *x = IsWhitelistedTopicWorkerResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_emissions_v8_query_proto_msgTypes[15] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *IsWhitelistedTopicWorkerResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*IsWhitelistedTopicWorkerResponse) ProtoMessage() {} + +// Deprecated: Use IsWhitelistedTopicWorkerResponse.ProtoReflect.Descriptor instead. +func (*IsWhitelistedTopicWorkerResponse) Descriptor() ([]byte, []int) { + return file_emissions_v8_query_proto_rawDescGZIP(), []int{15} +} + +func (x *IsWhitelistedTopicWorkerResponse) GetIsWhitelistedTopicWorker() bool { + if x != nil { + return x.IsWhitelistedTopicWorker + } + return false +} + +type IsWhitelistedTopicReputerRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + TopicId uint64 `protobuf:"varint,1,opt,name=topic_id,json=topicId,proto3" json:"topic_id,omitempty"` + Address string `protobuf:"bytes,2,opt,name=address,proto3" json:"address,omitempty"` +} + +func (x *IsWhitelistedTopicReputerRequest) Reset() { + *x = IsWhitelistedTopicReputerRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_emissions_v8_query_proto_msgTypes[16] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *IsWhitelistedTopicReputerRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*IsWhitelistedTopicReputerRequest) ProtoMessage() {} + +// Deprecated: Use IsWhitelistedTopicReputerRequest.ProtoReflect.Descriptor instead. +func (*IsWhitelistedTopicReputerRequest) Descriptor() ([]byte, []int) { + return file_emissions_v8_query_proto_rawDescGZIP(), []int{16} +} + +func (x *IsWhitelistedTopicReputerRequest) GetTopicId() uint64 { + if x != nil { + return x.TopicId + } + return 0 +} + +func (x *IsWhitelistedTopicReputerRequest) GetAddress() string { + if x != nil { + return x.Address + } + return "" +} + +type IsWhitelistedTopicReputerResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + IsWhitelistedTopicReputer bool `protobuf:"varint,1,opt,name=is_whitelisted_topic_reputer,json=isWhitelistedTopicReputer,proto3" json:"is_whitelisted_topic_reputer,omitempty"` +} + +func (x *IsWhitelistedTopicReputerResponse) Reset() { + *x = IsWhitelistedTopicReputerResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_emissions_v8_query_proto_msgTypes[17] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *IsWhitelistedTopicReputerResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*IsWhitelistedTopicReputerResponse) ProtoMessage() {} + +// Deprecated: Use IsWhitelistedTopicReputerResponse.ProtoReflect.Descriptor instead. +func (*IsWhitelistedTopicReputerResponse) Descriptor() ([]byte, []int) { + return file_emissions_v8_query_proto_rawDescGZIP(), []int{17} +} + +func (x *IsWhitelistedTopicReputerResponse) GetIsWhitelistedTopicReputer() bool { + if x != nil { + return x.IsWhitelistedTopicReputer + } + return false +} + +type CanUpdateAllGlobalWhitelistsRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` +} + +func (x *CanUpdateAllGlobalWhitelistsRequest) Reset() { + *x = CanUpdateAllGlobalWhitelistsRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_emissions_v8_query_proto_msgTypes[18] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *CanUpdateAllGlobalWhitelistsRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*CanUpdateAllGlobalWhitelistsRequest) ProtoMessage() {} + +// Deprecated: Use CanUpdateAllGlobalWhitelistsRequest.ProtoReflect.Descriptor instead. +func (*CanUpdateAllGlobalWhitelistsRequest) Descriptor() ([]byte, []int) { + return file_emissions_v8_query_proto_rawDescGZIP(), []int{18} +} + +func (x *CanUpdateAllGlobalWhitelistsRequest) GetAddress() string { + if x != nil { + return x.Address + } + return "" +} + +type CanUpdateAllGlobalWhitelistsResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + CanUpdateAllGlobalWhitelists bool `protobuf:"varint,1,opt,name=can_update_all_global_whitelists,json=canUpdateAllGlobalWhitelists,proto3" json:"can_update_all_global_whitelists,omitempty"` +} + +func (x *CanUpdateAllGlobalWhitelistsResponse) Reset() { + *x = CanUpdateAllGlobalWhitelistsResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_emissions_v8_query_proto_msgTypes[19] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *CanUpdateAllGlobalWhitelistsResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*CanUpdateAllGlobalWhitelistsResponse) ProtoMessage() {} + +// Deprecated: Use CanUpdateAllGlobalWhitelistsResponse.ProtoReflect.Descriptor instead. +func (*CanUpdateAllGlobalWhitelistsResponse) Descriptor() ([]byte, []int) { + return file_emissions_v8_query_proto_rawDescGZIP(), []int{19} +} + +func (x *CanUpdateAllGlobalWhitelistsResponse) GetCanUpdateAllGlobalWhitelists() bool { + if x != nil { + return x.CanUpdateAllGlobalWhitelists + } + return false +} + +type CanUpdateGlobalWorkerWhitelistRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` +} + +func (x *CanUpdateGlobalWorkerWhitelistRequest) Reset() { + *x = CanUpdateGlobalWorkerWhitelistRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_emissions_v8_query_proto_msgTypes[20] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *CanUpdateGlobalWorkerWhitelistRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*CanUpdateGlobalWorkerWhitelistRequest) ProtoMessage() {} + +// Deprecated: Use CanUpdateGlobalWorkerWhitelistRequest.ProtoReflect.Descriptor instead. +func (*CanUpdateGlobalWorkerWhitelistRequest) Descriptor() ([]byte, []int) { + return file_emissions_v8_query_proto_rawDescGZIP(), []int{20} +} + +func (x *CanUpdateGlobalWorkerWhitelistRequest) GetAddress() string { + if x != nil { + return x.Address + } + return "" +} + +type CanUpdateGlobalWorkerWhitelistResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + CanUpdateGlobalWorkerWhitelist bool `protobuf:"varint,1,opt,name=can_update_global_worker_whitelist,json=canUpdateGlobalWorkerWhitelist,proto3" json:"can_update_global_worker_whitelist,omitempty"` +} + +func (x *CanUpdateGlobalWorkerWhitelistResponse) Reset() { + *x = CanUpdateGlobalWorkerWhitelistResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_emissions_v8_query_proto_msgTypes[21] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *CanUpdateGlobalWorkerWhitelistResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*CanUpdateGlobalWorkerWhitelistResponse) ProtoMessage() {} + +// Deprecated: Use CanUpdateGlobalWorkerWhitelistResponse.ProtoReflect.Descriptor instead. +func (*CanUpdateGlobalWorkerWhitelistResponse) Descriptor() ([]byte, []int) { + return file_emissions_v8_query_proto_rawDescGZIP(), []int{21} +} + +func (x *CanUpdateGlobalWorkerWhitelistResponse) GetCanUpdateGlobalWorkerWhitelist() bool { + if x != nil { + return x.CanUpdateGlobalWorkerWhitelist + } + return false +} + +type CanUpdateGlobalReputerWhitelistRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` +} + +func (x *CanUpdateGlobalReputerWhitelistRequest) Reset() { + *x = CanUpdateGlobalReputerWhitelistRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_emissions_v8_query_proto_msgTypes[22] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *CanUpdateGlobalReputerWhitelistRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*CanUpdateGlobalReputerWhitelistRequest) ProtoMessage() {} + +// Deprecated: Use CanUpdateGlobalReputerWhitelistRequest.ProtoReflect.Descriptor instead. +func (*CanUpdateGlobalReputerWhitelistRequest) Descriptor() ([]byte, []int) { + return file_emissions_v8_query_proto_rawDescGZIP(), []int{22} +} + +func (x *CanUpdateGlobalReputerWhitelistRequest) GetAddress() string { + if x != nil { + return x.Address + } + return "" +} + +type CanUpdateGlobalReputerWhitelistResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + CanUpdateGlobalReputerWhitelist bool `protobuf:"varint,1,opt,name=can_update_global_reputer_whitelist,json=canUpdateGlobalReputerWhitelist,proto3" json:"can_update_global_reputer_whitelist,omitempty"` +} + +func (x *CanUpdateGlobalReputerWhitelistResponse) Reset() { + *x = CanUpdateGlobalReputerWhitelistResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_emissions_v8_query_proto_msgTypes[23] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *CanUpdateGlobalReputerWhitelistResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*CanUpdateGlobalReputerWhitelistResponse) ProtoMessage() {} + +// Deprecated: Use CanUpdateGlobalReputerWhitelistResponse.ProtoReflect.Descriptor instead. +func (*CanUpdateGlobalReputerWhitelistResponse) Descriptor() ([]byte, []int) { + return file_emissions_v8_query_proto_rawDescGZIP(), []int{23} +} + +func (x *CanUpdateGlobalReputerWhitelistResponse) GetCanUpdateGlobalReputerWhitelist() bool { + if x != nil { + return x.CanUpdateGlobalReputerWhitelist + } + return false +} + +type CanUpdateParamsRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` +} + +func (x *CanUpdateParamsRequest) Reset() { + *x = CanUpdateParamsRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_emissions_v8_query_proto_msgTypes[24] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *CanUpdateParamsRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*CanUpdateParamsRequest) ProtoMessage() {} + +// Deprecated: Use CanUpdateParamsRequest.ProtoReflect.Descriptor instead. +func (*CanUpdateParamsRequest) Descriptor() ([]byte, []int) { + return file_emissions_v8_query_proto_rawDescGZIP(), []int{24} +} + +func (x *CanUpdateParamsRequest) GetAddress() string { + if x != nil { + return x.Address + } + return "" +} + +type CanUpdateParamsResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + CanUpdateParams bool `protobuf:"varint,1,opt,name=can_update_params,json=canUpdateParams,proto3" json:"can_update_params,omitempty"` +} + +func (x *CanUpdateParamsResponse) Reset() { + *x = CanUpdateParamsResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_emissions_v8_query_proto_msgTypes[25] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *CanUpdateParamsResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*CanUpdateParamsResponse) ProtoMessage() {} + +// Deprecated: Use CanUpdateParamsResponse.ProtoReflect.Descriptor instead. +func (*CanUpdateParamsResponse) Descriptor() ([]byte, []int) { + return file_emissions_v8_query_proto_rawDescGZIP(), []int{25} +} + +func (x *CanUpdateParamsResponse) GetCanUpdateParams() bool { + if x != nil { + return x.CanUpdateParams + } + return false +} + +type CanUpdateTopicWhitelistRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + TopicId uint64 `protobuf:"varint,1,opt,name=topic_id,json=topicId,proto3" json:"topic_id,omitempty"` + Address string `protobuf:"bytes,2,opt,name=address,proto3" json:"address,omitempty"` +} + +func (x *CanUpdateTopicWhitelistRequest) Reset() { + *x = CanUpdateTopicWhitelistRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_emissions_v8_query_proto_msgTypes[26] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *CanUpdateTopicWhitelistRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*CanUpdateTopicWhitelistRequest) ProtoMessage() {} + +// Deprecated: Use CanUpdateTopicWhitelistRequest.ProtoReflect.Descriptor instead. +func (*CanUpdateTopicWhitelistRequest) Descriptor() ([]byte, []int) { + return file_emissions_v8_query_proto_rawDescGZIP(), []int{26} +} + +func (x *CanUpdateTopicWhitelistRequest) GetTopicId() uint64 { + if x != nil { + return x.TopicId + } + return 0 +} + +func (x *CanUpdateTopicWhitelistRequest) GetAddress() string { + if x != nil { + return x.Address + } + return "" +} + +type CanUpdateTopicWhitelistResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + CanUpdateTopicWhitelist bool `protobuf:"varint,1,opt,name=can_update_topic_whitelist,json=canUpdateTopicWhitelist,proto3" json:"can_update_topic_whitelist,omitempty"` +} + +func (x *CanUpdateTopicWhitelistResponse) Reset() { + *x = CanUpdateTopicWhitelistResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_emissions_v8_query_proto_msgTypes[27] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *CanUpdateTopicWhitelistResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*CanUpdateTopicWhitelistResponse) ProtoMessage() {} + +// Deprecated: Use CanUpdateTopicWhitelistResponse.ProtoReflect.Descriptor instead. +func (*CanUpdateTopicWhitelistResponse) Descriptor() ([]byte, []int) { + return file_emissions_v8_query_proto_rawDescGZIP(), []int{27} +} + +func (x *CanUpdateTopicWhitelistResponse) GetCanUpdateTopicWhitelist() bool { + if x != nil { + return x.CanUpdateTopicWhitelist + } + return false +} + +type CanCreateTopicRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` +} + +func (x *CanCreateTopicRequest) Reset() { + *x = CanCreateTopicRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_emissions_v8_query_proto_msgTypes[28] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *CanCreateTopicRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*CanCreateTopicRequest) ProtoMessage() {} + +// Deprecated: Use CanCreateTopicRequest.ProtoReflect.Descriptor instead. +func (*CanCreateTopicRequest) Descriptor() ([]byte, []int) { + return file_emissions_v8_query_proto_rawDescGZIP(), []int{28} +} + +func (x *CanCreateTopicRequest) GetAddress() string { + if x != nil { + return x.Address + } + return "" +} + +type CanCreateTopicResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + CanCreateTopic bool `protobuf:"varint,1,opt,name=can_create_topic,json=canCreateTopic,proto3" json:"can_create_topic,omitempty"` +} + +func (x *CanCreateTopicResponse) Reset() { + *x = CanCreateTopicResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_emissions_v8_query_proto_msgTypes[29] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *CanCreateTopicResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*CanCreateTopicResponse) ProtoMessage() {} + +// Deprecated: Use CanCreateTopicResponse.ProtoReflect.Descriptor instead. +func (*CanCreateTopicResponse) Descriptor() ([]byte, []int) { + return file_emissions_v8_query_proto_rawDescGZIP(), []int{29} +} + +func (x *CanCreateTopicResponse) GetCanCreateTopic() bool { + if x != nil { + return x.CanCreateTopic + } + return false +} + +type CanSubmitWorkerPayloadRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + TopicId uint64 `protobuf:"varint,1,opt,name=topic_id,json=topicId,proto3" json:"topic_id,omitempty"` + Address string `protobuf:"bytes,2,opt,name=address,proto3" json:"address,omitempty"` +} + +func (x *CanSubmitWorkerPayloadRequest) Reset() { + *x = CanSubmitWorkerPayloadRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_emissions_v8_query_proto_msgTypes[30] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *CanSubmitWorkerPayloadRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*CanSubmitWorkerPayloadRequest) ProtoMessage() {} + +// Deprecated: Use CanSubmitWorkerPayloadRequest.ProtoReflect.Descriptor instead. +func (*CanSubmitWorkerPayloadRequest) Descriptor() ([]byte, []int) { + return file_emissions_v8_query_proto_rawDescGZIP(), []int{30} +} + +func (x *CanSubmitWorkerPayloadRequest) GetTopicId() uint64 { + if x != nil { + return x.TopicId + } + return 0 +} + +func (x *CanSubmitWorkerPayloadRequest) GetAddress() string { + if x != nil { + return x.Address + } + return "" +} + +type CanSubmitWorkerPayloadResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + CanSubmitWorkerPayload bool `protobuf:"varint,1,opt,name=can_submit_worker_payload,json=canSubmitWorkerPayload,proto3" json:"can_submit_worker_payload,omitempty"` +} + +func (x *CanSubmitWorkerPayloadResponse) Reset() { + *x = CanSubmitWorkerPayloadResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_emissions_v8_query_proto_msgTypes[31] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *CanSubmitWorkerPayloadResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*CanSubmitWorkerPayloadResponse) ProtoMessage() {} + +// Deprecated: Use CanSubmitWorkerPayloadResponse.ProtoReflect.Descriptor instead. +func (*CanSubmitWorkerPayloadResponse) Descriptor() ([]byte, []int) { + return file_emissions_v8_query_proto_rawDescGZIP(), []int{31} +} + +func (x *CanSubmitWorkerPayloadResponse) GetCanSubmitWorkerPayload() bool { + if x != nil { + return x.CanSubmitWorkerPayload + } + return false +} + +type CanSubmitReputerPayloadRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + TopicId uint64 `protobuf:"varint,1,opt,name=topic_id,json=topicId,proto3" json:"topic_id,omitempty"` + Address string `protobuf:"bytes,2,opt,name=address,proto3" json:"address,omitempty"` +} + +func (x *CanSubmitReputerPayloadRequest) Reset() { + *x = CanSubmitReputerPayloadRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_emissions_v8_query_proto_msgTypes[32] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *CanSubmitReputerPayloadRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*CanSubmitReputerPayloadRequest) ProtoMessage() {} + +// Deprecated: Use CanSubmitReputerPayloadRequest.ProtoReflect.Descriptor instead. +func (*CanSubmitReputerPayloadRequest) Descriptor() ([]byte, []int) { + return file_emissions_v8_query_proto_rawDescGZIP(), []int{32} +} + +func (x *CanSubmitReputerPayloadRequest) GetTopicId() uint64 { + if x != nil { + return x.TopicId + } + return 0 +} + +func (x *CanSubmitReputerPayloadRequest) GetAddress() string { + if x != nil { + return x.Address + } + return "" +} + +type CanSubmitReputerPayloadResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + CanSubmitReputerPayload bool `protobuf:"varint,1,opt,name=can_submit_reputer_payload,json=canSubmitReputerPayload,proto3" json:"can_submit_reputer_payload,omitempty"` +} + +func (x *CanSubmitReputerPayloadResponse) Reset() { + *x = CanSubmitReputerPayloadResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_emissions_v8_query_proto_msgTypes[33] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *CanSubmitReputerPayloadResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*CanSubmitReputerPayloadResponse) ProtoMessage() {} + +// Deprecated: Use CanSubmitReputerPayloadResponse.ProtoReflect.Descriptor instead. +func (*CanSubmitReputerPayloadResponse) Descriptor() ([]byte, []int) { + return file_emissions_v8_query_proto_rawDescGZIP(), []int{33} +} + +func (x *CanSubmitReputerPayloadResponse) GetCanSubmitReputerPayload() bool { + if x != nil { + return x.CanSubmitReputerPayload + } + return false +} + +type GetCountInfererInclusionsInTopicRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + TopicId uint64 `protobuf:"varint,1,opt,name=topic_id,json=topicId,proto3" json:"topic_id,omitempty"` + Inferer string `protobuf:"bytes,2,opt,name=inferer,proto3" json:"inferer,omitempty"` +} + +func (x *GetCountInfererInclusionsInTopicRequest) Reset() { + *x = GetCountInfererInclusionsInTopicRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_emissions_v8_query_proto_msgTypes[34] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GetCountInfererInclusionsInTopicRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GetCountInfererInclusionsInTopicRequest) ProtoMessage() {} + +// Deprecated: Use GetCountInfererInclusionsInTopicRequest.ProtoReflect.Descriptor instead. +func (*GetCountInfererInclusionsInTopicRequest) Descriptor() ([]byte, []int) { + return file_emissions_v8_query_proto_rawDescGZIP(), []int{34} +} + +func (x *GetCountInfererInclusionsInTopicRequest) GetTopicId() uint64 { + if x != nil { + return x.TopicId + } + return 0 +} + +func (x *GetCountInfererInclusionsInTopicRequest) GetInferer() string { + if x != nil { + return x.Inferer + } + return "" +} + +type GetCountInfererInclusionsInTopicResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Count uint64 `protobuf:"varint,1,opt,name=count,proto3" json:"count,omitempty"` +} + +func (x *GetCountInfererInclusionsInTopicResponse) Reset() { + *x = GetCountInfererInclusionsInTopicResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_emissions_v8_query_proto_msgTypes[35] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GetCountInfererInclusionsInTopicResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GetCountInfererInclusionsInTopicResponse) ProtoMessage() {} + +// Deprecated: Use GetCountInfererInclusionsInTopicResponse.ProtoReflect.Descriptor instead. +func (*GetCountInfererInclusionsInTopicResponse) Descriptor() ([]byte, []int) { + return file_emissions_v8_query_proto_rawDescGZIP(), []int{35} +} + +func (x *GetCountInfererInclusionsInTopicResponse) GetCount() uint64 { + if x != nil { + return x.Count + } + return 0 +} + +type GetCountForecasterInclusionsInTopicRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + TopicId uint64 `protobuf:"varint,1,opt,name=topic_id,json=topicId,proto3" json:"topic_id,omitempty"` + Forecaster string `protobuf:"bytes,2,opt,name=forecaster,proto3" json:"forecaster,omitempty"` +} + +func (x *GetCountForecasterInclusionsInTopicRequest) Reset() { + *x = GetCountForecasterInclusionsInTopicRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_emissions_v8_query_proto_msgTypes[36] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GetCountForecasterInclusionsInTopicRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GetCountForecasterInclusionsInTopicRequest) ProtoMessage() {} + +// Deprecated: Use GetCountForecasterInclusionsInTopicRequest.ProtoReflect.Descriptor instead. +func (*GetCountForecasterInclusionsInTopicRequest) Descriptor() ([]byte, []int) { + return file_emissions_v8_query_proto_rawDescGZIP(), []int{36} +} + +func (x *GetCountForecasterInclusionsInTopicRequest) GetTopicId() uint64 { + if x != nil { + return x.TopicId + } + return 0 +} + +func (x *GetCountForecasterInclusionsInTopicRequest) GetForecaster() string { + if x != nil { + return x.Forecaster + } + return "" +} + +type GetCountForecasterInclusionsInTopicResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Count uint64 `protobuf:"varint,1,opt,name=count,proto3" json:"count,omitempty"` +} + +func (x *GetCountForecasterInclusionsInTopicResponse) Reset() { + *x = GetCountForecasterInclusionsInTopicResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_emissions_v8_query_proto_msgTypes[37] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GetCountForecasterInclusionsInTopicResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GetCountForecasterInclusionsInTopicResponse) ProtoMessage() {} + +// Deprecated: Use GetCountForecasterInclusionsInTopicResponse.ProtoReflect.Descriptor instead. +func (*GetCountForecasterInclusionsInTopicResponse) Descriptor() ([]byte, []int) { + return file_emissions_v8_query_proto_rawDescGZIP(), []int{37} +} + +func (x *GetCountForecasterInclusionsInTopicResponse) GetCount() uint64 { + if x != nil { + return x.Count + } + return 0 +} + +type GetNaiveInfererNetworkRegretRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + TopicId uint64 `protobuf:"varint,1,opt,name=topic_id,json=topicId,proto3" json:"topic_id,omitempty"` + Inferer string `protobuf:"bytes,2,opt,name=inferer,proto3" json:"inferer,omitempty"` +} + +func (x *GetNaiveInfererNetworkRegretRequest) Reset() { + *x = GetNaiveInfererNetworkRegretRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_emissions_v8_query_proto_msgTypes[38] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GetNaiveInfererNetworkRegretRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GetNaiveInfererNetworkRegretRequest) ProtoMessage() {} + +// Deprecated: Use GetNaiveInfererNetworkRegretRequest.ProtoReflect.Descriptor instead. +func (*GetNaiveInfererNetworkRegretRequest) Descriptor() ([]byte, []int) { + return file_emissions_v8_query_proto_rawDescGZIP(), []int{38} +} + +func (x *GetNaiveInfererNetworkRegretRequest) GetTopicId() uint64 { + if x != nil { + return x.TopicId + } + return 0 +} + +func (x *GetNaiveInfererNetworkRegretRequest) GetInferer() string { + if x != nil { + return x.Inferer + } + return "" +} + +type GetNaiveInfererNetworkRegretResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Regret *v3.TimestampedValue `protobuf:"bytes,1,opt,name=regret,proto3" json:"regret,omitempty"` +} + +func (x *GetNaiveInfererNetworkRegretResponse) Reset() { + *x = GetNaiveInfererNetworkRegretResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_emissions_v8_query_proto_msgTypes[39] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GetNaiveInfererNetworkRegretResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GetNaiveInfererNetworkRegretResponse) ProtoMessage() {} + +// Deprecated: Use GetNaiveInfererNetworkRegretResponse.ProtoReflect.Descriptor instead. +func (*GetNaiveInfererNetworkRegretResponse) Descriptor() ([]byte, []int) { + return file_emissions_v8_query_proto_rawDescGZIP(), []int{39} +} + +func (x *GetNaiveInfererNetworkRegretResponse) GetRegret() *v3.TimestampedValue { + if x != nil { + return x.Regret + } + return nil +} + +type GetOneOutInfererInfererNetworkRegretRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + TopicId uint64 `protobuf:"varint,1,opt,name=topic_id,json=topicId,proto3" json:"topic_id,omitempty"` + OneOutInferer string `protobuf:"bytes,2,opt,name=one_out_inferer,json=oneOutInferer,proto3" json:"one_out_inferer,omitempty"` + Inferer string `protobuf:"bytes,3,opt,name=inferer,proto3" json:"inferer,omitempty"` +} + +func (x *GetOneOutInfererInfererNetworkRegretRequest) Reset() { + *x = GetOneOutInfererInfererNetworkRegretRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_emissions_v8_query_proto_msgTypes[40] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GetOneOutInfererInfererNetworkRegretRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GetOneOutInfererInfererNetworkRegretRequest) ProtoMessage() {} + +// Deprecated: Use GetOneOutInfererInfererNetworkRegretRequest.ProtoReflect.Descriptor instead. +func (*GetOneOutInfererInfererNetworkRegretRequest) Descriptor() ([]byte, []int) { + return file_emissions_v8_query_proto_rawDescGZIP(), []int{40} +} + +func (x *GetOneOutInfererInfererNetworkRegretRequest) GetTopicId() uint64 { + if x != nil { + return x.TopicId + } + return 0 +} + +func (x *GetOneOutInfererInfererNetworkRegretRequest) GetOneOutInferer() string { + if x != nil { + return x.OneOutInferer + } + return "" +} + +func (x *GetOneOutInfererInfererNetworkRegretRequest) GetInferer() string { + if x != nil { + return x.Inferer + } + return "" +} + +type GetOneOutInfererInfererNetworkRegretResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Regret *v3.TimestampedValue `protobuf:"bytes,1,opt,name=regret,proto3" json:"regret,omitempty"` +} + +func (x *GetOneOutInfererInfererNetworkRegretResponse) Reset() { + *x = GetOneOutInfererInfererNetworkRegretResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_emissions_v8_query_proto_msgTypes[41] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GetOneOutInfererInfererNetworkRegretResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GetOneOutInfererInfererNetworkRegretResponse) ProtoMessage() {} + +// Deprecated: Use GetOneOutInfererInfererNetworkRegretResponse.ProtoReflect.Descriptor instead. +func (*GetOneOutInfererInfererNetworkRegretResponse) Descriptor() ([]byte, []int) { + return file_emissions_v8_query_proto_rawDescGZIP(), []int{41} +} + +func (x *GetOneOutInfererInfererNetworkRegretResponse) GetRegret() *v3.TimestampedValue { + if x != nil { + return x.Regret + } + return nil +} + +type GetOneOutInfererForecasterNetworkRegretRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + TopicId uint64 `protobuf:"varint,1,opt,name=topic_id,json=topicId,proto3" json:"topic_id,omitempty"` + OneOutInferer string `protobuf:"bytes,2,opt,name=one_out_inferer,json=oneOutInferer,proto3" json:"one_out_inferer,omitempty"` + Forecaster string `protobuf:"bytes,3,opt,name=forecaster,proto3" json:"forecaster,omitempty"` +} + +func (x *GetOneOutInfererForecasterNetworkRegretRequest) Reset() { + *x = GetOneOutInfererForecasterNetworkRegretRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_emissions_v8_query_proto_msgTypes[42] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GetOneOutInfererForecasterNetworkRegretRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GetOneOutInfererForecasterNetworkRegretRequest) ProtoMessage() {} + +// Deprecated: Use GetOneOutInfererForecasterNetworkRegretRequest.ProtoReflect.Descriptor instead. +func (*GetOneOutInfererForecasterNetworkRegretRequest) Descriptor() ([]byte, []int) { + return file_emissions_v8_query_proto_rawDescGZIP(), []int{42} +} + +func (x *GetOneOutInfererForecasterNetworkRegretRequest) GetTopicId() uint64 { + if x != nil { + return x.TopicId + } + return 0 +} + +func (x *GetOneOutInfererForecasterNetworkRegretRequest) GetOneOutInferer() string { + if x != nil { + return x.OneOutInferer + } + return "" +} + +func (x *GetOneOutInfererForecasterNetworkRegretRequest) GetForecaster() string { + if x != nil { + return x.Forecaster + } + return "" +} + +type GetOneOutInfererForecasterNetworkRegretResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Regret *v3.TimestampedValue `protobuf:"bytes,1,opt,name=regret,proto3" json:"regret,omitempty"` +} + +func (x *GetOneOutInfererForecasterNetworkRegretResponse) Reset() { + *x = GetOneOutInfererForecasterNetworkRegretResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_emissions_v8_query_proto_msgTypes[43] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GetOneOutInfererForecasterNetworkRegretResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GetOneOutInfererForecasterNetworkRegretResponse) ProtoMessage() {} + +// Deprecated: Use GetOneOutInfererForecasterNetworkRegretResponse.ProtoReflect.Descriptor instead. +func (*GetOneOutInfererForecasterNetworkRegretResponse) Descriptor() ([]byte, []int) { + return file_emissions_v8_query_proto_rawDescGZIP(), []int{43} +} + +func (x *GetOneOutInfererForecasterNetworkRegretResponse) GetRegret() *v3.TimestampedValue { + if x != nil { + return x.Regret + } + return nil +} + +type GetOneOutForecasterInfererNetworkRegretRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + TopicId uint64 `protobuf:"varint,1,opt,name=topic_id,json=topicId,proto3" json:"topic_id,omitempty"` + OneOutForecaster string `protobuf:"bytes,2,opt,name=one_out_forecaster,json=oneOutForecaster,proto3" json:"one_out_forecaster,omitempty"` + Inferer string `protobuf:"bytes,3,opt,name=inferer,proto3" json:"inferer,omitempty"` +} + +func (x *GetOneOutForecasterInfererNetworkRegretRequest) Reset() { + *x = GetOneOutForecasterInfererNetworkRegretRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_emissions_v8_query_proto_msgTypes[44] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GetOneOutForecasterInfererNetworkRegretRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GetOneOutForecasterInfererNetworkRegretRequest) ProtoMessage() {} + +// Deprecated: Use GetOneOutForecasterInfererNetworkRegretRequest.ProtoReflect.Descriptor instead. +func (*GetOneOutForecasterInfererNetworkRegretRequest) Descriptor() ([]byte, []int) { + return file_emissions_v8_query_proto_rawDescGZIP(), []int{44} +} + +func (x *GetOneOutForecasterInfererNetworkRegretRequest) GetTopicId() uint64 { + if x != nil { + return x.TopicId + } + return 0 +} + +func (x *GetOneOutForecasterInfererNetworkRegretRequest) GetOneOutForecaster() string { + if x != nil { + return x.OneOutForecaster + } + return "" +} + +func (x *GetOneOutForecasterInfererNetworkRegretRequest) GetInferer() string { + if x != nil { + return x.Inferer + } + return "" +} + +type GetOneOutForecasterInfererNetworkRegretResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Regret *v3.TimestampedValue `protobuf:"bytes,1,opt,name=regret,proto3" json:"regret,omitempty"` +} + +func (x *GetOneOutForecasterInfererNetworkRegretResponse) Reset() { + *x = GetOneOutForecasterInfererNetworkRegretResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_emissions_v8_query_proto_msgTypes[45] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GetOneOutForecasterInfererNetworkRegretResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GetOneOutForecasterInfererNetworkRegretResponse) ProtoMessage() {} + +// Deprecated: Use GetOneOutForecasterInfererNetworkRegretResponse.ProtoReflect.Descriptor instead. +func (*GetOneOutForecasterInfererNetworkRegretResponse) Descriptor() ([]byte, []int) { + return file_emissions_v8_query_proto_rawDescGZIP(), []int{45} +} + +func (x *GetOneOutForecasterInfererNetworkRegretResponse) GetRegret() *v3.TimestampedValue { + if x != nil { + return x.Regret + } + return nil +} + +type GetOneOutForecasterForecasterNetworkRegretRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + TopicId uint64 `protobuf:"varint,1,opt,name=topic_id,json=topicId,proto3" json:"topic_id,omitempty"` + OneOutForecaster string `protobuf:"bytes,2,opt,name=one_out_forecaster,json=oneOutForecaster,proto3" json:"one_out_forecaster,omitempty"` + Forecaster string `protobuf:"bytes,3,opt,name=forecaster,proto3" json:"forecaster,omitempty"` +} + +func (x *GetOneOutForecasterForecasterNetworkRegretRequest) Reset() { + *x = GetOneOutForecasterForecasterNetworkRegretRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_emissions_v8_query_proto_msgTypes[46] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GetOneOutForecasterForecasterNetworkRegretRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GetOneOutForecasterForecasterNetworkRegretRequest) ProtoMessage() {} + +// Deprecated: Use GetOneOutForecasterForecasterNetworkRegretRequest.ProtoReflect.Descriptor instead. +func (*GetOneOutForecasterForecasterNetworkRegretRequest) Descriptor() ([]byte, []int) { + return file_emissions_v8_query_proto_rawDescGZIP(), []int{46} +} + +func (x *GetOneOutForecasterForecasterNetworkRegretRequest) GetTopicId() uint64 { + if x != nil { + return x.TopicId + } + return 0 +} + +func (x *GetOneOutForecasterForecasterNetworkRegretRequest) GetOneOutForecaster() string { + if x != nil { + return x.OneOutForecaster + } + return "" +} + +func (x *GetOneOutForecasterForecasterNetworkRegretRequest) GetForecaster() string { + if x != nil { + return x.Forecaster + } + return "" +} + +type GetOneOutForecasterForecasterNetworkRegretResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Regret *v3.TimestampedValue `protobuf:"bytes,1,opt,name=regret,proto3" json:"regret,omitempty"` +} + +func (x *GetOneOutForecasterForecasterNetworkRegretResponse) Reset() { + *x = GetOneOutForecasterForecasterNetworkRegretResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_emissions_v8_query_proto_msgTypes[47] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GetOneOutForecasterForecasterNetworkRegretResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GetOneOutForecasterForecasterNetworkRegretResponse) ProtoMessage() {} + +// Deprecated: Use GetOneOutForecasterForecasterNetworkRegretResponse.ProtoReflect.Descriptor instead. +func (*GetOneOutForecasterForecasterNetworkRegretResponse) Descriptor() ([]byte, []int) { + return file_emissions_v8_query_proto_rawDescGZIP(), []int{47} +} + +func (x *GetOneOutForecasterForecasterNetworkRegretResponse) GetRegret() *v3.TimestampedValue { + if x != nil { + return x.Regret + } + return nil +} + +// GetParamsRequest is the request type for the Get/Params RPC method. +type GetParamsRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields +} + +func (x *GetParamsRequest) Reset() { + *x = GetParamsRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_emissions_v8_query_proto_msgTypes[48] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GetParamsRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GetParamsRequest) ProtoMessage() {} + +// Deprecated: Use GetParamsRequest.ProtoReflect.Descriptor instead. +func (*GetParamsRequest) Descriptor() ([]byte, []int) { + return file_emissions_v8_query_proto_rawDescGZIP(), []int{48} +} + +// GetParamsResponse is the response type for the Get/Params RPC method. +type GetParamsResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // params defines the parameters of the module. + Params *Params `protobuf:"bytes,1,opt,name=params,proto3" json:"params,omitempty"` +} + +func (x *GetParamsResponse) Reset() { + *x = GetParamsResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_emissions_v8_query_proto_msgTypes[49] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GetParamsResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GetParamsResponse) ProtoMessage() {} + +// Deprecated: Use GetParamsResponse.ProtoReflect.Descriptor instead. +func (*GetParamsResponse) Descriptor() ([]byte, []int) { + return file_emissions_v8_query_proto_rawDescGZIP(), []int{49} +} + +func (x *GetParamsResponse) GetParams() *Params { + if x != nil { + return x.Params + } + return nil +} + +// Total Stake returns the total amount of stake in the system +type GetTotalStakeRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields +} + +func (x *GetTotalStakeRequest) Reset() { + *x = GetTotalStakeRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_emissions_v8_query_proto_msgTypes[50] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GetTotalStakeRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GetTotalStakeRequest) ProtoMessage() {} + +// Deprecated: Use GetTotalStakeRequest.ProtoReflect.Descriptor instead. +func (*GetTotalStakeRequest) Descriptor() ([]byte, []int) { + return file_emissions_v8_query_proto_rawDescGZIP(), []int{50} +} + +// Total Stake returns the total amount of stake in the system +// +// NOTE: The amount field is an Int which implements the custom method +// signatures required by gogoproto. +type GetTotalStakeResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Amount string `protobuf:"bytes,1,opt,name=amount,proto3" json:"amount,omitempty"` +} + +func (x *GetTotalStakeResponse) Reset() { + *x = GetTotalStakeResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_emissions_v8_query_proto_msgTypes[51] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GetTotalStakeResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GetTotalStakeResponse) ProtoMessage() {} + +// Deprecated: Use GetTotalStakeResponse.ProtoReflect.Descriptor instead. +func (*GetTotalStakeResponse) Descriptor() ([]byte, []int) { + return file_emissions_v8_query_proto_rawDescGZIP(), []int{51} +} + +func (x *GetTotalStakeResponse) GetAmount() string { + if x != nil { + return x.Amount + } + return "" +} + +type GetReputerStakeInTopicRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` + TopicId uint64 `protobuf:"varint,2,opt,name=topic_id,json=topicId,proto3" json:"topic_id,omitempty"` +} + +func (x *GetReputerStakeInTopicRequest) Reset() { + *x = GetReputerStakeInTopicRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_emissions_v8_query_proto_msgTypes[52] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GetReputerStakeInTopicRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GetReputerStakeInTopicRequest) ProtoMessage() {} + +// Deprecated: Use GetReputerStakeInTopicRequest.ProtoReflect.Descriptor instead. +func (*GetReputerStakeInTopicRequest) Descriptor() ([]byte, []int) { + return file_emissions_v8_query_proto_rawDescGZIP(), []int{52} +} + +func (x *GetReputerStakeInTopicRequest) GetAddress() string { + if x != nil { + return x.Address + } + return "" +} + +func (x *GetReputerStakeInTopicRequest) GetTopicId() uint64 { + if x != nil { + return x.TopicId + } + return 0 +} + +type GetReputerStakeInTopicResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Amount string `protobuf:"bytes,1,opt,name=amount,proto3" json:"amount,omitempty"` +} + +func (x *GetReputerStakeInTopicResponse) Reset() { + *x = GetReputerStakeInTopicResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_emissions_v8_query_proto_msgTypes[53] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GetReputerStakeInTopicResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GetReputerStakeInTopicResponse) ProtoMessage() {} + +// Deprecated: Use GetReputerStakeInTopicResponse.ProtoReflect.Descriptor instead. +func (*GetReputerStakeInTopicResponse) Descriptor() ([]byte, []int) { + return file_emissions_v8_query_proto_rawDescGZIP(), []int{53} +} + +func (x *GetReputerStakeInTopicResponse) GetAmount() string { + if x != nil { + return x.Amount + } + return "" +} + +type GetMultiReputerStakeInTopicRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Addresses []string `protobuf:"bytes,1,rep,name=addresses,proto3" json:"addresses,omitempty"` + TopicId uint64 `protobuf:"varint,2,opt,name=topic_id,json=topicId,proto3" json:"topic_id,omitempty"` +} + +func (x *GetMultiReputerStakeInTopicRequest) Reset() { + *x = GetMultiReputerStakeInTopicRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_emissions_v8_query_proto_msgTypes[54] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GetMultiReputerStakeInTopicRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GetMultiReputerStakeInTopicRequest) ProtoMessage() {} + +// Deprecated: Use GetMultiReputerStakeInTopicRequest.ProtoReflect.Descriptor instead. +func (*GetMultiReputerStakeInTopicRequest) Descriptor() ([]byte, []int) { + return file_emissions_v8_query_proto_rawDescGZIP(), []int{54} +} + +func (x *GetMultiReputerStakeInTopicRequest) GetAddresses() []string { + if x != nil { + return x.Addresses + } + return nil +} + +func (x *GetMultiReputerStakeInTopicRequest) GetTopicId() uint64 { + if x != nil { + return x.TopicId + } + return 0 +} + +type GetMultiReputerStakeInTopicResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Amounts []*v3.StakeInfo `protobuf:"bytes,1,rep,name=amounts,proto3" json:"amounts,omitempty"` +} + +func (x *GetMultiReputerStakeInTopicResponse) Reset() { + *x = GetMultiReputerStakeInTopicResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_emissions_v8_query_proto_msgTypes[55] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GetMultiReputerStakeInTopicResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GetMultiReputerStakeInTopicResponse) ProtoMessage() {} + +// Deprecated: Use GetMultiReputerStakeInTopicResponse.ProtoReflect.Descriptor instead. +func (*GetMultiReputerStakeInTopicResponse) Descriptor() ([]byte, []int) { + return file_emissions_v8_query_proto_rawDescGZIP(), []int{55} +} + +func (x *GetMultiReputerStakeInTopicResponse) GetAmounts() []*v3.StakeInfo { + if x != nil { + return x.Amounts + } + return nil +} + +type GetStakeFromReputerInTopicInSelfRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + ReputerAddress string `protobuf:"bytes,1,opt,name=reputer_address,json=reputerAddress,proto3" json:"reputer_address,omitempty"` + TopicId uint64 `protobuf:"varint,2,opt,name=topic_id,json=topicId,proto3" json:"topic_id,omitempty"` +} + +func (x *GetStakeFromReputerInTopicInSelfRequest) Reset() { + *x = GetStakeFromReputerInTopicInSelfRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_emissions_v8_query_proto_msgTypes[56] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GetStakeFromReputerInTopicInSelfRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GetStakeFromReputerInTopicInSelfRequest) ProtoMessage() {} + +// Deprecated: Use GetStakeFromReputerInTopicInSelfRequest.ProtoReflect.Descriptor instead. +func (*GetStakeFromReputerInTopicInSelfRequest) Descriptor() ([]byte, []int) { + return file_emissions_v8_query_proto_rawDescGZIP(), []int{56} +} + +func (x *GetStakeFromReputerInTopicInSelfRequest) GetReputerAddress() string { + if x != nil { + return x.ReputerAddress + } + return "" +} + +func (x *GetStakeFromReputerInTopicInSelfRequest) GetTopicId() uint64 { + if x != nil { + return x.TopicId + } + return 0 +} + +type GetStakeFromReputerInTopicInSelfResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Amount string `protobuf:"bytes,1,opt,name=amount,proto3" json:"amount,omitempty"` +} + +func (x *GetStakeFromReputerInTopicInSelfResponse) Reset() { + *x = GetStakeFromReputerInTopicInSelfResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_emissions_v8_query_proto_msgTypes[57] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GetStakeFromReputerInTopicInSelfResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GetStakeFromReputerInTopicInSelfResponse) ProtoMessage() {} + +// Deprecated: Use GetStakeFromReputerInTopicInSelfResponse.ProtoReflect.Descriptor instead. +func (*GetStakeFromReputerInTopicInSelfResponse) Descriptor() ([]byte, []int) { + return file_emissions_v8_query_proto_rawDescGZIP(), []int{57} +} + +func (x *GetStakeFromReputerInTopicInSelfResponse) GetAmount() string { + if x != nil { + return x.Amount + } + return "" +} + +type GetDelegateStakeInTopicInReputerRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + ReputerAddress string `protobuf:"bytes,1,opt,name=reputer_address,json=reputerAddress,proto3" json:"reputer_address,omitempty"` + TopicId uint64 `protobuf:"varint,2,opt,name=topic_id,json=topicId,proto3" json:"topic_id,omitempty"` +} + +func (x *GetDelegateStakeInTopicInReputerRequest) Reset() { + *x = GetDelegateStakeInTopicInReputerRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_emissions_v8_query_proto_msgTypes[58] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GetDelegateStakeInTopicInReputerRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GetDelegateStakeInTopicInReputerRequest) ProtoMessage() {} + +// Deprecated: Use GetDelegateStakeInTopicInReputerRequest.ProtoReflect.Descriptor instead. +func (*GetDelegateStakeInTopicInReputerRequest) Descriptor() ([]byte, []int) { + return file_emissions_v8_query_proto_rawDescGZIP(), []int{58} +} + +func (x *GetDelegateStakeInTopicInReputerRequest) GetReputerAddress() string { + if x != nil { + return x.ReputerAddress + } + return "" +} + +func (x *GetDelegateStakeInTopicInReputerRequest) GetTopicId() uint64 { + if x != nil { + return x.TopicId + } + return 0 +} + +type GetDelegateStakeInTopicInReputerResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Amount string `protobuf:"bytes,1,opt,name=amount,proto3" json:"amount,omitempty"` +} + +func (x *GetDelegateStakeInTopicInReputerResponse) Reset() { + *x = GetDelegateStakeInTopicInReputerResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_emissions_v8_query_proto_msgTypes[59] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GetDelegateStakeInTopicInReputerResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GetDelegateStakeInTopicInReputerResponse) ProtoMessage() {} + +// Deprecated: Use GetDelegateStakeInTopicInReputerResponse.ProtoReflect.Descriptor instead. +func (*GetDelegateStakeInTopicInReputerResponse) Descriptor() ([]byte, []int) { + return file_emissions_v8_query_proto_rawDescGZIP(), []int{59} +} + +func (x *GetDelegateStakeInTopicInReputerResponse) GetAmount() string { + if x != nil { + return x.Amount + } + return "" +} + +type GetStakeFromDelegatorInTopicInReputerRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + DelegatorAddress string `protobuf:"bytes,1,opt,name=delegator_address,json=delegatorAddress,proto3" json:"delegator_address,omitempty"` + ReputerAddress string `protobuf:"bytes,2,opt,name=reputer_address,json=reputerAddress,proto3" json:"reputer_address,omitempty"` + TopicId uint64 `protobuf:"varint,3,opt,name=topic_id,json=topicId,proto3" json:"topic_id,omitempty"` +} + +func (x *GetStakeFromDelegatorInTopicInReputerRequest) Reset() { + *x = GetStakeFromDelegatorInTopicInReputerRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_emissions_v8_query_proto_msgTypes[60] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GetStakeFromDelegatorInTopicInReputerRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GetStakeFromDelegatorInTopicInReputerRequest) ProtoMessage() {} + +// Deprecated: Use GetStakeFromDelegatorInTopicInReputerRequest.ProtoReflect.Descriptor instead. +func (*GetStakeFromDelegatorInTopicInReputerRequest) Descriptor() ([]byte, []int) { + return file_emissions_v8_query_proto_rawDescGZIP(), []int{60} +} + +func (x *GetStakeFromDelegatorInTopicInReputerRequest) GetDelegatorAddress() string { + if x != nil { + return x.DelegatorAddress + } + return "" +} + +func (x *GetStakeFromDelegatorInTopicInReputerRequest) GetReputerAddress() string { + if x != nil { + return x.ReputerAddress + } + return "" +} + +func (x *GetStakeFromDelegatorInTopicInReputerRequest) GetTopicId() uint64 { + if x != nil { + return x.TopicId + } + return 0 +} + +type GetStakeFromDelegatorInTopicInReputerResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Amount string `protobuf:"bytes,1,opt,name=amount,proto3" json:"amount,omitempty"` +} + +func (x *GetStakeFromDelegatorInTopicInReputerResponse) Reset() { + *x = GetStakeFromDelegatorInTopicInReputerResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_emissions_v8_query_proto_msgTypes[61] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GetStakeFromDelegatorInTopicInReputerResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GetStakeFromDelegatorInTopicInReputerResponse) ProtoMessage() {} + +// Deprecated: Use GetStakeFromDelegatorInTopicInReputerResponse.ProtoReflect.Descriptor instead. +func (*GetStakeFromDelegatorInTopicInReputerResponse) Descriptor() ([]byte, []int) { + return file_emissions_v8_query_proto_rawDescGZIP(), []int{61} +} + +func (x *GetStakeFromDelegatorInTopicInReputerResponse) GetAmount() string { + if x != nil { + return x.Amount + } + return "" +} + +type GetStakeFromDelegatorInTopicRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + DelegatorAddress string `protobuf:"bytes,1,opt,name=delegator_address,json=delegatorAddress,proto3" json:"delegator_address,omitempty"` + TopicId uint64 `protobuf:"varint,2,opt,name=topic_id,json=topicId,proto3" json:"topic_id,omitempty"` +} + +func (x *GetStakeFromDelegatorInTopicRequest) Reset() { + *x = GetStakeFromDelegatorInTopicRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_emissions_v8_query_proto_msgTypes[62] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GetStakeFromDelegatorInTopicRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GetStakeFromDelegatorInTopicRequest) ProtoMessage() {} + +// Deprecated: Use GetStakeFromDelegatorInTopicRequest.ProtoReflect.Descriptor instead. +func (*GetStakeFromDelegatorInTopicRequest) Descriptor() ([]byte, []int) { + return file_emissions_v8_query_proto_rawDescGZIP(), []int{62} +} + +func (x *GetStakeFromDelegatorInTopicRequest) GetDelegatorAddress() string { + if x != nil { + return x.DelegatorAddress + } + return "" +} + +func (x *GetStakeFromDelegatorInTopicRequest) GetTopicId() uint64 { + if x != nil { + return x.TopicId + } + return 0 +} + +type GetStakeFromDelegatorInTopicResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Amount string `protobuf:"bytes,1,opt,name=amount,proto3" json:"amount,omitempty"` +} + +func (x *GetStakeFromDelegatorInTopicResponse) Reset() { + *x = GetStakeFromDelegatorInTopicResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_emissions_v8_query_proto_msgTypes[63] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GetStakeFromDelegatorInTopicResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GetStakeFromDelegatorInTopicResponse) ProtoMessage() {} + +// Deprecated: Use GetStakeFromDelegatorInTopicResponse.ProtoReflect.Descriptor instead. +func (*GetStakeFromDelegatorInTopicResponse) Descriptor() ([]byte, []int) { + return file_emissions_v8_query_proto_rawDescGZIP(), []int{63} +} + +func (x *GetStakeFromDelegatorInTopicResponse) GetAmount() string { + if x != nil { + return x.Amount + } + return "" +} + +type GetTopicStakeRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + TopicId uint64 `protobuf:"varint,1,opt,name=topic_id,json=topicId,proto3" json:"topic_id,omitempty"` +} + +func (x *GetTopicStakeRequest) Reset() { + *x = GetTopicStakeRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_emissions_v8_query_proto_msgTypes[64] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GetTopicStakeRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GetTopicStakeRequest) ProtoMessage() {} + +// Deprecated: Use GetTopicStakeRequest.ProtoReflect.Descriptor instead. +func (*GetTopicStakeRequest) Descriptor() ([]byte, []int) { + return file_emissions_v8_query_proto_rawDescGZIP(), []int{64} +} + +func (x *GetTopicStakeRequest) GetTopicId() uint64 { + if x != nil { + return x.TopicId + } + return 0 +} + +type GetTopicStakeResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Amount string `protobuf:"bytes,1,opt,name=amount,proto3" json:"amount,omitempty"` +} + +func (x *GetTopicStakeResponse) Reset() { + *x = GetTopicStakeResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_emissions_v8_query_proto_msgTypes[65] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GetTopicStakeResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GetTopicStakeResponse) ProtoMessage() {} + +// Deprecated: Use GetTopicStakeResponse.ProtoReflect.Descriptor instead. +func (*GetTopicStakeResponse) Descriptor() ([]byte, []int) { + return file_emissions_v8_query_proto_rawDescGZIP(), []int{65} +} + +func (x *GetTopicStakeResponse) GetAmount() string { + if x != nil { + return x.Amount + } + return "" +} + +type GetNetworkLossBundleAtBlockRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + TopicId uint64 `protobuf:"varint,1,opt,name=topic_id,json=topicId,proto3" json:"topic_id,omitempty"` + BlockHeight int64 `protobuf:"varint,2,opt,name=block_height,json=blockHeight,proto3" json:"block_height,omitempty"` +} + +func (x *GetNetworkLossBundleAtBlockRequest) Reset() { + *x = GetNetworkLossBundleAtBlockRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_emissions_v8_query_proto_msgTypes[66] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GetNetworkLossBundleAtBlockRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GetNetworkLossBundleAtBlockRequest) ProtoMessage() {} + +// Deprecated: Use GetNetworkLossBundleAtBlockRequest.ProtoReflect.Descriptor instead. +func (*GetNetworkLossBundleAtBlockRequest) Descriptor() ([]byte, []int) { + return file_emissions_v8_query_proto_rawDescGZIP(), []int{66} +} + +func (x *GetNetworkLossBundleAtBlockRequest) GetTopicId() uint64 { + if x != nil { + return x.TopicId + } + return 0 +} + +func (x *GetNetworkLossBundleAtBlockRequest) GetBlockHeight() int64 { + if x != nil { + return x.BlockHeight + } + return 0 +} + +type GetNetworkLossBundleAtBlockResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + LossBundle *v3.ValueBundle `protobuf:"bytes,1,opt,name=loss_bundle,json=lossBundle,proto3" json:"loss_bundle,omitempty"` +} + +func (x *GetNetworkLossBundleAtBlockResponse) Reset() { + *x = GetNetworkLossBundleAtBlockResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_emissions_v8_query_proto_msgTypes[67] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GetNetworkLossBundleAtBlockResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GetNetworkLossBundleAtBlockResponse) ProtoMessage() {} + +// Deprecated: Use GetNetworkLossBundleAtBlockResponse.ProtoReflect.Descriptor instead. +func (*GetNetworkLossBundleAtBlockResponse) Descriptor() ([]byte, []int) { + return file_emissions_v8_query_proto_rawDescGZIP(), []int{67} +} + +func (x *GetNetworkLossBundleAtBlockResponse) GetLossBundle() *v3.ValueBundle { + if x != nil { + return x.LossBundle + } + return nil +} + +type GetNextTopicIdRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields +} + +func (x *GetNextTopicIdRequest) Reset() { + *x = GetNextTopicIdRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_emissions_v8_query_proto_msgTypes[68] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GetNextTopicIdRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GetNextTopicIdRequest) ProtoMessage() {} + +// Deprecated: Use GetNextTopicIdRequest.ProtoReflect.Descriptor instead. +func (*GetNextTopicIdRequest) Descriptor() ([]byte, []int) { + return file_emissions_v8_query_proto_rawDescGZIP(), []int{68} +} + +type GetNextTopicIdResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + NextTopicId uint64 `protobuf:"varint,1,opt,name=next_topic_id,json=nextTopicId,proto3" json:"next_topic_id,omitempty"` +} + +func (x *GetNextTopicIdResponse) Reset() { + *x = GetNextTopicIdResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_emissions_v8_query_proto_msgTypes[69] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GetNextTopicIdResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GetNextTopicIdResponse) ProtoMessage() {} + +// Deprecated: Use GetNextTopicIdResponse.ProtoReflect.Descriptor instead. +func (*GetNextTopicIdResponse) Descriptor() ([]byte, []int) { + return file_emissions_v8_query_proto_rawDescGZIP(), []int{69} +} + +func (x *GetNextTopicIdResponse) GetNextTopicId() uint64 { + if x != nil { + return x.NextTopicId + } + return 0 +} + +type GetTopicRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + TopicId uint64 `protobuf:"varint,1,opt,name=topic_id,json=topicId,proto3" json:"topic_id,omitempty"` +} + +func (x *GetTopicRequest) Reset() { + *x = GetTopicRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_emissions_v8_query_proto_msgTypes[70] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GetTopicRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GetTopicRequest) ProtoMessage() {} + +// Deprecated: Use GetTopicRequest.ProtoReflect.Descriptor instead. +func (*GetTopicRequest) Descriptor() ([]byte, []int) { + return file_emissions_v8_query_proto_rawDescGZIP(), []int{70} +} + +func (x *GetTopicRequest) GetTopicId() uint64 { + if x != nil { + return x.TopicId + } + return 0 +} + +type GetTopicResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Topic *v3.Topic `protobuf:"bytes,1,opt,name=topic,proto3" json:"topic,omitempty"` + Weight string `protobuf:"bytes,2,opt,name=weight,proto3" json:"weight,omitempty"` + EffectiveRevenue string `protobuf:"bytes,3,opt,name=effective_revenue,json=effectiveRevenue,proto3" json:"effective_revenue,omitempty"` +} + +func (x *GetTopicResponse) Reset() { + *x = GetTopicResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_emissions_v8_query_proto_msgTypes[71] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GetTopicResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GetTopicResponse) ProtoMessage() {} + +// Deprecated: Use GetTopicResponse.ProtoReflect.Descriptor instead. +func (*GetTopicResponse) Descriptor() ([]byte, []int) { + return file_emissions_v8_query_proto_rawDescGZIP(), []int{71} +} + +func (x *GetTopicResponse) GetTopic() *v3.Topic { + if x != nil { + return x.Topic + } + return nil +} + +func (x *GetTopicResponse) GetWeight() string { + if x != nil { + return x.Weight + } + return "" +} + +func (x *GetTopicResponse) GetEffectiveRevenue() string { + if x != nil { + return x.EffectiveRevenue + } + return "" +} + +type GetActiveTopicsRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Pagination *v3.SimpleCursorPaginationRequest `protobuf:"bytes,1,opt,name=pagination,proto3" json:"pagination,omitempty"` +} + +func (x *GetActiveTopicsRequest) Reset() { + *x = GetActiveTopicsRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_emissions_v8_query_proto_msgTypes[72] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GetActiveTopicsRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GetActiveTopicsRequest) ProtoMessage() {} + +// Deprecated: Use GetActiveTopicsRequest.ProtoReflect.Descriptor instead. +func (*GetActiveTopicsRequest) Descriptor() ([]byte, []int) { + return file_emissions_v8_query_proto_rawDescGZIP(), []int{72} +} + +func (x *GetActiveTopicsRequest) GetPagination() *v3.SimpleCursorPaginationRequest { + if x != nil { + return x.Pagination + } + return nil +} + +type GetActiveTopicsResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Topics []*v3.Topic `protobuf:"bytes,1,rep,name=topics,proto3" json:"topics,omitempty"` + Pagination *v3.SimpleCursorPaginationResponse `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"` +} + +func (x *GetActiveTopicsResponse) Reset() { + *x = GetActiveTopicsResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_emissions_v8_query_proto_msgTypes[73] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GetActiveTopicsResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GetActiveTopicsResponse) ProtoMessage() {} + +// Deprecated: Use GetActiveTopicsResponse.ProtoReflect.Descriptor instead. +func (*GetActiveTopicsResponse) Descriptor() ([]byte, []int) { + return file_emissions_v8_query_proto_rawDescGZIP(), []int{73} +} + +func (x *GetActiveTopicsResponse) GetTopics() []*v3.Topic { + if x != nil { + return x.Topics + } + return nil +} + +func (x *GetActiveTopicsResponse) GetPagination() *v3.SimpleCursorPaginationResponse { + if x != nil { + return x.Pagination + } + return nil +} + +// Returns the inferences on a topic posted at a block height +type GetInferencesAtBlockRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + TopicId uint64 `protobuf:"varint,1,opt,name=topic_id,json=topicId,proto3" json:"topic_id,omitempty"` + BlockHeight int64 `protobuf:"varint,2,opt,name=block_height,json=blockHeight,proto3" json:"block_height,omitempty"` +} + +func (x *GetInferencesAtBlockRequest) Reset() { + *x = GetInferencesAtBlockRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_emissions_v8_query_proto_msgTypes[74] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GetInferencesAtBlockRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GetInferencesAtBlockRequest) ProtoMessage() {} + +// Deprecated: Use GetInferencesAtBlockRequest.ProtoReflect.Descriptor instead. +func (*GetInferencesAtBlockRequest) Descriptor() ([]byte, []int) { + return file_emissions_v8_query_proto_rawDescGZIP(), []int{74} +} + +func (x *GetInferencesAtBlockRequest) GetTopicId() uint64 { + if x != nil { + return x.TopicId + } + return 0 +} + +func (x *GetInferencesAtBlockRequest) GetBlockHeight() int64 { + if x != nil { + return x.BlockHeight + } + return 0 +} + +// Returns the inferences on a topic posted at a block height +// +// NOTE: The amount field is a Uint which implements the custom method +// signatures required by gogoproto. +type GetInferencesAtBlockResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Inferences *v3.Inferences `protobuf:"bytes,1,opt,name=inferences,proto3" json:"inferences,omitempty"` +} + +func (x *GetInferencesAtBlockResponse) Reset() { + *x = GetInferencesAtBlockResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_emissions_v8_query_proto_msgTypes[75] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GetInferencesAtBlockResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GetInferencesAtBlockResponse) ProtoMessage() {} + +// Deprecated: Use GetInferencesAtBlockResponse.ProtoReflect.Descriptor instead. +func (*GetInferencesAtBlockResponse) Descriptor() ([]byte, []int) { + return file_emissions_v8_query_proto_rawDescGZIP(), []int{75} +} + +func (x *GetInferencesAtBlockResponse) GetInferences() *v3.Inferences { + if x != nil { + return x.Inferences + } + return nil +} + +type GetLatestTopicInferencesRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + TopicId uint64 `protobuf:"varint,1,opt,name=topic_id,json=topicId,proto3" json:"topic_id,omitempty"` +} + +func (x *GetLatestTopicInferencesRequest) Reset() { + *x = GetLatestTopicInferencesRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_emissions_v8_query_proto_msgTypes[76] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GetLatestTopicInferencesRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GetLatestTopicInferencesRequest) ProtoMessage() {} + +// Deprecated: Use GetLatestTopicInferencesRequest.ProtoReflect.Descriptor instead. +func (*GetLatestTopicInferencesRequest) Descriptor() ([]byte, []int) { + return file_emissions_v8_query_proto_rawDescGZIP(), []int{76} +} + +func (x *GetLatestTopicInferencesRequest) GetTopicId() uint64 { + if x != nil { + return x.TopicId + } + return 0 +} + +type GetLatestTopicInferencesResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Inferences *v3.Inferences `protobuf:"bytes,1,opt,name=inferences,proto3" json:"inferences,omitempty"` + BlockHeight int64 `protobuf:"varint,2,opt,name=block_height,json=blockHeight,proto3" json:"block_height,omitempty"` +} + +func (x *GetLatestTopicInferencesResponse) Reset() { + *x = GetLatestTopicInferencesResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_emissions_v8_query_proto_msgTypes[77] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GetLatestTopicInferencesResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GetLatestTopicInferencesResponse) ProtoMessage() {} + +// Deprecated: Use GetLatestTopicInferencesResponse.ProtoReflect.Descriptor instead. +func (*GetLatestTopicInferencesResponse) Descriptor() ([]byte, []int) { + return file_emissions_v8_query_proto_rawDescGZIP(), []int{77} +} + +func (x *GetLatestTopicInferencesResponse) GetInferences() *v3.Inferences { + if x != nil { + return x.Inferences + } + return nil +} + +func (x *GetLatestTopicInferencesResponse) GetBlockHeight() int64 { + if x != nil { + return x.BlockHeight + } + return 0 +} + +// Returns the forecasts on a topic posted at a block height +type GetForecastsAtBlockRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + TopicId uint64 `protobuf:"varint,1,opt,name=topic_id,json=topicId,proto3" json:"topic_id,omitempty"` + BlockHeight int64 `protobuf:"varint,2,opt,name=block_height,json=blockHeight,proto3" json:"block_height,omitempty"` +} + +func (x *GetForecastsAtBlockRequest) Reset() { + *x = GetForecastsAtBlockRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_emissions_v8_query_proto_msgTypes[78] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GetForecastsAtBlockRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GetForecastsAtBlockRequest) ProtoMessage() {} + +// Deprecated: Use GetForecastsAtBlockRequest.ProtoReflect.Descriptor instead. +func (*GetForecastsAtBlockRequest) Descriptor() ([]byte, []int) { + return file_emissions_v8_query_proto_rawDescGZIP(), []int{78} +} + +func (x *GetForecastsAtBlockRequest) GetTopicId() uint64 { + if x != nil { + return x.TopicId + } + return 0 +} + +func (x *GetForecastsAtBlockRequest) GetBlockHeight() int64 { + if x != nil { + return x.BlockHeight + } + return 0 +} + +// Returns the forecasts on a topic posted at a block height +// +// NOTE: The amount field is a Uint which implements the custom method +// signatures required by gogoproto. +type GetForecastsAtBlockResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Forecasts *v3.Forecasts `protobuf:"bytes,1,opt,name=forecasts,proto3" json:"forecasts,omitempty"` +} + +func (x *GetForecastsAtBlockResponse) Reset() { + *x = GetForecastsAtBlockResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_emissions_v8_query_proto_msgTypes[79] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GetForecastsAtBlockResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GetForecastsAtBlockResponse) ProtoMessage() {} + +// Deprecated: Use GetForecastsAtBlockResponse.ProtoReflect.Descriptor instead. +func (*GetForecastsAtBlockResponse) Descriptor() ([]byte, []int) { + return file_emissions_v8_query_proto_rawDescGZIP(), []int{79} +} + +func (x *GetForecastsAtBlockResponse) GetForecasts() *v3.Forecasts { + if x != nil { + return x.Forecasts + } + return nil +} + +type GetWorkerLatestInferenceByTopicIdRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + TopicId uint64 `protobuf:"varint,1,opt,name=topic_id,json=topicId,proto3" json:"topic_id,omitempty"` + WorkerAddress string `protobuf:"bytes,2,opt,name=worker_address,json=workerAddress,proto3" json:"worker_address,omitempty"` +} + +func (x *GetWorkerLatestInferenceByTopicIdRequest) Reset() { + *x = GetWorkerLatestInferenceByTopicIdRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_emissions_v8_query_proto_msgTypes[80] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GetWorkerLatestInferenceByTopicIdRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GetWorkerLatestInferenceByTopicIdRequest) ProtoMessage() {} + +// Deprecated: Use GetWorkerLatestInferenceByTopicIdRequest.ProtoReflect.Descriptor instead. +func (*GetWorkerLatestInferenceByTopicIdRequest) Descriptor() ([]byte, []int) { + return file_emissions_v8_query_proto_rawDescGZIP(), []int{80} +} + +func (x *GetWorkerLatestInferenceByTopicIdRequest) GetTopicId() uint64 { + if x != nil { + return x.TopicId + } + return 0 +} + +func (x *GetWorkerLatestInferenceByTopicIdRequest) GetWorkerAddress() string { + if x != nil { + return x.WorkerAddress + } + return "" +} + +type GetWorkerLatestInferenceByTopicIdResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + LatestInference *v3.Inference `protobuf:"bytes,1,opt,name=latest_inference,json=latestInference,proto3" json:"latest_inference,omitempty"` +} + +func (x *GetWorkerLatestInferenceByTopicIdResponse) Reset() { + *x = GetWorkerLatestInferenceByTopicIdResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_emissions_v8_query_proto_msgTypes[81] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GetWorkerLatestInferenceByTopicIdResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GetWorkerLatestInferenceByTopicIdResponse) ProtoMessage() {} + +// Deprecated: Use GetWorkerLatestInferenceByTopicIdResponse.ProtoReflect.Descriptor instead. +func (*GetWorkerLatestInferenceByTopicIdResponse) Descriptor() ([]byte, []int) { + return file_emissions_v8_query_proto_rawDescGZIP(), []int{81} +} + +func (x *GetWorkerLatestInferenceByTopicIdResponse) GetLatestInference() *v3.Inference { + if x != nil { + return x.LatestInference + } + return nil +} + +type GetWorkerNodeInfoRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Address string `protobuf:"bytes,2,opt,name=address,proto3" json:"address,omitempty"` +} + +func (x *GetWorkerNodeInfoRequest) Reset() { + *x = GetWorkerNodeInfoRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_emissions_v8_query_proto_msgTypes[82] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GetWorkerNodeInfoRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GetWorkerNodeInfoRequest) ProtoMessage() {} + +// Deprecated: Use GetWorkerNodeInfoRequest.ProtoReflect.Descriptor instead. +func (*GetWorkerNodeInfoRequest) Descriptor() ([]byte, []int) { + return file_emissions_v8_query_proto_rawDescGZIP(), []int{82} +} + +func (x *GetWorkerNodeInfoRequest) GetAddress() string { + if x != nil { + return x.Address + } + return "" +} + +type GetWorkerNodeInfoResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + NodeInfo *v3.OffchainNode `protobuf:"bytes,1,opt,name=node_info,json=nodeInfo,proto3" json:"node_info,omitempty"` +} + +func (x *GetWorkerNodeInfoResponse) Reset() { + *x = GetWorkerNodeInfoResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_emissions_v8_query_proto_msgTypes[83] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GetWorkerNodeInfoResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GetWorkerNodeInfoResponse) ProtoMessage() {} + +// Deprecated: Use GetWorkerNodeInfoResponse.ProtoReflect.Descriptor instead. +func (*GetWorkerNodeInfoResponse) Descriptor() ([]byte, []int) { + return file_emissions_v8_query_proto_rawDescGZIP(), []int{83} +} + +func (x *GetWorkerNodeInfoResponse) GetNodeInfo() *v3.OffchainNode { + if x != nil { + return x.NodeInfo + } + return nil +} + +type GetReputerNodeInfoRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Address string `protobuf:"bytes,2,opt,name=address,proto3" json:"address,omitempty"` +} + +func (x *GetReputerNodeInfoRequest) Reset() { + *x = GetReputerNodeInfoRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_emissions_v8_query_proto_msgTypes[84] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GetReputerNodeInfoRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GetReputerNodeInfoRequest) ProtoMessage() {} + +// Deprecated: Use GetReputerNodeInfoRequest.ProtoReflect.Descriptor instead. +func (*GetReputerNodeInfoRequest) Descriptor() ([]byte, []int) { + return file_emissions_v8_query_proto_rawDescGZIP(), []int{84} +} + +func (x *GetReputerNodeInfoRequest) GetAddress() string { + if x != nil { + return x.Address + } + return "" +} + +type GetReputerNodeInfoResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + NodeInfo *v3.OffchainNode `protobuf:"bytes,1,opt,name=node_info,json=nodeInfo,proto3" json:"node_info,omitempty"` +} + +func (x *GetReputerNodeInfoResponse) Reset() { + *x = GetReputerNodeInfoResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_emissions_v8_query_proto_msgTypes[85] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GetReputerNodeInfoResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GetReputerNodeInfoResponse) ProtoMessage() {} + +// Deprecated: Use GetReputerNodeInfoResponse.ProtoReflect.Descriptor instead. +func (*GetReputerNodeInfoResponse) Descriptor() ([]byte, []int) { + return file_emissions_v8_query_proto_rawDescGZIP(), []int{85} +} + +func (x *GetReputerNodeInfoResponse) GetNodeInfo() *v3.OffchainNode { + if x != nil { + return x.NodeInfo + } + return nil +} + +type GetNetworkInferencesAtBlockRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + TopicId uint64 `protobuf:"varint,1,opt,name=topic_id,json=topicId,proto3" json:"topic_id,omitempty"` + BlockHeightLastInference int64 `protobuf:"varint,2,opt,name=block_height_last_inference,json=blockHeightLastInference,proto3" json:"block_height_last_inference,omitempty"` +} + +func (x *GetNetworkInferencesAtBlockRequest) Reset() { + *x = GetNetworkInferencesAtBlockRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_emissions_v8_query_proto_msgTypes[86] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GetNetworkInferencesAtBlockRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GetNetworkInferencesAtBlockRequest) ProtoMessage() {} + +// Deprecated: Use GetNetworkInferencesAtBlockRequest.ProtoReflect.Descriptor instead. +func (*GetNetworkInferencesAtBlockRequest) Descriptor() ([]byte, []int) { + return file_emissions_v8_query_proto_rawDescGZIP(), []int{86} +} + +func (x *GetNetworkInferencesAtBlockRequest) GetTopicId() uint64 { + if x != nil { + return x.TopicId + } + return 0 +} + +func (x *GetNetworkInferencesAtBlockRequest) GetBlockHeightLastInference() int64 { + if x != nil { + return x.BlockHeightLastInference + } + return 0 +} + +type GetNetworkInferencesAtBlockOutlierResistantRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + TopicId uint64 `protobuf:"varint,1,opt,name=topic_id,json=topicId,proto3" json:"topic_id,omitempty"` + BlockHeightLastInference int64 `protobuf:"varint,2,opt,name=block_height_last_inference,json=blockHeightLastInference,proto3" json:"block_height_last_inference,omitempty"` +} + +func (x *GetNetworkInferencesAtBlockOutlierResistantRequest) Reset() { + *x = GetNetworkInferencesAtBlockOutlierResistantRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_emissions_v8_query_proto_msgTypes[87] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GetNetworkInferencesAtBlockOutlierResistantRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GetNetworkInferencesAtBlockOutlierResistantRequest) ProtoMessage() {} + +// Deprecated: Use GetNetworkInferencesAtBlockOutlierResistantRequest.ProtoReflect.Descriptor instead. +func (*GetNetworkInferencesAtBlockOutlierResistantRequest) Descriptor() ([]byte, []int) { + return file_emissions_v8_query_proto_rawDescGZIP(), []int{87} +} + +func (x *GetNetworkInferencesAtBlockOutlierResistantRequest) GetTopicId() uint64 { + if x != nil { + return x.TopicId + } + return 0 +} + +func (x *GetNetworkInferencesAtBlockOutlierResistantRequest) GetBlockHeightLastInference() int64 { + if x != nil { + return x.BlockHeightLastInference + } + return 0 +} + +type GetLatestNetworkInferencesRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + TopicId uint64 `protobuf:"varint,1,opt,name=topic_id,json=topicId,proto3" json:"topic_id,omitempty"` +} + +func (x *GetLatestNetworkInferencesRequest) Reset() { + *x = GetLatestNetworkInferencesRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_emissions_v8_query_proto_msgTypes[88] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GetLatestNetworkInferencesRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GetLatestNetworkInferencesRequest) ProtoMessage() {} + +// Deprecated: Use GetLatestNetworkInferencesRequest.ProtoReflect.Descriptor instead. +func (*GetLatestNetworkInferencesRequest) Descriptor() ([]byte, []int) { + return file_emissions_v8_query_proto_rawDescGZIP(), []int{88} +} + +func (x *GetLatestNetworkInferencesRequest) GetTopicId() uint64 { + if x != nil { + return x.TopicId + } + return 0 +} + +type GetLatestNetworkInferencesOutlierResistantRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + TopicId uint64 `protobuf:"varint,1,opt,name=topic_id,json=topicId,proto3" json:"topic_id,omitempty"` +} + +func (x *GetLatestNetworkInferencesOutlierResistantRequest) Reset() { + *x = GetLatestNetworkInferencesOutlierResistantRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_emissions_v8_query_proto_msgTypes[89] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GetLatestNetworkInferencesOutlierResistantRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GetLatestNetworkInferencesOutlierResistantRequest) ProtoMessage() {} + +// Deprecated: Use GetLatestNetworkInferencesOutlierResistantRequest.ProtoReflect.Descriptor instead. +func (*GetLatestNetworkInferencesOutlierResistantRequest) Descriptor() ([]byte, []int) { + return file_emissions_v8_query_proto_rawDescGZIP(), []int{89} +} + +func (x *GetLatestNetworkInferencesOutlierResistantRequest) GetTopicId() uint64 { + if x != nil { + return x.TopicId + } + return 0 +} + +type GetLatestAvailableNetworkInferencesRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + TopicId uint64 `protobuf:"varint,1,opt,name=topic_id,json=topicId,proto3" json:"topic_id,omitempty"` +} + +func (x *GetLatestAvailableNetworkInferencesRequest) Reset() { + *x = GetLatestAvailableNetworkInferencesRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_emissions_v8_query_proto_msgTypes[90] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GetLatestAvailableNetworkInferencesRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GetLatestAvailableNetworkInferencesRequest) ProtoMessage() {} + +// Deprecated: Use GetLatestAvailableNetworkInferencesRequest.ProtoReflect.Descriptor instead. +func (*GetLatestAvailableNetworkInferencesRequest) Descriptor() ([]byte, []int) { + return file_emissions_v8_query_proto_rawDescGZIP(), []int{90} +} + +func (x *GetLatestAvailableNetworkInferencesRequest) GetTopicId() uint64 { + if x != nil { + return x.TopicId + } + return 0 +} + +type GetLatestAvailableNetworkInferencesOutlierResistantRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + TopicId uint64 `protobuf:"varint,1,opt,name=topic_id,json=topicId,proto3" json:"topic_id,omitempty"` +} + +func (x *GetLatestAvailableNetworkInferencesOutlierResistantRequest) Reset() { + *x = GetLatestAvailableNetworkInferencesOutlierResistantRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_emissions_v8_query_proto_msgTypes[91] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GetLatestAvailableNetworkInferencesOutlierResistantRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GetLatestAvailableNetworkInferencesOutlierResistantRequest) ProtoMessage() {} + +// Deprecated: Use GetLatestAvailableNetworkInferencesOutlierResistantRequest.ProtoReflect.Descriptor instead. +func (*GetLatestAvailableNetworkInferencesOutlierResistantRequest) Descriptor() ([]byte, []int) { + return file_emissions_v8_query_proto_rawDescGZIP(), []int{91} +} + +func (x *GetLatestAvailableNetworkInferencesOutlierResistantRequest) GetTopicId() uint64 { + if x != nil { + return x.TopicId + } + return 0 +} + +type IsWorkerNonceUnfulfilledRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + TopicId uint64 `protobuf:"varint,1,opt,name=topic_id,json=topicId,proto3" json:"topic_id,omitempty"` + BlockHeight int64 `protobuf:"varint,2,opt,name=block_height,json=blockHeight,proto3" json:"block_height,omitempty"` +} + +func (x *IsWorkerNonceUnfulfilledRequest) Reset() { + *x = IsWorkerNonceUnfulfilledRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_emissions_v8_query_proto_msgTypes[92] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *IsWorkerNonceUnfulfilledRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*IsWorkerNonceUnfulfilledRequest) ProtoMessage() {} + +// Deprecated: Use IsWorkerNonceUnfulfilledRequest.ProtoReflect.Descriptor instead. +func (*IsWorkerNonceUnfulfilledRequest) Descriptor() ([]byte, []int) { + return file_emissions_v8_query_proto_rawDescGZIP(), []int{92} +} + +func (x *IsWorkerNonceUnfulfilledRequest) GetTopicId() uint64 { + if x != nil { + return x.TopicId + } + return 0 +} + +func (x *IsWorkerNonceUnfulfilledRequest) GetBlockHeight() int64 { + if x != nil { + return x.BlockHeight + } + return 0 +} + +type IsWorkerNonceUnfulfilledResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + IsWorkerNonceUnfulfilled bool `protobuf:"varint,1,opt,name=is_worker_nonce_unfulfilled,json=isWorkerNonceUnfulfilled,proto3" json:"is_worker_nonce_unfulfilled,omitempty"` +} + +func (x *IsWorkerNonceUnfulfilledResponse) Reset() { + *x = IsWorkerNonceUnfulfilledResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_emissions_v8_query_proto_msgTypes[93] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *IsWorkerNonceUnfulfilledResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*IsWorkerNonceUnfulfilledResponse) ProtoMessage() {} + +// Deprecated: Use IsWorkerNonceUnfulfilledResponse.ProtoReflect.Descriptor instead. +func (*IsWorkerNonceUnfulfilledResponse) Descriptor() ([]byte, []int) { + return file_emissions_v8_query_proto_rawDescGZIP(), []int{93} +} + +func (x *IsWorkerNonceUnfulfilledResponse) GetIsWorkerNonceUnfulfilled() bool { + if x != nil { + return x.IsWorkerNonceUnfulfilled + } + return false +} + +type GetUnfulfilledReputerNoncesRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + TopicId uint64 `protobuf:"varint,1,opt,name=topic_id,json=topicId,proto3" json:"topic_id,omitempty"` +} + +func (x *GetUnfulfilledReputerNoncesRequest) Reset() { + *x = GetUnfulfilledReputerNoncesRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_emissions_v8_query_proto_msgTypes[94] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GetUnfulfilledReputerNoncesRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GetUnfulfilledReputerNoncesRequest) ProtoMessage() {} + +// Deprecated: Use GetUnfulfilledReputerNoncesRequest.ProtoReflect.Descriptor instead. +func (*GetUnfulfilledReputerNoncesRequest) Descriptor() ([]byte, []int) { + return file_emissions_v8_query_proto_rawDescGZIP(), []int{94} +} + +func (x *GetUnfulfilledReputerNoncesRequest) GetTopicId() uint64 { + if x != nil { + return x.TopicId + } + return 0 +} + +type GetUnfulfilledReputerNoncesResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Nonces *v3.ReputerRequestNonces `protobuf:"bytes,1,opt,name=nonces,proto3" json:"nonces,omitempty"` +} + +func (x *GetUnfulfilledReputerNoncesResponse) Reset() { + *x = GetUnfulfilledReputerNoncesResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_emissions_v8_query_proto_msgTypes[95] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GetUnfulfilledReputerNoncesResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GetUnfulfilledReputerNoncesResponse) ProtoMessage() {} + +// Deprecated: Use GetUnfulfilledReputerNoncesResponse.ProtoReflect.Descriptor instead. +func (*GetUnfulfilledReputerNoncesResponse) Descriptor() ([]byte, []int) { + return file_emissions_v8_query_proto_rawDescGZIP(), []int{95} +} + +func (x *GetUnfulfilledReputerNoncesResponse) GetNonces() *v3.ReputerRequestNonces { + if x != nil { + return x.Nonces + } + return nil +} + +type GetUnfulfilledWorkerNoncesRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + TopicId uint64 `protobuf:"varint,1,opt,name=topic_id,json=topicId,proto3" json:"topic_id,omitempty"` +} + +func (x *GetUnfulfilledWorkerNoncesRequest) Reset() { + *x = GetUnfulfilledWorkerNoncesRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_emissions_v8_query_proto_msgTypes[96] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GetUnfulfilledWorkerNoncesRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GetUnfulfilledWorkerNoncesRequest) ProtoMessage() {} + +// Deprecated: Use GetUnfulfilledWorkerNoncesRequest.ProtoReflect.Descriptor instead. +func (*GetUnfulfilledWorkerNoncesRequest) Descriptor() ([]byte, []int) { + return file_emissions_v8_query_proto_rawDescGZIP(), []int{96} +} + +func (x *GetUnfulfilledWorkerNoncesRequest) GetTopicId() uint64 { + if x != nil { + return x.TopicId + } + return 0 +} + +type GetUnfulfilledWorkerNoncesResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Nonces *v3.Nonces `protobuf:"bytes,1,opt,name=nonces,proto3" json:"nonces,omitempty"` +} + +func (x *GetUnfulfilledWorkerNoncesResponse) Reset() { + *x = GetUnfulfilledWorkerNoncesResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_emissions_v8_query_proto_msgTypes[97] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GetUnfulfilledWorkerNoncesResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GetUnfulfilledWorkerNoncesResponse) ProtoMessage() {} + +// Deprecated: Use GetUnfulfilledWorkerNoncesResponse.ProtoReflect.Descriptor instead. +func (*GetUnfulfilledWorkerNoncesResponse) Descriptor() ([]byte, []int) { + return file_emissions_v8_query_proto_rawDescGZIP(), []int{97} +} + +func (x *GetUnfulfilledWorkerNoncesResponse) GetNonces() *v3.Nonces { + if x != nil { + return x.Nonces + } + return nil +} + +type GetInfererNetworkRegretRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + TopicId uint64 `protobuf:"varint,1,opt,name=topic_id,json=topicId,proto3" json:"topic_id,omitempty"` + ActorId string `protobuf:"bytes,2,opt,name=actor_id,json=actorId,proto3" json:"actor_id,omitempty"` +} + +func (x *GetInfererNetworkRegretRequest) Reset() { + *x = GetInfererNetworkRegretRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_emissions_v8_query_proto_msgTypes[98] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GetInfererNetworkRegretRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GetInfererNetworkRegretRequest) ProtoMessage() {} + +// Deprecated: Use GetInfererNetworkRegretRequest.ProtoReflect.Descriptor instead. +func (*GetInfererNetworkRegretRequest) Descriptor() ([]byte, []int) { + return file_emissions_v8_query_proto_rawDescGZIP(), []int{98} +} + +func (x *GetInfererNetworkRegretRequest) GetTopicId() uint64 { + if x != nil { + return x.TopicId + } + return 0 +} + +func (x *GetInfererNetworkRegretRequest) GetActorId() string { + if x != nil { + return x.ActorId + } + return "" +} + +type GetInfererNetworkRegretResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Regret *v3.TimestampedValue `protobuf:"bytes,1,opt,name=regret,proto3" json:"regret,omitempty"` +} + +func (x *GetInfererNetworkRegretResponse) Reset() { + *x = GetInfererNetworkRegretResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_emissions_v8_query_proto_msgTypes[99] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GetInfererNetworkRegretResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GetInfererNetworkRegretResponse) ProtoMessage() {} + +// Deprecated: Use GetInfererNetworkRegretResponse.ProtoReflect.Descriptor instead. +func (*GetInfererNetworkRegretResponse) Descriptor() ([]byte, []int) { + return file_emissions_v8_query_proto_rawDescGZIP(), []int{99} +} + +func (x *GetInfererNetworkRegretResponse) GetRegret() *v3.TimestampedValue { + if x != nil { + return x.Regret + } + return nil +} + +type GetForecasterNetworkRegretRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + TopicId uint64 `protobuf:"varint,1,opt,name=topic_id,json=topicId,proto3" json:"topic_id,omitempty"` + Worker string `protobuf:"bytes,2,opt,name=worker,proto3" json:"worker,omitempty"` +} + +func (x *GetForecasterNetworkRegretRequest) Reset() { + *x = GetForecasterNetworkRegretRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_emissions_v8_query_proto_msgTypes[100] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GetForecasterNetworkRegretRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GetForecasterNetworkRegretRequest) ProtoMessage() {} + +// Deprecated: Use GetForecasterNetworkRegretRequest.ProtoReflect.Descriptor instead. +func (*GetForecasterNetworkRegretRequest) Descriptor() ([]byte, []int) { + return file_emissions_v8_query_proto_rawDescGZIP(), []int{100} +} + +func (x *GetForecasterNetworkRegretRequest) GetTopicId() uint64 { + if x != nil { + return x.TopicId + } + return 0 +} + +func (x *GetForecasterNetworkRegretRequest) GetWorker() string { + if x != nil { + return x.Worker + } + return "" +} + +type GetForecasterNetworkRegretResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Regret *v3.TimestampedValue `protobuf:"bytes,1,opt,name=regret,proto3" json:"regret,omitempty"` +} + +func (x *GetForecasterNetworkRegretResponse) Reset() { + *x = GetForecasterNetworkRegretResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_emissions_v8_query_proto_msgTypes[101] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GetForecasterNetworkRegretResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GetForecasterNetworkRegretResponse) ProtoMessage() {} + +// Deprecated: Use GetForecasterNetworkRegretResponse.ProtoReflect.Descriptor instead. +func (*GetForecasterNetworkRegretResponse) Descriptor() ([]byte, []int) { + return file_emissions_v8_query_proto_rawDescGZIP(), []int{101} +} + +func (x *GetForecasterNetworkRegretResponse) GetRegret() *v3.TimestampedValue { + if x != nil { + return x.Regret + } + return nil +} + +type GetOneInForecasterNetworkRegretRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + TopicId uint64 `protobuf:"varint,1,opt,name=topic_id,json=topicId,proto3" json:"topic_id,omitempty"` + Forecaster string `protobuf:"bytes,2,opt,name=forecaster,proto3" json:"forecaster,omitempty"` + Inferer string `protobuf:"bytes,3,opt,name=inferer,proto3" json:"inferer,omitempty"` +} + +func (x *GetOneInForecasterNetworkRegretRequest) Reset() { + *x = GetOneInForecasterNetworkRegretRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_emissions_v8_query_proto_msgTypes[102] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GetOneInForecasterNetworkRegretRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GetOneInForecasterNetworkRegretRequest) ProtoMessage() {} + +// Deprecated: Use GetOneInForecasterNetworkRegretRequest.ProtoReflect.Descriptor instead. +func (*GetOneInForecasterNetworkRegretRequest) Descriptor() ([]byte, []int) { + return file_emissions_v8_query_proto_rawDescGZIP(), []int{102} +} + +func (x *GetOneInForecasterNetworkRegretRequest) GetTopicId() uint64 { + if x != nil { + return x.TopicId + } + return 0 +} + +func (x *GetOneInForecasterNetworkRegretRequest) GetForecaster() string { + if x != nil { + return x.Forecaster + } + return "" +} + +func (x *GetOneInForecasterNetworkRegretRequest) GetInferer() string { + if x != nil { + return x.Inferer + } + return "" +} + +type GetOneInForecasterNetworkRegretResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Regret *v3.TimestampedValue `protobuf:"bytes,1,opt,name=regret,proto3" json:"regret,omitempty"` +} + +func (x *GetOneInForecasterNetworkRegretResponse) Reset() { + *x = GetOneInForecasterNetworkRegretResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_emissions_v8_query_proto_msgTypes[103] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GetOneInForecasterNetworkRegretResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GetOneInForecasterNetworkRegretResponse) ProtoMessage() {} + +// Deprecated: Use GetOneInForecasterNetworkRegretResponse.ProtoReflect.Descriptor instead. +func (*GetOneInForecasterNetworkRegretResponse) Descriptor() ([]byte, []int) { + return file_emissions_v8_query_proto_rawDescGZIP(), []int{103} +} + +func (x *GetOneInForecasterNetworkRegretResponse) GetRegret() *v3.TimestampedValue { + if x != nil { + return x.Regret + } + return nil +} + +type IsReputerNonceUnfulfilledRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + TopicId uint64 `protobuf:"varint,1,opt,name=topic_id,json=topicId,proto3" json:"topic_id,omitempty"` + BlockHeight int64 `protobuf:"varint,2,opt,name=block_height,json=blockHeight,proto3" json:"block_height,omitempty"` +} + +func (x *IsReputerNonceUnfulfilledRequest) Reset() { + *x = IsReputerNonceUnfulfilledRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_emissions_v8_query_proto_msgTypes[104] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *IsReputerNonceUnfulfilledRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*IsReputerNonceUnfulfilledRequest) ProtoMessage() {} + +// Deprecated: Use IsReputerNonceUnfulfilledRequest.ProtoReflect.Descriptor instead. +func (*IsReputerNonceUnfulfilledRequest) Descriptor() ([]byte, []int) { + return file_emissions_v8_query_proto_rawDescGZIP(), []int{104} +} + +func (x *IsReputerNonceUnfulfilledRequest) GetTopicId() uint64 { + if x != nil { + return x.TopicId + } + return 0 +} + +func (x *IsReputerNonceUnfulfilledRequest) GetBlockHeight() int64 { + if x != nil { + return x.BlockHeight + } + return 0 +} + +type IsReputerNonceUnfulfilledResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + IsReputerNonceUnfulfilled bool `protobuf:"varint,1,opt,name=is_reputer_nonce_unfulfilled,json=isReputerNonceUnfulfilled,proto3" json:"is_reputer_nonce_unfulfilled,omitempty"` +} + +func (x *IsReputerNonceUnfulfilledResponse) Reset() { + *x = IsReputerNonceUnfulfilledResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_emissions_v8_query_proto_msgTypes[105] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *IsReputerNonceUnfulfilledResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*IsReputerNonceUnfulfilledResponse) ProtoMessage() {} + +// Deprecated: Use IsReputerNonceUnfulfilledResponse.ProtoReflect.Descriptor instead. +func (*IsReputerNonceUnfulfilledResponse) Descriptor() ([]byte, []int) { + return file_emissions_v8_query_proto_rawDescGZIP(), []int{105} +} + +func (x *IsReputerNonceUnfulfilledResponse) GetIsReputerNonceUnfulfilled() bool { + if x != nil { + return x.IsReputerNonceUnfulfilled + } + return false +} + +type GetNetworkInferencesAtBlockResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + NetworkInferences *v3.ValueBundle `protobuf:"bytes,1,opt,name=network_inferences,json=networkInferences,proto3" json:"network_inferences,omitempty"` +} + +func (x *GetNetworkInferencesAtBlockResponse) Reset() { + *x = GetNetworkInferencesAtBlockResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_emissions_v8_query_proto_msgTypes[106] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GetNetworkInferencesAtBlockResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GetNetworkInferencesAtBlockResponse) ProtoMessage() {} + +// Deprecated: Use GetNetworkInferencesAtBlockResponse.ProtoReflect.Descriptor instead. +func (*GetNetworkInferencesAtBlockResponse) Descriptor() ([]byte, []int) { + return file_emissions_v8_query_proto_rawDescGZIP(), []int{106} +} + +func (x *GetNetworkInferencesAtBlockResponse) GetNetworkInferences() *v3.ValueBundle { + if x != nil { + return x.NetworkInferences + } + return nil +} + +type GetNetworkInferencesAtBlockOutlierResistantResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + NetworkInferences *v3.ValueBundle `protobuf:"bytes,1,opt,name=network_inferences,json=networkInferences,proto3" json:"network_inferences,omitempty"` +} + +func (x *GetNetworkInferencesAtBlockOutlierResistantResponse) Reset() { + *x = GetNetworkInferencesAtBlockOutlierResistantResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_emissions_v8_query_proto_msgTypes[107] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GetNetworkInferencesAtBlockOutlierResistantResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GetNetworkInferencesAtBlockOutlierResistantResponse) ProtoMessage() {} + +// Deprecated: Use GetNetworkInferencesAtBlockOutlierResistantResponse.ProtoReflect.Descriptor instead. +func (*GetNetworkInferencesAtBlockOutlierResistantResponse) Descriptor() ([]byte, []int) { + return file_emissions_v8_query_proto_rawDescGZIP(), []int{107} +} + +func (x *GetNetworkInferencesAtBlockOutlierResistantResponse) GetNetworkInferences() *v3.ValueBundle { + if x != nil { + return x.NetworkInferences + } + return nil +} + +type GetLatestNetworkInferencesResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + NetworkInferences *v3.ValueBundle `protobuf:"bytes,1,opt,name=network_inferences,json=networkInferences,proto3" json:"network_inferences,omitempty"` + InfererWeights []*v3.RegretInformedWeight `protobuf:"bytes,2,rep,name=inferer_weights,json=infererWeights,proto3" json:"inferer_weights,omitempty"` + ForecasterWeights []*v3.RegretInformedWeight `protobuf:"bytes,3,rep,name=forecaster_weights,json=forecasterWeights,proto3" json:"forecaster_weights,omitempty"` + InferenceBlockHeight int64 `protobuf:"varint,5,opt,name=inference_block_height,json=inferenceBlockHeight,proto3" json:"inference_block_height,omitempty"` + LossBlockHeight int64 `protobuf:"varint,6,opt,name=loss_block_height,json=lossBlockHeight,proto3" json:"loss_block_height,omitempty"` + ConfidenceIntervalRawPercentiles []string `protobuf:"bytes,7,rep,name=confidence_interval_raw_percentiles,json=confidenceIntervalRawPercentiles,proto3" json:"confidence_interval_raw_percentiles,omitempty"` + ConfidenceIntervalValues []string `protobuf:"bytes,8,rep,name=confidence_interval_values,json=confidenceIntervalValues,proto3" json:"confidence_interval_values,omitempty"` +} + +func (x *GetLatestNetworkInferencesResponse) Reset() { + *x = GetLatestNetworkInferencesResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_emissions_v8_query_proto_msgTypes[108] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GetLatestNetworkInferencesResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GetLatestNetworkInferencesResponse) ProtoMessage() {} + +// Deprecated: Use GetLatestNetworkInferencesResponse.ProtoReflect.Descriptor instead. +func (*GetLatestNetworkInferencesResponse) Descriptor() ([]byte, []int) { + return file_emissions_v8_query_proto_rawDescGZIP(), []int{108} +} + +func (x *GetLatestNetworkInferencesResponse) GetNetworkInferences() *v3.ValueBundle { + if x != nil { + return x.NetworkInferences + } + return nil +} + +func (x *GetLatestNetworkInferencesResponse) GetInfererWeights() []*v3.RegretInformedWeight { + if x != nil { + return x.InfererWeights + } + return nil +} + +func (x *GetLatestNetworkInferencesResponse) GetForecasterWeights() []*v3.RegretInformedWeight { + if x != nil { + return x.ForecasterWeights + } + return nil +} + +func (x *GetLatestNetworkInferencesResponse) GetInferenceBlockHeight() int64 { + if x != nil { + return x.InferenceBlockHeight + } + return 0 +} + +func (x *GetLatestNetworkInferencesResponse) GetLossBlockHeight() int64 { + if x != nil { + return x.LossBlockHeight + } + return 0 +} + +func (x *GetLatestNetworkInferencesResponse) GetConfidenceIntervalRawPercentiles() []string { + if x != nil { + return x.ConfidenceIntervalRawPercentiles + } + return nil +} + +func (x *GetLatestNetworkInferencesResponse) GetConfidenceIntervalValues() []string { + if x != nil { + return x.ConfidenceIntervalValues + } + return nil +} + +type GetLatestNetworkInferencesOutlierResistantResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + NetworkInferences *v3.ValueBundle `protobuf:"bytes,1,opt,name=network_inferences,json=networkInferences,proto3" json:"network_inferences,omitempty"` + InfererWeights []*v3.RegretInformedWeight `protobuf:"bytes,2,rep,name=inferer_weights,json=infererWeights,proto3" json:"inferer_weights,omitempty"` + ForecasterWeights []*v3.RegretInformedWeight `protobuf:"bytes,3,rep,name=forecaster_weights,json=forecasterWeights,proto3" json:"forecaster_weights,omitempty"` + InferenceBlockHeight int64 `protobuf:"varint,5,opt,name=inference_block_height,json=inferenceBlockHeight,proto3" json:"inference_block_height,omitempty"` + LossBlockHeight int64 `protobuf:"varint,6,opt,name=loss_block_height,json=lossBlockHeight,proto3" json:"loss_block_height,omitempty"` + ConfidenceIntervalRawPercentiles []string `protobuf:"bytes,7,rep,name=confidence_interval_raw_percentiles,json=confidenceIntervalRawPercentiles,proto3" json:"confidence_interval_raw_percentiles,omitempty"` + ConfidenceIntervalValues []string `protobuf:"bytes,8,rep,name=confidence_interval_values,json=confidenceIntervalValues,proto3" json:"confidence_interval_values,omitempty"` +} + +func (x *GetLatestNetworkInferencesOutlierResistantResponse) Reset() { + *x = GetLatestNetworkInferencesOutlierResistantResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_emissions_v8_query_proto_msgTypes[109] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GetLatestNetworkInferencesOutlierResistantResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GetLatestNetworkInferencesOutlierResistantResponse) ProtoMessage() {} + +// Deprecated: Use GetLatestNetworkInferencesOutlierResistantResponse.ProtoReflect.Descriptor instead. +func (*GetLatestNetworkInferencesOutlierResistantResponse) Descriptor() ([]byte, []int) { + return file_emissions_v8_query_proto_rawDescGZIP(), []int{109} +} + +func (x *GetLatestNetworkInferencesOutlierResistantResponse) GetNetworkInferences() *v3.ValueBundle { + if x != nil { + return x.NetworkInferences + } + return nil +} + +func (x *GetLatestNetworkInferencesOutlierResistantResponse) GetInfererWeights() []*v3.RegretInformedWeight { + if x != nil { + return x.InfererWeights + } + return nil +} + +func (x *GetLatestNetworkInferencesOutlierResistantResponse) GetForecasterWeights() []*v3.RegretInformedWeight { + if x != nil { + return x.ForecasterWeights + } + return nil +} + +func (x *GetLatestNetworkInferencesOutlierResistantResponse) GetInferenceBlockHeight() int64 { + if x != nil { + return x.InferenceBlockHeight + } + return 0 +} + +func (x *GetLatestNetworkInferencesOutlierResistantResponse) GetLossBlockHeight() int64 { + if x != nil { + return x.LossBlockHeight + } + return 0 +} + +func (x *GetLatestNetworkInferencesOutlierResistantResponse) GetConfidenceIntervalRawPercentiles() []string { + if x != nil { + return x.ConfidenceIntervalRawPercentiles + } + return nil +} + +func (x *GetLatestNetworkInferencesOutlierResistantResponse) GetConfidenceIntervalValues() []string { + if x != nil { + return x.ConfidenceIntervalValues + } + return nil +} + +type GetLatestAvailableNetworkInferencesResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + NetworkInferences *v3.ValueBundle `protobuf:"bytes,1,opt,name=network_inferences,json=networkInferences,proto3" json:"network_inferences,omitempty"` + InfererWeights []*v3.RegretInformedWeight `protobuf:"bytes,2,rep,name=inferer_weights,json=infererWeights,proto3" json:"inferer_weights,omitempty"` + ForecasterWeights []*v3.RegretInformedWeight `protobuf:"bytes,3,rep,name=forecaster_weights,json=forecasterWeights,proto3" json:"forecaster_weights,omitempty"` + InferenceBlockHeight int64 `protobuf:"varint,5,opt,name=inference_block_height,json=inferenceBlockHeight,proto3" json:"inference_block_height,omitempty"` + LossBlockHeight int64 `protobuf:"varint,6,opt,name=loss_block_height,json=lossBlockHeight,proto3" json:"loss_block_height,omitempty"` + ConfidenceIntervalRawPercentiles []string `protobuf:"bytes,7,rep,name=confidence_interval_raw_percentiles,json=confidenceIntervalRawPercentiles,proto3" json:"confidence_interval_raw_percentiles,omitempty"` + ConfidenceIntervalValues []string `protobuf:"bytes,8,rep,name=confidence_interval_values,json=confidenceIntervalValues,proto3" json:"confidence_interval_values,omitempty"` +} + +func (x *GetLatestAvailableNetworkInferencesResponse) Reset() { + *x = GetLatestAvailableNetworkInferencesResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_emissions_v8_query_proto_msgTypes[110] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GetLatestAvailableNetworkInferencesResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GetLatestAvailableNetworkInferencesResponse) ProtoMessage() {} + +// Deprecated: Use GetLatestAvailableNetworkInferencesResponse.ProtoReflect.Descriptor instead. +func (*GetLatestAvailableNetworkInferencesResponse) Descriptor() ([]byte, []int) { + return file_emissions_v8_query_proto_rawDescGZIP(), []int{110} +} + +func (x *GetLatestAvailableNetworkInferencesResponse) GetNetworkInferences() *v3.ValueBundle { + if x != nil { + return x.NetworkInferences + } + return nil +} + +func (x *GetLatestAvailableNetworkInferencesResponse) GetInfererWeights() []*v3.RegretInformedWeight { + if x != nil { + return x.InfererWeights + } + return nil +} + +func (x *GetLatestAvailableNetworkInferencesResponse) GetForecasterWeights() []*v3.RegretInformedWeight { + if x != nil { + return x.ForecasterWeights + } + return nil +} + +func (x *GetLatestAvailableNetworkInferencesResponse) GetInferenceBlockHeight() int64 { + if x != nil { + return x.InferenceBlockHeight + } + return 0 +} + +func (x *GetLatestAvailableNetworkInferencesResponse) GetLossBlockHeight() int64 { + if x != nil { + return x.LossBlockHeight + } + return 0 +} + +func (x *GetLatestAvailableNetworkInferencesResponse) GetConfidenceIntervalRawPercentiles() []string { + if x != nil { + return x.ConfidenceIntervalRawPercentiles + } + return nil +} + +func (x *GetLatestAvailableNetworkInferencesResponse) GetConfidenceIntervalValues() []string { + if x != nil { + return x.ConfidenceIntervalValues + } + return nil +} + +type GetLatestAvailableNetworkInferencesOutlierResistantResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + NetworkInferences *v3.ValueBundle `protobuf:"bytes,1,opt,name=network_inferences,json=networkInferences,proto3" json:"network_inferences,omitempty"` + InfererWeights []*v3.RegretInformedWeight `protobuf:"bytes,2,rep,name=inferer_weights,json=infererWeights,proto3" json:"inferer_weights,omitempty"` + ForecasterWeights []*v3.RegretInformedWeight `protobuf:"bytes,3,rep,name=forecaster_weights,json=forecasterWeights,proto3" json:"forecaster_weights,omitempty"` + InferenceBlockHeight int64 `protobuf:"varint,5,opt,name=inference_block_height,json=inferenceBlockHeight,proto3" json:"inference_block_height,omitempty"` + LossBlockHeight int64 `protobuf:"varint,6,opt,name=loss_block_height,json=lossBlockHeight,proto3" json:"loss_block_height,omitempty"` + ConfidenceIntervalRawPercentiles []string `protobuf:"bytes,7,rep,name=confidence_interval_raw_percentiles,json=confidenceIntervalRawPercentiles,proto3" json:"confidence_interval_raw_percentiles,omitempty"` + ConfidenceIntervalValues []string `protobuf:"bytes,8,rep,name=confidence_interval_values,json=confidenceIntervalValues,proto3" json:"confidence_interval_values,omitempty"` +} + +func (x *GetLatestAvailableNetworkInferencesOutlierResistantResponse) Reset() { + *x = GetLatestAvailableNetworkInferencesOutlierResistantResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_emissions_v8_query_proto_msgTypes[111] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GetLatestAvailableNetworkInferencesOutlierResistantResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GetLatestAvailableNetworkInferencesOutlierResistantResponse) ProtoMessage() {} + +// Deprecated: Use GetLatestAvailableNetworkInferencesOutlierResistantResponse.ProtoReflect.Descriptor instead. +func (*GetLatestAvailableNetworkInferencesOutlierResistantResponse) Descriptor() ([]byte, []int) { + return file_emissions_v8_query_proto_rawDescGZIP(), []int{111} +} + +func (x *GetLatestAvailableNetworkInferencesOutlierResistantResponse) GetNetworkInferences() *v3.ValueBundle { + if x != nil { + return x.NetworkInferences + } + return nil +} + +func (x *GetLatestAvailableNetworkInferencesOutlierResistantResponse) GetInfererWeights() []*v3.RegretInformedWeight { + if x != nil { + return x.InfererWeights + } + return nil +} + +func (x *GetLatestAvailableNetworkInferencesOutlierResistantResponse) GetForecasterWeights() []*v3.RegretInformedWeight { + if x != nil { + return x.ForecasterWeights + } + return nil +} + +func (x *GetLatestAvailableNetworkInferencesOutlierResistantResponse) GetInferenceBlockHeight() int64 { + if x != nil { + return x.InferenceBlockHeight + } + return 0 +} + +func (x *GetLatestAvailableNetworkInferencesOutlierResistantResponse) GetLossBlockHeight() int64 { + if x != nil { + return x.LossBlockHeight + } + return 0 +} + +func (x *GetLatestAvailableNetworkInferencesOutlierResistantResponse) GetConfidenceIntervalRawPercentiles() []string { + if x != nil { + return x.ConfidenceIntervalRawPercentiles + } + return nil +} + +func (x *GetLatestAvailableNetworkInferencesOutlierResistantResponse) GetConfidenceIntervalValues() []string { + if x != nil { + return x.ConfidenceIntervalValues + } + return nil +} + +type IsWorkerRegisteredInTopicIdRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + TopicId uint64 `protobuf:"varint,1,opt,name=topic_id,json=topicId,proto3" json:"topic_id,omitempty"` + Address string `protobuf:"bytes,2,opt,name=address,proto3" json:"address,omitempty"` +} + +func (x *IsWorkerRegisteredInTopicIdRequest) Reset() { + *x = IsWorkerRegisteredInTopicIdRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_emissions_v8_query_proto_msgTypes[112] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *IsWorkerRegisteredInTopicIdRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*IsWorkerRegisteredInTopicIdRequest) ProtoMessage() {} + +// Deprecated: Use IsWorkerRegisteredInTopicIdRequest.ProtoReflect.Descriptor instead. +func (*IsWorkerRegisteredInTopicIdRequest) Descriptor() ([]byte, []int) { + return file_emissions_v8_query_proto_rawDescGZIP(), []int{112} +} + +func (x *IsWorkerRegisteredInTopicIdRequest) GetTopicId() uint64 { + if x != nil { + return x.TopicId + } + return 0 +} + +func (x *IsWorkerRegisteredInTopicIdRequest) GetAddress() string { + if x != nil { + return x.Address + } + return "" +} + +type IsWorkerRegisteredInTopicIdResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + IsRegistered bool `protobuf:"varint,1,opt,name=is_registered,json=isRegistered,proto3" json:"is_registered,omitempty"` +} + +func (x *IsWorkerRegisteredInTopicIdResponse) Reset() { + *x = IsWorkerRegisteredInTopicIdResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_emissions_v8_query_proto_msgTypes[113] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *IsWorkerRegisteredInTopicIdResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*IsWorkerRegisteredInTopicIdResponse) ProtoMessage() {} + +// Deprecated: Use IsWorkerRegisteredInTopicIdResponse.ProtoReflect.Descriptor instead. +func (*IsWorkerRegisteredInTopicIdResponse) Descriptor() ([]byte, []int) { + return file_emissions_v8_query_proto_rawDescGZIP(), []int{113} +} + +func (x *IsWorkerRegisteredInTopicIdResponse) GetIsRegistered() bool { + if x != nil { + return x.IsRegistered + } + return false +} + +type IsReputerRegisteredInTopicIdRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + TopicId uint64 `protobuf:"varint,1,opt,name=topic_id,json=topicId,proto3" json:"topic_id,omitempty"` + Address string `protobuf:"bytes,2,opt,name=address,proto3" json:"address,omitempty"` +} + +func (x *IsReputerRegisteredInTopicIdRequest) Reset() { + *x = IsReputerRegisteredInTopicIdRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_emissions_v8_query_proto_msgTypes[114] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *IsReputerRegisteredInTopicIdRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*IsReputerRegisteredInTopicIdRequest) ProtoMessage() {} + +// Deprecated: Use IsReputerRegisteredInTopicIdRequest.ProtoReflect.Descriptor instead. +func (*IsReputerRegisteredInTopicIdRequest) Descriptor() ([]byte, []int) { + return file_emissions_v8_query_proto_rawDescGZIP(), []int{114} +} + +func (x *IsReputerRegisteredInTopicIdRequest) GetTopicId() uint64 { + if x != nil { + return x.TopicId + } + return 0 +} + +func (x *IsReputerRegisteredInTopicIdRequest) GetAddress() string { + if x != nil { + return x.Address + } + return "" +} + +type IsReputerRegisteredInTopicIdResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + IsRegistered bool `protobuf:"varint,1,opt,name=is_registered,json=isRegistered,proto3" json:"is_registered,omitempty"` +} + +func (x *IsReputerRegisteredInTopicIdResponse) Reset() { + *x = IsReputerRegisteredInTopicIdResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_emissions_v8_query_proto_msgTypes[115] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *IsReputerRegisteredInTopicIdResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*IsReputerRegisteredInTopicIdResponse) ProtoMessage() {} + +// Deprecated: Use IsReputerRegisteredInTopicIdResponse.ProtoReflect.Descriptor instead. +func (*IsReputerRegisteredInTopicIdResponse) Descriptor() ([]byte, []int) { + return file_emissions_v8_query_proto_rawDescGZIP(), []int{115} +} + +func (x *IsReputerRegisteredInTopicIdResponse) GetIsRegistered() bool { + if x != nil { + return x.IsRegistered + } + return false +} + +type IsWhitelistAdminRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` +} + +func (x *IsWhitelistAdminRequest) Reset() { + *x = IsWhitelistAdminRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_emissions_v8_query_proto_msgTypes[116] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *IsWhitelistAdminRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*IsWhitelistAdminRequest) ProtoMessage() {} + +// Deprecated: Use IsWhitelistAdminRequest.ProtoReflect.Descriptor instead. +func (*IsWhitelistAdminRequest) Descriptor() ([]byte, []int) { + return file_emissions_v8_query_proto_rawDescGZIP(), []int{116} +} + +func (x *IsWhitelistAdminRequest) GetAddress() string { + if x != nil { + return x.Address + } + return "" +} + +type IsWhitelistAdminResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + IsAdmin bool `protobuf:"varint,1,opt,name=is_admin,json=isAdmin,proto3" json:"is_admin,omitempty"` +} + +func (x *IsWhitelistAdminResponse) Reset() { + *x = IsWhitelistAdminResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_emissions_v8_query_proto_msgTypes[117] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *IsWhitelistAdminResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*IsWhitelistAdminResponse) ProtoMessage() {} + +// Deprecated: Use IsWhitelistAdminResponse.ProtoReflect.Descriptor instead. +func (*IsWhitelistAdminResponse) Descriptor() ([]byte, []int) { + return file_emissions_v8_query_proto_rawDescGZIP(), []int{117} +} + +func (x *IsWhitelistAdminResponse) GetIsAdmin() bool { + if x != nil { + return x.IsAdmin + } + return false +} + +type GetStakeRemovalsUpUntilBlockRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + BlockHeight int64 `protobuf:"varint,1,opt,name=block_height,json=blockHeight,proto3" json:"block_height,omitempty"` +} + +func (x *GetStakeRemovalsUpUntilBlockRequest) Reset() { + *x = GetStakeRemovalsUpUntilBlockRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_emissions_v8_query_proto_msgTypes[118] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GetStakeRemovalsUpUntilBlockRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GetStakeRemovalsUpUntilBlockRequest) ProtoMessage() {} + +// Deprecated: Use GetStakeRemovalsUpUntilBlockRequest.ProtoReflect.Descriptor instead. +func (*GetStakeRemovalsUpUntilBlockRequest) Descriptor() ([]byte, []int) { + return file_emissions_v8_query_proto_rawDescGZIP(), []int{118} +} + +func (x *GetStakeRemovalsUpUntilBlockRequest) GetBlockHeight() int64 { + if x != nil { + return x.BlockHeight + } + return 0 +} + +type GetStakeRemovalsUpUntilBlockResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Removals []*v3.StakeRemovalInfo `protobuf:"bytes,1,rep,name=removals,proto3" json:"removals,omitempty"` +} + +func (x *GetStakeRemovalsUpUntilBlockResponse) Reset() { + *x = GetStakeRemovalsUpUntilBlockResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_emissions_v8_query_proto_msgTypes[119] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GetStakeRemovalsUpUntilBlockResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GetStakeRemovalsUpUntilBlockResponse) ProtoMessage() {} + +// Deprecated: Use GetStakeRemovalsUpUntilBlockResponse.ProtoReflect.Descriptor instead. +func (*GetStakeRemovalsUpUntilBlockResponse) Descriptor() ([]byte, []int) { + return file_emissions_v8_query_proto_rawDescGZIP(), []int{119} +} + +func (x *GetStakeRemovalsUpUntilBlockResponse) GetRemovals() []*v3.StakeRemovalInfo { + if x != nil { + return x.Removals + } + return nil +} + +type GetDelegateStakeRemovalsUpUntilBlockRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + BlockHeight int64 `protobuf:"varint,1,opt,name=block_height,json=blockHeight,proto3" json:"block_height,omitempty"` +} + +func (x *GetDelegateStakeRemovalsUpUntilBlockRequest) Reset() { + *x = GetDelegateStakeRemovalsUpUntilBlockRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_emissions_v8_query_proto_msgTypes[120] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GetDelegateStakeRemovalsUpUntilBlockRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GetDelegateStakeRemovalsUpUntilBlockRequest) ProtoMessage() {} + +// Deprecated: Use GetDelegateStakeRemovalsUpUntilBlockRequest.ProtoReflect.Descriptor instead. +func (*GetDelegateStakeRemovalsUpUntilBlockRequest) Descriptor() ([]byte, []int) { + return file_emissions_v8_query_proto_rawDescGZIP(), []int{120} +} + +func (x *GetDelegateStakeRemovalsUpUntilBlockRequest) GetBlockHeight() int64 { + if x != nil { + return x.BlockHeight + } + return 0 +} + +type GetDelegateStakeRemovalsUpUntilBlockResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Removals []*v3.DelegateStakeRemovalInfo `protobuf:"bytes,1,rep,name=removals,proto3" json:"removals,omitempty"` +} + +func (x *GetDelegateStakeRemovalsUpUntilBlockResponse) Reset() { + *x = GetDelegateStakeRemovalsUpUntilBlockResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_emissions_v8_query_proto_msgTypes[121] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GetDelegateStakeRemovalsUpUntilBlockResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GetDelegateStakeRemovalsUpUntilBlockResponse) ProtoMessage() {} + +// Deprecated: Use GetDelegateStakeRemovalsUpUntilBlockResponse.ProtoReflect.Descriptor instead. +func (*GetDelegateStakeRemovalsUpUntilBlockResponse) Descriptor() ([]byte, []int) { + return file_emissions_v8_query_proto_rawDescGZIP(), []int{121} +} + +func (x *GetDelegateStakeRemovalsUpUntilBlockResponse) GetRemovals() []*v3.DelegateStakeRemovalInfo { + if x != nil { + return x.Removals + } + return nil +} + +type GetStakeRemovalInfoRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + TopicId uint64 `protobuf:"varint,1,opt,name=topic_id,json=topicId,proto3" json:"topic_id,omitempty"` + Reputer string `protobuf:"bytes,2,opt,name=reputer,proto3" json:"reputer,omitempty"` +} + +func (x *GetStakeRemovalInfoRequest) Reset() { + *x = GetStakeRemovalInfoRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_emissions_v8_query_proto_msgTypes[122] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GetStakeRemovalInfoRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GetStakeRemovalInfoRequest) ProtoMessage() {} + +// Deprecated: Use GetStakeRemovalInfoRequest.ProtoReflect.Descriptor instead. +func (*GetStakeRemovalInfoRequest) Descriptor() ([]byte, []int) { + return file_emissions_v8_query_proto_rawDescGZIP(), []int{122} +} + +func (x *GetStakeRemovalInfoRequest) GetTopicId() uint64 { + if x != nil { + return x.TopicId + } + return 0 +} + +func (x *GetStakeRemovalInfoRequest) GetReputer() string { + if x != nil { + return x.Reputer + } + return "" +} + +type GetStakeRemovalInfoResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Removal *v3.StakeRemovalInfo `protobuf:"bytes,1,opt,name=removal,proto3" json:"removal,omitempty"` +} + +func (x *GetStakeRemovalInfoResponse) Reset() { + *x = GetStakeRemovalInfoResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_emissions_v8_query_proto_msgTypes[123] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GetStakeRemovalInfoResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GetStakeRemovalInfoResponse) ProtoMessage() {} + +// Deprecated: Use GetStakeRemovalInfoResponse.ProtoReflect.Descriptor instead. +func (*GetStakeRemovalInfoResponse) Descriptor() ([]byte, []int) { + return file_emissions_v8_query_proto_rawDescGZIP(), []int{123} +} + +func (x *GetStakeRemovalInfoResponse) GetRemoval() *v3.StakeRemovalInfo { + if x != nil { + return x.Removal + } + return nil +} + +type GetDelegateStakeRemovalInfoRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + TopicId uint64 `protobuf:"varint,1,opt,name=topic_id,json=topicId,proto3" json:"topic_id,omitempty"` + Delegator string `protobuf:"bytes,2,opt,name=delegator,proto3" json:"delegator,omitempty"` + Reputer string `protobuf:"bytes,3,opt,name=reputer,proto3" json:"reputer,omitempty"` +} + +func (x *GetDelegateStakeRemovalInfoRequest) Reset() { + *x = GetDelegateStakeRemovalInfoRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_emissions_v8_query_proto_msgTypes[124] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GetDelegateStakeRemovalInfoRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GetDelegateStakeRemovalInfoRequest) ProtoMessage() {} + +// Deprecated: Use GetDelegateStakeRemovalInfoRequest.ProtoReflect.Descriptor instead. +func (*GetDelegateStakeRemovalInfoRequest) Descriptor() ([]byte, []int) { + return file_emissions_v8_query_proto_rawDescGZIP(), []int{124} +} + +func (x *GetDelegateStakeRemovalInfoRequest) GetTopicId() uint64 { + if x != nil { + return x.TopicId + } + return 0 +} + +func (x *GetDelegateStakeRemovalInfoRequest) GetDelegator() string { + if x != nil { + return x.Delegator + } + return "" +} + +func (x *GetDelegateStakeRemovalInfoRequest) GetReputer() string { + if x != nil { + return x.Reputer + } + return "" +} + +type GetDelegateStakeRemovalInfoResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Removal *v3.DelegateStakeRemovalInfo `protobuf:"bytes,1,opt,name=removal,proto3" json:"removal,omitempty"` +} + +func (x *GetDelegateStakeRemovalInfoResponse) Reset() { + *x = GetDelegateStakeRemovalInfoResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_emissions_v8_query_proto_msgTypes[125] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GetDelegateStakeRemovalInfoResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GetDelegateStakeRemovalInfoResponse) ProtoMessage() {} + +// Deprecated: Use GetDelegateStakeRemovalInfoResponse.ProtoReflect.Descriptor instead. +func (*GetDelegateStakeRemovalInfoResponse) Descriptor() ([]byte, []int) { + return file_emissions_v8_query_proto_rawDescGZIP(), []int{125} +} + +func (x *GetDelegateStakeRemovalInfoResponse) GetRemoval() *v3.DelegateStakeRemovalInfo { + if x != nil { + return x.Removal + } + return nil +} + +type GetTopicLastWorkerCommitInfoRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + TopicId uint64 `protobuf:"varint,1,opt,name=topic_id,json=topicId,proto3" json:"topic_id,omitempty"` +} + +func (x *GetTopicLastWorkerCommitInfoRequest) Reset() { + *x = GetTopicLastWorkerCommitInfoRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_emissions_v8_query_proto_msgTypes[126] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GetTopicLastWorkerCommitInfoRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GetTopicLastWorkerCommitInfoRequest) ProtoMessage() {} + +// Deprecated: Use GetTopicLastWorkerCommitInfoRequest.ProtoReflect.Descriptor instead. +func (*GetTopicLastWorkerCommitInfoRequest) Descriptor() ([]byte, []int) { + return file_emissions_v8_query_proto_rawDescGZIP(), []int{126} +} + +func (x *GetTopicLastWorkerCommitInfoRequest) GetTopicId() uint64 { + if x != nil { + return x.TopicId + } + return 0 +} + +type GetTopicLastWorkerCommitInfoResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + LastCommit *v3.TimestampedActorNonce `protobuf:"bytes,1,opt,name=last_commit,json=lastCommit,proto3" json:"last_commit,omitempty"` +} + +func (x *GetTopicLastWorkerCommitInfoResponse) Reset() { + *x = GetTopicLastWorkerCommitInfoResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_emissions_v8_query_proto_msgTypes[127] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GetTopicLastWorkerCommitInfoResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GetTopicLastWorkerCommitInfoResponse) ProtoMessage() {} + +// Deprecated: Use GetTopicLastWorkerCommitInfoResponse.ProtoReflect.Descriptor instead. +func (*GetTopicLastWorkerCommitInfoResponse) Descriptor() ([]byte, []int) { + return file_emissions_v8_query_proto_rawDescGZIP(), []int{127} +} + +func (x *GetTopicLastWorkerCommitInfoResponse) GetLastCommit() *v3.TimestampedActorNonce { + if x != nil { + return x.LastCommit + } + return nil +} + +type GetTopicLastReputerCommitInfoRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + TopicId uint64 `protobuf:"varint,1,opt,name=topic_id,json=topicId,proto3" json:"topic_id,omitempty"` +} + +func (x *GetTopicLastReputerCommitInfoRequest) Reset() { + *x = GetTopicLastReputerCommitInfoRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_emissions_v8_query_proto_msgTypes[128] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GetTopicLastReputerCommitInfoRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GetTopicLastReputerCommitInfoRequest) ProtoMessage() {} + +// Deprecated: Use GetTopicLastReputerCommitInfoRequest.ProtoReflect.Descriptor instead. +func (*GetTopicLastReputerCommitInfoRequest) Descriptor() ([]byte, []int) { + return file_emissions_v8_query_proto_rawDescGZIP(), []int{128} +} + +func (x *GetTopicLastReputerCommitInfoRequest) GetTopicId() uint64 { + if x != nil { + return x.TopicId + } + return 0 +} + +type GetTopicLastReputerCommitInfoResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + LastCommit *v3.TimestampedActorNonce `protobuf:"bytes,1,opt,name=last_commit,json=lastCommit,proto3" json:"last_commit,omitempty"` +} + +func (x *GetTopicLastReputerCommitInfoResponse) Reset() { + *x = GetTopicLastReputerCommitInfoResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_emissions_v8_query_proto_msgTypes[129] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GetTopicLastReputerCommitInfoResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GetTopicLastReputerCommitInfoResponse) ProtoMessage() {} + +// Deprecated: Use GetTopicLastReputerCommitInfoResponse.ProtoReflect.Descriptor instead. +func (*GetTopicLastReputerCommitInfoResponse) Descriptor() ([]byte, []int) { + return file_emissions_v8_query_proto_rawDescGZIP(), []int{129} +} + +func (x *GetTopicLastReputerCommitInfoResponse) GetLastCommit() *v3.TimestampedActorNonce { + if x != nil { + return x.LastCommit + } + return nil +} + +type GetTopicRewardNonceRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + TopicId uint64 `protobuf:"varint,1,opt,name=topic_id,json=topicId,proto3" json:"topic_id,omitempty"` +} + +func (x *GetTopicRewardNonceRequest) Reset() { + *x = GetTopicRewardNonceRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_emissions_v8_query_proto_msgTypes[130] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GetTopicRewardNonceRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GetTopicRewardNonceRequest) ProtoMessage() {} + +// Deprecated: Use GetTopicRewardNonceRequest.ProtoReflect.Descriptor instead. +func (*GetTopicRewardNonceRequest) Descriptor() ([]byte, []int) { + return file_emissions_v8_query_proto_rawDescGZIP(), []int{130} +} + +func (x *GetTopicRewardNonceRequest) GetTopicId() uint64 { + if x != nil { + return x.TopicId + } + return 0 +} + +type GetTopicRewardNonceResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Nonce int64 `protobuf:"varint,1,opt,name=nonce,proto3" json:"nonce,omitempty"` +} + +func (x *GetTopicRewardNonceResponse) Reset() { + *x = GetTopicRewardNonceResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_emissions_v8_query_proto_msgTypes[131] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GetTopicRewardNonceResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GetTopicRewardNonceResponse) ProtoMessage() {} + +// Deprecated: Use GetTopicRewardNonceResponse.ProtoReflect.Descriptor instead. +func (*GetTopicRewardNonceResponse) Descriptor() ([]byte, []int) { + return file_emissions_v8_query_proto_rawDescGZIP(), []int{131} +} + +func (x *GetTopicRewardNonceResponse) GetNonce() int64 { + if x != nil { + return x.Nonce + } + return 0 +} + +type GetReputerLossBundlesAtBlockRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + TopicId uint64 `protobuf:"varint,1,opt,name=topic_id,json=topicId,proto3" json:"topic_id,omitempty"` + BlockHeight int64 `protobuf:"varint,2,opt,name=block_height,json=blockHeight,proto3" json:"block_height,omitempty"` +} + +func (x *GetReputerLossBundlesAtBlockRequest) Reset() { + *x = GetReputerLossBundlesAtBlockRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_emissions_v8_query_proto_msgTypes[132] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GetReputerLossBundlesAtBlockRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GetReputerLossBundlesAtBlockRequest) ProtoMessage() {} + +// Deprecated: Use GetReputerLossBundlesAtBlockRequest.ProtoReflect.Descriptor instead. +func (*GetReputerLossBundlesAtBlockRequest) Descriptor() ([]byte, []int) { + return file_emissions_v8_query_proto_rawDescGZIP(), []int{132} +} + +func (x *GetReputerLossBundlesAtBlockRequest) GetTopicId() uint64 { + if x != nil { + return x.TopicId + } + return 0 +} + +func (x *GetReputerLossBundlesAtBlockRequest) GetBlockHeight() int64 { + if x != nil { + return x.BlockHeight + } + return 0 +} + +type GetReputerLossBundlesAtBlockResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + LossBundles *v3.ReputerValueBundles `protobuf:"bytes,1,opt,name=loss_bundles,json=lossBundles,proto3" json:"loss_bundles,omitempty"` +} + +func (x *GetReputerLossBundlesAtBlockResponse) Reset() { + *x = GetReputerLossBundlesAtBlockResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_emissions_v8_query_proto_msgTypes[133] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GetReputerLossBundlesAtBlockResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GetReputerLossBundlesAtBlockResponse) ProtoMessage() {} + +// Deprecated: Use GetReputerLossBundlesAtBlockResponse.ProtoReflect.Descriptor instead. +func (*GetReputerLossBundlesAtBlockResponse) Descriptor() ([]byte, []int) { + return file_emissions_v8_query_proto_rawDescGZIP(), []int{133} +} + +func (x *GetReputerLossBundlesAtBlockResponse) GetLossBundles() *v3.ReputerValueBundles { + if x != nil { + return x.LossBundles + } + return nil +} + +type GetStakeReputerAuthorityRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + TopicId uint64 `protobuf:"varint,1,opt,name=topic_id,json=topicId,proto3" json:"topic_id,omitempty"` + Reputer string `protobuf:"bytes,2,opt,name=reputer,proto3" json:"reputer,omitempty"` +} + +func (x *GetStakeReputerAuthorityRequest) Reset() { + *x = GetStakeReputerAuthorityRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_emissions_v8_query_proto_msgTypes[134] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GetStakeReputerAuthorityRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GetStakeReputerAuthorityRequest) ProtoMessage() {} + +// Deprecated: Use GetStakeReputerAuthorityRequest.ProtoReflect.Descriptor instead. +func (*GetStakeReputerAuthorityRequest) Descriptor() ([]byte, []int) { + return file_emissions_v8_query_proto_rawDescGZIP(), []int{134} +} + +func (x *GetStakeReputerAuthorityRequest) GetTopicId() uint64 { + if x != nil { + return x.TopicId + } + return 0 +} + +func (x *GetStakeReputerAuthorityRequest) GetReputer() string { + if x != nil { + return x.Reputer + } + return "" +} + +type GetStakeReputerAuthorityResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Authority string `protobuf:"bytes,1,opt,name=authority,proto3" json:"authority,omitempty"` +} + +func (x *GetStakeReputerAuthorityResponse) Reset() { + *x = GetStakeReputerAuthorityResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_emissions_v8_query_proto_msgTypes[135] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GetStakeReputerAuthorityResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GetStakeReputerAuthorityResponse) ProtoMessage() {} + +// Deprecated: Use GetStakeReputerAuthorityResponse.ProtoReflect.Descriptor instead. +func (*GetStakeReputerAuthorityResponse) Descriptor() ([]byte, []int) { + return file_emissions_v8_query_proto_rawDescGZIP(), []int{135} +} + +func (x *GetStakeReputerAuthorityResponse) GetAuthority() string { + if x != nil { + return x.Authority + } + return "" +} + +type GetDelegateStakePlacementRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + TopicId uint64 `protobuf:"varint,1,opt,name=topic_id,json=topicId,proto3" json:"topic_id,omitempty"` + Delegator string `protobuf:"bytes,2,opt,name=delegator,proto3" json:"delegator,omitempty"` + Target string `protobuf:"bytes,3,opt,name=target,proto3" json:"target,omitempty"` +} + +func (x *GetDelegateStakePlacementRequest) Reset() { + *x = GetDelegateStakePlacementRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_emissions_v8_query_proto_msgTypes[136] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GetDelegateStakePlacementRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GetDelegateStakePlacementRequest) ProtoMessage() {} + +// Deprecated: Use GetDelegateStakePlacementRequest.ProtoReflect.Descriptor instead. +func (*GetDelegateStakePlacementRequest) Descriptor() ([]byte, []int) { + return file_emissions_v8_query_proto_rawDescGZIP(), []int{136} +} + +func (x *GetDelegateStakePlacementRequest) GetTopicId() uint64 { + if x != nil { + return x.TopicId + } + return 0 +} + +func (x *GetDelegateStakePlacementRequest) GetDelegator() string { + if x != nil { + return x.Delegator + } + return "" +} + +func (x *GetDelegateStakePlacementRequest) GetTarget() string { + if x != nil { + return x.Target + } + return "" +} + +type GetDelegateStakePlacementResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + DelegatorInfo *v3.DelegatorInfo `protobuf:"bytes,1,opt,name=delegator_info,json=delegatorInfo,proto3" json:"delegator_info,omitempty"` +} + +func (x *GetDelegateStakePlacementResponse) Reset() { + *x = GetDelegateStakePlacementResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_emissions_v8_query_proto_msgTypes[137] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GetDelegateStakePlacementResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GetDelegateStakePlacementResponse) ProtoMessage() {} + +// Deprecated: Use GetDelegateStakePlacementResponse.ProtoReflect.Descriptor instead. +func (*GetDelegateStakePlacementResponse) Descriptor() ([]byte, []int) { + return file_emissions_v8_query_proto_rawDescGZIP(), []int{137} +} + +func (x *GetDelegateStakePlacementResponse) GetDelegatorInfo() *v3.DelegatorInfo { + if x != nil { + return x.DelegatorInfo + } + return nil +} + +type GetDelegateStakeUponReputerRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + TopicId uint64 `protobuf:"varint,1,opt,name=topic_id,json=topicId,proto3" json:"topic_id,omitempty"` + Target string `protobuf:"bytes,2,opt,name=target,proto3" json:"target,omitempty"` +} + +func (x *GetDelegateStakeUponReputerRequest) Reset() { + *x = GetDelegateStakeUponReputerRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_emissions_v8_query_proto_msgTypes[138] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GetDelegateStakeUponReputerRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GetDelegateStakeUponReputerRequest) ProtoMessage() {} + +// Deprecated: Use GetDelegateStakeUponReputerRequest.ProtoReflect.Descriptor instead. +func (*GetDelegateStakeUponReputerRequest) Descriptor() ([]byte, []int) { + return file_emissions_v8_query_proto_rawDescGZIP(), []int{138} +} + +func (x *GetDelegateStakeUponReputerRequest) GetTopicId() uint64 { + if x != nil { + return x.TopicId + } + return 0 +} + +func (x *GetDelegateStakeUponReputerRequest) GetTarget() string { + if x != nil { + return x.Target + } + return "" +} + +type GetDelegateStakeUponReputerResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Stake string `protobuf:"bytes,1,opt,name=stake,proto3" json:"stake,omitempty"` +} + +func (x *GetDelegateStakeUponReputerResponse) Reset() { + *x = GetDelegateStakeUponReputerResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_emissions_v8_query_proto_msgTypes[139] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GetDelegateStakeUponReputerResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GetDelegateStakeUponReputerResponse) ProtoMessage() {} + +// Deprecated: Use GetDelegateStakeUponReputerResponse.ProtoReflect.Descriptor instead. +func (*GetDelegateStakeUponReputerResponse) Descriptor() ([]byte, []int) { + return file_emissions_v8_query_proto_rawDescGZIP(), []int{139} +} + +func (x *GetDelegateStakeUponReputerResponse) GetStake() string { + if x != nil { + return x.Stake + } + return "" +} + +type GetDelegateRewardPerShareRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + TopicId uint64 `protobuf:"varint,1,opt,name=topic_id,json=topicId,proto3" json:"topic_id,omitempty"` + Reputer string `protobuf:"bytes,2,opt,name=reputer,proto3" json:"reputer,omitempty"` +} + +func (x *GetDelegateRewardPerShareRequest) Reset() { + *x = GetDelegateRewardPerShareRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_emissions_v8_query_proto_msgTypes[140] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GetDelegateRewardPerShareRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GetDelegateRewardPerShareRequest) ProtoMessage() {} + +// Deprecated: Use GetDelegateRewardPerShareRequest.ProtoReflect.Descriptor instead. +func (*GetDelegateRewardPerShareRequest) Descriptor() ([]byte, []int) { + return file_emissions_v8_query_proto_rawDescGZIP(), []int{140} +} + +func (x *GetDelegateRewardPerShareRequest) GetTopicId() uint64 { + if x != nil { + return x.TopicId + } + return 0 +} + +func (x *GetDelegateRewardPerShareRequest) GetReputer() string { + if x != nil { + return x.Reputer + } + return "" +} + +type GetDelegateRewardPerShareResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + RewardPerShare string `protobuf:"bytes,1,opt,name=reward_per_share,json=rewardPerShare,proto3" json:"reward_per_share,omitempty"` +} + +func (x *GetDelegateRewardPerShareResponse) Reset() { + *x = GetDelegateRewardPerShareResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_emissions_v8_query_proto_msgTypes[141] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GetDelegateRewardPerShareResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GetDelegateRewardPerShareResponse) ProtoMessage() {} + +// Deprecated: Use GetDelegateRewardPerShareResponse.ProtoReflect.Descriptor instead. +func (*GetDelegateRewardPerShareResponse) Descriptor() ([]byte, []int) { + return file_emissions_v8_query_proto_rawDescGZIP(), []int{141} +} + +func (x *GetDelegateRewardPerShareResponse) GetRewardPerShare() string { + if x != nil { + return x.RewardPerShare + } + return "" +} + +type GetStakeRemovalForReputerAndTopicIdRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Reputer string `protobuf:"bytes,1,opt,name=reputer,proto3" json:"reputer,omitempty"` + TopicId uint64 `protobuf:"varint,2,opt,name=topic_id,json=topicId,proto3" json:"topic_id,omitempty"` +} + +func (x *GetStakeRemovalForReputerAndTopicIdRequest) Reset() { + *x = GetStakeRemovalForReputerAndTopicIdRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_emissions_v8_query_proto_msgTypes[142] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GetStakeRemovalForReputerAndTopicIdRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GetStakeRemovalForReputerAndTopicIdRequest) ProtoMessage() {} + +// Deprecated: Use GetStakeRemovalForReputerAndTopicIdRequest.ProtoReflect.Descriptor instead. +func (*GetStakeRemovalForReputerAndTopicIdRequest) Descriptor() ([]byte, []int) { + return file_emissions_v8_query_proto_rawDescGZIP(), []int{142} +} + +func (x *GetStakeRemovalForReputerAndTopicIdRequest) GetReputer() string { + if x != nil { + return x.Reputer + } + return "" +} + +func (x *GetStakeRemovalForReputerAndTopicIdRequest) GetTopicId() uint64 { + if x != nil { + return x.TopicId + } + return 0 +} + +type GetStakeRemovalForReputerAndTopicIdResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + StakeRemovalInfo *v3.StakeRemovalInfo `protobuf:"bytes,1,opt,name=stake_removal_info,json=stakeRemovalInfo,proto3" json:"stake_removal_info,omitempty"` +} + +func (x *GetStakeRemovalForReputerAndTopicIdResponse) Reset() { + *x = GetStakeRemovalForReputerAndTopicIdResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_emissions_v8_query_proto_msgTypes[143] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GetStakeRemovalForReputerAndTopicIdResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GetStakeRemovalForReputerAndTopicIdResponse) ProtoMessage() {} + +// Deprecated: Use GetStakeRemovalForReputerAndTopicIdResponse.ProtoReflect.Descriptor instead. +func (*GetStakeRemovalForReputerAndTopicIdResponse) Descriptor() ([]byte, []int) { + return file_emissions_v8_query_proto_rawDescGZIP(), []int{143} +} + +func (x *GetStakeRemovalForReputerAndTopicIdResponse) GetStakeRemovalInfo() *v3.StakeRemovalInfo { + if x != nil { + return x.StakeRemovalInfo + } + return nil +} + +type GetDelegateStakeRemovalRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + BlockHeight int64 `protobuf:"varint,1,opt,name=block_height,json=blockHeight,proto3" json:"block_height,omitempty"` + TopicId uint64 `protobuf:"varint,2,opt,name=topic_id,json=topicId,proto3" json:"topic_id,omitempty"` + Delegator string `protobuf:"bytes,3,opt,name=delegator,proto3" json:"delegator,omitempty"` + Reputer string `protobuf:"bytes,4,opt,name=reputer,proto3" json:"reputer,omitempty"` +} + +func (x *GetDelegateStakeRemovalRequest) Reset() { + *x = GetDelegateStakeRemovalRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_emissions_v8_query_proto_msgTypes[144] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GetDelegateStakeRemovalRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GetDelegateStakeRemovalRequest) ProtoMessage() {} + +// Deprecated: Use GetDelegateStakeRemovalRequest.ProtoReflect.Descriptor instead. +func (*GetDelegateStakeRemovalRequest) Descriptor() ([]byte, []int) { + return file_emissions_v8_query_proto_rawDescGZIP(), []int{144} +} + +func (x *GetDelegateStakeRemovalRequest) GetBlockHeight() int64 { + if x != nil { + return x.BlockHeight + } + return 0 +} + +func (x *GetDelegateStakeRemovalRequest) GetTopicId() uint64 { + if x != nil { + return x.TopicId + } + return 0 +} + +func (x *GetDelegateStakeRemovalRequest) GetDelegator() string { + if x != nil { + return x.Delegator + } + return "" +} + +func (x *GetDelegateStakeRemovalRequest) GetReputer() string { + if x != nil { + return x.Reputer + } + return "" +} + +type GetDelegateStakeRemovalResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + StakeRemovalInfo *v3.DelegateStakeRemovalInfo `protobuf:"bytes,1,opt,name=stake_removal_info,json=stakeRemovalInfo,proto3" json:"stake_removal_info,omitempty"` +} + +func (x *GetDelegateStakeRemovalResponse) Reset() { + *x = GetDelegateStakeRemovalResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_emissions_v8_query_proto_msgTypes[145] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GetDelegateStakeRemovalResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GetDelegateStakeRemovalResponse) ProtoMessage() {} + +// Deprecated: Use GetDelegateStakeRemovalResponse.ProtoReflect.Descriptor instead. +func (*GetDelegateStakeRemovalResponse) Descriptor() ([]byte, []int) { + return file_emissions_v8_query_proto_rawDescGZIP(), []int{145} +} + +func (x *GetDelegateStakeRemovalResponse) GetStakeRemovalInfo() *v3.DelegateStakeRemovalInfo { + if x != nil { + return x.StakeRemovalInfo + } + return nil +} + +type GetPreviousTopicWeightRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + TopicId uint64 `protobuf:"varint,1,opt,name=topic_id,json=topicId,proto3" json:"topic_id,omitempty"` +} + +func (x *GetPreviousTopicWeightRequest) Reset() { + *x = GetPreviousTopicWeightRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_emissions_v8_query_proto_msgTypes[146] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GetPreviousTopicWeightRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GetPreviousTopicWeightRequest) ProtoMessage() {} + +// Deprecated: Use GetPreviousTopicWeightRequest.ProtoReflect.Descriptor instead. +func (*GetPreviousTopicWeightRequest) Descriptor() ([]byte, []int) { + return file_emissions_v8_query_proto_rawDescGZIP(), []int{146} +} + +func (x *GetPreviousTopicWeightRequest) GetTopicId() uint64 { + if x != nil { + return x.TopicId + } + return 0 +} + +type GetPreviousTopicWeightResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Weight string `protobuf:"bytes,1,opt,name=weight,proto3" json:"weight,omitempty"` + NotFound bool `protobuf:"varint,2,opt,name=not_found,json=notFound,proto3" json:"not_found,omitempty"` +} + +func (x *GetPreviousTopicWeightResponse) Reset() { + *x = GetPreviousTopicWeightResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_emissions_v8_query_proto_msgTypes[147] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GetPreviousTopicWeightResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GetPreviousTopicWeightResponse) ProtoMessage() {} + +// Deprecated: Use GetPreviousTopicWeightResponse.ProtoReflect.Descriptor instead. +func (*GetPreviousTopicWeightResponse) Descriptor() ([]byte, []int) { + return file_emissions_v8_query_proto_rawDescGZIP(), []int{147} +} + +func (x *GetPreviousTopicWeightResponse) GetWeight() string { + if x != nil { + return x.Weight + } + return "" +} + +func (x *GetPreviousTopicWeightResponse) GetNotFound() bool { + if x != nil { + return x.NotFound + } + return false +} + +type GetTotalSumPreviousTopicWeightsRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields +} + +func (x *GetTotalSumPreviousTopicWeightsRequest) Reset() { + *x = GetTotalSumPreviousTopicWeightsRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_emissions_v8_query_proto_msgTypes[148] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GetTotalSumPreviousTopicWeightsRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GetTotalSumPreviousTopicWeightsRequest) ProtoMessage() {} + +// Deprecated: Use GetTotalSumPreviousTopicWeightsRequest.ProtoReflect.Descriptor instead. +func (*GetTotalSumPreviousTopicWeightsRequest) Descriptor() ([]byte, []int) { + return file_emissions_v8_query_proto_rawDescGZIP(), []int{148} +} + +type GetTotalSumPreviousTopicWeightsResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Weight string `protobuf:"bytes,1,opt,name=weight,proto3" json:"weight,omitempty"` +} + +func (x *GetTotalSumPreviousTopicWeightsResponse) Reset() { + *x = GetTotalSumPreviousTopicWeightsResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_emissions_v8_query_proto_msgTypes[149] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GetTotalSumPreviousTopicWeightsResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GetTotalSumPreviousTopicWeightsResponse) ProtoMessage() {} + +// Deprecated: Use GetTotalSumPreviousTopicWeightsResponse.ProtoReflect.Descriptor instead. +func (*GetTotalSumPreviousTopicWeightsResponse) Descriptor() ([]byte, []int) { + return file_emissions_v8_query_proto_rawDescGZIP(), []int{149} +} + +func (x *GetTotalSumPreviousTopicWeightsResponse) GetWeight() string { + if x != nil { + return x.Weight + } + return "" +} + +type TopicExistsRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + TopicId uint64 `protobuf:"varint,1,opt,name=topic_id,json=topicId,proto3" json:"topic_id,omitempty"` +} + +func (x *TopicExistsRequest) Reset() { + *x = TopicExistsRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_emissions_v8_query_proto_msgTypes[150] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *TopicExistsRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*TopicExistsRequest) ProtoMessage() {} + +// Deprecated: Use TopicExistsRequest.ProtoReflect.Descriptor instead. +func (*TopicExistsRequest) Descriptor() ([]byte, []int) { + return file_emissions_v8_query_proto_rawDescGZIP(), []int{150} +} + +func (x *TopicExistsRequest) GetTopicId() uint64 { + if x != nil { + return x.TopicId + } + return 0 +} + +type TopicExistsResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Exists bool `protobuf:"varint,1,opt,name=exists,proto3" json:"exists,omitempty"` +} + +func (x *TopicExistsResponse) Reset() { + *x = TopicExistsResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_emissions_v8_query_proto_msgTypes[151] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *TopicExistsResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*TopicExistsResponse) ProtoMessage() {} + +// Deprecated: Use TopicExistsResponse.ProtoReflect.Descriptor instead. +func (*TopicExistsResponse) Descriptor() ([]byte, []int) { + return file_emissions_v8_query_proto_rawDescGZIP(), []int{151} +} + +func (x *TopicExistsResponse) GetExists() bool { + if x != nil { + return x.Exists + } + return false +} + +type IsTopicActiveRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + TopicId uint64 `protobuf:"varint,1,opt,name=topic_id,json=topicId,proto3" json:"topic_id,omitempty"` +} + +func (x *IsTopicActiveRequest) Reset() { + *x = IsTopicActiveRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_emissions_v8_query_proto_msgTypes[152] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *IsTopicActiveRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*IsTopicActiveRequest) ProtoMessage() {} + +// Deprecated: Use IsTopicActiveRequest.ProtoReflect.Descriptor instead. +func (*IsTopicActiveRequest) Descriptor() ([]byte, []int) { + return file_emissions_v8_query_proto_rawDescGZIP(), []int{152} +} + +func (x *IsTopicActiveRequest) GetTopicId() uint64 { + if x != nil { + return x.TopicId + } + return 0 +} + +type IsTopicActiveResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + IsActive bool `protobuf:"varint,1,opt,name=is_active,json=isActive,proto3" json:"is_active,omitempty"` +} + +func (x *IsTopicActiveResponse) Reset() { + *x = IsTopicActiveResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_emissions_v8_query_proto_msgTypes[153] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *IsTopicActiveResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*IsTopicActiveResponse) ProtoMessage() {} + +// Deprecated: Use IsTopicActiveResponse.ProtoReflect.Descriptor instead. +func (*IsTopicActiveResponse) Descriptor() ([]byte, []int) { + return file_emissions_v8_query_proto_rawDescGZIP(), []int{153} +} + +func (x *IsTopicActiveResponse) GetIsActive() bool { + if x != nil { + return x.IsActive + } + return false +} + +type GetTopicFeeRevenueRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + TopicId uint64 `protobuf:"varint,1,opt,name=topic_id,json=topicId,proto3" json:"topic_id,omitempty"` +} + +func (x *GetTopicFeeRevenueRequest) Reset() { + *x = GetTopicFeeRevenueRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_emissions_v8_query_proto_msgTypes[154] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GetTopicFeeRevenueRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GetTopicFeeRevenueRequest) ProtoMessage() {} + +// Deprecated: Use GetTopicFeeRevenueRequest.ProtoReflect.Descriptor instead. +func (*GetTopicFeeRevenueRequest) Descriptor() ([]byte, []int) { + return file_emissions_v8_query_proto_rawDescGZIP(), []int{154} +} + +func (x *GetTopicFeeRevenueRequest) GetTopicId() uint64 { + if x != nil { + return x.TopicId + } + return 0 +} + +type GetTopicFeeRevenueResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + FeeRevenue string `protobuf:"bytes,1,opt,name=fee_revenue,json=feeRevenue,proto3" json:"fee_revenue,omitempty"` +} + +func (x *GetTopicFeeRevenueResponse) Reset() { + *x = GetTopicFeeRevenueResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_emissions_v8_query_proto_msgTypes[155] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GetTopicFeeRevenueResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GetTopicFeeRevenueResponse) ProtoMessage() {} + +// Deprecated: Use GetTopicFeeRevenueResponse.ProtoReflect.Descriptor instead. +func (*GetTopicFeeRevenueResponse) Descriptor() ([]byte, []int) { + return file_emissions_v8_query_proto_rawDescGZIP(), []int{155} +} + +func (x *GetTopicFeeRevenueResponse) GetFeeRevenue() string { + if x != nil { + return x.FeeRevenue + } + return "" +} + +type GetInfererScoreEmaRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + TopicId uint64 `protobuf:"varint,1,opt,name=topic_id,json=topicId,proto3" json:"topic_id,omitempty"` + Inferer string `protobuf:"bytes,2,opt,name=inferer,proto3" json:"inferer,omitempty"` +} + +func (x *GetInfererScoreEmaRequest) Reset() { + *x = GetInfererScoreEmaRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_emissions_v8_query_proto_msgTypes[156] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GetInfererScoreEmaRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GetInfererScoreEmaRequest) ProtoMessage() {} + +// Deprecated: Use GetInfererScoreEmaRequest.ProtoReflect.Descriptor instead. +func (*GetInfererScoreEmaRequest) Descriptor() ([]byte, []int) { + return file_emissions_v8_query_proto_rawDescGZIP(), []int{156} +} + +func (x *GetInfererScoreEmaRequest) GetTopicId() uint64 { + if x != nil { + return x.TopicId + } + return 0 +} + +func (x *GetInfererScoreEmaRequest) GetInferer() string { + if x != nil { + return x.Inferer + } + return "" +} + +type GetInfererScoreEmaResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Score *v3.Score `protobuf:"bytes,1,opt,name=score,proto3" json:"score,omitempty"` +} + +func (x *GetInfererScoreEmaResponse) Reset() { + *x = GetInfererScoreEmaResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_emissions_v8_query_proto_msgTypes[157] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GetInfererScoreEmaResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GetInfererScoreEmaResponse) ProtoMessage() {} + +// Deprecated: Use GetInfererScoreEmaResponse.ProtoReflect.Descriptor instead. +func (*GetInfererScoreEmaResponse) Descriptor() ([]byte, []int) { + return file_emissions_v8_query_proto_rawDescGZIP(), []int{157} +} + +func (x *GetInfererScoreEmaResponse) GetScore() *v3.Score { + if x != nil { + return x.Score + } + return nil +} + +type GetForecasterScoreEmaRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + TopicId uint64 `protobuf:"varint,1,opt,name=topic_id,json=topicId,proto3" json:"topic_id,omitempty"` + Forecaster string `protobuf:"bytes,2,opt,name=forecaster,proto3" json:"forecaster,omitempty"` +} + +func (x *GetForecasterScoreEmaRequest) Reset() { + *x = GetForecasterScoreEmaRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_emissions_v8_query_proto_msgTypes[158] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GetForecasterScoreEmaRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GetForecasterScoreEmaRequest) ProtoMessage() {} + +// Deprecated: Use GetForecasterScoreEmaRequest.ProtoReflect.Descriptor instead. +func (*GetForecasterScoreEmaRequest) Descriptor() ([]byte, []int) { + return file_emissions_v8_query_proto_rawDescGZIP(), []int{158} +} + +func (x *GetForecasterScoreEmaRequest) GetTopicId() uint64 { + if x != nil { + return x.TopicId + } + return 0 +} + +func (x *GetForecasterScoreEmaRequest) GetForecaster() string { + if x != nil { + return x.Forecaster + } + return "" +} + +type GetForecasterScoreEmaResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Score *v3.Score `protobuf:"bytes,1,opt,name=score,proto3" json:"score,omitempty"` +} + +func (x *GetForecasterScoreEmaResponse) Reset() { + *x = GetForecasterScoreEmaResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_emissions_v8_query_proto_msgTypes[159] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GetForecasterScoreEmaResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GetForecasterScoreEmaResponse) ProtoMessage() {} + +// Deprecated: Use GetForecasterScoreEmaResponse.ProtoReflect.Descriptor instead. +func (*GetForecasterScoreEmaResponse) Descriptor() ([]byte, []int) { + return file_emissions_v8_query_proto_rawDescGZIP(), []int{159} +} + +func (x *GetForecasterScoreEmaResponse) GetScore() *v3.Score { + if x != nil { + return x.Score + } + return nil +} + +type GetReputerScoreEmaRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + TopicId uint64 `protobuf:"varint,1,opt,name=topic_id,json=topicId,proto3" json:"topic_id,omitempty"` + Reputer string `protobuf:"bytes,2,opt,name=reputer,proto3" json:"reputer,omitempty"` +} + +func (x *GetReputerScoreEmaRequest) Reset() { + *x = GetReputerScoreEmaRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_emissions_v8_query_proto_msgTypes[160] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GetReputerScoreEmaRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GetReputerScoreEmaRequest) ProtoMessage() {} + +// Deprecated: Use GetReputerScoreEmaRequest.ProtoReflect.Descriptor instead. +func (*GetReputerScoreEmaRequest) Descriptor() ([]byte, []int) { + return file_emissions_v8_query_proto_rawDescGZIP(), []int{160} +} + +func (x *GetReputerScoreEmaRequest) GetTopicId() uint64 { + if x != nil { + return x.TopicId + } + return 0 +} + +func (x *GetReputerScoreEmaRequest) GetReputer() string { + if x != nil { + return x.Reputer + } + return "" +} + +type GetReputerScoreEmaResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Score *v3.Score `protobuf:"bytes,1,opt,name=score,proto3" json:"score,omitempty"` +} + +func (x *GetReputerScoreEmaResponse) Reset() { + *x = GetReputerScoreEmaResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_emissions_v8_query_proto_msgTypes[161] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GetReputerScoreEmaResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GetReputerScoreEmaResponse) ProtoMessage() {} + +// Deprecated: Use GetReputerScoreEmaResponse.ProtoReflect.Descriptor instead. +func (*GetReputerScoreEmaResponse) Descriptor() ([]byte, []int) { + return file_emissions_v8_query_proto_rawDescGZIP(), []int{161} +} + +func (x *GetReputerScoreEmaResponse) GetScore() *v3.Score { + if x != nil { + return x.Score + } + return nil +} + +type GetInferenceScoresUntilBlockRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + TopicId uint64 `protobuf:"varint,1,opt,name=topic_id,json=topicId,proto3" json:"topic_id,omitempty"` + BlockHeight int64 `protobuf:"varint,2,opt,name=block_height,json=blockHeight,proto3" json:"block_height,omitempty"` +} + +func (x *GetInferenceScoresUntilBlockRequest) Reset() { + *x = GetInferenceScoresUntilBlockRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_emissions_v8_query_proto_msgTypes[162] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GetInferenceScoresUntilBlockRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GetInferenceScoresUntilBlockRequest) ProtoMessage() {} + +// Deprecated: Use GetInferenceScoresUntilBlockRequest.ProtoReflect.Descriptor instead. +func (*GetInferenceScoresUntilBlockRequest) Descriptor() ([]byte, []int) { + return file_emissions_v8_query_proto_rawDescGZIP(), []int{162} +} + +func (x *GetInferenceScoresUntilBlockRequest) GetTopicId() uint64 { + if x != nil { + return x.TopicId + } + return 0 +} + +func (x *GetInferenceScoresUntilBlockRequest) GetBlockHeight() int64 { + if x != nil { + return x.BlockHeight + } + return 0 +} + +type GetInferenceScoresUntilBlockResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Scores []*v3.Score `protobuf:"bytes,1,rep,name=scores,proto3" json:"scores,omitempty"` +} + +func (x *GetInferenceScoresUntilBlockResponse) Reset() { + *x = GetInferenceScoresUntilBlockResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_emissions_v8_query_proto_msgTypes[163] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GetInferenceScoresUntilBlockResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GetInferenceScoresUntilBlockResponse) ProtoMessage() {} + +// Deprecated: Use GetInferenceScoresUntilBlockResponse.ProtoReflect.Descriptor instead. +func (*GetInferenceScoresUntilBlockResponse) Descriptor() ([]byte, []int) { + return file_emissions_v8_query_proto_rawDescGZIP(), []int{163} +} + +func (x *GetInferenceScoresUntilBlockResponse) GetScores() []*v3.Score { + if x != nil { + return x.Scores + } + return nil +} + +type GetPreviousTopicQuantileForecasterScoreEmaRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + TopicId uint64 `protobuf:"varint,1,opt,name=topic_id,json=topicId,proto3" json:"topic_id,omitempty"` +} + +func (x *GetPreviousTopicQuantileForecasterScoreEmaRequest) Reset() { + *x = GetPreviousTopicQuantileForecasterScoreEmaRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_emissions_v8_query_proto_msgTypes[164] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GetPreviousTopicQuantileForecasterScoreEmaRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GetPreviousTopicQuantileForecasterScoreEmaRequest) ProtoMessage() {} + +// Deprecated: Use GetPreviousTopicQuantileForecasterScoreEmaRequest.ProtoReflect.Descriptor instead. +func (*GetPreviousTopicQuantileForecasterScoreEmaRequest) Descriptor() ([]byte, []int) { + return file_emissions_v8_query_proto_rawDescGZIP(), []int{164} +} + +func (x *GetPreviousTopicQuantileForecasterScoreEmaRequest) GetTopicId() uint64 { + if x != nil { + return x.TopicId + } + return 0 +} + +type GetPreviousTopicQuantileForecasterScoreEmaResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Value string `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"` +} + +func (x *GetPreviousTopicQuantileForecasterScoreEmaResponse) Reset() { + *x = GetPreviousTopicQuantileForecasterScoreEmaResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_emissions_v8_query_proto_msgTypes[165] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GetPreviousTopicQuantileForecasterScoreEmaResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GetPreviousTopicQuantileForecasterScoreEmaResponse) ProtoMessage() {} + +// Deprecated: Use GetPreviousTopicQuantileForecasterScoreEmaResponse.ProtoReflect.Descriptor instead. +func (*GetPreviousTopicQuantileForecasterScoreEmaResponse) Descriptor() ([]byte, []int) { + return file_emissions_v8_query_proto_rawDescGZIP(), []int{165} +} + +func (x *GetPreviousTopicQuantileForecasterScoreEmaResponse) GetValue() string { + if x != nil { + return x.Value + } + return "" +} + +type GetPreviousTopicQuantileInfererScoreEmaRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + TopicId uint64 `protobuf:"varint,1,opt,name=topic_id,json=topicId,proto3" json:"topic_id,omitempty"` +} + +func (x *GetPreviousTopicQuantileInfererScoreEmaRequest) Reset() { + *x = GetPreviousTopicQuantileInfererScoreEmaRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_emissions_v8_query_proto_msgTypes[166] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GetPreviousTopicQuantileInfererScoreEmaRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GetPreviousTopicQuantileInfererScoreEmaRequest) ProtoMessage() {} + +// Deprecated: Use GetPreviousTopicQuantileInfererScoreEmaRequest.ProtoReflect.Descriptor instead. +func (*GetPreviousTopicQuantileInfererScoreEmaRequest) Descriptor() ([]byte, []int) { + return file_emissions_v8_query_proto_rawDescGZIP(), []int{166} +} + +func (x *GetPreviousTopicQuantileInfererScoreEmaRequest) GetTopicId() uint64 { + if x != nil { + return x.TopicId + } + return 0 +} + +type GetPreviousTopicQuantileInfererScoreEmaResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Value string `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"` +} + +func (x *GetPreviousTopicQuantileInfererScoreEmaResponse) Reset() { + *x = GetPreviousTopicQuantileInfererScoreEmaResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_emissions_v8_query_proto_msgTypes[167] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GetPreviousTopicQuantileInfererScoreEmaResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GetPreviousTopicQuantileInfererScoreEmaResponse) ProtoMessage() {} + +// Deprecated: Use GetPreviousTopicQuantileInfererScoreEmaResponse.ProtoReflect.Descriptor instead. +func (*GetPreviousTopicQuantileInfererScoreEmaResponse) Descriptor() ([]byte, []int) { + return file_emissions_v8_query_proto_rawDescGZIP(), []int{167} +} + +func (x *GetPreviousTopicQuantileInfererScoreEmaResponse) GetValue() string { + if x != nil { + return x.Value + } + return "" +} + +type GetPreviousTopicQuantileReputerScoreEmaRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + TopicId uint64 `protobuf:"varint,1,opt,name=topic_id,json=topicId,proto3" json:"topic_id,omitempty"` +} + +func (x *GetPreviousTopicQuantileReputerScoreEmaRequest) Reset() { + *x = GetPreviousTopicQuantileReputerScoreEmaRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_emissions_v8_query_proto_msgTypes[168] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GetPreviousTopicQuantileReputerScoreEmaRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GetPreviousTopicQuantileReputerScoreEmaRequest) ProtoMessage() {} + +// Deprecated: Use GetPreviousTopicQuantileReputerScoreEmaRequest.ProtoReflect.Descriptor instead. +func (*GetPreviousTopicQuantileReputerScoreEmaRequest) Descriptor() ([]byte, []int) { + return file_emissions_v8_query_proto_rawDescGZIP(), []int{168} +} + +func (x *GetPreviousTopicQuantileReputerScoreEmaRequest) GetTopicId() uint64 { + if x != nil { + return x.TopicId + } + return 0 +} + +type GetPreviousTopicQuantileReputerScoreEmaResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Value string `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"` +} + +func (x *GetPreviousTopicQuantileReputerScoreEmaResponse) Reset() { + *x = GetPreviousTopicQuantileReputerScoreEmaResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_emissions_v8_query_proto_msgTypes[169] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GetPreviousTopicQuantileReputerScoreEmaResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GetPreviousTopicQuantileReputerScoreEmaResponse) ProtoMessage() {} + +// Deprecated: Use GetPreviousTopicQuantileReputerScoreEmaResponse.ProtoReflect.Descriptor instead. +func (*GetPreviousTopicQuantileReputerScoreEmaResponse) Descriptor() ([]byte, []int) { + return file_emissions_v8_query_proto_rawDescGZIP(), []int{169} +} + +func (x *GetPreviousTopicQuantileReputerScoreEmaResponse) GetValue() string { + if x != nil { + return x.Value + } + return "" +} + +type GetWorkerInferenceScoresAtBlockRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + TopicId uint64 `protobuf:"varint,1,opt,name=topic_id,json=topicId,proto3" json:"topic_id,omitempty"` + BlockHeight int64 `protobuf:"varint,2,opt,name=block_height,json=blockHeight,proto3" json:"block_height,omitempty"` +} + +func (x *GetWorkerInferenceScoresAtBlockRequest) Reset() { + *x = GetWorkerInferenceScoresAtBlockRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_emissions_v8_query_proto_msgTypes[170] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GetWorkerInferenceScoresAtBlockRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GetWorkerInferenceScoresAtBlockRequest) ProtoMessage() {} + +// Deprecated: Use GetWorkerInferenceScoresAtBlockRequest.ProtoReflect.Descriptor instead. +func (*GetWorkerInferenceScoresAtBlockRequest) Descriptor() ([]byte, []int) { + return file_emissions_v8_query_proto_rawDescGZIP(), []int{170} +} + +func (x *GetWorkerInferenceScoresAtBlockRequest) GetTopicId() uint64 { + if x != nil { + return x.TopicId + } + return 0 +} + +func (x *GetWorkerInferenceScoresAtBlockRequest) GetBlockHeight() int64 { + if x != nil { + return x.BlockHeight + } + return 0 +} + +type GetWorkerInferenceScoresAtBlockResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Scores *v3.Scores `protobuf:"bytes,1,opt,name=scores,proto3" json:"scores,omitempty"` +} + +func (x *GetWorkerInferenceScoresAtBlockResponse) Reset() { + *x = GetWorkerInferenceScoresAtBlockResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_emissions_v8_query_proto_msgTypes[171] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GetWorkerInferenceScoresAtBlockResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GetWorkerInferenceScoresAtBlockResponse) ProtoMessage() {} + +// Deprecated: Use GetWorkerInferenceScoresAtBlockResponse.ProtoReflect.Descriptor instead. +func (*GetWorkerInferenceScoresAtBlockResponse) Descriptor() ([]byte, []int) { + return file_emissions_v8_query_proto_rawDescGZIP(), []int{171} +} + +func (x *GetWorkerInferenceScoresAtBlockResponse) GetScores() *v3.Scores { + if x != nil { + return x.Scores + } + return nil +} + +type GetCurrentLowestInfererScoreRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + TopicId uint64 `protobuf:"varint,1,opt,name=topic_id,json=topicId,proto3" json:"topic_id,omitempty"` +} + +func (x *GetCurrentLowestInfererScoreRequest) Reset() { + *x = GetCurrentLowestInfererScoreRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_emissions_v8_query_proto_msgTypes[172] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GetCurrentLowestInfererScoreRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GetCurrentLowestInfererScoreRequest) ProtoMessage() {} + +// Deprecated: Use GetCurrentLowestInfererScoreRequest.ProtoReflect.Descriptor instead. +func (*GetCurrentLowestInfererScoreRequest) Descriptor() ([]byte, []int) { + return file_emissions_v8_query_proto_rawDescGZIP(), []int{172} +} + +func (x *GetCurrentLowestInfererScoreRequest) GetTopicId() uint64 { + if x != nil { + return x.TopicId + } + return 0 +} + +type GetCurrentLowestInfererScoreResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Score *v3.Score `protobuf:"bytes,1,opt,name=score,proto3" json:"score,omitempty"` +} + +func (x *GetCurrentLowestInfererScoreResponse) Reset() { + *x = GetCurrentLowestInfererScoreResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_emissions_v8_query_proto_msgTypes[173] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GetCurrentLowestInfererScoreResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GetCurrentLowestInfererScoreResponse) ProtoMessage() {} + +// Deprecated: Use GetCurrentLowestInfererScoreResponse.ProtoReflect.Descriptor instead. +func (*GetCurrentLowestInfererScoreResponse) Descriptor() ([]byte, []int) { + return file_emissions_v8_query_proto_rawDescGZIP(), []int{173} +} + +func (x *GetCurrentLowestInfererScoreResponse) GetScore() *v3.Score { + if x != nil { + return x.Score + } + return nil +} + +type GetForecastScoresUntilBlockRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + TopicId uint64 `protobuf:"varint,1,opt,name=topic_id,json=topicId,proto3" json:"topic_id,omitempty"` + BlockHeight int64 `protobuf:"varint,2,opt,name=block_height,json=blockHeight,proto3" json:"block_height,omitempty"` +} + +func (x *GetForecastScoresUntilBlockRequest) Reset() { + *x = GetForecastScoresUntilBlockRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_emissions_v8_query_proto_msgTypes[174] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GetForecastScoresUntilBlockRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GetForecastScoresUntilBlockRequest) ProtoMessage() {} + +// Deprecated: Use GetForecastScoresUntilBlockRequest.ProtoReflect.Descriptor instead. +func (*GetForecastScoresUntilBlockRequest) Descriptor() ([]byte, []int) { + return file_emissions_v8_query_proto_rawDescGZIP(), []int{174} +} + +func (x *GetForecastScoresUntilBlockRequest) GetTopicId() uint64 { + if x != nil { + return x.TopicId + } + return 0 +} + +func (x *GetForecastScoresUntilBlockRequest) GetBlockHeight() int64 { + if x != nil { + return x.BlockHeight + } + return 0 +} + +type GetForecastScoresUntilBlockResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Scores []*v3.Score `protobuf:"bytes,1,rep,name=scores,proto3" json:"scores,omitempty"` +} + +func (x *GetForecastScoresUntilBlockResponse) Reset() { + *x = GetForecastScoresUntilBlockResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_emissions_v8_query_proto_msgTypes[175] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GetForecastScoresUntilBlockResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GetForecastScoresUntilBlockResponse) ProtoMessage() {} + +// Deprecated: Use GetForecastScoresUntilBlockResponse.ProtoReflect.Descriptor instead. +func (*GetForecastScoresUntilBlockResponse) Descriptor() ([]byte, []int) { + return file_emissions_v8_query_proto_rawDescGZIP(), []int{175} +} + +func (x *GetForecastScoresUntilBlockResponse) GetScores() []*v3.Score { + if x != nil { + return x.Scores + } + return nil +} + +type GetWorkerForecastScoresAtBlockRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + TopicId uint64 `protobuf:"varint,1,opt,name=topic_id,json=topicId,proto3" json:"topic_id,omitempty"` + BlockHeight int64 `protobuf:"varint,2,opt,name=block_height,json=blockHeight,proto3" json:"block_height,omitempty"` +} + +func (x *GetWorkerForecastScoresAtBlockRequest) Reset() { + *x = GetWorkerForecastScoresAtBlockRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_emissions_v8_query_proto_msgTypes[176] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GetWorkerForecastScoresAtBlockRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GetWorkerForecastScoresAtBlockRequest) ProtoMessage() {} + +// Deprecated: Use GetWorkerForecastScoresAtBlockRequest.ProtoReflect.Descriptor instead. +func (*GetWorkerForecastScoresAtBlockRequest) Descriptor() ([]byte, []int) { + return file_emissions_v8_query_proto_rawDescGZIP(), []int{176} +} + +func (x *GetWorkerForecastScoresAtBlockRequest) GetTopicId() uint64 { + if x != nil { + return x.TopicId + } + return 0 +} + +func (x *GetWorkerForecastScoresAtBlockRequest) GetBlockHeight() int64 { + if x != nil { + return x.BlockHeight + } + return 0 +} + +type GetWorkerForecastScoresAtBlockResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Scores *v3.Scores `protobuf:"bytes,1,opt,name=scores,proto3" json:"scores,omitempty"` +} + +func (x *GetWorkerForecastScoresAtBlockResponse) Reset() { + *x = GetWorkerForecastScoresAtBlockResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_emissions_v8_query_proto_msgTypes[177] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GetWorkerForecastScoresAtBlockResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GetWorkerForecastScoresAtBlockResponse) ProtoMessage() {} + +// Deprecated: Use GetWorkerForecastScoresAtBlockResponse.ProtoReflect.Descriptor instead. +func (*GetWorkerForecastScoresAtBlockResponse) Descriptor() ([]byte, []int) { + return file_emissions_v8_query_proto_rawDescGZIP(), []int{177} +} + +func (x *GetWorkerForecastScoresAtBlockResponse) GetScores() *v3.Scores { + if x != nil { + return x.Scores + } + return nil +} + +type GetCurrentLowestForecasterScoreRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + TopicId uint64 `protobuf:"varint,1,opt,name=topic_id,json=topicId,proto3" json:"topic_id,omitempty"` +} + +func (x *GetCurrentLowestForecasterScoreRequest) Reset() { + *x = GetCurrentLowestForecasterScoreRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_emissions_v8_query_proto_msgTypes[178] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GetCurrentLowestForecasterScoreRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GetCurrentLowestForecasterScoreRequest) ProtoMessage() {} + +// Deprecated: Use GetCurrentLowestForecasterScoreRequest.ProtoReflect.Descriptor instead. +func (*GetCurrentLowestForecasterScoreRequest) Descriptor() ([]byte, []int) { + return file_emissions_v8_query_proto_rawDescGZIP(), []int{178} +} + +func (x *GetCurrentLowestForecasterScoreRequest) GetTopicId() uint64 { + if x != nil { + return x.TopicId + } + return 0 +} + +type GetCurrentLowestForecasterScoreResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Score *v3.Score `protobuf:"bytes,1,opt,name=score,proto3" json:"score,omitempty"` +} + +func (x *GetCurrentLowestForecasterScoreResponse) Reset() { + *x = GetCurrentLowestForecasterScoreResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_emissions_v8_query_proto_msgTypes[179] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GetCurrentLowestForecasterScoreResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GetCurrentLowestForecasterScoreResponse) ProtoMessage() {} + +// Deprecated: Use GetCurrentLowestForecasterScoreResponse.ProtoReflect.Descriptor instead. +func (*GetCurrentLowestForecasterScoreResponse) Descriptor() ([]byte, []int) { + return file_emissions_v8_query_proto_rawDescGZIP(), []int{179} +} + +func (x *GetCurrentLowestForecasterScoreResponse) GetScore() *v3.Score { + if x != nil { + return x.Score + } + return nil +} + +type GetReputersScoresAtBlockRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + TopicId uint64 `protobuf:"varint,1,opt,name=topic_id,json=topicId,proto3" json:"topic_id,omitempty"` + BlockHeight int64 `protobuf:"varint,2,opt,name=block_height,json=blockHeight,proto3" json:"block_height,omitempty"` +} + +func (x *GetReputersScoresAtBlockRequest) Reset() { + *x = GetReputersScoresAtBlockRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_emissions_v8_query_proto_msgTypes[180] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GetReputersScoresAtBlockRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GetReputersScoresAtBlockRequest) ProtoMessage() {} + +// Deprecated: Use GetReputersScoresAtBlockRequest.ProtoReflect.Descriptor instead. +func (*GetReputersScoresAtBlockRequest) Descriptor() ([]byte, []int) { + return file_emissions_v8_query_proto_rawDescGZIP(), []int{180} +} + +func (x *GetReputersScoresAtBlockRequest) GetTopicId() uint64 { + if x != nil { + return x.TopicId + } + return 0 +} + +func (x *GetReputersScoresAtBlockRequest) GetBlockHeight() int64 { + if x != nil { + return x.BlockHeight + } + return 0 +} + +type GetReputersScoresAtBlockResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Scores *v3.Scores `protobuf:"bytes,1,opt,name=scores,proto3" json:"scores,omitempty"` +} + +func (x *GetReputersScoresAtBlockResponse) Reset() { + *x = GetReputersScoresAtBlockResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_emissions_v8_query_proto_msgTypes[181] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GetReputersScoresAtBlockResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GetReputersScoresAtBlockResponse) ProtoMessage() {} + +// Deprecated: Use GetReputersScoresAtBlockResponse.ProtoReflect.Descriptor instead. +func (*GetReputersScoresAtBlockResponse) Descriptor() ([]byte, []int) { + return file_emissions_v8_query_proto_rawDescGZIP(), []int{181} +} + +func (x *GetReputersScoresAtBlockResponse) GetScores() *v3.Scores { + if x != nil { + return x.Scores + } + return nil +} + +type GetCurrentLowestReputerScoreRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + TopicId uint64 `protobuf:"varint,1,opt,name=topic_id,json=topicId,proto3" json:"topic_id,omitempty"` +} + +func (x *GetCurrentLowestReputerScoreRequest) Reset() { + *x = GetCurrentLowestReputerScoreRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_emissions_v8_query_proto_msgTypes[182] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GetCurrentLowestReputerScoreRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GetCurrentLowestReputerScoreRequest) ProtoMessage() {} + +// Deprecated: Use GetCurrentLowestReputerScoreRequest.ProtoReflect.Descriptor instead. +func (*GetCurrentLowestReputerScoreRequest) Descriptor() ([]byte, []int) { + return file_emissions_v8_query_proto_rawDescGZIP(), []int{182} +} + +func (x *GetCurrentLowestReputerScoreRequest) GetTopicId() uint64 { + if x != nil { + return x.TopicId + } + return 0 +} + +type GetCurrentLowestReputerScoreResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Score *v3.Score `protobuf:"bytes,1,opt,name=score,proto3" json:"score,omitempty"` +} + +func (x *GetCurrentLowestReputerScoreResponse) Reset() { + *x = GetCurrentLowestReputerScoreResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_emissions_v8_query_proto_msgTypes[183] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GetCurrentLowestReputerScoreResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GetCurrentLowestReputerScoreResponse) ProtoMessage() {} + +// Deprecated: Use GetCurrentLowestReputerScoreResponse.ProtoReflect.Descriptor instead. +func (*GetCurrentLowestReputerScoreResponse) Descriptor() ([]byte, []int) { + return file_emissions_v8_query_proto_rawDescGZIP(), []int{183} +} + +func (x *GetCurrentLowestReputerScoreResponse) GetScore() *v3.Score { + if x != nil { + return x.Score + } + return nil +} + +type GetListeningCoefficientRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + TopicId uint64 `protobuf:"varint,1,opt,name=topic_id,json=topicId,proto3" json:"topic_id,omitempty"` + Reputer string `protobuf:"bytes,2,opt,name=reputer,proto3" json:"reputer,omitempty"` +} + +func (x *GetListeningCoefficientRequest) Reset() { + *x = GetListeningCoefficientRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_emissions_v8_query_proto_msgTypes[184] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GetListeningCoefficientRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GetListeningCoefficientRequest) ProtoMessage() {} + +// Deprecated: Use GetListeningCoefficientRequest.ProtoReflect.Descriptor instead. +func (*GetListeningCoefficientRequest) Descriptor() ([]byte, []int) { + return file_emissions_v8_query_proto_rawDescGZIP(), []int{184} +} + +func (x *GetListeningCoefficientRequest) GetTopicId() uint64 { + if x != nil { + return x.TopicId + } + return 0 +} + +func (x *GetListeningCoefficientRequest) GetReputer() string { + if x != nil { + return x.Reputer + } + return "" +} + +type GetListeningCoefficientResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + ListeningCoefficient *v3.ListeningCoefficient `protobuf:"bytes,1,opt,name=listening_coefficient,json=listeningCoefficient,proto3" json:"listening_coefficient,omitempty"` +} + +func (x *GetListeningCoefficientResponse) Reset() { + *x = GetListeningCoefficientResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_emissions_v8_query_proto_msgTypes[185] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GetListeningCoefficientResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GetListeningCoefficientResponse) ProtoMessage() {} + +// Deprecated: Use GetListeningCoefficientResponse.ProtoReflect.Descriptor instead. +func (*GetListeningCoefficientResponse) Descriptor() ([]byte, []int) { + return file_emissions_v8_query_proto_rawDescGZIP(), []int{185} +} + +func (x *GetListeningCoefficientResponse) GetListeningCoefficient() *v3.ListeningCoefficient { + if x != nil { + return x.ListeningCoefficient + } + return nil +} + +type GetPreviousReputerRewardFractionRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + TopicId uint64 `protobuf:"varint,1,opt,name=topic_id,json=topicId,proto3" json:"topic_id,omitempty"` + Reputer string `protobuf:"bytes,2,opt,name=reputer,proto3" json:"reputer,omitempty"` +} + +func (x *GetPreviousReputerRewardFractionRequest) Reset() { + *x = GetPreviousReputerRewardFractionRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_emissions_v8_query_proto_msgTypes[186] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GetPreviousReputerRewardFractionRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GetPreviousReputerRewardFractionRequest) ProtoMessage() {} + +// Deprecated: Use GetPreviousReputerRewardFractionRequest.ProtoReflect.Descriptor instead. +func (*GetPreviousReputerRewardFractionRequest) Descriptor() ([]byte, []int) { + return file_emissions_v8_query_proto_rawDescGZIP(), []int{186} +} + +func (x *GetPreviousReputerRewardFractionRequest) GetTopicId() uint64 { + if x != nil { + return x.TopicId + } + return 0 +} + +func (x *GetPreviousReputerRewardFractionRequest) GetReputer() string { + if x != nil { + return x.Reputer + } + return "" +} + +type GetPreviousReputerRewardFractionResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + RewardFraction string `protobuf:"bytes,1,opt,name=reward_fraction,json=rewardFraction,proto3" json:"reward_fraction,omitempty"` + NotFound bool `protobuf:"varint,2,opt,name=not_found,json=notFound,proto3" json:"not_found,omitempty"` +} + +func (x *GetPreviousReputerRewardFractionResponse) Reset() { + *x = GetPreviousReputerRewardFractionResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_emissions_v8_query_proto_msgTypes[187] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GetPreviousReputerRewardFractionResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GetPreviousReputerRewardFractionResponse) ProtoMessage() {} + +// Deprecated: Use GetPreviousReputerRewardFractionResponse.ProtoReflect.Descriptor instead. +func (*GetPreviousReputerRewardFractionResponse) Descriptor() ([]byte, []int) { + return file_emissions_v8_query_proto_rawDescGZIP(), []int{187} +} + +func (x *GetPreviousReputerRewardFractionResponse) GetRewardFraction() string { + if x != nil { + return x.RewardFraction + } + return "" +} + +func (x *GetPreviousReputerRewardFractionResponse) GetNotFound() bool { + if x != nil { + return x.NotFound + } + return false +} + +type GetPreviousInferenceRewardFractionRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + TopicId uint64 `protobuf:"varint,1,opt,name=topic_id,json=topicId,proto3" json:"topic_id,omitempty"` + Worker string `protobuf:"bytes,2,opt,name=worker,proto3" json:"worker,omitempty"` +} + +func (x *GetPreviousInferenceRewardFractionRequest) Reset() { + *x = GetPreviousInferenceRewardFractionRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_emissions_v8_query_proto_msgTypes[188] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GetPreviousInferenceRewardFractionRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GetPreviousInferenceRewardFractionRequest) ProtoMessage() {} + +// Deprecated: Use GetPreviousInferenceRewardFractionRequest.ProtoReflect.Descriptor instead. +func (*GetPreviousInferenceRewardFractionRequest) Descriptor() ([]byte, []int) { + return file_emissions_v8_query_proto_rawDescGZIP(), []int{188} +} + +func (x *GetPreviousInferenceRewardFractionRequest) GetTopicId() uint64 { + if x != nil { + return x.TopicId + } + return 0 +} + +func (x *GetPreviousInferenceRewardFractionRequest) GetWorker() string { + if x != nil { + return x.Worker + } + return "" +} + +type GetPreviousInferenceRewardFractionResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + RewardFraction string `protobuf:"bytes,1,opt,name=reward_fraction,json=rewardFraction,proto3" json:"reward_fraction,omitempty"` + NotFound bool `protobuf:"varint,2,opt,name=not_found,json=notFound,proto3" json:"not_found,omitempty"` +} + +func (x *GetPreviousInferenceRewardFractionResponse) Reset() { + *x = GetPreviousInferenceRewardFractionResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_emissions_v8_query_proto_msgTypes[189] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GetPreviousInferenceRewardFractionResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GetPreviousInferenceRewardFractionResponse) ProtoMessage() {} + +// Deprecated: Use GetPreviousInferenceRewardFractionResponse.ProtoReflect.Descriptor instead. +func (*GetPreviousInferenceRewardFractionResponse) Descriptor() ([]byte, []int) { + return file_emissions_v8_query_proto_rawDescGZIP(), []int{189} +} + +func (x *GetPreviousInferenceRewardFractionResponse) GetRewardFraction() string { + if x != nil { + return x.RewardFraction + } + return "" +} + +func (x *GetPreviousInferenceRewardFractionResponse) GetNotFound() bool { + if x != nil { + return x.NotFound + } + return false +} + +type GetPreviousForecastRewardFractionRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + TopicId uint64 `protobuf:"varint,1,opt,name=topic_id,json=topicId,proto3" json:"topic_id,omitempty"` + Worker string `protobuf:"bytes,2,opt,name=worker,proto3" json:"worker,omitempty"` +} + +func (x *GetPreviousForecastRewardFractionRequest) Reset() { + *x = GetPreviousForecastRewardFractionRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_emissions_v8_query_proto_msgTypes[190] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GetPreviousForecastRewardFractionRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GetPreviousForecastRewardFractionRequest) ProtoMessage() {} + +// Deprecated: Use GetPreviousForecastRewardFractionRequest.ProtoReflect.Descriptor instead. +func (*GetPreviousForecastRewardFractionRequest) Descriptor() ([]byte, []int) { + return file_emissions_v8_query_proto_rawDescGZIP(), []int{190} +} + +func (x *GetPreviousForecastRewardFractionRequest) GetTopicId() uint64 { + if x != nil { + return x.TopicId + } + return 0 +} + +func (x *GetPreviousForecastRewardFractionRequest) GetWorker() string { + if x != nil { + return x.Worker + } + return "" +} + +type GetPreviousForecastRewardFractionResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + RewardFraction string `protobuf:"bytes,1,opt,name=reward_fraction,json=rewardFraction,proto3" json:"reward_fraction,omitempty"` + NotFound bool `protobuf:"varint,2,opt,name=not_found,json=notFound,proto3" json:"not_found,omitempty"` +} + +func (x *GetPreviousForecastRewardFractionResponse) Reset() { + *x = GetPreviousForecastRewardFractionResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_emissions_v8_query_proto_msgTypes[191] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GetPreviousForecastRewardFractionResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GetPreviousForecastRewardFractionResponse) ProtoMessage() {} + +// Deprecated: Use GetPreviousForecastRewardFractionResponse.ProtoReflect.Descriptor instead. +func (*GetPreviousForecastRewardFractionResponse) Descriptor() ([]byte, []int) { + return file_emissions_v8_query_proto_rawDescGZIP(), []int{191} +} + +func (x *GetPreviousForecastRewardFractionResponse) GetRewardFraction() string { + if x != nil { + return x.RewardFraction + } + return "" +} + +func (x *GetPreviousForecastRewardFractionResponse) GetNotFound() bool { + if x != nil { + return x.NotFound + } + return false +} + +type GetPreviousPercentageRewardToStakedReputersRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields +} + +func (x *GetPreviousPercentageRewardToStakedReputersRequest) Reset() { + *x = GetPreviousPercentageRewardToStakedReputersRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_emissions_v8_query_proto_msgTypes[192] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GetPreviousPercentageRewardToStakedReputersRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GetPreviousPercentageRewardToStakedReputersRequest) ProtoMessage() {} + +// Deprecated: Use GetPreviousPercentageRewardToStakedReputersRequest.ProtoReflect.Descriptor instead. +func (*GetPreviousPercentageRewardToStakedReputersRequest) Descriptor() ([]byte, []int) { + return file_emissions_v8_query_proto_rawDescGZIP(), []int{192} +} + +type GetPreviousPercentageRewardToStakedReputersResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + PercentageReward string `protobuf:"bytes,1,opt,name=percentage_reward,json=percentageReward,proto3" json:"percentage_reward,omitempty"` +} + +func (x *GetPreviousPercentageRewardToStakedReputersResponse) Reset() { + *x = GetPreviousPercentageRewardToStakedReputersResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_emissions_v8_query_proto_msgTypes[193] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GetPreviousPercentageRewardToStakedReputersResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GetPreviousPercentageRewardToStakedReputersResponse) ProtoMessage() {} + +// Deprecated: Use GetPreviousPercentageRewardToStakedReputersResponse.ProtoReflect.Descriptor instead. +func (*GetPreviousPercentageRewardToStakedReputersResponse) Descriptor() ([]byte, []int) { + return file_emissions_v8_query_proto_rawDescGZIP(), []int{193} +} + +func (x *GetPreviousPercentageRewardToStakedReputersResponse) GetPercentageReward() string { + if x != nil { + return x.PercentageReward + } + return "" +} + +type GetTotalRewardToDistributeRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields +} + +func (x *GetTotalRewardToDistributeRequest) Reset() { + *x = GetTotalRewardToDistributeRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_emissions_v8_query_proto_msgTypes[194] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GetTotalRewardToDistributeRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GetTotalRewardToDistributeRequest) ProtoMessage() {} + +// Deprecated: Use GetTotalRewardToDistributeRequest.ProtoReflect.Descriptor instead. +func (*GetTotalRewardToDistributeRequest) Descriptor() ([]byte, []int) { + return file_emissions_v8_query_proto_rawDescGZIP(), []int{194} +} + +type GetTotalRewardToDistributeResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + TotalReward string `protobuf:"bytes,1,opt,name=total_reward,json=totalReward,proto3" json:"total_reward,omitempty"` +} + +func (x *GetTotalRewardToDistributeResponse) Reset() { + *x = GetTotalRewardToDistributeResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_emissions_v8_query_proto_msgTypes[195] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GetTotalRewardToDistributeResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GetTotalRewardToDistributeResponse) ProtoMessage() {} + +// Deprecated: Use GetTotalRewardToDistributeResponse.ProtoReflect.Descriptor instead. +func (*GetTotalRewardToDistributeResponse) Descriptor() ([]byte, []int) { + return file_emissions_v8_query_proto_rawDescGZIP(), []int{195} +} + +func (x *GetTotalRewardToDistributeResponse) GetTotalReward() string { + if x != nil { + return x.TotalReward + } + return "" +} + +type GetActiveTopicsAtBlockRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + BlockHeight int64 `protobuf:"varint,1,opt,name=block_height,json=blockHeight,proto3" json:"block_height,omitempty"` +} + +func (x *GetActiveTopicsAtBlockRequest) Reset() { + *x = GetActiveTopicsAtBlockRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_emissions_v8_query_proto_msgTypes[196] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GetActiveTopicsAtBlockRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GetActiveTopicsAtBlockRequest) ProtoMessage() {} + +// Deprecated: Use GetActiveTopicsAtBlockRequest.ProtoReflect.Descriptor instead. +func (*GetActiveTopicsAtBlockRequest) Descriptor() ([]byte, []int) { + return file_emissions_v8_query_proto_rawDescGZIP(), []int{196} +} + +func (x *GetActiveTopicsAtBlockRequest) GetBlockHeight() int64 { + if x != nil { + return x.BlockHeight + } + return 0 +} + +type GetActiveTopicsAtBlockResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Topics []*v3.Topic `protobuf:"bytes,1,rep,name=topics,proto3" json:"topics,omitempty"` + Pagination *v3.SimpleCursorPaginationResponse `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"` +} + +func (x *GetActiveTopicsAtBlockResponse) Reset() { + *x = GetActiveTopicsAtBlockResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_emissions_v8_query_proto_msgTypes[197] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GetActiveTopicsAtBlockResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GetActiveTopicsAtBlockResponse) ProtoMessage() {} + +// Deprecated: Use GetActiveTopicsAtBlockResponse.ProtoReflect.Descriptor instead. +func (*GetActiveTopicsAtBlockResponse) Descriptor() ([]byte, []int) { + return file_emissions_v8_query_proto_rawDescGZIP(), []int{197} +} + +func (x *GetActiveTopicsAtBlockResponse) GetTopics() []*v3.Topic { + if x != nil { + return x.Topics + } + return nil +} + +func (x *GetActiveTopicsAtBlockResponse) GetPagination() *v3.SimpleCursorPaginationResponse { + if x != nil { + return x.Pagination + } + return nil +} + +type GetNextChurningBlockByTopicIdRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + TopicId uint64 `protobuf:"varint,1,opt,name=topic_id,json=topicId,proto3" json:"topic_id,omitempty"` +} + +func (x *GetNextChurningBlockByTopicIdRequest) Reset() { + *x = GetNextChurningBlockByTopicIdRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_emissions_v8_query_proto_msgTypes[198] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GetNextChurningBlockByTopicIdRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GetNextChurningBlockByTopicIdRequest) ProtoMessage() {} + +// Deprecated: Use GetNextChurningBlockByTopicIdRequest.ProtoReflect.Descriptor instead. +func (*GetNextChurningBlockByTopicIdRequest) Descriptor() ([]byte, []int) { + return file_emissions_v8_query_proto_rawDescGZIP(), []int{198} +} + +func (x *GetNextChurningBlockByTopicIdRequest) GetTopicId() uint64 { + if x != nil { + return x.TopicId + } + return 0 +} + +type GetNextChurningBlockByTopicIdResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + BlockHeight int64 `protobuf:"varint,1,opt,name=block_height,json=blockHeight,proto3" json:"block_height,omitempty"` +} + +func (x *GetNextChurningBlockByTopicIdResponse) Reset() { + *x = GetNextChurningBlockByTopicIdResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_emissions_v8_query_proto_msgTypes[199] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GetNextChurningBlockByTopicIdResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GetNextChurningBlockByTopicIdResponse) ProtoMessage() {} + +// Deprecated: Use GetNextChurningBlockByTopicIdResponse.ProtoReflect.Descriptor instead. +func (*GetNextChurningBlockByTopicIdResponse) Descriptor() ([]byte, []int) { + return file_emissions_v8_query_proto_rawDescGZIP(), []int{199} +} + +func (x *GetNextChurningBlockByTopicIdResponse) GetBlockHeight() int64 { + if x != nil { + return x.BlockHeight + } + return 0 +} + +type GetActiveReputersForTopicRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + TopicId uint64 `protobuf:"varint,1,opt,name=topic_id,json=topicId,proto3" json:"topic_id,omitempty"` +} + +func (x *GetActiveReputersForTopicRequest) Reset() { + *x = GetActiveReputersForTopicRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_emissions_v8_query_proto_msgTypes[200] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GetActiveReputersForTopicRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GetActiveReputersForTopicRequest) ProtoMessage() {} + +// Deprecated: Use GetActiveReputersForTopicRequest.ProtoReflect.Descriptor instead. +func (*GetActiveReputersForTopicRequest) Descriptor() ([]byte, []int) { + return file_emissions_v8_query_proto_rawDescGZIP(), []int{200} +} + +func (x *GetActiveReputersForTopicRequest) GetTopicId() uint64 { + if x != nil { + return x.TopicId + } + return 0 +} + +type GetActiveReputersForTopicResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Reputers []string `protobuf:"bytes,1,rep,name=reputers,proto3" json:"reputers,omitempty"` +} + +func (x *GetActiveReputersForTopicResponse) Reset() { + *x = GetActiveReputersForTopicResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_emissions_v8_query_proto_msgTypes[201] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GetActiveReputersForTopicResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GetActiveReputersForTopicResponse) ProtoMessage() {} + +// Deprecated: Use GetActiveReputersForTopicResponse.ProtoReflect.Descriptor instead. +func (*GetActiveReputersForTopicResponse) Descriptor() ([]byte, []int) { + return file_emissions_v8_query_proto_rawDescGZIP(), []int{201} +} + +func (x *GetActiveReputersForTopicResponse) GetReputers() []string { + if x != nil { + return x.Reputers + } + return nil +} + +type GetActiveForecastersForTopicRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + TopicId uint64 `protobuf:"varint,1,opt,name=topic_id,json=topicId,proto3" json:"topic_id,omitempty"` +} + +func (x *GetActiveForecastersForTopicRequest) Reset() { + *x = GetActiveForecastersForTopicRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_emissions_v8_query_proto_msgTypes[202] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GetActiveForecastersForTopicRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GetActiveForecastersForTopicRequest) ProtoMessage() {} + +// Deprecated: Use GetActiveForecastersForTopicRequest.ProtoReflect.Descriptor instead. +func (*GetActiveForecastersForTopicRequest) Descriptor() ([]byte, []int) { + return file_emissions_v8_query_proto_rawDescGZIP(), []int{202} +} + +func (x *GetActiveForecastersForTopicRequest) GetTopicId() uint64 { + if x != nil { + return x.TopicId + } + return 0 +} + +type GetActiveForecastersForTopicResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Forecasters []string `protobuf:"bytes,1,rep,name=forecasters,proto3" json:"forecasters,omitempty"` +} + +func (x *GetActiveForecastersForTopicResponse) Reset() { + *x = GetActiveForecastersForTopicResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_emissions_v8_query_proto_msgTypes[203] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GetActiveForecastersForTopicResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GetActiveForecastersForTopicResponse) ProtoMessage() {} + +// Deprecated: Use GetActiveForecastersForTopicResponse.ProtoReflect.Descriptor instead. +func (*GetActiveForecastersForTopicResponse) Descriptor() ([]byte, []int) { + return file_emissions_v8_query_proto_rawDescGZIP(), []int{203} +} + +func (x *GetActiveForecastersForTopicResponse) GetForecasters() []string { + if x != nil { + return x.Forecasters + } + return nil +} + +type GetActiveInferersForTopicRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + TopicId uint64 `protobuf:"varint,1,opt,name=topic_id,json=topicId,proto3" json:"topic_id,omitempty"` +} + +func (x *GetActiveInferersForTopicRequest) Reset() { + *x = GetActiveInferersForTopicRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_emissions_v8_query_proto_msgTypes[204] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GetActiveInferersForTopicRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GetActiveInferersForTopicRequest) ProtoMessage() {} + +// Deprecated: Use GetActiveInferersForTopicRequest.ProtoReflect.Descriptor instead. +func (*GetActiveInferersForTopicRequest) Descriptor() ([]byte, []int) { + return file_emissions_v8_query_proto_rawDescGZIP(), []int{204} +} + +func (x *GetActiveInferersForTopicRequest) GetTopicId() uint64 { + if x != nil { + return x.TopicId + } + return 0 +} + +type GetActiveInferersForTopicResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Inferers []string `protobuf:"bytes,1,rep,name=inferers,proto3" json:"inferers,omitempty"` +} + +func (x *GetActiveInferersForTopicResponse) Reset() { + *x = GetActiveInferersForTopicResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_emissions_v8_query_proto_msgTypes[205] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GetActiveInferersForTopicResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GetActiveInferersForTopicResponse) ProtoMessage() {} + +// Deprecated: Use GetActiveInferersForTopicResponse.ProtoReflect.Descriptor instead. +func (*GetActiveInferersForTopicResponse) Descriptor() ([]byte, []int) { + return file_emissions_v8_query_proto_rawDescGZIP(), []int{205} +} + +func (x *GetActiveInferersForTopicResponse) GetInferers() []string { + if x != nil { + return x.Inferers + } + return nil +} + +type GetTopicInitialInfererEmaScoreRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + TopicId uint64 `protobuf:"varint,1,opt,name=topic_id,json=topicId,proto3" json:"topic_id,omitempty"` +} + +func (x *GetTopicInitialInfererEmaScoreRequest) Reset() { + *x = GetTopicInitialInfererEmaScoreRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_emissions_v8_query_proto_msgTypes[206] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GetTopicInitialInfererEmaScoreRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GetTopicInitialInfererEmaScoreRequest) ProtoMessage() {} + +// Deprecated: Use GetTopicInitialInfererEmaScoreRequest.ProtoReflect.Descriptor instead. +func (*GetTopicInitialInfererEmaScoreRequest) Descriptor() ([]byte, []int) { + return file_emissions_v8_query_proto_rawDescGZIP(), []int{206} +} + +func (x *GetTopicInitialInfererEmaScoreRequest) GetTopicId() uint64 { + if x != nil { + return x.TopicId + } + return 0 +} + +type GetTopicInitialInfererEmaScoreResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Score string `protobuf:"bytes,1,opt,name=score,proto3" json:"score,omitempty"` +} + +func (x *GetTopicInitialInfererEmaScoreResponse) Reset() { + *x = GetTopicInitialInfererEmaScoreResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_emissions_v8_query_proto_msgTypes[207] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GetTopicInitialInfererEmaScoreResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GetTopicInitialInfererEmaScoreResponse) ProtoMessage() {} + +// Deprecated: Use GetTopicInitialInfererEmaScoreResponse.ProtoReflect.Descriptor instead. +func (*GetTopicInitialInfererEmaScoreResponse) Descriptor() ([]byte, []int) { + return file_emissions_v8_query_proto_rawDescGZIP(), []int{207} +} + +func (x *GetTopicInitialInfererEmaScoreResponse) GetScore() string { + if x != nil { + return x.Score + } + return "" +} + +type GetTopicInitialForecasterEmaScoreRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + TopicId uint64 `protobuf:"varint,1,opt,name=topic_id,json=topicId,proto3" json:"topic_id,omitempty"` +} + +func (x *GetTopicInitialForecasterEmaScoreRequest) Reset() { + *x = GetTopicInitialForecasterEmaScoreRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_emissions_v8_query_proto_msgTypes[208] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GetTopicInitialForecasterEmaScoreRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GetTopicInitialForecasterEmaScoreRequest) ProtoMessage() {} + +// Deprecated: Use GetTopicInitialForecasterEmaScoreRequest.ProtoReflect.Descriptor instead. +func (*GetTopicInitialForecasterEmaScoreRequest) Descriptor() ([]byte, []int) { + return file_emissions_v8_query_proto_rawDescGZIP(), []int{208} +} + +func (x *GetTopicInitialForecasterEmaScoreRequest) GetTopicId() uint64 { + if x != nil { + return x.TopicId + } + return 0 +} + +type GetTopicInitialForecasterEmaScoreResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Score string `protobuf:"bytes,1,opt,name=score,proto3" json:"score,omitempty"` +} + +func (x *GetTopicInitialForecasterEmaScoreResponse) Reset() { + *x = GetTopicInitialForecasterEmaScoreResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_emissions_v8_query_proto_msgTypes[209] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GetTopicInitialForecasterEmaScoreResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GetTopicInitialForecasterEmaScoreResponse) ProtoMessage() {} + +// Deprecated: Use GetTopicInitialForecasterEmaScoreResponse.ProtoReflect.Descriptor instead. +func (*GetTopicInitialForecasterEmaScoreResponse) Descriptor() ([]byte, []int) { + return file_emissions_v8_query_proto_rawDescGZIP(), []int{209} +} + +func (x *GetTopicInitialForecasterEmaScoreResponse) GetScore() string { + if x != nil { + return x.Score + } + return "" +} + +type GetTopicInitialReputerEmaScoreRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + TopicId uint64 `protobuf:"varint,1,opt,name=topic_id,json=topicId,proto3" json:"topic_id,omitempty"` +} + +func (x *GetTopicInitialReputerEmaScoreRequest) Reset() { + *x = GetTopicInitialReputerEmaScoreRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_emissions_v8_query_proto_msgTypes[210] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GetTopicInitialReputerEmaScoreRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GetTopicInitialReputerEmaScoreRequest) ProtoMessage() {} + +// Deprecated: Use GetTopicInitialReputerEmaScoreRequest.ProtoReflect.Descriptor instead. +func (*GetTopicInitialReputerEmaScoreRequest) Descriptor() ([]byte, []int) { + return file_emissions_v8_query_proto_rawDescGZIP(), []int{210} +} + +func (x *GetTopicInitialReputerEmaScoreRequest) GetTopicId() uint64 { + if x != nil { + return x.TopicId + } + return 0 +} + +type GetTopicInitialReputerEmaScoreResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Score string `protobuf:"bytes,1,opt,name=score,proto3" json:"score,omitempty"` +} + +func (x *GetTopicInitialReputerEmaScoreResponse) Reset() { + *x = GetTopicInitialReputerEmaScoreResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_emissions_v8_query_proto_msgTypes[211] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GetTopicInitialReputerEmaScoreResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GetTopicInitialReputerEmaScoreResponse) ProtoMessage() {} + +// Deprecated: Use GetTopicInitialReputerEmaScoreResponse.ProtoReflect.Descriptor instead. +func (*GetTopicInitialReputerEmaScoreResponse) Descriptor() ([]byte, []int) { + return file_emissions_v8_query_proto_rawDescGZIP(), []int{211} +} + +func (x *GetTopicInitialReputerEmaScoreResponse) GetScore() string { + if x != nil { + return x.Score + } + return "" +} + +type GetLatestRegretStdNormRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + TopicId uint64 `protobuf:"varint,1,opt,name=topic_id,json=topicId,proto3" json:"topic_id,omitempty"` +} + +func (x *GetLatestRegretStdNormRequest) Reset() { + *x = GetLatestRegretStdNormRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_emissions_v8_query_proto_msgTypes[212] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GetLatestRegretStdNormRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GetLatestRegretStdNormRequest) ProtoMessage() {} + +// Deprecated: Use GetLatestRegretStdNormRequest.ProtoReflect.Descriptor instead. +func (*GetLatestRegretStdNormRequest) Descriptor() ([]byte, []int) { + return file_emissions_v8_query_proto_rawDescGZIP(), []int{212} +} + +func (x *GetLatestRegretStdNormRequest) GetTopicId() uint64 { + if x != nil { + return x.TopicId + } + return 0 +} + +type GetLatestRegretStdNormResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Value string `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"` +} + +func (x *GetLatestRegretStdNormResponse) Reset() { + *x = GetLatestRegretStdNormResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_emissions_v8_query_proto_msgTypes[213] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GetLatestRegretStdNormResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GetLatestRegretStdNormResponse) ProtoMessage() {} + +// Deprecated: Use GetLatestRegretStdNormResponse.ProtoReflect.Descriptor instead. +func (*GetLatestRegretStdNormResponse) Descriptor() ([]byte, []int) { + return file_emissions_v8_query_proto_rawDescGZIP(), []int{213} +} + +func (x *GetLatestRegretStdNormResponse) GetValue() string { + if x != nil { + return x.Value + } + return "" +} + +type GetLatestInfererWeightRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + TopicId uint64 `protobuf:"varint,1,opt,name=topic_id,json=topicId,proto3" json:"topic_id,omitempty"` + ActorId string `protobuf:"bytes,2,opt,name=actor_id,json=actorId,proto3" json:"actor_id,omitempty"` +} + +func (x *GetLatestInfererWeightRequest) Reset() { + *x = GetLatestInfererWeightRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_emissions_v8_query_proto_msgTypes[214] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GetLatestInfererWeightRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GetLatestInfererWeightRequest) ProtoMessage() {} + +// Deprecated: Use GetLatestInfererWeightRequest.ProtoReflect.Descriptor instead. +func (*GetLatestInfererWeightRequest) Descriptor() ([]byte, []int) { + return file_emissions_v8_query_proto_rawDescGZIP(), []int{214} +} + +func (x *GetLatestInfererWeightRequest) GetTopicId() uint64 { + if x != nil { + return x.TopicId + } + return 0 +} + +func (x *GetLatestInfererWeightRequest) GetActorId() string { + if x != nil { + return x.ActorId + } + return "" +} + +type GetLatestInfererWeightResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Weight string `protobuf:"bytes,1,opt,name=weight,proto3" json:"weight,omitempty"` +} + +func (x *GetLatestInfererWeightResponse) Reset() { + *x = GetLatestInfererWeightResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_emissions_v8_query_proto_msgTypes[215] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GetLatestInfererWeightResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GetLatestInfererWeightResponse) ProtoMessage() {} + +// Deprecated: Use GetLatestInfererWeightResponse.ProtoReflect.Descriptor instead. +func (*GetLatestInfererWeightResponse) Descriptor() ([]byte, []int) { + return file_emissions_v8_query_proto_rawDescGZIP(), []int{215} +} + +func (x *GetLatestInfererWeightResponse) GetWeight() string { + if x != nil { + return x.Weight + } + return "" +} + +type GetLatestForecasterWeightRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + TopicId uint64 `protobuf:"varint,1,opt,name=topic_id,json=topicId,proto3" json:"topic_id,omitempty"` + ActorId string `protobuf:"bytes,2,opt,name=actor_id,json=actorId,proto3" json:"actor_id,omitempty"` +} + +func (x *GetLatestForecasterWeightRequest) Reset() { + *x = GetLatestForecasterWeightRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_emissions_v8_query_proto_msgTypes[216] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GetLatestForecasterWeightRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GetLatestForecasterWeightRequest) ProtoMessage() {} + +// Deprecated: Use GetLatestForecasterWeightRequest.ProtoReflect.Descriptor instead. +func (*GetLatestForecasterWeightRequest) Descriptor() ([]byte, []int) { + return file_emissions_v8_query_proto_rawDescGZIP(), []int{216} +} + +func (x *GetLatestForecasterWeightRequest) GetTopicId() uint64 { + if x != nil { + return x.TopicId + } + return 0 +} + +func (x *GetLatestForecasterWeightRequest) GetActorId() string { + if x != nil { + return x.ActorId + } + return "" +} + +type GetLatestForecasterWeightResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Weight string `protobuf:"bytes,1,opt,name=weight,proto3" json:"weight,omitempty"` +} + +func (x *GetLatestForecasterWeightResponse) Reset() { + *x = GetLatestForecasterWeightResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_emissions_v8_query_proto_msgTypes[217] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GetLatestForecasterWeightResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GetLatestForecasterWeightResponse) ProtoMessage() {} + +// Deprecated: Use GetLatestForecasterWeightResponse.ProtoReflect.Descriptor instead. +func (*GetLatestForecasterWeightResponse) Descriptor() ([]byte, []int) { + return file_emissions_v8_query_proto_rawDescGZIP(), []int{217} +} + +func (x *GetLatestForecasterWeightResponse) GetWeight() string { + if x != nil { + return x.Weight + } + return "" +} + +var File_emissions_v8_query_proto protoreflect.FileDescriptor + +var file_emissions_v8_query_proto_rawDesc = []byte{ + 0x0a, 0x18, 0x65, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x76, 0x38, 0x2f, 0x71, + 0x75, 0x65, 0x72, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x0c, 0x65, 0x6d, 0x69, 0x73, + 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x38, 0x1a, 0x11, 0x61, 0x6d, 0x69, 0x6e, 0x6f, 0x2f, + 0x61, 0x6d, 0x69, 0x6e, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1b, 0x63, 0x6f, 0x73, + 0x6d, 0x6f, 0x73, 0x2f, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2f, 0x76, 0x31, 0x2f, 0x71, 0x75, 0x65, + 0x72, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x19, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, + 0x5f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2e, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x1a, 0x1c, 0x65, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x76, + 0x33, 0x2f, 0x69, 0x6e, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x1a, 0x17, 0x65, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x76, 0x33, 0x2f, + 0x6e, 0x6f, 0x64, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x18, 0x65, 0x6d, 0x69, 0x73, + 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x76, 0x33, 0x2f, 0x6e, 0x6f, 0x6e, 0x63, 0x65, 0x2e, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1a, 0x65, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2f, + 0x76, 0x33, 0x2f, 0x72, 0x65, 0x70, 0x75, 0x74, 0x65, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x1a, 0x18, 0x65, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x76, 0x33, 0x2f, 0x73, + 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x18, 0x65, 0x6d, 0x69, 0x73, + 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x76, 0x33, 0x2f, 0x73, 0x74, 0x61, 0x6b, 0x65, 0x2e, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x18, 0x65, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2f, + 0x76, 0x33, 0x2f, 0x74, 0x6f, 0x70, 0x69, 0x63, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x18, + 0x65, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x76, 0x33, 0x2f, 0x74, 0x79, 0x70, + 0x65, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x19, 0x65, 0x6d, 0x69, 0x73, 0x73, 0x69, + 0x6f, 0x6e, 0x73, 0x2f, 0x76, 0x33, 0x2f, 0x77, 0x6f, 0x72, 0x6b, 0x65, 0x72, 0x2e, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x1a, 0x19, 0x65, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x76, + 0x38, 0x2f, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x14, + 0x67, 0x6f, 0x67, 0x6f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x6f, 0x67, 0x6f, 0x2e, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1c, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, + 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x22, 0x3c, 0x0a, 0x20, 0x49, 0x73, 0x57, 0x68, 0x69, 0x74, 0x65, 0x6c, 0x69, 0x73, + 0x74, 0x65, 0x64, 0x47, 0x6c, 0x6f, 0x62, 0x61, 0x6c, 0x57, 0x6f, 0x72, 0x6b, 0x65, 0x72, 0x52, + 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x18, 0x0a, 0x07, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, + 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, + 0x22, 0x6b, 0x0a, 0x21, 0x49, 0x73, 0x57, 0x68, 0x69, 0x74, 0x65, 0x6c, 0x69, 0x73, 0x74, 0x65, + 0x64, 0x47, 0x6c, 0x6f, 0x62, 0x61, 0x6c, 0x57, 0x6f, 0x72, 0x6b, 0x65, 0x72, 0x52, 0x65, 0x73, + 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x46, 0x0a, 0x1c, 0x69, 0x73, 0x5f, 0x77, 0x68, 0x69, 0x74, + 0x65, 0x6c, 0x69, 0x73, 0x74, 0x65, 0x64, 0x5f, 0x67, 0x6c, 0x6f, 0x62, 0x61, 0x6c, 0x5f, 0x77, + 0x6f, 0x72, 0x6b, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x42, 0x05, 0xa8, 0xe7, 0xb0, + 0x2a, 0x01, 0x52, 0x19, 0x69, 0x73, 0x57, 0x68, 0x69, 0x74, 0x65, 0x6c, 0x69, 0x73, 0x74, 0x65, + 0x64, 0x47, 0x6c, 0x6f, 0x62, 0x61, 0x6c, 0x57, 0x6f, 0x72, 0x6b, 0x65, 0x72, 0x22, 0x3d, 0x0a, + 0x21, 0x49, 0x73, 0x57, 0x68, 0x69, 0x74, 0x65, 0x6c, 0x69, 0x73, 0x74, 0x65, 0x64, 0x47, 0x6c, + 0x6f, 0x62, 0x61, 0x6c, 0x52, 0x65, 0x70, 0x75, 0x74, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, + 0x73, 0x74, 0x12, 0x18, 0x0a, 0x07, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x07, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x22, 0x6e, 0x0a, 0x22, + 0x49, 0x73, 0x57, 0x68, 0x69, 0x74, 0x65, 0x6c, 0x69, 0x73, 0x74, 0x65, 0x64, 0x47, 0x6c, 0x6f, + 0x62, 0x61, 0x6c, 0x52, 0x65, 0x70, 0x75, 0x74, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, + 0x73, 0x65, 0x12, 0x48, 0x0a, 0x1d, 0x69, 0x73, 0x5f, 0x77, 0x68, 0x69, 0x74, 0x65, 0x6c, 0x69, + 0x73, 0x74, 0x65, 0x64, 0x5f, 0x67, 0x6c, 0x6f, 0x62, 0x61, 0x6c, 0x5f, 0x72, 0x65, 0x70, 0x75, + 0x74, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x42, 0x05, 0xa8, 0xe7, 0xb0, 0x2a, 0x01, + 0x52, 0x1a, 0x69, 0x73, 0x57, 0x68, 0x69, 0x74, 0x65, 0x6c, 0x69, 0x73, 0x74, 0x65, 0x64, 0x47, + 0x6c, 0x6f, 0x62, 0x61, 0x6c, 0x52, 0x65, 0x70, 0x75, 0x74, 0x65, 0x72, 0x22, 0x3b, 0x0a, 0x1f, + 0x49, 0x73, 0x57, 0x68, 0x69, 0x74, 0x65, 0x6c, 0x69, 0x73, 0x74, 0x65, 0x64, 0x47, 0x6c, 0x6f, + 0x62, 0x61, 0x6c, 0x41, 0x64, 0x6d, 0x69, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, + 0x18, 0x0a, 0x07, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, + 0x52, 0x07, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x22, 0x68, 0x0a, 0x20, 0x49, 0x73, 0x57, + 0x68, 0x69, 0x74, 0x65, 0x6c, 0x69, 0x73, 0x74, 0x65, 0x64, 0x47, 0x6c, 0x6f, 0x62, 0x61, 0x6c, + 0x41, 0x64, 0x6d, 0x69, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x44, 0x0a, + 0x1b, 0x69, 0x73, 0x5f, 0x77, 0x68, 0x69, 0x74, 0x65, 0x6c, 0x69, 0x73, 0x74, 0x65, 0x64, 0x5f, + 0x67, 0x6c, 0x6f, 0x62, 0x61, 0x6c, 0x5f, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x18, 0x01, 0x20, 0x01, + 0x28, 0x08, 0x42, 0x05, 0xa8, 0xe7, 0xb0, 0x2a, 0x01, 0x52, 0x18, 0x69, 0x73, 0x57, 0x68, 0x69, + 0x74, 0x65, 0x6c, 0x69, 0x73, 0x74, 0x65, 0x64, 0x47, 0x6c, 0x6f, 0x62, 0x61, 0x6c, 0x41, 0x64, + 0x6d, 0x69, 0x6e, 0x22, 0x41, 0x0a, 0x24, 0x49, 0x73, 0x54, 0x6f, 0x70, 0x69, 0x63, 0x57, 0x6f, + 0x72, 0x6b, 0x65, 0x72, 0x57, 0x68, 0x69, 0x74, 0x65, 0x6c, 0x69, 0x73, 0x74, 0x45, 0x6e, 0x61, + 0x62, 0x6c, 0x65, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x19, 0x0a, 0x08, 0x74, + 0x6f, 0x70, 0x69, 0x63, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x07, 0x74, + 0x6f, 0x70, 0x69, 0x63, 0x49, 0x64, 0x22, 0x78, 0x0a, 0x25, 0x49, 0x73, 0x54, 0x6f, 0x70, 0x69, + 0x63, 0x57, 0x6f, 0x72, 0x6b, 0x65, 0x72, 0x57, 0x68, 0x69, 0x74, 0x65, 0x6c, 0x69, 0x73, 0x74, + 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, + 0x4f, 0x0a, 0x21, 0x69, 0x73, 0x5f, 0x74, 0x6f, 0x70, 0x69, 0x63, 0x5f, 0x77, 0x6f, 0x72, 0x6b, + 0x65, 0x72, 0x5f, 0x77, 0x68, 0x69, 0x74, 0x65, 0x6c, 0x69, 0x73, 0x74, 0x5f, 0x65, 0x6e, 0x61, + 0x62, 0x6c, 0x65, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x42, 0x05, 0xa8, 0xe7, 0xb0, 0x2a, + 0x01, 0x52, 0x1d, 0x69, 0x73, 0x54, 0x6f, 0x70, 0x69, 0x63, 0x57, 0x6f, 0x72, 0x6b, 0x65, 0x72, + 0x57, 0x68, 0x69, 0x74, 0x65, 0x6c, 0x69, 0x73, 0x74, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, + 0x22, 0x42, 0x0a, 0x25, 0x49, 0x73, 0x54, 0x6f, 0x70, 0x69, 0x63, 0x52, 0x65, 0x70, 0x75, 0x74, + 0x65, 0x72, 0x57, 0x68, 0x69, 0x74, 0x65, 0x6c, 0x69, 0x73, 0x74, 0x45, 0x6e, 0x61, 0x62, 0x6c, + 0x65, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x19, 0x0a, 0x08, 0x74, 0x6f, 0x70, + 0x69, 0x63, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x07, 0x74, 0x6f, 0x70, + 0x69, 0x63, 0x49, 0x64, 0x22, 0x7b, 0x0a, 0x26, 0x49, 0x73, 0x54, 0x6f, 0x70, 0x69, 0x63, 0x52, + 0x65, 0x70, 0x75, 0x74, 0x65, 0x72, 0x57, 0x68, 0x69, 0x74, 0x65, 0x6c, 0x69, 0x73, 0x74, 0x45, + 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x51, + 0x0a, 0x22, 0x69, 0x73, 0x5f, 0x74, 0x6f, 0x70, 0x69, 0x63, 0x5f, 0x72, 0x65, 0x70, 0x75, 0x74, + 0x65, 0x72, 0x5f, 0x77, 0x68, 0x69, 0x74, 0x65, 0x6c, 0x69, 0x73, 0x74, 0x5f, 0x65, 0x6e, 0x61, + 0x62, 0x6c, 0x65, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x42, 0x05, 0xa8, 0xe7, 0xb0, 0x2a, + 0x01, 0x52, 0x1e, 0x69, 0x73, 0x54, 0x6f, 0x70, 0x69, 0x63, 0x52, 0x65, 0x70, 0x75, 0x74, 0x65, + 0x72, 0x57, 0x68, 0x69, 0x74, 0x65, 0x6c, 0x69, 0x73, 0x74, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, + 0x64, 0x22, 0x3c, 0x0a, 0x20, 0x49, 0x73, 0x57, 0x68, 0x69, 0x74, 0x65, 0x6c, 0x69, 0x73, 0x74, + 0x65, 0x64, 0x54, 0x6f, 0x70, 0x69, 0x63, 0x43, 0x72, 0x65, 0x61, 0x74, 0x6f, 0x72, 0x52, 0x65, + 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x18, 0x0a, 0x07, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x22, + 0x6b, 0x0a, 0x21, 0x49, 0x73, 0x57, 0x68, 0x69, 0x74, 0x65, 0x6c, 0x69, 0x73, 0x74, 0x65, 0x64, + 0x54, 0x6f, 0x70, 0x69, 0x63, 0x43, 0x72, 0x65, 0x61, 0x74, 0x6f, 0x72, 0x52, 0x65, 0x73, 0x70, + 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x46, 0x0a, 0x1c, 0x69, 0x73, 0x5f, 0x77, 0x68, 0x69, 0x74, 0x65, + 0x6c, 0x69, 0x73, 0x74, 0x65, 0x64, 0x5f, 0x74, 0x6f, 0x70, 0x69, 0x63, 0x5f, 0x63, 0x72, 0x65, + 0x61, 0x74, 0x6f, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x42, 0x05, 0xa8, 0xe7, 0xb0, 0x2a, + 0x01, 0x52, 0x19, 0x69, 0x73, 0x57, 0x68, 0x69, 0x74, 0x65, 0x6c, 0x69, 0x73, 0x74, 0x65, 0x64, + 0x54, 0x6f, 0x70, 0x69, 0x63, 0x43, 0x72, 0x65, 0x61, 0x74, 0x6f, 0x72, 0x22, 0x3b, 0x0a, 0x1f, + 0x49, 0x73, 0x57, 0x68, 0x69, 0x74, 0x65, 0x6c, 0x69, 0x73, 0x74, 0x65, 0x64, 0x47, 0x6c, 0x6f, + 0x62, 0x61, 0x6c, 0x41, 0x63, 0x74, 0x6f, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, + 0x18, 0x0a, 0x07, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, + 0x52, 0x07, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x22, 0x68, 0x0a, 0x20, 0x49, 0x73, 0x57, + 0x68, 0x69, 0x74, 0x65, 0x6c, 0x69, 0x73, 0x74, 0x65, 0x64, 0x47, 0x6c, 0x6f, 0x62, 0x61, 0x6c, + 0x41, 0x63, 0x74, 0x6f, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x44, 0x0a, + 0x1b, 0x69, 0x73, 0x5f, 0x77, 0x68, 0x69, 0x74, 0x65, 0x6c, 0x69, 0x73, 0x74, 0x65, 0x64, 0x5f, + 0x67, 0x6c, 0x6f, 0x62, 0x61, 0x6c, 0x5f, 0x61, 0x63, 0x74, 0x6f, 0x72, 0x18, 0x01, 0x20, 0x01, + 0x28, 0x08, 0x42, 0x05, 0xa8, 0xe7, 0xb0, 0x2a, 0x01, 0x52, 0x18, 0x69, 0x73, 0x57, 0x68, 0x69, + 0x74, 0x65, 0x6c, 0x69, 0x73, 0x74, 0x65, 0x64, 0x47, 0x6c, 0x6f, 0x62, 0x61, 0x6c, 0x41, 0x63, + 0x74, 0x6f, 0x72, 0x22, 0x56, 0x0a, 0x1f, 0x49, 0x73, 0x57, 0x68, 0x69, 0x74, 0x65, 0x6c, 0x69, + 0x73, 0x74, 0x65, 0x64, 0x54, 0x6f, 0x70, 0x69, 0x63, 0x57, 0x6f, 0x72, 0x6b, 0x65, 0x72, 0x52, + 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x19, 0x0a, 0x08, 0x74, 0x6f, 0x70, 0x69, 0x63, 0x5f, + 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x07, 0x74, 0x6f, 0x70, 0x69, 0x63, 0x49, + 0x64, 0x12, 0x18, 0x0a, 0x07, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x02, 0x20, 0x01, + 0x28, 0x09, 0x52, 0x07, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x22, 0x68, 0x0a, 0x20, 0x49, + 0x73, 0x57, 0x68, 0x69, 0x74, 0x65, 0x6c, 0x69, 0x73, 0x74, 0x65, 0x64, 0x54, 0x6f, 0x70, 0x69, + 0x63, 0x57, 0x6f, 0x72, 0x6b, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, + 0x44, 0x0a, 0x1b, 0x69, 0x73, 0x5f, 0x77, 0x68, 0x69, 0x74, 0x65, 0x6c, 0x69, 0x73, 0x74, 0x65, + 0x64, 0x5f, 0x74, 0x6f, 0x70, 0x69, 0x63, 0x5f, 0x77, 0x6f, 0x72, 0x6b, 0x65, 0x72, 0x18, 0x01, + 0x20, 0x01, 0x28, 0x08, 0x42, 0x05, 0xa8, 0xe7, 0xb0, 0x2a, 0x01, 0x52, 0x18, 0x69, 0x73, 0x57, + 0x68, 0x69, 0x74, 0x65, 0x6c, 0x69, 0x73, 0x74, 0x65, 0x64, 0x54, 0x6f, 0x70, 0x69, 0x63, 0x57, + 0x6f, 0x72, 0x6b, 0x65, 0x72, 0x22, 0x57, 0x0a, 0x20, 0x49, 0x73, 0x57, 0x68, 0x69, 0x74, 0x65, + 0x6c, 0x69, 0x73, 0x74, 0x65, 0x64, 0x54, 0x6f, 0x70, 0x69, 0x63, 0x52, 0x65, 0x70, 0x75, 0x74, + 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x19, 0x0a, 0x08, 0x74, 0x6f, 0x70, + 0x69, 0x63, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x07, 0x74, 0x6f, 0x70, + 0x69, 0x63, 0x49, 0x64, 0x12, 0x18, 0x0a, 0x07, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, + 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x22, 0x6b, + 0x0a, 0x21, 0x49, 0x73, 0x57, 0x68, 0x69, 0x74, 0x65, 0x6c, 0x69, 0x73, 0x74, 0x65, 0x64, 0x54, + 0x6f, 0x70, 0x69, 0x63, 0x52, 0x65, 0x70, 0x75, 0x74, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, + 0x6e, 0x73, 0x65, 0x12, 0x46, 0x0a, 0x1c, 0x69, 0x73, 0x5f, 0x77, 0x68, 0x69, 0x74, 0x65, 0x6c, + 0x69, 0x73, 0x74, 0x65, 0x64, 0x5f, 0x74, 0x6f, 0x70, 0x69, 0x63, 0x5f, 0x72, 0x65, 0x70, 0x75, + 0x74, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x42, 0x05, 0xa8, 0xe7, 0xb0, 0x2a, 0x01, + 0x52, 0x19, 0x69, 0x73, 0x57, 0x68, 0x69, 0x74, 0x65, 0x6c, 0x69, 0x73, 0x74, 0x65, 0x64, 0x54, + 0x6f, 0x70, 0x69, 0x63, 0x52, 0x65, 0x70, 0x75, 0x74, 0x65, 0x72, 0x22, 0x3f, 0x0a, 0x23, 0x43, + 0x61, 0x6e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x41, 0x6c, 0x6c, 0x47, 0x6c, 0x6f, 0x62, 0x61, + 0x6c, 0x57, 0x68, 0x69, 0x74, 0x65, 0x6c, 0x69, 0x73, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, + 0x73, 0x74, 0x12, 0x18, 0x0a, 0x07, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x07, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x22, 0x75, 0x0a, 0x24, + 0x43, 0x61, 0x6e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x41, 0x6c, 0x6c, 0x47, 0x6c, 0x6f, 0x62, + 0x61, 0x6c, 0x57, 0x68, 0x69, 0x74, 0x65, 0x6c, 0x69, 0x73, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, + 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x4d, 0x0a, 0x20, 0x63, 0x61, 0x6e, 0x5f, 0x75, 0x70, 0x64, 0x61, + 0x74, 0x65, 0x5f, 0x61, 0x6c, 0x6c, 0x5f, 0x67, 0x6c, 0x6f, 0x62, 0x61, 0x6c, 0x5f, 0x77, 0x68, + 0x69, 0x74, 0x65, 0x6c, 0x69, 0x73, 0x74, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x42, 0x05, + 0xa8, 0xe7, 0xb0, 0x2a, 0x01, 0x52, 0x1c, 0x63, 0x61, 0x6e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, + 0x41, 0x6c, 0x6c, 0x47, 0x6c, 0x6f, 0x62, 0x61, 0x6c, 0x57, 0x68, 0x69, 0x74, 0x65, 0x6c, 0x69, + 0x73, 0x74, 0x73, 0x22, 0x41, 0x0a, 0x25, 0x43, 0x61, 0x6e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, + 0x47, 0x6c, 0x6f, 0x62, 0x61, 0x6c, 0x57, 0x6f, 0x72, 0x6b, 0x65, 0x72, 0x57, 0x68, 0x69, 0x74, + 0x65, 0x6c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x18, 0x0a, 0x07, + 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x61, + 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x22, 0x7b, 0x0a, 0x26, 0x43, 0x61, 0x6e, 0x55, 0x70, 0x64, + 0x61, 0x74, 0x65, 0x47, 0x6c, 0x6f, 0x62, 0x61, 0x6c, 0x57, 0x6f, 0x72, 0x6b, 0x65, 0x72, 0x57, + 0x68, 0x69, 0x74, 0x65, 0x6c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, + 0x12, 0x51, 0x0a, 0x22, 0x63, 0x61, 0x6e, 0x5f, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x5f, 0x67, + 0x6c, 0x6f, 0x62, 0x61, 0x6c, 0x5f, 0x77, 0x6f, 0x72, 0x6b, 0x65, 0x72, 0x5f, 0x77, 0x68, 0x69, + 0x74, 0x65, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x42, 0x05, 0xa8, 0xe7, + 0xb0, 0x2a, 0x01, 0x52, 0x1e, 0x63, 0x61, 0x6e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x47, 0x6c, + 0x6f, 0x62, 0x61, 0x6c, 0x57, 0x6f, 0x72, 0x6b, 0x65, 0x72, 0x57, 0x68, 0x69, 0x74, 0x65, 0x6c, + 0x69, 0x73, 0x74, 0x22, 0x42, 0x0a, 0x26, 0x43, 0x61, 0x6e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, + 0x47, 0x6c, 0x6f, 0x62, 0x61, 0x6c, 0x52, 0x65, 0x70, 0x75, 0x74, 0x65, 0x72, 0x57, 0x68, 0x69, + 0x74, 0x65, 0x6c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x18, 0x0a, + 0x07, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, + 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x22, 0x7e, 0x0a, 0x27, 0x43, 0x61, 0x6e, 0x55, 0x70, + 0x64, 0x61, 0x74, 0x65, 0x47, 0x6c, 0x6f, 0x62, 0x61, 0x6c, 0x52, 0x65, 0x70, 0x75, 0x74, 0x65, + 0x72, 0x57, 0x68, 0x69, 0x74, 0x65, 0x6c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, + 0x73, 0x65, 0x12, 0x53, 0x0a, 0x23, 0x63, 0x61, 0x6e, 0x5f, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, + 0x5f, 0x67, 0x6c, 0x6f, 0x62, 0x61, 0x6c, 0x5f, 0x72, 0x65, 0x70, 0x75, 0x74, 0x65, 0x72, 0x5f, + 0x77, 0x68, 0x69, 0x74, 0x65, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x42, + 0x05, 0xa8, 0xe7, 0xb0, 0x2a, 0x01, 0x52, 0x1f, 0x63, 0x61, 0x6e, 0x55, 0x70, 0x64, 0x61, 0x74, + 0x65, 0x47, 0x6c, 0x6f, 0x62, 0x61, 0x6c, 0x52, 0x65, 0x70, 0x75, 0x74, 0x65, 0x72, 0x57, 0x68, + 0x69, 0x74, 0x65, 0x6c, 0x69, 0x73, 0x74, 0x22, 0x32, 0x0a, 0x16, 0x43, 0x61, 0x6e, 0x55, 0x70, + 0x64, 0x61, 0x74, 0x65, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, + 0x74, 0x12, 0x18, 0x0a, 0x07, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x01, 0x20, 0x01, + 0x28, 0x09, 0x52, 0x07, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x22, 0x4c, 0x0a, 0x17, 0x43, + 0x61, 0x6e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x52, 0x65, + 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x31, 0x0a, 0x11, 0x63, 0x61, 0x6e, 0x5f, 0x75, 0x70, + 0x64, 0x61, 0x74, 0x65, 0x5f, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, + 0x08, 0x42, 0x05, 0xa8, 0xe7, 0xb0, 0x2a, 0x01, 0x52, 0x0f, 0x63, 0x61, 0x6e, 0x55, 0x70, 0x64, + 0x61, 0x74, 0x65, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x22, 0x55, 0x0a, 0x1e, 0x43, 0x61, 0x6e, + 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x54, 0x6f, 0x70, 0x69, 0x63, 0x57, 0x68, 0x69, 0x74, 0x65, + 0x6c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x19, 0x0a, 0x08, 0x74, + 0x6f, 0x70, 0x69, 0x63, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x07, 0x74, + 0x6f, 0x70, 0x69, 0x63, 0x49, 0x64, 0x12, 0x18, 0x0a, 0x07, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, + 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, + 0x22, 0x65, 0x0a, 0x1f, 0x43, 0x61, 0x6e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x54, 0x6f, 0x70, + 0x69, 0x63, 0x57, 0x68, 0x69, 0x74, 0x65, 0x6c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, + 0x6e, 0x73, 0x65, 0x12, 0x42, 0x0a, 0x1a, 0x63, 0x61, 0x6e, 0x5f, 0x75, 0x70, 0x64, 0x61, 0x74, + 0x65, 0x5f, 0x74, 0x6f, 0x70, 0x69, 0x63, 0x5f, 0x77, 0x68, 0x69, 0x74, 0x65, 0x6c, 0x69, 0x73, + 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x42, 0x05, 0xa8, 0xe7, 0xb0, 0x2a, 0x01, 0x52, 0x17, + 0x63, 0x61, 0x6e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x54, 0x6f, 0x70, 0x69, 0x63, 0x57, 0x68, + 0x69, 0x74, 0x65, 0x6c, 0x69, 0x73, 0x74, 0x22, 0x31, 0x0a, 0x15, 0x43, 0x61, 0x6e, 0x43, 0x72, + 0x65, 0x61, 0x74, 0x65, 0x54, 0x6f, 0x70, 0x69, 0x63, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, + 0x12, 0x18, 0x0a, 0x07, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, + 0x09, 0x52, 0x07, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x22, 0x49, 0x0a, 0x16, 0x43, 0x61, + 0x6e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x54, 0x6f, 0x70, 0x69, 0x63, 0x52, 0x65, 0x73, 0x70, + 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x2f, 0x0a, 0x10, 0x63, 0x61, 0x6e, 0x5f, 0x63, 0x72, 0x65, 0x61, + 0x74, 0x65, 0x5f, 0x74, 0x6f, 0x70, 0x69, 0x63, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x42, 0x05, + 0xa8, 0xe7, 0xb0, 0x2a, 0x01, 0x52, 0x0e, 0x63, 0x61, 0x6e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, + 0x54, 0x6f, 0x70, 0x69, 0x63, 0x22, 0x54, 0x0a, 0x1d, 0x43, 0x61, 0x6e, 0x53, 0x75, 0x62, 0x6d, + 0x69, 0x74, 0x57, 0x6f, 0x72, 0x6b, 0x65, 0x72, 0x50, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x52, + 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x19, 0x0a, 0x08, 0x74, 0x6f, 0x70, 0x69, 0x63, 0x5f, + 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x07, 0x74, 0x6f, 0x70, 0x69, 0x63, 0x49, + 0x64, 0x12, 0x18, 0x0a, 0x07, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x02, 0x20, 0x01, + 0x28, 0x09, 0x52, 0x07, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x22, 0x62, 0x0a, 0x1e, 0x43, + 0x61, 0x6e, 0x53, 0x75, 0x62, 0x6d, 0x69, 0x74, 0x57, 0x6f, 0x72, 0x6b, 0x65, 0x72, 0x50, 0x61, + 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x40, 0x0a, + 0x19, 0x63, 0x61, 0x6e, 0x5f, 0x73, 0x75, 0x62, 0x6d, 0x69, 0x74, 0x5f, 0x77, 0x6f, 0x72, 0x6b, + 0x65, 0x72, 0x5f, 0x70, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, + 0x42, 0x05, 0xa8, 0xe7, 0xb0, 0x2a, 0x01, 0x52, 0x16, 0x63, 0x61, 0x6e, 0x53, 0x75, 0x62, 0x6d, + 0x69, 0x74, 0x57, 0x6f, 0x72, 0x6b, 0x65, 0x72, 0x50, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x22, + 0x55, 0x0a, 0x1e, 0x43, 0x61, 0x6e, 0x53, 0x75, 0x62, 0x6d, 0x69, 0x74, 0x52, 0x65, 0x70, 0x75, + 0x74, 0x65, 0x72, 0x50, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, + 0x74, 0x12, 0x19, 0x0a, 0x08, 0x74, 0x6f, 0x70, 0x69, 0x63, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x04, 0x52, 0x07, 0x74, 0x6f, 0x70, 0x69, 0x63, 0x49, 0x64, 0x12, 0x18, 0x0a, 0x07, + 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x61, + 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x22, 0x65, 0x0a, 0x1f, 0x43, 0x61, 0x6e, 0x53, 0x75, 0x62, + 0x6d, 0x69, 0x74, 0x52, 0x65, 0x70, 0x75, 0x74, 0x65, 0x72, 0x50, 0x61, 0x79, 0x6c, 0x6f, 0x61, + 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x42, 0x0a, 0x1a, 0x63, 0x61, 0x6e, + 0x5f, 0x73, 0x75, 0x62, 0x6d, 0x69, 0x74, 0x5f, 0x72, 0x65, 0x70, 0x75, 0x74, 0x65, 0x72, 0x5f, + 0x70, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x42, 0x05, 0xa8, + 0xe7, 0xb0, 0x2a, 0x01, 0x52, 0x17, 0x63, 0x61, 0x6e, 0x53, 0x75, 0x62, 0x6d, 0x69, 0x74, 0x52, + 0x65, 0x70, 0x75, 0x74, 0x65, 0x72, 0x50, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x22, 0x5e, 0x0a, + 0x27, 0x47, 0x65, 0x74, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x49, 0x6e, 0x66, 0x65, 0x72, 0x65, 0x72, + 0x49, 0x6e, 0x63, 0x6c, 0x75, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x49, 0x6e, 0x54, 0x6f, 0x70, 0x69, + 0x63, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x19, 0x0a, 0x08, 0x74, 0x6f, 0x70, 0x69, + 0x63, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x07, 0x74, 0x6f, 0x70, 0x69, + 0x63, 0x49, 0x64, 0x12, 0x18, 0x0a, 0x07, 0x69, 0x6e, 0x66, 0x65, 0x72, 0x65, 0x72, 0x18, 0x02, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x69, 0x6e, 0x66, 0x65, 0x72, 0x65, 0x72, 0x22, 0x40, 0x0a, + 0x28, 0x47, 0x65, 0x74, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x49, 0x6e, 0x66, 0x65, 0x72, 0x65, 0x72, + 0x49, 0x6e, 0x63, 0x6c, 0x75, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x49, 0x6e, 0x54, 0x6f, 0x70, 0x69, + 0x63, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x63, 0x6f, 0x75, + 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x05, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x22, + 0x67, 0x0a, 0x2a, 0x47, 0x65, 0x74, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x46, 0x6f, 0x72, 0x65, 0x63, + 0x61, 0x73, 0x74, 0x65, 0x72, 0x49, 0x6e, 0x63, 0x6c, 0x75, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x49, + 0x6e, 0x54, 0x6f, 0x70, 0x69, 0x63, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x19, 0x0a, + 0x08, 0x74, 0x6f, 0x70, 0x69, 0x63, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, + 0x07, 0x74, 0x6f, 0x70, 0x69, 0x63, 0x49, 0x64, 0x12, 0x1e, 0x0a, 0x0a, 0x66, 0x6f, 0x72, 0x65, + 0x63, 0x61, 0x73, 0x74, 0x65, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x66, 0x6f, + 0x72, 0x65, 0x63, 0x61, 0x73, 0x74, 0x65, 0x72, 0x22, 0x43, 0x0a, 0x2b, 0x47, 0x65, 0x74, 0x43, + 0x6f, 0x75, 0x6e, 0x74, 0x46, 0x6f, 0x72, 0x65, 0x63, 0x61, 0x73, 0x74, 0x65, 0x72, 0x49, 0x6e, + 0x63, 0x6c, 0x75, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x49, 0x6e, 0x54, 0x6f, 0x70, 0x69, 0x63, 0x52, + 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x63, 0x6f, 0x75, 0x6e, 0x74, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x05, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x22, 0x5a, 0x0a, + 0x23, 0x47, 0x65, 0x74, 0x4e, 0x61, 0x69, 0x76, 0x65, 0x49, 0x6e, 0x66, 0x65, 0x72, 0x65, 0x72, + 0x4e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x52, 0x65, 0x67, 0x72, 0x65, 0x74, 0x52, 0x65, 0x71, + 0x75, 0x65, 0x73, 0x74, 0x12, 0x19, 0x0a, 0x08, 0x74, 0x6f, 0x70, 0x69, 0x63, 0x5f, 0x69, 0x64, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x07, 0x74, 0x6f, 0x70, 0x69, 0x63, 0x49, 0x64, 0x12, + 0x18, 0x0a, 0x07, 0x69, 0x6e, 0x66, 0x65, 0x72, 0x65, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, + 0x52, 0x07, 0x69, 0x6e, 0x66, 0x65, 0x72, 0x65, 0x72, 0x22, 0x5e, 0x0a, 0x24, 0x47, 0x65, 0x74, + 0x4e, 0x61, 0x69, 0x76, 0x65, 0x49, 0x6e, 0x66, 0x65, 0x72, 0x65, 0x72, 0x4e, 0x65, 0x74, 0x77, + 0x6f, 0x72, 0x6b, 0x52, 0x65, 0x67, 0x72, 0x65, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, + 0x65, 0x12, 0x36, 0x0a, 0x06, 0x72, 0x65, 0x67, 0x72, 0x65, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, + 0x0b, 0x32, 0x1e, 0x2e, 0x65, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x33, + 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x65, 0x64, 0x56, 0x61, 0x6c, 0x75, + 0x65, 0x52, 0x06, 0x72, 0x65, 0x67, 0x72, 0x65, 0x74, 0x22, 0x8a, 0x01, 0x0a, 0x2b, 0x47, 0x65, + 0x74, 0x4f, 0x6e, 0x65, 0x4f, 0x75, 0x74, 0x49, 0x6e, 0x66, 0x65, 0x72, 0x65, 0x72, 0x49, 0x6e, + 0x66, 0x65, 0x72, 0x65, 0x72, 0x4e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x52, 0x65, 0x67, 0x72, + 0x65, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x19, 0x0a, 0x08, 0x74, 0x6f, 0x70, + 0x69, 0x63, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x07, 0x74, 0x6f, 0x70, + 0x69, 0x63, 0x49, 0x64, 0x12, 0x26, 0x0a, 0x0f, 0x6f, 0x6e, 0x65, 0x5f, 0x6f, 0x75, 0x74, 0x5f, + 0x69, 0x6e, 0x66, 0x65, 0x72, 0x65, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x6f, + 0x6e, 0x65, 0x4f, 0x75, 0x74, 0x49, 0x6e, 0x66, 0x65, 0x72, 0x65, 0x72, 0x12, 0x18, 0x0a, 0x07, + 0x69, 0x6e, 0x66, 0x65, 0x72, 0x65, 0x72, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x69, + 0x6e, 0x66, 0x65, 0x72, 0x65, 0x72, 0x22, 0x66, 0x0a, 0x2c, 0x47, 0x65, 0x74, 0x4f, 0x6e, 0x65, + 0x4f, 0x75, 0x74, 0x49, 0x6e, 0x66, 0x65, 0x72, 0x65, 0x72, 0x49, 0x6e, 0x66, 0x65, 0x72, 0x65, + 0x72, 0x4e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x52, 0x65, 0x67, 0x72, 0x65, 0x74, 0x52, 0x65, + 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x36, 0x0a, 0x06, 0x72, 0x65, 0x67, 0x72, 0x65, 0x74, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x65, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, + 0x6e, 0x73, 0x2e, 0x76, 0x33, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x65, + 0x64, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x06, 0x72, 0x65, 0x67, 0x72, 0x65, 0x74, 0x22, 0x93, + 0x01, 0x0a, 0x2e, 0x47, 0x65, 0x74, 0x4f, 0x6e, 0x65, 0x4f, 0x75, 0x74, 0x49, 0x6e, 0x66, 0x65, + 0x72, 0x65, 0x72, 0x46, 0x6f, 0x72, 0x65, 0x63, 0x61, 0x73, 0x74, 0x65, 0x72, 0x4e, 0x65, 0x74, + 0x77, 0x6f, 0x72, 0x6b, 0x52, 0x65, 0x67, 0x72, 0x65, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, + 0x74, 0x12, 0x19, 0x0a, 0x08, 0x74, 0x6f, 0x70, 0x69, 0x63, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x04, 0x52, 0x07, 0x74, 0x6f, 0x70, 0x69, 0x63, 0x49, 0x64, 0x12, 0x26, 0x0a, 0x0f, + 0x6f, 0x6e, 0x65, 0x5f, 0x6f, 0x75, 0x74, 0x5f, 0x69, 0x6e, 0x66, 0x65, 0x72, 0x65, 0x72, 0x18, + 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x6f, 0x6e, 0x65, 0x4f, 0x75, 0x74, 0x49, 0x6e, 0x66, + 0x65, 0x72, 0x65, 0x72, 0x12, 0x1e, 0x0a, 0x0a, 0x66, 0x6f, 0x72, 0x65, 0x63, 0x61, 0x73, 0x74, + 0x65, 0x72, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x66, 0x6f, 0x72, 0x65, 0x63, 0x61, + 0x73, 0x74, 0x65, 0x72, 0x22, 0x69, 0x0a, 0x2f, 0x47, 0x65, 0x74, 0x4f, 0x6e, 0x65, 0x4f, 0x75, + 0x74, 0x49, 0x6e, 0x66, 0x65, 0x72, 0x65, 0x72, 0x46, 0x6f, 0x72, 0x65, 0x63, 0x61, 0x73, 0x74, + 0x65, 0x72, 0x4e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x52, 0x65, 0x67, 0x72, 0x65, 0x74, 0x52, + 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x36, 0x0a, 0x06, 0x72, 0x65, 0x67, 0x72, 0x65, + 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x65, 0x6d, 0x69, 0x73, 0x73, 0x69, + 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x33, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, + 0x65, 0x64, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x06, 0x72, 0x65, 0x67, 0x72, 0x65, 0x74, 0x22, + 0x93, 0x01, 0x0a, 0x2e, 0x47, 0x65, 0x74, 0x4f, 0x6e, 0x65, 0x4f, 0x75, 0x74, 0x46, 0x6f, 0x72, + 0x65, 0x63, 0x61, 0x73, 0x74, 0x65, 0x72, 0x49, 0x6e, 0x66, 0x65, 0x72, 0x65, 0x72, 0x4e, 0x65, + 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x52, 0x65, 0x67, 0x72, 0x65, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, + 0x73, 0x74, 0x12, 0x19, 0x0a, 0x08, 0x74, 0x6f, 0x70, 0x69, 0x63, 0x5f, 0x69, 0x64, 0x18, 0x01, + 0x20, 0x01, 0x28, 0x04, 0x52, 0x07, 0x74, 0x6f, 0x70, 0x69, 0x63, 0x49, 0x64, 0x12, 0x2c, 0x0a, + 0x12, 0x6f, 0x6e, 0x65, 0x5f, 0x6f, 0x75, 0x74, 0x5f, 0x66, 0x6f, 0x72, 0x65, 0x63, 0x61, 0x73, + 0x74, 0x65, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x10, 0x6f, 0x6e, 0x65, 0x4f, 0x75, + 0x74, 0x46, 0x6f, 0x72, 0x65, 0x63, 0x61, 0x73, 0x74, 0x65, 0x72, 0x12, 0x18, 0x0a, 0x07, 0x69, + 0x6e, 0x66, 0x65, 0x72, 0x65, 0x72, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x69, 0x6e, + 0x66, 0x65, 0x72, 0x65, 0x72, 0x22, 0x69, 0x0a, 0x2f, 0x47, 0x65, 0x74, 0x4f, 0x6e, 0x65, 0x4f, + 0x75, 0x74, 0x46, 0x6f, 0x72, 0x65, 0x63, 0x61, 0x73, 0x74, 0x65, 0x72, 0x49, 0x6e, 0x66, 0x65, + 0x72, 0x65, 0x72, 0x4e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x52, 0x65, 0x67, 0x72, 0x65, 0x74, + 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x36, 0x0a, 0x06, 0x72, 0x65, 0x67, 0x72, + 0x65, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x65, 0x6d, 0x69, 0x73, 0x73, + 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x33, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, + 0x70, 0x65, 0x64, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x06, 0x72, 0x65, 0x67, 0x72, 0x65, 0x74, + 0x22, 0x9c, 0x01, 0x0a, 0x31, 0x47, 0x65, 0x74, 0x4f, 0x6e, 0x65, 0x4f, 0x75, 0x74, 0x46, 0x6f, + 0x72, 0x65, 0x63, 0x61, 0x73, 0x74, 0x65, 0x72, 0x46, 0x6f, 0x72, 0x65, 0x63, 0x61, 0x73, 0x74, + 0x65, 0x72, 0x4e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x52, 0x65, 0x67, 0x72, 0x65, 0x74, 0x52, + 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x19, 0x0a, 0x08, 0x74, 0x6f, 0x70, 0x69, 0x63, 0x5f, + 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x07, 0x74, 0x6f, 0x70, 0x69, 0x63, 0x49, + 0x64, 0x12, 0x2c, 0x0a, 0x12, 0x6f, 0x6e, 0x65, 0x5f, 0x6f, 0x75, 0x74, 0x5f, 0x66, 0x6f, 0x72, + 0x65, 0x63, 0x61, 0x73, 0x74, 0x65, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x10, 0x6f, + 0x6e, 0x65, 0x4f, 0x75, 0x74, 0x46, 0x6f, 0x72, 0x65, 0x63, 0x61, 0x73, 0x74, 0x65, 0x72, 0x12, + 0x1e, 0x0a, 0x0a, 0x66, 0x6f, 0x72, 0x65, 0x63, 0x61, 0x73, 0x74, 0x65, 0x72, 0x18, 0x03, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x0a, 0x66, 0x6f, 0x72, 0x65, 0x63, 0x61, 0x73, 0x74, 0x65, 0x72, 0x22, + 0x6c, 0x0a, 0x32, 0x47, 0x65, 0x74, 0x4f, 0x6e, 0x65, 0x4f, 0x75, 0x74, 0x46, 0x6f, 0x72, 0x65, + 0x63, 0x61, 0x73, 0x74, 0x65, 0x72, 0x46, 0x6f, 0x72, 0x65, 0x63, 0x61, 0x73, 0x74, 0x65, 0x72, + 0x4e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x52, 0x65, 0x67, 0x72, 0x65, 0x74, 0x52, 0x65, 0x73, + 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x36, 0x0a, 0x06, 0x72, 0x65, 0x67, 0x72, 0x65, 0x74, 0x18, + 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x65, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, + 0x73, 0x2e, 0x76, 0x33, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x65, 0x64, + 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x06, 0x72, 0x65, 0x67, 0x72, 0x65, 0x74, 0x22, 0x12, 0x0a, + 0x10, 0x47, 0x65, 0x74, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, + 0x74, 0x22, 0x4c, 0x0a, 0x11, 0x47, 0x65, 0x74, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x52, 0x65, + 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x37, 0x0a, 0x06, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x73, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x65, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, + 0x6e, 0x73, 0x2e, 0x76, 0x38, 0x2e, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x42, 0x09, 0xc8, 0xde, + 0x1f, 0x00, 0xa8, 0xe7, 0xb0, 0x2a, 0x01, 0x52, 0x06, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x22, + 0x16, 0x0a, 0x14, 0x47, 0x65, 0x74, 0x54, 0x6f, 0x74, 0x61, 0x6c, 0x53, 0x74, 0x61, 0x6b, 0x65, + 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0x67, 0x0a, 0x15, 0x47, 0x65, 0x74, 0x54, 0x6f, + 0x74, 0x61, 0x6c, 0x53, 0x74, 0x61, 0x6b, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, + 0x12, 0x48, 0x0a, 0x06, 0x61, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, + 0x42, 0x30, 0xc8, 0xde, 0x1f, 0x00, 0xda, 0xde, 0x1f, 0x15, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, + 0x73, 0x64, 0x6b, 0x2e, 0x69, 0x6f, 0x2f, 0x6d, 0x61, 0x74, 0x68, 0x2e, 0x49, 0x6e, 0x74, 0xd2, + 0xb4, 0x2d, 0x0a, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2e, 0x49, 0x6e, 0x74, 0xa8, 0xe7, 0xb0, + 0x2a, 0x01, 0x52, 0x06, 0x61, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x3a, 0x04, 0xe8, 0xa0, 0x1f, 0x01, + 0x22, 0x54, 0x0a, 0x1d, 0x47, 0x65, 0x74, 0x52, 0x65, 0x70, 0x75, 0x74, 0x65, 0x72, 0x53, 0x74, + 0x61, 0x6b, 0x65, 0x49, 0x6e, 0x54, 0x6f, 0x70, 0x69, 0x63, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, + 0x74, 0x12, 0x18, 0x0a, 0x07, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x01, 0x20, 0x01, + 0x28, 0x09, 0x52, 0x07, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x19, 0x0a, 0x08, 0x74, + 0x6f, 0x70, 0x69, 0x63, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x04, 0x52, 0x07, 0x74, + 0x6f, 0x70, 0x69, 0x63, 0x49, 0x64, 0x22, 0x70, 0x0a, 0x1e, 0x47, 0x65, 0x74, 0x52, 0x65, 0x70, + 0x75, 0x74, 0x65, 0x72, 0x53, 0x74, 0x61, 0x6b, 0x65, 0x49, 0x6e, 0x54, 0x6f, 0x70, 0x69, 0x63, + 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x48, 0x0a, 0x06, 0x61, 0x6d, 0x6f, 0x75, + 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x30, 0xc8, 0xde, 0x1f, 0x00, 0xda, 0xde, + 0x1f, 0x15, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x73, 0x64, 0x6b, 0x2e, 0x69, 0x6f, 0x2f, 0x6d, + 0x61, 0x74, 0x68, 0x2e, 0x49, 0x6e, 0x74, 0xd2, 0xb4, 0x2d, 0x0a, 0x63, 0x6f, 0x73, 0x6d, 0x6f, + 0x73, 0x2e, 0x49, 0x6e, 0x74, 0xa8, 0xe7, 0xb0, 0x2a, 0x01, 0x52, 0x06, 0x61, 0x6d, 0x6f, 0x75, + 0x6e, 0x74, 0x3a, 0x04, 0xe8, 0xa0, 0x1f, 0x01, 0x22, 0x5d, 0x0a, 0x22, 0x47, 0x65, 0x74, 0x4d, + 0x75, 0x6c, 0x74, 0x69, 0x52, 0x65, 0x70, 0x75, 0x74, 0x65, 0x72, 0x53, 0x74, 0x61, 0x6b, 0x65, + 0x49, 0x6e, 0x54, 0x6f, 0x70, 0x69, 0x63, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1c, + 0x0a, 0x09, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, + 0x09, 0x52, 0x09, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x65, 0x73, 0x12, 0x19, 0x0a, 0x08, + 0x74, 0x6f, 0x70, 0x69, 0x63, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x04, 0x52, 0x07, + 0x74, 0x6f, 0x70, 0x69, 0x63, 0x49, 0x64, 0x22, 0x58, 0x0a, 0x23, 0x47, 0x65, 0x74, 0x4d, 0x75, + 0x6c, 0x74, 0x69, 0x52, 0x65, 0x70, 0x75, 0x74, 0x65, 0x72, 0x53, 0x74, 0x61, 0x6b, 0x65, 0x49, + 0x6e, 0x54, 0x6f, 0x70, 0x69, 0x63, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x31, + 0x0a, 0x07, 0x61, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, + 0x17, 0x2e, 0x65, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x33, 0x2e, 0x53, + 0x74, 0x61, 0x6b, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x07, 0x61, 0x6d, 0x6f, 0x75, 0x6e, 0x74, + 0x73, 0x22, 0x6d, 0x0a, 0x27, 0x47, 0x65, 0x74, 0x53, 0x74, 0x61, 0x6b, 0x65, 0x46, 0x72, 0x6f, + 0x6d, 0x52, 0x65, 0x70, 0x75, 0x74, 0x65, 0x72, 0x49, 0x6e, 0x54, 0x6f, 0x70, 0x69, 0x63, 0x49, + 0x6e, 0x53, 0x65, 0x6c, 0x66, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x27, 0x0a, 0x0f, + 0x72, 0x65, 0x70, 0x75, 0x74, 0x65, 0x72, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, + 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x72, 0x65, 0x70, 0x75, 0x74, 0x65, 0x72, 0x41, 0x64, + 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x19, 0x0a, 0x08, 0x74, 0x6f, 0x70, 0x69, 0x63, 0x5f, 0x69, + 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x04, 0x52, 0x07, 0x74, 0x6f, 0x70, 0x69, 0x63, 0x49, 0x64, + 0x22, 0x7a, 0x0a, 0x28, 0x47, 0x65, 0x74, 0x53, 0x74, 0x61, 0x6b, 0x65, 0x46, 0x72, 0x6f, 0x6d, + 0x52, 0x65, 0x70, 0x75, 0x74, 0x65, 0x72, 0x49, 0x6e, 0x54, 0x6f, 0x70, 0x69, 0x63, 0x49, 0x6e, + 0x53, 0x65, 0x6c, 0x66, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x48, 0x0a, 0x06, + 0x61, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x30, 0xc8, 0xde, + 0x1f, 0x00, 0xda, 0xde, 0x1f, 0x15, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x73, 0x64, 0x6b, 0x2e, + 0x69, 0x6f, 0x2f, 0x6d, 0x61, 0x74, 0x68, 0x2e, 0x49, 0x6e, 0x74, 0xd2, 0xb4, 0x2d, 0x0a, 0x63, + 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2e, 0x49, 0x6e, 0x74, 0xa8, 0xe7, 0xb0, 0x2a, 0x01, 0x52, 0x06, + 0x61, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x3a, 0x04, 0xe8, 0xa0, 0x1f, 0x01, 0x22, 0x6d, 0x0a, 0x27, + 0x47, 0x65, 0x74, 0x44, 0x65, 0x6c, 0x65, 0x67, 0x61, 0x74, 0x65, 0x53, 0x74, 0x61, 0x6b, 0x65, + 0x49, 0x6e, 0x54, 0x6f, 0x70, 0x69, 0x63, 0x49, 0x6e, 0x52, 0x65, 0x70, 0x75, 0x74, 0x65, 0x72, + 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x27, 0x0a, 0x0f, 0x72, 0x65, 0x70, 0x75, 0x74, + 0x65, 0x72, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, + 0x52, 0x0e, 0x72, 0x65, 0x70, 0x75, 0x74, 0x65, 0x72, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, + 0x12, 0x19, 0x0a, 0x08, 0x74, 0x6f, 0x70, 0x69, 0x63, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, + 0x28, 0x04, 0x52, 0x07, 0x74, 0x6f, 0x70, 0x69, 0x63, 0x49, 0x64, 0x22, 0x7a, 0x0a, 0x28, 0x47, + 0x65, 0x74, 0x44, 0x65, 0x6c, 0x65, 0x67, 0x61, 0x74, 0x65, 0x53, 0x74, 0x61, 0x6b, 0x65, 0x49, + 0x6e, 0x54, 0x6f, 0x70, 0x69, 0x63, 0x49, 0x6e, 0x52, 0x65, 0x70, 0x75, 0x74, 0x65, 0x72, 0x52, + 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x48, 0x0a, 0x06, 0x61, 0x6d, 0x6f, 0x75, 0x6e, + 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x30, 0xc8, 0xde, 0x1f, 0x00, 0xda, 0xde, 0x1f, + 0x15, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x73, 0x64, 0x6b, 0x2e, 0x69, 0x6f, 0x2f, 0x6d, 0x61, + 0x74, 0x68, 0x2e, 0x49, 0x6e, 0x74, 0xd2, 0xb4, 0x2d, 0x0a, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, + 0x2e, 0x49, 0x6e, 0x74, 0xa8, 0xe7, 0xb0, 0x2a, 0x01, 0x52, 0x06, 0x61, 0x6d, 0x6f, 0x75, 0x6e, + 0x74, 0x3a, 0x04, 0xe8, 0xa0, 0x1f, 0x01, 0x22, 0x9f, 0x01, 0x0a, 0x2c, 0x47, 0x65, 0x74, 0x53, + 0x74, 0x61, 0x6b, 0x65, 0x46, 0x72, 0x6f, 0x6d, 0x44, 0x65, 0x6c, 0x65, 0x67, 0x61, 0x74, 0x6f, + 0x72, 0x49, 0x6e, 0x54, 0x6f, 0x70, 0x69, 0x63, 0x49, 0x6e, 0x52, 0x65, 0x70, 0x75, 0x74, 0x65, + 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x2b, 0x0a, 0x11, 0x64, 0x65, 0x6c, 0x65, + 0x67, 0x61, 0x74, 0x6f, 0x72, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x10, 0x64, 0x65, 0x6c, 0x65, 0x67, 0x61, 0x74, 0x6f, 0x72, 0x41, 0x64, + 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x27, 0x0a, 0x0f, 0x72, 0x65, 0x70, 0x75, 0x74, 0x65, 0x72, + 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, + 0x72, 0x65, 0x70, 0x75, 0x74, 0x65, 0x72, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x19, + 0x0a, 0x08, 0x74, 0x6f, 0x70, 0x69, 0x63, 0x5f, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x04, + 0x52, 0x07, 0x74, 0x6f, 0x70, 0x69, 0x63, 0x49, 0x64, 0x22, 0x7f, 0x0a, 0x2d, 0x47, 0x65, 0x74, + 0x53, 0x74, 0x61, 0x6b, 0x65, 0x46, 0x72, 0x6f, 0x6d, 0x44, 0x65, 0x6c, 0x65, 0x67, 0x61, 0x74, + 0x6f, 0x72, 0x49, 0x6e, 0x54, 0x6f, 0x70, 0x69, 0x63, 0x49, 0x6e, 0x52, 0x65, 0x70, 0x75, 0x74, + 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x48, 0x0a, 0x06, 0x61, 0x6d, + 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x30, 0xc8, 0xde, 0x1f, 0x00, + 0xda, 0xde, 0x1f, 0x15, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x73, 0x64, 0x6b, 0x2e, 0x69, 0x6f, + 0x2f, 0x6d, 0x61, 0x74, 0x68, 0x2e, 0x49, 0x6e, 0x74, 0xd2, 0xb4, 0x2d, 0x0a, 0x63, 0x6f, 0x73, + 0x6d, 0x6f, 0x73, 0x2e, 0x49, 0x6e, 0x74, 0xa8, 0xe7, 0xb0, 0x2a, 0x01, 0x52, 0x06, 0x61, 0x6d, + 0x6f, 0x75, 0x6e, 0x74, 0x3a, 0x04, 0xe8, 0xa0, 0x1f, 0x01, 0x22, 0x6d, 0x0a, 0x23, 0x47, 0x65, + 0x74, 0x53, 0x74, 0x61, 0x6b, 0x65, 0x46, 0x72, 0x6f, 0x6d, 0x44, 0x65, 0x6c, 0x65, 0x67, 0x61, + 0x74, 0x6f, 0x72, 0x49, 0x6e, 0x54, 0x6f, 0x70, 0x69, 0x63, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, + 0x74, 0x12, 0x2b, 0x0a, 0x11, 0x64, 0x65, 0x6c, 0x65, 0x67, 0x61, 0x74, 0x6f, 0x72, 0x5f, 0x61, + 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x10, 0x64, 0x65, + 0x6c, 0x65, 0x67, 0x61, 0x74, 0x6f, 0x72, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x19, + 0x0a, 0x08, 0x74, 0x6f, 0x70, 0x69, 0x63, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x04, + 0x52, 0x07, 0x74, 0x6f, 0x70, 0x69, 0x63, 0x49, 0x64, 0x22, 0x76, 0x0a, 0x24, 0x47, 0x65, 0x74, + 0x53, 0x74, 0x61, 0x6b, 0x65, 0x46, 0x72, 0x6f, 0x6d, 0x44, 0x65, 0x6c, 0x65, 0x67, 0x61, 0x74, + 0x6f, 0x72, 0x49, 0x6e, 0x54, 0x6f, 0x70, 0x69, 0x63, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, + 0x65, 0x12, 0x48, 0x0a, 0x06, 0x61, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, + 0x09, 0x42, 0x30, 0xc8, 0xde, 0x1f, 0x00, 0xda, 0xde, 0x1f, 0x15, 0x63, 0x6f, 0x73, 0x6d, 0x6f, + 0x73, 0x73, 0x64, 0x6b, 0x2e, 0x69, 0x6f, 0x2f, 0x6d, 0x61, 0x74, 0x68, 0x2e, 0x49, 0x6e, 0x74, + 0xd2, 0xb4, 0x2d, 0x0a, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2e, 0x49, 0x6e, 0x74, 0xa8, 0xe7, + 0xb0, 0x2a, 0x01, 0x52, 0x06, 0x61, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x3a, 0x04, 0xe8, 0xa0, 0x1f, + 0x01, 0x22, 0x31, 0x0a, 0x14, 0x47, 0x65, 0x74, 0x54, 0x6f, 0x70, 0x69, 0x63, 0x53, 0x74, 0x61, + 0x6b, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x19, 0x0a, 0x08, 0x74, 0x6f, 0x70, + 0x69, 0x63, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x07, 0x74, 0x6f, 0x70, + 0x69, 0x63, 0x49, 0x64, 0x22, 0x67, 0x0a, 0x15, 0x47, 0x65, 0x74, 0x54, 0x6f, 0x70, 0x69, 0x63, + 0x53, 0x74, 0x61, 0x6b, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x48, 0x0a, + 0x06, 0x61, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x30, 0xc8, + 0xde, 0x1f, 0x00, 0xda, 0xde, 0x1f, 0x15, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x73, 0x64, 0x6b, + 0x2e, 0x69, 0x6f, 0x2f, 0x6d, 0x61, 0x74, 0x68, 0x2e, 0x49, 0x6e, 0x74, 0xd2, 0xb4, 0x2d, 0x0a, + 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2e, 0x49, 0x6e, 0x74, 0xa8, 0xe7, 0xb0, 0x2a, 0x01, 0x52, + 0x06, 0x61, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x3a, 0x04, 0xe8, 0xa0, 0x1f, 0x01, 0x22, 0x62, 0x0a, + 0x22, 0x47, 0x65, 0x74, 0x4e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x4c, 0x6f, 0x73, 0x73, 0x42, + 0x75, 0x6e, 0x64, 0x6c, 0x65, 0x41, 0x74, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x52, 0x65, 0x71, 0x75, + 0x65, 0x73, 0x74, 0x12, 0x19, 0x0a, 0x08, 0x74, 0x6f, 0x70, 0x69, 0x63, 0x5f, 0x69, 0x64, 0x18, + 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x07, 0x74, 0x6f, 0x70, 0x69, 0x63, 0x49, 0x64, 0x12, 0x21, + 0x0a, 0x0c, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x5f, 0x68, 0x65, 0x69, 0x67, 0x68, 0x74, 0x18, 0x02, + 0x20, 0x01, 0x28, 0x03, 0x52, 0x0b, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x48, 0x65, 0x69, 0x67, 0x68, + 0x74, 0x22, 0x61, 0x0a, 0x23, 0x47, 0x65, 0x74, 0x4e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x4c, + 0x6f, 0x73, 0x73, 0x42, 0x75, 0x6e, 0x64, 0x6c, 0x65, 0x41, 0x74, 0x42, 0x6c, 0x6f, 0x63, 0x6b, + 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x3a, 0x0a, 0x0b, 0x6c, 0x6f, 0x73, 0x73, + 0x5f, 0x62, 0x75, 0x6e, 0x64, 0x6c, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, + 0x65, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x33, 0x2e, 0x56, 0x61, 0x6c, + 0x75, 0x65, 0x42, 0x75, 0x6e, 0x64, 0x6c, 0x65, 0x52, 0x0a, 0x6c, 0x6f, 0x73, 0x73, 0x42, 0x75, + 0x6e, 0x64, 0x6c, 0x65, 0x22, 0x17, 0x0a, 0x15, 0x47, 0x65, 0x74, 0x4e, 0x65, 0x78, 0x74, 0x54, + 0x6f, 0x70, 0x69, 0x63, 0x49, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0x3c, 0x0a, + 0x16, 0x47, 0x65, 0x74, 0x4e, 0x65, 0x78, 0x74, 0x54, 0x6f, 0x70, 0x69, 0x63, 0x49, 0x64, 0x52, + 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x22, 0x0a, 0x0d, 0x6e, 0x65, 0x78, 0x74, 0x5f, + 0x74, 0x6f, 0x70, 0x69, 0x63, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0b, + 0x6e, 0x65, 0x78, 0x74, 0x54, 0x6f, 0x70, 0x69, 0x63, 0x49, 0x64, 0x22, 0x2c, 0x0a, 0x0f, 0x47, + 0x65, 0x74, 0x54, 0x6f, 0x70, 0x69, 0x63, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x19, + 0x0a, 0x08, 0x74, 0x6f, 0x70, 0x69, 0x63, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, + 0x52, 0x07, 0x74, 0x6f, 0x70, 0x69, 0x63, 0x49, 0x64, 0x22, 0x82, 0x01, 0x0a, 0x10, 0x47, 0x65, + 0x74, 0x54, 0x6f, 0x70, 0x69, 0x63, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x29, + 0x0a, 0x05, 0x74, 0x6f, 0x70, 0x69, 0x63, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x13, 0x2e, + 0x65, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x33, 0x2e, 0x54, 0x6f, 0x70, + 0x69, 0x63, 0x52, 0x05, 0x74, 0x6f, 0x70, 0x69, 0x63, 0x12, 0x16, 0x0a, 0x06, 0x77, 0x65, 0x69, + 0x67, 0x68, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x77, 0x65, 0x69, 0x67, 0x68, + 0x74, 0x12, 0x2b, 0x0a, 0x11, 0x65, 0x66, 0x66, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x72, + 0x65, 0x76, 0x65, 0x6e, 0x75, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x10, 0x65, 0x66, + 0x66, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x52, 0x65, 0x76, 0x65, 0x6e, 0x75, 0x65, 0x22, 0x65, + 0x0a, 0x16, 0x47, 0x65, 0x74, 0x41, 0x63, 0x74, 0x69, 0x76, 0x65, 0x54, 0x6f, 0x70, 0x69, 0x63, + 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x4b, 0x0a, 0x0a, 0x70, 0x61, 0x67, 0x69, + 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2b, 0x2e, 0x65, + 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x33, 0x2e, 0x53, 0x69, 0x6d, 0x70, + 0x6c, 0x65, 0x43, 0x75, 0x72, 0x73, 0x6f, 0x72, 0x50, 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74, 0x69, + 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x52, 0x0a, 0x70, 0x61, 0x67, 0x69, 0x6e, + 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x94, 0x01, 0x0a, 0x17, 0x47, 0x65, 0x74, 0x41, 0x63, 0x74, + 0x69, 0x76, 0x65, 0x54, 0x6f, 0x70, 0x69, 0x63, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, + 0x65, 0x12, 0x2b, 0x0a, 0x06, 0x74, 0x6f, 0x70, 0x69, 0x63, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, + 0x0b, 0x32, 0x13, 0x2e, 0x65, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x33, + 0x2e, 0x54, 0x6f, 0x70, 0x69, 0x63, 0x52, 0x06, 0x74, 0x6f, 0x70, 0x69, 0x63, 0x73, 0x12, 0x4c, + 0x0a, 0x0a, 0x70, 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, + 0x28, 0x0b, 0x32, 0x2c, 0x2e, 0x65, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, + 0x33, 0x2e, 0x53, 0x69, 0x6d, 0x70, 0x6c, 0x65, 0x43, 0x75, 0x72, 0x73, 0x6f, 0x72, 0x50, 0x61, + 0x67, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, + 0x52, 0x0a, 0x70, 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x5b, 0x0a, 0x1b, + 0x47, 0x65, 0x74, 0x49, 0x6e, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x73, 0x41, 0x74, 0x42, + 0x6c, 0x6f, 0x63, 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x19, 0x0a, 0x08, 0x74, + 0x6f, 0x70, 0x69, 0x63, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x07, 0x74, + 0x6f, 0x70, 0x69, 0x63, 0x49, 0x64, 0x12, 0x21, 0x0a, 0x0c, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x5f, + 0x68, 0x65, 0x69, 0x67, 0x68, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0b, 0x62, 0x6c, + 0x6f, 0x63, 0x6b, 0x48, 0x65, 0x69, 0x67, 0x68, 0x74, 0x22, 0x58, 0x0a, 0x1c, 0x47, 0x65, 0x74, + 0x49, 0x6e, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x73, 0x41, 0x74, 0x42, 0x6c, 0x6f, 0x63, + 0x6b, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x38, 0x0a, 0x0a, 0x69, 0x6e, 0x66, + 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x18, 0x2e, + 0x65, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x33, 0x2e, 0x49, 0x6e, 0x66, + 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x73, 0x52, 0x0a, 0x69, 0x6e, 0x66, 0x65, 0x72, 0x65, 0x6e, + 0x63, 0x65, 0x73, 0x22, 0x3c, 0x0a, 0x1f, 0x47, 0x65, 0x74, 0x4c, 0x61, 0x74, 0x65, 0x73, 0x74, + 0x54, 0x6f, 0x70, 0x69, 0x63, 0x49, 0x6e, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x73, 0x52, + 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x19, 0x0a, 0x08, 0x74, 0x6f, 0x70, 0x69, 0x63, 0x5f, + 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x07, 0x74, 0x6f, 0x70, 0x69, 0x63, 0x49, + 0x64, 0x22, 0x7f, 0x0a, 0x20, 0x47, 0x65, 0x74, 0x4c, 0x61, 0x74, 0x65, 0x73, 0x74, 0x54, 0x6f, + 0x70, 0x69, 0x63, 0x49, 0x6e, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x73, 0x52, 0x65, 0x73, + 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x38, 0x0a, 0x0a, 0x69, 0x6e, 0x66, 0x65, 0x72, 0x65, 0x6e, + 0x63, 0x65, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x18, 0x2e, 0x65, 0x6d, 0x69, 0x73, + 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x33, 0x2e, 0x49, 0x6e, 0x66, 0x65, 0x72, 0x65, 0x6e, + 0x63, 0x65, 0x73, 0x52, 0x0a, 0x69, 0x6e, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x73, 0x12, + 0x21, 0x0a, 0x0c, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x5f, 0x68, 0x65, 0x69, 0x67, 0x68, 0x74, 0x18, + 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0b, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x48, 0x65, 0x69, 0x67, + 0x68, 0x74, 0x22, 0x5a, 0x0a, 0x1a, 0x47, 0x65, 0x74, 0x46, 0x6f, 0x72, 0x65, 0x63, 0x61, 0x73, + 0x74, 0x73, 0x41, 0x74, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, + 0x12, 0x19, 0x0a, 0x08, 0x74, 0x6f, 0x70, 0x69, 0x63, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, + 0x28, 0x04, 0x52, 0x07, 0x74, 0x6f, 0x70, 0x69, 0x63, 0x49, 0x64, 0x12, 0x21, 0x0a, 0x0c, 0x62, + 0x6c, 0x6f, 0x63, 0x6b, 0x5f, 0x68, 0x65, 0x69, 0x67, 0x68, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, + 0x03, 0x52, 0x0b, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x48, 0x65, 0x69, 0x67, 0x68, 0x74, 0x22, 0x54, + 0x0a, 0x1b, 0x47, 0x65, 0x74, 0x46, 0x6f, 0x72, 0x65, 0x63, 0x61, 0x73, 0x74, 0x73, 0x41, 0x74, + 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x35, 0x0a, + 0x09, 0x66, 0x6f, 0x72, 0x65, 0x63, 0x61, 0x73, 0x74, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, + 0x32, 0x17, 0x2e, 0x65, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x33, 0x2e, + 0x46, 0x6f, 0x72, 0x65, 0x63, 0x61, 0x73, 0x74, 0x73, 0x52, 0x09, 0x66, 0x6f, 0x72, 0x65, 0x63, + 0x61, 0x73, 0x74, 0x73, 0x22, 0x6c, 0x0a, 0x28, 0x47, 0x65, 0x74, 0x57, 0x6f, 0x72, 0x6b, 0x65, + 0x72, 0x4c, 0x61, 0x74, 0x65, 0x73, 0x74, 0x49, 0x6e, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, + 0x42, 0x79, 0x54, 0x6f, 0x70, 0x69, 0x63, 0x49, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, + 0x12, 0x19, 0x0a, 0x08, 0x74, 0x6f, 0x70, 0x69, 0x63, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, + 0x28, 0x04, 0x52, 0x07, 0x74, 0x6f, 0x70, 0x69, 0x63, 0x49, 0x64, 0x12, 0x25, 0x0a, 0x0e, 0x77, + 0x6f, 0x72, 0x6b, 0x65, 0x72, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x02, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x0d, 0x77, 0x6f, 0x72, 0x6b, 0x65, 0x72, 0x41, 0x64, 0x64, 0x72, 0x65, + 0x73, 0x73, 0x22, 0x6f, 0x0a, 0x29, 0x47, 0x65, 0x74, 0x57, 0x6f, 0x72, 0x6b, 0x65, 0x72, 0x4c, + 0x61, 0x74, 0x65, 0x73, 0x74, 0x49, 0x6e, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x42, 0x79, + 0x54, 0x6f, 0x70, 0x69, 0x63, 0x49, 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, + 0x42, 0x0a, 0x10, 0x6c, 0x61, 0x74, 0x65, 0x73, 0x74, 0x5f, 0x69, 0x6e, 0x66, 0x65, 0x72, 0x65, + 0x6e, 0x63, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x65, 0x6d, 0x69, 0x73, + 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x33, 0x2e, 0x49, 0x6e, 0x66, 0x65, 0x72, 0x65, 0x6e, + 0x63, 0x65, 0x52, 0x0f, 0x6c, 0x61, 0x74, 0x65, 0x73, 0x74, 0x49, 0x6e, 0x66, 0x65, 0x72, 0x65, + 0x6e, 0x63, 0x65, 0x22, 0x46, 0x0a, 0x18, 0x47, 0x65, 0x74, 0x57, 0x6f, 0x72, 0x6b, 0x65, 0x72, + 0x4e, 0x6f, 0x64, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, + 0x18, 0x0a, 0x07, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, + 0x52, 0x07, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x4a, 0x04, 0x08, 0x01, 0x10, 0x02, 0x52, + 0x0a, 0x6c, 0x69, 0x62, 0x70, 0x32, 0x70, 0x5f, 0x6b, 0x65, 0x79, 0x22, 0x54, 0x0a, 0x19, 0x47, + 0x65, 0x74, 0x57, 0x6f, 0x72, 0x6b, 0x65, 0x72, 0x4e, 0x6f, 0x64, 0x65, 0x49, 0x6e, 0x66, 0x6f, + 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x37, 0x0a, 0x09, 0x6e, 0x6f, 0x64, 0x65, + 0x5f, 0x69, 0x6e, 0x66, 0x6f, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x65, 0x6d, + 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x33, 0x2e, 0x4f, 0x66, 0x66, 0x63, 0x68, + 0x61, 0x69, 0x6e, 0x4e, 0x6f, 0x64, 0x65, 0x52, 0x08, 0x6e, 0x6f, 0x64, 0x65, 0x49, 0x6e, 0x66, + 0x6f, 0x22, 0x47, 0x0a, 0x19, 0x47, 0x65, 0x74, 0x52, 0x65, 0x70, 0x75, 0x74, 0x65, 0x72, 0x4e, + 0x6f, 0x64, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x18, + 0x0a, 0x07, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x07, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x4a, 0x04, 0x08, 0x01, 0x10, 0x02, 0x52, 0x0a, + 0x6c, 0x69, 0x62, 0x70, 0x32, 0x70, 0x5f, 0x6b, 0x65, 0x79, 0x22, 0x55, 0x0a, 0x1a, 0x47, 0x65, + 0x74, 0x52, 0x65, 0x70, 0x75, 0x74, 0x65, 0x72, 0x4e, 0x6f, 0x64, 0x65, 0x49, 0x6e, 0x66, 0x6f, + 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x37, 0x0a, 0x09, 0x6e, 0x6f, 0x64, 0x65, + 0x5f, 0x69, 0x6e, 0x66, 0x6f, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x65, 0x6d, + 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x33, 0x2e, 0x4f, 0x66, 0x66, 0x63, 0x68, + 0x61, 0x69, 0x6e, 0x4e, 0x6f, 0x64, 0x65, 0x52, 0x08, 0x6e, 0x6f, 0x64, 0x65, 0x49, 0x6e, 0x66, + 0x6f, 0x22, 0x9e, 0x01, 0x0a, 0x22, 0x47, 0x65, 0x74, 0x4e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, + 0x49, 0x6e, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x73, 0x41, 0x74, 0x42, 0x6c, 0x6f, 0x63, + 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x19, 0x0a, 0x08, 0x74, 0x6f, 0x70, 0x69, + 0x63, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x07, 0x74, 0x6f, 0x70, 0x69, + 0x63, 0x49, 0x64, 0x12, 0x3d, 0x0a, 0x1b, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x5f, 0x68, 0x65, 0x69, + 0x67, 0x68, 0x74, 0x5f, 0x6c, 0x61, 0x73, 0x74, 0x5f, 0x69, 0x6e, 0x66, 0x65, 0x72, 0x65, 0x6e, + 0x63, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x18, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x48, + 0x65, 0x69, 0x67, 0x68, 0x74, 0x4c, 0x61, 0x73, 0x74, 0x49, 0x6e, 0x66, 0x65, 0x72, 0x65, 0x6e, + 0x63, 0x65, 0x4a, 0x04, 0x08, 0x03, 0x10, 0x04, 0x52, 0x18, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x5f, + 0x68, 0x65, 0x69, 0x67, 0x68, 0x74, 0x5f, 0x6c, 0x61, 0x73, 0x74, 0x5f, 0x72, 0x65, 0x77, 0x61, + 0x72, 0x64, 0x22, 0x8e, 0x01, 0x0a, 0x32, 0x47, 0x65, 0x74, 0x4e, 0x65, 0x74, 0x77, 0x6f, 0x72, + 0x6b, 0x49, 0x6e, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x73, 0x41, 0x74, 0x42, 0x6c, 0x6f, + 0x63, 0x6b, 0x4f, 0x75, 0x74, 0x6c, 0x69, 0x65, 0x72, 0x52, 0x65, 0x73, 0x69, 0x73, 0x74, 0x61, + 0x6e, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x19, 0x0a, 0x08, 0x74, 0x6f, 0x70, + 0x69, 0x63, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x07, 0x74, 0x6f, 0x70, + 0x69, 0x63, 0x49, 0x64, 0x12, 0x3d, 0x0a, 0x1b, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x5f, 0x68, 0x65, + 0x69, 0x67, 0x68, 0x74, 0x5f, 0x6c, 0x61, 0x73, 0x74, 0x5f, 0x69, 0x6e, 0x66, 0x65, 0x72, 0x65, + 0x6e, 0x63, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x18, 0x62, 0x6c, 0x6f, 0x63, 0x6b, + 0x48, 0x65, 0x69, 0x67, 0x68, 0x74, 0x4c, 0x61, 0x73, 0x74, 0x49, 0x6e, 0x66, 0x65, 0x72, 0x65, + 0x6e, 0x63, 0x65, 0x22, 0x3e, 0x0a, 0x21, 0x47, 0x65, 0x74, 0x4c, 0x61, 0x74, 0x65, 0x73, 0x74, + 0x4e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x49, 0x6e, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, + 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x19, 0x0a, 0x08, 0x74, 0x6f, 0x70, 0x69, + 0x63, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x07, 0x74, 0x6f, 0x70, 0x69, + 0x63, 0x49, 0x64, 0x22, 0x4e, 0x0a, 0x31, 0x47, 0x65, 0x74, 0x4c, 0x61, 0x74, 0x65, 0x73, 0x74, + 0x4e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x49, 0x6e, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, + 0x73, 0x4f, 0x75, 0x74, 0x6c, 0x69, 0x65, 0x72, 0x52, 0x65, 0x73, 0x69, 0x73, 0x74, 0x61, 0x6e, + 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x19, 0x0a, 0x08, 0x74, 0x6f, 0x70, 0x69, + 0x63, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x07, 0x74, 0x6f, 0x70, 0x69, + 0x63, 0x49, 0x64, 0x22, 0x47, 0x0a, 0x2a, 0x47, 0x65, 0x74, 0x4c, 0x61, 0x74, 0x65, 0x73, 0x74, + 0x41, 0x76, 0x61, 0x69, 0x6c, 0x61, 0x62, 0x6c, 0x65, 0x4e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, + 0x49, 0x6e, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, + 0x74, 0x12, 0x19, 0x0a, 0x08, 0x74, 0x6f, 0x70, 0x69, 0x63, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x04, 0x52, 0x07, 0x74, 0x6f, 0x70, 0x69, 0x63, 0x49, 0x64, 0x22, 0x57, 0x0a, 0x3a, + 0x47, 0x65, 0x74, 0x4c, 0x61, 0x74, 0x65, 0x73, 0x74, 0x41, 0x76, 0x61, 0x69, 0x6c, 0x61, 0x62, + 0x6c, 0x65, 0x4e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x49, 0x6e, 0x66, 0x65, 0x72, 0x65, 0x6e, + 0x63, 0x65, 0x73, 0x4f, 0x75, 0x74, 0x6c, 0x69, 0x65, 0x72, 0x52, 0x65, 0x73, 0x69, 0x73, 0x74, + 0x61, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x19, 0x0a, 0x08, 0x74, 0x6f, + 0x70, 0x69, 0x63, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x07, 0x74, 0x6f, + 0x70, 0x69, 0x63, 0x49, 0x64, 0x22, 0x5f, 0x0a, 0x1f, 0x49, 0x73, 0x57, 0x6f, 0x72, 0x6b, 0x65, + 0x72, 0x4e, 0x6f, 0x6e, 0x63, 0x65, 0x55, 0x6e, 0x66, 0x75, 0x6c, 0x66, 0x69, 0x6c, 0x6c, 0x65, + 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x19, 0x0a, 0x08, 0x74, 0x6f, 0x70, 0x69, + 0x63, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x07, 0x74, 0x6f, 0x70, 0x69, + 0x63, 0x49, 0x64, 0x12, 0x21, 0x0a, 0x0c, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x5f, 0x68, 0x65, 0x69, + 0x67, 0x68, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0b, 0x62, 0x6c, 0x6f, 0x63, 0x6b, + 0x48, 0x65, 0x69, 0x67, 0x68, 0x74, 0x22, 0x68, 0x0a, 0x20, 0x49, 0x73, 0x57, 0x6f, 0x72, 0x6b, + 0x65, 0x72, 0x4e, 0x6f, 0x6e, 0x63, 0x65, 0x55, 0x6e, 0x66, 0x75, 0x6c, 0x66, 0x69, 0x6c, 0x6c, + 0x65, 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x44, 0x0a, 0x1b, 0x69, 0x73, + 0x5f, 0x77, 0x6f, 0x72, 0x6b, 0x65, 0x72, 0x5f, 0x6e, 0x6f, 0x6e, 0x63, 0x65, 0x5f, 0x75, 0x6e, + 0x66, 0x75, 0x6c, 0x66, 0x69, 0x6c, 0x6c, 0x65, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x42, + 0x05, 0xa8, 0xe7, 0xb0, 0x2a, 0x01, 0x52, 0x18, 0x69, 0x73, 0x57, 0x6f, 0x72, 0x6b, 0x65, 0x72, + 0x4e, 0x6f, 0x6e, 0x63, 0x65, 0x55, 0x6e, 0x66, 0x75, 0x6c, 0x66, 0x69, 0x6c, 0x6c, 0x65, 0x64, + 0x22, 0x3f, 0x0a, 0x22, 0x47, 0x65, 0x74, 0x55, 0x6e, 0x66, 0x75, 0x6c, 0x66, 0x69, 0x6c, 0x6c, + 0x65, 0x64, 0x52, 0x65, 0x70, 0x75, 0x74, 0x65, 0x72, 0x4e, 0x6f, 0x6e, 0x63, 0x65, 0x73, 0x52, + 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x19, 0x0a, 0x08, 0x74, 0x6f, 0x70, 0x69, 0x63, 0x5f, + 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x07, 0x74, 0x6f, 0x70, 0x69, 0x63, 0x49, + 0x64, 0x22, 0x61, 0x0a, 0x23, 0x47, 0x65, 0x74, 0x55, 0x6e, 0x66, 0x75, 0x6c, 0x66, 0x69, 0x6c, + 0x6c, 0x65, 0x64, 0x52, 0x65, 0x70, 0x75, 0x74, 0x65, 0x72, 0x4e, 0x6f, 0x6e, 0x63, 0x65, 0x73, + 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x3a, 0x0a, 0x06, 0x6e, 0x6f, 0x6e, 0x63, + 0x65, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x22, 0x2e, 0x65, 0x6d, 0x69, 0x73, 0x73, + 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x33, 0x2e, 0x52, 0x65, 0x70, 0x75, 0x74, 0x65, 0x72, 0x52, + 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x4e, 0x6f, 0x6e, 0x63, 0x65, 0x73, 0x52, 0x06, 0x6e, 0x6f, + 0x6e, 0x63, 0x65, 0x73, 0x22, 0x3e, 0x0a, 0x21, 0x47, 0x65, 0x74, 0x55, 0x6e, 0x66, 0x75, 0x6c, + 0x66, 0x69, 0x6c, 0x6c, 0x65, 0x64, 0x57, 0x6f, 0x72, 0x6b, 0x65, 0x72, 0x4e, 0x6f, 0x6e, 0x63, + 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x19, 0x0a, 0x08, 0x74, 0x6f, 0x70, + 0x69, 0x63, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x07, 0x74, 0x6f, 0x70, + 0x69, 0x63, 0x49, 0x64, 0x22, 0x52, 0x0a, 0x22, 0x47, 0x65, 0x74, 0x55, 0x6e, 0x66, 0x75, 0x6c, + 0x66, 0x69, 0x6c, 0x6c, 0x65, 0x64, 0x57, 0x6f, 0x72, 0x6b, 0x65, 0x72, 0x4e, 0x6f, 0x6e, 0x63, + 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x2c, 0x0a, 0x06, 0x6e, 0x6f, + 0x6e, 0x63, 0x65, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x65, 0x6d, 0x69, + 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x33, 0x2e, 0x4e, 0x6f, 0x6e, 0x63, 0x65, 0x73, + 0x52, 0x06, 0x6e, 0x6f, 0x6e, 0x63, 0x65, 0x73, 0x22, 0x56, 0x0a, 0x1e, 0x47, 0x65, 0x74, 0x49, + 0x6e, 0x66, 0x65, 0x72, 0x65, 0x72, 0x4e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x52, 0x65, 0x67, + 0x72, 0x65, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x19, 0x0a, 0x08, 0x74, 0x6f, + 0x70, 0x69, 0x63, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x07, 0x74, 0x6f, + 0x70, 0x69, 0x63, 0x49, 0x64, 0x12, 0x19, 0x0a, 0x08, 0x61, 0x63, 0x74, 0x6f, 0x72, 0x5f, 0x69, + 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x61, 0x63, 0x74, 0x6f, 0x72, 0x49, 0x64, + 0x22, 0x59, 0x0a, 0x1f, 0x47, 0x65, 0x74, 0x49, 0x6e, 0x66, 0x65, 0x72, 0x65, 0x72, 0x4e, 0x65, + 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x52, 0x65, 0x67, 0x72, 0x65, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, + 0x6e, 0x73, 0x65, 0x12, 0x36, 0x0a, 0x06, 0x72, 0x65, 0x67, 0x72, 0x65, 0x74, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x65, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2e, + 0x76, 0x33, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x65, 0x64, 0x56, 0x61, + 0x6c, 0x75, 0x65, 0x52, 0x06, 0x72, 0x65, 0x67, 0x72, 0x65, 0x74, 0x22, 0x56, 0x0a, 0x21, 0x47, + 0x65, 0x74, 0x46, 0x6f, 0x72, 0x65, 0x63, 0x61, 0x73, 0x74, 0x65, 0x72, 0x4e, 0x65, 0x74, 0x77, + 0x6f, 0x72, 0x6b, 0x52, 0x65, 0x67, 0x72, 0x65, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, + 0x12, 0x19, 0x0a, 0x08, 0x74, 0x6f, 0x70, 0x69, 0x63, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, + 0x28, 0x04, 0x52, 0x07, 0x74, 0x6f, 0x70, 0x69, 0x63, 0x49, 0x64, 0x12, 0x16, 0x0a, 0x06, 0x77, + 0x6f, 0x72, 0x6b, 0x65, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x77, 0x6f, 0x72, + 0x6b, 0x65, 0x72, 0x22, 0x5c, 0x0a, 0x22, 0x47, 0x65, 0x74, 0x46, 0x6f, 0x72, 0x65, 0x63, 0x61, + 0x73, 0x74, 0x65, 0x72, 0x4e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x52, 0x65, 0x67, 0x72, 0x65, + 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x36, 0x0a, 0x06, 0x72, 0x65, 0x67, + 0x72, 0x65, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x65, 0x6d, 0x69, 0x73, + 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x33, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, + 0x6d, 0x70, 0x65, 0x64, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x06, 0x72, 0x65, 0x67, 0x72, 0x65, + 0x74, 0x22, 0x7d, 0x0a, 0x26, 0x47, 0x65, 0x74, 0x4f, 0x6e, 0x65, 0x49, 0x6e, 0x46, 0x6f, 0x72, + 0x65, 0x63, 0x61, 0x73, 0x74, 0x65, 0x72, 0x4e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x52, 0x65, + 0x67, 0x72, 0x65, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x19, 0x0a, 0x08, 0x74, + 0x6f, 0x70, 0x69, 0x63, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x07, 0x74, + 0x6f, 0x70, 0x69, 0x63, 0x49, 0x64, 0x12, 0x1e, 0x0a, 0x0a, 0x66, 0x6f, 0x72, 0x65, 0x63, 0x61, + 0x73, 0x74, 0x65, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x66, 0x6f, 0x72, 0x65, + 0x63, 0x61, 0x73, 0x74, 0x65, 0x72, 0x12, 0x18, 0x0a, 0x07, 0x69, 0x6e, 0x66, 0x65, 0x72, 0x65, + 0x72, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x69, 0x6e, 0x66, 0x65, 0x72, 0x65, 0x72, + 0x22, 0x61, 0x0a, 0x27, 0x47, 0x65, 0x74, 0x4f, 0x6e, 0x65, 0x49, 0x6e, 0x46, 0x6f, 0x72, 0x65, + 0x63, 0x61, 0x73, 0x74, 0x65, 0x72, 0x4e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x52, 0x65, 0x67, + 0x72, 0x65, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x36, 0x0a, 0x06, 0x72, + 0x65, 0x67, 0x72, 0x65, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x65, 0x6d, + 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x33, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, + 0x74, 0x61, 0x6d, 0x70, 0x65, 0x64, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x06, 0x72, 0x65, 0x67, + 0x72, 0x65, 0x74, 0x22, 0x60, 0x0a, 0x20, 0x49, 0x73, 0x52, 0x65, 0x70, 0x75, 0x74, 0x65, 0x72, + 0x4e, 0x6f, 0x6e, 0x63, 0x65, 0x55, 0x6e, 0x66, 0x75, 0x6c, 0x66, 0x69, 0x6c, 0x6c, 0x65, 0x64, + 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x19, 0x0a, 0x08, 0x74, 0x6f, 0x70, 0x69, 0x63, + 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x07, 0x74, 0x6f, 0x70, 0x69, 0x63, + 0x49, 0x64, 0x12, 0x21, 0x0a, 0x0c, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x5f, 0x68, 0x65, 0x69, 0x67, + 0x68, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0b, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x48, + 0x65, 0x69, 0x67, 0x68, 0x74, 0x22, 0x6b, 0x0a, 0x21, 0x49, 0x73, 0x52, 0x65, 0x70, 0x75, 0x74, + 0x65, 0x72, 0x4e, 0x6f, 0x6e, 0x63, 0x65, 0x55, 0x6e, 0x66, 0x75, 0x6c, 0x66, 0x69, 0x6c, 0x6c, + 0x65, 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x46, 0x0a, 0x1c, 0x69, 0x73, + 0x5f, 0x72, 0x65, 0x70, 0x75, 0x74, 0x65, 0x72, 0x5f, 0x6e, 0x6f, 0x6e, 0x63, 0x65, 0x5f, 0x75, + 0x6e, 0x66, 0x75, 0x6c, 0x66, 0x69, 0x6c, 0x6c, 0x65, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, + 0x42, 0x05, 0xa8, 0xe7, 0xb0, 0x2a, 0x01, 0x52, 0x19, 0x69, 0x73, 0x52, 0x65, 0x70, 0x75, 0x74, + 0x65, 0x72, 0x4e, 0x6f, 0x6e, 0x63, 0x65, 0x55, 0x6e, 0x66, 0x75, 0x6c, 0x66, 0x69, 0x6c, 0x6c, + 0x65, 0x64, 0x22, 0x6f, 0x0a, 0x23, 0x47, 0x65, 0x74, 0x4e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, + 0x49, 0x6e, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x73, 0x41, 0x74, 0x42, 0x6c, 0x6f, 0x63, + 0x6b, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x48, 0x0a, 0x12, 0x6e, 0x65, 0x74, + 0x77, 0x6f, 0x72, 0x6b, 0x5f, 0x69, 0x6e, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x73, 0x18, + 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x65, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, + 0x73, 0x2e, 0x76, 0x33, 0x2e, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x42, 0x75, 0x6e, 0x64, 0x6c, 0x65, + 0x52, 0x11, 0x6e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x49, 0x6e, 0x66, 0x65, 0x72, 0x65, 0x6e, + 0x63, 0x65, 0x73, 0x22, 0x7f, 0x0a, 0x33, 0x47, 0x65, 0x74, 0x4e, 0x65, 0x74, 0x77, 0x6f, 0x72, + 0x6b, 0x49, 0x6e, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x73, 0x41, 0x74, 0x42, 0x6c, 0x6f, + 0x63, 0x6b, 0x4f, 0x75, 0x74, 0x6c, 0x69, 0x65, 0x72, 0x52, 0x65, 0x73, 0x69, 0x73, 0x74, 0x61, + 0x6e, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x48, 0x0a, 0x12, 0x6e, 0x65, + 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x5f, 0x69, 0x6e, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x73, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x65, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, + 0x6e, 0x73, 0x2e, 0x76, 0x33, 0x2e, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x42, 0x75, 0x6e, 0x64, 0x6c, + 0x65, 0x52, 0x11, 0x6e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x49, 0x6e, 0x66, 0x65, 0x72, 0x65, + 0x6e, 0x63, 0x65, 0x73, 0x22, 0x93, 0x05, 0x0a, 0x22, 0x47, 0x65, 0x74, 0x4c, 0x61, 0x74, 0x65, + 0x73, 0x74, 0x4e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x49, 0x6e, 0x66, 0x65, 0x72, 0x65, 0x6e, + 0x63, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x48, 0x0a, 0x12, 0x6e, + 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x5f, 0x69, 0x6e, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, + 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x65, 0x6d, 0x69, 0x73, 0x73, 0x69, + 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x33, 0x2e, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x42, 0x75, 0x6e, 0x64, + 0x6c, 0x65, 0x52, 0x11, 0x6e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x49, 0x6e, 0x66, 0x65, 0x72, + 0x65, 0x6e, 0x63, 0x65, 0x73, 0x12, 0x4b, 0x0a, 0x0f, 0x69, 0x6e, 0x66, 0x65, 0x72, 0x65, 0x72, + 0x5f, 0x77, 0x65, 0x69, 0x67, 0x68, 0x74, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x22, + 0x2e, 0x65, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x33, 0x2e, 0x52, 0x65, + 0x67, 0x72, 0x65, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x72, 0x6d, 0x65, 0x64, 0x57, 0x65, 0x69, 0x67, + 0x68, 0x74, 0x52, 0x0e, 0x69, 0x6e, 0x66, 0x65, 0x72, 0x65, 0x72, 0x57, 0x65, 0x69, 0x67, 0x68, + 0x74, 0x73, 0x12, 0x51, 0x0a, 0x12, 0x66, 0x6f, 0x72, 0x65, 0x63, 0x61, 0x73, 0x74, 0x65, 0x72, + 0x5f, 0x77, 0x65, 0x69, 0x67, 0x68, 0x74, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x22, + 0x2e, 0x65, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x33, 0x2e, 0x52, 0x65, + 0x67, 0x72, 0x65, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x72, 0x6d, 0x65, 0x64, 0x57, 0x65, 0x69, 0x67, + 0x68, 0x74, 0x52, 0x11, 0x66, 0x6f, 0x72, 0x65, 0x63, 0x61, 0x73, 0x74, 0x65, 0x72, 0x57, 0x65, + 0x69, 0x67, 0x68, 0x74, 0x73, 0x12, 0x34, 0x0a, 0x16, 0x69, 0x6e, 0x66, 0x65, 0x72, 0x65, 0x6e, + 0x63, 0x65, 0x5f, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x5f, 0x68, 0x65, 0x69, 0x67, 0x68, 0x74, 0x18, + 0x05, 0x20, 0x01, 0x28, 0x03, 0x52, 0x14, 0x69, 0x6e, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, + 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x48, 0x65, 0x69, 0x67, 0x68, 0x74, 0x12, 0x2a, 0x0a, 0x11, 0x6c, + 0x6f, 0x73, 0x73, 0x5f, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x5f, 0x68, 0x65, 0x69, 0x67, 0x68, 0x74, + 0x18, 0x06, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0f, 0x6c, 0x6f, 0x73, 0x73, 0x42, 0x6c, 0x6f, 0x63, + 0x6b, 0x48, 0x65, 0x69, 0x67, 0x68, 0x74, 0x12, 0x86, 0x01, 0x0a, 0x23, 0x63, 0x6f, 0x6e, 0x66, + 0x69, 0x64, 0x65, 0x6e, 0x63, 0x65, 0x5f, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x76, 0x61, 0x6c, 0x5f, + 0x72, 0x61, 0x77, 0x5f, 0x70, 0x65, 0x72, 0x63, 0x65, 0x6e, 0x74, 0x69, 0x6c, 0x65, 0x73, 0x18, + 0x07, 0x20, 0x03, 0x28, 0x09, 0x42, 0x37, 0xc8, 0xde, 0x1f, 0x00, 0xda, 0xde, 0x1f, 0x2f, 0x67, + 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x61, 0x6c, 0x6c, 0x6f, 0x72, 0x61, + 0x2d, 0x6e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x2f, 0x61, 0x6c, 0x6c, 0x6f, 0x72, 0x61, 0x2d, + 0x63, 0x68, 0x61, 0x69, 0x6e, 0x2f, 0x6d, 0x61, 0x74, 0x68, 0x2e, 0x44, 0x65, 0x63, 0x52, 0x20, + 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x64, 0x65, 0x6e, 0x63, 0x65, 0x49, 0x6e, 0x74, 0x65, 0x72, 0x76, + 0x61, 0x6c, 0x52, 0x61, 0x77, 0x50, 0x65, 0x72, 0x63, 0x65, 0x6e, 0x74, 0x69, 0x6c, 0x65, 0x73, + 0x12, 0x75, 0x0a, 0x1a, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x64, 0x65, 0x6e, 0x63, 0x65, 0x5f, 0x69, + 0x6e, 0x74, 0x65, 0x72, 0x76, 0x61, 0x6c, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x18, 0x08, + 0x20, 0x03, 0x28, 0x09, 0x42, 0x37, 0xc8, 0xde, 0x1f, 0x00, 0xda, 0xde, 0x1f, 0x2f, 0x67, 0x69, + 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x61, 0x6c, 0x6c, 0x6f, 0x72, 0x61, 0x2d, + 0x6e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x2f, 0x61, 0x6c, 0x6c, 0x6f, 0x72, 0x61, 0x2d, 0x63, + 0x68, 0x61, 0x69, 0x6e, 0x2f, 0x6d, 0x61, 0x74, 0x68, 0x2e, 0x44, 0x65, 0x63, 0x52, 0x18, 0x63, + 0x6f, 0x6e, 0x66, 0x69, 0x64, 0x65, 0x6e, 0x63, 0x65, 0x49, 0x6e, 0x74, 0x65, 0x72, 0x76, 0x61, + 0x6c, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x4a, 0x04, 0x08, 0x04, 0x10, 0x05, 0x52, 0x1b, 0x66, + 0x6f, 0x72, 0x65, 0x63, 0x61, 0x73, 0x74, 0x5f, 0x69, 0x6d, 0x70, 0x6c, 0x69, 0x65, 0x64, 0x5f, + 0x69, 0x6e, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x73, 0x22, 0xa3, 0x05, 0x0a, 0x32, 0x47, + 0x65, 0x74, 0x4c, 0x61, 0x74, 0x65, 0x73, 0x74, 0x4e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x49, + 0x6e, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x73, 0x4f, 0x75, 0x74, 0x6c, 0x69, 0x65, 0x72, + 0x52, 0x65, 0x73, 0x69, 0x73, 0x74, 0x61, 0x6e, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, + 0x65, 0x12, 0x48, 0x0a, 0x12, 0x6e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x5f, 0x69, 0x6e, 0x66, + 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, + 0x65, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x33, 0x2e, 0x56, 0x61, 0x6c, + 0x75, 0x65, 0x42, 0x75, 0x6e, 0x64, 0x6c, 0x65, 0x52, 0x11, 0x6e, 0x65, 0x74, 0x77, 0x6f, 0x72, + 0x6b, 0x49, 0x6e, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x73, 0x12, 0x4b, 0x0a, 0x0f, 0x69, + 0x6e, 0x66, 0x65, 0x72, 0x65, 0x72, 0x5f, 0x77, 0x65, 0x69, 0x67, 0x68, 0x74, 0x73, 0x18, 0x02, + 0x20, 0x03, 0x28, 0x0b, 0x32, 0x22, 0x2e, 0x65, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, + 0x2e, 0x76, 0x33, 0x2e, 0x52, 0x65, 0x67, 0x72, 0x65, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x72, 0x6d, + 0x65, 0x64, 0x57, 0x65, 0x69, 0x67, 0x68, 0x74, 0x52, 0x0e, 0x69, 0x6e, 0x66, 0x65, 0x72, 0x65, + 0x72, 0x57, 0x65, 0x69, 0x67, 0x68, 0x74, 0x73, 0x12, 0x51, 0x0a, 0x12, 0x66, 0x6f, 0x72, 0x65, + 0x63, 0x61, 0x73, 0x74, 0x65, 0x72, 0x5f, 0x77, 0x65, 0x69, 0x67, 0x68, 0x74, 0x73, 0x18, 0x03, + 0x20, 0x03, 0x28, 0x0b, 0x32, 0x22, 0x2e, 0x65, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, + 0x2e, 0x76, 0x33, 0x2e, 0x52, 0x65, 0x67, 0x72, 0x65, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x72, 0x6d, + 0x65, 0x64, 0x57, 0x65, 0x69, 0x67, 0x68, 0x74, 0x52, 0x11, 0x66, 0x6f, 0x72, 0x65, 0x63, 0x61, + 0x73, 0x74, 0x65, 0x72, 0x57, 0x65, 0x69, 0x67, 0x68, 0x74, 0x73, 0x12, 0x34, 0x0a, 0x16, 0x69, + 0x6e, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x5f, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x5f, 0x68, + 0x65, 0x69, 0x67, 0x68, 0x74, 0x18, 0x05, 0x20, 0x01, 0x28, 0x03, 0x52, 0x14, 0x69, 0x6e, 0x66, + 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x48, 0x65, 0x69, 0x67, 0x68, + 0x74, 0x12, 0x2a, 0x0a, 0x11, 0x6c, 0x6f, 0x73, 0x73, 0x5f, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x5f, + 0x68, 0x65, 0x69, 0x67, 0x68, 0x74, 0x18, 0x06, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0f, 0x6c, 0x6f, + 0x73, 0x73, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x48, 0x65, 0x69, 0x67, 0x68, 0x74, 0x12, 0x86, 0x01, + 0x0a, 0x23, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x64, 0x65, 0x6e, 0x63, 0x65, 0x5f, 0x69, 0x6e, 0x74, + 0x65, 0x72, 0x76, 0x61, 0x6c, 0x5f, 0x72, 0x61, 0x77, 0x5f, 0x70, 0x65, 0x72, 0x63, 0x65, 0x6e, + 0x74, 0x69, 0x6c, 0x65, 0x73, 0x18, 0x07, 0x20, 0x03, 0x28, 0x09, 0x42, 0x37, 0xc8, 0xde, 0x1f, + 0x00, 0xda, 0xde, 0x1f, 0x2f, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, + 0x61, 0x6c, 0x6c, 0x6f, 0x72, 0x61, 0x2d, 0x6e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x2f, 0x61, + 0x6c, 0x6c, 0x6f, 0x72, 0x61, 0x2d, 0x63, 0x68, 0x61, 0x69, 0x6e, 0x2f, 0x6d, 0x61, 0x74, 0x68, + 0x2e, 0x44, 0x65, 0x63, 0x52, 0x20, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x64, 0x65, 0x6e, 0x63, 0x65, + 0x49, 0x6e, 0x74, 0x65, 0x72, 0x76, 0x61, 0x6c, 0x52, 0x61, 0x77, 0x50, 0x65, 0x72, 0x63, 0x65, + 0x6e, 0x74, 0x69, 0x6c, 0x65, 0x73, 0x12, 0x75, 0x0a, 0x1a, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x64, + 0x65, 0x6e, 0x63, 0x65, 0x5f, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x76, 0x61, 0x6c, 0x5f, 0x76, 0x61, + 0x6c, 0x75, 0x65, 0x73, 0x18, 0x08, 0x20, 0x03, 0x28, 0x09, 0x42, 0x37, 0xc8, 0xde, 0x1f, 0x00, + 0xda, 0xde, 0x1f, 0x2f, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x61, + 0x6c, 0x6c, 0x6f, 0x72, 0x61, 0x2d, 0x6e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x2f, 0x61, 0x6c, + 0x6c, 0x6f, 0x72, 0x61, 0x2d, 0x63, 0x68, 0x61, 0x69, 0x6e, 0x2f, 0x6d, 0x61, 0x74, 0x68, 0x2e, + 0x44, 0x65, 0x63, 0x52, 0x18, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x64, 0x65, 0x6e, 0x63, 0x65, 0x49, + 0x6e, 0x74, 0x65, 0x72, 0x76, 0x61, 0x6c, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x4a, 0x04, 0x08, + 0x04, 0x10, 0x05, 0x52, 0x1b, 0x66, 0x6f, 0x72, 0x65, 0x63, 0x61, 0x73, 0x74, 0x5f, 0x69, 0x6d, + 0x70, 0x6c, 0x69, 0x65, 0x64, 0x5f, 0x69, 0x6e, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x73, + 0x22, 0x9c, 0x05, 0x0a, 0x2b, 0x47, 0x65, 0x74, 0x4c, 0x61, 0x74, 0x65, 0x73, 0x74, 0x41, 0x76, + 0x61, 0x69, 0x6c, 0x61, 0x62, 0x6c, 0x65, 0x4e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x49, 0x6e, + 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, + 0x12, 0x48, 0x0a, 0x12, 0x6e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x5f, 0x69, 0x6e, 0x66, 0x65, + 0x72, 0x65, 0x6e, 0x63, 0x65, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x65, + 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x33, 0x2e, 0x56, 0x61, 0x6c, 0x75, + 0x65, 0x42, 0x75, 0x6e, 0x64, 0x6c, 0x65, 0x52, 0x11, 0x6e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, + 0x49, 0x6e, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x73, 0x12, 0x4b, 0x0a, 0x0f, 0x69, 0x6e, + 0x66, 0x65, 0x72, 0x65, 0x72, 0x5f, 0x77, 0x65, 0x69, 0x67, 0x68, 0x74, 0x73, 0x18, 0x02, 0x20, + 0x03, 0x28, 0x0b, 0x32, 0x22, 0x2e, 0x65, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2e, + 0x76, 0x33, 0x2e, 0x52, 0x65, 0x67, 0x72, 0x65, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x72, 0x6d, 0x65, + 0x64, 0x57, 0x65, 0x69, 0x67, 0x68, 0x74, 0x52, 0x0e, 0x69, 0x6e, 0x66, 0x65, 0x72, 0x65, 0x72, + 0x57, 0x65, 0x69, 0x67, 0x68, 0x74, 0x73, 0x12, 0x51, 0x0a, 0x12, 0x66, 0x6f, 0x72, 0x65, 0x63, + 0x61, 0x73, 0x74, 0x65, 0x72, 0x5f, 0x77, 0x65, 0x69, 0x67, 0x68, 0x74, 0x73, 0x18, 0x03, 0x20, + 0x03, 0x28, 0x0b, 0x32, 0x22, 0x2e, 0x65, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2e, + 0x76, 0x33, 0x2e, 0x52, 0x65, 0x67, 0x72, 0x65, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x72, 0x6d, 0x65, + 0x64, 0x57, 0x65, 0x69, 0x67, 0x68, 0x74, 0x52, 0x11, 0x66, 0x6f, 0x72, 0x65, 0x63, 0x61, 0x73, + 0x74, 0x65, 0x72, 0x57, 0x65, 0x69, 0x67, 0x68, 0x74, 0x73, 0x12, 0x34, 0x0a, 0x16, 0x69, 0x6e, + 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x5f, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x5f, 0x68, 0x65, + 0x69, 0x67, 0x68, 0x74, 0x18, 0x05, 0x20, 0x01, 0x28, 0x03, 0x52, 0x14, 0x69, 0x6e, 0x66, 0x65, + 0x72, 0x65, 0x6e, 0x63, 0x65, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x48, 0x65, 0x69, 0x67, 0x68, 0x74, + 0x12, 0x2a, 0x0a, 0x11, 0x6c, 0x6f, 0x73, 0x73, 0x5f, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x5f, 0x68, + 0x65, 0x69, 0x67, 0x68, 0x74, 0x18, 0x06, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0f, 0x6c, 0x6f, 0x73, + 0x73, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x48, 0x65, 0x69, 0x67, 0x68, 0x74, 0x12, 0x86, 0x01, 0x0a, + 0x23, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x64, 0x65, 0x6e, 0x63, 0x65, 0x5f, 0x69, 0x6e, 0x74, 0x65, + 0x72, 0x76, 0x61, 0x6c, 0x5f, 0x72, 0x61, 0x77, 0x5f, 0x70, 0x65, 0x72, 0x63, 0x65, 0x6e, 0x74, + 0x69, 0x6c, 0x65, 0x73, 0x18, 0x07, 0x20, 0x03, 0x28, 0x09, 0x42, 0x37, 0xc8, 0xde, 0x1f, 0x00, + 0xda, 0xde, 0x1f, 0x2f, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x61, + 0x6c, 0x6c, 0x6f, 0x72, 0x61, 0x2d, 0x6e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x2f, 0x61, 0x6c, + 0x6c, 0x6f, 0x72, 0x61, 0x2d, 0x63, 0x68, 0x61, 0x69, 0x6e, 0x2f, 0x6d, 0x61, 0x74, 0x68, 0x2e, + 0x44, 0x65, 0x63, 0x52, 0x20, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x64, 0x65, 0x6e, 0x63, 0x65, 0x49, + 0x6e, 0x74, 0x65, 0x72, 0x76, 0x61, 0x6c, 0x52, 0x61, 0x77, 0x50, 0x65, 0x72, 0x63, 0x65, 0x6e, + 0x74, 0x69, 0x6c, 0x65, 0x73, 0x12, 0x75, 0x0a, 0x1a, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x64, 0x65, + 0x6e, 0x63, 0x65, 0x5f, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x76, 0x61, 0x6c, 0x5f, 0x76, 0x61, 0x6c, + 0x75, 0x65, 0x73, 0x18, 0x08, 0x20, 0x03, 0x28, 0x09, 0x42, 0x37, 0xc8, 0xde, 0x1f, 0x00, 0xda, + 0xde, 0x1f, 0x2f, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x61, 0x6c, + 0x6c, 0x6f, 0x72, 0x61, 0x2d, 0x6e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x2f, 0x61, 0x6c, 0x6c, + 0x6f, 0x72, 0x61, 0x2d, 0x63, 0x68, 0x61, 0x69, 0x6e, 0x2f, 0x6d, 0x61, 0x74, 0x68, 0x2e, 0x44, + 0x65, 0x63, 0x52, 0x18, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x64, 0x65, 0x6e, 0x63, 0x65, 0x49, 0x6e, + 0x74, 0x65, 0x72, 0x76, 0x61, 0x6c, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x4a, 0x04, 0x08, 0x04, + 0x10, 0x05, 0x52, 0x1b, 0x66, 0x6f, 0x72, 0x65, 0x63, 0x61, 0x73, 0x74, 0x5f, 0x69, 0x6d, 0x70, + 0x6c, 0x69, 0x65, 0x64, 0x5f, 0x69, 0x6e, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x73, 0x22, + 0xac, 0x05, 0x0a, 0x3b, 0x47, 0x65, 0x74, 0x4c, 0x61, 0x74, 0x65, 0x73, 0x74, 0x41, 0x76, 0x61, + 0x69, 0x6c, 0x61, 0x62, 0x6c, 0x65, 0x4e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x49, 0x6e, 0x66, + 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x73, 0x4f, 0x75, 0x74, 0x6c, 0x69, 0x65, 0x72, 0x52, 0x65, + 0x73, 0x69, 0x73, 0x74, 0x61, 0x6e, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, + 0x48, 0x0a, 0x12, 0x6e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x5f, 0x69, 0x6e, 0x66, 0x65, 0x72, + 0x65, 0x6e, 0x63, 0x65, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x65, 0x6d, + 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x33, 0x2e, 0x56, 0x61, 0x6c, 0x75, 0x65, + 0x42, 0x75, 0x6e, 0x64, 0x6c, 0x65, 0x52, 0x11, 0x6e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x49, + 0x6e, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x73, 0x12, 0x4b, 0x0a, 0x0f, 0x69, 0x6e, 0x66, + 0x65, 0x72, 0x65, 0x72, 0x5f, 0x77, 0x65, 0x69, 0x67, 0x68, 0x74, 0x73, 0x18, 0x02, 0x20, 0x03, + 0x28, 0x0b, 0x32, 0x22, 0x2e, 0x65, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, + 0x33, 0x2e, 0x52, 0x65, 0x67, 0x72, 0x65, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x72, 0x6d, 0x65, 0x64, + 0x57, 0x65, 0x69, 0x67, 0x68, 0x74, 0x52, 0x0e, 0x69, 0x6e, 0x66, 0x65, 0x72, 0x65, 0x72, 0x57, + 0x65, 0x69, 0x67, 0x68, 0x74, 0x73, 0x12, 0x51, 0x0a, 0x12, 0x66, 0x6f, 0x72, 0x65, 0x63, 0x61, + 0x73, 0x74, 0x65, 0x72, 0x5f, 0x77, 0x65, 0x69, 0x67, 0x68, 0x74, 0x73, 0x18, 0x03, 0x20, 0x03, + 0x28, 0x0b, 0x32, 0x22, 0x2e, 0x65, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, + 0x33, 0x2e, 0x52, 0x65, 0x67, 0x72, 0x65, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x72, 0x6d, 0x65, 0x64, + 0x57, 0x65, 0x69, 0x67, 0x68, 0x74, 0x52, 0x11, 0x66, 0x6f, 0x72, 0x65, 0x63, 0x61, 0x73, 0x74, + 0x65, 0x72, 0x57, 0x65, 0x69, 0x67, 0x68, 0x74, 0x73, 0x12, 0x34, 0x0a, 0x16, 0x69, 0x6e, 0x66, + 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x5f, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x5f, 0x68, 0x65, 0x69, + 0x67, 0x68, 0x74, 0x18, 0x05, 0x20, 0x01, 0x28, 0x03, 0x52, 0x14, 0x69, 0x6e, 0x66, 0x65, 0x72, + 0x65, 0x6e, 0x63, 0x65, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x48, 0x65, 0x69, 0x67, 0x68, 0x74, 0x12, + 0x2a, 0x0a, 0x11, 0x6c, 0x6f, 0x73, 0x73, 0x5f, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x5f, 0x68, 0x65, + 0x69, 0x67, 0x68, 0x74, 0x18, 0x06, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0f, 0x6c, 0x6f, 0x73, 0x73, + 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x48, 0x65, 0x69, 0x67, 0x68, 0x74, 0x12, 0x86, 0x01, 0x0a, 0x23, + 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x64, 0x65, 0x6e, 0x63, 0x65, 0x5f, 0x69, 0x6e, 0x74, 0x65, 0x72, + 0x76, 0x61, 0x6c, 0x5f, 0x72, 0x61, 0x77, 0x5f, 0x70, 0x65, 0x72, 0x63, 0x65, 0x6e, 0x74, 0x69, + 0x6c, 0x65, 0x73, 0x18, 0x07, 0x20, 0x03, 0x28, 0x09, 0x42, 0x37, 0xc8, 0xde, 0x1f, 0x00, 0xda, + 0xde, 0x1f, 0x2f, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x61, 0x6c, + 0x6c, 0x6f, 0x72, 0x61, 0x2d, 0x6e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x2f, 0x61, 0x6c, 0x6c, + 0x6f, 0x72, 0x61, 0x2d, 0x63, 0x68, 0x61, 0x69, 0x6e, 0x2f, 0x6d, 0x61, 0x74, 0x68, 0x2e, 0x44, + 0x65, 0x63, 0x52, 0x20, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x64, 0x65, 0x6e, 0x63, 0x65, 0x49, 0x6e, + 0x74, 0x65, 0x72, 0x76, 0x61, 0x6c, 0x52, 0x61, 0x77, 0x50, 0x65, 0x72, 0x63, 0x65, 0x6e, 0x74, + 0x69, 0x6c, 0x65, 0x73, 0x12, 0x75, 0x0a, 0x1a, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x64, 0x65, 0x6e, + 0x63, 0x65, 0x5f, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x76, 0x61, 0x6c, 0x5f, 0x76, 0x61, 0x6c, 0x75, + 0x65, 0x73, 0x18, 0x08, 0x20, 0x03, 0x28, 0x09, 0x42, 0x37, 0xc8, 0xde, 0x1f, 0x00, 0xda, 0xde, + 0x1f, 0x2f, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x61, 0x6c, 0x6c, + 0x6f, 0x72, 0x61, 0x2d, 0x6e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x2f, 0x61, 0x6c, 0x6c, 0x6f, + 0x72, 0x61, 0x2d, 0x63, 0x68, 0x61, 0x69, 0x6e, 0x2f, 0x6d, 0x61, 0x74, 0x68, 0x2e, 0x44, 0x65, + 0x63, 0x52, 0x18, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x64, 0x65, 0x6e, 0x63, 0x65, 0x49, 0x6e, 0x74, + 0x65, 0x72, 0x76, 0x61, 0x6c, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x4a, 0x04, 0x08, 0x04, 0x10, + 0x05, 0x52, 0x1b, 0x66, 0x6f, 0x72, 0x65, 0x63, 0x61, 0x73, 0x74, 0x5f, 0x69, 0x6d, 0x70, 0x6c, + 0x69, 0x65, 0x64, 0x5f, 0x69, 0x6e, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x73, 0x22, 0x59, + 0x0a, 0x22, 0x49, 0x73, 0x57, 0x6f, 0x72, 0x6b, 0x65, 0x72, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, + 0x65, 0x72, 0x65, 0x64, 0x49, 0x6e, 0x54, 0x6f, 0x70, 0x69, 0x63, 0x49, 0x64, 0x52, 0x65, 0x71, + 0x75, 0x65, 0x73, 0x74, 0x12, 0x19, 0x0a, 0x08, 0x74, 0x6f, 0x70, 0x69, 0x63, 0x5f, 0x69, 0x64, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x07, 0x74, 0x6f, 0x70, 0x69, 0x63, 0x49, 0x64, 0x12, + 0x18, 0x0a, 0x07, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, + 0x52, 0x07, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x22, 0x51, 0x0a, 0x23, 0x49, 0x73, 0x57, + 0x6f, 0x72, 0x6b, 0x65, 0x72, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x65, 0x72, 0x65, 0x64, 0x49, + 0x6e, 0x54, 0x6f, 0x70, 0x69, 0x63, 0x49, 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, + 0x12, 0x2a, 0x0a, 0x0d, 0x69, 0x73, 0x5f, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x65, 0x72, 0x65, + 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x42, 0x05, 0xa8, 0xe7, 0xb0, 0x2a, 0x01, 0x52, 0x0c, + 0x69, 0x73, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x65, 0x72, 0x65, 0x64, 0x22, 0x5a, 0x0a, 0x23, + 0x49, 0x73, 0x52, 0x65, 0x70, 0x75, 0x74, 0x65, 0x72, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x65, + 0x72, 0x65, 0x64, 0x49, 0x6e, 0x54, 0x6f, 0x70, 0x69, 0x63, 0x49, 0x64, 0x52, 0x65, 0x71, 0x75, + 0x65, 0x73, 0x74, 0x12, 0x19, 0x0a, 0x08, 0x74, 0x6f, 0x70, 0x69, 0x63, 0x5f, 0x69, 0x64, 0x18, + 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x07, 0x74, 0x6f, 0x70, 0x69, 0x63, 0x49, 0x64, 0x12, 0x18, + 0x0a, 0x07, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x07, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x22, 0x52, 0x0a, 0x24, 0x49, 0x73, 0x52, 0x65, + 0x70, 0x75, 0x74, 0x65, 0x72, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x65, 0x72, 0x65, 0x64, 0x49, + 0x6e, 0x54, 0x6f, 0x70, 0x69, 0x63, 0x49, 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, + 0x12, 0x2a, 0x0a, 0x0d, 0x69, 0x73, 0x5f, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x65, 0x72, 0x65, + 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x42, 0x05, 0xa8, 0xe7, 0xb0, 0x2a, 0x01, 0x52, 0x0c, + 0x69, 0x73, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x65, 0x72, 0x65, 0x64, 0x22, 0x33, 0x0a, 0x17, + 0x49, 0x73, 0x57, 0x68, 0x69, 0x74, 0x65, 0x6c, 0x69, 0x73, 0x74, 0x41, 0x64, 0x6d, 0x69, 0x6e, + 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x18, 0x0a, 0x07, 0x61, 0x64, 0x64, 0x72, 0x65, + 0x73, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, + 0x73, 0x22, 0x3c, 0x0a, 0x18, 0x49, 0x73, 0x57, 0x68, 0x69, 0x74, 0x65, 0x6c, 0x69, 0x73, 0x74, + 0x41, 0x64, 0x6d, 0x69, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x20, 0x0a, + 0x08, 0x69, 0x73, 0x5f, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x42, + 0x05, 0xa8, 0xe7, 0xb0, 0x2a, 0x01, 0x52, 0x07, 0x69, 0x73, 0x41, 0x64, 0x6d, 0x69, 0x6e, 0x22, + 0x48, 0x0a, 0x23, 0x47, 0x65, 0x74, 0x53, 0x74, 0x61, 0x6b, 0x65, 0x52, 0x65, 0x6d, 0x6f, 0x76, + 0x61, 0x6c, 0x73, 0x55, 0x70, 0x55, 0x6e, 0x74, 0x69, 0x6c, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x52, + 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x21, 0x0a, 0x0c, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x5f, + 0x68, 0x65, 0x69, 0x67, 0x68, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0b, 0x62, 0x6c, + 0x6f, 0x63, 0x6b, 0x48, 0x65, 0x69, 0x67, 0x68, 0x74, 0x22, 0x62, 0x0a, 0x24, 0x47, 0x65, 0x74, + 0x53, 0x74, 0x61, 0x6b, 0x65, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x61, 0x6c, 0x73, 0x55, 0x70, 0x55, + 0x6e, 0x74, 0x69, 0x6c, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, + 0x65, 0x12, 0x3a, 0x0a, 0x08, 0x72, 0x65, 0x6d, 0x6f, 0x76, 0x61, 0x6c, 0x73, 0x18, 0x01, 0x20, + 0x03, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x65, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2e, + 0x76, 0x33, 0x2e, 0x53, 0x74, 0x61, 0x6b, 0x65, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x61, 0x6c, 0x49, + 0x6e, 0x66, 0x6f, 0x52, 0x08, 0x72, 0x65, 0x6d, 0x6f, 0x76, 0x61, 0x6c, 0x73, 0x22, 0x50, 0x0a, + 0x2b, 0x47, 0x65, 0x74, 0x44, 0x65, 0x6c, 0x65, 0x67, 0x61, 0x74, 0x65, 0x53, 0x74, 0x61, 0x6b, + 0x65, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x61, 0x6c, 0x73, 0x55, 0x70, 0x55, 0x6e, 0x74, 0x69, 0x6c, + 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x21, 0x0a, 0x0c, + 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x5f, 0x68, 0x65, 0x69, 0x67, 0x68, 0x74, 0x18, 0x01, 0x20, 0x01, + 0x28, 0x03, 0x52, 0x0b, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x48, 0x65, 0x69, 0x67, 0x68, 0x74, 0x22, + 0x72, 0x0a, 0x2c, 0x47, 0x65, 0x74, 0x44, 0x65, 0x6c, 0x65, 0x67, 0x61, 0x74, 0x65, 0x53, 0x74, + 0x61, 0x6b, 0x65, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x61, 0x6c, 0x73, 0x55, 0x70, 0x55, 0x6e, 0x74, + 0x69, 0x6c, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, + 0x42, 0x0a, 0x08, 0x72, 0x65, 0x6d, 0x6f, 0x76, 0x61, 0x6c, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, + 0x0b, 0x32, 0x26, 0x2e, 0x65, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x33, + 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x67, 0x61, 0x74, 0x65, 0x53, 0x74, 0x61, 0x6b, 0x65, 0x52, 0x65, + 0x6d, 0x6f, 0x76, 0x61, 0x6c, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x08, 0x72, 0x65, 0x6d, 0x6f, 0x76, + 0x61, 0x6c, 0x73, 0x22, 0x51, 0x0a, 0x1a, 0x47, 0x65, 0x74, 0x53, 0x74, 0x61, 0x6b, 0x65, 0x52, + 0x65, 0x6d, 0x6f, 0x76, 0x61, 0x6c, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, + 0x74, 0x12, 0x19, 0x0a, 0x08, 0x74, 0x6f, 0x70, 0x69, 0x63, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x04, 0x52, 0x07, 0x74, 0x6f, 0x70, 0x69, 0x63, 0x49, 0x64, 0x12, 0x18, 0x0a, 0x07, + 0x72, 0x65, 0x70, 0x75, 0x74, 0x65, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x72, + 0x65, 0x70, 0x75, 0x74, 0x65, 0x72, 0x22, 0x57, 0x0a, 0x1b, 0x47, 0x65, 0x74, 0x53, 0x74, 0x61, + 0x6b, 0x65, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x61, 0x6c, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65, 0x73, + 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x38, 0x0a, 0x07, 0x72, 0x65, 0x6d, 0x6f, 0x76, 0x61, 0x6c, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x65, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, + 0x6e, 0x73, 0x2e, 0x76, 0x33, 0x2e, 0x53, 0x74, 0x61, 0x6b, 0x65, 0x52, 0x65, 0x6d, 0x6f, 0x76, + 0x61, 0x6c, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x07, 0x72, 0x65, 0x6d, 0x6f, 0x76, 0x61, 0x6c, 0x22, + 0x77, 0x0a, 0x22, 0x47, 0x65, 0x74, 0x44, 0x65, 0x6c, 0x65, 0x67, 0x61, 0x74, 0x65, 0x53, 0x74, + 0x61, 0x6b, 0x65, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x61, 0x6c, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65, + 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x19, 0x0a, 0x08, 0x74, 0x6f, 0x70, 0x69, 0x63, 0x5f, 0x69, + 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x07, 0x74, 0x6f, 0x70, 0x69, 0x63, 0x49, 0x64, + 0x12, 0x1c, 0x0a, 0x09, 0x64, 0x65, 0x6c, 0x65, 0x67, 0x61, 0x74, 0x6f, 0x72, 0x18, 0x02, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x09, 0x64, 0x65, 0x6c, 0x65, 0x67, 0x61, 0x74, 0x6f, 0x72, 0x12, 0x18, + 0x0a, 0x07, 0x72, 0x65, 0x70, 0x75, 0x74, 0x65, 0x72, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x07, 0x72, 0x65, 0x70, 0x75, 0x74, 0x65, 0x72, 0x22, 0x67, 0x0a, 0x23, 0x47, 0x65, 0x74, 0x44, + 0x65, 0x6c, 0x65, 0x67, 0x61, 0x74, 0x65, 0x53, 0x74, 0x61, 0x6b, 0x65, 0x52, 0x65, 0x6d, 0x6f, + 0x76, 0x61, 0x6c, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, + 0x40, 0x0a, 0x07, 0x72, 0x65, 0x6d, 0x6f, 0x76, 0x61, 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, + 0x32, 0x26, 0x2e, 0x65, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x33, 0x2e, + 0x44, 0x65, 0x6c, 0x65, 0x67, 0x61, 0x74, 0x65, 0x53, 0x74, 0x61, 0x6b, 0x65, 0x52, 0x65, 0x6d, + 0x6f, 0x76, 0x61, 0x6c, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x07, 0x72, 0x65, 0x6d, 0x6f, 0x76, 0x61, + 0x6c, 0x22, 0x40, 0x0a, 0x23, 0x47, 0x65, 0x74, 0x54, 0x6f, 0x70, 0x69, 0x63, 0x4c, 0x61, 0x73, + 0x74, 0x57, 0x6f, 0x72, 0x6b, 0x65, 0x72, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x49, 0x6e, 0x66, + 0x6f, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x19, 0x0a, 0x08, 0x74, 0x6f, 0x70, 0x69, + 0x63, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x07, 0x74, 0x6f, 0x70, 0x69, + 0x63, 0x49, 0x64, 0x22, 0x6c, 0x0a, 0x24, 0x47, 0x65, 0x74, 0x54, 0x6f, 0x70, 0x69, 0x63, 0x4c, + 0x61, 0x73, 0x74, 0x57, 0x6f, 0x72, 0x6b, 0x65, 0x72, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x49, + 0x6e, 0x66, 0x6f, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x44, 0x0a, 0x0b, 0x6c, + 0x61, 0x73, 0x74, 0x5f, 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, + 0x32, 0x23, 0x2e, 0x65, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x33, 0x2e, + 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x65, 0x64, 0x41, 0x63, 0x74, 0x6f, 0x72, + 0x4e, 0x6f, 0x6e, 0x63, 0x65, 0x52, 0x0a, 0x6c, 0x61, 0x73, 0x74, 0x43, 0x6f, 0x6d, 0x6d, 0x69, + 0x74, 0x22, 0x41, 0x0a, 0x24, 0x47, 0x65, 0x74, 0x54, 0x6f, 0x70, 0x69, 0x63, 0x4c, 0x61, 0x73, + 0x74, 0x52, 0x65, 0x70, 0x75, 0x74, 0x65, 0x72, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x49, 0x6e, + 0x66, 0x6f, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x19, 0x0a, 0x08, 0x74, 0x6f, 0x70, + 0x69, 0x63, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x07, 0x74, 0x6f, 0x70, + 0x69, 0x63, 0x49, 0x64, 0x22, 0x6d, 0x0a, 0x25, 0x47, 0x65, 0x74, 0x54, 0x6f, 0x70, 0x69, 0x63, + 0x4c, 0x61, 0x73, 0x74, 0x52, 0x65, 0x70, 0x75, 0x74, 0x65, 0x72, 0x43, 0x6f, 0x6d, 0x6d, 0x69, + 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x44, 0x0a, + 0x0b, 0x6c, 0x61, 0x73, 0x74, 0x5f, 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x18, 0x01, 0x20, 0x01, + 0x28, 0x0b, 0x32, 0x23, 0x2e, 0x65, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, + 0x33, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x65, 0x64, 0x41, 0x63, 0x74, + 0x6f, 0x72, 0x4e, 0x6f, 0x6e, 0x63, 0x65, 0x52, 0x0a, 0x6c, 0x61, 0x73, 0x74, 0x43, 0x6f, 0x6d, + 0x6d, 0x69, 0x74, 0x22, 0x37, 0x0a, 0x1a, 0x47, 0x65, 0x74, 0x54, 0x6f, 0x70, 0x69, 0x63, 0x52, + 0x65, 0x77, 0x61, 0x72, 0x64, 0x4e, 0x6f, 0x6e, 0x63, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, + 0x74, 0x12, 0x19, 0x0a, 0x08, 0x74, 0x6f, 0x70, 0x69, 0x63, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x04, 0x52, 0x07, 0x74, 0x6f, 0x70, 0x69, 0x63, 0x49, 0x64, 0x22, 0x33, 0x0a, 0x1b, + 0x47, 0x65, 0x74, 0x54, 0x6f, 0x70, 0x69, 0x63, 0x52, 0x65, 0x77, 0x61, 0x72, 0x64, 0x4e, 0x6f, + 0x6e, 0x63, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x6e, + 0x6f, 0x6e, 0x63, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x05, 0x6e, 0x6f, 0x6e, 0x63, + 0x65, 0x22, 0x63, 0x0a, 0x23, 0x47, 0x65, 0x74, 0x52, 0x65, 0x70, 0x75, 0x74, 0x65, 0x72, 0x4c, + 0x6f, 0x73, 0x73, 0x42, 0x75, 0x6e, 0x64, 0x6c, 0x65, 0x73, 0x41, 0x74, 0x42, 0x6c, 0x6f, 0x63, + 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x19, 0x0a, 0x08, 0x74, 0x6f, 0x70, 0x69, + 0x63, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x07, 0x74, 0x6f, 0x70, 0x69, + 0x63, 0x49, 0x64, 0x12, 0x21, 0x0a, 0x0c, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x5f, 0x68, 0x65, 0x69, + 0x67, 0x68, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0b, 0x62, 0x6c, 0x6f, 0x63, 0x6b, + 0x48, 0x65, 0x69, 0x67, 0x68, 0x74, 0x22, 0x6c, 0x0a, 0x24, 0x47, 0x65, 0x74, 0x52, 0x65, 0x70, + 0x75, 0x74, 0x65, 0x72, 0x4c, 0x6f, 0x73, 0x73, 0x42, 0x75, 0x6e, 0x64, 0x6c, 0x65, 0x73, 0x41, + 0x74, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x44, + 0x0a, 0x0c, 0x6c, 0x6f, 0x73, 0x73, 0x5f, 0x62, 0x75, 0x6e, 0x64, 0x6c, 0x65, 0x73, 0x18, 0x01, + 0x20, 0x01, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x65, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, + 0x2e, 0x76, 0x33, 0x2e, 0x52, 0x65, 0x70, 0x75, 0x74, 0x65, 0x72, 0x56, 0x61, 0x6c, 0x75, 0x65, + 0x42, 0x75, 0x6e, 0x64, 0x6c, 0x65, 0x73, 0x52, 0x0b, 0x6c, 0x6f, 0x73, 0x73, 0x42, 0x75, 0x6e, + 0x64, 0x6c, 0x65, 0x73, 0x22, 0x56, 0x0a, 0x1f, 0x47, 0x65, 0x74, 0x53, 0x74, 0x61, 0x6b, 0x65, + 0x52, 0x65, 0x70, 0x75, 0x74, 0x65, 0x72, 0x41, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x74, 0x79, + 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x19, 0x0a, 0x08, 0x74, 0x6f, 0x70, 0x69, 0x63, + 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x07, 0x74, 0x6f, 0x70, 0x69, 0x63, + 0x49, 0x64, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x70, 0x75, 0x74, 0x65, 0x72, 0x18, 0x02, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x07, 0x72, 0x65, 0x70, 0x75, 0x74, 0x65, 0x72, 0x22, 0x72, 0x0a, 0x20, + 0x47, 0x65, 0x74, 0x53, 0x74, 0x61, 0x6b, 0x65, 0x52, 0x65, 0x70, 0x75, 0x74, 0x65, 0x72, 0x41, + 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x74, 0x79, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, + 0x12, 0x4e, 0x0a, 0x09, 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x74, 0x79, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x09, 0x42, 0x30, 0xc8, 0xde, 0x1f, 0x00, 0xda, 0xde, 0x1f, 0x15, 0x63, 0x6f, 0x73, + 0x6d, 0x6f, 0x73, 0x73, 0x64, 0x6b, 0x2e, 0x69, 0x6f, 0x2f, 0x6d, 0x61, 0x74, 0x68, 0x2e, 0x49, + 0x6e, 0x74, 0xd2, 0xb4, 0x2d, 0x0a, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2e, 0x49, 0x6e, 0x74, + 0xa8, 0xe7, 0xb0, 0x2a, 0x01, 0x52, 0x09, 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x74, 0x79, + 0x22, 0x73, 0x0a, 0x20, 0x47, 0x65, 0x74, 0x44, 0x65, 0x6c, 0x65, 0x67, 0x61, 0x74, 0x65, 0x53, + 0x74, 0x61, 0x6b, 0x65, 0x50, 0x6c, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x71, + 0x75, 0x65, 0x73, 0x74, 0x12, 0x19, 0x0a, 0x08, 0x74, 0x6f, 0x70, 0x69, 0x63, 0x5f, 0x69, 0x64, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x07, 0x74, 0x6f, 0x70, 0x69, 0x63, 0x49, 0x64, 0x12, + 0x1c, 0x0a, 0x09, 0x64, 0x65, 0x6c, 0x65, 0x67, 0x61, 0x74, 0x6f, 0x72, 0x18, 0x02, 0x20, 0x01, + 0x28, 0x09, 0x52, 0x09, 0x64, 0x65, 0x6c, 0x65, 0x67, 0x61, 0x74, 0x6f, 0x72, 0x12, 0x16, 0x0a, + 0x06, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x74, + 0x61, 0x72, 0x67, 0x65, 0x74, 0x22, 0x67, 0x0a, 0x21, 0x47, 0x65, 0x74, 0x44, 0x65, 0x6c, 0x65, + 0x67, 0x61, 0x74, 0x65, 0x53, 0x74, 0x61, 0x6b, 0x65, 0x50, 0x6c, 0x61, 0x63, 0x65, 0x6d, 0x65, + 0x6e, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x42, 0x0a, 0x0e, 0x64, 0x65, + 0x6c, 0x65, 0x67, 0x61, 0x74, 0x6f, 0x72, 0x5f, 0x69, 0x6e, 0x66, 0x6f, 0x18, 0x01, 0x20, 0x01, + 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x65, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, + 0x33, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x67, 0x61, 0x74, 0x6f, 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x52, + 0x0d, 0x64, 0x65, 0x6c, 0x65, 0x67, 0x61, 0x74, 0x6f, 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x22, 0x57, + 0x0a, 0x22, 0x47, 0x65, 0x74, 0x44, 0x65, 0x6c, 0x65, 0x67, 0x61, 0x74, 0x65, 0x53, 0x74, 0x61, + 0x6b, 0x65, 0x55, 0x70, 0x6f, 0x6e, 0x52, 0x65, 0x70, 0x75, 0x74, 0x65, 0x72, 0x52, 0x65, 0x71, + 0x75, 0x65, 0x73, 0x74, 0x12, 0x19, 0x0a, 0x08, 0x74, 0x6f, 0x70, 0x69, 0x63, 0x5f, 0x69, 0x64, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x07, 0x74, 0x6f, 0x70, 0x69, 0x63, 0x49, 0x64, 0x12, + 0x16, 0x0a, 0x06, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x06, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x22, 0x6d, 0x0a, 0x23, 0x47, 0x65, 0x74, 0x44, 0x65, + 0x6c, 0x65, 0x67, 0x61, 0x74, 0x65, 0x53, 0x74, 0x61, 0x6b, 0x65, 0x55, 0x70, 0x6f, 0x6e, 0x52, + 0x65, 0x70, 0x75, 0x74, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x46, + 0x0a, 0x05, 0x73, 0x74, 0x61, 0x6b, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x30, 0xc8, + 0xde, 0x1f, 0x00, 0xda, 0xde, 0x1f, 0x15, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x73, 0x64, 0x6b, + 0x2e, 0x69, 0x6f, 0x2f, 0x6d, 0x61, 0x74, 0x68, 0x2e, 0x49, 0x6e, 0x74, 0xd2, 0xb4, 0x2d, 0x0a, + 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2e, 0x49, 0x6e, 0x74, 0xa8, 0xe7, 0xb0, 0x2a, 0x01, 0x52, + 0x05, 0x73, 0x74, 0x61, 0x6b, 0x65, 0x22, 0x57, 0x0a, 0x20, 0x47, 0x65, 0x74, 0x44, 0x65, 0x6c, + 0x65, 0x67, 0x61, 0x74, 0x65, 0x52, 0x65, 0x77, 0x61, 0x72, 0x64, 0x50, 0x65, 0x72, 0x53, 0x68, + 0x61, 0x72, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x19, 0x0a, 0x08, 0x74, 0x6f, + 0x70, 0x69, 0x63, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x07, 0x74, 0x6f, + 0x70, 0x69, 0x63, 0x49, 0x64, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x70, 0x75, 0x74, 0x65, 0x72, + 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x72, 0x65, 0x70, 0x75, 0x74, 0x65, 0x72, 0x22, + 0x86, 0x01, 0x0a, 0x21, 0x47, 0x65, 0x74, 0x44, 0x65, 0x6c, 0x65, 0x67, 0x61, 0x74, 0x65, 0x52, + 0x65, 0x77, 0x61, 0x72, 0x64, 0x50, 0x65, 0x72, 0x53, 0x68, 0x61, 0x72, 0x65, 0x52, 0x65, 0x73, + 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x61, 0x0a, 0x10, 0x72, 0x65, 0x77, 0x61, 0x72, 0x64, 0x5f, + 0x70, 0x65, 0x72, 0x5f, 0x73, 0x68, 0x61, 0x72, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, + 0x37, 0xc8, 0xde, 0x1f, 0x00, 0xda, 0xde, 0x1f, 0x2f, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, + 0x63, 0x6f, 0x6d, 0x2f, 0x61, 0x6c, 0x6c, 0x6f, 0x72, 0x61, 0x2d, 0x6e, 0x65, 0x74, 0x77, 0x6f, + 0x72, 0x6b, 0x2f, 0x61, 0x6c, 0x6c, 0x6f, 0x72, 0x61, 0x2d, 0x63, 0x68, 0x61, 0x69, 0x6e, 0x2f, + 0x6d, 0x61, 0x74, 0x68, 0x2e, 0x44, 0x65, 0x63, 0x52, 0x0e, 0x72, 0x65, 0x77, 0x61, 0x72, 0x64, + 0x50, 0x65, 0x72, 0x53, 0x68, 0x61, 0x72, 0x65, 0x22, 0x61, 0x0a, 0x2a, 0x47, 0x65, 0x74, 0x53, + 0x74, 0x61, 0x6b, 0x65, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x61, 0x6c, 0x46, 0x6f, 0x72, 0x52, 0x65, + 0x70, 0x75, 0x74, 0x65, 0x72, 0x41, 0x6e, 0x64, 0x54, 0x6f, 0x70, 0x69, 0x63, 0x49, 0x64, 0x52, + 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x70, 0x75, 0x74, 0x65, + 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x72, 0x65, 0x70, 0x75, 0x74, 0x65, 0x72, + 0x12, 0x19, 0x0a, 0x08, 0x74, 0x6f, 0x70, 0x69, 0x63, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, + 0x28, 0x04, 0x52, 0x07, 0x74, 0x6f, 0x70, 0x69, 0x63, 0x49, 0x64, 0x22, 0x7b, 0x0a, 0x2b, 0x47, + 0x65, 0x74, 0x53, 0x74, 0x61, 0x6b, 0x65, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x61, 0x6c, 0x46, 0x6f, + 0x72, 0x52, 0x65, 0x70, 0x75, 0x74, 0x65, 0x72, 0x41, 0x6e, 0x64, 0x54, 0x6f, 0x70, 0x69, 0x63, + 0x49, 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x4c, 0x0a, 0x12, 0x73, 0x74, + 0x61, 0x6b, 0x65, 0x5f, 0x72, 0x65, 0x6d, 0x6f, 0x76, 0x61, 0x6c, 0x5f, 0x69, 0x6e, 0x66, 0x6f, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x65, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, + 0x6e, 0x73, 0x2e, 0x76, 0x33, 0x2e, 0x53, 0x74, 0x61, 0x6b, 0x65, 0x52, 0x65, 0x6d, 0x6f, 0x76, + 0x61, 0x6c, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x10, 0x73, 0x74, 0x61, 0x6b, 0x65, 0x52, 0x65, 0x6d, + 0x6f, 0x76, 0x61, 0x6c, 0x49, 0x6e, 0x66, 0x6f, 0x22, 0x96, 0x01, 0x0a, 0x1e, 0x47, 0x65, 0x74, + 0x44, 0x65, 0x6c, 0x65, 0x67, 0x61, 0x74, 0x65, 0x53, 0x74, 0x61, 0x6b, 0x65, 0x52, 0x65, 0x6d, + 0x6f, 0x76, 0x61, 0x6c, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x21, 0x0a, 0x0c, 0x62, + 0x6c, 0x6f, 0x63, 0x6b, 0x5f, 0x68, 0x65, 0x69, 0x67, 0x68, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, + 0x03, 0x52, 0x0b, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x48, 0x65, 0x69, 0x67, 0x68, 0x74, 0x12, 0x19, + 0x0a, 0x08, 0x74, 0x6f, 0x70, 0x69, 0x63, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x04, + 0x52, 0x07, 0x74, 0x6f, 0x70, 0x69, 0x63, 0x49, 0x64, 0x12, 0x1c, 0x0a, 0x09, 0x64, 0x65, 0x6c, + 0x65, 0x67, 0x61, 0x74, 0x6f, 0x72, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x64, 0x65, + 0x6c, 0x65, 0x67, 0x61, 0x74, 0x6f, 0x72, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x70, 0x75, 0x74, + 0x65, 0x72, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x72, 0x65, 0x70, 0x75, 0x74, 0x65, + 0x72, 0x22, 0x77, 0x0a, 0x1f, 0x47, 0x65, 0x74, 0x44, 0x65, 0x6c, 0x65, 0x67, 0x61, 0x74, 0x65, + 0x53, 0x74, 0x61, 0x6b, 0x65, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x61, 0x6c, 0x52, 0x65, 0x73, 0x70, + 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x54, 0x0a, 0x12, 0x73, 0x74, 0x61, 0x6b, 0x65, 0x5f, 0x72, 0x65, + 0x6d, 0x6f, 0x76, 0x61, 0x6c, 0x5f, 0x69, 0x6e, 0x66, 0x6f, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, + 0x32, 0x26, 0x2e, 0x65, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x33, 0x2e, + 0x44, 0x65, 0x6c, 0x65, 0x67, 0x61, 0x74, 0x65, 0x53, 0x74, 0x61, 0x6b, 0x65, 0x52, 0x65, 0x6d, + 0x6f, 0x76, 0x61, 0x6c, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x10, 0x73, 0x74, 0x61, 0x6b, 0x65, 0x52, + 0x65, 0x6d, 0x6f, 0x76, 0x61, 0x6c, 0x49, 0x6e, 0x66, 0x6f, 0x22, 0x3a, 0x0a, 0x1d, 0x47, 0x65, + 0x74, 0x50, 0x72, 0x65, 0x76, 0x69, 0x6f, 0x75, 0x73, 0x54, 0x6f, 0x70, 0x69, 0x63, 0x57, 0x65, + 0x69, 0x67, 0x68, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x19, 0x0a, 0x08, 0x74, + 0x6f, 0x70, 0x69, 0x63, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x07, 0x74, + 0x6f, 0x70, 0x69, 0x63, 0x49, 0x64, 0x22, 0x95, 0x01, 0x0a, 0x1e, 0x47, 0x65, 0x74, 0x50, 0x72, + 0x65, 0x76, 0x69, 0x6f, 0x75, 0x73, 0x54, 0x6f, 0x70, 0x69, 0x63, 0x57, 0x65, 0x69, 0x67, 0x68, + 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x4f, 0x0a, 0x06, 0x77, 0x65, 0x69, + 0x67, 0x68, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x37, 0xc8, 0xde, 0x1f, 0x00, 0xda, + 0xde, 0x1f, 0x2f, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x61, 0x6c, + 0x6c, 0x6f, 0x72, 0x61, 0x2d, 0x6e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x2f, 0x61, 0x6c, 0x6c, + 0x6f, 0x72, 0x61, 0x2d, 0x63, 0x68, 0x61, 0x69, 0x6e, 0x2f, 0x6d, 0x61, 0x74, 0x68, 0x2e, 0x44, + 0x65, 0x63, 0x52, 0x06, 0x77, 0x65, 0x69, 0x67, 0x68, 0x74, 0x12, 0x22, 0x0a, 0x09, 0x6e, 0x6f, + 0x74, 0x5f, 0x66, 0x6f, 0x75, 0x6e, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x42, 0x05, 0xa8, + 0xe7, 0xb0, 0x2a, 0x01, 0x52, 0x08, 0x6e, 0x6f, 0x74, 0x46, 0x6f, 0x75, 0x6e, 0x64, 0x22, 0x28, + 0x0a, 0x26, 0x47, 0x65, 0x74, 0x54, 0x6f, 0x74, 0x61, 0x6c, 0x53, 0x75, 0x6d, 0x50, 0x72, 0x65, + 0x76, 0x69, 0x6f, 0x75, 0x73, 0x54, 0x6f, 0x70, 0x69, 0x63, 0x57, 0x65, 0x69, 0x67, 0x68, 0x74, + 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0x7a, 0x0a, 0x27, 0x47, 0x65, 0x74, 0x54, + 0x6f, 0x74, 0x61, 0x6c, 0x53, 0x75, 0x6d, 0x50, 0x72, 0x65, 0x76, 0x69, 0x6f, 0x75, 0x73, 0x54, + 0x6f, 0x70, 0x69, 0x63, 0x57, 0x65, 0x69, 0x67, 0x68, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, + 0x6e, 0x73, 0x65, 0x12, 0x4f, 0x0a, 0x06, 0x77, 0x65, 0x69, 0x67, 0x68, 0x74, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x09, 0x42, 0x37, 0xc8, 0xde, 0x1f, 0x00, 0xda, 0xde, 0x1f, 0x2f, 0x67, 0x69, 0x74, + 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x61, 0x6c, 0x6c, 0x6f, 0x72, 0x61, 0x2d, 0x6e, + 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x2f, 0x61, 0x6c, 0x6c, 0x6f, 0x72, 0x61, 0x2d, 0x63, 0x68, + 0x61, 0x69, 0x6e, 0x2f, 0x6d, 0x61, 0x74, 0x68, 0x2e, 0x44, 0x65, 0x63, 0x52, 0x06, 0x77, 0x65, + 0x69, 0x67, 0x68, 0x74, 0x22, 0x2f, 0x0a, 0x12, 0x54, 0x6f, 0x70, 0x69, 0x63, 0x45, 0x78, 0x69, + 0x73, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x19, 0x0a, 0x08, 0x74, 0x6f, + 0x70, 0x69, 0x63, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x07, 0x74, 0x6f, + 0x70, 0x69, 0x63, 0x49, 0x64, 0x22, 0x34, 0x0a, 0x13, 0x54, 0x6f, 0x70, 0x69, 0x63, 0x45, 0x78, + 0x69, 0x73, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x1d, 0x0a, 0x06, + 0x65, 0x78, 0x69, 0x73, 0x74, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x42, 0x05, 0xa8, 0xe7, + 0xb0, 0x2a, 0x01, 0x52, 0x06, 0x65, 0x78, 0x69, 0x73, 0x74, 0x73, 0x22, 0x31, 0x0a, 0x14, 0x49, + 0x73, 0x54, 0x6f, 0x70, 0x69, 0x63, 0x41, 0x63, 0x74, 0x69, 0x76, 0x65, 0x52, 0x65, 0x71, 0x75, + 0x65, 0x73, 0x74, 0x12, 0x19, 0x0a, 0x08, 0x74, 0x6f, 0x70, 0x69, 0x63, 0x5f, 0x69, 0x64, 0x18, + 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x07, 0x74, 0x6f, 0x70, 0x69, 0x63, 0x49, 0x64, 0x22, 0x3b, + 0x0a, 0x15, 0x49, 0x73, 0x54, 0x6f, 0x70, 0x69, 0x63, 0x41, 0x63, 0x74, 0x69, 0x76, 0x65, 0x52, + 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x22, 0x0a, 0x09, 0x69, 0x73, 0x5f, 0x61, 0x63, + 0x74, 0x69, 0x76, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x42, 0x05, 0xa8, 0xe7, 0xb0, 0x2a, + 0x01, 0x52, 0x08, 0x69, 0x73, 0x41, 0x63, 0x74, 0x69, 0x76, 0x65, 0x22, 0x36, 0x0a, 0x19, 0x47, + 0x65, 0x74, 0x54, 0x6f, 0x70, 0x69, 0x63, 0x46, 0x65, 0x65, 0x52, 0x65, 0x76, 0x65, 0x6e, 0x75, + 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x19, 0x0a, 0x08, 0x74, 0x6f, 0x70, 0x69, + 0x63, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x07, 0x74, 0x6f, 0x70, 0x69, + 0x63, 0x49, 0x64, 0x22, 0x6f, 0x0a, 0x1a, 0x47, 0x65, 0x74, 0x54, 0x6f, 0x70, 0x69, 0x63, 0x46, + 0x65, 0x65, 0x52, 0x65, 0x76, 0x65, 0x6e, 0x75, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, + 0x65, 0x12, 0x51, 0x0a, 0x0b, 0x66, 0x65, 0x65, 0x5f, 0x72, 0x65, 0x76, 0x65, 0x6e, 0x75, 0x65, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x30, 0xc8, 0xde, 0x1f, 0x00, 0xda, 0xde, 0x1f, 0x15, + 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x73, 0x64, 0x6b, 0x2e, 0x69, 0x6f, 0x2f, 0x6d, 0x61, 0x74, + 0x68, 0x2e, 0x49, 0x6e, 0x74, 0xd2, 0xb4, 0x2d, 0x0a, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2e, + 0x49, 0x6e, 0x74, 0xa8, 0xe7, 0xb0, 0x2a, 0x01, 0x52, 0x0a, 0x66, 0x65, 0x65, 0x52, 0x65, 0x76, + 0x65, 0x6e, 0x75, 0x65, 0x22, 0x50, 0x0a, 0x19, 0x47, 0x65, 0x74, 0x49, 0x6e, 0x66, 0x65, 0x72, + 0x65, 0x72, 0x53, 0x63, 0x6f, 0x72, 0x65, 0x45, 0x6d, 0x61, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, + 0x74, 0x12, 0x19, 0x0a, 0x08, 0x74, 0x6f, 0x70, 0x69, 0x63, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x04, 0x52, 0x07, 0x74, 0x6f, 0x70, 0x69, 0x63, 0x49, 0x64, 0x12, 0x18, 0x0a, 0x07, + 0x69, 0x6e, 0x66, 0x65, 0x72, 0x65, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x69, + 0x6e, 0x66, 0x65, 0x72, 0x65, 0x72, 0x22, 0x47, 0x0a, 0x1a, 0x47, 0x65, 0x74, 0x49, 0x6e, 0x66, + 0x65, 0x72, 0x65, 0x72, 0x53, 0x63, 0x6f, 0x72, 0x65, 0x45, 0x6d, 0x61, 0x52, 0x65, 0x73, 0x70, + 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x29, 0x0a, 0x05, 0x73, 0x63, 0x6f, 0x72, 0x65, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x0b, 0x32, 0x13, 0x2e, 0x65, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2e, + 0x76, 0x33, 0x2e, 0x53, 0x63, 0x6f, 0x72, 0x65, 0x52, 0x05, 0x73, 0x63, 0x6f, 0x72, 0x65, 0x22, + 0x59, 0x0a, 0x1c, 0x47, 0x65, 0x74, 0x46, 0x6f, 0x72, 0x65, 0x63, 0x61, 0x73, 0x74, 0x65, 0x72, + 0x53, 0x63, 0x6f, 0x72, 0x65, 0x45, 0x6d, 0x61, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, + 0x19, 0x0a, 0x08, 0x74, 0x6f, 0x70, 0x69, 0x63, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, + 0x04, 0x52, 0x07, 0x74, 0x6f, 0x70, 0x69, 0x63, 0x49, 0x64, 0x12, 0x1e, 0x0a, 0x0a, 0x66, 0x6f, + 0x72, 0x65, 0x63, 0x61, 0x73, 0x74, 0x65, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, + 0x66, 0x6f, 0x72, 0x65, 0x63, 0x61, 0x73, 0x74, 0x65, 0x72, 0x22, 0x4a, 0x0a, 0x1d, 0x47, 0x65, + 0x74, 0x46, 0x6f, 0x72, 0x65, 0x63, 0x61, 0x73, 0x74, 0x65, 0x72, 0x53, 0x63, 0x6f, 0x72, 0x65, + 0x45, 0x6d, 0x61, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x29, 0x0a, 0x05, 0x73, + 0x63, 0x6f, 0x72, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x13, 0x2e, 0x65, 0x6d, 0x69, + 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x33, 0x2e, 0x53, 0x63, 0x6f, 0x72, 0x65, 0x52, + 0x05, 0x73, 0x63, 0x6f, 0x72, 0x65, 0x22, 0x50, 0x0a, 0x19, 0x47, 0x65, 0x74, 0x52, 0x65, 0x70, + 0x75, 0x74, 0x65, 0x72, 0x53, 0x63, 0x6f, 0x72, 0x65, 0x45, 0x6d, 0x61, 0x52, 0x65, 0x71, 0x75, + 0x65, 0x73, 0x74, 0x12, 0x19, 0x0a, 0x08, 0x74, 0x6f, 0x70, 0x69, 0x63, 0x5f, 0x69, 0x64, 0x18, + 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x07, 0x74, 0x6f, 0x70, 0x69, 0x63, 0x49, 0x64, 0x12, 0x18, + 0x0a, 0x07, 0x72, 0x65, 0x70, 0x75, 0x74, 0x65, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x07, 0x72, 0x65, 0x70, 0x75, 0x74, 0x65, 0x72, 0x22, 0x47, 0x0a, 0x1a, 0x47, 0x65, 0x74, 0x52, + 0x65, 0x70, 0x75, 0x74, 0x65, 0x72, 0x53, 0x63, 0x6f, 0x72, 0x65, 0x45, 0x6d, 0x61, 0x52, 0x65, + 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x29, 0x0a, 0x05, 0x73, 0x63, 0x6f, 0x72, 0x65, 0x18, + 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x13, 0x2e, 0x65, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, + 0x73, 0x2e, 0x76, 0x33, 0x2e, 0x53, 0x63, 0x6f, 0x72, 0x65, 0x52, 0x05, 0x73, 0x63, 0x6f, 0x72, + 0x65, 0x22, 0x63, 0x0a, 0x23, 0x47, 0x65, 0x74, 0x49, 0x6e, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, + 0x65, 0x53, 0x63, 0x6f, 0x72, 0x65, 0x73, 0x55, 0x6e, 0x74, 0x69, 0x6c, 0x42, 0x6c, 0x6f, 0x63, + 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x19, 0x0a, 0x08, 0x74, 0x6f, 0x70, 0x69, + 0x63, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x07, 0x74, 0x6f, 0x70, 0x69, + 0x63, 0x49, 0x64, 0x12, 0x21, 0x0a, 0x0c, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x5f, 0x68, 0x65, 0x69, + 0x67, 0x68, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0b, 0x62, 0x6c, 0x6f, 0x63, 0x6b, + 0x48, 0x65, 0x69, 0x67, 0x68, 0x74, 0x22, 0x53, 0x0a, 0x24, 0x47, 0x65, 0x74, 0x49, 0x6e, 0x66, + 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x53, 0x63, 0x6f, 0x72, 0x65, 0x73, 0x55, 0x6e, 0x74, 0x69, + 0x6c, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x2b, + 0x0a, 0x06, 0x73, 0x63, 0x6f, 0x72, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x13, + 0x2e, 0x65, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x33, 0x2e, 0x53, 0x63, + 0x6f, 0x72, 0x65, 0x52, 0x06, 0x73, 0x63, 0x6f, 0x72, 0x65, 0x73, 0x22, 0x4e, 0x0a, 0x31, 0x47, + 0x65, 0x74, 0x50, 0x72, 0x65, 0x76, 0x69, 0x6f, 0x75, 0x73, 0x54, 0x6f, 0x70, 0x69, 0x63, 0x51, + 0x75, 0x61, 0x6e, 0x74, 0x69, 0x6c, 0x65, 0x46, 0x6f, 0x72, 0x65, 0x63, 0x61, 0x73, 0x74, 0x65, + 0x72, 0x53, 0x63, 0x6f, 0x72, 0x65, 0x45, 0x6d, 0x61, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, + 0x12, 0x19, 0x0a, 0x08, 0x74, 0x6f, 0x70, 0x69, 0x63, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, + 0x28, 0x04, 0x52, 0x07, 0x74, 0x6f, 0x70, 0x69, 0x63, 0x49, 0x64, 0x22, 0x83, 0x01, 0x0a, 0x32, + 0x47, 0x65, 0x74, 0x50, 0x72, 0x65, 0x76, 0x69, 0x6f, 0x75, 0x73, 0x54, 0x6f, 0x70, 0x69, 0x63, + 0x51, 0x75, 0x61, 0x6e, 0x74, 0x69, 0x6c, 0x65, 0x46, 0x6f, 0x72, 0x65, 0x63, 0x61, 0x73, 0x74, + 0x65, 0x72, 0x53, 0x63, 0x6f, 0x72, 0x65, 0x45, 0x6d, 0x61, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, + 0x73, 0x65, 0x12, 0x4d, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, + 0x09, 0x42, 0x37, 0xc8, 0xde, 0x1f, 0x00, 0xda, 0xde, 0x1f, 0x2f, 0x67, 0x69, 0x74, 0x68, 0x75, + 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x61, 0x6c, 0x6c, 0x6f, 0x72, 0x61, 0x2d, 0x6e, 0x65, 0x74, + 0x77, 0x6f, 0x72, 0x6b, 0x2f, 0x61, 0x6c, 0x6c, 0x6f, 0x72, 0x61, 0x2d, 0x63, 0x68, 0x61, 0x69, + 0x6e, 0x2f, 0x6d, 0x61, 0x74, 0x68, 0x2e, 0x44, 0x65, 0x63, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, + 0x65, 0x22, 0x4b, 0x0a, 0x2e, 0x47, 0x65, 0x74, 0x50, 0x72, 0x65, 0x76, 0x69, 0x6f, 0x75, 0x73, + 0x54, 0x6f, 0x70, 0x69, 0x63, 0x51, 0x75, 0x61, 0x6e, 0x74, 0x69, 0x6c, 0x65, 0x49, 0x6e, 0x66, + 0x65, 0x72, 0x65, 0x72, 0x53, 0x63, 0x6f, 0x72, 0x65, 0x45, 0x6d, 0x61, 0x52, 0x65, 0x71, 0x75, + 0x65, 0x73, 0x74, 0x12, 0x19, 0x0a, 0x08, 0x74, 0x6f, 0x70, 0x69, 0x63, 0x5f, 0x69, 0x64, 0x18, + 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x07, 0x74, 0x6f, 0x70, 0x69, 0x63, 0x49, 0x64, 0x22, 0x80, + 0x01, 0x0a, 0x2f, 0x47, 0x65, 0x74, 0x50, 0x72, 0x65, 0x76, 0x69, 0x6f, 0x75, 0x73, 0x54, 0x6f, + 0x70, 0x69, 0x63, 0x51, 0x75, 0x61, 0x6e, 0x74, 0x69, 0x6c, 0x65, 0x49, 0x6e, 0x66, 0x65, 0x72, + 0x65, 0x72, 0x53, 0x63, 0x6f, 0x72, 0x65, 0x45, 0x6d, 0x61, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, + 0x73, 0x65, 0x12, 0x4d, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, + 0x09, 0x42, 0x37, 0xc8, 0xde, 0x1f, 0x00, 0xda, 0xde, 0x1f, 0x2f, 0x67, 0x69, 0x74, 0x68, 0x75, + 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x61, 0x6c, 0x6c, 0x6f, 0x72, 0x61, 0x2d, 0x6e, 0x65, 0x74, + 0x77, 0x6f, 0x72, 0x6b, 0x2f, 0x61, 0x6c, 0x6c, 0x6f, 0x72, 0x61, 0x2d, 0x63, 0x68, 0x61, 0x69, + 0x6e, 0x2f, 0x6d, 0x61, 0x74, 0x68, 0x2e, 0x44, 0x65, 0x63, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, + 0x65, 0x22, 0x4b, 0x0a, 0x2e, 0x47, 0x65, 0x74, 0x50, 0x72, 0x65, 0x76, 0x69, 0x6f, 0x75, 0x73, + 0x54, 0x6f, 0x70, 0x69, 0x63, 0x51, 0x75, 0x61, 0x6e, 0x74, 0x69, 0x6c, 0x65, 0x52, 0x65, 0x70, + 0x75, 0x74, 0x65, 0x72, 0x53, 0x63, 0x6f, 0x72, 0x65, 0x45, 0x6d, 0x61, 0x52, 0x65, 0x71, 0x75, + 0x65, 0x73, 0x74, 0x12, 0x19, 0x0a, 0x08, 0x74, 0x6f, 0x70, 0x69, 0x63, 0x5f, 0x69, 0x64, 0x18, + 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x07, 0x74, 0x6f, 0x70, 0x69, 0x63, 0x49, 0x64, 0x22, 0x80, + 0x01, 0x0a, 0x2f, 0x47, 0x65, 0x74, 0x50, 0x72, 0x65, 0x76, 0x69, 0x6f, 0x75, 0x73, 0x54, 0x6f, + 0x70, 0x69, 0x63, 0x51, 0x75, 0x61, 0x6e, 0x74, 0x69, 0x6c, 0x65, 0x52, 0x65, 0x70, 0x75, 0x74, + 0x65, 0x72, 0x53, 0x63, 0x6f, 0x72, 0x65, 0x45, 0x6d, 0x61, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, + 0x73, 0x65, 0x12, 0x4d, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, + 0x09, 0x42, 0x37, 0xc8, 0xde, 0x1f, 0x00, 0xda, 0xde, 0x1f, 0x2f, 0x67, 0x69, 0x74, 0x68, 0x75, + 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x61, 0x6c, 0x6c, 0x6f, 0x72, 0x61, 0x2d, 0x6e, 0x65, 0x74, + 0x77, 0x6f, 0x72, 0x6b, 0x2f, 0x61, 0x6c, 0x6c, 0x6f, 0x72, 0x61, 0x2d, 0x63, 0x68, 0x61, 0x69, + 0x6e, 0x2f, 0x6d, 0x61, 0x74, 0x68, 0x2e, 0x44, 0x65, 0x63, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, + 0x65, 0x22, 0x66, 0x0a, 0x26, 0x47, 0x65, 0x74, 0x57, 0x6f, 0x72, 0x6b, 0x65, 0x72, 0x49, 0x6e, + 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x53, 0x63, 0x6f, 0x72, 0x65, 0x73, 0x41, 0x74, 0x42, + 0x6c, 0x6f, 0x63, 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x19, 0x0a, 0x08, 0x74, + 0x6f, 0x70, 0x69, 0x63, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x07, 0x74, + 0x6f, 0x70, 0x69, 0x63, 0x49, 0x64, 0x12, 0x21, 0x0a, 0x0c, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x5f, + 0x68, 0x65, 0x69, 0x67, 0x68, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0b, 0x62, 0x6c, + 0x6f, 0x63, 0x6b, 0x48, 0x65, 0x69, 0x67, 0x68, 0x74, 0x22, 0x57, 0x0a, 0x27, 0x47, 0x65, 0x74, + 0x57, 0x6f, 0x72, 0x6b, 0x65, 0x72, 0x49, 0x6e, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x53, + 0x63, 0x6f, 0x72, 0x65, 0x73, 0x41, 0x74, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x52, 0x65, 0x73, 0x70, + 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x2c, 0x0a, 0x06, 0x73, 0x63, 0x6f, 0x72, 0x65, 0x73, 0x18, 0x01, + 0x20, 0x01, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x65, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, + 0x2e, 0x76, 0x33, 0x2e, 0x53, 0x63, 0x6f, 0x72, 0x65, 0x73, 0x52, 0x06, 0x73, 0x63, 0x6f, 0x72, + 0x65, 0x73, 0x22, 0x40, 0x0a, 0x23, 0x47, 0x65, 0x74, 0x43, 0x75, 0x72, 0x72, 0x65, 0x6e, 0x74, + 0x4c, 0x6f, 0x77, 0x65, 0x73, 0x74, 0x49, 0x6e, 0x66, 0x65, 0x72, 0x65, 0x72, 0x53, 0x63, 0x6f, + 0x72, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x19, 0x0a, 0x08, 0x74, 0x6f, 0x70, + 0x69, 0x63, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x07, 0x74, 0x6f, 0x70, + 0x69, 0x63, 0x49, 0x64, 0x22, 0x51, 0x0a, 0x24, 0x47, 0x65, 0x74, 0x43, 0x75, 0x72, 0x72, 0x65, + 0x6e, 0x74, 0x4c, 0x6f, 0x77, 0x65, 0x73, 0x74, 0x49, 0x6e, 0x66, 0x65, 0x72, 0x65, 0x72, 0x53, + 0x63, 0x6f, 0x72, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x29, 0x0a, 0x05, + 0x73, 0x63, 0x6f, 0x72, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x13, 0x2e, 0x65, 0x6d, + 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x33, 0x2e, 0x53, 0x63, 0x6f, 0x72, 0x65, + 0x52, 0x05, 0x73, 0x63, 0x6f, 0x72, 0x65, 0x22, 0x62, 0x0a, 0x22, 0x47, 0x65, 0x74, 0x46, 0x6f, + 0x72, 0x65, 0x63, 0x61, 0x73, 0x74, 0x53, 0x63, 0x6f, 0x72, 0x65, 0x73, 0x55, 0x6e, 0x74, 0x69, + 0x6c, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x19, 0x0a, + 0x08, 0x74, 0x6f, 0x70, 0x69, 0x63, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, + 0x07, 0x74, 0x6f, 0x70, 0x69, 0x63, 0x49, 0x64, 0x12, 0x21, 0x0a, 0x0c, 0x62, 0x6c, 0x6f, 0x63, + 0x6b, 0x5f, 0x68, 0x65, 0x69, 0x67, 0x68, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0b, + 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x48, 0x65, 0x69, 0x67, 0x68, 0x74, 0x22, 0x52, 0x0a, 0x23, 0x47, + 0x65, 0x74, 0x46, 0x6f, 0x72, 0x65, 0x63, 0x61, 0x73, 0x74, 0x53, 0x63, 0x6f, 0x72, 0x65, 0x73, + 0x55, 0x6e, 0x74, 0x69, 0x6c, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, + 0x73, 0x65, 0x12, 0x2b, 0x0a, 0x06, 0x73, 0x63, 0x6f, 0x72, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, + 0x28, 0x0b, 0x32, 0x13, 0x2e, 0x65, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, + 0x33, 0x2e, 0x53, 0x63, 0x6f, 0x72, 0x65, 0x52, 0x06, 0x73, 0x63, 0x6f, 0x72, 0x65, 0x73, 0x22, + 0x65, 0x0a, 0x25, 0x47, 0x65, 0x74, 0x57, 0x6f, 0x72, 0x6b, 0x65, 0x72, 0x46, 0x6f, 0x72, 0x65, + 0x63, 0x61, 0x73, 0x74, 0x53, 0x63, 0x6f, 0x72, 0x65, 0x73, 0x41, 0x74, 0x42, 0x6c, 0x6f, 0x63, + 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x19, 0x0a, 0x08, 0x74, 0x6f, 0x70, 0x69, + 0x63, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x07, 0x74, 0x6f, 0x70, 0x69, + 0x63, 0x49, 0x64, 0x12, 0x21, 0x0a, 0x0c, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x5f, 0x68, 0x65, 0x69, + 0x67, 0x68, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0b, 0x62, 0x6c, 0x6f, 0x63, 0x6b, + 0x48, 0x65, 0x69, 0x67, 0x68, 0x74, 0x22, 0x56, 0x0a, 0x26, 0x47, 0x65, 0x74, 0x57, 0x6f, 0x72, + 0x6b, 0x65, 0x72, 0x46, 0x6f, 0x72, 0x65, 0x63, 0x61, 0x73, 0x74, 0x53, 0x63, 0x6f, 0x72, 0x65, + 0x73, 0x41, 0x74, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, + 0x12, 0x2c, 0x0a, 0x06, 0x73, 0x63, 0x6f, 0x72, 0x65, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, + 0x32, 0x14, 0x2e, 0x65, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x33, 0x2e, + 0x53, 0x63, 0x6f, 0x72, 0x65, 0x73, 0x52, 0x06, 0x73, 0x63, 0x6f, 0x72, 0x65, 0x73, 0x22, 0x43, + 0x0a, 0x26, 0x47, 0x65, 0x74, 0x43, 0x75, 0x72, 0x72, 0x65, 0x6e, 0x74, 0x4c, 0x6f, 0x77, 0x65, + 0x73, 0x74, 0x46, 0x6f, 0x72, 0x65, 0x63, 0x61, 0x73, 0x74, 0x65, 0x72, 0x53, 0x63, 0x6f, 0x72, + 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x19, 0x0a, 0x08, 0x74, 0x6f, 0x70, 0x69, + 0x63, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x07, 0x74, 0x6f, 0x70, 0x69, + 0x63, 0x49, 0x64, 0x22, 0x54, 0x0a, 0x27, 0x47, 0x65, 0x74, 0x43, 0x75, 0x72, 0x72, 0x65, 0x6e, + 0x74, 0x4c, 0x6f, 0x77, 0x65, 0x73, 0x74, 0x46, 0x6f, 0x72, 0x65, 0x63, 0x61, 0x73, 0x74, 0x65, + 0x72, 0x53, 0x63, 0x6f, 0x72, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x29, + 0x0a, 0x05, 0x73, 0x63, 0x6f, 0x72, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x13, 0x2e, + 0x65, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x33, 0x2e, 0x53, 0x63, 0x6f, + 0x72, 0x65, 0x52, 0x05, 0x73, 0x63, 0x6f, 0x72, 0x65, 0x22, 0x5f, 0x0a, 0x1f, 0x47, 0x65, 0x74, + 0x52, 0x65, 0x70, 0x75, 0x74, 0x65, 0x72, 0x73, 0x53, 0x63, 0x6f, 0x72, 0x65, 0x73, 0x41, 0x74, + 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x19, 0x0a, 0x08, + 0x74, 0x6f, 0x70, 0x69, 0x63, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x07, + 0x74, 0x6f, 0x70, 0x69, 0x63, 0x49, 0x64, 0x12, 0x21, 0x0a, 0x0c, 0x62, 0x6c, 0x6f, 0x63, 0x6b, + 0x5f, 0x68, 0x65, 0x69, 0x67, 0x68, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0b, 0x62, + 0x6c, 0x6f, 0x63, 0x6b, 0x48, 0x65, 0x69, 0x67, 0x68, 0x74, 0x22, 0x50, 0x0a, 0x20, 0x47, 0x65, + 0x74, 0x52, 0x65, 0x70, 0x75, 0x74, 0x65, 0x72, 0x73, 0x53, 0x63, 0x6f, 0x72, 0x65, 0x73, 0x41, + 0x74, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x2c, + 0x0a, 0x06, 0x73, 0x63, 0x6f, 0x72, 0x65, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x14, + 0x2e, 0x65, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x33, 0x2e, 0x53, 0x63, + 0x6f, 0x72, 0x65, 0x73, 0x52, 0x06, 0x73, 0x63, 0x6f, 0x72, 0x65, 0x73, 0x22, 0x40, 0x0a, 0x23, + 0x47, 0x65, 0x74, 0x43, 0x75, 0x72, 0x72, 0x65, 0x6e, 0x74, 0x4c, 0x6f, 0x77, 0x65, 0x73, 0x74, + 0x52, 0x65, 0x70, 0x75, 0x74, 0x65, 0x72, 0x53, 0x63, 0x6f, 0x72, 0x65, 0x52, 0x65, 0x71, 0x75, + 0x65, 0x73, 0x74, 0x12, 0x19, 0x0a, 0x08, 0x74, 0x6f, 0x70, 0x69, 0x63, 0x5f, 0x69, 0x64, 0x18, + 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x07, 0x74, 0x6f, 0x70, 0x69, 0x63, 0x49, 0x64, 0x22, 0x51, + 0x0a, 0x24, 0x47, 0x65, 0x74, 0x43, 0x75, 0x72, 0x72, 0x65, 0x6e, 0x74, 0x4c, 0x6f, 0x77, 0x65, + 0x73, 0x74, 0x52, 0x65, 0x70, 0x75, 0x74, 0x65, 0x72, 0x53, 0x63, 0x6f, 0x72, 0x65, 0x52, 0x65, + 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x29, 0x0a, 0x05, 0x73, 0x63, 0x6f, 0x72, 0x65, 0x18, + 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x13, 0x2e, 0x65, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, + 0x73, 0x2e, 0x76, 0x33, 0x2e, 0x53, 0x63, 0x6f, 0x72, 0x65, 0x52, 0x05, 0x73, 0x63, 0x6f, 0x72, + 0x65, 0x22, 0x55, 0x0a, 0x1e, 0x47, 0x65, 0x74, 0x4c, 0x69, 0x73, 0x74, 0x65, 0x6e, 0x69, 0x6e, + 0x67, 0x43, 0x6f, 0x65, 0x66, 0x66, 0x69, 0x63, 0x69, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x75, + 0x65, 0x73, 0x74, 0x12, 0x19, 0x0a, 0x08, 0x74, 0x6f, 0x70, 0x69, 0x63, 0x5f, 0x69, 0x64, 0x18, + 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x07, 0x74, 0x6f, 0x70, 0x69, 0x63, 0x49, 0x64, 0x12, 0x18, + 0x0a, 0x07, 0x72, 0x65, 0x70, 0x75, 0x74, 0x65, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x07, 0x72, 0x65, 0x70, 0x75, 0x74, 0x65, 0x72, 0x22, 0x7a, 0x0a, 0x1f, 0x47, 0x65, 0x74, 0x4c, + 0x69, 0x73, 0x74, 0x65, 0x6e, 0x69, 0x6e, 0x67, 0x43, 0x6f, 0x65, 0x66, 0x66, 0x69, 0x63, 0x69, + 0x65, 0x6e, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x57, 0x0a, 0x15, 0x6c, + 0x69, 0x73, 0x74, 0x65, 0x6e, 0x69, 0x6e, 0x67, 0x5f, 0x63, 0x6f, 0x65, 0x66, 0x66, 0x69, 0x63, + 0x69, 0x65, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x22, 0x2e, 0x65, 0x6d, 0x69, + 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x33, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x65, 0x6e, + 0x69, 0x6e, 0x67, 0x43, 0x6f, 0x65, 0x66, 0x66, 0x69, 0x63, 0x69, 0x65, 0x6e, 0x74, 0x52, 0x14, + 0x6c, 0x69, 0x73, 0x74, 0x65, 0x6e, 0x69, 0x6e, 0x67, 0x43, 0x6f, 0x65, 0x66, 0x66, 0x69, 0x63, + 0x69, 0x65, 0x6e, 0x74, 0x22, 0x5e, 0x0a, 0x27, 0x47, 0x65, 0x74, 0x50, 0x72, 0x65, 0x76, 0x69, + 0x6f, 0x75, 0x73, 0x52, 0x65, 0x70, 0x75, 0x74, 0x65, 0x72, 0x52, 0x65, 0x77, 0x61, 0x72, 0x64, + 0x46, 0x72, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, + 0x19, 0x0a, 0x08, 0x74, 0x6f, 0x70, 0x69, 0x63, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, + 0x04, 0x52, 0x07, 0x74, 0x6f, 0x70, 0x69, 0x63, 0x49, 0x64, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, + 0x70, 0x75, 0x74, 0x65, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x72, 0x65, 0x70, + 0x75, 0x74, 0x65, 0x72, 0x22, 0xb0, 0x01, 0x0a, 0x28, 0x47, 0x65, 0x74, 0x50, 0x72, 0x65, 0x76, + 0x69, 0x6f, 0x75, 0x73, 0x52, 0x65, 0x70, 0x75, 0x74, 0x65, 0x72, 0x52, 0x65, 0x77, 0x61, 0x72, + 0x64, 0x46, 0x72, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, + 0x65, 0x12, 0x60, 0x0a, 0x0f, 0x72, 0x65, 0x77, 0x61, 0x72, 0x64, 0x5f, 0x66, 0x72, 0x61, 0x63, + 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x37, 0xc8, 0xde, 0x1f, 0x00, + 0xda, 0xde, 0x1f, 0x2f, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x61, + 0x6c, 0x6c, 0x6f, 0x72, 0x61, 0x2d, 0x6e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x2f, 0x61, 0x6c, + 0x6c, 0x6f, 0x72, 0x61, 0x2d, 0x63, 0x68, 0x61, 0x69, 0x6e, 0x2f, 0x6d, 0x61, 0x74, 0x68, 0x2e, + 0x44, 0x65, 0x63, 0x52, 0x0e, 0x72, 0x65, 0x77, 0x61, 0x72, 0x64, 0x46, 0x72, 0x61, 0x63, 0x74, + 0x69, 0x6f, 0x6e, 0x12, 0x22, 0x0a, 0x09, 0x6e, 0x6f, 0x74, 0x5f, 0x66, 0x6f, 0x75, 0x6e, 0x64, + 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x42, 0x05, 0xa8, 0xe7, 0xb0, 0x2a, 0x01, 0x52, 0x08, 0x6e, + 0x6f, 0x74, 0x46, 0x6f, 0x75, 0x6e, 0x64, 0x22, 0x5e, 0x0a, 0x29, 0x47, 0x65, 0x74, 0x50, 0x72, + 0x65, 0x76, 0x69, 0x6f, 0x75, 0x73, 0x49, 0x6e, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x52, + 0x65, 0x77, 0x61, 0x72, 0x64, 0x46, 0x72, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, + 0x75, 0x65, 0x73, 0x74, 0x12, 0x19, 0x0a, 0x08, 0x74, 0x6f, 0x70, 0x69, 0x63, 0x5f, 0x69, 0x64, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x07, 0x74, 0x6f, 0x70, 0x69, 0x63, 0x49, 0x64, 0x12, + 0x16, 0x0a, 0x06, 0x77, 0x6f, 0x72, 0x6b, 0x65, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x06, 0x77, 0x6f, 0x72, 0x6b, 0x65, 0x72, 0x22, 0xb2, 0x01, 0x0a, 0x2a, 0x47, 0x65, 0x74, 0x50, + 0x72, 0x65, 0x76, 0x69, 0x6f, 0x75, 0x73, 0x49, 0x6e, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, + 0x52, 0x65, 0x77, 0x61, 0x72, 0x64, 0x46, 0x72, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, + 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x60, 0x0a, 0x0f, 0x72, 0x65, 0x77, 0x61, 0x72, 0x64, + 0x5f, 0x66, 0x72, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, + 0x37, 0xc8, 0xde, 0x1f, 0x00, 0xda, 0xde, 0x1f, 0x2f, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, + 0x63, 0x6f, 0x6d, 0x2f, 0x61, 0x6c, 0x6c, 0x6f, 0x72, 0x61, 0x2d, 0x6e, 0x65, 0x74, 0x77, 0x6f, + 0x72, 0x6b, 0x2f, 0x61, 0x6c, 0x6c, 0x6f, 0x72, 0x61, 0x2d, 0x63, 0x68, 0x61, 0x69, 0x6e, 0x2f, + 0x6d, 0x61, 0x74, 0x68, 0x2e, 0x44, 0x65, 0x63, 0x52, 0x0e, 0x72, 0x65, 0x77, 0x61, 0x72, 0x64, + 0x46, 0x72, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x22, 0x0a, 0x09, 0x6e, 0x6f, 0x74, 0x5f, + 0x66, 0x6f, 0x75, 0x6e, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x42, 0x05, 0xa8, 0xe7, 0xb0, + 0x2a, 0x01, 0x52, 0x08, 0x6e, 0x6f, 0x74, 0x46, 0x6f, 0x75, 0x6e, 0x64, 0x22, 0x5d, 0x0a, 0x28, + 0x47, 0x65, 0x74, 0x50, 0x72, 0x65, 0x76, 0x69, 0x6f, 0x75, 0x73, 0x46, 0x6f, 0x72, 0x65, 0x63, + 0x61, 0x73, 0x74, 0x52, 0x65, 0x77, 0x61, 0x72, 0x64, 0x46, 0x72, 0x61, 0x63, 0x74, 0x69, 0x6f, + 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x19, 0x0a, 0x08, 0x74, 0x6f, 0x70, 0x69, + 0x63, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x07, 0x74, 0x6f, 0x70, 0x69, + 0x63, 0x49, 0x64, 0x12, 0x16, 0x0a, 0x06, 0x77, 0x6f, 0x72, 0x6b, 0x65, 0x72, 0x18, 0x02, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x06, 0x77, 0x6f, 0x72, 0x6b, 0x65, 0x72, 0x22, 0xb1, 0x01, 0x0a, 0x29, + 0x47, 0x65, 0x74, 0x50, 0x72, 0x65, 0x76, 0x69, 0x6f, 0x75, 0x73, 0x46, 0x6f, 0x72, 0x65, 0x63, + 0x61, 0x73, 0x74, 0x52, 0x65, 0x77, 0x61, 0x72, 0x64, 0x46, 0x72, 0x61, 0x63, 0x74, 0x69, 0x6f, + 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x60, 0x0a, 0x0f, 0x72, 0x65, 0x77, + 0x61, 0x72, 0x64, 0x5f, 0x66, 0x72, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, + 0x28, 0x09, 0x42, 0x37, 0xc8, 0xde, 0x1f, 0x00, 0xda, 0xde, 0x1f, 0x2f, 0x67, 0x69, 0x74, 0x68, + 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x61, 0x6c, 0x6c, 0x6f, 0x72, 0x61, 0x2d, 0x6e, 0x65, + 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x2f, 0x61, 0x6c, 0x6c, 0x6f, 0x72, 0x61, 0x2d, 0x63, 0x68, 0x61, + 0x69, 0x6e, 0x2f, 0x6d, 0x61, 0x74, 0x68, 0x2e, 0x44, 0x65, 0x63, 0x52, 0x0e, 0x72, 0x65, 0x77, + 0x61, 0x72, 0x64, 0x46, 0x72, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x22, 0x0a, 0x09, 0x6e, + 0x6f, 0x74, 0x5f, 0x66, 0x6f, 0x75, 0x6e, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x42, 0x05, + 0xa8, 0xe7, 0xb0, 0x2a, 0x01, 0x52, 0x08, 0x6e, 0x6f, 0x74, 0x46, 0x6f, 0x75, 0x6e, 0x64, 0x22, + 0x34, 0x0a, 0x32, 0x47, 0x65, 0x74, 0x50, 0x72, 0x65, 0x76, 0x69, 0x6f, 0x75, 0x73, 0x50, 0x65, + 0x72, 0x63, 0x65, 0x6e, 0x74, 0x61, 0x67, 0x65, 0x52, 0x65, 0x77, 0x61, 0x72, 0x64, 0x54, 0x6f, + 0x53, 0x74, 0x61, 0x6b, 0x65, 0x64, 0x52, 0x65, 0x70, 0x75, 0x74, 0x65, 0x72, 0x73, 0x52, 0x65, + 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0x9b, 0x01, 0x0a, 0x33, 0x47, 0x65, 0x74, 0x50, 0x72, 0x65, + 0x76, 0x69, 0x6f, 0x75, 0x73, 0x50, 0x65, 0x72, 0x63, 0x65, 0x6e, 0x74, 0x61, 0x67, 0x65, 0x52, + 0x65, 0x77, 0x61, 0x72, 0x64, 0x54, 0x6f, 0x53, 0x74, 0x61, 0x6b, 0x65, 0x64, 0x52, 0x65, 0x70, + 0x75, 0x74, 0x65, 0x72, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x64, 0x0a, + 0x11, 0x70, 0x65, 0x72, 0x63, 0x65, 0x6e, 0x74, 0x61, 0x67, 0x65, 0x5f, 0x72, 0x65, 0x77, 0x61, + 0x72, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x37, 0xc8, 0xde, 0x1f, 0x00, 0xda, 0xde, + 0x1f, 0x2f, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x61, 0x6c, 0x6c, + 0x6f, 0x72, 0x61, 0x2d, 0x6e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x2f, 0x61, 0x6c, 0x6c, 0x6f, + 0x72, 0x61, 0x2d, 0x63, 0x68, 0x61, 0x69, 0x6e, 0x2f, 0x6d, 0x61, 0x74, 0x68, 0x2e, 0x44, 0x65, + 0x63, 0x52, 0x10, 0x70, 0x65, 0x72, 0x63, 0x65, 0x6e, 0x74, 0x61, 0x67, 0x65, 0x52, 0x65, 0x77, + 0x61, 0x72, 0x64, 0x22, 0x23, 0x0a, 0x21, 0x47, 0x65, 0x74, 0x54, 0x6f, 0x74, 0x61, 0x6c, 0x52, + 0x65, 0x77, 0x61, 0x72, 0x64, 0x54, 0x6f, 0x44, 0x69, 0x73, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, + 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0x80, 0x01, 0x0a, 0x22, 0x47, 0x65, 0x74, + 0x54, 0x6f, 0x74, 0x61, 0x6c, 0x52, 0x65, 0x77, 0x61, 0x72, 0x64, 0x54, 0x6f, 0x44, 0x69, 0x73, + 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, + 0x5a, 0x0a, 0x0c, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x5f, 0x72, 0x65, 0x77, 0x61, 0x72, 0x64, 0x18, + 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x37, 0xc8, 0xde, 0x1f, 0x00, 0xda, 0xde, 0x1f, 0x2f, 0x67, + 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x61, 0x6c, 0x6c, 0x6f, 0x72, 0x61, + 0x2d, 0x6e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x2f, 0x61, 0x6c, 0x6c, 0x6f, 0x72, 0x61, 0x2d, + 0x63, 0x68, 0x61, 0x69, 0x6e, 0x2f, 0x6d, 0x61, 0x74, 0x68, 0x2e, 0x44, 0x65, 0x63, 0x52, 0x0b, + 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x52, 0x65, 0x77, 0x61, 0x72, 0x64, 0x22, 0x42, 0x0a, 0x1d, 0x47, + 0x65, 0x74, 0x41, 0x63, 0x74, 0x69, 0x76, 0x65, 0x54, 0x6f, 0x70, 0x69, 0x63, 0x73, 0x41, 0x74, + 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x21, 0x0a, 0x0c, + 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x5f, 0x68, 0x65, 0x69, 0x67, 0x68, 0x74, 0x18, 0x01, 0x20, 0x01, + 0x28, 0x03, 0x52, 0x0b, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x48, 0x65, 0x69, 0x67, 0x68, 0x74, 0x22, + 0x9b, 0x01, 0x0a, 0x1e, 0x47, 0x65, 0x74, 0x41, 0x63, 0x74, 0x69, 0x76, 0x65, 0x54, 0x6f, 0x70, + 0x69, 0x63, 0x73, 0x41, 0x74, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, + 0x73, 0x65, 0x12, 0x2b, 0x0a, 0x06, 0x74, 0x6f, 0x70, 0x69, 0x63, 0x73, 0x18, 0x01, 0x20, 0x03, + 0x28, 0x0b, 0x32, 0x13, 0x2e, 0x65, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, + 0x33, 0x2e, 0x54, 0x6f, 0x70, 0x69, 0x63, 0x52, 0x06, 0x74, 0x6f, 0x70, 0x69, 0x63, 0x73, 0x12, + 0x4c, 0x0a, 0x0a, 0x70, 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, + 0x01, 0x28, 0x0b, 0x32, 0x2c, 0x2e, 0x65, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2e, + 0x76, 0x33, 0x2e, 0x53, 0x69, 0x6d, 0x70, 0x6c, 0x65, 0x43, 0x75, 0x72, 0x73, 0x6f, 0x72, 0x50, + 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, + 0x65, 0x52, 0x0a, 0x70, 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x41, 0x0a, + 0x24, 0x47, 0x65, 0x74, 0x4e, 0x65, 0x78, 0x74, 0x43, 0x68, 0x75, 0x72, 0x6e, 0x69, 0x6e, 0x67, + 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x42, 0x79, 0x54, 0x6f, 0x70, 0x69, 0x63, 0x49, 0x64, 0x52, 0x65, + 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x19, 0x0a, 0x08, 0x74, 0x6f, 0x70, 0x69, 0x63, 0x5f, 0x69, + 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x07, 0x74, 0x6f, 0x70, 0x69, 0x63, 0x49, 0x64, + 0x22, 0x4a, 0x0a, 0x25, 0x47, 0x65, 0x74, 0x4e, 0x65, 0x78, 0x74, 0x43, 0x68, 0x75, 0x72, 0x6e, + 0x69, 0x6e, 0x67, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x42, 0x79, 0x54, 0x6f, 0x70, 0x69, 0x63, 0x49, + 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x21, 0x0a, 0x0c, 0x62, 0x6c, 0x6f, + 0x63, 0x6b, 0x5f, 0x68, 0x65, 0x69, 0x67, 0x68, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, + 0x0b, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x48, 0x65, 0x69, 0x67, 0x68, 0x74, 0x22, 0x3d, 0x0a, 0x20, + 0x47, 0x65, 0x74, 0x41, 0x63, 0x74, 0x69, 0x76, 0x65, 0x52, 0x65, 0x70, 0x75, 0x74, 0x65, 0x72, + 0x73, 0x46, 0x6f, 0x72, 0x54, 0x6f, 0x70, 0x69, 0x63, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, + 0x12, 0x19, 0x0a, 0x08, 0x74, 0x6f, 0x70, 0x69, 0x63, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, + 0x28, 0x04, 0x52, 0x07, 0x74, 0x6f, 0x70, 0x69, 0x63, 0x49, 0x64, 0x22, 0x3f, 0x0a, 0x21, 0x47, + 0x65, 0x74, 0x41, 0x63, 0x74, 0x69, 0x76, 0x65, 0x52, 0x65, 0x70, 0x75, 0x74, 0x65, 0x72, 0x73, + 0x46, 0x6f, 0x72, 0x54, 0x6f, 0x70, 0x69, 0x63, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, + 0x12, 0x1a, 0x0a, 0x08, 0x72, 0x65, 0x70, 0x75, 0x74, 0x65, 0x72, 0x73, 0x18, 0x01, 0x20, 0x03, + 0x28, 0x09, 0x52, 0x08, 0x72, 0x65, 0x70, 0x75, 0x74, 0x65, 0x72, 0x73, 0x22, 0x40, 0x0a, 0x23, + 0x47, 0x65, 0x74, 0x41, 0x63, 0x74, 0x69, 0x76, 0x65, 0x46, 0x6f, 0x72, 0x65, 0x63, 0x61, 0x73, + 0x74, 0x65, 0x72, 0x73, 0x46, 0x6f, 0x72, 0x54, 0x6f, 0x70, 0x69, 0x63, 0x52, 0x65, 0x71, 0x75, + 0x65, 0x73, 0x74, 0x12, 0x19, 0x0a, 0x08, 0x74, 0x6f, 0x70, 0x69, 0x63, 0x5f, 0x69, 0x64, 0x18, + 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x07, 0x74, 0x6f, 0x70, 0x69, 0x63, 0x49, 0x64, 0x22, 0x48, + 0x0a, 0x24, 0x47, 0x65, 0x74, 0x41, 0x63, 0x74, 0x69, 0x76, 0x65, 0x46, 0x6f, 0x72, 0x65, 0x63, + 0x61, 0x73, 0x74, 0x65, 0x72, 0x73, 0x46, 0x6f, 0x72, 0x54, 0x6f, 0x70, 0x69, 0x63, 0x52, 0x65, + 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x20, 0x0a, 0x0b, 0x66, 0x6f, 0x72, 0x65, 0x63, 0x61, + 0x73, 0x74, 0x65, 0x72, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0b, 0x66, 0x6f, 0x72, + 0x65, 0x63, 0x61, 0x73, 0x74, 0x65, 0x72, 0x73, 0x22, 0x3d, 0x0a, 0x20, 0x47, 0x65, 0x74, 0x41, + 0x63, 0x74, 0x69, 0x76, 0x65, 0x49, 0x6e, 0x66, 0x65, 0x72, 0x65, 0x72, 0x73, 0x46, 0x6f, 0x72, + 0x54, 0x6f, 0x70, 0x69, 0x63, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x19, 0x0a, 0x08, + 0x74, 0x6f, 0x70, 0x69, 0x63, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x07, + 0x74, 0x6f, 0x70, 0x69, 0x63, 0x49, 0x64, 0x22, 0x3f, 0x0a, 0x21, 0x47, 0x65, 0x74, 0x41, 0x63, + 0x74, 0x69, 0x76, 0x65, 0x49, 0x6e, 0x66, 0x65, 0x72, 0x65, 0x72, 0x73, 0x46, 0x6f, 0x72, 0x54, + 0x6f, 0x70, 0x69, 0x63, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x1a, 0x0a, 0x08, + 0x69, 0x6e, 0x66, 0x65, 0x72, 0x65, 0x72, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x09, 0x52, 0x08, + 0x69, 0x6e, 0x66, 0x65, 0x72, 0x65, 0x72, 0x73, 0x22, 0x42, 0x0a, 0x25, 0x47, 0x65, 0x74, 0x54, + 0x6f, 0x70, 0x69, 0x63, 0x49, 0x6e, 0x69, 0x74, 0x69, 0x61, 0x6c, 0x49, 0x6e, 0x66, 0x65, 0x72, + 0x65, 0x72, 0x45, 0x6d, 0x61, 0x53, 0x63, 0x6f, 0x72, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, + 0x74, 0x12, 0x19, 0x0a, 0x08, 0x74, 0x6f, 0x70, 0x69, 0x63, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x04, 0x52, 0x07, 0x74, 0x6f, 0x70, 0x69, 0x63, 0x49, 0x64, 0x22, 0x7c, 0x0a, 0x26, + 0x47, 0x65, 0x74, 0x54, 0x6f, 0x70, 0x69, 0x63, 0x49, 0x6e, 0x69, 0x74, 0x69, 0x61, 0x6c, 0x49, + 0x6e, 0x66, 0x65, 0x72, 0x65, 0x72, 0x45, 0x6d, 0x61, 0x53, 0x63, 0x6f, 0x72, 0x65, 0x52, 0x65, + 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x52, 0x0a, 0x05, 0x73, 0x63, 0x6f, 0x72, 0x65, 0x18, + 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x3c, 0xc8, 0xde, 0x1f, 0x00, 0xda, 0xde, 0x1f, 0x2f, 0x67, + 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x61, 0x6c, 0x6c, 0x6f, 0x72, 0x61, + 0x2d, 0x6e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x2f, 0x61, 0x6c, 0x6c, 0x6f, 0x72, 0x61, 0x2d, + 0x63, 0x68, 0x61, 0x69, 0x6e, 0x2f, 0x6d, 0x61, 0x74, 0x68, 0x2e, 0x44, 0x65, 0x63, 0xa8, 0xe7, + 0xb0, 0x2a, 0x01, 0x52, 0x05, 0x73, 0x63, 0x6f, 0x72, 0x65, 0x22, 0x45, 0x0a, 0x28, 0x47, 0x65, + 0x74, 0x54, 0x6f, 0x70, 0x69, 0x63, 0x49, 0x6e, 0x69, 0x74, 0x69, 0x61, 0x6c, 0x46, 0x6f, 0x72, + 0x65, 0x63, 0x61, 0x73, 0x74, 0x65, 0x72, 0x45, 0x6d, 0x61, 0x53, 0x63, 0x6f, 0x72, 0x65, 0x52, + 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x19, 0x0a, 0x08, 0x74, 0x6f, 0x70, 0x69, 0x63, 0x5f, + 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x07, 0x74, 0x6f, 0x70, 0x69, 0x63, 0x49, + 0x64, 0x22, 0x7f, 0x0a, 0x29, 0x47, 0x65, 0x74, 0x54, 0x6f, 0x70, 0x69, 0x63, 0x49, 0x6e, 0x69, + 0x74, 0x69, 0x61, 0x6c, 0x46, 0x6f, 0x72, 0x65, 0x63, 0x61, 0x73, 0x74, 0x65, 0x72, 0x45, 0x6d, + 0x61, 0x53, 0x63, 0x6f, 0x72, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x52, + 0x0a, 0x05, 0x73, 0x63, 0x6f, 0x72, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x3c, 0xc8, + 0xde, 0x1f, 0x00, 0xda, 0xde, 0x1f, 0x2f, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, + 0x6d, 0x2f, 0x61, 0x6c, 0x6c, 0x6f, 0x72, 0x61, 0x2d, 0x6e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, + 0x2f, 0x61, 0x6c, 0x6c, 0x6f, 0x72, 0x61, 0x2d, 0x63, 0x68, 0x61, 0x69, 0x6e, 0x2f, 0x6d, 0x61, + 0x74, 0x68, 0x2e, 0x44, 0x65, 0x63, 0xa8, 0xe7, 0xb0, 0x2a, 0x01, 0x52, 0x05, 0x73, 0x63, 0x6f, + 0x72, 0x65, 0x22, 0x42, 0x0a, 0x25, 0x47, 0x65, 0x74, 0x54, 0x6f, 0x70, 0x69, 0x63, 0x49, 0x6e, + 0x69, 0x74, 0x69, 0x61, 0x6c, 0x52, 0x65, 0x70, 0x75, 0x74, 0x65, 0x72, 0x45, 0x6d, 0x61, 0x53, + 0x63, 0x6f, 0x72, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x19, 0x0a, 0x08, 0x74, + 0x6f, 0x70, 0x69, 0x63, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x07, 0x74, + 0x6f, 0x70, 0x69, 0x63, 0x49, 0x64, 0x22, 0x7c, 0x0a, 0x26, 0x47, 0x65, 0x74, 0x54, 0x6f, 0x70, + 0x69, 0x63, 0x49, 0x6e, 0x69, 0x74, 0x69, 0x61, 0x6c, 0x52, 0x65, 0x70, 0x75, 0x74, 0x65, 0x72, + 0x45, 0x6d, 0x61, 0x53, 0x63, 0x6f, 0x72, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, + 0x12, 0x52, 0x0a, 0x05, 0x73, 0x63, 0x6f, 0x72, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, + 0x3c, 0xc8, 0xde, 0x1f, 0x00, 0xda, 0xde, 0x1f, 0x2f, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, + 0x63, 0x6f, 0x6d, 0x2f, 0x61, 0x6c, 0x6c, 0x6f, 0x72, 0x61, 0x2d, 0x6e, 0x65, 0x74, 0x77, 0x6f, + 0x72, 0x6b, 0x2f, 0x61, 0x6c, 0x6c, 0x6f, 0x72, 0x61, 0x2d, 0x63, 0x68, 0x61, 0x69, 0x6e, 0x2f, + 0x6d, 0x61, 0x74, 0x68, 0x2e, 0x44, 0x65, 0x63, 0xa8, 0xe7, 0xb0, 0x2a, 0x01, 0x52, 0x05, 0x73, + 0x63, 0x6f, 0x72, 0x65, 0x22, 0x3a, 0x0a, 0x1d, 0x47, 0x65, 0x74, 0x4c, 0x61, 0x74, 0x65, 0x73, + 0x74, 0x52, 0x65, 0x67, 0x72, 0x65, 0x74, 0x53, 0x74, 0x64, 0x4e, 0x6f, 0x72, 0x6d, 0x52, 0x65, + 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x19, 0x0a, 0x08, 0x74, 0x6f, 0x70, 0x69, 0x63, 0x5f, 0x69, + 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x07, 0x74, 0x6f, 0x70, 0x69, 0x63, 0x49, 0x64, + 0x22, 0x6f, 0x0a, 0x1e, 0x47, 0x65, 0x74, 0x4c, 0x61, 0x74, 0x65, 0x73, 0x74, 0x52, 0x65, 0x67, + 0x72, 0x65, 0x74, 0x53, 0x74, 0x64, 0x4e, 0x6f, 0x72, 0x6d, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, + 0x73, 0x65, 0x12, 0x4d, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, + 0x09, 0x42, 0x37, 0xc8, 0xde, 0x1f, 0x00, 0xda, 0xde, 0x1f, 0x2f, 0x67, 0x69, 0x74, 0x68, 0x75, + 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x61, 0x6c, 0x6c, 0x6f, 0x72, 0x61, 0x2d, 0x6e, 0x65, 0x74, + 0x77, 0x6f, 0x72, 0x6b, 0x2f, 0x61, 0x6c, 0x6c, 0x6f, 0x72, 0x61, 0x2d, 0x63, 0x68, 0x61, 0x69, + 0x6e, 0x2f, 0x6d, 0x61, 0x74, 0x68, 0x2e, 0x44, 0x65, 0x63, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, + 0x65, 0x22, 0x55, 0x0a, 0x1d, 0x47, 0x65, 0x74, 0x4c, 0x61, 0x74, 0x65, 0x73, 0x74, 0x49, 0x6e, + 0x66, 0x65, 0x72, 0x65, 0x72, 0x57, 0x65, 0x69, 0x67, 0x68, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, + 0x73, 0x74, 0x12, 0x19, 0x0a, 0x08, 0x74, 0x6f, 0x70, 0x69, 0x63, 0x5f, 0x69, 0x64, 0x18, 0x01, + 0x20, 0x01, 0x28, 0x04, 0x52, 0x07, 0x74, 0x6f, 0x70, 0x69, 0x63, 0x49, 0x64, 0x12, 0x19, 0x0a, + 0x08, 0x61, 0x63, 0x74, 0x6f, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x07, 0x61, 0x63, 0x74, 0x6f, 0x72, 0x49, 0x64, 0x22, 0x71, 0x0a, 0x1e, 0x47, 0x65, 0x74, 0x4c, + 0x61, 0x74, 0x65, 0x73, 0x74, 0x49, 0x6e, 0x66, 0x65, 0x72, 0x65, 0x72, 0x57, 0x65, 0x69, 0x67, + 0x68, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x4f, 0x0a, 0x06, 0x77, 0x65, + 0x69, 0x67, 0x68, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x37, 0xc8, 0xde, 0x1f, 0x00, + 0xda, 0xde, 0x1f, 0x2f, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x61, + 0x6c, 0x6c, 0x6f, 0x72, 0x61, 0x2d, 0x6e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x2f, 0x61, 0x6c, + 0x6c, 0x6f, 0x72, 0x61, 0x2d, 0x63, 0x68, 0x61, 0x69, 0x6e, 0x2f, 0x6d, 0x61, 0x74, 0x68, 0x2e, + 0x44, 0x65, 0x63, 0x52, 0x06, 0x77, 0x65, 0x69, 0x67, 0x68, 0x74, 0x22, 0x58, 0x0a, 0x20, 0x47, + 0x65, 0x74, 0x4c, 0x61, 0x74, 0x65, 0x73, 0x74, 0x46, 0x6f, 0x72, 0x65, 0x63, 0x61, 0x73, 0x74, + 0x65, 0x72, 0x57, 0x65, 0x69, 0x67, 0x68, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, + 0x19, 0x0a, 0x08, 0x74, 0x6f, 0x70, 0x69, 0x63, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, + 0x04, 0x52, 0x07, 0x74, 0x6f, 0x70, 0x69, 0x63, 0x49, 0x64, 0x12, 0x19, 0x0a, 0x08, 0x61, 0x63, + 0x74, 0x6f, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x61, 0x63, + 0x74, 0x6f, 0x72, 0x49, 0x64, 0x22, 0x74, 0x0a, 0x21, 0x47, 0x65, 0x74, 0x4c, 0x61, 0x74, 0x65, + 0x73, 0x74, 0x46, 0x6f, 0x72, 0x65, 0x63, 0x61, 0x73, 0x74, 0x65, 0x72, 0x57, 0x65, 0x69, 0x67, + 0x68, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x4f, 0x0a, 0x06, 0x77, 0x65, + 0x69, 0x67, 0x68, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x37, 0xc8, 0xde, 0x1f, 0x00, + 0xda, 0xde, 0x1f, 0x2f, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x61, + 0x6c, 0x6c, 0x6f, 0x72, 0x61, 0x2d, 0x6e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x2f, 0x61, 0x6c, + 0x6c, 0x6f, 0x72, 0x61, 0x2d, 0x63, 0x68, 0x61, 0x69, 0x6e, 0x2f, 0x6d, 0x61, 0x74, 0x68, 0x2e, + 0x44, 0x65, 0x63, 0x52, 0x06, 0x77, 0x65, 0x69, 0x67, 0x68, 0x74, 0x32, 0xde, 0xaa, 0x01, 0x0a, + 0x0c, 0x51, 0x75, 0x65, 0x72, 0x79, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x6a, 0x0a, + 0x09, 0x47, 0x65, 0x74, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x12, 0x1e, 0x2e, 0x65, 0x6d, 0x69, + 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x38, 0x2e, 0x47, 0x65, 0x74, 0x50, 0x61, 0x72, + 0x61, 0x6d, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1f, 0x2e, 0x65, 0x6d, 0x69, + 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x38, 0x2e, 0x47, 0x65, 0x74, 0x50, 0x61, 0x72, + 0x61, 0x6d, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x1c, 0x82, 0xd3, 0xe4, + 0x93, 0x02, 0x16, 0x12, 0x14, 0x2f, 0x65, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2f, + 0x76, 0x38, 0x2f, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x12, 0x85, 0x01, 0x0a, 0x0e, 0x47, 0x65, + 0x74, 0x4e, 0x65, 0x78, 0x74, 0x54, 0x6f, 0x70, 0x69, 0x63, 0x49, 0x64, 0x12, 0x23, 0x2e, 0x65, + 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x38, 0x2e, 0x47, 0x65, 0x74, 0x4e, + 0x65, 0x78, 0x74, 0x54, 0x6f, 0x70, 0x69, 0x63, 0x49, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, + 0x74, 0x1a, 0x24, 0x2e, 0x65, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x38, + 0x2e, 0x47, 0x65, 0x74, 0x4e, 0x65, 0x78, 0x74, 0x54, 0x6f, 0x70, 0x69, 0x63, 0x49, 0x64, 0x52, + 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x28, 0x88, 0xe7, 0xb0, 0x2a, 0x01, 0x82, 0xd3, + 0xe4, 0x93, 0x02, 0x1d, 0x12, 0x1b, 0x2f, 0x65, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, + 0x2f, 0x76, 0x38, 0x2f, 0x6e, 0x65, 0x78, 0x74, 0x5f, 0x74, 0x6f, 0x70, 0x69, 0x63, 0x5f, 0x69, + 0x64, 0x12, 0x77, 0x0a, 0x08, 0x47, 0x65, 0x74, 0x54, 0x6f, 0x70, 0x69, 0x63, 0x12, 0x1d, 0x2e, + 0x65, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x38, 0x2e, 0x47, 0x65, 0x74, + 0x54, 0x6f, 0x70, 0x69, 0x63, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1e, 0x2e, 0x65, + 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x38, 0x2e, 0x47, 0x65, 0x74, 0x54, + 0x6f, 0x70, 0x69, 0x63, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x2c, 0x88, 0xe7, + 0xb0, 0x2a, 0x01, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x21, 0x12, 0x1f, 0x2f, 0x65, 0x6d, 0x69, 0x73, + 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x76, 0x38, 0x2f, 0x74, 0x6f, 0x70, 0x69, 0x63, 0x73, 0x2f, + 0x7b, 0x74, 0x6f, 0x70, 0x69, 0x63, 0x5f, 0x69, 0x64, 0x7d, 0x12, 0xec, 0x01, 0x0a, 0x21, 0x47, + 0x65, 0x74, 0x57, 0x6f, 0x72, 0x6b, 0x65, 0x72, 0x4c, 0x61, 0x74, 0x65, 0x73, 0x74, 0x49, 0x6e, + 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x42, 0x79, 0x54, 0x6f, 0x70, 0x69, 0x63, 0x49, 0x64, + 0x12, 0x36, 0x2e, 0x65, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x38, 0x2e, + 0x47, 0x65, 0x74, 0x57, 0x6f, 0x72, 0x6b, 0x65, 0x72, 0x4c, 0x61, 0x74, 0x65, 0x73, 0x74, 0x49, + 0x6e, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x42, 0x79, 0x54, 0x6f, 0x70, 0x69, 0x63, 0x49, + 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x37, 0x2e, 0x65, 0x6d, 0x69, 0x73, 0x73, + 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x38, 0x2e, 0x47, 0x65, 0x74, 0x57, 0x6f, 0x72, 0x6b, 0x65, + 0x72, 0x4c, 0x61, 0x74, 0x65, 0x73, 0x74, 0x49, 0x6e, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, + 0x42, 0x79, 0x54, 0x6f, 0x70, 0x69, 0x63, 0x49, 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, + 0x65, 0x22, 0x56, 0x88, 0xe7, 0xb0, 0x2a, 0x01, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x4b, 0x12, 0x49, + 0x2f, 0x65, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x76, 0x38, 0x2f, 0x74, 0x6f, + 0x70, 0x69, 0x63, 0x73, 0x2f, 0x7b, 0x74, 0x6f, 0x70, 0x69, 0x63, 0x5f, 0x69, 0x64, 0x7d, 0x2f, + 0x77, 0x6f, 0x72, 0x6b, 0x65, 0x72, 0x73, 0x2f, 0x7b, 0x77, 0x6f, 0x72, 0x6b, 0x65, 0x72, 0x5f, + 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x7d, 0x2f, 0x6c, 0x61, 0x74, 0x65, 0x73, 0x74, 0x5f, + 0x69, 0x6e, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x12, 0xae, 0x01, 0x0a, 0x14, 0x47, 0x65, + 0x74, 0x49, 0x6e, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x73, 0x41, 0x74, 0x42, 0x6c, 0x6f, + 0x63, 0x6b, 0x12, 0x29, 0x2e, 0x65, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, + 0x38, 0x2e, 0x47, 0x65, 0x74, 0x49, 0x6e, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x73, 0x41, + 0x74, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2a, 0x2e, + 0x65, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x38, 0x2e, 0x47, 0x65, 0x74, + 0x49, 0x6e, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x73, 0x41, 0x74, 0x42, 0x6c, 0x6f, 0x63, + 0x6b, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x3f, 0x88, 0xe7, 0xb0, 0x2a, 0x01, + 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x34, 0x12, 0x32, 0x2f, 0x65, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, + 0x6e, 0x73, 0x2f, 0x76, 0x38, 0x2f, 0x69, 0x6e, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x73, + 0x2f, 0x7b, 0x74, 0x6f, 0x70, 0x69, 0x63, 0x5f, 0x69, 0x64, 0x7d, 0x2f, 0x7b, 0x62, 0x6c, 0x6f, + 0x63, 0x6b, 0x5f, 0x68, 0x65, 0x69, 0x67, 0x68, 0x74, 0x7d, 0x12, 0xb2, 0x01, 0x0a, 0x18, 0x47, + 0x65, 0x74, 0x4c, 0x61, 0x74, 0x65, 0x73, 0x74, 0x54, 0x6f, 0x70, 0x69, 0x63, 0x49, 0x6e, 0x66, + 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x73, 0x12, 0x2d, 0x2e, 0x65, 0x6d, 0x69, 0x73, 0x73, 0x69, + 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x38, 0x2e, 0x47, 0x65, 0x74, 0x4c, 0x61, 0x74, 0x65, 0x73, 0x74, + 0x54, 0x6f, 0x70, 0x69, 0x63, 0x49, 0x6e, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x73, 0x52, + 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2e, 0x2e, 0x65, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, + 0x6e, 0x73, 0x2e, 0x76, 0x38, 0x2e, 0x47, 0x65, 0x74, 0x4c, 0x61, 0x74, 0x65, 0x73, 0x74, 0x54, + 0x6f, 0x70, 0x69, 0x63, 0x49, 0x6e, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x73, 0x52, 0x65, + 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x37, 0x88, 0xe7, 0xb0, 0x2a, 0x01, 0x82, 0xd3, 0xe4, + 0x93, 0x02, 0x2c, 0x12, 0x2a, 0x2f, 0x65, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2f, + 0x76, 0x38, 0x2f, 0x6c, 0x61, 0x74, 0x65, 0x73, 0x74, 0x5f, 0x69, 0x6e, 0x66, 0x65, 0x72, 0x65, + 0x6e, 0x63, 0x65, 0x73, 0x2f, 0x7b, 0x74, 0x6f, 0x70, 0x69, 0x63, 0x5f, 0x69, 0x64, 0x7d, 0x12, + 0xaa, 0x01, 0x0a, 0x13, 0x47, 0x65, 0x74, 0x46, 0x6f, 0x72, 0x65, 0x63, 0x61, 0x73, 0x74, 0x73, + 0x41, 0x74, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x12, 0x28, 0x2e, 0x65, 0x6d, 0x69, 0x73, 0x73, 0x69, + 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x38, 0x2e, 0x47, 0x65, 0x74, 0x46, 0x6f, 0x72, 0x65, 0x63, 0x61, + 0x73, 0x74, 0x73, 0x41, 0x74, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, + 0x74, 0x1a, 0x29, 0x2e, 0x65, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x38, + 0x2e, 0x47, 0x65, 0x74, 0x46, 0x6f, 0x72, 0x65, 0x63, 0x61, 0x73, 0x74, 0x73, 0x41, 0x74, 0x42, + 0x6c, 0x6f, 0x63, 0x6b, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x3e, 0x88, 0xe7, + 0xb0, 0x2a, 0x01, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x33, 0x12, 0x31, 0x2f, 0x65, 0x6d, 0x69, 0x73, + 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x76, 0x38, 0x2f, 0x66, 0x6f, 0x72, 0x65, 0x63, 0x61, 0x73, + 0x74, 0x73, 0x2f, 0x7b, 0x74, 0x6f, 0x70, 0x69, 0x63, 0x5f, 0x69, 0x64, 0x7d, 0x2f, 0x7b, 0x62, + 0x6c, 0x6f, 0x63, 0x6b, 0x5f, 0x68, 0x65, 0x69, 0x67, 0x68, 0x74, 0x7d, 0x12, 0xc5, 0x01, 0x0a, + 0x1b, 0x47, 0x65, 0x74, 0x4e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x4c, 0x6f, 0x73, 0x73, 0x42, + 0x75, 0x6e, 0x64, 0x6c, 0x65, 0x41, 0x74, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x12, 0x30, 0x2e, 0x65, + 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x38, 0x2e, 0x47, 0x65, 0x74, 0x4e, + 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x4c, 0x6f, 0x73, 0x73, 0x42, 0x75, 0x6e, 0x64, 0x6c, 0x65, + 0x41, 0x74, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x31, + 0x2e, 0x65, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x38, 0x2e, 0x47, 0x65, + 0x74, 0x4e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x4c, 0x6f, 0x73, 0x73, 0x42, 0x75, 0x6e, 0x64, + 0x6c, 0x65, 0x41, 0x74, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, + 0x65, 0x22, 0x41, 0x88, 0xe7, 0xb0, 0x2a, 0x01, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x36, 0x12, 0x34, + 0x2f, 0x65, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x76, 0x38, 0x2f, 0x6e, 0x65, + 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x5f, 0x6c, 0x6f, 0x73, 0x73, 0x2f, 0x7b, 0x74, 0x6f, 0x70, 0x69, + 0x63, 0x5f, 0x69, 0x64, 0x7d, 0x2f, 0x7b, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x5f, 0x68, 0x65, 0x69, + 0x67, 0x68, 0x74, 0x7d, 0x12, 0x80, 0x01, 0x0a, 0x0d, 0x47, 0x65, 0x74, 0x54, 0x6f, 0x74, 0x61, + 0x6c, 0x53, 0x74, 0x61, 0x6b, 0x65, 0x12, 0x22, 0x2e, 0x65, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, + 0x6e, 0x73, 0x2e, 0x76, 0x38, 0x2e, 0x47, 0x65, 0x74, 0x54, 0x6f, 0x74, 0x61, 0x6c, 0x53, 0x74, + 0x61, 0x6b, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x23, 0x2e, 0x65, 0x6d, 0x69, + 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x38, 0x2e, 0x47, 0x65, 0x74, 0x54, 0x6f, 0x74, + 0x61, 0x6c, 0x53, 0x74, 0x61, 0x6b, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, + 0x26, 0x88, 0xe7, 0xb0, 0x2a, 0x01, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x1b, 0x12, 0x19, 0x2f, 0x65, + 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x76, 0x38, 0x2f, 0x74, 0x6f, 0x74, 0x61, + 0x6c, 0x5f, 0x73, 0x74, 0x61, 0x6b, 0x65, 0x12, 0xb2, 0x01, 0x0a, 0x16, 0x47, 0x65, 0x74, 0x52, + 0x65, 0x70, 0x75, 0x74, 0x65, 0x72, 0x53, 0x74, 0x61, 0x6b, 0x65, 0x49, 0x6e, 0x54, 0x6f, 0x70, + 0x69, 0x63, 0x12, 0x2b, 0x2e, 0x65, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, + 0x38, 0x2e, 0x47, 0x65, 0x74, 0x52, 0x65, 0x70, 0x75, 0x74, 0x65, 0x72, 0x53, 0x74, 0x61, 0x6b, + 0x65, 0x49, 0x6e, 0x54, 0x6f, 0x70, 0x69, 0x63, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, + 0x2c, 0x2e, 0x65, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x38, 0x2e, 0x47, + 0x65, 0x74, 0x52, 0x65, 0x70, 0x75, 0x74, 0x65, 0x72, 0x53, 0x74, 0x61, 0x6b, 0x65, 0x49, 0x6e, + 0x54, 0x6f, 0x70, 0x69, 0x63, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x3d, 0x88, + 0xe7, 0xb0, 0x2a, 0x01, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x32, 0x12, 0x30, 0x2f, 0x65, 0x6d, 0x69, + 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x76, 0x38, 0x2f, 0x72, 0x65, 0x70, 0x75, 0x74, 0x65, + 0x72, 0x5f, 0x73, 0x74, 0x61, 0x6b, 0x65, 0x2f, 0x7b, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, + 0x7d, 0x2f, 0x7b, 0x74, 0x6f, 0x70, 0x69, 0x63, 0x5f, 0x69, 0x64, 0x7d, 0x12, 0xb9, 0x01, 0x0a, + 0x1b, 0x47, 0x65, 0x74, 0x4d, 0x75, 0x6c, 0x74, 0x69, 0x52, 0x65, 0x70, 0x75, 0x74, 0x65, 0x72, + 0x53, 0x74, 0x61, 0x6b, 0x65, 0x49, 0x6e, 0x54, 0x6f, 0x70, 0x69, 0x63, 0x12, 0x30, 0x2e, 0x65, + 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x38, 0x2e, 0x47, 0x65, 0x74, 0x4d, + 0x75, 0x6c, 0x74, 0x69, 0x52, 0x65, 0x70, 0x75, 0x74, 0x65, 0x72, 0x53, 0x74, 0x61, 0x6b, 0x65, + 0x49, 0x6e, 0x54, 0x6f, 0x70, 0x69, 0x63, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x31, + 0x2e, 0x65, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x38, 0x2e, 0x47, 0x65, + 0x74, 0x4d, 0x75, 0x6c, 0x74, 0x69, 0x52, 0x65, 0x70, 0x75, 0x74, 0x65, 0x72, 0x53, 0x74, 0x61, + 0x6b, 0x65, 0x49, 0x6e, 0x54, 0x6f, 0x70, 0x69, 0x63, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, + 0x65, 0x22, 0x35, 0x88, 0xe7, 0xb0, 0x2a, 0x01, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x2a, 0x12, 0x28, + 0x2f, 0x65, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x76, 0x38, 0x2f, 0x72, 0x65, + 0x70, 0x75, 0x74, 0x65, 0x72, 0x73, 0x5f, 0x73, 0x74, 0x61, 0x6b, 0x65, 0x73, 0x2f, 0x7b, 0x74, + 0x6f, 0x70, 0x69, 0x63, 0x5f, 0x69, 0x64, 0x7d, 0x12, 0xdd, 0x01, 0x0a, 0x20, 0x47, 0x65, 0x74, + 0x53, 0x74, 0x61, 0x6b, 0x65, 0x46, 0x72, 0x6f, 0x6d, 0x52, 0x65, 0x70, 0x75, 0x74, 0x65, 0x72, + 0x49, 0x6e, 0x54, 0x6f, 0x70, 0x69, 0x63, 0x49, 0x6e, 0x53, 0x65, 0x6c, 0x66, 0x12, 0x35, 0x2e, + 0x65, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x38, 0x2e, 0x47, 0x65, 0x74, + 0x53, 0x74, 0x61, 0x6b, 0x65, 0x46, 0x72, 0x6f, 0x6d, 0x52, 0x65, 0x70, 0x75, 0x74, 0x65, 0x72, + 0x49, 0x6e, 0x54, 0x6f, 0x70, 0x69, 0x63, 0x49, 0x6e, 0x53, 0x65, 0x6c, 0x66, 0x52, 0x65, 0x71, + 0x75, 0x65, 0x73, 0x74, 0x1a, 0x36, 0x2e, 0x65, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, + 0x2e, 0x76, 0x38, 0x2e, 0x47, 0x65, 0x74, 0x53, 0x74, 0x61, 0x6b, 0x65, 0x46, 0x72, 0x6f, 0x6d, + 0x52, 0x65, 0x70, 0x75, 0x74, 0x65, 0x72, 0x49, 0x6e, 0x54, 0x6f, 0x70, 0x69, 0x63, 0x49, 0x6e, + 0x53, 0x65, 0x6c, 0x66, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x4a, 0x88, 0xe7, + 0xb0, 0x2a, 0x01, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x3f, 0x12, 0x3d, 0x2f, 0x65, 0x6d, 0x69, 0x73, + 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x76, 0x38, 0x2f, 0x72, 0x65, 0x70, 0x75, 0x74, 0x65, 0x72, + 0x5f, 0x73, 0x74, 0x61, 0x6b, 0x65, 0x5f, 0x73, 0x65, 0x6c, 0x66, 0x2f, 0x7b, 0x72, 0x65, 0x70, + 0x75, 0x74, 0x65, 0x72, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x7d, 0x2f, 0x7b, 0x74, + 0x6f, 0x70, 0x69, 0x63, 0x5f, 0x69, 0x64, 0x7d, 0x12, 0xe1, 0x01, 0x0a, 0x20, 0x47, 0x65, 0x74, + 0x44, 0x65, 0x6c, 0x65, 0x67, 0x61, 0x74, 0x65, 0x53, 0x74, 0x61, 0x6b, 0x65, 0x49, 0x6e, 0x54, + 0x6f, 0x70, 0x69, 0x63, 0x49, 0x6e, 0x52, 0x65, 0x70, 0x75, 0x74, 0x65, 0x72, 0x12, 0x35, 0x2e, + 0x65, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x38, 0x2e, 0x47, 0x65, 0x74, + 0x44, 0x65, 0x6c, 0x65, 0x67, 0x61, 0x74, 0x65, 0x53, 0x74, 0x61, 0x6b, 0x65, 0x49, 0x6e, 0x54, + 0x6f, 0x70, 0x69, 0x63, 0x49, 0x6e, 0x52, 0x65, 0x70, 0x75, 0x74, 0x65, 0x72, 0x52, 0x65, 0x71, + 0x75, 0x65, 0x73, 0x74, 0x1a, 0x36, 0x2e, 0x65, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, + 0x2e, 0x76, 0x38, 0x2e, 0x47, 0x65, 0x74, 0x44, 0x65, 0x6c, 0x65, 0x67, 0x61, 0x74, 0x65, 0x53, + 0x74, 0x61, 0x6b, 0x65, 0x49, 0x6e, 0x54, 0x6f, 0x70, 0x69, 0x63, 0x49, 0x6e, 0x52, 0x65, 0x70, + 0x75, 0x74, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x4e, 0x88, 0xe7, + 0xb0, 0x2a, 0x01, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x43, 0x12, 0x41, 0x2f, 0x65, 0x6d, 0x69, 0x73, + 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x76, 0x38, 0x2f, 0x72, 0x65, 0x70, 0x75, 0x74, 0x65, 0x72, + 0x5f, 0x64, 0x65, 0x6c, 0x65, 0x67, 0x61, 0x74, 0x65, 0x5f, 0x73, 0x74, 0x61, 0x6b, 0x65, 0x2f, + 0x7b, 0x72, 0x65, 0x70, 0x75, 0x74, 0x65, 0x72, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, + 0x7d, 0x2f, 0x7b, 0x74, 0x6f, 0x70, 0x69, 0x63, 0x5f, 0x69, 0x64, 0x7d, 0x12, 0xfc, 0x01, 0x0a, + 0x25, 0x47, 0x65, 0x74, 0x53, 0x74, 0x61, 0x6b, 0x65, 0x46, 0x72, 0x6f, 0x6d, 0x44, 0x65, 0x6c, + 0x65, 0x67, 0x61, 0x74, 0x6f, 0x72, 0x49, 0x6e, 0x54, 0x6f, 0x70, 0x69, 0x63, 0x49, 0x6e, 0x52, + 0x65, 0x70, 0x75, 0x74, 0x65, 0x72, 0x12, 0x3a, 0x2e, 0x65, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, + 0x6e, 0x73, 0x2e, 0x76, 0x38, 0x2e, 0x47, 0x65, 0x74, 0x53, 0x74, 0x61, 0x6b, 0x65, 0x46, 0x72, + 0x6f, 0x6d, 0x44, 0x65, 0x6c, 0x65, 0x67, 0x61, 0x74, 0x6f, 0x72, 0x49, 0x6e, 0x54, 0x6f, 0x70, + 0x69, 0x63, 0x49, 0x6e, 0x52, 0x65, 0x70, 0x75, 0x74, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, + 0x73, 0x74, 0x1a, 0x3b, 0x2e, 0x65, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, + 0x38, 0x2e, 0x47, 0x65, 0x74, 0x53, 0x74, 0x61, 0x6b, 0x65, 0x46, 0x72, 0x6f, 0x6d, 0x44, 0x65, + 0x6c, 0x65, 0x67, 0x61, 0x74, 0x6f, 0x72, 0x49, 0x6e, 0x54, 0x6f, 0x70, 0x69, 0x63, 0x49, 0x6e, + 0x52, 0x65, 0x70, 0x75, 0x74, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, + 0x5a, 0x88, 0xe7, 0xb0, 0x2a, 0x01, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x4f, 0x12, 0x4d, 0x2f, 0x65, + 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x76, 0x38, 0x2f, 0x64, 0x65, 0x6c, 0x65, + 0x67, 0x61, 0x74, 0x65, 0x5f, 0x73, 0x74, 0x61, 0x6b, 0x65, 0x2f, 0x7b, 0x64, 0x65, 0x6c, 0x65, + 0x67, 0x61, 0x74, 0x6f, 0x72, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x7d, 0x2f, 0x7b, + 0x72, 0x65, 0x70, 0x75, 0x74, 0x65, 0x72, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x7d, + 0x2f, 0x7b, 0x74, 0x6f, 0x70, 0x69, 0x63, 0x5f, 0x69, 0x64, 0x7d, 0x12, 0xcf, 0x01, 0x0a, 0x1c, + 0x47, 0x65, 0x74, 0x53, 0x74, 0x61, 0x6b, 0x65, 0x46, 0x72, 0x6f, 0x6d, 0x44, 0x65, 0x6c, 0x65, + 0x67, 0x61, 0x74, 0x6f, 0x72, 0x49, 0x6e, 0x54, 0x6f, 0x70, 0x69, 0x63, 0x12, 0x31, 0x2e, 0x65, + 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x38, 0x2e, 0x47, 0x65, 0x74, 0x53, + 0x74, 0x61, 0x6b, 0x65, 0x46, 0x72, 0x6f, 0x6d, 0x44, 0x65, 0x6c, 0x65, 0x67, 0x61, 0x74, 0x6f, + 0x72, 0x49, 0x6e, 0x54, 0x6f, 0x70, 0x69, 0x63, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, + 0x32, 0x2e, 0x65, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x38, 0x2e, 0x47, + 0x65, 0x74, 0x53, 0x74, 0x61, 0x6b, 0x65, 0x46, 0x72, 0x6f, 0x6d, 0x44, 0x65, 0x6c, 0x65, 0x67, + 0x61, 0x74, 0x6f, 0x72, 0x49, 0x6e, 0x54, 0x6f, 0x70, 0x69, 0x63, 0x52, 0x65, 0x73, 0x70, 0x6f, + 0x6e, 0x73, 0x65, 0x22, 0x48, 0x88, 0xe7, 0xb0, 0x2a, 0x01, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x3d, + 0x12, 0x3b, 0x2f, 0x65, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x76, 0x38, 0x2f, + 0x64, 0x65, 0x6c, 0x65, 0x67, 0x61, 0x74, 0x65, 0x5f, 0x73, 0x74, 0x61, 0x6b, 0x65, 0x2f, 0x7b, + 0x64, 0x65, 0x6c, 0x65, 0x67, 0x61, 0x74, 0x6f, 0x72, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, + 0x73, 0x7d, 0x2f, 0x7b, 0x74, 0x6f, 0x70, 0x69, 0x63, 0x5f, 0x69, 0x64, 0x7d, 0x12, 0x85, 0x01, + 0x0a, 0x0d, 0x47, 0x65, 0x74, 0x54, 0x6f, 0x70, 0x69, 0x63, 0x53, 0x74, 0x61, 0x6b, 0x65, 0x12, + 0x22, 0x2e, 0x65, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x38, 0x2e, 0x47, + 0x65, 0x74, 0x54, 0x6f, 0x70, 0x69, 0x63, 0x53, 0x74, 0x61, 0x6b, 0x65, 0x52, 0x65, 0x71, 0x75, + 0x65, 0x73, 0x74, 0x1a, 0x23, 0x2e, 0x65, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2e, + 0x76, 0x38, 0x2e, 0x47, 0x65, 0x74, 0x54, 0x6f, 0x70, 0x69, 0x63, 0x53, 0x74, 0x61, 0x6b, 0x65, + 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x2b, 0x88, 0xe7, 0xb0, 0x2a, 0x01, 0x82, + 0xd3, 0xe4, 0x93, 0x02, 0x20, 0x12, 0x1e, 0x2f, 0x65, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, + 0x73, 0x2f, 0x76, 0x38, 0x2f, 0x73, 0x74, 0x61, 0x6b, 0x65, 0x2f, 0x7b, 0x74, 0x6f, 0x70, 0x69, + 0x63, 0x5f, 0x69, 0x64, 0x7d, 0x12, 0xbf, 0x01, 0x0a, 0x1c, 0x47, 0x65, 0x74, 0x53, 0x74, 0x61, + 0x6b, 0x65, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x61, 0x6c, 0x73, 0x55, 0x70, 0x55, 0x6e, 0x74, 0x69, + 0x6c, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x12, 0x31, 0x2e, 0x65, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, + 0x6e, 0x73, 0x2e, 0x76, 0x38, 0x2e, 0x47, 0x65, 0x74, 0x53, 0x74, 0x61, 0x6b, 0x65, 0x52, 0x65, + 0x6d, 0x6f, 0x76, 0x61, 0x6c, 0x73, 0x55, 0x70, 0x55, 0x6e, 0x74, 0x69, 0x6c, 0x42, 0x6c, 0x6f, + 0x63, 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x32, 0x2e, 0x65, 0x6d, 0x69, 0x73, + 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x38, 0x2e, 0x47, 0x65, 0x74, 0x53, 0x74, 0x61, 0x6b, + 0x65, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x61, 0x6c, 0x73, 0x55, 0x70, 0x55, 0x6e, 0x74, 0x69, 0x6c, + 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x38, 0x88, + 0xe7, 0xb0, 0x2a, 0x01, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x2d, 0x12, 0x2b, 0x2f, 0x65, 0x6d, 0x69, + 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x76, 0x38, 0x2f, 0x73, 0x74, 0x61, 0x6b, 0x65, 0x5f, + 0x72, 0x65, 0x6d, 0x6f, 0x76, 0x61, 0x6c, 0x73, 0x2f, 0x7b, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x5f, + 0x68, 0x65, 0x69, 0x67, 0x68, 0x74, 0x7d, 0x12, 0xe0, 0x01, 0x0a, 0x24, 0x47, 0x65, 0x74, 0x44, + 0x65, 0x6c, 0x65, 0x67, 0x61, 0x74, 0x65, 0x53, 0x74, 0x61, 0x6b, 0x65, 0x52, 0x65, 0x6d, 0x6f, + 0x76, 0x61, 0x6c, 0x73, 0x55, 0x70, 0x55, 0x6e, 0x74, 0x69, 0x6c, 0x42, 0x6c, 0x6f, 0x63, 0x6b, + 0x12, 0x39, 0x2e, 0x65, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x38, 0x2e, + 0x47, 0x65, 0x74, 0x44, 0x65, 0x6c, 0x65, 0x67, 0x61, 0x74, 0x65, 0x53, 0x74, 0x61, 0x6b, 0x65, + 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x61, 0x6c, 0x73, 0x55, 0x70, 0x55, 0x6e, 0x74, 0x69, 0x6c, 0x42, + 0x6c, 0x6f, 0x63, 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x3a, 0x2e, 0x65, 0x6d, + 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x38, 0x2e, 0x47, 0x65, 0x74, 0x44, 0x65, + 0x6c, 0x65, 0x67, 0x61, 0x74, 0x65, 0x53, 0x74, 0x61, 0x6b, 0x65, 0x52, 0x65, 0x6d, 0x6f, 0x76, + 0x61, 0x6c, 0x73, 0x55, 0x70, 0x55, 0x6e, 0x74, 0x69, 0x6c, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x52, + 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x41, 0x88, 0xe7, 0xb0, 0x2a, 0x01, 0x82, 0xd3, + 0xe4, 0x93, 0x02, 0x36, 0x12, 0x34, 0x2f, 0x65, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, + 0x2f, 0x76, 0x38, 0x2f, 0x64, 0x65, 0x6c, 0x65, 0x67, 0x61, 0x74, 0x65, 0x5f, 0x73, 0x74, 0x61, + 0x6b, 0x65, 0x5f, 0x72, 0x65, 0x6d, 0x6f, 0x76, 0x61, 0x6c, 0x73, 0x2f, 0x7b, 0x62, 0x6c, 0x6f, + 0x63, 0x6b, 0x5f, 0x68, 0x65, 0x69, 0x67, 0x68, 0x74, 0x7d, 0x12, 0xa9, 0x01, 0x0a, 0x13, 0x47, + 0x65, 0x74, 0x53, 0x74, 0x61, 0x6b, 0x65, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x61, 0x6c, 0x49, 0x6e, + 0x66, 0x6f, 0x12, 0x28, 0x2e, 0x65, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, + 0x38, 0x2e, 0x47, 0x65, 0x74, 0x53, 0x74, 0x61, 0x6b, 0x65, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x61, + 0x6c, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x29, 0x2e, 0x65, + 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x38, 0x2e, 0x47, 0x65, 0x74, 0x53, + 0x74, 0x61, 0x6b, 0x65, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x61, 0x6c, 0x49, 0x6e, 0x66, 0x6f, 0x52, + 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x3d, 0x88, 0xe7, 0xb0, 0x2a, 0x01, 0x82, 0xd3, + 0xe4, 0x93, 0x02, 0x32, 0x12, 0x30, 0x2f, 0x65, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, + 0x2f, 0x76, 0x38, 0x2f, 0x73, 0x74, 0x61, 0x6b, 0x65, 0x5f, 0x72, 0x65, 0x6d, 0x6f, 0x76, 0x61, + 0x6c, 0x2f, 0x7b, 0x74, 0x6f, 0x70, 0x69, 0x63, 0x5f, 0x69, 0x64, 0x7d, 0x2f, 0x7b, 0x72, 0x65, + 0x70, 0x75, 0x74, 0x65, 0x72, 0x7d, 0x12, 0xd6, 0x01, 0x0a, 0x1b, 0x47, 0x65, 0x74, 0x44, 0x65, + 0x6c, 0x65, 0x67, 0x61, 0x74, 0x65, 0x53, 0x74, 0x61, 0x6b, 0x65, 0x52, 0x65, 0x6d, 0x6f, 0x76, + 0x61, 0x6c, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x30, 0x2e, 0x65, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, + 0x6e, 0x73, 0x2e, 0x76, 0x38, 0x2e, 0x47, 0x65, 0x74, 0x44, 0x65, 0x6c, 0x65, 0x67, 0x61, 0x74, + 0x65, 0x53, 0x74, 0x61, 0x6b, 0x65, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x61, 0x6c, 0x49, 0x6e, 0x66, + 0x6f, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x31, 0x2e, 0x65, 0x6d, 0x69, 0x73, 0x73, + 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x38, 0x2e, 0x47, 0x65, 0x74, 0x44, 0x65, 0x6c, 0x65, 0x67, + 0x61, 0x74, 0x65, 0x53, 0x74, 0x61, 0x6b, 0x65, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x61, 0x6c, 0x49, + 0x6e, 0x66, 0x6f, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x52, 0x88, 0xe7, 0xb0, + 0x2a, 0x01, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x47, 0x12, 0x45, 0x2f, 0x65, 0x6d, 0x69, 0x73, 0x73, + 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x76, 0x38, 0x2f, 0x64, 0x65, 0x6c, 0x65, 0x67, 0x61, 0x74, 0x65, + 0x5f, 0x73, 0x74, 0x61, 0x6b, 0x65, 0x5f, 0x72, 0x65, 0x6d, 0x6f, 0x76, 0x61, 0x6c, 0x2f, 0x7b, + 0x74, 0x6f, 0x70, 0x69, 0x63, 0x5f, 0x69, 0x64, 0x7d, 0x2f, 0x7b, 0x64, 0x65, 0x6c, 0x65, 0x67, + 0x61, 0x74, 0x6f, 0x72, 0x7d, 0x2f, 0x7b, 0x72, 0x65, 0x70, 0x75, 0x74, 0x65, 0x72, 0x7d, 0x12, + 0x91, 0x01, 0x0a, 0x11, 0x47, 0x65, 0x74, 0x57, 0x6f, 0x72, 0x6b, 0x65, 0x72, 0x4e, 0x6f, 0x64, + 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x26, 0x2e, 0x65, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, + 0x73, 0x2e, 0x76, 0x38, 0x2e, 0x47, 0x65, 0x74, 0x57, 0x6f, 0x72, 0x6b, 0x65, 0x72, 0x4e, 0x6f, + 0x64, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x27, 0x2e, + 0x65, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x38, 0x2e, 0x47, 0x65, 0x74, + 0x57, 0x6f, 0x72, 0x6b, 0x65, 0x72, 0x4e, 0x6f, 0x64, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65, + 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x2b, 0x88, 0xe7, 0xb0, 0x2a, 0x01, 0x82, 0xd3, 0xe4, + 0x93, 0x02, 0x20, 0x12, 0x1e, 0x2f, 0x65, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2f, + 0x76, 0x38, 0x2f, 0x77, 0x6f, 0x72, 0x6b, 0x65, 0x72, 0x2f, 0x7b, 0x61, 0x64, 0x64, 0x72, 0x65, + 0x73, 0x73, 0x7d, 0x12, 0x95, 0x01, 0x0a, 0x12, 0x47, 0x65, 0x74, 0x52, 0x65, 0x70, 0x75, 0x74, + 0x65, 0x72, 0x4e, 0x6f, 0x64, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x27, 0x2e, 0x65, 0x6d, 0x69, + 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x38, 0x2e, 0x47, 0x65, 0x74, 0x52, 0x65, 0x70, + 0x75, 0x74, 0x65, 0x72, 0x4e, 0x6f, 0x64, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65, 0x71, 0x75, + 0x65, 0x73, 0x74, 0x1a, 0x28, 0x2e, 0x65, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2e, + 0x76, 0x38, 0x2e, 0x47, 0x65, 0x74, 0x52, 0x65, 0x70, 0x75, 0x74, 0x65, 0x72, 0x4e, 0x6f, 0x64, + 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x2c, 0x88, + 0xe7, 0xb0, 0x2a, 0x01, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x21, 0x12, 0x1f, 0x2f, 0x65, 0x6d, 0x69, + 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x76, 0x38, 0x2f, 0x72, 0x65, 0x70, 0x75, 0x74, 0x65, + 0x72, 0x2f, 0x7b, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x7d, 0x12, 0xc5, 0x01, 0x0a, 0x1b, + 0x49, 0x73, 0x57, 0x6f, 0x72, 0x6b, 0x65, 0x72, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x65, 0x72, + 0x65, 0x64, 0x49, 0x6e, 0x54, 0x6f, 0x70, 0x69, 0x63, 0x49, 0x64, 0x12, 0x30, 0x2e, 0x65, 0x6d, + 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x38, 0x2e, 0x49, 0x73, 0x57, 0x6f, 0x72, + 0x6b, 0x65, 0x72, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x65, 0x72, 0x65, 0x64, 0x49, 0x6e, 0x54, + 0x6f, 0x70, 0x69, 0x63, 0x49, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x31, 0x2e, + 0x65, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x38, 0x2e, 0x49, 0x73, 0x57, + 0x6f, 0x72, 0x6b, 0x65, 0x72, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x65, 0x72, 0x65, 0x64, 0x49, + 0x6e, 0x54, 0x6f, 0x70, 0x69, 0x63, 0x49, 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, + 0x22, 0x41, 0x88, 0xe7, 0xb0, 0x2a, 0x01, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x36, 0x12, 0x34, 0x2f, + 0x65, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x76, 0x38, 0x2f, 0x77, 0x6f, 0x72, + 0x6b, 0x65, 0x72, 0x5f, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x65, 0x72, 0x65, 0x64, 0x2f, 0x7b, + 0x74, 0x6f, 0x70, 0x69, 0x63, 0x5f, 0x69, 0x64, 0x7d, 0x2f, 0x7b, 0x61, 0x64, 0x64, 0x72, 0x65, + 0x73, 0x73, 0x7d, 0x12, 0xc9, 0x01, 0x0a, 0x1c, 0x49, 0x73, 0x52, 0x65, 0x70, 0x75, 0x74, 0x65, + 0x72, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x65, 0x72, 0x65, 0x64, 0x49, 0x6e, 0x54, 0x6f, 0x70, + 0x69, 0x63, 0x49, 0x64, 0x12, 0x31, 0x2e, 0x65, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, + 0x2e, 0x76, 0x38, 0x2e, 0x49, 0x73, 0x52, 0x65, 0x70, 0x75, 0x74, 0x65, 0x72, 0x52, 0x65, 0x67, + 0x69, 0x73, 0x74, 0x65, 0x72, 0x65, 0x64, 0x49, 0x6e, 0x54, 0x6f, 0x70, 0x69, 0x63, 0x49, 0x64, + 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x32, 0x2e, 0x65, 0x6d, 0x69, 0x73, 0x73, 0x69, + 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x38, 0x2e, 0x49, 0x73, 0x52, 0x65, 0x70, 0x75, 0x74, 0x65, 0x72, + 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x65, 0x72, 0x65, 0x64, 0x49, 0x6e, 0x54, 0x6f, 0x70, 0x69, + 0x63, 0x49, 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x42, 0x88, 0xe7, 0xb0, + 0x2a, 0x01, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x37, 0x12, 0x35, 0x2f, 0x65, 0x6d, 0x69, 0x73, 0x73, + 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x76, 0x38, 0x2f, 0x72, 0x65, 0x70, 0x75, 0x74, 0x65, 0x72, 0x5f, + 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x65, 0x72, 0x65, 0x64, 0x2f, 0x7b, 0x74, 0x6f, 0x70, 0x69, + 0x63, 0x5f, 0x69, 0x64, 0x7d, 0x2f, 0x7b, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x7d, 0x12, + 0xe9, 0x01, 0x0a, 0x1b, 0x47, 0x65, 0x74, 0x4e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x49, 0x6e, + 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x73, 0x41, 0x74, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x12, + 0x30, 0x2e, 0x65, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x38, 0x2e, 0x47, + 0x65, 0x74, 0x4e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x49, 0x6e, 0x66, 0x65, 0x72, 0x65, 0x6e, + 0x63, 0x65, 0x73, 0x41, 0x74, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, + 0x74, 0x1a, 0x31, 0x2e, 0x65, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x38, + 0x2e, 0x47, 0x65, 0x74, 0x4e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x49, 0x6e, 0x66, 0x65, 0x72, + 0x65, 0x6e, 0x63, 0x65, 0x73, 0x41, 0x74, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x52, 0x65, 0x73, 0x70, + 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x65, 0x88, 0xe7, 0xb0, 0x2a, 0x01, 0x82, 0xd3, 0xe4, 0x93, 0x02, + 0x5a, 0x12, 0x58, 0x2f, 0x65, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x76, 0x38, + 0x2f, 0x6e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x5f, 0x69, 0x6e, 0x66, 0x65, 0x72, 0x65, 0x6e, + 0x63, 0x65, 0x73, 0x2f, 0x7b, 0x74, 0x6f, 0x70, 0x69, 0x63, 0x5f, 0x69, 0x64, 0x7d, 0x2f, 0x6c, + 0x61, 0x73, 0x74, 0x5f, 0x69, 0x6e, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x2f, 0x7b, 0x62, + 0x6c, 0x6f, 0x63, 0x6b, 0x5f, 0x68, 0x65, 0x69, 0x67, 0x68, 0x74, 0x5f, 0x6c, 0x61, 0x73, 0x74, + 0x5f, 0x69, 0x6e, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x7d, 0x12, 0xab, 0x02, 0x0a, 0x2b, + 0x47, 0x65, 0x74, 0x4e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x49, 0x6e, 0x66, 0x65, 0x72, 0x65, + 0x6e, 0x63, 0x65, 0x73, 0x41, 0x74, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x4f, 0x75, 0x74, 0x6c, 0x69, + 0x65, 0x72, 0x52, 0x65, 0x73, 0x69, 0x73, 0x74, 0x61, 0x6e, 0x74, 0x12, 0x40, 0x2e, 0x65, 0x6d, + 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x38, 0x2e, 0x47, 0x65, 0x74, 0x4e, 0x65, + 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x49, 0x6e, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x73, 0x41, + 0x74, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x4f, 0x75, 0x74, 0x6c, 0x69, 0x65, 0x72, 0x52, 0x65, 0x73, + 0x69, 0x73, 0x74, 0x61, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x41, 0x2e, + 0x65, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x38, 0x2e, 0x47, 0x65, 0x74, + 0x4e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x49, 0x6e, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, + 0x73, 0x41, 0x74, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x4f, 0x75, 0x74, 0x6c, 0x69, 0x65, 0x72, 0x52, + 0x65, 0x73, 0x69, 0x73, 0x74, 0x61, 0x6e, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, + 0x22, 0x77, 0x88, 0xe7, 0xb0, 0x2a, 0x01, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x6c, 0x12, 0x6a, 0x2f, + 0x65, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x76, 0x38, 0x2f, 0x6e, 0x65, 0x74, + 0x77, 0x6f, 0x72, 0x6b, 0x5f, 0x69, 0x6e, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x73, 0x5f, + 0x6f, 0x75, 0x74, 0x6c, 0x69, 0x65, 0x72, 0x5f, 0x72, 0x65, 0x73, 0x69, 0x73, 0x74, 0x61, 0x6e, + 0x74, 0x2f, 0x7b, 0x74, 0x6f, 0x70, 0x69, 0x63, 0x5f, 0x69, 0x64, 0x7d, 0x2f, 0x6c, 0x61, 0x73, + 0x74, 0x5f, 0x69, 0x6e, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x2f, 0x7b, 0x62, 0x6c, 0x6f, + 0x63, 0x6b, 0x5f, 0x68, 0x65, 0x69, 0x67, 0x68, 0x74, 0x5f, 0x6c, 0x61, 0x73, 0x74, 0x5f, 0x69, + 0x6e, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x7d, 0x12, 0xc0, 0x01, 0x0a, 0x1a, 0x47, 0x65, + 0x74, 0x4c, 0x61, 0x74, 0x65, 0x73, 0x74, 0x4e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x49, 0x6e, + 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x73, 0x12, 0x2f, 0x2e, 0x65, 0x6d, 0x69, 0x73, 0x73, + 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x38, 0x2e, 0x47, 0x65, 0x74, 0x4c, 0x61, 0x74, 0x65, 0x73, + 0x74, 0x4e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x49, 0x6e, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, + 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x30, 0x2e, 0x65, 0x6d, 0x69, 0x73, + 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x38, 0x2e, 0x47, 0x65, 0x74, 0x4c, 0x61, 0x74, 0x65, + 0x73, 0x74, 0x4e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x49, 0x6e, 0x66, 0x65, 0x72, 0x65, 0x6e, + 0x63, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x3f, 0x88, 0xe7, 0xb0, + 0x2a, 0x01, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x34, 0x12, 0x32, 0x2f, 0x65, 0x6d, 0x69, 0x73, 0x73, + 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x76, 0x38, 0x2f, 0x6c, 0x61, 0x74, 0x65, 0x73, 0x74, 0x5f, 0x6e, + 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x5f, 0x69, 0x6e, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, + 0x73, 0x2f, 0x7b, 0x74, 0x6f, 0x70, 0x69, 0x63, 0x5f, 0x69, 0x64, 0x7d, 0x12, 0x82, 0x02, 0x0a, + 0x2a, 0x47, 0x65, 0x74, 0x4c, 0x61, 0x74, 0x65, 0x73, 0x74, 0x4e, 0x65, 0x74, 0x77, 0x6f, 0x72, + 0x6b, 0x49, 0x6e, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x73, 0x4f, 0x75, 0x74, 0x6c, 0x69, + 0x65, 0x72, 0x52, 0x65, 0x73, 0x69, 0x73, 0x74, 0x61, 0x6e, 0x74, 0x12, 0x3f, 0x2e, 0x65, 0x6d, + 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x38, 0x2e, 0x47, 0x65, 0x74, 0x4c, 0x61, + 0x74, 0x65, 0x73, 0x74, 0x4e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x49, 0x6e, 0x66, 0x65, 0x72, + 0x65, 0x6e, 0x63, 0x65, 0x73, 0x4f, 0x75, 0x74, 0x6c, 0x69, 0x65, 0x72, 0x52, 0x65, 0x73, 0x69, + 0x73, 0x74, 0x61, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x40, 0x2e, 0x65, + 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x38, 0x2e, 0x47, 0x65, 0x74, 0x4c, + 0x61, 0x74, 0x65, 0x73, 0x74, 0x4e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x49, 0x6e, 0x66, 0x65, + 0x72, 0x65, 0x6e, 0x63, 0x65, 0x73, 0x4f, 0x75, 0x74, 0x6c, 0x69, 0x65, 0x72, 0x52, 0x65, 0x73, + 0x69, 0x73, 0x74, 0x61, 0x6e, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x51, + 0x88, 0xe7, 0xb0, 0x2a, 0x01, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x46, 0x12, 0x44, 0x2f, 0x65, 0x6d, + 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x76, 0x38, 0x2f, 0x6c, 0x61, 0x74, 0x65, 0x73, + 0x74, 0x5f, 0x6e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x5f, 0x69, 0x6e, 0x66, 0x65, 0x72, 0x65, + 0x6e, 0x63, 0x65, 0x73, 0x5f, 0x6f, 0x75, 0x74, 0x6c, 0x69, 0x65, 0x72, 0x5f, 0x72, 0x65, 0x73, + 0x69, 0x73, 0x74, 0x61, 0x6e, 0x74, 0x2f, 0x7b, 0x74, 0x6f, 0x70, 0x69, 0x63, 0x5f, 0x69, 0x64, + 0x7d, 0x12, 0xe5, 0x01, 0x0a, 0x23, 0x47, 0x65, 0x74, 0x4c, 0x61, 0x74, 0x65, 0x73, 0x74, 0x41, + 0x76, 0x61, 0x69, 0x6c, 0x61, 0x62, 0x6c, 0x65, 0x4e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x49, + 0x6e, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x73, 0x12, 0x38, 0x2e, 0x65, 0x6d, 0x69, 0x73, + 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x38, 0x2e, 0x47, 0x65, 0x74, 0x4c, 0x61, 0x74, 0x65, + 0x73, 0x74, 0x41, 0x76, 0x61, 0x69, 0x6c, 0x61, 0x62, 0x6c, 0x65, 0x4e, 0x65, 0x74, 0x77, 0x6f, + 0x72, 0x6b, 0x49, 0x6e, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, + 0x65, 0x73, 0x74, 0x1a, 0x39, 0x2e, 0x65, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2e, + 0x76, 0x38, 0x2e, 0x47, 0x65, 0x74, 0x4c, 0x61, 0x74, 0x65, 0x73, 0x74, 0x41, 0x76, 0x61, 0x69, + 0x6c, 0x61, 0x62, 0x6c, 0x65, 0x4e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x49, 0x6e, 0x66, 0x65, + 0x72, 0x65, 0x6e, 0x63, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x49, + 0x88, 0xe7, 0xb0, 0x2a, 0x01, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x3e, 0x12, 0x3c, 0x2f, 0x65, 0x6d, + 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x76, 0x38, 0x2f, 0x6c, 0x61, 0x74, 0x65, 0x73, + 0x74, 0x5f, 0x61, 0x76, 0x61, 0x69, 0x6c, 0x61, 0x62, 0x6c, 0x65, 0x5f, 0x6e, 0x65, 0x74, 0x77, + 0x6f, 0x72, 0x6b, 0x5f, 0x69, 0x6e, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x73, 0x2f, 0x7b, + 0x74, 0x6f, 0x70, 0x69, 0x63, 0x5f, 0x69, 0x64, 0x7d, 0x12, 0xa7, 0x02, 0x0a, 0x33, 0x47, 0x65, + 0x74, 0x4c, 0x61, 0x74, 0x65, 0x73, 0x74, 0x41, 0x76, 0x61, 0x69, 0x6c, 0x61, 0x62, 0x6c, 0x65, + 0x4e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x49, 0x6e, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, + 0x73, 0x4f, 0x75, 0x74, 0x6c, 0x69, 0x65, 0x72, 0x52, 0x65, 0x73, 0x69, 0x73, 0x74, 0x61, 0x6e, + 0x74, 0x12, 0x48, 0x2e, 0x65, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x38, + 0x2e, 0x47, 0x65, 0x74, 0x4c, 0x61, 0x74, 0x65, 0x73, 0x74, 0x41, 0x76, 0x61, 0x69, 0x6c, 0x61, + 0x62, 0x6c, 0x65, 0x4e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x49, 0x6e, 0x66, 0x65, 0x72, 0x65, + 0x6e, 0x63, 0x65, 0x73, 0x4f, 0x75, 0x74, 0x6c, 0x69, 0x65, 0x72, 0x52, 0x65, 0x73, 0x69, 0x73, + 0x74, 0x61, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x49, 0x2e, 0x65, 0x6d, + 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x38, 0x2e, 0x47, 0x65, 0x74, 0x4c, 0x61, + 0x74, 0x65, 0x73, 0x74, 0x41, 0x76, 0x61, 0x69, 0x6c, 0x61, 0x62, 0x6c, 0x65, 0x4e, 0x65, 0x74, + 0x77, 0x6f, 0x72, 0x6b, 0x49, 0x6e, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x73, 0x4f, 0x75, + 0x74, 0x6c, 0x69, 0x65, 0x72, 0x52, 0x65, 0x73, 0x69, 0x73, 0x74, 0x61, 0x6e, 0x74, 0x52, 0x65, + 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x5b, 0x88, 0xe7, 0xb0, 0x2a, 0x01, 0x82, 0xd3, 0xe4, + 0x93, 0x02, 0x50, 0x12, 0x4e, 0x2f, 0x65, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2f, + 0x76, 0x38, 0x2f, 0x6c, 0x61, 0x74, 0x65, 0x73, 0x74, 0x5f, 0x61, 0x76, 0x61, 0x69, 0x6c, 0x61, + 0x62, 0x6c, 0x65, 0x5f, 0x6e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x5f, 0x69, 0x6e, 0x66, 0x65, + 0x72, 0x65, 0x6e, 0x63, 0x65, 0x73, 0x5f, 0x6f, 0x75, 0x74, 0x6c, 0x69, 0x65, 0x72, 0x5f, 0x72, + 0x65, 0x73, 0x69, 0x73, 0x74, 0x61, 0x6e, 0x74, 0x2f, 0x7b, 0x74, 0x6f, 0x70, 0x69, 0x63, 0x5f, + 0x69, 0x64, 0x7d, 0x12, 0xcb, 0x01, 0x0a, 0x18, 0x49, 0x73, 0x57, 0x6f, 0x72, 0x6b, 0x65, 0x72, + 0x4e, 0x6f, 0x6e, 0x63, 0x65, 0x55, 0x6e, 0x66, 0x75, 0x6c, 0x66, 0x69, 0x6c, 0x6c, 0x65, 0x64, + 0x12, 0x2d, 0x2e, 0x65, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x38, 0x2e, + 0x49, 0x73, 0x57, 0x6f, 0x72, 0x6b, 0x65, 0x72, 0x4e, 0x6f, 0x6e, 0x63, 0x65, 0x55, 0x6e, 0x66, + 0x75, 0x6c, 0x66, 0x69, 0x6c, 0x6c, 0x65, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, + 0x2e, 0x2e, 0x65, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x38, 0x2e, 0x49, + 0x73, 0x57, 0x6f, 0x72, 0x6b, 0x65, 0x72, 0x4e, 0x6f, 0x6e, 0x63, 0x65, 0x55, 0x6e, 0x66, 0x75, + 0x6c, 0x66, 0x69, 0x6c, 0x6c, 0x65, 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, + 0x50, 0x88, 0xe7, 0xb0, 0x2a, 0x01, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x45, 0x12, 0x43, 0x2f, 0x65, + 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x76, 0x38, 0x2f, 0x69, 0x73, 0x5f, 0x77, + 0x6f, 0x72, 0x6b, 0x65, 0x72, 0x5f, 0x6e, 0x6f, 0x6e, 0x63, 0x65, 0x5f, 0x75, 0x6e, 0x66, 0x75, + 0x6c, 0x66, 0x69, 0x6c, 0x6c, 0x65, 0x64, 0x2f, 0x7b, 0x74, 0x6f, 0x70, 0x69, 0x63, 0x5f, 0x69, + 0x64, 0x7d, 0x2f, 0x7b, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x5f, 0x68, 0x65, 0x69, 0x67, 0x68, 0x74, + 0x7d, 0x12, 0xcf, 0x01, 0x0a, 0x19, 0x49, 0x73, 0x52, 0x65, 0x70, 0x75, 0x74, 0x65, 0x72, 0x4e, + 0x6f, 0x6e, 0x63, 0x65, 0x55, 0x6e, 0x66, 0x75, 0x6c, 0x66, 0x69, 0x6c, 0x6c, 0x65, 0x64, 0x12, + 0x2e, 0x2e, 0x65, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x38, 0x2e, 0x49, + 0x73, 0x52, 0x65, 0x70, 0x75, 0x74, 0x65, 0x72, 0x4e, 0x6f, 0x6e, 0x63, 0x65, 0x55, 0x6e, 0x66, + 0x75, 0x6c, 0x66, 0x69, 0x6c, 0x6c, 0x65, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, + 0x2f, 0x2e, 0x65, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x38, 0x2e, 0x49, + 0x73, 0x52, 0x65, 0x70, 0x75, 0x74, 0x65, 0x72, 0x4e, 0x6f, 0x6e, 0x63, 0x65, 0x55, 0x6e, 0x66, + 0x75, 0x6c, 0x66, 0x69, 0x6c, 0x6c, 0x65, 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, + 0x22, 0x51, 0x88, 0xe7, 0xb0, 0x2a, 0x01, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x46, 0x12, 0x44, 0x2f, + 0x65, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x76, 0x38, 0x2f, 0x69, 0x73, 0x5f, + 0x72, 0x65, 0x70, 0x75, 0x74, 0x65, 0x72, 0x5f, 0x6e, 0x6f, 0x6e, 0x63, 0x65, 0x5f, 0x75, 0x6e, + 0x66, 0x75, 0x6c, 0x66, 0x69, 0x6c, 0x6c, 0x65, 0x64, 0x2f, 0x7b, 0x74, 0x6f, 0x70, 0x69, 0x63, + 0x5f, 0x69, 0x64, 0x7d, 0x2f, 0x7b, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x5f, 0x68, 0x65, 0x69, 0x67, + 0x68, 0x74, 0x7d, 0x12, 0xc0, 0x01, 0x0a, 0x1a, 0x47, 0x65, 0x74, 0x55, 0x6e, 0x66, 0x75, 0x6c, + 0x66, 0x69, 0x6c, 0x6c, 0x65, 0x64, 0x57, 0x6f, 0x72, 0x6b, 0x65, 0x72, 0x4e, 0x6f, 0x6e, 0x63, + 0x65, 0x73, 0x12, 0x2f, 0x2e, 0x65, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, + 0x38, 0x2e, 0x47, 0x65, 0x74, 0x55, 0x6e, 0x66, 0x75, 0x6c, 0x66, 0x69, 0x6c, 0x6c, 0x65, 0x64, + 0x57, 0x6f, 0x72, 0x6b, 0x65, 0x72, 0x4e, 0x6f, 0x6e, 0x63, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, + 0x65, 0x73, 0x74, 0x1a, 0x30, 0x2e, 0x65, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2e, + 0x76, 0x38, 0x2e, 0x47, 0x65, 0x74, 0x55, 0x6e, 0x66, 0x75, 0x6c, 0x66, 0x69, 0x6c, 0x6c, 0x65, + 0x64, 0x57, 0x6f, 0x72, 0x6b, 0x65, 0x72, 0x4e, 0x6f, 0x6e, 0x63, 0x65, 0x73, 0x52, 0x65, 0x73, + 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x3f, 0x88, 0xe7, 0xb0, 0x2a, 0x01, 0x82, 0xd3, 0xe4, 0x93, + 0x02, 0x34, 0x12, 0x32, 0x2f, 0x65, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x76, + 0x38, 0x2f, 0x75, 0x6e, 0x66, 0x75, 0x6c, 0x66, 0x69, 0x6c, 0x6c, 0x65, 0x64, 0x5f, 0x77, 0x6f, + 0x72, 0x6b, 0x65, 0x72, 0x5f, 0x6e, 0x6f, 0x6e, 0x63, 0x65, 0x73, 0x2f, 0x7b, 0x74, 0x6f, 0x70, + 0x69, 0x63, 0x5f, 0x69, 0x64, 0x7d, 0x12, 0xc4, 0x01, 0x0a, 0x1b, 0x47, 0x65, 0x74, 0x55, 0x6e, + 0x66, 0x75, 0x6c, 0x66, 0x69, 0x6c, 0x6c, 0x65, 0x64, 0x52, 0x65, 0x70, 0x75, 0x74, 0x65, 0x72, + 0x4e, 0x6f, 0x6e, 0x63, 0x65, 0x73, 0x12, 0x30, 0x2e, 0x65, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, + 0x6e, 0x73, 0x2e, 0x76, 0x38, 0x2e, 0x47, 0x65, 0x74, 0x55, 0x6e, 0x66, 0x75, 0x6c, 0x66, 0x69, + 0x6c, 0x6c, 0x65, 0x64, 0x52, 0x65, 0x70, 0x75, 0x74, 0x65, 0x72, 0x4e, 0x6f, 0x6e, 0x63, 0x65, + 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x31, 0x2e, 0x65, 0x6d, 0x69, 0x73, 0x73, + 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x38, 0x2e, 0x47, 0x65, 0x74, 0x55, 0x6e, 0x66, 0x75, 0x6c, + 0x66, 0x69, 0x6c, 0x6c, 0x65, 0x64, 0x52, 0x65, 0x70, 0x75, 0x74, 0x65, 0x72, 0x4e, 0x6f, 0x6e, + 0x63, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x40, 0x88, 0xe7, 0xb0, + 0x2a, 0x01, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x35, 0x12, 0x33, 0x2f, 0x65, 0x6d, 0x69, 0x73, 0x73, + 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x76, 0x38, 0x2f, 0x75, 0x6e, 0x66, 0x75, 0x6c, 0x66, 0x69, 0x6c, + 0x6c, 0x65, 0x64, 0x5f, 0x72, 0x65, 0x70, 0x75, 0x74, 0x65, 0x72, 0x5f, 0x6e, 0x6f, 0x6e, 0x63, + 0x65, 0x73, 0x2f, 0x7b, 0x74, 0x6f, 0x70, 0x69, 0x63, 0x5f, 0x69, 0x64, 0x7d, 0x12, 0xbf, 0x01, + 0x0a, 0x17, 0x47, 0x65, 0x74, 0x49, 0x6e, 0x66, 0x65, 0x72, 0x65, 0x72, 0x4e, 0x65, 0x74, 0x77, + 0x6f, 0x72, 0x6b, 0x52, 0x65, 0x67, 0x72, 0x65, 0x74, 0x12, 0x2c, 0x2e, 0x65, 0x6d, 0x69, 0x73, + 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x38, 0x2e, 0x47, 0x65, 0x74, 0x49, 0x6e, 0x66, 0x65, + 0x72, 0x65, 0x72, 0x4e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x52, 0x65, 0x67, 0x72, 0x65, 0x74, + 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2d, 0x2e, 0x65, 0x6d, 0x69, 0x73, 0x73, 0x69, + 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x38, 0x2e, 0x47, 0x65, 0x74, 0x49, 0x6e, 0x66, 0x65, 0x72, 0x65, + 0x72, 0x4e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x52, 0x65, 0x67, 0x72, 0x65, 0x74, 0x52, 0x65, + 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x47, 0x88, 0xe7, 0xb0, 0x2a, 0x01, 0x82, 0xd3, 0xe4, + 0x93, 0x02, 0x3c, 0x12, 0x3a, 0x2f, 0x65, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2f, + 0x76, 0x38, 0x2f, 0x69, 0x6e, 0x66, 0x65, 0x72, 0x65, 0x72, 0x5f, 0x6e, 0x65, 0x74, 0x77, 0x6f, + 0x72, 0x6b, 0x5f, 0x72, 0x65, 0x67, 0x72, 0x65, 0x74, 0x2f, 0x7b, 0x74, 0x6f, 0x70, 0x69, 0x63, + 0x5f, 0x69, 0x64, 0x7d, 0x2f, 0x7b, 0x61, 0x63, 0x74, 0x6f, 0x72, 0x5f, 0x69, 0x64, 0x7d, 0x12, + 0xc9, 0x01, 0x0a, 0x1a, 0x47, 0x65, 0x74, 0x46, 0x6f, 0x72, 0x65, 0x63, 0x61, 0x73, 0x74, 0x65, + 0x72, 0x4e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x52, 0x65, 0x67, 0x72, 0x65, 0x74, 0x12, 0x2f, + 0x2e, 0x65, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x38, 0x2e, 0x47, 0x65, + 0x74, 0x46, 0x6f, 0x72, 0x65, 0x63, 0x61, 0x73, 0x74, 0x65, 0x72, 0x4e, 0x65, 0x74, 0x77, 0x6f, + 0x72, 0x6b, 0x52, 0x65, 0x67, 0x72, 0x65, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, + 0x30, 0x2e, 0x65, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x38, 0x2e, 0x47, + 0x65, 0x74, 0x46, 0x6f, 0x72, 0x65, 0x63, 0x61, 0x73, 0x74, 0x65, 0x72, 0x4e, 0x65, 0x74, 0x77, + 0x6f, 0x72, 0x6b, 0x52, 0x65, 0x67, 0x72, 0x65, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, + 0x65, 0x22, 0x48, 0x88, 0xe7, 0xb0, 0x2a, 0x01, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x3d, 0x12, 0x3b, + 0x2f, 0x65, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x76, 0x38, 0x2f, 0x66, 0x6f, + 0x72, 0x65, 0x63, 0x61, 0x73, 0x74, 0x65, 0x72, 0x5f, 0x6e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, + 0x5f, 0x72, 0x65, 0x67, 0x72, 0x65, 0x74, 0x2f, 0x7b, 0x74, 0x6f, 0x70, 0x69, 0x63, 0x5f, 0x69, + 0x64, 0x7d, 0x2f, 0x7b, 0x77, 0x6f, 0x72, 0x6b, 0x65, 0x72, 0x7d, 0x12, 0xed, 0x01, 0x0a, 0x1f, + 0x47, 0x65, 0x74, 0x4f, 0x6e, 0x65, 0x49, 0x6e, 0x46, 0x6f, 0x72, 0x65, 0x63, 0x61, 0x73, 0x74, + 0x65, 0x72, 0x4e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x52, 0x65, 0x67, 0x72, 0x65, 0x74, 0x12, + 0x34, 0x2e, 0x65, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x38, 0x2e, 0x47, + 0x65, 0x74, 0x4f, 0x6e, 0x65, 0x49, 0x6e, 0x46, 0x6f, 0x72, 0x65, 0x63, 0x61, 0x73, 0x74, 0x65, + 0x72, 0x4e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x52, 0x65, 0x67, 0x72, 0x65, 0x74, 0x52, 0x65, + 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x35, 0x2e, 0x65, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, + 0x73, 0x2e, 0x76, 0x38, 0x2e, 0x47, 0x65, 0x74, 0x4f, 0x6e, 0x65, 0x49, 0x6e, 0x46, 0x6f, 0x72, + 0x65, 0x63, 0x61, 0x73, 0x74, 0x65, 0x72, 0x4e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x52, 0x65, + 0x67, 0x72, 0x65, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x5d, 0x88, 0xe7, + 0xb0, 0x2a, 0x01, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x52, 0x12, 0x50, 0x2f, 0x65, 0x6d, 0x69, 0x73, + 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x76, 0x38, 0x2f, 0x6f, 0x6e, 0x65, 0x5f, 0x69, 0x6e, 0x5f, + 0x66, 0x6f, 0x72, 0x65, 0x63, 0x61, 0x73, 0x74, 0x65, 0x72, 0x5f, 0x6e, 0x65, 0x74, 0x77, 0x6f, + 0x72, 0x6b, 0x5f, 0x72, 0x65, 0x67, 0x72, 0x65, 0x74, 0x2f, 0x7b, 0x74, 0x6f, 0x70, 0x69, 0x63, + 0x5f, 0x69, 0x64, 0x7d, 0x2f, 0x7b, 0x66, 0x6f, 0x72, 0x65, 0x63, 0x61, 0x73, 0x74, 0x65, 0x72, + 0x7d, 0x2f, 0x7b, 0x69, 0x6e, 0x66, 0x65, 0x72, 0x65, 0x72, 0x7d, 0x12, 0x92, 0x01, 0x0a, 0x10, + 0x49, 0x73, 0x57, 0x68, 0x69, 0x74, 0x65, 0x6c, 0x69, 0x73, 0x74, 0x41, 0x64, 0x6d, 0x69, 0x6e, + 0x12, 0x25, 0x2e, 0x65, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x38, 0x2e, + 0x49, 0x73, 0x57, 0x68, 0x69, 0x74, 0x65, 0x6c, 0x69, 0x73, 0x74, 0x41, 0x64, 0x6d, 0x69, 0x6e, + 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x26, 0x2e, 0x65, 0x6d, 0x69, 0x73, 0x73, 0x69, + 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x38, 0x2e, 0x49, 0x73, 0x57, 0x68, 0x69, 0x74, 0x65, 0x6c, 0x69, + 0x73, 0x74, 0x41, 0x64, 0x6d, 0x69, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, + 0x2f, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x29, 0x12, 0x27, 0x2f, 0x65, 0x6d, 0x69, 0x73, 0x73, 0x69, + 0x6f, 0x6e, 0x73, 0x2f, 0x76, 0x38, 0x2f, 0x77, 0x68, 0x69, 0x74, 0x65, 0x6c, 0x69, 0x73, 0x74, + 0x5f, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2f, 0x7b, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x7d, + 0x12, 0xca, 0x01, 0x0a, 0x1c, 0x47, 0x65, 0x74, 0x54, 0x6f, 0x70, 0x69, 0x63, 0x4c, 0x61, 0x73, + 0x74, 0x57, 0x6f, 0x72, 0x6b, 0x65, 0x72, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x49, 0x6e, 0x66, + 0x6f, 0x12, 0x31, 0x2e, 0x65, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x38, + 0x2e, 0x47, 0x65, 0x74, 0x54, 0x6f, 0x70, 0x69, 0x63, 0x4c, 0x61, 0x73, 0x74, 0x57, 0x6f, 0x72, + 0x6b, 0x65, 0x72, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65, 0x71, + 0x75, 0x65, 0x73, 0x74, 0x1a, 0x32, 0x2e, 0x65, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, + 0x2e, 0x76, 0x38, 0x2e, 0x47, 0x65, 0x74, 0x54, 0x6f, 0x70, 0x69, 0x63, 0x4c, 0x61, 0x73, 0x74, + 0x57, 0x6f, 0x72, 0x6b, 0x65, 0x72, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x49, 0x6e, 0x66, 0x6f, + 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x43, 0x88, 0xe7, 0xb0, 0x2a, 0x01, 0x82, + 0xd3, 0xe4, 0x93, 0x02, 0x38, 0x12, 0x36, 0x2f, 0x65, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, + 0x73, 0x2f, 0x76, 0x38, 0x2f, 0x74, 0x6f, 0x70, 0x69, 0x63, 0x5f, 0x6c, 0x61, 0x73, 0x74, 0x5f, + 0x77, 0x6f, 0x72, 0x6b, 0x65, 0x72, 0x5f, 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x5f, 0x69, 0x6e, + 0x66, 0x6f, 0x2f, 0x7b, 0x74, 0x6f, 0x70, 0x69, 0x63, 0x5f, 0x69, 0x64, 0x7d, 0x12, 0xce, 0x01, + 0x0a, 0x1d, 0x47, 0x65, 0x74, 0x54, 0x6f, 0x70, 0x69, 0x63, 0x4c, 0x61, 0x73, 0x74, 0x52, 0x65, + 0x70, 0x75, 0x74, 0x65, 0x72, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x12, + 0x32, 0x2e, 0x65, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x38, 0x2e, 0x47, + 0x65, 0x74, 0x54, 0x6f, 0x70, 0x69, 0x63, 0x4c, 0x61, 0x73, 0x74, 0x52, 0x65, 0x70, 0x75, 0x74, + 0x65, 0x72, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65, 0x71, 0x75, + 0x65, 0x73, 0x74, 0x1a, 0x33, 0x2e, 0x65, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2e, + 0x76, 0x38, 0x2e, 0x47, 0x65, 0x74, 0x54, 0x6f, 0x70, 0x69, 0x63, 0x4c, 0x61, 0x73, 0x74, 0x52, + 0x65, 0x70, 0x75, 0x74, 0x65, 0x72, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x49, 0x6e, 0x66, 0x6f, + 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x44, 0x88, 0xe7, 0xb0, 0x2a, 0x01, 0x82, + 0xd3, 0xe4, 0x93, 0x02, 0x39, 0x12, 0x37, 0x2f, 0x65, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, + 0x73, 0x2f, 0x76, 0x38, 0x2f, 0x74, 0x6f, 0x70, 0x69, 0x63, 0x5f, 0x6c, 0x61, 0x73, 0x74, 0x5f, + 0x72, 0x65, 0x70, 0x75, 0x74, 0x65, 0x72, 0x5f, 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x5f, 0x69, + 0x6e, 0x66, 0x6f, 0x2f, 0x7b, 0x74, 0x6f, 0x70, 0x69, 0x63, 0x5f, 0x69, 0x64, 0x7d, 0x12, 0xa4, + 0x01, 0x0a, 0x13, 0x47, 0x65, 0x74, 0x54, 0x6f, 0x70, 0x69, 0x63, 0x52, 0x65, 0x77, 0x61, 0x72, + 0x64, 0x4e, 0x6f, 0x6e, 0x63, 0x65, 0x12, 0x28, 0x2e, 0x65, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, + 0x6e, 0x73, 0x2e, 0x76, 0x38, 0x2e, 0x47, 0x65, 0x74, 0x54, 0x6f, 0x70, 0x69, 0x63, 0x52, 0x65, + 0x77, 0x61, 0x72, 0x64, 0x4e, 0x6f, 0x6e, 0x63, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, + 0x1a, 0x29, 0x2e, 0x65, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x38, 0x2e, + 0x47, 0x65, 0x74, 0x54, 0x6f, 0x70, 0x69, 0x63, 0x52, 0x65, 0x77, 0x61, 0x72, 0x64, 0x4e, 0x6f, + 0x6e, 0x63, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x38, 0x88, 0xe7, 0xb0, + 0x2a, 0x01, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x2d, 0x12, 0x2b, 0x2f, 0x65, 0x6d, 0x69, 0x73, 0x73, + 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x76, 0x38, 0x2f, 0x74, 0x6f, 0x70, 0x69, 0x63, 0x5f, 0x72, 0x65, + 0x77, 0x61, 0x72, 0x64, 0x5f, 0x6e, 0x6f, 0x6e, 0x63, 0x65, 0x2f, 0x7b, 0x74, 0x6f, 0x70, 0x69, + 0x63, 0x5f, 0x69, 0x64, 0x7d, 0x12, 0xd0, 0x01, 0x0a, 0x1c, 0x47, 0x65, 0x74, 0x52, 0x65, 0x70, + 0x75, 0x74, 0x65, 0x72, 0x4c, 0x6f, 0x73, 0x73, 0x42, 0x75, 0x6e, 0x64, 0x6c, 0x65, 0x73, 0x41, + 0x74, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x12, 0x31, 0x2e, 0x65, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, + 0x6e, 0x73, 0x2e, 0x76, 0x38, 0x2e, 0x47, 0x65, 0x74, 0x52, 0x65, 0x70, 0x75, 0x74, 0x65, 0x72, + 0x4c, 0x6f, 0x73, 0x73, 0x42, 0x75, 0x6e, 0x64, 0x6c, 0x65, 0x73, 0x41, 0x74, 0x42, 0x6c, 0x6f, + 0x63, 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x32, 0x2e, 0x65, 0x6d, 0x69, 0x73, + 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x38, 0x2e, 0x47, 0x65, 0x74, 0x52, 0x65, 0x70, 0x75, + 0x74, 0x65, 0x72, 0x4c, 0x6f, 0x73, 0x73, 0x42, 0x75, 0x6e, 0x64, 0x6c, 0x65, 0x73, 0x41, 0x74, + 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x49, 0x88, + 0xe7, 0xb0, 0x2a, 0x01, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x3e, 0x12, 0x3c, 0x2f, 0x65, 0x6d, 0x69, + 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x76, 0x38, 0x2f, 0x72, 0x65, 0x70, 0x75, 0x74, 0x65, + 0x72, 0x5f, 0x6c, 0x6f, 0x73, 0x73, 0x5f, 0x62, 0x75, 0x6e, 0x64, 0x6c, 0x65, 0x73, 0x2f, 0x7b, + 0x74, 0x6f, 0x70, 0x69, 0x63, 0x5f, 0x69, 0x64, 0x7d, 0x2f, 0x7b, 0x62, 0x6c, 0x6f, 0x63, 0x6b, + 0x5f, 0x68, 0x65, 0x69, 0x67, 0x68, 0x74, 0x7d, 0x12, 0xc2, 0x01, 0x0a, 0x18, 0x47, 0x65, 0x74, + 0x53, 0x74, 0x61, 0x6b, 0x65, 0x52, 0x65, 0x70, 0x75, 0x74, 0x65, 0x72, 0x41, 0x75, 0x74, 0x68, + 0x6f, 0x72, 0x69, 0x74, 0x79, 0x12, 0x2d, 0x2e, 0x65, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, + 0x73, 0x2e, 0x76, 0x38, 0x2e, 0x47, 0x65, 0x74, 0x53, 0x74, 0x61, 0x6b, 0x65, 0x52, 0x65, 0x70, + 0x75, 0x74, 0x65, 0x72, 0x41, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x74, 0x79, 0x52, 0x65, 0x71, + 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2e, 0x2e, 0x65, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, + 0x2e, 0x76, 0x38, 0x2e, 0x47, 0x65, 0x74, 0x53, 0x74, 0x61, 0x6b, 0x65, 0x52, 0x65, 0x70, 0x75, + 0x74, 0x65, 0x72, 0x41, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x74, 0x79, 0x52, 0x65, 0x73, 0x70, + 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x47, 0x88, 0xe7, 0xb0, 0x2a, 0x01, 0x82, 0xd3, 0xe4, 0x93, 0x02, + 0x3c, 0x12, 0x3a, 0x2f, 0x65, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x76, 0x38, + 0x2f, 0x73, 0x74, 0x61, 0x6b, 0x65, 0x5f, 0x72, 0x65, 0x70, 0x75, 0x74, 0x65, 0x72, 0x5f, 0x61, + 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x74, 0x79, 0x2f, 0x7b, 0x74, 0x6f, 0x70, 0x69, 0x63, 0x5f, + 0x69, 0x64, 0x7d, 0x2f, 0x7b, 0x72, 0x65, 0x70, 0x75, 0x74, 0x65, 0x72, 0x7d, 0x12, 0xd1, 0x01, + 0x0a, 0x19, 0x47, 0x65, 0x74, 0x44, 0x65, 0x6c, 0x65, 0x67, 0x61, 0x74, 0x65, 0x53, 0x74, 0x61, + 0x6b, 0x65, 0x50, 0x6c, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x12, 0x2e, 0x2e, 0x65, 0x6d, + 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x38, 0x2e, 0x47, 0x65, 0x74, 0x44, 0x65, + 0x6c, 0x65, 0x67, 0x61, 0x74, 0x65, 0x53, 0x74, 0x61, 0x6b, 0x65, 0x50, 0x6c, 0x61, 0x63, 0x65, + 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2f, 0x2e, 0x65, 0x6d, + 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x38, 0x2e, 0x47, 0x65, 0x74, 0x44, 0x65, + 0x6c, 0x65, 0x67, 0x61, 0x74, 0x65, 0x53, 0x74, 0x61, 0x6b, 0x65, 0x50, 0x6c, 0x61, 0x63, 0x65, + 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x53, 0x88, 0xe7, + 0xb0, 0x2a, 0x01, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x48, 0x12, 0x46, 0x2f, 0x65, 0x6d, 0x69, 0x73, + 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x76, 0x38, 0x2f, 0x64, 0x65, 0x6c, 0x65, 0x67, 0x61, 0x74, + 0x65, 0x5f, 0x73, 0x74, 0x61, 0x6b, 0x65, 0x5f, 0x70, 0x6c, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x6e, + 0x74, 0x2f, 0x7b, 0x74, 0x6f, 0x70, 0x69, 0x63, 0x5f, 0x69, 0x64, 0x7d, 0x2f, 0x7b, 0x64, 0x65, + 0x6c, 0x65, 0x67, 0x61, 0x74, 0x6f, 0x72, 0x7d, 0x2f, 0x7b, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, + 0x7d, 0x12, 0xce, 0x01, 0x0a, 0x1b, 0x47, 0x65, 0x74, 0x44, 0x65, 0x6c, 0x65, 0x67, 0x61, 0x74, + 0x65, 0x53, 0x74, 0x61, 0x6b, 0x65, 0x55, 0x70, 0x6f, 0x6e, 0x52, 0x65, 0x70, 0x75, 0x74, 0x65, + 0x72, 0x12, 0x30, 0x2e, 0x65, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x38, + 0x2e, 0x47, 0x65, 0x74, 0x44, 0x65, 0x6c, 0x65, 0x67, 0x61, 0x74, 0x65, 0x53, 0x74, 0x61, 0x6b, + 0x65, 0x55, 0x70, 0x6f, 0x6e, 0x52, 0x65, 0x70, 0x75, 0x74, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, + 0x65, 0x73, 0x74, 0x1a, 0x31, 0x2e, 0x65, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2e, + 0x76, 0x38, 0x2e, 0x47, 0x65, 0x74, 0x44, 0x65, 0x6c, 0x65, 0x67, 0x61, 0x74, 0x65, 0x53, 0x74, + 0x61, 0x6b, 0x65, 0x55, 0x70, 0x6f, 0x6e, 0x52, 0x65, 0x70, 0x75, 0x74, 0x65, 0x72, 0x52, 0x65, + 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x4a, 0x88, 0xe7, 0xb0, 0x2a, 0x01, 0x82, 0xd3, 0xe4, + 0x93, 0x02, 0x3f, 0x12, 0x3d, 0x2f, 0x65, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2f, + 0x76, 0x38, 0x2f, 0x64, 0x65, 0x6c, 0x65, 0x67, 0x61, 0x74, 0x65, 0x5f, 0x73, 0x74, 0x61, 0x6b, + 0x65, 0x5f, 0x75, 0x70, 0x6f, 0x6e, 0x5f, 0x72, 0x65, 0x70, 0x75, 0x74, 0x65, 0x72, 0x2f, 0x7b, + 0x74, 0x6f, 0x70, 0x69, 0x63, 0x5f, 0x69, 0x64, 0x7d, 0x2f, 0x7b, 0x74, 0x61, 0x72, 0x67, 0x65, + 0x74, 0x7d, 0x12, 0xc7, 0x01, 0x0a, 0x19, 0x47, 0x65, 0x74, 0x44, 0x65, 0x6c, 0x65, 0x67, 0x61, + 0x74, 0x65, 0x52, 0x65, 0x77, 0x61, 0x72, 0x64, 0x50, 0x65, 0x72, 0x53, 0x68, 0x61, 0x72, 0x65, + 0x12, 0x2e, 0x2e, 0x65, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x38, 0x2e, + 0x47, 0x65, 0x74, 0x44, 0x65, 0x6c, 0x65, 0x67, 0x61, 0x74, 0x65, 0x52, 0x65, 0x77, 0x61, 0x72, + 0x64, 0x50, 0x65, 0x72, 0x53, 0x68, 0x61, 0x72, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, + 0x1a, 0x2f, 0x2e, 0x65, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x38, 0x2e, + 0x47, 0x65, 0x74, 0x44, 0x65, 0x6c, 0x65, 0x67, 0x61, 0x74, 0x65, 0x52, 0x65, 0x77, 0x61, 0x72, + 0x64, 0x50, 0x65, 0x72, 0x53, 0x68, 0x61, 0x72, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, + 0x65, 0x22, 0x49, 0x88, 0xe7, 0xb0, 0x2a, 0x01, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x3e, 0x12, 0x3c, + 0x2f, 0x65, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x76, 0x38, 0x2f, 0x64, 0x65, + 0x6c, 0x65, 0x67, 0x61, 0x74, 0x65, 0x5f, 0x72, 0x65, 0x77, 0x61, 0x72, 0x64, 0x5f, 0x70, 0x65, + 0x72, 0x5f, 0x73, 0x68, 0x61, 0x72, 0x65, 0x2f, 0x7b, 0x74, 0x6f, 0x70, 0x69, 0x63, 0x5f, 0x69, + 0x64, 0x7d, 0x2f, 0x7b, 0x72, 0x65, 0x70, 0x75, 0x74, 0x65, 0x72, 0x7d, 0x12, 0xd9, 0x01, 0x0a, + 0x23, 0x47, 0x65, 0x74, 0x53, 0x74, 0x61, 0x6b, 0x65, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x61, 0x6c, + 0x46, 0x6f, 0x72, 0x52, 0x65, 0x70, 0x75, 0x74, 0x65, 0x72, 0x41, 0x6e, 0x64, 0x54, 0x6f, 0x70, + 0x69, 0x63, 0x49, 0x64, 0x12, 0x38, 0x2e, 0x65, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, + 0x2e, 0x76, 0x38, 0x2e, 0x47, 0x65, 0x74, 0x53, 0x74, 0x61, 0x6b, 0x65, 0x52, 0x65, 0x6d, 0x6f, + 0x76, 0x61, 0x6c, 0x46, 0x6f, 0x72, 0x52, 0x65, 0x70, 0x75, 0x74, 0x65, 0x72, 0x41, 0x6e, 0x64, + 0x54, 0x6f, 0x70, 0x69, 0x63, 0x49, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x39, + 0x2e, 0x65, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x38, 0x2e, 0x47, 0x65, + 0x74, 0x53, 0x74, 0x61, 0x6b, 0x65, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x61, 0x6c, 0x46, 0x6f, 0x72, + 0x52, 0x65, 0x70, 0x75, 0x74, 0x65, 0x72, 0x41, 0x6e, 0x64, 0x54, 0x6f, 0x70, 0x69, 0x63, 0x49, + 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x3d, 0x88, 0xe7, 0xb0, 0x2a, 0x01, + 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x32, 0x12, 0x30, 0x2f, 0x65, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, + 0x6e, 0x73, 0x2f, 0x76, 0x38, 0x2f, 0x73, 0x74, 0x61, 0x6b, 0x65, 0x5f, 0x72, 0x65, 0x6d, 0x6f, + 0x76, 0x61, 0x6c, 0x2f, 0x7b, 0x72, 0x65, 0x70, 0x75, 0x74, 0x65, 0x72, 0x7d, 0x2f, 0x7b, 0x74, + 0x6f, 0x70, 0x69, 0x63, 0x5f, 0x69, 0x64, 0x7d, 0x12, 0xd9, 0x01, 0x0a, 0x17, 0x47, 0x65, 0x74, + 0x44, 0x65, 0x6c, 0x65, 0x67, 0x61, 0x74, 0x65, 0x53, 0x74, 0x61, 0x6b, 0x65, 0x52, 0x65, 0x6d, + 0x6f, 0x76, 0x61, 0x6c, 0x12, 0x2c, 0x2e, 0x65, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, + 0x2e, 0x76, 0x38, 0x2e, 0x47, 0x65, 0x74, 0x44, 0x65, 0x6c, 0x65, 0x67, 0x61, 0x74, 0x65, 0x53, + 0x74, 0x61, 0x6b, 0x65, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x61, 0x6c, 0x52, 0x65, 0x71, 0x75, 0x65, + 0x73, 0x74, 0x1a, 0x2d, 0x2e, 0x65, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, + 0x38, 0x2e, 0x47, 0x65, 0x74, 0x44, 0x65, 0x6c, 0x65, 0x67, 0x61, 0x74, 0x65, 0x53, 0x74, 0x61, + 0x6b, 0x65, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x61, 0x6c, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, + 0x65, 0x22, 0x61, 0x88, 0xe7, 0xb0, 0x2a, 0x01, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x56, 0x12, 0x54, + 0x2f, 0x65, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x76, 0x38, 0x2f, 0x64, 0x65, + 0x6c, 0x65, 0x67, 0x61, 0x74, 0x65, 0x5f, 0x73, 0x74, 0x61, 0x6b, 0x65, 0x5f, 0x72, 0x65, 0x6d, + 0x6f, 0x76, 0x61, 0x6c, 0x2f, 0x7b, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x5f, 0x68, 0x65, 0x69, 0x67, + 0x68, 0x74, 0x7d, 0x2f, 0x7b, 0x74, 0x6f, 0x70, 0x69, 0x63, 0x5f, 0x69, 0x64, 0x7d, 0x2f, 0x7b, + 0x64, 0x65, 0x6c, 0x65, 0x67, 0x61, 0x74, 0x6f, 0x72, 0x7d, 0x2f, 0x7b, 0x72, 0x65, 0x70, 0x75, + 0x74, 0x65, 0x72, 0x7d, 0x12, 0xb0, 0x01, 0x0a, 0x16, 0x47, 0x65, 0x74, 0x50, 0x72, 0x65, 0x76, + 0x69, 0x6f, 0x75, 0x73, 0x54, 0x6f, 0x70, 0x69, 0x63, 0x57, 0x65, 0x69, 0x67, 0x68, 0x74, 0x12, + 0x2b, 0x2e, 0x65, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x38, 0x2e, 0x47, + 0x65, 0x74, 0x50, 0x72, 0x65, 0x76, 0x69, 0x6f, 0x75, 0x73, 0x54, 0x6f, 0x70, 0x69, 0x63, 0x57, + 0x65, 0x69, 0x67, 0x68, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2c, 0x2e, 0x65, + 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x38, 0x2e, 0x47, 0x65, 0x74, 0x50, + 0x72, 0x65, 0x76, 0x69, 0x6f, 0x75, 0x73, 0x54, 0x6f, 0x70, 0x69, 0x63, 0x57, 0x65, 0x69, 0x67, + 0x68, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x3b, 0x88, 0xe7, 0xb0, 0x2a, + 0x01, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x30, 0x12, 0x2e, 0x2f, 0x65, 0x6d, 0x69, 0x73, 0x73, 0x69, + 0x6f, 0x6e, 0x73, 0x2f, 0x76, 0x38, 0x2f, 0x70, 0x72, 0x65, 0x76, 0x69, 0x6f, 0x75, 0x73, 0x5f, + 0x74, 0x6f, 0x70, 0x69, 0x63, 0x5f, 0x77, 0x65, 0x69, 0x67, 0x68, 0x74, 0x2f, 0x7b, 0x74, 0x6f, + 0x70, 0x69, 0x63, 0x5f, 0x69, 0x64, 0x7d, 0x12, 0xca, 0x01, 0x0a, 0x1f, 0x47, 0x65, 0x74, 0x54, + 0x6f, 0x74, 0x61, 0x6c, 0x53, 0x75, 0x6d, 0x50, 0x72, 0x65, 0x76, 0x69, 0x6f, 0x75, 0x73, 0x54, + 0x6f, 0x70, 0x69, 0x63, 0x57, 0x65, 0x69, 0x67, 0x68, 0x74, 0x73, 0x12, 0x34, 0x2e, 0x65, 0x6d, + 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x38, 0x2e, 0x47, 0x65, 0x74, 0x54, 0x6f, + 0x74, 0x61, 0x6c, 0x53, 0x75, 0x6d, 0x50, 0x72, 0x65, 0x76, 0x69, 0x6f, 0x75, 0x73, 0x54, 0x6f, + 0x70, 0x69, 0x63, 0x57, 0x65, 0x69, 0x67, 0x68, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, + 0x74, 0x1a, 0x35, 0x2e, 0x65, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x38, + 0x2e, 0x47, 0x65, 0x74, 0x54, 0x6f, 0x74, 0x61, 0x6c, 0x53, 0x75, 0x6d, 0x50, 0x72, 0x65, 0x76, + 0x69, 0x6f, 0x75, 0x73, 0x54, 0x6f, 0x70, 0x69, 0x63, 0x57, 0x65, 0x69, 0x67, 0x68, 0x74, 0x73, + 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x3a, 0x88, 0xe7, 0xb0, 0x2a, 0x01, 0x82, + 0xd3, 0xe4, 0x93, 0x02, 0x2f, 0x12, 0x2d, 0x2f, 0x65, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, + 0x73, 0x2f, 0x76, 0x38, 0x2f, 0x73, 0x75, 0x6d, 0x5f, 0x70, 0x72, 0x65, 0x76, 0x69, 0x6f, 0x75, + 0x73, 0x5f, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x5f, 0x74, 0x6f, 0x70, 0x69, 0x63, 0x5f, 0x77, 0x65, + 0x69, 0x67, 0x68, 0x74, 0x12, 0x86, 0x01, 0x0a, 0x0b, 0x54, 0x6f, 0x70, 0x69, 0x63, 0x45, 0x78, + 0x69, 0x73, 0x74, 0x73, 0x12, 0x20, 0x2e, 0x65, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, + 0x2e, 0x76, 0x38, 0x2e, 0x54, 0x6f, 0x70, 0x69, 0x63, 0x45, 0x78, 0x69, 0x73, 0x74, 0x73, 0x52, + 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x21, 0x2e, 0x65, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, + 0x6e, 0x73, 0x2e, 0x76, 0x38, 0x2e, 0x54, 0x6f, 0x70, 0x69, 0x63, 0x45, 0x78, 0x69, 0x73, 0x74, + 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x32, 0x88, 0xe7, 0xb0, 0x2a, 0x01, + 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x27, 0x12, 0x25, 0x2f, 0x65, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, + 0x6e, 0x73, 0x2f, 0x76, 0x38, 0x2f, 0x74, 0x6f, 0x70, 0x69, 0x63, 0x5f, 0x65, 0x78, 0x69, 0x73, + 0x74, 0x73, 0x2f, 0x7b, 0x74, 0x6f, 0x70, 0x69, 0x63, 0x5f, 0x69, 0x64, 0x7d, 0x12, 0x8f, 0x01, + 0x0a, 0x0d, 0x49, 0x73, 0x54, 0x6f, 0x70, 0x69, 0x63, 0x41, 0x63, 0x74, 0x69, 0x76, 0x65, 0x12, + 0x22, 0x2e, 0x65, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x38, 0x2e, 0x49, + 0x73, 0x54, 0x6f, 0x70, 0x69, 0x63, 0x41, 0x63, 0x74, 0x69, 0x76, 0x65, 0x52, 0x65, 0x71, 0x75, + 0x65, 0x73, 0x74, 0x1a, 0x23, 0x2e, 0x65, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2e, + 0x76, 0x38, 0x2e, 0x49, 0x73, 0x54, 0x6f, 0x70, 0x69, 0x63, 0x41, 0x63, 0x74, 0x69, 0x76, 0x65, + 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x35, 0x88, 0xe7, 0xb0, 0x2a, 0x01, 0x82, + 0xd3, 0xe4, 0x93, 0x02, 0x2a, 0x12, 0x28, 0x2f, 0x65, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, + 0x73, 0x2f, 0x76, 0x38, 0x2f, 0x69, 0x73, 0x5f, 0x74, 0x6f, 0x70, 0x69, 0x63, 0x5f, 0x61, 0x63, + 0x74, 0x69, 0x76, 0x65, 0x2f, 0x7b, 0x74, 0x6f, 0x70, 0x69, 0x63, 0x5f, 0x69, 0x64, 0x7d, 0x12, + 0xa0, 0x01, 0x0a, 0x12, 0x47, 0x65, 0x74, 0x54, 0x6f, 0x70, 0x69, 0x63, 0x46, 0x65, 0x65, 0x52, + 0x65, 0x76, 0x65, 0x6e, 0x75, 0x65, 0x12, 0x27, 0x2e, 0x65, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, + 0x6e, 0x73, 0x2e, 0x76, 0x38, 0x2e, 0x47, 0x65, 0x74, 0x54, 0x6f, 0x70, 0x69, 0x63, 0x46, 0x65, + 0x65, 0x52, 0x65, 0x76, 0x65, 0x6e, 0x75, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, + 0x28, 0x2e, 0x65, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x38, 0x2e, 0x47, + 0x65, 0x74, 0x54, 0x6f, 0x70, 0x69, 0x63, 0x46, 0x65, 0x65, 0x52, 0x65, 0x76, 0x65, 0x6e, 0x75, + 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x37, 0x88, 0xe7, 0xb0, 0x2a, 0x01, + 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x2c, 0x12, 0x2a, 0x2f, 0x65, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, + 0x6e, 0x73, 0x2f, 0x76, 0x38, 0x2f, 0x74, 0x6f, 0x70, 0x69, 0x63, 0x5f, 0x66, 0x65, 0x65, 0x5f, + 0x72, 0x65, 0x76, 0x65, 0x6e, 0x75, 0x65, 0x2f, 0x7b, 0x74, 0x6f, 0x70, 0x69, 0x63, 0x5f, 0x69, + 0x64, 0x7d, 0x12, 0xaa, 0x01, 0x0a, 0x12, 0x47, 0x65, 0x74, 0x49, 0x6e, 0x66, 0x65, 0x72, 0x65, + 0x72, 0x53, 0x63, 0x6f, 0x72, 0x65, 0x45, 0x6d, 0x61, 0x12, 0x27, 0x2e, 0x65, 0x6d, 0x69, 0x73, + 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x38, 0x2e, 0x47, 0x65, 0x74, 0x49, 0x6e, 0x66, 0x65, + 0x72, 0x65, 0x72, 0x53, 0x63, 0x6f, 0x72, 0x65, 0x45, 0x6d, 0x61, 0x52, 0x65, 0x71, 0x75, 0x65, + 0x73, 0x74, 0x1a, 0x28, 0x2e, 0x65, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, + 0x38, 0x2e, 0x47, 0x65, 0x74, 0x49, 0x6e, 0x66, 0x65, 0x72, 0x65, 0x72, 0x53, 0x63, 0x6f, 0x72, + 0x65, 0x45, 0x6d, 0x61, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x41, 0x88, 0xe7, + 0xb0, 0x2a, 0x01, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x36, 0x12, 0x34, 0x2f, 0x65, 0x6d, 0x69, 0x73, + 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x76, 0x38, 0x2f, 0x69, 0x6e, 0x66, 0x65, 0x72, 0x65, 0x72, + 0x5f, 0x73, 0x63, 0x6f, 0x72, 0x65, 0x5f, 0x65, 0x6d, 0x61, 0x2f, 0x7b, 0x74, 0x6f, 0x70, 0x69, + 0x63, 0x5f, 0x69, 0x64, 0x7d, 0x2f, 0x7b, 0x69, 0x6e, 0x66, 0x65, 0x72, 0x65, 0x72, 0x7d, 0x12, + 0xb9, 0x01, 0x0a, 0x15, 0x47, 0x65, 0x74, 0x46, 0x6f, 0x72, 0x65, 0x63, 0x61, 0x73, 0x74, 0x65, + 0x72, 0x53, 0x63, 0x6f, 0x72, 0x65, 0x45, 0x6d, 0x61, 0x12, 0x2a, 0x2e, 0x65, 0x6d, 0x69, 0x73, + 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x38, 0x2e, 0x47, 0x65, 0x74, 0x46, 0x6f, 0x72, 0x65, + 0x63, 0x61, 0x73, 0x74, 0x65, 0x72, 0x53, 0x63, 0x6f, 0x72, 0x65, 0x45, 0x6d, 0x61, 0x52, 0x65, + 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2b, 0x2e, 0x65, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, + 0x73, 0x2e, 0x76, 0x38, 0x2e, 0x47, 0x65, 0x74, 0x46, 0x6f, 0x72, 0x65, 0x63, 0x61, 0x73, 0x74, + 0x65, 0x72, 0x53, 0x63, 0x6f, 0x72, 0x65, 0x45, 0x6d, 0x61, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, + 0x73, 0x65, 0x22, 0x47, 0x88, 0xe7, 0xb0, 0x2a, 0x01, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x3c, 0x12, + 0x3a, 0x2f, 0x65, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x76, 0x38, 0x2f, 0x66, + 0x6f, 0x72, 0x65, 0x63, 0x61, 0x73, 0x74, 0x65, 0x72, 0x5f, 0x73, 0x63, 0x6f, 0x72, 0x65, 0x5f, + 0x65, 0x6d, 0x61, 0x2f, 0x7b, 0x74, 0x6f, 0x70, 0x69, 0x63, 0x5f, 0x69, 0x64, 0x7d, 0x2f, 0x7b, + 0x66, 0x6f, 0x72, 0x65, 0x63, 0x61, 0x73, 0x74, 0x65, 0x72, 0x7d, 0x12, 0xaa, 0x01, 0x0a, 0x12, + 0x47, 0x65, 0x74, 0x52, 0x65, 0x70, 0x75, 0x74, 0x65, 0x72, 0x53, 0x63, 0x6f, 0x72, 0x65, 0x45, + 0x6d, 0x61, 0x12, 0x27, 0x2e, 0x65, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, + 0x38, 0x2e, 0x47, 0x65, 0x74, 0x52, 0x65, 0x70, 0x75, 0x74, 0x65, 0x72, 0x53, 0x63, 0x6f, 0x72, + 0x65, 0x45, 0x6d, 0x61, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x28, 0x2e, 0x65, 0x6d, + 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x38, 0x2e, 0x47, 0x65, 0x74, 0x52, 0x65, + 0x70, 0x75, 0x74, 0x65, 0x72, 0x53, 0x63, 0x6f, 0x72, 0x65, 0x45, 0x6d, 0x61, 0x52, 0x65, 0x73, + 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x41, 0x88, 0xe7, 0xb0, 0x2a, 0x01, 0x82, 0xd3, 0xe4, 0x93, + 0x02, 0x36, 0x12, 0x34, 0x2f, 0x65, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x76, + 0x38, 0x2f, 0x72, 0x65, 0x70, 0x75, 0x74, 0x65, 0x72, 0x5f, 0x73, 0x63, 0x6f, 0x72, 0x65, 0x5f, + 0x65, 0x6d, 0x61, 0x2f, 0x7b, 0x74, 0x6f, 0x70, 0x69, 0x63, 0x5f, 0x69, 0x64, 0x7d, 0x2f, 0x7b, + 0x72, 0x65, 0x70, 0x75, 0x74, 0x65, 0x72, 0x7d, 0x12, 0xd8, 0x01, 0x0a, 0x1c, 0x47, 0x65, 0x74, + 0x49, 0x6e, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x53, 0x63, 0x6f, 0x72, 0x65, 0x73, 0x55, + 0x6e, 0x74, 0x69, 0x6c, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x12, 0x31, 0x2e, 0x65, 0x6d, 0x69, 0x73, + 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x38, 0x2e, 0x47, 0x65, 0x74, 0x49, 0x6e, 0x66, 0x65, + 0x72, 0x65, 0x6e, 0x63, 0x65, 0x53, 0x63, 0x6f, 0x72, 0x65, 0x73, 0x55, 0x6e, 0x74, 0x69, 0x6c, + 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x32, 0x2e, 0x65, + 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x38, 0x2e, 0x47, 0x65, 0x74, 0x49, + 0x6e, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x53, 0x63, 0x6f, 0x72, 0x65, 0x73, 0x55, 0x6e, + 0x74, 0x69, 0x6c, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, + 0x22, 0x51, 0x88, 0xe7, 0xb0, 0x2a, 0x01, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x46, 0x12, 0x44, 0x2f, + 0x65, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x76, 0x38, 0x2f, 0x69, 0x6e, 0x66, + 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x5f, 0x73, 0x63, 0x6f, 0x72, 0x65, 0x73, 0x5f, 0x75, 0x6e, + 0x74, 0x69, 0x6c, 0x5f, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x2f, 0x7b, 0x74, 0x6f, 0x70, 0x69, 0x63, + 0x5f, 0x69, 0x64, 0x7d, 0x2f, 0x7b, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x5f, 0x68, 0x65, 0x69, 0x67, + 0x68, 0x74, 0x7d, 0x12, 0xfa, 0x01, 0x0a, 0x2a, 0x47, 0x65, 0x74, 0x50, 0x72, 0x65, 0x76, 0x69, + 0x6f, 0x75, 0x73, 0x54, 0x6f, 0x70, 0x69, 0x63, 0x51, 0x75, 0x61, 0x6e, 0x74, 0x69, 0x6c, 0x65, + 0x46, 0x6f, 0x72, 0x65, 0x63, 0x61, 0x73, 0x74, 0x65, 0x72, 0x53, 0x63, 0x6f, 0x72, 0x65, 0x45, + 0x6d, 0x61, 0x12, 0x3f, 0x2e, 0x65, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, + 0x38, 0x2e, 0x47, 0x65, 0x74, 0x50, 0x72, 0x65, 0x76, 0x69, 0x6f, 0x75, 0x73, 0x54, 0x6f, 0x70, + 0x69, 0x63, 0x51, 0x75, 0x61, 0x6e, 0x74, 0x69, 0x6c, 0x65, 0x46, 0x6f, 0x72, 0x65, 0x63, 0x61, + 0x73, 0x74, 0x65, 0x72, 0x53, 0x63, 0x6f, 0x72, 0x65, 0x45, 0x6d, 0x61, 0x52, 0x65, 0x71, 0x75, + 0x65, 0x73, 0x74, 0x1a, 0x40, 0x2e, 0x65, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2e, + 0x76, 0x38, 0x2e, 0x47, 0x65, 0x74, 0x50, 0x72, 0x65, 0x76, 0x69, 0x6f, 0x75, 0x73, 0x54, 0x6f, + 0x70, 0x69, 0x63, 0x51, 0x75, 0x61, 0x6e, 0x74, 0x69, 0x6c, 0x65, 0x46, 0x6f, 0x72, 0x65, 0x63, + 0x61, 0x73, 0x74, 0x65, 0x72, 0x53, 0x63, 0x6f, 0x72, 0x65, 0x45, 0x6d, 0x61, 0x52, 0x65, 0x73, + 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x49, 0x88, 0xe7, 0xb0, 0x2a, 0x01, 0x82, 0xd3, 0xe4, 0x93, + 0x02, 0x3e, 0x12, 0x3c, 0x2f, 0x65, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x76, + 0x38, 0x2f, 0x74, 0x6f, 0x70, 0x69, 0x63, 0x5f, 0x71, 0x75, 0x61, 0x6e, 0x74, 0x69, 0x6c, 0x65, + 0x5f, 0x66, 0x6f, 0x72, 0x65, 0x63, 0x61, 0x73, 0x74, 0x65, 0x72, 0x5f, 0x73, 0x63, 0x6f, 0x72, + 0x65, 0x5f, 0x65, 0x6d, 0x61, 0x2f, 0x7b, 0x74, 0x6f, 0x70, 0x69, 0x63, 0x5f, 0x69, 0x64, 0x7d, + 0x12, 0xee, 0x01, 0x0a, 0x27, 0x47, 0x65, 0x74, 0x50, 0x72, 0x65, 0x76, 0x69, 0x6f, 0x75, 0x73, + 0x54, 0x6f, 0x70, 0x69, 0x63, 0x51, 0x75, 0x61, 0x6e, 0x74, 0x69, 0x6c, 0x65, 0x49, 0x6e, 0x66, + 0x65, 0x72, 0x65, 0x72, 0x53, 0x63, 0x6f, 0x72, 0x65, 0x45, 0x6d, 0x61, 0x12, 0x3c, 0x2e, 0x65, + 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x38, 0x2e, 0x47, 0x65, 0x74, 0x50, + 0x72, 0x65, 0x76, 0x69, 0x6f, 0x75, 0x73, 0x54, 0x6f, 0x70, 0x69, 0x63, 0x51, 0x75, 0x61, 0x6e, + 0x74, 0x69, 0x6c, 0x65, 0x49, 0x6e, 0x66, 0x65, 0x72, 0x65, 0x72, 0x53, 0x63, 0x6f, 0x72, 0x65, + 0x45, 0x6d, 0x61, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x3d, 0x2e, 0x65, 0x6d, 0x69, + 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x38, 0x2e, 0x47, 0x65, 0x74, 0x50, 0x72, 0x65, + 0x76, 0x69, 0x6f, 0x75, 0x73, 0x54, 0x6f, 0x70, 0x69, 0x63, 0x51, 0x75, 0x61, 0x6e, 0x74, 0x69, + 0x6c, 0x65, 0x49, 0x6e, 0x66, 0x65, 0x72, 0x65, 0x72, 0x53, 0x63, 0x6f, 0x72, 0x65, 0x45, 0x6d, + 0x61, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x46, 0x88, 0xe7, 0xb0, 0x2a, 0x01, + 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x3b, 0x12, 0x39, 0x2f, 0x65, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, + 0x6e, 0x73, 0x2f, 0x76, 0x38, 0x2f, 0x74, 0x6f, 0x70, 0x69, 0x63, 0x5f, 0x71, 0x75, 0x61, 0x6e, + 0x74, 0x69, 0x6c, 0x65, 0x5f, 0x69, 0x6e, 0x66, 0x65, 0x72, 0x65, 0x72, 0x5f, 0x73, 0x63, 0x6f, + 0x72, 0x65, 0x5f, 0x65, 0x6d, 0x61, 0x2f, 0x7b, 0x74, 0x6f, 0x70, 0x69, 0x63, 0x5f, 0x69, 0x64, + 0x7d, 0x12, 0xee, 0x01, 0x0a, 0x27, 0x47, 0x65, 0x74, 0x50, 0x72, 0x65, 0x76, 0x69, 0x6f, 0x75, + 0x73, 0x54, 0x6f, 0x70, 0x69, 0x63, 0x51, 0x75, 0x61, 0x6e, 0x74, 0x69, 0x6c, 0x65, 0x52, 0x65, + 0x70, 0x75, 0x74, 0x65, 0x72, 0x53, 0x63, 0x6f, 0x72, 0x65, 0x45, 0x6d, 0x61, 0x12, 0x3c, 0x2e, + 0x65, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x38, 0x2e, 0x47, 0x65, 0x74, + 0x50, 0x72, 0x65, 0x76, 0x69, 0x6f, 0x75, 0x73, 0x54, 0x6f, 0x70, 0x69, 0x63, 0x51, 0x75, 0x61, + 0x6e, 0x74, 0x69, 0x6c, 0x65, 0x52, 0x65, 0x70, 0x75, 0x74, 0x65, 0x72, 0x53, 0x63, 0x6f, 0x72, + 0x65, 0x45, 0x6d, 0x61, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x3d, 0x2e, 0x65, 0x6d, + 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x38, 0x2e, 0x47, 0x65, 0x74, 0x50, 0x72, + 0x65, 0x76, 0x69, 0x6f, 0x75, 0x73, 0x54, 0x6f, 0x70, 0x69, 0x63, 0x51, 0x75, 0x61, 0x6e, 0x74, + 0x69, 0x6c, 0x65, 0x52, 0x65, 0x70, 0x75, 0x74, 0x65, 0x72, 0x53, 0x63, 0x6f, 0x72, 0x65, 0x45, + 0x6d, 0x61, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x46, 0x88, 0xe7, 0xb0, 0x2a, + 0x01, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x3b, 0x12, 0x39, 0x2f, 0x65, 0x6d, 0x69, 0x73, 0x73, 0x69, + 0x6f, 0x6e, 0x73, 0x2f, 0x76, 0x38, 0x2f, 0x74, 0x6f, 0x70, 0x69, 0x63, 0x5f, 0x71, 0x75, 0x61, + 0x6e, 0x74, 0x69, 0x6c, 0x65, 0x5f, 0x72, 0x65, 0x70, 0x75, 0x74, 0x65, 0x72, 0x5f, 0x73, 0x63, + 0x6f, 0x72, 0x65, 0x5f, 0x65, 0x6d, 0x61, 0x2f, 0x7b, 0x74, 0x6f, 0x70, 0x69, 0x63, 0x5f, 0x69, + 0x64, 0x7d, 0x12, 0xe5, 0x01, 0x0a, 0x1f, 0x47, 0x65, 0x74, 0x57, 0x6f, 0x72, 0x6b, 0x65, 0x72, + 0x49, 0x6e, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x53, 0x63, 0x6f, 0x72, 0x65, 0x73, 0x41, + 0x74, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x12, 0x34, 0x2e, 0x65, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, + 0x6e, 0x73, 0x2e, 0x76, 0x38, 0x2e, 0x47, 0x65, 0x74, 0x57, 0x6f, 0x72, 0x6b, 0x65, 0x72, 0x49, + 0x6e, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x53, 0x63, 0x6f, 0x72, 0x65, 0x73, 0x41, 0x74, + 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x35, 0x2e, 0x65, + 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x38, 0x2e, 0x47, 0x65, 0x74, 0x57, + 0x6f, 0x72, 0x6b, 0x65, 0x72, 0x49, 0x6e, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x53, 0x63, + 0x6f, 0x72, 0x65, 0x73, 0x41, 0x74, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x52, 0x65, 0x73, 0x70, 0x6f, + 0x6e, 0x73, 0x65, 0x22, 0x55, 0x88, 0xe7, 0xb0, 0x2a, 0x01, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x4a, + 0x12, 0x48, 0x2f, 0x65, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x76, 0x38, 0x2f, + 0x77, 0x6f, 0x72, 0x6b, 0x65, 0x72, 0x5f, 0x69, 0x6e, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, + 0x5f, 0x73, 0x63, 0x6f, 0x72, 0x65, 0x73, 0x5f, 0x61, 0x74, 0x5f, 0x62, 0x6c, 0x6f, 0x63, 0x6b, + 0x2f, 0x7b, 0x74, 0x6f, 0x70, 0x69, 0x63, 0x5f, 0x69, 0x64, 0x7d, 0x2f, 0x7b, 0x62, 0x6c, 0x6f, + 0x63, 0x6b, 0x5f, 0x68, 0x65, 0x69, 0x67, 0x68, 0x74, 0x7d, 0x12, 0xc9, 0x01, 0x0a, 0x1c, 0x47, + 0x65, 0x74, 0x43, 0x75, 0x72, 0x72, 0x65, 0x6e, 0x74, 0x4c, 0x6f, 0x77, 0x65, 0x73, 0x74, 0x49, + 0x6e, 0x66, 0x65, 0x72, 0x65, 0x72, 0x53, 0x63, 0x6f, 0x72, 0x65, 0x12, 0x31, 0x2e, 0x65, 0x6d, + 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x38, 0x2e, 0x47, 0x65, 0x74, 0x43, 0x75, + 0x72, 0x72, 0x65, 0x6e, 0x74, 0x4c, 0x6f, 0x77, 0x65, 0x73, 0x74, 0x49, 0x6e, 0x66, 0x65, 0x72, + 0x65, 0x72, 0x53, 0x63, 0x6f, 0x72, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x32, + 0x2e, 0x65, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x38, 0x2e, 0x47, 0x65, + 0x74, 0x43, 0x75, 0x72, 0x72, 0x65, 0x6e, 0x74, 0x4c, 0x6f, 0x77, 0x65, 0x73, 0x74, 0x49, 0x6e, + 0x66, 0x65, 0x72, 0x65, 0x72, 0x53, 0x63, 0x6f, 0x72, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, + 0x73, 0x65, 0x22, 0x42, 0x88, 0xe7, 0xb0, 0x2a, 0x01, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x37, 0x12, + 0x35, 0x2f, 0x65, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x76, 0x38, 0x2f, 0x63, + 0x75, 0x72, 0x72, 0x65, 0x6e, 0x74, 0x5f, 0x6c, 0x6f, 0x77, 0x65, 0x73, 0x74, 0x5f, 0x69, 0x6e, + 0x66, 0x65, 0x72, 0x65, 0x72, 0x5f, 0x73, 0x63, 0x6f, 0x72, 0x65, 0x2f, 0x7b, 0x74, 0x6f, 0x70, + 0x69, 0x63, 0x5f, 0x69, 0x64, 0x7d, 0x12, 0xd4, 0x01, 0x0a, 0x1b, 0x47, 0x65, 0x74, 0x46, 0x6f, + 0x72, 0x65, 0x63, 0x61, 0x73, 0x74, 0x53, 0x63, 0x6f, 0x72, 0x65, 0x73, 0x55, 0x6e, 0x74, 0x69, + 0x6c, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x12, 0x30, 0x2e, 0x65, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, + 0x6e, 0x73, 0x2e, 0x76, 0x38, 0x2e, 0x47, 0x65, 0x74, 0x46, 0x6f, 0x72, 0x65, 0x63, 0x61, 0x73, + 0x74, 0x53, 0x63, 0x6f, 0x72, 0x65, 0x73, 0x55, 0x6e, 0x74, 0x69, 0x6c, 0x42, 0x6c, 0x6f, 0x63, + 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x31, 0x2e, 0x65, 0x6d, 0x69, 0x73, 0x73, + 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x38, 0x2e, 0x47, 0x65, 0x74, 0x46, 0x6f, 0x72, 0x65, 0x63, + 0x61, 0x73, 0x74, 0x53, 0x63, 0x6f, 0x72, 0x65, 0x73, 0x55, 0x6e, 0x74, 0x69, 0x6c, 0x42, 0x6c, + 0x6f, 0x63, 0x6b, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x50, 0x88, 0xe7, 0xb0, + 0x2a, 0x01, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x45, 0x12, 0x43, 0x2f, 0x65, 0x6d, 0x69, 0x73, 0x73, + 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x76, 0x38, 0x2f, 0x66, 0x6f, 0x72, 0x65, 0x63, 0x61, 0x73, 0x74, + 0x5f, 0x73, 0x63, 0x6f, 0x72, 0x65, 0x73, 0x5f, 0x75, 0x6e, 0x74, 0x69, 0x6c, 0x5f, 0x62, 0x6c, + 0x6f, 0x63, 0x6b, 0x2f, 0x7b, 0x74, 0x6f, 0x70, 0x69, 0x63, 0x5f, 0x69, 0x64, 0x7d, 0x2f, 0x7b, + 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x5f, 0x68, 0x65, 0x69, 0x67, 0x68, 0x74, 0x7d, 0x12, 0xe1, 0x01, + 0x0a, 0x1e, 0x47, 0x65, 0x74, 0x57, 0x6f, 0x72, 0x6b, 0x65, 0x72, 0x46, 0x6f, 0x72, 0x65, 0x63, + 0x61, 0x73, 0x74, 0x53, 0x63, 0x6f, 0x72, 0x65, 0x73, 0x41, 0x74, 0x42, 0x6c, 0x6f, 0x63, 0x6b, + 0x12, 0x33, 0x2e, 0x65, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x38, 0x2e, + 0x47, 0x65, 0x74, 0x57, 0x6f, 0x72, 0x6b, 0x65, 0x72, 0x46, 0x6f, 0x72, 0x65, 0x63, 0x61, 0x73, + 0x74, 0x53, 0x63, 0x6f, 0x72, 0x65, 0x73, 0x41, 0x74, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x52, 0x65, + 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x34, 0x2e, 0x65, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, + 0x73, 0x2e, 0x76, 0x38, 0x2e, 0x47, 0x65, 0x74, 0x57, 0x6f, 0x72, 0x6b, 0x65, 0x72, 0x46, 0x6f, + 0x72, 0x65, 0x63, 0x61, 0x73, 0x74, 0x53, 0x63, 0x6f, 0x72, 0x65, 0x73, 0x41, 0x74, 0x42, 0x6c, + 0x6f, 0x63, 0x6b, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x54, 0x88, 0xe7, 0xb0, + 0x2a, 0x01, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x49, 0x12, 0x47, 0x2f, 0x65, 0x6d, 0x69, 0x73, 0x73, + 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x76, 0x38, 0x2f, 0x77, 0x6f, 0x72, 0x6b, 0x65, 0x72, 0x5f, 0x66, + 0x6f, 0x72, 0x65, 0x63, 0x61, 0x73, 0x74, 0x5f, 0x73, 0x63, 0x6f, 0x72, 0x65, 0x73, 0x5f, 0x61, + 0x74, 0x5f, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x2f, 0x7b, 0x74, 0x6f, 0x70, 0x69, 0x63, 0x5f, 0x69, + 0x64, 0x7d, 0x2f, 0x7b, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x5f, 0x68, 0x65, 0x69, 0x67, 0x68, 0x74, + 0x7d, 0x12, 0xd5, 0x01, 0x0a, 0x1f, 0x47, 0x65, 0x74, 0x43, 0x75, 0x72, 0x72, 0x65, 0x6e, 0x74, + 0x4c, 0x6f, 0x77, 0x65, 0x73, 0x74, 0x46, 0x6f, 0x72, 0x65, 0x63, 0x61, 0x73, 0x74, 0x65, 0x72, + 0x53, 0x63, 0x6f, 0x72, 0x65, 0x12, 0x34, 0x2e, 0x65, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, + 0x73, 0x2e, 0x76, 0x38, 0x2e, 0x47, 0x65, 0x74, 0x43, 0x75, 0x72, 0x72, 0x65, 0x6e, 0x74, 0x4c, + 0x6f, 0x77, 0x65, 0x73, 0x74, 0x46, 0x6f, 0x72, 0x65, 0x63, 0x61, 0x73, 0x74, 0x65, 0x72, 0x53, + 0x63, 0x6f, 0x72, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x35, 0x2e, 0x65, 0x6d, + 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x38, 0x2e, 0x47, 0x65, 0x74, 0x43, 0x75, + 0x72, 0x72, 0x65, 0x6e, 0x74, 0x4c, 0x6f, 0x77, 0x65, 0x73, 0x74, 0x46, 0x6f, 0x72, 0x65, 0x63, + 0x61, 0x73, 0x74, 0x65, 0x72, 0x53, 0x63, 0x6f, 0x72, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, + 0x73, 0x65, 0x22, 0x45, 0x88, 0xe7, 0xb0, 0x2a, 0x01, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x3a, 0x12, + 0x38, 0x2f, 0x65, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x76, 0x38, 0x2f, 0x63, + 0x75, 0x72, 0x72, 0x65, 0x6e, 0x74, 0x5f, 0x6c, 0x6f, 0x77, 0x65, 0x73, 0x74, 0x5f, 0x66, 0x6f, + 0x72, 0x65, 0x63, 0x61, 0x73, 0x74, 0x65, 0x72, 0x5f, 0x73, 0x63, 0x6f, 0x72, 0x65, 0x2f, 0x7b, + 0x74, 0x6f, 0x70, 0x69, 0x63, 0x5f, 0x69, 0x64, 0x7d, 0x12, 0xc8, 0x01, 0x0a, 0x18, 0x47, 0x65, + 0x74, 0x52, 0x65, 0x70, 0x75, 0x74, 0x65, 0x72, 0x73, 0x53, 0x63, 0x6f, 0x72, 0x65, 0x73, 0x41, + 0x74, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x12, 0x2d, 0x2e, 0x65, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, + 0x6e, 0x73, 0x2e, 0x76, 0x38, 0x2e, 0x47, 0x65, 0x74, 0x52, 0x65, 0x70, 0x75, 0x74, 0x65, 0x72, + 0x73, 0x53, 0x63, 0x6f, 0x72, 0x65, 0x73, 0x41, 0x74, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x52, 0x65, + 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2e, 0x2e, 0x65, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, + 0x73, 0x2e, 0x76, 0x38, 0x2e, 0x47, 0x65, 0x74, 0x52, 0x65, 0x70, 0x75, 0x74, 0x65, 0x72, 0x73, + 0x53, 0x63, 0x6f, 0x72, 0x65, 0x73, 0x41, 0x74, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x52, 0x65, 0x73, + 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x4d, 0x88, 0xe7, 0xb0, 0x2a, 0x01, 0x82, 0xd3, 0xe4, 0x93, + 0x02, 0x42, 0x12, 0x40, 0x2f, 0x65, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x76, + 0x38, 0x2f, 0x72, 0x65, 0x70, 0x75, 0x74, 0x65, 0x72, 0x73, 0x5f, 0x73, 0x63, 0x6f, 0x72, 0x65, + 0x73, 0x5f, 0x61, 0x74, 0x5f, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x2f, 0x7b, 0x74, 0x6f, 0x70, 0x69, + 0x63, 0x5f, 0x69, 0x64, 0x7d, 0x2f, 0x7b, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x5f, 0x68, 0x65, 0x69, + 0x67, 0x68, 0x74, 0x7d, 0x12, 0xc9, 0x01, 0x0a, 0x1c, 0x47, 0x65, 0x74, 0x43, 0x75, 0x72, 0x72, + 0x65, 0x6e, 0x74, 0x4c, 0x6f, 0x77, 0x65, 0x73, 0x74, 0x52, 0x65, 0x70, 0x75, 0x74, 0x65, 0x72, + 0x53, 0x63, 0x6f, 0x72, 0x65, 0x12, 0x31, 0x2e, 0x65, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, + 0x73, 0x2e, 0x76, 0x38, 0x2e, 0x47, 0x65, 0x74, 0x43, 0x75, 0x72, 0x72, 0x65, 0x6e, 0x74, 0x4c, + 0x6f, 0x77, 0x65, 0x73, 0x74, 0x52, 0x65, 0x70, 0x75, 0x74, 0x65, 0x72, 0x53, 0x63, 0x6f, 0x72, + 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x32, 0x2e, 0x65, 0x6d, 0x69, 0x73, 0x73, + 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x38, 0x2e, 0x47, 0x65, 0x74, 0x43, 0x75, 0x72, 0x72, 0x65, + 0x6e, 0x74, 0x4c, 0x6f, 0x77, 0x65, 0x73, 0x74, 0x52, 0x65, 0x70, 0x75, 0x74, 0x65, 0x72, 0x53, + 0x63, 0x6f, 0x72, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x42, 0x88, 0xe7, + 0xb0, 0x2a, 0x01, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x37, 0x12, 0x35, 0x2f, 0x65, 0x6d, 0x69, 0x73, + 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x76, 0x38, 0x2f, 0x63, 0x75, 0x72, 0x72, 0x65, 0x6e, 0x74, + 0x5f, 0x6c, 0x6f, 0x77, 0x65, 0x73, 0x74, 0x5f, 0x72, 0x65, 0x70, 0x75, 0x74, 0x65, 0x72, 0x5f, + 0x73, 0x63, 0x6f, 0x72, 0x65, 0x2f, 0x7b, 0x74, 0x6f, 0x70, 0x69, 0x63, 0x5f, 0x69, 0x64, 0x7d, + 0x12, 0xbd, 0x01, 0x0a, 0x17, 0x47, 0x65, 0x74, 0x4c, 0x69, 0x73, 0x74, 0x65, 0x6e, 0x69, 0x6e, + 0x67, 0x43, 0x6f, 0x65, 0x66, 0x66, 0x69, 0x63, 0x69, 0x65, 0x6e, 0x74, 0x12, 0x2c, 0x2e, 0x65, + 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x38, 0x2e, 0x47, 0x65, 0x74, 0x4c, + 0x69, 0x73, 0x74, 0x65, 0x6e, 0x69, 0x6e, 0x67, 0x43, 0x6f, 0x65, 0x66, 0x66, 0x69, 0x63, 0x69, + 0x65, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2d, 0x2e, 0x65, 0x6d, 0x69, + 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x38, 0x2e, 0x47, 0x65, 0x74, 0x4c, 0x69, 0x73, + 0x74, 0x65, 0x6e, 0x69, 0x6e, 0x67, 0x43, 0x6f, 0x65, 0x66, 0x66, 0x69, 0x63, 0x69, 0x65, 0x6e, + 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x45, 0x88, 0xe7, 0xb0, 0x2a, 0x01, + 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x3a, 0x12, 0x38, 0x2f, 0x65, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, + 0x6e, 0x73, 0x2f, 0x76, 0x38, 0x2f, 0x6c, 0x69, 0x73, 0x74, 0x65, 0x6e, 0x69, 0x6e, 0x67, 0x5f, + 0x63, 0x6f, 0x65, 0x66, 0x66, 0x69, 0x63, 0x69, 0x65, 0x6e, 0x74, 0x2f, 0x7b, 0x74, 0x6f, 0x70, + 0x69, 0x63, 0x5f, 0x69, 0x64, 0x7d, 0x2f, 0x7b, 0x72, 0x65, 0x70, 0x75, 0x74, 0x65, 0x72, 0x7d, + 0x12, 0xe3, 0x01, 0x0a, 0x20, 0x47, 0x65, 0x74, 0x50, 0x72, 0x65, 0x76, 0x69, 0x6f, 0x75, 0x73, + 0x52, 0x65, 0x70, 0x75, 0x74, 0x65, 0x72, 0x52, 0x65, 0x77, 0x61, 0x72, 0x64, 0x46, 0x72, 0x61, + 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x35, 0x2e, 0x65, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, + 0x73, 0x2e, 0x76, 0x38, 0x2e, 0x47, 0x65, 0x74, 0x50, 0x72, 0x65, 0x76, 0x69, 0x6f, 0x75, 0x73, + 0x52, 0x65, 0x70, 0x75, 0x74, 0x65, 0x72, 0x52, 0x65, 0x77, 0x61, 0x72, 0x64, 0x46, 0x72, 0x61, + 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x36, 0x2e, 0x65, + 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x38, 0x2e, 0x47, 0x65, 0x74, 0x50, + 0x72, 0x65, 0x76, 0x69, 0x6f, 0x75, 0x73, 0x52, 0x65, 0x70, 0x75, 0x74, 0x65, 0x72, 0x52, 0x65, + 0x77, 0x61, 0x72, 0x64, 0x46, 0x72, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, + 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x50, 0x88, 0xe7, 0xb0, 0x2a, 0x01, 0x82, 0xd3, 0xe4, 0x93, 0x02, + 0x45, 0x12, 0x43, 0x2f, 0x65, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x76, 0x38, + 0x2f, 0x70, 0x72, 0x65, 0x76, 0x69, 0x6f, 0x75, 0x73, 0x5f, 0x72, 0x65, 0x70, 0x75, 0x74, 0x65, + 0x72, 0x5f, 0x72, 0x65, 0x77, 0x61, 0x72, 0x64, 0x5f, 0x66, 0x72, 0x61, 0x63, 0x74, 0x69, 0x6f, + 0x6e, 0x2f, 0x7b, 0x74, 0x6f, 0x70, 0x69, 0x63, 0x5f, 0x69, 0x64, 0x7d, 0x2f, 0x7b, 0x72, 0x65, + 0x70, 0x75, 0x74, 0x65, 0x72, 0x7d, 0x12, 0xea, 0x01, 0x0a, 0x22, 0x47, 0x65, 0x74, 0x50, 0x72, + 0x65, 0x76, 0x69, 0x6f, 0x75, 0x73, 0x49, 0x6e, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x52, + 0x65, 0x77, 0x61, 0x72, 0x64, 0x46, 0x72, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x37, 0x2e, + 0x65, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x38, 0x2e, 0x47, 0x65, 0x74, + 0x50, 0x72, 0x65, 0x76, 0x69, 0x6f, 0x75, 0x73, 0x49, 0x6e, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, + 0x65, 0x52, 0x65, 0x77, 0x61, 0x72, 0x64, 0x46, 0x72, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52, + 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x38, 0x2e, 0x65, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, + 0x6e, 0x73, 0x2e, 0x76, 0x38, 0x2e, 0x47, 0x65, 0x74, 0x50, 0x72, 0x65, 0x76, 0x69, 0x6f, 0x75, + 0x73, 0x49, 0x6e, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x52, 0x65, 0x77, 0x61, 0x72, 0x64, + 0x46, 0x72, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, + 0x22, 0x51, 0x88, 0xe7, 0xb0, 0x2a, 0x01, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x46, 0x12, 0x44, 0x2f, + 0x65, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x76, 0x38, 0x2f, 0x70, 0x72, 0x65, + 0x76, 0x69, 0x6f, 0x75, 0x73, 0x5f, 0x69, 0x6e, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x5f, + 0x72, 0x65, 0x77, 0x61, 0x72, 0x64, 0x5f, 0x66, 0x72, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x2f, + 0x7b, 0x74, 0x6f, 0x70, 0x69, 0x63, 0x5f, 0x69, 0x64, 0x7d, 0x2f, 0x7b, 0x77, 0x6f, 0x72, 0x6b, + 0x65, 0x72, 0x7d, 0x12, 0xe6, 0x01, 0x0a, 0x21, 0x47, 0x65, 0x74, 0x50, 0x72, 0x65, 0x76, 0x69, + 0x6f, 0x75, 0x73, 0x46, 0x6f, 0x72, 0x65, 0x63, 0x61, 0x73, 0x74, 0x52, 0x65, 0x77, 0x61, 0x72, + 0x64, 0x46, 0x72, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x36, 0x2e, 0x65, 0x6d, 0x69, 0x73, + 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x38, 0x2e, 0x47, 0x65, 0x74, 0x50, 0x72, 0x65, 0x76, + 0x69, 0x6f, 0x75, 0x73, 0x46, 0x6f, 0x72, 0x65, 0x63, 0x61, 0x73, 0x74, 0x52, 0x65, 0x77, 0x61, + 0x72, 0x64, 0x46, 0x72, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, + 0x74, 0x1a, 0x37, 0x2e, 0x65, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x38, + 0x2e, 0x47, 0x65, 0x74, 0x50, 0x72, 0x65, 0x76, 0x69, 0x6f, 0x75, 0x73, 0x46, 0x6f, 0x72, 0x65, + 0x63, 0x61, 0x73, 0x74, 0x52, 0x65, 0x77, 0x61, 0x72, 0x64, 0x46, 0x72, 0x61, 0x63, 0x74, 0x69, + 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x50, 0x88, 0xe7, 0xb0, 0x2a, + 0x01, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x45, 0x12, 0x43, 0x2f, 0x65, 0x6d, 0x69, 0x73, 0x73, 0x69, + 0x6f, 0x6e, 0x73, 0x2f, 0x76, 0x38, 0x2f, 0x70, 0x72, 0x65, 0x76, 0x69, 0x6f, 0x75, 0x73, 0x5f, + 0x66, 0x6f, 0x72, 0x65, 0x63, 0x61, 0x73, 0x74, 0x5f, 0x72, 0x65, 0x77, 0x61, 0x72, 0x64, 0x5f, + 0x66, 0x72, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x2f, 0x7b, 0x74, 0x6f, 0x70, 0x69, 0x63, 0x5f, + 0x69, 0x64, 0x7d, 0x2f, 0x7b, 0x77, 0x6f, 0x72, 0x6b, 0x65, 0x72, 0x7d, 0x12, 0xfc, 0x01, 0x0a, + 0x2b, 0x47, 0x65, 0x74, 0x50, 0x72, 0x65, 0x76, 0x69, 0x6f, 0x75, 0x73, 0x50, 0x65, 0x72, 0x63, + 0x65, 0x6e, 0x74, 0x61, 0x67, 0x65, 0x52, 0x65, 0x77, 0x61, 0x72, 0x64, 0x54, 0x6f, 0x53, 0x74, + 0x61, 0x6b, 0x65, 0x64, 0x52, 0x65, 0x70, 0x75, 0x74, 0x65, 0x72, 0x73, 0x12, 0x40, 0x2e, 0x65, + 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x38, 0x2e, 0x47, 0x65, 0x74, 0x50, + 0x72, 0x65, 0x76, 0x69, 0x6f, 0x75, 0x73, 0x50, 0x65, 0x72, 0x63, 0x65, 0x6e, 0x74, 0x61, 0x67, + 0x65, 0x52, 0x65, 0x77, 0x61, 0x72, 0x64, 0x54, 0x6f, 0x53, 0x74, 0x61, 0x6b, 0x65, 0x64, 0x52, + 0x65, 0x70, 0x75, 0x74, 0x65, 0x72, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x41, + 0x2e, 0x65, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x38, 0x2e, 0x47, 0x65, + 0x74, 0x50, 0x72, 0x65, 0x76, 0x69, 0x6f, 0x75, 0x73, 0x50, 0x65, 0x72, 0x63, 0x65, 0x6e, 0x74, + 0x61, 0x67, 0x65, 0x52, 0x65, 0x77, 0x61, 0x72, 0x64, 0x54, 0x6f, 0x53, 0x74, 0x61, 0x6b, 0x65, + 0x64, 0x52, 0x65, 0x70, 0x75, 0x74, 0x65, 0x72, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, + 0x65, 0x22, 0x48, 0x88, 0xe7, 0xb0, 0x2a, 0x01, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x3d, 0x12, 0x3b, + 0x2f, 0x65, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x76, 0x38, 0x2f, 0x70, 0x72, + 0x65, 0x76, 0x69, 0x6f, 0x75, 0x73, 0x5f, 0x70, 0x65, 0x72, 0x63, 0x65, 0x6e, 0x74, 0x61, 0x67, + 0x65, 0x5f, 0x72, 0x65, 0x77, 0x61, 0x72, 0x64, 0x5f, 0x74, 0x6f, 0x5f, 0x73, 0x74, 0x61, 0x6b, + 0x65, 0x64, 0x5f, 0x72, 0x65, 0x70, 0x75, 0x74, 0x65, 0x72, 0x73, 0x12, 0xb6, 0x01, 0x0a, 0x1a, + 0x47, 0x65, 0x74, 0x54, 0x6f, 0x74, 0x61, 0x6c, 0x52, 0x65, 0x77, 0x61, 0x72, 0x64, 0x54, 0x6f, + 0x44, 0x69, 0x73, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x12, 0x2f, 0x2e, 0x65, 0x6d, 0x69, + 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x38, 0x2e, 0x47, 0x65, 0x74, 0x54, 0x6f, 0x74, + 0x61, 0x6c, 0x52, 0x65, 0x77, 0x61, 0x72, 0x64, 0x54, 0x6f, 0x44, 0x69, 0x73, 0x74, 0x72, 0x69, + 0x62, 0x75, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x30, 0x2e, 0x65, 0x6d, + 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x38, 0x2e, 0x47, 0x65, 0x74, 0x54, 0x6f, + 0x74, 0x61, 0x6c, 0x52, 0x65, 0x77, 0x61, 0x72, 0x64, 0x54, 0x6f, 0x44, 0x69, 0x73, 0x74, 0x72, + 0x69, 0x62, 0x75, 0x74, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x35, 0x88, + 0xe7, 0xb0, 0x2a, 0x01, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x2a, 0x12, 0x28, 0x2f, 0x65, 0x6d, 0x69, + 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x76, 0x38, 0x2f, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x5f, + 0x72, 0x65, 0x77, 0x61, 0x72, 0x64, 0x5f, 0x74, 0x6f, 0x5f, 0x64, 0x69, 0x73, 0x74, 0x72, 0x69, + 0x62, 0x75, 0x74, 0x65, 0x12, 0xbf, 0x01, 0x0a, 0x1c, 0x47, 0x65, 0x74, 0x4e, 0x61, 0x69, 0x76, + 0x65, 0x49, 0x6e, 0x66, 0x65, 0x72, 0x65, 0x72, 0x4e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x52, + 0x65, 0x67, 0x72, 0x65, 0x74, 0x12, 0x31, 0x2e, 0x65, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, + 0x73, 0x2e, 0x76, 0x38, 0x2e, 0x47, 0x65, 0x74, 0x4e, 0x61, 0x69, 0x76, 0x65, 0x49, 0x6e, 0x66, + 0x65, 0x72, 0x65, 0x72, 0x4e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x52, 0x65, 0x67, 0x72, 0x65, + 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x32, 0x2e, 0x65, 0x6d, 0x69, 0x73, 0x73, + 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x38, 0x2e, 0x47, 0x65, 0x74, 0x4e, 0x61, 0x69, 0x76, 0x65, + 0x49, 0x6e, 0x66, 0x65, 0x72, 0x65, 0x72, 0x4e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x52, 0x65, + 0x67, 0x72, 0x65, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x38, 0x88, 0xe7, + 0xb0, 0x2a, 0x01, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x2d, 0x12, 0x2b, 0x2f, 0x65, 0x6d, 0x69, 0x73, + 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x76, 0x38, 0x2f, 0x6e, 0x61, 0x74, 0x69, 0x76, 0x65, 0x5f, + 0x69, 0x6e, 0x66, 0x65, 0x72, 0x65, 0x72, 0x5f, 0x6e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x5f, + 0x72, 0x65, 0x67, 0x72, 0x65, 0x74, 0x12, 0xe0, 0x01, 0x0a, 0x24, 0x47, 0x65, 0x74, 0x4f, 0x6e, + 0x65, 0x4f, 0x75, 0x74, 0x49, 0x6e, 0x66, 0x65, 0x72, 0x65, 0x72, 0x49, 0x6e, 0x66, 0x65, 0x72, + 0x65, 0x72, 0x4e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x52, 0x65, 0x67, 0x72, 0x65, 0x74, 0x12, + 0x39, 0x2e, 0x65, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x38, 0x2e, 0x47, + 0x65, 0x74, 0x4f, 0x6e, 0x65, 0x4f, 0x75, 0x74, 0x49, 0x6e, 0x66, 0x65, 0x72, 0x65, 0x72, 0x49, + 0x6e, 0x66, 0x65, 0x72, 0x65, 0x72, 0x4e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x52, 0x65, 0x67, + 0x72, 0x65, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x3a, 0x2e, 0x65, 0x6d, 0x69, + 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x38, 0x2e, 0x47, 0x65, 0x74, 0x4f, 0x6e, 0x65, + 0x4f, 0x75, 0x74, 0x49, 0x6e, 0x66, 0x65, 0x72, 0x65, 0x72, 0x49, 0x6e, 0x66, 0x65, 0x72, 0x65, + 0x72, 0x4e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x52, 0x65, 0x67, 0x72, 0x65, 0x74, 0x52, 0x65, + 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x41, 0x88, 0xe7, 0xb0, 0x2a, 0x01, 0x82, 0xd3, 0xe4, + 0x93, 0x02, 0x36, 0x12, 0x34, 0x2f, 0x65, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2f, + 0x76, 0x38, 0x2f, 0x6f, 0x6e, 0x65, 0x5f, 0x6f, 0x75, 0x74, 0x5f, 0x69, 0x6e, 0x66, 0x65, 0x72, + 0x65, 0x72, 0x5f, 0x69, 0x6e, 0x66, 0x65, 0x72, 0x65, 0x72, 0x5f, 0x6e, 0x65, 0x74, 0x77, 0x6f, + 0x72, 0x6b, 0x5f, 0x72, 0x65, 0x67, 0x72, 0x65, 0x74, 0x12, 0xec, 0x01, 0x0a, 0x27, 0x47, 0x65, + 0x74, 0x4f, 0x6e, 0x65, 0x4f, 0x75, 0x74, 0x49, 0x6e, 0x66, 0x65, 0x72, 0x65, 0x72, 0x46, 0x6f, + 0x72, 0x65, 0x63, 0x61, 0x73, 0x74, 0x65, 0x72, 0x4e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x52, + 0x65, 0x67, 0x72, 0x65, 0x74, 0x12, 0x3c, 0x2e, 0x65, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, + 0x73, 0x2e, 0x76, 0x38, 0x2e, 0x47, 0x65, 0x74, 0x4f, 0x6e, 0x65, 0x4f, 0x75, 0x74, 0x49, 0x6e, + 0x66, 0x65, 0x72, 0x65, 0x72, 0x46, 0x6f, 0x72, 0x65, 0x63, 0x61, 0x73, 0x74, 0x65, 0x72, 0x4e, + 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x52, 0x65, 0x67, 0x72, 0x65, 0x74, 0x52, 0x65, 0x71, 0x75, + 0x65, 0x73, 0x74, 0x1a, 0x3d, 0x2e, 0x65, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2e, + 0x76, 0x38, 0x2e, 0x47, 0x65, 0x74, 0x4f, 0x6e, 0x65, 0x4f, 0x75, 0x74, 0x49, 0x6e, 0x66, 0x65, + 0x72, 0x65, 0x72, 0x46, 0x6f, 0x72, 0x65, 0x63, 0x61, 0x73, 0x74, 0x65, 0x72, 0x4e, 0x65, 0x74, + 0x77, 0x6f, 0x72, 0x6b, 0x52, 0x65, 0x67, 0x72, 0x65, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, + 0x73, 0x65, 0x22, 0x44, 0x88, 0xe7, 0xb0, 0x2a, 0x01, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x39, 0x12, + 0x37, 0x2f, 0x65, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x76, 0x38, 0x2f, 0x6f, + 0x6e, 0x65, 0x5f, 0x6f, 0x75, 0x74, 0x5f, 0x69, 0x6e, 0x66, 0x65, 0x72, 0x65, 0x72, 0x5f, 0x66, + 0x6f, 0x72, 0x65, 0x63, 0x61, 0x73, 0x74, 0x65, 0x72, 0x5f, 0x6e, 0x65, 0x74, 0x77, 0x6f, 0x72, + 0x6b, 0x5f, 0x72, 0x65, 0x67, 0x72, 0x65, 0x74, 0x12, 0xec, 0x01, 0x0a, 0x27, 0x47, 0x65, 0x74, + 0x4f, 0x6e, 0x65, 0x4f, 0x75, 0x74, 0x46, 0x6f, 0x72, 0x65, 0x63, 0x61, 0x73, 0x74, 0x65, 0x72, + 0x49, 0x6e, 0x66, 0x65, 0x72, 0x65, 0x72, 0x4e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x52, 0x65, + 0x67, 0x72, 0x65, 0x74, 0x12, 0x3c, 0x2e, 0x65, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, + 0x2e, 0x76, 0x38, 0x2e, 0x47, 0x65, 0x74, 0x4f, 0x6e, 0x65, 0x4f, 0x75, 0x74, 0x46, 0x6f, 0x72, + 0x65, 0x63, 0x61, 0x73, 0x74, 0x65, 0x72, 0x49, 0x6e, 0x66, 0x65, 0x72, 0x65, 0x72, 0x4e, 0x65, + 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x52, 0x65, 0x67, 0x72, 0x65, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, + 0x73, 0x74, 0x1a, 0x3d, 0x2e, 0x65, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, + 0x38, 0x2e, 0x47, 0x65, 0x74, 0x4f, 0x6e, 0x65, 0x4f, 0x75, 0x74, 0x46, 0x6f, 0x72, 0x65, 0x63, + 0x61, 0x73, 0x74, 0x65, 0x72, 0x49, 0x6e, 0x66, 0x65, 0x72, 0x65, 0x72, 0x4e, 0x65, 0x74, 0x77, + 0x6f, 0x72, 0x6b, 0x52, 0x65, 0x67, 0x72, 0x65, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, + 0x65, 0x22, 0x44, 0x88, 0xe7, 0xb0, 0x2a, 0x01, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x39, 0x12, 0x37, + 0x2f, 0x65, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x76, 0x38, 0x2f, 0x6f, 0x6e, + 0x65, 0x5f, 0x6f, 0x75, 0x74, 0x5f, 0x66, 0x6f, 0x72, 0x65, 0x63, 0x61, 0x73, 0x74, 0x65, 0x72, + 0x5f, 0x69, 0x6e, 0x66, 0x65, 0x72, 0x65, 0x72, 0x5f, 0x6e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, + 0x5f, 0x72, 0x65, 0x67, 0x72, 0x65, 0x74, 0x12, 0xf8, 0x01, 0x0a, 0x2a, 0x47, 0x65, 0x74, 0x4f, + 0x6e, 0x65, 0x4f, 0x75, 0x74, 0x46, 0x6f, 0x72, 0x65, 0x63, 0x61, 0x73, 0x74, 0x65, 0x72, 0x46, + 0x6f, 0x72, 0x65, 0x63, 0x61, 0x73, 0x74, 0x65, 0x72, 0x4e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, + 0x52, 0x65, 0x67, 0x72, 0x65, 0x74, 0x12, 0x3f, 0x2e, 0x65, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, + 0x6e, 0x73, 0x2e, 0x76, 0x38, 0x2e, 0x47, 0x65, 0x74, 0x4f, 0x6e, 0x65, 0x4f, 0x75, 0x74, 0x46, + 0x6f, 0x72, 0x65, 0x63, 0x61, 0x73, 0x74, 0x65, 0x72, 0x46, 0x6f, 0x72, 0x65, 0x63, 0x61, 0x73, + 0x74, 0x65, 0x72, 0x4e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x52, 0x65, 0x67, 0x72, 0x65, 0x74, + 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x40, 0x2e, 0x65, 0x6d, 0x69, 0x73, 0x73, 0x69, + 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x38, 0x2e, 0x47, 0x65, 0x74, 0x4f, 0x6e, 0x65, 0x4f, 0x75, 0x74, + 0x46, 0x6f, 0x72, 0x65, 0x63, 0x61, 0x73, 0x74, 0x65, 0x72, 0x46, 0x6f, 0x72, 0x65, 0x63, 0x61, + 0x73, 0x74, 0x65, 0x72, 0x4e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x52, 0x65, 0x67, 0x72, 0x65, + 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x47, 0x88, 0xe7, 0xb0, 0x2a, 0x01, + 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x3c, 0x12, 0x3a, 0x2f, 0x65, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, + 0x6e, 0x73, 0x2f, 0x76, 0x38, 0x2f, 0x6f, 0x6e, 0x65, 0x5f, 0x6f, 0x75, 0x74, 0x5f, 0x66, 0x6f, + 0x72, 0x65, 0x63, 0x61, 0x73, 0x74, 0x65, 0x72, 0x5f, 0x66, 0x6f, 0x72, 0x65, 0x63, 0x61, 0x73, + 0x74, 0x65, 0x72, 0x5f, 0x6e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x5f, 0x72, 0x65, 0x67, 0x72, + 0x65, 0x74, 0x12, 0xb5, 0x01, 0x0a, 0x16, 0x47, 0x65, 0x74, 0x41, 0x63, 0x74, 0x69, 0x76, 0x65, + 0x54, 0x6f, 0x70, 0x69, 0x63, 0x73, 0x41, 0x74, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x12, 0x2b, 0x2e, + 0x65, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x38, 0x2e, 0x47, 0x65, 0x74, + 0x41, 0x63, 0x74, 0x69, 0x76, 0x65, 0x54, 0x6f, 0x70, 0x69, 0x63, 0x73, 0x41, 0x74, 0x42, 0x6c, + 0x6f, 0x63, 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2c, 0x2e, 0x65, 0x6d, 0x69, + 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x38, 0x2e, 0x47, 0x65, 0x74, 0x41, 0x63, 0x74, + 0x69, 0x76, 0x65, 0x54, 0x6f, 0x70, 0x69, 0x63, 0x73, 0x41, 0x74, 0x42, 0x6c, 0x6f, 0x63, 0x6b, + 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x40, 0x88, 0xe7, 0xb0, 0x2a, 0x01, 0x82, + 0xd3, 0xe4, 0x93, 0x02, 0x35, 0x12, 0x33, 0x2f, 0x65, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, + 0x73, 0x2f, 0x76, 0x38, 0x2f, 0x61, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x74, 0x6f, 0x70, 0x69, + 0x63, 0x73, 0x5f, 0x61, 0x74, 0x5f, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x2f, 0x7b, 0x62, 0x6c, 0x6f, + 0x63, 0x6b, 0x5f, 0x68, 0x65, 0x69, 0x67, 0x68, 0x74, 0x7d, 0x12, 0xcf, 0x01, 0x0a, 0x1d, 0x47, + 0x65, 0x74, 0x4e, 0x65, 0x78, 0x74, 0x43, 0x68, 0x75, 0x72, 0x6e, 0x69, 0x6e, 0x67, 0x42, 0x6c, + 0x6f, 0x63, 0x6b, 0x42, 0x79, 0x54, 0x6f, 0x70, 0x69, 0x63, 0x49, 0x64, 0x12, 0x32, 0x2e, 0x65, + 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x38, 0x2e, 0x47, 0x65, 0x74, 0x4e, + 0x65, 0x78, 0x74, 0x43, 0x68, 0x75, 0x72, 0x6e, 0x69, 0x6e, 0x67, 0x42, 0x6c, 0x6f, 0x63, 0x6b, + 0x42, 0x79, 0x54, 0x6f, 0x70, 0x69, 0x63, 0x49, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, + 0x1a, 0x33, 0x2e, 0x65, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x38, 0x2e, + 0x47, 0x65, 0x74, 0x4e, 0x65, 0x78, 0x74, 0x43, 0x68, 0x75, 0x72, 0x6e, 0x69, 0x6e, 0x67, 0x42, + 0x6c, 0x6f, 0x63, 0x6b, 0x42, 0x79, 0x54, 0x6f, 0x70, 0x69, 0x63, 0x49, 0x64, 0x52, 0x65, 0x73, + 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x45, 0x88, 0xe7, 0xb0, 0x2a, 0x01, 0x82, 0xd3, 0xe4, 0x93, + 0x02, 0x3a, 0x12, 0x38, 0x2f, 0x65, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x76, + 0x38, 0x2f, 0x6e, 0x65, 0x78, 0x74, 0x5f, 0x63, 0x68, 0x75, 0x72, 0x6e, 0x69, 0x6e, 0x67, 0x5f, + 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x5f, 0x62, 0x79, 0x5f, 0x74, 0x6f, 0x70, 0x69, 0x63, 0x5f, 0x69, + 0x64, 0x2f, 0x7b, 0x74, 0x6f, 0x70, 0x69, 0x63, 0x5f, 0x69, 0x64, 0x7d, 0x12, 0xe4, 0x01, 0x0a, + 0x20, 0x47, 0x65, 0x74, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x49, 0x6e, 0x66, 0x65, 0x72, 0x65, 0x72, + 0x49, 0x6e, 0x63, 0x6c, 0x75, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x49, 0x6e, 0x54, 0x6f, 0x70, 0x69, + 0x63, 0x12, 0x35, 0x2e, 0x65, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x38, + 0x2e, 0x47, 0x65, 0x74, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x49, 0x6e, 0x66, 0x65, 0x72, 0x65, 0x72, + 0x49, 0x6e, 0x63, 0x6c, 0x75, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x49, 0x6e, 0x54, 0x6f, 0x70, 0x69, + 0x63, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x36, 0x2e, 0x65, 0x6d, 0x69, 0x73, 0x73, + 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x38, 0x2e, 0x47, 0x65, 0x74, 0x43, 0x6f, 0x75, 0x6e, 0x74, + 0x49, 0x6e, 0x66, 0x65, 0x72, 0x65, 0x72, 0x49, 0x6e, 0x63, 0x6c, 0x75, 0x73, 0x69, 0x6f, 0x6e, + 0x73, 0x49, 0x6e, 0x54, 0x6f, 0x70, 0x69, 0x63, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, + 0x22, 0x51, 0x88, 0xe7, 0xb0, 0x2a, 0x01, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x46, 0x12, 0x44, 0x2f, + 0x65, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x76, 0x38, 0x2f, 0x63, 0x6f, 0x75, + 0x6e, 0x74, 0x5f, 0x69, 0x6e, 0x66, 0x65, 0x72, 0x65, 0x72, 0x5f, 0x69, 0x6e, 0x63, 0x6c, 0x75, + 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x5f, 0x69, 0x6e, 0x5f, 0x74, 0x6f, 0x70, 0x69, 0x63, 0x2f, 0x7b, + 0x74, 0x6f, 0x70, 0x69, 0x63, 0x5f, 0x69, 0x64, 0x7d, 0x2f, 0x7b, 0x69, 0x6e, 0x66, 0x65, 0x72, + 0x65, 0x72, 0x7d, 0x12, 0xf3, 0x01, 0x0a, 0x23, 0x47, 0x65, 0x74, 0x43, 0x6f, 0x75, 0x6e, 0x74, + 0x46, 0x6f, 0x72, 0x65, 0x63, 0x61, 0x73, 0x74, 0x65, 0x72, 0x49, 0x6e, 0x63, 0x6c, 0x75, 0x73, + 0x69, 0x6f, 0x6e, 0x73, 0x49, 0x6e, 0x54, 0x6f, 0x70, 0x69, 0x63, 0x12, 0x38, 0x2e, 0x65, 0x6d, + 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x38, 0x2e, 0x47, 0x65, 0x74, 0x43, 0x6f, + 0x75, 0x6e, 0x74, 0x46, 0x6f, 0x72, 0x65, 0x63, 0x61, 0x73, 0x74, 0x65, 0x72, 0x49, 0x6e, 0x63, + 0x6c, 0x75, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x49, 0x6e, 0x54, 0x6f, 0x70, 0x69, 0x63, 0x52, 0x65, + 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x39, 0x2e, 0x65, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, + 0x73, 0x2e, 0x76, 0x38, 0x2e, 0x47, 0x65, 0x74, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x46, 0x6f, 0x72, + 0x65, 0x63, 0x61, 0x73, 0x74, 0x65, 0x72, 0x49, 0x6e, 0x63, 0x6c, 0x75, 0x73, 0x69, 0x6f, 0x6e, + 0x73, 0x49, 0x6e, 0x54, 0x6f, 0x70, 0x69, 0x63, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, + 0x22, 0x57, 0x88, 0xe7, 0xb0, 0x2a, 0x01, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x4c, 0x12, 0x4a, 0x2f, + 0x65, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x76, 0x38, 0x2f, 0x63, 0x6f, 0x75, + 0x6e, 0x74, 0x5f, 0x66, 0x6f, 0x72, 0x65, 0x63, 0x61, 0x73, 0x74, 0x65, 0x72, 0x5f, 0x69, 0x6e, + 0x63, 0x6c, 0x75, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x5f, 0x69, 0x6e, 0x5f, 0x74, 0x6f, 0x70, 0x69, + 0x63, 0x2f, 0x7b, 0x74, 0x6f, 0x70, 0x69, 0x63, 0x5f, 0x69, 0x64, 0x7d, 0x2f, 0x7b, 0x66, 0x6f, + 0x72, 0x65, 0x63, 0x61, 0x73, 0x74, 0x65, 0x72, 0x7d, 0x12, 0xb3, 0x01, 0x0a, 0x19, 0x47, 0x65, + 0x74, 0x41, 0x63, 0x74, 0x69, 0x76, 0x65, 0x52, 0x65, 0x70, 0x75, 0x74, 0x65, 0x72, 0x73, 0x46, + 0x6f, 0x72, 0x54, 0x6f, 0x70, 0x69, 0x63, 0x12, 0x2e, 0x2e, 0x65, 0x6d, 0x69, 0x73, 0x73, 0x69, + 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x38, 0x2e, 0x47, 0x65, 0x74, 0x41, 0x63, 0x74, 0x69, 0x76, 0x65, + 0x52, 0x65, 0x70, 0x75, 0x74, 0x65, 0x72, 0x73, 0x46, 0x6f, 0x72, 0x54, 0x6f, 0x70, 0x69, 0x63, + 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2f, 0x2e, 0x65, 0x6d, 0x69, 0x73, 0x73, 0x69, + 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x38, 0x2e, 0x47, 0x65, 0x74, 0x41, 0x63, 0x74, 0x69, 0x76, 0x65, + 0x52, 0x65, 0x70, 0x75, 0x74, 0x65, 0x72, 0x73, 0x46, 0x6f, 0x72, 0x54, 0x6f, 0x70, 0x69, 0x63, + 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x35, 0x88, 0xe7, 0xb0, 0x2a, 0x01, 0x82, + 0xd3, 0xe4, 0x93, 0x02, 0x2a, 0x12, 0x28, 0x2f, 0x65, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, + 0x73, 0x2f, 0x76, 0x38, 0x2f, 0x61, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x72, 0x65, 0x70, 0x75, + 0x74, 0x65, 0x72, 0x73, 0x2f, 0x7b, 0x74, 0x6f, 0x70, 0x69, 0x63, 0x5f, 0x69, 0x64, 0x7d, 0x12, + 0xbf, 0x01, 0x0a, 0x1c, 0x47, 0x65, 0x74, 0x41, 0x63, 0x74, 0x69, 0x76, 0x65, 0x46, 0x6f, 0x72, + 0x65, 0x63, 0x61, 0x73, 0x74, 0x65, 0x72, 0x73, 0x46, 0x6f, 0x72, 0x54, 0x6f, 0x70, 0x69, 0x63, + 0x12, 0x31, 0x2e, 0x65, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x38, 0x2e, + 0x47, 0x65, 0x74, 0x41, 0x63, 0x74, 0x69, 0x76, 0x65, 0x46, 0x6f, 0x72, 0x65, 0x63, 0x61, 0x73, + 0x74, 0x65, 0x72, 0x73, 0x46, 0x6f, 0x72, 0x54, 0x6f, 0x70, 0x69, 0x63, 0x52, 0x65, 0x71, 0x75, + 0x65, 0x73, 0x74, 0x1a, 0x32, 0x2e, 0x65, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2e, + 0x76, 0x38, 0x2e, 0x47, 0x65, 0x74, 0x41, 0x63, 0x74, 0x69, 0x76, 0x65, 0x46, 0x6f, 0x72, 0x65, + 0x63, 0x61, 0x73, 0x74, 0x65, 0x72, 0x73, 0x46, 0x6f, 0x72, 0x54, 0x6f, 0x70, 0x69, 0x63, 0x52, + 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x38, 0x88, 0xe7, 0xb0, 0x2a, 0x01, 0x82, 0xd3, + 0xe4, 0x93, 0x02, 0x2d, 0x12, 0x2b, 0x2f, 0x65, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, + 0x2f, 0x76, 0x38, 0x2f, 0x61, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x66, 0x6f, 0x72, 0x65, 0x63, + 0x61, 0x73, 0x74, 0x65, 0x72, 0x73, 0x2f, 0x7b, 0x74, 0x6f, 0x70, 0x69, 0x63, 0x5f, 0x69, 0x64, + 0x7d, 0x12, 0xb3, 0x01, 0x0a, 0x19, 0x47, 0x65, 0x74, 0x41, 0x63, 0x74, 0x69, 0x76, 0x65, 0x49, + 0x6e, 0x66, 0x65, 0x72, 0x65, 0x72, 0x73, 0x46, 0x6f, 0x72, 0x54, 0x6f, 0x70, 0x69, 0x63, 0x12, + 0x2e, 0x2e, 0x65, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x38, 0x2e, 0x47, + 0x65, 0x74, 0x41, 0x63, 0x74, 0x69, 0x76, 0x65, 0x49, 0x6e, 0x66, 0x65, 0x72, 0x65, 0x72, 0x73, + 0x46, 0x6f, 0x72, 0x54, 0x6f, 0x70, 0x69, 0x63, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, + 0x2f, 0x2e, 0x65, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x38, 0x2e, 0x47, + 0x65, 0x74, 0x41, 0x63, 0x74, 0x69, 0x76, 0x65, 0x49, 0x6e, 0x66, 0x65, 0x72, 0x65, 0x72, 0x73, + 0x46, 0x6f, 0x72, 0x54, 0x6f, 0x70, 0x69, 0x63, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, + 0x22, 0x35, 0x88, 0xe7, 0xb0, 0x2a, 0x01, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x2a, 0x12, 0x28, 0x2f, + 0x65, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x76, 0x38, 0x2f, 0x61, 0x63, 0x74, + 0x69, 0x76, 0x65, 0x5f, 0x69, 0x6e, 0x66, 0x65, 0x72, 0x65, 0x72, 0x73, 0x2f, 0x7b, 0x74, 0x6f, + 0x70, 0x69, 0x63, 0x5f, 0x69, 0x64, 0x7d, 0x12, 0xbf, 0x01, 0x0a, 0x19, 0x49, 0x73, 0x57, 0x68, + 0x69, 0x74, 0x65, 0x6c, 0x69, 0x73, 0x74, 0x65, 0x64, 0x47, 0x6c, 0x6f, 0x62, 0x61, 0x6c, 0x57, + 0x6f, 0x72, 0x6b, 0x65, 0x72, 0x12, 0x2e, 0x2e, 0x65, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, + 0x73, 0x2e, 0x76, 0x38, 0x2e, 0x49, 0x73, 0x57, 0x68, 0x69, 0x74, 0x65, 0x6c, 0x69, 0x73, 0x74, + 0x65, 0x64, 0x47, 0x6c, 0x6f, 0x62, 0x61, 0x6c, 0x57, 0x6f, 0x72, 0x6b, 0x65, 0x72, 0x52, 0x65, + 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2f, 0x2e, 0x65, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, + 0x73, 0x2e, 0x76, 0x38, 0x2e, 0x49, 0x73, 0x57, 0x68, 0x69, 0x74, 0x65, 0x6c, 0x69, 0x73, 0x74, + 0x65, 0x64, 0x47, 0x6c, 0x6f, 0x62, 0x61, 0x6c, 0x57, 0x6f, 0x72, 0x6b, 0x65, 0x72, 0x52, 0x65, + 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x41, 0x88, 0xe7, 0xb0, 0x2a, 0x01, 0x82, 0xd3, 0xe4, + 0x93, 0x02, 0x36, 0x12, 0x34, 0x2f, 0x65, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2f, + 0x76, 0x38, 0x2f, 0x69, 0x73, 0x5f, 0x77, 0x68, 0x69, 0x74, 0x65, 0x6c, 0x69, 0x73, 0x74, 0x65, + 0x64, 0x5f, 0x67, 0x6c, 0x6f, 0x62, 0x61, 0x6c, 0x5f, 0x77, 0x6f, 0x72, 0x6b, 0x65, 0x72, 0x2f, + 0x7b, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x7d, 0x12, 0xc3, 0x01, 0x0a, 0x1a, 0x49, 0x73, + 0x57, 0x68, 0x69, 0x74, 0x65, 0x6c, 0x69, 0x73, 0x74, 0x65, 0x64, 0x47, 0x6c, 0x6f, 0x62, 0x61, + 0x6c, 0x52, 0x65, 0x70, 0x75, 0x74, 0x65, 0x72, 0x12, 0x2f, 0x2e, 0x65, 0x6d, 0x69, 0x73, 0x73, + 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x38, 0x2e, 0x49, 0x73, 0x57, 0x68, 0x69, 0x74, 0x65, 0x6c, + 0x69, 0x73, 0x74, 0x65, 0x64, 0x47, 0x6c, 0x6f, 0x62, 0x61, 0x6c, 0x52, 0x65, 0x70, 0x75, 0x74, + 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x30, 0x2e, 0x65, 0x6d, 0x69, 0x73, + 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x38, 0x2e, 0x49, 0x73, 0x57, 0x68, 0x69, 0x74, 0x65, + 0x6c, 0x69, 0x73, 0x74, 0x65, 0x64, 0x47, 0x6c, 0x6f, 0x62, 0x61, 0x6c, 0x52, 0x65, 0x70, 0x75, + 0x74, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x42, 0x88, 0xe7, 0xb0, + 0x2a, 0x01, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x37, 0x12, 0x35, 0x2f, 0x65, 0x6d, 0x69, 0x73, 0x73, + 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x76, 0x38, 0x2f, 0x69, 0x73, 0x5f, 0x77, 0x68, 0x69, 0x74, 0x65, + 0x6c, 0x69, 0x73, 0x74, 0x65, 0x64, 0x5f, 0x67, 0x6c, 0x6f, 0x62, 0x61, 0x6c, 0x5f, 0x72, 0x65, + 0x70, 0x75, 0x74, 0x65, 0x72, 0x2f, 0x7b, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x7d, 0x12, + 0xbb, 0x01, 0x0a, 0x18, 0x49, 0x73, 0x57, 0x68, 0x69, 0x74, 0x65, 0x6c, 0x69, 0x73, 0x74, 0x65, + 0x64, 0x47, 0x6c, 0x6f, 0x62, 0x61, 0x6c, 0x41, 0x64, 0x6d, 0x69, 0x6e, 0x12, 0x2d, 0x2e, 0x65, + 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x38, 0x2e, 0x49, 0x73, 0x57, 0x68, + 0x69, 0x74, 0x65, 0x6c, 0x69, 0x73, 0x74, 0x65, 0x64, 0x47, 0x6c, 0x6f, 0x62, 0x61, 0x6c, 0x41, + 0x64, 0x6d, 0x69, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2e, 0x2e, 0x65, 0x6d, + 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x38, 0x2e, 0x49, 0x73, 0x57, 0x68, 0x69, + 0x74, 0x65, 0x6c, 0x69, 0x73, 0x74, 0x65, 0x64, 0x47, 0x6c, 0x6f, 0x62, 0x61, 0x6c, 0x41, 0x64, + 0x6d, 0x69, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x40, 0x88, 0xe7, 0xb0, + 0x2a, 0x01, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x35, 0x12, 0x33, 0x2f, 0x65, 0x6d, 0x69, 0x73, 0x73, + 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x76, 0x38, 0x2f, 0x69, 0x73, 0x5f, 0x77, 0x68, 0x69, 0x74, 0x65, + 0x6c, 0x69, 0x73, 0x74, 0x65, 0x64, 0x5f, 0x67, 0x6c, 0x6f, 0x62, 0x61, 0x6c, 0x5f, 0x61, 0x64, + 0x6d, 0x69, 0x6e, 0x2f, 0x7b, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x7d, 0x12, 0xd1, 0x01, + 0x0a, 0x1d, 0x49, 0x73, 0x54, 0x6f, 0x70, 0x69, 0x63, 0x57, 0x6f, 0x72, 0x6b, 0x65, 0x72, 0x57, + 0x68, 0x69, 0x74, 0x65, 0x6c, 0x69, 0x73, 0x74, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x12, + 0x32, 0x2e, 0x65, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x38, 0x2e, 0x49, + 0x73, 0x54, 0x6f, 0x70, 0x69, 0x63, 0x57, 0x6f, 0x72, 0x6b, 0x65, 0x72, 0x57, 0x68, 0x69, 0x74, + 0x65, 0x6c, 0x69, 0x73, 0x74, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x52, 0x65, 0x71, 0x75, + 0x65, 0x73, 0x74, 0x1a, 0x33, 0x2e, 0x65, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2e, + 0x76, 0x38, 0x2e, 0x49, 0x73, 0x54, 0x6f, 0x70, 0x69, 0x63, 0x57, 0x6f, 0x72, 0x6b, 0x65, 0x72, + 0x57, 0x68, 0x69, 0x74, 0x65, 0x6c, 0x69, 0x73, 0x74, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, + 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x47, 0x88, 0xe7, 0xb0, 0x2a, 0x01, 0x82, + 0xd3, 0xe4, 0x93, 0x02, 0x3c, 0x12, 0x3a, 0x2f, 0x65, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, + 0x73, 0x2f, 0x76, 0x38, 0x2f, 0x69, 0x73, 0x5f, 0x74, 0x6f, 0x70, 0x69, 0x63, 0x5f, 0x77, 0x6f, + 0x72, 0x6b, 0x65, 0x72, 0x5f, 0x77, 0x68, 0x69, 0x74, 0x65, 0x6c, 0x69, 0x73, 0x74, 0x5f, 0x65, + 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x2f, 0x7b, 0x74, 0x6f, 0x70, 0x69, 0x63, 0x5f, 0x69, 0x64, + 0x7d, 0x12, 0xd5, 0x01, 0x0a, 0x1e, 0x49, 0x73, 0x54, 0x6f, 0x70, 0x69, 0x63, 0x52, 0x65, 0x70, + 0x75, 0x74, 0x65, 0x72, 0x57, 0x68, 0x69, 0x74, 0x65, 0x6c, 0x69, 0x73, 0x74, 0x45, 0x6e, 0x61, + 0x62, 0x6c, 0x65, 0x64, 0x12, 0x33, 0x2e, 0x65, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, + 0x2e, 0x76, 0x38, 0x2e, 0x49, 0x73, 0x54, 0x6f, 0x70, 0x69, 0x63, 0x52, 0x65, 0x70, 0x75, 0x74, + 0x65, 0x72, 0x57, 0x68, 0x69, 0x74, 0x65, 0x6c, 0x69, 0x73, 0x74, 0x45, 0x6e, 0x61, 0x62, 0x6c, + 0x65, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x34, 0x2e, 0x65, 0x6d, 0x69, 0x73, + 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x38, 0x2e, 0x49, 0x73, 0x54, 0x6f, 0x70, 0x69, 0x63, + 0x52, 0x65, 0x70, 0x75, 0x74, 0x65, 0x72, 0x57, 0x68, 0x69, 0x74, 0x65, 0x6c, 0x69, 0x73, 0x74, + 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, + 0x48, 0x88, 0xe7, 0xb0, 0x2a, 0x01, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x3d, 0x12, 0x3b, 0x2f, 0x65, + 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x76, 0x38, 0x2f, 0x69, 0x73, 0x5f, 0x74, + 0x6f, 0x70, 0x69, 0x63, 0x5f, 0x72, 0x65, 0x70, 0x75, 0x74, 0x65, 0x72, 0x5f, 0x77, 0x68, 0x69, + 0x74, 0x65, 0x6c, 0x69, 0x73, 0x74, 0x5f, 0x65, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x2f, 0x7b, + 0x74, 0x6f, 0x70, 0x69, 0x63, 0x5f, 0x69, 0x64, 0x7d, 0x12, 0xbf, 0x01, 0x0a, 0x19, 0x49, 0x73, + 0x57, 0x68, 0x69, 0x74, 0x65, 0x6c, 0x69, 0x73, 0x74, 0x65, 0x64, 0x54, 0x6f, 0x70, 0x69, 0x63, + 0x43, 0x72, 0x65, 0x61, 0x74, 0x6f, 0x72, 0x12, 0x2e, 0x2e, 0x65, 0x6d, 0x69, 0x73, 0x73, 0x69, + 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x38, 0x2e, 0x49, 0x73, 0x57, 0x68, 0x69, 0x74, 0x65, 0x6c, 0x69, + 0x73, 0x74, 0x65, 0x64, 0x54, 0x6f, 0x70, 0x69, 0x63, 0x43, 0x72, 0x65, 0x61, 0x74, 0x6f, 0x72, + 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2f, 0x2e, 0x65, 0x6d, 0x69, 0x73, 0x73, 0x69, + 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x38, 0x2e, 0x49, 0x73, 0x57, 0x68, 0x69, 0x74, 0x65, 0x6c, 0x69, + 0x73, 0x74, 0x65, 0x64, 0x54, 0x6f, 0x70, 0x69, 0x63, 0x43, 0x72, 0x65, 0x61, 0x74, 0x6f, 0x72, + 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x41, 0x88, 0xe7, 0xb0, 0x2a, 0x01, 0x82, + 0xd3, 0xe4, 0x93, 0x02, 0x36, 0x12, 0x34, 0x2f, 0x65, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, + 0x73, 0x2f, 0x76, 0x38, 0x2f, 0x69, 0x73, 0x5f, 0x77, 0x68, 0x69, 0x74, 0x65, 0x6c, 0x69, 0x73, + 0x74, 0x65, 0x64, 0x5f, 0x74, 0x6f, 0x70, 0x69, 0x63, 0x5f, 0x63, 0x72, 0x65, 0x61, 0x74, 0x6f, + 0x72, 0x2f, 0x7b, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x7d, 0x12, 0xbb, 0x01, 0x0a, 0x18, + 0x49, 0x73, 0x57, 0x68, 0x69, 0x74, 0x65, 0x6c, 0x69, 0x73, 0x74, 0x65, 0x64, 0x47, 0x6c, 0x6f, + 0x62, 0x61, 0x6c, 0x41, 0x63, 0x74, 0x6f, 0x72, 0x12, 0x2d, 0x2e, 0x65, 0x6d, 0x69, 0x73, 0x73, + 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x38, 0x2e, 0x49, 0x73, 0x57, 0x68, 0x69, 0x74, 0x65, 0x6c, + 0x69, 0x73, 0x74, 0x65, 0x64, 0x47, 0x6c, 0x6f, 0x62, 0x61, 0x6c, 0x41, 0x63, 0x74, 0x6f, 0x72, + 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2e, 0x2e, 0x65, 0x6d, 0x69, 0x73, 0x73, 0x69, + 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x38, 0x2e, 0x49, 0x73, 0x57, 0x68, 0x69, 0x74, 0x65, 0x6c, 0x69, + 0x73, 0x74, 0x65, 0x64, 0x47, 0x6c, 0x6f, 0x62, 0x61, 0x6c, 0x41, 0x63, 0x74, 0x6f, 0x72, 0x52, + 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x40, 0x88, 0xe7, 0xb0, 0x2a, 0x01, 0x82, 0xd3, + 0xe4, 0x93, 0x02, 0x35, 0x12, 0x33, 0x2f, 0x65, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, + 0x2f, 0x76, 0x38, 0x2f, 0x69, 0x73, 0x5f, 0x77, 0x68, 0x69, 0x74, 0x65, 0x6c, 0x69, 0x73, 0x74, + 0x65, 0x64, 0x5f, 0x67, 0x6c, 0x6f, 0x62, 0x61, 0x6c, 0x5f, 0x61, 0x63, 0x74, 0x6f, 0x72, 0x2f, + 0x7b, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x7d, 0x12, 0xc6, 0x01, 0x0a, 0x18, 0x49, 0x73, + 0x57, 0x68, 0x69, 0x74, 0x65, 0x6c, 0x69, 0x73, 0x74, 0x65, 0x64, 0x54, 0x6f, 0x70, 0x69, 0x63, + 0x57, 0x6f, 0x72, 0x6b, 0x65, 0x72, 0x12, 0x2d, 0x2e, 0x65, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, + 0x6e, 0x73, 0x2e, 0x76, 0x38, 0x2e, 0x49, 0x73, 0x57, 0x68, 0x69, 0x74, 0x65, 0x6c, 0x69, 0x73, + 0x74, 0x65, 0x64, 0x54, 0x6f, 0x70, 0x69, 0x63, 0x57, 0x6f, 0x72, 0x6b, 0x65, 0x72, 0x52, 0x65, + 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2e, 0x2e, 0x65, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, + 0x73, 0x2e, 0x76, 0x38, 0x2e, 0x49, 0x73, 0x57, 0x68, 0x69, 0x74, 0x65, 0x6c, 0x69, 0x73, 0x74, + 0x65, 0x64, 0x54, 0x6f, 0x70, 0x69, 0x63, 0x57, 0x6f, 0x72, 0x6b, 0x65, 0x72, 0x52, 0x65, 0x73, + 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x4b, 0x88, 0xe7, 0xb0, 0x2a, 0x01, 0x82, 0xd3, 0xe4, 0x93, + 0x02, 0x40, 0x12, 0x3e, 0x2f, 0x65, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x76, + 0x38, 0x2f, 0x69, 0x73, 0x5f, 0x77, 0x68, 0x69, 0x74, 0x65, 0x6c, 0x69, 0x73, 0x74, 0x65, 0x64, + 0x5f, 0x74, 0x6f, 0x70, 0x69, 0x63, 0x5f, 0x77, 0x6f, 0x72, 0x6b, 0x65, 0x72, 0x2f, 0x7b, 0x74, + 0x6f, 0x70, 0x69, 0x63, 0x5f, 0x69, 0x64, 0x7d, 0x2f, 0x7b, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, + 0x73, 0x7d, 0x12, 0xca, 0x01, 0x0a, 0x19, 0x49, 0x73, 0x57, 0x68, 0x69, 0x74, 0x65, 0x6c, 0x69, + 0x73, 0x74, 0x65, 0x64, 0x54, 0x6f, 0x70, 0x69, 0x63, 0x52, 0x65, 0x70, 0x75, 0x74, 0x65, 0x72, + 0x12, 0x2e, 0x2e, 0x65, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x38, 0x2e, + 0x49, 0x73, 0x57, 0x68, 0x69, 0x74, 0x65, 0x6c, 0x69, 0x73, 0x74, 0x65, 0x64, 0x54, 0x6f, 0x70, + 0x69, 0x63, 0x52, 0x65, 0x70, 0x75, 0x74, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, + 0x1a, 0x2f, 0x2e, 0x65, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x38, 0x2e, + 0x49, 0x73, 0x57, 0x68, 0x69, 0x74, 0x65, 0x6c, 0x69, 0x73, 0x74, 0x65, 0x64, 0x54, 0x6f, 0x70, + 0x69, 0x63, 0x52, 0x65, 0x70, 0x75, 0x74, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, + 0x65, 0x22, 0x4c, 0x88, 0xe7, 0xb0, 0x2a, 0x01, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x41, 0x12, 0x3f, + 0x2f, 0x65, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x76, 0x38, 0x2f, 0x69, 0x73, + 0x5f, 0x77, 0x68, 0x69, 0x74, 0x65, 0x6c, 0x69, 0x73, 0x74, 0x65, 0x64, 0x5f, 0x74, 0x6f, 0x70, + 0x69, 0x63, 0x5f, 0x72, 0x65, 0x70, 0x75, 0x74, 0x65, 0x72, 0x2f, 0x7b, 0x74, 0x6f, 0x70, 0x69, + 0x63, 0x5f, 0x69, 0x64, 0x7d, 0x2f, 0x7b, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x7d, 0x12, + 0xcc, 0x01, 0x0a, 0x1c, 0x43, 0x61, 0x6e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x41, 0x6c, 0x6c, + 0x47, 0x6c, 0x6f, 0x62, 0x61, 0x6c, 0x57, 0x68, 0x69, 0x74, 0x65, 0x6c, 0x69, 0x73, 0x74, 0x73, + 0x12, 0x31, 0x2e, 0x65, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x38, 0x2e, + 0x43, 0x61, 0x6e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x41, 0x6c, 0x6c, 0x47, 0x6c, 0x6f, 0x62, + 0x61, 0x6c, 0x57, 0x68, 0x69, 0x74, 0x65, 0x6c, 0x69, 0x73, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, + 0x65, 0x73, 0x74, 0x1a, 0x32, 0x2e, 0x65, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2e, + 0x76, 0x38, 0x2e, 0x43, 0x61, 0x6e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x41, 0x6c, 0x6c, 0x47, + 0x6c, 0x6f, 0x62, 0x61, 0x6c, 0x57, 0x68, 0x69, 0x74, 0x65, 0x6c, 0x69, 0x73, 0x74, 0x73, 0x52, + 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x45, 0x88, 0xe7, 0xb0, 0x2a, 0x01, 0x82, 0xd3, + 0xe4, 0x93, 0x02, 0x3a, 0x12, 0x38, 0x2f, 0x65, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, + 0x2f, 0x76, 0x38, 0x2f, 0x63, 0x61, 0x6e, 0x5f, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x5f, 0x61, + 0x6c, 0x6c, 0x5f, 0x67, 0x6c, 0x6f, 0x62, 0x61, 0x6c, 0x5f, 0x77, 0x68, 0x69, 0x74, 0x65, 0x6c, + 0x69, 0x73, 0x74, 0x73, 0x2f, 0x7b, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x7d, 0x12, 0xd4, + 0x01, 0x0a, 0x1e, 0x43, 0x61, 0x6e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x47, 0x6c, 0x6f, 0x62, + 0x61, 0x6c, 0x57, 0x6f, 0x72, 0x6b, 0x65, 0x72, 0x57, 0x68, 0x69, 0x74, 0x65, 0x6c, 0x69, 0x73, + 0x74, 0x12, 0x33, 0x2e, 0x65, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x38, + 0x2e, 0x43, 0x61, 0x6e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x47, 0x6c, 0x6f, 0x62, 0x61, 0x6c, + 0x57, 0x6f, 0x72, 0x6b, 0x65, 0x72, 0x57, 0x68, 0x69, 0x74, 0x65, 0x6c, 0x69, 0x73, 0x74, 0x52, + 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x34, 0x2e, 0x65, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, + 0x6e, 0x73, 0x2e, 0x76, 0x38, 0x2e, 0x43, 0x61, 0x6e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x47, + 0x6c, 0x6f, 0x62, 0x61, 0x6c, 0x57, 0x6f, 0x72, 0x6b, 0x65, 0x72, 0x57, 0x68, 0x69, 0x74, 0x65, + 0x6c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x47, 0x88, 0xe7, + 0xb0, 0x2a, 0x01, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x3c, 0x12, 0x3a, 0x2f, 0x65, 0x6d, 0x69, 0x73, + 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x76, 0x38, 0x2f, 0x63, 0x61, 0x6e, 0x5f, 0x75, 0x70, 0x64, + 0x61, 0x74, 0x65, 0x5f, 0x67, 0x6c, 0x6f, 0x62, 0x61, 0x6c, 0x5f, 0x77, 0x6f, 0x72, 0x6b, 0x65, + 0x72, 0x5f, 0x77, 0x68, 0x69, 0x74, 0x65, 0x6c, 0x69, 0x73, 0x74, 0x2f, 0x7b, 0x61, 0x64, 0x64, + 0x72, 0x65, 0x73, 0x73, 0x7d, 0x12, 0xd8, 0x01, 0x0a, 0x1f, 0x43, 0x61, 0x6e, 0x55, 0x70, 0x64, + 0x61, 0x74, 0x65, 0x47, 0x6c, 0x6f, 0x62, 0x61, 0x6c, 0x52, 0x65, 0x70, 0x75, 0x74, 0x65, 0x72, + 0x57, 0x68, 0x69, 0x74, 0x65, 0x6c, 0x69, 0x73, 0x74, 0x12, 0x34, 0x2e, 0x65, 0x6d, 0x69, 0x73, + 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x38, 0x2e, 0x43, 0x61, 0x6e, 0x55, 0x70, 0x64, 0x61, + 0x74, 0x65, 0x47, 0x6c, 0x6f, 0x62, 0x61, 0x6c, 0x52, 0x65, 0x70, 0x75, 0x74, 0x65, 0x72, 0x57, + 0x68, 0x69, 0x74, 0x65, 0x6c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, + 0x35, 0x2e, 0x65, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x38, 0x2e, 0x43, + 0x61, 0x6e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x47, 0x6c, 0x6f, 0x62, 0x61, 0x6c, 0x52, 0x65, + 0x70, 0x75, 0x74, 0x65, 0x72, 0x57, 0x68, 0x69, 0x74, 0x65, 0x6c, 0x69, 0x73, 0x74, 0x52, 0x65, + 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x48, 0x88, 0xe7, 0xb0, 0x2a, 0x01, 0x82, 0xd3, 0xe4, + 0x93, 0x02, 0x3d, 0x12, 0x3b, 0x2f, 0x65, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2f, + 0x76, 0x38, 0x2f, 0x63, 0x61, 0x6e, 0x5f, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x5f, 0x67, 0x6c, + 0x6f, 0x62, 0x61, 0x6c, 0x5f, 0x72, 0x65, 0x70, 0x75, 0x74, 0x65, 0x72, 0x5f, 0x77, 0x68, 0x69, + 0x74, 0x65, 0x6c, 0x69, 0x73, 0x74, 0x2f, 0x7b, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x7d, + 0x12, 0x96, 0x01, 0x0a, 0x0f, 0x43, 0x61, 0x6e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x50, 0x61, + 0x72, 0x61, 0x6d, 0x73, 0x12, 0x24, 0x2e, 0x65, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, + 0x2e, 0x76, 0x38, 0x2e, 0x43, 0x61, 0x6e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x50, 0x61, 0x72, + 0x61, 0x6d, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x25, 0x2e, 0x65, 0x6d, 0x69, + 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x38, 0x2e, 0x43, 0x61, 0x6e, 0x55, 0x70, 0x64, + 0x61, 0x74, 0x65, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, + 0x65, 0x22, 0x36, 0x88, 0xe7, 0xb0, 0x2a, 0x01, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x2b, 0x12, 0x29, + 0x2f, 0x65, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x76, 0x38, 0x2f, 0x63, 0x61, + 0x6e, 0x5f, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x5f, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x2f, + 0x7b, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x7d, 0x12, 0xc2, 0x01, 0x0a, 0x17, 0x43, 0x61, + 0x6e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x54, 0x6f, 0x70, 0x69, 0x63, 0x57, 0x68, 0x69, 0x74, + 0x65, 0x6c, 0x69, 0x73, 0x74, 0x12, 0x2c, 0x2e, 0x65, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, + 0x73, 0x2e, 0x76, 0x38, 0x2e, 0x43, 0x61, 0x6e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x54, 0x6f, + 0x70, 0x69, 0x63, 0x57, 0x68, 0x69, 0x74, 0x65, 0x6c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x71, 0x75, + 0x65, 0x73, 0x74, 0x1a, 0x2d, 0x2e, 0x65, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2e, + 0x76, 0x38, 0x2e, 0x43, 0x61, 0x6e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x54, 0x6f, 0x70, 0x69, + 0x63, 0x57, 0x68, 0x69, 0x74, 0x65, 0x6c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, + 0x73, 0x65, 0x22, 0x4a, 0x88, 0xe7, 0xb0, 0x2a, 0x01, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x3f, 0x12, + 0x3d, 0x2f, 0x65, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x76, 0x38, 0x2f, 0x63, + 0x61, 0x6e, 0x5f, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x5f, 0x74, 0x6f, 0x70, 0x69, 0x63, 0x5f, + 0x77, 0x68, 0x69, 0x74, 0x65, 0x6c, 0x69, 0x73, 0x74, 0x2f, 0x7b, 0x74, 0x6f, 0x70, 0x69, 0x63, + 0x5f, 0x69, 0x64, 0x7d, 0x2f, 0x7b, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x7d, 0x12, 0x92, + 0x01, 0x0a, 0x0e, 0x43, 0x61, 0x6e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x54, 0x6f, 0x70, 0x69, + 0x63, 0x12, 0x23, 0x2e, 0x65, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x38, + 0x2e, 0x43, 0x61, 0x6e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x54, 0x6f, 0x70, 0x69, 0x63, 0x52, + 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x24, 0x2e, 0x65, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, + 0x6e, 0x73, 0x2e, 0x76, 0x38, 0x2e, 0x43, 0x61, 0x6e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x54, + 0x6f, 0x70, 0x69, 0x63, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x35, 0x88, 0xe7, + 0xb0, 0x2a, 0x01, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x2a, 0x12, 0x28, 0x2f, 0x65, 0x6d, 0x69, 0x73, + 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x76, 0x38, 0x2f, 0x63, 0x61, 0x6e, 0x5f, 0x63, 0x72, 0x65, + 0x61, 0x74, 0x65, 0x5f, 0x74, 0x6f, 0x70, 0x69, 0x63, 0x2f, 0x7b, 0x61, 0x64, 0x64, 0x72, 0x65, + 0x73, 0x73, 0x7d, 0x12, 0xbe, 0x01, 0x0a, 0x16, 0x43, 0x61, 0x6e, 0x53, 0x75, 0x62, 0x6d, 0x69, + 0x74, 0x57, 0x6f, 0x72, 0x6b, 0x65, 0x72, 0x50, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x12, 0x2b, + 0x2e, 0x65, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x38, 0x2e, 0x43, 0x61, + 0x6e, 0x53, 0x75, 0x62, 0x6d, 0x69, 0x74, 0x57, 0x6f, 0x72, 0x6b, 0x65, 0x72, 0x50, 0x61, 0x79, + 0x6c, 0x6f, 0x61, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2c, 0x2e, 0x65, 0x6d, + 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x38, 0x2e, 0x43, 0x61, 0x6e, 0x53, 0x75, + 0x62, 0x6d, 0x69, 0x74, 0x57, 0x6f, 0x72, 0x6b, 0x65, 0x72, 0x50, 0x61, 0x79, 0x6c, 0x6f, 0x61, + 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x49, 0x88, 0xe7, 0xb0, 0x2a, 0x01, + 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x3e, 0x12, 0x3c, 0x2f, 0x65, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, + 0x6e, 0x73, 0x2f, 0x76, 0x38, 0x2f, 0x63, 0x61, 0x6e, 0x5f, 0x73, 0x75, 0x62, 0x6d, 0x69, 0x74, + 0x5f, 0x77, 0x6f, 0x72, 0x6b, 0x65, 0x72, 0x5f, 0x70, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x2f, + 0x7b, 0x74, 0x6f, 0x70, 0x69, 0x63, 0x5f, 0x69, 0x64, 0x7d, 0x2f, 0x7b, 0x61, 0x64, 0x64, 0x72, + 0x65, 0x73, 0x73, 0x7d, 0x12, 0xc2, 0x01, 0x0a, 0x17, 0x43, 0x61, 0x6e, 0x53, 0x75, 0x62, 0x6d, + 0x69, 0x74, 0x52, 0x65, 0x70, 0x75, 0x74, 0x65, 0x72, 0x50, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, + 0x12, 0x2c, 0x2e, 0x65, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x38, 0x2e, + 0x43, 0x61, 0x6e, 0x53, 0x75, 0x62, 0x6d, 0x69, 0x74, 0x52, 0x65, 0x70, 0x75, 0x74, 0x65, 0x72, + 0x50, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2d, + 0x2e, 0x65, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x38, 0x2e, 0x43, 0x61, + 0x6e, 0x53, 0x75, 0x62, 0x6d, 0x69, 0x74, 0x52, 0x65, 0x70, 0x75, 0x74, 0x65, 0x72, 0x50, 0x61, + 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x4a, 0x88, + 0xe7, 0xb0, 0x2a, 0x01, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x3f, 0x12, 0x3d, 0x2f, 0x65, 0x6d, 0x69, + 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x76, 0x38, 0x2f, 0x63, 0x61, 0x6e, 0x5f, 0x73, 0x75, + 0x62, 0x6d, 0x69, 0x74, 0x5f, 0x72, 0x65, 0x70, 0x75, 0x74, 0x65, 0x72, 0x5f, 0x70, 0x61, 0x79, + 0x6c, 0x6f, 0x61, 0x64, 0x2f, 0x7b, 0x74, 0x6f, 0x70, 0x69, 0x63, 0x5f, 0x69, 0x64, 0x7d, 0x2f, + 0x7b, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x7d, 0x12, 0xcc, 0x01, 0x0a, 0x1e, 0x47, 0x65, + 0x74, 0x54, 0x6f, 0x70, 0x69, 0x63, 0x49, 0x6e, 0x69, 0x74, 0x69, 0x61, 0x6c, 0x49, 0x6e, 0x66, + 0x65, 0x72, 0x65, 0x72, 0x45, 0x6d, 0x61, 0x53, 0x63, 0x6f, 0x72, 0x65, 0x12, 0x33, 0x2e, 0x65, + 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x38, 0x2e, 0x47, 0x65, 0x74, 0x54, + 0x6f, 0x70, 0x69, 0x63, 0x49, 0x6e, 0x69, 0x74, 0x69, 0x61, 0x6c, 0x49, 0x6e, 0x66, 0x65, 0x72, + 0x65, 0x72, 0x45, 0x6d, 0x61, 0x53, 0x63, 0x6f, 0x72, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, + 0x74, 0x1a, 0x34, 0x2e, 0x65, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x38, + 0x2e, 0x47, 0x65, 0x74, 0x54, 0x6f, 0x70, 0x69, 0x63, 0x49, 0x6e, 0x69, 0x74, 0x69, 0x61, 0x6c, + 0x49, 0x6e, 0x66, 0x65, 0x72, 0x65, 0x72, 0x45, 0x6d, 0x61, 0x53, 0x63, 0x6f, 0x72, 0x65, 0x52, + 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x3f, 0x88, 0xe7, 0xb0, 0x2a, 0x01, 0x82, 0xd3, + 0xe4, 0x93, 0x02, 0x34, 0x12, 0x32, 0x2f, 0x65, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, + 0x2f, 0x76, 0x38, 0x2f, 0x69, 0x6e, 0x69, 0x74, 0x69, 0x61, 0x6c, 0x5f, 0x69, 0x6e, 0x66, 0x65, + 0x72, 0x65, 0x72, 0x5f, 0x65, 0x6d, 0x61, 0x5f, 0x73, 0x63, 0x6f, 0x72, 0x65, 0x2f, 0x7b, 0x74, + 0x6f, 0x70, 0x69, 0x63, 0x5f, 0x69, 0x64, 0x7d, 0x12, 0xd8, 0x01, 0x0a, 0x21, 0x47, 0x65, 0x74, + 0x54, 0x6f, 0x70, 0x69, 0x63, 0x49, 0x6e, 0x69, 0x74, 0x69, 0x61, 0x6c, 0x46, 0x6f, 0x72, 0x65, + 0x63, 0x61, 0x73, 0x74, 0x65, 0x72, 0x45, 0x6d, 0x61, 0x53, 0x63, 0x6f, 0x72, 0x65, 0x12, 0x36, + 0x2e, 0x65, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x38, 0x2e, 0x47, 0x65, + 0x74, 0x54, 0x6f, 0x70, 0x69, 0x63, 0x49, 0x6e, 0x69, 0x74, 0x69, 0x61, 0x6c, 0x46, 0x6f, 0x72, + 0x65, 0x63, 0x61, 0x73, 0x74, 0x65, 0x72, 0x45, 0x6d, 0x61, 0x53, 0x63, 0x6f, 0x72, 0x65, 0x52, + 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x37, 0x2e, 0x65, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, + 0x6e, 0x73, 0x2e, 0x76, 0x38, 0x2e, 0x47, 0x65, 0x74, 0x54, 0x6f, 0x70, 0x69, 0x63, 0x49, 0x6e, + 0x69, 0x74, 0x69, 0x61, 0x6c, 0x46, 0x6f, 0x72, 0x65, 0x63, 0x61, 0x73, 0x74, 0x65, 0x72, 0x45, + 0x6d, 0x61, 0x53, 0x63, 0x6f, 0x72, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, + 0x42, 0x88, 0xe7, 0xb0, 0x2a, 0x01, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x37, 0x12, 0x35, 0x2f, 0x65, + 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x76, 0x38, 0x2f, 0x69, 0x6e, 0x69, 0x74, + 0x69, 0x61, 0x6c, 0x5f, 0x66, 0x6f, 0x72, 0x65, 0x63, 0x61, 0x73, 0x74, 0x65, 0x72, 0x5f, 0x65, + 0x6d, 0x61, 0x5f, 0x73, 0x63, 0x6f, 0x72, 0x65, 0x2f, 0x7b, 0x74, 0x6f, 0x70, 0x69, 0x63, 0x5f, + 0x69, 0x64, 0x7d, 0x12, 0xcc, 0x01, 0x0a, 0x1e, 0x47, 0x65, 0x74, 0x54, 0x6f, 0x70, 0x69, 0x63, + 0x49, 0x6e, 0x69, 0x74, 0x69, 0x61, 0x6c, 0x52, 0x65, 0x70, 0x75, 0x74, 0x65, 0x72, 0x45, 0x6d, + 0x61, 0x53, 0x63, 0x6f, 0x72, 0x65, 0x12, 0x33, 0x2e, 0x65, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, + 0x6e, 0x73, 0x2e, 0x76, 0x38, 0x2e, 0x47, 0x65, 0x74, 0x54, 0x6f, 0x70, 0x69, 0x63, 0x49, 0x6e, + 0x69, 0x74, 0x69, 0x61, 0x6c, 0x52, 0x65, 0x70, 0x75, 0x74, 0x65, 0x72, 0x45, 0x6d, 0x61, 0x53, + 0x63, 0x6f, 0x72, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x34, 0x2e, 0x65, 0x6d, + 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x38, 0x2e, 0x47, 0x65, 0x74, 0x54, 0x6f, + 0x70, 0x69, 0x63, 0x49, 0x6e, 0x69, 0x74, 0x69, 0x61, 0x6c, 0x52, 0x65, 0x70, 0x75, 0x74, 0x65, + 0x72, 0x45, 0x6d, 0x61, 0x53, 0x63, 0x6f, 0x72, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, + 0x65, 0x22, 0x3f, 0x88, 0xe7, 0xb0, 0x2a, 0x01, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x34, 0x12, 0x32, + 0x2f, 0x65, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x76, 0x38, 0x2f, 0x69, 0x6e, + 0x69, 0x74, 0x69, 0x61, 0x6c, 0x5f, 0x72, 0x65, 0x70, 0x75, 0x74, 0x65, 0x72, 0x5f, 0x65, 0x6d, + 0x61, 0x5f, 0x73, 0x63, 0x6f, 0x72, 0x65, 0x2f, 0x7b, 0x74, 0x6f, 0x70, 0x69, 0x63, 0x5f, 0x69, + 0x64, 0x7d, 0x12, 0xb0, 0x01, 0x0a, 0x16, 0x47, 0x65, 0x74, 0x4c, 0x61, 0x74, 0x65, 0x73, 0x74, + 0x52, 0x65, 0x67, 0x72, 0x65, 0x74, 0x53, 0x74, 0x64, 0x4e, 0x6f, 0x72, 0x6d, 0x12, 0x2b, 0x2e, + 0x65, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x38, 0x2e, 0x47, 0x65, 0x74, + 0x4c, 0x61, 0x74, 0x65, 0x73, 0x74, 0x52, 0x65, 0x67, 0x72, 0x65, 0x74, 0x53, 0x74, 0x64, 0x4e, + 0x6f, 0x72, 0x6d, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2c, 0x2e, 0x65, 0x6d, 0x69, + 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x38, 0x2e, 0x47, 0x65, 0x74, 0x4c, 0x61, 0x74, + 0x65, 0x73, 0x74, 0x52, 0x65, 0x67, 0x72, 0x65, 0x74, 0x53, 0x74, 0x64, 0x4e, 0x6f, 0x72, 0x6d, + 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x3b, 0x88, 0xe7, 0xb0, 0x2a, 0x01, 0x82, + 0xd3, 0xe4, 0x93, 0x02, 0x30, 0x12, 0x2e, 0x2f, 0x65, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, + 0x73, 0x2f, 0x76, 0x38, 0x2f, 0x6c, 0x61, 0x74, 0x65, 0x73, 0x74, 0x5f, 0x72, 0x65, 0x67, 0x72, + 0x65, 0x74, 0x5f, 0x73, 0x74, 0x64, 0x6e, 0x6f, 0x72, 0x6d, 0x2f, 0x7b, 0x74, 0x6f, 0x70, 0x69, + 0x63, 0x5f, 0x69, 0x64, 0x7d, 0x12, 0xbb, 0x01, 0x0a, 0x16, 0x47, 0x65, 0x74, 0x4c, 0x61, 0x74, + 0x65, 0x73, 0x74, 0x49, 0x6e, 0x66, 0x65, 0x72, 0x65, 0x72, 0x57, 0x65, 0x69, 0x67, 0x68, 0x74, + 0x12, 0x2b, 0x2e, 0x65, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x38, 0x2e, + 0x47, 0x65, 0x74, 0x4c, 0x61, 0x74, 0x65, 0x73, 0x74, 0x49, 0x6e, 0x66, 0x65, 0x72, 0x65, 0x72, + 0x57, 0x65, 0x69, 0x67, 0x68, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2c, 0x2e, + 0x65, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x38, 0x2e, 0x47, 0x65, 0x74, + 0x4c, 0x61, 0x74, 0x65, 0x73, 0x74, 0x49, 0x6e, 0x66, 0x65, 0x72, 0x65, 0x72, 0x57, 0x65, 0x69, + 0x67, 0x68, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x46, 0x88, 0xe7, 0xb0, + 0x2a, 0x01, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x3b, 0x12, 0x39, 0x2f, 0x65, 0x6d, 0x69, 0x73, 0x73, + 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x76, 0x38, 0x2f, 0x6c, 0x61, 0x74, 0x65, 0x73, 0x74, 0x5f, 0x69, + 0x6e, 0x66, 0x65, 0x72, 0x65, 0x72, 0x5f, 0x77, 0x65, 0x69, 0x67, 0x68, 0x74, 0x2f, 0x7b, 0x74, + 0x6f, 0x70, 0x69, 0x63, 0x5f, 0x69, 0x64, 0x7d, 0x2f, 0x7b, 0x61, 0x63, 0x74, 0x6f, 0x72, 0x5f, + 0x69, 0x64, 0x7d, 0x12, 0xc7, 0x01, 0x0a, 0x19, 0x47, 0x65, 0x74, 0x4c, 0x61, 0x74, 0x65, 0x73, + 0x74, 0x46, 0x6f, 0x72, 0x65, 0x63, 0x61, 0x73, 0x74, 0x65, 0x72, 0x57, 0x65, 0x69, 0x67, 0x68, + 0x74, 0x12, 0x2e, 0x2e, 0x65, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x38, + 0x2e, 0x47, 0x65, 0x74, 0x4c, 0x61, 0x74, 0x65, 0x73, 0x74, 0x46, 0x6f, 0x72, 0x65, 0x63, 0x61, + 0x73, 0x74, 0x65, 0x72, 0x57, 0x65, 0x69, 0x67, 0x68, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, + 0x74, 0x1a, 0x2f, 0x2e, 0x65, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x38, + 0x2e, 0x47, 0x65, 0x74, 0x4c, 0x61, 0x74, 0x65, 0x73, 0x74, 0x46, 0x6f, 0x72, 0x65, 0x63, 0x61, + 0x73, 0x74, 0x65, 0x72, 0x57, 0x65, 0x69, 0x67, 0x68, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, + 0x73, 0x65, 0x22, 0x49, 0x88, 0xe7, 0xb0, 0x2a, 0x01, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x3e, 0x12, + 0x3c, 0x2f, 0x65, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x76, 0x38, 0x2f, 0x6c, + 0x61, 0x74, 0x65, 0x73, 0x74, 0x5f, 0x66, 0x6f, 0x72, 0x65, 0x63, 0x61, 0x73, 0x74, 0x65, 0x72, + 0x5f, 0x77, 0x65, 0x69, 0x67, 0x68, 0x74, 0x2f, 0x7b, 0x74, 0x6f, 0x70, 0x69, 0x63, 0x5f, 0x69, + 0x64, 0x7d, 0x2f, 0x7b, 0x61, 0x63, 0x74, 0x6f, 0x72, 0x5f, 0x69, 0x64, 0x7d, 0x42, 0xc0, 0x01, + 0x0a, 0x10, 0x63, 0x6f, 0x6d, 0x2e, 0x65, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2e, + 0x76, 0x38, 0x42, 0x0a, 0x51, 0x75, 0x65, 0x72, 0x79, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, + 0x5a, 0x4f, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x61, 0x6c, 0x6c, + 0x6f, 0x72, 0x61, 0x2d, 0x6e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x2f, 0x61, 0x6c, 0x6c, 0x6f, + 0x72, 0x61, 0x2d, 0x63, 0x68, 0x61, 0x69, 0x6e, 0x2f, 0x78, 0x2f, 0x65, 0x6d, 0x69, 0x73, 0x73, + 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x65, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, + 0x6e, 0x73, 0x2f, 0x76, 0x38, 0x3b, 0x65, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x76, + 0x38, 0xa2, 0x02, 0x03, 0x45, 0x58, 0x58, 0xaa, 0x02, 0x0c, 0x45, 0x6d, 0x69, 0x73, 0x73, 0x69, + 0x6f, 0x6e, 0x73, 0x2e, 0x56, 0x38, 0xca, 0x02, 0x0c, 0x45, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, + 0x6e, 0x73, 0x5c, 0x56, 0x38, 0xe2, 0x02, 0x18, 0x45, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, + 0x73, 0x5c, 0x56, 0x38, 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, + 0xea, 0x02, 0x0d, 0x45, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x3a, 0x3a, 0x56, 0x38, + 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_emissions_v8_query_proto_rawDescOnce sync.Once + file_emissions_v8_query_proto_rawDescData = file_emissions_v8_query_proto_rawDesc +) + +func file_emissions_v8_query_proto_rawDescGZIP() []byte { + file_emissions_v8_query_proto_rawDescOnce.Do(func() { + file_emissions_v8_query_proto_rawDescData = protoimpl.X.CompressGZIP(file_emissions_v8_query_proto_rawDescData) + }) + return file_emissions_v8_query_proto_rawDescData +} + +var file_emissions_v8_query_proto_msgTypes = make([]protoimpl.MessageInfo, 218) +var file_emissions_v8_query_proto_goTypes = []interface{}{ + (*IsWhitelistedGlobalWorkerRequest)(nil), // 0: emissions.v8.IsWhitelistedGlobalWorkerRequest + (*IsWhitelistedGlobalWorkerResponse)(nil), // 1: emissions.v8.IsWhitelistedGlobalWorkerResponse + (*IsWhitelistedGlobalReputerRequest)(nil), // 2: emissions.v8.IsWhitelistedGlobalReputerRequest + (*IsWhitelistedGlobalReputerResponse)(nil), // 3: emissions.v8.IsWhitelistedGlobalReputerResponse + (*IsWhitelistedGlobalAdminRequest)(nil), // 4: emissions.v8.IsWhitelistedGlobalAdminRequest + (*IsWhitelistedGlobalAdminResponse)(nil), // 5: emissions.v8.IsWhitelistedGlobalAdminResponse + (*IsTopicWorkerWhitelistEnabledRequest)(nil), // 6: emissions.v8.IsTopicWorkerWhitelistEnabledRequest + (*IsTopicWorkerWhitelistEnabledResponse)(nil), // 7: emissions.v8.IsTopicWorkerWhitelistEnabledResponse + (*IsTopicReputerWhitelistEnabledRequest)(nil), // 8: emissions.v8.IsTopicReputerWhitelistEnabledRequest + (*IsTopicReputerWhitelistEnabledResponse)(nil), // 9: emissions.v8.IsTopicReputerWhitelistEnabledResponse + (*IsWhitelistedTopicCreatorRequest)(nil), // 10: emissions.v8.IsWhitelistedTopicCreatorRequest + (*IsWhitelistedTopicCreatorResponse)(nil), // 11: emissions.v8.IsWhitelistedTopicCreatorResponse + (*IsWhitelistedGlobalActorRequest)(nil), // 12: emissions.v8.IsWhitelistedGlobalActorRequest + (*IsWhitelistedGlobalActorResponse)(nil), // 13: emissions.v8.IsWhitelistedGlobalActorResponse + (*IsWhitelistedTopicWorkerRequest)(nil), // 14: emissions.v8.IsWhitelistedTopicWorkerRequest + (*IsWhitelistedTopicWorkerResponse)(nil), // 15: emissions.v8.IsWhitelistedTopicWorkerResponse + (*IsWhitelistedTopicReputerRequest)(nil), // 16: emissions.v8.IsWhitelistedTopicReputerRequest + (*IsWhitelistedTopicReputerResponse)(nil), // 17: emissions.v8.IsWhitelistedTopicReputerResponse + (*CanUpdateAllGlobalWhitelistsRequest)(nil), // 18: emissions.v8.CanUpdateAllGlobalWhitelistsRequest + (*CanUpdateAllGlobalWhitelistsResponse)(nil), // 19: emissions.v8.CanUpdateAllGlobalWhitelistsResponse + (*CanUpdateGlobalWorkerWhitelistRequest)(nil), // 20: emissions.v8.CanUpdateGlobalWorkerWhitelistRequest + (*CanUpdateGlobalWorkerWhitelistResponse)(nil), // 21: emissions.v8.CanUpdateGlobalWorkerWhitelistResponse + (*CanUpdateGlobalReputerWhitelistRequest)(nil), // 22: emissions.v8.CanUpdateGlobalReputerWhitelistRequest + (*CanUpdateGlobalReputerWhitelistResponse)(nil), // 23: emissions.v8.CanUpdateGlobalReputerWhitelistResponse + (*CanUpdateParamsRequest)(nil), // 24: emissions.v8.CanUpdateParamsRequest + (*CanUpdateParamsResponse)(nil), // 25: emissions.v8.CanUpdateParamsResponse + (*CanUpdateTopicWhitelistRequest)(nil), // 26: emissions.v8.CanUpdateTopicWhitelistRequest + (*CanUpdateTopicWhitelistResponse)(nil), // 27: emissions.v8.CanUpdateTopicWhitelistResponse + (*CanCreateTopicRequest)(nil), // 28: emissions.v8.CanCreateTopicRequest + (*CanCreateTopicResponse)(nil), // 29: emissions.v8.CanCreateTopicResponse + (*CanSubmitWorkerPayloadRequest)(nil), // 30: emissions.v8.CanSubmitWorkerPayloadRequest + (*CanSubmitWorkerPayloadResponse)(nil), // 31: emissions.v8.CanSubmitWorkerPayloadResponse + (*CanSubmitReputerPayloadRequest)(nil), // 32: emissions.v8.CanSubmitReputerPayloadRequest + (*CanSubmitReputerPayloadResponse)(nil), // 33: emissions.v8.CanSubmitReputerPayloadResponse + (*GetCountInfererInclusionsInTopicRequest)(nil), // 34: emissions.v8.GetCountInfererInclusionsInTopicRequest + (*GetCountInfererInclusionsInTopicResponse)(nil), // 35: emissions.v8.GetCountInfererInclusionsInTopicResponse + (*GetCountForecasterInclusionsInTopicRequest)(nil), // 36: emissions.v8.GetCountForecasterInclusionsInTopicRequest + (*GetCountForecasterInclusionsInTopicResponse)(nil), // 37: emissions.v8.GetCountForecasterInclusionsInTopicResponse + (*GetNaiveInfererNetworkRegretRequest)(nil), // 38: emissions.v8.GetNaiveInfererNetworkRegretRequest + (*GetNaiveInfererNetworkRegretResponse)(nil), // 39: emissions.v8.GetNaiveInfererNetworkRegretResponse + (*GetOneOutInfererInfererNetworkRegretRequest)(nil), // 40: emissions.v8.GetOneOutInfererInfererNetworkRegretRequest + (*GetOneOutInfererInfererNetworkRegretResponse)(nil), // 41: emissions.v8.GetOneOutInfererInfererNetworkRegretResponse + (*GetOneOutInfererForecasterNetworkRegretRequest)(nil), // 42: emissions.v8.GetOneOutInfererForecasterNetworkRegretRequest + (*GetOneOutInfererForecasterNetworkRegretResponse)(nil), // 43: emissions.v8.GetOneOutInfererForecasterNetworkRegretResponse + (*GetOneOutForecasterInfererNetworkRegretRequest)(nil), // 44: emissions.v8.GetOneOutForecasterInfererNetworkRegretRequest + (*GetOneOutForecasterInfererNetworkRegretResponse)(nil), // 45: emissions.v8.GetOneOutForecasterInfererNetworkRegretResponse + (*GetOneOutForecasterForecasterNetworkRegretRequest)(nil), // 46: emissions.v8.GetOneOutForecasterForecasterNetworkRegretRequest + (*GetOneOutForecasterForecasterNetworkRegretResponse)(nil), // 47: emissions.v8.GetOneOutForecasterForecasterNetworkRegretResponse + (*GetParamsRequest)(nil), // 48: emissions.v8.GetParamsRequest + (*GetParamsResponse)(nil), // 49: emissions.v8.GetParamsResponse + (*GetTotalStakeRequest)(nil), // 50: emissions.v8.GetTotalStakeRequest + (*GetTotalStakeResponse)(nil), // 51: emissions.v8.GetTotalStakeResponse + (*GetReputerStakeInTopicRequest)(nil), // 52: emissions.v8.GetReputerStakeInTopicRequest + (*GetReputerStakeInTopicResponse)(nil), // 53: emissions.v8.GetReputerStakeInTopicResponse + (*GetMultiReputerStakeInTopicRequest)(nil), // 54: emissions.v8.GetMultiReputerStakeInTopicRequest + (*GetMultiReputerStakeInTopicResponse)(nil), // 55: emissions.v8.GetMultiReputerStakeInTopicResponse + (*GetStakeFromReputerInTopicInSelfRequest)(nil), // 56: emissions.v8.GetStakeFromReputerInTopicInSelfRequest + (*GetStakeFromReputerInTopicInSelfResponse)(nil), // 57: emissions.v8.GetStakeFromReputerInTopicInSelfResponse + (*GetDelegateStakeInTopicInReputerRequest)(nil), // 58: emissions.v8.GetDelegateStakeInTopicInReputerRequest + (*GetDelegateStakeInTopicInReputerResponse)(nil), // 59: emissions.v8.GetDelegateStakeInTopicInReputerResponse + (*GetStakeFromDelegatorInTopicInReputerRequest)(nil), // 60: emissions.v8.GetStakeFromDelegatorInTopicInReputerRequest + (*GetStakeFromDelegatorInTopicInReputerResponse)(nil), // 61: emissions.v8.GetStakeFromDelegatorInTopicInReputerResponse + (*GetStakeFromDelegatorInTopicRequest)(nil), // 62: emissions.v8.GetStakeFromDelegatorInTopicRequest + (*GetStakeFromDelegatorInTopicResponse)(nil), // 63: emissions.v8.GetStakeFromDelegatorInTopicResponse + (*GetTopicStakeRequest)(nil), // 64: emissions.v8.GetTopicStakeRequest + (*GetTopicStakeResponse)(nil), // 65: emissions.v8.GetTopicStakeResponse + (*GetNetworkLossBundleAtBlockRequest)(nil), // 66: emissions.v8.GetNetworkLossBundleAtBlockRequest + (*GetNetworkLossBundleAtBlockResponse)(nil), // 67: emissions.v8.GetNetworkLossBundleAtBlockResponse + (*GetNextTopicIdRequest)(nil), // 68: emissions.v8.GetNextTopicIdRequest + (*GetNextTopicIdResponse)(nil), // 69: emissions.v8.GetNextTopicIdResponse + (*GetTopicRequest)(nil), // 70: emissions.v8.GetTopicRequest + (*GetTopicResponse)(nil), // 71: emissions.v8.GetTopicResponse + (*GetActiveTopicsRequest)(nil), // 72: emissions.v8.GetActiveTopicsRequest + (*GetActiveTopicsResponse)(nil), // 73: emissions.v8.GetActiveTopicsResponse + (*GetInferencesAtBlockRequest)(nil), // 74: emissions.v8.GetInferencesAtBlockRequest + (*GetInferencesAtBlockResponse)(nil), // 75: emissions.v8.GetInferencesAtBlockResponse + (*GetLatestTopicInferencesRequest)(nil), // 76: emissions.v8.GetLatestTopicInferencesRequest + (*GetLatestTopicInferencesResponse)(nil), // 77: emissions.v8.GetLatestTopicInferencesResponse + (*GetForecastsAtBlockRequest)(nil), // 78: emissions.v8.GetForecastsAtBlockRequest + (*GetForecastsAtBlockResponse)(nil), // 79: emissions.v8.GetForecastsAtBlockResponse + (*GetWorkerLatestInferenceByTopicIdRequest)(nil), // 80: emissions.v8.GetWorkerLatestInferenceByTopicIdRequest + (*GetWorkerLatestInferenceByTopicIdResponse)(nil), // 81: emissions.v8.GetWorkerLatestInferenceByTopicIdResponse + (*GetWorkerNodeInfoRequest)(nil), // 82: emissions.v8.GetWorkerNodeInfoRequest + (*GetWorkerNodeInfoResponse)(nil), // 83: emissions.v8.GetWorkerNodeInfoResponse + (*GetReputerNodeInfoRequest)(nil), // 84: emissions.v8.GetReputerNodeInfoRequest + (*GetReputerNodeInfoResponse)(nil), // 85: emissions.v8.GetReputerNodeInfoResponse + (*GetNetworkInferencesAtBlockRequest)(nil), // 86: emissions.v8.GetNetworkInferencesAtBlockRequest + (*GetNetworkInferencesAtBlockOutlierResistantRequest)(nil), // 87: emissions.v8.GetNetworkInferencesAtBlockOutlierResistantRequest + (*GetLatestNetworkInferencesRequest)(nil), // 88: emissions.v8.GetLatestNetworkInferencesRequest + (*GetLatestNetworkInferencesOutlierResistantRequest)(nil), // 89: emissions.v8.GetLatestNetworkInferencesOutlierResistantRequest + (*GetLatestAvailableNetworkInferencesRequest)(nil), // 90: emissions.v8.GetLatestAvailableNetworkInferencesRequest + (*GetLatestAvailableNetworkInferencesOutlierResistantRequest)(nil), // 91: emissions.v8.GetLatestAvailableNetworkInferencesOutlierResistantRequest + (*IsWorkerNonceUnfulfilledRequest)(nil), // 92: emissions.v8.IsWorkerNonceUnfulfilledRequest + (*IsWorkerNonceUnfulfilledResponse)(nil), // 93: emissions.v8.IsWorkerNonceUnfulfilledResponse + (*GetUnfulfilledReputerNoncesRequest)(nil), // 94: emissions.v8.GetUnfulfilledReputerNoncesRequest + (*GetUnfulfilledReputerNoncesResponse)(nil), // 95: emissions.v8.GetUnfulfilledReputerNoncesResponse + (*GetUnfulfilledWorkerNoncesRequest)(nil), // 96: emissions.v8.GetUnfulfilledWorkerNoncesRequest + (*GetUnfulfilledWorkerNoncesResponse)(nil), // 97: emissions.v8.GetUnfulfilledWorkerNoncesResponse + (*GetInfererNetworkRegretRequest)(nil), // 98: emissions.v8.GetInfererNetworkRegretRequest + (*GetInfererNetworkRegretResponse)(nil), // 99: emissions.v8.GetInfererNetworkRegretResponse + (*GetForecasterNetworkRegretRequest)(nil), // 100: emissions.v8.GetForecasterNetworkRegretRequest + (*GetForecasterNetworkRegretResponse)(nil), // 101: emissions.v8.GetForecasterNetworkRegretResponse + (*GetOneInForecasterNetworkRegretRequest)(nil), // 102: emissions.v8.GetOneInForecasterNetworkRegretRequest + (*GetOneInForecasterNetworkRegretResponse)(nil), // 103: emissions.v8.GetOneInForecasterNetworkRegretResponse + (*IsReputerNonceUnfulfilledRequest)(nil), // 104: emissions.v8.IsReputerNonceUnfulfilledRequest + (*IsReputerNonceUnfulfilledResponse)(nil), // 105: emissions.v8.IsReputerNonceUnfulfilledResponse + (*GetNetworkInferencesAtBlockResponse)(nil), // 106: emissions.v8.GetNetworkInferencesAtBlockResponse + (*GetNetworkInferencesAtBlockOutlierResistantResponse)(nil), // 107: emissions.v8.GetNetworkInferencesAtBlockOutlierResistantResponse + (*GetLatestNetworkInferencesResponse)(nil), // 108: emissions.v8.GetLatestNetworkInferencesResponse + (*GetLatestNetworkInferencesOutlierResistantResponse)(nil), // 109: emissions.v8.GetLatestNetworkInferencesOutlierResistantResponse + (*GetLatestAvailableNetworkInferencesResponse)(nil), // 110: emissions.v8.GetLatestAvailableNetworkInferencesResponse + (*GetLatestAvailableNetworkInferencesOutlierResistantResponse)(nil), // 111: emissions.v8.GetLatestAvailableNetworkInferencesOutlierResistantResponse + (*IsWorkerRegisteredInTopicIdRequest)(nil), // 112: emissions.v8.IsWorkerRegisteredInTopicIdRequest + (*IsWorkerRegisteredInTopicIdResponse)(nil), // 113: emissions.v8.IsWorkerRegisteredInTopicIdResponse + (*IsReputerRegisteredInTopicIdRequest)(nil), // 114: emissions.v8.IsReputerRegisteredInTopicIdRequest + (*IsReputerRegisteredInTopicIdResponse)(nil), // 115: emissions.v8.IsReputerRegisteredInTopicIdResponse + (*IsWhitelistAdminRequest)(nil), // 116: emissions.v8.IsWhitelistAdminRequest + (*IsWhitelistAdminResponse)(nil), // 117: emissions.v8.IsWhitelistAdminResponse + (*GetStakeRemovalsUpUntilBlockRequest)(nil), // 118: emissions.v8.GetStakeRemovalsUpUntilBlockRequest + (*GetStakeRemovalsUpUntilBlockResponse)(nil), // 119: emissions.v8.GetStakeRemovalsUpUntilBlockResponse + (*GetDelegateStakeRemovalsUpUntilBlockRequest)(nil), // 120: emissions.v8.GetDelegateStakeRemovalsUpUntilBlockRequest + (*GetDelegateStakeRemovalsUpUntilBlockResponse)(nil), // 121: emissions.v8.GetDelegateStakeRemovalsUpUntilBlockResponse + (*GetStakeRemovalInfoRequest)(nil), // 122: emissions.v8.GetStakeRemovalInfoRequest + (*GetStakeRemovalInfoResponse)(nil), // 123: emissions.v8.GetStakeRemovalInfoResponse + (*GetDelegateStakeRemovalInfoRequest)(nil), // 124: emissions.v8.GetDelegateStakeRemovalInfoRequest + (*GetDelegateStakeRemovalInfoResponse)(nil), // 125: emissions.v8.GetDelegateStakeRemovalInfoResponse + (*GetTopicLastWorkerCommitInfoRequest)(nil), // 126: emissions.v8.GetTopicLastWorkerCommitInfoRequest + (*GetTopicLastWorkerCommitInfoResponse)(nil), // 127: emissions.v8.GetTopicLastWorkerCommitInfoResponse + (*GetTopicLastReputerCommitInfoRequest)(nil), // 128: emissions.v8.GetTopicLastReputerCommitInfoRequest + (*GetTopicLastReputerCommitInfoResponse)(nil), // 129: emissions.v8.GetTopicLastReputerCommitInfoResponse + (*GetTopicRewardNonceRequest)(nil), // 130: emissions.v8.GetTopicRewardNonceRequest + (*GetTopicRewardNonceResponse)(nil), // 131: emissions.v8.GetTopicRewardNonceResponse + (*GetReputerLossBundlesAtBlockRequest)(nil), // 132: emissions.v8.GetReputerLossBundlesAtBlockRequest + (*GetReputerLossBundlesAtBlockResponse)(nil), // 133: emissions.v8.GetReputerLossBundlesAtBlockResponse + (*GetStakeReputerAuthorityRequest)(nil), // 134: emissions.v8.GetStakeReputerAuthorityRequest + (*GetStakeReputerAuthorityResponse)(nil), // 135: emissions.v8.GetStakeReputerAuthorityResponse + (*GetDelegateStakePlacementRequest)(nil), // 136: emissions.v8.GetDelegateStakePlacementRequest + (*GetDelegateStakePlacementResponse)(nil), // 137: emissions.v8.GetDelegateStakePlacementResponse + (*GetDelegateStakeUponReputerRequest)(nil), // 138: emissions.v8.GetDelegateStakeUponReputerRequest + (*GetDelegateStakeUponReputerResponse)(nil), // 139: emissions.v8.GetDelegateStakeUponReputerResponse + (*GetDelegateRewardPerShareRequest)(nil), // 140: emissions.v8.GetDelegateRewardPerShareRequest + (*GetDelegateRewardPerShareResponse)(nil), // 141: emissions.v8.GetDelegateRewardPerShareResponse + (*GetStakeRemovalForReputerAndTopicIdRequest)(nil), // 142: emissions.v8.GetStakeRemovalForReputerAndTopicIdRequest + (*GetStakeRemovalForReputerAndTopicIdResponse)(nil), // 143: emissions.v8.GetStakeRemovalForReputerAndTopicIdResponse + (*GetDelegateStakeRemovalRequest)(nil), // 144: emissions.v8.GetDelegateStakeRemovalRequest + (*GetDelegateStakeRemovalResponse)(nil), // 145: emissions.v8.GetDelegateStakeRemovalResponse + (*GetPreviousTopicWeightRequest)(nil), // 146: emissions.v8.GetPreviousTopicWeightRequest + (*GetPreviousTopicWeightResponse)(nil), // 147: emissions.v8.GetPreviousTopicWeightResponse + (*GetTotalSumPreviousTopicWeightsRequest)(nil), // 148: emissions.v8.GetTotalSumPreviousTopicWeightsRequest + (*GetTotalSumPreviousTopicWeightsResponse)(nil), // 149: emissions.v8.GetTotalSumPreviousTopicWeightsResponse + (*TopicExistsRequest)(nil), // 150: emissions.v8.TopicExistsRequest + (*TopicExistsResponse)(nil), // 151: emissions.v8.TopicExistsResponse + (*IsTopicActiveRequest)(nil), // 152: emissions.v8.IsTopicActiveRequest + (*IsTopicActiveResponse)(nil), // 153: emissions.v8.IsTopicActiveResponse + (*GetTopicFeeRevenueRequest)(nil), // 154: emissions.v8.GetTopicFeeRevenueRequest + (*GetTopicFeeRevenueResponse)(nil), // 155: emissions.v8.GetTopicFeeRevenueResponse + (*GetInfererScoreEmaRequest)(nil), // 156: emissions.v8.GetInfererScoreEmaRequest + (*GetInfererScoreEmaResponse)(nil), // 157: emissions.v8.GetInfererScoreEmaResponse + (*GetForecasterScoreEmaRequest)(nil), // 158: emissions.v8.GetForecasterScoreEmaRequest + (*GetForecasterScoreEmaResponse)(nil), // 159: emissions.v8.GetForecasterScoreEmaResponse + (*GetReputerScoreEmaRequest)(nil), // 160: emissions.v8.GetReputerScoreEmaRequest + (*GetReputerScoreEmaResponse)(nil), // 161: emissions.v8.GetReputerScoreEmaResponse + (*GetInferenceScoresUntilBlockRequest)(nil), // 162: emissions.v8.GetInferenceScoresUntilBlockRequest + (*GetInferenceScoresUntilBlockResponse)(nil), // 163: emissions.v8.GetInferenceScoresUntilBlockResponse + (*GetPreviousTopicQuantileForecasterScoreEmaRequest)(nil), // 164: emissions.v8.GetPreviousTopicQuantileForecasterScoreEmaRequest + (*GetPreviousTopicQuantileForecasterScoreEmaResponse)(nil), // 165: emissions.v8.GetPreviousTopicQuantileForecasterScoreEmaResponse + (*GetPreviousTopicQuantileInfererScoreEmaRequest)(nil), // 166: emissions.v8.GetPreviousTopicQuantileInfererScoreEmaRequest + (*GetPreviousTopicQuantileInfererScoreEmaResponse)(nil), // 167: emissions.v8.GetPreviousTopicQuantileInfererScoreEmaResponse + (*GetPreviousTopicQuantileReputerScoreEmaRequest)(nil), // 168: emissions.v8.GetPreviousTopicQuantileReputerScoreEmaRequest + (*GetPreviousTopicQuantileReputerScoreEmaResponse)(nil), // 169: emissions.v8.GetPreviousTopicQuantileReputerScoreEmaResponse + (*GetWorkerInferenceScoresAtBlockRequest)(nil), // 170: emissions.v8.GetWorkerInferenceScoresAtBlockRequest + (*GetWorkerInferenceScoresAtBlockResponse)(nil), // 171: emissions.v8.GetWorkerInferenceScoresAtBlockResponse + (*GetCurrentLowestInfererScoreRequest)(nil), // 172: emissions.v8.GetCurrentLowestInfererScoreRequest + (*GetCurrentLowestInfererScoreResponse)(nil), // 173: emissions.v8.GetCurrentLowestInfererScoreResponse + (*GetForecastScoresUntilBlockRequest)(nil), // 174: emissions.v8.GetForecastScoresUntilBlockRequest + (*GetForecastScoresUntilBlockResponse)(nil), // 175: emissions.v8.GetForecastScoresUntilBlockResponse + (*GetWorkerForecastScoresAtBlockRequest)(nil), // 176: emissions.v8.GetWorkerForecastScoresAtBlockRequest + (*GetWorkerForecastScoresAtBlockResponse)(nil), // 177: emissions.v8.GetWorkerForecastScoresAtBlockResponse + (*GetCurrentLowestForecasterScoreRequest)(nil), // 178: emissions.v8.GetCurrentLowestForecasterScoreRequest + (*GetCurrentLowestForecasterScoreResponse)(nil), // 179: emissions.v8.GetCurrentLowestForecasterScoreResponse + (*GetReputersScoresAtBlockRequest)(nil), // 180: emissions.v8.GetReputersScoresAtBlockRequest + (*GetReputersScoresAtBlockResponse)(nil), // 181: emissions.v8.GetReputersScoresAtBlockResponse + (*GetCurrentLowestReputerScoreRequest)(nil), // 182: emissions.v8.GetCurrentLowestReputerScoreRequest + (*GetCurrentLowestReputerScoreResponse)(nil), // 183: emissions.v8.GetCurrentLowestReputerScoreResponse + (*GetListeningCoefficientRequest)(nil), // 184: emissions.v8.GetListeningCoefficientRequest + (*GetListeningCoefficientResponse)(nil), // 185: emissions.v8.GetListeningCoefficientResponse + (*GetPreviousReputerRewardFractionRequest)(nil), // 186: emissions.v8.GetPreviousReputerRewardFractionRequest + (*GetPreviousReputerRewardFractionResponse)(nil), // 187: emissions.v8.GetPreviousReputerRewardFractionResponse + (*GetPreviousInferenceRewardFractionRequest)(nil), // 188: emissions.v8.GetPreviousInferenceRewardFractionRequest + (*GetPreviousInferenceRewardFractionResponse)(nil), // 189: emissions.v8.GetPreviousInferenceRewardFractionResponse + (*GetPreviousForecastRewardFractionRequest)(nil), // 190: emissions.v8.GetPreviousForecastRewardFractionRequest + (*GetPreviousForecastRewardFractionResponse)(nil), // 191: emissions.v8.GetPreviousForecastRewardFractionResponse + (*GetPreviousPercentageRewardToStakedReputersRequest)(nil), // 192: emissions.v8.GetPreviousPercentageRewardToStakedReputersRequest + (*GetPreviousPercentageRewardToStakedReputersResponse)(nil), // 193: emissions.v8.GetPreviousPercentageRewardToStakedReputersResponse + (*GetTotalRewardToDistributeRequest)(nil), // 194: emissions.v8.GetTotalRewardToDistributeRequest + (*GetTotalRewardToDistributeResponse)(nil), // 195: emissions.v8.GetTotalRewardToDistributeResponse + (*GetActiveTopicsAtBlockRequest)(nil), // 196: emissions.v8.GetActiveTopicsAtBlockRequest + (*GetActiveTopicsAtBlockResponse)(nil), // 197: emissions.v8.GetActiveTopicsAtBlockResponse + (*GetNextChurningBlockByTopicIdRequest)(nil), // 198: emissions.v8.GetNextChurningBlockByTopicIdRequest + (*GetNextChurningBlockByTopicIdResponse)(nil), // 199: emissions.v8.GetNextChurningBlockByTopicIdResponse + (*GetActiveReputersForTopicRequest)(nil), // 200: emissions.v8.GetActiveReputersForTopicRequest + (*GetActiveReputersForTopicResponse)(nil), // 201: emissions.v8.GetActiveReputersForTopicResponse + (*GetActiveForecastersForTopicRequest)(nil), // 202: emissions.v8.GetActiveForecastersForTopicRequest + (*GetActiveForecastersForTopicResponse)(nil), // 203: emissions.v8.GetActiveForecastersForTopicResponse + (*GetActiveInferersForTopicRequest)(nil), // 204: emissions.v8.GetActiveInferersForTopicRequest + (*GetActiveInferersForTopicResponse)(nil), // 205: emissions.v8.GetActiveInferersForTopicResponse + (*GetTopicInitialInfererEmaScoreRequest)(nil), // 206: emissions.v8.GetTopicInitialInfererEmaScoreRequest + (*GetTopicInitialInfererEmaScoreResponse)(nil), // 207: emissions.v8.GetTopicInitialInfererEmaScoreResponse + (*GetTopicInitialForecasterEmaScoreRequest)(nil), // 208: emissions.v8.GetTopicInitialForecasterEmaScoreRequest + (*GetTopicInitialForecasterEmaScoreResponse)(nil), // 209: emissions.v8.GetTopicInitialForecasterEmaScoreResponse + (*GetTopicInitialReputerEmaScoreRequest)(nil), // 210: emissions.v8.GetTopicInitialReputerEmaScoreRequest + (*GetTopicInitialReputerEmaScoreResponse)(nil), // 211: emissions.v8.GetTopicInitialReputerEmaScoreResponse + (*GetLatestRegretStdNormRequest)(nil), // 212: emissions.v8.GetLatestRegretStdNormRequest + (*GetLatestRegretStdNormResponse)(nil), // 213: emissions.v8.GetLatestRegretStdNormResponse + (*GetLatestInfererWeightRequest)(nil), // 214: emissions.v8.GetLatestInfererWeightRequest + (*GetLatestInfererWeightResponse)(nil), // 215: emissions.v8.GetLatestInfererWeightResponse + (*GetLatestForecasterWeightRequest)(nil), // 216: emissions.v8.GetLatestForecasterWeightRequest + (*GetLatestForecasterWeightResponse)(nil), // 217: emissions.v8.GetLatestForecasterWeightResponse + (*v3.TimestampedValue)(nil), // 218: emissions.v3.TimestampedValue + (*Params)(nil), // 219: emissions.v8.Params + (*v3.StakeInfo)(nil), // 220: emissions.v3.StakeInfo + (*v3.ValueBundle)(nil), // 221: emissions.v3.ValueBundle + (*v3.Topic)(nil), // 222: emissions.v3.Topic + (*v3.SimpleCursorPaginationRequest)(nil), // 223: emissions.v3.SimpleCursorPaginationRequest + (*v3.SimpleCursorPaginationResponse)(nil), // 224: emissions.v3.SimpleCursorPaginationResponse + (*v3.Inferences)(nil), // 225: emissions.v3.Inferences + (*v3.Forecasts)(nil), // 226: emissions.v3.Forecasts + (*v3.Inference)(nil), // 227: emissions.v3.Inference + (*v3.OffchainNode)(nil), // 228: emissions.v3.OffchainNode + (*v3.ReputerRequestNonces)(nil), // 229: emissions.v3.ReputerRequestNonces + (*v3.Nonces)(nil), // 230: emissions.v3.Nonces + (*v3.RegretInformedWeight)(nil), // 231: emissions.v3.RegretInformedWeight + (*v3.StakeRemovalInfo)(nil), // 232: emissions.v3.StakeRemovalInfo + (*v3.DelegateStakeRemovalInfo)(nil), // 233: emissions.v3.DelegateStakeRemovalInfo + (*v3.TimestampedActorNonce)(nil), // 234: emissions.v3.TimestampedActorNonce + (*v3.ReputerValueBundles)(nil), // 235: emissions.v3.ReputerValueBundles + (*v3.DelegatorInfo)(nil), // 236: emissions.v3.DelegatorInfo + (*v3.Score)(nil), // 237: emissions.v3.Score + (*v3.Scores)(nil), // 238: emissions.v3.Scores + (*v3.ListeningCoefficient)(nil), // 239: emissions.v3.ListeningCoefficient +} +var file_emissions_v8_query_proto_depIdxs = []int32{ + 218, // 0: emissions.v8.GetNaiveInfererNetworkRegretResponse.regret:type_name -> emissions.v3.TimestampedValue + 218, // 1: emissions.v8.GetOneOutInfererInfererNetworkRegretResponse.regret:type_name -> emissions.v3.TimestampedValue + 218, // 2: emissions.v8.GetOneOutInfererForecasterNetworkRegretResponse.regret:type_name -> emissions.v3.TimestampedValue + 218, // 3: emissions.v8.GetOneOutForecasterInfererNetworkRegretResponse.regret:type_name -> emissions.v3.TimestampedValue + 218, // 4: emissions.v8.GetOneOutForecasterForecasterNetworkRegretResponse.regret:type_name -> emissions.v3.TimestampedValue + 219, // 5: emissions.v8.GetParamsResponse.params:type_name -> emissions.v8.Params + 220, // 6: emissions.v8.GetMultiReputerStakeInTopicResponse.amounts:type_name -> emissions.v3.StakeInfo + 221, // 7: emissions.v8.GetNetworkLossBundleAtBlockResponse.loss_bundle:type_name -> emissions.v3.ValueBundle + 222, // 8: emissions.v8.GetTopicResponse.topic:type_name -> emissions.v3.Topic + 223, // 9: emissions.v8.GetActiveTopicsRequest.pagination:type_name -> emissions.v3.SimpleCursorPaginationRequest + 222, // 10: emissions.v8.GetActiveTopicsResponse.topics:type_name -> emissions.v3.Topic + 224, // 11: emissions.v8.GetActiveTopicsResponse.pagination:type_name -> emissions.v3.SimpleCursorPaginationResponse + 225, // 12: emissions.v8.GetInferencesAtBlockResponse.inferences:type_name -> emissions.v3.Inferences + 225, // 13: emissions.v8.GetLatestTopicInferencesResponse.inferences:type_name -> emissions.v3.Inferences + 226, // 14: emissions.v8.GetForecastsAtBlockResponse.forecasts:type_name -> emissions.v3.Forecasts + 227, // 15: emissions.v8.GetWorkerLatestInferenceByTopicIdResponse.latest_inference:type_name -> emissions.v3.Inference + 228, // 16: emissions.v8.GetWorkerNodeInfoResponse.node_info:type_name -> emissions.v3.OffchainNode + 228, // 17: emissions.v8.GetReputerNodeInfoResponse.node_info:type_name -> emissions.v3.OffchainNode + 229, // 18: emissions.v8.GetUnfulfilledReputerNoncesResponse.nonces:type_name -> emissions.v3.ReputerRequestNonces + 230, // 19: emissions.v8.GetUnfulfilledWorkerNoncesResponse.nonces:type_name -> emissions.v3.Nonces + 218, // 20: emissions.v8.GetInfererNetworkRegretResponse.regret:type_name -> emissions.v3.TimestampedValue + 218, // 21: emissions.v8.GetForecasterNetworkRegretResponse.regret:type_name -> emissions.v3.TimestampedValue + 218, // 22: emissions.v8.GetOneInForecasterNetworkRegretResponse.regret:type_name -> emissions.v3.TimestampedValue + 221, // 23: emissions.v8.GetNetworkInferencesAtBlockResponse.network_inferences:type_name -> emissions.v3.ValueBundle + 221, // 24: emissions.v8.GetNetworkInferencesAtBlockOutlierResistantResponse.network_inferences:type_name -> emissions.v3.ValueBundle + 221, // 25: emissions.v8.GetLatestNetworkInferencesResponse.network_inferences:type_name -> emissions.v3.ValueBundle + 231, // 26: emissions.v8.GetLatestNetworkInferencesResponse.inferer_weights:type_name -> emissions.v3.RegretInformedWeight + 231, // 27: emissions.v8.GetLatestNetworkInferencesResponse.forecaster_weights:type_name -> emissions.v3.RegretInformedWeight + 221, // 28: emissions.v8.GetLatestNetworkInferencesOutlierResistantResponse.network_inferences:type_name -> emissions.v3.ValueBundle + 231, // 29: emissions.v8.GetLatestNetworkInferencesOutlierResistantResponse.inferer_weights:type_name -> emissions.v3.RegretInformedWeight + 231, // 30: emissions.v8.GetLatestNetworkInferencesOutlierResistantResponse.forecaster_weights:type_name -> emissions.v3.RegretInformedWeight + 221, // 31: emissions.v8.GetLatestAvailableNetworkInferencesResponse.network_inferences:type_name -> emissions.v3.ValueBundle + 231, // 32: emissions.v8.GetLatestAvailableNetworkInferencesResponse.inferer_weights:type_name -> emissions.v3.RegretInformedWeight + 231, // 33: emissions.v8.GetLatestAvailableNetworkInferencesResponse.forecaster_weights:type_name -> emissions.v3.RegretInformedWeight + 221, // 34: emissions.v8.GetLatestAvailableNetworkInferencesOutlierResistantResponse.network_inferences:type_name -> emissions.v3.ValueBundle + 231, // 35: emissions.v8.GetLatestAvailableNetworkInferencesOutlierResistantResponse.inferer_weights:type_name -> emissions.v3.RegretInformedWeight + 231, // 36: emissions.v8.GetLatestAvailableNetworkInferencesOutlierResistantResponse.forecaster_weights:type_name -> emissions.v3.RegretInformedWeight + 232, // 37: emissions.v8.GetStakeRemovalsUpUntilBlockResponse.removals:type_name -> emissions.v3.StakeRemovalInfo + 233, // 38: emissions.v8.GetDelegateStakeRemovalsUpUntilBlockResponse.removals:type_name -> emissions.v3.DelegateStakeRemovalInfo + 232, // 39: emissions.v8.GetStakeRemovalInfoResponse.removal:type_name -> emissions.v3.StakeRemovalInfo + 233, // 40: emissions.v8.GetDelegateStakeRemovalInfoResponse.removal:type_name -> emissions.v3.DelegateStakeRemovalInfo + 234, // 41: emissions.v8.GetTopicLastWorkerCommitInfoResponse.last_commit:type_name -> emissions.v3.TimestampedActorNonce + 234, // 42: emissions.v8.GetTopicLastReputerCommitInfoResponse.last_commit:type_name -> emissions.v3.TimestampedActorNonce + 235, // 43: emissions.v8.GetReputerLossBundlesAtBlockResponse.loss_bundles:type_name -> emissions.v3.ReputerValueBundles + 236, // 44: emissions.v8.GetDelegateStakePlacementResponse.delegator_info:type_name -> emissions.v3.DelegatorInfo + 232, // 45: emissions.v8.GetStakeRemovalForReputerAndTopicIdResponse.stake_removal_info:type_name -> emissions.v3.StakeRemovalInfo + 233, // 46: emissions.v8.GetDelegateStakeRemovalResponse.stake_removal_info:type_name -> emissions.v3.DelegateStakeRemovalInfo + 237, // 47: emissions.v8.GetInfererScoreEmaResponse.score:type_name -> emissions.v3.Score + 237, // 48: emissions.v8.GetForecasterScoreEmaResponse.score:type_name -> emissions.v3.Score + 237, // 49: emissions.v8.GetReputerScoreEmaResponse.score:type_name -> emissions.v3.Score + 237, // 50: emissions.v8.GetInferenceScoresUntilBlockResponse.scores:type_name -> emissions.v3.Score + 238, // 51: emissions.v8.GetWorkerInferenceScoresAtBlockResponse.scores:type_name -> emissions.v3.Scores + 237, // 52: emissions.v8.GetCurrentLowestInfererScoreResponse.score:type_name -> emissions.v3.Score + 237, // 53: emissions.v8.GetForecastScoresUntilBlockResponse.scores:type_name -> emissions.v3.Score + 238, // 54: emissions.v8.GetWorkerForecastScoresAtBlockResponse.scores:type_name -> emissions.v3.Scores + 237, // 55: emissions.v8.GetCurrentLowestForecasterScoreResponse.score:type_name -> emissions.v3.Score + 238, // 56: emissions.v8.GetReputersScoresAtBlockResponse.scores:type_name -> emissions.v3.Scores + 237, // 57: emissions.v8.GetCurrentLowestReputerScoreResponse.score:type_name -> emissions.v3.Score + 239, // 58: emissions.v8.GetListeningCoefficientResponse.listening_coefficient:type_name -> emissions.v3.ListeningCoefficient + 222, // 59: emissions.v8.GetActiveTopicsAtBlockResponse.topics:type_name -> emissions.v3.Topic + 224, // 60: emissions.v8.GetActiveTopicsAtBlockResponse.pagination:type_name -> emissions.v3.SimpleCursorPaginationResponse + 48, // 61: emissions.v8.QueryService.GetParams:input_type -> emissions.v8.GetParamsRequest + 68, // 62: emissions.v8.QueryService.GetNextTopicId:input_type -> emissions.v8.GetNextTopicIdRequest + 70, // 63: emissions.v8.QueryService.GetTopic:input_type -> emissions.v8.GetTopicRequest + 80, // 64: emissions.v8.QueryService.GetWorkerLatestInferenceByTopicId:input_type -> emissions.v8.GetWorkerLatestInferenceByTopicIdRequest + 74, // 65: emissions.v8.QueryService.GetInferencesAtBlock:input_type -> emissions.v8.GetInferencesAtBlockRequest + 76, // 66: emissions.v8.QueryService.GetLatestTopicInferences:input_type -> emissions.v8.GetLatestTopicInferencesRequest + 78, // 67: emissions.v8.QueryService.GetForecastsAtBlock:input_type -> emissions.v8.GetForecastsAtBlockRequest + 66, // 68: emissions.v8.QueryService.GetNetworkLossBundleAtBlock:input_type -> emissions.v8.GetNetworkLossBundleAtBlockRequest + 50, // 69: emissions.v8.QueryService.GetTotalStake:input_type -> emissions.v8.GetTotalStakeRequest + 52, // 70: emissions.v8.QueryService.GetReputerStakeInTopic:input_type -> emissions.v8.GetReputerStakeInTopicRequest + 54, // 71: emissions.v8.QueryService.GetMultiReputerStakeInTopic:input_type -> emissions.v8.GetMultiReputerStakeInTopicRequest + 56, // 72: emissions.v8.QueryService.GetStakeFromReputerInTopicInSelf:input_type -> emissions.v8.GetStakeFromReputerInTopicInSelfRequest + 58, // 73: emissions.v8.QueryService.GetDelegateStakeInTopicInReputer:input_type -> emissions.v8.GetDelegateStakeInTopicInReputerRequest + 60, // 74: emissions.v8.QueryService.GetStakeFromDelegatorInTopicInReputer:input_type -> emissions.v8.GetStakeFromDelegatorInTopicInReputerRequest + 62, // 75: emissions.v8.QueryService.GetStakeFromDelegatorInTopic:input_type -> emissions.v8.GetStakeFromDelegatorInTopicRequest + 64, // 76: emissions.v8.QueryService.GetTopicStake:input_type -> emissions.v8.GetTopicStakeRequest + 118, // 77: emissions.v8.QueryService.GetStakeRemovalsUpUntilBlock:input_type -> emissions.v8.GetStakeRemovalsUpUntilBlockRequest + 120, // 78: emissions.v8.QueryService.GetDelegateStakeRemovalsUpUntilBlock:input_type -> emissions.v8.GetDelegateStakeRemovalsUpUntilBlockRequest + 122, // 79: emissions.v8.QueryService.GetStakeRemovalInfo:input_type -> emissions.v8.GetStakeRemovalInfoRequest + 124, // 80: emissions.v8.QueryService.GetDelegateStakeRemovalInfo:input_type -> emissions.v8.GetDelegateStakeRemovalInfoRequest + 82, // 81: emissions.v8.QueryService.GetWorkerNodeInfo:input_type -> emissions.v8.GetWorkerNodeInfoRequest + 84, // 82: emissions.v8.QueryService.GetReputerNodeInfo:input_type -> emissions.v8.GetReputerNodeInfoRequest + 112, // 83: emissions.v8.QueryService.IsWorkerRegisteredInTopicId:input_type -> emissions.v8.IsWorkerRegisteredInTopicIdRequest + 114, // 84: emissions.v8.QueryService.IsReputerRegisteredInTopicId:input_type -> emissions.v8.IsReputerRegisteredInTopicIdRequest + 86, // 85: emissions.v8.QueryService.GetNetworkInferencesAtBlock:input_type -> emissions.v8.GetNetworkInferencesAtBlockRequest + 87, // 86: emissions.v8.QueryService.GetNetworkInferencesAtBlockOutlierResistant:input_type -> emissions.v8.GetNetworkInferencesAtBlockOutlierResistantRequest + 88, // 87: emissions.v8.QueryService.GetLatestNetworkInferences:input_type -> emissions.v8.GetLatestNetworkInferencesRequest + 89, // 88: emissions.v8.QueryService.GetLatestNetworkInferencesOutlierResistant:input_type -> emissions.v8.GetLatestNetworkInferencesOutlierResistantRequest + 90, // 89: emissions.v8.QueryService.GetLatestAvailableNetworkInferences:input_type -> emissions.v8.GetLatestAvailableNetworkInferencesRequest + 91, // 90: emissions.v8.QueryService.GetLatestAvailableNetworkInferencesOutlierResistant:input_type -> emissions.v8.GetLatestAvailableNetworkInferencesOutlierResistantRequest + 92, // 91: emissions.v8.QueryService.IsWorkerNonceUnfulfilled:input_type -> emissions.v8.IsWorkerNonceUnfulfilledRequest + 104, // 92: emissions.v8.QueryService.IsReputerNonceUnfulfilled:input_type -> emissions.v8.IsReputerNonceUnfulfilledRequest + 96, // 93: emissions.v8.QueryService.GetUnfulfilledWorkerNonces:input_type -> emissions.v8.GetUnfulfilledWorkerNoncesRequest + 94, // 94: emissions.v8.QueryService.GetUnfulfilledReputerNonces:input_type -> emissions.v8.GetUnfulfilledReputerNoncesRequest + 98, // 95: emissions.v8.QueryService.GetInfererNetworkRegret:input_type -> emissions.v8.GetInfererNetworkRegretRequest + 100, // 96: emissions.v8.QueryService.GetForecasterNetworkRegret:input_type -> emissions.v8.GetForecasterNetworkRegretRequest + 102, // 97: emissions.v8.QueryService.GetOneInForecasterNetworkRegret:input_type -> emissions.v8.GetOneInForecasterNetworkRegretRequest + 116, // 98: emissions.v8.QueryService.IsWhitelistAdmin:input_type -> emissions.v8.IsWhitelistAdminRequest + 126, // 99: emissions.v8.QueryService.GetTopicLastWorkerCommitInfo:input_type -> emissions.v8.GetTopicLastWorkerCommitInfoRequest + 128, // 100: emissions.v8.QueryService.GetTopicLastReputerCommitInfo:input_type -> emissions.v8.GetTopicLastReputerCommitInfoRequest + 130, // 101: emissions.v8.QueryService.GetTopicRewardNonce:input_type -> emissions.v8.GetTopicRewardNonceRequest + 132, // 102: emissions.v8.QueryService.GetReputerLossBundlesAtBlock:input_type -> emissions.v8.GetReputerLossBundlesAtBlockRequest + 134, // 103: emissions.v8.QueryService.GetStakeReputerAuthority:input_type -> emissions.v8.GetStakeReputerAuthorityRequest + 136, // 104: emissions.v8.QueryService.GetDelegateStakePlacement:input_type -> emissions.v8.GetDelegateStakePlacementRequest + 138, // 105: emissions.v8.QueryService.GetDelegateStakeUponReputer:input_type -> emissions.v8.GetDelegateStakeUponReputerRequest + 140, // 106: emissions.v8.QueryService.GetDelegateRewardPerShare:input_type -> emissions.v8.GetDelegateRewardPerShareRequest + 142, // 107: emissions.v8.QueryService.GetStakeRemovalForReputerAndTopicId:input_type -> emissions.v8.GetStakeRemovalForReputerAndTopicIdRequest + 144, // 108: emissions.v8.QueryService.GetDelegateStakeRemoval:input_type -> emissions.v8.GetDelegateStakeRemovalRequest + 146, // 109: emissions.v8.QueryService.GetPreviousTopicWeight:input_type -> emissions.v8.GetPreviousTopicWeightRequest + 148, // 110: emissions.v8.QueryService.GetTotalSumPreviousTopicWeights:input_type -> emissions.v8.GetTotalSumPreviousTopicWeightsRequest + 150, // 111: emissions.v8.QueryService.TopicExists:input_type -> emissions.v8.TopicExistsRequest + 152, // 112: emissions.v8.QueryService.IsTopicActive:input_type -> emissions.v8.IsTopicActiveRequest + 154, // 113: emissions.v8.QueryService.GetTopicFeeRevenue:input_type -> emissions.v8.GetTopicFeeRevenueRequest + 156, // 114: emissions.v8.QueryService.GetInfererScoreEma:input_type -> emissions.v8.GetInfererScoreEmaRequest + 158, // 115: emissions.v8.QueryService.GetForecasterScoreEma:input_type -> emissions.v8.GetForecasterScoreEmaRequest + 160, // 116: emissions.v8.QueryService.GetReputerScoreEma:input_type -> emissions.v8.GetReputerScoreEmaRequest + 162, // 117: emissions.v8.QueryService.GetInferenceScoresUntilBlock:input_type -> emissions.v8.GetInferenceScoresUntilBlockRequest + 164, // 118: emissions.v8.QueryService.GetPreviousTopicQuantileForecasterScoreEma:input_type -> emissions.v8.GetPreviousTopicQuantileForecasterScoreEmaRequest + 166, // 119: emissions.v8.QueryService.GetPreviousTopicQuantileInfererScoreEma:input_type -> emissions.v8.GetPreviousTopicQuantileInfererScoreEmaRequest + 168, // 120: emissions.v8.QueryService.GetPreviousTopicQuantileReputerScoreEma:input_type -> emissions.v8.GetPreviousTopicQuantileReputerScoreEmaRequest + 170, // 121: emissions.v8.QueryService.GetWorkerInferenceScoresAtBlock:input_type -> emissions.v8.GetWorkerInferenceScoresAtBlockRequest + 172, // 122: emissions.v8.QueryService.GetCurrentLowestInfererScore:input_type -> emissions.v8.GetCurrentLowestInfererScoreRequest + 174, // 123: emissions.v8.QueryService.GetForecastScoresUntilBlock:input_type -> emissions.v8.GetForecastScoresUntilBlockRequest + 176, // 124: emissions.v8.QueryService.GetWorkerForecastScoresAtBlock:input_type -> emissions.v8.GetWorkerForecastScoresAtBlockRequest + 178, // 125: emissions.v8.QueryService.GetCurrentLowestForecasterScore:input_type -> emissions.v8.GetCurrentLowestForecasterScoreRequest + 180, // 126: emissions.v8.QueryService.GetReputersScoresAtBlock:input_type -> emissions.v8.GetReputersScoresAtBlockRequest + 182, // 127: emissions.v8.QueryService.GetCurrentLowestReputerScore:input_type -> emissions.v8.GetCurrentLowestReputerScoreRequest + 184, // 128: emissions.v8.QueryService.GetListeningCoefficient:input_type -> emissions.v8.GetListeningCoefficientRequest + 186, // 129: emissions.v8.QueryService.GetPreviousReputerRewardFraction:input_type -> emissions.v8.GetPreviousReputerRewardFractionRequest + 188, // 130: emissions.v8.QueryService.GetPreviousInferenceRewardFraction:input_type -> emissions.v8.GetPreviousInferenceRewardFractionRequest + 190, // 131: emissions.v8.QueryService.GetPreviousForecastRewardFraction:input_type -> emissions.v8.GetPreviousForecastRewardFractionRequest + 192, // 132: emissions.v8.QueryService.GetPreviousPercentageRewardToStakedReputers:input_type -> emissions.v8.GetPreviousPercentageRewardToStakedReputersRequest + 194, // 133: emissions.v8.QueryService.GetTotalRewardToDistribute:input_type -> emissions.v8.GetTotalRewardToDistributeRequest + 38, // 134: emissions.v8.QueryService.GetNaiveInfererNetworkRegret:input_type -> emissions.v8.GetNaiveInfererNetworkRegretRequest + 40, // 135: emissions.v8.QueryService.GetOneOutInfererInfererNetworkRegret:input_type -> emissions.v8.GetOneOutInfererInfererNetworkRegretRequest + 42, // 136: emissions.v8.QueryService.GetOneOutInfererForecasterNetworkRegret:input_type -> emissions.v8.GetOneOutInfererForecasterNetworkRegretRequest + 44, // 137: emissions.v8.QueryService.GetOneOutForecasterInfererNetworkRegret:input_type -> emissions.v8.GetOneOutForecasterInfererNetworkRegretRequest + 46, // 138: emissions.v8.QueryService.GetOneOutForecasterForecasterNetworkRegret:input_type -> emissions.v8.GetOneOutForecasterForecasterNetworkRegretRequest + 196, // 139: emissions.v8.QueryService.GetActiveTopicsAtBlock:input_type -> emissions.v8.GetActiveTopicsAtBlockRequest + 198, // 140: emissions.v8.QueryService.GetNextChurningBlockByTopicId:input_type -> emissions.v8.GetNextChurningBlockByTopicIdRequest + 34, // 141: emissions.v8.QueryService.GetCountInfererInclusionsInTopic:input_type -> emissions.v8.GetCountInfererInclusionsInTopicRequest + 36, // 142: emissions.v8.QueryService.GetCountForecasterInclusionsInTopic:input_type -> emissions.v8.GetCountForecasterInclusionsInTopicRequest + 200, // 143: emissions.v8.QueryService.GetActiveReputersForTopic:input_type -> emissions.v8.GetActiveReputersForTopicRequest + 202, // 144: emissions.v8.QueryService.GetActiveForecastersForTopic:input_type -> emissions.v8.GetActiveForecastersForTopicRequest + 204, // 145: emissions.v8.QueryService.GetActiveInferersForTopic:input_type -> emissions.v8.GetActiveInferersForTopicRequest + 0, // 146: emissions.v8.QueryService.IsWhitelistedGlobalWorker:input_type -> emissions.v8.IsWhitelistedGlobalWorkerRequest + 2, // 147: emissions.v8.QueryService.IsWhitelistedGlobalReputer:input_type -> emissions.v8.IsWhitelistedGlobalReputerRequest + 4, // 148: emissions.v8.QueryService.IsWhitelistedGlobalAdmin:input_type -> emissions.v8.IsWhitelistedGlobalAdminRequest + 6, // 149: emissions.v8.QueryService.IsTopicWorkerWhitelistEnabled:input_type -> emissions.v8.IsTopicWorkerWhitelistEnabledRequest + 8, // 150: emissions.v8.QueryService.IsTopicReputerWhitelistEnabled:input_type -> emissions.v8.IsTopicReputerWhitelistEnabledRequest + 10, // 151: emissions.v8.QueryService.IsWhitelistedTopicCreator:input_type -> emissions.v8.IsWhitelistedTopicCreatorRequest + 12, // 152: emissions.v8.QueryService.IsWhitelistedGlobalActor:input_type -> emissions.v8.IsWhitelistedGlobalActorRequest + 14, // 153: emissions.v8.QueryService.IsWhitelistedTopicWorker:input_type -> emissions.v8.IsWhitelistedTopicWorkerRequest + 16, // 154: emissions.v8.QueryService.IsWhitelistedTopicReputer:input_type -> emissions.v8.IsWhitelistedTopicReputerRequest + 18, // 155: emissions.v8.QueryService.CanUpdateAllGlobalWhitelists:input_type -> emissions.v8.CanUpdateAllGlobalWhitelistsRequest + 20, // 156: emissions.v8.QueryService.CanUpdateGlobalWorkerWhitelist:input_type -> emissions.v8.CanUpdateGlobalWorkerWhitelistRequest + 22, // 157: emissions.v8.QueryService.CanUpdateGlobalReputerWhitelist:input_type -> emissions.v8.CanUpdateGlobalReputerWhitelistRequest + 24, // 158: emissions.v8.QueryService.CanUpdateParams:input_type -> emissions.v8.CanUpdateParamsRequest + 26, // 159: emissions.v8.QueryService.CanUpdateTopicWhitelist:input_type -> emissions.v8.CanUpdateTopicWhitelistRequest + 28, // 160: emissions.v8.QueryService.CanCreateTopic:input_type -> emissions.v8.CanCreateTopicRequest + 30, // 161: emissions.v8.QueryService.CanSubmitWorkerPayload:input_type -> emissions.v8.CanSubmitWorkerPayloadRequest + 32, // 162: emissions.v8.QueryService.CanSubmitReputerPayload:input_type -> emissions.v8.CanSubmitReputerPayloadRequest + 206, // 163: emissions.v8.QueryService.GetTopicInitialInfererEmaScore:input_type -> emissions.v8.GetTopicInitialInfererEmaScoreRequest + 208, // 164: emissions.v8.QueryService.GetTopicInitialForecasterEmaScore:input_type -> emissions.v8.GetTopicInitialForecasterEmaScoreRequest + 210, // 165: emissions.v8.QueryService.GetTopicInitialReputerEmaScore:input_type -> emissions.v8.GetTopicInitialReputerEmaScoreRequest + 212, // 166: emissions.v8.QueryService.GetLatestRegretStdNorm:input_type -> emissions.v8.GetLatestRegretStdNormRequest + 214, // 167: emissions.v8.QueryService.GetLatestInfererWeight:input_type -> emissions.v8.GetLatestInfererWeightRequest + 216, // 168: emissions.v8.QueryService.GetLatestForecasterWeight:input_type -> emissions.v8.GetLatestForecasterWeightRequest + 49, // 169: emissions.v8.QueryService.GetParams:output_type -> emissions.v8.GetParamsResponse + 69, // 170: emissions.v8.QueryService.GetNextTopicId:output_type -> emissions.v8.GetNextTopicIdResponse + 71, // 171: emissions.v8.QueryService.GetTopic:output_type -> emissions.v8.GetTopicResponse + 81, // 172: emissions.v8.QueryService.GetWorkerLatestInferenceByTopicId:output_type -> emissions.v8.GetWorkerLatestInferenceByTopicIdResponse + 75, // 173: emissions.v8.QueryService.GetInferencesAtBlock:output_type -> emissions.v8.GetInferencesAtBlockResponse + 77, // 174: emissions.v8.QueryService.GetLatestTopicInferences:output_type -> emissions.v8.GetLatestTopicInferencesResponse + 79, // 175: emissions.v8.QueryService.GetForecastsAtBlock:output_type -> emissions.v8.GetForecastsAtBlockResponse + 67, // 176: emissions.v8.QueryService.GetNetworkLossBundleAtBlock:output_type -> emissions.v8.GetNetworkLossBundleAtBlockResponse + 51, // 177: emissions.v8.QueryService.GetTotalStake:output_type -> emissions.v8.GetTotalStakeResponse + 53, // 178: emissions.v8.QueryService.GetReputerStakeInTopic:output_type -> emissions.v8.GetReputerStakeInTopicResponse + 55, // 179: emissions.v8.QueryService.GetMultiReputerStakeInTopic:output_type -> emissions.v8.GetMultiReputerStakeInTopicResponse + 57, // 180: emissions.v8.QueryService.GetStakeFromReputerInTopicInSelf:output_type -> emissions.v8.GetStakeFromReputerInTopicInSelfResponse + 59, // 181: emissions.v8.QueryService.GetDelegateStakeInTopicInReputer:output_type -> emissions.v8.GetDelegateStakeInTopicInReputerResponse + 61, // 182: emissions.v8.QueryService.GetStakeFromDelegatorInTopicInReputer:output_type -> emissions.v8.GetStakeFromDelegatorInTopicInReputerResponse + 63, // 183: emissions.v8.QueryService.GetStakeFromDelegatorInTopic:output_type -> emissions.v8.GetStakeFromDelegatorInTopicResponse + 65, // 184: emissions.v8.QueryService.GetTopicStake:output_type -> emissions.v8.GetTopicStakeResponse + 119, // 185: emissions.v8.QueryService.GetStakeRemovalsUpUntilBlock:output_type -> emissions.v8.GetStakeRemovalsUpUntilBlockResponse + 121, // 186: emissions.v8.QueryService.GetDelegateStakeRemovalsUpUntilBlock:output_type -> emissions.v8.GetDelegateStakeRemovalsUpUntilBlockResponse + 123, // 187: emissions.v8.QueryService.GetStakeRemovalInfo:output_type -> emissions.v8.GetStakeRemovalInfoResponse + 125, // 188: emissions.v8.QueryService.GetDelegateStakeRemovalInfo:output_type -> emissions.v8.GetDelegateStakeRemovalInfoResponse + 83, // 189: emissions.v8.QueryService.GetWorkerNodeInfo:output_type -> emissions.v8.GetWorkerNodeInfoResponse + 85, // 190: emissions.v8.QueryService.GetReputerNodeInfo:output_type -> emissions.v8.GetReputerNodeInfoResponse + 113, // 191: emissions.v8.QueryService.IsWorkerRegisteredInTopicId:output_type -> emissions.v8.IsWorkerRegisteredInTopicIdResponse + 115, // 192: emissions.v8.QueryService.IsReputerRegisteredInTopicId:output_type -> emissions.v8.IsReputerRegisteredInTopicIdResponse + 106, // 193: emissions.v8.QueryService.GetNetworkInferencesAtBlock:output_type -> emissions.v8.GetNetworkInferencesAtBlockResponse + 107, // 194: emissions.v8.QueryService.GetNetworkInferencesAtBlockOutlierResistant:output_type -> emissions.v8.GetNetworkInferencesAtBlockOutlierResistantResponse + 108, // 195: emissions.v8.QueryService.GetLatestNetworkInferences:output_type -> emissions.v8.GetLatestNetworkInferencesResponse + 109, // 196: emissions.v8.QueryService.GetLatestNetworkInferencesOutlierResistant:output_type -> emissions.v8.GetLatestNetworkInferencesOutlierResistantResponse + 110, // 197: emissions.v8.QueryService.GetLatestAvailableNetworkInferences:output_type -> emissions.v8.GetLatestAvailableNetworkInferencesResponse + 111, // 198: emissions.v8.QueryService.GetLatestAvailableNetworkInferencesOutlierResistant:output_type -> emissions.v8.GetLatestAvailableNetworkInferencesOutlierResistantResponse + 93, // 199: emissions.v8.QueryService.IsWorkerNonceUnfulfilled:output_type -> emissions.v8.IsWorkerNonceUnfulfilledResponse + 105, // 200: emissions.v8.QueryService.IsReputerNonceUnfulfilled:output_type -> emissions.v8.IsReputerNonceUnfulfilledResponse + 97, // 201: emissions.v8.QueryService.GetUnfulfilledWorkerNonces:output_type -> emissions.v8.GetUnfulfilledWorkerNoncesResponse + 95, // 202: emissions.v8.QueryService.GetUnfulfilledReputerNonces:output_type -> emissions.v8.GetUnfulfilledReputerNoncesResponse + 99, // 203: emissions.v8.QueryService.GetInfererNetworkRegret:output_type -> emissions.v8.GetInfererNetworkRegretResponse + 101, // 204: emissions.v8.QueryService.GetForecasterNetworkRegret:output_type -> emissions.v8.GetForecasterNetworkRegretResponse + 103, // 205: emissions.v8.QueryService.GetOneInForecasterNetworkRegret:output_type -> emissions.v8.GetOneInForecasterNetworkRegretResponse + 117, // 206: emissions.v8.QueryService.IsWhitelistAdmin:output_type -> emissions.v8.IsWhitelistAdminResponse + 127, // 207: emissions.v8.QueryService.GetTopicLastWorkerCommitInfo:output_type -> emissions.v8.GetTopicLastWorkerCommitInfoResponse + 129, // 208: emissions.v8.QueryService.GetTopicLastReputerCommitInfo:output_type -> emissions.v8.GetTopicLastReputerCommitInfoResponse + 131, // 209: emissions.v8.QueryService.GetTopicRewardNonce:output_type -> emissions.v8.GetTopicRewardNonceResponse + 133, // 210: emissions.v8.QueryService.GetReputerLossBundlesAtBlock:output_type -> emissions.v8.GetReputerLossBundlesAtBlockResponse + 135, // 211: emissions.v8.QueryService.GetStakeReputerAuthority:output_type -> emissions.v8.GetStakeReputerAuthorityResponse + 137, // 212: emissions.v8.QueryService.GetDelegateStakePlacement:output_type -> emissions.v8.GetDelegateStakePlacementResponse + 139, // 213: emissions.v8.QueryService.GetDelegateStakeUponReputer:output_type -> emissions.v8.GetDelegateStakeUponReputerResponse + 141, // 214: emissions.v8.QueryService.GetDelegateRewardPerShare:output_type -> emissions.v8.GetDelegateRewardPerShareResponse + 143, // 215: emissions.v8.QueryService.GetStakeRemovalForReputerAndTopicId:output_type -> emissions.v8.GetStakeRemovalForReputerAndTopicIdResponse + 145, // 216: emissions.v8.QueryService.GetDelegateStakeRemoval:output_type -> emissions.v8.GetDelegateStakeRemovalResponse + 147, // 217: emissions.v8.QueryService.GetPreviousTopicWeight:output_type -> emissions.v8.GetPreviousTopicWeightResponse + 149, // 218: emissions.v8.QueryService.GetTotalSumPreviousTopicWeights:output_type -> emissions.v8.GetTotalSumPreviousTopicWeightsResponse + 151, // 219: emissions.v8.QueryService.TopicExists:output_type -> emissions.v8.TopicExistsResponse + 153, // 220: emissions.v8.QueryService.IsTopicActive:output_type -> emissions.v8.IsTopicActiveResponse + 155, // 221: emissions.v8.QueryService.GetTopicFeeRevenue:output_type -> emissions.v8.GetTopicFeeRevenueResponse + 157, // 222: emissions.v8.QueryService.GetInfererScoreEma:output_type -> emissions.v8.GetInfererScoreEmaResponse + 159, // 223: emissions.v8.QueryService.GetForecasterScoreEma:output_type -> emissions.v8.GetForecasterScoreEmaResponse + 161, // 224: emissions.v8.QueryService.GetReputerScoreEma:output_type -> emissions.v8.GetReputerScoreEmaResponse + 163, // 225: emissions.v8.QueryService.GetInferenceScoresUntilBlock:output_type -> emissions.v8.GetInferenceScoresUntilBlockResponse + 165, // 226: emissions.v8.QueryService.GetPreviousTopicQuantileForecasterScoreEma:output_type -> emissions.v8.GetPreviousTopicQuantileForecasterScoreEmaResponse + 167, // 227: emissions.v8.QueryService.GetPreviousTopicQuantileInfererScoreEma:output_type -> emissions.v8.GetPreviousTopicQuantileInfererScoreEmaResponse + 169, // 228: emissions.v8.QueryService.GetPreviousTopicQuantileReputerScoreEma:output_type -> emissions.v8.GetPreviousTopicQuantileReputerScoreEmaResponse + 171, // 229: emissions.v8.QueryService.GetWorkerInferenceScoresAtBlock:output_type -> emissions.v8.GetWorkerInferenceScoresAtBlockResponse + 173, // 230: emissions.v8.QueryService.GetCurrentLowestInfererScore:output_type -> emissions.v8.GetCurrentLowestInfererScoreResponse + 175, // 231: emissions.v8.QueryService.GetForecastScoresUntilBlock:output_type -> emissions.v8.GetForecastScoresUntilBlockResponse + 177, // 232: emissions.v8.QueryService.GetWorkerForecastScoresAtBlock:output_type -> emissions.v8.GetWorkerForecastScoresAtBlockResponse + 179, // 233: emissions.v8.QueryService.GetCurrentLowestForecasterScore:output_type -> emissions.v8.GetCurrentLowestForecasterScoreResponse + 181, // 234: emissions.v8.QueryService.GetReputersScoresAtBlock:output_type -> emissions.v8.GetReputersScoresAtBlockResponse + 183, // 235: emissions.v8.QueryService.GetCurrentLowestReputerScore:output_type -> emissions.v8.GetCurrentLowestReputerScoreResponse + 185, // 236: emissions.v8.QueryService.GetListeningCoefficient:output_type -> emissions.v8.GetListeningCoefficientResponse + 187, // 237: emissions.v8.QueryService.GetPreviousReputerRewardFraction:output_type -> emissions.v8.GetPreviousReputerRewardFractionResponse + 189, // 238: emissions.v8.QueryService.GetPreviousInferenceRewardFraction:output_type -> emissions.v8.GetPreviousInferenceRewardFractionResponse + 191, // 239: emissions.v8.QueryService.GetPreviousForecastRewardFraction:output_type -> emissions.v8.GetPreviousForecastRewardFractionResponse + 193, // 240: emissions.v8.QueryService.GetPreviousPercentageRewardToStakedReputers:output_type -> emissions.v8.GetPreviousPercentageRewardToStakedReputersResponse + 195, // 241: emissions.v8.QueryService.GetTotalRewardToDistribute:output_type -> emissions.v8.GetTotalRewardToDistributeResponse + 39, // 242: emissions.v8.QueryService.GetNaiveInfererNetworkRegret:output_type -> emissions.v8.GetNaiveInfererNetworkRegretResponse + 41, // 243: emissions.v8.QueryService.GetOneOutInfererInfererNetworkRegret:output_type -> emissions.v8.GetOneOutInfererInfererNetworkRegretResponse + 43, // 244: emissions.v8.QueryService.GetOneOutInfererForecasterNetworkRegret:output_type -> emissions.v8.GetOneOutInfererForecasterNetworkRegretResponse + 45, // 245: emissions.v8.QueryService.GetOneOutForecasterInfererNetworkRegret:output_type -> emissions.v8.GetOneOutForecasterInfererNetworkRegretResponse + 47, // 246: emissions.v8.QueryService.GetOneOutForecasterForecasterNetworkRegret:output_type -> emissions.v8.GetOneOutForecasterForecasterNetworkRegretResponse + 197, // 247: emissions.v8.QueryService.GetActiveTopicsAtBlock:output_type -> emissions.v8.GetActiveTopicsAtBlockResponse + 199, // 248: emissions.v8.QueryService.GetNextChurningBlockByTopicId:output_type -> emissions.v8.GetNextChurningBlockByTopicIdResponse + 35, // 249: emissions.v8.QueryService.GetCountInfererInclusionsInTopic:output_type -> emissions.v8.GetCountInfererInclusionsInTopicResponse + 37, // 250: emissions.v8.QueryService.GetCountForecasterInclusionsInTopic:output_type -> emissions.v8.GetCountForecasterInclusionsInTopicResponse + 201, // 251: emissions.v8.QueryService.GetActiveReputersForTopic:output_type -> emissions.v8.GetActiveReputersForTopicResponse + 203, // 252: emissions.v8.QueryService.GetActiveForecastersForTopic:output_type -> emissions.v8.GetActiveForecastersForTopicResponse + 205, // 253: emissions.v8.QueryService.GetActiveInferersForTopic:output_type -> emissions.v8.GetActiveInferersForTopicResponse + 1, // 254: emissions.v8.QueryService.IsWhitelistedGlobalWorker:output_type -> emissions.v8.IsWhitelistedGlobalWorkerResponse + 3, // 255: emissions.v8.QueryService.IsWhitelistedGlobalReputer:output_type -> emissions.v8.IsWhitelistedGlobalReputerResponse + 5, // 256: emissions.v8.QueryService.IsWhitelistedGlobalAdmin:output_type -> emissions.v8.IsWhitelistedGlobalAdminResponse + 7, // 257: emissions.v8.QueryService.IsTopicWorkerWhitelistEnabled:output_type -> emissions.v8.IsTopicWorkerWhitelistEnabledResponse + 9, // 258: emissions.v8.QueryService.IsTopicReputerWhitelistEnabled:output_type -> emissions.v8.IsTopicReputerWhitelistEnabledResponse + 11, // 259: emissions.v8.QueryService.IsWhitelistedTopicCreator:output_type -> emissions.v8.IsWhitelistedTopicCreatorResponse + 13, // 260: emissions.v8.QueryService.IsWhitelistedGlobalActor:output_type -> emissions.v8.IsWhitelistedGlobalActorResponse + 15, // 261: emissions.v8.QueryService.IsWhitelistedTopicWorker:output_type -> emissions.v8.IsWhitelistedTopicWorkerResponse + 17, // 262: emissions.v8.QueryService.IsWhitelistedTopicReputer:output_type -> emissions.v8.IsWhitelistedTopicReputerResponse + 19, // 263: emissions.v8.QueryService.CanUpdateAllGlobalWhitelists:output_type -> emissions.v8.CanUpdateAllGlobalWhitelistsResponse + 21, // 264: emissions.v8.QueryService.CanUpdateGlobalWorkerWhitelist:output_type -> emissions.v8.CanUpdateGlobalWorkerWhitelistResponse + 23, // 265: emissions.v8.QueryService.CanUpdateGlobalReputerWhitelist:output_type -> emissions.v8.CanUpdateGlobalReputerWhitelistResponse + 25, // 266: emissions.v8.QueryService.CanUpdateParams:output_type -> emissions.v8.CanUpdateParamsResponse + 27, // 267: emissions.v8.QueryService.CanUpdateTopicWhitelist:output_type -> emissions.v8.CanUpdateTopicWhitelistResponse + 29, // 268: emissions.v8.QueryService.CanCreateTopic:output_type -> emissions.v8.CanCreateTopicResponse + 31, // 269: emissions.v8.QueryService.CanSubmitWorkerPayload:output_type -> emissions.v8.CanSubmitWorkerPayloadResponse + 33, // 270: emissions.v8.QueryService.CanSubmitReputerPayload:output_type -> emissions.v8.CanSubmitReputerPayloadResponse + 207, // 271: emissions.v8.QueryService.GetTopicInitialInfererEmaScore:output_type -> emissions.v8.GetTopicInitialInfererEmaScoreResponse + 209, // 272: emissions.v8.QueryService.GetTopicInitialForecasterEmaScore:output_type -> emissions.v8.GetTopicInitialForecasterEmaScoreResponse + 211, // 273: emissions.v8.QueryService.GetTopicInitialReputerEmaScore:output_type -> emissions.v8.GetTopicInitialReputerEmaScoreResponse + 213, // 274: emissions.v8.QueryService.GetLatestRegretStdNorm:output_type -> emissions.v8.GetLatestRegretStdNormResponse + 215, // 275: emissions.v8.QueryService.GetLatestInfererWeight:output_type -> emissions.v8.GetLatestInfererWeightResponse + 217, // 276: emissions.v8.QueryService.GetLatestForecasterWeight:output_type -> emissions.v8.GetLatestForecasterWeightResponse + 169, // [169:277] is the sub-list for method output_type + 61, // [61:169] is the sub-list for method input_type + 61, // [61:61] is the sub-list for extension type_name + 61, // [61:61] is the sub-list for extension extendee + 0, // [0:61] is the sub-list for field type_name +} + +func init() { file_emissions_v8_query_proto_init() } +func file_emissions_v8_query_proto_init() { + if File_emissions_v8_query_proto != nil { + return + } + file_emissions_v8_params_proto_init() + if !protoimpl.UnsafeEnabled { + file_emissions_v8_query_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*IsWhitelistedGlobalWorkerRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_emissions_v8_query_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*IsWhitelistedGlobalWorkerResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_emissions_v8_query_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*IsWhitelistedGlobalReputerRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_emissions_v8_query_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*IsWhitelistedGlobalReputerResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_emissions_v8_query_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*IsWhitelistedGlobalAdminRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_emissions_v8_query_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*IsWhitelistedGlobalAdminResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_emissions_v8_query_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*IsTopicWorkerWhitelistEnabledRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_emissions_v8_query_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*IsTopicWorkerWhitelistEnabledResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_emissions_v8_query_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*IsTopicReputerWhitelistEnabledRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_emissions_v8_query_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*IsTopicReputerWhitelistEnabledResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_emissions_v8_query_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*IsWhitelistedTopicCreatorRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_emissions_v8_query_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*IsWhitelistedTopicCreatorResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_emissions_v8_query_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*IsWhitelistedGlobalActorRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_emissions_v8_query_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*IsWhitelistedGlobalActorResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_emissions_v8_query_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*IsWhitelistedTopicWorkerRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_emissions_v8_query_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*IsWhitelistedTopicWorkerResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_emissions_v8_query_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*IsWhitelistedTopicReputerRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_emissions_v8_query_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*IsWhitelistedTopicReputerResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_emissions_v8_query_proto_msgTypes[18].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*CanUpdateAllGlobalWhitelistsRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_emissions_v8_query_proto_msgTypes[19].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*CanUpdateAllGlobalWhitelistsResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_emissions_v8_query_proto_msgTypes[20].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*CanUpdateGlobalWorkerWhitelistRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_emissions_v8_query_proto_msgTypes[21].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*CanUpdateGlobalWorkerWhitelistResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_emissions_v8_query_proto_msgTypes[22].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*CanUpdateGlobalReputerWhitelistRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_emissions_v8_query_proto_msgTypes[23].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*CanUpdateGlobalReputerWhitelistResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_emissions_v8_query_proto_msgTypes[24].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*CanUpdateParamsRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_emissions_v8_query_proto_msgTypes[25].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*CanUpdateParamsResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_emissions_v8_query_proto_msgTypes[26].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*CanUpdateTopicWhitelistRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_emissions_v8_query_proto_msgTypes[27].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*CanUpdateTopicWhitelistResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_emissions_v8_query_proto_msgTypes[28].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*CanCreateTopicRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_emissions_v8_query_proto_msgTypes[29].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*CanCreateTopicResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_emissions_v8_query_proto_msgTypes[30].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*CanSubmitWorkerPayloadRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_emissions_v8_query_proto_msgTypes[31].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*CanSubmitWorkerPayloadResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_emissions_v8_query_proto_msgTypes[32].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*CanSubmitReputerPayloadRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_emissions_v8_query_proto_msgTypes[33].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*CanSubmitReputerPayloadResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_emissions_v8_query_proto_msgTypes[34].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetCountInfererInclusionsInTopicRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_emissions_v8_query_proto_msgTypes[35].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetCountInfererInclusionsInTopicResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_emissions_v8_query_proto_msgTypes[36].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetCountForecasterInclusionsInTopicRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_emissions_v8_query_proto_msgTypes[37].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetCountForecasterInclusionsInTopicResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_emissions_v8_query_proto_msgTypes[38].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetNaiveInfererNetworkRegretRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_emissions_v8_query_proto_msgTypes[39].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetNaiveInfererNetworkRegretResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_emissions_v8_query_proto_msgTypes[40].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetOneOutInfererInfererNetworkRegretRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_emissions_v8_query_proto_msgTypes[41].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetOneOutInfererInfererNetworkRegretResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_emissions_v8_query_proto_msgTypes[42].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetOneOutInfererForecasterNetworkRegretRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_emissions_v8_query_proto_msgTypes[43].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetOneOutInfererForecasterNetworkRegretResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_emissions_v8_query_proto_msgTypes[44].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetOneOutForecasterInfererNetworkRegretRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_emissions_v8_query_proto_msgTypes[45].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetOneOutForecasterInfererNetworkRegretResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_emissions_v8_query_proto_msgTypes[46].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetOneOutForecasterForecasterNetworkRegretRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_emissions_v8_query_proto_msgTypes[47].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetOneOutForecasterForecasterNetworkRegretResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_emissions_v8_query_proto_msgTypes[48].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetParamsRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_emissions_v8_query_proto_msgTypes[49].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetParamsResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_emissions_v8_query_proto_msgTypes[50].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetTotalStakeRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_emissions_v8_query_proto_msgTypes[51].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetTotalStakeResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_emissions_v8_query_proto_msgTypes[52].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetReputerStakeInTopicRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_emissions_v8_query_proto_msgTypes[53].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetReputerStakeInTopicResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_emissions_v8_query_proto_msgTypes[54].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetMultiReputerStakeInTopicRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_emissions_v8_query_proto_msgTypes[55].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetMultiReputerStakeInTopicResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_emissions_v8_query_proto_msgTypes[56].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetStakeFromReputerInTopicInSelfRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_emissions_v8_query_proto_msgTypes[57].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetStakeFromReputerInTopicInSelfResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_emissions_v8_query_proto_msgTypes[58].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetDelegateStakeInTopicInReputerRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_emissions_v8_query_proto_msgTypes[59].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetDelegateStakeInTopicInReputerResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_emissions_v8_query_proto_msgTypes[60].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetStakeFromDelegatorInTopicInReputerRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_emissions_v8_query_proto_msgTypes[61].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetStakeFromDelegatorInTopicInReputerResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_emissions_v8_query_proto_msgTypes[62].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetStakeFromDelegatorInTopicRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_emissions_v8_query_proto_msgTypes[63].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetStakeFromDelegatorInTopicResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_emissions_v8_query_proto_msgTypes[64].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetTopicStakeRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_emissions_v8_query_proto_msgTypes[65].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetTopicStakeResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_emissions_v8_query_proto_msgTypes[66].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetNetworkLossBundleAtBlockRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_emissions_v8_query_proto_msgTypes[67].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetNetworkLossBundleAtBlockResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_emissions_v8_query_proto_msgTypes[68].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetNextTopicIdRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_emissions_v8_query_proto_msgTypes[69].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetNextTopicIdResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_emissions_v8_query_proto_msgTypes[70].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetTopicRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_emissions_v8_query_proto_msgTypes[71].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetTopicResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_emissions_v8_query_proto_msgTypes[72].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetActiveTopicsRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_emissions_v8_query_proto_msgTypes[73].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetActiveTopicsResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_emissions_v8_query_proto_msgTypes[74].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetInferencesAtBlockRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_emissions_v8_query_proto_msgTypes[75].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetInferencesAtBlockResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_emissions_v8_query_proto_msgTypes[76].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetLatestTopicInferencesRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_emissions_v8_query_proto_msgTypes[77].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetLatestTopicInferencesResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_emissions_v8_query_proto_msgTypes[78].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetForecastsAtBlockRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_emissions_v8_query_proto_msgTypes[79].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetForecastsAtBlockResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_emissions_v8_query_proto_msgTypes[80].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetWorkerLatestInferenceByTopicIdRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_emissions_v8_query_proto_msgTypes[81].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetWorkerLatestInferenceByTopicIdResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_emissions_v8_query_proto_msgTypes[82].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetWorkerNodeInfoRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_emissions_v8_query_proto_msgTypes[83].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetWorkerNodeInfoResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_emissions_v8_query_proto_msgTypes[84].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetReputerNodeInfoRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_emissions_v8_query_proto_msgTypes[85].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetReputerNodeInfoResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_emissions_v8_query_proto_msgTypes[86].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetNetworkInferencesAtBlockRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_emissions_v8_query_proto_msgTypes[87].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetNetworkInferencesAtBlockOutlierResistantRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_emissions_v8_query_proto_msgTypes[88].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetLatestNetworkInferencesRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_emissions_v8_query_proto_msgTypes[89].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetLatestNetworkInferencesOutlierResistantRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_emissions_v8_query_proto_msgTypes[90].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetLatestAvailableNetworkInferencesRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_emissions_v8_query_proto_msgTypes[91].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetLatestAvailableNetworkInferencesOutlierResistantRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_emissions_v8_query_proto_msgTypes[92].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*IsWorkerNonceUnfulfilledRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_emissions_v8_query_proto_msgTypes[93].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*IsWorkerNonceUnfulfilledResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_emissions_v8_query_proto_msgTypes[94].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetUnfulfilledReputerNoncesRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_emissions_v8_query_proto_msgTypes[95].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetUnfulfilledReputerNoncesResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_emissions_v8_query_proto_msgTypes[96].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetUnfulfilledWorkerNoncesRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_emissions_v8_query_proto_msgTypes[97].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetUnfulfilledWorkerNoncesResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_emissions_v8_query_proto_msgTypes[98].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetInfererNetworkRegretRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_emissions_v8_query_proto_msgTypes[99].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetInfererNetworkRegretResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_emissions_v8_query_proto_msgTypes[100].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetForecasterNetworkRegretRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_emissions_v8_query_proto_msgTypes[101].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetForecasterNetworkRegretResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_emissions_v8_query_proto_msgTypes[102].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetOneInForecasterNetworkRegretRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_emissions_v8_query_proto_msgTypes[103].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetOneInForecasterNetworkRegretResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_emissions_v8_query_proto_msgTypes[104].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*IsReputerNonceUnfulfilledRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_emissions_v8_query_proto_msgTypes[105].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*IsReputerNonceUnfulfilledResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_emissions_v8_query_proto_msgTypes[106].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetNetworkInferencesAtBlockResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_emissions_v8_query_proto_msgTypes[107].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetNetworkInferencesAtBlockOutlierResistantResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_emissions_v8_query_proto_msgTypes[108].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetLatestNetworkInferencesResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_emissions_v8_query_proto_msgTypes[109].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetLatestNetworkInferencesOutlierResistantResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_emissions_v8_query_proto_msgTypes[110].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetLatestAvailableNetworkInferencesResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_emissions_v8_query_proto_msgTypes[111].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetLatestAvailableNetworkInferencesOutlierResistantResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_emissions_v8_query_proto_msgTypes[112].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*IsWorkerRegisteredInTopicIdRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_emissions_v8_query_proto_msgTypes[113].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*IsWorkerRegisteredInTopicIdResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_emissions_v8_query_proto_msgTypes[114].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*IsReputerRegisteredInTopicIdRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_emissions_v8_query_proto_msgTypes[115].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*IsReputerRegisteredInTopicIdResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_emissions_v8_query_proto_msgTypes[116].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*IsWhitelistAdminRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_emissions_v8_query_proto_msgTypes[117].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*IsWhitelistAdminResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_emissions_v8_query_proto_msgTypes[118].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetStakeRemovalsUpUntilBlockRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_emissions_v8_query_proto_msgTypes[119].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetStakeRemovalsUpUntilBlockResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_emissions_v8_query_proto_msgTypes[120].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetDelegateStakeRemovalsUpUntilBlockRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_emissions_v8_query_proto_msgTypes[121].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetDelegateStakeRemovalsUpUntilBlockResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_emissions_v8_query_proto_msgTypes[122].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetStakeRemovalInfoRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_emissions_v8_query_proto_msgTypes[123].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetStakeRemovalInfoResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_emissions_v8_query_proto_msgTypes[124].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetDelegateStakeRemovalInfoRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_emissions_v8_query_proto_msgTypes[125].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetDelegateStakeRemovalInfoResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_emissions_v8_query_proto_msgTypes[126].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetTopicLastWorkerCommitInfoRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_emissions_v8_query_proto_msgTypes[127].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetTopicLastWorkerCommitInfoResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_emissions_v8_query_proto_msgTypes[128].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetTopicLastReputerCommitInfoRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_emissions_v8_query_proto_msgTypes[129].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetTopicLastReputerCommitInfoResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_emissions_v8_query_proto_msgTypes[130].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetTopicRewardNonceRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_emissions_v8_query_proto_msgTypes[131].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetTopicRewardNonceResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_emissions_v8_query_proto_msgTypes[132].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetReputerLossBundlesAtBlockRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_emissions_v8_query_proto_msgTypes[133].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetReputerLossBundlesAtBlockResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_emissions_v8_query_proto_msgTypes[134].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetStakeReputerAuthorityRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_emissions_v8_query_proto_msgTypes[135].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetStakeReputerAuthorityResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_emissions_v8_query_proto_msgTypes[136].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetDelegateStakePlacementRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_emissions_v8_query_proto_msgTypes[137].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetDelegateStakePlacementResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_emissions_v8_query_proto_msgTypes[138].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetDelegateStakeUponReputerRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_emissions_v8_query_proto_msgTypes[139].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetDelegateStakeUponReputerResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_emissions_v8_query_proto_msgTypes[140].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetDelegateRewardPerShareRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_emissions_v8_query_proto_msgTypes[141].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetDelegateRewardPerShareResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_emissions_v8_query_proto_msgTypes[142].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetStakeRemovalForReputerAndTopicIdRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_emissions_v8_query_proto_msgTypes[143].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetStakeRemovalForReputerAndTopicIdResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_emissions_v8_query_proto_msgTypes[144].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetDelegateStakeRemovalRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_emissions_v8_query_proto_msgTypes[145].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetDelegateStakeRemovalResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_emissions_v8_query_proto_msgTypes[146].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetPreviousTopicWeightRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_emissions_v8_query_proto_msgTypes[147].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetPreviousTopicWeightResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_emissions_v8_query_proto_msgTypes[148].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetTotalSumPreviousTopicWeightsRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_emissions_v8_query_proto_msgTypes[149].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetTotalSumPreviousTopicWeightsResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_emissions_v8_query_proto_msgTypes[150].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*TopicExistsRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_emissions_v8_query_proto_msgTypes[151].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*TopicExistsResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_emissions_v8_query_proto_msgTypes[152].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*IsTopicActiveRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_emissions_v8_query_proto_msgTypes[153].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*IsTopicActiveResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_emissions_v8_query_proto_msgTypes[154].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetTopicFeeRevenueRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_emissions_v8_query_proto_msgTypes[155].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetTopicFeeRevenueResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_emissions_v8_query_proto_msgTypes[156].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetInfererScoreEmaRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_emissions_v8_query_proto_msgTypes[157].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetInfererScoreEmaResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_emissions_v8_query_proto_msgTypes[158].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetForecasterScoreEmaRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_emissions_v8_query_proto_msgTypes[159].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetForecasterScoreEmaResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_emissions_v8_query_proto_msgTypes[160].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetReputerScoreEmaRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_emissions_v8_query_proto_msgTypes[161].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetReputerScoreEmaResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_emissions_v8_query_proto_msgTypes[162].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetInferenceScoresUntilBlockRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_emissions_v8_query_proto_msgTypes[163].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetInferenceScoresUntilBlockResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_emissions_v8_query_proto_msgTypes[164].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetPreviousTopicQuantileForecasterScoreEmaRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_emissions_v8_query_proto_msgTypes[165].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetPreviousTopicQuantileForecasterScoreEmaResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_emissions_v8_query_proto_msgTypes[166].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetPreviousTopicQuantileInfererScoreEmaRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_emissions_v8_query_proto_msgTypes[167].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetPreviousTopicQuantileInfererScoreEmaResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_emissions_v8_query_proto_msgTypes[168].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetPreviousTopicQuantileReputerScoreEmaRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_emissions_v8_query_proto_msgTypes[169].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetPreviousTopicQuantileReputerScoreEmaResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_emissions_v8_query_proto_msgTypes[170].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetWorkerInferenceScoresAtBlockRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_emissions_v8_query_proto_msgTypes[171].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetWorkerInferenceScoresAtBlockResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_emissions_v8_query_proto_msgTypes[172].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetCurrentLowestInfererScoreRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_emissions_v8_query_proto_msgTypes[173].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetCurrentLowestInfererScoreResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_emissions_v8_query_proto_msgTypes[174].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetForecastScoresUntilBlockRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_emissions_v8_query_proto_msgTypes[175].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetForecastScoresUntilBlockResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_emissions_v8_query_proto_msgTypes[176].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetWorkerForecastScoresAtBlockRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_emissions_v8_query_proto_msgTypes[177].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetWorkerForecastScoresAtBlockResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_emissions_v8_query_proto_msgTypes[178].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetCurrentLowestForecasterScoreRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_emissions_v8_query_proto_msgTypes[179].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetCurrentLowestForecasterScoreResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_emissions_v8_query_proto_msgTypes[180].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetReputersScoresAtBlockRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_emissions_v8_query_proto_msgTypes[181].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetReputersScoresAtBlockResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_emissions_v8_query_proto_msgTypes[182].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetCurrentLowestReputerScoreRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_emissions_v8_query_proto_msgTypes[183].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetCurrentLowestReputerScoreResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_emissions_v8_query_proto_msgTypes[184].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetListeningCoefficientRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_emissions_v8_query_proto_msgTypes[185].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetListeningCoefficientResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_emissions_v8_query_proto_msgTypes[186].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetPreviousReputerRewardFractionRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_emissions_v8_query_proto_msgTypes[187].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetPreviousReputerRewardFractionResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_emissions_v8_query_proto_msgTypes[188].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetPreviousInferenceRewardFractionRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_emissions_v8_query_proto_msgTypes[189].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetPreviousInferenceRewardFractionResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_emissions_v8_query_proto_msgTypes[190].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetPreviousForecastRewardFractionRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_emissions_v8_query_proto_msgTypes[191].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetPreviousForecastRewardFractionResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_emissions_v8_query_proto_msgTypes[192].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetPreviousPercentageRewardToStakedReputersRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_emissions_v8_query_proto_msgTypes[193].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetPreviousPercentageRewardToStakedReputersResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_emissions_v8_query_proto_msgTypes[194].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetTotalRewardToDistributeRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_emissions_v8_query_proto_msgTypes[195].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetTotalRewardToDistributeResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_emissions_v8_query_proto_msgTypes[196].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetActiveTopicsAtBlockRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_emissions_v8_query_proto_msgTypes[197].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetActiveTopicsAtBlockResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_emissions_v8_query_proto_msgTypes[198].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetNextChurningBlockByTopicIdRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_emissions_v8_query_proto_msgTypes[199].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetNextChurningBlockByTopicIdResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_emissions_v8_query_proto_msgTypes[200].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetActiveReputersForTopicRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_emissions_v8_query_proto_msgTypes[201].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetActiveReputersForTopicResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_emissions_v8_query_proto_msgTypes[202].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetActiveForecastersForTopicRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_emissions_v8_query_proto_msgTypes[203].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetActiveForecastersForTopicResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_emissions_v8_query_proto_msgTypes[204].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetActiveInferersForTopicRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_emissions_v8_query_proto_msgTypes[205].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetActiveInferersForTopicResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_emissions_v8_query_proto_msgTypes[206].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetTopicInitialInfererEmaScoreRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_emissions_v8_query_proto_msgTypes[207].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetTopicInitialInfererEmaScoreResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_emissions_v8_query_proto_msgTypes[208].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetTopicInitialForecasterEmaScoreRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_emissions_v8_query_proto_msgTypes[209].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetTopicInitialForecasterEmaScoreResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_emissions_v8_query_proto_msgTypes[210].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetTopicInitialReputerEmaScoreRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_emissions_v8_query_proto_msgTypes[211].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetTopicInitialReputerEmaScoreResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_emissions_v8_query_proto_msgTypes[212].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetLatestRegretStdNormRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_emissions_v8_query_proto_msgTypes[213].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetLatestRegretStdNormResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_emissions_v8_query_proto_msgTypes[214].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetLatestInfererWeightRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_emissions_v8_query_proto_msgTypes[215].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetLatestInfererWeightResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_emissions_v8_query_proto_msgTypes[216].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetLatestForecasterWeightRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_emissions_v8_query_proto_msgTypes[217].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetLatestForecasterWeightResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_emissions_v8_query_proto_rawDesc, + NumEnums: 0, + NumMessages: 218, + NumExtensions: 0, + NumServices: 1, + }, + GoTypes: file_emissions_v8_query_proto_goTypes, + DependencyIndexes: file_emissions_v8_query_proto_depIdxs, + MessageInfos: file_emissions_v8_query_proto_msgTypes, + }.Build() + File_emissions_v8_query_proto = out.File + file_emissions_v8_query_proto_rawDesc = nil + file_emissions_v8_query_proto_goTypes = nil + file_emissions_v8_query_proto_depIdxs = nil +} diff --git a/x/emissions/api/emissions/v8/query_grpc.pb.go b/x/emissions/api/emissions/v8/query_grpc.pb.go new file mode 100644 index 000000000..c32bbb892 --- /dev/null +++ b/x/emissions/api/emissions/v8/query_grpc.pb.go @@ -0,0 +1,4205 @@ +// Code generated by protoc-gen-go-grpc. DO NOT EDIT. +// versions: +// - protoc-gen-go-grpc v1.5.1 +// - protoc (unknown) +// source: emissions/v8/query.proto + +package emissionsv8 + +import ( + context "context" + grpc "google.golang.org/grpc" + codes "google.golang.org/grpc/codes" + status "google.golang.org/grpc/status" +) + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the grpc package it is being compiled against. +// Requires gRPC-Go v1.64.0 or later. +const _ = grpc.SupportPackageIsVersion9 + +const ( + QueryService_GetParams_FullMethodName = "/emissions.v8.QueryService/GetParams" + QueryService_GetNextTopicId_FullMethodName = "/emissions.v8.QueryService/GetNextTopicId" + QueryService_GetTopic_FullMethodName = "/emissions.v8.QueryService/GetTopic" + QueryService_GetWorkerLatestInferenceByTopicId_FullMethodName = "/emissions.v8.QueryService/GetWorkerLatestInferenceByTopicId" + QueryService_GetInferencesAtBlock_FullMethodName = "/emissions.v8.QueryService/GetInferencesAtBlock" + QueryService_GetLatestTopicInferences_FullMethodName = "/emissions.v8.QueryService/GetLatestTopicInferences" + QueryService_GetForecastsAtBlock_FullMethodName = "/emissions.v8.QueryService/GetForecastsAtBlock" + QueryService_GetNetworkLossBundleAtBlock_FullMethodName = "/emissions.v8.QueryService/GetNetworkLossBundleAtBlock" + QueryService_GetTotalStake_FullMethodName = "/emissions.v8.QueryService/GetTotalStake" + QueryService_GetReputerStakeInTopic_FullMethodName = "/emissions.v8.QueryService/GetReputerStakeInTopic" + QueryService_GetMultiReputerStakeInTopic_FullMethodName = "/emissions.v8.QueryService/GetMultiReputerStakeInTopic" + QueryService_GetStakeFromReputerInTopicInSelf_FullMethodName = "/emissions.v8.QueryService/GetStakeFromReputerInTopicInSelf" + QueryService_GetDelegateStakeInTopicInReputer_FullMethodName = "/emissions.v8.QueryService/GetDelegateStakeInTopicInReputer" + QueryService_GetStakeFromDelegatorInTopicInReputer_FullMethodName = "/emissions.v8.QueryService/GetStakeFromDelegatorInTopicInReputer" + QueryService_GetStakeFromDelegatorInTopic_FullMethodName = "/emissions.v8.QueryService/GetStakeFromDelegatorInTopic" + QueryService_GetTopicStake_FullMethodName = "/emissions.v8.QueryService/GetTopicStake" + QueryService_GetStakeRemovalsUpUntilBlock_FullMethodName = "/emissions.v8.QueryService/GetStakeRemovalsUpUntilBlock" + QueryService_GetDelegateStakeRemovalsUpUntilBlock_FullMethodName = "/emissions.v8.QueryService/GetDelegateStakeRemovalsUpUntilBlock" + QueryService_GetStakeRemovalInfo_FullMethodName = "/emissions.v8.QueryService/GetStakeRemovalInfo" + QueryService_GetDelegateStakeRemovalInfo_FullMethodName = "/emissions.v8.QueryService/GetDelegateStakeRemovalInfo" + QueryService_GetWorkerNodeInfo_FullMethodName = "/emissions.v8.QueryService/GetWorkerNodeInfo" + QueryService_GetReputerNodeInfo_FullMethodName = "/emissions.v8.QueryService/GetReputerNodeInfo" + QueryService_IsWorkerRegisteredInTopicId_FullMethodName = "/emissions.v8.QueryService/IsWorkerRegisteredInTopicId" + QueryService_IsReputerRegisteredInTopicId_FullMethodName = "/emissions.v8.QueryService/IsReputerRegisteredInTopicId" + QueryService_GetNetworkInferencesAtBlock_FullMethodName = "/emissions.v8.QueryService/GetNetworkInferencesAtBlock" + QueryService_GetNetworkInferencesAtBlockOutlierResistant_FullMethodName = "/emissions.v8.QueryService/GetNetworkInferencesAtBlockOutlierResistant" + QueryService_GetLatestNetworkInferences_FullMethodName = "/emissions.v8.QueryService/GetLatestNetworkInferences" + QueryService_GetLatestNetworkInferencesOutlierResistant_FullMethodName = "/emissions.v8.QueryService/GetLatestNetworkInferencesOutlierResistant" + QueryService_GetLatestAvailableNetworkInferences_FullMethodName = "/emissions.v8.QueryService/GetLatestAvailableNetworkInferences" + QueryService_GetLatestAvailableNetworkInferencesOutlierResistant_FullMethodName = "/emissions.v8.QueryService/GetLatestAvailableNetworkInferencesOutlierResistant" + QueryService_IsWorkerNonceUnfulfilled_FullMethodName = "/emissions.v8.QueryService/IsWorkerNonceUnfulfilled" + QueryService_IsReputerNonceUnfulfilled_FullMethodName = "/emissions.v8.QueryService/IsReputerNonceUnfulfilled" + QueryService_GetUnfulfilledWorkerNonces_FullMethodName = "/emissions.v8.QueryService/GetUnfulfilledWorkerNonces" + QueryService_GetUnfulfilledReputerNonces_FullMethodName = "/emissions.v8.QueryService/GetUnfulfilledReputerNonces" + QueryService_GetInfererNetworkRegret_FullMethodName = "/emissions.v8.QueryService/GetInfererNetworkRegret" + QueryService_GetForecasterNetworkRegret_FullMethodName = "/emissions.v8.QueryService/GetForecasterNetworkRegret" + QueryService_GetOneInForecasterNetworkRegret_FullMethodName = "/emissions.v8.QueryService/GetOneInForecasterNetworkRegret" + QueryService_IsWhitelistAdmin_FullMethodName = "/emissions.v8.QueryService/IsWhitelistAdmin" + QueryService_GetTopicLastWorkerCommitInfo_FullMethodName = "/emissions.v8.QueryService/GetTopicLastWorkerCommitInfo" + QueryService_GetTopicLastReputerCommitInfo_FullMethodName = "/emissions.v8.QueryService/GetTopicLastReputerCommitInfo" + QueryService_GetTopicRewardNonce_FullMethodName = "/emissions.v8.QueryService/GetTopicRewardNonce" + QueryService_GetReputerLossBundlesAtBlock_FullMethodName = "/emissions.v8.QueryService/GetReputerLossBundlesAtBlock" + QueryService_GetStakeReputerAuthority_FullMethodName = "/emissions.v8.QueryService/GetStakeReputerAuthority" + QueryService_GetDelegateStakePlacement_FullMethodName = "/emissions.v8.QueryService/GetDelegateStakePlacement" + QueryService_GetDelegateStakeUponReputer_FullMethodName = "/emissions.v8.QueryService/GetDelegateStakeUponReputer" + QueryService_GetDelegateRewardPerShare_FullMethodName = "/emissions.v8.QueryService/GetDelegateRewardPerShare" + QueryService_GetStakeRemovalForReputerAndTopicId_FullMethodName = "/emissions.v8.QueryService/GetStakeRemovalForReputerAndTopicId" + QueryService_GetDelegateStakeRemoval_FullMethodName = "/emissions.v8.QueryService/GetDelegateStakeRemoval" + QueryService_GetPreviousTopicWeight_FullMethodName = "/emissions.v8.QueryService/GetPreviousTopicWeight" + QueryService_GetTotalSumPreviousTopicWeights_FullMethodName = "/emissions.v8.QueryService/GetTotalSumPreviousTopicWeights" + QueryService_TopicExists_FullMethodName = "/emissions.v8.QueryService/TopicExists" + QueryService_IsTopicActive_FullMethodName = "/emissions.v8.QueryService/IsTopicActive" + QueryService_GetTopicFeeRevenue_FullMethodName = "/emissions.v8.QueryService/GetTopicFeeRevenue" + QueryService_GetInfererScoreEma_FullMethodName = "/emissions.v8.QueryService/GetInfererScoreEma" + QueryService_GetForecasterScoreEma_FullMethodName = "/emissions.v8.QueryService/GetForecasterScoreEma" + QueryService_GetReputerScoreEma_FullMethodName = "/emissions.v8.QueryService/GetReputerScoreEma" + QueryService_GetInferenceScoresUntilBlock_FullMethodName = "/emissions.v8.QueryService/GetInferenceScoresUntilBlock" + QueryService_GetPreviousTopicQuantileForecasterScoreEma_FullMethodName = "/emissions.v8.QueryService/GetPreviousTopicQuantileForecasterScoreEma" + QueryService_GetPreviousTopicQuantileInfererScoreEma_FullMethodName = "/emissions.v8.QueryService/GetPreviousTopicQuantileInfererScoreEma" + QueryService_GetPreviousTopicQuantileReputerScoreEma_FullMethodName = "/emissions.v8.QueryService/GetPreviousTopicQuantileReputerScoreEma" + QueryService_GetWorkerInferenceScoresAtBlock_FullMethodName = "/emissions.v8.QueryService/GetWorkerInferenceScoresAtBlock" + QueryService_GetCurrentLowestInfererScore_FullMethodName = "/emissions.v8.QueryService/GetCurrentLowestInfererScore" + QueryService_GetForecastScoresUntilBlock_FullMethodName = "/emissions.v8.QueryService/GetForecastScoresUntilBlock" + QueryService_GetWorkerForecastScoresAtBlock_FullMethodName = "/emissions.v8.QueryService/GetWorkerForecastScoresAtBlock" + QueryService_GetCurrentLowestForecasterScore_FullMethodName = "/emissions.v8.QueryService/GetCurrentLowestForecasterScore" + QueryService_GetReputersScoresAtBlock_FullMethodName = "/emissions.v8.QueryService/GetReputersScoresAtBlock" + QueryService_GetCurrentLowestReputerScore_FullMethodName = "/emissions.v8.QueryService/GetCurrentLowestReputerScore" + QueryService_GetListeningCoefficient_FullMethodName = "/emissions.v8.QueryService/GetListeningCoefficient" + QueryService_GetPreviousReputerRewardFraction_FullMethodName = "/emissions.v8.QueryService/GetPreviousReputerRewardFraction" + QueryService_GetPreviousInferenceRewardFraction_FullMethodName = "/emissions.v8.QueryService/GetPreviousInferenceRewardFraction" + QueryService_GetPreviousForecastRewardFraction_FullMethodName = "/emissions.v8.QueryService/GetPreviousForecastRewardFraction" + QueryService_GetPreviousPercentageRewardToStakedReputers_FullMethodName = "/emissions.v8.QueryService/GetPreviousPercentageRewardToStakedReputers" + QueryService_GetTotalRewardToDistribute_FullMethodName = "/emissions.v8.QueryService/GetTotalRewardToDistribute" + QueryService_GetNaiveInfererNetworkRegret_FullMethodName = "/emissions.v8.QueryService/GetNaiveInfererNetworkRegret" + QueryService_GetOneOutInfererInfererNetworkRegret_FullMethodName = "/emissions.v8.QueryService/GetOneOutInfererInfererNetworkRegret" + QueryService_GetOneOutInfererForecasterNetworkRegret_FullMethodName = "/emissions.v8.QueryService/GetOneOutInfererForecasterNetworkRegret" + QueryService_GetOneOutForecasterInfererNetworkRegret_FullMethodName = "/emissions.v8.QueryService/GetOneOutForecasterInfererNetworkRegret" + QueryService_GetOneOutForecasterForecasterNetworkRegret_FullMethodName = "/emissions.v8.QueryService/GetOneOutForecasterForecasterNetworkRegret" + QueryService_GetActiveTopicsAtBlock_FullMethodName = "/emissions.v8.QueryService/GetActiveTopicsAtBlock" + QueryService_GetNextChurningBlockByTopicId_FullMethodName = "/emissions.v8.QueryService/GetNextChurningBlockByTopicId" + QueryService_GetCountInfererInclusionsInTopic_FullMethodName = "/emissions.v8.QueryService/GetCountInfererInclusionsInTopic" + QueryService_GetCountForecasterInclusionsInTopic_FullMethodName = "/emissions.v8.QueryService/GetCountForecasterInclusionsInTopic" + QueryService_GetActiveReputersForTopic_FullMethodName = "/emissions.v8.QueryService/GetActiveReputersForTopic" + QueryService_GetActiveForecastersForTopic_FullMethodName = "/emissions.v8.QueryService/GetActiveForecastersForTopic" + QueryService_GetActiveInferersForTopic_FullMethodName = "/emissions.v8.QueryService/GetActiveInferersForTopic" + QueryService_IsWhitelistedGlobalWorker_FullMethodName = "/emissions.v8.QueryService/IsWhitelistedGlobalWorker" + QueryService_IsWhitelistedGlobalReputer_FullMethodName = "/emissions.v8.QueryService/IsWhitelistedGlobalReputer" + QueryService_IsWhitelistedGlobalAdmin_FullMethodName = "/emissions.v8.QueryService/IsWhitelistedGlobalAdmin" + QueryService_IsTopicWorkerWhitelistEnabled_FullMethodName = "/emissions.v8.QueryService/IsTopicWorkerWhitelistEnabled" + QueryService_IsTopicReputerWhitelistEnabled_FullMethodName = "/emissions.v8.QueryService/IsTopicReputerWhitelistEnabled" + QueryService_IsWhitelistedTopicCreator_FullMethodName = "/emissions.v8.QueryService/IsWhitelistedTopicCreator" + QueryService_IsWhitelistedGlobalActor_FullMethodName = "/emissions.v8.QueryService/IsWhitelistedGlobalActor" + QueryService_IsWhitelistedTopicWorker_FullMethodName = "/emissions.v8.QueryService/IsWhitelistedTopicWorker" + QueryService_IsWhitelistedTopicReputer_FullMethodName = "/emissions.v8.QueryService/IsWhitelistedTopicReputer" + QueryService_CanUpdateAllGlobalWhitelists_FullMethodName = "/emissions.v8.QueryService/CanUpdateAllGlobalWhitelists" + QueryService_CanUpdateGlobalWorkerWhitelist_FullMethodName = "/emissions.v8.QueryService/CanUpdateGlobalWorkerWhitelist" + QueryService_CanUpdateGlobalReputerWhitelist_FullMethodName = "/emissions.v8.QueryService/CanUpdateGlobalReputerWhitelist" + QueryService_CanUpdateParams_FullMethodName = "/emissions.v8.QueryService/CanUpdateParams" + QueryService_CanUpdateTopicWhitelist_FullMethodName = "/emissions.v8.QueryService/CanUpdateTopicWhitelist" + QueryService_CanCreateTopic_FullMethodName = "/emissions.v8.QueryService/CanCreateTopic" + QueryService_CanSubmitWorkerPayload_FullMethodName = "/emissions.v8.QueryService/CanSubmitWorkerPayload" + QueryService_CanSubmitReputerPayload_FullMethodName = "/emissions.v8.QueryService/CanSubmitReputerPayload" + QueryService_GetTopicInitialInfererEmaScore_FullMethodName = "/emissions.v8.QueryService/GetTopicInitialInfererEmaScore" + QueryService_GetTopicInitialForecasterEmaScore_FullMethodName = "/emissions.v8.QueryService/GetTopicInitialForecasterEmaScore" + QueryService_GetTopicInitialReputerEmaScore_FullMethodName = "/emissions.v8.QueryService/GetTopicInitialReputerEmaScore" + QueryService_GetLatestRegretStdNorm_FullMethodName = "/emissions.v8.QueryService/GetLatestRegretStdNorm" + QueryService_GetLatestInfererWeight_FullMethodName = "/emissions.v8.QueryService/GetLatestInfererWeight" + QueryService_GetLatestForecasterWeight_FullMethodName = "/emissions.v8.QueryService/GetLatestForecasterWeight" +) + +// QueryServiceClient is the client API for QueryService 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. +// +// Msg defines the module Msg service. +type QueryServiceClient interface { + // Params returns the module parameters. + GetParams(ctx context.Context, in *GetParamsRequest, opts ...grpc.CallOption) (*GetParamsResponse, error) + GetNextTopicId(ctx context.Context, in *GetNextTopicIdRequest, opts ...grpc.CallOption) (*GetNextTopicIdResponse, error) + GetTopic(ctx context.Context, in *GetTopicRequest, opts ...grpc.CallOption) (*GetTopicResponse, error) + GetWorkerLatestInferenceByTopicId(ctx context.Context, in *GetWorkerLatestInferenceByTopicIdRequest, opts ...grpc.CallOption) (*GetWorkerLatestInferenceByTopicIdResponse, error) + GetInferencesAtBlock(ctx context.Context, in *GetInferencesAtBlockRequest, opts ...grpc.CallOption) (*GetInferencesAtBlockResponse, error) + GetLatestTopicInferences(ctx context.Context, in *GetLatestTopicInferencesRequest, opts ...grpc.CallOption) (*GetLatestTopicInferencesResponse, error) + GetForecastsAtBlock(ctx context.Context, in *GetForecastsAtBlockRequest, opts ...grpc.CallOption) (*GetForecastsAtBlockResponse, error) + GetNetworkLossBundleAtBlock(ctx context.Context, in *GetNetworkLossBundleAtBlockRequest, opts ...grpc.CallOption) (*GetNetworkLossBundleAtBlockResponse, error) + GetTotalStake(ctx context.Context, in *GetTotalStakeRequest, opts ...grpc.CallOption) (*GetTotalStakeResponse, error) + GetReputerStakeInTopic(ctx context.Context, in *GetReputerStakeInTopicRequest, opts ...grpc.CallOption) (*GetReputerStakeInTopicResponse, error) + GetMultiReputerStakeInTopic(ctx context.Context, in *GetMultiReputerStakeInTopicRequest, opts ...grpc.CallOption) (*GetMultiReputerStakeInTopicResponse, error) + GetStakeFromReputerInTopicInSelf(ctx context.Context, in *GetStakeFromReputerInTopicInSelfRequest, opts ...grpc.CallOption) (*GetStakeFromReputerInTopicInSelfResponse, error) + GetDelegateStakeInTopicInReputer(ctx context.Context, in *GetDelegateStakeInTopicInReputerRequest, opts ...grpc.CallOption) (*GetDelegateStakeInTopicInReputerResponse, error) + GetStakeFromDelegatorInTopicInReputer(ctx context.Context, in *GetStakeFromDelegatorInTopicInReputerRequest, opts ...grpc.CallOption) (*GetStakeFromDelegatorInTopicInReputerResponse, error) + GetStakeFromDelegatorInTopic(ctx context.Context, in *GetStakeFromDelegatorInTopicRequest, opts ...grpc.CallOption) (*GetStakeFromDelegatorInTopicResponse, error) + GetTopicStake(ctx context.Context, in *GetTopicStakeRequest, opts ...grpc.CallOption) (*GetTopicStakeResponse, error) + GetStakeRemovalsUpUntilBlock(ctx context.Context, in *GetStakeRemovalsUpUntilBlockRequest, opts ...grpc.CallOption) (*GetStakeRemovalsUpUntilBlockResponse, error) + GetDelegateStakeRemovalsUpUntilBlock(ctx context.Context, in *GetDelegateStakeRemovalsUpUntilBlockRequest, opts ...grpc.CallOption) (*GetDelegateStakeRemovalsUpUntilBlockResponse, error) + GetStakeRemovalInfo(ctx context.Context, in *GetStakeRemovalInfoRequest, opts ...grpc.CallOption) (*GetStakeRemovalInfoResponse, error) + GetDelegateStakeRemovalInfo(ctx context.Context, in *GetDelegateStakeRemovalInfoRequest, opts ...grpc.CallOption) (*GetDelegateStakeRemovalInfoResponse, error) + GetWorkerNodeInfo(ctx context.Context, in *GetWorkerNodeInfoRequest, opts ...grpc.CallOption) (*GetWorkerNodeInfoResponse, error) + GetReputerNodeInfo(ctx context.Context, in *GetReputerNodeInfoRequest, opts ...grpc.CallOption) (*GetReputerNodeInfoResponse, error) + IsWorkerRegisteredInTopicId(ctx context.Context, in *IsWorkerRegisteredInTopicIdRequest, opts ...grpc.CallOption) (*IsWorkerRegisteredInTopicIdResponse, error) + IsReputerRegisteredInTopicId(ctx context.Context, in *IsReputerRegisteredInTopicIdRequest, opts ...grpc.CallOption) (*IsReputerRegisteredInTopicIdResponse, error) + GetNetworkInferencesAtBlock(ctx context.Context, in *GetNetworkInferencesAtBlockRequest, opts ...grpc.CallOption) (*GetNetworkInferencesAtBlockResponse, error) + GetNetworkInferencesAtBlockOutlierResistant(ctx context.Context, in *GetNetworkInferencesAtBlockOutlierResistantRequest, opts ...grpc.CallOption) (*GetNetworkInferencesAtBlockOutlierResistantResponse, error) + GetLatestNetworkInferences(ctx context.Context, in *GetLatestNetworkInferencesRequest, opts ...grpc.CallOption) (*GetLatestNetworkInferencesResponse, error) + GetLatestNetworkInferencesOutlierResistant(ctx context.Context, in *GetLatestNetworkInferencesOutlierResistantRequest, opts ...grpc.CallOption) (*GetLatestNetworkInferencesOutlierResistantResponse, error) + GetLatestAvailableNetworkInferences(ctx context.Context, in *GetLatestAvailableNetworkInferencesRequest, opts ...grpc.CallOption) (*GetLatestAvailableNetworkInferencesResponse, error) + GetLatestAvailableNetworkInferencesOutlierResistant(ctx context.Context, in *GetLatestAvailableNetworkInferencesOutlierResistantRequest, opts ...grpc.CallOption) (*GetLatestAvailableNetworkInferencesOutlierResistantResponse, error) + IsWorkerNonceUnfulfilled(ctx context.Context, in *IsWorkerNonceUnfulfilledRequest, opts ...grpc.CallOption) (*IsWorkerNonceUnfulfilledResponse, error) + IsReputerNonceUnfulfilled(ctx context.Context, in *IsReputerNonceUnfulfilledRequest, opts ...grpc.CallOption) (*IsReputerNonceUnfulfilledResponse, error) + GetUnfulfilledWorkerNonces(ctx context.Context, in *GetUnfulfilledWorkerNoncesRequest, opts ...grpc.CallOption) (*GetUnfulfilledWorkerNoncesResponse, error) + GetUnfulfilledReputerNonces(ctx context.Context, in *GetUnfulfilledReputerNoncesRequest, opts ...grpc.CallOption) (*GetUnfulfilledReputerNoncesResponse, error) + GetInfererNetworkRegret(ctx context.Context, in *GetInfererNetworkRegretRequest, opts ...grpc.CallOption) (*GetInfererNetworkRegretResponse, error) + GetForecasterNetworkRegret(ctx context.Context, in *GetForecasterNetworkRegretRequest, opts ...grpc.CallOption) (*GetForecasterNetworkRegretResponse, error) + GetOneInForecasterNetworkRegret(ctx context.Context, in *GetOneInForecasterNetworkRegretRequest, opts ...grpc.CallOption) (*GetOneInForecasterNetworkRegretResponse, error) + IsWhitelistAdmin(ctx context.Context, in *IsWhitelistAdminRequest, opts ...grpc.CallOption) (*IsWhitelistAdminResponse, error) + GetTopicLastWorkerCommitInfo(ctx context.Context, in *GetTopicLastWorkerCommitInfoRequest, opts ...grpc.CallOption) (*GetTopicLastWorkerCommitInfoResponse, error) + GetTopicLastReputerCommitInfo(ctx context.Context, in *GetTopicLastReputerCommitInfoRequest, opts ...grpc.CallOption) (*GetTopicLastReputerCommitInfoResponse, error) + GetTopicRewardNonce(ctx context.Context, in *GetTopicRewardNonceRequest, opts ...grpc.CallOption) (*GetTopicRewardNonceResponse, error) + GetReputerLossBundlesAtBlock(ctx context.Context, in *GetReputerLossBundlesAtBlockRequest, opts ...grpc.CallOption) (*GetReputerLossBundlesAtBlockResponse, error) + GetStakeReputerAuthority(ctx context.Context, in *GetStakeReputerAuthorityRequest, opts ...grpc.CallOption) (*GetStakeReputerAuthorityResponse, error) + GetDelegateStakePlacement(ctx context.Context, in *GetDelegateStakePlacementRequest, opts ...grpc.CallOption) (*GetDelegateStakePlacementResponse, error) + GetDelegateStakeUponReputer(ctx context.Context, in *GetDelegateStakeUponReputerRequest, opts ...grpc.CallOption) (*GetDelegateStakeUponReputerResponse, error) + GetDelegateRewardPerShare(ctx context.Context, in *GetDelegateRewardPerShareRequest, opts ...grpc.CallOption) (*GetDelegateRewardPerShareResponse, error) + GetStakeRemovalForReputerAndTopicId(ctx context.Context, in *GetStakeRemovalForReputerAndTopicIdRequest, opts ...grpc.CallOption) (*GetStakeRemovalForReputerAndTopicIdResponse, error) + GetDelegateStakeRemoval(ctx context.Context, in *GetDelegateStakeRemovalRequest, opts ...grpc.CallOption) (*GetDelegateStakeRemovalResponse, error) + GetPreviousTopicWeight(ctx context.Context, in *GetPreviousTopicWeightRequest, opts ...grpc.CallOption) (*GetPreviousTopicWeightResponse, error) + GetTotalSumPreviousTopicWeights(ctx context.Context, in *GetTotalSumPreviousTopicWeightsRequest, opts ...grpc.CallOption) (*GetTotalSumPreviousTopicWeightsResponse, error) + TopicExists(ctx context.Context, in *TopicExistsRequest, opts ...grpc.CallOption) (*TopicExistsResponse, error) + IsTopicActive(ctx context.Context, in *IsTopicActiveRequest, opts ...grpc.CallOption) (*IsTopicActiveResponse, error) + GetTopicFeeRevenue(ctx context.Context, in *GetTopicFeeRevenueRequest, opts ...grpc.CallOption) (*GetTopicFeeRevenueResponse, error) + GetInfererScoreEma(ctx context.Context, in *GetInfererScoreEmaRequest, opts ...grpc.CallOption) (*GetInfererScoreEmaResponse, error) + GetForecasterScoreEma(ctx context.Context, in *GetForecasterScoreEmaRequest, opts ...grpc.CallOption) (*GetForecasterScoreEmaResponse, error) + GetReputerScoreEma(ctx context.Context, in *GetReputerScoreEmaRequest, opts ...grpc.CallOption) (*GetReputerScoreEmaResponse, error) + GetInferenceScoresUntilBlock(ctx context.Context, in *GetInferenceScoresUntilBlockRequest, opts ...grpc.CallOption) (*GetInferenceScoresUntilBlockResponse, error) + GetPreviousTopicQuantileForecasterScoreEma(ctx context.Context, in *GetPreviousTopicQuantileForecasterScoreEmaRequest, opts ...grpc.CallOption) (*GetPreviousTopicQuantileForecasterScoreEmaResponse, error) + GetPreviousTopicQuantileInfererScoreEma(ctx context.Context, in *GetPreviousTopicQuantileInfererScoreEmaRequest, opts ...grpc.CallOption) (*GetPreviousTopicQuantileInfererScoreEmaResponse, error) + GetPreviousTopicQuantileReputerScoreEma(ctx context.Context, in *GetPreviousTopicQuantileReputerScoreEmaRequest, opts ...grpc.CallOption) (*GetPreviousTopicQuantileReputerScoreEmaResponse, error) + GetWorkerInferenceScoresAtBlock(ctx context.Context, in *GetWorkerInferenceScoresAtBlockRequest, opts ...grpc.CallOption) (*GetWorkerInferenceScoresAtBlockResponse, error) + GetCurrentLowestInfererScore(ctx context.Context, in *GetCurrentLowestInfererScoreRequest, opts ...grpc.CallOption) (*GetCurrentLowestInfererScoreResponse, error) + GetForecastScoresUntilBlock(ctx context.Context, in *GetForecastScoresUntilBlockRequest, opts ...grpc.CallOption) (*GetForecastScoresUntilBlockResponse, error) + GetWorkerForecastScoresAtBlock(ctx context.Context, in *GetWorkerForecastScoresAtBlockRequest, opts ...grpc.CallOption) (*GetWorkerForecastScoresAtBlockResponse, error) + GetCurrentLowestForecasterScore(ctx context.Context, in *GetCurrentLowestForecasterScoreRequest, opts ...grpc.CallOption) (*GetCurrentLowestForecasterScoreResponse, error) + GetReputersScoresAtBlock(ctx context.Context, in *GetReputersScoresAtBlockRequest, opts ...grpc.CallOption) (*GetReputersScoresAtBlockResponse, error) + GetCurrentLowestReputerScore(ctx context.Context, in *GetCurrentLowestReputerScoreRequest, opts ...grpc.CallOption) (*GetCurrentLowestReputerScoreResponse, error) + GetListeningCoefficient(ctx context.Context, in *GetListeningCoefficientRequest, opts ...grpc.CallOption) (*GetListeningCoefficientResponse, error) + GetPreviousReputerRewardFraction(ctx context.Context, in *GetPreviousReputerRewardFractionRequest, opts ...grpc.CallOption) (*GetPreviousReputerRewardFractionResponse, error) + GetPreviousInferenceRewardFraction(ctx context.Context, in *GetPreviousInferenceRewardFractionRequest, opts ...grpc.CallOption) (*GetPreviousInferenceRewardFractionResponse, error) + GetPreviousForecastRewardFraction(ctx context.Context, in *GetPreviousForecastRewardFractionRequest, opts ...grpc.CallOption) (*GetPreviousForecastRewardFractionResponse, error) + GetPreviousPercentageRewardToStakedReputers(ctx context.Context, in *GetPreviousPercentageRewardToStakedReputersRequest, opts ...grpc.CallOption) (*GetPreviousPercentageRewardToStakedReputersResponse, error) + GetTotalRewardToDistribute(ctx context.Context, in *GetTotalRewardToDistributeRequest, opts ...grpc.CallOption) (*GetTotalRewardToDistributeResponse, error) + GetNaiveInfererNetworkRegret(ctx context.Context, in *GetNaiveInfererNetworkRegretRequest, opts ...grpc.CallOption) (*GetNaiveInfererNetworkRegretResponse, error) + GetOneOutInfererInfererNetworkRegret(ctx context.Context, in *GetOneOutInfererInfererNetworkRegretRequest, opts ...grpc.CallOption) (*GetOneOutInfererInfererNetworkRegretResponse, error) + GetOneOutInfererForecasterNetworkRegret(ctx context.Context, in *GetOneOutInfererForecasterNetworkRegretRequest, opts ...grpc.CallOption) (*GetOneOutInfererForecasterNetworkRegretResponse, error) + GetOneOutForecasterInfererNetworkRegret(ctx context.Context, in *GetOneOutForecasterInfererNetworkRegretRequest, opts ...grpc.CallOption) (*GetOneOutForecasterInfererNetworkRegretResponse, error) + GetOneOutForecasterForecasterNetworkRegret(ctx context.Context, in *GetOneOutForecasterForecasterNetworkRegretRequest, opts ...grpc.CallOption) (*GetOneOutForecasterForecasterNetworkRegretResponse, error) + GetActiveTopicsAtBlock(ctx context.Context, in *GetActiveTopicsAtBlockRequest, opts ...grpc.CallOption) (*GetActiveTopicsAtBlockResponse, error) + GetNextChurningBlockByTopicId(ctx context.Context, in *GetNextChurningBlockByTopicIdRequest, opts ...grpc.CallOption) (*GetNextChurningBlockByTopicIdResponse, error) + GetCountInfererInclusionsInTopic(ctx context.Context, in *GetCountInfererInclusionsInTopicRequest, opts ...grpc.CallOption) (*GetCountInfererInclusionsInTopicResponse, error) + GetCountForecasterInclusionsInTopic(ctx context.Context, in *GetCountForecasterInclusionsInTopicRequest, opts ...grpc.CallOption) (*GetCountForecasterInclusionsInTopicResponse, error) + GetActiveReputersForTopic(ctx context.Context, in *GetActiveReputersForTopicRequest, opts ...grpc.CallOption) (*GetActiveReputersForTopicResponse, error) + GetActiveForecastersForTopic(ctx context.Context, in *GetActiveForecastersForTopicRequest, opts ...grpc.CallOption) (*GetActiveForecastersForTopicResponse, error) + GetActiveInferersForTopic(ctx context.Context, in *GetActiveInferersForTopicRequest, opts ...grpc.CallOption) (*GetActiveInferersForTopicResponse, error) + IsWhitelistedGlobalWorker(ctx context.Context, in *IsWhitelistedGlobalWorkerRequest, opts ...grpc.CallOption) (*IsWhitelistedGlobalWorkerResponse, error) + IsWhitelistedGlobalReputer(ctx context.Context, in *IsWhitelistedGlobalReputerRequest, opts ...grpc.CallOption) (*IsWhitelistedGlobalReputerResponse, error) + IsWhitelistedGlobalAdmin(ctx context.Context, in *IsWhitelistedGlobalAdminRequest, opts ...grpc.CallOption) (*IsWhitelistedGlobalAdminResponse, error) + IsTopicWorkerWhitelistEnabled(ctx context.Context, in *IsTopicWorkerWhitelistEnabledRequest, opts ...grpc.CallOption) (*IsTopicWorkerWhitelistEnabledResponse, error) + IsTopicReputerWhitelistEnabled(ctx context.Context, in *IsTopicReputerWhitelistEnabledRequest, opts ...grpc.CallOption) (*IsTopicReputerWhitelistEnabledResponse, error) + IsWhitelistedTopicCreator(ctx context.Context, in *IsWhitelistedTopicCreatorRequest, opts ...grpc.CallOption) (*IsWhitelistedTopicCreatorResponse, error) + IsWhitelistedGlobalActor(ctx context.Context, in *IsWhitelistedGlobalActorRequest, opts ...grpc.CallOption) (*IsWhitelistedGlobalActorResponse, error) + IsWhitelistedTopicWorker(ctx context.Context, in *IsWhitelistedTopicWorkerRequest, opts ...grpc.CallOption) (*IsWhitelistedTopicWorkerResponse, error) + IsWhitelistedTopicReputer(ctx context.Context, in *IsWhitelistedTopicReputerRequest, opts ...grpc.CallOption) (*IsWhitelistedTopicReputerResponse, error) + CanUpdateAllGlobalWhitelists(ctx context.Context, in *CanUpdateAllGlobalWhitelistsRequest, opts ...grpc.CallOption) (*CanUpdateAllGlobalWhitelistsResponse, error) + CanUpdateGlobalWorkerWhitelist(ctx context.Context, in *CanUpdateGlobalWorkerWhitelistRequest, opts ...grpc.CallOption) (*CanUpdateGlobalWorkerWhitelistResponse, error) + CanUpdateGlobalReputerWhitelist(ctx context.Context, in *CanUpdateGlobalReputerWhitelistRequest, opts ...grpc.CallOption) (*CanUpdateGlobalReputerWhitelistResponse, error) + CanUpdateParams(ctx context.Context, in *CanUpdateParamsRequest, opts ...grpc.CallOption) (*CanUpdateParamsResponse, error) + CanUpdateTopicWhitelist(ctx context.Context, in *CanUpdateTopicWhitelistRequest, opts ...grpc.CallOption) (*CanUpdateTopicWhitelistResponse, error) + CanCreateTopic(ctx context.Context, in *CanCreateTopicRequest, opts ...grpc.CallOption) (*CanCreateTopicResponse, error) + CanSubmitWorkerPayload(ctx context.Context, in *CanSubmitWorkerPayloadRequest, opts ...grpc.CallOption) (*CanSubmitWorkerPayloadResponse, error) + CanSubmitReputerPayload(ctx context.Context, in *CanSubmitReputerPayloadRequest, opts ...grpc.CallOption) (*CanSubmitReputerPayloadResponse, error) + // GetTopicInitialInfererEmaScore returns the initial EMA score for inferers in a topic + GetTopicInitialInfererEmaScore(ctx context.Context, in *GetTopicInitialInfererEmaScoreRequest, opts ...grpc.CallOption) (*GetTopicInitialInfererEmaScoreResponse, error) + // GetTopicInitialForecasterEmaScore returns the initial EMA score for forecasters in a topic + GetTopicInitialForecasterEmaScore(ctx context.Context, in *GetTopicInitialForecasterEmaScoreRequest, opts ...grpc.CallOption) (*GetTopicInitialForecasterEmaScoreResponse, error) + // GetTopicInitialReputerEmaScore returns the initial EMA score for reputers in a topic + GetTopicInitialReputerEmaScore(ctx context.Context, in *GetTopicInitialReputerEmaScoreRequest, opts ...grpc.CallOption) (*GetTopicInitialReputerEmaScoreResponse, error) + // Get latest regret stdnorm for a topic + GetLatestRegretStdNorm(ctx context.Context, in *GetLatestRegretStdNormRequest, opts ...grpc.CallOption) (*GetLatestRegretStdNormResponse, error) + // Get latest inferer weight for a topic and actor + GetLatestInfererWeight(ctx context.Context, in *GetLatestInfererWeightRequest, opts ...grpc.CallOption) (*GetLatestInfererWeightResponse, error) + // Get latest forecaster weight for a topic and actor + GetLatestForecasterWeight(ctx context.Context, in *GetLatestForecasterWeightRequest, opts ...grpc.CallOption) (*GetLatestForecasterWeightResponse, error) +} + +type queryServiceClient struct { + cc grpc.ClientConnInterface +} + +func NewQueryServiceClient(cc grpc.ClientConnInterface) QueryServiceClient { + return &queryServiceClient{cc} +} + +func (c *queryServiceClient) GetParams(ctx context.Context, in *GetParamsRequest, opts ...grpc.CallOption) (*GetParamsResponse, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) + out := new(GetParamsResponse) + err := c.cc.Invoke(ctx, QueryService_GetParams_FullMethodName, in, out, cOpts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *queryServiceClient) GetNextTopicId(ctx context.Context, in *GetNextTopicIdRequest, opts ...grpc.CallOption) (*GetNextTopicIdResponse, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) + out := new(GetNextTopicIdResponse) + err := c.cc.Invoke(ctx, QueryService_GetNextTopicId_FullMethodName, in, out, cOpts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *queryServiceClient) GetTopic(ctx context.Context, in *GetTopicRequest, opts ...grpc.CallOption) (*GetTopicResponse, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) + out := new(GetTopicResponse) + err := c.cc.Invoke(ctx, QueryService_GetTopic_FullMethodName, in, out, cOpts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *queryServiceClient) GetWorkerLatestInferenceByTopicId(ctx context.Context, in *GetWorkerLatestInferenceByTopicIdRequest, opts ...grpc.CallOption) (*GetWorkerLatestInferenceByTopicIdResponse, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) + out := new(GetWorkerLatestInferenceByTopicIdResponse) + err := c.cc.Invoke(ctx, QueryService_GetWorkerLatestInferenceByTopicId_FullMethodName, in, out, cOpts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *queryServiceClient) GetInferencesAtBlock(ctx context.Context, in *GetInferencesAtBlockRequest, opts ...grpc.CallOption) (*GetInferencesAtBlockResponse, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) + out := new(GetInferencesAtBlockResponse) + err := c.cc.Invoke(ctx, QueryService_GetInferencesAtBlock_FullMethodName, in, out, cOpts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *queryServiceClient) GetLatestTopicInferences(ctx context.Context, in *GetLatestTopicInferencesRequest, opts ...grpc.CallOption) (*GetLatestTopicInferencesResponse, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) + out := new(GetLatestTopicInferencesResponse) + err := c.cc.Invoke(ctx, QueryService_GetLatestTopicInferences_FullMethodName, in, out, cOpts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *queryServiceClient) GetForecastsAtBlock(ctx context.Context, in *GetForecastsAtBlockRequest, opts ...grpc.CallOption) (*GetForecastsAtBlockResponse, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) + out := new(GetForecastsAtBlockResponse) + err := c.cc.Invoke(ctx, QueryService_GetForecastsAtBlock_FullMethodName, in, out, cOpts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *queryServiceClient) GetNetworkLossBundleAtBlock(ctx context.Context, in *GetNetworkLossBundleAtBlockRequest, opts ...grpc.CallOption) (*GetNetworkLossBundleAtBlockResponse, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) + out := new(GetNetworkLossBundleAtBlockResponse) + err := c.cc.Invoke(ctx, QueryService_GetNetworkLossBundleAtBlock_FullMethodName, in, out, cOpts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *queryServiceClient) GetTotalStake(ctx context.Context, in *GetTotalStakeRequest, opts ...grpc.CallOption) (*GetTotalStakeResponse, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) + out := new(GetTotalStakeResponse) + err := c.cc.Invoke(ctx, QueryService_GetTotalStake_FullMethodName, in, out, cOpts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *queryServiceClient) GetReputerStakeInTopic(ctx context.Context, in *GetReputerStakeInTopicRequest, opts ...grpc.CallOption) (*GetReputerStakeInTopicResponse, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) + out := new(GetReputerStakeInTopicResponse) + err := c.cc.Invoke(ctx, QueryService_GetReputerStakeInTopic_FullMethodName, in, out, cOpts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *queryServiceClient) GetMultiReputerStakeInTopic(ctx context.Context, in *GetMultiReputerStakeInTopicRequest, opts ...grpc.CallOption) (*GetMultiReputerStakeInTopicResponse, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) + out := new(GetMultiReputerStakeInTopicResponse) + err := c.cc.Invoke(ctx, QueryService_GetMultiReputerStakeInTopic_FullMethodName, in, out, cOpts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *queryServiceClient) GetStakeFromReputerInTopicInSelf(ctx context.Context, in *GetStakeFromReputerInTopicInSelfRequest, opts ...grpc.CallOption) (*GetStakeFromReputerInTopicInSelfResponse, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) + out := new(GetStakeFromReputerInTopicInSelfResponse) + err := c.cc.Invoke(ctx, QueryService_GetStakeFromReputerInTopicInSelf_FullMethodName, in, out, cOpts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *queryServiceClient) GetDelegateStakeInTopicInReputer(ctx context.Context, in *GetDelegateStakeInTopicInReputerRequest, opts ...grpc.CallOption) (*GetDelegateStakeInTopicInReputerResponse, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) + out := new(GetDelegateStakeInTopicInReputerResponse) + err := c.cc.Invoke(ctx, QueryService_GetDelegateStakeInTopicInReputer_FullMethodName, in, out, cOpts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *queryServiceClient) GetStakeFromDelegatorInTopicInReputer(ctx context.Context, in *GetStakeFromDelegatorInTopicInReputerRequest, opts ...grpc.CallOption) (*GetStakeFromDelegatorInTopicInReputerResponse, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) + out := new(GetStakeFromDelegatorInTopicInReputerResponse) + err := c.cc.Invoke(ctx, QueryService_GetStakeFromDelegatorInTopicInReputer_FullMethodName, in, out, cOpts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *queryServiceClient) GetStakeFromDelegatorInTopic(ctx context.Context, in *GetStakeFromDelegatorInTopicRequest, opts ...grpc.CallOption) (*GetStakeFromDelegatorInTopicResponse, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) + out := new(GetStakeFromDelegatorInTopicResponse) + err := c.cc.Invoke(ctx, QueryService_GetStakeFromDelegatorInTopic_FullMethodName, in, out, cOpts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *queryServiceClient) GetTopicStake(ctx context.Context, in *GetTopicStakeRequest, opts ...grpc.CallOption) (*GetTopicStakeResponse, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) + out := new(GetTopicStakeResponse) + err := c.cc.Invoke(ctx, QueryService_GetTopicStake_FullMethodName, in, out, cOpts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *queryServiceClient) GetStakeRemovalsUpUntilBlock(ctx context.Context, in *GetStakeRemovalsUpUntilBlockRequest, opts ...grpc.CallOption) (*GetStakeRemovalsUpUntilBlockResponse, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) + out := new(GetStakeRemovalsUpUntilBlockResponse) + err := c.cc.Invoke(ctx, QueryService_GetStakeRemovalsUpUntilBlock_FullMethodName, in, out, cOpts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *queryServiceClient) GetDelegateStakeRemovalsUpUntilBlock(ctx context.Context, in *GetDelegateStakeRemovalsUpUntilBlockRequest, opts ...grpc.CallOption) (*GetDelegateStakeRemovalsUpUntilBlockResponse, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) + out := new(GetDelegateStakeRemovalsUpUntilBlockResponse) + err := c.cc.Invoke(ctx, QueryService_GetDelegateStakeRemovalsUpUntilBlock_FullMethodName, in, out, cOpts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *queryServiceClient) GetStakeRemovalInfo(ctx context.Context, in *GetStakeRemovalInfoRequest, opts ...grpc.CallOption) (*GetStakeRemovalInfoResponse, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) + out := new(GetStakeRemovalInfoResponse) + err := c.cc.Invoke(ctx, QueryService_GetStakeRemovalInfo_FullMethodName, in, out, cOpts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *queryServiceClient) GetDelegateStakeRemovalInfo(ctx context.Context, in *GetDelegateStakeRemovalInfoRequest, opts ...grpc.CallOption) (*GetDelegateStakeRemovalInfoResponse, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) + out := new(GetDelegateStakeRemovalInfoResponse) + err := c.cc.Invoke(ctx, QueryService_GetDelegateStakeRemovalInfo_FullMethodName, in, out, cOpts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *queryServiceClient) GetWorkerNodeInfo(ctx context.Context, in *GetWorkerNodeInfoRequest, opts ...grpc.CallOption) (*GetWorkerNodeInfoResponse, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) + out := new(GetWorkerNodeInfoResponse) + err := c.cc.Invoke(ctx, QueryService_GetWorkerNodeInfo_FullMethodName, in, out, cOpts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *queryServiceClient) GetReputerNodeInfo(ctx context.Context, in *GetReputerNodeInfoRequest, opts ...grpc.CallOption) (*GetReputerNodeInfoResponse, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) + out := new(GetReputerNodeInfoResponse) + err := c.cc.Invoke(ctx, QueryService_GetReputerNodeInfo_FullMethodName, in, out, cOpts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *queryServiceClient) IsWorkerRegisteredInTopicId(ctx context.Context, in *IsWorkerRegisteredInTopicIdRequest, opts ...grpc.CallOption) (*IsWorkerRegisteredInTopicIdResponse, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) + out := new(IsWorkerRegisteredInTopicIdResponse) + err := c.cc.Invoke(ctx, QueryService_IsWorkerRegisteredInTopicId_FullMethodName, in, out, cOpts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *queryServiceClient) IsReputerRegisteredInTopicId(ctx context.Context, in *IsReputerRegisteredInTopicIdRequest, opts ...grpc.CallOption) (*IsReputerRegisteredInTopicIdResponse, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) + out := new(IsReputerRegisteredInTopicIdResponse) + err := c.cc.Invoke(ctx, QueryService_IsReputerRegisteredInTopicId_FullMethodName, in, out, cOpts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *queryServiceClient) GetNetworkInferencesAtBlock(ctx context.Context, in *GetNetworkInferencesAtBlockRequest, opts ...grpc.CallOption) (*GetNetworkInferencesAtBlockResponse, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) + out := new(GetNetworkInferencesAtBlockResponse) + err := c.cc.Invoke(ctx, QueryService_GetNetworkInferencesAtBlock_FullMethodName, in, out, cOpts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *queryServiceClient) GetNetworkInferencesAtBlockOutlierResistant(ctx context.Context, in *GetNetworkInferencesAtBlockOutlierResistantRequest, opts ...grpc.CallOption) (*GetNetworkInferencesAtBlockOutlierResistantResponse, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) + out := new(GetNetworkInferencesAtBlockOutlierResistantResponse) + err := c.cc.Invoke(ctx, QueryService_GetNetworkInferencesAtBlockOutlierResistant_FullMethodName, in, out, cOpts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *queryServiceClient) GetLatestNetworkInferences(ctx context.Context, in *GetLatestNetworkInferencesRequest, opts ...grpc.CallOption) (*GetLatestNetworkInferencesResponse, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) + out := new(GetLatestNetworkInferencesResponse) + err := c.cc.Invoke(ctx, QueryService_GetLatestNetworkInferences_FullMethodName, in, out, cOpts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *queryServiceClient) GetLatestNetworkInferencesOutlierResistant(ctx context.Context, in *GetLatestNetworkInferencesOutlierResistantRequest, opts ...grpc.CallOption) (*GetLatestNetworkInferencesOutlierResistantResponse, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) + out := new(GetLatestNetworkInferencesOutlierResistantResponse) + err := c.cc.Invoke(ctx, QueryService_GetLatestNetworkInferencesOutlierResistant_FullMethodName, in, out, cOpts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *queryServiceClient) GetLatestAvailableNetworkInferences(ctx context.Context, in *GetLatestAvailableNetworkInferencesRequest, opts ...grpc.CallOption) (*GetLatestAvailableNetworkInferencesResponse, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) + out := new(GetLatestAvailableNetworkInferencesResponse) + err := c.cc.Invoke(ctx, QueryService_GetLatestAvailableNetworkInferences_FullMethodName, in, out, cOpts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *queryServiceClient) GetLatestAvailableNetworkInferencesOutlierResistant(ctx context.Context, in *GetLatestAvailableNetworkInferencesOutlierResistantRequest, opts ...grpc.CallOption) (*GetLatestAvailableNetworkInferencesOutlierResistantResponse, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) + out := new(GetLatestAvailableNetworkInferencesOutlierResistantResponse) + err := c.cc.Invoke(ctx, QueryService_GetLatestAvailableNetworkInferencesOutlierResistant_FullMethodName, in, out, cOpts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *queryServiceClient) IsWorkerNonceUnfulfilled(ctx context.Context, in *IsWorkerNonceUnfulfilledRequest, opts ...grpc.CallOption) (*IsWorkerNonceUnfulfilledResponse, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) + out := new(IsWorkerNonceUnfulfilledResponse) + err := c.cc.Invoke(ctx, QueryService_IsWorkerNonceUnfulfilled_FullMethodName, in, out, cOpts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *queryServiceClient) IsReputerNonceUnfulfilled(ctx context.Context, in *IsReputerNonceUnfulfilledRequest, opts ...grpc.CallOption) (*IsReputerNonceUnfulfilledResponse, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) + out := new(IsReputerNonceUnfulfilledResponse) + err := c.cc.Invoke(ctx, QueryService_IsReputerNonceUnfulfilled_FullMethodName, in, out, cOpts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *queryServiceClient) GetUnfulfilledWorkerNonces(ctx context.Context, in *GetUnfulfilledWorkerNoncesRequest, opts ...grpc.CallOption) (*GetUnfulfilledWorkerNoncesResponse, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) + out := new(GetUnfulfilledWorkerNoncesResponse) + err := c.cc.Invoke(ctx, QueryService_GetUnfulfilledWorkerNonces_FullMethodName, in, out, cOpts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *queryServiceClient) GetUnfulfilledReputerNonces(ctx context.Context, in *GetUnfulfilledReputerNoncesRequest, opts ...grpc.CallOption) (*GetUnfulfilledReputerNoncesResponse, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) + out := new(GetUnfulfilledReputerNoncesResponse) + err := c.cc.Invoke(ctx, QueryService_GetUnfulfilledReputerNonces_FullMethodName, in, out, cOpts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *queryServiceClient) GetInfererNetworkRegret(ctx context.Context, in *GetInfererNetworkRegretRequest, opts ...grpc.CallOption) (*GetInfererNetworkRegretResponse, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) + out := new(GetInfererNetworkRegretResponse) + err := c.cc.Invoke(ctx, QueryService_GetInfererNetworkRegret_FullMethodName, in, out, cOpts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *queryServiceClient) GetForecasterNetworkRegret(ctx context.Context, in *GetForecasterNetworkRegretRequest, opts ...grpc.CallOption) (*GetForecasterNetworkRegretResponse, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) + out := new(GetForecasterNetworkRegretResponse) + err := c.cc.Invoke(ctx, QueryService_GetForecasterNetworkRegret_FullMethodName, in, out, cOpts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *queryServiceClient) GetOneInForecasterNetworkRegret(ctx context.Context, in *GetOneInForecasterNetworkRegretRequest, opts ...grpc.CallOption) (*GetOneInForecasterNetworkRegretResponse, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) + out := new(GetOneInForecasterNetworkRegretResponse) + err := c.cc.Invoke(ctx, QueryService_GetOneInForecasterNetworkRegret_FullMethodName, in, out, cOpts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *queryServiceClient) IsWhitelistAdmin(ctx context.Context, in *IsWhitelistAdminRequest, opts ...grpc.CallOption) (*IsWhitelistAdminResponse, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) + out := new(IsWhitelistAdminResponse) + err := c.cc.Invoke(ctx, QueryService_IsWhitelistAdmin_FullMethodName, in, out, cOpts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *queryServiceClient) GetTopicLastWorkerCommitInfo(ctx context.Context, in *GetTopicLastWorkerCommitInfoRequest, opts ...grpc.CallOption) (*GetTopicLastWorkerCommitInfoResponse, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) + out := new(GetTopicLastWorkerCommitInfoResponse) + err := c.cc.Invoke(ctx, QueryService_GetTopicLastWorkerCommitInfo_FullMethodName, in, out, cOpts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *queryServiceClient) GetTopicLastReputerCommitInfo(ctx context.Context, in *GetTopicLastReputerCommitInfoRequest, opts ...grpc.CallOption) (*GetTopicLastReputerCommitInfoResponse, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) + out := new(GetTopicLastReputerCommitInfoResponse) + err := c.cc.Invoke(ctx, QueryService_GetTopicLastReputerCommitInfo_FullMethodName, in, out, cOpts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *queryServiceClient) GetTopicRewardNonce(ctx context.Context, in *GetTopicRewardNonceRequest, opts ...grpc.CallOption) (*GetTopicRewardNonceResponse, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) + out := new(GetTopicRewardNonceResponse) + err := c.cc.Invoke(ctx, QueryService_GetTopicRewardNonce_FullMethodName, in, out, cOpts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *queryServiceClient) GetReputerLossBundlesAtBlock(ctx context.Context, in *GetReputerLossBundlesAtBlockRequest, opts ...grpc.CallOption) (*GetReputerLossBundlesAtBlockResponse, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) + out := new(GetReputerLossBundlesAtBlockResponse) + err := c.cc.Invoke(ctx, QueryService_GetReputerLossBundlesAtBlock_FullMethodName, in, out, cOpts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *queryServiceClient) GetStakeReputerAuthority(ctx context.Context, in *GetStakeReputerAuthorityRequest, opts ...grpc.CallOption) (*GetStakeReputerAuthorityResponse, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) + out := new(GetStakeReputerAuthorityResponse) + err := c.cc.Invoke(ctx, QueryService_GetStakeReputerAuthority_FullMethodName, in, out, cOpts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *queryServiceClient) GetDelegateStakePlacement(ctx context.Context, in *GetDelegateStakePlacementRequest, opts ...grpc.CallOption) (*GetDelegateStakePlacementResponse, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) + out := new(GetDelegateStakePlacementResponse) + err := c.cc.Invoke(ctx, QueryService_GetDelegateStakePlacement_FullMethodName, in, out, cOpts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *queryServiceClient) GetDelegateStakeUponReputer(ctx context.Context, in *GetDelegateStakeUponReputerRequest, opts ...grpc.CallOption) (*GetDelegateStakeUponReputerResponse, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) + out := new(GetDelegateStakeUponReputerResponse) + err := c.cc.Invoke(ctx, QueryService_GetDelegateStakeUponReputer_FullMethodName, in, out, cOpts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *queryServiceClient) GetDelegateRewardPerShare(ctx context.Context, in *GetDelegateRewardPerShareRequest, opts ...grpc.CallOption) (*GetDelegateRewardPerShareResponse, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) + out := new(GetDelegateRewardPerShareResponse) + err := c.cc.Invoke(ctx, QueryService_GetDelegateRewardPerShare_FullMethodName, in, out, cOpts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *queryServiceClient) GetStakeRemovalForReputerAndTopicId(ctx context.Context, in *GetStakeRemovalForReputerAndTopicIdRequest, opts ...grpc.CallOption) (*GetStakeRemovalForReputerAndTopicIdResponse, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) + out := new(GetStakeRemovalForReputerAndTopicIdResponse) + err := c.cc.Invoke(ctx, QueryService_GetStakeRemovalForReputerAndTopicId_FullMethodName, in, out, cOpts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *queryServiceClient) GetDelegateStakeRemoval(ctx context.Context, in *GetDelegateStakeRemovalRequest, opts ...grpc.CallOption) (*GetDelegateStakeRemovalResponse, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) + out := new(GetDelegateStakeRemovalResponse) + err := c.cc.Invoke(ctx, QueryService_GetDelegateStakeRemoval_FullMethodName, in, out, cOpts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *queryServiceClient) GetPreviousTopicWeight(ctx context.Context, in *GetPreviousTopicWeightRequest, opts ...grpc.CallOption) (*GetPreviousTopicWeightResponse, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) + out := new(GetPreviousTopicWeightResponse) + err := c.cc.Invoke(ctx, QueryService_GetPreviousTopicWeight_FullMethodName, in, out, cOpts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *queryServiceClient) GetTotalSumPreviousTopicWeights(ctx context.Context, in *GetTotalSumPreviousTopicWeightsRequest, opts ...grpc.CallOption) (*GetTotalSumPreviousTopicWeightsResponse, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) + out := new(GetTotalSumPreviousTopicWeightsResponse) + err := c.cc.Invoke(ctx, QueryService_GetTotalSumPreviousTopicWeights_FullMethodName, in, out, cOpts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *queryServiceClient) TopicExists(ctx context.Context, in *TopicExistsRequest, opts ...grpc.CallOption) (*TopicExistsResponse, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) + out := new(TopicExistsResponse) + err := c.cc.Invoke(ctx, QueryService_TopicExists_FullMethodName, in, out, cOpts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *queryServiceClient) IsTopicActive(ctx context.Context, in *IsTopicActiveRequest, opts ...grpc.CallOption) (*IsTopicActiveResponse, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) + out := new(IsTopicActiveResponse) + err := c.cc.Invoke(ctx, QueryService_IsTopicActive_FullMethodName, in, out, cOpts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *queryServiceClient) GetTopicFeeRevenue(ctx context.Context, in *GetTopicFeeRevenueRequest, opts ...grpc.CallOption) (*GetTopicFeeRevenueResponse, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) + out := new(GetTopicFeeRevenueResponse) + err := c.cc.Invoke(ctx, QueryService_GetTopicFeeRevenue_FullMethodName, in, out, cOpts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *queryServiceClient) GetInfererScoreEma(ctx context.Context, in *GetInfererScoreEmaRequest, opts ...grpc.CallOption) (*GetInfererScoreEmaResponse, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) + out := new(GetInfererScoreEmaResponse) + err := c.cc.Invoke(ctx, QueryService_GetInfererScoreEma_FullMethodName, in, out, cOpts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *queryServiceClient) GetForecasterScoreEma(ctx context.Context, in *GetForecasterScoreEmaRequest, opts ...grpc.CallOption) (*GetForecasterScoreEmaResponse, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) + out := new(GetForecasterScoreEmaResponse) + err := c.cc.Invoke(ctx, QueryService_GetForecasterScoreEma_FullMethodName, in, out, cOpts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *queryServiceClient) GetReputerScoreEma(ctx context.Context, in *GetReputerScoreEmaRequest, opts ...grpc.CallOption) (*GetReputerScoreEmaResponse, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) + out := new(GetReputerScoreEmaResponse) + err := c.cc.Invoke(ctx, QueryService_GetReputerScoreEma_FullMethodName, in, out, cOpts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *queryServiceClient) GetInferenceScoresUntilBlock(ctx context.Context, in *GetInferenceScoresUntilBlockRequest, opts ...grpc.CallOption) (*GetInferenceScoresUntilBlockResponse, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) + out := new(GetInferenceScoresUntilBlockResponse) + err := c.cc.Invoke(ctx, QueryService_GetInferenceScoresUntilBlock_FullMethodName, in, out, cOpts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *queryServiceClient) GetPreviousTopicQuantileForecasterScoreEma(ctx context.Context, in *GetPreviousTopicQuantileForecasterScoreEmaRequest, opts ...grpc.CallOption) (*GetPreviousTopicQuantileForecasterScoreEmaResponse, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) + out := new(GetPreviousTopicQuantileForecasterScoreEmaResponse) + err := c.cc.Invoke(ctx, QueryService_GetPreviousTopicQuantileForecasterScoreEma_FullMethodName, in, out, cOpts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *queryServiceClient) GetPreviousTopicQuantileInfererScoreEma(ctx context.Context, in *GetPreviousTopicQuantileInfererScoreEmaRequest, opts ...grpc.CallOption) (*GetPreviousTopicQuantileInfererScoreEmaResponse, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) + out := new(GetPreviousTopicQuantileInfererScoreEmaResponse) + err := c.cc.Invoke(ctx, QueryService_GetPreviousTopicQuantileInfererScoreEma_FullMethodName, in, out, cOpts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *queryServiceClient) GetPreviousTopicQuantileReputerScoreEma(ctx context.Context, in *GetPreviousTopicQuantileReputerScoreEmaRequest, opts ...grpc.CallOption) (*GetPreviousTopicQuantileReputerScoreEmaResponse, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) + out := new(GetPreviousTopicQuantileReputerScoreEmaResponse) + err := c.cc.Invoke(ctx, QueryService_GetPreviousTopicQuantileReputerScoreEma_FullMethodName, in, out, cOpts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *queryServiceClient) GetWorkerInferenceScoresAtBlock(ctx context.Context, in *GetWorkerInferenceScoresAtBlockRequest, opts ...grpc.CallOption) (*GetWorkerInferenceScoresAtBlockResponse, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) + out := new(GetWorkerInferenceScoresAtBlockResponse) + err := c.cc.Invoke(ctx, QueryService_GetWorkerInferenceScoresAtBlock_FullMethodName, in, out, cOpts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *queryServiceClient) GetCurrentLowestInfererScore(ctx context.Context, in *GetCurrentLowestInfererScoreRequest, opts ...grpc.CallOption) (*GetCurrentLowestInfererScoreResponse, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) + out := new(GetCurrentLowestInfererScoreResponse) + err := c.cc.Invoke(ctx, QueryService_GetCurrentLowestInfererScore_FullMethodName, in, out, cOpts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *queryServiceClient) GetForecastScoresUntilBlock(ctx context.Context, in *GetForecastScoresUntilBlockRequest, opts ...grpc.CallOption) (*GetForecastScoresUntilBlockResponse, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) + out := new(GetForecastScoresUntilBlockResponse) + err := c.cc.Invoke(ctx, QueryService_GetForecastScoresUntilBlock_FullMethodName, in, out, cOpts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *queryServiceClient) GetWorkerForecastScoresAtBlock(ctx context.Context, in *GetWorkerForecastScoresAtBlockRequest, opts ...grpc.CallOption) (*GetWorkerForecastScoresAtBlockResponse, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) + out := new(GetWorkerForecastScoresAtBlockResponse) + err := c.cc.Invoke(ctx, QueryService_GetWorkerForecastScoresAtBlock_FullMethodName, in, out, cOpts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *queryServiceClient) GetCurrentLowestForecasterScore(ctx context.Context, in *GetCurrentLowestForecasterScoreRequest, opts ...grpc.CallOption) (*GetCurrentLowestForecasterScoreResponse, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) + out := new(GetCurrentLowestForecasterScoreResponse) + err := c.cc.Invoke(ctx, QueryService_GetCurrentLowestForecasterScore_FullMethodName, in, out, cOpts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *queryServiceClient) GetReputersScoresAtBlock(ctx context.Context, in *GetReputersScoresAtBlockRequest, opts ...grpc.CallOption) (*GetReputersScoresAtBlockResponse, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) + out := new(GetReputersScoresAtBlockResponse) + err := c.cc.Invoke(ctx, QueryService_GetReputersScoresAtBlock_FullMethodName, in, out, cOpts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *queryServiceClient) GetCurrentLowestReputerScore(ctx context.Context, in *GetCurrentLowestReputerScoreRequest, opts ...grpc.CallOption) (*GetCurrentLowestReputerScoreResponse, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) + out := new(GetCurrentLowestReputerScoreResponse) + err := c.cc.Invoke(ctx, QueryService_GetCurrentLowestReputerScore_FullMethodName, in, out, cOpts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *queryServiceClient) GetListeningCoefficient(ctx context.Context, in *GetListeningCoefficientRequest, opts ...grpc.CallOption) (*GetListeningCoefficientResponse, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) + out := new(GetListeningCoefficientResponse) + err := c.cc.Invoke(ctx, QueryService_GetListeningCoefficient_FullMethodName, in, out, cOpts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *queryServiceClient) GetPreviousReputerRewardFraction(ctx context.Context, in *GetPreviousReputerRewardFractionRequest, opts ...grpc.CallOption) (*GetPreviousReputerRewardFractionResponse, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) + out := new(GetPreviousReputerRewardFractionResponse) + err := c.cc.Invoke(ctx, QueryService_GetPreviousReputerRewardFraction_FullMethodName, in, out, cOpts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *queryServiceClient) GetPreviousInferenceRewardFraction(ctx context.Context, in *GetPreviousInferenceRewardFractionRequest, opts ...grpc.CallOption) (*GetPreviousInferenceRewardFractionResponse, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) + out := new(GetPreviousInferenceRewardFractionResponse) + err := c.cc.Invoke(ctx, QueryService_GetPreviousInferenceRewardFraction_FullMethodName, in, out, cOpts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *queryServiceClient) GetPreviousForecastRewardFraction(ctx context.Context, in *GetPreviousForecastRewardFractionRequest, opts ...grpc.CallOption) (*GetPreviousForecastRewardFractionResponse, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) + out := new(GetPreviousForecastRewardFractionResponse) + err := c.cc.Invoke(ctx, QueryService_GetPreviousForecastRewardFraction_FullMethodName, in, out, cOpts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *queryServiceClient) GetPreviousPercentageRewardToStakedReputers(ctx context.Context, in *GetPreviousPercentageRewardToStakedReputersRequest, opts ...grpc.CallOption) (*GetPreviousPercentageRewardToStakedReputersResponse, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) + out := new(GetPreviousPercentageRewardToStakedReputersResponse) + err := c.cc.Invoke(ctx, QueryService_GetPreviousPercentageRewardToStakedReputers_FullMethodName, in, out, cOpts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *queryServiceClient) GetTotalRewardToDistribute(ctx context.Context, in *GetTotalRewardToDistributeRequest, opts ...grpc.CallOption) (*GetTotalRewardToDistributeResponse, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) + out := new(GetTotalRewardToDistributeResponse) + err := c.cc.Invoke(ctx, QueryService_GetTotalRewardToDistribute_FullMethodName, in, out, cOpts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *queryServiceClient) GetNaiveInfererNetworkRegret(ctx context.Context, in *GetNaiveInfererNetworkRegretRequest, opts ...grpc.CallOption) (*GetNaiveInfererNetworkRegretResponse, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) + out := new(GetNaiveInfererNetworkRegretResponse) + err := c.cc.Invoke(ctx, QueryService_GetNaiveInfererNetworkRegret_FullMethodName, in, out, cOpts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *queryServiceClient) GetOneOutInfererInfererNetworkRegret(ctx context.Context, in *GetOneOutInfererInfererNetworkRegretRequest, opts ...grpc.CallOption) (*GetOneOutInfererInfererNetworkRegretResponse, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) + out := new(GetOneOutInfererInfererNetworkRegretResponse) + err := c.cc.Invoke(ctx, QueryService_GetOneOutInfererInfererNetworkRegret_FullMethodName, in, out, cOpts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *queryServiceClient) GetOneOutInfererForecasterNetworkRegret(ctx context.Context, in *GetOneOutInfererForecasterNetworkRegretRequest, opts ...grpc.CallOption) (*GetOneOutInfererForecasterNetworkRegretResponse, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) + out := new(GetOneOutInfererForecasterNetworkRegretResponse) + err := c.cc.Invoke(ctx, QueryService_GetOneOutInfererForecasterNetworkRegret_FullMethodName, in, out, cOpts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *queryServiceClient) GetOneOutForecasterInfererNetworkRegret(ctx context.Context, in *GetOneOutForecasterInfererNetworkRegretRequest, opts ...grpc.CallOption) (*GetOneOutForecasterInfererNetworkRegretResponse, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) + out := new(GetOneOutForecasterInfererNetworkRegretResponse) + err := c.cc.Invoke(ctx, QueryService_GetOneOutForecasterInfererNetworkRegret_FullMethodName, in, out, cOpts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *queryServiceClient) GetOneOutForecasterForecasterNetworkRegret(ctx context.Context, in *GetOneOutForecasterForecasterNetworkRegretRequest, opts ...grpc.CallOption) (*GetOneOutForecasterForecasterNetworkRegretResponse, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) + out := new(GetOneOutForecasterForecasterNetworkRegretResponse) + err := c.cc.Invoke(ctx, QueryService_GetOneOutForecasterForecasterNetworkRegret_FullMethodName, in, out, cOpts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *queryServiceClient) GetActiveTopicsAtBlock(ctx context.Context, in *GetActiveTopicsAtBlockRequest, opts ...grpc.CallOption) (*GetActiveTopicsAtBlockResponse, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) + out := new(GetActiveTopicsAtBlockResponse) + err := c.cc.Invoke(ctx, QueryService_GetActiveTopicsAtBlock_FullMethodName, in, out, cOpts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *queryServiceClient) GetNextChurningBlockByTopicId(ctx context.Context, in *GetNextChurningBlockByTopicIdRequest, opts ...grpc.CallOption) (*GetNextChurningBlockByTopicIdResponse, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) + out := new(GetNextChurningBlockByTopicIdResponse) + err := c.cc.Invoke(ctx, QueryService_GetNextChurningBlockByTopicId_FullMethodName, in, out, cOpts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *queryServiceClient) GetCountInfererInclusionsInTopic(ctx context.Context, in *GetCountInfererInclusionsInTopicRequest, opts ...grpc.CallOption) (*GetCountInfererInclusionsInTopicResponse, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) + out := new(GetCountInfererInclusionsInTopicResponse) + err := c.cc.Invoke(ctx, QueryService_GetCountInfererInclusionsInTopic_FullMethodName, in, out, cOpts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *queryServiceClient) GetCountForecasterInclusionsInTopic(ctx context.Context, in *GetCountForecasterInclusionsInTopicRequest, opts ...grpc.CallOption) (*GetCountForecasterInclusionsInTopicResponse, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) + out := new(GetCountForecasterInclusionsInTopicResponse) + err := c.cc.Invoke(ctx, QueryService_GetCountForecasterInclusionsInTopic_FullMethodName, in, out, cOpts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *queryServiceClient) GetActiveReputersForTopic(ctx context.Context, in *GetActiveReputersForTopicRequest, opts ...grpc.CallOption) (*GetActiveReputersForTopicResponse, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) + out := new(GetActiveReputersForTopicResponse) + err := c.cc.Invoke(ctx, QueryService_GetActiveReputersForTopic_FullMethodName, in, out, cOpts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *queryServiceClient) GetActiveForecastersForTopic(ctx context.Context, in *GetActiveForecastersForTopicRequest, opts ...grpc.CallOption) (*GetActiveForecastersForTopicResponse, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) + out := new(GetActiveForecastersForTopicResponse) + err := c.cc.Invoke(ctx, QueryService_GetActiveForecastersForTopic_FullMethodName, in, out, cOpts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *queryServiceClient) GetActiveInferersForTopic(ctx context.Context, in *GetActiveInferersForTopicRequest, opts ...grpc.CallOption) (*GetActiveInferersForTopicResponse, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) + out := new(GetActiveInferersForTopicResponse) + err := c.cc.Invoke(ctx, QueryService_GetActiveInferersForTopic_FullMethodName, in, out, cOpts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *queryServiceClient) IsWhitelistedGlobalWorker(ctx context.Context, in *IsWhitelistedGlobalWorkerRequest, opts ...grpc.CallOption) (*IsWhitelistedGlobalWorkerResponse, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) + out := new(IsWhitelistedGlobalWorkerResponse) + err := c.cc.Invoke(ctx, QueryService_IsWhitelistedGlobalWorker_FullMethodName, in, out, cOpts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *queryServiceClient) IsWhitelistedGlobalReputer(ctx context.Context, in *IsWhitelistedGlobalReputerRequest, opts ...grpc.CallOption) (*IsWhitelistedGlobalReputerResponse, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) + out := new(IsWhitelistedGlobalReputerResponse) + err := c.cc.Invoke(ctx, QueryService_IsWhitelistedGlobalReputer_FullMethodName, in, out, cOpts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *queryServiceClient) IsWhitelistedGlobalAdmin(ctx context.Context, in *IsWhitelistedGlobalAdminRequest, opts ...grpc.CallOption) (*IsWhitelistedGlobalAdminResponse, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) + out := new(IsWhitelistedGlobalAdminResponse) + err := c.cc.Invoke(ctx, QueryService_IsWhitelistedGlobalAdmin_FullMethodName, in, out, cOpts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *queryServiceClient) IsTopicWorkerWhitelistEnabled(ctx context.Context, in *IsTopicWorkerWhitelistEnabledRequest, opts ...grpc.CallOption) (*IsTopicWorkerWhitelistEnabledResponse, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) + out := new(IsTopicWorkerWhitelistEnabledResponse) + err := c.cc.Invoke(ctx, QueryService_IsTopicWorkerWhitelistEnabled_FullMethodName, in, out, cOpts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *queryServiceClient) IsTopicReputerWhitelistEnabled(ctx context.Context, in *IsTopicReputerWhitelistEnabledRequest, opts ...grpc.CallOption) (*IsTopicReputerWhitelistEnabledResponse, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) + out := new(IsTopicReputerWhitelistEnabledResponse) + err := c.cc.Invoke(ctx, QueryService_IsTopicReputerWhitelistEnabled_FullMethodName, in, out, cOpts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *queryServiceClient) IsWhitelistedTopicCreator(ctx context.Context, in *IsWhitelistedTopicCreatorRequest, opts ...grpc.CallOption) (*IsWhitelistedTopicCreatorResponse, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) + out := new(IsWhitelistedTopicCreatorResponse) + err := c.cc.Invoke(ctx, QueryService_IsWhitelistedTopicCreator_FullMethodName, in, out, cOpts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *queryServiceClient) IsWhitelistedGlobalActor(ctx context.Context, in *IsWhitelistedGlobalActorRequest, opts ...grpc.CallOption) (*IsWhitelistedGlobalActorResponse, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) + out := new(IsWhitelistedGlobalActorResponse) + err := c.cc.Invoke(ctx, QueryService_IsWhitelistedGlobalActor_FullMethodName, in, out, cOpts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *queryServiceClient) IsWhitelistedTopicWorker(ctx context.Context, in *IsWhitelistedTopicWorkerRequest, opts ...grpc.CallOption) (*IsWhitelistedTopicWorkerResponse, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) + out := new(IsWhitelistedTopicWorkerResponse) + err := c.cc.Invoke(ctx, QueryService_IsWhitelistedTopicWorker_FullMethodName, in, out, cOpts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *queryServiceClient) IsWhitelistedTopicReputer(ctx context.Context, in *IsWhitelistedTopicReputerRequest, opts ...grpc.CallOption) (*IsWhitelistedTopicReputerResponse, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) + out := new(IsWhitelistedTopicReputerResponse) + err := c.cc.Invoke(ctx, QueryService_IsWhitelistedTopicReputer_FullMethodName, in, out, cOpts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *queryServiceClient) CanUpdateAllGlobalWhitelists(ctx context.Context, in *CanUpdateAllGlobalWhitelistsRequest, opts ...grpc.CallOption) (*CanUpdateAllGlobalWhitelistsResponse, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) + out := new(CanUpdateAllGlobalWhitelistsResponse) + err := c.cc.Invoke(ctx, QueryService_CanUpdateAllGlobalWhitelists_FullMethodName, in, out, cOpts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *queryServiceClient) CanUpdateGlobalWorkerWhitelist(ctx context.Context, in *CanUpdateGlobalWorkerWhitelistRequest, opts ...grpc.CallOption) (*CanUpdateGlobalWorkerWhitelistResponse, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) + out := new(CanUpdateGlobalWorkerWhitelistResponse) + err := c.cc.Invoke(ctx, QueryService_CanUpdateGlobalWorkerWhitelist_FullMethodName, in, out, cOpts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *queryServiceClient) CanUpdateGlobalReputerWhitelist(ctx context.Context, in *CanUpdateGlobalReputerWhitelistRequest, opts ...grpc.CallOption) (*CanUpdateGlobalReputerWhitelistResponse, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) + out := new(CanUpdateGlobalReputerWhitelistResponse) + err := c.cc.Invoke(ctx, QueryService_CanUpdateGlobalReputerWhitelist_FullMethodName, in, out, cOpts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *queryServiceClient) CanUpdateParams(ctx context.Context, in *CanUpdateParamsRequest, opts ...grpc.CallOption) (*CanUpdateParamsResponse, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) + out := new(CanUpdateParamsResponse) + err := c.cc.Invoke(ctx, QueryService_CanUpdateParams_FullMethodName, in, out, cOpts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *queryServiceClient) CanUpdateTopicWhitelist(ctx context.Context, in *CanUpdateTopicWhitelistRequest, opts ...grpc.CallOption) (*CanUpdateTopicWhitelistResponse, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) + out := new(CanUpdateTopicWhitelistResponse) + err := c.cc.Invoke(ctx, QueryService_CanUpdateTopicWhitelist_FullMethodName, in, out, cOpts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *queryServiceClient) CanCreateTopic(ctx context.Context, in *CanCreateTopicRequest, opts ...grpc.CallOption) (*CanCreateTopicResponse, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) + out := new(CanCreateTopicResponse) + err := c.cc.Invoke(ctx, QueryService_CanCreateTopic_FullMethodName, in, out, cOpts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *queryServiceClient) CanSubmitWorkerPayload(ctx context.Context, in *CanSubmitWorkerPayloadRequest, opts ...grpc.CallOption) (*CanSubmitWorkerPayloadResponse, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) + out := new(CanSubmitWorkerPayloadResponse) + err := c.cc.Invoke(ctx, QueryService_CanSubmitWorkerPayload_FullMethodName, in, out, cOpts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *queryServiceClient) CanSubmitReputerPayload(ctx context.Context, in *CanSubmitReputerPayloadRequest, opts ...grpc.CallOption) (*CanSubmitReputerPayloadResponse, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) + out := new(CanSubmitReputerPayloadResponse) + err := c.cc.Invoke(ctx, QueryService_CanSubmitReputerPayload_FullMethodName, in, out, cOpts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *queryServiceClient) GetTopicInitialInfererEmaScore(ctx context.Context, in *GetTopicInitialInfererEmaScoreRequest, opts ...grpc.CallOption) (*GetTopicInitialInfererEmaScoreResponse, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) + out := new(GetTopicInitialInfererEmaScoreResponse) + err := c.cc.Invoke(ctx, QueryService_GetTopicInitialInfererEmaScore_FullMethodName, in, out, cOpts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *queryServiceClient) GetTopicInitialForecasterEmaScore(ctx context.Context, in *GetTopicInitialForecasterEmaScoreRequest, opts ...grpc.CallOption) (*GetTopicInitialForecasterEmaScoreResponse, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) + out := new(GetTopicInitialForecasterEmaScoreResponse) + err := c.cc.Invoke(ctx, QueryService_GetTopicInitialForecasterEmaScore_FullMethodName, in, out, cOpts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *queryServiceClient) GetTopicInitialReputerEmaScore(ctx context.Context, in *GetTopicInitialReputerEmaScoreRequest, opts ...grpc.CallOption) (*GetTopicInitialReputerEmaScoreResponse, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) + out := new(GetTopicInitialReputerEmaScoreResponse) + err := c.cc.Invoke(ctx, QueryService_GetTopicInitialReputerEmaScore_FullMethodName, in, out, cOpts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *queryServiceClient) GetLatestRegretStdNorm(ctx context.Context, in *GetLatestRegretStdNormRequest, opts ...grpc.CallOption) (*GetLatestRegretStdNormResponse, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) + out := new(GetLatestRegretStdNormResponse) + err := c.cc.Invoke(ctx, QueryService_GetLatestRegretStdNorm_FullMethodName, in, out, cOpts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *queryServiceClient) GetLatestInfererWeight(ctx context.Context, in *GetLatestInfererWeightRequest, opts ...grpc.CallOption) (*GetLatestInfererWeightResponse, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) + out := new(GetLatestInfererWeightResponse) + err := c.cc.Invoke(ctx, QueryService_GetLatestInfererWeight_FullMethodName, in, out, cOpts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *queryServiceClient) GetLatestForecasterWeight(ctx context.Context, in *GetLatestForecasterWeightRequest, opts ...grpc.CallOption) (*GetLatestForecasterWeightResponse, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) + out := new(GetLatestForecasterWeightResponse) + err := c.cc.Invoke(ctx, QueryService_GetLatestForecasterWeight_FullMethodName, in, out, cOpts...) + if err != nil { + return nil, err + } + return out, nil +} + +// QueryServiceServer is the server API for QueryService service. +// All implementations must embed UnimplementedQueryServiceServer +// for forward compatibility. +// +// Msg defines the module Msg service. +type QueryServiceServer interface { + // Params returns the module parameters. + GetParams(context.Context, *GetParamsRequest) (*GetParamsResponse, error) + GetNextTopicId(context.Context, *GetNextTopicIdRequest) (*GetNextTopicIdResponse, error) + GetTopic(context.Context, *GetTopicRequest) (*GetTopicResponse, error) + GetWorkerLatestInferenceByTopicId(context.Context, *GetWorkerLatestInferenceByTopicIdRequest) (*GetWorkerLatestInferenceByTopicIdResponse, error) + GetInferencesAtBlock(context.Context, *GetInferencesAtBlockRequest) (*GetInferencesAtBlockResponse, error) + GetLatestTopicInferences(context.Context, *GetLatestTopicInferencesRequest) (*GetLatestTopicInferencesResponse, error) + GetForecastsAtBlock(context.Context, *GetForecastsAtBlockRequest) (*GetForecastsAtBlockResponse, error) + GetNetworkLossBundleAtBlock(context.Context, *GetNetworkLossBundleAtBlockRequest) (*GetNetworkLossBundleAtBlockResponse, error) + GetTotalStake(context.Context, *GetTotalStakeRequest) (*GetTotalStakeResponse, error) + GetReputerStakeInTopic(context.Context, *GetReputerStakeInTopicRequest) (*GetReputerStakeInTopicResponse, error) + GetMultiReputerStakeInTopic(context.Context, *GetMultiReputerStakeInTopicRequest) (*GetMultiReputerStakeInTopicResponse, error) + GetStakeFromReputerInTopicInSelf(context.Context, *GetStakeFromReputerInTopicInSelfRequest) (*GetStakeFromReputerInTopicInSelfResponse, error) + GetDelegateStakeInTopicInReputer(context.Context, *GetDelegateStakeInTopicInReputerRequest) (*GetDelegateStakeInTopicInReputerResponse, error) + GetStakeFromDelegatorInTopicInReputer(context.Context, *GetStakeFromDelegatorInTopicInReputerRequest) (*GetStakeFromDelegatorInTopicInReputerResponse, error) + GetStakeFromDelegatorInTopic(context.Context, *GetStakeFromDelegatorInTopicRequest) (*GetStakeFromDelegatorInTopicResponse, error) + GetTopicStake(context.Context, *GetTopicStakeRequest) (*GetTopicStakeResponse, error) + GetStakeRemovalsUpUntilBlock(context.Context, *GetStakeRemovalsUpUntilBlockRequest) (*GetStakeRemovalsUpUntilBlockResponse, error) + GetDelegateStakeRemovalsUpUntilBlock(context.Context, *GetDelegateStakeRemovalsUpUntilBlockRequest) (*GetDelegateStakeRemovalsUpUntilBlockResponse, error) + GetStakeRemovalInfo(context.Context, *GetStakeRemovalInfoRequest) (*GetStakeRemovalInfoResponse, error) + GetDelegateStakeRemovalInfo(context.Context, *GetDelegateStakeRemovalInfoRequest) (*GetDelegateStakeRemovalInfoResponse, error) + GetWorkerNodeInfo(context.Context, *GetWorkerNodeInfoRequest) (*GetWorkerNodeInfoResponse, error) + GetReputerNodeInfo(context.Context, *GetReputerNodeInfoRequest) (*GetReputerNodeInfoResponse, error) + IsWorkerRegisteredInTopicId(context.Context, *IsWorkerRegisteredInTopicIdRequest) (*IsWorkerRegisteredInTopicIdResponse, error) + IsReputerRegisteredInTopicId(context.Context, *IsReputerRegisteredInTopicIdRequest) (*IsReputerRegisteredInTopicIdResponse, error) + GetNetworkInferencesAtBlock(context.Context, *GetNetworkInferencesAtBlockRequest) (*GetNetworkInferencesAtBlockResponse, error) + GetNetworkInferencesAtBlockOutlierResistant(context.Context, *GetNetworkInferencesAtBlockOutlierResistantRequest) (*GetNetworkInferencesAtBlockOutlierResistantResponse, error) + GetLatestNetworkInferences(context.Context, *GetLatestNetworkInferencesRequest) (*GetLatestNetworkInferencesResponse, error) + GetLatestNetworkInferencesOutlierResistant(context.Context, *GetLatestNetworkInferencesOutlierResistantRequest) (*GetLatestNetworkInferencesOutlierResistantResponse, error) + GetLatestAvailableNetworkInferences(context.Context, *GetLatestAvailableNetworkInferencesRequest) (*GetLatestAvailableNetworkInferencesResponse, error) + GetLatestAvailableNetworkInferencesOutlierResistant(context.Context, *GetLatestAvailableNetworkInferencesOutlierResistantRequest) (*GetLatestAvailableNetworkInferencesOutlierResistantResponse, error) + IsWorkerNonceUnfulfilled(context.Context, *IsWorkerNonceUnfulfilledRequest) (*IsWorkerNonceUnfulfilledResponse, error) + IsReputerNonceUnfulfilled(context.Context, *IsReputerNonceUnfulfilledRequest) (*IsReputerNonceUnfulfilledResponse, error) + GetUnfulfilledWorkerNonces(context.Context, *GetUnfulfilledWorkerNoncesRequest) (*GetUnfulfilledWorkerNoncesResponse, error) + GetUnfulfilledReputerNonces(context.Context, *GetUnfulfilledReputerNoncesRequest) (*GetUnfulfilledReputerNoncesResponse, error) + GetInfererNetworkRegret(context.Context, *GetInfererNetworkRegretRequest) (*GetInfererNetworkRegretResponse, error) + GetForecasterNetworkRegret(context.Context, *GetForecasterNetworkRegretRequest) (*GetForecasterNetworkRegretResponse, error) + GetOneInForecasterNetworkRegret(context.Context, *GetOneInForecasterNetworkRegretRequest) (*GetOneInForecasterNetworkRegretResponse, error) + IsWhitelistAdmin(context.Context, *IsWhitelistAdminRequest) (*IsWhitelistAdminResponse, error) + GetTopicLastWorkerCommitInfo(context.Context, *GetTopicLastWorkerCommitInfoRequest) (*GetTopicLastWorkerCommitInfoResponse, error) + GetTopicLastReputerCommitInfo(context.Context, *GetTopicLastReputerCommitInfoRequest) (*GetTopicLastReputerCommitInfoResponse, error) + GetTopicRewardNonce(context.Context, *GetTopicRewardNonceRequest) (*GetTopicRewardNonceResponse, error) + GetReputerLossBundlesAtBlock(context.Context, *GetReputerLossBundlesAtBlockRequest) (*GetReputerLossBundlesAtBlockResponse, error) + GetStakeReputerAuthority(context.Context, *GetStakeReputerAuthorityRequest) (*GetStakeReputerAuthorityResponse, error) + GetDelegateStakePlacement(context.Context, *GetDelegateStakePlacementRequest) (*GetDelegateStakePlacementResponse, error) + GetDelegateStakeUponReputer(context.Context, *GetDelegateStakeUponReputerRequest) (*GetDelegateStakeUponReputerResponse, error) + GetDelegateRewardPerShare(context.Context, *GetDelegateRewardPerShareRequest) (*GetDelegateRewardPerShareResponse, error) + GetStakeRemovalForReputerAndTopicId(context.Context, *GetStakeRemovalForReputerAndTopicIdRequest) (*GetStakeRemovalForReputerAndTopicIdResponse, error) + GetDelegateStakeRemoval(context.Context, *GetDelegateStakeRemovalRequest) (*GetDelegateStakeRemovalResponse, error) + GetPreviousTopicWeight(context.Context, *GetPreviousTopicWeightRequest) (*GetPreviousTopicWeightResponse, error) + GetTotalSumPreviousTopicWeights(context.Context, *GetTotalSumPreviousTopicWeightsRequest) (*GetTotalSumPreviousTopicWeightsResponse, error) + TopicExists(context.Context, *TopicExistsRequest) (*TopicExistsResponse, error) + IsTopicActive(context.Context, *IsTopicActiveRequest) (*IsTopicActiveResponse, error) + GetTopicFeeRevenue(context.Context, *GetTopicFeeRevenueRequest) (*GetTopicFeeRevenueResponse, error) + GetInfererScoreEma(context.Context, *GetInfererScoreEmaRequest) (*GetInfererScoreEmaResponse, error) + GetForecasterScoreEma(context.Context, *GetForecasterScoreEmaRequest) (*GetForecasterScoreEmaResponse, error) + GetReputerScoreEma(context.Context, *GetReputerScoreEmaRequest) (*GetReputerScoreEmaResponse, error) + GetInferenceScoresUntilBlock(context.Context, *GetInferenceScoresUntilBlockRequest) (*GetInferenceScoresUntilBlockResponse, error) + GetPreviousTopicQuantileForecasterScoreEma(context.Context, *GetPreviousTopicQuantileForecasterScoreEmaRequest) (*GetPreviousTopicQuantileForecasterScoreEmaResponse, error) + GetPreviousTopicQuantileInfererScoreEma(context.Context, *GetPreviousTopicQuantileInfererScoreEmaRequest) (*GetPreviousTopicQuantileInfererScoreEmaResponse, error) + GetPreviousTopicQuantileReputerScoreEma(context.Context, *GetPreviousTopicQuantileReputerScoreEmaRequest) (*GetPreviousTopicQuantileReputerScoreEmaResponse, error) + GetWorkerInferenceScoresAtBlock(context.Context, *GetWorkerInferenceScoresAtBlockRequest) (*GetWorkerInferenceScoresAtBlockResponse, error) + GetCurrentLowestInfererScore(context.Context, *GetCurrentLowestInfererScoreRequest) (*GetCurrentLowestInfererScoreResponse, error) + GetForecastScoresUntilBlock(context.Context, *GetForecastScoresUntilBlockRequest) (*GetForecastScoresUntilBlockResponse, error) + GetWorkerForecastScoresAtBlock(context.Context, *GetWorkerForecastScoresAtBlockRequest) (*GetWorkerForecastScoresAtBlockResponse, error) + GetCurrentLowestForecasterScore(context.Context, *GetCurrentLowestForecasterScoreRequest) (*GetCurrentLowestForecasterScoreResponse, error) + GetReputersScoresAtBlock(context.Context, *GetReputersScoresAtBlockRequest) (*GetReputersScoresAtBlockResponse, error) + GetCurrentLowestReputerScore(context.Context, *GetCurrentLowestReputerScoreRequest) (*GetCurrentLowestReputerScoreResponse, error) + GetListeningCoefficient(context.Context, *GetListeningCoefficientRequest) (*GetListeningCoefficientResponse, error) + GetPreviousReputerRewardFraction(context.Context, *GetPreviousReputerRewardFractionRequest) (*GetPreviousReputerRewardFractionResponse, error) + GetPreviousInferenceRewardFraction(context.Context, *GetPreviousInferenceRewardFractionRequest) (*GetPreviousInferenceRewardFractionResponse, error) + GetPreviousForecastRewardFraction(context.Context, *GetPreviousForecastRewardFractionRequest) (*GetPreviousForecastRewardFractionResponse, error) + GetPreviousPercentageRewardToStakedReputers(context.Context, *GetPreviousPercentageRewardToStakedReputersRequest) (*GetPreviousPercentageRewardToStakedReputersResponse, error) + GetTotalRewardToDistribute(context.Context, *GetTotalRewardToDistributeRequest) (*GetTotalRewardToDistributeResponse, error) + GetNaiveInfererNetworkRegret(context.Context, *GetNaiveInfererNetworkRegretRequest) (*GetNaiveInfererNetworkRegretResponse, error) + GetOneOutInfererInfererNetworkRegret(context.Context, *GetOneOutInfererInfererNetworkRegretRequest) (*GetOneOutInfererInfererNetworkRegretResponse, error) + GetOneOutInfererForecasterNetworkRegret(context.Context, *GetOneOutInfererForecasterNetworkRegretRequest) (*GetOneOutInfererForecasterNetworkRegretResponse, error) + GetOneOutForecasterInfererNetworkRegret(context.Context, *GetOneOutForecasterInfererNetworkRegretRequest) (*GetOneOutForecasterInfererNetworkRegretResponse, error) + GetOneOutForecasterForecasterNetworkRegret(context.Context, *GetOneOutForecasterForecasterNetworkRegretRequest) (*GetOneOutForecasterForecasterNetworkRegretResponse, error) + GetActiveTopicsAtBlock(context.Context, *GetActiveTopicsAtBlockRequest) (*GetActiveTopicsAtBlockResponse, error) + GetNextChurningBlockByTopicId(context.Context, *GetNextChurningBlockByTopicIdRequest) (*GetNextChurningBlockByTopicIdResponse, error) + GetCountInfererInclusionsInTopic(context.Context, *GetCountInfererInclusionsInTopicRequest) (*GetCountInfererInclusionsInTopicResponse, error) + GetCountForecasterInclusionsInTopic(context.Context, *GetCountForecasterInclusionsInTopicRequest) (*GetCountForecasterInclusionsInTopicResponse, error) + GetActiveReputersForTopic(context.Context, *GetActiveReputersForTopicRequest) (*GetActiveReputersForTopicResponse, error) + GetActiveForecastersForTopic(context.Context, *GetActiveForecastersForTopicRequest) (*GetActiveForecastersForTopicResponse, error) + GetActiveInferersForTopic(context.Context, *GetActiveInferersForTopicRequest) (*GetActiveInferersForTopicResponse, error) + IsWhitelistedGlobalWorker(context.Context, *IsWhitelistedGlobalWorkerRequest) (*IsWhitelistedGlobalWorkerResponse, error) + IsWhitelistedGlobalReputer(context.Context, *IsWhitelistedGlobalReputerRequest) (*IsWhitelistedGlobalReputerResponse, error) + IsWhitelistedGlobalAdmin(context.Context, *IsWhitelistedGlobalAdminRequest) (*IsWhitelistedGlobalAdminResponse, error) + IsTopicWorkerWhitelistEnabled(context.Context, *IsTopicWorkerWhitelistEnabledRequest) (*IsTopicWorkerWhitelistEnabledResponse, error) + IsTopicReputerWhitelistEnabled(context.Context, *IsTopicReputerWhitelistEnabledRequest) (*IsTopicReputerWhitelistEnabledResponse, error) + IsWhitelistedTopicCreator(context.Context, *IsWhitelistedTopicCreatorRequest) (*IsWhitelistedTopicCreatorResponse, error) + IsWhitelistedGlobalActor(context.Context, *IsWhitelistedGlobalActorRequest) (*IsWhitelistedGlobalActorResponse, error) + IsWhitelistedTopicWorker(context.Context, *IsWhitelistedTopicWorkerRequest) (*IsWhitelistedTopicWorkerResponse, error) + IsWhitelistedTopicReputer(context.Context, *IsWhitelistedTopicReputerRequest) (*IsWhitelistedTopicReputerResponse, error) + CanUpdateAllGlobalWhitelists(context.Context, *CanUpdateAllGlobalWhitelistsRequest) (*CanUpdateAllGlobalWhitelistsResponse, error) + CanUpdateGlobalWorkerWhitelist(context.Context, *CanUpdateGlobalWorkerWhitelistRequest) (*CanUpdateGlobalWorkerWhitelistResponse, error) + CanUpdateGlobalReputerWhitelist(context.Context, *CanUpdateGlobalReputerWhitelistRequest) (*CanUpdateGlobalReputerWhitelistResponse, error) + CanUpdateParams(context.Context, *CanUpdateParamsRequest) (*CanUpdateParamsResponse, error) + CanUpdateTopicWhitelist(context.Context, *CanUpdateTopicWhitelistRequest) (*CanUpdateTopicWhitelistResponse, error) + CanCreateTopic(context.Context, *CanCreateTopicRequest) (*CanCreateTopicResponse, error) + CanSubmitWorkerPayload(context.Context, *CanSubmitWorkerPayloadRequest) (*CanSubmitWorkerPayloadResponse, error) + CanSubmitReputerPayload(context.Context, *CanSubmitReputerPayloadRequest) (*CanSubmitReputerPayloadResponse, error) + // GetTopicInitialInfererEmaScore returns the initial EMA score for inferers in a topic + GetTopicInitialInfererEmaScore(context.Context, *GetTopicInitialInfererEmaScoreRequest) (*GetTopicInitialInfererEmaScoreResponse, error) + // GetTopicInitialForecasterEmaScore returns the initial EMA score for forecasters in a topic + GetTopicInitialForecasterEmaScore(context.Context, *GetTopicInitialForecasterEmaScoreRequest) (*GetTopicInitialForecasterEmaScoreResponse, error) + // GetTopicInitialReputerEmaScore returns the initial EMA score for reputers in a topic + GetTopicInitialReputerEmaScore(context.Context, *GetTopicInitialReputerEmaScoreRequest) (*GetTopicInitialReputerEmaScoreResponse, error) + // Get latest regret stdnorm for a topic + GetLatestRegretStdNorm(context.Context, *GetLatestRegretStdNormRequest) (*GetLatestRegretStdNormResponse, error) + // Get latest inferer weight for a topic and actor + GetLatestInfererWeight(context.Context, *GetLatestInfererWeightRequest) (*GetLatestInfererWeightResponse, error) + // Get latest forecaster weight for a topic and actor + GetLatestForecasterWeight(context.Context, *GetLatestForecasterWeightRequest) (*GetLatestForecasterWeightResponse, error) + mustEmbedUnimplementedQueryServiceServer() +} + +// UnimplementedQueryServiceServer must be embedded to have +// forward compatible implementations. +// +// NOTE: this should be embedded by value instead of pointer to avoid a nil +// pointer dereference when methods are called. +type UnimplementedQueryServiceServer struct{} + +func (UnimplementedQueryServiceServer) GetParams(context.Context, *GetParamsRequest) (*GetParamsResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetParams not implemented") +} +func (UnimplementedQueryServiceServer) GetNextTopicId(context.Context, *GetNextTopicIdRequest) (*GetNextTopicIdResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetNextTopicId not implemented") +} +func (UnimplementedQueryServiceServer) GetTopic(context.Context, *GetTopicRequest) (*GetTopicResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetTopic not implemented") +} +func (UnimplementedQueryServiceServer) GetWorkerLatestInferenceByTopicId(context.Context, *GetWorkerLatestInferenceByTopicIdRequest) (*GetWorkerLatestInferenceByTopicIdResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetWorkerLatestInferenceByTopicId not implemented") +} +func (UnimplementedQueryServiceServer) GetInferencesAtBlock(context.Context, *GetInferencesAtBlockRequest) (*GetInferencesAtBlockResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetInferencesAtBlock not implemented") +} +func (UnimplementedQueryServiceServer) GetLatestTopicInferences(context.Context, *GetLatestTopicInferencesRequest) (*GetLatestTopicInferencesResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetLatestTopicInferences not implemented") +} +func (UnimplementedQueryServiceServer) GetForecastsAtBlock(context.Context, *GetForecastsAtBlockRequest) (*GetForecastsAtBlockResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetForecastsAtBlock not implemented") +} +func (UnimplementedQueryServiceServer) GetNetworkLossBundleAtBlock(context.Context, *GetNetworkLossBundleAtBlockRequest) (*GetNetworkLossBundleAtBlockResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetNetworkLossBundleAtBlock not implemented") +} +func (UnimplementedQueryServiceServer) GetTotalStake(context.Context, *GetTotalStakeRequest) (*GetTotalStakeResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetTotalStake not implemented") +} +func (UnimplementedQueryServiceServer) GetReputerStakeInTopic(context.Context, *GetReputerStakeInTopicRequest) (*GetReputerStakeInTopicResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetReputerStakeInTopic not implemented") +} +func (UnimplementedQueryServiceServer) GetMultiReputerStakeInTopic(context.Context, *GetMultiReputerStakeInTopicRequest) (*GetMultiReputerStakeInTopicResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetMultiReputerStakeInTopic not implemented") +} +func (UnimplementedQueryServiceServer) GetStakeFromReputerInTopicInSelf(context.Context, *GetStakeFromReputerInTopicInSelfRequest) (*GetStakeFromReputerInTopicInSelfResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetStakeFromReputerInTopicInSelf not implemented") +} +func (UnimplementedQueryServiceServer) GetDelegateStakeInTopicInReputer(context.Context, *GetDelegateStakeInTopicInReputerRequest) (*GetDelegateStakeInTopicInReputerResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetDelegateStakeInTopicInReputer not implemented") +} +func (UnimplementedQueryServiceServer) GetStakeFromDelegatorInTopicInReputer(context.Context, *GetStakeFromDelegatorInTopicInReputerRequest) (*GetStakeFromDelegatorInTopicInReputerResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetStakeFromDelegatorInTopicInReputer not implemented") +} +func (UnimplementedQueryServiceServer) GetStakeFromDelegatorInTopic(context.Context, *GetStakeFromDelegatorInTopicRequest) (*GetStakeFromDelegatorInTopicResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetStakeFromDelegatorInTopic not implemented") +} +func (UnimplementedQueryServiceServer) GetTopicStake(context.Context, *GetTopicStakeRequest) (*GetTopicStakeResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetTopicStake not implemented") +} +func (UnimplementedQueryServiceServer) GetStakeRemovalsUpUntilBlock(context.Context, *GetStakeRemovalsUpUntilBlockRequest) (*GetStakeRemovalsUpUntilBlockResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetStakeRemovalsUpUntilBlock not implemented") +} +func (UnimplementedQueryServiceServer) GetDelegateStakeRemovalsUpUntilBlock(context.Context, *GetDelegateStakeRemovalsUpUntilBlockRequest) (*GetDelegateStakeRemovalsUpUntilBlockResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetDelegateStakeRemovalsUpUntilBlock not implemented") +} +func (UnimplementedQueryServiceServer) GetStakeRemovalInfo(context.Context, *GetStakeRemovalInfoRequest) (*GetStakeRemovalInfoResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetStakeRemovalInfo not implemented") +} +func (UnimplementedQueryServiceServer) GetDelegateStakeRemovalInfo(context.Context, *GetDelegateStakeRemovalInfoRequest) (*GetDelegateStakeRemovalInfoResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetDelegateStakeRemovalInfo not implemented") +} +func (UnimplementedQueryServiceServer) GetWorkerNodeInfo(context.Context, *GetWorkerNodeInfoRequest) (*GetWorkerNodeInfoResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetWorkerNodeInfo not implemented") +} +func (UnimplementedQueryServiceServer) GetReputerNodeInfo(context.Context, *GetReputerNodeInfoRequest) (*GetReputerNodeInfoResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetReputerNodeInfo not implemented") +} +func (UnimplementedQueryServiceServer) IsWorkerRegisteredInTopicId(context.Context, *IsWorkerRegisteredInTopicIdRequest) (*IsWorkerRegisteredInTopicIdResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method IsWorkerRegisteredInTopicId not implemented") +} +func (UnimplementedQueryServiceServer) IsReputerRegisteredInTopicId(context.Context, *IsReputerRegisteredInTopicIdRequest) (*IsReputerRegisteredInTopicIdResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method IsReputerRegisteredInTopicId not implemented") +} +func (UnimplementedQueryServiceServer) GetNetworkInferencesAtBlock(context.Context, *GetNetworkInferencesAtBlockRequest) (*GetNetworkInferencesAtBlockResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetNetworkInferencesAtBlock not implemented") +} +func (UnimplementedQueryServiceServer) GetNetworkInferencesAtBlockOutlierResistant(context.Context, *GetNetworkInferencesAtBlockOutlierResistantRequest) (*GetNetworkInferencesAtBlockOutlierResistantResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetNetworkInferencesAtBlockOutlierResistant not implemented") +} +func (UnimplementedQueryServiceServer) GetLatestNetworkInferences(context.Context, *GetLatestNetworkInferencesRequest) (*GetLatestNetworkInferencesResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetLatestNetworkInferences not implemented") +} +func (UnimplementedQueryServiceServer) GetLatestNetworkInferencesOutlierResistant(context.Context, *GetLatestNetworkInferencesOutlierResistantRequest) (*GetLatestNetworkInferencesOutlierResistantResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetLatestNetworkInferencesOutlierResistant not implemented") +} +func (UnimplementedQueryServiceServer) GetLatestAvailableNetworkInferences(context.Context, *GetLatestAvailableNetworkInferencesRequest) (*GetLatestAvailableNetworkInferencesResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetLatestAvailableNetworkInferences not implemented") +} +func (UnimplementedQueryServiceServer) GetLatestAvailableNetworkInferencesOutlierResistant(context.Context, *GetLatestAvailableNetworkInferencesOutlierResistantRequest) (*GetLatestAvailableNetworkInferencesOutlierResistantResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetLatestAvailableNetworkInferencesOutlierResistant not implemented") +} +func (UnimplementedQueryServiceServer) IsWorkerNonceUnfulfilled(context.Context, *IsWorkerNonceUnfulfilledRequest) (*IsWorkerNonceUnfulfilledResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method IsWorkerNonceUnfulfilled not implemented") +} +func (UnimplementedQueryServiceServer) IsReputerNonceUnfulfilled(context.Context, *IsReputerNonceUnfulfilledRequest) (*IsReputerNonceUnfulfilledResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method IsReputerNonceUnfulfilled not implemented") +} +func (UnimplementedQueryServiceServer) GetUnfulfilledWorkerNonces(context.Context, *GetUnfulfilledWorkerNoncesRequest) (*GetUnfulfilledWorkerNoncesResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetUnfulfilledWorkerNonces not implemented") +} +func (UnimplementedQueryServiceServer) GetUnfulfilledReputerNonces(context.Context, *GetUnfulfilledReputerNoncesRequest) (*GetUnfulfilledReputerNoncesResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetUnfulfilledReputerNonces not implemented") +} +func (UnimplementedQueryServiceServer) GetInfererNetworkRegret(context.Context, *GetInfererNetworkRegretRequest) (*GetInfererNetworkRegretResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetInfererNetworkRegret not implemented") +} +func (UnimplementedQueryServiceServer) GetForecasterNetworkRegret(context.Context, *GetForecasterNetworkRegretRequest) (*GetForecasterNetworkRegretResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetForecasterNetworkRegret not implemented") +} +func (UnimplementedQueryServiceServer) GetOneInForecasterNetworkRegret(context.Context, *GetOneInForecasterNetworkRegretRequest) (*GetOneInForecasterNetworkRegretResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetOneInForecasterNetworkRegret not implemented") +} +func (UnimplementedQueryServiceServer) IsWhitelistAdmin(context.Context, *IsWhitelistAdminRequest) (*IsWhitelistAdminResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method IsWhitelistAdmin not implemented") +} +func (UnimplementedQueryServiceServer) GetTopicLastWorkerCommitInfo(context.Context, *GetTopicLastWorkerCommitInfoRequest) (*GetTopicLastWorkerCommitInfoResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetTopicLastWorkerCommitInfo not implemented") +} +func (UnimplementedQueryServiceServer) GetTopicLastReputerCommitInfo(context.Context, *GetTopicLastReputerCommitInfoRequest) (*GetTopicLastReputerCommitInfoResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetTopicLastReputerCommitInfo not implemented") +} +func (UnimplementedQueryServiceServer) GetTopicRewardNonce(context.Context, *GetTopicRewardNonceRequest) (*GetTopicRewardNonceResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetTopicRewardNonce not implemented") +} +func (UnimplementedQueryServiceServer) GetReputerLossBundlesAtBlock(context.Context, *GetReputerLossBundlesAtBlockRequest) (*GetReputerLossBundlesAtBlockResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetReputerLossBundlesAtBlock not implemented") +} +func (UnimplementedQueryServiceServer) GetStakeReputerAuthority(context.Context, *GetStakeReputerAuthorityRequest) (*GetStakeReputerAuthorityResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetStakeReputerAuthority not implemented") +} +func (UnimplementedQueryServiceServer) GetDelegateStakePlacement(context.Context, *GetDelegateStakePlacementRequest) (*GetDelegateStakePlacementResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetDelegateStakePlacement not implemented") +} +func (UnimplementedQueryServiceServer) GetDelegateStakeUponReputer(context.Context, *GetDelegateStakeUponReputerRequest) (*GetDelegateStakeUponReputerResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetDelegateStakeUponReputer not implemented") +} +func (UnimplementedQueryServiceServer) GetDelegateRewardPerShare(context.Context, *GetDelegateRewardPerShareRequest) (*GetDelegateRewardPerShareResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetDelegateRewardPerShare not implemented") +} +func (UnimplementedQueryServiceServer) GetStakeRemovalForReputerAndTopicId(context.Context, *GetStakeRemovalForReputerAndTopicIdRequest) (*GetStakeRemovalForReputerAndTopicIdResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetStakeRemovalForReputerAndTopicId not implemented") +} +func (UnimplementedQueryServiceServer) GetDelegateStakeRemoval(context.Context, *GetDelegateStakeRemovalRequest) (*GetDelegateStakeRemovalResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetDelegateStakeRemoval not implemented") +} +func (UnimplementedQueryServiceServer) GetPreviousTopicWeight(context.Context, *GetPreviousTopicWeightRequest) (*GetPreviousTopicWeightResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetPreviousTopicWeight not implemented") +} +func (UnimplementedQueryServiceServer) GetTotalSumPreviousTopicWeights(context.Context, *GetTotalSumPreviousTopicWeightsRequest) (*GetTotalSumPreviousTopicWeightsResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetTotalSumPreviousTopicWeights not implemented") +} +func (UnimplementedQueryServiceServer) TopicExists(context.Context, *TopicExistsRequest) (*TopicExistsResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method TopicExists not implemented") +} +func (UnimplementedQueryServiceServer) IsTopicActive(context.Context, *IsTopicActiveRequest) (*IsTopicActiveResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method IsTopicActive not implemented") +} +func (UnimplementedQueryServiceServer) GetTopicFeeRevenue(context.Context, *GetTopicFeeRevenueRequest) (*GetTopicFeeRevenueResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetTopicFeeRevenue not implemented") +} +func (UnimplementedQueryServiceServer) GetInfererScoreEma(context.Context, *GetInfererScoreEmaRequest) (*GetInfererScoreEmaResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetInfererScoreEma not implemented") +} +func (UnimplementedQueryServiceServer) GetForecasterScoreEma(context.Context, *GetForecasterScoreEmaRequest) (*GetForecasterScoreEmaResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetForecasterScoreEma not implemented") +} +func (UnimplementedQueryServiceServer) GetReputerScoreEma(context.Context, *GetReputerScoreEmaRequest) (*GetReputerScoreEmaResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetReputerScoreEma not implemented") +} +func (UnimplementedQueryServiceServer) GetInferenceScoresUntilBlock(context.Context, *GetInferenceScoresUntilBlockRequest) (*GetInferenceScoresUntilBlockResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetInferenceScoresUntilBlock not implemented") +} +func (UnimplementedQueryServiceServer) GetPreviousTopicQuantileForecasterScoreEma(context.Context, *GetPreviousTopicQuantileForecasterScoreEmaRequest) (*GetPreviousTopicQuantileForecasterScoreEmaResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetPreviousTopicQuantileForecasterScoreEma not implemented") +} +func (UnimplementedQueryServiceServer) GetPreviousTopicQuantileInfererScoreEma(context.Context, *GetPreviousTopicQuantileInfererScoreEmaRequest) (*GetPreviousTopicQuantileInfererScoreEmaResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetPreviousTopicQuantileInfererScoreEma not implemented") +} +func (UnimplementedQueryServiceServer) GetPreviousTopicQuantileReputerScoreEma(context.Context, *GetPreviousTopicQuantileReputerScoreEmaRequest) (*GetPreviousTopicQuantileReputerScoreEmaResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetPreviousTopicQuantileReputerScoreEma not implemented") +} +func (UnimplementedQueryServiceServer) GetWorkerInferenceScoresAtBlock(context.Context, *GetWorkerInferenceScoresAtBlockRequest) (*GetWorkerInferenceScoresAtBlockResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetWorkerInferenceScoresAtBlock not implemented") +} +func (UnimplementedQueryServiceServer) GetCurrentLowestInfererScore(context.Context, *GetCurrentLowestInfererScoreRequest) (*GetCurrentLowestInfererScoreResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetCurrentLowestInfererScore not implemented") +} +func (UnimplementedQueryServiceServer) GetForecastScoresUntilBlock(context.Context, *GetForecastScoresUntilBlockRequest) (*GetForecastScoresUntilBlockResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetForecastScoresUntilBlock not implemented") +} +func (UnimplementedQueryServiceServer) GetWorkerForecastScoresAtBlock(context.Context, *GetWorkerForecastScoresAtBlockRequest) (*GetWorkerForecastScoresAtBlockResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetWorkerForecastScoresAtBlock not implemented") +} +func (UnimplementedQueryServiceServer) GetCurrentLowestForecasterScore(context.Context, *GetCurrentLowestForecasterScoreRequest) (*GetCurrentLowestForecasterScoreResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetCurrentLowestForecasterScore not implemented") +} +func (UnimplementedQueryServiceServer) GetReputersScoresAtBlock(context.Context, *GetReputersScoresAtBlockRequest) (*GetReputersScoresAtBlockResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetReputersScoresAtBlock not implemented") +} +func (UnimplementedQueryServiceServer) GetCurrentLowestReputerScore(context.Context, *GetCurrentLowestReputerScoreRequest) (*GetCurrentLowestReputerScoreResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetCurrentLowestReputerScore not implemented") +} +func (UnimplementedQueryServiceServer) GetListeningCoefficient(context.Context, *GetListeningCoefficientRequest) (*GetListeningCoefficientResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetListeningCoefficient not implemented") +} +func (UnimplementedQueryServiceServer) GetPreviousReputerRewardFraction(context.Context, *GetPreviousReputerRewardFractionRequest) (*GetPreviousReputerRewardFractionResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetPreviousReputerRewardFraction not implemented") +} +func (UnimplementedQueryServiceServer) GetPreviousInferenceRewardFraction(context.Context, *GetPreviousInferenceRewardFractionRequest) (*GetPreviousInferenceRewardFractionResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetPreviousInferenceRewardFraction not implemented") +} +func (UnimplementedQueryServiceServer) GetPreviousForecastRewardFraction(context.Context, *GetPreviousForecastRewardFractionRequest) (*GetPreviousForecastRewardFractionResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetPreviousForecastRewardFraction not implemented") +} +func (UnimplementedQueryServiceServer) GetPreviousPercentageRewardToStakedReputers(context.Context, *GetPreviousPercentageRewardToStakedReputersRequest) (*GetPreviousPercentageRewardToStakedReputersResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetPreviousPercentageRewardToStakedReputers not implemented") +} +func (UnimplementedQueryServiceServer) GetTotalRewardToDistribute(context.Context, *GetTotalRewardToDistributeRequest) (*GetTotalRewardToDistributeResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetTotalRewardToDistribute not implemented") +} +func (UnimplementedQueryServiceServer) GetNaiveInfererNetworkRegret(context.Context, *GetNaiveInfererNetworkRegretRequest) (*GetNaiveInfererNetworkRegretResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetNaiveInfererNetworkRegret not implemented") +} +func (UnimplementedQueryServiceServer) GetOneOutInfererInfererNetworkRegret(context.Context, *GetOneOutInfererInfererNetworkRegretRequest) (*GetOneOutInfererInfererNetworkRegretResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetOneOutInfererInfererNetworkRegret not implemented") +} +func (UnimplementedQueryServiceServer) GetOneOutInfererForecasterNetworkRegret(context.Context, *GetOneOutInfererForecasterNetworkRegretRequest) (*GetOneOutInfererForecasterNetworkRegretResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetOneOutInfererForecasterNetworkRegret not implemented") +} +func (UnimplementedQueryServiceServer) GetOneOutForecasterInfererNetworkRegret(context.Context, *GetOneOutForecasterInfererNetworkRegretRequest) (*GetOneOutForecasterInfererNetworkRegretResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetOneOutForecasterInfererNetworkRegret not implemented") +} +func (UnimplementedQueryServiceServer) GetOneOutForecasterForecasterNetworkRegret(context.Context, *GetOneOutForecasterForecasterNetworkRegretRequest) (*GetOneOutForecasterForecasterNetworkRegretResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetOneOutForecasterForecasterNetworkRegret not implemented") +} +func (UnimplementedQueryServiceServer) GetActiveTopicsAtBlock(context.Context, *GetActiveTopicsAtBlockRequest) (*GetActiveTopicsAtBlockResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetActiveTopicsAtBlock not implemented") +} +func (UnimplementedQueryServiceServer) GetNextChurningBlockByTopicId(context.Context, *GetNextChurningBlockByTopicIdRequest) (*GetNextChurningBlockByTopicIdResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetNextChurningBlockByTopicId not implemented") +} +func (UnimplementedQueryServiceServer) GetCountInfererInclusionsInTopic(context.Context, *GetCountInfererInclusionsInTopicRequest) (*GetCountInfererInclusionsInTopicResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetCountInfererInclusionsInTopic not implemented") +} +func (UnimplementedQueryServiceServer) GetCountForecasterInclusionsInTopic(context.Context, *GetCountForecasterInclusionsInTopicRequest) (*GetCountForecasterInclusionsInTopicResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetCountForecasterInclusionsInTopic not implemented") +} +func (UnimplementedQueryServiceServer) GetActiveReputersForTopic(context.Context, *GetActiveReputersForTopicRequest) (*GetActiveReputersForTopicResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetActiveReputersForTopic not implemented") +} +func (UnimplementedQueryServiceServer) GetActiveForecastersForTopic(context.Context, *GetActiveForecastersForTopicRequest) (*GetActiveForecastersForTopicResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetActiveForecastersForTopic not implemented") +} +func (UnimplementedQueryServiceServer) GetActiveInferersForTopic(context.Context, *GetActiveInferersForTopicRequest) (*GetActiveInferersForTopicResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetActiveInferersForTopic not implemented") +} +func (UnimplementedQueryServiceServer) IsWhitelistedGlobalWorker(context.Context, *IsWhitelistedGlobalWorkerRequest) (*IsWhitelistedGlobalWorkerResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method IsWhitelistedGlobalWorker not implemented") +} +func (UnimplementedQueryServiceServer) IsWhitelistedGlobalReputer(context.Context, *IsWhitelistedGlobalReputerRequest) (*IsWhitelistedGlobalReputerResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method IsWhitelistedGlobalReputer not implemented") +} +func (UnimplementedQueryServiceServer) IsWhitelistedGlobalAdmin(context.Context, *IsWhitelistedGlobalAdminRequest) (*IsWhitelistedGlobalAdminResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method IsWhitelistedGlobalAdmin not implemented") +} +func (UnimplementedQueryServiceServer) IsTopicWorkerWhitelistEnabled(context.Context, *IsTopicWorkerWhitelistEnabledRequest) (*IsTopicWorkerWhitelistEnabledResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method IsTopicWorkerWhitelistEnabled not implemented") +} +func (UnimplementedQueryServiceServer) IsTopicReputerWhitelistEnabled(context.Context, *IsTopicReputerWhitelistEnabledRequest) (*IsTopicReputerWhitelistEnabledResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method IsTopicReputerWhitelistEnabled not implemented") +} +func (UnimplementedQueryServiceServer) IsWhitelistedTopicCreator(context.Context, *IsWhitelistedTopicCreatorRequest) (*IsWhitelistedTopicCreatorResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method IsWhitelistedTopicCreator not implemented") +} +func (UnimplementedQueryServiceServer) IsWhitelistedGlobalActor(context.Context, *IsWhitelistedGlobalActorRequest) (*IsWhitelistedGlobalActorResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method IsWhitelistedGlobalActor not implemented") +} +func (UnimplementedQueryServiceServer) IsWhitelistedTopicWorker(context.Context, *IsWhitelistedTopicWorkerRequest) (*IsWhitelistedTopicWorkerResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method IsWhitelistedTopicWorker not implemented") +} +func (UnimplementedQueryServiceServer) IsWhitelistedTopicReputer(context.Context, *IsWhitelistedTopicReputerRequest) (*IsWhitelistedTopicReputerResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method IsWhitelistedTopicReputer not implemented") +} +func (UnimplementedQueryServiceServer) CanUpdateAllGlobalWhitelists(context.Context, *CanUpdateAllGlobalWhitelistsRequest) (*CanUpdateAllGlobalWhitelistsResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method CanUpdateAllGlobalWhitelists not implemented") +} +func (UnimplementedQueryServiceServer) CanUpdateGlobalWorkerWhitelist(context.Context, *CanUpdateGlobalWorkerWhitelistRequest) (*CanUpdateGlobalWorkerWhitelistResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method CanUpdateGlobalWorkerWhitelist not implemented") +} +func (UnimplementedQueryServiceServer) CanUpdateGlobalReputerWhitelist(context.Context, *CanUpdateGlobalReputerWhitelistRequest) (*CanUpdateGlobalReputerWhitelistResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method CanUpdateGlobalReputerWhitelist not implemented") +} +func (UnimplementedQueryServiceServer) CanUpdateParams(context.Context, *CanUpdateParamsRequest) (*CanUpdateParamsResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method CanUpdateParams not implemented") +} +func (UnimplementedQueryServiceServer) CanUpdateTopicWhitelist(context.Context, *CanUpdateTopicWhitelistRequest) (*CanUpdateTopicWhitelistResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method CanUpdateTopicWhitelist not implemented") +} +func (UnimplementedQueryServiceServer) CanCreateTopic(context.Context, *CanCreateTopicRequest) (*CanCreateTopicResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method CanCreateTopic not implemented") +} +func (UnimplementedQueryServiceServer) CanSubmitWorkerPayload(context.Context, *CanSubmitWorkerPayloadRequest) (*CanSubmitWorkerPayloadResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method CanSubmitWorkerPayload not implemented") +} +func (UnimplementedQueryServiceServer) CanSubmitReputerPayload(context.Context, *CanSubmitReputerPayloadRequest) (*CanSubmitReputerPayloadResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method CanSubmitReputerPayload not implemented") +} +func (UnimplementedQueryServiceServer) GetTopicInitialInfererEmaScore(context.Context, *GetTopicInitialInfererEmaScoreRequest) (*GetTopicInitialInfererEmaScoreResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetTopicInitialInfererEmaScore not implemented") +} +func (UnimplementedQueryServiceServer) GetTopicInitialForecasterEmaScore(context.Context, *GetTopicInitialForecasterEmaScoreRequest) (*GetTopicInitialForecasterEmaScoreResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetTopicInitialForecasterEmaScore not implemented") +} +func (UnimplementedQueryServiceServer) GetTopicInitialReputerEmaScore(context.Context, *GetTopicInitialReputerEmaScoreRequest) (*GetTopicInitialReputerEmaScoreResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetTopicInitialReputerEmaScore not implemented") +} +func (UnimplementedQueryServiceServer) GetLatestRegretStdNorm(context.Context, *GetLatestRegretStdNormRequest) (*GetLatestRegretStdNormResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetLatestRegretStdNorm not implemented") +} +func (UnimplementedQueryServiceServer) GetLatestInfererWeight(context.Context, *GetLatestInfererWeightRequest) (*GetLatestInfererWeightResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetLatestInfererWeight not implemented") +} +func (UnimplementedQueryServiceServer) GetLatestForecasterWeight(context.Context, *GetLatestForecasterWeightRequest) (*GetLatestForecasterWeightResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetLatestForecasterWeight not implemented") +} +func (UnimplementedQueryServiceServer) mustEmbedUnimplementedQueryServiceServer() {} +func (UnimplementedQueryServiceServer) testEmbeddedByValue() {} + +// UnsafeQueryServiceServer may be embedded to opt out of forward compatibility for this service. +// Use of this interface is not recommended, as added methods to QueryServiceServer will +// result in compilation errors. +type UnsafeQueryServiceServer interface { + mustEmbedUnimplementedQueryServiceServer() +} + +func RegisterQueryServiceServer(s grpc.ServiceRegistrar, srv QueryServiceServer) { + // If the following call pancis, it indicates UnimplementedQueryServiceServer was + // embedded by pointer and is nil. This will cause panics if an + // unimplemented method is ever invoked, so we test this at initialization + // time to prevent it from happening at runtime later due to I/O. + if t, ok := srv.(interface{ testEmbeddedByValue() }); ok { + t.testEmbeddedByValue() + } + s.RegisterService(&QueryService_ServiceDesc, srv) +} + +func _QueryService_GetParams_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(GetParamsRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(QueryServiceServer).GetParams(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: QueryService_GetParams_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(QueryServiceServer).GetParams(ctx, req.(*GetParamsRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _QueryService_GetNextTopicId_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(GetNextTopicIdRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(QueryServiceServer).GetNextTopicId(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: QueryService_GetNextTopicId_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(QueryServiceServer).GetNextTopicId(ctx, req.(*GetNextTopicIdRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _QueryService_GetTopic_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(GetTopicRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(QueryServiceServer).GetTopic(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: QueryService_GetTopic_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(QueryServiceServer).GetTopic(ctx, req.(*GetTopicRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _QueryService_GetWorkerLatestInferenceByTopicId_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(GetWorkerLatestInferenceByTopicIdRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(QueryServiceServer).GetWorkerLatestInferenceByTopicId(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: QueryService_GetWorkerLatestInferenceByTopicId_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(QueryServiceServer).GetWorkerLatestInferenceByTopicId(ctx, req.(*GetWorkerLatestInferenceByTopicIdRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _QueryService_GetInferencesAtBlock_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(GetInferencesAtBlockRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(QueryServiceServer).GetInferencesAtBlock(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: QueryService_GetInferencesAtBlock_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(QueryServiceServer).GetInferencesAtBlock(ctx, req.(*GetInferencesAtBlockRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _QueryService_GetLatestTopicInferences_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(GetLatestTopicInferencesRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(QueryServiceServer).GetLatestTopicInferences(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: QueryService_GetLatestTopicInferences_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(QueryServiceServer).GetLatestTopicInferences(ctx, req.(*GetLatestTopicInferencesRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _QueryService_GetForecastsAtBlock_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(GetForecastsAtBlockRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(QueryServiceServer).GetForecastsAtBlock(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: QueryService_GetForecastsAtBlock_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(QueryServiceServer).GetForecastsAtBlock(ctx, req.(*GetForecastsAtBlockRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _QueryService_GetNetworkLossBundleAtBlock_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(GetNetworkLossBundleAtBlockRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(QueryServiceServer).GetNetworkLossBundleAtBlock(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: QueryService_GetNetworkLossBundleAtBlock_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(QueryServiceServer).GetNetworkLossBundleAtBlock(ctx, req.(*GetNetworkLossBundleAtBlockRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _QueryService_GetTotalStake_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(GetTotalStakeRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(QueryServiceServer).GetTotalStake(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: QueryService_GetTotalStake_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(QueryServiceServer).GetTotalStake(ctx, req.(*GetTotalStakeRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _QueryService_GetReputerStakeInTopic_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(GetReputerStakeInTopicRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(QueryServiceServer).GetReputerStakeInTopic(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: QueryService_GetReputerStakeInTopic_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(QueryServiceServer).GetReputerStakeInTopic(ctx, req.(*GetReputerStakeInTopicRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _QueryService_GetMultiReputerStakeInTopic_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(GetMultiReputerStakeInTopicRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(QueryServiceServer).GetMultiReputerStakeInTopic(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: QueryService_GetMultiReputerStakeInTopic_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(QueryServiceServer).GetMultiReputerStakeInTopic(ctx, req.(*GetMultiReputerStakeInTopicRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _QueryService_GetStakeFromReputerInTopicInSelf_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(GetStakeFromReputerInTopicInSelfRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(QueryServiceServer).GetStakeFromReputerInTopicInSelf(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: QueryService_GetStakeFromReputerInTopicInSelf_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(QueryServiceServer).GetStakeFromReputerInTopicInSelf(ctx, req.(*GetStakeFromReputerInTopicInSelfRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _QueryService_GetDelegateStakeInTopicInReputer_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(GetDelegateStakeInTopicInReputerRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(QueryServiceServer).GetDelegateStakeInTopicInReputer(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: QueryService_GetDelegateStakeInTopicInReputer_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(QueryServiceServer).GetDelegateStakeInTopicInReputer(ctx, req.(*GetDelegateStakeInTopicInReputerRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _QueryService_GetStakeFromDelegatorInTopicInReputer_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(GetStakeFromDelegatorInTopicInReputerRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(QueryServiceServer).GetStakeFromDelegatorInTopicInReputer(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: QueryService_GetStakeFromDelegatorInTopicInReputer_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(QueryServiceServer).GetStakeFromDelegatorInTopicInReputer(ctx, req.(*GetStakeFromDelegatorInTopicInReputerRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _QueryService_GetStakeFromDelegatorInTopic_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(GetStakeFromDelegatorInTopicRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(QueryServiceServer).GetStakeFromDelegatorInTopic(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: QueryService_GetStakeFromDelegatorInTopic_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(QueryServiceServer).GetStakeFromDelegatorInTopic(ctx, req.(*GetStakeFromDelegatorInTopicRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _QueryService_GetTopicStake_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(GetTopicStakeRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(QueryServiceServer).GetTopicStake(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: QueryService_GetTopicStake_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(QueryServiceServer).GetTopicStake(ctx, req.(*GetTopicStakeRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _QueryService_GetStakeRemovalsUpUntilBlock_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(GetStakeRemovalsUpUntilBlockRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(QueryServiceServer).GetStakeRemovalsUpUntilBlock(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: QueryService_GetStakeRemovalsUpUntilBlock_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(QueryServiceServer).GetStakeRemovalsUpUntilBlock(ctx, req.(*GetStakeRemovalsUpUntilBlockRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _QueryService_GetDelegateStakeRemovalsUpUntilBlock_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(GetDelegateStakeRemovalsUpUntilBlockRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(QueryServiceServer).GetDelegateStakeRemovalsUpUntilBlock(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: QueryService_GetDelegateStakeRemovalsUpUntilBlock_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(QueryServiceServer).GetDelegateStakeRemovalsUpUntilBlock(ctx, req.(*GetDelegateStakeRemovalsUpUntilBlockRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _QueryService_GetStakeRemovalInfo_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(GetStakeRemovalInfoRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(QueryServiceServer).GetStakeRemovalInfo(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: QueryService_GetStakeRemovalInfo_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(QueryServiceServer).GetStakeRemovalInfo(ctx, req.(*GetStakeRemovalInfoRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _QueryService_GetDelegateStakeRemovalInfo_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(GetDelegateStakeRemovalInfoRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(QueryServiceServer).GetDelegateStakeRemovalInfo(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: QueryService_GetDelegateStakeRemovalInfo_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(QueryServiceServer).GetDelegateStakeRemovalInfo(ctx, req.(*GetDelegateStakeRemovalInfoRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _QueryService_GetWorkerNodeInfo_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(GetWorkerNodeInfoRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(QueryServiceServer).GetWorkerNodeInfo(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: QueryService_GetWorkerNodeInfo_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(QueryServiceServer).GetWorkerNodeInfo(ctx, req.(*GetWorkerNodeInfoRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _QueryService_GetReputerNodeInfo_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(GetReputerNodeInfoRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(QueryServiceServer).GetReputerNodeInfo(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: QueryService_GetReputerNodeInfo_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(QueryServiceServer).GetReputerNodeInfo(ctx, req.(*GetReputerNodeInfoRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _QueryService_IsWorkerRegisteredInTopicId_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(IsWorkerRegisteredInTopicIdRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(QueryServiceServer).IsWorkerRegisteredInTopicId(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: QueryService_IsWorkerRegisteredInTopicId_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(QueryServiceServer).IsWorkerRegisteredInTopicId(ctx, req.(*IsWorkerRegisteredInTopicIdRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _QueryService_IsReputerRegisteredInTopicId_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(IsReputerRegisteredInTopicIdRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(QueryServiceServer).IsReputerRegisteredInTopicId(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: QueryService_IsReputerRegisteredInTopicId_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(QueryServiceServer).IsReputerRegisteredInTopicId(ctx, req.(*IsReputerRegisteredInTopicIdRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _QueryService_GetNetworkInferencesAtBlock_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(GetNetworkInferencesAtBlockRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(QueryServiceServer).GetNetworkInferencesAtBlock(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: QueryService_GetNetworkInferencesAtBlock_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(QueryServiceServer).GetNetworkInferencesAtBlock(ctx, req.(*GetNetworkInferencesAtBlockRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _QueryService_GetNetworkInferencesAtBlockOutlierResistant_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(GetNetworkInferencesAtBlockOutlierResistantRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(QueryServiceServer).GetNetworkInferencesAtBlockOutlierResistant(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: QueryService_GetNetworkInferencesAtBlockOutlierResistant_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(QueryServiceServer).GetNetworkInferencesAtBlockOutlierResistant(ctx, req.(*GetNetworkInferencesAtBlockOutlierResistantRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _QueryService_GetLatestNetworkInferences_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(GetLatestNetworkInferencesRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(QueryServiceServer).GetLatestNetworkInferences(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: QueryService_GetLatestNetworkInferences_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(QueryServiceServer).GetLatestNetworkInferences(ctx, req.(*GetLatestNetworkInferencesRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _QueryService_GetLatestNetworkInferencesOutlierResistant_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(GetLatestNetworkInferencesOutlierResistantRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(QueryServiceServer).GetLatestNetworkInferencesOutlierResistant(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: QueryService_GetLatestNetworkInferencesOutlierResistant_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(QueryServiceServer).GetLatestNetworkInferencesOutlierResistant(ctx, req.(*GetLatestNetworkInferencesOutlierResistantRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _QueryService_GetLatestAvailableNetworkInferences_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(GetLatestAvailableNetworkInferencesRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(QueryServiceServer).GetLatestAvailableNetworkInferences(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: QueryService_GetLatestAvailableNetworkInferences_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(QueryServiceServer).GetLatestAvailableNetworkInferences(ctx, req.(*GetLatestAvailableNetworkInferencesRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _QueryService_GetLatestAvailableNetworkInferencesOutlierResistant_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(GetLatestAvailableNetworkInferencesOutlierResistantRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(QueryServiceServer).GetLatestAvailableNetworkInferencesOutlierResistant(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: QueryService_GetLatestAvailableNetworkInferencesOutlierResistant_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(QueryServiceServer).GetLatestAvailableNetworkInferencesOutlierResistant(ctx, req.(*GetLatestAvailableNetworkInferencesOutlierResistantRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _QueryService_IsWorkerNonceUnfulfilled_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(IsWorkerNonceUnfulfilledRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(QueryServiceServer).IsWorkerNonceUnfulfilled(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: QueryService_IsWorkerNonceUnfulfilled_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(QueryServiceServer).IsWorkerNonceUnfulfilled(ctx, req.(*IsWorkerNonceUnfulfilledRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _QueryService_IsReputerNonceUnfulfilled_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(IsReputerNonceUnfulfilledRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(QueryServiceServer).IsReputerNonceUnfulfilled(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: QueryService_IsReputerNonceUnfulfilled_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(QueryServiceServer).IsReputerNonceUnfulfilled(ctx, req.(*IsReputerNonceUnfulfilledRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _QueryService_GetUnfulfilledWorkerNonces_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(GetUnfulfilledWorkerNoncesRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(QueryServiceServer).GetUnfulfilledWorkerNonces(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: QueryService_GetUnfulfilledWorkerNonces_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(QueryServiceServer).GetUnfulfilledWorkerNonces(ctx, req.(*GetUnfulfilledWorkerNoncesRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _QueryService_GetUnfulfilledReputerNonces_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(GetUnfulfilledReputerNoncesRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(QueryServiceServer).GetUnfulfilledReputerNonces(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: QueryService_GetUnfulfilledReputerNonces_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(QueryServiceServer).GetUnfulfilledReputerNonces(ctx, req.(*GetUnfulfilledReputerNoncesRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _QueryService_GetInfererNetworkRegret_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(GetInfererNetworkRegretRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(QueryServiceServer).GetInfererNetworkRegret(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: QueryService_GetInfererNetworkRegret_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(QueryServiceServer).GetInfererNetworkRegret(ctx, req.(*GetInfererNetworkRegretRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _QueryService_GetForecasterNetworkRegret_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(GetForecasterNetworkRegretRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(QueryServiceServer).GetForecasterNetworkRegret(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: QueryService_GetForecasterNetworkRegret_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(QueryServiceServer).GetForecasterNetworkRegret(ctx, req.(*GetForecasterNetworkRegretRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _QueryService_GetOneInForecasterNetworkRegret_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(GetOneInForecasterNetworkRegretRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(QueryServiceServer).GetOneInForecasterNetworkRegret(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: QueryService_GetOneInForecasterNetworkRegret_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(QueryServiceServer).GetOneInForecasterNetworkRegret(ctx, req.(*GetOneInForecasterNetworkRegretRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _QueryService_IsWhitelistAdmin_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(IsWhitelistAdminRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(QueryServiceServer).IsWhitelistAdmin(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: QueryService_IsWhitelistAdmin_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(QueryServiceServer).IsWhitelistAdmin(ctx, req.(*IsWhitelistAdminRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _QueryService_GetTopicLastWorkerCommitInfo_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(GetTopicLastWorkerCommitInfoRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(QueryServiceServer).GetTopicLastWorkerCommitInfo(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: QueryService_GetTopicLastWorkerCommitInfo_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(QueryServiceServer).GetTopicLastWorkerCommitInfo(ctx, req.(*GetTopicLastWorkerCommitInfoRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _QueryService_GetTopicLastReputerCommitInfo_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(GetTopicLastReputerCommitInfoRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(QueryServiceServer).GetTopicLastReputerCommitInfo(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: QueryService_GetTopicLastReputerCommitInfo_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(QueryServiceServer).GetTopicLastReputerCommitInfo(ctx, req.(*GetTopicLastReputerCommitInfoRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _QueryService_GetTopicRewardNonce_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(GetTopicRewardNonceRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(QueryServiceServer).GetTopicRewardNonce(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: QueryService_GetTopicRewardNonce_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(QueryServiceServer).GetTopicRewardNonce(ctx, req.(*GetTopicRewardNonceRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _QueryService_GetReputerLossBundlesAtBlock_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(GetReputerLossBundlesAtBlockRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(QueryServiceServer).GetReputerLossBundlesAtBlock(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: QueryService_GetReputerLossBundlesAtBlock_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(QueryServiceServer).GetReputerLossBundlesAtBlock(ctx, req.(*GetReputerLossBundlesAtBlockRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _QueryService_GetStakeReputerAuthority_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(GetStakeReputerAuthorityRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(QueryServiceServer).GetStakeReputerAuthority(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: QueryService_GetStakeReputerAuthority_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(QueryServiceServer).GetStakeReputerAuthority(ctx, req.(*GetStakeReputerAuthorityRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _QueryService_GetDelegateStakePlacement_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(GetDelegateStakePlacementRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(QueryServiceServer).GetDelegateStakePlacement(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: QueryService_GetDelegateStakePlacement_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(QueryServiceServer).GetDelegateStakePlacement(ctx, req.(*GetDelegateStakePlacementRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _QueryService_GetDelegateStakeUponReputer_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(GetDelegateStakeUponReputerRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(QueryServiceServer).GetDelegateStakeUponReputer(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: QueryService_GetDelegateStakeUponReputer_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(QueryServiceServer).GetDelegateStakeUponReputer(ctx, req.(*GetDelegateStakeUponReputerRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _QueryService_GetDelegateRewardPerShare_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(GetDelegateRewardPerShareRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(QueryServiceServer).GetDelegateRewardPerShare(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: QueryService_GetDelegateRewardPerShare_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(QueryServiceServer).GetDelegateRewardPerShare(ctx, req.(*GetDelegateRewardPerShareRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _QueryService_GetStakeRemovalForReputerAndTopicId_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(GetStakeRemovalForReputerAndTopicIdRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(QueryServiceServer).GetStakeRemovalForReputerAndTopicId(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: QueryService_GetStakeRemovalForReputerAndTopicId_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(QueryServiceServer).GetStakeRemovalForReputerAndTopicId(ctx, req.(*GetStakeRemovalForReputerAndTopicIdRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _QueryService_GetDelegateStakeRemoval_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(GetDelegateStakeRemovalRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(QueryServiceServer).GetDelegateStakeRemoval(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: QueryService_GetDelegateStakeRemoval_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(QueryServiceServer).GetDelegateStakeRemoval(ctx, req.(*GetDelegateStakeRemovalRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _QueryService_GetPreviousTopicWeight_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(GetPreviousTopicWeightRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(QueryServiceServer).GetPreviousTopicWeight(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: QueryService_GetPreviousTopicWeight_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(QueryServiceServer).GetPreviousTopicWeight(ctx, req.(*GetPreviousTopicWeightRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _QueryService_GetTotalSumPreviousTopicWeights_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(GetTotalSumPreviousTopicWeightsRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(QueryServiceServer).GetTotalSumPreviousTopicWeights(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: QueryService_GetTotalSumPreviousTopicWeights_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(QueryServiceServer).GetTotalSumPreviousTopicWeights(ctx, req.(*GetTotalSumPreviousTopicWeightsRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _QueryService_TopicExists_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(TopicExistsRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(QueryServiceServer).TopicExists(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: QueryService_TopicExists_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(QueryServiceServer).TopicExists(ctx, req.(*TopicExistsRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _QueryService_IsTopicActive_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(IsTopicActiveRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(QueryServiceServer).IsTopicActive(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: QueryService_IsTopicActive_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(QueryServiceServer).IsTopicActive(ctx, req.(*IsTopicActiveRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _QueryService_GetTopicFeeRevenue_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(GetTopicFeeRevenueRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(QueryServiceServer).GetTopicFeeRevenue(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: QueryService_GetTopicFeeRevenue_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(QueryServiceServer).GetTopicFeeRevenue(ctx, req.(*GetTopicFeeRevenueRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _QueryService_GetInfererScoreEma_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(GetInfererScoreEmaRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(QueryServiceServer).GetInfererScoreEma(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: QueryService_GetInfererScoreEma_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(QueryServiceServer).GetInfererScoreEma(ctx, req.(*GetInfererScoreEmaRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _QueryService_GetForecasterScoreEma_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(GetForecasterScoreEmaRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(QueryServiceServer).GetForecasterScoreEma(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: QueryService_GetForecasterScoreEma_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(QueryServiceServer).GetForecasterScoreEma(ctx, req.(*GetForecasterScoreEmaRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _QueryService_GetReputerScoreEma_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(GetReputerScoreEmaRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(QueryServiceServer).GetReputerScoreEma(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: QueryService_GetReputerScoreEma_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(QueryServiceServer).GetReputerScoreEma(ctx, req.(*GetReputerScoreEmaRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _QueryService_GetInferenceScoresUntilBlock_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(GetInferenceScoresUntilBlockRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(QueryServiceServer).GetInferenceScoresUntilBlock(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: QueryService_GetInferenceScoresUntilBlock_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(QueryServiceServer).GetInferenceScoresUntilBlock(ctx, req.(*GetInferenceScoresUntilBlockRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _QueryService_GetPreviousTopicQuantileForecasterScoreEma_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(GetPreviousTopicQuantileForecasterScoreEmaRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(QueryServiceServer).GetPreviousTopicQuantileForecasterScoreEma(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: QueryService_GetPreviousTopicQuantileForecasterScoreEma_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(QueryServiceServer).GetPreviousTopicQuantileForecasterScoreEma(ctx, req.(*GetPreviousTopicQuantileForecasterScoreEmaRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _QueryService_GetPreviousTopicQuantileInfererScoreEma_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(GetPreviousTopicQuantileInfererScoreEmaRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(QueryServiceServer).GetPreviousTopicQuantileInfererScoreEma(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: QueryService_GetPreviousTopicQuantileInfererScoreEma_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(QueryServiceServer).GetPreviousTopicQuantileInfererScoreEma(ctx, req.(*GetPreviousTopicQuantileInfererScoreEmaRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _QueryService_GetPreviousTopicQuantileReputerScoreEma_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(GetPreviousTopicQuantileReputerScoreEmaRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(QueryServiceServer).GetPreviousTopicQuantileReputerScoreEma(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: QueryService_GetPreviousTopicQuantileReputerScoreEma_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(QueryServiceServer).GetPreviousTopicQuantileReputerScoreEma(ctx, req.(*GetPreviousTopicQuantileReputerScoreEmaRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _QueryService_GetWorkerInferenceScoresAtBlock_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(GetWorkerInferenceScoresAtBlockRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(QueryServiceServer).GetWorkerInferenceScoresAtBlock(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: QueryService_GetWorkerInferenceScoresAtBlock_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(QueryServiceServer).GetWorkerInferenceScoresAtBlock(ctx, req.(*GetWorkerInferenceScoresAtBlockRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _QueryService_GetCurrentLowestInfererScore_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(GetCurrentLowestInfererScoreRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(QueryServiceServer).GetCurrentLowestInfererScore(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: QueryService_GetCurrentLowestInfererScore_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(QueryServiceServer).GetCurrentLowestInfererScore(ctx, req.(*GetCurrentLowestInfererScoreRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _QueryService_GetForecastScoresUntilBlock_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(GetForecastScoresUntilBlockRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(QueryServiceServer).GetForecastScoresUntilBlock(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: QueryService_GetForecastScoresUntilBlock_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(QueryServiceServer).GetForecastScoresUntilBlock(ctx, req.(*GetForecastScoresUntilBlockRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _QueryService_GetWorkerForecastScoresAtBlock_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(GetWorkerForecastScoresAtBlockRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(QueryServiceServer).GetWorkerForecastScoresAtBlock(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: QueryService_GetWorkerForecastScoresAtBlock_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(QueryServiceServer).GetWorkerForecastScoresAtBlock(ctx, req.(*GetWorkerForecastScoresAtBlockRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _QueryService_GetCurrentLowestForecasterScore_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(GetCurrentLowestForecasterScoreRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(QueryServiceServer).GetCurrentLowestForecasterScore(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: QueryService_GetCurrentLowestForecasterScore_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(QueryServiceServer).GetCurrentLowestForecasterScore(ctx, req.(*GetCurrentLowestForecasterScoreRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _QueryService_GetReputersScoresAtBlock_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(GetReputersScoresAtBlockRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(QueryServiceServer).GetReputersScoresAtBlock(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: QueryService_GetReputersScoresAtBlock_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(QueryServiceServer).GetReputersScoresAtBlock(ctx, req.(*GetReputersScoresAtBlockRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _QueryService_GetCurrentLowestReputerScore_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(GetCurrentLowestReputerScoreRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(QueryServiceServer).GetCurrentLowestReputerScore(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: QueryService_GetCurrentLowestReputerScore_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(QueryServiceServer).GetCurrentLowestReputerScore(ctx, req.(*GetCurrentLowestReputerScoreRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _QueryService_GetListeningCoefficient_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(GetListeningCoefficientRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(QueryServiceServer).GetListeningCoefficient(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: QueryService_GetListeningCoefficient_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(QueryServiceServer).GetListeningCoefficient(ctx, req.(*GetListeningCoefficientRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _QueryService_GetPreviousReputerRewardFraction_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(GetPreviousReputerRewardFractionRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(QueryServiceServer).GetPreviousReputerRewardFraction(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: QueryService_GetPreviousReputerRewardFraction_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(QueryServiceServer).GetPreviousReputerRewardFraction(ctx, req.(*GetPreviousReputerRewardFractionRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _QueryService_GetPreviousInferenceRewardFraction_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(GetPreviousInferenceRewardFractionRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(QueryServiceServer).GetPreviousInferenceRewardFraction(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: QueryService_GetPreviousInferenceRewardFraction_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(QueryServiceServer).GetPreviousInferenceRewardFraction(ctx, req.(*GetPreviousInferenceRewardFractionRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _QueryService_GetPreviousForecastRewardFraction_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(GetPreviousForecastRewardFractionRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(QueryServiceServer).GetPreviousForecastRewardFraction(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: QueryService_GetPreviousForecastRewardFraction_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(QueryServiceServer).GetPreviousForecastRewardFraction(ctx, req.(*GetPreviousForecastRewardFractionRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _QueryService_GetPreviousPercentageRewardToStakedReputers_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(GetPreviousPercentageRewardToStakedReputersRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(QueryServiceServer).GetPreviousPercentageRewardToStakedReputers(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: QueryService_GetPreviousPercentageRewardToStakedReputers_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(QueryServiceServer).GetPreviousPercentageRewardToStakedReputers(ctx, req.(*GetPreviousPercentageRewardToStakedReputersRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _QueryService_GetTotalRewardToDistribute_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(GetTotalRewardToDistributeRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(QueryServiceServer).GetTotalRewardToDistribute(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: QueryService_GetTotalRewardToDistribute_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(QueryServiceServer).GetTotalRewardToDistribute(ctx, req.(*GetTotalRewardToDistributeRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _QueryService_GetNaiveInfererNetworkRegret_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(GetNaiveInfererNetworkRegretRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(QueryServiceServer).GetNaiveInfererNetworkRegret(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: QueryService_GetNaiveInfererNetworkRegret_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(QueryServiceServer).GetNaiveInfererNetworkRegret(ctx, req.(*GetNaiveInfererNetworkRegretRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _QueryService_GetOneOutInfererInfererNetworkRegret_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(GetOneOutInfererInfererNetworkRegretRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(QueryServiceServer).GetOneOutInfererInfererNetworkRegret(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: QueryService_GetOneOutInfererInfererNetworkRegret_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(QueryServiceServer).GetOneOutInfererInfererNetworkRegret(ctx, req.(*GetOneOutInfererInfererNetworkRegretRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _QueryService_GetOneOutInfererForecasterNetworkRegret_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(GetOneOutInfererForecasterNetworkRegretRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(QueryServiceServer).GetOneOutInfererForecasterNetworkRegret(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: QueryService_GetOneOutInfererForecasterNetworkRegret_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(QueryServiceServer).GetOneOutInfererForecasterNetworkRegret(ctx, req.(*GetOneOutInfererForecasterNetworkRegretRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _QueryService_GetOneOutForecasterInfererNetworkRegret_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(GetOneOutForecasterInfererNetworkRegretRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(QueryServiceServer).GetOneOutForecasterInfererNetworkRegret(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: QueryService_GetOneOutForecasterInfererNetworkRegret_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(QueryServiceServer).GetOneOutForecasterInfererNetworkRegret(ctx, req.(*GetOneOutForecasterInfererNetworkRegretRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _QueryService_GetOneOutForecasterForecasterNetworkRegret_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(GetOneOutForecasterForecasterNetworkRegretRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(QueryServiceServer).GetOneOutForecasterForecasterNetworkRegret(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: QueryService_GetOneOutForecasterForecasterNetworkRegret_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(QueryServiceServer).GetOneOutForecasterForecasterNetworkRegret(ctx, req.(*GetOneOutForecasterForecasterNetworkRegretRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _QueryService_GetActiveTopicsAtBlock_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(GetActiveTopicsAtBlockRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(QueryServiceServer).GetActiveTopicsAtBlock(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: QueryService_GetActiveTopicsAtBlock_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(QueryServiceServer).GetActiveTopicsAtBlock(ctx, req.(*GetActiveTopicsAtBlockRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _QueryService_GetNextChurningBlockByTopicId_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(GetNextChurningBlockByTopicIdRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(QueryServiceServer).GetNextChurningBlockByTopicId(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: QueryService_GetNextChurningBlockByTopicId_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(QueryServiceServer).GetNextChurningBlockByTopicId(ctx, req.(*GetNextChurningBlockByTopicIdRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _QueryService_GetCountInfererInclusionsInTopic_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(GetCountInfererInclusionsInTopicRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(QueryServiceServer).GetCountInfererInclusionsInTopic(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: QueryService_GetCountInfererInclusionsInTopic_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(QueryServiceServer).GetCountInfererInclusionsInTopic(ctx, req.(*GetCountInfererInclusionsInTopicRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _QueryService_GetCountForecasterInclusionsInTopic_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(GetCountForecasterInclusionsInTopicRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(QueryServiceServer).GetCountForecasterInclusionsInTopic(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: QueryService_GetCountForecasterInclusionsInTopic_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(QueryServiceServer).GetCountForecasterInclusionsInTopic(ctx, req.(*GetCountForecasterInclusionsInTopicRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _QueryService_GetActiveReputersForTopic_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(GetActiveReputersForTopicRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(QueryServiceServer).GetActiveReputersForTopic(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: QueryService_GetActiveReputersForTopic_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(QueryServiceServer).GetActiveReputersForTopic(ctx, req.(*GetActiveReputersForTopicRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _QueryService_GetActiveForecastersForTopic_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(GetActiveForecastersForTopicRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(QueryServiceServer).GetActiveForecastersForTopic(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: QueryService_GetActiveForecastersForTopic_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(QueryServiceServer).GetActiveForecastersForTopic(ctx, req.(*GetActiveForecastersForTopicRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _QueryService_GetActiveInferersForTopic_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(GetActiveInferersForTopicRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(QueryServiceServer).GetActiveInferersForTopic(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: QueryService_GetActiveInferersForTopic_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(QueryServiceServer).GetActiveInferersForTopic(ctx, req.(*GetActiveInferersForTopicRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _QueryService_IsWhitelistedGlobalWorker_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(IsWhitelistedGlobalWorkerRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(QueryServiceServer).IsWhitelistedGlobalWorker(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: QueryService_IsWhitelistedGlobalWorker_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(QueryServiceServer).IsWhitelistedGlobalWorker(ctx, req.(*IsWhitelistedGlobalWorkerRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _QueryService_IsWhitelistedGlobalReputer_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(IsWhitelistedGlobalReputerRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(QueryServiceServer).IsWhitelistedGlobalReputer(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: QueryService_IsWhitelistedGlobalReputer_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(QueryServiceServer).IsWhitelistedGlobalReputer(ctx, req.(*IsWhitelistedGlobalReputerRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _QueryService_IsWhitelistedGlobalAdmin_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(IsWhitelistedGlobalAdminRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(QueryServiceServer).IsWhitelistedGlobalAdmin(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: QueryService_IsWhitelistedGlobalAdmin_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(QueryServiceServer).IsWhitelistedGlobalAdmin(ctx, req.(*IsWhitelistedGlobalAdminRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _QueryService_IsTopicWorkerWhitelistEnabled_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(IsTopicWorkerWhitelistEnabledRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(QueryServiceServer).IsTopicWorkerWhitelistEnabled(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: QueryService_IsTopicWorkerWhitelistEnabled_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(QueryServiceServer).IsTopicWorkerWhitelistEnabled(ctx, req.(*IsTopicWorkerWhitelistEnabledRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _QueryService_IsTopicReputerWhitelistEnabled_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(IsTopicReputerWhitelistEnabledRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(QueryServiceServer).IsTopicReputerWhitelistEnabled(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: QueryService_IsTopicReputerWhitelistEnabled_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(QueryServiceServer).IsTopicReputerWhitelistEnabled(ctx, req.(*IsTopicReputerWhitelistEnabledRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _QueryService_IsWhitelistedTopicCreator_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(IsWhitelistedTopicCreatorRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(QueryServiceServer).IsWhitelistedTopicCreator(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: QueryService_IsWhitelistedTopicCreator_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(QueryServiceServer).IsWhitelistedTopicCreator(ctx, req.(*IsWhitelistedTopicCreatorRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _QueryService_IsWhitelistedGlobalActor_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(IsWhitelistedGlobalActorRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(QueryServiceServer).IsWhitelistedGlobalActor(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: QueryService_IsWhitelistedGlobalActor_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(QueryServiceServer).IsWhitelistedGlobalActor(ctx, req.(*IsWhitelistedGlobalActorRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _QueryService_IsWhitelistedTopicWorker_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(IsWhitelistedTopicWorkerRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(QueryServiceServer).IsWhitelistedTopicWorker(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: QueryService_IsWhitelistedTopicWorker_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(QueryServiceServer).IsWhitelistedTopicWorker(ctx, req.(*IsWhitelistedTopicWorkerRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _QueryService_IsWhitelistedTopicReputer_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(IsWhitelistedTopicReputerRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(QueryServiceServer).IsWhitelistedTopicReputer(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: QueryService_IsWhitelistedTopicReputer_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(QueryServiceServer).IsWhitelistedTopicReputer(ctx, req.(*IsWhitelistedTopicReputerRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _QueryService_CanUpdateAllGlobalWhitelists_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(CanUpdateAllGlobalWhitelistsRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(QueryServiceServer).CanUpdateAllGlobalWhitelists(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: QueryService_CanUpdateAllGlobalWhitelists_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(QueryServiceServer).CanUpdateAllGlobalWhitelists(ctx, req.(*CanUpdateAllGlobalWhitelistsRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _QueryService_CanUpdateGlobalWorkerWhitelist_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(CanUpdateGlobalWorkerWhitelistRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(QueryServiceServer).CanUpdateGlobalWorkerWhitelist(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: QueryService_CanUpdateGlobalWorkerWhitelist_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(QueryServiceServer).CanUpdateGlobalWorkerWhitelist(ctx, req.(*CanUpdateGlobalWorkerWhitelistRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _QueryService_CanUpdateGlobalReputerWhitelist_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(CanUpdateGlobalReputerWhitelistRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(QueryServiceServer).CanUpdateGlobalReputerWhitelist(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: QueryService_CanUpdateGlobalReputerWhitelist_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(QueryServiceServer).CanUpdateGlobalReputerWhitelist(ctx, req.(*CanUpdateGlobalReputerWhitelistRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _QueryService_CanUpdateParams_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(CanUpdateParamsRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(QueryServiceServer).CanUpdateParams(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: QueryService_CanUpdateParams_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(QueryServiceServer).CanUpdateParams(ctx, req.(*CanUpdateParamsRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _QueryService_CanUpdateTopicWhitelist_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(CanUpdateTopicWhitelistRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(QueryServiceServer).CanUpdateTopicWhitelist(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: QueryService_CanUpdateTopicWhitelist_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(QueryServiceServer).CanUpdateTopicWhitelist(ctx, req.(*CanUpdateTopicWhitelistRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _QueryService_CanCreateTopic_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(CanCreateTopicRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(QueryServiceServer).CanCreateTopic(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: QueryService_CanCreateTopic_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(QueryServiceServer).CanCreateTopic(ctx, req.(*CanCreateTopicRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _QueryService_CanSubmitWorkerPayload_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(CanSubmitWorkerPayloadRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(QueryServiceServer).CanSubmitWorkerPayload(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: QueryService_CanSubmitWorkerPayload_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(QueryServiceServer).CanSubmitWorkerPayload(ctx, req.(*CanSubmitWorkerPayloadRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _QueryService_CanSubmitReputerPayload_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(CanSubmitReputerPayloadRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(QueryServiceServer).CanSubmitReputerPayload(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: QueryService_CanSubmitReputerPayload_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(QueryServiceServer).CanSubmitReputerPayload(ctx, req.(*CanSubmitReputerPayloadRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _QueryService_GetTopicInitialInfererEmaScore_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(GetTopicInitialInfererEmaScoreRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(QueryServiceServer).GetTopicInitialInfererEmaScore(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: QueryService_GetTopicInitialInfererEmaScore_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(QueryServiceServer).GetTopicInitialInfererEmaScore(ctx, req.(*GetTopicInitialInfererEmaScoreRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _QueryService_GetTopicInitialForecasterEmaScore_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(GetTopicInitialForecasterEmaScoreRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(QueryServiceServer).GetTopicInitialForecasterEmaScore(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: QueryService_GetTopicInitialForecasterEmaScore_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(QueryServiceServer).GetTopicInitialForecasterEmaScore(ctx, req.(*GetTopicInitialForecasterEmaScoreRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _QueryService_GetTopicInitialReputerEmaScore_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(GetTopicInitialReputerEmaScoreRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(QueryServiceServer).GetTopicInitialReputerEmaScore(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: QueryService_GetTopicInitialReputerEmaScore_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(QueryServiceServer).GetTopicInitialReputerEmaScore(ctx, req.(*GetTopicInitialReputerEmaScoreRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _QueryService_GetLatestRegretStdNorm_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(GetLatestRegretStdNormRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(QueryServiceServer).GetLatestRegretStdNorm(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: QueryService_GetLatestRegretStdNorm_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(QueryServiceServer).GetLatestRegretStdNorm(ctx, req.(*GetLatestRegretStdNormRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _QueryService_GetLatestInfererWeight_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(GetLatestInfererWeightRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(QueryServiceServer).GetLatestInfererWeight(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: QueryService_GetLatestInfererWeight_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(QueryServiceServer).GetLatestInfererWeight(ctx, req.(*GetLatestInfererWeightRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _QueryService_GetLatestForecasterWeight_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(GetLatestForecasterWeightRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(QueryServiceServer).GetLatestForecasterWeight(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: QueryService_GetLatestForecasterWeight_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(QueryServiceServer).GetLatestForecasterWeight(ctx, req.(*GetLatestForecasterWeightRequest)) + } + return interceptor(ctx, in, info, handler) +} + +// QueryService_ServiceDesc is the grpc.ServiceDesc for QueryService service. +// It's only intended for direct use with grpc.RegisterService, +// and not to be introspected or modified (even as a copy) +var QueryService_ServiceDesc = grpc.ServiceDesc{ + ServiceName: "emissions.v8.QueryService", + HandlerType: (*QueryServiceServer)(nil), + Methods: []grpc.MethodDesc{ + { + MethodName: "GetParams", + Handler: _QueryService_GetParams_Handler, + }, + { + MethodName: "GetNextTopicId", + Handler: _QueryService_GetNextTopicId_Handler, + }, + { + MethodName: "GetTopic", + Handler: _QueryService_GetTopic_Handler, + }, + { + MethodName: "GetWorkerLatestInferenceByTopicId", + Handler: _QueryService_GetWorkerLatestInferenceByTopicId_Handler, + }, + { + MethodName: "GetInferencesAtBlock", + Handler: _QueryService_GetInferencesAtBlock_Handler, + }, + { + MethodName: "GetLatestTopicInferences", + Handler: _QueryService_GetLatestTopicInferences_Handler, + }, + { + MethodName: "GetForecastsAtBlock", + Handler: _QueryService_GetForecastsAtBlock_Handler, + }, + { + MethodName: "GetNetworkLossBundleAtBlock", + Handler: _QueryService_GetNetworkLossBundleAtBlock_Handler, + }, + { + MethodName: "GetTotalStake", + Handler: _QueryService_GetTotalStake_Handler, + }, + { + MethodName: "GetReputerStakeInTopic", + Handler: _QueryService_GetReputerStakeInTopic_Handler, + }, + { + MethodName: "GetMultiReputerStakeInTopic", + Handler: _QueryService_GetMultiReputerStakeInTopic_Handler, + }, + { + MethodName: "GetStakeFromReputerInTopicInSelf", + Handler: _QueryService_GetStakeFromReputerInTopicInSelf_Handler, + }, + { + MethodName: "GetDelegateStakeInTopicInReputer", + Handler: _QueryService_GetDelegateStakeInTopicInReputer_Handler, + }, + { + MethodName: "GetStakeFromDelegatorInTopicInReputer", + Handler: _QueryService_GetStakeFromDelegatorInTopicInReputer_Handler, + }, + { + MethodName: "GetStakeFromDelegatorInTopic", + Handler: _QueryService_GetStakeFromDelegatorInTopic_Handler, + }, + { + MethodName: "GetTopicStake", + Handler: _QueryService_GetTopicStake_Handler, + }, + { + MethodName: "GetStakeRemovalsUpUntilBlock", + Handler: _QueryService_GetStakeRemovalsUpUntilBlock_Handler, + }, + { + MethodName: "GetDelegateStakeRemovalsUpUntilBlock", + Handler: _QueryService_GetDelegateStakeRemovalsUpUntilBlock_Handler, + }, + { + MethodName: "GetStakeRemovalInfo", + Handler: _QueryService_GetStakeRemovalInfo_Handler, + }, + { + MethodName: "GetDelegateStakeRemovalInfo", + Handler: _QueryService_GetDelegateStakeRemovalInfo_Handler, + }, + { + MethodName: "GetWorkerNodeInfo", + Handler: _QueryService_GetWorkerNodeInfo_Handler, + }, + { + MethodName: "GetReputerNodeInfo", + Handler: _QueryService_GetReputerNodeInfo_Handler, + }, + { + MethodName: "IsWorkerRegisteredInTopicId", + Handler: _QueryService_IsWorkerRegisteredInTopicId_Handler, + }, + { + MethodName: "IsReputerRegisteredInTopicId", + Handler: _QueryService_IsReputerRegisteredInTopicId_Handler, + }, + { + MethodName: "GetNetworkInferencesAtBlock", + Handler: _QueryService_GetNetworkInferencesAtBlock_Handler, + }, + { + MethodName: "GetNetworkInferencesAtBlockOutlierResistant", + Handler: _QueryService_GetNetworkInferencesAtBlockOutlierResistant_Handler, + }, + { + MethodName: "GetLatestNetworkInferences", + Handler: _QueryService_GetLatestNetworkInferences_Handler, + }, + { + MethodName: "GetLatestNetworkInferencesOutlierResistant", + Handler: _QueryService_GetLatestNetworkInferencesOutlierResistant_Handler, + }, + { + MethodName: "GetLatestAvailableNetworkInferences", + Handler: _QueryService_GetLatestAvailableNetworkInferences_Handler, + }, + { + MethodName: "GetLatestAvailableNetworkInferencesOutlierResistant", + Handler: _QueryService_GetLatestAvailableNetworkInferencesOutlierResistant_Handler, + }, + { + MethodName: "IsWorkerNonceUnfulfilled", + Handler: _QueryService_IsWorkerNonceUnfulfilled_Handler, + }, + { + MethodName: "IsReputerNonceUnfulfilled", + Handler: _QueryService_IsReputerNonceUnfulfilled_Handler, + }, + { + MethodName: "GetUnfulfilledWorkerNonces", + Handler: _QueryService_GetUnfulfilledWorkerNonces_Handler, + }, + { + MethodName: "GetUnfulfilledReputerNonces", + Handler: _QueryService_GetUnfulfilledReputerNonces_Handler, + }, + { + MethodName: "GetInfererNetworkRegret", + Handler: _QueryService_GetInfererNetworkRegret_Handler, + }, + { + MethodName: "GetForecasterNetworkRegret", + Handler: _QueryService_GetForecasterNetworkRegret_Handler, + }, + { + MethodName: "GetOneInForecasterNetworkRegret", + Handler: _QueryService_GetOneInForecasterNetworkRegret_Handler, + }, + { + MethodName: "IsWhitelistAdmin", + Handler: _QueryService_IsWhitelistAdmin_Handler, + }, + { + MethodName: "GetTopicLastWorkerCommitInfo", + Handler: _QueryService_GetTopicLastWorkerCommitInfo_Handler, + }, + { + MethodName: "GetTopicLastReputerCommitInfo", + Handler: _QueryService_GetTopicLastReputerCommitInfo_Handler, + }, + { + MethodName: "GetTopicRewardNonce", + Handler: _QueryService_GetTopicRewardNonce_Handler, + }, + { + MethodName: "GetReputerLossBundlesAtBlock", + Handler: _QueryService_GetReputerLossBundlesAtBlock_Handler, + }, + { + MethodName: "GetStakeReputerAuthority", + Handler: _QueryService_GetStakeReputerAuthority_Handler, + }, + { + MethodName: "GetDelegateStakePlacement", + Handler: _QueryService_GetDelegateStakePlacement_Handler, + }, + { + MethodName: "GetDelegateStakeUponReputer", + Handler: _QueryService_GetDelegateStakeUponReputer_Handler, + }, + { + MethodName: "GetDelegateRewardPerShare", + Handler: _QueryService_GetDelegateRewardPerShare_Handler, + }, + { + MethodName: "GetStakeRemovalForReputerAndTopicId", + Handler: _QueryService_GetStakeRemovalForReputerAndTopicId_Handler, + }, + { + MethodName: "GetDelegateStakeRemoval", + Handler: _QueryService_GetDelegateStakeRemoval_Handler, + }, + { + MethodName: "GetPreviousTopicWeight", + Handler: _QueryService_GetPreviousTopicWeight_Handler, + }, + { + MethodName: "GetTotalSumPreviousTopicWeights", + Handler: _QueryService_GetTotalSumPreviousTopicWeights_Handler, + }, + { + MethodName: "TopicExists", + Handler: _QueryService_TopicExists_Handler, + }, + { + MethodName: "IsTopicActive", + Handler: _QueryService_IsTopicActive_Handler, + }, + { + MethodName: "GetTopicFeeRevenue", + Handler: _QueryService_GetTopicFeeRevenue_Handler, + }, + { + MethodName: "GetInfererScoreEma", + Handler: _QueryService_GetInfererScoreEma_Handler, + }, + { + MethodName: "GetForecasterScoreEma", + Handler: _QueryService_GetForecasterScoreEma_Handler, + }, + { + MethodName: "GetReputerScoreEma", + Handler: _QueryService_GetReputerScoreEma_Handler, + }, + { + MethodName: "GetInferenceScoresUntilBlock", + Handler: _QueryService_GetInferenceScoresUntilBlock_Handler, + }, + { + MethodName: "GetPreviousTopicQuantileForecasterScoreEma", + Handler: _QueryService_GetPreviousTopicQuantileForecasterScoreEma_Handler, + }, + { + MethodName: "GetPreviousTopicQuantileInfererScoreEma", + Handler: _QueryService_GetPreviousTopicQuantileInfererScoreEma_Handler, + }, + { + MethodName: "GetPreviousTopicQuantileReputerScoreEma", + Handler: _QueryService_GetPreviousTopicQuantileReputerScoreEma_Handler, + }, + { + MethodName: "GetWorkerInferenceScoresAtBlock", + Handler: _QueryService_GetWorkerInferenceScoresAtBlock_Handler, + }, + { + MethodName: "GetCurrentLowestInfererScore", + Handler: _QueryService_GetCurrentLowestInfererScore_Handler, + }, + { + MethodName: "GetForecastScoresUntilBlock", + Handler: _QueryService_GetForecastScoresUntilBlock_Handler, + }, + { + MethodName: "GetWorkerForecastScoresAtBlock", + Handler: _QueryService_GetWorkerForecastScoresAtBlock_Handler, + }, + { + MethodName: "GetCurrentLowestForecasterScore", + Handler: _QueryService_GetCurrentLowestForecasterScore_Handler, + }, + { + MethodName: "GetReputersScoresAtBlock", + Handler: _QueryService_GetReputersScoresAtBlock_Handler, + }, + { + MethodName: "GetCurrentLowestReputerScore", + Handler: _QueryService_GetCurrentLowestReputerScore_Handler, + }, + { + MethodName: "GetListeningCoefficient", + Handler: _QueryService_GetListeningCoefficient_Handler, + }, + { + MethodName: "GetPreviousReputerRewardFraction", + Handler: _QueryService_GetPreviousReputerRewardFraction_Handler, + }, + { + MethodName: "GetPreviousInferenceRewardFraction", + Handler: _QueryService_GetPreviousInferenceRewardFraction_Handler, + }, + { + MethodName: "GetPreviousForecastRewardFraction", + Handler: _QueryService_GetPreviousForecastRewardFraction_Handler, + }, + { + MethodName: "GetPreviousPercentageRewardToStakedReputers", + Handler: _QueryService_GetPreviousPercentageRewardToStakedReputers_Handler, + }, + { + MethodName: "GetTotalRewardToDistribute", + Handler: _QueryService_GetTotalRewardToDistribute_Handler, + }, + { + MethodName: "GetNaiveInfererNetworkRegret", + Handler: _QueryService_GetNaiveInfererNetworkRegret_Handler, + }, + { + MethodName: "GetOneOutInfererInfererNetworkRegret", + Handler: _QueryService_GetOneOutInfererInfererNetworkRegret_Handler, + }, + { + MethodName: "GetOneOutInfererForecasterNetworkRegret", + Handler: _QueryService_GetOneOutInfererForecasterNetworkRegret_Handler, + }, + { + MethodName: "GetOneOutForecasterInfererNetworkRegret", + Handler: _QueryService_GetOneOutForecasterInfererNetworkRegret_Handler, + }, + { + MethodName: "GetOneOutForecasterForecasterNetworkRegret", + Handler: _QueryService_GetOneOutForecasterForecasterNetworkRegret_Handler, + }, + { + MethodName: "GetActiveTopicsAtBlock", + Handler: _QueryService_GetActiveTopicsAtBlock_Handler, + }, + { + MethodName: "GetNextChurningBlockByTopicId", + Handler: _QueryService_GetNextChurningBlockByTopicId_Handler, + }, + { + MethodName: "GetCountInfererInclusionsInTopic", + Handler: _QueryService_GetCountInfererInclusionsInTopic_Handler, + }, + { + MethodName: "GetCountForecasterInclusionsInTopic", + Handler: _QueryService_GetCountForecasterInclusionsInTopic_Handler, + }, + { + MethodName: "GetActiveReputersForTopic", + Handler: _QueryService_GetActiveReputersForTopic_Handler, + }, + { + MethodName: "GetActiveForecastersForTopic", + Handler: _QueryService_GetActiveForecastersForTopic_Handler, + }, + { + MethodName: "GetActiveInferersForTopic", + Handler: _QueryService_GetActiveInferersForTopic_Handler, + }, + { + MethodName: "IsWhitelistedGlobalWorker", + Handler: _QueryService_IsWhitelistedGlobalWorker_Handler, + }, + { + MethodName: "IsWhitelistedGlobalReputer", + Handler: _QueryService_IsWhitelistedGlobalReputer_Handler, + }, + { + MethodName: "IsWhitelistedGlobalAdmin", + Handler: _QueryService_IsWhitelistedGlobalAdmin_Handler, + }, + { + MethodName: "IsTopicWorkerWhitelistEnabled", + Handler: _QueryService_IsTopicWorkerWhitelistEnabled_Handler, + }, + { + MethodName: "IsTopicReputerWhitelistEnabled", + Handler: _QueryService_IsTopicReputerWhitelistEnabled_Handler, + }, + { + MethodName: "IsWhitelistedTopicCreator", + Handler: _QueryService_IsWhitelistedTopicCreator_Handler, + }, + { + MethodName: "IsWhitelistedGlobalActor", + Handler: _QueryService_IsWhitelistedGlobalActor_Handler, + }, + { + MethodName: "IsWhitelistedTopicWorker", + Handler: _QueryService_IsWhitelistedTopicWorker_Handler, + }, + { + MethodName: "IsWhitelistedTopicReputer", + Handler: _QueryService_IsWhitelistedTopicReputer_Handler, + }, + { + MethodName: "CanUpdateAllGlobalWhitelists", + Handler: _QueryService_CanUpdateAllGlobalWhitelists_Handler, + }, + { + MethodName: "CanUpdateGlobalWorkerWhitelist", + Handler: _QueryService_CanUpdateGlobalWorkerWhitelist_Handler, + }, + { + MethodName: "CanUpdateGlobalReputerWhitelist", + Handler: _QueryService_CanUpdateGlobalReputerWhitelist_Handler, + }, + { + MethodName: "CanUpdateParams", + Handler: _QueryService_CanUpdateParams_Handler, + }, + { + MethodName: "CanUpdateTopicWhitelist", + Handler: _QueryService_CanUpdateTopicWhitelist_Handler, + }, + { + MethodName: "CanCreateTopic", + Handler: _QueryService_CanCreateTopic_Handler, + }, + { + MethodName: "CanSubmitWorkerPayload", + Handler: _QueryService_CanSubmitWorkerPayload_Handler, + }, + { + MethodName: "CanSubmitReputerPayload", + Handler: _QueryService_CanSubmitReputerPayload_Handler, + }, + { + MethodName: "GetTopicInitialInfererEmaScore", + Handler: _QueryService_GetTopicInitialInfererEmaScore_Handler, + }, + { + MethodName: "GetTopicInitialForecasterEmaScore", + Handler: _QueryService_GetTopicInitialForecasterEmaScore_Handler, + }, + { + MethodName: "GetTopicInitialReputerEmaScore", + Handler: _QueryService_GetTopicInitialReputerEmaScore_Handler, + }, + { + MethodName: "GetLatestRegretStdNorm", + Handler: _QueryService_GetLatestRegretStdNorm_Handler, + }, + { + MethodName: "GetLatestInfererWeight", + Handler: _QueryService_GetLatestInfererWeight_Handler, + }, + { + MethodName: "GetLatestForecasterWeight", + Handler: _QueryService_GetLatestForecasterWeight_Handler, + }, + }, + Streams: []grpc.StreamDesc{}, + Metadata: "emissions/v8/query.proto", +} diff --git a/x/emissions/api/emissions/v8/tx.pulsar.go b/x/emissions/api/emissions/v8/tx.pulsar.go new file mode 100644 index 000000000..ebd51ff3d --- /dev/null +++ b/x/emissions/api/emissions/v8/tx.pulsar.go @@ -0,0 +1,52456 @@ +// Code generated by protoc-gen-go-pulsar. DO NOT EDIT. +package emissionsv8 + +import ( + fmt "fmt" + v3 "github.com/allora-network/allora-chain/x/emissions/api/emissions/v3" + _ "github.com/cosmos/cosmos-proto" + runtime "github.com/cosmos/cosmos-proto/runtime" + _ "github.com/cosmos/cosmos-sdk/types/msgservice" + _ "github.com/cosmos/cosmos-sdk/types/tx/amino" + _ "github.com/cosmos/gogoproto/gogoproto" + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoiface "google.golang.org/protobuf/runtime/protoiface" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + io "io" + reflect "reflect" + sync "sync" +) + +var _ protoreflect.List = (*_OptionalParams_1_list)(nil) + +type _OptionalParams_1_list struct { + list *[]string +} + +func (x *_OptionalParams_1_list) Len() int { + if x.list == nil { + return 0 + } + return len(*x.list) +} + +func (x *_OptionalParams_1_list) Get(i int) protoreflect.Value { + return protoreflect.ValueOfString((*x.list)[i]) +} + +func (x *_OptionalParams_1_list) Set(i int, value protoreflect.Value) { + valueUnwrapped := value.String() + concreteValue := valueUnwrapped + (*x.list)[i] = concreteValue +} + +func (x *_OptionalParams_1_list) Append(value protoreflect.Value) { + valueUnwrapped := value.String() + concreteValue := valueUnwrapped + *x.list = append(*x.list, concreteValue) +} + +func (x *_OptionalParams_1_list) AppendMutable() protoreflect.Value { + panic(fmt.Errorf("AppendMutable can not be called on message OptionalParams at list field Version as it is not of Message kind")) +} + +func (x *_OptionalParams_1_list) Truncate(n int) { + *x.list = (*x.list)[:n] +} + +func (x *_OptionalParams_1_list) NewElement() protoreflect.Value { + v := "" + return protoreflect.ValueOfString(v) +} + +func (x *_OptionalParams_1_list) IsValid() bool { + return x.list != nil +} + +var _ protoreflect.List = (*_OptionalParams_2_list)(nil) + +type _OptionalParams_2_list struct { + list *[]int64 +} + +func (x *_OptionalParams_2_list) Len() int { + if x.list == nil { + return 0 + } + return len(*x.list) +} + +func (x *_OptionalParams_2_list) Get(i int) protoreflect.Value { + return protoreflect.ValueOfInt64((*x.list)[i]) +} + +func (x *_OptionalParams_2_list) Set(i int, value protoreflect.Value) { + valueUnwrapped := value.Int() + concreteValue := valueUnwrapped + (*x.list)[i] = concreteValue +} + +func (x *_OptionalParams_2_list) Append(value protoreflect.Value) { + valueUnwrapped := value.Int() + concreteValue := valueUnwrapped + *x.list = append(*x.list, concreteValue) +} + +func (x *_OptionalParams_2_list) AppendMutable() protoreflect.Value { + panic(fmt.Errorf("AppendMutable can not be called on message OptionalParams at list field MaxSerializedMsgLength as it is not of Message kind")) +} + +func (x *_OptionalParams_2_list) Truncate(n int) { + *x.list = (*x.list)[:n] +} + +func (x *_OptionalParams_2_list) NewElement() protoreflect.Value { + v := int64(0) + return protoreflect.ValueOfInt64(v) +} + +func (x *_OptionalParams_2_list) IsValid() bool { + return x.list != nil +} + +var _ protoreflect.List = (*_OptionalParams_3_list)(nil) + +type _OptionalParams_3_list struct { + list *[]string +} + +func (x *_OptionalParams_3_list) Len() int { + if x.list == nil { + return 0 + } + return len(*x.list) +} + +func (x *_OptionalParams_3_list) Get(i int) protoreflect.Value { + return protoreflect.ValueOfString((*x.list)[i]) +} + +func (x *_OptionalParams_3_list) Set(i int, value protoreflect.Value) { + valueUnwrapped := value.String() + concreteValue := valueUnwrapped + (*x.list)[i] = concreteValue +} + +func (x *_OptionalParams_3_list) Append(value protoreflect.Value) { + valueUnwrapped := value.String() + concreteValue := valueUnwrapped + *x.list = append(*x.list, concreteValue) +} + +func (x *_OptionalParams_3_list) AppendMutable() protoreflect.Value { + panic(fmt.Errorf("AppendMutable can not be called on message OptionalParams at list field MinTopicWeight as it is not of Message kind")) +} + +func (x *_OptionalParams_3_list) Truncate(n int) { + *x.list = (*x.list)[:n] +} + +func (x *_OptionalParams_3_list) NewElement() protoreflect.Value { + v := "" + return protoreflect.ValueOfString(v) +} + +func (x *_OptionalParams_3_list) IsValid() bool { + return x.list != nil +} + +var _ protoreflect.List = (*_OptionalParams_5_list)(nil) + +type _OptionalParams_5_list struct { + list *[]string +} + +func (x *_OptionalParams_5_list) Len() int { + if x.list == nil { + return 0 + } + return len(*x.list) +} + +func (x *_OptionalParams_5_list) Get(i int) protoreflect.Value { + return protoreflect.ValueOfString((*x.list)[i]) +} + +func (x *_OptionalParams_5_list) Set(i int, value protoreflect.Value) { + valueUnwrapped := value.String() + concreteValue := valueUnwrapped + (*x.list)[i] = concreteValue +} + +func (x *_OptionalParams_5_list) Append(value protoreflect.Value) { + valueUnwrapped := value.String() + concreteValue := valueUnwrapped + *x.list = append(*x.list, concreteValue) +} + +func (x *_OptionalParams_5_list) AppendMutable() protoreflect.Value { + panic(fmt.Errorf("AppendMutable can not be called on message OptionalParams at list field RequiredMinimumStake as it is not of Message kind")) +} + +func (x *_OptionalParams_5_list) Truncate(n int) { + *x.list = (*x.list)[:n] +} + +func (x *_OptionalParams_5_list) NewElement() protoreflect.Value { + v := "" + return protoreflect.ValueOfString(v) +} + +func (x *_OptionalParams_5_list) IsValid() bool { + return x.list != nil +} + +var _ protoreflect.List = (*_OptionalParams_6_list)(nil) + +type _OptionalParams_6_list struct { + list *[]int64 +} + +func (x *_OptionalParams_6_list) Len() int { + if x.list == nil { + return 0 + } + return len(*x.list) +} + +func (x *_OptionalParams_6_list) Get(i int) protoreflect.Value { + return protoreflect.ValueOfInt64((*x.list)[i]) +} + +func (x *_OptionalParams_6_list) Set(i int, value protoreflect.Value) { + valueUnwrapped := value.Int() + concreteValue := valueUnwrapped + (*x.list)[i] = concreteValue +} + +func (x *_OptionalParams_6_list) Append(value protoreflect.Value) { + valueUnwrapped := value.Int() + concreteValue := valueUnwrapped + *x.list = append(*x.list, concreteValue) +} + +func (x *_OptionalParams_6_list) AppendMutable() protoreflect.Value { + panic(fmt.Errorf("AppendMutable can not be called on message OptionalParams at list field RemoveStakeDelayWindow as it is not of Message kind")) +} + +func (x *_OptionalParams_6_list) Truncate(n int) { + *x.list = (*x.list)[:n] +} + +func (x *_OptionalParams_6_list) NewElement() protoreflect.Value { + v := int64(0) + return protoreflect.ValueOfInt64(v) +} + +func (x *_OptionalParams_6_list) IsValid() bool { + return x.list != nil +} + +var _ protoreflect.List = (*_OptionalParams_7_list)(nil) + +type _OptionalParams_7_list struct { + list *[]int64 +} + +func (x *_OptionalParams_7_list) Len() int { + if x.list == nil { + return 0 + } + return len(*x.list) +} + +func (x *_OptionalParams_7_list) Get(i int) protoreflect.Value { + return protoreflect.ValueOfInt64((*x.list)[i]) +} + +func (x *_OptionalParams_7_list) Set(i int, value protoreflect.Value) { + valueUnwrapped := value.Int() + concreteValue := valueUnwrapped + (*x.list)[i] = concreteValue +} + +func (x *_OptionalParams_7_list) Append(value protoreflect.Value) { + valueUnwrapped := value.Int() + concreteValue := valueUnwrapped + *x.list = append(*x.list, concreteValue) +} + +func (x *_OptionalParams_7_list) AppendMutable() protoreflect.Value { + panic(fmt.Errorf("AppendMutable can not be called on message OptionalParams at list field MinEpochLength as it is not of Message kind")) +} + +func (x *_OptionalParams_7_list) Truncate(n int) { + *x.list = (*x.list)[:n] +} + +func (x *_OptionalParams_7_list) NewElement() protoreflect.Value { + v := int64(0) + return protoreflect.ValueOfInt64(v) +} + +func (x *_OptionalParams_7_list) IsValid() bool { + return x.list != nil +} + +var _ protoreflect.List = (*_OptionalParams_8_list)(nil) + +type _OptionalParams_8_list struct { + list *[]string +} + +func (x *_OptionalParams_8_list) Len() int { + if x.list == nil { + return 0 + } + return len(*x.list) +} + +func (x *_OptionalParams_8_list) Get(i int) protoreflect.Value { + return protoreflect.ValueOfString((*x.list)[i]) +} + +func (x *_OptionalParams_8_list) Set(i int, value protoreflect.Value) { + valueUnwrapped := value.String() + concreteValue := valueUnwrapped + (*x.list)[i] = concreteValue +} + +func (x *_OptionalParams_8_list) Append(value protoreflect.Value) { + valueUnwrapped := value.String() + concreteValue := valueUnwrapped + *x.list = append(*x.list, concreteValue) +} + +func (x *_OptionalParams_8_list) AppendMutable() protoreflect.Value { + panic(fmt.Errorf("AppendMutable can not be called on message OptionalParams at list field BetaEntropy as it is not of Message kind")) +} + +func (x *_OptionalParams_8_list) Truncate(n int) { + *x.list = (*x.list)[:n] +} + +func (x *_OptionalParams_8_list) NewElement() protoreflect.Value { + v := "" + return protoreflect.ValueOfString(v) +} + +func (x *_OptionalParams_8_list) IsValid() bool { + return x.list != nil +} + +var _ protoreflect.List = (*_OptionalParams_9_list)(nil) + +type _OptionalParams_9_list struct { + list *[]string +} + +func (x *_OptionalParams_9_list) Len() int { + if x.list == nil { + return 0 + } + return len(*x.list) +} + +func (x *_OptionalParams_9_list) Get(i int) protoreflect.Value { + return protoreflect.ValueOfString((*x.list)[i]) +} + +func (x *_OptionalParams_9_list) Set(i int, value protoreflect.Value) { + valueUnwrapped := value.String() + concreteValue := valueUnwrapped + (*x.list)[i] = concreteValue +} + +func (x *_OptionalParams_9_list) Append(value protoreflect.Value) { + valueUnwrapped := value.String() + concreteValue := valueUnwrapped + *x.list = append(*x.list, concreteValue) +} + +func (x *_OptionalParams_9_list) AppendMutable() protoreflect.Value { + panic(fmt.Errorf("AppendMutable can not be called on message OptionalParams at list field LearningRate as it is not of Message kind")) +} + +func (x *_OptionalParams_9_list) Truncate(n int) { + *x.list = (*x.list)[:n] +} + +func (x *_OptionalParams_9_list) NewElement() protoreflect.Value { + v := "" + return protoreflect.ValueOfString(v) +} + +func (x *_OptionalParams_9_list) IsValid() bool { + return x.list != nil +} + +var _ protoreflect.List = (*_OptionalParams_10_list)(nil) + +type _OptionalParams_10_list struct { + list *[]string +} + +func (x *_OptionalParams_10_list) Len() int { + if x.list == nil { + return 0 + } + return len(*x.list) +} + +func (x *_OptionalParams_10_list) Get(i int) protoreflect.Value { + return protoreflect.ValueOfString((*x.list)[i]) +} + +func (x *_OptionalParams_10_list) Set(i int, value protoreflect.Value) { + valueUnwrapped := value.String() + concreteValue := valueUnwrapped + (*x.list)[i] = concreteValue +} + +func (x *_OptionalParams_10_list) Append(value protoreflect.Value) { + valueUnwrapped := value.String() + concreteValue := valueUnwrapped + *x.list = append(*x.list, concreteValue) +} + +func (x *_OptionalParams_10_list) AppendMutable() protoreflect.Value { + panic(fmt.Errorf("AppendMutable can not be called on message OptionalParams at list field MaxGradientThreshold as it is not of Message kind")) +} + +func (x *_OptionalParams_10_list) Truncate(n int) { + *x.list = (*x.list)[:n] +} + +func (x *_OptionalParams_10_list) NewElement() protoreflect.Value { + v := "" + return protoreflect.ValueOfString(v) +} + +func (x *_OptionalParams_10_list) IsValid() bool { + return x.list != nil +} + +var _ protoreflect.List = (*_OptionalParams_11_list)(nil) + +type _OptionalParams_11_list struct { + list *[]string +} + +func (x *_OptionalParams_11_list) Len() int { + if x.list == nil { + return 0 + } + return len(*x.list) +} + +func (x *_OptionalParams_11_list) Get(i int) protoreflect.Value { + return protoreflect.ValueOfString((*x.list)[i]) +} + +func (x *_OptionalParams_11_list) Set(i int, value protoreflect.Value) { + valueUnwrapped := value.String() + concreteValue := valueUnwrapped + (*x.list)[i] = concreteValue +} + +func (x *_OptionalParams_11_list) Append(value protoreflect.Value) { + valueUnwrapped := value.String() + concreteValue := valueUnwrapped + *x.list = append(*x.list, concreteValue) +} + +func (x *_OptionalParams_11_list) AppendMutable() protoreflect.Value { + panic(fmt.Errorf("AppendMutable can not be called on message OptionalParams at list field MinStakeFraction as it is not of Message kind")) +} + +func (x *_OptionalParams_11_list) Truncate(n int) { + *x.list = (*x.list)[:n] +} + +func (x *_OptionalParams_11_list) NewElement() protoreflect.Value { + v := "" + return protoreflect.ValueOfString(v) +} + +func (x *_OptionalParams_11_list) IsValid() bool { + return x.list != nil +} + +var _ protoreflect.List = (*_OptionalParams_13_list)(nil) + +type _OptionalParams_13_list struct { + list *[]uint64 +} + +func (x *_OptionalParams_13_list) Len() int { + if x.list == nil { + return 0 + } + return len(*x.list) +} + +func (x *_OptionalParams_13_list) Get(i int) protoreflect.Value { + return protoreflect.ValueOfUint64((*x.list)[i]) +} + +func (x *_OptionalParams_13_list) Set(i int, value protoreflect.Value) { + valueUnwrapped := value.Uint() + concreteValue := valueUnwrapped + (*x.list)[i] = concreteValue +} + +func (x *_OptionalParams_13_list) Append(value protoreflect.Value) { + valueUnwrapped := value.Uint() + concreteValue := valueUnwrapped + *x.list = append(*x.list, concreteValue) +} + +func (x *_OptionalParams_13_list) AppendMutable() protoreflect.Value { + panic(fmt.Errorf("AppendMutable can not be called on message OptionalParams at list field MaxUnfulfilledWorkerRequests as it is not of Message kind")) +} + +func (x *_OptionalParams_13_list) Truncate(n int) { + *x.list = (*x.list)[:n] +} + +func (x *_OptionalParams_13_list) NewElement() protoreflect.Value { + v := uint64(0) + return protoreflect.ValueOfUint64(v) +} + +func (x *_OptionalParams_13_list) IsValid() bool { + return x.list != nil +} + +var _ protoreflect.List = (*_OptionalParams_14_list)(nil) + +type _OptionalParams_14_list struct { + list *[]uint64 +} + +func (x *_OptionalParams_14_list) Len() int { + if x.list == nil { + return 0 + } + return len(*x.list) +} + +func (x *_OptionalParams_14_list) Get(i int) protoreflect.Value { + return protoreflect.ValueOfUint64((*x.list)[i]) +} + +func (x *_OptionalParams_14_list) Set(i int, value protoreflect.Value) { + valueUnwrapped := value.Uint() + concreteValue := valueUnwrapped + (*x.list)[i] = concreteValue +} + +func (x *_OptionalParams_14_list) Append(value protoreflect.Value) { + valueUnwrapped := value.Uint() + concreteValue := valueUnwrapped + *x.list = append(*x.list, concreteValue) +} + +func (x *_OptionalParams_14_list) AppendMutable() protoreflect.Value { + panic(fmt.Errorf("AppendMutable can not be called on message OptionalParams at list field MaxUnfulfilledReputerRequests as it is not of Message kind")) +} + +func (x *_OptionalParams_14_list) Truncate(n int) { + *x.list = (*x.list)[:n] +} + +func (x *_OptionalParams_14_list) NewElement() protoreflect.Value { + v := uint64(0) + return protoreflect.ValueOfUint64(v) +} + +func (x *_OptionalParams_14_list) IsValid() bool { + return x.list != nil +} + +var _ protoreflect.List = (*_OptionalParams_15_list)(nil) + +type _OptionalParams_15_list struct { + list *[]string +} + +func (x *_OptionalParams_15_list) Len() int { + if x.list == nil { + return 0 + } + return len(*x.list) +} + +func (x *_OptionalParams_15_list) Get(i int) protoreflect.Value { + return protoreflect.ValueOfString((*x.list)[i]) +} + +func (x *_OptionalParams_15_list) Set(i int, value protoreflect.Value) { + valueUnwrapped := value.String() + concreteValue := valueUnwrapped + (*x.list)[i] = concreteValue +} + +func (x *_OptionalParams_15_list) Append(value protoreflect.Value) { + valueUnwrapped := value.String() + concreteValue := valueUnwrapped + *x.list = append(*x.list, concreteValue) +} + +func (x *_OptionalParams_15_list) AppendMutable() protoreflect.Value { + panic(fmt.Errorf("AppendMutable can not be called on message OptionalParams at list field TopicRewardStakeImportance as it is not of Message kind")) +} + +func (x *_OptionalParams_15_list) Truncate(n int) { + *x.list = (*x.list)[:n] +} + +func (x *_OptionalParams_15_list) NewElement() protoreflect.Value { + v := "" + return protoreflect.ValueOfString(v) +} + +func (x *_OptionalParams_15_list) IsValid() bool { + return x.list != nil +} + +var _ protoreflect.List = (*_OptionalParams_16_list)(nil) + +type _OptionalParams_16_list struct { + list *[]string +} + +func (x *_OptionalParams_16_list) Len() int { + if x.list == nil { + return 0 + } + return len(*x.list) +} + +func (x *_OptionalParams_16_list) Get(i int) protoreflect.Value { + return protoreflect.ValueOfString((*x.list)[i]) +} + +func (x *_OptionalParams_16_list) Set(i int, value protoreflect.Value) { + valueUnwrapped := value.String() + concreteValue := valueUnwrapped + (*x.list)[i] = concreteValue +} + +func (x *_OptionalParams_16_list) Append(value protoreflect.Value) { + valueUnwrapped := value.String() + concreteValue := valueUnwrapped + *x.list = append(*x.list, concreteValue) +} + +func (x *_OptionalParams_16_list) AppendMutable() protoreflect.Value { + panic(fmt.Errorf("AppendMutable can not be called on message OptionalParams at list field TopicRewardFeeRevenueImportance as it is not of Message kind")) +} + +func (x *_OptionalParams_16_list) Truncate(n int) { + *x.list = (*x.list)[:n] +} + +func (x *_OptionalParams_16_list) NewElement() protoreflect.Value { + v := "" + return protoreflect.ValueOfString(v) +} + +func (x *_OptionalParams_16_list) IsValid() bool { + return x.list != nil +} + +var _ protoreflect.List = (*_OptionalParams_17_list)(nil) + +type _OptionalParams_17_list struct { + list *[]string +} + +func (x *_OptionalParams_17_list) Len() int { + if x.list == nil { + return 0 + } + return len(*x.list) +} + +func (x *_OptionalParams_17_list) Get(i int) protoreflect.Value { + return protoreflect.ValueOfString((*x.list)[i]) +} + +func (x *_OptionalParams_17_list) Set(i int, value protoreflect.Value) { + valueUnwrapped := value.String() + concreteValue := valueUnwrapped + (*x.list)[i] = concreteValue +} + +func (x *_OptionalParams_17_list) Append(value protoreflect.Value) { + valueUnwrapped := value.String() + concreteValue := valueUnwrapped + *x.list = append(*x.list, concreteValue) +} + +func (x *_OptionalParams_17_list) AppendMutable() protoreflect.Value { + panic(fmt.Errorf("AppendMutable can not be called on message OptionalParams at list field TopicRewardAlpha as it is not of Message kind")) +} + +func (x *_OptionalParams_17_list) Truncate(n int) { + *x.list = (*x.list)[:n] +} + +func (x *_OptionalParams_17_list) NewElement() protoreflect.Value { + v := "" + return protoreflect.ValueOfString(v) +} + +func (x *_OptionalParams_17_list) IsValid() bool { + return x.list != nil +} + +var _ protoreflect.List = (*_OptionalParams_18_list)(nil) + +type _OptionalParams_18_list struct { + list *[]string +} + +func (x *_OptionalParams_18_list) Len() int { + if x.list == nil { + return 0 + } + return len(*x.list) +} + +func (x *_OptionalParams_18_list) Get(i int) protoreflect.Value { + return protoreflect.ValueOfString((*x.list)[i]) +} + +func (x *_OptionalParams_18_list) Set(i int, value protoreflect.Value) { + valueUnwrapped := value.String() + concreteValue := valueUnwrapped + (*x.list)[i] = concreteValue +} + +func (x *_OptionalParams_18_list) Append(value protoreflect.Value) { + valueUnwrapped := value.String() + concreteValue := valueUnwrapped + *x.list = append(*x.list, concreteValue) +} + +func (x *_OptionalParams_18_list) AppendMutable() protoreflect.Value { + panic(fmt.Errorf("AppendMutable can not be called on message OptionalParams at list field TaskRewardAlpha as it is not of Message kind")) +} + +func (x *_OptionalParams_18_list) Truncate(n int) { + *x.list = (*x.list)[:n] +} + +func (x *_OptionalParams_18_list) NewElement() protoreflect.Value { + v := "" + return protoreflect.ValueOfString(v) +} + +func (x *_OptionalParams_18_list) IsValid() bool { + return x.list != nil +} + +var _ protoreflect.List = (*_OptionalParams_19_list)(nil) + +type _OptionalParams_19_list struct { + list *[]string +} + +func (x *_OptionalParams_19_list) Len() int { + if x.list == nil { + return 0 + } + return len(*x.list) +} + +func (x *_OptionalParams_19_list) Get(i int) protoreflect.Value { + return protoreflect.ValueOfString((*x.list)[i]) +} + +func (x *_OptionalParams_19_list) Set(i int, value protoreflect.Value) { + valueUnwrapped := value.String() + concreteValue := valueUnwrapped + (*x.list)[i] = concreteValue +} + +func (x *_OptionalParams_19_list) Append(value protoreflect.Value) { + valueUnwrapped := value.String() + concreteValue := valueUnwrapped + *x.list = append(*x.list, concreteValue) +} + +func (x *_OptionalParams_19_list) AppendMutable() protoreflect.Value { + panic(fmt.Errorf("AppendMutable can not be called on message OptionalParams at list field ValidatorsVsAlloraPercentReward as it is not of Message kind")) +} + +func (x *_OptionalParams_19_list) Truncate(n int) { + *x.list = (*x.list)[:n] +} + +func (x *_OptionalParams_19_list) NewElement() protoreflect.Value { + v := "" + return protoreflect.ValueOfString(v) +} + +func (x *_OptionalParams_19_list) IsValid() bool { + return x.list != nil +} + +var _ protoreflect.List = (*_OptionalParams_20_list)(nil) + +type _OptionalParams_20_list struct { + list *[]uint64 +} + +func (x *_OptionalParams_20_list) Len() int { + if x.list == nil { + return 0 + } + return len(*x.list) +} + +func (x *_OptionalParams_20_list) Get(i int) protoreflect.Value { + return protoreflect.ValueOfUint64((*x.list)[i]) +} + +func (x *_OptionalParams_20_list) Set(i int, value protoreflect.Value) { + valueUnwrapped := value.Uint() + concreteValue := valueUnwrapped + (*x.list)[i] = concreteValue +} + +func (x *_OptionalParams_20_list) Append(value protoreflect.Value) { + valueUnwrapped := value.Uint() + concreteValue := valueUnwrapped + *x.list = append(*x.list, concreteValue) +} + +func (x *_OptionalParams_20_list) AppendMutable() protoreflect.Value { + panic(fmt.Errorf("AppendMutable can not be called on message OptionalParams at list field MaxSamplesToScaleScores as it is not of Message kind")) +} + +func (x *_OptionalParams_20_list) Truncate(n int) { + *x.list = (*x.list)[:n] +} + +func (x *_OptionalParams_20_list) NewElement() protoreflect.Value { + v := uint64(0) + return protoreflect.ValueOfUint64(v) +} + +func (x *_OptionalParams_20_list) IsValid() bool { + return x.list != nil +} + +var _ protoreflect.List = (*_OptionalParams_21_list)(nil) + +type _OptionalParams_21_list struct { + list *[]uint64 +} + +func (x *_OptionalParams_21_list) Len() int { + if x.list == nil { + return 0 + } + return len(*x.list) +} + +func (x *_OptionalParams_21_list) Get(i int) protoreflect.Value { + return protoreflect.ValueOfUint64((*x.list)[i]) +} + +func (x *_OptionalParams_21_list) Set(i int, value protoreflect.Value) { + valueUnwrapped := value.Uint() + concreteValue := valueUnwrapped + (*x.list)[i] = concreteValue +} + +func (x *_OptionalParams_21_list) Append(value protoreflect.Value) { + valueUnwrapped := value.Uint() + concreteValue := valueUnwrapped + *x.list = append(*x.list, concreteValue) +} + +func (x *_OptionalParams_21_list) AppendMutable() protoreflect.Value { + panic(fmt.Errorf("AppendMutable can not be called on message OptionalParams at list field MaxTopInferersToReward as it is not of Message kind")) +} + +func (x *_OptionalParams_21_list) Truncate(n int) { + *x.list = (*x.list)[:n] +} + +func (x *_OptionalParams_21_list) NewElement() protoreflect.Value { + v := uint64(0) + return protoreflect.ValueOfUint64(v) +} + +func (x *_OptionalParams_21_list) IsValid() bool { + return x.list != nil +} + +var _ protoreflect.List = (*_OptionalParams_22_list)(nil) + +type _OptionalParams_22_list struct { + list *[]uint64 +} + +func (x *_OptionalParams_22_list) Len() int { + if x.list == nil { + return 0 + } + return len(*x.list) +} + +func (x *_OptionalParams_22_list) Get(i int) protoreflect.Value { + return protoreflect.ValueOfUint64((*x.list)[i]) +} + +func (x *_OptionalParams_22_list) Set(i int, value protoreflect.Value) { + valueUnwrapped := value.Uint() + concreteValue := valueUnwrapped + (*x.list)[i] = concreteValue +} + +func (x *_OptionalParams_22_list) Append(value protoreflect.Value) { + valueUnwrapped := value.Uint() + concreteValue := valueUnwrapped + *x.list = append(*x.list, concreteValue) +} + +func (x *_OptionalParams_22_list) AppendMutable() protoreflect.Value { + panic(fmt.Errorf("AppendMutable can not be called on message OptionalParams at list field MaxTopForecastersToReward as it is not of Message kind")) +} + +func (x *_OptionalParams_22_list) Truncate(n int) { + *x.list = (*x.list)[:n] +} + +func (x *_OptionalParams_22_list) NewElement() protoreflect.Value { + v := uint64(0) + return protoreflect.ValueOfUint64(v) +} + +func (x *_OptionalParams_22_list) IsValid() bool { + return x.list != nil +} + +var _ protoreflect.List = (*_OptionalParams_23_list)(nil) + +type _OptionalParams_23_list struct { + list *[]uint64 +} + +func (x *_OptionalParams_23_list) Len() int { + if x.list == nil { + return 0 + } + return len(*x.list) +} + +func (x *_OptionalParams_23_list) Get(i int) protoreflect.Value { + return protoreflect.ValueOfUint64((*x.list)[i]) +} + +func (x *_OptionalParams_23_list) Set(i int, value protoreflect.Value) { + valueUnwrapped := value.Uint() + concreteValue := valueUnwrapped + (*x.list)[i] = concreteValue +} + +func (x *_OptionalParams_23_list) Append(value protoreflect.Value) { + valueUnwrapped := value.Uint() + concreteValue := valueUnwrapped + *x.list = append(*x.list, concreteValue) +} + +func (x *_OptionalParams_23_list) AppendMutable() protoreflect.Value { + panic(fmt.Errorf("AppendMutable can not be called on message OptionalParams at list field MaxTopReputersToReward as it is not of Message kind")) +} + +func (x *_OptionalParams_23_list) Truncate(n int) { + *x.list = (*x.list)[:n] +} + +func (x *_OptionalParams_23_list) NewElement() protoreflect.Value { + v := uint64(0) + return protoreflect.ValueOfUint64(v) +} + +func (x *_OptionalParams_23_list) IsValid() bool { + return x.list != nil +} + +var _ protoreflect.List = (*_OptionalParams_24_list)(nil) + +type _OptionalParams_24_list struct { + list *[]string +} + +func (x *_OptionalParams_24_list) Len() int { + if x.list == nil { + return 0 + } + return len(*x.list) +} + +func (x *_OptionalParams_24_list) Get(i int) protoreflect.Value { + return protoreflect.ValueOfString((*x.list)[i]) +} + +func (x *_OptionalParams_24_list) Set(i int, value protoreflect.Value) { + valueUnwrapped := value.String() + concreteValue := valueUnwrapped + (*x.list)[i] = concreteValue +} + +func (x *_OptionalParams_24_list) Append(value protoreflect.Value) { + valueUnwrapped := value.String() + concreteValue := valueUnwrapped + *x.list = append(*x.list, concreteValue) +} + +func (x *_OptionalParams_24_list) AppendMutable() protoreflect.Value { + panic(fmt.Errorf("AppendMutable can not be called on message OptionalParams at list field CreateTopicFee as it is not of Message kind")) +} + +func (x *_OptionalParams_24_list) Truncate(n int) { + *x.list = (*x.list)[:n] +} + +func (x *_OptionalParams_24_list) NewElement() protoreflect.Value { + v := "" + return protoreflect.ValueOfString(v) +} + +func (x *_OptionalParams_24_list) IsValid() bool { + return x.list != nil +} + +var _ protoreflect.List = (*_OptionalParams_25_list)(nil) + +type _OptionalParams_25_list struct { + list *[]uint64 +} + +func (x *_OptionalParams_25_list) Len() int { + if x.list == nil { + return 0 + } + return len(*x.list) +} + +func (x *_OptionalParams_25_list) Get(i int) protoreflect.Value { + return protoreflect.ValueOfUint64((*x.list)[i]) +} + +func (x *_OptionalParams_25_list) Set(i int, value protoreflect.Value) { + valueUnwrapped := value.Uint() + concreteValue := valueUnwrapped + (*x.list)[i] = concreteValue +} + +func (x *_OptionalParams_25_list) Append(value protoreflect.Value) { + valueUnwrapped := value.Uint() + concreteValue := valueUnwrapped + *x.list = append(*x.list, concreteValue) +} + +func (x *_OptionalParams_25_list) AppendMutable() protoreflect.Value { + panic(fmt.Errorf("AppendMutable can not be called on message OptionalParams at list field GradientDescentMaxIters as it is not of Message kind")) +} + +func (x *_OptionalParams_25_list) Truncate(n int) { + *x.list = (*x.list)[:n] +} + +func (x *_OptionalParams_25_list) NewElement() protoreflect.Value { + v := uint64(0) + return protoreflect.ValueOfUint64(v) +} + +func (x *_OptionalParams_25_list) IsValid() bool { + return x.list != nil +} + +var _ protoreflect.List = (*_OptionalParams_28_list)(nil) + +type _OptionalParams_28_list struct { + list *[]string +} + +func (x *_OptionalParams_28_list) Len() int { + if x.list == nil { + return 0 + } + return len(*x.list) +} + +func (x *_OptionalParams_28_list) Get(i int) protoreflect.Value { + return protoreflect.ValueOfString((*x.list)[i]) +} + +func (x *_OptionalParams_28_list) Set(i int, value protoreflect.Value) { + valueUnwrapped := value.String() + concreteValue := valueUnwrapped + (*x.list)[i] = concreteValue +} + +func (x *_OptionalParams_28_list) Append(value protoreflect.Value) { + valueUnwrapped := value.String() + concreteValue := valueUnwrapped + *x.list = append(*x.list, concreteValue) +} + +func (x *_OptionalParams_28_list) AppendMutable() protoreflect.Value { + panic(fmt.Errorf("AppendMutable can not be called on message OptionalParams at list field RegistrationFee as it is not of Message kind")) +} + +func (x *_OptionalParams_28_list) Truncate(n int) { + *x.list = (*x.list)[:n] +} + +func (x *_OptionalParams_28_list) NewElement() protoreflect.Value { + v := "" + return protoreflect.ValueOfString(v) +} + +func (x *_OptionalParams_28_list) IsValid() bool { + return x.list != nil +} + +var _ protoreflect.List = (*_OptionalParams_29_list)(nil) + +type _OptionalParams_29_list struct { + list *[]uint64 +} + +func (x *_OptionalParams_29_list) Len() int { + if x.list == nil { + return 0 + } + return len(*x.list) +} + +func (x *_OptionalParams_29_list) Get(i int) protoreflect.Value { + return protoreflect.ValueOfUint64((*x.list)[i]) +} + +func (x *_OptionalParams_29_list) Set(i int, value protoreflect.Value) { + valueUnwrapped := value.Uint() + concreteValue := valueUnwrapped + (*x.list)[i] = concreteValue +} + +func (x *_OptionalParams_29_list) Append(value protoreflect.Value) { + valueUnwrapped := value.Uint() + concreteValue := valueUnwrapped + *x.list = append(*x.list, concreteValue) +} + +func (x *_OptionalParams_29_list) AppendMutable() protoreflect.Value { + panic(fmt.Errorf("AppendMutable can not be called on message OptionalParams at list field DefaultPageLimit as it is not of Message kind")) +} + +func (x *_OptionalParams_29_list) Truncate(n int) { + *x.list = (*x.list)[:n] +} + +func (x *_OptionalParams_29_list) NewElement() protoreflect.Value { + v := uint64(0) + return protoreflect.ValueOfUint64(v) +} + +func (x *_OptionalParams_29_list) IsValid() bool { + return x.list != nil +} + +var _ protoreflect.List = (*_OptionalParams_30_list)(nil) + +type _OptionalParams_30_list struct { + list *[]uint64 +} + +func (x *_OptionalParams_30_list) Len() int { + if x.list == nil { + return 0 + } + return len(*x.list) +} + +func (x *_OptionalParams_30_list) Get(i int) protoreflect.Value { + return protoreflect.ValueOfUint64((*x.list)[i]) +} + +func (x *_OptionalParams_30_list) Set(i int, value protoreflect.Value) { + valueUnwrapped := value.Uint() + concreteValue := valueUnwrapped + (*x.list)[i] = concreteValue +} + +func (x *_OptionalParams_30_list) Append(value protoreflect.Value) { + valueUnwrapped := value.Uint() + concreteValue := valueUnwrapped + *x.list = append(*x.list, concreteValue) +} + +func (x *_OptionalParams_30_list) AppendMutable() protoreflect.Value { + panic(fmt.Errorf("AppendMutable can not be called on message OptionalParams at list field MaxPageLimit as it is not of Message kind")) +} + +func (x *_OptionalParams_30_list) Truncate(n int) { + *x.list = (*x.list)[:n] +} + +func (x *_OptionalParams_30_list) NewElement() protoreflect.Value { + v := uint64(0) + return protoreflect.ValueOfUint64(v) +} + +func (x *_OptionalParams_30_list) IsValid() bool { + return x.list != nil +} + +var _ protoreflect.List = (*_OptionalParams_31_list)(nil) + +type _OptionalParams_31_list struct { + list *[]int64 +} + +func (x *_OptionalParams_31_list) Len() int { + if x.list == nil { + return 0 + } + return len(*x.list) +} + +func (x *_OptionalParams_31_list) Get(i int) protoreflect.Value { + return protoreflect.ValueOfInt64((*x.list)[i]) +} + +func (x *_OptionalParams_31_list) Set(i int, value protoreflect.Value) { + valueUnwrapped := value.Int() + concreteValue := valueUnwrapped + (*x.list)[i] = concreteValue +} + +func (x *_OptionalParams_31_list) Append(value protoreflect.Value) { + valueUnwrapped := value.Int() + concreteValue := valueUnwrapped + *x.list = append(*x.list, concreteValue) +} + +func (x *_OptionalParams_31_list) AppendMutable() protoreflect.Value { + panic(fmt.Errorf("AppendMutable can not be called on message OptionalParams at list field MinEpochLengthRecordLimit as it is not of Message kind")) +} + +func (x *_OptionalParams_31_list) Truncate(n int) { + *x.list = (*x.list)[:n] +} + +func (x *_OptionalParams_31_list) NewElement() protoreflect.Value { + v := int64(0) + return protoreflect.ValueOfInt64(v) +} + +func (x *_OptionalParams_31_list) IsValid() bool { + return x.list != nil +} + +var _ protoreflect.List = (*_OptionalParams_32_list)(nil) + +type _OptionalParams_32_list struct { + list *[]uint64 +} + +func (x *_OptionalParams_32_list) Len() int { + if x.list == nil { + return 0 + } + return len(*x.list) +} + +func (x *_OptionalParams_32_list) Get(i int) protoreflect.Value { + return protoreflect.ValueOfUint64((*x.list)[i]) +} + +func (x *_OptionalParams_32_list) Set(i int, value protoreflect.Value) { + valueUnwrapped := value.Uint() + concreteValue := valueUnwrapped + (*x.list)[i] = concreteValue +} + +func (x *_OptionalParams_32_list) Append(value protoreflect.Value) { + valueUnwrapped := value.Uint() + concreteValue := valueUnwrapped + *x.list = append(*x.list, concreteValue) +} + +func (x *_OptionalParams_32_list) AppendMutable() protoreflect.Value { + panic(fmt.Errorf("AppendMutable can not be called on message OptionalParams at list field BlocksPerMonth as it is not of Message kind")) +} + +func (x *_OptionalParams_32_list) Truncate(n int) { + *x.list = (*x.list)[:n] +} + +func (x *_OptionalParams_32_list) NewElement() protoreflect.Value { + v := uint64(0) + return protoreflect.ValueOfUint64(v) +} + +func (x *_OptionalParams_32_list) IsValid() bool { + return x.list != nil +} + +var _ protoreflect.List = (*_OptionalParams_33_list)(nil) + +type _OptionalParams_33_list struct { + list *[]string +} + +func (x *_OptionalParams_33_list) Len() int { + if x.list == nil { + return 0 + } + return len(*x.list) +} + +func (x *_OptionalParams_33_list) Get(i int) protoreflect.Value { + return protoreflect.ValueOfString((*x.list)[i]) +} + +func (x *_OptionalParams_33_list) Set(i int, value protoreflect.Value) { + valueUnwrapped := value.String() + concreteValue := valueUnwrapped + (*x.list)[i] = concreteValue +} + +func (x *_OptionalParams_33_list) Append(value protoreflect.Value) { + valueUnwrapped := value.String() + concreteValue := valueUnwrapped + *x.list = append(*x.list, concreteValue) +} + +func (x *_OptionalParams_33_list) AppendMutable() protoreflect.Value { + panic(fmt.Errorf("AppendMutable can not be called on message OptionalParams at list field PRewardInference as it is not of Message kind")) +} + +func (x *_OptionalParams_33_list) Truncate(n int) { + *x.list = (*x.list)[:n] +} + +func (x *_OptionalParams_33_list) NewElement() protoreflect.Value { + v := "" + return protoreflect.ValueOfString(v) +} + +func (x *_OptionalParams_33_list) IsValid() bool { + return x.list != nil +} + +var _ protoreflect.List = (*_OptionalParams_34_list)(nil) + +type _OptionalParams_34_list struct { + list *[]string +} + +func (x *_OptionalParams_34_list) Len() int { + if x.list == nil { + return 0 + } + return len(*x.list) +} + +func (x *_OptionalParams_34_list) Get(i int) protoreflect.Value { + return protoreflect.ValueOfString((*x.list)[i]) +} + +func (x *_OptionalParams_34_list) Set(i int, value protoreflect.Value) { + valueUnwrapped := value.String() + concreteValue := valueUnwrapped + (*x.list)[i] = concreteValue +} + +func (x *_OptionalParams_34_list) Append(value protoreflect.Value) { + valueUnwrapped := value.String() + concreteValue := valueUnwrapped + *x.list = append(*x.list, concreteValue) +} + +func (x *_OptionalParams_34_list) AppendMutable() protoreflect.Value { + panic(fmt.Errorf("AppendMutable can not be called on message OptionalParams at list field PRewardForecast as it is not of Message kind")) +} + +func (x *_OptionalParams_34_list) Truncate(n int) { + *x.list = (*x.list)[:n] +} + +func (x *_OptionalParams_34_list) NewElement() protoreflect.Value { + v := "" + return protoreflect.ValueOfString(v) +} + +func (x *_OptionalParams_34_list) IsValid() bool { + return x.list != nil +} + +var _ protoreflect.List = (*_OptionalParams_35_list)(nil) + +type _OptionalParams_35_list struct { + list *[]string +} + +func (x *_OptionalParams_35_list) Len() int { + if x.list == nil { + return 0 + } + return len(*x.list) +} + +func (x *_OptionalParams_35_list) Get(i int) protoreflect.Value { + return protoreflect.ValueOfString((*x.list)[i]) +} + +func (x *_OptionalParams_35_list) Set(i int, value protoreflect.Value) { + valueUnwrapped := value.String() + concreteValue := valueUnwrapped + (*x.list)[i] = concreteValue +} + +func (x *_OptionalParams_35_list) Append(value protoreflect.Value) { + valueUnwrapped := value.String() + concreteValue := valueUnwrapped + *x.list = append(*x.list, concreteValue) +} + +func (x *_OptionalParams_35_list) AppendMutable() protoreflect.Value { + panic(fmt.Errorf("AppendMutable can not be called on message OptionalParams at list field PRewardReputer as it is not of Message kind")) +} + +func (x *_OptionalParams_35_list) Truncate(n int) { + *x.list = (*x.list)[:n] +} + +func (x *_OptionalParams_35_list) NewElement() protoreflect.Value { + v := "" + return protoreflect.ValueOfString(v) +} + +func (x *_OptionalParams_35_list) IsValid() bool { + return x.list != nil +} + +var _ protoreflect.List = (*_OptionalParams_36_list)(nil) + +type _OptionalParams_36_list struct { + list *[]string +} + +func (x *_OptionalParams_36_list) Len() int { + if x.list == nil { + return 0 + } + return len(*x.list) +} + +func (x *_OptionalParams_36_list) Get(i int) protoreflect.Value { + return protoreflect.ValueOfString((*x.list)[i]) +} + +func (x *_OptionalParams_36_list) Set(i int, value protoreflect.Value) { + valueUnwrapped := value.String() + concreteValue := valueUnwrapped + (*x.list)[i] = concreteValue +} + +func (x *_OptionalParams_36_list) Append(value protoreflect.Value) { + valueUnwrapped := value.String() + concreteValue := valueUnwrapped + *x.list = append(*x.list, concreteValue) +} + +func (x *_OptionalParams_36_list) AppendMutable() protoreflect.Value { + panic(fmt.Errorf("AppendMutable can not be called on message OptionalParams at list field CRewardInference as it is not of Message kind")) +} + +func (x *_OptionalParams_36_list) Truncate(n int) { + *x.list = (*x.list)[:n] +} + +func (x *_OptionalParams_36_list) NewElement() protoreflect.Value { + v := "" + return protoreflect.ValueOfString(v) +} + +func (x *_OptionalParams_36_list) IsValid() bool { + return x.list != nil +} + +var _ protoreflect.List = (*_OptionalParams_37_list)(nil) + +type _OptionalParams_37_list struct { + list *[]string +} + +func (x *_OptionalParams_37_list) Len() int { + if x.list == nil { + return 0 + } + return len(*x.list) +} + +func (x *_OptionalParams_37_list) Get(i int) protoreflect.Value { + return protoreflect.ValueOfString((*x.list)[i]) +} + +func (x *_OptionalParams_37_list) Set(i int, value protoreflect.Value) { + valueUnwrapped := value.String() + concreteValue := valueUnwrapped + (*x.list)[i] = concreteValue +} + +func (x *_OptionalParams_37_list) Append(value protoreflect.Value) { + valueUnwrapped := value.String() + concreteValue := valueUnwrapped + *x.list = append(*x.list, concreteValue) +} + +func (x *_OptionalParams_37_list) AppendMutable() protoreflect.Value { + panic(fmt.Errorf("AppendMutable can not be called on message OptionalParams at list field CRewardForecast as it is not of Message kind")) +} + +func (x *_OptionalParams_37_list) Truncate(n int) { + *x.list = (*x.list)[:n] +} + +func (x *_OptionalParams_37_list) NewElement() protoreflect.Value { + v := "" + return protoreflect.ValueOfString(v) +} + +func (x *_OptionalParams_37_list) IsValid() bool { + return x.list != nil +} + +var _ protoreflect.List = (*_OptionalParams_38_list)(nil) + +type _OptionalParams_38_list struct { + list *[]string +} + +func (x *_OptionalParams_38_list) Len() int { + if x.list == nil { + return 0 + } + return len(*x.list) +} + +func (x *_OptionalParams_38_list) Get(i int) protoreflect.Value { + return protoreflect.ValueOfString((*x.list)[i]) +} + +func (x *_OptionalParams_38_list) Set(i int, value protoreflect.Value) { + valueUnwrapped := value.String() + concreteValue := valueUnwrapped + (*x.list)[i] = concreteValue +} + +func (x *_OptionalParams_38_list) Append(value protoreflect.Value) { + valueUnwrapped := value.String() + concreteValue := valueUnwrapped + *x.list = append(*x.list, concreteValue) +} + +func (x *_OptionalParams_38_list) AppendMutable() protoreflect.Value { + panic(fmt.Errorf("AppendMutable can not be called on message OptionalParams at list field CNorm as it is not of Message kind")) +} + +func (x *_OptionalParams_38_list) Truncate(n int) { + *x.list = (*x.list)[:n] +} + +func (x *_OptionalParams_38_list) NewElement() protoreflect.Value { + v := "" + return protoreflect.ValueOfString(v) +} + +func (x *_OptionalParams_38_list) IsValid() bool { + return x.list != nil +} + +var _ protoreflect.List = (*_OptionalParams_40_list)(nil) + +type _OptionalParams_40_list struct { + list *[]string +} + +func (x *_OptionalParams_40_list) Len() int { + if x.list == nil { + return 0 + } + return len(*x.list) +} + +func (x *_OptionalParams_40_list) Get(i int) protoreflect.Value { + return protoreflect.ValueOfString((*x.list)[i]) +} + +func (x *_OptionalParams_40_list) Set(i int, value protoreflect.Value) { + valueUnwrapped := value.String() + concreteValue := valueUnwrapped + (*x.list)[i] = concreteValue +} + +func (x *_OptionalParams_40_list) Append(value protoreflect.Value) { + valueUnwrapped := value.String() + concreteValue := valueUnwrapped + *x.list = append(*x.list, concreteValue) +} + +func (x *_OptionalParams_40_list) AppendMutable() protoreflect.Value { + panic(fmt.Errorf("AppendMutable can not be called on message OptionalParams at list field EpsilonReputer as it is not of Message kind")) +} + +func (x *_OptionalParams_40_list) Truncate(n int) { + *x.list = (*x.list)[:n] +} + +func (x *_OptionalParams_40_list) NewElement() protoreflect.Value { + v := "" + return protoreflect.ValueOfString(v) +} + +func (x *_OptionalParams_40_list) IsValid() bool { + return x.list != nil +} + +var _ protoreflect.List = (*_OptionalParams_42_list)(nil) + +type _OptionalParams_42_list struct { + list *[]uint64 +} + +func (x *_OptionalParams_42_list) Len() int { + if x.list == nil { + return 0 + } + return len(*x.list) +} + +func (x *_OptionalParams_42_list) Get(i int) protoreflect.Value { + return protoreflect.ValueOfUint64((*x.list)[i]) +} + +func (x *_OptionalParams_42_list) Set(i int, value protoreflect.Value) { + valueUnwrapped := value.Uint() + concreteValue := valueUnwrapped + (*x.list)[i] = concreteValue +} + +func (x *_OptionalParams_42_list) Append(value protoreflect.Value) { + valueUnwrapped := value.Uint() + concreteValue := valueUnwrapped + *x.list = append(*x.list, concreteValue) +} + +func (x *_OptionalParams_42_list) AppendMutable() protoreflect.Value { + panic(fmt.Errorf("AppendMutable can not be called on message OptionalParams at list field HalfMaxProcessStakeRemovalsEndBlock as it is not of Message kind")) +} + +func (x *_OptionalParams_42_list) Truncate(n int) { + *x.list = (*x.list)[:n] +} + +func (x *_OptionalParams_42_list) NewElement() protoreflect.Value { + v := uint64(0) + return protoreflect.ValueOfUint64(v) +} + +func (x *_OptionalParams_42_list) IsValid() bool { + return x.list != nil +} + +var _ protoreflect.List = (*_OptionalParams_43_list)(nil) + +type _OptionalParams_43_list struct { + list *[]string +} + +func (x *_OptionalParams_43_list) Len() int { + if x.list == nil { + return 0 + } + return len(*x.list) +} + +func (x *_OptionalParams_43_list) Get(i int) protoreflect.Value { + return protoreflect.ValueOfString((*x.list)[i]) +} + +func (x *_OptionalParams_43_list) Set(i int, value protoreflect.Value) { + valueUnwrapped := value.String() + concreteValue := valueUnwrapped + (*x.list)[i] = concreteValue +} + +func (x *_OptionalParams_43_list) Append(value protoreflect.Value) { + valueUnwrapped := value.String() + concreteValue := valueUnwrapped + *x.list = append(*x.list, concreteValue) +} + +func (x *_OptionalParams_43_list) AppendMutable() protoreflect.Value { + panic(fmt.Errorf("AppendMutable can not be called on message OptionalParams at list field DataSendingFee as it is not of Message kind")) +} + +func (x *_OptionalParams_43_list) Truncate(n int) { + *x.list = (*x.list)[:n] +} + +func (x *_OptionalParams_43_list) NewElement() protoreflect.Value { + v := "" + return protoreflect.ValueOfString(v) +} + +func (x *_OptionalParams_43_list) IsValid() bool { + return x.list != nil +} + +var _ protoreflect.List = (*_OptionalParams_44_list)(nil) + +type _OptionalParams_44_list struct { + list *[]string +} + +func (x *_OptionalParams_44_list) Len() int { + if x.list == nil { + return 0 + } + return len(*x.list) +} + +func (x *_OptionalParams_44_list) Get(i int) protoreflect.Value { + return protoreflect.ValueOfString((*x.list)[i]) +} + +func (x *_OptionalParams_44_list) Set(i int, value protoreflect.Value) { + valueUnwrapped := value.String() + concreteValue := valueUnwrapped + (*x.list)[i] = concreteValue +} + +func (x *_OptionalParams_44_list) Append(value protoreflect.Value) { + valueUnwrapped := value.String() + concreteValue := valueUnwrapped + *x.list = append(*x.list, concreteValue) +} + +func (x *_OptionalParams_44_list) AppendMutable() protoreflect.Value { + panic(fmt.Errorf("AppendMutable can not be called on message OptionalParams at list field EpsilonSafeDiv as it is not of Message kind")) +} + +func (x *_OptionalParams_44_list) Truncate(n int) { + *x.list = (*x.list)[:n] +} + +func (x *_OptionalParams_44_list) NewElement() protoreflect.Value { + v := "" + return protoreflect.ValueOfString(v) +} + +func (x *_OptionalParams_44_list) IsValid() bool { + return x.list != nil +} + +var _ protoreflect.List = (*_OptionalParams_45_list)(nil) + +type _OptionalParams_45_list struct { + list *[]uint64 +} + +func (x *_OptionalParams_45_list) Len() int { + if x.list == nil { + return 0 + } + return len(*x.list) +} + +func (x *_OptionalParams_45_list) Get(i int) protoreflect.Value { + return protoreflect.ValueOfUint64((*x.list)[i]) +} + +func (x *_OptionalParams_45_list) Set(i int, value protoreflect.Value) { + valueUnwrapped := value.Uint() + concreteValue := valueUnwrapped + (*x.list)[i] = concreteValue +} + +func (x *_OptionalParams_45_list) Append(value protoreflect.Value) { + valueUnwrapped := value.Uint() + concreteValue := valueUnwrapped + *x.list = append(*x.list, concreteValue) +} + +func (x *_OptionalParams_45_list) AppendMutable() protoreflect.Value { + panic(fmt.Errorf("AppendMutable can not be called on message OptionalParams at list field MaxElementsPerForecast as it is not of Message kind")) +} + +func (x *_OptionalParams_45_list) Truncate(n int) { + *x.list = (*x.list)[:n] +} + +func (x *_OptionalParams_45_list) NewElement() protoreflect.Value { + v := uint64(0) + return protoreflect.ValueOfUint64(v) +} + +func (x *_OptionalParams_45_list) IsValid() bool { + return x.list != nil +} + +var _ protoreflect.List = (*_OptionalParams_46_list)(nil) + +type _OptionalParams_46_list struct { + list *[]uint64 +} + +func (x *_OptionalParams_46_list) Len() int { + if x.list == nil { + return 0 + } + return len(*x.list) +} + +func (x *_OptionalParams_46_list) Get(i int) protoreflect.Value { + return protoreflect.ValueOfUint64((*x.list)[i]) +} + +func (x *_OptionalParams_46_list) Set(i int, value protoreflect.Value) { + valueUnwrapped := value.Uint() + concreteValue := valueUnwrapped + (*x.list)[i] = concreteValue +} + +func (x *_OptionalParams_46_list) Append(value protoreflect.Value) { + valueUnwrapped := value.Uint() + concreteValue := valueUnwrapped + *x.list = append(*x.list, concreteValue) +} + +func (x *_OptionalParams_46_list) AppendMutable() protoreflect.Value { + panic(fmt.Errorf("AppendMutable can not be called on message OptionalParams at list field MaxActiveTopicsPerBlock as it is not of Message kind")) +} + +func (x *_OptionalParams_46_list) Truncate(n int) { + *x.list = (*x.list)[:n] +} + +func (x *_OptionalParams_46_list) NewElement() protoreflect.Value { + v := uint64(0) + return protoreflect.ValueOfUint64(v) +} + +func (x *_OptionalParams_46_list) IsValid() bool { + return x.list != nil +} + +var _ protoreflect.List = (*_OptionalParams_47_list)(nil) + +type _OptionalParams_47_list struct { + list *[]uint64 +} + +func (x *_OptionalParams_47_list) Len() int { + if x.list == nil { + return 0 + } + return len(*x.list) +} + +func (x *_OptionalParams_47_list) Get(i int) protoreflect.Value { + return protoreflect.ValueOfUint64((*x.list)[i]) +} + +func (x *_OptionalParams_47_list) Set(i int, value protoreflect.Value) { + valueUnwrapped := value.Uint() + concreteValue := valueUnwrapped + (*x.list)[i] = concreteValue +} + +func (x *_OptionalParams_47_list) Append(value protoreflect.Value) { + valueUnwrapped := value.Uint() + concreteValue := valueUnwrapped + *x.list = append(*x.list, concreteValue) +} + +func (x *_OptionalParams_47_list) AppendMutable() protoreflect.Value { + panic(fmt.Errorf("AppendMutable can not be called on message OptionalParams at list field MaxStringLength as it is not of Message kind")) +} + +func (x *_OptionalParams_47_list) Truncate(n int) { + *x.list = (*x.list)[:n] +} + +func (x *_OptionalParams_47_list) NewElement() protoreflect.Value { + v := uint64(0) + return protoreflect.ValueOfUint64(v) +} + +func (x *_OptionalParams_47_list) IsValid() bool { + return x.list != nil +} + +var _ protoreflect.List = (*_OptionalParams_48_list)(nil) + +type _OptionalParams_48_list struct { + list *[]string +} + +func (x *_OptionalParams_48_list) Len() int { + if x.list == nil { + return 0 + } + return len(*x.list) +} + +func (x *_OptionalParams_48_list) Get(i int) protoreflect.Value { + return protoreflect.ValueOfString((*x.list)[i]) +} + +func (x *_OptionalParams_48_list) Set(i int, value protoreflect.Value) { + valueUnwrapped := value.String() + concreteValue := valueUnwrapped + (*x.list)[i] = concreteValue +} + +func (x *_OptionalParams_48_list) Append(value protoreflect.Value) { + valueUnwrapped := value.String() + concreteValue := valueUnwrapped + *x.list = append(*x.list, concreteValue) +} + +func (x *_OptionalParams_48_list) AppendMutable() protoreflect.Value { + panic(fmt.Errorf("AppendMutable can not be called on message OptionalParams at list field InitialRegretQuantile as it is not of Message kind")) +} + +func (x *_OptionalParams_48_list) Truncate(n int) { + *x.list = (*x.list)[:n] +} + +func (x *_OptionalParams_48_list) NewElement() protoreflect.Value { + v := "" + return protoreflect.ValueOfString(v) +} + +func (x *_OptionalParams_48_list) IsValid() bool { + return x.list != nil +} + +var _ protoreflect.List = (*_OptionalParams_49_list)(nil) + +type _OptionalParams_49_list struct { + list *[]string +} + +func (x *_OptionalParams_49_list) Len() int { + if x.list == nil { + return 0 + } + return len(*x.list) +} + +func (x *_OptionalParams_49_list) Get(i int) protoreflect.Value { + return protoreflect.ValueOfString((*x.list)[i]) +} + +func (x *_OptionalParams_49_list) Set(i int, value protoreflect.Value) { + valueUnwrapped := value.String() + concreteValue := valueUnwrapped + (*x.list)[i] = concreteValue +} + +func (x *_OptionalParams_49_list) Append(value protoreflect.Value) { + valueUnwrapped := value.String() + concreteValue := valueUnwrapped + *x.list = append(*x.list, concreteValue) +} + +func (x *_OptionalParams_49_list) AppendMutable() protoreflect.Value { + panic(fmt.Errorf("AppendMutable can not be called on message OptionalParams at list field PNormSafeDiv as it is not of Message kind")) +} + +func (x *_OptionalParams_49_list) Truncate(n int) { + *x.list = (*x.list)[:n] +} + +func (x *_OptionalParams_49_list) NewElement() protoreflect.Value { + v := "" + return protoreflect.ValueOfString(v) +} + +func (x *_OptionalParams_49_list) IsValid() bool { + return x.list != nil +} + +var _ protoreflect.List = (*_OptionalParams_50_list)(nil) + +type _OptionalParams_50_list struct { + list *[]bool +} + +func (x *_OptionalParams_50_list) Len() int { + if x.list == nil { + return 0 + } + return len(*x.list) +} + +func (x *_OptionalParams_50_list) Get(i int) protoreflect.Value { + return protoreflect.ValueOfBool((*x.list)[i]) +} + +func (x *_OptionalParams_50_list) Set(i int, value protoreflect.Value) { + valueUnwrapped := value.Bool() + concreteValue := valueUnwrapped + (*x.list)[i] = concreteValue +} + +func (x *_OptionalParams_50_list) Append(value protoreflect.Value) { + valueUnwrapped := value.Bool() + concreteValue := valueUnwrapped + *x.list = append(*x.list, concreteValue) +} + +func (x *_OptionalParams_50_list) AppendMutable() protoreflect.Value { + panic(fmt.Errorf("AppendMutable can not be called on message OptionalParams at list field GlobalWhitelistEnabled as it is not of Message kind")) +} + +func (x *_OptionalParams_50_list) Truncate(n int) { + *x.list = (*x.list)[:n] +} + +func (x *_OptionalParams_50_list) NewElement() protoreflect.Value { + v := false + return protoreflect.ValueOfBool(v) +} + +func (x *_OptionalParams_50_list) IsValid() bool { + return x.list != nil +} + +var _ protoreflect.List = (*_OptionalParams_51_list)(nil) + +type _OptionalParams_51_list struct { + list *[]bool +} + +func (x *_OptionalParams_51_list) Len() int { + if x.list == nil { + return 0 + } + return len(*x.list) +} + +func (x *_OptionalParams_51_list) Get(i int) protoreflect.Value { + return protoreflect.ValueOfBool((*x.list)[i]) +} + +func (x *_OptionalParams_51_list) Set(i int, value protoreflect.Value) { + valueUnwrapped := value.Bool() + concreteValue := valueUnwrapped + (*x.list)[i] = concreteValue +} + +func (x *_OptionalParams_51_list) Append(value protoreflect.Value) { + valueUnwrapped := value.Bool() + concreteValue := valueUnwrapped + *x.list = append(*x.list, concreteValue) +} + +func (x *_OptionalParams_51_list) AppendMutable() protoreflect.Value { + panic(fmt.Errorf("AppendMutable can not be called on message OptionalParams at list field TopicCreatorWhitelistEnabled as it is not of Message kind")) +} + +func (x *_OptionalParams_51_list) Truncate(n int) { + *x.list = (*x.list)[:n] +} + +func (x *_OptionalParams_51_list) NewElement() protoreflect.Value { + v := false + return protoreflect.ValueOfBool(v) +} + +func (x *_OptionalParams_51_list) IsValid() bool { + return x.list != nil +} + +var _ protoreflect.List = (*_OptionalParams_52_list)(nil) + +type _OptionalParams_52_list struct { + list *[]uint64 +} + +func (x *_OptionalParams_52_list) Len() int { + if x.list == nil { + return 0 + } + return len(*x.list) +} + +func (x *_OptionalParams_52_list) Get(i int) protoreflect.Value { + return protoreflect.ValueOfUint64((*x.list)[i]) +} + +func (x *_OptionalParams_52_list) Set(i int, value protoreflect.Value) { + valueUnwrapped := value.Uint() + concreteValue := valueUnwrapped + (*x.list)[i] = concreteValue +} + +func (x *_OptionalParams_52_list) Append(value protoreflect.Value) { + valueUnwrapped := value.Uint() + concreteValue := valueUnwrapped + *x.list = append(*x.list, concreteValue) +} + +func (x *_OptionalParams_52_list) AppendMutable() protoreflect.Value { + panic(fmt.Errorf("AppendMutable can not be called on message OptionalParams at list field MinExperiencedWorkerRegrets as it is not of Message kind")) +} + +func (x *_OptionalParams_52_list) Truncate(n int) { + *x.list = (*x.list)[:n] +} + +func (x *_OptionalParams_52_list) NewElement() protoreflect.Value { + v := uint64(0) + return protoreflect.ValueOfUint64(v) +} + +func (x *_OptionalParams_52_list) IsValid() bool { + return x.list != nil +} + +var _ protoreflect.List = (*_OptionalParams_53_list)(nil) + +type _OptionalParams_53_list struct { + list *[]string +} + +func (x *_OptionalParams_53_list) Len() int { + if x.list == nil { + return 0 + } + return len(*x.list) +} + +func (x *_OptionalParams_53_list) Get(i int) protoreflect.Value { + return protoreflect.ValueOfString((*x.list)[i]) +} + +func (x *_OptionalParams_53_list) Set(i int, value protoreflect.Value) { + valueUnwrapped := value.String() + concreteValue := valueUnwrapped + (*x.list)[i] = concreteValue +} + +func (x *_OptionalParams_53_list) Append(value protoreflect.Value) { + valueUnwrapped := value.String() + concreteValue := valueUnwrapped + *x.list = append(*x.list, concreteValue) +} + +func (x *_OptionalParams_53_list) AppendMutable() protoreflect.Value { + panic(fmt.Errorf("AppendMutable can not be called on message OptionalParams at list field InferenceOutlierDetectionThreshold as it is not of Message kind")) +} + +func (x *_OptionalParams_53_list) Truncate(n int) { + *x.list = (*x.list)[:n] +} + +func (x *_OptionalParams_53_list) NewElement() protoreflect.Value { + v := "" + return protoreflect.ValueOfString(v) +} + +func (x *_OptionalParams_53_list) IsValid() bool { + return x.list != nil +} + +var _ protoreflect.List = (*_OptionalParams_54_list)(nil) + +type _OptionalParams_54_list struct { + list *[]string +} + +func (x *_OptionalParams_54_list) Len() int { + if x.list == nil { + return 0 + } + return len(*x.list) +} + +func (x *_OptionalParams_54_list) Get(i int) protoreflect.Value { + return protoreflect.ValueOfString((*x.list)[i]) +} + +func (x *_OptionalParams_54_list) Set(i int, value protoreflect.Value) { + valueUnwrapped := value.String() + concreteValue := valueUnwrapped + (*x.list)[i] = concreteValue +} + +func (x *_OptionalParams_54_list) Append(value protoreflect.Value) { + valueUnwrapped := value.String() + concreteValue := valueUnwrapped + *x.list = append(*x.list, concreteValue) +} + +func (x *_OptionalParams_54_list) AppendMutable() protoreflect.Value { + panic(fmt.Errorf("AppendMutable can not be called on message OptionalParams at list field InferenceOutlierDetectionAlpha as it is not of Message kind")) +} + +func (x *_OptionalParams_54_list) Truncate(n int) { + *x.list = (*x.list)[:n] +} + +func (x *_OptionalParams_54_list) NewElement() protoreflect.Value { + v := "" + return protoreflect.ValueOfString(v) +} + +func (x *_OptionalParams_54_list) IsValid() bool { + return x.list != nil +} + +var _ protoreflect.List = (*_OptionalParams_55_list)(nil) + +type _OptionalParams_55_list struct { + list *[]string +} + +func (x *_OptionalParams_55_list) Len() int { + if x.list == nil { + return 0 + } + return len(*x.list) +} + +func (x *_OptionalParams_55_list) Get(i int) protoreflect.Value { + return protoreflect.ValueOfString((*x.list)[i]) +} + +func (x *_OptionalParams_55_list) Set(i int, value protoreflect.Value) { + valueUnwrapped := value.String() + concreteValue := valueUnwrapped + (*x.list)[i] = concreteValue +} + +func (x *_OptionalParams_55_list) Append(value protoreflect.Value) { + valueUnwrapped := value.String() + concreteValue := valueUnwrapped + *x.list = append(*x.list, concreteValue) +} + +func (x *_OptionalParams_55_list) AppendMutable() protoreflect.Value { + panic(fmt.Errorf("AppendMutable can not be called on message OptionalParams at list field LambdaInitialScore as it is not of Message kind")) +} + +func (x *_OptionalParams_55_list) Truncate(n int) { + *x.list = (*x.list)[:n] +} + +func (x *_OptionalParams_55_list) NewElement() protoreflect.Value { + v := "" + return protoreflect.ValueOfString(v) +} + +func (x *_OptionalParams_55_list) IsValid() bool { + return x.list != nil +} + +var _ protoreflect.List = (*_OptionalParams_56_list)(nil) + +type _OptionalParams_56_list struct { + list *[]bool +} + +func (x *_OptionalParams_56_list) Len() int { + if x.list == nil { + return 0 + } + return len(*x.list) +} + +func (x *_OptionalParams_56_list) Get(i int) protoreflect.Value { + return protoreflect.ValueOfBool((*x.list)[i]) +} + +func (x *_OptionalParams_56_list) Set(i int, value protoreflect.Value) { + valueUnwrapped := value.Bool() + concreteValue := valueUnwrapped + (*x.list)[i] = concreteValue +} + +func (x *_OptionalParams_56_list) Append(value protoreflect.Value) { + valueUnwrapped := value.Bool() + concreteValue := valueUnwrapped + *x.list = append(*x.list, concreteValue) +} + +func (x *_OptionalParams_56_list) AppendMutable() protoreflect.Value { + panic(fmt.Errorf("AppendMutable can not be called on message OptionalParams at list field GlobalWorkerWhitelistEnabled as it is not of Message kind")) +} + +func (x *_OptionalParams_56_list) Truncate(n int) { + *x.list = (*x.list)[:n] +} + +func (x *_OptionalParams_56_list) NewElement() protoreflect.Value { + v := false + return protoreflect.ValueOfBool(v) +} + +func (x *_OptionalParams_56_list) IsValid() bool { + return x.list != nil +} + +var _ protoreflect.List = (*_OptionalParams_57_list)(nil) + +type _OptionalParams_57_list struct { + list *[]bool +} + +func (x *_OptionalParams_57_list) Len() int { + if x.list == nil { + return 0 + } + return len(*x.list) +} + +func (x *_OptionalParams_57_list) Get(i int) protoreflect.Value { + return protoreflect.ValueOfBool((*x.list)[i]) +} + +func (x *_OptionalParams_57_list) Set(i int, value protoreflect.Value) { + valueUnwrapped := value.Bool() + concreteValue := valueUnwrapped + (*x.list)[i] = concreteValue +} + +func (x *_OptionalParams_57_list) Append(value protoreflect.Value) { + valueUnwrapped := value.Bool() + concreteValue := valueUnwrapped + *x.list = append(*x.list, concreteValue) +} + +func (x *_OptionalParams_57_list) AppendMutable() protoreflect.Value { + panic(fmt.Errorf("AppendMutable can not be called on message OptionalParams at list field GlobalReputerWhitelistEnabled as it is not of Message kind")) +} + +func (x *_OptionalParams_57_list) Truncate(n int) { + *x.list = (*x.list)[:n] +} + +func (x *_OptionalParams_57_list) NewElement() protoreflect.Value { + v := false + return protoreflect.ValueOfBool(v) +} + +func (x *_OptionalParams_57_list) IsValid() bool { + return x.list != nil +} + +var _ protoreflect.List = (*_OptionalParams_58_list)(nil) + +type _OptionalParams_58_list struct { + list *[]bool +} + +func (x *_OptionalParams_58_list) Len() int { + if x.list == nil { + return 0 + } + return len(*x.list) +} + +func (x *_OptionalParams_58_list) Get(i int) protoreflect.Value { + return protoreflect.ValueOfBool((*x.list)[i]) +} + +func (x *_OptionalParams_58_list) Set(i int, value protoreflect.Value) { + valueUnwrapped := value.Bool() + concreteValue := valueUnwrapped + (*x.list)[i] = concreteValue +} + +func (x *_OptionalParams_58_list) Append(value protoreflect.Value) { + valueUnwrapped := value.Bool() + concreteValue := valueUnwrapped + *x.list = append(*x.list, concreteValue) +} + +func (x *_OptionalParams_58_list) AppendMutable() protoreflect.Value { + panic(fmt.Errorf("AppendMutable can not be called on message OptionalParams at list field GlobalAdminWhitelistAppended as it is not of Message kind")) +} + +func (x *_OptionalParams_58_list) Truncate(n int) { + *x.list = (*x.list)[:n] +} + +func (x *_OptionalParams_58_list) NewElement() protoreflect.Value { + v := false + return protoreflect.ValueOfBool(v) +} + +func (x *_OptionalParams_58_list) IsValid() bool { + return x.list != nil +} + +var _ protoreflect.List = (*_OptionalParams_59_list)(nil) + +type _OptionalParams_59_list struct { + list *[]uint64 +} + +func (x *_OptionalParams_59_list) Len() int { + if x.list == nil { + return 0 + } + return len(*x.list) +} + +func (x *_OptionalParams_59_list) Get(i int) protoreflect.Value { + return protoreflect.ValueOfUint64((*x.list)[i]) +} + +func (x *_OptionalParams_59_list) Set(i int, value protoreflect.Value) { + valueUnwrapped := value.Uint() + concreteValue := valueUnwrapped + (*x.list)[i] = concreteValue +} + +func (x *_OptionalParams_59_list) Append(value protoreflect.Value) { + valueUnwrapped := value.Uint() + concreteValue := valueUnwrapped + *x.list = append(*x.list, concreteValue) +} + +func (x *_OptionalParams_59_list) AppendMutable() protoreflect.Value { + panic(fmt.Errorf("AppendMutable can not be called on message OptionalParams at list field MaxWhitelistInputArrayLength as it is not of Message kind")) +} + +func (x *_OptionalParams_59_list) Truncate(n int) { + *x.list = (*x.list)[:n] +} + +func (x *_OptionalParams_59_list) NewElement() protoreflect.Value { + v := uint64(0) + return protoreflect.ValueOfUint64(v) +} + +func (x *_OptionalParams_59_list) IsValid() bool { + return x.list != nil +} + +var _ protoreflect.List = (*_OptionalParams_60_list)(nil) + +type _OptionalParams_60_list struct { + list *[]string +} + +func (x *_OptionalParams_60_list) Len() int { + if x.list == nil { + return 0 + } + return len(*x.list) +} + +func (x *_OptionalParams_60_list) Get(i int) protoreflect.Value { + return protoreflect.ValueOfString((*x.list)[i]) +} + +func (x *_OptionalParams_60_list) Set(i int, value protoreflect.Value) { + valueUnwrapped := value.String() + concreteValue := valueUnwrapped + (*x.list)[i] = concreteValue +} + +func (x *_OptionalParams_60_list) Append(value protoreflect.Value) { + valueUnwrapped := value.String() + concreteValue := valueUnwrapped + *x.list = append(*x.list, concreteValue) +} + +func (x *_OptionalParams_60_list) AppendMutable() protoreflect.Value { + panic(fmt.Errorf("AppendMutable can not be called on message OptionalParams at list field MinWeightThresholdForStdnorm as it is not of Message kind")) +} + +func (x *_OptionalParams_60_list) Truncate(n int) { + *x.list = (*x.list)[:n] +} + +func (x *_OptionalParams_60_list) NewElement() protoreflect.Value { + v := "" + return protoreflect.ValueOfString(v) +} + +func (x *_OptionalParams_60_list) IsValid() bool { + return x.list != nil +} + +var ( + md_OptionalParams protoreflect.MessageDescriptor + fd_OptionalParams_version protoreflect.FieldDescriptor + fd_OptionalParams_max_serialized_msg_length protoreflect.FieldDescriptor + fd_OptionalParams_min_topic_weight protoreflect.FieldDescriptor + fd_OptionalParams_required_minimum_stake protoreflect.FieldDescriptor + fd_OptionalParams_remove_stake_delay_window protoreflect.FieldDescriptor + fd_OptionalParams_min_epoch_length protoreflect.FieldDescriptor + fd_OptionalParams_beta_entropy protoreflect.FieldDescriptor + fd_OptionalParams_learning_rate protoreflect.FieldDescriptor + fd_OptionalParams_max_gradient_threshold protoreflect.FieldDescriptor + fd_OptionalParams_min_stake_fraction protoreflect.FieldDescriptor + fd_OptionalParams_max_unfulfilled_worker_requests protoreflect.FieldDescriptor + fd_OptionalParams_max_unfulfilled_reputer_requests protoreflect.FieldDescriptor + fd_OptionalParams_topic_reward_stake_importance protoreflect.FieldDescriptor + fd_OptionalParams_topic_reward_fee_revenue_importance protoreflect.FieldDescriptor + fd_OptionalParams_topic_reward_alpha protoreflect.FieldDescriptor + fd_OptionalParams_task_reward_alpha protoreflect.FieldDescriptor + fd_OptionalParams_validators_vs_allora_percent_reward protoreflect.FieldDescriptor + fd_OptionalParams_max_samples_to_scale_scores protoreflect.FieldDescriptor + fd_OptionalParams_max_top_inferers_to_reward protoreflect.FieldDescriptor + fd_OptionalParams_max_top_forecasters_to_reward protoreflect.FieldDescriptor + fd_OptionalParams_max_top_reputers_to_reward protoreflect.FieldDescriptor + fd_OptionalParams_create_topic_fee protoreflect.FieldDescriptor + fd_OptionalParams_gradient_descent_max_iters protoreflect.FieldDescriptor + fd_OptionalParams_registration_fee protoreflect.FieldDescriptor + fd_OptionalParams_default_page_limit protoreflect.FieldDescriptor + fd_OptionalParams_max_page_limit protoreflect.FieldDescriptor + fd_OptionalParams_min_epoch_length_record_limit protoreflect.FieldDescriptor + fd_OptionalParams_blocks_per_month protoreflect.FieldDescriptor + fd_OptionalParams_p_reward_inference protoreflect.FieldDescriptor + fd_OptionalParams_p_reward_forecast protoreflect.FieldDescriptor + fd_OptionalParams_p_reward_reputer protoreflect.FieldDescriptor + fd_OptionalParams_c_reward_inference protoreflect.FieldDescriptor + fd_OptionalParams_c_reward_forecast protoreflect.FieldDescriptor + fd_OptionalParams_c_norm protoreflect.FieldDescriptor + fd_OptionalParams_epsilon_reputer protoreflect.FieldDescriptor + fd_OptionalParams_half_max_process_stake_removals_end_block protoreflect.FieldDescriptor + fd_OptionalParams_data_sending_fee protoreflect.FieldDescriptor + fd_OptionalParams_epsilon_safe_div protoreflect.FieldDescriptor + fd_OptionalParams_max_elements_per_forecast protoreflect.FieldDescriptor + fd_OptionalParams_max_active_topics_per_block protoreflect.FieldDescriptor + fd_OptionalParams_max_string_length protoreflect.FieldDescriptor + fd_OptionalParams_initial_regret_quantile protoreflect.FieldDescriptor + fd_OptionalParams_p_norm_safe_div protoreflect.FieldDescriptor + fd_OptionalParams_global_whitelist_enabled protoreflect.FieldDescriptor + fd_OptionalParams_topic_creator_whitelist_enabled protoreflect.FieldDescriptor + fd_OptionalParams_min_experienced_worker_regrets protoreflect.FieldDescriptor + fd_OptionalParams_inference_outlier_detection_threshold protoreflect.FieldDescriptor + fd_OptionalParams_inference_outlier_detection_alpha protoreflect.FieldDescriptor + fd_OptionalParams_lambda_initial_score protoreflect.FieldDescriptor + fd_OptionalParams_global_worker_whitelist_enabled protoreflect.FieldDescriptor + fd_OptionalParams_global_reputer_whitelist_enabled protoreflect.FieldDescriptor + fd_OptionalParams_global_admin_whitelist_appended protoreflect.FieldDescriptor + fd_OptionalParams_max_whitelist_input_array_length protoreflect.FieldDescriptor + fd_OptionalParams_min_weight_threshold_for_stdnorm protoreflect.FieldDescriptor +) + +func init() { + file_emissions_v8_tx_proto_init() + md_OptionalParams = File_emissions_v8_tx_proto.Messages().ByName("OptionalParams") + fd_OptionalParams_version = md_OptionalParams.Fields().ByName("version") + fd_OptionalParams_max_serialized_msg_length = md_OptionalParams.Fields().ByName("max_serialized_msg_length") + fd_OptionalParams_min_topic_weight = md_OptionalParams.Fields().ByName("min_topic_weight") + fd_OptionalParams_required_minimum_stake = md_OptionalParams.Fields().ByName("required_minimum_stake") + fd_OptionalParams_remove_stake_delay_window = md_OptionalParams.Fields().ByName("remove_stake_delay_window") + fd_OptionalParams_min_epoch_length = md_OptionalParams.Fields().ByName("min_epoch_length") + fd_OptionalParams_beta_entropy = md_OptionalParams.Fields().ByName("beta_entropy") + fd_OptionalParams_learning_rate = md_OptionalParams.Fields().ByName("learning_rate") + fd_OptionalParams_max_gradient_threshold = md_OptionalParams.Fields().ByName("max_gradient_threshold") + fd_OptionalParams_min_stake_fraction = md_OptionalParams.Fields().ByName("min_stake_fraction") + fd_OptionalParams_max_unfulfilled_worker_requests = md_OptionalParams.Fields().ByName("max_unfulfilled_worker_requests") + fd_OptionalParams_max_unfulfilled_reputer_requests = md_OptionalParams.Fields().ByName("max_unfulfilled_reputer_requests") + fd_OptionalParams_topic_reward_stake_importance = md_OptionalParams.Fields().ByName("topic_reward_stake_importance") + fd_OptionalParams_topic_reward_fee_revenue_importance = md_OptionalParams.Fields().ByName("topic_reward_fee_revenue_importance") + fd_OptionalParams_topic_reward_alpha = md_OptionalParams.Fields().ByName("topic_reward_alpha") + fd_OptionalParams_task_reward_alpha = md_OptionalParams.Fields().ByName("task_reward_alpha") + fd_OptionalParams_validators_vs_allora_percent_reward = md_OptionalParams.Fields().ByName("validators_vs_allora_percent_reward") + fd_OptionalParams_max_samples_to_scale_scores = md_OptionalParams.Fields().ByName("max_samples_to_scale_scores") + fd_OptionalParams_max_top_inferers_to_reward = md_OptionalParams.Fields().ByName("max_top_inferers_to_reward") + fd_OptionalParams_max_top_forecasters_to_reward = md_OptionalParams.Fields().ByName("max_top_forecasters_to_reward") + fd_OptionalParams_max_top_reputers_to_reward = md_OptionalParams.Fields().ByName("max_top_reputers_to_reward") + fd_OptionalParams_create_topic_fee = md_OptionalParams.Fields().ByName("create_topic_fee") + fd_OptionalParams_gradient_descent_max_iters = md_OptionalParams.Fields().ByName("gradient_descent_max_iters") + fd_OptionalParams_registration_fee = md_OptionalParams.Fields().ByName("registration_fee") + fd_OptionalParams_default_page_limit = md_OptionalParams.Fields().ByName("default_page_limit") + fd_OptionalParams_max_page_limit = md_OptionalParams.Fields().ByName("max_page_limit") + fd_OptionalParams_min_epoch_length_record_limit = md_OptionalParams.Fields().ByName("min_epoch_length_record_limit") + fd_OptionalParams_blocks_per_month = md_OptionalParams.Fields().ByName("blocks_per_month") + fd_OptionalParams_p_reward_inference = md_OptionalParams.Fields().ByName("p_reward_inference") + fd_OptionalParams_p_reward_forecast = md_OptionalParams.Fields().ByName("p_reward_forecast") + fd_OptionalParams_p_reward_reputer = md_OptionalParams.Fields().ByName("p_reward_reputer") + fd_OptionalParams_c_reward_inference = md_OptionalParams.Fields().ByName("c_reward_inference") + fd_OptionalParams_c_reward_forecast = md_OptionalParams.Fields().ByName("c_reward_forecast") + fd_OptionalParams_c_norm = md_OptionalParams.Fields().ByName("c_norm") + fd_OptionalParams_epsilon_reputer = md_OptionalParams.Fields().ByName("epsilon_reputer") + fd_OptionalParams_half_max_process_stake_removals_end_block = md_OptionalParams.Fields().ByName("half_max_process_stake_removals_end_block") + fd_OptionalParams_data_sending_fee = md_OptionalParams.Fields().ByName("data_sending_fee") + fd_OptionalParams_epsilon_safe_div = md_OptionalParams.Fields().ByName("epsilon_safe_div") + fd_OptionalParams_max_elements_per_forecast = md_OptionalParams.Fields().ByName("max_elements_per_forecast") + fd_OptionalParams_max_active_topics_per_block = md_OptionalParams.Fields().ByName("max_active_topics_per_block") + fd_OptionalParams_max_string_length = md_OptionalParams.Fields().ByName("max_string_length") + fd_OptionalParams_initial_regret_quantile = md_OptionalParams.Fields().ByName("initial_regret_quantile") + fd_OptionalParams_p_norm_safe_div = md_OptionalParams.Fields().ByName("p_norm_safe_div") + fd_OptionalParams_global_whitelist_enabled = md_OptionalParams.Fields().ByName("global_whitelist_enabled") + fd_OptionalParams_topic_creator_whitelist_enabled = md_OptionalParams.Fields().ByName("topic_creator_whitelist_enabled") + fd_OptionalParams_min_experienced_worker_regrets = md_OptionalParams.Fields().ByName("min_experienced_worker_regrets") + fd_OptionalParams_inference_outlier_detection_threshold = md_OptionalParams.Fields().ByName("inference_outlier_detection_threshold") + fd_OptionalParams_inference_outlier_detection_alpha = md_OptionalParams.Fields().ByName("inference_outlier_detection_alpha") + fd_OptionalParams_lambda_initial_score = md_OptionalParams.Fields().ByName("lambda_initial_score") + fd_OptionalParams_global_worker_whitelist_enabled = md_OptionalParams.Fields().ByName("global_worker_whitelist_enabled") + fd_OptionalParams_global_reputer_whitelist_enabled = md_OptionalParams.Fields().ByName("global_reputer_whitelist_enabled") + fd_OptionalParams_global_admin_whitelist_appended = md_OptionalParams.Fields().ByName("global_admin_whitelist_appended") + fd_OptionalParams_max_whitelist_input_array_length = md_OptionalParams.Fields().ByName("max_whitelist_input_array_length") + fd_OptionalParams_min_weight_threshold_for_stdnorm = md_OptionalParams.Fields().ByName("min_weight_threshold_for_stdnorm") +} + +var _ protoreflect.Message = (*fastReflection_OptionalParams)(nil) + +type fastReflection_OptionalParams OptionalParams + +func (x *OptionalParams) ProtoReflect() protoreflect.Message { + return (*fastReflection_OptionalParams)(x) +} + +func (x *OptionalParams) slowProtoReflect() protoreflect.Message { + mi := &file_emissions_v8_tx_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) +} + +var _fastReflection_OptionalParams_messageType fastReflection_OptionalParams_messageType +var _ protoreflect.MessageType = fastReflection_OptionalParams_messageType{} + +type fastReflection_OptionalParams_messageType struct{} + +func (x fastReflection_OptionalParams_messageType) Zero() protoreflect.Message { + return (*fastReflection_OptionalParams)(nil) +} +func (x fastReflection_OptionalParams_messageType) New() protoreflect.Message { + return new(fastReflection_OptionalParams) +} +func (x fastReflection_OptionalParams_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_OptionalParams +} + +// Descriptor returns message descriptor, which contains only the protobuf +// type information for the message. +func (x *fastReflection_OptionalParams) Descriptor() protoreflect.MessageDescriptor { + return md_OptionalParams +} + +// Type returns the message type, which encapsulates both Go and protobuf +// type information. If the Go type information is not needed, +// it is recommended that the message descriptor be used instead. +func (x *fastReflection_OptionalParams) Type() protoreflect.MessageType { + return _fastReflection_OptionalParams_messageType +} + +// New returns a newly allocated and mutable empty message. +func (x *fastReflection_OptionalParams) New() protoreflect.Message { + return new(fastReflection_OptionalParams) +} + +// Interface unwraps the message reflection interface and +// returns the underlying ProtoMessage interface. +func (x *fastReflection_OptionalParams) Interface() protoreflect.ProtoMessage { + return (*OptionalParams)(x) +} + +// Range iterates over every populated field in an undefined order, +// calling f for each field descriptor and value encountered. +// Range returns immediately if f returns false. +// While iterating, mutating operations may only be performed +// on the current field descriptor. +func (x *fastReflection_OptionalParams) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { + if len(x.Version) != 0 { + value := protoreflect.ValueOfList(&_OptionalParams_1_list{list: &x.Version}) + if !f(fd_OptionalParams_version, value) { + return + } + } + if len(x.MaxSerializedMsgLength) != 0 { + value := protoreflect.ValueOfList(&_OptionalParams_2_list{list: &x.MaxSerializedMsgLength}) + if !f(fd_OptionalParams_max_serialized_msg_length, value) { + return + } + } + if len(x.MinTopicWeight) != 0 { + value := protoreflect.ValueOfList(&_OptionalParams_3_list{list: &x.MinTopicWeight}) + if !f(fd_OptionalParams_min_topic_weight, value) { + return + } + } + if len(x.RequiredMinimumStake) != 0 { + value := protoreflect.ValueOfList(&_OptionalParams_5_list{list: &x.RequiredMinimumStake}) + if !f(fd_OptionalParams_required_minimum_stake, value) { + return + } + } + if len(x.RemoveStakeDelayWindow) != 0 { + value := protoreflect.ValueOfList(&_OptionalParams_6_list{list: &x.RemoveStakeDelayWindow}) + if !f(fd_OptionalParams_remove_stake_delay_window, value) { + return + } + } + if len(x.MinEpochLength) != 0 { + value := protoreflect.ValueOfList(&_OptionalParams_7_list{list: &x.MinEpochLength}) + if !f(fd_OptionalParams_min_epoch_length, value) { + return + } + } + if len(x.BetaEntropy) != 0 { + value := protoreflect.ValueOfList(&_OptionalParams_8_list{list: &x.BetaEntropy}) + if !f(fd_OptionalParams_beta_entropy, value) { + return + } + } + if len(x.LearningRate) != 0 { + value := protoreflect.ValueOfList(&_OptionalParams_9_list{list: &x.LearningRate}) + if !f(fd_OptionalParams_learning_rate, value) { + return + } + } + if len(x.MaxGradientThreshold) != 0 { + value := protoreflect.ValueOfList(&_OptionalParams_10_list{list: &x.MaxGradientThreshold}) + if !f(fd_OptionalParams_max_gradient_threshold, value) { + return + } + } + if len(x.MinStakeFraction) != 0 { + value := protoreflect.ValueOfList(&_OptionalParams_11_list{list: &x.MinStakeFraction}) + if !f(fd_OptionalParams_min_stake_fraction, value) { + return + } + } + if len(x.MaxUnfulfilledWorkerRequests) != 0 { + value := protoreflect.ValueOfList(&_OptionalParams_13_list{list: &x.MaxUnfulfilledWorkerRequests}) + if !f(fd_OptionalParams_max_unfulfilled_worker_requests, value) { + return + } + } + if len(x.MaxUnfulfilledReputerRequests) != 0 { + value := protoreflect.ValueOfList(&_OptionalParams_14_list{list: &x.MaxUnfulfilledReputerRequests}) + if !f(fd_OptionalParams_max_unfulfilled_reputer_requests, value) { + return + } + } + if len(x.TopicRewardStakeImportance) != 0 { + value := protoreflect.ValueOfList(&_OptionalParams_15_list{list: &x.TopicRewardStakeImportance}) + if !f(fd_OptionalParams_topic_reward_stake_importance, value) { + return + } + } + if len(x.TopicRewardFeeRevenueImportance) != 0 { + value := protoreflect.ValueOfList(&_OptionalParams_16_list{list: &x.TopicRewardFeeRevenueImportance}) + if !f(fd_OptionalParams_topic_reward_fee_revenue_importance, value) { + return + } + } + if len(x.TopicRewardAlpha) != 0 { + value := protoreflect.ValueOfList(&_OptionalParams_17_list{list: &x.TopicRewardAlpha}) + if !f(fd_OptionalParams_topic_reward_alpha, value) { + return + } + } + if len(x.TaskRewardAlpha) != 0 { + value := protoreflect.ValueOfList(&_OptionalParams_18_list{list: &x.TaskRewardAlpha}) + if !f(fd_OptionalParams_task_reward_alpha, value) { + return + } + } + if len(x.ValidatorsVsAlloraPercentReward) != 0 { + value := protoreflect.ValueOfList(&_OptionalParams_19_list{list: &x.ValidatorsVsAlloraPercentReward}) + if !f(fd_OptionalParams_validators_vs_allora_percent_reward, value) { + return + } + } + if len(x.MaxSamplesToScaleScores) != 0 { + value := protoreflect.ValueOfList(&_OptionalParams_20_list{list: &x.MaxSamplesToScaleScores}) + if !f(fd_OptionalParams_max_samples_to_scale_scores, value) { + return + } + } + if len(x.MaxTopInferersToReward) != 0 { + value := protoreflect.ValueOfList(&_OptionalParams_21_list{list: &x.MaxTopInferersToReward}) + if !f(fd_OptionalParams_max_top_inferers_to_reward, value) { + return + } + } + if len(x.MaxTopForecastersToReward) != 0 { + value := protoreflect.ValueOfList(&_OptionalParams_22_list{list: &x.MaxTopForecastersToReward}) + if !f(fd_OptionalParams_max_top_forecasters_to_reward, value) { + return + } + } + if len(x.MaxTopReputersToReward) != 0 { + value := protoreflect.ValueOfList(&_OptionalParams_23_list{list: &x.MaxTopReputersToReward}) + if !f(fd_OptionalParams_max_top_reputers_to_reward, value) { + return + } + } + if len(x.CreateTopicFee) != 0 { + value := protoreflect.ValueOfList(&_OptionalParams_24_list{list: &x.CreateTopicFee}) + if !f(fd_OptionalParams_create_topic_fee, value) { + return + } + } + if len(x.GradientDescentMaxIters) != 0 { + value := protoreflect.ValueOfList(&_OptionalParams_25_list{list: &x.GradientDescentMaxIters}) + if !f(fd_OptionalParams_gradient_descent_max_iters, value) { + return + } + } + if len(x.RegistrationFee) != 0 { + value := protoreflect.ValueOfList(&_OptionalParams_28_list{list: &x.RegistrationFee}) + if !f(fd_OptionalParams_registration_fee, value) { + return + } + } + if len(x.DefaultPageLimit) != 0 { + value := protoreflect.ValueOfList(&_OptionalParams_29_list{list: &x.DefaultPageLimit}) + if !f(fd_OptionalParams_default_page_limit, value) { + return + } + } + if len(x.MaxPageLimit) != 0 { + value := protoreflect.ValueOfList(&_OptionalParams_30_list{list: &x.MaxPageLimit}) + if !f(fd_OptionalParams_max_page_limit, value) { + return + } + } + if len(x.MinEpochLengthRecordLimit) != 0 { + value := protoreflect.ValueOfList(&_OptionalParams_31_list{list: &x.MinEpochLengthRecordLimit}) + if !f(fd_OptionalParams_min_epoch_length_record_limit, value) { + return + } + } + if len(x.BlocksPerMonth) != 0 { + value := protoreflect.ValueOfList(&_OptionalParams_32_list{list: &x.BlocksPerMonth}) + if !f(fd_OptionalParams_blocks_per_month, value) { + return + } + } + if len(x.PRewardInference) != 0 { + value := protoreflect.ValueOfList(&_OptionalParams_33_list{list: &x.PRewardInference}) + if !f(fd_OptionalParams_p_reward_inference, value) { + return + } + } + if len(x.PRewardForecast) != 0 { + value := protoreflect.ValueOfList(&_OptionalParams_34_list{list: &x.PRewardForecast}) + if !f(fd_OptionalParams_p_reward_forecast, value) { + return + } + } + if len(x.PRewardReputer) != 0 { + value := protoreflect.ValueOfList(&_OptionalParams_35_list{list: &x.PRewardReputer}) + if !f(fd_OptionalParams_p_reward_reputer, value) { + return + } + } + if len(x.CRewardInference) != 0 { + value := protoreflect.ValueOfList(&_OptionalParams_36_list{list: &x.CRewardInference}) + if !f(fd_OptionalParams_c_reward_inference, value) { + return + } + } + if len(x.CRewardForecast) != 0 { + value := protoreflect.ValueOfList(&_OptionalParams_37_list{list: &x.CRewardForecast}) + if !f(fd_OptionalParams_c_reward_forecast, value) { + return + } + } + if len(x.CNorm) != 0 { + value := protoreflect.ValueOfList(&_OptionalParams_38_list{list: &x.CNorm}) + if !f(fd_OptionalParams_c_norm, value) { + return + } + } + if len(x.EpsilonReputer) != 0 { + value := protoreflect.ValueOfList(&_OptionalParams_40_list{list: &x.EpsilonReputer}) + if !f(fd_OptionalParams_epsilon_reputer, value) { + return + } + } + if len(x.HalfMaxProcessStakeRemovalsEndBlock) != 0 { + value := protoreflect.ValueOfList(&_OptionalParams_42_list{list: &x.HalfMaxProcessStakeRemovalsEndBlock}) + if !f(fd_OptionalParams_half_max_process_stake_removals_end_block, value) { + return + } + } + if len(x.DataSendingFee) != 0 { + value := protoreflect.ValueOfList(&_OptionalParams_43_list{list: &x.DataSendingFee}) + if !f(fd_OptionalParams_data_sending_fee, value) { + return + } + } + if len(x.EpsilonSafeDiv) != 0 { + value := protoreflect.ValueOfList(&_OptionalParams_44_list{list: &x.EpsilonSafeDiv}) + if !f(fd_OptionalParams_epsilon_safe_div, value) { + return + } + } + if len(x.MaxElementsPerForecast) != 0 { + value := protoreflect.ValueOfList(&_OptionalParams_45_list{list: &x.MaxElementsPerForecast}) + if !f(fd_OptionalParams_max_elements_per_forecast, value) { + return + } + } + if len(x.MaxActiveTopicsPerBlock) != 0 { + value := protoreflect.ValueOfList(&_OptionalParams_46_list{list: &x.MaxActiveTopicsPerBlock}) + if !f(fd_OptionalParams_max_active_topics_per_block, value) { + return + } + } + if len(x.MaxStringLength) != 0 { + value := protoreflect.ValueOfList(&_OptionalParams_47_list{list: &x.MaxStringLength}) + if !f(fd_OptionalParams_max_string_length, value) { + return + } + } + if len(x.InitialRegretQuantile) != 0 { + value := protoreflect.ValueOfList(&_OptionalParams_48_list{list: &x.InitialRegretQuantile}) + if !f(fd_OptionalParams_initial_regret_quantile, value) { + return + } + } + if len(x.PNormSafeDiv) != 0 { + value := protoreflect.ValueOfList(&_OptionalParams_49_list{list: &x.PNormSafeDiv}) + if !f(fd_OptionalParams_p_norm_safe_div, value) { + return + } + } + if len(x.GlobalWhitelistEnabled) != 0 { + value := protoreflect.ValueOfList(&_OptionalParams_50_list{list: &x.GlobalWhitelistEnabled}) + if !f(fd_OptionalParams_global_whitelist_enabled, value) { + return + } + } + if len(x.TopicCreatorWhitelistEnabled) != 0 { + value := protoreflect.ValueOfList(&_OptionalParams_51_list{list: &x.TopicCreatorWhitelistEnabled}) + if !f(fd_OptionalParams_topic_creator_whitelist_enabled, value) { + return + } + } + if len(x.MinExperiencedWorkerRegrets) != 0 { + value := protoreflect.ValueOfList(&_OptionalParams_52_list{list: &x.MinExperiencedWorkerRegrets}) + if !f(fd_OptionalParams_min_experienced_worker_regrets, value) { + return + } + } + if len(x.InferenceOutlierDetectionThreshold) != 0 { + value := protoreflect.ValueOfList(&_OptionalParams_53_list{list: &x.InferenceOutlierDetectionThreshold}) + if !f(fd_OptionalParams_inference_outlier_detection_threshold, value) { + return + } + } + if len(x.InferenceOutlierDetectionAlpha) != 0 { + value := protoreflect.ValueOfList(&_OptionalParams_54_list{list: &x.InferenceOutlierDetectionAlpha}) + if !f(fd_OptionalParams_inference_outlier_detection_alpha, value) { + return + } + } + if len(x.LambdaInitialScore) != 0 { + value := protoreflect.ValueOfList(&_OptionalParams_55_list{list: &x.LambdaInitialScore}) + if !f(fd_OptionalParams_lambda_initial_score, value) { + return + } + } + if len(x.GlobalWorkerWhitelistEnabled) != 0 { + value := protoreflect.ValueOfList(&_OptionalParams_56_list{list: &x.GlobalWorkerWhitelistEnabled}) + if !f(fd_OptionalParams_global_worker_whitelist_enabled, value) { + return + } + } + if len(x.GlobalReputerWhitelistEnabled) != 0 { + value := protoreflect.ValueOfList(&_OptionalParams_57_list{list: &x.GlobalReputerWhitelistEnabled}) + if !f(fd_OptionalParams_global_reputer_whitelist_enabled, value) { + return + } + } + if len(x.GlobalAdminWhitelistAppended) != 0 { + value := protoreflect.ValueOfList(&_OptionalParams_58_list{list: &x.GlobalAdminWhitelistAppended}) + if !f(fd_OptionalParams_global_admin_whitelist_appended, value) { + return + } + } + if len(x.MaxWhitelistInputArrayLength) != 0 { + value := protoreflect.ValueOfList(&_OptionalParams_59_list{list: &x.MaxWhitelistInputArrayLength}) + if !f(fd_OptionalParams_max_whitelist_input_array_length, value) { + return + } + } + if len(x.MinWeightThresholdForStdnorm) != 0 { + value := protoreflect.ValueOfList(&_OptionalParams_60_list{list: &x.MinWeightThresholdForStdnorm}) + if !f(fd_OptionalParams_min_weight_threshold_for_stdnorm, value) { + return + } + } +} + +// Has reports whether a field is populated. +// +// Some fields have the property of nullability where it is possible to +// distinguish between the default value of a field and whether the field +// was explicitly populated with the default value. Singular message fields, +// member fields of a oneof, and proto2 scalar fields are nullable. Such +// fields are populated only if explicitly set. +// +// In other cases (aside from the nullable cases above), +// a proto3 scalar field is populated if it contains a non-zero value, and +// a repeated field is populated if it is non-empty. +func (x *fastReflection_OptionalParams) Has(fd protoreflect.FieldDescriptor) bool { + switch fd.FullName() { + case "emissions.v8.OptionalParams.version": + return len(x.Version) != 0 + case "emissions.v8.OptionalParams.max_serialized_msg_length": + return len(x.MaxSerializedMsgLength) != 0 + case "emissions.v8.OptionalParams.min_topic_weight": + return len(x.MinTopicWeight) != 0 + case "emissions.v8.OptionalParams.required_minimum_stake": + return len(x.RequiredMinimumStake) != 0 + case "emissions.v8.OptionalParams.remove_stake_delay_window": + return len(x.RemoveStakeDelayWindow) != 0 + case "emissions.v8.OptionalParams.min_epoch_length": + return len(x.MinEpochLength) != 0 + case "emissions.v8.OptionalParams.beta_entropy": + return len(x.BetaEntropy) != 0 + case "emissions.v8.OptionalParams.learning_rate": + return len(x.LearningRate) != 0 + case "emissions.v8.OptionalParams.max_gradient_threshold": + return len(x.MaxGradientThreshold) != 0 + case "emissions.v8.OptionalParams.min_stake_fraction": + return len(x.MinStakeFraction) != 0 + case "emissions.v8.OptionalParams.max_unfulfilled_worker_requests": + return len(x.MaxUnfulfilledWorkerRequests) != 0 + case "emissions.v8.OptionalParams.max_unfulfilled_reputer_requests": + return len(x.MaxUnfulfilledReputerRequests) != 0 + case "emissions.v8.OptionalParams.topic_reward_stake_importance": + return len(x.TopicRewardStakeImportance) != 0 + case "emissions.v8.OptionalParams.topic_reward_fee_revenue_importance": + return len(x.TopicRewardFeeRevenueImportance) != 0 + case "emissions.v8.OptionalParams.topic_reward_alpha": + return len(x.TopicRewardAlpha) != 0 + case "emissions.v8.OptionalParams.task_reward_alpha": + return len(x.TaskRewardAlpha) != 0 + case "emissions.v8.OptionalParams.validators_vs_allora_percent_reward": + return len(x.ValidatorsVsAlloraPercentReward) != 0 + case "emissions.v8.OptionalParams.max_samples_to_scale_scores": + return len(x.MaxSamplesToScaleScores) != 0 + case "emissions.v8.OptionalParams.max_top_inferers_to_reward": + return len(x.MaxTopInferersToReward) != 0 + case "emissions.v8.OptionalParams.max_top_forecasters_to_reward": + return len(x.MaxTopForecastersToReward) != 0 + case "emissions.v8.OptionalParams.max_top_reputers_to_reward": + return len(x.MaxTopReputersToReward) != 0 + case "emissions.v8.OptionalParams.create_topic_fee": + return len(x.CreateTopicFee) != 0 + case "emissions.v8.OptionalParams.gradient_descent_max_iters": + return len(x.GradientDescentMaxIters) != 0 + case "emissions.v8.OptionalParams.registration_fee": + return len(x.RegistrationFee) != 0 + case "emissions.v8.OptionalParams.default_page_limit": + return len(x.DefaultPageLimit) != 0 + case "emissions.v8.OptionalParams.max_page_limit": + return len(x.MaxPageLimit) != 0 + case "emissions.v8.OptionalParams.min_epoch_length_record_limit": + return len(x.MinEpochLengthRecordLimit) != 0 + case "emissions.v8.OptionalParams.blocks_per_month": + return len(x.BlocksPerMonth) != 0 + case "emissions.v8.OptionalParams.p_reward_inference": + return len(x.PRewardInference) != 0 + case "emissions.v8.OptionalParams.p_reward_forecast": + return len(x.PRewardForecast) != 0 + case "emissions.v8.OptionalParams.p_reward_reputer": + return len(x.PRewardReputer) != 0 + case "emissions.v8.OptionalParams.c_reward_inference": + return len(x.CRewardInference) != 0 + case "emissions.v8.OptionalParams.c_reward_forecast": + return len(x.CRewardForecast) != 0 + case "emissions.v8.OptionalParams.c_norm": + return len(x.CNorm) != 0 + case "emissions.v8.OptionalParams.epsilon_reputer": + return len(x.EpsilonReputer) != 0 + case "emissions.v8.OptionalParams.half_max_process_stake_removals_end_block": + return len(x.HalfMaxProcessStakeRemovalsEndBlock) != 0 + case "emissions.v8.OptionalParams.data_sending_fee": + return len(x.DataSendingFee) != 0 + case "emissions.v8.OptionalParams.epsilon_safe_div": + return len(x.EpsilonSafeDiv) != 0 + case "emissions.v8.OptionalParams.max_elements_per_forecast": + return len(x.MaxElementsPerForecast) != 0 + case "emissions.v8.OptionalParams.max_active_topics_per_block": + return len(x.MaxActiveTopicsPerBlock) != 0 + case "emissions.v8.OptionalParams.max_string_length": + return len(x.MaxStringLength) != 0 + case "emissions.v8.OptionalParams.initial_regret_quantile": + return len(x.InitialRegretQuantile) != 0 + case "emissions.v8.OptionalParams.p_norm_safe_div": + return len(x.PNormSafeDiv) != 0 + case "emissions.v8.OptionalParams.global_whitelist_enabled": + return len(x.GlobalWhitelistEnabled) != 0 + case "emissions.v8.OptionalParams.topic_creator_whitelist_enabled": + return len(x.TopicCreatorWhitelistEnabled) != 0 + case "emissions.v8.OptionalParams.min_experienced_worker_regrets": + return len(x.MinExperiencedWorkerRegrets) != 0 + case "emissions.v8.OptionalParams.inference_outlier_detection_threshold": + return len(x.InferenceOutlierDetectionThreshold) != 0 + case "emissions.v8.OptionalParams.inference_outlier_detection_alpha": + return len(x.InferenceOutlierDetectionAlpha) != 0 + case "emissions.v8.OptionalParams.lambda_initial_score": + return len(x.LambdaInitialScore) != 0 + case "emissions.v8.OptionalParams.global_worker_whitelist_enabled": + return len(x.GlobalWorkerWhitelistEnabled) != 0 + case "emissions.v8.OptionalParams.global_reputer_whitelist_enabled": + return len(x.GlobalReputerWhitelistEnabled) != 0 + case "emissions.v8.OptionalParams.global_admin_whitelist_appended": + return len(x.GlobalAdminWhitelistAppended) != 0 + case "emissions.v8.OptionalParams.max_whitelist_input_array_length": + return len(x.MaxWhitelistInputArrayLength) != 0 + case "emissions.v8.OptionalParams.min_weight_threshold_for_stdnorm": + return len(x.MinWeightThresholdForStdnorm) != 0 + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.OptionalParams")) + } + panic(fmt.Errorf("message emissions.v8.OptionalParams does not contain field %s", fd.FullName())) + } +} + +// Clear clears the field such that a subsequent Has call reports false. +// +// Clearing an extension field clears both the extension type and value +// associated with the given field number. +// +// Clear is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_OptionalParams) Clear(fd protoreflect.FieldDescriptor) { + switch fd.FullName() { + case "emissions.v8.OptionalParams.version": + x.Version = nil + case "emissions.v8.OptionalParams.max_serialized_msg_length": + x.MaxSerializedMsgLength = nil + case "emissions.v8.OptionalParams.min_topic_weight": + x.MinTopicWeight = nil + case "emissions.v8.OptionalParams.required_minimum_stake": + x.RequiredMinimumStake = nil + case "emissions.v8.OptionalParams.remove_stake_delay_window": + x.RemoveStakeDelayWindow = nil + case "emissions.v8.OptionalParams.min_epoch_length": + x.MinEpochLength = nil + case "emissions.v8.OptionalParams.beta_entropy": + x.BetaEntropy = nil + case "emissions.v8.OptionalParams.learning_rate": + x.LearningRate = nil + case "emissions.v8.OptionalParams.max_gradient_threshold": + x.MaxGradientThreshold = nil + case "emissions.v8.OptionalParams.min_stake_fraction": + x.MinStakeFraction = nil + case "emissions.v8.OptionalParams.max_unfulfilled_worker_requests": + x.MaxUnfulfilledWorkerRequests = nil + case "emissions.v8.OptionalParams.max_unfulfilled_reputer_requests": + x.MaxUnfulfilledReputerRequests = nil + case "emissions.v8.OptionalParams.topic_reward_stake_importance": + x.TopicRewardStakeImportance = nil + case "emissions.v8.OptionalParams.topic_reward_fee_revenue_importance": + x.TopicRewardFeeRevenueImportance = nil + case "emissions.v8.OptionalParams.topic_reward_alpha": + x.TopicRewardAlpha = nil + case "emissions.v8.OptionalParams.task_reward_alpha": + x.TaskRewardAlpha = nil + case "emissions.v8.OptionalParams.validators_vs_allora_percent_reward": + x.ValidatorsVsAlloraPercentReward = nil + case "emissions.v8.OptionalParams.max_samples_to_scale_scores": + x.MaxSamplesToScaleScores = nil + case "emissions.v8.OptionalParams.max_top_inferers_to_reward": + x.MaxTopInferersToReward = nil + case "emissions.v8.OptionalParams.max_top_forecasters_to_reward": + x.MaxTopForecastersToReward = nil + case "emissions.v8.OptionalParams.max_top_reputers_to_reward": + x.MaxTopReputersToReward = nil + case "emissions.v8.OptionalParams.create_topic_fee": + x.CreateTopicFee = nil + case "emissions.v8.OptionalParams.gradient_descent_max_iters": + x.GradientDescentMaxIters = nil + case "emissions.v8.OptionalParams.registration_fee": + x.RegistrationFee = nil + case "emissions.v8.OptionalParams.default_page_limit": + x.DefaultPageLimit = nil + case "emissions.v8.OptionalParams.max_page_limit": + x.MaxPageLimit = nil + case "emissions.v8.OptionalParams.min_epoch_length_record_limit": + x.MinEpochLengthRecordLimit = nil + case "emissions.v8.OptionalParams.blocks_per_month": + x.BlocksPerMonth = nil + case "emissions.v8.OptionalParams.p_reward_inference": + x.PRewardInference = nil + case "emissions.v8.OptionalParams.p_reward_forecast": + x.PRewardForecast = nil + case "emissions.v8.OptionalParams.p_reward_reputer": + x.PRewardReputer = nil + case "emissions.v8.OptionalParams.c_reward_inference": + x.CRewardInference = nil + case "emissions.v8.OptionalParams.c_reward_forecast": + x.CRewardForecast = nil + case "emissions.v8.OptionalParams.c_norm": + x.CNorm = nil + case "emissions.v8.OptionalParams.epsilon_reputer": + x.EpsilonReputer = nil + case "emissions.v8.OptionalParams.half_max_process_stake_removals_end_block": + x.HalfMaxProcessStakeRemovalsEndBlock = nil + case "emissions.v8.OptionalParams.data_sending_fee": + x.DataSendingFee = nil + case "emissions.v8.OptionalParams.epsilon_safe_div": + x.EpsilonSafeDiv = nil + case "emissions.v8.OptionalParams.max_elements_per_forecast": + x.MaxElementsPerForecast = nil + case "emissions.v8.OptionalParams.max_active_topics_per_block": + x.MaxActiveTopicsPerBlock = nil + case "emissions.v8.OptionalParams.max_string_length": + x.MaxStringLength = nil + case "emissions.v8.OptionalParams.initial_regret_quantile": + x.InitialRegretQuantile = nil + case "emissions.v8.OptionalParams.p_norm_safe_div": + x.PNormSafeDiv = nil + case "emissions.v8.OptionalParams.global_whitelist_enabled": + x.GlobalWhitelistEnabled = nil + case "emissions.v8.OptionalParams.topic_creator_whitelist_enabled": + x.TopicCreatorWhitelistEnabled = nil + case "emissions.v8.OptionalParams.min_experienced_worker_regrets": + x.MinExperiencedWorkerRegrets = nil + case "emissions.v8.OptionalParams.inference_outlier_detection_threshold": + x.InferenceOutlierDetectionThreshold = nil + case "emissions.v8.OptionalParams.inference_outlier_detection_alpha": + x.InferenceOutlierDetectionAlpha = nil + case "emissions.v8.OptionalParams.lambda_initial_score": + x.LambdaInitialScore = nil + case "emissions.v8.OptionalParams.global_worker_whitelist_enabled": + x.GlobalWorkerWhitelistEnabled = nil + case "emissions.v8.OptionalParams.global_reputer_whitelist_enabled": + x.GlobalReputerWhitelistEnabled = nil + case "emissions.v8.OptionalParams.global_admin_whitelist_appended": + x.GlobalAdminWhitelistAppended = nil + case "emissions.v8.OptionalParams.max_whitelist_input_array_length": + x.MaxWhitelistInputArrayLength = nil + case "emissions.v8.OptionalParams.min_weight_threshold_for_stdnorm": + x.MinWeightThresholdForStdnorm = nil + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.OptionalParams")) + } + panic(fmt.Errorf("message emissions.v8.OptionalParams does not contain field %s", fd.FullName())) + } +} + +// Get retrieves the value for a field. +// +// For unpopulated scalars, it returns the default value, where +// the default value of a bytes scalar is guaranteed to be a copy. +// For unpopulated composite types, it returns an empty, read-only view +// of the value; to obtain a mutable reference, use Mutable. +func (x *fastReflection_OptionalParams) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { + switch descriptor.FullName() { + case "emissions.v8.OptionalParams.version": + if len(x.Version) == 0 { + return protoreflect.ValueOfList(&_OptionalParams_1_list{}) + } + listValue := &_OptionalParams_1_list{list: &x.Version} + return protoreflect.ValueOfList(listValue) + case "emissions.v8.OptionalParams.max_serialized_msg_length": + if len(x.MaxSerializedMsgLength) == 0 { + return protoreflect.ValueOfList(&_OptionalParams_2_list{}) + } + listValue := &_OptionalParams_2_list{list: &x.MaxSerializedMsgLength} + return protoreflect.ValueOfList(listValue) + case "emissions.v8.OptionalParams.min_topic_weight": + if len(x.MinTopicWeight) == 0 { + return protoreflect.ValueOfList(&_OptionalParams_3_list{}) + } + listValue := &_OptionalParams_3_list{list: &x.MinTopicWeight} + return protoreflect.ValueOfList(listValue) + case "emissions.v8.OptionalParams.required_minimum_stake": + if len(x.RequiredMinimumStake) == 0 { + return protoreflect.ValueOfList(&_OptionalParams_5_list{}) + } + listValue := &_OptionalParams_5_list{list: &x.RequiredMinimumStake} + return protoreflect.ValueOfList(listValue) + case "emissions.v8.OptionalParams.remove_stake_delay_window": + if len(x.RemoveStakeDelayWindow) == 0 { + return protoreflect.ValueOfList(&_OptionalParams_6_list{}) + } + listValue := &_OptionalParams_6_list{list: &x.RemoveStakeDelayWindow} + return protoreflect.ValueOfList(listValue) + case "emissions.v8.OptionalParams.min_epoch_length": + if len(x.MinEpochLength) == 0 { + return protoreflect.ValueOfList(&_OptionalParams_7_list{}) + } + listValue := &_OptionalParams_7_list{list: &x.MinEpochLength} + return protoreflect.ValueOfList(listValue) + case "emissions.v8.OptionalParams.beta_entropy": + if len(x.BetaEntropy) == 0 { + return protoreflect.ValueOfList(&_OptionalParams_8_list{}) + } + listValue := &_OptionalParams_8_list{list: &x.BetaEntropy} + return protoreflect.ValueOfList(listValue) + case "emissions.v8.OptionalParams.learning_rate": + if len(x.LearningRate) == 0 { + return protoreflect.ValueOfList(&_OptionalParams_9_list{}) + } + listValue := &_OptionalParams_9_list{list: &x.LearningRate} + return protoreflect.ValueOfList(listValue) + case "emissions.v8.OptionalParams.max_gradient_threshold": + if len(x.MaxGradientThreshold) == 0 { + return protoreflect.ValueOfList(&_OptionalParams_10_list{}) + } + listValue := &_OptionalParams_10_list{list: &x.MaxGradientThreshold} + return protoreflect.ValueOfList(listValue) + case "emissions.v8.OptionalParams.min_stake_fraction": + if len(x.MinStakeFraction) == 0 { + return protoreflect.ValueOfList(&_OptionalParams_11_list{}) + } + listValue := &_OptionalParams_11_list{list: &x.MinStakeFraction} + return protoreflect.ValueOfList(listValue) + case "emissions.v8.OptionalParams.max_unfulfilled_worker_requests": + if len(x.MaxUnfulfilledWorkerRequests) == 0 { + return protoreflect.ValueOfList(&_OptionalParams_13_list{}) + } + listValue := &_OptionalParams_13_list{list: &x.MaxUnfulfilledWorkerRequests} + return protoreflect.ValueOfList(listValue) + case "emissions.v8.OptionalParams.max_unfulfilled_reputer_requests": + if len(x.MaxUnfulfilledReputerRequests) == 0 { + return protoreflect.ValueOfList(&_OptionalParams_14_list{}) + } + listValue := &_OptionalParams_14_list{list: &x.MaxUnfulfilledReputerRequests} + return protoreflect.ValueOfList(listValue) + case "emissions.v8.OptionalParams.topic_reward_stake_importance": + if len(x.TopicRewardStakeImportance) == 0 { + return protoreflect.ValueOfList(&_OptionalParams_15_list{}) + } + listValue := &_OptionalParams_15_list{list: &x.TopicRewardStakeImportance} + return protoreflect.ValueOfList(listValue) + case "emissions.v8.OptionalParams.topic_reward_fee_revenue_importance": + if len(x.TopicRewardFeeRevenueImportance) == 0 { + return protoreflect.ValueOfList(&_OptionalParams_16_list{}) + } + listValue := &_OptionalParams_16_list{list: &x.TopicRewardFeeRevenueImportance} + return protoreflect.ValueOfList(listValue) + case "emissions.v8.OptionalParams.topic_reward_alpha": + if len(x.TopicRewardAlpha) == 0 { + return protoreflect.ValueOfList(&_OptionalParams_17_list{}) + } + listValue := &_OptionalParams_17_list{list: &x.TopicRewardAlpha} + return protoreflect.ValueOfList(listValue) + case "emissions.v8.OptionalParams.task_reward_alpha": + if len(x.TaskRewardAlpha) == 0 { + return protoreflect.ValueOfList(&_OptionalParams_18_list{}) + } + listValue := &_OptionalParams_18_list{list: &x.TaskRewardAlpha} + return protoreflect.ValueOfList(listValue) + case "emissions.v8.OptionalParams.validators_vs_allora_percent_reward": + if len(x.ValidatorsVsAlloraPercentReward) == 0 { + return protoreflect.ValueOfList(&_OptionalParams_19_list{}) + } + listValue := &_OptionalParams_19_list{list: &x.ValidatorsVsAlloraPercentReward} + return protoreflect.ValueOfList(listValue) + case "emissions.v8.OptionalParams.max_samples_to_scale_scores": + if len(x.MaxSamplesToScaleScores) == 0 { + return protoreflect.ValueOfList(&_OptionalParams_20_list{}) + } + listValue := &_OptionalParams_20_list{list: &x.MaxSamplesToScaleScores} + return protoreflect.ValueOfList(listValue) + case "emissions.v8.OptionalParams.max_top_inferers_to_reward": + if len(x.MaxTopInferersToReward) == 0 { + return protoreflect.ValueOfList(&_OptionalParams_21_list{}) + } + listValue := &_OptionalParams_21_list{list: &x.MaxTopInferersToReward} + return protoreflect.ValueOfList(listValue) + case "emissions.v8.OptionalParams.max_top_forecasters_to_reward": + if len(x.MaxTopForecastersToReward) == 0 { + return protoreflect.ValueOfList(&_OptionalParams_22_list{}) + } + listValue := &_OptionalParams_22_list{list: &x.MaxTopForecastersToReward} + return protoreflect.ValueOfList(listValue) + case "emissions.v8.OptionalParams.max_top_reputers_to_reward": + if len(x.MaxTopReputersToReward) == 0 { + return protoreflect.ValueOfList(&_OptionalParams_23_list{}) + } + listValue := &_OptionalParams_23_list{list: &x.MaxTopReputersToReward} + return protoreflect.ValueOfList(listValue) + case "emissions.v8.OptionalParams.create_topic_fee": + if len(x.CreateTopicFee) == 0 { + return protoreflect.ValueOfList(&_OptionalParams_24_list{}) + } + listValue := &_OptionalParams_24_list{list: &x.CreateTopicFee} + return protoreflect.ValueOfList(listValue) + case "emissions.v8.OptionalParams.gradient_descent_max_iters": + if len(x.GradientDescentMaxIters) == 0 { + return protoreflect.ValueOfList(&_OptionalParams_25_list{}) + } + listValue := &_OptionalParams_25_list{list: &x.GradientDescentMaxIters} + return protoreflect.ValueOfList(listValue) + case "emissions.v8.OptionalParams.registration_fee": + if len(x.RegistrationFee) == 0 { + return protoreflect.ValueOfList(&_OptionalParams_28_list{}) + } + listValue := &_OptionalParams_28_list{list: &x.RegistrationFee} + return protoreflect.ValueOfList(listValue) + case "emissions.v8.OptionalParams.default_page_limit": + if len(x.DefaultPageLimit) == 0 { + return protoreflect.ValueOfList(&_OptionalParams_29_list{}) + } + listValue := &_OptionalParams_29_list{list: &x.DefaultPageLimit} + return protoreflect.ValueOfList(listValue) + case "emissions.v8.OptionalParams.max_page_limit": + if len(x.MaxPageLimit) == 0 { + return protoreflect.ValueOfList(&_OptionalParams_30_list{}) + } + listValue := &_OptionalParams_30_list{list: &x.MaxPageLimit} + return protoreflect.ValueOfList(listValue) + case "emissions.v8.OptionalParams.min_epoch_length_record_limit": + if len(x.MinEpochLengthRecordLimit) == 0 { + return protoreflect.ValueOfList(&_OptionalParams_31_list{}) + } + listValue := &_OptionalParams_31_list{list: &x.MinEpochLengthRecordLimit} + return protoreflect.ValueOfList(listValue) + case "emissions.v8.OptionalParams.blocks_per_month": + if len(x.BlocksPerMonth) == 0 { + return protoreflect.ValueOfList(&_OptionalParams_32_list{}) + } + listValue := &_OptionalParams_32_list{list: &x.BlocksPerMonth} + return protoreflect.ValueOfList(listValue) + case "emissions.v8.OptionalParams.p_reward_inference": + if len(x.PRewardInference) == 0 { + return protoreflect.ValueOfList(&_OptionalParams_33_list{}) + } + listValue := &_OptionalParams_33_list{list: &x.PRewardInference} + return protoreflect.ValueOfList(listValue) + case "emissions.v8.OptionalParams.p_reward_forecast": + if len(x.PRewardForecast) == 0 { + return protoreflect.ValueOfList(&_OptionalParams_34_list{}) + } + listValue := &_OptionalParams_34_list{list: &x.PRewardForecast} + return protoreflect.ValueOfList(listValue) + case "emissions.v8.OptionalParams.p_reward_reputer": + if len(x.PRewardReputer) == 0 { + return protoreflect.ValueOfList(&_OptionalParams_35_list{}) + } + listValue := &_OptionalParams_35_list{list: &x.PRewardReputer} + return protoreflect.ValueOfList(listValue) + case "emissions.v8.OptionalParams.c_reward_inference": + if len(x.CRewardInference) == 0 { + return protoreflect.ValueOfList(&_OptionalParams_36_list{}) + } + listValue := &_OptionalParams_36_list{list: &x.CRewardInference} + return protoreflect.ValueOfList(listValue) + case "emissions.v8.OptionalParams.c_reward_forecast": + if len(x.CRewardForecast) == 0 { + return protoreflect.ValueOfList(&_OptionalParams_37_list{}) + } + listValue := &_OptionalParams_37_list{list: &x.CRewardForecast} + return protoreflect.ValueOfList(listValue) + case "emissions.v8.OptionalParams.c_norm": + if len(x.CNorm) == 0 { + return protoreflect.ValueOfList(&_OptionalParams_38_list{}) + } + listValue := &_OptionalParams_38_list{list: &x.CNorm} + return protoreflect.ValueOfList(listValue) + case "emissions.v8.OptionalParams.epsilon_reputer": + if len(x.EpsilonReputer) == 0 { + return protoreflect.ValueOfList(&_OptionalParams_40_list{}) + } + listValue := &_OptionalParams_40_list{list: &x.EpsilonReputer} + return protoreflect.ValueOfList(listValue) + case "emissions.v8.OptionalParams.half_max_process_stake_removals_end_block": + if len(x.HalfMaxProcessStakeRemovalsEndBlock) == 0 { + return protoreflect.ValueOfList(&_OptionalParams_42_list{}) + } + listValue := &_OptionalParams_42_list{list: &x.HalfMaxProcessStakeRemovalsEndBlock} + return protoreflect.ValueOfList(listValue) + case "emissions.v8.OptionalParams.data_sending_fee": + if len(x.DataSendingFee) == 0 { + return protoreflect.ValueOfList(&_OptionalParams_43_list{}) + } + listValue := &_OptionalParams_43_list{list: &x.DataSendingFee} + return protoreflect.ValueOfList(listValue) + case "emissions.v8.OptionalParams.epsilon_safe_div": + if len(x.EpsilonSafeDiv) == 0 { + return protoreflect.ValueOfList(&_OptionalParams_44_list{}) + } + listValue := &_OptionalParams_44_list{list: &x.EpsilonSafeDiv} + return protoreflect.ValueOfList(listValue) + case "emissions.v8.OptionalParams.max_elements_per_forecast": + if len(x.MaxElementsPerForecast) == 0 { + return protoreflect.ValueOfList(&_OptionalParams_45_list{}) + } + listValue := &_OptionalParams_45_list{list: &x.MaxElementsPerForecast} + return protoreflect.ValueOfList(listValue) + case "emissions.v8.OptionalParams.max_active_topics_per_block": + if len(x.MaxActiveTopicsPerBlock) == 0 { + return protoreflect.ValueOfList(&_OptionalParams_46_list{}) + } + listValue := &_OptionalParams_46_list{list: &x.MaxActiveTopicsPerBlock} + return protoreflect.ValueOfList(listValue) + case "emissions.v8.OptionalParams.max_string_length": + if len(x.MaxStringLength) == 0 { + return protoreflect.ValueOfList(&_OptionalParams_47_list{}) + } + listValue := &_OptionalParams_47_list{list: &x.MaxStringLength} + return protoreflect.ValueOfList(listValue) + case "emissions.v8.OptionalParams.initial_regret_quantile": + if len(x.InitialRegretQuantile) == 0 { + return protoreflect.ValueOfList(&_OptionalParams_48_list{}) + } + listValue := &_OptionalParams_48_list{list: &x.InitialRegretQuantile} + return protoreflect.ValueOfList(listValue) + case "emissions.v8.OptionalParams.p_norm_safe_div": + if len(x.PNormSafeDiv) == 0 { + return protoreflect.ValueOfList(&_OptionalParams_49_list{}) + } + listValue := &_OptionalParams_49_list{list: &x.PNormSafeDiv} + return protoreflect.ValueOfList(listValue) + case "emissions.v8.OptionalParams.global_whitelist_enabled": + if len(x.GlobalWhitelistEnabled) == 0 { + return protoreflect.ValueOfList(&_OptionalParams_50_list{}) + } + listValue := &_OptionalParams_50_list{list: &x.GlobalWhitelistEnabled} + return protoreflect.ValueOfList(listValue) + case "emissions.v8.OptionalParams.topic_creator_whitelist_enabled": + if len(x.TopicCreatorWhitelistEnabled) == 0 { + return protoreflect.ValueOfList(&_OptionalParams_51_list{}) + } + listValue := &_OptionalParams_51_list{list: &x.TopicCreatorWhitelistEnabled} + return protoreflect.ValueOfList(listValue) + case "emissions.v8.OptionalParams.min_experienced_worker_regrets": + if len(x.MinExperiencedWorkerRegrets) == 0 { + return protoreflect.ValueOfList(&_OptionalParams_52_list{}) + } + listValue := &_OptionalParams_52_list{list: &x.MinExperiencedWorkerRegrets} + return protoreflect.ValueOfList(listValue) + case "emissions.v8.OptionalParams.inference_outlier_detection_threshold": + if len(x.InferenceOutlierDetectionThreshold) == 0 { + return protoreflect.ValueOfList(&_OptionalParams_53_list{}) + } + listValue := &_OptionalParams_53_list{list: &x.InferenceOutlierDetectionThreshold} + return protoreflect.ValueOfList(listValue) + case "emissions.v8.OptionalParams.inference_outlier_detection_alpha": + if len(x.InferenceOutlierDetectionAlpha) == 0 { + return protoreflect.ValueOfList(&_OptionalParams_54_list{}) + } + listValue := &_OptionalParams_54_list{list: &x.InferenceOutlierDetectionAlpha} + return protoreflect.ValueOfList(listValue) + case "emissions.v8.OptionalParams.lambda_initial_score": + if len(x.LambdaInitialScore) == 0 { + return protoreflect.ValueOfList(&_OptionalParams_55_list{}) + } + listValue := &_OptionalParams_55_list{list: &x.LambdaInitialScore} + return protoreflect.ValueOfList(listValue) + case "emissions.v8.OptionalParams.global_worker_whitelist_enabled": + if len(x.GlobalWorkerWhitelistEnabled) == 0 { + return protoreflect.ValueOfList(&_OptionalParams_56_list{}) + } + listValue := &_OptionalParams_56_list{list: &x.GlobalWorkerWhitelistEnabled} + return protoreflect.ValueOfList(listValue) + case "emissions.v8.OptionalParams.global_reputer_whitelist_enabled": + if len(x.GlobalReputerWhitelistEnabled) == 0 { + return protoreflect.ValueOfList(&_OptionalParams_57_list{}) + } + listValue := &_OptionalParams_57_list{list: &x.GlobalReputerWhitelistEnabled} + return protoreflect.ValueOfList(listValue) + case "emissions.v8.OptionalParams.global_admin_whitelist_appended": + if len(x.GlobalAdminWhitelistAppended) == 0 { + return protoreflect.ValueOfList(&_OptionalParams_58_list{}) + } + listValue := &_OptionalParams_58_list{list: &x.GlobalAdminWhitelistAppended} + return protoreflect.ValueOfList(listValue) + case "emissions.v8.OptionalParams.max_whitelist_input_array_length": + if len(x.MaxWhitelistInputArrayLength) == 0 { + return protoreflect.ValueOfList(&_OptionalParams_59_list{}) + } + listValue := &_OptionalParams_59_list{list: &x.MaxWhitelistInputArrayLength} + return protoreflect.ValueOfList(listValue) + case "emissions.v8.OptionalParams.min_weight_threshold_for_stdnorm": + if len(x.MinWeightThresholdForStdnorm) == 0 { + return protoreflect.ValueOfList(&_OptionalParams_60_list{}) + } + listValue := &_OptionalParams_60_list{list: &x.MinWeightThresholdForStdnorm} + return protoreflect.ValueOfList(listValue) + default: + if descriptor.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.OptionalParams")) + } + panic(fmt.Errorf("message emissions.v8.OptionalParams does not contain field %s", descriptor.FullName())) + } +} + +// Set stores the value for a field. +// +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType. +// When setting a composite type, it is unspecified whether the stored value +// aliases the source's memory in any way. If the composite value is an +// empty, read-only value, then it panics. +// +// Set is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_OptionalParams) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { + switch fd.FullName() { + case "emissions.v8.OptionalParams.version": + lv := value.List() + clv := lv.(*_OptionalParams_1_list) + x.Version = *clv.list + case "emissions.v8.OptionalParams.max_serialized_msg_length": + lv := value.List() + clv := lv.(*_OptionalParams_2_list) + x.MaxSerializedMsgLength = *clv.list + case "emissions.v8.OptionalParams.min_topic_weight": + lv := value.List() + clv := lv.(*_OptionalParams_3_list) + x.MinTopicWeight = *clv.list + case "emissions.v8.OptionalParams.required_minimum_stake": + lv := value.List() + clv := lv.(*_OptionalParams_5_list) + x.RequiredMinimumStake = *clv.list + case "emissions.v8.OptionalParams.remove_stake_delay_window": + lv := value.List() + clv := lv.(*_OptionalParams_6_list) + x.RemoveStakeDelayWindow = *clv.list + case "emissions.v8.OptionalParams.min_epoch_length": + lv := value.List() + clv := lv.(*_OptionalParams_7_list) + x.MinEpochLength = *clv.list + case "emissions.v8.OptionalParams.beta_entropy": + lv := value.List() + clv := lv.(*_OptionalParams_8_list) + x.BetaEntropy = *clv.list + case "emissions.v8.OptionalParams.learning_rate": + lv := value.List() + clv := lv.(*_OptionalParams_9_list) + x.LearningRate = *clv.list + case "emissions.v8.OptionalParams.max_gradient_threshold": + lv := value.List() + clv := lv.(*_OptionalParams_10_list) + x.MaxGradientThreshold = *clv.list + case "emissions.v8.OptionalParams.min_stake_fraction": + lv := value.List() + clv := lv.(*_OptionalParams_11_list) + x.MinStakeFraction = *clv.list + case "emissions.v8.OptionalParams.max_unfulfilled_worker_requests": + lv := value.List() + clv := lv.(*_OptionalParams_13_list) + x.MaxUnfulfilledWorkerRequests = *clv.list + case "emissions.v8.OptionalParams.max_unfulfilled_reputer_requests": + lv := value.List() + clv := lv.(*_OptionalParams_14_list) + x.MaxUnfulfilledReputerRequests = *clv.list + case "emissions.v8.OptionalParams.topic_reward_stake_importance": + lv := value.List() + clv := lv.(*_OptionalParams_15_list) + x.TopicRewardStakeImportance = *clv.list + case "emissions.v8.OptionalParams.topic_reward_fee_revenue_importance": + lv := value.List() + clv := lv.(*_OptionalParams_16_list) + x.TopicRewardFeeRevenueImportance = *clv.list + case "emissions.v8.OptionalParams.topic_reward_alpha": + lv := value.List() + clv := lv.(*_OptionalParams_17_list) + x.TopicRewardAlpha = *clv.list + case "emissions.v8.OptionalParams.task_reward_alpha": + lv := value.List() + clv := lv.(*_OptionalParams_18_list) + x.TaskRewardAlpha = *clv.list + case "emissions.v8.OptionalParams.validators_vs_allora_percent_reward": + lv := value.List() + clv := lv.(*_OptionalParams_19_list) + x.ValidatorsVsAlloraPercentReward = *clv.list + case "emissions.v8.OptionalParams.max_samples_to_scale_scores": + lv := value.List() + clv := lv.(*_OptionalParams_20_list) + x.MaxSamplesToScaleScores = *clv.list + case "emissions.v8.OptionalParams.max_top_inferers_to_reward": + lv := value.List() + clv := lv.(*_OptionalParams_21_list) + x.MaxTopInferersToReward = *clv.list + case "emissions.v8.OptionalParams.max_top_forecasters_to_reward": + lv := value.List() + clv := lv.(*_OptionalParams_22_list) + x.MaxTopForecastersToReward = *clv.list + case "emissions.v8.OptionalParams.max_top_reputers_to_reward": + lv := value.List() + clv := lv.(*_OptionalParams_23_list) + x.MaxTopReputersToReward = *clv.list + case "emissions.v8.OptionalParams.create_topic_fee": + lv := value.List() + clv := lv.(*_OptionalParams_24_list) + x.CreateTopicFee = *clv.list + case "emissions.v8.OptionalParams.gradient_descent_max_iters": + lv := value.List() + clv := lv.(*_OptionalParams_25_list) + x.GradientDescentMaxIters = *clv.list + case "emissions.v8.OptionalParams.registration_fee": + lv := value.List() + clv := lv.(*_OptionalParams_28_list) + x.RegistrationFee = *clv.list + case "emissions.v8.OptionalParams.default_page_limit": + lv := value.List() + clv := lv.(*_OptionalParams_29_list) + x.DefaultPageLimit = *clv.list + case "emissions.v8.OptionalParams.max_page_limit": + lv := value.List() + clv := lv.(*_OptionalParams_30_list) + x.MaxPageLimit = *clv.list + case "emissions.v8.OptionalParams.min_epoch_length_record_limit": + lv := value.List() + clv := lv.(*_OptionalParams_31_list) + x.MinEpochLengthRecordLimit = *clv.list + case "emissions.v8.OptionalParams.blocks_per_month": + lv := value.List() + clv := lv.(*_OptionalParams_32_list) + x.BlocksPerMonth = *clv.list + case "emissions.v8.OptionalParams.p_reward_inference": + lv := value.List() + clv := lv.(*_OptionalParams_33_list) + x.PRewardInference = *clv.list + case "emissions.v8.OptionalParams.p_reward_forecast": + lv := value.List() + clv := lv.(*_OptionalParams_34_list) + x.PRewardForecast = *clv.list + case "emissions.v8.OptionalParams.p_reward_reputer": + lv := value.List() + clv := lv.(*_OptionalParams_35_list) + x.PRewardReputer = *clv.list + case "emissions.v8.OptionalParams.c_reward_inference": + lv := value.List() + clv := lv.(*_OptionalParams_36_list) + x.CRewardInference = *clv.list + case "emissions.v8.OptionalParams.c_reward_forecast": + lv := value.List() + clv := lv.(*_OptionalParams_37_list) + x.CRewardForecast = *clv.list + case "emissions.v8.OptionalParams.c_norm": + lv := value.List() + clv := lv.(*_OptionalParams_38_list) + x.CNorm = *clv.list + case "emissions.v8.OptionalParams.epsilon_reputer": + lv := value.List() + clv := lv.(*_OptionalParams_40_list) + x.EpsilonReputer = *clv.list + case "emissions.v8.OptionalParams.half_max_process_stake_removals_end_block": + lv := value.List() + clv := lv.(*_OptionalParams_42_list) + x.HalfMaxProcessStakeRemovalsEndBlock = *clv.list + case "emissions.v8.OptionalParams.data_sending_fee": + lv := value.List() + clv := lv.(*_OptionalParams_43_list) + x.DataSendingFee = *clv.list + case "emissions.v8.OptionalParams.epsilon_safe_div": + lv := value.List() + clv := lv.(*_OptionalParams_44_list) + x.EpsilonSafeDiv = *clv.list + case "emissions.v8.OptionalParams.max_elements_per_forecast": + lv := value.List() + clv := lv.(*_OptionalParams_45_list) + x.MaxElementsPerForecast = *clv.list + case "emissions.v8.OptionalParams.max_active_topics_per_block": + lv := value.List() + clv := lv.(*_OptionalParams_46_list) + x.MaxActiveTopicsPerBlock = *clv.list + case "emissions.v8.OptionalParams.max_string_length": + lv := value.List() + clv := lv.(*_OptionalParams_47_list) + x.MaxStringLength = *clv.list + case "emissions.v8.OptionalParams.initial_regret_quantile": + lv := value.List() + clv := lv.(*_OptionalParams_48_list) + x.InitialRegretQuantile = *clv.list + case "emissions.v8.OptionalParams.p_norm_safe_div": + lv := value.List() + clv := lv.(*_OptionalParams_49_list) + x.PNormSafeDiv = *clv.list + case "emissions.v8.OptionalParams.global_whitelist_enabled": + lv := value.List() + clv := lv.(*_OptionalParams_50_list) + x.GlobalWhitelistEnabled = *clv.list + case "emissions.v8.OptionalParams.topic_creator_whitelist_enabled": + lv := value.List() + clv := lv.(*_OptionalParams_51_list) + x.TopicCreatorWhitelistEnabled = *clv.list + case "emissions.v8.OptionalParams.min_experienced_worker_regrets": + lv := value.List() + clv := lv.(*_OptionalParams_52_list) + x.MinExperiencedWorkerRegrets = *clv.list + case "emissions.v8.OptionalParams.inference_outlier_detection_threshold": + lv := value.List() + clv := lv.(*_OptionalParams_53_list) + x.InferenceOutlierDetectionThreshold = *clv.list + case "emissions.v8.OptionalParams.inference_outlier_detection_alpha": + lv := value.List() + clv := lv.(*_OptionalParams_54_list) + x.InferenceOutlierDetectionAlpha = *clv.list + case "emissions.v8.OptionalParams.lambda_initial_score": + lv := value.List() + clv := lv.(*_OptionalParams_55_list) + x.LambdaInitialScore = *clv.list + case "emissions.v8.OptionalParams.global_worker_whitelist_enabled": + lv := value.List() + clv := lv.(*_OptionalParams_56_list) + x.GlobalWorkerWhitelistEnabled = *clv.list + case "emissions.v8.OptionalParams.global_reputer_whitelist_enabled": + lv := value.List() + clv := lv.(*_OptionalParams_57_list) + x.GlobalReputerWhitelistEnabled = *clv.list + case "emissions.v8.OptionalParams.global_admin_whitelist_appended": + lv := value.List() + clv := lv.(*_OptionalParams_58_list) + x.GlobalAdminWhitelistAppended = *clv.list + case "emissions.v8.OptionalParams.max_whitelist_input_array_length": + lv := value.List() + clv := lv.(*_OptionalParams_59_list) + x.MaxWhitelistInputArrayLength = *clv.list + case "emissions.v8.OptionalParams.min_weight_threshold_for_stdnorm": + lv := value.List() + clv := lv.(*_OptionalParams_60_list) + x.MinWeightThresholdForStdnorm = *clv.list + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.OptionalParams")) + } + panic(fmt.Errorf("message emissions.v8.OptionalParams does not contain field %s", fd.FullName())) + } +} + +// Mutable returns a mutable reference to a composite type. +// +// If the field is unpopulated, it may allocate a composite value. +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType +// if not already stored. +// It panics if the field does not contain a composite type. +// +// Mutable is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_OptionalParams) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.OptionalParams.version": + if x.Version == nil { + x.Version = []string{} + } + value := &_OptionalParams_1_list{list: &x.Version} + return protoreflect.ValueOfList(value) + case "emissions.v8.OptionalParams.max_serialized_msg_length": + if x.MaxSerializedMsgLength == nil { + x.MaxSerializedMsgLength = []int64{} + } + value := &_OptionalParams_2_list{list: &x.MaxSerializedMsgLength} + return protoreflect.ValueOfList(value) + case "emissions.v8.OptionalParams.min_topic_weight": + if x.MinTopicWeight == nil { + x.MinTopicWeight = []string{} + } + value := &_OptionalParams_3_list{list: &x.MinTopicWeight} + return protoreflect.ValueOfList(value) + case "emissions.v8.OptionalParams.required_minimum_stake": + if x.RequiredMinimumStake == nil { + x.RequiredMinimumStake = []string{} + } + value := &_OptionalParams_5_list{list: &x.RequiredMinimumStake} + return protoreflect.ValueOfList(value) + case "emissions.v8.OptionalParams.remove_stake_delay_window": + if x.RemoveStakeDelayWindow == nil { + x.RemoveStakeDelayWindow = []int64{} + } + value := &_OptionalParams_6_list{list: &x.RemoveStakeDelayWindow} + return protoreflect.ValueOfList(value) + case "emissions.v8.OptionalParams.min_epoch_length": + if x.MinEpochLength == nil { + x.MinEpochLength = []int64{} + } + value := &_OptionalParams_7_list{list: &x.MinEpochLength} + return protoreflect.ValueOfList(value) + case "emissions.v8.OptionalParams.beta_entropy": + if x.BetaEntropy == nil { + x.BetaEntropy = []string{} + } + value := &_OptionalParams_8_list{list: &x.BetaEntropy} + return protoreflect.ValueOfList(value) + case "emissions.v8.OptionalParams.learning_rate": + if x.LearningRate == nil { + x.LearningRate = []string{} + } + value := &_OptionalParams_9_list{list: &x.LearningRate} + return protoreflect.ValueOfList(value) + case "emissions.v8.OptionalParams.max_gradient_threshold": + if x.MaxGradientThreshold == nil { + x.MaxGradientThreshold = []string{} + } + value := &_OptionalParams_10_list{list: &x.MaxGradientThreshold} + return protoreflect.ValueOfList(value) + case "emissions.v8.OptionalParams.min_stake_fraction": + if x.MinStakeFraction == nil { + x.MinStakeFraction = []string{} + } + value := &_OptionalParams_11_list{list: &x.MinStakeFraction} + return protoreflect.ValueOfList(value) + case "emissions.v8.OptionalParams.max_unfulfilled_worker_requests": + if x.MaxUnfulfilledWorkerRequests == nil { + x.MaxUnfulfilledWorkerRequests = []uint64{} + } + value := &_OptionalParams_13_list{list: &x.MaxUnfulfilledWorkerRequests} + return protoreflect.ValueOfList(value) + case "emissions.v8.OptionalParams.max_unfulfilled_reputer_requests": + if x.MaxUnfulfilledReputerRequests == nil { + x.MaxUnfulfilledReputerRequests = []uint64{} + } + value := &_OptionalParams_14_list{list: &x.MaxUnfulfilledReputerRequests} + return protoreflect.ValueOfList(value) + case "emissions.v8.OptionalParams.topic_reward_stake_importance": + if x.TopicRewardStakeImportance == nil { + x.TopicRewardStakeImportance = []string{} + } + value := &_OptionalParams_15_list{list: &x.TopicRewardStakeImportance} + return protoreflect.ValueOfList(value) + case "emissions.v8.OptionalParams.topic_reward_fee_revenue_importance": + if x.TopicRewardFeeRevenueImportance == nil { + x.TopicRewardFeeRevenueImportance = []string{} + } + value := &_OptionalParams_16_list{list: &x.TopicRewardFeeRevenueImportance} + return protoreflect.ValueOfList(value) + case "emissions.v8.OptionalParams.topic_reward_alpha": + if x.TopicRewardAlpha == nil { + x.TopicRewardAlpha = []string{} + } + value := &_OptionalParams_17_list{list: &x.TopicRewardAlpha} + return protoreflect.ValueOfList(value) + case "emissions.v8.OptionalParams.task_reward_alpha": + if x.TaskRewardAlpha == nil { + x.TaskRewardAlpha = []string{} + } + value := &_OptionalParams_18_list{list: &x.TaskRewardAlpha} + return protoreflect.ValueOfList(value) + case "emissions.v8.OptionalParams.validators_vs_allora_percent_reward": + if x.ValidatorsVsAlloraPercentReward == nil { + x.ValidatorsVsAlloraPercentReward = []string{} + } + value := &_OptionalParams_19_list{list: &x.ValidatorsVsAlloraPercentReward} + return protoreflect.ValueOfList(value) + case "emissions.v8.OptionalParams.max_samples_to_scale_scores": + if x.MaxSamplesToScaleScores == nil { + x.MaxSamplesToScaleScores = []uint64{} + } + value := &_OptionalParams_20_list{list: &x.MaxSamplesToScaleScores} + return protoreflect.ValueOfList(value) + case "emissions.v8.OptionalParams.max_top_inferers_to_reward": + if x.MaxTopInferersToReward == nil { + x.MaxTopInferersToReward = []uint64{} + } + value := &_OptionalParams_21_list{list: &x.MaxTopInferersToReward} + return protoreflect.ValueOfList(value) + case "emissions.v8.OptionalParams.max_top_forecasters_to_reward": + if x.MaxTopForecastersToReward == nil { + x.MaxTopForecastersToReward = []uint64{} + } + value := &_OptionalParams_22_list{list: &x.MaxTopForecastersToReward} + return protoreflect.ValueOfList(value) + case "emissions.v8.OptionalParams.max_top_reputers_to_reward": + if x.MaxTopReputersToReward == nil { + x.MaxTopReputersToReward = []uint64{} + } + value := &_OptionalParams_23_list{list: &x.MaxTopReputersToReward} + return protoreflect.ValueOfList(value) + case "emissions.v8.OptionalParams.create_topic_fee": + if x.CreateTopicFee == nil { + x.CreateTopicFee = []string{} + } + value := &_OptionalParams_24_list{list: &x.CreateTopicFee} + return protoreflect.ValueOfList(value) + case "emissions.v8.OptionalParams.gradient_descent_max_iters": + if x.GradientDescentMaxIters == nil { + x.GradientDescentMaxIters = []uint64{} + } + value := &_OptionalParams_25_list{list: &x.GradientDescentMaxIters} + return protoreflect.ValueOfList(value) + case "emissions.v8.OptionalParams.registration_fee": + if x.RegistrationFee == nil { + x.RegistrationFee = []string{} + } + value := &_OptionalParams_28_list{list: &x.RegistrationFee} + return protoreflect.ValueOfList(value) + case "emissions.v8.OptionalParams.default_page_limit": + if x.DefaultPageLimit == nil { + x.DefaultPageLimit = []uint64{} + } + value := &_OptionalParams_29_list{list: &x.DefaultPageLimit} + return protoreflect.ValueOfList(value) + case "emissions.v8.OptionalParams.max_page_limit": + if x.MaxPageLimit == nil { + x.MaxPageLimit = []uint64{} + } + value := &_OptionalParams_30_list{list: &x.MaxPageLimit} + return protoreflect.ValueOfList(value) + case "emissions.v8.OptionalParams.min_epoch_length_record_limit": + if x.MinEpochLengthRecordLimit == nil { + x.MinEpochLengthRecordLimit = []int64{} + } + value := &_OptionalParams_31_list{list: &x.MinEpochLengthRecordLimit} + return protoreflect.ValueOfList(value) + case "emissions.v8.OptionalParams.blocks_per_month": + if x.BlocksPerMonth == nil { + x.BlocksPerMonth = []uint64{} + } + value := &_OptionalParams_32_list{list: &x.BlocksPerMonth} + return protoreflect.ValueOfList(value) + case "emissions.v8.OptionalParams.p_reward_inference": + if x.PRewardInference == nil { + x.PRewardInference = []string{} + } + value := &_OptionalParams_33_list{list: &x.PRewardInference} + return protoreflect.ValueOfList(value) + case "emissions.v8.OptionalParams.p_reward_forecast": + if x.PRewardForecast == nil { + x.PRewardForecast = []string{} + } + value := &_OptionalParams_34_list{list: &x.PRewardForecast} + return protoreflect.ValueOfList(value) + case "emissions.v8.OptionalParams.p_reward_reputer": + if x.PRewardReputer == nil { + x.PRewardReputer = []string{} + } + value := &_OptionalParams_35_list{list: &x.PRewardReputer} + return protoreflect.ValueOfList(value) + case "emissions.v8.OptionalParams.c_reward_inference": + if x.CRewardInference == nil { + x.CRewardInference = []string{} + } + value := &_OptionalParams_36_list{list: &x.CRewardInference} + return protoreflect.ValueOfList(value) + case "emissions.v8.OptionalParams.c_reward_forecast": + if x.CRewardForecast == nil { + x.CRewardForecast = []string{} + } + value := &_OptionalParams_37_list{list: &x.CRewardForecast} + return protoreflect.ValueOfList(value) + case "emissions.v8.OptionalParams.c_norm": + if x.CNorm == nil { + x.CNorm = []string{} + } + value := &_OptionalParams_38_list{list: &x.CNorm} + return protoreflect.ValueOfList(value) + case "emissions.v8.OptionalParams.epsilon_reputer": + if x.EpsilonReputer == nil { + x.EpsilonReputer = []string{} + } + value := &_OptionalParams_40_list{list: &x.EpsilonReputer} + return protoreflect.ValueOfList(value) + case "emissions.v8.OptionalParams.half_max_process_stake_removals_end_block": + if x.HalfMaxProcessStakeRemovalsEndBlock == nil { + x.HalfMaxProcessStakeRemovalsEndBlock = []uint64{} + } + value := &_OptionalParams_42_list{list: &x.HalfMaxProcessStakeRemovalsEndBlock} + return protoreflect.ValueOfList(value) + case "emissions.v8.OptionalParams.data_sending_fee": + if x.DataSendingFee == nil { + x.DataSendingFee = []string{} + } + value := &_OptionalParams_43_list{list: &x.DataSendingFee} + return protoreflect.ValueOfList(value) + case "emissions.v8.OptionalParams.epsilon_safe_div": + if x.EpsilonSafeDiv == nil { + x.EpsilonSafeDiv = []string{} + } + value := &_OptionalParams_44_list{list: &x.EpsilonSafeDiv} + return protoreflect.ValueOfList(value) + case "emissions.v8.OptionalParams.max_elements_per_forecast": + if x.MaxElementsPerForecast == nil { + x.MaxElementsPerForecast = []uint64{} + } + value := &_OptionalParams_45_list{list: &x.MaxElementsPerForecast} + return protoreflect.ValueOfList(value) + case "emissions.v8.OptionalParams.max_active_topics_per_block": + if x.MaxActiveTopicsPerBlock == nil { + x.MaxActiveTopicsPerBlock = []uint64{} + } + value := &_OptionalParams_46_list{list: &x.MaxActiveTopicsPerBlock} + return protoreflect.ValueOfList(value) + case "emissions.v8.OptionalParams.max_string_length": + if x.MaxStringLength == nil { + x.MaxStringLength = []uint64{} + } + value := &_OptionalParams_47_list{list: &x.MaxStringLength} + return protoreflect.ValueOfList(value) + case "emissions.v8.OptionalParams.initial_regret_quantile": + if x.InitialRegretQuantile == nil { + x.InitialRegretQuantile = []string{} + } + value := &_OptionalParams_48_list{list: &x.InitialRegretQuantile} + return protoreflect.ValueOfList(value) + case "emissions.v8.OptionalParams.p_norm_safe_div": + if x.PNormSafeDiv == nil { + x.PNormSafeDiv = []string{} + } + value := &_OptionalParams_49_list{list: &x.PNormSafeDiv} + return protoreflect.ValueOfList(value) + case "emissions.v8.OptionalParams.global_whitelist_enabled": + if x.GlobalWhitelistEnabled == nil { + x.GlobalWhitelistEnabled = []bool{} + } + value := &_OptionalParams_50_list{list: &x.GlobalWhitelistEnabled} + return protoreflect.ValueOfList(value) + case "emissions.v8.OptionalParams.topic_creator_whitelist_enabled": + if x.TopicCreatorWhitelistEnabled == nil { + x.TopicCreatorWhitelistEnabled = []bool{} + } + value := &_OptionalParams_51_list{list: &x.TopicCreatorWhitelistEnabled} + return protoreflect.ValueOfList(value) + case "emissions.v8.OptionalParams.min_experienced_worker_regrets": + if x.MinExperiencedWorkerRegrets == nil { + x.MinExperiencedWorkerRegrets = []uint64{} + } + value := &_OptionalParams_52_list{list: &x.MinExperiencedWorkerRegrets} + return protoreflect.ValueOfList(value) + case "emissions.v8.OptionalParams.inference_outlier_detection_threshold": + if x.InferenceOutlierDetectionThreshold == nil { + x.InferenceOutlierDetectionThreshold = []string{} + } + value := &_OptionalParams_53_list{list: &x.InferenceOutlierDetectionThreshold} + return protoreflect.ValueOfList(value) + case "emissions.v8.OptionalParams.inference_outlier_detection_alpha": + if x.InferenceOutlierDetectionAlpha == nil { + x.InferenceOutlierDetectionAlpha = []string{} + } + value := &_OptionalParams_54_list{list: &x.InferenceOutlierDetectionAlpha} + return protoreflect.ValueOfList(value) + case "emissions.v8.OptionalParams.lambda_initial_score": + if x.LambdaInitialScore == nil { + x.LambdaInitialScore = []string{} + } + value := &_OptionalParams_55_list{list: &x.LambdaInitialScore} + return protoreflect.ValueOfList(value) + case "emissions.v8.OptionalParams.global_worker_whitelist_enabled": + if x.GlobalWorkerWhitelistEnabled == nil { + x.GlobalWorkerWhitelistEnabled = []bool{} + } + value := &_OptionalParams_56_list{list: &x.GlobalWorkerWhitelistEnabled} + return protoreflect.ValueOfList(value) + case "emissions.v8.OptionalParams.global_reputer_whitelist_enabled": + if x.GlobalReputerWhitelistEnabled == nil { + x.GlobalReputerWhitelistEnabled = []bool{} + } + value := &_OptionalParams_57_list{list: &x.GlobalReputerWhitelistEnabled} + return protoreflect.ValueOfList(value) + case "emissions.v8.OptionalParams.global_admin_whitelist_appended": + if x.GlobalAdminWhitelistAppended == nil { + x.GlobalAdminWhitelistAppended = []bool{} + } + value := &_OptionalParams_58_list{list: &x.GlobalAdminWhitelistAppended} + return protoreflect.ValueOfList(value) + case "emissions.v8.OptionalParams.max_whitelist_input_array_length": + if x.MaxWhitelistInputArrayLength == nil { + x.MaxWhitelistInputArrayLength = []uint64{} + } + value := &_OptionalParams_59_list{list: &x.MaxWhitelistInputArrayLength} + return protoreflect.ValueOfList(value) + case "emissions.v8.OptionalParams.min_weight_threshold_for_stdnorm": + if x.MinWeightThresholdForStdnorm == nil { + x.MinWeightThresholdForStdnorm = []string{} + } + value := &_OptionalParams_60_list{list: &x.MinWeightThresholdForStdnorm} + return protoreflect.ValueOfList(value) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.OptionalParams")) + } + panic(fmt.Errorf("message emissions.v8.OptionalParams does not contain field %s", fd.FullName())) + } +} + +// NewField returns a new value that is assignable to the field +// for the given descriptor. For scalars, this returns the default value. +// For lists, maps, and messages, this returns a new, empty, mutable value. +func (x *fastReflection_OptionalParams) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.OptionalParams.version": + list := []string{} + return protoreflect.ValueOfList(&_OptionalParams_1_list{list: &list}) + case "emissions.v8.OptionalParams.max_serialized_msg_length": + list := []int64{} + return protoreflect.ValueOfList(&_OptionalParams_2_list{list: &list}) + case "emissions.v8.OptionalParams.min_topic_weight": + list := []string{} + return protoreflect.ValueOfList(&_OptionalParams_3_list{list: &list}) + case "emissions.v8.OptionalParams.required_minimum_stake": + list := []string{} + return protoreflect.ValueOfList(&_OptionalParams_5_list{list: &list}) + case "emissions.v8.OptionalParams.remove_stake_delay_window": + list := []int64{} + return protoreflect.ValueOfList(&_OptionalParams_6_list{list: &list}) + case "emissions.v8.OptionalParams.min_epoch_length": + list := []int64{} + return protoreflect.ValueOfList(&_OptionalParams_7_list{list: &list}) + case "emissions.v8.OptionalParams.beta_entropy": + list := []string{} + return protoreflect.ValueOfList(&_OptionalParams_8_list{list: &list}) + case "emissions.v8.OptionalParams.learning_rate": + list := []string{} + return protoreflect.ValueOfList(&_OptionalParams_9_list{list: &list}) + case "emissions.v8.OptionalParams.max_gradient_threshold": + list := []string{} + return protoreflect.ValueOfList(&_OptionalParams_10_list{list: &list}) + case "emissions.v8.OptionalParams.min_stake_fraction": + list := []string{} + return protoreflect.ValueOfList(&_OptionalParams_11_list{list: &list}) + case "emissions.v8.OptionalParams.max_unfulfilled_worker_requests": + list := []uint64{} + return protoreflect.ValueOfList(&_OptionalParams_13_list{list: &list}) + case "emissions.v8.OptionalParams.max_unfulfilled_reputer_requests": + list := []uint64{} + return protoreflect.ValueOfList(&_OptionalParams_14_list{list: &list}) + case "emissions.v8.OptionalParams.topic_reward_stake_importance": + list := []string{} + return protoreflect.ValueOfList(&_OptionalParams_15_list{list: &list}) + case "emissions.v8.OptionalParams.topic_reward_fee_revenue_importance": + list := []string{} + return protoreflect.ValueOfList(&_OptionalParams_16_list{list: &list}) + case "emissions.v8.OptionalParams.topic_reward_alpha": + list := []string{} + return protoreflect.ValueOfList(&_OptionalParams_17_list{list: &list}) + case "emissions.v8.OptionalParams.task_reward_alpha": + list := []string{} + return protoreflect.ValueOfList(&_OptionalParams_18_list{list: &list}) + case "emissions.v8.OptionalParams.validators_vs_allora_percent_reward": + list := []string{} + return protoreflect.ValueOfList(&_OptionalParams_19_list{list: &list}) + case "emissions.v8.OptionalParams.max_samples_to_scale_scores": + list := []uint64{} + return protoreflect.ValueOfList(&_OptionalParams_20_list{list: &list}) + case "emissions.v8.OptionalParams.max_top_inferers_to_reward": + list := []uint64{} + return protoreflect.ValueOfList(&_OptionalParams_21_list{list: &list}) + case "emissions.v8.OptionalParams.max_top_forecasters_to_reward": + list := []uint64{} + return protoreflect.ValueOfList(&_OptionalParams_22_list{list: &list}) + case "emissions.v8.OptionalParams.max_top_reputers_to_reward": + list := []uint64{} + return protoreflect.ValueOfList(&_OptionalParams_23_list{list: &list}) + case "emissions.v8.OptionalParams.create_topic_fee": + list := []string{} + return protoreflect.ValueOfList(&_OptionalParams_24_list{list: &list}) + case "emissions.v8.OptionalParams.gradient_descent_max_iters": + list := []uint64{} + return protoreflect.ValueOfList(&_OptionalParams_25_list{list: &list}) + case "emissions.v8.OptionalParams.registration_fee": + list := []string{} + return protoreflect.ValueOfList(&_OptionalParams_28_list{list: &list}) + case "emissions.v8.OptionalParams.default_page_limit": + list := []uint64{} + return protoreflect.ValueOfList(&_OptionalParams_29_list{list: &list}) + case "emissions.v8.OptionalParams.max_page_limit": + list := []uint64{} + return protoreflect.ValueOfList(&_OptionalParams_30_list{list: &list}) + case "emissions.v8.OptionalParams.min_epoch_length_record_limit": + list := []int64{} + return protoreflect.ValueOfList(&_OptionalParams_31_list{list: &list}) + case "emissions.v8.OptionalParams.blocks_per_month": + list := []uint64{} + return protoreflect.ValueOfList(&_OptionalParams_32_list{list: &list}) + case "emissions.v8.OptionalParams.p_reward_inference": + list := []string{} + return protoreflect.ValueOfList(&_OptionalParams_33_list{list: &list}) + case "emissions.v8.OptionalParams.p_reward_forecast": + list := []string{} + return protoreflect.ValueOfList(&_OptionalParams_34_list{list: &list}) + case "emissions.v8.OptionalParams.p_reward_reputer": + list := []string{} + return protoreflect.ValueOfList(&_OptionalParams_35_list{list: &list}) + case "emissions.v8.OptionalParams.c_reward_inference": + list := []string{} + return protoreflect.ValueOfList(&_OptionalParams_36_list{list: &list}) + case "emissions.v8.OptionalParams.c_reward_forecast": + list := []string{} + return protoreflect.ValueOfList(&_OptionalParams_37_list{list: &list}) + case "emissions.v8.OptionalParams.c_norm": + list := []string{} + return protoreflect.ValueOfList(&_OptionalParams_38_list{list: &list}) + case "emissions.v8.OptionalParams.epsilon_reputer": + list := []string{} + return protoreflect.ValueOfList(&_OptionalParams_40_list{list: &list}) + case "emissions.v8.OptionalParams.half_max_process_stake_removals_end_block": + list := []uint64{} + return protoreflect.ValueOfList(&_OptionalParams_42_list{list: &list}) + case "emissions.v8.OptionalParams.data_sending_fee": + list := []string{} + return protoreflect.ValueOfList(&_OptionalParams_43_list{list: &list}) + case "emissions.v8.OptionalParams.epsilon_safe_div": + list := []string{} + return protoreflect.ValueOfList(&_OptionalParams_44_list{list: &list}) + case "emissions.v8.OptionalParams.max_elements_per_forecast": + list := []uint64{} + return protoreflect.ValueOfList(&_OptionalParams_45_list{list: &list}) + case "emissions.v8.OptionalParams.max_active_topics_per_block": + list := []uint64{} + return protoreflect.ValueOfList(&_OptionalParams_46_list{list: &list}) + case "emissions.v8.OptionalParams.max_string_length": + list := []uint64{} + return protoreflect.ValueOfList(&_OptionalParams_47_list{list: &list}) + case "emissions.v8.OptionalParams.initial_regret_quantile": + list := []string{} + return protoreflect.ValueOfList(&_OptionalParams_48_list{list: &list}) + case "emissions.v8.OptionalParams.p_norm_safe_div": + list := []string{} + return protoreflect.ValueOfList(&_OptionalParams_49_list{list: &list}) + case "emissions.v8.OptionalParams.global_whitelist_enabled": + list := []bool{} + return protoreflect.ValueOfList(&_OptionalParams_50_list{list: &list}) + case "emissions.v8.OptionalParams.topic_creator_whitelist_enabled": + list := []bool{} + return protoreflect.ValueOfList(&_OptionalParams_51_list{list: &list}) + case "emissions.v8.OptionalParams.min_experienced_worker_regrets": + list := []uint64{} + return protoreflect.ValueOfList(&_OptionalParams_52_list{list: &list}) + case "emissions.v8.OptionalParams.inference_outlier_detection_threshold": + list := []string{} + return protoreflect.ValueOfList(&_OptionalParams_53_list{list: &list}) + case "emissions.v8.OptionalParams.inference_outlier_detection_alpha": + list := []string{} + return protoreflect.ValueOfList(&_OptionalParams_54_list{list: &list}) + case "emissions.v8.OptionalParams.lambda_initial_score": + list := []string{} + return protoreflect.ValueOfList(&_OptionalParams_55_list{list: &list}) + case "emissions.v8.OptionalParams.global_worker_whitelist_enabled": + list := []bool{} + return protoreflect.ValueOfList(&_OptionalParams_56_list{list: &list}) + case "emissions.v8.OptionalParams.global_reputer_whitelist_enabled": + list := []bool{} + return protoreflect.ValueOfList(&_OptionalParams_57_list{list: &list}) + case "emissions.v8.OptionalParams.global_admin_whitelist_appended": + list := []bool{} + return protoreflect.ValueOfList(&_OptionalParams_58_list{list: &list}) + case "emissions.v8.OptionalParams.max_whitelist_input_array_length": + list := []uint64{} + return protoreflect.ValueOfList(&_OptionalParams_59_list{list: &list}) + case "emissions.v8.OptionalParams.min_weight_threshold_for_stdnorm": + list := []string{} + return protoreflect.ValueOfList(&_OptionalParams_60_list{list: &list}) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.OptionalParams")) + } + panic(fmt.Errorf("message emissions.v8.OptionalParams does not contain field %s", fd.FullName())) + } +} + +// WhichOneof reports which field within the oneof is populated, +// returning nil if none are populated. +// It panics if the oneof descriptor does not belong to this message. +func (x *fastReflection_OptionalParams) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { + switch d.FullName() { + default: + panic(fmt.Errorf("%s is not a oneof field in emissions.v8.OptionalParams", d.FullName())) + } + panic("unreachable") +} + +// GetUnknown retrieves the entire list of unknown fields. +// The caller may only mutate the contents of the RawFields +// if the mutated bytes are stored back into the message with SetUnknown. +func (x *fastReflection_OptionalParams) GetUnknown() protoreflect.RawFields { + return x.unknownFields +} + +// SetUnknown stores an entire list of unknown fields. +// The raw fields must be syntactically valid according to the wire format. +// An implementation may panic if this is not the case. +// Once stored, the caller must not mutate the content of the RawFields. +// An empty RawFields may be passed to clear the fields. +// +// SetUnknown is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_OptionalParams) SetUnknown(fields protoreflect.RawFields) { + x.unknownFields = fields +} + +// IsValid reports whether the message is valid. +// +// An invalid message is an empty, read-only value. +// +// An invalid message often corresponds to a nil pointer of the concrete +// message type, but the details are implementation dependent. +// Validity is not part of the protobuf data model, and may not +// be preserved in marshaling or other operations. +func (x *fastReflection_OptionalParams) IsValid() bool { + return x != nil +} + +// ProtoMethods returns optional fastReflectionFeature-path implementations of various operations. +// This method may return nil. +// +// The returned methods type is identical to +// "google.golang.org/protobuf/runtime/protoiface".Methods. +// Consult the protoiface package documentation for details. +func (x *fastReflection_OptionalParams) ProtoMethods() *protoiface.Methods { + size := func(input protoiface.SizeInput) protoiface.SizeOutput { + x := input.Message.Interface().(*OptionalParams) + if x == nil { + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: 0, + } + } + options := runtime.SizeInputToOptions(input) + _ = options + var n int + var l int + _ = l + if len(x.Version) > 0 { + for _, s := range x.Version { + l = len(s) + n += 1 + l + runtime.Sov(uint64(l)) + } + } + if len(x.MaxSerializedMsgLength) > 0 { + l = 0 + for _, e := range x.MaxSerializedMsgLength { + l += runtime.Sov(uint64(e)) + } + n += 1 + runtime.Sov(uint64(l)) + l + } + if len(x.MinTopicWeight) > 0 { + for _, s := range x.MinTopicWeight { + l = len(s) + n += 1 + l + runtime.Sov(uint64(l)) + } + } + if len(x.RequiredMinimumStake) > 0 { + for _, s := range x.RequiredMinimumStake { + l = len(s) + n += 1 + l + runtime.Sov(uint64(l)) + } + } + if len(x.RemoveStakeDelayWindow) > 0 { + l = 0 + for _, e := range x.RemoveStakeDelayWindow { + l += runtime.Sov(uint64(e)) + } + n += 1 + runtime.Sov(uint64(l)) + l + } + if len(x.MinEpochLength) > 0 { + l = 0 + for _, e := range x.MinEpochLength { + l += runtime.Sov(uint64(e)) + } + n += 1 + runtime.Sov(uint64(l)) + l + } + if len(x.BetaEntropy) > 0 { + for _, s := range x.BetaEntropy { + l = len(s) + n += 1 + l + runtime.Sov(uint64(l)) + } + } + if len(x.LearningRate) > 0 { + for _, s := range x.LearningRate { + l = len(s) + n += 1 + l + runtime.Sov(uint64(l)) + } + } + if len(x.MaxGradientThreshold) > 0 { + for _, s := range x.MaxGradientThreshold { + l = len(s) + n += 1 + l + runtime.Sov(uint64(l)) + } + } + if len(x.MinStakeFraction) > 0 { + for _, s := range x.MinStakeFraction { + l = len(s) + n += 1 + l + runtime.Sov(uint64(l)) + } + } + if len(x.MaxUnfulfilledWorkerRequests) > 0 { + l = 0 + for _, e := range x.MaxUnfulfilledWorkerRequests { + l += runtime.Sov(uint64(e)) + } + n += 1 + runtime.Sov(uint64(l)) + l + } + if len(x.MaxUnfulfilledReputerRequests) > 0 { + l = 0 + for _, e := range x.MaxUnfulfilledReputerRequests { + l += runtime.Sov(uint64(e)) + } + n += 1 + runtime.Sov(uint64(l)) + l + } + if len(x.TopicRewardStakeImportance) > 0 { + for _, s := range x.TopicRewardStakeImportance { + l = len(s) + n += 1 + l + runtime.Sov(uint64(l)) + } + } + if len(x.TopicRewardFeeRevenueImportance) > 0 { + for _, s := range x.TopicRewardFeeRevenueImportance { + l = len(s) + n += 2 + l + runtime.Sov(uint64(l)) + } + } + if len(x.TopicRewardAlpha) > 0 { + for _, s := range x.TopicRewardAlpha { + l = len(s) + n += 2 + l + runtime.Sov(uint64(l)) + } + } + if len(x.TaskRewardAlpha) > 0 { + for _, s := range x.TaskRewardAlpha { + l = len(s) + n += 2 + l + runtime.Sov(uint64(l)) + } + } + if len(x.ValidatorsVsAlloraPercentReward) > 0 { + for _, s := range x.ValidatorsVsAlloraPercentReward { + l = len(s) + n += 2 + l + runtime.Sov(uint64(l)) + } + } + if len(x.MaxSamplesToScaleScores) > 0 { + l = 0 + for _, e := range x.MaxSamplesToScaleScores { + l += runtime.Sov(uint64(e)) + } + n += 2 + runtime.Sov(uint64(l)) + l + } + if len(x.MaxTopInferersToReward) > 0 { + l = 0 + for _, e := range x.MaxTopInferersToReward { + l += runtime.Sov(uint64(e)) + } + n += 2 + runtime.Sov(uint64(l)) + l + } + if len(x.MaxTopForecastersToReward) > 0 { + l = 0 + for _, e := range x.MaxTopForecastersToReward { + l += runtime.Sov(uint64(e)) + } + n += 2 + runtime.Sov(uint64(l)) + l + } + if len(x.MaxTopReputersToReward) > 0 { + l = 0 + for _, e := range x.MaxTopReputersToReward { + l += runtime.Sov(uint64(e)) + } + n += 2 + runtime.Sov(uint64(l)) + l + } + if len(x.CreateTopicFee) > 0 { + for _, s := range x.CreateTopicFee { + l = len(s) + n += 2 + l + runtime.Sov(uint64(l)) + } + } + if len(x.GradientDescentMaxIters) > 0 { + l = 0 + for _, e := range x.GradientDescentMaxIters { + l += runtime.Sov(uint64(e)) + } + n += 2 + runtime.Sov(uint64(l)) + l + } + if len(x.RegistrationFee) > 0 { + for _, s := range x.RegistrationFee { + l = len(s) + n += 2 + l + runtime.Sov(uint64(l)) + } + } + if len(x.DefaultPageLimit) > 0 { + l = 0 + for _, e := range x.DefaultPageLimit { + l += runtime.Sov(uint64(e)) + } + n += 2 + runtime.Sov(uint64(l)) + l + } + if len(x.MaxPageLimit) > 0 { + l = 0 + for _, e := range x.MaxPageLimit { + l += runtime.Sov(uint64(e)) + } + n += 2 + runtime.Sov(uint64(l)) + l + } + if len(x.MinEpochLengthRecordLimit) > 0 { + l = 0 + for _, e := range x.MinEpochLengthRecordLimit { + l += runtime.Sov(uint64(e)) + } + n += 2 + runtime.Sov(uint64(l)) + l + } + if len(x.BlocksPerMonth) > 0 { + l = 0 + for _, e := range x.BlocksPerMonth { + l += runtime.Sov(uint64(e)) + } + n += 2 + runtime.Sov(uint64(l)) + l + } + if len(x.PRewardInference) > 0 { + for _, s := range x.PRewardInference { + l = len(s) + n += 2 + l + runtime.Sov(uint64(l)) + } + } + if len(x.PRewardForecast) > 0 { + for _, s := range x.PRewardForecast { + l = len(s) + n += 2 + l + runtime.Sov(uint64(l)) + } + } + if len(x.PRewardReputer) > 0 { + for _, s := range x.PRewardReputer { + l = len(s) + n += 2 + l + runtime.Sov(uint64(l)) + } + } + if len(x.CRewardInference) > 0 { + for _, s := range x.CRewardInference { + l = len(s) + n += 2 + l + runtime.Sov(uint64(l)) + } + } + if len(x.CRewardForecast) > 0 { + for _, s := range x.CRewardForecast { + l = len(s) + n += 2 + l + runtime.Sov(uint64(l)) + } + } + if len(x.CNorm) > 0 { + for _, s := range x.CNorm { + l = len(s) + n += 2 + l + runtime.Sov(uint64(l)) + } + } + if len(x.EpsilonReputer) > 0 { + for _, s := range x.EpsilonReputer { + l = len(s) + n += 2 + l + runtime.Sov(uint64(l)) + } + } + if len(x.HalfMaxProcessStakeRemovalsEndBlock) > 0 { + l = 0 + for _, e := range x.HalfMaxProcessStakeRemovalsEndBlock { + l += runtime.Sov(uint64(e)) + } + n += 2 + runtime.Sov(uint64(l)) + l + } + if len(x.DataSendingFee) > 0 { + for _, s := range x.DataSendingFee { + l = len(s) + n += 2 + l + runtime.Sov(uint64(l)) + } + } + if len(x.EpsilonSafeDiv) > 0 { + for _, s := range x.EpsilonSafeDiv { + l = len(s) + n += 2 + l + runtime.Sov(uint64(l)) + } + } + if len(x.MaxElementsPerForecast) > 0 { + l = 0 + for _, e := range x.MaxElementsPerForecast { + l += runtime.Sov(uint64(e)) + } + n += 2 + runtime.Sov(uint64(l)) + l + } + if len(x.MaxActiveTopicsPerBlock) > 0 { + l = 0 + for _, e := range x.MaxActiveTopicsPerBlock { + l += runtime.Sov(uint64(e)) + } + n += 2 + runtime.Sov(uint64(l)) + l + } + if len(x.MaxStringLength) > 0 { + l = 0 + for _, e := range x.MaxStringLength { + l += runtime.Sov(uint64(e)) + } + n += 2 + runtime.Sov(uint64(l)) + l + } + if len(x.InitialRegretQuantile) > 0 { + for _, s := range x.InitialRegretQuantile { + l = len(s) + n += 2 + l + runtime.Sov(uint64(l)) + } + } + if len(x.PNormSafeDiv) > 0 { + for _, s := range x.PNormSafeDiv { + l = len(s) + n += 2 + l + runtime.Sov(uint64(l)) + } + } + if len(x.GlobalWhitelistEnabled) > 0 { + n += 2 + runtime.Sov(uint64(len(x.GlobalWhitelistEnabled))) + len(x.GlobalWhitelistEnabled)*1 + } + if len(x.TopicCreatorWhitelistEnabled) > 0 { + n += 2 + runtime.Sov(uint64(len(x.TopicCreatorWhitelistEnabled))) + len(x.TopicCreatorWhitelistEnabled)*1 + } + if len(x.MinExperiencedWorkerRegrets) > 0 { + l = 0 + for _, e := range x.MinExperiencedWorkerRegrets { + l += runtime.Sov(uint64(e)) + } + n += 2 + runtime.Sov(uint64(l)) + l + } + if len(x.InferenceOutlierDetectionThreshold) > 0 { + for _, s := range x.InferenceOutlierDetectionThreshold { + l = len(s) + n += 2 + l + runtime.Sov(uint64(l)) + } + } + if len(x.InferenceOutlierDetectionAlpha) > 0 { + for _, s := range x.InferenceOutlierDetectionAlpha { + l = len(s) + n += 2 + l + runtime.Sov(uint64(l)) + } + } + if len(x.LambdaInitialScore) > 0 { + for _, s := range x.LambdaInitialScore { + l = len(s) + n += 2 + l + runtime.Sov(uint64(l)) + } + } + if len(x.GlobalWorkerWhitelistEnabled) > 0 { + n += 2 + runtime.Sov(uint64(len(x.GlobalWorkerWhitelistEnabled))) + len(x.GlobalWorkerWhitelistEnabled)*1 + } + if len(x.GlobalReputerWhitelistEnabled) > 0 { + n += 2 + runtime.Sov(uint64(len(x.GlobalReputerWhitelistEnabled))) + len(x.GlobalReputerWhitelistEnabled)*1 + } + if len(x.GlobalAdminWhitelistAppended) > 0 { + n += 2 + runtime.Sov(uint64(len(x.GlobalAdminWhitelistAppended))) + len(x.GlobalAdminWhitelistAppended)*1 + } + if len(x.MaxWhitelistInputArrayLength) > 0 { + l = 0 + for _, e := range x.MaxWhitelistInputArrayLength { + l += runtime.Sov(uint64(e)) + } + n += 2 + runtime.Sov(uint64(l)) + l + } + if len(x.MinWeightThresholdForStdnorm) > 0 { + for _, s := range x.MinWeightThresholdForStdnorm { + l = len(s) + n += 2 + l + runtime.Sov(uint64(l)) + } + } + if x.unknownFields != nil { + n += len(x.unknownFields) + } + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: n, + } + } + + marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { + x := input.Message.Interface().(*OptionalParams) + if x == nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + options := runtime.MarshalInputToOptions(input) + _ = options + size := options.Size(x) + dAtA := make([]byte, size) + i := len(dAtA) + _ = i + var l int + _ = l + if x.unknownFields != nil { + i -= len(x.unknownFields) + copy(dAtA[i:], x.unknownFields) + } + if len(x.MinWeightThresholdForStdnorm) > 0 { + for iNdEx := len(x.MinWeightThresholdForStdnorm) - 1; iNdEx >= 0; iNdEx-- { + i -= len(x.MinWeightThresholdForStdnorm[iNdEx]) + copy(dAtA[i:], x.MinWeightThresholdForStdnorm[iNdEx]) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.MinWeightThresholdForStdnorm[iNdEx]))) + i-- + dAtA[i] = 0x3 + i-- + dAtA[i] = 0xe2 + } + } + if len(x.MaxWhitelistInputArrayLength) > 0 { + var pksize2 int + for _, num := range x.MaxWhitelistInputArrayLength { + pksize2 += runtime.Sov(uint64(num)) + } + i -= pksize2 + j1 := i + for _, num := range x.MaxWhitelistInputArrayLength { + for num >= 1<<7 { + dAtA[j1] = uint8(uint64(num)&0x7f | 0x80) + num >>= 7 + j1++ + } + dAtA[j1] = uint8(num) + j1++ + } + i = runtime.EncodeVarint(dAtA, i, uint64(pksize2)) + i-- + dAtA[i] = 0x3 + i-- + dAtA[i] = 0xda + } + if len(x.GlobalAdminWhitelistAppended) > 0 { + for iNdEx := len(x.GlobalAdminWhitelistAppended) - 1; iNdEx >= 0; iNdEx-- { + i-- + if x.GlobalAdminWhitelistAppended[iNdEx] { + dAtA[i] = 1 + } else { + dAtA[i] = 0 + } + } + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.GlobalAdminWhitelistAppended))) + i-- + dAtA[i] = 0x3 + i-- + dAtA[i] = 0xd2 + } + if len(x.GlobalReputerWhitelistEnabled) > 0 { + for iNdEx := len(x.GlobalReputerWhitelistEnabled) - 1; iNdEx >= 0; iNdEx-- { + i-- + if x.GlobalReputerWhitelistEnabled[iNdEx] { + dAtA[i] = 1 + } else { + dAtA[i] = 0 + } + } + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.GlobalReputerWhitelistEnabled))) + i-- + dAtA[i] = 0x3 + i-- + dAtA[i] = 0xca + } + if len(x.GlobalWorkerWhitelistEnabled) > 0 { + for iNdEx := len(x.GlobalWorkerWhitelistEnabled) - 1; iNdEx >= 0; iNdEx-- { + i-- + if x.GlobalWorkerWhitelistEnabled[iNdEx] { + dAtA[i] = 1 + } else { + dAtA[i] = 0 + } + } + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.GlobalWorkerWhitelistEnabled))) + i-- + dAtA[i] = 0x3 + i-- + dAtA[i] = 0xc2 + } + if len(x.LambdaInitialScore) > 0 { + for iNdEx := len(x.LambdaInitialScore) - 1; iNdEx >= 0; iNdEx-- { + i -= len(x.LambdaInitialScore[iNdEx]) + copy(dAtA[i:], x.LambdaInitialScore[iNdEx]) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.LambdaInitialScore[iNdEx]))) + i-- + dAtA[i] = 0x3 + i-- + dAtA[i] = 0xba + } + } + if len(x.InferenceOutlierDetectionAlpha) > 0 { + for iNdEx := len(x.InferenceOutlierDetectionAlpha) - 1; iNdEx >= 0; iNdEx-- { + i -= len(x.InferenceOutlierDetectionAlpha[iNdEx]) + copy(dAtA[i:], x.InferenceOutlierDetectionAlpha[iNdEx]) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.InferenceOutlierDetectionAlpha[iNdEx]))) + i-- + dAtA[i] = 0x3 + i-- + dAtA[i] = 0xb2 + } + } + if len(x.InferenceOutlierDetectionThreshold) > 0 { + for iNdEx := len(x.InferenceOutlierDetectionThreshold) - 1; iNdEx >= 0; iNdEx-- { + i -= len(x.InferenceOutlierDetectionThreshold[iNdEx]) + copy(dAtA[i:], x.InferenceOutlierDetectionThreshold[iNdEx]) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.InferenceOutlierDetectionThreshold[iNdEx]))) + i-- + dAtA[i] = 0x3 + i-- + dAtA[i] = 0xaa + } + } + if len(x.MinExperiencedWorkerRegrets) > 0 { + var pksize4 int + for _, num := range x.MinExperiencedWorkerRegrets { + pksize4 += runtime.Sov(uint64(num)) + } + i -= pksize4 + j3 := i + for _, num := range x.MinExperiencedWorkerRegrets { + for num >= 1<<7 { + dAtA[j3] = uint8(uint64(num)&0x7f | 0x80) + num >>= 7 + j3++ + } + dAtA[j3] = uint8(num) + j3++ + } + i = runtime.EncodeVarint(dAtA, i, uint64(pksize4)) + i-- + dAtA[i] = 0x3 + i-- + dAtA[i] = 0xa2 + } + if len(x.TopicCreatorWhitelistEnabled) > 0 { + for iNdEx := len(x.TopicCreatorWhitelistEnabled) - 1; iNdEx >= 0; iNdEx-- { + i-- + if x.TopicCreatorWhitelistEnabled[iNdEx] { + dAtA[i] = 1 + } else { + dAtA[i] = 0 + } + } + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.TopicCreatorWhitelistEnabled))) + i-- + dAtA[i] = 0x3 + i-- + dAtA[i] = 0x9a + } + if len(x.GlobalWhitelistEnabled) > 0 { + for iNdEx := len(x.GlobalWhitelistEnabled) - 1; iNdEx >= 0; iNdEx-- { + i-- + if x.GlobalWhitelistEnabled[iNdEx] { + dAtA[i] = 1 + } else { + dAtA[i] = 0 + } + } + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.GlobalWhitelistEnabled))) + i-- + dAtA[i] = 0x3 + i-- + dAtA[i] = 0x92 + } + if len(x.PNormSafeDiv) > 0 { + for iNdEx := len(x.PNormSafeDiv) - 1; iNdEx >= 0; iNdEx-- { + i -= len(x.PNormSafeDiv[iNdEx]) + copy(dAtA[i:], x.PNormSafeDiv[iNdEx]) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.PNormSafeDiv[iNdEx]))) + i-- + dAtA[i] = 0x3 + i-- + dAtA[i] = 0x8a + } + } + if len(x.InitialRegretQuantile) > 0 { + for iNdEx := len(x.InitialRegretQuantile) - 1; iNdEx >= 0; iNdEx-- { + i -= len(x.InitialRegretQuantile[iNdEx]) + copy(dAtA[i:], x.InitialRegretQuantile[iNdEx]) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.InitialRegretQuantile[iNdEx]))) + i-- + dAtA[i] = 0x3 + i-- + dAtA[i] = 0x82 + } + } + if len(x.MaxStringLength) > 0 { + var pksize6 int + for _, num := range x.MaxStringLength { + pksize6 += runtime.Sov(uint64(num)) + } + i -= pksize6 + j5 := i + for _, num := range x.MaxStringLength { + for num >= 1<<7 { + dAtA[j5] = uint8(uint64(num)&0x7f | 0x80) + num >>= 7 + j5++ + } + dAtA[j5] = uint8(num) + j5++ + } + i = runtime.EncodeVarint(dAtA, i, uint64(pksize6)) + i-- + dAtA[i] = 0x2 + i-- + dAtA[i] = 0xfa + } + if len(x.MaxActiveTopicsPerBlock) > 0 { + var pksize8 int + for _, num := range x.MaxActiveTopicsPerBlock { + pksize8 += runtime.Sov(uint64(num)) + } + i -= pksize8 + j7 := i + for _, num := range x.MaxActiveTopicsPerBlock { + for num >= 1<<7 { + dAtA[j7] = uint8(uint64(num)&0x7f | 0x80) + num >>= 7 + j7++ + } + dAtA[j7] = uint8(num) + j7++ + } + i = runtime.EncodeVarint(dAtA, i, uint64(pksize8)) + i-- + dAtA[i] = 0x2 + i-- + dAtA[i] = 0xf2 + } + if len(x.MaxElementsPerForecast) > 0 { + var pksize10 int + for _, num := range x.MaxElementsPerForecast { + pksize10 += runtime.Sov(uint64(num)) + } + i -= pksize10 + j9 := i + for _, num := range x.MaxElementsPerForecast { + for num >= 1<<7 { + dAtA[j9] = uint8(uint64(num)&0x7f | 0x80) + num >>= 7 + j9++ + } + dAtA[j9] = uint8(num) + j9++ + } + i = runtime.EncodeVarint(dAtA, i, uint64(pksize10)) + i-- + dAtA[i] = 0x2 + i-- + dAtA[i] = 0xea + } + if len(x.EpsilonSafeDiv) > 0 { + for iNdEx := len(x.EpsilonSafeDiv) - 1; iNdEx >= 0; iNdEx-- { + i -= len(x.EpsilonSafeDiv[iNdEx]) + copy(dAtA[i:], x.EpsilonSafeDiv[iNdEx]) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.EpsilonSafeDiv[iNdEx]))) + i-- + dAtA[i] = 0x2 + i-- + dAtA[i] = 0xe2 + } + } + if len(x.DataSendingFee) > 0 { + for iNdEx := len(x.DataSendingFee) - 1; iNdEx >= 0; iNdEx-- { + i -= len(x.DataSendingFee[iNdEx]) + copy(dAtA[i:], x.DataSendingFee[iNdEx]) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.DataSendingFee[iNdEx]))) + i-- + dAtA[i] = 0x2 + i-- + dAtA[i] = 0xda + } + } + if len(x.HalfMaxProcessStakeRemovalsEndBlock) > 0 { + var pksize12 int + for _, num := range x.HalfMaxProcessStakeRemovalsEndBlock { + pksize12 += runtime.Sov(uint64(num)) + } + i -= pksize12 + j11 := i + for _, num := range x.HalfMaxProcessStakeRemovalsEndBlock { + for num >= 1<<7 { + dAtA[j11] = uint8(uint64(num)&0x7f | 0x80) + num >>= 7 + j11++ + } + dAtA[j11] = uint8(num) + j11++ + } + i = runtime.EncodeVarint(dAtA, i, uint64(pksize12)) + i-- + dAtA[i] = 0x2 + i-- + dAtA[i] = 0xd2 + } + if len(x.EpsilonReputer) > 0 { + for iNdEx := len(x.EpsilonReputer) - 1; iNdEx >= 0; iNdEx-- { + i -= len(x.EpsilonReputer[iNdEx]) + copy(dAtA[i:], x.EpsilonReputer[iNdEx]) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.EpsilonReputer[iNdEx]))) + i-- + dAtA[i] = 0x2 + i-- + dAtA[i] = 0xc2 + } + } + if len(x.CNorm) > 0 { + for iNdEx := len(x.CNorm) - 1; iNdEx >= 0; iNdEx-- { + i -= len(x.CNorm[iNdEx]) + copy(dAtA[i:], x.CNorm[iNdEx]) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.CNorm[iNdEx]))) + i-- + dAtA[i] = 0x2 + i-- + dAtA[i] = 0xb2 + } + } + if len(x.CRewardForecast) > 0 { + for iNdEx := len(x.CRewardForecast) - 1; iNdEx >= 0; iNdEx-- { + i -= len(x.CRewardForecast[iNdEx]) + copy(dAtA[i:], x.CRewardForecast[iNdEx]) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.CRewardForecast[iNdEx]))) + i-- + dAtA[i] = 0x2 + i-- + dAtA[i] = 0xaa + } + } + if len(x.CRewardInference) > 0 { + for iNdEx := len(x.CRewardInference) - 1; iNdEx >= 0; iNdEx-- { + i -= len(x.CRewardInference[iNdEx]) + copy(dAtA[i:], x.CRewardInference[iNdEx]) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.CRewardInference[iNdEx]))) + i-- + dAtA[i] = 0x2 + i-- + dAtA[i] = 0xa2 + } + } + if len(x.PRewardReputer) > 0 { + for iNdEx := len(x.PRewardReputer) - 1; iNdEx >= 0; iNdEx-- { + i -= len(x.PRewardReputer[iNdEx]) + copy(dAtA[i:], x.PRewardReputer[iNdEx]) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.PRewardReputer[iNdEx]))) + i-- + dAtA[i] = 0x2 + i-- + dAtA[i] = 0x9a + } + } + if len(x.PRewardForecast) > 0 { + for iNdEx := len(x.PRewardForecast) - 1; iNdEx >= 0; iNdEx-- { + i -= len(x.PRewardForecast[iNdEx]) + copy(dAtA[i:], x.PRewardForecast[iNdEx]) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.PRewardForecast[iNdEx]))) + i-- + dAtA[i] = 0x2 + i-- + dAtA[i] = 0x92 + } + } + if len(x.PRewardInference) > 0 { + for iNdEx := len(x.PRewardInference) - 1; iNdEx >= 0; iNdEx-- { + i -= len(x.PRewardInference[iNdEx]) + copy(dAtA[i:], x.PRewardInference[iNdEx]) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.PRewardInference[iNdEx]))) + i-- + dAtA[i] = 0x2 + i-- + dAtA[i] = 0x8a + } + } + if len(x.BlocksPerMonth) > 0 { + var pksize14 int + for _, num := range x.BlocksPerMonth { + pksize14 += runtime.Sov(uint64(num)) + } + i -= pksize14 + j13 := i + for _, num := range x.BlocksPerMonth { + for num >= 1<<7 { + dAtA[j13] = uint8(uint64(num)&0x7f | 0x80) + num >>= 7 + j13++ + } + dAtA[j13] = uint8(num) + j13++ + } + i = runtime.EncodeVarint(dAtA, i, uint64(pksize14)) + i-- + dAtA[i] = 0x2 + i-- + dAtA[i] = 0x82 + } + if len(x.MinEpochLengthRecordLimit) > 0 { + var pksize16 int + for _, num := range x.MinEpochLengthRecordLimit { + pksize16 += runtime.Sov(uint64(num)) + } + i -= pksize16 + j15 := i + for _, num1 := range x.MinEpochLengthRecordLimit { + num := uint64(num1) + for num >= 1<<7 { + dAtA[j15] = uint8(uint64(num)&0x7f | 0x80) + num >>= 7 + j15++ + } + dAtA[j15] = uint8(num) + j15++ + } + i = runtime.EncodeVarint(dAtA, i, uint64(pksize16)) + i-- + dAtA[i] = 0x1 + i-- + dAtA[i] = 0xfa + } + if len(x.MaxPageLimit) > 0 { + var pksize18 int + for _, num := range x.MaxPageLimit { + pksize18 += runtime.Sov(uint64(num)) + } + i -= pksize18 + j17 := i + for _, num := range x.MaxPageLimit { + for num >= 1<<7 { + dAtA[j17] = uint8(uint64(num)&0x7f | 0x80) + num >>= 7 + j17++ + } + dAtA[j17] = uint8(num) + j17++ + } + i = runtime.EncodeVarint(dAtA, i, uint64(pksize18)) + i-- + dAtA[i] = 0x1 + i-- + dAtA[i] = 0xf2 + } + if len(x.DefaultPageLimit) > 0 { + var pksize20 int + for _, num := range x.DefaultPageLimit { + pksize20 += runtime.Sov(uint64(num)) + } + i -= pksize20 + j19 := i + for _, num := range x.DefaultPageLimit { + for num >= 1<<7 { + dAtA[j19] = uint8(uint64(num)&0x7f | 0x80) + num >>= 7 + j19++ + } + dAtA[j19] = uint8(num) + j19++ + } + i = runtime.EncodeVarint(dAtA, i, uint64(pksize20)) + i-- + dAtA[i] = 0x1 + i-- + dAtA[i] = 0xea + } + if len(x.RegistrationFee) > 0 { + for iNdEx := len(x.RegistrationFee) - 1; iNdEx >= 0; iNdEx-- { + i -= len(x.RegistrationFee[iNdEx]) + copy(dAtA[i:], x.RegistrationFee[iNdEx]) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.RegistrationFee[iNdEx]))) + i-- + dAtA[i] = 0x1 + i-- + dAtA[i] = 0xe2 + } + } + if len(x.GradientDescentMaxIters) > 0 { + var pksize22 int + for _, num := range x.GradientDescentMaxIters { + pksize22 += runtime.Sov(uint64(num)) + } + i -= pksize22 + j21 := i + for _, num := range x.GradientDescentMaxIters { + for num >= 1<<7 { + dAtA[j21] = uint8(uint64(num)&0x7f | 0x80) + num >>= 7 + j21++ + } + dAtA[j21] = uint8(num) + j21++ + } + i = runtime.EncodeVarint(dAtA, i, uint64(pksize22)) + i-- + dAtA[i] = 0x1 + i-- + dAtA[i] = 0xca + } + if len(x.CreateTopicFee) > 0 { + for iNdEx := len(x.CreateTopicFee) - 1; iNdEx >= 0; iNdEx-- { + i -= len(x.CreateTopicFee[iNdEx]) + copy(dAtA[i:], x.CreateTopicFee[iNdEx]) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.CreateTopicFee[iNdEx]))) + i-- + dAtA[i] = 0x1 + i-- + dAtA[i] = 0xc2 + } + } + if len(x.MaxTopReputersToReward) > 0 { + var pksize24 int + for _, num := range x.MaxTopReputersToReward { + pksize24 += runtime.Sov(uint64(num)) + } + i -= pksize24 + j23 := i + for _, num := range x.MaxTopReputersToReward { + for num >= 1<<7 { + dAtA[j23] = uint8(uint64(num)&0x7f | 0x80) + num >>= 7 + j23++ + } + dAtA[j23] = uint8(num) + j23++ + } + i = runtime.EncodeVarint(dAtA, i, uint64(pksize24)) + i-- + dAtA[i] = 0x1 + i-- + dAtA[i] = 0xba + } + if len(x.MaxTopForecastersToReward) > 0 { + var pksize26 int + for _, num := range x.MaxTopForecastersToReward { + pksize26 += runtime.Sov(uint64(num)) + } + i -= pksize26 + j25 := i + for _, num := range x.MaxTopForecastersToReward { + for num >= 1<<7 { + dAtA[j25] = uint8(uint64(num)&0x7f | 0x80) + num >>= 7 + j25++ + } + dAtA[j25] = uint8(num) + j25++ + } + i = runtime.EncodeVarint(dAtA, i, uint64(pksize26)) + i-- + dAtA[i] = 0x1 + i-- + dAtA[i] = 0xb2 + } + if len(x.MaxTopInferersToReward) > 0 { + var pksize28 int + for _, num := range x.MaxTopInferersToReward { + pksize28 += runtime.Sov(uint64(num)) + } + i -= pksize28 + j27 := i + for _, num := range x.MaxTopInferersToReward { + for num >= 1<<7 { + dAtA[j27] = uint8(uint64(num)&0x7f | 0x80) + num >>= 7 + j27++ + } + dAtA[j27] = uint8(num) + j27++ + } + i = runtime.EncodeVarint(dAtA, i, uint64(pksize28)) + i-- + dAtA[i] = 0x1 + i-- + dAtA[i] = 0xaa + } + if len(x.MaxSamplesToScaleScores) > 0 { + var pksize30 int + for _, num := range x.MaxSamplesToScaleScores { + pksize30 += runtime.Sov(uint64(num)) + } + i -= pksize30 + j29 := i + for _, num := range x.MaxSamplesToScaleScores { + for num >= 1<<7 { + dAtA[j29] = uint8(uint64(num)&0x7f | 0x80) + num >>= 7 + j29++ + } + dAtA[j29] = uint8(num) + j29++ + } + i = runtime.EncodeVarint(dAtA, i, uint64(pksize30)) + i-- + dAtA[i] = 0x1 + i-- + dAtA[i] = 0xa2 + } + if len(x.ValidatorsVsAlloraPercentReward) > 0 { + for iNdEx := len(x.ValidatorsVsAlloraPercentReward) - 1; iNdEx >= 0; iNdEx-- { + i -= len(x.ValidatorsVsAlloraPercentReward[iNdEx]) + copy(dAtA[i:], x.ValidatorsVsAlloraPercentReward[iNdEx]) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.ValidatorsVsAlloraPercentReward[iNdEx]))) + i-- + dAtA[i] = 0x1 + i-- + dAtA[i] = 0x9a + } + } + if len(x.TaskRewardAlpha) > 0 { + for iNdEx := len(x.TaskRewardAlpha) - 1; iNdEx >= 0; iNdEx-- { + i -= len(x.TaskRewardAlpha[iNdEx]) + copy(dAtA[i:], x.TaskRewardAlpha[iNdEx]) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.TaskRewardAlpha[iNdEx]))) + i-- + dAtA[i] = 0x1 + i-- + dAtA[i] = 0x92 + } + } + if len(x.TopicRewardAlpha) > 0 { + for iNdEx := len(x.TopicRewardAlpha) - 1; iNdEx >= 0; iNdEx-- { + i -= len(x.TopicRewardAlpha[iNdEx]) + copy(dAtA[i:], x.TopicRewardAlpha[iNdEx]) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.TopicRewardAlpha[iNdEx]))) + i-- + dAtA[i] = 0x1 + i-- + dAtA[i] = 0x8a + } + } + if len(x.TopicRewardFeeRevenueImportance) > 0 { + for iNdEx := len(x.TopicRewardFeeRevenueImportance) - 1; iNdEx >= 0; iNdEx-- { + i -= len(x.TopicRewardFeeRevenueImportance[iNdEx]) + copy(dAtA[i:], x.TopicRewardFeeRevenueImportance[iNdEx]) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.TopicRewardFeeRevenueImportance[iNdEx]))) + i-- + dAtA[i] = 0x1 + i-- + dAtA[i] = 0x82 + } + } + if len(x.TopicRewardStakeImportance) > 0 { + for iNdEx := len(x.TopicRewardStakeImportance) - 1; iNdEx >= 0; iNdEx-- { + i -= len(x.TopicRewardStakeImportance[iNdEx]) + copy(dAtA[i:], x.TopicRewardStakeImportance[iNdEx]) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.TopicRewardStakeImportance[iNdEx]))) + i-- + dAtA[i] = 0x7a + } + } + if len(x.MaxUnfulfilledReputerRequests) > 0 { + var pksize32 int + for _, num := range x.MaxUnfulfilledReputerRequests { + pksize32 += runtime.Sov(uint64(num)) + } + i -= pksize32 + j31 := i + for _, num := range x.MaxUnfulfilledReputerRequests { + for num >= 1<<7 { + dAtA[j31] = uint8(uint64(num)&0x7f | 0x80) + num >>= 7 + j31++ + } + dAtA[j31] = uint8(num) + j31++ + } + i = runtime.EncodeVarint(dAtA, i, uint64(pksize32)) + i-- + dAtA[i] = 0x72 + } + if len(x.MaxUnfulfilledWorkerRequests) > 0 { + var pksize34 int + for _, num := range x.MaxUnfulfilledWorkerRequests { + pksize34 += runtime.Sov(uint64(num)) + } + i -= pksize34 + j33 := i + for _, num := range x.MaxUnfulfilledWorkerRequests { + for num >= 1<<7 { + dAtA[j33] = uint8(uint64(num)&0x7f | 0x80) + num >>= 7 + j33++ + } + dAtA[j33] = uint8(num) + j33++ + } + i = runtime.EncodeVarint(dAtA, i, uint64(pksize34)) + i-- + dAtA[i] = 0x6a + } + if len(x.MinStakeFraction) > 0 { + for iNdEx := len(x.MinStakeFraction) - 1; iNdEx >= 0; iNdEx-- { + i -= len(x.MinStakeFraction[iNdEx]) + copy(dAtA[i:], x.MinStakeFraction[iNdEx]) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.MinStakeFraction[iNdEx]))) + i-- + dAtA[i] = 0x5a + } + } + if len(x.MaxGradientThreshold) > 0 { + for iNdEx := len(x.MaxGradientThreshold) - 1; iNdEx >= 0; iNdEx-- { + i -= len(x.MaxGradientThreshold[iNdEx]) + copy(dAtA[i:], x.MaxGradientThreshold[iNdEx]) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.MaxGradientThreshold[iNdEx]))) + i-- + dAtA[i] = 0x52 + } + } + if len(x.LearningRate) > 0 { + for iNdEx := len(x.LearningRate) - 1; iNdEx >= 0; iNdEx-- { + i -= len(x.LearningRate[iNdEx]) + copy(dAtA[i:], x.LearningRate[iNdEx]) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.LearningRate[iNdEx]))) + i-- + dAtA[i] = 0x4a + } + } + if len(x.BetaEntropy) > 0 { + for iNdEx := len(x.BetaEntropy) - 1; iNdEx >= 0; iNdEx-- { + i -= len(x.BetaEntropy[iNdEx]) + copy(dAtA[i:], x.BetaEntropy[iNdEx]) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.BetaEntropy[iNdEx]))) + i-- + dAtA[i] = 0x42 + } + } + if len(x.MinEpochLength) > 0 { + var pksize36 int + for _, num := range x.MinEpochLength { + pksize36 += runtime.Sov(uint64(num)) + } + i -= pksize36 + j35 := i + for _, num1 := range x.MinEpochLength { + num := uint64(num1) + for num >= 1<<7 { + dAtA[j35] = uint8(uint64(num)&0x7f | 0x80) + num >>= 7 + j35++ + } + dAtA[j35] = uint8(num) + j35++ + } + i = runtime.EncodeVarint(dAtA, i, uint64(pksize36)) + i-- + dAtA[i] = 0x3a + } + if len(x.RemoveStakeDelayWindow) > 0 { + var pksize38 int + for _, num := range x.RemoveStakeDelayWindow { + pksize38 += runtime.Sov(uint64(num)) + } + i -= pksize38 + j37 := i + for _, num1 := range x.RemoveStakeDelayWindow { + num := uint64(num1) + for num >= 1<<7 { + dAtA[j37] = uint8(uint64(num)&0x7f | 0x80) + num >>= 7 + j37++ + } + dAtA[j37] = uint8(num) + j37++ + } + i = runtime.EncodeVarint(dAtA, i, uint64(pksize38)) + i-- + dAtA[i] = 0x32 + } + if len(x.RequiredMinimumStake) > 0 { + for iNdEx := len(x.RequiredMinimumStake) - 1; iNdEx >= 0; iNdEx-- { + i -= len(x.RequiredMinimumStake[iNdEx]) + copy(dAtA[i:], x.RequiredMinimumStake[iNdEx]) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.RequiredMinimumStake[iNdEx]))) + i-- + dAtA[i] = 0x2a + } + } + if len(x.MinTopicWeight) > 0 { + for iNdEx := len(x.MinTopicWeight) - 1; iNdEx >= 0; iNdEx-- { + i -= len(x.MinTopicWeight[iNdEx]) + copy(dAtA[i:], x.MinTopicWeight[iNdEx]) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.MinTopicWeight[iNdEx]))) + i-- + dAtA[i] = 0x1a + } + } + if len(x.MaxSerializedMsgLength) > 0 { + var pksize40 int + for _, num := range x.MaxSerializedMsgLength { + pksize40 += runtime.Sov(uint64(num)) + } + i -= pksize40 + j39 := i + for _, num1 := range x.MaxSerializedMsgLength { + num := uint64(num1) + for num >= 1<<7 { + dAtA[j39] = uint8(uint64(num)&0x7f | 0x80) + num >>= 7 + j39++ + } + dAtA[j39] = uint8(num) + j39++ + } + i = runtime.EncodeVarint(dAtA, i, uint64(pksize40)) + i-- + dAtA[i] = 0x12 + } + if len(x.Version) > 0 { + for iNdEx := len(x.Version) - 1; iNdEx >= 0; iNdEx-- { + i -= len(x.Version[iNdEx]) + copy(dAtA[i:], x.Version[iNdEx]) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.Version[iNdEx]))) + i-- + dAtA[i] = 0xa + } + } + if input.Buf != nil { + input.Buf = append(input.Buf, dAtA...) + } else { + input.Buf = dAtA + } + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { + x := input.Message.Interface().(*OptionalParams) + if x == nil { + return protoiface.UnmarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Flags: input.Flags, + }, nil + } + options := runtime.UnmarshalInputToOptions(input) + _ = options + dAtA := input.Buf + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: OptionalParams: wiretype end group for non-group") + } + if fieldNum <= 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: OptionalParams: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Version", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + x.Version = append(x.Version, string(dAtA[iNdEx:postIndex])) + iNdEx = postIndex + case 2: + if wireType == 0 { + var v int64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= int64(b&0x7F) << shift + if b < 0x80 { + break + } + } + x.MaxSerializedMsgLength = append(x.MaxSerializedMsgLength, v) + } else if wireType == 2 { + var packedLen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + packedLen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if packedLen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + packedLen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + var elementCount int + var count int + for _, integer := range dAtA[iNdEx:postIndex] { + if integer < 128 { + count++ + } + } + elementCount = count + if elementCount != 0 && len(x.MaxSerializedMsgLength) == 0 { + x.MaxSerializedMsgLength = make([]int64, 0, elementCount) + } + for iNdEx < postIndex { + var v int64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= int64(b&0x7F) << shift + if b < 0x80 { + break + } + } + x.MaxSerializedMsgLength = append(x.MaxSerializedMsgLength, v) + } + } else { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field MaxSerializedMsgLength", wireType) + } + case 3: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field MinTopicWeight", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + x.MinTopicWeight = append(x.MinTopicWeight, string(dAtA[iNdEx:postIndex])) + iNdEx = postIndex + case 5: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field RequiredMinimumStake", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + x.RequiredMinimumStake = append(x.RequiredMinimumStake, string(dAtA[iNdEx:postIndex])) + iNdEx = postIndex + case 6: + if wireType == 0 { + var v int64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= int64(b&0x7F) << shift + if b < 0x80 { + break + } + } + x.RemoveStakeDelayWindow = append(x.RemoveStakeDelayWindow, v) + } else if wireType == 2 { + var packedLen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + packedLen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if packedLen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + packedLen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + var elementCount int + var count int + for _, integer := range dAtA[iNdEx:postIndex] { + if integer < 128 { + count++ + } + } + elementCount = count + if elementCount != 0 && len(x.RemoveStakeDelayWindow) == 0 { + x.RemoveStakeDelayWindow = make([]int64, 0, elementCount) + } + for iNdEx < postIndex { + var v int64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= int64(b&0x7F) << shift + if b < 0x80 { + break + } + } + x.RemoveStakeDelayWindow = append(x.RemoveStakeDelayWindow, v) + } + } else { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field RemoveStakeDelayWindow", wireType) + } + case 7: + if wireType == 0 { + var v int64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= int64(b&0x7F) << shift + if b < 0x80 { + break + } + } + x.MinEpochLength = append(x.MinEpochLength, v) + } else if wireType == 2 { + var packedLen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + packedLen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if packedLen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + packedLen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + var elementCount int + var count int + for _, integer := range dAtA[iNdEx:postIndex] { + if integer < 128 { + count++ + } + } + elementCount = count + if elementCount != 0 && len(x.MinEpochLength) == 0 { + x.MinEpochLength = make([]int64, 0, elementCount) + } + for iNdEx < postIndex { + var v int64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= int64(b&0x7F) << shift + if b < 0x80 { + break + } + } + x.MinEpochLength = append(x.MinEpochLength, v) + } + } else { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field MinEpochLength", wireType) + } + case 8: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field BetaEntropy", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + x.BetaEntropy = append(x.BetaEntropy, string(dAtA[iNdEx:postIndex])) + iNdEx = postIndex + case 9: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field LearningRate", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + x.LearningRate = append(x.LearningRate, string(dAtA[iNdEx:postIndex])) + iNdEx = postIndex + case 10: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field MaxGradientThreshold", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + x.MaxGradientThreshold = append(x.MaxGradientThreshold, string(dAtA[iNdEx:postIndex])) + iNdEx = postIndex + case 11: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field MinStakeFraction", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + x.MinStakeFraction = append(x.MinStakeFraction, string(dAtA[iNdEx:postIndex])) + iNdEx = postIndex + case 13: + if wireType == 0 { + var v uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + x.MaxUnfulfilledWorkerRequests = append(x.MaxUnfulfilledWorkerRequests, v) + } else if wireType == 2 { + var packedLen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + packedLen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if packedLen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + packedLen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + var elementCount int + var count int + for _, integer := range dAtA[iNdEx:postIndex] { + if integer < 128 { + count++ + } + } + elementCount = count + if elementCount != 0 && len(x.MaxUnfulfilledWorkerRequests) == 0 { + x.MaxUnfulfilledWorkerRequests = make([]uint64, 0, elementCount) + } + for iNdEx < postIndex { + var v uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + x.MaxUnfulfilledWorkerRequests = append(x.MaxUnfulfilledWorkerRequests, v) + } + } else { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field MaxUnfulfilledWorkerRequests", wireType) + } + case 14: + if wireType == 0 { + var v uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + x.MaxUnfulfilledReputerRequests = append(x.MaxUnfulfilledReputerRequests, v) + } else if wireType == 2 { + var packedLen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + packedLen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if packedLen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + packedLen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + var elementCount int + var count int + for _, integer := range dAtA[iNdEx:postIndex] { + if integer < 128 { + count++ + } + } + elementCount = count + if elementCount != 0 && len(x.MaxUnfulfilledReputerRequests) == 0 { + x.MaxUnfulfilledReputerRequests = make([]uint64, 0, elementCount) + } + for iNdEx < postIndex { + var v uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + x.MaxUnfulfilledReputerRequests = append(x.MaxUnfulfilledReputerRequests, v) + } + } else { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field MaxUnfulfilledReputerRequests", wireType) + } + case 15: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field TopicRewardStakeImportance", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + x.TopicRewardStakeImportance = append(x.TopicRewardStakeImportance, string(dAtA[iNdEx:postIndex])) + iNdEx = postIndex + case 16: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field TopicRewardFeeRevenueImportance", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + x.TopicRewardFeeRevenueImportance = append(x.TopicRewardFeeRevenueImportance, string(dAtA[iNdEx:postIndex])) + iNdEx = postIndex + case 17: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field TopicRewardAlpha", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + x.TopicRewardAlpha = append(x.TopicRewardAlpha, string(dAtA[iNdEx:postIndex])) + iNdEx = postIndex + case 18: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field TaskRewardAlpha", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + x.TaskRewardAlpha = append(x.TaskRewardAlpha, string(dAtA[iNdEx:postIndex])) + iNdEx = postIndex + case 19: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field ValidatorsVsAlloraPercentReward", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + x.ValidatorsVsAlloraPercentReward = append(x.ValidatorsVsAlloraPercentReward, string(dAtA[iNdEx:postIndex])) + iNdEx = postIndex + case 20: + if wireType == 0 { + var v uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + x.MaxSamplesToScaleScores = append(x.MaxSamplesToScaleScores, v) + } else if wireType == 2 { + var packedLen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + packedLen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if packedLen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + packedLen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + var elementCount int + var count int + for _, integer := range dAtA[iNdEx:postIndex] { + if integer < 128 { + count++ + } + } + elementCount = count + if elementCount != 0 && len(x.MaxSamplesToScaleScores) == 0 { + x.MaxSamplesToScaleScores = make([]uint64, 0, elementCount) + } + for iNdEx < postIndex { + var v uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + x.MaxSamplesToScaleScores = append(x.MaxSamplesToScaleScores, v) + } + } else { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field MaxSamplesToScaleScores", wireType) + } + case 21: + if wireType == 0 { + var v uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + x.MaxTopInferersToReward = append(x.MaxTopInferersToReward, v) + } else if wireType == 2 { + var packedLen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + packedLen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if packedLen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + packedLen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + var elementCount int + var count int + for _, integer := range dAtA[iNdEx:postIndex] { + if integer < 128 { + count++ + } + } + elementCount = count + if elementCount != 0 && len(x.MaxTopInferersToReward) == 0 { + x.MaxTopInferersToReward = make([]uint64, 0, elementCount) + } + for iNdEx < postIndex { + var v uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + x.MaxTopInferersToReward = append(x.MaxTopInferersToReward, v) + } + } else { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field MaxTopInferersToReward", wireType) + } + case 22: + if wireType == 0 { + var v uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + x.MaxTopForecastersToReward = append(x.MaxTopForecastersToReward, v) + } else if wireType == 2 { + var packedLen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + packedLen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if packedLen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + packedLen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + var elementCount int + var count int + for _, integer := range dAtA[iNdEx:postIndex] { + if integer < 128 { + count++ + } + } + elementCount = count + if elementCount != 0 && len(x.MaxTopForecastersToReward) == 0 { + x.MaxTopForecastersToReward = make([]uint64, 0, elementCount) + } + for iNdEx < postIndex { + var v uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + x.MaxTopForecastersToReward = append(x.MaxTopForecastersToReward, v) + } + } else { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field MaxTopForecastersToReward", wireType) + } + case 23: + if wireType == 0 { + var v uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + x.MaxTopReputersToReward = append(x.MaxTopReputersToReward, v) + } else if wireType == 2 { + var packedLen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + packedLen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if packedLen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + packedLen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + var elementCount int + var count int + for _, integer := range dAtA[iNdEx:postIndex] { + if integer < 128 { + count++ + } + } + elementCount = count + if elementCount != 0 && len(x.MaxTopReputersToReward) == 0 { + x.MaxTopReputersToReward = make([]uint64, 0, elementCount) + } + for iNdEx < postIndex { + var v uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + x.MaxTopReputersToReward = append(x.MaxTopReputersToReward, v) + } + } else { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field MaxTopReputersToReward", wireType) + } + case 24: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field CreateTopicFee", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + x.CreateTopicFee = append(x.CreateTopicFee, string(dAtA[iNdEx:postIndex])) + iNdEx = postIndex + case 25: + if wireType == 0 { + var v uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + x.GradientDescentMaxIters = append(x.GradientDescentMaxIters, v) + } else if wireType == 2 { + var packedLen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + packedLen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if packedLen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + packedLen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + var elementCount int + var count int + for _, integer := range dAtA[iNdEx:postIndex] { + if integer < 128 { + count++ + } + } + elementCount = count + if elementCount != 0 && len(x.GradientDescentMaxIters) == 0 { + x.GradientDescentMaxIters = make([]uint64, 0, elementCount) + } + for iNdEx < postIndex { + var v uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + x.GradientDescentMaxIters = append(x.GradientDescentMaxIters, v) + } + } else { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field GradientDescentMaxIters", wireType) + } + case 28: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field RegistrationFee", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + x.RegistrationFee = append(x.RegistrationFee, string(dAtA[iNdEx:postIndex])) + iNdEx = postIndex + case 29: + if wireType == 0 { + var v uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + x.DefaultPageLimit = append(x.DefaultPageLimit, v) + } else if wireType == 2 { + var packedLen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + packedLen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if packedLen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + packedLen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + var elementCount int + var count int + for _, integer := range dAtA[iNdEx:postIndex] { + if integer < 128 { + count++ + } + } + elementCount = count + if elementCount != 0 && len(x.DefaultPageLimit) == 0 { + x.DefaultPageLimit = make([]uint64, 0, elementCount) + } + for iNdEx < postIndex { + var v uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + x.DefaultPageLimit = append(x.DefaultPageLimit, v) + } + } else { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field DefaultPageLimit", wireType) + } + case 30: + if wireType == 0 { + var v uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + x.MaxPageLimit = append(x.MaxPageLimit, v) + } else if wireType == 2 { + var packedLen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + packedLen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if packedLen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + packedLen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + var elementCount int + var count int + for _, integer := range dAtA[iNdEx:postIndex] { + if integer < 128 { + count++ + } + } + elementCount = count + if elementCount != 0 && len(x.MaxPageLimit) == 0 { + x.MaxPageLimit = make([]uint64, 0, elementCount) + } + for iNdEx < postIndex { + var v uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + x.MaxPageLimit = append(x.MaxPageLimit, v) + } + } else { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field MaxPageLimit", wireType) + } + case 31: + if wireType == 0 { + var v int64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= int64(b&0x7F) << shift + if b < 0x80 { + break + } + } + x.MinEpochLengthRecordLimit = append(x.MinEpochLengthRecordLimit, v) + } else if wireType == 2 { + var packedLen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + packedLen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if packedLen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + packedLen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + var elementCount int + var count int + for _, integer := range dAtA[iNdEx:postIndex] { + if integer < 128 { + count++ + } + } + elementCount = count + if elementCount != 0 && len(x.MinEpochLengthRecordLimit) == 0 { + x.MinEpochLengthRecordLimit = make([]int64, 0, elementCount) + } + for iNdEx < postIndex { + var v int64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= int64(b&0x7F) << shift + if b < 0x80 { + break + } + } + x.MinEpochLengthRecordLimit = append(x.MinEpochLengthRecordLimit, v) + } + } else { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field MinEpochLengthRecordLimit", wireType) + } + case 32: + if wireType == 0 { + var v uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + x.BlocksPerMonth = append(x.BlocksPerMonth, v) + } else if wireType == 2 { + var packedLen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + packedLen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if packedLen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + packedLen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + var elementCount int + var count int + for _, integer := range dAtA[iNdEx:postIndex] { + if integer < 128 { + count++ + } + } + elementCount = count + if elementCount != 0 && len(x.BlocksPerMonth) == 0 { + x.BlocksPerMonth = make([]uint64, 0, elementCount) + } + for iNdEx < postIndex { + var v uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + x.BlocksPerMonth = append(x.BlocksPerMonth, v) + } + } else { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field BlocksPerMonth", wireType) + } + case 33: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field PRewardInference", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + x.PRewardInference = append(x.PRewardInference, string(dAtA[iNdEx:postIndex])) + iNdEx = postIndex + case 34: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field PRewardForecast", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + x.PRewardForecast = append(x.PRewardForecast, string(dAtA[iNdEx:postIndex])) + iNdEx = postIndex + case 35: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field PRewardReputer", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + x.PRewardReputer = append(x.PRewardReputer, string(dAtA[iNdEx:postIndex])) + iNdEx = postIndex + case 36: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field CRewardInference", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + x.CRewardInference = append(x.CRewardInference, string(dAtA[iNdEx:postIndex])) + iNdEx = postIndex + case 37: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field CRewardForecast", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + x.CRewardForecast = append(x.CRewardForecast, string(dAtA[iNdEx:postIndex])) + iNdEx = postIndex + case 38: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field CNorm", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + x.CNorm = append(x.CNorm, string(dAtA[iNdEx:postIndex])) + iNdEx = postIndex + case 40: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field EpsilonReputer", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + x.EpsilonReputer = append(x.EpsilonReputer, string(dAtA[iNdEx:postIndex])) + iNdEx = postIndex + case 42: + if wireType == 0 { + var v uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + x.HalfMaxProcessStakeRemovalsEndBlock = append(x.HalfMaxProcessStakeRemovalsEndBlock, v) + } else if wireType == 2 { + var packedLen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + packedLen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if packedLen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + packedLen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + var elementCount int + var count int + for _, integer := range dAtA[iNdEx:postIndex] { + if integer < 128 { + count++ + } + } + elementCount = count + if elementCount != 0 && len(x.HalfMaxProcessStakeRemovalsEndBlock) == 0 { + x.HalfMaxProcessStakeRemovalsEndBlock = make([]uint64, 0, elementCount) + } + for iNdEx < postIndex { + var v uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + x.HalfMaxProcessStakeRemovalsEndBlock = append(x.HalfMaxProcessStakeRemovalsEndBlock, v) + } + } else { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field HalfMaxProcessStakeRemovalsEndBlock", wireType) + } + case 43: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field DataSendingFee", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + x.DataSendingFee = append(x.DataSendingFee, string(dAtA[iNdEx:postIndex])) + iNdEx = postIndex + case 44: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field EpsilonSafeDiv", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + x.EpsilonSafeDiv = append(x.EpsilonSafeDiv, string(dAtA[iNdEx:postIndex])) + iNdEx = postIndex + case 45: + if wireType == 0 { + var v uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + x.MaxElementsPerForecast = append(x.MaxElementsPerForecast, v) + } else if wireType == 2 { + var packedLen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + packedLen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if packedLen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + packedLen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + var elementCount int + var count int + for _, integer := range dAtA[iNdEx:postIndex] { + if integer < 128 { + count++ + } + } + elementCount = count + if elementCount != 0 && len(x.MaxElementsPerForecast) == 0 { + x.MaxElementsPerForecast = make([]uint64, 0, elementCount) + } + for iNdEx < postIndex { + var v uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + x.MaxElementsPerForecast = append(x.MaxElementsPerForecast, v) + } + } else { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field MaxElementsPerForecast", wireType) + } + case 46: + if wireType == 0 { + var v uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + x.MaxActiveTopicsPerBlock = append(x.MaxActiveTopicsPerBlock, v) + } else if wireType == 2 { + var packedLen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + packedLen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if packedLen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + packedLen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + var elementCount int + var count int + for _, integer := range dAtA[iNdEx:postIndex] { + if integer < 128 { + count++ + } + } + elementCount = count + if elementCount != 0 && len(x.MaxActiveTopicsPerBlock) == 0 { + x.MaxActiveTopicsPerBlock = make([]uint64, 0, elementCount) + } + for iNdEx < postIndex { + var v uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + x.MaxActiveTopicsPerBlock = append(x.MaxActiveTopicsPerBlock, v) + } + } else { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field MaxActiveTopicsPerBlock", wireType) + } + case 47: + if wireType == 0 { + var v uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + x.MaxStringLength = append(x.MaxStringLength, v) + } else if wireType == 2 { + var packedLen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + packedLen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if packedLen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + packedLen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + var elementCount int + var count int + for _, integer := range dAtA[iNdEx:postIndex] { + if integer < 128 { + count++ + } + } + elementCount = count + if elementCount != 0 && len(x.MaxStringLength) == 0 { + x.MaxStringLength = make([]uint64, 0, elementCount) + } + for iNdEx < postIndex { + var v uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + x.MaxStringLength = append(x.MaxStringLength, v) + } + } else { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field MaxStringLength", wireType) + } + case 48: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field InitialRegretQuantile", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + x.InitialRegretQuantile = append(x.InitialRegretQuantile, string(dAtA[iNdEx:postIndex])) + iNdEx = postIndex + case 49: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field PNormSafeDiv", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + x.PNormSafeDiv = append(x.PNormSafeDiv, string(dAtA[iNdEx:postIndex])) + iNdEx = postIndex + case 50: + if wireType == 0 { + var v int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + x.GlobalWhitelistEnabled = append(x.GlobalWhitelistEnabled, bool(v != 0)) + } else if wireType == 2 { + var packedLen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + packedLen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if packedLen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + packedLen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + var elementCount int + elementCount = packedLen + if elementCount != 0 && len(x.GlobalWhitelistEnabled) == 0 { + x.GlobalWhitelistEnabled = make([]bool, 0, elementCount) + } + for iNdEx < postIndex { + var v int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + x.GlobalWhitelistEnabled = append(x.GlobalWhitelistEnabled, bool(v != 0)) + } + } else { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field GlobalWhitelistEnabled", wireType) + } + case 51: + if wireType == 0 { + var v int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + x.TopicCreatorWhitelistEnabled = append(x.TopicCreatorWhitelistEnabled, bool(v != 0)) + } else if wireType == 2 { + var packedLen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + packedLen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if packedLen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + packedLen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + var elementCount int + elementCount = packedLen + if elementCount != 0 && len(x.TopicCreatorWhitelistEnabled) == 0 { + x.TopicCreatorWhitelistEnabled = make([]bool, 0, elementCount) + } + for iNdEx < postIndex { + var v int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + x.TopicCreatorWhitelistEnabled = append(x.TopicCreatorWhitelistEnabled, bool(v != 0)) + } + } else { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field TopicCreatorWhitelistEnabled", wireType) + } + case 52: + if wireType == 0 { + var v uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + x.MinExperiencedWorkerRegrets = append(x.MinExperiencedWorkerRegrets, v) + } else if wireType == 2 { + var packedLen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + packedLen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if packedLen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + packedLen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + var elementCount int + var count int + for _, integer := range dAtA[iNdEx:postIndex] { + if integer < 128 { + count++ + } + } + elementCount = count + if elementCount != 0 && len(x.MinExperiencedWorkerRegrets) == 0 { + x.MinExperiencedWorkerRegrets = make([]uint64, 0, elementCount) + } + for iNdEx < postIndex { + var v uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + x.MinExperiencedWorkerRegrets = append(x.MinExperiencedWorkerRegrets, v) + } + } else { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field MinExperiencedWorkerRegrets", wireType) + } + case 53: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field InferenceOutlierDetectionThreshold", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + x.InferenceOutlierDetectionThreshold = append(x.InferenceOutlierDetectionThreshold, string(dAtA[iNdEx:postIndex])) + iNdEx = postIndex + case 54: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field InferenceOutlierDetectionAlpha", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + x.InferenceOutlierDetectionAlpha = append(x.InferenceOutlierDetectionAlpha, string(dAtA[iNdEx:postIndex])) + iNdEx = postIndex + case 55: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field LambdaInitialScore", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + x.LambdaInitialScore = append(x.LambdaInitialScore, string(dAtA[iNdEx:postIndex])) + iNdEx = postIndex + case 56: + if wireType == 0 { + var v int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + x.GlobalWorkerWhitelistEnabled = append(x.GlobalWorkerWhitelistEnabled, bool(v != 0)) + } else if wireType == 2 { + var packedLen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + packedLen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if packedLen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + packedLen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + var elementCount int + elementCount = packedLen + if elementCount != 0 && len(x.GlobalWorkerWhitelistEnabled) == 0 { + x.GlobalWorkerWhitelistEnabled = make([]bool, 0, elementCount) + } + for iNdEx < postIndex { + var v int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + x.GlobalWorkerWhitelistEnabled = append(x.GlobalWorkerWhitelistEnabled, bool(v != 0)) + } + } else { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field GlobalWorkerWhitelistEnabled", wireType) + } + case 57: + if wireType == 0 { + var v int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + x.GlobalReputerWhitelistEnabled = append(x.GlobalReputerWhitelistEnabled, bool(v != 0)) + } else if wireType == 2 { + var packedLen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + packedLen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if packedLen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + packedLen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + var elementCount int + elementCount = packedLen + if elementCount != 0 && len(x.GlobalReputerWhitelistEnabled) == 0 { + x.GlobalReputerWhitelistEnabled = make([]bool, 0, elementCount) + } + for iNdEx < postIndex { + var v int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + x.GlobalReputerWhitelistEnabled = append(x.GlobalReputerWhitelistEnabled, bool(v != 0)) + } + } else { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field GlobalReputerWhitelistEnabled", wireType) + } + case 58: + if wireType == 0 { + var v int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + x.GlobalAdminWhitelistAppended = append(x.GlobalAdminWhitelistAppended, bool(v != 0)) + } else if wireType == 2 { + var packedLen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + packedLen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if packedLen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + packedLen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + var elementCount int + elementCount = packedLen + if elementCount != 0 && len(x.GlobalAdminWhitelistAppended) == 0 { + x.GlobalAdminWhitelistAppended = make([]bool, 0, elementCount) + } + for iNdEx < postIndex { + var v int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + x.GlobalAdminWhitelistAppended = append(x.GlobalAdminWhitelistAppended, bool(v != 0)) + } + } else { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field GlobalAdminWhitelistAppended", wireType) + } + case 59: + if wireType == 0 { + var v uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + x.MaxWhitelistInputArrayLength = append(x.MaxWhitelistInputArrayLength, v) + } else if wireType == 2 { + var packedLen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + packedLen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if packedLen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + packedLen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + var elementCount int + var count int + for _, integer := range dAtA[iNdEx:postIndex] { + if integer < 128 { + count++ + } + } + elementCount = count + if elementCount != 0 && len(x.MaxWhitelistInputArrayLength) == 0 { + x.MaxWhitelistInputArrayLength = make([]uint64, 0, elementCount) + } + for iNdEx < postIndex { + var v uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + x.MaxWhitelistInputArrayLength = append(x.MaxWhitelistInputArrayLength, v) + } + } else { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field MaxWhitelistInputArrayLength", wireType) + } + case 60: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field MinWeightThresholdForStdnorm", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + x.MinWeightThresholdForStdnorm = append(x.MinWeightThresholdForStdnorm, string(dAtA[iNdEx:postIndex])) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := runtime.Skip(dAtA[iNdEx:]) + if err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if (iNdEx + skippy) > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + if !options.DiscardUnknown { + x.unknownFields = append(x.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + } + iNdEx += skippy + } + } + + if iNdEx > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, nil + } + return &protoiface.Methods{ + NoUnkeyedLiterals: struct{}{}, + Flags: protoiface.SupportMarshalDeterministic | protoiface.SupportUnmarshalDiscardUnknown, + Size: size, + Marshal: marshal, + Unmarshal: unmarshal, + Merge: nil, + CheckInitialized: nil, + } +} + +var ( + md_UpdateParamsRequest protoreflect.MessageDescriptor + fd_UpdateParamsRequest_sender protoreflect.FieldDescriptor + fd_UpdateParamsRequest_params protoreflect.FieldDescriptor +) + +func init() { + file_emissions_v8_tx_proto_init() + md_UpdateParamsRequest = File_emissions_v8_tx_proto.Messages().ByName("UpdateParamsRequest") + fd_UpdateParamsRequest_sender = md_UpdateParamsRequest.Fields().ByName("sender") + fd_UpdateParamsRequest_params = md_UpdateParamsRequest.Fields().ByName("params") +} + +var _ protoreflect.Message = (*fastReflection_UpdateParamsRequest)(nil) + +type fastReflection_UpdateParamsRequest UpdateParamsRequest + +func (x *UpdateParamsRequest) ProtoReflect() protoreflect.Message { + return (*fastReflection_UpdateParamsRequest)(x) +} + +func (x *UpdateParamsRequest) slowProtoReflect() protoreflect.Message { + mi := &file_emissions_v8_tx_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) +} + +var _fastReflection_UpdateParamsRequest_messageType fastReflection_UpdateParamsRequest_messageType +var _ protoreflect.MessageType = fastReflection_UpdateParamsRequest_messageType{} + +type fastReflection_UpdateParamsRequest_messageType struct{} + +func (x fastReflection_UpdateParamsRequest_messageType) Zero() protoreflect.Message { + return (*fastReflection_UpdateParamsRequest)(nil) +} +func (x fastReflection_UpdateParamsRequest_messageType) New() protoreflect.Message { + return new(fastReflection_UpdateParamsRequest) +} +func (x fastReflection_UpdateParamsRequest_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_UpdateParamsRequest +} + +// Descriptor returns message descriptor, which contains only the protobuf +// type information for the message. +func (x *fastReflection_UpdateParamsRequest) Descriptor() protoreflect.MessageDescriptor { + return md_UpdateParamsRequest +} + +// Type returns the message type, which encapsulates both Go and protobuf +// type information. If the Go type information is not needed, +// it is recommended that the message descriptor be used instead. +func (x *fastReflection_UpdateParamsRequest) Type() protoreflect.MessageType { + return _fastReflection_UpdateParamsRequest_messageType +} + +// New returns a newly allocated and mutable empty message. +func (x *fastReflection_UpdateParamsRequest) New() protoreflect.Message { + return new(fastReflection_UpdateParamsRequest) +} + +// Interface unwraps the message reflection interface and +// returns the underlying ProtoMessage interface. +func (x *fastReflection_UpdateParamsRequest) Interface() protoreflect.ProtoMessage { + return (*UpdateParamsRequest)(x) +} + +// Range iterates over every populated field in an undefined order, +// calling f for each field descriptor and value encountered. +// Range returns immediately if f returns false. +// While iterating, mutating operations may only be performed +// on the current field descriptor. +func (x *fastReflection_UpdateParamsRequest) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { + if x.Sender != "" { + value := protoreflect.ValueOfString(x.Sender) + if !f(fd_UpdateParamsRequest_sender, value) { + return + } + } + if x.Params != nil { + value := protoreflect.ValueOfMessage(x.Params.ProtoReflect()) + if !f(fd_UpdateParamsRequest_params, value) { + return + } + } +} + +// Has reports whether a field is populated. +// +// Some fields have the property of nullability where it is possible to +// distinguish between the default value of a field and whether the field +// was explicitly populated with the default value. Singular message fields, +// member fields of a oneof, and proto2 scalar fields are nullable. Such +// fields are populated only if explicitly set. +// +// In other cases (aside from the nullable cases above), +// a proto3 scalar field is populated if it contains a non-zero value, and +// a repeated field is populated if it is non-empty. +func (x *fastReflection_UpdateParamsRequest) Has(fd protoreflect.FieldDescriptor) bool { + switch fd.FullName() { + case "emissions.v8.UpdateParamsRequest.sender": + return x.Sender != "" + case "emissions.v8.UpdateParamsRequest.params": + return x.Params != nil + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.UpdateParamsRequest")) + } + panic(fmt.Errorf("message emissions.v8.UpdateParamsRequest does not contain field %s", fd.FullName())) + } +} + +// Clear clears the field such that a subsequent Has call reports false. +// +// Clearing an extension field clears both the extension type and value +// associated with the given field number. +// +// Clear is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_UpdateParamsRequest) Clear(fd protoreflect.FieldDescriptor) { + switch fd.FullName() { + case "emissions.v8.UpdateParamsRequest.sender": + x.Sender = "" + case "emissions.v8.UpdateParamsRequest.params": + x.Params = nil + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.UpdateParamsRequest")) + } + panic(fmt.Errorf("message emissions.v8.UpdateParamsRequest does not contain field %s", fd.FullName())) + } +} + +// Get retrieves the value for a field. +// +// For unpopulated scalars, it returns the default value, where +// the default value of a bytes scalar is guaranteed to be a copy. +// For unpopulated composite types, it returns an empty, read-only view +// of the value; to obtain a mutable reference, use Mutable. +func (x *fastReflection_UpdateParamsRequest) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { + switch descriptor.FullName() { + case "emissions.v8.UpdateParamsRequest.sender": + value := x.Sender + return protoreflect.ValueOfString(value) + case "emissions.v8.UpdateParamsRequest.params": + value := x.Params + return protoreflect.ValueOfMessage(value.ProtoReflect()) + default: + if descriptor.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.UpdateParamsRequest")) + } + panic(fmt.Errorf("message emissions.v8.UpdateParamsRequest does not contain field %s", descriptor.FullName())) + } +} + +// Set stores the value for a field. +// +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType. +// When setting a composite type, it is unspecified whether the stored value +// aliases the source's memory in any way. If the composite value is an +// empty, read-only value, then it panics. +// +// Set is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_UpdateParamsRequest) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { + switch fd.FullName() { + case "emissions.v8.UpdateParamsRequest.sender": + x.Sender = value.Interface().(string) + case "emissions.v8.UpdateParamsRequest.params": + x.Params = value.Message().Interface().(*OptionalParams) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.UpdateParamsRequest")) + } + panic(fmt.Errorf("message emissions.v8.UpdateParamsRequest does not contain field %s", fd.FullName())) + } +} + +// Mutable returns a mutable reference to a composite type. +// +// If the field is unpopulated, it may allocate a composite value. +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType +// if not already stored. +// It panics if the field does not contain a composite type. +// +// Mutable is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_UpdateParamsRequest) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.UpdateParamsRequest.params": + if x.Params == nil { + x.Params = new(OptionalParams) + } + return protoreflect.ValueOfMessage(x.Params.ProtoReflect()) + case "emissions.v8.UpdateParamsRequest.sender": + panic(fmt.Errorf("field sender of message emissions.v8.UpdateParamsRequest is not mutable")) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.UpdateParamsRequest")) + } + panic(fmt.Errorf("message emissions.v8.UpdateParamsRequest does not contain field %s", fd.FullName())) + } +} + +// NewField returns a new value that is assignable to the field +// for the given descriptor. For scalars, this returns the default value. +// For lists, maps, and messages, this returns a new, empty, mutable value. +func (x *fastReflection_UpdateParamsRequest) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.UpdateParamsRequest.sender": + return protoreflect.ValueOfString("") + case "emissions.v8.UpdateParamsRequest.params": + m := new(OptionalParams) + return protoreflect.ValueOfMessage(m.ProtoReflect()) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.UpdateParamsRequest")) + } + panic(fmt.Errorf("message emissions.v8.UpdateParamsRequest does not contain field %s", fd.FullName())) + } +} + +// WhichOneof reports which field within the oneof is populated, +// returning nil if none are populated. +// It panics if the oneof descriptor does not belong to this message. +func (x *fastReflection_UpdateParamsRequest) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { + switch d.FullName() { + default: + panic(fmt.Errorf("%s is not a oneof field in emissions.v8.UpdateParamsRequest", d.FullName())) + } + panic("unreachable") +} + +// GetUnknown retrieves the entire list of unknown fields. +// The caller may only mutate the contents of the RawFields +// if the mutated bytes are stored back into the message with SetUnknown. +func (x *fastReflection_UpdateParamsRequest) GetUnknown() protoreflect.RawFields { + return x.unknownFields +} + +// SetUnknown stores an entire list of unknown fields. +// The raw fields must be syntactically valid according to the wire format. +// An implementation may panic if this is not the case. +// Once stored, the caller must not mutate the content of the RawFields. +// An empty RawFields may be passed to clear the fields. +// +// SetUnknown is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_UpdateParamsRequest) SetUnknown(fields protoreflect.RawFields) { + x.unknownFields = fields +} + +// IsValid reports whether the message is valid. +// +// An invalid message is an empty, read-only value. +// +// An invalid message often corresponds to a nil pointer of the concrete +// message type, but the details are implementation dependent. +// Validity is not part of the protobuf data model, and may not +// be preserved in marshaling or other operations. +func (x *fastReflection_UpdateParamsRequest) IsValid() bool { + return x != nil +} + +// ProtoMethods returns optional fastReflectionFeature-path implementations of various operations. +// This method may return nil. +// +// The returned methods type is identical to +// "google.golang.org/protobuf/runtime/protoiface".Methods. +// Consult the protoiface package documentation for details. +func (x *fastReflection_UpdateParamsRequest) ProtoMethods() *protoiface.Methods { + size := func(input protoiface.SizeInput) protoiface.SizeOutput { + x := input.Message.Interface().(*UpdateParamsRequest) + if x == nil { + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: 0, + } + } + options := runtime.SizeInputToOptions(input) + _ = options + var n int + var l int + _ = l + l = len(x.Sender) + if l > 0 { + n += 1 + l + runtime.Sov(uint64(l)) + } + if x.Params != nil { + l = options.Size(x.Params) + n += 1 + l + runtime.Sov(uint64(l)) + } + if x.unknownFields != nil { + n += len(x.unknownFields) + } + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: n, + } + } + + marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { + x := input.Message.Interface().(*UpdateParamsRequest) + if x == nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + options := runtime.MarshalInputToOptions(input) + _ = options + size := options.Size(x) + dAtA := make([]byte, size) + i := len(dAtA) + _ = i + var l int + _ = l + if x.unknownFields != nil { + i -= len(x.unknownFields) + copy(dAtA[i:], x.unknownFields) + } + if x.Params != nil { + encoded, err := options.Marshal(x.Params) + if err != nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = runtime.EncodeVarint(dAtA, i, uint64(len(encoded))) + i-- + dAtA[i] = 0x12 + } + if len(x.Sender) > 0 { + i -= len(x.Sender) + copy(dAtA[i:], x.Sender) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.Sender))) + i-- + dAtA[i] = 0xa + } + if input.Buf != nil { + input.Buf = append(input.Buf, dAtA...) + } else { + input.Buf = dAtA + } + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { + x := input.Message.Interface().(*UpdateParamsRequest) + if x == nil { + return protoiface.UnmarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Flags: input.Flags, + }, nil + } + options := runtime.UnmarshalInputToOptions(input) + _ = options + dAtA := input.Buf + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: UpdateParamsRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: UpdateParamsRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Sender", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + x.Sender = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Params", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + if x.Params == nil { + x.Params = &OptionalParams{} + } + if err := options.Unmarshal(dAtA[iNdEx:postIndex], x.Params); err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := runtime.Skip(dAtA[iNdEx:]) + if err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if (iNdEx + skippy) > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + if !options.DiscardUnknown { + x.unknownFields = append(x.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + } + iNdEx += skippy + } + } + + if iNdEx > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, nil + } + return &protoiface.Methods{ + NoUnkeyedLiterals: struct{}{}, + Flags: protoiface.SupportMarshalDeterministic | protoiface.SupportUnmarshalDiscardUnknown, + Size: size, + Marshal: marshal, + Unmarshal: unmarshal, + Merge: nil, + CheckInitialized: nil, + } +} + +var ( + md_UpdateParamsResponse protoreflect.MessageDescriptor +) + +func init() { + file_emissions_v8_tx_proto_init() + md_UpdateParamsResponse = File_emissions_v8_tx_proto.Messages().ByName("UpdateParamsResponse") +} + +var _ protoreflect.Message = (*fastReflection_UpdateParamsResponse)(nil) + +type fastReflection_UpdateParamsResponse UpdateParamsResponse + +func (x *UpdateParamsResponse) ProtoReflect() protoreflect.Message { + return (*fastReflection_UpdateParamsResponse)(x) +} + +func (x *UpdateParamsResponse) slowProtoReflect() protoreflect.Message { + mi := &file_emissions_v8_tx_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) +} + +var _fastReflection_UpdateParamsResponse_messageType fastReflection_UpdateParamsResponse_messageType +var _ protoreflect.MessageType = fastReflection_UpdateParamsResponse_messageType{} + +type fastReflection_UpdateParamsResponse_messageType struct{} + +func (x fastReflection_UpdateParamsResponse_messageType) Zero() protoreflect.Message { + return (*fastReflection_UpdateParamsResponse)(nil) +} +func (x fastReflection_UpdateParamsResponse_messageType) New() protoreflect.Message { + return new(fastReflection_UpdateParamsResponse) +} +func (x fastReflection_UpdateParamsResponse_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_UpdateParamsResponse +} + +// Descriptor returns message descriptor, which contains only the protobuf +// type information for the message. +func (x *fastReflection_UpdateParamsResponse) Descriptor() protoreflect.MessageDescriptor { + return md_UpdateParamsResponse +} + +// Type returns the message type, which encapsulates both Go and protobuf +// type information. If the Go type information is not needed, +// it is recommended that the message descriptor be used instead. +func (x *fastReflection_UpdateParamsResponse) Type() protoreflect.MessageType { + return _fastReflection_UpdateParamsResponse_messageType +} + +// New returns a newly allocated and mutable empty message. +func (x *fastReflection_UpdateParamsResponse) New() protoreflect.Message { + return new(fastReflection_UpdateParamsResponse) +} + +// Interface unwraps the message reflection interface and +// returns the underlying ProtoMessage interface. +func (x *fastReflection_UpdateParamsResponse) Interface() protoreflect.ProtoMessage { + return (*UpdateParamsResponse)(x) +} + +// Range iterates over every populated field in an undefined order, +// calling f for each field descriptor and value encountered. +// Range returns immediately if f returns false. +// While iterating, mutating operations may only be performed +// on the current field descriptor. +func (x *fastReflection_UpdateParamsResponse) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { +} + +// Has reports whether a field is populated. +// +// Some fields have the property of nullability where it is possible to +// distinguish between the default value of a field and whether the field +// was explicitly populated with the default value. Singular message fields, +// member fields of a oneof, and proto2 scalar fields are nullable. Such +// fields are populated only if explicitly set. +// +// In other cases (aside from the nullable cases above), +// a proto3 scalar field is populated if it contains a non-zero value, and +// a repeated field is populated if it is non-empty. +func (x *fastReflection_UpdateParamsResponse) Has(fd protoreflect.FieldDescriptor) bool { + switch fd.FullName() { + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.UpdateParamsResponse")) + } + panic(fmt.Errorf("message emissions.v8.UpdateParamsResponse does not contain field %s", fd.FullName())) + } +} + +// Clear clears the field such that a subsequent Has call reports false. +// +// Clearing an extension field clears both the extension type and value +// associated with the given field number. +// +// Clear is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_UpdateParamsResponse) Clear(fd protoreflect.FieldDescriptor) { + switch fd.FullName() { + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.UpdateParamsResponse")) + } + panic(fmt.Errorf("message emissions.v8.UpdateParamsResponse does not contain field %s", fd.FullName())) + } +} + +// Get retrieves the value for a field. +// +// For unpopulated scalars, it returns the default value, where +// the default value of a bytes scalar is guaranteed to be a copy. +// For unpopulated composite types, it returns an empty, read-only view +// of the value; to obtain a mutable reference, use Mutable. +func (x *fastReflection_UpdateParamsResponse) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { + switch descriptor.FullName() { + default: + if descriptor.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.UpdateParamsResponse")) + } + panic(fmt.Errorf("message emissions.v8.UpdateParamsResponse does not contain field %s", descriptor.FullName())) + } +} + +// Set stores the value for a field. +// +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType. +// When setting a composite type, it is unspecified whether the stored value +// aliases the source's memory in any way. If the composite value is an +// empty, read-only value, then it panics. +// +// Set is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_UpdateParamsResponse) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { + switch fd.FullName() { + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.UpdateParamsResponse")) + } + panic(fmt.Errorf("message emissions.v8.UpdateParamsResponse does not contain field %s", fd.FullName())) + } +} + +// Mutable returns a mutable reference to a composite type. +// +// If the field is unpopulated, it may allocate a composite value. +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType +// if not already stored. +// It panics if the field does not contain a composite type. +// +// Mutable is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_UpdateParamsResponse) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.UpdateParamsResponse")) + } + panic(fmt.Errorf("message emissions.v8.UpdateParamsResponse does not contain field %s", fd.FullName())) + } +} + +// NewField returns a new value that is assignable to the field +// for the given descriptor. For scalars, this returns the default value. +// For lists, maps, and messages, this returns a new, empty, mutable value. +func (x *fastReflection_UpdateParamsResponse) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.UpdateParamsResponse")) + } + panic(fmt.Errorf("message emissions.v8.UpdateParamsResponse does not contain field %s", fd.FullName())) + } +} + +// WhichOneof reports which field within the oneof is populated, +// returning nil if none are populated. +// It panics if the oneof descriptor does not belong to this message. +func (x *fastReflection_UpdateParamsResponse) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { + switch d.FullName() { + default: + panic(fmt.Errorf("%s is not a oneof field in emissions.v8.UpdateParamsResponse", d.FullName())) + } + panic("unreachable") +} + +// GetUnknown retrieves the entire list of unknown fields. +// The caller may only mutate the contents of the RawFields +// if the mutated bytes are stored back into the message with SetUnknown. +func (x *fastReflection_UpdateParamsResponse) GetUnknown() protoreflect.RawFields { + return x.unknownFields +} + +// SetUnknown stores an entire list of unknown fields. +// The raw fields must be syntactically valid according to the wire format. +// An implementation may panic if this is not the case. +// Once stored, the caller must not mutate the content of the RawFields. +// An empty RawFields may be passed to clear the fields. +// +// SetUnknown is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_UpdateParamsResponse) SetUnknown(fields protoreflect.RawFields) { + x.unknownFields = fields +} + +// IsValid reports whether the message is valid. +// +// An invalid message is an empty, read-only value. +// +// An invalid message often corresponds to a nil pointer of the concrete +// message type, but the details are implementation dependent. +// Validity is not part of the protobuf data model, and may not +// be preserved in marshaling or other operations. +func (x *fastReflection_UpdateParamsResponse) IsValid() bool { + return x != nil +} + +// ProtoMethods returns optional fastReflectionFeature-path implementations of various operations. +// This method may return nil. +// +// The returned methods type is identical to +// "google.golang.org/protobuf/runtime/protoiface".Methods. +// Consult the protoiface package documentation for details. +func (x *fastReflection_UpdateParamsResponse) ProtoMethods() *protoiface.Methods { + size := func(input protoiface.SizeInput) protoiface.SizeOutput { + x := input.Message.Interface().(*UpdateParamsResponse) + if x == nil { + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: 0, + } + } + options := runtime.SizeInputToOptions(input) + _ = options + var n int + var l int + _ = l + if x.unknownFields != nil { + n += len(x.unknownFields) + } + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: n, + } + } + + marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { + x := input.Message.Interface().(*UpdateParamsResponse) + if x == nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + options := runtime.MarshalInputToOptions(input) + _ = options + size := options.Size(x) + dAtA := make([]byte, size) + i := len(dAtA) + _ = i + var l int + _ = l + if x.unknownFields != nil { + i -= len(x.unknownFields) + copy(dAtA[i:], x.unknownFields) + } + if input.Buf != nil { + input.Buf = append(input.Buf, dAtA...) + } else { + input.Buf = dAtA + } + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { + x := input.Message.Interface().(*UpdateParamsResponse) + if x == nil { + return protoiface.UnmarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Flags: input.Flags, + }, nil + } + options := runtime.UnmarshalInputToOptions(input) + _ = options + dAtA := input.Buf + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: UpdateParamsResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: UpdateParamsResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + default: + iNdEx = preIndex + skippy, err := runtime.Skip(dAtA[iNdEx:]) + if err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if (iNdEx + skippy) > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + if !options.DiscardUnknown { + x.unknownFields = append(x.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + } + iNdEx += skippy + } + } + + if iNdEx > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, nil + } + return &protoiface.Methods{ + NoUnkeyedLiterals: struct{}{}, + Flags: protoiface.SupportMarshalDeterministic | protoiface.SupportUnmarshalDiscardUnknown, + Size: size, + Marshal: marshal, + Unmarshal: unmarshal, + Merge: nil, + CheckInitialized: nil, + } +} + +var ( + md_CreateNewTopicRequest protoreflect.MessageDescriptor + fd_CreateNewTopicRequest_creator protoreflect.FieldDescriptor + fd_CreateNewTopicRequest_metadata protoreflect.FieldDescriptor + fd_CreateNewTopicRequest_loss_method protoreflect.FieldDescriptor + fd_CreateNewTopicRequest_epoch_length protoreflect.FieldDescriptor + fd_CreateNewTopicRequest_ground_truth_lag protoreflect.FieldDescriptor + fd_CreateNewTopicRequest_p_norm protoreflect.FieldDescriptor + fd_CreateNewTopicRequest_alpha_regret protoreflect.FieldDescriptor + fd_CreateNewTopicRequest_allow_negative protoreflect.FieldDescriptor + fd_CreateNewTopicRequest_epsilon protoreflect.FieldDescriptor + fd_CreateNewTopicRequest_worker_submission_window protoreflect.FieldDescriptor + fd_CreateNewTopicRequest_merit_sortition_alpha protoreflect.FieldDescriptor + fd_CreateNewTopicRequest_active_inferer_quantile protoreflect.FieldDescriptor + fd_CreateNewTopicRequest_active_forecaster_quantile protoreflect.FieldDescriptor + fd_CreateNewTopicRequest_active_reputer_quantile protoreflect.FieldDescriptor + fd_CreateNewTopicRequest_enable_worker_whitelist protoreflect.FieldDescriptor + fd_CreateNewTopicRequest_enable_reputer_whitelist protoreflect.FieldDescriptor +) + +func init() { + file_emissions_v8_tx_proto_init() + md_CreateNewTopicRequest = File_emissions_v8_tx_proto.Messages().ByName("CreateNewTopicRequest") + fd_CreateNewTopicRequest_creator = md_CreateNewTopicRequest.Fields().ByName("creator") + fd_CreateNewTopicRequest_metadata = md_CreateNewTopicRequest.Fields().ByName("metadata") + fd_CreateNewTopicRequest_loss_method = md_CreateNewTopicRequest.Fields().ByName("loss_method") + fd_CreateNewTopicRequest_epoch_length = md_CreateNewTopicRequest.Fields().ByName("epoch_length") + fd_CreateNewTopicRequest_ground_truth_lag = md_CreateNewTopicRequest.Fields().ByName("ground_truth_lag") + fd_CreateNewTopicRequest_p_norm = md_CreateNewTopicRequest.Fields().ByName("p_norm") + fd_CreateNewTopicRequest_alpha_regret = md_CreateNewTopicRequest.Fields().ByName("alpha_regret") + fd_CreateNewTopicRequest_allow_negative = md_CreateNewTopicRequest.Fields().ByName("allow_negative") + fd_CreateNewTopicRequest_epsilon = md_CreateNewTopicRequest.Fields().ByName("epsilon") + fd_CreateNewTopicRequest_worker_submission_window = md_CreateNewTopicRequest.Fields().ByName("worker_submission_window") + fd_CreateNewTopicRequest_merit_sortition_alpha = md_CreateNewTopicRequest.Fields().ByName("merit_sortition_alpha") + fd_CreateNewTopicRequest_active_inferer_quantile = md_CreateNewTopicRequest.Fields().ByName("active_inferer_quantile") + fd_CreateNewTopicRequest_active_forecaster_quantile = md_CreateNewTopicRequest.Fields().ByName("active_forecaster_quantile") + fd_CreateNewTopicRequest_active_reputer_quantile = md_CreateNewTopicRequest.Fields().ByName("active_reputer_quantile") + fd_CreateNewTopicRequest_enable_worker_whitelist = md_CreateNewTopicRequest.Fields().ByName("enable_worker_whitelist") + fd_CreateNewTopicRequest_enable_reputer_whitelist = md_CreateNewTopicRequest.Fields().ByName("enable_reputer_whitelist") +} + +var _ protoreflect.Message = (*fastReflection_CreateNewTopicRequest)(nil) + +type fastReflection_CreateNewTopicRequest CreateNewTopicRequest + +func (x *CreateNewTopicRequest) ProtoReflect() protoreflect.Message { + return (*fastReflection_CreateNewTopicRequest)(x) +} + +func (x *CreateNewTopicRequest) slowProtoReflect() protoreflect.Message { + mi := &file_emissions_v8_tx_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) +} + +var _fastReflection_CreateNewTopicRequest_messageType fastReflection_CreateNewTopicRequest_messageType +var _ protoreflect.MessageType = fastReflection_CreateNewTopicRequest_messageType{} + +type fastReflection_CreateNewTopicRequest_messageType struct{} + +func (x fastReflection_CreateNewTopicRequest_messageType) Zero() protoreflect.Message { + return (*fastReflection_CreateNewTopicRequest)(nil) +} +func (x fastReflection_CreateNewTopicRequest_messageType) New() protoreflect.Message { + return new(fastReflection_CreateNewTopicRequest) +} +func (x fastReflection_CreateNewTopicRequest_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_CreateNewTopicRequest +} + +// Descriptor returns message descriptor, which contains only the protobuf +// type information for the message. +func (x *fastReflection_CreateNewTopicRequest) Descriptor() protoreflect.MessageDescriptor { + return md_CreateNewTopicRequest +} + +// Type returns the message type, which encapsulates both Go and protobuf +// type information. If the Go type information is not needed, +// it is recommended that the message descriptor be used instead. +func (x *fastReflection_CreateNewTopicRequest) Type() protoreflect.MessageType { + return _fastReflection_CreateNewTopicRequest_messageType +} + +// New returns a newly allocated and mutable empty message. +func (x *fastReflection_CreateNewTopicRequest) New() protoreflect.Message { + return new(fastReflection_CreateNewTopicRequest) +} + +// Interface unwraps the message reflection interface and +// returns the underlying ProtoMessage interface. +func (x *fastReflection_CreateNewTopicRequest) Interface() protoreflect.ProtoMessage { + return (*CreateNewTopicRequest)(x) +} + +// Range iterates over every populated field in an undefined order, +// calling f for each field descriptor and value encountered. +// Range returns immediately if f returns false. +// While iterating, mutating operations may only be performed +// on the current field descriptor. +func (x *fastReflection_CreateNewTopicRequest) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { + if x.Creator != "" { + value := protoreflect.ValueOfString(x.Creator) + if !f(fd_CreateNewTopicRequest_creator, value) { + return + } + } + if x.Metadata != "" { + value := protoreflect.ValueOfString(x.Metadata) + if !f(fd_CreateNewTopicRequest_metadata, value) { + return + } + } + if x.LossMethod != "" { + value := protoreflect.ValueOfString(x.LossMethod) + if !f(fd_CreateNewTopicRequest_loss_method, value) { + return + } + } + if x.EpochLength != int64(0) { + value := protoreflect.ValueOfInt64(x.EpochLength) + if !f(fd_CreateNewTopicRequest_epoch_length, value) { + return + } + } + if x.GroundTruthLag != int64(0) { + value := protoreflect.ValueOfInt64(x.GroundTruthLag) + if !f(fd_CreateNewTopicRequest_ground_truth_lag, value) { + return + } + } + if x.PNorm != "" { + value := protoreflect.ValueOfString(x.PNorm) + if !f(fd_CreateNewTopicRequest_p_norm, value) { + return + } + } + if x.AlphaRegret != "" { + value := protoreflect.ValueOfString(x.AlphaRegret) + if !f(fd_CreateNewTopicRequest_alpha_regret, value) { + return + } + } + if x.AllowNegative != false { + value := protoreflect.ValueOfBool(x.AllowNegative) + if !f(fd_CreateNewTopicRequest_allow_negative, value) { + return + } + } + if x.Epsilon != "" { + value := protoreflect.ValueOfString(x.Epsilon) + if !f(fd_CreateNewTopicRequest_epsilon, value) { + return + } + } + if x.WorkerSubmissionWindow != int64(0) { + value := protoreflect.ValueOfInt64(x.WorkerSubmissionWindow) + if !f(fd_CreateNewTopicRequest_worker_submission_window, value) { + return + } + } + if x.MeritSortitionAlpha != "" { + value := protoreflect.ValueOfString(x.MeritSortitionAlpha) + if !f(fd_CreateNewTopicRequest_merit_sortition_alpha, value) { + return + } + } + if x.ActiveInfererQuantile != "" { + value := protoreflect.ValueOfString(x.ActiveInfererQuantile) + if !f(fd_CreateNewTopicRequest_active_inferer_quantile, value) { + return + } + } + if x.ActiveForecasterQuantile != "" { + value := protoreflect.ValueOfString(x.ActiveForecasterQuantile) + if !f(fd_CreateNewTopicRequest_active_forecaster_quantile, value) { + return + } + } + if x.ActiveReputerQuantile != "" { + value := protoreflect.ValueOfString(x.ActiveReputerQuantile) + if !f(fd_CreateNewTopicRequest_active_reputer_quantile, value) { + return + } + } + if x.EnableWorkerWhitelist != false { + value := protoreflect.ValueOfBool(x.EnableWorkerWhitelist) + if !f(fd_CreateNewTopicRequest_enable_worker_whitelist, value) { + return + } + } + if x.EnableReputerWhitelist != false { + value := protoreflect.ValueOfBool(x.EnableReputerWhitelist) + if !f(fd_CreateNewTopicRequest_enable_reputer_whitelist, value) { + return + } + } +} + +// Has reports whether a field is populated. +// +// Some fields have the property of nullability where it is possible to +// distinguish between the default value of a field and whether the field +// was explicitly populated with the default value. Singular message fields, +// member fields of a oneof, and proto2 scalar fields are nullable. Such +// fields are populated only if explicitly set. +// +// In other cases (aside from the nullable cases above), +// a proto3 scalar field is populated if it contains a non-zero value, and +// a repeated field is populated if it is non-empty. +func (x *fastReflection_CreateNewTopicRequest) Has(fd protoreflect.FieldDescriptor) bool { + switch fd.FullName() { + case "emissions.v8.CreateNewTopicRequest.creator": + return x.Creator != "" + case "emissions.v8.CreateNewTopicRequest.metadata": + return x.Metadata != "" + case "emissions.v8.CreateNewTopicRequest.loss_method": + return x.LossMethod != "" + case "emissions.v8.CreateNewTopicRequest.epoch_length": + return x.EpochLength != int64(0) + case "emissions.v8.CreateNewTopicRequest.ground_truth_lag": + return x.GroundTruthLag != int64(0) + case "emissions.v8.CreateNewTopicRequest.p_norm": + return x.PNorm != "" + case "emissions.v8.CreateNewTopicRequest.alpha_regret": + return x.AlphaRegret != "" + case "emissions.v8.CreateNewTopicRequest.allow_negative": + return x.AllowNegative != false + case "emissions.v8.CreateNewTopicRequest.epsilon": + return x.Epsilon != "" + case "emissions.v8.CreateNewTopicRequest.worker_submission_window": + return x.WorkerSubmissionWindow != int64(0) + case "emissions.v8.CreateNewTopicRequest.merit_sortition_alpha": + return x.MeritSortitionAlpha != "" + case "emissions.v8.CreateNewTopicRequest.active_inferer_quantile": + return x.ActiveInfererQuantile != "" + case "emissions.v8.CreateNewTopicRequest.active_forecaster_quantile": + return x.ActiveForecasterQuantile != "" + case "emissions.v8.CreateNewTopicRequest.active_reputer_quantile": + return x.ActiveReputerQuantile != "" + case "emissions.v8.CreateNewTopicRequest.enable_worker_whitelist": + return x.EnableWorkerWhitelist != false + case "emissions.v8.CreateNewTopicRequest.enable_reputer_whitelist": + return x.EnableReputerWhitelist != false + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.CreateNewTopicRequest")) + } + panic(fmt.Errorf("message emissions.v8.CreateNewTopicRequest does not contain field %s", fd.FullName())) + } +} + +// Clear clears the field such that a subsequent Has call reports false. +// +// Clearing an extension field clears both the extension type and value +// associated with the given field number. +// +// Clear is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_CreateNewTopicRequest) Clear(fd protoreflect.FieldDescriptor) { + switch fd.FullName() { + case "emissions.v8.CreateNewTopicRequest.creator": + x.Creator = "" + case "emissions.v8.CreateNewTopicRequest.metadata": + x.Metadata = "" + case "emissions.v8.CreateNewTopicRequest.loss_method": + x.LossMethod = "" + case "emissions.v8.CreateNewTopicRequest.epoch_length": + x.EpochLength = int64(0) + case "emissions.v8.CreateNewTopicRequest.ground_truth_lag": + x.GroundTruthLag = int64(0) + case "emissions.v8.CreateNewTopicRequest.p_norm": + x.PNorm = "" + case "emissions.v8.CreateNewTopicRequest.alpha_regret": + x.AlphaRegret = "" + case "emissions.v8.CreateNewTopicRequest.allow_negative": + x.AllowNegative = false + case "emissions.v8.CreateNewTopicRequest.epsilon": + x.Epsilon = "" + case "emissions.v8.CreateNewTopicRequest.worker_submission_window": + x.WorkerSubmissionWindow = int64(0) + case "emissions.v8.CreateNewTopicRequest.merit_sortition_alpha": + x.MeritSortitionAlpha = "" + case "emissions.v8.CreateNewTopicRequest.active_inferer_quantile": + x.ActiveInfererQuantile = "" + case "emissions.v8.CreateNewTopicRequest.active_forecaster_quantile": + x.ActiveForecasterQuantile = "" + case "emissions.v8.CreateNewTopicRequest.active_reputer_quantile": + x.ActiveReputerQuantile = "" + case "emissions.v8.CreateNewTopicRequest.enable_worker_whitelist": + x.EnableWorkerWhitelist = false + case "emissions.v8.CreateNewTopicRequest.enable_reputer_whitelist": + x.EnableReputerWhitelist = false + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.CreateNewTopicRequest")) + } + panic(fmt.Errorf("message emissions.v8.CreateNewTopicRequest does not contain field %s", fd.FullName())) + } +} + +// Get retrieves the value for a field. +// +// For unpopulated scalars, it returns the default value, where +// the default value of a bytes scalar is guaranteed to be a copy. +// For unpopulated composite types, it returns an empty, read-only view +// of the value; to obtain a mutable reference, use Mutable. +func (x *fastReflection_CreateNewTopicRequest) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { + switch descriptor.FullName() { + case "emissions.v8.CreateNewTopicRequest.creator": + value := x.Creator + return protoreflect.ValueOfString(value) + case "emissions.v8.CreateNewTopicRequest.metadata": + value := x.Metadata + return protoreflect.ValueOfString(value) + case "emissions.v8.CreateNewTopicRequest.loss_method": + value := x.LossMethod + return protoreflect.ValueOfString(value) + case "emissions.v8.CreateNewTopicRequest.epoch_length": + value := x.EpochLength + return protoreflect.ValueOfInt64(value) + case "emissions.v8.CreateNewTopicRequest.ground_truth_lag": + value := x.GroundTruthLag + return protoreflect.ValueOfInt64(value) + case "emissions.v8.CreateNewTopicRequest.p_norm": + value := x.PNorm + return protoreflect.ValueOfString(value) + case "emissions.v8.CreateNewTopicRequest.alpha_regret": + value := x.AlphaRegret + return protoreflect.ValueOfString(value) + case "emissions.v8.CreateNewTopicRequest.allow_negative": + value := x.AllowNegative + return protoreflect.ValueOfBool(value) + case "emissions.v8.CreateNewTopicRequest.epsilon": + value := x.Epsilon + return protoreflect.ValueOfString(value) + case "emissions.v8.CreateNewTopicRequest.worker_submission_window": + value := x.WorkerSubmissionWindow + return protoreflect.ValueOfInt64(value) + case "emissions.v8.CreateNewTopicRequest.merit_sortition_alpha": + value := x.MeritSortitionAlpha + return protoreflect.ValueOfString(value) + case "emissions.v8.CreateNewTopicRequest.active_inferer_quantile": + value := x.ActiveInfererQuantile + return protoreflect.ValueOfString(value) + case "emissions.v8.CreateNewTopicRequest.active_forecaster_quantile": + value := x.ActiveForecasterQuantile + return protoreflect.ValueOfString(value) + case "emissions.v8.CreateNewTopicRequest.active_reputer_quantile": + value := x.ActiveReputerQuantile + return protoreflect.ValueOfString(value) + case "emissions.v8.CreateNewTopicRequest.enable_worker_whitelist": + value := x.EnableWorkerWhitelist + return protoreflect.ValueOfBool(value) + case "emissions.v8.CreateNewTopicRequest.enable_reputer_whitelist": + value := x.EnableReputerWhitelist + return protoreflect.ValueOfBool(value) + default: + if descriptor.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.CreateNewTopicRequest")) + } + panic(fmt.Errorf("message emissions.v8.CreateNewTopicRequest does not contain field %s", descriptor.FullName())) + } +} + +// Set stores the value for a field. +// +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType. +// When setting a composite type, it is unspecified whether the stored value +// aliases the source's memory in any way. If the composite value is an +// empty, read-only value, then it panics. +// +// Set is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_CreateNewTopicRequest) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { + switch fd.FullName() { + case "emissions.v8.CreateNewTopicRequest.creator": + x.Creator = value.Interface().(string) + case "emissions.v8.CreateNewTopicRequest.metadata": + x.Metadata = value.Interface().(string) + case "emissions.v8.CreateNewTopicRequest.loss_method": + x.LossMethod = value.Interface().(string) + case "emissions.v8.CreateNewTopicRequest.epoch_length": + x.EpochLength = value.Int() + case "emissions.v8.CreateNewTopicRequest.ground_truth_lag": + x.GroundTruthLag = value.Int() + case "emissions.v8.CreateNewTopicRequest.p_norm": + x.PNorm = value.Interface().(string) + case "emissions.v8.CreateNewTopicRequest.alpha_regret": + x.AlphaRegret = value.Interface().(string) + case "emissions.v8.CreateNewTopicRequest.allow_negative": + x.AllowNegative = value.Bool() + case "emissions.v8.CreateNewTopicRequest.epsilon": + x.Epsilon = value.Interface().(string) + case "emissions.v8.CreateNewTopicRequest.worker_submission_window": + x.WorkerSubmissionWindow = value.Int() + case "emissions.v8.CreateNewTopicRequest.merit_sortition_alpha": + x.MeritSortitionAlpha = value.Interface().(string) + case "emissions.v8.CreateNewTopicRequest.active_inferer_quantile": + x.ActiveInfererQuantile = value.Interface().(string) + case "emissions.v8.CreateNewTopicRequest.active_forecaster_quantile": + x.ActiveForecasterQuantile = value.Interface().(string) + case "emissions.v8.CreateNewTopicRequest.active_reputer_quantile": + x.ActiveReputerQuantile = value.Interface().(string) + case "emissions.v8.CreateNewTopicRequest.enable_worker_whitelist": + x.EnableWorkerWhitelist = value.Bool() + case "emissions.v8.CreateNewTopicRequest.enable_reputer_whitelist": + x.EnableReputerWhitelist = value.Bool() + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.CreateNewTopicRequest")) + } + panic(fmt.Errorf("message emissions.v8.CreateNewTopicRequest does not contain field %s", fd.FullName())) + } +} + +// Mutable returns a mutable reference to a composite type. +// +// If the field is unpopulated, it may allocate a composite value. +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType +// if not already stored. +// It panics if the field does not contain a composite type. +// +// Mutable is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_CreateNewTopicRequest) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.CreateNewTopicRequest.creator": + panic(fmt.Errorf("field creator of message emissions.v8.CreateNewTopicRequest is not mutable")) + case "emissions.v8.CreateNewTopicRequest.metadata": + panic(fmt.Errorf("field metadata of message emissions.v8.CreateNewTopicRequest is not mutable")) + case "emissions.v8.CreateNewTopicRequest.loss_method": + panic(fmt.Errorf("field loss_method of message emissions.v8.CreateNewTopicRequest is not mutable")) + case "emissions.v8.CreateNewTopicRequest.epoch_length": + panic(fmt.Errorf("field epoch_length of message emissions.v8.CreateNewTopicRequest is not mutable")) + case "emissions.v8.CreateNewTopicRequest.ground_truth_lag": + panic(fmt.Errorf("field ground_truth_lag of message emissions.v8.CreateNewTopicRequest is not mutable")) + case "emissions.v8.CreateNewTopicRequest.p_norm": + panic(fmt.Errorf("field p_norm of message emissions.v8.CreateNewTopicRequest is not mutable")) + case "emissions.v8.CreateNewTopicRequest.alpha_regret": + panic(fmt.Errorf("field alpha_regret of message emissions.v8.CreateNewTopicRequest is not mutable")) + case "emissions.v8.CreateNewTopicRequest.allow_negative": + panic(fmt.Errorf("field allow_negative of message emissions.v8.CreateNewTopicRequest is not mutable")) + case "emissions.v8.CreateNewTopicRequest.epsilon": + panic(fmt.Errorf("field epsilon of message emissions.v8.CreateNewTopicRequest is not mutable")) + case "emissions.v8.CreateNewTopicRequest.worker_submission_window": + panic(fmt.Errorf("field worker_submission_window of message emissions.v8.CreateNewTopicRequest is not mutable")) + case "emissions.v8.CreateNewTopicRequest.merit_sortition_alpha": + panic(fmt.Errorf("field merit_sortition_alpha of message emissions.v8.CreateNewTopicRequest is not mutable")) + case "emissions.v8.CreateNewTopicRequest.active_inferer_quantile": + panic(fmt.Errorf("field active_inferer_quantile of message emissions.v8.CreateNewTopicRequest is not mutable")) + case "emissions.v8.CreateNewTopicRequest.active_forecaster_quantile": + panic(fmt.Errorf("field active_forecaster_quantile of message emissions.v8.CreateNewTopicRequest is not mutable")) + case "emissions.v8.CreateNewTopicRequest.active_reputer_quantile": + panic(fmt.Errorf("field active_reputer_quantile of message emissions.v8.CreateNewTopicRequest is not mutable")) + case "emissions.v8.CreateNewTopicRequest.enable_worker_whitelist": + panic(fmt.Errorf("field enable_worker_whitelist of message emissions.v8.CreateNewTopicRequest is not mutable")) + case "emissions.v8.CreateNewTopicRequest.enable_reputer_whitelist": + panic(fmt.Errorf("field enable_reputer_whitelist of message emissions.v8.CreateNewTopicRequest is not mutable")) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.CreateNewTopicRequest")) + } + panic(fmt.Errorf("message emissions.v8.CreateNewTopicRequest does not contain field %s", fd.FullName())) + } +} + +// NewField returns a new value that is assignable to the field +// for the given descriptor. For scalars, this returns the default value. +// For lists, maps, and messages, this returns a new, empty, mutable value. +func (x *fastReflection_CreateNewTopicRequest) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.CreateNewTopicRequest.creator": + return protoreflect.ValueOfString("") + case "emissions.v8.CreateNewTopicRequest.metadata": + return protoreflect.ValueOfString("") + case "emissions.v8.CreateNewTopicRequest.loss_method": + return protoreflect.ValueOfString("") + case "emissions.v8.CreateNewTopicRequest.epoch_length": + return protoreflect.ValueOfInt64(int64(0)) + case "emissions.v8.CreateNewTopicRequest.ground_truth_lag": + return protoreflect.ValueOfInt64(int64(0)) + case "emissions.v8.CreateNewTopicRequest.p_norm": + return protoreflect.ValueOfString("") + case "emissions.v8.CreateNewTopicRequest.alpha_regret": + return protoreflect.ValueOfString("") + case "emissions.v8.CreateNewTopicRequest.allow_negative": + return protoreflect.ValueOfBool(false) + case "emissions.v8.CreateNewTopicRequest.epsilon": + return protoreflect.ValueOfString("") + case "emissions.v8.CreateNewTopicRequest.worker_submission_window": + return protoreflect.ValueOfInt64(int64(0)) + case "emissions.v8.CreateNewTopicRequest.merit_sortition_alpha": + return protoreflect.ValueOfString("") + case "emissions.v8.CreateNewTopicRequest.active_inferer_quantile": + return protoreflect.ValueOfString("") + case "emissions.v8.CreateNewTopicRequest.active_forecaster_quantile": + return protoreflect.ValueOfString("") + case "emissions.v8.CreateNewTopicRequest.active_reputer_quantile": + return protoreflect.ValueOfString("") + case "emissions.v8.CreateNewTopicRequest.enable_worker_whitelist": + return protoreflect.ValueOfBool(false) + case "emissions.v8.CreateNewTopicRequest.enable_reputer_whitelist": + return protoreflect.ValueOfBool(false) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.CreateNewTopicRequest")) + } + panic(fmt.Errorf("message emissions.v8.CreateNewTopicRequest does not contain field %s", fd.FullName())) + } +} + +// WhichOneof reports which field within the oneof is populated, +// returning nil if none are populated. +// It panics if the oneof descriptor does not belong to this message. +func (x *fastReflection_CreateNewTopicRequest) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { + switch d.FullName() { + default: + panic(fmt.Errorf("%s is not a oneof field in emissions.v8.CreateNewTopicRequest", d.FullName())) + } + panic("unreachable") +} + +// GetUnknown retrieves the entire list of unknown fields. +// The caller may only mutate the contents of the RawFields +// if the mutated bytes are stored back into the message with SetUnknown. +func (x *fastReflection_CreateNewTopicRequest) GetUnknown() protoreflect.RawFields { + return x.unknownFields +} + +// SetUnknown stores an entire list of unknown fields. +// The raw fields must be syntactically valid according to the wire format. +// An implementation may panic if this is not the case. +// Once stored, the caller must not mutate the content of the RawFields. +// An empty RawFields may be passed to clear the fields. +// +// SetUnknown is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_CreateNewTopicRequest) SetUnknown(fields protoreflect.RawFields) { + x.unknownFields = fields +} + +// IsValid reports whether the message is valid. +// +// An invalid message is an empty, read-only value. +// +// An invalid message often corresponds to a nil pointer of the concrete +// message type, but the details are implementation dependent. +// Validity is not part of the protobuf data model, and may not +// be preserved in marshaling or other operations. +func (x *fastReflection_CreateNewTopicRequest) IsValid() bool { + return x != nil +} + +// ProtoMethods returns optional fastReflectionFeature-path implementations of various operations. +// This method may return nil. +// +// The returned methods type is identical to +// "google.golang.org/protobuf/runtime/protoiface".Methods. +// Consult the protoiface package documentation for details. +func (x *fastReflection_CreateNewTopicRequest) ProtoMethods() *protoiface.Methods { + size := func(input protoiface.SizeInput) protoiface.SizeOutput { + x := input.Message.Interface().(*CreateNewTopicRequest) + if x == nil { + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: 0, + } + } + options := runtime.SizeInputToOptions(input) + _ = options + var n int + var l int + _ = l + l = len(x.Creator) + if l > 0 { + n += 1 + l + runtime.Sov(uint64(l)) + } + l = len(x.Metadata) + if l > 0 { + n += 1 + l + runtime.Sov(uint64(l)) + } + l = len(x.LossMethod) + if l > 0 { + n += 1 + l + runtime.Sov(uint64(l)) + } + if x.EpochLength != 0 { + n += 1 + runtime.Sov(uint64(x.EpochLength)) + } + if x.GroundTruthLag != 0 { + n += 1 + runtime.Sov(uint64(x.GroundTruthLag)) + } + l = len(x.PNorm) + if l > 0 { + n += 1 + l + runtime.Sov(uint64(l)) + } + l = len(x.AlphaRegret) + if l > 0 { + n += 1 + l + runtime.Sov(uint64(l)) + } + if x.AllowNegative { + n += 2 + } + l = len(x.Epsilon) + if l > 0 { + n += 1 + l + runtime.Sov(uint64(l)) + } + if x.WorkerSubmissionWindow != 0 { + n += 1 + runtime.Sov(uint64(x.WorkerSubmissionWindow)) + } + l = len(x.MeritSortitionAlpha) + if l > 0 { + n += 1 + l + runtime.Sov(uint64(l)) + } + l = len(x.ActiveInfererQuantile) + if l > 0 { + n += 2 + l + runtime.Sov(uint64(l)) + } + l = len(x.ActiveForecasterQuantile) + if l > 0 { + n += 2 + l + runtime.Sov(uint64(l)) + } + l = len(x.ActiveReputerQuantile) + if l > 0 { + n += 2 + l + runtime.Sov(uint64(l)) + } + if x.EnableWorkerWhitelist { + n += 3 + } + if x.EnableReputerWhitelist { + n += 3 + } + if x.unknownFields != nil { + n += len(x.unknownFields) + } + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: n, + } + } + + marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { + x := input.Message.Interface().(*CreateNewTopicRequest) + if x == nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + options := runtime.MarshalInputToOptions(input) + _ = options + size := options.Size(x) + dAtA := make([]byte, size) + i := len(dAtA) + _ = i + var l int + _ = l + if x.unknownFields != nil { + i -= len(x.unknownFields) + copy(dAtA[i:], x.unknownFields) + } + if x.EnableReputerWhitelist { + i-- + if x.EnableReputerWhitelist { + dAtA[i] = 1 + } else { + dAtA[i] = 0 + } + i-- + dAtA[i] = 0x1 + i-- + dAtA[i] = 0xa0 + } + if x.EnableWorkerWhitelist { + i-- + if x.EnableWorkerWhitelist { + dAtA[i] = 1 + } else { + dAtA[i] = 0 + } + i-- + dAtA[i] = 0x1 + i-- + dAtA[i] = 0x98 + } + if len(x.ActiveReputerQuantile) > 0 { + i -= len(x.ActiveReputerQuantile) + copy(dAtA[i:], x.ActiveReputerQuantile) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.ActiveReputerQuantile))) + i-- + dAtA[i] = 0x1 + i-- + dAtA[i] = 0x92 + } + if len(x.ActiveForecasterQuantile) > 0 { + i -= len(x.ActiveForecasterQuantile) + copy(dAtA[i:], x.ActiveForecasterQuantile) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.ActiveForecasterQuantile))) + i-- + dAtA[i] = 0x1 + i-- + dAtA[i] = 0x8a + } + if len(x.ActiveInfererQuantile) > 0 { + i -= len(x.ActiveInfererQuantile) + copy(dAtA[i:], x.ActiveInfererQuantile) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.ActiveInfererQuantile))) + i-- + dAtA[i] = 0x1 + i-- + dAtA[i] = 0x82 + } + if len(x.MeritSortitionAlpha) > 0 { + i -= len(x.MeritSortitionAlpha) + copy(dAtA[i:], x.MeritSortitionAlpha) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.MeritSortitionAlpha))) + i-- + dAtA[i] = 0x7a + } + if x.WorkerSubmissionWindow != 0 { + i = runtime.EncodeVarint(dAtA, i, uint64(x.WorkerSubmissionWindow)) + i-- + dAtA[i] = 0x70 + } + if len(x.Epsilon) > 0 { + i -= len(x.Epsilon) + copy(dAtA[i:], x.Epsilon) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.Epsilon))) + i-- + dAtA[i] = 0x6a + } + if x.AllowNegative { + i-- + if x.AllowNegative { + dAtA[i] = 1 + } else { + dAtA[i] = 0 + } + i-- + dAtA[i] = 0x60 + } + if len(x.AlphaRegret) > 0 { + i -= len(x.AlphaRegret) + copy(dAtA[i:], x.AlphaRegret) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.AlphaRegret))) + i-- + dAtA[i] = 0x5a + } + if len(x.PNorm) > 0 { + i -= len(x.PNorm) + copy(dAtA[i:], x.PNorm) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.PNorm))) + i-- + dAtA[i] = 0x52 + } + if x.GroundTruthLag != 0 { + i = runtime.EncodeVarint(dAtA, i, uint64(x.GroundTruthLag)) + i-- + dAtA[i] = 0x40 + } + if x.EpochLength != 0 { + i = runtime.EncodeVarint(dAtA, i, uint64(x.EpochLength)) + i-- + dAtA[i] = 0x38 + } + if len(x.LossMethod) > 0 { + i -= len(x.LossMethod) + copy(dAtA[i:], x.LossMethod) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.LossMethod))) + i-- + dAtA[i] = 0x22 + } + if len(x.Metadata) > 0 { + i -= len(x.Metadata) + copy(dAtA[i:], x.Metadata) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.Metadata))) + i-- + dAtA[i] = 0x12 + } + if len(x.Creator) > 0 { + i -= len(x.Creator) + copy(dAtA[i:], x.Creator) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.Creator))) + i-- + dAtA[i] = 0xa + } + if input.Buf != nil { + input.Buf = append(input.Buf, dAtA...) + } else { + input.Buf = dAtA + } + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { + x := input.Message.Interface().(*CreateNewTopicRequest) + if x == nil { + return protoiface.UnmarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Flags: input.Flags, + }, nil + } + options := runtime.UnmarshalInputToOptions(input) + _ = options + dAtA := input.Buf + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: CreateNewTopicRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: CreateNewTopicRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Creator", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + x.Creator = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Metadata", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + x.Metadata = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 4: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field LossMethod", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + x.LossMethod = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 7: + if wireType != 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field EpochLength", wireType) + } + x.EpochLength = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + x.EpochLength |= int64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 8: + if wireType != 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field GroundTruthLag", wireType) + } + x.GroundTruthLag = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + x.GroundTruthLag |= int64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 10: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field PNorm", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + x.PNorm = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 11: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field AlphaRegret", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + x.AlphaRegret = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 12: + if wireType != 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field AllowNegative", wireType) + } + var v int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + x.AllowNegative = bool(v != 0) + case 13: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Epsilon", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + x.Epsilon = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 14: + if wireType != 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field WorkerSubmissionWindow", wireType) + } + x.WorkerSubmissionWindow = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + x.WorkerSubmissionWindow |= int64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 15: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field MeritSortitionAlpha", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + x.MeritSortitionAlpha = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 16: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field ActiveInfererQuantile", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + x.ActiveInfererQuantile = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 17: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field ActiveForecasterQuantile", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + x.ActiveForecasterQuantile = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 18: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field ActiveReputerQuantile", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + x.ActiveReputerQuantile = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 19: + if wireType != 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field EnableWorkerWhitelist", wireType) + } + var v int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + x.EnableWorkerWhitelist = bool(v != 0) + case 20: + if wireType != 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field EnableReputerWhitelist", wireType) + } + var v int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + x.EnableReputerWhitelist = bool(v != 0) + default: + iNdEx = preIndex + skippy, err := runtime.Skip(dAtA[iNdEx:]) + if err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if (iNdEx + skippy) > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + if !options.DiscardUnknown { + x.unknownFields = append(x.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + } + iNdEx += skippy + } + } + + if iNdEx > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, nil + } + return &protoiface.Methods{ + NoUnkeyedLiterals: struct{}{}, + Flags: protoiface.SupportMarshalDeterministic | protoiface.SupportUnmarshalDiscardUnknown, + Size: size, + Marshal: marshal, + Unmarshal: unmarshal, + Merge: nil, + CheckInitialized: nil, + } +} + +var ( + md_CreateNewTopicResponse protoreflect.MessageDescriptor + fd_CreateNewTopicResponse_topic_id protoreflect.FieldDescriptor +) + +func init() { + file_emissions_v8_tx_proto_init() + md_CreateNewTopicResponse = File_emissions_v8_tx_proto.Messages().ByName("CreateNewTopicResponse") + fd_CreateNewTopicResponse_topic_id = md_CreateNewTopicResponse.Fields().ByName("topic_id") +} + +var _ protoreflect.Message = (*fastReflection_CreateNewTopicResponse)(nil) + +type fastReflection_CreateNewTopicResponse CreateNewTopicResponse + +func (x *CreateNewTopicResponse) ProtoReflect() protoreflect.Message { + return (*fastReflection_CreateNewTopicResponse)(x) +} + +func (x *CreateNewTopicResponse) slowProtoReflect() protoreflect.Message { + mi := &file_emissions_v8_tx_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) +} + +var _fastReflection_CreateNewTopicResponse_messageType fastReflection_CreateNewTopicResponse_messageType +var _ protoreflect.MessageType = fastReflection_CreateNewTopicResponse_messageType{} + +type fastReflection_CreateNewTopicResponse_messageType struct{} + +func (x fastReflection_CreateNewTopicResponse_messageType) Zero() protoreflect.Message { + return (*fastReflection_CreateNewTopicResponse)(nil) +} +func (x fastReflection_CreateNewTopicResponse_messageType) New() protoreflect.Message { + return new(fastReflection_CreateNewTopicResponse) +} +func (x fastReflection_CreateNewTopicResponse_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_CreateNewTopicResponse +} + +// Descriptor returns message descriptor, which contains only the protobuf +// type information for the message. +func (x *fastReflection_CreateNewTopicResponse) Descriptor() protoreflect.MessageDescriptor { + return md_CreateNewTopicResponse +} + +// Type returns the message type, which encapsulates both Go and protobuf +// type information. If the Go type information is not needed, +// it is recommended that the message descriptor be used instead. +func (x *fastReflection_CreateNewTopicResponse) Type() protoreflect.MessageType { + return _fastReflection_CreateNewTopicResponse_messageType +} + +// New returns a newly allocated and mutable empty message. +func (x *fastReflection_CreateNewTopicResponse) New() protoreflect.Message { + return new(fastReflection_CreateNewTopicResponse) +} + +// Interface unwraps the message reflection interface and +// returns the underlying ProtoMessage interface. +func (x *fastReflection_CreateNewTopicResponse) Interface() protoreflect.ProtoMessage { + return (*CreateNewTopicResponse)(x) +} + +// Range iterates over every populated field in an undefined order, +// calling f for each field descriptor and value encountered. +// Range returns immediately if f returns false. +// While iterating, mutating operations may only be performed +// on the current field descriptor. +func (x *fastReflection_CreateNewTopicResponse) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { + if x.TopicId != uint64(0) { + value := protoreflect.ValueOfUint64(x.TopicId) + if !f(fd_CreateNewTopicResponse_topic_id, value) { + return + } + } +} + +// Has reports whether a field is populated. +// +// Some fields have the property of nullability where it is possible to +// distinguish between the default value of a field and whether the field +// was explicitly populated with the default value. Singular message fields, +// member fields of a oneof, and proto2 scalar fields are nullable. Such +// fields are populated only if explicitly set. +// +// In other cases (aside from the nullable cases above), +// a proto3 scalar field is populated if it contains a non-zero value, and +// a repeated field is populated if it is non-empty. +func (x *fastReflection_CreateNewTopicResponse) Has(fd protoreflect.FieldDescriptor) bool { + switch fd.FullName() { + case "emissions.v8.CreateNewTopicResponse.topic_id": + return x.TopicId != uint64(0) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.CreateNewTopicResponse")) + } + panic(fmt.Errorf("message emissions.v8.CreateNewTopicResponse does not contain field %s", fd.FullName())) + } +} + +// Clear clears the field such that a subsequent Has call reports false. +// +// Clearing an extension field clears both the extension type and value +// associated with the given field number. +// +// Clear is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_CreateNewTopicResponse) Clear(fd protoreflect.FieldDescriptor) { + switch fd.FullName() { + case "emissions.v8.CreateNewTopicResponse.topic_id": + x.TopicId = uint64(0) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.CreateNewTopicResponse")) + } + panic(fmt.Errorf("message emissions.v8.CreateNewTopicResponse does not contain field %s", fd.FullName())) + } +} + +// Get retrieves the value for a field. +// +// For unpopulated scalars, it returns the default value, where +// the default value of a bytes scalar is guaranteed to be a copy. +// For unpopulated composite types, it returns an empty, read-only view +// of the value; to obtain a mutable reference, use Mutable. +func (x *fastReflection_CreateNewTopicResponse) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { + switch descriptor.FullName() { + case "emissions.v8.CreateNewTopicResponse.topic_id": + value := x.TopicId + return protoreflect.ValueOfUint64(value) + default: + if descriptor.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.CreateNewTopicResponse")) + } + panic(fmt.Errorf("message emissions.v8.CreateNewTopicResponse does not contain field %s", descriptor.FullName())) + } +} + +// Set stores the value for a field. +// +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType. +// When setting a composite type, it is unspecified whether the stored value +// aliases the source's memory in any way. If the composite value is an +// empty, read-only value, then it panics. +// +// Set is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_CreateNewTopicResponse) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { + switch fd.FullName() { + case "emissions.v8.CreateNewTopicResponse.topic_id": + x.TopicId = value.Uint() + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.CreateNewTopicResponse")) + } + panic(fmt.Errorf("message emissions.v8.CreateNewTopicResponse does not contain field %s", fd.FullName())) + } +} + +// Mutable returns a mutable reference to a composite type. +// +// If the field is unpopulated, it may allocate a composite value. +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType +// if not already stored. +// It panics if the field does not contain a composite type. +// +// Mutable is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_CreateNewTopicResponse) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.CreateNewTopicResponse.topic_id": + panic(fmt.Errorf("field topic_id of message emissions.v8.CreateNewTopicResponse is not mutable")) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.CreateNewTopicResponse")) + } + panic(fmt.Errorf("message emissions.v8.CreateNewTopicResponse does not contain field %s", fd.FullName())) + } +} + +// NewField returns a new value that is assignable to the field +// for the given descriptor. For scalars, this returns the default value. +// For lists, maps, and messages, this returns a new, empty, mutable value. +func (x *fastReflection_CreateNewTopicResponse) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.CreateNewTopicResponse.topic_id": + return protoreflect.ValueOfUint64(uint64(0)) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.CreateNewTopicResponse")) + } + panic(fmt.Errorf("message emissions.v8.CreateNewTopicResponse does not contain field %s", fd.FullName())) + } +} + +// WhichOneof reports which field within the oneof is populated, +// returning nil if none are populated. +// It panics if the oneof descriptor does not belong to this message. +func (x *fastReflection_CreateNewTopicResponse) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { + switch d.FullName() { + default: + panic(fmt.Errorf("%s is not a oneof field in emissions.v8.CreateNewTopicResponse", d.FullName())) + } + panic("unreachable") +} + +// GetUnknown retrieves the entire list of unknown fields. +// The caller may only mutate the contents of the RawFields +// if the mutated bytes are stored back into the message with SetUnknown. +func (x *fastReflection_CreateNewTopicResponse) GetUnknown() protoreflect.RawFields { + return x.unknownFields +} + +// SetUnknown stores an entire list of unknown fields. +// The raw fields must be syntactically valid according to the wire format. +// An implementation may panic if this is not the case. +// Once stored, the caller must not mutate the content of the RawFields. +// An empty RawFields may be passed to clear the fields. +// +// SetUnknown is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_CreateNewTopicResponse) SetUnknown(fields protoreflect.RawFields) { + x.unknownFields = fields +} + +// IsValid reports whether the message is valid. +// +// An invalid message is an empty, read-only value. +// +// An invalid message often corresponds to a nil pointer of the concrete +// message type, but the details are implementation dependent. +// Validity is not part of the protobuf data model, and may not +// be preserved in marshaling or other operations. +func (x *fastReflection_CreateNewTopicResponse) IsValid() bool { + return x != nil +} + +// ProtoMethods returns optional fastReflectionFeature-path implementations of various operations. +// This method may return nil. +// +// The returned methods type is identical to +// "google.golang.org/protobuf/runtime/protoiface".Methods. +// Consult the protoiface package documentation for details. +func (x *fastReflection_CreateNewTopicResponse) ProtoMethods() *protoiface.Methods { + size := func(input protoiface.SizeInput) protoiface.SizeOutput { + x := input.Message.Interface().(*CreateNewTopicResponse) + if x == nil { + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: 0, + } + } + options := runtime.SizeInputToOptions(input) + _ = options + var n int + var l int + _ = l + if x.TopicId != 0 { + n += 1 + runtime.Sov(uint64(x.TopicId)) + } + if x.unknownFields != nil { + n += len(x.unknownFields) + } + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: n, + } + } + + marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { + x := input.Message.Interface().(*CreateNewTopicResponse) + if x == nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + options := runtime.MarshalInputToOptions(input) + _ = options + size := options.Size(x) + dAtA := make([]byte, size) + i := len(dAtA) + _ = i + var l int + _ = l + if x.unknownFields != nil { + i -= len(x.unknownFields) + copy(dAtA[i:], x.unknownFields) + } + if x.TopicId != 0 { + i = runtime.EncodeVarint(dAtA, i, uint64(x.TopicId)) + i-- + dAtA[i] = 0x8 + } + if input.Buf != nil { + input.Buf = append(input.Buf, dAtA...) + } else { + input.Buf = dAtA + } + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { + x := input.Message.Interface().(*CreateNewTopicResponse) + if x == nil { + return protoiface.UnmarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Flags: input.Flags, + }, nil + } + options := runtime.UnmarshalInputToOptions(input) + _ = options + dAtA := input.Buf + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: CreateNewTopicResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: CreateNewTopicResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field TopicId", wireType) + } + x.TopicId = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + x.TopicId |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + default: + iNdEx = preIndex + skippy, err := runtime.Skip(dAtA[iNdEx:]) + if err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if (iNdEx + skippy) > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + if !options.DiscardUnknown { + x.unknownFields = append(x.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + } + iNdEx += skippy + } + } + + if iNdEx > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, nil + } + return &protoiface.Methods{ + NoUnkeyedLiterals: struct{}{}, + Flags: protoiface.SupportMarshalDeterministic | protoiface.SupportUnmarshalDiscardUnknown, + Size: size, + Marshal: marshal, + Unmarshal: unmarshal, + Merge: nil, + CheckInitialized: nil, + } +} + +var ( + md_InsertReputerPayloadRequest protoreflect.MessageDescriptor + fd_InsertReputerPayloadRequest_sender protoreflect.FieldDescriptor + fd_InsertReputerPayloadRequest_reputer_value_bundle protoreflect.FieldDescriptor +) + +func init() { + file_emissions_v8_tx_proto_init() + md_InsertReputerPayloadRequest = File_emissions_v8_tx_proto.Messages().ByName("InsertReputerPayloadRequest") + fd_InsertReputerPayloadRequest_sender = md_InsertReputerPayloadRequest.Fields().ByName("sender") + fd_InsertReputerPayloadRequest_reputer_value_bundle = md_InsertReputerPayloadRequest.Fields().ByName("reputer_value_bundle") +} + +var _ protoreflect.Message = (*fastReflection_InsertReputerPayloadRequest)(nil) + +type fastReflection_InsertReputerPayloadRequest InsertReputerPayloadRequest + +func (x *InsertReputerPayloadRequest) ProtoReflect() protoreflect.Message { + return (*fastReflection_InsertReputerPayloadRequest)(x) +} + +func (x *InsertReputerPayloadRequest) slowProtoReflect() protoreflect.Message { + mi := &file_emissions_v8_tx_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) +} + +var _fastReflection_InsertReputerPayloadRequest_messageType fastReflection_InsertReputerPayloadRequest_messageType +var _ protoreflect.MessageType = fastReflection_InsertReputerPayloadRequest_messageType{} + +type fastReflection_InsertReputerPayloadRequest_messageType struct{} + +func (x fastReflection_InsertReputerPayloadRequest_messageType) Zero() protoreflect.Message { + return (*fastReflection_InsertReputerPayloadRequest)(nil) +} +func (x fastReflection_InsertReputerPayloadRequest_messageType) New() protoreflect.Message { + return new(fastReflection_InsertReputerPayloadRequest) +} +func (x fastReflection_InsertReputerPayloadRequest_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_InsertReputerPayloadRequest +} + +// Descriptor returns message descriptor, which contains only the protobuf +// type information for the message. +func (x *fastReflection_InsertReputerPayloadRequest) Descriptor() protoreflect.MessageDescriptor { + return md_InsertReputerPayloadRequest +} + +// Type returns the message type, which encapsulates both Go and protobuf +// type information. If the Go type information is not needed, +// it is recommended that the message descriptor be used instead. +func (x *fastReflection_InsertReputerPayloadRequest) Type() protoreflect.MessageType { + return _fastReflection_InsertReputerPayloadRequest_messageType +} + +// New returns a newly allocated and mutable empty message. +func (x *fastReflection_InsertReputerPayloadRequest) New() protoreflect.Message { + return new(fastReflection_InsertReputerPayloadRequest) +} + +// Interface unwraps the message reflection interface and +// returns the underlying ProtoMessage interface. +func (x *fastReflection_InsertReputerPayloadRequest) Interface() protoreflect.ProtoMessage { + return (*InsertReputerPayloadRequest)(x) +} + +// Range iterates over every populated field in an undefined order, +// calling f for each field descriptor and value encountered. +// Range returns immediately if f returns false. +// While iterating, mutating operations may only be performed +// on the current field descriptor. +func (x *fastReflection_InsertReputerPayloadRequest) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { + if x.Sender != "" { + value := protoreflect.ValueOfString(x.Sender) + if !f(fd_InsertReputerPayloadRequest_sender, value) { + return + } + } + if x.ReputerValueBundle != nil { + value := protoreflect.ValueOfMessage(x.ReputerValueBundle.ProtoReflect()) + if !f(fd_InsertReputerPayloadRequest_reputer_value_bundle, value) { + return + } + } +} + +// Has reports whether a field is populated. +// +// Some fields have the property of nullability where it is possible to +// distinguish between the default value of a field and whether the field +// was explicitly populated with the default value. Singular message fields, +// member fields of a oneof, and proto2 scalar fields are nullable. Such +// fields are populated only if explicitly set. +// +// In other cases (aside from the nullable cases above), +// a proto3 scalar field is populated if it contains a non-zero value, and +// a repeated field is populated if it is non-empty. +func (x *fastReflection_InsertReputerPayloadRequest) Has(fd protoreflect.FieldDescriptor) bool { + switch fd.FullName() { + case "emissions.v8.InsertReputerPayloadRequest.sender": + return x.Sender != "" + case "emissions.v8.InsertReputerPayloadRequest.reputer_value_bundle": + return x.ReputerValueBundle != nil + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.InsertReputerPayloadRequest")) + } + panic(fmt.Errorf("message emissions.v8.InsertReputerPayloadRequest does not contain field %s", fd.FullName())) + } +} + +// Clear clears the field such that a subsequent Has call reports false. +// +// Clearing an extension field clears both the extension type and value +// associated with the given field number. +// +// Clear is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_InsertReputerPayloadRequest) Clear(fd protoreflect.FieldDescriptor) { + switch fd.FullName() { + case "emissions.v8.InsertReputerPayloadRequest.sender": + x.Sender = "" + case "emissions.v8.InsertReputerPayloadRequest.reputer_value_bundle": + x.ReputerValueBundle = nil + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.InsertReputerPayloadRequest")) + } + panic(fmt.Errorf("message emissions.v8.InsertReputerPayloadRequest does not contain field %s", fd.FullName())) + } +} + +// Get retrieves the value for a field. +// +// For unpopulated scalars, it returns the default value, where +// the default value of a bytes scalar is guaranteed to be a copy. +// For unpopulated composite types, it returns an empty, read-only view +// of the value; to obtain a mutable reference, use Mutable. +func (x *fastReflection_InsertReputerPayloadRequest) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { + switch descriptor.FullName() { + case "emissions.v8.InsertReputerPayloadRequest.sender": + value := x.Sender + return protoreflect.ValueOfString(value) + case "emissions.v8.InsertReputerPayloadRequest.reputer_value_bundle": + value := x.ReputerValueBundle + return protoreflect.ValueOfMessage(value.ProtoReflect()) + default: + if descriptor.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.InsertReputerPayloadRequest")) + } + panic(fmt.Errorf("message emissions.v8.InsertReputerPayloadRequest does not contain field %s", descriptor.FullName())) + } +} + +// Set stores the value for a field. +// +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType. +// When setting a composite type, it is unspecified whether the stored value +// aliases the source's memory in any way. If the composite value is an +// empty, read-only value, then it panics. +// +// Set is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_InsertReputerPayloadRequest) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { + switch fd.FullName() { + case "emissions.v8.InsertReputerPayloadRequest.sender": + x.Sender = value.Interface().(string) + case "emissions.v8.InsertReputerPayloadRequest.reputer_value_bundle": + x.ReputerValueBundle = value.Message().Interface().(*v3.ReputerValueBundle) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.InsertReputerPayloadRequest")) + } + panic(fmt.Errorf("message emissions.v8.InsertReputerPayloadRequest does not contain field %s", fd.FullName())) + } +} + +// Mutable returns a mutable reference to a composite type. +// +// If the field is unpopulated, it may allocate a composite value. +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType +// if not already stored. +// It panics if the field does not contain a composite type. +// +// Mutable is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_InsertReputerPayloadRequest) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.InsertReputerPayloadRequest.reputer_value_bundle": + if x.ReputerValueBundle == nil { + x.ReputerValueBundle = new(v3.ReputerValueBundle) + } + return protoreflect.ValueOfMessage(x.ReputerValueBundle.ProtoReflect()) + case "emissions.v8.InsertReputerPayloadRequest.sender": + panic(fmt.Errorf("field sender of message emissions.v8.InsertReputerPayloadRequest is not mutable")) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.InsertReputerPayloadRequest")) + } + panic(fmt.Errorf("message emissions.v8.InsertReputerPayloadRequest does not contain field %s", fd.FullName())) + } +} + +// NewField returns a new value that is assignable to the field +// for the given descriptor. For scalars, this returns the default value. +// For lists, maps, and messages, this returns a new, empty, mutable value. +func (x *fastReflection_InsertReputerPayloadRequest) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.InsertReputerPayloadRequest.sender": + return protoreflect.ValueOfString("") + case "emissions.v8.InsertReputerPayloadRequest.reputer_value_bundle": + m := new(v3.ReputerValueBundle) + return protoreflect.ValueOfMessage(m.ProtoReflect()) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.InsertReputerPayloadRequest")) + } + panic(fmt.Errorf("message emissions.v8.InsertReputerPayloadRequest does not contain field %s", fd.FullName())) + } +} + +// WhichOneof reports which field within the oneof is populated, +// returning nil if none are populated. +// It panics if the oneof descriptor does not belong to this message. +func (x *fastReflection_InsertReputerPayloadRequest) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { + switch d.FullName() { + default: + panic(fmt.Errorf("%s is not a oneof field in emissions.v8.InsertReputerPayloadRequest", d.FullName())) + } + panic("unreachable") +} + +// GetUnknown retrieves the entire list of unknown fields. +// The caller may only mutate the contents of the RawFields +// if the mutated bytes are stored back into the message with SetUnknown. +func (x *fastReflection_InsertReputerPayloadRequest) GetUnknown() protoreflect.RawFields { + return x.unknownFields +} + +// SetUnknown stores an entire list of unknown fields. +// The raw fields must be syntactically valid according to the wire format. +// An implementation may panic if this is not the case. +// Once stored, the caller must not mutate the content of the RawFields. +// An empty RawFields may be passed to clear the fields. +// +// SetUnknown is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_InsertReputerPayloadRequest) SetUnknown(fields protoreflect.RawFields) { + x.unknownFields = fields +} + +// IsValid reports whether the message is valid. +// +// An invalid message is an empty, read-only value. +// +// An invalid message often corresponds to a nil pointer of the concrete +// message type, but the details are implementation dependent. +// Validity is not part of the protobuf data model, and may not +// be preserved in marshaling or other operations. +func (x *fastReflection_InsertReputerPayloadRequest) IsValid() bool { + return x != nil +} + +// ProtoMethods returns optional fastReflectionFeature-path implementations of various operations. +// This method may return nil. +// +// The returned methods type is identical to +// "google.golang.org/protobuf/runtime/protoiface".Methods. +// Consult the protoiface package documentation for details. +func (x *fastReflection_InsertReputerPayloadRequest) ProtoMethods() *protoiface.Methods { + size := func(input protoiface.SizeInput) protoiface.SizeOutput { + x := input.Message.Interface().(*InsertReputerPayloadRequest) + if x == nil { + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: 0, + } + } + options := runtime.SizeInputToOptions(input) + _ = options + var n int + var l int + _ = l + l = len(x.Sender) + if l > 0 { + n += 1 + l + runtime.Sov(uint64(l)) + } + if x.ReputerValueBundle != nil { + l = options.Size(x.ReputerValueBundle) + n += 1 + l + runtime.Sov(uint64(l)) + } + if x.unknownFields != nil { + n += len(x.unknownFields) + } + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: n, + } + } + + marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { + x := input.Message.Interface().(*InsertReputerPayloadRequest) + if x == nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + options := runtime.MarshalInputToOptions(input) + _ = options + size := options.Size(x) + dAtA := make([]byte, size) + i := len(dAtA) + _ = i + var l int + _ = l + if x.unknownFields != nil { + i -= len(x.unknownFields) + copy(dAtA[i:], x.unknownFields) + } + if x.ReputerValueBundle != nil { + encoded, err := options.Marshal(x.ReputerValueBundle) + if err != nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = runtime.EncodeVarint(dAtA, i, uint64(len(encoded))) + i-- + dAtA[i] = 0x12 + } + if len(x.Sender) > 0 { + i -= len(x.Sender) + copy(dAtA[i:], x.Sender) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.Sender))) + i-- + dAtA[i] = 0xa + } + if input.Buf != nil { + input.Buf = append(input.Buf, dAtA...) + } else { + input.Buf = dAtA + } + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { + x := input.Message.Interface().(*InsertReputerPayloadRequest) + if x == nil { + return protoiface.UnmarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Flags: input.Flags, + }, nil + } + options := runtime.UnmarshalInputToOptions(input) + _ = options + dAtA := input.Buf + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: InsertReputerPayloadRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: InsertReputerPayloadRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Sender", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + x.Sender = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field ReputerValueBundle", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + if x.ReputerValueBundle == nil { + x.ReputerValueBundle = &v3.ReputerValueBundle{} + } + if err := options.Unmarshal(dAtA[iNdEx:postIndex], x.ReputerValueBundle); err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := runtime.Skip(dAtA[iNdEx:]) + if err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if (iNdEx + skippy) > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + if !options.DiscardUnknown { + x.unknownFields = append(x.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + } + iNdEx += skippy + } + } + + if iNdEx > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, nil + } + return &protoiface.Methods{ + NoUnkeyedLiterals: struct{}{}, + Flags: protoiface.SupportMarshalDeterministic | protoiface.SupportUnmarshalDiscardUnknown, + Size: size, + Marshal: marshal, + Unmarshal: unmarshal, + Merge: nil, + CheckInitialized: nil, + } +} + +var ( + md_InsertReputerPayloadResponse protoreflect.MessageDescriptor +) + +func init() { + file_emissions_v8_tx_proto_init() + md_InsertReputerPayloadResponse = File_emissions_v8_tx_proto.Messages().ByName("InsertReputerPayloadResponse") +} + +var _ protoreflect.Message = (*fastReflection_InsertReputerPayloadResponse)(nil) + +type fastReflection_InsertReputerPayloadResponse InsertReputerPayloadResponse + +func (x *InsertReputerPayloadResponse) ProtoReflect() protoreflect.Message { + return (*fastReflection_InsertReputerPayloadResponse)(x) +} + +func (x *InsertReputerPayloadResponse) slowProtoReflect() protoreflect.Message { + mi := &file_emissions_v8_tx_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) +} + +var _fastReflection_InsertReputerPayloadResponse_messageType fastReflection_InsertReputerPayloadResponse_messageType +var _ protoreflect.MessageType = fastReflection_InsertReputerPayloadResponse_messageType{} + +type fastReflection_InsertReputerPayloadResponse_messageType struct{} + +func (x fastReflection_InsertReputerPayloadResponse_messageType) Zero() protoreflect.Message { + return (*fastReflection_InsertReputerPayloadResponse)(nil) +} +func (x fastReflection_InsertReputerPayloadResponse_messageType) New() protoreflect.Message { + return new(fastReflection_InsertReputerPayloadResponse) +} +func (x fastReflection_InsertReputerPayloadResponse_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_InsertReputerPayloadResponse +} + +// Descriptor returns message descriptor, which contains only the protobuf +// type information for the message. +func (x *fastReflection_InsertReputerPayloadResponse) Descriptor() protoreflect.MessageDescriptor { + return md_InsertReputerPayloadResponse +} + +// Type returns the message type, which encapsulates both Go and protobuf +// type information. If the Go type information is not needed, +// it is recommended that the message descriptor be used instead. +func (x *fastReflection_InsertReputerPayloadResponse) Type() protoreflect.MessageType { + return _fastReflection_InsertReputerPayloadResponse_messageType +} + +// New returns a newly allocated and mutable empty message. +func (x *fastReflection_InsertReputerPayloadResponse) New() protoreflect.Message { + return new(fastReflection_InsertReputerPayloadResponse) +} + +// Interface unwraps the message reflection interface and +// returns the underlying ProtoMessage interface. +func (x *fastReflection_InsertReputerPayloadResponse) Interface() protoreflect.ProtoMessage { + return (*InsertReputerPayloadResponse)(x) +} + +// Range iterates over every populated field in an undefined order, +// calling f for each field descriptor and value encountered. +// Range returns immediately if f returns false. +// While iterating, mutating operations may only be performed +// on the current field descriptor. +func (x *fastReflection_InsertReputerPayloadResponse) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { +} + +// Has reports whether a field is populated. +// +// Some fields have the property of nullability where it is possible to +// distinguish between the default value of a field and whether the field +// was explicitly populated with the default value. Singular message fields, +// member fields of a oneof, and proto2 scalar fields are nullable. Such +// fields are populated only if explicitly set. +// +// In other cases (aside from the nullable cases above), +// a proto3 scalar field is populated if it contains a non-zero value, and +// a repeated field is populated if it is non-empty. +func (x *fastReflection_InsertReputerPayloadResponse) Has(fd protoreflect.FieldDescriptor) bool { + switch fd.FullName() { + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.InsertReputerPayloadResponse")) + } + panic(fmt.Errorf("message emissions.v8.InsertReputerPayloadResponse does not contain field %s", fd.FullName())) + } +} + +// Clear clears the field such that a subsequent Has call reports false. +// +// Clearing an extension field clears both the extension type and value +// associated with the given field number. +// +// Clear is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_InsertReputerPayloadResponse) Clear(fd protoreflect.FieldDescriptor) { + switch fd.FullName() { + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.InsertReputerPayloadResponse")) + } + panic(fmt.Errorf("message emissions.v8.InsertReputerPayloadResponse does not contain field %s", fd.FullName())) + } +} + +// Get retrieves the value for a field. +// +// For unpopulated scalars, it returns the default value, where +// the default value of a bytes scalar is guaranteed to be a copy. +// For unpopulated composite types, it returns an empty, read-only view +// of the value; to obtain a mutable reference, use Mutable. +func (x *fastReflection_InsertReputerPayloadResponse) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { + switch descriptor.FullName() { + default: + if descriptor.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.InsertReputerPayloadResponse")) + } + panic(fmt.Errorf("message emissions.v8.InsertReputerPayloadResponse does not contain field %s", descriptor.FullName())) + } +} + +// Set stores the value for a field. +// +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType. +// When setting a composite type, it is unspecified whether the stored value +// aliases the source's memory in any way. If the composite value is an +// empty, read-only value, then it panics. +// +// Set is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_InsertReputerPayloadResponse) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { + switch fd.FullName() { + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.InsertReputerPayloadResponse")) + } + panic(fmt.Errorf("message emissions.v8.InsertReputerPayloadResponse does not contain field %s", fd.FullName())) + } +} + +// Mutable returns a mutable reference to a composite type. +// +// If the field is unpopulated, it may allocate a composite value. +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType +// if not already stored. +// It panics if the field does not contain a composite type. +// +// Mutable is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_InsertReputerPayloadResponse) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.InsertReputerPayloadResponse")) + } + panic(fmt.Errorf("message emissions.v8.InsertReputerPayloadResponse does not contain field %s", fd.FullName())) + } +} + +// NewField returns a new value that is assignable to the field +// for the given descriptor. For scalars, this returns the default value. +// For lists, maps, and messages, this returns a new, empty, mutable value. +func (x *fastReflection_InsertReputerPayloadResponse) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.InsertReputerPayloadResponse")) + } + panic(fmt.Errorf("message emissions.v8.InsertReputerPayloadResponse does not contain field %s", fd.FullName())) + } +} + +// WhichOneof reports which field within the oneof is populated, +// returning nil if none are populated. +// It panics if the oneof descriptor does not belong to this message. +func (x *fastReflection_InsertReputerPayloadResponse) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { + switch d.FullName() { + default: + panic(fmt.Errorf("%s is not a oneof field in emissions.v8.InsertReputerPayloadResponse", d.FullName())) + } + panic("unreachable") +} + +// GetUnknown retrieves the entire list of unknown fields. +// The caller may only mutate the contents of the RawFields +// if the mutated bytes are stored back into the message with SetUnknown. +func (x *fastReflection_InsertReputerPayloadResponse) GetUnknown() protoreflect.RawFields { + return x.unknownFields +} + +// SetUnknown stores an entire list of unknown fields. +// The raw fields must be syntactically valid according to the wire format. +// An implementation may panic if this is not the case. +// Once stored, the caller must not mutate the content of the RawFields. +// An empty RawFields may be passed to clear the fields. +// +// SetUnknown is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_InsertReputerPayloadResponse) SetUnknown(fields protoreflect.RawFields) { + x.unknownFields = fields +} + +// IsValid reports whether the message is valid. +// +// An invalid message is an empty, read-only value. +// +// An invalid message often corresponds to a nil pointer of the concrete +// message type, but the details are implementation dependent. +// Validity is not part of the protobuf data model, and may not +// be preserved in marshaling or other operations. +func (x *fastReflection_InsertReputerPayloadResponse) IsValid() bool { + return x != nil +} + +// ProtoMethods returns optional fastReflectionFeature-path implementations of various operations. +// This method may return nil. +// +// The returned methods type is identical to +// "google.golang.org/protobuf/runtime/protoiface".Methods. +// Consult the protoiface package documentation for details. +func (x *fastReflection_InsertReputerPayloadResponse) ProtoMethods() *protoiface.Methods { + size := func(input protoiface.SizeInput) protoiface.SizeOutput { + x := input.Message.Interface().(*InsertReputerPayloadResponse) + if x == nil { + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: 0, + } + } + options := runtime.SizeInputToOptions(input) + _ = options + var n int + var l int + _ = l + if x.unknownFields != nil { + n += len(x.unknownFields) + } + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: n, + } + } + + marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { + x := input.Message.Interface().(*InsertReputerPayloadResponse) + if x == nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + options := runtime.MarshalInputToOptions(input) + _ = options + size := options.Size(x) + dAtA := make([]byte, size) + i := len(dAtA) + _ = i + var l int + _ = l + if x.unknownFields != nil { + i -= len(x.unknownFields) + copy(dAtA[i:], x.unknownFields) + } + if input.Buf != nil { + input.Buf = append(input.Buf, dAtA...) + } else { + input.Buf = dAtA + } + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { + x := input.Message.Interface().(*InsertReputerPayloadResponse) + if x == nil { + return protoiface.UnmarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Flags: input.Flags, + }, nil + } + options := runtime.UnmarshalInputToOptions(input) + _ = options + dAtA := input.Buf + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: InsertReputerPayloadResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: InsertReputerPayloadResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + default: + iNdEx = preIndex + skippy, err := runtime.Skip(dAtA[iNdEx:]) + if err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if (iNdEx + skippy) > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + if !options.DiscardUnknown { + x.unknownFields = append(x.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + } + iNdEx += skippy + } + } + + if iNdEx > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, nil + } + return &protoiface.Methods{ + NoUnkeyedLiterals: struct{}{}, + Flags: protoiface.SupportMarshalDeterministic | protoiface.SupportUnmarshalDiscardUnknown, + Size: size, + Marshal: marshal, + Unmarshal: unmarshal, + Merge: nil, + CheckInitialized: nil, + } +} + +var ( + md_InsertWorkerPayloadRequest protoreflect.MessageDescriptor + fd_InsertWorkerPayloadRequest_sender protoreflect.FieldDescriptor + fd_InsertWorkerPayloadRequest_worker_data_bundle protoreflect.FieldDescriptor +) + +func init() { + file_emissions_v8_tx_proto_init() + md_InsertWorkerPayloadRequest = File_emissions_v8_tx_proto.Messages().ByName("InsertWorkerPayloadRequest") + fd_InsertWorkerPayloadRequest_sender = md_InsertWorkerPayloadRequest.Fields().ByName("sender") + fd_InsertWorkerPayloadRequest_worker_data_bundle = md_InsertWorkerPayloadRequest.Fields().ByName("worker_data_bundle") +} + +var _ protoreflect.Message = (*fastReflection_InsertWorkerPayloadRequest)(nil) + +type fastReflection_InsertWorkerPayloadRequest InsertWorkerPayloadRequest + +func (x *InsertWorkerPayloadRequest) ProtoReflect() protoreflect.Message { + return (*fastReflection_InsertWorkerPayloadRequest)(x) +} + +func (x *InsertWorkerPayloadRequest) slowProtoReflect() protoreflect.Message { + mi := &file_emissions_v8_tx_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) +} + +var _fastReflection_InsertWorkerPayloadRequest_messageType fastReflection_InsertWorkerPayloadRequest_messageType +var _ protoreflect.MessageType = fastReflection_InsertWorkerPayloadRequest_messageType{} + +type fastReflection_InsertWorkerPayloadRequest_messageType struct{} + +func (x fastReflection_InsertWorkerPayloadRequest_messageType) Zero() protoreflect.Message { + return (*fastReflection_InsertWorkerPayloadRequest)(nil) +} +func (x fastReflection_InsertWorkerPayloadRequest_messageType) New() protoreflect.Message { + return new(fastReflection_InsertWorkerPayloadRequest) +} +func (x fastReflection_InsertWorkerPayloadRequest_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_InsertWorkerPayloadRequest +} + +// Descriptor returns message descriptor, which contains only the protobuf +// type information for the message. +func (x *fastReflection_InsertWorkerPayloadRequest) Descriptor() protoreflect.MessageDescriptor { + return md_InsertWorkerPayloadRequest +} + +// Type returns the message type, which encapsulates both Go and protobuf +// type information. If the Go type information is not needed, +// it is recommended that the message descriptor be used instead. +func (x *fastReflection_InsertWorkerPayloadRequest) Type() protoreflect.MessageType { + return _fastReflection_InsertWorkerPayloadRequest_messageType +} + +// New returns a newly allocated and mutable empty message. +func (x *fastReflection_InsertWorkerPayloadRequest) New() protoreflect.Message { + return new(fastReflection_InsertWorkerPayloadRequest) +} + +// Interface unwraps the message reflection interface and +// returns the underlying ProtoMessage interface. +func (x *fastReflection_InsertWorkerPayloadRequest) Interface() protoreflect.ProtoMessage { + return (*InsertWorkerPayloadRequest)(x) +} + +// Range iterates over every populated field in an undefined order, +// calling f for each field descriptor and value encountered. +// Range returns immediately if f returns false. +// While iterating, mutating operations may only be performed +// on the current field descriptor. +func (x *fastReflection_InsertWorkerPayloadRequest) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { + if x.Sender != "" { + value := protoreflect.ValueOfString(x.Sender) + if !f(fd_InsertWorkerPayloadRequest_sender, value) { + return + } + } + if x.WorkerDataBundle != nil { + value := protoreflect.ValueOfMessage(x.WorkerDataBundle.ProtoReflect()) + if !f(fd_InsertWorkerPayloadRequest_worker_data_bundle, value) { + return + } + } +} + +// Has reports whether a field is populated. +// +// Some fields have the property of nullability where it is possible to +// distinguish between the default value of a field and whether the field +// was explicitly populated with the default value. Singular message fields, +// member fields of a oneof, and proto2 scalar fields are nullable. Such +// fields are populated only if explicitly set. +// +// In other cases (aside from the nullable cases above), +// a proto3 scalar field is populated if it contains a non-zero value, and +// a repeated field is populated if it is non-empty. +func (x *fastReflection_InsertWorkerPayloadRequest) Has(fd protoreflect.FieldDescriptor) bool { + switch fd.FullName() { + case "emissions.v8.InsertWorkerPayloadRequest.sender": + return x.Sender != "" + case "emissions.v8.InsertWorkerPayloadRequest.worker_data_bundle": + return x.WorkerDataBundle != nil + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.InsertWorkerPayloadRequest")) + } + panic(fmt.Errorf("message emissions.v8.InsertWorkerPayloadRequest does not contain field %s", fd.FullName())) + } +} + +// Clear clears the field such that a subsequent Has call reports false. +// +// Clearing an extension field clears both the extension type and value +// associated with the given field number. +// +// Clear is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_InsertWorkerPayloadRequest) Clear(fd protoreflect.FieldDescriptor) { + switch fd.FullName() { + case "emissions.v8.InsertWorkerPayloadRequest.sender": + x.Sender = "" + case "emissions.v8.InsertWorkerPayloadRequest.worker_data_bundle": + x.WorkerDataBundle = nil + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.InsertWorkerPayloadRequest")) + } + panic(fmt.Errorf("message emissions.v8.InsertWorkerPayloadRequest does not contain field %s", fd.FullName())) + } +} + +// Get retrieves the value for a field. +// +// For unpopulated scalars, it returns the default value, where +// the default value of a bytes scalar is guaranteed to be a copy. +// For unpopulated composite types, it returns an empty, read-only view +// of the value; to obtain a mutable reference, use Mutable. +func (x *fastReflection_InsertWorkerPayloadRequest) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { + switch descriptor.FullName() { + case "emissions.v8.InsertWorkerPayloadRequest.sender": + value := x.Sender + return protoreflect.ValueOfString(value) + case "emissions.v8.InsertWorkerPayloadRequest.worker_data_bundle": + value := x.WorkerDataBundle + return protoreflect.ValueOfMessage(value.ProtoReflect()) + default: + if descriptor.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.InsertWorkerPayloadRequest")) + } + panic(fmt.Errorf("message emissions.v8.InsertWorkerPayloadRequest does not contain field %s", descriptor.FullName())) + } +} + +// Set stores the value for a field. +// +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType. +// When setting a composite type, it is unspecified whether the stored value +// aliases the source's memory in any way. If the composite value is an +// empty, read-only value, then it panics. +// +// Set is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_InsertWorkerPayloadRequest) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { + switch fd.FullName() { + case "emissions.v8.InsertWorkerPayloadRequest.sender": + x.Sender = value.Interface().(string) + case "emissions.v8.InsertWorkerPayloadRequest.worker_data_bundle": + x.WorkerDataBundle = value.Message().Interface().(*v3.WorkerDataBundle) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.InsertWorkerPayloadRequest")) + } + panic(fmt.Errorf("message emissions.v8.InsertWorkerPayloadRequest does not contain field %s", fd.FullName())) + } +} + +// Mutable returns a mutable reference to a composite type. +// +// If the field is unpopulated, it may allocate a composite value. +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType +// if not already stored. +// It panics if the field does not contain a composite type. +// +// Mutable is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_InsertWorkerPayloadRequest) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.InsertWorkerPayloadRequest.worker_data_bundle": + if x.WorkerDataBundle == nil { + x.WorkerDataBundle = new(v3.WorkerDataBundle) + } + return protoreflect.ValueOfMessage(x.WorkerDataBundle.ProtoReflect()) + case "emissions.v8.InsertWorkerPayloadRequest.sender": + panic(fmt.Errorf("field sender of message emissions.v8.InsertWorkerPayloadRequest is not mutable")) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.InsertWorkerPayloadRequest")) + } + panic(fmt.Errorf("message emissions.v8.InsertWorkerPayloadRequest does not contain field %s", fd.FullName())) + } +} + +// NewField returns a new value that is assignable to the field +// for the given descriptor. For scalars, this returns the default value. +// For lists, maps, and messages, this returns a new, empty, mutable value. +func (x *fastReflection_InsertWorkerPayloadRequest) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.InsertWorkerPayloadRequest.sender": + return protoreflect.ValueOfString("") + case "emissions.v8.InsertWorkerPayloadRequest.worker_data_bundle": + m := new(v3.WorkerDataBundle) + return protoreflect.ValueOfMessage(m.ProtoReflect()) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.InsertWorkerPayloadRequest")) + } + panic(fmt.Errorf("message emissions.v8.InsertWorkerPayloadRequest does not contain field %s", fd.FullName())) + } +} + +// WhichOneof reports which field within the oneof is populated, +// returning nil if none are populated. +// It panics if the oneof descriptor does not belong to this message. +func (x *fastReflection_InsertWorkerPayloadRequest) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { + switch d.FullName() { + default: + panic(fmt.Errorf("%s is not a oneof field in emissions.v8.InsertWorkerPayloadRequest", d.FullName())) + } + panic("unreachable") +} + +// GetUnknown retrieves the entire list of unknown fields. +// The caller may only mutate the contents of the RawFields +// if the mutated bytes are stored back into the message with SetUnknown. +func (x *fastReflection_InsertWorkerPayloadRequest) GetUnknown() protoreflect.RawFields { + return x.unknownFields +} + +// SetUnknown stores an entire list of unknown fields. +// The raw fields must be syntactically valid according to the wire format. +// An implementation may panic if this is not the case. +// Once stored, the caller must not mutate the content of the RawFields. +// An empty RawFields may be passed to clear the fields. +// +// SetUnknown is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_InsertWorkerPayloadRequest) SetUnknown(fields protoreflect.RawFields) { + x.unknownFields = fields +} + +// IsValid reports whether the message is valid. +// +// An invalid message is an empty, read-only value. +// +// An invalid message often corresponds to a nil pointer of the concrete +// message type, but the details are implementation dependent. +// Validity is not part of the protobuf data model, and may not +// be preserved in marshaling or other operations. +func (x *fastReflection_InsertWorkerPayloadRequest) IsValid() bool { + return x != nil +} + +// ProtoMethods returns optional fastReflectionFeature-path implementations of various operations. +// This method may return nil. +// +// The returned methods type is identical to +// "google.golang.org/protobuf/runtime/protoiface".Methods. +// Consult the protoiface package documentation for details. +func (x *fastReflection_InsertWorkerPayloadRequest) ProtoMethods() *protoiface.Methods { + size := func(input protoiface.SizeInput) protoiface.SizeOutput { + x := input.Message.Interface().(*InsertWorkerPayloadRequest) + if x == nil { + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: 0, + } + } + options := runtime.SizeInputToOptions(input) + _ = options + var n int + var l int + _ = l + l = len(x.Sender) + if l > 0 { + n += 1 + l + runtime.Sov(uint64(l)) + } + if x.WorkerDataBundle != nil { + l = options.Size(x.WorkerDataBundle) + n += 1 + l + runtime.Sov(uint64(l)) + } + if x.unknownFields != nil { + n += len(x.unknownFields) + } + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: n, + } + } + + marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { + x := input.Message.Interface().(*InsertWorkerPayloadRequest) + if x == nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + options := runtime.MarshalInputToOptions(input) + _ = options + size := options.Size(x) + dAtA := make([]byte, size) + i := len(dAtA) + _ = i + var l int + _ = l + if x.unknownFields != nil { + i -= len(x.unknownFields) + copy(dAtA[i:], x.unknownFields) + } + if x.WorkerDataBundle != nil { + encoded, err := options.Marshal(x.WorkerDataBundle) + if err != nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = runtime.EncodeVarint(dAtA, i, uint64(len(encoded))) + i-- + dAtA[i] = 0x12 + } + if len(x.Sender) > 0 { + i -= len(x.Sender) + copy(dAtA[i:], x.Sender) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.Sender))) + i-- + dAtA[i] = 0xa + } + if input.Buf != nil { + input.Buf = append(input.Buf, dAtA...) + } else { + input.Buf = dAtA + } + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { + x := input.Message.Interface().(*InsertWorkerPayloadRequest) + if x == nil { + return protoiface.UnmarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Flags: input.Flags, + }, nil + } + options := runtime.UnmarshalInputToOptions(input) + _ = options + dAtA := input.Buf + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: InsertWorkerPayloadRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: InsertWorkerPayloadRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Sender", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + x.Sender = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field WorkerDataBundle", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + if x.WorkerDataBundle == nil { + x.WorkerDataBundle = &v3.WorkerDataBundle{} + } + if err := options.Unmarshal(dAtA[iNdEx:postIndex], x.WorkerDataBundle); err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := runtime.Skip(dAtA[iNdEx:]) + if err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if (iNdEx + skippy) > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + if !options.DiscardUnknown { + x.unknownFields = append(x.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + } + iNdEx += skippy + } + } + + if iNdEx > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, nil + } + return &protoiface.Methods{ + NoUnkeyedLiterals: struct{}{}, + Flags: protoiface.SupportMarshalDeterministic | protoiface.SupportUnmarshalDiscardUnknown, + Size: size, + Marshal: marshal, + Unmarshal: unmarshal, + Merge: nil, + CheckInitialized: nil, + } +} + +var ( + md_InsertWorkerPayloadResponse protoreflect.MessageDescriptor +) + +func init() { + file_emissions_v8_tx_proto_init() + md_InsertWorkerPayloadResponse = File_emissions_v8_tx_proto.Messages().ByName("InsertWorkerPayloadResponse") +} + +var _ protoreflect.Message = (*fastReflection_InsertWorkerPayloadResponse)(nil) + +type fastReflection_InsertWorkerPayloadResponse InsertWorkerPayloadResponse + +func (x *InsertWorkerPayloadResponse) ProtoReflect() protoreflect.Message { + return (*fastReflection_InsertWorkerPayloadResponse)(x) +} + +func (x *InsertWorkerPayloadResponse) slowProtoReflect() protoreflect.Message { + mi := &file_emissions_v8_tx_proto_msgTypes[8] + 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) +} + +var _fastReflection_InsertWorkerPayloadResponse_messageType fastReflection_InsertWorkerPayloadResponse_messageType +var _ protoreflect.MessageType = fastReflection_InsertWorkerPayloadResponse_messageType{} + +type fastReflection_InsertWorkerPayloadResponse_messageType struct{} + +func (x fastReflection_InsertWorkerPayloadResponse_messageType) Zero() protoreflect.Message { + return (*fastReflection_InsertWorkerPayloadResponse)(nil) +} +func (x fastReflection_InsertWorkerPayloadResponse_messageType) New() protoreflect.Message { + return new(fastReflection_InsertWorkerPayloadResponse) +} +func (x fastReflection_InsertWorkerPayloadResponse_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_InsertWorkerPayloadResponse +} + +// Descriptor returns message descriptor, which contains only the protobuf +// type information for the message. +func (x *fastReflection_InsertWorkerPayloadResponse) Descriptor() protoreflect.MessageDescriptor { + return md_InsertWorkerPayloadResponse +} + +// Type returns the message type, which encapsulates both Go and protobuf +// type information. If the Go type information is not needed, +// it is recommended that the message descriptor be used instead. +func (x *fastReflection_InsertWorkerPayloadResponse) Type() protoreflect.MessageType { + return _fastReflection_InsertWorkerPayloadResponse_messageType +} + +// New returns a newly allocated and mutable empty message. +func (x *fastReflection_InsertWorkerPayloadResponse) New() protoreflect.Message { + return new(fastReflection_InsertWorkerPayloadResponse) +} + +// Interface unwraps the message reflection interface and +// returns the underlying ProtoMessage interface. +func (x *fastReflection_InsertWorkerPayloadResponse) Interface() protoreflect.ProtoMessage { + return (*InsertWorkerPayloadResponse)(x) +} + +// Range iterates over every populated field in an undefined order, +// calling f for each field descriptor and value encountered. +// Range returns immediately if f returns false. +// While iterating, mutating operations may only be performed +// on the current field descriptor. +func (x *fastReflection_InsertWorkerPayloadResponse) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { +} + +// Has reports whether a field is populated. +// +// Some fields have the property of nullability where it is possible to +// distinguish between the default value of a field and whether the field +// was explicitly populated with the default value. Singular message fields, +// member fields of a oneof, and proto2 scalar fields are nullable. Such +// fields are populated only if explicitly set. +// +// In other cases (aside from the nullable cases above), +// a proto3 scalar field is populated if it contains a non-zero value, and +// a repeated field is populated if it is non-empty. +func (x *fastReflection_InsertWorkerPayloadResponse) Has(fd protoreflect.FieldDescriptor) bool { + switch fd.FullName() { + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.InsertWorkerPayloadResponse")) + } + panic(fmt.Errorf("message emissions.v8.InsertWorkerPayloadResponse does not contain field %s", fd.FullName())) + } +} + +// Clear clears the field such that a subsequent Has call reports false. +// +// Clearing an extension field clears both the extension type and value +// associated with the given field number. +// +// Clear is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_InsertWorkerPayloadResponse) Clear(fd protoreflect.FieldDescriptor) { + switch fd.FullName() { + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.InsertWorkerPayloadResponse")) + } + panic(fmt.Errorf("message emissions.v8.InsertWorkerPayloadResponse does not contain field %s", fd.FullName())) + } +} + +// Get retrieves the value for a field. +// +// For unpopulated scalars, it returns the default value, where +// the default value of a bytes scalar is guaranteed to be a copy. +// For unpopulated composite types, it returns an empty, read-only view +// of the value; to obtain a mutable reference, use Mutable. +func (x *fastReflection_InsertWorkerPayloadResponse) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { + switch descriptor.FullName() { + default: + if descriptor.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.InsertWorkerPayloadResponse")) + } + panic(fmt.Errorf("message emissions.v8.InsertWorkerPayloadResponse does not contain field %s", descriptor.FullName())) + } +} + +// Set stores the value for a field. +// +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType. +// When setting a composite type, it is unspecified whether the stored value +// aliases the source's memory in any way. If the composite value is an +// empty, read-only value, then it panics. +// +// Set is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_InsertWorkerPayloadResponse) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { + switch fd.FullName() { + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.InsertWorkerPayloadResponse")) + } + panic(fmt.Errorf("message emissions.v8.InsertWorkerPayloadResponse does not contain field %s", fd.FullName())) + } +} + +// Mutable returns a mutable reference to a composite type. +// +// If the field is unpopulated, it may allocate a composite value. +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType +// if not already stored. +// It panics if the field does not contain a composite type. +// +// Mutable is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_InsertWorkerPayloadResponse) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.InsertWorkerPayloadResponse")) + } + panic(fmt.Errorf("message emissions.v8.InsertWorkerPayloadResponse does not contain field %s", fd.FullName())) + } +} + +// NewField returns a new value that is assignable to the field +// for the given descriptor. For scalars, this returns the default value. +// For lists, maps, and messages, this returns a new, empty, mutable value. +func (x *fastReflection_InsertWorkerPayloadResponse) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.InsertWorkerPayloadResponse")) + } + panic(fmt.Errorf("message emissions.v8.InsertWorkerPayloadResponse does not contain field %s", fd.FullName())) + } +} + +// WhichOneof reports which field within the oneof is populated, +// returning nil if none are populated. +// It panics if the oneof descriptor does not belong to this message. +func (x *fastReflection_InsertWorkerPayloadResponse) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { + switch d.FullName() { + default: + panic(fmt.Errorf("%s is not a oneof field in emissions.v8.InsertWorkerPayloadResponse", d.FullName())) + } + panic("unreachable") +} + +// GetUnknown retrieves the entire list of unknown fields. +// The caller may only mutate the contents of the RawFields +// if the mutated bytes are stored back into the message with SetUnknown. +func (x *fastReflection_InsertWorkerPayloadResponse) GetUnknown() protoreflect.RawFields { + return x.unknownFields +} + +// SetUnknown stores an entire list of unknown fields. +// The raw fields must be syntactically valid according to the wire format. +// An implementation may panic if this is not the case. +// Once stored, the caller must not mutate the content of the RawFields. +// An empty RawFields may be passed to clear the fields. +// +// SetUnknown is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_InsertWorkerPayloadResponse) SetUnknown(fields protoreflect.RawFields) { + x.unknownFields = fields +} + +// IsValid reports whether the message is valid. +// +// An invalid message is an empty, read-only value. +// +// An invalid message often corresponds to a nil pointer of the concrete +// message type, but the details are implementation dependent. +// Validity is not part of the protobuf data model, and may not +// be preserved in marshaling or other operations. +func (x *fastReflection_InsertWorkerPayloadResponse) IsValid() bool { + return x != nil +} + +// ProtoMethods returns optional fastReflectionFeature-path implementations of various operations. +// This method may return nil. +// +// The returned methods type is identical to +// "google.golang.org/protobuf/runtime/protoiface".Methods. +// Consult the protoiface package documentation for details. +func (x *fastReflection_InsertWorkerPayloadResponse) ProtoMethods() *protoiface.Methods { + size := func(input protoiface.SizeInput) protoiface.SizeOutput { + x := input.Message.Interface().(*InsertWorkerPayloadResponse) + if x == nil { + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: 0, + } + } + options := runtime.SizeInputToOptions(input) + _ = options + var n int + var l int + _ = l + if x.unknownFields != nil { + n += len(x.unknownFields) + } + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: n, + } + } + + marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { + x := input.Message.Interface().(*InsertWorkerPayloadResponse) + if x == nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + options := runtime.MarshalInputToOptions(input) + _ = options + size := options.Size(x) + dAtA := make([]byte, size) + i := len(dAtA) + _ = i + var l int + _ = l + if x.unknownFields != nil { + i -= len(x.unknownFields) + copy(dAtA[i:], x.unknownFields) + } + if input.Buf != nil { + input.Buf = append(input.Buf, dAtA...) + } else { + input.Buf = dAtA + } + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { + x := input.Message.Interface().(*InsertWorkerPayloadResponse) + if x == nil { + return protoiface.UnmarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Flags: input.Flags, + }, nil + } + options := runtime.UnmarshalInputToOptions(input) + _ = options + dAtA := input.Buf + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: InsertWorkerPayloadResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: InsertWorkerPayloadResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + default: + iNdEx = preIndex + skippy, err := runtime.Skip(dAtA[iNdEx:]) + if err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if (iNdEx + skippy) > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + if !options.DiscardUnknown { + x.unknownFields = append(x.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + } + iNdEx += skippy + } + } + + if iNdEx > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, nil + } + return &protoiface.Methods{ + NoUnkeyedLiterals: struct{}{}, + Flags: protoiface.SupportMarshalDeterministic | protoiface.SupportUnmarshalDiscardUnknown, + Size: size, + Marshal: marshal, + Unmarshal: unmarshal, + Merge: nil, + CheckInitialized: nil, + } +} + +var ( + md_RegisterRequest protoreflect.MessageDescriptor + fd_RegisterRequest_sender protoreflect.FieldDescriptor + fd_RegisterRequest_topic_id protoreflect.FieldDescriptor + fd_RegisterRequest_owner protoreflect.FieldDescriptor + fd_RegisterRequest_is_reputer protoreflect.FieldDescriptor +) + +func init() { + file_emissions_v8_tx_proto_init() + md_RegisterRequest = File_emissions_v8_tx_proto.Messages().ByName("RegisterRequest") + fd_RegisterRequest_sender = md_RegisterRequest.Fields().ByName("sender") + fd_RegisterRequest_topic_id = md_RegisterRequest.Fields().ByName("topic_id") + fd_RegisterRequest_owner = md_RegisterRequest.Fields().ByName("owner") + fd_RegisterRequest_is_reputer = md_RegisterRequest.Fields().ByName("is_reputer") +} + +var _ protoreflect.Message = (*fastReflection_RegisterRequest)(nil) + +type fastReflection_RegisterRequest RegisterRequest + +func (x *RegisterRequest) ProtoReflect() protoreflect.Message { + return (*fastReflection_RegisterRequest)(x) +} + +func (x *RegisterRequest) slowProtoReflect() protoreflect.Message { + mi := &file_emissions_v8_tx_proto_msgTypes[9] + 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) +} + +var _fastReflection_RegisterRequest_messageType fastReflection_RegisterRequest_messageType +var _ protoreflect.MessageType = fastReflection_RegisterRequest_messageType{} + +type fastReflection_RegisterRequest_messageType struct{} + +func (x fastReflection_RegisterRequest_messageType) Zero() protoreflect.Message { + return (*fastReflection_RegisterRequest)(nil) +} +func (x fastReflection_RegisterRequest_messageType) New() protoreflect.Message { + return new(fastReflection_RegisterRequest) +} +func (x fastReflection_RegisterRequest_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_RegisterRequest +} + +// Descriptor returns message descriptor, which contains only the protobuf +// type information for the message. +func (x *fastReflection_RegisterRequest) Descriptor() protoreflect.MessageDescriptor { + return md_RegisterRequest +} + +// Type returns the message type, which encapsulates both Go and protobuf +// type information. If the Go type information is not needed, +// it is recommended that the message descriptor be used instead. +func (x *fastReflection_RegisterRequest) Type() protoreflect.MessageType { + return _fastReflection_RegisterRequest_messageType +} + +// New returns a newly allocated and mutable empty message. +func (x *fastReflection_RegisterRequest) New() protoreflect.Message { + return new(fastReflection_RegisterRequest) +} + +// Interface unwraps the message reflection interface and +// returns the underlying ProtoMessage interface. +func (x *fastReflection_RegisterRequest) Interface() protoreflect.ProtoMessage { + return (*RegisterRequest)(x) +} + +// Range iterates over every populated field in an undefined order, +// calling f for each field descriptor and value encountered. +// Range returns immediately if f returns false. +// While iterating, mutating operations may only be performed +// on the current field descriptor. +func (x *fastReflection_RegisterRequest) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { + if x.Sender != "" { + value := protoreflect.ValueOfString(x.Sender) + if !f(fd_RegisterRequest_sender, value) { + return + } + } + if x.TopicId != uint64(0) { + value := protoreflect.ValueOfUint64(x.TopicId) + if !f(fd_RegisterRequest_topic_id, value) { + return + } + } + if x.Owner != "" { + value := protoreflect.ValueOfString(x.Owner) + if !f(fd_RegisterRequest_owner, value) { + return + } + } + if x.IsReputer != false { + value := protoreflect.ValueOfBool(x.IsReputer) + if !f(fd_RegisterRequest_is_reputer, value) { + return + } + } +} + +// Has reports whether a field is populated. +// +// Some fields have the property of nullability where it is possible to +// distinguish between the default value of a field and whether the field +// was explicitly populated with the default value. Singular message fields, +// member fields of a oneof, and proto2 scalar fields are nullable. Such +// fields are populated only if explicitly set. +// +// In other cases (aside from the nullable cases above), +// a proto3 scalar field is populated if it contains a non-zero value, and +// a repeated field is populated if it is non-empty. +func (x *fastReflection_RegisterRequest) Has(fd protoreflect.FieldDescriptor) bool { + switch fd.FullName() { + case "emissions.v8.RegisterRequest.sender": + return x.Sender != "" + case "emissions.v8.RegisterRequest.topic_id": + return x.TopicId != uint64(0) + case "emissions.v8.RegisterRequest.owner": + return x.Owner != "" + case "emissions.v8.RegisterRequest.is_reputer": + return x.IsReputer != false + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.RegisterRequest")) + } + panic(fmt.Errorf("message emissions.v8.RegisterRequest does not contain field %s", fd.FullName())) + } +} + +// Clear clears the field such that a subsequent Has call reports false. +// +// Clearing an extension field clears both the extension type and value +// associated with the given field number. +// +// Clear is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_RegisterRequest) Clear(fd protoreflect.FieldDescriptor) { + switch fd.FullName() { + case "emissions.v8.RegisterRequest.sender": + x.Sender = "" + case "emissions.v8.RegisterRequest.topic_id": + x.TopicId = uint64(0) + case "emissions.v8.RegisterRequest.owner": + x.Owner = "" + case "emissions.v8.RegisterRequest.is_reputer": + x.IsReputer = false + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.RegisterRequest")) + } + panic(fmt.Errorf("message emissions.v8.RegisterRequest does not contain field %s", fd.FullName())) + } +} + +// Get retrieves the value for a field. +// +// For unpopulated scalars, it returns the default value, where +// the default value of a bytes scalar is guaranteed to be a copy. +// For unpopulated composite types, it returns an empty, read-only view +// of the value; to obtain a mutable reference, use Mutable. +func (x *fastReflection_RegisterRequest) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { + switch descriptor.FullName() { + case "emissions.v8.RegisterRequest.sender": + value := x.Sender + return protoreflect.ValueOfString(value) + case "emissions.v8.RegisterRequest.topic_id": + value := x.TopicId + return protoreflect.ValueOfUint64(value) + case "emissions.v8.RegisterRequest.owner": + value := x.Owner + return protoreflect.ValueOfString(value) + case "emissions.v8.RegisterRequest.is_reputer": + value := x.IsReputer + return protoreflect.ValueOfBool(value) + default: + if descriptor.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.RegisterRequest")) + } + panic(fmt.Errorf("message emissions.v8.RegisterRequest does not contain field %s", descriptor.FullName())) + } +} + +// Set stores the value for a field. +// +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType. +// When setting a composite type, it is unspecified whether the stored value +// aliases the source's memory in any way. If the composite value is an +// empty, read-only value, then it panics. +// +// Set is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_RegisterRequest) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { + switch fd.FullName() { + case "emissions.v8.RegisterRequest.sender": + x.Sender = value.Interface().(string) + case "emissions.v8.RegisterRequest.topic_id": + x.TopicId = value.Uint() + case "emissions.v8.RegisterRequest.owner": + x.Owner = value.Interface().(string) + case "emissions.v8.RegisterRequest.is_reputer": + x.IsReputer = value.Bool() + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.RegisterRequest")) + } + panic(fmt.Errorf("message emissions.v8.RegisterRequest does not contain field %s", fd.FullName())) + } +} + +// Mutable returns a mutable reference to a composite type. +// +// If the field is unpopulated, it may allocate a composite value. +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType +// if not already stored. +// It panics if the field does not contain a composite type. +// +// Mutable is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_RegisterRequest) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.RegisterRequest.sender": + panic(fmt.Errorf("field sender of message emissions.v8.RegisterRequest is not mutable")) + case "emissions.v8.RegisterRequest.topic_id": + panic(fmt.Errorf("field topic_id of message emissions.v8.RegisterRequest is not mutable")) + case "emissions.v8.RegisterRequest.owner": + panic(fmt.Errorf("field owner of message emissions.v8.RegisterRequest is not mutable")) + case "emissions.v8.RegisterRequest.is_reputer": + panic(fmt.Errorf("field is_reputer of message emissions.v8.RegisterRequest is not mutable")) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.RegisterRequest")) + } + panic(fmt.Errorf("message emissions.v8.RegisterRequest does not contain field %s", fd.FullName())) + } +} + +// NewField returns a new value that is assignable to the field +// for the given descriptor. For scalars, this returns the default value. +// For lists, maps, and messages, this returns a new, empty, mutable value. +func (x *fastReflection_RegisterRequest) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.RegisterRequest.sender": + return protoreflect.ValueOfString("") + case "emissions.v8.RegisterRequest.topic_id": + return protoreflect.ValueOfUint64(uint64(0)) + case "emissions.v8.RegisterRequest.owner": + return protoreflect.ValueOfString("") + case "emissions.v8.RegisterRequest.is_reputer": + return protoreflect.ValueOfBool(false) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.RegisterRequest")) + } + panic(fmt.Errorf("message emissions.v8.RegisterRequest does not contain field %s", fd.FullName())) + } +} + +// WhichOneof reports which field within the oneof is populated, +// returning nil if none are populated. +// It panics if the oneof descriptor does not belong to this message. +func (x *fastReflection_RegisterRequest) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { + switch d.FullName() { + default: + panic(fmt.Errorf("%s is not a oneof field in emissions.v8.RegisterRequest", d.FullName())) + } + panic("unreachable") +} + +// GetUnknown retrieves the entire list of unknown fields. +// The caller may only mutate the contents of the RawFields +// if the mutated bytes are stored back into the message with SetUnknown. +func (x *fastReflection_RegisterRequest) GetUnknown() protoreflect.RawFields { + return x.unknownFields +} + +// SetUnknown stores an entire list of unknown fields. +// The raw fields must be syntactically valid according to the wire format. +// An implementation may panic if this is not the case. +// Once stored, the caller must not mutate the content of the RawFields. +// An empty RawFields may be passed to clear the fields. +// +// SetUnknown is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_RegisterRequest) SetUnknown(fields protoreflect.RawFields) { + x.unknownFields = fields +} + +// IsValid reports whether the message is valid. +// +// An invalid message is an empty, read-only value. +// +// An invalid message often corresponds to a nil pointer of the concrete +// message type, but the details are implementation dependent. +// Validity is not part of the protobuf data model, and may not +// be preserved in marshaling or other operations. +func (x *fastReflection_RegisterRequest) IsValid() bool { + return x != nil +} + +// ProtoMethods returns optional fastReflectionFeature-path implementations of various operations. +// This method may return nil. +// +// The returned methods type is identical to +// "google.golang.org/protobuf/runtime/protoiface".Methods. +// Consult the protoiface package documentation for details. +func (x *fastReflection_RegisterRequest) ProtoMethods() *protoiface.Methods { + size := func(input protoiface.SizeInput) protoiface.SizeOutput { + x := input.Message.Interface().(*RegisterRequest) + if x == nil { + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: 0, + } + } + options := runtime.SizeInputToOptions(input) + _ = options + var n int + var l int + _ = l + l = len(x.Sender) + if l > 0 { + n += 1 + l + runtime.Sov(uint64(l)) + } + if x.TopicId != 0 { + n += 1 + runtime.Sov(uint64(x.TopicId)) + } + l = len(x.Owner) + if l > 0 { + n += 1 + l + runtime.Sov(uint64(l)) + } + if x.IsReputer { + n += 2 + } + if x.unknownFields != nil { + n += len(x.unknownFields) + } + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: n, + } + } + + marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { + x := input.Message.Interface().(*RegisterRequest) + if x == nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + options := runtime.MarshalInputToOptions(input) + _ = options + size := options.Size(x) + dAtA := make([]byte, size) + i := len(dAtA) + _ = i + var l int + _ = l + if x.unknownFields != nil { + i -= len(x.unknownFields) + copy(dAtA[i:], x.unknownFields) + } + if x.IsReputer { + i-- + if x.IsReputer { + dAtA[i] = 1 + } else { + dAtA[i] = 0 + } + i-- + dAtA[i] = 0x30 + } + if len(x.Owner) > 0 { + i -= len(x.Owner) + copy(dAtA[i:], x.Owner) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.Owner))) + i-- + dAtA[i] = 0x2a + } + if x.TopicId != 0 { + i = runtime.EncodeVarint(dAtA, i, uint64(x.TopicId)) + i-- + dAtA[i] = 0x20 + } + if len(x.Sender) > 0 { + i -= len(x.Sender) + copy(dAtA[i:], x.Sender) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.Sender))) + i-- + dAtA[i] = 0xa + } + if input.Buf != nil { + input.Buf = append(input.Buf, dAtA...) + } else { + input.Buf = dAtA + } + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { + x := input.Message.Interface().(*RegisterRequest) + if x == nil { + return protoiface.UnmarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Flags: input.Flags, + }, nil + } + options := runtime.UnmarshalInputToOptions(input) + _ = options + dAtA := input.Buf + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: RegisterRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: RegisterRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Sender", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + x.Sender = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 4: + if wireType != 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field TopicId", wireType) + } + x.TopicId = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + x.TopicId |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 5: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Owner", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + x.Owner = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 6: + if wireType != 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field IsReputer", wireType) + } + var v int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + x.IsReputer = bool(v != 0) + default: + iNdEx = preIndex + skippy, err := runtime.Skip(dAtA[iNdEx:]) + if err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if (iNdEx + skippy) > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + if !options.DiscardUnknown { + x.unknownFields = append(x.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + } + iNdEx += skippy + } + } + + if iNdEx > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, nil + } + return &protoiface.Methods{ + NoUnkeyedLiterals: struct{}{}, + Flags: protoiface.SupportMarshalDeterministic | protoiface.SupportUnmarshalDiscardUnknown, + Size: size, + Marshal: marshal, + Unmarshal: unmarshal, + Merge: nil, + CheckInitialized: nil, + } +} + +var ( + md_RegisterResponse protoreflect.MessageDescriptor + fd_RegisterResponse_success protoreflect.FieldDescriptor + fd_RegisterResponse_message protoreflect.FieldDescriptor +) + +func init() { + file_emissions_v8_tx_proto_init() + md_RegisterResponse = File_emissions_v8_tx_proto.Messages().ByName("RegisterResponse") + fd_RegisterResponse_success = md_RegisterResponse.Fields().ByName("success") + fd_RegisterResponse_message = md_RegisterResponse.Fields().ByName("message") +} + +var _ protoreflect.Message = (*fastReflection_RegisterResponse)(nil) + +type fastReflection_RegisterResponse RegisterResponse + +func (x *RegisterResponse) ProtoReflect() protoreflect.Message { + return (*fastReflection_RegisterResponse)(x) +} + +func (x *RegisterResponse) slowProtoReflect() protoreflect.Message { + mi := &file_emissions_v8_tx_proto_msgTypes[10] + 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) +} + +var _fastReflection_RegisterResponse_messageType fastReflection_RegisterResponse_messageType +var _ protoreflect.MessageType = fastReflection_RegisterResponse_messageType{} + +type fastReflection_RegisterResponse_messageType struct{} + +func (x fastReflection_RegisterResponse_messageType) Zero() protoreflect.Message { + return (*fastReflection_RegisterResponse)(nil) +} +func (x fastReflection_RegisterResponse_messageType) New() protoreflect.Message { + return new(fastReflection_RegisterResponse) +} +func (x fastReflection_RegisterResponse_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_RegisterResponse +} + +// Descriptor returns message descriptor, which contains only the protobuf +// type information for the message. +func (x *fastReflection_RegisterResponse) Descriptor() protoreflect.MessageDescriptor { + return md_RegisterResponse +} + +// Type returns the message type, which encapsulates both Go and protobuf +// type information. If the Go type information is not needed, +// it is recommended that the message descriptor be used instead. +func (x *fastReflection_RegisterResponse) Type() protoreflect.MessageType { + return _fastReflection_RegisterResponse_messageType +} + +// New returns a newly allocated and mutable empty message. +func (x *fastReflection_RegisterResponse) New() protoreflect.Message { + return new(fastReflection_RegisterResponse) +} + +// Interface unwraps the message reflection interface and +// returns the underlying ProtoMessage interface. +func (x *fastReflection_RegisterResponse) Interface() protoreflect.ProtoMessage { + return (*RegisterResponse)(x) +} + +// Range iterates over every populated field in an undefined order, +// calling f for each field descriptor and value encountered. +// Range returns immediately if f returns false. +// While iterating, mutating operations may only be performed +// on the current field descriptor. +func (x *fastReflection_RegisterResponse) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { + if x.Success != false { + value := protoreflect.ValueOfBool(x.Success) + if !f(fd_RegisterResponse_success, value) { + return + } + } + if x.Message != "" { + value := protoreflect.ValueOfString(x.Message) + if !f(fd_RegisterResponse_message, value) { + return + } + } +} + +// Has reports whether a field is populated. +// +// Some fields have the property of nullability where it is possible to +// distinguish between the default value of a field and whether the field +// was explicitly populated with the default value. Singular message fields, +// member fields of a oneof, and proto2 scalar fields are nullable. Such +// fields are populated only if explicitly set. +// +// In other cases (aside from the nullable cases above), +// a proto3 scalar field is populated if it contains a non-zero value, and +// a repeated field is populated if it is non-empty. +func (x *fastReflection_RegisterResponse) Has(fd protoreflect.FieldDescriptor) bool { + switch fd.FullName() { + case "emissions.v8.RegisterResponse.success": + return x.Success != false + case "emissions.v8.RegisterResponse.message": + return x.Message != "" + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.RegisterResponse")) + } + panic(fmt.Errorf("message emissions.v8.RegisterResponse does not contain field %s", fd.FullName())) + } +} + +// Clear clears the field such that a subsequent Has call reports false. +// +// Clearing an extension field clears both the extension type and value +// associated with the given field number. +// +// Clear is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_RegisterResponse) Clear(fd protoreflect.FieldDescriptor) { + switch fd.FullName() { + case "emissions.v8.RegisterResponse.success": + x.Success = false + case "emissions.v8.RegisterResponse.message": + x.Message = "" + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.RegisterResponse")) + } + panic(fmt.Errorf("message emissions.v8.RegisterResponse does not contain field %s", fd.FullName())) + } +} + +// Get retrieves the value for a field. +// +// For unpopulated scalars, it returns the default value, where +// the default value of a bytes scalar is guaranteed to be a copy. +// For unpopulated composite types, it returns an empty, read-only view +// of the value; to obtain a mutable reference, use Mutable. +func (x *fastReflection_RegisterResponse) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { + switch descriptor.FullName() { + case "emissions.v8.RegisterResponse.success": + value := x.Success + return protoreflect.ValueOfBool(value) + case "emissions.v8.RegisterResponse.message": + value := x.Message + return protoreflect.ValueOfString(value) + default: + if descriptor.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.RegisterResponse")) + } + panic(fmt.Errorf("message emissions.v8.RegisterResponse does not contain field %s", descriptor.FullName())) + } +} + +// Set stores the value for a field. +// +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType. +// When setting a composite type, it is unspecified whether the stored value +// aliases the source's memory in any way. If the composite value is an +// empty, read-only value, then it panics. +// +// Set is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_RegisterResponse) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { + switch fd.FullName() { + case "emissions.v8.RegisterResponse.success": + x.Success = value.Bool() + case "emissions.v8.RegisterResponse.message": + x.Message = value.Interface().(string) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.RegisterResponse")) + } + panic(fmt.Errorf("message emissions.v8.RegisterResponse does not contain field %s", fd.FullName())) + } +} + +// Mutable returns a mutable reference to a composite type. +// +// If the field is unpopulated, it may allocate a composite value. +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType +// if not already stored. +// It panics if the field does not contain a composite type. +// +// Mutable is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_RegisterResponse) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.RegisterResponse.success": + panic(fmt.Errorf("field success of message emissions.v8.RegisterResponse is not mutable")) + case "emissions.v8.RegisterResponse.message": + panic(fmt.Errorf("field message of message emissions.v8.RegisterResponse is not mutable")) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.RegisterResponse")) + } + panic(fmt.Errorf("message emissions.v8.RegisterResponse does not contain field %s", fd.FullName())) + } +} + +// NewField returns a new value that is assignable to the field +// for the given descriptor. For scalars, this returns the default value. +// For lists, maps, and messages, this returns a new, empty, mutable value. +func (x *fastReflection_RegisterResponse) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.RegisterResponse.success": + return protoreflect.ValueOfBool(false) + case "emissions.v8.RegisterResponse.message": + return protoreflect.ValueOfString("") + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.RegisterResponse")) + } + panic(fmt.Errorf("message emissions.v8.RegisterResponse does not contain field %s", fd.FullName())) + } +} + +// WhichOneof reports which field within the oneof is populated, +// returning nil if none are populated. +// It panics if the oneof descriptor does not belong to this message. +func (x *fastReflection_RegisterResponse) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { + switch d.FullName() { + default: + panic(fmt.Errorf("%s is not a oneof field in emissions.v8.RegisterResponse", d.FullName())) + } + panic("unreachable") +} + +// GetUnknown retrieves the entire list of unknown fields. +// The caller may only mutate the contents of the RawFields +// if the mutated bytes are stored back into the message with SetUnknown. +func (x *fastReflection_RegisterResponse) GetUnknown() protoreflect.RawFields { + return x.unknownFields +} + +// SetUnknown stores an entire list of unknown fields. +// The raw fields must be syntactically valid according to the wire format. +// An implementation may panic if this is not the case. +// Once stored, the caller must not mutate the content of the RawFields. +// An empty RawFields may be passed to clear the fields. +// +// SetUnknown is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_RegisterResponse) SetUnknown(fields protoreflect.RawFields) { + x.unknownFields = fields +} + +// IsValid reports whether the message is valid. +// +// An invalid message is an empty, read-only value. +// +// An invalid message often corresponds to a nil pointer of the concrete +// message type, but the details are implementation dependent. +// Validity is not part of the protobuf data model, and may not +// be preserved in marshaling or other operations. +func (x *fastReflection_RegisterResponse) IsValid() bool { + return x != nil +} + +// ProtoMethods returns optional fastReflectionFeature-path implementations of various operations. +// This method may return nil. +// +// The returned methods type is identical to +// "google.golang.org/protobuf/runtime/protoiface".Methods. +// Consult the protoiface package documentation for details. +func (x *fastReflection_RegisterResponse) ProtoMethods() *protoiface.Methods { + size := func(input protoiface.SizeInput) protoiface.SizeOutput { + x := input.Message.Interface().(*RegisterResponse) + if x == nil { + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: 0, + } + } + options := runtime.SizeInputToOptions(input) + _ = options + var n int + var l int + _ = l + if x.Success { + n += 2 + } + l = len(x.Message) + if l > 0 { + n += 1 + l + runtime.Sov(uint64(l)) + } + if x.unknownFields != nil { + n += len(x.unknownFields) + } + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: n, + } + } + + marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { + x := input.Message.Interface().(*RegisterResponse) + if x == nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + options := runtime.MarshalInputToOptions(input) + _ = options + size := options.Size(x) + dAtA := make([]byte, size) + i := len(dAtA) + _ = i + var l int + _ = l + if x.unknownFields != nil { + i -= len(x.unknownFields) + copy(dAtA[i:], x.unknownFields) + } + if len(x.Message) > 0 { + i -= len(x.Message) + copy(dAtA[i:], x.Message) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.Message))) + i-- + dAtA[i] = 0x12 + } + if x.Success { + i-- + if x.Success { + dAtA[i] = 1 + } else { + dAtA[i] = 0 + } + i-- + dAtA[i] = 0x8 + } + if input.Buf != nil { + input.Buf = append(input.Buf, dAtA...) + } else { + input.Buf = dAtA + } + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { + x := input.Message.Interface().(*RegisterResponse) + if x == nil { + return protoiface.UnmarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Flags: input.Flags, + }, nil + } + options := runtime.UnmarshalInputToOptions(input) + _ = options + dAtA := input.Buf + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: RegisterResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: RegisterResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Success", wireType) + } + var v int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + x.Success = bool(v != 0) + case 2: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Message", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + x.Message = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := runtime.Skip(dAtA[iNdEx:]) + if err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if (iNdEx + skippy) > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + if !options.DiscardUnknown { + x.unknownFields = append(x.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + } + iNdEx += skippy + } + } + + if iNdEx > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, nil + } + return &protoiface.Methods{ + NoUnkeyedLiterals: struct{}{}, + Flags: protoiface.SupportMarshalDeterministic | protoiface.SupportUnmarshalDiscardUnknown, + Size: size, + Marshal: marshal, + Unmarshal: unmarshal, + Merge: nil, + CheckInitialized: nil, + } +} + +var ( + md_RemoveRegistrationRequest protoreflect.MessageDescriptor + fd_RemoveRegistrationRequest_sender protoreflect.FieldDescriptor + fd_RemoveRegistrationRequest_topic_id protoreflect.FieldDescriptor + fd_RemoveRegistrationRequest_is_reputer protoreflect.FieldDescriptor +) + +func init() { + file_emissions_v8_tx_proto_init() + md_RemoveRegistrationRequest = File_emissions_v8_tx_proto.Messages().ByName("RemoveRegistrationRequest") + fd_RemoveRegistrationRequest_sender = md_RemoveRegistrationRequest.Fields().ByName("sender") + fd_RemoveRegistrationRequest_topic_id = md_RemoveRegistrationRequest.Fields().ByName("topic_id") + fd_RemoveRegistrationRequest_is_reputer = md_RemoveRegistrationRequest.Fields().ByName("is_reputer") +} + +var _ protoreflect.Message = (*fastReflection_RemoveRegistrationRequest)(nil) + +type fastReflection_RemoveRegistrationRequest RemoveRegistrationRequest + +func (x *RemoveRegistrationRequest) ProtoReflect() protoreflect.Message { + return (*fastReflection_RemoveRegistrationRequest)(x) +} + +func (x *RemoveRegistrationRequest) slowProtoReflect() protoreflect.Message { + mi := &file_emissions_v8_tx_proto_msgTypes[11] + 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) +} + +var _fastReflection_RemoveRegistrationRequest_messageType fastReflection_RemoveRegistrationRequest_messageType +var _ protoreflect.MessageType = fastReflection_RemoveRegistrationRequest_messageType{} + +type fastReflection_RemoveRegistrationRequest_messageType struct{} + +func (x fastReflection_RemoveRegistrationRequest_messageType) Zero() protoreflect.Message { + return (*fastReflection_RemoveRegistrationRequest)(nil) +} +func (x fastReflection_RemoveRegistrationRequest_messageType) New() protoreflect.Message { + return new(fastReflection_RemoveRegistrationRequest) +} +func (x fastReflection_RemoveRegistrationRequest_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_RemoveRegistrationRequest +} + +// Descriptor returns message descriptor, which contains only the protobuf +// type information for the message. +func (x *fastReflection_RemoveRegistrationRequest) Descriptor() protoreflect.MessageDescriptor { + return md_RemoveRegistrationRequest +} + +// Type returns the message type, which encapsulates both Go and protobuf +// type information. If the Go type information is not needed, +// it is recommended that the message descriptor be used instead. +func (x *fastReflection_RemoveRegistrationRequest) Type() protoreflect.MessageType { + return _fastReflection_RemoveRegistrationRequest_messageType +} + +// New returns a newly allocated and mutable empty message. +func (x *fastReflection_RemoveRegistrationRequest) New() protoreflect.Message { + return new(fastReflection_RemoveRegistrationRequest) +} + +// Interface unwraps the message reflection interface and +// returns the underlying ProtoMessage interface. +func (x *fastReflection_RemoveRegistrationRequest) Interface() protoreflect.ProtoMessage { + return (*RemoveRegistrationRequest)(x) +} + +// Range iterates over every populated field in an undefined order, +// calling f for each field descriptor and value encountered. +// Range returns immediately if f returns false. +// While iterating, mutating operations may only be performed +// on the current field descriptor. +func (x *fastReflection_RemoveRegistrationRequest) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { + if x.Sender != "" { + value := protoreflect.ValueOfString(x.Sender) + if !f(fd_RemoveRegistrationRequest_sender, value) { + return + } + } + if x.TopicId != uint64(0) { + value := protoreflect.ValueOfUint64(x.TopicId) + if !f(fd_RemoveRegistrationRequest_topic_id, value) { + return + } + } + if x.IsReputer != false { + value := protoreflect.ValueOfBool(x.IsReputer) + if !f(fd_RemoveRegistrationRequest_is_reputer, value) { + return + } + } +} + +// Has reports whether a field is populated. +// +// Some fields have the property of nullability where it is possible to +// distinguish between the default value of a field and whether the field +// was explicitly populated with the default value. Singular message fields, +// member fields of a oneof, and proto2 scalar fields are nullable. Such +// fields are populated only if explicitly set. +// +// In other cases (aside from the nullable cases above), +// a proto3 scalar field is populated if it contains a non-zero value, and +// a repeated field is populated if it is non-empty. +func (x *fastReflection_RemoveRegistrationRequest) Has(fd protoreflect.FieldDescriptor) bool { + switch fd.FullName() { + case "emissions.v8.RemoveRegistrationRequest.sender": + return x.Sender != "" + case "emissions.v8.RemoveRegistrationRequest.topic_id": + return x.TopicId != uint64(0) + case "emissions.v8.RemoveRegistrationRequest.is_reputer": + return x.IsReputer != false + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.RemoveRegistrationRequest")) + } + panic(fmt.Errorf("message emissions.v8.RemoveRegistrationRequest does not contain field %s", fd.FullName())) + } +} + +// Clear clears the field such that a subsequent Has call reports false. +// +// Clearing an extension field clears both the extension type and value +// associated with the given field number. +// +// Clear is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_RemoveRegistrationRequest) Clear(fd protoreflect.FieldDescriptor) { + switch fd.FullName() { + case "emissions.v8.RemoveRegistrationRequest.sender": + x.Sender = "" + case "emissions.v8.RemoveRegistrationRequest.topic_id": + x.TopicId = uint64(0) + case "emissions.v8.RemoveRegistrationRequest.is_reputer": + x.IsReputer = false + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.RemoveRegistrationRequest")) + } + panic(fmt.Errorf("message emissions.v8.RemoveRegistrationRequest does not contain field %s", fd.FullName())) + } +} + +// Get retrieves the value for a field. +// +// For unpopulated scalars, it returns the default value, where +// the default value of a bytes scalar is guaranteed to be a copy. +// For unpopulated composite types, it returns an empty, read-only view +// of the value; to obtain a mutable reference, use Mutable. +func (x *fastReflection_RemoveRegistrationRequest) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { + switch descriptor.FullName() { + case "emissions.v8.RemoveRegistrationRequest.sender": + value := x.Sender + return protoreflect.ValueOfString(value) + case "emissions.v8.RemoveRegistrationRequest.topic_id": + value := x.TopicId + return protoreflect.ValueOfUint64(value) + case "emissions.v8.RemoveRegistrationRequest.is_reputer": + value := x.IsReputer + return protoreflect.ValueOfBool(value) + default: + if descriptor.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.RemoveRegistrationRequest")) + } + panic(fmt.Errorf("message emissions.v8.RemoveRegistrationRequest does not contain field %s", descriptor.FullName())) + } +} + +// Set stores the value for a field. +// +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType. +// When setting a composite type, it is unspecified whether the stored value +// aliases the source's memory in any way. If the composite value is an +// empty, read-only value, then it panics. +// +// Set is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_RemoveRegistrationRequest) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { + switch fd.FullName() { + case "emissions.v8.RemoveRegistrationRequest.sender": + x.Sender = value.Interface().(string) + case "emissions.v8.RemoveRegistrationRequest.topic_id": + x.TopicId = value.Uint() + case "emissions.v8.RemoveRegistrationRequest.is_reputer": + x.IsReputer = value.Bool() + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.RemoveRegistrationRequest")) + } + panic(fmt.Errorf("message emissions.v8.RemoveRegistrationRequest does not contain field %s", fd.FullName())) + } +} + +// Mutable returns a mutable reference to a composite type. +// +// If the field is unpopulated, it may allocate a composite value. +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType +// if not already stored. +// It panics if the field does not contain a composite type. +// +// Mutable is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_RemoveRegistrationRequest) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.RemoveRegistrationRequest.sender": + panic(fmt.Errorf("field sender of message emissions.v8.RemoveRegistrationRequest is not mutable")) + case "emissions.v8.RemoveRegistrationRequest.topic_id": + panic(fmt.Errorf("field topic_id of message emissions.v8.RemoveRegistrationRequest is not mutable")) + case "emissions.v8.RemoveRegistrationRequest.is_reputer": + panic(fmt.Errorf("field is_reputer of message emissions.v8.RemoveRegistrationRequest is not mutable")) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.RemoveRegistrationRequest")) + } + panic(fmt.Errorf("message emissions.v8.RemoveRegistrationRequest does not contain field %s", fd.FullName())) + } +} + +// NewField returns a new value that is assignable to the field +// for the given descriptor. For scalars, this returns the default value. +// For lists, maps, and messages, this returns a new, empty, mutable value. +func (x *fastReflection_RemoveRegistrationRequest) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.RemoveRegistrationRequest.sender": + return protoreflect.ValueOfString("") + case "emissions.v8.RemoveRegistrationRequest.topic_id": + return protoreflect.ValueOfUint64(uint64(0)) + case "emissions.v8.RemoveRegistrationRequest.is_reputer": + return protoreflect.ValueOfBool(false) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.RemoveRegistrationRequest")) + } + panic(fmt.Errorf("message emissions.v8.RemoveRegistrationRequest does not contain field %s", fd.FullName())) + } +} + +// WhichOneof reports which field within the oneof is populated, +// returning nil if none are populated. +// It panics if the oneof descriptor does not belong to this message. +func (x *fastReflection_RemoveRegistrationRequest) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { + switch d.FullName() { + default: + panic(fmt.Errorf("%s is not a oneof field in emissions.v8.RemoveRegistrationRequest", d.FullName())) + } + panic("unreachable") +} + +// GetUnknown retrieves the entire list of unknown fields. +// The caller may only mutate the contents of the RawFields +// if the mutated bytes are stored back into the message with SetUnknown. +func (x *fastReflection_RemoveRegistrationRequest) GetUnknown() protoreflect.RawFields { + return x.unknownFields +} + +// SetUnknown stores an entire list of unknown fields. +// The raw fields must be syntactically valid according to the wire format. +// An implementation may panic if this is not the case. +// Once stored, the caller must not mutate the content of the RawFields. +// An empty RawFields may be passed to clear the fields. +// +// SetUnknown is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_RemoveRegistrationRequest) SetUnknown(fields protoreflect.RawFields) { + x.unknownFields = fields +} + +// IsValid reports whether the message is valid. +// +// An invalid message is an empty, read-only value. +// +// An invalid message often corresponds to a nil pointer of the concrete +// message type, but the details are implementation dependent. +// Validity is not part of the protobuf data model, and may not +// be preserved in marshaling or other operations. +func (x *fastReflection_RemoveRegistrationRequest) IsValid() bool { + return x != nil +} + +// ProtoMethods returns optional fastReflectionFeature-path implementations of various operations. +// This method may return nil. +// +// The returned methods type is identical to +// "google.golang.org/protobuf/runtime/protoiface".Methods. +// Consult the protoiface package documentation for details. +func (x *fastReflection_RemoveRegistrationRequest) ProtoMethods() *protoiface.Methods { + size := func(input protoiface.SizeInput) protoiface.SizeOutput { + x := input.Message.Interface().(*RemoveRegistrationRequest) + if x == nil { + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: 0, + } + } + options := runtime.SizeInputToOptions(input) + _ = options + var n int + var l int + _ = l + l = len(x.Sender) + if l > 0 { + n += 1 + l + runtime.Sov(uint64(l)) + } + if x.TopicId != 0 { + n += 1 + runtime.Sov(uint64(x.TopicId)) + } + if x.IsReputer { + n += 2 + } + if x.unknownFields != nil { + n += len(x.unknownFields) + } + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: n, + } + } + + marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { + x := input.Message.Interface().(*RemoveRegistrationRequest) + if x == nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + options := runtime.MarshalInputToOptions(input) + _ = options + size := options.Size(x) + dAtA := make([]byte, size) + i := len(dAtA) + _ = i + var l int + _ = l + if x.unknownFields != nil { + i -= len(x.unknownFields) + copy(dAtA[i:], x.unknownFields) + } + if x.IsReputer { + i-- + if x.IsReputer { + dAtA[i] = 1 + } else { + dAtA[i] = 0 + } + i-- + dAtA[i] = 0x18 + } + if x.TopicId != 0 { + i = runtime.EncodeVarint(dAtA, i, uint64(x.TopicId)) + i-- + dAtA[i] = 0x10 + } + if len(x.Sender) > 0 { + i -= len(x.Sender) + copy(dAtA[i:], x.Sender) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.Sender))) + i-- + dAtA[i] = 0xa + } + if input.Buf != nil { + input.Buf = append(input.Buf, dAtA...) + } else { + input.Buf = dAtA + } + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { + x := input.Message.Interface().(*RemoveRegistrationRequest) + if x == nil { + return protoiface.UnmarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Flags: input.Flags, + }, nil + } + options := runtime.UnmarshalInputToOptions(input) + _ = options + dAtA := input.Buf + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: RemoveRegistrationRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: RemoveRegistrationRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Sender", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + x.Sender = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field TopicId", wireType) + } + x.TopicId = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + x.TopicId |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 3: + if wireType != 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field IsReputer", wireType) + } + var v int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + x.IsReputer = bool(v != 0) + default: + iNdEx = preIndex + skippy, err := runtime.Skip(dAtA[iNdEx:]) + if err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if (iNdEx + skippy) > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + if !options.DiscardUnknown { + x.unknownFields = append(x.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + } + iNdEx += skippy + } + } + + if iNdEx > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, nil + } + return &protoiface.Methods{ + NoUnkeyedLiterals: struct{}{}, + Flags: protoiface.SupportMarshalDeterministic | protoiface.SupportUnmarshalDiscardUnknown, + Size: size, + Marshal: marshal, + Unmarshal: unmarshal, + Merge: nil, + CheckInitialized: nil, + } +} + +var ( + md_RemoveRegistrationResponse protoreflect.MessageDescriptor + fd_RemoveRegistrationResponse_success protoreflect.FieldDescriptor + fd_RemoveRegistrationResponse_message protoreflect.FieldDescriptor +) + +func init() { + file_emissions_v8_tx_proto_init() + md_RemoveRegistrationResponse = File_emissions_v8_tx_proto.Messages().ByName("RemoveRegistrationResponse") + fd_RemoveRegistrationResponse_success = md_RemoveRegistrationResponse.Fields().ByName("success") + fd_RemoveRegistrationResponse_message = md_RemoveRegistrationResponse.Fields().ByName("message") +} + +var _ protoreflect.Message = (*fastReflection_RemoveRegistrationResponse)(nil) + +type fastReflection_RemoveRegistrationResponse RemoveRegistrationResponse + +func (x *RemoveRegistrationResponse) ProtoReflect() protoreflect.Message { + return (*fastReflection_RemoveRegistrationResponse)(x) +} + +func (x *RemoveRegistrationResponse) slowProtoReflect() protoreflect.Message { + mi := &file_emissions_v8_tx_proto_msgTypes[12] + 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) +} + +var _fastReflection_RemoveRegistrationResponse_messageType fastReflection_RemoveRegistrationResponse_messageType +var _ protoreflect.MessageType = fastReflection_RemoveRegistrationResponse_messageType{} + +type fastReflection_RemoveRegistrationResponse_messageType struct{} + +func (x fastReflection_RemoveRegistrationResponse_messageType) Zero() protoreflect.Message { + return (*fastReflection_RemoveRegistrationResponse)(nil) +} +func (x fastReflection_RemoveRegistrationResponse_messageType) New() protoreflect.Message { + return new(fastReflection_RemoveRegistrationResponse) +} +func (x fastReflection_RemoveRegistrationResponse_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_RemoveRegistrationResponse +} + +// Descriptor returns message descriptor, which contains only the protobuf +// type information for the message. +func (x *fastReflection_RemoveRegistrationResponse) Descriptor() protoreflect.MessageDescriptor { + return md_RemoveRegistrationResponse +} + +// Type returns the message type, which encapsulates both Go and protobuf +// type information. If the Go type information is not needed, +// it is recommended that the message descriptor be used instead. +func (x *fastReflection_RemoveRegistrationResponse) Type() protoreflect.MessageType { + return _fastReflection_RemoveRegistrationResponse_messageType +} + +// New returns a newly allocated and mutable empty message. +func (x *fastReflection_RemoveRegistrationResponse) New() protoreflect.Message { + return new(fastReflection_RemoveRegistrationResponse) +} + +// Interface unwraps the message reflection interface and +// returns the underlying ProtoMessage interface. +func (x *fastReflection_RemoveRegistrationResponse) Interface() protoreflect.ProtoMessage { + return (*RemoveRegistrationResponse)(x) +} + +// Range iterates over every populated field in an undefined order, +// calling f for each field descriptor and value encountered. +// Range returns immediately if f returns false. +// While iterating, mutating operations may only be performed +// on the current field descriptor. +func (x *fastReflection_RemoveRegistrationResponse) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { + if x.Success != false { + value := protoreflect.ValueOfBool(x.Success) + if !f(fd_RemoveRegistrationResponse_success, value) { + return + } + } + if x.Message != "" { + value := protoreflect.ValueOfString(x.Message) + if !f(fd_RemoveRegistrationResponse_message, value) { + return + } + } +} + +// Has reports whether a field is populated. +// +// Some fields have the property of nullability where it is possible to +// distinguish between the default value of a field and whether the field +// was explicitly populated with the default value. Singular message fields, +// member fields of a oneof, and proto2 scalar fields are nullable. Such +// fields are populated only if explicitly set. +// +// In other cases (aside from the nullable cases above), +// a proto3 scalar field is populated if it contains a non-zero value, and +// a repeated field is populated if it is non-empty. +func (x *fastReflection_RemoveRegistrationResponse) Has(fd protoreflect.FieldDescriptor) bool { + switch fd.FullName() { + case "emissions.v8.RemoveRegistrationResponse.success": + return x.Success != false + case "emissions.v8.RemoveRegistrationResponse.message": + return x.Message != "" + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.RemoveRegistrationResponse")) + } + panic(fmt.Errorf("message emissions.v8.RemoveRegistrationResponse does not contain field %s", fd.FullName())) + } +} + +// Clear clears the field such that a subsequent Has call reports false. +// +// Clearing an extension field clears both the extension type and value +// associated with the given field number. +// +// Clear is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_RemoveRegistrationResponse) Clear(fd protoreflect.FieldDescriptor) { + switch fd.FullName() { + case "emissions.v8.RemoveRegistrationResponse.success": + x.Success = false + case "emissions.v8.RemoveRegistrationResponse.message": + x.Message = "" + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.RemoveRegistrationResponse")) + } + panic(fmt.Errorf("message emissions.v8.RemoveRegistrationResponse does not contain field %s", fd.FullName())) + } +} + +// Get retrieves the value for a field. +// +// For unpopulated scalars, it returns the default value, where +// the default value of a bytes scalar is guaranteed to be a copy. +// For unpopulated composite types, it returns an empty, read-only view +// of the value; to obtain a mutable reference, use Mutable. +func (x *fastReflection_RemoveRegistrationResponse) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { + switch descriptor.FullName() { + case "emissions.v8.RemoveRegistrationResponse.success": + value := x.Success + return protoreflect.ValueOfBool(value) + case "emissions.v8.RemoveRegistrationResponse.message": + value := x.Message + return protoreflect.ValueOfString(value) + default: + if descriptor.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.RemoveRegistrationResponse")) + } + panic(fmt.Errorf("message emissions.v8.RemoveRegistrationResponse does not contain field %s", descriptor.FullName())) + } +} + +// Set stores the value for a field. +// +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType. +// When setting a composite type, it is unspecified whether the stored value +// aliases the source's memory in any way. If the composite value is an +// empty, read-only value, then it panics. +// +// Set is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_RemoveRegistrationResponse) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { + switch fd.FullName() { + case "emissions.v8.RemoveRegistrationResponse.success": + x.Success = value.Bool() + case "emissions.v8.RemoveRegistrationResponse.message": + x.Message = value.Interface().(string) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.RemoveRegistrationResponse")) + } + panic(fmt.Errorf("message emissions.v8.RemoveRegistrationResponse does not contain field %s", fd.FullName())) + } +} + +// Mutable returns a mutable reference to a composite type. +// +// If the field is unpopulated, it may allocate a composite value. +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType +// if not already stored. +// It panics if the field does not contain a composite type. +// +// Mutable is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_RemoveRegistrationResponse) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.RemoveRegistrationResponse.success": + panic(fmt.Errorf("field success of message emissions.v8.RemoveRegistrationResponse is not mutable")) + case "emissions.v8.RemoveRegistrationResponse.message": + panic(fmt.Errorf("field message of message emissions.v8.RemoveRegistrationResponse is not mutable")) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.RemoveRegistrationResponse")) + } + panic(fmt.Errorf("message emissions.v8.RemoveRegistrationResponse does not contain field %s", fd.FullName())) + } +} + +// NewField returns a new value that is assignable to the field +// for the given descriptor. For scalars, this returns the default value. +// For lists, maps, and messages, this returns a new, empty, mutable value. +func (x *fastReflection_RemoveRegistrationResponse) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.RemoveRegistrationResponse.success": + return protoreflect.ValueOfBool(false) + case "emissions.v8.RemoveRegistrationResponse.message": + return protoreflect.ValueOfString("") + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.RemoveRegistrationResponse")) + } + panic(fmt.Errorf("message emissions.v8.RemoveRegistrationResponse does not contain field %s", fd.FullName())) + } +} + +// WhichOneof reports which field within the oneof is populated, +// returning nil if none are populated. +// It panics if the oneof descriptor does not belong to this message. +func (x *fastReflection_RemoveRegistrationResponse) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { + switch d.FullName() { + default: + panic(fmt.Errorf("%s is not a oneof field in emissions.v8.RemoveRegistrationResponse", d.FullName())) + } + panic("unreachable") +} + +// GetUnknown retrieves the entire list of unknown fields. +// The caller may only mutate the contents of the RawFields +// if the mutated bytes are stored back into the message with SetUnknown. +func (x *fastReflection_RemoveRegistrationResponse) GetUnknown() protoreflect.RawFields { + return x.unknownFields +} + +// SetUnknown stores an entire list of unknown fields. +// The raw fields must be syntactically valid according to the wire format. +// An implementation may panic if this is not the case. +// Once stored, the caller must not mutate the content of the RawFields. +// An empty RawFields may be passed to clear the fields. +// +// SetUnknown is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_RemoveRegistrationResponse) SetUnknown(fields protoreflect.RawFields) { + x.unknownFields = fields +} + +// IsValid reports whether the message is valid. +// +// An invalid message is an empty, read-only value. +// +// An invalid message often corresponds to a nil pointer of the concrete +// message type, but the details are implementation dependent. +// Validity is not part of the protobuf data model, and may not +// be preserved in marshaling or other operations. +func (x *fastReflection_RemoveRegistrationResponse) IsValid() bool { + return x != nil +} + +// ProtoMethods returns optional fastReflectionFeature-path implementations of various operations. +// This method may return nil. +// +// The returned methods type is identical to +// "google.golang.org/protobuf/runtime/protoiface".Methods. +// Consult the protoiface package documentation for details. +func (x *fastReflection_RemoveRegistrationResponse) ProtoMethods() *protoiface.Methods { + size := func(input protoiface.SizeInput) protoiface.SizeOutput { + x := input.Message.Interface().(*RemoveRegistrationResponse) + if x == nil { + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: 0, + } + } + options := runtime.SizeInputToOptions(input) + _ = options + var n int + var l int + _ = l + if x.Success { + n += 2 + } + l = len(x.Message) + if l > 0 { + n += 1 + l + runtime.Sov(uint64(l)) + } + if x.unknownFields != nil { + n += len(x.unknownFields) + } + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: n, + } + } + + marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { + x := input.Message.Interface().(*RemoveRegistrationResponse) + if x == nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + options := runtime.MarshalInputToOptions(input) + _ = options + size := options.Size(x) + dAtA := make([]byte, size) + i := len(dAtA) + _ = i + var l int + _ = l + if x.unknownFields != nil { + i -= len(x.unknownFields) + copy(dAtA[i:], x.unknownFields) + } + if len(x.Message) > 0 { + i -= len(x.Message) + copy(dAtA[i:], x.Message) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.Message))) + i-- + dAtA[i] = 0x12 + } + if x.Success { + i-- + if x.Success { + dAtA[i] = 1 + } else { + dAtA[i] = 0 + } + i-- + dAtA[i] = 0x8 + } + if input.Buf != nil { + input.Buf = append(input.Buf, dAtA...) + } else { + input.Buf = dAtA + } + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { + x := input.Message.Interface().(*RemoveRegistrationResponse) + if x == nil { + return protoiface.UnmarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Flags: input.Flags, + }, nil + } + options := runtime.UnmarshalInputToOptions(input) + _ = options + dAtA := input.Buf + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: RemoveRegistrationResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: RemoveRegistrationResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Success", wireType) + } + var v int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + x.Success = bool(v != 0) + case 2: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Message", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + x.Message = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := runtime.Skip(dAtA[iNdEx:]) + if err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if (iNdEx + skippy) > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + if !options.DiscardUnknown { + x.unknownFields = append(x.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + } + iNdEx += skippy + } + } + + if iNdEx > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, nil + } + return &protoiface.Methods{ + NoUnkeyedLiterals: struct{}{}, + Flags: protoiface.SupportMarshalDeterministic | protoiface.SupportUnmarshalDiscardUnknown, + Size: size, + Marshal: marshal, + Unmarshal: unmarshal, + Merge: nil, + CheckInitialized: nil, + } +} + +var ( + md_AddStakeRequest protoreflect.MessageDescriptor + fd_AddStakeRequest_sender protoreflect.FieldDescriptor + fd_AddStakeRequest_topic_id protoreflect.FieldDescriptor + fd_AddStakeRequest_amount protoreflect.FieldDescriptor +) + +func init() { + file_emissions_v8_tx_proto_init() + md_AddStakeRequest = File_emissions_v8_tx_proto.Messages().ByName("AddStakeRequest") + fd_AddStakeRequest_sender = md_AddStakeRequest.Fields().ByName("sender") + fd_AddStakeRequest_topic_id = md_AddStakeRequest.Fields().ByName("topic_id") + fd_AddStakeRequest_amount = md_AddStakeRequest.Fields().ByName("amount") +} + +var _ protoreflect.Message = (*fastReflection_AddStakeRequest)(nil) + +type fastReflection_AddStakeRequest AddStakeRequest + +func (x *AddStakeRequest) ProtoReflect() protoreflect.Message { + return (*fastReflection_AddStakeRequest)(x) +} + +func (x *AddStakeRequest) slowProtoReflect() protoreflect.Message { + mi := &file_emissions_v8_tx_proto_msgTypes[13] + 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) +} + +var _fastReflection_AddStakeRequest_messageType fastReflection_AddStakeRequest_messageType +var _ protoreflect.MessageType = fastReflection_AddStakeRequest_messageType{} + +type fastReflection_AddStakeRequest_messageType struct{} + +func (x fastReflection_AddStakeRequest_messageType) Zero() protoreflect.Message { + return (*fastReflection_AddStakeRequest)(nil) +} +func (x fastReflection_AddStakeRequest_messageType) New() protoreflect.Message { + return new(fastReflection_AddStakeRequest) +} +func (x fastReflection_AddStakeRequest_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_AddStakeRequest +} + +// Descriptor returns message descriptor, which contains only the protobuf +// type information for the message. +func (x *fastReflection_AddStakeRequest) Descriptor() protoreflect.MessageDescriptor { + return md_AddStakeRequest +} + +// Type returns the message type, which encapsulates both Go and protobuf +// type information. If the Go type information is not needed, +// it is recommended that the message descriptor be used instead. +func (x *fastReflection_AddStakeRequest) Type() protoreflect.MessageType { + return _fastReflection_AddStakeRequest_messageType +} + +// New returns a newly allocated and mutable empty message. +func (x *fastReflection_AddStakeRequest) New() protoreflect.Message { + return new(fastReflection_AddStakeRequest) +} + +// Interface unwraps the message reflection interface and +// returns the underlying ProtoMessage interface. +func (x *fastReflection_AddStakeRequest) Interface() protoreflect.ProtoMessage { + return (*AddStakeRequest)(x) +} + +// Range iterates over every populated field in an undefined order, +// calling f for each field descriptor and value encountered. +// Range returns immediately if f returns false. +// While iterating, mutating operations may only be performed +// on the current field descriptor. +func (x *fastReflection_AddStakeRequest) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { + if x.Sender != "" { + value := protoreflect.ValueOfString(x.Sender) + if !f(fd_AddStakeRequest_sender, value) { + return + } + } + if x.TopicId != uint64(0) { + value := protoreflect.ValueOfUint64(x.TopicId) + if !f(fd_AddStakeRequest_topic_id, value) { + return + } + } + if x.Amount != "" { + value := protoreflect.ValueOfString(x.Amount) + if !f(fd_AddStakeRequest_amount, value) { + return + } + } +} + +// Has reports whether a field is populated. +// +// Some fields have the property of nullability where it is possible to +// distinguish between the default value of a field and whether the field +// was explicitly populated with the default value. Singular message fields, +// member fields of a oneof, and proto2 scalar fields are nullable. Such +// fields are populated only if explicitly set. +// +// In other cases (aside from the nullable cases above), +// a proto3 scalar field is populated if it contains a non-zero value, and +// a repeated field is populated if it is non-empty. +func (x *fastReflection_AddStakeRequest) Has(fd protoreflect.FieldDescriptor) bool { + switch fd.FullName() { + case "emissions.v8.AddStakeRequest.sender": + return x.Sender != "" + case "emissions.v8.AddStakeRequest.topic_id": + return x.TopicId != uint64(0) + case "emissions.v8.AddStakeRequest.amount": + return x.Amount != "" + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.AddStakeRequest")) + } + panic(fmt.Errorf("message emissions.v8.AddStakeRequest does not contain field %s", fd.FullName())) + } +} + +// Clear clears the field such that a subsequent Has call reports false. +// +// Clearing an extension field clears both the extension type and value +// associated with the given field number. +// +// Clear is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_AddStakeRequest) Clear(fd protoreflect.FieldDescriptor) { + switch fd.FullName() { + case "emissions.v8.AddStakeRequest.sender": + x.Sender = "" + case "emissions.v8.AddStakeRequest.topic_id": + x.TopicId = uint64(0) + case "emissions.v8.AddStakeRequest.amount": + x.Amount = "" + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.AddStakeRequest")) + } + panic(fmt.Errorf("message emissions.v8.AddStakeRequest does not contain field %s", fd.FullName())) + } +} + +// Get retrieves the value for a field. +// +// For unpopulated scalars, it returns the default value, where +// the default value of a bytes scalar is guaranteed to be a copy. +// For unpopulated composite types, it returns an empty, read-only view +// of the value; to obtain a mutable reference, use Mutable. +func (x *fastReflection_AddStakeRequest) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { + switch descriptor.FullName() { + case "emissions.v8.AddStakeRequest.sender": + value := x.Sender + return protoreflect.ValueOfString(value) + case "emissions.v8.AddStakeRequest.topic_id": + value := x.TopicId + return protoreflect.ValueOfUint64(value) + case "emissions.v8.AddStakeRequest.amount": + value := x.Amount + return protoreflect.ValueOfString(value) + default: + if descriptor.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.AddStakeRequest")) + } + panic(fmt.Errorf("message emissions.v8.AddStakeRequest does not contain field %s", descriptor.FullName())) + } +} + +// Set stores the value for a field. +// +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType. +// When setting a composite type, it is unspecified whether the stored value +// aliases the source's memory in any way. If the composite value is an +// empty, read-only value, then it panics. +// +// Set is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_AddStakeRequest) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { + switch fd.FullName() { + case "emissions.v8.AddStakeRequest.sender": + x.Sender = value.Interface().(string) + case "emissions.v8.AddStakeRequest.topic_id": + x.TopicId = value.Uint() + case "emissions.v8.AddStakeRequest.amount": + x.Amount = value.Interface().(string) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.AddStakeRequest")) + } + panic(fmt.Errorf("message emissions.v8.AddStakeRequest does not contain field %s", fd.FullName())) + } +} + +// Mutable returns a mutable reference to a composite type. +// +// If the field is unpopulated, it may allocate a composite value. +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType +// if not already stored. +// It panics if the field does not contain a composite type. +// +// Mutable is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_AddStakeRequest) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.AddStakeRequest.sender": + panic(fmt.Errorf("field sender of message emissions.v8.AddStakeRequest is not mutable")) + case "emissions.v8.AddStakeRequest.topic_id": + panic(fmt.Errorf("field topic_id of message emissions.v8.AddStakeRequest is not mutable")) + case "emissions.v8.AddStakeRequest.amount": + panic(fmt.Errorf("field amount of message emissions.v8.AddStakeRequest is not mutable")) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.AddStakeRequest")) + } + panic(fmt.Errorf("message emissions.v8.AddStakeRequest does not contain field %s", fd.FullName())) + } +} + +// NewField returns a new value that is assignable to the field +// for the given descriptor. For scalars, this returns the default value. +// For lists, maps, and messages, this returns a new, empty, mutable value. +func (x *fastReflection_AddStakeRequest) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.AddStakeRequest.sender": + return protoreflect.ValueOfString("") + case "emissions.v8.AddStakeRequest.topic_id": + return protoreflect.ValueOfUint64(uint64(0)) + case "emissions.v8.AddStakeRequest.amount": + return protoreflect.ValueOfString("") + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.AddStakeRequest")) + } + panic(fmt.Errorf("message emissions.v8.AddStakeRequest does not contain field %s", fd.FullName())) + } +} + +// WhichOneof reports which field within the oneof is populated, +// returning nil if none are populated. +// It panics if the oneof descriptor does not belong to this message. +func (x *fastReflection_AddStakeRequest) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { + switch d.FullName() { + default: + panic(fmt.Errorf("%s is not a oneof field in emissions.v8.AddStakeRequest", d.FullName())) + } + panic("unreachable") +} + +// GetUnknown retrieves the entire list of unknown fields. +// The caller may only mutate the contents of the RawFields +// if the mutated bytes are stored back into the message with SetUnknown. +func (x *fastReflection_AddStakeRequest) GetUnknown() protoreflect.RawFields { + return x.unknownFields +} + +// SetUnknown stores an entire list of unknown fields. +// The raw fields must be syntactically valid according to the wire format. +// An implementation may panic if this is not the case. +// Once stored, the caller must not mutate the content of the RawFields. +// An empty RawFields may be passed to clear the fields. +// +// SetUnknown is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_AddStakeRequest) SetUnknown(fields protoreflect.RawFields) { + x.unknownFields = fields +} + +// IsValid reports whether the message is valid. +// +// An invalid message is an empty, read-only value. +// +// An invalid message often corresponds to a nil pointer of the concrete +// message type, but the details are implementation dependent. +// Validity is not part of the protobuf data model, and may not +// be preserved in marshaling or other operations. +func (x *fastReflection_AddStakeRequest) IsValid() bool { + return x != nil +} + +// ProtoMethods returns optional fastReflectionFeature-path implementations of various operations. +// This method may return nil. +// +// The returned methods type is identical to +// "google.golang.org/protobuf/runtime/protoiface".Methods. +// Consult the protoiface package documentation for details. +func (x *fastReflection_AddStakeRequest) ProtoMethods() *protoiface.Methods { + size := func(input protoiface.SizeInput) protoiface.SizeOutput { + x := input.Message.Interface().(*AddStakeRequest) + if x == nil { + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: 0, + } + } + options := runtime.SizeInputToOptions(input) + _ = options + var n int + var l int + _ = l + l = len(x.Sender) + if l > 0 { + n += 1 + l + runtime.Sov(uint64(l)) + } + if x.TopicId != 0 { + n += 1 + runtime.Sov(uint64(x.TopicId)) + } + l = len(x.Amount) + if l > 0 { + n += 1 + l + runtime.Sov(uint64(l)) + } + if x.unknownFields != nil { + n += len(x.unknownFields) + } + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: n, + } + } + + marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { + x := input.Message.Interface().(*AddStakeRequest) + if x == nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + options := runtime.MarshalInputToOptions(input) + _ = options + size := options.Size(x) + dAtA := make([]byte, size) + i := len(dAtA) + _ = i + var l int + _ = l + if x.unknownFields != nil { + i -= len(x.unknownFields) + copy(dAtA[i:], x.unknownFields) + } + if len(x.Amount) > 0 { + i -= len(x.Amount) + copy(dAtA[i:], x.Amount) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.Amount))) + i-- + dAtA[i] = 0x1a + } + if x.TopicId != 0 { + i = runtime.EncodeVarint(dAtA, i, uint64(x.TopicId)) + i-- + dAtA[i] = 0x10 + } + if len(x.Sender) > 0 { + i -= len(x.Sender) + copy(dAtA[i:], x.Sender) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.Sender))) + i-- + dAtA[i] = 0xa + } + if input.Buf != nil { + input.Buf = append(input.Buf, dAtA...) + } else { + input.Buf = dAtA + } + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { + x := input.Message.Interface().(*AddStakeRequest) + if x == nil { + return protoiface.UnmarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Flags: input.Flags, + }, nil + } + options := runtime.UnmarshalInputToOptions(input) + _ = options + dAtA := input.Buf + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: AddStakeRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: AddStakeRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Sender", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + x.Sender = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field TopicId", wireType) + } + x.TopicId = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + x.TopicId |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 3: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Amount", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + x.Amount = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := runtime.Skip(dAtA[iNdEx:]) + if err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if (iNdEx + skippy) > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + if !options.DiscardUnknown { + x.unknownFields = append(x.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + } + iNdEx += skippy + } + } + + if iNdEx > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, nil + } + return &protoiface.Methods{ + NoUnkeyedLiterals: struct{}{}, + Flags: protoiface.SupportMarshalDeterministic | protoiface.SupportUnmarshalDiscardUnknown, + Size: size, + Marshal: marshal, + Unmarshal: unmarshal, + Merge: nil, + CheckInitialized: nil, + } +} + +var ( + md_AddStakeResponse protoreflect.MessageDescriptor +) + +func init() { + file_emissions_v8_tx_proto_init() + md_AddStakeResponse = File_emissions_v8_tx_proto.Messages().ByName("AddStakeResponse") +} + +var _ protoreflect.Message = (*fastReflection_AddStakeResponse)(nil) + +type fastReflection_AddStakeResponse AddStakeResponse + +func (x *AddStakeResponse) ProtoReflect() protoreflect.Message { + return (*fastReflection_AddStakeResponse)(x) +} + +func (x *AddStakeResponse) slowProtoReflect() protoreflect.Message { + mi := &file_emissions_v8_tx_proto_msgTypes[14] + 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) +} + +var _fastReflection_AddStakeResponse_messageType fastReflection_AddStakeResponse_messageType +var _ protoreflect.MessageType = fastReflection_AddStakeResponse_messageType{} + +type fastReflection_AddStakeResponse_messageType struct{} + +func (x fastReflection_AddStakeResponse_messageType) Zero() protoreflect.Message { + return (*fastReflection_AddStakeResponse)(nil) +} +func (x fastReflection_AddStakeResponse_messageType) New() protoreflect.Message { + return new(fastReflection_AddStakeResponse) +} +func (x fastReflection_AddStakeResponse_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_AddStakeResponse +} + +// Descriptor returns message descriptor, which contains only the protobuf +// type information for the message. +func (x *fastReflection_AddStakeResponse) Descriptor() protoreflect.MessageDescriptor { + return md_AddStakeResponse +} + +// Type returns the message type, which encapsulates both Go and protobuf +// type information. If the Go type information is not needed, +// it is recommended that the message descriptor be used instead. +func (x *fastReflection_AddStakeResponse) Type() protoreflect.MessageType { + return _fastReflection_AddStakeResponse_messageType +} + +// New returns a newly allocated and mutable empty message. +func (x *fastReflection_AddStakeResponse) New() protoreflect.Message { + return new(fastReflection_AddStakeResponse) +} + +// Interface unwraps the message reflection interface and +// returns the underlying ProtoMessage interface. +func (x *fastReflection_AddStakeResponse) Interface() protoreflect.ProtoMessage { + return (*AddStakeResponse)(x) +} + +// Range iterates over every populated field in an undefined order, +// calling f for each field descriptor and value encountered. +// Range returns immediately if f returns false. +// While iterating, mutating operations may only be performed +// on the current field descriptor. +func (x *fastReflection_AddStakeResponse) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { +} + +// Has reports whether a field is populated. +// +// Some fields have the property of nullability where it is possible to +// distinguish between the default value of a field and whether the field +// was explicitly populated with the default value. Singular message fields, +// member fields of a oneof, and proto2 scalar fields are nullable. Such +// fields are populated only if explicitly set. +// +// In other cases (aside from the nullable cases above), +// a proto3 scalar field is populated if it contains a non-zero value, and +// a repeated field is populated if it is non-empty. +func (x *fastReflection_AddStakeResponse) Has(fd protoreflect.FieldDescriptor) bool { + switch fd.FullName() { + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.AddStakeResponse")) + } + panic(fmt.Errorf("message emissions.v8.AddStakeResponse does not contain field %s", fd.FullName())) + } +} + +// Clear clears the field such that a subsequent Has call reports false. +// +// Clearing an extension field clears both the extension type and value +// associated with the given field number. +// +// Clear is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_AddStakeResponse) Clear(fd protoreflect.FieldDescriptor) { + switch fd.FullName() { + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.AddStakeResponse")) + } + panic(fmt.Errorf("message emissions.v8.AddStakeResponse does not contain field %s", fd.FullName())) + } +} + +// Get retrieves the value for a field. +// +// For unpopulated scalars, it returns the default value, where +// the default value of a bytes scalar is guaranteed to be a copy. +// For unpopulated composite types, it returns an empty, read-only view +// of the value; to obtain a mutable reference, use Mutable. +func (x *fastReflection_AddStakeResponse) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { + switch descriptor.FullName() { + default: + if descriptor.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.AddStakeResponse")) + } + panic(fmt.Errorf("message emissions.v8.AddStakeResponse does not contain field %s", descriptor.FullName())) + } +} + +// Set stores the value for a field. +// +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType. +// When setting a composite type, it is unspecified whether the stored value +// aliases the source's memory in any way. If the composite value is an +// empty, read-only value, then it panics. +// +// Set is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_AddStakeResponse) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { + switch fd.FullName() { + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.AddStakeResponse")) + } + panic(fmt.Errorf("message emissions.v8.AddStakeResponse does not contain field %s", fd.FullName())) + } +} + +// Mutable returns a mutable reference to a composite type. +// +// If the field is unpopulated, it may allocate a composite value. +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType +// if not already stored. +// It panics if the field does not contain a composite type. +// +// Mutable is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_AddStakeResponse) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.AddStakeResponse")) + } + panic(fmt.Errorf("message emissions.v8.AddStakeResponse does not contain field %s", fd.FullName())) + } +} + +// NewField returns a new value that is assignable to the field +// for the given descriptor. For scalars, this returns the default value. +// For lists, maps, and messages, this returns a new, empty, mutable value. +func (x *fastReflection_AddStakeResponse) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.AddStakeResponse")) + } + panic(fmt.Errorf("message emissions.v8.AddStakeResponse does not contain field %s", fd.FullName())) + } +} + +// WhichOneof reports which field within the oneof is populated, +// returning nil if none are populated. +// It panics if the oneof descriptor does not belong to this message. +func (x *fastReflection_AddStakeResponse) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { + switch d.FullName() { + default: + panic(fmt.Errorf("%s is not a oneof field in emissions.v8.AddStakeResponse", d.FullName())) + } + panic("unreachable") +} + +// GetUnknown retrieves the entire list of unknown fields. +// The caller may only mutate the contents of the RawFields +// if the mutated bytes are stored back into the message with SetUnknown. +func (x *fastReflection_AddStakeResponse) GetUnknown() protoreflect.RawFields { + return x.unknownFields +} + +// SetUnknown stores an entire list of unknown fields. +// The raw fields must be syntactically valid according to the wire format. +// An implementation may panic if this is not the case. +// Once stored, the caller must not mutate the content of the RawFields. +// An empty RawFields may be passed to clear the fields. +// +// SetUnknown is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_AddStakeResponse) SetUnknown(fields protoreflect.RawFields) { + x.unknownFields = fields +} + +// IsValid reports whether the message is valid. +// +// An invalid message is an empty, read-only value. +// +// An invalid message often corresponds to a nil pointer of the concrete +// message type, but the details are implementation dependent. +// Validity is not part of the protobuf data model, and may not +// be preserved in marshaling or other operations. +func (x *fastReflection_AddStakeResponse) IsValid() bool { + return x != nil +} + +// ProtoMethods returns optional fastReflectionFeature-path implementations of various operations. +// This method may return nil. +// +// The returned methods type is identical to +// "google.golang.org/protobuf/runtime/protoiface".Methods. +// Consult the protoiface package documentation for details. +func (x *fastReflection_AddStakeResponse) ProtoMethods() *protoiface.Methods { + size := func(input protoiface.SizeInput) protoiface.SizeOutput { + x := input.Message.Interface().(*AddStakeResponse) + if x == nil { + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: 0, + } + } + options := runtime.SizeInputToOptions(input) + _ = options + var n int + var l int + _ = l + if x.unknownFields != nil { + n += len(x.unknownFields) + } + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: n, + } + } + + marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { + x := input.Message.Interface().(*AddStakeResponse) + if x == nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + options := runtime.MarshalInputToOptions(input) + _ = options + size := options.Size(x) + dAtA := make([]byte, size) + i := len(dAtA) + _ = i + var l int + _ = l + if x.unknownFields != nil { + i -= len(x.unknownFields) + copy(dAtA[i:], x.unknownFields) + } + if input.Buf != nil { + input.Buf = append(input.Buf, dAtA...) + } else { + input.Buf = dAtA + } + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { + x := input.Message.Interface().(*AddStakeResponse) + if x == nil { + return protoiface.UnmarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Flags: input.Flags, + }, nil + } + options := runtime.UnmarshalInputToOptions(input) + _ = options + dAtA := input.Buf + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: AddStakeResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: AddStakeResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + default: + iNdEx = preIndex + skippy, err := runtime.Skip(dAtA[iNdEx:]) + if err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if (iNdEx + skippy) > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + if !options.DiscardUnknown { + x.unknownFields = append(x.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + } + iNdEx += skippy + } + } + + if iNdEx > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, nil + } + return &protoiface.Methods{ + NoUnkeyedLiterals: struct{}{}, + Flags: protoiface.SupportMarshalDeterministic | protoiface.SupportUnmarshalDiscardUnknown, + Size: size, + Marshal: marshal, + Unmarshal: unmarshal, + Merge: nil, + CheckInitialized: nil, + } +} + +var ( + md_RemoveStakeRequest protoreflect.MessageDescriptor + fd_RemoveStakeRequest_sender protoreflect.FieldDescriptor + fd_RemoveStakeRequest_topic_id protoreflect.FieldDescriptor + fd_RemoveStakeRequest_amount protoreflect.FieldDescriptor +) + +func init() { + file_emissions_v8_tx_proto_init() + md_RemoveStakeRequest = File_emissions_v8_tx_proto.Messages().ByName("RemoveStakeRequest") + fd_RemoveStakeRequest_sender = md_RemoveStakeRequest.Fields().ByName("sender") + fd_RemoveStakeRequest_topic_id = md_RemoveStakeRequest.Fields().ByName("topic_id") + fd_RemoveStakeRequest_amount = md_RemoveStakeRequest.Fields().ByName("amount") +} + +var _ protoreflect.Message = (*fastReflection_RemoveStakeRequest)(nil) + +type fastReflection_RemoveStakeRequest RemoveStakeRequest + +func (x *RemoveStakeRequest) ProtoReflect() protoreflect.Message { + return (*fastReflection_RemoveStakeRequest)(x) +} + +func (x *RemoveStakeRequest) slowProtoReflect() protoreflect.Message { + mi := &file_emissions_v8_tx_proto_msgTypes[15] + 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) +} + +var _fastReflection_RemoveStakeRequest_messageType fastReflection_RemoveStakeRequest_messageType +var _ protoreflect.MessageType = fastReflection_RemoveStakeRequest_messageType{} + +type fastReflection_RemoveStakeRequest_messageType struct{} + +func (x fastReflection_RemoveStakeRequest_messageType) Zero() protoreflect.Message { + return (*fastReflection_RemoveStakeRequest)(nil) +} +func (x fastReflection_RemoveStakeRequest_messageType) New() protoreflect.Message { + return new(fastReflection_RemoveStakeRequest) +} +func (x fastReflection_RemoveStakeRequest_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_RemoveStakeRequest +} + +// Descriptor returns message descriptor, which contains only the protobuf +// type information for the message. +func (x *fastReflection_RemoveStakeRequest) Descriptor() protoreflect.MessageDescriptor { + return md_RemoveStakeRequest +} + +// Type returns the message type, which encapsulates both Go and protobuf +// type information. If the Go type information is not needed, +// it is recommended that the message descriptor be used instead. +func (x *fastReflection_RemoveStakeRequest) Type() protoreflect.MessageType { + return _fastReflection_RemoveStakeRequest_messageType +} + +// New returns a newly allocated and mutable empty message. +func (x *fastReflection_RemoveStakeRequest) New() protoreflect.Message { + return new(fastReflection_RemoveStakeRequest) +} + +// Interface unwraps the message reflection interface and +// returns the underlying ProtoMessage interface. +func (x *fastReflection_RemoveStakeRequest) Interface() protoreflect.ProtoMessage { + return (*RemoveStakeRequest)(x) +} + +// Range iterates over every populated field in an undefined order, +// calling f for each field descriptor and value encountered. +// Range returns immediately if f returns false. +// While iterating, mutating operations may only be performed +// on the current field descriptor. +func (x *fastReflection_RemoveStakeRequest) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { + if x.Sender != "" { + value := protoreflect.ValueOfString(x.Sender) + if !f(fd_RemoveStakeRequest_sender, value) { + return + } + } + if x.TopicId != uint64(0) { + value := protoreflect.ValueOfUint64(x.TopicId) + if !f(fd_RemoveStakeRequest_topic_id, value) { + return + } + } + if x.Amount != "" { + value := protoreflect.ValueOfString(x.Amount) + if !f(fd_RemoveStakeRequest_amount, value) { + return + } + } +} + +// Has reports whether a field is populated. +// +// Some fields have the property of nullability where it is possible to +// distinguish between the default value of a field and whether the field +// was explicitly populated with the default value. Singular message fields, +// member fields of a oneof, and proto2 scalar fields are nullable. Such +// fields are populated only if explicitly set. +// +// In other cases (aside from the nullable cases above), +// a proto3 scalar field is populated if it contains a non-zero value, and +// a repeated field is populated if it is non-empty. +func (x *fastReflection_RemoveStakeRequest) Has(fd protoreflect.FieldDescriptor) bool { + switch fd.FullName() { + case "emissions.v8.RemoveStakeRequest.sender": + return x.Sender != "" + case "emissions.v8.RemoveStakeRequest.topic_id": + return x.TopicId != uint64(0) + case "emissions.v8.RemoveStakeRequest.amount": + return x.Amount != "" + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.RemoveStakeRequest")) + } + panic(fmt.Errorf("message emissions.v8.RemoveStakeRequest does not contain field %s", fd.FullName())) + } +} + +// Clear clears the field such that a subsequent Has call reports false. +// +// Clearing an extension field clears both the extension type and value +// associated with the given field number. +// +// Clear is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_RemoveStakeRequest) Clear(fd protoreflect.FieldDescriptor) { + switch fd.FullName() { + case "emissions.v8.RemoveStakeRequest.sender": + x.Sender = "" + case "emissions.v8.RemoveStakeRequest.topic_id": + x.TopicId = uint64(0) + case "emissions.v8.RemoveStakeRequest.amount": + x.Amount = "" + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.RemoveStakeRequest")) + } + panic(fmt.Errorf("message emissions.v8.RemoveStakeRequest does not contain field %s", fd.FullName())) + } +} + +// Get retrieves the value for a field. +// +// For unpopulated scalars, it returns the default value, where +// the default value of a bytes scalar is guaranteed to be a copy. +// For unpopulated composite types, it returns an empty, read-only view +// of the value; to obtain a mutable reference, use Mutable. +func (x *fastReflection_RemoveStakeRequest) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { + switch descriptor.FullName() { + case "emissions.v8.RemoveStakeRequest.sender": + value := x.Sender + return protoreflect.ValueOfString(value) + case "emissions.v8.RemoveStakeRequest.topic_id": + value := x.TopicId + return protoreflect.ValueOfUint64(value) + case "emissions.v8.RemoveStakeRequest.amount": + value := x.Amount + return protoreflect.ValueOfString(value) + default: + if descriptor.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.RemoveStakeRequest")) + } + panic(fmt.Errorf("message emissions.v8.RemoveStakeRequest does not contain field %s", descriptor.FullName())) + } +} + +// Set stores the value for a field. +// +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType. +// When setting a composite type, it is unspecified whether the stored value +// aliases the source's memory in any way. If the composite value is an +// empty, read-only value, then it panics. +// +// Set is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_RemoveStakeRequest) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { + switch fd.FullName() { + case "emissions.v8.RemoveStakeRequest.sender": + x.Sender = value.Interface().(string) + case "emissions.v8.RemoveStakeRequest.topic_id": + x.TopicId = value.Uint() + case "emissions.v8.RemoveStakeRequest.amount": + x.Amount = value.Interface().(string) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.RemoveStakeRequest")) + } + panic(fmt.Errorf("message emissions.v8.RemoveStakeRequest does not contain field %s", fd.FullName())) + } +} + +// Mutable returns a mutable reference to a composite type. +// +// If the field is unpopulated, it may allocate a composite value. +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType +// if not already stored. +// It panics if the field does not contain a composite type. +// +// Mutable is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_RemoveStakeRequest) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.RemoveStakeRequest.sender": + panic(fmt.Errorf("field sender of message emissions.v8.RemoveStakeRequest is not mutable")) + case "emissions.v8.RemoveStakeRequest.topic_id": + panic(fmt.Errorf("field topic_id of message emissions.v8.RemoveStakeRequest is not mutable")) + case "emissions.v8.RemoveStakeRequest.amount": + panic(fmt.Errorf("field amount of message emissions.v8.RemoveStakeRequest is not mutable")) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.RemoveStakeRequest")) + } + panic(fmt.Errorf("message emissions.v8.RemoveStakeRequest does not contain field %s", fd.FullName())) + } +} + +// NewField returns a new value that is assignable to the field +// for the given descriptor. For scalars, this returns the default value. +// For lists, maps, and messages, this returns a new, empty, mutable value. +func (x *fastReflection_RemoveStakeRequest) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.RemoveStakeRequest.sender": + return protoreflect.ValueOfString("") + case "emissions.v8.RemoveStakeRequest.topic_id": + return protoreflect.ValueOfUint64(uint64(0)) + case "emissions.v8.RemoveStakeRequest.amount": + return protoreflect.ValueOfString("") + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.RemoveStakeRequest")) + } + panic(fmt.Errorf("message emissions.v8.RemoveStakeRequest does not contain field %s", fd.FullName())) + } +} + +// WhichOneof reports which field within the oneof is populated, +// returning nil if none are populated. +// It panics if the oneof descriptor does not belong to this message. +func (x *fastReflection_RemoveStakeRequest) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { + switch d.FullName() { + default: + panic(fmt.Errorf("%s is not a oneof field in emissions.v8.RemoveStakeRequest", d.FullName())) + } + panic("unreachable") +} + +// GetUnknown retrieves the entire list of unknown fields. +// The caller may only mutate the contents of the RawFields +// if the mutated bytes are stored back into the message with SetUnknown. +func (x *fastReflection_RemoveStakeRequest) GetUnknown() protoreflect.RawFields { + return x.unknownFields +} + +// SetUnknown stores an entire list of unknown fields. +// The raw fields must be syntactically valid according to the wire format. +// An implementation may panic if this is not the case. +// Once stored, the caller must not mutate the content of the RawFields. +// An empty RawFields may be passed to clear the fields. +// +// SetUnknown is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_RemoveStakeRequest) SetUnknown(fields protoreflect.RawFields) { + x.unknownFields = fields +} + +// IsValid reports whether the message is valid. +// +// An invalid message is an empty, read-only value. +// +// An invalid message often corresponds to a nil pointer of the concrete +// message type, but the details are implementation dependent. +// Validity is not part of the protobuf data model, and may not +// be preserved in marshaling or other operations. +func (x *fastReflection_RemoveStakeRequest) IsValid() bool { + return x != nil +} + +// ProtoMethods returns optional fastReflectionFeature-path implementations of various operations. +// This method may return nil. +// +// The returned methods type is identical to +// "google.golang.org/protobuf/runtime/protoiface".Methods. +// Consult the protoiface package documentation for details. +func (x *fastReflection_RemoveStakeRequest) ProtoMethods() *protoiface.Methods { + size := func(input protoiface.SizeInput) protoiface.SizeOutput { + x := input.Message.Interface().(*RemoveStakeRequest) + if x == nil { + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: 0, + } + } + options := runtime.SizeInputToOptions(input) + _ = options + var n int + var l int + _ = l + l = len(x.Sender) + if l > 0 { + n += 1 + l + runtime.Sov(uint64(l)) + } + if x.TopicId != 0 { + n += 1 + runtime.Sov(uint64(x.TopicId)) + } + l = len(x.Amount) + if l > 0 { + n += 1 + l + runtime.Sov(uint64(l)) + } + if x.unknownFields != nil { + n += len(x.unknownFields) + } + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: n, + } + } + + marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { + x := input.Message.Interface().(*RemoveStakeRequest) + if x == nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + options := runtime.MarshalInputToOptions(input) + _ = options + size := options.Size(x) + dAtA := make([]byte, size) + i := len(dAtA) + _ = i + var l int + _ = l + if x.unknownFields != nil { + i -= len(x.unknownFields) + copy(dAtA[i:], x.unknownFields) + } + if len(x.Amount) > 0 { + i -= len(x.Amount) + copy(dAtA[i:], x.Amount) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.Amount))) + i-- + dAtA[i] = 0x1a + } + if x.TopicId != 0 { + i = runtime.EncodeVarint(dAtA, i, uint64(x.TopicId)) + i-- + dAtA[i] = 0x10 + } + if len(x.Sender) > 0 { + i -= len(x.Sender) + copy(dAtA[i:], x.Sender) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.Sender))) + i-- + dAtA[i] = 0xa + } + if input.Buf != nil { + input.Buf = append(input.Buf, dAtA...) + } else { + input.Buf = dAtA + } + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { + x := input.Message.Interface().(*RemoveStakeRequest) + if x == nil { + return protoiface.UnmarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Flags: input.Flags, + }, nil + } + options := runtime.UnmarshalInputToOptions(input) + _ = options + dAtA := input.Buf + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: RemoveStakeRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: RemoveStakeRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Sender", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + x.Sender = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field TopicId", wireType) + } + x.TopicId = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + x.TopicId |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 3: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Amount", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + x.Amount = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := runtime.Skip(dAtA[iNdEx:]) + if err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if (iNdEx + skippy) > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + if !options.DiscardUnknown { + x.unknownFields = append(x.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + } + iNdEx += skippy + } + } + + if iNdEx > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, nil + } + return &protoiface.Methods{ + NoUnkeyedLiterals: struct{}{}, + Flags: protoiface.SupportMarshalDeterministic | protoiface.SupportUnmarshalDiscardUnknown, + Size: size, + Marshal: marshal, + Unmarshal: unmarshal, + Merge: nil, + CheckInitialized: nil, + } +} + +var ( + md_RemoveStakeResponse protoreflect.MessageDescriptor +) + +func init() { + file_emissions_v8_tx_proto_init() + md_RemoveStakeResponse = File_emissions_v8_tx_proto.Messages().ByName("RemoveStakeResponse") +} + +var _ protoreflect.Message = (*fastReflection_RemoveStakeResponse)(nil) + +type fastReflection_RemoveStakeResponse RemoveStakeResponse + +func (x *RemoveStakeResponse) ProtoReflect() protoreflect.Message { + return (*fastReflection_RemoveStakeResponse)(x) +} + +func (x *RemoveStakeResponse) slowProtoReflect() protoreflect.Message { + mi := &file_emissions_v8_tx_proto_msgTypes[16] + 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) +} + +var _fastReflection_RemoveStakeResponse_messageType fastReflection_RemoveStakeResponse_messageType +var _ protoreflect.MessageType = fastReflection_RemoveStakeResponse_messageType{} + +type fastReflection_RemoveStakeResponse_messageType struct{} + +func (x fastReflection_RemoveStakeResponse_messageType) Zero() protoreflect.Message { + return (*fastReflection_RemoveStakeResponse)(nil) +} +func (x fastReflection_RemoveStakeResponse_messageType) New() protoreflect.Message { + return new(fastReflection_RemoveStakeResponse) +} +func (x fastReflection_RemoveStakeResponse_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_RemoveStakeResponse +} + +// Descriptor returns message descriptor, which contains only the protobuf +// type information for the message. +func (x *fastReflection_RemoveStakeResponse) Descriptor() protoreflect.MessageDescriptor { + return md_RemoveStakeResponse +} + +// Type returns the message type, which encapsulates both Go and protobuf +// type information. If the Go type information is not needed, +// it is recommended that the message descriptor be used instead. +func (x *fastReflection_RemoveStakeResponse) Type() protoreflect.MessageType { + return _fastReflection_RemoveStakeResponse_messageType +} + +// New returns a newly allocated and mutable empty message. +func (x *fastReflection_RemoveStakeResponse) New() protoreflect.Message { + return new(fastReflection_RemoveStakeResponse) +} + +// Interface unwraps the message reflection interface and +// returns the underlying ProtoMessage interface. +func (x *fastReflection_RemoveStakeResponse) Interface() protoreflect.ProtoMessage { + return (*RemoveStakeResponse)(x) +} + +// Range iterates over every populated field in an undefined order, +// calling f for each field descriptor and value encountered. +// Range returns immediately if f returns false. +// While iterating, mutating operations may only be performed +// on the current field descriptor. +func (x *fastReflection_RemoveStakeResponse) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { +} + +// Has reports whether a field is populated. +// +// Some fields have the property of nullability where it is possible to +// distinguish between the default value of a field and whether the field +// was explicitly populated with the default value. Singular message fields, +// member fields of a oneof, and proto2 scalar fields are nullable. Such +// fields are populated only if explicitly set. +// +// In other cases (aside from the nullable cases above), +// a proto3 scalar field is populated if it contains a non-zero value, and +// a repeated field is populated if it is non-empty. +func (x *fastReflection_RemoveStakeResponse) Has(fd protoreflect.FieldDescriptor) bool { + switch fd.FullName() { + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.RemoveStakeResponse")) + } + panic(fmt.Errorf("message emissions.v8.RemoveStakeResponse does not contain field %s", fd.FullName())) + } +} + +// Clear clears the field such that a subsequent Has call reports false. +// +// Clearing an extension field clears both the extension type and value +// associated with the given field number. +// +// Clear is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_RemoveStakeResponse) Clear(fd protoreflect.FieldDescriptor) { + switch fd.FullName() { + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.RemoveStakeResponse")) + } + panic(fmt.Errorf("message emissions.v8.RemoveStakeResponse does not contain field %s", fd.FullName())) + } +} + +// Get retrieves the value for a field. +// +// For unpopulated scalars, it returns the default value, where +// the default value of a bytes scalar is guaranteed to be a copy. +// For unpopulated composite types, it returns an empty, read-only view +// of the value; to obtain a mutable reference, use Mutable. +func (x *fastReflection_RemoveStakeResponse) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { + switch descriptor.FullName() { + default: + if descriptor.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.RemoveStakeResponse")) + } + panic(fmt.Errorf("message emissions.v8.RemoveStakeResponse does not contain field %s", descriptor.FullName())) + } +} + +// Set stores the value for a field. +// +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType. +// When setting a composite type, it is unspecified whether the stored value +// aliases the source's memory in any way. If the composite value is an +// empty, read-only value, then it panics. +// +// Set is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_RemoveStakeResponse) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { + switch fd.FullName() { + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.RemoveStakeResponse")) + } + panic(fmt.Errorf("message emissions.v8.RemoveStakeResponse does not contain field %s", fd.FullName())) + } +} + +// Mutable returns a mutable reference to a composite type. +// +// If the field is unpopulated, it may allocate a composite value. +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType +// if not already stored. +// It panics if the field does not contain a composite type. +// +// Mutable is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_RemoveStakeResponse) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.RemoveStakeResponse")) + } + panic(fmt.Errorf("message emissions.v8.RemoveStakeResponse does not contain field %s", fd.FullName())) + } +} + +// NewField returns a new value that is assignable to the field +// for the given descriptor. For scalars, this returns the default value. +// For lists, maps, and messages, this returns a new, empty, mutable value. +func (x *fastReflection_RemoveStakeResponse) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.RemoveStakeResponse")) + } + panic(fmt.Errorf("message emissions.v8.RemoveStakeResponse does not contain field %s", fd.FullName())) + } +} + +// WhichOneof reports which field within the oneof is populated, +// returning nil if none are populated. +// It panics if the oneof descriptor does not belong to this message. +func (x *fastReflection_RemoveStakeResponse) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { + switch d.FullName() { + default: + panic(fmt.Errorf("%s is not a oneof field in emissions.v8.RemoveStakeResponse", d.FullName())) + } + panic("unreachable") +} + +// GetUnknown retrieves the entire list of unknown fields. +// The caller may only mutate the contents of the RawFields +// if the mutated bytes are stored back into the message with SetUnknown. +func (x *fastReflection_RemoveStakeResponse) GetUnknown() protoreflect.RawFields { + return x.unknownFields +} + +// SetUnknown stores an entire list of unknown fields. +// The raw fields must be syntactically valid according to the wire format. +// An implementation may panic if this is not the case. +// Once stored, the caller must not mutate the content of the RawFields. +// An empty RawFields may be passed to clear the fields. +// +// SetUnknown is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_RemoveStakeResponse) SetUnknown(fields protoreflect.RawFields) { + x.unknownFields = fields +} + +// IsValid reports whether the message is valid. +// +// An invalid message is an empty, read-only value. +// +// An invalid message often corresponds to a nil pointer of the concrete +// message type, but the details are implementation dependent. +// Validity is not part of the protobuf data model, and may not +// be preserved in marshaling or other operations. +func (x *fastReflection_RemoveStakeResponse) IsValid() bool { + return x != nil +} + +// ProtoMethods returns optional fastReflectionFeature-path implementations of various operations. +// This method may return nil. +// +// The returned methods type is identical to +// "google.golang.org/protobuf/runtime/protoiface".Methods. +// Consult the protoiface package documentation for details. +func (x *fastReflection_RemoveStakeResponse) ProtoMethods() *protoiface.Methods { + size := func(input protoiface.SizeInput) protoiface.SizeOutput { + x := input.Message.Interface().(*RemoveStakeResponse) + if x == nil { + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: 0, + } + } + options := runtime.SizeInputToOptions(input) + _ = options + var n int + var l int + _ = l + if x.unknownFields != nil { + n += len(x.unknownFields) + } + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: n, + } + } + + marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { + x := input.Message.Interface().(*RemoveStakeResponse) + if x == nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + options := runtime.MarshalInputToOptions(input) + _ = options + size := options.Size(x) + dAtA := make([]byte, size) + i := len(dAtA) + _ = i + var l int + _ = l + if x.unknownFields != nil { + i -= len(x.unknownFields) + copy(dAtA[i:], x.unknownFields) + } + if input.Buf != nil { + input.Buf = append(input.Buf, dAtA...) + } else { + input.Buf = dAtA + } + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { + x := input.Message.Interface().(*RemoveStakeResponse) + if x == nil { + return protoiface.UnmarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Flags: input.Flags, + }, nil + } + options := runtime.UnmarshalInputToOptions(input) + _ = options + dAtA := input.Buf + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: RemoveStakeResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: RemoveStakeResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + default: + iNdEx = preIndex + skippy, err := runtime.Skip(dAtA[iNdEx:]) + if err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if (iNdEx + skippy) > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + if !options.DiscardUnknown { + x.unknownFields = append(x.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + } + iNdEx += skippy + } + } + + if iNdEx > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, nil + } + return &protoiface.Methods{ + NoUnkeyedLiterals: struct{}{}, + Flags: protoiface.SupportMarshalDeterministic | protoiface.SupportUnmarshalDiscardUnknown, + Size: size, + Marshal: marshal, + Unmarshal: unmarshal, + Merge: nil, + CheckInitialized: nil, + } +} + +var ( + md_CancelRemoveStakeRequest protoreflect.MessageDescriptor + fd_CancelRemoveStakeRequest_sender protoreflect.FieldDescriptor + fd_CancelRemoveStakeRequest_topic_id protoreflect.FieldDescriptor +) + +func init() { + file_emissions_v8_tx_proto_init() + md_CancelRemoveStakeRequest = File_emissions_v8_tx_proto.Messages().ByName("CancelRemoveStakeRequest") + fd_CancelRemoveStakeRequest_sender = md_CancelRemoveStakeRequest.Fields().ByName("sender") + fd_CancelRemoveStakeRequest_topic_id = md_CancelRemoveStakeRequest.Fields().ByName("topic_id") +} + +var _ protoreflect.Message = (*fastReflection_CancelRemoveStakeRequest)(nil) + +type fastReflection_CancelRemoveStakeRequest CancelRemoveStakeRequest + +func (x *CancelRemoveStakeRequest) ProtoReflect() protoreflect.Message { + return (*fastReflection_CancelRemoveStakeRequest)(x) +} + +func (x *CancelRemoveStakeRequest) slowProtoReflect() protoreflect.Message { + mi := &file_emissions_v8_tx_proto_msgTypes[17] + 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) +} + +var _fastReflection_CancelRemoveStakeRequest_messageType fastReflection_CancelRemoveStakeRequest_messageType +var _ protoreflect.MessageType = fastReflection_CancelRemoveStakeRequest_messageType{} + +type fastReflection_CancelRemoveStakeRequest_messageType struct{} + +func (x fastReflection_CancelRemoveStakeRequest_messageType) Zero() protoreflect.Message { + return (*fastReflection_CancelRemoveStakeRequest)(nil) +} +func (x fastReflection_CancelRemoveStakeRequest_messageType) New() protoreflect.Message { + return new(fastReflection_CancelRemoveStakeRequest) +} +func (x fastReflection_CancelRemoveStakeRequest_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_CancelRemoveStakeRequest +} + +// Descriptor returns message descriptor, which contains only the protobuf +// type information for the message. +func (x *fastReflection_CancelRemoveStakeRequest) Descriptor() protoreflect.MessageDescriptor { + return md_CancelRemoveStakeRequest +} + +// Type returns the message type, which encapsulates both Go and protobuf +// type information. If the Go type information is not needed, +// it is recommended that the message descriptor be used instead. +func (x *fastReflection_CancelRemoveStakeRequest) Type() protoreflect.MessageType { + return _fastReflection_CancelRemoveStakeRequest_messageType +} + +// New returns a newly allocated and mutable empty message. +func (x *fastReflection_CancelRemoveStakeRequest) New() protoreflect.Message { + return new(fastReflection_CancelRemoveStakeRequest) +} + +// Interface unwraps the message reflection interface and +// returns the underlying ProtoMessage interface. +func (x *fastReflection_CancelRemoveStakeRequest) Interface() protoreflect.ProtoMessage { + return (*CancelRemoveStakeRequest)(x) +} + +// Range iterates over every populated field in an undefined order, +// calling f for each field descriptor and value encountered. +// Range returns immediately if f returns false. +// While iterating, mutating operations may only be performed +// on the current field descriptor. +func (x *fastReflection_CancelRemoveStakeRequest) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { + if x.Sender != "" { + value := protoreflect.ValueOfString(x.Sender) + if !f(fd_CancelRemoveStakeRequest_sender, value) { + return + } + } + if x.TopicId != uint64(0) { + value := protoreflect.ValueOfUint64(x.TopicId) + if !f(fd_CancelRemoveStakeRequest_topic_id, value) { + return + } + } +} + +// Has reports whether a field is populated. +// +// Some fields have the property of nullability where it is possible to +// distinguish between the default value of a field and whether the field +// was explicitly populated with the default value. Singular message fields, +// member fields of a oneof, and proto2 scalar fields are nullable. Such +// fields are populated only if explicitly set. +// +// In other cases (aside from the nullable cases above), +// a proto3 scalar field is populated if it contains a non-zero value, and +// a repeated field is populated if it is non-empty. +func (x *fastReflection_CancelRemoveStakeRequest) Has(fd protoreflect.FieldDescriptor) bool { + switch fd.FullName() { + case "emissions.v8.CancelRemoveStakeRequest.sender": + return x.Sender != "" + case "emissions.v8.CancelRemoveStakeRequest.topic_id": + return x.TopicId != uint64(0) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.CancelRemoveStakeRequest")) + } + panic(fmt.Errorf("message emissions.v8.CancelRemoveStakeRequest does not contain field %s", fd.FullName())) + } +} + +// Clear clears the field such that a subsequent Has call reports false. +// +// Clearing an extension field clears both the extension type and value +// associated with the given field number. +// +// Clear is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_CancelRemoveStakeRequest) Clear(fd protoreflect.FieldDescriptor) { + switch fd.FullName() { + case "emissions.v8.CancelRemoveStakeRequest.sender": + x.Sender = "" + case "emissions.v8.CancelRemoveStakeRequest.topic_id": + x.TopicId = uint64(0) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.CancelRemoveStakeRequest")) + } + panic(fmt.Errorf("message emissions.v8.CancelRemoveStakeRequest does not contain field %s", fd.FullName())) + } +} + +// Get retrieves the value for a field. +// +// For unpopulated scalars, it returns the default value, where +// the default value of a bytes scalar is guaranteed to be a copy. +// For unpopulated composite types, it returns an empty, read-only view +// of the value; to obtain a mutable reference, use Mutable. +func (x *fastReflection_CancelRemoveStakeRequest) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { + switch descriptor.FullName() { + case "emissions.v8.CancelRemoveStakeRequest.sender": + value := x.Sender + return protoreflect.ValueOfString(value) + case "emissions.v8.CancelRemoveStakeRequest.topic_id": + value := x.TopicId + return protoreflect.ValueOfUint64(value) + default: + if descriptor.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.CancelRemoveStakeRequest")) + } + panic(fmt.Errorf("message emissions.v8.CancelRemoveStakeRequest does not contain field %s", descriptor.FullName())) + } +} + +// Set stores the value for a field. +// +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType. +// When setting a composite type, it is unspecified whether the stored value +// aliases the source's memory in any way. If the composite value is an +// empty, read-only value, then it panics. +// +// Set is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_CancelRemoveStakeRequest) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { + switch fd.FullName() { + case "emissions.v8.CancelRemoveStakeRequest.sender": + x.Sender = value.Interface().(string) + case "emissions.v8.CancelRemoveStakeRequest.topic_id": + x.TopicId = value.Uint() + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.CancelRemoveStakeRequest")) + } + panic(fmt.Errorf("message emissions.v8.CancelRemoveStakeRequest does not contain field %s", fd.FullName())) + } +} + +// Mutable returns a mutable reference to a composite type. +// +// If the field is unpopulated, it may allocate a composite value. +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType +// if not already stored. +// It panics if the field does not contain a composite type. +// +// Mutable is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_CancelRemoveStakeRequest) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.CancelRemoveStakeRequest.sender": + panic(fmt.Errorf("field sender of message emissions.v8.CancelRemoveStakeRequest is not mutable")) + case "emissions.v8.CancelRemoveStakeRequest.topic_id": + panic(fmt.Errorf("field topic_id of message emissions.v8.CancelRemoveStakeRequest is not mutable")) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.CancelRemoveStakeRequest")) + } + panic(fmt.Errorf("message emissions.v8.CancelRemoveStakeRequest does not contain field %s", fd.FullName())) + } +} + +// NewField returns a new value that is assignable to the field +// for the given descriptor. For scalars, this returns the default value. +// For lists, maps, and messages, this returns a new, empty, mutable value. +func (x *fastReflection_CancelRemoveStakeRequest) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.CancelRemoveStakeRequest.sender": + return protoreflect.ValueOfString("") + case "emissions.v8.CancelRemoveStakeRequest.topic_id": + return protoreflect.ValueOfUint64(uint64(0)) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.CancelRemoveStakeRequest")) + } + panic(fmt.Errorf("message emissions.v8.CancelRemoveStakeRequest does not contain field %s", fd.FullName())) + } +} + +// WhichOneof reports which field within the oneof is populated, +// returning nil if none are populated. +// It panics if the oneof descriptor does not belong to this message. +func (x *fastReflection_CancelRemoveStakeRequest) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { + switch d.FullName() { + default: + panic(fmt.Errorf("%s is not a oneof field in emissions.v8.CancelRemoveStakeRequest", d.FullName())) + } + panic("unreachable") +} + +// GetUnknown retrieves the entire list of unknown fields. +// The caller may only mutate the contents of the RawFields +// if the mutated bytes are stored back into the message with SetUnknown. +func (x *fastReflection_CancelRemoveStakeRequest) GetUnknown() protoreflect.RawFields { + return x.unknownFields +} + +// SetUnknown stores an entire list of unknown fields. +// The raw fields must be syntactically valid according to the wire format. +// An implementation may panic if this is not the case. +// Once stored, the caller must not mutate the content of the RawFields. +// An empty RawFields may be passed to clear the fields. +// +// SetUnknown is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_CancelRemoveStakeRequest) SetUnknown(fields protoreflect.RawFields) { + x.unknownFields = fields +} + +// IsValid reports whether the message is valid. +// +// An invalid message is an empty, read-only value. +// +// An invalid message often corresponds to a nil pointer of the concrete +// message type, but the details are implementation dependent. +// Validity is not part of the protobuf data model, and may not +// be preserved in marshaling or other operations. +func (x *fastReflection_CancelRemoveStakeRequest) IsValid() bool { + return x != nil +} + +// ProtoMethods returns optional fastReflectionFeature-path implementations of various operations. +// This method may return nil. +// +// The returned methods type is identical to +// "google.golang.org/protobuf/runtime/protoiface".Methods. +// Consult the protoiface package documentation for details. +func (x *fastReflection_CancelRemoveStakeRequest) ProtoMethods() *protoiface.Methods { + size := func(input protoiface.SizeInput) protoiface.SizeOutput { + x := input.Message.Interface().(*CancelRemoveStakeRequest) + if x == nil { + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: 0, + } + } + options := runtime.SizeInputToOptions(input) + _ = options + var n int + var l int + _ = l + l = len(x.Sender) + if l > 0 { + n += 1 + l + runtime.Sov(uint64(l)) + } + if x.TopicId != 0 { + n += 1 + runtime.Sov(uint64(x.TopicId)) + } + if x.unknownFields != nil { + n += len(x.unknownFields) + } + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: n, + } + } + + marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { + x := input.Message.Interface().(*CancelRemoveStakeRequest) + if x == nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + options := runtime.MarshalInputToOptions(input) + _ = options + size := options.Size(x) + dAtA := make([]byte, size) + i := len(dAtA) + _ = i + var l int + _ = l + if x.unknownFields != nil { + i -= len(x.unknownFields) + copy(dAtA[i:], x.unknownFields) + } + if x.TopicId != 0 { + i = runtime.EncodeVarint(dAtA, i, uint64(x.TopicId)) + i-- + dAtA[i] = 0x10 + } + if len(x.Sender) > 0 { + i -= len(x.Sender) + copy(dAtA[i:], x.Sender) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.Sender))) + i-- + dAtA[i] = 0xa + } + if input.Buf != nil { + input.Buf = append(input.Buf, dAtA...) + } else { + input.Buf = dAtA + } + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { + x := input.Message.Interface().(*CancelRemoveStakeRequest) + if x == nil { + return protoiface.UnmarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Flags: input.Flags, + }, nil + } + options := runtime.UnmarshalInputToOptions(input) + _ = options + dAtA := input.Buf + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: CancelRemoveStakeRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: CancelRemoveStakeRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Sender", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + x.Sender = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field TopicId", wireType) + } + x.TopicId = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + x.TopicId |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + default: + iNdEx = preIndex + skippy, err := runtime.Skip(dAtA[iNdEx:]) + if err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if (iNdEx + skippy) > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + if !options.DiscardUnknown { + x.unknownFields = append(x.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + } + iNdEx += skippy + } + } + + if iNdEx > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, nil + } + return &protoiface.Methods{ + NoUnkeyedLiterals: struct{}{}, + Flags: protoiface.SupportMarshalDeterministic | protoiface.SupportUnmarshalDiscardUnknown, + Size: size, + Marshal: marshal, + Unmarshal: unmarshal, + Merge: nil, + CheckInitialized: nil, + } +} + +var ( + md_CancelRemoveStakeResponse protoreflect.MessageDescriptor +) + +func init() { + file_emissions_v8_tx_proto_init() + md_CancelRemoveStakeResponse = File_emissions_v8_tx_proto.Messages().ByName("CancelRemoveStakeResponse") +} + +var _ protoreflect.Message = (*fastReflection_CancelRemoveStakeResponse)(nil) + +type fastReflection_CancelRemoveStakeResponse CancelRemoveStakeResponse + +func (x *CancelRemoveStakeResponse) ProtoReflect() protoreflect.Message { + return (*fastReflection_CancelRemoveStakeResponse)(x) +} + +func (x *CancelRemoveStakeResponse) slowProtoReflect() protoreflect.Message { + mi := &file_emissions_v8_tx_proto_msgTypes[18] + 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) +} + +var _fastReflection_CancelRemoveStakeResponse_messageType fastReflection_CancelRemoveStakeResponse_messageType +var _ protoreflect.MessageType = fastReflection_CancelRemoveStakeResponse_messageType{} + +type fastReflection_CancelRemoveStakeResponse_messageType struct{} + +func (x fastReflection_CancelRemoveStakeResponse_messageType) Zero() protoreflect.Message { + return (*fastReflection_CancelRemoveStakeResponse)(nil) +} +func (x fastReflection_CancelRemoveStakeResponse_messageType) New() protoreflect.Message { + return new(fastReflection_CancelRemoveStakeResponse) +} +func (x fastReflection_CancelRemoveStakeResponse_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_CancelRemoveStakeResponse +} + +// Descriptor returns message descriptor, which contains only the protobuf +// type information for the message. +func (x *fastReflection_CancelRemoveStakeResponse) Descriptor() protoreflect.MessageDescriptor { + return md_CancelRemoveStakeResponse +} + +// Type returns the message type, which encapsulates both Go and protobuf +// type information. If the Go type information is not needed, +// it is recommended that the message descriptor be used instead. +func (x *fastReflection_CancelRemoveStakeResponse) Type() protoreflect.MessageType { + return _fastReflection_CancelRemoveStakeResponse_messageType +} + +// New returns a newly allocated and mutable empty message. +func (x *fastReflection_CancelRemoveStakeResponse) New() protoreflect.Message { + return new(fastReflection_CancelRemoveStakeResponse) +} + +// Interface unwraps the message reflection interface and +// returns the underlying ProtoMessage interface. +func (x *fastReflection_CancelRemoveStakeResponse) Interface() protoreflect.ProtoMessage { + return (*CancelRemoveStakeResponse)(x) +} + +// Range iterates over every populated field in an undefined order, +// calling f for each field descriptor and value encountered. +// Range returns immediately if f returns false. +// While iterating, mutating operations may only be performed +// on the current field descriptor. +func (x *fastReflection_CancelRemoveStakeResponse) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { +} + +// Has reports whether a field is populated. +// +// Some fields have the property of nullability where it is possible to +// distinguish between the default value of a field and whether the field +// was explicitly populated with the default value. Singular message fields, +// member fields of a oneof, and proto2 scalar fields are nullable. Such +// fields are populated only if explicitly set. +// +// In other cases (aside from the nullable cases above), +// a proto3 scalar field is populated if it contains a non-zero value, and +// a repeated field is populated if it is non-empty. +func (x *fastReflection_CancelRemoveStakeResponse) Has(fd protoreflect.FieldDescriptor) bool { + switch fd.FullName() { + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.CancelRemoveStakeResponse")) + } + panic(fmt.Errorf("message emissions.v8.CancelRemoveStakeResponse does not contain field %s", fd.FullName())) + } +} + +// Clear clears the field such that a subsequent Has call reports false. +// +// Clearing an extension field clears both the extension type and value +// associated with the given field number. +// +// Clear is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_CancelRemoveStakeResponse) Clear(fd protoreflect.FieldDescriptor) { + switch fd.FullName() { + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.CancelRemoveStakeResponse")) + } + panic(fmt.Errorf("message emissions.v8.CancelRemoveStakeResponse does not contain field %s", fd.FullName())) + } +} + +// Get retrieves the value for a field. +// +// For unpopulated scalars, it returns the default value, where +// the default value of a bytes scalar is guaranteed to be a copy. +// For unpopulated composite types, it returns an empty, read-only view +// of the value; to obtain a mutable reference, use Mutable. +func (x *fastReflection_CancelRemoveStakeResponse) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { + switch descriptor.FullName() { + default: + if descriptor.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.CancelRemoveStakeResponse")) + } + panic(fmt.Errorf("message emissions.v8.CancelRemoveStakeResponse does not contain field %s", descriptor.FullName())) + } +} + +// Set stores the value for a field. +// +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType. +// When setting a composite type, it is unspecified whether the stored value +// aliases the source's memory in any way. If the composite value is an +// empty, read-only value, then it panics. +// +// Set is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_CancelRemoveStakeResponse) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { + switch fd.FullName() { + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.CancelRemoveStakeResponse")) + } + panic(fmt.Errorf("message emissions.v8.CancelRemoveStakeResponse does not contain field %s", fd.FullName())) + } +} + +// Mutable returns a mutable reference to a composite type. +// +// If the field is unpopulated, it may allocate a composite value. +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType +// if not already stored. +// It panics if the field does not contain a composite type. +// +// Mutable is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_CancelRemoveStakeResponse) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.CancelRemoveStakeResponse")) + } + panic(fmt.Errorf("message emissions.v8.CancelRemoveStakeResponse does not contain field %s", fd.FullName())) + } +} + +// NewField returns a new value that is assignable to the field +// for the given descriptor. For scalars, this returns the default value. +// For lists, maps, and messages, this returns a new, empty, mutable value. +func (x *fastReflection_CancelRemoveStakeResponse) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.CancelRemoveStakeResponse")) + } + panic(fmt.Errorf("message emissions.v8.CancelRemoveStakeResponse does not contain field %s", fd.FullName())) + } +} + +// WhichOneof reports which field within the oneof is populated, +// returning nil if none are populated. +// It panics if the oneof descriptor does not belong to this message. +func (x *fastReflection_CancelRemoveStakeResponse) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { + switch d.FullName() { + default: + panic(fmt.Errorf("%s is not a oneof field in emissions.v8.CancelRemoveStakeResponse", d.FullName())) + } + panic("unreachable") +} + +// GetUnknown retrieves the entire list of unknown fields. +// The caller may only mutate the contents of the RawFields +// if the mutated bytes are stored back into the message with SetUnknown. +func (x *fastReflection_CancelRemoveStakeResponse) GetUnknown() protoreflect.RawFields { + return x.unknownFields +} + +// SetUnknown stores an entire list of unknown fields. +// The raw fields must be syntactically valid according to the wire format. +// An implementation may panic if this is not the case. +// Once stored, the caller must not mutate the content of the RawFields. +// An empty RawFields may be passed to clear the fields. +// +// SetUnknown is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_CancelRemoveStakeResponse) SetUnknown(fields protoreflect.RawFields) { + x.unknownFields = fields +} + +// IsValid reports whether the message is valid. +// +// An invalid message is an empty, read-only value. +// +// An invalid message often corresponds to a nil pointer of the concrete +// message type, but the details are implementation dependent. +// Validity is not part of the protobuf data model, and may not +// be preserved in marshaling or other operations. +func (x *fastReflection_CancelRemoveStakeResponse) IsValid() bool { + return x != nil +} + +// ProtoMethods returns optional fastReflectionFeature-path implementations of various operations. +// This method may return nil. +// +// The returned methods type is identical to +// "google.golang.org/protobuf/runtime/protoiface".Methods. +// Consult the protoiface package documentation for details. +func (x *fastReflection_CancelRemoveStakeResponse) ProtoMethods() *protoiface.Methods { + size := func(input protoiface.SizeInput) protoiface.SizeOutput { + x := input.Message.Interface().(*CancelRemoveStakeResponse) + if x == nil { + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: 0, + } + } + options := runtime.SizeInputToOptions(input) + _ = options + var n int + var l int + _ = l + if x.unknownFields != nil { + n += len(x.unknownFields) + } + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: n, + } + } + + marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { + x := input.Message.Interface().(*CancelRemoveStakeResponse) + if x == nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + options := runtime.MarshalInputToOptions(input) + _ = options + size := options.Size(x) + dAtA := make([]byte, size) + i := len(dAtA) + _ = i + var l int + _ = l + if x.unknownFields != nil { + i -= len(x.unknownFields) + copy(dAtA[i:], x.unknownFields) + } + if input.Buf != nil { + input.Buf = append(input.Buf, dAtA...) + } else { + input.Buf = dAtA + } + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { + x := input.Message.Interface().(*CancelRemoveStakeResponse) + if x == nil { + return protoiface.UnmarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Flags: input.Flags, + }, nil + } + options := runtime.UnmarshalInputToOptions(input) + _ = options + dAtA := input.Buf + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: CancelRemoveStakeResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: CancelRemoveStakeResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + default: + iNdEx = preIndex + skippy, err := runtime.Skip(dAtA[iNdEx:]) + if err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if (iNdEx + skippy) > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + if !options.DiscardUnknown { + x.unknownFields = append(x.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + } + iNdEx += skippy + } + } + + if iNdEx > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, nil + } + return &protoiface.Methods{ + NoUnkeyedLiterals: struct{}{}, + Flags: protoiface.SupportMarshalDeterministic | protoiface.SupportUnmarshalDiscardUnknown, + Size: size, + Marshal: marshal, + Unmarshal: unmarshal, + Merge: nil, + CheckInitialized: nil, + } +} + +var ( + md_DelegateStakeRequest protoreflect.MessageDescriptor + fd_DelegateStakeRequest_sender protoreflect.FieldDescriptor + fd_DelegateStakeRequest_topic_id protoreflect.FieldDescriptor + fd_DelegateStakeRequest_reputer protoreflect.FieldDescriptor + fd_DelegateStakeRequest_amount protoreflect.FieldDescriptor +) + +func init() { + file_emissions_v8_tx_proto_init() + md_DelegateStakeRequest = File_emissions_v8_tx_proto.Messages().ByName("DelegateStakeRequest") + fd_DelegateStakeRequest_sender = md_DelegateStakeRequest.Fields().ByName("sender") + fd_DelegateStakeRequest_topic_id = md_DelegateStakeRequest.Fields().ByName("topic_id") + fd_DelegateStakeRequest_reputer = md_DelegateStakeRequest.Fields().ByName("reputer") + fd_DelegateStakeRequest_amount = md_DelegateStakeRequest.Fields().ByName("amount") +} + +var _ protoreflect.Message = (*fastReflection_DelegateStakeRequest)(nil) + +type fastReflection_DelegateStakeRequest DelegateStakeRequest + +func (x *DelegateStakeRequest) ProtoReflect() protoreflect.Message { + return (*fastReflection_DelegateStakeRequest)(x) +} + +func (x *DelegateStakeRequest) slowProtoReflect() protoreflect.Message { + mi := &file_emissions_v8_tx_proto_msgTypes[19] + 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) +} + +var _fastReflection_DelegateStakeRequest_messageType fastReflection_DelegateStakeRequest_messageType +var _ protoreflect.MessageType = fastReflection_DelegateStakeRequest_messageType{} + +type fastReflection_DelegateStakeRequest_messageType struct{} + +func (x fastReflection_DelegateStakeRequest_messageType) Zero() protoreflect.Message { + return (*fastReflection_DelegateStakeRequest)(nil) +} +func (x fastReflection_DelegateStakeRequest_messageType) New() protoreflect.Message { + return new(fastReflection_DelegateStakeRequest) +} +func (x fastReflection_DelegateStakeRequest_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_DelegateStakeRequest +} + +// Descriptor returns message descriptor, which contains only the protobuf +// type information for the message. +func (x *fastReflection_DelegateStakeRequest) Descriptor() protoreflect.MessageDescriptor { + return md_DelegateStakeRequest +} + +// Type returns the message type, which encapsulates both Go and protobuf +// type information. If the Go type information is not needed, +// it is recommended that the message descriptor be used instead. +func (x *fastReflection_DelegateStakeRequest) Type() protoreflect.MessageType { + return _fastReflection_DelegateStakeRequest_messageType +} + +// New returns a newly allocated and mutable empty message. +func (x *fastReflection_DelegateStakeRequest) New() protoreflect.Message { + return new(fastReflection_DelegateStakeRequest) +} + +// Interface unwraps the message reflection interface and +// returns the underlying ProtoMessage interface. +func (x *fastReflection_DelegateStakeRequest) Interface() protoreflect.ProtoMessage { + return (*DelegateStakeRequest)(x) +} + +// Range iterates over every populated field in an undefined order, +// calling f for each field descriptor and value encountered. +// Range returns immediately if f returns false. +// While iterating, mutating operations may only be performed +// on the current field descriptor. +func (x *fastReflection_DelegateStakeRequest) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { + if x.Sender != "" { + value := protoreflect.ValueOfString(x.Sender) + if !f(fd_DelegateStakeRequest_sender, value) { + return + } + } + if x.TopicId != uint64(0) { + value := protoreflect.ValueOfUint64(x.TopicId) + if !f(fd_DelegateStakeRequest_topic_id, value) { + return + } + } + if x.Reputer != "" { + value := protoreflect.ValueOfString(x.Reputer) + if !f(fd_DelegateStakeRequest_reputer, value) { + return + } + } + if x.Amount != "" { + value := protoreflect.ValueOfString(x.Amount) + if !f(fd_DelegateStakeRequest_amount, value) { + return + } + } +} + +// Has reports whether a field is populated. +// +// Some fields have the property of nullability where it is possible to +// distinguish between the default value of a field and whether the field +// was explicitly populated with the default value. Singular message fields, +// member fields of a oneof, and proto2 scalar fields are nullable. Such +// fields are populated only if explicitly set. +// +// In other cases (aside from the nullable cases above), +// a proto3 scalar field is populated if it contains a non-zero value, and +// a repeated field is populated if it is non-empty. +func (x *fastReflection_DelegateStakeRequest) Has(fd protoreflect.FieldDescriptor) bool { + switch fd.FullName() { + case "emissions.v8.DelegateStakeRequest.sender": + return x.Sender != "" + case "emissions.v8.DelegateStakeRequest.topic_id": + return x.TopicId != uint64(0) + case "emissions.v8.DelegateStakeRequest.reputer": + return x.Reputer != "" + case "emissions.v8.DelegateStakeRequest.amount": + return x.Amount != "" + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.DelegateStakeRequest")) + } + panic(fmt.Errorf("message emissions.v8.DelegateStakeRequest does not contain field %s", fd.FullName())) + } +} + +// Clear clears the field such that a subsequent Has call reports false. +// +// Clearing an extension field clears both the extension type and value +// associated with the given field number. +// +// Clear is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_DelegateStakeRequest) Clear(fd protoreflect.FieldDescriptor) { + switch fd.FullName() { + case "emissions.v8.DelegateStakeRequest.sender": + x.Sender = "" + case "emissions.v8.DelegateStakeRequest.topic_id": + x.TopicId = uint64(0) + case "emissions.v8.DelegateStakeRequest.reputer": + x.Reputer = "" + case "emissions.v8.DelegateStakeRequest.amount": + x.Amount = "" + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.DelegateStakeRequest")) + } + panic(fmt.Errorf("message emissions.v8.DelegateStakeRequest does not contain field %s", fd.FullName())) + } +} + +// Get retrieves the value for a field. +// +// For unpopulated scalars, it returns the default value, where +// the default value of a bytes scalar is guaranteed to be a copy. +// For unpopulated composite types, it returns an empty, read-only view +// of the value; to obtain a mutable reference, use Mutable. +func (x *fastReflection_DelegateStakeRequest) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { + switch descriptor.FullName() { + case "emissions.v8.DelegateStakeRequest.sender": + value := x.Sender + return protoreflect.ValueOfString(value) + case "emissions.v8.DelegateStakeRequest.topic_id": + value := x.TopicId + return protoreflect.ValueOfUint64(value) + case "emissions.v8.DelegateStakeRequest.reputer": + value := x.Reputer + return protoreflect.ValueOfString(value) + case "emissions.v8.DelegateStakeRequest.amount": + value := x.Amount + return protoreflect.ValueOfString(value) + default: + if descriptor.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.DelegateStakeRequest")) + } + panic(fmt.Errorf("message emissions.v8.DelegateStakeRequest does not contain field %s", descriptor.FullName())) + } +} + +// Set stores the value for a field. +// +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType. +// When setting a composite type, it is unspecified whether the stored value +// aliases the source's memory in any way. If the composite value is an +// empty, read-only value, then it panics. +// +// Set is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_DelegateStakeRequest) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { + switch fd.FullName() { + case "emissions.v8.DelegateStakeRequest.sender": + x.Sender = value.Interface().(string) + case "emissions.v8.DelegateStakeRequest.topic_id": + x.TopicId = value.Uint() + case "emissions.v8.DelegateStakeRequest.reputer": + x.Reputer = value.Interface().(string) + case "emissions.v8.DelegateStakeRequest.amount": + x.Amount = value.Interface().(string) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.DelegateStakeRequest")) + } + panic(fmt.Errorf("message emissions.v8.DelegateStakeRequest does not contain field %s", fd.FullName())) + } +} + +// Mutable returns a mutable reference to a composite type. +// +// If the field is unpopulated, it may allocate a composite value. +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType +// if not already stored. +// It panics if the field does not contain a composite type. +// +// Mutable is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_DelegateStakeRequest) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.DelegateStakeRequest.sender": + panic(fmt.Errorf("field sender of message emissions.v8.DelegateStakeRequest is not mutable")) + case "emissions.v8.DelegateStakeRequest.topic_id": + panic(fmt.Errorf("field topic_id of message emissions.v8.DelegateStakeRequest is not mutable")) + case "emissions.v8.DelegateStakeRequest.reputer": + panic(fmt.Errorf("field reputer of message emissions.v8.DelegateStakeRequest is not mutable")) + case "emissions.v8.DelegateStakeRequest.amount": + panic(fmt.Errorf("field amount of message emissions.v8.DelegateStakeRequest is not mutable")) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.DelegateStakeRequest")) + } + panic(fmt.Errorf("message emissions.v8.DelegateStakeRequest does not contain field %s", fd.FullName())) + } +} + +// NewField returns a new value that is assignable to the field +// for the given descriptor. For scalars, this returns the default value. +// For lists, maps, and messages, this returns a new, empty, mutable value. +func (x *fastReflection_DelegateStakeRequest) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.DelegateStakeRequest.sender": + return protoreflect.ValueOfString("") + case "emissions.v8.DelegateStakeRequest.topic_id": + return protoreflect.ValueOfUint64(uint64(0)) + case "emissions.v8.DelegateStakeRequest.reputer": + return protoreflect.ValueOfString("") + case "emissions.v8.DelegateStakeRequest.amount": + return protoreflect.ValueOfString("") + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.DelegateStakeRequest")) + } + panic(fmt.Errorf("message emissions.v8.DelegateStakeRequest does not contain field %s", fd.FullName())) + } +} + +// WhichOneof reports which field within the oneof is populated, +// returning nil if none are populated. +// It panics if the oneof descriptor does not belong to this message. +func (x *fastReflection_DelegateStakeRequest) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { + switch d.FullName() { + default: + panic(fmt.Errorf("%s is not a oneof field in emissions.v8.DelegateStakeRequest", d.FullName())) + } + panic("unreachable") +} + +// GetUnknown retrieves the entire list of unknown fields. +// The caller may only mutate the contents of the RawFields +// if the mutated bytes are stored back into the message with SetUnknown. +func (x *fastReflection_DelegateStakeRequest) GetUnknown() protoreflect.RawFields { + return x.unknownFields +} + +// SetUnknown stores an entire list of unknown fields. +// The raw fields must be syntactically valid according to the wire format. +// An implementation may panic if this is not the case. +// Once stored, the caller must not mutate the content of the RawFields. +// An empty RawFields may be passed to clear the fields. +// +// SetUnknown is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_DelegateStakeRequest) SetUnknown(fields protoreflect.RawFields) { + x.unknownFields = fields +} + +// IsValid reports whether the message is valid. +// +// An invalid message is an empty, read-only value. +// +// An invalid message often corresponds to a nil pointer of the concrete +// message type, but the details are implementation dependent. +// Validity is not part of the protobuf data model, and may not +// be preserved in marshaling or other operations. +func (x *fastReflection_DelegateStakeRequest) IsValid() bool { + return x != nil +} + +// ProtoMethods returns optional fastReflectionFeature-path implementations of various operations. +// This method may return nil. +// +// The returned methods type is identical to +// "google.golang.org/protobuf/runtime/protoiface".Methods. +// Consult the protoiface package documentation for details. +func (x *fastReflection_DelegateStakeRequest) ProtoMethods() *protoiface.Methods { + size := func(input protoiface.SizeInput) protoiface.SizeOutput { + x := input.Message.Interface().(*DelegateStakeRequest) + if x == nil { + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: 0, + } + } + options := runtime.SizeInputToOptions(input) + _ = options + var n int + var l int + _ = l + l = len(x.Sender) + if l > 0 { + n += 1 + l + runtime.Sov(uint64(l)) + } + if x.TopicId != 0 { + n += 1 + runtime.Sov(uint64(x.TopicId)) + } + l = len(x.Reputer) + if l > 0 { + n += 1 + l + runtime.Sov(uint64(l)) + } + l = len(x.Amount) + if l > 0 { + n += 1 + l + runtime.Sov(uint64(l)) + } + if x.unknownFields != nil { + n += len(x.unknownFields) + } + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: n, + } + } + + marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { + x := input.Message.Interface().(*DelegateStakeRequest) + if x == nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + options := runtime.MarshalInputToOptions(input) + _ = options + size := options.Size(x) + dAtA := make([]byte, size) + i := len(dAtA) + _ = i + var l int + _ = l + if x.unknownFields != nil { + i -= len(x.unknownFields) + copy(dAtA[i:], x.unknownFields) + } + if len(x.Amount) > 0 { + i -= len(x.Amount) + copy(dAtA[i:], x.Amount) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.Amount))) + i-- + dAtA[i] = 0x22 + } + if len(x.Reputer) > 0 { + i -= len(x.Reputer) + copy(dAtA[i:], x.Reputer) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.Reputer))) + i-- + dAtA[i] = 0x1a + } + if x.TopicId != 0 { + i = runtime.EncodeVarint(dAtA, i, uint64(x.TopicId)) + i-- + dAtA[i] = 0x10 + } + if len(x.Sender) > 0 { + i -= len(x.Sender) + copy(dAtA[i:], x.Sender) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.Sender))) + i-- + dAtA[i] = 0xa + } + if input.Buf != nil { + input.Buf = append(input.Buf, dAtA...) + } else { + input.Buf = dAtA + } + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { + x := input.Message.Interface().(*DelegateStakeRequest) + if x == nil { + return protoiface.UnmarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Flags: input.Flags, + }, nil + } + options := runtime.UnmarshalInputToOptions(input) + _ = options + dAtA := input.Buf + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: DelegateStakeRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: DelegateStakeRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Sender", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + x.Sender = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field TopicId", wireType) + } + x.TopicId = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + x.TopicId |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 3: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Reputer", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + x.Reputer = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 4: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Amount", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + x.Amount = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := runtime.Skip(dAtA[iNdEx:]) + if err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if (iNdEx + skippy) > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + if !options.DiscardUnknown { + x.unknownFields = append(x.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + } + iNdEx += skippy + } + } + + if iNdEx > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, nil + } + return &protoiface.Methods{ + NoUnkeyedLiterals: struct{}{}, + Flags: protoiface.SupportMarshalDeterministic | protoiface.SupportUnmarshalDiscardUnknown, + Size: size, + Marshal: marshal, + Unmarshal: unmarshal, + Merge: nil, + CheckInitialized: nil, + } +} + +var ( + md_DelegateStakeResponse protoreflect.MessageDescriptor +) + +func init() { + file_emissions_v8_tx_proto_init() + md_DelegateStakeResponse = File_emissions_v8_tx_proto.Messages().ByName("DelegateStakeResponse") +} + +var _ protoreflect.Message = (*fastReflection_DelegateStakeResponse)(nil) + +type fastReflection_DelegateStakeResponse DelegateStakeResponse + +func (x *DelegateStakeResponse) ProtoReflect() protoreflect.Message { + return (*fastReflection_DelegateStakeResponse)(x) +} + +func (x *DelegateStakeResponse) slowProtoReflect() protoreflect.Message { + mi := &file_emissions_v8_tx_proto_msgTypes[20] + 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) +} + +var _fastReflection_DelegateStakeResponse_messageType fastReflection_DelegateStakeResponse_messageType +var _ protoreflect.MessageType = fastReflection_DelegateStakeResponse_messageType{} + +type fastReflection_DelegateStakeResponse_messageType struct{} + +func (x fastReflection_DelegateStakeResponse_messageType) Zero() protoreflect.Message { + return (*fastReflection_DelegateStakeResponse)(nil) +} +func (x fastReflection_DelegateStakeResponse_messageType) New() protoreflect.Message { + return new(fastReflection_DelegateStakeResponse) +} +func (x fastReflection_DelegateStakeResponse_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_DelegateStakeResponse +} + +// Descriptor returns message descriptor, which contains only the protobuf +// type information for the message. +func (x *fastReflection_DelegateStakeResponse) Descriptor() protoreflect.MessageDescriptor { + return md_DelegateStakeResponse +} + +// Type returns the message type, which encapsulates both Go and protobuf +// type information. If the Go type information is not needed, +// it is recommended that the message descriptor be used instead. +func (x *fastReflection_DelegateStakeResponse) Type() protoreflect.MessageType { + return _fastReflection_DelegateStakeResponse_messageType +} + +// New returns a newly allocated and mutable empty message. +func (x *fastReflection_DelegateStakeResponse) New() protoreflect.Message { + return new(fastReflection_DelegateStakeResponse) +} + +// Interface unwraps the message reflection interface and +// returns the underlying ProtoMessage interface. +func (x *fastReflection_DelegateStakeResponse) Interface() protoreflect.ProtoMessage { + return (*DelegateStakeResponse)(x) +} + +// Range iterates over every populated field in an undefined order, +// calling f for each field descriptor and value encountered. +// Range returns immediately if f returns false. +// While iterating, mutating operations may only be performed +// on the current field descriptor. +func (x *fastReflection_DelegateStakeResponse) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { +} + +// Has reports whether a field is populated. +// +// Some fields have the property of nullability where it is possible to +// distinguish between the default value of a field and whether the field +// was explicitly populated with the default value. Singular message fields, +// member fields of a oneof, and proto2 scalar fields are nullable. Such +// fields are populated only if explicitly set. +// +// In other cases (aside from the nullable cases above), +// a proto3 scalar field is populated if it contains a non-zero value, and +// a repeated field is populated if it is non-empty. +func (x *fastReflection_DelegateStakeResponse) Has(fd protoreflect.FieldDescriptor) bool { + switch fd.FullName() { + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.DelegateStakeResponse")) + } + panic(fmt.Errorf("message emissions.v8.DelegateStakeResponse does not contain field %s", fd.FullName())) + } +} + +// Clear clears the field such that a subsequent Has call reports false. +// +// Clearing an extension field clears both the extension type and value +// associated with the given field number. +// +// Clear is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_DelegateStakeResponse) Clear(fd protoreflect.FieldDescriptor) { + switch fd.FullName() { + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.DelegateStakeResponse")) + } + panic(fmt.Errorf("message emissions.v8.DelegateStakeResponse does not contain field %s", fd.FullName())) + } +} + +// Get retrieves the value for a field. +// +// For unpopulated scalars, it returns the default value, where +// the default value of a bytes scalar is guaranteed to be a copy. +// For unpopulated composite types, it returns an empty, read-only view +// of the value; to obtain a mutable reference, use Mutable. +func (x *fastReflection_DelegateStakeResponse) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { + switch descriptor.FullName() { + default: + if descriptor.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.DelegateStakeResponse")) + } + panic(fmt.Errorf("message emissions.v8.DelegateStakeResponse does not contain field %s", descriptor.FullName())) + } +} + +// Set stores the value for a field. +// +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType. +// When setting a composite type, it is unspecified whether the stored value +// aliases the source's memory in any way. If the composite value is an +// empty, read-only value, then it panics. +// +// Set is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_DelegateStakeResponse) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { + switch fd.FullName() { + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.DelegateStakeResponse")) + } + panic(fmt.Errorf("message emissions.v8.DelegateStakeResponse does not contain field %s", fd.FullName())) + } +} + +// Mutable returns a mutable reference to a composite type. +// +// If the field is unpopulated, it may allocate a composite value. +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType +// if not already stored. +// It panics if the field does not contain a composite type. +// +// Mutable is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_DelegateStakeResponse) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.DelegateStakeResponse")) + } + panic(fmt.Errorf("message emissions.v8.DelegateStakeResponse does not contain field %s", fd.FullName())) + } +} + +// NewField returns a new value that is assignable to the field +// for the given descriptor. For scalars, this returns the default value. +// For lists, maps, and messages, this returns a new, empty, mutable value. +func (x *fastReflection_DelegateStakeResponse) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.DelegateStakeResponse")) + } + panic(fmt.Errorf("message emissions.v8.DelegateStakeResponse does not contain field %s", fd.FullName())) + } +} + +// WhichOneof reports which field within the oneof is populated, +// returning nil if none are populated. +// It panics if the oneof descriptor does not belong to this message. +func (x *fastReflection_DelegateStakeResponse) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { + switch d.FullName() { + default: + panic(fmt.Errorf("%s is not a oneof field in emissions.v8.DelegateStakeResponse", d.FullName())) + } + panic("unreachable") +} + +// GetUnknown retrieves the entire list of unknown fields. +// The caller may only mutate the contents of the RawFields +// if the mutated bytes are stored back into the message with SetUnknown. +func (x *fastReflection_DelegateStakeResponse) GetUnknown() protoreflect.RawFields { + return x.unknownFields +} + +// SetUnknown stores an entire list of unknown fields. +// The raw fields must be syntactically valid according to the wire format. +// An implementation may panic if this is not the case. +// Once stored, the caller must not mutate the content of the RawFields. +// An empty RawFields may be passed to clear the fields. +// +// SetUnknown is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_DelegateStakeResponse) SetUnknown(fields protoreflect.RawFields) { + x.unknownFields = fields +} + +// IsValid reports whether the message is valid. +// +// An invalid message is an empty, read-only value. +// +// An invalid message often corresponds to a nil pointer of the concrete +// message type, but the details are implementation dependent. +// Validity is not part of the protobuf data model, and may not +// be preserved in marshaling or other operations. +func (x *fastReflection_DelegateStakeResponse) IsValid() bool { + return x != nil +} + +// ProtoMethods returns optional fastReflectionFeature-path implementations of various operations. +// This method may return nil. +// +// The returned methods type is identical to +// "google.golang.org/protobuf/runtime/protoiface".Methods. +// Consult the protoiface package documentation for details. +func (x *fastReflection_DelegateStakeResponse) ProtoMethods() *protoiface.Methods { + size := func(input protoiface.SizeInput) protoiface.SizeOutput { + x := input.Message.Interface().(*DelegateStakeResponse) + if x == nil { + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: 0, + } + } + options := runtime.SizeInputToOptions(input) + _ = options + var n int + var l int + _ = l + if x.unknownFields != nil { + n += len(x.unknownFields) + } + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: n, + } + } + + marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { + x := input.Message.Interface().(*DelegateStakeResponse) + if x == nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + options := runtime.MarshalInputToOptions(input) + _ = options + size := options.Size(x) + dAtA := make([]byte, size) + i := len(dAtA) + _ = i + var l int + _ = l + if x.unknownFields != nil { + i -= len(x.unknownFields) + copy(dAtA[i:], x.unknownFields) + } + if input.Buf != nil { + input.Buf = append(input.Buf, dAtA...) + } else { + input.Buf = dAtA + } + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { + x := input.Message.Interface().(*DelegateStakeResponse) + if x == nil { + return protoiface.UnmarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Flags: input.Flags, + }, nil + } + options := runtime.UnmarshalInputToOptions(input) + _ = options + dAtA := input.Buf + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: DelegateStakeResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: DelegateStakeResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + default: + iNdEx = preIndex + skippy, err := runtime.Skip(dAtA[iNdEx:]) + if err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if (iNdEx + skippy) > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + if !options.DiscardUnknown { + x.unknownFields = append(x.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + } + iNdEx += skippy + } + } + + if iNdEx > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, nil + } + return &protoiface.Methods{ + NoUnkeyedLiterals: struct{}{}, + Flags: protoiface.SupportMarshalDeterministic | protoiface.SupportUnmarshalDiscardUnknown, + Size: size, + Marshal: marshal, + Unmarshal: unmarshal, + Merge: nil, + CheckInitialized: nil, + } +} + +var ( + md_RemoveDelegateStakeRequest protoreflect.MessageDescriptor + fd_RemoveDelegateStakeRequest_sender protoreflect.FieldDescriptor + fd_RemoveDelegateStakeRequest_reputer protoreflect.FieldDescriptor + fd_RemoveDelegateStakeRequest_topic_id protoreflect.FieldDescriptor + fd_RemoveDelegateStakeRequest_amount protoreflect.FieldDescriptor +) + +func init() { + file_emissions_v8_tx_proto_init() + md_RemoveDelegateStakeRequest = File_emissions_v8_tx_proto.Messages().ByName("RemoveDelegateStakeRequest") + fd_RemoveDelegateStakeRequest_sender = md_RemoveDelegateStakeRequest.Fields().ByName("sender") + fd_RemoveDelegateStakeRequest_reputer = md_RemoveDelegateStakeRequest.Fields().ByName("reputer") + fd_RemoveDelegateStakeRequest_topic_id = md_RemoveDelegateStakeRequest.Fields().ByName("topic_id") + fd_RemoveDelegateStakeRequest_amount = md_RemoveDelegateStakeRequest.Fields().ByName("amount") +} + +var _ protoreflect.Message = (*fastReflection_RemoveDelegateStakeRequest)(nil) + +type fastReflection_RemoveDelegateStakeRequest RemoveDelegateStakeRequest + +func (x *RemoveDelegateStakeRequest) ProtoReflect() protoreflect.Message { + return (*fastReflection_RemoveDelegateStakeRequest)(x) +} + +func (x *RemoveDelegateStakeRequest) slowProtoReflect() protoreflect.Message { + mi := &file_emissions_v8_tx_proto_msgTypes[21] + 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) +} + +var _fastReflection_RemoveDelegateStakeRequest_messageType fastReflection_RemoveDelegateStakeRequest_messageType +var _ protoreflect.MessageType = fastReflection_RemoveDelegateStakeRequest_messageType{} + +type fastReflection_RemoveDelegateStakeRequest_messageType struct{} + +func (x fastReflection_RemoveDelegateStakeRequest_messageType) Zero() protoreflect.Message { + return (*fastReflection_RemoveDelegateStakeRequest)(nil) +} +func (x fastReflection_RemoveDelegateStakeRequest_messageType) New() protoreflect.Message { + return new(fastReflection_RemoveDelegateStakeRequest) +} +func (x fastReflection_RemoveDelegateStakeRequest_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_RemoveDelegateStakeRequest +} + +// Descriptor returns message descriptor, which contains only the protobuf +// type information for the message. +func (x *fastReflection_RemoveDelegateStakeRequest) Descriptor() protoreflect.MessageDescriptor { + return md_RemoveDelegateStakeRequest +} + +// Type returns the message type, which encapsulates both Go and protobuf +// type information. If the Go type information is not needed, +// it is recommended that the message descriptor be used instead. +func (x *fastReflection_RemoveDelegateStakeRequest) Type() protoreflect.MessageType { + return _fastReflection_RemoveDelegateStakeRequest_messageType +} + +// New returns a newly allocated and mutable empty message. +func (x *fastReflection_RemoveDelegateStakeRequest) New() protoreflect.Message { + return new(fastReflection_RemoveDelegateStakeRequest) +} + +// Interface unwraps the message reflection interface and +// returns the underlying ProtoMessage interface. +func (x *fastReflection_RemoveDelegateStakeRequest) Interface() protoreflect.ProtoMessage { + return (*RemoveDelegateStakeRequest)(x) +} + +// Range iterates over every populated field in an undefined order, +// calling f for each field descriptor and value encountered. +// Range returns immediately if f returns false. +// While iterating, mutating operations may only be performed +// on the current field descriptor. +func (x *fastReflection_RemoveDelegateStakeRequest) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { + if x.Sender != "" { + value := protoreflect.ValueOfString(x.Sender) + if !f(fd_RemoveDelegateStakeRequest_sender, value) { + return + } + } + if x.Reputer != "" { + value := protoreflect.ValueOfString(x.Reputer) + if !f(fd_RemoveDelegateStakeRequest_reputer, value) { + return + } + } + if x.TopicId != uint64(0) { + value := protoreflect.ValueOfUint64(x.TopicId) + if !f(fd_RemoveDelegateStakeRequest_topic_id, value) { + return + } + } + if x.Amount != "" { + value := protoreflect.ValueOfString(x.Amount) + if !f(fd_RemoveDelegateStakeRequest_amount, value) { + return + } + } +} + +// Has reports whether a field is populated. +// +// Some fields have the property of nullability where it is possible to +// distinguish between the default value of a field and whether the field +// was explicitly populated with the default value. Singular message fields, +// member fields of a oneof, and proto2 scalar fields are nullable. Such +// fields are populated only if explicitly set. +// +// In other cases (aside from the nullable cases above), +// a proto3 scalar field is populated if it contains a non-zero value, and +// a repeated field is populated if it is non-empty. +func (x *fastReflection_RemoveDelegateStakeRequest) Has(fd protoreflect.FieldDescriptor) bool { + switch fd.FullName() { + case "emissions.v8.RemoveDelegateStakeRequest.sender": + return x.Sender != "" + case "emissions.v8.RemoveDelegateStakeRequest.reputer": + return x.Reputer != "" + case "emissions.v8.RemoveDelegateStakeRequest.topic_id": + return x.TopicId != uint64(0) + case "emissions.v8.RemoveDelegateStakeRequest.amount": + return x.Amount != "" + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.RemoveDelegateStakeRequest")) + } + panic(fmt.Errorf("message emissions.v8.RemoveDelegateStakeRequest does not contain field %s", fd.FullName())) + } +} + +// Clear clears the field such that a subsequent Has call reports false. +// +// Clearing an extension field clears both the extension type and value +// associated with the given field number. +// +// Clear is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_RemoveDelegateStakeRequest) Clear(fd protoreflect.FieldDescriptor) { + switch fd.FullName() { + case "emissions.v8.RemoveDelegateStakeRequest.sender": + x.Sender = "" + case "emissions.v8.RemoveDelegateStakeRequest.reputer": + x.Reputer = "" + case "emissions.v8.RemoveDelegateStakeRequest.topic_id": + x.TopicId = uint64(0) + case "emissions.v8.RemoveDelegateStakeRequest.amount": + x.Amount = "" + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.RemoveDelegateStakeRequest")) + } + panic(fmt.Errorf("message emissions.v8.RemoveDelegateStakeRequest does not contain field %s", fd.FullName())) + } +} + +// Get retrieves the value for a field. +// +// For unpopulated scalars, it returns the default value, where +// the default value of a bytes scalar is guaranteed to be a copy. +// For unpopulated composite types, it returns an empty, read-only view +// of the value; to obtain a mutable reference, use Mutable. +func (x *fastReflection_RemoveDelegateStakeRequest) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { + switch descriptor.FullName() { + case "emissions.v8.RemoveDelegateStakeRequest.sender": + value := x.Sender + return protoreflect.ValueOfString(value) + case "emissions.v8.RemoveDelegateStakeRequest.reputer": + value := x.Reputer + return protoreflect.ValueOfString(value) + case "emissions.v8.RemoveDelegateStakeRequest.topic_id": + value := x.TopicId + return protoreflect.ValueOfUint64(value) + case "emissions.v8.RemoveDelegateStakeRequest.amount": + value := x.Amount + return protoreflect.ValueOfString(value) + default: + if descriptor.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.RemoveDelegateStakeRequest")) + } + panic(fmt.Errorf("message emissions.v8.RemoveDelegateStakeRequest does not contain field %s", descriptor.FullName())) + } +} + +// Set stores the value for a field. +// +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType. +// When setting a composite type, it is unspecified whether the stored value +// aliases the source's memory in any way. If the composite value is an +// empty, read-only value, then it panics. +// +// Set is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_RemoveDelegateStakeRequest) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { + switch fd.FullName() { + case "emissions.v8.RemoveDelegateStakeRequest.sender": + x.Sender = value.Interface().(string) + case "emissions.v8.RemoveDelegateStakeRequest.reputer": + x.Reputer = value.Interface().(string) + case "emissions.v8.RemoveDelegateStakeRequest.topic_id": + x.TopicId = value.Uint() + case "emissions.v8.RemoveDelegateStakeRequest.amount": + x.Amount = value.Interface().(string) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.RemoveDelegateStakeRequest")) + } + panic(fmt.Errorf("message emissions.v8.RemoveDelegateStakeRequest does not contain field %s", fd.FullName())) + } +} + +// Mutable returns a mutable reference to a composite type. +// +// If the field is unpopulated, it may allocate a composite value. +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType +// if not already stored. +// It panics if the field does not contain a composite type. +// +// Mutable is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_RemoveDelegateStakeRequest) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.RemoveDelegateStakeRequest.sender": + panic(fmt.Errorf("field sender of message emissions.v8.RemoveDelegateStakeRequest is not mutable")) + case "emissions.v8.RemoveDelegateStakeRequest.reputer": + panic(fmt.Errorf("field reputer of message emissions.v8.RemoveDelegateStakeRequest is not mutable")) + case "emissions.v8.RemoveDelegateStakeRequest.topic_id": + panic(fmt.Errorf("field topic_id of message emissions.v8.RemoveDelegateStakeRequest is not mutable")) + case "emissions.v8.RemoveDelegateStakeRequest.amount": + panic(fmt.Errorf("field amount of message emissions.v8.RemoveDelegateStakeRequest is not mutable")) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.RemoveDelegateStakeRequest")) + } + panic(fmt.Errorf("message emissions.v8.RemoveDelegateStakeRequest does not contain field %s", fd.FullName())) + } +} + +// NewField returns a new value that is assignable to the field +// for the given descriptor. For scalars, this returns the default value. +// For lists, maps, and messages, this returns a new, empty, mutable value. +func (x *fastReflection_RemoveDelegateStakeRequest) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.RemoveDelegateStakeRequest.sender": + return protoreflect.ValueOfString("") + case "emissions.v8.RemoveDelegateStakeRequest.reputer": + return protoreflect.ValueOfString("") + case "emissions.v8.RemoveDelegateStakeRequest.topic_id": + return protoreflect.ValueOfUint64(uint64(0)) + case "emissions.v8.RemoveDelegateStakeRequest.amount": + return protoreflect.ValueOfString("") + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.RemoveDelegateStakeRequest")) + } + panic(fmt.Errorf("message emissions.v8.RemoveDelegateStakeRequest does not contain field %s", fd.FullName())) + } +} + +// WhichOneof reports which field within the oneof is populated, +// returning nil if none are populated. +// It panics if the oneof descriptor does not belong to this message. +func (x *fastReflection_RemoveDelegateStakeRequest) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { + switch d.FullName() { + default: + panic(fmt.Errorf("%s is not a oneof field in emissions.v8.RemoveDelegateStakeRequest", d.FullName())) + } + panic("unreachable") +} + +// GetUnknown retrieves the entire list of unknown fields. +// The caller may only mutate the contents of the RawFields +// if the mutated bytes are stored back into the message with SetUnknown. +func (x *fastReflection_RemoveDelegateStakeRequest) GetUnknown() protoreflect.RawFields { + return x.unknownFields +} + +// SetUnknown stores an entire list of unknown fields. +// The raw fields must be syntactically valid according to the wire format. +// An implementation may panic if this is not the case. +// Once stored, the caller must not mutate the content of the RawFields. +// An empty RawFields may be passed to clear the fields. +// +// SetUnknown is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_RemoveDelegateStakeRequest) SetUnknown(fields protoreflect.RawFields) { + x.unknownFields = fields +} + +// IsValid reports whether the message is valid. +// +// An invalid message is an empty, read-only value. +// +// An invalid message often corresponds to a nil pointer of the concrete +// message type, but the details are implementation dependent. +// Validity is not part of the protobuf data model, and may not +// be preserved in marshaling or other operations. +func (x *fastReflection_RemoveDelegateStakeRequest) IsValid() bool { + return x != nil +} + +// ProtoMethods returns optional fastReflectionFeature-path implementations of various operations. +// This method may return nil. +// +// The returned methods type is identical to +// "google.golang.org/protobuf/runtime/protoiface".Methods. +// Consult the protoiface package documentation for details. +func (x *fastReflection_RemoveDelegateStakeRequest) ProtoMethods() *protoiface.Methods { + size := func(input protoiface.SizeInput) protoiface.SizeOutput { + x := input.Message.Interface().(*RemoveDelegateStakeRequest) + if x == nil { + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: 0, + } + } + options := runtime.SizeInputToOptions(input) + _ = options + var n int + var l int + _ = l + l = len(x.Sender) + if l > 0 { + n += 1 + l + runtime.Sov(uint64(l)) + } + l = len(x.Reputer) + if l > 0 { + n += 1 + l + runtime.Sov(uint64(l)) + } + if x.TopicId != 0 { + n += 1 + runtime.Sov(uint64(x.TopicId)) + } + l = len(x.Amount) + if l > 0 { + n += 1 + l + runtime.Sov(uint64(l)) + } + if x.unknownFields != nil { + n += len(x.unknownFields) + } + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: n, + } + } + + marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { + x := input.Message.Interface().(*RemoveDelegateStakeRequest) + if x == nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + options := runtime.MarshalInputToOptions(input) + _ = options + size := options.Size(x) + dAtA := make([]byte, size) + i := len(dAtA) + _ = i + var l int + _ = l + if x.unknownFields != nil { + i -= len(x.unknownFields) + copy(dAtA[i:], x.unknownFields) + } + if len(x.Amount) > 0 { + i -= len(x.Amount) + copy(dAtA[i:], x.Amount) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.Amount))) + i-- + dAtA[i] = 0x22 + } + if x.TopicId != 0 { + i = runtime.EncodeVarint(dAtA, i, uint64(x.TopicId)) + i-- + dAtA[i] = 0x18 + } + if len(x.Reputer) > 0 { + i -= len(x.Reputer) + copy(dAtA[i:], x.Reputer) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.Reputer))) + i-- + dAtA[i] = 0x12 + } + if len(x.Sender) > 0 { + i -= len(x.Sender) + copy(dAtA[i:], x.Sender) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.Sender))) + i-- + dAtA[i] = 0xa + } + if input.Buf != nil { + input.Buf = append(input.Buf, dAtA...) + } else { + input.Buf = dAtA + } + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { + x := input.Message.Interface().(*RemoveDelegateStakeRequest) + if x == nil { + return protoiface.UnmarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Flags: input.Flags, + }, nil + } + options := runtime.UnmarshalInputToOptions(input) + _ = options + dAtA := input.Buf + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: RemoveDelegateStakeRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: RemoveDelegateStakeRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Sender", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + x.Sender = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Reputer", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + x.Reputer = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 3: + if wireType != 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field TopicId", wireType) + } + x.TopicId = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + x.TopicId |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 4: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Amount", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + x.Amount = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := runtime.Skip(dAtA[iNdEx:]) + if err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if (iNdEx + skippy) > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + if !options.DiscardUnknown { + x.unknownFields = append(x.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + } + iNdEx += skippy + } + } + + if iNdEx > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, nil + } + return &protoiface.Methods{ + NoUnkeyedLiterals: struct{}{}, + Flags: protoiface.SupportMarshalDeterministic | protoiface.SupportUnmarshalDiscardUnknown, + Size: size, + Marshal: marshal, + Unmarshal: unmarshal, + Merge: nil, + CheckInitialized: nil, + } +} + +var ( + md_RemoveDelegateStakeResponse protoreflect.MessageDescriptor +) + +func init() { + file_emissions_v8_tx_proto_init() + md_RemoveDelegateStakeResponse = File_emissions_v8_tx_proto.Messages().ByName("RemoveDelegateStakeResponse") +} + +var _ protoreflect.Message = (*fastReflection_RemoveDelegateStakeResponse)(nil) + +type fastReflection_RemoveDelegateStakeResponse RemoveDelegateStakeResponse + +func (x *RemoveDelegateStakeResponse) ProtoReflect() protoreflect.Message { + return (*fastReflection_RemoveDelegateStakeResponse)(x) +} + +func (x *RemoveDelegateStakeResponse) slowProtoReflect() protoreflect.Message { + mi := &file_emissions_v8_tx_proto_msgTypes[22] + 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) +} + +var _fastReflection_RemoveDelegateStakeResponse_messageType fastReflection_RemoveDelegateStakeResponse_messageType +var _ protoreflect.MessageType = fastReflection_RemoveDelegateStakeResponse_messageType{} + +type fastReflection_RemoveDelegateStakeResponse_messageType struct{} + +func (x fastReflection_RemoveDelegateStakeResponse_messageType) Zero() protoreflect.Message { + return (*fastReflection_RemoveDelegateStakeResponse)(nil) +} +func (x fastReflection_RemoveDelegateStakeResponse_messageType) New() protoreflect.Message { + return new(fastReflection_RemoveDelegateStakeResponse) +} +func (x fastReflection_RemoveDelegateStakeResponse_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_RemoveDelegateStakeResponse +} + +// Descriptor returns message descriptor, which contains only the protobuf +// type information for the message. +func (x *fastReflection_RemoveDelegateStakeResponse) Descriptor() protoreflect.MessageDescriptor { + return md_RemoveDelegateStakeResponse +} + +// Type returns the message type, which encapsulates both Go and protobuf +// type information. If the Go type information is not needed, +// it is recommended that the message descriptor be used instead. +func (x *fastReflection_RemoveDelegateStakeResponse) Type() protoreflect.MessageType { + return _fastReflection_RemoveDelegateStakeResponse_messageType +} + +// New returns a newly allocated and mutable empty message. +func (x *fastReflection_RemoveDelegateStakeResponse) New() protoreflect.Message { + return new(fastReflection_RemoveDelegateStakeResponse) +} + +// Interface unwraps the message reflection interface and +// returns the underlying ProtoMessage interface. +func (x *fastReflection_RemoveDelegateStakeResponse) Interface() protoreflect.ProtoMessage { + return (*RemoveDelegateStakeResponse)(x) +} + +// Range iterates over every populated field in an undefined order, +// calling f for each field descriptor and value encountered. +// Range returns immediately if f returns false. +// While iterating, mutating operations may only be performed +// on the current field descriptor. +func (x *fastReflection_RemoveDelegateStakeResponse) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { +} + +// Has reports whether a field is populated. +// +// Some fields have the property of nullability where it is possible to +// distinguish between the default value of a field and whether the field +// was explicitly populated with the default value. Singular message fields, +// member fields of a oneof, and proto2 scalar fields are nullable. Such +// fields are populated only if explicitly set. +// +// In other cases (aside from the nullable cases above), +// a proto3 scalar field is populated if it contains a non-zero value, and +// a repeated field is populated if it is non-empty. +func (x *fastReflection_RemoveDelegateStakeResponse) Has(fd protoreflect.FieldDescriptor) bool { + switch fd.FullName() { + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.RemoveDelegateStakeResponse")) + } + panic(fmt.Errorf("message emissions.v8.RemoveDelegateStakeResponse does not contain field %s", fd.FullName())) + } +} + +// Clear clears the field such that a subsequent Has call reports false. +// +// Clearing an extension field clears both the extension type and value +// associated with the given field number. +// +// Clear is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_RemoveDelegateStakeResponse) Clear(fd protoreflect.FieldDescriptor) { + switch fd.FullName() { + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.RemoveDelegateStakeResponse")) + } + panic(fmt.Errorf("message emissions.v8.RemoveDelegateStakeResponse does not contain field %s", fd.FullName())) + } +} + +// Get retrieves the value for a field. +// +// For unpopulated scalars, it returns the default value, where +// the default value of a bytes scalar is guaranteed to be a copy. +// For unpopulated composite types, it returns an empty, read-only view +// of the value; to obtain a mutable reference, use Mutable. +func (x *fastReflection_RemoveDelegateStakeResponse) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { + switch descriptor.FullName() { + default: + if descriptor.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.RemoveDelegateStakeResponse")) + } + panic(fmt.Errorf("message emissions.v8.RemoveDelegateStakeResponse does not contain field %s", descriptor.FullName())) + } +} + +// Set stores the value for a field. +// +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType. +// When setting a composite type, it is unspecified whether the stored value +// aliases the source's memory in any way. If the composite value is an +// empty, read-only value, then it panics. +// +// Set is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_RemoveDelegateStakeResponse) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { + switch fd.FullName() { + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.RemoveDelegateStakeResponse")) + } + panic(fmt.Errorf("message emissions.v8.RemoveDelegateStakeResponse does not contain field %s", fd.FullName())) + } +} + +// Mutable returns a mutable reference to a composite type. +// +// If the field is unpopulated, it may allocate a composite value. +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType +// if not already stored. +// It panics if the field does not contain a composite type. +// +// Mutable is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_RemoveDelegateStakeResponse) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.RemoveDelegateStakeResponse")) + } + panic(fmt.Errorf("message emissions.v8.RemoveDelegateStakeResponse does not contain field %s", fd.FullName())) + } +} + +// NewField returns a new value that is assignable to the field +// for the given descriptor. For scalars, this returns the default value. +// For lists, maps, and messages, this returns a new, empty, mutable value. +func (x *fastReflection_RemoveDelegateStakeResponse) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.RemoveDelegateStakeResponse")) + } + panic(fmt.Errorf("message emissions.v8.RemoveDelegateStakeResponse does not contain field %s", fd.FullName())) + } +} + +// WhichOneof reports which field within the oneof is populated, +// returning nil if none are populated. +// It panics if the oneof descriptor does not belong to this message. +func (x *fastReflection_RemoveDelegateStakeResponse) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { + switch d.FullName() { + default: + panic(fmt.Errorf("%s is not a oneof field in emissions.v8.RemoveDelegateStakeResponse", d.FullName())) + } + panic("unreachable") +} + +// GetUnknown retrieves the entire list of unknown fields. +// The caller may only mutate the contents of the RawFields +// if the mutated bytes are stored back into the message with SetUnknown. +func (x *fastReflection_RemoveDelegateStakeResponse) GetUnknown() protoreflect.RawFields { + return x.unknownFields +} + +// SetUnknown stores an entire list of unknown fields. +// The raw fields must be syntactically valid according to the wire format. +// An implementation may panic if this is not the case. +// Once stored, the caller must not mutate the content of the RawFields. +// An empty RawFields may be passed to clear the fields. +// +// SetUnknown is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_RemoveDelegateStakeResponse) SetUnknown(fields protoreflect.RawFields) { + x.unknownFields = fields +} + +// IsValid reports whether the message is valid. +// +// An invalid message is an empty, read-only value. +// +// An invalid message often corresponds to a nil pointer of the concrete +// message type, but the details are implementation dependent. +// Validity is not part of the protobuf data model, and may not +// be preserved in marshaling or other operations. +func (x *fastReflection_RemoveDelegateStakeResponse) IsValid() bool { + return x != nil +} + +// ProtoMethods returns optional fastReflectionFeature-path implementations of various operations. +// This method may return nil. +// +// The returned methods type is identical to +// "google.golang.org/protobuf/runtime/protoiface".Methods. +// Consult the protoiface package documentation for details. +func (x *fastReflection_RemoveDelegateStakeResponse) ProtoMethods() *protoiface.Methods { + size := func(input protoiface.SizeInput) protoiface.SizeOutput { + x := input.Message.Interface().(*RemoveDelegateStakeResponse) + if x == nil { + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: 0, + } + } + options := runtime.SizeInputToOptions(input) + _ = options + var n int + var l int + _ = l + if x.unknownFields != nil { + n += len(x.unknownFields) + } + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: n, + } + } + + marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { + x := input.Message.Interface().(*RemoveDelegateStakeResponse) + if x == nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + options := runtime.MarshalInputToOptions(input) + _ = options + size := options.Size(x) + dAtA := make([]byte, size) + i := len(dAtA) + _ = i + var l int + _ = l + if x.unknownFields != nil { + i -= len(x.unknownFields) + copy(dAtA[i:], x.unknownFields) + } + if input.Buf != nil { + input.Buf = append(input.Buf, dAtA...) + } else { + input.Buf = dAtA + } + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { + x := input.Message.Interface().(*RemoveDelegateStakeResponse) + if x == nil { + return protoiface.UnmarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Flags: input.Flags, + }, nil + } + options := runtime.UnmarshalInputToOptions(input) + _ = options + dAtA := input.Buf + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: RemoveDelegateStakeResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: RemoveDelegateStakeResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + default: + iNdEx = preIndex + skippy, err := runtime.Skip(dAtA[iNdEx:]) + if err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if (iNdEx + skippy) > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + if !options.DiscardUnknown { + x.unknownFields = append(x.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + } + iNdEx += skippy + } + } + + if iNdEx > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, nil + } + return &protoiface.Methods{ + NoUnkeyedLiterals: struct{}{}, + Flags: protoiface.SupportMarshalDeterministic | protoiface.SupportUnmarshalDiscardUnknown, + Size: size, + Marshal: marshal, + Unmarshal: unmarshal, + Merge: nil, + CheckInitialized: nil, + } +} + +var ( + md_CancelRemoveDelegateStakeRequest protoreflect.MessageDescriptor + fd_CancelRemoveDelegateStakeRequest_sender protoreflect.FieldDescriptor + fd_CancelRemoveDelegateStakeRequest_topic_id protoreflect.FieldDescriptor + fd_CancelRemoveDelegateStakeRequest_delegator protoreflect.FieldDescriptor + fd_CancelRemoveDelegateStakeRequest_reputer protoreflect.FieldDescriptor +) + +func init() { + file_emissions_v8_tx_proto_init() + md_CancelRemoveDelegateStakeRequest = File_emissions_v8_tx_proto.Messages().ByName("CancelRemoveDelegateStakeRequest") + fd_CancelRemoveDelegateStakeRequest_sender = md_CancelRemoveDelegateStakeRequest.Fields().ByName("sender") + fd_CancelRemoveDelegateStakeRequest_topic_id = md_CancelRemoveDelegateStakeRequest.Fields().ByName("topic_id") + fd_CancelRemoveDelegateStakeRequest_delegator = md_CancelRemoveDelegateStakeRequest.Fields().ByName("delegator") + fd_CancelRemoveDelegateStakeRequest_reputer = md_CancelRemoveDelegateStakeRequest.Fields().ByName("reputer") +} + +var _ protoreflect.Message = (*fastReflection_CancelRemoveDelegateStakeRequest)(nil) + +type fastReflection_CancelRemoveDelegateStakeRequest CancelRemoveDelegateStakeRequest + +func (x *CancelRemoveDelegateStakeRequest) ProtoReflect() protoreflect.Message { + return (*fastReflection_CancelRemoveDelegateStakeRequest)(x) +} + +func (x *CancelRemoveDelegateStakeRequest) slowProtoReflect() protoreflect.Message { + mi := &file_emissions_v8_tx_proto_msgTypes[23] + 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) +} + +var _fastReflection_CancelRemoveDelegateStakeRequest_messageType fastReflection_CancelRemoveDelegateStakeRequest_messageType +var _ protoreflect.MessageType = fastReflection_CancelRemoveDelegateStakeRequest_messageType{} + +type fastReflection_CancelRemoveDelegateStakeRequest_messageType struct{} + +func (x fastReflection_CancelRemoveDelegateStakeRequest_messageType) Zero() protoreflect.Message { + return (*fastReflection_CancelRemoveDelegateStakeRequest)(nil) +} +func (x fastReflection_CancelRemoveDelegateStakeRequest_messageType) New() protoreflect.Message { + return new(fastReflection_CancelRemoveDelegateStakeRequest) +} +func (x fastReflection_CancelRemoveDelegateStakeRequest_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_CancelRemoveDelegateStakeRequest +} + +// Descriptor returns message descriptor, which contains only the protobuf +// type information for the message. +func (x *fastReflection_CancelRemoveDelegateStakeRequest) Descriptor() protoreflect.MessageDescriptor { + return md_CancelRemoveDelegateStakeRequest +} + +// Type returns the message type, which encapsulates both Go and protobuf +// type information. If the Go type information is not needed, +// it is recommended that the message descriptor be used instead. +func (x *fastReflection_CancelRemoveDelegateStakeRequest) Type() protoreflect.MessageType { + return _fastReflection_CancelRemoveDelegateStakeRequest_messageType +} + +// New returns a newly allocated and mutable empty message. +func (x *fastReflection_CancelRemoveDelegateStakeRequest) New() protoreflect.Message { + return new(fastReflection_CancelRemoveDelegateStakeRequest) +} + +// Interface unwraps the message reflection interface and +// returns the underlying ProtoMessage interface. +func (x *fastReflection_CancelRemoveDelegateStakeRequest) Interface() protoreflect.ProtoMessage { + return (*CancelRemoveDelegateStakeRequest)(x) +} + +// Range iterates over every populated field in an undefined order, +// calling f for each field descriptor and value encountered. +// Range returns immediately if f returns false. +// While iterating, mutating operations may only be performed +// on the current field descriptor. +func (x *fastReflection_CancelRemoveDelegateStakeRequest) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { + if x.Sender != "" { + value := protoreflect.ValueOfString(x.Sender) + if !f(fd_CancelRemoveDelegateStakeRequest_sender, value) { + return + } + } + if x.TopicId != uint64(0) { + value := protoreflect.ValueOfUint64(x.TopicId) + if !f(fd_CancelRemoveDelegateStakeRequest_topic_id, value) { + return + } + } + if x.Delegator != "" { + value := protoreflect.ValueOfString(x.Delegator) + if !f(fd_CancelRemoveDelegateStakeRequest_delegator, value) { + return + } + } + if x.Reputer != "" { + value := protoreflect.ValueOfString(x.Reputer) + if !f(fd_CancelRemoveDelegateStakeRequest_reputer, value) { + return + } + } +} + +// Has reports whether a field is populated. +// +// Some fields have the property of nullability where it is possible to +// distinguish between the default value of a field and whether the field +// was explicitly populated with the default value. Singular message fields, +// member fields of a oneof, and proto2 scalar fields are nullable. Such +// fields are populated only if explicitly set. +// +// In other cases (aside from the nullable cases above), +// a proto3 scalar field is populated if it contains a non-zero value, and +// a repeated field is populated if it is non-empty. +func (x *fastReflection_CancelRemoveDelegateStakeRequest) Has(fd protoreflect.FieldDescriptor) bool { + switch fd.FullName() { + case "emissions.v8.CancelRemoveDelegateStakeRequest.sender": + return x.Sender != "" + case "emissions.v8.CancelRemoveDelegateStakeRequest.topic_id": + return x.TopicId != uint64(0) + case "emissions.v8.CancelRemoveDelegateStakeRequest.delegator": + return x.Delegator != "" + case "emissions.v8.CancelRemoveDelegateStakeRequest.reputer": + return x.Reputer != "" + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.CancelRemoveDelegateStakeRequest")) + } + panic(fmt.Errorf("message emissions.v8.CancelRemoveDelegateStakeRequest does not contain field %s", fd.FullName())) + } +} + +// Clear clears the field such that a subsequent Has call reports false. +// +// Clearing an extension field clears both the extension type and value +// associated with the given field number. +// +// Clear is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_CancelRemoveDelegateStakeRequest) Clear(fd protoreflect.FieldDescriptor) { + switch fd.FullName() { + case "emissions.v8.CancelRemoveDelegateStakeRequest.sender": + x.Sender = "" + case "emissions.v8.CancelRemoveDelegateStakeRequest.topic_id": + x.TopicId = uint64(0) + case "emissions.v8.CancelRemoveDelegateStakeRequest.delegator": + x.Delegator = "" + case "emissions.v8.CancelRemoveDelegateStakeRequest.reputer": + x.Reputer = "" + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.CancelRemoveDelegateStakeRequest")) + } + panic(fmt.Errorf("message emissions.v8.CancelRemoveDelegateStakeRequest does not contain field %s", fd.FullName())) + } +} + +// Get retrieves the value for a field. +// +// For unpopulated scalars, it returns the default value, where +// the default value of a bytes scalar is guaranteed to be a copy. +// For unpopulated composite types, it returns an empty, read-only view +// of the value; to obtain a mutable reference, use Mutable. +func (x *fastReflection_CancelRemoveDelegateStakeRequest) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { + switch descriptor.FullName() { + case "emissions.v8.CancelRemoveDelegateStakeRequest.sender": + value := x.Sender + return protoreflect.ValueOfString(value) + case "emissions.v8.CancelRemoveDelegateStakeRequest.topic_id": + value := x.TopicId + return protoreflect.ValueOfUint64(value) + case "emissions.v8.CancelRemoveDelegateStakeRequest.delegator": + value := x.Delegator + return protoreflect.ValueOfString(value) + case "emissions.v8.CancelRemoveDelegateStakeRequest.reputer": + value := x.Reputer + return protoreflect.ValueOfString(value) + default: + if descriptor.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.CancelRemoveDelegateStakeRequest")) + } + panic(fmt.Errorf("message emissions.v8.CancelRemoveDelegateStakeRequest does not contain field %s", descriptor.FullName())) + } +} + +// Set stores the value for a field. +// +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType. +// When setting a composite type, it is unspecified whether the stored value +// aliases the source's memory in any way. If the composite value is an +// empty, read-only value, then it panics. +// +// Set is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_CancelRemoveDelegateStakeRequest) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { + switch fd.FullName() { + case "emissions.v8.CancelRemoveDelegateStakeRequest.sender": + x.Sender = value.Interface().(string) + case "emissions.v8.CancelRemoveDelegateStakeRequest.topic_id": + x.TopicId = value.Uint() + case "emissions.v8.CancelRemoveDelegateStakeRequest.delegator": + x.Delegator = value.Interface().(string) + case "emissions.v8.CancelRemoveDelegateStakeRequest.reputer": + x.Reputer = value.Interface().(string) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.CancelRemoveDelegateStakeRequest")) + } + panic(fmt.Errorf("message emissions.v8.CancelRemoveDelegateStakeRequest does not contain field %s", fd.FullName())) + } +} + +// Mutable returns a mutable reference to a composite type. +// +// If the field is unpopulated, it may allocate a composite value. +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType +// if not already stored. +// It panics if the field does not contain a composite type. +// +// Mutable is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_CancelRemoveDelegateStakeRequest) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.CancelRemoveDelegateStakeRequest.sender": + panic(fmt.Errorf("field sender of message emissions.v8.CancelRemoveDelegateStakeRequest is not mutable")) + case "emissions.v8.CancelRemoveDelegateStakeRequest.topic_id": + panic(fmt.Errorf("field topic_id of message emissions.v8.CancelRemoveDelegateStakeRequest is not mutable")) + case "emissions.v8.CancelRemoveDelegateStakeRequest.delegator": + panic(fmt.Errorf("field delegator of message emissions.v8.CancelRemoveDelegateStakeRequest is not mutable")) + case "emissions.v8.CancelRemoveDelegateStakeRequest.reputer": + panic(fmt.Errorf("field reputer of message emissions.v8.CancelRemoveDelegateStakeRequest is not mutable")) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.CancelRemoveDelegateStakeRequest")) + } + panic(fmt.Errorf("message emissions.v8.CancelRemoveDelegateStakeRequest does not contain field %s", fd.FullName())) + } +} + +// NewField returns a new value that is assignable to the field +// for the given descriptor. For scalars, this returns the default value. +// For lists, maps, and messages, this returns a new, empty, mutable value. +func (x *fastReflection_CancelRemoveDelegateStakeRequest) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.CancelRemoveDelegateStakeRequest.sender": + return protoreflect.ValueOfString("") + case "emissions.v8.CancelRemoveDelegateStakeRequest.topic_id": + return protoreflect.ValueOfUint64(uint64(0)) + case "emissions.v8.CancelRemoveDelegateStakeRequest.delegator": + return protoreflect.ValueOfString("") + case "emissions.v8.CancelRemoveDelegateStakeRequest.reputer": + return protoreflect.ValueOfString("") + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.CancelRemoveDelegateStakeRequest")) + } + panic(fmt.Errorf("message emissions.v8.CancelRemoveDelegateStakeRequest does not contain field %s", fd.FullName())) + } +} + +// WhichOneof reports which field within the oneof is populated, +// returning nil if none are populated. +// It panics if the oneof descriptor does not belong to this message. +func (x *fastReflection_CancelRemoveDelegateStakeRequest) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { + switch d.FullName() { + default: + panic(fmt.Errorf("%s is not a oneof field in emissions.v8.CancelRemoveDelegateStakeRequest", d.FullName())) + } + panic("unreachable") +} + +// GetUnknown retrieves the entire list of unknown fields. +// The caller may only mutate the contents of the RawFields +// if the mutated bytes are stored back into the message with SetUnknown. +func (x *fastReflection_CancelRemoveDelegateStakeRequest) GetUnknown() protoreflect.RawFields { + return x.unknownFields +} + +// SetUnknown stores an entire list of unknown fields. +// The raw fields must be syntactically valid according to the wire format. +// An implementation may panic if this is not the case. +// Once stored, the caller must not mutate the content of the RawFields. +// An empty RawFields may be passed to clear the fields. +// +// SetUnknown is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_CancelRemoveDelegateStakeRequest) SetUnknown(fields protoreflect.RawFields) { + x.unknownFields = fields +} + +// IsValid reports whether the message is valid. +// +// An invalid message is an empty, read-only value. +// +// An invalid message often corresponds to a nil pointer of the concrete +// message type, but the details are implementation dependent. +// Validity is not part of the protobuf data model, and may not +// be preserved in marshaling or other operations. +func (x *fastReflection_CancelRemoveDelegateStakeRequest) IsValid() bool { + return x != nil +} + +// ProtoMethods returns optional fastReflectionFeature-path implementations of various operations. +// This method may return nil. +// +// The returned methods type is identical to +// "google.golang.org/protobuf/runtime/protoiface".Methods. +// Consult the protoiface package documentation for details. +func (x *fastReflection_CancelRemoveDelegateStakeRequest) ProtoMethods() *protoiface.Methods { + size := func(input protoiface.SizeInput) protoiface.SizeOutput { + x := input.Message.Interface().(*CancelRemoveDelegateStakeRequest) + if x == nil { + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: 0, + } + } + options := runtime.SizeInputToOptions(input) + _ = options + var n int + var l int + _ = l + l = len(x.Sender) + if l > 0 { + n += 1 + l + runtime.Sov(uint64(l)) + } + if x.TopicId != 0 { + n += 1 + runtime.Sov(uint64(x.TopicId)) + } + l = len(x.Delegator) + if l > 0 { + n += 1 + l + runtime.Sov(uint64(l)) + } + l = len(x.Reputer) + if l > 0 { + n += 1 + l + runtime.Sov(uint64(l)) + } + if x.unknownFields != nil { + n += len(x.unknownFields) + } + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: n, + } + } + + marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { + x := input.Message.Interface().(*CancelRemoveDelegateStakeRequest) + if x == nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + options := runtime.MarshalInputToOptions(input) + _ = options + size := options.Size(x) + dAtA := make([]byte, size) + i := len(dAtA) + _ = i + var l int + _ = l + if x.unknownFields != nil { + i -= len(x.unknownFields) + copy(dAtA[i:], x.unknownFields) + } + if len(x.Reputer) > 0 { + i -= len(x.Reputer) + copy(dAtA[i:], x.Reputer) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.Reputer))) + i-- + dAtA[i] = 0x22 + } + if len(x.Delegator) > 0 { + i -= len(x.Delegator) + copy(dAtA[i:], x.Delegator) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.Delegator))) + i-- + dAtA[i] = 0x1a + } + if x.TopicId != 0 { + i = runtime.EncodeVarint(dAtA, i, uint64(x.TopicId)) + i-- + dAtA[i] = 0x10 + } + if len(x.Sender) > 0 { + i -= len(x.Sender) + copy(dAtA[i:], x.Sender) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.Sender))) + i-- + dAtA[i] = 0xa + } + if input.Buf != nil { + input.Buf = append(input.Buf, dAtA...) + } else { + input.Buf = dAtA + } + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { + x := input.Message.Interface().(*CancelRemoveDelegateStakeRequest) + if x == nil { + return protoiface.UnmarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Flags: input.Flags, + }, nil + } + options := runtime.UnmarshalInputToOptions(input) + _ = options + dAtA := input.Buf + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: CancelRemoveDelegateStakeRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: CancelRemoveDelegateStakeRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Sender", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + x.Sender = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field TopicId", wireType) + } + x.TopicId = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + x.TopicId |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 3: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Delegator", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + x.Delegator = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 4: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Reputer", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + x.Reputer = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := runtime.Skip(dAtA[iNdEx:]) + if err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if (iNdEx + skippy) > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + if !options.DiscardUnknown { + x.unknownFields = append(x.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + } + iNdEx += skippy + } + } + + if iNdEx > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, nil + } + return &protoiface.Methods{ + NoUnkeyedLiterals: struct{}{}, + Flags: protoiface.SupportMarshalDeterministic | protoiface.SupportUnmarshalDiscardUnknown, + Size: size, + Marshal: marshal, + Unmarshal: unmarshal, + Merge: nil, + CheckInitialized: nil, + } +} + +var ( + md_CancelRemoveDelegateStakeResponse protoreflect.MessageDescriptor +) + +func init() { + file_emissions_v8_tx_proto_init() + md_CancelRemoveDelegateStakeResponse = File_emissions_v8_tx_proto.Messages().ByName("CancelRemoveDelegateStakeResponse") +} + +var _ protoreflect.Message = (*fastReflection_CancelRemoveDelegateStakeResponse)(nil) + +type fastReflection_CancelRemoveDelegateStakeResponse CancelRemoveDelegateStakeResponse + +func (x *CancelRemoveDelegateStakeResponse) ProtoReflect() protoreflect.Message { + return (*fastReflection_CancelRemoveDelegateStakeResponse)(x) +} + +func (x *CancelRemoveDelegateStakeResponse) slowProtoReflect() protoreflect.Message { + mi := &file_emissions_v8_tx_proto_msgTypes[24] + 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) +} + +var _fastReflection_CancelRemoveDelegateStakeResponse_messageType fastReflection_CancelRemoveDelegateStakeResponse_messageType +var _ protoreflect.MessageType = fastReflection_CancelRemoveDelegateStakeResponse_messageType{} + +type fastReflection_CancelRemoveDelegateStakeResponse_messageType struct{} + +func (x fastReflection_CancelRemoveDelegateStakeResponse_messageType) Zero() protoreflect.Message { + return (*fastReflection_CancelRemoveDelegateStakeResponse)(nil) +} +func (x fastReflection_CancelRemoveDelegateStakeResponse_messageType) New() protoreflect.Message { + return new(fastReflection_CancelRemoveDelegateStakeResponse) +} +func (x fastReflection_CancelRemoveDelegateStakeResponse_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_CancelRemoveDelegateStakeResponse +} + +// Descriptor returns message descriptor, which contains only the protobuf +// type information for the message. +func (x *fastReflection_CancelRemoveDelegateStakeResponse) Descriptor() protoreflect.MessageDescriptor { + return md_CancelRemoveDelegateStakeResponse +} + +// Type returns the message type, which encapsulates both Go and protobuf +// type information. If the Go type information is not needed, +// it is recommended that the message descriptor be used instead. +func (x *fastReflection_CancelRemoveDelegateStakeResponse) Type() protoreflect.MessageType { + return _fastReflection_CancelRemoveDelegateStakeResponse_messageType +} + +// New returns a newly allocated and mutable empty message. +func (x *fastReflection_CancelRemoveDelegateStakeResponse) New() protoreflect.Message { + return new(fastReflection_CancelRemoveDelegateStakeResponse) +} + +// Interface unwraps the message reflection interface and +// returns the underlying ProtoMessage interface. +func (x *fastReflection_CancelRemoveDelegateStakeResponse) Interface() protoreflect.ProtoMessage { + return (*CancelRemoveDelegateStakeResponse)(x) +} + +// Range iterates over every populated field in an undefined order, +// calling f for each field descriptor and value encountered. +// Range returns immediately if f returns false. +// While iterating, mutating operations may only be performed +// on the current field descriptor. +func (x *fastReflection_CancelRemoveDelegateStakeResponse) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { +} + +// Has reports whether a field is populated. +// +// Some fields have the property of nullability where it is possible to +// distinguish between the default value of a field and whether the field +// was explicitly populated with the default value. Singular message fields, +// member fields of a oneof, and proto2 scalar fields are nullable. Such +// fields are populated only if explicitly set. +// +// In other cases (aside from the nullable cases above), +// a proto3 scalar field is populated if it contains a non-zero value, and +// a repeated field is populated if it is non-empty. +func (x *fastReflection_CancelRemoveDelegateStakeResponse) Has(fd protoreflect.FieldDescriptor) bool { + switch fd.FullName() { + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.CancelRemoveDelegateStakeResponse")) + } + panic(fmt.Errorf("message emissions.v8.CancelRemoveDelegateStakeResponse does not contain field %s", fd.FullName())) + } +} + +// Clear clears the field such that a subsequent Has call reports false. +// +// Clearing an extension field clears both the extension type and value +// associated with the given field number. +// +// Clear is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_CancelRemoveDelegateStakeResponse) Clear(fd protoreflect.FieldDescriptor) { + switch fd.FullName() { + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.CancelRemoveDelegateStakeResponse")) + } + panic(fmt.Errorf("message emissions.v8.CancelRemoveDelegateStakeResponse does not contain field %s", fd.FullName())) + } +} + +// Get retrieves the value for a field. +// +// For unpopulated scalars, it returns the default value, where +// the default value of a bytes scalar is guaranteed to be a copy. +// For unpopulated composite types, it returns an empty, read-only view +// of the value; to obtain a mutable reference, use Mutable. +func (x *fastReflection_CancelRemoveDelegateStakeResponse) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { + switch descriptor.FullName() { + default: + if descriptor.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.CancelRemoveDelegateStakeResponse")) + } + panic(fmt.Errorf("message emissions.v8.CancelRemoveDelegateStakeResponse does not contain field %s", descriptor.FullName())) + } +} + +// Set stores the value for a field. +// +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType. +// When setting a composite type, it is unspecified whether the stored value +// aliases the source's memory in any way. If the composite value is an +// empty, read-only value, then it panics. +// +// Set is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_CancelRemoveDelegateStakeResponse) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { + switch fd.FullName() { + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.CancelRemoveDelegateStakeResponse")) + } + panic(fmt.Errorf("message emissions.v8.CancelRemoveDelegateStakeResponse does not contain field %s", fd.FullName())) + } +} + +// Mutable returns a mutable reference to a composite type. +// +// If the field is unpopulated, it may allocate a composite value. +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType +// if not already stored. +// It panics if the field does not contain a composite type. +// +// Mutable is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_CancelRemoveDelegateStakeResponse) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.CancelRemoveDelegateStakeResponse")) + } + panic(fmt.Errorf("message emissions.v8.CancelRemoveDelegateStakeResponse does not contain field %s", fd.FullName())) + } +} + +// NewField returns a new value that is assignable to the field +// for the given descriptor. For scalars, this returns the default value. +// For lists, maps, and messages, this returns a new, empty, mutable value. +func (x *fastReflection_CancelRemoveDelegateStakeResponse) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.CancelRemoveDelegateStakeResponse")) + } + panic(fmt.Errorf("message emissions.v8.CancelRemoveDelegateStakeResponse does not contain field %s", fd.FullName())) + } +} + +// WhichOneof reports which field within the oneof is populated, +// returning nil if none are populated. +// It panics if the oneof descriptor does not belong to this message. +func (x *fastReflection_CancelRemoveDelegateStakeResponse) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { + switch d.FullName() { + default: + panic(fmt.Errorf("%s is not a oneof field in emissions.v8.CancelRemoveDelegateStakeResponse", d.FullName())) + } + panic("unreachable") +} + +// GetUnknown retrieves the entire list of unknown fields. +// The caller may only mutate the contents of the RawFields +// if the mutated bytes are stored back into the message with SetUnknown. +func (x *fastReflection_CancelRemoveDelegateStakeResponse) GetUnknown() protoreflect.RawFields { + return x.unknownFields +} + +// SetUnknown stores an entire list of unknown fields. +// The raw fields must be syntactically valid according to the wire format. +// An implementation may panic if this is not the case. +// Once stored, the caller must not mutate the content of the RawFields. +// An empty RawFields may be passed to clear the fields. +// +// SetUnknown is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_CancelRemoveDelegateStakeResponse) SetUnknown(fields protoreflect.RawFields) { + x.unknownFields = fields +} + +// IsValid reports whether the message is valid. +// +// An invalid message is an empty, read-only value. +// +// An invalid message often corresponds to a nil pointer of the concrete +// message type, but the details are implementation dependent. +// Validity is not part of the protobuf data model, and may not +// be preserved in marshaling or other operations. +func (x *fastReflection_CancelRemoveDelegateStakeResponse) IsValid() bool { + return x != nil +} + +// ProtoMethods returns optional fastReflectionFeature-path implementations of various operations. +// This method may return nil. +// +// The returned methods type is identical to +// "google.golang.org/protobuf/runtime/protoiface".Methods. +// Consult the protoiface package documentation for details. +func (x *fastReflection_CancelRemoveDelegateStakeResponse) ProtoMethods() *protoiface.Methods { + size := func(input protoiface.SizeInput) protoiface.SizeOutput { + x := input.Message.Interface().(*CancelRemoveDelegateStakeResponse) + if x == nil { + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: 0, + } + } + options := runtime.SizeInputToOptions(input) + _ = options + var n int + var l int + _ = l + if x.unknownFields != nil { + n += len(x.unknownFields) + } + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: n, + } + } + + marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { + x := input.Message.Interface().(*CancelRemoveDelegateStakeResponse) + if x == nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + options := runtime.MarshalInputToOptions(input) + _ = options + size := options.Size(x) + dAtA := make([]byte, size) + i := len(dAtA) + _ = i + var l int + _ = l + if x.unknownFields != nil { + i -= len(x.unknownFields) + copy(dAtA[i:], x.unknownFields) + } + if input.Buf != nil { + input.Buf = append(input.Buf, dAtA...) + } else { + input.Buf = dAtA + } + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { + x := input.Message.Interface().(*CancelRemoveDelegateStakeResponse) + if x == nil { + return protoiface.UnmarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Flags: input.Flags, + }, nil + } + options := runtime.UnmarshalInputToOptions(input) + _ = options + dAtA := input.Buf + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: CancelRemoveDelegateStakeResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: CancelRemoveDelegateStakeResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + default: + iNdEx = preIndex + skippy, err := runtime.Skip(dAtA[iNdEx:]) + if err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if (iNdEx + skippy) > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + if !options.DiscardUnknown { + x.unknownFields = append(x.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + } + iNdEx += skippy + } + } + + if iNdEx > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, nil + } + return &protoiface.Methods{ + NoUnkeyedLiterals: struct{}{}, + Flags: protoiface.SupportMarshalDeterministic | protoiface.SupportUnmarshalDiscardUnknown, + Size: size, + Marshal: marshal, + Unmarshal: unmarshal, + Merge: nil, + CheckInitialized: nil, + } +} + +var ( + md_RewardDelegateStakeRequest protoreflect.MessageDescriptor + fd_RewardDelegateStakeRequest_sender protoreflect.FieldDescriptor + fd_RewardDelegateStakeRequest_topic_id protoreflect.FieldDescriptor + fd_RewardDelegateStakeRequest_reputer protoreflect.FieldDescriptor +) + +func init() { + file_emissions_v8_tx_proto_init() + md_RewardDelegateStakeRequest = File_emissions_v8_tx_proto.Messages().ByName("RewardDelegateStakeRequest") + fd_RewardDelegateStakeRequest_sender = md_RewardDelegateStakeRequest.Fields().ByName("sender") + fd_RewardDelegateStakeRequest_topic_id = md_RewardDelegateStakeRequest.Fields().ByName("topic_id") + fd_RewardDelegateStakeRequest_reputer = md_RewardDelegateStakeRequest.Fields().ByName("reputer") +} + +var _ protoreflect.Message = (*fastReflection_RewardDelegateStakeRequest)(nil) + +type fastReflection_RewardDelegateStakeRequest RewardDelegateStakeRequest + +func (x *RewardDelegateStakeRequest) ProtoReflect() protoreflect.Message { + return (*fastReflection_RewardDelegateStakeRequest)(x) +} + +func (x *RewardDelegateStakeRequest) slowProtoReflect() protoreflect.Message { + mi := &file_emissions_v8_tx_proto_msgTypes[25] + 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) +} + +var _fastReflection_RewardDelegateStakeRequest_messageType fastReflection_RewardDelegateStakeRequest_messageType +var _ protoreflect.MessageType = fastReflection_RewardDelegateStakeRequest_messageType{} + +type fastReflection_RewardDelegateStakeRequest_messageType struct{} + +func (x fastReflection_RewardDelegateStakeRequest_messageType) Zero() protoreflect.Message { + return (*fastReflection_RewardDelegateStakeRequest)(nil) +} +func (x fastReflection_RewardDelegateStakeRequest_messageType) New() protoreflect.Message { + return new(fastReflection_RewardDelegateStakeRequest) +} +func (x fastReflection_RewardDelegateStakeRequest_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_RewardDelegateStakeRequest +} + +// Descriptor returns message descriptor, which contains only the protobuf +// type information for the message. +func (x *fastReflection_RewardDelegateStakeRequest) Descriptor() protoreflect.MessageDescriptor { + return md_RewardDelegateStakeRequest +} + +// Type returns the message type, which encapsulates both Go and protobuf +// type information. If the Go type information is not needed, +// it is recommended that the message descriptor be used instead. +func (x *fastReflection_RewardDelegateStakeRequest) Type() protoreflect.MessageType { + return _fastReflection_RewardDelegateStakeRequest_messageType +} + +// New returns a newly allocated and mutable empty message. +func (x *fastReflection_RewardDelegateStakeRequest) New() protoreflect.Message { + return new(fastReflection_RewardDelegateStakeRequest) +} + +// Interface unwraps the message reflection interface and +// returns the underlying ProtoMessage interface. +func (x *fastReflection_RewardDelegateStakeRequest) Interface() protoreflect.ProtoMessage { + return (*RewardDelegateStakeRequest)(x) +} + +// Range iterates over every populated field in an undefined order, +// calling f for each field descriptor and value encountered. +// Range returns immediately if f returns false. +// While iterating, mutating operations may only be performed +// on the current field descriptor. +func (x *fastReflection_RewardDelegateStakeRequest) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { + if x.Sender != "" { + value := protoreflect.ValueOfString(x.Sender) + if !f(fd_RewardDelegateStakeRequest_sender, value) { + return + } + } + if x.TopicId != uint64(0) { + value := protoreflect.ValueOfUint64(x.TopicId) + if !f(fd_RewardDelegateStakeRequest_topic_id, value) { + return + } + } + if x.Reputer != "" { + value := protoreflect.ValueOfString(x.Reputer) + if !f(fd_RewardDelegateStakeRequest_reputer, value) { + return + } + } +} + +// Has reports whether a field is populated. +// +// Some fields have the property of nullability where it is possible to +// distinguish between the default value of a field and whether the field +// was explicitly populated with the default value. Singular message fields, +// member fields of a oneof, and proto2 scalar fields are nullable. Such +// fields are populated only if explicitly set. +// +// In other cases (aside from the nullable cases above), +// a proto3 scalar field is populated if it contains a non-zero value, and +// a repeated field is populated if it is non-empty. +func (x *fastReflection_RewardDelegateStakeRequest) Has(fd protoreflect.FieldDescriptor) bool { + switch fd.FullName() { + case "emissions.v8.RewardDelegateStakeRequest.sender": + return x.Sender != "" + case "emissions.v8.RewardDelegateStakeRequest.topic_id": + return x.TopicId != uint64(0) + case "emissions.v8.RewardDelegateStakeRequest.reputer": + return x.Reputer != "" + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.RewardDelegateStakeRequest")) + } + panic(fmt.Errorf("message emissions.v8.RewardDelegateStakeRequest does not contain field %s", fd.FullName())) + } +} + +// Clear clears the field such that a subsequent Has call reports false. +// +// Clearing an extension field clears both the extension type and value +// associated with the given field number. +// +// Clear is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_RewardDelegateStakeRequest) Clear(fd protoreflect.FieldDescriptor) { + switch fd.FullName() { + case "emissions.v8.RewardDelegateStakeRequest.sender": + x.Sender = "" + case "emissions.v8.RewardDelegateStakeRequest.topic_id": + x.TopicId = uint64(0) + case "emissions.v8.RewardDelegateStakeRequest.reputer": + x.Reputer = "" + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.RewardDelegateStakeRequest")) + } + panic(fmt.Errorf("message emissions.v8.RewardDelegateStakeRequest does not contain field %s", fd.FullName())) + } +} + +// Get retrieves the value for a field. +// +// For unpopulated scalars, it returns the default value, where +// the default value of a bytes scalar is guaranteed to be a copy. +// For unpopulated composite types, it returns an empty, read-only view +// of the value; to obtain a mutable reference, use Mutable. +func (x *fastReflection_RewardDelegateStakeRequest) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { + switch descriptor.FullName() { + case "emissions.v8.RewardDelegateStakeRequest.sender": + value := x.Sender + return protoreflect.ValueOfString(value) + case "emissions.v8.RewardDelegateStakeRequest.topic_id": + value := x.TopicId + return protoreflect.ValueOfUint64(value) + case "emissions.v8.RewardDelegateStakeRequest.reputer": + value := x.Reputer + return protoreflect.ValueOfString(value) + default: + if descriptor.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.RewardDelegateStakeRequest")) + } + panic(fmt.Errorf("message emissions.v8.RewardDelegateStakeRequest does not contain field %s", descriptor.FullName())) + } +} + +// Set stores the value for a field. +// +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType. +// When setting a composite type, it is unspecified whether the stored value +// aliases the source's memory in any way. If the composite value is an +// empty, read-only value, then it panics. +// +// Set is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_RewardDelegateStakeRequest) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { + switch fd.FullName() { + case "emissions.v8.RewardDelegateStakeRequest.sender": + x.Sender = value.Interface().(string) + case "emissions.v8.RewardDelegateStakeRequest.topic_id": + x.TopicId = value.Uint() + case "emissions.v8.RewardDelegateStakeRequest.reputer": + x.Reputer = value.Interface().(string) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.RewardDelegateStakeRequest")) + } + panic(fmt.Errorf("message emissions.v8.RewardDelegateStakeRequest does not contain field %s", fd.FullName())) + } +} + +// Mutable returns a mutable reference to a composite type. +// +// If the field is unpopulated, it may allocate a composite value. +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType +// if not already stored. +// It panics if the field does not contain a composite type. +// +// Mutable is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_RewardDelegateStakeRequest) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.RewardDelegateStakeRequest.sender": + panic(fmt.Errorf("field sender of message emissions.v8.RewardDelegateStakeRequest is not mutable")) + case "emissions.v8.RewardDelegateStakeRequest.topic_id": + panic(fmt.Errorf("field topic_id of message emissions.v8.RewardDelegateStakeRequest is not mutable")) + case "emissions.v8.RewardDelegateStakeRequest.reputer": + panic(fmt.Errorf("field reputer of message emissions.v8.RewardDelegateStakeRequest is not mutable")) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.RewardDelegateStakeRequest")) + } + panic(fmt.Errorf("message emissions.v8.RewardDelegateStakeRequest does not contain field %s", fd.FullName())) + } +} + +// NewField returns a new value that is assignable to the field +// for the given descriptor. For scalars, this returns the default value. +// For lists, maps, and messages, this returns a new, empty, mutable value. +func (x *fastReflection_RewardDelegateStakeRequest) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.RewardDelegateStakeRequest.sender": + return protoreflect.ValueOfString("") + case "emissions.v8.RewardDelegateStakeRequest.topic_id": + return protoreflect.ValueOfUint64(uint64(0)) + case "emissions.v8.RewardDelegateStakeRequest.reputer": + return protoreflect.ValueOfString("") + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.RewardDelegateStakeRequest")) + } + panic(fmt.Errorf("message emissions.v8.RewardDelegateStakeRequest does not contain field %s", fd.FullName())) + } +} + +// WhichOneof reports which field within the oneof is populated, +// returning nil if none are populated. +// It panics if the oneof descriptor does not belong to this message. +func (x *fastReflection_RewardDelegateStakeRequest) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { + switch d.FullName() { + default: + panic(fmt.Errorf("%s is not a oneof field in emissions.v8.RewardDelegateStakeRequest", d.FullName())) + } + panic("unreachable") +} + +// GetUnknown retrieves the entire list of unknown fields. +// The caller may only mutate the contents of the RawFields +// if the mutated bytes are stored back into the message with SetUnknown. +func (x *fastReflection_RewardDelegateStakeRequest) GetUnknown() protoreflect.RawFields { + return x.unknownFields +} + +// SetUnknown stores an entire list of unknown fields. +// The raw fields must be syntactically valid according to the wire format. +// An implementation may panic if this is not the case. +// Once stored, the caller must not mutate the content of the RawFields. +// An empty RawFields may be passed to clear the fields. +// +// SetUnknown is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_RewardDelegateStakeRequest) SetUnknown(fields protoreflect.RawFields) { + x.unknownFields = fields +} + +// IsValid reports whether the message is valid. +// +// An invalid message is an empty, read-only value. +// +// An invalid message often corresponds to a nil pointer of the concrete +// message type, but the details are implementation dependent. +// Validity is not part of the protobuf data model, and may not +// be preserved in marshaling or other operations. +func (x *fastReflection_RewardDelegateStakeRequest) IsValid() bool { + return x != nil +} + +// ProtoMethods returns optional fastReflectionFeature-path implementations of various operations. +// This method may return nil. +// +// The returned methods type is identical to +// "google.golang.org/protobuf/runtime/protoiface".Methods. +// Consult the protoiface package documentation for details. +func (x *fastReflection_RewardDelegateStakeRequest) ProtoMethods() *protoiface.Methods { + size := func(input protoiface.SizeInput) protoiface.SizeOutput { + x := input.Message.Interface().(*RewardDelegateStakeRequest) + if x == nil { + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: 0, + } + } + options := runtime.SizeInputToOptions(input) + _ = options + var n int + var l int + _ = l + l = len(x.Sender) + if l > 0 { + n += 1 + l + runtime.Sov(uint64(l)) + } + if x.TopicId != 0 { + n += 1 + runtime.Sov(uint64(x.TopicId)) + } + l = len(x.Reputer) + if l > 0 { + n += 1 + l + runtime.Sov(uint64(l)) + } + if x.unknownFields != nil { + n += len(x.unknownFields) + } + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: n, + } + } + + marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { + x := input.Message.Interface().(*RewardDelegateStakeRequest) + if x == nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + options := runtime.MarshalInputToOptions(input) + _ = options + size := options.Size(x) + dAtA := make([]byte, size) + i := len(dAtA) + _ = i + var l int + _ = l + if x.unknownFields != nil { + i -= len(x.unknownFields) + copy(dAtA[i:], x.unknownFields) + } + if len(x.Reputer) > 0 { + i -= len(x.Reputer) + copy(dAtA[i:], x.Reputer) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.Reputer))) + i-- + dAtA[i] = 0x1a + } + if x.TopicId != 0 { + i = runtime.EncodeVarint(dAtA, i, uint64(x.TopicId)) + i-- + dAtA[i] = 0x10 + } + if len(x.Sender) > 0 { + i -= len(x.Sender) + copy(dAtA[i:], x.Sender) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.Sender))) + i-- + dAtA[i] = 0xa + } + if input.Buf != nil { + input.Buf = append(input.Buf, dAtA...) + } else { + input.Buf = dAtA + } + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { + x := input.Message.Interface().(*RewardDelegateStakeRequest) + if x == nil { + return protoiface.UnmarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Flags: input.Flags, + }, nil + } + options := runtime.UnmarshalInputToOptions(input) + _ = options + dAtA := input.Buf + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: RewardDelegateStakeRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: RewardDelegateStakeRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Sender", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + x.Sender = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field TopicId", wireType) + } + x.TopicId = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + x.TopicId |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 3: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Reputer", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + x.Reputer = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := runtime.Skip(dAtA[iNdEx:]) + if err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if (iNdEx + skippy) > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + if !options.DiscardUnknown { + x.unknownFields = append(x.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + } + iNdEx += skippy + } + } + + if iNdEx > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, nil + } + return &protoiface.Methods{ + NoUnkeyedLiterals: struct{}{}, + Flags: protoiface.SupportMarshalDeterministic | protoiface.SupportUnmarshalDiscardUnknown, + Size: size, + Marshal: marshal, + Unmarshal: unmarshal, + Merge: nil, + CheckInitialized: nil, + } +} + +var ( + md_RewardDelegateStakeResponse protoreflect.MessageDescriptor +) + +func init() { + file_emissions_v8_tx_proto_init() + md_RewardDelegateStakeResponse = File_emissions_v8_tx_proto.Messages().ByName("RewardDelegateStakeResponse") +} + +var _ protoreflect.Message = (*fastReflection_RewardDelegateStakeResponse)(nil) + +type fastReflection_RewardDelegateStakeResponse RewardDelegateStakeResponse + +func (x *RewardDelegateStakeResponse) ProtoReflect() protoreflect.Message { + return (*fastReflection_RewardDelegateStakeResponse)(x) +} + +func (x *RewardDelegateStakeResponse) slowProtoReflect() protoreflect.Message { + mi := &file_emissions_v8_tx_proto_msgTypes[26] + 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) +} + +var _fastReflection_RewardDelegateStakeResponse_messageType fastReflection_RewardDelegateStakeResponse_messageType +var _ protoreflect.MessageType = fastReflection_RewardDelegateStakeResponse_messageType{} + +type fastReflection_RewardDelegateStakeResponse_messageType struct{} + +func (x fastReflection_RewardDelegateStakeResponse_messageType) Zero() protoreflect.Message { + return (*fastReflection_RewardDelegateStakeResponse)(nil) +} +func (x fastReflection_RewardDelegateStakeResponse_messageType) New() protoreflect.Message { + return new(fastReflection_RewardDelegateStakeResponse) +} +func (x fastReflection_RewardDelegateStakeResponse_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_RewardDelegateStakeResponse +} + +// Descriptor returns message descriptor, which contains only the protobuf +// type information for the message. +func (x *fastReflection_RewardDelegateStakeResponse) Descriptor() protoreflect.MessageDescriptor { + return md_RewardDelegateStakeResponse +} + +// Type returns the message type, which encapsulates both Go and protobuf +// type information. If the Go type information is not needed, +// it is recommended that the message descriptor be used instead. +func (x *fastReflection_RewardDelegateStakeResponse) Type() protoreflect.MessageType { + return _fastReflection_RewardDelegateStakeResponse_messageType +} + +// New returns a newly allocated and mutable empty message. +func (x *fastReflection_RewardDelegateStakeResponse) New() protoreflect.Message { + return new(fastReflection_RewardDelegateStakeResponse) +} + +// Interface unwraps the message reflection interface and +// returns the underlying ProtoMessage interface. +func (x *fastReflection_RewardDelegateStakeResponse) Interface() protoreflect.ProtoMessage { + return (*RewardDelegateStakeResponse)(x) +} + +// Range iterates over every populated field in an undefined order, +// calling f for each field descriptor and value encountered. +// Range returns immediately if f returns false. +// While iterating, mutating operations may only be performed +// on the current field descriptor. +func (x *fastReflection_RewardDelegateStakeResponse) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { +} + +// Has reports whether a field is populated. +// +// Some fields have the property of nullability where it is possible to +// distinguish between the default value of a field and whether the field +// was explicitly populated with the default value. Singular message fields, +// member fields of a oneof, and proto2 scalar fields are nullable. Such +// fields are populated only if explicitly set. +// +// In other cases (aside from the nullable cases above), +// a proto3 scalar field is populated if it contains a non-zero value, and +// a repeated field is populated if it is non-empty. +func (x *fastReflection_RewardDelegateStakeResponse) Has(fd protoreflect.FieldDescriptor) bool { + switch fd.FullName() { + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.RewardDelegateStakeResponse")) + } + panic(fmt.Errorf("message emissions.v8.RewardDelegateStakeResponse does not contain field %s", fd.FullName())) + } +} + +// Clear clears the field such that a subsequent Has call reports false. +// +// Clearing an extension field clears both the extension type and value +// associated with the given field number. +// +// Clear is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_RewardDelegateStakeResponse) Clear(fd protoreflect.FieldDescriptor) { + switch fd.FullName() { + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.RewardDelegateStakeResponse")) + } + panic(fmt.Errorf("message emissions.v8.RewardDelegateStakeResponse does not contain field %s", fd.FullName())) + } +} + +// Get retrieves the value for a field. +// +// For unpopulated scalars, it returns the default value, where +// the default value of a bytes scalar is guaranteed to be a copy. +// For unpopulated composite types, it returns an empty, read-only view +// of the value; to obtain a mutable reference, use Mutable. +func (x *fastReflection_RewardDelegateStakeResponse) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { + switch descriptor.FullName() { + default: + if descriptor.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.RewardDelegateStakeResponse")) + } + panic(fmt.Errorf("message emissions.v8.RewardDelegateStakeResponse does not contain field %s", descriptor.FullName())) + } +} + +// Set stores the value for a field. +// +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType. +// When setting a composite type, it is unspecified whether the stored value +// aliases the source's memory in any way. If the composite value is an +// empty, read-only value, then it panics. +// +// Set is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_RewardDelegateStakeResponse) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { + switch fd.FullName() { + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.RewardDelegateStakeResponse")) + } + panic(fmt.Errorf("message emissions.v8.RewardDelegateStakeResponse does not contain field %s", fd.FullName())) + } +} + +// Mutable returns a mutable reference to a composite type. +// +// If the field is unpopulated, it may allocate a composite value. +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType +// if not already stored. +// It panics if the field does not contain a composite type. +// +// Mutable is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_RewardDelegateStakeResponse) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.RewardDelegateStakeResponse")) + } + panic(fmt.Errorf("message emissions.v8.RewardDelegateStakeResponse does not contain field %s", fd.FullName())) + } +} + +// NewField returns a new value that is assignable to the field +// for the given descriptor. For scalars, this returns the default value. +// For lists, maps, and messages, this returns a new, empty, mutable value. +func (x *fastReflection_RewardDelegateStakeResponse) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.RewardDelegateStakeResponse")) + } + panic(fmt.Errorf("message emissions.v8.RewardDelegateStakeResponse does not contain field %s", fd.FullName())) + } +} + +// WhichOneof reports which field within the oneof is populated, +// returning nil if none are populated. +// It panics if the oneof descriptor does not belong to this message. +func (x *fastReflection_RewardDelegateStakeResponse) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { + switch d.FullName() { + default: + panic(fmt.Errorf("%s is not a oneof field in emissions.v8.RewardDelegateStakeResponse", d.FullName())) + } + panic("unreachable") +} + +// GetUnknown retrieves the entire list of unknown fields. +// The caller may only mutate the contents of the RawFields +// if the mutated bytes are stored back into the message with SetUnknown. +func (x *fastReflection_RewardDelegateStakeResponse) GetUnknown() protoreflect.RawFields { + return x.unknownFields +} + +// SetUnknown stores an entire list of unknown fields. +// The raw fields must be syntactically valid according to the wire format. +// An implementation may panic if this is not the case. +// Once stored, the caller must not mutate the content of the RawFields. +// An empty RawFields may be passed to clear the fields. +// +// SetUnknown is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_RewardDelegateStakeResponse) SetUnknown(fields protoreflect.RawFields) { + x.unknownFields = fields +} + +// IsValid reports whether the message is valid. +// +// An invalid message is an empty, read-only value. +// +// An invalid message often corresponds to a nil pointer of the concrete +// message type, but the details are implementation dependent. +// Validity is not part of the protobuf data model, and may not +// be preserved in marshaling or other operations. +func (x *fastReflection_RewardDelegateStakeResponse) IsValid() bool { + return x != nil +} + +// ProtoMethods returns optional fastReflectionFeature-path implementations of various operations. +// This method may return nil. +// +// The returned methods type is identical to +// "google.golang.org/protobuf/runtime/protoiface".Methods. +// Consult the protoiface package documentation for details. +func (x *fastReflection_RewardDelegateStakeResponse) ProtoMethods() *protoiface.Methods { + size := func(input protoiface.SizeInput) protoiface.SizeOutput { + x := input.Message.Interface().(*RewardDelegateStakeResponse) + if x == nil { + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: 0, + } + } + options := runtime.SizeInputToOptions(input) + _ = options + var n int + var l int + _ = l + if x.unknownFields != nil { + n += len(x.unknownFields) + } + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: n, + } + } + + marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { + x := input.Message.Interface().(*RewardDelegateStakeResponse) + if x == nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + options := runtime.MarshalInputToOptions(input) + _ = options + size := options.Size(x) + dAtA := make([]byte, size) + i := len(dAtA) + _ = i + var l int + _ = l + if x.unknownFields != nil { + i -= len(x.unknownFields) + copy(dAtA[i:], x.unknownFields) + } + if input.Buf != nil { + input.Buf = append(input.Buf, dAtA...) + } else { + input.Buf = dAtA + } + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { + x := input.Message.Interface().(*RewardDelegateStakeResponse) + if x == nil { + return protoiface.UnmarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Flags: input.Flags, + }, nil + } + options := runtime.UnmarshalInputToOptions(input) + _ = options + dAtA := input.Buf + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: RewardDelegateStakeResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: RewardDelegateStakeResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + default: + iNdEx = preIndex + skippy, err := runtime.Skip(dAtA[iNdEx:]) + if err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if (iNdEx + skippy) > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + if !options.DiscardUnknown { + x.unknownFields = append(x.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + } + iNdEx += skippy + } + } + + if iNdEx > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, nil + } + return &protoiface.Methods{ + NoUnkeyedLiterals: struct{}{}, + Flags: protoiface.SupportMarshalDeterministic | protoiface.SupportUnmarshalDiscardUnknown, + Size: size, + Marshal: marshal, + Unmarshal: unmarshal, + Merge: nil, + CheckInitialized: nil, + } +} + +var ( + md_FundTopicRequest protoreflect.MessageDescriptor + fd_FundTopicRequest_sender protoreflect.FieldDescriptor + fd_FundTopicRequest_topic_id protoreflect.FieldDescriptor + fd_FundTopicRequest_amount protoreflect.FieldDescriptor +) + +func init() { + file_emissions_v8_tx_proto_init() + md_FundTopicRequest = File_emissions_v8_tx_proto.Messages().ByName("FundTopicRequest") + fd_FundTopicRequest_sender = md_FundTopicRequest.Fields().ByName("sender") + fd_FundTopicRequest_topic_id = md_FundTopicRequest.Fields().ByName("topic_id") + fd_FundTopicRequest_amount = md_FundTopicRequest.Fields().ByName("amount") +} + +var _ protoreflect.Message = (*fastReflection_FundTopicRequest)(nil) + +type fastReflection_FundTopicRequest FundTopicRequest + +func (x *FundTopicRequest) ProtoReflect() protoreflect.Message { + return (*fastReflection_FundTopicRequest)(x) +} + +func (x *FundTopicRequest) slowProtoReflect() protoreflect.Message { + mi := &file_emissions_v8_tx_proto_msgTypes[27] + 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) +} + +var _fastReflection_FundTopicRequest_messageType fastReflection_FundTopicRequest_messageType +var _ protoreflect.MessageType = fastReflection_FundTopicRequest_messageType{} + +type fastReflection_FundTopicRequest_messageType struct{} + +func (x fastReflection_FundTopicRequest_messageType) Zero() protoreflect.Message { + return (*fastReflection_FundTopicRequest)(nil) +} +func (x fastReflection_FundTopicRequest_messageType) New() protoreflect.Message { + return new(fastReflection_FundTopicRequest) +} +func (x fastReflection_FundTopicRequest_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_FundTopicRequest +} + +// Descriptor returns message descriptor, which contains only the protobuf +// type information for the message. +func (x *fastReflection_FundTopicRequest) Descriptor() protoreflect.MessageDescriptor { + return md_FundTopicRequest +} + +// Type returns the message type, which encapsulates both Go and protobuf +// type information. If the Go type information is not needed, +// it is recommended that the message descriptor be used instead. +func (x *fastReflection_FundTopicRequest) Type() protoreflect.MessageType { + return _fastReflection_FundTopicRequest_messageType +} + +// New returns a newly allocated and mutable empty message. +func (x *fastReflection_FundTopicRequest) New() protoreflect.Message { + return new(fastReflection_FundTopicRequest) +} + +// Interface unwraps the message reflection interface and +// returns the underlying ProtoMessage interface. +func (x *fastReflection_FundTopicRequest) Interface() protoreflect.ProtoMessage { + return (*FundTopicRequest)(x) +} + +// Range iterates over every populated field in an undefined order, +// calling f for each field descriptor and value encountered. +// Range returns immediately if f returns false. +// While iterating, mutating operations may only be performed +// on the current field descriptor. +func (x *fastReflection_FundTopicRequest) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { + if x.Sender != "" { + value := protoreflect.ValueOfString(x.Sender) + if !f(fd_FundTopicRequest_sender, value) { + return + } + } + if x.TopicId != uint64(0) { + value := protoreflect.ValueOfUint64(x.TopicId) + if !f(fd_FundTopicRequest_topic_id, value) { + return + } + } + if x.Amount != "" { + value := protoreflect.ValueOfString(x.Amount) + if !f(fd_FundTopicRequest_amount, value) { + return + } + } +} + +// Has reports whether a field is populated. +// +// Some fields have the property of nullability where it is possible to +// distinguish between the default value of a field and whether the field +// was explicitly populated with the default value. Singular message fields, +// member fields of a oneof, and proto2 scalar fields are nullable. Such +// fields are populated only if explicitly set. +// +// In other cases (aside from the nullable cases above), +// a proto3 scalar field is populated if it contains a non-zero value, and +// a repeated field is populated if it is non-empty. +func (x *fastReflection_FundTopicRequest) Has(fd protoreflect.FieldDescriptor) bool { + switch fd.FullName() { + case "emissions.v8.FundTopicRequest.sender": + return x.Sender != "" + case "emissions.v8.FundTopicRequest.topic_id": + return x.TopicId != uint64(0) + case "emissions.v8.FundTopicRequest.amount": + return x.Amount != "" + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.FundTopicRequest")) + } + panic(fmt.Errorf("message emissions.v8.FundTopicRequest does not contain field %s", fd.FullName())) + } +} + +// Clear clears the field such that a subsequent Has call reports false. +// +// Clearing an extension field clears both the extension type and value +// associated with the given field number. +// +// Clear is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_FundTopicRequest) Clear(fd protoreflect.FieldDescriptor) { + switch fd.FullName() { + case "emissions.v8.FundTopicRequest.sender": + x.Sender = "" + case "emissions.v8.FundTopicRequest.topic_id": + x.TopicId = uint64(0) + case "emissions.v8.FundTopicRequest.amount": + x.Amount = "" + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.FundTopicRequest")) + } + panic(fmt.Errorf("message emissions.v8.FundTopicRequest does not contain field %s", fd.FullName())) + } +} + +// Get retrieves the value for a field. +// +// For unpopulated scalars, it returns the default value, where +// the default value of a bytes scalar is guaranteed to be a copy. +// For unpopulated composite types, it returns an empty, read-only view +// of the value; to obtain a mutable reference, use Mutable. +func (x *fastReflection_FundTopicRequest) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { + switch descriptor.FullName() { + case "emissions.v8.FundTopicRequest.sender": + value := x.Sender + return protoreflect.ValueOfString(value) + case "emissions.v8.FundTopicRequest.topic_id": + value := x.TopicId + return protoreflect.ValueOfUint64(value) + case "emissions.v8.FundTopicRequest.amount": + value := x.Amount + return protoreflect.ValueOfString(value) + default: + if descriptor.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.FundTopicRequest")) + } + panic(fmt.Errorf("message emissions.v8.FundTopicRequest does not contain field %s", descriptor.FullName())) + } +} + +// Set stores the value for a field. +// +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType. +// When setting a composite type, it is unspecified whether the stored value +// aliases the source's memory in any way. If the composite value is an +// empty, read-only value, then it panics. +// +// Set is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_FundTopicRequest) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { + switch fd.FullName() { + case "emissions.v8.FundTopicRequest.sender": + x.Sender = value.Interface().(string) + case "emissions.v8.FundTopicRequest.topic_id": + x.TopicId = value.Uint() + case "emissions.v8.FundTopicRequest.amount": + x.Amount = value.Interface().(string) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.FundTopicRequest")) + } + panic(fmt.Errorf("message emissions.v8.FundTopicRequest does not contain field %s", fd.FullName())) + } +} + +// Mutable returns a mutable reference to a composite type. +// +// If the field is unpopulated, it may allocate a composite value. +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType +// if not already stored. +// It panics if the field does not contain a composite type. +// +// Mutable is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_FundTopicRequest) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.FundTopicRequest.sender": + panic(fmt.Errorf("field sender of message emissions.v8.FundTopicRequest is not mutable")) + case "emissions.v8.FundTopicRequest.topic_id": + panic(fmt.Errorf("field topic_id of message emissions.v8.FundTopicRequest is not mutable")) + case "emissions.v8.FundTopicRequest.amount": + panic(fmt.Errorf("field amount of message emissions.v8.FundTopicRequest is not mutable")) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.FundTopicRequest")) + } + panic(fmt.Errorf("message emissions.v8.FundTopicRequest does not contain field %s", fd.FullName())) + } +} + +// NewField returns a new value that is assignable to the field +// for the given descriptor. For scalars, this returns the default value. +// For lists, maps, and messages, this returns a new, empty, mutable value. +func (x *fastReflection_FundTopicRequest) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.FundTopicRequest.sender": + return protoreflect.ValueOfString("") + case "emissions.v8.FundTopicRequest.topic_id": + return protoreflect.ValueOfUint64(uint64(0)) + case "emissions.v8.FundTopicRequest.amount": + return protoreflect.ValueOfString("") + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.FundTopicRequest")) + } + panic(fmt.Errorf("message emissions.v8.FundTopicRequest does not contain field %s", fd.FullName())) + } +} + +// WhichOneof reports which field within the oneof is populated, +// returning nil if none are populated. +// It panics if the oneof descriptor does not belong to this message. +func (x *fastReflection_FundTopicRequest) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { + switch d.FullName() { + default: + panic(fmt.Errorf("%s is not a oneof field in emissions.v8.FundTopicRequest", d.FullName())) + } + panic("unreachable") +} + +// GetUnknown retrieves the entire list of unknown fields. +// The caller may only mutate the contents of the RawFields +// if the mutated bytes are stored back into the message with SetUnknown. +func (x *fastReflection_FundTopicRequest) GetUnknown() protoreflect.RawFields { + return x.unknownFields +} + +// SetUnknown stores an entire list of unknown fields. +// The raw fields must be syntactically valid according to the wire format. +// An implementation may panic if this is not the case. +// Once stored, the caller must not mutate the content of the RawFields. +// An empty RawFields may be passed to clear the fields. +// +// SetUnknown is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_FundTopicRequest) SetUnknown(fields protoreflect.RawFields) { + x.unknownFields = fields +} + +// IsValid reports whether the message is valid. +// +// An invalid message is an empty, read-only value. +// +// An invalid message often corresponds to a nil pointer of the concrete +// message type, but the details are implementation dependent. +// Validity is not part of the protobuf data model, and may not +// be preserved in marshaling or other operations. +func (x *fastReflection_FundTopicRequest) IsValid() bool { + return x != nil +} + +// ProtoMethods returns optional fastReflectionFeature-path implementations of various operations. +// This method may return nil. +// +// The returned methods type is identical to +// "google.golang.org/protobuf/runtime/protoiface".Methods. +// Consult the protoiface package documentation for details. +func (x *fastReflection_FundTopicRequest) ProtoMethods() *protoiface.Methods { + size := func(input protoiface.SizeInput) protoiface.SizeOutput { + x := input.Message.Interface().(*FundTopicRequest) + if x == nil { + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: 0, + } + } + options := runtime.SizeInputToOptions(input) + _ = options + var n int + var l int + _ = l + l = len(x.Sender) + if l > 0 { + n += 1 + l + runtime.Sov(uint64(l)) + } + if x.TopicId != 0 { + n += 1 + runtime.Sov(uint64(x.TopicId)) + } + l = len(x.Amount) + if l > 0 { + n += 1 + l + runtime.Sov(uint64(l)) + } + if x.unknownFields != nil { + n += len(x.unknownFields) + } + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: n, + } + } + + marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { + x := input.Message.Interface().(*FundTopicRequest) + if x == nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + options := runtime.MarshalInputToOptions(input) + _ = options + size := options.Size(x) + dAtA := make([]byte, size) + i := len(dAtA) + _ = i + var l int + _ = l + if x.unknownFields != nil { + i -= len(x.unknownFields) + copy(dAtA[i:], x.unknownFields) + } + if len(x.Amount) > 0 { + i -= len(x.Amount) + copy(dAtA[i:], x.Amount) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.Amount))) + i-- + dAtA[i] = 0x1a + } + if x.TopicId != 0 { + i = runtime.EncodeVarint(dAtA, i, uint64(x.TopicId)) + i-- + dAtA[i] = 0x10 + } + if len(x.Sender) > 0 { + i -= len(x.Sender) + copy(dAtA[i:], x.Sender) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.Sender))) + i-- + dAtA[i] = 0xa + } + if input.Buf != nil { + input.Buf = append(input.Buf, dAtA...) + } else { + input.Buf = dAtA + } + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { + x := input.Message.Interface().(*FundTopicRequest) + if x == nil { + return protoiface.UnmarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Flags: input.Flags, + }, nil + } + options := runtime.UnmarshalInputToOptions(input) + _ = options + dAtA := input.Buf + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: FundTopicRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: FundTopicRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Sender", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + x.Sender = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field TopicId", wireType) + } + x.TopicId = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + x.TopicId |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 3: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Amount", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + x.Amount = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := runtime.Skip(dAtA[iNdEx:]) + if err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if (iNdEx + skippy) > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + if !options.DiscardUnknown { + x.unknownFields = append(x.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + } + iNdEx += skippy + } + } + + if iNdEx > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, nil + } + return &protoiface.Methods{ + NoUnkeyedLiterals: struct{}{}, + Flags: protoiface.SupportMarshalDeterministic | protoiface.SupportUnmarshalDiscardUnknown, + Size: size, + Marshal: marshal, + Unmarshal: unmarshal, + Merge: nil, + CheckInitialized: nil, + } +} + +var ( + md_FundTopicResponse protoreflect.MessageDescriptor +) + +func init() { + file_emissions_v8_tx_proto_init() + md_FundTopicResponse = File_emissions_v8_tx_proto.Messages().ByName("FundTopicResponse") +} + +var _ protoreflect.Message = (*fastReflection_FundTopicResponse)(nil) + +type fastReflection_FundTopicResponse FundTopicResponse + +func (x *FundTopicResponse) ProtoReflect() protoreflect.Message { + return (*fastReflection_FundTopicResponse)(x) +} + +func (x *FundTopicResponse) slowProtoReflect() protoreflect.Message { + mi := &file_emissions_v8_tx_proto_msgTypes[28] + 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) +} + +var _fastReflection_FundTopicResponse_messageType fastReflection_FundTopicResponse_messageType +var _ protoreflect.MessageType = fastReflection_FundTopicResponse_messageType{} + +type fastReflection_FundTopicResponse_messageType struct{} + +func (x fastReflection_FundTopicResponse_messageType) Zero() protoreflect.Message { + return (*fastReflection_FundTopicResponse)(nil) +} +func (x fastReflection_FundTopicResponse_messageType) New() protoreflect.Message { + return new(fastReflection_FundTopicResponse) +} +func (x fastReflection_FundTopicResponse_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_FundTopicResponse +} + +// Descriptor returns message descriptor, which contains only the protobuf +// type information for the message. +func (x *fastReflection_FundTopicResponse) Descriptor() protoreflect.MessageDescriptor { + return md_FundTopicResponse +} + +// Type returns the message type, which encapsulates both Go and protobuf +// type information. If the Go type information is not needed, +// it is recommended that the message descriptor be used instead. +func (x *fastReflection_FundTopicResponse) Type() protoreflect.MessageType { + return _fastReflection_FundTopicResponse_messageType +} + +// New returns a newly allocated and mutable empty message. +func (x *fastReflection_FundTopicResponse) New() protoreflect.Message { + return new(fastReflection_FundTopicResponse) +} + +// Interface unwraps the message reflection interface and +// returns the underlying ProtoMessage interface. +func (x *fastReflection_FundTopicResponse) Interface() protoreflect.ProtoMessage { + return (*FundTopicResponse)(x) +} + +// Range iterates over every populated field in an undefined order, +// calling f for each field descriptor and value encountered. +// Range returns immediately if f returns false. +// While iterating, mutating operations may only be performed +// on the current field descriptor. +func (x *fastReflection_FundTopicResponse) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { +} + +// Has reports whether a field is populated. +// +// Some fields have the property of nullability where it is possible to +// distinguish between the default value of a field and whether the field +// was explicitly populated with the default value. Singular message fields, +// member fields of a oneof, and proto2 scalar fields are nullable. Such +// fields are populated only if explicitly set. +// +// In other cases (aside from the nullable cases above), +// a proto3 scalar field is populated if it contains a non-zero value, and +// a repeated field is populated if it is non-empty. +func (x *fastReflection_FundTopicResponse) Has(fd protoreflect.FieldDescriptor) bool { + switch fd.FullName() { + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.FundTopicResponse")) + } + panic(fmt.Errorf("message emissions.v8.FundTopicResponse does not contain field %s", fd.FullName())) + } +} + +// Clear clears the field such that a subsequent Has call reports false. +// +// Clearing an extension field clears both the extension type and value +// associated with the given field number. +// +// Clear is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_FundTopicResponse) Clear(fd protoreflect.FieldDescriptor) { + switch fd.FullName() { + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.FundTopicResponse")) + } + panic(fmt.Errorf("message emissions.v8.FundTopicResponse does not contain field %s", fd.FullName())) + } +} + +// Get retrieves the value for a field. +// +// For unpopulated scalars, it returns the default value, where +// the default value of a bytes scalar is guaranteed to be a copy. +// For unpopulated composite types, it returns an empty, read-only view +// of the value; to obtain a mutable reference, use Mutable. +func (x *fastReflection_FundTopicResponse) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { + switch descriptor.FullName() { + default: + if descriptor.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.FundTopicResponse")) + } + panic(fmt.Errorf("message emissions.v8.FundTopicResponse does not contain field %s", descriptor.FullName())) + } +} + +// Set stores the value for a field. +// +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType. +// When setting a composite type, it is unspecified whether the stored value +// aliases the source's memory in any way. If the composite value is an +// empty, read-only value, then it panics. +// +// Set is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_FundTopicResponse) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { + switch fd.FullName() { + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.FundTopicResponse")) + } + panic(fmt.Errorf("message emissions.v8.FundTopicResponse does not contain field %s", fd.FullName())) + } +} + +// Mutable returns a mutable reference to a composite type. +// +// If the field is unpopulated, it may allocate a composite value. +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType +// if not already stored. +// It panics if the field does not contain a composite type. +// +// Mutable is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_FundTopicResponse) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.FundTopicResponse")) + } + panic(fmt.Errorf("message emissions.v8.FundTopicResponse does not contain field %s", fd.FullName())) + } +} + +// NewField returns a new value that is assignable to the field +// for the given descriptor. For scalars, this returns the default value. +// For lists, maps, and messages, this returns a new, empty, mutable value. +func (x *fastReflection_FundTopicResponse) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.FundTopicResponse")) + } + panic(fmt.Errorf("message emissions.v8.FundTopicResponse does not contain field %s", fd.FullName())) + } +} + +// WhichOneof reports which field within the oneof is populated, +// returning nil if none are populated. +// It panics if the oneof descriptor does not belong to this message. +func (x *fastReflection_FundTopicResponse) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { + switch d.FullName() { + default: + panic(fmt.Errorf("%s is not a oneof field in emissions.v8.FundTopicResponse", d.FullName())) + } + panic("unreachable") +} + +// GetUnknown retrieves the entire list of unknown fields. +// The caller may only mutate the contents of the RawFields +// if the mutated bytes are stored back into the message with SetUnknown. +func (x *fastReflection_FundTopicResponse) GetUnknown() protoreflect.RawFields { + return x.unknownFields +} + +// SetUnknown stores an entire list of unknown fields. +// The raw fields must be syntactically valid according to the wire format. +// An implementation may panic if this is not the case. +// Once stored, the caller must not mutate the content of the RawFields. +// An empty RawFields may be passed to clear the fields. +// +// SetUnknown is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_FundTopicResponse) SetUnknown(fields protoreflect.RawFields) { + x.unknownFields = fields +} + +// IsValid reports whether the message is valid. +// +// An invalid message is an empty, read-only value. +// +// An invalid message often corresponds to a nil pointer of the concrete +// message type, but the details are implementation dependent. +// Validity is not part of the protobuf data model, and may not +// be preserved in marshaling or other operations. +func (x *fastReflection_FundTopicResponse) IsValid() bool { + return x != nil +} + +// ProtoMethods returns optional fastReflectionFeature-path implementations of various operations. +// This method may return nil. +// +// The returned methods type is identical to +// "google.golang.org/protobuf/runtime/protoiface".Methods. +// Consult the protoiface package documentation for details. +func (x *fastReflection_FundTopicResponse) ProtoMethods() *protoiface.Methods { + size := func(input protoiface.SizeInput) protoiface.SizeOutput { + x := input.Message.Interface().(*FundTopicResponse) + if x == nil { + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: 0, + } + } + options := runtime.SizeInputToOptions(input) + _ = options + var n int + var l int + _ = l + if x.unknownFields != nil { + n += len(x.unknownFields) + } + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: n, + } + } + + marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { + x := input.Message.Interface().(*FundTopicResponse) + if x == nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + options := runtime.MarshalInputToOptions(input) + _ = options + size := options.Size(x) + dAtA := make([]byte, size) + i := len(dAtA) + _ = i + var l int + _ = l + if x.unknownFields != nil { + i -= len(x.unknownFields) + copy(dAtA[i:], x.unknownFields) + } + if input.Buf != nil { + input.Buf = append(input.Buf, dAtA...) + } else { + input.Buf = dAtA + } + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { + x := input.Message.Interface().(*FundTopicResponse) + if x == nil { + return protoiface.UnmarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Flags: input.Flags, + }, nil + } + options := runtime.UnmarshalInputToOptions(input) + _ = options + dAtA := input.Buf + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: FundTopicResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: FundTopicResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + default: + iNdEx = preIndex + skippy, err := runtime.Skip(dAtA[iNdEx:]) + if err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if (iNdEx + skippy) > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + if !options.DiscardUnknown { + x.unknownFields = append(x.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + } + iNdEx += skippy + } + } + + if iNdEx > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, nil + } + return &protoiface.Methods{ + NoUnkeyedLiterals: struct{}{}, + Flags: protoiface.SupportMarshalDeterministic | protoiface.SupportUnmarshalDiscardUnknown, + Size: size, + Marshal: marshal, + Unmarshal: unmarshal, + Merge: nil, + CheckInitialized: nil, + } +} + +var ( + md_AddToWhitelistAdminRequest protoreflect.MessageDescriptor + fd_AddToWhitelistAdminRequest_sender protoreflect.FieldDescriptor + fd_AddToWhitelistAdminRequest_address protoreflect.FieldDescriptor +) + +func init() { + file_emissions_v8_tx_proto_init() + md_AddToWhitelistAdminRequest = File_emissions_v8_tx_proto.Messages().ByName("AddToWhitelistAdminRequest") + fd_AddToWhitelistAdminRequest_sender = md_AddToWhitelistAdminRequest.Fields().ByName("sender") + fd_AddToWhitelistAdminRequest_address = md_AddToWhitelistAdminRequest.Fields().ByName("address") +} + +var _ protoreflect.Message = (*fastReflection_AddToWhitelistAdminRequest)(nil) + +type fastReflection_AddToWhitelistAdminRequest AddToWhitelistAdminRequest + +func (x *AddToWhitelistAdminRequest) ProtoReflect() protoreflect.Message { + return (*fastReflection_AddToWhitelistAdminRequest)(x) +} + +func (x *AddToWhitelistAdminRequest) slowProtoReflect() protoreflect.Message { + mi := &file_emissions_v8_tx_proto_msgTypes[29] + 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) +} + +var _fastReflection_AddToWhitelistAdminRequest_messageType fastReflection_AddToWhitelistAdminRequest_messageType +var _ protoreflect.MessageType = fastReflection_AddToWhitelistAdminRequest_messageType{} + +type fastReflection_AddToWhitelistAdminRequest_messageType struct{} + +func (x fastReflection_AddToWhitelistAdminRequest_messageType) Zero() protoreflect.Message { + return (*fastReflection_AddToWhitelistAdminRequest)(nil) +} +func (x fastReflection_AddToWhitelistAdminRequest_messageType) New() protoreflect.Message { + return new(fastReflection_AddToWhitelistAdminRequest) +} +func (x fastReflection_AddToWhitelistAdminRequest_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_AddToWhitelistAdminRequest +} + +// Descriptor returns message descriptor, which contains only the protobuf +// type information for the message. +func (x *fastReflection_AddToWhitelistAdminRequest) Descriptor() protoreflect.MessageDescriptor { + return md_AddToWhitelistAdminRequest +} + +// Type returns the message type, which encapsulates both Go and protobuf +// type information. If the Go type information is not needed, +// it is recommended that the message descriptor be used instead. +func (x *fastReflection_AddToWhitelistAdminRequest) Type() protoreflect.MessageType { + return _fastReflection_AddToWhitelistAdminRequest_messageType +} + +// New returns a newly allocated and mutable empty message. +func (x *fastReflection_AddToWhitelistAdminRequest) New() protoreflect.Message { + return new(fastReflection_AddToWhitelistAdminRequest) +} + +// Interface unwraps the message reflection interface and +// returns the underlying ProtoMessage interface. +func (x *fastReflection_AddToWhitelistAdminRequest) Interface() protoreflect.ProtoMessage { + return (*AddToWhitelistAdminRequest)(x) +} + +// Range iterates over every populated field in an undefined order, +// calling f for each field descriptor and value encountered. +// Range returns immediately if f returns false. +// While iterating, mutating operations may only be performed +// on the current field descriptor. +func (x *fastReflection_AddToWhitelistAdminRequest) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { + if x.Sender != "" { + value := protoreflect.ValueOfString(x.Sender) + if !f(fd_AddToWhitelistAdminRequest_sender, value) { + return + } + } + if x.Address != "" { + value := protoreflect.ValueOfString(x.Address) + if !f(fd_AddToWhitelistAdminRequest_address, value) { + return + } + } +} + +// Has reports whether a field is populated. +// +// Some fields have the property of nullability where it is possible to +// distinguish between the default value of a field and whether the field +// was explicitly populated with the default value. Singular message fields, +// member fields of a oneof, and proto2 scalar fields are nullable. Such +// fields are populated only if explicitly set. +// +// In other cases (aside from the nullable cases above), +// a proto3 scalar field is populated if it contains a non-zero value, and +// a repeated field is populated if it is non-empty. +func (x *fastReflection_AddToWhitelistAdminRequest) Has(fd protoreflect.FieldDescriptor) bool { + switch fd.FullName() { + case "emissions.v8.AddToWhitelistAdminRequest.sender": + return x.Sender != "" + case "emissions.v8.AddToWhitelistAdminRequest.address": + return x.Address != "" + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.AddToWhitelistAdminRequest")) + } + panic(fmt.Errorf("message emissions.v8.AddToWhitelistAdminRequest does not contain field %s", fd.FullName())) + } +} + +// Clear clears the field such that a subsequent Has call reports false. +// +// Clearing an extension field clears both the extension type and value +// associated with the given field number. +// +// Clear is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_AddToWhitelistAdminRequest) Clear(fd protoreflect.FieldDescriptor) { + switch fd.FullName() { + case "emissions.v8.AddToWhitelistAdminRequest.sender": + x.Sender = "" + case "emissions.v8.AddToWhitelistAdminRequest.address": + x.Address = "" + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.AddToWhitelistAdminRequest")) + } + panic(fmt.Errorf("message emissions.v8.AddToWhitelistAdminRequest does not contain field %s", fd.FullName())) + } +} + +// Get retrieves the value for a field. +// +// For unpopulated scalars, it returns the default value, where +// the default value of a bytes scalar is guaranteed to be a copy. +// For unpopulated composite types, it returns an empty, read-only view +// of the value; to obtain a mutable reference, use Mutable. +func (x *fastReflection_AddToWhitelistAdminRequest) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { + switch descriptor.FullName() { + case "emissions.v8.AddToWhitelistAdminRequest.sender": + value := x.Sender + return protoreflect.ValueOfString(value) + case "emissions.v8.AddToWhitelistAdminRequest.address": + value := x.Address + return protoreflect.ValueOfString(value) + default: + if descriptor.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.AddToWhitelistAdminRequest")) + } + panic(fmt.Errorf("message emissions.v8.AddToWhitelistAdminRequest does not contain field %s", descriptor.FullName())) + } +} + +// Set stores the value for a field. +// +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType. +// When setting a composite type, it is unspecified whether the stored value +// aliases the source's memory in any way. If the composite value is an +// empty, read-only value, then it panics. +// +// Set is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_AddToWhitelistAdminRequest) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { + switch fd.FullName() { + case "emissions.v8.AddToWhitelistAdminRequest.sender": + x.Sender = value.Interface().(string) + case "emissions.v8.AddToWhitelistAdminRequest.address": + x.Address = value.Interface().(string) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.AddToWhitelistAdminRequest")) + } + panic(fmt.Errorf("message emissions.v8.AddToWhitelistAdminRequest does not contain field %s", fd.FullName())) + } +} + +// Mutable returns a mutable reference to a composite type. +// +// If the field is unpopulated, it may allocate a composite value. +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType +// if not already stored. +// It panics if the field does not contain a composite type. +// +// Mutable is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_AddToWhitelistAdminRequest) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.AddToWhitelistAdminRequest.sender": + panic(fmt.Errorf("field sender of message emissions.v8.AddToWhitelistAdminRequest is not mutable")) + case "emissions.v8.AddToWhitelistAdminRequest.address": + panic(fmt.Errorf("field address of message emissions.v8.AddToWhitelistAdminRequest is not mutable")) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.AddToWhitelistAdminRequest")) + } + panic(fmt.Errorf("message emissions.v8.AddToWhitelistAdminRequest does not contain field %s", fd.FullName())) + } +} + +// NewField returns a new value that is assignable to the field +// for the given descriptor. For scalars, this returns the default value. +// For lists, maps, and messages, this returns a new, empty, mutable value. +func (x *fastReflection_AddToWhitelistAdminRequest) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.AddToWhitelistAdminRequest.sender": + return protoreflect.ValueOfString("") + case "emissions.v8.AddToWhitelistAdminRequest.address": + return protoreflect.ValueOfString("") + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.AddToWhitelistAdminRequest")) + } + panic(fmt.Errorf("message emissions.v8.AddToWhitelistAdminRequest does not contain field %s", fd.FullName())) + } +} + +// WhichOneof reports which field within the oneof is populated, +// returning nil if none are populated. +// It panics if the oneof descriptor does not belong to this message. +func (x *fastReflection_AddToWhitelistAdminRequest) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { + switch d.FullName() { + default: + panic(fmt.Errorf("%s is not a oneof field in emissions.v8.AddToWhitelistAdminRequest", d.FullName())) + } + panic("unreachable") +} + +// GetUnknown retrieves the entire list of unknown fields. +// The caller may only mutate the contents of the RawFields +// if the mutated bytes are stored back into the message with SetUnknown. +func (x *fastReflection_AddToWhitelistAdminRequest) GetUnknown() protoreflect.RawFields { + return x.unknownFields +} + +// SetUnknown stores an entire list of unknown fields. +// The raw fields must be syntactically valid according to the wire format. +// An implementation may panic if this is not the case. +// Once stored, the caller must not mutate the content of the RawFields. +// An empty RawFields may be passed to clear the fields. +// +// SetUnknown is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_AddToWhitelistAdminRequest) SetUnknown(fields protoreflect.RawFields) { + x.unknownFields = fields +} + +// IsValid reports whether the message is valid. +// +// An invalid message is an empty, read-only value. +// +// An invalid message often corresponds to a nil pointer of the concrete +// message type, but the details are implementation dependent. +// Validity is not part of the protobuf data model, and may not +// be preserved in marshaling or other operations. +func (x *fastReflection_AddToWhitelistAdminRequest) IsValid() bool { + return x != nil +} + +// ProtoMethods returns optional fastReflectionFeature-path implementations of various operations. +// This method may return nil. +// +// The returned methods type is identical to +// "google.golang.org/protobuf/runtime/protoiface".Methods. +// Consult the protoiface package documentation for details. +func (x *fastReflection_AddToWhitelistAdminRequest) ProtoMethods() *protoiface.Methods { + size := func(input protoiface.SizeInput) protoiface.SizeOutput { + x := input.Message.Interface().(*AddToWhitelistAdminRequest) + if x == nil { + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: 0, + } + } + options := runtime.SizeInputToOptions(input) + _ = options + var n int + var l int + _ = l + l = len(x.Sender) + if l > 0 { + n += 1 + l + runtime.Sov(uint64(l)) + } + l = len(x.Address) + if l > 0 { + n += 1 + l + runtime.Sov(uint64(l)) + } + if x.unknownFields != nil { + n += len(x.unknownFields) + } + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: n, + } + } + + marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { + x := input.Message.Interface().(*AddToWhitelistAdminRequest) + if x == nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + options := runtime.MarshalInputToOptions(input) + _ = options + size := options.Size(x) + dAtA := make([]byte, size) + i := len(dAtA) + _ = i + var l int + _ = l + if x.unknownFields != nil { + i -= len(x.unknownFields) + copy(dAtA[i:], x.unknownFields) + } + if len(x.Address) > 0 { + i -= len(x.Address) + copy(dAtA[i:], x.Address) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.Address))) + i-- + dAtA[i] = 0x12 + } + if len(x.Sender) > 0 { + i -= len(x.Sender) + copy(dAtA[i:], x.Sender) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.Sender))) + i-- + dAtA[i] = 0xa + } + if input.Buf != nil { + input.Buf = append(input.Buf, dAtA...) + } else { + input.Buf = dAtA + } + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { + x := input.Message.Interface().(*AddToWhitelistAdminRequest) + if x == nil { + return protoiface.UnmarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Flags: input.Flags, + }, nil + } + options := runtime.UnmarshalInputToOptions(input) + _ = options + dAtA := input.Buf + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: AddToWhitelistAdminRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: AddToWhitelistAdminRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Sender", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + x.Sender = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Address", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + x.Address = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := runtime.Skip(dAtA[iNdEx:]) + if err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if (iNdEx + skippy) > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + if !options.DiscardUnknown { + x.unknownFields = append(x.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + } + iNdEx += skippy + } + } + + if iNdEx > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, nil + } + return &protoiface.Methods{ + NoUnkeyedLiterals: struct{}{}, + Flags: protoiface.SupportMarshalDeterministic | protoiface.SupportUnmarshalDiscardUnknown, + Size: size, + Marshal: marshal, + Unmarshal: unmarshal, + Merge: nil, + CheckInitialized: nil, + } +} + +var ( + md_AddToWhitelistAdminResponse protoreflect.MessageDescriptor +) + +func init() { + file_emissions_v8_tx_proto_init() + md_AddToWhitelistAdminResponse = File_emissions_v8_tx_proto.Messages().ByName("AddToWhitelistAdminResponse") +} + +var _ protoreflect.Message = (*fastReflection_AddToWhitelistAdminResponse)(nil) + +type fastReflection_AddToWhitelistAdminResponse AddToWhitelistAdminResponse + +func (x *AddToWhitelistAdminResponse) ProtoReflect() protoreflect.Message { + return (*fastReflection_AddToWhitelistAdminResponse)(x) +} + +func (x *AddToWhitelistAdminResponse) slowProtoReflect() protoreflect.Message { + mi := &file_emissions_v8_tx_proto_msgTypes[30] + 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) +} + +var _fastReflection_AddToWhitelistAdminResponse_messageType fastReflection_AddToWhitelistAdminResponse_messageType +var _ protoreflect.MessageType = fastReflection_AddToWhitelistAdminResponse_messageType{} + +type fastReflection_AddToWhitelistAdminResponse_messageType struct{} + +func (x fastReflection_AddToWhitelistAdminResponse_messageType) Zero() protoreflect.Message { + return (*fastReflection_AddToWhitelistAdminResponse)(nil) +} +func (x fastReflection_AddToWhitelistAdminResponse_messageType) New() protoreflect.Message { + return new(fastReflection_AddToWhitelistAdminResponse) +} +func (x fastReflection_AddToWhitelistAdminResponse_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_AddToWhitelistAdminResponse +} + +// Descriptor returns message descriptor, which contains only the protobuf +// type information for the message. +func (x *fastReflection_AddToWhitelistAdminResponse) Descriptor() protoreflect.MessageDescriptor { + return md_AddToWhitelistAdminResponse +} + +// Type returns the message type, which encapsulates both Go and protobuf +// type information. If the Go type information is not needed, +// it is recommended that the message descriptor be used instead. +func (x *fastReflection_AddToWhitelistAdminResponse) Type() protoreflect.MessageType { + return _fastReflection_AddToWhitelistAdminResponse_messageType +} + +// New returns a newly allocated and mutable empty message. +func (x *fastReflection_AddToWhitelistAdminResponse) New() protoreflect.Message { + return new(fastReflection_AddToWhitelistAdminResponse) +} + +// Interface unwraps the message reflection interface and +// returns the underlying ProtoMessage interface. +func (x *fastReflection_AddToWhitelistAdminResponse) Interface() protoreflect.ProtoMessage { + return (*AddToWhitelistAdminResponse)(x) +} + +// Range iterates over every populated field in an undefined order, +// calling f for each field descriptor and value encountered. +// Range returns immediately if f returns false. +// While iterating, mutating operations may only be performed +// on the current field descriptor. +func (x *fastReflection_AddToWhitelistAdminResponse) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { +} + +// Has reports whether a field is populated. +// +// Some fields have the property of nullability where it is possible to +// distinguish between the default value of a field and whether the field +// was explicitly populated with the default value. Singular message fields, +// member fields of a oneof, and proto2 scalar fields are nullable. Such +// fields are populated only if explicitly set. +// +// In other cases (aside from the nullable cases above), +// a proto3 scalar field is populated if it contains a non-zero value, and +// a repeated field is populated if it is non-empty. +func (x *fastReflection_AddToWhitelistAdminResponse) Has(fd protoreflect.FieldDescriptor) bool { + switch fd.FullName() { + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.AddToWhitelistAdminResponse")) + } + panic(fmt.Errorf("message emissions.v8.AddToWhitelistAdminResponse does not contain field %s", fd.FullName())) + } +} + +// Clear clears the field such that a subsequent Has call reports false. +// +// Clearing an extension field clears both the extension type and value +// associated with the given field number. +// +// Clear is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_AddToWhitelistAdminResponse) Clear(fd protoreflect.FieldDescriptor) { + switch fd.FullName() { + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.AddToWhitelistAdminResponse")) + } + panic(fmt.Errorf("message emissions.v8.AddToWhitelistAdminResponse does not contain field %s", fd.FullName())) + } +} + +// Get retrieves the value for a field. +// +// For unpopulated scalars, it returns the default value, where +// the default value of a bytes scalar is guaranteed to be a copy. +// For unpopulated composite types, it returns an empty, read-only view +// of the value; to obtain a mutable reference, use Mutable. +func (x *fastReflection_AddToWhitelistAdminResponse) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { + switch descriptor.FullName() { + default: + if descriptor.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.AddToWhitelistAdminResponse")) + } + panic(fmt.Errorf("message emissions.v8.AddToWhitelistAdminResponse does not contain field %s", descriptor.FullName())) + } +} + +// Set stores the value for a field. +// +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType. +// When setting a composite type, it is unspecified whether the stored value +// aliases the source's memory in any way. If the composite value is an +// empty, read-only value, then it panics. +// +// Set is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_AddToWhitelistAdminResponse) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { + switch fd.FullName() { + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.AddToWhitelistAdminResponse")) + } + panic(fmt.Errorf("message emissions.v8.AddToWhitelistAdminResponse does not contain field %s", fd.FullName())) + } +} + +// Mutable returns a mutable reference to a composite type. +// +// If the field is unpopulated, it may allocate a composite value. +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType +// if not already stored. +// It panics if the field does not contain a composite type. +// +// Mutable is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_AddToWhitelistAdminResponse) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.AddToWhitelistAdminResponse")) + } + panic(fmt.Errorf("message emissions.v8.AddToWhitelistAdminResponse does not contain field %s", fd.FullName())) + } +} + +// NewField returns a new value that is assignable to the field +// for the given descriptor. For scalars, this returns the default value. +// For lists, maps, and messages, this returns a new, empty, mutable value. +func (x *fastReflection_AddToWhitelistAdminResponse) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.AddToWhitelistAdminResponse")) + } + panic(fmt.Errorf("message emissions.v8.AddToWhitelistAdminResponse does not contain field %s", fd.FullName())) + } +} + +// WhichOneof reports which field within the oneof is populated, +// returning nil if none are populated. +// It panics if the oneof descriptor does not belong to this message. +func (x *fastReflection_AddToWhitelistAdminResponse) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { + switch d.FullName() { + default: + panic(fmt.Errorf("%s is not a oneof field in emissions.v8.AddToWhitelistAdminResponse", d.FullName())) + } + panic("unreachable") +} + +// GetUnknown retrieves the entire list of unknown fields. +// The caller may only mutate the contents of the RawFields +// if the mutated bytes are stored back into the message with SetUnknown. +func (x *fastReflection_AddToWhitelistAdminResponse) GetUnknown() protoreflect.RawFields { + return x.unknownFields +} + +// SetUnknown stores an entire list of unknown fields. +// The raw fields must be syntactically valid according to the wire format. +// An implementation may panic if this is not the case. +// Once stored, the caller must not mutate the content of the RawFields. +// An empty RawFields may be passed to clear the fields. +// +// SetUnknown is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_AddToWhitelistAdminResponse) SetUnknown(fields protoreflect.RawFields) { + x.unknownFields = fields +} + +// IsValid reports whether the message is valid. +// +// An invalid message is an empty, read-only value. +// +// An invalid message often corresponds to a nil pointer of the concrete +// message type, but the details are implementation dependent. +// Validity is not part of the protobuf data model, and may not +// be preserved in marshaling or other operations. +func (x *fastReflection_AddToWhitelistAdminResponse) IsValid() bool { + return x != nil +} + +// ProtoMethods returns optional fastReflectionFeature-path implementations of various operations. +// This method may return nil. +// +// The returned methods type is identical to +// "google.golang.org/protobuf/runtime/protoiface".Methods. +// Consult the protoiface package documentation for details. +func (x *fastReflection_AddToWhitelistAdminResponse) ProtoMethods() *protoiface.Methods { + size := func(input protoiface.SizeInput) protoiface.SizeOutput { + x := input.Message.Interface().(*AddToWhitelistAdminResponse) + if x == nil { + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: 0, + } + } + options := runtime.SizeInputToOptions(input) + _ = options + var n int + var l int + _ = l + if x.unknownFields != nil { + n += len(x.unknownFields) + } + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: n, + } + } + + marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { + x := input.Message.Interface().(*AddToWhitelistAdminResponse) + if x == nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + options := runtime.MarshalInputToOptions(input) + _ = options + size := options.Size(x) + dAtA := make([]byte, size) + i := len(dAtA) + _ = i + var l int + _ = l + if x.unknownFields != nil { + i -= len(x.unknownFields) + copy(dAtA[i:], x.unknownFields) + } + if input.Buf != nil { + input.Buf = append(input.Buf, dAtA...) + } else { + input.Buf = dAtA + } + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { + x := input.Message.Interface().(*AddToWhitelistAdminResponse) + if x == nil { + return protoiface.UnmarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Flags: input.Flags, + }, nil + } + options := runtime.UnmarshalInputToOptions(input) + _ = options + dAtA := input.Buf + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: AddToWhitelistAdminResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: AddToWhitelistAdminResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + default: + iNdEx = preIndex + skippy, err := runtime.Skip(dAtA[iNdEx:]) + if err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if (iNdEx + skippy) > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + if !options.DiscardUnknown { + x.unknownFields = append(x.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + } + iNdEx += skippy + } + } + + if iNdEx > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, nil + } + return &protoiface.Methods{ + NoUnkeyedLiterals: struct{}{}, + Flags: protoiface.SupportMarshalDeterministic | protoiface.SupportUnmarshalDiscardUnknown, + Size: size, + Marshal: marshal, + Unmarshal: unmarshal, + Merge: nil, + CheckInitialized: nil, + } +} + +var ( + md_RemoveFromWhitelistAdminRequest protoreflect.MessageDescriptor + fd_RemoveFromWhitelistAdminRequest_sender protoreflect.FieldDescriptor + fd_RemoveFromWhitelistAdminRequest_address protoreflect.FieldDescriptor +) + +func init() { + file_emissions_v8_tx_proto_init() + md_RemoveFromWhitelistAdminRequest = File_emissions_v8_tx_proto.Messages().ByName("RemoveFromWhitelistAdminRequest") + fd_RemoveFromWhitelistAdminRequest_sender = md_RemoveFromWhitelistAdminRequest.Fields().ByName("sender") + fd_RemoveFromWhitelistAdminRequest_address = md_RemoveFromWhitelistAdminRequest.Fields().ByName("address") +} + +var _ protoreflect.Message = (*fastReflection_RemoveFromWhitelistAdminRequest)(nil) + +type fastReflection_RemoveFromWhitelistAdminRequest RemoveFromWhitelistAdminRequest + +func (x *RemoveFromWhitelistAdminRequest) ProtoReflect() protoreflect.Message { + return (*fastReflection_RemoveFromWhitelistAdminRequest)(x) +} + +func (x *RemoveFromWhitelistAdminRequest) slowProtoReflect() protoreflect.Message { + mi := &file_emissions_v8_tx_proto_msgTypes[31] + 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) +} + +var _fastReflection_RemoveFromWhitelistAdminRequest_messageType fastReflection_RemoveFromWhitelistAdminRequest_messageType +var _ protoreflect.MessageType = fastReflection_RemoveFromWhitelistAdminRequest_messageType{} + +type fastReflection_RemoveFromWhitelistAdminRequest_messageType struct{} + +func (x fastReflection_RemoveFromWhitelistAdminRequest_messageType) Zero() protoreflect.Message { + return (*fastReflection_RemoveFromWhitelistAdminRequest)(nil) +} +func (x fastReflection_RemoveFromWhitelistAdminRequest_messageType) New() protoreflect.Message { + return new(fastReflection_RemoveFromWhitelistAdminRequest) +} +func (x fastReflection_RemoveFromWhitelistAdminRequest_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_RemoveFromWhitelistAdminRequest +} + +// Descriptor returns message descriptor, which contains only the protobuf +// type information for the message. +func (x *fastReflection_RemoveFromWhitelistAdminRequest) Descriptor() protoreflect.MessageDescriptor { + return md_RemoveFromWhitelistAdminRequest +} + +// Type returns the message type, which encapsulates both Go and protobuf +// type information. If the Go type information is not needed, +// it is recommended that the message descriptor be used instead. +func (x *fastReflection_RemoveFromWhitelistAdminRequest) Type() protoreflect.MessageType { + return _fastReflection_RemoveFromWhitelistAdminRequest_messageType +} + +// New returns a newly allocated and mutable empty message. +func (x *fastReflection_RemoveFromWhitelistAdminRequest) New() protoreflect.Message { + return new(fastReflection_RemoveFromWhitelistAdminRequest) +} + +// Interface unwraps the message reflection interface and +// returns the underlying ProtoMessage interface. +func (x *fastReflection_RemoveFromWhitelistAdminRequest) Interface() protoreflect.ProtoMessage { + return (*RemoveFromWhitelistAdminRequest)(x) +} + +// Range iterates over every populated field in an undefined order, +// calling f for each field descriptor and value encountered. +// Range returns immediately if f returns false. +// While iterating, mutating operations may only be performed +// on the current field descriptor. +func (x *fastReflection_RemoveFromWhitelistAdminRequest) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { + if x.Sender != "" { + value := protoreflect.ValueOfString(x.Sender) + if !f(fd_RemoveFromWhitelistAdminRequest_sender, value) { + return + } + } + if x.Address != "" { + value := protoreflect.ValueOfString(x.Address) + if !f(fd_RemoveFromWhitelistAdminRequest_address, value) { + return + } + } +} + +// Has reports whether a field is populated. +// +// Some fields have the property of nullability where it is possible to +// distinguish between the default value of a field and whether the field +// was explicitly populated with the default value. Singular message fields, +// member fields of a oneof, and proto2 scalar fields are nullable. Such +// fields are populated only if explicitly set. +// +// In other cases (aside from the nullable cases above), +// a proto3 scalar field is populated if it contains a non-zero value, and +// a repeated field is populated if it is non-empty. +func (x *fastReflection_RemoveFromWhitelistAdminRequest) Has(fd protoreflect.FieldDescriptor) bool { + switch fd.FullName() { + case "emissions.v8.RemoveFromWhitelistAdminRequest.sender": + return x.Sender != "" + case "emissions.v8.RemoveFromWhitelistAdminRequest.address": + return x.Address != "" + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.RemoveFromWhitelistAdminRequest")) + } + panic(fmt.Errorf("message emissions.v8.RemoveFromWhitelistAdminRequest does not contain field %s", fd.FullName())) + } +} + +// Clear clears the field such that a subsequent Has call reports false. +// +// Clearing an extension field clears both the extension type and value +// associated with the given field number. +// +// Clear is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_RemoveFromWhitelistAdminRequest) Clear(fd protoreflect.FieldDescriptor) { + switch fd.FullName() { + case "emissions.v8.RemoveFromWhitelistAdminRequest.sender": + x.Sender = "" + case "emissions.v8.RemoveFromWhitelistAdminRequest.address": + x.Address = "" + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.RemoveFromWhitelistAdminRequest")) + } + panic(fmt.Errorf("message emissions.v8.RemoveFromWhitelistAdminRequest does not contain field %s", fd.FullName())) + } +} + +// Get retrieves the value for a field. +// +// For unpopulated scalars, it returns the default value, where +// the default value of a bytes scalar is guaranteed to be a copy. +// For unpopulated composite types, it returns an empty, read-only view +// of the value; to obtain a mutable reference, use Mutable. +func (x *fastReflection_RemoveFromWhitelistAdminRequest) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { + switch descriptor.FullName() { + case "emissions.v8.RemoveFromWhitelistAdminRequest.sender": + value := x.Sender + return protoreflect.ValueOfString(value) + case "emissions.v8.RemoveFromWhitelistAdminRequest.address": + value := x.Address + return protoreflect.ValueOfString(value) + default: + if descriptor.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.RemoveFromWhitelistAdminRequest")) + } + panic(fmt.Errorf("message emissions.v8.RemoveFromWhitelistAdminRequest does not contain field %s", descriptor.FullName())) + } +} + +// Set stores the value for a field. +// +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType. +// When setting a composite type, it is unspecified whether the stored value +// aliases the source's memory in any way. If the composite value is an +// empty, read-only value, then it panics. +// +// Set is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_RemoveFromWhitelistAdminRequest) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { + switch fd.FullName() { + case "emissions.v8.RemoveFromWhitelistAdminRequest.sender": + x.Sender = value.Interface().(string) + case "emissions.v8.RemoveFromWhitelistAdminRequest.address": + x.Address = value.Interface().(string) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.RemoveFromWhitelistAdminRequest")) + } + panic(fmt.Errorf("message emissions.v8.RemoveFromWhitelistAdminRequest does not contain field %s", fd.FullName())) + } +} + +// Mutable returns a mutable reference to a composite type. +// +// If the field is unpopulated, it may allocate a composite value. +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType +// if not already stored. +// It panics if the field does not contain a composite type. +// +// Mutable is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_RemoveFromWhitelistAdminRequest) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.RemoveFromWhitelistAdminRequest.sender": + panic(fmt.Errorf("field sender of message emissions.v8.RemoveFromWhitelistAdminRequest is not mutable")) + case "emissions.v8.RemoveFromWhitelistAdminRequest.address": + panic(fmt.Errorf("field address of message emissions.v8.RemoveFromWhitelistAdminRequest is not mutable")) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.RemoveFromWhitelistAdminRequest")) + } + panic(fmt.Errorf("message emissions.v8.RemoveFromWhitelistAdminRequest does not contain field %s", fd.FullName())) + } +} + +// NewField returns a new value that is assignable to the field +// for the given descriptor. For scalars, this returns the default value. +// For lists, maps, and messages, this returns a new, empty, mutable value. +func (x *fastReflection_RemoveFromWhitelistAdminRequest) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.RemoveFromWhitelistAdminRequest.sender": + return protoreflect.ValueOfString("") + case "emissions.v8.RemoveFromWhitelistAdminRequest.address": + return protoreflect.ValueOfString("") + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.RemoveFromWhitelistAdminRequest")) + } + panic(fmt.Errorf("message emissions.v8.RemoveFromWhitelistAdminRequest does not contain field %s", fd.FullName())) + } +} + +// WhichOneof reports which field within the oneof is populated, +// returning nil if none are populated. +// It panics if the oneof descriptor does not belong to this message. +func (x *fastReflection_RemoveFromWhitelistAdminRequest) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { + switch d.FullName() { + default: + panic(fmt.Errorf("%s is not a oneof field in emissions.v8.RemoveFromWhitelistAdminRequest", d.FullName())) + } + panic("unreachable") +} + +// GetUnknown retrieves the entire list of unknown fields. +// The caller may only mutate the contents of the RawFields +// if the mutated bytes are stored back into the message with SetUnknown. +func (x *fastReflection_RemoveFromWhitelistAdminRequest) GetUnknown() protoreflect.RawFields { + return x.unknownFields +} + +// SetUnknown stores an entire list of unknown fields. +// The raw fields must be syntactically valid according to the wire format. +// An implementation may panic if this is not the case. +// Once stored, the caller must not mutate the content of the RawFields. +// An empty RawFields may be passed to clear the fields. +// +// SetUnknown is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_RemoveFromWhitelistAdminRequest) SetUnknown(fields protoreflect.RawFields) { + x.unknownFields = fields +} + +// IsValid reports whether the message is valid. +// +// An invalid message is an empty, read-only value. +// +// An invalid message often corresponds to a nil pointer of the concrete +// message type, but the details are implementation dependent. +// Validity is not part of the protobuf data model, and may not +// be preserved in marshaling or other operations. +func (x *fastReflection_RemoveFromWhitelistAdminRequest) IsValid() bool { + return x != nil +} + +// ProtoMethods returns optional fastReflectionFeature-path implementations of various operations. +// This method may return nil. +// +// The returned methods type is identical to +// "google.golang.org/protobuf/runtime/protoiface".Methods. +// Consult the protoiface package documentation for details. +func (x *fastReflection_RemoveFromWhitelistAdminRequest) ProtoMethods() *protoiface.Methods { + size := func(input protoiface.SizeInput) protoiface.SizeOutput { + x := input.Message.Interface().(*RemoveFromWhitelistAdminRequest) + if x == nil { + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: 0, + } + } + options := runtime.SizeInputToOptions(input) + _ = options + var n int + var l int + _ = l + l = len(x.Sender) + if l > 0 { + n += 1 + l + runtime.Sov(uint64(l)) + } + l = len(x.Address) + if l > 0 { + n += 1 + l + runtime.Sov(uint64(l)) + } + if x.unknownFields != nil { + n += len(x.unknownFields) + } + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: n, + } + } + + marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { + x := input.Message.Interface().(*RemoveFromWhitelistAdminRequest) + if x == nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + options := runtime.MarshalInputToOptions(input) + _ = options + size := options.Size(x) + dAtA := make([]byte, size) + i := len(dAtA) + _ = i + var l int + _ = l + if x.unknownFields != nil { + i -= len(x.unknownFields) + copy(dAtA[i:], x.unknownFields) + } + if len(x.Address) > 0 { + i -= len(x.Address) + copy(dAtA[i:], x.Address) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.Address))) + i-- + dAtA[i] = 0x12 + } + if len(x.Sender) > 0 { + i -= len(x.Sender) + copy(dAtA[i:], x.Sender) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.Sender))) + i-- + dAtA[i] = 0xa + } + if input.Buf != nil { + input.Buf = append(input.Buf, dAtA...) + } else { + input.Buf = dAtA + } + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { + x := input.Message.Interface().(*RemoveFromWhitelistAdminRequest) + if x == nil { + return protoiface.UnmarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Flags: input.Flags, + }, nil + } + options := runtime.UnmarshalInputToOptions(input) + _ = options + dAtA := input.Buf + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: RemoveFromWhitelistAdminRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: RemoveFromWhitelistAdminRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Sender", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + x.Sender = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Address", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + x.Address = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := runtime.Skip(dAtA[iNdEx:]) + if err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if (iNdEx + skippy) > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + if !options.DiscardUnknown { + x.unknownFields = append(x.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + } + iNdEx += skippy + } + } + + if iNdEx > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, nil + } + return &protoiface.Methods{ + NoUnkeyedLiterals: struct{}{}, + Flags: protoiface.SupportMarshalDeterministic | protoiface.SupportUnmarshalDiscardUnknown, + Size: size, + Marshal: marshal, + Unmarshal: unmarshal, + Merge: nil, + CheckInitialized: nil, + } +} + +var ( + md_RemoveFromWhitelistAdminResponse protoreflect.MessageDescriptor +) + +func init() { + file_emissions_v8_tx_proto_init() + md_RemoveFromWhitelistAdminResponse = File_emissions_v8_tx_proto.Messages().ByName("RemoveFromWhitelistAdminResponse") +} + +var _ protoreflect.Message = (*fastReflection_RemoveFromWhitelistAdminResponse)(nil) + +type fastReflection_RemoveFromWhitelistAdminResponse RemoveFromWhitelistAdminResponse + +func (x *RemoveFromWhitelistAdminResponse) ProtoReflect() protoreflect.Message { + return (*fastReflection_RemoveFromWhitelistAdminResponse)(x) +} + +func (x *RemoveFromWhitelistAdminResponse) slowProtoReflect() protoreflect.Message { + mi := &file_emissions_v8_tx_proto_msgTypes[32] + 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) +} + +var _fastReflection_RemoveFromWhitelistAdminResponse_messageType fastReflection_RemoveFromWhitelistAdminResponse_messageType +var _ protoreflect.MessageType = fastReflection_RemoveFromWhitelistAdminResponse_messageType{} + +type fastReflection_RemoveFromWhitelistAdminResponse_messageType struct{} + +func (x fastReflection_RemoveFromWhitelistAdminResponse_messageType) Zero() protoreflect.Message { + return (*fastReflection_RemoveFromWhitelistAdminResponse)(nil) +} +func (x fastReflection_RemoveFromWhitelistAdminResponse_messageType) New() protoreflect.Message { + return new(fastReflection_RemoveFromWhitelistAdminResponse) +} +func (x fastReflection_RemoveFromWhitelistAdminResponse_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_RemoveFromWhitelistAdminResponse +} + +// Descriptor returns message descriptor, which contains only the protobuf +// type information for the message. +func (x *fastReflection_RemoveFromWhitelistAdminResponse) Descriptor() protoreflect.MessageDescriptor { + return md_RemoveFromWhitelistAdminResponse +} + +// Type returns the message type, which encapsulates both Go and protobuf +// type information. If the Go type information is not needed, +// it is recommended that the message descriptor be used instead. +func (x *fastReflection_RemoveFromWhitelistAdminResponse) Type() protoreflect.MessageType { + return _fastReflection_RemoveFromWhitelistAdminResponse_messageType +} + +// New returns a newly allocated and mutable empty message. +func (x *fastReflection_RemoveFromWhitelistAdminResponse) New() protoreflect.Message { + return new(fastReflection_RemoveFromWhitelistAdminResponse) +} + +// Interface unwraps the message reflection interface and +// returns the underlying ProtoMessage interface. +func (x *fastReflection_RemoveFromWhitelistAdminResponse) Interface() protoreflect.ProtoMessage { + return (*RemoveFromWhitelistAdminResponse)(x) +} + +// Range iterates over every populated field in an undefined order, +// calling f for each field descriptor and value encountered. +// Range returns immediately if f returns false. +// While iterating, mutating operations may only be performed +// on the current field descriptor. +func (x *fastReflection_RemoveFromWhitelistAdminResponse) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { +} + +// Has reports whether a field is populated. +// +// Some fields have the property of nullability where it is possible to +// distinguish between the default value of a field and whether the field +// was explicitly populated with the default value. Singular message fields, +// member fields of a oneof, and proto2 scalar fields are nullable. Such +// fields are populated only if explicitly set. +// +// In other cases (aside from the nullable cases above), +// a proto3 scalar field is populated if it contains a non-zero value, and +// a repeated field is populated if it is non-empty. +func (x *fastReflection_RemoveFromWhitelistAdminResponse) Has(fd protoreflect.FieldDescriptor) bool { + switch fd.FullName() { + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.RemoveFromWhitelistAdminResponse")) + } + panic(fmt.Errorf("message emissions.v8.RemoveFromWhitelistAdminResponse does not contain field %s", fd.FullName())) + } +} + +// Clear clears the field such that a subsequent Has call reports false. +// +// Clearing an extension field clears both the extension type and value +// associated with the given field number. +// +// Clear is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_RemoveFromWhitelistAdminResponse) Clear(fd protoreflect.FieldDescriptor) { + switch fd.FullName() { + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.RemoveFromWhitelistAdminResponse")) + } + panic(fmt.Errorf("message emissions.v8.RemoveFromWhitelistAdminResponse does not contain field %s", fd.FullName())) + } +} + +// Get retrieves the value for a field. +// +// For unpopulated scalars, it returns the default value, where +// the default value of a bytes scalar is guaranteed to be a copy. +// For unpopulated composite types, it returns an empty, read-only view +// of the value; to obtain a mutable reference, use Mutable. +func (x *fastReflection_RemoveFromWhitelistAdminResponse) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { + switch descriptor.FullName() { + default: + if descriptor.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.RemoveFromWhitelistAdminResponse")) + } + panic(fmt.Errorf("message emissions.v8.RemoveFromWhitelistAdminResponse does not contain field %s", descriptor.FullName())) + } +} + +// Set stores the value for a field. +// +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType. +// When setting a composite type, it is unspecified whether the stored value +// aliases the source's memory in any way. If the composite value is an +// empty, read-only value, then it panics. +// +// Set is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_RemoveFromWhitelistAdminResponse) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { + switch fd.FullName() { + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.RemoveFromWhitelistAdminResponse")) + } + panic(fmt.Errorf("message emissions.v8.RemoveFromWhitelistAdminResponse does not contain field %s", fd.FullName())) + } +} + +// Mutable returns a mutable reference to a composite type. +// +// If the field is unpopulated, it may allocate a composite value. +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType +// if not already stored. +// It panics if the field does not contain a composite type. +// +// Mutable is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_RemoveFromWhitelistAdminResponse) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.RemoveFromWhitelistAdminResponse")) + } + panic(fmt.Errorf("message emissions.v8.RemoveFromWhitelistAdminResponse does not contain field %s", fd.FullName())) + } +} + +// NewField returns a new value that is assignable to the field +// for the given descriptor. For scalars, this returns the default value. +// For lists, maps, and messages, this returns a new, empty, mutable value. +func (x *fastReflection_RemoveFromWhitelistAdminResponse) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.RemoveFromWhitelistAdminResponse")) + } + panic(fmt.Errorf("message emissions.v8.RemoveFromWhitelistAdminResponse does not contain field %s", fd.FullName())) + } +} + +// WhichOneof reports which field within the oneof is populated, +// returning nil if none are populated. +// It panics if the oneof descriptor does not belong to this message. +func (x *fastReflection_RemoveFromWhitelistAdminResponse) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { + switch d.FullName() { + default: + panic(fmt.Errorf("%s is not a oneof field in emissions.v8.RemoveFromWhitelistAdminResponse", d.FullName())) + } + panic("unreachable") +} + +// GetUnknown retrieves the entire list of unknown fields. +// The caller may only mutate the contents of the RawFields +// if the mutated bytes are stored back into the message with SetUnknown. +func (x *fastReflection_RemoveFromWhitelistAdminResponse) GetUnknown() protoreflect.RawFields { + return x.unknownFields +} + +// SetUnknown stores an entire list of unknown fields. +// The raw fields must be syntactically valid according to the wire format. +// An implementation may panic if this is not the case. +// Once stored, the caller must not mutate the content of the RawFields. +// An empty RawFields may be passed to clear the fields. +// +// SetUnknown is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_RemoveFromWhitelistAdminResponse) SetUnknown(fields protoreflect.RawFields) { + x.unknownFields = fields +} + +// IsValid reports whether the message is valid. +// +// An invalid message is an empty, read-only value. +// +// An invalid message often corresponds to a nil pointer of the concrete +// message type, but the details are implementation dependent. +// Validity is not part of the protobuf data model, and may not +// be preserved in marshaling or other operations. +func (x *fastReflection_RemoveFromWhitelistAdminResponse) IsValid() bool { + return x != nil +} + +// ProtoMethods returns optional fastReflectionFeature-path implementations of various operations. +// This method may return nil. +// +// The returned methods type is identical to +// "google.golang.org/protobuf/runtime/protoiface".Methods. +// Consult the protoiface package documentation for details. +func (x *fastReflection_RemoveFromWhitelistAdminResponse) ProtoMethods() *protoiface.Methods { + size := func(input protoiface.SizeInput) protoiface.SizeOutput { + x := input.Message.Interface().(*RemoveFromWhitelistAdminResponse) + if x == nil { + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: 0, + } + } + options := runtime.SizeInputToOptions(input) + _ = options + var n int + var l int + _ = l + if x.unknownFields != nil { + n += len(x.unknownFields) + } + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: n, + } + } + + marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { + x := input.Message.Interface().(*RemoveFromWhitelistAdminResponse) + if x == nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + options := runtime.MarshalInputToOptions(input) + _ = options + size := options.Size(x) + dAtA := make([]byte, size) + i := len(dAtA) + _ = i + var l int + _ = l + if x.unknownFields != nil { + i -= len(x.unknownFields) + copy(dAtA[i:], x.unknownFields) + } + if input.Buf != nil { + input.Buf = append(input.Buf, dAtA...) + } else { + input.Buf = dAtA + } + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { + x := input.Message.Interface().(*RemoveFromWhitelistAdminResponse) + if x == nil { + return protoiface.UnmarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Flags: input.Flags, + }, nil + } + options := runtime.UnmarshalInputToOptions(input) + _ = options + dAtA := input.Buf + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: RemoveFromWhitelistAdminResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: RemoveFromWhitelistAdminResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + default: + iNdEx = preIndex + skippy, err := runtime.Skip(dAtA[iNdEx:]) + if err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if (iNdEx + skippy) > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + if !options.DiscardUnknown { + x.unknownFields = append(x.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + } + iNdEx += skippy + } + } + + if iNdEx > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, nil + } + return &protoiface.Methods{ + NoUnkeyedLiterals: struct{}{}, + Flags: protoiface.SupportMarshalDeterministic | protoiface.SupportUnmarshalDiscardUnknown, + Size: size, + Marshal: marshal, + Unmarshal: unmarshal, + Merge: nil, + CheckInitialized: nil, + } +} + +var ( + md_EnableTopicWorkerWhitelistRequest protoreflect.MessageDescriptor + fd_EnableTopicWorkerWhitelistRequest_sender protoreflect.FieldDescriptor + fd_EnableTopicWorkerWhitelistRequest_topic_id protoreflect.FieldDescriptor +) + +func init() { + file_emissions_v8_tx_proto_init() + md_EnableTopicWorkerWhitelistRequest = File_emissions_v8_tx_proto.Messages().ByName("EnableTopicWorkerWhitelistRequest") + fd_EnableTopicWorkerWhitelistRequest_sender = md_EnableTopicWorkerWhitelistRequest.Fields().ByName("sender") + fd_EnableTopicWorkerWhitelistRequest_topic_id = md_EnableTopicWorkerWhitelistRequest.Fields().ByName("topic_id") +} + +var _ protoreflect.Message = (*fastReflection_EnableTopicWorkerWhitelistRequest)(nil) + +type fastReflection_EnableTopicWorkerWhitelistRequest EnableTopicWorkerWhitelistRequest + +func (x *EnableTopicWorkerWhitelistRequest) ProtoReflect() protoreflect.Message { + return (*fastReflection_EnableTopicWorkerWhitelistRequest)(x) +} + +func (x *EnableTopicWorkerWhitelistRequest) slowProtoReflect() protoreflect.Message { + mi := &file_emissions_v8_tx_proto_msgTypes[33] + 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) +} + +var _fastReflection_EnableTopicWorkerWhitelistRequest_messageType fastReflection_EnableTopicWorkerWhitelistRequest_messageType +var _ protoreflect.MessageType = fastReflection_EnableTopicWorkerWhitelistRequest_messageType{} + +type fastReflection_EnableTopicWorkerWhitelistRequest_messageType struct{} + +func (x fastReflection_EnableTopicWorkerWhitelistRequest_messageType) Zero() protoreflect.Message { + return (*fastReflection_EnableTopicWorkerWhitelistRequest)(nil) +} +func (x fastReflection_EnableTopicWorkerWhitelistRequest_messageType) New() protoreflect.Message { + return new(fastReflection_EnableTopicWorkerWhitelistRequest) +} +func (x fastReflection_EnableTopicWorkerWhitelistRequest_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_EnableTopicWorkerWhitelistRequest +} + +// Descriptor returns message descriptor, which contains only the protobuf +// type information for the message. +func (x *fastReflection_EnableTopicWorkerWhitelistRequest) Descriptor() protoreflect.MessageDescriptor { + return md_EnableTopicWorkerWhitelistRequest +} + +// Type returns the message type, which encapsulates both Go and protobuf +// type information. If the Go type information is not needed, +// it is recommended that the message descriptor be used instead. +func (x *fastReflection_EnableTopicWorkerWhitelistRequest) Type() protoreflect.MessageType { + return _fastReflection_EnableTopicWorkerWhitelistRequest_messageType +} + +// New returns a newly allocated and mutable empty message. +func (x *fastReflection_EnableTopicWorkerWhitelistRequest) New() protoreflect.Message { + return new(fastReflection_EnableTopicWorkerWhitelistRequest) +} + +// Interface unwraps the message reflection interface and +// returns the underlying ProtoMessage interface. +func (x *fastReflection_EnableTopicWorkerWhitelistRequest) Interface() protoreflect.ProtoMessage { + return (*EnableTopicWorkerWhitelistRequest)(x) +} + +// Range iterates over every populated field in an undefined order, +// calling f for each field descriptor and value encountered. +// Range returns immediately if f returns false. +// While iterating, mutating operations may only be performed +// on the current field descriptor. +func (x *fastReflection_EnableTopicWorkerWhitelistRequest) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { + if x.Sender != "" { + value := protoreflect.ValueOfString(x.Sender) + if !f(fd_EnableTopicWorkerWhitelistRequest_sender, value) { + return + } + } + if x.TopicId != uint64(0) { + value := protoreflect.ValueOfUint64(x.TopicId) + if !f(fd_EnableTopicWorkerWhitelistRequest_topic_id, value) { + return + } + } +} + +// Has reports whether a field is populated. +// +// Some fields have the property of nullability where it is possible to +// distinguish between the default value of a field and whether the field +// was explicitly populated with the default value. Singular message fields, +// member fields of a oneof, and proto2 scalar fields are nullable. Such +// fields are populated only if explicitly set. +// +// In other cases (aside from the nullable cases above), +// a proto3 scalar field is populated if it contains a non-zero value, and +// a repeated field is populated if it is non-empty. +func (x *fastReflection_EnableTopicWorkerWhitelistRequest) Has(fd protoreflect.FieldDescriptor) bool { + switch fd.FullName() { + case "emissions.v8.EnableTopicWorkerWhitelistRequest.sender": + return x.Sender != "" + case "emissions.v8.EnableTopicWorkerWhitelistRequest.topic_id": + return x.TopicId != uint64(0) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.EnableTopicWorkerWhitelistRequest")) + } + panic(fmt.Errorf("message emissions.v8.EnableTopicWorkerWhitelistRequest does not contain field %s", fd.FullName())) + } +} + +// Clear clears the field such that a subsequent Has call reports false. +// +// Clearing an extension field clears both the extension type and value +// associated with the given field number. +// +// Clear is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_EnableTopicWorkerWhitelistRequest) Clear(fd protoreflect.FieldDescriptor) { + switch fd.FullName() { + case "emissions.v8.EnableTopicWorkerWhitelistRequest.sender": + x.Sender = "" + case "emissions.v8.EnableTopicWorkerWhitelistRequest.topic_id": + x.TopicId = uint64(0) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.EnableTopicWorkerWhitelistRequest")) + } + panic(fmt.Errorf("message emissions.v8.EnableTopicWorkerWhitelistRequest does not contain field %s", fd.FullName())) + } +} + +// Get retrieves the value for a field. +// +// For unpopulated scalars, it returns the default value, where +// the default value of a bytes scalar is guaranteed to be a copy. +// For unpopulated composite types, it returns an empty, read-only view +// of the value; to obtain a mutable reference, use Mutable. +func (x *fastReflection_EnableTopicWorkerWhitelistRequest) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { + switch descriptor.FullName() { + case "emissions.v8.EnableTopicWorkerWhitelistRequest.sender": + value := x.Sender + return protoreflect.ValueOfString(value) + case "emissions.v8.EnableTopicWorkerWhitelistRequest.topic_id": + value := x.TopicId + return protoreflect.ValueOfUint64(value) + default: + if descriptor.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.EnableTopicWorkerWhitelistRequest")) + } + panic(fmt.Errorf("message emissions.v8.EnableTopicWorkerWhitelistRequest does not contain field %s", descriptor.FullName())) + } +} + +// Set stores the value for a field. +// +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType. +// When setting a composite type, it is unspecified whether the stored value +// aliases the source's memory in any way. If the composite value is an +// empty, read-only value, then it panics. +// +// Set is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_EnableTopicWorkerWhitelistRequest) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { + switch fd.FullName() { + case "emissions.v8.EnableTopicWorkerWhitelistRequest.sender": + x.Sender = value.Interface().(string) + case "emissions.v8.EnableTopicWorkerWhitelistRequest.topic_id": + x.TopicId = value.Uint() + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.EnableTopicWorkerWhitelistRequest")) + } + panic(fmt.Errorf("message emissions.v8.EnableTopicWorkerWhitelistRequest does not contain field %s", fd.FullName())) + } +} + +// Mutable returns a mutable reference to a composite type. +// +// If the field is unpopulated, it may allocate a composite value. +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType +// if not already stored. +// It panics if the field does not contain a composite type. +// +// Mutable is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_EnableTopicWorkerWhitelistRequest) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.EnableTopicWorkerWhitelistRequest.sender": + panic(fmt.Errorf("field sender of message emissions.v8.EnableTopicWorkerWhitelistRequest is not mutable")) + case "emissions.v8.EnableTopicWorkerWhitelistRequest.topic_id": + panic(fmt.Errorf("field topic_id of message emissions.v8.EnableTopicWorkerWhitelistRequest is not mutable")) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.EnableTopicWorkerWhitelistRequest")) + } + panic(fmt.Errorf("message emissions.v8.EnableTopicWorkerWhitelistRequest does not contain field %s", fd.FullName())) + } +} + +// NewField returns a new value that is assignable to the field +// for the given descriptor. For scalars, this returns the default value. +// For lists, maps, and messages, this returns a new, empty, mutable value. +func (x *fastReflection_EnableTopicWorkerWhitelistRequest) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.EnableTopicWorkerWhitelistRequest.sender": + return protoreflect.ValueOfString("") + case "emissions.v8.EnableTopicWorkerWhitelistRequest.topic_id": + return protoreflect.ValueOfUint64(uint64(0)) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.EnableTopicWorkerWhitelistRequest")) + } + panic(fmt.Errorf("message emissions.v8.EnableTopicWorkerWhitelistRequest does not contain field %s", fd.FullName())) + } +} + +// WhichOneof reports which field within the oneof is populated, +// returning nil if none are populated. +// It panics if the oneof descriptor does not belong to this message. +func (x *fastReflection_EnableTopicWorkerWhitelistRequest) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { + switch d.FullName() { + default: + panic(fmt.Errorf("%s is not a oneof field in emissions.v8.EnableTopicWorkerWhitelistRequest", d.FullName())) + } + panic("unreachable") +} + +// GetUnknown retrieves the entire list of unknown fields. +// The caller may only mutate the contents of the RawFields +// if the mutated bytes are stored back into the message with SetUnknown. +func (x *fastReflection_EnableTopicWorkerWhitelistRequest) GetUnknown() protoreflect.RawFields { + return x.unknownFields +} + +// SetUnknown stores an entire list of unknown fields. +// The raw fields must be syntactically valid according to the wire format. +// An implementation may panic if this is not the case. +// Once stored, the caller must not mutate the content of the RawFields. +// An empty RawFields may be passed to clear the fields. +// +// SetUnknown is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_EnableTopicWorkerWhitelistRequest) SetUnknown(fields protoreflect.RawFields) { + x.unknownFields = fields +} + +// IsValid reports whether the message is valid. +// +// An invalid message is an empty, read-only value. +// +// An invalid message often corresponds to a nil pointer of the concrete +// message type, but the details are implementation dependent. +// Validity is not part of the protobuf data model, and may not +// be preserved in marshaling or other operations. +func (x *fastReflection_EnableTopicWorkerWhitelistRequest) IsValid() bool { + return x != nil +} + +// ProtoMethods returns optional fastReflectionFeature-path implementations of various operations. +// This method may return nil. +// +// The returned methods type is identical to +// "google.golang.org/protobuf/runtime/protoiface".Methods. +// Consult the protoiface package documentation for details. +func (x *fastReflection_EnableTopicWorkerWhitelistRequest) ProtoMethods() *protoiface.Methods { + size := func(input protoiface.SizeInput) protoiface.SizeOutput { + x := input.Message.Interface().(*EnableTopicWorkerWhitelistRequest) + if x == nil { + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: 0, + } + } + options := runtime.SizeInputToOptions(input) + _ = options + var n int + var l int + _ = l + l = len(x.Sender) + if l > 0 { + n += 1 + l + runtime.Sov(uint64(l)) + } + if x.TopicId != 0 { + n += 1 + runtime.Sov(uint64(x.TopicId)) + } + if x.unknownFields != nil { + n += len(x.unknownFields) + } + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: n, + } + } + + marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { + x := input.Message.Interface().(*EnableTopicWorkerWhitelistRequest) + if x == nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + options := runtime.MarshalInputToOptions(input) + _ = options + size := options.Size(x) + dAtA := make([]byte, size) + i := len(dAtA) + _ = i + var l int + _ = l + if x.unknownFields != nil { + i -= len(x.unknownFields) + copy(dAtA[i:], x.unknownFields) + } + if x.TopicId != 0 { + i = runtime.EncodeVarint(dAtA, i, uint64(x.TopicId)) + i-- + dAtA[i] = 0x10 + } + if len(x.Sender) > 0 { + i -= len(x.Sender) + copy(dAtA[i:], x.Sender) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.Sender))) + i-- + dAtA[i] = 0xa + } + if input.Buf != nil { + input.Buf = append(input.Buf, dAtA...) + } else { + input.Buf = dAtA + } + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { + x := input.Message.Interface().(*EnableTopicWorkerWhitelistRequest) + if x == nil { + return protoiface.UnmarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Flags: input.Flags, + }, nil + } + options := runtime.UnmarshalInputToOptions(input) + _ = options + dAtA := input.Buf + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: EnableTopicWorkerWhitelistRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: EnableTopicWorkerWhitelistRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Sender", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + x.Sender = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field TopicId", wireType) + } + x.TopicId = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + x.TopicId |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + default: + iNdEx = preIndex + skippy, err := runtime.Skip(dAtA[iNdEx:]) + if err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if (iNdEx + skippy) > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + if !options.DiscardUnknown { + x.unknownFields = append(x.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + } + iNdEx += skippy + } + } + + if iNdEx > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, nil + } + return &protoiface.Methods{ + NoUnkeyedLiterals: struct{}{}, + Flags: protoiface.SupportMarshalDeterministic | protoiface.SupportUnmarshalDiscardUnknown, + Size: size, + Marshal: marshal, + Unmarshal: unmarshal, + Merge: nil, + CheckInitialized: nil, + } +} + +var ( + md_EnableTopicWorkerWhitelistResponse protoreflect.MessageDescriptor +) + +func init() { + file_emissions_v8_tx_proto_init() + md_EnableTopicWorkerWhitelistResponse = File_emissions_v8_tx_proto.Messages().ByName("EnableTopicWorkerWhitelistResponse") +} + +var _ protoreflect.Message = (*fastReflection_EnableTopicWorkerWhitelistResponse)(nil) + +type fastReflection_EnableTopicWorkerWhitelistResponse EnableTopicWorkerWhitelistResponse + +func (x *EnableTopicWorkerWhitelistResponse) ProtoReflect() protoreflect.Message { + return (*fastReflection_EnableTopicWorkerWhitelistResponse)(x) +} + +func (x *EnableTopicWorkerWhitelistResponse) slowProtoReflect() protoreflect.Message { + mi := &file_emissions_v8_tx_proto_msgTypes[34] + 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) +} + +var _fastReflection_EnableTopicWorkerWhitelistResponse_messageType fastReflection_EnableTopicWorkerWhitelistResponse_messageType +var _ protoreflect.MessageType = fastReflection_EnableTopicWorkerWhitelistResponse_messageType{} + +type fastReflection_EnableTopicWorkerWhitelistResponse_messageType struct{} + +func (x fastReflection_EnableTopicWorkerWhitelistResponse_messageType) Zero() protoreflect.Message { + return (*fastReflection_EnableTopicWorkerWhitelistResponse)(nil) +} +func (x fastReflection_EnableTopicWorkerWhitelistResponse_messageType) New() protoreflect.Message { + return new(fastReflection_EnableTopicWorkerWhitelistResponse) +} +func (x fastReflection_EnableTopicWorkerWhitelistResponse_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_EnableTopicWorkerWhitelistResponse +} + +// Descriptor returns message descriptor, which contains only the protobuf +// type information for the message. +func (x *fastReflection_EnableTopicWorkerWhitelistResponse) Descriptor() protoreflect.MessageDescriptor { + return md_EnableTopicWorkerWhitelistResponse +} + +// Type returns the message type, which encapsulates both Go and protobuf +// type information. If the Go type information is not needed, +// it is recommended that the message descriptor be used instead. +func (x *fastReflection_EnableTopicWorkerWhitelistResponse) Type() protoreflect.MessageType { + return _fastReflection_EnableTopicWorkerWhitelistResponse_messageType +} + +// New returns a newly allocated and mutable empty message. +func (x *fastReflection_EnableTopicWorkerWhitelistResponse) New() protoreflect.Message { + return new(fastReflection_EnableTopicWorkerWhitelistResponse) +} + +// Interface unwraps the message reflection interface and +// returns the underlying ProtoMessage interface. +func (x *fastReflection_EnableTopicWorkerWhitelistResponse) Interface() protoreflect.ProtoMessage { + return (*EnableTopicWorkerWhitelistResponse)(x) +} + +// Range iterates over every populated field in an undefined order, +// calling f for each field descriptor and value encountered. +// Range returns immediately if f returns false. +// While iterating, mutating operations may only be performed +// on the current field descriptor. +func (x *fastReflection_EnableTopicWorkerWhitelistResponse) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { +} + +// Has reports whether a field is populated. +// +// Some fields have the property of nullability where it is possible to +// distinguish between the default value of a field and whether the field +// was explicitly populated with the default value. Singular message fields, +// member fields of a oneof, and proto2 scalar fields are nullable. Such +// fields are populated only if explicitly set. +// +// In other cases (aside from the nullable cases above), +// a proto3 scalar field is populated if it contains a non-zero value, and +// a repeated field is populated if it is non-empty. +func (x *fastReflection_EnableTopicWorkerWhitelistResponse) Has(fd protoreflect.FieldDescriptor) bool { + switch fd.FullName() { + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.EnableTopicWorkerWhitelistResponse")) + } + panic(fmt.Errorf("message emissions.v8.EnableTopicWorkerWhitelistResponse does not contain field %s", fd.FullName())) + } +} + +// Clear clears the field such that a subsequent Has call reports false. +// +// Clearing an extension field clears both the extension type and value +// associated with the given field number. +// +// Clear is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_EnableTopicWorkerWhitelistResponse) Clear(fd protoreflect.FieldDescriptor) { + switch fd.FullName() { + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.EnableTopicWorkerWhitelistResponse")) + } + panic(fmt.Errorf("message emissions.v8.EnableTopicWorkerWhitelistResponse does not contain field %s", fd.FullName())) + } +} + +// Get retrieves the value for a field. +// +// For unpopulated scalars, it returns the default value, where +// the default value of a bytes scalar is guaranteed to be a copy. +// For unpopulated composite types, it returns an empty, read-only view +// of the value; to obtain a mutable reference, use Mutable. +func (x *fastReflection_EnableTopicWorkerWhitelistResponse) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { + switch descriptor.FullName() { + default: + if descriptor.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.EnableTopicWorkerWhitelistResponse")) + } + panic(fmt.Errorf("message emissions.v8.EnableTopicWorkerWhitelistResponse does not contain field %s", descriptor.FullName())) + } +} + +// Set stores the value for a field. +// +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType. +// When setting a composite type, it is unspecified whether the stored value +// aliases the source's memory in any way. If the composite value is an +// empty, read-only value, then it panics. +// +// Set is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_EnableTopicWorkerWhitelistResponse) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { + switch fd.FullName() { + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.EnableTopicWorkerWhitelistResponse")) + } + panic(fmt.Errorf("message emissions.v8.EnableTopicWorkerWhitelistResponse does not contain field %s", fd.FullName())) + } +} + +// Mutable returns a mutable reference to a composite type. +// +// If the field is unpopulated, it may allocate a composite value. +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType +// if not already stored. +// It panics if the field does not contain a composite type. +// +// Mutable is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_EnableTopicWorkerWhitelistResponse) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.EnableTopicWorkerWhitelistResponse")) + } + panic(fmt.Errorf("message emissions.v8.EnableTopicWorkerWhitelistResponse does not contain field %s", fd.FullName())) + } +} + +// NewField returns a new value that is assignable to the field +// for the given descriptor. For scalars, this returns the default value. +// For lists, maps, and messages, this returns a new, empty, mutable value. +func (x *fastReflection_EnableTopicWorkerWhitelistResponse) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.EnableTopicWorkerWhitelistResponse")) + } + panic(fmt.Errorf("message emissions.v8.EnableTopicWorkerWhitelistResponse does not contain field %s", fd.FullName())) + } +} + +// WhichOneof reports which field within the oneof is populated, +// returning nil if none are populated. +// It panics if the oneof descriptor does not belong to this message. +func (x *fastReflection_EnableTopicWorkerWhitelistResponse) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { + switch d.FullName() { + default: + panic(fmt.Errorf("%s is not a oneof field in emissions.v8.EnableTopicWorkerWhitelistResponse", d.FullName())) + } + panic("unreachable") +} + +// GetUnknown retrieves the entire list of unknown fields. +// The caller may only mutate the contents of the RawFields +// if the mutated bytes are stored back into the message with SetUnknown. +func (x *fastReflection_EnableTopicWorkerWhitelistResponse) GetUnknown() protoreflect.RawFields { + return x.unknownFields +} + +// SetUnknown stores an entire list of unknown fields. +// The raw fields must be syntactically valid according to the wire format. +// An implementation may panic if this is not the case. +// Once stored, the caller must not mutate the content of the RawFields. +// An empty RawFields may be passed to clear the fields. +// +// SetUnknown is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_EnableTopicWorkerWhitelistResponse) SetUnknown(fields protoreflect.RawFields) { + x.unknownFields = fields +} + +// IsValid reports whether the message is valid. +// +// An invalid message is an empty, read-only value. +// +// An invalid message often corresponds to a nil pointer of the concrete +// message type, but the details are implementation dependent. +// Validity is not part of the protobuf data model, and may not +// be preserved in marshaling or other operations. +func (x *fastReflection_EnableTopicWorkerWhitelistResponse) IsValid() bool { + return x != nil +} + +// ProtoMethods returns optional fastReflectionFeature-path implementations of various operations. +// This method may return nil. +// +// The returned methods type is identical to +// "google.golang.org/protobuf/runtime/protoiface".Methods. +// Consult the protoiface package documentation for details. +func (x *fastReflection_EnableTopicWorkerWhitelistResponse) ProtoMethods() *protoiface.Methods { + size := func(input protoiface.SizeInput) protoiface.SizeOutput { + x := input.Message.Interface().(*EnableTopicWorkerWhitelistResponse) + if x == nil { + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: 0, + } + } + options := runtime.SizeInputToOptions(input) + _ = options + var n int + var l int + _ = l + if x.unknownFields != nil { + n += len(x.unknownFields) + } + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: n, + } + } + + marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { + x := input.Message.Interface().(*EnableTopicWorkerWhitelistResponse) + if x == nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + options := runtime.MarshalInputToOptions(input) + _ = options + size := options.Size(x) + dAtA := make([]byte, size) + i := len(dAtA) + _ = i + var l int + _ = l + if x.unknownFields != nil { + i -= len(x.unknownFields) + copy(dAtA[i:], x.unknownFields) + } + if input.Buf != nil { + input.Buf = append(input.Buf, dAtA...) + } else { + input.Buf = dAtA + } + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { + x := input.Message.Interface().(*EnableTopicWorkerWhitelistResponse) + if x == nil { + return protoiface.UnmarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Flags: input.Flags, + }, nil + } + options := runtime.UnmarshalInputToOptions(input) + _ = options + dAtA := input.Buf + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: EnableTopicWorkerWhitelistResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: EnableTopicWorkerWhitelistResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + default: + iNdEx = preIndex + skippy, err := runtime.Skip(dAtA[iNdEx:]) + if err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if (iNdEx + skippy) > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + if !options.DiscardUnknown { + x.unknownFields = append(x.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + } + iNdEx += skippy + } + } + + if iNdEx > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, nil + } + return &protoiface.Methods{ + NoUnkeyedLiterals: struct{}{}, + Flags: protoiface.SupportMarshalDeterministic | protoiface.SupportUnmarshalDiscardUnknown, + Size: size, + Marshal: marshal, + Unmarshal: unmarshal, + Merge: nil, + CheckInitialized: nil, + } +} + +var ( + md_DisableTopicWorkerWhitelistRequest protoreflect.MessageDescriptor + fd_DisableTopicWorkerWhitelistRequest_sender protoreflect.FieldDescriptor + fd_DisableTopicWorkerWhitelistRequest_topic_id protoreflect.FieldDescriptor +) + +func init() { + file_emissions_v8_tx_proto_init() + md_DisableTopicWorkerWhitelistRequest = File_emissions_v8_tx_proto.Messages().ByName("DisableTopicWorkerWhitelistRequest") + fd_DisableTopicWorkerWhitelistRequest_sender = md_DisableTopicWorkerWhitelistRequest.Fields().ByName("sender") + fd_DisableTopicWorkerWhitelistRequest_topic_id = md_DisableTopicWorkerWhitelistRequest.Fields().ByName("topic_id") +} + +var _ protoreflect.Message = (*fastReflection_DisableTopicWorkerWhitelistRequest)(nil) + +type fastReflection_DisableTopicWorkerWhitelistRequest DisableTopicWorkerWhitelistRequest + +func (x *DisableTopicWorkerWhitelistRequest) ProtoReflect() protoreflect.Message { + return (*fastReflection_DisableTopicWorkerWhitelistRequest)(x) +} + +func (x *DisableTopicWorkerWhitelistRequest) slowProtoReflect() protoreflect.Message { + mi := &file_emissions_v8_tx_proto_msgTypes[35] + 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) +} + +var _fastReflection_DisableTopicWorkerWhitelistRequest_messageType fastReflection_DisableTopicWorkerWhitelistRequest_messageType +var _ protoreflect.MessageType = fastReflection_DisableTopicWorkerWhitelistRequest_messageType{} + +type fastReflection_DisableTopicWorkerWhitelistRequest_messageType struct{} + +func (x fastReflection_DisableTopicWorkerWhitelistRequest_messageType) Zero() protoreflect.Message { + return (*fastReflection_DisableTopicWorkerWhitelistRequest)(nil) +} +func (x fastReflection_DisableTopicWorkerWhitelistRequest_messageType) New() protoreflect.Message { + return new(fastReflection_DisableTopicWorkerWhitelistRequest) +} +func (x fastReflection_DisableTopicWorkerWhitelistRequest_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_DisableTopicWorkerWhitelistRequest +} + +// Descriptor returns message descriptor, which contains only the protobuf +// type information for the message. +func (x *fastReflection_DisableTopicWorkerWhitelistRequest) Descriptor() protoreflect.MessageDescriptor { + return md_DisableTopicWorkerWhitelistRequest +} + +// Type returns the message type, which encapsulates both Go and protobuf +// type information. If the Go type information is not needed, +// it is recommended that the message descriptor be used instead. +func (x *fastReflection_DisableTopicWorkerWhitelistRequest) Type() protoreflect.MessageType { + return _fastReflection_DisableTopicWorkerWhitelistRequest_messageType +} + +// New returns a newly allocated and mutable empty message. +func (x *fastReflection_DisableTopicWorkerWhitelistRequest) New() protoreflect.Message { + return new(fastReflection_DisableTopicWorkerWhitelistRequest) +} + +// Interface unwraps the message reflection interface and +// returns the underlying ProtoMessage interface. +func (x *fastReflection_DisableTopicWorkerWhitelistRequest) Interface() protoreflect.ProtoMessage { + return (*DisableTopicWorkerWhitelistRequest)(x) +} + +// Range iterates over every populated field in an undefined order, +// calling f for each field descriptor and value encountered. +// Range returns immediately if f returns false. +// While iterating, mutating operations may only be performed +// on the current field descriptor. +func (x *fastReflection_DisableTopicWorkerWhitelistRequest) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { + if x.Sender != "" { + value := protoreflect.ValueOfString(x.Sender) + if !f(fd_DisableTopicWorkerWhitelistRequest_sender, value) { + return + } + } + if x.TopicId != uint64(0) { + value := protoreflect.ValueOfUint64(x.TopicId) + if !f(fd_DisableTopicWorkerWhitelistRequest_topic_id, value) { + return + } + } +} + +// Has reports whether a field is populated. +// +// Some fields have the property of nullability where it is possible to +// distinguish between the default value of a field and whether the field +// was explicitly populated with the default value. Singular message fields, +// member fields of a oneof, and proto2 scalar fields are nullable. Such +// fields are populated only if explicitly set. +// +// In other cases (aside from the nullable cases above), +// a proto3 scalar field is populated if it contains a non-zero value, and +// a repeated field is populated if it is non-empty. +func (x *fastReflection_DisableTopicWorkerWhitelistRequest) Has(fd protoreflect.FieldDescriptor) bool { + switch fd.FullName() { + case "emissions.v8.DisableTopicWorkerWhitelistRequest.sender": + return x.Sender != "" + case "emissions.v8.DisableTopicWorkerWhitelistRequest.topic_id": + return x.TopicId != uint64(0) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.DisableTopicWorkerWhitelistRequest")) + } + panic(fmt.Errorf("message emissions.v8.DisableTopicWorkerWhitelistRequest does not contain field %s", fd.FullName())) + } +} + +// Clear clears the field such that a subsequent Has call reports false. +// +// Clearing an extension field clears both the extension type and value +// associated with the given field number. +// +// Clear is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_DisableTopicWorkerWhitelistRequest) Clear(fd protoreflect.FieldDescriptor) { + switch fd.FullName() { + case "emissions.v8.DisableTopicWorkerWhitelistRequest.sender": + x.Sender = "" + case "emissions.v8.DisableTopicWorkerWhitelistRequest.topic_id": + x.TopicId = uint64(0) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.DisableTopicWorkerWhitelistRequest")) + } + panic(fmt.Errorf("message emissions.v8.DisableTopicWorkerWhitelistRequest does not contain field %s", fd.FullName())) + } +} + +// Get retrieves the value for a field. +// +// For unpopulated scalars, it returns the default value, where +// the default value of a bytes scalar is guaranteed to be a copy. +// For unpopulated composite types, it returns an empty, read-only view +// of the value; to obtain a mutable reference, use Mutable. +func (x *fastReflection_DisableTopicWorkerWhitelistRequest) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { + switch descriptor.FullName() { + case "emissions.v8.DisableTopicWorkerWhitelistRequest.sender": + value := x.Sender + return protoreflect.ValueOfString(value) + case "emissions.v8.DisableTopicWorkerWhitelistRequest.topic_id": + value := x.TopicId + return protoreflect.ValueOfUint64(value) + default: + if descriptor.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.DisableTopicWorkerWhitelistRequest")) + } + panic(fmt.Errorf("message emissions.v8.DisableTopicWorkerWhitelistRequest does not contain field %s", descriptor.FullName())) + } +} + +// Set stores the value for a field. +// +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType. +// When setting a composite type, it is unspecified whether the stored value +// aliases the source's memory in any way. If the composite value is an +// empty, read-only value, then it panics. +// +// Set is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_DisableTopicWorkerWhitelistRequest) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { + switch fd.FullName() { + case "emissions.v8.DisableTopicWorkerWhitelistRequest.sender": + x.Sender = value.Interface().(string) + case "emissions.v8.DisableTopicWorkerWhitelistRequest.topic_id": + x.TopicId = value.Uint() + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.DisableTopicWorkerWhitelistRequest")) + } + panic(fmt.Errorf("message emissions.v8.DisableTopicWorkerWhitelistRequest does not contain field %s", fd.FullName())) + } +} + +// Mutable returns a mutable reference to a composite type. +// +// If the field is unpopulated, it may allocate a composite value. +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType +// if not already stored. +// It panics if the field does not contain a composite type. +// +// Mutable is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_DisableTopicWorkerWhitelistRequest) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.DisableTopicWorkerWhitelistRequest.sender": + panic(fmt.Errorf("field sender of message emissions.v8.DisableTopicWorkerWhitelistRequest is not mutable")) + case "emissions.v8.DisableTopicWorkerWhitelistRequest.topic_id": + panic(fmt.Errorf("field topic_id of message emissions.v8.DisableTopicWorkerWhitelistRequest is not mutable")) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.DisableTopicWorkerWhitelistRequest")) + } + panic(fmt.Errorf("message emissions.v8.DisableTopicWorkerWhitelistRequest does not contain field %s", fd.FullName())) + } +} + +// NewField returns a new value that is assignable to the field +// for the given descriptor. For scalars, this returns the default value. +// For lists, maps, and messages, this returns a new, empty, mutable value. +func (x *fastReflection_DisableTopicWorkerWhitelistRequest) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.DisableTopicWorkerWhitelistRequest.sender": + return protoreflect.ValueOfString("") + case "emissions.v8.DisableTopicWorkerWhitelistRequest.topic_id": + return protoreflect.ValueOfUint64(uint64(0)) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.DisableTopicWorkerWhitelistRequest")) + } + panic(fmt.Errorf("message emissions.v8.DisableTopicWorkerWhitelistRequest does not contain field %s", fd.FullName())) + } +} + +// WhichOneof reports which field within the oneof is populated, +// returning nil if none are populated. +// It panics if the oneof descriptor does not belong to this message. +func (x *fastReflection_DisableTopicWorkerWhitelistRequest) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { + switch d.FullName() { + default: + panic(fmt.Errorf("%s is not a oneof field in emissions.v8.DisableTopicWorkerWhitelistRequest", d.FullName())) + } + panic("unreachable") +} + +// GetUnknown retrieves the entire list of unknown fields. +// The caller may only mutate the contents of the RawFields +// if the mutated bytes are stored back into the message with SetUnknown. +func (x *fastReflection_DisableTopicWorkerWhitelistRequest) GetUnknown() protoreflect.RawFields { + return x.unknownFields +} + +// SetUnknown stores an entire list of unknown fields. +// The raw fields must be syntactically valid according to the wire format. +// An implementation may panic if this is not the case. +// Once stored, the caller must not mutate the content of the RawFields. +// An empty RawFields may be passed to clear the fields. +// +// SetUnknown is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_DisableTopicWorkerWhitelistRequest) SetUnknown(fields protoreflect.RawFields) { + x.unknownFields = fields +} + +// IsValid reports whether the message is valid. +// +// An invalid message is an empty, read-only value. +// +// An invalid message often corresponds to a nil pointer of the concrete +// message type, but the details are implementation dependent. +// Validity is not part of the protobuf data model, and may not +// be preserved in marshaling or other operations. +func (x *fastReflection_DisableTopicWorkerWhitelistRequest) IsValid() bool { + return x != nil +} + +// ProtoMethods returns optional fastReflectionFeature-path implementations of various operations. +// This method may return nil. +// +// The returned methods type is identical to +// "google.golang.org/protobuf/runtime/protoiface".Methods. +// Consult the protoiface package documentation for details. +func (x *fastReflection_DisableTopicWorkerWhitelistRequest) ProtoMethods() *protoiface.Methods { + size := func(input protoiface.SizeInput) protoiface.SizeOutput { + x := input.Message.Interface().(*DisableTopicWorkerWhitelistRequest) + if x == nil { + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: 0, + } + } + options := runtime.SizeInputToOptions(input) + _ = options + var n int + var l int + _ = l + l = len(x.Sender) + if l > 0 { + n += 1 + l + runtime.Sov(uint64(l)) + } + if x.TopicId != 0 { + n += 1 + runtime.Sov(uint64(x.TopicId)) + } + if x.unknownFields != nil { + n += len(x.unknownFields) + } + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: n, + } + } + + marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { + x := input.Message.Interface().(*DisableTopicWorkerWhitelistRequest) + if x == nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + options := runtime.MarshalInputToOptions(input) + _ = options + size := options.Size(x) + dAtA := make([]byte, size) + i := len(dAtA) + _ = i + var l int + _ = l + if x.unknownFields != nil { + i -= len(x.unknownFields) + copy(dAtA[i:], x.unknownFields) + } + if x.TopicId != 0 { + i = runtime.EncodeVarint(dAtA, i, uint64(x.TopicId)) + i-- + dAtA[i] = 0x10 + } + if len(x.Sender) > 0 { + i -= len(x.Sender) + copy(dAtA[i:], x.Sender) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.Sender))) + i-- + dAtA[i] = 0xa + } + if input.Buf != nil { + input.Buf = append(input.Buf, dAtA...) + } else { + input.Buf = dAtA + } + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { + x := input.Message.Interface().(*DisableTopicWorkerWhitelistRequest) + if x == nil { + return protoiface.UnmarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Flags: input.Flags, + }, nil + } + options := runtime.UnmarshalInputToOptions(input) + _ = options + dAtA := input.Buf + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: DisableTopicWorkerWhitelistRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: DisableTopicWorkerWhitelistRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Sender", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + x.Sender = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field TopicId", wireType) + } + x.TopicId = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + x.TopicId |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + default: + iNdEx = preIndex + skippy, err := runtime.Skip(dAtA[iNdEx:]) + if err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if (iNdEx + skippy) > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + if !options.DiscardUnknown { + x.unknownFields = append(x.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + } + iNdEx += skippy + } + } + + if iNdEx > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, nil + } + return &protoiface.Methods{ + NoUnkeyedLiterals: struct{}{}, + Flags: protoiface.SupportMarshalDeterministic | protoiface.SupportUnmarshalDiscardUnknown, + Size: size, + Marshal: marshal, + Unmarshal: unmarshal, + Merge: nil, + CheckInitialized: nil, + } +} + +var ( + md_DisableTopicWorkerWhitelistResponse protoreflect.MessageDescriptor +) + +func init() { + file_emissions_v8_tx_proto_init() + md_DisableTopicWorkerWhitelistResponse = File_emissions_v8_tx_proto.Messages().ByName("DisableTopicWorkerWhitelistResponse") +} + +var _ protoreflect.Message = (*fastReflection_DisableTopicWorkerWhitelistResponse)(nil) + +type fastReflection_DisableTopicWorkerWhitelistResponse DisableTopicWorkerWhitelistResponse + +func (x *DisableTopicWorkerWhitelistResponse) ProtoReflect() protoreflect.Message { + return (*fastReflection_DisableTopicWorkerWhitelistResponse)(x) +} + +func (x *DisableTopicWorkerWhitelistResponse) slowProtoReflect() protoreflect.Message { + mi := &file_emissions_v8_tx_proto_msgTypes[36] + 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) +} + +var _fastReflection_DisableTopicWorkerWhitelistResponse_messageType fastReflection_DisableTopicWorkerWhitelistResponse_messageType +var _ protoreflect.MessageType = fastReflection_DisableTopicWorkerWhitelistResponse_messageType{} + +type fastReflection_DisableTopicWorkerWhitelistResponse_messageType struct{} + +func (x fastReflection_DisableTopicWorkerWhitelistResponse_messageType) Zero() protoreflect.Message { + return (*fastReflection_DisableTopicWorkerWhitelistResponse)(nil) +} +func (x fastReflection_DisableTopicWorkerWhitelistResponse_messageType) New() protoreflect.Message { + return new(fastReflection_DisableTopicWorkerWhitelistResponse) +} +func (x fastReflection_DisableTopicWorkerWhitelistResponse_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_DisableTopicWorkerWhitelistResponse +} + +// Descriptor returns message descriptor, which contains only the protobuf +// type information for the message. +func (x *fastReflection_DisableTopicWorkerWhitelistResponse) Descriptor() protoreflect.MessageDescriptor { + return md_DisableTopicWorkerWhitelistResponse +} + +// Type returns the message type, which encapsulates both Go and protobuf +// type information. If the Go type information is not needed, +// it is recommended that the message descriptor be used instead. +func (x *fastReflection_DisableTopicWorkerWhitelistResponse) Type() protoreflect.MessageType { + return _fastReflection_DisableTopicWorkerWhitelistResponse_messageType +} + +// New returns a newly allocated and mutable empty message. +func (x *fastReflection_DisableTopicWorkerWhitelistResponse) New() protoreflect.Message { + return new(fastReflection_DisableTopicWorkerWhitelistResponse) +} + +// Interface unwraps the message reflection interface and +// returns the underlying ProtoMessage interface. +func (x *fastReflection_DisableTopicWorkerWhitelistResponse) Interface() protoreflect.ProtoMessage { + return (*DisableTopicWorkerWhitelistResponse)(x) +} + +// Range iterates over every populated field in an undefined order, +// calling f for each field descriptor and value encountered. +// Range returns immediately if f returns false. +// While iterating, mutating operations may only be performed +// on the current field descriptor. +func (x *fastReflection_DisableTopicWorkerWhitelistResponse) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { +} + +// Has reports whether a field is populated. +// +// Some fields have the property of nullability where it is possible to +// distinguish between the default value of a field and whether the field +// was explicitly populated with the default value. Singular message fields, +// member fields of a oneof, and proto2 scalar fields are nullable. Such +// fields are populated only if explicitly set. +// +// In other cases (aside from the nullable cases above), +// a proto3 scalar field is populated if it contains a non-zero value, and +// a repeated field is populated if it is non-empty. +func (x *fastReflection_DisableTopicWorkerWhitelistResponse) Has(fd protoreflect.FieldDescriptor) bool { + switch fd.FullName() { + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.DisableTopicWorkerWhitelistResponse")) + } + panic(fmt.Errorf("message emissions.v8.DisableTopicWorkerWhitelistResponse does not contain field %s", fd.FullName())) + } +} + +// Clear clears the field such that a subsequent Has call reports false. +// +// Clearing an extension field clears both the extension type and value +// associated with the given field number. +// +// Clear is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_DisableTopicWorkerWhitelistResponse) Clear(fd protoreflect.FieldDescriptor) { + switch fd.FullName() { + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.DisableTopicWorkerWhitelistResponse")) + } + panic(fmt.Errorf("message emissions.v8.DisableTopicWorkerWhitelistResponse does not contain field %s", fd.FullName())) + } +} + +// Get retrieves the value for a field. +// +// For unpopulated scalars, it returns the default value, where +// the default value of a bytes scalar is guaranteed to be a copy. +// For unpopulated composite types, it returns an empty, read-only view +// of the value; to obtain a mutable reference, use Mutable. +func (x *fastReflection_DisableTopicWorkerWhitelistResponse) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { + switch descriptor.FullName() { + default: + if descriptor.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.DisableTopicWorkerWhitelistResponse")) + } + panic(fmt.Errorf("message emissions.v8.DisableTopicWorkerWhitelistResponse does not contain field %s", descriptor.FullName())) + } +} + +// Set stores the value for a field. +// +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType. +// When setting a composite type, it is unspecified whether the stored value +// aliases the source's memory in any way. If the composite value is an +// empty, read-only value, then it panics. +// +// Set is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_DisableTopicWorkerWhitelistResponse) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { + switch fd.FullName() { + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.DisableTopicWorkerWhitelistResponse")) + } + panic(fmt.Errorf("message emissions.v8.DisableTopicWorkerWhitelistResponse does not contain field %s", fd.FullName())) + } +} + +// Mutable returns a mutable reference to a composite type. +// +// If the field is unpopulated, it may allocate a composite value. +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType +// if not already stored. +// It panics if the field does not contain a composite type. +// +// Mutable is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_DisableTopicWorkerWhitelistResponse) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.DisableTopicWorkerWhitelistResponse")) + } + panic(fmt.Errorf("message emissions.v8.DisableTopicWorkerWhitelistResponse does not contain field %s", fd.FullName())) + } +} + +// NewField returns a new value that is assignable to the field +// for the given descriptor. For scalars, this returns the default value. +// For lists, maps, and messages, this returns a new, empty, mutable value. +func (x *fastReflection_DisableTopicWorkerWhitelistResponse) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.DisableTopicWorkerWhitelistResponse")) + } + panic(fmt.Errorf("message emissions.v8.DisableTopicWorkerWhitelistResponse does not contain field %s", fd.FullName())) + } +} + +// WhichOneof reports which field within the oneof is populated, +// returning nil if none are populated. +// It panics if the oneof descriptor does not belong to this message. +func (x *fastReflection_DisableTopicWorkerWhitelistResponse) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { + switch d.FullName() { + default: + panic(fmt.Errorf("%s is not a oneof field in emissions.v8.DisableTopicWorkerWhitelistResponse", d.FullName())) + } + panic("unreachable") +} + +// GetUnknown retrieves the entire list of unknown fields. +// The caller may only mutate the contents of the RawFields +// if the mutated bytes are stored back into the message with SetUnknown. +func (x *fastReflection_DisableTopicWorkerWhitelistResponse) GetUnknown() protoreflect.RawFields { + return x.unknownFields +} + +// SetUnknown stores an entire list of unknown fields. +// The raw fields must be syntactically valid according to the wire format. +// An implementation may panic if this is not the case. +// Once stored, the caller must not mutate the content of the RawFields. +// An empty RawFields may be passed to clear the fields. +// +// SetUnknown is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_DisableTopicWorkerWhitelistResponse) SetUnknown(fields protoreflect.RawFields) { + x.unknownFields = fields +} + +// IsValid reports whether the message is valid. +// +// An invalid message is an empty, read-only value. +// +// An invalid message often corresponds to a nil pointer of the concrete +// message type, but the details are implementation dependent. +// Validity is not part of the protobuf data model, and may not +// be preserved in marshaling or other operations. +func (x *fastReflection_DisableTopicWorkerWhitelistResponse) IsValid() bool { + return x != nil +} + +// ProtoMethods returns optional fastReflectionFeature-path implementations of various operations. +// This method may return nil. +// +// The returned methods type is identical to +// "google.golang.org/protobuf/runtime/protoiface".Methods. +// Consult the protoiface package documentation for details. +func (x *fastReflection_DisableTopicWorkerWhitelistResponse) ProtoMethods() *protoiface.Methods { + size := func(input protoiface.SizeInput) protoiface.SizeOutput { + x := input.Message.Interface().(*DisableTopicWorkerWhitelistResponse) + if x == nil { + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: 0, + } + } + options := runtime.SizeInputToOptions(input) + _ = options + var n int + var l int + _ = l + if x.unknownFields != nil { + n += len(x.unknownFields) + } + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: n, + } + } + + marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { + x := input.Message.Interface().(*DisableTopicWorkerWhitelistResponse) + if x == nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + options := runtime.MarshalInputToOptions(input) + _ = options + size := options.Size(x) + dAtA := make([]byte, size) + i := len(dAtA) + _ = i + var l int + _ = l + if x.unknownFields != nil { + i -= len(x.unknownFields) + copy(dAtA[i:], x.unknownFields) + } + if input.Buf != nil { + input.Buf = append(input.Buf, dAtA...) + } else { + input.Buf = dAtA + } + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { + x := input.Message.Interface().(*DisableTopicWorkerWhitelistResponse) + if x == nil { + return protoiface.UnmarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Flags: input.Flags, + }, nil + } + options := runtime.UnmarshalInputToOptions(input) + _ = options + dAtA := input.Buf + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: DisableTopicWorkerWhitelistResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: DisableTopicWorkerWhitelistResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + default: + iNdEx = preIndex + skippy, err := runtime.Skip(dAtA[iNdEx:]) + if err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if (iNdEx + skippy) > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + if !options.DiscardUnknown { + x.unknownFields = append(x.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + } + iNdEx += skippy + } + } + + if iNdEx > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, nil + } + return &protoiface.Methods{ + NoUnkeyedLiterals: struct{}{}, + Flags: protoiface.SupportMarshalDeterministic | protoiface.SupportUnmarshalDiscardUnknown, + Size: size, + Marshal: marshal, + Unmarshal: unmarshal, + Merge: nil, + CheckInitialized: nil, + } +} + +var ( + md_EnableTopicReputerWhitelistRequest protoreflect.MessageDescriptor + fd_EnableTopicReputerWhitelistRequest_sender protoreflect.FieldDescriptor + fd_EnableTopicReputerWhitelistRequest_topic_id protoreflect.FieldDescriptor +) + +func init() { + file_emissions_v8_tx_proto_init() + md_EnableTopicReputerWhitelistRequest = File_emissions_v8_tx_proto.Messages().ByName("EnableTopicReputerWhitelistRequest") + fd_EnableTopicReputerWhitelistRequest_sender = md_EnableTopicReputerWhitelistRequest.Fields().ByName("sender") + fd_EnableTopicReputerWhitelistRequest_topic_id = md_EnableTopicReputerWhitelistRequest.Fields().ByName("topic_id") +} + +var _ protoreflect.Message = (*fastReflection_EnableTopicReputerWhitelistRequest)(nil) + +type fastReflection_EnableTopicReputerWhitelistRequest EnableTopicReputerWhitelistRequest + +func (x *EnableTopicReputerWhitelistRequest) ProtoReflect() protoreflect.Message { + return (*fastReflection_EnableTopicReputerWhitelistRequest)(x) +} + +func (x *EnableTopicReputerWhitelistRequest) slowProtoReflect() protoreflect.Message { + mi := &file_emissions_v8_tx_proto_msgTypes[37] + 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) +} + +var _fastReflection_EnableTopicReputerWhitelistRequest_messageType fastReflection_EnableTopicReputerWhitelistRequest_messageType +var _ protoreflect.MessageType = fastReflection_EnableTopicReputerWhitelistRequest_messageType{} + +type fastReflection_EnableTopicReputerWhitelistRequest_messageType struct{} + +func (x fastReflection_EnableTopicReputerWhitelistRequest_messageType) Zero() protoreflect.Message { + return (*fastReflection_EnableTopicReputerWhitelistRequest)(nil) +} +func (x fastReflection_EnableTopicReputerWhitelistRequest_messageType) New() protoreflect.Message { + return new(fastReflection_EnableTopicReputerWhitelistRequest) +} +func (x fastReflection_EnableTopicReputerWhitelistRequest_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_EnableTopicReputerWhitelistRequest +} + +// Descriptor returns message descriptor, which contains only the protobuf +// type information for the message. +func (x *fastReflection_EnableTopicReputerWhitelistRequest) Descriptor() protoreflect.MessageDescriptor { + return md_EnableTopicReputerWhitelistRequest +} + +// Type returns the message type, which encapsulates both Go and protobuf +// type information. If the Go type information is not needed, +// it is recommended that the message descriptor be used instead. +func (x *fastReflection_EnableTopicReputerWhitelistRequest) Type() protoreflect.MessageType { + return _fastReflection_EnableTopicReputerWhitelistRequest_messageType +} + +// New returns a newly allocated and mutable empty message. +func (x *fastReflection_EnableTopicReputerWhitelistRequest) New() protoreflect.Message { + return new(fastReflection_EnableTopicReputerWhitelistRequest) +} + +// Interface unwraps the message reflection interface and +// returns the underlying ProtoMessage interface. +func (x *fastReflection_EnableTopicReputerWhitelistRequest) Interface() protoreflect.ProtoMessage { + return (*EnableTopicReputerWhitelistRequest)(x) +} + +// Range iterates over every populated field in an undefined order, +// calling f for each field descriptor and value encountered. +// Range returns immediately if f returns false. +// While iterating, mutating operations may only be performed +// on the current field descriptor. +func (x *fastReflection_EnableTopicReputerWhitelistRequest) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { + if x.Sender != "" { + value := protoreflect.ValueOfString(x.Sender) + if !f(fd_EnableTopicReputerWhitelistRequest_sender, value) { + return + } + } + if x.TopicId != uint64(0) { + value := protoreflect.ValueOfUint64(x.TopicId) + if !f(fd_EnableTopicReputerWhitelistRequest_topic_id, value) { + return + } + } +} + +// Has reports whether a field is populated. +// +// Some fields have the property of nullability where it is possible to +// distinguish between the default value of a field and whether the field +// was explicitly populated with the default value. Singular message fields, +// member fields of a oneof, and proto2 scalar fields are nullable. Such +// fields are populated only if explicitly set. +// +// In other cases (aside from the nullable cases above), +// a proto3 scalar field is populated if it contains a non-zero value, and +// a repeated field is populated if it is non-empty. +func (x *fastReflection_EnableTopicReputerWhitelistRequest) Has(fd protoreflect.FieldDescriptor) bool { + switch fd.FullName() { + case "emissions.v8.EnableTopicReputerWhitelistRequest.sender": + return x.Sender != "" + case "emissions.v8.EnableTopicReputerWhitelistRequest.topic_id": + return x.TopicId != uint64(0) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.EnableTopicReputerWhitelistRequest")) + } + panic(fmt.Errorf("message emissions.v8.EnableTopicReputerWhitelistRequest does not contain field %s", fd.FullName())) + } +} + +// Clear clears the field such that a subsequent Has call reports false. +// +// Clearing an extension field clears both the extension type and value +// associated with the given field number. +// +// Clear is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_EnableTopicReputerWhitelistRequest) Clear(fd protoreflect.FieldDescriptor) { + switch fd.FullName() { + case "emissions.v8.EnableTopicReputerWhitelistRequest.sender": + x.Sender = "" + case "emissions.v8.EnableTopicReputerWhitelistRequest.topic_id": + x.TopicId = uint64(0) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.EnableTopicReputerWhitelistRequest")) + } + panic(fmt.Errorf("message emissions.v8.EnableTopicReputerWhitelistRequest does not contain field %s", fd.FullName())) + } +} + +// Get retrieves the value for a field. +// +// For unpopulated scalars, it returns the default value, where +// the default value of a bytes scalar is guaranteed to be a copy. +// For unpopulated composite types, it returns an empty, read-only view +// of the value; to obtain a mutable reference, use Mutable. +func (x *fastReflection_EnableTopicReputerWhitelistRequest) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { + switch descriptor.FullName() { + case "emissions.v8.EnableTopicReputerWhitelistRequest.sender": + value := x.Sender + return protoreflect.ValueOfString(value) + case "emissions.v8.EnableTopicReputerWhitelistRequest.topic_id": + value := x.TopicId + return protoreflect.ValueOfUint64(value) + default: + if descriptor.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.EnableTopicReputerWhitelistRequest")) + } + panic(fmt.Errorf("message emissions.v8.EnableTopicReputerWhitelistRequest does not contain field %s", descriptor.FullName())) + } +} + +// Set stores the value for a field. +// +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType. +// When setting a composite type, it is unspecified whether the stored value +// aliases the source's memory in any way. If the composite value is an +// empty, read-only value, then it panics. +// +// Set is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_EnableTopicReputerWhitelistRequest) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { + switch fd.FullName() { + case "emissions.v8.EnableTopicReputerWhitelistRequest.sender": + x.Sender = value.Interface().(string) + case "emissions.v8.EnableTopicReputerWhitelistRequest.topic_id": + x.TopicId = value.Uint() + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.EnableTopicReputerWhitelistRequest")) + } + panic(fmt.Errorf("message emissions.v8.EnableTopicReputerWhitelistRequest does not contain field %s", fd.FullName())) + } +} + +// Mutable returns a mutable reference to a composite type. +// +// If the field is unpopulated, it may allocate a composite value. +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType +// if not already stored. +// It panics if the field does not contain a composite type. +// +// Mutable is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_EnableTopicReputerWhitelistRequest) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.EnableTopicReputerWhitelistRequest.sender": + panic(fmt.Errorf("field sender of message emissions.v8.EnableTopicReputerWhitelistRequest is not mutable")) + case "emissions.v8.EnableTopicReputerWhitelistRequest.topic_id": + panic(fmt.Errorf("field topic_id of message emissions.v8.EnableTopicReputerWhitelistRequest is not mutable")) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.EnableTopicReputerWhitelistRequest")) + } + panic(fmt.Errorf("message emissions.v8.EnableTopicReputerWhitelistRequest does not contain field %s", fd.FullName())) + } +} + +// NewField returns a new value that is assignable to the field +// for the given descriptor. For scalars, this returns the default value. +// For lists, maps, and messages, this returns a new, empty, mutable value. +func (x *fastReflection_EnableTopicReputerWhitelistRequest) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.EnableTopicReputerWhitelistRequest.sender": + return protoreflect.ValueOfString("") + case "emissions.v8.EnableTopicReputerWhitelistRequest.topic_id": + return protoreflect.ValueOfUint64(uint64(0)) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.EnableTopicReputerWhitelistRequest")) + } + panic(fmt.Errorf("message emissions.v8.EnableTopicReputerWhitelistRequest does not contain field %s", fd.FullName())) + } +} + +// WhichOneof reports which field within the oneof is populated, +// returning nil if none are populated. +// It panics if the oneof descriptor does not belong to this message. +func (x *fastReflection_EnableTopicReputerWhitelistRequest) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { + switch d.FullName() { + default: + panic(fmt.Errorf("%s is not a oneof field in emissions.v8.EnableTopicReputerWhitelistRequest", d.FullName())) + } + panic("unreachable") +} + +// GetUnknown retrieves the entire list of unknown fields. +// The caller may only mutate the contents of the RawFields +// if the mutated bytes are stored back into the message with SetUnknown. +func (x *fastReflection_EnableTopicReputerWhitelistRequest) GetUnknown() protoreflect.RawFields { + return x.unknownFields +} + +// SetUnknown stores an entire list of unknown fields. +// The raw fields must be syntactically valid according to the wire format. +// An implementation may panic if this is not the case. +// Once stored, the caller must not mutate the content of the RawFields. +// An empty RawFields may be passed to clear the fields. +// +// SetUnknown is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_EnableTopicReputerWhitelistRequest) SetUnknown(fields protoreflect.RawFields) { + x.unknownFields = fields +} + +// IsValid reports whether the message is valid. +// +// An invalid message is an empty, read-only value. +// +// An invalid message often corresponds to a nil pointer of the concrete +// message type, but the details are implementation dependent. +// Validity is not part of the protobuf data model, and may not +// be preserved in marshaling or other operations. +func (x *fastReflection_EnableTopicReputerWhitelistRequest) IsValid() bool { + return x != nil +} + +// ProtoMethods returns optional fastReflectionFeature-path implementations of various operations. +// This method may return nil. +// +// The returned methods type is identical to +// "google.golang.org/protobuf/runtime/protoiface".Methods. +// Consult the protoiface package documentation for details. +func (x *fastReflection_EnableTopicReputerWhitelistRequest) ProtoMethods() *protoiface.Methods { + size := func(input protoiface.SizeInput) protoiface.SizeOutput { + x := input.Message.Interface().(*EnableTopicReputerWhitelistRequest) + if x == nil { + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: 0, + } + } + options := runtime.SizeInputToOptions(input) + _ = options + var n int + var l int + _ = l + l = len(x.Sender) + if l > 0 { + n += 1 + l + runtime.Sov(uint64(l)) + } + if x.TopicId != 0 { + n += 1 + runtime.Sov(uint64(x.TopicId)) + } + if x.unknownFields != nil { + n += len(x.unknownFields) + } + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: n, + } + } + + marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { + x := input.Message.Interface().(*EnableTopicReputerWhitelistRequest) + if x == nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + options := runtime.MarshalInputToOptions(input) + _ = options + size := options.Size(x) + dAtA := make([]byte, size) + i := len(dAtA) + _ = i + var l int + _ = l + if x.unknownFields != nil { + i -= len(x.unknownFields) + copy(dAtA[i:], x.unknownFields) + } + if x.TopicId != 0 { + i = runtime.EncodeVarint(dAtA, i, uint64(x.TopicId)) + i-- + dAtA[i] = 0x10 + } + if len(x.Sender) > 0 { + i -= len(x.Sender) + copy(dAtA[i:], x.Sender) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.Sender))) + i-- + dAtA[i] = 0xa + } + if input.Buf != nil { + input.Buf = append(input.Buf, dAtA...) + } else { + input.Buf = dAtA + } + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { + x := input.Message.Interface().(*EnableTopicReputerWhitelistRequest) + if x == nil { + return protoiface.UnmarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Flags: input.Flags, + }, nil + } + options := runtime.UnmarshalInputToOptions(input) + _ = options + dAtA := input.Buf + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: EnableTopicReputerWhitelistRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: EnableTopicReputerWhitelistRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Sender", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + x.Sender = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field TopicId", wireType) + } + x.TopicId = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + x.TopicId |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + default: + iNdEx = preIndex + skippy, err := runtime.Skip(dAtA[iNdEx:]) + if err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if (iNdEx + skippy) > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + if !options.DiscardUnknown { + x.unknownFields = append(x.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + } + iNdEx += skippy + } + } + + if iNdEx > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, nil + } + return &protoiface.Methods{ + NoUnkeyedLiterals: struct{}{}, + Flags: protoiface.SupportMarshalDeterministic | protoiface.SupportUnmarshalDiscardUnknown, + Size: size, + Marshal: marshal, + Unmarshal: unmarshal, + Merge: nil, + CheckInitialized: nil, + } +} + +var ( + md_EnableTopicReputerWhitelistResponse protoreflect.MessageDescriptor +) + +func init() { + file_emissions_v8_tx_proto_init() + md_EnableTopicReputerWhitelistResponse = File_emissions_v8_tx_proto.Messages().ByName("EnableTopicReputerWhitelistResponse") +} + +var _ protoreflect.Message = (*fastReflection_EnableTopicReputerWhitelistResponse)(nil) + +type fastReflection_EnableTopicReputerWhitelistResponse EnableTopicReputerWhitelistResponse + +func (x *EnableTopicReputerWhitelistResponse) ProtoReflect() protoreflect.Message { + return (*fastReflection_EnableTopicReputerWhitelistResponse)(x) +} + +func (x *EnableTopicReputerWhitelistResponse) slowProtoReflect() protoreflect.Message { + mi := &file_emissions_v8_tx_proto_msgTypes[38] + 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) +} + +var _fastReflection_EnableTopicReputerWhitelistResponse_messageType fastReflection_EnableTopicReputerWhitelistResponse_messageType +var _ protoreflect.MessageType = fastReflection_EnableTopicReputerWhitelistResponse_messageType{} + +type fastReflection_EnableTopicReputerWhitelistResponse_messageType struct{} + +func (x fastReflection_EnableTopicReputerWhitelistResponse_messageType) Zero() protoreflect.Message { + return (*fastReflection_EnableTopicReputerWhitelistResponse)(nil) +} +func (x fastReflection_EnableTopicReputerWhitelistResponse_messageType) New() protoreflect.Message { + return new(fastReflection_EnableTopicReputerWhitelistResponse) +} +func (x fastReflection_EnableTopicReputerWhitelistResponse_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_EnableTopicReputerWhitelistResponse +} + +// Descriptor returns message descriptor, which contains only the protobuf +// type information for the message. +func (x *fastReflection_EnableTopicReputerWhitelistResponse) Descriptor() protoreflect.MessageDescriptor { + return md_EnableTopicReputerWhitelistResponse +} + +// Type returns the message type, which encapsulates both Go and protobuf +// type information. If the Go type information is not needed, +// it is recommended that the message descriptor be used instead. +func (x *fastReflection_EnableTopicReputerWhitelistResponse) Type() protoreflect.MessageType { + return _fastReflection_EnableTopicReputerWhitelistResponse_messageType +} + +// New returns a newly allocated and mutable empty message. +func (x *fastReflection_EnableTopicReputerWhitelistResponse) New() protoreflect.Message { + return new(fastReflection_EnableTopicReputerWhitelistResponse) +} + +// Interface unwraps the message reflection interface and +// returns the underlying ProtoMessage interface. +func (x *fastReflection_EnableTopicReputerWhitelistResponse) Interface() protoreflect.ProtoMessage { + return (*EnableTopicReputerWhitelistResponse)(x) +} + +// Range iterates over every populated field in an undefined order, +// calling f for each field descriptor and value encountered. +// Range returns immediately if f returns false. +// While iterating, mutating operations may only be performed +// on the current field descriptor. +func (x *fastReflection_EnableTopicReputerWhitelistResponse) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { +} + +// Has reports whether a field is populated. +// +// Some fields have the property of nullability where it is possible to +// distinguish between the default value of a field and whether the field +// was explicitly populated with the default value. Singular message fields, +// member fields of a oneof, and proto2 scalar fields are nullable. Such +// fields are populated only if explicitly set. +// +// In other cases (aside from the nullable cases above), +// a proto3 scalar field is populated if it contains a non-zero value, and +// a repeated field is populated if it is non-empty. +func (x *fastReflection_EnableTopicReputerWhitelistResponse) Has(fd protoreflect.FieldDescriptor) bool { + switch fd.FullName() { + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.EnableTopicReputerWhitelistResponse")) + } + panic(fmt.Errorf("message emissions.v8.EnableTopicReputerWhitelistResponse does not contain field %s", fd.FullName())) + } +} + +// Clear clears the field such that a subsequent Has call reports false. +// +// Clearing an extension field clears both the extension type and value +// associated with the given field number. +// +// Clear is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_EnableTopicReputerWhitelistResponse) Clear(fd protoreflect.FieldDescriptor) { + switch fd.FullName() { + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.EnableTopicReputerWhitelistResponse")) + } + panic(fmt.Errorf("message emissions.v8.EnableTopicReputerWhitelistResponse does not contain field %s", fd.FullName())) + } +} + +// Get retrieves the value for a field. +// +// For unpopulated scalars, it returns the default value, where +// the default value of a bytes scalar is guaranteed to be a copy. +// For unpopulated composite types, it returns an empty, read-only view +// of the value; to obtain a mutable reference, use Mutable. +func (x *fastReflection_EnableTopicReputerWhitelistResponse) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { + switch descriptor.FullName() { + default: + if descriptor.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.EnableTopicReputerWhitelistResponse")) + } + panic(fmt.Errorf("message emissions.v8.EnableTopicReputerWhitelistResponse does not contain field %s", descriptor.FullName())) + } +} + +// Set stores the value for a field. +// +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType. +// When setting a composite type, it is unspecified whether the stored value +// aliases the source's memory in any way. If the composite value is an +// empty, read-only value, then it panics. +// +// Set is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_EnableTopicReputerWhitelistResponse) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { + switch fd.FullName() { + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.EnableTopicReputerWhitelistResponse")) + } + panic(fmt.Errorf("message emissions.v8.EnableTopicReputerWhitelistResponse does not contain field %s", fd.FullName())) + } +} + +// Mutable returns a mutable reference to a composite type. +// +// If the field is unpopulated, it may allocate a composite value. +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType +// if not already stored. +// It panics if the field does not contain a composite type. +// +// Mutable is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_EnableTopicReputerWhitelistResponse) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.EnableTopicReputerWhitelistResponse")) + } + panic(fmt.Errorf("message emissions.v8.EnableTopicReputerWhitelistResponse does not contain field %s", fd.FullName())) + } +} + +// NewField returns a new value that is assignable to the field +// for the given descriptor. For scalars, this returns the default value. +// For lists, maps, and messages, this returns a new, empty, mutable value. +func (x *fastReflection_EnableTopicReputerWhitelistResponse) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.EnableTopicReputerWhitelistResponse")) + } + panic(fmt.Errorf("message emissions.v8.EnableTopicReputerWhitelistResponse does not contain field %s", fd.FullName())) + } +} + +// WhichOneof reports which field within the oneof is populated, +// returning nil if none are populated. +// It panics if the oneof descriptor does not belong to this message. +func (x *fastReflection_EnableTopicReputerWhitelistResponse) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { + switch d.FullName() { + default: + panic(fmt.Errorf("%s is not a oneof field in emissions.v8.EnableTopicReputerWhitelistResponse", d.FullName())) + } + panic("unreachable") +} + +// GetUnknown retrieves the entire list of unknown fields. +// The caller may only mutate the contents of the RawFields +// if the mutated bytes are stored back into the message with SetUnknown. +func (x *fastReflection_EnableTopicReputerWhitelistResponse) GetUnknown() protoreflect.RawFields { + return x.unknownFields +} + +// SetUnknown stores an entire list of unknown fields. +// The raw fields must be syntactically valid according to the wire format. +// An implementation may panic if this is not the case. +// Once stored, the caller must not mutate the content of the RawFields. +// An empty RawFields may be passed to clear the fields. +// +// SetUnknown is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_EnableTopicReputerWhitelistResponse) SetUnknown(fields protoreflect.RawFields) { + x.unknownFields = fields +} + +// IsValid reports whether the message is valid. +// +// An invalid message is an empty, read-only value. +// +// An invalid message often corresponds to a nil pointer of the concrete +// message type, but the details are implementation dependent. +// Validity is not part of the protobuf data model, and may not +// be preserved in marshaling or other operations. +func (x *fastReflection_EnableTopicReputerWhitelistResponse) IsValid() bool { + return x != nil +} + +// ProtoMethods returns optional fastReflectionFeature-path implementations of various operations. +// This method may return nil. +// +// The returned methods type is identical to +// "google.golang.org/protobuf/runtime/protoiface".Methods. +// Consult the protoiface package documentation for details. +func (x *fastReflection_EnableTopicReputerWhitelistResponse) ProtoMethods() *protoiface.Methods { + size := func(input protoiface.SizeInput) protoiface.SizeOutput { + x := input.Message.Interface().(*EnableTopicReputerWhitelistResponse) + if x == nil { + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: 0, + } + } + options := runtime.SizeInputToOptions(input) + _ = options + var n int + var l int + _ = l + if x.unknownFields != nil { + n += len(x.unknownFields) + } + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: n, + } + } + + marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { + x := input.Message.Interface().(*EnableTopicReputerWhitelistResponse) + if x == nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + options := runtime.MarshalInputToOptions(input) + _ = options + size := options.Size(x) + dAtA := make([]byte, size) + i := len(dAtA) + _ = i + var l int + _ = l + if x.unknownFields != nil { + i -= len(x.unknownFields) + copy(dAtA[i:], x.unknownFields) + } + if input.Buf != nil { + input.Buf = append(input.Buf, dAtA...) + } else { + input.Buf = dAtA + } + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { + x := input.Message.Interface().(*EnableTopicReputerWhitelistResponse) + if x == nil { + return protoiface.UnmarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Flags: input.Flags, + }, nil + } + options := runtime.UnmarshalInputToOptions(input) + _ = options + dAtA := input.Buf + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: EnableTopicReputerWhitelistResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: EnableTopicReputerWhitelistResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + default: + iNdEx = preIndex + skippy, err := runtime.Skip(dAtA[iNdEx:]) + if err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if (iNdEx + skippy) > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + if !options.DiscardUnknown { + x.unknownFields = append(x.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + } + iNdEx += skippy + } + } + + if iNdEx > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, nil + } + return &protoiface.Methods{ + NoUnkeyedLiterals: struct{}{}, + Flags: protoiface.SupportMarshalDeterministic | protoiface.SupportUnmarshalDiscardUnknown, + Size: size, + Marshal: marshal, + Unmarshal: unmarshal, + Merge: nil, + CheckInitialized: nil, + } +} + +var ( + md_DisableTopicReputerWhitelistRequest protoreflect.MessageDescriptor + fd_DisableTopicReputerWhitelistRequest_sender protoreflect.FieldDescriptor + fd_DisableTopicReputerWhitelistRequest_topic_id protoreflect.FieldDescriptor +) + +func init() { + file_emissions_v8_tx_proto_init() + md_DisableTopicReputerWhitelistRequest = File_emissions_v8_tx_proto.Messages().ByName("DisableTopicReputerWhitelistRequest") + fd_DisableTopicReputerWhitelistRequest_sender = md_DisableTopicReputerWhitelistRequest.Fields().ByName("sender") + fd_DisableTopicReputerWhitelistRequest_topic_id = md_DisableTopicReputerWhitelistRequest.Fields().ByName("topic_id") +} + +var _ protoreflect.Message = (*fastReflection_DisableTopicReputerWhitelistRequest)(nil) + +type fastReflection_DisableTopicReputerWhitelistRequest DisableTopicReputerWhitelistRequest + +func (x *DisableTopicReputerWhitelistRequest) ProtoReflect() protoreflect.Message { + return (*fastReflection_DisableTopicReputerWhitelistRequest)(x) +} + +func (x *DisableTopicReputerWhitelistRequest) slowProtoReflect() protoreflect.Message { + mi := &file_emissions_v8_tx_proto_msgTypes[39] + 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) +} + +var _fastReflection_DisableTopicReputerWhitelistRequest_messageType fastReflection_DisableTopicReputerWhitelistRequest_messageType +var _ protoreflect.MessageType = fastReflection_DisableTopicReputerWhitelistRequest_messageType{} + +type fastReflection_DisableTopicReputerWhitelistRequest_messageType struct{} + +func (x fastReflection_DisableTopicReputerWhitelistRequest_messageType) Zero() protoreflect.Message { + return (*fastReflection_DisableTopicReputerWhitelistRequest)(nil) +} +func (x fastReflection_DisableTopicReputerWhitelistRequest_messageType) New() protoreflect.Message { + return new(fastReflection_DisableTopicReputerWhitelistRequest) +} +func (x fastReflection_DisableTopicReputerWhitelistRequest_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_DisableTopicReputerWhitelistRequest +} + +// Descriptor returns message descriptor, which contains only the protobuf +// type information for the message. +func (x *fastReflection_DisableTopicReputerWhitelistRequest) Descriptor() protoreflect.MessageDescriptor { + return md_DisableTopicReputerWhitelistRequest +} + +// Type returns the message type, which encapsulates both Go and protobuf +// type information. If the Go type information is not needed, +// it is recommended that the message descriptor be used instead. +func (x *fastReflection_DisableTopicReputerWhitelistRequest) Type() protoreflect.MessageType { + return _fastReflection_DisableTopicReputerWhitelistRequest_messageType +} + +// New returns a newly allocated and mutable empty message. +func (x *fastReflection_DisableTopicReputerWhitelistRequest) New() protoreflect.Message { + return new(fastReflection_DisableTopicReputerWhitelistRequest) +} + +// Interface unwraps the message reflection interface and +// returns the underlying ProtoMessage interface. +func (x *fastReflection_DisableTopicReputerWhitelistRequest) Interface() protoreflect.ProtoMessage { + return (*DisableTopicReputerWhitelistRequest)(x) +} + +// Range iterates over every populated field in an undefined order, +// calling f for each field descriptor and value encountered. +// Range returns immediately if f returns false. +// While iterating, mutating operations may only be performed +// on the current field descriptor. +func (x *fastReflection_DisableTopicReputerWhitelistRequest) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { + if x.Sender != "" { + value := protoreflect.ValueOfString(x.Sender) + if !f(fd_DisableTopicReputerWhitelistRequest_sender, value) { + return + } + } + if x.TopicId != uint64(0) { + value := protoreflect.ValueOfUint64(x.TopicId) + if !f(fd_DisableTopicReputerWhitelistRequest_topic_id, value) { + return + } + } +} + +// Has reports whether a field is populated. +// +// Some fields have the property of nullability where it is possible to +// distinguish between the default value of a field and whether the field +// was explicitly populated with the default value. Singular message fields, +// member fields of a oneof, and proto2 scalar fields are nullable. Such +// fields are populated only if explicitly set. +// +// In other cases (aside from the nullable cases above), +// a proto3 scalar field is populated if it contains a non-zero value, and +// a repeated field is populated if it is non-empty. +func (x *fastReflection_DisableTopicReputerWhitelistRequest) Has(fd protoreflect.FieldDescriptor) bool { + switch fd.FullName() { + case "emissions.v8.DisableTopicReputerWhitelistRequest.sender": + return x.Sender != "" + case "emissions.v8.DisableTopicReputerWhitelistRequest.topic_id": + return x.TopicId != uint64(0) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.DisableTopicReputerWhitelistRequest")) + } + panic(fmt.Errorf("message emissions.v8.DisableTopicReputerWhitelistRequest does not contain field %s", fd.FullName())) + } +} + +// Clear clears the field such that a subsequent Has call reports false. +// +// Clearing an extension field clears both the extension type and value +// associated with the given field number. +// +// Clear is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_DisableTopicReputerWhitelistRequest) Clear(fd protoreflect.FieldDescriptor) { + switch fd.FullName() { + case "emissions.v8.DisableTopicReputerWhitelistRequest.sender": + x.Sender = "" + case "emissions.v8.DisableTopicReputerWhitelistRequest.topic_id": + x.TopicId = uint64(0) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.DisableTopicReputerWhitelistRequest")) + } + panic(fmt.Errorf("message emissions.v8.DisableTopicReputerWhitelistRequest does not contain field %s", fd.FullName())) + } +} + +// Get retrieves the value for a field. +// +// For unpopulated scalars, it returns the default value, where +// the default value of a bytes scalar is guaranteed to be a copy. +// For unpopulated composite types, it returns an empty, read-only view +// of the value; to obtain a mutable reference, use Mutable. +func (x *fastReflection_DisableTopicReputerWhitelistRequest) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { + switch descriptor.FullName() { + case "emissions.v8.DisableTopicReputerWhitelistRequest.sender": + value := x.Sender + return protoreflect.ValueOfString(value) + case "emissions.v8.DisableTopicReputerWhitelistRequest.topic_id": + value := x.TopicId + return protoreflect.ValueOfUint64(value) + default: + if descriptor.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.DisableTopicReputerWhitelistRequest")) + } + panic(fmt.Errorf("message emissions.v8.DisableTopicReputerWhitelistRequest does not contain field %s", descriptor.FullName())) + } +} + +// Set stores the value for a field. +// +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType. +// When setting a composite type, it is unspecified whether the stored value +// aliases the source's memory in any way. If the composite value is an +// empty, read-only value, then it panics. +// +// Set is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_DisableTopicReputerWhitelistRequest) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { + switch fd.FullName() { + case "emissions.v8.DisableTopicReputerWhitelistRequest.sender": + x.Sender = value.Interface().(string) + case "emissions.v8.DisableTopicReputerWhitelistRequest.topic_id": + x.TopicId = value.Uint() + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.DisableTopicReputerWhitelistRequest")) + } + panic(fmt.Errorf("message emissions.v8.DisableTopicReputerWhitelistRequest does not contain field %s", fd.FullName())) + } +} + +// Mutable returns a mutable reference to a composite type. +// +// If the field is unpopulated, it may allocate a composite value. +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType +// if not already stored. +// It panics if the field does not contain a composite type. +// +// Mutable is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_DisableTopicReputerWhitelistRequest) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.DisableTopicReputerWhitelistRequest.sender": + panic(fmt.Errorf("field sender of message emissions.v8.DisableTopicReputerWhitelistRequest is not mutable")) + case "emissions.v8.DisableTopicReputerWhitelistRequest.topic_id": + panic(fmt.Errorf("field topic_id of message emissions.v8.DisableTopicReputerWhitelistRequest is not mutable")) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.DisableTopicReputerWhitelistRequest")) + } + panic(fmt.Errorf("message emissions.v8.DisableTopicReputerWhitelistRequest does not contain field %s", fd.FullName())) + } +} + +// NewField returns a new value that is assignable to the field +// for the given descriptor. For scalars, this returns the default value. +// For lists, maps, and messages, this returns a new, empty, mutable value. +func (x *fastReflection_DisableTopicReputerWhitelistRequest) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.DisableTopicReputerWhitelistRequest.sender": + return protoreflect.ValueOfString("") + case "emissions.v8.DisableTopicReputerWhitelistRequest.topic_id": + return protoreflect.ValueOfUint64(uint64(0)) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.DisableTopicReputerWhitelistRequest")) + } + panic(fmt.Errorf("message emissions.v8.DisableTopicReputerWhitelistRequest does not contain field %s", fd.FullName())) + } +} + +// WhichOneof reports which field within the oneof is populated, +// returning nil if none are populated. +// It panics if the oneof descriptor does not belong to this message. +func (x *fastReflection_DisableTopicReputerWhitelistRequest) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { + switch d.FullName() { + default: + panic(fmt.Errorf("%s is not a oneof field in emissions.v8.DisableTopicReputerWhitelistRequest", d.FullName())) + } + panic("unreachable") +} + +// GetUnknown retrieves the entire list of unknown fields. +// The caller may only mutate the contents of the RawFields +// if the mutated bytes are stored back into the message with SetUnknown. +func (x *fastReflection_DisableTopicReputerWhitelistRequest) GetUnknown() protoreflect.RawFields { + return x.unknownFields +} + +// SetUnknown stores an entire list of unknown fields. +// The raw fields must be syntactically valid according to the wire format. +// An implementation may panic if this is not the case. +// Once stored, the caller must not mutate the content of the RawFields. +// An empty RawFields may be passed to clear the fields. +// +// SetUnknown is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_DisableTopicReputerWhitelistRequest) SetUnknown(fields protoreflect.RawFields) { + x.unknownFields = fields +} + +// IsValid reports whether the message is valid. +// +// An invalid message is an empty, read-only value. +// +// An invalid message often corresponds to a nil pointer of the concrete +// message type, but the details are implementation dependent. +// Validity is not part of the protobuf data model, and may not +// be preserved in marshaling or other operations. +func (x *fastReflection_DisableTopicReputerWhitelistRequest) IsValid() bool { + return x != nil +} + +// ProtoMethods returns optional fastReflectionFeature-path implementations of various operations. +// This method may return nil. +// +// The returned methods type is identical to +// "google.golang.org/protobuf/runtime/protoiface".Methods. +// Consult the protoiface package documentation for details. +func (x *fastReflection_DisableTopicReputerWhitelistRequest) ProtoMethods() *protoiface.Methods { + size := func(input protoiface.SizeInput) protoiface.SizeOutput { + x := input.Message.Interface().(*DisableTopicReputerWhitelistRequest) + if x == nil { + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: 0, + } + } + options := runtime.SizeInputToOptions(input) + _ = options + var n int + var l int + _ = l + l = len(x.Sender) + if l > 0 { + n += 1 + l + runtime.Sov(uint64(l)) + } + if x.TopicId != 0 { + n += 1 + runtime.Sov(uint64(x.TopicId)) + } + if x.unknownFields != nil { + n += len(x.unknownFields) + } + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: n, + } + } + + marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { + x := input.Message.Interface().(*DisableTopicReputerWhitelistRequest) + if x == nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + options := runtime.MarshalInputToOptions(input) + _ = options + size := options.Size(x) + dAtA := make([]byte, size) + i := len(dAtA) + _ = i + var l int + _ = l + if x.unknownFields != nil { + i -= len(x.unknownFields) + copy(dAtA[i:], x.unknownFields) + } + if x.TopicId != 0 { + i = runtime.EncodeVarint(dAtA, i, uint64(x.TopicId)) + i-- + dAtA[i] = 0x10 + } + if len(x.Sender) > 0 { + i -= len(x.Sender) + copy(dAtA[i:], x.Sender) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.Sender))) + i-- + dAtA[i] = 0xa + } + if input.Buf != nil { + input.Buf = append(input.Buf, dAtA...) + } else { + input.Buf = dAtA + } + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { + x := input.Message.Interface().(*DisableTopicReputerWhitelistRequest) + if x == nil { + return protoiface.UnmarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Flags: input.Flags, + }, nil + } + options := runtime.UnmarshalInputToOptions(input) + _ = options + dAtA := input.Buf + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: DisableTopicReputerWhitelistRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: DisableTopicReputerWhitelistRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Sender", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + x.Sender = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field TopicId", wireType) + } + x.TopicId = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + x.TopicId |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + default: + iNdEx = preIndex + skippy, err := runtime.Skip(dAtA[iNdEx:]) + if err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if (iNdEx + skippy) > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + if !options.DiscardUnknown { + x.unknownFields = append(x.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + } + iNdEx += skippy + } + } + + if iNdEx > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, nil + } + return &protoiface.Methods{ + NoUnkeyedLiterals: struct{}{}, + Flags: protoiface.SupportMarshalDeterministic | protoiface.SupportUnmarshalDiscardUnknown, + Size: size, + Marshal: marshal, + Unmarshal: unmarshal, + Merge: nil, + CheckInitialized: nil, + } +} + +var ( + md_DisableTopicReputerWhitelistResponse protoreflect.MessageDescriptor +) + +func init() { + file_emissions_v8_tx_proto_init() + md_DisableTopicReputerWhitelistResponse = File_emissions_v8_tx_proto.Messages().ByName("DisableTopicReputerWhitelistResponse") +} + +var _ protoreflect.Message = (*fastReflection_DisableTopicReputerWhitelistResponse)(nil) + +type fastReflection_DisableTopicReputerWhitelistResponse DisableTopicReputerWhitelistResponse + +func (x *DisableTopicReputerWhitelistResponse) ProtoReflect() protoreflect.Message { + return (*fastReflection_DisableTopicReputerWhitelistResponse)(x) +} + +func (x *DisableTopicReputerWhitelistResponse) slowProtoReflect() protoreflect.Message { + mi := &file_emissions_v8_tx_proto_msgTypes[40] + 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) +} + +var _fastReflection_DisableTopicReputerWhitelistResponse_messageType fastReflection_DisableTopicReputerWhitelistResponse_messageType +var _ protoreflect.MessageType = fastReflection_DisableTopicReputerWhitelistResponse_messageType{} + +type fastReflection_DisableTopicReputerWhitelistResponse_messageType struct{} + +func (x fastReflection_DisableTopicReputerWhitelistResponse_messageType) Zero() protoreflect.Message { + return (*fastReflection_DisableTopicReputerWhitelistResponse)(nil) +} +func (x fastReflection_DisableTopicReputerWhitelistResponse_messageType) New() protoreflect.Message { + return new(fastReflection_DisableTopicReputerWhitelistResponse) +} +func (x fastReflection_DisableTopicReputerWhitelistResponse_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_DisableTopicReputerWhitelistResponse +} + +// Descriptor returns message descriptor, which contains only the protobuf +// type information for the message. +func (x *fastReflection_DisableTopicReputerWhitelistResponse) Descriptor() protoreflect.MessageDescriptor { + return md_DisableTopicReputerWhitelistResponse +} + +// Type returns the message type, which encapsulates both Go and protobuf +// type information. If the Go type information is not needed, +// it is recommended that the message descriptor be used instead. +func (x *fastReflection_DisableTopicReputerWhitelistResponse) Type() protoreflect.MessageType { + return _fastReflection_DisableTopicReputerWhitelistResponse_messageType +} + +// New returns a newly allocated and mutable empty message. +func (x *fastReflection_DisableTopicReputerWhitelistResponse) New() protoreflect.Message { + return new(fastReflection_DisableTopicReputerWhitelistResponse) +} + +// Interface unwraps the message reflection interface and +// returns the underlying ProtoMessage interface. +func (x *fastReflection_DisableTopicReputerWhitelistResponse) Interface() protoreflect.ProtoMessage { + return (*DisableTopicReputerWhitelistResponse)(x) +} + +// Range iterates over every populated field in an undefined order, +// calling f for each field descriptor and value encountered. +// Range returns immediately if f returns false. +// While iterating, mutating operations may only be performed +// on the current field descriptor. +func (x *fastReflection_DisableTopicReputerWhitelistResponse) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { +} + +// Has reports whether a field is populated. +// +// Some fields have the property of nullability where it is possible to +// distinguish between the default value of a field and whether the field +// was explicitly populated with the default value. Singular message fields, +// member fields of a oneof, and proto2 scalar fields are nullable. Such +// fields are populated only if explicitly set. +// +// In other cases (aside from the nullable cases above), +// a proto3 scalar field is populated if it contains a non-zero value, and +// a repeated field is populated if it is non-empty. +func (x *fastReflection_DisableTopicReputerWhitelistResponse) Has(fd protoreflect.FieldDescriptor) bool { + switch fd.FullName() { + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.DisableTopicReputerWhitelistResponse")) + } + panic(fmt.Errorf("message emissions.v8.DisableTopicReputerWhitelistResponse does not contain field %s", fd.FullName())) + } +} + +// Clear clears the field such that a subsequent Has call reports false. +// +// Clearing an extension field clears both the extension type and value +// associated with the given field number. +// +// Clear is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_DisableTopicReputerWhitelistResponse) Clear(fd protoreflect.FieldDescriptor) { + switch fd.FullName() { + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.DisableTopicReputerWhitelistResponse")) + } + panic(fmt.Errorf("message emissions.v8.DisableTopicReputerWhitelistResponse does not contain field %s", fd.FullName())) + } +} + +// Get retrieves the value for a field. +// +// For unpopulated scalars, it returns the default value, where +// the default value of a bytes scalar is guaranteed to be a copy. +// For unpopulated composite types, it returns an empty, read-only view +// of the value; to obtain a mutable reference, use Mutable. +func (x *fastReflection_DisableTopicReputerWhitelistResponse) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { + switch descriptor.FullName() { + default: + if descriptor.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.DisableTopicReputerWhitelistResponse")) + } + panic(fmt.Errorf("message emissions.v8.DisableTopicReputerWhitelistResponse does not contain field %s", descriptor.FullName())) + } +} + +// Set stores the value for a field. +// +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType. +// When setting a composite type, it is unspecified whether the stored value +// aliases the source's memory in any way. If the composite value is an +// empty, read-only value, then it panics. +// +// Set is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_DisableTopicReputerWhitelistResponse) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { + switch fd.FullName() { + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.DisableTopicReputerWhitelistResponse")) + } + panic(fmt.Errorf("message emissions.v8.DisableTopicReputerWhitelistResponse does not contain field %s", fd.FullName())) + } +} + +// Mutable returns a mutable reference to a composite type. +// +// If the field is unpopulated, it may allocate a composite value. +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType +// if not already stored. +// It panics if the field does not contain a composite type. +// +// Mutable is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_DisableTopicReputerWhitelistResponse) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.DisableTopicReputerWhitelistResponse")) + } + panic(fmt.Errorf("message emissions.v8.DisableTopicReputerWhitelistResponse does not contain field %s", fd.FullName())) + } +} + +// NewField returns a new value that is assignable to the field +// for the given descriptor. For scalars, this returns the default value. +// For lists, maps, and messages, this returns a new, empty, mutable value. +func (x *fastReflection_DisableTopicReputerWhitelistResponse) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.DisableTopicReputerWhitelistResponse")) + } + panic(fmt.Errorf("message emissions.v8.DisableTopicReputerWhitelistResponse does not contain field %s", fd.FullName())) + } +} + +// WhichOneof reports which field within the oneof is populated, +// returning nil if none are populated. +// It panics if the oneof descriptor does not belong to this message. +func (x *fastReflection_DisableTopicReputerWhitelistResponse) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { + switch d.FullName() { + default: + panic(fmt.Errorf("%s is not a oneof field in emissions.v8.DisableTopicReputerWhitelistResponse", d.FullName())) + } + panic("unreachable") +} + +// GetUnknown retrieves the entire list of unknown fields. +// The caller may only mutate the contents of the RawFields +// if the mutated bytes are stored back into the message with SetUnknown. +func (x *fastReflection_DisableTopicReputerWhitelistResponse) GetUnknown() protoreflect.RawFields { + return x.unknownFields +} + +// SetUnknown stores an entire list of unknown fields. +// The raw fields must be syntactically valid according to the wire format. +// An implementation may panic if this is not the case. +// Once stored, the caller must not mutate the content of the RawFields. +// An empty RawFields may be passed to clear the fields. +// +// SetUnknown is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_DisableTopicReputerWhitelistResponse) SetUnknown(fields protoreflect.RawFields) { + x.unknownFields = fields +} + +// IsValid reports whether the message is valid. +// +// An invalid message is an empty, read-only value. +// +// An invalid message often corresponds to a nil pointer of the concrete +// message type, but the details are implementation dependent. +// Validity is not part of the protobuf data model, and may not +// be preserved in marshaling or other operations. +func (x *fastReflection_DisableTopicReputerWhitelistResponse) IsValid() bool { + return x != nil +} + +// ProtoMethods returns optional fastReflectionFeature-path implementations of various operations. +// This method may return nil. +// +// The returned methods type is identical to +// "google.golang.org/protobuf/runtime/protoiface".Methods. +// Consult the protoiface package documentation for details. +func (x *fastReflection_DisableTopicReputerWhitelistResponse) ProtoMethods() *protoiface.Methods { + size := func(input protoiface.SizeInput) protoiface.SizeOutput { + x := input.Message.Interface().(*DisableTopicReputerWhitelistResponse) + if x == nil { + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: 0, + } + } + options := runtime.SizeInputToOptions(input) + _ = options + var n int + var l int + _ = l + if x.unknownFields != nil { + n += len(x.unknownFields) + } + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: n, + } + } + + marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { + x := input.Message.Interface().(*DisableTopicReputerWhitelistResponse) + if x == nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + options := runtime.MarshalInputToOptions(input) + _ = options + size := options.Size(x) + dAtA := make([]byte, size) + i := len(dAtA) + _ = i + var l int + _ = l + if x.unknownFields != nil { + i -= len(x.unknownFields) + copy(dAtA[i:], x.unknownFields) + } + if input.Buf != nil { + input.Buf = append(input.Buf, dAtA...) + } else { + input.Buf = dAtA + } + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { + x := input.Message.Interface().(*DisableTopicReputerWhitelistResponse) + if x == nil { + return protoiface.UnmarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Flags: input.Flags, + }, nil + } + options := runtime.UnmarshalInputToOptions(input) + _ = options + dAtA := input.Buf + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: DisableTopicReputerWhitelistResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: DisableTopicReputerWhitelistResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + default: + iNdEx = preIndex + skippy, err := runtime.Skip(dAtA[iNdEx:]) + if err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if (iNdEx + skippy) > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + if !options.DiscardUnknown { + x.unknownFields = append(x.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + } + iNdEx += skippy + } + } + + if iNdEx > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, nil + } + return &protoiface.Methods{ + NoUnkeyedLiterals: struct{}{}, + Flags: protoiface.SupportMarshalDeterministic | protoiface.SupportUnmarshalDiscardUnknown, + Size: size, + Marshal: marshal, + Unmarshal: unmarshal, + Merge: nil, + CheckInitialized: nil, + } +} + +var ( + md_AddToGlobalWhitelistRequest protoreflect.MessageDescriptor + fd_AddToGlobalWhitelistRequest_sender protoreflect.FieldDescriptor + fd_AddToGlobalWhitelistRequest_address protoreflect.FieldDescriptor +) + +func init() { + file_emissions_v8_tx_proto_init() + md_AddToGlobalWhitelistRequest = File_emissions_v8_tx_proto.Messages().ByName("AddToGlobalWhitelistRequest") + fd_AddToGlobalWhitelistRequest_sender = md_AddToGlobalWhitelistRequest.Fields().ByName("sender") + fd_AddToGlobalWhitelistRequest_address = md_AddToGlobalWhitelistRequest.Fields().ByName("address") +} + +var _ protoreflect.Message = (*fastReflection_AddToGlobalWhitelistRequest)(nil) + +type fastReflection_AddToGlobalWhitelistRequest AddToGlobalWhitelistRequest + +func (x *AddToGlobalWhitelistRequest) ProtoReflect() protoreflect.Message { + return (*fastReflection_AddToGlobalWhitelistRequest)(x) +} + +func (x *AddToGlobalWhitelistRequest) slowProtoReflect() protoreflect.Message { + mi := &file_emissions_v8_tx_proto_msgTypes[41] + 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) +} + +var _fastReflection_AddToGlobalWhitelistRequest_messageType fastReflection_AddToGlobalWhitelistRequest_messageType +var _ protoreflect.MessageType = fastReflection_AddToGlobalWhitelistRequest_messageType{} + +type fastReflection_AddToGlobalWhitelistRequest_messageType struct{} + +func (x fastReflection_AddToGlobalWhitelistRequest_messageType) Zero() protoreflect.Message { + return (*fastReflection_AddToGlobalWhitelistRequest)(nil) +} +func (x fastReflection_AddToGlobalWhitelistRequest_messageType) New() protoreflect.Message { + return new(fastReflection_AddToGlobalWhitelistRequest) +} +func (x fastReflection_AddToGlobalWhitelistRequest_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_AddToGlobalWhitelistRequest +} + +// Descriptor returns message descriptor, which contains only the protobuf +// type information for the message. +func (x *fastReflection_AddToGlobalWhitelistRequest) Descriptor() protoreflect.MessageDescriptor { + return md_AddToGlobalWhitelistRequest +} + +// Type returns the message type, which encapsulates both Go and protobuf +// type information. If the Go type information is not needed, +// it is recommended that the message descriptor be used instead. +func (x *fastReflection_AddToGlobalWhitelistRequest) Type() protoreflect.MessageType { + return _fastReflection_AddToGlobalWhitelistRequest_messageType +} + +// New returns a newly allocated and mutable empty message. +func (x *fastReflection_AddToGlobalWhitelistRequest) New() protoreflect.Message { + return new(fastReflection_AddToGlobalWhitelistRequest) +} + +// Interface unwraps the message reflection interface and +// returns the underlying ProtoMessage interface. +func (x *fastReflection_AddToGlobalWhitelistRequest) Interface() protoreflect.ProtoMessage { + return (*AddToGlobalWhitelistRequest)(x) +} + +// Range iterates over every populated field in an undefined order, +// calling f for each field descriptor and value encountered. +// Range returns immediately if f returns false. +// While iterating, mutating operations may only be performed +// on the current field descriptor. +func (x *fastReflection_AddToGlobalWhitelistRequest) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { + if x.Sender != "" { + value := protoreflect.ValueOfString(x.Sender) + if !f(fd_AddToGlobalWhitelistRequest_sender, value) { + return + } + } + if x.Address != "" { + value := protoreflect.ValueOfString(x.Address) + if !f(fd_AddToGlobalWhitelistRequest_address, value) { + return + } + } +} + +// Has reports whether a field is populated. +// +// Some fields have the property of nullability where it is possible to +// distinguish between the default value of a field and whether the field +// was explicitly populated with the default value. Singular message fields, +// member fields of a oneof, and proto2 scalar fields are nullable. Such +// fields are populated only if explicitly set. +// +// In other cases (aside from the nullable cases above), +// a proto3 scalar field is populated if it contains a non-zero value, and +// a repeated field is populated if it is non-empty. +func (x *fastReflection_AddToGlobalWhitelistRequest) Has(fd protoreflect.FieldDescriptor) bool { + switch fd.FullName() { + case "emissions.v8.AddToGlobalWhitelistRequest.sender": + return x.Sender != "" + case "emissions.v8.AddToGlobalWhitelistRequest.address": + return x.Address != "" + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.AddToGlobalWhitelistRequest")) + } + panic(fmt.Errorf("message emissions.v8.AddToGlobalWhitelistRequest does not contain field %s", fd.FullName())) + } +} + +// Clear clears the field such that a subsequent Has call reports false. +// +// Clearing an extension field clears both the extension type and value +// associated with the given field number. +// +// Clear is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_AddToGlobalWhitelistRequest) Clear(fd protoreflect.FieldDescriptor) { + switch fd.FullName() { + case "emissions.v8.AddToGlobalWhitelistRequest.sender": + x.Sender = "" + case "emissions.v8.AddToGlobalWhitelistRequest.address": + x.Address = "" + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.AddToGlobalWhitelistRequest")) + } + panic(fmt.Errorf("message emissions.v8.AddToGlobalWhitelistRequest does not contain field %s", fd.FullName())) + } +} + +// Get retrieves the value for a field. +// +// For unpopulated scalars, it returns the default value, where +// the default value of a bytes scalar is guaranteed to be a copy. +// For unpopulated composite types, it returns an empty, read-only view +// of the value; to obtain a mutable reference, use Mutable. +func (x *fastReflection_AddToGlobalWhitelistRequest) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { + switch descriptor.FullName() { + case "emissions.v8.AddToGlobalWhitelistRequest.sender": + value := x.Sender + return protoreflect.ValueOfString(value) + case "emissions.v8.AddToGlobalWhitelistRequest.address": + value := x.Address + return protoreflect.ValueOfString(value) + default: + if descriptor.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.AddToGlobalWhitelistRequest")) + } + panic(fmt.Errorf("message emissions.v8.AddToGlobalWhitelistRequest does not contain field %s", descriptor.FullName())) + } +} + +// Set stores the value for a field. +// +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType. +// When setting a composite type, it is unspecified whether the stored value +// aliases the source's memory in any way. If the composite value is an +// empty, read-only value, then it panics. +// +// Set is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_AddToGlobalWhitelistRequest) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { + switch fd.FullName() { + case "emissions.v8.AddToGlobalWhitelistRequest.sender": + x.Sender = value.Interface().(string) + case "emissions.v8.AddToGlobalWhitelistRequest.address": + x.Address = value.Interface().(string) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.AddToGlobalWhitelistRequest")) + } + panic(fmt.Errorf("message emissions.v8.AddToGlobalWhitelistRequest does not contain field %s", fd.FullName())) + } +} + +// Mutable returns a mutable reference to a composite type. +// +// If the field is unpopulated, it may allocate a composite value. +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType +// if not already stored. +// It panics if the field does not contain a composite type. +// +// Mutable is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_AddToGlobalWhitelistRequest) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.AddToGlobalWhitelistRequest.sender": + panic(fmt.Errorf("field sender of message emissions.v8.AddToGlobalWhitelistRequest is not mutable")) + case "emissions.v8.AddToGlobalWhitelistRequest.address": + panic(fmt.Errorf("field address of message emissions.v8.AddToGlobalWhitelistRequest is not mutable")) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.AddToGlobalWhitelistRequest")) + } + panic(fmt.Errorf("message emissions.v8.AddToGlobalWhitelistRequest does not contain field %s", fd.FullName())) + } +} + +// NewField returns a new value that is assignable to the field +// for the given descriptor. For scalars, this returns the default value. +// For lists, maps, and messages, this returns a new, empty, mutable value. +func (x *fastReflection_AddToGlobalWhitelistRequest) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.AddToGlobalWhitelistRequest.sender": + return protoreflect.ValueOfString("") + case "emissions.v8.AddToGlobalWhitelistRequest.address": + return protoreflect.ValueOfString("") + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.AddToGlobalWhitelistRequest")) + } + panic(fmt.Errorf("message emissions.v8.AddToGlobalWhitelistRequest does not contain field %s", fd.FullName())) + } +} + +// WhichOneof reports which field within the oneof is populated, +// returning nil if none are populated. +// It panics if the oneof descriptor does not belong to this message. +func (x *fastReflection_AddToGlobalWhitelistRequest) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { + switch d.FullName() { + default: + panic(fmt.Errorf("%s is not a oneof field in emissions.v8.AddToGlobalWhitelistRequest", d.FullName())) + } + panic("unreachable") +} + +// GetUnknown retrieves the entire list of unknown fields. +// The caller may only mutate the contents of the RawFields +// if the mutated bytes are stored back into the message with SetUnknown. +func (x *fastReflection_AddToGlobalWhitelistRequest) GetUnknown() protoreflect.RawFields { + return x.unknownFields +} + +// SetUnknown stores an entire list of unknown fields. +// The raw fields must be syntactically valid according to the wire format. +// An implementation may panic if this is not the case. +// Once stored, the caller must not mutate the content of the RawFields. +// An empty RawFields may be passed to clear the fields. +// +// SetUnknown is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_AddToGlobalWhitelistRequest) SetUnknown(fields protoreflect.RawFields) { + x.unknownFields = fields +} + +// IsValid reports whether the message is valid. +// +// An invalid message is an empty, read-only value. +// +// An invalid message often corresponds to a nil pointer of the concrete +// message type, but the details are implementation dependent. +// Validity is not part of the protobuf data model, and may not +// be preserved in marshaling or other operations. +func (x *fastReflection_AddToGlobalWhitelistRequest) IsValid() bool { + return x != nil +} + +// ProtoMethods returns optional fastReflectionFeature-path implementations of various operations. +// This method may return nil. +// +// The returned methods type is identical to +// "google.golang.org/protobuf/runtime/protoiface".Methods. +// Consult the protoiface package documentation for details. +func (x *fastReflection_AddToGlobalWhitelistRequest) ProtoMethods() *protoiface.Methods { + size := func(input protoiface.SizeInput) protoiface.SizeOutput { + x := input.Message.Interface().(*AddToGlobalWhitelistRequest) + if x == nil { + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: 0, + } + } + options := runtime.SizeInputToOptions(input) + _ = options + var n int + var l int + _ = l + l = len(x.Sender) + if l > 0 { + n += 1 + l + runtime.Sov(uint64(l)) + } + l = len(x.Address) + if l > 0 { + n += 1 + l + runtime.Sov(uint64(l)) + } + if x.unknownFields != nil { + n += len(x.unknownFields) + } + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: n, + } + } + + marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { + x := input.Message.Interface().(*AddToGlobalWhitelistRequest) + if x == nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + options := runtime.MarshalInputToOptions(input) + _ = options + size := options.Size(x) + dAtA := make([]byte, size) + i := len(dAtA) + _ = i + var l int + _ = l + if x.unknownFields != nil { + i -= len(x.unknownFields) + copy(dAtA[i:], x.unknownFields) + } + if len(x.Address) > 0 { + i -= len(x.Address) + copy(dAtA[i:], x.Address) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.Address))) + i-- + dAtA[i] = 0x12 + } + if len(x.Sender) > 0 { + i -= len(x.Sender) + copy(dAtA[i:], x.Sender) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.Sender))) + i-- + dAtA[i] = 0xa + } + if input.Buf != nil { + input.Buf = append(input.Buf, dAtA...) + } else { + input.Buf = dAtA + } + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { + x := input.Message.Interface().(*AddToGlobalWhitelistRequest) + if x == nil { + return protoiface.UnmarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Flags: input.Flags, + }, nil + } + options := runtime.UnmarshalInputToOptions(input) + _ = options + dAtA := input.Buf + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: AddToGlobalWhitelistRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: AddToGlobalWhitelistRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Sender", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + x.Sender = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Address", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + x.Address = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := runtime.Skip(dAtA[iNdEx:]) + if err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if (iNdEx + skippy) > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + if !options.DiscardUnknown { + x.unknownFields = append(x.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + } + iNdEx += skippy + } + } + + if iNdEx > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, nil + } + return &protoiface.Methods{ + NoUnkeyedLiterals: struct{}{}, + Flags: protoiface.SupportMarshalDeterministic | protoiface.SupportUnmarshalDiscardUnknown, + Size: size, + Marshal: marshal, + Unmarshal: unmarshal, + Merge: nil, + CheckInitialized: nil, + } +} + +var ( + md_AddToGlobalWhitelistResponse protoreflect.MessageDescriptor +) + +func init() { + file_emissions_v8_tx_proto_init() + md_AddToGlobalWhitelistResponse = File_emissions_v8_tx_proto.Messages().ByName("AddToGlobalWhitelistResponse") +} + +var _ protoreflect.Message = (*fastReflection_AddToGlobalWhitelistResponse)(nil) + +type fastReflection_AddToGlobalWhitelistResponse AddToGlobalWhitelistResponse + +func (x *AddToGlobalWhitelistResponse) ProtoReflect() protoreflect.Message { + return (*fastReflection_AddToGlobalWhitelistResponse)(x) +} + +func (x *AddToGlobalWhitelistResponse) slowProtoReflect() protoreflect.Message { + mi := &file_emissions_v8_tx_proto_msgTypes[42] + 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) +} + +var _fastReflection_AddToGlobalWhitelistResponse_messageType fastReflection_AddToGlobalWhitelistResponse_messageType +var _ protoreflect.MessageType = fastReflection_AddToGlobalWhitelistResponse_messageType{} + +type fastReflection_AddToGlobalWhitelistResponse_messageType struct{} + +func (x fastReflection_AddToGlobalWhitelistResponse_messageType) Zero() protoreflect.Message { + return (*fastReflection_AddToGlobalWhitelistResponse)(nil) +} +func (x fastReflection_AddToGlobalWhitelistResponse_messageType) New() protoreflect.Message { + return new(fastReflection_AddToGlobalWhitelistResponse) +} +func (x fastReflection_AddToGlobalWhitelistResponse_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_AddToGlobalWhitelistResponse +} + +// Descriptor returns message descriptor, which contains only the protobuf +// type information for the message. +func (x *fastReflection_AddToGlobalWhitelistResponse) Descriptor() protoreflect.MessageDescriptor { + return md_AddToGlobalWhitelistResponse +} + +// Type returns the message type, which encapsulates both Go and protobuf +// type information. If the Go type information is not needed, +// it is recommended that the message descriptor be used instead. +func (x *fastReflection_AddToGlobalWhitelistResponse) Type() protoreflect.MessageType { + return _fastReflection_AddToGlobalWhitelistResponse_messageType +} + +// New returns a newly allocated and mutable empty message. +func (x *fastReflection_AddToGlobalWhitelistResponse) New() protoreflect.Message { + return new(fastReflection_AddToGlobalWhitelistResponse) +} + +// Interface unwraps the message reflection interface and +// returns the underlying ProtoMessage interface. +func (x *fastReflection_AddToGlobalWhitelistResponse) Interface() protoreflect.ProtoMessage { + return (*AddToGlobalWhitelistResponse)(x) +} + +// Range iterates over every populated field in an undefined order, +// calling f for each field descriptor and value encountered. +// Range returns immediately if f returns false. +// While iterating, mutating operations may only be performed +// on the current field descriptor. +func (x *fastReflection_AddToGlobalWhitelistResponse) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { +} + +// Has reports whether a field is populated. +// +// Some fields have the property of nullability where it is possible to +// distinguish between the default value of a field and whether the field +// was explicitly populated with the default value. Singular message fields, +// member fields of a oneof, and proto2 scalar fields are nullable. Such +// fields are populated only if explicitly set. +// +// In other cases (aside from the nullable cases above), +// a proto3 scalar field is populated if it contains a non-zero value, and +// a repeated field is populated if it is non-empty. +func (x *fastReflection_AddToGlobalWhitelistResponse) Has(fd protoreflect.FieldDescriptor) bool { + switch fd.FullName() { + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.AddToGlobalWhitelistResponse")) + } + panic(fmt.Errorf("message emissions.v8.AddToGlobalWhitelistResponse does not contain field %s", fd.FullName())) + } +} + +// Clear clears the field such that a subsequent Has call reports false. +// +// Clearing an extension field clears both the extension type and value +// associated with the given field number. +// +// Clear is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_AddToGlobalWhitelistResponse) Clear(fd protoreflect.FieldDescriptor) { + switch fd.FullName() { + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.AddToGlobalWhitelistResponse")) + } + panic(fmt.Errorf("message emissions.v8.AddToGlobalWhitelistResponse does not contain field %s", fd.FullName())) + } +} + +// Get retrieves the value for a field. +// +// For unpopulated scalars, it returns the default value, where +// the default value of a bytes scalar is guaranteed to be a copy. +// For unpopulated composite types, it returns an empty, read-only view +// of the value; to obtain a mutable reference, use Mutable. +func (x *fastReflection_AddToGlobalWhitelistResponse) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { + switch descriptor.FullName() { + default: + if descriptor.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.AddToGlobalWhitelistResponse")) + } + panic(fmt.Errorf("message emissions.v8.AddToGlobalWhitelistResponse does not contain field %s", descriptor.FullName())) + } +} + +// Set stores the value for a field. +// +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType. +// When setting a composite type, it is unspecified whether the stored value +// aliases the source's memory in any way. If the composite value is an +// empty, read-only value, then it panics. +// +// Set is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_AddToGlobalWhitelistResponse) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { + switch fd.FullName() { + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.AddToGlobalWhitelistResponse")) + } + panic(fmt.Errorf("message emissions.v8.AddToGlobalWhitelistResponse does not contain field %s", fd.FullName())) + } +} + +// Mutable returns a mutable reference to a composite type. +// +// If the field is unpopulated, it may allocate a composite value. +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType +// if not already stored. +// It panics if the field does not contain a composite type. +// +// Mutable is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_AddToGlobalWhitelistResponse) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.AddToGlobalWhitelistResponse")) + } + panic(fmt.Errorf("message emissions.v8.AddToGlobalWhitelistResponse does not contain field %s", fd.FullName())) + } +} + +// NewField returns a new value that is assignable to the field +// for the given descriptor. For scalars, this returns the default value. +// For lists, maps, and messages, this returns a new, empty, mutable value. +func (x *fastReflection_AddToGlobalWhitelistResponse) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.AddToGlobalWhitelistResponse")) + } + panic(fmt.Errorf("message emissions.v8.AddToGlobalWhitelistResponse does not contain field %s", fd.FullName())) + } +} + +// WhichOneof reports which field within the oneof is populated, +// returning nil if none are populated. +// It panics if the oneof descriptor does not belong to this message. +func (x *fastReflection_AddToGlobalWhitelistResponse) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { + switch d.FullName() { + default: + panic(fmt.Errorf("%s is not a oneof field in emissions.v8.AddToGlobalWhitelistResponse", d.FullName())) + } + panic("unreachable") +} + +// GetUnknown retrieves the entire list of unknown fields. +// The caller may only mutate the contents of the RawFields +// if the mutated bytes are stored back into the message with SetUnknown. +func (x *fastReflection_AddToGlobalWhitelistResponse) GetUnknown() protoreflect.RawFields { + return x.unknownFields +} + +// SetUnknown stores an entire list of unknown fields. +// The raw fields must be syntactically valid according to the wire format. +// An implementation may panic if this is not the case. +// Once stored, the caller must not mutate the content of the RawFields. +// An empty RawFields may be passed to clear the fields. +// +// SetUnknown is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_AddToGlobalWhitelistResponse) SetUnknown(fields protoreflect.RawFields) { + x.unknownFields = fields +} + +// IsValid reports whether the message is valid. +// +// An invalid message is an empty, read-only value. +// +// An invalid message often corresponds to a nil pointer of the concrete +// message type, but the details are implementation dependent. +// Validity is not part of the protobuf data model, and may not +// be preserved in marshaling or other operations. +func (x *fastReflection_AddToGlobalWhitelistResponse) IsValid() bool { + return x != nil +} + +// ProtoMethods returns optional fastReflectionFeature-path implementations of various operations. +// This method may return nil. +// +// The returned methods type is identical to +// "google.golang.org/protobuf/runtime/protoiface".Methods. +// Consult the protoiface package documentation for details. +func (x *fastReflection_AddToGlobalWhitelistResponse) ProtoMethods() *protoiface.Methods { + size := func(input protoiface.SizeInput) protoiface.SizeOutput { + x := input.Message.Interface().(*AddToGlobalWhitelistResponse) + if x == nil { + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: 0, + } + } + options := runtime.SizeInputToOptions(input) + _ = options + var n int + var l int + _ = l + if x.unknownFields != nil { + n += len(x.unknownFields) + } + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: n, + } + } + + marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { + x := input.Message.Interface().(*AddToGlobalWhitelistResponse) + if x == nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + options := runtime.MarshalInputToOptions(input) + _ = options + size := options.Size(x) + dAtA := make([]byte, size) + i := len(dAtA) + _ = i + var l int + _ = l + if x.unknownFields != nil { + i -= len(x.unknownFields) + copy(dAtA[i:], x.unknownFields) + } + if input.Buf != nil { + input.Buf = append(input.Buf, dAtA...) + } else { + input.Buf = dAtA + } + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { + x := input.Message.Interface().(*AddToGlobalWhitelistResponse) + if x == nil { + return protoiface.UnmarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Flags: input.Flags, + }, nil + } + options := runtime.UnmarshalInputToOptions(input) + _ = options + dAtA := input.Buf + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: AddToGlobalWhitelistResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: AddToGlobalWhitelistResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + default: + iNdEx = preIndex + skippy, err := runtime.Skip(dAtA[iNdEx:]) + if err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if (iNdEx + skippy) > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + if !options.DiscardUnknown { + x.unknownFields = append(x.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + } + iNdEx += skippy + } + } + + if iNdEx > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, nil + } + return &protoiface.Methods{ + NoUnkeyedLiterals: struct{}{}, + Flags: protoiface.SupportMarshalDeterministic | protoiface.SupportUnmarshalDiscardUnknown, + Size: size, + Marshal: marshal, + Unmarshal: unmarshal, + Merge: nil, + CheckInitialized: nil, + } +} + +var ( + md_RemoveFromGlobalWhitelistRequest protoreflect.MessageDescriptor + fd_RemoveFromGlobalWhitelistRequest_sender protoreflect.FieldDescriptor + fd_RemoveFromGlobalWhitelistRequest_address protoreflect.FieldDescriptor +) + +func init() { + file_emissions_v8_tx_proto_init() + md_RemoveFromGlobalWhitelistRequest = File_emissions_v8_tx_proto.Messages().ByName("RemoveFromGlobalWhitelistRequest") + fd_RemoveFromGlobalWhitelistRequest_sender = md_RemoveFromGlobalWhitelistRequest.Fields().ByName("sender") + fd_RemoveFromGlobalWhitelistRequest_address = md_RemoveFromGlobalWhitelistRequest.Fields().ByName("address") +} + +var _ protoreflect.Message = (*fastReflection_RemoveFromGlobalWhitelistRequest)(nil) + +type fastReflection_RemoveFromGlobalWhitelistRequest RemoveFromGlobalWhitelistRequest + +func (x *RemoveFromGlobalWhitelistRequest) ProtoReflect() protoreflect.Message { + return (*fastReflection_RemoveFromGlobalWhitelistRequest)(x) +} + +func (x *RemoveFromGlobalWhitelistRequest) slowProtoReflect() protoreflect.Message { + mi := &file_emissions_v8_tx_proto_msgTypes[43] + 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) +} + +var _fastReflection_RemoveFromGlobalWhitelistRequest_messageType fastReflection_RemoveFromGlobalWhitelistRequest_messageType +var _ protoreflect.MessageType = fastReflection_RemoveFromGlobalWhitelistRequest_messageType{} + +type fastReflection_RemoveFromGlobalWhitelistRequest_messageType struct{} + +func (x fastReflection_RemoveFromGlobalWhitelistRequest_messageType) Zero() protoreflect.Message { + return (*fastReflection_RemoveFromGlobalWhitelistRequest)(nil) +} +func (x fastReflection_RemoveFromGlobalWhitelistRequest_messageType) New() protoreflect.Message { + return new(fastReflection_RemoveFromGlobalWhitelistRequest) +} +func (x fastReflection_RemoveFromGlobalWhitelistRequest_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_RemoveFromGlobalWhitelistRequest +} + +// Descriptor returns message descriptor, which contains only the protobuf +// type information for the message. +func (x *fastReflection_RemoveFromGlobalWhitelistRequest) Descriptor() protoreflect.MessageDescriptor { + return md_RemoveFromGlobalWhitelistRequest +} + +// Type returns the message type, which encapsulates both Go and protobuf +// type information. If the Go type information is not needed, +// it is recommended that the message descriptor be used instead. +func (x *fastReflection_RemoveFromGlobalWhitelistRequest) Type() protoreflect.MessageType { + return _fastReflection_RemoveFromGlobalWhitelistRequest_messageType +} + +// New returns a newly allocated and mutable empty message. +func (x *fastReflection_RemoveFromGlobalWhitelistRequest) New() protoreflect.Message { + return new(fastReflection_RemoveFromGlobalWhitelistRequest) +} + +// Interface unwraps the message reflection interface and +// returns the underlying ProtoMessage interface. +func (x *fastReflection_RemoveFromGlobalWhitelistRequest) Interface() protoreflect.ProtoMessage { + return (*RemoveFromGlobalWhitelistRequest)(x) +} + +// Range iterates over every populated field in an undefined order, +// calling f for each field descriptor and value encountered. +// Range returns immediately if f returns false. +// While iterating, mutating operations may only be performed +// on the current field descriptor. +func (x *fastReflection_RemoveFromGlobalWhitelistRequest) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { + if x.Sender != "" { + value := protoreflect.ValueOfString(x.Sender) + if !f(fd_RemoveFromGlobalWhitelistRequest_sender, value) { + return + } + } + if x.Address != "" { + value := protoreflect.ValueOfString(x.Address) + if !f(fd_RemoveFromGlobalWhitelistRequest_address, value) { + return + } + } +} + +// Has reports whether a field is populated. +// +// Some fields have the property of nullability where it is possible to +// distinguish between the default value of a field and whether the field +// was explicitly populated with the default value. Singular message fields, +// member fields of a oneof, and proto2 scalar fields are nullable. Such +// fields are populated only if explicitly set. +// +// In other cases (aside from the nullable cases above), +// a proto3 scalar field is populated if it contains a non-zero value, and +// a repeated field is populated if it is non-empty. +func (x *fastReflection_RemoveFromGlobalWhitelistRequest) Has(fd protoreflect.FieldDescriptor) bool { + switch fd.FullName() { + case "emissions.v8.RemoveFromGlobalWhitelistRequest.sender": + return x.Sender != "" + case "emissions.v8.RemoveFromGlobalWhitelistRequest.address": + return x.Address != "" + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.RemoveFromGlobalWhitelistRequest")) + } + panic(fmt.Errorf("message emissions.v8.RemoveFromGlobalWhitelistRequest does not contain field %s", fd.FullName())) + } +} + +// Clear clears the field such that a subsequent Has call reports false. +// +// Clearing an extension field clears both the extension type and value +// associated with the given field number. +// +// Clear is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_RemoveFromGlobalWhitelistRequest) Clear(fd protoreflect.FieldDescriptor) { + switch fd.FullName() { + case "emissions.v8.RemoveFromGlobalWhitelistRequest.sender": + x.Sender = "" + case "emissions.v8.RemoveFromGlobalWhitelistRequest.address": + x.Address = "" + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.RemoveFromGlobalWhitelistRequest")) + } + panic(fmt.Errorf("message emissions.v8.RemoveFromGlobalWhitelistRequest does not contain field %s", fd.FullName())) + } +} + +// Get retrieves the value for a field. +// +// For unpopulated scalars, it returns the default value, where +// the default value of a bytes scalar is guaranteed to be a copy. +// For unpopulated composite types, it returns an empty, read-only view +// of the value; to obtain a mutable reference, use Mutable. +func (x *fastReflection_RemoveFromGlobalWhitelistRequest) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { + switch descriptor.FullName() { + case "emissions.v8.RemoveFromGlobalWhitelistRequest.sender": + value := x.Sender + return protoreflect.ValueOfString(value) + case "emissions.v8.RemoveFromGlobalWhitelistRequest.address": + value := x.Address + return protoreflect.ValueOfString(value) + default: + if descriptor.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.RemoveFromGlobalWhitelistRequest")) + } + panic(fmt.Errorf("message emissions.v8.RemoveFromGlobalWhitelistRequest does not contain field %s", descriptor.FullName())) + } +} + +// Set stores the value for a field. +// +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType. +// When setting a composite type, it is unspecified whether the stored value +// aliases the source's memory in any way. If the composite value is an +// empty, read-only value, then it panics. +// +// Set is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_RemoveFromGlobalWhitelistRequest) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { + switch fd.FullName() { + case "emissions.v8.RemoveFromGlobalWhitelistRequest.sender": + x.Sender = value.Interface().(string) + case "emissions.v8.RemoveFromGlobalWhitelistRequest.address": + x.Address = value.Interface().(string) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.RemoveFromGlobalWhitelistRequest")) + } + panic(fmt.Errorf("message emissions.v8.RemoveFromGlobalWhitelistRequest does not contain field %s", fd.FullName())) + } +} + +// Mutable returns a mutable reference to a composite type. +// +// If the field is unpopulated, it may allocate a composite value. +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType +// if not already stored. +// It panics if the field does not contain a composite type. +// +// Mutable is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_RemoveFromGlobalWhitelistRequest) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.RemoveFromGlobalWhitelistRequest.sender": + panic(fmt.Errorf("field sender of message emissions.v8.RemoveFromGlobalWhitelistRequest is not mutable")) + case "emissions.v8.RemoveFromGlobalWhitelistRequest.address": + panic(fmt.Errorf("field address of message emissions.v8.RemoveFromGlobalWhitelistRequest is not mutable")) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.RemoveFromGlobalWhitelistRequest")) + } + panic(fmt.Errorf("message emissions.v8.RemoveFromGlobalWhitelistRequest does not contain field %s", fd.FullName())) + } +} + +// NewField returns a new value that is assignable to the field +// for the given descriptor. For scalars, this returns the default value. +// For lists, maps, and messages, this returns a new, empty, mutable value. +func (x *fastReflection_RemoveFromGlobalWhitelistRequest) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.RemoveFromGlobalWhitelistRequest.sender": + return protoreflect.ValueOfString("") + case "emissions.v8.RemoveFromGlobalWhitelistRequest.address": + return protoreflect.ValueOfString("") + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.RemoveFromGlobalWhitelistRequest")) + } + panic(fmt.Errorf("message emissions.v8.RemoveFromGlobalWhitelistRequest does not contain field %s", fd.FullName())) + } +} + +// WhichOneof reports which field within the oneof is populated, +// returning nil if none are populated. +// It panics if the oneof descriptor does not belong to this message. +func (x *fastReflection_RemoveFromGlobalWhitelistRequest) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { + switch d.FullName() { + default: + panic(fmt.Errorf("%s is not a oneof field in emissions.v8.RemoveFromGlobalWhitelistRequest", d.FullName())) + } + panic("unreachable") +} + +// GetUnknown retrieves the entire list of unknown fields. +// The caller may only mutate the contents of the RawFields +// if the mutated bytes are stored back into the message with SetUnknown. +func (x *fastReflection_RemoveFromGlobalWhitelistRequest) GetUnknown() protoreflect.RawFields { + return x.unknownFields +} + +// SetUnknown stores an entire list of unknown fields. +// The raw fields must be syntactically valid according to the wire format. +// An implementation may panic if this is not the case. +// Once stored, the caller must not mutate the content of the RawFields. +// An empty RawFields may be passed to clear the fields. +// +// SetUnknown is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_RemoveFromGlobalWhitelistRequest) SetUnknown(fields protoreflect.RawFields) { + x.unknownFields = fields +} + +// IsValid reports whether the message is valid. +// +// An invalid message is an empty, read-only value. +// +// An invalid message often corresponds to a nil pointer of the concrete +// message type, but the details are implementation dependent. +// Validity is not part of the protobuf data model, and may not +// be preserved in marshaling or other operations. +func (x *fastReflection_RemoveFromGlobalWhitelistRequest) IsValid() bool { + return x != nil +} + +// ProtoMethods returns optional fastReflectionFeature-path implementations of various operations. +// This method may return nil. +// +// The returned methods type is identical to +// "google.golang.org/protobuf/runtime/protoiface".Methods. +// Consult the protoiface package documentation for details. +func (x *fastReflection_RemoveFromGlobalWhitelistRequest) ProtoMethods() *protoiface.Methods { + size := func(input protoiface.SizeInput) protoiface.SizeOutput { + x := input.Message.Interface().(*RemoveFromGlobalWhitelistRequest) + if x == nil { + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: 0, + } + } + options := runtime.SizeInputToOptions(input) + _ = options + var n int + var l int + _ = l + l = len(x.Sender) + if l > 0 { + n += 1 + l + runtime.Sov(uint64(l)) + } + l = len(x.Address) + if l > 0 { + n += 1 + l + runtime.Sov(uint64(l)) + } + if x.unknownFields != nil { + n += len(x.unknownFields) + } + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: n, + } + } + + marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { + x := input.Message.Interface().(*RemoveFromGlobalWhitelistRequest) + if x == nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + options := runtime.MarshalInputToOptions(input) + _ = options + size := options.Size(x) + dAtA := make([]byte, size) + i := len(dAtA) + _ = i + var l int + _ = l + if x.unknownFields != nil { + i -= len(x.unknownFields) + copy(dAtA[i:], x.unknownFields) + } + if len(x.Address) > 0 { + i -= len(x.Address) + copy(dAtA[i:], x.Address) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.Address))) + i-- + dAtA[i] = 0x12 + } + if len(x.Sender) > 0 { + i -= len(x.Sender) + copy(dAtA[i:], x.Sender) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.Sender))) + i-- + dAtA[i] = 0xa + } + if input.Buf != nil { + input.Buf = append(input.Buf, dAtA...) + } else { + input.Buf = dAtA + } + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { + x := input.Message.Interface().(*RemoveFromGlobalWhitelistRequest) + if x == nil { + return protoiface.UnmarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Flags: input.Flags, + }, nil + } + options := runtime.UnmarshalInputToOptions(input) + _ = options + dAtA := input.Buf + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: RemoveFromGlobalWhitelistRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: RemoveFromGlobalWhitelistRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Sender", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + x.Sender = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Address", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + x.Address = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := runtime.Skip(dAtA[iNdEx:]) + if err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if (iNdEx + skippy) > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + if !options.DiscardUnknown { + x.unknownFields = append(x.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + } + iNdEx += skippy + } + } + + if iNdEx > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, nil + } + return &protoiface.Methods{ + NoUnkeyedLiterals: struct{}{}, + Flags: protoiface.SupportMarshalDeterministic | protoiface.SupportUnmarshalDiscardUnknown, + Size: size, + Marshal: marshal, + Unmarshal: unmarshal, + Merge: nil, + CheckInitialized: nil, + } +} + +var ( + md_RemoveFromGlobalWhitelistResponse protoreflect.MessageDescriptor +) + +func init() { + file_emissions_v8_tx_proto_init() + md_RemoveFromGlobalWhitelistResponse = File_emissions_v8_tx_proto.Messages().ByName("RemoveFromGlobalWhitelistResponse") +} + +var _ protoreflect.Message = (*fastReflection_RemoveFromGlobalWhitelistResponse)(nil) + +type fastReflection_RemoveFromGlobalWhitelistResponse RemoveFromGlobalWhitelistResponse + +func (x *RemoveFromGlobalWhitelistResponse) ProtoReflect() protoreflect.Message { + return (*fastReflection_RemoveFromGlobalWhitelistResponse)(x) +} + +func (x *RemoveFromGlobalWhitelistResponse) slowProtoReflect() protoreflect.Message { + mi := &file_emissions_v8_tx_proto_msgTypes[44] + 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) +} + +var _fastReflection_RemoveFromGlobalWhitelistResponse_messageType fastReflection_RemoveFromGlobalWhitelistResponse_messageType +var _ protoreflect.MessageType = fastReflection_RemoveFromGlobalWhitelistResponse_messageType{} + +type fastReflection_RemoveFromGlobalWhitelistResponse_messageType struct{} + +func (x fastReflection_RemoveFromGlobalWhitelistResponse_messageType) Zero() protoreflect.Message { + return (*fastReflection_RemoveFromGlobalWhitelistResponse)(nil) +} +func (x fastReflection_RemoveFromGlobalWhitelistResponse_messageType) New() protoreflect.Message { + return new(fastReflection_RemoveFromGlobalWhitelistResponse) +} +func (x fastReflection_RemoveFromGlobalWhitelistResponse_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_RemoveFromGlobalWhitelistResponse +} + +// Descriptor returns message descriptor, which contains only the protobuf +// type information for the message. +func (x *fastReflection_RemoveFromGlobalWhitelistResponse) Descriptor() protoreflect.MessageDescriptor { + return md_RemoveFromGlobalWhitelistResponse +} + +// Type returns the message type, which encapsulates both Go and protobuf +// type information. If the Go type information is not needed, +// it is recommended that the message descriptor be used instead. +func (x *fastReflection_RemoveFromGlobalWhitelistResponse) Type() protoreflect.MessageType { + return _fastReflection_RemoveFromGlobalWhitelistResponse_messageType +} + +// New returns a newly allocated and mutable empty message. +func (x *fastReflection_RemoveFromGlobalWhitelistResponse) New() protoreflect.Message { + return new(fastReflection_RemoveFromGlobalWhitelistResponse) +} + +// Interface unwraps the message reflection interface and +// returns the underlying ProtoMessage interface. +func (x *fastReflection_RemoveFromGlobalWhitelistResponse) Interface() protoreflect.ProtoMessage { + return (*RemoveFromGlobalWhitelistResponse)(x) +} + +// Range iterates over every populated field in an undefined order, +// calling f for each field descriptor and value encountered. +// Range returns immediately if f returns false. +// While iterating, mutating operations may only be performed +// on the current field descriptor. +func (x *fastReflection_RemoveFromGlobalWhitelistResponse) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { +} + +// Has reports whether a field is populated. +// +// Some fields have the property of nullability where it is possible to +// distinguish between the default value of a field and whether the field +// was explicitly populated with the default value. Singular message fields, +// member fields of a oneof, and proto2 scalar fields are nullable. Such +// fields are populated only if explicitly set. +// +// In other cases (aside from the nullable cases above), +// a proto3 scalar field is populated if it contains a non-zero value, and +// a repeated field is populated if it is non-empty. +func (x *fastReflection_RemoveFromGlobalWhitelistResponse) Has(fd protoreflect.FieldDescriptor) bool { + switch fd.FullName() { + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.RemoveFromGlobalWhitelistResponse")) + } + panic(fmt.Errorf("message emissions.v8.RemoveFromGlobalWhitelistResponse does not contain field %s", fd.FullName())) + } +} + +// Clear clears the field such that a subsequent Has call reports false. +// +// Clearing an extension field clears both the extension type and value +// associated with the given field number. +// +// Clear is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_RemoveFromGlobalWhitelistResponse) Clear(fd protoreflect.FieldDescriptor) { + switch fd.FullName() { + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.RemoveFromGlobalWhitelistResponse")) + } + panic(fmt.Errorf("message emissions.v8.RemoveFromGlobalWhitelistResponse does not contain field %s", fd.FullName())) + } +} + +// Get retrieves the value for a field. +// +// For unpopulated scalars, it returns the default value, where +// the default value of a bytes scalar is guaranteed to be a copy. +// For unpopulated composite types, it returns an empty, read-only view +// of the value; to obtain a mutable reference, use Mutable. +func (x *fastReflection_RemoveFromGlobalWhitelistResponse) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { + switch descriptor.FullName() { + default: + if descriptor.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.RemoveFromGlobalWhitelistResponse")) + } + panic(fmt.Errorf("message emissions.v8.RemoveFromGlobalWhitelistResponse does not contain field %s", descriptor.FullName())) + } +} + +// Set stores the value for a field. +// +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType. +// When setting a composite type, it is unspecified whether the stored value +// aliases the source's memory in any way. If the composite value is an +// empty, read-only value, then it panics. +// +// Set is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_RemoveFromGlobalWhitelistResponse) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { + switch fd.FullName() { + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.RemoveFromGlobalWhitelistResponse")) + } + panic(fmt.Errorf("message emissions.v8.RemoveFromGlobalWhitelistResponse does not contain field %s", fd.FullName())) + } +} + +// Mutable returns a mutable reference to a composite type. +// +// If the field is unpopulated, it may allocate a composite value. +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType +// if not already stored. +// It panics if the field does not contain a composite type. +// +// Mutable is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_RemoveFromGlobalWhitelistResponse) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.RemoveFromGlobalWhitelistResponse")) + } + panic(fmt.Errorf("message emissions.v8.RemoveFromGlobalWhitelistResponse does not contain field %s", fd.FullName())) + } +} + +// NewField returns a new value that is assignable to the field +// for the given descriptor. For scalars, this returns the default value. +// For lists, maps, and messages, this returns a new, empty, mutable value. +func (x *fastReflection_RemoveFromGlobalWhitelistResponse) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.RemoveFromGlobalWhitelistResponse")) + } + panic(fmt.Errorf("message emissions.v8.RemoveFromGlobalWhitelistResponse does not contain field %s", fd.FullName())) + } +} + +// WhichOneof reports which field within the oneof is populated, +// returning nil if none are populated. +// It panics if the oneof descriptor does not belong to this message. +func (x *fastReflection_RemoveFromGlobalWhitelistResponse) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { + switch d.FullName() { + default: + panic(fmt.Errorf("%s is not a oneof field in emissions.v8.RemoveFromGlobalWhitelistResponse", d.FullName())) + } + panic("unreachable") +} + +// GetUnknown retrieves the entire list of unknown fields. +// The caller may only mutate the contents of the RawFields +// if the mutated bytes are stored back into the message with SetUnknown. +func (x *fastReflection_RemoveFromGlobalWhitelistResponse) GetUnknown() protoreflect.RawFields { + return x.unknownFields +} + +// SetUnknown stores an entire list of unknown fields. +// The raw fields must be syntactically valid according to the wire format. +// An implementation may panic if this is not the case. +// Once stored, the caller must not mutate the content of the RawFields. +// An empty RawFields may be passed to clear the fields. +// +// SetUnknown is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_RemoveFromGlobalWhitelistResponse) SetUnknown(fields protoreflect.RawFields) { + x.unknownFields = fields +} + +// IsValid reports whether the message is valid. +// +// An invalid message is an empty, read-only value. +// +// An invalid message often corresponds to a nil pointer of the concrete +// message type, but the details are implementation dependent. +// Validity is not part of the protobuf data model, and may not +// be preserved in marshaling or other operations. +func (x *fastReflection_RemoveFromGlobalWhitelistResponse) IsValid() bool { + return x != nil +} + +// ProtoMethods returns optional fastReflectionFeature-path implementations of various operations. +// This method may return nil. +// +// The returned methods type is identical to +// "google.golang.org/protobuf/runtime/protoiface".Methods. +// Consult the protoiface package documentation for details. +func (x *fastReflection_RemoveFromGlobalWhitelistResponse) ProtoMethods() *protoiface.Methods { + size := func(input protoiface.SizeInput) protoiface.SizeOutput { + x := input.Message.Interface().(*RemoveFromGlobalWhitelistResponse) + if x == nil { + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: 0, + } + } + options := runtime.SizeInputToOptions(input) + _ = options + var n int + var l int + _ = l + if x.unknownFields != nil { + n += len(x.unknownFields) + } + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: n, + } + } + + marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { + x := input.Message.Interface().(*RemoveFromGlobalWhitelistResponse) + if x == nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + options := runtime.MarshalInputToOptions(input) + _ = options + size := options.Size(x) + dAtA := make([]byte, size) + i := len(dAtA) + _ = i + var l int + _ = l + if x.unknownFields != nil { + i -= len(x.unknownFields) + copy(dAtA[i:], x.unknownFields) + } + if input.Buf != nil { + input.Buf = append(input.Buf, dAtA...) + } else { + input.Buf = dAtA + } + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { + x := input.Message.Interface().(*RemoveFromGlobalWhitelistResponse) + if x == nil { + return protoiface.UnmarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Flags: input.Flags, + }, nil + } + options := runtime.UnmarshalInputToOptions(input) + _ = options + dAtA := input.Buf + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: RemoveFromGlobalWhitelistResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: RemoveFromGlobalWhitelistResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + default: + iNdEx = preIndex + skippy, err := runtime.Skip(dAtA[iNdEx:]) + if err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if (iNdEx + skippy) > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + if !options.DiscardUnknown { + x.unknownFields = append(x.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + } + iNdEx += skippy + } + } + + if iNdEx > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, nil + } + return &protoiface.Methods{ + NoUnkeyedLiterals: struct{}{}, + Flags: protoiface.SupportMarshalDeterministic | protoiface.SupportUnmarshalDiscardUnknown, + Size: size, + Marshal: marshal, + Unmarshal: unmarshal, + Merge: nil, + CheckInitialized: nil, + } +} + +var ( + md_AddToTopicCreatorWhitelistRequest protoreflect.MessageDescriptor + fd_AddToTopicCreatorWhitelistRequest_sender protoreflect.FieldDescriptor + fd_AddToTopicCreatorWhitelistRequest_address protoreflect.FieldDescriptor +) + +func init() { + file_emissions_v8_tx_proto_init() + md_AddToTopicCreatorWhitelistRequest = File_emissions_v8_tx_proto.Messages().ByName("AddToTopicCreatorWhitelistRequest") + fd_AddToTopicCreatorWhitelistRequest_sender = md_AddToTopicCreatorWhitelistRequest.Fields().ByName("sender") + fd_AddToTopicCreatorWhitelistRequest_address = md_AddToTopicCreatorWhitelistRequest.Fields().ByName("address") +} + +var _ protoreflect.Message = (*fastReflection_AddToTopicCreatorWhitelistRequest)(nil) + +type fastReflection_AddToTopicCreatorWhitelistRequest AddToTopicCreatorWhitelistRequest + +func (x *AddToTopicCreatorWhitelistRequest) ProtoReflect() protoreflect.Message { + return (*fastReflection_AddToTopicCreatorWhitelistRequest)(x) +} + +func (x *AddToTopicCreatorWhitelistRequest) slowProtoReflect() protoreflect.Message { + mi := &file_emissions_v8_tx_proto_msgTypes[45] + 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) +} + +var _fastReflection_AddToTopicCreatorWhitelistRequest_messageType fastReflection_AddToTopicCreatorWhitelistRequest_messageType +var _ protoreflect.MessageType = fastReflection_AddToTopicCreatorWhitelistRequest_messageType{} + +type fastReflection_AddToTopicCreatorWhitelistRequest_messageType struct{} + +func (x fastReflection_AddToTopicCreatorWhitelistRequest_messageType) Zero() protoreflect.Message { + return (*fastReflection_AddToTopicCreatorWhitelistRequest)(nil) +} +func (x fastReflection_AddToTopicCreatorWhitelistRequest_messageType) New() protoreflect.Message { + return new(fastReflection_AddToTopicCreatorWhitelistRequest) +} +func (x fastReflection_AddToTopicCreatorWhitelistRequest_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_AddToTopicCreatorWhitelistRequest +} + +// Descriptor returns message descriptor, which contains only the protobuf +// type information for the message. +func (x *fastReflection_AddToTopicCreatorWhitelistRequest) Descriptor() protoreflect.MessageDescriptor { + return md_AddToTopicCreatorWhitelistRequest +} + +// Type returns the message type, which encapsulates both Go and protobuf +// type information. If the Go type information is not needed, +// it is recommended that the message descriptor be used instead. +func (x *fastReflection_AddToTopicCreatorWhitelistRequest) Type() protoreflect.MessageType { + return _fastReflection_AddToTopicCreatorWhitelistRequest_messageType +} + +// New returns a newly allocated and mutable empty message. +func (x *fastReflection_AddToTopicCreatorWhitelistRequest) New() protoreflect.Message { + return new(fastReflection_AddToTopicCreatorWhitelistRequest) +} + +// Interface unwraps the message reflection interface and +// returns the underlying ProtoMessage interface. +func (x *fastReflection_AddToTopicCreatorWhitelistRequest) Interface() protoreflect.ProtoMessage { + return (*AddToTopicCreatorWhitelistRequest)(x) +} + +// Range iterates over every populated field in an undefined order, +// calling f for each field descriptor and value encountered. +// Range returns immediately if f returns false. +// While iterating, mutating operations may only be performed +// on the current field descriptor. +func (x *fastReflection_AddToTopicCreatorWhitelistRequest) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { + if x.Sender != "" { + value := protoreflect.ValueOfString(x.Sender) + if !f(fd_AddToTopicCreatorWhitelistRequest_sender, value) { + return + } + } + if x.Address != "" { + value := protoreflect.ValueOfString(x.Address) + if !f(fd_AddToTopicCreatorWhitelistRequest_address, value) { + return + } + } +} + +// Has reports whether a field is populated. +// +// Some fields have the property of nullability where it is possible to +// distinguish between the default value of a field and whether the field +// was explicitly populated with the default value. Singular message fields, +// member fields of a oneof, and proto2 scalar fields are nullable. Such +// fields are populated only if explicitly set. +// +// In other cases (aside from the nullable cases above), +// a proto3 scalar field is populated if it contains a non-zero value, and +// a repeated field is populated if it is non-empty. +func (x *fastReflection_AddToTopicCreatorWhitelistRequest) Has(fd protoreflect.FieldDescriptor) bool { + switch fd.FullName() { + case "emissions.v8.AddToTopicCreatorWhitelistRequest.sender": + return x.Sender != "" + case "emissions.v8.AddToTopicCreatorWhitelistRequest.address": + return x.Address != "" + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.AddToTopicCreatorWhitelistRequest")) + } + panic(fmt.Errorf("message emissions.v8.AddToTopicCreatorWhitelistRequest does not contain field %s", fd.FullName())) + } +} + +// Clear clears the field such that a subsequent Has call reports false. +// +// Clearing an extension field clears both the extension type and value +// associated with the given field number. +// +// Clear is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_AddToTopicCreatorWhitelistRequest) Clear(fd protoreflect.FieldDescriptor) { + switch fd.FullName() { + case "emissions.v8.AddToTopicCreatorWhitelistRequest.sender": + x.Sender = "" + case "emissions.v8.AddToTopicCreatorWhitelistRequest.address": + x.Address = "" + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.AddToTopicCreatorWhitelistRequest")) + } + panic(fmt.Errorf("message emissions.v8.AddToTopicCreatorWhitelistRequest does not contain field %s", fd.FullName())) + } +} + +// Get retrieves the value for a field. +// +// For unpopulated scalars, it returns the default value, where +// the default value of a bytes scalar is guaranteed to be a copy. +// For unpopulated composite types, it returns an empty, read-only view +// of the value; to obtain a mutable reference, use Mutable. +func (x *fastReflection_AddToTopicCreatorWhitelistRequest) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { + switch descriptor.FullName() { + case "emissions.v8.AddToTopicCreatorWhitelistRequest.sender": + value := x.Sender + return protoreflect.ValueOfString(value) + case "emissions.v8.AddToTopicCreatorWhitelistRequest.address": + value := x.Address + return protoreflect.ValueOfString(value) + default: + if descriptor.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.AddToTopicCreatorWhitelistRequest")) + } + panic(fmt.Errorf("message emissions.v8.AddToTopicCreatorWhitelistRequest does not contain field %s", descriptor.FullName())) + } +} + +// Set stores the value for a field. +// +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType. +// When setting a composite type, it is unspecified whether the stored value +// aliases the source's memory in any way. If the composite value is an +// empty, read-only value, then it panics. +// +// Set is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_AddToTopicCreatorWhitelistRequest) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { + switch fd.FullName() { + case "emissions.v8.AddToTopicCreatorWhitelistRequest.sender": + x.Sender = value.Interface().(string) + case "emissions.v8.AddToTopicCreatorWhitelistRequest.address": + x.Address = value.Interface().(string) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.AddToTopicCreatorWhitelistRequest")) + } + panic(fmt.Errorf("message emissions.v8.AddToTopicCreatorWhitelistRequest does not contain field %s", fd.FullName())) + } +} + +// Mutable returns a mutable reference to a composite type. +// +// If the field is unpopulated, it may allocate a composite value. +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType +// if not already stored. +// It panics if the field does not contain a composite type. +// +// Mutable is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_AddToTopicCreatorWhitelistRequest) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.AddToTopicCreatorWhitelistRequest.sender": + panic(fmt.Errorf("field sender of message emissions.v8.AddToTopicCreatorWhitelistRequest is not mutable")) + case "emissions.v8.AddToTopicCreatorWhitelistRequest.address": + panic(fmt.Errorf("field address of message emissions.v8.AddToTopicCreatorWhitelistRequest is not mutable")) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.AddToTopicCreatorWhitelistRequest")) + } + panic(fmt.Errorf("message emissions.v8.AddToTopicCreatorWhitelistRequest does not contain field %s", fd.FullName())) + } +} + +// NewField returns a new value that is assignable to the field +// for the given descriptor. For scalars, this returns the default value. +// For lists, maps, and messages, this returns a new, empty, mutable value. +func (x *fastReflection_AddToTopicCreatorWhitelistRequest) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.AddToTopicCreatorWhitelistRequest.sender": + return protoreflect.ValueOfString("") + case "emissions.v8.AddToTopicCreatorWhitelistRequest.address": + return protoreflect.ValueOfString("") + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.AddToTopicCreatorWhitelistRequest")) + } + panic(fmt.Errorf("message emissions.v8.AddToTopicCreatorWhitelistRequest does not contain field %s", fd.FullName())) + } +} + +// WhichOneof reports which field within the oneof is populated, +// returning nil if none are populated. +// It panics if the oneof descriptor does not belong to this message. +func (x *fastReflection_AddToTopicCreatorWhitelistRequest) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { + switch d.FullName() { + default: + panic(fmt.Errorf("%s is not a oneof field in emissions.v8.AddToTopicCreatorWhitelistRequest", d.FullName())) + } + panic("unreachable") +} + +// GetUnknown retrieves the entire list of unknown fields. +// The caller may only mutate the contents of the RawFields +// if the mutated bytes are stored back into the message with SetUnknown. +func (x *fastReflection_AddToTopicCreatorWhitelistRequest) GetUnknown() protoreflect.RawFields { + return x.unknownFields +} + +// SetUnknown stores an entire list of unknown fields. +// The raw fields must be syntactically valid according to the wire format. +// An implementation may panic if this is not the case. +// Once stored, the caller must not mutate the content of the RawFields. +// An empty RawFields may be passed to clear the fields. +// +// SetUnknown is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_AddToTopicCreatorWhitelistRequest) SetUnknown(fields protoreflect.RawFields) { + x.unknownFields = fields +} + +// IsValid reports whether the message is valid. +// +// An invalid message is an empty, read-only value. +// +// An invalid message often corresponds to a nil pointer of the concrete +// message type, but the details are implementation dependent. +// Validity is not part of the protobuf data model, and may not +// be preserved in marshaling or other operations. +func (x *fastReflection_AddToTopicCreatorWhitelistRequest) IsValid() bool { + return x != nil +} + +// ProtoMethods returns optional fastReflectionFeature-path implementations of various operations. +// This method may return nil. +// +// The returned methods type is identical to +// "google.golang.org/protobuf/runtime/protoiface".Methods. +// Consult the protoiface package documentation for details. +func (x *fastReflection_AddToTopicCreatorWhitelistRequest) ProtoMethods() *protoiface.Methods { + size := func(input protoiface.SizeInput) protoiface.SizeOutput { + x := input.Message.Interface().(*AddToTopicCreatorWhitelistRequest) + if x == nil { + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: 0, + } + } + options := runtime.SizeInputToOptions(input) + _ = options + var n int + var l int + _ = l + l = len(x.Sender) + if l > 0 { + n += 1 + l + runtime.Sov(uint64(l)) + } + l = len(x.Address) + if l > 0 { + n += 1 + l + runtime.Sov(uint64(l)) + } + if x.unknownFields != nil { + n += len(x.unknownFields) + } + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: n, + } + } + + marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { + x := input.Message.Interface().(*AddToTopicCreatorWhitelistRequest) + if x == nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + options := runtime.MarshalInputToOptions(input) + _ = options + size := options.Size(x) + dAtA := make([]byte, size) + i := len(dAtA) + _ = i + var l int + _ = l + if x.unknownFields != nil { + i -= len(x.unknownFields) + copy(dAtA[i:], x.unknownFields) + } + if len(x.Address) > 0 { + i -= len(x.Address) + copy(dAtA[i:], x.Address) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.Address))) + i-- + dAtA[i] = 0x12 + } + if len(x.Sender) > 0 { + i -= len(x.Sender) + copy(dAtA[i:], x.Sender) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.Sender))) + i-- + dAtA[i] = 0xa + } + if input.Buf != nil { + input.Buf = append(input.Buf, dAtA...) + } else { + input.Buf = dAtA + } + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { + x := input.Message.Interface().(*AddToTopicCreatorWhitelistRequest) + if x == nil { + return protoiface.UnmarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Flags: input.Flags, + }, nil + } + options := runtime.UnmarshalInputToOptions(input) + _ = options + dAtA := input.Buf + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: AddToTopicCreatorWhitelistRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: AddToTopicCreatorWhitelistRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Sender", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + x.Sender = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Address", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + x.Address = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := runtime.Skip(dAtA[iNdEx:]) + if err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if (iNdEx + skippy) > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + if !options.DiscardUnknown { + x.unknownFields = append(x.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + } + iNdEx += skippy + } + } + + if iNdEx > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, nil + } + return &protoiface.Methods{ + NoUnkeyedLiterals: struct{}{}, + Flags: protoiface.SupportMarshalDeterministic | protoiface.SupportUnmarshalDiscardUnknown, + Size: size, + Marshal: marshal, + Unmarshal: unmarshal, + Merge: nil, + CheckInitialized: nil, + } +} + +var ( + md_AddToTopicCreatorWhitelistResponse protoreflect.MessageDescriptor +) + +func init() { + file_emissions_v8_tx_proto_init() + md_AddToTopicCreatorWhitelistResponse = File_emissions_v8_tx_proto.Messages().ByName("AddToTopicCreatorWhitelistResponse") +} + +var _ protoreflect.Message = (*fastReflection_AddToTopicCreatorWhitelistResponse)(nil) + +type fastReflection_AddToTopicCreatorWhitelistResponse AddToTopicCreatorWhitelistResponse + +func (x *AddToTopicCreatorWhitelistResponse) ProtoReflect() protoreflect.Message { + return (*fastReflection_AddToTopicCreatorWhitelistResponse)(x) +} + +func (x *AddToTopicCreatorWhitelistResponse) slowProtoReflect() protoreflect.Message { + mi := &file_emissions_v8_tx_proto_msgTypes[46] + 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) +} + +var _fastReflection_AddToTopicCreatorWhitelistResponse_messageType fastReflection_AddToTopicCreatorWhitelistResponse_messageType +var _ protoreflect.MessageType = fastReflection_AddToTopicCreatorWhitelistResponse_messageType{} + +type fastReflection_AddToTopicCreatorWhitelistResponse_messageType struct{} + +func (x fastReflection_AddToTopicCreatorWhitelistResponse_messageType) Zero() protoreflect.Message { + return (*fastReflection_AddToTopicCreatorWhitelistResponse)(nil) +} +func (x fastReflection_AddToTopicCreatorWhitelistResponse_messageType) New() protoreflect.Message { + return new(fastReflection_AddToTopicCreatorWhitelistResponse) +} +func (x fastReflection_AddToTopicCreatorWhitelistResponse_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_AddToTopicCreatorWhitelistResponse +} + +// Descriptor returns message descriptor, which contains only the protobuf +// type information for the message. +func (x *fastReflection_AddToTopicCreatorWhitelistResponse) Descriptor() protoreflect.MessageDescriptor { + return md_AddToTopicCreatorWhitelistResponse +} + +// Type returns the message type, which encapsulates both Go and protobuf +// type information. If the Go type information is not needed, +// it is recommended that the message descriptor be used instead. +func (x *fastReflection_AddToTopicCreatorWhitelistResponse) Type() protoreflect.MessageType { + return _fastReflection_AddToTopicCreatorWhitelistResponse_messageType +} + +// New returns a newly allocated and mutable empty message. +func (x *fastReflection_AddToTopicCreatorWhitelistResponse) New() protoreflect.Message { + return new(fastReflection_AddToTopicCreatorWhitelistResponse) +} + +// Interface unwraps the message reflection interface and +// returns the underlying ProtoMessage interface. +func (x *fastReflection_AddToTopicCreatorWhitelistResponse) Interface() protoreflect.ProtoMessage { + return (*AddToTopicCreatorWhitelistResponse)(x) +} + +// Range iterates over every populated field in an undefined order, +// calling f for each field descriptor and value encountered. +// Range returns immediately if f returns false. +// While iterating, mutating operations may only be performed +// on the current field descriptor. +func (x *fastReflection_AddToTopicCreatorWhitelistResponse) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { +} + +// Has reports whether a field is populated. +// +// Some fields have the property of nullability where it is possible to +// distinguish between the default value of a field and whether the field +// was explicitly populated with the default value. Singular message fields, +// member fields of a oneof, and proto2 scalar fields are nullable. Such +// fields are populated only if explicitly set. +// +// In other cases (aside from the nullable cases above), +// a proto3 scalar field is populated if it contains a non-zero value, and +// a repeated field is populated if it is non-empty. +func (x *fastReflection_AddToTopicCreatorWhitelistResponse) Has(fd protoreflect.FieldDescriptor) bool { + switch fd.FullName() { + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.AddToTopicCreatorWhitelistResponse")) + } + panic(fmt.Errorf("message emissions.v8.AddToTopicCreatorWhitelistResponse does not contain field %s", fd.FullName())) + } +} + +// Clear clears the field such that a subsequent Has call reports false. +// +// Clearing an extension field clears both the extension type and value +// associated with the given field number. +// +// Clear is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_AddToTopicCreatorWhitelistResponse) Clear(fd protoreflect.FieldDescriptor) { + switch fd.FullName() { + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.AddToTopicCreatorWhitelistResponse")) + } + panic(fmt.Errorf("message emissions.v8.AddToTopicCreatorWhitelistResponse does not contain field %s", fd.FullName())) + } +} + +// Get retrieves the value for a field. +// +// For unpopulated scalars, it returns the default value, where +// the default value of a bytes scalar is guaranteed to be a copy. +// For unpopulated composite types, it returns an empty, read-only view +// of the value; to obtain a mutable reference, use Mutable. +func (x *fastReflection_AddToTopicCreatorWhitelistResponse) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { + switch descriptor.FullName() { + default: + if descriptor.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.AddToTopicCreatorWhitelistResponse")) + } + panic(fmt.Errorf("message emissions.v8.AddToTopicCreatorWhitelistResponse does not contain field %s", descriptor.FullName())) + } +} + +// Set stores the value for a field. +// +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType. +// When setting a composite type, it is unspecified whether the stored value +// aliases the source's memory in any way. If the composite value is an +// empty, read-only value, then it panics. +// +// Set is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_AddToTopicCreatorWhitelistResponse) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { + switch fd.FullName() { + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.AddToTopicCreatorWhitelistResponse")) + } + panic(fmt.Errorf("message emissions.v8.AddToTopicCreatorWhitelistResponse does not contain field %s", fd.FullName())) + } +} + +// Mutable returns a mutable reference to a composite type. +// +// If the field is unpopulated, it may allocate a composite value. +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType +// if not already stored. +// It panics if the field does not contain a composite type. +// +// Mutable is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_AddToTopicCreatorWhitelistResponse) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.AddToTopicCreatorWhitelistResponse")) + } + panic(fmt.Errorf("message emissions.v8.AddToTopicCreatorWhitelistResponse does not contain field %s", fd.FullName())) + } +} + +// NewField returns a new value that is assignable to the field +// for the given descriptor. For scalars, this returns the default value. +// For lists, maps, and messages, this returns a new, empty, mutable value. +func (x *fastReflection_AddToTopicCreatorWhitelistResponse) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.AddToTopicCreatorWhitelistResponse")) + } + panic(fmt.Errorf("message emissions.v8.AddToTopicCreatorWhitelistResponse does not contain field %s", fd.FullName())) + } +} + +// WhichOneof reports which field within the oneof is populated, +// returning nil if none are populated. +// It panics if the oneof descriptor does not belong to this message. +func (x *fastReflection_AddToTopicCreatorWhitelistResponse) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { + switch d.FullName() { + default: + panic(fmt.Errorf("%s is not a oneof field in emissions.v8.AddToTopicCreatorWhitelistResponse", d.FullName())) + } + panic("unreachable") +} + +// GetUnknown retrieves the entire list of unknown fields. +// The caller may only mutate the contents of the RawFields +// if the mutated bytes are stored back into the message with SetUnknown. +func (x *fastReflection_AddToTopicCreatorWhitelistResponse) GetUnknown() protoreflect.RawFields { + return x.unknownFields +} + +// SetUnknown stores an entire list of unknown fields. +// The raw fields must be syntactically valid according to the wire format. +// An implementation may panic if this is not the case. +// Once stored, the caller must not mutate the content of the RawFields. +// An empty RawFields may be passed to clear the fields. +// +// SetUnknown is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_AddToTopicCreatorWhitelistResponse) SetUnknown(fields protoreflect.RawFields) { + x.unknownFields = fields +} + +// IsValid reports whether the message is valid. +// +// An invalid message is an empty, read-only value. +// +// An invalid message often corresponds to a nil pointer of the concrete +// message type, but the details are implementation dependent. +// Validity is not part of the protobuf data model, and may not +// be preserved in marshaling or other operations. +func (x *fastReflection_AddToTopicCreatorWhitelistResponse) IsValid() bool { + return x != nil +} + +// ProtoMethods returns optional fastReflectionFeature-path implementations of various operations. +// This method may return nil. +// +// The returned methods type is identical to +// "google.golang.org/protobuf/runtime/protoiface".Methods. +// Consult the protoiface package documentation for details. +func (x *fastReflection_AddToTopicCreatorWhitelistResponse) ProtoMethods() *protoiface.Methods { + size := func(input protoiface.SizeInput) protoiface.SizeOutput { + x := input.Message.Interface().(*AddToTopicCreatorWhitelistResponse) + if x == nil { + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: 0, + } + } + options := runtime.SizeInputToOptions(input) + _ = options + var n int + var l int + _ = l + if x.unknownFields != nil { + n += len(x.unknownFields) + } + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: n, + } + } + + marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { + x := input.Message.Interface().(*AddToTopicCreatorWhitelistResponse) + if x == nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + options := runtime.MarshalInputToOptions(input) + _ = options + size := options.Size(x) + dAtA := make([]byte, size) + i := len(dAtA) + _ = i + var l int + _ = l + if x.unknownFields != nil { + i -= len(x.unknownFields) + copy(dAtA[i:], x.unknownFields) + } + if input.Buf != nil { + input.Buf = append(input.Buf, dAtA...) + } else { + input.Buf = dAtA + } + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { + x := input.Message.Interface().(*AddToTopicCreatorWhitelistResponse) + if x == nil { + return protoiface.UnmarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Flags: input.Flags, + }, nil + } + options := runtime.UnmarshalInputToOptions(input) + _ = options + dAtA := input.Buf + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: AddToTopicCreatorWhitelistResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: AddToTopicCreatorWhitelistResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + default: + iNdEx = preIndex + skippy, err := runtime.Skip(dAtA[iNdEx:]) + if err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if (iNdEx + skippy) > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + if !options.DiscardUnknown { + x.unknownFields = append(x.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + } + iNdEx += skippy + } + } + + if iNdEx > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, nil + } + return &protoiface.Methods{ + NoUnkeyedLiterals: struct{}{}, + Flags: protoiface.SupportMarshalDeterministic | protoiface.SupportUnmarshalDiscardUnknown, + Size: size, + Marshal: marshal, + Unmarshal: unmarshal, + Merge: nil, + CheckInitialized: nil, + } +} + +var ( + md_AddToGlobalWorkerWhitelistRequest protoreflect.MessageDescriptor + fd_AddToGlobalWorkerWhitelistRequest_sender protoreflect.FieldDescriptor + fd_AddToGlobalWorkerWhitelistRequest_address protoreflect.FieldDescriptor +) + +func init() { + file_emissions_v8_tx_proto_init() + md_AddToGlobalWorkerWhitelistRequest = File_emissions_v8_tx_proto.Messages().ByName("AddToGlobalWorkerWhitelistRequest") + fd_AddToGlobalWorkerWhitelistRequest_sender = md_AddToGlobalWorkerWhitelistRequest.Fields().ByName("sender") + fd_AddToGlobalWorkerWhitelistRequest_address = md_AddToGlobalWorkerWhitelistRequest.Fields().ByName("address") +} + +var _ protoreflect.Message = (*fastReflection_AddToGlobalWorkerWhitelistRequest)(nil) + +type fastReflection_AddToGlobalWorkerWhitelistRequest AddToGlobalWorkerWhitelistRequest + +func (x *AddToGlobalWorkerWhitelistRequest) ProtoReflect() protoreflect.Message { + return (*fastReflection_AddToGlobalWorkerWhitelistRequest)(x) +} + +func (x *AddToGlobalWorkerWhitelistRequest) slowProtoReflect() protoreflect.Message { + mi := &file_emissions_v8_tx_proto_msgTypes[47] + 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) +} + +var _fastReflection_AddToGlobalWorkerWhitelistRequest_messageType fastReflection_AddToGlobalWorkerWhitelistRequest_messageType +var _ protoreflect.MessageType = fastReflection_AddToGlobalWorkerWhitelistRequest_messageType{} + +type fastReflection_AddToGlobalWorkerWhitelistRequest_messageType struct{} + +func (x fastReflection_AddToGlobalWorkerWhitelistRequest_messageType) Zero() protoreflect.Message { + return (*fastReflection_AddToGlobalWorkerWhitelistRequest)(nil) +} +func (x fastReflection_AddToGlobalWorkerWhitelistRequest_messageType) New() protoreflect.Message { + return new(fastReflection_AddToGlobalWorkerWhitelistRequest) +} +func (x fastReflection_AddToGlobalWorkerWhitelistRequest_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_AddToGlobalWorkerWhitelistRequest +} + +// Descriptor returns message descriptor, which contains only the protobuf +// type information for the message. +func (x *fastReflection_AddToGlobalWorkerWhitelistRequest) Descriptor() protoreflect.MessageDescriptor { + return md_AddToGlobalWorkerWhitelistRequest +} + +// Type returns the message type, which encapsulates both Go and protobuf +// type information. If the Go type information is not needed, +// it is recommended that the message descriptor be used instead. +func (x *fastReflection_AddToGlobalWorkerWhitelistRequest) Type() protoreflect.MessageType { + return _fastReflection_AddToGlobalWorkerWhitelistRequest_messageType +} + +// New returns a newly allocated and mutable empty message. +func (x *fastReflection_AddToGlobalWorkerWhitelistRequest) New() protoreflect.Message { + return new(fastReflection_AddToGlobalWorkerWhitelistRequest) +} + +// Interface unwraps the message reflection interface and +// returns the underlying ProtoMessage interface. +func (x *fastReflection_AddToGlobalWorkerWhitelistRequest) Interface() protoreflect.ProtoMessage { + return (*AddToGlobalWorkerWhitelistRequest)(x) +} + +// Range iterates over every populated field in an undefined order, +// calling f for each field descriptor and value encountered. +// Range returns immediately if f returns false. +// While iterating, mutating operations may only be performed +// on the current field descriptor. +func (x *fastReflection_AddToGlobalWorkerWhitelistRequest) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { + if x.Sender != "" { + value := protoreflect.ValueOfString(x.Sender) + if !f(fd_AddToGlobalWorkerWhitelistRequest_sender, value) { + return + } + } + if x.Address != "" { + value := protoreflect.ValueOfString(x.Address) + if !f(fd_AddToGlobalWorkerWhitelistRequest_address, value) { + return + } + } +} + +// Has reports whether a field is populated. +// +// Some fields have the property of nullability where it is possible to +// distinguish between the default value of a field and whether the field +// was explicitly populated with the default value. Singular message fields, +// member fields of a oneof, and proto2 scalar fields are nullable. Such +// fields are populated only if explicitly set. +// +// In other cases (aside from the nullable cases above), +// a proto3 scalar field is populated if it contains a non-zero value, and +// a repeated field is populated if it is non-empty. +func (x *fastReflection_AddToGlobalWorkerWhitelistRequest) Has(fd protoreflect.FieldDescriptor) bool { + switch fd.FullName() { + case "emissions.v8.AddToGlobalWorkerWhitelistRequest.sender": + return x.Sender != "" + case "emissions.v8.AddToGlobalWorkerWhitelistRequest.address": + return x.Address != "" + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.AddToGlobalWorkerWhitelistRequest")) + } + panic(fmt.Errorf("message emissions.v8.AddToGlobalWorkerWhitelistRequest does not contain field %s", fd.FullName())) + } +} + +// Clear clears the field such that a subsequent Has call reports false. +// +// Clearing an extension field clears both the extension type and value +// associated with the given field number. +// +// Clear is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_AddToGlobalWorkerWhitelistRequest) Clear(fd protoreflect.FieldDescriptor) { + switch fd.FullName() { + case "emissions.v8.AddToGlobalWorkerWhitelistRequest.sender": + x.Sender = "" + case "emissions.v8.AddToGlobalWorkerWhitelistRequest.address": + x.Address = "" + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.AddToGlobalWorkerWhitelistRequest")) + } + panic(fmt.Errorf("message emissions.v8.AddToGlobalWorkerWhitelistRequest does not contain field %s", fd.FullName())) + } +} + +// Get retrieves the value for a field. +// +// For unpopulated scalars, it returns the default value, where +// the default value of a bytes scalar is guaranteed to be a copy. +// For unpopulated composite types, it returns an empty, read-only view +// of the value; to obtain a mutable reference, use Mutable. +func (x *fastReflection_AddToGlobalWorkerWhitelistRequest) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { + switch descriptor.FullName() { + case "emissions.v8.AddToGlobalWorkerWhitelistRequest.sender": + value := x.Sender + return protoreflect.ValueOfString(value) + case "emissions.v8.AddToGlobalWorkerWhitelistRequest.address": + value := x.Address + return protoreflect.ValueOfString(value) + default: + if descriptor.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.AddToGlobalWorkerWhitelistRequest")) + } + panic(fmt.Errorf("message emissions.v8.AddToGlobalWorkerWhitelistRequest does not contain field %s", descriptor.FullName())) + } +} + +// Set stores the value for a field. +// +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType. +// When setting a composite type, it is unspecified whether the stored value +// aliases the source's memory in any way. If the composite value is an +// empty, read-only value, then it panics. +// +// Set is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_AddToGlobalWorkerWhitelistRequest) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { + switch fd.FullName() { + case "emissions.v8.AddToGlobalWorkerWhitelistRequest.sender": + x.Sender = value.Interface().(string) + case "emissions.v8.AddToGlobalWorkerWhitelistRequest.address": + x.Address = value.Interface().(string) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.AddToGlobalWorkerWhitelistRequest")) + } + panic(fmt.Errorf("message emissions.v8.AddToGlobalWorkerWhitelistRequest does not contain field %s", fd.FullName())) + } +} + +// Mutable returns a mutable reference to a composite type. +// +// If the field is unpopulated, it may allocate a composite value. +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType +// if not already stored. +// It panics if the field does not contain a composite type. +// +// Mutable is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_AddToGlobalWorkerWhitelistRequest) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.AddToGlobalWorkerWhitelistRequest.sender": + panic(fmt.Errorf("field sender of message emissions.v8.AddToGlobalWorkerWhitelistRequest is not mutable")) + case "emissions.v8.AddToGlobalWorkerWhitelistRequest.address": + panic(fmt.Errorf("field address of message emissions.v8.AddToGlobalWorkerWhitelistRequest is not mutable")) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.AddToGlobalWorkerWhitelistRequest")) + } + panic(fmt.Errorf("message emissions.v8.AddToGlobalWorkerWhitelistRequest does not contain field %s", fd.FullName())) + } +} + +// NewField returns a new value that is assignable to the field +// for the given descriptor. For scalars, this returns the default value. +// For lists, maps, and messages, this returns a new, empty, mutable value. +func (x *fastReflection_AddToGlobalWorkerWhitelistRequest) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.AddToGlobalWorkerWhitelistRequest.sender": + return protoreflect.ValueOfString("") + case "emissions.v8.AddToGlobalWorkerWhitelistRequest.address": + return protoreflect.ValueOfString("") + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.AddToGlobalWorkerWhitelistRequest")) + } + panic(fmt.Errorf("message emissions.v8.AddToGlobalWorkerWhitelistRequest does not contain field %s", fd.FullName())) + } +} + +// WhichOneof reports which field within the oneof is populated, +// returning nil if none are populated. +// It panics if the oneof descriptor does not belong to this message. +func (x *fastReflection_AddToGlobalWorkerWhitelistRequest) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { + switch d.FullName() { + default: + panic(fmt.Errorf("%s is not a oneof field in emissions.v8.AddToGlobalWorkerWhitelistRequest", d.FullName())) + } + panic("unreachable") +} + +// GetUnknown retrieves the entire list of unknown fields. +// The caller may only mutate the contents of the RawFields +// if the mutated bytes are stored back into the message with SetUnknown. +func (x *fastReflection_AddToGlobalWorkerWhitelistRequest) GetUnknown() protoreflect.RawFields { + return x.unknownFields +} + +// SetUnknown stores an entire list of unknown fields. +// The raw fields must be syntactically valid according to the wire format. +// An implementation may panic if this is not the case. +// Once stored, the caller must not mutate the content of the RawFields. +// An empty RawFields may be passed to clear the fields. +// +// SetUnknown is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_AddToGlobalWorkerWhitelistRequest) SetUnknown(fields protoreflect.RawFields) { + x.unknownFields = fields +} + +// IsValid reports whether the message is valid. +// +// An invalid message is an empty, read-only value. +// +// An invalid message often corresponds to a nil pointer of the concrete +// message type, but the details are implementation dependent. +// Validity is not part of the protobuf data model, and may not +// be preserved in marshaling or other operations. +func (x *fastReflection_AddToGlobalWorkerWhitelistRequest) IsValid() bool { + return x != nil +} + +// ProtoMethods returns optional fastReflectionFeature-path implementations of various operations. +// This method may return nil. +// +// The returned methods type is identical to +// "google.golang.org/protobuf/runtime/protoiface".Methods. +// Consult the protoiface package documentation for details. +func (x *fastReflection_AddToGlobalWorkerWhitelistRequest) ProtoMethods() *protoiface.Methods { + size := func(input protoiface.SizeInput) protoiface.SizeOutput { + x := input.Message.Interface().(*AddToGlobalWorkerWhitelistRequest) + if x == nil { + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: 0, + } + } + options := runtime.SizeInputToOptions(input) + _ = options + var n int + var l int + _ = l + l = len(x.Sender) + if l > 0 { + n += 1 + l + runtime.Sov(uint64(l)) + } + l = len(x.Address) + if l > 0 { + n += 1 + l + runtime.Sov(uint64(l)) + } + if x.unknownFields != nil { + n += len(x.unknownFields) + } + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: n, + } + } + + marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { + x := input.Message.Interface().(*AddToGlobalWorkerWhitelistRequest) + if x == nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + options := runtime.MarshalInputToOptions(input) + _ = options + size := options.Size(x) + dAtA := make([]byte, size) + i := len(dAtA) + _ = i + var l int + _ = l + if x.unknownFields != nil { + i -= len(x.unknownFields) + copy(dAtA[i:], x.unknownFields) + } + if len(x.Address) > 0 { + i -= len(x.Address) + copy(dAtA[i:], x.Address) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.Address))) + i-- + dAtA[i] = 0x12 + } + if len(x.Sender) > 0 { + i -= len(x.Sender) + copy(dAtA[i:], x.Sender) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.Sender))) + i-- + dAtA[i] = 0xa + } + if input.Buf != nil { + input.Buf = append(input.Buf, dAtA...) + } else { + input.Buf = dAtA + } + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { + x := input.Message.Interface().(*AddToGlobalWorkerWhitelistRequest) + if x == nil { + return protoiface.UnmarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Flags: input.Flags, + }, nil + } + options := runtime.UnmarshalInputToOptions(input) + _ = options + dAtA := input.Buf + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: AddToGlobalWorkerWhitelistRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: AddToGlobalWorkerWhitelistRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Sender", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + x.Sender = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Address", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + x.Address = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := runtime.Skip(dAtA[iNdEx:]) + if err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if (iNdEx + skippy) > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + if !options.DiscardUnknown { + x.unknownFields = append(x.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + } + iNdEx += skippy + } + } + + if iNdEx > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, nil + } + return &protoiface.Methods{ + NoUnkeyedLiterals: struct{}{}, + Flags: protoiface.SupportMarshalDeterministic | protoiface.SupportUnmarshalDiscardUnknown, + Size: size, + Marshal: marshal, + Unmarshal: unmarshal, + Merge: nil, + CheckInitialized: nil, + } +} + +var ( + md_AddToGlobalWorkerWhitelistResponse protoreflect.MessageDescriptor +) + +func init() { + file_emissions_v8_tx_proto_init() + md_AddToGlobalWorkerWhitelistResponse = File_emissions_v8_tx_proto.Messages().ByName("AddToGlobalWorkerWhitelistResponse") +} + +var _ protoreflect.Message = (*fastReflection_AddToGlobalWorkerWhitelistResponse)(nil) + +type fastReflection_AddToGlobalWorkerWhitelistResponse AddToGlobalWorkerWhitelistResponse + +func (x *AddToGlobalWorkerWhitelistResponse) ProtoReflect() protoreflect.Message { + return (*fastReflection_AddToGlobalWorkerWhitelistResponse)(x) +} + +func (x *AddToGlobalWorkerWhitelistResponse) slowProtoReflect() protoreflect.Message { + mi := &file_emissions_v8_tx_proto_msgTypes[48] + 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) +} + +var _fastReflection_AddToGlobalWorkerWhitelistResponse_messageType fastReflection_AddToGlobalWorkerWhitelistResponse_messageType +var _ protoreflect.MessageType = fastReflection_AddToGlobalWorkerWhitelistResponse_messageType{} + +type fastReflection_AddToGlobalWorkerWhitelistResponse_messageType struct{} + +func (x fastReflection_AddToGlobalWorkerWhitelistResponse_messageType) Zero() protoreflect.Message { + return (*fastReflection_AddToGlobalWorkerWhitelistResponse)(nil) +} +func (x fastReflection_AddToGlobalWorkerWhitelistResponse_messageType) New() protoreflect.Message { + return new(fastReflection_AddToGlobalWorkerWhitelistResponse) +} +func (x fastReflection_AddToGlobalWorkerWhitelistResponse_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_AddToGlobalWorkerWhitelistResponse +} + +// Descriptor returns message descriptor, which contains only the protobuf +// type information for the message. +func (x *fastReflection_AddToGlobalWorkerWhitelistResponse) Descriptor() protoreflect.MessageDescriptor { + return md_AddToGlobalWorkerWhitelistResponse +} + +// Type returns the message type, which encapsulates both Go and protobuf +// type information. If the Go type information is not needed, +// it is recommended that the message descriptor be used instead. +func (x *fastReflection_AddToGlobalWorkerWhitelistResponse) Type() protoreflect.MessageType { + return _fastReflection_AddToGlobalWorkerWhitelistResponse_messageType +} + +// New returns a newly allocated and mutable empty message. +func (x *fastReflection_AddToGlobalWorkerWhitelistResponse) New() protoreflect.Message { + return new(fastReflection_AddToGlobalWorkerWhitelistResponse) +} + +// Interface unwraps the message reflection interface and +// returns the underlying ProtoMessage interface. +func (x *fastReflection_AddToGlobalWorkerWhitelistResponse) Interface() protoreflect.ProtoMessage { + return (*AddToGlobalWorkerWhitelistResponse)(x) +} + +// Range iterates over every populated field in an undefined order, +// calling f for each field descriptor and value encountered. +// Range returns immediately if f returns false. +// While iterating, mutating operations may only be performed +// on the current field descriptor. +func (x *fastReflection_AddToGlobalWorkerWhitelistResponse) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { +} + +// Has reports whether a field is populated. +// +// Some fields have the property of nullability where it is possible to +// distinguish between the default value of a field and whether the field +// was explicitly populated with the default value. Singular message fields, +// member fields of a oneof, and proto2 scalar fields are nullable. Such +// fields are populated only if explicitly set. +// +// In other cases (aside from the nullable cases above), +// a proto3 scalar field is populated if it contains a non-zero value, and +// a repeated field is populated if it is non-empty. +func (x *fastReflection_AddToGlobalWorkerWhitelistResponse) Has(fd protoreflect.FieldDescriptor) bool { + switch fd.FullName() { + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.AddToGlobalWorkerWhitelistResponse")) + } + panic(fmt.Errorf("message emissions.v8.AddToGlobalWorkerWhitelistResponse does not contain field %s", fd.FullName())) + } +} + +// Clear clears the field such that a subsequent Has call reports false. +// +// Clearing an extension field clears both the extension type and value +// associated with the given field number. +// +// Clear is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_AddToGlobalWorkerWhitelistResponse) Clear(fd protoreflect.FieldDescriptor) { + switch fd.FullName() { + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.AddToGlobalWorkerWhitelistResponse")) + } + panic(fmt.Errorf("message emissions.v8.AddToGlobalWorkerWhitelistResponse does not contain field %s", fd.FullName())) + } +} + +// Get retrieves the value for a field. +// +// For unpopulated scalars, it returns the default value, where +// the default value of a bytes scalar is guaranteed to be a copy. +// For unpopulated composite types, it returns an empty, read-only view +// of the value; to obtain a mutable reference, use Mutable. +func (x *fastReflection_AddToGlobalWorkerWhitelistResponse) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { + switch descriptor.FullName() { + default: + if descriptor.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.AddToGlobalWorkerWhitelistResponse")) + } + panic(fmt.Errorf("message emissions.v8.AddToGlobalWorkerWhitelistResponse does not contain field %s", descriptor.FullName())) + } +} + +// Set stores the value for a field. +// +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType. +// When setting a composite type, it is unspecified whether the stored value +// aliases the source's memory in any way. If the composite value is an +// empty, read-only value, then it panics. +// +// Set is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_AddToGlobalWorkerWhitelistResponse) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { + switch fd.FullName() { + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.AddToGlobalWorkerWhitelistResponse")) + } + panic(fmt.Errorf("message emissions.v8.AddToGlobalWorkerWhitelistResponse does not contain field %s", fd.FullName())) + } +} + +// Mutable returns a mutable reference to a composite type. +// +// If the field is unpopulated, it may allocate a composite value. +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType +// if not already stored. +// It panics if the field does not contain a composite type. +// +// Mutable is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_AddToGlobalWorkerWhitelistResponse) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.AddToGlobalWorkerWhitelistResponse")) + } + panic(fmt.Errorf("message emissions.v8.AddToGlobalWorkerWhitelistResponse does not contain field %s", fd.FullName())) + } +} + +// NewField returns a new value that is assignable to the field +// for the given descriptor. For scalars, this returns the default value. +// For lists, maps, and messages, this returns a new, empty, mutable value. +func (x *fastReflection_AddToGlobalWorkerWhitelistResponse) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.AddToGlobalWorkerWhitelistResponse")) + } + panic(fmt.Errorf("message emissions.v8.AddToGlobalWorkerWhitelistResponse does not contain field %s", fd.FullName())) + } +} + +// WhichOneof reports which field within the oneof is populated, +// returning nil if none are populated. +// It panics if the oneof descriptor does not belong to this message. +func (x *fastReflection_AddToGlobalWorkerWhitelistResponse) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { + switch d.FullName() { + default: + panic(fmt.Errorf("%s is not a oneof field in emissions.v8.AddToGlobalWorkerWhitelistResponse", d.FullName())) + } + panic("unreachable") +} + +// GetUnknown retrieves the entire list of unknown fields. +// The caller may only mutate the contents of the RawFields +// if the mutated bytes are stored back into the message with SetUnknown. +func (x *fastReflection_AddToGlobalWorkerWhitelistResponse) GetUnknown() protoreflect.RawFields { + return x.unknownFields +} + +// SetUnknown stores an entire list of unknown fields. +// The raw fields must be syntactically valid according to the wire format. +// An implementation may panic if this is not the case. +// Once stored, the caller must not mutate the content of the RawFields. +// An empty RawFields may be passed to clear the fields. +// +// SetUnknown is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_AddToGlobalWorkerWhitelistResponse) SetUnknown(fields protoreflect.RawFields) { + x.unknownFields = fields +} + +// IsValid reports whether the message is valid. +// +// An invalid message is an empty, read-only value. +// +// An invalid message often corresponds to a nil pointer of the concrete +// message type, but the details are implementation dependent. +// Validity is not part of the protobuf data model, and may not +// be preserved in marshaling or other operations. +func (x *fastReflection_AddToGlobalWorkerWhitelistResponse) IsValid() bool { + return x != nil +} + +// ProtoMethods returns optional fastReflectionFeature-path implementations of various operations. +// This method may return nil. +// +// The returned methods type is identical to +// "google.golang.org/protobuf/runtime/protoiface".Methods. +// Consult the protoiface package documentation for details. +func (x *fastReflection_AddToGlobalWorkerWhitelistResponse) ProtoMethods() *protoiface.Methods { + size := func(input protoiface.SizeInput) protoiface.SizeOutput { + x := input.Message.Interface().(*AddToGlobalWorkerWhitelistResponse) + if x == nil { + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: 0, + } + } + options := runtime.SizeInputToOptions(input) + _ = options + var n int + var l int + _ = l + if x.unknownFields != nil { + n += len(x.unknownFields) + } + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: n, + } + } + + marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { + x := input.Message.Interface().(*AddToGlobalWorkerWhitelistResponse) + if x == nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + options := runtime.MarshalInputToOptions(input) + _ = options + size := options.Size(x) + dAtA := make([]byte, size) + i := len(dAtA) + _ = i + var l int + _ = l + if x.unknownFields != nil { + i -= len(x.unknownFields) + copy(dAtA[i:], x.unknownFields) + } + if input.Buf != nil { + input.Buf = append(input.Buf, dAtA...) + } else { + input.Buf = dAtA + } + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { + x := input.Message.Interface().(*AddToGlobalWorkerWhitelistResponse) + if x == nil { + return protoiface.UnmarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Flags: input.Flags, + }, nil + } + options := runtime.UnmarshalInputToOptions(input) + _ = options + dAtA := input.Buf + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: AddToGlobalWorkerWhitelistResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: AddToGlobalWorkerWhitelistResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + default: + iNdEx = preIndex + skippy, err := runtime.Skip(dAtA[iNdEx:]) + if err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if (iNdEx + skippy) > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + if !options.DiscardUnknown { + x.unknownFields = append(x.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + } + iNdEx += skippy + } + } + + if iNdEx > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, nil + } + return &protoiface.Methods{ + NoUnkeyedLiterals: struct{}{}, + Flags: protoiface.SupportMarshalDeterministic | protoiface.SupportUnmarshalDiscardUnknown, + Size: size, + Marshal: marshal, + Unmarshal: unmarshal, + Merge: nil, + CheckInitialized: nil, + } +} + +var ( + md_RemoveFromGlobalWorkerWhitelistRequest protoreflect.MessageDescriptor + fd_RemoveFromGlobalWorkerWhitelistRequest_sender protoreflect.FieldDescriptor + fd_RemoveFromGlobalWorkerWhitelistRequest_address protoreflect.FieldDescriptor +) + +func init() { + file_emissions_v8_tx_proto_init() + md_RemoveFromGlobalWorkerWhitelistRequest = File_emissions_v8_tx_proto.Messages().ByName("RemoveFromGlobalWorkerWhitelistRequest") + fd_RemoveFromGlobalWorkerWhitelistRequest_sender = md_RemoveFromGlobalWorkerWhitelistRequest.Fields().ByName("sender") + fd_RemoveFromGlobalWorkerWhitelistRequest_address = md_RemoveFromGlobalWorkerWhitelistRequest.Fields().ByName("address") +} + +var _ protoreflect.Message = (*fastReflection_RemoveFromGlobalWorkerWhitelistRequest)(nil) + +type fastReflection_RemoveFromGlobalWorkerWhitelistRequest RemoveFromGlobalWorkerWhitelistRequest + +func (x *RemoveFromGlobalWorkerWhitelistRequest) ProtoReflect() protoreflect.Message { + return (*fastReflection_RemoveFromGlobalWorkerWhitelistRequest)(x) +} + +func (x *RemoveFromGlobalWorkerWhitelistRequest) slowProtoReflect() protoreflect.Message { + mi := &file_emissions_v8_tx_proto_msgTypes[49] + 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) +} + +var _fastReflection_RemoveFromGlobalWorkerWhitelistRequest_messageType fastReflection_RemoveFromGlobalWorkerWhitelistRequest_messageType +var _ protoreflect.MessageType = fastReflection_RemoveFromGlobalWorkerWhitelistRequest_messageType{} + +type fastReflection_RemoveFromGlobalWorkerWhitelistRequest_messageType struct{} + +func (x fastReflection_RemoveFromGlobalWorkerWhitelistRequest_messageType) Zero() protoreflect.Message { + return (*fastReflection_RemoveFromGlobalWorkerWhitelistRequest)(nil) +} +func (x fastReflection_RemoveFromGlobalWorkerWhitelistRequest_messageType) New() protoreflect.Message { + return new(fastReflection_RemoveFromGlobalWorkerWhitelistRequest) +} +func (x fastReflection_RemoveFromGlobalWorkerWhitelistRequest_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_RemoveFromGlobalWorkerWhitelistRequest +} + +// Descriptor returns message descriptor, which contains only the protobuf +// type information for the message. +func (x *fastReflection_RemoveFromGlobalWorkerWhitelistRequest) Descriptor() protoreflect.MessageDescriptor { + return md_RemoveFromGlobalWorkerWhitelistRequest +} + +// Type returns the message type, which encapsulates both Go and protobuf +// type information. If the Go type information is not needed, +// it is recommended that the message descriptor be used instead. +func (x *fastReflection_RemoveFromGlobalWorkerWhitelistRequest) Type() protoreflect.MessageType { + return _fastReflection_RemoveFromGlobalWorkerWhitelistRequest_messageType +} + +// New returns a newly allocated and mutable empty message. +func (x *fastReflection_RemoveFromGlobalWorkerWhitelistRequest) New() protoreflect.Message { + return new(fastReflection_RemoveFromGlobalWorkerWhitelistRequest) +} + +// Interface unwraps the message reflection interface and +// returns the underlying ProtoMessage interface. +func (x *fastReflection_RemoveFromGlobalWorkerWhitelistRequest) Interface() protoreflect.ProtoMessage { + return (*RemoveFromGlobalWorkerWhitelistRequest)(x) +} + +// Range iterates over every populated field in an undefined order, +// calling f for each field descriptor and value encountered. +// Range returns immediately if f returns false. +// While iterating, mutating operations may only be performed +// on the current field descriptor. +func (x *fastReflection_RemoveFromGlobalWorkerWhitelistRequest) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { + if x.Sender != "" { + value := protoreflect.ValueOfString(x.Sender) + if !f(fd_RemoveFromGlobalWorkerWhitelistRequest_sender, value) { + return + } + } + if x.Address != "" { + value := protoreflect.ValueOfString(x.Address) + if !f(fd_RemoveFromGlobalWorkerWhitelistRequest_address, value) { + return + } + } +} + +// Has reports whether a field is populated. +// +// Some fields have the property of nullability where it is possible to +// distinguish between the default value of a field and whether the field +// was explicitly populated with the default value. Singular message fields, +// member fields of a oneof, and proto2 scalar fields are nullable. Such +// fields are populated only if explicitly set. +// +// In other cases (aside from the nullable cases above), +// a proto3 scalar field is populated if it contains a non-zero value, and +// a repeated field is populated if it is non-empty. +func (x *fastReflection_RemoveFromGlobalWorkerWhitelistRequest) Has(fd protoreflect.FieldDescriptor) bool { + switch fd.FullName() { + case "emissions.v8.RemoveFromGlobalWorkerWhitelistRequest.sender": + return x.Sender != "" + case "emissions.v8.RemoveFromGlobalWorkerWhitelistRequest.address": + return x.Address != "" + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.RemoveFromGlobalWorkerWhitelistRequest")) + } + panic(fmt.Errorf("message emissions.v8.RemoveFromGlobalWorkerWhitelistRequest does not contain field %s", fd.FullName())) + } +} + +// Clear clears the field such that a subsequent Has call reports false. +// +// Clearing an extension field clears both the extension type and value +// associated with the given field number. +// +// Clear is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_RemoveFromGlobalWorkerWhitelistRequest) Clear(fd protoreflect.FieldDescriptor) { + switch fd.FullName() { + case "emissions.v8.RemoveFromGlobalWorkerWhitelistRequest.sender": + x.Sender = "" + case "emissions.v8.RemoveFromGlobalWorkerWhitelistRequest.address": + x.Address = "" + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.RemoveFromGlobalWorkerWhitelistRequest")) + } + panic(fmt.Errorf("message emissions.v8.RemoveFromGlobalWorkerWhitelistRequest does not contain field %s", fd.FullName())) + } +} + +// Get retrieves the value for a field. +// +// For unpopulated scalars, it returns the default value, where +// the default value of a bytes scalar is guaranteed to be a copy. +// For unpopulated composite types, it returns an empty, read-only view +// of the value; to obtain a mutable reference, use Mutable. +func (x *fastReflection_RemoveFromGlobalWorkerWhitelistRequest) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { + switch descriptor.FullName() { + case "emissions.v8.RemoveFromGlobalWorkerWhitelistRequest.sender": + value := x.Sender + return protoreflect.ValueOfString(value) + case "emissions.v8.RemoveFromGlobalWorkerWhitelistRequest.address": + value := x.Address + return protoreflect.ValueOfString(value) + default: + if descriptor.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.RemoveFromGlobalWorkerWhitelistRequest")) + } + panic(fmt.Errorf("message emissions.v8.RemoveFromGlobalWorkerWhitelistRequest does not contain field %s", descriptor.FullName())) + } +} + +// Set stores the value for a field. +// +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType. +// When setting a composite type, it is unspecified whether the stored value +// aliases the source's memory in any way. If the composite value is an +// empty, read-only value, then it panics. +// +// Set is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_RemoveFromGlobalWorkerWhitelistRequest) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { + switch fd.FullName() { + case "emissions.v8.RemoveFromGlobalWorkerWhitelistRequest.sender": + x.Sender = value.Interface().(string) + case "emissions.v8.RemoveFromGlobalWorkerWhitelistRequest.address": + x.Address = value.Interface().(string) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.RemoveFromGlobalWorkerWhitelistRequest")) + } + panic(fmt.Errorf("message emissions.v8.RemoveFromGlobalWorkerWhitelistRequest does not contain field %s", fd.FullName())) + } +} + +// Mutable returns a mutable reference to a composite type. +// +// If the field is unpopulated, it may allocate a composite value. +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType +// if not already stored. +// It panics if the field does not contain a composite type. +// +// Mutable is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_RemoveFromGlobalWorkerWhitelistRequest) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.RemoveFromGlobalWorkerWhitelistRequest.sender": + panic(fmt.Errorf("field sender of message emissions.v8.RemoveFromGlobalWorkerWhitelistRequest is not mutable")) + case "emissions.v8.RemoveFromGlobalWorkerWhitelistRequest.address": + panic(fmt.Errorf("field address of message emissions.v8.RemoveFromGlobalWorkerWhitelistRequest is not mutable")) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.RemoveFromGlobalWorkerWhitelistRequest")) + } + panic(fmt.Errorf("message emissions.v8.RemoveFromGlobalWorkerWhitelistRequest does not contain field %s", fd.FullName())) + } +} + +// NewField returns a new value that is assignable to the field +// for the given descriptor. For scalars, this returns the default value. +// For lists, maps, and messages, this returns a new, empty, mutable value. +func (x *fastReflection_RemoveFromGlobalWorkerWhitelistRequest) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.RemoveFromGlobalWorkerWhitelistRequest.sender": + return protoreflect.ValueOfString("") + case "emissions.v8.RemoveFromGlobalWorkerWhitelistRequest.address": + return protoreflect.ValueOfString("") + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.RemoveFromGlobalWorkerWhitelistRequest")) + } + panic(fmt.Errorf("message emissions.v8.RemoveFromGlobalWorkerWhitelistRequest does not contain field %s", fd.FullName())) + } +} + +// WhichOneof reports which field within the oneof is populated, +// returning nil if none are populated. +// It panics if the oneof descriptor does not belong to this message. +func (x *fastReflection_RemoveFromGlobalWorkerWhitelistRequest) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { + switch d.FullName() { + default: + panic(fmt.Errorf("%s is not a oneof field in emissions.v8.RemoveFromGlobalWorkerWhitelistRequest", d.FullName())) + } + panic("unreachable") +} + +// GetUnknown retrieves the entire list of unknown fields. +// The caller may only mutate the contents of the RawFields +// if the mutated bytes are stored back into the message with SetUnknown. +func (x *fastReflection_RemoveFromGlobalWorkerWhitelistRequest) GetUnknown() protoreflect.RawFields { + return x.unknownFields +} + +// SetUnknown stores an entire list of unknown fields. +// The raw fields must be syntactically valid according to the wire format. +// An implementation may panic if this is not the case. +// Once stored, the caller must not mutate the content of the RawFields. +// An empty RawFields may be passed to clear the fields. +// +// SetUnknown is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_RemoveFromGlobalWorkerWhitelistRequest) SetUnknown(fields protoreflect.RawFields) { + x.unknownFields = fields +} + +// IsValid reports whether the message is valid. +// +// An invalid message is an empty, read-only value. +// +// An invalid message often corresponds to a nil pointer of the concrete +// message type, but the details are implementation dependent. +// Validity is not part of the protobuf data model, and may not +// be preserved in marshaling or other operations. +func (x *fastReflection_RemoveFromGlobalWorkerWhitelistRequest) IsValid() bool { + return x != nil +} + +// ProtoMethods returns optional fastReflectionFeature-path implementations of various operations. +// This method may return nil. +// +// The returned methods type is identical to +// "google.golang.org/protobuf/runtime/protoiface".Methods. +// Consult the protoiface package documentation for details. +func (x *fastReflection_RemoveFromGlobalWorkerWhitelistRequest) ProtoMethods() *protoiface.Methods { + size := func(input protoiface.SizeInput) protoiface.SizeOutput { + x := input.Message.Interface().(*RemoveFromGlobalWorkerWhitelistRequest) + if x == nil { + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: 0, + } + } + options := runtime.SizeInputToOptions(input) + _ = options + var n int + var l int + _ = l + l = len(x.Sender) + if l > 0 { + n += 1 + l + runtime.Sov(uint64(l)) + } + l = len(x.Address) + if l > 0 { + n += 1 + l + runtime.Sov(uint64(l)) + } + if x.unknownFields != nil { + n += len(x.unknownFields) + } + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: n, + } + } + + marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { + x := input.Message.Interface().(*RemoveFromGlobalWorkerWhitelistRequest) + if x == nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + options := runtime.MarshalInputToOptions(input) + _ = options + size := options.Size(x) + dAtA := make([]byte, size) + i := len(dAtA) + _ = i + var l int + _ = l + if x.unknownFields != nil { + i -= len(x.unknownFields) + copy(dAtA[i:], x.unknownFields) + } + if len(x.Address) > 0 { + i -= len(x.Address) + copy(dAtA[i:], x.Address) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.Address))) + i-- + dAtA[i] = 0x12 + } + if len(x.Sender) > 0 { + i -= len(x.Sender) + copy(dAtA[i:], x.Sender) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.Sender))) + i-- + dAtA[i] = 0xa + } + if input.Buf != nil { + input.Buf = append(input.Buf, dAtA...) + } else { + input.Buf = dAtA + } + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { + x := input.Message.Interface().(*RemoveFromGlobalWorkerWhitelistRequest) + if x == nil { + return protoiface.UnmarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Flags: input.Flags, + }, nil + } + options := runtime.UnmarshalInputToOptions(input) + _ = options + dAtA := input.Buf + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: RemoveFromGlobalWorkerWhitelistRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: RemoveFromGlobalWorkerWhitelistRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Sender", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + x.Sender = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Address", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + x.Address = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := runtime.Skip(dAtA[iNdEx:]) + if err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if (iNdEx + skippy) > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + if !options.DiscardUnknown { + x.unknownFields = append(x.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + } + iNdEx += skippy + } + } + + if iNdEx > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, nil + } + return &protoiface.Methods{ + NoUnkeyedLiterals: struct{}{}, + Flags: protoiface.SupportMarshalDeterministic | protoiface.SupportUnmarshalDiscardUnknown, + Size: size, + Marshal: marshal, + Unmarshal: unmarshal, + Merge: nil, + CheckInitialized: nil, + } +} + +var ( + md_RemoveFromGlobalWorkerWhitelistResponse protoreflect.MessageDescriptor +) + +func init() { + file_emissions_v8_tx_proto_init() + md_RemoveFromGlobalWorkerWhitelistResponse = File_emissions_v8_tx_proto.Messages().ByName("RemoveFromGlobalWorkerWhitelistResponse") +} + +var _ protoreflect.Message = (*fastReflection_RemoveFromGlobalWorkerWhitelistResponse)(nil) + +type fastReflection_RemoveFromGlobalWorkerWhitelistResponse RemoveFromGlobalWorkerWhitelistResponse + +func (x *RemoveFromGlobalWorkerWhitelistResponse) ProtoReflect() protoreflect.Message { + return (*fastReflection_RemoveFromGlobalWorkerWhitelistResponse)(x) +} + +func (x *RemoveFromGlobalWorkerWhitelistResponse) slowProtoReflect() protoreflect.Message { + mi := &file_emissions_v8_tx_proto_msgTypes[50] + 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) +} + +var _fastReflection_RemoveFromGlobalWorkerWhitelistResponse_messageType fastReflection_RemoveFromGlobalWorkerWhitelistResponse_messageType +var _ protoreflect.MessageType = fastReflection_RemoveFromGlobalWorkerWhitelistResponse_messageType{} + +type fastReflection_RemoveFromGlobalWorkerWhitelistResponse_messageType struct{} + +func (x fastReflection_RemoveFromGlobalWorkerWhitelistResponse_messageType) Zero() protoreflect.Message { + return (*fastReflection_RemoveFromGlobalWorkerWhitelistResponse)(nil) +} +func (x fastReflection_RemoveFromGlobalWorkerWhitelistResponse_messageType) New() protoreflect.Message { + return new(fastReflection_RemoveFromGlobalWorkerWhitelistResponse) +} +func (x fastReflection_RemoveFromGlobalWorkerWhitelistResponse_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_RemoveFromGlobalWorkerWhitelistResponse +} + +// Descriptor returns message descriptor, which contains only the protobuf +// type information for the message. +func (x *fastReflection_RemoveFromGlobalWorkerWhitelistResponse) Descriptor() protoreflect.MessageDescriptor { + return md_RemoveFromGlobalWorkerWhitelistResponse +} + +// Type returns the message type, which encapsulates both Go and protobuf +// type information. If the Go type information is not needed, +// it is recommended that the message descriptor be used instead. +func (x *fastReflection_RemoveFromGlobalWorkerWhitelistResponse) Type() protoreflect.MessageType { + return _fastReflection_RemoveFromGlobalWorkerWhitelistResponse_messageType +} + +// New returns a newly allocated and mutable empty message. +func (x *fastReflection_RemoveFromGlobalWorkerWhitelistResponse) New() protoreflect.Message { + return new(fastReflection_RemoveFromGlobalWorkerWhitelistResponse) +} + +// Interface unwraps the message reflection interface and +// returns the underlying ProtoMessage interface. +func (x *fastReflection_RemoveFromGlobalWorkerWhitelistResponse) Interface() protoreflect.ProtoMessage { + return (*RemoveFromGlobalWorkerWhitelistResponse)(x) +} + +// Range iterates over every populated field in an undefined order, +// calling f for each field descriptor and value encountered. +// Range returns immediately if f returns false. +// While iterating, mutating operations may only be performed +// on the current field descriptor. +func (x *fastReflection_RemoveFromGlobalWorkerWhitelistResponse) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { +} + +// Has reports whether a field is populated. +// +// Some fields have the property of nullability where it is possible to +// distinguish between the default value of a field and whether the field +// was explicitly populated with the default value. Singular message fields, +// member fields of a oneof, and proto2 scalar fields are nullable. Such +// fields are populated only if explicitly set. +// +// In other cases (aside from the nullable cases above), +// a proto3 scalar field is populated if it contains a non-zero value, and +// a repeated field is populated if it is non-empty. +func (x *fastReflection_RemoveFromGlobalWorkerWhitelistResponse) Has(fd protoreflect.FieldDescriptor) bool { + switch fd.FullName() { + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.RemoveFromGlobalWorkerWhitelistResponse")) + } + panic(fmt.Errorf("message emissions.v8.RemoveFromGlobalWorkerWhitelistResponse does not contain field %s", fd.FullName())) + } +} + +// Clear clears the field such that a subsequent Has call reports false. +// +// Clearing an extension field clears both the extension type and value +// associated with the given field number. +// +// Clear is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_RemoveFromGlobalWorkerWhitelistResponse) Clear(fd protoreflect.FieldDescriptor) { + switch fd.FullName() { + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.RemoveFromGlobalWorkerWhitelistResponse")) + } + panic(fmt.Errorf("message emissions.v8.RemoveFromGlobalWorkerWhitelistResponse does not contain field %s", fd.FullName())) + } +} + +// Get retrieves the value for a field. +// +// For unpopulated scalars, it returns the default value, where +// the default value of a bytes scalar is guaranteed to be a copy. +// For unpopulated composite types, it returns an empty, read-only view +// of the value; to obtain a mutable reference, use Mutable. +func (x *fastReflection_RemoveFromGlobalWorkerWhitelistResponse) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { + switch descriptor.FullName() { + default: + if descriptor.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.RemoveFromGlobalWorkerWhitelistResponse")) + } + panic(fmt.Errorf("message emissions.v8.RemoveFromGlobalWorkerWhitelistResponse does not contain field %s", descriptor.FullName())) + } +} + +// Set stores the value for a field. +// +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType. +// When setting a composite type, it is unspecified whether the stored value +// aliases the source's memory in any way. If the composite value is an +// empty, read-only value, then it panics. +// +// Set is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_RemoveFromGlobalWorkerWhitelistResponse) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { + switch fd.FullName() { + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.RemoveFromGlobalWorkerWhitelistResponse")) + } + panic(fmt.Errorf("message emissions.v8.RemoveFromGlobalWorkerWhitelistResponse does not contain field %s", fd.FullName())) + } +} + +// Mutable returns a mutable reference to a composite type. +// +// If the field is unpopulated, it may allocate a composite value. +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType +// if not already stored. +// It panics if the field does not contain a composite type. +// +// Mutable is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_RemoveFromGlobalWorkerWhitelistResponse) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.RemoveFromGlobalWorkerWhitelistResponse")) + } + panic(fmt.Errorf("message emissions.v8.RemoveFromGlobalWorkerWhitelistResponse does not contain field %s", fd.FullName())) + } +} + +// NewField returns a new value that is assignable to the field +// for the given descriptor. For scalars, this returns the default value. +// For lists, maps, and messages, this returns a new, empty, mutable value. +func (x *fastReflection_RemoveFromGlobalWorkerWhitelistResponse) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.RemoveFromGlobalWorkerWhitelistResponse")) + } + panic(fmt.Errorf("message emissions.v8.RemoveFromGlobalWorkerWhitelistResponse does not contain field %s", fd.FullName())) + } +} + +// WhichOneof reports which field within the oneof is populated, +// returning nil if none are populated. +// It panics if the oneof descriptor does not belong to this message. +func (x *fastReflection_RemoveFromGlobalWorkerWhitelistResponse) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { + switch d.FullName() { + default: + panic(fmt.Errorf("%s is not a oneof field in emissions.v8.RemoveFromGlobalWorkerWhitelistResponse", d.FullName())) + } + panic("unreachable") +} + +// GetUnknown retrieves the entire list of unknown fields. +// The caller may only mutate the contents of the RawFields +// if the mutated bytes are stored back into the message with SetUnknown. +func (x *fastReflection_RemoveFromGlobalWorkerWhitelistResponse) GetUnknown() protoreflect.RawFields { + return x.unknownFields +} + +// SetUnknown stores an entire list of unknown fields. +// The raw fields must be syntactically valid according to the wire format. +// An implementation may panic if this is not the case. +// Once stored, the caller must not mutate the content of the RawFields. +// An empty RawFields may be passed to clear the fields. +// +// SetUnknown is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_RemoveFromGlobalWorkerWhitelistResponse) SetUnknown(fields protoreflect.RawFields) { + x.unknownFields = fields +} + +// IsValid reports whether the message is valid. +// +// An invalid message is an empty, read-only value. +// +// An invalid message often corresponds to a nil pointer of the concrete +// message type, but the details are implementation dependent. +// Validity is not part of the protobuf data model, and may not +// be preserved in marshaling or other operations. +func (x *fastReflection_RemoveFromGlobalWorkerWhitelistResponse) IsValid() bool { + return x != nil +} + +// ProtoMethods returns optional fastReflectionFeature-path implementations of various operations. +// This method may return nil. +// +// The returned methods type is identical to +// "google.golang.org/protobuf/runtime/protoiface".Methods. +// Consult the protoiface package documentation for details. +func (x *fastReflection_RemoveFromGlobalWorkerWhitelistResponse) ProtoMethods() *protoiface.Methods { + size := func(input protoiface.SizeInput) protoiface.SizeOutput { + x := input.Message.Interface().(*RemoveFromGlobalWorkerWhitelistResponse) + if x == nil { + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: 0, + } + } + options := runtime.SizeInputToOptions(input) + _ = options + var n int + var l int + _ = l + if x.unknownFields != nil { + n += len(x.unknownFields) + } + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: n, + } + } + + marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { + x := input.Message.Interface().(*RemoveFromGlobalWorkerWhitelistResponse) + if x == nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + options := runtime.MarshalInputToOptions(input) + _ = options + size := options.Size(x) + dAtA := make([]byte, size) + i := len(dAtA) + _ = i + var l int + _ = l + if x.unknownFields != nil { + i -= len(x.unknownFields) + copy(dAtA[i:], x.unknownFields) + } + if input.Buf != nil { + input.Buf = append(input.Buf, dAtA...) + } else { + input.Buf = dAtA + } + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { + x := input.Message.Interface().(*RemoveFromGlobalWorkerWhitelistResponse) + if x == nil { + return protoiface.UnmarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Flags: input.Flags, + }, nil + } + options := runtime.UnmarshalInputToOptions(input) + _ = options + dAtA := input.Buf + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: RemoveFromGlobalWorkerWhitelistResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: RemoveFromGlobalWorkerWhitelistResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + default: + iNdEx = preIndex + skippy, err := runtime.Skip(dAtA[iNdEx:]) + if err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if (iNdEx + skippy) > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + if !options.DiscardUnknown { + x.unknownFields = append(x.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + } + iNdEx += skippy + } + } + + if iNdEx > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, nil + } + return &protoiface.Methods{ + NoUnkeyedLiterals: struct{}{}, + Flags: protoiface.SupportMarshalDeterministic | protoiface.SupportUnmarshalDiscardUnknown, + Size: size, + Marshal: marshal, + Unmarshal: unmarshal, + Merge: nil, + CheckInitialized: nil, + } +} + +var ( + md_AddToGlobalReputerWhitelistRequest protoreflect.MessageDescriptor + fd_AddToGlobalReputerWhitelistRequest_sender protoreflect.FieldDescriptor + fd_AddToGlobalReputerWhitelistRequest_address protoreflect.FieldDescriptor +) + +func init() { + file_emissions_v8_tx_proto_init() + md_AddToGlobalReputerWhitelistRequest = File_emissions_v8_tx_proto.Messages().ByName("AddToGlobalReputerWhitelistRequest") + fd_AddToGlobalReputerWhitelistRequest_sender = md_AddToGlobalReputerWhitelistRequest.Fields().ByName("sender") + fd_AddToGlobalReputerWhitelistRequest_address = md_AddToGlobalReputerWhitelistRequest.Fields().ByName("address") +} + +var _ protoreflect.Message = (*fastReflection_AddToGlobalReputerWhitelistRequest)(nil) + +type fastReflection_AddToGlobalReputerWhitelistRequest AddToGlobalReputerWhitelistRequest + +func (x *AddToGlobalReputerWhitelistRequest) ProtoReflect() protoreflect.Message { + return (*fastReflection_AddToGlobalReputerWhitelistRequest)(x) +} + +func (x *AddToGlobalReputerWhitelistRequest) slowProtoReflect() protoreflect.Message { + mi := &file_emissions_v8_tx_proto_msgTypes[51] + 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) +} + +var _fastReflection_AddToGlobalReputerWhitelistRequest_messageType fastReflection_AddToGlobalReputerWhitelistRequest_messageType +var _ protoreflect.MessageType = fastReflection_AddToGlobalReputerWhitelistRequest_messageType{} + +type fastReflection_AddToGlobalReputerWhitelistRequest_messageType struct{} + +func (x fastReflection_AddToGlobalReputerWhitelistRequest_messageType) Zero() protoreflect.Message { + return (*fastReflection_AddToGlobalReputerWhitelistRequest)(nil) +} +func (x fastReflection_AddToGlobalReputerWhitelistRequest_messageType) New() protoreflect.Message { + return new(fastReflection_AddToGlobalReputerWhitelistRequest) +} +func (x fastReflection_AddToGlobalReputerWhitelistRequest_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_AddToGlobalReputerWhitelistRequest +} + +// Descriptor returns message descriptor, which contains only the protobuf +// type information for the message. +func (x *fastReflection_AddToGlobalReputerWhitelistRequest) Descriptor() protoreflect.MessageDescriptor { + return md_AddToGlobalReputerWhitelistRequest +} + +// Type returns the message type, which encapsulates both Go and protobuf +// type information. If the Go type information is not needed, +// it is recommended that the message descriptor be used instead. +func (x *fastReflection_AddToGlobalReputerWhitelistRequest) Type() protoreflect.MessageType { + return _fastReflection_AddToGlobalReputerWhitelistRequest_messageType +} + +// New returns a newly allocated and mutable empty message. +func (x *fastReflection_AddToGlobalReputerWhitelistRequest) New() protoreflect.Message { + return new(fastReflection_AddToGlobalReputerWhitelistRequest) +} + +// Interface unwraps the message reflection interface and +// returns the underlying ProtoMessage interface. +func (x *fastReflection_AddToGlobalReputerWhitelistRequest) Interface() protoreflect.ProtoMessage { + return (*AddToGlobalReputerWhitelistRequest)(x) +} + +// Range iterates over every populated field in an undefined order, +// calling f for each field descriptor and value encountered. +// Range returns immediately if f returns false. +// While iterating, mutating operations may only be performed +// on the current field descriptor. +func (x *fastReflection_AddToGlobalReputerWhitelistRequest) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { + if x.Sender != "" { + value := protoreflect.ValueOfString(x.Sender) + if !f(fd_AddToGlobalReputerWhitelistRequest_sender, value) { + return + } + } + if x.Address != "" { + value := protoreflect.ValueOfString(x.Address) + if !f(fd_AddToGlobalReputerWhitelistRequest_address, value) { + return + } + } +} + +// Has reports whether a field is populated. +// +// Some fields have the property of nullability where it is possible to +// distinguish between the default value of a field and whether the field +// was explicitly populated with the default value. Singular message fields, +// member fields of a oneof, and proto2 scalar fields are nullable. Such +// fields are populated only if explicitly set. +// +// In other cases (aside from the nullable cases above), +// a proto3 scalar field is populated if it contains a non-zero value, and +// a repeated field is populated if it is non-empty. +func (x *fastReflection_AddToGlobalReputerWhitelistRequest) Has(fd protoreflect.FieldDescriptor) bool { + switch fd.FullName() { + case "emissions.v8.AddToGlobalReputerWhitelistRequest.sender": + return x.Sender != "" + case "emissions.v8.AddToGlobalReputerWhitelistRequest.address": + return x.Address != "" + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.AddToGlobalReputerWhitelistRequest")) + } + panic(fmt.Errorf("message emissions.v8.AddToGlobalReputerWhitelistRequest does not contain field %s", fd.FullName())) + } +} + +// Clear clears the field such that a subsequent Has call reports false. +// +// Clearing an extension field clears both the extension type and value +// associated with the given field number. +// +// Clear is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_AddToGlobalReputerWhitelistRequest) Clear(fd protoreflect.FieldDescriptor) { + switch fd.FullName() { + case "emissions.v8.AddToGlobalReputerWhitelistRequest.sender": + x.Sender = "" + case "emissions.v8.AddToGlobalReputerWhitelistRequest.address": + x.Address = "" + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.AddToGlobalReputerWhitelistRequest")) + } + panic(fmt.Errorf("message emissions.v8.AddToGlobalReputerWhitelistRequest does not contain field %s", fd.FullName())) + } +} + +// Get retrieves the value for a field. +// +// For unpopulated scalars, it returns the default value, where +// the default value of a bytes scalar is guaranteed to be a copy. +// For unpopulated composite types, it returns an empty, read-only view +// of the value; to obtain a mutable reference, use Mutable. +func (x *fastReflection_AddToGlobalReputerWhitelistRequest) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { + switch descriptor.FullName() { + case "emissions.v8.AddToGlobalReputerWhitelistRequest.sender": + value := x.Sender + return protoreflect.ValueOfString(value) + case "emissions.v8.AddToGlobalReputerWhitelistRequest.address": + value := x.Address + return protoreflect.ValueOfString(value) + default: + if descriptor.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.AddToGlobalReputerWhitelistRequest")) + } + panic(fmt.Errorf("message emissions.v8.AddToGlobalReputerWhitelistRequest does not contain field %s", descriptor.FullName())) + } +} + +// Set stores the value for a field. +// +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType. +// When setting a composite type, it is unspecified whether the stored value +// aliases the source's memory in any way. If the composite value is an +// empty, read-only value, then it panics. +// +// Set is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_AddToGlobalReputerWhitelistRequest) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { + switch fd.FullName() { + case "emissions.v8.AddToGlobalReputerWhitelistRequest.sender": + x.Sender = value.Interface().(string) + case "emissions.v8.AddToGlobalReputerWhitelistRequest.address": + x.Address = value.Interface().(string) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.AddToGlobalReputerWhitelistRequest")) + } + panic(fmt.Errorf("message emissions.v8.AddToGlobalReputerWhitelistRequest does not contain field %s", fd.FullName())) + } +} + +// Mutable returns a mutable reference to a composite type. +// +// If the field is unpopulated, it may allocate a composite value. +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType +// if not already stored. +// It panics if the field does not contain a composite type. +// +// Mutable is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_AddToGlobalReputerWhitelistRequest) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.AddToGlobalReputerWhitelistRequest.sender": + panic(fmt.Errorf("field sender of message emissions.v8.AddToGlobalReputerWhitelistRequest is not mutable")) + case "emissions.v8.AddToGlobalReputerWhitelistRequest.address": + panic(fmt.Errorf("field address of message emissions.v8.AddToGlobalReputerWhitelistRequest is not mutable")) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.AddToGlobalReputerWhitelistRequest")) + } + panic(fmt.Errorf("message emissions.v8.AddToGlobalReputerWhitelistRequest does not contain field %s", fd.FullName())) + } +} + +// NewField returns a new value that is assignable to the field +// for the given descriptor. For scalars, this returns the default value. +// For lists, maps, and messages, this returns a new, empty, mutable value. +func (x *fastReflection_AddToGlobalReputerWhitelistRequest) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.AddToGlobalReputerWhitelistRequest.sender": + return protoreflect.ValueOfString("") + case "emissions.v8.AddToGlobalReputerWhitelistRequest.address": + return protoreflect.ValueOfString("") + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.AddToGlobalReputerWhitelistRequest")) + } + panic(fmt.Errorf("message emissions.v8.AddToGlobalReputerWhitelistRequest does not contain field %s", fd.FullName())) + } +} + +// WhichOneof reports which field within the oneof is populated, +// returning nil if none are populated. +// It panics if the oneof descriptor does not belong to this message. +func (x *fastReflection_AddToGlobalReputerWhitelistRequest) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { + switch d.FullName() { + default: + panic(fmt.Errorf("%s is not a oneof field in emissions.v8.AddToGlobalReputerWhitelistRequest", d.FullName())) + } + panic("unreachable") +} + +// GetUnknown retrieves the entire list of unknown fields. +// The caller may only mutate the contents of the RawFields +// if the mutated bytes are stored back into the message with SetUnknown. +func (x *fastReflection_AddToGlobalReputerWhitelistRequest) GetUnknown() protoreflect.RawFields { + return x.unknownFields +} + +// SetUnknown stores an entire list of unknown fields. +// The raw fields must be syntactically valid according to the wire format. +// An implementation may panic if this is not the case. +// Once stored, the caller must not mutate the content of the RawFields. +// An empty RawFields may be passed to clear the fields. +// +// SetUnknown is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_AddToGlobalReputerWhitelistRequest) SetUnknown(fields protoreflect.RawFields) { + x.unknownFields = fields +} + +// IsValid reports whether the message is valid. +// +// An invalid message is an empty, read-only value. +// +// An invalid message often corresponds to a nil pointer of the concrete +// message type, but the details are implementation dependent. +// Validity is not part of the protobuf data model, and may not +// be preserved in marshaling or other operations. +func (x *fastReflection_AddToGlobalReputerWhitelistRequest) IsValid() bool { + return x != nil +} + +// ProtoMethods returns optional fastReflectionFeature-path implementations of various operations. +// This method may return nil. +// +// The returned methods type is identical to +// "google.golang.org/protobuf/runtime/protoiface".Methods. +// Consult the protoiface package documentation for details. +func (x *fastReflection_AddToGlobalReputerWhitelistRequest) ProtoMethods() *protoiface.Methods { + size := func(input protoiface.SizeInput) protoiface.SizeOutput { + x := input.Message.Interface().(*AddToGlobalReputerWhitelistRequest) + if x == nil { + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: 0, + } + } + options := runtime.SizeInputToOptions(input) + _ = options + var n int + var l int + _ = l + l = len(x.Sender) + if l > 0 { + n += 1 + l + runtime.Sov(uint64(l)) + } + l = len(x.Address) + if l > 0 { + n += 1 + l + runtime.Sov(uint64(l)) + } + if x.unknownFields != nil { + n += len(x.unknownFields) + } + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: n, + } + } + + marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { + x := input.Message.Interface().(*AddToGlobalReputerWhitelistRequest) + if x == nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + options := runtime.MarshalInputToOptions(input) + _ = options + size := options.Size(x) + dAtA := make([]byte, size) + i := len(dAtA) + _ = i + var l int + _ = l + if x.unknownFields != nil { + i -= len(x.unknownFields) + copy(dAtA[i:], x.unknownFields) + } + if len(x.Address) > 0 { + i -= len(x.Address) + copy(dAtA[i:], x.Address) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.Address))) + i-- + dAtA[i] = 0x12 + } + if len(x.Sender) > 0 { + i -= len(x.Sender) + copy(dAtA[i:], x.Sender) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.Sender))) + i-- + dAtA[i] = 0xa + } + if input.Buf != nil { + input.Buf = append(input.Buf, dAtA...) + } else { + input.Buf = dAtA + } + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { + x := input.Message.Interface().(*AddToGlobalReputerWhitelistRequest) + if x == nil { + return protoiface.UnmarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Flags: input.Flags, + }, nil + } + options := runtime.UnmarshalInputToOptions(input) + _ = options + dAtA := input.Buf + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: AddToGlobalReputerWhitelistRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: AddToGlobalReputerWhitelistRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Sender", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + x.Sender = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Address", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + x.Address = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := runtime.Skip(dAtA[iNdEx:]) + if err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if (iNdEx + skippy) > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + if !options.DiscardUnknown { + x.unknownFields = append(x.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + } + iNdEx += skippy + } + } + + if iNdEx > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, nil + } + return &protoiface.Methods{ + NoUnkeyedLiterals: struct{}{}, + Flags: protoiface.SupportMarshalDeterministic | protoiface.SupportUnmarshalDiscardUnknown, + Size: size, + Marshal: marshal, + Unmarshal: unmarshal, + Merge: nil, + CheckInitialized: nil, + } +} + +var ( + md_AddToGlobalReputerWhitelistResponse protoreflect.MessageDescriptor +) + +func init() { + file_emissions_v8_tx_proto_init() + md_AddToGlobalReputerWhitelistResponse = File_emissions_v8_tx_proto.Messages().ByName("AddToGlobalReputerWhitelistResponse") +} + +var _ protoreflect.Message = (*fastReflection_AddToGlobalReputerWhitelistResponse)(nil) + +type fastReflection_AddToGlobalReputerWhitelistResponse AddToGlobalReputerWhitelistResponse + +func (x *AddToGlobalReputerWhitelistResponse) ProtoReflect() protoreflect.Message { + return (*fastReflection_AddToGlobalReputerWhitelistResponse)(x) +} + +func (x *AddToGlobalReputerWhitelistResponse) slowProtoReflect() protoreflect.Message { + mi := &file_emissions_v8_tx_proto_msgTypes[52] + 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) +} + +var _fastReflection_AddToGlobalReputerWhitelistResponse_messageType fastReflection_AddToGlobalReputerWhitelistResponse_messageType +var _ protoreflect.MessageType = fastReflection_AddToGlobalReputerWhitelistResponse_messageType{} + +type fastReflection_AddToGlobalReputerWhitelistResponse_messageType struct{} + +func (x fastReflection_AddToGlobalReputerWhitelistResponse_messageType) Zero() protoreflect.Message { + return (*fastReflection_AddToGlobalReputerWhitelistResponse)(nil) +} +func (x fastReflection_AddToGlobalReputerWhitelistResponse_messageType) New() protoreflect.Message { + return new(fastReflection_AddToGlobalReputerWhitelistResponse) +} +func (x fastReflection_AddToGlobalReputerWhitelistResponse_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_AddToGlobalReputerWhitelistResponse +} + +// Descriptor returns message descriptor, which contains only the protobuf +// type information for the message. +func (x *fastReflection_AddToGlobalReputerWhitelistResponse) Descriptor() protoreflect.MessageDescriptor { + return md_AddToGlobalReputerWhitelistResponse +} + +// Type returns the message type, which encapsulates both Go and protobuf +// type information. If the Go type information is not needed, +// it is recommended that the message descriptor be used instead. +func (x *fastReflection_AddToGlobalReputerWhitelistResponse) Type() protoreflect.MessageType { + return _fastReflection_AddToGlobalReputerWhitelistResponse_messageType +} + +// New returns a newly allocated and mutable empty message. +func (x *fastReflection_AddToGlobalReputerWhitelistResponse) New() protoreflect.Message { + return new(fastReflection_AddToGlobalReputerWhitelistResponse) +} + +// Interface unwraps the message reflection interface and +// returns the underlying ProtoMessage interface. +func (x *fastReflection_AddToGlobalReputerWhitelistResponse) Interface() protoreflect.ProtoMessage { + return (*AddToGlobalReputerWhitelistResponse)(x) +} + +// Range iterates over every populated field in an undefined order, +// calling f for each field descriptor and value encountered. +// Range returns immediately if f returns false. +// While iterating, mutating operations may only be performed +// on the current field descriptor. +func (x *fastReflection_AddToGlobalReputerWhitelistResponse) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { +} + +// Has reports whether a field is populated. +// +// Some fields have the property of nullability where it is possible to +// distinguish between the default value of a field and whether the field +// was explicitly populated with the default value. Singular message fields, +// member fields of a oneof, and proto2 scalar fields are nullable. Such +// fields are populated only if explicitly set. +// +// In other cases (aside from the nullable cases above), +// a proto3 scalar field is populated if it contains a non-zero value, and +// a repeated field is populated if it is non-empty. +func (x *fastReflection_AddToGlobalReputerWhitelistResponse) Has(fd protoreflect.FieldDescriptor) bool { + switch fd.FullName() { + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.AddToGlobalReputerWhitelistResponse")) + } + panic(fmt.Errorf("message emissions.v8.AddToGlobalReputerWhitelistResponse does not contain field %s", fd.FullName())) + } +} + +// Clear clears the field such that a subsequent Has call reports false. +// +// Clearing an extension field clears both the extension type and value +// associated with the given field number. +// +// Clear is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_AddToGlobalReputerWhitelistResponse) Clear(fd protoreflect.FieldDescriptor) { + switch fd.FullName() { + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.AddToGlobalReputerWhitelistResponse")) + } + panic(fmt.Errorf("message emissions.v8.AddToGlobalReputerWhitelistResponse does not contain field %s", fd.FullName())) + } +} + +// Get retrieves the value for a field. +// +// For unpopulated scalars, it returns the default value, where +// the default value of a bytes scalar is guaranteed to be a copy. +// For unpopulated composite types, it returns an empty, read-only view +// of the value; to obtain a mutable reference, use Mutable. +func (x *fastReflection_AddToGlobalReputerWhitelistResponse) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { + switch descriptor.FullName() { + default: + if descriptor.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.AddToGlobalReputerWhitelistResponse")) + } + panic(fmt.Errorf("message emissions.v8.AddToGlobalReputerWhitelistResponse does not contain field %s", descriptor.FullName())) + } +} + +// Set stores the value for a field. +// +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType. +// When setting a composite type, it is unspecified whether the stored value +// aliases the source's memory in any way. If the composite value is an +// empty, read-only value, then it panics. +// +// Set is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_AddToGlobalReputerWhitelistResponse) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { + switch fd.FullName() { + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.AddToGlobalReputerWhitelistResponse")) + } + panic(fmt.Errorf("message emissions.v8.AddToGlobalReputerWhitelistResponse does not contain field %s", fd.FullName())) + } +} + +// Mutable returns a mutable reference to a composite type. +// +// If the field is unpopulated, it may allocate a composite value. +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType +// if not already stored. +// It panics if the field does not contain a composite type. +// +// Mutable is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_AddToGlobalReputerWhitelistResponse) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.AddToGlobalReputerWhitelistResponse")) + } + panic(fmt.Errorf("message emissions.v8.AddToGlobalReputerWhitelistResponse does not contain field %s", fd.FullName())) + } +} + +// NewField returns a new value that is assignable to the field +// for the given descriptor. For scalars, this returns the default value. +// For lists, maps, and messages, this returns a new, empty, mutable value. +func (x *fastReflection_AddToGlobalReputerWhitelistResponse) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.AddToGlobalReputerWhitelistResponse")) + } + panic(fmt.Errorf("message emissions.v8.AddToGlobalReputerWhitelistResponse does not contain field %s", fd.FullName())) + } +} + +// WhichOneof reports which field within the oneof is populated, +// returning nil if none are populated. +// It panics if the oneof descriptor does not belong to this message. +func (x *fastReflection_AddToGlobalReputerWhitelistResponse) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { + switch d.FullName() { + default: + panic(fmt.Errorf("%s is not a oneof field in emissions.v8.AddToGlobalReputerWhitelistResponse", d.FullName())) + } + panic("unreachable") +} + +// GetUnknown retrieves the entire list of unknown fields. +// The caller may only mutate the contents of the RawFields +// if the mutated bytes are stored back into the message with SetUnknown. +func (x *fastReflection_AddToGlobalReputerWhitelistResponse) GetUnknown() protoreflect.RawFields { + return x.unknownFields +} + +// SetUnknown stores an entire list of unknown fields. +// The raw fields must be syntactically valid according to the wire format. +// An implementation may panic if this is not the case. +// Once stored, the caller must not mutate the content of the RawFields. +// An empty RawFields may be passed to clear the fields. +// +// SetUnknown is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_AddToGlobalReputerWhitelistResponse) SetUnknown(fields protoreflect.RawFields) { + x.unknownFields = fields +} + +// IsValid reports whether the message is valid. +// +// An invalid message is an empty, read-only value. +// +// An invalid message often corresponds to a nil pointer of the concrete +// message type, but the details are implementation dependent. +// Validity is not part of the protobuf data model, and may not +// be preserved in marshaling or other operations. +func (x *fastReflection_AddToGlobalReputerWhitelistResponse) IsValid() bool { + return x != nil +} + +// ProtoMethods returns optional fastReflectionFeature-path implementations of various operations. +// This method may return nil. +// +// The returned methods type is identical to +// "google.golang.org/protobuf/runtime/protoiface".Methods. +// Consult the protoiface package documentation for details. +func (x *fastReflection_AddToGlobalReputerWhitelistResponse) ProtoMethods() *protoiface.Methods { + size := func(input protoiface.SizeInput) protoiface.SizeOutput { + x := input.Message.Interface().(*AddToGlobalReputerWhitelistResponse) + if x == nil { + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: 0, + } + } + options := runtime.SizeInputToOptions(input) + _ = options + var n int + var l int + _ = l + if x.unknownFields != nil { + n += len(x.unknownFields) + } + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: n, + } + } + + marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { + x := input.Message.Interface().(*AddToGlobalReputerWhitelistResponse) + if x == nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + options := runtime.MarshalInputToOptions(input) + _ = options + size := options.Size(x) + dAtA := make([]byte, size) + i := len(dAtA) + _ = i + var l int + _ = l + if x.unknownFields != nil { + i -= len(x.unknownFields) + copy(dAtA[i:], x.unknownFields) + } + if input.Buf != nil { + input.Buf = append(input.Buf, dAtA...) + } else { + input.Buf = dAtA + } + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { + x := input.Message.Interface().(*AddToGlobalReputerWhitelistResponse) + if x == nil { + return protoiface.UnmarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Flags: input.Flags, + }, nil + } + options := runtime.UnmarshalInputToOptions(input) + _ = options + dAtA := input.Buf + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: AddToGlobalReputerWhitelistResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: AddToGlobalReputerWhitelistResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + default: + iNdEx = preIndex + skippy, err := runtime.Skip(dAtA[iNdEx:]) + if err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if (iNdEx + skippy) > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + if !options.DiscardUnknown { + x.unknownFields = append(x.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + } + iNdEx += skippy + } + } + + if iNdEx > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, nil + } + return &protoiface.Methods{ + NoUnkeyedLiterals: struct{}{}, + Flags: protoiface.SupportMarshalDeterministic | protoiface.SupportUnmarshalDiscardUnknown, + Size: size, + Marshal: marshal, + Unmarshal: unmarshal, + Merge: nil, + CheckInitialized: nil, + } +} + +var ( + md_RemoveFromGlobalReputerWhitelistRequest protoreflect.MessageDescriptor + fd_RemoveFromGlobalReputerWhitelistRequest_sender protoreflect.FieldDescriptor + fd_RemoveFromGlobalReputerWhitelistRequest_address protoreflect.FieldDescriptor +) + +func init() { + file_emissions_v8_tx_proto_init() + md_RemoveFromGlobalReputerWhitelistRequest = File_emissions_v8_tx_proto.Messages().ByName("RemoveFromGlobalReputerWhitelistRequest") + fd_RemoveFromGlobalReputerWhitelistRequest_sender = md_RemoveFromGlobalReputerWhitelistRequest.Fields().ByName("sender") + fd_RemoveFromGlobalReputerWhitelistRequest_address = md_RemoveFromGlobalReputerWhitelistRequest.Fields().ByName("address") +} + +var _ protoreflect.Message = (*fastReflection_RemoveFromGlobalReputerWhitelistRequest)(nil) + +type fastReflection_RemoveFromGlobalReputerWhitelistRequest RemoveFromGlobalReputerWhitelistRequest + +func (x *RemoveFromGlobalReputerWhitelistRequest) ProtoReflect() protoreflect.Message { + return (*fastReflection_RemoveFromGlobalReputerWhitelistRequest)(x) +} + +func (x *RemoveFromGlobalReputerWhitelistRequest) slowProtoReflect() protoreflect.Message { + mi := &file_emissions_v8_tx_proto_msgTypes[53] + 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) +} + +var _fastReflection_RemoveFromGlobalReputerWhitelistRequest_messageType fastReflection_RemoveFromGlobalReputerWhitelistRequest_messageType +var _ protoreflect.MessageType = fastReflection_RemoveFromGlobalReputerWhitelistRequest_messageType{} + +type fastReflection_RemoveFromGlobalReputerWhitelistRequest_messageType struct{} + +func (x fastReflection_RemoveFromGlobalReputerWhitelistRequest_messageType) Zero() protoreflect.Message { + return (*fastReflection_RemoveFromGlobalReputerWhitelistRequest)(nil) +} +func (x fastReflection_RemoveFromGlobalReputerWhitelistRequest_messageType) New() protoreflect.Message { + return new(fastReflection_RemoveFromGlobalReputerWhitelistRequest) +} +func (x fastReflection_RemoveFromGlobalReputerWhitelistRequest_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_RemoveFromGlobalReputerWhitelistRequest +} + +// Descriptor returns message descriptor, which contains only the protobuf +// type information for the message. +func (x *fastReflection_RemoveFromGlobalReputerWhitelistRequest) Descriptor() protoreflect.MessageDescriptor { + return md_RemoveFromGlobalReputerWhitelistRequest +} + +// Type returns the message type, which encapsulates both Go and protobuf +// type information. If the Go type information is not needed, +// it is recommended that the message descriptor be used instead. +func (x *fastReflection_RemoveFromGlobalReputerWhitelistRequest) Type() protoreflect.MessageType { + return _fastReflection_RemoveFromGlobalReputerWhitelistRequest_messageType +} + +// New returns a newly allocated and mutable empty message. +func (x *fastReflection_RemoveFromGlobalReputerWhitelistRequest) New() protoreflect.Message { + return new(fastReflection_RemoveFromGlobalReputerWhitelistRequest) +} + +// Interface unwraps the message reflection interface and +// returns the underlying ProtoMessage interface. +func (x *fastReflection_RemoveFromGlobalReputerWhitelistRequest) Interface() protoreflect.ProtoMessage { + return (*RemoveFromGlobalReputerWhitelistRequest)(x) +} + +// Range iterates over every populated field in an undefined order, +// calling f for each field descriptor and value encountered. +// Range returns immediately if f returns false. +// While iterating, mutating operations may only be performed +// on the current field descriptor. +func (x *fastReflection_RemoveFromGlobalReputerWhitelistRequest) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { + if x.Sender != "" { + value := protoreflect.ValueOfString(x.Sender) + if !f(fd_RemoveFromGlobalReputerWhitelistRequest_sender, value) { + return + } + } + if x.Address != "" { + value := protoreflect.ValueOfString(x.Address) + if !f(fd_RemoveFromGlobalReputerWhitelistRequest_address, value) { + return + } + } +} + +// Has reports whether a field is populated. +// +// Some fields have the property of nullability where it is possible to +// distinguish between the default value of a field and whether the field +// was explicitly populated with the default value. Singular message fields, +// member fields of a oneof, and proto2 scalar fields are nullable. Such +// fields are populated only if explicitly set. +// +// In other cases (aside from the nullable cases above), +// a proto3 scalar field is populated if it contains a non-zero value, and +// a repeated field is populated if it is non-empty. +func (x *fastReflection_RemoveFromGlobalReputerWhitelistRequest) Has(fd protoreflect.FieldDescriptor) bool { + switch fd.FullName() { + case "emissions.v8.RemoveFromGlobalReputerWhitelistRequest.sender": + return x.Sender != "" + case "emissions.v8.RemoveFromGlobalReputerWhitelistRequest.address": + return x.Address != "" + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.RemoveFromGlobalReputerWhitelistRequest")) + } + panic(fmt.Errorf("message emissions.v8.RemoveFromGlobalReputerWhitelistRequest does not contain field %s", fd.FullName())) + } +} + +// Clear clears the field such that a subsequent Has call reports false. +// +// Clearing an extension field clears both the extension type and value +// associated with the given field number. +// +// Clear is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_RemoveFromGlobalReputerWhitelistRequest) Clear(fd protoreflect.FieldDescriptor) { + switch fd.FullName() { + case "emissions.v8.RemoveFromGlobalReputerWhitelistRequest.sender": + x.Sender = "" + case "emissions.v8.RemoveFromGlobalReputerWhitelistRequest.address": + x.Address = "" + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.RemoveFromGlobalReputerWhitelistRequest")) + } + panic(fmt.Errorf("message emissions.v8.RemoveFromGlobalReputerWhitelistRequest does not contain field %s", fd.FullName())) + } +} + +// Get retrieves the value for a field. +// +// For unpopulated scalars, it returns the default value, where +// the default value of a bytes scalar is guaranteed to be a copy. +// For unpopulated composite types, it returns an empty, read-only view +// of the value; to obtain a mutable reference, use Mutable. +func (x *fastReflection_RemoveFromGlobalReputerWhitelistRequest) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { + switch descriptor.FullName() { + case "emissions.v8.RemoveFromGlobalReputerWhitelistRequest.sender": + value := x.Sender + return protoreflect.ValueOfString(value) + case "emissions.v8.RemoveFromGlobalReputerWhitelistRequest.address": + value := x.Address + return protoreflect.ValueOfString(value) + default: + if descriptor.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.RemoveFromGlobalReputerWhitelistRequest")) + } + panic(fmt.Errorf("message emissions.v8.RemoveFromGlobalReputerWhitelistRequest does not contain field %s", descriptor.FullName())) + } +} + +// Set stores the value for a field. +// +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType. +// When setting a composite type, it is unspecified whether the stored value +// aliases the source's memory in any way. If the composite value is an +// empty, read-only value, then it panics. +// +// Set is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_RemoveFromGlobalReputerWhitelistRequest) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { + switch fd.FullName() { + case "emissions.v8.RemoveFromGlobalReputerWhitelistRequest.sender": + x.Sender = value.Interface().(string) + case "emissions.v8.RemoveFromGlobalReputerWhitelistRequest.address": + x.Address = value.Interface().(string) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.RemoveFromGlobalReputerWhitelistRequest")) + } + panic(fmt.Errorf("message emissions.v8.RemoveFromGlobalReputerWhitelistRequest does not contain field %s", fd.FullName())) + } +} + +// Mutable returns a mutable reference to a composite type. +// +// If the field is unpopulated, it may allocate a composite value. +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType +// if not already stored. +// It panics if the field does not contain a composite type. +// +// Mutable is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_RemoveFromGlobalReputerWhitelistRequest) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.RemoveFromGlobalReputerWhitelistRequest.sender": + panic(fmt.Errorf("field sender of message emissions.v8.RemoveFromGlobalReputerWhitelistRequest is not mutable")) + case "emissions.v8.RemoveFromGlobalReputerWhitelistRequest.address": + panic(fmt.Errorf("field address of message emissions.v8.RemoveFromGlobalReputerWhitelistRequest is not mutable")) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.RemoveFromGlobalReputerWhitelistRequest")) + } + panic(fmt.Errorf("message emissions.v8.RemoveFromGlobalReputerWhitelistRequest does not contain field %s", fd.FullName())) + } +} + +// NewField returns a new value that is assignable to the field +// for the given descriptor. For scalars, this returns the default value. +// For lists, maps, and messages, this returns a new, empty, mutable value. +func (x *fastReflection_RemoveFromGlobalReputerWhitelistRequest) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.RemoveFromGlobalReputerWhitelistRequest.sender": + return protoreflect.ValueOfString("") + case "emissions.v8.RemoveFromGlobalReputerWhitelistRequest.address": + return protoreflect.ValueOfString("") + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.RemoveFromGlobalReputerWhitelistRequest")) + } + panic(fmt.Errorf("message emissions.v8.RemoveFromGlobalReputerWhitelistRequest does not contain field %s", fd.FullName())) + } +} + +// WhichOneof reports which field within the oneof is populated, +// returning nil if none are populated. +// It panics if the oneof descriptor does not belong to this message. +func (x *fastReflection_RemoveFromGlobalReputerWhitelistRequest) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { + switch d.FullName() { + default: + panic(fmt.Errorf("%s is not a oneof field in emissions.v8.RemoveFromGlobalReputerWhitelistRequest", d.FullName())) + } + panic("unreachable") +} + +// GetUnknown retrieves the entire list of unknown fields. +// The caller may only mutate the contents of the RawFields +// if the mutated bytes are stored back into the message with SetUnknown. +func (x *fastReflection_RemoveFromGlobalReputerWhitelistRequest) GetUnknown() protoreflect.RawFields { + return x.unknownFields +} + +// SetUnknown stores an entire list of unknown fields. +// The raw fields must be syntactically valid according to the wire format. +// An implementation may panic if this is not the case. +// Once stored, the caller must not mutate the content of the RawFields. +// An empty RawFields may be passed to clear the fields. +// +// SetUnknown is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_RemoveFromGlobalReputerWhitelistRequest) SetUnknown(fields protoreflect.RawFields) { + x.unknownFields = fields +} + +// IsValid reports whether the message is valid. +// +// An invalid message is an empty, read-only value. +// +// An invalid message often corresponds to a nil pointer of the concrete +// message type, but the details are implementation dependent. +// Validity is not part of the protobuf data model, and may not +// be preserved in marshaling or other operations. +func (x *fastReflection_RemoveFromGlobalReputerWhitelistRequest) IsValid() bool { + return x != nil +} + +// ProtoMethods returns optional fastReflectionFeature-path implementations of various operations. +// This method may return nil. +// +// The returned methods type is identical to +// "google.golang.org/protobuf/runtime/protoiface".Methods. +// Consult the protoiface package documentation for details. +func (x *fastReflection_RemoveFromGlobalReputerWhitelistRequest) ProtoMethods() *protoiface.Methods { + size := func(input protoiface.SizeInput) protoiface.SizeOutput { + x := input.Message.Interface().(*RemoveFromGlobalReputerWhitelistRequest) + if x == nil { + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: 0, + } + } + options := runtime.SizeInputToOptions(input) + _ = options + var n int + var l int + _ = l + l = len(x.Sender) + if l > 0 { + n += 1 + l + runtime.Sov(uint64(l)) + } + l = len(x.Address) + if l > 0 { + n += 1 + l + runtime.Sov(uint64(l)) + } + if x.unknownFields != nil { + n += len(x.unknownFields) + } + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: n, + } + } + + marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { + x := input.Message.Interface().(*RemoveFromGlobalReputerWhitelistRequest) + if x == nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + options := runtime.MarshalInputToOptions(input) + _ = options + size := options.Size(x) + dAtA := make([]byte, size) + i := len(dAtA) + _ = i + var l int + _ = l + if x.unknownFields != nil { + i -= len(x.unknownFields) + copy(dAtA[i:], x.unknownFields) + } + if len(x.Address) > 0 { + i -= len(x.Address) + copy(dAtA[i:], x.Address) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.Address))) + i-- + dAtA[i] = 0x12 + } + if len(x.Sender) > 0 { + i -= len(x.Sender) + copy(dAtA[i:], x.Sender) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.Sender))) + i-- + dAtA[i] = 0xa + } + if input.Buf != nil { + input.Buf = append(input.Buf, dAtA...) + } else { + input.Buf = dAtA + } + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { + x := input.Message.Interface().(*RemoveFromGlobalReputerWhitelistRequest) + if x == nil { + return protoiface.UnmarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Flags: input.Flags, + }, nil + } + options := runtime.UnmarshalInputToOptions(input) + _ = options + dAtA := input.Buf + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: RemoveFromGlobalReputerWhitelistRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: RemoveFromGlobalReputerWhitelistRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Sender", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + x.Sender = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Address", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + x.Address = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := runtime.Skip(dAtA[iNdEx:]) + if err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if (iNdEx + skippy) > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + if !options.DiscardUnknown { + x.unknownFields = append(x.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + } + iNdEx += skippy + } + } + + if iNdEx > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, nil + } + return &protoiface.Methods{ + NoUnkeyedLiterals: struct{}{}, + Flags: protoiface.SupportMarshalDeterministic | protoiface.SupportUnmarshalDiscardUnknown, + Size: size, + Marshal: marshal, + Unmarshal: unmarshal, + Merge: nil, + CheckInitialized: nil, + } +} + +var ( + md_RemoveFromGlobalReputerWhitelistResponse protoreflect.MessageDescriptor +) + +func init() { + file_emissions_v8_tx_proto_init() + md_RemoveFromGlobalReputerWhitelistResponse = File_emissions_v8_tx_proto.Messages().ByName("RemoveFromGlobalReputerWhitelistResponse") +} + +var _ protoreflect.Message = (*fastReflection_RemoveFromGlobalReputerWhitelistResponse)(nil) + +type fastReflection_RemoveFromGlobalReputerWhitelistResponse RemoveFromGlobalReputerWhitelistResponse + +func (x *RemoveFromGlobalReputerWhitelistResponse) ProtoReflect() protoreflect.Message { + return (*fastReflection_RemoveFromGlobalReputerWhitelistResponse)(x) +} + +func (x *RemoveFromGlobalReputerWhitelistResponse) slowProtoReflect() protoreflect.Message { + mi := &file_emissions_v8_tx_proto_msgTypes[54] + 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) +} + +var _fastReflection_RemoveFromGlobalReputerWhitelistResponse_messageType fastReflection_RemoveFromGlobalReputerWhitelistResponse_messageType +var _ protoreflect.MessageType = fastReflection_RemoveFromGlobalReputerWhitelistResponse_messageType{} + +type fastReflection_RemoveFromGlobalReputerWhitelistResponse_messageType struct{} + +func (x fastReflection_RemoveFromGlobalReputerWhitelistResponse_messageType) Zero() protoreflect.Message { + return (*fastReflection_RemoveFromGlobalReputerWhitelistResponse)(nil) +} +func (x fastReflection_RemoveFromGlobalReputerWhitelistResponse_messageType) New() protoreflect.Message { + return new(fastReflection_RemoveFromGlobalReputerWhitelistResponse) +} +func (x fastReflection_RemoveFromGlobalReputerWhitelistResponse_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_RemoveFromGlobalReputerWhitelistResponse +} + +// Descriptor returns message descriptor, which contains only the protobuf +// type information for the message. +func (x *fastReflection_RemoveFromGlobalReputerWhitelistResponse) Descriptor() protoreflect.MessageDescriptor { + return md_RemoveFromGlobalReputerWhitelistResponse +} + +// Type returns the message type, which encapsulates both Go and protobuf +// type information. If the Go type information is not needed, +// it is recommended that the message descriptor be used instead. +func (x *fastReflection_RemoveFromGlobalReputerWhitelistResponse) Type() protoreflect.MessageType { + return _fastReflection_RemoveFromGlobalReputerWhitelistResponse_messageType +} + +// New returns a newly allocated and mutable empty message. +func (x *fastReflection_RemoveFromGlobalReputerWhitelistResponse) New() protoreflect.Message { + return new(fastReflection_RemoveFromGlobalReputerWhitelistResponse) +} + +// Interface unwraps the message reflection interface and +// returns the underlying ProtoMessage interface. +func (x *fastReflection_RemoveFromGlobalReputerWhitelistResponse) Interface() protoreflect.ProtoMessage { + return (*RemoveFromGlobalReputerWhitelistResponse)(x) +} + +// Range iterates over every populated field in an undefined order, +// calling f for each field descriptor and value encountered. +// Range returns immediately if f returns false. +// While iterating, mutating operations may only be performed +// on the current field descriptor. +func (x *fastReflection_RemoveFromGlobalReputerWhitelistResponse) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { +} + +// Has reports whether a field is populated. +// +// Some fields have the property of nullability where it is possible to +// distinguish between the default value of a field and whether the field +// was explicitly populated with the default value. Singular message fields, +// member fields of a oneof, and proto2 scalar fields are nullable. Such +// fields are populated only if explicitly set. +// +// In other cases (aside from the nullable cases above), +// a proto3 scalar field is populated if it contains a non-zero value, and +// a repeated field is populated if it is non-empty. +func (x *fastReflection_RemoveFromGlobalReputerWhitelistResponse) Has(fd protoreflect.FieldDescriptor) bool { + switch fd.FullName() { + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.RemoveFromGlobalReputerWhitelistResponse")) + } + panic(fmt.Errorf("message emissions.v8.RemoveFromGlobalReputerWhitelistResponse does not contain field %s", fd.FullName())) + } +} + +// Clear clears the field such that a subsequent Has call reports false. +// +// Clearing an extension field clears both the extension type and value +// associated with the given field number. +// +// Clear is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_RemoveFromGlobalReputerWhitelistResponse) Clear(fd protoreflect.FieldDescriptor) { + switch fd.FullName() { + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.RemoveFromGlobalReputerWhitelistResponse")) + } + panic(fmt.Errorf("message emissions.v8.RemoveFromGlobalReputerWhitelistResponse does not contain field %s", fd.FullName())) + } +} + +// Get retrieves the value for a field. +// +// For unpopulated scalars, it returns the default value, where +// the default value of a bytes scalar is guaranteed to be a copy. +// For unpopulated composite types, it returns an empty, read-only view +// of the value; to obtain a mutable reference, use Mutable. +func (x *fastReflection_RemoveFromGlobalReputerWhitelistResponse) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { + switch descriptor.FullName() { + default: + if descriptor.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.RemoveFromGlobalReputerWhitelistResponse")) + } + panic(fmt.Errorf("message emissions.v8.RemoveFromGlobalReputerWhitelistResponse does not contain field %s", descriptor.FullName())) + } +} + +// Set stores the value for a field. +// +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType. +// When setting a composite type, it is unspecified whether the stored value +// aliases the source's memory in any way. If the composite value is an +// empty, read-only value, then it panics. +// +// Set is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_RemoveFromGlobalReputerWhitelistResponse) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { + switch fd.FullName() { + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.RemoveFromGlobalReputerWhitelistResponse")) + } + panic(fmt.Errorf("message emissions.v8.RemoveFromGlobalReputerWhitelistResponse does not contain field %s", fd.FullName())) + } +} + +// Mutable returns a mutable reference to a composite type. +// +// If the field is unpopulated, it may allocate a composite value. +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType +// if not already stored. +// It panics if the field does not contain a composite type. +// +// Mutable is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_RemoveFromGlobalReputerWhitelistResponse) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.RemoveFromGlobalReputerWhitelistResponse")) + } + panic(fmt.Errorf("message emissions.v8.RemoveFromGlobalReputerWhitelistResponse does not contain field %s", fd.FullName())) + } +} + +// NewField returns a new value that is assignable to the field +// for the given descriptor. For scalars, this returns the default value. +// For lists, maps, and messages, this returns a new, empty, mutable value. +func (x *fastReflection_RemoveFromGlobalReputerWhitelistResponse) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.RemoveFromGlobalReputerWhitelistResponse")) + } + panic(fmt.Errorf("message emissions.v8.RemoveFromGlobalReputerWhitelistResponse does not contain field %s", fd.FullName())) + } +} + +// WhichOneof reports which field within the oneof is populated, +// returning nil if none are populated. +// It panics if the oneof descriptor does not belong to this message. +func (x *fastReflection_RemoveFromGlobalReputerWhitelistResponse) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { + switch d.FullName() { + default: + panic(fmt.Errorf("%s is not a oneof field in emissions.v8.RemoveFromGlobalReputerWhitelistResponse", d.FullName())) + } + panic("unreachable") +} + +// GetUnknown retrieves the entire list of unknown fields. +// The caller may only mutate the contents of the RawFields +// if the mutated bytes are stored back into the message with SetUnknown. +func (x *fastReflection_RemoveFromGlobalReputerWhitelistResponse) GetUnknown() protoreflect.RawFields { + return x.unknownFields +} + +// SetUnknown stores an entire list of unknown fields. +// The raw fields must be syntactically valid according to the wire format. +// An implementation may panic if this is not the case. +// Once stored, the caller must not mutate the content of the RawFields. +// An empty RawFields may be passed to clear the fields. +// +// SetUnknown is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_RemoveFromGlobalReputerWhitelistResponse) SetUnknown(fields protoreflect.RawFields) { + x.unknownFields = fields +} + +// IsValid reports whether the message is valid. +// +// An invalid message is an empty, read-only value. +// +// An invalid message often corresponds to a nil pointer of the concrete +// message type, but the details are implementation dependent. +// Validity is not part of the protobuf data model, and may not +// be preserved in marshaling or other operations. +func (x *fastReflection_RemoveFromGlobalReputerWhitelistResponse) IsValid() bool { + return x != nil +} + +// ProtoMethods returns optional fastReflectionFeature-path implementations of various operations. +// This method may return nil. +// +// The returned methods type is identical to +// "google.golang.org/protobuf/runtime/protoiface".Methods. +// Consult the protoiface package documentation for details. +func (x *fastReflection_RemoveFromGlobalReputerWhitelistResponse) ProtoMethods() *protoiface.Methods { + size := func(input protoiface.SizeInput) protoiface.SizeOutput { + x := input.Message.Interface().(*RemoveFromGlobalReputerWhitelistResponse) + if x == nil { + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: 0, + } + } + options := runtime.SizeInputToOptions(input) + _ = options + var n int + var l int + _ = l + if x.unknownFields != nil { + n += len(x.unknownFields) + } + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: n, + } + } + + marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { + x := input.Message.Interface().(*RemoveFromGlobalReputerWhitelistResponse) + if x == nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + options := runtime.MarshalInputToOptions(input) + _ = options + size := options.Size(x) + dAtA := make([]byte, size) + i := len(dAtA) + _ = i + var l int + _ = l + if x.unknownFields != nil { + i -= len(x.unknownFields) + copy(dAtA[i:], x.unknownFields) + } + if input.Buf != nil { + input.Buf = append(input.Buf, dAtA...) + } else { + input.Buf = dAtA + } + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { + x := input.Message.Interface().(*RemoveFromGlobalReputerWhitelistResponse) + if x == nil { + return protoiface.UnmarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Flags: input.Flags, + }, nil + } + options := runtime.UnmarshalInputToOptions(input) + _ = options + dAtA := input.Buf + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: RemoveFromGlobalReputerWhitelistResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: RemoveFromGlobalReputerWhitelistResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + default: + iNdEx = preIndex + skippy, err := runtime.Skip(dAtA[iNdEx:]) + if err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if (iNdEx + skippy) > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + if !options.DiscardUnknown { + x.unknownFields = append(x.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + } + iNdEx += skippy + } + } + + if iNdEx > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, nil + } + return &protoiface.Methods{ + NoUnkeyedLiterals: struct{}{}, + Flags: protoiface.SupportMarshalDeterministic | protoiface.SupportUnmarshalDiscardUnknown, + Size: size, + Marshal: marshal, + Unmarshal: unmarshal, + Merge: nil, + CheckInitialized: nil, + } +} + +var ( + md_AddToGlobalAdminWhitelistRequest protoreflect.MessageDescriptor + fd_AddToGlobalAdminWhitelistRequest_sender protoreflect.FieldDescriptor + fd_AddToGlobalAdminWhitelistRequest_address protoreflect.FieldDescriptor +) + +func init() { + file_emissions_v8_tx_proto_init() + md_AddToGlobalAdminWhitelistRequest = File_emissions_v8_tx_proto.Messages().ByName("AddToGlobalAdminWhitelistRequest") + fd_AddToGlobalAdminWhitelistRequest_sender = md_AddToGlobalAdminWhitelistRequest.Fields().ByName("sender") + fd_AddToGlobalAdminWhitelistRequest_address = md_AddToGlobalAdminWhitelistRequest.Fields().ByName("address") +} + +var _ protoreflect.Message = (*fastReflection_AddToGlobalAdminWhitelistRequest)(nil) + +type fastReflection_AddToGlobalAdminWhitelistRequest AddToGlobalAdminWhitelistRequest + +func (x *AddToGlobalAdminWhitelistRequest) ProtoReflect() protoreflect.Message { + return (*fastReflection_AddToGlobalAdminWhitelistRequest)(x) +} + +func (x *AddToGlobalAdminWhitelistRequest) slowProtoReflect() protoreflect.Message { + mi := &file_emissions_v8_tx_proto_msgTypes[55] + 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) +} + +var _fastReflection_AddToGlobalAdminWhitelistRequest_messageType fastReflection_AddToGlobalAdminWhitelistRequest_messageType +var _ protoreflect.MessageType = fastReflection_AddToGlobalAdminWhitelistRequest_messageType{} + +type fastReflection_AddToGlobalAdminWhitelistRequest_messageType struct{} + +func (x fastReflection_AddToGlobalAdminWhitelistRequest_messageType) Zero() protoreflect.Message { + return (*fastReflection_AddToGlobalAdminWhitelistRequest)(nil) +} +func (x fastReflection_AddToGlobalAdminWhitelistRequest_messageType) New() protoreflect.Message { + return new(fastReflection_AddToGlobalAdminWhitelistRequest) +} +func (x fastReflection_AddToGlobalAdminWhitelistRequest_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_AddToGlobalAdminWhitelistRequest +} + +// Descriptor returns message descriptor, which contains only the protobuf +// type information for the message. +func (x *fastReflection_AddToGlobalAdminWhitelistRequest) Descriptor() protoreflect.MessageDescriptor { + return md_AddToGlobalAdminWhitelistRequest +} + +// Type returns the message type, which encapsulates both Go and protobuf +// type information. If the Go type information is not needed, +// it is recommended that the message descriptor be used instead. +func (x *fastReflection_AddToGlobalAdminWhitelistRequest) Type() protoreflect.MessageType { + return _fastReflection_AddToGlobalAdminWhitelistRequest_messageType +} + +// New returns a newly allocated and mutable empty message. +func (x *fastReflection_AddToGlobalAdminWhitelistRequest) New() protoreflect.Message { + return new(fastReflection_AddToGlobalAdminWhitelistRequest) +} + +// Interface unwraps the message reflection interface and +// returns the underlying ProtoMessage interface. +func (x *fastReflection_AddToGlobalAdminWhitelistRequest) Interface() protoreflect.ProtoMessage { + return (*AddToGlobalAdminWhitelistRequest)(x) +} + +// Range iterates over every populated field in an undefined order, +// calling f for each field descriptor and value encountered. +// Range returns immediately if f returns false. +// While iterating, mutating operations may only be performed +// on the current field descriptor. +func (x *fastReflection_AddToGlobalAdminWhitelistRequest) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { + if x.Sender != "" { + value := protoreflect.ValueOfString(x.Sender) + if !f(fd_AddToGlobalAdminWhitelistRequest_sender, value) { + return + } + } + if x.Address != "" { + value := protoreflect.ValueOfString(x.Address) + if !f(fd_AddToGlobalAdminWhitelistRequest_address, value) { + return + } + } +} + +// Has reports whether a field is populated. +// +// Some fields have the property of nullability where it is possible to +// distinguish between the default value of a field and whether the field +// was explicitly populated with the default value. Singular message fields, +// member fields of a oneof, and proto2 scalar fields are nullable. Such +// fields are populated only if explicitly set. +// +// In other cases (aside from the nullable cases above), +// a proto3 scalar field is populated if it contains a non-zero value, and +// a repeated field is populated if it is non-empty. +func (x *fastReflection_AddToGlobalAdminWhitelistRequest) Has(fd protoreflect.FieldDescriptor) bool { + switch fd.FullName() { + case "emissions.v8.AddToGlobalAdminWhitelistRequest.sender": + return x.Sender != "" + case "emissions.v8.AddToGlobalAdminWhitelistRequest.address": + return x.Address != "" + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.AddToGlobalAdminWhitelistRequest")) + } + panic(fmt.Errorf("message emissions.v8.AddToGlobalAdminWhitelistRequest does not contain field %s", fd.FullName())) + } +} + +// Clear clears the field such that a subsequent Has call reports false. +// +// Clearing an extension field clears both the extension type and value +// associated with the given field number. +// +// Clear is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_AddToGlobalAdminWhitelistRequest) Clear(fd protoreflect.FieldDescriptor) { + switch fd.FullName() { + case "emissions.v8.AddToGlobalAdminWhitelistRequest.sender": + x.Sender = "" + case "emissions.v8.AddToGlobalAdminWhitelistRequest.address": + x.Address = "" + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.AddToGlobalAdminWhitelistRequest")) + } + panic(fmt.Errorf("message emissions.v8.AddToGlobalAdminWhitelistRequest does not contain field %s", fd.FullName())) + } +} + +// Get retrieves the value for a field. +// +// For unpopulated scalars, it returns the default value, where +// the default value of a bytes scalar is guaranteed to be a copy. +// For unpopulated composite types, it returns an empty, read-only view +// of the value; to obtain a mutable reference, use Mutable. +func (x *fastReflection_AddToGlobalAdminWhitelistRequest) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { + switch descriptor.FullName() { + case "emissions.v8.AddToGlobalAdminWhitelistRequest.sender": + value := x.Sender + return protoreflect.ValueOfString(value) + case "emissions.v8.AddToGlobalAdminWhitelistRequest.address": + value := x.Address + return protoreflect.ValueOfString(value) + default: + if descriptor.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.AddToGlobalAdminWhitelistRequest")) + } + panic(fmt.Errorf("message emissions.v8.AddToGlobalAdminWhitelistRequest does not contain field %s", descriptor.FullName())) + } +} + +// Set stores the value for a field. +// +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType. +// When setting a composite type, it is unspecified whether the stored value +// aliases the source's memory in any way. If the composite value is an +// empty, read-only value, then it panics. +// +// Set is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_AddToGlobalAdminWhitelistRequest) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { + switch fd.FullName() { + case "emissions.v8.AddToGlobalAdminWhitelistRequest.sender": + x.Sender = value.Interface().(string) + case "emissions.v8.AddToGlobalAdminWhitelistRequest.address": + x.Address = value.Interface().(string) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.AddToGlobalAdminWhitelistRequest")) + } + panic(fmt.Errorf("message emissions.v8.AddToGlobalAdminWhitelistRequest does not contain field %s", fd.FullName())) + } +} + +// Mutable returns a mutable reference to a composite type. +// +// If the field is unpopulated, it may allocate a composite value. +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType +// if not already stored. +// It panics if the field does not contain a composite type. +// +// Mutable is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_AddToGlobalAdminWhitelistRequest) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.AddToGlobalAdminWhitelistRequest.sender": + panic(fmt.Errorf("field sender of message emissions.v8.AddToGlobalAdminWhitelistRequest is not mutable")) + case "emissions.v8.AddToGlobalAdminWhitelistRequest.address": + panic(fmt.Errorf("field address of message emissions.v8.AddToGlobalAdminWhitelistRequest is not mutable")) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.AddToGlobalAdminWhitelistRequest")) + } + panic(fmt.Errorf("message emissions.v8.AddToGlobalAdminWhitelistRequest does not contain field %s", fd.FullName())) + } +} + +// NewField returns a new value that is assignable to the field +// for the given descriptor. For scalars, this returns the default value. +// For lists, maps, and messages, this returns a new, empty, mutable value. +func (x *fastReflection_AddToGlobalAdminWhitelistRequest) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.AddToGlobalAdminWhitelistRequest.sender": + return protoreflect.ValueOfString("") + case "emissions.v8.AddToGlobalAdminWhitelistRequest.address": + return protoreflect.ValueOfString("") + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.AddToGlobalAdminWhitelistRequest")) + } + panic(fmt.Errorf("message emissions.v8.AddToGlobalAdminWhitelistRequest does not contain field %s", fd.FullName())) + } +} + +// WhichOneof reports which field within the oneof is populated, +// returning nil if none are populated. +// It panics if the oneof descriptor does not belong to this message. +func (x *fastReflection_AddToGlobalAdminWhitelistRequest) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { + switch d.FullName() { + default: + panic(fmt.Errorf("%s is not a oneof field in emissions.v8.AddToGlobalAdminWhitelistRequest", d.FullName())) + } + panic("unreachable") +} + +// GetUnknown retrieves the entire list of unknown fields. +// The caller may only mutate the contents of the RawFields +// if the mutated bytes are stored back into the message with SetUnknown. +func (x *fastReflection_AddToGlobalAdminWhitelistRequest) GetUnknown() protoreflect.RawFields { + return x.unknownFields +} + +// SetUnknown stores an entire list of unknown fields. +// The raw fields must be syntactically valid according to the wire format. +// An implementation may panic if this is not the case. +// Once stored, the caller must not mutate the content of the RawFields. +// An empty RawFields may be passed to clear the fields. +// +// SetUnknown is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_AddToGlobalAdminWhitelistRequest) SetUnknown(fields protoreflect.RawFields) { + x.unknownFields = fields +} + +// IsValid reports whether the message is valid. +// +// An invalid message is an empty, read-only value. +// +// An invalid message often corresponds to a nil pointer of the concrete +// message type, but the details are implementation dependent. +// Validity is not part of the protobuf data model, and may not +// be preserved in marshaling or other operations. +func (x *fastReflection_AddToGlobalAdminWhitelistRequest) IsValid() bool { + return x != nil +} + +// ProtoMethods returns optional fastReflectionFeature-path implementations of various operations. +// This method may return nil. +// +// The returned methods type is identical to +// "google.golang.org/protobuf/runtime/protoiface".Methods. +// Consult the protoiface package documentation for details. +func (x *fastReflection_AddToGlobalAdminWhitelistRequest) ProtoMethods() *protoiface.Methods { + size := func(input protoiface.SizeInput) protoiface.SizeOutput { + x := input.Message.Interface().(*AddToGlobalAdminWhitelistRequest) + if x == nil { + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: 0, + } + } + options := runtime.SizeInputToOptions(input) + _ = options + var n int + var l int + _ = l + l = len(x.Sender) + if l > 0 { + n += 1 + l + runtime.Sov(uint64(l)) + } + l = len(x.Address) + if l > 0 { + n += 1 + l + runtime.Sov(uint64(l)) + } + if x.unknownFields != nil { + n += len(x.unknownFields) + } + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: n, + } + } + + marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { + x := input.Message.Interface().(*AddToGlobalAdminWhitelistRequest) + if x == nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + options := runtime.MarshalInputToOptions(input) + _ = options + size := options.Size(x) + dAtA := make([]byte, size) + i := len(dAtA) + _ = i + var l int + _ = l + if x.unknownFields != nil { + i -= len(x.unknownFields) + copy(dAtA[i:], x.unknownFields) + } + if len(x.Address) > 0 { + i -= len(x.Address) + copy(dAtA[i:], x.Address) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.Address))) + i-- + dAtA[i] = 0x12 + } + if len(x.Sender) > 0 { + i -= len(x.Sender) + copy(dAtA[i:], x.Sender) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.Sender))) + i-- + dAtA[i] = 0xa + } + if input.Buf != nil { + input.Buf = append(input.Buf, dAtA...) + } else { + input.Buf = dAtA + } + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { + x := input.Message.Interface().(*AddToGlobalAdminWhitelistRequest) + if x == nil { + return protoiface.UnmarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Flags: input.Flags, + }, nil + } + options := runtime.UnmarshalInputToOptions(input) + _ = options + dAtA := input.Buf + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: AddToGlobalAdminWhitelistRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: AddToGlobalAdminWhitelistRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Sender", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + x.Sender = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Address", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + x.Address = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := runtime.Skip(dAtA[iNdEx:]) + if err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if (iNdEx + skippy) > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + if !options.DiscardUnknown { + x.unknownFields = append(x.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + } + iNdEx += skippy + } + } + + if iNdEx > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, nil + } + return &protoiface.Methods{ + NoUnkeyedLiterals: struct{}{}, + Flags: protoiface.SupportMarshalDeterministic | protoiface.SupportUnmarshalDiscardUnknown, + Size: size, + Marshal: marshal, + Unmarshal: unmarshal, + Merge: nil, + CheckInitialized: nil, + } +} + +var ( + md_AddToGlobalAdminWhitelistResponse protoreflect.MessageDescriptor +) + +func init() { + file_emissions_v8_tx_proto_init() + md_AddToGlobalAdminWhitelistResponse = File_emissions_v8_tx_proto.Messages().ByName("AddToGlobalAdminWhitelistResponse") +} + +var _ protoreflect.Message = (*fastReflection_AddToGlobalAdminWhitelistResponse)(nil) + +type fastReflection_AddToGlobalAdminWhitelistResponse AddToGlobalAdminWhitelistResponse + +func (x *AddToGlobalAdminWhitelistResponse) ProtoReflect() protoreflect.Message { + return (*fastReflection_AddToGlobalAdminWhitelistResponse)(x) +} + +func (x *AddToGlobalAdminWhitelistResponse) slowProtoReflect() protoreflect.Message { + mi := &file_emissions_v8_tx_proto_msgTypes[56] + 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) +} + +var _fastReflection_AddToGlobalAdminWhitelistResponse_messageType fastReflection_AddToGlobalAdminWhitelistResponse_messageType +var _ protoreflect.MessageType = fastReflection_AddToGlobalAdminWhitelistResponse_messageType{} + +type fastReflection_AddToGlobalAdminWhitelistResponse_messageType struct{} + +func (x fastReflection_AddToGlobalAdminWhitelistResponse_messageType) Zero() protoreflect.Message { + return (*fastReflection_AddToGlobalAdminWhitelistResponse)(nil) +} +func (x fastReflection_AddToGlobalAdminWhitelistResponse_messageType) New() protoreflect.Message { + return new(fastReflection_AddToGlobalAdminWhitelistResponse) +} +func (x fastReflection_AddToGlobalAdminWhitelistResponse_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_AddToGlobalAdminWhitelistResponse +} + +// Descriptor returns message descriptor, which contains only the protobuf +// type information for the message. +func (x *fastReflection_AddToGlobalAdminWhitelistResponse) Descriptor() protoreflect.MessageDescriptor { + return md_AddToGlobalAdminWhitelistResponse +} + +// Type returns the message type, which encapsulates both Go and protobuf +// type information. If the Go type information is not needed, +// it is recommended that the message descriptor be used instead. +func (x *fastReflection_AddToGlobalAdminWhitelistResponse) Type() protoreflect.MessageType { + return _fastReflection_AddToGlobalAdminWhitelistResponse_messageType +} + +// New returns a newly allocated and mutable empty message. +func (x *fastReflection_AddToGlobalAdminWhitelistResponse) New() protoreflect.Message { + return new(fastReflection_AddToGlobalAdminWhitelistResponse) +} + +// Interface unwraps the message reflection interface and +// returns the underlying ProtoMessage interface. +func (x *fastReflection_AddToGlobalAdminWhitelistResponse) Interface() protoreflect.ProtoMessage { + return (*AddToGlobalAdminWhitelistResponse)(x) +} + +// Range iterates over every populated field in an undefined order, +// calling f for each field descriptor and value encountered. +// Range returns immediately if f returns false. +// While iterating, mutating operations may only be performed +// on the current field descriptor. +func (x *fastReflection_AddToGlobalAdminWhitelistResponse) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { +} + +// Has reports whether a field is populated. +// +// Some fields have the property of nullability where it is possible to +// distinguish between the default value of a field and whether the field +// was explicitly populated with the default value. Singular message fields, +// member fields of a oneof, and proto2 scalar fields are nullable. Such +// fields are populated only if explicitly set. +// +// In other cases (aside from the nullable cases above), +// a proto3 scalar field is populated if it contains a non-zero value, and +// a repeated field is populated if it is non-empty. +func (x *fastReflection_AddToGlobalAdminWhitelistResponse) Has(fd protoreflect.FieldDescriptor) bool { + switch fd.FullName() { + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.AddToGlobalAdminWhitelistResponse")) + } + panic(fmt.Errorf("message emissions.v8.AddToGlobalAdminWhitelistResponse does not contain field %s", fd.FullName())) + } +} + +// Clear clears the field such that a subsequent Has call reports false. +// +// Clearing an extension field clears both the extension type and value +// associated with the given field number. +// +// Clear is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_AddToGlobalAdminWhitelistResponse) Clear(fd protoreflect.FieldDescriptor) { + switch fd.FullName() { + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.AddToGlobalAdminWhitelistResponse")) + } + panic(fmt.Errorf("message emissions.v8.AddToGlobalAdminWhitelistResponse does not contain field %s", fd.FullName())) + } +} + +// Get retrieves the value for a field. +// +// For unpopulated scalars, it returns the default value, where +// the default value of a bytes scalar is guaranteed to be a copy. +// For unpopulated composite types, it returns an empty, read-only view +// of the value; to obtain a mutable reference, use Mutable. +func (x *fastReflection_AddToGlobalAdminWhitelistResponse) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { + switch descriptor.FullName() { + default: + if descriptor.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.AddToGlobalAdminWhitelistResponse")) + } + panic(fmt.Errorf("message emissions.v8.AddToGlobalAdminWhitelistResponse does not contain field %s", descriptor.FullName())) + } +} + +// Set stores the value for a field. +// +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType. +// When setting a composite type, it is unspecified whether the stored value +// aliases the source's memory in any way. If the composite value is an +// empty, read-only value, then it panics. +// +// Set is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_AddToGlobalAdminWhitelistResponse) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { + switch fd.FullName() { + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.AddToGlobalAdminWhitelistResponse")) + } + panic(fmt.Errorf("message emissions.v8.AddToGlobalAdminWhitelistResponse does not contain field %s", fd.FullName())) + } +} + +// Mutable returns a mutable reference to a composite type. +// +// If the field is unpopulated, it may allocate a composite value. +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType +// if not already stored. +// It panics if the field does not contain a composite type. +// +// Mutable is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_AddToGlobalAdminWhitelistResponse) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.AddToGlobalAdminWhitelistResponse")) + } + panic(fmt.Errorf("message emissions.v8.AddToGlobalAdminWhitelistResponse does not contain field %s", fd.FullName())) + } +} + +// NewField returns a new value that is assignable to the field +// for the given descriptor. For scalars, this returns the default value. +// For lists, maps, and messages, this returns a new, empty, mutable value. +func (x *fastReflection_AddToGlobalAdminWhitelistResponse) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.AddToGlobalAdminWhitelistResponse")) + } + panic(fmt.Errorf("message emissions.v8.AddToGlobalAdminWhitelistResponse does not contain field %s", fd.FullName())) + } +} + +// WhichOneof reports which field within the oneof is populated, +// returning nil if none are populated. +// It panics if the oneof descriptor does not belong to this message. +func (x *fastReflection_AddToGlobalAdminWhitelistResponse) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { + switch d.FullName() { + default: + panic(fmt.Errorf("%s is not a oneof field in emissions.v8.AddToGlobalAdminWhitelistResponse", d.FullName())) + } + panic("unreachable") +} + +// GetUnknown retrieves the entire list of unknown fields. +// The caller may only mutate the contents of the RawFields +// if the mutated bytes are stored back into the message with SetUnknown. +func (x *fastReflection_AddToGlobalAdminWhitelistResponse) GetUnknown() protoreflect.RawFields { + return x.unknownFields +} + +// SetUnknown stores an entire list of unknown fields. +// The raw fields must be syntactically valid according to the wire format. +// An implementation may panic if this is not the case. +// Once stored, the caller must not mutate the content of the RawFields. +// An empty RawFields may be passed to clear the fields. +// +// SetUnknown is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_AddToGlobalAdminWhitelistResponse) SetUnknown(fields protoreflect.RawFields) { + x.unknownFields = fields +} + +// IsValid reports whether the message is valid. +// +// An invalid message is an empty, read-only value. +// +// An invalid message often corresponds to a nil pointer of the concrete +// message type, but the details are implementation dependent. +// Validity is not part of the protobuf data model, and may not +// be preserved in marshaling or other operations. +func (x *fastReflection_AddToGlobalAdminWhitelistResponse) IsValid() bool { + return x != nil +} + +// ProtoMethods returns optional fastReflectionFeature-path implementations of various operations. +// This method may return nil. +// +// The returned methods type is identical to +// "google.golang.org/protobuf/runtime/protoiface".Methods. +// Consult the protoiface package documentation for details. +func (x *fastReflection_AddToGlobalAdminWhitelistResponse) ProtoMethods() *protoiface.Methods { + size := func(input protoiface.SizeInput) protoiface.SizeOutput { + x := input.Message.Interface().(*AddToGlobalAdminWhitelistResponse) + if x == nil { + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: 0, + } + } + options := runtime.SizeInputToOptions(input) + _ = options + var n int + var l int + _ = l + if x.unknownFields != nil { + n += len(x.unknownFields) + } + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: n, + } + } + + marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { + x := input.Message.Interface().(*AddToGlobalAdminWhitelistResponse) + if x == nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + options := runtime.MarshalInputToOptions(input) + _ = options + size := options.Size(x) + dAtA := make([]byte, size) + i := len(dAtA) + _ = i + var l int + _ = l + if x.unknownFields != nil { + i -= len(x.unknownFields) + copy(dAtA[i:], x.unknownFields) + } + if input.Buf != nil { + input.Buf = append(input.Buf, dAtA...) + } else { + input.Buf = dAtA + } + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { + x := input.Message.Interface().(*AddToGlobalAdminWhitelistResponse) + if x == nil { + return protoiface.UnmarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Flags: input.Flags, + }, nil + } + options := runtime.UnmarshalInputToOptions(input) + _ = options + dAtA := input.Buf + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: AddToGlobalAdminWhitelistResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: AddToGlobalAdminWhitelistResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + default: + iNdEx = preIndex + skippy, err := runtime.Skip(dAtA[iNdEx:]) + if err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if (iNdEx + skippy) > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + if !options.DiscardUnknown { + x.unknownFields = append(x.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + } + iNdEx += skippy + } + } + + if iNdEx > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, nil + } + return &protoiface.Methods{ + NoUnkeyedLiterals: struct{}{}, + Flags: protoiface.SupportMarshalDeterministic | protoiface.SupportUnmarshalDiscardUnknown, + Size: size, + Marshal: marshal, + Unmarshal: unmarshal, + Merge: nil, + CheckInitialized: nil, + } +} + +var ( + md_RemoveFromGlobalAdminWhitelistRequest protoreflect.MessageDescriptor + fd_RemoveFromGlobalAdminWhitelistRequest_sender protoreflect.FieldDescriptor + fd_RemoveFromGlobalAdminWhitelistRequest_address protoreflect.FieldDescriptor +) + +func init() { + file_emissions_v8_tx_proto_init() + md_RemoveFromGlobalAdminWhitelistRequest = File_emissions_v8_tx_proto.Messages().ByName("RemoveFromGlobalAdminWhitelistRequest") + fd_RemoveFromGlobalAdminWhitelistRequest_sender = md_RemoveFromGlobalAdminWhitelistRequest.Fields().ByName("sender") + fd_RemoveFromGlobalAdminWhitelistRequest_address = md_RemoveFromGlobalAdminWhitelistRequest.Fields().ByName("address") +} + +var _ protoreflect.Message = (*fastReflection_RemoveFromGlobalAdminWhitelistRequest)(nil) + +type fastReflection_RemoveFromGlobalAdminWhitelistRequest RemoveFromGlobalAdminWhitelistRequest + +func (x *RemoveFromGlobalAdminWhitelistRequest) ProtoReflect() protoreflect.Message { + return (*fastReflection_RemoveFromGlobalAdminWhitelistRequest)(x) +} + +func (x *RemoveFromGlobalAdminWhitelistRequest) slowProtoReflect() protoreflect.Message { + mi := &file_emissions_v8_tx_proto_msgTypes[57] + 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) +} + +var _fastReflection_RemoveFromGlobalAdminWhitelistRequest_messageType fastReflection_RemoveFromGlobalAdminWhitelistRequest_messageType +var _ protoreflect.MessageType = fastReflection_RemoveFromGlobalAdminWhitelistRequest_messageType{} + +type fastReflection_RemoveFromGlobalAdminWhitelistRequest_messageType struct{} + +func (x fastReflection_RemoveFromGlobalAdminWhitelistRequest_messageType) Zero() protoreflect.Message { + return (*fastReflection_RemoveFromGlobalAdminWhitelistRequest)(nil) +} +func (x fastReflection_RemoveFromGlobalAdminWhitelistRequest_messageType) New() protoreflect.Message { + return new(fastReflection_RemoveFromGlobalAdminWhitelistRequest) +} +func (x fastReflection_RemoveFromGlobalAdminWhitelistRequest_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_RemoveFromGlobalAdminWhitelistRequest +} + +// Descriptor returns message descriptor, which contains only the protobuf +// type information for the message. +func (x *fastReflection_RemoveFromGlobalAdminWhitelistRequest) Descriptor() protoreflect.MessageDescriptor { + return md_RemoveFromGlobalAdminWhitelistRequest +} + +// Type returns the message type, which encapsulates both Go and protobuf +// type information. If the Go type information is not needed, +// it is recommended that the message descriptor be used instead. +func (x *fastReflection_RemoveFromGlobalAdminWhitelistRequest) Type() protoreflect.MessageType { + return _fastReflection_RemoveFromGlobalAdminWhitelistRequest_messageType +} + +// New returns a newly allocated and mutable empty message. +func (x *fastReflection_RemoveFromGlobalAdminWhitelistRequest) New() protoreflect.Message { + return new(fastReflection_RemoveFromGlobalAdminWhitelistRequest) +} + +// Interface unwraps the message reflection interface and +// returns the underlying ProtoMessage interface. +func (x *fastReflection_RemoveFromGlobalAdminWhitelistRequest) Interface() protoreflect.ProtoMessage { + return (*RemoveFromGlobalAdminWhitelistRequest)(x) +} + +// Range iterates over every populated field in an undefined order, +// calling f for each field descriptor and value encountered. +// Range returns immediately if f returns false. +// While iterating, mutating operations may only be performed +// on the current field descriptor. +func (x *fastReflection_RemoveFromGlobalAdminWhitelistRequest) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { + if x.Sender != "" { + value := protoreflect.ValueOfString(x.Sender) + if !f(fd_RemoveFromGlobalAdminWhitelistRequest_sender, value) { + return + } + } + if x.Address != "" { + value := protoreflect.ValueOfString(x.Address) + if !f(fd_RemoveFromGlobalAdminWhitelistRequest_address, value) { + return + } + } +} + +// Has reports whether a field is populated. +// +// Some fields have the property of nullability where it is possible to +// distinguish between the default value of a field and whether the field +// was explicitly populated with the default value. Singular message fields, +// member fields of a oneof, and proto2 scalar fields are nullable. Such +// fields are populated only if explicitly set. +// +// In other cases (aside from the nullable cases above), +// a proto3 scalar field is populated if it contains a non-zero value, and +// a repeated field is populated if it is non-empty. +func (x *fastReflection_RemoveFromGlobalAdminWhitelistRequest) Has(fd protoreflect.FieldDescriptor) bool { + switch fd.FullName() { + case "emissions.v8.RemoveFromGlobalAdminWhitelistRequest.sender": + return x.Sender != "" + case "emissions.v8.RemoveFromGlobalAdminWhitelistRequest.address": + return x.Address != "" + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.RemoveFromGlobalAdminWhitelistRequest")) + } + panic(fmt.Errorf("message emissions.v8.RemoveFromGlobalAdminWhitelistRequest does not contain field %s", fd.FullName())) + } +} + +// Clear clears the field such that a subsequent Has call reports false. +// +// Clearing an extension field clears both the extension type and value +// associated with the given field number. +// +// Clear is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_RemoveFromGlobalAdminWhitelistRequest) Clear(fd protoreflect.FieldDescriptor) { + switch fd.FullName() { + case "emissions.v8.RemoveFromGlobalAdminWhitelistRequest.sender": + x.Sender = "" + case "emissions.v8.RemoveFromGlobalAdminWhitelistRequest.address": + x.Address = "" + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.RemoveFromGlobalAdminWhitelistRequest")) + } + panic(fmt.Errorf("message emissions.v8.RemoveFromGlobalAdminWhitelistRequest does not contain field %s", fd.FullName())) + } +} + +// Get retrieves the value for a field. +// +// For unpopulated scalars, it returns the default value, where +// the default value of a bytes scalar is guaranteed to be a copy. +// For unpopulated composite types, it returns an empty, read-only view +// of the value; to obtain a mutable reference, use Mutable. +func (x *fastReflection_RemoveFromGlobalAdminWhitelistRequest) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { + switch descriptor.FullName() { + case "emissions.v8.RemoveFromGlobalAdminWhitelistRequest.sender": + value := x.Sender + return protoreflect.ValueOfString(value) + case "emissions.v8.RemoveFromGlobalAdminWhitelistRequest.address": + value := x.Address + return protoreflect.ValueOfString(value) + default: + if descriptor.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.RemoveFromGlobalAdminWhitelistRequest")) + } + panic(fmt.Errorf("message emissions.v8.RemoveFromGlobalAdminWhitelistRequest does not contain field %s", descriptor.FullName())) + } +} + +// Set stores the value for a field. +// +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType. +// When setting a composite type, it is unspecified whether the stored value +// aliases the source's memory in any way. If the composite value is an +// empty, read-only value, then it panics. +// +// Set is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_RemoveFromGlobalAdminWhitelistRequest) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { + switch fd.FullName() { + case "emissions.v8.RemoveFromGlobalAdminWhitelistRequest.sender": + x.Sender = value.Interface().(string) + case "emissions.v8.RemoveFromGlobalAdminWhitelistRequest.address": + x.Address = value.Interface().(string) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.RemoveFromGlobalAdminWhitelistRequest")) + } + panic(fmt.Errorf("message emissions.v8.RemoveFromGlobalAdminWhitelistRequest does not contain field %s", fd.FullName())) + } +} + +// Mutable returns a mutable reference to a composite type. +// +// If the field is unpopulated, it may allocate a composite value. +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType +// if not already stored. +// It panics if the field does not contain a composite type. +// +// Mutable is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_RemoveFromGlobalAdminWhitelistRequest) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.RemoveFromGlobalAdminWhitelistRequest.sender": + panic(fmt.Errorf("field sender of message emissions.v8.RemoveFromGlobalAdminWhitelistRequest is not mutable")) + case "emissions.v8.RemoveFromGlobalAdminWhitelistRequest.address": + panic(fmt.Errorf("field address of message emissions.v8.RemoveFromGlobalAdminWhitelistRequest is not mutable")) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.RemoveFromGlobalAdminWhitelistRequest")) + } + panic(fmt.Errorf("message emissions.v8.RemoveFromGlobalAdminWhitelistRequest does not contain field %s", fd.FullName())) + } +} + +// NewField returns a new value that is assignable to the field +// for the given descriptor. For scalars, this returns the default value. +// For lists, maps, and messages, this returns a new, empty, mutable value. +func (x *fastReflection_RemoveFromGlobalAdminWhitelistRequest) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.RemoveFromGlobalAdminWhitelistRequest.sender": + return protoreflect.ValueOfString("") + case "emissions.v8.RemoveFromGlobalAdminWhitelistRequest.address": + return protoreflect.ValueOfString("") + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.RemoveFromGlobalAdminWhitelistRequest")) + } + panic(fmt.Errorf("message emissions.v8.RemoveFromGlobalAdminWhitelistRequest does not contain field %s", fd.FullName())) + } +} + +// WhichOneof reports which field within the oneof is populated, +// returning nil if none are populated. +// It panics if the oneof descriptor does not belong to this message. +func (x *fastReflection_RemoveFromGlobalAdminWhitelistRequest) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { + switch d.FullName() { + default: + panic(fmt.Errorf("%s is not a oneof field in emissions.v8.RemoveFromGlobalAdminWhitelistRequest", d.FullName())) + } + panic("unreachable") +} + +// GetUnknown retrieves the entire list of unknown fields. +// The caller may only mutate the contents of the RawFields +// if the mutated bytes are stored back into the message with SetUnknown. +func (x *fastReflection_RemoveFromGlobalAdminWhitelistRequest) GetUnknown() protoreflect.RawFields { + return x.unknownFields +} + +// SetUnknown stores an entire list of unknown fields. +// The raw fields must be syntactically valid according to the wire format. +// An implementation may panic if this is not the case. +// Once stored, the caller must not mutate the content of the RawFields. +// An empty RawFields may be passed to clear the fields. +// +// SetUnknown is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_RemoveFromGlobalAdminWhitelistRequest) SetUnknown(fields protoreflect.RawFields) { + x.unknownFields = fields +} + +// IsValid reports whether the message is valid. +// +// An invalid message is an empty, read-only value. +// +// An invalid message often corresponds to a nil pointer of the concrete +// message type, but the details are implementation dependent. +// Validity is not part of the protobuf data model, and may not +// be preserved in marshaling or other operations. +func (x *fastReflection_RemoveFromGlobalAdminWhitelistRequest) IsValid() bool { + return x != nil +} + +// ProtoMethods returns optional fastReflectionFeature-path implementations of various operations. +// This method may return nil. +// +// The returned methods type is identical to +// "google.golang.org/protobuf/runtime/protoiface".Methods. +// Consult the protoiface package documentation for details. +func (x *fastReflection_RemoveFromGlobalAdminWhitelistRequest) ProtoMethods() *protoiface.Methods { + size := func(input protoiface.SizeInput) protoiface.SizeOutput { + x := input.Message.Interface().(*RemoveFromGlobalAdminWhitelistRequest) + if x == nil { + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: 0, + } + } + options := runtime.SizeInputToOptions(input) + _ = options + var n int + var l int + _ = l + l = len(x.Sender) + if l > 0 { + n += 1 + l + runtime.Sov(uint64(l)) + } + l = len(x.Address) + if l > 0 { + n += 1 + l + runtime.Sov(uint64(l)) + } + if x.unknownFields != nil { + n += len(x.unknownFields) + } + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: n, + } + } + + marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { + x := input.Message.Interface().(*RemoveFromGlobalAdminWhitelistRequest) + if x == nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + options := runtime.MarshalInputToOptions(input) + _ = options + size := options.Size(x) + dAtA := make([]byte, size) + i := len(dAtA) + _ = i + var l int + _ = l + if x.unknownFields != nil { + i -= len(x.unknownFields) + copy(dAtA[i:], x.unknownFields) + } + if len(x.Address) > 0 { + i -= len(x.Address) + copy(dAtA[i:], x.Address) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.Address))) + i-- + dAtA[i] = 0x12 + } + if len(x.Sender) > 0 { + i -= len(x.Sender) + copy(dAtA[i:], x.Sender) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.Sender))) + i-- + dAtA[i] = 0xa + } + if input.Buf != nil { + input.Buf = append(input.Buf, dAtA...) + } else { + input.Buf = dAtA + } + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { + x := input.Message.Interface().(*RemoveFromGlobalAdminWhitelistRequest) + if x == nil { + return protoiface.UnmarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Flags: input.Flags, + }, nil + } + options := runtime.UnmarshalInputToOptions(input) + _ = options + dAtA := input.Buf + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: RemoveFromGlobalAdminWhitelistRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: RemoveFromGlobalAdminWhitelistRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Sender", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + x.Sender = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Address", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + x.Address = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := runtime.Skip(dAtA[iNdEx:]) + if err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if (iNdEx + skippy) > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + if !options.DiscardUnknown { + x.unknownFields = append(x.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + } + iNdEx += skippy + } + } + + if iNdEx > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, nil + } + return &protoiface.Methods{ + NoUnkeyedLiterals: struct{}{}, + Flags: protoiface.SupportMarshalDeterministic | protoiface.SupportUnmarshalDiscardUnknown, + Size: size, + Marshal: marshal, + Unmarshal: unmarshal, + Merge: nil, + CheckInitialized: nil, + } +} + +var ( + md_RemoveFromGlobalAdminWhitelistResponse protoreflect.MessageDescriptor +) + +func init() { + file_emissions_v8_tx_proto_init() + md_RemoveFromGlobalAdminWhitelistResponse = File_emissions_v8_tx_proto.Messages().ByName("RemoveFromGlobalAdminWhitelistResponse") +} + +var _ protoreflect.Message = (*fastReflection_RemoveFromGlobalAdminWhitelistResponse)(nil) + +type fastReflection_RemoveFromGlobalAdminWhitelistResponse RemoveFromGlobalAdminWhitelistResponse + +func (x *RemoveFromGlobalAdminWhitelistResponse) ProtoReflect() protoreflect.Message { + return (*fastReflection_RemoveFromGlobalAdminWhitelistResponse)(x) +} + +func (x *RemoveFromGlobalAdminWhitelistResponse) slowProtoReflect() protoreflect.Message { + mi := &file_emissions_v8_tx_proto_msgTypes[58] + 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) +} + +var _fastReflection_RemoveFromGlobalAdminWhitelistResponse_messageType fastReflection_RemoveFromGlobalAdminWhitelistResponse_messageType +var _ protoreflect.MessageType = fastReflection_RemoveFromGlobalAdminWhitelistResponse_messageType{} + +type fastReflection_RemoveFromGlobalAdminWhitelistResponse_messageType struct{} + +func (x fastReflection_RemoveFromGlobalAdminWhitelistResponse_messageType) Zero() protoreflect.Message { + return (*fastReflection_RemoveFromGlobalAdminWhitelistResponse)(nil) +} +func (x fastReflection_RemoveFromGlobalAdminWhitelistResponse_messageType) New() protoreflect.Message { + return new(fastReflection_RemoveFromGlobalAdminWhitelistResponse) +} +func (x fastReflection_RemoveFromGlobalAdminWhitelistResponse_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_RemoveFromGlobalAdminWhitelistResponse +} + +// Descriptor returns message descriptor, which contains only the protobuf +// type information for the message. +func (x *fastReflection_RemoveFromGlobalAdminWhitelistResponse) Descriptor() protoreflect.MessageDescriptor { + return md_RemoveFromGlobalAdminWhitelistResponse +} + +// Type returns the message type, which encapsulates both Go and protobuf +// type information. If the Go type information is not needed, +// it is recommended that the message descriptor be used instead. +func (x *fastReflection_RemoveFromGlobalAdminWhitelistResponse) Type() protoreflect.MessageType { + return _fastReflection_RemoveFromGlobalAdminWhitelistResponse_messageType +} + +// New returns a newly allocated and mutable empty message. +func (x *fastReflection_RemoveFromGlobalAdminWhitelistResponse) New() protoreflect.Message { + return new(fastReflection_RemoveFromGlobalAdminWhitelistResponse) +} + +// Interface unwraps the message reflection interface and +// returns the underlying ProtoMessage interface. +func (x *fastReflection_RemoveFromGlobalAdminWhitelistResponse) Interface() protoreflect.ProtoMessage { + return (*RemoveFromGlobalAdminWhitelistResponse)(x) +} + +// Range iterates over every populated field in an undefined order, +// calling f for each field descriptor and value encountered. +// Range returns immediately if f returns false. +// While iterating, mutating operations may only be performed +// on the current field descriptor. +func (x *fastReflection_RemoveFromGlobalAdminWhitelistResponse) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { +} + +// Has reports whether a field is populated. +// +// Some fields have the property of nullability where it is possible to +// distinguish between the default value of a field and whether the field +// was explicitly populated with the default value. Singular message fields, +// member fields of a oneof, and proto2 scalar fields are nullable. Such +// fields are populated only if explicitly set. +// +// In other cases (aside from the nullable cases above), +// a proto3 scalar field is populated if it contains a non-zero value, and +// a repeated field is populated if it is non-empty. +func (x *fastReflection_RemoveFromGlobalAdminWhitelistResponse) Has(fd protoreflect.FieldDescriptor) bool { + switch fd.FullName() { + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.RemoveFromGlobalAdminWhitelistResponse")) + } + panic(fmt.Errorf("message emissions.v8.RemoveFromGlobalAdminWhitelistResponse does not contain field %s", fd.FullName())) + } +} + +// Clear clears the field such that a subsequent Has call reports false. +// +// Clearing an extension field clears both the extension type and value +// associated with the given field number. +// +// Clear is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_RemoveFromGlobalAdminWhitelistResponse) Clear(fd protoreflect.FieldDescriptor) { + switch fd.FullName() { + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.RemoveFromGlobalAdminWhitelistResponse")) + } + panic(fmt.Errorf("message emissions.v8.RemoveFromGlobalAdminWhitelistResponse does not contain field %s", fd.FullName())) + } +} + +// Get retrieves the value for a field. +// +// For unpopulated scalars, it returns the default value, where +// the default value of a bytes scalar is guaranteed to be a copy. +// For unpopulated composite types, it returns an empty, read-only view +// of the value; to obtain a mutable reference, use Mutable. +func (x *fastReflection_RemoveFromGlobalAdminWhitelistResponse) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { + switch descriptor.FullName() { + default: + if descriptor.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.RemoveFromGlobalAdminWhitelistResponse")) + } + panic(fmt.Errorf("message emissions.v8.RemoveFromGlobalAdminWhitelistResponse does not contain field %s", descriptor.FullName())) + } +} + +// Set stores the value for a field. +// +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType. +// When setting a composite type, it is unspecified whether the stored value +// aliases the source's memory in any way. If the composite value is an +// empty, read-only value, then it panics. +// +// Set is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_RemoveFromGlobalAdminWhitelistResponse) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { + switch fd.FullName() { + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.RemoveFromGlobalAdminWhitelistResponse")) + } + panic(fmt.Errorf("message emissions.v8.RemoveFromGlobalAdminWhitelistResponse does not contain field %s", fd.FullName())) + } +} + +// Mutable returns a mutable reference to a composite type. +// +// If the field is unpopulated, it may allocate a composite value. +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType +// if not already stored. +// It panics if the field does not contain a composite type. +// +// Mutable is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_RemoveFromGlobalAdminWhitelistResponse) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.RemoveFromGlobalAdminWhitelistResponse")) + } + panic(fmt.Errorf("message emissions.v8.RemoveFromGlobalAdminWhitelistResponse does not contain field %s", fd.FullName())) + } +} + +// NewField returns a new value that is assignable to the field +// for the given descriptor. For scalars, this returns the default value. +// For lists, maps, and messages, this returns a new, empty, mutable value. +func (x *fastReflection_RemoveFromGlobalAdminWhitelistResponse) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.RemoveFromGlobalAdminWhitelistResponse")) + } + panic(fmt.Errorf("message emissions.v8.RemoveFromGlobalAdminWhitelistResponse does not contain field %s", fd.FullName())) + } +} + +// WhichOneof reports which field within the oneof is populated, +// returning nil if none are populated. +// It panics if the oneof descriptor does not belong to this message. +func (x *fastReflection_RemoveFromGlobalAdminWhitelistResponse) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { + switch d.FullName() { + default: + panic(fmt.Errorf("%s is not a oneof field in emissions.v8.RemoveFromGlobalAdminWhitelistResponse", d.FullName())) + } + panic("unreachable") +} + +// GetUnknown retrieves the entire list of unknown fields. +// The caller may only mutate the contents of the RawFields +// if the mutated bytes are stored back into the message with SetUnknown. +func (x *fastReflection_RemoveFromGlobalAdminWhitelistResponse) GetUnknown() protoreflect.RawFields { + return x.unknownFields +} + +// SetUnknown stores an entire list of unknown fields. +// The raw fields must be syntactically valid according to the wire format. +// An implementation may panic if this is not the case. +// Once stored, the caller must not mutate the content of the RawFields. +// An empty RawFields may be passed to clear the fields. +// +// SetUnknown is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_RemoveFromGlobalAdminWhitelistResponse) SetUnknown(fields protoreflect.RawFields) { + x.unknownFields = fields +} + +// IsValid reports whether the message is valid. +// +// An invalid message is an empty, read-only value. +// +// An invalid message often corresponds to a nil pointer of the concrete +// message type, but the details are implementation dependent. +// Validity is not part of the protobuf data model, and may not +// be preserved in marshaling or other operations. +func (x *fastReflection_RemoveFromGlobalAdminWhitelistResponse) IsValid() bool { + return x != nil +} + +// ProtoMethods returns optional fastReflectionFeature-path implementations of various operations. +// This method may return nil. +// +// The returned methods type is identical to +// "google.golang.org/protobuf/runtime/protoiface".Methods. +// Consult the protoiface package documentation for details. +func (x *fastReflection_RemoveFromGlobalAdminWhitelistResponse) ProtoMethods() *protoiface.Methods { + size := func(input protoiface.SizeInput) protoiface.SizeOutput { + x := input.Message.Interface().(*RemoveFromGlobalAdminWhitelistResponse) + if x == nil { + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: 0, + } + } + options := runtime.SizeInputToOptions(input) + _ = options + var n int + var l int + _ = l + if x.unknownFields != nil { + n += len(x.unknownFields) + } + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: n, + } + } + + marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { + x := input.Message.Interface().(*RemoveFromGlobalAdminWhitelistResponse) + if x == nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + options := runtime.MarshalInputToOptions(input) + _ = options + size := options.Size(x) + dAtA := make([]byte, size) + i := len(dAtA) + _ = i + var l int + _ = l + if x.unknownFields != nil { + i -= len(x.unknownFields) + copy(dAtA[i:], x.unknownFields) + } + if input.Buf != nil { + input.Buf = append(input.Buf, dAtA...) + } else { + input.Buf = dAtA + } + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { + x := input.Message.Interface().(*RemoveFromGlobalAdminWhitelistResponse) + if x == nil { + return protoiface.UnmarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Flags: input.Flags, + }, nil + } + options := runtime.UnmarshalInputToOptions(input) + _ = options + dAtA := input.Buf + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: RemoveFromGlobalAdminWhitelistResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: RemoveFromGlobalAdminWhitelistResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + default: + iNdEx = preIndex + skippy, err := runtime.Skip(dAtA[iNdEx:]) + if err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if (iNdEx + skippy) > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + if !options.DiscardUnknown { + x.unknownFields = append(x.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + } + iNdEx += skippy + } + } + + if iNdEx > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, nil + } + return &protoiface.Methods{ + NoUnkeyedLiterals: struct{}{}, + Flags: protoiface.SupportMarshalDeterministic | protoiface.SupportUnmarshalDiscardUnknown, + Size: size, + Marshal: marshal, + Unmarshal: unmarshal, + Merge: nil, + CheckInitialized: nil, + } +} + +var _ protoreflect.List = (*_BulkAddToGlobalWorkerWhitelistRequest_2_list)(nil) + +type _BulkAddToGlobalWorkerWhitelistRequest_2_list struct { + list *[]string +} + +func (x *_BulkAddToGlobalWorkerWhitelistRequest_2_list) Len() int { + if x.list == nil { + return 0 + } + return len(*x.list) +} + +func (x *_BulkAddToGlobalWorkerWhitelistRequest_2_list) Get(i int) protoreflect.Value { + return protoreflect.ValueOfString((*x.list)[i]) +} + +func (x *_BulkAddToGlobalWorkerWhitelistRequest_2_list) Set(i int, value protoreflect.Value) { + valueUnwrapped := value.String() + concreteValue := valueUnwrapped + (*x.list)[i] = concreteValue +} + +func (x *_BulkAddToGlobalWorkerWhitelistRequest_2_list) Append(value protoreflect.Value) { + valueUnwrapped := value.String() + concreteValue := valueUnwrapped + *x.list = append(*x.list, concreteValue) +} + +func (x *_BulkAddToGlobalWorkerWhitelistRequest_2_list) AppendMutable() protoreflect.Value { + panic(fmt.Errorf("AppendMutable can not be called on message BulkAddToGlobalWorkerWhitelistRequest at list field Addresses as it is not of Message kind")) +} + +func (x *_BulkAddToGlobalWorkerWhitelistRequest_2_list) Truncate(n int) { + *x.list = (*x.list)[:n] +} + +func (x *_BulkAddToGlobalWorkerWhitelistRequest_2_list) NewElement() protoreflect.Value { + v := "" + return protoreflect.ValueOfString(v) +} + +func (x *_BulkAddToGlobalWorkerWhitelistRequest_2_list) IsValid() bool { + return x.list != nil +} + +var ( + md_BulkAddToGlobalWorkerWhitelistRequest protoreflect.MessageDescriptor + fd_BulkAddToGlobalWorkerWhitelistRequest_sender protoreflect.FieldDescriptor + fd_BulkAddToGlobalWorkerWhitelistRequest_addresses protoreflect.FieldDescriptor +) + +func init() { + file_emissions_v8_tx_proto_init() + md_BulkAddToGlobalWorkerWhitelistRequest = File_emissions_v8_tx_proto.Messages().ByName("BulkAddToGlobalWorkerWhitelistRequest") + fd_BulkAddToGlobalWorkerWhitelistRequest_sender = md_BulkAddToGlobalWorkerWhitelistRequest.Fields().ByName("sender") + fd_BulkAddToGlobalWorkerWhitelistRequest_addresses = md_BulkAddToGlobalWorkerWhitelistRequest.Fields().ByName("addresses") +} + +var _ protoreflect.Message = (*fastReflection_BulkAddToGlobalWorkerWhitelistRequest)(nil) + +type fastReflection_BulkAddToGlobalWorkerWhitelistRequest BulkAddToGlobalWorkerWhitelistRequest + +func (x *BulkAddToGlobalWorkerWhitelistRequest) ProtoReflect() protoreflect.Message { + return (*fastReflection_BulkAddToGlobalWorkerWhitelistRequest)(x) +} + +func (x *BulkAddToGlobalWorkerWhitelistRequest) slowProtoReflect() protoreflect.Message { + mi := &file_emissions_v8_tx_proto_msgTypes[59] + 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) +} + +var _fastReflection_BulkAddToGlobalWorkerWhitelistRequest_messageType fastReflection_BulkAddToGlobalWorkerWhitelistRequest_messageType +var _ protoreflect.MessageType = fastReflection_BulkAddToGlobalWorkerWhitelistRequest_messageType{} + +type fastReflection_BulkAddToGlobalWorkerWhitelistRequest_messageType struct{} + +func (x fastReflection_BulkAddToGlobalWorkerWhitelistRequest_messageType) Zero() protoreflect.Message { + return (*fastReflection_BulkAddToGlobalWorkerWhitelistRequest)(nil) +} +func (x fastReflection_BulkAddToGlobalWorkerWhitelistRequest_messageType) New() protoreflect.Message { + return new(fastReflection_BulkAddToGlobalWorkerWhitelistRequest) +} +func (x fastReflection_BulkAddToGlobalWorkerWhitelistRequest_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_BulkAddToGlobalWorkerWhitelistRequest +} + +// Descriptor returns message descriptor, which contains only the protobuf +// type information for the message. +func (x *fastReflection_BulkAddToGlobalWorkerWhitelistRequest) Descriptor() protoreflect.MessageDescriptor { + return md_BulkAddToGlobalWorkerWhitelistRequest +} + +// Type returns the message type, which encapsulates both Go and protobuf +// type information. If the Go type information is not needed, +// it is recommended that the message descriptor be used instead. +func (x *fastReflection_BulkAddToGlobalWorkerWhitelistRequest) Type() protoreflect.MessageType { + return _fastReflection_BulkAddToGlobalWorkerWhitelistRequest_messageType +} + +// New returns a newly allocated and mutable empty message. +func (x *fastReflection_BulkAddToGlobalWorkerWhitelistRequest) New() protoreflect.Message { + return new(fastReflection_BulkAddToGlobalWorkerWhitelistRequest) +} + +// Interface unwraps the message reflection interface and +// returns the underlying ProtoMessage interface. +func (x *fastReflection_BulkAddToGlobalWorkerWhitelistRequest) Interface() protoreflect.ProtoMessage { + return (*BulkAddToGlobalWorkerWhitelistRequest)(x) +} + +// Range iterates over every populated field in an undefined order, +// calling f for each field descriptor and value encountered. +// Range returns immediately if f returns false. +// While iterating, mutating operations may only be performed +// on the current field descriptor. +func (x *fastReflection_BulkAddToGlobalWorkerWhitelistRequest) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { + if x.Sender != "" { + value := protoreflect.ValueOfString(x.Sender) + if !f(fd_BulkAddToGlobalWorkerWhitelistRequest_sender, value) { + return + } + } + if len(x.Addresses) != 0 { + value := protoreflect.ValueOfList(&_BulkAddToGlobalWorkerWhitelistRequest_2_list{list: &x.Addresses}) + if !f(fd_BulkAddToGlobalWorkerWhitelistRequest_addresses, value) { + return + } + } +} + +// Has reports whether a field is populated. +// +// Some fields have the property of nullability where it is possible to +// distinguish between the default value of a field and whether the field +// was explicitly populated with the default value. Singular message fields, +// member fields of a oneof, and proto2 scalar fields are nullable. Such +// fields are populated only if explicitly set. +// +// In other cases (aside from the nullable cases above), +// a proto3 scalar field is populated if it contains a non-zero value, and +// a repeated field is populated if it is non-empty. +func (x *fastReflection_BulkAddToGlobalWorkerWhitelistRequest) Has(fd protoreflect.FieldDescriptor) bool { + switch fd.FullName() { + case "emissions.v8.BulkAddToGlobalWorkerWhitelistRequest.sender": + return x.Sender != "" + case "emissions.v8.BulkAddToGlobalWorkerWhitelistRequest.addresses": + return len(x.Addresses) != 0 + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.BulkAddToGlobalWorkerWhitelistRequest")) + } + panic(fmt.Errorf("message emissions.v8.BulkAddToGlobalWorkerWhitelistRequest does not contain field %s", fd.FullName())) + } +} + +// Clear clears the field such that a subsequent Has call reports false. +// +// Clearing an extension field clears both the extension type and value +// associated with the given field number. +// +// Clear is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_BulkAddToGlobalWorkerWhitelistRequest) Clear(fd protoreflect.FieldDescriptor) { + switch fd.FullName() { + case "emissions.v8.BulkAddToGlobalWorkerWhitelistRequest.sender": + x.Sender = "" + case "emissions.v8.BulkAddToGlobalWorkerWhitelistRequest.addresses": + x.Addresses = nil + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.BulkAddToGlobalWorkerWhitelistRequest")) + } + panic(fmt.Errorf("message emissions.v8.BulkAddToGlobalWorkerWhitelistRequest does not contain field %s", fd.FullName())) + } +} + +// Get retrieves the value for a field. +// +// For unpopulated scalars, it returns the default value, where +// the default value of a bytes scalar is guaranteed to be a copy. +// For unpopulated composite types, it returns an empty, read-only view +// of the value; to obtain a mutable reference, use Mutable. +func (x *fastReflection_BulkAddToGlobalWorkerWhitelistRequest) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { + switch descriptor.FullName() { + case "emissions.v8.BulkAddToGlobalWorkerWhitelistRequest.sender": + value := x.Sender + return protoreflect.ValueOfString(value) + case "emissions.v8.BulkAddToGlobalWorkerWhitelistRequest.addresses": + if len(x.Addresses) == 0 { + return protoreflect.ValueOfList(&_BulkAddToGlobalWorkerWhitelistRequest_2_list{}) + } + listValue := &_BulkAddToGlobalWorkerWhitelistRequest_2_list{list: &x.Addresses} + return protoreflect.ValueOfList(listValue) + default: + if descriptor.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.BulkAddToGlobalWorkerWhitelistRequest")) + } + panic(fmt.Errorf("message emissions.v8.BulkAddToGlobalWorkerWhitelistRequest does not contain field %s", descriptor.FullName())) + } +} + +// Set stores the value for a field. +// +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType. +// When setting a composite type, it is unspecified whether the stored value +// aliases the source's memory in any way. If the composite value is an +// empty, read-only value, then it panics. +// +// Set is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_BulkAddToGlobalWorkerWhitelistRequest) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { + switch fd.FullName() { + case "emissions.v8.BulkAddToGlobalWorkerWhitelistRequest.sender": + x.Sender = value.Interface().(string) + case "emissions.v8.BulkAddToGlobalWorkerWhitelistRequest.addresses": + lv := value.List() + clv := lv.(*_BulkAddToGlobalWorkerWhitelistRequest_2_list) + x.Addresses = *clv.list + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.BulkAddToGlobalWorkerWhitelistRequest")) + } + panic(fmt.Errorf("message emissions.v8.BulkAddToGlobalWorkerWhitelistRequest does not contain field %s", fd.FullName())) + } +} + +// Mutable returns a mutable reference to a composite type. +// +// If the field is unpopulated, it may allocate a composite value. +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType +// if not already stored. +// It panics if the field does not contain a composite type. +// +// Mutable is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_BulkAddToGlobalWorkerWhitelistRequest) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.BulkAddToGlobalWorkerWhitelistRequest.addresses": + if x.Addresses == nil { + x.Addresses = []string{} + } + value := &_BulkAddToGlobalWorkerWhitelistRequest_2_list{list: &x.Addresses} + return protoreflect.ValueOfList(value) + case "emissions.v8.BulkAddToGlobalWorkerWhitelistRequest.sender": + panic(fmt.Errorf("field sender of message emissions.v8.BulkAddToGlobalWorkerWhitelistRequest is not mutable")) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.BulkAddToGlobalWorkerWhitelistRequest")) + } + panic(fmt.Errorf("message emissions.v8.BulkAddToGlobalWorkerWhitelistRequest does not contain field %s", fd.FullName())) + } +} + +// NewField returns a new value that is assignable to the field +// for the given descriptor. For scalars, this returns the default value. +// For lists, maps, and messages, this returns a new, empty, mutable value. +func (x *fastReflection_BulkAddToGlobalWorkerWhitelistRequest) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.BulkAddToGlobalWorkerWhitelistRequest.sender": + return protoreflect.ValueOfString("") + case "emissions.v8.BulkAddToGlobalWorkerWhitelistRequest.addresses": + list := []string{} + return protoreflect.ValueOfList(&_BulkAddToGlobalWorkerWhitelistRequest_2_list{list: &list}) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.BulkAddToGlobalWorkerWhitelistRequest")) + } + panic(fmt.Errorf("message emissions.v8.BulkAddToGlobalWorkerWhitelistRequest does not contain field %s", fd.FullName())) + } +} + +// WhichOneof reports which field within the oneof is populated, +// returning nil if none are populated. +// It panics if the oneof descriptor does not belong to this message. +func (x *fastReflection_BulkAddToGlobalWorkerWhitelistRequest) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { + switch d.FullName() { + default: + panic(fmt.Errorf("%s is not a oneof field in emissions.v8.BulkAddToGlobalWorkerWhitelistRequest", d.FullName())) + } + panic("unreachable") +} + +// GetUnknown retrieves the entire list of unknown fields. +// The caller may only mutate the contents of the RawFields +// if the mutated bytes are stored back into the message with SetUnknown. +func (x *fastReflection_BulkAddToGlobalWorkerWhitelistRequest) GetUnknown() protoreflect.RawFields { + return x.unknownFields +} + +// SetUnknown stores an entire list of unknown fields. +// The raw fields must be syntactically valid according to the wire format. +// An implementation may panic if this is not the case. +// Once stored, the caller must not mutate the content of the RawFields. +// An empty RawFields may be passed to clear the fields. +// +// SetUnknown is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_BulkAddToGlobalWorkerWhitelistRequest) SetUnknown(fields protoreflect.RawFields) { + x.unknownFields = fields +} + +// IsValid reports whether the message is valid. +// +// An invalid message is an empty, read-only value. +// +// An invalid message often corresponds to a nil pointer of the concrete +// message type, but the details are implementation dependent. +// Validity is not part of the protobuf data model, and may not +// be preserved in marshaling or other operations. +func (x *fastReflection_BulkAddToGlobalWorkerWhitelistRequest) IsValid() bool { + return x != nil +} + +// ProtoMethods returns optional fastReflectionFeature-path implementations of various operations. +// This method may return nil. +// +// The returned methods type is identical to +// "google.golang.org/protobuf/runtime/protoiface".Methods. +// Consult the protoiface package documentation for details. +func (x *fastReflection_BulkAddToGlobalWorkerWhitelistRequest) ProtoMethods() *protoiface.Methods { + size := func(input protoiface.SizeInput) protoiface.SizeOutput { + x := input.Message.Interface().(*BulkAddToGlobalWorkerWhitelistRequest) + if x == nil { + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: 0, + } + } + options := runtime.SizeInputToOptions(input) + _ = options + var n int + var l int + _ = l + l = len(x.Sender) + if l > 0 { + n += 1 + l + runtime.Sov(uint64(l)) + } + if len(x.Addresses) > 0 { + for _, s := range x.Addresses { + l = len(s) + n += 1 + l + runtime.Sov(uint64(l)) + } + } + if x.unknownFields != nil { + n += len(x.unknownFields) + } + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: n, + } + } + + marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { + x := input.Message.Interface().(*BulkAddToGlobalWorkerWhitelistRequest) + if x == nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + options := runtime.MarshalInputToOptions(input) + _ = options + size := options.Size(x) + dAtA := make([]byte, size) + i := len(dAtA) + _ = i + var l int + _ = l + if x.unknownFields != nil { + i -= len(x.unknownFields) + copy(dAtA[i:], x.unknownFields) + } + if len(x.Addresses) > 0 { + for iNdEx := len(x.Addresses) - 1; iNdEx >= 0; iNdEx-- { + i -= len(x.Addresses[iNdEx]) + copy(dAtA[i:], x.Addresses[iNdEx]) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.Addresses[iNdEx]))) + i-- + dAtA[i] = 0x12 + } + } + if len(x.Sender) > 0 { + i -= len(x.Sender) + copy(dAtA[i:], x.Sender) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.Sender))) + i-- + dAtA[i] = 0xa + } + if input.Buf != nil { + input.Buf = append(input.Buf, dAtA...) + } else { + input.Buf = dAtA + } + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { + x := input.Message.Interface().(*BulkAddToGlobalWorkerWhitelistRequest) + if x == nil { + return protoiface.UnmarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Flags: input.Flags, + }, nil + } + options := runtime.UnmarshalInputToOptions(input) + _ = options + dAtA := input.Buf + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: BulkAddToGlobalWorkerWhitelistRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: BulkAddToGlobalWorkerWhitelistRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Sender", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + x.Sender = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Addresses", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + x.Addresses = append(x.Addresses, string(dAtA[iNdEx:postIndex])) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := runtime.Skip(dAtA[iNdEx:]) + if err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if (iNdEx + skippy) > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + if !options.DiscardUnknown { + x.unknownFields = append(x.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + } + iNdEx += skippy + } + } + + if iNdEx > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, nil + } + return &protoiface.Methods{ + NoUnkeyedLiterals: struct{}{}, + Flags: protoiface.SupportMarshalDeterministic | protoiface.SupportUnmarshalDiscardUnknown, + Size: size, + Marshal: marshal, + Unmarshal: unmarshal, + Merge: nil, + CheckInitialized: nil, + } +} + +var ( + md_BulkAddToGlobalWorkerWhitelistResponse protoreflect.MessageDescriptor +) + +func init() { + file_emissions_v8_tx_proto_init() + md_BulkAddToGlobalWorkerWhitelistResponse = File_emissions_v8_tx_proto.Messages().ByName("BulkAddToGlobalWorkerWhitelistResponse") +} + +var _ protoreflect.Message = (*fastReflection_BulkAddToGlobalWorkerWhitelistResponse)(nil) + +type fastReflection_BulkAddToGlobalWorkerWhitelistResponse BulkAddToGlobalWorkerWhitelistResponse + +func (x *BulkAddToGlobalWorkerWhitelistResponse) ProtoReflect() protoreflect.Message { + return (*fastReflection_BulkAddToGlobalWorkerWhitelistResponse)(x) +} + +func (x *BulkAddToGlobalWorkerWhitelistResponse) slowProtoReflect() protoreflect.Message { + mi := &file_emissions_v8_tx_proto_msgTypes[60] + 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) +} + +var _fastReflection_BulkAddToGlobalWorkerWhitelistResponse_messageType fastReflection_BulkAddToGlobalWorkerWhitelistResponse_messageType +var _ protoreflect.MessageType = fastReflection_BulkAddToGlobalWorkerWhitelistResponse_messageType{} + +type fastReflection_BulkAddToGlobalWorkerWhitelistResponse_messageType struct{} + +func (x fastReflection_BulkAddToGlobalWorkerWhitelistResponse_messageType) Zero() protoreflect.Message { + return (*fastReflection_BulkAddToGlobalWorkerWhitelistResponse)(nil) +} +func (x fastReflection_BulkAddToGlobalWorkerWhitelistResponse_messageType) New() protoreflect.Message { + return new(fastReflection_BulkAddToGlobalWorkerWhitelistResponse) +} +func (x fastReflection_BulkAddToGlobalWorkerWhitelistResponse_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_BulkAddToGlobalWorkerWhitelistResponse +} + +// Descriptor returns message descriptor, which contains only the protobuf +// type information for the message. +func (x *fastReflection_BulkAddToGlobalWorkerWhitelistResponse) Descriptor() protoreflect.MessageDescriptor { + return md_BulkAddToGlobalWorkerWhitelistResponse +} + +// Type returns the message type, which encapsulates both Go and protobuf +// type information. If the Go type information is not needed, +// it is recommended that the message descriptor be used instead. +func (x *fastReflection_BulkAddToGlobalWorkerWhitelistResponse) Type() protoreflect.MessageType { + return _fastReflection_BulkAddToGlobalWorkerWhitelistResponse_messageType +} + +// New returns a newly allocated and mutable empty message. +func (x *fastReflection_BulkAddToGlobalWorkerWhitelistResponse) New() protoreflect.Message { + return new(fastReflection_BulkAddToGlobalWorkerWhitelistResponse) +} + +// Interface unwraps the message reflection interface and +// returns the underlying ProtoMessage interface. +func (x *fastReflection_BulkAddToGlobalWorkerWhitelistResponse) Interface() protoreflect.ProtoMessage { + return (*BulkAddToGlobalWorkerWhitelistResponse)(x) +} + +// Range iterates over every populated field in an undefined order, +// calling f for each field descriptor and value encountered. +// Range returns immediately if f returns false. +// While iterating, mutating operations may only be performed +// on the current field descriptor. +func (x *fastReflection_BulkAddToGlobalWorkerWhitelistResponse) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { +} + +// Has reports whether a field is populated. +// +// Some fields have the property of nullability where it is possible to +// distinguish between the default value of a field and whether the field +// was explicitly populated with the default value. Singular message fields, +// member fields of a oneof, and proto2 scalar fields are nullable. Such +// fields are populated only if explicitly set. +// +// In other cases (aside from the nullable cases above), +// a proto3 scalar field is populated if it contains a non-zero value, and +// a repeated field is populated if it is non-empty. +func (x *fastReflection_BulkAddToGlobalWorkerWhitelistResponse) Has(fd protoreflect.FieldDescriptor) bool { + switch fd.FullName() { + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.BulkAddToGlobalWorkerWhitelistResponse")) + } + panic(fmt.Errorf("message emissions.v8.BulkAddToGlobalWorkerWhitelistResponse does not contain field %s", fd.FullName())) + } +} + +// Clear clears the field such that a subsequent Has call reports false. +// +// Clearing an extension field clears both the extension type and value +// associated with the given field number. +// +// Clear is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_BulkAddToGlobalWorkerWhitelistResponse) Clear(fd protoreflect.FieldDescriptor) { + switch fd.FullName() { + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.BulkAddToGlobalWorkerWhitelistResponse")) + } + panic(fmt.Errorf("message emissions.v8.BulkAddToGlobalWorkerWhitelistResponse does not contain field %s", fd.FullName())) + } +} + +// Get retrieves the value for a field. +// +// For unpopulated scalars, it returns the default value, where +// the default value of a bytes scalar is guaranteed to be a copy. +// For unpopulated composite types, it returns an empty, read-only view +// of the value; to obtain a mutable reference, use Mutable. +func (x *fastReflection_BulkAddToGlobalWorkerWhitelistResponse) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { + switch descriptor.FullName() { + default: + if descriptor.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.BulkAddToGlobalWorkerWhitelistResponse")) + } + panic(fmt.Errorf("message emissions.v8.BulkAddToGlobalWorkerWhitelistResponse does not contain field %s", descriptor.FullName())) + } +} + +// Set stores the value for a field. +// +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType. +// When setting a composite type, it is unspecified whether the stored value +// aliases the source's memory in any way. If the composite value is an +// empty, read-only value, then it panics. +// +// Set is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_BulkAddToGlobalWorkerWhitelistResponse) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { + switch fd.FullName() { + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.BulkAddToGlobalWorkerWhitelistResponse")) + } + panic(fmt.Errorf("message emissions.v8.BulkAddToGlobalWorkerWhitelistResponse does not contain field %s", fd.FullName())) + } +} + +// Mutable returns a mutable reference to a composite type. +// +// If the field is unpopulated, it may allocate a composite value. +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType +// if not already stored. +// It panics if the field does not contain a composite type. +// +// Mutable is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_BulkAddToGlobalWorkerWhitelistResponse) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.BulkAddToGlobalWorkerWhitelistResponse")) + } + panic(fmt.Errorf("message emissions.v8.BulkAddToGlobalWorkerWhitelistResponse does not contain field %s", fd.FullName())) + } +} + +// NewField returns a new value that is assignable to the field +// for the given descriptor. For scalars, this returns the default value. +// For lists, maps, and messages, this returns a new, empty, mutable value. +func (x *fastReflection_BulkAddToGlobalWorkerWhitelistResponse) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.BulkAddToGlobalWorkerWhitelistResponse")) + } + panic(fmt.Errorf("message emissions.v8.BulkAddToGlobalWorkerWhitelistResponse does not contain field %s", fd.FullName())) + } +} + +// WhichOneof reports which field within the oneof is populated, +// returning nil if none are populated. +// It panics if the oneof descriptor does not belong to this message. +func (x *fastReflection_BulkAddToGlobalWorkerWhitelistResponse) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { + switch d.FullName() { + default: + panic(fmt.Errorf("%s is not a oneof field in emissions.v8.BulkAddToGlobalWorkerWhitelistResponse", d.FullName())) + } + panic("unreachable") +} + +// GetUnknown retrieves the entire list of unknown fields. +// The caller may only mutate the contents of the RawFields +// if the mutated bytes are stored back into the message with SetUnknown. +func (x *fastReflection_BulkAddToGlobalWorkerWhitelistResponse) GetUnknown() protoreflect.RawFields { + return x.unknownFields +} + +// SetUnknown stores an entire list of unknown fields. +// The raw fields must be syntactically valid according to the wire format. +// An implementation may panic if this is not the case. +// Once stored, the caller must not mutate the content of the RawFields. +// An empty RawFields may be passed to clear the fields. +// +// SetUnknown is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_BulkAddToGlobalWorkerWhitelistResponse) SetUnknown(fields protoreflect.RawFields) { + x.unknownFields = fields +} + +// IsValid reports whether the message is valid. +// +// An invalid message is an empty, read-only value. +// +// An invalid message often corresponds to a nil pointer of the concrete +// message type, but the details are implementation dependent. +// Validity is not part of the protobuf data model, and may not +// be preserved in marshaling or other operations. +func (x *fastReflection_BulkAddToGlobalWorkerWhitelistResponse) IsValid() bool { + return x != nil +} + +// ProtoMethods returns optional fastReflectionFeature-path implementations of various operations. +// This method may return nil. +// +// The returned methods type is identical to +// "google.golang.org/protobuf/runtime/protoiface".Methods. +// Consult the protoiface package documentation for details. +func (x *fastReflection_BulkAddToGlobalWorkerWhitelistResponse) ProtoMethods() *protoiface.Methods { + size := func(input protoiface.SizeInput) protoiface.SizeOutput { + x := input.Message.Interface().(*BulkAddToGlobalWorkerWhitelistResponse) + if x == nil { + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: 0, + } + } + options := runtime.SizeInputToOptions(input) + _ = options + var n int + var l int + _ = l + if x.unknownFields != nil { + n += len(x.unknownFields) + } + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: n, + } + } + + marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { + x := input.Message.Interface().(*BulkAddToGlobalWorkerWhitelistResponse) + if x == nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + options := runtime.MarshalInputToOptions(input) + _ = options + size := options.Size(x) + dAtA := make([]byte, size) + i := len(dAtA) + _ = i + var l int + _ = l + if x.unknownFields != nil { + i -= len(x.unknownFields) + copy(dAtA[i:], x.unknownFields) + } + if input.Buf != nil { + input.Buf = append(input.Buf, dAtA...) + } else { + input.Buf = dAtA + } + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { + x := input.Message.Interface().(*BulkAddToGlobalWorkerWhitelistResponse) + if x == nil { + return protoiface.UnmarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Flags: input.Flags, + }, nil + } + options := runtime.UnmarshalInputToOptions(input) + _ = options + dAtA := input.Buf + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: BulkAddToGlobalWorkerWhitelistResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: BulkAddToGlobalWorkerWhitelistResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + default: + iNdEx = preIndex + skippy, err := runtime.Skip(dAtA[iNdEx:]) + if err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if (iNdEx + skippy) > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + if !options.DiscardUnknown { + x.unknownFields = append(x.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + } + iNdEx += skippy + } + } + + if iNdEx > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, nil + } + return &protoiface.Methods{ + NoUnkeyedLiterals: struct{}{}, + Flags: protoiface.SupportMarshalDeterministic | protoiface.SupportUnmarshalDiscardUnknown, + Size: size, + Marshal: marshal, + Unmarshal: unmarshal, + Merge: nil, + CheckInitialized: nil, + } +} + +var _ protoreflect.List = (*_BulkRemoveFromGlobalWorkerWhitelistRequest_2_list)(nil) + +type _BulkRemoveFromGlobalWorkerWhitelistRequest_2_list struct { + list *[]string +} + +func (x *_BulkRemoveFromGlobalWorkerWhitelistRequest_2_list) Len() int { + if x.list == nil { + return 0 + } + return len(*x.list) +} + +func (x *_BulkRemoveFromGlobalWorkerWhitelistRequest_2_list) Get(i int) protoreflect.Value { + return protoreflect.ValueOfString((*x.list)[i]) +} + +func (x *_BulkRemoveFromGlobalWorkerWhitelistRequest_2_list) Set(i int, value protoreflect.Value) { + valueUnwrapped := value.String() + concreteValue := valueUnwrapped + (*x.list)[i] = concreteValue +} + +func (x *_BulkRemoveFromGlobalWorkerWhitelistRequest_2_list) Append(value protoreflect.Value) { + valueUnwrapped := value.String() + concreteValue := valueUnwrapped + *x.list = append(*x.list, concreteValue) +} + +func (x *_BulkRemoveFromGlobalWorkerWhitelistRequest_2_list) AppendMutable() protoreflect.Value { + panic(fmt.Errorf("AppendMutable can not be called on message BulkRemoveFromGlobalWorkerWhitelistRequest at list field Addresses as it is not of Message kind")) +} + +func (x *_BulkRemoveFromGlobalWorkerWhitelistRequest_2_list) Truncate(n int) { + *x.list = (*x.list)[:n] +} + +func (x *_BulkRemoveFromGlobalWorkerWhitelistRequest_2_list) NewElement() protoreflect.Value { + v := "" + return protoreflect.ValueOfString(v) +} + +func (x *_BulkRemoveFromGlobalWorkerWhitelistRequest_2_list) IsValid() bool { + return x.list != nil +} + +var ( + md_BulkRemoveFromGlobalWorkerWhitelistRequest protoreflect.MessageDescriptor + fd_BulkRemoveFromGlobalWorkerWhitelistRequest_sender protoreflect.FieldDescriptor + fd_BulkRemoveFromGlobalWorkerWhitelistRequest_addresses protoreflect.FieldDescriptor +) + +func init() { + file_emissions_v8_tx_proto_init() + md_BulkRemoveFromGlobalWorkerWhitelistRequest = File_emissions_v8_tx_proto.Messages().ByName("BulkRemoveFromGlobalWorkerWhitelistRequest") + fd_BulkRemoveFromGlobalWorkerWhitelistRequest_sender = md_BulkRemoveFromGlobalWorkerWhitelistRequest.Fields().ByName("sender") + fd_BulkRemoveFromGlobalWorkerWhitelistRequest_addresses = md_BulkRemoveFromGlobalWorkerWhitelistRequest.Fields().ByName("addresses") +} + +var _ protoreflect.Message = (*fastReflection_BulkRemoveFromGlobalWorkerWhitelistRequest)(nil) + +type fastReflection_BulkRemoveFromGlobalWorkerWhitelistRequest BulkRemoveFromGlobalWorkerWhitelistRequest + +func (x *BulkRemoveFromGlobalWorkerWhitelistRequest) ProtoReflect() protoreflect.Message { + return (*fastReflection_BulkRemoveFromGlobalWorkerWhitelistRequest)(x) +} + +func (x *BulkRemoveFromGlobalWorkerWhitelistRequest) slowProtoReflect() protoreflect.Message { + mi := &file_emissions_v8_tx_proto_msgTypes[61] + 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) +} + +var _fastReflection_BulkRemoveFromGlobalWorkerWhitelistRequest_messageType fastReflection_BulkRemoveFromGlobalWorkerWhitelistRequest_messageType +var _ protoreflect.MessageType = fastReflection_BulkRemoveFromGlobalWorkerWhitelistRequest_messageType{} + +type fastReflection_BulkRemoveFromGlobalWorkerWhitelistRequest_messageType struct{} + +func (x fastReflection_BulkRemoveFromGlobalWorkerWhitelistRequest_messageType) Zero() protoreflect.Message { + return (*fastReflection_BulkRemoveFromGlobalWorkerWhitelistRequest)(nil) +} +func (x fastReflection_BulkRemoveFromGlobalWorkerWhitelistRequest_messageType) New() protoreflect.Message { + return new(fastReflection_BulkRemoveFromGlobalWorkerWhitelistRequest) +} +func (x fastReflection_BulkRemoveFromGlobalWorkerWhitelistRequest_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_BulkRemoveFromGlobalWorkerWhitelistRequest +} + +// Descriptor returns message descriptor, which contains only the protobuf +// type information for the message. +func (x *fastReflection_BulkRemoveFromGlobalWorkerWhitelistRequest) Descriptor() protoreflect.MessageDescriptor { + return md_BulkRemoveFromGlobalWorkerWhitelistRequest +} + +// Type returns the message type, which encapsulates both Go and protobuf +// type information. If the Go type information is not needed, +// it is recommended that the message descriptor be used instead. +func (x *fastReflection_BulkRemoveFromGlobalWorkerWhitelistRequest) Type() protoreflect.MessageType { + return _fastReflection_BulkRemoveFromGlobalWorkerWhitelistRequest_messageType +} + +// New returns a newly allocated and mutable empty message. +func (x *fastReflection_BulkRemoveFromGlobalWorkerWhitelistRequest) New() protoreflect.Message { + return new(fastReflection_BulkRemoveFromGlobalWorkerWhitelistRequest) +} + +// Interface unwraps the message reflection interface and +// returns the underlying ProtoMessage interface. +func (x *fastReflection_BulkRemoveFromGlobalWorkerWhitelistRequest) Interface() protoreflect.ProtoMessage { + return (*BulkRemoveFromGlobalWorkerWhitelistRequest)(x) +} + +// Range iterates over every populated field in an undefined order, +// calling f for each field descriptor and value encountered. +// Range returns immediately if f returns false. +// While iterating, mutating operations may only be performed +// on the current field descriptor. +func (x *fastReflection_BulkRemoveFromGlobalWorkerWhitelistRequest) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { + if x.Sender != "" { + value := protoreflect.ValueOfString(x.Sender) + if !f(fd_BulkRemoveFromGlobalWorkerWhitelistRequest_sender, value) { + return + } + } + if len(x.Addresses) != 0 { + value := protoreflect.ValueOfList(&_BulkRemoveFromGlobalWorkerWhitelistRequest_2_list{list: &x.Addresses}) + if !f(fd_BulkRemoveFromGlobalWorkerWhitelistRequest_addresses, value) { + return + } + } +} + +// Has reports whether a field is populated. +// +// Some fields have the property of nullability where it is possible to +// distinguish between the default value of a field and whether the field +// was explicitly populated with the default value. Singular message fields, +// member fields of a oneof, and proto2 scalar fields are nullable. Such +// fields are populated only if explicitly set. +// +// In other cases (aside from the nullable cases above), +// a proto3 scalar field is populated if it contains a non-zero value, and +// a repeated field is populated if it is non-empty. +func (x *fastReflection_BulkRemoveFromGlobalWorkerWhitelistRequest) Has(fd protoreflect.FieldDescriptor) bool { + switch fd.FullName() { + case "emissions.v8.BulkRemoveFromGlobalWorkerWhitelistRequest.sender": + return x.Sender != "" + case "emissions.v8.BulkRemoveFromGlobalWorkerWhitelistRequest.addresses": + return len(x.Addresses) != 0 + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.BulkRemoveFromGlobalWorkerWhitelistRequest")) + } + panic(fmt.Errorf("message emissions.v8.BulkRemoveFromGlobalWorkerWhitelistRequest does not contain field %s", fd.FullName())) + } +} + +// Clear clears the field such that a subsequent Has call reports false. +// +// Clearing an extension field clears both the extension type and value +// associated with the given field number. +// +// Clear is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_BulkRemoveFromGlobalWorkerWhitelistRequest) Clear(fd protoreflect.FieldDescriptor) { + switch fd.FullName() { + case "emissions.v8.BulkRemoveFromGlobalWorkerWhitelistRequest.sender": + x.Sender = "" + case "emissions.v8.BulkRemoveFromGlobalWorkerWhitelistRequest.addresses": + x.Addresses = nil + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.BulkRemoveFromGlobalWorkerWhitelistRequest")) + } + panic(fmt.Errorf("message emissions.v8.BulkRemoveFromGlobalWorkerWhitelistRequest does not contain field %s", fd.FullName())) + } +} + +// Get retrieves the value for a field. +// +// For unpopulated scalars, it returns the default value, where +// the default value of a bytes scalar is guaranteed to be a copy. +// For unpopulated composite types, it returns an empty, read-only view +// of the value; to obtain a mutable reference, use Mutable. +func (x *fastReflection_BulkRemoveFromGlobalWorkerWhitelistRequest) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { + switch descriptor.FullName() { + case "emissions.v8.BulkRemoveFromGlobalWorkerWhitelistRequest.sender": + value := x.Sender + return protoreflect.ValueOfString(value) + case "emissions.v8.BulkRemoveFromGlobalWorkerWhitelistRequest.addresses": + if len(x.Addresses) == 0 { + return protoreflect.ValueOfList(&_BulkRemoveFromGlobalWorkerWhitelistRequest_2_list{}) + } + listValue := &_BulkRemoveFromGlobalWorkerWhitelistRequest_2_list{list: &x.Addresses} + return protoreflect.ValueOfList(listValue) + default: + if descriptor.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.BulkRemoveFromGlobalWorkerWhitelistRequest")) + } + panic(fmt.Errorf("message emissions.v8.BulkRemoveFromGlobalWorkerWhitelistRequest does not contain field %s", descriptor.FullName())) + } +} + +// Set stores the value for a field. +// +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType. +// When setting a composite type, it is unspecified whether the stored value +// aliases the source's memory in any way. If the composite value is an +// empty, read-only value, then it panics. +// +// Set is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_BulkRemoveFromGlobalWorkerWhitelistRequest) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { + switch fd.FullName() { + case "emissions.v8.BulkRemoveFromGlobalWorkerWhitelistRequest.sender": + x.Sender = value.Interface().(string) + case "emissions.v8.BulkRemoveFromGlobalWorkerWhitelistRequest.addresses": + lv := value.List() + clv := lv.(*_BulkRemoveFromGlobalWorkerWhitelistRequest_2_list) + x.Addresses = *clv.list + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.BulkRemoveFromGlobalWorkerWhitelistRequest")) + } + panic(fmt.Errorf("message emissions.v8.BulkRemoveFromGlobalWorkerWhitelistRequest does not contain field %s", fd.FullName())) + } +} + +// Mutable returns a mutable reference to a composite type. +// +// If the field is unpopulated, it may allocate a composite value. +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType +// if not already stored. +// It panics if the field does not contain a composite type. +// +// Mutable is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_BulkRemoveFromGlobalWorkerWhitelistRequest) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.BulkRemoveFromGlobalWorkerWhitelistRequest.addresses": + if x.Addresses == nil { + x.Addresses = []string{} + } + value := &_BulkRemoveFromGlobalWorkerWhitelistRequest_2_list{list: &x.Addresses} + return protoreflect.ValueOfList(value) + case "emissions.v8.BulkRemoveFromGlobalWorkerWhitelistRequest.sender": + panic(fmt.Errorf("field sender of message emissions.v8.BulkRemoveFromGlobalWorkerWhitelistRequest is not mutable")) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.BulkRemoveFromGlobalWorkerWhitelistRequest")) + } + panic(fmt.Errorf("message emissions.v8.BulkRemoveFromGlobalWorkerWhitelistRequest does not contain field %s", fd.FullName())) + } +} + +// NewField returns a new value that is assignable to the field +// for the given descriptor. For scalars, this returns the default value. +// For lists, maps, and messages, this returns a new, empty, mutable value. +func (x *fastReflection_BulkRemoveFromGlobalWorkerWhitelistRequest) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.BulkRemoveFromGlobalWorkerWhitelistRequest.sender": + return protoreflect.ValueOfString("") + case "emissions.v8.BulkRemoveFromGlobalWorkerWhitelistRequest.addresses": + list := []string{} + return protoreflect.ValueOfList(&_BulkRemoveFromGlobalWorkerWhitelistRequest_2_list{list: &list}) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.BulkRemoveFromGlobalWorkerWhitelistRequest")) + } + panic(fmt.Errorf("message emissions.v8.BulkRemoveFromGlobalWorkerWhitelistRequest does not contain field %s", fd.FullName())) + } +} + +// WhichOneof reports which field within the oneof is populated, +// returning nil if none are populated. +// It panics if the oneof descriptor does not belong to this message. +func (x *fastReflection_BulkRemoveFromGlobalWorkerWhitelistRequest) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { + switch d.FullName() { + default: + panic(fmt.Errorf("%s is not a oneof field in emissions.v8.BulkRemoveFromGlobalWorkerWhitelistRequest", d.FullName())) + } + panic("unreachable") +} + +// GetUnknown retrieves the entire list of unknown fields. +// The caller may only mutate the contents of the RawFields +// if the mutated bytes are stored back into the message with SetUnknown. +func (x *fastReflection_BulkRemoveFromGlobalWorkerWhitelistRequest) GetUnknown() protoreflect.RawFields { + return x.unknownFields +} + +// SetUnknown stores an entire list of unknown fields. +// The raw fields must be syntactically valid according to the wire format. +// An implementation may panic if this is not the case. +// Once stored, the caller must not mutate the content of the RawFields. +// An empty RawFields may be passed to clear the fields. +// +// SetUnknown is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_BulkRemoveFromGlobalWorkerWhitelistRequest) SetUnknown(fields protoreflect.RawFields) { + x.unknownFields = fields +} + +// IsValid reports whether the message is valid. +// +// An invalid message is an empty, read-only value. +// +// An invalid message often corresponds to a nil pointer of the concrete +// message type, but the details are implementation dependent. +// Validity is not part of the protobuf data model, and may not +// be preserved in marshaling or other operations. +func (x *fastReflection_BulkRemoveFromGlobalWorkerWhitelistRequest) IsValid() bool { + return x != nil +} + +// ProtoMethods returns optional fastReflectionFeature-path implementations of various operations. +// This method may return nil. +// +// The returned methods type is identical to +// "google.golang.org/protobuf/runtime/protoiface".Methods. +// Consult the protoiface package documentation for details. +func (x *fastReflection_BulkRemoveFromGlobalWorkerWhitelistRequest) ProtoMethods() *protoiface.Methods { + size := func(input protoiface.SizeInput) protoiface.SizeOutput { + x := input.Message.Interface().(*BulkRemoveFromGlobalWorkerWhitelistRequest) + if x == nil { + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: 0, + } + } + options := runtime.SizeInputToOptions(input) + _ = options + var n int + var l int + _ = l + l = len(x.Sender) + if l > 0 { + n += 1 + l + runtime.Sov(uint64(l)) + } + if len(x.Addresses) > 0 { + for _, s := range x.Addresses { + l = len(s) + n += 1 + l + runtime.Sov(uint64(l)) + } + } + if x.unknownFields != nil { + n += len(x.unknownFields) + } + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: n, + } + } + + marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { + x := input.Message.Interface().(*BulkRemoveFromGlobalWorkerWhitelistRequest) + if x == nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + options := runtime.MarshalInputToOptions(input) + _ = options + size := options.Size(x) + dAtA := make([]byte, size) + i := len(dAtA) + _ = i + var l int + _ = l + if x.unknownFields != nil { + i -= len(x.unknownFields) + copy(dAtA[i:], x.unknownFields) + } + if len(x.Addresses) > 0 { + for iNdEx := len(x.Addresses) - 1; iNdEx >= 0; iNdEx-- { + i -= len(x.Addresses[iNdEx]) + copy(dAtA[i:], x.Addresses[iNdEx]) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.Addresses[iNdEx]))) + i-- + dAtA[i] = 0x12 + } + } + if len(x.Sender) > 0 { + i -= len(x.Sender) + copy(dAtA[i:], x.Sender) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.Sender))) + i-- + dAtA[i] = 0xa + } + if input.Buf != nil { + input.Buf = append(input.Buf, dAtA...) + } else { + input.Buf = dAtA + } + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { + x := input.Message.Interface().(*BulkRemoveFromGlobalWorkerWhitelistRequest) + if x == nil { + return protoiface.UnmarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Flags: input.Flags, + }, nil + } + options := runtime.UnmarshalInputToOptions(input) + _ = options + dAtA := input.Buf + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: BulkRemoveFromGlobalWorkerWhitelistRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: BulkRemoveFromGlobalWorkerWhitelistRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Sender", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + x.Sender = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Addresses", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + x.Addresses = append(x.Addresses, string(dAtA[iNdEx:postIndex])) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := runtime.Skip(dAtA[iNdEx:]) + if err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if (iNdEx + skippy) > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + if !options.DiscardUnknown { + x.unknownFields = append(x.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + } + iNdEx += skippy + } + } + + if iNdEx > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, nil + } + return &protoiface.Methods{ + NoUnkeyedLiterals: struct{}{}, + Flags: protoiface.SupportMarshalDeterministic | protoiface.SupportUnmarshalDiscardUnknown, + Size: size, + Marshal: marshal, + Unmarshal: unmarshal, + Merge: nil, + CheckInitialized: nil, + } +} + +var ( + md_BulkRemoveFromGlobalWorkerWhitelistResponse protoreflect.MessageDescriptor +) + +func init() { + file_emissions_v8_tx_proto_init() + md_BulkRemoveFromGlobalWorkerWhitelistResponse = File_emissions_v8_tx_proto.Messages().ByName("BulkRemoveFromGlobalWorkerWhitelistResponse") +} + +var _ protoreflect.Message = (*fastReflection_BulkRemoveFromGlobalWorkerWhitelistResponse)(nil) + +type fastReflection_BulkRemoveFromGlobalWorkerWhitelistResponse BulkRemoveFromGlobalWorkerWhitelistResponse + +func (x *BulkRemoveFromGlobalWorkerWhitelistResponse) ProtoReflect() protoreflect.Message { + return (*fastReflection_BulkRemoveFromGlobalWorkerWhitelistResponse)(x) +} + +func (x *BulkRemoveFromGlobalWorkerWhitelistResponse) slowProtoReflect() protoreflect.Message { + mi := &file_emissions_v8_tx_proto_msgTypes[62] + 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) +} + +var _fastReflection_BulkRemoveFromGlobalWorkerWhitelistResponse_messageType fastReflection_BulkRemoveFromGlobalWorkerWhitelistResponse_messageType +var _ protoreflect.MessageType = fastReflection_BulkRemoveFromGlobalWorkerWhitelistResponse_messageType{} + +type fastReflection_BulkRemoveFromGlobalWorkerWhitelistResponse_messageType struct{} + +func (x fastReflection_BulkRemoveFromGlobalWorkerWhitelistResponse_messageType) Zero() protoreflect.Message { + return (*fastReflection_BulkRemoveFromGlobalWorkerWhitelistResponse)(nil) +} +func (x fastReflection_BulkRemoveFromGlobalWorkerWhitelistResponse_messageType) New() protoreflect.Message { + return new(fastReflection_BulkRemoveFromGlobalWorkerWhitelistResponse) +} +func (x fastReflection_BulkRemoveFromGlobalWorkerWhitelistResponse_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_BulkRemoveFromGlobalWorkerWhitelistResponse +} + +// Descriptor returns message descriptor, which contains only the protobuf +// type information for the message. +func (x *fastReflection_BulkRemoveFromGlobalWorkerWhitelistResponse) Descriptor() protoreflect.MessageDescriptor { + return md_BulkRemoveFromGlobalWorkerWhitelistResponse +} + +// Type returns the message type, which encapsulates both Go and protobuf +// type information. If the Go type information is not needed, +// it is recommended that the message descriptor be used instead. +func (x *fastReflection_BulkRemoveFromGlobalWorkerWhitelistResponse) Type() protoreflect.MessageType { + return _fastReflection_BulkRemoveFromGlobalWorkerWhitelistResponse_messageType +} + +// New returns a newly allocated and mutable empty message. +func (x *fastReflection_BulkRemoveFromGlobalWorkerWhitelistResponse) New() protoreflect.Message { + return new(fastReflection_BulkRemoveFromGlobalWorkerWhitelistResponse) +} + +// Interface unwraps the message reflection interface and +// returns the underlying ProtoMessage interface. +func (x *fastReflection_BulkRemoveFromGlobalWorkerWhitelistResponse) Interface() protoreflect.ProtoMessage { + return (*BulkRemoveFromGlobalWorkerWhitelistResponse)(x) +} + +// Range iterates over every populated field in an undefined order, +// calling f for each field descriptor and value encountered. +// Range returns immediately if f returns false. +// While iterating, mutating operations may only be performed +// on the current field descriptor. +func (x *fastReflection_BulkRemoveFromGlobalWorkerWhitelistResponse) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { +} + +// Has reports whether a field is populated. +// +// Some fields have the property of nullability where it is possible to +// distinguish between the default value of a field and whether the field +// was explicitly populated with the default value. Singular message fields, +// member fields of a oneof, and proto2 scalar fields are nullable. Such +// fields are populated only if explicitly set. +// +// In other cases (aside from the nullable cases above), +// a proto3 scalar field is populated if it contains a non-zero value, and +// a repeated field is populated if it is non-empty. +func (x *fastReflection_BulkRemoveFromGlobalWorkerWhitelistResponse) Has(fd protoreflect.FieldDescriptor) bool { + switch fd.FullName() { + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.BulkRemoveFromGlobalWorkerWhitelistResponse")) + } + panic(fmt.Errorf("message emissions.v8.BulkRemoveFromGlobalWorkerWhitelistResponse does not contain field %s", fd.FullName())) + } +} + +// Clear clears the field such that a subsequent Has call reports false. +// +// Clearing an extension field clears both the extension type and value +// associated with the given field number. +// +// Clear is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_BulkRemoveFromGlobalWorkerWhitelistResponse) Clear(fd protoreflect.FieldDescriptor) { + switch fd.FullName() { + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.BulkRemoveFromGlobalWorkerWhitelistResponse")) + } + panic(fmt.Errorf("message emissions.v8.BulkRemoveFromGlobalWorkerWhitelistResponse does not contain field %s", fd.FullName())) + } +} + +// Get retrieves the value for a field. +// +// For unpopulated scalars, it returns the default value, where +// the default value of a bytes scalar is guaranteed to be a copy. +// For unpopulated composite types, it returns an empty, read-only view +// of the value; to obtain a mutable reference, use Mutable. +func (x *fastReflection_BulkRemoveFromGlobalWorkerWhitelistResponse) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { + switch descriptor.FullName() { + default: + if descriptor.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.BulkRemoveFromGlobalWorkerWhitelistResponse")) + } + panic(fmt.Errorf("message emissions.v8.BulkRemoveFromGlobalWorkerWhitelistResponse does not contain field %s", descriptor.FullName())) + } +} + +// Set stores the value for a field. +// +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType. +// When setting a composite type, it is unspecified whether the stored value +// aliases the source's memory in any way. If the composite value is an +// empty, read-only value, then it panics. +// +// Set is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_BulkRemoveFromGlobalWorkerWhitelistResponse) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { + switch fd.FullName() { + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.BulkRemoveFromGlobalWorkerWhitelistResponse")) + } + panic(fmt.Errorf("message emissions.v8.BulkRemoveFromGlobalWorkerWhitelistResponse does not contain field %s", fd.FullName())) + } +} + +// Mutable returns a mutable reference to a composite type. +// +// If the field is unpopulated, it may allocate a composite value. +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType +// if not already stored. +// It panics if the field does not contain a composite type. +// +// Mutable is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_BulkRemoveFromGlobalWorkerWhitelistResponse) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.BulkRemoveFromGlobalWorkerWhitelistResponse")) + } + panic(fmt.Errorf("message emissions.v8.BulkRemoveFromGlobalWorkerWhitelistResponse does not contain field %s", fd.FullName())) + } +} + +// NewField returns a new value that is assignable to the field +// for the given descriptor. For scalars, this returns the default value. +// For lists, maps, and messages, this returns a new, empty, mutable value. +func (x *fastReflection_BulkRemoveFromGlobalWorkerWhitelistResponse) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.BulkRemoveFromGlobalWorkerWhitelistResponse")) + } + panic(fmt.Errorf("message emissions.v8.BulkRemoveFromGlobalWorkerWhitelistResponse does not contain field %s", fd.FullName())) + } +} + +// WhichOneof reports which field within the oneof is populated, +// returning nil if none are populated. +// It panics if the oneof descriptor does not belong to this message. +func (x *fastReflection_BulkRemoveFromGlobalWorkerWhitelistResponse) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { + switch d.FullName() { + default: + panic(fmt.Errorf("%s is not a oneof field in emissions.v8.BulkRemoveFromGlobalWorkerWhitelistResponse", d.FullName())) + } + panic("unreachable") +} + +// GetUnknown retrieves the entire list of unknown fields. +// The caller may only mutate the contents of the RawFields +// if the mutated bytes are stored back into the message with SetUnknown. +func (x *fastReflection_BulkRemoveFromGlobalWorkerWhitelistResponse) GetUnknown() protoreflect.RawFields { + return x.unknownFields +} + +// SetUnknown stores an entire list of unknown fields. +// The raw fields must be syntactically valid according to the wire format. +// An implementation may panic if this is not the case. +// Once stored, the caller must not mutate the content of the RawFields. +// An empty RawFields may be passed to clear the fields. +// +// SetUnknown is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_BulkRemoveFromGlobalWorkerWhitelistResponse) SetUnknown(fields protoreflect.RawFields) { + x.unknownFields = fields +} + +// IsValid reports whether the message is valid. +// +// An invalid message is an empty, read-only value. +// +// An invalid message often corresponds to a nil pointer of the concrete +// message type, but the details are implementation dependent. +// Validity is not part of the protobuf data model, and may not +// be preserved in marshaling or other operations. +func (x *fastReflection_BulkRemoveFromGlobalWorkerWhitelistResponse) IsValid() bool { + return x != nil +} + +// ProtoMethods returns optional fastReflectionFeature-path implementations of various operations. +// This method may return nil. +// +// The returned methods type is identical to +// "google.golang.org/protobuf/runtime/protoiface".Methods. +// Consult the protoiface package documentation for details. +func (x *fastReflection_BulkRemoveFromGlobalWorkerWhitelistResponse) ProtoMethods() *protoiface.Methods { + size := func(input protoiface.SizeInput) protoiface.SizeOutput { + x := input.Message.Interface().(*BulkRemoveFromGlobalWorkerWhitelistResponse) + if x == nil { + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: 0, + } + } + options := runtime.SizeInputToOptions(input) + _ = options + var n int + var l int + _ = l + if x.unknownFields != nil { + n += len(x.unknownFields) + } + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: n, + } + } + + marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { + x := input.Message.Interface().(*BulkRemoveFromGlobalWorkerWhitelistResponse) + if x == nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + options := runtime.MarshalInputToOptions(input) + _ = options + size := options.Size(x) + dAtA := make([]byte, size) + i := len(dAtA) + _ = i + var l int + _ = l + if x.unknownFields != nil { + i -= len(x.unknownFields) + copy(dAtA[i:], x.unknownFields) + } + if input.Buf != nil { + input.Buf = append(input.Buf, dAtA...) + } else { + input.Buf = dAtA + } + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { + x := input.Message.Interface().(*BulkRemoveFromGlobalWorkerWhitelistResponse) + if x == nil { + return protoiface.UnmarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Flags: input.Flags, + }, nil + } + options := runtime.UnmarshalInputToOptions(input) + _ = options + dAtA := input.Buf + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: BulkRemoveFromGlobalWorkerWhitelistResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: BulkRemoveFromGlobalWorkerWhitelistResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + default: + iNdEx = preIndex + skippy, err := runtime.Skip(dAtA[iNdEx:]) + if err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if (iNdEx + skippy) > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + if !options.DiscardUnknown { + x.unknownFields = append(x.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + } + iNdEx += skippy + } + } + + if iNdEx > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, nil + } + return &protoiface.Methods{ + NoUnkeyedLiterals: struct{}{}, + Flags: protoiface.SupportMarshalDeterministic | protoiface.SupportUnmarshalDiscardUnknown, + Size: size, + Marshal: marshal, + Unmarshal: unmarshal, + Merge: nil, + CheckInitialized: nil, + } +} + +var _ protoreflect.List = (*_BulkAddToGlobalReputerWhitelistRequest_2_list)(nil) + +type _BulkAddToGlobalReputerWhitelistRequest_2_list struct { + list *[]string +} + +func (x *_BulkAddToGlobalReputerWhitelistRequest_2_list) Len() int { + if x.list == nil { + return 0 + } + return len(*x.list) +} + +func (x *_BulkAddToGlobalReputerWhitelistRequest_2_list) Get(i int) protoreflect.Value { + return protoreflect.ValueOfString((*x.list)[i]) +} + +func (x *_BulkAddToGlobalReputerWhitelistRequest_2_list) Set(i int, value protoreflect.Value) { + valueUnwrapped := value.String() + concreteValue := valueUnwrapped + (*x.list)[i] = concreteValue +} + +func (x *_BulkAddToGlobalReputerWhitelistRequest_2_list) Append(value protoreflect.Value) { + valueUnwrapped := value.String() + concreteValue := valueUnwrapped + *x.list = append(*x.list, concreteValue) +} + +func (x *_BulkAddToGlobalReputerWhitelistRequest_2_list) AppendMutable() protoreflect.Value { + panic(fmt.Errorf("AppendMutable can not be called on message BulkAddToGlobalReputerWhitelistRequest at list field Addresses as it is not of Message kind")) +} + +func (x *_BulkAddToGlobalReputerWhitelistRequest_2_list) Truncate(n int) { + *x.list = (*x.list)[:n] +} + +func (x *_BulkAddToGlobalReputerWhitelistRequest_2_list) NewElement() protoreflect.Value { + v := "" + return protoreflect.ValueOfString(v) +} + +func (x *_BulkAddToGlobalReputerWhitelistRequest_2_list) IsValid() bool { + return x.list != nil +} + +var ( + md_BulkAddToGlobalReputerWhitelistRequest protoreflect.MessageDescriptor + fd_BulkAddToGlobalReputerWhitelistRequest_sender protoreflect.FieldDescriptor + fd_BulkAddToGlobalReputerWhitelistRequest_addresses protoreflect.FieldDescriptor +) + +func init() { + file_emissions_v8_tx_proto_init() + md_BulkAddToGlobalReputerWhitelistRequest = File_emissions_v8_tx_proto.Messages().ByName("BulkAddToGlobalReputerWhitelistRequest") + fd_BulkAddToGlobalReputerWhitelistRequest_sender = md_BulkAddToGlobalReputerWhitelistRequest.Fields().ByName("sender") + fd_BulkAddToGlobalReputerWhitelistRequest_addresses = md_BulkAddToGlobalReputerWhitelistRequest.Fields().ByName("addresses") +} + +var _ protoreflect.Message = (*fastReflection_BulkAddToGlobalReputerWhitelistRequest)(nil) + +type fastReflection_BulkAddToGlobalReputerWhitelistRequest BulkAddToGlobalReputerWhitelistRequest + +func (x *BulkAddToGlobalReputerWhitelistRequest) ProtoReflect() protoreflect.Message { + return (*fastReflection_BulkAddToGlobalReputerWhitelistRequest)(x) +} + +func (x *BulkAddToGlobalReputerWhitelistRequest) slowProtoReflect() protoreflect.Message { + mi := &file_emissions_v8_tx_proto_msgTypes[63] + 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) +} + +var _fastReflection_BulkAddToGlobalReputerWhitelistRequest_messageType fastReflection_BulkAddToGlobalReputerWhitelistRequest_messageType +var _ protoreflect.MessageType = fastReflection_BulkAddToGlobalReputerWhitelistRequest_messageType{} + +type fastReflection_BulkAddToGlobalReputerWhitelistRequest_messageType struct{} + +func (x fastReflection_BulkAddToGlobalReputerWhitelistRequest_messageType) Zero() protoreflect.Message { + return (*fastReflection_BulkAddToGlobalReputerWhitelistRequest)(nil) +} +func (x fastReflection_BulkAddToGlobalReputerWhitelistRequest_messageType) New() protoreflect.Message { + return new(fastReflection_BulkAddToGlobalReputerWhitelistRequest) +} +func (x fastReflection_BulkAddToGlobalReputerWhitelistRequest_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_BulkAddToGlobalReputerWhitelistRequest +} + +// Descriptor returns message descriptor, which contains only the protobuf +// type information for the message. +func (x *fastReflection_BulkAddToGlobalReputerWhitelistRequest) Descriptor() protoreflect.MessageDescriptor { + return md_BulkAddToGlobalReputerWhitelistRequest +} + +// Type returns the message type, which encapsulates both Go and protobuf +// type information. If the Go type information is not needed, +// it is recommended that the message descriptor be used instead. +func (x *fastReflection_BulkAddToGlobalReputerWhitelistRequest) Type() protoreflect.MessageType { + return _fastReflection_BulkAddToGlobalReputerWhitelistRequest_messageType +} + +// New returns a newly allocated and mutable empty message. +func (x *fastReflection_BulkAddToGlobalReputerWhitelistRequest) New() protoreflect.Message { + return new(fastReflection_BulkAddToGlobalReputerWhitelistRequest) +} + +// Interface unwraps the message reflection interface and +// returns the underlying ProtoMessage interface. +func (x *fastReflection_BulkAddToGlobalReputerWhitelistRequest) Interface() protoreflect.ProtoMessage { + return (*BulkAddToGlobalReputerWhitelistRequest)(x) +} + +// Range iterates over every populated field in an undefined order, +// calling f for each field descriptor and value encountered. +// Range returns immediately if f returns false. +// While iterating, mutating operations may only be performed +// on the current field descriptor. +func (x *fastReflection_BulkAddToGlobalReputerWhitelistRequest) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { + if x.Sender != "" { + value := protoreflect.ValueOfString(x.Sender) + if !f(fd_BulkAddToGlobalReputerWhitelistRequest_sender, value) { + return + } + } + if len(x.Addresses) != 0 { + value := protoreflect.ValueOfList(&_BulkAddToGlobalReputerWhitelistRequest_2_list{list: &x.Addresses}) + if !f(fd_BulkAddToGlobalReputerWhitelistRequest_addresses, value) { + return + } + } +} + +// Has reports whether a field is populated. +// +// Some fields have the property of nullability where it is possible to +// distinguish between the default value of a field and whether the field +// was explicitly populated with the default value. Singular message fields, +// member fields of a oneof, and proto2 scalar fields are nullable. Such +// fields are populated only if explicitly set. +// +// In other cases (aside from the nullable cases above), +// a proto3 scalar field is populated if it contains a non-zero value, and +// a repeated field is populated if it is non-empty. +func (x *fastReflection_BulkAddToGlobalReputerWhitelistRequest) Has(fd protoreflect.FieldDescriptor) bool { + switch fd.FullName() { + case "emissions.v8.BulkAddToGlobalReputerWhitelistRequest.sender": + return x.Sender != "" + case "emissions.v8.BulkAddToGlobalReputerWhitelistRequest.addresses": + return len(x.Addresses) != 0 + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.BulkAddToGlobalReputerWhitelistRequest")) + } + panic(fmt.Errorf("message emissions.v8.BulkAddToGlobalReputerWhitelistRequest does not contain field %s", fd.FullName())) + } +} + +// Clear clears the field such that a subsequent Has call reports false. +// +// Clearing an extension field clears both the extension type and value +// associated with the given field number. +// +// Clear is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_BulkAddToGlobalReputerWhitelistRequest) Clear(fd protoreflect.FieldDescriptor) { + switch fd.FullName() { + case "emissions.v8.BulkAddToGlobalReputerWhitelistRequest.sender": + x.Sender = "" + case "emissions.v8.BulkAddToGlobalReputerWhitelistRequest.addresses": + x.Addresses = nil + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.BulkAddToGlobalReputerWhitelistRequest")) + } + panic(fmt.Errorf("message emissions.v8.BulkAddToGlobalReputerWhitelistRequest does not contain field %s", fd.FullName())) + } +} + +// Get retrieves the value for a field. +// +// For unpopulated scalars, it returns the default value, where +// the default value of a bytes scalar is guaranteed to be a copy. +// For unpopulated composite types, it returns an empty, read-only view +// of the value; to obtain a mutable reference, use Mutable. +func (x *fastReflection_BulkAddToGlobalReputerWhitelistRequest) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { + switch descriptor.FullName() { + case "emissions.v8.BulkAddToGlobalReputerWhitelistRequest.sender": + value := x.Sender + return protoreflect.ValueOfString(value) + case "emissions.v8.BulkAddToGlobalReputerWhitelistRequest.addresses": + if len(x.Addresses) == 0 { + return protoreflect.ValueOfList(&_BulkAddToGlobalReputerWhitelistRequest_2_list{}) + } + listValue := &_BulkAddToGlobalReputerWhitelistRequest_2_list{list: &x.Addresses} + return protoreflect.ValueOfList(listValue) + default: + if descriptor.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.BulkAddToGlobalReputerWhitelistRequest")) + } + panic(fmt.Errorf("message emissions.v8.BulkAddToGlobalReputerWhitelistRequest does not contain field %s", descriptor.FullName())) + } +} + +// Set stores the value for a field. +// +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType. +// When setting a composite type, it is unspecified whether the stored value +// aliases the source's memory in any way. If the composite value is an +// empty, read-only value, then it panics. +// +// Set is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_BulkAddToGlobalReputerWhitelistRequest) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { + switch fd.FullName() { + case "emissions.v8.BulkAddToGlobalReputerWhitelistRequest.sender": + x.Sender = value.Interface().(string) + case "emissions.v8.BulkAddToGlobalReputerWhitelistRequest.addresses": + lv := value.List() + clv := lv.(*_BulkAddToGlobalReputerWhitelistRequest_2_list) + x.Addresses = *clv.list + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.BulkAddToGlobalReputerWhitelistRequest")) + } + panic(fmt.Errorf("message emissions.v8.BulkAddToGlobalReputerWhitelistRequest does not contain field %s", fd.FullName())) + } +} + +// Mutable returns a mutable reference to a composite type. +// +// If the field is unpopulated, it may allocate a composite value. +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType +// if not already stored. +// It panics if the field does not contain a composite type. +// +// Mutable is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_BulkAddToGlobalReputerWhitelistRequest) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.BulkAddToGlobalReputerWhitelistRequest.addresses": + if x.Addresses == nil { + x.Addresses = []string{} + } + value := &_BulkAddToGlobalReputerWhitelistRequest_2_list{list: &x.Addresses} + return protoreflect.ValueOfList(value) + case "emissions.v8.BulkAddToGlobalReputerWhitelistRequest.sender": + panic(fmt.Errorf("field sender of message emissions.v8.BulkAddToGlobalReputerWhitelistRequest is not mutable")) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.BulkAddToGlobalReputerWhitelistRequest")) + } + panic(fmt.Errorf("message emissions.v8.BulkAddToGlobalReputerWhitelistRequest does not contain field %s", fd.FullName())) + } +} + +// NewField returns a new value that is assignable to the field +// for the given descriptor. For scalars, this returns the default value. +// For lists, maps, and messages, this returns a new, empty, mutable value. +func (x *fastReflection_BulkAddToGlobalReputerWhitelistRequest) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.BulkAddToGlobalReputerWhitelistRequest.sender": + return protoreflect.ValueOfString("") + case "emissions.v8.BulkAddToGlobalReputerWhitelistRequest.addresses": + list := []string{} + return protoreflect.ValueOfList(&_BulkAddToGlobalReputerWhitelistRequest_2_list{list: &list}) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.BulkAddToGlobalReputerWhitelistRequest")) + } + panic(fmt.Errorf("message emissions.v8.BulkAddToGlobalReputerWhitelistRequest does not contain field %s", fd.FullName())) + } +} + +// WhichOneof reports which field within the oneof is populated, +// returning nil if none are populated. +// It panics if the oneof descriptor does not belong to this message. +func (x *fastReflection_BulkAddToGlobalReputerWhitelistRequest) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { + switch d.FullName() { + default: + panic(fmt.Errorf("%s is not a oneof field in emissions.v8.BulkAddToGlobalReputerWhitelistRequest", d.FullName())) + } + panic("unreachable") +} + +// GetUnknown retrieves the entire list of unknown fields. +// The caller may only mutate the contents of the RawFields +// if the mutated bytes are stored back into the message with SetUnknown. +func (x *fastReflection_BulkAddToGlobalReputerWhitelistRequest) GetUnknown() protoreflect.RawFields { + return x.unknownFields +} + +// SetUnknown stores an entire list of unknown fields. +// The raw fields must be syntactically valid according to the wire format. +// An implementation may panic if this is not the case. +// Once stored, the caller must not mutate the content of the RawFields. +// An empty RawFields may be passed to clear the fields. +// +// SetUnknown is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_BulkAddToGlobalReputerWhitelistRequest) SetUnknown(fields protoreflect.RawFields) { + x.unknownFields = fields +} + +// IsValid reports whether the message is valid. +// +// An invalid message is an empty, read-only value. +// +// An invalid message often corresponds to a nil pointer of the concrete +// message type, but the details are implementation dependent. +// Validity is not part of the protobuf data model, and may not +// be preserved in marshaling or other operations. +func (x *fastReflection_BulkAddToGlobalReputerWhitelistRequest) IsValid() bool { + return x != nil +} + +// ProtoMethods returns optional fastReflectionFeature-path implementations of various operations. +// This method may return nil. +// +// The returned methods type is identical to +// "google.golang.org/protobuf/runtime/protoiface".Methods. +// Consult the protoiface package documentation for details. +func (x *fastReflection_BulkAddToGlobalReputerWhitelistRequest) ProtoMethods() *protoiface.Methods { + size := func(input protoiface.SizeInput) protoiface.SizeOutput { + x := input.Message.Interface().(*BulkAddToGlobalReputerWhitelistRequest) + if x == nil { + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: 0, + } + } + options := runtime.SizeInputToOptions(input) + _ = options + var n int + var l int + _ = l + l = len(x.Sender) + if l > 0 { + n += 1 + l + runtime.Sov(uint64(l)) + } + if len(x.Addresses) > 0 { + for _, s := range x.Addresses { + l = len(s) + n += 1 + l + runtime.Sov(uint64(l)) + } + } + if x.unknownFields != nil { + n += len(x.unknownFields) + } + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: n, + } + } + + marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { + x := input.Message.Interface().(*BulkAddToGlobalReputerWhitelistRequest) + if x == nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + options := runtime.MarshalInputToOptions(input) + _ = options + size := options.Size(x) + dAtA := make([]byte, size) + i := len(dAtA) + _ = i + var l int + _ = l + if x.unknownFields != nil { + i -= len(x.unknownFields) + copy(dAtA[i:], x.unknownFields) + } + if len(x.Addresses) > 0 { + for iNdEx := len(x.Addresses) - 1; iNdEx >= 0; iNdEx-- { + i -= len(x.Addresses[iNdEx]) + copy(dAtA[i:], x.Addresses[iNdEx]) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.Addresses[iNdEx]))) + i-- + dAtA[i] = 0x12 + } + } + if len(x.Sender) > 0 { + i -= len(x.Sender) + copy(dAtA[i:], x.Sender) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.Sender))) + i-- + dAtA[i] = 0xa + } + if input.Buf != nil { + input.Buf = append(input.Buf, dAtA...) + } else { + input.Buf = dAtA + } + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { + x := input.Message.Interface().(*BulkAddToGlobalReputerWhitelistRequest) + if x == nil { + return protoiface.UnmarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Flags: input.Flags, + }, nil + } + options := runtime.UnmarshalInputToOptions(input) + _ = options + dAtA := input.Buf + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: BulkAddToGlobalReputerWhitelistRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: BulkAddToGlobalReputerWhitelistRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Sender", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + x.Sender = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Addresses", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + x.Addresses = append(x.Addresses, string(dAtA[iNdEx:postIndex])) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := runtime.Skip(dAtA[iNdEx:]) + if err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if (iNdEx + skippy) > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + if !options.DiscardUnknown { + x.unknownFields = append(x.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + } + iNdEx += skippy + } + } + + if iNdEx > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, nil + } + return &protoiface.Methods{ + NoUnkeyedLiterals: struct{}{}, + Flags: protoiface.SupportMarshalDeterministic | protoiface.SupportUnmarshalDiscardUnknown, + Size: size, + Marshal: marshal, + Unmarshal: unmarshal, + Merge: nil, + CheckInitialized: nil, + } +} + +var ( + md_BulkAddToGlobalReputerWhitelistResponse protoreflect.MessageDescriptor +) + +func init() { + file_emissions_v8_tx_proto_init() + md_BulkAddToGlobalReputerWhitelistResponse = File_emissions_v8_tx_proto.Messages().ByName("BulkAddToGlobalReputerWhitelistResponse") +} + +var _ protoreflect.Message = (*fastReflection_BulkAddToGlobalReputerWhitelistResponse)(nil) + +type fastReflection_BulkAddToGlobalReputerWhitelistResponse BulkAddToGlobalReputerWhitelistResponse + +func (x *BulkAddToGlobalReputerWhitelistResponse) ProtoReflect() protoreflect.Message { + return (*fastReflection_BulkAddToGlobalReputerWhitelistResponse)(x) +} + +func (x *BulkAddToGlobalReputerWhitelistResponse) slowProtoReflect() protoreflect.Message { + mi := &file_emissions_v8_tx_proto_msgTypes[64] + 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) +} + +var _fastReflection_BulkAddToGlobalReputerWhitelistResponse_messageType fastReflection_BulkAddToGlobalReputerWhitelistResponse_messageType +var _ protoreflect.MessageType = fastReflection_BulkAddToGlobalReputerWhitelistResponse_messageType{} + +type fastReflection_BulkAddToGlobalReputerWhitelistResponse_messageType struct{} + +func (x fastReflection_BulkAddToGlobalReputerWhitelistResponse_messageType) Zero() protoreflect.Message { + return (*fastReflection_BulkAddToGlobalReputerWhitelistResponse)(nil) +} +func (x fastReflection_BulkAddToGlobalReputerWhitelistResponse_messageType) New() protoreflect.Message { + return new(fastReflection_BulkAddToGlobalReputerWhitelistResponse) +} +func (x fastReflection_BulkAddToGlobalReputerWhitelistResponse_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_BulkAddToGlobalReputerWhitelistResponse +} + +// Descriptor returns message descriptor, which contains only the protobuf +// type information for the message. +func (x *fastReflection_BulkAddToGlobalReputerWhitelistResponse) Descriptor() protoreflect.MessageDescriptor { + return md_BulkAddToGlobalReputerWhitelistResponse +} + +// Type returns the message type, which encapsulates both Go and protobuf +// type information. If the Go type information is not needed, +// it is recommended that the message descriptor be used instead. +func (x *fastReflection_BulkAddToGlobalReputerWhitelistResponse) Type() protoreflect.MessageType { + return _fastReflection_BulkAddToGlobalReputerWhitelistResponse_messageType +} + +// New returns a newly allocated and mutable empty message. +func (x *fastReflection_BulkAddToGlobalReputerWhitelistResponse) New() protoreflect.Message { + return new(fastReflection_BulkAddToGlobalReputerWhitelistResponse) +} + +// Interface unwraps the message reflection interface and +// returns the underlying ProtoMessage interface. +func (x *fastReflection_BulkAddToGlobalReputerWhitelistResponse) Interface() protoreflect.ProtoMessage { + return (*BulkAddToGlobalReputerWhitelistResponse)(x) +} + +// Range iterates over every populated field in an undefined order, +// calling f for each field descriptor and value encountered. +// Range returns immediately if f returns false. +// While iterating, mutating operations may only be performed +// on the current field descriptor. +func (x *fastReflection_BulkAddToGlobalReputerWhitelistResponse) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { +} + +// Has reports whether a field is populated. +// +// Some fields have the property of nullability where it is possible to +// distinguish between the default value of a field and whether the field +// was explicitly populated with the default value. Singular message fields, +// member fields of a oneof, and proto2 scalar fields are nullable. Such +// fields are populated only if explicitly set. +// +// In other cases (aside from the nullable cases above), +// a proto3 scalar field is populated if it contains a non-zero value, and +// a repeated field is populated if it is non-empty. +func (x *fastReflection_BulkAddToGlobalReputerWhitelistResponse) Has(fd protoreflect.FieldDescriptor) bool { + switch fd.FullName() { + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.BulkAddToGlobalReputerWhitelistResponse")) + } + panic(fmt.Errorf("message emissions.v8.BulkAddToGlobalReputerWhitelistResponse does not contain field %s", fd.FullName())) + } +} + +// Clear clears the field such that a subsequent Has call reports false. +// +// Clearing an extension field clears both the extension type and value +// associated with the given field number. +// +// Clear is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_BulkAddToGlobalReputerWhitelistResponse) Clear(fd protoreflect.FieldDescriptor) { + switch fd.FullName() { + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.BulkAddToGlobalReputerWhitelistResponse")) + } + panic(fmt.Errorf("message emissions.v8.BulkAddToGlobalReputerWhitelistResponse does not contain field %s", fd.FullName())) + } +} + +// Get retrieves the value for a field. +// +// For unpopulated scalars, it returns the default value, where +// the default value of a bytes scalar is guaranteed to be a copy. +// For unpopulated composite types, it returns an empty, read-only view +// of the value; to obtain a mutable reference, use Mutable. +func (x *fastReflection_BulkAddToGlobalReputerWhitelistResponse) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { + switch descriptor.FullName() { + default: + if descriptor.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.BulkAddToGlobalReputerWhitelistResponse")) + } + panic(fmt.Errorf("message emissions.v8.BulkAddToGlobalReputerWhitelistResponse does not contain field %s", descriptor.FullName())) + } +} + +// Set stores the value for a field. +// +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType. +// When setting a composite type, it is unspecified whether the stored value +// aliases the source's memory in any way. If the composite value is an +// empty, read-only value, then it panics. +// +// Set is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_BulkAddToGlobalReputerWhitelistResponse) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { + switch fd.FullName() { + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.BulkAddToGlobalReputerWhitelistResponse")) + } + panic(fmt.Errorf("message emissions.v8.BulkAddToGlobalReputerWhitelistResponse does not contain field %s", fd.FullName())) + } +} + +// Mutable returns a mutable reference to a composite type. +// +// If the field is unpopulated, it may allocate a composite value. +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType +// if not already stored. +// It panics if the field does not contain a composite type. +// +// Mutable is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_BulkAddToGlobalReputerWhitelistResponse) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.BulkAddToGlobalReputerWhitelistResponse")) + } + panic(fmt.Errorf("message emissions.v8.BulkAddToGlobalReputerWhitelistResponse does not contain field %s", fd.FullName())) + } +} + +// NewField returns a new value that is assignable to the field +// for the given descriptor. For scalars, this returns the default value. +// For lists, maps, and messages, this returns a new, empty, mutable value. +func (x *fastReflection_BulkAddToGlobalReputerWhitelistResponse) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.BulkAddToGlobalReputerWhitelistResponse")) + } + panic(fmt.Errorf("message emissions.v8.BulkAddToGlobalReputerWhitelistResponse does not contain field %s", fd.FullName())) + } +} + +// WhichOneof reports which field within the oneof is populated, +// returning nil if none are populated. +// It panics if the oneof descriptor does not belong to this message. +func (x *fastReflection_BulkAddToGlobalReputerWhitelistResponse) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { + switch d.FullName() { + default: + panic(fmt.Errorf("%s is not a oneof field in emissions.v8.BulkAddToGlobalReputerWhitelistResponse", d.FullName())) + } + panic("unreachable") +} + +// GetUnknown retrieves the entire list of unknown fields. +// The caller may only mutate the contents of the RawFields +// if the mutated bytes are stored back into the message with SetUnknown. +func (x *fastReflection_BulkAddToGlobalReputerWhitelistResponse) GetUnknown() protoreflect.RawFields { + return x.unknownFields +} + +// SetUnknown stores an entire list of unknown fields. +// The raw fields must be syntactically valid according to the wire format. +// An implementation may panic if this is not the case. +// Once stored, the caller must not mutate the content of the RawFields. +// An empty RawFields may be passed to clear the fields. +// +// SetUnknown is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_BulkAddToGlobalReputerWhitelistResponse) SetUnknown(fields protoreflect.RawFields) { + x.unknownFields = fields +} + +// IsValid reports whether the message is valid. +// +// An invalid message is an empty, read-only value. +// +// An invalid message often corresponds to a nil pointer of the concrete +// message type, but the details are implementation dependent. +// Validity is not part of the protobuf data model, and may not +// be preserved in marshaling or other operations. +func (x *fastReflection_BulkAddToGlobalReputerWhitelistResponse) IsValid() bool { + return x != nil +} + +// ProtoMethods returns optional fastReflectionFeature-path implementations of various operations. +// This method may return nil. +// +// The returned methods type is identical to +// "google.golang.org/protobuf/runtime/protoiface".Methods. +// Consult the protoiface package documentation for details. +func (x *fastReflection_BulkAddToGlobalReputerWhitelistResponse) ProtoMethods() *protoiface.Methods { + size := func(input protoiface.SizeInput) protoiface.SizeOutput { + x := input.Message.Interface().(*BulkAddToGlobalReputerWhitelistResponse) + if x == nil { + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: 0, + } + } + options := runtime.SizeInputToOptions(input) + _ = options + var n int + var l int + _ = l + if x.unknownFields != nil { + n += len(x.unknownFields) + } + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: n, + } + } + + marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { + x := input.Message.Interface().(*BulkAddToGlobalReputerWhitelistResponse) + if x == nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + options := runtime.MarshalInputToOptions(input) + _ = options + size := options.Size(x) + dAtA := make([]byte, size) + i := len(dAtA) + _ = i + var l int + _ = l + if x.unknownFields != nil { + i -= len(x.unknownFields) + copy(dAtA[i:], x.unknownFields) + } + if input.Buf != nil { + input.Buf = append(input.Buf, dAtA...) + } else { + input.Buf = dAtA + } + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { + x := input.Message.Interface().(*BulkAddToGlobalReputerWhitelistResponse) + if x == nil { + return protoiface.UnmarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Flags: input.Flags, + }, nil + } + options := runtime.UnmarshalInputToOptions(input) + _ = options + dAtA := input.Buf + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: BulkAddToGlobalReputerWhitelistResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: BulkAddToGlobalReputerWhitelistResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + default: + iNdEx = preIndex + skippy, err := runtime.Skip(dAtA[iNdEx:]) + if err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if (iNdEx + skippy) > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + if !options.DiscardUnknown { + x.unknownFields = append(x.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + } + iNdEx += skippy + } + } + + if iNdEx > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, nil + } + return &protoiface.Methods{ + NoUnkeyedLiterals: struct{}{}, + Flags: protoiface.SupportMarshalDeterministic | protoiface.SupportUnmarshalDiscardUnknown, + Size: size, + Marshal: marshal, + Unmarshal: unmarshal, + Merge: nil, + CheckInitialized: nil, + } +} + +var _ protoreflect.List = (*_BulkRemoveFromGlobalReputerWhitelistRequest_2_list)(nil) + +type _BulkRemoveFromGlobalReputerWhitelistRequest_2_list struct { + list *[]string +} + +func (x *_BulkRemoveFromGlobalReputerWhitelistRequest_2_list) Len() int { + if x.list == nil { + return 0 + } + return len(*x.list) +} + +func (x *_BulkRemoveFromGlobalReputerWhitelistRequest_2_list) Get(i int) protoreflect.Value { + return protoreflect.ValueOfString((*x.list)[i]) +} + +func (x *_BulkRemoveFromGlobalReputerWhitelistRequest_2_list) Set(i int, value protoreflect.Value) { + valueUnwrapped := value.String() + concreteValue := valueUnwrapped + (*x.list)[i] = concreteValue +} + +func (x *_BulkRemoveFromGlobalReputerWhitelistRequest_2_list) Append(value protoreflect.Value) { + valueUnwrapped := value.String() + concreteValue := valueUnwrapped + *x.list = append(*x.list, concreteValue) +} + +func (x *_BulkRemoveFromGlobalReputerWhitelistRequest_2_list) AppendMutable() protoreflect.Value { + panic(fmt.Errorf("AppendMutable can not be called on message BulkRemoveFromGlobalReputerWhitelistRequest at list field Addresses as it is not of Message kind")) +} + +func (x *_BulkRemoveFromGlobalReputerWhitelistRequest_2_list) Truncate(n int) { + *x.list = (*x.list)[:n] +} + +func (x *_BulkRemoveFromGlobalReputerWhitelistRequest_2_list) NewElement() protoreflect.Value { + v := "" + return protoreflect.ValueOfString(v) +} + +func (x *_BulkRemoveFromGlobalReputerWhitelistRequest_2_list) IsValid() bool { + return x.list != nil +} + +var ( + md_BulkRemoveFromGlobalReputerWhitelistRequest protoreflect.MessageDescriptor + fd_BulkRemoveFromGlobalReputerWhitelistRequest_sender protoreflect.FieldDescriptor + fd_BulkRemoveFromGlobalReputerWhitelistRequest_addresses protoreflect.FieldDescriptor +) + +func init() { + file_emissions_v8_tx_proto_init() + md_BulkRemoveFromGlobalReputerWhitelistRequest = File_emissions_v8_tx_proto.Messages().ByName("BulkRemoveFromGlobalReputerWhitelistRequest") + fd_BulkRemoveFromGlobalReputerWhitelistRequest_sender = md_BulkRemoveFromGlobalReputerWhitelistRequest.Fields().ByName("sender") + fd_BulkRemoveFromGlobalReputerWhitelistRequest_addresses = md_BulkRemoveFromGlobalReputerWhitelistRequest.Fields().ByName("addresses") +} + +var _ protoreflect.Message = (*fastReflection_BulkRemoveFromGlobalReputerWhitelistRequest)(nil) + +type fastReflection_BulkRemoveFromGlobalReputerWhitelistRequest BulkRemoveFromGlobalReputerWhitelistRequest + +func (x *BulkRemoveFromGlobalReputerWhitelistRequest) ProtoReflect() protoreflect.Message { + return (*fastReflection_BulkRemoveFromGlobalReputerWhitelistRequest)(x) +} + +func (x *BulkRemoveFromGlobalReputerWhitelistRequest) slowProtoReflect() protoreflect.Message { + mi := &file_emissions_v8_tx_proto_msgTypes[65] + 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) +} + +var _fastReflection_BulkRemoveFromGlobalReputerWhitelistRequest_messageType fastReflection_BulkRemoveFromGlobalReputerWhitelistRequest_messageType +var _ protoreflect.MessageType = fastReflection_BulkRemoveFromGlobalReputerWhitelistRequest_messageType{} + +type fastReflection_BulkRemoveFromGlobalReputerWhitelistRequest_messageType struct{} + +func (x fastReflection_BulkRemoveFromGlobalReputerWhitelistRequest_messageType) Zero() protoreflect.Message { + return (*fastReflection_BulkRemoveFromGlobalReputerWhitelistRequest)(nil) +} +func (x fastReflection_BulkRemoveFromGlobalReputerWhitelistRequest_messageType) New() protoreflect.Message { + return new(fastReflection_BulkRemoveFromGlobalReputerWhitelistRequest) +} +func (x fastReflection_BulkRemoveFromGlobalReputerWhitelistRequest_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_BulkRemoveFromGlobalReputerWhitelistRequest +} + +// Descriptor returns message descriptor, which contains only the protobuf +// type information for the message. +func (x *fastReflection_BulkRemoveFromGlobalReputerWhitelistRequest) Descriptor() protoreflect.MessageDescriptor { + return md_BulkRemoveFromGlobalReputerWhitelistRequest +} + +// Type returns the message type, which encapsulates both Go and protobuf +// type information. If the Go type information is not needed, +// it is recommended that the message descriptor be used instead. +func (x *fastReflection_BulkRemoveFromGlobalReputerWhitelistRequest) Type() protoreflect.MessageType { + return _fastReflection_BulkRemoveFromGlobalReputerWhitelistRequest_messageType +} + +// New returns a newly allocated and mutable empty message. +func (x *fastReflection_BulkRemoveFromGlobalReputerWhitelistRequest) New() protoreflect.Message { + return new(fastReflection_BulkRemoveFromGlobalReputerWhitelistRequest) +} + +// Interface unwraps the message reflection interface and +// returns the underlying ProtoMessage interface. +func (x *fastReflection_BulkRemoveFromGlobalReputerWhitelistRequest) Interface() protoreflect.ProtoMessage { + return (*BulkRemoveFromGlobalReputerWhitelistRequest)(x) +} + +// Range iterates over every populated field in an undefined order, +// calling f for each field descriptor and value encountered. +// Range returns immediately if f returns false. +// While iterating, mutating operations may only be performed +// on the current field descriptor. +func (x *fastReflection_BulkRemoveFromGlobalReputerWhitelistRequest) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { + if x.Sender != "" { + value := protoreflect.ValueOfString(x.Sender) + if !f(fd_BulkRemoveFromGlobalReputerWhitelistRequest_sender, value) { + return + } + } + if len(x.Addresses) != 0 { + value := protoreflect.ValueOfList(&_BulkRemoveFromGlobalReputerWhitelistRequest_2_list{list: &x.Addresses}) + if !f(fd_BulkRemoveFromGlobalReputerWhitelistRequest_addresses, value) { + return + } + } +} + +// Has reports whether a field is populated. +// +// Some fields have the property of nullability where it is possible to +// distinguish between the default value of a field and whether the field +// was explicitly populated with the default value. Singular message fields, +// member fields of a oneof, and proto2 scalar fields are nullable. Such +// fields are populated only if explicitly set. +// +// In other cases (aside from the nullable cases above), +// a proto3 scalar field is populated if it contains a non-zero value, and +// a repeated field is populated if it is non-empty. +func (x *fastReflection_BulkRemoveFromGlobalReputerWhitelistRequest) Has(fd protoreflect.FieldDescriptor) bool { + switch fd.FullName() { + case "emissions.v8.BulkRemoveFromGlobalReputerWhitelistRequest.sender": + return x.Sender != "" + case "emissions.v8.BulkRemoveFromGlobalReputerWhitelistRequest.addresses": + return len(x.Addresses) != 0 + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.BulkRemoveFromGlobalReputerWhitelistRequest")) + } + panic(fmt.Errorf("message emissions.v8.BulkRemoveFromGlobalReputerWhitelistRequest does not contain field %s", fd.FullName())) + } +} + +// Clear clears the field such that a subsequent Has call reports false. +// +// Clearing an extension field clears both the extension type and value +// associated with the given field number. +// +// Clear is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_BulkRemoveFromGlobalReputerWhitelistRequest) Clear(fd protoreflect.FieldDescriptor) { + switch fd.FullName() { + case "emissions.v8.BulkRemoveFromGlobalReputerWhitelistRequest.sender": + x.Sender = "" + case "emissions.v8.BulkRemoveFromGlobalReputerWhitelistRequest.addresses": + x.Addresses = nil + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.BulkRemoveFromGlobalReputerWhitelistRequest")) + } + panic(fmt.Errorf("message emissions.v8.BulkRemoveFromGlobalReputerWhitelistRequest does not contain field %s", fd.FullName())) + } +} + +// Get retrieves the value for a field. +// +// For unpopulated scalars, it returns the default value, where +// the default value of a bytes scalar is guaranteed to be a copy. +// For unpopulated composite types, it returns an empty, read-only view +// of the value; to obtain a mutable reference, use Mutable. +func (x *fastReflection_BulkRemoveFromGlobalReputerWhitelistRequest) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { + switch descriptor.FullName() { + case "emissions.v8.BulkRemoveFromGlobalReputerWhitelistRequest.sender": + value := x.Sender + return protoreflect.ValueOfString(value) + case "emissions.v8.BulkRemoveFromGlobalReputerWhitelistRequest.addresses": + if len(x.Addresses) == 0 { + return protoreflect.ValueOfList(&_BulkRemoveFromGlobalReputerWhitelistRequest_2_list{}) + } + listValue := &_BulkRemoveFromGlobalReputerWhitelistRequest_2_list{list: &x.Addresses} + return protoreflect.ValueOfList(listValue) + default: + if descriptor.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.BulkRemoveFromGlobalReputerWhitelistRequest")) + } + panic(fmt.Errorf("message emissions.v8.BulkRemoveFromGlobalReputerWhitelistRequest does not contain field %s", descriptor.FullName())) + } +} + +// Set stores the value for a field. +// +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType. +// When setting a composite type, it is unspecified whether the stored value +// aliases the source's memory in any way. If the composite value is an +// empty, read-only value, then it panics. +// +// Set is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_BulkRemoveFromGlobalReputerWhitelistRequest) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { + switch fd.FullName() { + case "emissions.v8.BulkRemoveFromGlobalReputerWhitelistRequest.sender": + x.Sender = value.Interface().(string) + case "emissions.v8.BulkRemoveFromGlobalReputerWhitelistRequest.addresses": + lv := value.List() + clv := lv.(*_BulkRemoveFromGlobalReputerWhitelistRequest_2_list) + x.Addresses = *clv.list + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.BulkRemoveFromGlobalReputerWhitelistRequest")) + } + panic(fmt.Errorf("message emissions.v8.BulkRemoveFromGlobalReputerWhitelistRequest does not contain field %s", fd.FullName())) + } +} + +// Mutable returns a mutable reference to a composite type. +// +// If the field is unpopulated, it may allocate a composite value. +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType +// if not already stored. +// It panics if the field does not contain a composite type. +// +// Mutable is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_BulkRemoveFromGlobalReputerWhitelistRequest) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.BulkRemoveFromGlobalReputerWhitelistRequest.addresses": + if x.Addresses == nil { + x.Addresses = []string{} + } + value := &_BulkRemoveFromGlobalReputerWhitelistRequest_2_list{list: &x.Addresses} + return protoreflect.ValueOfList(value) + case "emissions.v8.BulkRemoveFromGlobalReputerWhitelistRequest.sender": + panic(fmt.Errorf("field sender of message emissions.v8.BulkRemoveFromGlobalReputerWhitelistRequest is not mutable")) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.BulkRemoveFromGlobalReputerWhitelistRequest")) + } + panic(fmt.Errorf("message emissions.v8.BulkRemoveFromGlobalReputerWhitelistRequest does not contain field %s", fd.FullName())) + } +} + +// NewField returns a new value that is assignable to the field +// for the given descriptor. For scalars, this returns the default value. +// For lists, maps, and messages, this returns a new, empty, mutable value. +func (x *fastReflection_BulkRemoveFromGlobalReputerWhitelistRequest) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.BulkRemoveFromGlobalReputerWhitelistRequest.sender": + return protoreflect.ValueOfString("") + case "emissions.v8.BulkRemoveFromGlobalReputerWhitelistRequest.addresses": + list := []string{} + return protoreflect.ValueOfList(&_BulkRemoveFromGlobalReputerWhitelistRequest_2_list{list: &list}) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.BulkRemoveFromGlobalReputerWhitelistRequest")) + } + panic(fmt.Errorf("message emissions.v8.BulkRemoveFromGlobalReputerWhitelistRequest does not contain field %s", fd.FullName())) + } +} + +// WhichOneof reports which field within the oneof is populated, +// returning nil if none are populated. +// It panics if the oneof descriptor does not belong to this message. +func (x *fastReflection_BulkRemoveFromGlobalReputerWhitelistRequest) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { + switch d.FullName() { + default: + panic(fmt.Errorf("%s is not a oneof field in emissions.v8.BulkRemoveFromGlobalReputerWhitelistRequest", d.FullName())) + } + panic("unreachable") +} + +// GetUnknown retrieves the entire list of unknown fields. +// The caller may only mutate the contents of the RawFields +// if the mutated bytes are stored back into the message with SetUnknown. +func (x *fastReflection_BulkRemoveFromGlobalReputerWhitelistRequest) GetUnknown() protoreflect.RawFields { + return x.unknownFields +} + +// SetUnknown stores an entire list of unknown fields. +// The raw fields must be syntactically valid according to the wire format. +// An implementation may panic if this is not the case. +// Once stored, the caller must not mutate the content of the RawFields. +// An empty RawFields may be passed to clear the fields. +// +// SetUnknown is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_BulkRemoveFromGlobalReputerWhitelistRequest) SetUnknown(fields protoreflect.RawFields) { + x.unknownFields = fields +} + +// IsValid reports whether the message is valid. +// +// An invalid message is an empty, read-only value. +// +// An invalid message often corresponds to a nil pointer of the concrete +// message type, but the details are implementation dependent. +// Validity is not part of the protobuf data model, and may not +// be preserved in marshaling or other operations. +func (x *fastReflection_BulkRemoveFromGlobalReputerWhitelistRequest) IsValid() bool { + return x != nil +} + +// ProtoMethods returns optional fastReflectionFeature-path implementations of various operations. +// This method may return nil. +// +// The returned methods type is identical to +// "google.golang.org/protobuf/runtime/protoiface".Methods. +// Consult the protoiface package documentation for details. +func (x *fastReflection_BulkRemoveFromGlobalReputerWhitelistRequest) ProtoMethods() *protoiface.Methods { + size := func(input protoiface.SizeInput) protoiface.SizeOutput { + x := input.Message.Interface().(*BulkRemoveFromGlobalReputerWhitelistRequest) + if x == nil { + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: 0, + } + } + options := runtime.SizeInputToOptions(input) + _ = options + var n int + var l int + _ = l + l = len(x.Sender) + if l > 0 { + n += 1 + l + runtime.Sov(uint64(l)) + } + if len(x.Addresses) > 0 { + for _, s := range x.Addresses { + l = len(s) + n += 1 + l + runtime.Sov(uint64(l)) + } + } + if x.unknownFields != nil { + n += len(x.unknownFields) + } + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: n, + } + } + + marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { + x := input.Message.Interface().(*BulkRemoveFromGlobalReputerWhitelistRequest) + if x == nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + options := runtime.MarshalInputToOptions(input) + _ = options + size := options.Size(x) + dAtA := make([]byte, size) + i := len(dAtA) + _ = i + var l int + _ = l + if x.unknownFields != nil { + i -= len(x.unknownFields) + copy(dAtA[i:], x.unknownFields) + } + if len(x.Addresses) > 0 { + for iNdEx := len(x.Addresses) - 1; iNdEx >= 0; iNdEx-- { + i -= len(x.Addresses[iNdEx]) + copy(dAtA[i:], x.Addresses[iNdEx]) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.Addresses[iNdEx]))) + i-- + dAtA[i] = 0x12 + } + } + if len(x.Sender) > 0 { + i -= len(x.Sender) + copy(dAtA[i:], x.Sender) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.Sender))) + i-- + dAtA[i] = 0xa + } + if input.Buf != nil { + input.Buf = append(input.Buf, dAtA...) + } else { + input.Buf = dAtA + } + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { + x := input.Message.Interface().(*BulkRemoveFromGlobalReputerWhitelistRequest) + if x == nil { + return protoiface.UnmarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Flags: input.Flags, + }, nil + } + options := runtime.UnmarshalInputToOptions(input) + _ = options + dAtA := input.Buf + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: BulkRemoveFromGlobalReputerWhitelistRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: BulkRemoveFromGlobalReputerWhitelistRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Sender", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + x.Sender = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Addresses", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + x.Addresses = append(x.Addresses, string(dAtA[iNdEx:postIndex])) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := runtime.Skip(dAtA[iNdEx:]) + if err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if (iNdEx + skippy) > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + if !options.DiscardUnknown { + x.unknownFields = append(x.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + } + iNdEx += skippy + } + } + + if iNdEx > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, nil + } + return &protoiface.Methods{ + NoUnkeyedLiterals: struct{}{}, + Flags: protoiface.SupportMarshalDeterministic | protoiface.SupportUnmarshalDiscardUnknown, + Size: size, + Marshal: marshal, + Unmarshal: unmarshal, + Merge: nil, + CheckInitialized: nil, + } +} + +var ( + md_BulkRemoveFromGlobalReputerWhitelistResponse protoreflect.MessageDescriptor +) + +func init() { + file_emissions_v8_tx_proto_init() + md_BulkRemoveFromGlobalReputerWhitelistResponse = File_emissions_v8_tx_proto.Messages().ByName("BulkRemoveFromGlobalReputerWhitelistResponse") +} + +var _ protoreflect.Message = (*fastReflection_BulkRemoveFromGlobalReputerWhitelistResponse)(nil) + +type fastReflection_BulkRemoveFromGlobalReputerWhitelistResponse BulkRemoveFromGlobalReputerWhitelistResponse + +func (x *BulkRemoveFromGlobalReputerWhitelistResponse) ProtoReflect() protoreflect.Message { + return (*fastReflection_BulkRemoveFromGlobalReputerWhitelistResponse)(x) +} + +func (x *BulkRemoveFromGlobalReputerWhitelistResponse) slowProtoReflect() protoreflect.Message { + mi := &file_emissions_v8_tx_proto_msgTypes[66] + 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) +} + +var _fastReflection_BulkRemoveFromGlobalReputerWhitelistResponse_messageType fastReflection_BulkRemoveFromGlobalReputerWhitelistResponse_messageType +var _ protoreflect.MessageType = fastReflection_BulkRemoveFromGlobalReputerWhitelistResponse_messageType{} + +type fastReflection_BulkRemoveFromGlobalReputerWhitelistResponse_messageType struct{} + +func (x fastReflection_BulkRemoveFromGlobalReputerWhitelistResponse_messageType) Zero() protoreflect.Message { + return (*fastReflection_BulkRemoveFromGlobalReputerWhitelistResponse)(nil) +} +func (x fastReflection_BulkRemoveFromGlobalReputerWhitelistResponse_messageType) New() protoreflect.Message { + return new(fastReflection_BulkRemoveFromGlobalReputerWhitelistResponse) +} +func (x fastReflection_BulkRemoveFromGlobalReputerWhitelistResponse_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_BulkRemoveFromGlobalReputerWhitelistResponse +} + +// Descriptor returns message descriptor, which contains only the protobuf +// type information for the message. +func (x *fastReflection_BulkRemoveFromGlobalReputerWhitelistResponse) Descriptor() protoreflect.MessageDescriptor { + return md_BulkRemoveFromGlobalReputerWhitelistResponse +} + +// Type returns the message type, which encapsulates both Go and protobuf +// type information. If the Go type information is not needed, +// it is recommended that the message descriptor be used instead. +func (x *fastReflection_BulkRemoveFromGlobalReputerWhitelistResponse) Type() protoreflect.MessageType { + return _fastReflection_BulkRemoveFromGlobalReputerWhitelistResponse_messageType +} + +// New returns a newly allocated and mutable empty message. +func (x *fastReflection_BulkRemoveFromGlobalReputerWhitelistResponse) New() protoreflect.Message { + return new(fastReflection_BulkRemoveFromGlobalReputerWhitelistResponse) +} + +// Interface unwraps the message reflection interface and +// returns the underlying ProtoMessage interface. +func (x *fastReflection_BulkRemoveFromGlobalReputerWhitelistResponse) Interface() protoreflect.ProtoMessage { + return (*BulkRemoveFromGlobalReputerWhitelistResponse)(x) +} + +// Range iterates over every populated field in an undefined order, +// calling f for each field descriptor and value encountered. +// Range returns immediately if f returns false. +// While iterating, mutating operations may only be performed +// on the current field descriptor. +func (x *fastReflection_BulkRemoveFromGlobalReputerWhitelistResponse) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { +} + +// Has reports whether a field is populated. +// +// Some fields have the property of nullability where it is possible to +// distinguish between the default value of a field and whether the field +// was explicitly populated with the default value. Singular message fields, +// member fields of a oneof, and proto2 scalar fields are nullable. Such +// fields are populated only if explicitly set. +// +// In other cases (aside from the nullable cases above), +// a proto3 scalar field is populated if it contains a non-zero value, and +// a repeated field is populated if it is non-empty. +func (x *fastReflection_BulkRemoveFromGlobalReputerWhitelistResponse) Has(fd protoreflect.FieldDescriptor) bool { + switch fd.FullName() { + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.BulkRemoveFromGlobalReputerWhitelistResponse")) + } + panic(fmt.Errorf("message emissions.v8.BulkRemoveFromGlobalReputerWhitelistResponse does not contain field %s", fd.FullName())) + } +} + +// Clear clears the field such that a subsequent Has call reports false. +// +// Clearing an extension field clears both the extension type and value +// associated with the given field number. +// +// Clear is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_BulkRemoveFromGlobalReputerWhitelistResponse) Clear(fd protoreflect.FieldDescriptor) { + switch fd.FullName() { + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.BulkRemoveFromGlobalReputerWhitelistResponse")) + } + panic(fmt.Errorf("message emissions.v8.BulkRemoveFromGlobalReputerWhitelistResponse does not contain field %s", fd.FullName())) + } +} + +// Get retrieves the value for a field. +// +// For unpopulated scalars, it returns the default value, where +// the default value of a bytes scalar is guaranteed to be a copy. +// For unpopulated composite types, it returns an empty, read-only view +// of the value; to obtain a mutable reference, use Mutable. +func (x *fastReflection_BulkRemoveFromGlobalReputerWhitelistResponse) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { + switch descriptor.FullName() { + default: + if descriptor.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.BulkRemoveFromGlobalReputerWhitelistResponse")) + } + panic(fmt.Errorf("message emissions.v8.BulkRemoveFromGlobalReputerWhitelistResponse does not contain field %s", descriptor.FullName())) + } +} + +// Set stores the value for a field. +// +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType. +// When setting a composite type, it is unspecified whether the stored value +// aliases the source's memory in any way. If the composite value is an +// empty, read-only value, then it panics. +// +// Set is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_BulkRemoveFromGlobalReputerWhitelistResponse) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { + switch fd.FullName() { + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.BulkRemoveFromGlobalReputerWhitelistResponse")) + } + panic(fmt.Errorf("message emissions.v8.BulkRemoveFromGlobalReputerWhitelistResponse does not contain field %s", fd.FullName())) + } +} + +// Mutable returns a mutable reference to a composite type. +// +// If the field is unpopulated, it may allocate a composite value. +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType +// if not already stored. +// It panics if the field does not contain a composite type. +// +// Mutable is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_BulkRemoveFromGlobalReputerWhitelistResponse) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.BulkRemoveFromGlobalReputerWhitelistResponse")) + } + panic(fmt.Errorf("message emissions.v8.BulkRemoveFromGlobalReputerWhitelistResponse does not contain field %s", fd.FullName())) + } +} + +// NewField returns a new value that is assignable to the field +// for the given descriptor. For scalars, this returns the default value. +// For lists, maps, and messages, this returns a new, empty, mutable value. +func (x *fastReflection_BulkRemoveFromGlobalReputerWhitelistResponse) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.BulkRemoveFromGlobalReputerWhitelistResponse")) + } + panic(fmt.Errorf("message emissions.v8.BulkRemoveFromGlobalReputerWhitelistResponse does not contain field %s", fd.FullName())) + } +} + +// WhichOneof reports which field within the oneof is populated, +// returning nil if none are populated. +// It panics if the oneof descriptor does not belong to this message. +func (x *fastReflection_BulkRemoveFromGlobalReputerWhitelistResponse) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { + switch d.FullName() { + default: + panic(fmt.Errorf("%s is not a oneof field in emissions.v8.BulkRemoveFromGlobalReputerWhitelistResponse", d.FullName())) + } + panic("unreachable") +} + +// GetUnknown retrieves the entire list of unknown fields. +// The caller may only mutate the contents of the RawFields +// if the mutated bytes are stored back into the message with SetUnknown. +func (x *fastReflection_BulkRemoveFromGlobalReputerWhitelistResponse) GetUnknown() protoreflect.RawFields { + return x.unknownFields +} + +// SetUnknown stores an entire list of unknown fields. +// The raw fields must be syntactically valid according to the wire format. +// An implementation may panic if this is not the case. +// Once stored, the caller must not mutate the content of the RawFields. +// An empty RawFields may be passed to clear the fields. +// +// SetUnknown is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_BulkRemoveFromGlobalReputerWhitelistResponse) SetUnknown(fields protoreflect.RawFields) { + x.unknownFields = fields +} + +// IsValid reports whether the message is valid. +// +// An invalid message is an empty, read-only value. +// +// An invalid message often corresponds to a nil pointer of the concrete +// message type, but the details are implementation dependent. +// Validity is not part of the protobuf data model, and may not +// be preserved in marshaling or other operations. +func (x *fastReflection_BulkRemoveFromGlobalReputerWhitelistResponse) IsValid() bool { + return x != nil +} + +// ProtoMethods returns optional fastReflectionFeature-path implementations of various operations. +// This method may return nil. +// +// The returned methods type is identical to +// "google.golang.org/protobuf/runtime/protoiface".Methods. +// Consult the protoiface package documentation for details. +func (x *fastReflection_BulkRemoveFromGlobalReputerWhitelistResponse) ProtoMethods() *protoiface.Methods { + size := func(input protoiface.SizeInput) protoiface.SizeOutput { + x := input.Message.Interface().(*BulkRemoveFromGlobalReputerWhitelistResponse) + if x == nil { + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: 0, + } + } + options := runtime.SizeInputToOptions(input) + _ = options + var n int + var l int + _ = l + if x.unknownFields != nil { + n += len(x.unknownFields) + } + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: n, + } + } + + marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { + x := input.Message.Interface().(*BulkRemoveFromGlobalReputerWhitelistResponse) + if x == nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + options := runtime.MarshalInputToOptions(input) + _ = options + size := options.Size(x) + dAtA := make([]byte, size) + i := len(dAtA) + _ = i + var l int + _ = l + if x.unknownFields != nil { + i -= len(x.unknownFields) + copy(dAtA[i:], x.unknownFields) + } + if input.Buf != nil { + input.Buf = append(input.Buf, dAtA...) + } else { + input.Buf = dAtA + } + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { + x := input.Message.Interface().(*BulkRemoveFromGlobalReputerWhitelistResponse) + if x == nil { + return protoiface.UnmarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Flags: input.Flags, + }, nil + } + options := runtime.UnmarshalInputToOptions(input) + _ = options + dAtA := input.Buf + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: BulkRemoveFromGlobalReputerWhitelistResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: BulkRemoveFromGlobalReputerWhitelistResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + default: + iNdEx = preIndex + skippy, err := runtime.Skip(dAtA[iNdEx:]) + if err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if (iNdEx + skippy) > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + if !options.DiscardUnknown { + x.unknownFields = append(x.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + } + iNdEx += skippy + } + } + + if iNdEx > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, nil + } + return &protoiface.Methods{ + NoUnkeyedLiterals: struct{}{}, + Flags: protoiface.SupportMarshalDeterministic | protoiface.SupportUnmarshalDiscardUnknown, + Size: size, + Marshal: marshal, + Unmarshal: unmarshal, + Merge: nil, + CheckInitialized: nil, + } +} + +var _ protoreflect.List = (*_BulkAddToTopicWorkerWhitelistRequest_2_list)(nil) + +type _BulkAddToTopicWorkerWhitelistRequest_2_list struct { + list *[]string +} + +func (x *_BulkAddToTopicWorkerWhitelistRequest_2_list) Len() int { + if x.list == nil { + return 0 + } + return len(*x.list) +} + +func (x *_BulkAddToTopicWorkerWhitelistRequest_2_list) Get(i int) protoreflect.Value { + return protoreflect.ValueOfString((*x.list)[i]) +} + +func (x *_BulkAddToTopicWorkerWhitelistRequest_2_list) Set(i int, value protoreflect.Value) { + valueUnwrapped := value.String() + concreteValue := valueUnwrapped + (*x.list)[i] = concreteValue +} + +func (x *_BulkAddToTopicWorkerWhitelistRequest_2_list) Append(value protoreflect.Value) { + valueUnwrapped := value.String() + concreteValue := valueUnwrapped + *x.list = append(*x.list, concreteValue) +} + +func (x *_BulkAddToTopicWorkerWhitelistRequest_2_list) AppendMutable() protoreflect.Value { + panic(fmt.Errorf("AppendMutable can not be called on message BulkAddToTopicWorkerWhitelistRequest at list field Addresses as it is not of Message kind")) +} + +func (x *_BulkAddToTopicWorkerWhitelistRequest_2_list) Truncate(n int) { + *x.list = (*x.list)[:n] +} + +func (x *_BulkAddToTopicWorkerWhitelistRequest_2_list) NewElement() protoreflect.Value { + v := "" + return protoreflect.ValueOfString(v) +} + +func (x *_BulkAddToTopicWorkerWhitelistRequest_2_list) IsValid() bool { + return x.list != nil +} + +var ( + md_BulkAddToTopicWorkerWhitelistRequest protoreflect.MessageDescriptor + fd_BulkAddToTopicWorkerWhitelistRequest_sender protoreflect.FieldDescriptor + fd_BulkAddToTopicWorkerWhitelistRequest_addresses protoreflect.FieldDescriptor + fd_BulkAddToTopicWorkerWhitelistRequest_topic_id protoreflect.FieldDescriptor +) + +func init() { + file_emissions_v8_tx_proto_init() + md_BulkAddToTopicWorkerWhitelistRequest = File_emissions_v8_tx_proto.Messages().ByName("BulkAddToTopicWorkerWhitelistRequest") + fd_BulkAddToTopicWorkerWhitelistRequest_sender = md_BulkAddToTopicWorkerWhitelistRequest.Fields().ByName("sender") + fd_BulkAddToTopicWorkerWhitelistRequest_addresses = md_BulkAddToTopicWorkerWhitelistRequest.Fields().ByName("addresses") + fd_BulkAddToTopicWorkerWhitelistRequest_topic_id = md_BulkAddToTopicWorkerWhitelistRequest.Fields().ByName("topic_id") +} + +var _ protoreflect.Message = (*fastReflection_BulkAddToTopicWorkerWhitelistRequest)(nil) + +type fastReflection_BulkAddToTopicWorkerWhitelistRequest BulkAddToTopicWorkerWhitelistRequest + +func (x *BulkAddToTopicWorkerWhitelistRequest) ProtoReflect() protoreflect.Message { + return (*fastReflection_BulkAddToTopicWorkerWhitelistRequest)(x) +} + +func (x *BulkAddToTopicWorkerWhitelistRequest) slowProtoReflect() protoreflect.Message { + mi := &file_emissions_v8_tx_proto_msgTypes[67] + 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) +} + +var _fastReflection_BulkAddToTopicWorkerWhitelistRequest_messageType fastReflection_BulkAddToTopicWorkerWhitelistRequest_messageType +var _ protoreflect.MessageType = fastReflection_BulkAddToTopicWorkerWhitelistRequest_messageType{} + +type fastReflection_BulkAddToTopicWorkerWhitelistRequest_messageType struct{} + +func (x fastReflection_BulkAddToTopicWorkerWhitelistRequest_messageType) Zero() protoreflect.Message { + return (*fastReflection_BulkAddToTopicWorkerWhitelistRequest)(nil) +} +func (x fastReflection_BulkAddToTopicWorkerWhitelistRequest_messageType) New() protoreflect.Message { + return new(fastReflection_BulkAddToTopicWorkerWhitelistRequest) +} +func (x fastReflection_BulkAddToTopicWorkerWhitelistRequest_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_BulkAddToTopicWorkerWhitelistRequest +} + +// Descriptor returns message descriptor, which contains only the protobuf +// type information for the message. +func (x *fastReflection_BulkAddToTopicWorkerWhitelistRequest) Descriptor() protoreflect.MessageDescriptor { + return md_BulkAddToTopicWorkerWhitelistRequest +} + +// Type returns the message type, which encapsulates both Go and protobuf +// type information. If the Go type information is not needed, +// it is recommended that the message descriptor be used instead. +func (x *fastReflection_BulkAddToTopicWorkerWhitelistRequest) Type() protoreflect.MessageType { + return _fastReflection_BulkAddToTopicWorkerWhitelistRequest_messageType +} + +// New returns a newly allocated and mutable empty message. +func (x *fastReflection_BulkAddToTopicWorkerWhitelistRequest) New() protoreflect.Message { + return new(fastReflection_BulkAddToTopicWorkerWhitelistRequest) +} + +// Interface unwraps the message reflection interface and +// returns the underlying ProtoMessage interface. +func (x *fastReflection_BulkAddToTopicWorkerWhitelistRequest) Interface() protoreflect.ProtoMessage { + return (*BulkAddToTopicWorkerWhitelistRequest)(x) +} + +// Range iterates over every populated field in an undefined order, +// calling f for each field descriptor and value encountered. +// Range returns immediately if f returns false. +// While iterating, mutating operations may only be performed +// on the current field descriptor. +func (x *fastReflection_BulkAddToTopicWorkerWhitelistRequest) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { + if x.Sender != "" { + value := protoreflect.ValueOfString(x.Sender) + if !f(fd_BulkAddToTopicWorkerWhitelistRequest_sender, value) { + return + } + } + if len(x.Addresses) != 0 { + value := protoreflect.ValueOfList(&_BulkAddToTopicWorkerWhitelistRequest_2_list{list: &x.Addresses}) + if !f(fd_BulkAddToTopicWorkerWhitelistRequest_addresses, value) { + return + } + } + if x.TopicId != uint64(0) { + value := protoreflect.ValueOfUint64(x.TopicId) + if !f(fd_BulkAddToTopicWorkerWhitelistRequest_topic_id, value) { + return + } + } +} + +// Has reports whether a field is populated. +// +// Some fields have the property of nullability where it is possible to +// distinguish between the default value of a field and whether the field +// was explicitly populated with the default value. Singular message fields, +// member fields of a oneof, and proto2 scalar fields are nullable. Such +// fields are populated only if explicitly set. +// +// In other cases (aside from the nullable cases above), +// a proto3 scalar field is populated if it contains a non-zero value, and +// a repeated field is populated if it is non-empty. +func (x *fastReflection_BulkAddToTopicWorkerWhitelistRequest) Has(fd protoreflect.FieldDescriptor) bool { + switch fd.FullName() { + case "emissions.v8.BulkAddToTopicWorkerWhitelistRequest.sender": + return x.Sender != "" + case "emissions.v8.BulkAddToTopicWorkerWhitelistRequest.addresses": + return len(x.Addresses) != 0 + case "emissions.v8.BulkAddToTopicWorkerWhitelistRequest.topic_id": + return x.TopicId != uint64(0) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.BulkAddToTopicWorkerWhitelistRequest")) + } + panic(fmt.Errorf("message emissions.v8.BulkAddToTopicWorkerWhitelistRequest does not contain field %s", fd.FullName())) + } +} + +// Clear clears the field such that a subsequent Has call reports false. +// +// Clearing an extension field clears both the extension type and value +// associated with the given field number. +// +// Clear is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_BulkAddToTopicWorkerWhitelistRequest) Clear(fd protoreflect.FieldDescriptor) { + switch fd.FullName() { + case "emissions.v8.BulkAddToTopicWorkerWhitelistRequest.sender": + x.Sender = "" + case "emissions.v8.BulkAddToTopicWorkerWhitelistRequest.addresses": + x.Addresses = nil + case "emissions.v8.BulkAddToTopicWorkerWhitelistRequest.topic_id": + x.TopicId = uint64(0) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.BulkAddToTopicWorkerWhitelistRequest")) + } + panic(fmt.Errorf("message emissions.v8.BulkAddToTopicWorkerWhitelistRequest does not contain field %s", fd.FullName())) + } +} + +// Get retrieves the value for a field. +// +// For unpopulated scalars, it returns the default value, where +// the default value of a bytes scalar is guaranteed to be a copy. +// For unpopulated composite types, it returns an empty, read-only view +// of the value; to obtain a mutable reference, use Mutable. +func (x *fastReflection_BulkAddToTopicWorkerWhitelistRequest) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { + switch descriptor.FullName() { + case "emissions.v8.BulkAddToTopicWorkerWhitelistRequest.sender": + value := x.Sender + return protoreflect.ValueOfString(value) + case "emissions.v8.BulkAddToTopicWorkerWhitelistRequest.addresses": + if len(x.Addresses) == 0 { + return protoreflect.ValueOfList(&_BulkAddToTopicWorkerWhitelistRequest_2_list{}) + } + listValue := &_BulkAddToTopicWorkerWhitelistRequest_2_list{list: &x.Addresses} + return protoreflect.ValueOfList(listValue) + case "emissions.v8.BulkAddToTopicWorkerWhitelistRequest.topic_id": + value := x.TopicId + return protoreflect.ValueOfUint64(value) + default: + if descriptor.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.BulkAddToTopicWorkerWhitelistRequest")) + } + panic(fmt.Errorf("message emissions.v8.BulkAddToTopicWorkerWhitelistRequest does not contain field %s", descriptor.FullName())) + } +} + +// Set stores the value for a field. +// +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType. +// When setting a composite type, it is unspecified whether the stored value +// aliases the source's memory in any way. If the composite value is an +// empty, read-only value, then it panics. +// +// Set is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_BulkAddToTopicWorkerWhitelistRequest) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { + switch fd.FullName() { + case "emissions.v8.BulkAddToTopicWorkerWhitelistRequest.sender": + x.Sender = value.Interface().(string) + case "emissions.v8.BulkAddToTopicWorkerWhitelistRequest.addresses": + lv := value.List() + clv := lv.(*_BulkAddToTopicWorkerWhitelistRequest_2_list) + x.Addresses = *clv.list + case "emissions.v8.BulkAddToTopicWorkerWhitelistRequest.topic_id": + x.TopicId = value.Uint() + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.BulkAddToTopicWorkerWhitelistRequest")) + } + panic(fmt.Errorf("message emissions.v8.BulkAddToTopicWorkerWhitelistRequest does not contain field %s", fd.FullName())) + } +} + +// Mutable returns a mutable reference to a composite type. +// +// If the field is unpopulated, it may allocate a composite value. +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType +// if not already stored. +// It panics if the field does not contain a composite type. +// +// Mutable is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_BulkAddToTopicWorkerWhitelistRequest) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.BulkAddToTopicWorkerWhitelistRequest.addresses": + if x.Addresses == nil { + x.Addresses = []string{} + } + value := &_BulkAddToTopicWorkerWhitelistRequest_2_list{list: &x.Addresses} + return protoreflect.ValueOfList(value) + case "emissions.v8.BulkAddToTopicWorkerWhitelistRequest.sender": + panic(fmt.Errorf("field sender of message emissions.v8.BulkAddToTopicWorkerWhitelistRequest is not mutable")) + case "emissions.v8.BulkAddToTopicWorkerWhitelistRequest.topic_id": + panic(fmt.Errorf("field topic_id of message emissions.v8.BulkAddToTopicWorkerWhitelistRequest is not mutable")) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.BulkAddToTopicWorkerWhitelistRequest")) + } + panic(fmt.Errorf("message emissions.v8.BulkAddToTopicWorkerWhitelistRequest does not contain field %s", fd.FullName())) + } +} + +// NewField returns a new value that is assignable to the field +// for the given descriptor. For scalars, this returns the default value. +// For lists, maps, and messages, this returns a new, empty, mutable value. +func (x *fastReflection_BulkAddToTopicWorkerWhitelistRequest) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.BulkAddToTopicWorkerWhitelistRequest.sender": + return protoreflect.ValueOfString("") + case "emissions.v8.BulkAddToTopicWorkerWhitelistRequest.addresses": + list := []string{} + return protoreflect.ValueOfList(&_BulkAddToTopicWorkerWhitelistRequest_2_list{list: &list}) + case "emissions.v8.BulkAddToTopicWorkerWhitelistRequest.topic_id": + return protoreflect.ValueOfUint64(uint64(0)) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.BulkAddToTopicWorkerWhitelistRequest")) + } + panic(fmt.Errorf("message emissions.v8.BulkAddToTopicWorkerWhitelistRequest does not contain field %s", fd.FullName())) + } +} + +// WhichOneof reports which field within the oneof is populated, +// returning nil if none are populated. +// It panics if the oneof descriptor does not belong to this message. +func (x *fastReflection_BulkAddToTopicWorkerWhitelistRequest) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { + switch d.FullName() { + default: + panic(fmt.Errorf("%s is not a oneof field in emissions.v8.BulkAddToTopicWorkerWhitelistRequest", d.FullName())) + } + panic("unreachable") +} + +// GetUnknown retrieves the entire list of unknown fields. +// The caller may only mutate the contents of the RawFields +// if the mutated bytes are stored back into the message with SetUnknown. +func (x *fastReflection_BulkAddToTopicWorkerWhitelistRequest) GetUnknown() protoreflect.RawFields { + return x.unknownFields +} + +// SetUnknown stores an entire list of unknown fields. +// The raw fields must be syntactically valid according to the wire format. +// An implementation may panic if this is not the case. +// Once stored, the caller must not mutate the content of the RawFields. +// An empty RawFields may be passed to clear the fields. +// +// SetUnknown is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_BulkAddToTopicWorkerWhitelistRequest) SetUnknown(fields protoreflect.RawFields) { + x.unknownFields = fields +} + +// IsValid reports whether the message is valid. +// +// An invalid message is an empty, read-only value. +// +// An invalid message often corresponds to a nil pointer of the concrete +// message type, but the details are implementation dependent. +// Validity is not part of the protobuf data model, and may not +// be preserved in marshaling or other operations. +func (x *fastReflection_BulkAddToTopicWorkerWhitelistRequest) IsValid() bool { + return x != nil +} + +// ProtoMethods returns optional fastReflectionFeature-path implementations of various operations. +// This method may return nil. +// +// The returned methods type is identical to +// "google.golang.org/protobuf/runtime/protoiface".Methods. +// Consult the protoiface package documentation for details. +func (x *fastReflection_BulkAddToTopicWorkerWhitelistRequest) ProtoMethods() *protoiface.Methods { + size := func(input protoiface.SizeInput) protoiface.SizeOutput { + x := input.Message.Interface().(*BulkAddToTopicWorkerWhitelistRequest) + if x == nil { + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: 0, + } + } + options := runtime.SizeInputToOptions(input) + _ = options + var n int + var l int + _ = l + l = len(x.Sender) + if l > 0 { + n += 1 + l + runtime.Sov(uint64(l)) + } + if len(x.Addresses) > 0 { + for _, s := range x.Addresses { + l = len(s) + n += 1 + l + runtime.Sov(uint64(l)) + } + } + if x.TopicId != 0 { + n += 1 + runtime.Sov(uint64(x.TopicId)) + } + if x.unknownFields != nil { + n += len(x.unknownFields) + } + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: n, + } + } + + marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { + x := input.Message.Interface().(*BulkAddToTopicWorkerWhitelistRequest) + if x == nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + options := runtime.MarshalInputToOptions(input) + _ = options + size := options.Size(x) + dAtA := make([]byte, size) + i := len(dAtA) + _ = i + var l int + _ = l + if x.unknownFields != nil { + i -= len(x.unknownFields) + copy(dAtA[i:], x.unknownFields) + } + if x.TopicId != 0 { + i = runtime.EncodeVarint(dAtA, i, uint64(x.TopicId)) + i-- + dAtA[i] = 0x18 + } + if len(x.Addresses) > 0 { + for iNdEx := len(x.Addresses) - 1; iNdEx >= 0; iNdEx-- { + i -= len(x.Addresses[iNdEx]) + copy(dAtA[i:], x.Addresses[iNdEx]) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.Addresses[iNdEx]))) + i-- + dAtA[i] = 0x12 + } + } + if len(x.Sender) > 0 { + i -= len(x.Sender) + copy(dAtA[i:], x.Sender) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.Sender))) + i-- + dAtA[i] = 0xa + } + if input.Buf != nil { + input.Buf = append(input.Buf, dAtA...) + } else { + input.Buf = dAtA + } + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { + x := input.Message.Interface().(*BulkAddToTopicWorkerWhitelistRequest) + if x == nil { + return protoiface.UnmarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Flags: input.Flags, + }, nil + } + options := runtime.UnmarshalInputToOptions(input) + _ = options + dAtA := input.Buf + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: BulkAddToTopicWorkerWhitelistRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: BulkAddToTopicWorkerWhitelistRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Sender", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + x.Sender = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Addresses", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + x.Addresses = append(x.Addresses, string(dAtA[iNdEx:postIndex])) + iNdEx = postIndex + case 3: + if wireType != 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field TopicId", wireType) + } + x.TopicId = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + x.TopicId |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + default: + iNdEx = preIndex + skippy, err := runtime.Skip(dAtA[iNdEx:]) + if err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if (iNdEx + skippy) > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + if !options.DiscardUnknown { + x.unknownFields = append(x.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + } + iNdEx += skippy + } + } + + if iNdEx > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, nil + } + return &protoiface.Methods{ + NoUnkeyedLiterals: struct{}{}, + Flags: protoiface.SupportMarshalDeterministic | protoiface.SupportUnmarshalDiscardUnknown, + Size: size, + Marshal: marshal, + Unmarshal: unmarshal, + Merge: nil, + CheckInitialized: nil, + } +} + +var ( + md_BulkAddToTopicWorkerWhitelistResponse protoreflect.MessageDescriptor +) + +func init() { + file_emissions_v8_tx_proto_init() + md_BulkAddToTopicWorkerWhitelistResponse = File_emissions_v8_tx_proto.Messages().ByName("BulkAddToTopicWorkerWhitelistResponse") +} + +var _ protoreflect.Message = (*fastReflection_BulkAddToTopicWorkerWhitelistResponse)(nil) + +type fastReflection_BulkAddToTopicWorkerWhitelistResponse BulkAddToTopicWorkerWhitelistResponse + +func (x *BulkAddToTopicWorkerWhitelistResponse) ProtoReflect() protoreflect.Message { + return (*fastReflection_BulkAddToTopicWorkerWhitelistResponse)(x) +} + +func (x *BulkAddToTopicWorkerWhitelistResponse) slowProtoReflect() protoreflect.Message { + mi := &file_emissions_v8_tx_proto_msgTypes[68] + 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) +} + +var _fastReflection_BulkAddToTopicWorkerWhitelistResponse_messageType fastReflection_BulkAddToTopicWorkerWhitelistResponse_messageType +var _ protoreflect.MessageType = fastReflection_BulkAddToTopicWorkerWhitelistResponse_messageType{} + +type fastReflection_BulkAddToTopicWorkerWhitelistResponse_messageType struct{} + +func (x fastReflection_BulkAddToTopicWorkerWhitelistResponse_messageType) Zero() protoreflect.Message { + return (*fastReflection_BulkAddToTopicWorkerWhitelistResponse)(nil) +} +func (x fastReflection_BulkAddToTopicWorkerWhitelistResponse_messageType) New() protoreflect.Message { + return new(fastReflection_BulkAddToTopicWorkerWhitelistResponse) +} +func (x fastReflection_BulkAddToTopicWorkerWhitelistResponse_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_BulkAddToTopicWorkerWhitelistResponse +} + +// Descriptor returns message descriptor, which contains only the protobuf +// type information for the message. +func (x *fastReflection_BulkAddToTopicWorkerWhitelistResponse) Descriptor() protoreflect.MessageDescriptor { + return md_BulkAddToTopicWorkerWhitelistResponse +} + +// Type returns the message type, which encapsulates both Go and protobuf +// type information. If the Go type information is not needed, +// it is recommended that the message descriptor be used instead. +func (x *fastReflection_BulkAddToTopicWorkerWhitelistResponse) Type() protoreflect.MessageType { + return _fastReflection_BulkAddToTopicWorkerWhitelistResponse_messageType +} + +// New returns a newly allocated and mutable empty message. +func (x *fastReflection_BulkAddToTopicWorkerWhitelistResponse) New() protoreflect.Message { + return new(fastReflection_BulkAddToTopicWorkerWhitelistResponse) +} + +// Interface unwraps the message reflection interface and +// returns the underlying ProtoMessage interface. +func (x *fastReflection_BulkAddToTopicWorkerWhitelistResponse) Interface() protoreflect.ProtoMessage { + return (*BulkAddToTopicWorkerWhitelistResponse)(x) +} + +// Range iterates over every populated field in an undefined order, +// calling f for each field descriptor and value encountered. +// Range returns immediately if f returns false. +// While iterating, mutating operations may only be performed +// on the current field descriptor. +func (x *fastReflection_BulkAddToTopicWorkerWhitelistResponse) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { +} + +// Has reports whether a field is populated. +// +// Some fields have the property of nullability where it is possible to +// distinguish between the default value of a field and whether the field +// was explicitly populated with the default value. Singular message fields, +// member fields of a oneof, and proto2 scalar fields are nullable. Such +// fields are populated only if explicitly set. +// +// In other cases (aside from the nullable cases above), +// a proto3 scalar field is populated if it contains a non-zero value, and +// a repeated field is populated if it is non-empty. +func (x *fastReflection_BulkAddToTopicWorkerWhitelistResponse) Has(fd protoreflect.FieldDescriptor) bool { + switch fd.FullName() { + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.BulkAddToTopicWorkerWhitelistResponse")) + } + panic(fmt.Errorf("message emissions.v8.BulkAddToTopicWorkerWhitelistResponse does not contain field %s", fd.FullName())) + } +} + +// Clear clears the field such that a subsequent Has call reports false. +// +// Clearing an extension field clears both the extension type and value +// associated with the given field number. +// +// Clear is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_BulkAddToTopicWorkerWhitelistResponse) Clear(fd protoreflect.FieldDescriptor) { + switch fd.FullName() { + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.BulkAddToTopicWorkerWhitelistResponse")) + } + panic(fmt.Errorf("message emissions.v8.BulkAddToTopicWorkerWhitelistResponse does not contain field %s", fd.FullName())) + } +} + +// Get retrieves the value for a field. +// +// For unpopulated scalars, it returns the default value, where +// the default value of a bytes scalar is guaranteed to be a copy. +// For unpopulated composite types, it returns an empty, read-only view +// of the value; to obtain a mutable reference, use Mutable. +func (x *fastReflection_BulkAddToTopicWorkerWhitelistResponse) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { + switch descriptor.FullName() { + default: + if descriptor.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.BulkAddToTopicWorkerWhitelistResponse")) + } + panic(fmt.Errorf("message emissions.v8.BulkAddToTopicWorkerWhitelistResponse does not contain field %s", descriptor.FullName())) + } +} + +// Set stores the value for a field. +// +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType. +// When setting a composite type, it is unspecified whether the stored value +// aliases the source's memory in any way. If the composite value is an +// empty, read-only value, then it panics. +// +// Set is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_BulkAddToTopicWorkerWhitelistResponse) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { + switch fd.FullName() { + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.BulkAddToTopicWorkerWhitelistResponse")) + } + panic(fmt.Errorf("message emissions.v8.BulkAddToTopicWorkerWhitelistResponse does not contain field %s", fd.FullName())) + } +} + +// Mutable returns a mutable reference to a composite type. +// +// If the field is unpopulated, it may allocate a composite value. +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType +// if not already stored. +// It panics if the field does not contain a composite type. +// +// Mutable is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_BulkAddToTopicWorkerWhitelistResponse) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.BulkAddToTopicWorkerWhitelistResponse")) + } + panic(fmt.Errorf("message emissions.v8.BulkAddToTopicWorkerWhitelistResponse does not contain field %s", fd.FullName())) + } +} + +// NewField returns a new value that is assignable to the field +// for the given descriptor. For scalars, this returns the default value. +// For lists, maps, and messages, this returns a new, empty, mutable value. +func (x *fastReflection_BulkAddToTopicWorkerWhitelistResponse) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.BulkAddToTopicWorkerWhitelistResponse")) + } + panic(fmt.Errorf("message emissions.v8.BulkAddToTopicWorkerWhitelistResponse does not contain field %s", fd.FullName())) + } +} + +// WhichOneof reports which field within the oneof is populated, +// returning nil if none are populated. +// It panics if the oneof descriptor does not belong to this message. +func (x *fastReflection_BulkAddToTopicWorkerWhitelistResponse) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { + switch d.FullName() { + default: + panic(fmt.Errorf("%s is not a oneof field in emissions.v8.BulkAddToTopicWorkerWhitelistResponse", d.FullName())) + } + panic("unreachable") +} + +// GetUnknown retrieves the entire list of unknown fields. +// The caller may only mutate the contents of the RawFields +// if the mutated bytes are stored back into the message with SetUnknown. +func (x *fastReflection_BulkAddToTopicWorkerWhitelistResponse) GetUnknown() protoreflect.RawFields { + return x.unknownFields +} + +// SetUnknown stores an entire list of unknown fields. +// The raw fields must be syntactically valid according to the wire format. +// An implementation may panic if this is not the case. +// Once stored, the caller must not mutate the content of the RawFields. +// An empty RawFields may be passed to clear the fields. +// +// SetUnknown is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_BulkAddToTopicWorkerWhitelistResponse) SetUnknown(fields protoreflect.RawFields) { + x.unknownFields = fields +} + +// IsValid reports whether the message is valid. +// +// An invalid message is an empty, read-only value. +// +// An invalid message often corresponds to a nil pointer of the concrete +// message type, but the details are implementation dependent. +// Validity is not part of the protobuf data model, and may not +// be preserved in marshaling or other operations. +func (x *fastReflection_BulkAddToTopicWorkerWhitelistResponse) IsValid() bool { + return x != nil +} + +// ProtoMethods returns optional fastReflectionFeature-path implementations of various operations. +// This method may return nil. +// +// The returned methods type is identical to +// "google.golang.org/protobuf/runtime/protoiface".Methods. +// Consult the protoiface package documentation for details. +func (x *fastReflection_BulkAddToTopicWorkerWhitelistResponse) ProtoMethods() *protoiface.Methods { + size := func(input protoiface.SizeInput) protoiface.SizeOutput { + x := input.Message.Interface().(*BulkAddToTopicWorkerWhitelistResponse) + if x == nil { + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: 0, + } + } + options := runtime.SizeInputToOptions(input) + _ = options + var n int + var l int + _ = l + if x.unknownFields != nil { + n += len(x.unknownFields) + } + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: n, + } + } + + marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { + x := input.Message.Interface().(*BulkAddToTopicWorkerWhitelistResponse) + if x == nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + options := runtime.MarshalInputToOptions(input) + _ = options + size := options.Size(x) + dAtA := make([]byte, size) + i := len(dAtA) + _ = i + var l int + _ = l + if x.unknownFields != nil { + i -= len(x.unknownFields) + copy(dAtA[i:], x.unknownFields) + } + if input.Buf != nil { + input.Buf = append(input.Buf, dAtA...) + } else { + input.Buf = dAtA + } + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { + x := input.Message.Interface().(*BulkAddToTopicWorkerWhitelistResponse) + if x == nil { + return protoiface.UnmarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Flags: input.Flags, + }, nil + } + options := runtime.UnmarshalInputToOptions(input) + _ = options + dAtA := input.Buf + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: BulkAddToTopicWorkerWhitelistResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: BulkAddToTopicWorkerWhitelistResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + default: + iNdEx = preIndex + skippy, err := runtime.Skip(dAtA[iNdEx:]) + if err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if (iNdEx + skippy) > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + if !options.DiscardUnknown { + x.unknownFields = append(x.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + } + iNdEx += skippy + } + } + + if iNdEx > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, nil + } + return &protoiface.Methods{ + NoUnkeyedLiterals: struct{}{}, + Flags: protoiface.SupportMarshalDeterministic | protoiface.SupportUnmarshalDiscardUnknown, + Size: size, + Marshal: marshal, + Unmarshal: unmarshal, + Merge: nil, + CheckInitialized: nil, + } +} + +var _ protoreflect.List = (*_BulkRemoveFromTopicWorkerWhitelistRequest_2_list)(nil) + +type _BulkRemoveFromTopicWorkerWhitelistRequest_2_list struct { + list *[]string +} + +func (x *_BulkRemoveFromTopicWorkerWhitelistRequest_2_list) Len() int { + if x.list == nil { + return 0 + } + return len(*x.list) +} + +func (x *_BulkRemoveFromTopicWorkerWhitelistRequest_2_list) Get(i int) protoreflect.Value { + return protoreflect.ValueOfString((*x.list)[i]) +} + +func (x *_BulkRemoveFromTopicWorkerWhitelistRequest_2_list) Set(i int, value protoreflect.Value) { + valueUnwrapped := value.String() + concreteValue := valueUnwrapped + (*x.list)[i] = concreteValue +} + +func (x *_BulkRemoveFromTopicWorkerWhitelistRequest_2_list) Append(value protoreflect.Value) { + valueUnwrapped := value.String() + concreteValue := valueUnwrapped + *x.list = append(*x.list, concreteValue) +} + +func (x *_BulkRemoveFromTopicWorkerWhitelistRequest_2_list) AppendMutable() protoreflect.Value { + panic(fmt.Errorf("AppendMutable can not be called on message BulkRemoveFromTopicWorkerWhitelistRequest at list field Addresses as it is not of Message kind")) +} + +func (x *_BulkRemoveFromTopicWorkerWhitelistRequest_2_list) Truncate(n int) { + *x.list = (*x.list)[:n] +} + +func (x *_BulkRemoveFromTopicWorkerWhitelistRequest_2_list) NewElement() protoreflect.Value { + v := "" + return protoreflect.ValueOfString(v) +} + +func (x *_BulkRemoveFromTopicWorkerWhitelistRequest_2_list) IsValid() bool { + return x.list != nil +} + +var ( + md_BulkRemoveFromTopicWorkerWhitelistRequest protoreflect.MessageDescriptor + fd_BulkRemoveFromTopicWorkerWhitelistRequest_sender protoreflect.FieldDescriptor + fd_BulkRemoveFromTopicWorkerWhitelistRequest_addresses protoreflect.FieldDescriptor + fd_BulkRemoveFromTopicWorkerWhitelistRequest_topic_id protoreflect.FieldDescriptor +) + +func init() { + file_emissions_v8_tx_proto_init() + md_BulkRemoveFromTopicWorkerWhitelistRequest = File_emissions_v8_tx_proto.Messages().ByName("BulkRemoveFromTopicWorkerWhitelistRequest") + fd_BulkRemoveFromTopicWorkerWhitelistRequest_sender = md_BulkRemoveFromTopicWorkerWhitelistRequest.Fields().ByName("sender") + fd_BulkRemoveFromTopicWorkerWhitelistRequest_addresses = md_BulkRemoveFromTopicWorkerWhitelistRequest.Fields().ByName("addresses") + fd_BulkRemoveFromTopicWorkerWhitelistRequest_topic_id = md_BulkRemoveFromTopicWorkerWhitelistRequest.Fields().ByName("topic_id") +} + +var _ protoreflect.Message = (*fastReflection_BulkRemoveFromTopicWorkerWhitelistRequest)(nil) + +type fastReflection_BulkRemoveFromTopicWorkerWhitelistRequest BulkRemoveFromTopicWorkerWhitelistRequest + +func (x *BulkRemoveFromTopicWorkerWhitelistRequest) ProtoReflect() protoreflect.Message { + return (*fastReflection_BulkRemoveFromTopicWorkerWhitelistRequest)(x) +} + +func (x *BulkRemoveFromTopicWorkerWhitelistRequest) slowProtoReflect() protoreflect.Message { + mi := &file_emissions_v8_tx_proto_msgTypes[69] + 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) +} + +var _fastReflection_BulkRemoveFromTopicWorkerWhitelistRequest_messageType fastReflection_BulkRemoveFromTopicWorkerWhitelistRequest_messageType +var _ protoreflect.MessageType = fastReflection_BulkRemoveFromTopicWorkerWhitelistRequest_messageType{} + +type fastReflection_BulkRemoveFromTopicWorkerWhitelistRequest_messageType struct{} + +func (x fastReflection_BulkRemoveFromTopicWorkerWhitelistRequest_messageType) Zero() protoreflect.Message { + return (*fastReflection_BulkRemoveFromTopicWorkerWhitelistRequest)(nil) +} +func (x fastReflection_BulkRemoveFromTopicWorkerWhitelistRequest_messageType) New() protoreflect.Message { + return new(fastReflection_BulkRemoveFromTopicWorkerWhitelistRequest) +} +func (x fastReflection_BulkRemoveFromTopicWorkerWhitelistRequest_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_BulkRemoveFromTopicWorkerWhitelistRequest +} + +// Descriptor returns message descriptor, which contains only the protobuf +// type information for the message. +func (x *fastReflection_BulkRemoveFromTopicWorkerWhitelistRequest) Descriptor() protoreflect.MessageDescriptor { + return md_BulkRemoveFromTopicWorkerWhitelistRequest +} + +// Type returns the message type, which encapsulates both Go and protobuf +// type information. If the Go type information is not needed, +// it is recommended that the message descriptor be used instead. +func (x *fastReflection_BulkRemoveFromTopicWorkerWhitelistRequest) Type() protoreflect.MessageType { + return _fastReflection_BulkRemoveFromTopicWorkerWhitelistRequest_messageType +} + +// New returns a newly allocated and mutable empty message. +func (x *fastReflection_BulkRemoveFromTopicWorkerWhitelistRequest) New() protoreflect.Message { + return new(fastReflection_BulkRemoveFromTopicWorkerWhitelistRequest) +} + +// Interface unwraps the message reflection interface and +// returns the underlying ProtoMessage interface. +func (x *fastReflection_BulkRemoveFromTopicWorkerWhitelistRequest) Interface() protoreflect.ProtoMessage { + return (*BulkRemoveFromTopicWorkerWhitelistRequest)(x) +} + +// Range iterates over every populated field in an undefined order, +// calling f for each field descriptor and value encountered. +// Range returns immediately if f returns false. +// While iterating, mutating operations may only be performed +// on the current field descriptor. +func (x *fastReflection_BulkRemoveFromTopicWorkerWhitelistRequest) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { + if x.Sender != "" { + value := protoreflect.ValueOfString(x.Sender) + if !f(fd_BulkRemoveFromTopicWorkerWhitelistRequest_sender, value) { + return + } + } + if len(x.Addresses) != 0 { + value := protoreflect.ValueOfList(&_BulkRemoveFromTopicWorkerWhitelistRequest_2_list{list: &x.Addresses}) + if !f(fd_BulkRemoveFromTopicWorkerWhitelistRequest_addresses, value) { + return + } + } + if x.TopicId != uint64(0) { + value := protoreflect.ValueOfUint64(x.TopicId) + if !f(fd_BulkRemoveFromTopicWorkerWhitelistRequest_topic_id, value) { + return + } + } +} + +// Has reports whether a field is populated. +// +// Some fields have the property of nullability where it is possible to +// distinguish between the default value of a field and whether the field +// was explicitly populated with the default value. Singular message fields, +// member fields of a oneof, and proto2 scalar fields are nullable. Such +// fields are populated only if explicitly set. +// +// In other cases (aside from the nullable cases above), +// a proto3 scalar field is populated if it contains a non-zero value, and +// a repeated field is populated if it is non-empty. +func (x *fastReflection_BulkRemoveFromTopicWorkerWhitelistRequest) Has(fd protoreflect.FieldDescriptor) bool { + switch fd.FullName() { + case "emissions.v8.BulkRemoveFromTopicWorkerWhitelistRequest.sender": + return x.Sender != "" + case "emissions.v8.BulkRemoveFromTopicWorkerWhitelistRequest.addresses": + return len(x.Addresses) != 0 + case "emissions.v8.BulkRemoveFromTopicWorkerWhitelistRequest.topic_id": + return x.TopicId != uint64(0) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.BulkRemoveFromTopicWorkerWhitelistRequest")) + } + panic(fmt.Errorf("message emissions.v8.BulkRemoveFromTopicWorkerWhitelistRequest does not contain field %s", fd.FullName())) + } +} + +// Clear clears the field such that a subsequent Has call reports false. +// +// Clearing an extension field clears both the extension type and value +// associated with the given field number. +// +// Clear is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_BulkRemoveFromTopicWorkerWhitelistRequest) Clear(fd protoreflect.FieldDescriptor) { + switch fd.FullName() { + case "emissions.v8.BulkRemoveFromTopicWorkerWhitelistRequest.sender": + x.Sender = "" + case "emissions.v8.BulkRemoveFromTopicWorkerWhitelistRequest.addresses": + x.Addresses = nil + case "emissions.v8.BulkRemoveFromTopicWorkerWhitelistRequest.topic_id": + x.TopicId = uint64(0) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.BulkRemoveFromTopicWorkerWhitelistRequest")) + } + panic(fmt.Errorf("message emissions.v8.BulkRemoveFromTopicWorkerWhitelistRequest does not contain field %s", fd.FullName())) + } +} + +// Get retrieves the value for a field. +// +// For unpopulated scalars, it returns the default value, where +// the default value of a bytes scalar is guaranteed to be a copy. +// For unpopulated composite types, it returns an empty, read-only view +// of the value; to obtain a mutable reference, use Mutable. +func (x *fastReflection_BulkRemoveFromTopicWorkerWhitelistRequest) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { + switch descriptor.FullName() { + case "emissions.v8.BulkRemoveFromTopicWorkerWhitelistRequest.sender": + value := x.Sender + return protoreflect.ValueOfString(value) + case "emissions.v8.BulkRemoveFromTopicWorkerWhitelistRequest.addresses": + if len(x.Addresses) == 0 { + return protoreflect.ValueOfList(&_BulkRemoveFromTopicWorkerWhitelistRequest_2_list{}) + } + listValue := &_BulkRemoveFromTopicWorkerWhitelistRequest_2_list{list: &x.Addresses} + return protoreflect.ValueOfList(listValue) + case "emissions.v8.BulkRemoveFromTopicWorkerWhitelistRequest.topic_id": + value := x.TopicId + return protoreflect.ValueOfUint64(value) + default: + if descriptor.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.BulkRemoveFromTopicWorkerWhitelistRequest")) + } + panic(fmt.Errorf("message emissions.v8.BulkRemoveFromTopicWorkerWhitelistRequest does not contain field %s", descriptor.FullName())) + } +} + +// Set stores the value for a field. +// +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType. +// When setting a composite type, it is unspecified whether the stored value +// aliases the source's memory in any way. If the composite value is an +// empty, read-only value, then it panics. +// +// Set is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_BulkRemoveFromTopicWorkerWhitelistRequest) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { + switch fd.FullName() { + case "emissions.v8.BulkRemoveFromTopicWorkerWhitelistRequest.sender": + x.Sender = value.Interface().(string) + case "emissions.v8.BulkRemoveFromTopicWorkerWhitelistRequest.addresses": + lv := value.List() + clv := lv.(*_BulkRemoveFromTopicWorkerWhitelistRequest_2_list) + x.Addresses = *clv.list + case "emissions.v8.BulkRemoveFromTopicWorkerWhitelistRequest.topic_id": + x.TopicId = value.Uint() + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.BulkRemoveFromTopicWorkerWhitelistRequest")) + } + panic(fmt.Errorf("message emissions.v8.BulkRemoveFromTopicWorkerWhitelistRequest does not contain field %s", fd.FullName())) + } +} + +// Mutable returns a mutable reference to a composite type. +// +// If the field is unpopulated, it may allocate a composite value. +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType +// if not already stored. +// It panics if the field does not contain a composite type. +// +// Mutable is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_BulkRemoveFromTopicWorkerWhitelistRequest) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.BulkRemoveFromTopicWorkerWhitelistRequest.addresses": + if x.Addresses == nil { + x.Addresses = []string{} + } + value := &_BulkRemoveFromTopicWorkerWhitelistRequest_2_list{list: &x.Addresses} + return protoreflect.ValueOfList(value) + case "emissions.v8.BulkRemoveFromTopicWorkerWhitelistRequest.sender": + panic(fmt.Errorf("field sender of message emissions.v8.BulkRemoveFromTopicWorkerWhitelistRequest is not mutable")) + case "emissions.v8.BulkRemoveFromTopicWorkerWhitelistRequest.topic_id": + panic(fmt.Errorf("field topic_id of message emissions.v8.BulkRemoveFromTopicWorkerWhitelistRequest is not mutable")) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.BulkRemoveFromTopicWorkerWhitelistRequest")) + } + panic(fmt.Errorf("message emissions.v8.BulkRemoveFromTopicWorkerWhitelistRequest does not contain field %s", fd.FullName())) + } +} + +// NewField returns a new value that is assignable to the field +// for the given descriptor. For scalars, this returns the default value. +// For lists, maps, and messages, this returns a new, empty, mutable value. +func (x *fastReflection_BulkRemoveFromTopicWorkerWhitelistRequest) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.BulkRemoveFromTopicWorkerWhitelistRequest.sender": + return protoreflect.ValueOfString("") + case "emissions.v8.BulkRemoveFromTopicWorkerWhitelistRequest.addresses": + list := []string{} + return protoreflect.ValueOfList(&_BulkRemoveFromTopicWorkerWhitelistRequest_2_list{list: &list}) + case "emissions.v8.BulkRemoveFromTopicWorkerWhitelistRequest.topic_id": + return protoreflect.ValueOfUint64(uint64(0)) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.BulkRemoveFromTopicWorkerWhitelistRequest")) + } + panic(fmt.Errorf("message emissions.v8.BulkRemoveFromTopicWorkerWhitelistRequest does not contain field %s", fd.FullName())) + } +} + +// WhichOneof reports which field within the oneof is populated, +// returning nil if none are populated. +// It panics if the oneof descriptor does not belong to this message. +func (x *fastReflection_BulkRemoveFromTopicWorkerWhitelistRequest) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { + switch d.FullName() { + default: + panic(fmt.Errorf("%s is not a oneof field in emissions.v8.BulkRemoveFromTopicWorkerWhitelistRequest", d.FullName())) + } + panic("unreachable") +} + +// GetUnknown retrieves the entire list of unknown fields. +// The caller may only mutate the contents of the RawFields +// if the mutated bytes are stored back into the message with SetUnknown. +func (x *fastReflection_BulkRemoveFromTopicWorkerWhitelistRequest) GetUnknown() protoreflect.RawFields { + return x.unknownFields +} + +// SetUnknown stores an entire list of unknown fields. +// The raw fields must be syntactically valid according to the wire format. +// An implementation may panic if this is not the case. +// Once stored, the caller must not mutate the content of the RawFields. +// An empty RawFields may be passed to clear the fields. +// +// SetUnknown is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_BulkRemoveFromTopicWorkerWhitelistRequest) SetUnknown(fields protoreflect.RawFields) { + x.unknownFields = fields +} + +// IsValid reports whether the message is valid. +// +// An invalid message is an empty, read-only value. +// +// An invalid message often corresponds to a nil pointer of the concrete +// message type, but the details are implementation dependent. +// Validity is not part of the protobuf data model, and may not +// be preserved in marshaling or other operations. +func (x *fastReflection_BulkRemoveFromTopicWorkerWhitelistRequest) IsValid() bool { + return x != nil +} + +// ProtoMethods returns optional fastReflectionFeature-path implementations of various operations. +// This method may return nil. +// +// The returned methods type is identical to +// "google.golang.org/protobuf/runtime/protoiface".Methods. +// Consult the protoiface package documentation for details. +func (x *fastReflection_BulkRemoveFromTopicWorkerWhitelistRequest) ProtoMethods() *protoiface.Methods { + size := func(input protoiface.SizeInput) protoiface.SizeOutput { + x := input.Message.Interface().(*BulkRemoveFromTopicWorkerWhitelistRequest) + if x == nil { + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: 0, + } + } + options := runtime.SizeInputToOptions(input) + _ = options + var n int + var l int + _ = l + l = len(x.Sender) + if l > 0 { + n += 1 + l + runtime.Sov(uint64(l)) + } + if len(x.Addresses) > 0 { + for _, s := range x.Addresses { + l = len(s) + n += 1 + l + runtime.Sov(uint64(l)) + } + } + if x.TopicId != 0 { + n += 1 + runtime.Sov(uint64(x.TopicId)) + } + if x.unknownFields != nil { + n += len(x.unknownFields) + } + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: n, + } + } + + marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { + x := input.Message.Interface().(*BulkRemoveFromTopicWorkerWhitelistRequest) + if x == nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + options := runtime.MarshalInputToOptions(input) + _ = options + size := options.Size(x) + dAtA := make([]byte, size) + i := len(dAtA) + _ = i + var l int + _ = l + if x.unknownFields != nil { + i -= len(x.unknownFields) + copy(dAtA[i:], x.unknownFields) + } + if x.TopicId != 0 { + i = runtime.EncodeVarint(dAtA, i, uint64(x.TopicId)) + i-- + dAtA[i] = 0x18 + } + if len(x.Addresses) > 0 { + for iNdEx := len(x.Addresses) - 1; iNdEx >= 0; iNdEx-- { + i -= len(x.Addresses[iNdEx]) + copy(dAtA[i:], x.Addresses[iNdEx]) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.Addresses[iNdEx]))) + i-- + dAtA[i] = 0x12 + } + } + if len(x.Sender) > 0 { + i -= len(x.Sender) + copy(dAtA[i:], x.Sender) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.Sender))) + i-- + dAtA[i] = 0xa + } + if input.Buf != nil { + input.Buf = append(input.Buf, dAtA...) + } else { + input.Buf = dAtA + } + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { + x := input.Message.Interface().(*BulkRemoveFromTopicWorkerWhitelistRequest) + if x == nil { + return protoiface.UnmarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Flags: input.Flags, + }, nil + } + options := runtime.UnmarshalInputToOptions(input) + _ = options + dAtA := input.Buf + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: BulkRemoveFromTopicWorkerWhitelistRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: BulkRemoveFromTopicWorkerWhitelistRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Sender", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + x.Sender = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Addresses", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + x.Addresses = append(x.Addresses, string(dAtA[iNdEx:postIndex])) + iNdEx = postIndex + case 3: + if wireType != 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field TopicId", wireType) + } + x.TopicId = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + x.TopicId |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + default: + iNdEx = preIndex + skippy, err := runtime.Skip(dAtA[iNdEx:]) + if err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if (iNdEx + skippy) > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + if !options.DiscardUnknown { + x.unknownFields = append(x.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + } + iNdEx += skippy + } + } + + if iNdEx > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, nil + } + return &protoiface.Methods{ + NoUnkeyedLiterals: struct{}{}, + Flags: protoiface.SupportMarshalDeterministic | protoiface.SupportUnmarshalDiscardUnknown, + Size: size, + Marshal: marshal, + Unmarshal: unmarshal, + Merge: nil, + CheckInitialized: nil, + } +} + +var ( + md_BulkRemoveFromTopicWorkerWhitelistResponse protoreflect.MessageDescriptor +) + +func init() { + file_emissions_v8_tx_proto_init() + md_BulkRemoveFromTopicWorkerWhitelistResponse = File_emissions_v8_tx_proto.Messages().ByName("BulkRemoveFromTopicWorkerWhitelistResponse") +} + +var _ protoreflect.Message = (*fastReflection_BulkRemoveFromTopicWorkerWhitelistResponse)(nil) + +type fastReflection_BulkRemoveFromTopicWorkerWhitelistResponse BulkRemoveFromTopicWorkerWhitelistResponse + +func (x *BulkRemoveFromTopicWorkerWhitelistResponse) ProtoReflect() protoreflect.Message { + return (*fastReflection_BulkRemoveFromTopicWorkerWhitelistResponse)(x) +} + +func (x *BulkRemoveFromTopicWorkerWhitelistResponse) slowProtoReflect() protoreflect.Message { + mi := &file_emissions_v8_tx_proto_msgTypes[70] + 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) +} + +var _fastReflection_BulkRemoveFromTopicWorkerWhitelistResponse_messageType fastReflection_BulkRemoveFromTopicWorkerWhitelistResponse_messageType +var _ protoreflect.MessageType = fastReflection_BulkRemoveFromTopicWorkerWhitelistResponse_messageType{} + +type fastReflection_BulkRemoveFromTopicWorkerWhitelistResponse_messageType struct{} + +func (x fastReflection_BulkRemoveFromTopicWorkerWhitelistResponse_messageType) Zero() protoreflect.Message { + return (*fastReflection_BulkRemoveFromTopicWorkerWhitelistResponse)(nil) +} +func (x fastReflection_BulkRemoveFromTopicWorkerWhitelistResponse_messageType) New() protoreflect.Message { + return new(fastReflection_BulkRemoveFromTopicWorkerWhitelistResponse) +} +func (x fastReflection_BulkRemoveFromTopicWorkerWhitelistResponse_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_BulkRemoveFromTopicWorkerWhitelistResponse +} + +// Descriptor returns message descriptor, which contains only the protobuf +// type information for the message. +func (x *fastReflection_BulkRemoveFromTopicWorkerWhitelistResponse) Descriptor() protoreflect.MessageDescriptor { + return md_BulkRemoveFromTopicWorkerWhitelistResponse +} + +// Type returns the message type, which encapsulates both Go and protobuf +// type information. If the Go type information is not needed, +// it is recommended that the message descriptor be used instead. +func (x *fastReflection_BulkRemoveFromTopicWorkerWhitelistResponse) Type() protoreflect.MessageType { + return _fastReflection_BulkRemoveFromTopicWorkerWhitelistResponse_messageType +} + +// New returns a newly allocated and mutable empty message. +func (x *fastReflection_BulkRemoveFromTopicWorkerWhitelistResponse) New() protoreflect.Message { + return new(fastReflection_BulkRemoveFromTopicWorkerWhitelistResponse) +} + +// Interface unwraps the message reflection interface and +// returns the underlying ProtoMessage interface. +func (x *fastReflection_BulkRemoveFromTopicWorkerWhitelistResponse) Interface() protoreflect.ProtoMessage { + return (*BulkRemoveFromTopicWorkerWhitelistResponse)(x) +} + +// Range iterates over every populated field in an undefined order, +// calling f for each field descriptor and value encountered. +// Range returns immediately if f returns false. +// While iterating, mutating operations may only be performed +// on the current field descriptor. +func (x *fastReflection_BulkRemoveFromTopicWorkerWhitelistResponse) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { +} + +// Has reports whether a field is populated. +// +// Some fields have the property of nullability where it is possible to +// distinguish between the default value of a field and whether the field +// was explicitly populated with the default value. Singular message fields, +// member fields of a oneof, and proto2 scalar fields are nullable. Such +// fields are populated only if explicitly set. +// +// In other cases (aside from the nullable cases above), +// a proto3 scalar field is populated if it contains a non-zero value, and +// a repeated field is populated if it is non-empty. +func (x *fastReflection_BulkRemoveFromTopicWorkerWhitelistResponse) Has(fd protoreflect.FieldDescriptor) bool { + switch fd.FullName() { + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.BulkRemoveFromTopicWorkerWhitelistResponse")) + } + panic(fmt.Errorf("message emissions.v8.BulkRemoveFromTopicWorkerWhitelistResponse does not contain field %s", fd.FullName())) + } +} + +// Clear clears the field such that a subsequent Has call reports false. +// +// Clearing an extension field clears both the extension type and value +// associated with the given field number. +// +// Clear is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_BulkRemoveFromTopicWorkerWhitelistResponse) Clear(fd protoreflect.FieldDescriptor) { + switch fd.FullName() { + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.BulkRemoveFromTopicWorkerWhitelistResponse")) + } + panic(fmt.Errorf("message emissions.v8.BulkRemoveFromTopicWorkerWhitelistResponse does not contain field %s", fd.FullName())) + } +} + +// Get retrieves the value for a field. +// +// For unpopulated scalars, it returns the default value, where +// the default value of a bytes scalar is guaranteed to be a copy. +// For unpopulated composite types, it returns an empty, read-only view +// of the value; to obtain a mutable reference, use Mutable. +func (x *fastReflection_BulkRemoveFromTopicWorkerWhitelistResponse) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { + switch descriptor.FullName() { + default: + if descriptor.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.BulkRemoveFromTopicWorkerWhitelistResponse")) + } + panic(fmt.Errorf("message emissions.v8.BulkRemoveFromTopicWorkerWhitelistResponse does not contain field %s", descriptor.FullName())) + } +} + +// Set stores the value for a field. +// +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType. +// When setting a composite type, it is unspecified whether the stored value +// aliases the source's memory in any way. If the composite value is an +// empty, read-only value, then it panics. +// +// Set is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_BulkRemoveFromTopicWorkerWhitelistResponse) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { + switch fd.FullName() { + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.BulkRemoveFromTopicWorkerWhitelistResponse")) + } + panic(fmt.Errorf("message emissions.v8.BulkRemoveFromTopicWorkerWhitelistResponse does not contain field %s", fd.FullName())) + } +} + +// Mutable returns a mutable reference to a composite type. +// +// If the field is unpopulated, it may allocate a composite value. +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType +// if not already stored. +// It panics if the field does not contain a composite type. +// +// Mutable is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_BulkRemoveFromTopicWorkerWhitelistResponse) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.BulkRemoveFromTopicWorkerWhitelistResponse")) + } + panic(fmt.Errorf("message emissions.v8.BulkRemoveFromTopicWorkerWhitelistResponse does not contain field %s", fd.FullName())) + } +} + +// NewField returns a new value that is assignable to the field +// for the given descriptor. For scalars, this returns the default value. +// For lists, maps, and messages, this returns a new, empty, mutable value. +func (x *fastReflection_BulkRemoveFromTopicWorkerWhitelistResponse) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.BulkRemoveFromTopicWorkerWhitelistResponse")) + } + panic(fmt.Errorf("message emissions.v8.BulkRemoveFromTopicWorkerWhitelistResponse does not contain field %s", fd.FullName())) + } +} + +// WhichOneof reports which field within the oneof is populated, +// returning nil if none are populated. +// It panics if the oneof descriptor does not belong to this message. +func (x *fastReflection_BulkRemoveFromTopicWorkerWhitelistResponse) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { + switch d.FullName() { + default: + panic(fmt.Errorf("%s is not a oneof field in emissions.v8.BulkRemoveFromTopicWorkerWhitelistResponse", d.FullName())) + } + panic("unreachable") +} + +// GetUnknown retrieves the entire list of unknown fields. +// The caller may only mutate the contents of the RawFields +// if the mutated bytes are stored back into the message with SetUnknown. +func (x *fastReflection_BulkRemoveFromTopicWorkerWhitelistResponse) GetUnknown() protoreflect.RawFields { + return x.unknownFields +} + +// SetUnknown stores an entire list of unknown fields. +// The raw fields must be syntactically valid according to the wire format. +// An implementation may panic if this is not the case. +// Once stored, the caller must not mutate the content of the RawFields. +// An empty RawFields may be passed to clear the fields. +// +// SetUnknown is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_BulkRemoveFromTopicWorkerWhitelistResponse) SetUnknown(fields protoreflect.RawFields) { + x.unknownFields = fields +} + +// IsValid reports whether the message is valid. +// +// An invalid message is an empty, read-only value. +// +// An invalid message often corresponds to a nil pointer of the concrete +// message type, but the details are implementation dependent. +// Validity is not part of the protobuf data model, and may not +// be preserved in marshaling or other operations. +func (x *fastReflection_BulkRemoveFromTopicWorkerWhitelistResponse) IsValid() bool { + return x != nil +} + +// ProtoMethods returns optional fastReflectionFeature-path implementations of various operations. +// This method may return nil. +// +// The returned methods type is identical to +// "google.golang.org/protobuf/runtime/protoiface".Methods. +// Consult the protoiface package documentation for details. +func (x *fastReflection_BulkRemoveFromTopicWorkerWhitelistResponse) ProtoMethods() *protoiface.Methods { + size := func(input protoiface.SizeInput) protoiface.SizeOutput { + x := input.Message.Interface().(*BulkRemoveFromTopicWorkerWhitelistResponse) + if x == nil { + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: 0, + } + } + options := runtime.SizeInputToOptions(input) + _ = options + var n int + var l int + _ = l + if x.unknownFields != nil { + n += len(x.unknownFields) + } + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: n, + } + } + + marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { + x := input.Message.Interface().(*BulkRemoveFromTopicWorkerWhitelistResponse) + if x == nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + options := runtime.MarshalInputToOptions(input) + _ = options + size := options.Size(x) + dAtA := make([]byte, size) + i := len(dAtA) + _ = i + var l int + _ = l + if x.unknownFields != nil { + i -= len(x.unknownFields) + copy(dAtA[i:], x.unknownFields) + } + if input.Buf != nil { + input.Buf = append(input.Buf, dAtA...) + } else { + input.Buf = dAtA + } + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { + x := input.Message.Interface().(*BulkRemoveFromTopicWorkerWhitelistResponse) + if x == nil { + return protoiface.UnmarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Flags: input.Flags, + }, nil + } + options := runtime.UnmarshalInputToOptions(input) + _ = options + dAtA := input.Buf + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: BulkRemoveFromTopicWorkerWhitelistResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: BulkRemoveFromTopicWorkerWhitelistResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + default: + iNdEx = preIndex + skippy, err := runtime.Skip(dAtA[iNdEx:]) + if err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if (iNdEx + skippy) > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + if !options.DiscardUnknown { + x.unknownFields = append(x.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + } + iNdEx += skippy + } + } + + if iNdEx > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, nil + } + return &protoiface.Methods{ + NoUnkeyedLiterals: struct{}{}, + Flags: protoiface.SupportMarshalDeterministic | protoiface.SupportUnmarshalDiscardUnknown, + Size: size, + Marshal: marshal, + Unmarshal: unmarshal, + Merge: nil, + CheckInitialized: nil, + } +} + +var _ protoreflect.List = (*_BulkAddToTopicReputerWhitelistRequest_2_list)(nil) + +type _BulkAddToTopicReputerWhitelistRequest_2_list struct { + list *[]string +} + +func (x *_BulkAddToTopicReputerWhitelistRequest_2_list) Len() int { + if x.list == nil { + return 0 + } + return len(*x.list) +} + +func (x *_BulkAddToTopicReputerWhitelistRequest_2_list) Get(i int) protoreflect.Value { + return protoreflect.ValueOfString((*x.list)[i]) +} + +func (x *_BulkAddToTopicReputerWhitelistRequest_2_list) Set(i int, value protoreflect.Value) { + valueUnwrapped := value.String() + concreteValue := valueUnwrapped + (*x.list)[i] = concreteValue +} + +func (x *_BulkAddToTopicReputerWhitelistRequest_2_list) Append(value protoreflect.Value) { + valueUnwrapped := value.String() + concreteValue := valueUnwrapped + *x.list = append(*x.list, concreteValue) +} + +func (x *_BulkAddToTopicReputerWhitelistRequest_2_list) AppendMutable() protoreflect.Value { + panic(fmt.Errorf("AppendMutable can not be called on message BulkAddToTopicReputerWhitelistRequest at list field Addresses as it is not of Message kind")) +} + +func (x *_BulkAddToTopicReputerWhitelistRequest_2_list) Truncate(n int) { + *x.list = (*x.list)[:n] +} + +func (x *_BulkAddToTopicReputerWhitelistRequest_2_list) NewElement() protoreflect.Value { + v := "" + return protoreflect.ValueOfString(v) +} + +func (x *_BulkAddToTopicReputerWhitelistRequest_2_list) IsValid() bool { + return x.list != nil +} + +var ( + md_BulkAddToTopicReputerWhitelistRequest protoreflect.MessageDescriptor + fd_BulkAddToTopicReputerWhitelistRequest_sender protoreflect.FieldDescriptor + fd_BulkAddToTopicReputerWhitelistRequest_addresses protoreflect.FieldDescriptor + fd_BulkAddToTopicReputerWhitelistRequest_topic_id protoreflect.FieldDescriptor +) + +func init() { + file_emissions_v8_tx_proto_init() + md_BulkAddToTopicReputerWhitelistRequest = File_emissions_v8_tx_proto.Messages().ByName("BulkAddToTopicReputerWhitelistRequest") + fd_BulkAddToTopicReputerWhitelistRequest_sender = md_BulkAddToTopicReputerWhitelistRequest.Fields().ByName("sender") + fd_BulkAddToTopicReputerWhitelistRequest_addresses = md_BulkAddToTopicReputerWhitelistRequest.Fields().ByName("addresses") + fd_BulkAddToTopicReputerWhitelistRequest_topic_id = md_BulkAddToTopicReputerWhitelistRequest.Fields().ByName("topic_id") +} + +var _ protoreflect.Message = (*fastReflection_BulkAddToTopicReputerWhitelistRequest)(nil) + +type fastReflection_BulkAddToTopicReputerWhitelistRequest BulkAddToTopicReputerWhitelistRequest + +func (x *BulkAddToTopicReputerWhitelistRequest) ProtoReflect() protoreflect.Message { + return (*fastReflection_BulkAddToTopicReputerWhitelistRequest)(x) +} + +func (x *BulkAddToTopicReputerWhitelistRequest) slowProtoReflect() protoreflect.Message { + mi := &file_emissions_v8_tx_proto_msgTypes[71] + 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) +} + +var _fastReflection_BulkAddToTopicReputerWhitelistRequest_messageType fastReflection_BulkAddToTopicReputerWhitelistRequest_messageType +var _ protoreflect.MessageType = fastReflection_BulkAddToTopicReputerWhitelistRequest_messageType{} + +type fastReflection_BulkAddToTopicReputerWhitelistRequest_messageType struct{} + +func (x fastReflection_BulkAddToTopicReputerWhitelistRequest_messageType) Zero() protoreflect.Message { + return (*fastReflection_BulkAddToTopicReputerWhitelistRequest)(nil) +} +func (x fastReflection_BulkAddToTopicReputerWhitelistRequest_messageType) New() protoreflect.Message { + return new(fastReflection_BulkAddToTopicReputerWhitelistRequest) +} +func (x fastReflection_BulkAddToTopicReputerWhitelistRequest_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_BulkAddToTopicReputerWhitelistRequest +} + +// Descriptor returns message descriptor, which contains only the protobuf +// type information for the message. +func (x *fastReflection_BulkAddToTopicReputerWhitelistRequest) Descriptor() protoreflect.MessageDescriptor { + return md_BulkAddToTopicReputerWhitelistRequest +} + +// Type returns the message type, which encapsulates both Go and protobuf +// type information. If the Go type information is not needed, +// it is recommended that the message descriptor be used instead. +func (x *fastReflection_BulkAddToTopicReputerWhitelistRequest) Type() protoreflect.MessageType { + return _fastReflection_BulkAddToTopicReputerWhitelistRequest_messageType +} + +// New returns a newly allocated and mutable empty message. +func (x *fastReflection_BulkAddToTopicReputerWhitelistRequest) New() protoreflect.Message { + return new(fastReflection_BulkAddToTopicReputerWhitelistRequest) +} + +// Interface unwraps the message reflection interface and +// returns the underlying ProtoMessage interface. +func (x *fastReflection_BulkAddToTopicReputerWhitelistRequest) Interface() protoreflect.ProtoMessage { + return (*BulkAddToTopicReputerWhitelistRequest)(x) +} + +// Range iterates over every populated field in an undefined order, +// calling f for each field descriptor and value encountered. +// Range returns immediately if f returns false. +// While iterating, mutating operations may only be performed +// on the current field descriptor. +func (x *fastReflection_BulkAddToTopicReputerWhitelistRequest) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { + if x.Sender != "" { + value := protoreflect.ValueOfString(x.Sender) + if !f(fd_BulkAddToTopicReputerWhitelistRequest_sender, value) { + return + } + } + if len(x.Addresses) != 0 { + value := protoreflect.ValueOfList(&_BulkAddToTopicReputerWhitelistRequest_2_list{list: &x.Addresses}) + if !f(fd_BulkAddToTopicReputerWhitelistRequest_addresses, value) { + return + } + } + if x.TopicId != uint64(0) { + value := protoreflect.ValueOfUint64(x.TopicId) + if !f(fd_BulkAddToTopicReputerWhitelistRequest_topic_id, value) { + return + } + } +} + +// Has reports whether a field is populated. +// +// Some fields have the property of nullability where it is possible to +// distinguish between the default value of a field and whether the field +// was explicitly populated with the default value. Singular message fields, +// member fields of a oneof, and proto2 scalar fields are nullable. Such +// fields are populated only if explicitly set. +// +// In other cases (aside from the nullable cases above), +// a proto3 scalar field is populated if it contains a non-zero value, and +// a repeated field is populated if it is non-empty. +func (x *fastReflection_BulkAddToTopicReputerWhitelistRequest) Has(fd protoreflect.FieldDescriptor) bool { + switch fd.FullName() { + case "emissions.v8.BulkAddToTopicReputerWhitelistRequest.sender": + return x.Sender != "" + case "emissions.v8.BulkAddToTopicReputerWhitelistRequest.addresses": + return len(x.Addresses) != 0 + case "emissions.v8.BulkAddToTopicReputerWhitelistRequest.topic_id": + return x.TopicId != uint64(0) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.BulkAddToTopicReputerWhitelistRequest")) + } + panic(fmt.Errorf("message emissions.v8.BulkAddToTopicReputerWhitelistRequest does not contain field %s", fd.FullName())) + } +} + +// Clear clears the field such that a subsequent Has call reports false. +// +// Clearing an extension field clears both the extension type and value +// associated with the given field number. +// +// Clear is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_BulkAddToTopicReputerWhitelistRequest) Clear(fd protoreflect.FieldDescriptor) { + switch fd.FullName() { + case "emissions.v8.BulkAddToTopicReputerWhitelistRequest.sender": + x.Sender = "" + case "emissions.v8.BulkAddToTopicReputerWhitelistRequest.addresses": + x.Addresses = nil + case "emissions.v8.BulkAddToTopicReputerWhitelistRequest.topic_id": + x.TopicId = uint64(0) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.BulkAddToTopicReputerWhitelistRequest")) + } + panic(fmt.Errorf("message emissions.v8.BulkAddToTopicReputerWhitelistRequest does not contain field %s", fd.FullName())) + } +} + +// Get retrieves the value for a field. +// +// For unpopulated scalars, it returns the default value, where +// the default value of a bytes scalar is guaranteed to be a copy. +// For unpopulated composite types, it returns an empty, read-only view +// of the value; to obtain a mutable reference, use Mutable. +func (x *fastReflection_BulkAddToTopicReputerWhitelistRequest) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { + switch descriptor.FullName() { + case "emissions.v8.BulkAddToTopicReputerWhitelistRequest.sender": + value := x.Sender + return protoreflect.ValueOfString(value) + case "emissions.v8.BulkAddToTopicReputerWhitelistRequest.addresses": + if len(x.Addresses) == 0 { + return protoreflect.ValueOfList(&_BulkAddToTopicReputerWhitelistRequest_2_list{}) + } + listValue := &_BulkAddToTopicReputerWhitelistRequest_2_list{list: &x.Addresses} + return protoreflect.ValueOfList(listValue) + case "emissions.v8.BulkAddToTopicReputerWhitelistRequest.topic_id": + value := x.TopicId + return protoreflect.ValueOfUint64(value) + default: + if descriptor.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.BulkAddToTopicReputerWhitelistRequest")) + } + panic(fmt.Errorf("message emissions.v8.BulkAddToTopicReputerWhitelistRequest does not contain field %s", descriptor.FullName())) + } +} + +// Set stores the value for a field. +// +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType. +// When setting a composite type, it is unspecified whether the stored value +// aliases the source's memory in any way. If the composite value is an +// empty, read-only value, then it panics. +// +// Set is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_BulkAddToTopicReputerWhitelistRequest) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { + switch fd.FullName() { + case "emissions.v8.BulkAddToTopicReputerWhitelistRequest.sender": + x.Sender = value.Interface().(string) + case "emissions.v8.BulkAddToTopicReputerWhitelistRequest.addresses": + lv := value.List() + clv := lv.(*_BulkAddToTopicReputerWhitelistRequest_2_list) + x.Addresses = *clv.list + case "emissions.v8.BulkAddToTopicReputerWhitelistRequest.topic_id": + x.TopicId = value.Uint() + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.BulkAddToTopicReputerWhitelistRequest")) + } + panic(fmt.Errorf("message emissions.v8.BulkAddToTopicReputerWhitelistRequest does not contain field %s", fd.FullName())) + } +} + +// Mutable returns a mutable reference to a composite type. +// +// If the field is unpopulated, it may allocate a composite value. +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType +// if not already stored. +// It panics if the field does not contain a composite type. +// +// Mutable is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_BulkAddToTopicReputerWhitelistRequest) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.BulkAddToTopicReputerWhitelistRequest.addresses": + if x.Addresses == nil { + x.Addresses = []string{} + } + value := &_BulkAddToTopicReputerWhitelistRequest_2_list{list: &x.Addresses} + return protoreflect.ValueOfList(value) + case "emissions.v8.BulkAddToTopicReputerWhitelistRequest.sender": + panic(fmt.Errorf("field sender of message emissions.v8.BulkAddToTopicReputerWhitelistRequest is not mutable")) + case "emissions.v8.BulkAddToTopicReputerWhitelistRequest.topic_id": + panic(fmt.Errorf("field topic_id of message emissions.v8.BulkAddToTopicReputerWhitelistRequest is not mutable")) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.BulkAddToTopicReputerWhitelistRequest")) + } + panic(fmt.Errorf("message emissions.v8.BulkAddToTopicReputerWhitelistRequest does not contain field %s", fd.FullName())) + } +} + +// NewField returns a new value that is assignable to the field +// for the given descriptor. For scalars, this returns the default value. +// For lists, maps, and messages, this returns a new, empty, mutable value. +func (x *fastReflection_BulkAddToTopicReputerWhitelistRequest) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.BulkAddToTopicReputerWhitelistRequest.sender": + return protoreflect.ValueOfString("") + case "emissions.v8.BulkAddToTopicReputerWhitelistRequest.addresses": + list := []string{} + return protoreflect.ValueOfList(&_BulkAddToTopicReputerWhitelistRequest_2_list{list: &list}) + case "emissions.v8.BulkAddToTopicReputerWhitelistRequest.topic_id": + return protoreflect.ValueOfUint64(uint64(0)) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.BulkAddToTopicReputerWhitelistRequest")) + } + panic(fmt.Errorf("message emissions.v8.BulkAddToTopicReputerWhitelistRequest does not contain field %s", fd.FullName())) + } +} + +// WhichOneof reports which field within the oneof is populated, +// returning nil if none are populated. +// It panics if the oneof descriptor does not belong to this message. +func (x *fastReflection_BulkAddToTopicReputerWhitelistRequest) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { + switch d.FullName() { + default: + panic(fmt.Errorf("%s is not a oneof field in emissions.v8.BulkAddToTopicReputerWhitelistRequest", d.FullName())) + } + panic("unreachable") +} + +// GetUnknown retrieves the entire list of unknown fields. +// The caller may only mutate the contents of the RawFields +// if the mutated bytes are stored back into the message with SetUnknown. +func (x *fastReflection_BulkAddToTopicReputerWhitelistRequest) GetUnknown() protoreflect.RawFields { + return x.unknownFields +} + +// SetUnknown stores an entire list of unknown fields. +// The raw fields must be syntactically valid according to the wire format. +// An implementation may panic if this is not the case. +// Once stored, the caller must not mutate the content of the RawFields. +// An empty RawFields may be passed to clear the fields. +// +// SetUnknown is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_BulkAddToTopicReputerWhitelistRequest) SetUnknown(fields protoreflect.RawFields) { + x.unknownFields = fields +} + +// IsValid reports whether the message is valid. +// +// An invalid message is an empty, read-only value. +// +// An invalid message often corresponds to a nil pointer of the concrete +// message type, but the details are implementation dependent. +// Validity is not part of the protobuf data model, and may not +// be preserved in marshaling or other operations. +func (x *fastReflection_BulkAddToTopicReputerWhitelistRequest) IsValid() bool { + return x != nil +} + +// ProtoMethods returns optional fastReflectionFeature-path implementations of various operations. +// This method may return nil. +// +// The returned methods type is identical to +// "google.golang.org/protobuf/runtime/protoiface".Methods. +// Consult the protoiface package documentation for details. +func (x *fastReflection_BulkAddToTopicReputerWhitelistRequest) ProtoMethods() *protoiface.Methods { + size := func(input protoiface.SizeInput) protoiface.SizeOutput { + x := input.Message.Interface().(*BulkAddToTopicReputerWhitelistRequest) + if x == nil { + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: 0, + } + } + options := runtime.SizeInputToOptions(input) + _ = options + var n int + var l int + _ = l + l = len(x.Sender) + if l > 0 { + n += 1 + l + runtime.Sov(uint64(l)) + } + if len(x.Addresses) > 0 { + for _, s := range x.Addresses { + l = len(s) + n += 1 + l + runtime.Sov(uint64(l)) + } + } + if x.TopicId != 0 { + n += 1 + runtime.Sov(uint64(x.TopicId)) + } + if x.unknownFields != nil { + n += len(x.unknownFields) + } + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: n, + } + } + + marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { + x := input.Message.Interface().(*BulkAddToTopicReputerWhitelistRequest) + if x == nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + options := runtime.MarshalInputToOptions(input) + _ = options + size := options.Size(x) + dAtA := make([]byte, size) + i := len(dAtA) + _ = i + var l int + _ = l + if x.unknownFields != nil { + i -= len(x.unknownFields) + copy(dAtA[i:], x.unknownFields) + } + if x.TopicId != 0 { + i = runtime.EncodeVarint(dAtA, i, uint64(x.TopicId)) + i-- + dAtA[i] = 0x18 + } + if len(x.Addresses) > 0 { + for iNdEx := len(x.Addresses) - 1; iNdEx >= 0; iNdEx-- { + i -= len(x.Addresses[iNdEx]) + copy(dAtA[i:], x.Addresses[iNdEx]) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.Addresses[iNdEx]))) + i-- + dAtA[i] = 0x12 + } + } + if len(x.Sender) > 0 { + i -= len(x.Sender) + copy(dAtA[i:], x.Sender) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.Sender))) + i-- + dAtA[i] = 0xa + } + if input.Buf != nil { + input.Buf = append(input.Buf, dAtA...) + } else { + input.Buf = dAtA + } + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { + x := input.Message.Interface().(*BulkAddToTopicReputerWhitelistRequest) + if x == nil { + return protoiface.UnmarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Flags: input.Flags, + }, nil + } + options := runtime.UnmarshalInputToOptions(input) + _ = options + dAtA := input.Buf + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: BulkAddToTopicReputerWhitelistRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: BulkAddToTopicReputerWhitelistRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Sender", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + x.Sender = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Addresses", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + x.Addresses = append(x.Addresses, string(dAtA[iNdEx:postIndex])) + iNdEx = postIndex + case 3: + if wireType != 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field TopicId", wireType) + } + x.TopicId = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + x.TopicId |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + default: + iNdEx = preIndex + skippy, err := runtime.Skip(dAtA[iNdEx:]) + if err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if (iNdEx + skippy) > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + if !options.DiscardUnknown { + x.unknownFields = append(x.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + } + iNdEx += skippy + } + } + + if iNdEx > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, nil + } + return &protoiface.Methods{ + NoUnkeyedLiterals: struct{}{}, + Flags: protoiface.SupportMarshalDeterministic | protoiface.SupportUnmarshalDiscardUnknown, + Size: size, + Marshal: marshal, + Unmarshal: unmarshal, + Merge: nil, + CheckInitialized: nil, + } +} + +var ( + md_BulkAddToTopicReputerWhitelistResponse protoreflect.MessageDescriptor +) + +func init() { + file_emissions_v8_tx_proto_init() + md_BulkAddToTopicReputerWhitelistResponse = File_emissions_v8_tx_proto.Messages().ByName("BulkAddToTopicReputerWhitelistResponse") +} + +var _ protoreflect.Message = (*fastReflection_BulkAddToTopicReputerWhitelistResponse)(nil) + +type fastReflection_BulkAddToTopicReputerWhitelistResponse BulkAddToTopicReputerWhitelistResponse + +func (x *BulkAddToTopicReputerWhitelistResponse) ProtoReflect() protoreflect.Message { + return (*fastReflection_BulkAddToTopicReputerWhitelistResponse)(x) +} + +func (x *BulkAddToTopicReputerWhitelistResponse) slowProtoReflect() protoreflect.Message { + mi := &file_emissions_v8_tx_proto_msgTypes[72] + 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) +} + +var _fastReflection_BulkAddToTopicReputerWhitelistResponse_messageType fastReflection_BulkAddToTopicReputerWhitelistResponse_messageType +var _ protoreflect.MessageType = fastReflection_BulkAddToTopicReputerWhitelistResponse_messageType{} + +type fastReflection_BulkAddToTopicReputerWhitelistResponse_messageType struct{} + +func (x fastReflection_BulkAddToTopicReputerWhitelistResponse_messageType) Zero() protoreflect.Message { + return (*fastReflection_BulkAddToTopicReputerWhitelistResponse)(nil) +} +func (x fastReflection_BulkAddToTopicReputerWhitelistResponse_messageType) New() protoreflect.Message { + return new(fastReflection_BulkAddToTopicReputerWhitelistResponse) +} +func (x fastReflection_BulkAddToTopicReputerWhitelistResponse_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_BulkAddToTopicReputerWhitelistResponse +} + +// Descriptor returns message descriptor, which contains only the protobuf +// type information for the message. +func (x *fastReflection_BulkAddToTopicReputerWhitelistResponse) Descriptor() protoreflect.MessageDescriptor { + return md_BulkAddToTopicReputerWhitelistResponse +} + +// Type returns the message type, which encapsulates both Go and protobuf +// type information. If the Go type information is not needed, +// it is recommended that the message descriptor be used instead. +func (x *fastReflection_BulkAddToTopicReputerWhitelistResponse) Type() protoreflect.MessageType { + return _fastReflection_BulkAddToTopicReputerWhitelistResponse_messageType +} + +// New returns a newly allocated and mutable empty message. +func (x *fastReflection_BulkAddToTopicReputerWhitelistResponse) New() protoreflect.Message { + return new(fastReflection_BulkAddToTopicReputerWhitelistResponse) +} + +// Interface unwraps the message reflection interface and +// returns the underlying ProtoMessage interface. +func (x *fastReflection_BulkAddToTopicReputerWhitelistResponse) Interface() protoreflect.ProtoMessage { + return (*BulkAddToTopicReputerWhitelistResponse)(x) +} + +// Range iterates over every populated field in an undefined order, +// calling f for each field descriptor and value encountered. +// Range returns immediately if f returns false. +// While iterating, mutating operations may only be performed +// on the current field descriptor. +func (x *fastReflection_BulkAddToTopicReputerWhitelistResponse) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { +} + +// Has reports whether a field is populated. +// +// Some fields have the property of nullability where it is possible to +// distinguish between the default value of a field and whether the field +// was explicitly populated with the default value. Singular message fields, +// member fields of a oneof, and proto2 scalar fields are nullable. Such +// fields are populated only if explicitly set. +// +// In other cases (aside from the nullable cases above), +// a proto3 scalar field is populated if it contains a non-zero value, and +// a repeated field is populated if it is non-empty. +func (x *fastReflection_BulkAddToTopicReputerWhitelistResponse) Has(fd protoreflect.FieldDescriptor) bool { + switch fd.FullName() { + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.BulkAddToTopicReputerWhitelistResponse")) + } + panic(fmt.Errorf("message emissions.v8.BulkAddToTopicReputerWhitelistResponse does not contain field %s", fd.FullName())) + } +} + +// Clear clears the field such that a subsequent Has call reports false. +// +// Clearing an extension field clears both the extension type and value +// associated with the given field number. +// +// Clear is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_BulkAddToTopicReputerWhitelistResponse) Clear(fd protoreflect.FieldDescriptor) { + switch fd.FullName() { + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.BulkAddToTopicReputerWhitelistResponse")) + } + panic(fmt.Errorf("message emissions.v8.BulkAddToTopicReputerWhitelistResponse does not contain field %s", fd.FullName())) + } +} + +// Get retrieves the value for a field. +// +// For unpopulated scalars, it returns the default value, where +// the default value of a bytes scalar is guaranteed to be a copy. +// For unpopulated composite types, it returns an empty, read-only view +// of the value; to obtain a mutable reference, use Mutable. +func (x *fastReflection_BulkAddToTopicReputerWhitelistResponse) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { + switch descriptor.FullName() { + default: + if descriptor.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.BulkAddToTopicReputerWhitelistResponse")) + } + panic(fmt.Errorf("message emissions.v8.BulkAddToTopicReputerWhitelistResponse does not contain field %s", descriptor.FullName())) + } +} + +// Set stores the value for a field. +// +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType. +// When setting a composite type, it is unspecified whether the stored value +// aliases the source's memory in any way. If the composite value is an +// empty, read-only value, then it panics. +// +// Set is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_BulkAddToTopicReputerWhitelistResponse) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { + switch fd.FullName() { + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.BulkAddToTopicReputerWhitelistResponse")) + } + panic(fmt.Errorf("message emissions.v8.BulkAddToTopicReputerWhitelistResponse does not contain field %s", fd.FullName())) + } +} + +// Mutable returns a mutable reference to a composite type. +// +// If the field is unpopulated, it may allocate a composite value. +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType +// if not already stored. +// It panics if the field does not contain a composite type. +// +// Mutable is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_BulkAddToTopicReputerWhitelistResponse) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.BulkAddToTopicReputerWhitelistResponse")) + } + panic(fmt.Errorf("message emissions.v8.BulkAddToTopicReputerWhitelistResponse does not contain field %s", fd.FullName())) + } +} + +// NewField returns a new value that is assignable to the field +// for the given descriptor. For scalars, this returns the default value. +// For lists, maps, and messages, this returns a new, empty, mutable value. +func (x *fastReflection_BulkAddToTopicReputerWhitelistResponse) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.BulkAddToTopicReputerWhitelistResponse")) + } + panic(fmt.Errorf("message emissions.v8.BulkAddToTopicReputerWhitelistResponse does not contain field %s", fd.FullName())) + } +} + +// WhichOneof reports which field within the oneof is populated, +// returning nil if none are populated. +// It panics if the oneof descriptor does not belong to this message. +func (x *fastReflection_BulkAddToTopicReputerWhitelistResponse) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { + switch d.FullName() { + default: + panic(fmt.Errorf("%s is not a oneof field in emissions.v8.BulkAddToTopicReputerWhitelistResponse", d.FullName())) + } + panic("unreachable") +} + +// GetUnknown retrieves the entire list of unknown fields. +// The caller may only mutate the contents of the RawFields +// if the mutated bytes are stored back into the message with SetUnknown. +func (x *fastReflection_BulkAddToTopicReputerWhitelistResponse) GetUnknown() protoreflect.RawFields { + return x.unknownFields +} + +// SetUnknown stores an entire list of unknown fields. +// The raw fields must be syntactically valid according to the wire format. +// An implementation may panic if this is not the case. +// Once stored, the caller must not mutate the content of the RawFields. +// An empty RawFields may be passed to clear the fields. +// +// SetUnknown is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_BulkAddToTopicReputerWhitelistResponse) SetUnknown(fields protoreflect.RawFields) { + x.unknownFields = fields +} + +// IsValid reports whether the message is valid. +// +// An invalid message is an empty, read-only value. +// +// An invalid message often corresponds to a nil pointer of the concrete +// message type, but the details are implementation dependent. +// Validity is not part of the protobuf data model, and may not +// be preserved in marshaling or other operations. +func (x *fastReflection_BulkAddToTopicReputerWhitelistResponse) IsValid() bool { + return x != nil +} + +// ProtoMethods returns optional fastReflectionFeature-path implementations of various operations. +// This method may return nil. +// +// The returned methods type is identical to +// "google.golang.org/protobuf/runtime/protoiface".Methods. +// Consult the protoiface package documentation for details. +func (x *fastReflection_BulkAddToTopicReputerWhitelistResponse) ProtoMethods() *protoiface.Methods { + size := func(input protoiface.SizeInput) protoiface.SizeOutput { + x := input.Message.Interface().(*BulkAddToTopicReputerWhitelistResponse) + if x == nil { + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: 0, + } + } + options := runtime.SizeInputToOptions(input) + _ = options + var n int + var l int + _ = l + if x.unknownFields != nil { + n += len(x.unknownFields) + } + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: n, + } + } + + marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { + x := input.Message.Interface().(*BulkAddToTopicReputerWhitelistResponse) + if x == nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + options := runtime.MarshalInputToOptions(input) + _ = options + size := options.Size(x) + dAtA := make([]byte, size) + i := len(dAtA) + _ = i + var l int + _ = l + if x.unknownFields != nil { + i -= len(x.unknownFields) + copy(dAtA[i:], x.unknownFields) + } + if input.Buf != nil { + input.Buf = append(input.Buf, dAtA...) + } else { + input.Buf = dAtA + } + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { + x := input.Message.Interface().(*BulkAddToTopicReputerWhitelistResponse) + if x == nil { + return protoiface.UnmarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Flags: input.Flags, + }, nil + } + options := runtime.UnmarshalInputToOptions(input) + _ = options + dAtA := input.Buf + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: BulkAddToTopicReputerWhitelistResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: BulkAddToTopicReputerWhitelistResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + default: + iNdEx = preIndex + skippy, err := runtime.Skip(dAtA[iNdEx:]) + if err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if (iNdEx + skippy) > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + if !options.DiscardUnknown { + x.unknownFields = append(x.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + } + iNdEx += skippy + } + } + + if iNdEx > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, nil + } + return &protoiface.Methods{ + NoUnkeyedLiterals: struct{}{}, + Flags: protoiface.SupportMarshalDeterministic | protoiface.SupportUnmarshalDiscardUnknown, + Size: size, + Marshal: marshal, + Unmarshal: unmarshal, + Merge: nil, + CheckInitialized: nil, + } +} + +var _ protoreflect.List = (*_BulkRemoveFromTopicReputerWhitelistRequest_2_list)(nil) + +type _BulkRemoveFromTopicReputerWhitelistRequest_2_list struct { + list *[]string +} + +func (x *_BulkRemoveFromTopicReputerWhitelistRequest_2_list) Len() int { + if x.list == nil { + return 0 + } + return len(*x.list) +} + +func (x *_BulkRemoveFromTopicReputerWhitelistRequest_2_list) Get(i int) protoreflect.Value { + return protoreflect.ValueOfString((*x.list)[i]) +} + +func (x *_BulkRemoveFromTopicReputerWhitelistRequest_2_list) Set(i int, value protoreflect.Value) { + valueUnwrapped := value.String() + concreteValue := valueUnwrapped + (*x.list)[i] = concreteValue +} + +func (x *_BulkRemoveFromTopicReputerWhitelistRequest_2_list) Append(value protoreflect.Value) { + valueUnwrapped := value.String() + concreteValue := valueUnwrapped + *x.list = append(*x.list, concreteValue) +} + +func (x *_BulkRemoveFromTopicReputerWhitelistRequest_2_list) AppendMutable() protoreflect.Value { + panic(fmt.Errorf("AppendMutable can not be called on message BulkRemoveFromTopicReputerWhitelistRequest at list field Addresses as it is not of Message kind")) +} + +func (x *_BulkRemoveFromTopicReputerWhitelistRequest_2_list) Truncate(n int) { + *x.list = (*x.list)[:n] +} + +func (x *_BulkRemoveFromTopicReputerWhitelistRequest_2_list) NewElement() protoreflect.Value { + v := "" + return protoreflect.ValueOfString(v) +} + +func (x *_BulkRemoveFromTopicReputerWhitelistRequest_2_list) IsValid() bool { + return x.list != nil +} + +var ( + md_BulkRemoveFromTopicReputerWhitelistRequest protoreflect.MessageDescriptor + fd_BulkRemoveFromTopicReputerWhitelistRequest_sender protoreflect.FieldDescriptor + fd_BulkRemoveFromTopicReputerWhitelistRequest_addresses protoreflect.FieldDescriptor + fd_BulkRemoveFromTopicReputerWhitelistRequest_topic_id protoreflect.FieldDescriptor +) + +func init() { + file_emissions_v8_tx_proto_init() + md_BulkRemoveFromTopicReputerWhitelistRequest = File_emissions_v8_tx_proto.Messages().ByName("BulkRemoveFromTopicReputerWhitelistRequest") + fd_BulkRemoveFromTopicReputerWhitelistRequest_sender = md_BulkRemoveFromTopicReputerWhitelistRequest.Fields().ByName("sender") + fd_BulkRemoveFromTopicReputerWhitelistRequest_addresses = md_BulkRemoveFromTopicReputerWhitelistRequest.Fields().ByName("addresses") + fd_BulkRemoveFromTopicReputerWhitelistRequest_topic_id = md_BulkRemoveFromTopicReputerWhitelistRequest.Fields().ByName("topic_id") +} + +var _ protoreflect.Message = (*fastReflection_BulkRemoveFromTopicReputerWhitelistRequest)(nil) + +type fastReflection_BulkRemoveFromTopicReputerWhitelistRequest BulkRemoveFromTopicReputerWhitelistRequest + +func (x *BulkRemoveFromTopicReputerWhitelistRequest) ProtoReflect() protoreflect.Message { + return (*fastReflection_BulkRemoveFromTopicReputerWhitelistRequest)(x) +} + +func (x *BulkRemoveFromTopicReputerWhitelistRequest) slowProtoReflect() protoreflect.Message { + mi := &file_emissions_v8_tx_proto_msgTypes[73] + 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) +} + +var _fastReflection_BulkRemoveFromTopicReputerWhitelistRequest_messageType fastReflection_BulkRemoveFromTopicReputerWhitelistRequest_messageType +var _ protoreflect.MessageType = fastReflection_BulkRemoveFromTopicReputerWhitelistRequest_messageType{} + +type fastReflection_BulkRemoveFromTopicReputerWhitelistRequest_messageType struct{} + +func (x fastReflection_BulkRemoveFromTopicReputerWhitelistRequest_messageType) Zero() protoreflect.Message { + return (*fastReflection_BulkRemoveFromTopicReputerWhitelistRequest)(nil) +} +func (x fastReflection_BulkRemoveFromTopicReputerWhitelistRequest_messageType) New() protoreflect.Message { + return new(fastReflection_BulkRemoveFromTopicReputerWhitelistRequest) +} +func (x fastReflection_BulkRemoveFromTopicReputerWhitelistRequest_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_BulkRemoveFromTopicReputerWhitelistRequest +} + +// Descriptor returns message descriptor, which contains only the protobuf +// type information for the message. +func (x *fastReflection_BulkRemoveFromTopicReputerWhitelistRequest) Descriptor() protoreflect.MessageDescriptor { + return md_BulkRemoveFromTopicReputerWhitelistRequest +} + +// Type returns the message type, which encapsulates both Go and protobuf +// type information. If the Go type information is not needed, +// it is recommended that the message descriptor be used instead. +func (x *fastReflection_BulkRemoveFromTopicReputerWhitelistRequest) Type() protoreflect.MessageType { + return _fastReflection_BulkRemoveFromTopicReputerWhitelistRequest_messageType +} + +// New returns a newly allocated and mutable empty message. +func (x *fastReflection_BulkRemoveFromTopicReputerWhitelistRequest) New() protoreflect.Message { + return new(fastReflection_BulkRemoveFromTopicReputerWhitelistRequest) +} + +// Interface unwraps the message reflection interface and +// returns the underlying ProtoMessage interface. +func (x *fastReflection_BulkRemoveFromTopicReputerWhitelistRequest) Interface() protoreflect.ProtoMessage { + return (*BulkRemoveFromTopicReputerWhitelistRequest)(x) +} + +// Range iterates over every populated field in an undefined order, +// calling f for each field descriptor and value encountered. +// Range returns immediately if f returns false. +// While iterating, mutating operations may only be performed +// on the current field descriptor. +func (x *fastReflection_BulkRemoveFromTopicReputerWhitelistRequest) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { + if x.Sender != "" { + value := protoreflect.ValueOfString(x.Sender) + if !f(fd_BulkRemoveFromTopicReputerWhitelistRequest_sender, value) { + return + } + } + if len(x.Addresses) != 0 { + value := protoreflect.ValueOfList(&_BulkRemoveFromTopicReputerWhitelistRequest_2_list{list: &x.Addresses}) + if !f(fd_BulkRemoveFromTopicReputerWhitelistRequest_addresses, value) { + return + } + } + if x.TopicId != uint64(0) { + value := protoreflect.ValueOfUint64(x.TopicId) + if !f(fd_BulkRemoveFromTopicReputerWhitelistRequest_topic_id, value) { + return + } + } +} + +// Has reports whether a field is populated. +// +// Some fields have the property of nullability where it is possible to +// distinguish between the default value of a field and whether the field +// was explicitly populated with the default value. Singular message fields, +// member fields of a oneof, and proto2 scalar fields are nullable. Such +// fields are populated only if explicitly set. +// +// In other cases (aside from the nullable cases above), +// a proto3 scalar field is populated if it contains a non-zero value, and +// a repeated field is populated if it is non-empty. +func (x *fastReflection_BulkRemoveFromTopicReputerWhitelistRequest) Has(fd protoreflect.FieldDescriptor) bool { + switch fd.FullName() { + case "emissions.v8.BulkRemoveFromTopicReputerWhitelistRequest.sender": + return x.Sender != "" + case "emissions.v8.BulkRemoveFromTopicReputerWhitelistRequest.addresses": + return len(x.Addresses) != 0 + case "emissions.v8.BulkRemoveFromTopicReputerWhitelistRequest.topic_id": + return x.TopicId != uint64(0) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.BulkRemoveFromTopicReputerWhitelistRequest")) + } + panic(fmt.Errorf("message emissions.v8.BulkRemoveFromTopicReputerWhitelistRequest does not contain field %s", fd.FullName())) + } +} + +// Clear clears the field such that a subsequent Has call reports false. +// +// Clearing an extension field clears both the extension type and value +// associated with the given field number. +// +// Clear is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_BulkRemoveFromTopicReputerWhitelistRequest) Clear(fd protoreflect.FieldDescriptor) { + switch fd.FullName() { + case "emissions.v8.BulkRemoveFromTopicReputerWhitelistRequest.sender": + x.Sender = "" + case "emissions.v8.BulkRemoveFromTopicReputerWhitelistRequest.addresses": + x.Addresses = nil + case "emissions.v8.BulkRemoveFromTopicReputerWhitelistRequest.topic_id": + x.TopicId = uint64(0) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.BulkRemoveFromTopicReputerWhitelistRequest")) + } + panic(fmt.Errorf("message emissions.v8.BulkRemoveFromTopicReputerWhitelistRequest does not contain field %s", fd.FullName())) + } +} + +// Get retrieves the value for a field. +// +// For unpopulated scalars, it returns the default value, where +// the default value of a bytes scalar is guaranteed to be a copy. +// For unpopulated composite types, it returns an empty, read-only view +// of the value; to obtain a mutable reference, use Mutable. +func (x *fastReflection_BulkRemoveFromTopicReputerWhitelistRequest) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { + switch descriptor.FullName() { + case "emissions.v8.BulkRemoveFromTopicReputerWhitelistRequest.sender": + value := x.Sender + return protoreflect.ValueOfString(value) + case "emissions.v8.BulkRemoveFromTopicReputerWhitelistRequest.addresses": + if len(x.Addresses) == 0 { + return protoreflect.ValueOfList(&_BulkRemoveFromTopicReputerWhitelistRequest_2_list{}) + } + listValue := &_BulkRemoveFromTopicReputerWhitelistRequest_2_list{list: &x.Addresses} + return protoreflect.ValueOfList(listValue) + case "emissions.v8.BulkRemoveFromTopicReputerWhitelistRequest.topic_id": + value := x.TopicId + return protoreflect.ValueOfUint64(value) + default: + if descriptor.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.BulkRemoveFromTopicReputerWhitelistRequest")) + } + panic(fmt.Errorf("message emissions.v8.BulkRemoveFromTopicReputerWhitelistRequest does not contain field %s", descriptor.FullName())) + } +} + +// Set stores the value for a field. +// +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType. +// When setting a composite type, it is unspecified whether the stored value +// aliases the source's memory in any way. If the composite value is an +// empty, read-only value, then it panics. +// +// Set is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_BulkRemoveFromTopicReputerWhitelistRequest) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { + switch fd.FullName() { + case "emissions.v8.BulkRemoveFromTopicReputerWhitelistRequest.sender": + x.Sender = value.Interface().(string) + case "emissions.v8.BulkRemoveFromTopicReputerWhitelistRequest.addresses": + lv := value.List() + clv := lv.(*_BulkRemoveFromTopicReputerWhitelistRequest_2_list) + x.Addresses = *clv.list + case "emissions.v8.BulkRemoveFromTopicReputerWhitelistRequest.topic_id": + x.TopicId = value.Uint() + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.BulkRemoveFromTopicReputerWhitelistRequest")) + } + panic(fmt.Errorf("message emissions.v8.BulkRemoveFromTopicReputerWhitelistRequest does not contain field %s", fd.FullName())) + } +} + +// Mutable returns a mutable reference to a composite type. +// +// If the field is unpopulated, it may allocate a composite value. +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType +// if not already stored. +// It panics if the field does not contain a composite type. +// +// Mutable is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_BulkRemoveFromTopicReputerWhitelistRequest) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.BulkRemoveFromTopicReputerWhitelistRequest.addresses": + if x.Addresses == nil { + x.Addresses = []string{} + } + value := &_BulkRemoveFromTopicReputerWhitelistRequest_2_list{list: &x.Addresses} + return protoreflect.ValueOfList(value) + case "emissions.v8.BulkRemoveFromTopicReputerWhitelistRequest.sender": + panic(fmt.Errorf("field sender of message emissions.v8.BulkRemoveFromTopicReputerWhitelistRequest is not mutable")) + case "emissions.v8.BulkRemoveFromTopicReputerWhitelistRequest.topic_id": + panic(fmt.Errorf("field topic_id of message emissions.v8.BulkRemoveFromTopicReputerWhitelistRequest is not mutable")) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.BulkRemoveFromTopicReputerWhitelistRequest")) + } + panic(fmt.Errorf("message emissions.v8.BulkRemoveFromTopicReputerWhitelistRequest does not contain field %s", fd.FullName())) + } +} + +// NewField returns a new value that is assignable to the field +// for the given descriptor. For scalars, this returns the default value. +// For lists, maps, and messages, this returns a new, empty, mutable value. +func (x *fastReflection_BulkRemoveFromTopicReputerWhitelistRequest) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.BulkRemoveFromTopicReputerWhitelistRequest.sender": + return protoreflect.ValueOfString("") + case "emissions.v8.BulkRemoveFromTopicReputerWhitelistRequest.addresses": + list := []string{} + return protoreflect.ValueOfList(&_BulkRemoveFromTopicReputerWhitelistRequest_2_list{list: &list}) + case "emissions.v8.BulkRemoveFromTopicReputerWhitelistRequest.topic_id": + return protoreflect.ValueOfUint64(uint64(0)) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.BulkRemoveFromTopicReputerWhitelistRequest")) + } + panic(fmt.Errorf("message emissions.v8.BulkRemoveFromTopicReputerWhitelistRequest does not contain field %s", fd.FullName())) + } +} + +// WhichOneof reports which field within the oneof is populated, +// returning nil if none are populated. +// It panics if the oneof descriptor does not belong to this message. +func (x *fastReflection_BulkRemoveFromTopicReputerWhitelistRequest) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { + switch d.FullName() { + default: + panic(fmt.Errorf("%s is not a oneof field in emissions.v8.BulkRemoveFromTopicReputerWhitelistRequest", d.FullName())) + } + panic("unreachable") +} + +// GetUnknown retrieves the entire list of unknown fields. +// The caller may only mutate the contents of the RawFields +// if the mutated bytes are stored back into the message with SetUnknown. +func (x *fastReflection_BulkRemoveFromTopicReputerWhitelistRequest) GetUnknown() protoreflect.RawFields { + return x.unknownFields +} + +// SetUnknown stores an entire list of unknown fields. +// The raw fields must be syntactically valid according to the wire format. +// An implementation may panic if this is not the case. +// Once stored, the caller must not mutate the content of the RawFields. +// An empty RawFields may be passed to clear the fields. +// +// SetUnknown is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_BulkRemoveFromTopicReputerWhitelistRequest) SetUnknown(fields protoreflect.RawFields) { + x.unknownFields = fields +} + +// IsValid reports whether the message is valid. +// +// An invalid message is an empty, read-only value. +// +// An invalid message often corresponds to a nil pointer of the concrete +// message type, but the details are implementation dependent. +// Validity is not part of the protobuf data model, and may not +// be preserved in marshaling or other operations. +func (x *fastReflection_BulkRemoveFromTopicReputerWhitelistRequest) IsValid() bool { + return x != nil +} + +// ProtoMethods returns optional fastReflectionFeature-path implementations of various operations. +// This method may return nil. +// +// The returned methods type is identical to +// "google.golang.org/protobuf/runtime/protoiface".Methods. +// Consult the protoiface package documentation for details. +func (x *fastReflection_BulkRemoveFromTopicReputerWhitelistRequest) ProtoMethods() *protoiface.Methods { + size := func(input protoiface.SizeInput) protoiface.SizeOutput { + x := input.Message.Interface().(*BulkRemoveFromTopicReputerWhitelistRequest) + if x == nil { + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: 0, + } + } + options := runtime.SizeInputToOptions(input) + _ = options + var n int + var l int + _ = l + l = len(x.Sender) + if l > 0 { + n += 1 + l + runtime.Sov(uint64(l)) + } + if len(x.Addresses) > 0 { + for _, s := range x.Addresses { + l = len(s) + n += 1 + l + runtime.Sov(uint64(l)) + } + } + if x.TopicId != 0 { + n += 1 + runtime.Sov(uint64(x.TopicId)) + } + if x.unknownFields != nil { + n += len(x.unknownFields) + } + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: n, + } + } + + marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { + x := input.Message.Interface().(*BulkRemoveFromTopicReputerWhitelistRequest) + if x == nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + options := runtime.MarshalInputToOptions(input) + _ = options + size := options.Size(x) + dAtA := make([]byte, size) + i := len(dAtA) + _ = i + var l int + _ = l + if x.unknownFields != nil { + i -= len(x.unknownFields) + copy(dAtA[i:], x.unknownFields) + } + if x.TopicId != 0 { + i = runtime.EncodeVarint(dAtA, i, uint64(x.TopicId)) + i-- + dAtA[i] = 0x18 + } + if len(x.Addresses) > 0 { + for iNdEx := len(x.Addresses) - 1; iNdEx >= 0; iNdEx-- { + i -= len(x.Addresses[iNdEx]) + copy(dAtA[i:], x.Addresses[iNdEx]) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.Addresses[iNdEx]))) + i-- + dAtA[i] = 0x12 + } + } + if len(x.Sender) > 0 { + i -= len(x.Sender) + copy(dAtA[i:], x.Sender) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.Sender))) + i-- + dAtA[i] = 0xa + } + if input.Buf != nil { + input.Buf = append(input.Buf, dAtA...) + } else { + input.Buf = dAtA + } + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { + x := input.Message.Interface().(*BulkRemoveFromTopicReputerWhitelistRequest) + if x == nil { + return protoiface.UnmarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Flags: input.Flags, + }, nil + } + options := runtime.UnmarshalInputToOptions(input) + _ = options + dAtA := input.Buf + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: BulkRemoveFromTopicReputerWhitelistRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: BulkRemoveFromTopicReputerWhitelistRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Sender", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + x.Sender = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Addresses", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + x.Addresses = append(x.Addresses, string(dAtA[iNdEx:postIndex])) + iNdEx = postIndex + case 3: + if wireType != 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field TopicId", wireType) + } + x.TopicId = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + x.TopicId |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + default: + iNdEx = preIndex + skippy, err := runtime.Skip(dAtA[iNdEx:]) + if err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if (iNdEx + skippy) > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + if !options.DiscardUnknown { + x.unknownFields = append(x.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + } + iNdEx += skippy + } + } + + if iNdEx > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, nil + } + return &protoiface.Methods{ + NoUnkeyedLiterals: struct{}{}, + Flags: protoiface.SupportMarshalDeterministic | protoiface.SupportUnmarshalDiscardUnknown, + Size: size, + Marshal: marshal, + Unmarshal: unmarshal, + Merge: nil, + CheckInitialized: nil, + } +} + +var ( + md_BulkRemoveFromTopicReputerWhitelistResponse protoreflect.MessageDescriptor +) + +func init() { + file_emissions_v8_tx_proto_init() + md_BulkRemoveFromTopicReputerWhitelistResponse = File_emissions_v8_tx_proto.Messages().ByName("BulkRemoveFromTopicReputerWhitelistResponse") +} + +var _ protoreflect.Message = (*fastReflection_BulkRemoveFromTopicReputerWhitelistResponse)(nil) + +type fastReflection_BulkRemoveFromTopicReputerWhitelistResponse BulkRemoveFromTopicReputerWhitelistResponse + +func (x *BulkRemoveFromTopicReputerWhitelistResponse) ProtoReflect() protoreflect.Message { + return (*fastReflection_BulkRemoveFromTopicReputerWhitelistResponse)(x) +} + +func (x *BulkRemoveFromTopicReputerWhitelistResponse) slowProtoReflect() protoreflect.Message { + mi := &file_emissions_v8_tx_proto_msgTypes[74] + 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) +} + +var _fastReflection_BulkRemoveFromTopicReputerWhitelistResponse_messageType fastReflection_BulkRemoveFromTopicReputerWhitelistResponse_messageType +var _ protoreflect.MessageType = fastReflection_BulkRemoveFromTopicReputerWhitelistResponse_messageType{} + +type fastReflection_BulkRemoveFromTopicReputerWhitelistResponse_messageType struct{} + +func (x fastReflection_BulkRemoveFromTopicReputerWhitelistResponse_messageType) Zero() protoreflect.Message { + return (*fastReflection_BulkRemoveFromTopicReputerWhitelistResponse)(nil) +} +func (x fastReflection_BulkRemoveFromTopicReputerWhitelistResponse_messageType) New() protoreflect.Message { + return new(fastReflection_BulkRemoveFromTopicReputerWhitelistResponse) +} +func (x fastReflection_BulkRemoveFromTopicReputerWhitelistResponse_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_BulkRemoveFromTopicReputerWhitelistResponse +} + +// Descriptor returns message descriptor, which contains only the protobuf +// type information for the message. +func (x *fastReflection_BulkRemoveFromTopicReputerWhitelistResponse) Descriptor() protoreflect.MessageDescriptor { + return md_BulkRemoveFromTopicReputerWhitelistResponse +} + +// Type returns the message type, which encapsulates both Go and protobuf +// type information. If the Go type information is not needed, +// it is recommended that the message descriptor be used instead. +func (x *fastReflection_BulkRemoveFromTopicReputerWhitelistResponse) Type() protoreflect.MessageType { + return _fastReflection_BulkRemoveFromTopicReputerWhitelistResponse_messageType +} + +// New returns a newly allocated and mutable empty message. +func (x *fastReflection_BulkRemoveFromTopicReputerWhitelistResponse) New() protoreflect.Message { + return new(fastReflection_BulkRemoveFromTopicReputerWhitelistResponse) +} + +// Interface unwraps the message reflection interface and +// returns the underlying ProtoMessage interface. +func (x *fastReflection_BulkRemoveFromTopicReputerWhitelistResponse) Interface() protoreflect.ProtoMessage { + return (*BulkRemoveFromTopicReputerWhitelistResponse)(x) +} + +// Range iterates over every populated field in an undefined order, +// calling f for each field descriptor and value encountered. +// Range returns immediately if f returns false. +// While iterating, mutating operations may only be performed +// on the current field descriptor. +func (x *fastReflection_BulkRemoveFromTopicReputerWhitelistResponse) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { +} + +// Has reports whether a field is populated. +// +// Some fields have the property of nullability where it is possible to +// distinguish between the default value of a field and whether the field +// was explicitly populated with the default value. Singular message fields, +// member fields of a oneof, and proto2 scalar fields are nullable. Such +// fields are populated only if explicitly set. +// +// In other cases (aside from the nullable cases above), +// a proto3 scalar field is populated if it contains a non-zero value, and +// a repeated field is populated if it is non-empty. +func (x *fastReflection_BulkRemoveFromTopicReputerWhitelistResponse) Has(fd protoreflect.FieldDescriptor) bool { + switch fd.FullName() { + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.BulkRemoveFromTopicReputerWhitelistResponse")) + } + panic(fmt.Errorf("message emissions.v8.BulkRemoveFromTopicReputerWhitelistResponse does not contain field %s", fd.FullName())) + } +} + +// Clear clears the field such that a subsequent Has call reports false. +// +// Clearing an extension field clears both the extension type and value +// associated with the given field number. +// +// Clear is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_BulkRemoveFromTopicReputerWhitelistResponse) Clear(fd protoreflect.FieldDescriptor) { + switch fd.FullName() { + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.BulkRemoveFromTopicReputerWhitelistResponse")) + } + panic(fmt.Errorf("message emissions.v8.BulkRemoveFromTopicReputerWhitelistResponse does not contain field %s", fd.FullName())) + } +} + +// Get retrieves the value for a field. +// +// For unpopulated scalars, it returns the default value, where +// the default value of a bytes scalar is guaranteed to be a copy. +// For unpopulated composite types, it returns an empty, read-only view +// of the value; to obtain a mutable reference, use Mutable. +func (x *fastReflection_BulkRemoveFromTopicReputerWhitelistResponse) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { + switch descriptor.FullName() { + default: + if descriptor.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.BulkRemoveFromTopicReputerWhitelistResponse")) + } + panic(fmt.Errorf("message emissions.v8.BulkRemoveFromTopicReputerWhitelistResponse does not contain field %s", descriptor.FullName())) + } +} + +// Set stores the value for a field. +// +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType. +// When setting a composite type, it is unspecified whether the stored value +// aliases the source's memory in any way. If the composite value is an +// empty, read-only value, then it panics. +// +// Set is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_BulkRemoveFromTopicReputerWhitelistResponse) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { + switch fd.FullName() { + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.BulkRemoveFromTopicReputerWhitelistResponse")) + } + panic(fmt.Errorf("message emissions.v8.BulkRemoveFromTopicReputerWhitelistResponse does not contain field %s", fd.FullName())) + } +} + +// Mutable returns a mutable reference to a composite type. +// +// If the field is unpopulated, it may allocate a composite value. +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType +// if not already stored. +// It panics if the field does not contain a composite type. +// +// Mutable is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_BulkRemoveFromTopicReputerWhitelistResponse) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.BulkRemoveFromTopicReputerWhitelistResponse")) + } + panic(fmt.Errorf("message emissions.v8.BulkRemoveFromTopicReputerWhitelistResponse does not contain field %s", fd.FullName())) + } +} + +// NewField returns a new value that is assignable to the field +// for the given descriptor. For scalars, this returns the default value. +// For lists, maps, and messages, this returns a new, empty, mutable value. +func (x *fastReflection_BulkRemoveFromTopicReputerWhitelistResponse) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.BulkRemoveFromTopicReputerWhitelistResponse")) + } + panic(fmt.Errorf("message emissions.v8.BulkRemoveFromTopicReputerWhitelistResponse does not contain field %s", fd.FullName())) + } +} + +// WhichOneof reports which field within the oneof is populated, +// returning nil if none are populated. +// It panics if the oneof descriptor does not belong to this message. +func (x *fastReflection_BulkRemoveFromTopicReputerWhitelistResponse) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { + switch d.FullName() { + default: + panic(fmt.Errorf("%s is not a oneof field in emissions.v8.BulkRemoveFromTopicReputerWhitelistResponse", d.FullName())) + } + panic("unreachable") +} + +// GetUnknown retrieves the entire list of unknown fields. +// The caller may only mutate the contents of the RawFields +// if the mutated bytes are stored back into the message with SetUnknown. +func (x *fastReflection_BulkRemoveFromTopicReputerWhitelistResponse) GetUnknown() protoreflect.RawFields { + return x.unknownFields +} + +// SetUnknown stores an entire list of unknown fields. +// The raw fields must be syntactically valid according to the wire format. +// An implementation may panic if this is not the case. +// Once stored, the caller must not mutate the content of the RawFields. +// An empty RawFields may be passed to clear the fields. +// +// SetUnknown is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_BulkRemoveFromTopicReputerWhitelistResponse) SetUnknown(fields protoreflect.RawFields) { + x.unknownFields = fields +} + +// IsValid reports whether the message is valid. +// +// An invalid message is an empty, read-only value. +// +// An invalid message often corresponds to a nil pointer of the concrete +// message type, but the details are implementation dependent. +// Validity is not part of the protobuf data model, and may not +// be preserved in marshaling or other operations. +func (x *fastReflection_BulkRemoveFromTopicReputerWhitelistResponse) IsValid() bool { + return x != nil +} + +// ProtoMethods returns optional fastReflectionFeature-path implementations of various operations. +// This method may return nil. +// +// The returned methods type is identical to +// "google.golang.org/protobuf/runtime/protoiface".Methods. +// Consult the protoiface package documentation for details. +func (x *fastReflection_BulkRemoveFromTopicReputerWhitelistResponse) ProtoMethods() *protoiface.Methods { + size := func(input protoiface.SizeInput) protoiface.SizeOutput { + x := input.Message.Interface().(*BulkRemoveFromTopicReputerWhitelistResponse) + if x == nil { + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: 0, + } + } + options := runtime.SizeInputToOptions(input) + _ = options + var n int + var l int + _ = l + if x.unknownFields != nil { + n += len(x.unknownFields) + } + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: n, + } + } + + marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { + x := input.Message.Interface().(*BulkRemoveFromTopicReputerWhitelistResponse) + if x == nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + options := runtime.MarshalInputToOptions(input) + _ = options + size := options.Size(x) + dAtA := make([]byte, size) + i := len(dAtA) + _ = i + var l int + _ = l + if x.unknownFields != nil { + i -= len(x.unknownFields) + copy(dAtA[i:], x.unknownFields) + } + if input.Buf != nil { + input.Buf = append(input.Buf, dAtA...) + } else { + input.Buf = dAtA + } + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { + x := input.Message.Interface().(*BulkRemoveFromTopicReputerWhitelistResponse) + if x == nil { + return protoiface.UnmarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Flags: input.Flags, + }, nil + } + options := runtime.UnmarshalInputToOptions(input) + _ = options + dAtA := input.Buf + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: BulkRemoveFromTopicReputerWhitelistResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: BulkRemoveFromTopicReputerWhitelistResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + default: + iNdEx = preIndex + skippy, err := runtime.Skip(dAtA[iNdEx:]) + if err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if (iNdEx + skippy) > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + if !options.DiscardUnknown { + x.unknownFields = append(x.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + } + iNdEx += skippy + } + } + + if iNdEx > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, nil + } + return &protoiface.Methods{ + NoUnkeyedLiterals: struct{}{}, + Flags: protoiface.SupportMarshalDeterministic | protoiface.SupportUnmarshalDiscardUnknown, + Size: size, + Marshal: marshal, + Unmarshal: unmarshal, + Merge: nil, + CheckInitialized: nil, + } +} + +var ( + md_RemoveFromTopicCreatorWhitelistRequest protoreflect.MessageDescriptor + fd_RemoveFromTopicCreatorWhitelistRequest_sender protoreflect.FieldDescriptor + fd_RemoveFromTopicCreatorWhitelistRequest_address protoreflect.FieldDescriptor +) + +func init() { + file_emissions_v8_tx_proto_init() + md_RemoveFromTopicCreatorWhitelistRequest = File_emissions_v8_tx_proto.Messages().ByName("RemoveFromTopicCreatorWhitelistRequest") + fd_RemoveFromTopicCreatorWhitelistRequest_sender = md_RemoveFromTopicCreatorWhitelistRequest.Fields().ByName("sender") + fd_RemoveFromTopicCreatorWhitelistRequest_address = md_RemoveFromTopicCreatorWhitelistRequest.Fields().ByName("address") +} + +var _ protoreflect.Message = (*fastReflection_RemoveFromTopicCreatorWhitelistRequest)(nil) + +type fastReflection_RemoveFromTopicCreatorWhitelistRequest RemoveFromTopicCreatorWhitelistRequest + +func (x *RemoveFromTopicCreatorWhitelistRequest) ProtoReflect() protoreflect.Message { + return (*fastReflection_RemoveFromTopicCreatorWhitelistRequest)(x) +} + +func (x *RemoveFromTopicCreatorWhitelistRequest) slowProtoReflect() protoreflect.Message { + mi := &file_emissions_v8_tx_proto_msgTypes[75] + 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) +} + +var _fastReflection_RemoveFromTopicCreatorWhitelistRequest_messageType fastReflection_RemoveFromTopicCreatorWhitelistRequest_messageType +var _ protoreflect.MessageType = fastReflection_RemoveFromTopicCreatorWhitelistRequest_messageType{} + +type fastReflection_RemoveFromTopicCreatorWhitelistRequest_messageType struct{} + +func (x fastReflection_RemoveFromTopicCreatorWhitelistRequest_messageType) Zero() protoreflect.Message { + return (*fastReflection_RemoveFromTopicCreatorWhitelistRequest)(nil) +} +func (x fastReflection_RemoveFromTopicCreatorWhitelistRequest_messageType) New() protoreflect.Message { + return new(fastReflection_RemoveFromTopicCreatorWhitelistRequest) +} +func (x fastReflection_RemoveFromTopicCreatorWhitelistRequest_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_RemoveFromTopicCreatorWhitelistRequest +} + +// Descriptor returns message descriptor, which contains only the protobuf +// type information for the message. +func (x *fastReflection_RemoveFromTopicCreatorWhitelistRequest) Descriptor() protoreflect.MessageDescriptor { + return md_RemoveFromTopicCreatorWhitelistRequest +} + +// Type returns the message type, which encapsulates both Go and protobuf +// type information. If the Go type information is not needed, +// it is recommended that the message descriptor be used instead. +func (x *fastReflection_RemoveFromTopicCreatorWhitelistRequest) Type() protoreflect.MessageType { + return _fastReflection_RemoveFromTopicCreatorWhitelistRequest_messageType +} + +// New returns a newly allocated and mutable empty message. +func (x *fastReflection_RemoveFromTopicCreatorWhitelistRequest) New() protoreflect.Message { + return new(fastReflection_RemoveFromTopicCreatorWhitelistRequest) +} + +// Interface unwraps the message reflection interface and +// returns the underlying ProtoMessage interface. +func (x *fastReflection_RemoveFromTopicCreatorWhitelistRequest) Interface() protoreflect.ProtoMessage { + return (*RemoveFromTopicCreatorWhitelistRequest)(x) +} + +// Range iterates over every populated field in an undefined order, +// calling f for each field descriptor and value encountered. +// Range returns immediately if f returns false. +// While iterating, mutating operations may only be performed +// on the current field descriptor. +func (x *fastReflection_RemoveFromTopicCreatorWhitelistRequest) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { + if x.Sender != "" { + value := protoreflect.ValueOfString(x.Sender) + if !f(fd_RemoveFromTopicCreatorWhitelistRequest_sender, value) { + return + } + } + if x.Address != "" { + value := protoreflect.ValueOfString(x.Address) + if !f(fd_RemoveFromTopicCreatorWhitelistRequest_address, value) { + return + } + } +} + +// Has reports whether a field is populated. +// +// Some fields have the property of nullability where it is possible to +// distinguish between the default value of a field and whether the field +// was explicitly populated with the default value. Singular message fields, +// member fields of a oneof, and proto2 scalar fields are nullable. Such +// fields are populated only if explicitly set. +// +// In other cases (aside from the nullable cases above), +// a proto3 scalar field is populated if it contains a non-zero value, and +// a repeated field is populated if it is non-empty. +func (x *fastReflection_RemoveFromTopicCreatorWhitelistRequest) Has(fd protoreflect.FieldDescriptor) bool { + switch fd.FullName() { + case "emissions.v8.RemoveFromTopicCreatorWhitelistRequest.sender": + return x.Sender != "" + case "emissions.v8.RemoveFromTopicCreatorWhitelistRequest.address": + return x.Address != "" + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.RemoveFromTopicCreatorWhitelistRequest")) + } + panic(fmt.Errorf("message emissions.v8.RemoveFromTopicCreatorWhitelistRequest does not contain field %s", fd.FullName())) + } +} + +// Clear clears the field such that a subsequent Has call reports false. +// +// Clearing an extension field clears both the extension type and value +// associated with the given field number. +// +// Clear is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_RemoveFromTopicCreatorWhitelistRequest) Clear(fd protoreflect.FieldDescriptor) { + switch fd.FullName() { + case "emissions.v8.RemoveFromTopicCreatorWhitelistRequest.sender": + x.Sender = "" + case "emissions.v8.RemoveFromTopicCreatorWhitelistRequest.address": + x.Address = "" + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.RemoveFromTopicCreatorWhitelistRequest")) + } + panic(fmt.Errorf("message emissions.v8.RemoveFromTopicCreatorWhitelistRequest does not contain field %s", fd.FullName())) + } +} + +// Get retrieves the value for a field. +// +// For unpopulated scalars, it returns the default value, where +// the default value of a bytes scalar is guaranteed to be a copy. +// For unpopulated composite types, it returns an empty, read-only view +// of the value; to obtain a mutable reference, use Mutable. +func (x *fastReflection_RemoveFromTopicCreatorWhitelistRequest) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { + switch descriptor.FullName() { + case "emissions.v8.RemoveFromTopicCreatorWhitelistRequest.sender": + value := x.Sender + return protoreflect.ValueOfString(value) + case "emissions.v8.RemoveFromTopicCreatorWhitelistRequest.address": + value := x.Address + return protoreflect.ValueOfString(value) + default: + if descriptor.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.RemoveFromTopicCreatorWhitelistRequest")) + } + panic(fmt.Errorf("message emissions.v8.RemoveFromTopicCreatorWhitelistRequest does not contain field %s", descriptor.FullName())) + } +} + +// Set stores the value for a field. +// +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType. +// When setting a composite type, it is unspecified whether the stored value +// aliases the source's memory in any way. If the composite value is an +// empty, read-only value, then it panics. +// +// Set is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_RemoveFromTopicCreatorWhitelistRequest) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { + switch fd.FullName() { + case "emissions.v8.RemoveFromTopicCreatorWhitelistRequest.sender": + x.Sender = value.Interface().(string) + case "emissions.v8.RemoveFromTopicCreatorWhitelistRequest.address": + x.Address = value.Interface().(string) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.RemoveFromTopicCreatorWhitelistRequest")) + } + panic(fmt.Errorf("message emissions.v8.RemoveFromTopicCreatorWhitelistRequest does not contain field %s", fd.FullName())) + } +} + +// Mutable returns a mutable reference to a composite type. +// +// If the field is unpopulated, it may allocate a composite value. +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType +// if not already stored. +// It panics if the field does not contain a composite type. +// +// Mutable is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_RemoveFromTopicCreatorWhitelistRequest) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.RemoveFromTopicCreatorWhitelistRequest.sender": + panic(fmt.Errorf("field sender of message emissions.v8.RemoveFromTopicCreatorWhitelistRequest is not mutable")) + case "emissions.v8.RemoveFromTopicCreatorWhitelistRequest.address": + panic(fmt.Errorf("field address of message emissions.v8.RemoveFromTopicCreatorWhitelistRequest is not mutable")) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.RemoveFromTopicCreatorWhitelistRequest")) + } + panic(fmt.Errorf("message emissions.v8.RemoveFromTopicCreatorWhitelistRequest does not contain field %s", fd.FullName())) + } +} + +// NewField returns a new value that is assignable to the field +// for the given descriptor. For scalars, this returns the default value. +// For lists, maps, and messages, this returns a new, empty, mutable value. +func (x *fastReflection_RemoveFromTopicCreatorWhitelistRequest) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.RemoveFromTopicCreatorWhitelistRequest.sender": + return protoreflect.ValueOfString("") + case "emissions.v8.RemoveFromTopicCreatorWhitelistRequest.address": + return protoreflect.ValueOfString("") + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.RemoveFromTopicCreatorWhitelistRequest")) + } + panic(fmt.Errorf("message emissions.v8.RemoveFromTopicCreatorWhitelistRequest does not contain field %s", fd.FullName())) + } +} + +// WhichOneof reports which field within the oneof is populated, +// returning nil if none are populated. +// It panics if the oneof descriptor does not belong to this message. +func (x *fastReflection_RemoveFromTopicCreatorWhitelistRequest) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { + switch d.FullName() { + default: + panic(fmt.Errorf("%s is not a oneof field in emissions.v8.RemoveFromTopicCreatorWhitelistRequest", d.FullName())) + } + panic("unreachable") +} + +// GetUnknown retrieves the entire list of unknown fields. +// The caller may only mutate the contents of the RawFields +// if the mutated bytes are stored back into the message with SetUnknown. +func (x *fastReflection_RemoveFromTopicCreatorWhitelistRequest) GetUnknown() protoreflect.RawFields { + return x.unknownFields +} + +// SetUnknown stores an entire list of unknown fields. +// The raw fields must be syntactically valid according to the wire format. +// An implementation may panic if this is not the case. +// Once stored, the caller must not mutate the content of the RawFields. +// An empty RawFields may be passed to clear the fields. +// +// SetUnknown is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_RemoveFromTopicCreatorWhitelistRequest) SetUnknown(fields protoreflect.RawFields) { + x.unknownFields = fields +} + +// IsValid reports whether the message is valid. +// +// An invalid message is an empty, read-only value. +// +// An invalid message often corresponds to a nil pointer of the concrete +// message type, but the details are implementation dependent. +// Validity is not part of the protobuf data model, and may not +// be preserved in marshaling or other operations. +func (x *fastReflection_RemoveFromTopicCreatorWhitelistRequest) IsValid() bool { + return x != nil +} + +// ProtoMethods returns optional fastReflectionFeature-path implementations of various operations. +// This method may return nil. +// +// The returned methods type is identical to +// "google.golang.org/protobuf/runtime/protoiface".Methods. +// Consult the protoiface package documentation for details. +func (x *fastReflection_RemoveFromTopicCreatorWhitelistRequest) ProtoMethods() *protoiface.Methods { + size := func(input protoiface.SizeInput) protoiface.SizeOutput { + x := input.Message.Interface().(*RemoveFromTopicCreatorWhitelistRequest) + if x == nil { + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: 0, + } + } + options := runtime.SizeInputToOptions(input) + _ = options + var n int + var l int + _ = l + l = len(x.Sender) + if l > 0 { + n += 1 + l + runtime.Sov(uint64(l)) + } + l = len(x.Address) + if l > 0 { + n += 1 + l + runtime.Sov(uint64(l)) + } + if x.unknownFields != nil { + n += len(x.unknownFields) + } + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: n, + } + } + + marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { + x := input.Message.Interface().(*RemoveFromTopicCreatorWhitelistRequest) + if x == nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + options := runtime.MarshalInputToOptions(input) + _ = options + size := options.Size(x) + dAtA := make([]byte, size) + i := len(dAtA) + _ = i + var l int + _ = l + if x.unknownFields != nil { + i -= len(x.unknownFields) + copy(dAtA[i:], x.unknownFields) + } + if len(x.Address) > 0 { + i -= len(x.Address) + copy(dAtA[i:], x.Address) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.Address))) + i-- + dAtA[i] = 0x12 + } + if len(x.Sender) > 0 { + i -= len(x.Sender) + copy(dAtA[i:], x.Sender) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.Sender))) + i-- + dAtA[i] = 0xa + } + if input.Buf != nil { + input.Buf = append(input.Buf, dAtA...) + } else { + input.Buf = dAtA + } + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { + x := input.Message.Interface().(*RemoveFromTopicCreatorWhitelistRequest) + if x == nil { + return protoiface.UnmarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Flags: input.Flags, + }, nil + } + options := runtime.UnmarshalInputToOptions(input) + _ = options + dAtA := input.Buf + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: RemoveFromTopicCreatorWhitelistRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: RemoveFromTopicCreatorWhitelistRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Sender", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + x.Sender = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Address", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + x.Address = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := runtime.Skip(dAtA[iNdEx:]) + if err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if (iNdEx + skippy) > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + if !options.DiscardUnknown { + x.unknownFields = append(x.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + } + iNdEx += skippy + } + } + + if iNdEx > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, nil + } + return &protoiface.Methods{ + NoUnkeyedLiterals: struct{}{}, + Flags: protoiface.SupportMarshalDeterministic | protoiface.SupportUnmarshalDiscardUnknown, + Size: size, + Marshal: marshal, + Unmarshal: unmarshal, + Merge: nil, + CheckInitialized: nil, + } +} + +var ( + md_RemoveFromTopicCreatorWhitelistResponse protoreflect.MessageDescriptor +) + +func init() { + file_emissions_v8_tx_proto_init() + md_RemoveFromTopicCreatorWhitelistResponse = File_emissions_v8_tx_proto.Messages().ByName("RemoveFromTopicCreatorWhitelistResponse") +} + +var _ protoreflect.Message = (*fastReflection_RemoveFromTopicCreatorWhitelistResponse)(nil) + +type fastReflection_RemoveFromTopicCreatorWhitelistResponse RemoveFromTopicCreatorWhitelistResponse + +func (x *RemoveFromTopicCreatorWhitelistResponse) ProtoReflect() protoreflect.Message { + return (*fastReflection_RemoveFromTopicCreatorWhitelistResponse)(x) +} + +func (x *RemoveFromTopicCreatorWhitelistResponse) slowProtoReflect() protoreflect.Message { + mi := &file_emissions_v8_tx_proto_msgTypes[76] + 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) +} + +var _fastReflection_RemoveFromTopicCreatorWhitelistResponse_messageType fastReflection_RemoveFromTopicCreatorWhitelistResponse_messageType +var _ protoreflect.MessageType = fastReflection_RemoveFromTopicCreatorWhitelistResponse_messageType{} + +type fastReflection_RemoveFromTopicCreatorWhitelistResponse_messageType struct{} + +func (x fastReflection_RemoveFromTopicCreatorWhitelistResponse_messageType) Zero() protoreflect.Message { + return (*fastReflection_RemoveFromTopicCreatorWhitelistResponse)(nil) +} +func (x fastReflection_RemoveFromTopicCreatorWhitelistResponse_messageType) New() protoreflect.Message { + return new(fastReflection_RemoveFromTopicCreatorWhitelistResponse) +} +func (x fastReflection_RemoveFromTopicCreatorWhitelistResponse_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_RemoveFromTopicCreatorWhitelistResponse +} + +// Descriptor returns message descriptor, which contains only the protobuf +// type information for the message. +func (x *fastReflection_RemoveFromTopicCreatorWhitelistResponse) Descriptor() protoreflect.MessageDescriptor { + return md_RemoveFromTopicCreatorWhitelistResponse +} + +// Type returns the message type, which encapsulates both Go and protobuf +// type information. If the Go type information is not needed, +// it is recommended that the message descriptor be used instead. +func (x *fastReflection_RemoveFromTopicCreatorWhitelistResponse) Type() protoreflect.MessageType { + return _fastReflection_RemoveFromTopicCreatorWhitelistResponse_messageType +} + +// New returns a newly allocated and mutable empty message. +func (x *fastReflection_RemoveFromTopicCreatorWhitelistResponse) New() protoreflect.Message { + return new(fastReflection_RemoveFromTopicCreatorWhitelistResponse) +} + +// Interface unwraps the message reflection interface and +// returns the underlying ProtoMessage interface. +func (x *fastReflection_RemoveFromTopicCreatorWhitelistResponse) Interface() protoreflect.ProtoMessage { + return (*RemoveFromTopicCreatorWhitelistResponse)(x) +} + +// Range iterates over every populated field in an undefined order, +// calling f for each field descriptor and value encountered. +// Range returns immediately if f returns false. +// While iterating, mutating operations may only be performed +// on the current field descriptor. +func (x *fastReflection_RemoveFromTopicCreatorWhitelistResponse) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { +} + +// Has reports whether a field is populated. +// +// Some fields have the property of nullability where it is possible to +// distinguish between the default value of a field and whether the field +// was explicitly populated with the default value. Singular message fields, +// member fields of a oneof, and proto2 scalar fields are nullable. Such +// fields are populated only if explicitly set. +// +// In other cases (aside from the nullable cases above), +// a proto3 scalar field is populated if it contains a non-zero value, and +// a repeated field is populated if it is non-empty. +func (x *fastReflection_RemoveFromTopicCreatorWhitelistResponse) Has(fd protoreflect.FieldDescriptor) bool { + switch fd.FullName() { + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.RemoveFromTopicCreatorWhitelistResponse")) + } + panic(fmt.Errorf("message emissions.v8.RemoveFromTopicCreatorWhitelistResponse does not contain field %s", fd.FullName())) + } +} + +// Clear clears the field such that a subsequent Has call reports false. +// +// Clearing an extension field clears both the extension type and value +// associated with the given field number. +// +// Clear is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_RemoveFromTopicCreatorWhitelistResponse) Clear(fd protoreflect.FieldDescriptor) { + switch fd.FullName() { + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.RemoveFromTopicCreatorWhitelistResponse")) + } + panic(fmt.Errorf("message emissions.v8.RemoveFromTopicCreatorWhitelistResponse does not contain field %s", fd.FullName())) + } +} + +// Get retrieves the value for a field. +// +// For unpopulated scalars, it returns the default value, where +// the default value of a bytes scalar is guaranteed to be a copy. +// For unpopulated composite types, it returns an empty, read-only view +// of the value; to obtain a mutable reference, use Mutable. +func (x *fastReflection_RemoveFromTopicCreatorWhitelistResponse) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { + switch descriptor.FullName() { + default: + if descriptor.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.RemoveFromTopicCreatorWhitelistResponse")) + } + panic(fmt.Errorf("message emissions.v8.RemoveFromTopicCreatorWhitelistResponse does not contain field %s", descriptor.FullName())) + } +} + +// Set stores the value for a field. +// +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType. +// When setting a composite type, it is unspecified whether the stored value +// aliases the source's memory in any way. If the composite value is an +// empty, read-only value, then it panics. +// +// Set is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_RemoveFromTopicCreatorWhitelistResponse) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { + switch fd.FullName() { + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.RemoveFromTopicCreatorWhitelistResponse")) + } + panic(fmt.Errorf("message emissions.v8.RemoveFromTopicCreatorWhitelistResponse does not contain field %s", fd.FullName())) + } +} + +// Mutable returns a mutable reference to a composite type. +// +// If the field is unpopulated, it may allocate a composite value. +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType +// if not already stored. +// It panics if the field does not contain a composite type. +// +// Mutable is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_RemoveFromTopicCreatorWhitelistResponse) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.RemoveFromTopicCreatorWhitelistResponse")) + } + panic(fmt.Errorf("message emissions.v8.RemoveFromTopicCreatorWhitelistResponse does not contain field %s", fd.FullName())) + } +} + +// NewField returns a new value that is assignable to the field +// for the given descriptor. For scalars, this returns the default value. +// For lists, maps, and messages, this returns a new, empty, mutable value. +func (x *fastReflection_RemoveFromTopicCreatorWhitelistResponse) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.RemoveFromTopicCreatorWhitelistResponse")) + } + panic(fmt.Errorf("message emissions.v8.RemoveFromTopicCreatorWhitelistResponse does not contain field %s", fd.FullName())) + } +} + +// WhichOneof reports which field within the oneof is populated, +// returning nil if none are populated. +// It panics if the oneof descriptor does not belong to this message. +func (x *fastReflection_RemoveFromTopicCreatorWhitelistResponse) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { + switch d.FullName() { + default: + panic(fmt.Errorf("%s is not a oneof field in emissions.v8.RemoveFromTopicCreatorWhitelistResponse", d.FullName())) + } + panic("unreachable") +} + +// GetUnknown retrieves the entire list of unknown fields. +// The caller may only mutate the contents of the RawFields +// if the mutated bytes are stored back into the message with SetUnknown. +func (x *fastReflection_RemoveFromTopicCreatorWhitelistResponse) GetUnknown() protoreflect.RawFields { + return x.unknownFields +} + +// SetUnknown stores an entire list of unknown fields. +// The raw fields must be syntactically valid according to the wire format. +// An implementation may panic if this is not the case. +// Once stored, the caller must not mutate the content of the RawFields. +// An empty RawFields may be passed to clear the fields. +// +// SetUnknown is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_RemoveFromTopicCreatorWhitelistResponse) SetUnknown(fields protoreflect.RawFields) { + x.unknownFields = fields +} + +// IsValid reports whether the message is valid. +// +// An invalid message is an empty, read-only value. +// +// An invalid message often corresponds to a nil pointer of the concrete +// message type, but the details are implementation dependent. +// Validity is not part of the protobuf data model, and may not +// be preserved in marshaling or other operations. +func (x *fastReflection_RemoveFromTopicCreatorWhitelistResponse) IsValid() bool { + return x != nil +} + +// ProtoMethods returns optional fastReflectionFeature-path implementations of various operations. +// This method may return nil. +// +// The returned methods type is identical to +// "google.golang.org/protobuf/runtime/protoiface".Methods. +// Consult the protoiface package documentation for details. +func (x *fastReflection_RemoveFromTopicCreatorWhitelistResponse) ProtoMethods() *protoiface.Methods { + size := func(input protoiface.SizeInput) protoiface.SizeOutput { + x := input.Message.Interface().(*RemoveFromTopicCreatorWhitelistResponse) + if x == nil { + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: 0, + } + } + options := runtime.SizeInputToOptions(input) + _ = options + var n int + var l int + _ = l + if x.unknownFields != nil { + n += len(x.unknownFields) + } + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: n, + } + } + + marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { + x := input.Message.Interface().(*RemoveFromTopicCreatorWhitelistResponse) + if x == nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + options := runtime.MarshalInputToOptions(input) + _ = options + size := options.Size(x) + dAtA := make([]byte, size) + i := len(dAtA) + _ = i + var l int + _ = l + if x.unknownFields != nil { + i -= len(x.unknownFields) + copy(dAtA[i:], x.unknownFields) + } + if input.Buf != nil { + input.Buf = append(input.Buf, dAtA...) + } else { + input.Buf = dAtA + } + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { + x := input.Message.Interface().(*RemoveFromTopicCreatorWhitelistResponse) + if x == nil { + return protoiface.UnmarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Flags: input.Flags, + }, nil + } + options := runtime.UnmarshalInputToOptions(input) + _ = options + dAtA := input.Buf + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: RemoveFromTopicCreatorWhitelistResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: RemoveFromTopicCreatorWhitelistResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + default: + iNdEx = preIndex + skippy, err := runtime.Skip(dAtA[iNdEx:]) + if err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if (iNdEx + skippy) > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + if !options.DiscardUnknown { + x.unknownFields = append(x.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + } + iNdEx += skippy + } + } + + if iNdEx > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, nil + } + return &protoiface.Methods{ + NoUnkeyedLiterals: struct{}{}, + Flags: protoiface.SupportMarshalDeterministic | protoiface.SupportUnmarshalDiscardUnknown, + Size: size, + Marshal: marshal, + Unmarshal: unmarshal, + Merge: nil, + CheckInitialized: nil, + } +} + +var ( + md_AddToTopicWorkerWhitelistRequest protoreflect.MessageDescriptor + fd_AddToTopicWorkerWhitelistRequest_sender protoreflect.FieldDescriptor + fd_AddToTopicWorkerWhitelistRequest_address protoreflect.FieldDescriptor + fd_AddToTopicWorkerWhitelistRequest_topic_id protoreflect.FieldDescriptor +) + +func init() { + file_emissions_v8_tx_proto_init() + md_AddToTopicWorkerWhitelistRequest = File_emissions_v8_tx_proto.Messages().ByName("AddToTopicWorkerWhitelistRequest") + fd_AddToTopicWorkerWhitelistRequest_sender = md_AddToTopicWorkerWhitelistRequest.Fields().ByName("sender") + fd_AddToTopicWorkerWhitelistRequest_address = md_AddToTopicWorkerWhitelistRequest.Fields().ByName("address") + fd_AddToTopicWorkerWhitelistRequest_topic_id = md_AddToTopicWorkerWhitelistRequest.Fields().ByName("topic_id") +} + +var _ protoreflect.Message = (*fastReflection_AddToTopicWorkerWhitelistRequest)(nil) + +type fastReflection_AddToTopicWorkerWhitelistRequest AddToTopicWorkerWhitelistRequest + +func (x *AddToTopicWorkerWhitelistRequest) ProtoReflect() protoreflect.Message { + return (*fastReflection_AddToTopicWorkerWhitelistRequest)(x) +} + +func (x *AddToTopicWorkerWhitelistRequest) slowProtoReflect() protoreflect.Message { + mi := &file_emissions_v8_tx_proto_msgTypes[77] + 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) +} + +var _fastReflection_AddToTopicWorkerWhitelistRequest_messageType fastReflection_AddToTopicWorkerWhitelistRequest_messageType +var _ protoreflect.MessageType = fastReflection_AddToTopicWorkerWhitelistRequest_messageType{} + +type fastReflection_AddToTopicWorkerWhitelistRequest_messageType struct{} + +func (x fastReflection_AddToTopicWorkerWhitelistRequest_messageType) Zero() protoreflect.Message { + return (*fastReflection_AddToTopicWorkerWhitelistRequest)(nil) +} +func (x fastReflection_AddToTopicWorkerWhitelistRequest_messageType) New() protoreflect.Message { + return new(fastReflection_AddToTopicWorkerWhitelistRequest) +} +func (x fastReflection_AddToTopicWorkerWhitelistRequest_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_AddToTopicWorkerWhitelistRequest +} + +// Descriptor returns message descriptor, which contains only the protobuf +// type information for the message. +func (x *fastReflection_AddToTopicWorkerWhitelistRequest) Descriptor() protoreflect.MessageDescriptor { + return md_AddToTopicWorkerWhitelistRequest +} + +// Type returns the message type, which encapsulates both Go and protobuf +// type information. If the Go type information is not needed, +// it is recommended that the message descriptor be used instead. +func (x *fastReflection_AddToTopicWorkerWhitelistRequest) Type() protoreflect.MessageType { + return _fastReflection_AddToTopicWorkerWhitelistRequest_messageType +} + +// New returns a newly allocated and mutable empty message. +func (x *fastReflection_AddToTopicWorkerWhitelistRequest) New() protoreflect.Message { + return new(fastReflection_AddToTopicWorkerWhitelistRequest) +} + +// Interface unwraps the message reflection interface and +// returns the underlying ProtoMessage interface. +func (x *fastReflection_AddToTopicWorkerWhitelistRequest) Interface() protoreflect.ProtoMessage { + return (*AddToTopicWorkerWhitelistRequest)(x) +} + +// Range iterates over every populated field in an undefined order, +// calling f for each field descriptor and value encountered. +// Range returns immediately if f returns false. +// While iterating, mutating operations may only be performed +// on the current field descriptor. +func (x *fastReflection_AddToTopicWorkerWhitelistRequest) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { + if x.Sender != "" { + value := protoreflect.ValueOfString(x.Sender) + if !f(fd_AddToTopicWorkerWhitelistRequest_sender, value) { + return + } + } + if x.Address != "" { + value := protoreflect.ValueOfString(x.Address) + if !f(fd_AddToTopicWorkerWhitelistRequest_address, value) { + return + } + } + if x.TopicId != uint64(0) { + value := protoreflect.ValueOfUint64(x.TopicId) + if !f(fd_AddToTopicWorkerWhitelistRequest_topic_id, value) { + return + } + } +} + +// Has reports whether a field is populated. +// +// Some fields have the property of nullability where it is possible to +// distinguish between the default value of a field and whether the field +// was explicitly populated with the default value. Singular message fields, +// member fields of a oneof, and proto2 scalar fields are nullable. Such +// fields are populated only if explicitly set. +// +// In other cases (aside from the nullable cases above), +// a proto3 scalar field is populated if it contains a non-zero value, and +// a repeated field is populated if it is non-empty. +func (x *fastReflection_AddToTopicWorkerWhitelistRequest) Has(fd protoreflect.FieldDescriptor) bool { + switch fd.FullName() { + case "emissions.v8.AddToTopicWorkerWhitelistRequest.sender": + return x.Sender != "" + case "emissions.v8.AddToTopicWorkerWhitelistRequest.address": + return x.Address != "" + case "emissions.v8.AddToTopicWorkerWhitelistRequest.topic_id": + return x.TopicId != uint64(0) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.AddToTopicWorkerWhitelistRequest")) + } + panic(fmt.Errorf("message emissions.v8.AddToTopicWorkerWhitelistRequest does not contain field %s", fd.FullName())) + } +} + +// Clear clears the field such that a subsequent Has call reports false. +// +// Clearing an extension field clears both the extension type and value +// associated with the given field number. +// +// Clear is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_AddToTopicWorkerWhitelistRequest) Clear(fd protoreflect.FieldDescriptor) { + switch fd.FullName() { + case "emissions.v8.AddToTopicWorkerWhitelistRequest.sender": + x.Sender = "" + case "emissions.v8.AddToTopicWorkerWhitelistRequest.address": + x.Address = "" + case "emissions.v8.AddToTopicWorkerWhitelistRequest.topic_id": + x.TopicId = uint64(0) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.AddToTopicWorkerWhitelistRequest")) + } + panic(fmt.Errorf("message emissions.v8.AddToTopicWorkerWhitelistRequest does not contain field %s", fd.FullName())) + } +} + +// Get retrieves the value for a field. +// +// For unpopulated scalars, it returns the default value, where +// the default value of a bytes scalar is guaranteed to be a copy. +// For unpopulated composite types, it returns an empty, read-only view +// of the value; to obtain a mutable reference, use Mutable. +func (x *fastReflection_AddToTopicWorkerWhitelistRequest) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { + switch descriptor.FullName() { + case "emissions.v8.AddToTopicWorkerWhitelistRequest.sender": + value := x.Sender + return protoreflect.ValueOfString(value) + case "emissions.v8.AddToTopicWorkerWhitelistRequest.address": + value := x.Address + return protoreflect.ValueOfString(value) + case "emissions.v8.AddToTopicWorkerWhitelistRequest.topic_id": + value := x.TopicId + return protoreflect.ValueOfUint64(value) + default: + if descriptor.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.AddToTopicWorkerWhitelistRequest")) + } + panic(fmt.Errorf("message emissions.v8.AddToTopicWorkerWhitelistRequest does not contain field %s", descriptor.FullName())) + } +} + +// Set stores the value for a field. +// +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType. +// When setting a composite type, it is unspecified whether the stored value +// aliases the source's memory in any way. If the composite value is an +// empty, read-only value, then it panics. +// +// Set is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_AddToTopicWorkerWhitelistRequest) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { + switch fd.FullName() { + case "emissions.v8.AddToTopicWorkerWhitelistRequest.sender": + x.Sender = value.Interface().(string) + case "emissions.v8.AddToTopicWorkerWhitelistRequest.address": + x.Address = value.Interface().(string) + case "emissions.v8.AddToTopicWorkerWhitelistRequest.topic_id": + x.TopicId = value.Uint() + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.AddToTopicWorkerWhitelistRequest")) + } + panic(fmt.Errorf("message emissions.v8.AddToTopicWorkerWhitelistRequest does not contain field %s", fd.FullName())) + } +} + +// Mutable returns a mutable reference to a composite type. +// +// If the field is unpopulated, it may allocate a composite value. +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType +// if not already stored. +// It panics if the field does not contain a composite type. +// +// Mutable is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_AddToTopicWorkerWhitelistRequest) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.AddToTopicWorkerWhitelistRequest.sender": + panic(fmt.Errorf("field sender of message emissions.v8.AddToTopicWorkerWhitelistRequest is not mutable")) + case "emissions.v8.AddToTopicWorkerWhitelistRequest.address": + panic(fmt.Errorf("field address of message emissions.v8.AddToTopicWorkerWhitelistRequest is not mutable")) + case "emissions.v8.AddToTopicWorkerWhitelistRequest.topic_id": + panic(fmt.Errorf("field topic_id of message emissions.v8.AddToTopicWorkerWhitelistRequest is not mutable")) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.AddToTopicWorkerWhitelistRequest")) + } + panic(fmt.Errorf("message emissions.v8.AddToTopicWorkerWhitelistRequest does not contain field %s", fd.FullName())) + } +} + +// NewField returns a new value that is assignable to the field +// for the given descriptor. For scalars, this returns the default value. +// For lists, maps, and messages, this returns a new, empty, mutable value. +func (x *fastReflection_AddToTopicWorkerWhitelistRequest) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.AddToTopicWorkerWhitelistRequest.sender": + return protoreflect.ValueOfString("") + case "emissions.v8.AddToTopicWorkerWhitelistRequest.address": + return protoreflect.ValueOfString("") + case "emissions.v8.AddToTopicWorkerWhitelistRequest.topic_id": + return protoreflect.ValueOfUint64(uint64(0)) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.AddToTopicWorkerWhitelistRequest")) + } + panic(fmt.Errorf("message emissions.v8.AddToTopicWorkerWhitelistRequest does not contain field %s", fd.FullName())) + } +} + +// WhichOneof reports which field within the oneof is populated, +// returning nil if none are populated. +// It panics if the oneof descriptor does not belong to this message. +func (x *fastReflection_AddToTopicWorkerWhitelistRequest) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { + switch d.FullName() { + default: + panic(fmt.Errorf("%s is not a oneof field in emissions.v8.AddToTopicWorkerWhitelistRequest", d.FullName())) + } + panic("unreachable") +} + +// GetUnknown retrieves the entire list of unknown fields. +// The caller may only mutate the contents of the RawFields +// if the mutated bytes are stored back into the message with SetUnknown. +func (x *fastReflection_AddToTopicWorkerWhitelistRequest) GetUnknown() protoreflect.RawFields { + return x.unknownFields +} + +// SetUnknown stores an entire list of unknown fields. +// The raw fields must be syntactically valid according to the wire format. +// An implementation may panic if this is not the case. +// Once stored, the caller must not mutate the content of the RawFields. +// An empty RawFields may be passed to clear the fields. +// +// SetUnknown is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_AddToTopicWorkerWhitelistRequest) SetUnknown(fields protoreflect.RawFields) { + x.unknownFields = fields +} + +// IsValid reports whether the message is valid. +// +// An invalid message is an empty, read-only value. +// +// An invalid message often corresponds to a nil pointer of the concrete +// message type, but the details are implementation dependent. +// Validity is not part of the protobuf data model, and may not +// be preserved in marshaling or other operations. +func (x *fastReflection_AddToTopicWorkerWhitelistRequest) IsValid() bool { + return x != nil +} + +// ProtoMethods returns optional fastReflectionFeature-path implementations of various operations. +// This method may return nil. +// +// The returned methods type is identical to +// "google.golang.org/protobuf/runtime/protoiface".Methods. +// Consult the protoiface package documentation for details. +func (x *fastReflection_AddToTopicWorkerWhitelistRequest) ProtoMethods() *protoiface.Methods { + size := func(input protoiface.SizeInput) protoiface.SizeOutput { + x := input.Message.Interface().(*AddToTopicWorkerWhitelistRequest) + if x == nil { + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: 0, + } + } + options := runtime.SizeInputToOptions(input) + _ = options + var n int + var l int + _ = l + l = len(x.Sender) + if l > 0 { + n += 1 + l + runtime.Sov(uint64(l)) + } + l = len(x.Address) + if l > 0 { + n += 1 + l + runtime.Sov(uint64(l)) + } + if x.TopicId != 0 { + n += 1 + runtime.Sov(uint64(x.TopicId)) + } + if x.unknownFields != nil { + n += len(x.unknownFields) + } + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: n, + } + } + + marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { + x := input.Message.Interface().(*AddToTopicWorkerWhitelistRequest) + if x == nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + options := runtime.MarshalInputToOptions(input) + _ = options + size := options.Size(x) + dAtA := make([]byte, size) + i := len(dAtA) + _ = i + var l int + _ = l + if x.unknownFields != nil { + i -= len(x.unknownFields) + copy(dAtA[i:], x.unknownFields) + } + if x.TopicId != 0 { + i = runtime.EncodeVarint(dAtA, i, uint64(x.TopicId)) + i-- + dAtA[i] = 0x18 + } + if len(x.Address) > 0 { + i -= len(x.Address) + copy(dAtA[i:], x.Address) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.Address))) + i-- + dAtA[i] = 0x12 + } + if len(x.Sender) > 0 { + i -= len(x.Sender) + copy(dAtA[i:], x.Sender) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.Sender))) + i-- + dAtA[i] = 0xa + } + if input.Buf != nil { + input.Buf = append(input.Buf, dAtA...) + } else { + input.Buf = dAtA + } + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { + x := input.Message.Interface().(*AddToTopicWorkerWhitelistRequest) + if x == nil { + return protoiface.UnmarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Flags: input.Flags, + }, nil + } + options := runtime.UnmarshalInputToOptions(input) + _ = options + dAtA := input.Buf + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: AddToTopicWorkerWhitelistRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: AddToTopicWorkerWhitelistRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Sender", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + x.Sender = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Address", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + x.Address = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 3: + if wireType != 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field TopicId", wireType) + } + x.TopicId = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + x.TopicId |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + default: + iNdEx = preIndex + skippy, err := runtime.Skip(dAtA[iNdEx:]) + if err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if (iNdEx + skippy) > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + if !options.DiscardUnknown { + x.unknownFields = append(x.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + } + iNdEx += skippy + } + } + + if iNdEx > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, nil + } + return &protoiface.Methods{ + NoUnkeyedLiterals: struct{}{}, + Flags: protoiface.SupportMarshalDeterministic | protoiface.SupportUnmarshalDiscardUnknown, + Size: size, + Marshal: marshal, + Unmarshal: unmarshal, + Merge: nil, + CheckInitialized: nil, + } +} + +var ( + md_AddToTopicWorkerWhitelistResponse protoreflect.MessageDescriptor +) + +func init() { + file_emissions_v8_tx_proto_init() + md_AddToTopicWorkerWhitelistResponse = File_emissions_v8_tx_proto.Messages().ByName("AddToTopicWorkerWhitelistResponse") +} + +var _ protoreflect.Message = (*fastReflection_AddToTopicWorkerWhitelistResponse)(nil) + +type fastReflection_AddToTopicWorkerWhitelistResponse AddToTopicWorkerWhitelistResponse + +func (x *AddToTopicWorkerWhitelistResponse) ProtoReflect() protoreflect.Message { + return (*fastReflection_AddToTopicWorkerWhitelistResponse)(x) +} + +func (x *AddToTopicWorkerWhitelistResponse) slowProtoReflect() protoreflect.Message { + mi := &file_emissions_v8_tx_proto_msgTypes[78] + 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) +} + +var _fastReflection_AddToTopicWorkerWhitelistResponse_messageType fastReflection_AddToTopicWorkerWhitelistResponse_messageType +var _ protoreflect.MessageType = fastReflection_AddToTopicWorkerWhitelistResponse_messageType{} + +type fastReflection_AddToTopicWorkerWhitelistResponse_messageType struct{} + +func (x fastReflection_AddToTopicWorkerWhitelistResponse_messageType) Zero() protoreflect.Message { + return (*fastReflection_AddToTopicWorkerWhitelistResponse)(nil) +} +func (x fastReflection_AddToTopicWorkerWhitelistResponse_messageType) New() protoreflect.Message { + return new(fastReflection_AddToTopicWorkerWhitelistResponse) +} +func (x fastReflection_AddToTopicWorkerWhitelistResponse_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_AddToTopicWorkerWhitelistResponse +} + +// Descriptor returns message descriptor, which contains only the protobuf +// type information for the message. +func (x *fastReflection_AddToTopicWorkerWhitelistResponse) Descriptor() protoreflect.MessageDescriptor { + return md_AddToTopicWorkerWhitelistResponse +} + +// Type returns the message type, which encapsulates both Go and protobuf +// type information. If the Go type information is not needed, +// it is recommended that the message descriptor be used instead. +func (x *fastReflection_AddToTopicWorkerWhitelistResponse) Type() protoreflect.MessageType { + return _fastReflection_AddToTopicWorkerWhitelistResponse_messageType +} + +// New returns a newly allocated and mutable empty message. +func (x *fastReflection_AddToTopicWorkerWhitelistResponse) New() protoreflect.Message { + return new(fastReflection_AddToTopicWorkerWhitelistResponse) +} + +// Interface unwraps the message reflection interface and +// returns the underlying ProtoMessage interface. +func (x *fastReflection_AddToTopicWorkerWhitelistResponse) Interface() protoreflect.ProtoMessage { + return (*AddToTopicWorkerWhitelistResponse)(x) +} + +// Range iterates over every populated field in an undefined order, +// calling f for each field descriptor and value encountered. +// Range returns immediately if f returns false. +// While iterating, mutating operations may only be performed +// on the current field descriptor. +func (x *fastReflection_AddToTopicWorkerWhitelistResponse) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { +} + +// Has reports whether a field is populated. +// +// Some fields have the property of nullability where it is possible to +// distinguish between the default value of a field and whether the field +// was explicitly populated with the default value. Singular message fields, +// member fields of a oneof, and proto2 scalar fields are nullable. Such +// fields are populated only if explicitly set. +// +// In other cases (aside from the nullable cases above), +// a proto3 scalar field is populated if it contains a non-zero value, and +// a repeated field is populated if it is non-empty. +func (x *fastReflection_AddToTopicWorkerWhitelistResponse) Has(fd protoreflect.FieldDescriptor) bool { + switch fd.FullName() { + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.AddToTopicWorkerWhitelistResponse")) + } + panic(fmt.Errorf("message emissions.v8.AddToTopicWorkerWhitelistResponse does not contain field %s", fd.FullName())) + } +} + +// Clear clears the field such that a subsequent Has call reports false. +// +// Clearing an extension field clears both the extension type and value +// associated with the given field number. +// +// Clear is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_AddToTopicWorkerWhitelistResponse) Clear(fd protoreflect.FieldDescriptor) { + switch fd.FullName() { + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.AddToTopicWorkerWhitelistResponse")) + } + panic(fmt.Errorf("message emissions.v8.AddToTopicWorkerWhitelistResponse does not contain field %s", fd.FullName())) + } +} + +// Get retrieves the value for a field. +// +// For unpopulated scalars, it returns the default value, where +// the default value of a bytes scalar is guaranteed to be a copy. +// For unpopulated composite types, it returns an empty, read-only view +// of the value; to obtain a mutable reference, use Mutable. +func (x *fastReflection_AddToTopicWorkerWhitelistResponse) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { + switch descriptor.FullName() { + default: + if descriptor.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.AddToTopicWorkerWhitelistResponse")) + } + panic(fmt.Errorf("message emissions.v8.AddToTopicWorkerWhitelistResponse does not contain field %s", descriptor.FullName())) + } +} + +// Set stores the value for a field. +// +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType. +// When setting a composite type, it is unspecified whether the stored value +// aliases the source's memory in any way. If the composite value is an +// empty, read-only value, then it panics. +// +// Set is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_AddToTopicWorkerWhitelistResponse) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { + switch fd.FullName() { + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.AddToTopicWorkerWhitelistResponse")) + } + panic(fmt.Errorf("message emissions.v8.AddToTopicWorkerWhitelistResponse does not contain field %s", fd.FullName())) + } +} + +// Mutable returns a mutable reference to a composite type. +// +// If the field is unpopulated, it may allocate a composite value. +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType +// if not already stored. +// It panics if the field does not contain a composite type. +// +// Mutable is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_AddToTopicWorkerWhitelistResponse) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.AddToTopicWorkerWhitelistResponse")) + } + panic(fmt.Errorf("message emissions.v8.AddToTopicWorkerWhitelistResponse does not contain field %s", fd.FullName())) + } +} + +// NewField returns a new value that is assignable to the field +// for the given descriptor. For scalars, this returns the default value. +// For lists, maps, and messages, this returns a new, empty, mutable value. +func (x *fastReflection_AddToTopicWorkerWhitelistResponse) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.AddToTopicWorkerWhitelistResponse")) + } + panic(fmt.Errorf("message emissions.v8.AddToTopicWorkerWhitelistResponse does not contain field %s", fd.FullName())) + } +} + +// WhichOneof reports which field within the oneof is populated, +// returning nil if none are populated. +// It panics if the oneof descriptor does not belong to this message. +func (x *fastReflection_AddToTopicWorkerWhitelistResponse) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { + switch d.FullName() { + default: + panic(fmt.Errorf("%s is not a oneof field in emissions.v8.AddToTopicWorkerWhitelistResponse", d.FullName())) + } + panic("unreachable") +} + +// GetUnknown retrieves the entire list of unknown fields. +// The caller may only mutate the contents of the RawFields +// if the mutated bytes are stored back into the message with SetUnknown. +func (x *fastReflection_AddToTopicWorkerWhitelistResponse) GetUnknown() protoreflect.RawFields { + return x.unknownFields +} + +// SetUnknown stores an entire list of unknown fields. +// The raw fields must be syntactically valid according to the wire format. +// An implementation may panic if this is not the case. +// Once stored, the caller must not mutate the content of the RawFields. +// An empty RawFields may be passed to clear the fields. +// +// SetUnknown is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_AddToTopicWorkerWhitelistResponse) SetUnknown(fields protoreflect.RawFields) { + x.unknownFields = fields +} + +// IsValid reports whether the message is valid. +// +// An invalid message is an empty, read-only value. +// +// An invalid message often corresponds to a nil pointer of the concrete +// message type, but the details are implementation dependent. +// Validity is not part of the protobuf data model, and may not +// be preserved in marshaling or other operations. +func (x *fastReflection_AddToTopicWorkerWhitelistResponse) IsValid() bool { + return x != nil +} + +// ProtoMethods returns optional fastReflectionFeature-path implementations of various operations. +// This method may return nil. +// +// The returned methods type is identical to +// "google.golang.org/protobuf/runtime/protoiface".Methods. +// Consult the protoiface package documentation for details. +func (x *fastReflection_AddToTopicWorkerWhitelistResponse) ProtoMethods() *protoiface.Methods { + size := func(input protoiface.SizeInput) protoiface.SizeOutput { + x := input.Message.Interface().(*AddToTopicWorkerWhitelistResponse) + if x == nil { + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: 0, + } + } + options := runtime.SizeInputToOptions(input) + _ = options + var n int + var l int + _ = l + if x.unknownFields != nil { + n += len(x.unknownFields) + } + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: n, + } + } + + marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { + x := input.Message.Interface().(*AddToTopicWorkerWhitelistResponse) + if x == nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + options := runtime.MarshalInputToOptions(input) + _ = options + size := options.Size(x) + dAtA := make([]byte, size) + i := len(dAtA) + _ = i + var l int + _ = l + if x.unknownFields != nil { + i -= len(x.unknownFields) + copy(dAtA[i:], x.unknownFields) + } + if input.Buf != nil { + input.Buf = append(input.Buf, dAtA...) + } else { + input.Buf = dAtA + } + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { + x := input.Message.Interface().(*AddToTopicWorkerWhitelistResponse) + if x == nil { + return protoiface.UnmarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Flags: input.Flags, + }, nil + } + options := runtime.UnmarshalInputToOptions(input) + _ = options + dAtA := input.Buf + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: AddToTopicWorkerWhitelistResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: AddToTopicWorkerWhitelistResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + default: + iNdEx = preIndex + skippy, err := runtime.Skip(dAtA[iNdEx:]) + if err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if (iNdEx + skippy) > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + if !options.DiscardUnknown { + x.unknownFields = append(x.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + } + iNdEx += skippy + } + } + + if iNdEx > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, nil + } + return &protoiface.Methods{ + NoUnkeyedLiterals: struct{}{}, + Flags: protoiface.SupportMarshalDeterministic | protoiface.SupportUnmarshalDiscardUnknown, + Size: size, + Marshal: marshal, + Unmarshal: unmarshal, + Merge: nil, + CheckInitialized: nil, + } +} + +var ( + md_RemoveFromTopicWorkerWhitelistRequest protoreflect.MessageDescriptor + fd_RemoveFromTopicWorkerWhitelistRequest_sender protoreflect.FieldDescriptor + fd_RemoveFromTopicWorkerWhitelistRequest_address protoreflect.FieldDescriptor + fd_RemoveFromTopicWorkerWhitelistRequest_topic_id protoreflect.FieldDescriptor +) + +func init() { + file_emissions_v8_tx_proto_init() + md_RemoveFromTopicWorkerWhitelistRequest = File_emissions_v8_tx_proto.Messages().ByName("RemoveFromTopicWorkerWhitelistRequest") + fd_RemoveFromTopicWorkerWhitelistRequest_sender = md_RemoveFromTopicWorkerWhitelistRequest.Fields().ByName("sender") + fd_RemoveFromTopicWorkerWhitelistRequest_address = md_RemoveFromTopicWorkerWhitelistRequest.Fields().ByName("address") + fd_RemoveFromTopicWorkerWhitelistRequest_topic_id = md_RemoveFromTopicWorkerWhitelistRequest.Fields().ByName("topic_id") +} + +var _ protoreflect.Message = (*fastReflection_RemoveFromTopicWorkerWhitelistRequest)(nil) + +type fastReflection_RemoveFromTopicWorkerWhitelistRequest RemoveFromTopicWorkerWhitelistRequest + +func (x *RemoveFromTopicWorkerWhitelistRequest) ProtoReflect() protoreflect.Message { + return (*fastReflection_RemoveFromTopicWorkerWhitelistRequest)(x) +} + +func (x *RemoveFromTopicWorkerWhitelistRequest) slowProtoReflect() protoreflect.Message { + mi := &file_emissions_v8_tx_proto_msgTypes[79] + 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) +} + +var _fastReflection_RemoveFromTopicWorkerWhitelistRequest_messageType fastReflection_RemoveFromTopicWorkerWhitelistRequest_messageType +var _ protoreflect.MessageType = fastReflection_RemoveFromTopicWorkerWhitelistRequest_messageType{} + +type fastReflection_RemoveFromTopicWorkerWhitelistRequest_messageType struct{} + +func (x fastReflection_RemoveFromTopicWorkerWhitelistRequest_messageType) Zero() protoreflect.Message { + return (*fastReflection_RemoveFromTopicWorkerWhitelistRequest)(nil) +} +func (x fastReflection_RemoveFromTopicWorkerWhitelistRequest_messageType) New() protoreflect.Message { + return new(fastReflection_RemoveFromTopicWorkerWhitelistRequest) +} +func (x fastReflection_RemoveFromTopicWorkerWhitelistRequest_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_RemoveFromTopicWorkerWhitelistRequest +} + +// Descriptor returns message descriptor, which contains only the protobuf +// type information for the message. +func (x *fastReflection_RemoveFromTopicWorkerWhitelistRequest) Descriptor() protoreflect.MessageDescriptor { + return md_RemoveFromTopicWorkerWhitelistRequest +} + +// Type returns the message type, which encapsulates both Go and protobuf +// type information. If the Go type information is not needed, +// it is recommended that the message descriptor be used instead. +func (x *fastReflection_RemoveFromTopicWorkerWhitelistRequest) Type() protoreflect.MessageType { + return _fastReflection_RemoveFromTopicWorkerWhitelistRequest_messageType +} + +// New returns a newly allocated and mutable empty message. +func (x *fastReflection_RemoveFromTopicWorkerWhitelistRequest) New() protoreflect.Message { + return new(fastReflection_RemoveFromTopicWorkerWhitelistRequest) +} + +// Interface unwraps the message reflection interface and +// returns the underlying ProtoMessage interface. +func (x *fastReflection_RemoveFromTopicWorkerWhitelistRequest) Interface() protoreflect.ProtoMessage { + return (*RemoveFromTopicWorkerWhitelistRequest)(x) +} + +// Range iterates over every populated field in an undefined order, +// calling f for each field descriptor and value encountered. +// Range returns immediately if f returns false. +// While iterating, mutating operations may only be performed +// on the current field descriptor. +func (x *fastReflection_RemoveFromTopicWorkerWhitelistRequest) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { + if x.Sender != "" { + value := protoreflect.ValueOfString(x.Sender) + if !f(fd_RemoveFromTopicWorkerWhitelistRequest_sender, value) { + return + } + } + if x.Address != "" { + value := protoreflect.ValueOfString(x.Address) + if !f(fd_RemoveFromTopicWorkerWhitelistRequest_address, value) { + return + } + } + if x.TopicId != uint64(0) { + value := protoreflect.ValueOfUint64(x.TopicId) + if !f(fd_RemoveFromTopicWorkerWhitelistRequest_topic_id, value) { + return + } + } +} + +// Has reports whether a field is populated. +// +// Some fields have the property of nullability where it is possible to +// distinguish between the default value of a field and whether the field +// was explicitly populated with the default value. Singular message fields, +// member fields of a oneof, and proto2 scalar fields are nullable. Such +// fields are populated only if explicitly set. +// +// In other cases (aside from the nullable cases above), +// a proto3 scalar field is populated if it contains a non-zero value, and +// a repeated field is populated if it is non-empty. +func (x *fastReflection_RemoveFromTopicWorkerWhitelistRequest) Has(fd protoreflect.FieldDescriptor) bool { + switch fd.FullName() { + case "emissions.v8.RemoveFromTopicWorkerWhitelistRequest.sender": + return x.Sender != "" + case "emissions.v8.RemoveFromTopicWorkerWhitelistRequest.address": + return x.Address != "" + case "emissions.v8.RemoveFromTopicWorkerWhitelistRequest.topic_id": + return x.TopicId != uint64(0) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.RemoveFromTopicWorkerWhitelistRequest")) + } + panic(fmt.Errorf("message emissions.v8.RemoveFromTopicWorkerWhitelistRequest does not contain field %s", fd.FullName())) + } +} + +// Clear clears the field such that a subsequent Has call reports false. +// +// Clearing an extension field clears both the extension type and value +// associated with the given field number. +// +// Clear is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_RemoveFromTopicWorkerWhitelistRequest) Clear(fd protoreflect.FieldDescriptor) { + switch fd.FullName() { + case "emissions.v8.RemoveFromTopicWorkerWhitelistRequest.sender": + x.Sender = "" + case "emissions.v8.RemoveFromTopicWorkerWhitelistRequest.address": + x.Address = "" + case "emissions.v8.RemoveFromTopicWorkerWhitelistRequest.topic_id": + x.TopicId = uint64(0) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.RemoveFromTopicWorkerWhitelistRequest")) + } + panic(fmt.Errorf("message emissions.v8.RemoveFromTopicWorkerWhitelistRequest does not contain field %s", fd.FullName())) + } +} + +// Get retrieves the value for a field. +// +// For unpopulated scalars, it returns the default value, where +// the default value of a bytes scalar is guaranteed to be a copy. +// For unpopulated composite types, it returns an empty, read-only view +// of the value; to obtain a mutable reference, use Mutable. +func (x *fastReflection_RemoveFromTopicWorkerWhitelistRequest) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { + switch descriptor.FullName() { + case "emissions.v8.RemoveFromTopicWorkerWhitelistRequest.sender": + value := x.Sender + return protoreflect.ValueOfString(value) + case "emissions.v8.RemoveFromTopicWorkerWhitelistRequest.address": + value := x.Address + return protoreflect.ValueOfString(value) + case "emissions.v8.RemoveFromTopicWorkerWhitelistRequest.topic_id": + value := x.TopicId + return protoreflect.ValueOfUint64(value) + default: + if descriptor.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.RemoveFromTopicWorkerWhitelistRequest")) + } + panic(fmt.Errorf("message emissions.v8.RemoveFromTopicWorkerWhitelistRequest does not contain field %s", descriptor.FullName())) + } +} + +// Set stores the value for a field. +// +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType. +// When setting a composite type, it is unspecified whether the stored value +// aliases the source's memory in any way. If the composite value is an +// empty, read-only value, then it panics. +// +// Set is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_RemoveFromTopicWorkerWhitelistRequest) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { + switch fd.FullName() { + case "emissions.v8.RemoveFromTopicWorkerWhitelistRequest.sender": + x.Sender = value.Interface().(string) + case "emissions.v8.RemoveFromTopicWorkerWhitelistRequest.address": + x.Address = value.Interface().(string) + case "emissions.v8.RemoveFromTopicWorkerWhitelistRequest.topic_id": + x.TopicId = value.Uint() + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.RemoveFromTopicWorkerWhitelistRequest")) + } + panic(fmt.Errorf("message emissions.v8.RemoveFromTopicWorkerWhitelistRequest does not contain field %s", fd.FullName())) + } +} + +// Mutable returns a mutable reference to a composite type. +// +// If the field is unpopulated, it may allocate a composite value. +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType +// if not already stored. +// It panics if the field does not contain a composite type. +// +// Mutable is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_RemoveFromTopicWorkerWhitelistRequest) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.RemoveFromTopicWorkerWhitelistRequest.sender": + panic(fmt.Errorf("field sender of message emissions.v8.RemoveFromTopicWorkerWhitelistRequest is not mutable")) + case "emissions.v8.RemoveFromTopicWorkerWhitelistRequest.address": + panic(fmt.Errorf("field address of message emissions.v8.RemoveFromTopicWorkerWhitelistRequest is not mutable")) + case "emissions.v8.RemoveFromTopicWorkerWhitelistRequest.topic_id": + panic(fmt.Errorf("field topic_id of message emissions.v8.RemoveFromTopicWorkerWhitelistRequest is not mutable")) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.RemoveFromTopicWorkerWhitelistRequest")) + } + panic(fmt.Errorf("message emissions.v8.RemoveFromTopicWorkerWhitelistRequest does not contain field %s", fd.FullName())) + } +} + +// NewField returns a new value that is assignable to the field +// for the given descriptor. For scalars, this returns the default value. +// For lists, maps, and messages, this returns a new, empty, mutable value. +func (x *fastReflection_RemoveFromTopicWorkerWhitelistRequest) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.RemoveFromTopicWorkerWhitelistRequest.sender": + return protoreflect.ValueOfString("") + case "emissions.v8.RemoveFromTopicWorkerWhitelistRequest.address": + return protoreflect.ValueOfString("") + case "emissions.v8.RemoveFromTopicWorkerWhitelistRequest.topic_id": + return protoreflect.ValueOfUint64(uint64(0)) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.RemoveFromTopicWorkerWhitelistRequest")) + } + panic(fmt.Errorf("message emissions.v8.RemoveFromTopicWorkerWhitelistRequest does not contain field %s", fd.FullName())) + } +} + +// WhichOneof reports which field within the oneof is populated, +// returning nil if none are populated. +// It panics if the oneof descriptor does not belong to this message. +func (x *fastReflection_RemoveFromTopicWorkerWhitelistRequest) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { + switch d.FullName() { + default: + panic(fmt.Errorf("%s is not a oneof field in emissions.v8.RemoveFromTopicWorkerWhitelistRequest", d.FullName())) + } + panic("unreachable") +} + +// GetUnknown retrieves the entire list of unknown fields. +// The caller may only mutate the contents of the RawFields +// if the mutated bytes are stored back into the message with SetUnknown. +func (x *fastReflection_RemoveFromTopicWorkerWhitelistRequest) GetUnknown() protoreflect.RawFields { + return x.unknownFields +} + +// SetUnknown stores an entire list of unknown fields. +// The raw fields must be syntactically valid according to the wire format. +// An implementation may panic if this is not the case. +// Once stored, the caller must not mutate the content of the RawFields. +// An empty RawFields may be passed to clear the fields. +// +// SetUnknown is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_RemoveFromTopicWorkerWhitelistRequest) SetUnknown(fields protoreflect.RawFields) { + x.unknownFields = fields +} + +// IsValid reports whether the message is valid. +// +// An invalid message is an empty, read-only value. +// +// An invalid message often corresponds to a nil pointer of the concrete +// message type, but the details are implementation dependent. +// Validity is not part of the protobuf data model, and may not +// be preserved in marshaling or other operations. +func (x *fastReflection_RemoveFromTopicWorkerWhitelistRequest) IsValid() bool { + return x != nil +} + +// ProtoMethods returns optional fastReflectionFeature-path implementations of various operations. +// This method may return nil. +// +// The returned methods type is identical to +// "google.golang.org/protobuf/runtime/protoiface".Methods. +// Consult the protoiface package documentation for details. +func (x *fastReflection_RemoveFromTopicWorkerWhitelistRequest) ProtoMethods() *protoiface.Methods { + size := func(input protoiface.SizeInput) protoiface.SizeOutput { + x := input.Message.Interface().(*RemoveFromTopicWorkerWhitelistRequest) + if x == nil { + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: 0, + } + } + options := runtime.SizeInputToOptions(input) + _ = options + var n int + var l int + _ = l + l = len(x.Sender) + if l > 0 { + n += 1 + l + runtime.Sov(uint64(l)) + } + l = len(x.Address) + if l > 0 { + n += 1 + l + runtime.Sov(uint64(l)) + } + if x.TopicId != 0 { + n += 1 + runtime.Sov(uint64(x.TopicId)) + } + if x.unknownFields != nil { + n += len(x.unknownFields) + } + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: n, + } + } + + marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { + x := input.Message.Interface().(*RemoveFromTopicWorkerWhitelistRequest) + if x == nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + options := runtime.MarshalInputToOptions(input) + _ = options + size := options.Size(x) + dAtA := make([]byte, size) + i := len(dAtA) + _ = i + var l int + _ = l + if x.unknownFields != nil { + i -= len(x.unknownFields) + copy(dAtA[i:], x.unknownFields) + } + if x.TopicId != 0 { + i = runtime.EncodeVarint(dAtA, i, uint64(x.TopicId)) + i-- + dAtA[i] = 0x18 + } + if len(x.Address) > 0 { + i -= len(x.Address) + copy(dAtA[i:], x.Address) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.Address))) + i-- + dAtA[i] = 0x12 + } + if len(x.Sender) > 0 { + i -= len(x.Sender) + copy(dAtA[i:], x.Sender) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.Sender))) + i-- + dAtA[i] = 0xa + } + if input.Buf != nil { + input.Buf = append(input.Buf, dAtA...) + } else { + input.Buf = dAtA + } + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { + x := input.Message.Interface().(*RemoveFromTopicWorkerWhitelistRequest) + if x == nil { + return protoiface.UnmarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Flags: input.Flags, + }, nil + } + options := runtime.UnmarshalInputToOptions(input) + _ = options + dAtA := input.Buf + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: RemoveFromTopicWorkerWhitelistRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: RemoveFromTopicWorkerWhitelistRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Sender", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + x.Sender = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Address", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + x.Address = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 3: + if wireType != 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field TopicId", wireType) + } + x.TopicId = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + x.TopicId |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + default: + iNdEx = preIndex + skippy, err := runtime.Skip(dAtA[iNdEx:]) + if err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if (iNdEx + skippy) > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + if !options.DiscardUnknown { + x.unknownFields = append(x.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + } + iNdEx += skippy + } + } + + if iNdEx > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, nil + } + return &protoiface.Methods{ + NoUnkeyedLiterals: struct{}{}, + Flags: protoiface.SupportMarshalDeterministic | protoiface.SupportUnmarshalDiscardUnknown, + Size: size, + Marshal: marshal, + Unmarshal: unmarshal, + Merge: nil, + CheckInitialized: nil, + } +} + +var ( + md_RemoveFromTopicWorkerWhitelistResponse protoreflect.MessageDescriptor +) + +func init() { + file_emissions_v8_tx_proto_init() + md_RemoveFromTopicWorkerWhitelistResponse = File_emissions_v8_tx_proto.Messages().ByName("RemoveFromTopicWorkerWhitelistResponse") +} + +var _ protoreflect.Message = (*fastReflection_RemoveFromTopicWorkerWhitelistResponse)(nil) + +type fastReflection_RemoveFromTopicWorkerWhitelistResponse RemoveFromTopicWorkerWhitelistResponse + +func (x *RemoveFromTopicWorkerWhitelistResponse) ProtoReflect() protoreflect.Message { + return (*fastReflection_RemoveFromTopicWorkerWhitelistResponse)(x) +} + +func (x *RemoveFromTopicWorkerWhitelistResponse) slowProtoReflect() protoreflect.Message { + mi := &file_emissions_v8_tx_proto_msgTypes[80] + 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) +} + +var _fastReflection_RemoveFromTopicWorkerWhitelistResponse_messageType fastReflection_RemoveFromTopicWorkerWhitelistResponse_messageType +var _ protoreflect.MessageType = fastReflection_RemoveFromTopicWorkerWhitelistResponse_messageType{} + +type fastReflection_RemoveFromTopicWorkerWhitelistResponse_messageType struct{} + +func (x fastReflection_RemoveFromTopicWorkerWhitelistResponse_messageType) Zero() protoreflect.Message { + return (*fastReflection_RemoveFromTopicWorkerWhitelistResponse)(nil) +} +func (x fastReflection_RemoveFromTopicWorkerWhitelistResponse_messageType) New() protoreflect.Message { + return new(fastReflection_RemoveFromTopicWorkerWhitelistResponse) +} +func (x fastReflection_RemoveFromTopicWorkerWhitelistResponse_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_RemoveFromTopicWorkerWhitelistResponse +} + +// Descriptor returns message descriptor, which contains only the protobuf +// type information for the message. +func (x *fastReflection_RemoveFromTopicWorkerWhitelistResponse) Descriptor() protoreflect.MessageDescriptor { + return md_RemoveFromTopicWorkerWhitelistResponse +} + +// Type returns the message type, which encapsulates both Go and protobuf +// type information. If the Go type information is not needed, +// it is recommended that the message descriptor be used instead. +func (x *fastReflection_RemoveFromTopicWorkerWhitelistResponse) Type() protoreflect.MessageType { + return _fastReflection_RemoveFromTopicWorkerWhitelistResponse_messageType +} + +// New returns a newly allocated and mutable empty message. +func (x *fastReflection_RemoveFromTopicWorkerWhitelistResponse) New() protoreflect.Message { + return new(fastReflection_RemoveFromTopicWorkerWhitelistResponse) +} + +// Interface unwraps the message reflection interface and +// returns the underlying ProtoMessage interface. +func (x *fastReflection_RemoveFromTopicWorkerWhitelistResponse) Interface() protoreflect.ProtoMessage { + return (*RemoveFromTopicWorkerWhitelistResponse)(x) +} + +// Range iterates over every populated field in an undefined order, +// calling f for each field descriptor and value encountered. +// Range returns immediately if f returns false. +// While iterating, mutating operations may only be performed +// on the current field descriptor. +func (x *fastReflection_RemoveFromTopicWorkerWhitelistResponse) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { +} + +// Has reports whether a field is populated. +// +// Some fields have the property of nullability where it is possible to +// distinguish between the default value of a field and whether the field +// was explicitly populated with the default value. Singular message fields, +// member fields of a oneof, and proto2 scalar fields are nullable. Such +// fields are populated only if explicitly set. +// +// In other cases (aside from the nullable cases above), +// a proto3 scalar field is populated if it contains a non-zero value, and +// a repeated field is populated if it is non-empty. +func (x *fastReflection_RemoveFromTopicWorkerWhitelistResponse) Has(fd protoreflect.FieldDescriptor) bool { + switch fd.FullName() { + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.RemoveFromTopicWorkerWhitelistResponse")) + } + panic(fmt.Errorf("message emissions.v8.RemoveFromTopicWorkerWhitelistResponse does not contain field %s", fd.FullName())) + } +} + +// Clear clears the field such that a subsequent Has call reports false. +// +// Clearing an extension field clears both the extension type and value +// associated with the given field number. +// +// Clear is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_RemoveFromTopicWorkerWhitelistResponse) Clear(fd protoreflect.FieldDescriptor) { + switch fd.FullName() { + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.RemoveFromTopicWorkerWhitelistResponse")) + } + panic(fmt.Errorf("message emissions.v8.RemoveFromTopicWorkerWhitelistResponse does not contain field %s", fd.FullName())) + } +} + +// Get retrieves the value for a field. +// +// For unpopulated scalars, it returns the default value, where +// the default value of a bytes scalar is guaranteed to be a copy. +// For unpopulated composite types, it returns an empty, read-only view +// of the value; to obtain a mutable reference, use Mutable. +func (x *fastReflection_RemoveFromTopicWorkerWhitelistResponse) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { + switch descriptor.FullName() { + default: + if descriptor.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.RemoveFromTopicWorkerWhitelistResponse")) + } + panic(fmt.Errorf("message emissions.v8.RemoveFromTopicWorkerWhitelistResponse does not contain field %s", descriptor.FullName())) + } +} + +// Set stores the value for a field. +// +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType. +// When setting a composite type, it is unspecified whether the stored value +// aliases the source's memory in any way. If the composite value is an +// empty, read-only value, then it panics. +// +// Set is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_RemoveFromTopicWorkerWhitelistResponse) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { + switch fd.FullName() { + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.RemoveFromTopicWorkerWhitelistResponse")) + } + panic(fmt.Errorf("message emissions.v8.RemoveFromTopicWorkerWhitelistResponse does not contain field %s", fd.FullName())) + } +} + +// Mutable returns a mutable reference to a composite type. +// +// If the field is unpopulated, it may allocate a composite value. +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType +// if not already stored. +// It panics if the field does not contain a composite type. +// +// Mutable is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_RemoveFromTopicWorkerWhitelistResponse) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.RemoveFromTopicWorkerWhitelistResponse")) + } + panic(fmt.Errorf("message emissions.v8.RemoveFromTopicWorkerWhitelistResponse does not contain field %s", fd.FullName())) + } +} + +// NewField returns a new value that is assignable to the field +// for the given descriptor. For scalars, this returns the default value. +// For lists, maps, and messages, this returns a new, empty, mutable value. +func (x *fastReflection_RemoveFromTopicWorkerWhitelistResponse) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.RemoveFromTopicWorkerWhitelistResponse")) + } + panic(fmt.Errorf("message emissions.v8.RemoveFromTopicWorkerWhitelistResponse does not contain field %s", fd.FullName())) + } +} + +// WhichOneof reports which field within the oneof is populated, +// returning nil if none are populated. +// It panics if the oneof descriptor does not belong to this message. +func (x *fastReflection_RemoveFromTopicWorkerWhitelistResponse) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { + switch d.FullName() { + default: + panic(fmt.Errorf("%s is not a oneof field in emissions.v8.RemoveFromTopicWorkerWhitelistResponse", d.FullName())) + } + panic("unreachable") +} + +// GetUnknown retrieves the entire list of unknown fields. +// The caller may only mutate the contents of the RawFields +// if the mutated bytes are stored back into the message with SetUnknown. +func (x *fastReflection_RemoveFromTopicWorkerWhitelistResponse) GetUnknown() protoreflect.RawFields { + return x.unknownFields +} + +// SetUnknown stores an entire list of unknown fields. +// The raw fields must be syntactically valid according to the wire format. +// An implementation may panic if this is not the case. +// Once stored, the caller must not mutate the content of the RawFields. +// An empty RawFields may be passed to clear the fields. +// +// SetUnknown is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_RemoveFromTopicWorkerWhitelistResponse) SetUnknown(fields protoreflect.RawFields) { + x.unknownFields = fields +} + +// IsValid reports whether the message is valid. +// +// An invalid message is an empty, read-only value. +// +// An invalid message often corresponds to a nil pointer of the concrete +// message type, but the details are implementation dependent. +// Validity is not part of the protobuf data model, and may not +// be preserved in marshaling or other operations. +func (x *fastReflection_RemoveFromTopicWorkerWhitelistResponse) IsValid() bool { + return x != nil +} + +// ProtoMethods returns optional fastReflectionFeature-path implementations of various operations. +// This method may return nil. +// +// The returned methods type is identical to +// "google.golang.org/protobuf/runtime/protoiface".Methods. +// Consult the protoiface package documentation for details. +func (x *fastReflection_RemoveFromTopicWorkerWhitelistResponse) ProtoMethods() *protoiface.Methods { + size := func(input protoiface.SizeInput) protoiface.SizeOutput { + x := input.Message.Interface().(*RemoveFromTopicWorkerWhitelistResponse) + if x == nil { + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: 0, + } + } + options := runtime.SizeInputToOptions(input) + _ = options + var n int + var l int + _ = l + if x.unknownFields != nil { + n += len(x.unknownFields) + } + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: n, + } + } + + marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { + x := input.Message.Interface().(*RemoveFromTopicWorkerWhitelistResponse) + if x == nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + options := runtime.MarshalInputToOptions(input) + _ = options + size := options.Size(x) + dAtA := make([]byte, size) + i := len(dAtA) + _ = i + var l int + _ = l + if x.unknownFields != nil { + i -= len(x.unknownFields) + copy(dAtA[i:], x.unknownFields) + } + if input.Buf != nil { + input.Buf = append(input.Buf, dAtA...) + } else { + input.Buf = dAtA + } + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { + x := input.Message.Interface().(*RemoveFromTopicWorkerWhitelistResponse) + if x == nil { + return protoiface.UnmarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Flags: input.Flags, + }, nil + } + options := runtime.UnmarshalInputToOptions(input) + _ = options + dAtA := input.Buf + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: RemoveFromTopicWorkerWhitelistResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: RemoveFromTopicWorkerWhitelistResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + default: + iNdEx = preIndex + skippy, err := runtime.Skip(dAtA[iNdEx:]) + if err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if (iNdEx + skippy) > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + if !options.DiscardUnknown { + x.unknownFields = append(x.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + } + iNdEx += skippy + } + } + + if iNdEx > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, nil + } + return &protoiface.Methods{ + NoUnkeyedLiterals: struct{}{}, + Flags: protoiface.SupportMarshalDeterministic | protoiface.SupportUnmarshalDiscardUnknown, + Size: size, + Marshal: marshal, + Unmarshal: unmarshal, + Merge: nil, + CheckInitialized: nil, + } +} + +var ( + md_AddToTopicReputerWhitelistRequest protoreflect.MessageDescriptor + fd_AddToTopicReputerWhitelistRequest_sender protoreflect.FieldDescriptor + fd_AddToTopicReputerWhitelistRequest_address protoreflect.FieldDescriptor + fd_AddToTopicReputerWhitelistRequest_topic_id protoreflect.FieldDescriptor +) + +func init() { + file_emissions_v8_tx_proto_init() + md_AddToTopicReputerWhitelistRequest = File_emissions_v8_tx_proto.Messages().ByName("AddToTopicReputerWhitelistRequest") + fd_AddToTopicReputerWhitelistRequest_sender = md_AddToTopicReputerWhitelistRequest.Fields().ByName("sender") + fd_AddToTopicReputerWhitelistRequest_address = md_AddToTopicReputerWhitelistRequest.Fields().ByName("address") + fd_AddToTopicReputerWhitelistRequest_topic_id = md_AddToTopicReputerWhitelistRequest.Fields().ByName("topic_id") +} + +var _ protoreflect.Message = (*fastReflection_AddToTopicReputerWhitelistRequest)(nil) + +type fastReflection_AddToTopicReputerWhitelistRequest AddToTopicReputerWhitelistRequest + +func (x *AddToTopicReputerWhitelistRequest) ProtoReflect() protoreflect.Message { + return (*fastReflection_AddToTopicReputerWhitelistRequest)(x) +} + +func (x *AddToTopicReputerWhitelistRequest) slowProtoReflect() protoreflect.Message { + mi := &file_emissions_v8_tx_proto_msgTypes[81] + 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) +} + +var _fastReflection_AddToTopicReputerWhitelistRequest_messageType fastReflection_AddToTopicReputerWhitelistRequest_messageType +var _ protoreflect.MessageType = fastReflection_AddToTopicReputerWhitelistRequest_messageType{} + +type fastReflection_AddToTopicReputerWhitelistRequest_messageType struct{} + +func (x fastReflection_AddToTopicReputerWhitelistRequest_messageType) Zero() protoreflect.Message { + return (*fastReflection_AddToTopicReputerWhitelistRequest)(nil) +} +func (x fastReflection_AddToTopicReputerWhitelistRequest_messageType) New() protoreflect.Message { + return new(fastReflection_AddToTopicReputerWhitelistRequest) +} +func (x fastReflection_AddToTopicReputerWhitelistRequest_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_AddToTopicReputerWhitelistRequest +} + +// Descriptor returns message descriptor, which contains only the protobuf +// type information for the message. +func (x *fastReflection_AddToTopicReputerWhitelistRequest) Descriptor() protoreflect.MessageDescriptor { + return md_AddToTopicReputerWhitelistRequest +} + +// Type returns the message type, which encapsulates both Go and protobuf +// type information. If the Go type information is not needed, +// it is recommended that the message descriptor be used instead. +func (x *fastReflection_AddToTopicReputerWhitelistRequest) Type() protoreflect.MessageType { + return _fastReflection_AddToTopicReputerWhitelistRequest_messageType +} + +// New returns a newly allocated and mutable empty message. +func (x *fastReflection_AddToTopicReputerWhitelistRequest) New() protoreflect.Message { + return new(fastReflection_AddToTopicReputerWhitelistRequest) +} + +// Interface unwraps the message reflection interface and +// returns the underlying ProtoMessage interface. +func (x *fastReflection_AddToTopicReputerWhitelistRequest) Interface() protoreflect.ProtoMessage { + return (*AddToTopicReputerWhitelistRequest)(x) +} + +// Range iterates over every populated field in an undefined order, +// calling f for each field descriptor and value encountered. +// Range returns immediately if f returns false. +// While iterating, mutating operations may only be performed +// on the current field descriptor. +func (x *fastReflection_AddToTopicReputerWhitelistRequest) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { + if x.Sender != "" { + value := protoreflect.ValueOfString(x.Sender) + if !f(fd_AddToTopicReputerWhitelistRequest_sender, value) { + return + } + } + if x.Address != "" { + value := protoreflect.ValueOfString(x.Address) + if !f(fd_AddToTopicReputerWhitelistRequest_address, value) { + return + } + } + if x.TopicId != uint64(0) { + value := protoreflect.ValueOfUint64(x.TopicId) + if !f(fd_AddToTopicReputerWhitelistRequest_topic_id, value) { + return + } + } +} + +// Has reports whether a field is populated. +// +// Some fields have the property of nullability where it is possible to +// distinguish between the default value of a field and whether the field +// was explicitly populated with the default value. Singular message fields, +// member fields of a oneof, and proto2 scalar fields are nullable. Such +// fields are populated only if explicitly set. +// +// In other cases (aside from the nullable cases above), +// a proto3 scalar field is populated if it contains a non-zero value, and +// a repeated field is populated if it is non-empty. +func (x *fastReflection_AddToTopicReputerWhitelistRequest) Has(fd protoreflect.FieldDescriptor) bool { + switch fd.FullName() { + case "emissions.v8.AddToTopicReputerWhitelistRequest.sender": + return x.Sender != "" + case "emissions.v8.AddToTopicReputerWhitelistRequest.address": + return x.Address != "" + case "emissions.v8.AddToTopicReputerWhitelistRequest.topic_id": + return x.TopicId != uint64(0) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.AddToTopicReputerWhitelistRequest")) + } + panic(fmt.Errorf("message emissions.v8.AddToTopicReputerWhitelistRequest does not contain field %s", fd.FullName())) + } +} + +// Clear clears the field such that a subsequent Has call reports false. +// +// Clearing an extension field clears both the extension type and value +// associated with the given field number. +// +// Clear is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_AddToTopicReputerWhitelistRequest) Clear(fd protoreflect.FieldDescriptor) { + switch fd.FullName() { + case "emissions.v8.AddToTopicReputerWhitelistRequest.sender": + x.Sender = "" + case "emissions.v8.AddToTopicReputerWhitelistRequest.address": + x.Address = "" + case "emissions.v8.AddToTopicReputerWhitelistRequest.topic_id": + x.TopicId = uint64(0) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.AddToTopicReputerWhitelistRequest")) + } + panic(fmt.Errorf("message emissions.v8.AddToTopicReputerWhitelistRequest does not contain field %s", fd.FullName())) + } +} + +// Get retrieves the value for a field. +// +// For unpopulated scalars, it returns the default value, where +// the default value of a bytes scalar is guaranteed to be a copy. +// For unpopulated composite types, it returns an empty, read-only view +// of the value; to obtain a mutable reference, use Mutable. +func (x *fastReflection_AddToTopicReputerWhitelistRequest) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { + switch descriptor.FullName() { + case "emissions.v8.AddToTopicReputerWhitelistRequest.sender": + value := x.Sender + return protoreflect.ValueOfString(value) + case "emissions.v8.AddToTopicReputerWhitelistRequest.address": + value := x.Address + return protoreflect.ValueOfString(value) + case "emissions.v8.AddToTopicReputerWhitelistRequest.topic_id": + value := x.TopicId + return protoreflect.ValueOfUint64(value) + default: + if descriptor.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.AddToTopicReputerWhitelistRequest")) + } + panic(fmt.Errorf("message emissions.v8.AddToTopicReputerWhitelistRequest does not contain field %s", descriptor.FullName())) + } +} + +// Set stores the value for a field. +// +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType. +// When setting a composite type, it is unspecified whether the stored value +// aliases the source's memory in any way. If the composite value is an +// empty, read-only value, then it panics. +// +// Set is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_AddToTopicReputerWhitelistRequest) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { + switch fd.FullName() { + case "emissions.v8.AddToTopicReputerWhitelistRequest.sender": + x.Sender = value.Interface().(string) + case "emissions.v8.AddToTopicReputerWhitelistRequest.address": + x.Address = value.Interface().(string) + case "emissions.v8.AddToTopicReputerWhitelistRequest.topic_id": + x.TopicId = value.Uint() + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.AddToTopicReputerWhitelistRequest")) + } + panic(fmt.Errorf("message emissions.v8.AddToTopicReputerWhitelistRequest does not contain field %s", fd.FullName())) + } +} + +// Mutable returns a mutable reference to a composite type. +// +// If the field is unpopulated, it may allocate a composite value. +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType +// if not already stored. +// It panics if the field does not contain a composite type. +// +// Mutable is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_AddToTopicReputerWhitelistRequest) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.AddToTopicReputerWhitelistRequest.sender": + panic(fmt.Errorf("field sender of message emissions.v8.AddToTopicReputerWhitelistRequest is not mutable")) + case "emissions.v8.AddToTopicReputerWhitelistRequest.address": + panic(fmt.Errorf("field address of message emissions.v8.AddToTopicReputerWhitelistRequest is not mutable")) + case "emissions.v8.AddToTopicReputerWhitelistRequest.topic_id": + panic(fmt.Errorf("field topic_id of message emissions.v8.AddToTopicReputerWhitelistRequest is not mutable")) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.AddToTopicReputerWhitelistRequest")) + } + panic(fmt.Errorf("message emissions.v8.AddToTopicReputerWhitelistRequest does not contain field %s", fd.FullName())) + } +} + +// NewField returns a new value that is assignable to the field +// for the given descriptor. For scalars, this returns the default value. +// For lists, maps, and messages, this returns a new, empty, mutable value. +func (x *fastReflection_AddToTopicReputerWhitelistRequest) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.AddToTopicReputerWhitelistRequest.sender": + return protoreflect.ValueOfString("") + case "emissions.v8.AddToTopicReputerWhitelistRequest.address": + return protoreflect.ValueOfString("") + case "emissions.v8.AddToTopicReputerWhitelistRequest.topic_id": + return protoreflect.ValueOfUint64(uint64(0)) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.AddToTopicReputerWhitelistRequest")) + } + panic(fmt.Errorf("message emissions.v8.AddToTopicReputerWhitelistRequest does not contain field %s", fd.FullName())) + } +} + +// WhichOneof reports which field within the oneof is populated, +// returning nil if none are populated. +// It panics if the oneof descriptor does not belong to this message. +func (x *fastReflection_AddToTopicReputerWhitelistRequest) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { + switch d.FullName() { + default: + panic(fmt.Errorf("%s is not a oneof field in emissions.v8.AddToTopicReputerWhitelistRequest", d.FullName())) + } + panic("unreachable") +} + +// GetUnknown retrieves the entire list of unknown fields. +// The caller may only mutate the contents of the RawFields +// if the mutated bytes are stored back into the message with SetUnknown. +func (x *fastReflection_AddToTopicReputerWhitelistRequest) GetUnknown() protoreflect.RawFields { + return x.unknownFields +} + +// SetUnknown stores an entire list of unknown fields. +// The raw fields must be syntactically valid according to the wire format. +// An implementation may panic if this is not the case. +// Once stored, the caller must not mutate the content of the RawFields. +// An empty RawFields may be passed to clear the fields. +// +// SetUnknown is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_AddToTopicReputerWhitelistRequest) SetUnknown(fields protoreflect.RawFields) { + x.unknownFields = fields +} + +// IsValid reports whether the message is valid. +// +// An invalid message is an empty, read-only value. +// +// An invalid message often corresponds to a nil pointer of the concrete +// message type, but the details are implementation dependent. +// Validity is not part of the protobuf data model, and may not +// be preserved in marshaling or other operations. +func (x *fastReflection_AddToTopicReputerWhitelistRequest) IsValid() bool { + return x != nil +} + +// ProtoMethods returns optional fastReflectionFeature-path implementations of various operations. +// This method may return nil. +// +// The returned methods type is identical to +// "google.golang.org/protobuf/runtime/protoiface".Methods. +// Consult the protoiface package documentation for details. +func (x *fastReflection_AddToTopicReputerWhitelistRequest) ProtoMethods() *protoiface.Methods { + size := func(input protoiface.SizeInput) protoiface.SizeOutput { + x := input.Message.Interface().(*AddToTopicReputerWhitelistRequest) + if x == nil { + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: 0, + } + } + options := runtime.SizeInputToOptions(input) + _ = options + var n int + var l int + _ = l + l = len(x.Sender) + if l > 0 { + n += 1 + l + runtime.Sov(uint64(l)) + } + l = len(x.Address) + if l > 0 { + n += 1 + l + runtime.Sov(uint64(l)) + } + if x.TopicId != 0 { + n += 1 + runtime.Sov(uint64(x.TopicId)) + } + if x.unknownFields != nil { + n += len(x.unknownFields) + } + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: n, + } + } + + marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { + x := input.Message.Interface().(*AddToTopicReputerWhitelistRequest) + if x == nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + options := runtime.MarshalInputToOptions(input) + _ = options + size := options.Size(x) + dAtA := make([]byte, size) + i := len(dAtA) + _ = i + var l int + _ = l + if x.unknownFields != nil { + i -= len(x.unknownFields) + copy(dAtA[i:], x.unknownFields) + } + if x.TopicId != 0 { + i = runtime.EncodeVarint(dAtA, i, uint64(x.TopicId)) + i-- + dAtA[i] = 0x18 + } + if len(x.Address) > 0 { + i -= len(x.Address) + copy(dAtA[i:], x.Address) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.Address))) + i-- + dAtA[i] = 0x12 + } + if len(x.Sender) > 0 { + i -= len(x.Sender) + copy(dAtA[i:], x.Sender) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.Sender))) + i-- + dAtA[i] = 0xa + } + if input.Buf != nil { + input.Buf = append(input.Buf, dAtA...) + } else { + input.Buf = dAtA + } + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { + x := input.Message.Interface().(*AddToTopicReputerWhitelistRequest) + if x == nil { + return protoiface.UnmarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Flags: input.Flags, + }, nil + } + options := runtime.UnmarshalInputToOptions(input) + _ = options + dAtA := input.Buf + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: AddToTopicReputerWhitelistRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: AddToTopicReputerWhitelistRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Sender", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + x.Sender = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Address", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + x.Address = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 3: + if wireType != 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field TopicId", wireType) + } + x.TopicId = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + x.TopicId |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + default: + iNdEx = preIndex + skippy, err := runtime.Skip(dAtA[iNdEx:]) + if err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if (iNdEx + skippy) > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + if !options.DiscardUnknown { + x.unknownFields = append(x.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + } + iNdEx += skippy + } + } + + if iNdEx > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, nil + } + return &protoiface.Methods{ + NoUnkeyedLiterals: struct{}{}, + Flags: protoiface.SupportMarshalDeterministic | protoiface.SupportUnmarshalDiscardUnknown, + Size: size, + Marshal: marshal, + Unmarshal: unmarshal, + Merge: nil, + CheckInitialized: nil, + } +} + +var ( + md_AddToTopicReputerWhitelistResponse protoreflect.MessageDescriptor +) + +func init() { + file_emissions_v8_tx_proto_init() + md_AddToTopicReputerWhitelistResponse = File_emissions_v8_tx_proto.Messages().ByName("AddToTopicReputerWhitelistResponse") +} + +var _ protoreflect.Message = (*fastReflection_AddToTopicReputerWhitelistResponse)(nil) + +type fastReflection_AddToTopicReputerWhitelistResponse AddToTopicReputerWhitelistResponse + +func (x *AddToTopicReputerWhitelistResponse) ProtoReflect() protoreflect.Message { + return (*fastReflection_AddToTopicReputerWhitelistResponse)(x) +} + +func (x *AddToTopicReputerWhitelistResponse) slowProtoReflect() protoreflect.Message { + mi := &file_emissions_v8_tx_proto_msgTypes[82] + 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) +} + +var _fastReflection_AddToTopicReputerWhitelistResponse_messageType fastReflection_AddToTopicReputerWhitelistResponse_messageType +var _ protoreflect.MessageType = fastReflection_AddToTopicReputerWhitelistResponse_messageType{} + +type fastReflection_AddToTopicReputerWhitelistResponse_messageType struct{} + +func (x fastReflection_AddToTopicReputerWhitelistResponse_messageType) Zero() protoreflect.Message { + return (*fastReflection_AddToTopicReputerWhitelistResponse)(nil) +} +func (x fastReflection_AddToTopicReputerWhitelistResponse_messageType) New() protoreflect.Message { + return new(fastReflection_AddToTopicReputerWhitelistResponse) +} +func (x fastReflection_AddToTopicReputerWhitelistResponse_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_AddToTopicReputerWhitelistResponse +} + +// Descriptor returns message descriptor, which contains only the protobuf +// type information for the message. +func (x *fastReflection_AddToTopicReputerWhitelistResponse) Descriptor() protoreflect.MessageDescriptor { + return md_AddToTopicReputerWhitelistResponse +} + +// Type returns the message type, which encapsulates both Go and protobuf +// type information. If the Go type information is not needed, +// it is recommended that the message descriptor be used instead. +func (x *fastReflection_AddToTopicReputerWhitelistResponse) Type() protoreflect.MessageType { + return _fastReflection_AddToTopicReputerWhitelistResponse_messageType +} + +// New returns a newly allocated and mutable empty message. +func (x *fastReflection_AddToTopicReputerWhitelistResponse) New() protoreflect.Message { + return new(fastReflection_AddToTopicReputerWhitelistResponse) +} + +// Interface unwraps the message reflection interface and +// returns the underlying ProtoMessage interface. +func (x *fastReflection_AddToTopicReputerWhitelistResponse) Interface() protoreflect.ProtoMessage { + return (*AddToTopicReputerWhitelistResponse)(x) +} + +// Range iterates over every populated field in an undefined order, +// calling f for each field descriptor and value encountered. +// Range returns immediately if f returns false. +// While iterating, mutating operations may only be performed +// on the current field descriptor. +func (x *fastReflection_AddToTopicReputerWhitelistResponse) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { +} + +// Has reports whether a field is populated. +// +// Some fields have the property of nullability where it is possible to +// distinguish between the default value of a field and whether the field +// was explicitly populated with the default value. Singular message fields, +// member fields of a oneof, and proto2 scalar fields are nullable. Such +// fields are populated only if explicitly set. +// +// In other cases (aside from the nullable cases above), +// a proto3 scalar field is populated if it contains a non-zero value, and +// a repeated field is populated if it is non-empty. +func (x *fastReflection_AddToTopicReputerWhitelistResponse) Has(fd protoreflect.FieldDescriptor) bool { + switch fd.FullName() { + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.AddToTopicReputerWhitelistResponse")) + } + panic(fmt.Errorf("message emissions.v8.AddToTopicReputerWhitelistResponse does not contain field %s", fd.FullName())) + } +} + +// Clear clears the field such that a subsequent Has call reports false. +// +// Clearing an extension field clears both the extension type and value +// associated with the given field number. +// +// Clear is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_AddToTopicReputerWhitelistResponse) Clear(fd protoreflect.FieldDescriptor) { + switch fd.FullName() { + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.AddToTopicReputerWhitelistResponse")) + } + panic(fmt.Errorf("message emissions.v8.AddToTopicReputerWhitelistResponse does not contain field %s", fd.FullName())) + } +} + +// Get retrieves the value for a field. +// +// For unpopulated scalars, it returns the default value, where +// the default value of a bytes scalar is guaranteed to be a copy. +// For unpopulated composite types, it returns an empty, read-only view +// of the value; to obtain a mutable reference, use Mutable. +func (x *fastReflection_AddToTopicReputerWhitelistResponse) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { + switch descriptor.FullName() { + default: + if descriptor.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.AddToTopicReputerWhitelistResponse")) + } + panic(fmt.Errorf("message emissions.v8.AddToTopicReputerWhitelistResponse does not contain field %s", descriptor.FullName())) + } +} + +// Set stores the value for a field. +// +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType. +// When setting a composite type, it is unspecified whether the stored value +// aliases the source's memory in any way. If the composite value is an +// empty, read-only value, then it panics. +// +// Set is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_AddToTopicReputerWhitelistResponse) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { + switch fd.FullName() { + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.AddToTopicReputerWhitelistResponse")) + } + panic(fmt.Errorf("message emissions.v8.AddToTopicReputerWhitelistResponse does not contain field %s", fd.FullName())) + } +} + +// Mutable returns a mutable reference to a composite type. +// +// If the field is unpopulated, it may allocate a composite value. +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType +// if not already stored. +// It panics if the field does not contain a composite type. +// +// Mutable is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_AddToTopicReputerWhitelistResponse) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.AddToTopicReputerWhitelistResponse")) + } + panic(fmt.Errorf("message emissions.v8.AddToTopicReputerWhitelistResponse does not contain field %s", fd.FullName())) + } +} + +// NewField returns a new value that is assignable to the field +// for the given descriptor. For scalars, this returns the default value. +// For lists, maps, and messages, this returns a new, empty, mutable value. +func (x *fastReflection_AddToTopicReputerWhitelistResponse) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.AddToTopicReputerWhitelistResponse")) + } + panic(fmt.Errorf("message emissions.v8.AddToTopicReputerWhitelistResponse does not contain field %s", fd.FullName())) + } +} + +// WhichOneof reports which field within the oneof is populated, +// returning nil if none are populated. +// It panics if the oneof descriptor does not belong to this message. +func (x *fastReflection_AddToTopicReputerWhitelistResponse) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { + switch d.FullName() { + default: + panic(fmt.Errorf("%s is not a oneof field in emissions.v8.AddToTopicReputerWhitelistResponse", d.FullName())) + } + panic("unreachable") +} + +// GetUnknown retrieves the entire list of unknown fields. +// The caller may only mutate the contents of the RawFields +// if the mutated bytes are stored back into the message with SetUnknown. +func (x *fastReflection_AddToTopicReputerWhitelistResponse) GetUnknown() protoreflect.RawFields { + return x.unknownFields +} + +// SetUnknown stores an entire list of unknown fields. +// The raw fields must be syntactically valid according to the wire format. +// An implementation may panic if this is not the case. +// Once stored, the caller must not mutate the content of the RawFields. +// An empty RawFields may be passed to clear the fields. +// +// SetUnknown is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_AddToTopicReputerWhitelistResponse) SetUnknown(fields protoreflect.RawFields) { + x.unknownFields = fields +} + +// IsValid reports whether the message is valid. +// +// An invalid message is an empty, read-only value. +// +// An invalid message often corresponds to a nil pointer of the concrete +// message type, but the details are implementation dependent. +// Validity is not part of the protobuf data model, and may not +// be preserved in marshaling or other operations. +func (x *fastReflection_AddToTopicReputerWhitelistResponse) IsValid() bool { + return x != nil +} + +// ProtoMethods returns optional fastReflectionFeature-path implementations of various operations. +// This method may return nil. +// +// The returned methods type is identical to +// "google.golang.org/protobuf/runtime/protoiface".Methods. +// Consult the protoiface package documentation for details. +func (x *fastReflection_AddToTopicReputerWhitelistResponse) ProtoMethods() *protoiface.Methods { + size := func(input protoiface.SizeInput) protoiface.SizeOutput { + x := input.Message.Interface().(*AddToTopicReputerWhitelistResponse) + if x == nil { + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: 0, + } + } + options := runtime.SizeInputToOptions(input) + _ = options + var n int + var l int + _ = l + if x.unknownFields != nil { + n += len(x.unknownFields) + } + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: n, + } + } + + marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { + x := input.Message.Interface().(*AddToTopicReputerWhitelistResponse) + if x == nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + options := runtime.MarshalInputToOptions(input) + _ = options + size := options.Size(x) + dAtA := make([]byte, size) + i := len(dAtA) + _ = i + var l int + _ = l + if x.unknownFields != nil { + i -= len(x.unknownFields) + copy(dAtA[i:], x.unknownFields) + } + if input.Buf != nil { + input.Buf = append(input.Buf, dAtA...) + } else { + input.Buf = dAtA + } + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { + x := input.Message.Interface().(*AddToTopicReputerWhitelistResponse) + if x == nil { + return protoiface.UnmarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Flags: input.Flags, + }, nil + } + options := runtime.UnmarshalInputToOptions(input) + _ = options + dAtA := input.Buf + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: AddToTopicReputerWhitelistResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: AddToTopicReputerWhitelistResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + default: + iNdEx = preIndex + skippy, err := runtime.Skip(dAtA[iNdEx:]) + if err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if (iNdEx + skippy) > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + if !options.DiscardUnknown { + x.unknownFields = append(x.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + } + iNdEx += skippy + } + } + + if iNdEx > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, nil + } + return &protoiface.Methods{ + NoUnkeyedLiterals: struct{}{}, + Flags: protoiface.SupportMarshalDeterministic | protoiface.SupportUnmarshalDiscardUnknown, + Size: size, + Marshal: marshal, + Unmarshal: unmarshal, + Merge: nil, + CheckInitialized: nil, + } +} + +var ( + md_RemoveFromTopicReputerWhitelistRequest protoreflect.MessageDescriptor + fd_RemoveFromTopicReputerWhitelistRequest_sender protoreflect.FieldDescriptor + fd_RemoveFromTopicReputerWhitelistRequest_address protoreflect.FieldDescriptor + fd_RemoveFromTopicReputerWhitelistRequest_topic_id protoreflect.FieldDescriptor +) + +func init() { + file_emissions_v8_tx_proto_init() + md_RemoveFromTopicReputerWhitelistRequest = File_emissions_v8_tx_proto.Messages().ByName("RemoveFromTopicReputerWhitelistRequest") + fd_RemoveFromTopicReputerWhitelistRequest_sender = md_RemoveFromTopicReputerWhitelistRequest.Fields().ByName("sender") + fd_RemoveFromTopicReputerWhitelistRequest_address = md_RemoveFromTopicReputerWhitelistRequest.Fields().ByName("address") + fd_RemoveFromTopicReputerWhitelistRequest_topic_id = md_RemoveFromTopicReputerWhitelistRequest.Fields().ByName("topic_id") +} + +var _ protoreflect.Message = (*fastReflection_RemoveFromTopicReputerWhitelistRequest)(nil) + +type fastReflection_RemoveFromTopicReputerWhitelistRequest RemoveFromTopicReputerWhitelistRequest + +func (x *RemoveFromTopicReputerWhitelistRequest) ProtoReflect() protoreflect.Message { + return (*fastReflection_RemoveFromTopicReputerWhitelistRequest)(x) +} + +func (x *RemoveFromTopicReputerWhitelistRequest) slowProtoReflect() protoreflect.Message { + mi := &file_emissions_v8_tx_proto_msgTypes[83] + 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) +} + +var _fastReflection_RemoveFromTopicReputerWhitelistRequest_messageType fastReflection_RemoveFromTopicReputerWhitelistRequest_messageType +var _ protoreflect.MessageType = fastReflection_RemoveFromTopicReputerWhitelistRequest_messageType{} + +type fastReflection_RemoveFromTopicReputerWhitelistRequest_messageType struct{} + +func (x fastReflection_RemoveFromTopicReputerWhitelistRequest_messageType) Zero() protoreflect.Message { + return (*fastReflection_RemoveFromTopicReputerWhitelistRequest)(nil) +} +func (x fastReflection_RemoveFromTopicReputerWhitelistRequest_messageType) New() protoreflect.Message { + return new(fastReflection_RemoveFromTopicReputerWhitelistRequest) +} +func (x fastReflection_RemoveFromTopicReputerWhitelistRequest_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_RemoveFromTopicReputerWhitelistRequest +} + +// Descriptor returns message descriptor, which contains only the protobuf +// type information for the message. +func (x *fastReflection_RemoveFromTopicReputerWhitelistRequest) Descriptor() protoreflect.MessageDescriptor { + return md_RemoveFromTopicReputerWhitelistRequest +} + +// Type returns the message type, which encapsulates both Go and protobuf +// type information. If the Go type information is not needed, +// it is recommended that the message descriptor be used instead. +func (x *fastReflection_RemoveFromTopicReputerWhitelistRequest) Type() protoreflect.MessageType { + return _fastReflection_RemoveFromTopicReputerWhitelistRequest_messageType +} + +// New returns a newly allocated and mutable empty message. +func (x *fastReflection_RemoveFromTopicReputerWhitelistRequest) New() protoreflect.Message { + return new(fastReflection_RemoveFromTopicReputerWhitelistRequest) +} + +// Interface unwraps the message reflection interface and +// returns the underlying ProtoMessage interface. +func (x *fastReflection_RemoveFromTopicReputerWhitelistRequest) Interface() protoreflect.ProtoMessage { + return (*RemoveFromTopicReputerWhitelistRequest)(x) +} + +// Range iterates over every populated field in an undefined order, +// calling f for each field descriptor and value encountered. +// Range returns immediately if f returns false. +// While iterating, mutating operations may only be performed +// on the current field descriptor. +func (x *fastReflection_RemoveFromTopicReputerWhitelistRequest) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { + if x.Sender != "" { + value := protoreflect.ValueOfString(x.Sender) + if !f(fd_RemoveFromTopicReputerWhitelistRequest_sender, value) { + return + } + } + if x.Address != "" { + value := protoreflect.ValueOfString(x.Address) + if !f(fd_RemoveFromTopicReputerWhitelistRequest_address, value) { + return + } + } + if x.TopicId != uint64(0) { + value := protoreflect.ValueOfUint64(x.TopicId) + if !f(fd_RemoveFromTopicReputerWhitelistRequest_topic_id, value) { + return + } + } +} + +// Has reports whether a field is populated. +// +// Some fields have the property of nullability where it is possible to +// distinguish between the default value of a field and whether the field +// was explicitly populated with the default value. Singular message fields, +// member fields of a oneof, and proto2 scalar fields are nullable. Such +// fields are populated only if explicitly set. +// +// In other cases (aside from the nullable cases above), +// a proto3 scalar field is populated if it contains a non-zero value, and +// a repeated field is populated if it is non-empty. +func (x *fastReflection_RemoveFromTopicReputerWhitelistRequest) Has(fd protoreflect.FieldDescriptor) bool { + switch fd.FullName() { + case "emissions.v8.RemoveFromTopicReputerWhitelistRequest.sender": + return x.Sender != "" + case "emissions.v8.RemoveFromTopicReputerWhitelistRequest.address": + return x.Address != "" + case "emissions.v8.RemoveFromTopicReputerWhitelistRequest.topic_id": + return x.TopicId != uint64(0) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.RemoveFromTopicReputerWhitelistRequest")) + } + panic(fmt.Errorf("message emissions.v8.RemoveFromTopicReputerWhitelistRequest does not contain field %s", fd.FullName())) + } +} + +// Clear clears the field such that a subsequent Has call reports false. +// +// Clearing an extension field clears both the extension type and value +// associated with the given field number. +// +// Clear is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_RemoveFromTopicReputerWhitelistRequest) Clear(fd protoreflect.FieldDescriptor) { + switch fd.FullName() { + case "emissions.v8.RemoveFromTopicReputerWhitelistRequest.sender": + x.Sender = "" + case "emissions.v8.RemoveFromTopicReputerWhitelistRequest.address": + x.Address = "" + case "emissions.v8.RemoveFromTopicReputerWhitelistRequest.topic_id": + x.TopicId = uint64(0) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.RemoveFromTopicReputerWhitelistRequest")) + } + panic(fmt.Errorf("message emissions.v8.RemoveFromTopicReputerWhitelistRequest does not contain field %s", fd.FullName())) + } +} + +// Get retrieves the value for a field. +// +// For unpopulated scalars, it returns the default value, where +// the default value of a bytes scalar is guaranteed to be a copy. +// For unpopulated composite types, it returns an empty, read-only view +// of the value; to obtain a mutable reference, use Mutable. +func (x *fastReflection_RemoveFromTopicReputerWhitelistRequest) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { + switch descriptor.FullName() { + case "emissions.v8.RemoveFromTopicReputerWhitelistRequest.sender": + value := x.Sender + return protoreflect.ValueOfString(value) + case "emissions.v8.RemoveFromTopicReputerWhitelistRequest.address": + value := x.Address + return protoreflect.ValueOfString(value) + case "emissions.v8.RemoveFromTopicReputerWhitelistRequest.topic_id": + value := x.TopicId + return protoreflect.ValueOfUint64(value) + default: + if descriptor.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.RemoveFromTopicReputerWhitelistRequest")) + } + panic(fmt.Errorf("message emissions.v8.RemoveFromTopicReputerWhitelistRequest does not contain field %s", descriptor.FullName())) + } +} + +// Set stores the value for a field. +// +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType. +// When setting a composite type, it is unspecified whether the stored value +// aliases the source's memory in any way. If the composite value is an +// empty, read-only value, then it panics. +// +// Set is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_RemoveFromTopicReputerWhitelistRequest) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { + switch fd.FullName() { + case "emissions.v8.RemoveFromTopicReputerWhitelistRequest.sender": + x.Sender = value.Interface().(string) + case "emissions.v8.RemoveFromTopicReputerWhitelistRequest.address": + x.Address = value.Interface().(string) + case "emissions.v8.RemoveFromTopicReputerWhitelistRequest.topic_id": + x.TopicId = value.Uint() + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.RemoveFromTopicReputerWhitelistRequest")) + } + panic(fmt.Errorf("message emissions.v8.RemoveFromTopicReputerWhitelistRequest does not contain field %s", fd.FullName())) + } +} + +// Mutable returns a mutable reference to a composite type. +// +// If the field is unpopulated, it may allocate a composite value. +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType +// if not already stored. +// It panics if the field does not contain a composite type. +// +// Mutable is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_RemoveFromTopicReputerWhitelistRequest) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.RemoveFromTopicReputerWhitelistRequest.sender": + panic(fmt.Errorf("field sender of message emissions.v8.RemoveFromTopicReputerWhitelistRequest is not mutable")) + case "emissions.v8.RemoveFromTopicReputerWhitelistRequest.address": + panic(fmt.Errorf("field address of message emissions.v8.RemoveFromTopicReputerWhitelistRequest is not mutable")) + case "emissions.v8.RemoveFromTopicReputerWhitelistRequest.topic_id": + panic(fmt.Errorf("field topic_id of message emissions.v8.RemoveFromTopicReputerWhitelistRequest is not mutable")) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.RemoveFromTopicReputerWhitelistRequest")) + } + panic(fmt.Errorf("message emissions.v8.RemoveFromTopicReputerWhitelistRequest does not contain field %s", fd.FullName())) + } +} + +// NewField returns a new value that is assignable to the field +// for the given descriptor. For scalars, this returns the default value. +// For lists, maps, and messages, this returns a new, empty, mutable value. +func (x *fastReflection_RemoveFromTopicReputerWhitelistRequest) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "emissions.v8.RemoveFromTopicReputerWhitelistRequest.sender": + return protoreflect.ValueOfString("") + case "emissions.v8.RemoveFromTopicReputerWhitelistRequest.address": + return protoreflect.ValueOfString("") + case "emissions.v8.RemoveFromTopicReputerWhitelistRequest.topic_id": + return protoreflect.ValueOfUint64(uint64(0)) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.RemoveFromTopicReputerWhitelistRequest")) + } + panic(fmt.Errorf("message emissions.v8.RemoveFromTopicReputerWhitelistRequest does not contain field %s", fd.FullName())) + } +} + +// WhichOneof reports which field within the oneof is populated, +// returning nil if none are populated. +// It panics if the oneof descriptor does not belong to this message. +func (x *fastReflection_RemoveFromTopicReputerWhitelistRequest) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { + switch d.FullName() { + default: + panic(fmt.Errorf("%s is not a oneof field in emissions.v8.RemoveFromTopicReputerWhitelistRequest", d.FullName())) + } + panic("unreachable") +} + +// GetUnknown retrieves the entire list of unknown fields. +// The caller may only mutate the contents of the RawFields +// if the mutated bytes are stored back into the message with SetUnknown. +func (x *fastReflection_RemoveFromTopicReputerWhitelistRequest) GetUnknown() protoreflect.RawFields { + return x.unknownFields +} + +// SetUnknown stores an entire list of unknown fields. +// The raw fields must be syntactically valid according to the wire format. +// An implementation may panic if this is not the case. +// Once stored, the caller must not mutate the content of the RawFields. +// An empty RawFields may be passed to clear the fields. +// +// SetUnknown is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_RemoveFromTopicReputerWhitelistRequest) SetUnknown(fields protoreflect.RawFields) { + x.unknownFields = fields +} + +// IsValid reports whether the message is valid. +// +// An invalid message is an empty, read-only value. +// +// An invalid message often corresponds to a nil pointer of the concrete +// message type, but the details are implementation dependent. +// Validity is not part of the protobuf data model, and may not +// be preserved in marshaling or other operations. +func (x *fastReflection_RemoveFromTopicReputerWhitelistRequest) IsValid() bool { + return x != nil +} + +// ProtoMethods returns optional fastReflectionFeature-path implementations of various operations. +// This method may return nil. +// +// The returned methods type is identical to +// "google.golang.org/protobuf/runtime/protoiface".Methods. +// Consult the protoiface package documentation for details. +func (x *fastReflection_RemoveFromTopicReputerWhitelistRequest) ProtoMethods() *protoiface.Methods { + size := func(input protoiface.SizeInput) protoiface.SizeOutput { + x := input.Message.Interface().(*RemoveFromTopicReputerWhitelistRequest) + if x == nil { + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: 0, + } + } + options := runtime.SizeInputToOptions(input) + _ = options + var n int + var l int + _ = l + l = len(x.Sender) + if l > 0 { + n += 1 + l + runtime.Sov(uint64(l)) + } + l = len(x.Address) + if l > 0 { + n += 1 + l + runtime.Sov(uint64(l)) + } + if x.TopicId != 0 { + n += 1 + runtime.Sov(uint64(x.TopicId)) + } + if x.unknownFields != nil { + n += len(x.unknownFields) + } + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: n, + } + } + + marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { + x := input.Message.Interface().(*RemoveFromTopicReputerWhitelistRequest) + if x == nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + options := runtime.MarshalInputToOptions(input) + _ = options + size := options.Size(x) + dAtA := make([]byte, size) + i := len(dAtA) + _ = i + var l int + _ = l + if x.unknownFields != nil { + i -= len(x.unknownFields) + copy(dAtA[i:], x.unknownFields) + } + if x.TopicId != 0 { + i = runtime.EncodeVarint(dAtA, i, uint64(x.TopicId)) + i-- + dAtA[i] = 0x18 + } + if len(x.Address) > 0 { + i -= len(x.Address) + copy(dAtA[i:], x.Address) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.Address))) + i-- + dAtA[i] = 0x12 + } + if len(x.Sender) > 0 { + i -= len(x.Sender) + copy(dAtA[i:], x.Sender) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.Sender))) + i-- + dAtA[i] = 0xa + } + if input.Buf != nil { + input.Buf = append(input.Buf, dAtA...) + } else { + input.Buf = dAtA + } + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { + x := input.Message.Interface().(*RemoveFromTopicReputerWhitelistRequest) + if x == nil { + return protoiface.UnmarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Flags: input.Flags, + }, nil + } + options := runtime.UnmarshalInputToOptions(input) + _ = options + dAtA := input.Buf + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: RemoveFromTopicReputerWhitelistRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: RemoveFromTopicReputerWhitelistRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Sender", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + x.Sender = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Address", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + x.Address = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 3: + if wireType != 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field TopicId", wireType) + } + x.TopicId = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + x.TopicId |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + default: + iNdEx = preIndex + skippy, err := runtime.Skip(dAtA[iNdEx:]) + if err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if (iNdEx + skippy) > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + if !options.DiscardUnknown { + x.unknownFields = append(x.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + } + iNdEx += skippy + } + } + + if iNdEx > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, nil + } + return &protoiface.Methods{ + NoUnkeyedLiterals: struct{}{}, + Flags: protoiface.SupportMarshalDeterministic | protoiface.SupportUnmarshalDiscardUnknown, + Size: size, + Marshal: marshal, + Unmarshal: unmarshal, + Merge: nil, + CheckInitialized: nil, + } +} + +var ( + md_RemoveFromTopicReputerWhitelistResponse protoreflect.MessageDescriptor +) + +func init() { + file_emissions_v8_tx_proto_init() + md_RemoveFromTopicReputerWhitelistResponse = File_emissions_v8_tx_proto.Messages().ByName("RemoveFromTopicReputerWhitelistResponse") +} + +var _ protoreflect.Message = (*fastReflection_RemoveFromTopicReputerWhitelistResponse)(nil) + +type fastReflection_RemoveFromTopicReputerWhitelistResponse RemoveFromTopicReputerWhitelistResponse + +func (x *RemoveFromTopicReputerWhitelistResponse) ProtoReflect() protoreflect.Message { + return (*fastReflection_RemoveFromTopicReputerWhitelistResponse)(x) +} + +func (x *RemoveFromTopicReputerWhitelistResponse) slowProtoReflect() protoreflect.Message { + mi := &file_emissions_v8_tx_proto_msgTypes[84] + 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) +} + +var _fastReflection_RemoveFromTopicReputerWhitelistResponse_messageType fastReflection_RemoveFromTopicReputerWhitelistResponse_messageType +var _ protoreflect.MessageType = fastReflection_RemoveFromTopicReputerWhitelistResponse_messageType{} + +type fastReflection_RemoveFromTopicReputerWhitelistResponse_messageType struct{} + +func (x fastReflection_RemoveFromTopicReputerWhitelistResponse_messageType) Zero() protoreflect.Message { + return (*fastReflection_RemoveFromTopicReputerWhitelistResponse)(nil) +} +func (x fastReflection_RemoveFromTopicReputerWhitelistResponse_messageType) New() protoreflect.Message { + return new(fastReflection_RemoveFromTopicReputerWhitelistResponse) +} +func (x fastReflection_RemoveFromTopicReputerWhitelistResponse_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_RemoveFromTopicReputerWhitelistResponse +} + +// Descriptor returns message descriptor, which contains only the protobuf +// type information for the message. +func (x *fastReflection_RemoveFromTopicReputerWhitelistResponse) Descriptor() protoreflect.MessageDescriptor { + return md_RemoveFromTopicReputerWhitelistResponse +} + +// Type returns the message type, which encapsulates both Go and protobuf +// type information. If the Go type information is not needed, +// it is recommended that the message descriptor be used instead. +func (x *fastReflection_RemoveFromTopicReputerWhitelistResponse) Type() protoreflect.MessageType { + return _fastReflection_RemoveFromTopicReputerWhitelistResponse_messageType +} + +// New returns a newly allocated and mutable empty message. +func (x *fastReflection_RemoveFromTopicReputerWhitelistResponse) New() protoreflect.Message { + return new(fastReflection_RemoveFromTopicReputerWhitelistResponse) +} + +// Interface unwraps the message reflection interface and +// returns the underlying ProtoMessage interface. +func (x *fastReflection_RemoveFromTopicReputerWhitelistResponse) Interface() protoreflect.ProtoMessage { + return (*RemoveFromTopicReputerWhitelistResponse)(x) +} + +// Range iterates over every populated field in an undefined order, +// calling f for each field descriptor and value encountered. +// Range returns immediately if f returns false. +// While iterating, mutating operations may only be performed +// on the current field descriptor. +func (x *fastReflection_RemoveFromTopicReputerWhitelistResponse) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { +} + +// Has reports whether a field is populated. +// +// Some fields have the property of nullability where it is possible to +// distinguish between the default value of a field and whether the field +// was explicitly populated with the default value. Singular message fields, +// member fields of a oneof, and proto2 scalar fields are nullable. Such +// fields are populated only if explicitly set. +// +// In other cases (aside from the nullable cases above), +// a proto3 scalar field is populated if it contains a non-zero value, and +// a repeated field is populated if it is non-empty. +func (x *fastReflection_RemoveFromTopicReputerWhitelistResponse) Has(fd protoreflect.FieldDescriptor) bool { + switch fd.FullName() { + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.RemoveFromTopicReputerWhitelistResponse")) + } + panic(fmt.Errorf("message emissions.v8.RemoveFromTopicReputerWhitelistResponse does not contain field %s", fd.FullName())) + } +} + +// Clear clears the field such that a subsequent Has call reports false. +// +// Clearing an extension field clears both the extension type and value +// associated with the given field number. +// +// Clear is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_RemoveFromTopicReputerWhitelistResponse) Clear(fd protoreflect.FieldDescriptor) { + switch fd.FullName() { + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.RemoveFromTopicReputerWhitelistResponse")) + } + panic(fmt.Errorf("message emissions.v8.RemoveFromTopicReputerWhitelistResponse does not contain field %s", fd.FullName())) + } +} + +// Get retrieves the value for a field. +// +// For unpopulated scalars, it returns the default value, where +// the default value of a bytes scalar is guaranteed to be a copy. +// For unpopulated composite types, it returns an empty, read-only view +// of the value; to obtain a mutable reference, use Mutable. +func (x *fastReflection_RemoveFromTopicReputerWhitelistResponse) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { + switch descriptor.FullName() { + default: + if descriptor.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.RemoveFromTopicReputerWhitelistResponse")) + } + panic(fmt.Errorf("message emissions.v8.RemoveFromTopicReputerWhitelistResponse does not contain field %s", descriptor.FullName())) + } +} + +// Set stores the value for a field. +// +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType. +// When setting a composite type, it is unspecified whether the stored value +// aliases the source's memory in any way. If the composite value is an +// empty, read-only value, then it panics. +// +// Set is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_RemoveFromTopicReputerWhitelistResponse) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { + switch fd.FullName() { + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.RemoveFromTopicReputerWhitelistResponse")) + } + panic(fmt.Errorf("message emissions.v8.RemoveFromTopicReputerWhitelistResponse does not contain field %s", fd.FullName())) + } +} + +// Mutable returns a mutable reference to a composite type. +// +// If the field is unpopulated, it may allocate a composite value. +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType +// if not already stored. +// It panics if the field does not contain a composite type. +// +// Mutable is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_RemoveFromTopicReputerWhitelistResponse) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.RemoveFromTopicReputerWhitelistResponse")) + } + panic(fmt.Errorf("message emissions.v8.RemoveFromTopicReputerWhitelistResponse does not contain field %s", fd.FullName())) + } +} + +// NewField returns a new value that is assignable to the field +// for the given descriptor. For scalars, this returns the default value. +// For lists, maps, and messages, this returns a new, empty, mutable value. +func (x *fastReflection_RemoveFromTopicReputerWhitelistResponse) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: emissions.v8.RemoveFromTopicReputerWhitelistResponse")) + } + panic(fmt.Errorf("message emissions.v8.RemoveFromTopicReputerWhitelistResponse does not contain field %s", fd.FullName())) + } +} + +// WhichOneof reports which field within the oneof is populated, +// returning nil if none are populated. +// It panics if the oneof descriptor does not belong to this message. +func (x *fastReflection_RemoveFromTopicReputerWhitelistResponse) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { + switch d.FullName() { + default: + panic(fmt.Errorf("%s is not a oneof field in emissions.v8.RemoveFromTopicReputerWhitelistResponse", d.FullName())) + } + panic("unreachable") +} + +// GetUnknown retrieves the entire list of unknown fields. +// The caller may only mutate the contents of the RawFields +// if the mutated bytes are stored back into the message with SetUnknown. +func (x *fastReflection_RemoveFromTopicReputerWhitelistResponse) GetUnknown() protoreflect.RawFields { + return x.unknownFields +} + +// SetUnknown stores an entire list of unknown fields. +// The raw fields must be syntactically valid according to the wire format. +// An implementation may panic if this is not the case. +// Once stored, the caller must not mutate the content of the RawFields. +// An empty RawFields may be passed to clear the fields. +// +// SetUnknown is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_RemoveFromTopicReputerWhitelistResponse) SetUnknown(fields protoreflect.RawFields) { + x.unknownFields = fields +} + +// IsValid reports whether the message is valid. +// +// An invalid message is an empty, read-only value. +// +// An invalid message often corresponds to a nil pointer of the concrete +// message type, but the details are implementation dependent. +// Validity is not part of the protobuf data model, and may not +// be preserved in marshaling or other operations. +func (x *fastReflection_RemoveFromTopicReputerWhitelistResponse) IsValid() bool { + return x != nil +} + +// ProtoMethods returns optional fastReflectionFeature-path implementations of various operations. +// This method may return nil. +// +// The returned methods type is identical to +// "google.golang.org/protobuf/runtime/protoiface".Methods. +// Consult the protoiface package documentation for details. +func (x *fastReflection_RemoveFromTopicReputerWhitelistResponse) ProtoMethods() *protoiface.Methods { + size := func(input protoiface.SizeInput) protoiface.SizeOutput { + x := input.Message.Interface().(*RemoveFromTopicReputerWhitelistResponse) + if x == nil { + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: 0, + } + } + options := runtime.SizeInputToOptions(input) + _ = options + var n int + var l int + _ = l + if x.unknownFields != nil { + n += len(x.unknownFields) + } + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: n, + } + } + + marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { + x := input.Message.Interface().(*RemoveFromTopicReputerWhitelistResponse) + if x == nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + options := runtime.MarshalInputToOptions(input) + _ = options + size := options.Size(x) + dAtA := make([]byte, size) + i := len(dAtA) + _ = i + var l int + _ = l + if x.unknownFields != nil { + i -= len(x.unknownFields) + copy(dAtA[i:], x.unknownFields) + } + if input.Buf != nil { + input.Buf = append(input.Buf, dAtA...) + } else { + input.Buf = dAtA + } + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { + x := input.Message.Interface().(*RemoveFromTopicReputerWhitelistResponse) + if x == nil { + return protoiface.UnmarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Flags: input.Flags, + }, nil + } + options := runtime.UnmarshalInputToOptions(input) + _ = options + dAtA := input.Buf + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: RemoveFromTopicReputerWhitelistResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: RemoveFromTopicReputerWhitelistResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + default: + iNdEx = preIndex + skippy, err := runtime.Skip(dAtA[iNdEx:]) + if err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if (iNdEx + skippy) > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + if !options.DiscardUnknown { + x.unknownFields = append(x.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + } + iNdEx += skippy + } + } + + if iNdEx > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, nil + } + return &protoiface.Methods{ + NoUnkeyedLiterals: struct{}{}, + Flags: protoiface.SupportMarshalDeterministic | protoiface.SupportUnmarshalDiscardUnknown, + Size: size, + Marshal: marshal, + Unmarshal: unmarshal, + Merge: nil, + CheckInitialized: nil, + } +} + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.27.0 +// protoc (unknown) +// source: emissions/v8/tx.proto + +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) +) + +// Because gocosmos, grpc-gateway, and go-pulsar do not support optional fields +// and including google themselves +// https://cloud.google.com/apis/design/design_patterns.md#optional_primitive_fields +// we instead use a repeated field with a single element to represent an +// optional field and if the repeated field is empty, it is considered to be the +// same as if the field was not set +type OptionalParams struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Version []string `protobuf:"bytes,1,rep,name=version,proto3" json:"version,omitempty"` + MaxSerializedMsgLength []int64 `protobuf:"varint,2,rep,packed,name=max_serialized_msg_length,json=maxSerializedMsgLength,proto3" json:"max_serialized_msg_length,omitempty"` + MinTopicWeight []string `protobuf:"bytes,3,rep,name=min_topic_weight,json=minTopicWeight,proto3" json:"min_topic_weight,omitempty"` + RequiredMinimumStake []string `protobuf:"bytes,5,rep,name=required_minimum_stake,json=requiredMinimumStake,proto3" json:"required_minimum_stake,omitempty"` + RemoveStakeDelayWindow []int64 `protobuf:"varint,6,rep,packed,name=remove_stake_delay_window,json=removeStakeDelayWindow,proto3" json:"remove_stake_delay_window,omitempty"` + MinEpochLength []int64 `protobuf:"varint,7,rep,packed,name=min_epoch_length,json=minEpochLength,proto3" json:"min_epoch_length,omitempty"` + BetaEntropy []string `protobuf:"bytes,8,rep,name=beta_entropy,json=betaEntropy,proto3" json:"beta_entropy,omitempty"` + LearningRate []string `protobuf:"bytes,9,rep,name=learning_rate,json=learningRate,proto3" json:"learning_rate,omitempty"` + MaxGradientThreshold []string `protobuf:"bytes,10,rep,name=max_gradient_threshold,json=maxGradientThreshold,proto3" json:"max_gradient_threshold,omitempty"` + MinStakeFraction []string `protobuf:"bytes,11,rep,name=min_stake_fraction,json=minStakeFraction,proto3" json:"min_stake_fraction,omitempty"` + MaxUnfulfilledWorkerRequests []uint64 `protobuf:"varint,13,rep,packed,name=max_unfulfilled_worker_requests,json=maxUnfulfilledWorkerRequests,proto3" json:"max_unfulfilled_worker_requests,omitempty"` + MaxUnfulfilledReputerRequests []uint64 `protobuf:"varint,14,rep,packed,name=max_unfulfilled_reputer_requests,json=maxUnfulfilledReputerRequests,proto3" json:"max_unfulfilled_reputer_requests,omitempty"` + TopicRewardStakeImportance []string `protobuf:"bytes,15,rep,name=topic_reward_stake_importance,json=topicRewardStakeImportance,proto3" json:"topic_reward_stake_importance,omitempty"` + TopicRewardFeeRevenueImportance []string `protobuf:"bytes,16,rep,name=topic_reward_fee_revenue_importance,json=topicRewardFeeRevenueImportance,proto3" json:"topic_reward_fee_revenue_importance,omitempty"` + TopicRewardAlpha []string `protobuf:"bytes,17,rep,name=topic_reward_alpha,json=topicRewardAlpha,proto3" json:"topic_reward_alpha,omitempty"` + TaskRewardAlpha []string `protobuf:"bytes,18,rep,name=task_reward_alpha,json=taskRewardAlpha,proto3" json:"task_reward_alpha,omitempty"` + ValidatorsVsAlloraPercentReward []string `protobuf:"bytes,19,rep,name=validators_vs_allora_percent_reward,json=validatorsVsAlloraPercentReward,proto3" json:"validators_vs_allora_percent_reward,omitempty"` + MaxSamplesToScaleScores []uint64 `protobuf:"varint,20,rep,packed,name=max_samples_to_scale_scores,json=maxSamplesToScaleScores,proto3" json:"max_samples_to_scale_scores,omitempty"` + MaxTopInferersToReward []uint64 `protobuf:"varint,21,rep,packed,name=max_top_inferers_to_reward,json=maxTopInferersToReward,proto3" json:"max_top_inferers_to_reward,omitempty"` + MaxTopForecastersToReward []uint64 `protobuf:"varint,22,rep,packed,name=max_top_forecasters_to_reward,json=maxTopForecastersToReward,proto3" json:"max_top_forecasters_to_reward,omitempty"` + MaxTopReputersToReward []uint64 `protobuf:"varint,23,rep,packed,name=max_top_reputers_to_reward,json=maxTopReputersToReward,proto3" json:"max_top_reputers_to_reward,omitempty"` + CreateTopicFee []string `protobuf:"bytes,24,rep,name=create_topic_fee,json=createTopicFee,proto3" json:"create_topic_fee,omitempty"` + GradientDescentMaxIters []uint64 `protobuf:"varint,25,rep,packed,name=gradient_descent_max_iters,json=gradientDescentMaxIters,proto3" json:"gradient_descent_max_iters,omitempty"` + RegistrationFee []string `protobuf:"bytes,28,rep,name=registration_fee,json=registrationFee,proto3" json:"registration_fee,omitempty"` + DefaultPageLimit []uint64 `protobuf:"varint,29,rep,packed,name=default_page_limit,json=defaultPageLimit,proto3" json:"default_page_limit,omitempty"` + MaxPageLimit []uint64 `protobuf:"varint,30,rep,packed,name=max_page_limit,json=maxPageLimit,proto3" json:"max_page_limit,omitempty"` + MinEpochLengthRecordLimit []int64 `protobuf:"varint,31,rep,packed,name=min_epoch_length_record_limit,json=minEpochLengthRecordLimit,proto3" json:"min_epoch_length_record_limit,omitempty"` + BlocksPerMonth []uint64 `protobuf:"varint,32,rep,packed,name=blocks_per_month,json=blocksPerMonth,proto3" json:"blocks_per_month,omitempty"` + PRewardInference []string `protobuf:"bytes,33,rep,name=p_reward_inference,json=pRewardInference,proto3" json:"p_reward_inference,omitempty"` + PRewardForecast []string `protobuf:"bytes,34,rep,name=p_reward_forecast,json=pRewardForecast,proto3" json:"p_reward_forecast,omitempty"` + PRewardReputer []string `protobuf:"bytes,35,rep,name=p_reward_reputer,json=pRewardReputer,proto3" json:"p_reward_reputer,omitempty"` + CRewardInference []string `protobuf:"bytes,36,rep,name=c_reward_inference,json=cRewardInference,proto3" json:"c_reward_inference,omitempty"` + CRewardForecast []string `protobuf:"bytes,37,rep,name=c_reward_forecast,json=cRewardForecast,proto3" json:"c_reward_forecast,omitempty"` + CNorm []string `protobuf:"bytes,38,rep,name=c_norm,json=cNorm,proto3" json:"c_norm,omitempty"` + EpsilonReputer []string `protobuf:"bytes,40,rep,name=epsilon_reputer,json=epsilonReputer,proto3" json:"epsilon_reputer,omitempty"` + HalfMaxProcessStakeRemovalsEndBlock []uint64 `protobuf:"varint,42,rep,packed,name=half_max_process_stake_removals_end_block,json=halfMaxProcessStakeRemovalsEndBlock,proto3" json:"half_max_process_stake_removals_end_block,omitempty"` + DataSendingFee []string `protobuf:"bytes,43,rep,name=data_sending_fee,json=dataSendingFee,proto3" json:"data_sending_fee,omitempty"` + EpsilonSafeDiv []string `protobuf:"bytes,44,rep,name=epsilon_safe_div,json=epsilonSafeDiv,proto3" json:"epsilon_safe_div,omitempty"` + MaxElementsPerForecast []uint64 `protobuf:"varint,45,rep,packed,name=max_elements_per_forecast,json=maxElementsPerForecast,proto3" json:"max_elements_per_forecast,omitempty"` + MaxActiveTopicsPerBlock []uint64 `protobuf:"varint,46,rep,packed,name=max_active_topics_per_block,json=maxActiveTopicsPerBlock,proto3" json:"max_active_topics_per_block,omitempty"` + MaxStringLength []uint64 `protobuf:"varint,47,rep,packed,name=max_string_length,json=maxStringLength,proto3" json:"max_string_length,omitempty"` + InitialRegretQuantile []string `protobuf:"bytes,48,rep,name=initial_regret_quantile,json=initialRegretQuantile,proto3" json:"initial_regret_quantile,omitempty"` + PNormSafeDiv []string `protobuf:"bytes,49,rep,name=p_norm_safe_div,json=pNormSafeDiv,proto3" json:"p_norm_safe_div,omitempty"` + GlobalWhitelistEnabled []bool `protobuf:"varint,50,rep,packed,name=global_whitelist_enabled,json=globalWhitelistEnabled,proto3" json:"global_whitelist_enabled,omitempty"` + TopicCreatorWhitelistEnabled []bool `protobuf:"varint,51,rep,packed,name=topic_creator_whitelist_enabled,json=topicCreatorWhitelistEnabled,proto3" json:"topic_creator_whitelist_enabled,omitempty"` + MinExperiencedWorkerRegrets []uint64 `protobuf:"varint,52,rep,packed,name=min_experienced_worker_regrets,json=minExperiencedWorkerRegrets,proto3" json:"min_experienced_worker_regrets,omitempty"` + InferenceOutlierDetectionThreshold []string `protobuf:"bytes,53,rep,name=inference_outlier_detection_threshold,json=inferenceOutlierDetectionThreshold,proto3" json:"inference_outlier_detection_threshold,omitempty"` + InferenceOutlierDetectionAlpha []string `protobuf:"bytes,54,rep,name=inference_outlier_detection_alpha,json=inferenceOutlierDetectionAlpha,proto3" json:"inference_outlier_detection_alpha,omitempty"` + LambdaInitialScore []string `protobuf:"bytes,55,rep,name=lambda_initial_score,json=lambdaInitialScore,proto3" json:"lambda_initial_score,omitempty"` + GlobalWorkerWhitelistEnabled []bool `protobuf:"varint,56,rep,packed,name=global_worker_whitelist_enabled,json=globalWorkerWhitelistEnabled,proto3" json:"global_worker_whitelist_enabled,omitempty"` + GlobalReputerWhitelistEnabled []bool `protobuf:"varint,57,rep,packed,name=global_reputer_whitelist_enabled,json=globalReputerWhitelistEnabled,proto3" json:"global_reputer_whitelist_enabled,omitempty"` + GlobalAdminWhitelistAppended []bool `protobuf:"varint,58,rep,packed,name=global_admin_whitelist_appended,json=globalAdminWhitelistAppended,proto3" json:"global_admin_whitelist_appended,omitempty"` + MaxWhitelistInputArrayLength []uint64 `protobuf:"varint,59,rep,packed,name=max_whitelist_input_array_length,json=maxWhitelistInputArrayLength,proto3" json:"max_whitelist_input_array_length,omitempty"` + MinWeightThresholdForStdnorm []string `protobuf:"bytes,60,rep,name=min_weight_threshold_for_stdnorm,json=minWeightThresholdForStdnorm,proto3" json:"min_weight_threshold_for_stdnorm,omitempty"` +} + +func (x *OptionalParams) Reset() { + *x = OptionalParams{} + if protoimpl.UnsafeEnabled { + mi := &file_emissions_v8_tx_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *OptionalParams) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*OptionalParams) ProtoMessage() {} + +// Deprecated: Use OptionalParams.ProtoReflect.Descriptor instead. +func (*OptionalParams) Descriptor() ([]byte, []int) { + return file_emissions_v8_tx_proto_rawDescGZIP(), []int{0} +} + +func (x *OptionalParams) GetVersion() []string { + if x != nil { + return x.Version + } + return nil +} + +func (x *OptionalParams) GetMaxSerializedMsgLength() []int64 { + if x != nil { + return x.MaxSerializedMsgLength + } + return nil +} + +func (x *OptionalParams) GetMinTopicWeight() []string { + if x != nil { + return x.MinTopicWeight + } + return nil +} + +func (x *OptionalParams) GetRequiredMinimumStake() []string { + if x != nil { + return x.RequiredMinimumStake + } + return nil +} + +func (x *OptionalParams) GetRemoveStakeDelayWindow() []int64 { + if x != nil { + return x.RemoveStakeDelayWindow + } + return nil +} + +func (x *OptionalParams) GetMinEpochLength() []int64 { + if x != nil { + return x.MinEpochLength + } + return nil +} + +func (x *OptionalParams) GetBetaEntropy() []string { + if x != nil { + return x.BetaEntropy + } + return nil +} + +func (x *OptionalParams) GetLearningRate() []string { + if x != nil { + return x.LearningRate + } + return nil +} + +func (x *OptionalParams) GetMaxGradientThreshold() []string { + if x != nil { + return x.MaxGradientThreshold + } + return nil +} + +func (x *OptionalParams) GetMinStakeFraction() []string { + if x != nil { + return x.MinStakeFraction + } + return nil +} + +func (x *OptionalParams) GetMaxUnfulfilledWorkerRequests() []uint64 { + if x != nil { + return x.MaxUnfulfilledWorkerRequests + } + return nil +} + +func (x *OptionalParams) GetMaxUnfulfilledReputerRequests() []uint64 { + if x != nil { + return x.MaxUnfulfilledReputerRequests + } + return nil +} + +func (x *OptionalParams) GetTopicRewardStakeImportance() []string { + if x != nil { + return x.TopicRewardStakeImportance + } + return nil +} + +func (x *OptionalParams) GetTopicRewardFeeRevenueImportance() []string { + if x != nil { + return x.TopicRewardFeeRevenueImportance + } + return nil +} + +func (x *OptionalParams) GetTopicRewardAlpha() []string { + if x != nil { + return x.TopicRewardAlpha + } + return nil +} + +func (x *OptionalParams) GetTaskRewardAlpha() []string { + if x != nil { + return x.TaskRewardAlpha + } + return nil +} + +func (x *OptionalParams) GetValidatorsVsAlloraPercentReward() []string { + if x != nil { + return x.ValidatorsVsAlloraPercentReward + } + return nil +} + +func (x *OptionalParams) GetMaxSamplesToScaleScores() []uint64 { + if x != nil { + return x.MaxSamplesToScaleScores + } + return nil +} + +func (x *OptionalParams) GetMaxTopInferersToReward() []uint64 { + if x != nil { + return x.MaxTopInferersToReward + } + return nil +} + +func (x *OptionalParams) GetMaxTopForecastersToReward() []uint64 { + if x != nil { + return x.MaxTopForecastersToReward + } + return nil +} + +func (x *OptionalParams) GetMaxTopReputersToReward() []uint64 { + if x != nil { + return x.MaxTopReputersToReward + } + return nil +} + +func (x *OptionalParams) GetCreateTopicFee() []string { + if x != nil { + return x.CreateTopicFee + } + return nil +} + +func (x *OptionalParams) GetGradientDescentMaxIters() []uint64 { + if x != nil { + return x.GradientDescentMaxIters + } + return nil +} + +func (x *OptionalParams) GetRegistrationFee() []string { + if x != nil { + return x.RegistrationFee + } + return nil +} + +func (x *OptionalParams) GetDefaultPageLimit() []uint64 { + if x != nil { + return x.DefaultPageLimit + } + return nil +} + +func (x *OptionalParams) GetMaxPageLimit() []uint64 { + if x != nil { + return x.MaxPageLimit + } + return nil +} + +func (x *OptionalParams) GetMinEpochLengthRecordLimit() []int64 { + if x != nil { + return x.MinEpochLengthRecordLimit + } + return nil +} + +func (x *OptionalParams) GetBlocksPerMonth() []uint64 { + if x != nil { + return x.BlocksPerMonth + } + return nil +} + +func (x *OptionalParams) GetPRewardInference() []string { + if x != nil { + return x.PRewardInference + } + return nil +} + +func (x *OptionalParams) GetPRewardForecast() []string { + if x != nil { + return x.PRewardForecast + } + return nil +} + +func (x *OptionalParams) GetPRewardReputer() []string { + if x != nil { + return x.PRewardReputer + } + return nil +} + +func (x *OptionalParams) GetCRewardInference() []string { + if x != nil { + return x.CRewardInference + } + return nil +} + +func (x *OptionalParams) GetCRewardForecast() []string { + if x != nil { + return x.CRewardForecast + } + return nil +} + +func (x *OptionalParams) GetCNorm() []string { + if x != nil { + return x.CNorm + } + return nil +} + +func (x *OptionalParams) GetEpsilonReputer() []string { + if x != nil { + return x.EpsilonReputer + } + return nil +} + +func (x *OptionalParams) GetHalfMaxProcessStakeRemovalsEndBlock() []uint64 { + if x != nil { + return x.HalfMaxProcessStakeRemovalsEndBlock + } + return nil +} + +func (x *OptionalParams) GetDataSendingFee() []string { + if x != nil { + return x.DataSendingFee + } + return nil +} + +func (x *OptionalParams) GetEpsilonSafeDiv() []string { + if x != nil { + return x.EpsilonSafeDiv + } + return nil +} + +func (x *OptionalParams) GetMaxElementsPerForecast() []uint64 { + if x != nil { + return x.MaxElementsPerForecast + } + return nil +} + +func (x *OptionalParams) GetMaxActiveTopicsPerBlock() []uint64 { + if x != nil { + return x.MaxActiveTopicsPerBlock + } + return nil +} + +func (x *OptionalParams) GetMaxStringLength() []uint64 { + if x != nil { + return x.MaxStringLength + } + return nil +} + +func (x *OptionalParams) GetInitialRegretQuantile() []string { + if x != nil { + return x.InitialRegretQuantile + } + return nil +} + +func (x *OptionalParams) GetPNormSafeDiv() []string { + if x != nil { + return x.PNormSafeDiv + } + return nil +} + +func (x *OptionalParams) GetGlobalWhitelistEnabled() []bool { + if x != nil { + return x.GlobalWhitelistEnabled + } + return nil +} + +func (x *OptionalParams) GetTopicCreatorWhitelistEnabled() []bool { + if x != nil { + return x.TopicCreatorWhitelistEnabled + } + return nil +} + +func (x *OptionalParams) GetMinExperiencedWorkerRegrets() []uint64 { + if x != nil { + return x.MinExperiencedWorkerRegrets + } + return nil +} + +func (x *OptionalParams) GetInferenceOutlierDetectionThreshold() []string { + if x != nil { + return x.InferenceOutlierDetectionThreshold + } + return nil +} + +func (x *OptionalParams) GetInferenceOutlierDetectionAlpha() []string { + if x != nil { + return x.InferenceOutlierDetectionAlpha + } + return nil +} + +func (x *OptionalParams) GetLambdaInitialScore() []string { + if x != nil { + return x.LambdaInitialScore + } + return nil +} + +func (x *OptionalParams) GetGlobalWorkerWhitelistEnabled() []bool { + if x != nil { + return x.GlobalWorkerWhitelistEnabled + } + return nil +} + +func (x *OptionalParams) GetGlobalReputerWhitelistEnabled() []bool { + if x != nil { + return x.GlobalReputerWhitelistEnabled + } + return nil +} + +func (x *OptionalParams) GetGlobalAdminWhitelistAppended() []bool { + if x != nil { + return x.GlobalAdminWhitelistAppended + } + return nil +} + +func (x *OptionalParams) GetMaxWhitelistInputArrayLength() []uint64 { + if x != nil { + return x.MaxWhitelistInputArrayLength + } + return nil +} + +func (x *OptionalParams) GetMinWeightThresholdForStdnorm() []string { + if x != nil { + return x.MinWeightThresholdForStdnorm + } + return nil +} + +type UpdateParamsRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Sender string `protobuf:"bytes,1,opt,name=sender,proto3" json:"sender,omitempty"` + Params *OptionalParams `protobuf:"bytes,2,opt,name=params,proto3" json:"params,omitempty"` +} + +func (x *UpdateParamsRequest) Reset() { + *x = UpdateParamsRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_emissions_v8_tx_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *UpdateParamsRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*UpdateParamsRequest) ProtoMessage() {} + +// Deprecated: Use UpdateParamsRequest.ProtoReflect.Descriptor instead. +func (*UpdateParamsRequest) Descriptor() ([]byte, []int) { + return file_emissions_v8_tx_proto_rawDescGZIP(), []int{1} +} + +func (x *UpdateParamsRequest) GetSender() string { + if x != nil { + return x.Sender + } + return "" +} + +func (x *UpdateParamsRequest) GetParams() *OptionalParams { + if x != nil { + return x.Params + } + return nil +} + +type UpdateParamsResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields +} + +func (x *UpdateParamsResponse) Reset() { + *x = UpdateParamsResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_emissions_v8_tx_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *UpdateParamsResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*UpdateParamsResponse) ProtoMessage() {} + +// Deprecated: Use UpdateParamsResponse.ProtoReflect.Descriptor instead. +func (*UpdateParamsResponse) Descriptor() ([]byte, []int) { + return file_emissions_v8_tx_proto_rawDescGZIP(), []int{2} +} + +type CreateNewTopicRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // creator is the message sender. + Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"` + Metadata string `protobuf:"bytes,2,opt,name=metadata,proto3" json:"metadata,omitempty"` + LossMethod string `protobuf:"bytes,4,opt,name=loss_method,json=lossMethod,proto3" json:"loss_method,omitempty"` + EpochLength int64 `protobuf:"varint,7,opt,name=epoch_length,json=epochLength,proto3" json:"epoch_length,omitempty"` + GroundTruthLag int64 `protobuf:"varint,8,opt,name=ground_truth_lag,json=groundTruthLag,proto3" json:"ground_truth_lag,omitempty"` + PNorm string `protobuf:"bytes,10,opt,name=p_norm,json=pNorm,proto3" json:"p_norm,omitempty"` + AlphaRegret string `protobuf:"bytes,11,opt,name=alpha_regret,json=alphaRegret,proto3" json:"alpha_regret,omitempty"` + AllowNegative bool `protobuf:"varint,12,opt,name=allow_negative,json=allowNegative,proto3" json:"allow_negative,omitempty"` + Epsilon string `protobuf:"bytes,13,opt,name=epsilon,proto3" json:"epsilon,omitempty"` + WorkerSubmissionWindow int64 `protobuf:"varint,14,opt,name=worker_submission_window,json=workerSubmissionWindow,proto3" json:"worker_submission_window,omitempty"` + MeritSortitionAlpha string `protobuf:"bytes,15,opt,name=merit_sortition_alpha,json=meritSortitionAlpha,proto3" json:"merit_sortition_alpha,omitempty"` + ActiveInfererQuantile string `protobuf:"bytes,16,opt,name=active_inferer_quantile,json=activeInfererQuantile,proto3" json:"active_inferer_quantile,omitempty"` + ActiveForecasterQuantile string `protobuf:"bytes,17,opt,name=active_forecaster_quantile,json=activeForecasterQuantile,proto3" json:"active_forecaster_quantile,omitempty"` + ActiveReputerQuantile string `protobuf:"bytes,18,opt,name=active_reputer_quantile,json=activeReputerQuantile,proto3" json:"active_reputer_quantile,omitempty"` + EnableWorkerWhitelist bool `protobuf:"varint,19,opt,name=enable_worker_whitelist,json=enableWorkerWhitelist,proto3" json:"enable_worker_whitelist,omitempty"` + EnableReputerWhitelist bool `protobuf:"varint,20,opt,name=enable_reputer_whitelist,json=enableReputerWhitelist,proto3" json:"enable_reputer_whitelist,omitempty"` +} + +func (x *CreateNewTopicRequest) Reset() { + *x = CreateNewTopicRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_emissions_v8_tx_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *CreateNewTopicRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*CreateNewTopicRequest) ProtoMessage() {} + +// Deprecated: Use CreateNewTopicRequest.ProtoReflect.Descriptor instead. +func (*CreateNewTopicRequest) Descriptor() ([]byte, []int) { + return file_emissions_v8_tx_proto_rawDescGZIP(), []int{3} +} + +func (x *CreateNewTopicRequest) GetCreator() string { + if x != nil { + return x.Creator + } + return "" +} + +func (x *CreateNewTopicRequest) GetMetadata() string { + if x != nil { + return x.Metadata + } + return "" +} + +func (x *CreateNewTopicRequest) GetLossMethod() string { + if x != nil { + return x.LossMethod + } + return "" +} + +func (x *CreateNewTopicRequest) GetEpochLength() int64 { + if x != nil { + return x.EpochLength + } + return 0 +} + +func (x *CreateNewTopicRequest) GetGroundTruthLag() int64 { + if x != nil { + return x.GroundTruthLag + } + return 0 +} + +func (x *CreateNewTopicRequest) GetPNorm() string { + if x != nil { + return x.PNorm + } + return "" +} + +func (x *CreateNewTopicRequest) GetAlphaRegret() string { + if x != nil { + return x.AlphaRegret + } + return "" +} + +func (x *CreateNewTopicRequest) GetAllowNegative() bool { + if x != nil { + return x.AllowNegative + } + return false +} + +func (x *CreateNewTopicRequest) GetEpsilon() string { + if x != nil { + return x.Epsilon + } + return "" +} + +func (x *CreateNewTopicRequest) GetWorkerSubmissionWindow() int64 { + if x != nil { + return x.WorkerSubmissionWindow + } + return 0 +} + +func (x *CreateNewTopicRequest) GetMeritSortitionAlpha() string { + if x != nil { + return x.MeritSortitionAlpha + } + return "" +} + +func (x *CreateNewTopicRequest) GetActiveInfererQuantile() string { + if x != nil { + return x.ActiveInfererQuantile + } + return "" +} + +func (x *CreateNewTopicRequest) GetActiveForecasterQuantile() string { + if x != nil { + return x.ActiveForecasterQuantile + } + return "" +} + +func (x *CreateNewTopicRequest) GetActiveReputerQuantile() string { + if x != nil { + return x.ActiveReputerQuantile + } + return "" +} + +func (x *CreateNewTopicRequest) GetEnableWorkerWhitelist() bool { + if x != nil { + return x.EnableWorkerWhitelist + } + return false +} + +func (x *CreateNewTopicRequest) GetEnableReputerWhitelist() bool { + if x != nil { + return x.EnableReputerWhitelist + } + return false +} + +type CreateNewTopicResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + TopicId uint64 `protobuf:"varint,1,opt,name=topic_id,json=topicId,proto3" json:"topic_id,omitempty"` +} + +func (x *CreateNewTopicResponse) Reset() { + *x = CreateNewTopicResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_emissions_v8_tx_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *CreateNewTopicResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*CreateNewTopicResponse) ProtoMessage() {} + +// Deprecated: Use CreateNewTopicResponse.ProtoReflect.Descriptor instead. +func (*CreateNewTopicResponse) Descriptor() ([]byte, []int) { + return file_emissions_v8_tx_proto_rawDescGZIP(), []int{4} +} + +func (x *CreateNewTopicResponse) GetTopicId() uint64 { + if x != nil { + return x.TopicId + } + return 0 +} + +type InsertReputerPayloadRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Sender string `protobuf:"bytes,1,opt,name=sender,proto3" json:"sender,omitempty"` + ReputerValueBundle *v3.ReputerValueBundle `protobuf:"bytes,2,opt,name=reputer_value_bundle,json=reputerValueBundle,proto3" json:"reputer_value_bundle,omitempty"` +} + +func (x *InsertReputerPayloadRequest) Reset() { + *x = InsertReputerPayloadRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_emissions_v8_tx_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *InsertReputerPayloadRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*InsertReputerPayloadRequest) ProtoMessage() {} + +// Deprecated: Use InsertReputerPayloadRequest.ProtoReflect.Descriptor instead. +func (*InsertReputerPayloadRequest) Descriptor() ([]byte, []int) { + return file_emissions_v8_tx_proto_rawDescGZIP(), []int{5} +} + +func (x *InsertReputerPayloadRequest) GetSender() string { + if x != nil { + return x.Sender + } + return "" +} + +func (x *InsertReputerPayloadRequest) GetReputerValueBundle() *v3.ReputerValueBundle { + if x != nil { + return x.ReputerValueBundle + } + return nil +} + +type InsertReputerPayloadResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields +} + +func (x *InsertReputerPayloadResponse) Reset() { + *x = InsertReputerPayloadResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_emissions_v8_tx_proto_msgTypes[6] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *InsertReputerPayloadResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*InsertReputerPayloadResponse) ProtoMessage() {} + +// Deprecated: Use InsertReputerPayloadResponse.ProtoReflect.Descriptor instead. +func (*InsertReputerPayloadResponse) Descriptor() ([]byte, []int) { + return file_emissions_v8_tx_proto_rawDescGZIP(), []int{6} +} + +type InsertWorkerPayloadRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Sender string `protobuf:"bytes,1,opt,name=sender,proto3" json:"sender,omitempty"` + WorkerDataBundle *v3.WorkerDataBundle `protobuf:"bytes,2,opt,name=worker_data_bundle,json=workerDataBundle,proto3" json:"worker_data_bundle,omitempty"` +} + +func (x *InsertWorkerPayloadRequest) Reset() { + *x = InsertWorkerPayloadRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_emissions_v8_tx_proto_msgTypes[7] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *InsertWorkerPayloadRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*InsertWorkerPayloadRequest) ProtoMessage() {} + +// Deprecated: Use InsertWorkerPayloadRequest.ProtoReflect.Descriptor instead. +func (*InsertWorkerPayloadRequest) Descriptor() ([]byte, []int) { + return file_emissions_v8_tx_proto_rawDescGZIP(), []int{7} +} + +func (x *InsertWorkerPayloadRequest) GetSender() string { + if x != nil { + return x.Sender + } + return "" +} + +func (x *InsertWorkerPayloadRequest) GetWorkerDataBundle() *v3.WorkerDataBundle { + if x != nil { + return x.WorkerDataBundle + } + return nil +} + +type InsertWorkerPayloadResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields +} + +func (x *InsertWorkerPayloadResponse) Reset() { + *x = InsertWorkerPayloadResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_emissions_v8_tx_proto_msgTypes[8] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *InsertWorkerPayloadResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*InsertWorkerPayloadResponse) ProtoMessage() {} + +// Deprecated: Use InsertWorkerPayloadResponse.ProtoReflect.Descriptor instead. +func (*InsertWorkerPayloadResponse) Descriptor() ([]byte, []int) { + return file_emissions_v8_tx_proto_rawDescGZIP(), []int{8} +} + +type RegisterRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Sender string `protobuf:"bytes,1,opt,name=sender,proto3" json:"sender,omitempty"` + TopicId uint64 `protobuf:"varint,4,opt,name=topic_id,json=topicId,proto3" json:"topic_id,omitempty"` + Owner string `protobuf:"bytes,5,opt,name=owner,proto3" json:"owner,omitempty"` + IsReputer bool `protobuf:"varint,6,opt,name=is_reputer,json=isReputer,proto3" json:"is_reputer,omitempty"` +} + +func (x *RegisterRequest) Reset() { + *x = RegisterRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_emissions_v8_tx_proto_msgTypes[9] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *RegisterRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*RegisterRequest) ProtoMessage() {} + +// Deprecated: Use RegisterRequest.ProtoReflect.Descriptor instead. +func (*RegisterRequest) Descriptor() ([]byte, []int) { + return file_emissions_v8_tx_proto_rawDescGZIP(), []int{9} +} + +func (x *RegisterRequest) GetSender() string { + if x != nil { + return x.Sender + } + return "" +} + +func (x *RegisterRequest) GetTopicId() uint64 { + if x != nil { + return x.TopicId + } + return 0 +} + +func (x *RegisterRequest) GetOwner() string { + if x != nil { + return x.Owner + } + return "" +} + +func (x *RegisterRequest) GetIsReputer() bool { + if x != nil { + return x.IsReputer + } + return false +} + +type RegisterResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Success bool `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"` + Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"` +} + +func (x *RegisterResponse) Reset() { + *x = RegisterResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_emissions_v8_tx_proto_msgTypes[10] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *RegisterResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*RegisterResponse) ProtoMessage() {} + +// Deprecated: Use RegisterResponse.ProtoReflect.Descriptor instead. +func (*RegisterResponse) Descriptor() ([]byte, []int) { + return file_emissions_v8_tx_proto_rawDescGZIP(), []int{10} +} + +func (x *RegisterResponse) GetSuccess() bool { + if x != nil { + return x.Success + } + return false +} + +func (x *RegisterResponse) GetMessage() string { + if x != nil { + return x.Message + } + return "" +} + +type RemoveRegistrationRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Sender string `protobuf:"bytes,1,opt,name=sender,proto3" json:"sender,omitempty"` + TopicId uint64 `protobuf:"varint,2,opt,name=topic_id,json=topicId,proto3" json:"topic_id,omitempty"` + IsReputer bool `protobuf:"varint,3,opt,name=is_reputer,json=isReputer,proto3" json:"is_reputer,omitempty"` +} + +func (x *RemoveRegistrationRequest) Reset() { + *x = RemoveRegistrationRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_emissions_v8_tx_proto_msgTypes[11] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *RemoveRegistrationRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*RemoveRegistrationRequest) ProtoMessage() {} + +// Deprecated: Use RemoveRegistrationRequest.ProtoReflect.Descriptor instead. +func (*RemoveRegistrationRequest) Descriptor() ([]byte, []int) { + return file_emissions_v8_tx_proto_rawDescGZIP(), []int{11} +} + +func (x *RemoveRegistrationRequest) GetSender() string { + if x != nil { + return x.Sender + } + return "" +} + +func (x *RemoveRegistrationRequest) GetTopicId() uint64 { + if x != nil { + return x.TopicId + } + return 0 +} + +func (x *RemoveRegistrationRequest) GetIsReputer() bool { + if x != nil { + return x.IsReputer + } + return false +} + +type RemoveRegistrationResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Success bool `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"` + Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"` +} + +func (x *RemoveRegistrationResponse) Reset() { + *x = RemoveRegistrationResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_emissions_v8_tx_proto_msgTypes[12] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *RemoveRegistrationResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*RemoveRegistrationResponse) ProtoMessage() {} + +// Deprecated: Use RemoveRegistrationResponse.ProtoReflect.Descriptor instead. +func (*RemoveRegistrationResponse) Descriptor() ([]byte, []int) { + return file_emissions_v8_tx_proto_rawDescGZIP(), []int{12} +} + +func (x *RemoveRegistrationResponse) GetSuccess() bool { + if x != nil { + return x.Success + } + return false +} + +func (x *RemoveRegistrationResponse) GetMessage() string { + if x != nil { + return x.Message + } + return "" +} + +type AddStakeRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Sender string `protobuf:"bytes,1,opt,name=sender,proto3" json:"sender,omitempty"` + TopicId uint64 `protobuf:"varint,2,opt,name=topic_id,json=topicId,proto3" json:"topic_id,omitempty"` + Amount string `protobuf:"bytes,3,opt,name=amount,proto3" json:"amount,omitempty"` +} + +func (x *AddStakeRequest) Reset() { + *x = AddStakeRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_emissions_v8_tx_proto_msgTypes[13] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *AddStakeRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*AddStakeRequest) ProtoMessage() {} + +// Deprecated: Use AddStakeRequest.ProtoReflect.Descriptor instead. +func (*AddStakeRequest) Descriptor() ([]byte, []int) { + return file_emissions_v8_tx_proto_rawDescGZIP(), []int{13} +} + +func (x *AddStakeRequest) GetSender() string { + if x != nil { + return x.Sender + } + return "" +} + +func (x *AddStakeRequest) GetTopicId() uint64 { + if x != nil { + return x.TopicId + } + return 0 +} + +func (x *AddStakeRequest) GetAmount() string { + if x != nil { + return x.Amount + } + return "" +} + +type AddStakeResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields +} + +func (x *AddStakeResponse) Reset() { + *x = AddStakeResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_emissions_v8_tx_proto_msgTypes[14] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *AddStakeResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*AddStakeResponse) ProtoMessage() {} + +// Deprecated: Use AddStakeResponse.ProtoReflect.Descriptor instead. +func (*AddStakeResponse) Descriptor() ([]byte, []int) { + return file_emissions_v8_tx_proto_rawDescGZIP(), []int{14} +} + +type RemoveStakeRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Sender string `protobuf:"bytes,1,opt,name=sender,proto3" json:"sender,omitempty"` + TopicId uint64 `protobuf:"varint,2,opt,name=topic_id,json=topicId,proto3" json:"topic_id,omitempty"` + Amount string `protobuf:"bytes,3,opt,name=amount,proto3" json:"amount,omitempty"` +} + +func (x *RemoveStakeRequest) Reset() { + *x = RemoveStakeRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_emissions_v8_tx_proto_msgTypes[15] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *RemoveStakeRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*RemoveStakeRequest) ProtoMessage() {} + +// Deprecated: Use RemoveStakeRequest.ProtoReflect.Descriptor instead. +func (*RemoveStakeRequest) Descriptor() ([]byte, []int) { + return file_emissions_v8_tx_proto_rawDescGZIP(), []int{15} +} + +func (x *RemoveStakeRequest) GetSender() string { + if x != nil { + return x.Sender + } + return "" +} + +func (x *RemoveStakeRequest) GetTopicId() uint64 { + if x != nil { + return x.TopicId + } + return 0 +} + +func (x *RemoveStakeRequest) GetAmount() string { + if x != nil { + return x.Amount + } + return "" +} + +type RemoveStakeResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields +} + +func (x *RemoveStakeResponse) Reset() { + *x = RemoveStakeResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_emissions_v8_tx_proto_msgTypes[16] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *RemoveStakeResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*RemoveStakeResponse) ProtoMessage() {} + +// Deprecated: Use RemoveStakeResponse.ProtoReflect.Descriptor instead. +func (*RemoveStakeResponse) Descriptor() ([]byte, []int) { + return file_emissions_v8_tx_proto_rawDescGZIP(), []int{16} +} + +type CancelRemoveStakeRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Sender string `protobuf:"bytes,1,opt,name=sender,proto3" json:"sender,omitempty"` + TopicId uint64 `protobuf:"varint,2,opt,name=topic_id,json=topicId,proto3" json:"topic_id,omitempty"` +} + +func (x *CancelRemoveStakeRequest) Reset() { + *x = CancelRemoveStakeRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_emissions_v8_tx_proto_msgTypes[17] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *CancelRemoveStakeRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*CancelRemoveStakeRequest) ProtoMessage() {} + +// Deprecated: Use CancelRemoveStakeRequest.ProtoReflect.Descriptor instead. +func (*CancelRemoveStakeRequest) Descriptor() ([]byte, []int) { + return file_emissions_v8_tx_proto_rawDescGZIP(), []int{17} +} + +func (x *CancelRemoveStakeRequest) GetSender() string { + if x != nil { + return x.Sender + } + return "" +} + +func (x *CancelRemoveStakeRequest) GetTopicId() uint64 { + if x != nil { + return x.TopicId + } + return 0 +} + +type CancelRemoveStakeResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields +} + +func (x *CancelRemoveStakeResponse) Reset() { + *x = CancelRemoveStakeResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_emissions_v8_tx_proto_msgTypes[18] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *CancelRemoveStakeResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*CancelRemoveStakeResponse) ProtoMessage() {} + +// Deprecated: Use CancelRemoveStakeResponse.ProtoReflect.Descriptor instead. +func (*CancelRemoveStakeResponse) Descriptor() ([]byte, []int) { + return file_emissions_v8_tx_proto_rawDescGZIP(), []int{18} +} + +type DelegateStakeRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Sender string `protobuf:"bytes,1,opt,name=sender,proto3" json:"sender,omitempty"` + TopicId uint64 `protobuf:"varint,2,opt,name=topic_id,json=topicId,proto3" json:"topic_id,omitempty"` + Reputer string `protobuf:"bytes,3,opt,name=reputer,proto3" json:"reputer,omitempty"` + Amount string `protobuf:"bytes,4,opt,name=amount,proto3" json:"amount,omitempty"` +} + +func (x *DelegateStakeRequest) Reset() { + *x = DelegateStakeRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_emissions_v8_tx_proto_msgTypes[19] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *DelegateStakeRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*DelegateStakeRequest) ProtoMessage() {} + +// Deprecated: Use DelegateStakeRequest.ProtoReflect.Descriptor instead. +func (*DelegateStakeRequest) Descriptor() ([]byte, []int) { + return file_emissions_v8_tx_proto_rawDescGZIP(), []int{19} +} + +func (x *DelegateStakeRequest) GetSender() string { + if x != nil { + return x.Sender + } + return "" +} + +func (x *DelegateStakeRequest) GetTopicId() uint64 { + if x != nil { + return x.TopicId + } + return 0 +} + +func (x *DelegateStakeRequest) GetReputer() string { + if x != nil { + return x.Reputer + } + return "" +} + +func (x *DelegateStakeRequest) GetAmount() string { + if x != nil { + return x.Amount + } + return "" +} + +type DelegateStakeResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields +} + +func (x *DelegateStakeResponse) Reset() { + *x = DelegateStakeResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_emissions_v8_tx_proto_msgTypes[20] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *DelegateStakeResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*DelegateStakeResponse) ProtoMessage() {} + +// Deprecated: Use DelegateStakeResponse.ProtoReflect.Descriptor instead. +func (*DelegateStakeResponse) Descriptor() ([]byte, []int) { + return file_emissions_v8_tx_proto_rawDescGZIP(), []int{20} +} + +type RemoveDelegateStakeRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Sender string `protobuf:"bytes,1,opt,name=sender,proto3" json:"sender,omitempty"` + Reputer string `protobuf:"bytes,2,opt,name=reputer,proto3" json:"reputer,omitempty"` + TopicId uint64 `protobuf:"varint,3,opt,name=topic_id,json=topicId,proto3" json:"topic_id,omitempty"` + Amount string `protobuf:"bytes,4,opt,name=amount,proto3" json:"amount,omitempty"` +} + +func (x *RemoveDelegateStakeRequest) Reset() { + *x = RemoveDelegateStakeRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_emissions_v8_tx_proto_msgTypes[21] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *RemoveDelegateStakeRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*RemoveDelegateStakeRequest) ProtoMessage() {} + +// Deprecated: Use RemoveDelegateStakeRequest.ProtoReflect.Descriptor instead. +func (*RemoveDelegateStakeRequest) Descriptor() ([]byte, []int) { + return file_emissions_v8_tx_proto_rawDescGZIP(), []int{21} +} + +func (x *RemoveDelegateStakeRequest) GetSender() string { + if x != nil { + return x.Sender + } + return "" +} + +func (x *RemoveDelegateStakeRequest) GetReputer() string { + if x != nil { + return x.Reputer + } + return "" +} + +func (x *RemoveDelegateStakeRequest) GetTopicId() uint64 { + if x != nil { + return x.TopicId + } + return 0 +} + +func (x *RemoveDelegateStakeRequest) GetAmount() string { + if x != nil { + return x.Amount + } + return "" +} + +type RemoveDelegateStakeResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields +} + +func (x *RemoveDelegateStakeResponse) Reset() { + *x = RemoveDelegateStakeResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_emissions_v8_tx_proto_msgTypes[22] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *RemoveDelegateStakeResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*RemoveDelegateStakeResponse) ProtoMessage() {} + +// Deprecated: Use RemoveDelegateStakeResponse.ProtoReflect.Descriptor instead. +func (*RemoveDelegateStakeResponse) Descriptor() ([]byte, []int) { + return file_emissions_v8_tx_proto_rawDescGZIP(), []int{22} +} + +type CancelRemoveDelegateStakeRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Sender string `protobuf:"bytes,1,opt,name=sender,proto3" json:"sender,omitempty"` + TopicId uint64 `protobuf:"varint,2,opt,name=topic_id,json=topicId,proto3" json:"topic_id,omitempty"` + Delegator string `protobuf:"bytes,3,opt,name=delegator,proto3" json:"delegator,omitempty"` + Reputer string `protobuf:"bytes,4,opt,name=reputer,proto3" json:"reputer,omitempty"` +} + +func (x *CancelRemoveDelegateStakeRequest) Reset() { + *x = CancelRemoveDelegateStakeRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_emissions_v8_tx_proto_msgTypes[23] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *CancelRemoveDelegateStakeRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*CancelRemoveDelegateStakeRequest) ProtoMessage() {} + +// Deprecated: Use CancelRemoveDelegateStakeRequest.ProtoReflect.Descriptor instead. +func (*CancelRemoveDelegateStakeRequest) Descriptor() ([]byte, []int) { + return file_emissions_v8_tx_proto_rawDescGZIP(), []int{23} +} + +func (x *CancelRemoveDelegateStakeRequest) GetSender() string { + if x != nil { + return x.Sender + } + return "" +} + +func (x *CancelRemoveDelegateStakeRequest) GetTopicId() uint64 { + if x != nil { + return x.TopicId + } + return 0 +} + +func (x *CancelRemoveDelegateStakeRequest) GetDelegator() string { + if x != nil { + return x.Delegator + } + return "" +} + +func (x *CancelRemoveDelegateStakeRequest) GetReputer() string { + if x != nil { + return x.Reputer + } + return "" +} + +type CancelRemoveDelegateStakeResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields +} + +func (x *CancelRemoveDelegateStakeResponse) Reset() { + *x = CancelRemoveDelegateStakeResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_emissions_v8_tx_proto_msgTypes[24] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *CancelRemoveDelegateStakeResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*CancelRemoveDelegateStakeResponse) ProtoMessage() {} + +// Deprecated: Use CancelRemoveDelegateStakeResponse.ProtoReflect.Descriptor instead. +func (*CancelRemoveDelegateStakeResponse) Descriptor() ([]byte, []int) { + return file_emissions_v8_tx_proto_rawDescGZIP(), []int{24} +} + +type RewardDelegateStakeRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Sender string `protobuf:"bytes,1,opt,name=sender,proto3" json:"sender,omitempty"` + TopicId uint64 `protobuf:"varint,2,opt,name=topic_id,json=topicId,proto3" json:"topic_id,omitempty"` + Reputer string `protobuf:"bytes,3,opt,name=reputer,proto3" json:"reputer,omitempty"` +} + +func (x *RewardDelegateStakeRequest) Reset() { + *x = RewardDelegateStakeRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_emissions_v8_tx_proto_msgTypes[25] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *RewardDelegateStakeRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*RewardDelegateStakeRequest) ProtoMessage() {} + +// Deprecated: Use RewardDelegateStakeRequest.ProtoReflect.Descriptor instead. +func (*RewardDelegateStakeRequest) Descriptor() ([]byte, []int) { + return file_emissions_v8_tx_proto_rawDescGZIP(), []int{25} +} + +func (x *RewardDelegateStakeRequest) GetSender() string { + if x != nil { + return x.Sender + } + return "" +} + +func (x *RewardDelegateStakeRequest) GetTopicId() uint64 { + if x != nil { + return x.TopicId + } + return 0 +} + +func (x *RewardDelegateStakeRequest) GetReputer() string { + if x != nil { + return x.Reputer + } + return "" +} + +type RewardDelegateStakeResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields +} + +func (x *RewardDelegateStakeResponse) Reset() { + *x = RewardDelegateStakeResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_emissions_v8_tx_proto_msgTypes[26] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *RewardDelegateStakeResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*RewardDelegateStakeResponse) ProtoMessage() {} + +// Deprecated: Use RewardDelegateStakeResponse.ProtoReflect.Descriptor instead. +func (*RewardDelegateStakeResponse) Descriptor() ([]byte, []int) { + return file_emissions_v8_tx_proto_rawDescGZIP(), []int{26} +} + +// Inferences are requested by consumers who fund topics by sending ALLO to +// ecosystem account via TopicFund messages +type FundTopicRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Sender string `protobuf:"bytes,1,opt,name=sender,proto3" json:"sender,omitempty"` + TopicId uint64 `protobuf:"varint,2,opt,name=topic_id,json=topicId,proto3" json:"topic_id,omitempty"` + Amount string `protobuf:"bytes,3,opt,name=amount,proto3" json:"amount,omitempty"` // how many funds to send from alice with this Inference Request +} + +func (x *FundTopicRequest) Reset() { + *x = FundTopicRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_emissions_v8_tx_proto_msgTypes[27] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *FundTopicRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*FundTopicRequest) ProtoMessage() {} + +// Deprecated: Use FundTopicRequest.ProtoReflect.Descriptor instead. +func (*FundTopicRequest) Descriptor() ([]byte, []int) { + return file_emissions_v8_tx_proto_rawDescGZIP(), []int{27} +} + +func (x *FundTopicRequest) GetSender() string { + if x != nil { + return x.Sender + } + return "" +} + +func (x *FundTopicRequest) GetTopicId() uint64 { + if x != nil { + return x.TopicId + } + return 0 +} + +func (x *FundTopicRequest) GetAmount() string { + if x != nil { + return x.Amount + } + return "" +} + +type FundTopicResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields +} + +func (x *FundTopicResponse) Reset() { + *x = FundTopicResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_emissions_v8_tx_proto_msgTypes[28] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *FundTopicResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*FundTopicResponse) ProtoMessage() {} + +// Deprecated: Use FundTopicResponse.ProtoReflect.Descriptor instead. +func (*FundTopicResponse) Descriptor() ([]byte, []int) { + return file_emissions_v8_tx_proto_rawDescGZIP(), []int{28} +} + +type AddToWhitelistAdminRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Sender string `protobuf:"bytes,1,opt,name=sender,proto3" json:"sender,omitempty"` + Address string `protobuf:"bytes,2,opt,name=address,proto3" json:"address,omitempty"` +} + +func (x *AddToWhitelistAdminRequest) Reset() { + *x = AddToWhitelistAdminRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_emissions_v8_tx_proto_msgTypes[29] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *AddToWhitelistAdminRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*AddToWhitelistAdminRequest) ProtoMessage() {} + +// Deprecated: Use AddToWhitelistAdminRequest.ProtoReflect.Descriptor instead. +func (*AddToWhitelistAdminRequest) Descriptor() ([]byte, []int) { + return file_emissions_v8_tx_proto_rawDescGZIP(), []int{29} +} + +func (x *AddToWhitelistAdminRequest) GetSender() string { + if x != nil { + return x.Sender + } + return "" +} + +func (x *AddToWhitelistAdminRequest) GetAddress() string { + if x != nil { + return x.Address + } + return "" +} + +type AddToWhitelistAdminResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields +} + +func (x *AddToWhitelistAdminResponse) Reset() { + *x = AddToWhitelistAdminResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_emissions_v8_tx_proto_msgTypes[30] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *AddToWhitelistAdminResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*AddToWhitelistAdminResponse) ProtoMessage() {} + +// Deprecated: Use AddToWhitelistAdminResponse.ProtoReflect.Descriptor instead. +func (*AddToWhitelistAdminResponse) Descriptor() ([]byte, []int) { + return file_emissions_v8_tx_proto_rawDescGZIP(), []int{30} +} + +type RemoveFromWhitelistAdminRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Sender string `protobuf:"bytes,1,opt,name=sender,proto3" json:"sender,omitempty"` + Address string `protobuf:"bytes,2,opt,name=address,proto3" json:"address,omitempty"` +} + +func (x *RemoveFromWhitelistAdminRequest) Reset() { + *x = RemoveFromWhitelistAdminRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_emissions_v8_tx_proto_msgTypes[31] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *RemoveFromWhitelistAdminRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*RemoveFromWhitelistAdminRequest) ProtoMessage() {} + +// Deprecated: Use RemoveFromWhitelistAdminRequest.ProtoReflect.Descriptor instead. +func (*RemoveFromWhitelistAdminRequest) Descriptor() ([]byte, []int) { + return file_emissions_v8_tx_proto_rawDescGZIP(), []int{31} +} + +func (x *RemoveFromWhitelistAdminRequest) GetSender() string { + if x != nil { + return x.Sender + } + return "" +} + +func (x *RemoveFromWhitelistAdminRequest) GetAddress() string { + if x != nil { + return x.Address + } + return "" +} + +type RemoveFromWhitelistAdminResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields +} + +func (x *RemoveFromWhitelistAdminResponse) Reset() { + *x = RemoveFromWhitelistAdminResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_emissions_v8_tx_proto_msgTypes[32] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *RemoveFromWhitelistAdminResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*RemoveFromWhitelistAdminResponse) ProtoMessage() {} + +// Deprecated: Use RemoveFromWhitelistAdminResponse.ProtoReflect.Descriptor instead. +func (*RemoveFromWhitelistAdminResponse) Descriptor() ([]byte, []int) { + return file_emissions_v8_tx_proto_rawDescGZIP(), []int{32} +} + +type EnableTopicWorkerWhitelistRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Sender string `protobuf:"bytes,1,opt,name=sender,proto3" json:"sender,omitempty"` + TopicId uint64 `protobuf:"varint,2,opt,name=topic_id,json=topicId,proto3" json:"topic_id,omitempty"` +} + +func (x *EnableTopicWorkerWhitelistRequest) Reset() { + *x = EnableTopicWorkerWhitelistRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_emissions_v8_tx_proto_msgTypes[33] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *EnableTopicWorkerWhitelistRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*EnableTopicWorkerWhitelistRequest) ProtoMessage() {} + +// Deprecated: Use EnableTopicWorkerWhitelistRequest.ProtoReflect.Descriptor instead. +func (*EnableTopicWorkerWhitelistRequest) Descriptor() ([]byte, []int) { + return file_emissions_v8_tx_proto_rawDescGZIP(), []int{33} +} + +func (x *EnableTopicWorkerWhitelistRequest) GetSender() string { + if x != nil { + return x.Sender + } + return "" +} + +func (x *EnableTopicWorkerWhitelistRequest) GetTopicId() uint64 { + if x != nil { + return x.TopicId + } + return 0 +} + +type EnableTopicWorkerWhitelistResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields +} + +func (x *EnableTopicWorkerWhitelistResponse) Reset() { + *x = EnableTopicWorkerWhitelistResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_emissions_v8_tx_proto_msgTypes[34] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *EnableTopicWorkerWhitelistResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*EnableTopicWorkerWhitelistResponse) ProtoMessage() {} + +// Deprecated: Use EnableTopicWorkerWhitelistResponse.ProtoReflect.Descriptor instead. +func (*EnableTopicWorkerWhitelistResponse) Descriptor() ([]byte, []int) { + return file_emissions_v8_tx_proto_rawDescGZIP(), []int{34} +} + +type DisableTopicWorkerWhitelistRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Sender string `protobuf:"bytes,1,opt,name=sender,proto3" json:"sender,omitempty"` + TopicId uint64 `protobuf:"varint,2,opt,name=topic_id,json=topicId,proto3" json:"topic_id,omitempty"` +} + +func (x *DisableTopicWorkerWhitelistRequest) Reset() { + *x = DisableTopicWorkerWhitelistRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_emissions_v8_tx_proto_msgTypes[35] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *DisableTopicWorkerWhitelistRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*DisableTopicWorkerWhitelistRequest) ProtoMessage() {} + +// Deprecated: Use DisableTopicWorkerWhitelistRequest.ProtoReflect.Descriptor instead. +func (*DisableTopicWorkerWhitelistRequest) Descriptor() ([]byte, []int) { + return file_emissions_v8_tx_proto_rawDescGZIP(), []int{35} +} + +func (x *DisableTopicWorkerWhitelistRequest) GetSender() string { + if x != nil { + return x.Sender + } + return "" +} + +func (x *DisableTopicWorkerWhitelistRequest) GetTopicId() uint64 { + if x != nil { + return x.TopicId + } + return 0 +} + +type DisableTopicWorkerWhitelistResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields +} + +func (x *DisableTopicWorkerWhitelistResponse) Reset() { + *x = DisableTopicWorkerWhitelistResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_emissions_v8_tx_proto_msgTypes[36] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *DisableTopicWorkerWhitelistResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*DisableTopicWorkerWhitelistResponse) ProtoMessage() {} + +// Deprecated: Use DisableTopicWorkerWhitelistResponse.ProtoReflect.Descriptor instead. +func (*DisableTopicWorkerWhitelistResponse) Descriptor() ([]byte, []int) { + return file_emissions_v8_tx_proto_rawDescGZIP(), []int{36} +} + +type EnableTopicReputerWhitelistRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Sender string `protobuf:"bytes,1,opt,name=sender,proto3" json:"sender,omitempty"` + TopicId uint64 `protobuf:"varint,2,opt,name=topic_id,json=topicId,proto3" json:"topic_id,omitempty"` +} + +func (x *EnableTopicReputerWhitelistRequest) Reset() { + *x = EnableTopicReputerWhitelistRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_emissions_v8_tx_proto_msgTypes[37] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *EnableTopicReputerWhitelistRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*EnableTopicReputerWhitelistRequest) ProtoMessage() {} + +// Deprecated: Use EnableTopicReputerWhitelistRequest.ProtoReflect.Descriptor instead. +func (*EnableTopicReputerWhitelistRequest) Descriptor() ([]byte, []int) { + return file_emissions_v8_tx_proto_rawDescGZIP(), []int{37} +} + +func (x *EnableTopicReputerWhitelistRequest) GetSender() string { + if x != nil { + return x.Sender + } + return "" +} + +func (x *EnableTopicReputerWhitelistRequest) GetTopicId() uint64 { + if x != nil { + return x.TopicId + } + return 0 +} + +type EnableTopicReputerWhitelistResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields +} + +func (x *EnableTopicReputerWhitelistResponse) Reset() { + *x = EnableTopicReputerWhitelistResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_emissions_v8_tx_proto_msgTypes[38] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *EnableTopicReputerWhitelistResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*EnableTopicReputerWhitelistResponse) ProtoMessage() {} + +// Deprecated: Use EnableTopicReputerWhitelistResponse.ProtoReflect.Descriptor instead. +func (*EnableTopicReputerWhitelistResponse) Descriptor() ([]byte, []int) { + return file_emissions_v8_tx_proto_rawDescGZIP(), []int{38} +} + +type DisableTopicReputerWhitelistRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Sender string `protobuf:"bytes,1,opt,name=sender,proto3" json:"sender,omitempty"` + TopicId uint64 `protobuf:"varint,2,opt,name=topic_id,json=topicId,proto3" json:"topic_id,omitempty"` +} + +func (x *DisableTopicReputerWhitelistRequest) Reset() { + *x = DisableTopicReputerWhitelistRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_emissions_v8_tx_proto_msgTypes[39] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *DisableTopicReputerWhitelistRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*DisableTopicReputerWhitelistRequest) ProtoMessage() {} + +// Deprecated: Use DisableTopicReputerWhitelistRequest.ProtoReflect.Descriptor instead. +func (*DisableTopicReputerWhitelistRequest) Descriptor() ([]byte, []int) { + return file_emissions_v8_tx_proto_rawDescGZIP(), []int{39} +} + +func (x *DisableTopicReputerWhitelistRequest) GetSender() string { + if x != nil { + return x.Sender + } + return "" +} + +func (x *DisableTopicReputerWhitelistRequest) GetTopicId() uint64 { + if x != nil { + return x.TopicId + } + return 0 +} + +type DisableTopicReputerWhitelistResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields +} + +func (x *DisableTopicReputerWhitelistResponse) Reset() { + *x = DisableTopicReputerWhitelistResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_emissions_v8_tx_proto_msgTypes[40] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *DisableTopicReputerWhitelistResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*DisableTopicReputerWhitelistResponse) ProtoMessage() {} + +// Deprecated: Use DisableTopicReputerWhitelistResponse.ProtoReflect.Descriptor instead. +func (*DisableTopicReputerWhitelistResponse) Descriptor() ([]byte, []int) { + return file_emissions_v8_tx_proto_rawDescGZIP(), []int{40} +} + +type AddToGlobalWhitelistRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Sender string `protobuf:"bytes,1,opt,name=sender,proto3" json:"sender,omitempty"` + Address string `protobuf:"bytes,2,opt,name=address,proto3" json:"address,omitempty"` +} + +func (x *AddToGlobalWhitelistRequest) Reset() { + *x = AddToGlobalWhitelistRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_emissions_v8_tx_proto_msgTypes[41] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *AddToGlobalWhitelistRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*AddToGlobalWhitelistRequest) ProtoMessage() {} + +// Deprecated: Use AddToGlobalWhitelistRequest.ProtoReflect.Descriptor instead. +func (*AddToGlobalWhitelistRequest) Descriptor() ([]byte, []int) { + return file_emissions_v8_tx_proto_rawDescGZIP(), []int{41} +} + +func (x *AddToGlobalWhitelistRequest) GetSender() string { + if x != nil { + return x.Sender + } + return "" +} + +func (x *AddToGlobalWhitelistRequest) GetAddress() string { + if x != nil { + return x.Address + } + return "" +} + +type AddToGlobalWhitelistResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields +} + +func (x *AddToGlobalWhitelistResponse) Reset() { + *x = AddToGlobalWhitelistResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_emissions_v8_tx_proto_msgTypes[42] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *AddToGlobalWhitelistResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*AddToGlobalWhitelistResponse) ProtoMessage() {} + +// Deprecated: Use AddToGlobalWhitelistResponse.ProtoReflect.Descriptor instead. +func (*AddToGlobalWhitelistResponse) Descriptor() ([]byte, []int) { + return file_emissions_v8_tx_proto_rawDescGZIP(), []int{42} +} + +type RemoveFromGlobalWhitelistRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Sender string `protobuf:"bytes,1,opt,name=sender,proto3" json:"sender,omitempty"` + Address string `protobuf:"bytes,2,opt,name=address,proto3" json:"address,omitempty"` +} + +func (x *RemoveFromGlobalWhitelistRequest) Reset() { + *x = RemoveFromGlobalWhitelistRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_emissions_v8_tx_proto_msgTypes[43] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *RemoveFromGlobalWhitelistRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*RemoveFromGlobalWhitelistRequest) ProtoMessage() {} + +// Deprecated: Use RemoveFromGlobalWhitelistRequest.ProtoReflect.Descriptor instead. +func (*RemoveFromGlobalWhitelistRequest) Descriptor() ([]byte, []int) { + return file_emissions_v8_tx_proto_rawDescGZIP(), []int{43} +} + +func (x *RemoveFromGlobalWhitelistRequest) GetSender() string { + if x != nil { + return x.Sender + } + return "" +} + +func (x *RemoveFromGlobalWhitelistRequest) GetAddress() string { + if x != nil { + return x.Address + } + return "" +} + +type RemoveFromGlobalWhitelistResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields +} + +func (x *RemoveFromGlobalWhitelistResponse) Reset() { + *x = RemoveFromGlobalWhitelistResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_emissions_v8_tx_proto_msgTypes[44] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *RemoveFromGlobalWhitelistResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*RemoveFromGlobalWhitelistResponse) ProtoMessage() {} + +// Deprecated: Use RemoveFromGlobalWhitelistResponse.ProtoReflect.Descriptor instead. +func (*RemoveFromGlobalWhitelistResponse) Descriptor() ([]byte, []int) { + return file_emissions_v8_tx_proto_rawDescGZIP(), []int{44} +} + +type AddToTopicCreatorWhitelistRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Sender string `protobuf:"bytes,1,opt,name=sender,proto3" json:"sender,omitempty"` + Address string `protobuf:"bytes,2,opt,name=address,proto3" json:"address,omitempty"` +} + +func (x *AddToTopicCreatorWhitelistRequest) Reset() { + *x = AddToTopicCreatorWhitelistRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_emissions_v8_tx_proto_msgTypes[45] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *AddToTopicCreatorWhitelistRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*AddToTopicCreatorWhitelistRequest) ProtoMessage() {} + +// Deprecated: Use AddToTopicCreatorWhitelistRequest.ProtoReflect.Descriptor instead. +func (*AddToTopicCreatorWhitelistRequest) Descriptor() ([]byte, []int) { + return file_emissions_v8_tx_proto_rawDescGZIP(), []int{45} +} + +func (x *AddToTopicCreatorWhitelistRequest) GetSender() string { + if x != nil { + return x.Sender + } + return "" +} + +func (x *AddToTopicCreatorWhitelistRequest) GetAddress() string { + if x != nil { + return x.Address + } + return "" +} + +type AddToTopicCreatorWhitelistResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields +} + +func (x *AddToTopicCreatorWhitelistResponse) Reset() { + *x = AddToTopicCreatorWhitelistResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_emissions_v8_tx_proto_msgTypes[46] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *AddToTopicCreatorWhitelistResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*AddToTopicCreatorWhitelistResponse) ProtoMessage() {} + +// Deprecated: Use AddToTopicCreatorWhitelistResponse.ProtoReflect.Descriptor instead. +func (*AddToTopicCreatorWhitelistResponse) Descriptor() ([]byte, []int) { + return file_emissions_v8_tx_proto_rawDescGZIP(), []int{46} +} + +type AddToGlobalWorkerWhitelistRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Sender string `protobuf:"bytes,1,opt,name=sender,proto3" json:"sender,omitempty"` + Address string `protobuf:"bytes,2,opt,name=address,proto3" json:"address,omitempty"` +} + +func (x *AddToGlobalWorkerWhitelistRequest) Reset() { + *x = AddToGlobalWorkerWhitelistRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_emissions_v8_tx_proto_msgTypes[47] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *AddToGlobalWorkerWhitelistRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*AddToGlobalWorkerWhitelistRequest) ProtoMessage() {} + +// Deprecated: Use AddToGlobalWorkerWhitelistRequest.ProtoReflect.Descriptor instead. +func (*AddToGlobalWorkerWhitelistRequest) Descriptor() ([]byte, []int) { + return file_emissions_v8_tx_proto_rawDescGZIP(), []int{47} +} + +func (x *AddToGlobalWorkerWhitelistRequest) GetSender() string { + if x != nil { + return x.Sender + } + return "" +} + +func (x *AddToGlobalWorkerWhitelistRequest) GetAddress() string { + if x != nil { + return x.Address + } + return "" +} + +type AddToGlobalWorkerWhitelistResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields +} + +func (x *AddToGlobalWorkerWhitelistResponse) Reset() { + *x = AddToGlobalWorkerWhitelistResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_emissions_v8_tx_proto_msgTypes[48] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *AddToGlobalWorkerWhitelistResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*AddToGlobalWorkerWhitelistResponse) ProtoMessage() {} + +// Deprecated: Use AddToGlobalWorkerWhitelistResponse.ProtoReflect.Descriptor instead. +func (*AddToGlobalWorkerWhitelistResponse) Descriptor() ([]byte, []int) { + return file_emissions_v8_tx_proto_rawDescGZIP(), []int{48} +} + +type RemoveFromGlobalWorkerWhitelistRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Sender string `protobuf:"bytes,1,opt,name=sender,proto3" json:"sender,omitempty"` + Address string `protobuf:"bytes,2,opt,name=address,proto3" json:"address,omitempty"` +} + +func (x *RemoveFromGlobalWorkerWhitelistRequest) Reset() { + *x = RemoveFromGlobalWorkerWhitelistRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_emissions_v8_tx_proto_msgTypes[49] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *RemoveFromGlobalWorkerWhitelistRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*RemoveFromGlobalWorkerWhitelistRequest) ProtoMessage() {} + +// Deprecated: Use RemoveFromGlobalWorkerWhitelistRequest.ProtoReflect.Descriptor instead. +func (*RemoveFromGlobalWorkerWhitelistRequest) Descriptor() ([]byte, []int) { + return file_emissions_v8_tx_proto_rawDescGZIP(), []int{49} +} + +func (x *RemoveFromGlobalWorkerWhitelistRequest) GetSender() string { + if x != nil { + return x.Sender + } + return "" +} + +func (x *RemoveFromGlobalWorkerWhitelistRequest) GetAddress() string { + if x != nil { + return x.Address + } + return "" +} + +type RemoveFromGlobalWorkerWhitelistResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields +} + +func (x *RemoveFromGlobalWorkerWhitelistResponse) Reset() { + *x = RemoveFromGlobalWorkerWhitelistResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_emissions_v8_tx_proto_msgTypes[50] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *RemoveFromGlobalWorkerWhitelistResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*RemoveFromGlobalWorkerWhitelistResponse) ProtoMessage() {} + +// Deprecated: Use RemoveFromGlobalWorkerWhitelistResponse.ProtoReflect.Descriptor instead. +func (*RemoveFromGlobalWorkerWhitelistResponse) Descriptor() ([]byte, []int) { + return file_emissions_v8_tx_proto_rawDescGZIP(), []int{50} +} + +type AddToGlobalReputerWhitelistRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Sender string `protobuf:"bytes,1,opt,name=sender,proto3" json:"sender,omitempty"` + Address string `protobuf:"bytes,2,opt,name=address,proto3" json:"address,omitempty"` +} + +func (x *AddToGlobalReputerWhitelistRequest) Reset() { + *x = AddToGlobalReputerWhitelistRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_emissions_v8_tx_proto_msgTypes[51] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *AddToGlobalReputerWhitelistRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*AddToGlobalReputerWhitelistRequest) ProtoMessage() {} + +// Deprecated: Use AddToGlobalReputerWhitelistRequest.ProtoReflect.Descriptor instead. +func (*AddToGlobalReputerWhitelistRequest) Descriptor() ([]byte, []int) { + return file_emissions_v8_tx_proto_rawDescGZIP(), []int{51} +} + +func (x *AddToGlobalReputerWhitelistRequest) GetSender() string { + if x != nil { + return x.Sender + } + return "" +} + +func (x *AddToGlobalReputerWhitelistRequest) GetAddress() string { + if x != nil { + return x.Address + } + return "" +} + +type AddToGlobalReputerWhitelistResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields +} + +func (x *AddToGlobalReputerWhitelistResponse) Reset() { + *x = AddToGlobalReputerWhitelistResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_emissions_v8_tx_proto_msgTypes[52] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *AddToGlobalReputerWhitelistResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*AddToGlobalReputerWhitelistResponse) ProtoMessage() {} + +// Deprecated: Use AddToGlobalReputerWhitelistResponse.ProtoReflect.Descriptor instead. +func (*AddToGlobalReputerWhitelistResponse) Descriptor() ([]byte, []int) { + return file_emissions_v8_tx_proto_rawDescGZIP(), []int{52} +} + +type RemoveFromGlobalReputerWhitelistRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Sender string `protobuf:"bytes,1,opt,name=sender,proto3" json:"sender,omitempty"` + Address string `protobuf:"bytes,2,opt,name=address,proto3" json:"address,omitempty"` +} + +func (x *RemoveFromGlobalReputerWhitelistRequest) Reset() { + *x = RemoveFromGlobalReputerWhitelistRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_emissions_v8_tx_proto_msgTypes[53] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *RemoveFromGlobalReputerWhitelistRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*RemoveFromGlobalReputerWhitelistRequest) ProtoMessage() {} + +// Deprecated: Use RemoveFromGlobalReputerWhitelistRequest.ProtoReflect.Descriptor instead. +func (*RemoveFromGlobalReputerWhitelistRequest) Descriptor() ([]byte, []int) { + return file_emissions_v8_tx_proto_rawDescGZIP(), []int{53} +} + +func (x *RemoveFromGlobalReputerWhitelistRequest) GetSender() string { + if x != nil { + return x.Sender + } + return "" +} + +func (x *RemoveFromGlobalReputerWhitelistRequest) GetAddress() string { + if x != nil { + return x.Address + } + return "" +} + +type RemoveFromGlobalReputerWhitelistResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields +} + +func (x *RemoveFromGlobalReputerWhitelistResponse) Reset() { + *x = RemoveFromGlobalReputerWhitelistResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_emissions_v8_tx_proto_msgTypes[54] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *RemoveFromGlobalReputerWhitelistResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*RemoveFromGlobalReputerWhitelistResponse) ProtoMessage() {} + +// Deprecated: Use RemoveFromGlobalReputerWhitelistResponse.ProtoReflect.Descriptor instead. +func (*RemoveFromGlobalReputerWhitelistResponse) Descriptor() ([]byte, []int) { + return file_emissions_v8_tx_proto_rawDescGZIP(), []int{54} +} + +type AddToGlobalAdminWhitelistRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Sender string `protobuf:"bytes,1,opt,name=sender,proto3" json:"sender,omitempty"` + Address string `protobuf:"bytes,2,opt,name=address,proto3" json:"address,omitempty"` +} + +func (x *AddToGlobalAdminWhitelistRequest) Reset() { + *x = AddToGlobalAdminWhitelistRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_emissions_v8_tx_proto_msgTypes[55] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *AddToGlobalAdminWhitelistRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*AddToGlobalAdminWhitelistRequest) ProtoMessage() {} + +// Deprecated: Use AddToGlobalAdminWhitelistRequest.ProtoReflect.Descriptor instead. +func (*AddToGlobalAdminWhitelistRequest) Descriptor() ([]byte, []int) { + return file_emissions_v8_tx_proto_rawDescGZIP(), []int{55} +} + +func (x *AddToGlobalAdminWhitelistRequest) GetSender() string { + if x != nil { + return x.Sender + } + return "" +} + +func (x *AddToGlobalAdminWhitelistRequest) GetAddress() string { + if x != nil { + return x.Address + } + return "" +} + +type AddToGlobalAdminWhitelistResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields +} + +func (x *AddToGlobalAdminWhitelistResponse) Reset() { + *x = AddToGlobalAdminWhitelistResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_emissions_v8_tx_proto_msgTypes[56] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *AddToGlobalAdminWhitelistResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*AddToGlobalAdminWhitelistResponse) ProtoMessage() {} + +// Deprecated: Use AddToGlobalAdminWhitelistResponse.ProtoReflect.Descriptor instead. +func (*AddToGlobalAdminWhitelistResponse) Descriptor() ([]byte, []int) { + return file_emissions_v8_tx_proto_rawDescGZIP(), []int{56} +} + +type RemoveFromGlobalAdminWhitelistRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Sender string `protobuf:"bytes,1,opt,name=sender,proto3" json:"sender,omitempty"` + Address string `protobuf:"bytes,2,opt,name=address,proto3" json:"address,omitempty"` +} + +func (x *RemoveFromGlobalAdminWhitelistRequest) Reset() { + *x = RemoveFromGlobalAdminWhitelistRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_emissions_v8_tx_proto_msgTypes[57] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *RemoveFromGlobalAdminWhitelistRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*RemoveFromGlobalAdminWhitelistRequest) ProtoMessage() {} + +// Deprecated: Use RemoveFromGlobalAdminWhitelistRequest.ProtoReflect.Descriptor instead. +func (*RemoveFromGlobalAdminWhitelistRequest) Descriptor() ([]byte, []int) { + return file_emissions_v8_tx_proto_rawDescGZIP(), []int{57} +} + +func (x *RemoveFromGlobalAdminWhitelistRequest) GetSender() string { + if x != nil { + return x.Sender + } + return "" +} + +func (x *RemoveFromGlobalAdminWhitelistRequest) GetAddress() string { + if x != nil { + return x.Address + } + return "" +} + +type RemoveFromGlobalAdminWhitelistResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields +} + +func (x *RemoveFromGlobalAdminWhitelistResponse) Reset() { + *x = RemoveFromGlobalAdminWhitelistResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_emissions_v8_tx_proto_msgTypes[58] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *RemoveFromGlobalAdminWhitelistResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*RemoveFromGlobalAdminWhitelistResponse) ProtoMessage() {} + +// Deprecated: Use RemoveFromGlobalAdminWhitelistResponse.ProtoReflect.Descriptor instead. +func (*RemoveFromGlobalAdminWhitelistResponse) Descriptor() ([]byte, []int) { + return file_emissions_v8_tx_proto_rawDescGZIP(), []int{58} +} + +type BulkAddToGlobalWorkerWhitelistRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Sender string `protobuf:"bytes,1,opt,name=sender,proto3" json:"sender,omitempty"` + Addresses []string `protobuf:"bytes,2,rep,name=addresses,proto3" json:"addresses,omitempty"` +} + +func (x *BulkAddToGlobalWorkerWhitelistRequest) Reset() { + *x = BulkAddToGlobalWorkerWhitelistRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_emissions_v8_tx_proto_msgTypes[59] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *BulkAddToGlobalWorkerWhitelistRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*BulkAddToGlobalWorkerWhitelistRequest) ProtoMessage() {} + +// Deprecated: Use BulkAddToGlobalWorkerWhitelistRequest.ProtoReflect.Descriptor instead. +func (*BulkAddToGlobalWorkerWhitelistRequest) Descriptor() ([]byte, []int) { + return file_emissions_v8_tx_proto_rawDescGZIP(), []int{59} +} + +func (x *BulkAddToGlobalWorkerWhitelistRequest) GetSender() string { + if x != nil { + return x.Sender + } + return "" +} + +func (x *BulkAddToGlobalWorkerWhitelistRequest) GetAddresses() []string { + if x != nil { + return x.Addresses + } + return nil +} + +type BulkAddToGlobalWorkerWhitelistResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields +} + +func (x *BulkAddToGlobalWorkerWhitelistResponse) Reset() { + *x = BulkAddToGlobalWorkerWhitelistResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_emissions_v8_tx_proto_msgTypes[60] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *BulkAddToGlobalWorkerWhitelistResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*BulkAddToGlobalWorkerWhitelistResponse) ProtoMessage() {} + +// Deprecated: Use BulkAddToGlobalWorkerWhitelistResponse.ProtoReflect.Descriptor instead. +func (*BulkAddToGlobalWorkerWhitelistResponse) Descriptor() ([]byte, []int) { + return file_emissions_v8_tx_proto_rawDescGZIP(), []int{60} +} + +type BulkRemoveFromGlobalWorkerWhitelistRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Sender string `protobuf:"bytes,1,opt,name=sender,proto3" json:"sender,omitempty"` + Addresses []string `protobuf:"bytes,2,rep,name=addresses,proto3" json:"addresses,omitempty"` +} + +func (x *BulkRemoveFromGlobalWorkerWhitelistRequest) Reset() { + *x = BulkRemoveFromGlobalWorkerWhitelistRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_emissions_v8_tx_proto_msgTypes[61] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *BulkRemoveFromGlobalWorkerWhitelistRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*BulkRemoveFromGlobalWorkerWhitelistRequest) ProtoMessage() {} + +// Deprecated: Use BulkRemoveFromGlobalWorkerWhitelistRequest.ProtoReflect.Descriptor instead. +func (*BulkRemoveFromGlobalWorkerWhitelistRequest) Descriptor() ([]byte, []int) { + return file_emissions_v8_tx_proto_rawDescGZIP(), []int{61} +} + +func (x *BulkRemoveFromGlobalWorkerWhitelistRequest) GetSender() string { + if x != nil { + return x.Sender + } + return "" +} + +func (x *BulkRemoveFromGlobalWorkerWhitelistRequest) GetAddresses() []string { + if x != nil { + return x.Addresses + } + return nil +} + +type BulkRemoveFromGlobalWorkerWhitelistResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields +} + +func (x *BulkRemoveFromGlobalWorkerWhitelistResponse) Reset() { + *x = BulkRemoveFromGlobalWorkerWhitelistResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_emissions_v8_tx_proto_msgTypes[62] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *BulkRemoveFromGlobalWorkerWhitelistResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*BulkRemoveFromGlobalWorkerWhitelistResponse) ProtoMessage() {} + +// Deprecated: Use BulkRemoveFromGlobalWorkerWhitelistResponse.ProtoReflect.Descriptor instead. +func (*BulkRemoveFromGlobalWorkerWhitelistResponse) Descriptor() ([]byte, []int) { + return file_emissions_v8_tx_proto_rawDescGZIP(), []int{62} +} + +type BulkAddToGlobalReputerWhitelistRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Sender string `protobuf:"bytes,1,opt,name=sender,proto3" json:"sender,omitempty"` + Addresses []string `protobuf:"bytes,2,rep,name=addresses,proto3" json:"addresses,omitempty"` +} + +func (x *BulkAddToGlobalReputerWhitelistRequest) Reset() { + *x = BulkAddToGlobalReputerWhitelistRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_emissions_v8_tx_proto_msgTypes[63] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *BulkAddToGlobalReputerWhitelistRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*BulkAddToGlobalReputerWhitelistRequest) ProtoMessage() {} + +// Deprecated: Use BulkAddToGlobalReputerWhitelistRequest.ProtoReflect.Descriptor instead. +func (*BulkAddToGlobalReputerWhitelistRequest) Descriptor() ([]byte, []int) { + return file_emissions_v8_tx_proto_rawDescGZIP(), []int{63} +} + +func (x *BulkAddToGlobalReputerWhitelistRequest) GetSender() string { + if x != nil { + return x.Sender + } + return "" +} + +func (x *BulkAddToGlobalReputerWhitelistRequest) GetAddresses() []string { + if x != nil { + return x.Addresses + } + return nil +} + +type BulkAddToGlobalReputerWhitelistResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields +} + +func (x *BulkAddToGlobalReputerWhitelistResponse) Reset() { + *x = BulkAddToGlobalReputerWhitelistResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_emissions_v8_tx_proto_msgTypes[64] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *BulkAddToGlobalReputerWhitelistResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*BulkAddToGlobalReputerWhitelistResponse) ProtoMessage() {} + +// Deprecated: Use BulkAddToGlobalReputerWhitelistResponse.ProtoReflect.Descriptor instead. +func (*BulkAddToGlobalReputerWhitelistResponse) Descriptor() ([]byte, []int) { + return file_emissions_v8_tx_proto_rawDescGZIP(), []int{64} +} + +type BulkRemoveFromGlobalReputerWhitelistRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Sender string `protobuf:"bytes,1,opt,name=sender,proto3" json:"sender,omitempty"` + Addresses []string `protobuf:"bytes,2,rep,name=addresses,proto3" json:"addresses,omitempty"` +} + +func (x *BulkRemoveFromGlobalReputerWhitelistRequest) Reset() { + *x = BulkRemoveFromGlobalReputerWhitelistRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_emissions_v8_tx_proto_msgTypes[65] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *BulkRemoveFromGlobalReputerWhitelistRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*BulkRemoveFromGlobalReputerWhitelistRequest) ProtoMessage() {} + +// Deprecated: Use BulkRemoveFromGlobalReputerWhitelistRequest.ProtoReflect.Descriptor instead. +func (*BulkRemoveFromGlobalReputerWhitelistRequest) Descriptor() ([]byte, []int) { + return file_emissions_v8_tx_proto_rawDescGZIP(), []int{65} +} + +func (x *BulkRemoveFromGlobalReputerWhitelistRequest) GetSender() string { + if x != nil { + return x.Sender + } + return "" +} + +func (x *BulkRemoveFromGlobalReputerWhitelistRequest) GetAddresses() []string { + if x != nil { + return x.Addresses + } + return nil +} + +type BulkRemoveFromGlobalReputerWhitelistResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields +} + +func (x *BulkRemoveFromGlobalReputerWhitelistResponse) Reset() { + *x = BulkRemoveFromGlobalReputerWhitelistResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_emissions_v8_tx_proto_msgTypes[66] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *BulkRemoveFromGlobalReputerWhitelistResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*BulkRemoveFromGlobalReputerWhitelistResponse) ProtoMessage() {} + +// Deprecated: Use BulkRemoveFromGlobalReputerWhitelistResponse.ProtoReflect.Descriptor instead. +func (*BulkRemoveFromGlobalReputerWhitelistResponse) Descriptor() ([]byte, []int) { + return file_emissions_v8_tx_proto_rawDescGZIP(), []int{66} +} + +type BulkAddToTopicWorkerWhitelistRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Sender string `protobuf:"bytes,1,opt,name=sender,proto3" json:"sender,omitempty"` + Addresses []string `protobuf:"bytes,2,rep,name=addresses,proto3" json:"addresses,omitempty"` + TopicId uint64 `protobuf:"varint,3,opt,name=topic_id,json=topicId,proto3" json:"topic_id,omitempty"` +} + +func (x *BulkAddToTopicWorkerWhitelistRequest) Reset() { + *x = BulkAddToTopicWorkerWhitelistRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_emissions_v8_tx_proto_msgTypes[67] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *BulkAddToTopicWorkerWhitelistRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*BulkAddToTopicWorkerWhitelistRequest) ProtoMessage() {} + +// Deprecated: Use BulkAddToTopicWorkerWhitelistRequest.ProtoReflect.Descriptor instead. +func (*BulkAddToTopicWorkerWhitelistRequest) Descriptor() ([]byte, []int) { + return file_emissions_v8_tx_proto_rawDescGZIP(), []int{67} +} + +func (x *BulkAddToTopicWorkerWhitelistRequest) GetSender() string { + if x != nil { + return x.Sender + } + return "" +} + +func (x *BulkAddToTopicWorkerWhitelistRequest) GetAddresses() []string { + if x != nil { + return x.Addresses + } + return nil +} + +func (x *BulkAddToTopicWorkerWhitelistRequest) GetTopicId() uint64 { + if x != nil { + return x.TopicId + } + return 0 +} + +type BulkAddToTopicWorkerWhitelistResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields +} + +func (x *BulkAddToTopicWorkerWhitelistResponse) Reset() { + *x = BulkAddToTopicWorkerWhitelistResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_emissions_v8_tx_proto_msgTypes[68] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *BulkAddToTopicWorkerWhitelistResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*BulkAddToTopicWorkerWhitelistResponse) ProtoMessage() {} + +// Deprecated: Use BulkAddToTopicWorkerWhitelistResponse.ProtoReflect.Descriptor instead. +func (*BulkAddToTopicWorkerWhitelistResponse) Descriptor() ([]byte, []int) { + return file_emissions_v8_tx_proto_rawDescGZIP(), []int{68} +} + +type BulkRemoveFromTopicWorkerWhitelistRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Sender string `protobuf:"bytes,1,opt,name=sender,proto3" json:"sender,omitempty"` + Addresses []string `protobuf:"bytes,2,rep,name=addresses,proto3" json:"addresses,omitempty"` + TopicId uint64 `protobuf:"varint,3,opt,name=topic_id,json=topicId,proto3" json:"topic_id,omitempty"` +} + +func (x *BulkRemoveFromTopicWorkerWhitelistRequest) Reset() { + *x = BulkRemoveFromTopicWorkerWhitelistRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_emissions_v8_tx_proto_msgTypes[69] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *BulkRemoveFromTopicWorkerWhitelistRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*BulkRemoveFromTopicWorkerWhitelistRequest) ProtoMessage() {} + +// Deprecated: Use BulkRemoveFromTopicWorkerWhitelistRequest.ProtoReflect.Descriptor instead. +func (*BulkRemoveFromTopicWorkerWhitelistRequest) Descriptor() ([]byte, []int) { + return file_emissions_v8_tx_proto_rawDescGZIP(), []int{69} +} + +func (x *BulkRemoveFromTopicWorkerWhitelistRequest) GetSender() string { + if x != nil { + return x.Sender + } + return "" +} + +func (x *BulkRemoveFromTopicWorkerWhitelistRequest) GetAddresses() []string { + if x != nil { + return x.Addresses + } + return nil +} + +func (x *BulkRemoveFromTopicWorkerWhitelistRequest) GetTopicId() uint64 { + if x != nil { + return x.TopicId + } + return 0 +} + +type BulkRemoveFromTopicWorkerWhitelistResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields +} + +func (x *BulkRemoveFromTopicWorkerWhitelistResponse) Reset() { + *x = BulkRemoveFromTopicWorkerWhitelistResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_emissions_v8_tx_proto_msgTypes[70] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *BulkRemoveFromTopicWorkerWhitelistResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*BulkRemoveFromTopicWorkerWhitelistResponse) ProtoMessage() {} + +// Deprecated: Use BulkRemoveFromTopicWorkerWhitelistResponse.ProtoReflect.Descriptor instead. +func (*BulkRemoveFromTopicWorkerWhitelistResponse) Descriptor() ([]byte, []int) { + return file_emissions_v8_tx_proto_rawDescGZIP(), []int{70} +} + +type BulkAddToTopicReputerWhitelistRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Sender string `protobuf:"bytes,1,opt,name=sender,proto3" json:"sender,omitempty"` + Addresses []string `protobuf:"bytes,2,rep,name=addresses,proto3" json:"addresses,omitempty"` + TopicId uint64 `protobuf:"varint,3,opt,name=topic_id,json=topicId,proto3" json:"topic_id,omitempty"` +} + +func (x *BulkAddToTopicReputerWhitelistRequest) Reset() { + *x = BulkAddToTopicReputerWhitelistRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_emissions_v8_tx_proto_msgTypes[71] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *BulkAddToTopicReputerWhitelistRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*BulkAddToTopicReputerWhitelistRequest) ProtoMessage() {} + +// Deprecated: Use BulkAddToTopicReputerWhitelistRequest.ProtoReflect.Descriptor instead. +func (*BulkAddToTopicReputerWhitelistRequest) Descriptor() ([]byte, []int) { + return file_emissions_v8_tx_proto_rawDescGZIP(), []int{71} +} + +func (x *BulkAddToTopicReputerWhitelistRequest) GetSender() string { + if x != nil { + return x.Sender + } + return "" +} + +func (x *BulkAddToTopicReputerWhitelistRequest) GetAddresses() []string { + if x != nil { + return x.Addresses + } + return nil +} + +func (x *BulkAddToTopicReputerWhitelistRequest) GetTopicId() uint64 { + if x != nil { + return x.TopicId + } + return 0 +} + +type BulkAddToTopicReputerWhitelistResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields +} + +func (x *BulkAddToTopicReputerWhitelistResponse) Reset() { + *x = BulkAddToTopicReputerWhitelistResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_emissions_v8_tx_proto_msgTypes[72] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *BulkAddToTopicReputerWhitelistResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*BulkAddToTopicReputerWhitelistResponse) ProtoMessage() {} + +// Deprecated: Use BulkAddToTopicReputerWhitelistResponse.ProtoReflect.Descriptor instead. +func (*BulkAddToTopicReputerWhitelistResponse) Descriptor() ([]byte, []int) { + return file_emissions_v8_tx_proto_rawDescGZIP(), []int{72} +} + +type BulkRemoveFromTopicReputerWhitelistRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Sender string `protobuf:"bytes,1,opt,name=sender,proto3" json:"sender,omitempty"` + Addresses []string `protobuf:"bytes,2,rep,name=addresses,proto3" json:"addresses,omitempty"` + TopicId uint64 `protobuf:"varint,3,opt,name=topic_id,json=topicId,proto3" json:"topic_id,omitempty"` +} + +func (x *BulkRemoveFromTopicReputerWhitelistRequest) Reset() { + *x = BulkRemoveFromTopicReputerWhitelistRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_emissions_v8_tx_proto_msgTypes[73] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *BulkRemoveFromTopicReputerWhitelistRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*BulkRemoveFromTopicReputerWhitelistRequest) ProtoMessage() {} + +// Deprecated: Use BulkRemoveFromTopicReputerWhitelistRequest.ProtoReflect.Descriptor instead. +func (*BulkRemoveFromTopicReputerWhitelistRequest) Descriptor() ([]byte, []int) { + return file_emissions_v8_tx_proto_rawDescGZIP(), []int{73} +} + +func (x *BulkRemoveFromTopicReputerWhitelistRequest) GetSender() string { + if x != nil { + return x.Sender + } + return "" +} + +func (x *BulkRemoveFromTopicReputerWhitelistRequest) GetAddresses() []string { + if x != nil { + return x.Addresses + } + return nil +} + +func (x *BulkRemoveFromTopicReputerWhitelistRequest) GetTopicId() uint64 { + if x != nil { + return x.TopicId + } + return 0 +} + +type BulkRemoveFromTopicReputerWhitelistResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields +} + +func (x *BulkRemoveFromTopicReputerWhitelistResponse) Reset() { + *x = BulkRemoveFromTopicReputerWhitelistResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_emissions_v8_tx_proto_msgTypes[74] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *BulkRemoveFromTopicReputerWhitelistResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*BulkRemoveFromTopicReputerWhitelistResponse) ProtoMessage() {} + +// Deprecated: Use BulkRemoveFromTopicReputerWhitelistResponse.ProtoReflect.Descriptor instead. +func (*BulkRemoveFromTopicReputerWhitelistResponse) Descriptor() ([]byte, []int) { + return file_emissions_v8_tx_proto_rawDescGZIP(), []int{74} +} + +type RemoveFromTopicCreatorWhitelistRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Sender string `protobuf:"bytes,1,opt,name=sender,proto3" json:"sender,omitempty"` + Address string `protobuf:"bytes,2,opt,name=address,proto3" json:"address,omitempty"` +} + +func (x *RemoveFromTopicCreatorWhitelistRequest) Reset() { + *x = RemoveFromTopicCreatorWhitelistRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_emissions_v8_tx_proto_msgTypes[75] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *RemoveFromTopicCreatorWhitelistRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*RemoveFromTopicCreatorWhitelistRequest) ProtoMessage() {} + +// Deprecated: Use RemoveFromTopicCreatorWhitelistRequest.ProtoReflect.Descriptor instead. +func (*RemoveFromTopicCreatorWhitelistRequest) Descriptor() ([]byte, []int) { + return file_emissions_v8_tx_proto_rawDescGZIP(), []int{75} +} + +func (x *RemoveFromTopicCreatorWhitelistRequest) GetSender() string { + if x != nil { + return x.Sender + } + return "" +} + +func (x *RemoveFromTopicCreatorWhitelistRequest) GetAddress() string { + if x != nil { + return x.Address + } + return "" +} + +type RemoveFromTopicCreatorWhitelistResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields +} + +func (x *RemoveFromTopicCreatorWhitelistResponse) Reset() { + *x = RemoveFromTopicCreatorWhitelistResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_emissions_v8_tx_proto_msgTypes[76] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *RemoveFromTopicCreatorWhitelistResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*RemoveFromTopicCreatorWhitelistResponse) ProtoMessage() {} + +// Deprecated: Use RemoveFromTopicCreatorWhitelistResponse.ProtoReflect.Descriptor instead. +func (*RemoveFromTopicCreatorWhitelistResponse) Descriptor() ([]byte, []int) { + return file_emissions_v8_tx_proto_rawDescGZIP(), []int{76} +} + +type AddToTopicWorkerWhitelistRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Sender string `protobuf:"bytes,1,opt,name=sender,proto3" json:"sender,omitempty"` + Address string `protobuf:"bytes,2,opt,name=address,proto3" json:"address,omitempty"` + TopicId uint64 `protobuf:"varint,3,opt,name=topic_id,json=topicId,proto3" json:"topic_id,omitempty"` +} + +func (x *AddToTopicWorkerWhitelistRequest) Reset() { + *x = AddToTopicWorkerWhitelistRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_emissions_v8_tx_proto_msgTypes[77] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *AddToTopicWorkerWhitelistRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*AddToTopicWorkerWhitelistRequest) ProtoMessage() {} + +// Deprecated: Use AddToTopicWorkerWhitelistRequest.ProtoReflect.Descriptor instead. +func (*AddToTopicWorkerWhitelistRequest) Descriptor() ([]byte, []int) { + return file_emissions_v8_tx_proto_rawDescGZIP(), []int{77} +} + +func (x *AddToTopicWorkerWhitelistRequest) GetSender() string { + if x != nil { + return x.Sender + } + return "" +} + +func (x *AddToTopicWorkerWhitelistRequest) GetAddress() string { + if x != nil { + return x.Address + } + return "" +} + +func (x *AddToTopicWorkerWhitelistRequest) GetTopicId() uint64 { + if x != nil { + return x.TopicId + } + return 0 +} + +type AddToTopicWorkerWhitelistResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields +} + +func (x *AddToTopicWorkerWhitelistResponse) Reset() { + *x = AddToTopicWorkerWhitelistResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_emissions_v8_tx_proto_msgTypes[78] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *AddToTopicWorkerWhitelistResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*AddToTopicWorkerWhitelistResponse) ProtoMessage() {} + +// Deprecated: Use AddToTopicWorkerWhitelistResponse.ProtoReflect.Descriptor instead. +func (*AddToTopicWorkerWhitelistResponse) Descriptor() ([]byte, []int) { + return file_emissions_v8_tx_proto_rawDescGZIP(), []int{78} +} + +type RemoveFromTopicWorkerWhitelistRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Sender string `protobuf:"bytes,1,opt,name=sender,proto3" json:"sender,omitempty"` + Address string `protobuf:"bytes,2,opt,name=address,proto3" json:"address,omitempty"` + TopicId uint64 `protobuf:"varint,3,opt,name=topic_id,json=topicId,proto3" json:"topic_id,omitempty"` +} + +func (x *RemoveFromTopicWorkerWhitelistRequest) Reset() { + *x = RemoveFromTopicWorkerWhitelistRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_emissions_v8_tx_proto_msgTypes[79] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *RemoveFromTopicWorkerWhitelistRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*RemoveFromTopicWorkerWhitelistRequest) ProtoMessage() {} + +// Deprecated: Use RemoveFromTopicWorkerWhitelistRequest.ProtoReflect.Descriptor instead. +func (*RemoveFromTopicWorkerWhitelistRequest) Descriptor() ([]byte, []int) { + return file_emissions_v8_tx_proto_rawDescGZIP(), []int{79} +} + +func (x *RemoveFromTopicWorkerWhitelistRequest) GetSender() string { + if x != nil { + return x.Sender + } + return "" +} + +func (x *RemoveFromTopicWorkerWhitelistRequest) GetAddress() string { + if x != nil { + return x.Address + } + return "" +} + +func (x *RemoveFromTopicWorkerWhitelistRequest) GetTopicId() uint64 { + if x != nil { + return x.TopicId + } + return 0 +} + +type RemoveFromTopicWorkerWhitelistResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields +} + +func (x *RemoveFromTopicWorkerWhitelistResponse) Reset() { + *x = RemoveFromTopicWorkerWhitelistResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_emissions_v8_tx_proto_msgTypes[80] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *RemoveFromTopicWorkerWhitelistResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*RemoveFromTopicWorkerWhitelistResponse) ProtoMessage() {} + +// Deprecated: Use RemoveFromTopicWorkerWhitelistResponse.ProtoReflect.Descriptor instead. +func (*RemoveFromTopicWorkerWhitelistResponse) Descriptor() ([]byte, []int) { + return file_emissions_v8_tx_proto_rawDescGZIP(), []int{80} +} + +type AddToTopicReputerWhitelistRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Sender string `protobuf:"bytes,1,opt,name=sender,proto3" json:"sender,omitempty"` + Address string `protobuf:"bytes,2,opt,name=address,proto3" json:"address,omitempty"` + TopicId uint64 `protobuf:"varint,3,opt,name=topic_id,json=topicId,proto3" json:"topic_id,omitempty"` +} + +func (x *AddToTopicReputerWhitelistRequest) Reset() { + *x = AddToTopicReputerWhitelistRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_emissions_v8_tx_proto_msgTypes[81] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *AddToTopicReputerWhitelistRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*AddToTopicReputerWhitelistRequest) ProtoMessage() {} + +// Deprecated: Use AddToTopicReputerWhitelistRequest.ProtoReflect.Descriptor instead. +func (*AddToTopicReputerWhitelistRequest) Descriptor() ([]byte, []int) { + return file_emissions_v8_tx_proto_rawDescGZIP(), []int{81} +} + +func (x *AddToTopicReputerWhitelistRequest) GetSender() string { + if x != nil { + return x.Sender + } + return "" +} + +func (x *AddToTopicReputerWhitelistRequest) GetAddress() string { + if x != nil { + return x.Address + } + return "" +} + +func (x *AddToTopicReputerWhitelistRequest) GetTopicId() uint64 { + if x != nil { + return x.TopicId + } + return 0 +} + +type AddToTopicReputerWhitelistResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields +} + +func (x *AddToTopicReputerWhitelistResponse) Reset() { + *x = AddToTopicReputerWhitelistResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_emissions_v8_tx_proto_msgTypes[82] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *AddToTopicReputerWhitelistResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*AddToTopicReputerWhitelistResponse) ProtoMessage() {} + +// Deprecated: Use AddToTopicReputerWhitelistResponse.ProtoReflect.Descriptor instead. +func (*AddToTopicReputerWhitelistResponse) Descriptor() ([]byte, []int) { + return file_emissions_v8_tx_proto_rawDescGZIP(), []int{82} +} + +type RemoveFromTopicReputerWhitelistRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Sender string `protobuf:"bytes,1,opt,name=sender,proto3" json:"sender,omitempty"` + Address string `protobuf:"bytes,2,opt,name=address,proto3" json:"address,omitempty"` + TopicId uint64 `protobuf:"varint,3,opt,name=topic_id,json=topicId,proto3" json:"topic_id,omitempty"` +} + +func (x *RemoveFromTopicReputerWhitelistRequest) Reset() { + *x = RemoveFromTopicReputerWhitelistRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_emissions_v8_tx_proto_msgTypes[83] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *RemoveFromTopicReputerWhitelistRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*RemoveFromTopicReputerWhitelistRequest) ProtoMessage() {} + +// Deprecated: Use RemoveFromTopicReputerWhitelistRequest.ProtoReflect.Descriptor instead. +func (*RemoveFromTopicReputerWhitelistRequest) Descriptor() ([]byte, []int) { + return file_emissions_v8_tx_proto_rawDescGZIP(), []int{83} +} + +func (x *RemoveFromTopicReputerWhitelistRequest) GetSender() string { + if x != nil { + return x.Sender + } + return "" +} + +func (x *RemoveFromTopicReputerWhitelistRequest) GetAddress() string { + if x != nil { + return x.Address + } + return "" +} + +func (x *RemoveFromTopicReputerWhitelistRequest) GetTopicId() uint64 { + if x != nil { + return x.TopicId + } + return 0 +} + +type RemoveFromTopicReputerWhitelistResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields +} + +func (x *RemoveFromTopicReputerWhitelistResponse) Reset() { + *x = RemoveFromTopicReputerWhitelistResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_emissions_v8_tx_proto_msgTypes[84] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *RemoveFromTopicReputerWhitelistResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*RemoveFromTopicReputerWhitelistResponse) ProtoMessage() {} + +// Deprecated: Use RemoveFromTopicReputerWhitelistResponse.ProtoReflect.Descriptor instead. +func (*RemoveFromTopicReputerWhitelistResponse) Descriptor() ([]byte, []int) { + return file_emissions_v8_tx_proto_rawDescGZIP(), []int{84} +} + +var File_emissions_v8_tx_proto protoreflect.FileDescriptor + +var file_emissions_v8_tx_proto_rawDesc = []byte{ + 0x0a, 0x15, 0x65, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x76, 0x38, 0x2f, 0x74, + 0x78, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x0c, 0x65, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, + 0x6e, 0x73, 0x2e, 0x76, 0x38, 0x1a, 0x11, 0x61, 0x6d, 0x69, 0x6e, 0x6f, 0x2f, 0x61, 0x6d, 0x69, + 0x6e, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x17, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, + 0x2f, 0x6d, 0x73, 0x67, 0x2f, 0x76, 0x31, 0x2f, 0x6d, 0x73, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x1a, 0x19, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x5f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, + 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1a, 0x65, 0x6d, + 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x76, 0x33, 0x2f, 0x72, 0x65, 0x70, 0x75, 0x74, + 0x65, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x19, 0x65, 0x6d, 0x69, 0x73, 0x73, 0x69, + 0x6f, 0x6e, 0x73, 0x2f, 0x76, 0x33, 0x2f, 0x77, 0x6f, 0x72, 0x6b, 0x65, 0x72, 0x2e, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x1a, 0x14, 0x67, 0x6f, 0x67, 0x6f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67, + 0x6f, 0x67, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xbc, 0x25, 0x0a, 0x0e, 0x4f, 0x70, + 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x12, 0x18, 0x0a, 0x07, + 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x03, 0x28, 0x09, 0x52, 0x07, 0x76, + 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x39, 0x0a, 0x19, 0x6d, 0x61, 0x78, 0x5f, 0x73, 0x65, + 0x72, 0x69, 0x61, 0x6c, 0x69, 0x7a, 0x65, 0x64, 0x5f, 0x6d, 0x73, 0x67, 0x5f, 0x6c, 0x65, 0x6e, + 0x67, 0x74, 0x68, 0x18, 0x02, 0x20, 0x03, 0x28, 0x03, 0x52, 0x16, 0x6d, 0x61, 0x78, 0x53, 0x65, + 0x72, 0x69, 0x61, 0x6c, 0x69, 0x7a, 0x65, 0x64, 0x4d, 0x73, 0x67, 0x4c, 0x65, 0x6e, 0x67, 0x74, + 0x68, 0x12, 0x61, 0x0a, 0x10, 0x6d, 0x69, 0x6e, 0x5f, 0x74, 0x6f, 0x70, 0x69, 0x63, 0x5f, 0x77, + 0x65, 0x69, 0x67, 0x68, 0x74, 0x18, 0x03, 0x20, 0x03, 0x28, 0x09, 0x42, 0x37, 0xc8, 0xde, 0x1f, + 0x00, 0xda, 0xde, 0x1f, 0x2f, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, + 0x61, 0x6c, 0x6c, 0x6f, 0x72, 0x61, 0x2d, 0x6e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x2f, 0x61, + 0x6c, 0x6c, 0x6f, 0x72, 0x61, 0x2d, 0x63, 0x68, 0x61, 0x69, 0x6e, 0x2f, 0x6d, 0x61, 0x74, 0x68, + 0x2e, 0x44, 0x65, 0x63, 0x52, 0x0e, 0x6d, 0x69, 0x6e, 0x54, 0x6f, 0x70, 0x69, 0x63, 0x57, 0x65, + 0x69, 0x67, 0x68, 0x74, 0x12, 0x66, 0x0a, 0x16, 0x72, 0x65, 0x71, 0x75, 0x69, 0x72, 0x65, 0x64, + 0x5f, 0x6d, 0x69, 0x6e, 0x69, 0x6d, 0x75, 0x6d, 0x5f, 0x73, 0x74, 0x61, 0x6b, 0x65, 0x18, 0x05, + 0x20, 0x03, 0x28, 0x09, 0x42, 0x30, 0xc8, 0xde, 0x1f, 0x00, 0xda, 0xde, 0x1f, 0x15, 0x63, 0x6f, + 0x73, 0x6d, 0x6f, 0x73, 0x73, 0x64, 0x6b, 0x2e, 0x69, 0x6f, 0x2f, 0x6d, 0x61, 0x74, 0x68, 0x2e, + 0x49, 0x6e, 0x74, 0xd2, 0xb4, 0x2d, 0x0a, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2e, 0x49, 0x6e, + 0x74, 0xa8, 0xe7, 0xb0, 0x2a, 0x01, 0x52, 0x14, 0x72, 0x65, 0x71, 0x75, 0x69, 0x72, 0x65, 0x64, + 0x4d, 0x69, 0x6e, 0x69, 0x6d, 0x75, 0x6d, 0x53, 0x74, 0x61, 0x6b, 0x65, 0x12, 0x39, 0x0a, 0x19, + 0x72, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x5f, 0x73, 0x74, 0x61, 0x6b, 0x65, 0x5f, 0x64, 0x65, 0x6c, + 0x61, 0x79, 0x5f, 0x77, 0x69, 0x6e, 0x64, 0x6f, 0x77, 0x18, 0x06, 0x20, 0x03, 0x28, 0x03, 0x52, + 0x16, 0x72, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x53, 0x74, 0x61, 0x6b, 0x65, 0x44, 0x65, 0x6c, 0x61, + 0x79, 0x57, 0x69, 0x6e, 0x64, 0x6f, 0x77, 0x12, 0x28, 0x0a, 0x10, 0x6d, 0x69, 0x6e, 0x5f, 0x65, + 0x70, 0x6f, 0x63, 0x68, 0x5f, 0x6c, 0x65, 0x6e, 0x67, 0x74, 0x68, 0x18, 0x07, 0x20, 0x03, 0x28, + 0x03, 0x52, 0x0e, 0x6d, 0x69, 0x6e, 0x45, 0x70, 0x6f, 0x63, 0x68, 0x4c, 0x65, 0x6e, 0x67, 0x74, + 0x68, 0x12, 0x5a, 0x0a, 0x0c, 0x62, 0x65, 0x74, 0x61, 0x5f, 0x65, 0x6e, 0x74, 0x72, 0x6f, 0x70, + 0x79, 0x18, 0x08, 0x20, 0x03, 0x28, 0x09, 0x42, 0x37, 0xc8, 0xde, 0x1f, 0x00, 0xda, 0xde, 0x1f, + 0x2f, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x61, 0x6c, 0x6c, 0x6f, + 0x72, 0x61, 0x2d, 0x6e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x2f, 0x61, 0x6c, 0x6c, 0x6f, 0x72, + 0x61, 0x2d, 0x63, 0x68, 0x61, 0x69, 0x6e, 0x2f, 0x6d, 0x61, 0x74, 0x68, 0x2e, 0x44, 0x65, 0x63, + 0x52, 0x0b, 0x62, 0x65, 0x74, 0x61, 0x45, 0x6e, 0x74, 0x72, 0x6f, 0x70, 0x79, 0x12, 0x5c, 0x0a, + 0x0d, 0x6c, 0x65, 0x61, 0x72, 0x6e, 0x69, 0x6e, 0x67, 0x5f, 0x72, 0x61, 0x74, 0x65, 0x18, 0x09, + 0x20, 0x03, 0x28, 0x09, 0x42, 0x37, 0xc8, 0xde, 0x1f, 0x00, 0xda, 0xde, 0x1f, 0x2f, 0x67, 0x69, + 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x61, 0x6c, 0x6c, 0x6f, 0x72, 0x61, 0x2d, + 0x6e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x2f, 0x61, 0x6c, 0x6c, 0x6f, 0x72, 0x61, 0x2d, 0x63, + 0x68, 0x61, 0x69, 0x6e, 0x2f, 0x6d, 0x61, 0x74, 0x68, 0x2e, 0x44, 0x65, 0x63, 0x52, 0x0c, 0x6c, + 0x65, 0x61, 0x72, 0x6e, 0x69, 0x6e, 0x67, 0x52, 0x61, 0x74, 0x65, 0x12, 0x6d, 0x0a, 0x16, 0x6d, + 0x61, 0x78, 0x5f, 0x67, 0x72, 0x61, 0x64, 0x69, 0x65, 0x6e, 0x74, 0x5f, 0x74, 0x68, 0x72, 0x65, + 0x73, 0x68, 0x6f, 0x6c, 0x64, 0x18, 0x0a, 0x20, 0x03, 0x28, 0x09, 0x42, 0x37, 0xc8, 0xde, 0x1f, + 0x00, 0xda, 0xde, 0x1f, 0x2f, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, + 0x61, 0x6c, 0x6c, 0x6f, 0x72, 0x61, 0x2d, 0x6e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x2f, 0x61, + 0x6c, 0x6c, 0x6f, 0x72, 0x61, 0x2d, 0x63, 0x68, 0x61, 0x69, 0x6e, 0x2f, 0x6d, 0x61, 0x74, 0x68, + 0x2e, 0x44, 0x65, 0x63, 0x52, 0x14, 0x6d, 0x61, 0x78, 0x47, 0x72, 0x61, 0x64, 0x69, 0x65, 0x6e, + 0x74, 0x54, 0x68, 0x72, 0x65, 0x73, 0x68, 0x6f, 0x6c, 0x64, 0x12, 0x65, 0x0a, 0x12, 0x6d, 0x69, + 0x6e, 0x5f, 0x73, 0x74, 0x61, 0x6b, 0x65, 0x5f, 0x66, 0x72, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, + 0x18, 0x0b, 0x20, 0x03, 0x28, 0x09, 0x42, 0x37, 0xc8, 0xde, 0x1f, 0x00, 0xda, 0xde, 0x1f, 0x2f, + 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x61, 0x6c, 0x6c, 0x6f, 0x72, + 0x61, 0x2d, 0x6e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x2f, 0x61, 0x6c, 0x6c, 0x6f, 0x72, 0x61, + 0x2d, 0x63, 0x68, 0x61, 0x69, 0x6e, 0x2f, 0x6d, 0x61, 0x74, 0x68, 0x2e, 0x44, 0x65, 0x63, 0x52, + 0x10, 0x6d, 0x69, 0x6e, 0x53, 0x74, 0x61, 0x6b, 0x65, 0x46, 0x72, 0x61, 0x63, 0x74, 0x69, 0x6f, + 0x6e, 0x12, 0x45, 0x0a, 0x1f, 0x6d, 0x61, 0x78, 0x5f, 0x75, 0x6e, 0x66, 0x75, 0x6c, 0x66, 0x69, + 0x6c, 0x6c, 0x65, 0x64, 0x5f, 0x77, 0x6f, 0x72, 0x6b, 0x65, 0x72, 0x5f, 0x72, 0x65, 0x71, 0x75, + 0x65, 0x73, 0x74, 0x73, 0x18, 0x0d, 0x20, 0x03, 0x28, 0x04, 0x52, 0x1c, 0x6d, 0x61, 0x78, 0x55, + 0x6e, 0x66, 0x75, 0x6c, 0x66, 0x69, 0x6c, 0x6c, 0x65, 0x64, 0x57, 0x6f, 0x72, 0x6b, 0x65, 0x72, + 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x73, 0x12, 0x47, 0x0a, 0x20, 0x6d, 0x61, 0x78, 0x5f, + 0x75, 0x6e, 0x66, 0x75, 0x6c, 0x66, 0x69, 0x6c, 0x6c, 0x65, 0x64, 0x5f, 0x72, 0x65, 0x70, 0x75, + 0x74, 0x65, 0x72, 0x5f, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x73, 0x18, 0x0e, 0x20, 0x03, + 0x28, 0x04, 0x52, 0x1d, 0x6d, 0x61, 0x78, 0x55, 0x6e, 0x66, 0x75, 0x6c, 0x66, 0x69, 0x6c, 0x6c, + 0x65, 0x64, 0x52, 0x65, 0x70, 0x75, 0x74, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, + 0x73, 0x12, 0x7a, 0x0a, 0x1d, 0x74, 0x6f, 0x70, 0x69, 0x63, 0x5f, 0x72, 0x65, 0x77, 0x61, 0x72, + 0x64, 0x5f, 0x73, 0x74, 0x61, 0x6b, 0x65, 0x5f, 0x69, 0x6d, 0x70, 0x6f, 0x72, 0x74, 0x61, 0x6e, + 0x63, 0x65, 0x18, 0x0f, 0x20, 0x03, 0x28, 0x09, 0x42, 0x37, 0xc8, 0xde, 0x1f, 0x00, 0xda, 0xde, + 0x1f, 0x2f, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x61, 0x6c, 0x6c, + 0x6f, 0x72, 0x61, 0x2d, 0x6e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x2f, 0x61, 0x6c, 0x6c, 0x6f, + 0x72, 0x61, 0x2d, 0x63, 0x68, 0x61, 0x69, 0x6e, 0x2f, 0x6d, 0x61, 0x74, 0x68, 0x2e, 0x44, 0x65, + 0x63, 0x52, 0x1a, 0x74, 0x6f, 0x70, 0x69, 0x63, 0x52, 0x65, 0x77, 0x61, 0x72, 0x64, 0x53, 0x74, + 0x61, 0x6b, 0x65, 0x49, 0x6d, 0x70, 0x6f, 0x72, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x12, 0x85, 0x01, + 0x0a, 0x23, 0x74, 0x6f, 0x70, 0x69, 0x63, 0x5f, 0x72, 0x65, 0x77, 0x61, 0x72, 0x64, 0x5f, 0x66, + 0x65, 0x65, 0x5f, 0x72, 0x65, 0x76, 0x65, 0x6e, 0x75, 0x65, 0x5f, 0x69, 0x6d, 0x70, 0x6f, 0x72, + 0x74, 0x61, 0x6e, 0x63, 0x65, 0x18, 0x10, 0x20, 0x03, 0x28, 0x09, 0x42, 0x37, 0xc8, 0xde, 0x1f, + 0x00, 0xda, 0xde, 0x1f, 0x2f, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, + 0x61, 0x6c, 0x6c, 0x6f, 0x72, 0x61, 0x2d, 0x6e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x2f, 0x61, + 0x6c, 0x6c, 0x6f, 0x72, 0x61, 0x2d, 0x63, 0x68, 0x61, 0x69, 0x6e, 0x2f, 0x6d, 0x61, 0x74, 0x68, + 0x2e, 0x44, 0x65, 0x63, 0x52, 0x1f, 0x74, 0x6f, 0x70, 0x69, 0x63, 0x52, 0x65, 0x77, 0x61, 0x72, + 0x64, 0x46, 0x65, 0x65, 0x52, 0x65, 0x76, 0x65, 0x6e, 0x75, 0x65, 0x49, 0x6d, 0x70, 0x6f, 0x72, + 0x74, 0x61, 0x6e, 0x63, 0x65, 0x12, 0x65, 0x0a, 0x12, 0x74, 0x6f, 0x70, 0x69, 0x63, 0x5f, 0x72, + 0x65, 0x77, 0x61, 0x72, 0x64, 0x5f, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x18, 0x11, 0x20, 0x03, 0x28, + 0x09, 0x42, 0x37, 0xc8, 0xde, 0x1f, 0x00, 0xda, 0xde, 0x1f, 0x2f, 0x67, 0x69, 0x74, 0x68, 0x75, + 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x61, 0x6c, 0x6c, 0x6f, 0x72, 0x61, 0x2d, 0x6e, 0x65, 0x74, + 0x77, 0x6f, 0x72, 0x6b, 0x2f, 0x61, 0x6c, 0x6c, 0x6f, 0x72, 0x61, 0x2d, 0x63, 0x68, 0x61, 0x69, + 0x6e, 0x2f, 0x6d, 0x61, 0x74, 0x68, 0x2e, 0x44, 0x65, 0x63, 0x52, 0x10, 0x74, 0x6f, 0x70, 0x69, + 0x63, 0x52, 0x65, 0x77, 0x61, 0x72, 0x64, 0x41, 0x6c, 0x70, 0x68, 0x61, 0x12, 0x63, 0x0a, 0x11, + 0x74, 0x61, 0x73, 0x6b, 0x5f, 0x72, 0x65, 0x77, 0x61, 0x72, 0x64, 0x5f, 0x61, 0x6c, 0x70, 0x68, + 0x61, 0x18, 0x12, 0x20, 0x03, 0x28, 0x09, 0x42, 0x37, 0xc8, 0xde, 0x1f, 0x00, 0xda, 0xde, 0x1f, + 0x2f, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x61, 0x6c, 0x6c, 0x6f, + 0x72, 0x61, 0x2d, 0x6e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x2f, 0x61, 0x6c, 0x6c, 0x6f, 0x72, + 0x61, 0x2d, 0x63, 0x68, 0x61, 0x69, 0x6e, 0x2f, 0x6d, 0x61, 0x74, 0x68, 0x2e, 0x44, 0x65, 0x63, + 0x52, 0x0f, 0x74, 0x61, 0x73, 0x6b, 0x52, 0x65, 0x77, 0x61, 0x72, 0x64, 0x41, 0x6c, 0x70, 0x68, + 0x61, 0x12, 0x85, 0x01, 0x0a, 0x23, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x6f, 0x72, 0x73, + 0x5f, 0x76, 0x73, 0x5f, 0x61, 0x6c, 0x6c, 0x6f, 0x72, 0x61, 0x5f, 0x70, 0x65, 0x72, 0x63, 0x65, + 0x6e, 0x74, 0x5f, 0x72, 0x65, 0x77, 0x61, 0x72, 0x64, 0x18, 0x13, 0x20, 0x03, 0x28, 0x09, 0x42, + 0x37, 0xc8, 0xde, 0x1f, 0x00, 0xda, 0xde, 0x1f, 0x2f, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, + 0x63, 0x6f, 0x6d, 0x2f, 0x61, 0x6c, 0x6c, 0x6f, 0x72, 0x61, 0x2d, 0x6e, 0x65, 0x74, 0x77, 0x6f, + 0x72, 0x6b, 0x2f, 0x61, 0x6c, 0x6c, 0x6f, 0x72, 0x61, 0x2d, 0x63, 0x68, 0x61, 0x69, 0x6e, 0x2f, + 0x6d, 0x61, 0x74, 0x68, 0x2e, 0x44, 0x65, 0x63, 0x52, 0x1f, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, + 0x74, 0x6f, 0x72, 0x73, 0x56, 0x73, 0x41, 0x6c, 0x6c, 0x6f, 0x72, 0x61, 0x50, 0x65, 0x72, 0x63, + 0x65, 0x6e, 0x74, 0x52, 0x65, 0x77, 0x61, 0x72, 0x64, 0x12, 0x3c, 0x0a, 0x1b, 0x6d, 0x61, 0x78, + 0x5f, 0x73, 0x61, 0x6d, 0x70, 0x6c, 0x65, 0x73, 0x5f, 0x74, 0x6f, 0x5f, 0x73, 0x63, 0x61, 0x6c, + 0x65, 0x5f, 0x73, 0x63, 0x6f, 0x72, 0x65, 0x73, 0x18, 0x14, 0x20, 0x03, 0x28, 0x04, 0x52, 0x17, + 0x6d, 0x61, 0x78, 0x53, 0x61, 0x6d, 0x70, 0x6c, 0x65, 0x73, 0x54, 0x6f, 0x53, 0x63, 0x61, 0x6c, + 0x65, 0x53, 0x63, 0x6f, 0x72, 0x65, 0x73, 0x12, 0x3a, 0x0a, 0x1a, 0x6d, 0x61, 0x78, 0x5f, 0x74, + 0x6f, 0x70, 0x5f, 0x69, 0x6e, 0x66, 0x65, 0x72, 0x65, 0x72, 0x73, 0x5f, 0x74, 0x6f, 0x5f, 0x72, + 0x65, 0x77, 0x61, 0x72, 0x64, 0x18, 0x15, 0x20, 0x03, 0x28, 0x04, 0x52, 0x16, 0x6d, 0x61, 0x78, + 0x54, 0x6f, 0x70, 0x49, 0x6e, 0x66, 0x65, 0x72, 0x65, 0x72, 0x73, 0x54, 0x6f, 0x52, 0x65, 0x77, + 0x61, 0x72, 0x64, 0x12, 0x40, 0x0a, 0x1d, 0x6d, 0x61, 0x78, 0x5f, 0x74, 0x6f, 0x70, 0x5f, 0x66, + 0x6f, 0x72, 0x65, 0x63, 0x61, 0x73, 0x74, 0x65, 0x72, 0x73, 0x5f, 0x74, 0x6f, 0x5f, 0x72, 0x65, + 0x77, 0x61, 0x72, 0x64, 0x18, 0x16, 0x20, 0x03, 0x28, 0x04, 0x52, 0x19, 0x6d, 0x61, 0x78, 0x54, + 0x6f, 0x70, 0x46, 0x6f, 0x72, 0x65, 0x63, 0x61, 0x73, 0x74, 0x65, 0x72, 0x73, 0x54, 0x6f, 0x52, + 0x65, 0x77, 0x61, 0x72, 0x64, 0x12, 0x3a, 0x0a, 0x1a, 0x6d, 0x61, 0x78, 0x5f, 0x74, 0x6f, 0x70, + 0x5f, 0x72, 0x65, 0x70, 0x75, 0x74, 0x65, 0x72, 0x73, 0x5f, 0x74, 0x6f, 0x5f, 0x72, 0x65, 0x77, + 0x61, 0x72, 0x64, 0x18, 0x17, 0x20, 0x03, 0x28, 0x04, 0x52, 0x16, 0x6d, 0x61, 0x78, 0x54, 0x6f, + 0x70, 0x52, 0x65, 0x70, 0x75, 0x74, 0x65, 0x72, 0x73, 0x54, 0x6f, 0x52, 0x65, 0x77, 0x61, 0x72, + 0x64, 0x12, 0x5a, 0x0a, 0x10, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x5f, 0x74, 0x6f, 0x70, 0x69, + 0x63, 0x5f, 0x66, 0x65, 0x65, 0x18, 0x18, 0x20, 0x03, 0x28, 0x09, 0x42, 0x30, 0xc8, 0xde, 0x1f, + 0x00, 0xda, 0xde, 0x1f, 0x15, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x73, 0x64, 0x6b, 0x2e, 0x69, + 0x6f, 0x2f, 0x6d, 0x61, 0x74, 0x68, 0x2e, 0x49, 0x6e, 0x74, 0xd2, 0xb4, 0x2d, 0x0a, 0x63, 0x6f, + 0x73, 0x6d, 0x6f, 0x73, 0x2e, 0x49, 0x6e, 0x74, 0xa8, 0xe7, 0xb0, 0x2a, 0x01, 0x52, 0x0e, 0x63, + 0x72, 0x65, 0x61, 0x74, 0x65, 0x54, 0x6f, 0x70, 0x69, 0x63, 0x46, 0x65, 0x65, 0x12, 0x3b, 0x0a, + 0x1a, 0x67, 0x72, 0x61, 0x64, 0x69, 0x65, 0x6e, 0x74, 0x5f, 0x64, 0x65, 0x73, 0x63, 0x65, 0x6e, + 0x74, 0x5f, 0x6d, 0x61, 0x78, 0x5f, 0x69, 0x74, 0x65, 0x72, 0x73, 0x18, 0x19, 0x20, 0x03, 0x28, + 0x04, 0x52, 0x17, 0x67, 0x72, 0x61, 0x64, 0x69, 0x65, 0x6e, 0x74, 0x44, 0x65, 0x73, 0x63, 0x65, + 0x6e, 0x74, 0x4d, 0x61, 0x78, 0x49, 0x74, 0x65, 0x72, 0x73, 0x12, 0x5b, 0x0a, 0x10, 0x72, 0x65, + 0x67, 0x69, 0x73, 0x74, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x66, 0x65, 0x65, 0x18, 0x1c, + 0x20, 0x03, 0x28, 0x09, 0x42, 0x30, 0xc8, 0xde, 0x1f, 0x00, 0xda, 0xde, 0x1f, 0x15, 0x63, 0x6f, + 0x73, 0x6d, 0x6f, 0x73, 0x73, 0x64, 0x6b, 0x2e, 0x69, 0x6f, 0x2f, 0x6d, 0x61, 0x74, 0x68, 0x2e, + 0x49, 0x6e, 0x74, 0xd2, 0xb4, 0x2d, 0x0a, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2e, 0x49, 0x6e, + 0x74, 0xa8, 0xe7, 0xb0, 0x2a, 0x01, 0x52, 0x0f, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x61, + 0x74, 0x69, 0x6f, 0x6e, 0x46, 0x65, 0x65, 0x12, 0x2c, 0x0a, 0x12, 0x64, 0x65, 0x66, 0x61, 0x75, + 0x6c, 0x74, 0x5f, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x18, 0x1d, 0x20, + 0x03, 0x28, 0x04, 0x52, 0x10, 0x64, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x50, 0x61, 0x67, 0x65, + 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x12, 0x24, 0x0a, 0x0e, 0x6d, 0x61, 0x78, 0x5f, 0x70, 0x61, 0x67, + 0x65, 0x5f, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x18, 0x1e, 0x20, 0x03, 0x28, 0x04, 0x52, 0x0c, 0x6d, + 0x61, 0x78, 0x50, 0x61, 0x67, 0x65, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x12, 0x40, 0x0a, 0x1d, 0x6d, + 0x69, 0x6e, 0x5f, 0x65, 0x70, 0x6f, 0x63, 0x68, 0x5f, 0x6c, 0x65, 0x6e, 0x67, 0x74, 0x68, 0x5f, + 0x72, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x5f, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x18, 0x1f, 0x20, 0x03, + 0x28, 0x03, 0x52, 0x19, 0x6d, 0x69, 0x6e, 0x45, 0x70, 0x6f, 0x63, 0x68, 0x4c, 0x65, 0x6e, 0x67, + 0x74, 0x68, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x12, 0x28, 0x0a, + 0x10, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x73, 0x5f, 0x70, 0x65, 0x72, 0x5f, 0x6d, 0x6f, 0x6e, 0x74, + 0x68, 0x18, 0x20, 0x20, 0x03, 0x28, 0x04, 0x52, 0x0e, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x73, 0x50, + 0x65, 0x72, 0x4d, 0x6f, 0x6e, 0x74, 0x68, 0x12, 0x65, 0x0a, 0x12, 0x70, 0x5f, 0x72, 0x65, 0x77, + 0x61, 0x72, 0x64, 0x5f, 0x69, 0x6e, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x18, 0x21, 0x20, + 0x03, 0x28, 0x09, 0x42, 0x37, 0xc8, 0xde, 0x1f, 0x00, 0xda, 0xde, 0x1f, 0x2f, 0x67, 0x69, 0x74, + 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x61, 0x6c, 0x6c, 0x6f, 0x72, 0x61, 0x2d, 0x6e, + 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x2f, 0x61, 0x6c, 0x6c, 0x6f, 0x72, 0x61, 0x2d, 0x63, 0x68, + 0x61, 0x69, 0x6e, 0x2f, 0x6d, 0x61, 0x74, 0x68, 0x2e, 0x44, 0x65, 0x63, 0x52, 0x10, 0x70, 0x52, + 0x65, 0x77, 0x61, 0x72, 0x64, 0x49, 0x6e, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x12, 0x63, + 0x0a, 0x11, 0x70, 0x5f, 0x72, 0x65, 0x77, 0x61, 0x72, 0x64, 0x5f, 0x66, 0x6f, 0x72, 0x65, 0x63, + 0x61, 0x73, 0x74, 0x18, 0x22, 0x20, 0x03, 0x28, 0x09, 0x42, 0x37, 0xc8, 0xde, 0x1f, 0x00, 0xda, + 0xde, 0x1f, 0x2f, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x61, 0x6c, + 0x6c, 0x6f, 0x72, 0x61, 0x2d, 0x6e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x2f, 0x61, 0x6c, 0x6c, + 0x6f, 0x72, 0x61, 0x2d, 0x63, 0x68, 0x61, 0x69, 0x6e, 0x2f, 0x6d, 0x61, 0x74, 0x68, 0x2e, 0x44, + 0x65, 0x63, 0x52, 0x0f, 0x70, 0x52, 0x65, 0x77, 0x61, 0x72, 0x64, 0x46, 0x6f, 0x72, 0x65, 0x63, + 0x61, 0x73, 0x74, 0x12, 0x61, 0x0a, 0x10, 0x70, 0x5f, 0x72, 0x65, 0x77, 0x61, 0x72, 0x64, 0x5f, + 0x72, 0x65, 0x70, 0x75, 0x74, 0x65, 0x72, 0x18, 0x23, 0x20, 0x03, 0x28, 0x09, 0x42, 0x37, 0xc8, + 0xde, 0x1f, 0x00, 0xda, 0xde, 0x1f, 0x2f, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, + 0x6d, 0x2f, 0x61, 0x6c, 0x6c, 0x6f, 0x72, 0x61, 0x2d, 0x6e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, + 0x2f, 0x61, 0x6c, 0x6c, 0x6f, 0x72, 0x61, 0x2d, 0x63, 0x68, 0x61, 0x69, 0x6e, 0x2f, 0x6d, 0x61, + 0x74, 0x68, 0x2e, 0x44, 0x65, 0x63, 0x52, 0x0e, 0x70, 0x52, 0x65, 0x77, 0x61, 0x72, 0x64, 0x52, + 0x65, 0x70, 0x75, 0x74, 0x65, 0x72, 0x12, 0x65, 0x0a, 0x12, 0x63, 0x5f, 0x72, 0x65, 0x77, 0x61, + 0x72, 0x64, 0x5f, 0x69, 0x6e, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x18, 0x24, 0x20, 0x03, + 0x28, 0x09, 0x42, 0x37, 0xc8, 0xde, 0x1f, 0x00, 0xda, 0xde, 0x1f, 0x2f, 0x67, 0x69, 0x74, 0x68, + 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x61, 0x6c, 0x6c, 0x6f, 0x72, 0x61, 0x2d, 0x6e, 0x65, + 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x2f, 0x61, 0x6c, 0x6c, 0x6f, 0x72, 0x61, 0x2d, 0x63, 0x68, 0x61, + 0x69, 0x6e, 0x2f, 0x6d, 0x61, 0x74, 0x68, 0x2e, 0x44, 0x65, 0x63, 0x52, 0x10, 0x63, 0x52, 0x65, + 0x77, 0x61, 0x72, 0x64, 0x49, 0x6e, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x12, 0x63, 0x0a, + 0x11, 0x63, 0x5f, 0x72, 0x65, 0x77, 0x61, 0x72, 0x64, 0x5f, 0x66, 0x6f, 0x72, 0x65, 0x63, 0x61, + 0x73, 0x74, 0x18, 0x25, 0x20, 0x03, 0x28, 0x09, 0x42, 0x37, 0xc8, 0xde, 0x1f, 0x00, 0xda, 0xde, + 0x1f, 0x2f, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x61, 0x6c, 0x6c, + 0x6f, 0x72, 0x61, 0x2d, 0x6e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x2f, 0x61, 0x6c, 0x6c, 0x6f, + 0x72, 0x61, 0x2d, 0x63, 0x68, 0x61, 0x69, 0x6e, 0x2f, 0x6d, 0x61, 0x74, 0x68, 0x2e, 0x44, 0x65, + 0x63, 0x52, 0x0f, 0x63, 0x52, 0x65, 0x77, 0x61, 0x72, 0x64, 0x46, 0x6f, 0x72, 0x65, 0x63, 0x61, + 0x73, 0x74, 0x12, 0x4e, 0x0a, 0x06, 0x63, 0x5f, 0x6e, 0x6f, 0x72, 0x6d, 0x18, 0x26, 0x20, 0x03, + 0x28, 0x09, 0x42, 0x37, 0xc8, 0xde, 0x1f, 0x00, 0xda, 0xde, 0x1f, 0x2f, 0x67, 0x69, 0x74, 0x68, + 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x61, 0x6c, 0x6c, 0x6f, 0x72, 0x61, 0x2d, 0x6e, 0x65, + 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x2f, 0x61, 0x6c, 0x6c, 0x6f, 0x72, 0x61, 0x2d, 0x63, 0x68, 0x61, + 0x69, 0x6e, 0x2f, 0x6d, 0x61, 0x74, 0x68, 0x2e, 0x44, 0x65, 0x63, 0x52, 0x05, 0x63, 0x4e, 0x6f, + 0x72, 0x6d, 0x12, 0x60, 0x0a, 0x0f, 0x65, 0x70, 0x73, 0x69, 0x6c, 0x6f, 0x6e, 0x5f, 0x72, 0x65, + 0x70, 0x75, 0x74, 0x65, 0x72, 0x18, 0x28, 0x20, 0x03, 0x28, 0x09, 0x42, 0x37, 0xc8, 0xde, 0x1f, + 0x00, 0xda, 0xde, 0x1f, 0x2f, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, + 0x61, 0x6c, 0x6c, 0x6f, 0x72, 0x61, 0x2d, 0x6e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x2f, 0x61, + 0x6c, 0x6c, 0x6f, 0x72, 0x61, 0x2d, 0x63, 0x68, 0x61, 0x69, 0x6e, 0x2f, 0x6d, 0x61, 0x74, 0x68, + 0x2e, 0x44, 0x65, 0x63, 0x52, 0x0e, 0x65, 0x70, 0x73, 0x69, 0x6c, 0x6f, 0x6e, 0x52, 0x65, 0x70, + 0x75, 0x74, 0x65, 0x72, 0x12, 0x56, 0x0a, 0x29, 0x68, 0x61, 0x6c, 0x66, 0x5f, 0x6d, 0x61, 0x78, + 0x5f, 0x70, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x5f, 0x73, 0x74, 0x61, 0x6b, 0x65, 0x5f, 0x72, + 0x65, 0x6d, 0x6f, 0x76, 0x61, 0x6c, 0x73, 0x5f, 0x65, 0x6e, 0x64, 0x5f, 0x62, 0x6c, 0x6f, 0x63, + 0x6b, 0x18, 0x2a, 0x20, 0x03, 0x28, 0x04, 0x52, 0x23, 0x68, 0x61, 0x6c, 0x66, 0x4d, 0x61, 0x78, + 0x50, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x53, 0x74, 0x61, 0x6b, 0x65, 0x52, 0x65, 0x6d, 0x6f, + 0x76, 0x61, 0x6c, 0x73, 0x45, 0x6e, 0x64, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x12, 0x5a, 0x0a, 0x10, + 0x64, 0x61, 0x74, 0x61, 0x5f, 0x73, 0x65, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x5f, 0x66, 0x65, 0x65, + 0x18, 0x2b, 0x20, 0x03, 0x28, 0x09, 0x42, 0x30, 0xc8, 0xde, 0x1f, 0x00, 0xda, 0xde, 0x1f, 0x15, + 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x73, 0x64, 0x6b, 0x2e, 0x69, 0x6f, 0x2f, 0x6d, 0x61, 0x74, + 0x68, 0x2e, 0x49, 0x6e, 0x74, 0xd2, 0xb4, 0x2d, 0x0a, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2e, + 0x49, 0x6e, 0x74, 0xa8, 0xe7, 0xb0, 0x2a, 0x01, 0x52, 0x0e, 0x64, 0x61, 0x74, 0x61, 0x53, 0x65, + 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x46, 0x65, 0x65, 0x12, 0x61, 0x0a, 0x10, 0x65, 0x70, 0x73, 0x69, + 0x6c, 0x6f, 0x6e, 0x5f, 0x73, 0x61, 0x66, 0x65, 0x5f, 0x64, 0x69, 0x76, 0x18, 0x2c, 0x20, 0x03, + 0x28, 0x09, 0x42, 0x37, 0xc8, 0xde, 0x1f, 0x00, 0xda, 0xde, 0x1f, 0x2f, 0x67, 0x69, 0x74, 0x68, + 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x61, 0x6c, 0x6c, 0x6f, 0x72, 0x61, 0x2d, 0x6e, 0x65, + 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x2f, 0x61, 0x6c, 0x6c, 0x6f, 0x72, 0x61, 0x2d, 0x63, 0x68, 0x61, + 0x69, 0x6e, 0x2f, 0x6d, 0x61, 0x74, 0x68, 0x2e, 0x44, 0x65, 0x63, 0x52, 0x0e, 0x65, 0x70, 0x73, + 0x69, 0x6c, 0x6f, 0x6e, 0x53, 0x61, 0x66, 0x65, 0x44, 0x69, 0x76, 0x12, 0x39, 0x0a, 0x19, 0x6d, + 0x61, 0x78, 0x5f, 0x65, 0x6c, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x5f, 0x70, 0x65, 0x72, 0x5f, + 0x66, 0x6f, 0x72, 0x65, 0x63, 0x61, 0x73, 0x74, 0x18, 0x2d, 0x20, 0x03, 0x28, 0x04, 0x52, 0x16, + 0x6d, 0x61, 0x78, 0x45, 0x6c, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x50, 0x65, 0x72, 0x46, 0x6f, + 0x72, 0x65, 0x63, 0x61, 0x73, 0x74, 0x12, 0x3c, 0x0a, 0x1b, 0x6d, 0x61, 0x78, 0x5f, 0x61, 0x63, + 0x74, 0x69, 0x76, 0x65, 0x5f, 0x74, 0x6f, 0x70, 0x69, 0x63, 0x73, 0x5f, 0x70, 0x65, 0x72, 0x5f, + 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x18, 0x2e, 0x20, 0x03, 0x28, 0x04, 0x52, 0x17, 0x6d, 0x61, 0x78, + 0x41, 0x63, 0x74, 0x69, 0x76, 0x65, 0x54, 0x6f, 0x70, 0x69, 0x63, 0x73, 0x50, 0x65, 0x72, 0x42, + 0x6c, 0x6f, 0x63, 0x6b, 0x12, 0x2a, 0x0a, 0x11, 0x6d, 0x61, 0x78, 0x5f, 0x73, 0x74, 0x72, 0x69, + 0x6e, 0x67, 0x5f, 0x6c, 0x65, 0x6e, 0x67, 0x74, 0x68, 0x18, 0x2f, 0x20, 0x03, 0x28, 0x04, 0x52, + 0x0f, 0x6d, 0x61, 0x78, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x4c, 0x65, 0x6e, 0x67, 0x74, 0x68, + 0x12, 0x6f, 0x0a, 0x17, 0x69, 0x6e, 0x69, 0x74, 0x69, 0x61, 0x6c, 0x5f, 0x72, 0x65, 0x67, 0x72, + 0x65, 0x74, 0x5f, 0x71, 0x75, 0x61, 0x6e, 0x74, 0x69, 0x6c, 0x65, 0x18, 0x30, 0x20, 0x03, 0x28, + 0x09, 0x42, 0x37, 0xc8, 0xde, 0x1f, 0x00, 0xda, 0xde, 0x1f, 0x2f, 0x67, 0x69, 0x74, 0x68, 0x75, + 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x61, 0x6c, 0x6c, 0x6f, 0x72, 0x61, 0x2d, 0x6e, 0x65, 0x74, + 0x77, 0x6f, 0x72, 0x6b, 0x2f, 0x61, 0x6c, 0x6c, 0x6f, 0x72, 0x61, 0x2d, 0x63, 0x68, 0x61, 0x69, + 0x6e, 0x2f, 0x6d, 0x61, 0x74, 0x68, 0x2e, 0x44, 0x65, 0x63, 0x52, 0x15, 0x69, 0x6e, 0x69, 0x74, + 0x69, 0x61, 0x6c, 0x52, 0x65, 0x67, 0x72, 0x65, 0x74, 0x51, 0x75, 0x61, 0x6e, 0x74, 0x69, 0x6c, + 0x65, 0x12, 0x5e, 0x0a, 0x0f, 0x70, 0x5f, 0x6e, 0x6f, 0x72, 0x6d, 0x5f, 0x73, 0x61, 0x66, 0x65, + 0x5f, 0x64, 0x69, 0x76, 0x18, 0x31, 0x20, 0x03, 0x28, 0x09, 0x42, 0x37, 0xc8, 0xde, 0x1f, 0x00, + 0xda, 0xde, 0x1f, 0x2f, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x61, + 0x6c, 0x6c, 0x6f, 0x72, 0x61, 0x2d, 0x6e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x2f, 0x61, 0x6c, + 0x6c, 0x6f, 0x72, 0x61, 0x2d, 0x63, 0x68, 0x61, 0x69, 0x6e, 0x2f, 0x6d, 0x61, 0x74, 0x68, 0x2e, + 0x44, 0x65, 0x63, 0x52, 0x0c, 0x70, 0x4e, 0x6f, 0x72, 0x6d, 0x53, 0x61, 0x66, 0x65, 0x44, 0x69, + 0x76, 0x12, 0x3f, 0x0a, 0x18, 0x67, 0x6c, 0x6f, 0x62, 0x61, 0x6c, 0x5f, 0x77, 0x68, 0x69, 0x74, + 0x65, 0x6c, 0x69, 0x73, 0x74, 0x5f, 0x65, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x18, 0x32, 0x20, + 0x03, 0x28, 0x08, 0x42, 0x05, 0xa8, 0xe7, 0xb0, 0x2a, 0x01, 0x52, 0x16, 0x67, 0x6c, 0x6f, 0x62, + 0x61, 0x6c, 0x57, 0x68, 0x69, 0x74, 0x65, 0x6c, 0x69, 0x73, 0x74, 0x45, 0x6e, 0x61, 0x62, 0x6c, + 0x65, 0x64, 0x12, 0x4c, 0x0a, 0x1f, 0x74, 0x6f, 0x70, 0x69, 0x63, 0x5f, 0x63, 0x72, 0x65, 0x61, + 0x74, 0x6f, 0x72, 0x5f, 0x77, 0x68, 0x69, 0x74, 0x65, 0x6c, 0x69, 0x73, 0x74, 0x5f, 0x65, 0x6e, + 0x61, 0x62, 0x6c, 0x65, 0x64, 0x18, 0x33, 0x20, 0x03, 0x28, 0x08, 0x42, 0x05, 0xa8, 0xe7, 0xb0, + 0x2a, 0x01, 0x52, 0x1c, 0x74, 0x6f, 0x70, 0x69, 0x63, 0x43, 0x72, 0x65, 0x61, 0x74, 0x6f, 0x72, + 0x57, 0x68, 0x69, 0x74, 0x65, 0x6c, 0x69, 0x73, 0x74, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, + 0x12, 0x43, 0x0a, 0x1e, 0x6d, 0x69, 0x6e, 0x5f, 0x65, 0x78, 0x70, 0x65, 0x72, 0x69, 0x65, 0x6e, + 0x63, 0x65, 0x64, 0x5f, 0x77, 0x6f, 0x72, 0x6b, 0x65, 0x72, 0x5f, 0x72, 0x65, 0x67, 0x72, 0x65, + 0x74, 0x73, 0x18, 0x34, 0x20, 0x03, 0x28, 0x04, 0x52, 0x1b, 0x6d, 0x69, 0x6e, 0x45, 0x78, 0x70, + 0x65, 0x72, 0x69, 0x65, 0x6e, 0x63, 0x65, 0x64, 0x57, 0x6f, 0x72, 0x6b, 0x65, 0x72, 0x52, 0x65, + 0x67, 0x72, 0x65, 0x74, 0x73, 0x12, 0x8a, 0x01, 0x0a, 0x25, 0x69, 0x6e, 0x66, 0x65, 0x72, 0x65, + 0x6e, 0x63, 0x65, 0x5f, 0x6f, 0x75, 0x74, 0x6c, 0x69, 0x65, 0x72, 0x5f, 0x64, 0x65, 0x74, 0x65, + 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x74, 0x68, 0x72, 0x65, 0x73, 0x68, 0x6f, 0x6c, 0x64, 0x18, + 0x35, 0x20, 0x03, 0x28, 0x09, 0x42, 0x37, 0xc8, 0xde, 0x1f, 0x00, 0xda, 0xde, 0x1f, 0x2f, 0x67, + 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x61, 0x6c, 0x6c, 0x6f, 0x72, 0x61, + 0x2d, 0x6e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x2f, 0x61, 0x6c, 0x6c, 0x6f, 0x72, 0x61, 0x2d, + 0x63, 0x68, 0x61, 0x69, 0x6e, 0x2f, 0x6d, 0x61, 0x74, 0x68, 0x2e, 0x44, 0x65, 0x63, 0x52, 0x22, + 0x69, 0x6e, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x4f, 0x75, 0x74, 0x6c, 0x69, 0x65, 0x72, + 0x44, 0x65, 0x74, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x68, 0x72, 0x65, 0x73, 0x68, 0x6f, + 0x6c, 0x64, 0x12, 0x82, 0x01, 0x0a, 0x21, 0x69, 0x6e, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, + 0x5f, 0x6f, 0x75, 0x74, 0x6c, 0x69, 0x65, 0x72, 0x5f, 0x64, 0x65, 0x74, 0x65, 0x63, 0x74, 0x69, + 0x6f, 0x6e, 0x5f, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x18, 0x36, 0x20, 0x03, 0x28, 0x09, 0x42, 0x37, + 0xc8, 0xde, 0x1f, 0x00, 0xda, 0xde, 0x1f, 0x2f, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, + 0x6f, 0x6d, 0x2f, 0x61, 0x6c, 0x6c, 0x6f, 0x72, 0x61, 0x2d, 0x6e, 0x65, 0x74, 0x77, 0x6f, 0x72, + 0x6b, 0x2f, 0x61, 0x6c, 0x6c, 0x6f, 0x72, 0x61, 0x2d, 0x63, 0x68, 0x61, 0x69, 0x6e, 0x2f, 0x6d, + 0x61, 0x74, 0x68, 0x2e, 0x44, 0x65, 0x63, 0x52, 0x1e, 0x69, 0x6e, 0x66, 0x65, 0x72, 0x65, 0x6e, + 0x63, 0x65, 0x4f, 0x75, 0x74, 0x6c, 0x69, 0x65, 0x72, 0x44, 0x65, 0x74, 0x65, 0x63, 0x74, 0x69, + 0x6f, 0x6e, 0x41, 0x6c, 0x70, 0x68, 0x61, 0x12, 0x69, 0x0a, 0x14, 0x6c, 0x61, 0x6d, 0x62, 0x64, + 0x61, 0x5f, 0x69, 0x6e, 0x69, 0x74, 0x69, 0x61, 0x6c, 0x5f, 0x73, 0x63, 0x6f, 0x72, 0x65, 0x18, + 0x37, 0x20, 0x03, 0x28, 0x09, 0x42, 0x37, 0xc8, 0xde, 0x1f, 0x00, 0xda, 0xde, 0x1f, 0x2f, 0x67, + 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x61, 0x6c, 0x6c, 0x6f, 0x72, 0x61, + 0x2d, 0x6e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x2f, 0x61, 0x6c, 0x6c, 0x6f, 0x72, 0x61, 0x2d, + 0x63, 0x68, 0x61, 0x69, 0x6e, 0x2f, 0x6d, 0x61, 0x74, 0x68, 0x2e, 0x44, 0x65, 0x63, 0x52, 0x12, + 0x6c, 0x61, 0x6d, 0x62, 0x64, 0x61, 0x49, 0x6e, 0x69, 0x74, 0x69, 0x61, 0x6c, 0x53, 0x63, 0x6f, + 0x72, 0x65, 0x12, 0x4c, 0x0a, 0x1f, 0x67, 0x6c, 0x6f, 0x62, 0x61, 0x6c, 0x5f, 0x77, 0x6f, 0x72, + 0x6b, 0x65, 0x72, 0x5f, 0x77, 0x68, 0x69, 0x74, 0x65, 0x6c, 0x69, 0x73, 0x74, 0x5f, 0x65, 0x6e, + 0x61, 0x62, 0x6c, 0x65, 0x64, 0x18, 0x38, 0x20, 0x03, 0x28, 0x08, 0x42, 0x05, 0xa8, 0xe7, 0xb0, + 0x2a, 0x01, 0x52, 0x1c, 0x67, 0x6c, 0x6f, 0x62, 0x61, 0x6c, 0x57, 0x6f, 0x72, 0x6b, 0x65, 0x72, + 0x57, 0x68, 0x69, 0x74, 0x65, 0x6c, 0x69, 0x73, 0x74, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, + 0x12, 0x4e, 0x0a, 0x20, 0x67, 0x6c, 0x6f, 0x62, 0x61, 0x6c, 0x5f, 0x72, 0x65, 0x70, 0x75, 0x74, + 0x65, 0x72, 0x5f, 0x77, 0x68, 0x69, 0x74, 0x65, 0x6c, 0x69, 0x73, 0x74, 0x5f, 0x65, 0x6e, 0x61, + 0x62, 0x6c, 0x65, 0x64, 0x18, 0x39, 0x20, 0x03, 0x28, 0x08, 0x42, 0x05, 0xa8, 0xe7, 0xb0, 0x2a, + 0x01, 0x52, 0x1d, 0x67, 0x6c, 0x6f, 0x62, 0x61, 0x6c, 0x52, 0x65, 0x70, 0x75, 0x74, 0x65, 0x72, + 0x57, 0x68, 0x69, 0x74, 0x65, 0x6c, 0x69, 0x73, 0x74, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, + 0x12, 0x4c, 0x0a, 0x1f, 0x67, 0x6c, 0x6f, 0x62, 0x61, 0x6c, 0x5f, 0x61, 0x64, 0x6d, 0x69, 0x6e, + 0x5f, 0x77, 0x68, 0x69, 0x74, 0x65, 0x6c, 0x69, 0x73, 0x74, 0x5f, 0x61, 0x70, 0x70, 0x65, 0x6e, + 0x64, 0x65, 0x64, 0x18, 0x3a, 0x20, 0x03, 0x28, 0x08, 0x42, 0x05, 0xa8, 0xe7, 0xb0, 0x2a, 0x01, + 0x52, 0x1c, 0x67, 0x6c, 0x6f, 0x62, 0x61, 0x6c, 0x41, 0x64, 0x6d, 0x69, 0x6e, 0x57, 0x68, 0x69, + 0x74, 0x65, 0x6c, 0x69, 0x73, 0x74, 0x41, 0x70, 0x70, 0x65, 0x6e, 0x64, 0x65, 0x64, 0x12, 0x4d, + 0x0a, 0x20, 0x6d, 0x61, 0x78, 0x5f, 0x77, 0x68, 0x69, 0x74, 0x65, 0x6c, 0x69, 0x73, 0x74, 0x5f, + 0x69, 0x6e, 0x70, 0x75, 0x74, 0x5f, 0x61, 0x72, 0x72, 0x61, 0x79, 0x5f, 0x6c, 0x65, 0x6e, 0x67, + 0x74, 0x68, 0x18, 0x3b, 0x20, 0x03, 0x28, 0x04, 0x42, 0x05, 0xa8, 0xe7, 0xb0, 0x2a, 0x01, 0x52, + 0x1c, 0x6d, 0x61, 0x78, 0x57, 0x68, 0x69, 0x74, 0x65, 0x6c, 0x69, 0x73, 0x74, 0x49, 0x6e, 0x70, + 0x75, 0x74, 0x41, 0x72, 0x72, 0x61, 0x79, 0x4c, 0x65, 0x6e, 0x67, 0x74, 0x68, 0x12, 0x7f, 0x0a, + 0x20, 0x6d, 0x69, 0x6e, 0x5f, 0x77, 0x65, 0x69, 0x67, 0x68, 0x74, 0x5f, 0x74, 0x68, 0x72, 0x65, + 0x73, 0x68, 0x6f, 0x6c, 0x64, 0x5f, 0x66, 0x6f, 0x72, 0x5f, 0x73, 0x74, 0x64, 0x6e, 0x6f, 0x72, + 0x6d, 0x18, 0x3c, 0x20, 0x03, 0x28, 0x09, 0x42, 0x37, 0xc8, 0xde, 0x1f, 0x00, 0xda, 0xde, 0x1f, + 0x2f, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x61, 0x6c, 0x6c, 0x6f, + 0x72, 0x61, 0x2d, 0x6e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x2f, 0x61, 0x6c, 0x6c, 0x6f, 0x72, + 0x61, 0x2d, 0x63, 0x68, 0x61, 0x69, 0x6e, 0x2f, 0x6d, 0x61, 0x74, 0x68, 0x2e, 0x44, 0x65, 0x63, + 0x52, 0x1c, 0x6d, 0x69, 0x6e, 0x57, 0x65, 0x69, 0x67, 0x68, 0x74, 0x54, 0x68, 0x72, 0x65, 0x73, + 0x68, 0x6f, 0x6c, 0x64, 0x46, 0x6f, 0x72, 0x53, 0x74, 0x64, 0x6e, 0x6f, 0x72, 0x6d, 0x4a, 0x04, + 0x08, 0x04, 0x10, 0x05, 0x4a, 0x04, 0x08, 0x1a, 0x10, 0x1b, 0x4a, 0x04, 0x08, 0x1b, 0x10, 0x1c, + 0x4a, 0x04, 0x08, 0x27, 0x10, 0x28, 0x4a, 0x04, 0x08, 0x29, 0x10, 0x2a, 0x52, 0x14, 0x6d, 0x61, + 0x78, 0x5f, 0x74, 0x6f, 0x70, 0x69, 0x63, 0x73, 0x5f, 0x70, 0x65, 0x72, 0x5f, 0x62, 0x6c, 0x6f, + 0x63, 0x6b, 0x52, 0x1b, 0x6d, 0x69, 0x6e, 0x5f, 0x65, 0x66, 0x66, 0x65, 0x63, 0x74, 0x69, 0x76, + 0x65, 0x5f, 0x74, 0x6f, 0x70, 0x69, 0x63, 0x5f, 0x72, 0x65, 0x76, 0x65, 0x6e, 0x75, 0x65, 0x52, + 0x23, 0x6d, 0x61, 0x78, 0x5f, 0x72, 0x65, 0x74, 0x72, 0x69, 0x65, 0x73, 0x5f, 0x74, 0x6f, 0x5f, + 0x66, 0x75, 0x6c, 0x66, 0x69, 0x6c, 0x5f, 0x6e, 0x6f, 0x6e, 0x63, 0x65, 0x73, 0x5f, 0x77, 0x6f, + 0x72, 0x6b, 0x65, 0x72, 0x52, 0x1c, 0x74, 0x6f, 0x70, 0x69, 0x63, 0x5f, 0x66, 0x65, 0x65, 0x5f, + 0x72, 0x65, 0x76, 0x65, 0x6e, 0x75, 0x65, 0x5f, 0x64, 0x65, 0x63, 0x61, 0x79, 0x5f, 0x72, 0x61, + 0x74, 0x65, 0x52, 0x24, 0x6d, 0x61, 0x78, 0x5f, 0x72, 0x65, 0x74, 0x72, 0x69, 0x65, 0x73, 0x5f, + 0x74, 0x6f, 0x5f, 0x66, 0x75, 0x6c, 0x66, 0x69, 0x6c, 0x5f, 0x6e, 0x6f, 0x6e, 0x63, 0x65, 0x73, + 0x5f, 0x72, 0x65, 0x70, 0x75, 0x74, 0x65, 0x72, 0x22, 0x70, 0x0a, 0x13, 0x55, 0x70, 0x64, 0x61, + 0x74, 0x65, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, + 0x16, 0x0a, 0x06, 0x73, 0x65, 0x6e, 0x64, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x06, 0x73, 0x65, 0x6e, 0x64, 0x65, 0x72, 0x12, 0x34, 0x0a, 0x06, 0x70, 0x61, 0x72, 0x61, 0x6d, + 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x65, 0x6d, 0x69, 0x73, 0x73, 0x69, + 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x38, 0x2e, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x50, + 0x61, 0x72, 0x61, 0x6d, 0x73, 0x52, 0x06, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x3a, 0x0b, 0x82, + 0xe7, 0xb0, 0x2a, 0x06, 0x73, 0x65, 0x6e, 0x64, 0x65, 0x72, 0x22, 0x16, 0x0a, 0x14, 0x55, 0x70, + 0x64, 0x61, 0x74, 0x65, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, + 0x73, 0x65, 0x22, 0xb5, 0x09, 0x0a, 0x15, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4e, 0x65, 0x77, + 0x54, 0x6f, 0x70, 0x69, 0x63, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x18, 0x0a, 0x07, + 0x63, 0x72, 0x65, 0x61, 0x74, 0x6f, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x63, + 0x72, 0x65, 0x61, 0x74, 0x6f, 0x72, 0x12, 0x1a, 0x0a, 0x08, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, + 0x74, 0x61, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, + 0x74, 0x61, 0x12, 0x1f, 0x0a, 0x0b, 0x6c, 0x6f, 0x73, 0x73, 0x5f, 0x6d, 0x65, 0x74, 0x68, 0x6f, + 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x6c, 0x6f, 0x73, 0x73, 0x4d, 0x65, 0x74, + 0x68, 0x6f, 0x64, 0x12, 0x21, 0x0a, 0x0c, 0x65, 0x70, 0x6f, 0x63, 0x68, 0x5f, 0x6c, 0x65, 0x6e, + 0x67, 0x74, 0x68, 0x18, 0x07, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0b, 0x65, 0x70, 0x6f, 0x63, 0x68, + 0x4c, 0x65, 0x6e, 0x67, 0x74, 0x68, 0x12, 0x28, 0x0a, 0x10, 0x67, 0x72, 0x6f, 0x75, 0x6e, 0x64, + 0x5f, 0x74, 0x72, 0x75, 0x74, 0x68, 0x5f, 0x6c, 0x61, 0x67, 0x18, 0x08, 0x20, 0x01, 0x28, 0x03, + 0x52, 0x0e, 0x67, 0x72, 0x6f, 0x75, 0x6e, 0x64, 0x54, 0x72, 0x75, 0x74, 0x68, 0x4c, 0x61, 0x67, + 0x12, 0x4e, 0x0a, 0x06, 0x70, 0x5f, 0x6e, 0x6f, 0x72, 0x6d, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x09, + 0x42, 0x37, 0xc8, 0xde, 0x1f, 0x00, 0xda, 0xde, 0x1f, 0x2f, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, + 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x61, 0x6c, 0x6c, 0x6f, 0x72, 0x61, 0x2d, 0x6e, 0x65, 0x74, 0x77, + 0x6f, 0x72, 0x6b, 0x2f, 0x61, 0x6c, 0x6c, 0x6f, 0x72, 0x61, 0x2d, 0x63, 0x68, 0x61, 0x69, 0x6e, + 0x2f, 0x6d, 0x61, 0x74, 0x68, 0x2e, 0x44, 0x65, 0x63, 0x52, 0x05, 0x70, 0x4e, 0x6f, 0x72, 0x6d, + 0x12, 0x5a, 0x0a, 0x0c, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x5f, 0x72, 0x65, 0x67, 0x72, 0x65, 0x74, + 0x18, 0x0b, 0x20, 0x01, 0x28, 0x09, 0x42, 0x37, 0xc8, 0xde, 0x1f, 0x00, 0xda, 0xde, 0x1f, 0x2f, + 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x61, 0x6c, 0x6c, 0x6f, 0x72, + 0x61, 0x2d, 0x6e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x2f, 0x61, 0x6c, 0x6c, 0x6f, 0x72, 0x61, + 0x2d, 0x63, 0x68, 0x61, 0x69, 0x6e, 0x2f, 0x6d, 0x61, 0x74, 0x68, 0x2e, 0x44, 0x65, 0x63, 0x52, + 0x0b, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x52, 0x65, 0x67, 0x72, 0x65, 0x74, 0x12, 0x25, 0x0a, 0x0e, + 0x61, 0x6c, 0x6c, 0x6f, 0x77, 0x5f, 0x6e, 0x65, 0x67, 0x61, 0x74, 0x69, 0x76, 0x65, 0x18, 0x0c, + 0x20, 0x01, 0x28, 0x08, 0x52, 0x0d, 0x61, 0x6c, 0x6c, 0x6f, 0x77, 0x4e, 0x65, 0x67, 0x61, 0x74, + 0x69, 0x76, 0x65, 0x12, 0x51, 0x0a, 0x07, 0x65, 0x70, 0x73, 0x69, 0x6c, 0x6f, 0x6e, 0x18, 0x0d, + 0x20, 0x01, 0x28, 0x09, 0x42, 0x37, 0xc8, 0xde, 0x1f, 0x00, 0xda, 0xde, 0x1f, 0x2f, 0x67, 0x69, + 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x61, 0x6c, 0x6c, 0x6f, 0x72, 0x61, 0x2d, + 0x6e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x2f, 0x61, 0x6c, 0x6c, 0x6f, 0x72, 0x61, 0x2d, 0x63, + 0x68, 0x61, 0x69, 0x6e, 0x2f, 0x6d, 0x61, 0x74, 0x68, 0x2e, 0x44, 0x65, 0x63, 0x52, 0x07, 0x65, + 0x70, 0x73, 0x69, 0x6c, 0x6f, 0x6e, 0x12, 0x38, 0x0a, 0x18, 0x77, 0x6f, 0x72, 0x6b, 0x65, 0x72, + 0x5f, 0x73, 0x75, 0x62, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x5f, 0x77, 0x69, 0x6e, 0x64, + 0x6f, 0x77, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x03, 0x52, 0x16, 0x77, 0x6f, 0x72, 0x6b, 0x65, 0x72, + 0x53, 0x75, 0x62, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x57, 0x69, 0x6e, 0x64, 0x6f, 0x77, + 0x12, 0x6b, 0x0a, 0x15, 0x6d, 0x65, 0x72, 0x69, 0x74, 0x5f, 0x73, 0x6f, 0x72, 0x74, 0x69, 0x74, + 0x69, 0x6f, 0x6e, 0x5f, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x09, 0x42, + 0x37, 0xc8, 0xde, 0x1f, 0x00, 0xda, 0xde, 0x1f, 0x2f, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, + 0x63, 0x6f, 0x6d, 0x2f, 0x61, 0x6c, 0x6c, 0x6f, 0x72, 0x61, 0x2d, 0x6e, 0x65, 0x74, 0x77, 0x6f, + 0x72, 0x6b, 0x2f, 0x61, 0x6c, 0x6c, 0x6f, 0x72, 0x61, 0x2d, 0x63, 0x68, 0x61, 0x69, 0x6e, 0x2f, + 0x6d, 0x61, 0x74, 0x68, 0x2e, 0x44, 0x65, 0x63, 0x52, 0x13, 0x6d, 0x65, 0x72, 0x69, 0x74, 0x53, + 0x6f, 0x72, 0x74, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x41, 0x6c, 0x70, 0x68, 0x61, 0x12, 0x6f, 0x0a, + 0x17, 0x61, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x69, 0x6e, 0x66, 0x65, 0x72, 0x65, 0x72, 0x5f, + 0x71, 0x75, 0x61, 0x6e, 0x74, 0x69, 0x6c, 0x65, 0x18, 0x10, 0x20, 0x01, 0x28, 0x09, 0x42, 0x37, + 0xc8, 0xde, 0x1f, 0x00, 0xda, 0xde, 0x1f, 0x2f, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, + 0x6f, 0x6d, 0x2f, 0x61, 0x6c, 0x6c, 0x6f, 0x72, 0x61, 0x2d, 0x6e, 0x65, 0x74, 0x77, 0x6f, 0x72, + 0x6b, 0x2f, 0x61, 0x6c, 0x6c, 0x6f, 0x72, 0x61, 0x2d, 0x63, 0x68, 0x61, 0x69, 0x6e, 0x2f, 0x6d, + 0x61, 0x74, 0x68, 0x2e, 0x44, 0x65, 0x63, 0x52, 0x15, 0x61, 0x63, 0x74, 0x69, 0x76, 0x65, 0x49, + 0x6e, 0x66, 0x65, 0x72, 0x65, 0x72, 0x51, 0x75, 0x61, 0x6e, 0x74, 0x69, 0x6c, 0x65, 0x12, 0x75, + 0x0a, 0x1a, 0x61, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x66, 0x6f, 0x72, 0x65, 0x63, 0x61, 0x73, + 0x74, 0x65, 0x72, 0x5f, 0x71, 0x75, 0x61, 0x6e, 0x74, 0x69, 0x6c, 0x65, 0x18, 0x11, 0x20, 0x01, + 0x28, 0x09, 0x42, 0x37, 0xc8, 0xde, 0x1f, 0x00, 0xda, 0xde, 0x1f, 0x2f, 0x67, 0x69, 0x74, 0x68, + 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x61, 0x6c, 0x6c, 0x6f, 0x72, 0x61, 0x2d, 0x6e, 0x65, + 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x2f, 0x61, 0x6c, 0x6c, 0x6f, 0x72, 0x61, 0x2d, 0x63, 0x68, 0x61, + 0x69, 0x6e, 0x2f, 0x6d, 0x61, 0x74, 0x68, 0x2e, 0x44, 0x65, 0x63, 0x52, 0x18, 0x61, 0x63, 0x74, + 0x69, 0x76, 0x65, 0x46, 0x6f, 0x72, 0x65, 0x63, 0x61, 0x73, 0x74, 0x65, 0x72, 0x51, 0x75, 0x61, + 0x6e, 0x74, 0x69, 0x6c, 0x65, 0x12, 0x6f, 0x0a, 0x17, 0x61, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, + 0x72, 0x65, 0x70, 0x75, 0x74, 0x65, 0x72, 0x5f, 0x71, 0x75, 0x61, 0x6e, 0x74, 0x69, 0x6c, 0x65, + 0x18, 0x12, 0x20, 0x01, 0x28, 0x09, 0x42, 0x37, 0xc8, 0xde, 0x1f, 0x00, 0xda, 0xde, 0x1f, 0x2f, + 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x61, 0x6c, 0x6c, 0x6f, 0x72, + 0x61, 0x2d, 0x6e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x2f, 0x61, 0x6c, 0x6c, 0x6f, 0x72, 0x61, + 0x2d, 0x63, 0x68, 0x61, 0x69, 0x6e, 0x2f, 0x6d, 0x61, 0x74, 0x68, 0x2e, 0x44, 0x65, 0x63, 0x52, + 0x15, 0x61, 0x63, 0x74, 0x69, 0x76, 0x65, 0x52, 0x65, 0x70, 0x75, 0x74, 0x65, 0x72, 0x51, 0x75, + 0x61, 0x6e, 0x74, 0x69, 0x6c, 0x65, 0x12, 0x36, 0x0a, 0x17, 0x65, 0x6e, 0x61, 0x62, 0x6c, 0x65, + 0x5f, 0x77, 0x6f, 0x72, 0x6b, 0x65, 0x72, 0x5f, 0x77, 0x68, 0x69, 0x74, 0x65, 0x6c, 0x69, 0x73, + 0x74, 0x18, 0x13, 0x20, 0x01, 0x28, 0x08, 0x52, 0x15, 0x65, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x57, + 0x6f, 0x72, 0x6b, 0x65, 0x72, 0x57, 0x68, 0x69, 0x74, 0x65, 0x6c, 0x69, 0x73, 0x74, 0x12, 0x38, + 0x0a, 0x18, 0x65, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x5f, 0x72, 0x65, 0x70, 0x75, 0x74, 0x65, 0x72, + 0x5f, 0x77, 0x68, 0x69, 0x74, 0x65, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x14, 0x20, 0x01, 0x28, 0x08, + 0x52, 0x16, 0x65, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x52, 0x65, 0x70, 0x75, 0x74, 0x65, 0x72, 0x57, + 0x68, 0x69, 0x74, 0x65, 0x6c, 0x69, 0x73, 0x74, 0x3a, 0x0c, 0x82, 0xe7, 0xb0, 0x2a, 0x07, 0x63, + 0x72, 0x65, 0x61, 0x74, 0x6f, 0x72, 0x4a, 0x04, 0x08, 0x03, 0x10, 0x04, 0x4a, 0x04, 0x08, 0x05, + 0x10, 0x06, 0x4a, 0x04, 0x08, 0x06, 0x10, 0x07, 0x4a, 0x04, 0x08, 0x09, 0x10, 0x0a, 0x52, 0x0a, + 0x6c, 0x6f, 0x73, 0x73, 0x5f, 0x6c, 0x6f, 0x67, 0x69, 0x63, 0x52, 0x0f, 0x69, 0x6e, 0x66, 0x65, + 0x72, 0x65, 0x6e, 0x63, 0x65, 0x5f, 0x6c, 0x6f, 0x67, 0x69, 0x63, 0x52, 0x10, 0x69, 0x6e, 0x66, + 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x5f, 0x6d, 0x65, 0x74, 0x68, 0x6f, 0x64, 0x52, 0x0b, 0x64, + 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x5f, 0x61, 0x72, 0x67, 0x22, 0x33, 0x0a, 0x16, 0x43, 0x72, + 0x65, 0x61, 0x74, 0x65, 0x4e, 0x65, 0x77, 0x54, 0x6f, 0x70, 0x69, 0x63, 0x52, 0x65, 0x73, 0x70, + 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x19, 0x0a, 0x08, 0x74, 0x6f, 0x70, 0x69, 0x63, 0x5f, 0x69, 0x64, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x07, 0x74, 0x6f, 0x70, 0x69, 0x63, 0x49, 0x64, 0x22, + 0x96, 0x01, 0x0a, 0x1b, 0x49, 0x6e, 0x73, 0x65, 0x72, 0x74, 0x52, 0x65, 0x70, 0x75, 0x74, 0x65, + 0x72, 0x50, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, + 0x16, 0x0a, 0x06, 0x73, 0x65, 0x6e, 0x64, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x06, 0x73, 0x65, 0x6e, 0x64, 0x65, 0x72, 0x12, 0x52, 0x0a, 0x14, 0x72, 0x65, 0x70, 0x75, 0x74, + 0x65, 0x72, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x5f, 0x62, 0x75, 0x6e, 0x64, 0x6c, 0x65, 0x18, + 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x65, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, + 0x73, 0x2e, 0x76, 0x33, 0x2e, 0x52, 0x65, 0x70, 0x75, 0x74, 0x65, 0x72, 0x56, 0x61, 0x6c, 0x75, + 0x65, 0x42, 0x75, 0x6e, 0x64, 0x6c, 0x65, 0x52, 0x12, 0x72, 0x65, 0x70, 0x75, 0x74, 0x65, 0x72, + 0x56, 0x61, 0x6c, 0x75, 0x65, 0x42, 0x75, 0x6e, 0x64, 0x6c, 0x65, 0x3a, 0x0b, 0x82, 0xe7, 0xb0, + 0x2a, 0x06, 0x73, 0x65, 0x6e, 0x64, 0x65, 0x72, 0x22, 0x1e, 0x0a, 0x1c, 0x49, 0x6e, 0x73, 0x65, + 0x72, 0x74, 0x52, 0x65, 0x70, 0x75, 0x74, 0x65, 0x72, 0x50, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, + 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x8f, 0x01, 0x0a, 0x1a, 0x49, 0x6e, 0x73, + 0x65, 0x72, 0x74, 0x57, 0x6f, 0x72, 0x6b, 0x65, 0x72, 0x50, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, + 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x73, 0x65, 0x6e, 0x64, 0x65, + 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x73, 0x65, 0x6e, 0x64, 0x65, 0x72, 0x12, + 0x4c, 0x0a, 0x12, 0x77, 0x6f, 0x72, 0x6b, 0x65, 0x72, 0x5f, 0x64, 0x61, 0x74, 0x61, 0x5f, 0x62, + 0x75, 0x6e, 0x64, 0x6c, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x65, 0x6d, + 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x33, 0x2e, 0x57, 0x6f, 0x72, 0x6b, 0x65, + 0x72, 0x44, 0x61, 0x74, 0x61, 0x42, 0x75, 0x6e, 0x64, 0x6c, 0x65, 0x52, 0x10, 0x77, 0x6f, 0x72, + 0x6b, 0x65, 0x72, 0x44, 0x61, 0x74, 0x61, 0x42, 0x75, 0x6e, 0x64, 0x6c, 0x65, 0x3a, 0x0b, 0x82, + 0xe7, 0xb0, 0x2a, 0x06, 0x73, 0x65, 0x6e, 0x64, 0x65, 0x72, 0x22, 0x1d, 0x0a, 0x1b, 0x49, 0x6e, + 0x73, 0x65, 0x72, 0x74, 0x57, 0x6f, 0x72, 0x6b, 0x65, 0x72, 0x50, 0x61, 0x79, 0x6c, 0x6f, 0x61, + 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0xae, 0x01, 0x0a, 0x0f, 0x52, 0x65, + 0x67, 0x69, 0x73, 0x74, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x16, 0x0a, + 0x06, 0x73, 0x65, 0x6e, 0x64, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x73, + 0x65, 0x6e, 0x64, 0x65, 0x72, 0x12, 0x19, 0x0a, 0x08, 0x74, 0x6f, 0x70, 0x69, 0x63, 0x5f, 0x69, + 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x04, 0x52, 0x07, 0x74, 0x6f, 0x70, 0x69, 0x63, 0x49, 0x64, + 0x12, 0x14, 0x0a, 0x05, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x05, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x12, 0x1d, 0x0a, 0x0a, 0x69, 0x73, 0x5f, 0x72, 0x65, 0x70, + 0x75, 0x74, 0x65, 0x72, 0x18, 0x06, 0x20, 0x01, 0x28, 0x08, 0x52, 0x09, 0x69, 0x73, 0x52, 0x65, + 0x70, 0x75, 0x74, 0x65, 0x72, 0x3a, 0x0b, 0x82, 0xe7, 0xb0, 0x2a, 0x06, 0x73, 0x65, 0x6e, 0x64, + 0x65, 0x72, 0x4a, 0x04, 0x08, 0x02, 0x10, 0x03, 0x4a, 0x04, 0x08, 0x03, 0x10, 0x04, 0x52, 0x0b, + 0x6c, 0x69, 0x62, 0x5f, 0x70, 0x32, 0x70, 0x5f, 0x6b, 0x65, 0x79, 0x52, 0x0d, 0x6d, 0x75, 0x6c, + 0x74, 0x69, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x22, 0x46, 0x0a, 0x10, 0x52, 0x65, + 0x67, 0x69, 0x73, 0x74, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x18, + 0x0a, 0x07, 0x73, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, + 0x07, 0x73, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x12, 0x18, 0x0a, 0x07, 0x6d, 0x65, 0x73, 0x73, + 0x61, 0x67, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, + 0x67, 0x65, 0x22, 0x7a, 0x0a, 0x19, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x52, 0x65, 0x67, 0x69, + 0x73, 0x74, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, + 0x16, 0x0a, 0x06, 0x73, 0x65, 0x6e, 0x64, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x06, 0x73, 0x65, 0x6e, 0x64, 0x65, 0x72, 0x12, 0x19, 0x0a, 0x08, 0x74, 0x6f, 0x70, 0x69, 0x63, + 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x04, 0x52, 0x07, 0x74, 0x6f, 0x70, 0x69, 0x63, + 0x49, 0x64, 0x12, 0x1d, 0x0a, 0x0a, 0x69, 0x73, 0x5f, 0x72, 0x65, 0x70, 0x75, 0x74, 0x65, 0x72, + 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x09, 0x69, 0x73, 0x52, 0x65, 0x70, 0x75, 0x74, 0x65, + 0x72, 0x3a, 0x0b, 0x82, 0xe7, 0xb0, 0x2a, 0x06, 0x73, 0x65, 0x6e, 0x64, 0x65, 0x72, 0x22, 0x50, + 0x0a, 0x1a, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x61, + 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x18, 0x0a, 0x07, + 0x73, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x07, 0x73, + 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x12, 0x18, 0x0a, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, + 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, + 0x22, 0x9b, 0x01, 0x0a, 0x0f, 0x41, 0x64, 0x64, 0x53, 0x74, 0x61, 0x6b, 0x65, 0x52, 0x65, 0x71, + 0x75, 0x65, 0x73, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x73, 0x65, 0x6e, 0x64, 0x65, 0x72, 0x18, 0x01, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x73, 0x65, 0x6e, 0x64, 0x65, 0x72, 0x12, 0x19, 0x0a, 0x08, + 0x74, 0x6f, 0x70, 0x69, 0x63, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x04, 0x52, 0x07, + 0x74, 0x6f, 0x70, 0x69, 0x63, 0x49, 0x64, 0x12, 0x48, 0x0a, 0x06, 0x61, 0x6d, 0x6f, 0x75, 0x6e, + 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x42, 0x30, 0xc8, 0xde, 0x1f, 0x00, 0xda, 0xde, 0x1f, + 0x15, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x73, 0x64, 0x6b, 0x2e, 0x69, 0x6f, 0x2f, 0x6d, 0x61, + 0x74, 0x68, 0x2e, 0x49, 0x6e, 0x74, 0xd2, 0xb4, 0x2d, 0x0a, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, + 0x2e, 0x49, 0x6e, 0x74, 0xa8, 0xe7, 0xb0, 0x2a, 0x01, 0x52, 0x06, 0x61, 0x6d, 0x6f, 0x75, 0x6e, + 0x74, 0x3a, 0x0b, 0x82, 0xe7, 0xb0, 0x2a, 0x06, 0x73, 0x65, 0x6e, 0x64, 0x65, 0x72, 0x22, 0x12, + 0x0a, 0x10, 0x41, 0x64, 0x64, 0x53, 0x74, 0x61, 0x6b, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, + 0x73, 0x65, 0x22, 0x9e, 0x01, 0x0a, 0x12, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x53, 0x74, 0x61, + 0x6b, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x73, 0x65, 0x6e, + 0x64, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x73, 0x65, 0x6e, 0x64, 0x65, + 0x72, 0x12, 0x19, 0x0a, 0x08, 0x74, 0x6f, 0x70, 0x69, 0x63, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, + 0x01, 0x28, 0x04, 0x52, 0x07, 0x74, 0x6f, 0x70, 0x69, 0x63, 0x49, 0x64, 0x12, 0x48, 0x0a, 0x06, + 0x61, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x42, 0x30, 0xc8, 0xde, + 0x1f, 0x00, 0xda, 0xde, 0x1f, 0x15, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x73, 0x64, 0x6b, 0x2e, + 0x69, 0x6f, 0x2f, 0x6d, 0x61, 0x74, 0x68, 0x2e, 0x49, 0x6e, 0x74, 0xd2, 0xb4, 0x2d, 0x0a, 0x63, + 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2e, 0x49, 0x6e, 0x74, 0xa8, 0xe7, 0xb0, 0x2a, 0x01, 0x52, 0x06, + 0x61, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x3a, 0x0b, 0x82, 0xe7, 0xb0, 0x2a, 0x06, 0x73, 0x65, 0x6e, + 0x64, 0x65, 0x72, 0x22, 0x15, 0x0a, 0x13, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x53, 0x74, 0x61, + 0x6b, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x5a, 0x0a, 0x18, 0x43, 0x61, + 0x6e, 0x63, 0x65, 0x6c, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x53, 0x74, 0x61, 0x6b, 0x65, 0x52, + 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x73, 0x65, 0x6e, 0x64, 0x65, 0x72, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x73, 0x65, 0x6e, 0x64, 0x65, 0x72, 0x12, 0x19, + 0x0a, 0x08, 0x74, 0x6f, 0x70, 0x69, 0x63, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x04, + 0x52, 0x07, 0x74, 0x6f, 0x70, 0x69, 0x63, 0x49, 0x64, 0x3a, 0x0b, 0x82, 0xe7, 0xb0, 0x2a, 0x06, + 0x73, 0x65, 0x6e, 0x64, 0x65, 0x72, 0x22, 0x1b, 0x0a, 0x19, 0x43, 0x61, 0x6e, 0x63, 0x65, 0x6c, + 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x53, 0x74, 0x61, 0x6b, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, + 0x6e, 0x73, 0x65, 0x22, 0xba, 0x01, 0x0a, 0x14, 0x44, 0x65, 0x6c, 0x65, 0x67, 0x61, 0x74, 0x65, + 0x53, 0x74, 0x61, 0x6b, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x16, 0x0a, 0x06, + 0x73, 0x65, 0x6e, 0x64, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x73, 0x65, + 0x6e, 0x64, 0x65, 0x72, 0x12, 0x19, 0x0a, 0x08, 0x74, 0x6f, 0x70, 0x69, 0x63, 0x5f, 0x69, 0x64, + 0x18, 0x02, 0x20, 0x01, 0x28, 0x04, 0x52, 0x07, 0x74, 0x6f, 0x70, 0x69, 0x63, 0x49, 0x64, 0x12, + 0x18, 0x0a, 0x07, 0x72, 0x65, 0x70, 0x75, 0x74, 0x65, 0x72, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, + 0x52, 0x07, 0x72, 0x65, 0x70, 0x75, 0x74, 0x65, 0x72, 0x12, 0x48, 0x0a, 0x06, 0x61, 0x6d, 0x6f, + 0x75, 0x6e, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x42, 0x30, 0xc8, 0xde, 0x1f, 0x00, 0xda, + 0xde, 0x1f, 0x15, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x73, 0x64, 0x6b, 0x2e, 0x69, 0x6f, 0x2f, + 0x6d, 0x61, 0x74, 0x68, 0x2e, 0x49, 0x6e, 0x74, 0xd2, 0xb4, 0x2d, 0x0a, 0x63, 0x6f, 0x73, 0x6d, + 0x6f, 0x73, 0x2e, 0x49, 0x6e, 0x74, 0xa8, 0xe7, 0xb0, 0x2a, 0x01, 0x52, 0x06, 0x61, 0x6d, 0x6f, + 0x75, 0x6e, 0x74, 0x3a, 0x0b, 0x82, 0xe7, 0xb0, 0x2a, 0x06, 0x73, 0x65, 0x6e, 0x64, 0x65, 0x72, + 0x22, 0x17, 0x0a, 0x15, 0x44, 0x65, 0x6c, 0x65, 0x67, 0x61, 0x74, 0x65, 0x53, 0x74, 0x61, 0x6b, + 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0xc0, 0x01, 0x0a, 0x1a, 0x52, 0x65, + 0x6d, 0x6f, 0x76, 0x65, 0x44, 0x65, 0x6c, 0x65, 0x67, 0x61, 0x74, 0x65, 0x53, 0x74, 0x61, 0x6b, + 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x73, 0x65, 0x6e, 0x64, + 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x73, 0x65, 0x6e, 0x64, 0x65, 0x72, + 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x70, 0x75, 0x74, 0x65, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, + 0x09, 0x52, 0x07, 0x72, 0x65, 0x70, 0x75, 0x74, 0x65, 0x72, 0x12, 0x19, 0x0a, 0x08, 0x74, 0x6f, + 0x70, 0x69, 0x63, 0x5f, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x04, 0x52, 0x07, 0x74, 0x6f, + 0x70, 0x69, 0x63, 0x49, 0x64, 0x12, 0x48, 0x0a, 0x06, 0x61, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x18, + 0x04, 0x20, 0x01, 0x28, 0x09, 0x42, 0x30, 0xc8, 0xde, 0x1f, 0x00, 0xda, 0xde, 0x1f, 0x15, 0x63, + 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x73, 0x64, 0x6b, 0x2e, 0x69, 0x6f, 0x2f, 0x6d, 0x61, 0x74, 0x68, + 0x2e, 0x49, 0x6e, 0x74, 0xd2, 0xb4, 0x2d, 0x0a, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2e, 0x49, + 0x6e, 0x74, 0xa8, 0xe7, 0xb0, 0x2a, 0x01, 0x52, 0x06, 0x61, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x3a, + 0x0b, 0x82, 0xe7, 0xb0, 0x2a, 0x06, 0x73, 0x65, 0x6e, 0x64, 0x65, 0x72, 0x22, 0x1d, 0x0a, 0x1b, + 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x44, 0x65, 0x6c, 0x65, 0x67, 0x61, 0x74, 0x65, 0x53, 0x74, + 0x61, 0x6b, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x9a, 0x01, 0x0a, 0x20, + 0x43, 0x61, 0x6e, 0x63, 0x65, 0x6c, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x44, 0x65, 0x6c, 0x65, + 0x67, 0x61, 0x74, 0x65, 0x53, 0x74, 0x61, 0x6b, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, + 0x12, 0x16, 0x0a, 0x06, 0x73, 0x65, 0x6e, 0x64, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, + 0x52, 0x06, 0x73, 0x65, 0x6e, 0x64, 0x65, 0x72, 0x12, 0x19, 0x0a, 0x08, 0x74, 0x6f, 0x70, 0x69, + 0x63, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x04, 0x52, 0x07, 0x74, 0x6f, 0x70, 0x69, + 0x63, 0x49, 0x64, 0x12, 0x1c, 0x0a, 0x09, 0x64, 0x65, 0x6c, 0x65, 0x67, 0x61, 0x74, 0x6f, 0x72, + 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x64, 0x65, 0x6c, 0x65, 0x67, 0x61, 0x74, 0x6f, + 0x72, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x70, 0x75, 0x74, 0x65, 0x72, 0x18, 0x04, 0x20, 0x01, + 0x28, 0x09, 0x52, 0x07, 0x72, 0x65, 0x70, 0x75, 0x74, 0x65, 0x72, 0x3a, 0x0b, 0x82, 0xe7, 0xb0, + 0x2a, 0x06, 0x73, 0x65, 0x6e, 0x64, 0x65, 0x72, 0x22, 0x23, 0x0a, 0x21, 0x43, 0x61, 0x6e, 0x63, + 0x65, 0x6c, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x44, 0x65, 0x6c, 0x65, 0x67, 0x61, 0x74, 0x65, + 0x53, 0x74, 0x61, 0x6b, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x76, 0x0a, + 0x1a, 0x52, 0x65, 0x77, 0x61, 0x72, 0x64, 0x44, 0x65, 0x6c, 0x65, 0x67, 0x61, 0x74, 0x65, 0x53, + 0x74, 0x61, 0x6b, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x73, + 0x65, 0x6e, 0x64, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x73, 0x65, 0x6e, + 0x64, 0x65, 0x72, 0x12, 0x19, 0x0a, 0x08, 0x74, 0x6f, 0x70, 0x69, 0x63, 0x5f, 0x69, 0x64, 0x18, + 0x02, 0x20, 0x01, 0x28, 0x04, 0x52, 0x07, 0x74, 0x6f, 0x70, 0x69, 0x63, 0x49, 0x64, 0x12, 0x18, + 0x0a, 0x07, 0x72, 0x65, 0x70, 0x75, 0x74, 0x65, 0x72, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x07, 0x72, 0x65, 0x70, 0x75, 0x74, 0x65, 0x72, 0x3a, 0x0b, 0x82, 0xe7, 0xb0, 0x2a, 0x06, 0x73, + 0x65, 0x6e, 0x64, 0x65, 0x72, 0x22, 0x1d, 0x0a, 0x1b, 0x52, 0x65, 0x77, 0x61, 0x72, 0x64, 0x44, + 0x65, 0x6c, 0x65, 0x67, 0x61, 0x74, 0x65, 0x53, 0x74, 0x61, 0x6b, 0x65, 0x52, 0x65, 0x73, 0x70, + 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x9c, 0x01, 0x0a, 0x10, 0x46, 0x75, 0x6e, 0x64, 0x54, 0x6f, 0x70, + 0x69, 0x63, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x73, 0x65, 0x6e, + 0x64, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x73, 0x65, 0x6e, 0x64, 0x65, + 0x72, 0x12, 0x19, 0x0a, 0x08, 0x74, 0x6f, 0x70, 0x69, 0x63, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, + 0x01, 0x28, 0x04, 0x52, 0x07, 0x74, 0x6f, 0x70, 0x69, 0x63, 0x49, 0x64, 0x12, 0x48, 0x0a, 0x06, + 0x61, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x42, 0x30, 0xc8, 0xde, + 0x1f, 0x00, 0xda, 0xde, 0x1f, 0x15, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x73, 0x64, 0x6b, 0x2e, + 0x69, 0x6f, 0x2f, 0x6d, 0x61, 0x74, 0x68, 0x2e, 0x49, 0x6e, 0x74, 0xd2, 0xb4, 0x2d, 0x0a, 0x63, + 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2e, 0x49, 0x6e, 0x74, 0xa8, 0xe7, 0xb0, 0x2a, 0x01, 0x52, 0x06, + 0x61, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x3a, 0x0b, 0x82, 0xe7, 0xb0, 0x2a, 0x06, 0x73, 0x65, 0x6e, + 0x64, 0x65, 0x72, 0x22, 0x13, 0x0a, 0x11, 0x46, 0x75, 0x6e, 0x64, 0x54, 0x6f, 0x70, 0x69, 0x63, + 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x5b, 0x0a, 0x1a, 0x41, 0x64, 0x64, 0x54, + 0x6f, 0x57, 0x68, 0x69, 0x74, 0x65, 0x6c, 0x69, 0x73, 0x74, 0x41, 0x64, 0x6d, 0x69, 0x6e, 0x52, + 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x73, 0x65, 0x6e, 0x64, 0x65, 0x72, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x73, 0x65, 0x6e, 0x64, 0x65, 0x72, 0x12, 0x18, + 0x0a, 0x07, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x07, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x3a, 0x0b, 0x82, 0xe7, 0xb0, 0x2a, 0x06, 0x73, + 0x65, 0x6e, 0x64, 0x65, 0x72, 0x22, 0x1d, 0x0a, 0x1b, 0x41, 0x64, 0x64, 0x54, 0x6f, 0x57, 0x68, + 0x69, 0x74, 0x65, 0x6c, 0x69, 0x73, 0x74, 0x41, 0x64, 0x6d, 0x69, 0x6e, 0x52, 0x65, 0x73, 0x70, + 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x60, 0x0a, 0x1f, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x46, 0x72, + 0x6f, 0x6d, 0x57, 0x68, 0x69, 0x74, 0x65, 0x6c, 0x69, 0x73, 0x74, 0x41, 0x64, 0x6d, 0x69, 0x6e, + 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x73, 0x65, 0x6e, 0x64, 0x65, + 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x73, 0x65, 0x6e, 0x64, 0x65, 0x72, 0x12, + 0x18, 0x0a, 0x07, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, + 0x52, 0x07, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x3a, 0x0b, 0x82, 0xe7, 0xb0, 0x2a, 0x06, + 0x73, 0x65, 0x6e, 0x64, 0x65, 0x72, 0x22, 0x22, 0x0a, 0x20, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65, + 0x46, 0x72, 0x6f, 0x6d, 0x57, 0x68, 0x69, 0x74, 0x65, 0x6c, 0x69, 0x73, 0x74, 0x41, 0x64, 0x6d, + 0x69, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x63, 0x0a, 0x21, 0x45, 0x6e, + 0x61, 0x62, 0x6c, 0x65, 0x54, 0x6f, 0x70, 0x69, 0x63, 0x57, 0x6f, 0x72, 0x6b, 0x65, 0x72, 0x57, + 0x68, 0x69, 0x74, 0x65, 0x6c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, + 0x16, 0x0a, 0x06, 0x73, 0x65, 0x6e, 0x64, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x06, 0x73, 0x65, 0x6e, 0x64, 0x65, 0x72, 0x12, 0x19, 0x0a, 0x08, 0x74, 0x6f, 0x70, 0x69, 0x63, + 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x04, 0x52, 0x07, 0x74, 0x6f, 0x70, 0x69, 0x63, + 0x49, 0x64, 0x3a, 0x0b, 0x82, 0xe7, 0xb0, 0x2a, 0x06, 0x73, 0x65, 0x6e, 0x64, 0x65, 0x72, 0x22, + 0x24, 0x0a, 0x22, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x54, 0x6f, 0x70, 0x69, 0x63, 0x57, 0x6f, + 0x72, 0x6b, 0x65, 0x72, 0x57, 0x68, 0x69, 0x74, 0x65, 0x6c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x73, + 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x64, 0x0a, 0x22, 0x44, 0x69, 0x73, 0x61, 0x62, 0x6c, 0x65, + 0x54, 0x6f, 0x70, 0x69, 0x63, 0x57, 0x6f, 0x72, 0x6b, 0x65, 0x72, 0x57, 0x68, 0x69, 0x74, 0x65, + 0x6c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x73, + 0x65, 0x6e, 0x64, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x73, 0x65, 0x6e, + 0x64, 0x65, 0x72, 0x12, 0x19, 0x0a, 0x08, 0x74, 0x6f, 0x70, 0x69, 0x63, 0x5f, 0x69, 0x64, 0x18, + 0x02, 0x20, 0x01, 0x28, 0x04, 0x52, 0x07, 0x74, 0x6f, 0x70, 0x69, 0x63, 0x49, 0x64, 0x3a, 0x0b, + 0x82, 0xe7, 0xb0, 0x2a, 0x06, 0x73, 0x65, 0x6e, 0x64, 0x65, 0x72, 0x22, 0x25, 0x0a, 0x23, 0x44, + 0x69, 0x73, 0x61, 0x62, 0x6c, 0x65, 0x54, 0x6f, 0x70, 0x69, 0x63, 0x57, 0x6f, 0x72, 0x6b, 0x65, + 0x72, 0x57, 0x68, 0x69, 0x74, 0x65, 0x6c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, + 0x73, 0x65, 0x22, 0x64, 0x0a, 0x22, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x54, 0x6f, 0x70, 0x69, + 0x63, 0x52, 0x65, 0x70, 0x75, 0x74, 0x65, 0x72, 0x57, 0x68, 0x69, 0x74, 0x65, 0x6c, 0x69, 0x73, + 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x73, 0x65, 0x6e, 0x64, + 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x73, 0x65, 0x6e, 0x64, 0x65, 0x72, + 0x12, 0x19, 0x0a, 0x08, 0x74, 0x6f, 0x70, 0x69, 0x63, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, + 0x28, 0x04, 0x52, 0x07, 0x74, 0x6f, 0x70, 0x69, 0x63, 0x49, 0x64, 0x3a, 0x0b, 0x82, 0xe7, 0xb0, + 0x2a, 0x06, 0x73, 0x65, 0x6e, 0x64, 0x65, 0x72, 0x22, 0x25, 0x0a, 0x23, 0x45, 0x6e, 0x61, 0x62, + 0x6c, 0x65, 0x54, 0x6f, 0x70, 0x69, 0x63, 0x52, 0x65, 0x70, 0x75, 0x74, 0x65, 0x72, 0x57, 0x68, + 0x69, 0x74, 0x65, 0x6c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, + 0x65, 0x0a, 0x23, 0x44, 0x69, 0x73, 0x61, 0x62, 0x6c, 0x65, 0x54, 0x6f, 0x70, 0x69, 0x63, 0x52, + 0x65, 0x70, 0x75, 0x74, 0x65, 0x72, 0x57, 0x68, 0x69, 0x74, 0x65, 0x6c, 0x69, 0x73, 0x74, 0x52, + 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x73, 0x65, 0x6e, 0x64, 0x65, 0x72, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x73, 0x65, 0x6e, 0x64, 0x65, 0x72, 0x12, 0x19, + 0x0a, 0x08, 0x74, 0x6f, 0x70, 0x69, 0x63, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x04, + 0x52, 0x07, 0x74, 0x6f, 0x70, 0x69, 0x63, 0x49, 0x64, 0x3a, 0x0b, 0x82, 0xe7, 0xb0, 0x2a, 0x06, + 0x73, 0x65, 0x6e, 0x64, 0x65, 0x72, 0x22, 0x26, 0x0a, 0x24, 0x44, 0x69, 0x73, 0x61, 0x62, 0x6c, + 0x65, 0x54, 0x6f, 0x70, 0x69, 0x63, 0x52, 0x65, 0x70, 0x75, 0x74, 0x65, 0x72, 0x57, 0x68, 0x69, + 0x74, 0x65, 0x6c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x5c, + 0x0a, 0x1b, 0x41, 0x64, 0x64, 0x54, 0x6f, 0x47, 0x6c, 0x6f, 0x62, 0x61, 0x6c, 0x57, 0x68, 0x69, + 0x74, 0x65, 0x6c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x16, 0x0a, + 0x06, 0x73, 0x65, 0x6e, 0x64, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x73, + 0x65, 0x6e, 0x64, 0x65, 0x72, 0x12, 0x18, 0x0a, 0x07, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, + 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x3a, + 0x0b, 0x82, 0xe7, 0xb0, 0x2a, 0x06, 0x73, 0x65, 0x6e, 0x64, 0x65, 0x72, 0x22, 0x1e, 0x0a, 0x1c, + 0x41, 0x64, 0x64, 0x54, 0x6f, 0x47, 0x6c, 0x6f, 0x62, 0x61, 0x6c, 0x57, 0x68, 0x69, 0x74, 0x65, + 0x6c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x61, 0x0a, 0x20, + 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x46, 0x72, 0x6f, 0x6d, 0x47, 0x6c, 0x6f, 0x62, 0x61, 0x6c, + 0x57, 0x68, 0x69, 0x74, 0x65, 0x6c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, + 0x12, 0x16, 0x0a, 0x06, 0x73, 0x65, 0x6e, 0x64, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, + 0x52, 0x06, 0x73, 0x65, 0x6e, 0x64, 0x65, 0x72, 0x12, 0x18, 0x0a, 0x07, 0x61, 0x64, 0x64, 0x72, + 0x65, 0x73, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x61, 0x64, 0x64, 0x72, 0x65, + 0x73, 0x73, 0x3a, 0x0b, 0x82, 0xe7, 0xb0, 0x2a, 0x06, 0x73, 0x65, 0x6e, 0x64, 0x65, 0x72, 0x22, + 0x23, 0x0a, 0x21, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x46, 0x72, 0x6f, 0x6d, 0x47, 0x6c, 0x6f, + 0x62, 0x61, 0x6c, 0x57, 0x68, 0x69, 0x74, 0x65, 0x6c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x73, 0x70, + 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x62, 0x0a, 0x21, 0x41, 0x64, 0x64, 0x54, 0x6f, 0x54, 0x6f, 0x70, + 0x69, 0x63, 0x43, 0x72, 0x65, 0x61, 0x74, 0x6f, 0x72, 0x57, 0x68, 0x69, 0x74, 0x65, 0x6c, 0x69, + 0x73, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x73, 0x65, 0x6e, + 0x64, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x73, 0x65, 0x6e, 0x64, 0x65, + 0x72, 0x12, 0x18, 0x0a, 0x07, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x02, 0x20, 0x01, + 0x28, 0x09, 0x52, 0x07, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x3a, 0x0b, 0x82, 0xe7, 0xb0, + 0x2a, 0x06, 0x73, 0x65, 0x6e, 0x64, 0x65, 0x72, 0x22, 0x24, 0x0a, 0x22, 0x41, 0x64, 0x64, 0x54, + 0x6f, 0x54, 0x6f, 0x70, 0x69, 0x63, 0x43, 0x72, 0x65, 0x61, 0x74, 0x6f, 0x72, 0x57, 0x68, 0x69, + 0x74, 0x65, 0x6c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x62, + 0x0a, 0x21, 0x41, 0x64, 0x64, 0x54, 0x6f, 0x47, 0x6c, 0x6f, 0x62, 0x61, 0x6c, 0x57, 0x6f, 0x72, + 0x6b, 0x65, 0x72, 0x57, 0x68, 0x69, 0x74, 0x65, 0x6c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x71, 0x75, + 0x65, 0x73, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x73, 0x65, 0x6e, 0x64, 0x65, 0x72, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x06, 0x73, 0x65, 0x6e, 0x64, 0x65, 0x72, 0x12, 0x18, 0x0a, 0x07, 0x61, + 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x61, 0x64, + 0x64, 0x72, 0x65, 0x73, 0x73, 0x3a, 0x0b, 0x82, 0xe7, 0xb0, 0x2a, 0x06, 0x73, 0x65, 0x6e, 0x64, + 0x65, 0x72, 0x22, 0x24, 0x0a, 0x22, 0x41, 0x64, 0x64, 0x54, 0x6f, 0x47, 0x6c, 0x6f, 0x62, 0x61, + 0x6c, 0x57, 0x6f, 0x72, 0x6b, 0x65, 0x72, 0x57, 0x68, 0x69, 0x74, 0x65, 0x6c, 0x69, 0x73, 0x74, + 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x67, 0x0a, 0x26, 0x52, 0x65, 0x6d, 0x6f, + 0x76, 0x65, 0x46, 0x72, 0x6f, 0x6d, 0x47, 0x6c, 0x6f, 0x62, 0x61, 0x6c, 0x57, 0x6f, 0x72, 0x6b, + 0x65, 0x72, 0x57, 0x68, 0x69, 0x74, 0x65, 0x6c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, + 0x73, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x73, 0x65, 0x6e, 0x64, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, + 0x28, 0x09, 0x52, 0x06, 0x73, 0x65, 0x6e, 0x64, 0x65, 0x72, 0x12, 0x18, 0x0a, 0x07, 0x61, 0x64, + 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x61, 0x64, 0x64, + 0x72, 0x65, 0x73, 0x73, 0x3a, 0x0b, 0x82, 0xe7, 0xb0, 0x2a, 0x06, 0x73, 0x65, 0x6e, 0x64, 0x65, + 0x72, 0x22, 0x29, 0x0a, 0x27, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x46, 0x72, 0x6f, 0x6d, 0x47, + 0x6c, 0x6f, 0x62, 0x61, 0x6c, 0x57, 0x6f, 0x72, 0x6b, 0x65, 0x72, 0x57, 0x68, 0x69, 0x74, 0x65, + 0x6c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x63, 0x0a, 0x22, + 0x41, 0x64, 0x64, 0x54, 0x6f, 0x47, 0x6c, 0x6f, 0x62, 0x61, 0x6c, 0x52, 0x65, 0x70, 0x75, 0x74, + 0x65, 0x72, 0x57, 0x68, 0x69, 0x74, 0x65, 0x6c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, + 0x73, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x73, 0x65, 0x6e, 0x64, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, + 0x28, 0x09, 0x52, 0x06, 0x73, 0x65, 0x6e, 0x64, 0x65, 0x72, 0x12, 0x18, 0x0a, 0x07, 0x61, 0x64, + 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x61, 0x64, 0x64, + 0x72, 0x65, 0x73, 0x73, 0x3a, 0x0b, 0x82, 0xe7, 0xb0, 0x2a, 0x06, 0x73, 0x65, 0x6e, 0x64, 0x65, + 0x72, 0x22, 0x25, 0x0a, 0x23, 0x41, 0x64, 0x64, 0x54, 0x6f, 0x47, 0x6c, 0x6f, 0x62, 0x61, 0x6c, + 0x52, 0x65, 0x70, 0x75, 0x74, 0x65, 0x72, 0x57, 0x68, 0x69, 0x74, 0x65, 0x6c, 0x69, 0x73, 0x74, + 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x68, 0x0a, 0x27, 0x52, 0x65, 0x6d, 0x6f, + 0x76, 0x65, 0x46, 0x72, 0x6f, 0x6d, 0x47, 0x6c, 0x6f, 0x62, 0x61, 0x6c, 0x52, 0x65, 0x70, 0x75, + 0x74, 0x65, 0x72, 0x57, 0x68, 0x69, 0x74, 0x65, 0x6c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x71, 0x75, + 0x65, 0x73, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x73, 0x65, 0x6e, 0x64, 0x65, 0x72, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x06, 0x73, 0x65, 0x6e, 0x64, 0x65, 0x72, 0x12, 0x18, 0x0a, 0x07, 0x61, + 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x61, 0x64, + 0x64, 0x72, 0x65, 0x73, 0x73, 0x3a, 0x0b, 0x82, 0xe7, 0xb0, 0x2a, 0x06, 0x73, 0x65, 0x6e, 0x64, + 0x65, 0x72, 0x22, 0x2a, 0x0a, 0x28, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x46, 0x72, 0x6f, 0x6d, + 0x47, 0x6c, 0x6f, 0x62, 0x61, 0x6c, 0x52, 0x65, 0x70, 0x75, 0x74, 0x65, 0x72, 0x57, 0x68, 0x69, + 0x74, 0x65, 0x6c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x61, + 0x0a, 0x20, 0x41, 0x64, 0x64, 0x54, 0x6f, 0x47, 0x6c, 0x6f, 0x62, 0x61, 0x6c, 0x41, 0x64, 0x6d, + 0x69, 0x6e, 0x57, 0x68, 0x69, 0x74, 0x65, 0x6c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, + 0x73, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x73, 0x65, 0x6e, 0x64, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, + 0x28, 0x09, 0x52, 0x06, 0x73, 0x65, 0x6e, 0x64, 0x65, 0x72, 0x12, 0x18, 0x0a, 0x07, 0x61, 0x64, + 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x61, 0x64, 0x64, + 0x72, 0x65, 0x73, 0x73, 0x3a, 0x0b, 0x82, 0xe7, 0xb0, 0x2a, 0x06, 0x73, 0x65, 0x6e, 0x64, 0x65, + 0x72, 0x22, 0x23, 0x0a, 0x21, 0x41, 0x64, 0x64, 0x54, 0x6f, 0x47, 0x6c, 0x6f, 0x62, 0x61, 0x6c, + 0x41, 0x64, 0x6d, 0x69, 0x6e, 0x57, 0x68, 0x69, 0x74, 0x65, 0x6c, 0x69, 0x73, 0x74, 0x52, 0x65, + 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x66, 0x0a, 0x25, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65, + 0x46, 0x72, 0x6f, 0x6d, 0x47, 0x6c, 0x6f, 0x62, 0x61, 0x6c, 0x41, 0x64, 0x6d, 0x69, 0x6e, 0x57, + 0x68, 0x69, 0x74, 0x65, 0x6c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, + 0x16, 0x0a, 0x06, 0x73, 0x65, 0x6e, 0x64, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x06, 0x73, 0x65, 0x6e, 0x64, 0x65, 0x72, 0x12, 0x18, 0x0a, 0x07, 0x61, 0x64, 0x64, 0x72, 0x65, + 0x73, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, + 0x73, 0x3a, 0x0b, 0x82, 0xe7, 0xb0, 0x2a, 0x06, 0x73, 0x65, 0x6e, 0x64, 0x65, 0x72, 0x22, 0x28, + 0x0a, 0x26, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x46, 0x72, 0x6f, 0x6d, 0x47, 0x6c, 0x6f, 0x62, + 0x61, 0x6c, 0x41, 0x64, 0x6d, 0x69, 0x6e, 0x57, 0x68, 0x69, 0x74, 0x65, 0x6c, 0x69, 0x73, 0x74, + 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x6a, 0x0a, 0x25, 0x42, 0x75, 0x6c, 0x6b, + 0x41, 0x64, 0x64, 0x54, 0x6f, 0x47, 0x6c, 0x6f, 0x62, 0x61, 0x6c, 0x57, 0x6f, 0x72, 0x6b, 0x65, + 0x72, 0x57, 0x68, 0x69, 0x74, 0x65, 0x6c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, + 0x74, 0x12, 0x16, 0x0a, 0x06, 0x73, 0x65, 0x6e, 0x64, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, + 0x09, 0x52, 0x06, 0x73, 0x65, 0x6e, 0x64, 0x65, 0x72, 0x12, 0x1c, 0x0a, 0x09, 0x61, 0x64, 0x64, + 0x72, 0x65, 0x73, 0x73, 0x65, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x09, 0x52, 0x09, 0x61, 0x64, + 0x64, 0x72, 0x65, 0x73, 0x73, 0x65, 0x73, 0x3a, 0x0b, 0x82, 0xe7, 0xb0, 0x2a, 0x06, 0x73, 0x65, + 0x6e, 0x64, 0x65, 0x72, 0x22, 0x28, 0x0a, 0x26, 0x42, 0x75, 0x6c, 0x6b, 0x41, 0x64, 0x64, 0x54, + 0x6f, 0x47, 0x6c, 0x6f, 0x62, 0x61, 0x6c, 0x57, 0x6f, 0x72, 0x6b, 0x65, 0x72, 0x57, 0x68, 0x69, + 0x74, 0x65, 0x6c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x6f, + 0x0a, 0x2a, 0x42, 0x75, 0x6c, 0x6b, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x46, 0x72, 0x6f, 0x6d, + 0x47, 0x6c, 0x6f, 0x62, 0x61, 0x6c, 0x57, 0x6f, 0x72, 0x6b, 0x65, 0x72, 0x57, 0x68, 0x69, 0x74, + 0x65, 0x6c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x16, 0x0a, 0x06, + 0x73, 0x65, 0x6e, 0x64, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x73, 0x65, + 0x6e, 0x64, 0x65, 0x72, 0x12, 0x1c, 0x0a, 0x09, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x65, + 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x09, 0x52, 0x09, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, + 0x65, 0x73, 0x3a, 0x0b, 0x82, 0xe7, 0xb0, 0x2a, 0x06, 0x73, 0x65, 0x6e, 0x64, 0x65, 0x72, 0x22, + 0x2d, 0x0a, 0x2b, 0x42, 0x75, 0x6c, 0x6b, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x46, 0x72, 0x6f, + 0x6d, 0x47, 0x6c, 0x6f, 0x62, 0x61, 0x6c, 0x57, 0x6f, 0x72, 0x6b, 0x65, 0x72, 0x57, 0x68, 0x69, + 0x74, 0x65, 0x6c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x6b, + 0x0a, 0x26, 0x42, 0x75, 0x6c, 0x6b, 0x41, 0x64, 0x64, 0x54, 0x6f, 0x47, 0x6c, 0x6f, 0x62, 0x61, + 0x6c, 0x52, 0x65, 0x70, 0x75, 0x74, 0x65, 0x72, 0x57, 0x68, 0x69, 0x74, 0x65, 0x6c, 0x69, 0x73, + 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x73, 0x65, 0x6e, 0x64, + 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x73, 0x65, 0x6e, 0x64, 0x65, 0x72, + 0x12, 0x1c, 0x0a, 0x09, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x65, 0x73, 0x18, 0x02, 0x20, + 0x03, 0x28, 0x09, 0x52, 0x09, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x65, 0x73, 0x3a, 0x0b, + 0x82, 0xe7, 0xb0, 0x2a, 0x06, 0x73, 0x65, 0x6e, 0x64, 0x65, 0x72, 0x22, 0x29, 0x0a, 0x27, 0x42, + 0x75, 0x6c, 0x6b, 0x41, 0x64, 0x64, 0x54, 0x6f, 0x47, 0x6c, 0x6f, 0x62, 0x61, 0x6c, 0x52, 0x65, + 0x70, 0x75, 0x74, 0x65, 0x72, 0x57, 0x68, 0x69, 0x74, 0x65, 0x6c, 0x69, 0x73, 0x74, 0x52, 0x65, + 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x70, 0x0a, 0x2b, 0x42, 0x75, 0x6c, 0x6b, 0x52, 0x65, + 0x6d, 0x6f, 0x76, 0x65, 0x46, 0x72, 0x6f, 0x6d, 0x47, 0x6c, 0x6f, 0x62, 0x61, 0x6c, 0x52, 0x65, + 0x70, 0x75, 0x74, 0x65, 0x72, 0x57, 0x68, 0x69, 0x74, 0x65, 0x6c, 0x69, 0x73, 0x74, 0x52, 0x65, + 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x73, 0x65, 0x6e, 0x64, 0x65, 0x72, 0x18, + 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x73, 0x65, 0x6e, 0x64, 0x65, 0x72, 0x12, 0x1c, 0x0a, + 0x09, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x65, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x09, + 0x52, 0x09, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x65, 0x73, 0x3a, 0x0b, 0x82, 0xe7, 0xb0, + 0x2a, 0x06, 0x73, 0x65, 0x6e, 0x64, 0x65, 0x72, 0x22, 0x2e, 0x0a, 0x2c, 0x42, 0x75, 0x6c, 0x6b, + 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x46, 0x72, 0x6f, 0x6d, 0x47, 0x6c, 0x6f, 0x62, 0x61, 0x6c, + 0x52, 0x65, 0x70, 0x75, 0x74, 0x65, 0x72, 0x57, 0x68, 0x69, 0x74, 0x65, 0x6c, 0x69, 0x73, 0x74, + 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x84, 0x01, 0x0a, 0x24, 0x42, 0x75, 0x6c, + 0x6b, 0x41, 0x64, 0x64, 0x54, 0x6f, 0x54, 0x6f, 0x70, 0x69, 0x63, 0x57, 0x6f, 0x72, 0x6b, 0x65, + 0x72, 0x57, 0x68, 0x69, 0x74, 0x65, 0x6c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, + 0x74, 0x12, 0x16, 0x0a, 0x06, 0x73, 0x65, 0x6e, 0x64, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, + 0x09, 0x52, 0x06, 0x73, 0x65, 0x6e, 0x64, 0x65, 0x72, 0x12, 0x1c, 0x0a, 0x09, 0x61, 0x64, 0x64, + 0x72, 0x65, 0x73, 0x73, 0x65, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x09, 0x52, 0x09, 0x61, 0x64, + 0x64, 0x72, 0x65, 0x73, 0x73, 0x65, 0x73, 0x12, 0x19, 0x0a, 0x08, 0x74, 0x6f, 0x70, 0x69, 0x63, + 0x5f, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x04, 0x52, 0x07, 0x74, 0x6f, 0x70, 0x69, 0x63, + 0x49, 0x64, 0x3a, 0x0b, 0x82, 0xe7, 0xb0, 0x2a, 0x06, 0x73, 0x65, 0x6e, 0x64, 0x65, 0x72, 0x22, + 0x27, 0x0a, 0x25, 0x42, 0x75, 0x6c, 0x6b, 0x41, 0x64, 0x64, 0x54, 0x6f, 0x54, 0x6f, 0x70, 0x69, + 0x63, 0x57, 0x6f, 0x72, 0x6b, 0x65, 0x72, 0x57, 0x68, 0x69, 0x74, 0x65, 0x6c, 0x69, 0x73, 0x74, + 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x89, 0x01, 0x0a, 0x29, 0x42, 0x75, 0x6c, + 0x6b, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x46, 0x72, 0x6f, 0x6d, 0x54, 0x6f, 0x70, 0x69, 0x63, + 0x57, 0x6f, 0x72, 0x6b, 0x65, 0x72, 0x57, 0x68, 0x69, 0x74, 0x65, 0x6c, 0x69, 0x73, 0x74, 0x52, + 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x73, 0x65, 0x6e, 0x64, 0x65, 0x72, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x73, 0x65, 0x6e, 0x64, 0x65, 0x72, 0x12, 0x1c, + 0x0a, 0x09, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x65, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, + 0x09, 0x52, 0x09, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x65, 0x73, 0x12, 0x19, 0x0a, 0x08, + 0x74, 0x6f, 0x70, 0x69, 0x63, 0x5f, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x04, 0x52, 0x07, + 0x74, 0x6f, 0x70, 0x69, 0x63, 0x49, 0x64, 0x3a, 0x0b, 0x82, 0xe7, 0xb0, 0x2a, 0x06, 0x73, 0x65, + 0x6e, 0x64, 0x65, 0x72, 0x22, 0x2c, 0x0a, 0x2a, 0x42, 0x75, 0x6c, 0x6b, 0x52, 0x65, 0x6d, 0x6f, + 0x76, 0x65, 0x46, 0x72, 0x6f, 0x6d, 0x54, 0x6f, 0x70, 0x69, 0x63, 0x57, 0x6f, 0x72, 0x6b, 0x65, + 0x72, 0x57, 0x68, 0x69, 0x74, 0x65, 0x6c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, + 0x73, 0x65, 0x22, 0x85, 0x01, 0x0a, 0x25, 0x42, 0x75, 0x6c, 0x6b, 0x41, 0x64, 0x64, 0x54, 0x6f, + 0x54, 0x6f, 0x70, 0x69, 0x63, 0x52, 0x65, 0x70, 0x75, 0x74, 0x65, 0x72, 0x57, 0x68, 0x69, 0x74, + 0x65, 0x6c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x16, 0x0a, 0x06, + 0x73, 0x65, 0x6e, 0x64, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x73, 0x65, + 0x6e, 0x64, 0x65, 0x72, 0x12, 0x1c, 0x0a, 0x09, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x65, + 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x09, 0x52, 0x09, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, + 0x65, 0x73, 0x12, 0x19, 0x0a, 0x08, 0x74, 0x6f, 0x70, 0x69, 0x63, 0x5f, 0x69, 0x64, 0x18, 0x03, + 0x20, 0x01, 0x28, 0x04, 0x52, 0x07, 0x74, 0x6f, 0x70, 0x69, 0x63, 0x49, 0x64, 0x3a, 0x0b, 0x82, + 0xe7, 0xb0, 0x2a, 0x06, 0x73, 0x65, 0x6e, 0x64, 0x65, 0x72, 0x22, 0x28, 0x0a, 0x26, 0x42, 0x75, + 0x6c, 0x6b, 0x41, 0x64, 0x64, 0x54, 0x6f, 0x54, 0x6f, 0x70, 0x69, 0x63, 0x52, 0x65, 0x70, 0x75, + 0x74, 0x65, 0x72, 0x57, 0x68, 0x69, 0x74, 0x65, 0x6c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x73, 0x70, + 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x8a, 0x01, 0x0a, 0x2a, 0x42, 0x75, 0x6c, 0x6b, 0x52, 0x65, 0x6d, + 0x6f, 0x76, 0x65, 0x46, 0x72, 0x6f, 0x6d, 0x54, 0x6f, 0x70, 0x69, 0x63, 0x52, 0x65, 0x70, 0x75, + 0x74, 0x65, 0x72, 0x57, 0x68, 0x69, 0x74, 0x65, 0x6c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x71, 0x75, + 0x65, 0x73, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x73, 0x65, 0x6e, 0x64, 0x65, 0x72, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x06, 0x73, 0x65, 0x6e, 0x64, 0x65, 0x72, 0x12, 0x1c, 0x0a, 0x09, 0x61, + 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x65, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x09, 0x52, 0x09, + 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x65, 0x73, 0x12, 0x19, 0x0a, 0x08, 0x74, 0x6f, 0x70, + 0x69, 0x63, 0x5f, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x04, 0x52, 0x07, 0x74, 0x6f, 0x70, + 0x69, 0x63, 0x49, 0x64, 0x3a, 0x0b, 0x82, 0xe7, 0xb0, 0x2a, 0x06, 0x73, 0x65, 0x6e, 0x64, 0x65, + 0x72, 0x22, 0x2d, 0x0a, 0x2b, 0x42, 0x75, 0x6c, 0x6b, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x46, + 0x72, 0x6f, 0x6d, 0x54, 0x6f, 0x70, 0x69, 0x63, 0x52, 0x65, 0x70, 0x75, 0x74, 0x65, 0x72, 0x57, + 0x68, 0x69, 0x74, 0x65, 0x6c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, + 0x22, 0x67, 0x0a, 0x26, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x46, 0x72, 0x6f, 0x6d, 0x54, 0x6f, + 0x70, 0x69, 0x63, 0x43, 0x72, 0x65, 0x61, 0x74, 0x6f, 0x72, 0x57, 0x68, 0x69, 0x74, 0x65, 0x6c, + 0x69, 0x73, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x73, 0x65, + 0x6e, 0x64, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x73, 0x65, 0x6e, 0x64, + 0x65, 0x72, 0x12, 0x18, 0x0a, 0x07, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x02, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x07, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x3a, 0x0b, 0x82, 0xe7, + 0xb0, 0x2a, 0x06, 0x73, 0x65, 0x6e, 0x64, 0x65, 0x72, 0x22, 0x29, 0x0a, 0x27, 0x52, 0x65, 0x6d, + 0x6f, 0x76, 0x65, 0x46, 0x72, 0x6f, 0x6d, 0x54, 0x6f, 0x70, 0x69, 0x63, 0x43, 0x72, 0x65, 0x61, + 0x74, 0x6f, 0x72, 0x57, 0x68, 0x69, 0x74, 0x65, 0x6c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x73, 0x70, + 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x7c, 0x0a, 0x20, 0x41, 0x64, 0x64, 0x54, 0x6f, 0x54, 0x6f, 0x70, + 0x69, 0x63, 0x57, 0x6f, 0x72, 0x6b, 0x65, 0x72, 0x57, 0x68, 0x69, 0x74, 0x65, 0x6c, 0x69, 0x73, + 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x73, 0x65, 0x6e, 0x64, + 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x73, 0x65, 0x6e, 0x64, 0x65, 0x72, + 0x12, 0x18, 0x0a, 0x07, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, + 0x09, 0x52, 0x07, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x19, 0x0a, 0x08, 0x74, 0x6f, + 0x70, 0x69, 0x63, 0x5f, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x04, 0x52, 0x07, 0x74, 0x6f, + 0x70, 0x69, 0x63, 0x49, 0x64, 0x3a, 0x0b, 0x82, 0xe7, 0xb0, 0x2a, 0x06, 0x73, 0x65, 0x6e, 0x64, + 0x65, 0x72, 0x22, 0x23, 0x0a, 0x21, 0x41, 0x64, 0x64, 0x54, 0x6f, 0x54, 0x6f, 0x70, 0x69, 0x63, + 0x57, 0x6f, 0x72, 0x6b, 0x65, 0x72, 0x57, 0x68, 0x69, 0x74, 0x65, 0x6c, 0x69, 0x73, 0x74, 0x52, + 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x81, 0x01, 0x0a, 0x25, 0x52, 0x65, 0x6d, 0x6f, + 0x76, 0x65, 0x46, 0x72, 0x6f, 0x6d, 0x54, 0x6f, 0x70, 0x69, 0x63, 0x57, 0x6f, 0x72, 0x6b, 0x65, + 0x72, 0x57, 0x68, 0x69, 0x74, 0x65, 0x6c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, + 0x74, 0x12, 0x16, 0x0a, 0x06, 0x73, 0x65, 0x6e, 0x64, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, + 0x09, 0x52, 0x06, 0x73, 0x65, 0x6e, 0x64, 0x65, 0x72, 0x12, 0x18, 0x0a, 0x07, 0x61, 0x64, 0x64, + 0x72, 0x65, 0x73, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x61, 0x64, 0x64, 0x72, + 0x65, 0x73, 0x73, 0x12, 0x19, 0x0a, 0x08, 0x74, 0x6f, 0x70, 0x69, 0x63, 0x5f, 0x69, 0x64, 0x18, + 0x03, 0x20, 0x01, 0x28, 0x04, 0x52, 0x07, 0x74, 0x6f, 0x70, 0x69, 0x63, 0x49, 0x64, 0x3a, 0x0b, + 0x82, 0xe7, 0xb0, 0x2a, 0x06, 0x73, 0x65, 0x6e, 0x64, 0x65, 0x72, 0x22, 0x28, 0x0a, 0x26, 0x52, + 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x46, 0x72, 0x6f, 0x6d, 0x54, 0x6f, 0x70, 0x69, 0x63, 0x57, 0x6f, + 0x72, 0x6b, 0x65, 0x72, 0x57, 0x68, 0x69, 0x74, 0x65, 0x6c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x73, + 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x7d, 0x0a, 0x21, 0x41, 0x64, 0x64, 0x54, 0x6f, 0x54, 0x6f, + 0x70, 0x69, 0x63, 0x52, 0x65, 0x70, 0x75, 0x74, 0x65, 0x72, 0x57, 0x68, 0x69, 0x74, 0x65, 0x6c, + 0x69, 0x73, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x73, 0x65, + 0x6e, 0x64, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x73, 0x65, 0x6e, 0x64, + 0x65, 0x72, 0x12, 0x18, 0x0a, 0x07, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x02, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x07, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x19, 0x0a, 0x08, + 0x74, 0x6f, 0x70, 0x69, 0x63, 0x5f, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x04, 0x52, 0x07, + 0x74, 0x6f, 0x70, 0x69, 0x63, 0x49, 0x64, 0x3a, 0x0b, 0x82, 0xe7, 0xb0, 0x2a, 0x06, 0x73, 0x65, + 0x6e, 0x64, 0x65, 0x72, 0x22, 0x24, 0x0a, 0x22, 0x41, 0x64, 0x64, 0x54, 0x6f, 0x54, 0x6f, 0x70, + 0x69, 0x63, 0x52, 0x65, 0x70, 0x75, 0x74, 0x65, 0x72, 0x57, 0x68, 0x69, 0x74, 0x65, 0x6c, 0x69, + 0x73, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x82, 0x01, 0x0a, 0x26, 0x52, + 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x46, 0x72, 0x6f, 0x6d, 0x54, 0x6f, 0x70, 0x69, 0x63, 0x52, 0x65, + 0x70, 0x75, 0x74, 0x65, 0x72, 0x57, 0x68, 0x69, 0x74, 0x65, 0x6c, 0x69, 0x73, 0x74, 0x52, 0x65, + 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x73, 0x65, 0x6e, 0x64, 0x65, 0x72, 0x18, + 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x73, 0x65, 0x6e, 0x64, 0x65, 0x72, 0x12, 0x18, 0x0a, + 0x07, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, + 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x19, 0x0a, 0x08, 0x74, 0x6f, 0x70, 0x69, 0x63, + 0x5f, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x04, 0x52, 0x07, 0x74, 0x6f, 0x70, 0x69, 0x63, + 0x49, 0x64, 0x3a, 0x0b, 0x82, 0xe7, 0xb0, 0x2a, 0x06, 0x73, 0x65, 0x6e, 0x64, 0x65, 0x72, 0x22, + 0x29, 0x0a, 0x27, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x46, 0x72, 0x6f, 0x6d, 0x54, 0x6f, 0x70, + 0x69, 0x63, 0x52, 0x65, 0x70, 0x75, 0x74, 0x65, 0x72, 0x57, 0x68, 0x69, 0x74, 0x65, 0x6c, 0x69, + 0x73, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x32, 0xd3, 0x28, 0x0a, 0x0a, 0x4d, + 0x73, 0x67, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x55, 0x0a, 0x0c, 0x55, 0x70, 0x64, + 0x61, 0x74, 0x65, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x12, 0x21, 0x2e, 0x65, 0x6d, 0x69, 0x73, + 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x38, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x50, + 0x61, 0x72, 0x61, 0x6d, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x22, 0x2e, 0x65, + 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x38, 0x2e, 0x55, 0x70, 0x64, 0x61, + 0x74, 0x65, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, + 0x12, 0x5b, 0x0a, 0x0e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4e, 0x65, 0x77, 0x54, 0x6f, 0x70, + 0x69, 0x63, 0x12, 0x23, 0x2e, 0x65, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, + 0x38, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4e, 0x65, 0x77, 0x54, 0x6f, 0x70, 0x69, 0x63, + 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x24, 0x2e, 0x65, 0x6d, 0x69, 0x73, 0x73, 0x69, + 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x38, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4e, 0x65, 0x77, + 0x54, 0x6f, 0x70, 0x69, 0x63, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x49, 0x0a, + 0x08, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x65, 0x72, 0x12, 0x1d, 0x2e, 0x65, 0x6d, 0x69, 0x73, + 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x38, 0x2e, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x65, + 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1e, 0x2e, 0x65, 0x6d, 0x69, 0x73, 0x73, + 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x38, 0x2e, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x65, 0x72, + 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x67, 0x0a, 0x12, 0x52, 0x65, 0x6d, 0x6f, + 0x76, 0x65, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x27, + 0x2e, 0x65, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x38, 0x2e, 0x52, 0x65, + 0x6d, 0x6f, 0x76, 0x65, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, + 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x28, 0x2e, 0x65, 0x6d, 0x69, 0x73, 0x73, 0x69, + 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x38, 0x2e, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x52, 0x65, 0x67, + 0x69, 0x73, 0x74, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, + 0x65, 0x12, 0x49, 0x0a, 0x08, 0x41, 0x64, 0x64, 0x53, 0x74, 0x61, 0x6b, 0x65, 0x12, 0x1d, 0x2e, + 0x65, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x38, 0x2e, 0x41, 0x64, 0x64, + 0x53, 0x74, 0x61, 0x6b, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1e, 0x2e, 0x65, + 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x38, 0x2e, 0x41, 0x64, 0x64, 0x53, + 0x74, 0x61, 0x6b, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x52, 0x0a, 0x0b, + 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x53, 0x74, 0x61, 0x6b, 0x65, 0x12, 0x20, 0x2e, 0x65, 0x6d, + 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x38, 0x2e, 0x52, 0x65, 0x6d, 0x6f, 0x76, + 0x65, 0x53, 0x74, 0x61, 0x6b, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x21, 0x2e, + 0x65, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x38, 0x2e, 0x52, 0x65, 0x6d, + 0x6f, 0x76, 0x65, 0x53, 0x74, 0x61, 0x6b, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, + 0x12, 0x64, 0x0a, 0x11, 0x43, 0x61, 0x6e, 0x63, 0x65, 0x6c, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65, + 0x53, 0x74, 0x61, 0x6b, 0x65, 0x12, 0x26, 0x2e, 0x65, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, + 0x73, 0x2e, 0x76, 0x38, 0x2e, 0x43, 0x61, 0x6e, 0x63, 0x65, 0x6c, 0x52, 0x65, 0x6d, 0x6f, 0x76, + 0x65, 0x53, 0x74, 0x61, 0x6b, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x27, 0x2e, + 0x65, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x38, 0x2e, 0x43, 0x61, 0x6e, + 0x63, 0x65, 0x6c, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x53, 0x74, 0x61, 0x6b, 0x65, 0x52, 0x65, + 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x58, 0x0a, 0x0d, 0x44, 0x65, 0x6c, 0x65, 0x67, 0x61, + 0x74, 0x65, 0x53, 0x74, 0x61, 0x6b, 0x65, 0x12, 0x22, 0x2e, 0x65, 0x6d, 0x69, 0x73, 0x73, 0x69, + 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x38, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x67, 0x61, 0x74, 0x65, 0x53, + 0x74, 0x61, 0x6b, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x23, 0x2e, 0x65, 0x6d, + 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x38, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x67, + 0x61, 0x74, 0x65, 0x53, 0x74, 0x61, 0x6b, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, + 0x12, 0x6a, 0x0a, 0x13, 0x52, 0x65, 0x77, 0x61, 0x72, 0x64, 0x44, 0x65, 0x6c, 0x65, 0x67, 0x61, + 0x74, 0x65, 0x53, 0x74, 0x61, 0x6b, 0x65, 0x12, 0x28, 0x2e, 0x65, 0x6d, 0x69, 0x73, 0x73, 0x69, + 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x38, 0x2e, 0x52, 0x65, 0x77, 0x61, 0x72, 0x64, 0x44, 0x65, 0x6c, + 0x65, 0x67, 0x61, 0x74, 0x65, 0x53, 0x74, 0x61, 0x6b, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, + 0x74, 0x1a, 0x29, 0x2e, 0x65, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x38, + 0x2e, 0x52, 0x65, 0x77, 0x61, 0x72, 0x64, 0x44, 0x65, 0x6c, 0x65, 0x67, 0x61, 0x74, 0x65, 0x53, + 0x74, 0x61, 0x6b, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x6a, 0x0a, 0x13, + 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x44, 0x65, 0x6c, 0x65, 0x67, 0x61, 0x74, 0x65, 0x53, 0x74, + 0x61, 0x6b, 0x65, 0x12, 0x28, 0x2e, 0x65, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2e, + 0x76, 0x38, 0x2e, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x44, 0x65, 0x6c, 0x65, 0x67, 0x61, 0x74, + 0x65, 0x53, 0x74, 0x61, 0x6b, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x29, 0x2e, + 0x65, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x38, 0x2e, 0x52, 0x65, 0x6d, + 0x6f, 0x76, 0x65, 0x44, 0x65, 0x6c, 0x65, 0x67, 0x61, 0x74, 0x65, 0x53, 0x74, 0x61, 0x6b, 0x65, + 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x7c, 0x0a, 0x19, 0x43, 0x61, 0x6e, 0x63, + 0x65, 0x6c, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x44, 0x65, 0x6c, 0x65, 0x67, 0x61, 0x74, 0x65, + 0x53, 0x74, 0x61, 0x6b, 0x65, 0x12, 0x2e, 0x2e, 0x65, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, + 0x73, 0x2e, 0x76, 0x38, 0x2e, 0x43, 0x61, 0x6e, 0x63, 0x65, 0x6c, 0x52, 0x65, 0x6d, 0x6f, 0x76, + 0x65, 0x44, 0x65, 0x6c, 0x65, 0x67, 0x61, 0x74, 0x65, 0x53, 0x74, 0x61, 0x6b, 0x65, 0x52, 0x65, + 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2f, 0x2e, 0x65, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, + 0x73, 0x2e, 0x76, 0x38, 0x2e, 0x43, 0x61, 0x6e, 0x63, 0x65, 0x6c, 0x52, 0x65, 0x6d, 0x6f, 0x76, + 0x65, 0x44, 0x65, 0x6c, 0x65, 0x67, 0x61, 0x74, 0x65, 0x53, 0x74, 0x61, 0x6b, 0x65, 0x52, 0x65, + 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x4c, 0x0a, 0x09, 0x46, 0x75, 0x6e, 0x64, 0x54, 0x6f, + 0x70, 0x69, 0x63, 0x12, 0x1e, 0x2e, 0x65, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2e, + 0x76, 0x38, 0x2e, 0x46, 0x75, 0x6e, 0x64, 0x54, 0x6f, 0x70, 0x69, 0x63, 0x52, 0x65, 0x71, 0x75, + 0x65, 0x73, 0x74, 0x1a, 0x1f, 0x2e, 0x65, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2e, + 0x76, 0x38, 0x2e, 0x46, 0x75, 0x6e, 0x64, 0x54, 0x6f, 0x70, 0x69, 0x63, 0x52, 0x65, 0x73, 0x70, + 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x6a, 0x0a, 0x13, 0x41, 0x64, 0x64, 0x54, 0x6f, 0x57, 0x68, 0x69, + 0x74, 0x65, 0x6c, 0x69, 0x73, 0x74, 0x41, 0x64, 0x6d, 0x69, 0x6e, 0x12, 0x28, 0x2e, 0x65, 0x6d, + 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x38, 0x2e, 0x41, 0x64, 0x64, 0x54, 0x6f, + 0x57, 0x68, 0x69, 0x74, 0x65, 0x6c, 0x69, 0x73, 0x74, 0x41, 0x64, 0x6d, 0x69, 0x6e, 0x52, 0x65, + 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x29, 0x2e, 0x65, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, + 0x73, 0x2e, 0x76, 0x38, 0x2e, 0x41, 0x64, 0x64, 0x54, 0x6f, 0x57, 0x68, 0x69, 0x74, 0x65, 0x6c, + 0x69, 0x73, 0x74, 0x41, 0x64, 0x6d, 0x69, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, + 0x12, 0x79, 0x0a, 0x18, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x46, 0x72, 0x6f, 0x6d, 0x57, 0x68, + 0x69, 0x74, 0x65, 0x6c, 0x69, 0x73, 0x74, 0x41, 0x64, 0x6d, 0x69, 0x6e, 0x12, 0x2d, 0x2e, 0x65, + 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x38, 0x2e, 0x52, 0x65, 0x6d, 0x6f, + 0x76, 0x65, 0x46, 0x72, 0x6f, 0x6d, 0x57, 0x68, 0x69, 0x74, 0x65, 0x6c, 0x69, 0x73, 0x74, 0x41, + 0x64, 0x6d, 0x69, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2e, 0x2e, 0x65, 0x6d, + 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x38, 0x2e, 0x52, 0x65, 0x6d, 0x6f, 0x76, + 0x65, 0x46, 0x72, 0x6f, 0x6d, 0x57, 0x68, 0x69, 0x74, 0x65, 0x6c, 0x69, 0x73, 0x74, 0x41, 0x64, + 0x6d, 0x69, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x6a, 0x0a, 0x13, 0x49, + 0x6e, 0x73, 0x65, 0x72, 0x74, 0x57, 0x6f, 0x72, 0x6b, 0x65, 0x72, 0x50, 0x61, 0x79, 0x6c, 0x6f, + 0x61, 0x64, 0x12, 0x28, 0x2e, 0x65, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, + 0x38, 0x2e, 0x49, 0x6e, 0x73, 0x65, 0x72, 0x74, 0x57, 0x6f, 0x72, 0x6b, 0x65, 0x72, 0x50, 0x61, + 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x29, 0x2e, 0x65, + 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x38, 0x2e, 0x49, 0x6e, 0x73, 0x65, + 0x72, 0x74, 0x57, 0x6f, 0x72, 0x6b, 0x65, 0x72, 0x50, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x52, + 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x6d, 0x0a, 0x14, 0x49, 0x6e, 0x73, 0x65, 0x72, + 0x74, 0x52, 0x65, 0x70, 0x75, 0x74, 0x65, 0x72, 0x50, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x12, + 0x29, 0x2e, 0x65, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x38, 0x2e, 0x49, + 0x6e, 0x73, 0x65, 0x72, 0x74, 0x52, 0x65, 0x70, 0x75, 0x74, 0x65, 0x72, 0x50, 0x61, 0x79, 0x6c, + 0x6f, 0x61, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2a, 0x2e, 0x65, 0x6d, 0x69, + 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x38, 0x2e, 0x49, 0x6e, 0x73, 0x65, 0x72, 0x74, + 0x52, 0x65, 0x70, 0x75, 0x74, 0x65, 0x72, 0x50, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x52, 0x65, + 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x6d, 0x0a, 0x14, 0x41, 0x64, 0x64, 0x54, 0x6f, 0x47, + 0x6c, 0x6f, 0x62, 0x61, 0x6c, 0x57, 0x68, 0x69, 0x74, 0x65, 0x6c, 0x69, 0x73, 0x74, 0x12, 0x29, + 0x2e, 0x65, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x38, 0x2e, 0x41, 0x64, + 0x64, 0x54, 0x6f, 0x47, 0x6c, 0x6f, 0x62, 0x61, 0x6c, 0x57, 0x68, 0x69, 0x74, 0x65, 0x6c, 0x69, + 0x73, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2a, 0x2e, 0x65, 0x6d, 0x69, 0x73, + 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x38, 0x2e, 0x41, 0x64, 0x64, 0x54, 0x6f, 0x47, 0x6c, + 0x6f, 0x62, 0x61, 0x6c, 0x57, 0x68, 0x69, 0x74, 0x65, 0x6c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x73, + 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x7c, 0x0a, 0x19, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x46, + 0x72, 0x6f, 0x6d, 0x47, 0x6c, 0x6f, 0x62, 0x61, 0x6c, 0x57, 0x68, 0x69, 0x74, 0x65, 0x6c, 0x69, + 0x73, 0x74, 0x12, 0x2e, 0x2e, 0x65, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, + 0x38, 0x2e, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x46, 0x72, 0x6f, 0x6d, 0x47, 0x6c, 0x6f, 0x62, + 0x61, 0x6c, 0x57, 0x68, 0x69, 0x74, 0x65, 0x6c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, + 0x73, 0x74, 0x1a, 0x2f, 0x2e, 0x65, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, + 0x38, 0x2e, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x46, 0x72, 0x6f, 0x6d, 0x47, 0x6c, 0x6f, 0x62, + 0x61, 0x6c, 0x57, 0x68, 0x69, 0x74, 0x65, 0x6c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, + 0x6e, 0x73, 0x65, 0x12, 0x7f, 0x0a, 0x1a, 0x41, 0x64, 0x64, 0x54, 0x6f, 0x47, 0x6c, 0x6f, 0x62, + 0x61, 0x6c, 0x57, 0x6f, 0x72, 0x6b, 0x65, 0x72, 0x57, 0x68, 0x69, 0x74, 0x65, 0x6c, 0x69, 0x73, + 0x74, 0x12, 0x2f, 0x2e, 0x65, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x38, + 0x2e, 0x41, 0x64, 0x64, 0x54, 0x6f, 0x47, 0x6c, 0x6f, 0x62, 0x61, 0x6c, 0x57, 0x6f, 0x72, 0x6b, + 0x65, 0x72, 0x57, 0x68, 0x69, 0x74, 0x65, 0x6c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, + 0x73, 0x74, 0x1a, 0x30, 0x2e, 0x65, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, + 0x38, 0x2e, 0x41, 0x64, 0x64, 0x54, 0x6f, 0x47, 0x6c, 0x6f, 0x62, 0x61, 0x6c, 0x57, 0x6f, 0x72, + 0x6b, 0x65, 0x72, 0x57, 0x68, 0x69, 0x74, 0x65, 0x6c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x73, 0x70, + 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x8e, 0x01, 0x0a, 0x1f, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x46, + 0x72, 0x6f, 0x6d, 0x47, 0x6c, 0x6f, 0x62, 0x61, 0x6c, 0x57, 0x6f, 0x72, 0x6b, 0x65, 0x72, 0x57, + 0x68, 0x69, 0x74, 0x65, 0x6c, 0x69, 0x73, 0x74, 0x12, 0x34, 0x2e, 0x65, 0x6d, 0x69, 0x73, 0x73, + 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x38, 0x2e, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x46, 0x72, + 0x6f, 0x6d, 0x47, 0x6c, 0x6f, 0x62, 0x61, 0x6c, 0x57, 0x6f, 0x72, 0x6b, 0x65, 0x72, 0x57, 0x68, + 0x69, 0x74, 0x65, 0x6c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x35, + 0x2e, 0x65, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x38, 0x2e, 0x52, 0x65, + 0x6d, 0x6f, 0x76, 0x65, 0x46, 0x72, 0x6f, 0x6d, 0x47, 0x6c, 0x6f, 0x62, 0x61, 0x6c, 0x57, 0x6f, + 0x72, 0x6b, 0x65, 0x72, 0x57, 0x68, 0x69, 0x74, 0x65, 0x6c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x73, + 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x82, 0x01, 0x0a, 0x1b, 0x41, 0x64, 0x64, 0x54, 0x6f, 0x47, + 0x6c, 0x6f, 0x62, 0x61, 0x6c, 0x52, 0x65, 0x70, 0x75, 0x74, 0x65, 0x72, 0x57, 0x68, 0x69, 0x74, + 0x65, 0x6c, 0x69, 0x73, 0x74, 0x12, 0x30, 0x2e, 0x65, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, + 0x73, 0x2e, 0x76, 0x38, 0x2e, 0x41, 0x64, 0x64, 0x54, 0x6f, 0x47, 0x6c, 0x6f, 0x62, 0x61, 0x6c, + 0x52, 0x65, 0x70, 0x75, 0x74, 0x65, 0x72, 0x57, 0x68, 0x69, 0x74, 0x65, 0x6c, 0x69, 0x73, 0x74, + 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x31, 0x2e, 0x65, 0x6d, 0x69, 0x73, 0x73, 0x69, + 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x38, 0x2e, 0x41, 0x64, 0x64, 0x54, 0x6f, 0x47, 0x6c, 0x6f, 0x62, + 0x61, 0x6c, 0x52, 0x65, 0x70, 0x75, 0x74, 0x65, 0x72, 0x57, 0x68, 0x69, 0x74, 0x65, 0x6c, 0x69, + 0x73, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x91, 0x01, 0x0a, 0x20, 0x52, + 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x46, 0x72, 0x6f, 0x6d, 0x47, 0x6c, 0x6f, 0x62, 0x61, 0x6c, 0x52, + 0x65, 0x70, 0x75, 0x74, 0x65, 0x72, 0x57, 0x68, 0x69, 0x74, 0x65, 0x6c, 0x69, 0x73, 0x74, 0x12, + 0x35, 0x2e, 0x65, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x38, 0x2e, 0x52, + 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x46, 0x72, 0x6f, 0x6d, 0x47, 0x6c, 0x6f, 0x62, 0x61, 0x6c, 0x52, + 0x65, 0x70, 0x75, 0x74, 0x65, 0x72, 0x57, 0x68, 0x69, 0x74, 0x65, 0x6c, 0x69, 0x73, 0x74, 0x52, + 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x36, 0x2e, 0x65, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, + 0x6e, 0x73, 0x2e, 0x76, 0x38, 0x2e, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x46, 0x72, 0x6f, 0x6d, + 0x47, 0x6c, 0x6f, 0x62, 0x61, 0x6c, 0x52, 0x65, 0x70, 0x75, 0x74, 0x65, 0x72, 0x57, 0x68, 0x69, + 0x74, 0x65, 0x6c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x7c, + 0x0a, 0x19, 0x41, 0x64, 0x64, 0x54, 0x6f, 0x47, 0x6c, 0x6f, 0x62, 0x61, 0x6c, 0x41, 0x64, 0x6d, + 0x69, 0x6e, 0x57, 0x68, 0x69, 0x74, 0x65, 0x6c, 0x69, 0x73, 0x74, 0x12, 0x2e, 0x2e, 0x65, 0x6d, + 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x38, 0x2e, 0x41, 0x64, 0x64, 0x54, 0x6f, + 0x47, 0x6c, 0x6f, 0x62, 0x61, 0x6c, 0x41, 0x64, 0x6d, 0x69, 0x6e, 0x57, 0x68, 0x69, 0x74, 0x65, + 0x6c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2f, 0x2e, 0x65, 0x6d, + 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x38, 0x2e, 0x41, 0x64, 0x64, 0x54, 0x6f, + 0x47, 0x6c, 0x6f, 0x62, 0x61, 0x6c, 0x41, 0x64, 0x6d, 0x69, 0x6e, 0x57, 0x68, 0x69, 0x74, 0x65, + 0x6c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x8b, 0x01, 0x0a, + 0x1e, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x46, 0x72, 0x6f, 0x6d, 0x47, 0x6c, 0x6f, 0x62, 0x61, + 0x6c, 0x41, 0x64, 0x6d, 0x69, 0x6e, 0x57, 0x68, 0x69, 0x74, 0x65, 0x6c, 0x69, 0x73, 0x74, 0x12, + 0x33, 0x2e, 0x65, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x38, 0x2e, 0x52, + 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x46, 0x72, 0x6f, 0x6d, 0x47, 0x6c, 0x6f, 0x62, 0x61, 0x6c, 0x41, + 0x64, 0x6d, 0x69, 0x6e, 0x57, 0x68, 0x69, 0x74, 0x65, 0x6c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x71, + 0x75, 0x65, 0x73, 0x74, 0x1a, 0x34, 0x2e, 0x65, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, + 0x2e, 0x76, 0x38, 0x2e, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x46, 0x72, 0x6f, 0x6d, 0x47, 0x6c, + 0x6f, 0x62, 0x61, 0x6c, 0x41, 0x64, 0x6d, 0x69, 0x6e, 0x57, 0x68, 0x69, 0x74, 0x65, 0x6c, 0x69, + 0x73, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x8b, 0x01, 0x0a, 0x1e, 0x42, + 0x75, 0x6c, 0x6b, 0x41, 0x64, 0x64, 0x54, 0x6f, 0x47, 0x6c, 0x6f, 0x62, 0x61, 0x6c, 0x57, 0x6f, + 0x72, 0x6b, 0x65, 0x72, 0x57, 0x68, 0x69, 0x74, 0x65, 0x6c, 0x69, 0x73, 0x74, 0x12, 0x33, 0x2e, + 0x65, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x38, 0x2e, 0x42, 0x75, 0x6c, + 0x6b, 0x41, 0x64, 0x64, 0x54, 0x6f, 0x47, 0x6c, 0x6f, 0x62, 0x61, 0x6c, 0x57, 0x6f, 0x72, 0x6b, + 0x65, 0x72, 0x57, 0x68, 0x69, 0x74, 0x65, 0x6c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, + 0x73, 0x74, 0x1a, 0x34, 0x2e, 0x65, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, + 0x38, 0x2e, 0x42, 0x75, 0x6c, 0x6b, 0x41, 0x64, 0x64, 0x54, 0x6f, 0x47, 0x6c, 0x6f, 0x62, 0x61, + 0x6c, 0x57, 0x6f, 0x72, 0x6b, 0x65, 0x72, 0x57, 0x68, 0x69, 0x74, 0x65, 0x6c, 0x69, 0x73, 0x74, + 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x9a, 0x01, 0x0a, 0x23, 0x42, 0x75, 0x6c, + 0x6b, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x46, 0x72, 0x6f, 0x6d, 0x47, 0x6c, 0x6f, 0x62, 0x61, + 0x6c, 0x57, 0x6f, 0x72, 0x6b, 0x65, 0x72, 0x57, 0x68, 0x69, 0x74, 0x65, 0x6c, 0x69, 0x73, 0x74, + 0x12, 0x38, 0x2e, 0x65, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x38, 0x2e, + 0x42, 0x75, 0x6c, 0x6b, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x46, 0x72, 0x6f, 0x6d, 0x47, 0x6c, + 0x6f, 0x62, 0x61, 0x6c, 0x57, 0x6f, 0x72, 0x6b, 0x65, 0x72, 0x57, 0x68, 0x69, 0x74, 0x65, 0x6c, + 0x69, 0x73, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x39, 0x2e, 0x65, 0x6d, 0x69, + 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x38, 0x2e, 0x42, 0x75, 0x6c, 0x6b, 0x52, 0x65, + 0x6d, 0x6f, 0x76, 0x65, 0x46, 0x72, 0x6f, 0x6d, 0x47, 0x6c, 0x6f, 0x62, 0x61, 0x6c, 0x57, 0x6f, + 0x72, 0x6b, 0x65, 0x72, 0x57, 0x68, 0x69, 0x74, 0x65, 0x6c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x73, + 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x8e, 0x01, 0x0a, 0x1f, 0x42, 0x75, 0x6c, 0x6b, 0x41, 0x64, + 0x64, 0x54, 0x6f, 0x47, 0x6c, 0x6f, 0x62, 0x61, 0x6c, 0x52, 0x65, 0x70, 0x75, 0x74, 0x65, 0x72, + 0x57, 0x68, 0x69, 0x74, 0x65, 0x6c, 0x69, 0x73, 0x74, 0x12, 0x34, 0x2e, 0x65, 0x6d, 0x69, 0x73, + 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x38, 0x2e, 0x42, 0x75, 0x6c, 0x6b, 0x41, 0x64, 0x64, + 0x54, 0x6f, 0x47, 0x6c, 0x6f, 0x62, 0x61, 0x6c, 0x52, 0x65, 0x70, 0x75, 0x74, 0x65, 0x72, 0x57, + 0x68, 0x69, 0x74, 0x65, 0x6c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, + 0x35, 0x2e, 0x65, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x38, 0x2e, 0x42, + 0x75, 0x6c, 0x6b, 0x41, 0x64, 0x64, 0x54, 0x6f, 0x47, 0x6c, 0x6f, 0x62, 0x61, 0x6c, 0x52, 0x65, + 0x70, 0x75, 0x74, 0x65, 0x72, 0x57, 0x68, 0x69, 0x74, 0x65, 0x6c, 0x69, 0x73, 0x74, 0x52, 0x65, + 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x9d, 0x01, 0x0a, 0x24, 0x42, 0x75, 0x6c, 0x6b, 0x52, + 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x46, 0x72, 0x6f, 0x6d, 0x47, 0x6c, 0x6f, 0x62, 0x61, 0x6c, 0x52, + 0x65, 0x70, 0x75, 0x74, 0x65, 0x72, 0x57, 0x68, 0x69, 0x74, 0x65, 0x6c, 0x69, 0x73, 0x74, 0x12, + 0x39, 0x2e, 0x65, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x38, 0x2e, 0x42, + 0x75, 0x6c, 0x6b, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x46, 0x72, 0x6f, 0x6d, 0x47, 0x6c, 0x6f, + 0x62, 0x61, 0x6c, 0x52, 0x65, 0x70, 0x75, 0x74, 0x65, 0x72, 0x57, 0x68, 0x69, 0x74, 0x65, 0x6c, + 0x69, 0x73, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x3a, 0x2e, 0x65, 0x6d, 0x69, + 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x38, 0x2e, 0x42, 0x75, 0x6c, 0x6b, 0x52, 0x65, + 0x6d, 0x6f, 0x76, 0x65, 0x46, 0x72, 0x6f, 0x6d, 0x47, 0x6c, 0x6f, 0x62, 0x61, 0x6c, 0x52, 0x65, + 0x70, 0x75, 0x74, 0x65, 0x72, 0x57, 0x68, 0x69, 0x74, 0x65, 0x6c, 0x69, 0x73, 0x74, 0x52, 0x65, + 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x88, 0x01, 0x0a, 0x1d, 0x42, 0x75, 0x6c, 0x6b, 0x41, + 0x64, 0x64, 0x54, 0x6f, 0x54, 0x6f, 0x70, 0x69, 0x63, 0x57, 0x6f, 0x72, 0x6b, 0x65, 0x72, 0x57, + 0x68, 0x69, 0x74, 0x65, 0x6c, 0x69, 0x73, 0x74, 0x12, 0x32, 0x2e, 0x65, 0x6d, 0x69, 0x73, 0x73, + 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x38, 0x2e, 0x42, 0x75, 0x6c, 0x6b, 0x41, 0x64, 0x64, 0x54, + 0x6f, 0x54, 0x6f, 0x70, 0x69, 0x63, 0x57, 0x6f, 0x72, 0x6b, 0x65, 0x72, 0x57, 0x68, 0x69, 0x74, + 0x65, 0x6c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x33, 0x2e, 0x65, + 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x38, 0x2e, 0x42, 0x75, 0x6c, 0x6b, + 0x41, 0x64, 0x64, 0x54, 0x6f, 0x54, 0x6f, 0x70, 0x69, 0x63, 0x57, 0x6f, 0x72, 0x6b, 0x65, 0x72, + 0x57, 0x68, 0x69, 0x74, 0x65, 0x6c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, + 0x65, 0x12, 0x97, 0x01, 0x0a, 0x22, 0x42, 0x75, 0x6c, 0x6b, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65, + 0x46, 0x72, 0x6f, 0x6d, 0x54, 0x6f, 0x70, 0x69, 0x63, 0x57, 0x6f, 0x72, 0x6b, 0x65, 0x72, 0x57, + 0x68, 0x69, 0x74, 0x65, 0x6c, 0x69, 0x73, 0x74, 0x12, 0x37, 0x2e, 0x65, 0x6d, 0x69, 0x73, 0x73, + 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x38, 0x2e, 0x42, 0x75, 0x6c, 0x6b, 0x52, 0x65, 0x6d, 0x6f, + 0x76, 0x65, 0x46, 0x72, 0x6f, 0x6d, 0x54, 0x6f, 0x70, 0x69, 0x63, 0x57, 0x6f, 0x72, 0x6b, 0x65, + 0x72, 0x57, 0x68, 0x69, 0x74, 0x65, 0x6c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, + 0x74, 0x1a, 0x38, 0x2e, 0x65, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x38, + 0x2e, 0x42, 0x75, 0x6c, 0x6b, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x46, 0x72, 0x6f, 0x6d, 0x54, + 0x6f, 0x70, 0x69, 0x63, 0x57, 0x6f, 0x72, 0x6b, 0x65, 0x72, 0x57, 0x68, 0x69, 0x74, 0x65, 0x6c, + 0x69, 0x73, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x8b, 0x01, 0x0a, 0x1e, + 0x42, 0x75, 0x6c, 0x6b, 0x41, 0x64, 0x64, 0x54, 0x6f, 0x54, 0x6f, 0x70, 0x69, 0x63, 0x52, 0x65, + 0x70, 0x75, 0x74, 0x65, 0x72, 0x57, 0x68, 0x69, 0x74, 0x65, 0x6c, 0x69, 0x73, 0x74, 0x12, 0x33, + 0x2e, 0x65, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x38, 0x2e, 0x42, 0x75, + 0x6c, 0x6b, 0x41, 0x64, 0x64, 0x54, 0x6f, 0x54, 0x6f, 0x70, 0x69, 0x63, 0x52, 0x65, 0x70, 0x75, + 0x74, 0x65, 0x72, 0x57, 0x68, 0x69, 0x74, 0x65, 0x6c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x71, 0x75, + 0x65, 0x73, 0x74, 0x1a, 0x34, 0x2e, 0x65, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2e, + 0x76, 0x38, 0x2e, 0x42, 0x75, 0x6c, 0x6b, 0x41, 0x64, 0x64, 0x54, 0x6f, 0x54, 0x6f, 0x70, 0x69, + 0x63, 0x52, 0x65, 0x70, 0x75, 0x74, 0x65, 0x72, 0x57, 0x68, 0x69, 0x74, 0x65, 0x6c, 0x69, 0x73, + 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x9a, 0x01, 0x0a, 0x23, 0x42, 0x75, + 0x6c, 0x6b, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x46, 0x72, 0x6f, 0x6d, 0x54, 0x6f, 0x70, 0x69, + 0x63, 0x52, 0x65, 0x70, 0x75, 0x74, 0x65, 0x72, 0x57, 0x68, 0x69, 0x74, 0x65, 0x6c, 0x69, 0x73, + 0x74, 0x12, 0x38, 0x2e, 0x65, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x38, + 0x2e, 0x42, 0x75, 0x6c, 0x6b, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x46, 0x72, 0x6f, 0x6d, 0x54, + 0x6f, 0x70, 0x69, 0x63, 0x52, 0x65, 0x70, 0x75, 0x74, 0x65, 0x72, 0x57, 0x68, 0x69, 0x74, 0x65, + 0x6c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x39, 0x2e, 0x65, 0x6d, + 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x38, 0x2e, 0x42, 0x75, 0x6c, 0x6b, 0x52, + 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x46, 0x72, 0x6f, 0x6d, 0x54, 0x6f, 0x70, 0x69, 0x63, 0x52, 0x65, + 0x70, 0x75, 0x74, 0x65, 0x72, 0x57, 0x68, 0x69, 0x74, 0x65, 0x6c, 0x69, 0x73, 0x74, 0x52, 0x65, + 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x7f, 0x0a, 0x1a, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, + 0x54, 0x6f, 0x70, 0x69, 0x63, 0x57, 0x6f, 0x72, 0x6b, 0x65, 0x72, 0x57, 0x68, 0x69, 0x74, 0x65, + 0x6c, 0x69, 0x73, 0x74, 0x12, 0x2f, 0x2e, 0x65, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, + 0x2e, 0x76, 0x38, 0x2e, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x54, 0x6f, 0x70, 0x69, 0x63, 0x57, + 0x6f, 0x72, 0x6b, 0x65, 0x72, 0x57, 0x68, 0x69, 0x74, 0x65, 0x6c, 0x69, 0x73, 0x74, 0x52, 0x65, + 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x30, 0x2e, 0x65, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, + 0x73, 0x2e, 0x76, 0x38, 0x2e, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x54, 0x6f, 0x70, 0x69, 0x63, + 0x57, 0x6f, 0x72, 0x6b, 0x65, 0x72, 0x57, 0x68, 0x69, 0x74, 0x65, 0x6c, 0x69, 0x73, 0x74, 0x52, + 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x82, 0x01, 0x0a, 0x1b, 0x44, 0x69, 0x73, 0x61, + 0x62, 0x6c, 0x65, 0x54, 0x6f, 0x70, 0x69, 0x63, 0x57, 0x6f, 0x72, 0x6b, 0x65, 0x72, 0x57, 0x68, + 0x69, 0x74, 0x65, 0x6c, 0x69, 0x73, 0x74, 0x12, 0x30, 0x2e, 0x65, 0x6d, 0x69, 0x73, 0x73, 0x69, + 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x38, 0x2e, 0x44, 0x69, 0x73, 0x61, 0x62, 0x6c, 0x65, 0x54, 0x6f, + 0x70, 0x69, 0x63, 0x57, 0x6f, 0x72, 0x6b, 0x65, 0x72, 0x57, 0x68, 0x69, 0x74, 0x65, 0x6c, 0x69, + 0x73, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x31, 0x2e, 0x65, 0x6d, 0x69, 0x73, + 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x38, 0x2e, 0x44, 0x69, 0x73, 0x61, 0x62, 0x6c, 0x65, + 0x54, 0x6f, 0x70, 0x69, 0x63, 0x57, 0x6f, 0x72, 0x6b, 0x65, 0x72, 0x57, 0x68, 0x69, 0x74, 0x65, + 0x6c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x82, 0x01, 0x0a, + 0x1b, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x54, 0x6f, 0x70, 0x69, 0x63, 0x52, 0x65, 0x70, 0x75, + 0x74, 0x65, 0x72, 0x57, 0x68, 0x69, 0x74, 0x65, 0x6c, 0x69, 0x73, 0x74, 0x12, 0x30, 0x2e, 0x65, + 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x38, 0x2e, 0x45, 0x6e, 0x61, 0x62, + 0x6c, 0x65, 0x54, 0x6f, 0x70, 0x69, 0x63, 0x52, 0x65, 0x70, 0x75, 0x74, 0x65, 0x72, 0x57, 0x68, + 0x69, 0x74, 0x65, 0x6c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x31, + 0x2e, 0x65, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x38, 0x2e, 0x45, 0x6e, + 0x61, 0x62, 0x6c, 0x65, 0x54, 0x6f, 0x70, 0x69, 0x63, 0x52, 0x65, 0x70, 0x75, 0x74, 0x65, 0x72, + 0x57, 0x68, 0x69, 0x74, 0x65, 0x6c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, + 0x65, 0x12, 0x85, 0x01, 0x0a, 0x1c, 0x44, 0x69, 0x73, 0x61, 0x62, 0x6c, 0x65, 0x54, 0x6f, 0x70, + 0x69, 0x63, 0x52, 0x65, 0x70, 0x75, 0x74, 0x65, 0x72, 0x57, 0x68, 0x69, 0x74, 0x65, 0x6c, 0x69, + 0x73, 0x74, 0x12, 0x31, 0x2e, 0x65, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, + 0x38, 0x2e, 0x44, 0x69, 0x73, 0x61, 0x62, 0x6c, 0x65, 0x54, 0x6f, 0x70, 0x69, 0x63, 0x52, 0x65, + 0x70, 0x75, 0x74, 0x65, 0x72, 0x57, 0x68, 0x69, 0x74, 0x65, 0x6c, 0x69, 0x73, 0x74, 0x52, 0x65, + 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x32, 0x2e, 0x65, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, + 0x73, 0x2e, 0x76, 0x38, 0x2e, 0x44, 0x69, 0x73, 0x61, 0x62, 0x6c, 0x65, 0x54, 0x6f, 0x70, 0x69, + 0x63, 0x52, 0x65, 0x70, 0x75, 0x74, 0x65, 0x72, 0x57, 0x68, 0x69, 0x74, 0x65, 0x6c, 0x69, 0x73, + 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x7f, 0x0a, 0x1a, 0x41, 0x64, 0x64, + 0x54, 0x6f, 0x54, 0x6f, 0x70, 0x69, 0x63, 0x43, 0x72, 0x65, 0x61, 0x74, 0x6f, 0x72, 0x57, 0x68, + 0x69, 0x74, 0x65, 0x6c, 0x69, 0x73, 0x74, 0x12, 0x2f, 0x2e, 0x65, 0x6d, 0x69, 0x73, 0x73, 0x69, + 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x38, 0x2e, 0x41, 0x64, 0x64, 0x54, 0x6f, 0x54, 0x6f, 0x70, 0x69, + 0x63, 0x43, 0x72, 0x65, 0x61, 0x74, 0x6f, 0x72, 0x57, 0x68, 0x69, 0x74, 0x65, 0x6c, 0x69, 0x73, + 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x30, 0x2e, 0x65, 0x6d, 0x69, 0x73, 0x73, + 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x38, 0x2e, 0x41, 0x64, 0x64, 0x54, 0x6f, 0x54, 0x6f, 0x70, + 0x69, 0x63, 0x43, 0x72, 0x65, 0x61, 0x74, 0x6f, 0x72, 0x57, 0x68, 0x69, 0x74, 0x65, 0x6c, 0x69, + 0x73, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x8e, 0x01, 0x0a, 0x1f, 0x52, + 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x46, 0x72, 0x6f, 0x6d, 0x54, 0x6f, 0x70, 0x69, 0x63, 0x43, 0x72, + 0x65, 0x61, 0x74, 0x6f, 0x72, 0x57, 0x68, 0x69, 0x74, 0x65, 0x6c, 0x69, 0x73, 0x74, 0x12, 0x34, + 0x2e, 0x65, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x38, 0x2e, 0x52, 0x65, + 0x6d, 0x6f, 0x76, 0x65, 0x46, 0x72, 0x6f, 0x6d, 0x54, 0x6f, 0x70, 0x69, 0x63, 0x43, 0x72, 0x65, + 0x61, 0x74, 0x6f, 0x72, 0x57, 0x68, 0x69, 0x74, 0x65, 0x6c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x71, + 0x75, 0x65, 0x73, 0x74, 0x1a, 0x35, 0x2e, 0x65, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, + 0x2e, 0x76, 0x38, 0x2e, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x46, 0x72, 0x6f, 0x6d, 0x54, 0x6f, + 0x70, 0x69, 0x63, 0x43, 0x72, 0x65, 0x61, 0x74, 0x6f, 0x72, 0x57, 0x68, 0x69, 0x74, 0x65, 0x6c, + 0x69, 0x73, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x7c, 0x0a, 0x19, 0x41, + 0x64, 0x64, 0x54, 0x6f, 0x54, 0x6f, 0x70, 0x69, 0x63, 0x57, 0x6f, 0x72, 0x6b, 0x65, 0x72, 0x57, + 0x68, 0x69, 0x74, 0x65, 0x6c, 0x69, 0x73, 0x74, 0x12, 0x2e, 0x2e, 0x65, 0x6d, 0x69, 0x73, 0x73, + 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x38, 0x2e, 0x41, 0x64, 0x64, 0x54, 0x6f, 0x54, 0x6f, 0x70, + 0x69, 0x63, 0x57, 0x6f, 0x72, 0x6b, 0x65, 0x72, 0x57, 0x68, 0x69, 0x74, 0x65, 0x6c, 0x69, 0x73, + 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2f, 0x2e, 0x65, 0x6d, 0x69, 0x73, 0x73, + 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x38, 0x2e, 0x41, 0x64, 0x64, 0x54, 0x6f, 0x54, 0x6f, 0x70, + 0x69, 0x63, 0x57, 0x6f, 0x72, 0x6b, 0x65, 0x72, 0x57, 0x68, 0x69, 0x74, 0x65, 0x6c, 0x69, 0x73, + 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x8b, 0x01, 0x0a, 0x1e, 0x52, 0x65, + 0x6d, 0x6f, 0x76, 0x65, 0x46, 0x72, 0x6f, 0x6d, 0x54, 0x6f, 0x70, 0x69, 0x63, 0x57, 0x6f, 0x72, + 0x6b, 0x65, 0x72, 0x57, 0x68, 0x69, 0x74, 0x65, 0x6c, 0x69, 0x73, 0x74, 0x12, 0x33, 0x2e, 0x65, + 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x38, 0x2e, 0x52, 0x65, 0x6d, 0x6f, + 0x76, 0x65, 0x46, 0x72, 0x6f, 0x6d, 0x54, 0x6f, 0x70, 0x69, 0x63, 0x57, 0x6f, 0x72, 0x6b, 0x65, + 0x72, 0x57, 0x68, 0x69, 0x74, 0x65, 0x6c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, + 0x74, 0x1a, 0x34, 0x2e, 0x65, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x38, + 0x2e, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x46, 0x72, 0x6f, 0x6d, 0x54, 0x6f, 0x70, 0x69, 0x63, + 0x57, 0x6f, 0x72, 0x6b, 0x65, 0x72, 0x57, 0x68, 0x69, 0x74, 0x65, 0x6c, 0x69, 0x73, 0x74, 0x52, + 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x7f, 0x0a, 0x1a, 0x41, 0x64, 0x64, 0x54, 0x6f, + 0x54, 0x6f, 0x70, 0x69, 0x63, 0x52, 0x65, 0x70, 0x75, 0x74, 0x65, 0x72, 0x57, 0x68, 0x69, 0x74, + 0x65, 0x6c, 0x69, 0x73, 0x74, 0x12, 0x2f, 0x2e, 0x65, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, + 0x73, 0x2e, 0x76, 0x38, 0x2e, 0x41, 0x64, 0x64, 0x54, 0x6f, 0x54, 0x6f, 0x70, 0x69, 0x63, 0x52, + 0x65, 0x70, 0x75, 0x74, 0x65, 0x72, 0x57, 0x68, 0x69, 0x74, 0x65, 0x6c, 0x69, 0x73, 0x74, 0x52, + 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x30, 0x2e, 0x65, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, + 0x6e, 0x73, 0x2e, 0x76, 0x38, 0x2e, 0x41, 0x64, 0x64, 0x54, 0x6f, 0x54, 0x6f, 0x70, 0x69, 0x63, + 0x52, 0x65, 0x70, 0x75, 0x74, 0x65, 0x72, 0x57, 0x68, 0x69, 0x74, 0x65, 0x6c, 0x69, 0x73, 0x74, + 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x8e, 0x01, 0x0a, 0x1f, 0x52, 0x65, 0x6d, + 0x6f, 0x76, 0x65, 0x46, 0x72, 0x6f, 0x6d, 0x54, 0x6f, 0x70, 0x69, 0x63, 0x52, 0x65, 0x70, 0x75, + 0x74, 0x65, 0x72, 0x57, 0x68, 0x69, 0x74, 0x65, 0x6c, 0x69, 0x73, 0x74, 0x12, 0x34, 0x2e, 0x65, + 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x38, 0x2e, 0x52, 0x65, 0x6d, 0x6f, + 0x76, 0x65, 0x46, 0x72, 0x6f, 0x6d, 0x54, 0x6f, 0x70, 0x69, 0x63, 0x52, 0x65, 0x70, 0x75, 0x74, + 0x65, 0x72, 0x57, 0x68, 0x69, 0x74, 0x65, 0x6c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, + 0x73, 0x74, 0x1a, 0x35, 0x2e, 0x65, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, + 0x38, 0x2e, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x46, 0x72, 0x6f, 0x6d, 0x54, 0x6f, 0x70, 0x69, + 0x63, 0x52, 0x65, 0x70, 0x75, 0x74, 0x65, 0x72, 0x57, 0x68, 0x69, 0x74, 0x65, 0x6c, 0x69, 0x73, + 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x1a, 0x05, 0x80, 0xe7, 0xb0, 0x2a, 0x01, + 0x42, 0xbd, 0x01, 0x0a, 0x10, 0x63, 0x6f, 0x6d, 0x2e, 0x65, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, + 0x6e, 0x73, 0x2e, 0x76, 0x38, 0x42, 0x07, 0x54, 0x78, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, + 0x5a, 0x4f, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x61, 0x6c, 0x6c, + 0x6f, 0x72, 0x61, 0x2d, 0x6e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x2f, 0x61, 0x6c, 0x6c, 0x6f, + 0x72, 0x61, 0x2d, 0x63, 0x68, 0x61, 0x69, 0x6e, 0x2f, 0x78, 0x2f, 0x65, 0x6d, 0x69, 0x73, 0x73, + 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x65, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, + 0x6e, 0x73, 0x2f, 0x76, 0x38, 0x3b, 0x65, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x76, + 0x38, 0xa2, 0x02, 0x03, 0x45, 0x58, 0x58, 0xaa, 0x02, 0x0c, 0x45, 0x6d, 0x69, 0x73, 0x73, 0x69, + 0x6f, 0x6e, 0x73, 0x2e, 0x56, 0x38, 0xca, 0x02, 0x0c, 0x45, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, + 0x6e, 0x73, 0x5c, 0x56, 0x38, 0xe2, 0x02, 0x18, 0x45, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, + 0x73, 0x5c, 0x56, 0x38, 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, + 0xea, 0x02, 0x0d, 0x45, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x3a, 0x3a, 0x56, 0x38, + 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_emissions_v8_tx_proto_rawDescOnce sync.Once + file_emissions_v8_tx_proto_rawDescData = file_emissions_v8_tx_proto_rawDesc +) + +func file_emissions_v8_tx_proto_rawDescGZIP() []byte { + file_emissions_v8_tx_proto_rawDescOnce.Do(func() { + file_emissions_v8_tx_proto_rawDescData = protoimpl.X.CompressGZIP(file_emissions_v8_tx_proto_rawDescData) + }) + return file_emissions_v8_tx_proto_rawDescData +} + +var file_emissions_v8_tx_proto_msgTypes = make([]protoimpl.MessageInfo, 85) +var file_emissions_v8_tx_proto_goTypes = []interface{}{ + (*OptionalParams)(nil), // 0: emissions.v8.OptionalParams + (*UpdateParamsRequest)(nil), // 1: emissions.v8.UpdateParamsRequest + (*UpdateParamsResponse)(nil), // 2: emissions.v8.UpdateParamsResponse + (*CreateNewTopicRequest)(nil), // 3: emissions.v8.CreateNewTopicRequest + (*CreateNewTopicResponse)(nil), // 4: emissions.v8.CreateNewTopicResponse + (*InsertReputerPayloadRequest)(nil), // 5: emissions.v8.InsertReputerPayloadRequest + (*InsertReputerPayloadResponse)(nil), // 6: emissions.v8.InsertReputerPayloadResponse + (*InsertWorkerPayloadRequest)(nil), // 7: emissions.v8.InsertWorkerPayloadRequest + (*InsertWorkerPayloadResponse)(nil), // 8: emissions.v8.InsertWorkerPayloadResponse + (*RegisterRequest)(nil), // 9: emissions.v8.RegisterRequest + (*RegisterResponse)(nil), // 10: emissions.v8.RegisterResponse + (*RemoveRegistrationRequest)(nil), // 11: emissions.v8.RemoveRegistrationRequest + (*RemoveRegistrationResponse)(nil), // 12: emissions.v8.RemoveRegistrationResponse + (*AddStakeRequest)(nil), // 13: emissions.v8.AddStakeRequest + (*AddStakeResponse)(nil), // 14: emissions.v8.AddStakeResponse + (*RemoveStakeRequest)(nil), // 15: emissions.v8.RemoveStakeRequest + (*RemoveStakeResponse)(nil), // 16: emissions.v8.RemoveStakeResponse + (*CancelRemoveStakeRequest)(nil), // 17: emissions.v8.CancelRemoveStakeRequest + (*CancelRemoveStakeResponse)(nil), // 18: emissions.v8.CancelRemoveStakeResponse + (*DelegateStakeRequest)(nil), // 19: emissions.v8.DelegateStakeRequest + (*DelegateStakeResponse)(nil), // 20: emissions.v8.DelegateStakeResponse + (*RemoveDelegateStakeRequest)(nil), // 21: emissions.v8.RemoveDelegateStakeRequest + (*RemoveDelegateStakeResponse)(nil), // 22: emissions.v8.RemoveDelegateStakeResponse + (*CancelRemoveDelegateStakeRequest)(nil), // 23: emissions.v8.CancelRemoveDelegateStakeRequest + (*CancelRemoveDelegateStakeResponse)(nil), // 24: emissions.v8.CancelRemoveDelegateStakeResponse + (*RewardDelegateStakeRequest)(nil), // 25: emissions.v8.RewardDelegateStakeRequest + (*RewardDelegateStakeResponse)(nil), // 26: emissions.v8.RewardDelegateStakeResponse + (*FundTopicRequest)(nil), // 27: emissions.v8.FundTopicRequest + (*FundTopicResponse)(nil), // 28: emissions.v8.FundTopicResponse + (*AddToWhitelistAdminRequest)(nil), // 29: emissions.v8.AddToWhitelistAdminRequest + (*AddToWhitelistAdminResponse)(nil), // 30: emissions.v8.AddToWhitelistAdminResponse + (*RemoveFromWhitelistAdminRequest)(nil), // 31: emissions.v8.RemoveFromWhitelistAdminRequest + (*RemoveFromWhitelistAdminResponse)(nil), // 32: emissions.v8.RemoveFromWhitelistAdminResponse + (*EnableTopicWorkerWhitelistRequest)(nil), // 33: emissions.v8.EnableTopicWorkerWhitelistRequest + (*EnableTopicWorkerWhitelistResponse)(nil), // 34: emissions.v8.EnableTopicWorkerWhitelistResponse + (*DisableTopicWorkerWhitelistRequest)(nil), // 35: emissions.v8.DisableTopicWorkerWhitelistRequest + (*DisableTopicWorkerWhitelistResponse)(nil), // 36: emissions.v8.DisableTopicWorkerWhitelistResponse + (*EnableTopicReputerWhitelistRequest)(nil), // 37: emissions.v8.EnableTopicReputerWhitelistRequest + (*EnableTopicReputerWhitelistResponse)(nil), // 38: emissions.v8.EnableTopicReputerWhitelistResponse + (*DisableTopicReputerWhitelistRequest)(nil), // 39: emissions.v8.DisableTopicReputerWhitelistRequest + (*DisableTopicReputerWhitelistResponse)(nil), // 40: emissions.v8.DisableTopicReputerWhitelistResponse + (*AddToGlobalWhitelistRequest)(nil), // 41: emissions.v8.AddToGlobalWhitelistRequest + (*AddToGlobalWhitelistResponse)(nil), // 42: emissions.v8.AddToGlobalWhitelistResponse + (*RemoveFromGlobalWhitelistRequest)(nil), // 43: emissions.v8.RemoveFromGlobalWhitelistRequest + (*RemoveFromGlobalWhitelistResponse)(nil), // 44: emissions.v8.RemoveFromGlobalWhitelistResponse + (*AddToTopicCreatorWhitelistRequest)(nil), // 45: emissions.v8.AddToTopicCreatorWhitelistRequest + (*AddToTopicCreatorWhitelistResponse)(nil), // 46: emissions.v8.AddToTopicCreatorWhitelistResponse + (*AddToGlobalWorkerWhitelistRequest)(nil), // 47: emissions.v8.AddToGlobalWorkerWhitelistRequest + (*AddToGlobalWorkerWhitelistResponse)(nil), // 48: emissions.v8.AddToGlobalWorkerWhitelistResponse + (*RemoveFromGlobalWorkerWhitelistRequest)(nil), // 49: emissions.v8.RemoveFromGlobalWorkerWhitelistRequest + (*RemoveFromGlobalWorkerWhitelistResponse)(nil), // 50: emissions.v8.RemoveFromGlobalWorkerWhitelistResponse + (*AddToGlobalReputerWhitelistRequest)(nil), // 51: emissions.v8.AddToGlobalReputerWhitelistRequest + (*AddToGlobalReputerWhitelistResponse)(nil), // 52: emissions.v8.AddToGlobalReputerWhitelistResponse + (*RemoveFromGlobalReputerWhitelistRequest)(nil), // 53: emissions.v8.RemoveFromGlobalReputerWhitelistRequest + (*RemoveFromGlobalReputerWhitelistResponse)(nil), // 54: emissions.v8.RemoveFromGlobalReputerWhitelistResponse + (*AddToGlobalAdminWhitelistRequest)(nil), // 55: emissions.v8.AddToGlobalAdminWhitelistRequest + (*AddToGlobalAdminWhitelistResponse)(nil), // 56: emissions.v8.AddToGlobalAdminWhitelistResponse + (*RemoveFromGlobalAdminWhitelistRequest)(nil), // 57: emissions.v8.RemoveFromGlobalAdminWhitelistRequest + (*RemoveFromGlobalAdminWhitelistResponse)(nil), // 58: emissions.v8.RemoveFromGlobalAdminWhitelistResponse + (*BulkAddToGlobalWorkerWhitelistRequest)(nil), // 59: emissions.v8.BulkAddToGlobalWorkerWhitelistRequest + (*BulkAddToGlobalWorkerWhitelistResponse)(nil), // 60: emissions.v8.BulkAddToGlobalWorkerWhitelistResponse + (*BulkRemoveFromGlobalWorkerWhitelistRequest)(nil), // 61: emissions.v8.BulkRemoveFromGlobalWorkerWhitelistRequest + (*BulkRemoveFromGlobalWorkerWhitelistResponse)(nil), // 62: emissions.v8.BulkRemoveFromGlobalWorkerWhitelistResponse + (*BulkAddToGlobalReputerWhitelistRequest)(nil), // 63: emissions.v8.BulkAddToGlobalReputerWhitelistRequest + (*BulkAddToGlobalReputerWhitelistResponse)(nil), // 64: emissions.v8.BulkAddToGlobalReputerWhitelistResponse + (*BulkRemoveFromGlobalReputerWhitelistRequest)(nil), // 65: emissions.v8.BulkRemoveFromGlobalReputerWhitelistRequest + (*BulkRemoveFromGlobalReputerWhitelistResponse)(nil), // 66: emissions.v8.BulkRemoveFromGlobalReputerWhitelistResponse + (*BulkAddToTopicWorkerWhitelistRequest)(nil), // 67: emissions.v8.BulkAddToTopicWorkerWhitelistRequest + (*BulkAddToTopicWorkerWhitelistResponse)(nil), // 68: emissions.v8.BulkAddToTopicWorkerWhitelistResponse + (*BulkRemoveFromTopicWorkerWhitelistRequest)(nil), // 69: emissions.v8.BulkRemoveFromTopicWorkerWhitelistRequest + (*BulkRemoveFromTopicWorkerWhitelistResponse)(nil), // 70: emissions.v8.BulkRemoveFromTopicWorkerWhitelistResponse + (*BulkAddToTopicReputerWhitelistRequest)(nil), // 71: emissions.v8.BulkAddToTopicReputerWhitelistRequest + (*BulkAddToTopicReputerWhitelistResponse)(nil), // 72: emissions.v8.BulkAddToTopicReputerWhitelistResponse + (*BulkRemoveFromTopicReputerWhitelistRequest)(nil), // 73: emissions.v8.BulkRemoveFromTopicReputerWhitelistRequest + (*BulkRemoveFromTopicReputerWhitelistResponse)(nil), // 74: emissions.v8.BulkRemoveFromTopicReputerWhitelistResponse + (*RemoveFromTopicCreatorWhitelistRequest)(nil), // 75: emissions.v8.RemoveFromTopicCreatorWhitelistRequest + (*RemoveFromTopicCreatorWhitelistResponse)(nil), // 76: emissions.v8.RemoveFromTopicCreatorWhitelistResponse + (*AddToTopicWorkerWhitelistRequest)(nil), // 77: emissions.v8.AddToTopicWorkerWhitelistRequest + (*AddToTopicWorkerWhitelistResponse)(nil), // 78: emissions.v8.AddToTopicWorkerWhitelistResponse + (*RemoveFromTopicWorkerWhitelistRequest)(nil), // 79: emissions.v8.RemoveFromTopicWorkerWhitelistRequest + (*RemoveFromTopicWorkerWhitelistResponse)(nil), // 80: emissions.v8.RemoveFromTopicWorkerWhitelistResponse + (*AddToTopicReputerWhitelistRequest)(nil), // 81: emissions.v8.AddToTopicReputerWhitelistRequest + (*AddToTopicReputerWhitelistResponse)(nil), // 82: emissions.v8.AddToTopicReputerWhitelistResponse + (*RemoveFromTopicReputerWhitelistRequest)(nil), // 83: emissions.v8.RemoveFromTopicReputerWhitelistRequest + (*RemoveFromTopicReputerWhitelistResponse)(nil), // 84: emissions.v8.RemoveFromTopicReputerWhitelistResponse + (*v3.ReputerValueBundle)(nil), // 85: emissions.v3.ReputerValueBundle + (*v3.WorkerDataBundle)(nil), // 86: emissions.v3.WorkerDataBundle +} +var file_emissions_v8_tx_proto_depIdxs = []int32{ + 0, // 0: emissions.v8.UpdateParamsRequest.params:type_name -> emissions.v8.OptionalParams + 85, // 1: emissions.v8.InsertReputerPayloadRequest.reputer_value_bundle:type_name -> emissions.v3.ReputerValueBundle + 86, // 2: emissions.v8.InsertWorkerPayloadRequest.worker_data_bundle:type_name -> emissions.v3.WorkerDataBundle + 1, // 3: emissions.v8.MsgService.UpdateParams:input_type -> emissions.v8.UpdateParamsRequest + 3, // 4: emissions.v8.MsgService.CreateNewTopic:input_type -> emissions.v8.CreateNewTopicRequest + 9, // 5: emissions.v8.MsgService.Register:input_type -> emissions.v8.RegisterRequest + 11, // 6: emissions.v8.MsgService.RemoveRegistration:input_type -> emissions.v8.RemoveRegistrationRequest + 13, // 7: emissions.v8.MsgService.AddStake:input_type -> emissions.v8.AddStakeRequest + 15, // 8: emissions.v8.MsgService.RemoveStake:input_type -> emissions.v8.RemoveStakeRequest + 17, // 9: emissions.v8.MsgService.CancelRemoveStake:input_type -> emissions.v8.CancelRemoveStakeRequest + 19, // 10: emissions.v8.MsgService.DelegateStake:input_type -> emissions.v8.DelegateStakeRequest + 25, // 11: emissions.v8.MsgService.RewardDelegateStake:input_type -> emissions.v8.RewardDelegateStakeRequest + 21, // 12: emissions.v8.MsgService.RemoveDelegateStake:input_type -> emissions.v8.RemoveDelegateStakeRequest + 23, // 13: emissions.v8.MsgService.CancelRemoveDelegateStake:input_type -> emissions.v8.CancelRemoveDelegateStakeRequest + 27, // 14: emissions.v8.MsgService.FundTopic:input_type -> emissions.v8.FundTopicRequest + 29, // 15: emissions.v8.MsgService.AddToWhitelistAdmin:input_type -> emissions.v8.AddToWhitelistAdminRequest + 31, // 16: emissions.v8.MsgService.RemoveFromWhitelistAdmin:input_type -> emissions.v8.RemoveFromWhitelistAdminRequest + 7, // 17: emissions.v8.MsgService.InsertWorkerPayload:input_type -> emissions.v8.InsertWorkerPayloadRequest + 5, // 18: emissions.v8.MsgService.InsertReputerPayload:input_type -> emissions.v8.InsertReputerPayloadRequest + 41, // 19: emissions.v8.MsgService.AddToGlobalWhitelist:input_type -> emissions.v8.AddToGlobalWhitelistRequest + 43, // 20: emissions.v8.MsgService.RemoveFromGlobalWhitelist:input_type -> emissions.v8.RemoveFromGlobalWhitelistRequest + 47, // 21: emissions.v8.MsgService.AddToGlobalWorkerWhitelist:input_type -> emissions.v8.AddToGlobalWorkerWhitelistRequest + 49, // 22: emissions.v8.MsgService.RemoveFromGlobalWorkerWhitelist:input_type -> emissions.v8.RemoveFromGlobalWorkerWhitelistRequest + 51, // 23: emissions.v8.MsgService.AddToGlobalReputerWhitelist:input_type -> emissions.v8.AddToGlobalReputerWhitelistRequest + 53, // 24: emissions.v8.MsgService.RemoveFromGlobalReputerWhitelist:input_type -> emissions.v8.RemoveFromGlobalReputerWhitelistRequest + 55, // 25: emissions.v8.MsgService.AddToGlobalAdminWhitelist:input_type -> emissions.v8.AddToGlobalAdminWhitelistRequest + 57, // 26: emissions.v8.MsgService.RemoveFromGlobalAdminWhitelist:input_type -> emissions.v8.RemoveFromGlobalAdminWhitelistRequest + 59, // 27: emissions.v8.MsgService.BulkAddToGlobalWorkerWhitelist:input_type -> emissions.v8.BulkAddToGlobalWorkerWhitelistRequest + 61, // 28: emissions.v8.MsgService.BulkRemoveFromGlobalWorkerWhitelist:input_type -> emissions.v8.BulkRemoveFromGlobalWorkerWhitelistRequest + 63, // 29: emissions.v8.MsgService.BulkAddToGlobalReputerWhitelist:input_type -> emissions.v8.BulkAddToGlobalReputerWhitelistRequest + 65, // 30: emissions.v8.MsgService.BulkRemoveFromGlobalReputerWhitelist:input_type -> emissions.v8.BulkRemoveFromGlobalReputerWhitelistRequest + 67, // 31: emissions.v8.MsgService.BulkAddToTopicWorkerWhitelist:input_type -> emissions.v8.BulkAddToTopicWorkerWhitelistRequest + 69, // 32: emissions.v8.MsgService.BulkRemoveFromTopicWorkerWhitelist:input_type -> emissions.v8.BulkRemoveFromTopicWorkerWhitelistRequest + 71, // 33: emissions.v8.MsgService.BulkAddToTopicReputerWhitelist:input_type -> emissions.v8.BulkAddToTopicReputerWhitelistRequest + 73, // 34: emissions.v8.MsgService.BulkRemoveFromTopicReputerWhitelist:input_type -> emissions.v8.BulkRemoveFromTopicReputerWhitelistRequest + 33, // 35: emissions.v8.MsgService.EnableTopicWorkerWhitelist:input_type -> emissions.v8.EnableTopicWorkerWhitelistRequest + 35, // 36: emissions.v8.MsgService.DisableTopicWorkerWhitelist:input_type -> emissions.v8.DisableTopicWorkerWhitelistRequest + 37, // 37: emissions.v8.MsgService.EnableTopicReputerWhitelist:input_type -> emissions.v8.EnableTopicReputerWhitelistRequest + 39, // 38: emissions.v8.MsgService.DisableTopicReputerWhitelist:input_type -> emissions.v8.DisableTopicReputerWhitelistRequest + 45, // 39: emissions.v8.MsgService.AddToTopicCreatorWhitelist:input_type -> emissions.v8.AddToTopicCreatorWhitelistRequest + 75, // 40: emissions.v8.MsgService.RemoveFromTopicCreatorWhitelist:input_type -> emissions.v8.RemoveFromTopicCreatorWhitelistRequest + 77, // 41: emissions.v8.MsgService.AddToTopicWorkerWhitelist:input_type -> emissions.v8.AddToTopicWorkerWhitelistRequest + 79, // 42: emissions.v8.MsgService.RemoveFromTopicWorkerWhitelist:input_type -> emissions.v8.RemoveFromTopicWorkerWhitelistRequest + 81, // 43: emissions.v8.MsgService.AddToTopicReputerWhitelist:input_type -> emissions.v8.AddToTopicReputerWhitelistRequest + 83, // 44: emissions.v8.MsgService.RemoveFromTopicReputerWhitelist:input_type -> emissions.v8.RemoveFromTopicReputerWhitelistRequest + 2, // 45: emissions.v8.MsgService.UpdateParams:output_type -> emissions.v8.UpdateParamsResponse + 4, // 46: emissions.v8.MsgService.CreateNewTopic:output_type -> emissions.v8.CreateNewTopicResponse + 10, // 47: emissions.v8.MsgService.Register:output_type -> emissions.v8.RegisterResponse + 12, // 48: emissions.v8.MsgService.RemoveRegistration:output_type -> emissions.v8.RemoveRegistrationResponse + 14, // 49: emissions.v8.MsgService.AddStake:output_type -> emissions.v8.AddStakeResponse + 16, // 50: emissions.v8.MsgService.RemoveStake:output_type -> emissions.v8.RemoveStakeResponse + 18, // 51: emissions.v8.MsgService.CancelRemoveStake:output_type -> emissions.v8.CancelRemoveStakeResponse + 20, // 52: emissions.v8.MsgService.DelegateStake:output_type -> emissions.v8.DelegateStakeResponse + 26, // 53: emissions.v8.MsgService.RewardDelegateStake:output_type -> emissions.v8.RewardDelegateStakeResponse + 22, // 54: emissions.v8.MsgService.RemoveDelegateStake:output_type -> emissions.v8.RemoveDelegateStakeResponse + 24, // 55: emissions.v8.MsgService.CancelRemoveDelegateStake:output_type -> emissions.v8.CancelRemoveDelegateStakeResponse + 28, // 56: emissions.v8.MsgService.FundTopic:output_type -> emissions.v8.FundTopicResponse + 30, // 57: emissions.v8.MsgService.AddToWhitelistAdmin:output_type -> emissions.v8.AddToWhitelistAdminResponse + 32, // 58: emissions.v8.MsgService.RemoveFromWhitelistAdmin:output_type -> emissions.v8.RemoveFromWhitelistAdminResponse + 8, // 59: emissions.v8.MsgService.InsertWorkerPayload:output_type -> emissions.v8.InsertWorkerPayloadResponse + 6, // 60: emissions.v8.MsgService.InsertReputerPayload:output_type -> emissions.v8.InsertReputerPayloadResponse + 42, // 61: emissions.v8.MsgService.AddToGlobalWhitelist:output_type -> emissions.v8.AddToGlobalWhitelistResponse + 44, // 62: emissions.v8.MsgService.RemoveFromGlobalWhitelist:output_type -> emissions.v8.RemoveFromGlobalWhitelistResponse + 48, // 63: emissions.v8.MsgService.AddToGlobalWorkerWhitelist:output_type -> emissions.v8.AddToGlobalWorkerWhitelistResponse + 50, // 64: emissions.v8.MsgService.RemoveFromGlobalWorkerWhitelist:output_type -> emissions.v8.RemoveFromGlobalWorkerWhitelistResponse + 52, // 65: emissions.v8.MsgService.AddToGlobalReputerWhitelist:output_type -> emissions.v8.AddToGlobalReputerWhitelistResponse + 54, // 66: emissions.v8.MsgService.RemoveFromGlobalReputerWhitelist:output_type -> emissions.v8.RemoveFromGlobalReputerWhitelistResponse + 56, // 67: emissions.v8.MsgService.AddToGlobalAdminWhitelist:output_type -> emissions.v8.AddToGlobalAdminWhitelistResponse + 58, // 68: emissions.v8.MsgService.RemoveFromGlobalAdminWhitelist:output_type -> emissions.v8.RemoveFromGlobalAdminWhitelistResponse + 60, // 69: emissions.v8.MsgService.BulkAddToGlobalWorkerWhitelist:output_type -> emissions.v8.BulkAddToGlobalWorkerWhitelistResponse + 62, // 70: emissions.v8.MsgService.BulkRemoveFromGlobalWorkerWhitelist:output_type -> emissions.v8.BulkRemoveFromGlobalWorkerWhitelistResponse + 64, // 71: emissions.v8.MsgService.BulkAddToGlobalReputerWhitelist:output_type -> emissions.v8.BulkAddToGlobalReputerWhitelistResponse + 66, // 72: emissions.v8.MsgService.BulkRemoveFromGlobalReputerWhitelist:output_type -> emissions.v8.BulkRemoveFromGlobalReputerWhitelistResponse + 68, // 73: emissions.v8.MsgService.BulkAddToTopicWorkerWhitelist:output_type -> emissions.v8.BulkAddToTopicWorkerWhitelistResponse + 70, // 74: emissions.v8.MsgService.BulkRemoveFromTopicWorkerWhitelist:output_type -> emissions.v8.BulkRemoveFromTopicWorkerWhitelistResponse + 72, // 75: emissions.v8.MsgService.BulkAddToTopicReputerWhitelist:output_type -> emissions.v8.BulkAddToTopicReputerWhitelistResponse + 74, // 76: emissions.v8.MsgService.BulkRemoveFromTopicReputerWhitelist:output_type -> emissions.v8.BulkRemoveFromTopicReputerWhitelistResponse + 34, // 77: emissions.v8.MsgService.EnableTopicWorkerWhitelist:output_type -> emissions.v8.EnableTopicWorkerWhitelistResponse + 36, // 78: emissions.v8.MsgService.DisableTopicWorkerWhitelist:output_type -> emissions.v8.DisableTopicWorkerWhitelistResponse + 38, // 79: emissions.v8.MsgService.EnableTopicReputerWhitelist:output_type -> emissions.v8.EnableTopicReputerWhitelistResponse + 40, // 80: emissions.v8.MsgService.DisableTopicReputerWhitelist:output_type -> emissions.v8.DisableTopicReputerWhitelistResponse + 46, // 81: emissions.v8.MsgService.AddToTopicCreatorWhitelist:output_type -> emissions.v8.AddToTopicCreatorWhitelistResponse + 76, // 82: emissions.v8.MsgService.RemoveFromTopicCreatorWhitelist:output_type -> emissions.v8.RemoveFromTopicCreatorWhitelistResponse + 78, // 83: emissions.v8.MsgService.AddToTopicWorkerWhitelist:output_type -> emissions.v8.AddToTopicWorkerWhitelistResponse + 80, // 84: emissions.v8.MsgService.RemoveFromTopicWorkerWhitelist:output_type -> emissions.v8.RemoveFromTopicWorkerWhitelistResponse + 82, // 85: emissions.v8.MsgService.AddToTopicReputerWhitelist:output_type -> emissions.v8.AddToTopicReputerWhitelistResponse + 84, // 86: emissions.v8.MsgService.RemoveFromTopicReputerWhitelist:output_type -> emissions.v8.RemoveFromTopicReputerWhitelistResponse + 45, // [45:87] is the sub-list for method output_type + 3, // [3:45] is the sub-list for method input_type + 3, // [3:3] is the sub-list for extension type_name + 3, // [3:3] is the sub-list for extension extendee + 0, // [0:3] is the sub-list for field type_name +} + +func init() { file_emissions_v8_tx_proto_init() } +func file_emissions_v8_tx_proto_init() { + if File_emissions_v8_tx_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_emissions_v8_tx_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*OptionalParams); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_emissions_v8_tx_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*UpdateParamsRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_emissions_v8_tx_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*UpdateParamsResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_emissions_v8_tx_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*CreateNewTopicRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_emissions_v8_tx_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*CreateNewTopicResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_emissions_v8_tx_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*InsertReputerPayloadRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_emissions_v8_tx_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*InsertReputerPayloadResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_emissions_v8_tx_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*InsertWorkerPayloadRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_emissions_v8_tx_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*InsertWorkerPayloadResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_emissions_v8_tx_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*RegisterRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_emissions_v8_tx_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*RegisterResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_emissions_v8_tx_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*RemoveRegistrationRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_emissions_v8_tx_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*RemoveRegistrationResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_emissions_v8_tx_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*AddStakeRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_emissions_v8_tx_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*AddStakeResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_emissions_v8_tx_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*RemoveStakeRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_emissions_v8_tx_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*RemoveStakeResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_emissions_v8_tx_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*CancelRemoveStakeRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_emissions_v8_tx_proto_msgTypes[18].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*CancelRemoveStakeResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_emissions_v8_tx_proto_msgTypes[19].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*DelegateStakeRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_emissions_v8_tx_proto_msgTypes[20].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*DelegateStakeResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_emissions_v8_tx_proto_msgTypes[21].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*RemoveDelegateStakeRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_emissions_v8_tx_proto_msgTypes[22].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*RemoveDelegateStakeResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_emissions_v8_tx_proto_msgTypes[23].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*CancelRemoveDelegateStakeRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_emissions_v8_tx_proto_msgTypes[24].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*CancelRemoveDelegateStakeResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_emissions_v8_tx_proto_msgTypes[25].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*RewardDelegateStakeRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_emissions_v8_tx_proto_msgTypes[26].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*RewardDelegateStakeResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_emissions_v8_tx_proto_msgTypes[27].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*FundTopicRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_emissions_v8_tx_proto_msgTypes[28].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*FundTopicResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_emissions_v8_tx_proto_msgTypes[29].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*AddToWhitelistAdminRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_emissions_v8_tx_proto_msgTypes[30].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*AddToWhitelistAdminResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_emissions_v8_tx_proto_msgTypes[31].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*RemoveFromWhitelistAdminRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_emissions_v8_tx_proto_msgTypes[32].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*RemoveFromWhitelistAdminResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_emissions_v8_tx_proto_msgTypes[33].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*EnableTopicWorkerWhitelistRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_emissions_v8_tx_proto_msgTypes[34].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*EnableTopicWorkerWhitelistResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_emissions_v8_tx_proto_msgTypes[35].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*DisableTopicWorkerWhitelistRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_emissions_v8_tx_proto_msgTypes[36].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*DisableTopicWorkerWhitelistResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_emissions_v8_tx_proto_msgTypes[37].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*EnableTopicReputerWhitelistRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_emissions_v8_tx_proto_msgTypes[38].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*EnableTopicReputerWhitelistResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_emissions_v8_tx_proto_msgTypes[39].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*DisableTopicReputerWhitelistRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_emissions_v8_tx_proto_msgTypes[40].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*DisableTopicReputerWhitelistResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_emissions_v8_tx_proto_msgTypes[41].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*AddToGlobalWhitelistRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_emissions_v8_tx_proto_msgTypes[42].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*AddToGlobalWhitelistResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_emissions_v8_tx_proto_msgTypes[43].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*RemoveFromGlobalWhitelistRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_emissions_v8_tx_proto_msgTypes[44].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*RemoveFromGlobalWhitelistResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_emissions_v8_tx_proto_msgTypes[45].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*AddToTopicCreatorWhitelistRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_emissions_v8_tx_proto_msgTypes[46].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*AddToTopicCreatorWhitelistResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_emissions_v8_tx_proto_msgTypes[47].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*AddToGlobalWorkerWhitelistRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_emissions_v8_tx_proto_msgTypes[48].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*AddToGlobalWorkerWhitelistResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_emissions_v8_tx_proto_msgTypes[49].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*RemoveFromGlobalWorkerWhitelistRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_emissions_v8_tx_proto_msgTypes[50].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*RemoveFromGlobalWorkerWhitelistResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_emissions_v8_tx_proto_msgTypes[51].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*AddToGlobalReputerWhitelistRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_emissions_v8_tx_proto_msgTypes[52].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*AddToGlobalReputerWhitelistResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_emissions_v8_tx_proto_msgTypes[53].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*RemoveFromGlobalReputerWhitelistRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_emissions_v8_tx_proto_msgTypes[54].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*RemoveFromGlobalReputerWhitelistResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_emissions_v8_tx_proto_msgTypes[55].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*AddToGlobalAdminWhitelistRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_emissions_v8_tx_proto_msgTypes[56].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*AddToGlobalAdminWhitelistResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_emissions_v8_tx_proto_msgTypes[57].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*RemoveFromGlobalAdminWhitelistRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_emissions_v8_tx_proto_msgTypes[58].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*RemoveFromGlobalAdminWhitelistResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_emissions_v8_tx_proto_msgTypes[59].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*BulkAddToGlobalWorkerWhitelistRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_emissions_v8_tx_proto_msgTypes[60].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*BulkAddToGlobalWorkerWhitelistResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_emissions_v8_tx_proto_msgTypes[61].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*BulkRemoveFromGlobalWorkerWhitelistRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_emissions_v8_tx_proto_msgTypes[62].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*BulkRemoveFromGlobalWorkerWhitelistResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_emissions_v8_tx_proto_msgTypes[63].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*BulkAddToGlobalReputerWhitelistRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_emissions_v8_tx_proto_msgTypes[64].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*BulkAddToGlobalReputerWhitelistResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_emissions_v8_tx_proto_msgTypes[65].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*BulkRemoveFromGlobalReputerWhitelistRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_emissions_v8_tx_proto_msgTypes[66].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*BulkRemoveFromGlobalReputerWhitelistResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_emissions_v8_tx_proto_msgTypes[67].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*BulkAddToTopicWorkerWhitelistRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_emissions_v8_tx_proto_msgTypes[68].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*BulkAddToTopicWorkerWhitelistResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_emissions_v8_tx_proto_msgTypes[69].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*BulkRemoveFromTopicWorkerWhitelistRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_emissions_v8_tx_proto_msgTypes[70].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*BulkRemoveFromTopicWorkerWhitelistResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_emissions_v8_tx_proto_msgTypes[71].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*BulkAddToTopicReputerWhitelistRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_emissions_v8_tx_proto_msgTypes[72].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*BulkAddToTopicReputerWhitelistResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_emissions_v8_tx_proto_msgTypes[73].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*BulkRemoveFromTopicReputerWhitelistRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_emissions_v8_tx_proto_msgTypes[74].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*BulkRemoveFromTopicReputerWhitelistResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_emissions_v8_tx_proto_msgTypes[75].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*RemoveFromTopicCreatorWhitelistRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_emissions_v8_tx_proto_msgTypes[76].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*RemoveFromTopicCreatorWhitelistResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_emissions_v8_tx_proto_msgTypes[77].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*AddToTopicWorkerWhitelistRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_emissions_v8_tx_proto_msgTypes[78].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*AddToTopicWorkerWhitelistResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_emissions_v8_tx_proto_msgTypes[79].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*RemoveFromTopicWorkerWhitelistRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_emissions_v8_tx_proto_msgTypes[80].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*RemoveFromTopicWorkerWhitelistResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_emissions_v8_tx_proto_msgTypes[81].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*AddToTopicReputerWhitelistRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_emissions_v8_tx_proto_msgTypes[82].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*AddToTopicReputerWhitelistResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_emissions_v8_tx_proto_msgTypes[83].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*RemoveFromTopicReputerWhitelistRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_emissions_v8_tx_proto_msgTypes[84].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*RemoveFromTopicReputerWhitelistResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_emissions_v8_tx_proto_rawDesc, + NumEnums: 0, + NumMessages: 85, + NumExtensions: 0, + NumServices: 1, + }, + GoTypes: file_emissions_v8_tx_proto_goTypes, + DependencyIndexes: file_emissions_v8_tx_proto_depIdxs, + MessageInfos: file_emissions_v8_tx_proto_msgTypes, + }.Build() + File_emissions_v8_tx_proto = out.File + file_emissions_v8_tx_proto_rawDesc = nil + file_emissions_v8_tx_proto_goTypes = nil + file_emissions_v8_tx_proto_depIdxs = nil +} diff --git a/x/emissions/api/emissions/v8/tx_grpc.pb.go b/x/emissions/api/emissions/v8/tx_grpc.pb.go new file mode 100644 index 000000000..c7712ba38 --- /dev/null +++ b/x/emissions/api/emissions/v8/tx_grpc.pb.go @@ -0,0 +1,1683 @@ +// Code generated by protoc-gen-go-grpc. DO NOT EDIT. +// versions: +// - protoc-gen-go-grpc v1.5.1 +// - protoc (unknown) +// source: emissions/v8/tx.proto + +package emissionsv8 + +import ( + context "context" + grpc "google.golang.org/grpc" + codes "google.golang.org/grpc/codes" + status "google.golang.org/grpc/status" +) + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the grpc package it is being compiled against. +// Requires gRPC-Go v1.64.0 or later. +const _ = grpc.SupportPackageIsVersion9 + +const ( + MsgService_UpdateParams_FullMethodName = "/emissions.v8.MsgService/UpdateParams" + MsgService_CreateNewTopic_FullMethodName = "/emissions.v8.MsgService/CreateNewTopic" + MsgService_Register_FullMethodName = "/emissions.v8.MsgService/Register" + MsgService_RemoveRegistration_FullMethodName = "/emissions.v8.MsgService/RemoveRegistration" + MsgService_AddStake_FullMethodName = "/emissions.v8.MsgService/AddStake" + MsgService_RemoveStake_FullMethodName = "/emissions.v8.MsgService/RemoveStake" + MsgService_CancelRemoveStake_FullMethodName = "/emissions.v8.MsgService/CancelRemoveStake" + MsgService_DelegateStake_FullMethodName = "/emissions.v8.MsgService/DelegateStake" + MsgService_RewardDelegateStake_FullMethodName = "/emissions.v8.MsgService/RewardDelegateStake" + MsgService_RemoveDelegateStake_FullMethodName = "/emissions.v8.MsgService/RemoveDelegateStake" + MsgService_CancelRemoveDelegateStake_FullMethodName = "/emissions.v8.MsgService/CancelRemoveDelegateStake" + MsgService_FundTopic_FullMethodName = "/emissions.v8.MsgService/FundTopic" + MsgService_AddToWhitelistAdmin_FullMethodName = "/emissions.v8.MsgService/AddToWhitelistAdmin" + MsgService_RemoveFromWhitelistAdmin_FullMethodName = "/emissions.v8.MsgService/RemoveFromWhitelistAdmin" + MsgService_InsertWorkerPayload_FullMethodName = "/emissions.v8.MsgService/InsertWorkerPayload" + MsgService_InsertReputerPayload_FullMethodName = "/emissions.v8.MsgService/InsertReputerPayload" + MsgService_AddToGlobalWhitelist_FullMethodName = "/emissions.v8.MsgService/AddToGlobalWhitelist" + MsgService_RemoveFromGlobalWhitelist_FullMethodName = "/emissions.v8.MsgService/RemoveFromGlobalWhitelist" + MsgService_AddToGlobalWorkerWhitelist_FullMethodName = "/emissions.v8.MsgService/AddToGlobalWorkerWhitelist" + MsgService_RemoveFromGlobalWorkerWhitelist_FullMethodName = "/emissions.v8.MsgService/RemoveFromGlobalWorkerWhitelist" + MsgService_AddToGlobalReputerWhitelist_FullMethodName = "/emissions.v8.MsgService/AddToGlobalReputerWhitelist" + MsgService_RemoveFromGlobalReputerWhitelist_FullMethodName = "/emissions.v8.MsgService/RemoveFromGlobalReputerWhitelist" + MsgService_AddToGlobalAdminWhitelist_FullMethodName = "/emissions.v8.MsgService/AddToGlobalAdminWhitelist" + MsgService_RemoveFromGlobalAdminWhitelist_FullMethodName = "/emissions.v8.MsgService/RemoveFromGlobalAdminWhitelist" + MsgService_BulkAddToGlobalWorkerWhitelist_FullMethodName = "/emissions.v8.MsgService/BulkAddToGlobalWorkerWhitelist" + MsgService_BulkRemoveFromGlobalWorkerWhitelist_FullMethodName = "/emissions.v8.MsgService/BulkRemoveFromGlobalWorkerWhitelist" + MsgService_BulkAddToGlobalReputerWhitelist_FullMethodName = "/emissions.v8.MsgService/BulkAddToGlobalReputerWhitelist" + MsgService_BulkRemoveFromGlobalReputerWhitelist_FullMethodName = "/emissions.v8.MsgService/BulkRemoveFromGlobalReputerWhitelist" + MsgService_BulkAddToTopicWorkerWhitelist_FullMethodName = "/emissions.v8.MsgService/BulkAddToTopicWorkerWhitelist" + MsgService_BulkRemoveFromTopicWorkerWhitelist_FullMethodName = "/emissions.v8.MsgService/BulkRemoveFromTopicWorkerWhitelist" + MsgService_BulkAddToTopicReputerWhitelist_FullMethodName = "/emissions.v8.MsgService/BulkAddToTopicReputerWhitelist" + MsgService_BulkRemoveFromTopicReputerWhitelist_FullMethodName = "/emissions.v8.MsgService/BulkRemoveFromTopicReputerWhitelist" + MsgService_EnableTopicWorkerWhitelist_FullMethodName = "/emissions.v8.MsgService/EnableTopicWorkerWhitelist" + MsgService_DisableTopicWorkerWhitelist_FullMethodName = "/emissions.v8.MsgService/DisableTopicWorkerWhitelist" + MsgService_EnableTopicReputerWhitelist_FullMethodName = "/emissions.v8.MsgService/EnableTopicReputerWhitelist" + MsgService_DisableTopicReputerWhitelist_FullMethodName = "/emissions.v8.MsgService/DisableTopicReputerWhitelist" + MsgService_AddToTopicCreatorWhitelist_FullMethodName = "/emissions.v8.MsgService/AddToTopicCreatorWhitelist" + MsgService_RemoveFromTopicCreatorWhitelist_FullMethodName = "/emissions.v8.MsgService/RemoveFromTopicCreatorWhitelist" + MsgService_AddToTopicWorkerWhitelist_FullMethodName = "/emissions.v8.MsgService/AddToTopicWorkerWhitelist" + MsgService_RemoveFromTopicWorkerWhitelist_FullMethodName = "/emissions.v8.MsgService/RemoveFromTopicWorkerWhitelist" + MsgService_AddToTopicReputerWhitelist_FullMethodName = "/emissions.v8.MsgService/AddToTopicReputerWhitelist" + MsgService_RemoveFromTopicReputerWhitelist_FullMethodName = "/emissions.v8.MsgService/RemoveFromTopicReputerWhitelist" +) + +// MsgServiceClient is the client API for MsgService 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. +// +// Msg defines the module Msg service. +type MsgServiceClient interface { + UpdateParams(ctx context.Context, in *UpdateParamsRequest, opts ...grpc.CallOption) (*UpdateParamsResponse, error) + CreateNewTopic(ctx context.Context, in *CreateNewTopicRequest, opts ...grpc.CallOption) (*CreateNewTopicResponse, error) + Register(ctx context.Context, in *RegisterRequest, opts ...grpc.CallOption) (*RegisterResponse, error) + RemoveRegistration(ctx context.Context, in *RemoveRegistrationRequest, opts ...grpc.CallOption) (*RemoveRegistrationResponse, error) + AddStake(ctx context.Context, in *AddStakeRequest, opts ...grpc.CallOption) (*AddStakeResponse, error) + RemoveStake(ctx context.Context, in *RemoveStakeRequest, opts ...grpc.CallOption) (*RemoveStakeResponse, error) + CancelRemoveStake(ctx context.Context, in *CancelRemoveStakeRequest, opts ...grpc.CallOption) (*CancelRemoveStakeResponse, error) + DelegateStake(ctx context.Context, in *DelegateStakeRequest, opts ...grpc.CallOption) (*DelegateStakeResponse, error) + RewardDelegateStake(ctx context.Context, in *RewardDelegateStakeRequest, opts ...grpc.CallOption) (*RewardDelegateStakeResponse, error) + RemoveDelegateStake(ctx context.Context, in *RemoveDelegateStakeRequest, opts ...grpc.CallOption) (*RemoveDelegateStakeResponse, error) + CancelRemoveDelegateStake(ctx context.Context, in *CancelRemoveDelegateStakeRequest, opts ...grpc.CallOption) (*CancelRemoveDelegateStakeResponse, error) + FundTopic(ctx context.Context, in *FundTopicRequest, opts ...grpc.CallOption) (*FundTopicResponse, error) + AddToWhitelistAdmin(ctx context.Context, in *AddToWhitelistAdminRequest, opts ...grpc.CallOption) (*AddToWhitelistAdminResponse, error) + RemoveFromWhitelistAdmin(ctx context.Context, in *RemoveFromWhitelistAdminRequest, opts ...grpc.CallOption) (*RemoveFromWhitelistAdminResponse, error) + InsertWorkerPayload(ctx context.Context, in *InsertWorkerPayloadRequest, opts ...grpc.CallOption) (*InsertWorkerPayloadResponse, error) + InsertReputerPayload(ctx context.Context, in *InsertReputerPayloadRequest, opts ...grpc.CallOption) (*InsertReputerPayloadResponse, error) + AddToGlobalWhitelist(ctx context.Context, in *AddToGlobalWhitelistRequest, opts ...grpc.CallOption) (*AddToGlobalWhitelistResponse, error) + RemoveFromGlobalWhitelist(ctx context.Context, in *RemoveFromGlobalWhitelistRequest, opts ...grpc.CallOption) (*RemoveFromGlobalWhitelistResponse, error) + AddToGlobalWorkerWhitelist(ctx context.Context, in *AddToGlobalWorkerWhitelistRequest, opts ...grpc.CallOption) (*AddToGlobalWorkerWhitelistResponse, error) + RemoveFromGlobalWorkerWhitelist(ctx context.Context, in *RemoveFromGlobalWorkerWhitelistRequest, opts ...grpc.CallOption) (*RemoveFromGlobalWorkerWhitelistResponse, error) + AddToGlobalReputerWhitelist(ctx context.Context, in *AddToGlobalReputerWhitelistRequest, opts ...grpc.CallOption) (*AddToGlobalReputerWhitelistResponse, error) + RemoveFromGlobalReputerWhitelist(ctx context.Context, in *RemoveFromGlobalReputerWhitelistRequest, opts ...grpc.CallOption) (*RemoveFromGlobalReputerWhitelistResponse, error) + AddToGlobalAdminWhitelist(ctx context.Context, in *AddToGlobalAdminWhitelistRequest, opts ...grpc.CallOption) (*AddToGlobalAdminWhitelistResponse, error) + RemoveFromGlobalAdminWhitelist(ctx context.Context, in *RemoveFromGlobalAdminWhitelistRequest, opts ...grpc.CallOption) (*RemoveFromGlobalAdminWhitelistResponse, error) + BulkAddToGlobalWorkerWhitelist(ctx context.Context, in *BulkAddToGlobalWorkerWhitelistRequest, opts ...grpc.CallOption) (*BulkAddToGlobalWorkerWhitelistResponse, error) + BulkRemoveFromGlobalWorkerWhitelist(ctx context.Context, in *BulkRemoveFromGlobalWorkerWhitelistRequest, opts ...grpc.CallOption) (*BulkRemoveFromGlobalWorkerWhitelistResponse, error) + BulkAddToGlobalReputerWhitelist(ctx context.Context, in *BulkAddToGlobalReputerWhitelistRequest, opts ...grpc.CallOption) (*BulkAddToGlobalReputerWhitelistResponse, error) + BulkRemoveFromGlobalReputerWhitelist(ctx context.Context, in *BulkRemoveFromGlobalReputerWhitelistRequest, opts ...grpc.CallOption) (*BulkRemoveFromGlobalReputerWhitelistResponse, error) + BulkAddToTopicWorkerWhitelist(ctx context.Context, in *BulkAddToTopicWorkerWhitelistRequest, opts ...grpc.CallOption) (*BulkAddToTopicWorkerWhitelistResponse, error) + BulkRemoveFromTopicWorkerWhitelist(ctx context.Context, in *BulkRemoveFromTopicWorkerWhitelistRequest, opts ...grpc.CallOption) (*BulkRemoveFromTopicWorkerWhitelistResponse, error) + BulkAddToTopicReputerWhitelist(ctx context.Context, in *BulkAddToTopicReputerWhitelistRequest, opts ...grpc.CallOption) (*BulkAddToTopicReputerWhitelistResponse, error) + BulkRemoveFromTopicReputerWhitelist(ctx context.Context, in *BulkRemoveFromTopicReputerWhitelistRequest, opts ...grpc.CallOption) (*BulkRemoveFromTopicReputerWhitelistResponse, error) + EnableTopicWorkerWhitelist(ctx context.Context, in *EnableTopicWorkerWhitelistRequest, opts ...grpc.CallOption) (*EnableTopicWorkerWhitelistResponse, error) + DisableTopicWorkerWhitelist(ctx context.Context, in *DisableTopicWorkerWhitelistRequest, opts ...grpc.CallOption) (*DisableTopicWorkerWhitelistResponse, error) + EnableTopicReputerWhitelist(ctx context.Context, in *EnableTopicReputerWhitelistRequest, opts ...grpc.CallOption) (*EnableTopicReputerWhitelistResponse, error) + DisableTopicReputerWhitelist(ctx context.Context, in *DisableTopicReputerWhitelistRequest, opts ...grpc.CallOption) (*DisableTopicReputerWhitelistResponse, error) + AddToTopicCreatorWhitelist(ctx context.Context, in *AddToTopicCreatorWhitelistRequest, opts ...grpc.CallOption) (*AddToTopicCreatorWhitelistResponse, error) + RemoveFromTopicCreatorWhitelist(ctx context.Context, in *RemoveFromTopicCreatorWhitelistRequest, opts ...grpc.CallOption) (*RemoveFromTopicCreatorWhitelistResponse, error) + AddToTopicWorkerWhitelist(ctx context.Context, in *AddToTopicWorkerWhitelistRequest, opts ...grpc.CallOption) (*AddToTopicWorkerWhitelistResponse, error) + RemoveFromTopicWorkerWhitelist(ctx context.Context, in *RemoveFromTopicWorkerWhitelistRequest, opts ...grpc.CallOption) (*RemoveFromTopicWorkerWhitelistResponse, error) + AddToTopicReputerWhitelist(ctx context.Context, in *AddToTopicReputerWhitelistRequest, opts ...grpc.CallOption) (*AddToTopicReputerWhitelistResponse, error) + RemoveFromTopicReputerWhitelist(ctx context.Context, in *RemoveFromTopicReputerWhitelistRequest, opts ...grpc.CallOption) (*RemoveFromTopicReputerWhitelistResponse, error) +} + +type msgServiceClient struct { + cc grpc.ClientConnInterface +} + +func NewMsgServiceClient(cc grpc.ClientConnInterface) MsgServiceClient { + return &msgServiceClient{cc} +} + +func (c *msgServiceClient) UpdateParams(ctx context.Context, in *UpdateParamsRequest, opts ...grpc.CallOption) (*UpdateParamsResponse, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) + out := new(UpdateParamsResponse) + err := c.cc.Invoke(ctx, MsgService_UpdateParams_FullMethodName, in, out, cOpts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *msgServiceClient) CreateNewTopic(ctx context.Context, in *CreateNewTopicRequest, opts ...grpc.CallOption) (*CreateNewTopicResponse, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) + out := new(CreateNewTopicResponse) + err := c.cc.Invoke(ctx, MsgService_CreateNewTopic_FullMethodName, in, out, cOpts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *msgServiceClient) Register(ctx context.Context, in *RegisterRequest, opts ...grpc.CallOption) (*RegisterResponse, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) + out := new(RegisterResponse) + err := c.cc.Invoke(ctx, MsgService_Register_FullMethodName, in, out, cOpts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *msgServiceClient) RemoveRegistration(ctx context.Context, in *RemoveRegistrationRequest, opts ...grpc.CallOption) (*RemoveRegistrationResponse, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) + out := new(RemoveRegistrationResponse) + err := c.cc.Invoke(ctx, MsgService_RemoveRegistration_FullMethodName, in, out, cOpts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *msgServiceClient) AddStake(ctx context.Context, in *AddStakeRequest, opts ...grpc.CallOption) (*AddStakeResponse, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) + out := new(AddStakeResponse) + err := c.cc.Invoke(ctx, MsgService_AddStake_FullMethodName, in, out, cOpts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *msgServiceClient) RemoveStake(ctx context.Context, in *RemoveStakeRequest, opts ...grpc.CallOption) (*RemoveStakeResponse, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) + out := new(RemoveStakeResponse) + err := c.cc.Invoke(ctx, MsgService_RemoveStake_FullMethodName, in, out, cOpts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *msgServiceClient) CancelRemoveStake(ctx context.Context, in *CancelRemoveStakeRequest, opts ...grpc.CallOption) (*CancelRemoveStakeResponse, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) + out := new(CancelRemoveStakeResponse) + err := c.cc.Invoke(ctx, MsgService_CancelRemoveStake_FullMethodName, in, out, cOpts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *msgServiceClient) DelegateStake(ctx context.Context, in *DelegateStakeRequest, opts ...grpc.CallOption) (*DelegateStakeResponse, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) + out := new(DelegateStakeResponse) + err := c.cc.Invoke(ctx, MsgService_DelegateStake_FullMethodName, in, out, cOpts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *msgServiceClient) RewardDelegateStake(ctx context.Context, in *RewardDelegateStakeRequest, opts ...grpc.CallOption) (*RewardDelegateStakeResponse, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) + out := new(RewardDelegateStakeResponse) + err := c.cc.Invoke(ctx, MsgService_RewardDelegateStake_FullMethodName, in, out, cOpts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *msgServiceClient) RemoveDelegateStake(ctx context.Context, in *RemoveDelegateStakeRequest, opts ...grpc.CallOption) (*RemoveDelegateStakeResponse, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) + out := new(RemoveDelegateStakeResponse) + err := c.cc.Invoke(ctx, MsgService_RemoveDelegateStake_FullMethodName, in, out, cOpts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *msgServiceClient) CancelRemoveDelegateStake(ctx context.Context, in *CancelRemoveDelegateStakeRequest, opts ...grpc.CallOption) (*CancelRemoveDelegateStakeResponse, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) + out := new(CancelRemoveDelegateStakeResponse) + err := c.cc.Invoke(ctx, MsgService_CancelRemoveDelegateStake_FullMethodName, in, out, cOpts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *msgServiceClient) FundTopic(ctx context.Context, in *FundTopicRequest, opts ...grpc.CallOption) (*FundTopicResponse, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) + out := new(FundTopicResponse) + err := c.cc.Invoke(ctx, MsgService_FundTopic_FullMethodName, in, out, cOpts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *msgServiceClient) AddToWhitelistAdmin(ctx context.Context, in *AddToWhitelistAdminRequest, opts ...grpc.CallOption) (*AddToWhitelistAdminResponse, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) + out := new(AddToWhitelistAdminResponse) + err := c.cc.Invoke(ctx, MsgService_AddToWhitelistAdmin_FullMethodName, in, out, cOpts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *msgServiceClient) RemoveFromWhitelistAdmin(ctx context.Context, in *RemoveFromWhitelistAdminRequest, opts ...grpc.CallOption) (*RemoveFromWhitelistAdminResponse, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) + out := new(RemoveFromWhitelistAdminResponse) + err := c.cc.Invoke(ctx, MsgService_RemoveFromWhitelistAdmin_FullMethodName, in, out, cOpts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *msgServiceClient) InsertWorkerPayload(ctx context.Context, in *InsertWorkerPayloadRequest, opts ...grpc.CallOption) (*InsertWorkerPayloadResponse, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) + out := new(InsertWorkerPayloadResponse) + err := c.cc.Invoke(ctx, MsgService_InsertWorkerPayload_FullMethodName, in, out, cOpts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *msgServiceClient) InsertReputerPayload(ctx context.Context, in *InsertReputerPayloadRequest, opts ...grpc.CallOption) (*InsertReputerPayloadResponse, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) + out := new(InsertReputerPayloadResponse) + err := c.cc.Invoke(ctx, MsgService_InsertReputerPayload_FullMethodName, in, out, cOpts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *msgServiceClient) AddToGlobalWhitelist(ctx context.Context, in *AddToGlobalWhitelistRequest, opts ...grpc.CallOption) (*AddToGlobalWhitelistResponse, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) + out := new(AddToGlobalWhitelistResponse) + err := c.cc.Invoke(ctx, MsgService_AddToGlobalWhitelist_FullMethodName, in, out, cOpts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *msgServiceClient) RemoveFromGlobalWhitelist(ctx context.Context, in *RemoveFromGlobalWhitelistRequest, opts ...grpc.CallOption) (*RemoveFromGlobalWhitelistResponse, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) + out := new(RemoveFromGlobalWhitelistResponse) + err := c.cc.Invoke(ctx, MsgService_RemoveFromGlobalWhitelist_FullMethodName, in, out, cOpts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *msgServiceClient) AddToGlobalWorkerWhitelist(ctx context.Context, in *AddToGlobalWorkerWhitelistRequest, opts ...grpc.CallOption) (*AddToGlobalWorkerWhitelistResponse, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) + out := new(AddToGlobalWorkerWhitelistResponse) + err := c.cc.Invoke(ctx, MsgService_AddToGlobalWorkerWhitelist_FullMethodName, in, out, cOpts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *msgServiceClient) RemoveFromGlobalWorkerWhitelist(ctx context.Context, in *RemoveFromGlobalWorkerWhitelistRequest, opts ...grpc.CallOption) (*RemoveFromGlobalWorkerWhitelistResponse, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) + out := new(RemoveFromGlobalWorkerWhitelistResponse) + err := c.cc.Invoke(ctx, MsgService_RemoveFromGlobalWorkerWhitelist_FullMethodName, in, out, cOpts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *msgServiceClient) AddToGlobalReputerWhitelist(ctx context.Context, in *AddToGlobalReputerWhitelistRequest, opts ...grpc.CallOption) (*AddToGlobalReputerWhitelistResponse, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) + out := new(AddToGlobalReputerWhitelistResponse) + err := c.cc.Invoke(ctx, MsgService_AddToGlobalReputerWhitelist_FullMethodName, in, out, cOpts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *msgServiceClient) RemoveFromGlobalReputerWhitelist(ctx context.Context, in *RemoveFromGlobalReputerWhitelistRequest, opts ...grpc.CallOption) (*RemoveFromGlobalReputerWhitelistResponse, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) + out := new(RemoveFromGlobalReputerWhitelistResponse) + err := c.cc.Invoke(ctx, MsgService_RemoveFromGlobalReputerWhitelist_FullMethodName, in, out, cOpts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *msgServiceClient) AddToGlobalAdminWhitelist(ctx context.Context, in *AddToGlobalAdminWhitelistRequest, opts ...grpc.CallOption) (*AddToGlobalAdminWhitelistResponse, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) + out := new(AddToGlobalAdminWhitelistResponse) + err := c.cc.Invoke(ctx, MsgService_AddToGlobalAdminWhitelist_FullMethodName, in, out, cOpts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *msgServiceClient) RemoveFromGlobalAdminWhitelist(ctx context.Context, in *RemoveFromGlobalAdminWhitelistRequest, opts ...grpc.CallOption) (*RemoveFromGlobalAdminWhitelistResponse, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) + out := new(RemoveFromGlobalAdminWhitelistResponse) + err := c.cc.Invoke(ctx, MsgService_RemoveFromGlobalAdminWhitelist_FullMethodName, in, out, cOpts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *msgServiceClient) BulkAddToGlobalWorkerWhitelist(ctx context.Context, in *BulkAddToGlobalWorkerWhitelistRequest, opts ...grpc.CallOption) (*BulkAddToGlobalWorkerWhitelistResponse, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) + out := new(BulkAddToGlobalWorkerWhitelistResponse) + err := c.cc.Invoke(ctx, MsgService_BulkAddToGlobalWorkerWhitelist_FullMethodName, in, out, cOpts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *msgServiceClient) BulkRemoveFromGlobalWorkerWhitelist(ctx context.Context, in *BulkRemoveFromGlobalWorkerWhitelistRequest, opts ...grpc.CallOption) (*BulkRemoveFromGlobalWorkerWhitelistResponse, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) + out := new(BulkRemoveFromGlobalWorkerWhitelistResponse) + err := c.cc.Invoke(ctx, MsgService_BulkRemoveFromGlobalWorkerWhitelist_FullMethodName, in, out, cOpts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *msgServiceClient) BulkAddToGlobalReputerWhitelist(ctx context.Context, in *BulkAddToGlobalReputerWhitelistRequest, opts ...grpc.CallOption) (*BulkAddToGlobalReputerWhitelistResponse, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) + out := new(BulkAddToGlobalReputerWhitelistResponse) + err := c.cc.Invoke(ctx, MsgService_BulkAddToGlobalReputerWhitelist_FullMethodName, in, out, cOpts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *msgServiceClient) BulkRemoveFromGlobalReputerWhitelist(ctx context.Context, in *BulkRemoveFromGlobalReputerWhitelistRequest, opts ...grpc.CallOption) (*BulkRemoveFromGlobalReputerWhitelistResponse, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) + out := new(BulkRemoveFromGlobalReputerWhitelistResponse) + err := c.cc.Invoke(ctx, MsgService_BulkRemoveFromGlobalReputerWhitelist_FullMethodName, in, out, cOpts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *msgServiceClient) BulkAddToTopicWorkerWhitelist(ctx context.Context, in *BulkAddToTopicWorkerWhitelistRequest, opts ...grpc.CallOption) (*BulkAddToTopicWorkerWhitelistResponse, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) + out := new(BulkAddToTopicWorkerWhitelistResponse) + err := c.cc.Invoke(ctx, MsgService_BulkAddToTopicWorkerWhitelist_FullMethodName, in, out, cOpts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *msgServiceClient) BulkRemoveFromTopicWorkerWhitelist(ctx context.Context, in *BulkRemoveFromTopicWorkerWhitelistRequest, opts ...grpc.CallOption) (*BulkRemoveFromTopicWorkerWhitelistResponse, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) + out := new(BulkRemoveFromTopicWorkerWhitelistResponse) + err := c.cc.Invoke(ctx, MsgService_BulkRemoveFromTopicWorkerWhitelist_FullMethodName, in, out, cOpts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *msgServiceClient) BulkAddToTopicReputerWhitelist(ctx context.Context, in *BulkAddToTopicReputerWhitelistRequest, opts ...grpc.CallOption) (*BulkAddToTopicReputerWhitelistResponse, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) + out := new(BulkAddToTopicReputerWhitelistResponse) + err := c.cc.Invoke(ctx, MsgService_BulkAddToTopicReputerWhitelist_FullMethodName, in, out, cOpts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *msgServiceClient) BulkRemoveFromTopicReputerWhitelist(ctx context.Context, in *BulkRemoveFromTopicReputerWhitelistRequest, opts ...grpc.CallOption) (*BulkRemoveFromTopicReputerWhitelistResponse, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) + out := new(BulkRemoveFromTopicReputerWhitelistResponse) + err := c.cc.Invoke(ctx, MsgService_BulkRemoveFromTopicReputerWhitelist_FullMethodName, in, out, cOpts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *msgServiceClient) EnableTopicWorkerWhitelist(ctx context.Context, in *EnableTopicWorkerWhitelistRequest, opts ...grpc.CallOption) (*EnableTopicWorkerWhitelistResponse, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) + out := new(EnableTopicWorkerWhitelistResponse) + err := c.cc.Invoke(ctx, MsgService_EnableTopicWorkerWhitelist_FullMethodName, in, out, cOpts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *msgServiceClient) DisableTopicWorkerWhitelist(ctx context.Context, in *DisableTopicWorkerWhitelistRequest, opts ...grpc.CallOption) (*DisableTopicWorkerWhitelistResponse, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) + out := new(DisableTopicWorkerWhitelistResponse) + err := c.cc.Invoke(ctx, MsgService_DisableTopicWorkerWhitelist_FullMethodName, in, out, cOpts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *msgServiceClient) EnableTopicReputerWhitelist(ctx context.Context, in *EnableTopicReputerWhitelistRequest, opts ...grpc.CallOption) (*EnableTopicReputerWhitelistResponse, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) + out := new(EnableTopicReputerWhitelistResponse) + err := c.cc.Invoke(ctx, MsgService_EnableTopicReputerWhitelist_FullMethodName, in, out, cOpts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *msgServiceClient) DisableTopicReputerWhitelist(ctx context.Context, in *DisableTopicReputerWhitelistRequest, opts ...grpc.CallOption) (*DisableTopicReputerWhitelistResponse, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) + out := new(DisableTopicReputerWhitelistResponse) + err := c.cc.Invoke(ctx, MsgService_DisableTopicReputerWhitelist_FullMethodName, in, out, cOpts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *msgServiceClient) AddToTopicCreatorWhitelist(ctx context.Context, in *AddToTopicCreatorWhitelistRequest, opts ...grpc.CallOption) (*AddToTopicCreatorWhitelistResponse, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) + out := new(AddToTopicCreatorWhitelistResponse) + err := c.cc.Invoke(ctx, MsgService_AddToTopicCreatorWhitelist_FullMethodName, in, out, cOpts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *msgServiceClient) RemoveFromTopicCreatorWhitelist(ctx context.Context, in *RemoveFromTopicCreatorWhitelistRequest, opts ...grpc.CallOption) (*RemoveFromTopicCreatorWhitelistResponse, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) + out := new(RemoveFromTopicCreatorWhitelistResponse) + err := c.cc.Invoke(ctx, MsgService_RemoveFromTopicCreatorWhitelist_FullMethodName, in, out, cOpts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *msgServiceClient) AddToTopicWorkerWhitelist(ctx context.Context, in *AddToTopicWorkerWhitelistRequest, opts ...grpc.CallOption) (*AddToTopicWorkerWhitelistResponse, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) + out := new(AddToTopicWorkerWhitelistResponse) + err := c.cc.Invoke(ctx, MsgService_AddToTopicWorkerWhitelist_FullMethodName, in, out, cOpts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *msgServiceClient) RemoveFromTopicWorkerWhitelist(ctx context.Context, in *RemoveFromTopicWorkerWhitelistRequest, opts ...grpc.CallOption) (*RemoveFromTopicWorkerWhitelistResponse, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) + out := new(RemoveFromTopicWorkerWhitelistResponse) + err := c.cc.Invoke(ctx, MsgService_RemoveFromTopicWorkerWhitelist_FullMethodName, in, out, cOpts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *msgServiceClient) AddToTopicReputerWhitelist(ctx context.Context, in *AddToTopicReputerWhitelistRequest, opts ...grpc.CallOption) (*AddToTopicReputerWhitelistResponse, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) + out := new(AddToTopicReputerWhitelistResponse) + err := c.cc.Invoke(ctx, MsgService_AddToTopicReputerWhitelist_FullMethodName, in, out, cOpts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *msgServiceClient) RemoveFromTopicReputerWhitelist(ctx context.Context, in *RemoveFromTopicReputerWhitelistRequest, opts ...grpc.CallOption) (*RemoveFromTopicReputerWhitelistResponse, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) + out := new(RemoveFromTopicReputerWhitelistResponse) + err := c.cc.Invoke(ctx, MsgService_RemoveFromTopicReputerWhitelist_FullMethodName, in, out, cOpts...) + if err != nil { + return nil, err + } + return out, nil +} + +// MsgServiceServer is the server API for MsgService service. +// All implementations must embed UnimplementedMsgServiceServer +// for forward compatibility. +// +// Msg defines the module Msg service. +type MsgServiceServer interface { + UpdateParams(context.Context, *UpdateParamsRequest) (*UpdateParamsResponse, error) + CreateNewTopic(context.Context, *CreateNewTopicRequest) (*CreateNewTopicResponse, error) + Register(context.Context, *RegisterRequest) (*RegisterResponse, error) + RemoveRegistration(context.Context, *RemoveRegistrationRequest) (*RemoveRegistrationResponse, error) + AddStake(context.Context, *AddStakeRequest) (*AddStakeResponse, error) + RemoveStake(context.Context, *RemoveStakeRequest) (*RemoveStakeResponse, error) + CancelRemoveStake(context.Context, *CancelRemoveStakeRequest) (*CancelRemoveStakeResponse, error) + DelegateStake(context.Context, *DelegateStakeRequest) (*DelegateStakeResponse, error) + RewardDelegateStake(context.Context, *RewardDelegateStakeRequest) (*RewardDelegateStakeResponse, error) + RemoveDelegateStake(context.Context, *RemoveDelegateStakeRequest) (*RemoveDelegateStakeResponse, error) + CancelRemoveDelegateStake(context.Context, *CancelRemoveDelegateStakeRequest) (*CancelRemoveDelegateStakeResponse, error) + FundTopic(context.Context, *FundTopicRequest) (*FundTopicResponse, error) + AddToWhitelistAdmin(context.Context, *AddToWhitelistAdminRequest) (*AddToWhitelistAdminResponse, error) + RemoveFromWhitelistAdmin(context.Context, *RemoveFromWhitelistAdminRequest) (*RemoveFromWhitelistAdminResponse, error) + InsertWorkerPayload(context.Context, *InsertWorkerPayloadRequest) (*InsertWorkerPayloadResponse, error) + InsertReputerPayload(context.Context, *InsertReputerPayloadRequest) (*InsertReputerPayloadResponse, error) + AddToGlobalWhitelist(context.Context, *AddToGlobalWhitelistRequest) (*AddToGlobalWhitelistResponse, error) + RemoveFromGlobalWhitelist(context.Context, *RemoveFromGlobalWhitelistRequest) (*RemoveFromGlobalWhitelistResponse, error) + AddToGlobalWorkerWhitelist(context.Context, *AddToGlobalWorkerWhitelistRequest) (*AddToGlobalWorkerWhitelistResponse, error) + RemoveFromGlobalWorkerWhitelist(context.Context, *RemoveFromGlobalWorkerWhitelistRequest) (*RemoveFromGlobalWorkerWhitelistResponse, error) + AddToGlobalReputerWhitelist(context.Context, *AddToGlobalReputerWhitelistRequest) (*AddToGlobalReputerWhitelistResponse, error) + RemoveFromGlobalReputerWhitelist(context.Context, *RemoveFromGlobalReputerWhitelistRequest) (*RemoveFromGlobalReputerWhitelistResponse, error) + AddToGlobalAdminWhitelist(context.Context, *AddToGlobalAdminWhitelistRequest) (*AddToGlobalAdminWhitelistResponse, error) + RemoveFromGlobalAdminWhitelist(context.Context, *RemoveFromGlobalAdminWhitelistRequest) (*RemoveFromGlobalAdminWhitelistResponse, error) + BulkAddToGlobalWorkerWhitelist(context.Context, *BulkAddToGlobalWorkerWhitelistRequest) (*BulkAddToGlobalWorkerWhitelistResponse, error) + BulkRemoveFromGlobalWorkerWhitelist(context.Context, *BulkRemoveFromGlobalWorkerWhitelistRequest) (*BulkRemoveFromGlobalWorkerWhitelistResponse, error) + BulkAddToGlobalReputerWhitelist(context.Context, *BulkAddToGlobalReputerWhitelistRequest) (*BulkAddToGlobalReputerWhitelistResponse, error) + BulkRemoveFromGlobalReputerWhitelist(context.Context, *BulkRemoveFromGlobalReputerWhitelistRequest) (*BulkRemoveFromGlobalReputerWhitelistResponse, error) + BulkAddToTopicWorkerWhitelist(context.Context, *BulkAddToTopicWorkerWhitelistRequest) (*BulkAddToTopicWorkerWhitelistResponse, error) + BulkRemoveFromTopicWorkerWhitelist(context.Context, *BulkRemoveFromTopicWorkerWhitelistRequest) (*BulkRemoveFromTopicWorkerWhitelistResponse, error) + BulkAddToTopicReputerWhitelist(context.Context, *BulkAddToTopicReputerWhitelistRequest) (*BulkAddToTopicReputerWhitelistResponse, error) + BulkRemoveFromTopicReputerWhitelist(context.Context, *BulkRemoveFromTopicReputerWhitelistRequest) (*BulkRemoveFromTopicReputerWhitelistResponse, error) + EnableTopicWorkerWhitelist(context.Context, *EnableTopicWorkerWhitelistRequest) (*EnableTopicWorkerWhitelistResponse, error) + DisableTopicWorkerWhitelist(context.Context, *DisableTopicWorkerWhitelistRequest) (*DisableTopicWorkerWhitelistResponse, error) + EnableTopicReputerWhitelist(context.Context, *EnableTopicReputerWhitelistRequest) (*EnableTopicReputerWhitelistResponse, error) + DisableTopicReputerWhitelist(context.Context, *DisableTopicReputerWhitelistRequest) (*DisableTopicReputerWhitelistResponse, error) + AddToTopicCreatorWhitelist(context.Context, *AddToTopicCreatorWhitelistRequest) (*AddToTopicCreatorWhitelistResponse, error) + RemoveFromTopicCreatorWhitelist(context.Context, *RemoveFromTopicCreatorWhitelistRequest) (*RemoveFromTopicCreatorWhitelistResponse, error) + AddToTopicWorkerWhitelist(context.Context, *AddToTopicWorkerWhitelistRequest) (*AddToTopicWorkerWhitelistResponse, error) + RemoveFromTopicWorkerWhitelist(context.Context, *RemoveFromTopicWorkerWhitelistRequest) (*RemoveFromTopicWorkerWhitelistResponse, error) + AddToTopicReputerWhitelist(context.Context, *AddToTopicReputerWhitelistRequest) (*AddToTopicReputerWhitelistResponse, error) + RemoveFromTopicReputerWhitelist(context.Context, *RemoveFromTopicReputerWhitelistRequest) (*RemoveFromTopicReputerWhitelistResponse, error) + mustEmbedUnimplementedMsgServiceServer() +} + +// UnimplementedMsgServiceServer must be embedded to have +// forward compatible implementations. +// +// NOTE: this should be embedded by value instead of pointer to avoid a nil +// pointer dereference when methods are called. +type UnimplementedMsgServiceServer struct{} + +func (UnimplementedMsgServiceServer) UpdateParams(context.Context, *UpdateParamsRequest) (*UpdateParamsResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method UpdateParams not implemented") +} +func (UnimplementedMsgServiceServer) CreateNewTopic(context.Context, *CreateNewTopicRequest) (*CreateNewTopicResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method CreateNewTopic not implemented") +} +func (UnimplementedMsgServiceServer) Register(context.Context, *RegisterRequest) (*RegisterResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method Register not implemented") +} +func (UnimplementedMsgServiceServer) RemoveRegistration(context.Context, *RemoveRegistrationRequest) (*RemoveRegistrationResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method RemoveRegistration not implemented") +} +func (UnimplementedMsgServiceServer) AddStake(context.Context, *AddStakeRequest) (*AddStakeResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method AddStake not implemented") +} +func (UnimplementedMsgServiceServer) RemoveStake(context.Context, *RemoveStakeRequest) (*RemoveStakeResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method RemoveStake not implemented") +} +func (UnimplementedMsgServiceServer) CancelRemoveStake(context.Context, *CancelRemoveStakeRequest) (*CancelRemoveStakeResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method CancelRemoveStake not implemented") +} +func (UnimplementedMsgServiceServer) DelegateStake(context.Context, *DelegateStakeRequest) (*DelegateStakeResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method DelegateStake not implemented") +} +func (UnimplementedMsgServiceServer) RewardDelegateStake(context.Context, *RewardDelegateStakeRequest) (*RewardDelegateStakeResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method RewardDelegateStake not implemented") +} +func (UnimplementedMsgServiceServer) RemoveDelegateStake(context.Context, *RemoveDelegateStakeRequest) (*RemoveDelegateStakeResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method RemoveDelegateStake not implemented") +} +func (UnimplementedMsgServiceServer) CancelRemoveDelegateStake(context.Context, *CancelRemoveDelegateStakeRequest) (*CancelRemoveDelegateStakeResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method CancelRemoveDelegateStake not implemented") +} +func (UnimplementedMsgServiceServer) FundTopic(context.Context, *FundTopicRequest) (*FundTopicResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method FundTopic not implemented") +} +func (UnimplementedMsgServiceServer) AddToWhitelistAdmin(context.Context, *AddToWhitelistAdminRequest) (*AddToWhitelistAdminResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method AddToWhitelistAdmin not implemented") +} +func (UnimplementedMsgServiceServer) RemoveFromWhitelistAdmin(context.Context, *RemoveFromWhitelistAdminRequest) (*RemoveFromWhitelistAdminResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method RemoveFromWhitelistAdmin not implemented") +} +func (UnimplementedMsgServiceServer) InsertWorkerPayload(context.Context, *InsertWorkerPayloadRequest) (*InsertWorkerPayloadResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method InsertWorkerPayload not implemented") +} +func (UnimplementedMsgServiceServer) InsertReputerPayload(context.Context, *InsertReputerPayloadRequest) (*InsertReputerPayloadResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method InsertReputerPayload not implemented") +} +func (UnimplementedMsgServiceServer) AddToGlobalWhitelist(context.Context, *AddToGlobalWhitelistRequest) (*AddToGlobalWhitelistResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method AddToGlobalWhitelist not implemented") +} +func (UnimplementedMsgServiceServer) RemoveFromGlobalWhitelist(context.Context, *RemoveFromGlobalWhitelistRequest) (*RemoveFromGlobalWhitelistResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method RemoveFromGlobalWhitelist not implemented") +} +func (UnimplementedMsgServiceServer) AddToGlobalWorkerWhitelist(context.Context, *AddToGlobalWorkerWhitelistRequest) (*AddToGlobalWorkerWhitelistResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method AddToGlobalWorkerWhitelist not implemented") +} +func (UnimplementedMsgServiceServer) RemoveFromGlobalWorkerWhitelist(context.Context, *RemoveFromGlobalWorkerWhitelistRequest) (*RemoveFromGlobalWorkerWhitelistResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method RemoveFromGlobalWorkerWhitelist not implemented") +} +func (UnimplementedMsgServiceServer) AddToGlobalReputerWhitelist(context.Context, *AddToGlobalReputerWhitelistRequest) (*AddToGlobalReputerWhitelistResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method AddToGlobalReputerWhitelist not implemented") +} +func (UnimplementedMsgServiceServer) RemoveFromGlobalReputerWhitelist(context.Context, *RemoveFromGlobalReputerWhitelistRequest) (*RemoveFromGlobalReputerWhitelistResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method RemoveFromGlobalReputerWhitelist not implemented") +} +func (UnimplementedMsgServiceServer) AddToGlobalAdminWhitelist(context.Context, *AddToGlobalAdminWhitelistRequest) (*AddToGlobalAdminWhitelistResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method AddToGlobalAdminWhitelist not implemented") +} +func (UnimplementedMsgServiceServer) RemoveFromGlobalAdminWhitelist(context.Context, *RemoveFromGlobalAdminWhitelistRequest) (*RemoveFromGlobalAdminWhitelistResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method RemoveFromGlobalAdminWhitelist not implemented") +} +func (UnimplementedMsgServiceServer) BulkAddToGlobalWorkerWhitelist(context.Context, *BulkAddToGlobalWorkerWhitelistRequest) (*BulkAddToGlobalWorkerWhitelistResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method BulkAddToGlobalWorkerWhitelist not implemented") +} +func (UnimplementedMsgServiceServer) BulkRemoveFromGlobalWorkerWhitelist(context.Context, *BulkRemoveFromGlobalWorkerWhitelistRequest) (*BulkRemoveFromGlobalWorkerWhitelistResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method BulkRemoveFromGlobalWorkerWhitelist not implemented") +} +func (UnimplementedMsgServiceServer) BulkAddToGlobalReputerWhitelist(context.Context, *BulkAddToGlobalReputerWhitelistRequest) (*BulkAddToGlobalReputerWhitelistResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method BulkAddToGlobalReputerWhitelist not implemented") +} +func (UnimplementedMsgServiceServer) BulkRemoveFromGlobalReputerWhitelist(context.Context, *BulkRemoveFromGlobalReputerWhitelistRequest) (*BulkRemoveFromGlobalReputerWhitelistResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method BulkRemoveFromGlobalReputerWhitelist not implemented") +} +func (UnimplementedMsgServiceServer) BulkAddToTopicWorkerWhitelist(context.Context, *BulkAddToTopicWorkerWhitelistRequest) (*BulkAddToTopicWorkerWhitelistResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method BulkAddToTopicWorkerWhitelist not implemented") +} +func (UnimplementedMsgServiceServer) BulkRemoveFromTopicWorkerWhitelist(context.Context, *BulkRemoveFromTopicWorkerWhitelistRequest) (*BulkRemoveFromTopicWorkerWhitelistResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method BulkRemoveFromTopicWorkerWhitelist not implemented") +} +func (UnimplementedMsgServiceServer) BulkAddToTopicReputerWhitelist(context.Context, *BulkAddToTopicReputerWhitelistRequest) (*BulkAddToTopicReputerWhitelistResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method BulkAddToTopicReputerWhitelist not implemented") +} +func (UnimplementedMsgServiceServer) BulkRemoveFromTopicReputerWhitelist(context.Context, *BulkRemoveFromTopicReputerWhitelistRequest) (*BulkRemoveFromTopicReputerWhitelistResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method BulkRemoveFromTopicReputerWhitelist not implemented") +} +func (UnimplementedMsgServiceServer) EnableTopicWorkerWhitelist(context.Context, *EnableTopicWorkerWhitelistRequest) (*EnableTopicWorkerWhitelistResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method EnableTopicWorkerWhitelist not implemented") +} +func (UnimplementedMsgServiceServer) DisableTopicWorkerWhitelist(context.Context, *DisableTopicWorkerWhitelistRequest) (*DisableTopicWorkerWhitelistResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method DisableTopicWorkerWhitelist not implemented") +} +func (UnimplementedMsgServiceServer) EnableTopicReputerWhitelist(context.Context, *EnableTopicReputerWhitelistRequest) (*EnableTopicReputerWhitelistResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method EnableTopicReputerWhitelist not implemented") +} +func (UnimplementedMsgServiceServer) DisableTopicReputerWhitelist(context.Context, *DisableTopicReputerWhitelistRequest) (*DisableTopicReputerWhitelistResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method DisableTopicReputerWhitelist not implemented") +} +func (UnimplementedMsgServiceServer) AddToTopicCreatorWhitelist(context.Context, *AddToTopicCreatorWhitelistRequest) (*AddToTopicCreatorWhitelistResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method AddToTopicCreatorWhitelist not implemented") +} +func (UnimplementedMsgServiceServer) RemoveFromTopicCreatorWhitelist(context.Context, *RemoveFromTopicCreatorWhitelistRequest) (*RemoveFromTopicCreatorWhitelistResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method RemoveFromTopicCreatorWhitelist not implemented") +} +func (UnimplementedMsgServiceServer) AddToTopicWorkerWhitelist(context.Context, *AddToTopicWorkerWhitelistRequest) (*AddToTopicWorkerWhitelistResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method AddToTopicWorkerWhitelist not implemented") +} +func (UnimplementedMsgServiceServer) RemoveFromTopicWorkerWhitelist(context.Context, *RemoveFromTopicWorkerWhitelistRequest) (*RemoveFromTopicWorkerWhitelistResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method RemoveFromTopicWorkerWhitelist not implemented") +} +func (UnimplementedMsgServiceServer) AddToTopicReputerWhitelist(context.Context, *AddToTopicReputerWhitelistRequest) (*AddToTopicReputerWhitelistResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method AddToTopicReputerWhitelist not implemented") +} +func (UnimplementedMsgServiceServer) RemoveFromTopicReputerWhitelist(context.Context, *RemoveFromTopicReputerWhitelistRequest) (*RemoveFromTopicReputerWhitelistResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method RemoveFromTopicReputerWhitelist not implemented") +} +func (UnimplementedMsgServiceServer) mustEmbedUnimplementedMsgServiceServer() {} +func (UnimplementedMsgServiceServer) testEmbeddedByValue() {} + +// UnsafeMsgServiceServer may be embedded to opt out of forward compatibility for this service. +// Use of this interface is not recommended, as added methods to MsgServiceServer will +// result in compilation errors. +type UnsafeMsgServiceServer interface { + mustEmbedUnimplementedMsgServiceServer() +} + +func RegisterMsgServiceServer(s grpc.ServiceRegistrar, srv MsgServiceServer) { + // If the following call pancis, it indicates UnimplementedMsgServiceServer was + // embedded by pointer and is nil. This will cause panics if an + // unimplemented method is ever invoked, so we test this at initialization + // time to prevent it from happening at runtime later due to I/O. + if t, ok := srv.(interface{ testEmbeddedByValue() }); ok { + t.testEmbeddedByValue() + } + s.RegisterService(&MsgService_ServiceDesc, srv) +} + +func _MsgService_UpdateParams_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(UpdateParamsRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(MsgServiceServer).UpdateParams(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: MsgService_UpdateParams_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(MsgServiceServer).UpdateParams(ctx, req.(*UpdateParamsRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _MsgService_CreateNewTopic_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(CreateNewTopicRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(MsgServiceServer).CreateNewTopic(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: MsgService_CreateNewTopic_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(MsgServiceServer).CreateNewTopic(ctx, req.(*CreateNewTopicRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _MsgService_Register_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(RegisterRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(MsgServiceServer).Register(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: MsgService_Register_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(MsgServiceServer).Register(ctx, req.(*RegisterRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _MsgService_RemoveRegistration_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(RemoveRegistrationRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(MsgServiceServer).RemoveRegistration(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: MsgService_RemoveRegistration_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(MsgServiceServer).RemoveRegistration(ctx, req.(*RemoveRegistrationRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _MsgService_AddStake_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(AddStakeRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(MsgServiceServer).AddStake(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: MsgService_AddStake_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(MsgServiceServer).AddStake(ctx, req.(*AddStakeRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _MsgService_RemoveStake_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(RemoveStakeRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(MsgServiceServer).RemoveStake(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: MsgService_RemoveStake_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(MsgServiceServer).RemoveStake(ctx, req.(*RemoveStakeRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _MsgService_CancelRemoveStake_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(CancelRemoveStakeRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(MsgServiceServer).CancelRemoveStake(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: MsgService_CancelRemoveStake_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(MsgServiceServer).CancelRemoveStake(ctx, req.(*CancelRemoveStakeRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _MsgService_DelegateStake_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(DelegateStakeRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(MsgServiceServer).DelegateStake(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: MsgService_DelegateStake_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(MsgServiceServer).DelegateStake(ctx, req.(*DelegateStakeRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _MsgService_RewardDelegateStake_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(RewardDelegateStakeRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(MsgServiceServer).RewardDelegateStake(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: MsgService_RewardDelegateStake_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(MsgServiceServer).RewardDelegateStake(ctx, req.(*RewardDelegateStakeRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _MsgService_RemoveDelegateStake_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(RemoveDelegateStakeRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(MsgServiceServer).RemoveDelegateStake(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: MsgService_RemoveDelegateStake_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(MsgServiceServer).RemoveDelegateStake(ctx, req.(*RemoveDelegateStakeRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _MsgService_CancelRemoveDelegateStake_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(CancelRemoveDelegateStakeRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(MsgServiceServer).CancelRemoveDelegateStake(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: MsgService_CancelRemoveDelegateStake_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(MsgServiceServer).CancelRemoveDelegateStake(ctx, req.(*CancelRemoveDelegateStakeRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _MsgService_FundTopic_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(FundTopicRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(MsgServiceServer).FundTopic(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: MsgService_FundTopic_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(MsgServiceServer).FundTopic(ctx, req.(*FundTopicRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _MsgService_AddToWhitelistAdmin_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(AddToWhitelistAdminRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(MsgServiceServer).AddToWhitelistAdmin(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: MsgService_AddToWhitelistAdmin_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(MsgServiceServer).AddToWhitelistAdmin(ctx, req.(*AddToWhitelistAdminRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _MsgService_RemoveFromWhitelistAdmin_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(RemoveFromWhitelistAdminRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(MsgServiceServer).RemoveFromWhitelistAdmin(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: MsgService_RemoveFromWhitelistAdmin_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(MsgServiceServer).RemoveFromWhitelistAdmin(ctx, req.(*RemoveFromWhitelistAdminRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _MsgService_InsertWorkerPayload_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(InsertWorkerPayloadRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(MsgServiceServer).InsertWorkerPayload(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: MsgService_InsertWorkerPayload_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(MsgServiceServer).InsertWorkerPayload(ctx, req.(*InsertWorkerPayloadRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _MsgService_InsertReputerPayload_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(InsertReputerPayloadRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(MsgServiceServer).InsertReputerPayload(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: MsgService_InsertReputerPayload_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(MsgServiceServer).InsertReputerPayload(ctx, req.(*InsertReputerPayloadRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _MsgService_AddToGlobalWhitelist_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(AddToGlobalWhitelistRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(MsgServiceServer).AddToGlobalWhitelist(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: MsgService_AddToGlobalWhitelist_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(MsgServiceServer).AddToGlobalWhitelist(ctx, req.(*AddToGlobalWhitelistRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _MsgService_RemoveFromGlobalWhitelist_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(RemoveFromGlobalWhitelistRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(MsgServiceServer).RemoveFromGlobalWhitelist(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: MsgService_RemoveFromGlobalWhitelist_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(MsgServiceServer).RemoveFromGlobalWhitelist(ctx, req.(*RemoveFromGlobalWhitelistRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _MsgService_AddToGlobalWorkerWhitelist_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(AddToGlobalWorkerWhitelistRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(MsgServiceServer).AddToGlobalWorkerWhitelist(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: MsgService_AddToGlobalWorkerWhitelist_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(MsgServiceServer).AddToGlobalWorkerWhitelist(ctx, req.(*AddToGlobalWorkerWhitelistRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _MsgService_RemoveFromGlobalWorkerWhitelist_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(RemoveFromGlobalWorkerWhitelistRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(MsgServiceServer).RemoveFromGlobalWorkerWhitelist(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: MsgService_RemoveFromGlobalWorkerWhitelist_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(MsgServiceServer).RemoveFromGlobalWorkerWhitelist(ctx, req.(*RemoveFromGlobalWorkerWhitelistRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _MsgService_AddToGlobalReputerWhitelist_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(AddToGlobalReputerWhitelistRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(MsgServiceServer).AddToGlobalReputerWhitelist(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: MsgService_AddToGlobalReputerWhitelist_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(MsgServiceServer).AddToGlobalReputerWhitelist(ctx, req.(*AddToGlobalReputerWhitelistRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _MsgService_RemoveFromGlobalReputerWhitelist_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(RemoveFromGlobalReputerWhitelistRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(MsgServiceServer).RemoveFromGlobalReputerWhitelist(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: MsgService_RemoveFromGlobalReputerWhitelist_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(MsgServiceServer).RemoveFromGlobalReputerWhitelist(ctx, req.(*RemoveFromGlobalReputerWhitelistRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _MsgService_AddToGlobalAdminWhitelist_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(AddToGlobalAdminWhitelistRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(MsgServiceServer).AddToGlobalAdminWhitelist(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: MsgService_AddToGlobalAdminWhitelist_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(MsgServiceServer).AddToGlobalAdminWhitelist(ctx, req.(*AddToGlobalAdminWhitelistRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _MsgService_RemoveFromGlobalAdminWhitelist_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(RemoveFromGlobalAdminWhitelistRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(MsgServiceServer).RemoveFromGlobalAdminWhitelist(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: MsgService_RemoveFromGlobalAdminWhitelist_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(MsgServiceServer).RemoveFromGlobalAdminWhitelist(ctx, req.(*RemoveFromGlobalAdminWhitelistRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _MsgService_BulkAddToGlobalWorkerWhitelist_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(BulkAddToGlobalWorkerWhitelistRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(MsgServiceServer).BulkAddToGlobalWorkerWhitelist(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: MsgService_BulkAddToGlobalWorkerWhitelist_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(MsgServiceServer).BulkAddToGlobalWorkerWhitelist(ctx, req.(*BulkAddToGlobalWorkerWhitelistRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _MsgService_BulkRemoveFromGlobalWorkerWhitelist_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(BulkRemoveFromGlobalWorkerWhitelistRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(MsgServiceServer).BulkRemoveFromGlobalWorkerWhitelist(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: MsgService_BulkRemoveFromGlobalWorkerWhitelist_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(MsgServiceServer).BulkRemoveFromGlobalWorkerWhitelist(ctx, req.(*BulkRemoveFromGlobalWorkerWhitelistRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _MsgService_BulkAddToGlobalReputerWhitelist_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(BulkAddToGlobalReputerWhitelistRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(MsgServiceServer).BulkAddToGlobalReputerWhitelist(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: MsgService_BulkAddToGlobalReputerWhitelist_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(MsgServiceServer).BulkAddToGlobalReputerWhitelist(ctx, req.(*BulkAddToGlobalReputerWhitelistRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _MsgService_BulkRemoveFromGlobalReputerWhitelist_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(BulkRemoveFromGlobalReputerWhitelistRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(MsgServiceServer).BulkRemoveFromGlobalReputerWhitelist(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: MsgService_BulkRemoveFromGlobalReputerWhitelist_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(MsgServiceServer).BulkRemoveFromGlobalReputerWhitelist(ctx, req.(*BulkRemoveFromGlobalReputerWhitelistRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _MsgService_BulkAddToTopicWorkerWhitelist_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(BulkAddToTopicWorkerWhitelistRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(MsgServiceServer).BulkAddToTopicWorkerWhitelist(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: MsgService_BulkAddToTopicWorkerWhitelist_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(MsgServiceServer).BulkAddToTopicWorkerWhitelist(ctx, req.(*BulkAddToTopicWorkerWhitelistRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _MsgService_BulkRemoveFromTopicWorkerWhitelist_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(BulkRemoveFromTopicWorkerWhitelistRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(MsgServiceServer).BulkRemoveFromTopicWorkerWhitelist(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: MsgService_BulkRemoveFromTopicWorkerWhitelist_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(MsgServiceServer).BulkRemoveFromTopicWorkerWhitelist(ctx, req.(*BulkRemoveFromTopicWorkerWhitelistRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _MsgService_BulkAddToTopicReputerWhitelist_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(BulkAddToTopicReputerWhitelistRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(MsgServiceServer).BulkAddToTopicReputerWhitelist(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: MsgService_BulkAddToTopicReputerWhitelist_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(MsgServiceServer).BulkAddToTopicReputerWhitelist(ctx, req.(*BulkAddToTopicReputerWhitelistRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _MsgService_BulkRemoveFromTopicReputerWhitelist_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(BulkRemoveFromTopicReputerWhitelistRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(MsgServiceServer).BulkRemoveFromTopicReputerWhitelist(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: MsgService_BulkRemoveFromTopicReputerWhitelist_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(MsgServiceServer).BulkRemoveFromTopicReputerWhitelist(ctx, req.(*BulkRemoveFromTopicReputerWhitelistRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _MsgService_EnableTopicWorkerWhitelist_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(EnableTopicWorkerWhitelistRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(MsgServiceServer).EnableTopicWorkerWhitelist(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: MsgService_EnableTopicWorkerWhitelist_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(MsgServiceServer).EnableTopicWorkerWhitelist(ctx, req.(*EnableTopicWorkerWhitelistRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _MsgService_DisableTopicWorkerWhitelist_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(DisableTopicWorkerWhitelistRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(MsgServiceServer).DisableTopicWorkerWhitelist(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: MsgService_DisableTopicWorkerWhitelist_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(MsgServiceServer).DisableTopicWorkerWhitelist(ctx, req.(*DisableTopicWorkerWhitelistRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _MsgService_EnableTopicReputerWhitelist_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(EnableTopicReputerWhitelistRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(MsgServiceServer).EnableTopicReputerWhitelist(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: MsgService_EnableTopicReputerWhitelist_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(MsgServiceServer).EnableTopicReputerWhitelist(ctx, req.(*EnableTopicReputerWhitelistRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _MsgService_DisableTopicReputerWhitelist_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(DisableTopicReputerWhitelistRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(MsgServiceServer).DisableTopicReputerWhitelist(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: MsgService_DisableTopicReputerWhitelist_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(MsgServiceServer).DisableTopicReputerWhitelist(ctx, req.(*DisableTopicReputerWhitelistRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _MsgService_AddToTopicCreatorWhitelist_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(AddToTopicCreatorWhitelistRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(MsgServiceServer).AddToTopicCreatorWhitelist(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: MsgService_AddToTopicCreatorWhitelist_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(MsgServiceServer).AddToTopicCreatorWhitelist(ctx, req.(*AddToTopicCreatorWhitelistRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _MsgService_RemoveFromTopicCreatorWhitelist_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(RemoveFromTopicCreatorWhitelistRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(MsgServiceServer).RemoveFromTopicCreatorWhitelist(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: MsgService_RemoveFromTopicCreatorWhitelist_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(MsgServiceServer).RemoveFromTopicCreatorWhitelist(ctx, req.(*RemoveFromTopicCreatorWhitelistRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _MsgService_AddToTopicWorkerWhitelist_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(AddToTopicWorkerWhitelistRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(MsgServiceServer).AddToTopicWorkerWhitelist(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: MsgService_AddToTopicWorkerWhitelist_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(MsgServiceServer).AddToTopicWorkerWhitelist(ctx, req.(*AddToTopicWorkerWhitelistRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _MsgService_RemoveFromTopicWorkerWhitelist_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(RemoveFromTopicWorkerWhitelistRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(MsgServiceServer).RemoveFromTopicWorkerWhitelist(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: MsgService_RemoveFromTopicWorkerWhitelist_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(MsgServiceServer).RemoveFromTopicWorkerWhitelist(ctx, req.(*RemoveFromTopicWorkerWhitelistRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _MsgService_AddToTopicReputerWhitelist_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(AddToTopicReputerWhitelistRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(MsgServiceServer).AddToTopicReputerWhitelist(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: MsgService_AddToTopicReputerWhitelist_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(MsgServiceServer).AddToTopicReputerWhitelist(ctx, req.(*AddToTopicReputerWhitelistRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _MsgService_RemoveFromTopicReputerWhitelist_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(RemoveFromTopicReputerWhitelistRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(MsgServiceServer).RemoveFromTopicReputerWhitelist(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: MsgService_RemoveFromTopicReputerWhitelist_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(MsgServiceServer).RemoveFromTopicReputerWhitelist(ctx, req.(*RemoveFromTopicReputerWhitelistRequest)) + } + return interceptor(ctx, in, info, handler) +} + +// MsgService_ServiceDesc is the grpc.ServiceDesc for MsgService service. +// It's only intended for direct use with grpc.RegisterService, +// and not to be introspected or modified (even as a copy) +var MsgService_ServiceDesc = grpc.ServiceDesc{ + ServiceName: "emissions.v8.MsgService", + HandlerType: (*MsgServiceServer)(nil), + Methods: []grpc.MethodDesc{ + { + MethodName: "UpdateParams", + Handler: _MsgService_UpdateParams_Handler, + }, + { + MethodName: "CreateNewTopic", + Handler: _MsgService_CreateNewTopic_Handler, + }, + { + MethodName: "Register", + Handler: _MsgService_Register_Handler, + }, + { + MethodName: "RemoveRegistration", + Handler: _MsgService_RemoveRegistration_Handler, + }, + { + MethodName: "AddStake", + Handler: _MsgService_AddStake_Handler, + }, + { + MethodName: "RemoveStake", + Handler: _MsgService_RemoveStake_Handler, + }, + { + MethodName: "CancelRemoveStake", + Handler: _MsgService_CancelRemoveStake_Handler, + }, + { + MethodName: "DelegateStake", + Handler: _MsgService_DelegateStake_Handler, + }, + { + MethodName: "RewardDelegateStake", + Handler: _MsgService_RewardDelegateStake_Handler, + }, + { + MethodName: "RemoveDelegateStake", + Handler: _MsgService_RemoveDelegateStake_Handler, + }, + { + MethodName: "CancelRemoveDelegateStake", + Handler: _MsgService_CancelRemoveDelegateStake_Handler, + }, + { + MethodName: "FundTopic", + Handler: _MsgService_FundTopic_Handler, + }, + { + MethodName: "AddToWhitelistAdmin", + Handler: _MsgService_AddToWhitelistAdmin_Handler, + }, + { + MethodName: "RemoveFromWhitelistAdmin", + Handler: _MsgService_RemoveFromWhitelistAdmin_Handler, + }, + { + MethodName: "InsertWorkerPayload", + Handler: _MsgService_InsertWorkerPayload_Handler, + }, + { + MethodName: "InsertReputerPayload", + Handler: _MsgService_InsertReputerPayload_Handler, + }, + { + MethodName: "AddToGlobalWhitelist", + Handler: _MsgService_AddToGlobalWhitelist_Handler, + }, + { + MethodName: "RemoveFromGlobalWhitelist", + Handler: _MsgService_RemoveFromGlobalWhitelist_Handler, + }, + { + MethodName: "AddToGlobalWorkerWhitelist", + Handler: _MsgService_AddToGlobalWorkerWhitelist_Handler, + }, + { + MethodName: "RemoveFromGlobalWorkerWhitelist", + Handler: _MsgService_RemoveFromGlobalWorkerWhitelist_Handler, + }, + { + MethodName: "AddToGlobalReputerWhitelist", + Handler: _MsgService_AddToGlobalReputerWhitelist_Handler, + }, + { + MethodName: "RemoveFromGlobalReputerWhitelist", + Handler: _MsgService_RemoveFromGlobalReputerWhitelist_Handler, + }, + { + MethodName: "AddToGlobalAdminWhitelist", + Handler: _MsgService_AddToGlobalAdminWhitelist_Handler, + }, + { + MethodName: "RemoveFromGlobalAdminWhitelist", + Handler: _MsgService_RemoveFromGlobalAdminWhitelist_Handler, + }, + { + MethodName: "BulkAddToGlobalWorkerWhitelist", + Handler: _MsgService_BulkAddToGlobalWorkerWhitelist_Handler, + }, + { + MethodName: "BulkRemoveFromGlobalWorkerWhitelist", + Handler: _MsgService_BulkRemoveFromGlobalWorkerWhitelist_Handler, + }, + { + MethodName: "BulkAddToGlobalReputerWhitelist", + Handler: _MsgService_BulkAddToGlobalReputerWhitelist_Handler, + }, + { + MethodName: "BulkRemoveFromGlobalReputerWhitelist", + Handler: _MsgService_BulkRemoveFromGlobalReputerWhitelist_Handler, + }, + { + MethodName: "BulkAddToTopicWorkerWhitelist", + Handler: _MsgService_BulkAddToTopicWorkerWhitelist_Handler, + }, + { + MethodName: "BulkRemoveFromTopicWorkerWhitelist", + Handler: _MsgService_BulkRemoveFromTopicWorkerWhitelist_Handler, + }, + { + MethodName: "BulkAddToTopicReputerWhitelist", + Handler: _MsgService_BulkAddToTopicReputerWhitelist_Handler, + }, + { + MethodName: "BulkRemoveFromTopicReputerWhitelist", + Handler: _MsgService_BulkRemoveFromTopicReputerWhitelist_Handler, + }, + { + MethodName: "EnableTopicWorkerWhitelist", + Handler: _MsgService_EnableTopicWorkerWhitelist_Handler, + }, + { + MethodName: "DisableTopicWorkerWhitelist", + Handler: _MsgService_DisableTopicWorkerWhitelist_Handler, + }, + { + MethodName: "EnableTopicReputerWhitelist", + Handler: _MsgService_EnableTopicReputerWhitelist_Handler, + }, + { + MethodName: "DisableTopicReputerWhitelist", + Handler: _MsgService_DisableTopicReputerWhitelist_Handler, + }, + { + MethodName: "AddToTopicCreatorWhitelist", + Handler: _MsgService_AddToTopicCreatorWhitelist_Handler, + }, + { + MethodName: "RemoveFromTopicCreatorWhitelist", + Handler: _MsgService_RemoveFromTopicCreatorWhitelist_Handler, + }, + { + MethodName: "AddToTopicWorkerWhitelist", + Handler: _MsgService_AddToTopicWorkerWhitelist_Handler, + }, + { + MethodName: "RemoveFromTopicWorkerWhitelist", + Handler: _MsgService_RemoveFromTopicWorkerWhitelist_Handler, + }, + { + MethodName: "AddToTopicReputerWhitelist", + Handler: _MsgService_AddToTopicReputerWhitelist_Handler, + }, + { + MethodName: "RemoveFromTopicReputerWhitelist", + Handler: _MsgService_RemoveFromTopicReputerWhitelist_Handler, + }, + }, + Streams: []grpc.StreamDesc{}, + Metadata: "emissions/v8/tx.proto", +} diff --git a/x/emissions/keeper/actor_utils/losses.go b/x/emissions/keeper/actor_utils/losses.go index 2ab738f87..ea9a714f7 100644 --- a/x/emissions/keeper/actor_utils/losses.go +++ b/x/emissions/keeper/actor_utils/losses.go @@ -9,6 +9,7 @@ import ( "cosmossdk.io/collections" errorsmod "cosmossdk.io/errors" cosmosMath "cosmossdk.io/math" + alloraMath "github.com/allora-network/allora-chain/math" keeper "github.com/allora-network/allora-chain/x/emissions/keeper" synth "github.com/allora-network/allora-chain/x/emissions/keeper/inference_synthesis" "github.com/allora-network/allora-chain/x/emissions/types" @@ -127,7 +128,7 @@ func CloseReputerNonce( types.EmitNewNetworkLossSetEvent(ctx, topic.Id, nonce.BlockHeight, networkLossBundle) - err = synth.GetCalcSetNetworkRegrets( + regrets, err := synth.GetCalcSetNetworkRegrets( synth.GetCalcSetNetworkRegretsArgs{ Ctx: ctx, K: *k, @@ -145,6 +146,78 @@ func CloseReputerNonce( return err } + // Calculate the regret_stdnorm and the weights (multistep process). + // 0. Get inferer and forecaster regrets + infererRegrets := regrets.InfererRegrets + inferers := alloraMath.GetSortedKeys(infererRegrets) + forecasterRegrets := regrets.ForecasterRegrets + forecasters := alloraMath.GetSortedKeys(forecasterRegrets) + + // 2. Calculate the regret_stdnorm to be used in + // 2.a Calculate the regret_stdnorm filtered by ∫the previous weights. If not, apply stddev. + stdDevPlusEpsilon, err := synth.CalcRegretStdDevFilteredByWeights( + synth.CalcRegretStdDevFilteredByWeightsArgs{ + Ctx: ctx, + K: k, + Logger: ctx.Logger(), + TopicId: topic.Id, + Inferers: inferers, + Forecasters: forecasters, + InfererToRegret: infererRegrets, + ForecasterToRegret: forecasterRegrets, + NegligibleThreshold: params.MinWeightThresholdForStdnorm, + EpsilonTopic: topic.Epsilon, + }, + ) + if err != nil { + return err + } + // 2.b ... and store it. + err = k.SetLatestRegretStdNorm(ctx, topic.Id, stdDevPlusEpsilon) + if err != nil { + return err + } + + // 3. Calculate the new weights + newWeights, err := synth.CalcWeightsGivenWorkers( + synth.CalcWeightsGivenWorkersArgs{ + Logger: ctx.Logger(), + Inferers: inferers, + Forecasters: forecasters, + InfererToRegret: infererRegrets, + ForecasterToRegret: forecasterRegrets, + EpsilonTopic: topic.Epsilon, + PNorm: topic.PNorm, + CNorm: params.CNorm, + StdDevPlusEpsilon: stdDevPlusEpsilon, + }, + ) + if err != nil { + return err + } + + // 4. Normalize weights! This was not done before, but it is needed for the filter of non-negligible weights. + err = newWeights.NormalizeWeights() + if err != nil { + return err + } + + // 5. Store the new weights + err = synth.StoreLatestNormalizedWeights(ctx, *k, topic.Id, newWeights) + if err != nil { + return err + } + + // Emit events: the regret stdnorm set event + types.EmitNewRegretStdNormSetEvent(ctx, topic.Id, nonce.BlockHeight, stdDevPlusEpsilon) + for _, inferer := range inferers { + types.EmitNewInfererWeightSetEvent(ctx, topic.Id, nonce.BlockHeight, inferer, newWeights.Inferers[inferer]) + } + for _, forecaster := range forecasters { + types.EmitNewForecasterWeightSetEvent(ctx, topic.Id, nonce.BlockHeight, forecaster, newWeights.Forecasters[forecaster]) + } + // -- end of regrets_stdnorm and weights multistep process + _, err = k.FulfillReputerNonce(ctx, topic.Id, &nonce) if err != nil { return err diff --git a/x/emissions/keeper/genesis.go b/x/emissions/keeper/genesis.go index c41b7e7fd..cfbdd18f9 100644 --- a/x/emissions/keeper/genesis.go +++ b/x/emissions/keeper/genesis.go @@ -963,6 +963,33 @@ func (k *Keeper) InitGenesis(ctx context.Context, data *types.GenesisState) erro } } + // Initialize latest regret stdnorm + for _, stdnorm := range data.LatestRegretStdNorm { + if stdnorm != nil { + if err := k.SetLatestRegretStdNorm(ctx, stdnorm.TopicId, stdnorm.Dec); err != nil { + return errors.Wrap(err, "error setting latest regret stdnorm") + } + } + } + + // Initialize latest inferer weights + for _, weight := range data.LatestInfererWeights { + if weight != nil { + if err := k.SetLatestInfererWeight(ctx, weight.TopicId, weight.ActorId, weight.Dec); err != nil { + return errors.Wrap(err, "error setting latest inferer weight") + } + } + } + + // Initialize latest forecaster weights + for _, weight := range data.LatestForecasterWeights { + if weight != nil { + if err := k.SetLatestForecasterWeight(ctx, weight.TopicId, weight.ActorId, weight.Dec); err != nil { + return errors.Wrap(err, "error setting latest forecaster weight") + } + } + } + return nil } @@ -2445,6 +2472,59 @@ func (k *Keeper) ExportGenesis(ctx context.Context) (*types.GenesisState, error) }) } + // Export latest regret stdnorm + latestRegretStdNorm := make([]*types.TopicIdAndDec, 0) + stdnormIter, err := k.latestRegretStdNorm.Iterate(ctx, nil) + if err != nil { + return nil, errors.Wrap(err, "failed to iterate latest regret stdnorm") + } + for ; stdnormIter.Valid(); stdnormIter.Next() { + keyValue, err := stdnormIter.KeyValue() + if err != nil { + return nil, errors.Wrap(err, "failed to get key value: stdnormIter") + } + latestRegretStdNorm = append(latestRegretStdNorm, &types.TopicIdAndDec{ + TopicId: keyValue.Key, + Dec: keyValue.Value, + }) + } + + // Export latest inferer weights + latestInfererWeights := make([]*types.TopicIdActorIdDec, 0) + infererWeightsIter, err := k.latestInfererWeights.Iterate(ctx, nil) + if err != nil { + return nil, errors.Wrap(err, "failed to iterate latest inferer weights") + } + for ; infererWeightsIter.Valid(); infererWeightsIter.Next() { + keyValue, err := infererWeightsIter.KeyValue() + if err != nil { + return nil, errors.Wrap(err, "failed to get key value: infererWeightsIter") + } + latestInfererWeights = append(latestInfererWeights, &types.TopicIdActorIdDec{ + TopicId: keyValue.Key.K1(), + ActorId: keyValue.Key.K2(), + Dec: keyValue.Value, + }) + } + + // Export latest forecaster weights + latestForecasterWeights := make([]*types.TopicIdActorIdDec, 0) + forecasterWeightsIter, err := k.latestForecasterWeights.Iterate(ctx, nil) + if err != nil { + return nil, errors.Wrap(err, "failed to iterate latest forecaster weights") + } + for ; forecasterWeightsIter.Valid(); forecasterWeightsIter.Next() { + keyValue, err := forecasterWeightsIter.KeyValue() + if err != nil { + return nil, errors.Wrap(err, "failed to get key value: forecasterWeightsIter") + } + latestForecasterWeights = append(latestForecasterWeights, &types.TopicIdActorIdDec{ + TopicId: keyValue.Key.K1(), + ActorId: keyValue.Key.K2(), + Dec: keyValue.Value, + }) + } + return &types.GenesisState{ Params: moduleParams, NextTopicId: nextTopicId, @@ -2534,5 +2614,8 @@ func (k *Keeper) ExportGenesis(ctx context.Context) (*types.GenesisState, error) TopicReputerWhitelistEnabled: topicReputerWhitelistEnabled, LastMedianInferences: lastMedianInferences, MadInferences: madInferences, + LatestRegretStdNorm: latestRegretStdNorm, + LatestInfererWeights: latestInfererWeights, + LatestForecasterWeights: latestForecasterWeights, }, nil } diff --git a/x/emissions/keeper/inference_synthesis/forecast_implied.go b/x/emissions/keeper/inference_synthesis/forecast_implied.go index 32a56802e..75e7d80f7 100644 --- a/x/emissions/keeper/inference_synthesis/forecast_implied.go +++ b/x/emissions/keeper/inference_synthesis/forecast_implied.go @@ -24,6 +24,7 @@ type CalcForecastImpliedInferencesArgs struct { EpsilonTopic alloraMath.Dec PNorm alloraMath.Dec CNorm alloraMath.Dec + StdDevPlusEpsilon alloraMath.Dec } // Calculate the forecast-implied inferences I_ik given inferences, forecasts and network losses. @@ -127,16 +128,17 @@ func CalcForecastImpliedInferences(args CalcForecastImpliedInferencesArgs) ( infererToRegretOut = infererRegretsForThisForecaster forecasterToRegretOut = make(map[Forecaster]*alloraMath.Dec, 0) - weights, err := calcWeightsGivenWorkers( - calcWeightsGivenWorkersArgs{ - logger: args.Logger, - inferers: args.Inferers, - forecasters: args.Forecasters, - infererToRegret: infererToRegretOut, - forecasterToRegret: forecasterToRegretOut, - epsilonTopic: args.EpsilonTopic, - pNorm: args.PNorm, - cNorm: args.CNorm, + weights, err := CalcWeightsGivenWorkers( + CalcWeightsGivenWorkersArgs{ + Logger: args.Logger, + Inferers: args.Inferers, + Forecasters: args.Forecasters, + InfererToRegret: infererToRegretOut, + ForecasterToRegret: forecasterToRegretOut, + EpsilonTopic: args.EpsilonTopic, + PNorm: args.PNorm, + CNorm: args.CNorm, + StdDevPlusEpsilon: args.StdDevPlusEpsilon, }, ) if err != nil { diff --git a/x/emissions/keeper/inference_synthesis/forecast_implied_test.go b/x/emissions/keeper/inference_synthesis/forecast_implied_test.go index b5ee68916..26ff9aaf0 100644 --- a/x/emissions/keeper/inference_synthesis/forecast_implied_test.go +++ b/x/emissions/keeper/inference_synthesis/forecast_implied_test.go @@ -147,6 +147,7 @@ func (s *InferenceSynthesisTestSuite) TestCalcForecastImpliedInferencesTwoWorker EpsilonTopic: epsilon, PNorm: pNorm, CNorm: cNorm, + StdDevPlusEpsilon: alloraMath.ZeroDec(), }, ) s.Require().NoError(err) @@ -223,6 +224,7 @@ func (s *InferenceSynthesisTestSuite) TestCalcForecastImpliedInferencesTwoWorker EpsilonTopic: epsilon, PNorm: pNorm, CNorm: cNorm, + StdDevPlusEpsilon: alloraMath.ZeroDec(), }, ) s.Require().NoError(err) @@ -317,6 +319,7 @@ func (s *InferenceSynthesisTestSuite) TestCalcForecastImpliedInferencesThreeWork EpsilonTopic: epsilon, PNorm: pNorm, CNorm: cNorm, + StdDevPlusEpsilon: alloraMath.ZeroDec(), }, ) s.Require().NoError(err) @@ -417,6 +420,7 @@ func (s *InferenceSynthesisTestSuite) TestCalcForcastImpliedInferencesEpoch2() { EpsilonTopic: epsilon, PNorm: pNorm, CNorm: cNorm, + StdDevPlusEpsilon: alloraMath.ZeroDec(), }) s.Require().NoError(err) for key, expectedValue := range expected { @@ -509,6 +513,7 @@ func (s *InferenceSynthesisTestSuite) TestCalcForcastImpliedInferencesEpoch3() { EpsilonTopic: epsilon, PNorm: pNorm, CNorm: cNorm, + StdDevPlusEpsilon: alloraMath.ZeroDec(), }) s.Require().NoError(err) for key, expectedValue := range expected { diff --git a/x/emissions/keeper/inference_synthesis/network_inference_builder.go b/x/emissions/keeper/inference_synthesis/network_inference_builder.go index 53bd9e2c9..387fabd11 100644 --- a/x/emissions/keeper/inference_synthesis/network_inference_builder.go +++ b/x/emissions/keeper/inference_synthesis/network_inference_builder.go @@ -27,6 +27,7 @@ type GetCombinedInferenceArgs struct { EpsilonSafeDiv alloraMath.Dec PNorm alloraMath.Dec CNorm alloraMath.Dec + StdDevPlusEpsilon alloraMath.Dec } // Calculates the network combined inference I_i, Equation 9 @@ -34,16 +35,17 @@ func GetCombinedInference(args GetCombinedInferenceArgs) ( weights RegretInformedWeights, combinedInference InferenceValue, err error) { args.Logger.Debug(fmt.Sprintf("Calculating combined inference for topic %v", args.TopicId)) - weights, err = calcWeightsGivenWorkers( - calcWeightsGivenWorkersArgs{ - logger: args.Logger, - inferers: args.Inferers, - forecasters: args.Forecasters, - infererToRegret: args.InfererToRegret, - forecasterToRegret: args.ForecasterToRegret, - epsilonTopic: args.EpsilonTopic, - pNorm: args.PNorm, - cNorm: args.CNorm, + weights, err = CalcWeightsGivenWorkers( + CalcWeightsGivenWorkersArgs{ + Logger: args.Logger, + Inferers: args.Inferers, + Forecasters: args.Forecasters, + InfererToRegret: args.InfererToRegret, + ForecasterToRegret: args.ForecasterToRegret, + EpsilonTopic: args.EpsilonTopic, + PNorm: args.PNorm, + CNorm: args.CNorm, + StdDevPlusEpsilon: args.StdDevPlusEpsilon, }, ) if err != nil { @@ -121,6 +123,7 @@ type GetNaiveInferenceArgs struct { EpsilonSafeDiv alloraMath.Dec PNorm alloraMath.Dec CNorm alloraMath.Dec + StdDevPlusEpsilon alloraMath.Dec } // Calculates the network naive inference I^-_i @@ -137,16 +140,17 @@ func GetNaiveInference(args GetNaiveInferenceArgs) (naiveInference alloraMath.De infererToRegret[inferer] = ®ret.Value } - weights, err := calcWeightsGivenWorkers( - calcWeightsGivenWorkersArgs{ - logger: args.Logger, - inferers: args.Inferers, - forecasters: args.Forecasters, - infererToRegret: infererToRegret, - forecasterToRegret: make(map[Worker]*alloraMath.Dec, 0), - epsilonTopic: args.EpsilonTopic, - pNorm: args.PNorm, - cNorm: args.CNorm, + weights, err := CalcWeightsGivenWorkers( + CalcWeightsGivenWorkersArgs{ + Logger: args.Logger, + Inferers: args.Inferers, + Forecasters: args.Forecasters, + InfererToRegret: infererToRegret, + ForecasterToRegret: make(map[Worker]*alloraMath.Dec, 0), + EpsilonTopic: args.EpsilonTopic, + PNorm: args.PNorm, + CNorm: args.CNorm, + StdDevPlusEpsilon: args.StdDevPlusEpsilon, }, ) if err != nil { @@ -192,6 +196,7 @@ type CalcOneOutInfererInferenceArgs struct { PNorm alloraMath.Dec CNorm alloraMath.Dec WithheldInferer Inferer + StdDevPlusEpsilon alloraMath.Dec } // Calculate the one-out inference given a withheld inferer @@ -243,6 +248,7 @@ func calcOneOutInfererInference(args CalcOneOutInfererInferenceArgs) ( EpsilonTopic: args.EpsilonTopic, PNorm: args.PNorm, CNorm: args.CNorm, + StdDevPlusEpsilon: args.StdDevPlusEpsilon, }, ) if err != nil { @@ -259,16 +265,17 @@ func calcOneOutInfererInference(args CalcOneOutInfererInferenceArgs) ( remainingForecasterRegrets[forecaster] = ®ret.Value } - weights, err := calcWeightsGivenWorkers( - calcWeightsGivenWorkersArgs{ - logger: args.Logger, - inferers: remainingInferers, - forecasters: args.Forecasters, - infererToRegret: remainingInfererRegrets, - forecasterToRegret: remainingForecasterRegrets, - epsilonTopic: args.EpsilonTopic, - pNorm: args.PNorm, - cNorm: args.CNorm, + weights, err := CalcWeightsGivenWorkers( + CalcWeightsGivenWorkersArgs{ + Logger: args.Logger, + Inferers: remainingInferers, + Forecasters: args.Forecasters, + InfererToRegret: remainingInfererRegrets, + ForecasterToRegret: remainingForecasterRegrets, + EpsilonTopic: args.EpsilonTopic, + PNorm: args.PNorm, + CNorm: args.CNorm, + StdDevPlusEpsilon: args.StdDevPlusEpsilon, }, ) if err != nil { @@ -313,6 +320,7 @@ type GetOneOutInfererInferencesArgs struct { EpsilonSafeDiv alloraMath.Dec PNorm alloraMath.Dec CNorm alloraMath.Dec + StdDevPlusEpsilon alloraMath.Dec } // Set all one-out-inferer inferences that are possible given the provided input @@ -350,6 +358,7 @@ func GetOneOutInfererInferences(args GetOneOutInfererInferencesArgs) ( PNorm: args.PNorm, CNorm: args.CNorm, WithheldInferer: worker, + StdDevPlusEpsilon: args.StdDevPlusEpsilon, }) if err != nil { return []*emissions.WithheldWorkerAttributedValue{}, errorsmod.Wrapf(err, "GetOneOutInfererInferences() error calculating one-out inferer inferences") @@ -383,6 +392,7 @@ type CalcOneOutForecasterInferenceArgs struct { PNorm alloraMath.Dec CNorm alloraMath.Dec WithheldForecaster Forecaster + StdDevPlusEpsilon alloraMath.Dec } // Calculate the one-out inference given a withheld forecaster @@ -424,16 +434,17 @@ func calcOneOutForecasterInference(args CalcOneOutForecasterInferenceArgs) ( remainingInfererRegrets[inferer] = ®ret.Value } - weights, err := calcWeightsGivenWorkers( - calcWeightsGivenWorkersArgs{ - logger: args.Logger, - inferers: args.Inferers, - forecasters: remainingForecasters, - infererToRegret: remainingInfererRegrets, - forecasterToRegret: remainingForecasterRegrets, - epsilonTopic: args.EpsilonTopic, - pNorm: args.PNorm, - cNorm: args.CNorm, + weights, err := CalcWeightsGivenWorkers( + CalcWeightsGivenWorkersArgs{ + Logger: args.Logger, + Inferers: args.Inferers, + Forecasters: remainingForecasters, + InfererToRegret: remainingInfererRegrets, + ForecasterToRegret: remainingForecasterRegrets, + EpsilonTopic: args.EpsilonTopic, + PNorm: args.PNorm, + CNorm: args.CNorm, + StdDevPlusEpsilon: args.StdDevPlusEpsilon, }, ) if err != nil { @@ -478,6 +489,7 @@ type GetOneOutForecasterInferencesArgs struct { EpsilonSafeDiv alloraMath.Dec PNorm alloraMath.Dec CNorm alloraMath.Dec + StdDevPlusEpsilon alloraMath.Dec } // Set all one-out-forecaster inferences that are possible given the provided input @@ -511,6 +523,7 @@ func GetOneOutForecasterInferences(args GetOneOutForecasterInferencesArgs) ( PNorm: args.PNorm, CNorm: args.CNorm, WithheldForecaster: worker, + StdDevPlusEpsilon: args.StdDevPlusEpsilon, }) if err != nil { return []*emissions.WithheldWorkerAttributedValue{}, errorsmod.Wrapf(err, "GetOneOutForecasterInferences() error calculating one-out forecaster inferences") @@ -541,6 +554,7 @@ type calcOneInValueArgs struct { PNorm alloraMath.Dec CNorm alloraMath.Dec OneInForecaster Forecaster + StdDevPlusEpsilon alloraMath.Dec } // Calculate the one-in inference given a withheld forecaster @@ -587,16 +601,17 @@ func calcOneInValue(args calcOneInValueArgs) ( infererToInferenceForSingleForecaster[inferer] = inference } - weights, err := calcWeightsGivenWorkers( - calcWeightsGivenWorkersArgs{ - logger: args.Logger, - inferers: args.Inferers, - forecasters: singleForecaster, - infererToRegret: infererToRegretForSingleForecaster, - forecasterToRegret: singleForecasterRegret, - epsilonTopic: args.EpsilonTopic, - pNorm: args.PNorm, - cNorm: args.CNorm, + weights, err := CalcWeightsGivenWorkers( + CalcWeightsGivenWorkersArgs{ + Logger: args.Logger, + Inferers: args.Inferers, + Forecasters: singleForecaster, + InfererToRegret: infererToRegretForSingleForecaster, + ForecasterToRegret: singleForecasterRegret, + EpsilonTopic: args.EpsilonTopic, + PNorm: args.PNorm, + CNorm: args.CNorm, + StdDevPlusEpsilon: args.StdDevPlusEpsilon, }, ) if err != nil { @@ -638,6 +653,7 @@ type GetOneInForecasterInferencesArgs struct { EpsilonSafeDiv alloraMath.Dec PNorm alloraMath.Dec CNorm alloraMath.Dec + StdDevPlusEpsilon alloraMath.Dec } // Set all one-in inferences that are possible given the provided input @@ -669,6 +685,7 @@ func GetOneInForecasterInferences(args GetOneInForecasterInferencesArgs) ( PNorm: args.PNorm, CNorm: args.CNorm, OneInForecaster: oneInForecaster, + StdDevPlusEpsilon: args.StdDevPlusEpsilon, }) if err != nil { return []*emissions.WorkerAttributedValue{}, errorsmod.Wrapf(err, "GetOneInForecasterInferences() error calculating one-in inferences") @@ -701,6 +718,7 @@ type CalcNetworkInferencesArgs struct { EpsilonSafeDiv alloraMath.Dec PNorm alloraMath.Dec CNorm alloraMath.Dec + StdDevPlusEpsilon alloraMath.Dec } // Calculates all network inferences in the set I_i given historical state (e.g. regrets) @@ -716,6 +734,7 @@ func CalcNetworkInferences( // first get the network combined inference I_i // which is the end result of all this work, the actual combined // inference from all of the inferers put together + args.Logger.Info("CalcNetworkInferences() starting") weights, combinedInference, err := GetCombinedInference( GetCombinedInferenceArgs{ Logger: args.Logger, @@ -731,6 +750,7 @@ func CalcNetworkInferences( EpsilonSafeDiv: args.EpsilonSafeDiv, PNorm: args.PNorm, CNorm: args.CNorm, + StdDevPlusEpsilon: args.StdDevPlusEpsilon, }) if err != nil { return &emissions.ValueBundle{}, RegretInformedWeights{}, errorsmod.Wrap(err, "CalcNetworkInferences() error calculating combined inference") @@ -743,6 +763,7 @@ func CalcNetworkInferences( args.Forecasters, args.ForecasterToForecastImpliedInference, ) + // get the naive network inference I^-_i // The naive network inference is used to quantify the contribution of the // forecasting task to the network accuracy, which in turn sets the reward @@ -763,6 +784,7 @@ func CalcNetworkInferences( EpsilonSafeDiv: args.EpsilonSafeDiv, PNorm: args.PNorm, CNorm: args.CNorm, + StdDevPlusEpsilon: args.StdDevPlusEpsilon, }) if err != nil { return &emissions.ValueBundle{}, RegretInformedWeights{}, errorsmod.Wrap(err, "CalcNetworkInferences() error calculating naive inference") @@ -793,6 +815,7 @@ func CalcNetworkInferences( EpsilonSafeDiv: args.EpsilonSafeDiv, PNorm: args.PNorm, CNorm: args.CNorm, + StdDevPlusEpsilon: args.StdDevPlusEpsilon, }) if err != nil { return &emissions.ValueBundle{}, RegretInformedWeights{}, errorsmod.Wrap(err, "CalcNetworkInferences() error calculating one-out inferer inferences") @@ -822,6 +845,7 @@ func CalcNetworkInferences( EpsilonSafeDiv: args.EpsilonSafeDiv, PNorm: args.PNorm, CNorm: args.CNorm, + StdDevPlusEpsilon: args.StdDevPlusEpsilon, }) if err != nil { return &emissions.ValueBundle{}, RegretInformedWeights{}, errorsmod.Wrap(err, "CalcNetworkInferences() error calculating one-out forecaster inferences") @@ -848,6 +872,7 @@ func CalcNetworkInferences( EpsilonSafeDiv: args.EpsilonSafeDiv, PNorm: args.PNorm, CNorm: args.CNorm, + StdDevPlusEpsilon: args.StdDevPlusEpsilon, }) if err != nil { return &emissions.ValueBundle{}, RegretInformedWeights{}, errorsmod.Wrap(err, "CalcNetworkInferences() error calculating one-in inferences") diff --git a/x/emissions/keeper/inference_synthesis/network_inference_builder_test.go b/x/emissions/keeper/inference_synthesis/network_inference_builder_test.go index 8e3d3b119..d361147de 100644 --- a/x/emissions/keeper/inference_synthesis/network_inference_builder_test.go +++ b/x/emissions/keeper/inference_synthesis/network_inference_builder_test.go @@ -58,13 +58,15 @@ func (s *InferenceSynthesisTestSuite) SetupTest() { key := storetypes.NewKVStoreKey("emissions") storeService := runtime.NewKVStoreService(key) testCtx := testutil.DefaultContextWithDB(s.T(), key, storetypes.NewTransientStoreKey("transient_test")) + // Set logger to show logs from the rewards module too + logger := log.NewTestLogger(s.T()).With("module", "inference_synthesis") ctx := testCtx.Ctx.WithHeaderInfo(header.Info{ Height: 1, Hash: []byte("1"), AppHash: []byte("1"), ChainID: "localnet", Time: time.Now(), - }) + }).WithLogger(logger) encCfg := moduletestutil.MakeTestEncodingConfig(auth.AppModuleBasic{}, bank.AppModuleBasic{}, module.AppModule{}) addressCodec := address.NewBech32Codec(params.Bech32PrefixAccAddr) @@ -641,6 +643,7 @@ func (s *InferenceSynthesisTestSuite) testCorrectCombinedInitialValueForEpoch(ep EpsilonSafeDiv: epsilonSafeDiv, PNorm: pNorm, CNorm: cNorm, + StdDevPlusEpsilon: alloraMath.ZeroDec(), }) s.Require().NoError(err) alloratestutil.InEpsilon5(s.T(), combinedValue, epochGet[epoch]("network_inference").String()) @@ -679,6 +682,7 @@ func (s *InferenceSynthesisTestSuite) testCorrectNaiveValueForEpoch(epoch int) { EpsilonSafeDiv: epsilonSafeDiv, PNorm: pNorm, CNorm: cNorm, + StdDevPlusEpsilon: alloraMath.ZeroDec(), }) s.Require().NoError(err) alloratestutil.InEpsilon5(s.T(), naiveValue, epochGet[epoch]("network_naive_inference").String()) @@ -730,6 +734,7 @@ func (s *InferenceSynthesisTestSuite) testCorrectOneOutInfererValuesForEpoch(epo EpsilonSafeDiv: epsilonSafeDiv, PNorm: pNorm, CNorm: cNorm, + StdDevPlusEpsilon: alloraMath.ZeroDec(), }) s.Require().NoError(err) @@ -776,6 +781,7 @@ func (s *InferenceSynthesisTestSuite) testCorrectOneOutForecasterValuesForEpoch( EpsilonSafeDiv: epsilonSafeDiv, PNorm: pNorm, CNorm: cNorm, + StdDevPlusEpsilon: alloraMath.ZeroDec(), }) s.Require().NoError(err) @@ -834,6 +840,7 @@ func (s *InferenceSynthesisTestSuite) testCorrectOneInForecasterValuesForEpoch(e EpsilonSafeDiv: epsilonSafeDiv, PNorm: pNorm, CNorm: cNorm, + StdDevPlusEpsilon: alloraMath.ZeroDec(), }) s.Require().NoError(err) @@ -941,6 +948,7 @@ func (s *InferenceSynthesisTestSuite) TestBuildNetworkInferencesIncompleteData() EpsilonSafeDiv: epsilonSafeDiv, PNorm: pNorm, CNorm: cNorm, + StdDevPlusEpsilon: alloraMath.ZeroDec(), } valueBundle, _, err := inferencesynthesis.CalcNetworkInferences(calcArgs) @@ -1053,6 +1061,7 @@ func (s *InferenceSynthesisTestSuite) TestCalcNetworkInferencesTwoWorkerTwoForec EpsilonSafeDiv: epsilonSafeDiv, PNorm: pNorm, CNorm: cNorm, + StdDevPlusEpsilon: alloraMath.ZeroDec(), } valueBundle, _, err := inferencesynthesis.CalcNetworkInferences(calcArgs) s.Require().NoError(err) @@ -1195,6 +1204,7 @@ func (s *InferenceSynthesisTestSuite) TestCalcNetworkInferencesThreeWorkerThreeF EpsilonSafeDiv: epsilonSafeDiv, PNorm: pNorm, CNorm: cNorm, + StdDevPlusEpsilon: alloraMath.ZeroDec(), } valueBundle, _, err := inferencesynthesis.CalcNetworkInferences( @@ -1341,6 +1351,7 @@ func (s *InferenceSynthesisTestSuite) TestCalcNetworkInferencesThreeWorkerTwoFor EpsilonSafeDiv: epsilonSafeDiv, PNorm: pNorm, CNorm: cNorm, + StdDevPlusEpsilon: alloraMath.ZeroDec(), } valueBundle, weights, err := inferencesynthesis.CalcNetworkInferences( @@ -1448,6 +1459,7 @@ func (s *InferenceSynthesisTestSuite) TestCalc0neInInferencesTwoForecastersOldTw EpsilonSafeDiv: epsilonSafeDiv, PNorm: pNorm, CNorm: cNorm, + StdDevPlusEpsilon: alloraMath.ZeroDec(), } valueBundle, _, err := inferencesynthesis.CalcNetworkInferences(calcArgs) diff --git a/x/emissions/keeper/inference_synthesis/network_inferences.go b/x/emissions/keeper/inference_synthesis/network_inferences.go index 6b02c3149..29a3c5c10 100644 --- a/x/emissions/keeper/inference_synthesis/network_inferences.go +++ b/x/emissions/keeper/inference_synthesis/network_inferences.go @@ -268,6 +268,13 @@ func GetCalcNetworkInferenceArgs( forecasterToRegret[forecaster] = ®ret.Value } + // Get the latest regret stdnorm from the keeper. If zero, it will recalculate with provided data. + stdDevPlusEpsilon, err := k.GetLatestRegretStdNorm(ctx, topicId) + if err != nil { + return CalcNetworkInferencesArgs{}, errorsmod.Wrap(err, "CalcNetworkInferences() error getting latest regret stdnorm") + } + logger.Info(fmt.Sprintf("GetCalcNetworkInferenceArgs: StdDevPlusEpsilon: %v", stdDevPlusEpsilon)) + forecastImpliedInferencesByWorker, _, _, err := CalcForecastImpliedInferences( CalcForecastImpliedInferencesArgs{ Logger: logger, @@ -283,6 +290,7 @@ func GetCalcNetworkInferenceArgs( EpsilonTopic: topic.Epsilon, PNorm: topic.PNorm, CNorm: moduleParams.CNorm, + StdDevPlusEpsilon: stdDevPlusEpsilon, }, ) if err != nil { @@ -307,6 +315,7 @@ func GetCalcNetworkInferenceArgs( EpsilonSafeDiv: moduleParams.EpsilonSafeDiv, PNorm: topic.PNorm, CNorm: moduleParams.CNorm, + StdDevPlusEpsilon: stdDevPlusEpsilon, } // If there are forecast-implied inferences, add forecasters info diff --git a/x/emissions/keeper/inference_synthesis/network_regrets.go b/x/emissions/keeper/inference_synthesis/network_regrets.go index e7d4dafe1..55b5c6dbf 100644 --- a/x/emissions/keeper/inference_synthesis/network_regrets.go +++ b/x/emissions/keeper/inference_synthesis/network_regrets.go @@ -109,11 +109,16 @@ type GetCalcSetNetworkRegretsArgs struct { PNormSafeDiv alloraMath.Dec } +type GetCalcSetNetworkRegretsOut struct { + InfererRegrets map[Worker]*alloraMath.Dec + ForecasterRegrets map[Worker]*alloraMath.Dec +} + // Calculate the new network regrets by taking EMAs between the previous network regrets // and the new regrets admitted by the inputted network losses // NOTE: It is assumed the workers are uniquely represented in the network losses // NOTE: It is assumed network losses are sorted (done in synth.CalcNetworkLosses()) -func GetCalcSetNetworkRegrets(args GetCalcSetNetworkRegretsArgs) error { +func GetCalcSetNetworkRegrets(args GetCalcSetNetworkRegretsArgs) (out GetCalcSetNetworkRegretsOut, err error) { // Convert the network losses to a networkLossesByWorker networkLossesByWorker := ConvertValueBundleToNetworkLossesByWorker(args.NetworkLosses) blockHeight := args.Nonce.BlockHeight @@ -121,13 +126,16 @@ func GetCalcSetNetworkRegrets(args GetCalcSetNetworkRegretsArgs) error { fallbackRegrets := make([]alloraMath.Dec, 0) workersRegrets := make([]alloraMath.Dec, 0) + out.InfererRegrets = make(map[Worker]*alloraMath.Dec) + out.ForecasterRegrets = make(map[Worker]*alloraMath.Dec) + // R_ij - Inferer Regrets var workersForEvent []Worker var regretsForEvent []alloraMath.Dec for _, infererLoss := range args.NetworkLosses.InfererValues { lastRegret, newParticipant, err := args.K.GetInfererNetworkRegret(args.Ctx, args.TopicId, infererLoss.Worker) if err != nil { - return errorsmod.Wrapf(err, "failed to get inferer regret") + return GetCalcSetNetworkRegretsOut{}, errorsmod.Wrapf(err, "failed to get inferer regret") } newInfererRegret, err := ComputeAndBuildEMRegret( args.NetworkLosses.CombinedValue, // L_i @@ -137,11 +145,11 @@ func GetCalcSetNetworkRegrets(args GetCalcSetNetworkRegretsArgs) error { blockHeight, ) if err != nil { - return errorsmod.Wrapf(err, "Error computing and building inferer regret") + return GetCalcSetNetworkRegretsOut{}, errorsmod.Wrapf(err, "Error computing and building inferer regret") } err = args.K.SetInfererNetworkRegret(args.Ctx, args.TopicId, infererLoss.Worker, newInfererRegret) if err != nil { - return errorsmod.Wrapf(err, "Error setting inferer regret") + return GetCalcSetNetworkRegretsOut{}, errorsmod.Wrapf(err, "Error setting inferer regret") } shouldAddWorkerRegret, err := isExperiencedInferer( @@ -153,7 +161,7 @@ func GetCalcSetNetworkRegrets(args GetCalcSetNetworkRegretsArgs) error { newParticipant, ) if err != nil { - return errorsmod.Wrapf(err, "Error checking if should add worker regret") + return GetCalcSetNetworkRegretsOut{}, errorsmod.Wrapf(err, "Error checking if should add worker regret") } if shouldAddWorkerRegret { workersRegrets = append(workersRegrets, newInfererRegret.Value) @@ -163,6 +171,8 @@ func GetCalcSetNetworkRegrets(args GetCalcSetNetworkRegretsArgs) error { // For batch event emission workersForEvent = append(workersForEvent, infererLoss.Worker) regretsForEvent = append(regretsForEvent, newInfererRegret.Value) + // Preparing the output values + out.InfererRegrets[infererLoss.Worker] = &newInfererRegret.Value } emissions.EmitNewInfererNetworkRegretSetEvent(args.Ctx, args.TopicId, blockHeight, workersForEvent, regretsForEvent) @@ -172,7 +182,7 @@ func GetCalcSetNetworkRegrets(args GetCalcSetNetworkRegretsArgs) error { for _, forecasterLoss := range args.NetworkLosses.ForecasterValues { lastRegret, newParticipant, err := args.K.GetForecasterNetworkRegret(args.Ctx, args.TopicId, forecasterLoss.Worker) if err != nil { - return errorsmod.Wrapf(err, "Error getting forecaster regret") + return GetCalcSetNetworkRegretsOut{}, errorsmod.Wrapf(err, "Error getting forecaster regret") } newForecasterRegret, err := ComputeAndBuildEMRegret( args.NetworkLosses.CombinedValue, // L_i @@ -182,11 +192,11 @@ func GetCalcSetNetworkRegrets(args GetCalcSetNetworkRegretsArgs) error { blockHeight, ) if err != nil { - return errorsmod.Wrapf(err, "Error computing and building forecaster regret") + return GetCalcSetNetworkRegretsOut{}, errorsmod.Wrapf(err, "Error computing and building forecaster regret") } err = args.K.SetForecasterNetworkRegret(args.Ctx, args.TopicId, forecasterLoss.Worker, newForecasterRegret) if err != nil { - return errorsmod.Wrapf(err, "Error setting forecaster regret") + return GetCalcSetNetworkRegretsOut{}, errorsmod.Wrapf(err, "Error setting forecaster regret") } shouldAddWorkerRegret, err := isExperiencedForecaster( @@ -198,7 +208,7 @@ func GetCalcSetNetworkRegrets(args GetCalcSetNetworkRegretsArgs) error { newParticipant, ) if err != nil { - return errorsmod.Wrapf(err, "Error checking if should add worker regret") + return GetCalcSetNetworkRegretsOut{}, errorsmod.Wrapf(err, "Error checking if should add worker regret") } if shouldAddWorkerRegret { workersRegrets = append(workersRegrets, newForecasterRegret.Value) @@ -208,6 +218,8 @@ func GetCalcSetNetworkRegrets(args GetCalcSetNetworkRegretsArgs) error { // For batch event emission workersForEvent = append(workersForEvent, forecasterLoss.Worker) regretsForEvent = append(regretsForEvent, newForecasterRegret.Value) + // Preparing the output values + out.ForecasterRegrets[forecasterLoss.Worker] = &newForecasterRegret.Value } emissions.EmitNewForecasterNetworkRegretSetEvent(args.Ctx, args.TopicId, blockHeight, workersForEvent, regretsForEvent) @@ -217,7 +229,7 @@ func GetCalcSetNetworkRegrets(args GetCalcSetNetworkRegretsArgs) error { for _, infererLoss := range args.NetworkLosses.InfererValues { lastRegret, _, err := args.K.GetNaiveInfererNetworkRegret(args.Ctx, args.TopicId, infererLoss.Worker) if err != nil { - return errorsmod.Wrapf(err, "failed to get inferer regret") + return GetCalcSetNetworkRegretsOut{}, errorsmod.Wrapf(err, "failed to get inferer regret") } newInfererRegret, err := ComputeAndBuildEMRegret( args.NetworkLosses.NaiveValue, // L^-_i @@ -227,11 +239,11 @@ func GetCalcSetNetworkRegrets(args GetCalcSetNetworkRegretsArgs) error { blockHeight, ) if err != nil { - return errorsmod.Wrapf(err, "Error computing and building inferer regret") + return GetCalcSetNetworkRegretsOut{}, errorsmod.Wrapf(err, "Error computing and building inferer regret") } err = args.K.SetNaiveInfererNetworkRegret(args.Ctx, args.TopicId, infererLoss.Worker, newInfererRegret) if err != nil { - return errorsmod.Wrapf(err, "Error setting inferer regret") + return GetCalcSetNetworkRegretsOut{}, errorsmod.Wrapf(err, "Error setting inferer regret") } // For batch event emission @@ -245,7 +257,7 @@ func GetCalcSetNetworkRegrets(args GetCalcSetNetworkRegretsArgs) error { for _, infererLoss := range args.NetworkLosses.InfererValues { lastRegret, _, err := args.K.GetOneOutInfererInfererNetworkRegret(args.Ctx, args.TopicId, oneOutInfererLoss.Worker, infererLoss.Worker) if err != nil { - return errorsmod.Wrapf(err, "Error getting one-out inferer inferer regret") + return GetCalcSetNetworkRegretsOut{}, errorsmod.Wrapf(err, "Error getting one-out inferer inferer regret") } newOneOutInfererInfererRegret, err := ComputeAndBuildEMRegret( networkLossesByWorker.OneOutInfererLosses[oneOutInfererLoss.Worker], // L^-_j'i @@ -255,11 +267,11 @@ func GetCalcSetNetworkRegrets(args GetCalcSetNetworkRegretsArgs) error { blockHeight, ) if err != nil { - return errorsmod.Wrapf(err, "Error computing and building one-out inferer regret") + return GetCalcSetNetworkRegretsOut{}, errorsmod.Wrapf(err, "Error computing and building one-out inferer regret") } err = args.K.SetOneOutInfererInfererNetworkRegret(args.Ctx, args.TopicId, oneOutInfererLoss.Worker, infererLoss.Worker, newOneOutInfererInfererRegret) if err != nil { - return errorsmod.Wrapf(err, "Error setting one-out inferer inferer regret") + return GetCalcSetNetworkRegretsOut{}, errorsmod.Wrapf(err, "Error setting one-out inferer inferer regret") } } } @@ -269,7 +281,7 @@ func GetCalcSetNetworkRegrets(args GetCalcSetNetworkRegretsArgs) error { for _, oneOutInfererForecasterLoss := range args.NetworkLosses.OneOutInfererForecasterValues { lastRegret, _, err := args.K.GetOneOutInfererForecasterNetworkRegret(args.Ctx, args.TopicId, oneOutInfererLoss.Worker, oneOutInfererForecasterLoss.Forecaster) if err != nil { - return errorsmod.Wrapf(err, "Error getting one-out inferer forecaster regret") + return GetCalcSetNetworkRegretsOut{}, errorsmod.Wrapf(err, "Error getting one-out inferer forecaster regret") } newOneOutInfererForecasterRegret, err := ComputeAndBuildEMRegret( networkLossesByWorker.OneOutInfererLosses[oneOutInfererLoss.Worker], // L^-_j'i @@ -279,11 +291,11 @@ func GetCalcSetNetworkRegrets(args GetCalcSetNetworkRegretsArgs) error { blockHeight, ) if err != nil { - return errorsmod.Wrapf(err, "Error computing and building one-out inferer forecaster regret") + return GetCalcSetNetworkRegretsOut{}, errorsmod.Wrapf(err, "Error computing and building one-out inferer forecaster regret") } err = args.K.SetOneOutInfererForecasterNetworkRegret(args.Ctx, args.TopicId, oneOutInfererLoss.Worker, oneOutInfererForecasterLoss.Forecaster, newOneOutInfererForecasterRegret) if err != nil { - return errorsmod.Wrapf(err, "Error setting one-out inferer forecaster regret") + return GetCalcSetNetworkRegretsOut{}, errorsmod.Wrapf(err, "Error setting one-out inferer forecaster regret") } } } @@ -293,7 +305,7 @@ func GetCalcSetNetworkRegrets(args GetCalcSetNetworkRegretsArgs) error { for _, infererloss := range args.NetworkLosses.InfererValues { lastRegret, _, err := args.K.GetOneOutForecasterInfererNetworkRegret(args.Ctx, args.TopicId, oneOutForecasterLoss.Worker, infererloss.Worker) if err != nil { - return errorsmod.Wrapf(err, "Error getting one-out forecaster inferer regret") + return GetCalcSetNetworkRegretsOut{}, errorsmod.Wrapf(err, "Error getting one-out forecaster inferer regret") } newOneOutForecasterInfererRegret, err := ComputeAndBuildEMRegret( networkLossesByWorker.OneOutForecasterLosses[oneOutForecasterLoss.Worker], // L^-_k'i @@ -303,11 +315,11 @@ func GetCalcSetNetworkRegrets(args GetCalcSetNetworkRegretsArgs) error { blockHeight, ) if err != nil { - return errorsmod.Wrapf(err, "Error computing and building one-out forecaster inferer regret") + return GetCalcSetNetworkRegretsOut{}, errorsmod.Wrapf(err, "Error computing and building one-out forecaster inferer regret") } err = args.K.SetOneOutForecasterInfererNetworkRegret(args.Ctx, args.TopicId, oneOutForecasterLoss.Worker, infererloss.Worker, newOneOutForecasterInfererRegret) if err != nil { - return errorsmod.Wrapf(err, "Error setting one-out forecaster inferer regret") + return GetCalcSetNetworkRegretsOut{}, errorsmod.Wrapf(err, "Error setting one-out forecaster inferer regret") } } } @@ -317,7 +329,7 @@ func GetCalcSetNetworkRegrets(args GetCalcSetNetworkRegretsArgs) error { for _, forecasterLoss := range args.NetworkLosses.ForecasterValues { lastRegret, _, err := args.K.GetOneOutForecasterForecasterNetworkRegret(args.Ctx, args.TopicId, oneOutForecasterLoss.Worker, forecasterLoss.Worker) if err != nil { - return errorsmod.Wrapf(err, "Error getting one-out forecaster forecaster regret") + return GetCalcSetNetworkRegretsOut{}, errorsmod.Wrapf(err, "Error getting one-out forecaster forecaster regret") } newOneOutForecasterForecasterRegret, err := ComputeAndBuildEMRegret( networkLossesByWorker.OneOutForecasterLosses[oneOutForecasterLoss.Worker], // L^-_k'i @@ -327,11 +339,11 @@ func GetCalcSetNetworkRegrets(args GetCalcSetNetworkRegretsArgs) error { blockHeight, ) if err != nil { - return errorsmod.Wrapf(err, "Error computing and building one-out forecaster forecaster regret") + return GetCalcSetNetworkRegretsOut{}, errorsmod.Wrapf(err, "Error computing and building one-out forecaster forecaster regret") } err = args.K.SetOneOutForecasterForecasterNetworkRegret(args.Ctx, args.TopicId, oneOutForecasterLoss.Worker, forecasterLoss.Worker, newOneOutForecasterForecasterRegret) if err != nil { - return errorsmod.Wrapf(err, "Error setting one-out forecaster forecaster regret") + return GetCalcSetNetworkRegretsOut{}, errorsmod.Wrapf(err, "Error setting one-out forecaster forecaster regret") } } } @@ -342,7 +354,7 @@ func GetCalcSetNetworkRegrets(args GetCalcSetNetworkRegretsArgs) error { for _, infererLoss := range args.NetworkLosses.InfererValues { lastRegret, _, err := args.K.GetOneInForecasterNetworkRegret(args.Ctx, args.TopicId, oneInForecasterLoss.Worker, infererLoss.Worker) if err != nil { - return errorsmod.Wrapf(err, "Error getting one-in forecaster regret") + return GetCalcSetNetworkRegretsOut{}, errorsmod.Wrapf(err, "Error getting one-in forecaster regret") } newOneInForecasterRegret, err := ComputeAndBuildEMRegret( networkLossesByWorker.OneInForecasterLosses[oneInForecasterLoss.Worker], // L^+_k'i @@ -352,17 +364,17 @@ func GetCalcSetNetworkRegrets(args GetCalcSetNetworkRegretsArgs) error { blockHeight, ) if err != nil { - return errorsmod.Wrapf(err, "Error computing and building one-in forecaster regret") + return GetCalcSetNetworkRegretsOut{}, errorsmod.Wrapf(err, "Error computing and building one-in forecaster regret") } err = args.K.SetOneInForecasterNetworkRegret(args.Ctx, args.TopicId, oneInForecasterLoss.Worker, infererLoss.Worker, newOneInForecasterRegret) if err != nil { - return errorsmod.Wrapf(err, "Error setting one-in forecaster regret") + return GetCalcSetNetworkRegretsOut{}, errorsmod.Wrapf(err, "Error setting one-in forecaster regret") } } lastRegret, _, err := args.K.GetOneInForecasterNetworkRegret(args.Ctx, args.TopicId, oneInForecasterLoss.Worker, oneInForecasterLoss.Worker) if err != nil { - return errorsmod.Wrapf(err, "Error getting one-in forecaster regret") + return GetCalcSetNetworkRegretsOut{}, errorsmod.Wrapf(err, "Error getting one-in forecaster regret") } newOneInForecasterRegret, err := ComputeAndBuildEMRegret( networkLossesByWorker.OneInForecasterLosses[oneInForecasterLoss.Worker], // L^+_k'i @@ -372,18 +384,18 @@ func GetCalcSetNetworkRegrets(args GetCalcSetNetworkRegretsArgs) error { blockHeight, ) if err != nil { - return errorsmod.Wrapf(err, "Error computing and building one-in forecaster regret") + return GetCalcSetNetworkRegretsOut{}, errorsmod.Wrapf(err, "Error computing and building one-in forecaster regret") } err = args.K.SetOneInForecasterNetworkRegret(args.Ctx, args.TopicId, oneInForecasterLoss.Worker, oneInForecasterLoss.Worker, newOneInForecasterRegret) if err != nil { - return errorsmod.Wrapf(err, "Error setting one-in forecaster regret") + return GetCalcSetNetworkRegretsOut{}, errorsmod.Wrapf(err, "Error setting one-in forecaster regret") } } // Get Params params, err := args.K.GetParams(args.Ctx) if err != nil { - return errorsmod.Wrapf(err, "Error getting params") + return GetCalcSetNetworkRegretsOut{}, errorsmod.Wrapf(err, "Error getting params") } // Select which regrets to use for calculating the topic initial regret: @@ -398,7 +410,7 @@ func GetCalcSetNetworkRegrets(args GetCalcSetNetworkRegretsArgs) error { if len(regrets) > 0 { quantile, err := alloraMath.GetQuantileOfDecs(regrets, args.InitialRegretQuantile) if err != nil { - return errorsmod.Wrapf(err, "Error calculating topic initial regret") + return GetCalcSetNetworkRegretsOut{}, errorsmod.Wrapf(err, "Error calculating topic initial regret") } // Set initial value to the quantile (used when we don't have enough experienced workers) @@ -413,20 +425,20 @@ func GetCalcSetNetworkRegrets(args GetCalcSetNetworkRegretsArgs) error { args.PNormSafeDiv, ) if err != nil { - return errorsmod.Wrapf(err, "Error calculating topic initial regret") + return GetCalcSetNetworkRegretsOut{}, errorsmod.Wrapf(err, "Error calculating topic initial regret") } } err = args.K.UpdateTopicInitialRegret(args.Ctx, args.TopicId, updatedTopicInitialRegret) if err != nil { - return errorsmod.Wrapf(err, "Error updating topic initial regret") + return GetCalcSetNetworkRegretsOut{}, errorsmod.Wrapf(err, "Error updating topic initial regret") } // For batch event emission emissions.EmitNewTopicInitialRegretSetEvent(args.Ctx, args.TopicId, blockHeight, updatedTopicInitialRegret) } - return nil + return out, nil } // Calculate the initial regret for all new workers in the topic diff --git a/x/emissions/keeper/inference_synthesis/network_regrets_test.go b/x/emissions/keeper/inference_synthesis/network_regrets_test.go index 7f7279771..f80635464 100644 --- a/x/emissions/keeper/inference_synthesis/network_regrets_test.go +++ b/x/emissions/keeper/inference_synthesis/network_regrets_test.go @@ -212,7 +212,7 @@ func (s *InferenceSynthesisTestSuite) TestGetCalcSetNetworkRegretsTwoWorkers() { require.Equal(worker3LastRegret.Value, alloraMath.ZeroDec()) require.True(worker3NoPriorRegret) - err = inferencesynthesis.GetCalcSetNetworkRegrets( + _, err = inferencesynthesis.GetCalcSetNetworkRegrets( inferencesynthesis.GetCalcSetNetworkRegretsArgs{ Ctx: s.ctx, K: s.emissionsKeeper, @@ -366,7 +366,7 @@ func (s *InferenceSynthesisTestSuite) TestGetCalcSetNetworkRegretsThreeWorkers() err = k.SetOneInForecasterNetworkRegret(s.ctx, topicId, worker3, worker3, timestampedValue) require.NoError(err) - err = inferencesynthesis.GetCalcSetNetworkRegrets( + _, err = inferencesynthesis.GetCalcSetNetworkRegrets( inferencesynthesis.GetCalcSetNetworkRegretsArgs{ Ctx: s.ctx, K: s.emissionsKeeper, @@ -444,7 +444,7 @@ func (s *InferenceSynthesisTestSuite) TestGetCalcSetNetworkRegretsFromCsv() { ) s.Require().NoError(err) - err = inferencesynthesis.GetCalcSetNetworkRegrets( + _, err = inferencesynthesis.GetCalcSetNetworkRegrets( inferencesynthesis.GetCalcSetNetworkRegretsArgs{ Ctx: s.ctx, K: s.emissionsKeeper, @@ -631,7 +631,7 @@ func (s *InferenceSynthesisTestSuite) TestHigherLossesLowerRegret() { resetRegrets() - err := inferencesynthesis.GetCalcSetNetworkRegrets( + _, err := inferencesynthesis.GetCalcSetNetworkRegrets( inferencesynthesis.GetCalcSetNetworkRegretsArgs{ Ctx: s.ctx, K: s.emissionsKeeper, @@ -673,7 +673,7 @@ func (s *InferenceSynthesisTestSuite) TestHigherLossesLowerRegret() { resetRegrets() - err = inferencesynthesis.GetCalcSetNetworkRegrets( + _, err = inferencesynthesis.GetCalcSetNetworkRegrets( inferencesynthesis.GetCalcSetNetworkRegretsArgs{ Ctx: s.ctx, K: s.emissionsKeeper, @@ -881,7 +881,7 @@ func (s *InferenceSynthesisTestSuite) TestUpdateTopicInitialRegret() { } // Calculate and set network regrets - err = inferencesynthesis.GetCalcSetNetworkRegrets(inferencesynthesis.GetCalcSetNetworkRegretsArgs{ + _, err = inferencesynthesis.GetCalcSetNetworkRegrets(inferencesynthesis.GetCalcSetNetworkRegretsArgs{ Ctx: s.ctx, K: k, TopicId: topicId, @@ -1032,7 +1032,7 @@ func (s *InferenceSynthesisTestSuite) TestCalcSetNetworkRegretsWithFallbackRegre } // Call GetCalcSetNetworkRegrets - err = inferencesynthesis.GetCalcSetNetworkRegrets( + _, err = inferencesynthesis.GetCalcSetNetworkRegrets( inferencesynthesis.GetCalcSetNetworkRegretsArgs{ Ctx: s.ctx, K: k, diff --git a/x/emissions/keeper/inference_synthesis/weight.go b/x/emissions/keeper/inference_synthesis/weight.go index 824d8cb28..9e0737258 100644 --- a/x/emissions/keeper/inference_synthesis/weight.go +++ b/x/emissions/keeper/inference_synthesis/weight.go @@ -8,62 +8,166 @@ import ( errorsmod "cosmossdk.io/errors" alloraMath "github.com/allora-network/allora-chain/math" + "github.com/allora-network/allora-chain/x/emissions/keeper" emissionstypes "github.com/allora-network/allora-chain/x/emissions/types" + sdk "github.com/cosmos/cosmos-sdk/types" ) // args for calcWeightsGivenWorkers function -type calcWeightsGivenWorkersArgs struct { - logger log.Logger - inferers []Worker - forecasters []Worker - infererToRegret map[Worker]*alloraMath.Dec - forecasterToRegret map[Worker]*alloraMath.Dec - epsilonTopic alloraMath.Dec - pNorm alloraMath.Dec - cNorm alloraMath.Dec +type CalcWeightsGivenWorkersArgs struct { + Logger log.Logger + Inferers []Worker + Forecasters []Worker + InfererToRegret map[Worker]*alloraMath.Dec + ForecasterToRegret map[Worker]*alloraMath.Dec + EpsilonTopic alloraMath.Dec + PNorm alloraMath.Dec + CNorm alloraMath.Dec + StdDevPlusEpsilon alloraMath.Dec } -// Given the current set of inferers and forecasters, calculate their -// weights using the current regrets -func calcWeightsGivenWorkers(args calcWeightsGivenWorkersArgs) (RegretInformedWeights, error) { - var regrets []alloraMath.Dec - infererRegrets := getInfererRegretsSlice(args.logger, args.inferers, args.infererToRegret) - forecasterRegrets := getForecasterRegretsSlice(args.logger, args.forecasters, args.forecasterToRegret) +type CalcRegretStdDevFilteredByWeightsArgs struct { + Ctx sdk.Context + K *keeper.Keeper + Logger log.Logger + TopicId uint64 + Inferers []Worker + Forecasters []Worker + InfererToRegret map[Worker]*alloraMath.Dec + ForecasterToRegret map[Worker]*alloraMath.Dec + NegligibleThreshold alloraMath.Dec + EpsilonTopic alloraMath.Dec +} - if len(infererRegrets) > 0 { - regrets = append(regrets, infererRegrets...) +// Calculates the standard deviation of the regrets provided plus epsilon +// It uses previous epoch's weights to filter the regrets of workers that had a negligible weight +// If there are less than 2 non-negligible weights, it uses all regrets. +func CalcRegretStdDevFilteredByWeights(args CalcRegretStdDevFilteredByWeightsArgs) (alloraMath.Dec, error) { + // Combine all weights and regrets + var filteredRegrets []alloraMath.Dec + nonNegligibleCount := 0 + + // Count non-negligible weights and gather corresponding regrets + for _, worker := range args.Inferers { + weight, err := args.K.GetLatestInfererWeight(args.Ctx, args.TopicId, worker) + if err != nil { + continue + } + if weight.Gt(args.NegligibleThreshold) { + nonNegligibleCount++ + if regret, ok := args.InfererToRegret[worker]; ok { + filteredRegrets = append(filteredRegrets, *regret) + } + } } - if len(forecasterRegrets) > 0 { - regrets = append(regrets, forecasterRegrets...) + for _, worker := range args.Forecasters { + weight, err := args.K.GetLatestForecasterWeight(args.Ctx, args.TopicId, worker) + if err != nil { + continue + } + if weight.Gt(args.NegligibleThreshold) { + nonNegligibleCount++ + if regret, ok := args.ForecasterToRegret[worker]; ok { + filteredRegrets = append(filteredRegrets, *regret) + } + } } - if len(regrets) == 0 { - return RegretInformedWeights{}, errorsmod.Wrapf(emissionstypes.ErrEmptyArray, "No regrets to calculate weights") + + // If fewer than 2 non-negligible weights, use all regrets + if nonNegligibleCount < 2 { + regrets, _, _, err := GatherWorkerRegrets( + args.Logger, + args.Inferers, + args.Forecasters, + args.InfererToRegret, + args.ForecasterToRegret, + ) + if err != nil { + return alloraMath.ZeroDec(), errorsmod.Wrapf(err, "Error gathering worker regrets") + } + return CalcStdDevPlusEpsilon(regrets, args.EpsilonTopic) } + return CalcStdDevPlusEpsilon(filteredRegrets, args.EpsilonTopic) +} +// Calculates the standard deviation of the regrets provided plus epsilon +func CalcStdDevPlusEpsilon(regrets []alloraMath.Dec, epsilonTopic alloraMath.Dec) (alloraMath.Dec, error) { // Calc std dev of regrets + epsilon // σ(R_ijk) + ε stdDevRegrets, err := alloraMath.StdDev(regrets) if err != nil { - return RegretInformedWeights{}, errorsmod.Wrapf(err, "Error calculating standard deviation of regrets") + return alloraMath.ZeroDec(), errorsmod.Wrapf(err, "Error calculating standard deviation of regrets") } // Add epsilon to standard deviation absStdDevRegrets, err := stdDevRegrets.Abs() if err != nil { - return RegretInformedWeights{}, errorsmod.Wrapf(err, "Error calculating absolute value of standard deviation") + return alloraMath.ZeroDec(), errorsmod.Wrapf(err, "Error calculating absolute value of standard deviation") + } + return absStdDevRegrets.Add(epsilonTopic) +} + +// Gather regrets from workers and forecasters. +func GatherWorkerRegrets( + logger log.Logger, + inferers []Worker, + forecasters []Worker, + infererToRegret map[Worker]*alloraMath.Dec, + forecasterToRegret map[Worker]*alloraMath.Dec, +) ([]alloraMath.Dec, []alloraMath.Dec, []alloraMath.Dec, error) { + var regrets []alloraMath.Dec + infererRegrets := getInfererRegretsSlice(logger, inferers, infererToRegret) + forecasterRegrets := getForecasterRegretsSlice(logger, forecasters, forecasterToRegret) + + if len(infererRegrets) > 0 { + regrets = append(regrets, infererRegrets...) + } + if len(forecasterRegrets) > 0 { + regrets = append(regrets, forecasterRegrets...) } - stdDevRegretsPlusEpsilon, err := absStdDevRegrets.Add(args.epsilonTopic) + if len(regrets) == 0 { + return nil, nil, nil, errorsmod.Wrapf(emissionstypes.ErrEmptyArray, "No regrets to calculate weights") + } + + return regrets, infererRegrets, forecasterRegrets, nil +} + +// Given the current set of inferers and forecasters, calculate their +// weights using the current regrets +func CalcWeightsGivenWorkers(args CalcWeightsGivenWorkersArgs) (RegretInformedWeights, error) { + // Gather regrets from forecasters and inferers + regrets, _, forecasterRegrets, err := GatherWorkerRegrets( + args.Logger, + args.Inferers, + args.Forecasters, + args.InfererToRegret, + args.ForecasterToRegret, + ) if err != nil { - return RegretInformedWeights{}, errorsmod.Wrapf(err, "Error adding epsilon to standard deviation") + return RegretInformedWeights{}, err + } + + var stdDevRegretsPlusEpsilon alloraMath.Dec + if args.StdDevPlusEpsilon.Gt(alloraMath.ZeroDec()) { + stdDevRegretsPlusEpsilon = args.StdDevPlusEpsilon + } else { + args.Logger.Debug("CalcWeightsGivenWorkers(): stdDevRegretsPlusEpsilon is not provided, calculating it") + // Calc std dev of regrets + epsilon + // σ(R_ijk) + ε + var err error + stdDevRegretsPlusEpsilon, err = CalcStdDevPlusEpsilon(regrets, args.EpsilonTopic) + if err != nil { + return RegretInformedWeights{}, errorsmod.Wrapf(err, "Error adding epsilon to standard deviation") + } } // Normalize the regrets and find the max normalized regret among them normalizedInfererRegrets := make(map[Worker]Regret) maxRegret := alloraMath.ZeroDec() maxRegretInitialized := false - for _, worker := range args.inferers { - regret, ok := args.infererToRegret[worker] + for _, worker := range args.Inferers { + regret, ok := args.InfererToRegret[worker] if !ok { - args.logger.Debug(fmt.Sprintf("Cannot find worker in InfererRegrets in CalcWeightsGivenWorkers %v", worker)) + args.Logger.Debug(fmt.Sprintf("Cannot find worker in InfererRegrets in CalcWeightsGivenWorkers %v", worker)) continue } regretFrac, err := regret.Quo(stdDevRegretsPlusEpsilon) @@ -81,10 +185,10 @@ func calcWeightsGivenWorkers(args calcWeightsGivenWorkersArgs) (RegretInformedWe normalizedForecasterRegrets := make(map[Worker]Regret) if len(forecasterRegrets) > 0 { - for _, worker := range args.forecasters { - regret, ok := args.forecasterToRegret[worker] + for _, worker := range args.Forecasters { + regret, ok := args.ForecasterToRegret[worker] if !ok { - args.logger.Debug(fmt.Sprintf("Cannot find worker in ForecasterRegrets in CalcWeightsGivenWorkers %v", worker)) + args.Logger.Debug(fmt.Sprintf("Cannot find worker in ForecasterRegrets in CalcWeightsGivenWorkers %v", worker)) continue } regretFrac, err := regret.Quo(stdDevRegretsPlusEpsilon) @@ -105,9 +209,9 @@ func calcWeightsGivenWorkers(args calcWeightsGivenWorkersArgs) (RegretInformedWe forecasterWeights := make(map[Worker]Weight) // Calculate the weights from the normalized regrets - for _, worker := range args.inferers { + for _, worker := range args.Inferers { // If there is more than one not-new inferer, calculate the weight for the ones that are not new - infererWeight, err := CalcWeightFromNormalizedRegret(normalizedInfererRegrets[worker], maxRegret, args.pNorm, args.cNorm) + infererWeight, err := CalcWeightFromNormalizedRegret(normalizedInfererRegrets[worker], maxRegret, args.PNorm, args.CNorm) if err != nil { return RegretInformedWeights{}, errorsmod.Wrapf(err, "Error calculating inferer weight") } @@ -116,8 +220,8 @@ func calcWeightsGivenWorkers(args calcWeightsGivenWorkersArgs) (RegretInformedWe } if len(forecasterRegrets) > 0 { - for _, worker := range args.forecasters { - forecasterWeight, err := CalcWeightFromNormalizedRegret(normalizedForecasterRegrets[worker], maxRegret, args.pNorm, args.cNorm) + for _, worker := range args.Forecasters { + forecasterWeight, err := CalcWeightFromNormalizedRegret(normalizedForecasterRegrets[worker], maxRegret, args.PNorm, args.CNorm) if err != nil { return RegretInformedWeights{}, errorsmod.Wrapf(err, "Error calculating forecaster weight") } @@ -234,6 +338,8 @@ func calcWeightedInference(args calcWeightedInferenceArgs) (InferenceValue, erro return ret, nil } +// getInfererRegretsSlice converts a map of inferer regrets into a slice, maintaining the order defined by the inferers array. +// Returns an empty slice if the regret map is empty or if no valid regrets are found for the provided inferers. func getInfererRegretsSlice( logger log.Logger, inferers []Worker, @@ -255,6 +361,8 @@ func getInfererRegretsSlice( return regrets } +// getForecasterRegretsSlice converts a map of forecaster regrets into a slice, maintaining the order defined by the forecasters array. +// Returns an empty slice if the regret map is empty or if no valid regrets are found for the provided forecasters. func getForecasterRegretsSlice( logger log.Logger, forecasters []Worker, @@ -389,3 +497,75 @@ func CalcWeightFromNormalizedRegret( return weight, nil } + +// NormalizeWeights normalizes all weights so their sum equals 1.0 while preserving relative proportions +func (w *RegretInformedWeights) NormalizeWeights() error { + // Calculate total sum of all weights + sum := alloraMath.ZeroDec() + var err error + + // Get sorted worker lists + infererWorkers := alloraMath.GetSortedKeys(w.Inferers) + forecasterWorkers := alloraMath.GetSortedKeys(w.Forecasters) + + // Sum weights in deterministic order + for _, worker := range infererWorkers { + sum, err = sum.Add(w.Inferers[worker]) + if err != nil { + return errorsmod.Wrapf(err, "error adding inferer weight") + } + } + for _, worker := range forecasterWorkers { + sum, err = sum.Add(w.Forecasters[worker]) + if err != nil { + return errorsmod.Wrapf(err, "error adding forecaster weight") + } + } + + // If sum is zero, we can't normalize + if sum.IsZero() { + return errorsmod.Wrap(emissionstypes.ErrInvalidValue, "cannot normalize weights: sum is zero") + } + + // Normalize each weight in deterministic order + for _, worker := range infererWorkers { + normalizedWeight, err := w.Inferers[worker].Quo(sum) + if err != nil { + return errorsmod.Wrapf(err, "error normalizing inferer weight for %s", worker) + } + w.Inferers[worker] = normalizedWeight + } + + for _, worker := range forecasterWorkers { + normalizedWeight, err := w.Forecasters[worker].Quo(sum) + if err != nil { + return errorsmod.Wrapf(err, "error normalizing forecaster weight for %s", worker) + } + w.Forecasters[worker] = normalizedWeight + } + + return nil +} + +// StoreLatestNormalizedWeights sets the latest weights for the given topic +func StoreLatestNormalizedWeights(ctx sdk.Context, k keeper.Keeper, topicId TopicId, weights RegretInformedWeights) error { + // Set inferer weights + infererWorkers := alloraMath.GetSortedKeys(weights.Inferers) + for _, worker := range infererWorkers { + err := k.SetLatestInfererWeight(ctx, topicId, worker, weights.Inferers[worker]) + if err != nil { + return errorsmod.Wrapf(err, "error setting latest inferer weight for worker %s", worker) + } + } + + // Set forecaster weights + forecasterWorkers := alloraMath.GetSortedKeys(weights.Forecasters) + for _, worker := range forecasterWorkers { + err := k.SetLatestForecasterWeight(ctx, topicId, worker, weights.Forecasters[worker]) + if err != nil { + return errorsmod.Wrapf(err, "error setting latest forecaster weight for worker %s", worker) + } + } + + return nil +} diff --git a/x/emissions/keeper/inference_synthesis/weights_test.go b/x/emissions/keeper/inference_synthesis/weights_test.go new file mode 100644 index 000000000..717392adf --- /dev/null +++ b/x/emissions/keeper/inference_synthesis/weights_test.go @@ -0,0 +1,664 @@ +package inferencesynthesis_test + +import ( + "testing" + "time" + + "cosmossdk.io/core/header" + "cosmossdk.io/log" + storetypes "cosmossdk.io/store/types" + "github.com/allora-network/allora-chain/app/params" + alloraMath "github.com/allora-network/allora-chain/math" + alloratestutil "github.com/allora-network/allora-chain/test/testutil" + "github.com/allora-network/allora-chain/x/emissions/keeper" + emissionstypes "github.com/allora-network/allora-chain/x/emissions/types" + + synth "github.com/allora-network/allora-chain/x/emissions/keeper/inference_synthesis" + "github.com/allora-network/allora-chain/x/emissions/module" + "github.com/cometbft/cometbft/crypto/secp256k1" + "github.com/cosmos/cosmos-sdk/codec/address" + "github.com/cosmos/cosmos-sdk/runtime" + "github.com/cosmos/cosmos-sdk/testutil" + sdk "github.com/cosmos/cosmos-sdk/types" + moduletestutil "github.com/cosmos/cosmos-sdk/types/module/testutil" + auth "github.com/cosmos/cosmos-sdk/x/auth" + authcodec "github.com/cosmos/cosmos-sdk/x/auth/codec" + authkeeper "github.com/cosmos/cosmos-sdk/x/auth/keeper" + authtypes "github.com/cosmos/cosmos-sdk/x/auth/types" + "github.com/cosmos/cosmos-sdk/x/bank" + bankkeeper "github.com/cosmos/cosmos-sdk/x/bank/keeper" + govtypes "github.com/cosmos/cosmos-sdk/x/gov/types" + "github.com/stretchr/testify/suite" +) + +type WeightsTestSuite struct { + suite.Suite + + ctx sdk.Context + accountKeeper keeper.AccountKeeper + bankKeeper keeper.BankKeeper + emissionsKeeper keeper.Keeper + appModule module.AppModule + key *storetypes.KVStoreKey + privKeys []secp256k1.PrivKey + addrs []sdk.AccAddress + addrsStr []string + pubKeyHexStr []string +} + +func TestWeightsTestSuite(t *testing.T) { + suite.Run(t, new(WeightsTestSuite)) +} + +func (s *WeightsTestSuite) SetupTest() { + // Setup similar to network_inference_builder_test.go + key := storetypes.NewKVStoreKey("emissions") + storeService := runtime.NewKVStoreService(key) + testCtx := testutil.DefaultContextWithDB(s.T(), key, storetypes.NewTransientStoreKey("transient_test")) + // Set logger to show logs from the rewards module too + logger := log.NewTestLogger(s.T()).With("module", "inference_synthesis") + ctx := testCtx.Ctx.WithHeaderInfo(header.Info{ + Height: 1, + Hash: []byte("1"), + AppHash: []byte("1"), + ChainID: "localnet", + Time: time.Now(), + }).WithLogger(logger) + encCfg := moduletestutil.MakeTestEncodingConfig(auth.AppModuleBasic{}, bank.AppModuleBasic{}, module.AppModule{}) + addressCodec := address.NewBech32Codec(params.Bech32PrefixAccAddr) + + maccPerms := map[string][]string{ + "fee_collector": {"minter"}, + "mint": {"minter"}, + emissionstypes.AlloraStakingAccountName: {"burner", "minter", "staking"}, + emissionstypes.AlloraRewardsAccountName: {"minter"}, + emissionstypes.AlloraPendingRewardForDelegatorAccountName: {"minter"}, + "bonded_tokens_pool": {"burner", "staking"}, + "not_bonded_tokens_pool": {"burner", "staking"}, + multiPerm: {"burner", "minter", "staking"}, + randomPerm: {"random"}, + } + + accountKeeper := authkeeper.NewAccountKeeper( + encCfg.Codec, + storeService, + authtypes.ProtoBaseAccount, + maccPerms, + authcodec.NewBech32Codec(params.Bech32PrefixAccAddr), + params.Bech32PrefixAccAddr, + authtypes.NewModuleAddress("gov").String(), + ) + s.privKeys, s.pubKeyHexStr, s.addrs, s.addrsStr = alloratestutil.GenerateTestAccounts(5) + + bankKeeper := bankkeeper.NewBaseKeeper( + encCfg.Codec, + storeService, + accountKeeper, + map[string]bool{}, + authtypes.NewModuleAddress(govtypes.ModuleName).String(), + log.NewNopLogger(), + ) + + s.ctx = ctx + s.accountKeeper = accountKeeper + s.bankKeeper = bankKeeper + s.emissionsKeeper = keeper.NewKeeper( + encCfg.Codec, + addressCodec, + storeService, + accountKeeper, + bankKeeper, + authtypes.FeeCollectorName, + ) + + s.key = key + appModule := module.NewAppModule(encCfg.Codec, s.emissionsKeeper) + defaultGenesis := appModule.DefaultGenesis(encCfg.Codec) + appModule.InitGenesis(ctx, encCfg.Codec, defaultGenesis) + s.appModule = appModule + + // Add all tests addresses in whitelists + for _, addr := range s.addrsStr { + err := s.emissionsKeeper.AddWhitelistAdmin(ctx, addr) + s.Require().NoError(err) + } + + err := s.emissionsKeeper.SetTopic(s.ctx, 1, emissionstypes.Topic{ + Id: 1, + Creator: s.addrsStr[0], + Metadata: "metadata", + LossMethod: "mse", + EpochLastEnded: 0, + EpochLength: 100, + GroundTruthLag: 100, + WorkerSubmissionWindow: 100, + PNorm: alloraMath.NewDecFromInt64(3), + AlphaRegret: alloraMath.MustNewDecFromString("0.1"), + AllowNegative: false, + InitialRegret: alloraMath.MustNewDecFromString("0.0001"), + Epsilon: alloraMath.MustNewDecFromString("0.01"), + MeritSortitionAlpha: alloraMath.MustNewDecFromString("0.01"), + ActiveInfererQuantile: alloraMath.MustNewDecFromString("0.01"), + ActiveForecasterQuantile: alloraMath.MustNewDecFromString("0.01"), + ActiveReputerQuantile: alloraMath.MustNewDecFromString("0.01"), + }) + s.Require().NoError(err) +} + +func (s *WeightsTestSuite) TestNormalizeWeights() { + testCases := []struct { + name string + weights synth.RegretInformedWeights + expectError bool + expected map[string]alloraMath.Dec // expected normalized weights for each worker + }{ + { + name: "simple case - three weights", + weights: synth.RegretInformedWeights{ + Inferers: map[string]alloraMath.Dec{ + s.addrsStr[0]: alloraMath.MustNewDecFromString("2.0"), + s.addrsStr[1]: alloraMath.MustNewDecFromString("3.0"), + }, + Forecasters: map[string]alloraMath.Dec{ + s.addrsStr[2]: alloraMath.MustNewDecFromString("5.0"), + }, + }, + expectError: false, + expected: map[string]alloraMath.Dec{ + s.addrsStr[0]: alloraMath.MustNewDecFromString("0.2"), // 2/10 + s.addrsStr[1]: alloraMath.MustNewDecFromString("0.3"), // 3/10 + s.addrsStr[2]: alloraMath.MustNewDecFromString("0.5"), // 5/10 + }, + }, + { + name: "equal weights", + weights: synth.RegretInformedWeights{ + Inferers: map[string]alloraMath.Dec{ + s.addrsStr[0]: alloraMath.MustNewDecFromString("1.0"), + s.addrsStr[1]: alloraMath.MustNewDecFromString("1.0"), + }, + Forecasters: map[string]alloraMath.Dec{ + s.addrsStr[2]: alloraMath.MustNewDecFromString("1.0"), + }, + }, + expectError: false, + expected: map[string]alloraMath.Dec{ + s.addrsStr[0]: alloraMath.MustNewDecFromString("0.333333333333333333"), + s.addrsStr[1]: alloraMath.MustNewDecFromString("0.333333333333333333"), + s.addrsStr[2]: alloraMath.MustNewDecFromString("0.333333333333333333"), + }, + }, + { + name: "empty maps", + weights: synth.RegretInformedWeights{ + Inferers: map[string]alloraMath.Dec{}, + Forecasters: map[string]alloraMath.Dec{}, + }, + expectError: true, + expected: nil, + }, + { + name: "zero weights", + weights: synth.RegretInformedWeights{ + Inferers: map[string]alloraMath.Dec{ + s.addrsStr[0]: alloraMath.ZeroDec(), + s.addrsStr[1]: alloraMath.ZeroDec(), + }, + Forecasters: map[string]alloraMath.Dec{ + s.addrsStr[2]: alloraMath.ZeroDec(), + }, + }, + expectError: true, + expected: nil, + }, + } + + for _, tc := range testCases { + s.Run(tc.name, func() { + err := tc.weights.NormalizeWeights() + + if tc.expectError { + s.Require().Error(err) + return + } + + s.Require().NoError(err) + + // Verify each weight matches expected + for addr, expectedWeight := range tc.expected { // nolint: maprange // reason: order not relevant + var actualWeight alloraMath.Dec + if weight, ok := tc.weights.Inferers[addr]; ok { + actualWeight = weight + } else if weight, ok := tc.weights.Forecasters[addr]; ok { + actualWeight = weight + } + ok, err := alloraMath.InDelta(expectedWeight, actualWeight, alloraMath.MustNewDecFromString("0.00000001")) + s.Require().NoError(err) + s.Require().True(ok, + "Weight for %s: expected %s, got %s", + addr, expectedWeight, actualWeight) + } + + // Verify sum is 1.0 + sum := alloraMath.ZeroDec() + for _, w := range tc.weights.Inferers { // nolint: maprange // reason: order not relevant + sum, err = sum.Add(w) + s.Require().NoError(err) + } + for _, w := range tc.weights.Forecasters { // nolint: maprange // reason: order not relevant + sum, err = sum.Add(w) + s.Require().NoError(err) + } + ok, err := alloraMath.InDelta(sum, alloraMath.OneDec(), alloraMath.MustNewDecFromString("0.00000001")) + s.Require().NoError(err) + s.Require().True(ok, + "Sum of weights: expected %s, got %s", + alloraMath.OneDec(), sum) + }) + } +} + +func (s *WeightsTestSuite) TestStoreLatestNormalizedWeights() { + s.Run("store and retrieve normalized weights", func() { + topicId := uint64(1) + weights := synth.RegretInformedWeights{ + Inferers: map[string]alloraMath.Dec{ + s.addrsStr[0]: alloraMath.MustNewDecFromString("0.2"), + s.addrsStr[1]: alloraMath.MustNewDecFromString("0.3"), + }, + Forecasters: map[string]alloraMath.Dec{ + s.addrsStr[2]: alloraMath.MustNewDecFromString("0.5"), + }, + } + + err := synth.StoreLatestNormalizedWeights(s.ctx, s.emissionsKeeper, topicId, weights) + s.Require().NoError(err) + + // Verify stored weights + for worker, expectedWeight := range weights.Inferers { // nolint: maprange // reason: order not relevant + storedWeight, err := s.emissionsKeeper.GetLatestInfererWeight(s.ctx, topicId, worker) + s.Require().NoError(err) + s.Require().True(expectedWeight.Equal(storedWeight)) + } + }) +} + +func (s *WeightsTestSuite) TestGatherWorkerRegrets() { + s.Run("gather regrets from workers", func() { + inferers := []string{s.addrsStr[0], s.addrsStr[1]} + forecasters := []string{s.addrsStr[2]} + + dec1 := alloraMath.MustNewDecFromString("0.1") + dec2 := alloraMath.MustNewDecFromString("0.2") + dec3 := alloraMath.MustNewDecFromString("0.3") + + infererToRegret := map[string]*alloraMath.Dec{ + s.addrsStr[0]: &dec1, + s.addrsStr[1]: &dec2, + } + forecasterToRegret := map[string]*alloraMath.Dec{ + s.addrsStr[2]: &dec3, + } + + regrets, infererRegrets, forecasterRegrets, err := synth.GatherWorkerRegrets( + s.ctx.Logger(), + inferers, + forecasters, + infererToRegret, + forecasterToRegret, + ) + s.Require().NoError(err) + s.Require().Len(regrets, 3) + s.Require().Len(infererRegrets, 2) + s.Require().Len(forecasterRegrets, 1) + }) +} + +func (s *WeightsTestSuite) TestCalcStdDevPlusEpsilon() { + testCases := []struct { + name string + regrets []alloraMath.Dec + epsilon alloraMath.Dec + expected alloraMath.Dec + }{ + { + name: "simple case - three values", + regrets: []alloraMath.Dec{ + alloraMath.MustNewDecFromString("0.1"), + alloraMath.MustNewDecFromString("0.2"), + alloraMath.MustNewDecFromString("0.3"), + }, + epsilon: alloraMath.MustNewDecFromString("0.01"), + expected: alloraMath.MustNewDecFromString("0.11"), + }, + { + name: "all same values", + regrets: []alloraMath.Dec{ + alloraMath.MustNewDecFromString("0.1"), + alloraMath.MustNewDecFromString("0.1"), + alloraMath.MustNewDecFromString("0.1"), + }, + epsilon: alloraMath.MustNewDecFromString("0.01"), + expected: alloraMath.MustNewDecFromString("0.01"), + }, + { + name: "larger spread", + regrets: []alloraMath.Dec{ + alloraMath.MustNewDecFromString("0.0"), + alloraMath.MustNewDecFromString("0.5"), + alloraMath.MustNewDecFromString("1.0"), + }, + epsilon: alloraMath.MustNewDecFromString("0.1"), + expected: alloraMath.MustNewDecFromString("0.6"), + }, + { + name: "larger epsilon", + regrets: []alloraMath.Dec{ + alloraMath.MustNewDecFromString("0.1"), + alloraMath.MustNewDecFromString("0.2"), + alloraMath.MustNewDecFromString("0.3"), + }, + epsilon: alloraMath.MustNewDecFromString("0.5"), + expected: alloraMath.MustNewDecFromString("0.6"), + }, + } + + for _, tc := range testCases { + s.Run(tc.name, func() { + result, err := synth.CalcStdDevPlusEpsilon(tc.regrets, tc.epsilon) + s.Require().NoError(err) + s.Require().True(result.Gte(tc.epsilon), "result should be greater than epsilon") + s.Require().True(result.Equal(tc.expected), + "expected %s but got %s", tc.expected.String(), result.String()) + }) + } +} + +func (s *WeightsTestSuite) TestCalcStdDevForWeights() { + testCases := []struct { + name string + inferers []string + forecasters []string + infererWeights map[string]alloraMath.Dec // weights to be stored in keeper + forecasterWeights map[string]alloraMath.Dec // weights to be stored in keeper + infererRegrets map[string]*alloraMath.Dec + forecasterRegrets map[string]*alloraMath.Dec + negligibleThreshold alloraMath.Dec + epsilonTopic alloraMath.Dec + expectedResult alloraMath.Dec + expectFiltered bool // whether we expect filtered or all regrets + }{ + { + name: "all weights above threshold", + inferers: []string{s.addrsStr[0], s.addrsStr[1]}, + forecasters: []string{s.addrsStr[2]}, + infererWeights: map[string]alloraMath.Dec{ + s.addrsStr[0]: alloraMath.MustNewDecFromString("0.4"), + s.addrsStr[1]: alloraMath.MustNewDecFromString("0.3"), + }, + forecasterWeights: map[string]alloraMath.Dec{ + s.addrsStr[2]: alloraMath.MustNewDecFromString("0.3"), + }, + infererRegrets: map[string]*alloraMath.Dec{ + s.addrsStr[0]: decPtr("0.1"), + s.addrsStr[1]: decPtr("0.2"), + }, + forecasterRegrets: map[string]*alloraMath.Dec{ + s.addrsStr[2]: decPtr("0.3"), + }, + negligibleThreshold: alloraMath.MustNewDecFromString("0.1"), + epsilonTopic: alloraMath.MustNewDecFromString("0.01"), + expectedResult: alloraMath.MustNewDecFromString("0.11"), + expectFiltered: true, + }, + { + name: "some weights below threshold", + inferers: []string{s.addrsStr[0], s.addrsStr[1]}, + forecasters: []string{s.addrsStr[2]}, + infererWeights: map[string]alloraMath.Dec{ + s.addrsStr[0]: alloraMath.MustNewDecFromString("0.05"), // below threshold + s.addrsStr[1]: alloraMath.MustNewDecFromString("0.3"), + }, + forecasterWeights: map[string]alloraMath.Dec{ + s.addrsStr[2]: alloraMath.MustNewDecFromString("0.3"), + }, + infererRegrets: map[string]*alloraMath.Dec{ + s.addrsStr[0]: decPtr("0.1"), + s.addrsStr[1]: decPtr("0.2"), + }, + forecasterRegrets: map[string]*alloraMath.Dec{ + s.addrsStr[2]: decPtr("0.3"), + }, + negligibleThreshold: alloraMath.MustNewDecFromString("0.1"), + epsilonTopic: alloraMath.MustNewDecFromString("0.01"), + expectedResult: alloraMath.MustNewDecFromString("0.08071067811865475"), + expectFiltered: true, + }, + { + name: "less than 2 non-negligible weights", + inferers: []string{s.addrsStr[0], s.addrsStr[1]}, + forecasters: []string{s.addrsStr[2]}, + infererWeights: map[string]alloraMath.Dec{ + s.addrsStr[0]: alloraMath.MustNewDecFromString("0.05"), // below threshold + s.addrsStr[1]: alloraMath.MustNewDecFromString("0.05"), // below threshold + }, + forecasterWeights: map[string]alloraMath.Dec{ + s.addrsStr[2]: alloraMath.MustNewDecFromString("0.3"), + }, + infererRegrets: map[string]*alloraMath.Dec{ + s.addrsStr[0]: decPtr("0.1"), + s.addrsStr[1]: decPtr("0.2"), + }, + forecasterRegrets: map[string]*alloraMath.Dec{ + s.addrsStr[2]: decPtr("0.3"), + }, + negligibleThreshold: alloraMath.MustNewDecFromString("0.1"), + epsilonTopic: alloraMath.MustNewDecFromString("0.01"), + expectedResult: alloraMath.MustNewDecFromString("0.11"), // uses all regrets + expectFiltered: false, + }, + } + + for _, tc := range testCases { + s.Run(tc.name, func() { + // Store weights in keeper + for worker, weight := range tc.infererWeights { // nolint: maprange // reason: order not relevant + err := s.emissionsKeeper.SetLatestInfererWeight(s.ctx, 1, worker, weight) + s.Require().NoError(err) + } + for worker, weight := range tc.forecasterWeights { // nolint: maprange // reason: order not relevant + err := s.emissionsKeeper.SetLatestForecasterWeight(s.ctx, 1, worker, weight) + s.Require().NoError(err) + } + + result, err := synth.CalcRegretStdDevFilteredByWeights(synth.CalcRegretStdDevFilteredByWeightsArgs{ + Ctx: s.ctx, + K: &s.emissionsKeeper, + Logger: s.ctx.Logger(), + TopicId: 1, // topicId + Inferers: tc.inferers, + Forecasters: tc.forecasters, + InfererToRegret: tc.infererRegrets, + ForecasterToRegret: tc.forecasterRegrets, + NegligibleThreshold: tc.negligibleThreshold, + EpsilonTopic: tc.epsilonTopic, + }) + + s.Require().NoError(err) + ok, err := alloraMath.InDelta(result, tc.expectedResult, alloraMath.MustNewDecFromString("0.00000001")) + s.Require().NoError(err) + s.Require().True(ok, + "Expected %s but got %s", tc.expectedResult, result) + }) + } +} + +// Helper function to create Dec pointer +func decPtr(s string) *alloraMath.Dec { + dec := alloraMath.MustNewDecFromString(s) + return &dec +} + +func (s *WeightsTestSuite) TestCalcWeightsGivenWorkers() { + testCases := []struct { + name string + args synth.CalcWeightsGivenWorkersArgs + expectedError bool + checkResult func(result synth.RegretInformedWeights) + }{ + { + name: "basic calculation with single inferer and forecaster", + args: synth.CalcWeightsGivenWorkersArgs{ + Logger: s.ctx.Logger(), + Inferers: []string{s.addrsStr[0]}, + Forecasters: []string{s.addrsStr[1]}, + InfererToRegret: map[string]*alloraMath.Dec{ + s.addrsStr[0]: decPtr("1.0"), + }, + ForecasterToRegret: map[string]*alloraMath.Dec{ + s.addrsStr[1]: decPtr("2.0"), + }, + EpsilonTopic: alloraMath.MustNewDecFromString("0.01"), + PNorm: alloraMath.MustNewDecFromString("3.0"), + CNorm: alloraMath.MustNewDecFromString("0.75"), + StdDevPlusEpsilon: alloraMath.MustNewDecFromString("1.0"), + }, + expectedError: false, + checkResult: func(result synth.RegretInformedWeights) { + s.Require().Len(result.Inferers, 1) + s.Require().Len(result.Forecasters, 1) + s.Require().True(result.Inferers[s.addrsStr[0]].Lt(result.Forecasters[s.addrsStr[1]])) + }, + }, + { + name: "basic calculation with negative inferer and positive forecaster", + args: synth.CalcWeightsGivenWorkersArgs{ + Logger: s.ctx.Logger(), + Inferers: []string{s.addrsStr[0]}, + Forecasters: []string{s.addrsStr[1]}, + InfererToRegret: map[string]*alloraMath.Dec{ + s.addrsStr[0]: decPtr("-1.0"), + }, + ForecasterToRegret: map[string]*alloraMath.Dec{ + s.addrsStr[1]: decPtr("2.0"), + }, + EpsilonTopic: alloraMath.MustNewDecFromString("0.01"), + PNorm: alloraMath.MustNewDecFromString("3.0"), + CNorm: alloraMath.MustNewDecFromString("0.75"), + StdDevPlusEpsilon: alloraMath.MustNewDecFromString("1.0"), + }, + expectedError: false, + checkResult: func(result synth.RegretInformedWeights) { + s.T().Logf("Single worker test results:") + s.Require().Len(result.Inferers, 1) + s.Require().Len(result.Forecasters, 1) + s.Require().True(result.Inferers[s.addrsStr[0]].Lt(result.Forecasters[s.addrsStr[1]])) + }, + }, + { + name: "basic calculation with positive inferer and negative forecaster", + args: synth.CalcWeightsGivenWorkersArgs{ + Logger: s.ctx.Logger(), + Inferers: []string{s.addrsStr[0]}, + Forecasters: []string{s.addrsStr[1]}, + InfererToRegret: map[string]*alloraMath.Dec{ + s.addrsStr[0]: decPtr("1.0"), + }, + ForecasterToRegret: map[string]*alloraMath.Dec{ + s.addrsStr[1]: decPtr("-2.0"), + }, + EpsilonTopic: alloraMath.MustNewDecFromString("0.01"), + PNorm: alloraMath.MustNewDecFromString("3.0"), + CNorm: alloraMath.MustNewDecFromString("0.75"), + StdDevPlusEpsilon: alloraMath.MustNewDecFromString("1.0"), + }, + expectedError: false, + checkResult: func(result synth.RegretInformedWeights) { + s.Require().Len(result.Inferers, 1) + s.Require().Len(result.Forecasters, 1) + s.Require().True(result.Inferers[s.addrsStr[0]].Gt(result.Forecasters[s.addrsStr[1]])) + }, + }, + { + name: "calculation with multiple workers and mixed positive and negative regrets", + args: synth.CalcWeightsGivenWorkersArgs{ + Logger: s.ctx.Logger(), + Inferers: []string{s.addrsStr[0], s.addrsStr[1]}, + Forecasters: []string{s.addrsStr[2], s.addrsStr[3]}, + InfererToRegret: map[string]*alloraMath.Dec{ + s.addrsStr[0]: decPtr("-1.0"), + s.addrsStr[1]: decPtr("2.0"), + }, + ForecasterToRegret: map[string]*alloraMath.Dec{ + s.addrsStr[2]: decPtr("1.5"), + s.addrsStr[3]: decPtr("-0.5"), + }, + EpsilonTopic: alloraMath.MustNewDecFromString("0.01"), + PNorm: alloraMath.MustNewDecFromString("3.0"), + CNorm: alloraMath.MustNewDecFromString("0.75"), + StdDevPlusEpsilon: alloraMath.MustNewDecFromString("1.0"), + }, + expectedError: false, + checkResult: func(result synth.RegretInformedWeights) { + s.Require().Len(result.Inferers, 2) + s.Require().Len(result.Forecasters, 2) + + // Check that worker with higher regret has a higher weight + s.Require().True(result.Inferers[s.addrsStr[0]].Lt(result.Inferers[s.addrsStr[1]])) + s.Require().True(result.Forecasters[s.addrsStr[2]].Gt(result.Forecasters[s.addrsStr[3]])) + // compare mixed + s.Require().True(result.Forecasters[s.addrsStr[3]].Gt(result.Inferers[s.addrsStr[0]])) + s.Require().True(result.Forecasters[s.addrsStr[2]].Lt(result.Inferers[s.addrsStr[1]])) + + }, + }, + { // nolint: exhaustruct + name: "empty workers should error", + args: synth.CalcWeightsGivenWorkersArgs{ + Logger: s.ctx.Logger(), + Inferers: []string{}, + Forecasters: []string{}, + InfererToRegret: map[string]*alloraMath.Dec{}, + ForecasterToRegret: map[string]*alloraMath.Dec{}, + EpsilonTopic: alloraMath.MustNewDecFromString("0.01"), + PNorm: alloraMath.MustNewDecFromString("3.0"), + CNorm: alloraMath.MustNewDecFromString("0.75"), + StdDevPlusEpsilon: alloraMath.MustNewDecFromString("1.0"), + }, + expectedError: true, + }, + { // nolint: exhaustruct + name: "missing regret values should error", + args: synth.CalcWeightsGivenWorkersArgs{ + Logger: s.ctx.Logger(), + Inferers: []string{s.addrsStr[0]}, + Forecasters: []string{s.addrsStr[1]}, + InfererToRegret: map[string]*alloraMath.Dec{}, + ForecasterToRegret: map[string]*alloraMath.Dec{}, + EpsilonTopic: alloraMath.MustNewDecFromString("0.01"), + PNorm: alloraMath.MustNewDecFromString("3.0"), + CNorm: alloraMath.MustNewDecFromString("0.75"), + StdDevPlusEpsilon: alloraMath.MustNewDecFromString("1.0"), + }, + expectedError: true, + }, + } + + for _, tc := range testCases { + s.Run(tc.name, func() { + result, err := synth.CalcWeightsGivenWorkers(tc.args) + + if tc.expectedError { + s.Require().Error(err) + return + } + + s.Require().NoError(err) + s.Require().NotNil(result) + + if tc.checkResult != nil { + tc.checkResult(result) + } + }) + } +} diff --git a/x/emissions/keeper/keeper.go b/x/emissions/keeper/keeper.go index dc73dbca7..b518caa04 100644 --- a/x/emissions/keeper/keeper.go +++ b/x/emissions/keeper/keeper.go @@ -223,6 +223,14 @@ type Keeper struct { // map of (topicId, oneOutForecaster, forecaster) -> regret latestOneOutForecasterForecasterNetworkRegrets collections.Map[collections.Triple[TopicId, ActorId, ActorId], types.TimestampedValue] + // WEIGHTS + + // The latest stdnorm of regrets for a topic + latestRegretStdNorm collections.Map[TopicId, alloraMath.Dec] + // The latest weights for a topic + latestInfererWeights collections.Map[collections.Pair[TopicId, ActorId], alloraMath.Dec] + latestForecasterWeights collections.Map[collections.Pair[TopicId, ActorId], alloraMath.Dec] + /// INCLUSIONS countInfererInclusionsInTopicActiveSet collections.Map[collections.Pair[TopicId, ActorId], uint64] @@ -366,6 +374,9 @@ func NewKeeper( initialInfererEmaScore: collections.NewMap(sb, types.InitialInfererEmaScoreKey, "initial_inferer_ema_score", collections.Uint64Key, alloraMath.DecValue), initialForecasterEmaScore: collections.NewMap(sb, types.InitialForecasterEmaScoreKey, "initial_forecaster_ema_score", collections.Uint64Key, alloraMath.DecValue), initialReputerEmaScore: collections.NewMap(sb, types.InitialReputerEmaScoreKey, "initial_reputer_ema_score", collections.Uint64Key, alloraMath.DecValue), + latestRegretStdNorm: collections.NewMap(sb, types.LatestRegretStdNormKey, "latest_regret_stdnorm", collections.Uint64Key, alloraMath.DecValue), + latestInfererWeights: collections.NewMap(sb, types.LatestInfererWeightsKey, "latest_inferer_weights", collections.PairKeyCodec(collections.Uint64Key, collections.StringKey), alloraMath.DecValue), + latestForecasterWeights: collections.NewMap(sb, types.LatestForecasterWeightsKey, "latest_forecaster_weights", collections.PairKeyCodec(collections.Uint64Key, collections.StringKey), alloraMath.DecValue), } schema, err := sb.Build() @@ -4409,3 +4420,68 @@ func (k *Keeper) SetTopicInitialReputerEmaScore(ctx context.Context, topicId Top } return k.initialReputerEmaScore.Set(ctx, topicId, score) } + +// WEIGHTS + +// GetLatestRegretStdNorm returns the latest regret standard norm for a topic +func (k Keeper) GetLatestRegretStdNorm(ctx context.Context, topicId TopicId) (alloraMath.Dec, error) { + regretStdNorm, err := k.latestRegretStdNorm.Get(ctx, topicId) + if errors.Is(err, collections.ErrNotFound) { + return alloraMath.ZeroDec(), nil + } + return regretStdNorm, err +} + +// SetLatestRegretStdNorm sets the latest regret standard norm for a topic +func (k Keeper) SetLatestRegretStdNorm(ctx context.Context, topicId TopicId, regretStdNorm alloraMath.Dec) error { + if err := types.ValidateTopicId(topicId); err != nil { + return errorsmod.Wrap(err, "topic id validation failed") + } + if err := types.ValidateDec(regretStdNorm); err != nil { + return errorsmod.Wrap(err, "regret standard norm validation failed") + } + if regretStdNorm.IsZero() { + return errorsmod.Wrap(types.ErrInvalidValue, "regret standard norm cannot be zero") + } + return k.latestRegretStdNorm.Set(ctx, topicId, regretStdNorm) +} + +// GetLatestInfererWeight returns the latest inferer weight for a topic and worker +func (k Keeper) GetLatestInfererWeight(ctx context.Context, topicId TopicId, worker ActorId) (alloraMath.Dec, error) { + weight, err := k.latestInfererWeights.Get(ctx, collections.Join(topicId, worker)) + if errors.Is(err, collections.ErrNotFound) { + return alloraMath.ZeroDec(), nil + } + return weight, err +} + +// SetLatestInfererWeight sets the latest inferer weight for a topic and worker +func (k Keeper) SetLatestInfererWeight(ctx context.Context, topicId TopicId, worker ActorId, weight alloraMath.Dec) error { + if err := types.ValidateTopicId(topicId); err != nil { + return errorsmod.Wrap(err, "topic id validation failed") + } + if err := types.ValidateBech32(worker); err != nil { + return errorsmod.Wrap(err, "worker address validation failed") + } + return k.latestInfererWeights.Set(ctx, collections.Join(topicId, worker), weight) +} + +// GetLatestForecasterWeight returns the latest forecaster weight for a topic and worker +func (k Keeper) GetLatestForecasterWeight(ctx context.Context, topicId TopicId, worker ActorId) (alloraMath.Dec, error) { + weight, err := k.latestForecasterWeights.Get(ctx, collections.Join(topicId, worker)) + if errors.Is(err, collections.ErrNotFound) { + return alloraMath.ZeroDec(), nil + } + return weight, err +} + +// SetLatestForecasterWeight sets the latest forecaster weight for a topic and worker +func (k Keeper) SetLatestForecasterWeight(ctx context.Context, topicId TopicId, worker ActorId, weight alloraMath.Dec) error { + if err := types.ValidateTopicId(topicId); err != nil { + return errorsmod.Wrap(err, "topic id validation failed") + } + if err := types.ValidateBech32(worker); err != nil { + return errorsmod.Wrap(err, "worker address validation failed") + } + return k.latestForecasterWeights.Set(ctx, collections.Join(topicId, worker), weight) +} diff --git a/x/emissions/keeper/keeper_test.go b/x/emissions/keeper/keeper_test.go index 09368738e..d946dcd72 100644 --- a/x/emissions/keeper/keeper_test.go +++ b/x/emissions/keeper/keeper_test.go @@ -4002,6 +4002,7 @@ func mockUninitializedParams() types.Params { GlobalReputerWhitelistEnabled: true, GlobalAdminWhitelistAppended: true, MaxWhitelistInputArrayLength: uint64(10), + MinWeightThresholdForStdnorm: alloraMath.MustNewDecFromString("0.000001"), } } @@ -5604,3 +5605,90 @@ func (s *KeeperTestSuite) TestLivenessPenaltyAppliedInAppendReputerLoss() { s.Require().Equal(reputer, score.Address) s.Require().Equal(topic.Id, score.TopicId) } + +func (s *KeeperTestSuite) TestLatestForecasterWeightFunctions() { + ctx := s.ctx + k := s.emissionsKeeper + topicId := uint64(1) + forecaster := s.addrsStr[0] + weight := alloraMath.NewDecFromInt64(100) + + // Test initial state (should be zero) + initialWeight, err := k.GetLatestForecasterWeight(ctx, topicId, forecaster) + s.Require().NoError(err) + s.Require().True(initialWeight.IsZero(), "Initial weight should be zero") + + // Set weight + err = k.SetLatestForecasterWeight(ctx, topicId, forecaster, weight) + s.Require().NoError(err, "Setting latest forecaster weight should not fail") + + // Get and verify weight + retrievedWeight, err := k.GetLatestForecasterWeight(ctx, topicId, forecaster) + s.Require().NoError(err) + s.Require().Equal(weight, retrievedWeight, "Retrieved weight should match set weight") + + // Test with different topic ID + differentTopicId := uint64(2) + differentWeight, err := k.GetLatestForecasterWeight(ctx, differentTopicId, forecaster) + s.Require().NoError(err) + s.Require().True(differentWeight.IsZero(), "Weight for different topic should be zero") +} + +func (s *KeeperTestSuite) TestLatestInfererWeightFunctions() { + ctx := s.ctx + k := s.emissionsKeeper + topicId := uint64(1) + inferer := s.addrsStr[1] + weight := alloraMath.NewDecFromInt64(75) + + // Test initial state (should be zero) + initialWeight, err := k.GetLatestInfererWeight(ctx, topicId, inferer) + s.Require().NoError(err) + s.Require().True(initialWeight.IsZero(), "Initial weight should be zero") + + // Set weight + err = k.SetLatestInfererWeight(ctx, topicId, inferer, weight) + s.Require().NoError(err, "Setting latest inferer weight should not fail") + + // Get and verify weight + retrievedWeight, err := k.GetLatestInfererWeight(ctx, topicId, inferer) + s.Require().NoError(err) + s.Require().Equal(weight, retrievedWeight, "Retrieved weight should match set weight") + + // Test with different topic ID + differentTopicId := uint64(2) + differentWeight, err := k.GetLatestInfererWeight(ctx, differentTopicId, inferer) + s.Require().NoError(err) + s.Require().True(differentWeight.IsZero(), "Weight for different topic should be zero") +} + +func (s *KeeperTestSuite) TestLatestRegretStdNormFunctions() { + ctx := s.ctx + k := s.emissionsKeeper + topicId := uint64(1) + stdNorm := alloraMath.NewDecFromInt64(50) + + // Test initial state (should be zero) + initialStdNorm, err := k.GetLatestRegretStdNorm(ctx, topicId) + s.Require().NoError(err) + s.Require().True(initialStdNorm.IsZero(), "Initial stdNorm should be zero") + + // Set stdNorm + err = k.SetLatestRegretStdNorm(ctx, topicId, stdNorm) + s.Require().NoError(err, "Setting latest regret stdNorm should not fail") + + // Get and verify stdNorm + retrievedStdNorm, err := k.GetLatestRegretStdNorm(ctx, topicId) + s.Require().NoError(err) + s.Require().Equal(stdNorm, retrievedStdNorm, "Retrieved stdNorm should match set stdNorm") + + // Test with different topic ID + differentTopicId := uint64(2) + differentStdNorm, err := k.GetLatestRegretStdNorm(ctx, differentTopicId) + s.Require().NoError(err) + s.Require().True(differentStdNorm.IsZero(), "StdNorm for different topic should be zero") + + // Test setting zero value (should fail) + err = k.SetLatestRegretStdNorm(ctx, topicId, alloraMath.ZeroDec()) + s.Require().Error(err, "Setting zero regret stdNorm should fail") +} diff --git a/x/emissions/keeper/msgserver/msg_server_params.go b/x/emissions/keeper/msgserver/msg_server_params.go index 7c60492bb..541dd781d 100644 --- a/x/emissions/keeper/msgserver/msg_server_params.go +++ b/x/emissions/keeper/msgserver/msg_server_params.go @@ -186,6 +186,9 @@ func (ms msgServer) UpdateParams(ctx context.Context, msg *types.UpdateParamsReq if len(newParams.MaxWhitelistInputArrayLength) == 1 { existingParams.MaxWhitelistInputArrayLength = newParams.MaxWhitelistInputArrayLength[0] } + if len(newParams.MinWeightThresholdForStdnorm) == 1 { + existingParams.MinWeightThresholdForStdnorm = newParams.MinWeightThresholdForStdnorm[0] + } err = existingParams.Validate() if err != nil { return nil, err diff --git a/x/emissions/keeper/msgserver/msg_server_params_test.go b/x/emissions/keeper/msgserver/msg_server_params_test.go index c28d71f56..613ba9e8d 100644 --- a/x/emissions/keeper/msgserver/msg_server_params_test.go +++ b/x/emissions/keeper/msgserver/msg_server_params_test.go @@ -73,6 +73,7 @@ func (s *MsgServerTestSuite) TestUpdateAllParams() { GlobalReputerWhitelistEnabled: []bool{true}, GlobalAdminWhitelistAppended: []bool{true}, MaxWhitelistInputArrayLength: []uint64{10}, + MinWeightThresholdForStdnorm: []alloraMath.Dec{alloraMath.MustNewDecFromString("0.000001")}, } updateMsg := &types.UpdateParamsRequest{ @@ -140,6 +141,7 @@ func (s *MsgServerTestSuite) TestUpdateAllParams() { require.Equal(newParams.GlobalReputerWhitelistEnabled[0], updatedParams.GlobalReputerWhitelistEnabled) require.Equal(newParams.GlobalAdminWhitelistAppended[0], updatedParams.GlobalAdminWhitelistAppended) require.Equal(newParams.MaxWhitelistInputArrayLength[0], updatedParams.MaxWhitelistInputArrayLength) + require.Equal(newParams.MinWeightThresholdForStdnorm[0], updatedParams.MinWeightThresholdForStdnorm) } func (s *MsgServerTestSuite) TestUpdateParamsNonWhitelistedUser() { @@ -206,6 +208,7 @@ func (s *MsgServerTestSuite) TestUpdateParamsNonWhitelistedUser() { GlobalReputerWhitelistEnabled: nil, GlobalAdminWhitelistAppended: nil, MaxWhitelistInputArrayLength: nil, + MinWeightThresholdForStdnorm: nil, } // Creating the UpdateParamsRequest message with a non-whitelisted user diff --git a/x/emissions/keeper/msgserver/msg_server_worker_payload_test.go b/x/emissions/keeper/msgserver/msg_server_worker_payload_test.go index 03afcd7dd..875464dd0 100644 --- a/x/emissions/keeper/msgserver/msg_server_worker_payload_test.go +++ b/x/emissions/keeper/msgserver/msg_server_worker_payload_test.go @@ -371,6 +371,7 @@ func (s *MsgServerTestSuite) TestMsgInsertWorkerPayloadWithFewTopElementsPerFore GlobalReputerWhitelistEnabled: nil, GlobalAdminWhitelistAppended: nil, MaxWhitelistInputArrayLength: nil, + MinWeightThresholdForStdnorm: nil, } updateMsg := &types.UpdateParamsRequest{ @@ -778,6 +779,7 @@ func (s *MsgServerTestSuite) TestMsgInsertWorkerPayloadWithLowScoreForecastsAreR GlobalReputerWhitelistEnabled: nil, GlobalAdminWhitelistAppended: nil, MaxWhitelistInputArrayLength: nil, + MinWeightThresholdForStdnorm: nil, } updateMsg := &types.UpdateParamsRequest{ diff --git a/x/emissions/keeper/queryserver/query_server_weights.go b/x/emissions/keeper/queryserver/query_server_weights.go new file mode 100644 index 000000000..5d2a8d4e6 --- /dev/null +++ b/x/emissions/keeper/queryserver/query_server_weights.go @@ -0,0 +1,70 @@ +package queryserver + +import ( + "context" + "time" + + "github.com/allora-network/allora-chain/x/emissions/metrics" + "github.com/allora-network/allora-chain/x/emissions/types" + "google.golang.org/grpc/codes" + "google.golang.org/grpc/status" +) + +func (qs queryServer) GetLatestRegretStdNorm(ctx context.Context, req *types.GetLatestRegretStdNormRequest) (_ *types.GetLatestRegretStdNormResponse, err error) { + defer metrics.RecordMetrics("GetLatestRegretStdNorm", time.Now(), &err) + + if err := types.ValidateTopicId(req.TopicId); err != nil { + return nil, status.Error(codes.InvalidArgument, err.Error()) + } + + stdNorm, err := qs.k.GetLatestRegretStdNorm(ctx, req.TopicId) + if err != nil { + return nil, status.Error(codes.Internal, err.Error()) + } + + return &types.GetLatestRegretStdNormResponse{ + Value: stdNorm, + }, nil +} + +func (qs queryServer) GetLatestInfererWeight(ctx context.Context, req *types.GetLatestInfererWeightRequest) (_ *types.GetLatestInfererWeightResponse, err error) { + defer metrics.RecordMetrics("GetLatestInfererWeight", time.Now(), &err) + + if err := types.ValidateTopicId(req.TopicId); err != nil { + return nil, status.Error(codes.InvalidArgument, err.Error()) + } + + if err := types.ValidateBech32(req.ActorId); err != nil { + return nil, status.Error(codes.InvalidArgument, err.Error()) + } + + weight, err := qs.k.GetLatestInfererWeight(ctx, req.TopicId, req.ActorId) + if err != nil { + return nil, status.Error(codes.Internal, err.Error()) + } + + return &types.GetLatestInfererWeightResponse{ + Weight: weight, + }, nil +} + +func (qs queryServer) GetLatestForecasterWeight(ctx context.Context, req *types.GetLatestForecasterWeightRequest) (_ *types.GetLatestForecasterWeightResponse, err error) { + defer metrics.RecordMetrics("GetLatestForecasterWeight", time.Now(), &err) + + if err := types.ValidateTopicId(req.TopicId); err != nil { + return nil, status.Error(codes.InvalidArgument, err.Error()) + } + + if err := types.ValidateBech32(req.ActorId); err != nil { + return nil, status.Error(codes.InvalidArgument, err.Error()) + } + + weight, err := qs.k.GetLatestForecasterWeight(ctx, req.TopicId, req.ActorId) + if err != nil { + return nil, status.Error(codes.Internal, err.Error()) + } + + return &types.GetLatestForecasterWeightResponse{ + Weight: weight, + }, nil +} diff --git a/x/emissions/keeper/queryserver/query_server_weights_test.go b/x/emissions/keeper/queryserver/query_server_weights_test.go new file mode 100644 index 000000000..7e0faae9f --- /dev/null +++ b/x/emissions/keeper/queryserver/query_server_weights_test.go @@ -0,0 +1,95 @@ +package queryserver_test + +import ( + alloraMath "github.com/allora-network/allora-chain/math" + "github.com/allora-network/allora-chain/x/emissions/types" +) + +func (s *QueryServerTestSuite) TestGetInfererWeight() { + ctx := s.ctx + queryServer := s.queryServer + keeper := s.emissionsKeeper + + topicId := uint64(1) + worker := s.addrsStr[0] + weight := alloraMath.NewDecFromInt64(100) + + // Set initial weight + err := keeper.SetLatestInfererWeight(ctx, topicId, worker, weight) + s.Require().NoError(err, "Setting inferer weight should not fail") + + req := &types.GetLatestInfererWeightRequest{ + TopicId: topicId, + ActorId: worker, + } + response, err := queryServer.GetLatestInfererWeight(ctx, req) + s.Require().NoError(err) + s.Require().Equal(weight, response.Weight, "Retrieved weight should match set weight") + + // Test non-existent worker + nonExistentWorker := s.addrsStr[1] + req.ActorId = nonExistentWorker + response, err = queryServer.GetLatestInfererWeight(ctx, req) + s.Require().NoError(err) + s.Require().Equal(alloraMath.ZeroDec(), response.Weight, "Non-existent worker should have zero weight") +} + +func (s *QueryServerTestSuite) TestGetForecasterWeight() { + ctx := s.ctx + queryServer := s.queryServer + keeper := s.emissionsKeeper + + topicId := uint64(1) + forecaster := s.addrsStr[0] + weight := alloraMath.NewDecFromInt64(100) + + // Set initial weight + err := keeper.SetLatestForecasterWeight(ctx, topicId, forecaster, weight) + s.Require().NoError(err, "Setting forecaster weight should not fail") + + req := &types.GetLatestForecasterWeightRequest{ + TopicId: topicId, + ActorId: forecaster, + } + response, err := queryServer.GetLatestForecasterWeight(ctx, req) + s.Require().NoError(err) + s.Require().Equal(weight, response.Weight, "Retrieved weight should match set weight") + + // Test non-existent forecaster + nonExistentForecaster := s.addrsStr[1] + req.ActorId = nonExistentForecaster + response, err = queryServer.GetLatestForecasterWeight(ctx, req) + s.Require().NoError(err) + s.Require().Equal(alloraMath.ZeroDec(), response.Weight, "Non-existent forecaster should have zero weight") +} + +func (s *QueryServerTestSuite) TestGetLatestStdnorm() { + ctx := s.ctx + queryServer := s.queryServer + keeper := s.emissionsKeeper + + topicId := uint64(1) + stdnorm := alloraMath.NewDecFromInt64(100) + + // Set initial stdnorm + err := keeper.SetLatestRegretStdNorm(ctx, topicId, stdnorm) + s.Require().NoError(err, "Setting latest stdnorm should not fail") + + req := &types.GetLatestRegretStdNormRequest{ + TopicId: topicId, + } + response, err := queryServer.GetLatestRegretStdNorm(ctx, req) + s.Require().NoError(err) + s.Require().NotNil(response, "The response should not be nil") + s.Require().Equal(stdnorm, response.Value, "Retrieved stdnorm should match set stdnorm") + + // Test non-existent topic + nonExistentTopicId := uint64(999) + req = &types.GetLatestRegretStdNormRequest{ + TopicId: nonExistentTopicId, + } + response, err = queryServer.GetLatestRegretStdNorm(ctx, req) + s.Require().NoError(err) + s.Require().NotNil(response, "The response should not be nil") + s.Require().Equal(alloraMath.ZeroDec(), response.Value, "Non-existent topic should return zero stdnorm") +} diff --git a/x/emissions/metrics/labels.go b/x/emissions/metrics/labels.go index 31292bc0f..4181f7359 100644 --- a/x/emissions/metrics/labels.go +++ b/x/emissions/metrics/labels.go @@ -19,4 +19,7 @@ const ( NAIVE_INFERER_NETWORK_REGRET_EVENT = "naive_inferer_network_regret_event" TOPIC_INITIAL_REGRET_EVENT = "topic_initial_regret_event" TOPIC_INITIAL_EMA_SCORE_EVENT = "topic_initial_ema_score_event" + REGRET_STDNORM_EVENT = "regret_stdnorm_event" + INFERER_WEIGHTS_EVENT = "inferer_weights_event" + FORECASTER_WEIGHTS_EVENT = "forecaster_weights_event" ) diff --git a/x/emissions/migrations/v8/migrate.go b/x/emissions/migrations/v8/migrate.go new file mode 100644 index 000000000..968078bf0 --- /dev/null +++ b/x/emissions/migrations/v8/migrate.go @@ -0,0 +1,120 @@ +package v8 + +import ( + "fmt" + + errorsmod "cosmossdk.io/errors" + storetypes "cosmossdk.io/store/types" + "github.com/allora-network/allora-chain/x/emissions/keeper" + oldV7Types "github.com/allora-network/allora-chain/x/emissions/migrations/v8/oldtypes" + emissionstypes "github.com/allora-network/allora-chain/x/emissions/types" + "github.com/cosmos/cosmos-sdk/codec" + "github.com/cosmos/cosmos-sdk/runtime" + sdk "github.com/cosmos/cosmos-sdk/types" + "github.com/gogo/protobuf/proto" +) + +// MigrateStore migrates the store from version 6 to version 7 +// It does the following: +// - Migrate params to add and set MinWeightThresholdForStdnorm +// - Adds new empty stores +// - Adds queries for this empty stores +func MigrateStore(ctx sdk.Context, emissionsKeeper keeper.Keeper) error { + ctx.Logger().Info("STARTING EMISSIONS MODULE MIGRATION FROM VERSION 7 TO VERSION 8") + ctx.Logger().Info("MIGRATING STORE FROM VERSION 7 TO VERSION 8") + storageService := emissionsKeeper.GetStorageService() + store := runtime.KVStoreAdapter(storageService.OpenKVStore(ctx)) + cdc := emissionsKeeper.GetBinaryCodec() + + ctx.Logger().Info("MIGRATING PARAMS FROM VERSION 7 TO VERSION 8") + // This also flips on global and topic creator whitelists + if err := MigrateParams(ctx, store, cdc); err != nil { + ctx.Logger().Error("ERROR INVOKING MIGRATION HANDLER MigrateParams() FROM VERSION 7 TO VERSION 8") + return err + } + + ctx.Logger().Info("MIGRATING EMISSIONS MODULE FROM VERSION 7 TO VERSION 8 COMPLETE") + return nil +} + +// Migrate params for this new version +// The changes are the addition of GlobalWhitelistEnabled, TopicCreatorWhitelistEnabled +func MigrateParams(ctx sdk.Context, store storetypes.KVStore, cdc codec.BinaryCodec) error { + oldParams := oldV7Types.Params{} //nolint: exhaustruct // empty struct used by cosmos-sdk Unmarshal below + oldParamsBytes := store.Get(emissionstypes.ParamsKey) + if oldParamsBytes == nil { + return errorsmod.Wrapf(emissionstypes.ErrNotFound, "old parameters not found") + } + err := proto.Unmarshal(oldParamsBytes, &oldParams) + if err != nil { + return errorsmod.Wrapf(err, "failed to unmarshal old parameters") + } + + defaultParams := emissionstypes.DefaultParams() + + // DIFFERENCE BETWEEN OLD PARAMS AND NEW PARAMS: + // ADDED: + // MinWeightThresholdForStdnorm + newParams := emissionstypes.Params{ //nolint: exhaustruct + Version: oldParams.Version, + MaxSerializedMsgLength: oldParams.MaxSerializedMsgLength, + MinTopicWeight: oldParams.MinTopicWeight, + RequiredMinimumStake: oldParams.RequiredMinimumStake, + RemoveStakeDelayWindow: oldParams.RemoveStakeDelayWindow, + MinEpochLength: oldParams.MinEpochLength, + BetaEntropy: oldParams.BetaEntropy, + LearningRate: oldParams.LearningRate, + MaxGradientThreshold: oldParams.MaxGradientThreshold, + MinStakeFraction: oldParams.MinStakeFraction, + MaxUnfulfilledWorkerRequests: oldParams.MaxUnfulfilledWorkerRequests, + MaxUnfulfilledReputerRequests: oldParams.MaxUnfulfilledReputerRequests, + TopicRewardStakeImportance: oldParams.TopicRewardStakeImportance, + TopicRewardFeeRevenueImportance: oldParams.TopicRewardFeeRevenueImportance, + TopicRewardAlpha: oldParams.TopicRewardAlpha, + TaskRewardAlpha: oldParams.TaskRewardAlpha, + ValidatorsVsAlloraPercentReward: oldParams.ValidatorsVsAlloraPercentReward, + MaxSamplesToScaleScores: oldParams.MaxSamplesToScaleScores, + MaxTopInferersToReward: oldParams.MaxTopInferersToReward, + MaxTopForecastersToReward: oldParams.MaxTopForecastersToReward, + MaxTopReputersToReward: oldParams.MaxTopReputersToReward, + CreateTopicFee: oldParams.CreateTopicFee, + GradientDescentMaxIters: oldParams.GradientDescentMaxIters, + RegistrationFee: oldParams.RegistrationFee, + DefaultPageLimit: oldParams.DefaultPageLimit, + MaxPageLimit: oldParams.MaxPageLimit, + MinEpochLengthRecordLimit: oldParams.MinEpochLengthRecordLimit, + BlocksPerMonth: oldParams.BlocksPerMonth, + PRewardInference: oldParams.PRewardInference, + PRewardForecast: oldParams.PRewardForecast, + PRewardReputer: oldParams.PRewardReputer, + CRewardInference: oldParams.CRewardInference, + CRewardForecast: oldParams.CRewardForecast, + CNorm: oldParams.CNorm, + EpsilonReputer: oldParams.EpsilonReputer, + HalfMaxProcessStakeRemovalsEndBlock: oldParams.HalfMaxProcessStakeRemovalsEndBlock, + EpsilonSafeDiv: oldParams.EpsilonSafeDiv, + DataSendingFee: oldParams.DataSendingFee, + MaxElementsPerForecast: oldParams.MaxElementsPerForecast, + MaxActiveTopicsPerBlock: oldParams.MaxActiveTopicsPerBlock, + MaxStringLength: oldParams.MaxStringLength, + InitialRegretQuantile: oldParams.InitialRegretQuantile, + PNormSafeDiv: oldParams.PNormSafeDiv, + GlobalWhitelistEnabled: oldParams.GlobalWhitelistEnabled, + TopicCreatorWhitelistEnabled: oldParams.TopicCreatorWhitelistEnabled, + MinExperiencedWorkerRegrets: oldParams.MinExperiencedWorkerRegrets, + InferenceOutlierDetectionThreshold: oldParams.InferenceOutlierDetectionThreshold, + InferenceOutlierDetectionAlpha: oldParams.InferenceOutlierDetectionAlpha, + LambdaInitialScore: oldParams.LambdaInitialScore, + GlobalWorkerWhitelistEnabled: oldParams.GlobalWorkerWhitelistEnabled, + GlobalReputerWhitelistEnabled: oldParams.GlobalReputerWhitelistEnabled, + GlobalAdminWhitelistAppended: oldParams.GlobalAdminWhitelistAppended, + MaxWhitelistInputArrayLength: oldParams.MaxWhitelistInputArrayLength, + // NEW PARAMS + MinWeightThresholdForStdnorm: defaultParams.MinWeightThresholdForStdnorm, + } + + ctx.Logger().Info(fmt.Sprintf("MIGRATED PARAMS: %+v", newParams)) + store.Delete(emissionstypes.ParamsKey) + store.Set(emissionstypes.ParamsKey, cdc.MustMarshal(&newParams)) + return nil +} diff --git a/x/emissions/migrations/v8/migrate_test.go b/x/emissions/migrations/v8/migrate_test.go new file mode 100644 index 000000000..adcc4b313 --- /dev/null +++ b/x/emissions/migrations/v8/migrate_test.go @@ -0,0 +1,198 @@ +package v8_test + +import ( + "testing" + + v8 "github.com/allora-network/allora-chain/x/emissions/migrations/v8" + oldV7Types "github.com/allora-network/allora-chain/x/emissions/migrations/v8/oldtypes" + + codecAddress "github.com/cosmos/cosmos-sdk/codec/address" + + "cosmossdk.io/core/store" + "github.com/allora-network/allora-chain/app/params" + + "github.com/allora-network/allora-chain/x/emissions/keeper" + + emissions "github.com/allora-network/allora-chain/x/emissions/module" + emissionstestutil "github.com/allora-network/allora-chain/x/emissions/testutil" + emissionstypes "github.com/allora-network/allora-chain/x/emissions/types" + "github.com/cosmos/cosmos-sdk/runtime" + sdk "github.com/cosmos/cosmos-sdk/types" + authtypes "github.com/cosmos/cosmos-sdk/x/auth/types" + "github.com/golang/mock/gomock" + "github.com/stretchr/testify/suite" + + moduletestutil "github.com/cosmos/cosmos-sdk/types/module/testutil" + + storetypes "cosmossdk.io/store/types" + cosmostestutil "github.com/cosmos/cosmos-sdk/testutil" +) + +type EmissionsV7MigrationTestSuite struct { + suite.Suite + ctrl *gomock.Controller + + ctx sdk.Context + storeService store.KVStoreService + emissionsKeeper *keeper.Keeper +} + +func TestEmissionsV7MigrationTestSuite(t *testing.T) { + suite.Run(t, new(EmissionsV7MigrationTestSuite)) +} + +func (s *EmissionsV7MigrationTestSuite) SetupTest() { + encCfg := moduletestutil.MakeTestEncodingConfig(emissions.AppModule{}) + key := storetypes.NewKVStoreKey(emissionstypes.StoreKey) + storeService := runtime.NewKVStoreService(key) + s.storeService = storeService + testCtx := cosmostestutil.DefaultContextWithDB(s.T(), key, storetypes.NewTransientStoreKey("transient_test")) + s.ctx = testCtx.Ctx + + // gomock initializations + s.ctrl = gomock.NewController(s.T()) + accountKeeper := emissionstestutil.NewMockAccountKeeper(s.ctrl) + bankKeeper := emissionstestutil.NewMockBankKeeper(s.ctrl) + emissionsKeeper := keeper.NewKeeper( + encCfg.Codec, + codecAddress.NewBech32Codec(params.Bech32PrefixAccAddr), + storeService, + accountKeeper, + bankKeeper, + authtypes.FeeCollectorName) + + s.emissionsKeeper = &emissionsKeeper +} + +// In this test we check that the emissions module params have been migrated +// and the expected new fields are added and set to true: +// GlobalWhitelistEnabled, TopicCreatorWhitelistEnabled +func (s *EmissionsV7MigrationTestSuite) TestMigrateParams() { + storageService := s.emissionsKeeper.GetStorageService() + store := runtime.KVStoreAdapter(storageService.OpenKVStore(s.ctx)) + cdc := s.emissionsKeeper.GetBinaryCodec() + + defaultParams := emissionstypes.DefaultParams() + paramsOld := oldV7Types.Params{ // nolint: exhaustruct // this is an old version of the params => expected to fail lint + Version: defaultParams.Version, + MaxSerializedMsgLength: defaultParams.MaxSerializedMsgLength, + MinTopicWeight: defaultParams.MinTopicWeight, + RequiredMinimumStake: defaultParams.RequiredMinimumStake, + RemoveStakeDelayWindow: defaultParams.RemoveStakeDelayWindow, + MinEpochLength: defaultParams.MinEpochLength, + BetaEntropy: defaultParams.BetaEntropy, + LearningRate: defaultParams.LearningRate, + MaxGradientThreshold: defaultParams.MaxGradientThreshold, + MinStakeFraction: defaultParams.MinStakeFraction, + MaxUnfulfilledWorkerRequests: defaultParams.MaxUnfulfilledWorkerRequests, + MaxUnfulfilledReputerRequests: defaultParams.MaxUnfulfilledReputerRequests, + TopicRewardStakeImportance: defaultParams.TopicRewardStakeImportance, + TopicRewardFeeRevenueImportance: defaultParams.TopicRewardFeeRevenueImportance, + TopicRewardAlpha: defaultParams.TopicRewardAlpha, + TaskRewardAlpha: defaultParams.TaskRewardAlpha, + ValidatorsVsAlloraPercentReward: defaultParams.ValidatorsVsAlloraPercentReward, + MaxSamplesToScaleScores: defaultParams.MaxSamplesToScaleScores, + MaxTopInferersToReward: defaultParams.MaxTopInferersToReward, + MaxTopForecastersToReward: defaultParams.MaxTopForecastersToReward, + MaxTopReputersToReward: defaultParams.MaxTopReputersToReward, + CreateTopicFee: defaultParams.CreateTopicFee, + GradientDescentMaxIters: defaultParams.GradientDescentMaxIters, + RegistrationFee: defaultParams.RegistrationFee, + DefaultPageLimit: defaultParams.DefaultPageLimit, + MaxPageLimit: defaultParams.MaxPageLimit, + MinEpochLengthRecordLimit: defaultParams.MinEpochLengthRecordLimit, + BlocksPerMonth: defaultParams.BlocksPerMonth, + PRewardInference: defaultParams.PRewardInference, + PRewardForecast: defaultParams.PRewardForecast, + PRewardReputer: defaultParams.PRewardReputer, + CRewardInference: defaultParams.CRewardInference, + CRewardForecast: defaultParams.CRewardForecast, + CNorm: defaultParams.CNorm, + EpsilonReputer: defaultParams.EpsilonReputer, + HalfMaxProcessStakeRemovalsEndBlock: defaultParams.HalfMaxProcessStakeRemovalsEndBlock, + EpsilonSafeDiv: defaultParams.EpsilonSafeDiv, + DataSendingFee: defaultParams.DataSendingFee, + MaxElementsPerForecast: defaultParams.MaxElementsPerForecast, + MaxActiveTopicsPerBlock: defaultParams.MaxActiveTopicsPerBlock, + MaxStringLength: defaultParams.MaxStringLength, + InitialRegretQuantile: defaultParams.InitialRegretQuantile, + PNormSafeDiv: defaultParams.PNormSafeDiv, + GlobalWhitelistEnabled: defaultParams.GlobalWhitelistEnabled, + TopicCreatorWhitelistEnabled: defaultParams.TopicCreatorWhitelistEnabled, + MinExperiencedWorkerRegrets: defaultParams.MinExperiencedWorkerRegrets, + InferenceOutlierDetectionThreshold: defaultParams.InferenceOutlierDetectionThreshold, + InferenceOutlierDetectionAlpha: defaultParams.InferenceOutlierDetectionAlpha, + LambdaInitialScore: defaultParams.LambdaInitialScore, + GlobalWorkerWhitelistEnabled: defaultParams.GlobalWorkerWhitelistEnabled, + GlobalReputerWhitelistEnabled: defaultParams.GlobalReputerWhitelistEnabled, + GlobalAdminWhitelistAppended: defaultParams.GlobalAdminWhitelistAppended, + MaxWhitelistInputArrayLength: defaultParams.MaxWhitelistInputArrayLength, + } + + store.Set(emissionstypes.ParamsKey, cdc.MustMarshal(¶msOld)) + + // Run migration + err := v8.MigrateParams(s.ctx, store, cdc) + s.Require().NoError(err) + + // TO BE ADDED VIA DEFAULT PARAMS: + // MinWeightThresholdForStdnorm + paramsExpected := defaultParams + + params, err := s.emissionsKeeper.GetParams(s.ctx) + s.Require().NoError(err) + s.Require().Equal(paramsExpected.Version, params.Version) + s.Require().Equal(paramsExpected.MaxSerializedMsgLength, params.MaxSerializedMsgLength) + s.Require().True(paramsExpected.MinTopicWeight.Equal(params.MinTopicWeight), "%s!=%s", paramsExpected.MinTopicWeight.String(), params.MinTopicWeight.String()) + s.Require().True(paramsExpected.RequiredMinimumStake.Equal(params.RequiredMinimumStake), "%s!=%s", paramsExpected.RequiredMinimumStake, params.RequiredMinimumStake) + s.Require().Equal(paramsExpected.RemoveStakeDelayWindow, params.RemoveStakeDelayWindow) + s.Require().Equal(paramsExpected.MinEpochLength, params.MinEpochLength) + s.Require().True(paramsExpected.BetaEntropy.Equal(params.BetaEntropy), "%s!=%s", paramsExpected.BetaEntropy, params.BetaEntropy) + s.Require().True(paramsExpected.LearningRate.Equal(params.LearningRate), "%s!=%s", paramsExpected.LearningRate, params.LearningRate) + s.Require().True(paramsExpected.MaxGradientThreshold.Equal(params.MaxGradientThreshold), "%s!=%s", paramsExpected.MaxGradientThreshold, params.MaxGradientThreshold) + s.Require().True(paramsExpected.MinStakeFraction.Equal(params.MinStakeFraction), "%s!=%s", paramsExpected.MinStakeFraction, params.MinStakeFraction) + s.Require().Equal(paramsExpected.MaxUnfulfilledWorkerRequests, params.MaxUnfulfilledWorkerRequests) + s.Require().Equal(paramsExpected.MaxUnfulfilledReputerRequests, params.MaxUnfulfilledReputerRequests) + s.Require().True(paramsExpected.TopicRewardStakeImportance.Equal(params.TopicRewardStakeImportance), "%s!=%s", paramsExpected.TopicRewardStakeImportance, params.TopicRewardStakeImportance) + s.Require().True(paramsExpected.TopicRewardFeeRevenueImportance.Equal(params.TopicRewardFeeRevenueImportance), "%s!=%s", paramsExpected.TopicRewardFeeRevenueImportance, params.TopicRewardFeeRevenueImportance) + s.Require().True(paramsExpected.TopicRewardAlpha.Equal(params.TopicRewardAlpha), "%s!=%s", paramsExpected.TopicRewardAlpha, params.TopicRewardAlpha) + s.Require().True(paramsExpected.TaskRewardAlpha.Equal(params.TaskRewardAlpha), "%s!=%s", paramsExpected.TaskRewardAlpha, params.TaskRewardAlpha) + s.Require().True(paramsExpected.ValidatorsVsAlloraPercentReward.Equal(params.ValidatorsVsAlloraPercentReward), "%s!=%s", paramsExpected.ValidatorsVsAlloraPercentReward, params.ValidatorsVsAlloraPercentReward) + s.Require().Equal(paramsExpected.MaxSamplesToScaleScores, params.MaxSamplesToScaleScores) + s.Require().Equal(paramsExpected.MaxTopInferersToReward, params.MaxTopInferersToReward) + s.Require().Equal(paramsExpected.MaxTopForecastersToReward, params.MaxTopForecastersToReward) + s.Require().Equal(paramsExpected.MaxTopReputersToReward, params.MaxTopReputersToReward) + s.Require().True(paramsExpected.CreateTopicFee.Equal(params.CreateTopicFee), "%s!=%s", paramsExpected.CreateTopicFee, params.CreateTopicFee) + s.Require().Equal(paramsExpected.GradientDescentMaxIters, params.GradientDescentMaxIters) + s.Require().True(paramsExpected.RegistrationFee.Equal(params.RegistrationFee), "%s!=%s", paramsExpected.RegistrationFee, params.RegistrationFee) + s.Require().Equal(paramsExpected.DefaultPageLimit, params.DefaultPageLimit) + s.Require().Equal(paramsExpected.MaxPageLimit, params.MaxPageLimit) + s.Require().Equal(paramsExpected.MinEpochLengthRecordLimit, params.MinEpochLengthRecordLimit) + s.Require().Equal(paramsExpected.BlocksPerMonth, params.BlocksPerMonth) + s.Require().True(paramsExpected.PRewardInference.Equal(params.PRewardInference), "%s!=%s", paramsExpected.PRewardInference, params.PRewardInference) + s.Require().True(paramsExpected.PRewardForecast.Equal(params.PRewardForecast), "%s!=%s", paramsExpected.PRewardForecast, params.PRewardForecast) + s.Require().True(paramsExpected.PRewardReputer.Equal(params.PRewardReputer), "%s!=%s", paramsExpected.PRewardReputer, params.PRewardReputer) + s.Require().True(paramsExpected.CRewardInference.Equal(params.CRewardInference), "%s!=%s", paramsExpected.CRewardInference, params.CRewardInference) + s.Require().True(paramsExpected.CRewardForecast.Equal(params.CRewardForecast), "%s!=%s", paramsExpected.CRewardForecast, params.CRewardForecast) + s.Require().True(paramsExpected.CNorm.Equal(params.CNorm), "%s!=%s", paramsExpected.CNorm, params.CNorm) + s.Require().True(paramsExpected.EpsilonReputer.Equal(params.EpsilonReputer), "%s!=%s", paramsExpected.EpsilonReputer, params.EpsilonReputer) + s.Require().Equal(paramsExpected.HalfMaxProcessStakeRemovalsEndBlock, params.HalfMaxProcessStakeRemovalsEndBlock) + s.Require().True(paramsExpected.EpsilonSafeDiv.Equal(params.EpsilonSafeDiv), "%s!=%s", paramsExpected.EpsilonSafeDiv, params.EpsilonSafeDiv) + s.Require().True(paramsExpected.DataSendingFee.Equal(params.DataSendingFee), "%s!=%s", paramsExpected.DataSendingFee, params.DataSendingFee) + s.Require().Equal(paramsExpected.MaxElementsPerForecast, params.MaxElementsPerForecast) + s.Require().Equal(paramsExpected.MaxActiveTopicsPerBlock, params.MaxActiveTopicsPerBlock) + s.Require().Equal(paramsExpected.MaxStringLength, params.MaxStringLength) + s.Require().Equal(paramsExpected.InitialRegretQuantile, params.InitialRegretQuantile) + s.Require().Equal(paramsExpected.PNormSafeDiv, params.PNormSafeDiv) + s.Require().True(paramsExpected.GlobalWhitelistEnabled) + s.Require().True(paramsExpected.TopicCreatorWhitelistEnabled) + s.Require().Equal(paramsExpected.MinExperiencedWorkerRegrets, params.MinExperiencedWorkerRegrets) + s.Require().True(paramsExpected.InferenceOutlierDetectionThreshold.Equal(params.InferenceOutlierDetectionThreshold), "%s!=%s", paramsExpected.InferenceOutlierDetectionThreshold, params.InferenceOutlierDetectionThreshold) + s.Require().True(paramsExpected.InferenceOutlierDetectionAlpha.Equal(params.InferenceOutlierDetectionAlpha), "%s!=%s", paramsExpected.InferenceOutlierDetectionAlpha, params.InferenceOutlierDetectionAlpha) + s.Require().True(paramsExpected.LambdaInitialScore.Equal(params.LambdaInitialScore), "%s!=%s", paramsExpected.LambdaInitialScore, params.LambdaInitialScore) + s.Require().True(paramsExpected.GlobalWorkerWhitelistEnabled) + s.Require().True(paramsExpected.GlobalReputerWhitelistEnabled) + s.Require().True(paramsExpected.GlobalAdminWhitelistAppended) + s.Require().Equal(paramsExpected.MaxWhitelistInputArrayLength, params.MaxWhitelistInputArrayLength) + s.Require().Equal(paramsExpected.MinWeightThresholdForStdnorm, params.MinWeightThresholdForStdnorm) +} diff --git a/x/emissions/migrations/v8/oldtypes/params.pb.go b/x/emissions/migrations/v8/oldtypes/params.pb.go new file mode 100644 index 000000000..200758e29 --- /dev/null +++ b/x/emissions/migrations/v8/oldtypes/params.pb.go @@ -0,0 +1,2738 @@ +// Code generated by protoc-gen-gogo. DO NOT EDIT. +// source: emissions/v7/params.proto + +package types + +import ( + cosmossdk_io_math "cosmossdk.io/math" + fmt "fmt" + github_com_allora_network_allora_chain_math "github.com/allora-network/allora-chain/math" + _ "github.com/cosmos/cosmos-proto" + _ "github.com/cosmos/cosmos-sdk/types/tx/amino" + _ "github.com/cosmos/gogoproto/gogoproto" + proto "github.com/cosmos/gogoproto/proto" + io "io" + math "math" + math_bits "math/bits" +) + +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.GoGoProtoPackageIsVersion3 // please upgrade the proto package + +// Params defines the parameters of the module. +type Params struct { + Version string `protobuf:"bytes,1,opt,name=version,proto3" json:"version,omitempty"` + // github release tag version + MaxSerializedMsgLength int64 `protobuf:"varint,2,opt,name=max_serialized_msg_length,json=maxSerializedMsgLength,proto3" json:"max_serialized_msg_length,omitempty"` + MinTopicWeight github_com_allora_network_allora_chain_math.Dec `protobuf:"bytes,3,opt,name=min_topic_weight,json=minTopicWeight,proto3,customtype=github.com/allora-network/allora-chain/math.Dec" json:"min_topic_weight"` + // solicatation or weight-adjustment + RequiredMinimumStake cosmossdk_io_math.Int `protobuf:"bytes,5,opt,name=required_minimum_stake,json=requiredMinimumStake,proto3,customtype=cosmossdk.io/math.Int" json:"required_minimum_stake"` + RemoveStakeDelayWindow int64 `protobuf:"varint,6,opt,name=remove_stake_delay_window,json=removeStakeDelayWindow,proto3" json:"remove_stake_delay_window,omitempty"` + MinEpochLength int64 `protobuf:"varint,7,opt,name=min_epoch_length,json=minEpochLength,proto3" json:"min_epoch_length,omitempty"` + // repeating inference request + BetaEntropy github_com_allora_network_allora_chain_math.Dec `protobuf:"bytes,8,opt,name=beta_entropy,json=betaEntropy,proto3,customtype=github.com/allora-network/allora-chain/math.Dec" json:"beta_entropy"` + LearningRate github_com_allora_network_allora_chain_math.Dec `protobuf:"bytes,9,opt,name=learning_rate,json=learningRate,proto3,customtype=github.com/allora-network/allora-chain/math.Dec" json:"learning_rate"` + MaxGradientThreshold github_com_allora_network_allora_chain_math.Dec `protobuf:"bytes,10,opt,name=max_gradient_threshold,json=maxGradientThreshold,proto3,customtype=github.com/allora-network/allora-chain/math.Dec" json:"max_gradient_threshold"` + MinStakeFraction github_com_allora_network_allora_chain_math.Dec `protobuf:"bytes,11,opt,name=min_stake_fraction,json=minStakeFraction,proto3,customtype=github.com/allora-network/allora-chain/math.Dec" json:"min_stake_fraction"` + // coefficients + MaxUnfulfilledWorkerRequests uint64 `protobuf:"varint,13,opt,name=max_unfulfilled_worker_requests,json=maxUnfulfilledWorkerRequests,proto3" json:"max_unfulfilled_worker_requests,omitempty"` + MaxUnfulfilledReputerRequests uint64 `protobuf:"varint,14,opt,name=max_unfulfilled_reputer_requests,json=maxUnfulfilledReputerRequests,proto3" json:"max_unfulfilled_reputer_requests,omitempty"` + TopicRewardStakeImportance github_com_allora_network_allora_chain_math.Dec `protobuf:"bytes,15,opt,name=topic_reward_stake_importance,json=topicRewardStakeImportance,proto3,customtype=github.com/allora-network/allora-chain/math.Dec" json:"topic_reward_stake_importance"` + // topic and has a fiducial value of 0.5 + TopicRewardFeeRevenueImportance github_com_allora_network_allora_chain_math.Dec `protobuf:"bytes,16,opt,name=topic_reward_fee_revenue_importance,json=topicRewardFeeRevenueImportance,proto3,customtype=github.com/allora-network/allora-chain/math.Dec" json:"topic_reward_fee_revenue_importance"` + // a topic and has a fiducial value of 0.5 + TopicRewardAlpha github_com_allora_network_allora_chain_math.Dec `protobuf:"bytes,17,opt,name=topic_reward_alpha,json=topicRewardAlpha,proto3,customtype=github.com/allora-network/allora-chain/math.Dec" json:"topic_reward_alpha"` + // a monthly timescale, 0.5 for weekly updates + TaskRewardAlpha github_com_allora_network_allora_chain_math.Dec `protobuf:"bytes,18,opt,name=task_reward_alpha,json=taskRewardAlpha,proto3,customtype=github.com/allora-network/allora-chain/math.Dec" json:"task_reward_alpha"` + // to calculate ~U_ij, ~V_ik, ~W_im + ValidatorsVsAlloraPercentReward github_com_allora_network_allora_chain_math.Dec `protobuf:"bytes,19,opt,name=validators_vs_allora_percent_reward,json=validatorsVsAlloraPercentReward,proto3,customtype=github.com/allora-network/allora-chain/math.Dec" json:"validators_vs_allora_percent_reward"` + // to allora reputers workers etc + MaxSamplesToScaleScores uint64 `protobuf:"varint,20,opt,name=max_samples_to_scale_scores,json=maxSamplesToScaleScores,proto3" json:"max_samples_to_scale_scores,omitempty"` + MaxTopInferersToReward uint64 `protobuf:"varint,21,opt,name=max_top_inferers_to_reward,json=maxTopInferersToReward,proto3" json:"max_top_inferers_to_reward,omitempty"` + MaxTopForecastersToReward uint64 `protobuf:"varint,22,opt,name=max_top_forecasters_to_reward,json=maxTopForecastersToReward,proto3" json:"max_top_forecasters_to_reward,omitempty"` + MaxTopReputersToReward uint64 `protobuf:"varint,23,opt,name=max_top_reputers_to_reward,json=maxTopReputersToReward,proto3" json:"max_top_reputers_to_reward,omitempty"` + CreateTopicFee cosmossdk_io_math.Int `protobuf:"bytes,24,opt,name=create_topic_fee,json=createTopicFee,proto3,customtype=cosmossdk.io/math.Int" json:"create_topic_fee"` + GradientDescentMaxIters uint64 `protobuf:"varint,25,opt,name=gradient_descent_max_iters,json=gradientDescentMaxIters,proto3" json:"gradient_descent_max_iters,omitempty"` + RegistrationFee cosmossdk_io_math.Int `protobuf:"bytes,28,opt,name=registration_fee,json=registrationFee,proto3,customtype=cosmossdk.io/math.Int" json:"registration_fee"` + DefaultPageLimit uint64 `protobuf:"varint,29,opt,name=default_page_limit,json=defaultPageLimit,proto3" json:"default_page_limit,omitempty"` + MaxPageLimit uint64 `protobuf:"varint,30,opt,name=max_page_limit,json=maxPageLimit,proto3" json:"max_page_limit,omitempty"` + // min number of epochs to keep network losses, reputer losses, inferences, + // forecasts + MinEpochLengthRecordLimit int64 `protobuf:"varint,31,opt,name=min_epoch_length_record_limit,json=minEpochLengthRecordLimit,proto3" json:"min_epoch_length_record_limit,omitempty"` + // block emission rate in number of blocks expected per month + BlocksPerMonth uint64 `protobuf:"varint,32,opt,name=blocks_per_month,json=blocksPerMonth,proto3" json:"blocks_per_month,omitempty"` + PRewardInference github_com_allora_network_allora_chain_math.Dec `protobuf:"bytes,33,opt,name=p_reward_inference,json=pRewardInference,proto3,customtype=github.com/allora-network/allora-chain/math.Dec" json:"p_reward_inference"` + PRewardForecast github_com_allora_network_allora_chain_math.Dec `protobuf:"bytes,34,opt,name=p_reward_forecast,json=pRewardForecast,proto3,customtype=github.com/allora-network/allora-chain/math.Dec" json:"p_reward_forecast"` + PRewardReputer github_com_allora_network_allora_chain_math.Dec `protobuf:"bytes,35,opt,name=p_reward_reputer,json=pRewardReputer,proto3,customtype=github.com/allora-network/allora-chain/math.Dec" json:"p_reward_reputer"` + CRewardInference github_com_allora_network_allora_chain_math.Dec `protobuf:"bytes,36,opt,name=c_reward_inference,json=cRewardInference,proto3,customtype=github.com/allora-network/allora-chain/math.Dec" json:"c_reward_inference"` + CRewardForecast github_com_allora_network_allora_chain_math.Dec `protobuf:"bytes,37,opt,name=c_reward_forecast,json=cRewardForecast,proto3,customtype=github.com/allora-network/allora-chain/math.Dec" json:"c_reward_forecast"` + CNorm github_com_allora_network_allora_chain_math.Dec `protobuf:"bytes,38,opt,name=c_norm,json=cNorm,proto3,customtype=github.com/allora-network/allora-chain/math.Dec" json:"c_norm"` + EpsilonReputer github_com_allora_network_allora_chain_math.Dec `protobuf:"bytes,40,opt,name=epsilon_reputer,json=epsilonReputer,proto3,customtype=github.com/allora-network/allora-chain/math.Dec" json:"epsilon_reputer"` + // close proximities + HalfMaxProcessStakeRemovalsEndBlock uint64 `protobuf:"varint,42,opt,name=half_max_process_stake_removals_end_block,json=halfMaxProcessStakeRemovalsEndBlock,proto3" json:"half_max_process_stake_removals_end_block,omitempty"` + // Applied twice once for stakeRemovals and once for + // DelegateStakeRemovals, so actual max is this number times two + EpsilonSafeDiv github_com_allora_network_allora_chain_math.Dec `protobuf:"bytes,43,opt,name=epsilon_safe_div,json=epsilonSafeDiv,proto3,customtype=github.com/allora-network/allora-chain/math.Dec" json:"epsilon_safe_div"` + /// a small tolerance quantity used to cap division by zero + DataSendingFee cosmossdk_io_math.Int `protobuf:"bytes,44,opt,name=data_sending_fee,json=dataSendingFee,proto3,customtype=cosmossdk.io/math.Int" json:"data_sending_fee"` + // payload sending fee for reputer or worker + MaxElementsPerForecast uint64 `protobuf:"varint,45,opt,name=max_elements_per_forecast,json=maxElementsPerForecast,proto3" json:"max_elements_per_forecast,omitempty"` + MaxActiveTopicsPerBlock uint64 `protobuf:"varint,46,opt,name=max_active_topics_per_block,json=maxActiveTopicsPerBlock,proto3" json:"max_active_topics_per_block,omitempty"` + MaxStringLength uint64 `protobuf:"varint,47,opt,name=max_string_length,json=maxStringLength,proto3" json:"max_string_length,omitempty"` + InitialRegretQuantile github_com_allora_network_allora_chain_math.Dec `protobuf:"bytes,48,opt,name=initial_regret_quantile,json=initialRegretQuantile,proto3,customtype=github.com/allora-network/allora-chain/math.Dec" json:"initial_regret_quantile"` + PNormSafeDiv github_com_allora_network_allora_chain_math.Dec `protobuf:"bytes,49,opt,name=p_norm_safe_div,json=pNormSafeDiv,proto3,customtype=github.com/allora-network/allora-chain/math.Dec" json:"p_norm_safe_div"` + GlobalWhitelistEnabled bool `protobuf:"varint,50,opt,name=global_whitelist_enabled,json=globalWhitelistEnabled,proto3" json:"global_whitelist_enabled,omitempty"` + // and participate in all topics as workers and reputers + TopicCreatorWhitelistEnabled bool `protobuf:"varint,51,opt,name=topic_creator_whitelist_enabled,json=topicCreatorWhitelistEnabled,proto3" json:"topic_creator_whitelist_enabled,omitempty"` + MinExperiencedWorkerRegrets uint64 `protobuf:"varint,52,opt,name=min_experienced_worker_regrets,json=minExperiencedWorkerRegrets,proto3" json:"min_experienced_worker_regrets,omitempty"` + // for calculating the topic initial regret + InferenceOutlierDetectionThreshold github_com_allora_network_allora_chain_math.Dec `protobuf:"bytes,53,opt,name=inference_outlier_detection_threshold,json=inferenceOutlierDetectionThreshold,proto3,customtype=github.com/allora-network/allora-chain/math.Dec" json:"inference_outlier_detection_threshold"` + InferenceOutlierDetectionAlpha github_com_allora_network_allora_chain_math.Dec `protobuf:"bytes,54,opt,name=inference_outlier_detection_alpha,json=inferenceOutlierDetectionAlpha,proto3,customtype=github.com/allora-network/allora-chain/math.Dec" json:"inference_outlier_detection_alpha"` + LambdaInitialScore github_com_allora_network_allora_chain_math.Dec `protobuf:"bytes,55,opt,name=lambda_initial_score,json=lambdaInitialScore,proto3,customtype=github.com/allora-network/allora-chain/math.Dec" json:"lambda_initial_score"` + GlobalWorkerWhitelistEnabled bool `protobuf:"varint,56,opt,name=global_worker_whitelist_enabled,json=globalWorkerWhitelistEnabled,proto3" json:"global_worker_whitelist_enabled,omitempty"` + GlobalReputerWhitelistEnabled bool `protobuf:"varint,57,opt,name=global_reputer_whitelist_enabled,json=globalReputerWhitelistEnabled,proto3" json:"global_reputer_whitelist_enabled,omitempty"` + GlobalAdminWhitelistAppended bool `protobuf:"varint,58,opt,name=global_admin_whitelist_appended,json=globalAdminWhitelistAppended,proto3" json:"global_admin_whitelist_appended,omitempty"` + MaxWhitelistInputArrayLength uint64 `protobuf:"varint,59,opt,name=max_whitelist_input_array_length,json=maxWhitelistInputArrayLength,proto3" json:"max_whitelist_input_array_length,omitempty"` + MinWeightThresholdForStdnorm github_com_allora_network_allora_chain_math.Dec `protobuf:"bytes,60,opt,name=min_weight_threshold_for_stdnorm,json=minWeightThresholdForStdnorm,proto3,customtype=github.com/allora-network/allora-chain/math.Dec" json:"min_weight_threshold_for_stdnorm"` +} + +func (m *Params) Reset() { *m = Params{} } +func (m *Params) String() string { return proto.CompactTextString(m) } +func (*Params) ProtoMessage() {} +func (*Params) Descriptor() ([]byte, []int) { + return fileDescriptor_8c07ddd983414a3f, []int{0} +} +func (m *Params) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *Params) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_Params.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *Params) XXX_Merge(src proto.Message) { + xxx_messageInfo_Params.Merge(m, src) +} +func (m *Params) XXX_Size() int { + return m.Size() +} +func (m *Params) XXX_DiscardUnknown() { + xxx_messageInfo_Params.DiscardUnknown(m) +} + +var xxx_messageInfo_Params proto.InternalMessageInfo + +func (m *Params) GetVersion() string { + if m != nil { + return m.Version + } + return "" +} + +func (m *Params) GetMaxSerializedMsgLength() int64 { + if m != nil { + return m.MaxSerializedMsgLength + } + return 0 +} + +func (m *Params) GetRemoveStakeDelayWindow() int64 { + if m != nil { + return m.RemoveStakeDelayWindow + } + return 0 +} + +func (m *Params) GetMinEpochLength() int64 { + if m != nil { + return m.MinEpochLength + } + return 0 +} + +func (m *Params) GetMaxUnfulfilledWorkerRequests() uint64 { + if m != nil { + return m.MaxUnfulfilledWorkerRequests + } + return 0 +} + +func (m *Params) GetMaxUnfulfilledReputerRequests() uint64 { + if m != nil { + return m.MaxUnfulfilledReputerRequests + } + return 0 +} + +func (m *Params) GetMaxSamplesToScaleScores() uint64 { + if m != nil { + return m.MaxSamplesToScaleScores + } + return 0 +} + +func (m *Params) GetMaxTopInferersToReward() uint64 { + if m != nil { + return m.MaxTopInferersToReward + } + return 0 +} + +func (m *Params) GetMaxTopForecastersToReward() uint64 { + if m != nil { + return m.MaxTopForecastersToReward + } + return 0 +} + +func (m *Params) GetMaxTopReputersToReward() uint64 { + if m != nil { + return m.MaxTopReputersToReward + } + return 0 +} + +func (m *Params) GetGradientDescentMaxIters() uint64 { + if m != nil { + return m.GradientDescentMaxIters + } + return 0 +} + +func (m *Params) GetDefaultPageLimit() uint64 { + if m != nil { + return m.DefaultPageLimit + } + return 0 +} + +func (m *Params) GetMaxPageLimit() uint64 { + if m != nil { + return m.MaxPageLimit + } + return 0 +} + +func (m *Params) GetMinEpochLengthRecordLimit() int64 { + if m != nil { + return m.MinEpochLengthRecordLimit + } + return 0 +} + +func (m *Params) GetBlocksPerMonth() uint64 { + if m != nil { + return m.BlocksPerMonth + } + return 0 +} + +func (m *Params) GetHalfMaxProcessStakeRemovalsEndBlock() uint64 { + if m != nil { + return m.HalfMaxProcessStakeRemovalsEndBlock + } + return 0 +} + +func (m *Params) GetMaxElementsPerForecast() uint64 { + if m != nil { + return m.MaxElementsPerForecast + } + return 0 +} + +func (m *Params) GetMaxActiveTopicsPerBlock() uint64 { + if m != nil { + return m.MaxActiveTopicsPerBlock + } + return 0 +} + +func (m *Params) GetMaxStringLength() uint64 { + if m != nil { + return m.MaxStringLength + } + return 0 +} + +func (m *Params) GetGlobalWhitelistEnabled() bool { + if m != nil { + return m.GlobalWhitelistEnabled + } + return false +} + +func (m *Params) GetTopicCreatorWhitelistEnabled() bool { + if m != nil { + return m.TopicCreatorWhitelistEnabled + } + return false +} + +func (m *Params) GetMinExperiencedWorkerRegrets() uint64 { + if m != nil { + return m.MinExperiencedWorkerRegrets + } + return 0 +} + +func (m *Params) GetGlobalWorkerWhitelistEnabled() bool { + if m != nil { + return m.GlobalWorkerWhitelistEnabled + } + return false +} + +func (m *Params) GetGlobalReputerWhitelistEnabled() bool { + if m != nil { + return m.GlobalReputerWhitelistEnabled + } + return false +} + +func (m *Params) GetGlobalAdminWhitelistAppended() bool { + if m != nil { + return m.GlobalAdminWhitelistAppended + } + return false +} + +func (m *Params) GetMaxWhitelistInputArrayLength() uint64 { + if m != nil { + return m.MaxWhitelistInputArrayLength + } + return 0 +} + +func init() { + proto.RegisterType((*Params)(nil), "emissions.v7.Params") +} + +func init() { proto.RegisterFile("emissions/v7/params.proto", fileDescriptor_8c07ddd983414a3f) } + +var fileDescriptor_8c07ddd983414a3f = []byte{ + // 1685 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x58, 0x4f, 0x6f, 0x1b, 0xc7, + 0x15, 0x37, 0x1b, 0xd9, 0x51, 0x26, 0x8e, 0x44, 0x6f, 0x65, 0x7b, 0x25, 0x4b, 0x14, 0x63, 0xd9, + 0x2d, 0xa3, 0xc6, 0x62, 0xda, 0xb4, 0x55, 0xfe, 0x01, 0xad, 0x14, 0x49, 0x01, 0x05, 0xcb, 0x55, + 0x57, 0x6a, 0x04, 0xb8, 0x45, 0xa7, 0xa3, 0xdd, 0x47, 0x72, 0xa0, 0xdd, 0x99, 0xcd, 0xcc, 0x90, + 0xa2, 0x72, 0x29, 0x50, 0xa0, 0x97, 0x9e, 0xfa, 0x31, 0x7a, 0xec, 0x21, 0x1f, 0x22, 0xc7, 0xa0, + 0xa7, 0xa2, 0x87, 0xa0, 0xb0, 0x0f, 0xfd, 0x1a, 0xc5, 0x9b, 0x99, 0x5d, 0x92, 0x96, 0x6a, 0x14, + 0xde, 0x5c, 0x04, 0x71, 0xe7, 0xf7, 0x7e, 0xef, 0xed, 0x9b, 0xdf, 0xbc, 0xf7, 0x66, 0xc9, 0x22, + 0x64, 0x5c, 0x6b, 0x2e, 0x85, 0x6e, 0x0f, 0x37, 0xdb, 0x39, 0x53, 0x2c, 0xd3, 0x1b, 0xb9, 0x92, + 0x46, 0x06, 0x37, 0xcb, 0xa5, 0x8d, 0xe1, 0xe6, 0xd2, 0x2d, 0x96, 0x71, 0x21, 0xdb, 0xf6, 0xaf, + 0x03, 0x2c, 0x2d, 0xc6, 0x52, 0x67, 0x52, 0x53, 0xfb, 0xab, 0xed, 0x7e, 0xf8, 0xa5, 0x85, 0x9e, + 0xec, 0x49, 0xf7, 0x1c, 0xff, 0x73, 0x4f, 0xef, 0x7f, 0xf5, 0x90, 0xdc, 0x38, 0xb4, 0x2e, 0x82, + 0x90, 0xbc, 0x3e, 0x04, 0x85, 0xec, 0x61, 0xad, 0x59, 0x6b, 0xbd, 0x11, 0x15, 0x3f, 0x83, 0x0f, + 0xc9, 0x62, 0xc6, 0x46, 0x54, 0x83, 0xe2, 0x2c, 0xe5, 0x5f, 0x42, 0x42, 0x33, 0xdd, 0xa3, 0x29, + 0x88, 0x9e, 0xe9, 0x87, 0xdf, 0x6b, 0xd6, 0x5a, 0xaf, 0x45, 0x77, 0x32, 0x36, 0x3a, 0x2a, 0xd7, + 0x0f, 0x74, 0xef, 0xb1, 0x5d, 0x0d, 0x18, 0xa9, 0x67, 0x5c, 0x50, 0x23, 0x73, 0x1e, 0xd3, 0x73, + 0xe0, 0xbd, 0xbe, 0x09, 0x5f, 0x43, 0xf6, 0xed, 0xcd, 0xaf, 0xbf, 0x5d, 0xbd, 0xf6, 0xaf, 0x6f, + 0x57, 0xdb, 0x3d, 0x6e, 0xfa, 0x83, 0xd3, 0x8d, 0x58, 0x66, 0x6d, 0x96, 0xa6, 0x52, 0xb1, 0x47, + 0x02, 0xcc, 0xb9, 0x54, 0x67, 0xc5, 0xcf, 0xb8, 0xcf, 0xb8, 0x68, 0x67, 0xcc, 0xf4, 0x37, 0x76, + 0x20, 0x8e, 0xe6, 0x32, 0x2e, 0x8e, 0x91, 0xef, 0xc4, 0xd2, 0x05, 0x5d, 0x72, 0x47, 0xc1, 0x17, + 0x03, 0xae, 0x30, 0x2e, 0x2e, 0x78, 0x36, 0xc8, 0xa8, 0x36, 0xec, 0x0c, 0xc2, 0xeb, 0xd6, 0xd1, + 0x7b, 0xde, 0xd1, 0x6d, 0x97, 0x0e, 0x9d, 0x9c, 0x6d, 0x70, 0xe9, 0xe8, 0x3a, 0xc2, 0xfc, 0xe3, + 0xab, 0x47, 0xc4, 0xe7, 0xa9, 0x23, 0xcc, 0xdf, 0xfe, 0xf3, 0xf7, 0xf5, 0x5a, 0xb4, 0x50, 0xf0, + 0x1d, 0x38, 0xba, 0x23, 0x64, 0xc3, 0x2c, 0x28, 0xc8, 0xe4, 0x10, 0x1c, 0x3b, 0x4d, 0x20, 0x65, + 0x17, 0xf4, 0x9c, 0x8b, 0x44, 0x9e, 0x87, 0x37, 0x5c, 0x16, 0x1c, 0xc0, 0xe2, 0x77, 0x70, 0xf9, + 0xc4, 0xae, 0x06, 0x2d, 0x97, 0x05, 0xc8, 0x65, 0xdc, 0x2f, 0xf2, 0xf6, 0xba, 0xb5, 0xc0, 0x97, + 0xd9, 0xc5, 0xc7, 0x3e, 0x5f, 0x4f, 0xc9, 0xcd, 0x53, 0x30, 0x8c, 0x82, 0x30, 0x4a, 0xe6, 0x17, + 0xe1, 0x6c, 0xb5, 0x5c, 0xbd, 0x89, 0x64, 0xbb, 0x8e, 0x2b, 0xf8, 0x1d, 0x79, 0x2b, 0x05, 0xa6, + 0x04, 0x17, 0x3d, 0xaa, 0x98, 0x81, 0xf0, 0x8d, 0x6a, 0xe4, 0x37, 0x0b, 0xb6, 0x88, 0x19, 0x08, + 0x32, 0x82, 0x1a, 0xa0, 0x3d, 0xc5, 0x12, 0x0e, 0xc2, 0x50, 0xd3, 0x57, 0xa0, 0xfb, 0x32, 0x4d, + 0x42, 0x52, 0xcd, 0xcd, 0x42, 0xc6, 0x46, 0x9f, 0x79, 0xd6, 0xe3, 0x82, 0x34, 0x00, 0x12, 0x60, + 0x4a, 0xdd, 0x56, 0x74, 0x15, 0x8b, 0x0d, 0x0a, 0xf7, 0xcd, 0x6a, 0xae, 0x70, 0x97, 0xec, 0xe6, + 0xed, 0x79, 0xc2, 0x60, 0x97, 0xac, 0xe2, 0x5b, 0x0d, 0x44, 0x77, 0x90, 0x76, 0x79, 0x9a, 0x42, + 0x42, 0xd1, 0x1e, 0x14, 0x45, 0x8d, 0x80, 0x36, 0x3a, 0x7c, 0xab, 0x59, 0x6b, 0xcd, 0x44, 0xcb, + 0x19, 0x1b, 0xfd, 0x66, 0x8c, 0x3a, 0xb1, 0xa0, 0xc8, 0x63, 0x82, 0xcf, 0x48, 0xf3, 0x45, 0x1a, + 0x05, 0xf9, 0xc0, 0x4c, 0xf2, 0xcc, 0x59, 0x9e, 0x95, 0x69, 0x9e, 0xc8, 0xa1, 0x4a, 0xa2, 0x2f, + 0xc9, 0x8a, 0x3b, 0x4b, 0x0a, 0xce, 0x99, 0x4a, 0xfc, 0xfb, 0xf3, 0x2c, 0x97, 0xca, 0x30, 0x11, + 0x43, 0x38, 0x5f, 0x2d, 0x03, 0x4b, 0x96, 0x3d, 0xb2, 0xe4, 0x36, 0x13, 0x9d, 0x92, 0x3a, 0xf8, + 0x73, 0x8d, 0xac, 0x4d, 0x39, 0xef, 0x02, 0x50, 0x05, 0x43, 0x10, 0x83, 0xa9, 0x10, 0xea, 0xd5, + 0x42, 0x58, 0x9d, 0x08, 0x61, 0x0f, 0x20, 0x72, 0x0e, 0x26, 0xe2, 0x00, 0x12, 0x4c, 0x85, 0xc1, + 0xd2, 0xbc, 0xcf, 0xc2, 0x5b, 0x15, 0xb7, 0x7e, 0xc2, 0xeb, 0x16, 0x12, 0x06, 0x31, 0xb9, 0x65, + 0x98, 0x3e, 0x9b, 0xf6, 0x12, 0x54, 0xf3, 0x32, 0x8f, 0x8c, 0x93, 0x4e, 0x30, 0xa7, 0x43, 0x96, + 0xf2, 0x84, 0x19, 0xa9, 0x34, 0x1d, 0x6a, 0xea, 0x0c, 0x69, 0x0e, 0x2a, 0xc6, 0x63, 0xe4, 0xbc, + 0x87, 0xdf, 0xaf, 0x98, 0xd3, 0xb1, 0x8f, 0xcf, 0xf5, 0x96, 0x85, 0x1c, 0x3a, 0x07, 0x2e, 0x98, + 0xe0, 0x13, 0x72, 0xcf, 0x96, 0x78, 0x96, 0xe5, 0x29, 0x68, 0x6a, 0x24, 0xd5, 0x31, 0x4b, 0x81, + 0xea, 0x58, 0x2a, 0xd0, 0xe1, 0x82, 0xd5, 0xe6, 0x5d, 0x2c, 0xf2, 0x0e, 0x71, 0x2c, 0x8f, 0x70, + 0xfd, 0xc8, 0x2e, 0x07, 0x1f, 0x91, 0x25, 0xb4, 0x36, 0x32, 0xa7, 0x5c, 0x74, 0x41, 0x81, 0xb2, + 0x14, 0x3e, 0xf6, 0xdb, 0xd6, 0x18, 0xab, 0xc3, 0xb1, 0xcc, 0x3b, 0x7e, 0xfd, 0x58, 0x7a, 0xcf, + 0xbf, 0x24, 0x2b, 0x85, 0x6d, 0x57, 0x2a, 0x88, 0x99, 0x36, 0xd3, 0xe6, 0x77, 0xac, 0xf9, 0xa2, + 0x33, 0xdf, 0x1b, 0x43, 0x4a, 0x86, 0x09, 0xef, 0xfe, 0x50, 0x4d, 0x9a, 0xdf, 0x9d, 0xf4, 0xee, + 0x8f, 0xd3, 0xd8, 0xf6, 0x29, 0xa9, 0xc7, 0x0a, 0x98, 0x01, 0xdf, 0xa2, 0xba, 0x00, 0x61, 0xf8, + 0x8a, 0x6d, 0x63, 0xce, 0x31, 0xd9, 0xde, 0xb4, 0x07, 0x10, 0x7c, 0x4c, 0x96, 0xca, 0x6a, 0x98, + 0x80, 0xb6, 0xdb, 0x89, 0x81, 0x72, 0x8c, 0x20, 0x5c, 0x74, 0x29, 0x2d, 0x10, 0x3b, 0x0e, 0x70, + 0xc0, 0x46, 0x1d, 0x5c, 0x0e, 0x7e, 0x4b, 0xea, 0x0a, 0x7a, 0x5c, 0x1b, 0xc5, 0xb0, 0x10, 0xd9, + 0xc0, 0x96, 0x5f, 0x31, 0xb0, 0xf9, 0x49, 0x26, 0x8c, 0xec, 0x5d, 0x12, 0x24, 0xd0, 0x65, 0x83, + 0xd4, 0xd0, 0x9c, 0xf5, 0x80, 0xa6, 0x3c, 0xe3, 0x26, 0x5c, 0xb1, 0x11, 0xd5, 0xfd, 0xca, 0x21, + 0xeb, 0xc1, 0x63, 0x7c, 0x1e, 0x3c, 0x20, 0x73, 0x18, 0xf6, 0x04, 0xb2, 0x61, 0x91, 0x37, 0x33, + 0x36, 0x1a, 0xa3, 0x70, 0x1f, 0x5f, 0xe8, 0x71, 0x54, 0x41, 0x2c, 0x55, 0xe2, 0x8d, 0x56, 0x6d, + 0xc3, 0x5b, 0x9c, 0x6e, 0x78, 0x91, 0x45, 0x38, 0x86, 0x16, 0xa9, 0x9f, 0xa6, 0x32, 0x3e, 0xd3, + 0x28, 0x7e, 0x9a, 0x49, 0x61, 0xfa, 0x61, 0xd3, 0x7a, 0x9a, 0x73, 0xcf, 0x0f, 0x41, 0x1d, 0xe0, + 0x53, 0xac, 0x00, 0x79, 0x71, 0x2e, 0x9d, 0xe0, 0xb0, 0xee, 0xbc, 0x5d, 0xb1, 0x02, 0xe4, 0x4e, + 0x13, 0x9d, 0x82, 0x10, 0x2b, 0x40, 0xe9, 0xa6, 0xd0, 0x66, 0x78, 0xbf, 0x62, 0x05, 0xf0, 0x5e, + 0x0a, 0x21, 0xe3, 0x84, 0x54, 0x3a, 0xf1, 0xf2, 0x0d, 0xd7, 0x2a, 0x4e, 0x48, 0xde, 0x87, 0x57, + 0x3b, 0xa6, 0x2b, 0xbe, 0x9c, 0xae, 0x07, 0x15, 0xd3, 0x15, 0x5f, 0x91, 0xae, 0xf8, 0x52, 0xba, + 0x1e, 0x56, 0x4c, 0x57, 0xfc, 0x42, 0xba, 0x9e, 0x90, 0x1b, 0x31, 0x15, 0x52, 0x65, 0xe1, 0x0f, + 0xaa, 0x31, 0x5f, 0x8f, 0x9f, 0x48, 0x95, 0x05, 0x7f, 0x20, 0xf3, 0x90, 0x6b, 0x9e, 0x4a, 0x51, + 0x66, 0xbf, 0x55, 0x31, 0xfb, 0x9e, 0xaf, 0xc8, 0xfe, 0xe7, 0xe4, 0x9d, 0x3e, 0x4b, 0xbb, 0xf6, + 0xe8, 0xe7, 0x4a, 0xc6, 0xa0, 0xb5, 0x6f, 0xdb, 0x76, 0x5a, 0x64, 0xa9, 0xa6, 0x20, 0x12, 0x6a, + 0x25, 0x1e, 0xae, 0x5b, 0xbd, 0xaf, 0xa1, 0xc1, 0x01, 0x1b, 0x1d, 0x3a, 0xb8, 0x6d, 0xc4, 0x91, + 0x07, 0xef, 0x8a, 0x64, 0x1b, 0xa1, 0x28, 0x9c, 0x22, 0x72, 0xcd, 0xba, 0x40, 0x13, 0x3e, 0x0c, + 0x7f, 0xf4, 0xdd, 0x84, 0x7e, 0xc4, 0xba, 0xb0, 0xc3, 0x87, 0x58, 0x1d, 0x13, 0x66, 0x18, 0xd5, + 0x20, 0x12, 0x9c, 0x1a, 0xb1, 0x08, 0xbd, 0xfb, 0xaa, 0xd5, 0x11, 0x99, 0x8e, 0x1c, 0x11, 0xd6, + 0x20, 0x7f, 0xa9, 0x80, 0x14, 0x32, 0x10, 0xc6, 0x9d, 0xf9, 0x52, 0x35, 0x8f, 0xca, 0xa2, 0xbd, + 0xeb, 0xd7, 0x0f, 0x41, 0x95, 0x1a, 0xf0, 0xcd, 0x0a, 0x47, 0xb4, 0xa1, 0x2f, 0xdc, 0xce, 0xde, + 0xe5, 0x70, 0xa3, 0x6c, 0x56, 0x5b, 0x16, 0x61, 0x0b, 0x32, 0x12, 0xb8, 0xbc, 0xad, 0x93, 0x5b, + 0xb6, 0xd5, 0x19, 0x85, 0xaf, 0xe4, 0xa7, 0xf1, 0xb6, 0xb5, 0x99, 0xc7, 0x06, 0x67, 0x9f, 0xfb, + 0x71, 0x5c, 0x92, 0xbb, 0x5c, 0x70, 0xc3, 0x59, 0x4a, 0x15, 0xf4, 0x14, 0x18, 0xfa, 0xc5, 0x80, + 0x09, 0xc3, 0x53, 0x08, 0xdf, 0xab, 0x96, 0xea, 0xdb, 0x9e, 0x37, 0xb2, 0xb4, 0xbf, 0xf6, 0xac, + 0xc1, 0xef, 0xc9, 0x7c, 0x6e, 0xe5, 0x3d, 0xde, 0xd3, 0x1f, 0x57, 0x9c, 0xd2, 0x73, 0xd4, 0x79, + 0xb1, 0xa3, 0xbf, 0x20, 0x61, 0x2f, 0x95, 0xa7, 0x2c, 0xa5, 0xe7, 0x7d, 0x6e, 0x20, 0xe5, 0xda, + 0x50, 0x10, 0xec, 0x34, 0x85, 0x24, 0xfc, 0x49, 0xb3, 0xd6, 0x9a, 0xdd, 0xbe, 0xee, 0xb6, 0xeb, + 0x8e, 0x83, 0x9d, 0x14, 0xa8, 0x5d, 0x07, 0x0a, 0x1e, 0x13, 0x37, 0x9f, 0x51, 0xdb, 0xec, 0xa4, + 0xba, 0x82, 0xe7, 0xfd, 0x49, 0x9e, 0x65, 0x8b, 0xfe, 0xd4, 0x81, 0x2f, 0xb1, 0x7d, 0x4a, 0x1a, + 0xb6, 0x69, 0x8c, 0x72, 0x50, 0x1c, 0x8b, 0xc8, 0xc4, 0x78, 0x8d, 0x79, 0xd1, 0xe1, 0x4f, 0xed, + 0xc6, 0xdc, 0xc3, 0xae, 0x31, 0x06, 0x15, 0xd3, 0xb5, 0x85, 0x04, 0x7f, 0xa9, 0x91, 0x87, 0x65, + 0x59, 0xa3, 0x72, 0x60, 0x52, 0x0e, 0x8a, 0x26, 0x60, 0xc0, 0xce, 0xf0, 0x13, 0x37, 0x91, 0x9f, + 0x55, 0x4b, 0xe5, 0xfd, 0xd2, 0xcb, 0xaf, 0x9c, 0x93, 0x9d, 0xc2, 0xc7, 0xf8, 0x5e, 0xf2, 0xa7, + 0x1a, 0x79, 0xfb, 0x65, 0xc1, 0xb8, 0x31, 0xf2, 0xe7, 0xd5, 0x02, 0x69, 0xfc, 0xcf, 0x40, 0xdc, + 0x54, 0xc9, 0xc9, 0x42, 0xca, 0xb2, 0xd3, 0x84, 0xd1, 0x42, 0xbd, 0x76, 0x8e, 0x0b, 0x37, 0xab, + 0xb9, 0x0d, 0x1c, 0x69, 0xc7, 0x71, 0xda, 0xd9, 0x0f, 0xf5, 0x50, 0x08, 0xca, 0x6d, 0xdc, 0x65, + 0x3d, 0x7c, 0x30, 0xa5, 0x07, 0xaf, 0x2b, 0x0b, 0xbe, 0xa4, 0x87, 0x27, 0xa4, 0xe9, 0xd9, 0x8a, + 0xeb, 0xd1, 0x65, 0xba, 0x0f, 0x27, 0xe9, 0x56, 0x1c, 0xdc, 0xd7, 0xda, 0xab, 0xd4, 0xea, 0xf9, + 0x58, 0x82, 0x42, 0x1b, 0xb3, 0xb1, 0x3c, 0x07, 0x91, 0x40, 0x12, 0x7e, 0x74, 0x45, 0x74, 0x5b, + 0x08, 0x2e, 0xc9, 0xb6, 0x3c, 0x34, 0x38, 0x70, 0xb7, 0xb8, 0x31, 0x09, 0x17, 0xf9, 0xc0, 0x50, + 0xa6, 0x14, 0xbb, 0x28, 0x0a, 0xc9, 0xc7, 0xa8, 0xd7, 0x92, 0x2e, 0x63, 0xa3, 0x92, 0xa6, 0x83, + 0xe0, 0x2d, 0xc4, 0xfa, 0xe2, 0xf2, 0x47, 0xd2, 0xb4, 0x31, 0xd9, 0xcf, 0x18, 0x63, 0x95, 0x62, + 0x15, 0xa4, 0xda, 0x24, 0xb6, 0xc9, 0x7d, 0x52, 0x6d, 0xc7, 0x96, 0xf1, 0x3d, 0x2c, 0x7f, 0xa9, + 0xd0, 0x3d, 0xa9, 0x8e, 0x1c, 0xf9, 0xfe, 0xcc, 0xec, 0x4c, 0xfd, 0xfa, 0xfe, 0xcc, 0xec, 0x52, + 0xfd, 0xde, 0xfe, 0xcc, 0xec, 0xbd, 0xfa, 0xf2, 0xfe, 0xcc, 0xec, 0x0f, 0xeb, 0xad, 0xfd, 0x99, + 0xd9, 0x77, 0xea, 0xeb, 0xf6, 0xde, 0x7d, 0xa9, 0xb8, 0xda, 0x93, 0x48, 0xa1, 0xdb, 0x85, 0x89, + 0xe2, 0x5b, 0x5c, 0x02, 0xa3, 0x35, 0x34, 0x51, 0x60, 0x14, 0x77, 0x77, 0x08, 0x77, 0x8d, 0xa5, + 0x42, 0x8a, 0x18, 0xb4, 0x17, 0x88, 0xaf, 0x08, 0x53, 0x97, 0xc7, 0x04, 0x62, 0x76, 0x61, 0xbf, + 0x49, 0x44, 0x0f, 0x5e, 0x4a, 0xe1, 0x55, 0xb1, 0x1d, 0x7d, 0xfd, 0xac, 0x51, 0xfb, 0xe6, 0x59, + 0xa3, 0xf6, 0xef, 0x67, 0x8d, 0xda, 0x5f, 0x9f, 0x37, 0xae, 0x7d, 0xf3, 0xbc, 0x71, 0xed, 0x9f, + 0xcf, 0x1b, 0xd7, 0x9e, 0x7e, 0xf0, 0x7f, 0xa6, 0x68, 0xd4, 0x1e, 0x7f, 0x66, 0x33, 0x17, 0x39, + 0xe8, 0xd3, 0x1b, 0xf6, 0x8b, 0xd8, 0xfb, 0xff, 0x0d, 0x00, 0x00, 0xff, 0xff, 0xa9, 0xc3, 0xd3, + 0xb7, 0x80, 0x13, 0x00, 0x00, +} + +func (m *Params) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *Params) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *Params) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + { + size := m.MinWeightThresholdForStdnorm.Size() + i -= size + if _, err := m.MinWeightThresholdForStdnorm.MarshalTo(dAtA[i:]); err != nil { + return 0, err + } + i = encodeVarintParams(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x3 + i-- + dAtA[i] = 0xe2 + if m.MaxWhitelistInputArrayLength != 0 { + i = encodeVarintParams(dAtA, i, uint64(m.MaxWhitelistInputArrayLength)) + i-- + dAtA[i] = 0x3 + i-- + dAtA[i] = 0xd8 + } + if m.GlobalAdminWhitelistAppended { + i-- + if m.GlobalAdminWhitelistAppended { + dAtA[i] = 1 + } else { + dAtA[i] = 0 + } + i-- + dAtA[i] = 0x3 + i-- + dAtA[i] = 0xd0 + } + if m.GlobalReputerWhitelistEnabled { + i-- + if m.GlobalReputerWhitelistEnabled { + dAtA[i] = 1 + } else { + dAtA[i] = 0 + } + i-- + dAtA[i] = 0x3 + i-- + dAtA[i] = 0xc8 + } + if m.GlobalWorkerWhitelistEnabled { + i-- + if m.GlobalWorkerWhitelistEnabled { + dAtA[i] = 1 + } else { + dAtA[i] = 0 + } + i-- + dAtA[i] = 0x3 + i-- + dAtA[i] = 0xc0 + } + { + size := m.LambdaInitialScore.Size() + i -= size + if _, err := m.LambdaInitialScore.MarshalTo(dAtA[i:]); err != nil { + return 0, err + } + i = encodeVarintParams(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x3 + i-- + dAtA[i] = 0xba + { + size := m.InferenceOutlierDetectionAlpha.Size() + i -= size + if _, err := m.InferenceOutlierDetectionAlpha.MarshalTo(dAtA[i:]); err != nil { + return 0, err + } + i = encodeVarintParams(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x3 + i-- + dAtA[i] = 0xb2 + { + size := m.InferenceOutlierDetectionThreshold.Size() + i -= size + if _, err := m.InferenceOutlierDetectionThreshold.MarshalTo(dAtA[i:]); err != nil { + return 0, err + } + i = encodeVarintParams(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x3 + i-- + dAtA[i] = 0xaa + if m.MinExperiencedWorkerRegrets != 0 { + i = encodeVarintParams(dAtA, i, uint64(m.MinExperiencedWorkerRegrets)) + i-- + dAtA[i] = 0x3 + i-- + dAtA[i] = 0xa0 + } + if m.TopicCreatorWhitelistEnabled { + i-- + if m.TopicCreatorWhitelistEnabled { + dAtA[i] = 1 + } else { + dAtA[i] = 0 + } + i-- + dAtA[i] = 0x3 + i-- + dAtA[i] = 0x98 + } + if m.GlobalWhitelistEnabled { + i-- + if m.GlobalWhitelistEnabled { + dAtA[i] = 1 + } else { + dAtA[i] = 0 + } + i-- + dAtA[i] = 0x3 + i-- + dAtA[i] = 0x90 + } + { + size := m.PNormSafeDiv.Size() + i -= size + if _, err := m.PNormSafeDiv.MarshalTo(dAtA[i:]); err != nil { + return 0, err + } + i = encodeVarintParams(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x3 + i-- + dAtA[i] = 0x8a + { + size := m.InitialRegretQuantile.Size() + i -= size + if _, err := m.InitialRegretQuantile.MarshalTo(dAtA[i:]); err != nil { + return 0, err + } + i = encodeVarintParams(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x3 + i-- + dAtA[i] = 0x82 + if m.MaxStringLength != 0 { + i = encodeVarintParams(dAtA, i, uint64(m.MaxStringLength)) + i-- + dAtA[i] = 0x2 + i-- + dAtA[i] = 0xf8 + } + if m.MaxActiveTopicsPerBlock != 0 { + i = encodeVarintParams(dAtA, i, uint64(m.MaxActiveTopicsPerBlock)) + i-- + dAtA[i] = 0x2 + i-- + dAtA[i] = 0xf0 + } + if m.MaxElementsPerForecast != 0 { + i = encodeVarintParams(dAtA, i, uint64(m.MaxElementsPerForecast)) + i-- + dAtA[i] = 0x2 + i-- + dAtA[i] = 0xe8 + } + { + size := m.DataSendingFee.Size() + i -= size + if _, err := m.DataSendingFee.MarshalTo(dAtA[i:]); err != nil { + return 0, err + } + i = encodeVarintParams(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x2 + i-- + dAtA[i] = 0xe2 + { + size := m.EpsilonSafeDiv.Size() + i -= size + if _, err := m.EpsilonSafeDiv.MarshalTo(dAtA[i:]); err != nil { + return 0, err + } + i = encodeVarintParams(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x2 + i-- + dAtA[i] = 0xda + if m.HalfMaxProcessStakeRemovalsEndBlock != 0 { + i = encodeVarintParams(dAtA, i, uint64(m.HalfMaxProcessStakeRemovalsEndBlock)) + i-- + dAtA[i] = 0x2 + i-- + dAtA[i] = 0xd0 + } + { + size := m.EpsilonReputer.Size() + i -= size + if _, err := m.EpsilonReputer.MarshalTo(dAtA[i:]); err != nil { + return 0, err + } + i = encodeVarintParams(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x2 + i-- + dAtA[i] = 0xc2 + { + size := m.CNorm.Size() + i -= size + if _, err := m.CNorm.MarshalTo(dAtA[i:]); err != nil { + return 0, err + } + i = encodeVarintParams(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x2 + i-- + dAtA[i] = 0xb2 + { + size := m.CRewardForecast.Size() + i -= size + if _, err := m.CRewardForecast.MarshalTo(dAtA[i:]); err != nil { + return 0, err + } + i = encodeVarintParams(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x2 + i-- + dAtA[i] = 0xaa + { + size := m.CRewardInference.Size() + i -= size + if _, err := m.CRewardInference.MarshalTo(dAtA[i:]); err != nil { + return 0, err + } + i = encodeVarintParams(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x2 + i-- + dAtA[i] = 0xa2 + { + size := m.PRewardReputer.Size() + i -= size + if _, err := m.PRewardReputer.MarshalTo(dAtA[i:]); err != nil { + return 0, err + } + i = encodeVarintParams(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x2 + i-- + dAtA[i] = 0x9a + { + size := m.PRewardForecast.Size() + i -= size + if _, err := m.PRewardForecast.MarshalTo(dAtA[i:]); err != nil { + return 0, err + } + i = encodeVarintParams(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x2 + i-- + dAtA[i] = 0x92 + { + size := m.PRewardInference.Size() + i -= size + if _, err := m.PRewardInference.MarshalTo(dAtA[i:]); err != nil { + return 0, err + } + i = encodeVarintParams(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x2 + i-- + dAtA[i] = 0x8a + if m.BlocksPerMonth != 0 { + i = encodeVarintParams(dAtA, i, uint64(m.BlocksPerMonth)) + i-- + dAtA[i] = 0x2 + i-- + dAtA[i] = 0x80 + } + if m.MinEpochLengthRecordLimit != 0 { + i = encodeVarintParams(dAtA, i, uint64(m.MinEpochLengthRecordLimit)) + i-- + dAtA[i] = 0x1 + i-- + dAtA[i] = 0xf8 + } + if m.MaxPageLimit != 0 { + i = encodeVarintParams(dAtA, i, uint64(m.MaxPageLimit)) + i-- + dAtA[i] = 0x1 + i-- + dAtA[i] = 0xf0 + } + if m.DefaultPageLimit != 0 { + i = encodeVarintParams(dAtA, i, uint64(m.DefaultPageLimit)) + i-- + dAtA[i] = 0x1 + i-- + dAtA[i] = 0xe8 + } + { + size := m.RegistrationFee.Size() + i -= size + if _, err := m.RegistrationFee.MarshalTo(dAtA[i:]); err != nil { + return 0, err + } + i = encodeVarintParams(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x1 + i-- + dAtA[i] = 0xe2 + if m.GradientDescentMaxIters != 0 { + i = encodeVarintParams(dAtA, i, uint64(m.GradientDescentMaxIters)) + i-- + dAtA[i] = 0x1 + i-- + dAtA[i] = 0xc8 + } + { + size := m.CreateTopicFee.Size() + i -= size + if _, err := m.CreateTopicFee.MarshalTo(dAtA[i:]); err != nil { + return 0, err + } + i = encodeVarintParams(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x1 + i-- + dAtA[i] = 0xc2 + if m.MaxTopReputersToReward != 0 { + i = encodeVarintParams(dAtA, i, uint64(m.MaxTopReputersToReward)) + i-- + dAtA[i] = 0x1 + i-- + dAtA[i] = 0xb8 + } + if m.MaxTopForecastersToReward != 0 { + i = encodeVarintParams(dAtA, i, uint64(m.MaxTopForecastersToReward)) + i-- + dAtA[i] = 0x1 + i-- + dAtA[i] = 0xb0 + } + if m.MaxTopInferersToReward != 0 { + i = encodeVarintParams(dAtA, i, uint64(m.MaxTopInferersToReward)) + i-- + dAtA[i] = 0x1 + i-- + dAtA[i] = 0xa8 + } + if m.MaxSamplesToScaleScores != 0 { + i = encodeVarintParams(dAtA, i, uint64(m.MaxSamplesToScaleScores)) + i-- + dAtA[i] = 0x1 + i-- + dAtA[i] = 0xa0 + } + { + size := m.ValidatorsVsAlloraPercentReward.Size() + i -= size + if _, err := m.ValidatorsVsAlloraPercentReward.MarshalTo(dAtA[i:]); err != nil { + return 0, err + } + i = encodeVarintParams(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x1 + i-- + dAtA[i] = 0x9a + { + size := m.TaskRewardAlpha.Size() + i -= size + if _, err := m.TaskRewardAlpha.MarshalTo(dAtA[i:]); err != nil { + return 0, err + } + i = encodeVarintParams(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x1 + i-- + dAtA[i] = 0x92 + { + size := m.TopicRewardAlpha.Size() + i -= size + if _, err := m.TopicRewardAlpha.MarshalTo(dAtA[i:]); err != nil { + return 0, err + } + i = encodeVarintParams(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x1 + i-- + dAtA[i] = 0x8a + { + size := m.TopicRewardFeeRevenueImportance.Size() + i -= size + if _, err := m.TopicRewardFeeRevenueImportance.MarshalTo(dAtA[i:]); err != nil { + return 0, err + } + i = encodeVarintParams(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x1 + i-- + dAtA[i] = 0x82 + { + size := m.TopicRewardStakeImportance.Size() + i -= size + if _, err := m.TopicRewardStakeImportance.MarshalTo(dAtA[i:]); err != nil { + return 0, err + } + i = encodeVarintParams(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x7a + if m.MaxUnfulfilledReputerRequests != 0 { + i = encodeVarintParams(dAtA, i, uint64(m.MaxUnfulfilledReputerRequests)) + i-- + dAtA[i] = 0x70 + } + if m.MaxUnfulfilledWorkerRequests != 0 { + i = encodeVarintParams(dAtA, i, uint64(m.MaxUnfulfilledWorkerRequests)) + i-- + dAtA[i] = 0x68 + } + { + size := m.MinStakeFraction.Size() + i -= size + if _, err := m.MinStakeFraction.MarshalTo(dAtA[i:]); err != nil { + return 0, err + } + i = encodeVarintParams(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x5a + { + size := m.MaxGradientThreshold.Size() + i -= size + if _, err := m.MaxGradientThreshold.MarshalTo(dAtA[i:]); err != nil { + return 0, err + } + i = encodeVarintParams(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x52 + { + size := m.LearningRate.Size() + i -= size + if _, err := m.LearningRate.MarshalTo(dAtA[i:]); err != nil { + return 0, err + } + i = encodeVarintParams(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x4a + { + size := m.BetaEntropy.Size() + i -= size + if _, err := m.BetaEntropy.MarshalTo(dAtA[i:]); err != nil { + return 0, err + } + i = encodeVarintParams(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x42 + if m.MinEpochLength != 0 { + i = encodeVarintParams(dAtA, i, uint64(m.MinEpochLength)) + i-- + dAtA[i] = 0x38 + } + if m.RemoveStakeDelayWindow != 0 { + i = encodeVarintParams(dAtA, i, uint64(m.RemoveStakeDelayWindow)) + i-- + dAtA[i] = 0x30 + } + { + size := m.RequiredMinimumStake.Size() + i -= size + if _, err := m.RequiredMinimumStake.MarshalTo(dAtA[i:]); err != nil { + return 0, err + } + i = encodeVarintParams(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x2a + { + size := m.MinTopicWeight.Size() + i -= size + if _, err := m.MinTopicWeight.MarshalTo(dAtA[i:]); err != nil { + return 0, err + } + i = encodeVarintParams(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x1a + if m.MaxSerializedMsgLength != 0 { + i = encodeVarintParams(dAtA, i, uint64(m.MaxSerializedMsgLength)) + i-- + dAtA[i] = 0x10 + } + if len(m.Version) > 0 { + i -= len(m.Version) + copy(dAtA[i:], m.Version) + i = encodeVarintParams(dAtA, i, uint64(len(m.Version))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func encodeVarintParams(dAtA []byte, offset int, v uint64) int { + offset -= sovParams(v) + base := offset + for v >= 1<<7 { + dAtA[offset] = uint8(v&0x7f | 0x80) + v >>= 7 + offset++ + } + dAtA[offset] = uint8(v) + return base +} +func (m *Params) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.Version) + if l > 0 { + n += 1 + l + sovParams(uint64(l)) + } + if m.MaxSerializedMsgLength != 0 { + n += 1 + sovParams(uint64(m.MaxSerializedMsgLength)) + } + l = m.MinTopicWeight.Size() + n += 1 + l + sovParams(uint64(l)) + l = m.RequiredMinimumStake.Size() + n += 1 + l + sovParams(uint64(l)) + if m.RemoveStakeDelayWindow != 0 { + n += 1 + sovParams(uint64(m.RemoveStakeDelayWindow)) + } + if m.MinEpochLength != 0 { + n += 1 + sovParams(uint64(m.MinEpochLength)) + } + l = m.BetaEntropy.Size() + n += 1 + l + sovParams(uint64(l)) + l = m.LearningRate.Size() + n += 1 + l + sovParams(uint64(l)) + l = m.MaxGradientThreshold.Size() + n += 1 + l + sovParams(uint64(l)) + l = m.MinStakeFraction.Size() + n += 1 + l + sovParams(uint64(l)) + if m.MaxUnfulfilledWorkerRequests != 0 { + n += 1 + sovParams(uint64(m.MaxUnfulfilledWorkerRequests)) + } + if m.MaxUnfulfilledReputerRequests != 0 { + n += 1 + sovParams(uint64(m.MaxUnfulfilledReputerRequests)) + } + l = m.TopicRewardStakeImportance.Size() + n += 1 + l + sovParams(uint64(l)) + l = m.TopicRewardFeeRevenueImportance.Size() + n += 2 + l + sovParams(uint64(l)) + l = m.TopicRewardAlpha.Size() + n += 2 + l + sovParams(uint64(l)) + l = m.TaskRewardAlpha.Size() + n += 2 + l + sovParams(uint64(l)) + l = m.ValidatorsVsAlloraPercentReward.Size() + n += 2 + l + sovParams(uint64(l)) + if m.MaxSamplesToScaleScores != 0 { + n += 2 + sovParams(uint64(m.MaxSamplesToScaleScores)) + } + if m.MaxTopInferersToReward != 0 { + n += 2 + sovParams(uint64(m.MaxTopInferersToReward)) + } + if m.MaxTopForecastersToReward != 0 { + n += 2 + sovParams(uint64(m.MaxTopForecastersToReward)) + } + if m.MaxTopReputersToReward != 0 { + n += 2 + sovParams(uint64(m.MaxTopReputersToReward)) + } + l = m.CreateTopicFee.Size() + n += 2 + l + sovParams(uint64(l)) + if m.GradientDescentMaxIters != 0 { + n += 2 + sovParams(uint64(m.GradientDescentMaxIters)) + } + l = m.RegistrationFee.Size() + n += 2 + l + sovParams(uint64(l)) + if m.DefaultPageLimit != 0 { + n += 2 + sovParams(uint64(m.DefaultPageLimit)) + } + if m.MaxPageLimit != 0 { + n += 2 + sovParams(uint64(m.MaxPageLimit)) + } + if m.MinEpochLengthRecordLimit != 0 { + n += 2 + sovParams(uint64(m.MinEpochLengthRecordLimit)) + } + if m.BlocksPerMonth != 0 { + n += 2 + sovParams(uint64(m.BlocksPerMonth)) + } + l = m.PRewardInference.Size() + n += 2 + l + sovParams(uint64(l)) + l = m.PRewardForecast.Size() + n += 2 + l + sovParams(uint64(l)) + l = m.PRewardReputer.Size() + n += 2 + l + sovParams(uint64(l)) + l = m.CRewardInference.Size() + n += 2 + l + sovParams(uint64(l)) + l = m.CRewardForecast.Size() + n += 2 + l + sovParams(uint64(l)) + l = m.CNorm.Size() + n += 2 + l + sovParams(uint64(l)) + l = m.EpsilonReputer.Size() + n += 2 + l + sovParams(uint64(l)) + if m.HalfMaxProcessStakeRemovalsEndBlock != 0 { + n += 2 + sovParams(uint64(m.HalfMaxProcessStakeRemovalsEndBlock)) + } + l = m.EpsilonSafeDiv.Size() + n += 2 + l + sovParams(uint64(l)) + l = m.DataSendingFee.Size() + n += 2 + l + sovParams(uint64(l)) + if m.MaxElementsPerForecast != 0 { + n += 2 + sovParams(uint64(m.MaxElementsPerForecast)) + } + if m.MaxActiveTopicsPerBlock != 0 { + n += 2 + sovParams(uint64(m.MaxActiveTopicsPerBlock)) + } + if m.MaxStringLength != 0 { + n += 2 + sovParams(uint64(m.MaxStringLength)) + } + l = m.InitialRegretQuantile.Size() + n += 2 + l + sovParams(uint64(l)) + l = m.PNormSafeDiv.Size() + n += 2 + l + sovParams(uint64(l)) + if m.GlobalWhitelistEnabled { + n += 3 + } + if m.TopicCreatorWhitelistEnabled { + n += 3 + } + if m.MinExperiencedWorkerRegrets != 0 { + n += 2 + sovParams(uint64(m.MinExperiencedWorkerRegrets)) + } + l = m.InferenceOutlierDetectionThreshold.Size() + n += 2 + l + sovParams(uint64(l)) + l = m.InferenceOutlierDetectionAlpha.Size() + n += 2 + l + sovParams(uint64(l)) + l = m.LambdaInitialScore.Size() + n += 2 + l + sovParams(uint64(l)) + if m.GlobalWorkerWhitelistEnabled { + n += 3 + } + if m.GlobalReputerWhitelistEnabled { + n += 3 + } + if m.GlobalAdminWhitelistAppended { + n += 3 + } + if m.MaxWhitelistInputArrayLength != 0 { + n += 2 + sovParams(uint64(m.MaxWhitelistInputArrayLength)) + } + l = m.MinWeightThresholdForStdnorm.Size() + n += 2 + l + sovParams(uint64(l)) + return n +} + +func sovParams(x uint64) (n int) { + return (math_bits.Len64(x|1) + 6) / 7 +} +func sozParams(x uint64) (n int) { + return sovParams(uint64((x << 1) ^ uint64((int64(x) >> 63)))) +} +func (m *Params) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowParams + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: Params: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: Params: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Version", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowParams + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthParams + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthParams + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Version = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field MaxSerializedMsgLength", wireType) + } + m.MaxSerializedMsgLength = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowParams + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.MaxSerializedMsgLength |= int64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 3: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field MinTopicWeight", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowParams + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthParams + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthParams + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if err := m.MinTopicWeight.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 5: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field RequiredMinimumStake", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowParams + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthParams + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthParams + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if err := m.RequiredMinimumStake.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 6: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field RemoveStakeDelayWindow", wireType) + } + m.RemoveStakeDelayWindow = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowParams + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.RemoveStakeDelayWindow |= int64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 7: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field MinEpochLength", wireType) + } + m.MinEpochLength = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowParams + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.MinEpochLength |= int64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 8: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field BetaEntropy", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowParams + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthParams + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthParams + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if err := m.BetaEntropy.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 9: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field LearningRate", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowParams + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthParams + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthParams + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if err := m.LearningRate.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 10: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field MaxGradientThreshold", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowParams + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthParams + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthParams + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if err := m.MaxGradientThreshold.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 11: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field MinStakeFraction", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowParams + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthParams + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthParams + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if err := m.MinStakeFraction.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 13: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field MaxUnfulfilledWorkerRequests", wireType) + } + m.MaxUnfulfilledWorkerRequests = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowParams + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.MaxUnfulfilledWorkerRequests |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 14: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field MaxUnfulfilledReputerRequests", wireType) + } + m.MaxUnfulfilledReputerRequests = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowParams + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.MaxUnfulfilledReputerRequests |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 15: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field TopicRewardStakeImportance", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowParams + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthParams + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthParams + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if err := m.TopicRewardStakeImportance.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 16: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field TopicRewardFeeRevenueImportance", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowParams + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthParams + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthParams + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if err := m.TopicRewardFeeRevenueImportance.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 17: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field TopicRewardAlpha", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowParams + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthParams + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthParams + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if err := m.TopicRewardAlpha.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 18: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field TaskRewardAlpha", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowParams + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthParams + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthParams + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if err := m.TaskRewardAlpha.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 19: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field ValidatorsVsAlloraPercentReward", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowParams + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthParams + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthParams + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if err := m.ValidatorsVsAlloraPercentReward.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 20: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field MaxSamplesToScaleScores", wireType) + } + m.MaxSamplesToScaleScores = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowParams + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.MaxSamplesToScaleScores |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 21: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field MaxTopInferersToReward", wireType) + } + m.MaxTopInferersToReward = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowParams + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.MaxTopInferersToReward |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 22: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field MaxTopForecastersToReward", wireType) + } + m.MaxTopForecastersToReward = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowParams + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.MaxTopForecastersToReward |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 23: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field MaxTopReputersToReward", wireType) + } + m.MaxTopReputersToReward = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowParams + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.MaxTopReputersToReward |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 24: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field CreateTopicFee", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowParams + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthParams + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthParams + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if err := m.CreateTopicFee.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 25: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field GradientDescentMaxIters", wireType) + } + m.GradientDescentMaxIters = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowParams + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.GradientDescentMaxIters |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 28: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field RegistrationFee", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowParams + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthParams + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthParams + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if err := m.RegistrationFee.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 29: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field DefaultPageLimit", wireType) + } + m.DefaultPageLimit = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowParams + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.DefaultPageLimit |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 30: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field MaxPageLimit", wireType) + } + m.MaxPageLimit = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowParams + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.MaxPageLimit |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 31: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field MinEpochLengthRecordLimit", wireType) + } + m.MinEpochLengthRecordLimit = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowParams + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.MinEpochLengthRecordLimit |= int64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 32: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field BlocksPerMonth", wireType) + } + m.BlocksPerMonth = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowParams + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.BlocksPerMonth |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 33: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field PRewardInference", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowParams + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthParams + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthParams + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if err := m.PRewardInference.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 34: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field PRewardForecast", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowParams + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthParams + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthParams + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if err := m.PRewardForecast.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 35: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field PRewardReputer", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowParams + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthParams + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthParams + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if err := m.PRewardReputer.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 36: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field CRewardInference", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowParams + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthParams + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthParams + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if err := m.CRewardInference.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 37: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field CRewardForecast", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowParams + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthParams + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthParams + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if err := m.CRewardForecast.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 38: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field CNorm", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowParams + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthParams + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthParams + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if err := m.CNorm.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 40: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field EpsilonReputer", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowParams + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthParams + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthParams + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if err := m.EpsilonReputer.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 42: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field HalfMaxProcessStakeRemovalsEndBlock", wireType) + } + m.HalfMaxProcessStakeRemovalsEndBlock = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowParams + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.HalfMaxProcessStakeRemovalsEndBlock |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 43: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field EpsilonSafeDiv", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowParams + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthParams + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthParams + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if err := m.EpsilonSafeDiv.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 44: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field DataSendingFee", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowParams + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthParams + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthParams + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if err := m.DataSendingFee.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 45: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field MaxElementsPerForecast", wireType) + } + m.MaxElementsPerForecast = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowParams + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.MaxElementsPerForecast |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 46: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field MaxActiveTopicsPerBlock", wireType) + } + m.MaxActiveTopicsPerBlock = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowParams + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.MaxActiveTopicsPerBlock |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 47: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field MaxStringLength", wireType) + } + m.MaxStringLength = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowParams + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.MaxStringLength |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 48: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field InitialRegretQuantile", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowParams + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthParams + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthParams + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if err := m.InitialRegretQuantile.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 49: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field PNormSafeDiv", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowParams + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthParams + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthParams + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if err := m.PNormSafeDiv.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 50: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field GlobalWhitelistEnabled", wireType) + } + var v int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowParams + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + m.GlobalWhitelistEnabled = bool(v != 0) + case 51: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field TopicCreatorWhitelistEnabled", wireType) + } + var v int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowParams + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + m.TopicCreatorWhitelistEnabled = bool(v != 0) + case 52: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field MinExperiencedWorkerRegrets", wireType) + } + m.MinExperiencedWorkerRegrets = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowParams + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.MinExperiencedWorkerRegrets |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 53: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field InferenceOutlierDetectionThreshold", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowParams + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthParams + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthParams + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if err := m.InferenceOutlierDetectionThreshold.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 54: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field InferenceOutlierDetectionAlpha", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowParams + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthParams + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthParams + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if err := m.InferenceOutlierDetectionAlpha.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 55: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field LambdaInitialScore", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowParams + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthParams + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthParams + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if err := m.LambdaInitialScore.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 56: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field GlobalWorkerWhitelistEnabled", wireType) + } + var v int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowParams + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + m.GlobalWorkerWhitelistEnabled = bool(v != 0) + case 57: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field GlobalReputerWhitelistEnabled", wireType) + } + var v int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowParams + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + m.GlobalReputerWhitelistEnabled = bool(v != 0) + case 58: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field GlobalAdminWhitelistAppended", wireType) + } + var v int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowParams + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + m.GlobalAdminWhitelistAppended = bool(v != 0) + case 59: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field MaxWhitelistInputArrayLength", wireType) + } + m.MaxWhitelistInputArrayLength = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowParams + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.MaxWhitelistInputArrayLength |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 60: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field MinWeightThresholdForStdnorm", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowParams + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthParams + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthParams + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if err := m.MinWeightThresholdForStdnorm.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipParams(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthParams + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func skipParams(dAtA []byte) (n int, err error) { + l := len(dAtA) + iNdEx := 0 + depth := 0 + for iNdEx < l { + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return 0, ErrIntOverflowParams + } + if iNdEx >= l { + return 0, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= (uint64(b) & 0x7F) << shift + if b < 0x80 { + break + } + } + wireType := int(wire & 0x7) + switch wireType { + case 0: + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return 0, ErrIntOverflowParams + } + if iNdEx >= l { + return 0, io.ErrUnexpectedEOF + } + iNdEx++ + if dAtA[iNdEx-1] < 0x80 { + break + } + } + case 1: + iNdEx += 8 + case 2: + var length int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return 0, ErrIntOverflowParams + } + if iNdEx >= l { + return 0, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + length |= (int(b) & 0x7F) << shift + if b < 0x80 { + break + } + } + if length < 0 { + return 0, ErrInvalidLengthParams + } + iNdEx += length + case 3: + depth++ + case 4: + if depth == 0 { + return 0, ErrUnexpectedEndOfGroupParams + } + depth-- + case 5: + iNdEx += 4 + default: + return 0, fmt.Errorf("proto: illegal wireType %d", wireType) + } + if iNdEx < 0 { + return 0, ErrInvalidLengthParams + } + if depth == 0 { + return iNdEx, nil + } + } + return 0, io.ErrUnexpectedEOF +} + +var ( + ErrInvalidLengthParams = fmt.Errorf("proto: negative length found during unmarshaling") + ErrIntOverflowParams = fmt.Errorf("proto: integer overflow") + ErrUnexpectedEndOfGroupParams = fmt.Errorf("proto: unexpected end of group") +) diff --git a/x/emissions/module/autocli.go b/x/emissions/module/autocli.go index 5a153a9da..dbe237a22 100644 --- a/x/emissions/module/autocli.go +++ b/x/emissions/module/autocli.go @@ -2,14 +2,14 @@ package module import ( autocliv1 "cosmossdk.io/api/cosmos/autocli/v1" - statev7 "github.com/allora-network/allora-chain/x/emissions/api/emissions/v7" + statev8 "github.com/allora-network/allora-chain/x/emissions/api/emissions/v8" ) // AutoCLIOptions implements the autocli.HasAutoCLIConfig interface. func (am AppModule) AutoCLIOptions() *autocliv1.ModuleOptions { return &autocliv1.ModuleOptions{ Query: &autocliv1.ServiceCommandDescriptor{ - Service: statev7.QueryService_ServiceDesc.ServiceName, + Service: statev8.QueryService_ServiceDesc.ServiceName, RpcCommandOptions: []*autocliv1.RpcCommandOptions{ { RpcMethod: "GetParams", @@ -905,13 +905,57 @@ func (am AppModule) AutoCLIOptions() *autocliv1.ModuleOptions { {ProtoField: "topic_id"}, }, }, + { + RpcMethod: "GetLatestRegretStdNorm", + Use: "latest-regret-std-norm [topic-id]", + Short: "Get the latest regret standard norm for a topic", + Long: "Get the latest regret standard norm value for the specified topic ID", + PositionalArgs: []*autocliv1.PositionalArgDescriptor{ + { + ProtoField: "topic_id", + Optional: false, + }, + }, + }, + { + RpcMethod: "GetLatestInfererWeight", + Use: "latest-inferer-weight [topic-id] [actor-id]", + Short: "Get the latest inferer weight for an actor in a topic", + Long: "Get the latest weight for an inferer in a specific topic", + PositionalArgs: []*autocliv1.PositionalArgDescriptor{ + { + ProtoField: "topic_id", + Optional: false, + }, + { + ProtoField: "actor_id", + Optional: false, + }, + }, + }, + { + RpcMethod: "GetLatestForecasterWeight", + Use: "latest-forecaster-weight [topic-id] [actor-id]", + Short: "Get the latest forecaster weight for an actor in a topic", + Long: "Get the latest weight for a forecaster in a specific topic", + PositionalArgs: []*autocliv1.PositionalArgDescriptor{ + { + ProtoField: "topic_id", + Optional: false, + }, + { + ProtoField: "actor_id", + Optional: false, + }, + }, + }, }, SubCommands: nil, EnhanceCustomCommand: false, Short: "Emissions module query commands", }, Tx: &autocliv1.ServiceCommandDescriptor{ - Service: statev7.MsgService_ServiceDesc.ServiceName, + Service: statev8.MsgService_ServiceDesc.ServiceName, RpcCommandOptions: []*autocliv1.RpcCommandOptions{ { RpcMethod: "UpdateParams", diff --git a/x/emissions/module/module.go b/x/emissions/module/module.go index 0b0d74d81..23ddc2122 100644 --- a/x/emissions/module/module.go +++ b/x/emissions/module/module.go @@ -11,6 +11,7 @@ import ( v4 "github.com/allora-network/allora-chain/x/emissions/api/emissions/v4" v5 "github.com/allora-network/allora-chain/x/emissions/api/emissions/v5" v6 "github.com/allora-network/allora-chain/x/emissions/api/emissions/v6" + v7 "github.com/allora-network/allora-chain/x/emissions/api/emissions/v7" keeper "github.com/allora-network/allora-chain/x/emissions/keeper" "github.com/allora-network/allora-chain/x/emissions/keeper/msgserver" "github.com/allora-network/allora-chain/x/emissions/keeper/queryserver" @@ -20,6 +21,7 @@ import ( migrationV5 "github.com/allora-network/allora-chain/x/emissions/migrations/v5" migrationV6 "github.com/allora-network/allora-chain/x/emissions/migrations/v6" migrationV7 "github.com/allora-network/allora-chain/x/emissions/migrations/v7" + migrationV8 "github.com/allora-network/allora-chain/x/emissions/migrations/v8" "github.com/allora-network/allora-chain/x/emissions/types" "github.com/cosmos/cosmos-sdk/client" "github.com/cosmos/cosmos-sdk/codec" @@ -37,7 +39,7 @@ var ( ) // ConsensusVersion defines the current module consensus version. -const ConsensusVersion = 7 +const ConsensusVersion = 8 type AppModule struct { cdc codec.Codec @@ -62,6 +64,7 @@ func (AppModule) RegisterLegacyAminoCodec(cdc *codec.LegacyAmino) { v4.RegisterTypes(cdc) v5.RegisterTypes(cdc) v6.RegisterTypes(cdc) + v7.RegisterTypes(cdc) } // RegisterGRPCGatewayRoutes registers the gRPC Gateway routes for the state module. @@ -79,6 +82,7 @@ func (AppModule) RegisterInterfaces(registry codectypes.InterfaceRegistry) { v4.RegisterInterfaces(registry) v5.RegisterInterfaces(registry) v6.RegisterInterfaces(registry) + v7.RegisterInterfaces(registry) } // ConsensusVersion implements AppModule/ConsensusVersion. @@ -119,6 +123,11 @@ func (am AppModule) RegisterServices(cfg module.Configurator) { }); err != nil { panic(fmt.Sprintf("failed to migrate x/%s from version 6 to 7: %v", types.ModuleName, err)) } + if err := cfg.RegisterMigration(types.ModuleName, 7, func(ctx sdk.Context) error { + return migrationV8.MigrateStore(ctx, am.keeper) + }); err != nil { + panic(fmt.Sprintf("failed to migrate x/%s from version 7 to 8: %v", types.ModuleName, err)) + } } // DefaultGenesis returns default genesis state as raw bytes for the module. diff --git a/x/emissions/module/rewards/rewards_test.go b/x/emissions/module/rewards/rewards_test.go index 1b0a91829..57b4fc3ce 100644 --- a/x/emissions/module/rewards/rewards_test.go +++ b/x/emissions/module/rewards/rewards_test.go @@ -643,6 +643,11 @@ func (s *RewardsTestSuite) setUpTopic( return s.setUpTopicWithEpochLength(blockHeight, workerIndexes, reputerIndexes, stake, alphaRegret, 10800) } +// Creates topic +// Registers workers and reputers from addresses in addrsStr +// Mints stake to reputers +// Funds topic +// Returns topicId func (s *RewardsTestSuite) setUpTopicWithEpochLength( blockHeight int64, workerIndexes []int, @@ -723,6 +728,21 @@ func (s *RewardsTestSuite) setUpTopicWithEpochLength( return topicId } +// Moves to end of this epoch +// Sets current block emission +// Ends block +// ------- +// Moves +1 block, +// Inserts worker bundles from workers +// Moves to end of epoch +// Closes reputer nonce +// Sets rewards distribution +// Ends Block +// ------- +// Insert reputer bundles from reputers +// Moves to end of ground truth lag +// Closes reputer nonce +// Returns rewards distribution (GenerateRewardsDistributionByTopicParticipant) func (s *RewardsTestSuite) getRewardsDistribution( topicId uint64, workerValues []TestWorkerValue, @@ -1584,6 +1604,123 @@ func (s *RewardsTestSuite) TestGenerateTasksRewardsShouldIncreaseRewardShareIfMo s.Require().True(secondTotalReputerReward.Gt(firstTotalReputerReward)) } +func (s *RewardsTestSuite) TestMultipleEpochsWeightAndStdNormEvolution() { + require := s.Require() + + // Initial setup + block := int64(1) + s.ctx = s.ctx.WithBlockHeight(block) + + alphaRegret := alloraMath.MustNewDecFromString("0.1") + s.SetParamsForTest() + + // Set up single topic with workers and reputers + workerIndexes := s.returnIndexes(0, 3) + reputerIndexes := s.returnIndexes(3, 3) + + stake := cosmosMath.NewInt(1000).Mul(inferencesynthesis.CosmosIntOneE18()) + + // Create topic with shorter epoch length for testing multiple epochs + epochLength := int64(5) + topicId := s.setUpTopicWithEpochLength(block, workerIndexes, reputerIndexes, stake, alphaRegret, epochLength) + + // Initial worker and reputer values + workerValues := []TestWorkerValue{ + {Index: workerIndexes[0], Value: "0.1"}, + {Index: workerIndexes[1], Value: "0.2"}, + {Index: workerIndexes[2], Value: "0.3"}, + } + + reputerValues := []TestWorkerValue{ + {Index: reputerIndexes[0], Value: "0.1"}, + {Index: reputerIndexes[1], Value: "0.2"}, + {Index: reputerIndexes[2], Value: "0.3"}, + } + + // Fund topic + initialStake := cosmosMath.NewInt(1000) + s.MintTokensToAddress(s.addrs[reputerIndexes[0]], initialStake) + fundTopicMessage := types.FundTopicRequest{ + Sender: s.addrsStr[reputerIndexes[0]], + TopicId: topicId, + Amount: initialStake, + } + _, err := s.msgServer.FundTopic(s.ctx, &fundTopicMessage) + require.NoError(err) + + // Track weights and stdnorm over epochs + var workerWeights = make(map[string][]alloraMath.Dec) + var stdNorms []alloraMath.Dec + + numEpochs := 5 + // Run multiple epochs + for epoch := 0; epoch < numEpochs; epoch++ { + // Get current weight and stdnorm before processing + stdNorm, err := s.emissionsKeeper.GetLatestRegretStdNorm(s.ctx, topicId) + require.NoError(err) + stdNorms = append(stdNorms, stdNorm) + + // Process worker submissions + s.getRewardsDistribution( + topicId, + workerValues, + reputerValues, + s.addrs[workerIndexes[0]], + fmt.Sprintf("0.%d", epoch+1), // Varying predictions + fmt.Sprintf("0.%d", epoch+1), // Varying ground truth + ) + + for _, index := range workerIndexes { + weight, err := s.emissionsKeeper.GetLatestInfererWeight(s.ctx, topicId, s.addrsStr[index]) + s.Require().NoError(err) + workerWeights[s.addrsStr[index]] = append(workerWeights[s.addrsStr[index]], weight) + } + + // Mint rewards + s.MintTokensToModule(types.AlloraRewardsAccountName, cosmosMath.NewInt(1000)) + + // Move to next epoch + block += epochLength + s.ctx = s.ctx.WithBlockHeight(block) + + // Distribute rewards + err = s.emissionsKeeper.SetRewardCurrentBlockEmission(s.ctx, cosmosMath.NewInt(100)) + require.NoError(err) + err = s.emissionsAppModule.EndBlock(s.ctx) + require.NoError(err) + } + + // Verify weight evolution + require.Len(workerWeights, 3) // one entry per worker + for i := 1; i < len(workerWeights); i++ { + // Weight for the same worker should change between epochs + currentWorker := s.addrsStr[i] + currentWorkerWeights := workerWeights[currentWorker] + // check weights are different from diff actors + for j := 1; j < len(currentWorkerWeights); j++ { + require.NotEqual( + currentWorkerWeights[j].String(), + currentWorkerWeights[j-1].String(), + "Weight should change between epochs %d and %d", j-1, j, + ) + } + s.T().Logf("Worker %d , %s Weight: %v", i, s.addrsStr[i], currentWorkerWeights) + } + + // Verify stdnorm evolution + require.Len(stdNorms, numEpochs) + for i := 1; i < len(stdNorms); i++ { + // StdNorm should adapt based on predictions + require.NotEqual( + stdNorms[i].String(), + stdNorms[i-1].String(), + "StdNorm should change between epochs %d and %d", i-1, i, + ) + s.T().Logf("StdNorm: %v", stdNorms[i].String()) + } + +} + func (s *RewardsTestSuite) TestRewardsIncreasesBalance() { block := int64(600) s.ctx = s.ctx.WithBlockHeight(block) @@ -2224,6 +2361,7 @@ func (s *RewardsTestSuite) SetParamsForTest() { GlobalReputerWhitelistEnabled: nil, GlobalAdminWhitelistAppended: nil, MaxWhitelistInputArrayLength: nil, + MinWeightThresholdForStdnorm: nil, } updateMsg := &types.UpdateParamsRequest{ @@ -3030,7 +3168,7 @@ func (s *RewardsTestSuite) TestRewardForTopicGoesUpWhenRelativeStakeGoesUp() { s.Require().NoError(err) inDelta, err := alloraMath.InDelta(totalSumPreviousTopicWeights, sumWeights, alloraMath.MustNewDecFromString("0.0001")) s.Require().NoError(err) - s.Require().True(inDelta, fmt.Sprintf("Total sum of previous topic weights %s + %s = %s is not equal to the sum of the weights of the two topics %s", topic0Weight1, topic1Weight0, totalSumPreviousTopicWeights, sumWeights)) + s.Require().True(inDelta, "Total sum of previous topic weights %s + %s = %s is not equal to the sum of the weights of the two topics %s", topic0Weight1, topic1Weight0, totalSumPreviousTopicWeights, sumWeights) err = s.emissionsKeeper.SetRewardCurrentBlockEmission(s.ctx, cosmosMath.NewInt(100)) s.Require().NoError(err) diff --git a/x/emissions/module/rewards/topic_skimming.go b/x/emissions/module/rewards/topic_skimming.go index 1e8c52b3b..d8da52371 100644 --- a/x/emissions/module/rewards/topic_skimming.go +++ b/x/emissions/module/rewards/topic_skimming.go @@ -48,7 +48,7 @@ func SortTopicsByWeightDescWithRandomTiebreaker(topicIds []TopicId, weights map[ // It is assumed that topicIds is of a reasonable size, throttled by perhaps MaxTopicsPerBlock global param func SkimTopTopicsByWeightDesc(ctx sdk.Context, weights map[TopicId]*alloraMath.Dec, N uint64, block BlockHeight) (map[TopicId]*alloraMath.Dec, []TopicId, error) { topicIds := make([]TopicId, 0, len(weights)) - for topicId := range weights { + for topicId := range weights { // nolint: maprange // reason: iteration to array before sorting topicIds = append(topicIds, topicId) } // Sort topicIds by weight desc to ensure deterministic order. Tiebreak with topicId ascending diff --git a/x/emissions/proto/emissions/v7/events.proto b/x/emissions/proto/emissions/v7/events.proto index d8ad0d099..e8a28796f 100644 --- a/x/emissions/proto/emissions/v7/events.proto +++ b/x/emissions/proto/emissions/v7/events.proto @@ -47,7 +47,6 @@ message EventRewardsSettled { (gogoproto.customtype) = "github.com/allora-network/allora-chain/math.Dec", (gogoproto.nullable) = false ]; - int64 block_height_tx = 6; } message EventNetworkLossSet { diff --git a/x/emissions/proto/emissions/v8/events.proto b/x/emissions/proto/emissions/v8/events.proto new file mode 100644 index 000000000..c05e748f8 --- /dev/null +++ b/x/emissions/proto/emissions/v8/events.proto @@ -0,0 +1,186 @@ +syntax = "proto3"; +package emissions.v8; + +import "emissions/v3/nonce.proto"; +import "emissions/v3/reputer.proto"; +import "gogoproto/gogo.proto"; + +option go_package = "github.com/allora-network/allora-chain/x/emissions/types"; + +// We choose a denormalized schema for events to balance the size and number of +// events, as well as the complexity of likely downstream write and read +// patterns. One likely cares about how the topic performs in totality and may +// want to update topic state after all topic information is in, or in some +// chronological order. If one normalizs by actor type, then the event volume is +// likely to be much higher and one would have to wait an undetermined amount of +// time (how many actors participated +// == how many events to wait for) to update an topic state-level metric. +// Furthermore, we know that the size of each of these messages is bounded by +// the global parameters that bound the max number of actors and topics. If one +// were to track per-actor-per-type metrics, then one immediately knows that +// they were included and participated or not in the topic at a particular block +// height as soon as one event from the topic is recorded. + +enum ActorType { + ACTOR_TYPE_INFERER_UNSPECIFIED = 0; + ACTOR_TYPE_FORECASTER = 1; + ACTOR_TYPE_REPUTER = 2; +} + +message EventScoresSet { + ActorType actor_type = 1; + uint64 topic_id = 2; + int64 block_height = 3; + repeated string addresses = 4; + repeated string scores = 5 [ + (gogoproto.customtype) = "github.com/allora-network/allora-chain/math.Dec", + (gogoproto.nullable) = false + ]; +} + +message EventRewardsSettled { + ActorType actor_type = 1; + uint64 topic_id = 2; + int64 block_height = 3; + repeated string addresses = 4; + repeated string rewards = 5 [ + (gogoproto.customtype) = "github.com/allora-network/allora-chain/math.Dec", + (gogoproto.nullable) = false + ]; + int64 block_height_tx = 6; +} + +message EventNetworkLossSet { + uint64 topic_id = 1; + int64 block_height = 2; + emissions.v3.ValueBundle value_bundle = 3; +} + +message EventForecastTaskScoreSet { + uint64 topic_id = 1; + string score = 2 [ + (gogoproto.customtype) = "github.com/allora-network/allora-chain/math.Dec", + (gogoproto.nullable) = false + ]; +} + +message EventWorkerLastCommitSet { + uint64 topic_id = 1; + int64 block_height = 2; + emissions.v3.Nonce nonce = 3; +} + +message EventReputerLastCommitSet { + uint64 topic_id = 1; + int64 block_height = 2; + emissions.v3.Nonce nonce = 3; +} + +message EventTopicRewardsSet { + repeated uint64 topic_ids = 1; + repeated string rewards = 2 [ + (gogoproto.customtype) = "github.com/allora-network/allora-chain/math.Dec", + (gogoproto.nullable) = false + ]; +} + +message EventEMAScoresSet { + ActorType actor_type = 1; + uint64 topic_id = 2; + int64 nonce = 3; + repeated string addresses = 4; + repeated string scores = 5 [ + (gogoproto.customtype) = "github.com/allora-network/allora-chain/math.Dec", + (gogoproto.nullable) = false + ]; + repeated bool is_active = 6; +} + +message EventListeningCoefficientsSet { + ActorType actor_type = 1; + uint64 topic_id = 2; + int64 block_height = 3; + repeated string addresses = 4; + repeated string coefficients = 5 [ + (gogoproto.customtype) = "github.com/allora-network/allora-chain/math.Dec", + (gogoproto.nullable) = false + ]; +} + +message EventInfererNetworkRegretSet { + uint64 topic_id = 1; + int64 block_height = 2; + repeated string addresses = 3; + repeated string regrets = 4 [ + (gogoproto.customtype) = "github.com/allora-network/allora-chain/math.Dec", + (gogoproto.nullable) = false + ]; +} + +message EventForecasterNetworkRegretSet { + uint64 topic_id = 1; + int64 block_height = 2; + repeated string addresses = 3; + repeated string regrets = 4 [ + (gogoproto.customtype) = "github.com/allora-network/allora-chain/math.Dec", + (gogoproto.nullable) = false + ]; +} + +message EventNaiveInfererNetworkRegretSet { + uint64 topic_id = 1; + int64 block_height = 2; + repeated string addresses = 3; + repeated string regrets = 4 [ + (gogoproto.customtype) = "github.com/allora-network/allora-chain/math.Dec", + (gogoproto.nullable) = false + ]; +} + +message EventTopicInitialRegretSet { + uint64 topic_id = 1; + int64 block_height = 2; + string regret = 3 [ + (gogoproto.customtype) = "github.com/allora-network/allora-chain/math.Dec", + (gogoproto.nullable) = false + ]; +} + +message EventTopicInitialEmaScoreSet { + ActorType actor_type = 1; + uint64 topic_id = 2; + int64 block_height = 3; + string score = 4 [ + (gogoproto.customtype) = "github.com/allora-network/allora-chain/math.Dec", + (gogoproto.nullable) = false + ]; +} + +message EventRegretStdNormSet { + uint64 topic_id = 1; + int64 block_height = 2; + string stdnorm = 3 [ + (gogoproto.customtype) = "github.com/allora-network/allora-chain/math.Dec", + (gogoproto.nullable) = false + ]; +} + +message EventInfererWeightSet { + uint64 topic_id = 1; + int64 block_height = 2; + string address = 3; + string weight = 4 [ + (gogoproto.customtype) = "github.com/allora-network/allora-chain/math.Dec", + (gogoproto.nullable) = false + ]; +} + +message EventForecasterWeightSet { + uint64 topic_id = 1; + int64 block_height = 2; + string address = 3; + string weight = 4 [ + (gogoproto.customtype) = "github.com/allora-network/allora-chain/math.Dec", + (gogoproto.nullable) = false + ]; +} diff --git a/x/emissions/proto/emissions/v8/genesis.proto b/x/emissions/proto/emissions/v8/genesis.proto new file mode 100644 index 000000000..ac07c9a9f --- /dev/null +++ b/x/emissions/proto/emissions/v8/genesis.proto @@ -0,0 +1,472 @@ +syntax = "proto3"; +package emissions.v8; + +import "amino/amino.proto"; +import "cosmos_proto/cosmos.proto"; +import "emissions/v3/node.proto"; +import "emissions/v3/nonce.proto"; +import "emissions/v3/reputer.proto"; +import "emissions/v3/score.proto"; +import "emissions/v3/stake.proto"; +import "emissions/v3/topic.proto"; +import "emissions/v3/types.proto"; +import "emissions/v3/worker.proto"; +import "emissions/v8/params.proto"; +import "gogoproto/gogo.proto"; + +option go_package = "github.com/allora-network/allora-chain/x/emissions/types"; + +// GenesisState is the state that must be provided at genesis. +message GenesisState { + reserved 13, 14, 15; + reserved "latestInfererScoresByWorker", "latestForecasterScoresByWorker", "latestReputerScoresByReputer"; + + /// PARAMS + emissions.v8.Params params = 1 [(gogoproto.nullable) = false]; + + /// WHITELISTS + repeated string core_team_addresses = 2; + + /// TOPIC + // the next topic id to be used, equal to the number of topics that have been + // created + uint64 next_topic_id = 3; + // every topic that has been created indexed by their topicId starting from 1 + // (0 is reserved for the root network) + repeated TopicIdAndTopic topics = 4; + repeated uint64 active_topics = 5; + // every topic that has been churned and ready to be rewarded i.e. reputer + // losses have been committed + repeated uint64 rewardable_topics = 6; + // for a topic, what is every worker node that has registered to it? + repeated TopicAndActorId topic_workers = 7; + // for a topic, what is every reputer node that has registered to it? + repeated TopicAndActorId topic_reputers = 8; + // map of (topic) -> nonce/block height + repeated TopicIdAndBlockHeight topic_reward_nonce = 9; + + /// SCORES + // ALSO SEE 61, 62, 63 below + // map of (topic, block_height, worker) -> score + repeated TopicIdBlockHeightScores inferer_scores_by_block = 10; + // map of (topic, block_height, worker) -> score + repeated TopicIdBlockHeightScores forecaster_scores_by_block = 11; + // map of (topic, block_height, reputer) -> score + repeated TopicIdBlockHeightScores reputer_scores_by_block = 12; + // SEE 13, 14, 15 reserved; see the top of GenesisState + // map of (topic, reputer) -> listening coefficient + repeated TopicIdActorIdListeningCoefficient reputer_listening_coefficient = 16; + // map of (topic, reputer) -> previous reward (used for EMA) + repeated TopicIdActorIdDec previous_reputer_reward_fraction = 17; + // map of (topic, worker) -> previous reward for inference (used for EMA) + repeated TopicIdActorIdDec previous_inference_reward_fraction = 18; + // map of (topic, worker) -> previous reward for forecast (used for EMA) + repeated TopicIdActorIdDec previous_forecast_reward_fraction = 19; + // map of (topic, forecaster) -> ratio of forecaster score + repeated TopicIdAndDec previous_forecaster_score_ratio = 20; + + /// STAKING + + // total sum stake of all stakers on the network + string total_stake = 21 [ + (cosmos_proto.scalar) = "cosmos.Int", + (gogoproto.customtype) = "cosmossdk.io/math.Int", + (gogoproto.nullable) = false, + (amino.dont_omitempty) = true + ]; + // for every topic, how much total stake does that topic have accumulated? + repeated TopicIdAndInt topic_stake = 22; + // stake reputer placed in topic + delegate stake placed in them, + // signalling their total authority on the topic + // (topic Id, reputer) -> stake from reputer on self + + // stakeFromDelegatorsUponReputer + repeated TopicIdActorIdInt stake_reputer_authority = 23; + // map of (topic id, delegator) -> total amount of stake in that topic placed + // by that delegator + repeated TopicIdActorIdInt stake_sum_from_delegator = 24; + // map of (topic id, delegator, reputer) -> amount of stake that has been + // placed by that delegator on that target + repeated TopicIdDelegatorReputerDelegatorInfo delegated_stakes = 25; + // map of (topic id, reputer) -> total amount of stake that has been placed on + // that reputer by delegators + repeated TopicIdActorIdInt stake_from_delegators_upon_reputer = 26; + // map of (topicId, reputer) -> share of delegate reward + repeated TopicIdActorIdDec delegate_reward_per_share = 27; + // stake removals are double indexed to avoid O(n) lookups when removing stake + // map of (blockHeight, topic, reputer) -> removal information for that + // reputer + repeated BlockHeightTopicIdReputerStakeRemovalInfo stake_removals_by_block = 28; + // key set of (reputer, topic, blockHeight) to existence of a removal in the + // forwards map + repeated ActorIdTopicIdBlockHeight stake_removals_by_actor = 29; + // delegate stake removals are double indexed to avoid O(n) lookups when + // removing stake map of (blockHeight, topic, delegator, reputer staked upon) + // -> (list of reputers delegated upon and info) to have stake removed at that + // block + repeated BlockHeightTopicIdDelegatorReputerDelegateStakeRemovalInfo delegate_stake_removals_by_block = 30; + // key set of (delegator, reputer, topicId, blockHeight) to existence of a + // removal in the forwards map + repeated DelegatorReputerTopicIdBlockHeight delegate_stake_removals_by_actor = 31; + + /// MISC GLOBAL STATE + // map of (topic, worker) -> inference + repeated TopicIdActorIdInference inferences = 32; + // map of (topic, worker) -> forecast[] + repeated TopicIdActorIdForecast forecasts = 33; + // map of worker id to node data about that worker + repeated LibP2pKeyAndOffchainNode workers = 34; + // map of reputer id to node data about that reputer + repeated LibP2pKeyAndOffchainNode reputers = 35; + // fee revenue collected by a topic over the course of the last reward cadence + repeated TopicIdAndInt topic_fee_revenue = 36; + // store previous weights for exponential moving average in rewards calc + repeated TopicIdAndDec previous_topic_weight = 37; + // map of (topic, block_height) -> Inference + repeated TopicIdBlockHeightInferences all_inferences = 38; + // map of (topic, block_height) -> Forecast + repeated TopicIdBlockHeightForecasts all_forecasts = 39; + // map of (topic, block_height) -> ReputerValueBundles (1 per reputer active + // at that time) + repeated TopicIdBlockHeightReputerValueBundles all_loss_bundles = 40; + // map of (topic, block_height) -> ValueBundle (1 network wide bundle per + // timestep) + repeated TopicIdBlockHeightValueBundles network_loss_bundles = 41; + // Percentage of all rewards, paid out to staked reputers, during the previous + // reward cadence. Used by mint module + string previous_percentage_reward_to_staked_reputers = 42 [ + (gogoproto.customtype) = "github.com/allora-network/allora-chain/math.Dec", + (gogoproto.nullable) = false + ]; + + /// NONCES + + // SEE 55, 56 below + // map of (topic) -> unfulfilled nonces + repeated TopicIdAndNonces unfulfilled_worker_nonces = 43; + // map of (topic) -> unfulfilled nonces + repeated TopicIdAndReputerRequestNonces unfulfilled_reputer_nonces = 44; + + /// REGRETS + // map of (topic, worker) -> regret of worker from comparing loss of worker + // relative to loss of other inferers + repeated TopicIdActorIdTimeStampedValue latest_inferer_network_regrets = 45; + // map of (topic, worker) -> regret of worker from comparing loss of worker + // relative to loss of other forecasters + repeated TopicIdActorIdTimeStampedValue latest_forecaster_network_regrets = 46; + // map of (topic, forecaster, inferer) -> R^+_{ij_kk} regret of forecaster + // loss from comparing one-in loss with all network inferer (3rd index) + // regrets L_ij made under the regime of the one-in forecaster (2nd index) + repeated TopicIdActorIdActorIdTimeStampedValue latest_one_in_forecaster_network_regrets = 47; + // the forecaster (2nd index) regrets made under the regime of the same + // forecaster as a one-in forecaster + repeated TopicIdActorIdTimeStampedValue latest_naive_inferer_network_regrets = 48; + repeated TopicIdActorIdActorIdTimeStampedValue latest_one_out_inferer_inferer_network_regrets = 49; + repeated TopicIdActorIdActorIdTimeStampedValue latest_one_out_inferer_forecaster_network_regrets = 50; + repeated TopicIdActorIdActorIdTimeStampedValue latest_one_out_forecaster_inferer_network_regrets = 51; + repeated TopicIdActorIdActorIdTimeStampedValue latest_one_out_forecaster_forecaster_network_regrets = 52; + + /// RECORD COMMITS + repeated TopicIdTimestampedActorNonce topic_last_worker_commit = 53; + repeated TopicIdTimestampedActorNonce topic_last_reputer_commit = 54; + + /// WINDOW + // map of open worker nonce windows for topics on particular block heights + repeated BlockHeightAndTopicIds open_worker_windows = 55; + + /// DRIPS + // map of (topic) -> last dripped block + repeated TopicIdAndBlockHeight last_drip_block = 56; + + // ACTIVE TOPIC + repeated TopicIdAndBlockHeight topic_to_next_possible_churning_block = 57; + repeated BlockHeightTopicIds block_to_active_topics = 58; + repeated BlockHeightTopicIdWeightPair block_to_lowest_active_topic_weight = 59; + + /// EMA SCORES + // map of (topic, block_height, worker) -> score + repeated TopicIdActorIdScore inferer_score_emas = 60; + // map of (topic, block_height, worker) -> score + repeated TopicIdActorIdScore forecaster_score_emas = 61; + // map of (topic, block_height, reputer) -> score + repeated TopicIdActorIdScore reputer_score_emas = 62; + + // EMA + repeated TopicIdAndDec previous_topic_quantile_inferer_score_ema = 63; + repeated TopicIdAndDec previous_topic_quantile_forecaster_score_ema = 64; + repeated TopicIdAndDec previous_topic_quantile_reputer_score_ema = 65; + + // INCLUSIONS + repeated TopicIdActorIdUint64 count_inferer_inclusions_in_topic_active_set = 66; + repeated TopicIdActorIdUint64 count_forecaster_inclusions_in_topic_active_set = 67; + + // active inferers for each topic + repeated TopicAndActorId active_inferers = 68; + // active forecasters for each topic + repeated TopicAndActorId active_forecasters = 69; + // lowest inferer score EMA for each topic + repeated TopicIdActorIdScore lowest_inferer_score_ema = 70; + // lowest forecaster score EMA for each topic + repeated TopicIdActorIdScore lowest_forecaster_score_ema = 71; + // active reputers for each topic + repeated TopicAndActorId active_reputers = 72; + // lowest reputer score EMA for each topic + repeated TopicIdActorIdScore lowest_reputer_score_ema = 73; + // map of (topic, reputer) -> reputer loss + repeated TopicIdReputerReputerValueBundle loss_bundles = 74; + + // total sum of topic weights + string total_sum_previous_topic_weights = 75 [ + (gogoproto.customtype) = "github.com/allora-network/allora-chain/math.Dec", + (gogoproto.nullable) = false + ]; + + // reward emission on current block + string reward_current_block_emission = 76 [ + (cosmos_proto.scalar) = "cosmos.Int", + (gogoproto.customtype) = "cosmossdk.io/math.Int", + (gogoproto.nullable) = false, + (amino.dont_omitempty) = true + ]; + + /// WHITELISTS + + repeated string whitelist_admins = 77; + repeated string global_whitelist = 78; + repeated string topic_creator_whitelist = 79; + repeated TopicAndActorId topic_worker_whitelist = 80; + repeated TopicAndActorId topic_reputer_whitelist = 81; + repeated uint64 topic_worker_whitelist_enabled = 82; + repeated uint64 topic_reputer_whitelist_enabled = 83; + + /// OUTLIER RESISTANT INFERENCES + + repeated TopicIdAndDec last_median_inferences = 84; + repeated TopicIdAndDec mad_inferences = 85; + + /// INITIAL SCORES + + // current inferer ema scores to apply per topic + // map of topic -> inferer ema score + repeated TopicIdAndDec initial_inferer_ema_score = 86; + // current forecaster ema scores to apply per topic + // map of topic -> forecaster ema score + repeated TopicIdAndDec initial_forecaster_ema_score = 87; + // current reputer ema scores to apply per topic + // map of topic -> reputer ema score + repeated TopicIdAndDec initial_reputer_ema_score = 88; + + /// MORE WHITELISTS + + repeated string global_worker_whitelist = 89; + repeated string global_reputer_whitelist = 90; + repeated string global_admin_whitelist = 91; + + // REGRET STDNORM + repeated TopicIdAndDec latest_regret_std_norm = 92; + + // WEIGHTS + repeated TopicIdActorIdDec latest_inferer_weights = 93; + repeated TopicIdActorIdDec latest_forecaster_weights = 94; +} + +message TopicIdAndTopic { + uint64 topic_id = 1; + emissions.v3.Topic topic = 2; +} + +message TopicAndActorId { + uint64 topic_id = 1; + string actor_id = 2; +} + +message TopicIdAndBlockHeight { + uint64 topic_id = 1; + int64 block_height = 2; +} + +message BlockHeightAndTopicIds { + int64 block_height = 1; + repeated uint64 topic_ids = 2; +} + +message TopicIdBlockHeightScores { + uint64 topic_id = 1; + int64 block_height = 2; + emissions.v3.Scores scores = 3; +} + +message TopicIdActorIdScore { + uint64 topic_id = 1; + string actor_id = 2; + emissions.v3.Score score = 3; +} + +message TopicIdActorIdUint64 { + uint64 topic_id = 1; + string actor_id = 2; + uint64 uint64 = 3; +} + +message TopicIdActorIdListeningCoefficient { + uint64 topic_id = 1; + string actor_id = 2; + emissions.v3.ListeningCoefficient listening_coefficient = 3; +} + +message TopicIdActorIdDec { + uint64 topic_id = 1; + string actor_id = 2; + string dec = 3 [ + (gogoproto.customtype) = "github.com/allora-network/allora-chain/math.Dec", + (gogoproto.nullable) = false + ]; +} + +message TopicIdAndInt { + uint64 topic_id = 1; + string int = 2 [ + (cosmos_proto.scalar) = "cosmos.Int", + (gogoproto.customtype) = "cosmossdk.io/math.Int", + (gogoproto.nullable) = false, + (amino.dont_omitempty) = true + ]; +} + +message TopicIdActorIdInt { + uint64 topic_id = 1; + string actor_id = 2; + string int = 3 [ + (cosmos_proto.scalar) = "cosmos.Int", + (gogoproto.customtype) = "cosmossdk.io/math.Int", + (gogoproto.nullable) = false, + (amino.dont_omitempty) = true + ]; +} + +message TopicIdDelegatorReputerDelegatorInfo { + uint64 topic_id = 1; + string delegator = 2; + string reputer = 3; + emissions.v3.DelegatorInfo delegator_info = 4; +} + +message BlockHeightTopicIdReputerStakeRemovalInfo { + int64 block_height = 1; + uint64 topic_id = 2; + string reputer = 3; + emissions.v3.StakeRemovalInfo stake_removal_info = 4; +} + +message ActorIdTopicIdBlockHeight { + string actor_id = 1; + uint64 topic_id = 2; + int64 block_height = 3; +} + +message BlockHeightTopicIdDelegatorReputerDelegateStakeRemovalInfo { + int64 block_height = 1; + uint64 topic_id = 2; + string delegator = 3; + string reputer = 4; + emissions.v3.DelegateStakeRemovalInfo delegate_stake_removal_info = 5; +} + +message DelegatorReputerTopicIdBlockHeight { + string delegator = 1; + string reputer = 2; + uint64 topic_id = 3; + int64 block_height = 4; +} + +message TopicIdActorIdInference { + uint64 topic_id = 1; + string actor_id = 2; + emissions.v3.Inference inference = 3; +} + +message TopicIdActorIdForecast { + uint64 topic_id = 1; + string actor_id = 2; + emissions.v3.Forecast forecast = 3; +} + +message LibP2pKeyAndOffchainNode { + string lib_p2p_key = 1; + emissions.v3.OffchainNode offchain_node = 2; +} + +message TopicIdAndDec { + uint64 topic_id = 1; + string dec = 2 [ + (gogoproto.customtype) = "github.com/allora-network/allora-chain/math.Dec", + (gogoproto.nullable) = false + ]; +} + +message TopicIdBlockHeightInferences { + uint64 topic_id = 1; + int64 block_height = 2; + emissions.v3.Inferences inferences = 3; +} + +message TopicIdBlockHeightForecasts { + uint64 topic_id = 1; + int64 block_height = 2; + emissions.v3.Forecasts forecasts = 3; +} + +message TopicIdBlockHeightReputerValueBundles { + uint64 topic_id = 1; + int64 block_height = 2; + emissions.v3.ReputerValueBundles reputer_value_bundles = 3; +} + +message TopicIdBlockHeightValueBundles { + uint64 topic_id = 1; + int64 block_height = 2; + emissions.v3.ValueBundle value_bundle = 3; +} + +message TopicIdAndNonces { + uint64 topic_id = 1; + emissions.v3.Nonces nonces = 2; +} + +message TopicIdAndReputerRequestNonces { + uint64 topic_id = 1; + emissions.v3.ReputerRequestNonces reputer_request_nonces = 2; +} + +message TopicIdActorIdTimeStampedValue { + uint64 topic_id = 1; + string actor_id = 2; + emissions.v3.TimestampedValue timestamped_value = 3; +} + +message TopicIdActorIdActorIdTimeStampedValue { + uint64 topic_id = 1; + string actor_id1 = 2; + string actor_id2 = 3; + emissions.v3.TimestampedValue timestamped_value = 4; +} + +message TopicIdTimestampedActorNonce { + uint64 topic_id = 1; + emissions.v3.TimestampedActorNonce timestamped_actor_nonce = 2; +} + +message BlockHeightTopicIds { + int64 block_height = 1; + emissions.v3.TopicIds topic_ids = 2; +} + +message BlockHeightTopicIdWeightPair { + int64 block_height = 1; + emissions.v3.TopicIdWeightPair topic_weight = 2; +} + +message TopicIdReputerReputerValueBundle { + uint64 topic_id = 1; + string reputer = 2; + emissions.v3.ReputerValueBundle reputer_value_bundle = 3; +} diff --git a/x/emissions/proto/emissions/v8/params.proto b/x/emissions/proto/emissions/v8/params.proto new file mode 100644 index 000000000..0b3ba096b --- /dev/null +++ b/x/emissions/proto/emissions/v8/params.proto @@ -0,0 +1,180 @@ +syntax = "proto3"; +package emissions.v8; + +import "amino/amino.proto"; +import "cosmos_proto/cosmos.proto"; +import "gogoproto/gogo.proto"; + +option go_package = "github.com/allora-network/allora-chain/x/emissions/types"; + +// Params defines the parameters of the module. +message Params { + reserved 4, 26, 27, 39, 41; + reserved "max_topics_per_block", "min_effective_topic_revenue", "max_retries_to_fulfil_nonces_worker", "topic_fee_revenue_decay_rate", "max_retries_to_fulfil_nonces_reputer"; + + string version = 1; // version of the protocol should be in lockstep with + // github release tag version + int64 max_serialized_msg_length = 2; // max length of input data for msg and query server calls + string min_topic_weight = 3 [ + (gogoproto.customtype) = "github.com/allora-network/allora-chain/math.Dec", + (gogoproto.nullable) = false + ]; // total unmet demand for a topic < this => don't run inference + // solicatation or weight-adjustment + string required_minimum_stake = 5 [ + (cosmos_proto.scalar) = "cosmos.Int", + (gogoproto.customtype) = "cosmossdk.io/math.Int", + (gogoproto.nullable) = false, + (amino.dont_omitempty) = true + ]; // minimum amount of tokens to send to stake as a reputer or worker + int64 remove_stake_delay_window = 6; // how long to wait (blocks) before allowed to remove stake + int64 min_epoch_length = 7; // fastest allowable topic epoch and cadence of a + // repeating inference request + string beta_entropy = 8 [ + (gogoproto.customtype) = "github.com/allora-network/allora-chain/math.Dec", + (gogoproto.nullable) = false + ]; // controls resilience of reward payouts against copycat workers + string learning_rate = 9 [ + (gogoproto.customtype) = "github.com/allora-network/allora-chain/math.Dec", + (gogoproto.nullable) = false + ]; // speed of gradient descent + string max_gradient_threshold = 10 [ + (gogoproto.customtype) = "github.com/allora-network/allora-chain/math.Dec", + (gogoproto.nullable) = false + ]; // gradient descent stops when gradient falls below this + string min_stake_fraction = 11 [ + (gogoproto.customtype) = "github.com/allora-network/allora-chain/math.Dec", + (gogoproto.nullable) = false + ]; // minimum fraction of stake to listen to when setting consensus listening + // coefficients + uint64 max_unfulfilled_worker_requests = 13; // max num worker request nonces to keep track of per topic + uint64 max_unfulfilled_reputer_requests = 14; // max num reputer request nonces to keep track of per topic + string topic_reward_stake_importance = 15 [ + (gogoproto.customtype) = "github.com/allora-network/allora-chain/math.Dec", + (gogoproto.nullable) = false + ]; // The exponent μ represents the importance of stake in the reward of a + // topic and has a fiducial value of 0.5 + string topic_reward_fee_revenue_importance = 16 [ + (gogoproto.customtype) = "github.com/allora-network/allora-chain/math.Dec", + (gogoproto.nullable) = false + ]; // The exponent ν represents the importance of fee revenue in the reward of + // a topic and has a fiducial value of 0.5 + string topic_reward_alpha = 17 [ + (gogoproto.customtype) = "github.com/allora-network/allora-chain/math.Dec", + (gogoproto.nullable) = false + ]; // global exponential moving average parameter. Fiducial value of 0.9375 on + // a monthly timescale, 0.5 for weekly updates + string task_reward_alpha = 18 [ + (gogoproto.customtype) = "github.com/allora-network/allora-chain/math.Dec", + (gogoproto.nullable) = false + ]; // global exponential moving average parameter. Fiducial value of 0.1 used + // to calculate ~U_ij, ~V_ik, ~W_im + string validators_vs_allora_percent_reward = 19 [ + (gogoproto.customtype) = "github.com/allora-network/allora-chain/math.Dec", + (gogoproto.nullable) = false + ]; // percent of total supply rewarded to cosmos network validators, rest goes + // to allora reputers workers etc + uint64 max_samples_to_scale_scores = 20; // number of scores to use for standard deviation calculation + uint64 max_top_inferers_to_reward = 21; // max number of top inferers by score to reward + uint64 max_top_forecasters_to_reward = 22; // max number of top forecasters by score to reward + uint64 max_top_reputers_to_reward = 23; // max number of top reputers by score to reward + string create_topic_fee = 24 [ + (cosmos_proto.scalar) = "cosmos.Int", + (gogoproto.customtype) = "cosmossdk.io/math.Int", + (gogoproto.nullable) = false, + (amino.dont_omitempty) = true + ]; // topic registration fee + uint64 gradient_descent_max_iters = 25; // max number of gradient descent iterations + string registration_fee = 28 [ + (cosmos_proto.scalar) = "cosmos.Int", + (gogoproto.customtype) = "cosmossdk.io/math.Int", + (gogoproto.nullable) = false, + (amino.dont_omitempty) = true + ]; // registration fee for reputer or worker + uint64 default_page_limit = 29; // default limit for pagination + uint64 max_page_limit = 30; // max limit for pagination + // min number of epochs to keep network losses, reputer losses, inferences, + // forecasts + int64 min_epoch_length_record_limit = 31; + // block emission rate in number of blocks expected per month + uint64 blocks_per_month = 32; + string p_reward_inference = 33 [ + (gogoproto.customtype) = "github.com/allora-network/allora-chain/math.Dec", + (gogoproto.nullable) = false + ]; + string p_reward_forecast = 34 [ + (gogoproto.customtype) = "github.com/allora-network/allora-chain/math.Dec", + (gogoproto.nullable) = false + ]; + string p_reward_reputer = 35 [ + (gogoproto.customtype) = "github.com/allora-network/allora-chain/math.Dec", + (gogoproto.nullable) = false + ]; + string c_reward_inference = 36 [ + (gogoproto.customtype) = "github.com/allora-network/allora-chain/math.Dec", + (gogoproto.nullable) = false + ]; + string c_reward_forecast = 37 [ + (gogoproto.customtype) = "github.com/allora-network/allora-chain/math.Dec", + (gogoproto.nullable) = false + ]; + string c_norm = 38 [ + (gogoproto.customtype) = "github.com/allora-network/allora-chain/math.Dec", + (gogoproto.nullable) = false + ]; + string epsilon_reputer = 40 [ + (gogoproto.customtype) = "github.com/allora-network/allora-chain/math.Dec", + (gogoproto.nullable) = false + ]; // a small tolerance quantity used to cap reputer scores at infinitesimally + // close proximities + uint64 half_max_process_stake_removals_end_block = 42; // max amount of stake removals to process in an ABCI end block. + // Applied twice once for stakeRemovals and once for + // DelegateStakeRemovals, so actual max is this number times two + string epsilon_safe_div = 43 [ + (gogoproto.customtype) = "github.com/allora-network/allora-chain/math.Dec", + (gogoproto.nullable) = false + ]; + /// a small tolerance quantity used to cap division by zero + string data_sending_fee = 44 [ + (cosmos_proto.scalar) = "cosmos.Int", + (gogoproto.customtype) = "cosmossdk.io/math.Int", + (gogoproto.nullable) = false, + (amino.dont_omitempty) = true + ]; + // payload sending fee for reputer or worker + uint64 max_elements_per_forecast = 45; // max number of top forecasters by score to reward + uint64 max_active_topics_per_block = 46; // max number of active topics per block + uint64 max_string_length = 47; // max permittible length of strings uploaded to the chain + string initial_regret_quantile = 48 [ // quantile value for getting initial regret during network regret calculation + (gogoproto.customtype) = "github.com/allora-network/allora-chain/math.Dec", + (gogoproto.nullable) = false + ]; + string p_norm_safe_div = 49 [ // pnorm divide value to calculate offset with cnorm + (gogoproto.customtype) = "github.com/allora-network/allora-chain/math.Dec", + (gogoproto.nullable) = false + ]; + bool global_whitelist_enabled = 50 [(amino.dont_omitempty) = true]; // global whitelist enabled => all global whitelisted actors can create topics + // and participate in all topics as workers and reputers + bool topic_creator_whitelist_enabled = 51 [(amino.dont_omitempty) = true]; // topic creator whitelist enabled => only topic creator whitelisted actors can create topics + uint64 min_experienced_worker_regrets = 52; // minimum number of experienced workers required to use their regrets + // for calculating the topic initial regret + string inference_outlier_detection_threshold = 53 [ + (gogoproto.customtype) = "github.com/allora-network/allora-chain/math.Dec", + (gogoproto.nullable) = false + ]; + string inference_outlier_detection_alpha = 54 [ + (gogoproto.customtype) = "github.com/allora-network/allora-chain/math.Dec", + (gogoproto.nullable) = false + ]; + string lambda_initial_score = 55 [ + (gogoproto.customtype) = "github.com/allora-network/allora-chain/math.Dec", + (gogoproto.nullable) = false + ]; + bool global_worker_whitelist_enabled = 56 [(amino.dont_omitempty) = true]; + bool global_reputer_whitelist_enabled = 57 [(amino.dont_omitempty) = true]; + bool global_admin_whitelist_appended = 58 [(amino.dont_omitempty) = true]; + uint64 max_whitelist_input_array_length = 59 [(amino.dont_omitempty) = true]; + string min_weight_threshold_for_stdnorm = 60 [ + (gogoproto.customtype) = "github.com/allora-network/allora-chain/math.Dec", + (gogoproto.nullable) = false + ]; +} diff --git a/x/emissions/proto/emissions/v8/query.proto b/x/emissions/proto/emissions/v8/query.proto new file mode 100644 index 000000000..b1315901b --- /dev/null +++ b/x/emissions/proto/emissions/v8/query.proto @@ -0,0 +1,1702 @@ +syntax = "proto3"; +package emissions.v8; + +import "amino/amino.proto"; +import "cosmos/query/v1/query.proto"; +import "cosmos_proto/cosmos.proto"; +import "emissions/v3/inference.proto"; +import "emissions/v3/node.proto"; +import "emissions/v3/nonce.proto"; +import "emissions/v3/reputer.proto"; +import "emissions/v3/score.proto"; +import "emissions/v3/stake.proto"; +import "emissions/v3/topic.proto"; +import "emissions/v3/types.proto"; +import "emissions/v3/worker.proto"; +import "emissions/v8/params.proto"; +import "gogoproto/gogo.proto"; +import "google/api/annotations.proto"; + +option go_package = "github.com/allora-network/allora-chain/x/emissions/types"; + +// Msg defines the module Msg service. +service QueryService { + // Params returns the module parameters. + rpc GetParams(GetParamsRequest) returns (GetParamsResponse) { + option (google.api.http).get = "/emissions/v8/params"; + } + + rpc GetNextTopicId(GetNextTopicIdRequest) returns (GetNextTopicIdResponse) { + option (cosmos.query.v1.module_query_safe) = true; + option (google.api.http).get = "/emissions/v8/next_topic_id"; + } + + rpc GetTopic(GetTopicRequest) returns (GetTopicResponse) { + option (cosmos.query.v1.module_query_safe) = true; + option (google.api.http).get = "/emissions/v8/topics/{topic_id}"; + } + + rpc GetWorkerLatestInferenceByTopicId(GetWorkerLatestInferenceByTopicIdRequest) returns (GetWorkerLatestInferenceByTopicIdResponse) { + option (cosmos.query.v1.module_query_safe) = true; + option (google.api.http).get = "/emissions/v8/topics/{topic_id}/workers/{worker_address}/latest_inference"; + } + + rpc GetInferencesAtBlock(GetInferencesAtBlockRequest) returns (GetInferencesAtBlockResponse) { + option (cosmos.query.v1.module_query_safe) = true; + option (google.api.http).get = "/emissions/v8/inferences/{topic_id}/{block_height}"; + } + + rpc GetLatestTopicInferences(GetLatestTopicInferencesRequest) returns (GetLatestTopicInferencesResponse) { + option (cosmos.query.v1.module_query_safe) = true; + option (google.api.http).get = "/emissions/v8/latest_inferences/{topic_id}"; + } + + rpc GetForecastsAtBlock(GetForecastsAtBlockRequest) returns (GetForecastsAtBlockResponse) { + option (cosmos.query.v1.module_query_safe) = true; + option (google.api.http).get = "/emissions/v8/forecasts/{topic_id}/{block_height}"; + } + + rpc GetNetworkLossBundleAtBlock(GetNetworkLossBundleAtBlockRequest) returns (GetNetworkLossBundleAtBlockResponse) { + option (cosmos.query.v1.module_query_safe) = true; + option (google.api.http).get = "/emissions/v8/network_loss/{topic_id}/{block_height}"; + } + + rpc GetTotalStake(GetTotalStakeRequest) returns (GetTotalStakeResponse) { + option (cosmos.query.v1.module_query_safe) = true; + option (google.api.http).get = "/emissions/v8/total_stake"; + } + + rpc GetReputerStakeInTopic(GetReputerStakeInTopicRequest) returns (GetReputerStakeInTopicResponse) { + option (cosmos.query.v1.module_query_safe) = true; + option (google.api.http).get = "/emissions/v8/reputer_stake/{address}/{topic_id}"; + } + + rpc GetMultiReputerStakeInTopic(GetMultiReputerStakeInTopicRequest) returns (GetMultiReputerStakeInTopicResponse) { + option (cosmos.query.v1.module_query_safe) = true; + option (google.api.http).get = "/emissions/v8/reputers_stakes/{topic_id}"; + } + + rpc GetStakeFromReputerInTopicInSelf(GetStakeFromReputerInTopicInSelfRequest) returns (GetStakeFromReputerInTopicInSelfResponse) { + option (cosmos.query.v1.module_query_safe) = true; + option (google.api.http).get = "/emissions/v8/reputer_stake_self/{reputer_address}/{topic_id}"; + } + + rpc GetDelegateStakeInTopicInReputer(GetDelegateStakeInTopicInReputerRequest) returns (GetDelegateStakeInTopicInReputerResponse) { + option (cosmos.query.v1.module_query_safe) = true; + option (google.api.http).get = "/emissions/v8/reputer_delegate_stake/{reputer_address}/{topic_id}"; + } + + rpc GetStakeFromDelegatorInTopicInReputer(GetStakeFromDelegatorInTopicInReputerRequest) returns (GetStakeFromDelegatorInTopicInReputerResponse) { + option (cosmos.query.v1.module_query_safe) = true; + option (google.api.http).get = "/emissions/v8/delegate_stake/{delegator_address}/{reputer_address}/{topic_id}"; + } + + rpc GetStakeFromDelegatorInTopic(GetStakeFromDelegatorInTopicRequest) returns (GetStakeFromDelegatorInTopicResponse) { + option (cosmos.query.v1.module_query_safe) = true; + option (google.api.http).get = "/emissions/v8/delegate_stake/{delegator_address}/{topic_id}"; + } + + rpc GetTopicStake(GetTopicStakeRequest) returns (GetTopicStakeResponse) { + option (cosmos.query.v1.module_query_safe) = true; + option (google.api.http).get = "/emissions/v8/stake/{topic_id}"; + } + + rpc GetStakeRemovalsUpUntilBlock(GetStakeRemovalsUpUntilBlockRequest) returns (GetStakeRemovalsUpUntilBlockResponse) { + option (cosmos.query.v1.module_query_safe) = true; + option (google.api.http).get = "/emissions/v8/stake_removals/{block_height}"; + } + + rpc GetDelegateStakeRemovalsUpUntilBlock(GetDelegateStakeRemovalsUpUntilBlockRequest) returns (GetDelegateStakeRemovalsUpUntilBlockResponse) { + option (cosmos.query.v1.module_query_safe) = true; + option (google.api.http).get = "/emissions/v8/delegate_stake_removals/{block_height}"; + } + + rpc GetStakeRemovalInfo(GetStakeRemovalInfoRequest) returns (GetStakeRemovalInfoResponse) { + option (cosmos.query.v1.module_query_safe) = true; + option (google.api.http).get = "/emissions/v8/stake_removal/{topic_id}/{reputer}"; + } + + rpc GetDelegateStakeRemovalInfo(GetDelegateStakeRemovalInfoRequest) returns (GetDelegateStakeRemovalInfoResponse) { + option (cosmos.query.v1.module_query_safe) = true; + option (google.api.http).get = "/emissions/v8/delegate_stake_removal/{topic_id}/{delegator}/{reputer}"; + } + + rpc GetWorkerNodeInfo(GetWorkerNodeInfoRequest) returns (GetWorkerNodeInfoResponse) { + option (cosmos.query.v1.module_query_safe) = true; + option (google.api.http).get = "/emissions/v8/worker/{address}"; + } + + rpc GetReputerNodeInfo(GetReputerNodeInfoRequest) returns (GetReputerNodeInfoResponse) { + option (cosmos.query.v1.module_query_safe) = true; + option (google.api.http).get = "/emissions/v8/reputer/{address}"; + } + + rpc IsWorkerRegisteredInTopicId(IsWorkerRegisteredInTopicIdRequest) returns (IsWorkerRegisteredInTopicIdResponse) { + option (cosmos.query.v1.module_query_safe) = true; + option (google.api.http).get = "/emissions/v8/worker_registered/{topic_id}/{address}"; + } + + rpc IsReputerRegisteredInTopicId(IsReputerRegisteredInTopicIdRequest) returns (IsReputerRegisteredInTopicIdResponse) { + option (cosmos.query.v1.module_query_safe) = true; + option (google.api.http).get = "/emissions/v8/reputer_registered/{topic_id}/{address}"; + } + + rpc GetNetworkInferencesAtBlock(GetNetworkInferencesAtBlockRequest) returns (GetNetworkInferencesAtBlockResponse) { + option (cosmos.query.v1.module_query_safe) = true; + option (google.api.http).get = "/emissions/v8/network_inferences/{topic_id}/last_inference/{block_height_last_inference}"; + } + + rpc GetNetworkInferencesAtBlockOutlierResistant(GetNetworkInferencesAtBlockOutlierResistantRequest) returns (GetNetworkInferencesAtBlockOutlierResistantResponse) { + option (cosmos.query.v1.module_query_safe) = true; + option (google.api.http).get = "/emissions/v8/network_inferences_outlier_resistant/{topic_id}/last_inference/{block_height_last_inference}"; + } + + rpc GetLatestNetworkInferences(GetLatestNetworkInferencesRequest) returns (GetLatestNetworkInferencesResponse) { + option (cosmos.query.v1.module_query_safe) = true; + option (google.api.http).get = "/emissions/v8/latest_network_inferences/{topic_id}"; + } + + rpc GetLatestNetworkInferencesOutlierResistant(GetLatestNetworkInferencesOutlierResistantRequest) returns (GetLatestNetworkInferencesOutlierResistantResponse) { + option (cosmos.query.v1.module_query_safe) = true; + option (google.api.http).get = "/emissions/v8/latest_network_inferences_outlier_resistant/{topic_id}"; + } + + rpc GetLatestAvailableNetworkInferences(GetLatestAvailableNetworkInferencesRequest) returns (GetLatestAvailableNetworkInferencesResponse) { + option (cosmos.query.v1.module_query_safe) = true; + option (google.api.http).get = "/emissions/v8/latest_available_network_inferences/{topic_id}"; + } + + rpc GetLatestAvailableNetworkInferencesOutlierResistant(GetLatestAvailableNetworkInferencesOutlierResistantRequest) returns (GetLatestAvailableNetworkInferencesOutlierResistantResponse) { + option (cosmos.query.v1.module_query_safe) = true; + option (google.api.http).get = "/emissions/v8/latest_available_network_inferences_outlier_resistant/{topic_id}"; + } + + rpc IsWorkerNonceUnfulfilled(IsWorkerNonceUnfulfilledRequest) returns (IsWorkerNonceUnfulfilledResponse) { + option (cosmos.query.v1.module_query_safe) = true; + option (google.api.http).get = "/emissions/v8/is_worker_nonce_unfulfilled/{topic_id}/{block_height}"; + } + + rpc IsReputerNonceUnfulfilled(IsReputerNonceUnfulfilledRequest) returns (IsReputerNonceUnfulfilledResponse) { + option (cosmos.query.v1.module_query_safe) = true; + option (google.api.http).get = "/emissions/v8/is_reputer_nonce_unfulfilled/{topic_id}/{block_height}"; + } + + rpc GetUnfulfilledWorkerNonces(GetUnfulfilledWorkerNoncesRequest) returns (GetUnfulfilledWorkerNoncesResponse) { + option (cosmos.query.v1.module_query_safe) = true; + option (google.api.http).get = "/emissions/v8/unfulfilled_worker_nonces/{topic_id}"; + } + + rpc GetUnfulfilledReputerNonces(GetUnfulfilledReputerNoncesRequest) returns (GetUnfulfilledReputerNoncesResponse) { + option (cosmos.query.v1.module_query_safe) = true; + option (google.api.http).get = "/emissions/v8/unfulfilled_reputer_nonces/{topic_id}"; + } + + rpc GetInfererNetworkRegret(GetInfererNetworkRegretRequest) returns (GetInfererNetworkRegretResponse) { + option (cosmos.query.v1.module_query_safe) = true; + option (google.api.http).get = "/emissions/v8/inferer_network_regret/{topic_id}/{actor_id}"; + } + + rpc GetForecasterNetworkRegret(GetForecasterNetworkRegretRequest) returns (GetForecasterNetworkRegretResponse) { + option (cosmos.query.v1.module_query_safe) = true; + option (google.api.http).get = "/emissions/v8/forecaster_network_regret/{topic_id}/{worker}"; + } + + rpc GetOneInForecasterNetworkRegret(GetOneInForecasterNetworkRegretRequest) returns (GetOneInForecasterNetworkRegretResponse) { + option (cosmos.query.v1.module_query_safe) = true; + option (google.api.http).get = "/emissions/v8/one_in_forecaster_network_regret/{topic_id}/{forecaster}/{inferer}"; + } + + rpc IsWhitelistAdmin(IsWhitelistAdminRequest) returns (IsWhitelistAdminResponse) { + option (google.api.http).get = "/emissions/v8/whitelist_admin/{address}"; + } + + rpc GetTopicLastWorkerCommitInfo(GetTopicLastWorkerCommitInfoRequest) returns (GetTopicLastWorkerCommitInfoResponse) { + option (cosmos.query.v1.module_query_safe) = true; + option (google.api.http).get = "/emissions/v8/topic_last_worker_commit_info/{topic_id}"; + } + + rpc GetTopicLastReputerCommitInfo(GetTopicLastReputerCommitInfoRequest) returns (GetTopicLastReputerCommitInfoResponse) { + option (cosmos.query.v1.module_query_safe) = true; + option (google.api.http).get = "/emissions/v8/topic_last_reputer_commit_info/{topic_id}"; + } + + rpc GetTopicRewardNonce(GetTopicRewardNonceRequest) returns (GetTopicRewardNonceResponse) { + option (cosmos.query.v1.module_query_safe) = true; + option (google.api.http).get = "/emissions/v8/topic_reward_nonce/{topic_id}"; + } + + rpc GetReputerLossBundlesAtBlock(GetReputerLossBundlesAtBlockRequest) returns (GetReputerLossBundlesAtBlockResponse) { + option (cosmos.query.v1.module_query_safe) = true; + option (google.api.http).get = "/emissions/v8/reputer_loss_bundles/{topic_id}/{block_height}"; + } + + rpc GetStakeReputerAuthority(GetStakeReputerAuthorityRequest) returns (GetStakeReputerAuthorityResponse) { + option (cosmos.query.v1.module_query_safe) = true; + option (google.api.http).get = "/emissions/v8/stake_reputer_authority/{topic_id}/{reputer}"; + } + + rpc GetDelegateStakePlacement(GetDelegateStakePlacementRequest) returns (GetDelegateStakePlacementResponse) { + option (cosmos.query.v1.module_query_safe) = true; + option (google.api.http).get = "/emissions/v8/delegate_stake_placement/{topic_id}/{delegator}/{target}"; + } + + rpc GetDelegateStakeUponReputer(GetDelegateStakeUponReputerRequest) returns (GetDelegateStakeUponReputerResponse) { + option (cosmos.query.v1.module_query_safe) = true; + option (google.api.http).get = "/emissions/v8/delegate_stake_upon_reputer/{topic_id}/{target}"; + } + + rpc GetDelegateRewardPerShare(GetDelegateRewardPerShareRequest) returns (GetDelegateRewardPerShareResponse) { + option (cosmos.query.v1.module_query_safe) = true; + option (google.api.http).get = "/emissions/v8/delegate_reward_per_share/{topic_id}/{reputer}"; + } + + rpc GetStakeRemovalForReputerAndTopicId(GetStakeRemovalForReputerAndTopicIdRequest) returns (GetStakeRemovalForReputerAndTopicIdResponse) { + option (cosmos.query.v1.module_query_safe) = true; + option (google.api.http).get = "/emissions/v8/stake_removal/{reputer}/{topic_id}"; + } + + rpc GetDelegateStakeRemoval(GetDelegateStakeRemovalRequest) returns (GetDelegateStakeRemovalResponse) { + option (cosmos.query.v1.module_query_safe) = true; + option (google.api.http).get = "/emissions/v8/delegate_stake_removal/{block_height}/{topic_id}/{delegator}/{reputer}"; + } + + rpc GetPreviousTopicWeight(GetPreviousTopicWeightRequest) returns (GetPreviousTopicWeightResponse) { + option (cosmos.query.v1.module_query_safe) = true; + option (google.api.http).get = "/emissions/v8/previous_topic_weight/{topic_id}"; + } + + rpc GetTotalSumPreviousTopicWeights(GetTotalSumPreviousTopicWeightsRequest) returns (GetTotalSumPreviousTopicWeightsResponse) { + option (cosmos.query.v1.module_query_safe) = true; + option (google.api.http).get = "/emissions/v8/sum_previous_total_topic_weight"; + } + + rpc TopicExists(TopicExistsRequest) returns (TopicExistsResponse) { + option (cosmos.query.v1.module_query_safe) = true; + option (google.api.http).get = "/emissions/v8/topic_exists/{topic_id}"; + } + + rpc IsTopicActive(IsTopicActiveRequest) returns (IsTopicActiveResponse) { + option (cosmos.query.v1.module_query_safe) = true; + option (google.api.http).get = "/emissions/v8/is_topic_active/{topic_id}"; + } + + rpc GetTopicFeeRevenue(GetTopicFeeRevenueRequest) returns (GetTopicFeeRevenueResponse) { + option (cosmos.query.v1.module_query_safe) = true; + option (google.api.http).get = "/emissions/v8/topic_fee_revenue/{topic_id}"; + } + + rpc GetInfererScoreEma(GetInfererScoreEmaRequest) returns (GetInfererScoreEmaResponse) { + option (cosmos.query.v1.module_query_safe) = true; + option (google.api.http).get = "/emissions/v8/inferer_score_ema/{topic_id}/{inferer}"; + } + + rpc GetForecasterScoreEma(GetForecasterScoreEmaRequest) returns (GetForecasterScoreEmaResponse) { + option (cosmos.query.v1.module_query_safe) = true; + option (google.api.http).get = "/emissions/v8/forecaster_score_ema/{topic_id}/{forecaster}"; + } + + rpc GetReputerScoreEma(GetReputerScoreEmaRequest) returns (GetReputerScoreEmaResponse) { + option (cosmos.query.v1.module_query_safe) = true; + option (google.api.http).get = "/emissions/v8/reputer_score_ema/{topic_id}/{reputer}"; + } + + rpc GetInferenceScoresUntilBlock(GetInferenceScoresUntilBlockRequest) returns (GetInferenceScoresUntilBlockResponse) { + option (cosmos.query.v1.module_query_safe) = true; + option (google.api.http).get = "/emissions/v8/inference_scores_until_block/{topic_id}/{block_height}"; + } + + rpc GetPreviousTopicQuantileForecasterScoreEma(GetPreviousTopicQuantileForecasterScoreEmaRequest) returns (GetPreviousTopicQuantileForecasterScoreEmaResponse) { + option (cosmos.query.v1.module_query_safe) = true; + option (google.api.http).get = "/emissions/v8/topic_quantile_forecaster_score_ema/{topic_id}"; + } + + rpc GetPreviousTopicQuantileInfererScoreEma(GetPreviousTopicQuantileInfererScoreEmaRequest) returns (GetPreviousTopicQuantileInfererScoreEmaResponse) { + option (cosmos.query.v1.module_query_safe) = true; + option (google.api.http).get = "/emissions/v8/topic_quantile_inferer_score_ema/{topic_id}"; + } + + rpc GetPreviousTopicQuantileReputerScoreEma(GetPreviousTopicQuantileReputerScoreEmaRequest) returns (GetPreviousTopicQuantileReputerScoreEmaResponse) { + option (cosmos.query.v1.module_query_safe) = true; + option (google.api.http).get = "/emissions/v8/topic_quantile_reputer_score_ema/{topic_id}"; + } + + rpc GetWorkerInferenceScoresAtBlock(GetWorkerInferenceScoresAtBlockRequest) returns (GetWorkerInferenceScoresAtBlockResponse) { + option (cosmos.query.v1.module_query_safe) = true; + option (google.api.http).get = "/emissions/v8/worker_inference_scores_at_block/{topic_id}/{block_height}"; + } + + rpc GetCurrentLowestInfererScore(GetCurrentLowestInfererScoreRequest) returns (GetCurrentLowestInfererScoreResponse) { + option (cosmos.query.v1.module_query_safe) = true; + option (google.api.http).get = "/emissions/v8/current_lowest_inferer_score/{topic_id}"; + } + + rpc GetForecastScoresUntilBlock(GetForecastScoresUntilBlockRequest) returns (GetForecastScoresUntilBlockResponse) { + option (cosmos.query.v1.module_query_safe) = true; + option (google.api.http).get = "/emissions/v8/forecast_scores_until_block/{topic_id}/{block_height}"; + } + + rpc GetWorkerForecastScoresAtBlock(GetWorkerForecastScoresAtBlockRequest) returns (GetWorkerForecastScoresAtBlockResponse) { + option (cosmos.query.v1.module_query_safe) = true; + option (google.api.http).get = "/emissions/v8/worker_forecast_scores_at_block/{topic_id}/{block_height}"; + } + + rpc GetCurrentLowestForecasterScore(GetCurrentLowestForecasterScoreRequest) returns (GetCurrentLowestForecasterScoreResponse) { + option (cosmos.query.v1.module_query_safe) = true; + option (google.api.http).get = "/emissions/v8/current_lowest_forecaster_score/{topic_id}"; + } + + rpc GetReputersScoresAtBlock(GetReputersScoresAtBlockRequest) returns (GetReputersScoresAtBlockResponse) { + option (cosmos.query.v1.module_query_safe) = true; + option (google.api.http).get = "/emissions/v8/reputers_scores_at_block/{topic_id}/{block_height}"; + } + + rpc GetCurrentLowestReputerScore(GetCurrentLowestReputerScoreRequest) returns (GetCurrentLowestReputerScoreResponse) { + option (cosmos.query.v1.module_query_safe) = true; + option (google.api.http).get = "/emissions/v8/current_lowest_reputer_score/{topic_id}"; + } + + rpc GetListeningCoefficient(GetListeningCoefficientRequest) returns (GetListeningCoefficientResponse) { + option (cosmos.query.v1.module_query_safe) = true; + option (google.api.http).get = "/emissions/v8/listening_coefficient/{topic_id}/{reputer}"; + } + + rpc GetPreviousReputerRewardFraction(GetPreviousReputerRewardFractionRequest) returns (GetPreviousReputerRewardFractionResponse) { + option (cosmos.query.v1.module_query_safe) = true; + option (google.api.http).get = "/emissions/v8/previous_reputer_reward_fraction/{topic_id}/{reputer}"; + } + + rpc GetPreviousInferenceRewardFraction(GetPreviousInferenceRewardFractionRequest) returns (GetPreviousInferenceRewardFractionResponse) { + option (cosmos.query.v1.module_query_safe) = true; + option (google.api.http).get = "/emissions/v8/previous_inference_reward_fraction/{topic_id}/{worker}"; + } + + rpc GetPreviousForecastRewardFraction(GetPreviousForecastRewardFractionRequest) returns (GetPreviousForecastRewardFractionResponse) { + option (cosmos.query.v1.module_query_safe) = true; + option (google.api.http).get = "/emissions/v8/previous_forecast_reward_fraction/{topic_id}/{worker}"; + } + + rpc GetPreviousPercentageRewardToStakedReputers(GetPreviousPercentageRewardToStakedReputersRequest) returns (GetPreviousPercentageRewardToStakedReputersResponse) { + option (cosmos.query.v1.module_query_safe) = true; + option (google.api.http).get = "/emissions/v8/previous_percentage_reward_to_staked_reputers"; + } + + rpc GetTotalRewardToDistribute(GetTotalRewardToDistributeRequest) returns (GetTotalRewardToDistributeResponse) { + option (cosmos.query.v1.module_query_safe) = true; + option (google.api.http).get = "/emissions/v8/total_reward_to_distribute"; + } + + rpc GetNaiveInfererNetworkRegret(GetNaiveInfererNetworkRegretRequest) returns (GetNaiveInfererNetworkRegretResponse) { + option (cosmos.query.v1.module_query_safe) = true; + option (google.api.http).get = "/emissions/v8/native_inferer_network_regret"; + } + + rpc GetOneOutInfererInfererNetworkRegret(GetOneOutInfererInfererNetworkRegretRequest) returns (GetOneOutInfererInfererNetworkRegretResponse) { + option (cosmos.query.v1.module_query_safe) = true; + option (google.api.http).get = "/emissions/v8/one_out_inferer_inferer_network_regret"; + } + + rpc GetOneOutInfererForecasterNetworkRegret(GetOneOutInfererForecasterNetworkRegretRequest) returns (GetOneOutInfererForecasterNetworkRegretResponse) { + option (cosmos.query.v1.module_query_safe) = true; + option (google.api.http).get = "/emissions/v8/one_out_inferer_forecaster_network_regret"; + } + + rpc GetOneOutForecasterInfererNetworkRegret(GetOneOutForecasterInfererNetworkRegretRequest) returns (GetOneOutForecasterInfererNetworkRegretResponse) { + option (cosmos.query.v1.module_query_safe) = true; + option (google.api.http).get = "/emissions/v8/one_out_forecaster_inferer_network_regret"; + } + + rpc GetOneOutForecasterForecasterNetworkRegret(GetOneOutForecasterForecasterNetworkRegretRequest) returns (GetOneOutForecasterForecasterNetworkRegretResponse) { + option (cosmos.query.v1.module_query_safe) = true; + option (google.api.http).get = "/emissions/v8/one_out_forecaster_forecaster_network_regret"; + } + + rpc GetActiveTopicsAtBlock(GetActiveTopicsAtBlockRequest) returns (GetActiveTopicsAtBlockResponse) { + option (cosmos.query.v1.module_query_safe) = true; + option (google.api.http).get = "/emissions/v8/active_topics_at_block/{block_height}"; + } + + rpc GetNextChurningBlockByTopicId(GetNextChurningBlockByTopicIdRequest) returns (GetNextChurningBlockByTopicIdResponse) { + option (cosmos.query.v1.module_query_safe) = true; + option (google.api.http).get = "/emissions/v8/next_churning_block_by_topic_id/{topic_id}"; + } + + rpc GetCountInfererInclusionsInTopic(GetCountInfererInclusionsInTopicRequest) returns (GetCountInfererInclusionsInTopicResponse) { + option (cosmos.query.v1.module_query_safe) = true; + option (google.api.http).get = "/emissions/v8/count_inferer_inclusions_in_topic/{topic_id}/{inferer}"; + } + + rpc GetCountForecasterInclusionsInTopic(GetCountForecasterInclusionsInTopicRequest) returns (GetCountForecasterInclusionsInTopicResponse) { + option (cosmos.query.v1.module_query_safe) = true; + option (google.api.http).get = "/emissions/v8/count_forecaster_inclusions_in_topic/{topic_id}/{forecaster}"; + } + + rpc GetActiveReputersForTopic(GetActiveReputersForTopicRequest) returns (GetActiveReputersForTopicResponse) { + option (cosmos.query.v1.module_query_safe) = true; + option (google.api.http).get = "/emissions/v8/active_reputers/{topic_id}"; + } + + rpc GetActiveForecastersForTopic(GetActiveForecastersForTopicRequest) returns (GetActiveForecastersForTopicResponse) { + option (cosmos.query.v1.module_query_safe) = true; + option (google.api.http).get = "/emissions/v8/active_forecasters/{topic_id}"; + } + + rpc GetActiveInferersForTopic(GetActiveInferersForTopicRequest) returns (GetActiveInferersForTopicResponse) { + option (cosmos.query.v1.module_query_safe) = true; + option (google.api.http).get = "/emissions/v8/active_inferers/{topic_id}"; + } + + rpc IsWhitelistedGlobalWorker(IsWhitelistedGlobalWorkerRequest) returns (IsWhitelistedGlobalWorkerResponse) { + option (cosmos.query.v1.module_query_safe) = true; + option (google.api.http).get = "/emissions/v8/is_whitelisted_global_worker/{address}"; + } + + rpc IsWhitelistedGlobalReputer(IsWhitelistedGlobalReputerRequest) returns (IsWhitelistedGlobalReputerResponse) { + option (cosmos.query.v1.module_query_safe) = true; + option (google.api.http).get = "/emissions/v8/is_whitelisted_global_reputer/{address}"; + } + + rpc IsWhitelistedGlobalAdmin(IsWhitelistedGlobalAdminRequest) returns (IsWhitelistedGlobalAdminResponse) { + option (cosmos.query.v1.module_query_safe) = true; + option (google.api.http).get = "/emissions/v8/is_whitelisted_global_admin/{address}"; + } + + rpc IsTopicWorkerWhitelistEnabled(IsTopicWorkerWhitelistEnabledRequest) returns (IsTopicWorkerWhitelistEnabledResponse) { + option (cosmos.query.v1.module_query_safe) = true; + option (google.api.http).get = "/emissions/v8/is_topic_worker_whitelist_enabled/{topic_id}"; + } + + rpc IsTopicReputerWhitelistEnabled(IsTopicReputerWhitelistEnabledRequest) returns (IsTopicReputerWhitelistEnabledResponse) { + option (cosmos.query.v1.module_query_safe) = true; + option (google.api.http).get = "/emissions/v8/is_topic_reputer_whitelist_enabled/{topic_id}"; + } + + rpc IsWhitelistedTopicCreator(IsWhitelistedTopicCreatorRequest) returns (IsWhitelistedTopicCreatorResponse) { + option (cosmos.query.v1.module_query_safe) = true; + option (google.api.http).get = "/emissions/v8/is_whitelisted_topic_creator/{address}"; + } + + rpc IsWhitelistedGlobalActor(IsWhitelistedGlobalActorRequest) returns (IsWhitelistedGlobalActorResponse) { + option (cosmos.query.v1.module_query_safe) = true; + option (google.api.http).get = "/emissions/v8/is_whitelisted_global_actor/{address}"; + } + + rpc IsWhitelistedTopicWorker(IsWhitelistedTopicWorkerRequest) returns (IsWhitelistedTopicWorkerResponse) { + option (cosmos.query.v1.module_query_safe) = true; + option (google.api.http).get = "/emissions/v8/is_whitelisted_topic_worker/{topic_id}/{address}"; + } + + rpc IsWhitelistedTopicReputer(IsWhitelistedTopicReputerRequest) returns (IsWhitelistedTopicReputerResponse) { + option (cosmos.query.v1.module_query_safe) = true; + option (google.api.http).get = "/emissions/v8/is_whitelisted_topic_reputer/{topic_id}/{address}"; + } + + rpc CanUpdateAllGlobalWhitelists(CanUpdateAllGlobalWhitelistsRequest) returns (CanUpdateAllGlobalWhitelistsResponse) { + option (cosmos.query.v1.module_query_safe) = true; + option (google.api.http).get = "/emissions/v8/can_update_all_global_whitelists/{address}"; + } + + rpc CanUpdateGlobalWorkerWhitelist(CanUpdateGlobalWorkerWhitelistRequest) returns (CanUpdateGlobalWorkerWhitelistResponse) { + option (cosmos.query.v1.module_query_safe) = true; + option (google.api.http).get = "/emissions/v8/can_update_global_worker_whitelist/{address}"; + } + + rpc CanUpdateGlobalReputerWhitelist(CanUpdateGlobalReputerWhitelistRequest) returns (CanUpdateGlobalReputerWhitelistResponse) { + option (cosmos.query.v1.module_query_safe) = true; + option (google.api.http).get = "/emissions/v8/can_update_global_reputer_whitelist/{address}"; + } + + rpc CanUpdateParams(CanUpdateParamsRequest) returns (CanUpdateParamsResponse) { + option (cosmos.query.v1.module_query_safe) = true; + option (google.api.http).get = "/emissions/v8/can_update_params/{address}"; + } + + rpc CanUpdateTopicWhitelist(CanUpdateTopicWhitelistRequest) returns (CanUpdateTopicWhitelistResponse) { + option (cosmos.query.v1.module_query_safe) = true; + option (google.api.http).get = "/emissions/v8/can_update_topic_whitelist/{topic_id}/{address}"; + } + + rpc CanCreateTopic(CanCreateTopicRequest) returns (CanCreateTopicResponse) { + option (cosmos.query.v1.module_query_safe) = true; + option (google.api.http).get = "/emissions/v8/can_create_topic/{address}"; + } + + rpc CanSubmitWorkerPayload(CanSubmitWorkerPayloadRequest) returns (CanSubmitWorkerPayloadResponse) { + option (cosmos.query.v1.module_query_safe) = true; + option (google.api.http).get = "/emissions/v8/can_submit_worker_payload/{topic_id}/{address}"; + } + + rpc CanSubmitReputerPayload(CanSubmitReputerPayloadRequest) returns (CanSubmitReputerPayloadResponse) { + option (cosmos.query.v1.module_query_safe) = true; + option (google.api.http).get = "/emissions/v8/can_submit_reputer_payload/{topic_id}/{address}"; + } + + // GetTopicInitialInfererEmaScore returns the initial EMA score for inferers in a topic + rpc GetTopicInitialInfererEmaScore(GetTopicInitialInfererEmaScoreRequest) returns (GetTopicInitialInfererEmaScoreResponse) { + option (cosmos.query.v1.module_query_safe) = true; + option (google.api.http).get = "/emissions/v8/initial_inferer_ema_score/{topic_id}"; + } + + // GetTopicInitialForecasterEmaScore returns the initial EMA score for forecasters in a topic + rpc GetTopicInitialForecasterEmaScore(GetTopicInitialForecasterEmaScoreRequest) returns (GetTopicInitialForecasterEmaScoreResponse) { + option (cosmos.query.v1.module_query_safe) = true; + option (google.api.http).get = "/emissions/v8/initial_forecaster_ema_score/{topic_id}"; + } + + // GetTopicInitialReputerEmaScore returns the initial EMA score for reputers in a topic + rpc GetTopicInitialReputerEmaScore(GetTopicInitialReputerEmaScoreRequest) returns (GetTopicInitialReputerEmaScoreResponse) { + option (cosmos.query.v1.module_query_safe) = true; + option (google.api.http).get = "/emissions/v8/initial_reputer_ema_score/{topic_id}"; + } + + // Get latest regret stdnorm for a topic + rpc GetLatestRegretStdNorm(GetLatestRegretStdNormRequest) returns (GetLatestRegretStdNormResponse) { + option (cosmos.query.v1.module_query_safe) = true; + option (google.api.http).get = "/emissions/v8/latest_regret_stdnorm/{topic_id}"; + } + + // Get latest inferer weight for a topic and actor + rpc GetLatestInfererWeight(GetLatestInfererWeightRequest) returns (GetLatestInfererWeightResponse) { + option (cosmos.query.v1.module_query_safe) = true; + option (google.api.http).get = "/emissions/v8/latest_inferer_weight/{topic_id}/{actor_id}"; + } + + // Get latest forecaster weight for a topic and actor + rpc GetLatestForecasterWeight(GetLatestForecasterWeightRequest) returns (GetLatestForecasterWeightResponse) { + option (cosmos.query.v1.module_query_safe) = true; + option (google.api.http).get = "/emissions/v8/latest_forecaster_weight/{topic_id}/{actor_id}"; + } +} + +message IsWhitelistedGlobalWorkerRequest { + string address = 1; +} + +message IsWhitelistedGlobalWorkerResponse { + bool is_whitelisted_global_worker = 1 [(amino.dont_omitempty) = true]; +} + +message IsWhitelistedGlobalReputerRequest { + string address = 1; +} + +message IsWhitelistedGlobalReputerResponse { + bool is_whitelisted_global_reputer = 1 [(amino.dont_omitempty) = true]; +} + +message IsWhitelistedGlobalAdminRequest { + string address = 1; +} + +message IsWhitelistedGlobalAdminResponse { + bool is_whitelisted_global_admin = 1 [(amino.dont_omitempty) = true]; +} + +message IsTopicWorkerWhitelistEnabledRequest { + uint64 topic_id = 1; +} + +message IsTopicWorkerWhitelistEnabledResponse { + bool is_topic_worker_whitelist_enabled = 1 [(amino.dont_omitempty) = true]; +} + +message IsTopicReputerWhitelistEnabledRequest { + uint64 topic_id = 1; +} + +message IsTopicReputerWhitelistEnabledResponse { + bool is_topic_reputer_whitelist_enabled = 1 [(amino.dont_omitempty) = true]; +} + +message IsWhitelistedTopicCreatorRequest { + string address = 1; +} + +message IsWhitelistedTopicCreatorResponse { + bool is_whitelisted_topic_creator = 1 [(amino.dont_omitempty) = true]; +} + +message IsWhitelistedGlobalActorRequest { + string address = 1; +} + +message IsWhitelistedGlobalActorResponse { + bool is_whitelisted_global_actor = 1 [(amino.dont_omitempty) = true]; +} + +message IsWhitelistedTopicWorkerRequest { + uint64 topic_id = 1; + string address = 2; +} + +message IsWhitelistedTopicWorkerResponse { + bool is_whitelisted_topic_worker = 1 [(amino.dont_omitempty) = true]; +} + +message IsWhitelistedTopicReputerRequest { + uint64 topic_id = 1; + string address = 2; +} + +message IsWhitelistedTopicReputerResponse { + bool is_whitelisted_topic_reputer = 1 [(amino.dont_omitempty) = true]; +} + +message CanUpdateAllGlobalWhitelistsRequest { + string address = 1; +} + +message CanUpdateAllGlobalWhitelistsResponse { + bool can_update_all_global_whitelists = 1 [(amino.dont_omitempty) = true]; +} + +message CanUpdateGlobalWorkerWhitelistRequest { + string address = 1; +} + +message CanUpdateGlobalWorkerWhitelistResponse { + bool can_update_global_worker_whitelist = 1 [(amino.dont_omitempty) = true]; +} + +message CanUpdateGlobalReputerWhitelistRequest { + string address = 1; +} + +message CanUpdateGlobalReputerWhitelistResponse { + bool can_update_global_reputer_whitelist = 1 [(amino.dont_omitempty) = true]; +} + +message CanUpdateParamsRequest { + string address = 1; +} + +message CanUpdateParamsResponse { + bool can_update_params = 1 [(amino.dont_omitempty) = true]; +} + +message CanUpdateTopicWhitelistRequest { + uint64 topic_id = 1; + string address = 2; +} + +message CanUpdateTopicWhitelistResponse { + bool can_update_topic_whitelist = 1 [(amino.dont_omitempty) = true]; +} + +message CanCreateTopicRequest { + string address = 1; +} + +message CanCreateTopicResponse { + bool can_create_topic = 1 [(amino.dont_omitempty) = true]; +} + +message CanSubmitWorkerPayloadRequest { + uint64 topic_id = 1; + string address = 2; +} + +message CanSubmitWorkerPayloadResponse { + bool can_submit_worker_payload = 1 [(amino.dont_omitempty) = true]; +} + +message CanSubmitReputerPayloadRequest { + uint64 topic_id = 1; + string address = 2; +} + +message CanSubmitReputerPayloadResponse { + bool can_submit_reputer_payload = 1 [(amino.dont_omitempty) = true]; +} + +message GetCountInfererInclusionsInTopicRequest { + uint64 topic_id = 1; + string inferer = 2; +} + +message GetCountInfererInclusionsInTopicResponse { + uint64 count = 1; +} + +message GetCountForecasterInclusionsInTopicRequest { + uint64 topic_id = 1; + string forecaster = 2; +} + +message GetCountForecasterInclusionsInTopicResponse { + uint64 count = 1; +} + +message GetNaiveInfererNetworkRegretRequest { + uint64 topic_id = 1; + string inferer = 2; +} + +message GetNaiveInfererNetworkRegretResponse { + emissions.v3.TimestampedValue regret = 1; +} + +message GetOneOutInfererInfererNetworkRegretRequest { + uint64 topic_id = 1; + string one_out_inferer = 2; + string inferer = 3; +} + +message GetOneOutInfererInfererNetworkRegretResponse { + emissions.v3.TimestampedValue regret = 1; +} + +message GetOneOutInfererForecasterNetworkRegretRequest { + uint64 topic_id = 1; + string one_out_inferer = 2; + string forecaster = 3; +} + +message GetOneOutInfererForecasterNetworkRegretResponse { + emissions.v3.TimestampedValue regret = 1; +} + +message GetOneOutForecasterInfererNetworkRegretRequest { + uint64 topic_id = 1; + string one_out_forecaster = 2; + string inferer = 3; +} + +message GetOneOutForecasterInfererNetworkRegretResponse { + emissions.v3.TimestampedValue regret = 1; +} + +message GetOneOutForecasterForecasterNetworkRegretRequest { + uint64 topic_id = 1; + string one_out_forecaster = 2; + string forecaster = 3; +} + +message GetOneOutForecasterForecasterNetworkRegretResponse { + emissions.v3.TimestampedValue regret = 1; +} + +// GetParamsRequest is the request type for the Get/Params RPC method. +message GetParamsRequest {} + +// GetParamsResponse is the response type for the Get/Params RPC method. +message GetParamsResponse { + // params defines the parameters of the module. + Params params = 1 [ + (gogoproto.nullable) = false, + (amino.dont_omitempty) = true + ]; +} + +// Total Stake returns the total amount of stake in the system +message GetTotalStakeRequest {} + +// Total Stake returns the total amount of stake in the system +// +// NOTE: The amount field is an Int which implements the custom method +// signatures required by gogoproto. +message GetTotalStakeResponse { + option (gogoproto.equal) = true; + string amount = 1 [ + (cosmos_proto.scalar) = "cosmos.Int", + (gogoproto.customtype) = "cosmossdk.io/math.Int", + (gogoproto.nullable) = false, + (amino.dont_omitempty) = true + ]; +} + +message GetReputerStakeInTopicRequest { + string address = 1; + uint64 topic_id = 2; +} + +message GetReputerStakeInTopicResponse { + option (gogoproto.equal) = true; + string amount = 1 [ + (cosmos_proto.scalar) = "cosmos.Int", + (gogoproto.customtype) = "cosmossdk.io/math.Int", + (gogoproto.nullable) = false, + (amino.dont_omitempty) = true + ]; +} + +message GetMultiReputerStakeInTopicRequest { + repeated string addresses = 1; + uint64 topic_id = 2; +} + +message GetMultiReputerStakeInTopicResponse { + repeated emissions.v3.StakeInfo amounts = 1; +} + +message GetStakeFromReputerInTopicInSelfRequest { + string reputer_address = 1; + uint64 topic_id = 2; +} + +message GetStakeFromReputerInTopicInSelfResponse { + option (gogoproto.equal) = true; + string amount = 1 [ + (cosmos_proto.scalar) = "cosmos.Int", + (gogoproto.customtype) = "cosmossdk.io/math.Int", + (gogoproto.nullable) = false, + (amino.dont_omitempty) = true + ]; +} + +message GetDelegateStakeInTopicInReputerRequest { + string reputer_address = 1; + uint64 topic_id = 2; +} + +message GetDelegateStakeInTopicInReputerResponse { + option (gogoproto.equal) = true; + string amount = 1 [ + (cosmos_proto.scalar) = "cosmos.Int", + (gogoproto.customtype) = "cosmossdk.io/math.Int", + (gogoproto.nullable) = false, + (amino.dont_omitempty) = true + ]; +} + +message GetStakeFromDelegatorInTopicInReputerRequest { + string delegator_address = 1; + string reputer_address = 2; + uint64 topic_id = 3; +} + +message GetStakeFromDelegatorInTopicInReputerResponse { + option (gogoproto.equal) = true; + string amount = 1 [ + (cosmos_proto.scalar) = "cosmos.Int", + (gogoproto.customtype) = "cosmossdk.io/math.Int", + (gogoproto.nullable) = false, + (amino.dont_omitempty) = true + ]; +} + +message GetStakeFromDelegatorInTopicRequest { + string delegator_address = 1; + uint64 topic_id = 2; +} + +message GetStakeFromDelegatorInTopicResponse { + option (gogoproto.equal) = true; + string amount = 1 [ + (cosmos_proto.scalar) = "cosmos.Int", + (gogoproto.customtype) = "cosmossdk.io/math.Int", + (gogoproto.nullable) = false, + (amino.dont_omitempty) = true + ]; +} + +message GetTopicStakeRequest { + uint64 topic_id = 1; +} + +message GetTopicStakeResponse { + option (gogoproto.equal) = true; + string amount = 1 [ + (cosmos_proto.scalar) = "cosmos.Int", + (gogoproto.customtype) = "cosmossdk.io/math.Int", + (gogoproto.nullable) = false, + (amino.dont_omitempty) = true + ]; +} + +message GetNetworkLossBundleAtBlockRequest { + uint64 topic_id = 1; + int64 block_height = 2; +} + +message GetNetworkLossBundleAtBlockResponse { + emissions.v3.ValueBundle loss_bundle = 1; +} + +message GetNextTopicIdRequest {} + +message GetNextTopicIdResponse { + uint64 next_topic_id = 1; +} + +message GetTopicRequest { + uint64 topic_id = 1; +} + +message GetTopicResponse { + emissions.v3.Topic topic = 1; + string weight = 2; + string effective_revenue = 3; +} + +message GetActiveTopicsRequest { + emissions.v3.SimpleCursorPaginationRequest pagination = 1; +} + +message GetActiveTopicsResponse { + repeated emissions.v3.Topic topics = 1; + emissions.v3.SimpleCursorPaginationResponse pagination = 2; +} + +// Returns the inferences on a topic posted at a block height +message GetInferencesAtBlockRequest { + uint64 topic_id = 1; + int64 block_height = 2; +} + +// Returns the inferences on a topic posted at a block height +// +// NOTE: The amount field is a Uint which implements the custom method +// signatures required by gogoproto. +message GetInferencesAtBlockResponse { + emissions.v3.Inferences inferences = 1; +} + +message GetLatestTopicInferencesRequest { + uint64 topic_id = 1; +} + +message GetLatestTopicInferencesResponse { + emissions.v3.Inferences inferences = 1; + int64 block_height = 2; +} + +// Returns the forecasts on a topic posted at a block height +message GetForecastsAtBlockRequest { + uint64 topic_id = 1; + int64 block_height = 2; +} + +// Returns the forecasts on a topic posted at a block height +// +// NOTE: The amount field is a Uint which implements the custom method +// signatures required by gogoproto. +message GetForecastsAtBlockResponse { + emissions.v3.Forecasts forecasts = 1; +} + +message GetWorkerLatestInferenceByTopicIdRequest { + uint64 topic_id = 1; + string worker_address = 2; +} + +message GetWorkerLatestInferenceByTopicIdResponse { + emissions.v3.Inference latest_inference = 1; +} + +message GetWorkerNodeInfoRequest { + reserved 1; + reserved "libp2p_key"; + + string address = 2; +} + +message GetWorkerNodeInfoResponse { + emissions.v3.OffchainNode node_info = 1; +} + +message GetReputerNodeInfoRequest { + reserved 1; + reserved "libp2p_key"; + + string address = 2; +} + +message GetReputerNodeInfoResponse { + emissions.v3.OffchainNode node_info = 1; +} + +message GetNetworkInferencesAtBlockRequest { + reserved 3; + reserved "block_height_last_reward"; + + uint64 topic_id = 1; + int64 block_height_last_inference = 2; +} + +message GetNetworkInferencesAtBlockOutlierResistantRequest { + uint64 topic_id = 1; + int64 block_height_last_inference = 2; +} + +message GetLatestNetworkInferencesRequest { + uint64 topic_id = 1; +} + +message GetLatestNetworkInferencesOutlierResistantRequest { + uint64 topic_id = 1; +} + +message GetLatestAvailableNetworkInferencesRequest { + uint64 topic_id = 1; +} + +message GetLatestAvailableNetworkInferencesOutlierResistantRequest { + uint64 topic_id = 1; +} + +message IsWorkerNonceUnfulfilledRequest { + uint64 topic_id = 1; + int64 block_height = 2; +} + +message IsWorkerNonceUnfulfilledResponse { + bool is_worker_nonce_unfulfilled = 1 [(amino.dont_omitempty) = true]; +} + +message GetUnfulfilledReputerNoncesRequest { + uint64 topic_id = 1; +} + +message GetUnfulfilledReputerNoncesResponse { + emissions.v3.ReputerRequestNonces nonces = 1; +} + +message GetUnfulfilledWorkerNoncesRequest { + uint64 topic_id = 1; +} + +message GetUnfulfilledWorkerNoncesResponse { + emissions.v3.Nonces nonces = 1; +} + +message GetInfererNetworkRegretRequest { + uint64 topic_id = 1; + string actor_id = 2; +} + +message GetInfererNetworkRegretResponse { + emissions.v3.TimestampedValue regret = 1; +} + +message GetForecasterNetworkRegretRequest { + uint64 topic_id = 1; + string worker = 2; +} + +message GetForecasterNetworkRegretResponse { + emissions.v3.TimestampedValue regret = 1; +} + +message GetOneInForecasterNetworkRegretRequest { + uint64 topic_id = 1; + string forecaster = 2; + string inferer = 3; +} + +message GetOneInForecasterNetworkRegretResponse { + emissions.v3.TimestampedValue regret = 1; +} + +message IsReputerNonceUnfulfilledRequest { + uint64 topic_id = 1; + int64 block_height = 2; +} + +message IsReputerNonceUnfulfilledResponse { + bool is_reputer_nonce_unfulfilled = 1 [(amino.dont_omitempty) = true]; +} + +message GetNetworkInferencesAtBlockResponse { + emissions.v3.ValueBundle network_inferences = 1; +} + +message GetNetworkInferencesAtBlockOutlierResistantResponse { + emissions.v3.ValueBundle network_inferences = 1; +} + +message GetLatestNetworkInferencesResponse { + reserved 4; + reserved "forecast_implied_inferences"; + + emissions.v3.ValueBundle network_inferences = 1; + repeated emissions.v3.RegretInformedWeight inferer_weights = 2; + repeated emissions.v3.RegretInformedWeight forecaster_weights = 3; + int64 inference_block_height = 5; + int64 loss_block_height = 6; + repeated string confidence_interval_raw_percentiles = 7 [ + (gogoproto.customtype) = "github.com/allora-network/allora-chain/math.Dec", + (gogoproto.nullable) = false + ]; + repeated string confidence_interval_values = 8 [ + (gogoproto.customtype) = "github.com/allora-network/allora-chain/math.Dec", + (gogoproto.nullable) = false + ]; +} + +message GetLatestNetworkInferencesOutlierResistantResponse { + reserved 4; + reserved "forecast_implied_inferences"; + + emissions.v3.ValueBundle network_inferences = 1; + repeated emissions.v3.RegretInformedWeight inferer_weights = 2; + repeated emissions.v3.RegretInformedWeight forecaster_weights = 3; + int64 inference_block_height = 5; + int64 loss_block_height = 6; + repeated string confidence_interval_raw_percentiles = 7 [ + (gogoproto.customtype) = "github.com/allora-network/allora-chain/math.Dec", + (gogoproto.nullable) = false + ]; + repeated string confidence_interval_values = 8 [ + (gogoproto.customtype) = "github.com/allora-network/allora-chain/math.Dec", + (gogoproto.nullable) = false + ]; +} + +message GetLatestAvailableNetworkInferencesResponse { + reserved 4; + reserved "forecast_implied_inferences"; + + emissions.v3.ValueBundle network_inferences = 1; + repeated emissions.v3.RegretInformedWeight inferer_weights = 2; + repeated emissions.v3.RegretInformedWeight forecaster_weights = 3; + int64 inference_block_height = 5; + int64 loss_block_height = 6; + repeated string confidence_interval_raw_percentiles = 7 [ + (gogoproto.customtype) = "github.com/allora-network/allora-chain/math.Dec", + (gogoproto.nullable) = false + ]; + repeated string confidence_interval_values = 8 [ + (gogoproto.customtype) = "github.com/allora-network/allora-chain/math.Dec", + (gogoproto.nullable) = false + ]; +} + +message GetLatestAvailableNetworkInferencesOutlierResistantResponse { + reserved 4; + reserved "forecast_implied_inferences"; + + emissions.v3.ValueBundle network_inferences = 1; + repeated emissions.v3.RegretInformedWeight inferer_weights = 2; + repeated emissions.v3.RegretInformedWeight forecaster_weights = 3; + int64 inference_block_height = 5; + int64 loss_block_height = 6; + repeated string confidence_interval_raw_percentiles = 7 [ + (gogoproto.customtype) = "github.com/allora-network/allora-chain/math.Dec", + (gogoproto.nullable) = false + ]; + repeated string confidence_interval_values = 8 [ + (gogoproto.customtype) = "github.com/allora-network/allora-chain/math.Dec", + (gogoproto.nullable) = false + ]; +} + +message IsWorkerRegisteredInTopicIdRequest { + uint64 topic_id = 1; + string address = 2; +} + +message IsWorkerRegisteredInTopicIdResponse { + bool is_registered = 1 [(amino.dont_omitempty) = true]; +} + +message IsReputerRegisteredInTopicIdRequest { + uint64 topic_id = 1; + string address = 2; +} + +message IsReputerRegisteredInTopicIdResponse { + bool is_registered = 1 [(amino.dont_omitempty) = true]; +} + +message IsWhitelistAdminRequest { + string address = 1; +} + +message IsWhitelistAdminResponse { + bool is_admin = 1 [(amino.dont_omitempty) = true]; +} + +message GetStakeRemovalsUpUntilBlockRequest { + int64 block_height = 1; +} + +message GetStakeRemovalsUpUntilBlockResponse { + repeated emissions.v3.StakeRemovalInfo removals = 1; +} + +message GetDelegateStakeRemovalsUpUntilBlockRequest { + int64 block_height = 1; +} + +message GetDelegateStakeRemovalsUpUntilBlockResponse { + repeated emissions.v3.DelegateStakeRemovalInfo removals = 1; +} + +message GetStakeRemovalInfoRequest { + uint64 topic_id = 1; + string reputer = 2; +} + +message GetStakeRemovalInfoResponse { + emissions.v3.StakeRemovalInfo removal = 1; +} + +message GetDelegateStakeRemovalInfoRequest { + uint64 topic_id = 1; + string delegator = 2; + string reputer = 3; +} + +message GetDelegateStakeRemovalInfoResponse { + emissions.v3.DelegateStakeRemovalInfo removal = 1; +} + +message GetTopicLastWorkerCommitInfoRequest { + uint64 topic_id = 1; +} + +message GetTopicLastWorkerCommitInfoResponse { + emissions.v3.TimestampedActorNonce last_commit = 1; +} + +message GetTopicLastReputerCommitInfoRequest { + uint64 topic_id = 1; +} + +message GetTopicLastReputerCommitInfoResponse { + emissions.v3.TimestampedActorNonce last_commit = 1; +} + +message GetTopicRewardNonceRequest { + uint64 topic_id = 1; +} + +message GetTopicRewardNonceResponse { + int64 nonce = 1; +} + +message GetReputerLossBundlesAtBlockRequest { + uint64 topic_id = 1; + int64 block_height = 2; +} + +message GetReputerLossBundlesAtBlockResponse { + emissions.v3.ReputerValueBundles loss_bundles = 1; +} + +message GetStakeReputerAuthorityRequest { + uint64 topic_id = 1; + string reputer = 2; +} + +message GetStakeReputerAuthorityResponse { + string authority = 1 [ + (cosmos_proto.scalar) = "cosmos.Int", + (gogoproto.customtype) = "cosmossdk.io/math.Int", + (gogoproto.nullable) = false, + (amino.dont_omitempty) = true + ]; +} + +message GetDelegateStakePlacementRequest { + uint64 topic_id = 1; + string delegator = 2; + string target = 3; +} + +message GetDelegateStakePlacementResponse { + emissions.v3.DelegatorInfo delegator_info = 1; +} + +message GetDelegateStakeUponReputerRequest { + uint64 topic_id = 1; + string target = 2; +} + +message GetDelegateStakeUponReputerResponse { + string stake = 1 [ + (cosmos_proto.scalar) = "cosmos.Int", + (gogoproto.customtype) = "cosmossdk.io/math.Int", + (gogoproto.nullable) = false, + (amino.dont_omitempty) = true + ]; +} + +message GetDelegateRewardPerShareRequest { + uint64 topic_id = 1; + string reputer = 2; +} + +message GetDelegateRewardPerShareResponse { + string reward_per_share = 1 [ + (gogoproto.customtype) = "github.com/allora-network/allora-chain/math.Dec", + (gogoproto.nullable) = false + ]; +} + +message GetStakeRemovalForReputerAndTopicIdRequest { + string reputer = 1; + uint64 topic_id = 2; +} + +message GetStakeRemovalForReputerAndTopicIdResponse { + emissions.v3.StakeRemovalInfo stake_removal_info = 1; +} + +message GetDelegateStakeRemovalRequest { + int64 block_height = 1; + uint64 topic_id = 2; + string delegator = 3; + string reputer = 4; +} + +message GetDelegateStakeRemovalResponse { + emissions.v3.DelegateStakeRemovalInfo stake_removal_info = 1; +} + +message GetPreviousTopicWeightRequest { + uint64 topic_id = 1; +} + +message GetPreviousTopicWeightResponse { + string weight = 1 [ + (gogoproto.customtype) = "github.com/allora-network/allora-chain/math.Dec", + (gogoproto.nullable) = false + ]; + bool not_found = 2 [(amino.dont_omitempty) = true]; +} + +message GetTotalSumPreviousTopicWeightsRequest {} + +message GetTotalSumPreviousTopicWeightsResponse { + string weight = 1 [ + (gogoproto.customtype) = "github.com/allora-network/allora-chain/math.Dec", + (gogoproto.nullable) = false + ]; +} + +message TopicExistsRequest { + uint64 topic_id = 1; +} + +message TopicExistsResponse { + bool exists = 1 [(amino.dont_omitempty) = true]; +} + +message IsTopicActiveRequest { + uint64 topic_id = 1; +} + +message IsTopicActiveResponse { + bool is_active = 1 [(amino.dont_omitempty) = true]; +} + +message GetTopicFeeRevenueRequest { + uint64 topic_id = 1; +} + +message GetTopicFeeRevenueResponse { + string fee_revenue = 1 [ + (cosmos_proto.scalar) = "cosmos.Int", + (gogoproto.customtype) = "cosmossdk.io/math.Int", + (gogoproto.nullable) = false, + (amino.dont_omitempty) = true + ]; +} + +message GetInfererScoreEmaRequest { + uint64 topic_id = 1; + string inferer = 2; +} + +message GetInfererScoreEmaResponse { + emissions.v3.Score score = 1; +} + +message GetForecasterScoreEmaRequest { + uint64 topic_id = 1; + string forecaster = 2; +} + +message GetForecasterScoreEmaResponse { + emissions.v3.Score score = 1; +} + +message GetReputerScoreEmaRequest { + uint64 topic_id = 1; + string reputer = 2; +} + +message GetReputerScoreEmaResponse { + emissions.v3.Score score = 1; +} + +message GetInferenceScoresUntilBlockRequest { + uint64 topic_id = 1; + int64 block_height = 2; +} + +message GetInferenceScoresUntilBlockResponse { + repeated emissions.v3.Score scores = 1; +} + +message GetPreviousTopicQuantileForecasterScoreEmaRequest { + uint64 topic_id = 1; +} + +message GetPreviousTopicQuantileForecasterScoreEmaResponse { + string value = 1 [ + (gogoproto.customtype) = "github.com/allora-network/allora-chain/math.Dec", + (gogoproto.nullable) = false + ]; +} + +message GetPreviousTopicQuantileInfererScoreEmaRequest { + uint64 topic_id = 1; +} + +message GetPreviousTopicQuantileInfererScoreEmaResponse { + string value = 1 [ + (gogoproto.customtype) = "github.com/allora-network/allora-chain/math.Dec", + (gogoproto.nullable) = false + ]; +} + +message GetPreviousTopicQuantileReputerScoreEmaRequest { + uint64 topic_id = 1; +} + +message GetPreviousTopicQuantileReputerScoreEmaResponse { + string value = 1 [ + (gogoproto.customtype) = "github.com/allora-network/allora-chain/math.Dec", + (gogoproto.nullable) = false + ]; +} + +message GetWorkerInferenceScoresAtBlockRequest { + uint64 topic_id = 1; + int64 block_height = 2; +} + +message GetWorkerInferenceScoresAtBlockResponse { + emissions.v3.Scores scores = 1; +} + +message GetCurrentLowestInfererScoreRequest { + uint64 topic_id = 1; +} + +message GetCurrentLowestInfererScoreResponse { + emissions.v3.Score score = 1; +} + +message GetForecastScoresUntilBlockRequest { + uint64 topic_id = 1; + int64 block_height = 2; +} + +message GetForecastScoresUntilBlockResponse { + repeated emissions.v3.Score scores = 1; +} + +message GetWorkerForecastScoresAtBlockRequest { + uint64 topic_id = 1; + int64 block_height = 2; +} + +message GetWorkerForecastScoresAtBlockResponse { + emissions.v3.Scores scores = 1; +} + +message GetCurrentLowestForecasterScoreRequest { + uint64 topic_id = 1; +} + +message GetCurrentLowestForecasterScoreResponse { + emissions.v3.Score score = 1; +} + +message GetReputersScoresAtBlockRequest { + uint64 topic_id = 1; + int64 block_height = 2; +} + +message GetReputersScoresAtBlockResponse { + emissions.v3.Scores scores = 1; +} + +message GetCurrentLowestReputerScoreRequest { + uint64 topic_id = 1; +} + +message GetCurrentLowestReputerScoreResponse { + emissions.v3.Score score = 1; +} + +message GetListeningCoefficientRequest { + uint64 topic_id = 1; + string reputer = 2; +} + +message GetListeningCoefficientResponse { + emissions.v3.ListeningCoefficient listening_coefficient = 1; +} + +message GetPreviousReputerRewardFractionRequest { + uint64 topic_id = 1; + string reputer = 2; +} + +message GetPreviousReputerRewardFractionResponse { + string reward_fraction = 1 [ + (gogoproto.customtype) = "github.com/allora-network/allora-chain/math.Dec", + (gogoproto.nullable) = false + ]; + bool not_found = 2 [(amino.dont_omitempty) = true]; +} + +message GetPreviousInferenceRewardFractionRequest { + uint64 topic_id = 1; + string worker = 2; +} + +message GetPreviousInferenceRewardFractionResponse { + string reward_fraction = 1 [ + (gogoproto.customtype) = "github.com/allora-network/allora-chain/math.Dec", + (gogoproto.nullable) = false + ]; + bool not_found = 2 [(amino.dont_omitempty) = true]; +} + +message GetPreviousForecastRewardFractionRequest { + uint64 topic_id = 1; + string worker = 2; +} + +message GetPreviousForecastRewardFractionResponse { + string reward_fraction = 1 [ + (gogoproto.customtype) = "github.com/allora-network/allora-chain/math.Dec", + (gogoproto.nullable) = false + ]; + bool not_found = 2 [(amino.dont_omitempty) = true]; +} + +message GetPreviousPercentageRewardToStakedReputersRequest {} + +message GetPreviousPercentageRewardToStakedReputersResponse { + string percentage_reward = 1 [ + (gogoproto.customtype) = "github.com/allora-network/allora-chain/math.Dec", + (gogoproto.nullable) = false + ]; +} + +message GetTotalRewardToDistributeRequest {} + +message GetTotalRewardToDistributeResponse { + string total_reward = 1 [ + (gogoproto.customtype) = "github.com/allora-network/allora-chain/math.Dec", + (gogoproto.nullable) = false + ]; +} + +message GetActiveTopicsAtBlockRequest { + int64 block_height = 1; +} + +message GetActiveTopicsAtBlockResponse { + repeated emissions.v3.Topic topics = 1; + emissions.v3.SimpleCursorPaginationResponse pagination = 2; +} + +message GetNextChurningBlockByTopicIdRequest { + uint64 topic_id = 1; +} + +message GetNextChurningBlockByTopicIdResponse { + int64 block_height = 1; +} + +message GetActiveReputersForTopicRequest { + uint64 topic_id = 1; +} + +message GetActiveReputersForTopicResponse { + repeated string reputers = 1; +} + +message GetActiveForecastersForTopicRequest { + uint64 topic_id = 1; +} + +message GetActiveForecastersForTopicResponse { + repeated string forecasters = 1; +} + +message GetActiveInferersForTopicRequest { + uint64 topic_id = 1; +} + +message GetActiveInferersForTopicResponse { + repeated string inferers = 1; +} + +message GetTopicInitialInfererEmaScoreRequest { + uint64 topic_id = 1; +} + +message GetTopicInitialInfererEmaScoreResponse { + string score = 1 [ + (gogoproto.customtype) = "github.com/allora-network/allora-chain/math.Dec", + (gogoproto.nullable) = false, + (amino.dont_omitempty) = true + ]; +} + +message GetTopicInitialForecasterEmaScoreRequest { + uint64 topic_id = 1; +} + +message GetTopicInitialForecasterEmaScoreResponse { + string score = 1 [ + (gogoproto.customtype) = "github.com/allora-network/allora-chain/math.Dec", + (gogoproto.nullable) = false, + (amino.dont_omitempty) = true + ]; +} + +message GetTopicInitialReputerEmaScoreRequest { + uint64 topic_id = 1; +} + +message GetTopicInitialReputerEmaScoreResponse { + string score = 1 [ + (gogoproto.customtype) = "github.com/allora-network/allora-chain/math.Dec", + (gogoproto.nullable) = false, + (amino.dont_omitempty) = true + ]; +} + +message GetLatestRegretStdNormRequest { + uint64 topic_id = 1; +} + +message GetLatestRegretStdNormResponse { + string value = 1 [ + (gogoproto.customtype) = "github.com/allora-network/allora-chain/math.Dec", + (gogoproto.nullable) = false + ]; +} + +message GetLatestInfererWeightRequest { + uint64 topic_id = 1; + string actor_id = 2; +} + +message GetLatestInfererWeightResponse { + string weight = 1 [ + (gogoproto.customtype) = "github.com/allora-network/allora-chain/math.Dec", + (gogoproto.nullable) = false + ]; +} + +message GetLatestForecasterWeightRequest { + uint64 topic_id = 1; + string actor_id = 2; +} + +message GetLatestForecasterWeightResponse { + string weight = 1 [ + (gogoproto.customtype) = "github.com/allora-network/allora-chain/math.Dec", + (gogoproto.nullable) = false + ]; +} diff --git a/x/emissions/proto/emissions/v8/tx.proto b/x/emissions/proto/emissions/v8/tx.proto new file mode 100644 index 000000000..efcc30da6 --- /dev/null +++ b/x/emissions/proto/emissions/v8/tx.proto @@ -0,0 +1,712 @@ +syntax = "proto3"; +package emissions.v8; + +import "amino/amino.proto"; +import "cosmos/msg/v1/msg.proto"; +import "cosmos_proto/cosmos.proto"; +import "emissions/v3/reputer.proto"; +import "emissions/v3/worker.proto"; +import "gogoproto/gogo.proto"; + +option go_package = "github.com/allora-network/allora-chain/x/emissions/types"; + +// Msg defines the module Msg service. +service MsgService { + option (cosmos.msg.v1.service) = true; + + rpc UpdateParams(UpdateParamsRequest) returns (UpdateParamsResponse); + + rpc CreateNewTopic(CreateNewTopicRequest) returns (CreateNewTopicResponse); + + rpc Register(RegisterRequest) returns (RegisterResponse); + + rpc RemoveRegistration(RemoveRegistrationRequest) returns (RemoveRegistrationResponse); + + rpc AddStake(AddStakeRequest) returns (AddStakeResponse); + + rpc RemoveStake(RemoveStakeRequest) returns (RemoveStakeResponse); + + rpc CancelRemoveStake(CancelRemoveStakeRequest) returns (CancelRemoveStakeResponse); + + rpc DelegateStake(DelegateStakeRequest) returns (DelegateStakeResponse); + + rpc RewardDelegateStake(RewardDelegateStakeRequest) returns (RewardDelegateStakeResponse); + + rpc RemoveDelegateStake(RemoveDelegateStakeRequest) returns (RemoveDelegateStakeResponse); + + rpc CancelRemoveDelegateStake(CancelRemoveDelegateStakeRequest) returns (CancelRemoveDelegateStakeResponse); + + rpc FundTopic(FundTopicRequest) returns (FundTopicResponse); + + rpc AddToWhitelistAdmin(AddToWhitelistAdminRequest) returns (AddToWhitelistAdminResponse); + + rpc RemoveFromWhitelistAdmin(RemoveFromWhitelistAdminRequest) returns (RemoveFromWhitelistAdminResponse); + + rpc InsertWorkerPayload(InsertWorkerPayloadRequest) returns (InsertWorkerPayloadResponse); + + rpc InsertReputerPayload(InsertReputerPayloadRequest) returns (InsertReputerPayloadResponse); + + rpc AddToGlobalWhitelist(AddToGlobalWhitelistRequest) returns (AddToGlobalWhitelistResponse); + + rpc RemoveFromGlobalWhitelist(RemoveFromGlobalWhitelistRequest) returns (RemoveFromGlobalWhitelistResponse); + + rpc AddToGlobalWorkerWhitelist(AddToGlobalWorkerWhitelistRequest) returns (AddToGlobalWorkerWhitelistResponse); + + rpc RemoveFromGlobalWorkerWhitelist(RemoveFromGlobalWorkerWhitelistRequest) returns (RemoveFromGlobalWorkerWhitelistResponse); + + rpc AddToGlobalReputerWhitelist(AddToGlobalReputerWhitelistRequest) returns (AddToGlobalReputerWhitelistResponse); + + rpc RemoveFromGlobalReputerWhitelist(RemoveFromGlobalReputerWhitelistRequest) returns (RemoveFromGlobalReputerWhitelistResponse); + + rpc AddToGlobalAdminWhitelist(AddToGlobalAdminWhitelistRequest) returns (AddToGlobalAdminWhitelistResponse); + + rpc RemoveFromGlobalAdminWhitelist(RemoveFromGlobalAdminWhitelistRequest) returns (RemoveFromGlobalAdminWhitelistResponse); + + rpc BulkAddToGlobalWorkerWhitelist(BulkAddToGlobalWorkerWhitelistRequest) returns (BulkAddToGlobalWorkerWhitelistResponse); + + rpc BulkRemoveFromGlobalWorkerWhitelist(BulkRemoveFromGlobalWorkerWhitelistRequest) returns (BulkRemoveFromGlobalWorkerWhitelistResponse); + + rpc BulkAddToGlobalReputerWhitelist(BulkAddToGlobalReputerWhitelistRequest) returns (BulkAddToGlobalReputerWhitelistResponse); + + rpc BulkRemoveFromGlobalReputerWhitelist(BulkRemoveFromGlobalReputerWhitelistRequest) returns (BulkRemoveFromGlobalReputerWhitelistResponse); + + rpc BulkAddToTopicWorkerWhitelist(BulkAddToTopicWorkerWhitelistRequest) returns (BulkAddToTopicWorkerWhitelistResponse); + + rpc BulkRemoveFromTopicWorkerWhitelist(BulkRemoveFromTopicWorkerWhitelistRequest) returns (BulkRemoveFromTopicWorkerWhitelistResponse); + + rpc BulkAddToTopicReputerWhitelist(BulkAddToTopicReputerWhitelistRequest) returns (BulkAddToTopicReputerWhitelistResponse); + + rpc BulkRemoveFromTopicReputerWhitelist(BulkRemoveFromTopicReputerWhitelistRequest) returns (BulkRemoveFromTopicReputerWhitelistResponse); + + rpc EnableTopicWorkerWhitelist(EnableTopicWorkerWhitelistRequest) returns (EnableTopicWorkerWhitelistResponse); + + rpc DisableTopicWorkerWhitelist(DisableTopicWorkerWhitelistRequest) returns (DisableTopicWorkerWhitelistResponse); + + rpc EnableTopicReputerWhitelist(EnableTopicReputerWhitelistRequest) returns (EnableTopicReputerWhitelistResponse); + + rpc DisableTopicReputerWhitelist(DisableTopicReputerWhitelistRequest) returns (DisableTopicReputerWhitelistResponse); + + rpc AddToTopicCreatorWhitelist(AddToTopicCreatorWhitelistRequest) returns (AddToTopicCreatorWhitelistResponse); + + rpc RemoveFromTopicCreatorWhitelist(RemoveFromTopicCreatorWhitelistRequest) returns (RemoveFromTopicCreatorWhitelistResponse); + + rpc AddToTopicWorkerWhitelist(AddToTopicWorkerWhitelistRequest) returns (AddToTopicWorkerWhitelistResponse); + + rpc RemoveFromTopicWorkerWhitelist(RemoveFromTopicWorkerWhitelistRequest) returns (RemoveFromTopicWorkerWhitelistResponse); + + rpc AddToTopicReputerWhitelist(AddToTopicReputerWhitelistRequest) returns (AddToTopicReputerWhitelistResponse); + + rpc RemoveFromTopicReputerWhitelist(RemoveFromTopicReputerWhitelistRequest) returns (RemoveFromTopicReputerWhitelistResponse); +} + +/// PARAMS + +// Because gocosmos, grpc-gateway, and go-pulsar do not support optional fields +// and including google themselves +// https://cloud.google.com/apis/design/design_patterns.md#optional_primitive_fields +// we instead use a repeated field with a single element to represent an +// optional field and if the repeated field is empty, it is considered to be the +// same as if the field was not set +message OptionalParams { + reserved 4, 26, 27, 39, 41; + reserved "max_topics_per_block", "min_effective_topic_revenue", "max_retries_to_fulfil_nonces_worker", "topic_fee_revenue_decay_rate", "max_retries_to_fulfil_nonces_reputer"; + + repeated string version = 1; + repeated int64 max_serialized_msg_length = 2; + repeated string min_topic_weight = 3 [ + (gogoproto.customtype) = "github.com/allora-network/allora-chain/math.Dec", + (gogoproto.nullable) = false + ]; + repeated string required_minimum_stake = 5 [ + (cosmos_proto.scalar) = "cosmos.Int", + (gogoproto.customtype) = "cosmossdk.io/math.Int", + (gogoproto.nullable) = false, + (amino.dont_omitempty) = true + ]; + repeated int64 remove_stake_delay_window = 6; + repeated int64 min_epoch_length = 7; + repeated string beta_entropy = 8 [ + (gogoproto.customtype) = "github.com/allora-network/allora-chain/math.Dec", + (gogoproto.nullable) = false + ]; + repeated string learning_rate = 9 [ + (gogoproto.customtype) = "github.com/allora-network/allora-chain/math.Dec", + (gogoproto.nullable) = false + ]; + repeated string max_gradient_threshold = 10 [ + (gogoproto.customtype) = "github.com/allora-network/allora-chain/math.Dec", + (gogoproto.nullable) = false + ]; + repeated string min_stake_fraction = 11 [ + (gogoproto.customtype) = "github.com/allora-network/allora-chain/math.Dec", + (gogoproto.nullable) = false + ]; + repeated uint64 max_unfulfilled_worker_requests = 13; + repeated uint64 max_unfulfilled_reputer_requests = 14; + repeated string topic_reward_stake_importance = 15 [ + (gogoproto.customtype) = "github.com/allora-network/allora-chain/math.Dec", + (gogoproto.nullable) = false + ]; + repeated string topic_reward_fee_revenue_importance = 16 [ + (gogoproto.customtype) = "github.com/allora-network/allora-chain/math.Dec", + (gogoproto.nullable) = false + ]; + repeated string topic_reward_alpha = 17 [ + (gogoproto.customtype) = "github.com/allora-network/allora-chain/math.Dec", + (gogoproto.nullable) = false + ]; + repeated string task_reward_alpha = 18 [ + (gogoproto.customtype) = "github.com/allora-network/allora-chain/math.Dec", + (gogoproto.nullable) = false + ]; + repeated string validators_vs_allora_percent_reward = 19 [ + (gogoproto.customtype) = "github.com/allora-network/allora-chain/math.Dec", + (gogoproto.nullable) = false + ]; + repeated uint64 max_samples_to_scale_scores = 20; + repeated uint64 max_top_inferers_to_reward = 21; + repeated uint64 max_top_forecasters_to_reward = 22; + repeated uint64 max_top_reputers_to_reward = 23; + repeated string create_topic_fee = 24 [ + (cosmos_proto.scalar) = "cosmos.Int", + (gogoproto.customtype) = "cosmossdk.io/math.Int", + (gogoproto.nullable) = false, + (amino.dont_omitempty) = true + ]; + repeated uint64 gradient_descent_max_iters = 25; + repeated string registration_fee = 28 [ + (cosmos_proto.scalar) = "cosmos.Int", + (gogoproto.customtype) = "cosmossdk.io/math.Int", + (gogoproto.nullable) = false, + (amino.dont_omitempty) = true + ]; + repeated uint64 default_page_limit = 29; + repeated uint64 max_page_limit = 30; + repeated int64 min_epoch_length_record_limit = 31; + repeated uint64 blocks_per_month = 32; + repeated string p_reward_inference = 33 [ + (gogoproto.customtype) = "github.com/allora-network/allora-chain/math.Dec", + (gogoproto.nullable) = false + ]; + repeated string p_reward_forecast = 34 [ + (gogoproto.customtype) = "github.com/allora-network/allora-chain/math.Dec", + (gogoproto.nullable) = false + ]; + repeated string p_reward_reputer = 35 [ + (gogoproto.customtype) = "github.com/allora-network/allora-chain/math.Dec", + (gogoproto.nullable) = false + ]; + repeated string c_reward_inference = 36 [ + (gogoproto.customtype) = "github.com/allora-network/allora-chain/math.Dec", + (gogoproto.nullable) = false + ]; + repeated string c_reward_forecast = 37 [ + (gogoproto.customtype) = "github.com/allora-network/allora-chain/math.Dec", + (gogoproto.nullable) = false + ]; + repeated string c_norm = 38 [ + (gogoproto.customtype) = "github.com/allora-network/allora-chain/math.Dec", + (gogoproto.nullable) = false + ]; + repeated string epsilon_reputer = 40 [ + (gogoproto.customtype) = "github.com/allora-network/allora-chain/math.Dec", + (gogoproto.nullable) = false + ]; + repeated uint64 half_max_process_stake_removals_end_block = 42; + repeated string data_sending_fee = 43 [ + (cosmos_proto.scalar) = "cosmos.Int", + (gogoproto.customtype) = "cosmossdk.io/math.Int", + (gogoproto.nullable) = false, + (amino.dont_omitempty) = true + ]; + repeated string epsilon_safe_div = 44 [ + (gogoproto.customtype) = "github.com/allora-network/allora-chain/math.Dec", + (gogoproto.nullable) = false + ]; + repeated uint64 max_elements_per_forecast = 45; + repeated uint64 max_active_topics_per_block = 46; + repeated uint64 max_string_length = 47; + repeated string initial_regret_quantile = 48 [ + (gogoproto.customtype) = "github.com/allora-network/allora-chain/math.Dec", + (gogoproto.nullable) = false + ]; + repeated string p_norm_safe_div = 49 [ + (gogoproto.customtype) = "github.com/allora-network/allora-chain/math.Dec", + (gogoproto.nullable) = false + ]; + repeated bool global_whitelist_enabled = 50 [(amino.dont_omitempty) = true]; + repeated bool topic_creator_whitelist_enabled = 51 [(amino.dont_omitempty) = true]; + repeated uint64 min_experienced_worker_regrets = 52; + repeated string inference_outlier_detection_threshold = 53 [ + (gogoproto.customtype) = "github.com/allora-network/allora-chain/math.Dec", + (gogoproto.nullable) = false + ]; + repeated string inference_outlier_detection_alpha = 54 [ + (gogoproto.customtype) = "github.com/allora-network/allora-chain/math.Dec", + (gogoproto.nullable) = false + ]; + repeated string lambda_initial_score = 55 [ + (gogoproto.customtype) = "github.com/allora-network/allora-chain/math.Dec", + (gogoproto.nullable) = false + ]; + repeated bool global_worker_whitelist_enabled = 56 [(amino.dont_omitempty) = true]; + repeated bool global_reputer_whitelist_enabled = 57 [(amino.dont_omitempty) = true]; + repeated bool global_admin_whitelist_appended = 58 [(amino.dont_omitempty) = true]; + repeated uint64 max_whitelist_input_array_length = 59 [(amino.dont_omitempty) = true]; + repeated string min_weight_threshold_for_stdnorm = 60 [ + (gogoproto.customtype) = "github.com/allora-network/allora-chain/math.Dec", + (gogoproto.nullable) = false + ]; +} + +message UpdateParamsRequest { + option (cosmos.msg.v1.signer) = "sender"; + string sender = 1; + OptionalParams params = 2; +} + +message UpdateParamsResponse {} + +/// TOPICS + +message CreateNewTopicRequest { + reserved 3, 5, 6, 9; + reserved "loss_logic", "inference_logic", "inference_method", "default_arg"; + + option (cosmos.msg.v1.signer) = "creator"; + + // creator is the message sender. + string creator = 1; + string metadata = 2; + string loss_method = 4; + int64 epoch_length = 7; + int64 ground_truth_lag = 8; + string p_norm = 10 [ + (gogoproto.customtype) = "github.com/allora-network/allora-chain/math.Dec", + (gogoproto.nullable) = false + ]; + string alpha_regret = 11 [ + (gogoproto.customtype) = "github.com/allora-network/allora-chain/math.Dec", + (gogoproto.nullable) = false + ]; + bool allow_negative = 12; + string epsilon = 13 [ + (gogoproto.customtype) = "github.com/allora-network/allora-chain/math.Dec", + (gogoproto.nullable) = false + ]; + int64 worker_submission_window = 14; + string merit_sortition_alpha = 15 [ + (gogoproto.customtype) = "github.com/allora-network/allora-chain/math.Dec", + (gogoproto.nullable) = false + ]; + string active_inferer_quantile = 16 [ + (gogoproto.customtype) = "github.com/allora-network/allora-chain/math.Dec", + (gogoproto.nullable) = false + ]; + string active_forecaster_quantile = 17 [ + (gogoproto.customtype) = "github.com/allora-network/allora-chain/math.Dec", + (gogoproto.nullable) = false + ]; + string active_reputer_quantile = 18 [ + (gogoproto.customtype) = "github.com/allora-network/allora-chain/math.Dec", + (gogoproto.nullable) = false + ]; + bool enable_worker_whitelist = 19; + bool enable_reputer_whitelist = 20; +} + +message CreateNewTopicResponse { + uint64 topic_id = 1; +} + +/// Worker and Reputer Interface + +message InsertReputerPayloadRequest { + option (cosmos.msg.v1.signer) = "sender"; + + string sender = 1; + emissions.v3.ReputerValueBundle reputer_value_bundle = 2; +} + +message InsertReputerPayloadResponse {} + +message InsertWorkerPayloadRequest { + option (cosmos.msg.v1.signer) = "sender"; + + string sender = 1; + emissions.v3.WorkerDataBundle worker_data_bundle = 2; +} + +message InsertWorkerPayloadResponse {} +/// Inference Node Registration + +message RegisterRequest { + reserved 2, 3; + reserved "lib_p2p_key", "multi_address"; + + option (cosmos.msg.v1.signer) = "sender"; + + string sender = 1; + uint64 topic_id = 4; + string owner = 5; + bool is_reputer = 6; +} + +message RegisterResponse { + bool success = 1; + string message = 2; +} + +message RemoveRegistrationRequest { + option (cosmos.msg.v1.signer) = "sender"; + + string sender = 1; + uint64 topic_id = 2; + bool is_reputer = 3; +} + +message RemoveRegistrationResponse { + bool success = 1; + string message = 2; +} + +/// Staking + +message AddStakeRequest { + option (cosmos.msg.v1.signer) = "sender"; + + string sender = 1; + uint64 topic_id = 2; + string amount = 3 [ + (cosmos_proto.scalar) = "cosmos.Int", + (gogoproto.customtype) = "cosmossdk.io/math.Int", + (gogoproto.nullable) = false, + (amino.dont_omitempty) = true + ]; +} + +message AddStakeResponse {} + +message RemoveStakeRequest { + option (cosmos.msg.v1.signer) = "sender"; + + string sender = 1; + uint64 topic_id = 2; + string amount = 3 [ + (cosmos_proto.scalar) = "cosmos.Int", + (gogoproto.customtype) = "cosmossdk.io/math.Int", + (gogoproto.nullable) = false, + (amino.dont_omitempty) = true + ]; +} + +message RemoveStakeResponse {} + +message CancelRemoveStakeRequest { + option (cosmos.msg.v1.signer) = "sender"; + string sender = 1; + uint64 topic_id = 2; +} + +message CancelRemoveStakeResponse {} + +message DelegateStakeRequest { + option (cosmos.msg.v1.signer) = "sender"; + string sender = 1; + uint64 topic_id = 2; + string reputer = 3; + string amount = 4 [ + (cosmos_proto.scalar) = "cosmos.Int", + (gogoproto.customtype) = "cosmossdk.io/math.Int", + (gogoproto.nullable) = false, + (amino.dont_omitempty) = true + ]; +} + +message DelegateStakeResponse {} + +message RemoveDelegateStakeRequest { + option (cosmos.msg.v1.signer) = "sender"; + string sender = 1; + string reputer = 2; + uint64 topic_id = 3; + string amount = 4 [ + (cosmos_proto.scalar) = "cosmos.Int", + (gogoproto.customtype) = "cosmossdk.io/math.Int", + (gogoproto.nullable) = false, + (amino.dont_omitempty) = true + ]; +} + +message RemoveDelegateStakeResponse {} + +message CancelRemoveDelegateStakeRequest { + option (cosmos.msg.v1.signer) = "sender"; + string sender = 1; + uint64 topic_id = 2; + string delegator = 3; + string reputer = 4; +} + +message CancelRemoveDelegateStakeResponse {} + +message RewardDelegateStakeRequest { + option (cosmos.msg.v1.signer) = "sender"; + string sender = 1; + uint64 topic_id = 2; + string reputer = 3; +} + +message RewardDelegateStakeResponse {} + +// Inferences are requested by consumers who fund topics by sending ALLO to +// ecosystem account via TopicFund messages +message FundTopicRequest { + option (cosmos.msg.v1.signer) = "sender"; + string sender = 1; + uint64 topic_id = 2; + string amount = 3 [ + (cosmos_proto.scalar) = "cosmos.Int", + (gogoproto.customtype) = "cosmossdk.io/math.Int", + (gogoproto.nullable) = false, + (amino.dont_omitempty) = true + ]; // how many funds to send from alice with this Inference Request +} + +message FundTopicResponse {} + +/// Whitelist + +message AddToWhitelistAdminRequest { + option (cosmos.msg.v1.signer) = "sender"; + + string sender = 1; + string address = 2; +} + +message AddToWhitelistAdminResponse {} + +message RemoveFromWhitelistAdminRequest { + option (cosmos.msg.v1.signer) = "sender"; + + string sender = 1; + string address = 2; +} + +message RemoveFromWhitelistAdminResponse {} + +message EnableTopicWorkerWhitelistRequest { + option (cosmos.msg.v1.signer) = "sender"; + string sender = 1; + uint64 topic_id = 2; +} + +message EnableTopicWorkerWhitelistResponse {} + +message DisableTopicWorkerWhitelistRequest { + option (cosmos.msg.v1.signer) = "sender"; + string sender = 1; + uint64 topic_id = 2; +} + +message DisableTopicWorkerWhitelistResponse {} + +message EnableTopicReputerWhitelistRequest { + option (cosmos.msg.v1.signer) = "sender"; + string sender = 1; + uint64 topic_id = 2; +} + +message EnableTopicReputerWhitelistResponse {} + +message DisableTopicReputerWhitelistRequest { + option (cosmos.msg.v1.signer) = "sender"; + string sender = 1; + uint64 topic_id = 2; +} + +message DisableTopicReputerWhitelistResponse {} + +message AddToGlobalWhitelistRequest { + option (cosmos.msg.v1.signer) = "sender"; + string sender = 1; + string address = 2; +} + +message AddToGlobalWhitelistResponse {} + +message RemoveFromGlobalWhitelistRequest { + option (cosmos.msg.v1.signer) = "sender"; + string sender = 1; + string address = 2; +} + +message RemoveFromGlobalWhitelistResponse {} + +message AddToTopicCreatorWhitelistRequest { + option (cosmos.msg.v1.signer) = "sender"; + string sender = 1; + string address = 2; +} + +message AddToTopicCreatorWhitelistResponse {} + +message AddToGlobalWorkerWhitelistRequest { + option (cosmos.msg.v1.signer) = "sender"; + string sender = 1; + string address = 2; +} + +message AddToGlobalWorkerWhitelistResponse {} + +message RemoveFromGlobalWorkerWhitelistRequest { + option (cosmos.msg.v1.signer) = "sender"; + string sender = 1; + string address = 2; +} + +message RemoveFromGlobalWorkerWhitelistResponse {} + +message AddToGlobalReputerWhitelistRequest { + option (cosmos.msg.v1.signer) = "sender"; + string sender = 1; + string address = 2; +} + +message AddToGlobalReputerWhitelistResponse {} + +message RemoveFromGlobalReputerWhitelistRequest { + option (cosmos.msg.v1.signer) = "sender"; + string sender = 1; + string address = 2; +} + +message RemoveFromGlobalReputerWhitelistResponse {} + +message AddToGlobalAdminWhitelistRequest { + option (cosmos.msg.v1.signer) = "sender"; + string sender = 1; + string address = 2; +} + +message AddToGlobalAdminWhitelistResponse {} + +message RemoveFromGlobalAdminWhitelistRequest { + option (cosmos.msg.v1.signer) = "sender"; + string sender = 1; + string address = 2; +} + +message RemoveFromGlobalAdminWhitelistResponse {} + +message BulkAddToGlobalWorkerWhitelistRequest { + option (cosmos.msg.v1.signer) = "sender"; + string sender = 1; + repeated string addresses = 2; +} + +message BulkAddToGlobalWorkerWhitelistResponse {} + +message BulkRemoveFromGlobalWorkerWhitelistRequest { + option (cosmos.msg.v1.signer) = "sender"; + string sender = 1; + repeated string addresses = 2; +} + +message BulkRemoveFromGlobalWorkerWhitelistResponse {} + +message BulkAddToGlobalReputerWhitelistRequest { + option (cosmos.msg.v1.signer) = "sender"; + string sender = 1; + repeated string addresses = 2; +} + +message BulkAddToGlobalReputerWhitelistResponse {} + +message BulkRemoveFromGlobalReputerWhitelistRequest { + option (cosmos.msg.v1.signer) = "sender"; + string sender = 1; + repeated string addresses = 2; +} + +message BulkRemoveFromGlobalReputerWhitelistResponse {} + +message BulkAddToTopicWorkerWhitelistRequest { + option (cosmos.msg.v1.signer) = "sender"; + string sender = 1; + repeated string addresses = 2; + uint64 topic_id = 3; +} + +message BulkAddToTopicWorkerWhitelistResponse {} + +message BulkRemoveFromTopicWorkerWhitelistRequest { + option (cosmos.msg.v1.signer) = "sender"; + string sender = 1; + repeated string addresses = 2; + uint64 topic_id = 3; +} + +message BulkRemoveFromTopicWorkerWhitelistResponse {} + +message BulkAddToTopicReputerWhitelistRequest { + option (cosmos.msg.v1.signer) = "sender"; + string sender = 1; + repeated string addresses = 2; + uint64 topic_id = 3; +} + +message BulkAddToTopicReputerWhitelistResponse {} + +message BulkRemoveFromTopicReputerWhitelistRequest { + option (cosmos.msg.v1.signer) = "sender"; + string sender = 1; + repeated string addresses = 2; + uint64 topic_id = 3; +} + +message BulkRemoveFromTopicReputerWhitelistResponse {} + +message RemoveFromTopicCreatorWhitelistRequest { + option (cosmos.msg.v1.signer) = "sender"; + string sender = 1; + string address = 2; +} + +message RemoveFromTopicCreatorWhitelistResponse {} + +message AddToTopicWorkerWhitelistRequest { + option (cosmos.msg.v1.signer) = "sender"; + string sender = 1; + string address = 2; + uint64 topic_id = 3; +} + +message AddToTopicWorkerWhitelistResponse {} + +message RemoveFromTopicWorkerWhitelistRequest { + option (cosmos.msg.v1.signer) = "sender"; + string sender = 1; + string address = 2; + uint64 topic_id = 3; +} + +message RemoveFromTopicWorkerWhitelistResponse {} + +message AddToTopicReputerWhitelistRequest { + option (cosmos.msg.v1.signer) = "sender"; + string sender = 1; + string address = 2; + uint64 topic_id = 3; +} + +message AddToTopicReputerWhitelistResponse {} + +message RemoveFromTopicReputerWhitelistRequest { + option (cosmos.msg.v1.signer) = "sender"; + string sender = 1; + string address = 2; + uint64 topic_id = 3; +} + +message RemoveFromTopicReputerWhitelistResponse {} diff --git a/x/emissions/types/events.pb.go b/x/emissions/types/events.pb.go index e9448b20e..fd028b63d 100644 --- a/x/emissions/types/events.pb.go +++ b/x/emissions/types/events.pb.go @@ -1,5 +1,5 @@ // Code generated by protoc-gen-gogo. DO NOT EDIT. -// source: emissions/v7/events.proto +// source: emissions/v8/events.proto package types @@ -49,11 +49,11 @@ func (x ActorType) String() string { } func (ActorType) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_8a10150f55db931c, []int{0} + return fileDescriptor_dad7cd6b1534eaa9, []int{0} } type EventScoresSet struct { - ActorType ActorType `protobuf:"varint,1,opt,name=actor_type,json=actorType,proto3,enum=emissions.v7.ActorType" json:"actor_type,omitempty"` + ActorType ActorType `protobuf:"varint,1,opt,name=actor_type,json=actorType,proto3,enum=emissions.v8.ActorType" json:"actor_type,omitempty"` TopicId uint64 `protobuf:"varint,2,opt,name=topic_id,json=topicId,proto3" json:"topic_id,omitempty"` BlockHeight int64 `protobuf:"varint,3,opt,name=block_height,json=blockHeight,proto3" json:"block_height,omitempty"` Addresses []string `protobuf:"bytes,4,rep,name=addresses,proto3" json:"addresses,omitempty"` @@ -64,7 +64,7 @@ func (m *EventScoresSet) Reset() { *m = EventScoresSet{} } func (m *EventScoresSet) String() string { return proto.CompactTextString(m) } func (*EventScoresSet) ProtoMessage() {} func (*EventScoresSet) Descriptor() ([]byte, []int) { - return fileDescriptor_8a10150f55db931c, []int{0} + return fileDescriptor_dad7cd6b1534eaa9, []int{0} } func (m *EventScoresSet) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -122,7 +122,7 @@ func (m *EventScoresSet) GetAddresses() []string { } type EventRewardsSettled struct { - ActorType ActorType `protobuf:"varint,1,opt,name=actor_type,json=actorType,proto3,enum=emissions.v7.ActorType" json:"actor_type,omitempty"` + ActorType ActorType `protobuf:"varint,1,opt,name=actor_type,json=actorType,proto3,enum=emissions.v8.ActorType" json:"actor_type,omitempty"` TopicId uint64 `protobuf:"varint,2,opt,name=topic_id,json=topicId,proto3" json:"topic_id,omitempty"` BlockHeight int64 `protobuf:"varint,3,opt,name=block_height,json=blockHeight,proto3" json:"block_height,omitempty"` Addresses []string `protobuf:"bytes,4,rep,name=addresses,proto3" json:"addresses,omitempty"` @@ -134,7 +134,7 @@ func (m *EventRewardsSettled) Reset() { *m = EventRewardsSettled{} } func (m *EventRewardsSettled) String() string { return proto.CompactTextString(m) } func (*EventRewardsSettled) ProtoMessage() {} func (*EventRewardsSettled) Descriptor() ([]byte, []int) { - return fileDescriptor_8a10150f55db931c, []int{1} + return fileDescriptor_dad7cd6b1534eaa9, []int{1} } func (m *EventRewardsSettled) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -208,7 +208,7 @@ func (m *EventNetworkLossSet) Reset() { *m = EventNetworkLossSet{} } func (m *EventNetworkLossSet) String() string { return proto.CompactTextString(m) } func (*EventNetworkLossSet) ProtoMessage() {} func (*EventNetworkLossSet) Descriptor() ([]byte, []int) { - return fileDescriptor_8a10150f55db931c, []int{2} + return fileDescriptor_dad7cd6b1534eaa9, []int{2} } func (m *EventNetworkLossSet) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -267,7 +267,7 @@ func (m *EventForecastTaskScoreSet) Reset() { *m = EventForecastTaskScor func (m *EventForecastTaskScoreSet) String() string { return proto.CompactTextString(m) } func (*EventForecastTaskScoreSet) ProtoMessage() {} func (*EventForecastTaskScoreSet) Descriptor() ([]byte, []int) { - return fileDescriptor_8a10150f55db931c, []int{3} + return fileDescriptor_dad7cd6b1534eaa9, []int{3} } func (m *EventForecastTaskScoreSet) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -313,7 +313,7 @@ func (m *EventWorkerLastCommitSet) Reset() { *m = EventWorkerLastCommitS func (m *EventWorkerLastCommitSet) String() string { return proto.CompactTextString(m) } func (*EventWorkerLastCommitSet) ProtoMessage() {} func (*EventWorkerLastCommitSet) Descriptor() ([]byte, []int) { - return fileDescriptor_8a10150f55db931c, []int{4} + return fileDescriptor_dad7cd6b1534eaa9, []int{4} } func (m *EventWorkerLastCommitSet) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -373,7 +373,7 @@ func (m *EventReputerLastCommitSet) Reset() { *m = EventReputerLastCommi func (m *EventReputerLastCommitSet) String() string { return proto.CompactTextString(m) } func (*EventReputerLastCommitSet) ProtoMessage() {} func (*EventReputerLastCommitSet) Descriptor() ([]byte, []int) { - return fileDescriptor_8a10150f55db931c, []int{5} + return fileDescriptor_dad7cd6b1534eaa9, []int{5} } func (m *EventReputerLastCommitSet) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -432,7 +432,7 @@ func (m *EventTopicRewardsSet) Reset() { *m = EventTopicRewardsSet{} } func (m *EventTopicRewardsSet) String() string { return proto.CompactTextString(m) } func (*EventTopicRewardsSet) ProtoMessage() {} func (*EventTopicRewardsSet) Descriptor() ([]byte, []int) { - return fileDescriptor_8a10150f55db931c, []int{6} + return fileDescriptor_dad7cd6b1534eaa9, []int{6} } func (m *EventTopicRewardsSet) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -469,7 +469,7 @@ func (m *EventTopicRewardsSet) GetTopicIds() []uint64 { } type EventEMAScoresSet struct { - ActorType ActorType `protobuf:"varint,1,opt,name=actor_type,json=actorType,proto3,enum=emissions.v7.ActorType" json:"actor_type,omitempty"` + ActorType ActorType `protobuf:"varint,1,opt,name=actor_type,json=actorType,proto3,enum=emissions.v8.ActorType" json:"actor_type,omitempty"` TopicId uint64 `protobuf:"varint,2,opt,name=topic_id,json=topicId,proto3" json:"topic_id,omitempty"` Nonce int64 `protobuf:"varint,3,opt,name=nonce,proto3" json:"nonce,omitempty"` Addresses []string `protobuf:"bytes,4,rep,name=addresses,proto3" json:"addresses,omitempty"` @@ -481,7 +481,7 @@ func (m *EventEMAScoresSet) Reset() { *m = EventEMAScoresSet{} } func (m *EventEMAScoresSet) String() string { return proto.CompactTextString(m) } func (*EventEMAScoresSet) ProtoMessage() {} func (*EventEMAScoresSet) Descriptor() ([]byte, []int) { - return fileDescriptor_8a10150f55db931c, []int{7} + return fileDescriptor_dad7cd6b1534eaa9, []int{7} } func (m *EventEMAScoresSet) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -546,7 +546,7 @@ func (m *EventEMAScoresSet) GetIsActive() []bool { } type EventListeningCoefficientsSet struct { - ActorType ActorType `protobuf:"varint,1,opt,name=actor_type,json=actorType,proto3,enum=emissions.v7.ActorType" json:"actor_type,omitempty"` + ActorType ActorType `protobuf:"varint,1,opt,name=actor_type,json=actorType,proto3,enum=emissions.v8.ActorType" json:"actor_type,omitempty"` TopicId uint64 `protobuf:"varint,2,opt,name=topic_id,json=topicId,proto3" json:"topic_id,omitempty"` BlockHeight int64 `protobuf:"varint,3,opt,name=block_height,json=blockHeight,proto3" json:"block_height,omitempty"` Addresses []string `protobuf:"bytes,4,rep,name=addresses,proto3" json:"addresses,omitempty"` @@ -557,7 +557,7 @@ func (m *EventListeningCoefficientsSet) Reset() { *m = EventListeningCoe func (m *EventListeningCoefficientsSet) String() string { return proto.CompactTextString(m) } func (*EventListeningCoefficientsSet) ProtoMessage() {} func (*EventListeningCoefficientsSet) Descriptor() ([]byte, []int) { - return fileDescriptor_8a10150f55db931c, []int{8} + return fileDescriptor_dad7cd6b1534eaa9, []int{8} } func (m *EventListeningCoefficientsSet) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -625,7 +625,7 @@ func (m *EventInfererNetworkRegretSet) Reset() { *m = EventInfererNetwor func (m *EventInfererNetworkRegretSet) String() string { return proto.CompactTextString(m) } func (*EventInfererNetworkRegretSet) ProtoMessage() {} func (*EventInfererNetworkRegretSet) Descriptor() ([]byte, []int) { - return fileDescriptor_8a10150f55db931c, []int{9} + return fileDescriptor_dad7cd6b1534eaa9, []int{9} } func (m *EventInfererNetworkRegretSet) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -686,7 +686,7 @@ func (m *EventForecasterNetworkRegretSet) Reset() { *m = EventForecaster func (m *EventForecasterNetworkRegretSet) String() string { return proto.CompactTextString(m) } func (*EventForecasterNetworkRegretSet) ProtoMessage() {} func (*EventForecasterNetworkRegretSet) Descriptor() ([]byte, []int) { - return fileDescriptor_8a10150f55db931c, []int{10} + return fileDescriptor_dad7cd6b1534eaa9, []int{10} } func (m *EventForecasterNetworkRegretSet) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -747,7 +747,7 @@ func (m *EventNaiveInfererNetworkRegretSet) Reset() { *m = EventNaiveInf func (m *EventNaiveInfererNetworkRegretSet) String() string { return proto.CompactTextString(m) } func (*EventNaiveInfererNetworkRegretSet) ProtoMessage() {} func (*EventNaiveInfererNetworkRegretSet) Descriptor() ([]byte, []int) { - return fileDescriptor_8a10150f55db931c, []int{11} + return fileDescriptor_dad7cd6b1534eaa9, []int{11} } func (m *EventNaiveInfererNetworkRegretSet) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -807,7 +807,7 @@ func (m *EventTopicInitialRegretSet) Reset() { *m = EventTopicInitialReg func (m *EventTopicInitialRegretSet) String() string { return proto.CompactTextString(m) } func (*EventTopicInitialRegretSet) ProtoMessage() {} func (*EventTopicInitialRegretSet) Descriptor() ([]byte, []int) { - return fileDescriptor_8a10150f55db931c, []int{12} + return fileDescriptor_dad7cd6b1534eaa9, []int{12} } func (m *EventTopicInitialRegretSet) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -851,7 +851,7 @@ func (m *EventTopicInitialRegretSet) GetBlockHeight() int64 { } type EventTopicInitialEmaScoreSet struct { - ActorType ActorType `protobuf:"varint,1,opt,name=actor_type,json=actorType,proto3,enum=emissions.v7.ActorType" json:"actor_type,omitempty"` + ActorType ActorType `protobuf:"varint,1,opt,name=actor_type,json=actorType,proto3,enum=emissions.v8.ActorType" json:"actor_type,omitempty"` TopicId uint64 `protobuf:"varint,2,opt,name=topic_id,json=topicId,proto3" json:"topic_id,omitempty"` BlockHeight int64 `protobuf:"varint,3,opt,name=block_height,json=blockHeight,proto3" json:"block_height,omitempty"` Score github_com_allora_network_allora_chain_math.Dec `protobuf:"bytes,4,opt,name=score,proto3,customtype=github.com/allora-network/allora-chain/math.Dec" json:"score"` @@ -861,7 +861,7 @@ func (m *EventTopicInitialEmaScoreSet) Reset() { *m = EventTopicInitialE func (m *EventTopicInitialEmaScoreSet) String() string { return proto.CompactTextString(m) } func (*EventTopicInitialEmaScoreSet) ProtoMessage() {} func (*EventTopicInitialEmaScoreSet) Descriptor() ([]byte, []int) { - return fileDescriptor_8a10150f55db931c, []int{13} + return fileDescriptor_dad7cd6b1534eaa9, []int{13} } func (m *EventTopicInitialEmaScoreSet) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -911,79 +911,262 @@ func (m *EventTopicInitialEmaScoreSet) GetBlockHeight() int64 { return 0 } +type EventRegretStdNormSet struct { + TopicId uint64 `protobuf:"varint,1,opt,name=topic_id,json=topicId,proto3" json:"topic_id,omitempty"` + BlockHeight int64 `protobuf:"varint,2,opt,name=block_height,json=blockHeight,proto3" json:"block_height,omitempty"` + Stdnorm github_com_allora_network_allora_chain_math.Dec `protobuf:"bytes,3,opt,name=stdnorm,proto3,customtype=github.com/allora-network/allora-chain/math.Dec" json:"stdnorm"` +} + +func (m *EventRegretStdNormSet) Reset() { *m = EventRegretStdNormSet{} } +func (m *EventRegretStdNormSet) String() string { return proto.CompactTextString(m) } +func (*EventRegretStdNormSet) ProtoMessage() {} +func (*EventRegretStdNormSet) Descriptor() ([]byte, []int) { + return fileDescriptor_dad7cd6b1534eaa9, []int{14} +} +func (m *EventRegretStdNormSet) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *EventRegretStdNormSet) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_EventRegretStdNormSet.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *EventRegretStdNormSet) XXX_Merge(src proto.Message) { + xxx_messageInfo_EventRegretStdNormSet.Merge(m, src) +} +func (m *EventRegretStdNormSet) XXX_Size() int { + return m.Size() +} +func (m *EventRegretStdNormSet) XXX_DiscardUnknown() { + xxx_messageInfo_EventRegretStdNormSet.DiscardUnknown(m) +} + +var xxx_messageInfo_EventRegretStdNormSet proto.InternalMessageInfo + +func (m *EventRegretStdNormSet) GetTopicId() uint64 { + if m != nil { + return m.TopicId + } + return 0 +} + +func (m *EventRegretStdNormSet) GetBlockHeight() int64 { + if m != nil { + return m.BlockHeight + } + return 0 +} + +type EventInfererWeightSet struct { + TopicId uint64 `protobuf:"varint,1,opt,name=topic_id,json=topicId,proto3" json:"topic_id,omitempty"` + BlockHeight int64 `protobuf:"varint,2,opt,name=block_height,json=blockHeight,proto3" json:"block_height,omitempty"` + Address string `protobuf:"bytes,3,opt,name=address,proto3" json:"address,omitempty"` + Weight github_com_allora_network_allora_chain_math.Dec `protobuf:"bytes,4,opt,name=weight,proto3,customtype=github.com/allora-network/allora-chain/math.Dec" json:"weight"` +} + +func (m *EventInfererWeightSet) Reset() { *m = EventInfererWeightSet{} } +func (m *EventInfererWeightSet) String() string { return proto.CompactTextString(m) } +func (*EventInfererWeightSet) ProtoMessage() {} +func (*EventInfererWeightSet) Descriptor() ([]byte, []int) { + return fileDescriptor_dad7cd6b1534eaa9, []int{15} +} +func (m *EventInfererWeightSet) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *EventInfererWeightSet) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_EventInfererWeightSet.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *EventInfererWeightSet) XXX_Merge(src proto.Message) { + xxx_messageInfo_EventInfererWeightSet.Merge(m, src) +} +func (m *EventInfererWeightSet) XXX_Size() int { + return m.Size() +} +func (m *EventInfererWeightSet) XXX_DiscardUnknown() { + xxx_messageInfo_EventInfererWeightSet.DiscardUnknown(m) +} + +var xxx_messageInfo_EventInfererWeightSet proto.InternalMessageInfo + +func (m *EventInfererWeightSet) GetTopicId() uint64 { + if m != nil { + return m.TopicId + } + return 0 +} + +func (m *EventInfererWeightSet) GetBlockHeight() int64 { + if m != nil { + return m.BlockHeight + } + return 0 +} + +func (m *EventInfererWeightSet) GetAddress() string { + if m != nil { + return m.Address + } + return "" +} + +type EventForecasterWeightSet struct { + TopicId uint64 `protobuf:"varint,1,opt,name=topic_id,json=topicId,proto3" json:"topic_id,omitempty"` + BlockHeight int64 `protobuf:"varint,2,opt,name=block_height,json=blockHeight,proto3" json:"block_height,omitempty"` + Address string `protobuf:"bytes,3,opt,name=address,proto3" json:"address,omitempty"` + Weight github_com_allora_network_allora_chain_math.Dec `protobuf:"bytes,4,opt,name=weight,proto3,customtype=github.com/allora-network/allora-chain/math.Dec" json:"weight"` +} + +func (m *EventForecasterWeightSet) Reset() { *m = EventForecasterWeightSet{} } +func (m *EventForecasterWeightSet) String() string { return proto.CompactTextString(m) } +func (*EventForecasterWeightSet) ProtoMessage() {} +func (*EventForecasterWeightSet) Descriptor() ([]byte, []int) { + return fileDescriptor_dad7cd6b1534eaa9, []int{16} +} +func (m *EventForecasterWeightSet) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *EventForecasterWeightSet) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_EventForecasterWeightSet.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *EventForecasterWeightSet) XXX_Merge(src proto.Message) { + xxx_messageInfo_EventForecasterWeightSet.Merge(m, src) +} +func (m *EventForecasterWeightSet) XXX_Size() int { + return m.Size() +} +func (m *EventForecasterWeightSet) XXX_DiscardUnknown() { + xxx_messageInfo_EventForecasterWeightSet.DiscardUnknown(m) +} + +var xxx_messageInfo_EventForecasterWeightSet proto.InternalMessageInfo + +func (m *EventForecasterWeightSet) GetTopicId() uint64 { + if m != nil { + return m.TopicId + } + return 0 +} + +func (m *EventForecasterWeightSet) GetBlockHeight() int64 { + if m != nil { + return m.BlockHeight + } + return 0 +} + +func (m *EventForecasterWeightSet) GetAddress() string { + if m != nil { + return m.Address + } + return "" +} + func init() { - proto.RegisterEnum("emissions.v7.ActorType", ActorType_name, ActorType_value) - proto.RegisterType((*EventScoresSet)(nil), "emissions.v7.EventScoresSet") - proto.RegisterType((*EventRewardsSettled)(nil), "emissions.v7.EventRewardsSettled") - proto.RegisterType((*EventNetworkLossSet)(nil), "emissions.v7.EventNetworkLossSet") - proto.RegisterType((*EventForecastTaskScoreSet)(nil), "emissions.v7.EventForecastTaskScoreSet") - proto.RegisterType((*EventWorkerLastCommitSet)(nil), "emissions.v7.EventWorkerLastCommitSet") - proto.RegisterType((*EventReputerLastCommitSet)(nil), "emissions.v7.EventReputerLastCommitSet") - proto.RegisterType((*EventTopicRewardsSet)(nil), "emissions.v7.EventTopicRewardsSet") - proto.RegisterType((*EventEMAScoresSet)(nil), "emissions.v7.EventEMAScoresSet") - proto.RegisterType((*EventListeningCoefficientsSet)(nil), "emissions.v7.EventListeningCoefficientsSet") - proto.RegisterType((*EventInfererNetworkRegretSet)(nil), "emissions.v7.EventInfererNetworkRegretSet") - proto.RegisterType((*EventForecasterNetworkRegretSet)(nil), "emissions.v7.EventForecasterNetworkRegretSet") - proto.RegisterType((*EventNaiveInfererNetworkRegretSet)(nil), "emissions.v7.EventNaiveInfererNetworkRegretSet") - proto.RegisterType((*EventTopicInitialRegretSet)(nil), "emissions.v7.EventTopicInitialRegretSet") - proto.RegisterType((*EventTopicInitialEmaScoreSet)(nil), "emissions.v7.EventTopicInitialEmaScoreSet") -} - -func init() { proto.RegisterFile("emissions/v7/events.proto", fileDescriptor_8a10150f55db931c) } - -var fileDescriptor_8a10150f55db931c = []byte{ - // 804 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xdc, 0x56, 0x4f, 0x6f, 0x3a, 0x45, - 0x18, 0x66, 0x80, 0x52, 0x98, 0x62, 0xad, 0xdb, 0xaa, 0x0b, 0x56, 0x4a, 0xf7, 0x60, 0xd0, 0x44, - 0x36, 0x69, 0x13, 0xeb, 0xc1, 0x0b, 0xa5, 0x4b, 0x24, 0x69, 0xa1, 0x0e, 0x54, 0xa3, 0x1e, 0x36, - 0xc3, 0x32, 0x85, 0x09, 0xb0, 0x43, 0x66, 0x06, 0xda, 0x9e, 0xfd, 0x13, 0x8f, 0xf5, 0x3b, 0x78, - 0xf3, 0x8b, 0xf4, 0x62, 0xd2, 0x78, 0x32, 0x1e, 0x1a, 0x53, 0x3e, 0x83, 0x77, 0xb3, 0xb3, 0x0b, - 0x2c, 0xd1, 0xa8, 0x09, 0x68, 0xfb, 0xfb, 0xdd, 0x66, 0xde, 0xf7, 0xcd, 0x3b, 0xcf, 0xf3, 0xec, - 0xfb, 0x67, 0x61, 0x86, 0x0c, 0xa8, 0x10, 0x94, 0xb9, 0xc2, 0x1c, 0x1f, 0x99, 0x64, 0x4c, 0x5c, - 0x29, 0x8a, 0x43, 0xce, 0x24, 0xd3, 0xd2, 0x33, 0x57, 0x71, 0x7c, 0x94, 0xd5, 0x43, 0x81, 0x87, - 0xa6, 0xcb, 0x5c, 0x87, 0xf8, 0x71, 0xd9, 0xec, 0x82, 0x87, 0x93, 0xe1, 0x48, 0x12, 0x1e, 0xf8, - 0x76, 0x3a, 0xac, 0xc3, 0xd4, 0xd1, 0xf4, 0x4e, 0xbe, 0xd5, 0xf8, 0x1d, 0xc0, 0x4d, 0xcb, 0x7b, - 0xaa, 0xe1, 0x30, 0x4e, 0x44, 0x83, 0x48, 0xed, 0x03, 0x08, 0xb1, 0x23, 0x19, 0xb7, 0xe5, 0xcd, - 0x90, 0xe8, 0x20, 0x0f, 0x0a, 0x9b, 0x07, 0x6f, 0x16, 0xc3, 0x08, 0x8a, 0x25, 0xcf, 0xdf, 0xbc, - 0x19, 0x12, 0x94, 0xc2, 0xd3, 0xa3, 0x96, 0x81, 0x49, 0xc9, 0x86, 0xd4, 0xb1, 0x69, 0x5b, 0x8f, - 0xe6, 0x41, 0x21, 0x8e, 0xd6, 0xd5, 0xbd, 0xda, 0xd6, 0xf6, 0x61, 0xba, 0xd5, 0x67, 0x4e, 0xcf, - 0xee, 0x12, 0xda, 0xe9, 0x4a, 0x3d, 0x96, 0x07, 0x85, 0x18, 0xda, 0x50, 0xb6, 0x8f, 0x95, 0x49, - 0xdb, 0x85, 0x29, 0xdc, 0x6e, 0x73, 0x22, 0x04, 0x11, 0x7a, 0x3c, 0x1f, 0x2b, 0xa4, 0xd0, 0xdc, - 0xa0, 0xd5, 0x61, 0x42, 0x28, 0x80, 0xfa, 0x9a, 0xe7, 0x3a, 0x3e, 0xba, 0x7b, 0xd8, 0x8b, 0xfc, - 0xfa, 0xb0, 0x67, 0x76, 0xa8, 0xec, 0x8e, 0x5a, 0x45, 0x87, 0x0d, 0x4c, 0xdc, 0xef, 0x33, 0x8e, - 0xdf, 0x77, 0x89, 0xbc, 0x62, 0xbc, 0x37, 0xbd, 0x3a, 0x5d, 0x4c, 0x5d, 0x73, 0x80, 0x65, 0xb7, - 0x78, 0x42, 0x1c, 0x14, 0xa4, 0x31, 0x7e, 0x88, 0xc2, 0x6d, 0xc5, 0x1b, 0x91, 0x2b, 0xcc, 0xdb, - 0x1e, 0x71, 0xd9, 0x27, 0xed, 0x67, 0x49, 0xfe, 0x13, 0xb8, 0xce, 0x7d, 0x94, 0xcb, 0xb2, 0x9f, - 0xe6, 0xd1, 0xde, 0x81, 0xaf, 0x86, 0x31, 0xd9, 0xf2, 0x5a, 0x4f, 0x28, 0x58, 0xaf, 0x84, 0x60, - 0x35, 0xaf, 0x8d, 0xef, 0x41, 0x20, 0x53, 0xcd, 0xcf, 0x7b, 0xca, 0x84, 0xaa, 0x91, 0x30, 0x5d, - 0xf0, 0xf7, 0x74, 0xa3, 0x7f, 0xa6, 0xfb, 0x11, 0x4c, 0x8f, 0x71, 0x7f, 0x44, 0xec, 0xd6, 0xc8, - 0x6d, 0xf7, 0x89, 0x52, 0x64, 0xe3, 0x20, 0x13, 0x96, 0xf9, 0xb0, 0xf8, 0xa9, 0x17, 0x71, 0xac, - 0x02, 0xd0, 0xc6, 0x78, 0x7e, 0x31, 0xbe, 0x01, 0x30, 0xa3, 0x30, 0x55, 0x18, 0x27, 0x0e, 0x16, - 0xb2, 0x89, 0x45, 0x4f, 0x95, 0xef, 0x3f, 0x20, 0x3b, 0x83, 0x6b, 0xea, 0xeb, 0x2b, 0x48, 0x4b, - 0xa8, 0xe8, 0x67, 0x31, 0xbe, 0x02, 0x50, 0x57, 0x38, 0x3e, 0x63, 0xbc, 0x47, 0xf8, 0x29, 0x16, - 0xb2, 0xcc, 0x06, 0x03, 0x2a, 0x97, 0x17, 0xe8, 0x5d, 0xb8, 0xa6, 0xda, 0x3a, 0x50, 0x66, 0x7b, - 0x51, 0x99, 0x9a, 0xe7, 0x42, 0x7e, 0x84, 0xf1, 0xf5, 0x54, 0x0d, 0xe4, 0x77, 0xfb, 0x13, 0xc1, - 0xf8, 0x16, 0xc0, 0x1d, 0x05, 0xa3, 0xe9, 0xa5, 0x9f, 0x37, 0x95, 0xf6, 0x16, 0x4c, 0x4d, 0x11, - 0x08, 0x1d, 0xe4, 0x63, 0x85, 0x38, 0x4a, 0x06, 0x10, 0x16, 0x2a, 0x3b, 0xba, 0x9a, 0xca, 0x36, - 0xbe, 0x8b, 0xc2, 0xd7, 0x14, 0x10, 0xeb, 0xac, 0xf4, 0x9f, 0xce, 0xb4, 0x9d, 0xb0, 0x38, 0xb1, - 0x40, 0x87, 0xff, 0x79, 0x8c, 0x79, 0xea, 0x52, 0x61, 0x63, 0x47, 0xd2, 0x31, 0xd1, 0x13, 0xf9, - 0x58, 0x21, 0x89, 0x92, 0x54, 0x94, 0xd4, 0xdd, 0xb8, 0x8d, 0xc2, 0xb7, 0x95, 0x14, 0xa7, 0x54, - 0x48, 0xe2, 0x52, 0xb7, 0x53, 0x66, 0xe4, 0xf2, 0x92, 0x3a, 0xd4, 0x5b, 0x2d, 0xcf, 0x75, 0xd4, - 0x7f, 0x09, 0xd3, 0x4e, 0x08, 0xe6, 0xb2, 0x4a, 0x2d, 0x24, 0x33, 0x7e, 0x02, 0x70, 0x57, 0x49, - 0x52, 0x75, 0x2f, 0x09, 0x27, 0x3c, 0x18, 0x6b, 0x88, 0x74, 0x38, 0x59, 0x41, 0xc3, 0x2c, 0x30, - 0x8b, 0xfd, 0xe5, 0x1c, 0xf7, 0x1e, 0x0a, 0x58, 0x2f, 0x55, 0xed, 0x2a, 0x8f, 0x71, 0x0f, 0xe0, - 0xde, 0xc2, 0x2c, 0x7c, 0xf1, 0x29, 0xfd, 0x0c, 0xe0, 0xbe, 0xbf, 0x72, 0x30, 0x1d, 0x93, 0x97, - 0xe4, 0x3b, 0xfd, 0x08, 0x60, 0x76, 0x3e, 0x1e, 0xab, 0x2e, 0x95, 0x14, 0xf7, 0x57, 0xc5, 0xa6, - 0x0e, 0x13, 0xfe, 0x3b, 0xaa, 0xd9, 0x96, 0x99, 0x2a, 0x7e, 0x1a, 0x63, 0x32, 0xed, 0x92, 0x30, - 0x5a, 0x6b, 0x80, 0x67, 0x4b, 0xf6, 0x69, 0xe6, 0xc6, 0x6c, 0x7f, 0xc7, 0x57, 0xb1, 0xbf, 0xdf, - 0x6b, 0xc1, 0xd4, 0x0c, 0xa4, 0x66, 0xc0, 0x5c, 0xa9, 0xdc, 0xac, 0x23, 0xbb, 0xf9, 0xf9, 0xb9, - 0x65, 0x57, 0x6b, 0x15, 0x0b, 0x59, 0xc8, 0xbe, 0xa8, 0x35, 0xce, 0xad, 0x72, 0xb5, 0x52, 0xb5, - 0x4e, 0xb6, 0x22, 0x5a, 0x06, 0xbe, 0x1e, 0x8a, 0xa9, 0xd4, 0x91, 0x55, 0x2e, 0x35, 0x9a, 0x16, - 0xda, 0x02, 0xda, 0x1b, 0x50, 0x0b, 0xb9, 0x90, 0x75, 0x7e, 0xe1, 0xd9, 0xa3, 0xc7, 0xe8, 0xee, - 0x31, 0x07, 0xee, 0x1f, 0x73, 0xe0, 0xb7, 0xc7, 0x1c, 0xb8, 0x9d, 0xe4, 0x22, 0xf7, 0x93, 0x5c, - 0xe4, 0x97, 0x49, 0x2e, 0xf2, 0xc5, 0x87, 0xff, 0x12, 0xf5, 0xb5, 0x39, 0xff, 0xa7, 0xf7, 0xd4, - 0x16, 0xad, 0x84, 0xfa, 0x73, 0x3f, 0xfc, 0x23, 0x00, 0x00, 0xff, 0xff, 0x06, 0xc6, 0xae, 0xae, - 0x30, 0x0c, 0x00, 0x00, + proto.RegisterEnum("emissions.v8.ActorType", ActorType_name, ActorType_value) + proto.RegisterType((*EventScoresSet)(nil), "emissions.v8.EventScoresSet") + proto.RegisterType((*EventRewardsSettled)(nil), "emissions.v8.EventRewardsSettled") + proto.RegisterType((*EventNetworkLossSet)(nil), "emissions.v8.EventNetworkLossSet") + proto.RegisterType((*EventForecastTaskScoreSet)(nil), "emissions.v8.EventForecastTaskScoreSet") + proto.RegisterType((*EventWorkerLastCommitSet)(nil), "emissions.v8.EventWorkerLastCommitSet") + proto.RegisterType((*EventReputerLastCommitSet)(nil), "emissions.v8.EventReputerLastCommitSet") + proto.RegisterType((*EventTopicRewardsSet)(nil), "emissions.v8.EventTopicRewardsSet") + proto.RegisterType((*EventEMAScoresSet)(nil), "emissions.v8.EventEMAScoresSet") + proto.RegisterType((*EventListeningCoefficientsSet)(nil), "emissions.v8.EventListeningCoefficientsSet") + proto.RegisterType((*EventInfererNetworkRegretSet)(nil), "emissions.v8.EventInfererNetworkRegretSet") + proto.RegisterType((*EventForecasterNetworkRegretSet)(nil), "emissions.v8.EventForecasterNetworkRegretSet") + proto.RegisterType((*EventNaiveInfererNetworkRegretSet)(nil), "emissions.v8.EventNaiveInfererNetworkRegretSet") + proto.RegisterType((*EventTopicInitialRegretSet)(nil), "emissions.v8.EventTopicInitialRegretSet") + proto.RegisterType((*EventTopicInitialEmaScoreSet)(nil), "emissions.v8.EventTopicInitialEmaScoreSet") + proto.RegisterType((*EventRegretStdNormSet)(nil), "emissions.v8.EventRegretStdNormSet") + proto.RegisterType((*EventInfererWeightSet)(nil), "emissions.v8.EventInfererWeightSet") + proto.RegisterType((*EventForecasterWeightSet)(nil), "emissions.v8.EventForecasterWeightSet") +} + +func init() { proto.RegisterFile("emissions/v8/events.proto", fileDescriptor_dad7cd6b1534eaa9) } + +var fileDescriptor_dad7cd6b1534eaa9 = []byte{ + // 881 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xdc, 0x57, 0x4d, 0x6f, 0x1b, 0x45, + 0x18, 0xf6, 0xd8, 0x89, 0x13, 0xbf, 0x09, 0xa5, 0x6c, 0x53, 0x58, 0x87, 0xe2, 0xb8, 0x7b, 0x40, + 0x06, 0x09, 0xaf, 0xd4, 0x48, 0x90, 0x03, 0x17, 0xc7, 0xdd, 0x08, 0x4b, 0xa9, 0x93, 0x4e, 0x5c, + 0x2a, 0xe0, 0xb0, 0x1a, 0xef, 0x4e, 0xec, 0x51, 0xbc, 0x3b, 0xd6, 0xcc, 0xc4, 0x49, 0xcf, 0x7c, + 0x88, 0x63, 0xf9, 0x0f, 0x1c, 0x90, 0xf8, 0x13, 0x48, 0x5c, 0x7a, 0x41, 0x8a, 0x38, 0x21, 0x0e, + 0x15, 0x4a, 0x7e, 0x03, 0x77, 0xb4, 0xb3, 0xbb, 0xf6, 0x5a, 0x20, 0x40, 0x5a, 0x43, 0x3f, 0x6e, + 0x33, 0xf3, 0xbe, 0x7e, 0xe7, 0x79, 0x9e, 0x79, 0x3f, 0xbc, 0x50, 0xa5, 0x01, 0x93, 0x92, 0xf1, + 0x50, 0xda, 0x93, 0x1d, 0x9b, 0x4e, 0x68, 0xa8, 0x64, 0x73, 0x2c, 0xb8, 0xe2, 0xc6, 0xfa, 0xd4, + 0xd4, 0x9c, 0xec, 0x6c, 0x9a, 0x19, 0xc7, 0x6d, 0x3b, 0xe4, 0xa1, 0x47, 0x63, 0xbf, 0xcd, 0xcd, + 0x39, 0x8b, 0xa0, 0xe3, 0x53, 0x45, 0x45, 0x62, 0xdb, 0x18, 0xf0, 0x01, 0xd7, 0x4b, 0x3b, 0x5a, + 0xc5, 0xa7, 0xd6, 0xef, 0x08, 0xae, 0x39, 0xd1, 0x55, 0x47, 0x1e, 0x17, 0x54, 0x1e, 0x51, 0x65, + 0xbc, 0x0f, 0x40, 0x3c, 0xc5, 0x85, 0xab, 0x1e, 0x8d, 0xa9, 0x89, 0xea, 0xa8, 0x71, 0xed, 0xce, + 0x1b, 0xcd, 0x2c, 0x82, 0x66, 0x2b, 0xb2, 0xf7, 0x1e, 0x8d, 0x29, 0xae, 0x90, 0x74, 0x69, 0x54, + 0x61, 0x55, 0xf1, 0x31, 0xf3, 0x5c, 0xe6, 0x9b, 0xc5, 0x3a, 0x6a, 0x2c, 0xe1, 0x15, 0xbd, 0xef, + 0xf8, 0xc6, 0x6d, 0x58, 0xef, 0x8f, 0xb8, 0x77, 0xe2, 0x0e, 0x29, 0x1b, 0x0c, 0x95, 0x59, 0xaa, + 0xa3, 0x46, 0x09, 0xaf, 0xe9, 0xb3, 0x8f, 0xf4, 0x91, 0x71, 0x0b, 0x2a, 0xc4, 0xf7, 0x05, 0x95, + 0x92, 0x4a, 0x73, 0xa9, 0x5e, 0x6a, 0x54, 0xf0, 0xec, 0xc0, 0x38, 0x80, 0xb2, 0xd4, 0x00, 0xcd, + 0xe5, 0xc8, 0xb4, 0xfb, 0xc1, 0x93, 0xa7, 0x5b, 0x85, 0x5f, 0x9f, 0x6e, 0xd9, 0x03, 0xa6, 0x86, + 0xa7, 0xfd, 0xa6, 0xc7, 0x03, 0x9b, 0x8c, 0x46, 0x5c, 0x90, 0xf7, 0x42, 0xaa, 0xce, 0xb8, 0x38, + 0x49, 0xb7, 0xde, 0x90, 0xb0, 0xd0, 0x0e, 0x88, 0x1a, 0x36, 0xef, 0x52, 0x0f, 0x27, 0x61, 0xac, + 0x6f, 0x8b, 0x70, 0x43, 0xf3, 0xc6, 0xf4, 0x8c, 0x08, 0x3f, 0x22, 0xae, 0x46, 0xd4, 0x7f, 0x2e, + 0xc9, 0xdf, 0x87, 0x15, 0x11, 0xa3, 0xcc, 0xcb, 0x3e, 0x8d, 0x63, 0xbc, 0x0d, 0xaf, 0x66, 0x31, + 0xb9, 0xea, 0xdc, 0x2c, 0x6b, 0x58, 0xaf, 0x64, 0x60, 0xf5, 0xce, 0xad, 0x6f, 0x50, 0x22, 0x53, + 0x37, 0x8e, 0xbb, 0xcf, 0xa5, 0xce, 0x91, 0x2c, 0x5d, 0xf4, 0xf7, 0x74, 0x8b, 0x7f, 0xa6, 0xfb, + 0x21, 0xac, 0x4f, 0xc8, 0xe8, 0x94, 0xba, 0xfd, 0xd3, 0xd0, 0x1f, 0x51, 0xad, 0xc8, 0xda, 0x9d, + 0x6a, 0x56, 0xe6, 0xed, 0xe6, 0xc7, 0x91, 0xc7, 0xae, 0x76, 0xc0, 0x6b, 0x93, 0xd9, 0xc6, 0xfa, + 0x12, 0x41, 0x55, 0x63, 0xda, 0xe3, 0x82, 0x7a, 0x44, 0xaa, 0x1e, 0x91, 0x27, 0x3a, 0x7d, 0xff, + 0x01, 0xd9, 0x3d, 0x58, 0xd6, 0xaf, 0xaf, 0x21, 0xe5, 0x50, 0x31, 0x8e, 0x62, 0x7d, 0x8e, 0xc0, + 0xd4, 0x38, 0x1e, 0x72, 0x71, 0x42, 0xc5, 0x3e, 0x91, 0xaa, 0xcd, 0x83, 0x80, 0xa9, 0xfc, 0x02, + 0xbd, 0x03, 0xcb, 0xba, 0xac, 0x13, 0x65, 0x6e, 0xcc, 0x2b, 0xd3, 0x8d, 0x4c, 0x38, 0xf6, 0xb0, + 0xbe, 0x48, 0xd5, 0xc0, 0x71, 0xb5, 0x3f, 0x23, 0x18, 0x5f, 0x21, 0xd8, 0xd0, 0x30, 0x7a, 0x51, + 0xf8, 0x59, 0x51, 0x19, 0x6f, 0x42, 0x25, 0x45, 0x20, 0x4d, 0x54, 0x2f, 0x35, 0x96, 0xf0, 0x6a, + 0x02, 0x61, 0x2e, 0xb3, 0x8b, 0x8b, 0xc9, 0x6c, 0xeb, 0xeb, 0x22, 0xbc, 0xa6, 0x81, 0x38, 0xf7, + 0x5a, 0xff, 0x69, 0x4f, 0xdb, 0xc8, 0x8a, 0x53, 0x4a, 0x74, 0xf8, 0x9f, 0xdb, 0x58, 0xa4, 0x2e, + 0x93, 0x2e, 0xf1, 0x14, 0x9b, 0x50, 0xb3, 0x5c, 0x2f, 0x35, 0x56, 0xf1, 0x2a, 0x93, 0x2d, 0xbd, + 0xb7, 0x1e, 0x17, 0xe1, 0x2d, 0x2d, 0xc5, 0x3e, 0x93, 0x8a, 0x86, 0x2c, 0x1c, 0xb4, 0x39, 0x3d, + 0x3e, 0x66, 0x1e, 0x8b, 0x46, 0xcb, 0xf3, 0xda, 0xea, 0x3f, 0x83, 0x75, 0x2f, 0x03, 0x33, 0xaf, + 0x52, 0x73, 0xc1, 0xac, 0x9f, 0x10, 0xdc, 0xd2, 0x92, 0x74, 0xc2, 0x63, 0x2a, 0xa8, 0x48, 0xda, + 0x1a, 0xa6, 0x03, 0x41, 0x17, 0x50, 0x30, 0x73, 0xcc, 0x4a, 0x7f, 0xd9, 0xc7, 0xa3, 0x8b, 0x12, + 0xd6, 0xb9, 0xb2, 0x5d, 0xc7, 0xb1, 0x2e, 0x10, 0x6c, 0xcd, 0xf5, 0xc2, 0x17, 0x9f, 0xd2, 0xcf, + 0x08, 0x6e, 0xc7, 0x23, 0x87, 0xb0, 0x09, 0x7d, 0x49, 0xde, 0xe9, 0x7b, 0x04, 0x9b, 0xb3, 0xf6, + 0xd8, 0x09, 0x99, 0x62, 0x64, 0xb4, 0x28, 0x36, 0x07, 0x50, 0x8e, 0xef, 0xd1, 0xc5, 0x96, 0xa7, + 0xab, 0xc4, 0x61, 0xac, 0xab, 0xb4, 0x4a, 0xb2, 0x68, 0x9d, 0x80, 0x4c, 0x87, 0xec, 0xb3, 0xe9, + 0x1b, 0xd3, 0xf9, 0xbd, 0xb4, 0x90, 0xf9, 0xfd, 0x1d, 0x82, 0x9b, 0xc9, 0xe4, 0xd4, 0xef, 0xa0, + 0xfc, 0x2e, 0x17, 0x41, 0xfe, 0xe7, 0xb8, 0x0f, 0x2b, 0x52, 0xf9, 0x21, 0x17, 0x41, 0xde, 0xf7, + 0x48, 0xe3, 0x58, 0x3f, 0xa4, 0x50, 0x93, 0x72, 0x78, 0xa8, 0x6f, 0xca, 0x0f, 0xd5, 0x84, 0x95, + 0x24, 0xed, 0x63, 0xa8, 0x38, 0xdd, 0x46, 0x39, 0x75, 0x16, 0xff, 0x2c, 0xa7, 0xd8, 0x49, 0x18, + 0xeb, 0xc7, 0xf4, 0xdf, 0xd2, 0xac, 0x53, 0xbd, 0x78, 0x2c, 0xde, 0xed, 0x43, 0x65, 0x9a, 0xd8, + 0x86, 0x05, 0xb5, 0x56, 0xbb, 0x77, 0x80, 0xdd, 0xde, 0x27, 0x87, 0x8e, 0xdb, 0xe9, 0xee, 0x39, + 0xd8, 0xc1, 0xee, 0x83, 0xee, 0xd1, 0xa1, 0xd3, 0xee, 0xec, 0x75, 0x9c, 0xbb, 0xd7, 0x0b, 0x46, + 0x15, 0x6e, 0x66, 0x7c, 0xf6, 0x0e, 0xb0, 0xd3, 0x6e, 0x1d, 0xf5, 0x1c, 0x7c, 0x1d, 0x19, 0xaf, + 0x83, 0x91, 0x31, 0x61, 0xe7, 0xf0, 0x41, 0x74, 0x5e, 0xdc, 0xc5, 0x4f, 0x2e, 0x6b, 0xe8, 0xe2, + 0xb2, 0x86, 0x7e, 0xbb, 0xac, 0xa1, 0xc7, 0x57, 0xb5, 0xc2, 0xc5, 0x55, 0xad, 0xf0, 0xcb, 0x55, + 0xad, 0xf0, 0xe9, 0xce, 0xbf, 0x84, 0x7d, 0x6e, 0xcf, 0xbe, 0x03, 0xa3, 0x0a, 0x95, 0xfd, 0xb2, + 0xfe, 0xda, 0xdb, 0xfe, 0x23, 0x00, 0x00, 0xff, 0xff, 0x95, 0x6a, 0x14, 0xc2, 0x64, 0x0e, 0x00, + 0x00, } func (m *EventScoresSet) Marshal() (dAtA []byte, err error) { @@ -1735,6 +1918,149 @@ func (m *EventTopicInitialEmaScoreSet) MarshalToSizedBuffer(dAtA []byte) (int, e return len(dAtA) - i, nil } +func (m *EventRegretStdNormSet) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *EventRegretStdNormSet) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *EventRegretStdNormSet) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + { + size := m.Stdnorm.Size() + i -= size + if _, err := m.Stdnorm.MarshalTo(dAtA[i:]); err != nil { + return 0, err + } + i = encodeVarintEvents(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x1a + if m.BlockHeight != 0 { + i = encodeVarintEvents(dAtA, i, uint64(m.BlockHeight)) + i-- + dAtA[i] = 0x10 + } + if m.TopicId != 0 { + i = encodeVarintEvents(dAtA, i, uint64(m.TopicId)) + i-- + dAtA[i] = 0x8 + } + return len(dAtA) - i, nil +} + +func (m *EventInfererWeightSet) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *EventInfererWeightSet) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *EventInfererWeightSet) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + { + size := m.Weight.Size() + i -= size + if _, err := m.Weight.MarshalTo(dAtA[i:]); err != nil { + return 0, err + } + i = encodeVarintEvents(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x22 + if len(m.Address) > 0 { + i -= len(m.Address) + copy(dAtA[i:], m.Address) + i = encodeVarintEvents(dAtA, i, uint64(len(m.Address))) + i-- + dAtA[i] = 0x1a + } + if m.BlockHeight != 0 { + i = encodeVarintEvents(dAtA, i, uint64(m.BlockHeight)) + i-- + dAtA[i] = 0x10 + } + if m.TopicId != 0 { + i = encodeVarintEvents(dAtA, i, uint64(m.TopicId)) + i-- + dAtA[i] = 0x8 + } + return len(dAtA) - i, nil +} + +func (m *EventForecasterWeightSet) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *EventForecasterWeightSet) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *EventForecasterWeightSet) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + { + size := m.Weight.Size() + i -= size + if _, err := m.Weight.MarshalTo(dAtA[i:]); err != nil { + return 0, err + } + i = encodeVarintEvents(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x22 + if len(m.Address) > 0 { + i -= len(m.Address) + copy(dAtA[i:], m.Address) + i = encodeVarintEvents(dAtA, i, uint64(len(m.Address))) + i-- + dAtA[i] = 0x1a + } + if m.BlockHeight != 0 { + i = encodeVarintEvents(dAtA, i, uint64(m.BlockHeight)) + i-- + dAtA[i] = 0x10 + } + if m.TopicId != 0 { + i = encodeVarintEvents(dAtA, i, uint64(m.TopicId)) + i-- + dAtA[i] = 0x8 + } + return len(dAtA) - i, nil +} + func encodeVarintEvents(dAtA []byte, offset int, v uint64) int { offset -= sovEvents(v) base := offset @@ -2083,17 +2409,76 @@ func (m *EventTopicInitialEmaScoreSet) Size() (n int) { return n } -func sovEvents(x uint64) (n int) { - return (math_bits.Len64(x|1) + 6) / 7 -} -func sozEvents(x uint64) (n int) { - return sovEvents(uint64((x << 1) ^ uint64((int64(x) >> 63)))) +func (m *EventRegretStdNormSet) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.TopicId != 0 { + n += 1 + sovEvents(uint64(m.TopicId)) + } + if m.BlockHeight != 0 { + n += 1 + sovEvents(uint64(m.BlockHeight)) + } + l = m.Stdnorm.Size() + n += 1 + l + sovEvents(uint64(l)) + return n } -func (m *EventScoresSet) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx + +func (m *EventInfererWeightSet) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.TopicId != 0 { + n += 1 + sovEvents(uint64(m.TopicId)) + } + if m.BlockHeight != 0 { + n += 1 + sovEvents(uint64(m.BlockHeight)) + } + l = len(m.Address) + if l > 0 { + n += 1 + l + sovEvents(uint64(l)) + } + l = m.Weight.Size() + n += 1 + l + sovEvents(uint64(l)) + return n +} + +func (m *EventForecasterWeightSet) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.TopicId != 0 { + n += 1 + sovEvents(uint64(m.TopicId)) + } + if m.BlockHeight != 0 { + n += 1 + sovEvents(uint64(m.BlockHeight)) + } + l = len(m.Address) + if l > 0 { + n += 1 + l + sovEvents(uint64(l)) + } + l = m.Weight.Size() + n += 1 + l + sovEvents(uint64(l)) + return n +} + +func sovEvents(x uint64) (n int) { + return (math_bits.Len64(x|1) + 6) / 7 +} +func sozEvents(x uint64) (n int) { + return sovEvents(uint64((x << 1) ^ uint64((int64(x) >> 63)))) +} +func (m *EventScoresSet) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx var wire uint64 for shift := uint(0); ; shift += 7 { if shift >= 64 { @@ -4246,6 +4631,436 @@ func (m *EventTopicInitialEmaScoreSet) Unmarshal(dAtA []byte) error { } return nil } +func (m *EventRegretStdNormSet) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowEvents + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: EventRegretStdNormSet: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: EventRegretStdNormSet: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field TopicId", wireType) + } + m.TopicId = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowEvents + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.TopicId |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 2: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field BlockHeight", wireType) + } + m.BlockHeight = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowEvents + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.BlockHeight |= int64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 3: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Stdnorm", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowEvents + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthEvents + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthEvents + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if err := m.Stdnorm.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipEvents(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthEvents + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *EventInfererWeightSet) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowEvents + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: EventInfererWeightSet: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: EventInfererWeightSet: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field TopicId", wireType) + } + m.TopicId = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowEvents + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.TopicId |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 2: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field BlockHeight", wireType) + } + m.BlockHeight = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowEvents + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.BlockHeight |= int64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 3: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Address", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowEvents + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthEvents + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthEvents + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Address = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 4: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Weight", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowEvents + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthEvents + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthEvents + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if err := m.Weight.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipEvents(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthEvents + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *EventForecasterWeightSet) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowEvents + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: EventForecasterWeightSet: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: EventForecasterWeightSet: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field TopicId", wireType) + } + m.TopicId = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowEvents + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.TopicId |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 2: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field BlockHeight", wireType) + } + m.BlockHeight = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowEvents + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.BlockHeight |= int64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 3: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Address", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowEvents + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthEvents + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthEvents + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Address = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 4: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Weight", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowEvents + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthEvents + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthEvents + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if err := m.Weight.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipEvents(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthEvents + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} func skipEvents(dAtA []byte) (n int, err error) { l := len(dAtA) iNdEx := 0 diff --git a/x/emissions/types/events_emitters.go b/x/emissions/types/events_emitters.go index 2c11f6ef3..20693d7c4 100644 --- a/x/emissions/types/events_emitters.go +++ b/x/emissions/types/events_emitters.go @@ -192,3 +192,28 @@ func EmitNewTopicInitialEmaScoreSetEvent(ctx sdk.Context, actorType ActorType, t ctx.Logger().Warn("Error emitting NewTopicInitialEmaScoreSetEvent: ", err.Error()) } } + +// Individual events +func EmitNewRegretStdNormSetEvent(ctx sdk.Context, topicId uint64, blockHeight int64, stdNorm alloraMath.Dec) { + metrics.IncrProducerEventCount(metrics.REGRET_STDNORM_EVENT) + err := ctx.EventManager().EmitTypedEvent(NewRegretStdNormSetEventBase(topicId, blockHeight, stdNorm)) + if err != nil { + ctx.Logger().Warn("Error emitting NewRegretStdNormSetEvent: ", err.Error()) + } +} + +func EmitNewInfererWeightSetEvent(ctx sdk.Context, topicId uint64, blockHeight int64, address string, weight alloraMath.Dec) { + metrics.IncrProducerEventCount(metrics.INFERER_WEIGHTS_EVENT) + err := ctx.EventManager().EmitTypedEvent(NewInfererWeightSetEventBase(topicId, blockHeight, address, weight)) + if err != nil { + ctx.Logger().Warn("Error emitting NewInfererWeightSetEvent: ", err.Error()) + } +} + +func EmitNewForecasterWeightSetEvent(ctx sdk.Context, topicId uint64, blockHeight int64, address string, weight alloraMath.Dec) { + metrics.IncrProducerEventCount(metrics.FORECASTER_WEIGHTS_EVENT) + err := ctx.EventManager().EmitTypedEvent(NewForecasterWeightSetEventBase(topicId, blockHeight, address, weight)) + if err != nil { + ctx.Logger().Warn("Error emitting NewForecasterWeightSetEvent: ", err.Error()) + } +} diff --git a/x/emissions/types/events_test.go b/x/emissions/types/events_test.go index b5aede967..cd6680d15 100644 --- a/x/emissions/types/events_test.go +++ b/x/emissions/types/events_test.go @@ -49,7 +49,7 @@ func TestEmitNewInfererScoresSetEventWithScores(t *testing.T) { require.Len(t, events, 1) event := events[0] - require.Equal(t, "emissions.v7.EventScoresSet", event.Type) + require.Equal(t, "emissions.v8.EventScoresSet", event.Type) attributes := event.Attributes require.Len(t, attributes, 5) @@ -108,7 +108,7 @@ func TestEmitNewForecasterScoresSetEventWithScores(t *testing.T) { require.Len(t, events, 1) event := events[0] - require.Equal(t, "emissions.v7.EventScoresSet", event.Type) + require.Equal(t, "emissions.v8.EventScoresSet", event.Type) attributes := event.Attributes require.Len(t, attributes, 5) @@ -167,7 +167,7 @@ func TestEmitNewReputerScoresSetEventWithScores(t *testing.T) { require.Len(t, events, 1) event := events[0] - require.Equal(t, "emissions.v7.EventScoresSet", event.Type) + require.Equal(t, "emissions.v8.EventScoresSet", event.Type) attributes := event.Attributes require.Len(t, attributes, 5) @@ -226,7 +226,7 @@ func TestEmitNewInfererRewardsSettledEventWithRewards(t *testing.T) { require.Len(t, events, 1) event := events[0] - require.Equal(t, "emissions.v7.EventRewardsSettled", event.Type) + require.Equal(t, "emissions.v8.EventRewardsSettled", event.Type) attributes := event.Attributes require.Len(t, attributes, 6) @@ -285,7 +285,7 @@ func TestEmitNewForecasterRewardsSettledEventWithRewards(t *testing.T) { require.Len(t, events, 1) event := events[0] - require.Equal(t, "emissions.v7.EventRewardsSettled", event.Type) + require.Equal(t, "emissions.v8.EventRewardsSettled", event.Type) attributes := event.Attributes require.Len(t, attributes, 6) @@ -344,7 +344,7 @@ func TestEmitNewReputerAndDelegatorRewardsSettledEventWithRewards(t *testing.T) require.Len(t, events, 1) event := events[0] - require.Equal(t, "emissions.v7.EventRewardsSettled", event.Type) + require.Equal(t, "emissions.v8.EventRewardsSettled", event.Type) attributes := event.Attributes require.Len(t, attributes, 6) @@ -409,7 +409,7 @@ func TestEmitNewNetworkLossSetEvent(t *testing.T) { require.Len(t, events, 1) event := events[0] - require.Equal(t, "emissions.v7.EventNetworkLossSet", event.Type) + require.Equal(t, "emissions.v8.EventNetworkLossSet", event.Type) attributes := event.Attributes require.Len(t, attributes, 3) @@ -442,7 +442,7 @@ func TestEmitNewForecastTaskSetEvent(t *testing.T) { require.Len(t, events, 1) event := events[0] - require.Equal(t, "emissions.v7.EventForecastTaskScoreSet", event.Type) + require.Equal(t, "emissions.v8.EventForecastTaskScoreSet", event.Type) require.Contains(t, event.Attributes[0].Key, "score") require.Contains(t, event.Attributes[0].Value, "10") @@ -465,9 +465,9 @@ func TestNewLastCommitSetEvent(t *testing.T) { events := ctx.EventManager().Events() require.Len(t, events, 3) - require.Equal(t, "emissions.v7.EventWorkerLastCommitSet", events[0].Type) - require.Equal(t, "emissions.v7.EventWorkerLastCommitSet", events[1].Type) - require.Equal(t, "emissions.v7.EventReputerLastCommitSet", events[2].Type) + require.Equal(t, "emissions.v8.EventWorkerLastCommitSet", events[0].Type) + require.Equal(t, "emissions.v8.EventWorkerLastCommitSet", events[1].Type) + require.Equal(t, "emissions.v8.EventReputerLastCommitSet", events[2].Type) require.Contains(t, events[0].Attributes[0].Key, "block_height") require.Contains(t, events[0].Attributes[1].Key, "nonce") @@ -504,7 +504,7 @@ func TestEmitNewTopicRewardsSetEvent(t *testing.T) { events := ctx.EventManager().Events() require.Len(t, events, 1) - require.Equal(t, "emissions.v7.EventTopicRewardsSet", events[0].Type) + require.Equal(t, "emissions.v8.EventTopicRewardsSet", events[0].Type) require.Contains(t, events[0].Attributes[0].Key, "rewards") require.Contains(t, events[0].Attributes[0].Value, `["0","10","20","30","40"]`) require.Contains(t, events[0].Attributes[1].Key, "topic_ids") @@ -543,7 +543,7 @@ func TestEmitNewEMAScoresSetEventWithScores(t *testing.T) { require.Len(t, events, 3) event := events[0] - require.Equal(t, "emissions.v7.EventEMAScoresSet", event.Type) + require.Equal(t, "emissions.v8.EventEMAScoresSet", event.Type) require.Contains(t, events[0].Attributes[0].Key, "actor_type") require.Contains(t, events[0].Attributes[0].Value, "\"ACTOR_TYPE_INFERER_UNSPECIFIED\"") @@ -584,7 +584,7 @@ func TestEmitNewListeningCoefficientsSetEvent(t *testing.T) { require.Len(t, events, 1) event := events[0] - require.Equal(t, "emissions.v7.EventListeningCoefficientsSet", event.Type) + require.Equal(t, "emissions.v8.EventListeningCoefficientsSet", event.Type) attributes := event.Attributes require.Len(t, attributes, 5) @@ -651,7 +651,7 @@ func TestEmitNewInfererNetworkRegretSetEvent(t *testing.T) { require.Len(t, events, 1) event := events[0] - require.Equal(t, "emissions.v7.EventInfererNetworkRegretSet", event.Type) + require.Equal(t, "emissions.v8.EventInfererNetworkRegretSet", event.Type) val, exists := event.GetAttribute(AttributeKeyTopicId) require.True(t, exists) @@ -708,7 +708,7 @@ func TestEmitNewForecasterNetworkRegretSetEvent(t *testing.T) { require.Len(t, events, 1) event := events[0] - require.Equal(t, "emissions.v7.EventForecasterNetworkRegretSet", event.Type) + require.Equal(t, "emissions.v8.EventForecasterNetworkRegretSet", event.Type) val, exists := event.GetAttribute(AttributeKeyTopicId) require.True(t, exists) @@ -764,7 +764,7 @@ func TestEmitNewNaiveInfererNetworkRegretSetEvent(t *testing.T) { require.Len(t, events, 1) event := events[0] - require.Equal(t, "emissions.v7.EventNaiveInfererNetworkRegretSet", event.Type) + require.Equal(t, "emissions.v8.EventNaiveInfererNetworkRegretSet", event.Type) val, exists := event.GetAttribute(AttributeKeyTopicId) require.True(t, exists) @@ -819,7 +819,7 @@ func TestEmitNewTopicInitialRegretSetEvent(t *testing.T) { require.Len(t, events, 1) event := events[0] - require.Equal(t, "emissions.v7.EventTopicInitialRegretSet", event.Type) + require.Equal(t, "emissions.v8.EventTopicInitialRegretSet", event.Type) val, exists := event.GetAttribute(AttributeKeyTopicId) require.True(t, exists) diff --git a/x/emissions/types/events_utils.go b/x/emissions/types/events_utils.go index f1b411c7a..675f039ef 100644 --- a/x/emissions/types/events_utils.go +++ b/x/emissions/types/events_utils.go @@ -171,3 +171,29 @@ func NewTopicInitialEmaScoreSetEventBase(actorType ActorType, topicId uint64, bl Score: score, } } + +func NewRegretStdNormSetEventBase(topicId uint64, blockHeight int64, stdNorm alloraMath.Dec) proto.Message { + return &EventRegretStdNormSet{ + TopicId: topicId, + BlockHeight: blockHeight, + Stdnorm: stdNorm, + } +} + +func NewInfererWeightSetEventBase(topicId uint64, blockHeight int64, address string, weight alloraMath.Dec) proto.Message { + return &EventInfererWeightSet{ + TopicId: topicId, + BlockHeight: blockHeight, + Address: address, + Weight: weight, + } +} + +func NewForecasterWeightSetEventBase(topicId uint64, blockHeight int64, address string, weight alloraMath.Dec) proto.Message { + return &EventForecasterWeightSet{ + TopicId: topicId, + BlockHeight: blockHeight, + Address: address, + Weight: weight, + } +} diff --git a/x/emissions/types/genesis.go b/x/emissions/types/genesis.go index 1eb55647c..b6e746c69 100644 --- a/x/emissions/types/genesis.go +++ b/x/emissions/types/genesis.go @@ -96,6 +96,9 @@ func NewGenesisState() *GenesisState { TopicReputerWhitelistEnabled: []uint64{}, LastMedianInferences: []*TopicIdAndDec{}, MadInferences: []*TopicIdAndDec{}, + LatestRegretStdNorm: []*TopicIdAndDec{}, + LatestInfererWeights: []*TopicIdActorIdDec{}, + LatestForecasterWeights: []*TopicIdActorIdDec{}, } } diff --git a/x/emissions/types/genesis.pb.go b/x/emissions/types/genesis.pb.go index 02a0327a5..082ef63b5 100644 --- a/x/emissions/types/genesis.pb.go +++ b/x/emissions/types/genesis.pb.go @@ -1,5 +1,5 @@ // Code generated by protoc-gen-gogo. DO NOT EDIT. -// source: emissions/v7/genesis.proto +// source: emissions/v8/genesis.proto package types @@ -219,13 +219,18 @@ type GenesisState struct { GlobalWorkerWhitelist []string `protobuf:"bytes,89,rep,name=global_worker_whitelist,json=globalWorkerWhitelist,proto3" json:"global_worker_whitelist,omitempty"` GlobalReputerWhitelist []string `protobuf:"bytes,90,rep,name=global_reputer_whitelist,json=globalReputerWhitelist,proto3" json:"global_reputer_whitelist,omitempty"` GlobalAdminWhitelist []string `protobuf:"bytes,91,rep,name=global_admin_whitelist,json=globalAdminWhitelist,proto3" json:"global_admin_whitelist,omitempty"` + // REGRET STDNORM + LatestRegretStdNorm []*TopicIdAndDec `protobuf:"bytes,92,rep,name=latest_regret_std_norm,json=latestRegretStdNorm,proto3" json:"latest_regret_std_norm,omitempty"` + // WEIGHTS + LatestInfererWeights []*TopicIdActorIdDec `protobuf:"bytes,93,rep,name=latest_inferer_weights,json=latestInfererWeights,proto3" json:"latest_inferer_weights,omitempty"` + LatestForecasterWeights []*TopicIdActorIdDec `protobuf:"bytes,94,rep,name=latest_forecaster_weights,json=latestForecasterWeights,proto3" json:"latest_forecaster_weights,omitempty"` } func (m *GenesisState) Reset() { *m = GenesisState{} } func (m *GenesisState) String() string { return proto.CompactTextString(m) } func (*GenesisState) ProtoMessage() {} func (*GenesisState) Descriptor() ([]byte, []int) { - return fileDescriptor_3a31f894a338870b, []int{0} + return fileDescriptor_5510855ac09852fd, []int{0} } func (m *GenesisState) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -842,6 +847,27 @@ func (m *GenesisState) GetGlobalAdminWhitelist() []string { return nil } +func (m *GenesisState) GetLatestRegretStdNorm() []*TopicIdAndDec { + if m != nil { + return m.LatestRegretStdNorm + } + return nil +} + +func (m *GenesisState) GetLatestInfererWeights() []*TopicIdActorIdDec { + if m != nil { + return m.LatestInfererWeights + } + return nil +} + +func (m *GenesisState) GetLatestForecasterWeights() []*TopicIdActorIdDec { + if m != nil { + return m.LatestForecasterWeights + } + return nil +} + type TopicIdAndTopic struct { TopicId uint64 `protobuf:"varint,1,opt,name=topic_id,json=topicId,proto3" json:"topic_id,omitempty"` Topic *Topic `protobuf:"bytes,2,opt,name=topic,proto3" json:"topic,omitempty"` @@ -851,7 +877,7 @@ func (m *TopicIdAndTopic) Reset() { *m = TopicIdAndTopic{} } func (m *TopicIdAndTopic) String() string { return proto.CompactTextString(m) } func (*TopicIdAndTopic) ProtoMessage() {} func (*TopicIdAndTopic) Descriptor() ([]byte, []int) { - return fileDescriptor_3a31f894a338870b, []int{1} + return fileDescriptor_5510855ac09852fd, []int{1} } func (m *TopicIdAndTopic) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -903,7 +929,7 @@ func (m *TopicAndActorId) Reset() { *m = TopicAndActorId{} } func (m *TopicAndActorId) String() string { return proto.CompactTextString(m) } func (*TopicAndActorId) ProtoMessage() {} func (*TopicAndActorId) Descriptor() ([]byte, []int) { - return fileDescriptor_3a31f894a338870b, []int{2} + return fileDescriptor_5510855ac09852fd, []int{2} } func (m *TopicAndActorId) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -955,7 +981,7 @@ func (m *TopicIdAndBlockHeight) Reset() { *m = TopicIdAndBlockHeight{} } func (m *TopicIdAndBlockHeight) String() string { return proto.CompactTextString(m) } func (*TopicIdAndBlockHeight) ProtoMessage() {} func (*TopicIdAndBlockHeight) Descriptor() ([]byte, []int) { - return fileDescriptor_3a31f894a338870b, []int{3} + return fileDescriptor_5510855ac09852fd, []int{3} } func (m *TopicIdAndBlockHeight) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1007,7 +1033,7 @@ func (m *BlockHeightAndTopicIds) Reset() { *m = BlockHeightAndTopicIds{} func (m *BlockHeightAndTopicIds) String() string { return proto.CompactTextString(m) } func (*BlockHeightAndTopicIds) ProtoMessage() {} func (*BlockHeightAndTopicIds) Descriptor() ([]byte, []int) { - return fileDescriptor_3a31f894a338870b, []int{4} + return fileDescriptor_5510855ac09852fd, []int{4} } func (m *BlockHeightAndTopicIds) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1060,7 +1086,7 @@ func (m *TopicIdBlockHeightScores) Reset() { *m = TopicIdBlockHeightScor func (m *TopicIdBlockHeightScores) String() string { return proto.CompactTextString(m) } func (*TopicIdBlockHeightScores) ProtoMessage() {} func (*TopicIdBlockHeightScores) Descriptor() ([]byte, []int) { - return fileDescriptor_3a31f894a338870b, []int{5} + return fileDescriptor_5510855ac09852fd, []int{5} } func (m *TopicIdBlockHeightScores) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1120,7 +1146,7 @@ func (m *TopicIdActorIdScore) Reset() { *m = TopicIdActorIdScore{} } func (m *TopicIdActorIdScore) String() string { return proto.CompactTextString(m) } func (*TopicIdActorIdScore) ProtoMessage() {} func (*TopicIdActorIdScore) Descriptor() ([]byte, []int) { - return fileDescriptor_3a31f894a338870b, []int{6} + return fileDescriptor_5510855ac09852fd, []int{6} } func (m *TopicIdActorIdScore) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1180,7 +1206,7 @@ func (m *TopicIdActorIdUint64) Reset() { *m = TopicIdActorIdUint64{} } func (m *TopicIdActorIdUint64) String() string { return proto.CompactTextString(m) } func (*TopicIdActorIdUint64) ProtoMessage() {} func (*TopicIdActorIdUint64) Descriptor() ([]byte, []int) { - return fileDescriptor_3a31f894a338870b, []int{7} + return fileDescriptor_5510855ac09852fd, []int{7} } func (m *TopicIdActorIdUint64) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1240,7 +1266,7 @@ func (m *TopicIdActorIdListeningCoefficient) Reset() { *m = TopicIdActor func (m *TopicIdActorIdListeningCoefficient) String() string { return proto.CompactTextString(m) } func (*TopicIdActorIdListeningCoefficient) ProtoMessage() {} func (*TopicIdActorIdListeningCoefficient) Descriptor() ([]byte, []int) { - return fileDescriptor_3a31f894a338870b, []int{8} + return fileDescriptor_5510855ac09852fd, []int{8} } func (m *TopicIdActorIdListeningCoefficient) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1300,7 +1326,7 @@ func (m *TopicIdActorIdDec) Reset() { *m = TopicIdActorIdDec{} } func (m *TopicIdActorIdDec) String() string { return proto.CompactTextString(m) } func (*TopicIdActorIdDec) ProtoMessage() {} func (*TopicIdActorIdDec) Descriptor() ([]byte, []int) { - return fileDescriptor_3a31f894a338870b, []int{9} + return fileDescriptor_5510855ac09852fd, []int{9} } func (m *TopicIdActorIdDec) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1352,7 +1378,7 @@ func (m *TopicIdAndInt) Reset() { *m = TopicIdAndInt{} } func (m *TopicIdAndInt) String() string { return proto.CompactTextString(m) } func (*TopicIdAndInt) ProtoMessage() {} func (*TopicIdAndInt) Descriptor() ([]byte, []int) { - return fileDescriptor_3a31f894a338870b, []int{10} + return fileDescriptor_5510855ac09852fd, []int{10} } func (m *TopicIdAndInt) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1398,7 +1424,7 @@ func (m *TopicIdActorIdInt) Reset() { *m = TopicIdActorIdInt{} } func (m *TopicIdActorIdInt) String() string { return proto.CompactTextString(m) } func (*TopicIdActorIdInt) ProtoMessage() {} func (*TopicIdActorIdInt) Descriptor() ([]byte, []int) { - return fileDescriptor_3a31f894a338870b, []int{11} + return fileDescriptor_5510855ac09852fd, []int{11} } func (m *TopicIdActorIdInt) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1452,7 +1478,7 @@ func (m *TopicIdDelegatorReputerDelegatorInfo) Reset() { *m = TopicIdDel func (m *TopicIdDelegatorReputerDelegatorInfo) String() string { return proto.CompactTextString(m) } func (*TopicIdDelegatorReputerDelegatorInfo) ProtoMessage() {} func (*TopicIdDelegatorReputerDelegatorInfo) Descriptor() ([]byte, []int) { - return fileDescriptor_3a31f894a338870b, []int{12} + return fileDescriptor_5510855ac09852fd, []int{12} } func (m *TopicIdDelegatorReputerDelegatorInfo) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1524,7 +1550,7 @@ func (m *BlockHeightTopicIdReputerStakeRemovalInfo) String() string { } func (*BlockHeightTopicIdReputerStakeRemovalInfo) ProtoMessage() {} func (*BlockHeightTopicIdReputerStakeRemovalInfo) Descriptor() ([]byte, []int) { - return fileDescriptor_3a31f894a338870b, []int{13} + return fileDescriptor_5510855ac09852fd, []int{13} } func (m *BlockHeightTopicIdReputerStakeRemovalInfo) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1591,7 +1617,7 @@ func (m *ActorIdTopicIdBlockHeight) Reset() { *m = ActorIdTopicIdBlockHe func (m *ActorIdTopicIdBlockHeight) String() string { return proto.CompactTextString(m) } func (*ActorIdTopicIdBlockHeight) ProtoMessage() {} func (*ActorIdTopicIdBlockHeight) Descriptor() ([]byte, []int) { - return fileDescriptor_3a31f894a338870b, []int{14} + return fileDescriptor_5510855ac09852fd, []int{14} } func (m *ActorIdTopicIdBlockHeight) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1657,7 +1683,7 @@ func (m *BlockHeightTopicIdDelegatorReputerDelegateStakeRemovalInfo) String() st } func (*BlockHeightTopicIdDelegatorReputerDelegateStakeRemovalInfo) ProtoMessage() {} func (*BlockHeightTopicIdDelegatorReputerDelegateStakeRemovalInfo) Descriptor() ([]byte, []int) { - return fileDescriptor_3a31f894a338870b, []int{15} + return fileDescriptor_5510855ac09852fd, []int{15} } func (m *BlockHeightTopicIdDelegatorReputerDelegateStakeRemovalInfo) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1732,7 +1758,7 @@ func (m *DelegatorReputerTopicIdBlockHeight) Reset() { *m = DelegatorRep func (m *DelegatorReputerTopicIdBlockHeight) String() string { return proto.CompactTextString(m) } func (*DelegatorReputerTopicIdBlockHeight) ProtoMessage() {} func (*DelegatorReputerTopicIdBlockHeight) Descriptor() ([]byte, []int) { - return fileDescriptor_3a31f894a338870b, []int{16} + return fileDescriptor_5510855ac09852fd, []int{16} } func (m *DelegatorReputerTopicIdBlockHeight) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1799,7 +1825,7 @@ func (m *TopicIdActorIdInference) Reset() { *m = TopicIdActorIdInference func (m *TopicIdActorIdInference) String() string { return proto.CompactTextString(m) } func (*TopicIdActorIdInference) ProtoMessage() {} func (*TopicIdActorIdInference) Descriptor() ([]byte, []int) { - return fileDescriptor_3a31f894a338870b, []int{17} + return fileDescriptor_5510855ac09852fd, []int{17} } func (m *TopicIdActorIdInference) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1859,7 +1885,7 @@ func (m *TopicIdActorIdForecast) Reset() { *m = TopicIdActorIdForecast{} func (m *TopicIdActorIdForecast) String() string { return proto.CompactTextString(m) } func (*TopicIdActorIdForecast) ProtoMessage() {} func (*TopicIdActorIdForecast) Descriptor() ([]byte, []int) { - return fileDescriptor_3a31f894a338870b, []int{18} + return fileDescriptor_5510855ac09852fd, []int{18} } func (m *TopicIdActorIdForecast) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1918,7 +1944,7 @@ func (m *LibP2PKeyAndOffchainNode) Reset() { *m = LibP2PKeyAndOffchainNo func (m *LibP2PKeyAndOffchainNode) String() string { return proto.CompactTextString(m) } func (*LibP2PKeyAndOffchainNode) ProtoMessage() {} func (*LibP2PKeyAndOffchainNode) Descriptor() ([]byte, []int) { - return fileDescriptor_3a31f894a338870b, []int{19} + return fileDescriptor_5510855ac09852fd, []int{19} } func (m *LibP2PKeyAndOffchainNode) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1970,7 +1996,7 @@ func (m *TopicIdAndDec) Reset() { *m = TopicIdAndDec{} } func (m *TopicIdAndDec) String() string { return proto.CompactTextString(m) } func (*TopicIdAndDec) ProtoMessage() {} func (*TopicIdAndDec) Descriptor() ([]byte, []int) { - return fileDescriptor_3a31f894a338870b, []int{20} + return fileDescriptor_5510855ac09852fd, []int{20} } func (m *TopicIdAndDec) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -2016,7 +2042,7 @@ func (m *TopicIdBlockHeightInferences) Reset() { *m = TopicIdBlockHeight func (m *TopicIdBlockHeightInferences) String() string { return proto.CompactTextString(m) } func (*TopicIdBlockHeightInferences) ProtoMessage() {} func (*TopicIdBlockHeightInferences) Descriptor() ([]byte, []int) { - return fileDescriptor_3a31f894a338870b, []int{21} + return fileDescriptor_5510855ac09852fd, []int{21} } func (m *TopicIdBlockHeightInferences) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -2076,7 +2102,7 @@ func (m *TopicIdBlockHeightForecasts) Reset() { *m = TopicIdBlockHeightF func (m *TopicIdBlockHeightForecasts) String() string { return proto.CompactTextString(m) } func (*TopicIdBlockHeightForecasts) ProtoMessage() {} func (*TopicIdBlockHeightForecasts) Descriptor() ([]byte, []int) { - return fileDescriptor_3a31f894a338870b, []int{22} + return fileDescriptor_5510855ac09852fd, []int{22} } func (m *TopicIdBlockHeightForecasts) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -2136,7 +2162,7 @@ func (m *TopicIdBlockHeightReputerValueBundles) Reset() { *m = TopicIdBl func (m *TopicIdBlockHeightReputerValueBundles) String() string { return proto.CompactTextString(m) } func (*TopicIdBlockHeightReputerValueBundles) ProtoMessage() {} func (*TopicIdBlockHeightReputerValueBundles) Descriptor() ([]byte, []int) { - return fileDescriptor_3a31f894a338870b, []int{23} + return fileDescriptor_5510855ac09852fd, []int{23} } func (m *TopicIdBlockHeightReputerValueBundles) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -2196,7 +2222,7 @@ func (m *TopicIdBlockHeightValueBundles) Reset() { *m = TopicIdBlockHeig func (m *TopicIdBlockHeightValueBundles) String() string { return proto.CompactTextString(m) } func (*TopicIdBlockHeightValueBundles) ProtoMessage() {} func (*TopicIdBlockHeightValueBundles) Descriptor() ([]byte, []int) { - return fileDescriptor_3a31f894a338870b, []int{24} + return fileDescriptor_5510855ac09852fd, []int{24} } func (m *TopicIdBlockHeightValueBundles) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -2255,7 +2281,7 @@ func (m *TopicIdAndNonces) Reset() { *m = TopicIdAndNonces{} } func (m *TopicIdAndNonces) String() string { return proto.CompactTextString(m) } func (*TopicIdAndNonces) ProtoMessage() {} func (*TopicIdAndNonces) Descriptor() ([]byte, []int) { - return fileDescriptor_3a31f894a338870b, []int{25} + return fileDescriptor_5510855ac09852fd, []int{25} } func (m *TopicIdAndNonces) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -2307,7 +2333,7 @@ func (m *TopicIdAndReputerRequestNonces) Reset() { *m = TopicIdAndRepute func (m *TopicIdAndReputerRequestNonces) String() string { return proto.CompactTextString(m) } func (*TopicIdAndReputerRequestNonces) ProtoMessage() {} func (*TopicIdAndReputerRequestNonces) Descriptor() ([]byte, []int) { - return fileDescriptor_3a31f894a338870b, []int{26} + return fileDescriptor_5510855ac09852fd, []int{26} } func (m *TopicIdAndReputerRequestNonces) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -2360,7 +2386,7 @@ func (m *TopicIdActorIdTimeStampedValue) Reset() { *m = TopicIdActorIdTi func (m *TopicIdActorIdTimeStampedValue) String() string { return proto.CompactTextString(m) } func (*TopicIdActorIdTimeStampedValue) ProtoMessage() {} func (*TopicIdActorIdTimeStampedValue) Descriptor() ([]byte, []int) { - return fileDescriptor_3a31f894a338870b, []int{27} + return fileDescriptor_5510855ac09852fd, []int{27} } func (m *TopicIdActorIdTimeStampedValue) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -2421,7 +2447,7 @@ func (m *TopicIdActorIdActorIdTimeStampedValue) Reset() { *m = TopicIdAc func (m *TopicIdActorIdActorIdTimeStampedValue) String() string { return proto.CompactTextString(m) } func (*TopicIdActorIdActorIdTimeStampedValue) ProtoMessage() {} func (*TopicIdActorIdActorIdTimeStampedValue) Descriptor() ([]byte, []int) { - return fileDescriptor_3a31f894a338870b, []int{28} + return fileDescriptor_5510855ac09852fd, []int{28} } func (m *TopicIdActorIdActorIdTimeStampedValue) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -2487,7 +2513,7 @@ func (m *TopicIdTimestampedActorNonce) Reset() { *m = TopicIdTimestamped func (m *TopicIdTimestampedActorNonce) String() string { return proto.CompactTextString(m) } func (*TopicIdTimestampedActorNonce) ProtoMessage() {} func (*TopicIdTimestampedActorNonce) Descriptor() ([]byte, []int) { - return fileDescriptor_3a31f894a338870b, []int{29} + return fileDescriptor_5510855ac09852fd, []int{29} } func (m *TopicIdTimestampedActorNonce) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -2539,7 +2565,7 @@ func (m *BlockHeightTopicIds) Reset() { *m = BlockHeightTopicIds{} } func (m *BlockHeightTopicIds) String() string { return proto.CompactTextString(m) } func (*BlockHeightTopicIds) ProtoMessage() {} func (*BlockHeightTopicIds) Descriptor() ([]byte, []int) { - return fileDescriptor_3a31f894a338870b, []int{30} + return fileDescriptor_5510855ac09852fd, []int{30} } func (m *BlockHeightTopicIds) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -2591,7 +2617,7 @@ func (m *BlockHeightTopicIdWeightPair) Reset() { *m = BlockHeightTopicId func (m *BlockHeightTopicIdWeightPair) String() string { return proto.CompactTextString(m) } func (*BlockHeightTopicIdWeightPair) ProtoMessage() {} func (*BlockHeightTopicIdWeightPair) Descriptor() ([]byte, []int) { - return fileDescriptor_3a31f894a338870b, []int{31} + return fileDescriptor_5510855ac09852fd, []int{31} } func (m *BlockHeightTopicIdWeightPair) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -2644,7 +2670,7 @@ func (m *TopicIdReputerReputerValueBundle) Reset() { *m = TopicIdReputer func (m *TopicIdReputerReputerValueBundle) String() string { return proto.CompactTextString(m) } func (*TopicIdReputerReputerValueBundle) ProtoMessage() {} func (*TopicIdReputerReputerValueBundle) Descriptor() ([]byte, []int) { - return fileDescriptor_3a31f894a338870b, []int{32} + return fileDescriptor_5510855ac09852fd, []int{32} } func (m *TopicIdReputerReputerValueBundle) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -2695,256 +2721,261 @@ func (m *TopicIdReputerReputerValueBundle) GetReputerValueBundle() *ReputerValue } func init() { - proto.RegisterType((*GenesisState)(nil), "emissions.v7.GenesisState") - proto.RegisterType((*TopicIdAndTopic)(nil), "emissions.v7.TopicIdAndTopic") - proto.RegisterType((*TopicAndActorId)(nil), "emissions.v7.TopicAndActorId") - proto.RegisterType((*TopicIdAndBlockHeight)(nil), "emissions.v7.TopicIdAndBlockHeight") - proto.RegisterType((*BlockHeightAndTopicIds)(nil), "emissions.v7.BlockHeightAndTopicIds") - proto.RegisterType((*TopicIdBlockHeightScores)(nil), "emissions.v7.TopicIdBlockHeightScores") - proto.RegisterType((*TopicIdActorIdScore)(nil), "emissions.v7.TopicIdActorIdScore") - proto.RegisterType((*TopicIdActorIdUint64)(nil), "emissions.v7.TopicIdActorIdUint64") - proto.RegisterType((*TopicIdActorIdListeningCoefficient)(nil), "emissions.v7.TopicIdActorIdListeningCoefficient") - proto.RegisterType((*TopicIdActorIdDec)(nil), "emissions.v7.TopicIdActorIdDec") - proto.RegisterType((*TopicIdAndInt)(nil), "emissions.v7.TopicIdAndInt") - proto.RegisterType((*TopicIdActorIdInt)(nil), "emissions.v7.TopicIdActorIdInt") - proto.RegisterType((*TopicIdDelegatorReputerDelegatorInfo)(nil), "emissions.v7.TopicIdDelegatorReputerDelegatorInfo") - proto.RegisterType((*BlockHeightTopicIdReputerStakeRemovalInfo)(nil), "emissions.v7.BlockHeightTopicIdReputerStakeRemovalInfo") - proto.RegisterType((*ActorIdTopicIdBlockHeight)(nil), "emissions.v7.ActorIdTopicIdBlockHeight") - proto.RegisterType((*BlockHeightTopicIdDelegatorReputerDelegateStakeRemovalInfo)(nil), "emissions.v7.BlockHeightTopicIdDelegatorReputerDelegateStakeRemovalInfo") - proto.RegisterType((*DelegatorReputerTopicIdBlockHeight)(nil), "emissions.v7.DelegatorReputerTopicIdBlockHeight") - proto.RegisterType((*TopicIdActorIdInference)(nil), "emissions.v7.TopicIdActorIdInference") - proto.RegisterType((*TopicIdActorIdForecast)(nil), "emissions.v7.TopicIdActorIdForecast") - proto.RegisterType((*LibP2PKeyAndOffchainNode)(nil), "emissions.v7.LibP2pKeyAndOffchainNode") - proto.RegisterType((*TopicIdAndDec)(nil), "emissions.v7.TopicIdAndDec") - proto.RegisterType((*TopicIdBlockHeightInferences)(nil), "emissions.v7.TopicIdBlockHeightInferences") - proto.RegisterType((*TopicIdBlockHeightForecasts)(nil), "emissions.v7.TopicIdBlockHeightForecasts") - proto.RegisterType((*TopicIdBlockHeightReputerValueBundles)(nil), "emissions.v7.TopicIdBlockHeightReputerValueBundles") - proto.RegisterType((*TopicIdBlockHeightValueBundles)(nil), "emissions.v7.TopicIdBlockHeightValueBundles") - proto.RegisterType((*TopicIdAndNonces)(nil), "emissions.v7.TopicIdAndNonces") - proto.RegisterType((*TopicIdAndReputerRequestNonces)(nil), "emissions.v7.TopicIdAndReputerRequestNonces") - proto.RegisterType((*TopicIdActorIdTimeStampedValue)(nil), "emissions.v7.TopicIdActorIdTimeStampedValue") - proto.RegisterType((*TopicIdActorIdActorIdTimeStampedValue)(nil), "emissions.v7.TopicIdActorIdActorIdTimeStampedValue") - proto.RegisterType((*TopicIdTimestampedActorNonce)(nil), "emissions.v7.TopicIdTimestampedActorNonce") - proto.RegisterType((*BlockHeightTopicIds)(nil), "emissions.v7.BlockHeightTopicIds") - proto.RegisterType((*BlockHeightTopicIdWeightPair)(nil), "emissions.v7.BlockHeightTopicIdWeightPair") - proto.RegisterType((*TopicIdReputerReputerValueBundle)(nil), "emissions.v7.TopicIdReputerReputerValueBundle") -} - -func init() { proto.RegisterFile("emissions/v7/genesis.proto", fileDescriptor_3a31f894a338870b) } - -var fileDescriptor_3a31f894a338870b = []byte{ - // 3375 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x5b, 0x4b, 0x6f, 0xdc, 0xd6, - 0x15, 0x36, 0x2d, 0xc5, 0x96, 0x8e, 0x24, 0x4b, 0xba, 0x7a, 0x51, 0x0f, 0x8f, 0xc6, 0xf4, 0x23, - 0x52, 0x62, 0x4b, 0xb1, 0xe4, 0x57, 0xd3, 0xb4, 0x89, 0x24, 0x4b, 0xce, 0xd8, 0x8a, 0x1e, 0x94, - 0x64, 0xb9, 0x4e, 0x13, 0x96, 0x1a, 0x5e, 0x49, 0x8c, 0xf9, 0x98, 0xf0, 0x72, 0x24, 0xbb, 0x2d, - 0xd0, 0xa2, 0x40, 0xb3, 0x28, 0x50, 0x20, 0x28, 0x9a, 0xa2, 0xaf, 0x4d, 0xd1, 0x4d, 0x81, 0x6e, - 0x0a, 0xb4, 0xcb, 0x76, 0x9f, 0xec, 0xd2, 0xae, 0x8a, 0x2e, 0x82, 0x22, 0x59, 0xf4, 0x6f, 0x14, - 0xbc, 0x0f, 0x3e, 0x66, 0x48, 0xce, 0x68, 0x94, 0x8d, 0x20, 0xf2, 0xde, 0xf3, 0x9d, 0xef, 0x9e, - 0x73, 0x78, 0xee, 0xe3, 0xdc, 0x81, 0x31, 0x6c, 0x9b, 0x84, 0x98, 0xae, 0x43, 0x66, 0x8f, 0xee, - 0xce, 0x1e, 0x60, 0x07, 0x13, 0x93, 0xcc, 0x54, 0x3c, 0xd7, 0x77, 0x51, 0x77, 0xd8, 0x36, 0x73, - 0x74, 0x77, 0xac, 0x5f, 0xb7, 0x4d, 0xc7, 0x9d, 0xa5, 0x7f, 0x59, 0x87, 0xb1, 0xd1, 0xb2, 0x4b, - 0x6c, 0x97, 0x68, 0xf4, 0x69, 0x96, 0x3d, 0xf0, 0xa6, 0x91, 0x18, 0xee, 0xfc, 0xac, 0xe3, 0x1a, - 0x98, 0x37, 0xc8, 0x35, 0x0d, 0x4e, 0x59, 0xb4, 0x8c, 0x25, 0x5a, 0x3c, 0x5c, 0xa9, 0xfa, 0xd8, - 0x4b, 0x95, 0x22, 0x65, 0xd7, 0x4b, 0xc7, 0x23, 0xbe, 0xfe, 0x2c, 0xbd, 0xc5, 0x77, 0x2b, 0x66, - 0x39, 0xbd, 0xe5, 0x45, 0x05, 0x0b, 0xda, 0xa3, 0x89, 0x96, 0x63, 0xd7, 0x7b, 0x16, 0x52, 0x18, - 0x4d, 0x58, 0xaa, 0xa2, 0x7b, 0xba, 0x2d, 0xa4, 0x06, 0x0f, 0xdc, 0x03, 0x97, 0x19, 0x21, 0xf8, - 0x8f, 0xbd, 0x55, 0x3e, 0x7b, 0x0b, 0xba, 0x1f, 0x30, 0x83, 0x6e, 0xf9, 0xba, 0x8f, 0xd1, 0x1c, - 0x9c, 0x63, 0x62, 0xb2, 0x54, 0x94, 0xa6, 0xba, 0xe6, 0x06, 0x67, 0xe2, 0x06, 0x9e, 0xd9, 0xa0, - 0x6d, 0x8b, 0xed, 0x9f, 0x7e, 0x31, 0x79, 0x46, 0xe5, 0x3d, 0xd1, 0x0c, 0x0c, 0x04, 0x83, 0xd5, - 0x7c, 0xac, 0xdb, 0x9a, 0x6e, 0x18, 0x1e, 0x26, 0x04, 0x13, 0xf9, 0x6c, 0xb1, 0x6d, 0xaa, 0x53, - 0xed, 0x0f, 0x9a, 0xb6, 0xb1, 0x6e, 0x2f, 0x88, 0x06, 0xa4, 0x40, 0x8f, 0x83, 0x9f, 0xfb, 0x1a, - 0x1d, 0xae, 0x66, 0x1a, 0x72, 0x5b, 0x51, 0x9a, 0x6a, 0x57, 0xbb, 0x82, 0x97, 0xdb, 0xc1, 0xbb, - 0x92, 0x81, 0x6e, 0xc3, 0x39, 0xda, 0x4c, 0xe4, 0xf6, 0x62, 0xdb, 0x54, 0xd7, 0xdc, 0xc5, 0x24, - 0x0f, 0xde, 0x6d, 0xc1, 0x31, 0xe8, 0x7f, 0x2a, 0xef, 0x8c, 0x2e, 0x43, 0x8f, 0x5e, 0xf6, 0xcd, - 0x23, 0xac, 0x71, 0xe9, 0x97, 0x8a, 0x6d, 0x53, 0xed, 0x6a, 0x37, 0x7b, 0xb9, 0xcd, 0x3a, 0xbd, - 0x0a, 0xfd, 0x1e, 0x3e, 0xd6, 0x3d, 0x43, 0xdf, 0xb3, 0xc2, 0x8e, 0xe7, 0x68, 0xc7, 0xbe, 0xa8, - 0x81, 0x77, 0x5e, 0x84, 0x1e, 0xc6, 0x93, 0x19, 0x9a, 0xc8, 0xe7, 0x33, 0xf9, 0x2c, 0x38, 0xc6, - 0x42, 0xd9, 0x77, 0xbd, 0x92, 0xa1, 0x76, 0x53, 0x99, 0x5d, 0x26, 0x82, 0xee, 0xc3, 0x05, 0x86, - 0xc1, 0x03, 0x86, 0xc8, 0x1d, 0xcd, 0x80, 0x30, 0xc5, 0x2a, 0x97, 0x41, 0x9b, 0x80, 0x04, 0x4a, - 0xc0, 0x51, 0xa3, 0x71, 0x29, 0x77, 0x52, 0xa4, 0xcb, 0x59, 0xe6, 0x59, 0xb4, 0xdc, 0xf2, 0xb3, - 0xb7, 0xb1, 0x79, 0x70, 0xe8, 0xab, 0x7d, 0x1c, 0x2f, 0x90, 0x5e, 0x0b, 0x84, 0xd1, 0x7b, 0x30, - 0x62, 0x3a, 0xfb, 0xd8, 0xc3, 0x9e, 0x46, 0xe3, 0x95, 0x68, 0x7b, 0x2f, 0xb4, 0xbd, 0x40, 0x44, - 0x06, 0x8a, 0x7b, 0x2d, 0x15, 0x37, 0x06, 0xba, 0x45, 0xc5, 0xd4, 0x41, 0x0e, 0xc3, 0x1e, 0x17, - 0x5f, 0xd0, 0x1e, 0xa8, 0x0c, 0x63, 0xfb, 0xae, 0x87, 0xcb, 0x3a, 0xf1, 0x53, 0x34, 0x74, 0x9d, - 0x48, 0xc3, 0x48, 0x84, 0x94, 0x54, 0xf2, 0x1e, 0x8c, 0x70, 0xb3, 0xd6, 0x69, 0xe8, 0x3e, 0xd9, - 0x18, 0x38, 0x4c, 0x12, 0xde, 0x87, 0x8b, 0x02, 0xde, 0x32, 0x89, 0x8f, 0x1d, 0xd3, 0x39, 0xd0, - 0xca, 0x2e, 0xde, 0xdf, 0x37, 0xcb, 0x26, 0x76, 0x7c, 0xb9, 0x8f, 0x2a, 0x79, 0x2d, 0xdd, 0x01, - 0xcc, 0x93, 0xab, 0x42, 0x70, 0x29, 0x92, 0x53, 0xc7, 0x39, 0x6c, 0x5a, 0x23, 0x3a, 0x84, 0x62, - 0xc5, 0xc3, 0x47, 0xa6, 0x5b, 0x25, 0x22, 0x68, 0x84, 0xdb, 0xf7, 0xbd, 0x20, 0x98, 0x5d, 0x47, - 0xee, 0xa7, 0x8a, 0x27, 0xf3, 0x14, 0xdf, 0xc7, 0x65, 0xf5, 0xa2, 0x00, 0xe2, 0x81, 0xc4, 0xfc, - 0xbf, 0xc2, 0x51, 0x90, 0x05, 0x4a, 0xa8, 0x89, 0x39, 0xd1, 0x29, 0xe3, 0x3a, 0x5d, 0xa8, 0x39, - 0x5d, 0x93, 0x02, 0xaa, 0x24, 0x90, 0x6a, 0xb4, 0x7d, 0x00, 0x97, 0x42, 0x6d, 0xc2, 0xa1, 0x75, - 0xca, 0x06, 0x9a, 0x53, 0x56, 0x10, 0x48, 0x2b, 0x1c, 0xa8, 0x46, 0xd7, 0x1e, 0x4c, 0xd6, 0xe9, - 0x12, 0x41, 0xa2, 0x79, 0xba, 0x6f, 0xba, 0xf2, 0x20, 0xd5, 0x34, 0x9e, 0xf5, 0xf1, 0x04, 0x5a, - 0x26, 0x6a, 0xb5, 0xf0, 0x00, 0x51, 0x03, 0x00, 0xb4, 0x09, 0x5d, 0xbe, 0xeb, 0xeb, 0x96, 0x46, - 0x93, 0xba, 0x3c, 0x54, 0x94, 0xa6, 0x3a, 0x17, 0x5f, 0x0b, 0xb2, 0xe3, 0x7f, 0xbe, 0x98, 0x1c, - 0x62, 0xb3, 0x0d, 0x31, 0x9e, 0xcd, 0x98, 0xee, 0xac, 0xad, 0xfb, 0x87, 0x33, 0x25, 0xc7, 0xff, - 0xd7, 0xdf, 0x6e, 0x00, 0x9f, 0x86, 0x4a, 0x8e, 0xff, 0xa7, 0xff, 0xfd, 0xe5, 0x15, 0x49, 0x05, - 0x0a, 0xb2, 0x15, 0x60, 0xa0, 0x37, 0x02, 0xc8, 0xe0, 0x33, 0x67, 0x90, 0xc3, 0xf9, 0x14, 0x4b, - 0x8e, 0x1f, 0x48, 0x57, 0xcc, 0x32, 0x93, 0xde, 0x85, 0x11, 0x2a, 0x17, 0x46, 0x8d, 0x5e, 0xf5, - 0x0f, 0x5d, 0xcf, 0xf4, 0x5f, 0xc8, 0x23, 0x8d, 0xcd, 0x1a, 0xa0, 0x0d, 0x51, 0x79, 0x1e, 0x2c, - 0x0b, 0x42, 0x1a, 0x3d, 0x01, 0x99, 0x01, 0x93, 0xaa, 0xad, 0xed, 0x7b, 0xae, 0xad, 0x19, 0xd8, - 0xc2, 0x07, 0xba, 0xef, 0x7a, 0xb2, 0x7c, 0x12, 0xe4, 0xad, 0xaa, 0xbd, 0xe2, 0xb9, 0xf6, 0x7d, - 0x21, 0x8d, 0xde, 0x83, 0x3e, 0x0e, 0x85, 0x0d, 0x36, 0x68, 0x22, 0x8f, 0x52, 0xc4, 0xb9, 0x54, - 0xc4, 0x50, 0x92, 0x73, 0x0c, 0x9f, 0x4b, 0xce, 0xbe, 0xab, 0xf6, 0x86, 0x58, 0xd4, 0x20, 0x04, - 0x3d, 0x03, 0x85, 0x11, 0x4f, 0x92, 0x26, 0x5a, 0xb5, 0xe2, 0x3a, 0xc2, 0x4c, 0xf2, 0x58, 0x73, - 0x43, 0x28, 0x50, 0xa8, 0x04, 0x7f, 0xb2, 0x53, 0x71, 0x1d, 0x4e, 0x05, 0x3d, 0x85, 0x51, 0xa1, - 0x5f, 0x84, 0x75, 0x25, 0x88, 0xb9, 0x43, 0xdd, 0xc3, 0xf2, 0x78, 0x73, 0x71, 0x3d, 0x2c, 0x10, - 0x58, 0x3c, 0x6f, 0x60, 0x6f, 0x2b, 0x10, 0x47, 0x4e, 0xe4, 0x5a, 0xdb, 0x3d, 0xd2, 0xad, 0x58, - 0xa2, 0x9b, 0xa0, 0xc8, 0x77, 0x93, 0xc8, 0xb1, 0x0c, 0xc7, 0x95, 0x70, 0x96, 0x5b, 0xcc, 0xc1, - 0x14, 0x84, 0xda, 0x6c, 0x90, 0xc4, 0xde, 0x84, 0x99, 0xef, 0xfd, 0x34, 0x7d, 0x7a, 0xc0, 0x53, - 0xbe, 0x48, 0xf5, 0xbd, 0x9c, 0xd4, 0xc7, 0x87, 0x50, 0x9f, 0x5f, 0xeb, 0xf0, 0x69, 0x4f, 0xf4, - 0xb1, 0x04, 0xc5, 0xd0, 0x58, 0x59, 0x23, 0x2b, 0x50, 0x4d, 0x6f, 0x37, 0x1a, 0x59, 0x46, 0x4c, - 0xe0, 0xba, 0xa1, 0x4e, 0x18, 0x29, 0x2d, 0xe1, 0x90, 0x9f, 0xe7, 0x32, 0x62, 0x63, 0x9f, 0x4c, - 0xcb, 0xf7, 0xb5, 0xfa, 0x53, 0x8c, 0x90, 0xa5, 0x99, 0x19, 0x63, 0x19, 0x20, 0xcc, 0xbe, 0x44, - 0x2e, 0x52, 0x1d, 0x57, 0xf3, 0xa3, 0x51, 0x64, 0xd8, 0x98, 0x20, 0x5a, 0x84, 0x4e, 0x91, 0xea, - 0x88, 0x7c, 0x89, 0xa2, 0x5c, 0xc9, 0x43, 0x09, 0x53, 0x67, 0x24, 0x86, 0xde, 0x82, 0xf3, 0x62, - 0xad, 0xa3, 0xa4, 0x4d, 0xa0, 0xab, 0xe6, 0xde, 0xc6, 0x5c, 0xe5, 0x11, 0x7e, 0xb1, 0xe0, 0x18, - 0xeb, 0xfb, 0xfb, 0xe5, 0x43, 0xdd, 0x74, 0xd6, 0x5c, 0x03, 0xab, 0x42, 0x0c, 0x2d, 0x42, 0x47, - 0xb8, 0xd2, 0xb9, 0x7c, 0x22, 0x88, 0x50, 0x0e, 0x3d, 0x80, 0x7e, 0x96, 0x06, 0xf7, 0x71, 0xe0, - 0x85, 0x23, 0xec, 0x54, 0xb1, 0x7c, 0xa5, 0x71, 0x32, 0xec, 0xa5, 0x52, 0x2b, 0x18, 0xab, 0x4c, - 0x06, 0xad, 0xc3, 0x50, 0x38, 0x0d, 0xf0, 0x95, 0x1c, 0x75, 0x88, 0x7c, 0xb5, 0x71, 0xf2, 0x1f, - 0x10, 0x92, 0xf4, 0xf5, 0x2e, 0x95, 0x43, 0x9b, 0x70, 0x41, 0xb7, 0x2c, 0x2d, 0xe6, 0xae, 0x6b, - 0x14, 0xe9, 0x95, 0x46, 0xeb, 0x8c, 0xd0, 0x65, 0x44, 0xed, 0xd1, 0x2d, 0x2b, 0x7a, 0x44, 0x6b, - 0x10, 0xbc, 0xd0, 0x22, 0xd7, 0xbd, 0x4c, 0x11, 0xa7, 0x1b, 0x21, 0x0a, 0xf7, 0x11, 0xb5, 0x5b, - 0xb7, 0xac, 0xf0, 0x29, 0x48, 0xa9, 0x01, 0x9e, 0xe5, 0x12, 0xa2, 0xed, 0x55, 0x1d, 0xc3, 0xc2, - 0x44, 0x9e, 0xa2, 0x90, 0xf3, 0x8d, 0x20, 0x79, 0x00, 0x3f, 0xd6, 0xad, 0x2a, 0x5e, 0x64, 0xa2, - 0x6a, 0x30, 0xde, 0x55, 0x97, 0x10, 0xfe, 0x8c, 0xde, 0x87, 0x41, 0x07, 0xfb, 0x81, 0xb7, 0x93, - 0x2a, 0xa6, 0xa9, 0x8a, 0xeb, 0x8d, 0x54, 0x24, 0xb0, 0x11, 0x47, 0x8a, 0xe3, 0xff, 0x5a, 0x82, - 0x1b, 0xa1, 0xcf, 0x2a, 0xd8, 0x2b, 0x63, 0xc7, 0xd7, 0x0f, 0xc2, 0x8c, 0xea, 0xbb, 0xec, 0xe3, - 0x34, 0xa2, 0xf5, 0xf4, 0x2b, 0x74, 0xe2, 0xbd, 0xcb, 0x27, 0xde, 0xd9, 0x03, 0xd3, 0x3f, 0xac, - 0xee, 0xcd, 0x94, 0x5d, 0x7b, 0x56, 0xb7, 0x2c, 0xd7, 0xd3, 0x6f, 0x70, 0x2d, 0xe2, 0x91, 0x46, - 0x1c, 0x9b, 0x92, 0x03, 0x3f, 0x4f, 0x09, 0x6d, 0x1b, 0xa1, 0x32, 0x96, 0x7c, 0xb7, 0x5d, 0xfa, - 0xb5, 0x1a, 0xe1, 0x22, 0xfc, 0x29, 0x8c, 0x56, 0x9d, 0xfd, 0xaa, 0xb5, 0x6f, 0x5a, 0x16, 0x36, - 0xf8, 0xa6, 0x80, 0x2d, 0xc5, 0x89, 0xfc, 0x2a, 0x1d, 0x7f, 0x21, 0x2b, 0xa2, 0xe8, 0x9a, 0x9b, - 0xa8, 0x23, 0x31, 0x00, 0xb6, 0x43, 0x60, 0x0d, 0xe8, 0x03, 0x18, 0x8b, 0x63, 0x8b, 0x19, 0x9c, - 0x83, 0x5f, 0xcf, 0x31, 0xee, 0x82, 0x63, 0x84, 0xab, 0xbb, 0x0f, 0xab, 0x98, 0xf8, 0x5c, 0x95, - 0x1c, 0xc3, 0xe3, 0x1d, 0xb8, 0xae, 0x0f, 0xa1, 0x60, 0xe9, 0x3e, 0x26, 0xbe, 0x26, 0x36, 0x00, - 0xc2, 0xa3, 0x1e, 0x3e, 0xf0, 0xb0, 0x4f, 0xe4, 0x1b, 0x79, 0xfa, 0x78, 0xaa, 0x37, 0xed, 0x20, - 0x9b, 0xd9, 0x15, 0x6c, 0x50, 0x9f, 0xaa, 0xe3, 0x0c, 0x93, 0x45, 0xb6, 0xb7, 0xc6, 0x10, 0x55, - 0x06, 0x88, 0x8e, 0xe1, 0x12, 0x57, 0x19, 0x5b, 0x8d, 0xd5, 0x6a, 0x9d, 0x69, 0x41, 0x2b, 0x1f, - 0x49, 0xb4, 0x40, 0xab, 0x51, 0xfc, 0x33, 0x09, 0xa6, 0xb8, 0x66, 0xd7, 0xc1, 0x9a, 0xe9, 0xe4, - 0x11, 0x98, 0xcd, 0xf9, 0x4c, 0x38, 0x81, 0x2c, 0x1e, 0x97, 0x99, 0x92, 0x75, 0x07, 0x97, 0x9c, - 0x4c, 0x32, 0x3f, 0x84, 0x2b, 0x9c, 0x8b, 0xa3, 0x07, 0xfb, 0xd4, 0x2c, 0xf3, 0xbf, 0xd6, 0x82, - 0x21, 0x8a, 0x0c, 0x79, 0x2d, 0x00, 0x4e, 0xf7, 0xc1, 0x27, 0x12, 0xcc, 0xc4, 0x4c, 0xe1, 0x56, - 0x23, 0xff, 0x67, 0x11, 0xb9, 0xd9, 0xba, 0x41, 0xa6, 0x42, 0x83, 0xac, 0x57, 0x45, 0x50, 0xa4, - 0xf3, 0xfa, 0x9d, 0x04, 0x37, 0x33, 0x78, 0xe5, 0xf8, 0x6a, 0xae, 0x75, 0x6a, 0xaf, 0xa6, 0x50, - 0xcb, 0xf4, 0x59, 0x0a, 0xbb, 0x18, 0xab, 0x2c, 0xc3, 0xcd, 0x7f, 0x4d, 0xec, 0x22, 0x5a, 0xe9, - 0xb6, 0xfb, 0x83, 0x04, 0xb7, 0xb2, 0xd9, 0xe5, 0x98, 0xef, 0x56, 0xeb, 0x04, 0x67, 0xd2, 0x09, - 0x66, 0x5a, 0xb0, 0x0c, 0x32, 0x9b, 0x7b, 0xad, 0x60, 0xc3, 0xc7, 0xb3, 0x66, 0xd9, 0xb5, 0x6d, - 0xd3, 0x97, 0x6f, 0xe7, 0xcc, 0x9e, 0x81, 0x62, 0xc2, 0x14, 0x53, 0x2a, 0x34, 0x7b, 0xa9, 0x43, - 0x14, 0x6b, 0x55, 0x27, 0x3e, 0xcb, 0x9f, 0x4b, 0x14, 0x08, 0x61, 0x18, 0x8d, 0x29, 0x11, 0xe9, - 0x93, 0x6b, 0xb9, 0x73, 0x62, 0x2d, 0xc3, 0xa1, 0x16, 0x9e, 0x3a, 0xb9, 0x9a, 0x6d, 0x18, 0x70, - 0x2b, 0xd8, 0x11, 0xa3, 0x38, 0x36, 0x1d, 0xc3, 0x3d, 0x26, 0xf2, 0xdd, 0xb4, 0xd5, 0x56, 0x6c, - 0xd6, 0x13, 0x67, 0x55, 0x25, 0x83, 0xa8, 0xfd, 0x01, 0x00, 0xe3, 0xbe, 0xcb, 0xc4, 0xd1, 0x23, - 0xe8, 0xa5, 0xb4, 0x0d, 0xcf, 0xac, 0xf0, 0xb5, 0xef, 0xbd, 0xe6, 0x8f, 0x76, 0x7a, 0x02, 0xd9, - 0xfb, 0x9e, 0x59, 0x11, 0x87, 0x16, 0x57, 0x99, 0x25, 0x7c, 0x57, 0xa3, 0x47, 0x6d, 0x15, 0x97, - 0x10, 0x73, 0xcf, 0xc2, 0x5a, 0xf9, 0xb0, 0xea, 0xd1, 0x23, 0x0c, 0xa6, 0xe2, 0x1b, 0xcd, 0xab, - 0x28, 0x52, 0xc4, 0x6d, 0x77, 0x0d, 0x3f, 0xf7, 0x37, 0x38, 0xdc, 0x12, 0x47, 0x63, 0x5a, 0x1f, - 0xc3, 0x30, 0x45, 0x0d, 0xb4, 0x26, 0x4f, 0xe1, 0x5e, 0xa7, 0x6a, 0x2e, 0x35, 0x5a, 0xc5, 0x13, - 0x75, 0x80, 0x02, 0x6c, 0xbb, 0x0b, 0xf1, 0xf3, 0xba, 0x63, 0xb8, 0x1c, 0xe2, 0x5a, 0xee, 0x71, - 0x10, 0xe8, 0x71, 0x78, 0xb1, 0x9e, 0xfb, 0x66, 0x9a, 0x87, 0xeb, 0x95, 0xb0, 0x55, 0xdc, 0x86, - 0x6e, 0x7a, 0x6a, 0x81, 0x6b, 0x5b, 0xa5, 0xa0, 0x31, 0x9d, 0x7c, 0xa5, 0xb7, 0x0e, 0x28, 0x71, - 0x3c, 0xa6, 0x61, 0x5b, 0x27, 0xf2, 0x1b, 0x69, 0x83, 0x49, 0x7e, 0x36, 0xec, 0x84, 0xa0, 0x2f, - 0x7e, 0x28, 0xb6, 0x6c, 0xeb, 0x04, 0xed, 0xc0, 0x50, 0xdd, 0x49, 0x04, 0xc5, 0xfc, 0x56, 0xb3, - 0x98, 0x03, 0x35, 0xc7, 0x60, 0x14, 0x76, 0x1d, 0x50, 0xe2, 0x08, 0x8c, 0x61, 0x7e, 0xbb, 0x69, - 0x9e, 0xf1, 0x83, 0x2f, 0x0a, 0xe8, 0xc3, 0x74, 0xcd, 0x9a, 0xf9, 0xc3, 0xaa, 0xee, 0xf8, 0xa6, - 0x15, 0xcd, 0x57, 0xa1, 0x22, 0xf9, 0xcd, 0xc6, 0xeb, 0xe8, 0x2b, 0x89, 0x75, 0xf4, 0x26, 0xc7, - 0x2a, 0x25, 0xcd, 0x83, 0xbe, 0x0f, 0xd7, 0xb3, 0xb4, 0xa6, 0x59, 0x4d, 0x7e, 0xab, 0xb1, 0xe2, - 0x97, 0x53, 0x15, 0xaf, 0xd4, 0xd9, 0x30, 0x6f, 0xc4, 0x75, 0xa6, 0x95, 0x17, 0x5a, 0x1d, 0xb1, - 0x9a, 0x34, 0x34, 0xfa, 0xb1, 0x04, 0xd7, 0xcb, 0x6e, 0xd5, 0x89, 0xcf, 0xc2, 0x65, 0xab, 0x4a, - 0x31, 0x83, 0x75, 0x0a, 0x63, 0xc2, 0x83, 0x9d, 0x60, 0x5f, 0x5e, 0xa4, 0x9a, 0x95, 0x3c, 0x9f, - 0xee, 0x98, 0x8e, 0x7f, 0xe7, 0x96, 0x7a, 0x8d, 0xe2, 0x86, 0x93, 0xae, 0x40, 0x2d, 0x39, 0xec, - 0x94, 0x99, 0x42, 0x6e, 0x61, 0x1f, 0x7d, 0x24, 0xc1, 0x2c, 0xa3, 0x90, 0x98, 0xd2, 0x72, 0x59, - 0x2c, 0x35, 0xcd, 0x62, 0x9a, 0x42, 0xc7, 0x67, 0xb0, 0x4c, 0x22, 0x2b, 0xd0, 0xcb, 0x55, 0x70, - 0x5b, 0x10, 0xf9, 0x7e, 0x33, 0xa7, 0xe4, 0x17, 0x98, 0x14, 0x1f, 0x29, 0x41, 0xab, 0x80, 0x38, - 0x4e, 0x34, 0x20, 0x22, 0x2f, 0x37, 0x03, 0xd5, 0xcf, 0x04, 0x23, 0xba, 0xc1, 0x7a, 0x5f, 0xe6, - 0x29, 0xa7, 0x3e, 0xf0, 0x57, 0x9a, 0xfd, 0xc0, 0x86, 0x18, 0x44, 0x6d, 0xbc, 0x7f, 0x0f, 0xc6, - 0x39, 0x76, 0x6a, 0x78, 0x3f, 0x68, 0x16, 0x9e, 0x33, 0x4c, 0x89, 0xea, 0xc8, 0xa6, 0xe1, 0x4e, - 0xe9, 0xed, 0x13, 0xd8, 0x34, 0xb6, 0xeb, 0x11, 0x56, 0xa8, 0xff, 0x18, 0x4a, 0x27, 0xb4, 0x42, - 0xed, 0x37, 0xb0, 0x09, 0xdd, 0x89, 0x4d, 0xe4, 0x43, 0x8a, 0x37, 0x93, 0x8a, 0x17, 0x6e, 0x72, - 0x6a, 0xf7, 0xa8, 0x6a, 0x97, 0x15, 0xdb, 0x3f, 0xfe, 0x08, 0x8a, 0xfc, 0x54, 0xb6, 0x6a, 0x6b, - 0xa9, 0x9b, 0x7f, 0x22, 0x3f, 0x3a, 0xdd, 0x8e, 0x71, 0x82, 0x9d, 0xd8, 0x56, 0xed, 0x8d, 0xfa, - 0x13, 0x02, 0x82, 0x08, 0x5c, 0xe4, 0x7b, 0xd5, 0x72, 0xd5, 0xf3, 0xb0, 0xe3, 0xb3, 0xe9, 0x56, - 0x13, 0x63, 0x92, 0x57, 0x5b, 0x3c, 0x28, 0x1e, 0x63, 0xb0, 0x4b, 0x0c, 0x95, 0x4e, 0x6e, 0xcb, - 0x1c, 0x13, 0x4d, 0x43, 0xdf, 0xf1, 0xa1, 0xe9, 0x63, 0xcb, 0x0c, 0x26, 0x48, 0xc3, 0x36, 0x1d, - 0x22, 0xbf, 0x43, 0x6b, 0x70, 0xbd, 0xe1, 0xfb, 0x05, 0xfa, 0x3a, 0xe8, 0x7a, 0x60, 0xb9, 0x7b, - 0xba, 0xa5, 0x85, 0x2d, 0xf2, 0x1a, 0xeb, 0xca, 0xde, 0xef, 0x8a, 0xd7, 0xe8, 0x0e, 0x8c, 0x30, - 0xc3, 0x95, 0x3d, 0xac, 0xfb, 0xae, 0x17, 0x93, 0x58, 0xa7, 0x12, 0x6c, 0x31, 0xb6, 0xc4, 0x5a, - 0x23, 0xb9, 0x2d, 0x18, 0x8e, 0xd7, 0xcd, 0x62, 0x62, 0x1b, 0xcd, 0x44, 0xe0, 0x60, 0xac, 0x80, - 0x16, 0x81, 0xee, 0x08, 0x32, 0x22, 0x0c, 0x23, 0xd4, 0xcd, 0x66, 0x50, 0x87, 0xe2, 0x15, 0xb5, - 0x08, 0x76, 0x09, 0x0a, 0xe9, 0x5c, 0x35, 0xec, 0xe8, 0x7b, 0x16, 0x36, 0x64, 0x95, 0x56, 0x07, - 0xc7, 0xd3, 0x48, 0x2d, 0xb3, 0x2e, 0x68, 0x19, 0x26, 0x33, 0xb8, 0x85, 0x28, 0x5b, 0x14, 0x65, - 0x22, 0x95, 0x84, 0x80, 0xd9, 0x84, 0x61, 0xba, 0x0e, 0xb4, 0xb1, 0x61, 0xea, 0x4e, 0xfc, 0x94, - 0x69, 0xbb, 0xf1, 0xac, 0x33, 0x18, 0x88, 0xbe, 0x43, 0x25, 0x4b, 0xf1, 0x43, 0xc1, 0x0b, 0xb6, - 0x6e, 0xc4, 0xa1, 0x76, 0x1a, 0x43, 0xf5, 0xd8, 0xba, 0x11, 0xc3, 0x78, 0x0c, 0xa3, 0xa6, 0x63, - 0xfa, 0xa6, 0x6e, 0x85, 0x89, 0x10, 0xdb, 0x3a, 0x4b, 0x03, 0xf2, 0xe3, 0xc6, 0x70, 0xc3, 0x5c, - 0x9a, 0xe7, 0xc0, 0x65, 0x5b, 0xa7, 0x09, 0x00, 0x7d, 0x17, 0x26, 0x04, 0x6e, 0x2c, 0x09, 0x46, - 0xd0, 0xbb, 0x8d, 0xa1, 0x05, 0xb1, 0x28, 0xff, 0x85, 0xe8, 0x31, 0xd6, 0xc2, 0x2b, 0x11, 0xf4, - 0x93, 0xe6, 0x59, 0x73, 0x67, 0x85, 0xb8, 0x77, 0x60, 0x44, 0x7c, 0x3f, 0xb5, 0xd1, 0xfd, 0x1d, - 0xf6, 0x51, 0xf0, 0xcf, 0xa8, 0x26, 0x7e, 0xef, 0x81, 0xcc, 0xe5, 0xea, 0x03, 0xf8, 0x29, 0x15, - 0x1c, 0x66, 0xed, 0x75, 0x21, 0x7a, 0x0b, 0x78, 0x0b, 0xfb, 0xb2, 0x63, 0x72, 0xef, 0x52, 0xb9, - 0x41, 0xd6, 0x4a, 0xbf, 0xef, 0x50, 0xea, 0x61, 0x7b, 0x47, 0x4f, 0xdf, 0x85, 0x87, 0xed, 0x1d, - 0x17, 0xfa, 0x7a, 0x1f, 0xb6, 0x77, 0xf4, 0xf6, 0xf5, 0xd5, 0x9c, 0xd0, 0x88, 0x52, 0x27, 0xe3, - 0x59, 0x7f, 0x90, 0x52, 0xd3, 0x3e, 0xc1, 0xda, 0xd5, 0x64, 0x9d, 0x94, 0x3f, 0x2a, 0xbb, 0xd0, - 0x5b, 0x53, 0x96, 0x47, 0xa3, 0xd0, 0x11, 0x16, 0xf9, 0x25, 0x5a, 0xe4, 0x3f, 0xef, 0xf3, 0x02, - 0xff, 0x34, 0xbc, 0x44, 0xff, 0x95, 0xcf, 0xd2, 0x7b, 0x06, 0x03, 0x71, 0x37, 0xcc, 0x33, 0x37, - 0xa8, 0xac, 0x87, 0xf2, 0x80, 0x03, 0x47, 0x1f, 0x72, 0x1e, 0xf0, 0x28, 0x74, 0xd0, 0x83, 0xfa, - 0xa0, 0x29, 0xc0, 0xee, 0x54, 0xcf, 0xeb, 0x4c, 0x4a, 0xd9, 0x81, 0xa1, 0xd4, 0xbd, 0x4d, 0x1e, - 0xdc, 0x25, 0xe8, 0x66, 0xb9, 0xfb, 0x90, 0xed, 0x32, 0x02, 0xc8, 0x36, 0xb5, 0x6b, 0x2f, 0x92, - 0x56, 0x9e, 0xc0, 0x70, 0xfa, 0x3e, 0xaf, 0x4e, 0x58, 0xaa, 0x13, 0x46, 0xe3, 0xd0, 0x29, 0x54, - 0xb3, 0x2b, 0x13, 0xed, 0x6a, 0x07, 0xd7, 0x4d, 0x94, 0x8f, 0x24, 0x90, 0xb3, 0xea, 0xd5, 0xa7, - 0x23, 0x8d, 0xae, 0xc3, 0x39, 0x56, 0x2e, 0xa7, 0xb7, 0x2f, 0x6a, 0x2e, 0x7a, 0xcc, 0xcf, 0xf0, - 0x9a, 0x38, 0xef, 0xa3, 0x1c, 0xc1, 0x40, 0xca, 0x94, 0xde, 0x9a, 0x1b, 0x02, 0xd7, 0xb3, 0x2f, - 0xb0, 0x2d, 0xcd, 0xf5, 0x6c, 0xb1, 0xc0, 0x7a, 0x28, 0x06, 0x0c, 0xa6, 0xad, 0x2b, 0x5b, 0x54, - 0x3c, 0x0c, 0xe7, 0xaa, 0x54, 0x9e, 0xdf, 0x38, 0xe1, 0x4f, 0xca, 0x5f, 0x25, 0x50, 0x1a, 0x57, - 0xec, 0x5b, 0x54, 0xba, 0x0b, 0x43, 0xe9, 0x17, 0x07, 0xd8, 0xe8, 0x95, 0xe4, 0xe8, 0x53, 0xaf, - 0x0a, 0x0c, 0x5a, 0x29, 0x6f, 0x95, 0x5f, 0x4a, 0xd0, 0x5f, 0x57, 0x3d, 0x6c, 0x91, 0x64, 0x09, - 0xda, 0x0c, 0x5c, 0xa6, 0x94, 0x4e, 0xb1, 0x28, 0x0a, 0x30, 0x14, 0x07, 0x7a, 0x12, 0x15, 0x99, - 0x3c, 0x46, 0x8b, 0xd0, 0x66, 0x3a, 0x2c, 0x3c, 0x5b, 0x59, 0x0d, 0x05, 0xc2, 0xca, 0xcf, 0xeb, - 0xcc, 0x50, 0x6a, 0xd9, 0x57, 0x9c, 0x4f, 0xdb, 0x69, 0xf8, 0xfc, 0x43, 0x82, 0x2b, 0xcd, 0x54, - 0xaa, 0xf3, 0x28, 0x4e, 0x40, 0x67, 0x54, 0x5d, 0x67, 0x1c, 0xa3, 0x17, 0x48, 0x86, 0xf3, 0xa2, - 0x6c, 0xdd, 0xc6, 0xf8, 0xf3, 0xc7, 0x60, 0xa6, 0x0f, 0xbb, 0x05, 0xf3, 0xb4, 0x2b, 0xb7, 0xd3, - 0x20, 0x1b, 0x4f, 0x06, 0x59, 0xb2, 0x62, 0xde, 0x63, 0xc4, 0x1f, 0x95, 0x7f, 0x4a, 0x30, 0xdd, - 0x74, 0xe9, 0xb8, 0x99, 0x0c, 0x17, 0x1f, 0xe7, 0xd9, 0xe4, 0x38, 0xb3, 0x47, 0xb2, 0x0a, 0x28, - 0x51, 0x80, 0x8d, 0x8f, 0xa6, 0x50, 0x93, 0x30, 0x6a, 0x6b, 0xbc, 0x7d, 0xa4, 0xe6, 0x8d, 0xe2, - 0xc3, 0x68, 0x66, 0x75, 0x3a, 0x11, 0x0f, 0x52, 0x32, 0x1e, 0x72, 0xa8, 0xd7, 0x0e, 0xbc, 0xad, - 0x7e, 0x5e, 0xf8, 0xcd, 0x59, 0x78, 0xbd, 0xf5, 0x52, 0xf5, 0x29, 0x4d, 0x9b, 0x08, 0xa1, 0xb6, - 0x9c, 0x10, 0x6a, 0x4f, 0x1a, 0x1e, 0xc3, 0x78, 0x7a, 0x09, 0x9c, 0x79, 0xe0, 0x25, 0xea, 0x81, - 0x6b, 0xa9, 0xf1, 0x54, 0x5f, 0x6d, 0x97, 0x8d, 0x8c, 0x16, 0xe5, 0xb7, 0x12, 0x28, 0x8d, 0x8b, - 0xe6, 0xc9, 0x51, 0x48, 0x39, 0xa3, 0x38, 0x9b, 0x1c, 0x45, 0xdc, 0x30, 0x6d, 0xf9, 0x8e, 0x6b, - 0xaf, 0x77, 0xdc, 0x47, 0x12, 0x8c, 0x64, 0x54, 0xdb, 0x5b, 0x4c, 0x2c, 0xb7, 0xa1, 0x33, 0x5c, - 0x7e, 0xf3, 0xc4, 0x3f, 0x92, 0xb4, 0x61, 0x54, 0xcf, 0x8f, 0x7a, 0x2a, 0x3f, 0x91, 0x60, 0x38, - 0xbd, 0x60, 0xdf, 0x22, 0x8f, 0x39, 0xe8, 0x10, 0xcb, 0x6c, 0x4e, 0x63, 0x38, 0x49, 0x23, 0xbc, - 0x10, 0x10, 0xf6, 0x53, 0x7e, 0x00, 0x72, 0x56, 0xbd, 0x1e, 0x15, 0xa0, 0xcb, 0x32, 0xf7, 0xb4, - 0xca, 0x5c, 0x45, 0x7b, 0x86, 0x5f, 0x08, 0x0f, 0x59, 0xa2, 0x3b, 0x7a, 0x13, 0x7a, 0x5c, 0xde, - 0x5f, 0x73, 0x5c, 0x03, 0xf3, 0xd5, 0xde, 0x58, 0x52, 0x69, 0xe2, 0x0a, 0x40, 0xb7, 0x1b, 0x7b, - 0x52, 0xaa, 0xf1, 0xd9, 0xa4, 0xc1, 0xfc, 0xc6, 0x27, 0xb1, 0xb3, 0x5f, 0xc3, 0x24, 0xf6, 0x2b, - 0x09, 0x26, 0xf2, 0x0a, 0xf8, 0xa7, 0x5c, 0x7c, 0xdd, 0x4b, 0xdc, 0xf6, 0x60, 0x8e, 0x90, 0x33, - 0xe2, 0x81, 0xc4, 0x2f, 0x78, 0x28, 0xbf, 0x90, 0x60, 0x3c, 0xe7, 0x1e, 0xc0, 0x29, 0x79, 0xdd, - 0x8e, 0x5f, 0x1f, 0x49, 0x0d, 0xd3, 0xe8, 0xc6, 0x41, 0xd4, 0x53, 0xf9, 0xbb, 0x04, 0x57, 0x9b, - 0xba, 0x49, 0x70, 0x4a, 0x7a, 0x3b, 0x30, 0x24, 0xf6, 0x4d, 0x47, 0x01, 0x6a, 0x78, 0x66, 0xc4, - 0xa8, 0x5e, 0x4a, 0x52, 0x4d, 0xbb, 0xc9, 0x30, 0xe0, 0xd5, 0xbf, 0x54, 0x7e, 0x2f, 0x41, 0x21, - 0xff, 0x96, 0xc2, 0x29, 0x79, 0xbf, 0x01, 0xdd, 0x71, 0xbe, 0x9c, 0xee, 0x68, 0x92, 0x6e, 0xe2, - 0x34, 0xeb, 0x28, 0x7a, 0x50, 0xde, 0x85, 0xbe, 0xda, 0x3b, 0x04, 0x79, 0x7c, 0xae, 0xc3, 0x39, - 0x7e, 0x63, 0xe0, 0x6c, 0xda, 0xc2, 0x9e, 0xdf, 0x0c, 0xe0, 0x7d, 0x94, 0x4f, 0xa2, 0xb1, 0x67, - 0x5c, 0x22, 0xc8, 0xd3, 0xf5, 0x04, 0x86, 0xa3, 0xdb, 0xa9, 0x54, 0x46, 0x4b, 0xe8, 0x56, 0x52, - 0x3d, 0x92, 0xbc, 0xa3, 0x20, 0xae, 0xdd, 0x26, 0xde, 0x2a, 0x7f, 0x8c, 0xf1, 0x4a, 0xaf, 0x41, - 0xb6, 0x98, 0x01, 0x1f, 0x41, 0xbf, 0x1f, 0x95, 0xfb, 0x58, 0x1c, 0x71, 0x87, 0xd4, 0xac, 0x2b, - 0x62, 0x55, 0x41, 0x56, 0xf4, 0xec, 0xf3, 0x6b, 0xde, 0x28, 0x9f, 0x45, 0x81, 0x9f, 0x5f, 0x30, - 0xcd, 0x23, 0x3b, 0x0e, 0x9d, 0x82, 0xec, 0x4d, 0xce, 0xb6, 0x83, 0xb3, 0xbd, 0x19, 0x6f, 0x9c, - 0xe3, 0xd3, 0xb8, 0x68, 0x9c, 0x4b, 0x1f, 0x4b, 0x7b, 0x8b, 0x63, 0x89, 0xa5, 0xbc, 0xd4, 0x7a, - 0x68, 0xde, 0x10, 0xde, 0x85, 0x91, 0x38, 0x11, 0xc6, 0x98, 0xdd, 0x4f, 0x67, 0x81, 0x70, 0x39, - 0x93, 0x4e, 0xa2, 0xac, 0x9b, 0xf6, 0x5a, 0xb1, 0x61, 0x20, 0xa5, 0x54, 0xd8, 0xcc, 0xf2, 0x68, - 0x3e, 0xb9, 0xb7, 0x4e, 0x99, 0xee, 0xc2, 0xc2, 0x63, 0xb4, 0xe7, 0xfe, 0xa9, 0x04, 0x13, 0x79, - 0x55, 0xc3, 0x66, 0x14, 0x2f, 0x42, 0x77, 0xa2, 0x34, 0xc9, 0x74, 0x4f, 0xa6, 0xea, 0x8e, 0xd5, - 0x23, 0xd9, 0xc5, 0x5f, 0xf6, 0x42, 0xf9, 0xb3, 0x04, 0xc5, 0x46, 0xc7, 0xde, 0x79, 0x3e, 0xc9, - 0x5e, 0x1c, 0xa9, 0x30, 0x98, 0x96, 0x46, 0xf9, 0x57, 0x50, 0x6c, 0x94, 0x45, 0x55, 0x54, 0x9f, - 0x44, 0x17, 0xd5, 0x4f, 0xbf, 0x2c, 0x48, 0x9f, 0x7f, 0x59, 0x90, 0xfe, 0xfb, 0x65, 0x41, 0xfa, - 0xf8, 0xab, 0xc2, 0x99, 0xcf, 0xbf, 0x2a, 0x9c, 0xf9, 0xf7, 0x57, 0x85, 0x33, 0x4f, 0xef, 0x35, - 0x39, 0x01, 0x3f, 0x9f, 0x8d, 0x7e, 0xbc, 0x42, 0x7f, 0xee, 0xb2, 0x77, 0x8e, 0xfe, 0x46, 0x65, - 0xfe, 0xff, 0x01, 0x00, 0x00, 0xff, 0xff, 0xe0, 0xc1, 0x7c, 0x35, 0x00, 0x34, 0x00, 0x00, + proto.RegisterType((*GenesisState)(nil), "emissions.v8.GenesisState") + proto.RegisterType((*TopicIdAndTopic)(nil), "emissions.v8.TopicIdAndTopic") + proto.RegisterType((*TopicAndActorId)(nil), "emissions.v8.TopicAndActorId") + proto.RegisterType((*TopicIdAndBlockHeight)(nil), "emissions.v8.TopicIdAndBlockHeight") + proto.RegisterType((*BlockHeightAndTopicIds)(nil), "emissions.v8.BlockHeightAndTopicIds") + proto.RegisterType((*TopicIdBlockHeightScores)(nil), "emissions.v8.TopicIdBlockHeightScores") + proto.RegisterType((*TopicIdActorIdScore)(nil), "emissions.v8.TopicIdActorIdScore") + proto.RegisterType((*TopicIdActorIdUint64)(nil), "emissions.v8.TopicIdActorIdUint64") + proto.RegisterType((*TopicIdActorIdListeningCoefficient)(nil), "emissions.v8.TopicIdActorIdListeningCoefficient") + proto.RegisterType((*TopicIdActorIdDec)(nil), "emissions.v8.TopicIdActorIdDec") + proto.RegisterType((*TopicIdAndInt)(nil), "emissions.v8.TopicIdAndInt") + proto.RegisterType((*TopicIdActorIdInt)(nil), "emissions.v8.TopicIdActorIdInt") + proto.RegisterType((*TopicIdDelegatorReputerDelegatorInfo)(nil), "emissions.v8.TopicIdDelegatorReputerDelegatorInfo") + proto.RegisterType((*BlockHeightTopicIdReputerStakeRemovalInfo)(nil), "emissions.v8.BlockHeightTopicIdReputerStakeRemovalInfo") + proto.RegisterType((*ActorIdTopicIdBlockHeight)(nil), "emissions.v8.ActorIdTopicIdBlockHeight") + proto.RegisterType((*BlockHeightTopicIdDelegatorReputerDelegateStakeRemovalInfo)(nil), "emissions.v8.BlockHeightTopicIdDelegatorReputerDelegateStakeRemovalInfo") + proto.RegisterType((*DelegatorReputerTopicIdBlockHeight)(nil), "emissions.v8.DelegatorReputerTopicIdBlockHeight") + proto.RegisterType((*TopicIdActorIdInference)(nil), "emissions.v8.TopicIdActorIdInference") + proto.RegisterType((*TopicIdActorIdForecast)(nil), "emissions.v8.TopicIdActorIdForecast") + proto.RegisterType((*LibP2PKeyAndOffchainNode)(nil), "emissions.v8.LibP2pKeyAndOffchainNode") + proto.RegisterType((*TopicIdAndDec)(nil), "emissions.v8.TopicIdAndDec") + proto.RegisterType((*TopicIdBlockHeightInferences)(nil), "emissions.v8.TopicIdBlockHeightInferences") + proto.RegisterType((*TopicIdBlockHeightForecasts)(nil), "emissions.v8.TopicIdBlockHeightForecasts") + proto.RegisterType((*TopicIdBlockHeightReputerValueBundles)(nil), "emissions.v8.TopicIdBlockHeightReputerValueBundles") + proto.RegisterType((*TopicIdBlockHeightValueBundles)(nil), "emissions.v8.TopicIdBlockHeightValueBundles") + proto.RegisterType((*TopicIdAndNonces)(nil), "emissions.v8.TopicIdAndNonces") + proto.RegisterType((*TopicIdAndReputerRequestNonces)(nil), "emissions.v8.TopicIdAndReputerRequestNonces") + proto.RegisterType((*TopicIdActorIdTimeStampedValue)(nil), "emissions.v8.TopicIdActorIdTimeStampedValue") + proto.RegisterType((*TopicIdActorIdActorIdTimeStampedValue)(nil), "emissions.v8.TopicIdActorIdActorIdTimeStampedValue") + proto.RegisterType((*TopicIdTimestampedActorNonce)(nil), "emissions.v8.TopicIdTimestampedActorNonce") + proto.RegisterType((*BlockHeightTopicIds)(nil), "emissions.v8.BlockHeightTopicIds") + proto.RegisterType((*BlockHeightTopicIdWeightPair)(nil), "emissions.v8.BlockHeightTopicIdWeightPair") + proto.RegisterType((*TopicIdReputerReputerValueBundle)(nil), "emissions.v8.TopicIdReputerReputerValueBundle") +} + +func init() { proto.RegisterFile("emissions/v8/genesis.proto", fileDescriptor_5510855ac09852fd) } + +var fileDescriptor_5510855ac09852fd = []byte{ + // 3445 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x5b, 0xcb, 0x6f, 0xdc, 0xd6, + 0xd5, 0x37, 0x2d, 0xc5, 0x96, 0x8e, 0x24, 0x4b, 0xba, 0x7a, 0x51, 0x0f, 0x8f, 0xc6, 0xf4, 0x23, + 0x52, 0x62, 0x4b, 0xb1, 0x64, 0x3b, 0xfe, 0xf2, 0xe5, 0xfb, 0x12, 0x49, 0x96, 0x9c, 0xb1, 0x15, + 0x3d, 0x28, 0xc9, 0xf2, 0x67, 0xc7, 0xe1, 0x47, 0x0d, 0xaf, 0x24, 0xc6, 0x7c, 0x4c, 0x78, 0x39, + 0x92, 0xdd, 0x16, 0x68, 0x51, 0xa0, 0x59, 0x14, 0x28, 0x10, 0x14, 0x4d, 0xd1, 0xd7, 0xa6, 0xe8, + 0xa6, 0x40, 0x37, 0x05, 0xda, 0x65, 0xbb, 0x4f, 0x57, 0x4d, 0xbb, 0x2a, 0xba, 0x08, 0x8a, 0x64, + 0xd1, 0x7f, 0xa3, 0xe0, 0x7d, 0xf0, 0x31, 0x43, 0x72, 0x46, 0xa3, 0x6c, 0x04, 0x91, 0xf7, 0x9e, + 0xdf, 0xf9, 0xdd, 0x73, 0x0e, 0xcf, 0x7d, 0x9d, 0x81, 0x31, 0x6c, 0x9b, 0x84, 0x98, 0xae, 0x43, + 0x66, 0x8f, 0xee, 0xce, 0x1e, 0x60, 0x07, 0x13, 0x93, 0xcc, 0x54, 0x3c, 0xd7, 0x77, 0x51, 0x77, + 0xd8, 0x36, 0x73, 0x74, 0x77, 0xac, 0x5f, 0xb7, 0x4d, 0xc7, 0x9d, 0xa5, 0x7f, 0x59, 0x87, 0xb1, + 0xd1, 0xb2, 0x4b, 0x6c, 0x97, 0x68, 0xf4, 0x69, 0x96, 0x3d, 0xf0, 0xa6, 0x91, 0x18, 0xee, 0xfc, + 0xac, 0xe3, 0x1a, 0x98, 0x37, 0xc8, 0x35, 0x0d, 0x4e, 0x59, 0xb4, 0x8c, 0x25, 0x5a, 0x3c, 0x5c, + 0xa9, 0xfa, 0xd8, 0x4b, 0x95, 0x22, 0x65, 0xd7, 0x4b, 0xc7, 0x23, 0xbe, 0xfe, 0x3c, 0xbd, 0xc5, + 0x77, 0x2b, 0x66, 0x39, 0xbd, 0xe5, 0x65, 0x05, 0x0b, 0xda, 0xa3, 0x89, 0x96, 0x63, 0xd7, 0x7b, + 0x1e, 0x52, 0x18, 0x4d, 0x58, 0xaa, 0xa2, 0x7b, 0xba, 0x2d, 0xa4, 0x06, 0x0f, 0xdc, 0x03, 0x97, + 0x19, 0x21, 0xf8, 0x8f, 0xbd, 0x55, 0xfe, 0xba, 0x08, 0xdd, 0xf7, 0x99, 0x41, 0xb7, 0x7c, 0xdd, + 0xc7, 0x68, 0x0e, 0xce, 0x31, 0x31, 0x59, 0x2a, 0x4a, 0x53, 0x5d, 0x73, 0x83, 0x33, 0x71, 0x03, + 0xcf, 0x6c, 0xd0, 0xb6, 0xc5, 0xf6, 0xcf, 0xbf, 0x9c, 0x3c, 0xa3, 0xf2, 0x9e, 0x68, 0x06, 0x06, + 0x82, 0xc1, 0x6a, 0x3e, 0xd6, 0x6d, 0x4d, 0x37, 0x0c, 0x0f, 0x13, 0x82, 0x89, 0x7c, 0xb6, 0xd8, + 0x36, 0xd5, 0xa9, 0xf6, 0x07, 0x4d, 0xdb, 0x58, 0xb7, 0x17, 0x44, 0x03, 0x52, 0xa0, 0xc7, 0xc1, + 0x2f, 0x7c, 0x8d, 0x0e, 0x57, 0x33, 0x0d, 0xb9, 0xad, 0x28, 0x4d, 0xb5, 0xab, 0x5d, 0xc1, 0xcb, + 0xed, 0xe0, 0x5d, 0xc9, 0x40, 0xb7, 0xe1, 0x1c, 0x6d, 0x26, 0x72, 0x7b, 0xb1, 0x6d, 0xaa, 0x6b, + 0xee, 0x62, 0x92, 0x07, 0xef, 0xb6, 0xe0, 0x18, 0xf4, 0x3f, 0x95, 0x77, 0x46, 0x97, 0xa1, 0x47, + 0x2f, 0xfb, 0xe6, 0x11, 0xd6, 0xb8, 0xf4, 0x2b, 0xc5, 0xb6, 0xa9, 0x76, 0xb5, 0x9b, 0xbd, 0xdc, + 0x66, 0x9d, 0x5e, 0x87, 0x7e, 0x0f, 0x1f, 0xeb, 0x9e, 0xa1, 0xef, 0x59, 0x61, 0xc7, 0x73, 0xb4, + 0x63, 0x5f, 0xd4, 0xc0, 0x3b, 0x2f, 0x42, 0x0f, 0xe3, 0xc9, 0x0c, 0x4d, 0xe4, 0xf3, 0x99, 0x7c, + 0x16, 0x1c, 0x63, 0xa1, 0xec, 0xbb, 0x5e, 0xc9, 0x50, 0xbb, 0xa9, 0xcc, 0x2e, 0x13, 0x41, 0xf7, + 0xe0, 0x02, 0xc3, 0xe0, 0x01, 0x43, 0xe4, 0x8e, 0x66, 0x40, 0x98, 0x62, 0x95, 0xcb, 0xa0, 0x4d, + 0x40, 0x02, 0x25, 0xe0, 0xa8, 0xd1, 0xb8, 0x94, 0x3b, 0x29, 0xd2, 0xe5, 0x2c, 0xf3, 0x2c, 0x5a, + 0x6e, 0xf9, 0xf9, 0x7b, 0xd8, 0x3c, 0x38, 0xf4, 0xd5, 0x3e, 0x8e, 0x17, 0x48, 0xaf, 0x05, 0xc2, + 0xe8, 0x19, 0x8c, 0x98, 0xce, 0x3e, 0xf6, 0xb0, 0xa7, 0xd1, 0x78, 0x25, 0xda, 0xde, 0x4b, 0x6d, + 0x2f, 0x10, 0x91, 0x81, 0xe2, 0x5e, 0x4b, 0xc5, 0x8d, 0x81, 0x6e, 0x51, 0x31, 0x75, 0x90, 0xc3, + 0xb0, 0xc7, 0xc5, 0x97, 0xb4, 0x07, 0x2a, 0xc3, 0xd8, 0xbe, 0xeb, 0xe1, 0xb2, 0x4e, 0xfc, 0x14, + 0x0d, 0x5d, 0x27, 0xd2, 0x30, 0x12, 0x21, 0x25, 0x95, 0x3c, 0x83, 0x11, 0x6e, 0xd6, 0x3a, 0x0d, + 0xdd, 0x27, 0x1b, 0x03, 0x87, 0x49, 0xc2, 0xfb, 0x70, 0x51, 0xc0, 0x5b, 0x26, 0xf1, 0xb1, 0x63, + 0x3a, 0x07, 0x5a, 0xd9, 0xc5, 0xfb, 0xfb, 0x66, 0xd9, 0xc4, 0x8e, 0x2f, 0xf7, 0x51, 0x25, 0x6f, + 0xa4, 0x3b, 0x80, 0x79, 0x72, 0x55, 0x08, 0x2e, 0x45, 0x72, 0xea, 0x38, 0x87, 0x4d, 0x6b, 0x44, + 0x87, 0x50, 0xac, 0x78, 0xf8, 0xc8, 0x74, 0xab, 0x44, 0x04, 0x8d, 0x70, 0xfb, 0xbe, 0x17, 0x04, + 0xb3, 0xeb, 0xc8, 0xfd, 0x54, 0xf1, 0x64, 0x9e, 0xe2, 0x7b, 0xb8, 0xac, 0x5e, 0x14, 0x40, 0x3c, + 0x90, 0x98, 0xff, 0x57, 0x38, 0x0a, 0xb2, 0x40, 0x09, 0x35, 0x31, 0x27, 0x3a, 0x65, 0x5c, 0xa7, + 0x0b, 0x35, 0xa7, 0x6b, 0x52, 0x40, 0x95, 0x04, 0x52, 0x8d, 0xb6, 0x8f, 0xe0, 0x52, 0xa8, 0x4d, + 0x38, 0xb4, 0x4e, 0xd9, 0x40, 0x73, 0xca, 0x0a, 0x02, 0x69, 0x85, 0x03, 0xd5, 0xe8, 0xda, 0x83, + 0xc9, 0x3a, 0x5d, 0x22, 0x48, 0x34, 0x4f, 0xf7, 0x4d, 0x57, 0x1e, 0xa4, 0x9a, 0xc6, 0xb3, 0x3e, + 0x9e, 0x40, 0xcb, 0x44, 0xad, 0x16, 0x1e, 0x20, 0x6a, 0x00, 0x80, 0x36, 0xa1, 0xcb, 0x77, 0x7d, + 0xdd, 0xd2, 0x68, 0x52, 0x97, 0x87, 0x8a, 0xd2, 0x54, 0xe7, 0xe2, 0x1b, 0x41, 0x76, 0xfc, 0xe7, + 0x97, 0x93, 0x43, 0x6c, 0xb6, 0x21, 0xc6, 0xf3, 0x19, 0xd3, 0x9d, 0xb5, 0x75, 0xff, 0x70, 0xa6, + 0xe4, 0xf8, 0x7f, 0xff, 0xe3, 0x0d, 0xe0, 0xd3, 0x50, 0xc9, 0xf1, 0x7f, 0xfb, 0xef, 0xdf, 0xbf, + 0x26, 0xa9, 0x40, 0x41, 0xb6, 0x02, 0x0c, 0xf4, 0x76, 0x00, 0x19, 0x7c, 0xe6, 0x0c, 0x72, 0x38, + 0x9f, 0x62, 0xc9, 0xf1, 0x03, 0xe9, 0x8a, 0x59, 0x66, 0xd2, 0xbb, 0x30, 0x42, 0xe5, 0xc2, 0xa8, + 0xd1, 0xab, 0xfe, 0xa1, 0xeb, 0x99, 0xfe, 0x4b, 0x79, 0xa4, 0xb1, 0x59, 0x03, 0xb4, 0x21, 0x2a, + 0xcf, 0x83, 0x65, 0x41, 0x48, 0xa3, 0xc7, 0x20, 0x33, 0x60, 0x52, 0xb5, 0xb5, 0x7d, 0xcf, 0xb5, + 0x35, 0x03, 0x5b, 0xf8, 0x40, 0xf7, 0x5d, 0x4f, 0x96, 0x4f, 0x82, 0xbc, 0x55, 0xb5, 0x57, 0x3c, + 0xd7, 0xbe, 0x27, 0xa4, 0xd1, 0x33, 0xe8, 0xe3, 0x50, 0xd8, 0x60, 0x83, 0x26, 0xf2, 0x28, 0x45, + 0x9c, 0x4b, 0x45, 0x0c, 0x25, 0x39, 0xc7, 0xf0, 0xb9, 0xe4, 0xec, 0xbb, 0x6a, 0x6f, 0x88, 0x45, + 0x0d, 0x42, 0xd0, 0x73, 0x50, 0x18, 0xf1, 0x24, 0x69, 0xa2, 0x55, 0x2b, 0xae, 0x23, 0xcc, 0x24, + 0x8f, 0x35, 0x37, 0x84, 0x02, 0x85, 0x4a, 0xf0, 0x27, 0x3b, 0x15, 0xd7, 0xe1, 0x54, 0xd0, 0x13, + 0x18, 0x15, 0xfa, 0x45, 0x58, 0x57, 0x82, 0x98, 0x3b, 0xd4, 0x3d, 0x2c, 0x8f, 0x37, 0x17, 0xd7, + 0xc3, 0x02, 0x81, 0xc5, 0xf3, 0x06, 0xf6, 0xb6, 0x02, 0x71, 0xe4, 0x44, 0xae, 0xb5, 0xdd, 0x23, + 0xdd, 0x8a, 0x25, 0xba, 0x09, 0x8a, 0xfc, 0x66, 0x12, 0x39, 0x96, 0xe1, 0xb8, 0x12, 0xce, 0x72, + 0x8b, 0x39, 0x98, 0x82, 0x50, 0x9b, 0x0d, 0x92, 0xd8, 0x9b, 0x30, 0xf3, 0x7d, 0x98, 0xa6, 0x4f, + 0x0f, 0x78, 0xca, 0x17, 0xa9, 0xbe, 0x57, 0x93, 0xfa, 0xf8, 0x10, 0xea, 0xf3, 0x6b, 0x1d, 0x3e, + 0xed, 0x89, 0x3e, 0x95, 0xa0, 0x18, 0x1a, 0x2b, 0x6b, 0x64, 0x05, 0xaa, 0xe9, 0xbd, 0x46, 0x23, + 0xcb, 0x88, 0x09, 0x5c, 0x37, 0xd4, 0x09, 0x23, 0xa5, 0x25, 0x1c, 0xf2, 0x8b, 0x5c, 0x46, 0x6c, + 0xec, 0x93, 0x69, 0xf9, 0xbe, 0x56, 0x7f, 0x8a, 0x11, 0xb2, 0x34, 0x33, 0x63, 0x2c, 0x03, 0x84, + 0xd9, 0x97, 0xc8, 0x45, 0xaa, 0xe3, 0x6a, 0x7e, 0x34, 0x8a, 0x0c, 0x1b, 0x13, 0x44, 0x8b, 0xd0, + 0x29, 0x52, 0x1d, 0x91, 0x2f, 0x51, 0x94, 0x2b, 0x79, 0x28, 0x61, 0xea, 0x8c, 0xc4, 0xd0, 0xbb, + 0x70, 0x5e, 0xac, 0x75, 0x94, 0xb4, 0x09, 0x74, 0xd5, 0xdc, 0xdb, 0x98, 0xab, 0x3c, 0xc4, 0x2f, + 0x17, 0x1c, 0x63, 0x7d, 0x7f, 0xbf, 0x7c, 0xa8, 0x9b, 0xce, 0x9a, 0x6b, 0x60, 0x55, 0x88, 0xa1, + 0x45, 0xe8, 0x08, 0x57, 0x3a, 0x97, 0x4f, 0x04, 0x11, 0xca, 0xa1, 0xfb, 0xd0, 0xcf, 0xd2, 0xe0, + 0x3e, 0x0e, 0xbc, 0x70, 0x84, 0x9d, 0x2a, 0x96, 0xaf, 0x34, 0x4e, 0x86, 0xbd, 0x54, 0x6a, 0x05, + 0x63, 0x95, 0xc9, 0xa0, 0x75, 0x18, 0x0a, 0xa7, 0x01, 0xbe, 0x92, 0xa3, 0x0e, 0x91, 0xaf, 0x36, + 0x4e, 0xfe, 0x03, 0x42, 0x92, 0xbe, 0xde, 0xa5, 0x72, 0x68, 0x13, 0x2e, 0xe8, 0x96, 0xa5, 0xc5, + 0xdc, 0x75, 0x8d, 0x22, 0xbd, 0xd6, 0x68, 0x9d, 0x11, 0xba, 0x8c, 0xa8, 0x3d, 0xba, 0x65, 0x45, + 0x8f, 0x68, 0x0d, 0x82, 0x17, 0x5a, 0xe4, 0xba, 0x57, 0x29, 0xe2, 0x74, 0x23, 0x44, 0xe1, 0x3e, + 0xa2, 0x76, 0xeb, 0x96, 0x15, 0x3e, 0x05, 0x29, 0x35, 0xc0, 0xb3, 0x5c, 0x42, 0xb4, 0xbd, 0xaa, + 0x63, 0x58, 0x98, 0xc8, 0x53, 0x14, 0x72, 0xbe, 0x11, 0x24, 0x0f, 0xe0, 0x47, 0xba, 0x55, 0xc5, + 0x8b, 0x4c, 0x54, 0x0d, 0xc6, 0xbb, 0xea, 0x12, 0xc2, 0x9f, 0xd1, 0x87, 0x30, 0xe8, 0x60, 0x3f, + 0xf0, 0x76, 0x52, 0xc5, 0x34, 0x55, 0x71, 0xbd, 0x91, 0x8a, 0x04, 0x36, 0xe2, 0x48, 0x71, 0xfc, + 0x9f, 0x49, 0x70, 0x23, 0xf4, 0x59, 0x05, 0x7b, 0x65, 0xec, 0xf8, 0xfa, 0x41, 0x98, 0x51, 0x7d, + 0x97, 0x7d, 0x9c, 0x46, 0xb4, 0x9e, 0x7e, 0x8d, 0x4e, 0xbc, 0x6f, 0xf2, 0x89, 0x77, 0xf6, 0xc0, + 0xf4, 0x0f, 0xab, 0x7b, 0x33, 0x65, 0xd7, 0x9e, 0xd5, 0x2d, 0xcb, 0xf5, 0xf4, 0x1b, 0x5c, 0x8b, + 0x78, 0xa4, 0x11, 0xc7, 0xa6, 0xe4, 0xc0, 0xcf, 0x53, 0x42, 0xdb, 0x46, 0xa8, 0x8c, 0x25, 0xdf, + 0x6d, 0x97, 0x7e, 0xad, 0x46, 0xb8, 0x08, 0x7f, 0x02, 0xa3, 0x55, 0x67, 0xbf, 0x6a, 0xed, 0x9b, + 0x96, 0x85, 0x0d, 0xbe, 0x29, 0x60, 0x4b, 0x71, 0x22, 0xbf, 0x4e, 0xc7, 0x5f, 0xc8, 0x8a, 0x28, + 0xba, 0xe6, 0x26, 0xea, 0x48, 0x0c, 0x80, 0xed, 0x10, 0x58, 0x03, 0xfa, 0x08, 0xc6, 0xe2, 0xd8, + 0x62, 0x06, 0xe7, 0xe0, 0xd7, 0x73, 0x8c, 0xbb, 0xe0, 0x18, 0xe1, 0xea, 0xee, 0xe3, 0x2a, 0x26, + 0x3e, 0x57, 0x25, 0xc7, 0xf0, 0x78, 0x07, 0xae, 0xeb, 0x63, 0x28, 0x58, 0xba, 0x8f, 0x89, 0xaf, + 0x89, 0x0d, 0x80, 0xf0, 0xa8, 0x87, 0x0f, 0x3c, 0xec, 0x13, 0xf9, 0x46, 0x9e, 0x3e, 0x9e, 0xea, + 0x4d, 0x3b, 0xc8, 0x66, 0x76, 0x05, 0x1b, 0xd4, 0xa7, 0xea, 0x38, 0xc3, 0x64, 0x91, 0xed, 0xad, + 0x31, 0x44, 0x95, 0x01, 0xa2, 0x63, 0xb8, 0xc4, 0x55, 0xc6, 0x56, 0x63, 0xb5, 0x5a, 0x67, 0x5a, + 0xd0, 0xca, 0x47, 0x12, 0x2d, 0xd0, 0x6a, 0x14, 0xff, 0x50, 0x82, 0x29, 0xae, 0xd9, 0x75, 0xb0, + 0x66, 0x3a, 0x79, 0x04, 0x66, 0x73, 0x3e, 0x13, 0x4e, 0x20, 0x8b, 0xc7, 0x65, 0xa6, 0x64, 0xdd, + 0xc1, 0x25, 0x27, 0x93, 0xcc, 0x77, 0xe0, 0x0a, 0xe7, 0xe2, 0xe8, 0xc1, 0x3e, 0x35, 0xcb, 0xfc, + 0x6f, 0xb4, 0x60, 0x88, 0x22, 0x43, 0x5e, 0x0b, 0x80, 0xd3, 0x7d, 0xf0, 0x99, 0x04, 0x33, 0x31, + 0x53, 0xb8, 0xd5, 0xc8, 0xff, 0x59, 0x44, 0x6e, 0xb6, 0x6e, 0x90, 0xa9, 0xd0, 0x20, 0xeb, 0x55, + 0x11, 0x14, 0xe9, 0xbc, 0x7e, 0x29, 0xc1, 0xcd, 0x0c, 0x5e, 0x39, 0xbe, 0x9a, 0x6b, 0x9d, 0xda, + 0xeb, 0x29, 0xd4, 0x32, 0x7d, 0x96, 0xc2, 0x2e, 0xc6, 0x2a, 0xcb, 0x70, 0xf3, 0xdf, 0x10, 0xbb, + 0x88, 0x56, 0xba, 0xed, 0x7e, 0x2d, 0xc1, 0xad, 0x6c, 0x76, 0x39, 0xe6, 0xbb, 0xd5, 0x3a, 0xc1, + 0x99, 0x74, 0x82, 0x99, 0x16, 0x2c, 0x83, 0xcc, 0xe6, 0x5e, 0x2b, 0xd8, 0xf0, 0xf1, 0xac, 0x59, + 0x76, 0x6d, 0xdb, 0xf4, 0xe5, 0xdb, 0x39, 0xb3, 0x67, 0xa0, 0x98, 0x30, 0xc5, 0x94, 0x0a, 0xcd, + 0x5e, 0xea, 0x10, 0xc5, 0x5a, 0xd5, 0x89, 0xcf, 0xf2, 0xe7, 0x12, 0x05, 0x42, 0x18, 0x46, 0x63, + 0x4a, 0x44, 0xfa, 0xe4, 0x5a, 0xee, 0x9c, 0x58, 0xcb, 0x70, 0xa8, 0x85, 0xa7, 0x4e, 0xae, 0x66, + 0x1b, 0x06, 0xdc, 0x0a, 0x76, 0xc4, 0x28, 0x8e, 0x4d, 0xc7, 0x70, 0x8f, 0x89, 0xfc, 0x66, 0xda, + 0x6a, 0x2b, 0x36, 0xeb, 0x89, 0xb3, 0xaa, 0x92, 0x41, 0xd4, 0xfe, 0x00, 0x80, 0x71, 0xdf, 0x65, + 0xe2, 0xe8, 0x21, 0xf4, 0x52, 0xda, 0x86, 0x67, 0x56, 0xf8, 0xda, 0xf7, 0x6e, 0xf3, 0x47, 0x3b, + 0x3d, 0x81, 0xec, 0x3d, 0xcf, 0xac, 0x88, 0x43, 0x8b, 0xab, 0xcc, 0x12, 0xbe, 0xab, 0xd1, 0xa3, + 0xb6, 0x8a, 0x4b, 0x88, 0xb9, 0x67, 0x61, 0xad, 0x7c, 0x58, 0xf5, 0xe8, 0x11, 0x06, 0x53, 0xf1, + 0x5f, 0xcd, 0xab, 0x28, 0x52, 0xc4, 0x6d, 0x77, 0x0d, 0xbf, 0xf0, 0x37, 0x38, 0xdc, 0x12, 0x47, + 0x63, 0x5a, 0x1f, 0xc1, 0x30, 0x45, 0x0d, 0xb4, 0x26, 0x4f, 0xe1, 0xde, 0xa2, 0x6a, 0x2e, 0x35, + 0x5a, 0xc5, 0x13, 0x75, 0x80, 0x02, 0x6c, 0xbb, 0x0b, 0xf1, 0xf3, 0xba, 0x63, 0xb8, 0x1c, 0xe2, + 0x5a, 0xee, 0x71, 0x10, 0xe8, 0x71, 0x78, 0xb1, 0x9e, 0xfb, 0xef, 0x34, 0x0f, 0xd7, 0x2b, 0x61, + 0xab, 0xb8, 0x0d, 0xdd, 0xf4, 0xd4, 0x02, 0xd7, 0xb6, 0x4a, 0x41, 0x63, 0x3a, 0xf9, 0x4a, 0x6f, + 0x1d, 0x50, 0xe2, 0x78, 0x4c, 0xc3, 0xb6, 0x4e, 0xe4, 0xb7, 0xd3, 0x06, 0x93, 0xfc, 0x6c, 0xd8, + 0x09, 0x41, 0x5f, 0xfc, 0x50, 0x6c, 0xd9, 0xd6, 0x09, 0xda, 0x81, 0xa1, 0xba, 0x93, 0x08, 0x8a, + 0xf9, 0x3f, 0xcd, 0x62, 0x0e, 0xd4, 0x1c, 0x83, 0x51, 0xd8, 0x75, 0x40, 0x89, 0x23, 0x30, 0x86, + 0xf9, 0xbf, 0x4d, 0xf3, 0x8c, 0x1f, 0x7c, 0x51, 0x40, 0x1f, 0xa6, 0x6b, 0xd6, 0xcc, 0x1f, 0x57, + 0x75, 0xc7, 0x37, 0xad, 0x68, 0xbe, 0x0a, 0x15, 0xc9, 0xef, 0x34, 0x5e, 0x47, 0x5f, 0x49, 0xac, + 0xa3, 0x37, 0x39, 0x56, 0x29, 0x69, 0x1e, 0xf4, 0x2d, 0xb8, 0x9e, 0xa5, 0x35, 0xcd, 0x6a, 0xf2, + 0xbb, 0x8d, 0x15, 0xbf, 0x9a, 0xaa, 0x78, 0xa5, 0xce, 0x86, 0x79, 0x23, 0xae, 0x33, 0xad, 0xbc, + 0xd0, 0xea, 0x88, 0xd5, 0xa4, 0xa1, 0xd1, 0xf7, 0x24, 0xb8, 0x5e, 0x76, 0xab, 0x4e, 0x7c, 0x16, + 0x2e, 0x5b, 0x55, 0x8a, 0x19, 0xac, 0x53, 0x18, 0x13, 0x1e, 0xec, 0x04, 0xfb, 0xf2, 0x22, 0xd5, + 0xac, 0xe4, 0xf9, 0x74, 0xc7, 0x74, 0xfc, 0x3b, 0xb7, 0xd4, 0x6b, 0x14, 0x37, 0x9c, 0x74, 0x05, + 0x6a, 0xc9, 0x61, 0xa7, 0xcc, 0x14, 0x72, 0x0b, 0xfb, 0xe8, 0x13, 0x09, 0x66, 0x19, 0x85, 0xc4, + 0x94, 0x96, 0xcb, 0x62, 0xa9, 0x69, 0x16, 0xd3, 0x14, 0x3a, 0x3e, 0x83, 0x65, 0x12, 0x59, 0x81, + 0x5e, 0xae, 0x82, 0xdb, 0x82, 0xc8, 0xf7, 0x9a, 0x39, 0x25, 0xbf, 0xc0, 0xa4, 0xf8, 0x48, 0x09, + 0x5a, 0x05, 0xc4, 0x71, 0xa2, 0x01, 0x11, 0x79, 0xb9, 0x19, 0xa8, 0x7e, 0x26, 0x18, 0xd1, 0x0d, + 0xd6, 0xfb, 0x32, 0x4f, 0x39, 0xf5, 0x81, 0xbf, 0xd2, 0xec, 0x07, 0x36, 0xc4, 0x20, 0x6a, 0xe3, + 0xfd, 0xff, 0x61, 0x9c, 0x63, 0xa7, 0x86, 0xf7, 0xfd, 0x66, 0xe1, 0x39, 0xc3, 0x94, 0xa8, 0x8e, + 0x6c, 0x1a, 0xee, 0x94, 0xde, 0x3b, 0x81, 0x4d, 0x63, 0xbb, 0x1e, 0x61, 0x85, 0xfa, 0x8f, 0xa1, + 0x74, 0x42, 0x2b, 0xd4, 0x7e, 0x03, 0x9b, 0xd0, 0x9d, 0xd8, 0x44, 0x3e, 0xa0, 0x78, 0x33, 0xa9, + 0x78, 0xe1, 0x26, 0xa7, 0x76, 0x8f, 0xaa, 0x76, 0x59, 0xb1, 0xfd, 0xe3, 0x77, 0xa1, 0xc8, 0x4f, + 0x65, 0xab, 0xb6, 0x96, 0xba, 0xf9, 0x27, 0xf2, 0xc3, 0xd3, 0xed, 0x18, 0x27, 0xd8, 0x89, 0x6d, + 0xd5, 0xde, 0xa8, 0x3f, 0x21, 0x20, 0x88, 0xc0, 0x45, 0xbe, 0x57, 0x2d, 0x57, 0x3d, 0x0f, 0x3b, + 0x3e, 0x9b, 0x6e, 0x35, 0x31, 0x26, 0x79, 0xb5, 0xc5, 0x83, 0xe2, 0x31, 0x06, 0xbb, 0xc4, 0x50, + 0xe9, 0xe4, 0xb6, 0xcc, 0x31, 0xd1, 0x34, 0xf4, 0x1d, 0x1f, 0x9a, 0x3e, 0xb6, 0xcc, 0x60, 0x82, + 0x34, 0x6c, 0xd3, 0x21, 0xf2, 0xfb, 0xf4, 0x0e, 0xae, 0x37, 0x7c, 0xbf, 0x40, 0x5f, 0x07, 0x5d, + 0x0f, 0x2c, 0x77, 0x4f, 0xb7, 0xb4, 0xb0, 0x45, 0x5e, 0x63, 0x5d, 0xd9, 0xfb, 0x5d, 0xf1, 0x1a, + 0xdd, 0x81, 0x11, 0x66, 0xb8, 0xb2, 0x87, 0x75, 0xdf, 0xf5, 0x62, 0x12, 0xeb, 0x54, 0x82, 0x2d, + 0xc6, 0x96, 0x58, 0x6b, 0x24, 0xb7, 0x05, 0xc3, 0xf1, 0x7b, 0xb3, 0x98, 0xd8, 0x46, 0x33, 0x11, + 0x38, 0x18, 0xbb, 0x40, 0x8b, 0x40, 0x77, 0x04, 0x19, 0x11, 0x86, 0x11, 0xea, 0x66, 0x33, 0xa8, + 0x43, 0xf1, 0x1b, 0xb5, 0x08, 0x76, 0x09, 0x0a, 0xe9, 0x5c, 0x35, 0xec, 0xe8, 0x7b, 0x16, 0x36, + 0x64, 0x95, 0xde, 0x0e, 0x8e, 0xa7, 0x91, 0x5a, 0x66, 0x5d, 0xd0, 0x32, 0x4c, 0x66, 0x70, 0x0b, + 0x51, 0xb6, 0x28, 0xca, 0x44, 0x2a, 0x09, 0x01, 0xb3, 0x09, 0xc3, 0x74, 0x1d, 0x68, 0x63, 0xc3, + 0xd4, 0x9d, 0xf8, 0x29, 0xd3, 0x76, 0xe3, 0x59, 0x67, 0x30, 0x10, 0x7d, 0x9f, 0x4a, 0x96, 0xe2, + 0x87, 0x82, 0x17, 0x6c, 0xdd, 0x88, 0x43, 0xed, 0x34, 0x86, 0xea, 0xb1, 0x75, 0x23, 0x86, 0xf1, + 0x08, 0x46, 0x4d, 0xc7, 0xf4, 0x4d, 0xdd, 0x0a, 0x13, 0x21, 0xb6, 0x75, 0x96, 0x06, 0xe4, 0x47, + 0x8d, 0xe1, 0x86, 0xb9, 0x34, 0xcf, 0x81, 0xcb, 0xb6, 0x4e, 0x13, 0x00, 0xfa, 0x00, 0x26, 0x04, + 0x6e, 0x2c, 0x09, 0x46, 0xd0, 0xbb, 0x8d, 0xa1, 0x05, 0xb1, 0x28, 0xff, 0x85, 0xe8, 0x31, 0xd6, + 0xc2, 0x2b, 0x11, 0xf4, 0xe3, 0xe6, 0x59, 0x73, 0x67, 0x85, 0xb8, 0x77, 0x60, 0x44, 0x7c, 0x3f, + 0xb5, 0xd1, 0xfd, 0x7f, 0xec, 0xa3, 0xe0, 0x9f, 0x51, 0x4d, 0xfc, 0xde, 0x05, 0x99, 0xcb, 0xd5, + 0x07, 0xf0, 0x13, 0x2a, 0x38, 0xcc, 0xda, 0xeb, 0x42, 0xf4, 0x16, 0xf0, 0x16, 0xf6, 0x65, 0xc7, + 0xe4, 0x9e, 0x52, 0xb9, 0x41, 0xd6, 0x4a, 0xbf, 0xef, 0x48, 0x6a, 0x23, 0x08, 0x26, 0x9f, 0xe5, + 0xed, 0x60, 0x23, 0xa6, 0x11, 0xdf, 0xd0, 0x1c, 0xd7, 0xb3, 0xe5, 0x0f, 0x9a, 0x38, 0xfc, 0x64, + 0xa2, 0x6c, 0x0b, 0xb7, 0xe5, 0x1b, 0x6b, 0xae, 0x67, 0xa3, 0x9d, 0x10, 0x51, 0x84, 0x81, 0x48, + 0xa8, 0xcf, 0x9a, 0xbb, 0xdd, 0x18, 0x4c, 0x1c, 0x11, 0x89, 0x84, 0xf9, 0x14, 0x46, 0xeb, 0xcf, + 0x86, 0x04, 0xf2, 0x87, 0xcd, 0x21, 0x8f, 0xd4, 0x1e, 0x03, 0x71, 0xf0, 0x07, 0xed, 0x1d, 0x3d, + 0x7d, 0x17, 0x1e, 0xb4, 0x77, 0x5c, 0xe8, 0xeb, 0x7d, 0xd0, 0xde, 0xd1, 0xdb, 0xd7, 0x57, 0x73, + 0x4e, 0x25, 0x2e, 0x7c, 0x99, 0xb7, 0xea, 0x8f, 0x93, 0x6a, 0xda, 0x27, 0x84, 0x5d, 0x12, 0xb7, + 0xc5, 0xfc, 0x51, 0xd9, 0x85, 0xde, 0x9a, 0xe2, 0x04, 0x34, 0x0a, 0x1d, 0x61, 0xa9, 0x83, 0x44, + 0x4b, 0x1d, 0xce, 0xfb, 0xbc, 0xcc, 0x61, 0x1a, 0x5e, 0xa1, 0xff, 0xca, 0x67, 0x69, 0xb5, 0xc5, + 0x40, 0x7c, 0x8c, 0xf3, 0x6c, 0x8c, 0x2a, 0xeb, 0xa1, 0xdc, 0xe7, 0xc0, 0x51, 0x3a, 0xcb, 0x03, + 0x1e, 0x85, 0x0e, 0x7a, 0x5d, 0x11, 0x34, 0x05, 0xd8, 0x9d, 0xea, 0x79, 0x9d, 0x49, 0x29, 0x3b, + 0x30, 0x94, 0xba, 0xc3, 0xcb, 0x83, 0xbb, 0x04, 0xdd, 0x6c, 0x06, 0x3b, 0x64, 0x7b, 0xad, 0x00, + 0xb2, 0x4d, 0xed, 0xda, 0x8b, 0xa4, 0x95, 0xc7, 0x30, 0x9c, 0xbe, 0xdb, 0xad, 0x13, 0x96, 0xea, + 0x84, 0xd1, 0x38, 0x74, 0x0a, 0xd5, 0xac, 0x70, 0xa4, 0x5d, 0xed, 0xe0, 0xba, 0x89, 0xf2, 0x89, + 0x04, 0x72, 0xd6, 0xad, 0xfd, 0xe9, 0x48, 0xa3, 0xeb, 0x70, 0x8e, 0x15, 0x0d, 0xd0, 0x1a, 0x94, + 0x9a, 0x72, 0x97, 0xf9, 0x19, 0x5e, 0x19, 0xc0, 0xfb, 0x28, 0x47, 0x30, 0x90, 0xb2, 0xb0, 0x69, + 0xcd, 0x0d, 0x81, 0xeb, 0x59, 0x1e, 0x6a, 0x4b, 0x73, 0x3d, 0x5b, 0x32, 0xb1, 0x1e, 0x8a, 0x01, + 0x83, 0x69, 0xab, 0xeb, 0x16, 0x15, 0x0f, 0xc3, 0xb9, 0x2a, 0x95, 0xe7, 0x75, 0x37, 0xfc, 0x49, + 0xf9, 0x83, 0x04, 0x4a, 0xe3, 0xba, 0x85, 0x16, 0x95, 0xee, 0xc2, 0x50, 0x7a, 0xf9, 0x04, 0x1b, + 0xbd, 0x92, 0x1c, 0x7d, 0x6a, 0xc1, 0xc4, 0xa0, 0x95, 0xf2, 0x56, 0xf9, 0x89, 0x04, 0xfd, 0x75, + 0xb9, 0xa0, 0x45, 0x92, 0x25, 0x68, 0x33, 0x70, 0x99, 0x52, 0x3a, 0xc5, 0xd2, 0x30, 0xc0, 0x50, + 0x1c, 0xe8, 0x49, 0xdc, 0x4b, 0xe5, 0x31, 0x5a, 0x84, 0x36, 0xd3, 0x61, 0xe1, 0xd9, 0xca, 0x9a, + 0x30, 0x10, 0x56, 0x7e, 0x54, 0x67, 0x86, 0x52, 0xcb, 0xbe, 0xe2, 0x7c, 0xda, 0x4e, 0xc3, 0xe7, + 0xcf, 0x12, 0x5c, 0x69, 0xe6, 0xbe, 0x3e, 0x8f, 0xe2, 0x04, 0x74, 0x46, 0x35, 0x06, 0x8c, 0x63, + 0xf4, 0x02, 0xc9, 0x70, 0x5e, 0x5c, 0xde, 0xb7, 0x31, 0xfe, 0xfc, 0x31, 0x58, 0xef, 0x84, 0xdd, + 0x82, 0x69, 0xca, 0x95, 0xdb, 0x69, 0x90, 0x8d, 0x27, 0x83, 0x2c, 0x59, 0x37, 0xd0, 0x63, 0xc4, + 0x1f, 0x95, 0xbf, 0x49, 0x30, 0xdd, 0xf4, 0x05, 0x7a, 0x33, 0x19, 0x2e, 0x3e, 0xce, 0xb3, 0xc9, + 0x71, 0x66, 0x8f, 0x64, 0x15, 0x50, 0xe2, 0x1a, 0x3a, 0x3e, 0x9a, 0x42, 0x4d, 0xc2, 0xa8, 0xbd, + 0xe9, 0xee, 0x23, 0x35, 0x6f, 0x14, 0x1f, 0x46, 0x33, 0xef, 0xe8, 0x13, 0xf1, 0x20, 0x25, 0xe3, + 0x21, 0x87, 0x7a, 0xed, 0xc0, 0xdb, 0xea, 0xe7, 0x85, 0x9f, 0x9f, 0x85, 0xb7, 0x5a, 0xbf, 0xb0, + 0x3f, 0xa5, 0x69, 0x13, 0x21, 0xd4, 0x96, 0x13, 0x42, 0xed, 0x49, 0xc3, 0x63, 0x18, 0x4f, 0x2f, + 0x04, 0x60, 0x1e, 0x78, 0x85, 0x7a, 0xe0, 0x5a, 0x6a, 0x3c, 0xd5, 0xd7, 0x1c, 0xc8, 0x46, 0x46, + 0x8b, 0xf2, 0x0b, 0x09, 0x94, 0xc6, 0xa5, 0x03, 0xc9, 0x51, 0x48, 0x39, 0xa3, 0x38, 0x9b, 0x1c, + 0x45, 0xdc, 0x30, 0x6d, 0xf9, 0x8e, 0x6b, 0xaf, 0x77, 0xdc, 0x27, 0x12, 0x8c, 0x64, 0xd4, 0x1c, + 0xb4, 0x98, 0x58, 0x6e, 0x43, 0x67, 0xb8, 0x09, 0xe1, 0x89, 0x7f, 0x24, 0x69, 0xc3, 0xa8, 0xaa, + 0x21, 0xea, 0xa9, 0x7c, 0x5f, 0x82, 0xe1, 0xf4, 0xb2, 0x85, 0x16, 0x79, 0xcc, 0x41, 0x87, 0x58, + 0x66, 0x72, 0x1a, 0xc3, 0x49, 0x1a, 0x61, 0x59, 0x44, 0xd8, 0x4f, 0xf9, 0x36, 0xc8, 0x59, 0x55, + 0x0b, 0xa8, 0x00, 0x5d, 0x96, 0xb9, 0xa7, 0x55, 0xe6, 0x2a, 0xda, 0x73, 0xfc, 0x52, 0x78, 0xc8, + 0x12, 0xdd, 0xd1, 0x3b, 0xd0, 0xe3, 0xf2, 0xfe, 0x9a, 0xe3, 0x1a, 0x98, 0xaf, 0xf6, 0xc6, 0x92, + 0x4a, 0x13, 0x85, 0x10, 0xdd, 0x6e, 0xec, 0x49, 0xa9, 0xc6, 0x67, 0x93, 0x06, 0xf3, 0x1b, 0x9f, + 0xc4, 0xce, 0x7e, 0x03, 0x93, 0xd8, 0x4f, 0x25, 0x98, 0xc8, 0x2b, 0x63, 0x38, 0xe5, 0xe2, 0xeb, + 0x6e, 0xa2, 0xe6, 0x85, 0x39, 0x42, 0xce, 0x88, 0x07, 0x12, 0x2f, 0x73, 0x51, 0x7e, 0x2c, 0xc1, + 0x78, 0x4e, 0x35, 0xc4, 0x29, 0x79, 0xdd, 0x8e, 0x17, 0xd1, 0xa4, 0x86, 0x69, 0x54, 0x77, 0x11, + 0xf5, 0x54, 0xfe, 0x24, 0xc1, 0xd5, 0xa6, 0xea, 0x29, 0x4e, 0x49, 0x6f, 0x07, 0x86, 0xc4, 0xee, + 0xf1, 0x28, 0x40, 0x0d, 0x4f, 0xce, 0x18, 0xd5, 0x4b, 0x49, 0xaa, 0x69, 0xf5, 0x1c, 0x03, 0x5e, + 0xfd, 0x4b, 0xe5, 0x57, 0x12, 0x14, 0xf2, 0x6b, 0x35, 0x4e, 0xc9, 0xfb, 0x6d, 0xe8, 0x8e, 0xf3, + 0xe5, 0x74, 0x47, 0x93, 0x74, 0x13, 0x67, 0x7a, 0x47, 0xd1, 0x83, 0xf2, 0x14, 0xfa, 0x6a, 0x2b, + 0x29, 0xf2, 0xf8, 0x5c, 0x87, 0x73, 0xbc, 0x6e, 0xe2, 0x6c, 0xda, 0xc2, 0x9e, 0xd7, 0x47, 0xf0, + 0x3e, 0xca, 0x67, 0xd1, 0xd8, 0x33, 0x4a, 0x29, 0xf2, 0x74, 0x3d, 0x86, 0xe1, 0xa8, 0x46, 0x97, + 0xca, 0x68, 0x09, 0xdd, 0x4a, 0xaa, 0x47, 0x92, 0x95, 0x1a, 0xa2, 0xf8, 0x38, 0xf1, 0x56, 0xf9, + 0x4d, 0x8c, 0x57, 0xfa, 0x4d, 0x6c, 0x8b, 0x19, 0xf0, 0x21, 0xf4, 0xfb, 0xd1, 0xa5, 0x27, 0x8b, + 0x23, 0xee, 0x90, 0x9a, 0x75, 0x45, 0xec, 0x6e, 0x94, 0x5d, 0xfd, 0xf6, 0xf9, 0x35, 0x6f, 0x94, + 0xbf, 0x44, 0x81, 0x9f, 0x7f, 0x6d, 0x9c, 0x47, 0x76, 0x1c, 0x3a, 0x05, 0xd9, 0x9b, 0x9c, 0x6d, + 0x07, 0x67, 0x7b, 0x33, 0xde, 0x38, 0xc7, 0xa7, 0x71, 0xd1, 0x38, 0x97, 0x3e, 0x96, 0xf6, 0x16, + 0xc7, 0x12, 0x4b, 0x79, 0xa9, 0xb7, 0xc2, 0x79, 0x43, 0x78, 0x0a, 0x23, 0x71, 0x22, 0x8c, 0x31, + 0xab, 0xd2, 0x67, 0x81, 0x70, 0x39, 0x93, 0x4e, 0xe2, 0x72, 0x3b, 0xed, 0xb5, 0x62, 0xc3, 0x40, + 0xca, 0x85, 0x69, 0x33, 0xcb, 0xa3, 0xf9, 0xe4, 0xde, 0x3a, 0x65, 0xba, 0x0b, 0xaf, 0x5f, 0xa3, + 0x3d, 0xf7, 0x0f, 0x24, 0x98, 0xc8, 0xbb, 0x3b, 0x6d, 0x46, 0xf1, 0x22, 0x74, 0x27, 0x2e, 0x68, + 0x99, 0xee, 0xc9, 0x54, 0xdd, 0xb1, 0x5b, 0x59, 0x56, 0xfe, 0xcc, 0x5e, 0x28, 0xbf, 0x93, 0xa0, + 0xd8, 0xe8, 0xf0, 0x3f, 0xcf, 0x27, 0xd9, 0x8b, 0x23, 0x15, 0x06, 0xd3, 0xd2, 0x28, 0xff, 0x0a, + 0x8a, 0x8d, 0xb2, 0xa8, 0x8a, 0xea, 0x93, 0xe8, 0xa2, 0xfa, 0xf9, 0x57, 0x05, 0xe9, 0x8b, 0xaf, + 0x0a, 0xd2, 0xbf, 0xbe, 0x2a, 0x48, 0x9f, 0x7e, 0x5d, 0x38, 0xf3, 0xc5, 0xd7, 0x85, 0x33, 0xff, + 0xf8, 0xba, 0x70, 0xe6, 0xc9, 0xdd, 0x26, 0x27, 0xe0, 0x17, 0xb3, 0xd1, 0x4f, 0x78, 0xe8, 0x8f, + 0x7e, 0xf6, 0xce, 0xd1, 0x5f, 0xea, 0xcc, 0xff, 0x27, 0x00, 0x00, 0xff, 0xff, 0xd0, 0xd9, 0xaf, + 0xef, 0x06, 0x35, 0x00, 0x00, } func (m *GenesisState) Marshal() (dAtA []byte, err error) { @@ -2967,6 +2998,54 @@ func (m *GenesisState) MarshalToSizedBuffer(dAtA []byte) (int, error) { _ = i var l int _ = l + if len(m.LatestForecasterWeights) > 0 { + for iNdEx := len(m.LatestForecasterWeights) - 1; iNdEx >= 0; iNdEx-- { + { + size, err := m.LatestForecasterWeights[iNdEx].MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintGenesis(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x5 + i-- + dAtA[i] = 0xf2 + } + } + if len(m.LatestInfererWeights) > 0 { + for iNdEx := len(m.LatestInfererWeights) - 1; iNdEx >= 0; iNdEx-- { + { + size, err := m.LatestInfererWeights[iNdEx].MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintGenesis(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x5 + i-- + dAtA[i] = 0xea + } + } + if len(m.LatestRegretStdNorm) > 0 { + for iNdEx := len(m.LatestRegretStdNorm) - 1; iNdEx >= 0; iNdEx-- { + { + size, err := m.LatestRegretStdNorm[iNdEx].MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintGenesis(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x5 + i-- + dAtA[i] = 0xe2 + } + } if len(m.GlobalAdminWhitelist) > 0 { for iNdEx := len(m.GlobalAdminWhitelist) - 1; iNdEx >= 0; iNdEx-- { i -= len(m.GlobalAdminWhitelist[iNdEx]) @@ -6247,6 +6326,24 @@ func (m *GenesisState) Size() (n int) { n += 2 + l + sovGenesis(uint64(l)) } } + if len(m.LatestRegretStdNorm) > 0 { + for _, e := range m.LatestRegretStdNorm { + l = e.Size() + n += 2 + l + sovGenesis(uint64(l)) + } + } + if len(m.LatestInfererWeights) > 0 { + for _, e := range m.LatestInfererWeights { + l = e.Size() + n += 2 + l + sovGenesis(uint64(l)) + } + } + if len(m.LatestForecasterWeights) > 0 { + for _, e := range m.LatestForecasterWeights { + l = e.Size() + n += 2 + l + sovGenesis(uint64(l)) + } + } return n } @@ -10016,6 +10113,108 @@ func (m *GenesisState) Unmarshal(dAtA []byte) error { } m.GlobalAdminWhitelist = append(m.GlobalAdminWhitelist, string(dAtA[iNdEx:postIndex])) iNdEx = postIndex + case 92: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field LatestRegretStdNorm", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowGenesis + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthGenesis + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthGenesis + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.LatestRegretStdNorm = append(m.LatestRegretStdNorm, &TopicIdAndDec{}) + if err := m.LatestRegretStdNorm[len(m.LatestRegretStdNorm)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 93: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field LatestInfererWeights", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowGenesis + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthGenesis + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthGenesis + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.LatestInfererWeights = append(m.LatestInfererWeights, &TopicIdActorIdDec{}) + if err := m.LatestInfererWeights[len(m.LatestInfererWeights)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 94: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field LatestForecasterWeights", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowGenesis + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthGenesis + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthGenesis + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.LatestForecasterWeights = append(m.LatestForecasterWeights, &TopicIdActorIdDec{}) + if err := m.LatestForecasterWeights[len(m.LatestForecasterWeights)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex default: iNdEx = preIndex skippy, err := skipGenesis(dAtA[iNdEx:]) diff --git a/x/emissions/types/keys.go b/x/emissions/types/keys.go index 8436eba11..4d80158ab 100644 --- a/x/emissions/types/keys.go +++ b/x/emissions/types/keys.go @@ -111,4 +111,7 @@ var ( GlobalWorkerWhitelistKey = collections.NewPrefix(96) GlobalReputerWhitelistKey = collections.NewPrefix(97) GlobalAdminWhitelistKey = collections.NewPrefix(98) + LatestRegretStdNormKey = collections.NewPrefix(99) + LatestInfererWeightsKey = collections.NewPrefix(100) + LatestForecasterWeightsKey = collections.NewPrefix(101) ) diff --git a/x/emissions/types/params.go b/x/emissions/types/params.go index 54e750a70..bbada1786 100644 --- a/x/emissions/types/params.go +++ b/x/emissions/types/params.go @@ -65,6 +65,7 @@ func DefaultParams() Params { GlobalReputerWhitelistEnabled: true, // global reputer whitelist enabled => the global reputer whitelist determines which reputers can participate in all topics GlobalAdminWhitelistAppended: true, // global admins enabled => the global admins whitelist determines which admins can create topics and participate in all topics as workers and reputers MaxWhitelistInputArrayLength: uint64(2000), // maximum length of input arrays for whitelist operations + MinWeightThresholdForStdnorm: alloraMath.MustNewDecFromString("0.000001"), // minimum weight threshold for stdnorm calculation } } @@ -223,6 +224,9 @@ func (p Params) Validate() error { if err := validateMaxWhitelistInputArrayLength(p.MaxWhitelistInputArrayLength); err != nil { return errorsmod.Wrap(err, "params validation failure: max whitelist input array length") } + if err := validateMinWeightThresholdForStdnorm(p.MinWeightThresholdForStdnorm); err != nil { + return errorsmod.Wrap(err, "params validation failure: min weight threshold for stdnorm") + } return nil } @@ -682,3 +686,12 @@ func validateGlobalAdminWhitelistAppended(_ bool) error { func validateMaxWhitelistInputArrayLength(_ uint64) error { return nil } + +func validateMinWeightThresholdForStdnorm(i alloraMath.Dec) error { + if err := ValidateDec(i); err != nil { + return err + } else if i.IsNegative() { + return ErrValidationMustBeGreaterthanZero + } + return nil +} diff --git a/x/emissions/types/params.pb.go b/x/emissions/types/params.pb.go index 9b7156e49..ba553cd66 100644 --- a/x/emissions/types/params.pb.go +++ b/x/emissions/types/params.pb.go @@ -1,5 +1,5 @@ // Code generated by protoc-gen-gogo. DO NOT EDIT. -// source: emissions/v7/params.proto +// source: emissions/v8/params.proto package types @@ -101,13 +101,14 @@ type Params struct { GlobalReputerWhitelistEnabled bool `protobuf:"varint,57,opt,name=global_reputer_whitelist_enabled,json=globalReputerWhitelistEnabled,proto3" json:"global_reputer_whitelist_enabled,omitempty"` GlobalAdminWhitelistAppended bool `protobuf:"varint,58,opt,name=global_admin_whitelist_appended,json=globalAdminWhitelistAppended,proto3" json:"global_admin_whitelist_appended,omitempty"` MaxWhitelistInputArrayLength uint64 `protobuf:"varint,59,opt,name=max_whitelist_input_array_length,json=maxWhitelistInputArrayLength,proto3" json:"max_whitelist_input_array_length,omitempty"` + MinWeightThresholdForStdnorm github_com_allora_network_allora_chain_math.Dec `protobuf:"bytes,60,opt,name=min_weight_threshold_for_stdnorm,json=minWeightThresholdForStdnorm,proto3,customtype=github.com/allora-network/allora-chain/math.Dec" json:"min_weight_threshold_for_stdnorm"` } func (m *Params) Reset() { *m = Params{} } func (m *Params) String() string { return proto.CompactTextString(m) } func (*Params) ProtoMessage() {} func (*Params) Descriptor() ([]byte, []int) { - return fileDescriptor_8c07ddd983414a3f, []int{0} + return fileDescriptor_8dbbe45df843ba21, []int{0} } func (m *Params) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -319,117 +320,119 @@ func (m *Params) GetMaxWhitelistInputArrayLength() uint64 { } func init() { - proto.RegisterType((*Params)(nil), "emissions.v7.Params") + proto.RegisterType((*Params)(nil), "emissions.v8.Params") } -func init() { proto.RegisterFile("emissions/v7/params.proto", fileDescriptor_8c07ddd983414a3f) } +func init() { proto.RegisterFile("emissions/v8/params.proto", fileDescriptor_8dbbe45df843ba21) } -var fileDescriptor_8c07ddd983414a3f = []byte{ - // 1652 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x58, 0x4f, 0x6f, 0x24, 0x47, - 0x15, 0xdf, 0x21, 0xde, 0x8d, 0x53, 0xd9, 0xd8, 0xb3, 0x8d, 0xd7, 0xdb, 0xfe, 0x37, 0x76, 0xd6, - 0x0e, 0x4c, 0x4c, 0xd6, 0x13, 0x08, 0xe0, 0xfc, 0x41, 0x02, 0x3b, 0xb6, 0xa3, 0xb1, 0xd6, 0x8b, - 0x69, 0x9b, 0x58, 0x5a, 0x10, 0x45, 0xb9, 0xfb, 0xcd, 0x4c, 0xc9, 0xdd, 0x55, 0x9d, 0xaa, 0x9a, - 0xf1, 0x38, 0x47, 0x24, 0x2e, 0x9c, 0xf8, 0x18, 0x1c, 0x91, 0xe0, 0x43, 0xe4, 0x18, 0x71, 0x42, - 0x1c, 0x22, 0xb4, 0x7b, 0xe0, 0x6b, 0xa0, 0x57, 0x55, 0xdd, 0x33, 0xb3, 0x36, 0x2b, 0xb4, 0x9d, - 0x8b, 0xe5, 0xee, 0xfa, 0xbd, 0xdf, 0x7b, 0xfd, 0xea, 0x57, 0xef, 0xbd, 0x1a, 0xb2, 0x00, 0x19, - 0xd7, 0x9a, 0x4b, 0xa1, 0x5b, 0x83, 0xed, 0x56, 0xce, 0x14, 0xcb, 0xf4, 0x56, 0xae, 0xa4, 0x91, - 0xc1, 0xdd, 0x72, 0x69, 0x6b, 0xb0, 0xbd, 0x78, 0x8f, 0x65, 0x5c, 0xc8, 0x96, 0xfd, 0xeb, 0x00, - 0x8b, 0x0b, 0xb1, 0xd4, 0x99, 0xd4, 0xd4, 0x3e, 0xb5, 0xdc, 0x83, 0x5f, 0x9a, 0xeb, 0xca, 0xae, - 0x74, 0xef, 0xf1, 0x3f, 0xf7, 0xf6, 0xe1, 0xdf, 0x36, 0xc8, 0x9d, 0x63, 0xeb, 0x22, 0x08, 0xc9, - 0xeb, 0x03, 0x50, 0xc8, 0x1e, 0xd6, 0xd6, 0x6a, 0xcd, 0x37, 0xa2, 0xe2, 0x31, 0xf8, 0x88, 0x2c, - 0x64, 0x6c, 0x48, 0x35, 0x28, 0xce, 0x52, 0xfe, 0x25, 0x24, 0x34, 0xd3, 0x5d, 0x9a, 0x82, 0xe8, - 0x9a, 0x5e, 0xf8, 0x9d, 0xb5, 0x5a, 0xf3, 0xb5, 0x68, 0x3e, 0x63, 0xc3, 0x93, 0x72, 0xfd, 0x48, - 0x77, 0x1f, 0xdb, 0xd5, 0x80, 0x91, 0x7a, 0xc6, 0x05, 0x35, 0x32, 0xe7, 0x31, 0xbd, 0x04, 0xde, - 0xed, 0x99, 0xf0, 0x35, 0x64, 0xdf, 0xdd, 0xfe, 0xea, 0x9b, 0xd5, 0x5b, 0xff, 0xfa, 0x66, 0xb5, - 0xd5, 0xe5, 0xa6, 0xd7, 0x3f, 0xdf, 0x8a, 0x65, 0xd6, 0x62, 0x69, 0x2a, 0x15, 0x7b, 0x24, 0xc0, - 0x5c, 0x4a, 0x75, 0x51, 0x3c, 0xc6, 0x3d, 0xc6, 0x45, 0x2b, 0x63, 0xa6, 0xb7, 0xb5, 0x07, 0x71, - 0x34, 0x93, 0x71, 0x71, 0x8a, 0x7c, 0x67, 0x96, 0x2e, 0xe8, 0x90, 0x79, 0x05, 0x5f, 0xf4, 0xb9, - 0xc2, 0xb8, 0xb8, 0xe0, 0x59, 0x3f, 0xa3, 0xda, 0xb0, 0x0b, 0x08, 0x6f, 0x5b, 0x47, 0xef, 0x7b, - 0x47, 0xf7, 0x5d, 0x3a, 0x74, 0x72, 0xb1, 0xc5, 0xa5, 0xa3, 0x6b, 0x0b, 0xf3, 0x8f, 0xbf, 0x3f, - 0x22, 0x3e, 0x4f, 0x6d, 0x61, 0xfe, 0xf2, 0x9f, 0xbf, 0x6e, 0xd6, 0xa2, 0xb9, 0x82, 0xef, 0xc8, - 0xd1, 0x9d, 0x20, 0x1b, 0x66, 0x41, 0x41, 0x26, 0x07, 0xe0, 0xd8, 0x69, 0x02, 0x29, 0xbb, 0xa2, - 0x97, 0x5c, 0x24, 0xf2, 0x32, 0xbc, 0xe3, 0xb2, 0xe0, 0x00, 0x16, 0xbf, 0x87, 0xcb, 0x67, 0x76, - 0x35, 0x68, 0xba, 0x2c, 0x40, 0x2e, 0xe3, 0x5e, 0x91, 0xb7, 0xd7, 0xad, 0x05, 0x7e, 0xcc, 0x3e, - 0xbe, 0xf6, 0xf9, 0x7a, 0x4a, 0xee, 0x9e, 0x83, 0x61, 0x14, 0x84, 0x51, 0x32, 0xbf, 0x0a, 0xa7, - 0xab, 0xe5, 0xea, 0x4d, 0x24, 0xdb, 0x77, 0x5c, 0xc1, 0x6f, 0xc9, 0x5b, 0x29, 0x30, 0x25, 0xb8, - 0xe8, 0x52, 0xc5, 0x0c, 0x84, 0x6f, 0x54, 0x23, 0xbf, 0x5b, 0xb0, 0x45, 0xcc, 0x40, 0x90, 0x11, - 0xd4, 0x00, 0xed, 0x2a, 0x96, 0x70, 0x10, 0x86, 0x9a, 0x9e, 0x02, 0xdd, 0x93, 0x69, 0x12, 0x92, - 0x6a, 0x6e, 0xe6, 0x32, 0x36, 0xfc, 0xcc, 0xb3, 0x9e, 0x16, 0xa4, 0x01, 0x90, 0x00, 0x53, 0xea, - 0xb6, 0xa2, 0xa3, 0x58, 0x6c, 0x50, 0xb8, 0x6f, 0x56, 0x73, 0x85, 0xbb, 0x64, 0x37, 0xef, 0xc0, - 0x13, 0x06, 0xfb, 0x64, 0x15, 0xbf, 0xaa, 0x2f, 0x3a, 0xfd, 0xb4, 0xc3, 0xd3, 0x14, 0x12, 0x8a, - 0xf6, 0xa0, 0x28, 0x6a, 0x04, 0xb4, 0xd1, 0xe1, 0x5b, 0x6b, 0xb5, 0xe6, 0x54, 0xb4, 0x9c, 0xb1, - 0xe1, 0xaf, 0x47, 0xa8, 0x33, 0x0b, 0x8a, 0x3c, 0x26, 0xf8, 0x8c, 0xac, 0xbd, 0x48, 0xa3, 0x20, - 0xef, 0x9b, 0x71, 0x9e, 0x19, 0xcb, 0xb3, 0x32, 0xc9, 0x13, 0x39, 0x54, 0x49, 0xf4, 0x25, 0x59, - 0x71, 0x67, 0x49, 0xc1, 0x25, 0x53, 0x89, 0xff, 0x7e, 0x9e, 0xe5, 0x52, 0x19, 0x26, 0x62, 0x08, - 0x67, 0xab, 0x65, 0x60, 0xd1, 0xb2, 0x47, 0x96, 0xdc, 0x66, 0xa2, 0x5d, 0x52, 0x07, 0x7f, 0xac, - 0x91, 0xf5, 0x09, 0xe7, 0x1d, 0x00, 0xaa, 0x60, 0x00, 0xa2, 0x3f, 0x11, 0x42, 0xbd, 0x5a, 0x08, - 0xab, 0x63, 0x21, 0x1c, 0x00, 0x44, 0xce, 0xc1, 0x58, 0x1c, 0x40, 0x82, 0x89, 0x30, 0x58, 0x9a, - 0xf7, 0x58, 0x78, 0xaf, 0xe2, 0xd6, 0x8f, 0x79, 0xdd, 0x41, 0xc2, 0x20, 0x26, 0xf7, 0x0c, 0xd3, - 0x17, 0x93, 0x5e, 0x82, 0x6a, 0x5e, 0x66, 0x91, 0x71, 0xdc, 0x09, 0xe6, 0x74, 0xc0, 0x52, 0x9e, - 0x30, 0x23, 0x95, 0xa6, 0x03, 0x4d, 0x9d, 0x21, 0xcd, 0x41, 0xc5, 0x78, 0x8c, 0x9c, 0xf7, 0xf0, - 0xbb, 0x15, 0x73, 0x3a, 0xf2, 0xf1, 0xb9, 0xde, 0xb1, 0x90, 0x63, 0xe7, 0xc0, 0x05, 0x13, 0xfc, - 0x8c, 0x2c, 0xd9, 0x12, 0xcf, 0xb2, 0x3c, 0x05, 0x4d, 0x8d, 0xa4, 0x3a, 0x66, 0x29, 0x50, 0x1d, - 0x4b, 0x05, 0x3a, 0x9c, 0xb3, 0xda, 0x7c, 0x80, 0x45, 0xde, 0x21, 0x4e, 0xe5, 0x09, 0xae, 0x9f, - 0xd8, 0xe5, 0xe0, 0x63, 0xb2, 0x88, 0xd6, 0x46, 0xe6, 0x94, 0x8b, 0x0e, 0x28, 0x50, 0x96, 0xc2, - 0xc7, 0x7e, 0xdf, 0x1a, 0x63, 0x75, 0x38, 0x95, 0x79, 0xdb, 0xaf, 0x9f, 0x4a, 0xef, 0xf9, 0x17, - 0x64, 0xa5, 0xb0, 0xed, 0x48, 0x05, 0x31, 0xd3, 0x66, 0xd2, 0x7c, 0xde, 0x9a, 0x2f, 0x38, 0xf3, - 0x83, 0x11, 0xa4, 0x64, 0x18, 0xf3, 0xee, 0x0f, 0xd5, 0xb8, 0xf9, 0x83, 0x71, 0xef, 0xfe, 0x38, - 0x8d, 0x6c, 0x9f, 0x92, 0x7a, 0xac, 0x80, 0x19, 0xf0, 0x2d, 0xaa, 0x03, 0x10, 0x86, 0xaf, 0xd8, - 0x36, 0x66, 0x1c, 0x93, 0xed, 0x4d, 0x07, 0x00, 0xc1, 0x27, 0x64, 0xb1, 0xac, 0x86, 0x09, 0x68, - 0xbb, 0x9d, 0x18, 0x28, 0xc7, 0x08, 0xc2, 0x05, 0x97, 0xd2, 0x02, 0xb1, 0xe7, 0x00, 0x47, 0x6c, - 0xd8, 0xc6, 0xe5, 0xe0, 0x37, 0xa4, 0xae, 0xa0, 0xcb, 0xb5, 0x51, 0x0c, 0x0b, 0x91, 0x0d, 0x6c, - 0xf9, 0x15, 0x03, 0x9b, 0x1d, 0x67, 0xc2, 0xc8, 0xde, 0x23, 0x41, 0x02, 0x1d, 0xd6, 0x4f, 0x0d, - 0xcd, 0x59, 0x17, 0x68, 0xca, 0x33, 0x6e, 0xc2, 0x15, 0x1b, 0x51, 0xdd, 0xaf, 0x1c, 0xb3, 0x2e, - 0x3c, 0xc6, 0xf7, 0xc1, 0x06, 0x99, 0xc1, 0xb0, 0xc7, 0x90, 0x0d, 0x8b, 0xbc, 0x9b, 0xb1, 0xe1, - 0x08, 0x85, 0xfb, 0xf8, 0x42, 0x8f, 0xa3, 0x0a, 0x62, 0xa9, 0x12, 0x6f, 0xb4, 0x6a, 0x1b, 0xde, - 0xc2, 0x64, 0xc3, 0x8b, 0x2c, 0xc2, 0x31, 0x34, 0x49, 0xfd, 0x3c, 0x95, 0xf1, 0x85, 0x46, 0xf1, - 0xd3, 0x4c, 0x0a, 0xd3, 0x0b, 0xd7, 0xac, 0xa7, 0x19, 0xf7, 0xfe, 0x18, 0xd4, 0x11, 0xbe, 0xc5, - 0x0a, 0x90, 0x17, 0xe7, 0xd2, 0x09, 0x0e, 0xeb, 0xce, 0xdb, 0x15, 0x2b, 0x40, 0xee, 0x34, 0xd1, - 0x2e, 0x08, 0xb1, 0x02, 0x94, 0x6e, 0x0a, 0x6d, 0x86, 0x0f, 0x2b, 0x56, 0x00, 0xef, 0xa5, 0x10, - 0x32, 0x4e, 0x48, 0xa5, 0x13, 0x2f, 0xdf, 0x70, 0xbd, 0xe2, 0x84, 0xe4, 0x7d, 0x78, 0xb5, 0x63, - 0xba, 0xe2, 0xeb, 0xe9, 0xda, 0xa8, 0x98, 0xae, 0xf8, 0x86, 0x74, 0xc5, 0xd7, 0xd2, 0xf5, 0x4e, - 0xc5, 0x74, 0xc5, 0x2f, 0xa4, 0xeb, 0x09, 0xb9, 0x13, 0x53, 0x21, 0x55, 0x16, 0x7e, 0xaf, 0x1a, - 0xf3, 0xed, 0xf8, 0x89, 0x54, 0x59, 0xf0, 0x7b, 0x32, 0x0b, 0xb9, 0xe6, 0xa9, 0x14, 0x65, 0xf6, - 0x9b, 0x15, 0xb3, 0xef, 0xf9, 0x8a, 0xec, 0x7f, 0x4e, 0xde, 0xed, 0xb1, 0xb4, 0x63, 0x8f, 0x7e, - 0xae, 0x64, 0x0c, 0x5a, 0xfb, 0xb6, 0x6d, 0xa7, 0x45, 0x96, 0x6a, 0x0a, 0x22, 0xa1, 0x56, 0xe2, - 0xe1, 0xa6, 0xd5, 0xfb, 0x3a, 0x1a, 0x1c, 0xb1, 0xe1, 0xb1, 0x83, 0xdb, 0x46, 0x1c, 0x79, 0xf0, - 0xbe, 0x48, 0x76, 0x11, 0x8a, 0xc2, 0x29, 0x22, 0xd7, 0xac, 0x03, 0x34, 0xe1, 0x83, 0xf0, 0x07, - 0xdf, 0x4e, 0xe8, 0x27, 0xac, 0x03, 0x7b, 0x7c, 0x80, 0xd5, 0x31, 0x61, 0x86, 0x51, 0x0d, 0x22, - 0xc1, 0xa9, 0x11, 0x8b, 0xd0, 0x7b, 0xaf, 0x5a, 0x1d, 0x91, 0xe9, 0xc4, 0x11, 0x61, 0x0d, 0xf2, - 0x97, 0x0a, 0x48, 0x21, 0x03, 0x61, 0xdc, 0x99, 0x2f, 0x55, 0xf3, 0xa8, 0x2c, 0xda, 0xfb, 0x7e, - 0xfd, 0x18, 0x54, 0xa9, 0x01, 0xdf, 0xac, 0x70, 0x44, 0x1b, 0xf8, 0xc2, 0xed, 0xec, 0x5d, 0x0e, - 0xb7, 0xca, 0x66, 0xb5, 0x63, 0x11, 0xb6, 0x20, 0x23, 0x81, 0xcb, 0xdb, 0x26, 0xb9, 0x67, 0x5b, - 0x9d, 0x51, 0xf8, 0x49, 0x7e, 0x1a, 0x6f, 0x59, 0x9b, 0x59, 0x6c, 0x70, 0xf6, 0xbd, 0x1f, 0xc7, - 0x25, 0x79, 0xc0, 0x05, 0x37, 0x9c, 0xa5, 0x54, 0x41, 0x57, 0x81, 0xa1, 0x5f, 0xf4, 0x99, 0x30, - 0x3c, 0x85, 0xf0, 0xfd, 0x6a, 0xa9, 0xbe, 0xef, 0x79, 0x23, 0x4b, 0xfb, 0x2b, 0xcf, 0x1a, 0xfc, - 0x8e, 0xcc, 0xe6, 0x56, 0xde, 0xa3, 0x3d, 0xfd, 0x61, 0xc5, 0x29, 0x3d, 0x47, 0x9d, 0x17, 0x3b, - 0xfa, 0x73, 0x12, 0x76, 0x53, 0x79, 0xce, 0x52, 0x7a, 0xd9, 0xe3, 0x06, 0x52, 0xae, 0x0d, 0x05, - 0xc1, 0xce, 0x53, 0x48, 0xc2, 0x1f, 0xad, 0xd5, 0x9a, 0xd3, 0xbb, 0xb7, 0xdd, 0x76, 0xcd, 0x3b, - 0xd8, 0x59, 0x81, 0xda, 0x77, 0xa0, 0xe0, 0x31, 0x71, 0xf3, 0x19, 0xb5, 0xcd, 0x4e, 0xaa, 0x1b, - 0x78, 0x3e, 0x18, 0xe7, 0x59, 0xb6, 0xe8, 0x4f, 0x1d, 0xf8, 0x1a, 0xdb, 0xa7, 0xa4, 0x61, 0x9b, - 0xc6, 0x30, 0x07, 0xc5, 0xb1, 0x88, 0x8c, 0x8d, 0xd7, 0x98, 0x17, 0x1d, 0xfe, 0xd8, 0x6e, 0xcc, - 0x12, 0x76, 0x8d, 0x11, 0xa8, 0x98, 0xae, 0x2d, 0x24, 0xf8, 0x53, 0x8d, 0xbc, 0x53, 0x96, 0x35, - 0x2a, 0xfb, 0x26, 0xe5, 0xa0, 0x68, 0x02, 0x06, 0xec, 0x0c, 0x3f, 0x76, 0x13, 0xf9, 0x49, 0xb5, - 0x54, 0x3e, 0x2c, 0xbd, 0xfc, 0xd2, 0x39, 0xd9, 0x2b, 0x7c, 0x8c, 0xee, 0x25, 0x7f, 0xa8, 0x91, - 0xb7, 0x5f, 0x16, 0x8c, 0x1b, 0x23, 0x7f, 0x5a, 0x2d, 0x90, 0xc6, 0xff, 0x0c, 0xc4, 0x4d, 0x95, - 0x9c, 0xcc, 0xa5, 0x2c, 0x3b, 0x4f, 0x18, 0x2d, 0xd4, 0x6b, 0xe7, 0xb8, 0x70, 0xbb, 0x9a, 0xdb, - 0xc0, 0x91, 0xb6, 0x1d, 0xa7, 0x9d, 0xfd, 0x50, 0x0f, 0x85, 0xa0, 0xdc, 0xc6, 0x5d, 0xd7, 0xc3, - 0x87, 0x13, 0x7a, 0xf0, 0xba, 0xb2, 0xe0, 0x6b, 0x7a, 0x78, 0x42, 0xd6, 0x3c, 0x5b, 0x71, 0x3d, - 0xba, 0x4e, 0xf7, 0xd1, 0x38, 0xdd, 0x8a, 0x83, 0xfb, 0x5a, 0x7b, 0x93, 0x5a, 0x3d, 0x1f, 0x4b, - 0x50, 0x68, 0x23, 0x36, 0x96, 0xe7, 0x20, 0x12, 0x48, 0xc2, 0x8f, 0x6f, 0x88, 0x6e, 0x07, 0xc1, - 0x25, 0xd9, 0x8e, 0x87, 0x06, 0x47, 0xee, 0x16, 0x37, 0x22, 0xe1, 0x22, 0xef, 0x1b, 0xca, 0x94, - 0x62, 0x57, 0x45, 0x21, 0xf9, 0x04, 0xf5, 0x5a, 0xd2, 0x65, 0x6c, 0x58, 0xd2, 0xb4, 0x11, 0xbc, - 0x83, 0x58, 0x57, 0x5c, 0x0e, 0xa7, 0xa6, 0xa7, 0xea, 0xb7, 0x0f, 0xa7, 0xa6, 0x17, 0xeb, 0x4b, - 0x87, 0x53, 0xd3, 0x4b, 0xf5, 0xe5, 0xc3, 0xa9, 0xe9, 0xef, 0xd7, 0x9b, 0x87, 0x53, 0xd3, 0xef, - 0xd6, 0x37, 0xed, 0xb5, 0xf7, 0x5a, 0x6d, 0xb3, 0x07, 0x81, 0x42, 0xa7, 0x03, 0x63, 0xb5, 0xaf, - 0xb8, 0x83, 0x45, 0xeb, 0x68, 0xa2, 0xc0, 0x28, 0xee, 0x46, 0x78, 0x77, 0x8b, 0xa4, 0x42, 0x8a, - 0x18, 0xb4, 0xdf, 0x1f, 0x7f, 0x20, 0x27, 0xee, 0x6e, 0x09, 0xc4, 0xec, 0xca, 0xfe, 0x24, 0x10, - 0x6d, 0xbc, 0x94, 0xc2, 0x6f, 0xca, 0x6e, 0xf4, 0xd5, 0xb3, 0x46, 0xed, 0xeb, 0x67, 0x8d, 0xda, - 0xbf, 0x9f, 0x35, 0x6a, 0x7f, 0x7e, 0xde, 0xb8, 0xf5, 0xf5, 0xf3, 0xc6, 0xad, 0x7f, 0x3e, 0x6f, - 0xdc, 0x7a, 0xfa, 0xe1, 0xff, 0xa9, 0xa9, 0x61, 0x6b, 0xf4, 0x2b, 0x97, 0xb9, 0xca, 0x41, 0x9f, - 0xdf, 0xb1, 0x3f, 0x48, 0x7d, 0xf0, 0xdf, 0x00, 0x00, 0x00, 0xff, 0xff, 0xc5, 0xa1, 0x16, 0xa7, - 0xff, 0x12, 0x00, 0x00, +var fileDescriptor_8dbbe45df843ba21 = []byte{ + // 1686 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x58, 0x4f, 0x6f, 0x1b, 0xc7, + 0x15, 0x37, 0x1b, 0xd9, 0x51, 0x26, 0x8e, 0x44, 0x6f, 0x65, 0x7b, 0x25, 0x4b, 0x14, 0x63, 0xd9, + 0x2d, 0xa3, 0xc6, 0x62, 0xda, 0xb4, 0x8d, 0xf2, 0x07, 0x68, 0xa5, 0x48, 0x0a, 0x28, 0x58, 0xae, + 0xba, 0x52, 0x23, 0xc0, 0x2d, 0x3a, 0x1d, 0xed, 0x3e, 0x92, 0x03, 0xed, 0xce, 0x6c, 0x66, 0x86, + 0x14, 0x95, 0x4b, 0x81, 0x02, 0xbd, 0xf4, 0xd4, 0x8f, 0xd1, 0x63, 0x0f, 0xf9, 0x10, 0x39, 0x06, + 0x3d, 0x15, 0x3d, 0x04, 0x85, 0x7d, 0xe8, 0xd7, 0x28, 0xde, 0xcc, 0xec, 0x92, 0xb4, 0x54, 0xa3, + 0xf0, 0xe6, 0x22, 0x88, 0x3b, 0xbf, 0xf7, 0x7b, 0x6f, 0xdf, 0xfc, 0xe6, 0xbd, 0x37, 0x4b, 0x16, + 0x21, 0xe3, 0x5a, 0x73, 0x29, 0x74, 0x7b, 0xb8, 0xd9, 0xce, 0x99, 0x62, 0x99, 0xde, 0xc8, 0x95, + 0x34, 0x32, 0xb8, 0x59, 0x2e, 0x6d, 0x0c, 0x37, 0x97, 0x6e, 0xb1, 0x8c, 0x0b, 0xd9, 0xb6, 0x7f, + 0x1d, 0x60, 0x69, 0x31, 0x96, 0x3a, 0x93, 0x9a, 0xda, 0x5f, 0x6d, 0xf7, 0xc3, 0x2f, 0x2d, 0xf4, + 0x64, 0x4f, 0xba, 0xe7, 0xf8, 0x9f, 0x7b, 0x7a, 0xff, 0xab, 0x87, 0xe4, 0xc6, 0xa1, 0x75, 0x11, + 0x84, 0xe4, 0xf5, 0x21, 0x28, 0x64, 0x0f, 0x6b, 0xcd, 0x5a, 0xeb, 0x8d, 0xa8, 0xf8, 0x19, 0x7c, + 0x48, 0x16, 0x33, 0x36, 0xa2, 0x1a, 0x14, 0x67, 0x29, 0xff, 0x12, 0x12, 0x9a, 0xe9, 0x1e, 0x4d, + 0x41, 0xf4, 0x4c, 0x3f, 0xfc, 0x5e, 0xb3, 0xd6, 0x7a, 0x2d, 0xba, 0x93, 0xb1, 0xd1, 0x51, 0xb9, + 0x7e, 0xa0, 0x7b, 0x8f, 0xed, 0x6a, 0xc0, 0x48, 0x3d, 0xe3, 0x82, 0x1a, 0x99, 0xf3, 0x98, 0x9e, + 0x03, 0xef, 0xf5, 0x4d, 0xf8, 0x1a, 0xb2, 0x6f, 0x7f, 0xf0, 0xf5, 0xb7, 0xab, 0xd7, 0xfe, 0xf5, + 0xed, 0x6a, 0xbb, 0xc7, 0x4d, 0x7f, 0x70, 0xba, 0x11, 0xcb, 0xac, 0xcd, 0xd2, 0x54, 0x2a, 0xf6, + 0x48, 0x80, 0x39, 0x97, 0xea, 0xac, 0xf8, 0x19, 0xf7, 0x19, 0x17, 0xed, 0x8c, 0x99, 0xfe, 0xc6, + 0x0e, 0xc4, 0xd1, 0x5c, 0xc6, 0xc5, 0x31, 0xf2, 0x9d, 0x58, 0xba, 0xa0, 0x4b, 0xee, 0x28, 0xf8, + 0x62, 0xc0, 0x15, 0xc6, 0xc5, 0x05, 0xcf, 0x06, 0x19, 0xd5, 0x86, 0x9d, 0x41, 0x78, 0xdd, 0x3a, + 0x7a, 0xcf, 0x3b, 0xba, 0xed, 0xd2, 0xa1, 0x93, 0xb3, 0x0d, 0x2e, 0x1d, 0x5d, 0x47, 0x98, 0x7f, + 0x7c, 0xf5, 0x88, 0xf8, 0x3c, 0x75, 0x84, 0xf9, 0xdb, 0x7f, 0xfe, 0xbe, 0x5e, 0x8b, 0x16, 0x0a, + 0xbe, 0x03, 0x47, 0x77, 0x84, 0x6c, 0x98, 0x05, 0x05, 0x99, 0x1c, 0x82, 0x63, 0xa7, 0x09, 0xa4, + 0xec, 0x82, 0x9e, 0x73, 0x91, 0xc8, 0xf3, 0xf0, 0x86, 0xcb, 0x82, 0x03, 0x58, 0xfc, 0x0e, 0x2e, + 0x9f, 0xd8, 0xd5, 0xa0, 0xe5, 0xb2, 0x00, 0xb9, 0x8c, 0xfb, 0x45, 0xde, 0x5e, 0xb7, 0x16, 0xf8, + 0x32, 0xbb, 0xf8, 0xd8, 0xe7, 0xeb, 0x29, 0xb9, 0x79, 0x0a, 0x86, 0x51, 0x10, 0x46, 0xc9, 0xfc, + 0x22, 0x9c, 0xad, 0x96, 0xab, 0x37, 0x91, 0x6c, 0xd7, 0x71, 0x05, 0xbf, 0x23, 0x6f, 0xa5, 0xc0, + 0x94, 0xe0, 0xa2, 0x47, 0x15, 0x33, 0x10, 0xbe, 0x51, 0x8d, 0xfc, 0x66, 0xc1, 0x16, 0x31, 0x03, + 0x41, 0x46, 0x50, 0x03, 0xb4, 0xa7, 0x58, 0xc2, 0x41, 0x18, 0x6a, 0xfa, 0x0a, 0x74, 0x5f, 0xa6, + 0x49, 0x48, 0xaa, 0xb9, 0x59, 0xc8, 0xd8, 0xe8, 0x33, 0xcf, 0x7a, 0x5c, 0x90, 0x06, 0x40, 0x02, + 0x4c, 0xa9, 0xdb, 0x8a, 0xae, 0x62, 0xb1, 0x41, 0xe1, 0xbe, 0x59, 0xcd, 0x15, 0xee, 0x92, 0xdd, + 0xbc, 0x3d, 0x4f, 0x18, 0xec, 0x92, 0x55, 0x7c, 0xab, 0x81, 0xe8, 0x0e, 0xd2, 0x2e, 0x4f, 0x53, + 0x48, 0x28, 0xda, 0x83, 0xa2, 0xa8, 0x11, 0xd0, 0x46, 0x87, 0x6f, 0x35, 0x6b, 0xad, 0x99, 0x68, + 0x39, 0x63, 0xa3, 0xdf, 0x8c, 0x51, 0x27, 0x16, 0x14, 0x79, 0x4c, 0xf0, 0x19, 0x69, 0xbe, 0x48, + 0xa3, 0x20, 0x1f, 0x98, 0x49, 0x9e, 0x39, 0xcb, 0xb3, 0x32, 0xcd, 0x13, 0x39, 0x54, 0x49, 0xf4, + 0x25, 0x59, 0x71, 0x67, 0x49, 0xc1, 0x39, 0x53, 0x89, 0x7f, 0x7f, 0x9e, 0xe5, 0x52, 0x19, 0x26, + 0x62, 0x08, 0xe7, 0xab, 0x65, 0x60, 0xc9, 0xb2, 0x47, 0x96, 0xdc, 0x66, 0xa2, 0x53, 0x52, 0x07, + 0x7f, 0xae, 0x91, 0xb5, 0x29, 0xe7, 0x5d, 0x00, 0xaa, 0x60, 0x08, 0x62, 0x30, 0x15, 0x42, 0xbd, + 0x5a, 0x08, 0xab, 0x13, 0x21, 0xec, 0x01, 0x44, 0xce, 0xc1, 0x44, 0x1c, 0x40, 0x82, 0xa9, 0x30, + 0x58, 0x9a, 0xf7, 0x59, 0x78, 0xab, 0xe2, 0xd6, 0x4f, 0x78, 0xdd, 0x42, 0xc2, 0x20, 0x26, 0xb7, + 0x0c, 0xd3, 0x67, 0xd3, 0x5e, 0x82, 0x6a, 0x5e, 0xe6, 0x91, 0x71, 0xd2, 0x09, 0xe6, 0x74, 0xc8, + 0x52, 0x9e, 0x30, 0x23, 0x95, 0xa6, 0x43, 0x4d, 0x9d, 0x21, 0xcd, 0x41, 0xc5, 0x78, 0x8c, 0x9c, + 0xf7, 0xf0, 0xfb, 0x15, 0x73, 0x3a, 0xf6, 0xf1, 0xb9, 0xde, 0xb2, 0x90, 0x43, 0xe7, 0xc0, 0x05, + 0x13, 0x7c, 0x42, 0xee, 0xd9, 0x12, 0xcf, 0xb2, 0x3c, 0x05, 0x4d, 0x8d, 0xa4, 0x3a, 0x66, 0x29, + 0x50, 0x1d, 0x4b, 0x05, 0x3a, 0x5c, 0xb0, 0xda, 0xbc, 0x8b, 0x45, 0xde, 0x21, 0x8e, 0xe5, 0x11, + 0xae, 0x1f, 0xd9, 0xe5, 0xe0, 0x23, 0xb2, 0x84, 0xd6, 0x46, 0xe6, 0x94, 0x8b, 0x2e, 0x28, 0x50, + 0x96, 0xc2, 0xc7, 0x7e, 0xdb, 0x1a, 0x63, 0x75, 0x38, 0x96, 0x79, 0xc7, 0xaf, 0x1f, 0x4b, 0xef, + 0xf9, 0x97, 0x64, 0xa5, 0xb0, 0xed, 0x4a, 0x05, 0x31, 0xd3, 0x66, 0xda, 0xfc, 0x8e, 0x35, 0x5f, + 0x74, 0xe6, 0x7b, 0x63, 0x48, 0xc9, 0x30, 0xe1, 0xdd, 0x1f, 0xaa, 0x49, 0xf3, 0xbb, 0x93, 0xde, + 0xfd, 0x71, 0x1a, 0xdb, 0x3e, 0x25, 0xf5, 0x58, 0x01, 0x33, 0xe0, 0x5b, 0x54, 0x17, 0x20, 0x0c, + 0x5f, 0xb1, 0x6d, 0xcc, 0x39, 0x26, 0xdb, 0x9b, 0xf6, 0x00, 0x82, 0x8f, 0xc9, 0x52, 0x59, 0x0d, + 0x13, 0xd0, 0x76, 0x3b, 0x31, 0x50, 0x8e, 0x11, 0x84, 0x8b, 0x2e, 0xa5, 0x05, 0x62, 0xc7, 0x01, + 0x0e, 0xd8, 0xa8, 0x83, 0xcb, 0xc1, 0x6f, 0x49, 0x5d, 0x41, 0x8f, 0x6b, 0xa3, 0x18, 0x16, 0x22, + 0x1b, 0xd8, 0xf2, 0x2b, 0x06, 0x36, 0x3f, 0xc9, 0x84, 0x91, 0xbd, 0x4b, 0x82, 0x04, 0xba, 0x6c, + 0x90, 0x1a, 0x9a, 0xb3, 0x1e, 0xd0, 0x94, 0x67, 0xdc, 0x84, 0x2b, 0x36, 0xa2, 0xba, 0x5f, 0x39, + 0x64, 0x3d, 0x78, 0x8c, 0xcf, 0x83, 0x07, 0x64, 0x0e, 0xc3, 0x9e, 0x40, 0x36, 0x2c, 0xf2, 0x66, + 0xc6, 0x46, 0x63, 0x14, 0xee, 0xe3, 0x0b, 0x3d, 0x8e, 0x2a, 0x88, 0xa5, 0x4a, 0xbc, 0xd1, 0xaa, + 0x6d, 0x78, 0x8b, 0xd3, 0x0d, 0x2f, 0xb2, 0x08, 0xc7, 0xd0, 0x22, 0xf5, 0xd3, 0x54, 0xc6, 0x67, + 0x1a, 0xc5, 0x4f, 0x33, 0x29, 0x4c, 0x3f, 0x6c, 0x5a, 0x4f, 0x73, 0xee, 0xf9, 0x21, 0xa8, 0x03, + 0x7c, 0x8a, 0x15, 0x20, 0x2f, 0xce, 0xa5, 0x13, 0x1c, 0xd6, 0x9d, 0xb7, 0x2b, 0x56, 0x80, 0xdc, + 0x69, 0xa2, 0x53, 0x10, 0x62, 0x05, 0x28, 0xdd, 0x14, 0xda, 0x0c, 0xef, 0x57, 0xac, 0x00, 0xde, + 0x4b, 0x21, 0x64, 0x9c, 0x90, 0x4a, 0x27, 0x5e, 0xbe, 0xe1, 0x5a, 0xc5, 0x09, 0xc9, 0xfb, 0xf0, + 0x6a, 0xc7, 0x74, 0xc5, 0x97, 0xd3, 0xf5, 0xa0, 0x62, 0xba, 0xe2, 0x2b, 0xd2, 0x15, 0x5f, 0x4a, + 0xd7, 0xc3, 0x8a, 0xe9, 0x8a, 0x5f, 0x48, 0xd7, 0x13, 0x72, 0x23, 0xa6, 0x42, 0xaa, 0x2c, 0xfc, + 0x41, 0x35, 0xe6, 0xeb, 0xf1, 0x13, 0xa9, 0xb2, 0xe0, 0x0f, 0x64, 0x1e, 0x72, 0xcd, 0x53, 0x29, + 0xca, 0xec, 0xb7, 0x2a, 0x66, 0xdf, 0xf3, 0x15, 0xd9, 0xff, 0x9c, 0xbc, 0xd3, 0x67, 0x69, 0xd7, + 0x1e, 0xfd, 0x5c, 0xc9, 0x18, 0xb4, 0xf6, 0x6d, 0xdb, 0x4e, 0x8b, 0x2c, 0xd5, 0x14, 0x44, 0x42, + 0xad, 0xc4, 0xc3, 0x75, 0xab, 0xf7, 0x35, 0x34, 0x38, 0x60, 0xa3, 0x43, 0x07, 0xb7, 0x8d, 0x38, + 0xf2, 0xe0, 0x5d, 0x91, 0x6c, 0x23, 0x14, 0x85, 0x53, 0x44, 0xae, 0x59, 0x17, 0x68, 0xc2, 0x87, + 0xe1, 0x8f, 0xbe, 0x9b, 0xd0, 0x8f, 0x58, 0x17, 0x76, 0xf8, 0x10, 0xab, 0x63, 0xc2, 0x0c, 0xa3, + 0x1a, 0x44, 0x82, 0x53, 0x23, 0x16, 0xa1, 0x77, 0x5f, 0xb5, 0x3a, 0x22, 0xd3, 0x91, 0x23, 0xc2, + 0x1a, 0xe4, 0x2f, 0x15, 0x90, 0x42, 0x06, 0xc2, 0xb8, 0x33, 0x5f, 0xaa, 0xe6, 0x51, 0x59, 0xb4, + 0x77, 0xfd, 0xfa, 0x21, 0xa8, 0x52, 0x03, 0xbe, 0x59, 0xe1, 0x88, 0x36, 0xf4, 0x85, 0xdb, 0xd9, + 0xbb, 0x1c, 0x6e, 0x94, 0xcd, 0x6a, 0xcb, 0x22, 0x6c, 0x41, 0x46, 0x02, 0x97, 0xb7, 0x75, 0x72, + 0xcb, 0xb6, 0x3a, 0xa3, 0xf0, 0x95, 0xfc, 0x34, 0xde, 0xb6, 0x36, 0xf3, 0xd8, 0xe0, 0xec, 0x73, + 0x3f, 0x8e, 0x4b, 0x72, 0x97, 0x0b, 0x6e, 0x38, 0x4b, 0xa9, 0x82, 0x9e, 0x02, 0x43, 0xbf, 0x18, + 0x30, 0x61, 0x78, 0x0a, 0xe1, 0x7b, 0xd5, 0x52, 0x7d, 0xdb, 0xf3, 0x46, 0x96, 0xf6, 0xd7, 0x9e, + 0x35, 0xf8, 0x3d, 0x99, 0xcf, 0xad, 0xbc, 0xc7, 0x7b, 0xfa, 0xe3, 0x8a, 0x53, 0x7a, 0x8e, 0x3a, + 0x2f, 0x76, 0xf4, 0x17, 0x24, 0xec, 0xa5, 0xf2, 0x94, 0xa5, 0xf4, 0xbc, 0xcf, 0x0d, 0xa4, 0x5c, + 0x1b, 0x0a, 0x82, 0x9d, 0xa6, 0x90, 0x84, 0x3f, 0x69, 0xd6, 0x5a, 0xb3, 0xdb, 0xd7, 0xdd, 0x76, + 0xdd, 0x71, 0xb0, 0x93, 0x02, 0xb5, 0xeb, 0x40, 0xc1, 0x63, 0xe2, 0xe6, 0x33, 0x6a, 0x9b, 0x9d, + 0x54, 0x57, 0xf0, 0xbc, 0x3f, 0xc9, 0xb3, 0x6c, 0xd1, 0x9f, 0x3a, 0xf0, 0x25, 0xb6, 0x4f, 0x49, + 0xc3, 0x36, 0x8d, 0x51, 0x0e, 0x8a, 0x63, 0x11, 0x99, 0x18, 0xaf, 0x31, 0x2f, 0x3a, 0xfc, 0xa9, + 0xdd, 0x98, 0x7b, 0xd8, 0x35, 0xc6, 0xa0, 0x62, 0xba, 0xb6, 0x90, 0xe0, 0x2f, 0x35, 0xf2, 0xb0, + 0x2c, 0x6b, 0x54, 0x0e, 0x4c, 0xca, 0x41, 0xd1, 0x04, 0x0c, 0xd8, 0x19, 0x7e, 0xe2, 0x26, 0xf2, + 0xb3, 0x6a, 0xa9, 0xbc, 0x5f, 0x7a, 0xf9, 0x95, 0x73, 0xb2, 0x53, 0xf8, 0x18, 0xdf, 0x4b, 0xfe, + 0x54, 0x23, 0x6f, 0xbf, 0x2c, 0x18, 0x37, 0x46, 0xfe, 0xbc, 0x5a, 0x20, 0x8d, 0xff, 0x19, 0x88, + 0x9b, 0x2a, 0x39, 0x59, 0x48, 0x59, 0x76, 0x9a, 0x30, 0x5a, 0xa8, 0xd7, 0xce, 0x71, 0xe1, 0x07, + 0xd5, 0xdc, 0x06, 0x8e, 0xb4, 0xe3, 0x38, 0xed, 0xec, 0x87, 0x7a, 0x28, 0x04, 0xe5, 0x36, 0xee, + 0xb2, 0x1e, 0x36, 0xa7, 0xf4, 0xe0, 0x75, 0x65, 0xc1, 0x97, 0xf4, 0xf0, 0x84, 0x34, 0x3d, 0x5b, + 0x71, 0x3d, 0xba, 0x4c, 0xf7, 0xe1, 0x24, 0xdd, 0x8a, 0x83, 0xfb, 0x5a, 0x7b, 0x95, 0x5a, 0x3d, + 0x1f, 0x4b, 0x50, 0x68, 0x63, 0x36, 0x96, 0xe7, 0x20, 0x12, 0x48, 0xc2, 0x8f, 0xae, 0x88, 0x6e, + 0x0b, 0xc1, 0x25, 0xd9, 0x96, 0x87, 0x06, 0x07, 0xee, 0x16, 0x37, 0x26, 0xe1, 0x22, 0x1f, 0x18, + 0xca, 0x94, 0x62, 0x17, 0x45, 0x21, 0xf9, 0x18, 0xf5, 0x5a, 0xd2, 0x65, 0x6c, 0x54, 0xd2, 0x74, + 0x10, 0xbc, 0x85, 0x58, 0x5f, 0x5c, 0xfe, 0x48, 0x9a, 0x36, 0x26, 0xfb, 0x19, 0x63, 0xac, 0x52, + 0xac, 0x82, 0x54, 0x9b, 0xc4, 0x36, 0xb9, 0x4f, 0xaa, 0xed, 0xd8, 0x32, 0xbe, 0x87, 0xe5, 0x2f, + 0x15, 0xba, 0x27, 0xd5, 0x91, 0x23, 0xdf, 0x9f, 0x99, 0x9d, 0xa9, 0x5f, 0xdf, 0x9f, 0x99, 0x5d, + 0xaa, 0xdf, 0xdb, 0x9f, 0x99, 0xbd, 0x57, 0x5f, 0xde, 0x9f, 0x99, 0xfd, 0x61, 0xbd, 0xb5, 0x3f, + 0x33, 0xfb, 0x4e, 0x7d, 0xdd, 0xde, 0xbb, 0x2f, 0x15, 0x57, 0x7b, 0x12, 0x29, 0x74, 0xbb, 0x30, + 0x51, 0x7c, 0x8b, 0x4b, 0x60, 0xb4, 0x86, 0x26, 0x0a, 0x8c, 0xe2, 0xee, 0x0e, 0xe1, 0xae, 0xb1, + 0x54, 0x48, 0x11, 0x83, 0xf6, 0x02, 0xf1, 0x15, 0x61, 0xea, 0xf2, 0x98, 0x40, 0xcc, 0x2e, 0xec, + 0x37, 0x89, 0xe8, 0xc1, 0x4b, 0x29, 0xbc, 0x2a, 0xb6, 0xa3, 0xaf, 0x9f, 0x35, 0x6a, 0xdf, 0x3c, + 0x6b, 0xd4, 0xfe, 0xfd, 0xac, 0x51, 0xfb, 0xeb, 0xf3, 0xc6, 0xb5, 0x6f, 0x9e, 0x37, 0xae, 0xfd, + 0xf3, 0x79, 0xe3, 0xda, 0xd3, 0xcd, 0xff, 0x33, 0x45, 0xa3, 0xf6, 0xf8, 0x33, 0x9b, 0xb9, 0xc8, + 0x41, 0x9f, 0xde, 0xb0, 0x5f, 0xc4, 0xde, 0xff, 0x6f, 0x00, 0x00, 0x00, 0xff, 0xff, 0x94, 0x74, + 0x92, 0xef, 0x80, 0x13, 0x00, 0x00, } func (m *Params) Marshal() (dAtA []byte, err error) { @@ -452,6 +455,18 @@ func (m *Params) MarshalToSizedBuffer(dAtA []byte) (int, error) { _ = i var l int _ = l + { + size := m.MinWeightThresholdForStdnorm.Size() + i -= size + if _, err := m.MinWeightThresholdForStdnorm.MarshalTo(dAtA[i:]); err != nil { + return 0, err + } + i = encodeVarintParams(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x3 + i-- + dAtA[i] = 0xe2 if m.MaxWhitelistInputArrayLength != 0 { i = encodeVarintParams(dAtA, i, uint64(m.MaxWhitelistInputArrayLength)) i-- @@ -1112,6 +1127,8 @@ func (m *Params) Size() (n int) { if m.MaxWhitelistInputArrayLength != 0 { n += 2 + sovParams(uint64(m.MaxWhitelistInputArrayLength)) } + l = m.MinWeightThresholdForStdnorm.Size() + n += 2 + l + sovParams(uint64(l)) return n } @@ -2580,6 +2597,40 @@ func (m *Params) Unmarshal(dAtA []byte) error { break } } + case 60: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field MinWeightThresholdForStdnorm", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowParams + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthParams + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthParams + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if err := m.MinWeightThresholdForStdnorm.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex default: iNdEx = preIndex skippy, err := skipParams(dAtA[iNdEx:]) diff --git a/x/emissions/types/params_test.go b/x/emissions/types/params_test.go index 7171c441e..e58d55ce2 100644 --- a/x/emissions/types/params_test.go +++ b/x/emissions/types/params_test.go @@ -63,6 +63,7 @@ func TestDefaultParams(t *testing.T) { GlobalReputerWhitelistEnabled: true, GlobalAdminWhitelistAppended: true, MaxWhitelistInputArrayLength: uint64(2000), + MinWeightThresholdForStdnorm: alloraMath.MustNewDecFromString("0.000001"), } params := DefaultParams() diff --git a/x/emissions/types/query.pb.go b/x/emissions/types/query.pb.go index 6e4fbdcfa..80bba960f 100644 --- a/x/emissions/types/query.pb.go +++ b/x/emissions/types/query.pb.go @@ -1,5 +1,5 @@ // Code generated by protoc-gen-gogo. DO NOT EDIT. -// source: emissions/v7/query.proto +// source: emissions/v8/query.proto package types @@ -42,7 +42,7 @@ func (m *IsWhitelistedGlobalWorkerRequest) Reset() { *m = IsWhitelistedG func (m *IsWhitelistedGlobalWorkerRequest) String() string { return proto.CompactTextString(m) } func (*IsWhitelistedGlobalWorkerRequest) ProtoMessage() {} func (*IsWhitelistedGlobalWorkerRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_654c5ef5213700ee, []int{0} + return fileDescriptor_a0e710a1eb587f03, []int{0} } func (m *IsWhitelistedGlobalWorkerRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -86,7 +86,7 @@ func (m *IsWhitelistedGlobalWorkerResponse) Reset() { *m = IsWhitelisted func (m *IsWhitelistedGlobalWorkerResponse) String() string { return proto.CompactTextString(m) } func (*IsWhitelistedGlobalWorkerResponse) ProtoMessage() {} func (*IsWhitelistedGlobalWorkerResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_654c5ef5213700ee, []int{1} + return fileDescriptor_a0e710a1eb587f03, []int{1} } func (m *IsWhitelistedGlobalWorkerResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -130,7 +130,7 @@ func (m *IsWhitelistedGlobalReputerRequest) Reset() { *m = IsWhitelisted func (m *IsWhitelistedGlobalReputerRequest) String() string { return proto.CompactTextString(m) } func (*IsWhitelistedGlobalReputerRequest) ProtoMessage() {} func (*IsWhitelistedGlobalReputerRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_654c5ef5213700ee, []int{2} + return fileDescriptor_a0e710a1eb587f03, []int{2} } func (m *IsWhitelistedGlobalReputerRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -174,7 +174,7 @@ func (m *IsWhitelistedGlobalReputerResponse) Reset() { *m = IsWhiteliste func (m *IsWhitelistedGlobalReputerResponse) String() string { return proto.CompactTextString(m) } func (*IsWhitelistedGlobalReputerResponse) ProtoMessage() {} func (*IsWhitelistedGlobalReputerResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_654c5ef5213700ee, []int{3} + return fileDescriptor_a0e710a1eb587f03, []int{3} } func (m *IsWhitelistedGlobalReputerResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -218,7 +218,7 @@ func (m *IsWhitelistedGlobalAdminRequest) Reset() { *m = IsWhitelistedGl func (m *IsWhitelistedGlobalAdminRequest) String() string { return proto.CompactTextString(m) } func (*IsWhitelistedGlobalAdminRequest) ProtoMessage() {} func (*IsWhitelistedGlobalAdminRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_654c5ef5213700ee, []int{4} + return fileDescriptor_a0e710a1eb587f03, []int{4} } func (m *IsWhitelistedGlobalAdminRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -262,7 +262,7 @@ func (m *IsWhitelistedGlobalAdminResponse) Reset() { *m = IsWhitelistedG func (m *IsWhitelistedGlobalAdminResponse) String() string { return proto.CompactTextString(m) } func (*IsWhitelistedGlobalAdminResponse) ProtoMessage() {} func (*IsWhitelistedGlobalAdminResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_654c5ef5213700ee, []int{5} + return fileDescriptor_a0e710a1eb587f03, []int{5} } func (m *IsWhitelistedGlobalAdminResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -306,7 +306,7 @@ func (m *IsTopicWorkerWhitelistEnabledRequest) Reset() { *m = IsTopicWor func (m *IsTopicWorkerWhitelistEnabledRequest) String() string { return proto.CompactTextString(m) } func (*IsTopicWorkerWhitelistEnabledRequest) ProtoMessage() {} func (*IsTopicWorkerWhitelistEnabledRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_654c5ef5213700ee, []int{6} + return fileDescriptor_a0e710a1eb587f03, []int{6} } func (m *IsTopicWorkerWhitelistEnabledRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -350,7 +350,7 @@ func (m *IsTopicWorkerWhitelistEnabledResponse) Reset() { *m = IsTopicWo func (m *IsTopicWorkerWhitelistEnabledResponse) String() string { return proto.CompactTextString(m) } func (*IsTopicWorkerWhitelistEnabledResponse) ProtoMessage() {} func (*IsTopicWorkerWhitelistEnabledResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_654c5ef5213700ee, []int{7} + return fileDescriptor_a0e710a1eb587f03, []int{7} } func (m *IsTopicWorkerWhitelistEnabledResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -394,7 +394,7 @@ func (m *IsTopicReputerWhitelistEnabledRequest) Reset() { *m = IsTopicRe func (m *IsTopicReputerWhitelistEnabledRequest) String() string { return proto.CompactTextString(m) } func (*IsTopicReputerWhitelistEnabledRequest) ProtoMessage() {} func (*IsTopicReputerWhitelistEnabledRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_654c5ef5213700ee, []int{8} + return fileDescriptor_a0e710a1eb587f03, []int{8} } func (m *IsTopicReputerWhitelistEnabledRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -440,7 +440,7 @@ func (m *IsTopicReputerWhitelistEnabledResponse) Reset() { func (m *IsTopicReputerWhitelistEnabledResponse) String() string { return proto.CompactTextString(m) } func (*IsTopicReputerWhitelistEnabledResponse) ProtoMessage() {} func (*IsTopicReputerWhitelistEnabledResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_654c5ef5213700ee, []int{9} + return fileDescriptor_a0e710a1eb587f03, []int{9} } func (m *IsTopicReputerWhitelistEnabledResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -484,7 +484,7 @@ func (m *IsWhitelistedTopicCreatorRequest) Reset() { *m = IsWhitelistedT func (m *IsWhitelistedTopicCreatorRequest) String() string { return proto.CompactTextString(m) } func (*IsWhitelistedTopicCreatorRequest) ProtoMessage() {} func (*IsWhitelistedTopicCreatorRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_654c5ef5213700ee, []int{10} + return fileDescriptor_a0e710a1eb587f03, []int{10} } func (m *IsWhitelistedTopicCreatorRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -528,7 +528,7 @@ func (m *IsWhitelistedTopicCreatorResponse) Reset() { *m = IsWhitelisted func (m *IsWhitelistedTopicCreatorResponse) String() string { return proto.CompactTextString(m) } func (*IsWhitelistedTopicCreatorResponse) ProtoMessage() {} func (*IsWhitelistedTopicCreatorResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_654c5ef5213700ee, []int{11} + return fileDescriptor_a0e710a1eb587f03, []int{11} } func (m *IsWhitelistedTopicCreatorResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -572,7 +572,7 @@ func (m *IsWhitelistedGlobalActorRequest) Reset() { *m = IsWhitelistedGl func (m *IsWhitelistedGlobalActorRequest) String() string { return proto.CompactTextString(m) } func (*IsWhitelistedGlobalActorRequest) ProtoMessage() {} func (*IsWhitelistedGlobalActorRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_654c5ef5213700ee, []int{12} + return fileDescriptor_a0e710a1eb587f03, []int{12} } func (m *IsWhitelistedGlobalActorRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -616,7 +616,7 @@ func (m *IsWhitelistedGlobalActorResponse) Reset() { *m = IsWhitelistedG func (m *IsWhitelistedGlobalActorResponse) String() string { return proto.CompactTextString(m) } func (*IsWhitelistedGlobalActorResponse) ProtoMessage() {} func (*IsWhitelistedGlobalActorResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_654c5ef5213700ee, []int{13} + return fileDescriptor_a0e710a1eb587f03, []int{13} } func (m *IsWhitelistedGlobalActorResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -661,7 +661,7 @@ func (m *IsWhitelistedTopicWorkerRequest) Reset() { *m = IsWhitelistedTo func (m *IsWhitelistedTopicWorkerRequest) String() string { return proto.CompactTextString(m) } func (*IsWhitelistedTopicWorkerRequest) ProtoMessage() {} func (*IsWhitelistedTopicWorkerRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_654c5ef5213700ee, []int{14} + return fileDescriptor_a0e710a1eb587f03, []int{14} } func (m *IsWhitelistedTopicWorkerRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -712,7 +712,7 @@ func (m *IsWhitelistedTopicWorkerResponse) Reset() { *m = IsWhitelistedT func (m *IsWhitelistedTopicWorkerResponse) String() string { return proto.CompactTextString(m) } func (*IsWhitelistedTopicWorkerResponse) ProtoMessage() {} func (*IsWhitelistedTopicWorkerResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_654c5ef5213700ee, []int{15} + return fileDescriptor_a0e710a1eb587f03, []int{15} } func (m *IsWhitelistedTopicWorkerResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -757,7 +757,7 @@ func (m *IsWhitelistedTopicReputerRequest) Reset() { *m = IsWhitelistedT func (m *IsWhitelistedTopicReputerRequest) String() string { return proto.CompactTextString(m) } func (*IsWhitelistedTopicReputerRequest) ProtoMessage() {} func (*IsWhitelistedTopicReputerRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_654c5ef5213700ee, []int{16} + return fileDescriptor_a0e710a1eb587f03, []int{16} } func (m *IsWhitelistedTopicReputerRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -808,7 +808,7 @@ func (m *IsWhitelistedTopicReputerResponse) Reset() { *m = IsWhitelisted func (m *IsWhitelistedTopicReputerResponse) String() string { return proto.CompactTextString(m) } func (*IsWhitelistedTopicReputerResponse) ProtoMessage() {} func (*IsWhitelistedTopicReputerResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_654c5ef5213700ee, []int{17} + return fileDescriptor_a0e710a1eb587f03, []int{17} } func (m *IsWhitelistedTopicReputerResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -852,7 +852,7 @@ func (m *CanUpdateAllGlobalWhitelistsRequest) Reset() { *m = CanUpdateAl func (m *CanUpdateAllGlobalWhitelistsRequest) String() string { return proto.CompactTextString(m) } func (*CanUpdateAllGlobalWhitelistsRequest) ProtoMessage() {} func (*CanUpdateAllGlobalWhitelistsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_654c5ef5213700ee, []int{18} + return fileDescriptor_a0e710a1eb587f03, []int{18} } func (m *CanUpdateAllGlobalWhitelistsRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -896,7 +896,7 @@ func (m *CanUpdateAllGlobalWhitelistsResponse) Reset() { *m = CanUpdateA func (m *CanUpdateAllGlobalWhitelistsResponse) String() string { return proto.CompactTextString(m) } func (*CanUpdateAllGlobalWhitelistsResponse) ProtoMessage() {} func (*CanUpdateAllGlobalWhitelistsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_654c5ef5213700ee, []int{19} + return fileDescriptor_a0e710a1eb587f03, []int{19} } func (m *CanUpdateAllGlobalWhitelistsResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -940,7 +940,7 @@ func (m *CanUpdateGlobalWorkerWhitelistRequest) Reset() { *m = CanUpdate func (m *CanUpdateGlobalWorkerWhitelistRequest) String() string { return proto.CompactTextString(m) } func (*CanUpdateGlobalWorkerWhitelistRequest) ProtoMessage() {} func (*CanUpdateGlobalWorkerWhitelistRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_654c5ef5213700ee, []int{20} + return fileDescriptor_a0e710a1eb587f03, []int{20} } func (m *CanUpdateGlobalWorkerWhitelistRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -986,7 +986,7 @@ func (m *CanUpdateGlobalWorkerWhitelistResponse) Reset() { func (m *CanUpdateGlobalWorkerWhitelistResponse) String() string { return proto.CompactTextString(m) } func (*CanUpdateGlobalWorkerWhitelistResponse) ProtoMessage() {} func (*CanUpdateGlobalWorkerWhitelistResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_654c5ef5213700ee, []int{21} + return fileDescriptor_a0e710a1eb587f03, []int{21} } func (m *CanUpdateGlobalWorkerWhitelistResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1032,7 +1032,7 @@ func (m *CanUpdateGlobalReputerWhitelistRequest) Reset() { func (m *CanUpdateGlobalReputerWhitelistRequest) String() string { return proto.CompactTextString(m) } func (*CanUpdateGlobalReputerWhitelistRequest) ProtoMessage() {} func (*CanUpdateGlobalReputerWhitelistRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_654c5ef5213700ee, []int{22} + return fileDescriptor_a0e710a1eb587f03, []int{22} } func (m *CanUpdateGlobalReputerWhitelistRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1078,7 +1078,7 @@ func (m *CanUpdateGlobalReputerWhitelistResponse) Reset() { func (m *CanUpdateGlobalReputerWhitelistResponse) String() string { return proto.CompactTextString(m) } func (*CanUpdateGlobalReputerWhitelistResponse) ProtoMessage() {} func (*CanUpdateGlobalReputerWhitelistResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_654c5ef5213700ee, []int{23} + return fileDescriptor_a0e710a1eb587f03, []int{23} } func (m *CanUpdateGlobalReputerWhitelistResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1122,7 +1122,7 @@ func (m *CanUpdateParamsRequest) Reset() { *m = CanUpdateParamsRequest{} func (m *CanUpdateParamsRequest) String() string { return proto.CompactTextString(m) } func (*CanUpdateParamsRequest) ProtoMessage() {} func (*CanUpdateParamsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_654c5ef5213700ee, []int{24} + return fileDescriptor_a0e710a1eb587f03, []int{24} } func (m *CanUpdateParamsRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1166,7 +1166,7 @@ func (m *CanUpdateParamsResponse) Reset() { *m = CanUpdateParamsResponse func (m *CanUpdateParamsResponse) String() string { return proto.CompactTextString(m) } func (*CanUpdateParamsResponse) ProtoMessage() {} func (*CanUpdateParamsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_654c5ef5213700ee, []int{25} + return fileDescriptor_a0e710a1eb587f03, []int{25} } func (m *CanUpdateParamsResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1211,7 +1211,7 @@ func (m *CanUpdateTopicWhitelistRequest) Reset() { *m = CanUpdateTopicWh func (m *CanUpdateTopicWhitelistRequest) String() string { return proto.CompactTextString(m) } func (*CanUpdateTopicWhitelistRequest) ProtoMessage() {} func (*CanUpdateTopicWhitelistRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_654c5ef5213700ee, []int{26} + return fileDescriptor_a0e710a1eb587f03, []int{26} } func (m *CanUpdateTopicWhitelistRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1262,7 +1262,7 @@ func (m *CanUpdateTopicWhitelistResponse) Reset() { *m = CanUpdateTopicW func (m *CanUpdateTopicWhitelistResponse) String() string { return proto.CompactTextString(m) } func (*CanUpdateTopicWhitelistResponse) ProtoMessage() {} func (*CanUpdateTopicWhitelistResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_654c5ef5213700ee, []int{27} + return fileDescriptor_a0e710a1eb587f03, []int{27} } func (m *CanUpdateTopicWhitelistResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1306,7 +1306,7 @@ func (m *CanCreateTopicRequest) Reset() { *m = CanCreateTopicRequest{} } func (m *CanCreateTopicRequest) String() string { return proto.CompactTextString(m) } func (*CanCreateTopicRequest) ProtoMessage() {} func (*CanCreateTopicRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_654c5ef5213700ee, []int{28} + return fileDescriptor_a0e710a1eb587f03, []int{28} } func (m *CanCreateTopicRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1350,7 +1350,7 @@ func (m *CanCreateTopicResponse) Reset() { *m = CanCreateTopicResponse{} func (m *CanCreateTopicResponse) String() string { return proto.CompactTextString(m) } func (*CanCreateTopicResponse) ProtoMessage() {} func (*CanCreateTopicResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_654c5ef5213700ee, []int{29} + return fileDescriptor_a0e710a1eb587f03, []int{29} } func (m *CanCreateTopicResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1395,7 +1395,7 @@ func (m *CanSubmitWorkerPayloadRequest) Reset() { *m = CanSubmitWorkerPa func (m *CanSubmitWorkerPayloadRequest) String() string { return proto.CompactTextString(m) } func (*CanSubmitWorkerPayloadRequest) ProtoMessage() {} func (*CanSubmitWorkerPayloadRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_654c5ef5213700ee, []int{30} + return fileDescriptor_a0e710a1eb587f03, []int{30} } func (m *CanSubmitWorkerPayloadRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1446,7 +1446,7 @@ func (m *CanSubmitWorkerPayloadResponse) Reset() { *m = CanSubmitWorkerP func (m *CanSubmitWorkerPayloadResponse) String() string { return proto.CompactTextString(m) } func (*CanSubmitWorkerPayloadResponse) ProtoMessage() {} func (*CanSubmitWorkerPayloadResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_654c5ef5213700ee, []int{31} + return fileDescriptor_a0e710a1eb587f03, []int{31} } func (m *CanSubmitWorkerPayloadResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1491,7 +1491,7 @@ func (m *CanSubmitReputerPayloadRequest) Reset() { *m = CanSubmitReputer func (m *CanSubmitReputerPayloadRequest) String() string { return proto.CompactTextString(m) } func (*CanSubmitReputerPayloadRequest) ProtoMessage() {} func (*CanSubmitReputerPayloadRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_654c5ef5213700ee, []int{32} + return fileDescriptor_a0e710a1eb587f03, []int{32} } func (m *CanSubmitReputerPayloadRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1542,7 +1542,7 @@ func (m *CanSubmitReputerPayloadResponse) Reset() { *m = CanSubmitRepute func (m *CanSubmitReputerPayloadResponse) String() string { return proto.CompactTextString(m) } func (*CanSubmitReputerPayloadResponse) ProtoMessage() {} func (*CanSubmitReputerPayloadResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_654c5ef5213700ee, []int{33} + return fileDescriptor_a0e710a1eb587f03, []int{33} } func (m *CanSubmitReputerPayloadResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1589,7 +1589,7 @@ func (m *GetCountInfererInclusionsInTopicRequest) Reset() { func (m *GetCountInfererInclusionsInTopicRequest) String() string { return proto.CompactTextString(m) } func (*GetCountInfererInclusionsInTopicRequest) ProtoMessage() {} func (*GetCountInfererInclusionsInTopicRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_654c5ef5213700ee, []int{34} + return fileDescriptor_a0e710a1eb587f03, []int{34} } func (m *GetCountInfererInclusionsInTopicRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1642,7 +1642,7 @@ func (m *GetCountInfererInclusionsInTopicResponse) Reset() { func (m *GetCountInfererInclusionsInTopicResponse) String() string { return proto.CompactTextString(m) } func (*GetCountInfererInclusionsInTopicResponse) ProtoMessage() {} func (*GetCountInfererInclusionsInTopicResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_654c5ef5213700ee, []int{35} + return fileDescriptor_a0e710a1eb587f03, []int{35} } func (m *GetCountInfererInclusionsInTopicResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1691,7 +1691,7 @@ func (m *GetCountForecasterInclusionsInTopicRequest) String() string { } func (*GetCountForecasterInclusionsInTopicRequest) ProtoMessage() {} func (*GetCountForecasterInclusionsInTopicRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_654c5ef5213700ee, []int{36} + return fileDescriptor_a0e710a1eb587f03, []int{36} } func (m *GetCountForecasterInclusionsInTopicRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1746,7 +1746,7 @@ func (m *GetCountForecasterInclusionsInTopicResponse) String() string { } func (*GetCountForecasterInclusionsInTopicResponse) ProtoMessage() {} func (*GetCountForecasterInclusionsInTopicResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_654c5ef5213700ee, []int{37} + return fileDescriptor_a0e710a1eb587f03, []int{37} } func (m *GetCountForecasterInclusionsInTopicResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1791,7 +1791,7 @@ func (m *GetNaiveInfererNetworkRegretRequest) Reset() { *m = GetNaiveInf func (m *GetNaiveInfererNetworkRegretRequest) String() string { return proto.CompactTextString(m) } func (*GetNaiveInfererNetworkRegretRequest) ProtoMessage() {} func (*GetNaiveInfererNetworkRegretRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_654c5ef5213700ee, []int{38} + return fileDescriptor_a0e710a1eb587f03, []int{38} } func (m *GetNaiveInfererNetworkRegretRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1842,7 +1842,7 @@ func (m *GetNaiveInfererNetworkRegretResponse) Reset() { *m = GetNaiveIn func (m *GetNaiveInfererNetworkRegretResponse) String() string { return proto.CompactTextString(m) } func (*GetNaiveInfererNetworkRegretResponse) ProtoMessage() {} func (*GetNaiveInfererNetworkRegretResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_654c5ef5213700ee, []int{39} + return fileDescriptor_a0e710a1eb587f03, []int{39} } func (m *GetNaiveInfererNetworkRegretResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1892,7 +1892,7 @@ func (m *GetOneOutInfererInfererNetworkRegretRequest) String() string { } func (*GetOneOutInfererInfererNetworkRegretRequest) ProtoMessage() {} func (*GetOneOutInfererInfererNetworkRegretRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_654c5ef5213700ee, []int{40} + return fileDescriptor_a0e710a1eb587f03, []int{40} } func (m *GetOneOutInfererInfererNetworkRegretRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1954,7 +1954,7 @@ func (m *GetOneOutInfererInfererNetworkRegretResponse) String() string { } func (*GetOneOutInfererInfererNetworkRegretResponse) ProtoMessage() {} func (*GetOneOutInfererInfererNetworkRegretResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_654c5ef5213700ee, []int{41} + return fileDescriptor_a0e710a1eb587f03, []int{41} } func (m *GetOneOutInfererInfererNetworkRegretResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -2004,7 +2004,7 @@ func (m *GetOneOutInfererForecasterNetworkRegretRequest) String() string { } func (*GetOneOutInfererForecasterNetworkRegretRequest) ProtoMessage() {} func (*GetOneOutInfererForecasterNetworkRegretRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_654c5ef5213700ee, []int{42} + return fileDescriptor_a0e710a1eb587f03, []int{42} } func (m *GetOneOutInfererForecasterNetworkRegretRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -2066,7 +2066,7 @@ func (m *GetOneOutInfererForecasterNetworkRegretResponse) String() string { } func (*GetOneOutInfererForecasterNetworkRegretResponse) ProtoMessage() {} func (*GetOneOutInfererForecasterNetworkRegretResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_654c5ef5213700ee, []int{43} + return fileDescriptor_a0e710a1eb587f03, []int{43} } func (m *GetOneOutInfererForecasterNetworkRegretResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -2116,7 +2116,7 @@ func (m *GetOneOutForecasterInfererNetworkRegretRequest) String() string { } func (*GetOneOutForecasterInfererNetworkRegretRequest) ProtoMessage() {} func (*GetOneOutForecasterInfererNetworkRegretRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_654c5ef5213700ee, []int{44} + return fileDescriptor_a0e710a1eb587f03, []int{44} } func (m *GetOneOutForecasterInfererNetworkRegretRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -2178,7 +2178,7 @@ func (m *GetOneOutForecasterInfererNetworkRegretResponse) String() string { } func (*GetOneOutForecasterInfererNetworkRegretResponse) ProtoMessage() {} func (*GetOneOutForecasterInfererNetworkRegretResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_654c5ef5213700ee, []int{45} + return fileDescriptor_a0e710a1eb587f03, []int{45} } func (m *GetOneOutForecasterInfererNetworkRegretResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -2228,7 +2228,7 @@ func (m *GetOneOutForecasterForecasterNetworkRegretRequest) String() string { } func (*GetOneOutForecasterForecasterNetworkRegretRequest) ProtoMessage() {} func (*GetOneOutForecasterForecasterNetworkRegretRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_654c5ef5213700ee, []int{46} + return fileDescriptor_a0e710a1eb587f03, []int{46} } func (m *GetOneOutForecasterForecasterNetworkRegretRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -2290,7 +2290,7 @@ func (m *GetOneOutForecasterForecasterNetworkRegretResponse) String() string { } func (*GetOneOutForecasterForecasterNetworkRegretResponse) ProtoMessage() {} func (*GetOneOutForecasterForecasterNetworkRegretResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_654c5ef5213700ee, []int{47} + return fileDescriptor_a0e710a1eb587f03, []int{47} } func (m *GetOneOutForecasterForecasterNetworkRegretResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -2334,7 +2334,7 @@ func (m *GetParamsRequest) Reset() { *m = GetParamsRequest{} } func (m *GetParamsRequest) String() string { return proto.CompactTextString(m) } func (*GetParamsRequest) ProtoMessage() {} func (*GetParamsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_654c5ef5213700ee, []int{48} + return fileDescriptor_a0e710a1eb587f03, []int{48} } func (m *GetParamsRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -2373,7 +2373,7 @@ func (m *GetParamsResponse) Reset() { *m = GetParamsResponse{} } func (m *GetParamsResponse) String() string { return proto.CompactTextString(m) } func (*GetParamsResponse) ProtoMessage() {} func (*GetParamsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_654c5ef5213700ee, []int{49} + return fileDescriptor_a0e710a1eb587f03, []int{49} } func (m *GetParamsResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -2417,7 +2417,7 @@ func (m *GetTotalStakeRequest) Reset() { *m = GetTotalStakeRequest{} } func (m *GetTotalStakeRequest) String() string { return proto.CompactTextString(m) } func (*GetTotalStakeRequest) ProtoMessage() {} func (*GetTotalStakeRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_654c5ef5213700ee, []int{50} + return fileDescriptor_a0e710a1eb587f03, []int{50} } func (m *GetTotalStakeRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -2458,7 +2458,7 @@ func (m *GetTotalStakeResponse) Reset() { *m = GetTotalStakeResponse{} } func (m *GetTotalStakeResponse) String() string { return proto.CompactTextString(m) } func (*GetTotalStakeResponse) ProtoMessage() {} func (*GetTotalStakeResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_654c5ef5213700ee, []int{51} + return fileDescriptor_a0e710a1eb587f03, []int{51} } func (m *GetTotalStakeResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -2496,7 +2496,7 @@ func (m *GetReputerStakeInTopicRequest) Reset() { *m = GetReputerStakeIn func (m *GetReputerStakeInTopicRequest) String() string { return proto.CompactTextString(m) } func (*GetReputerStakeInTopicRequest) ProtoMessage() {} func (*GetReputerStakeInTopicRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_654c5ef5213700ee, []int{52} + return fileDescriptor_a0e710a1eb587f03, []int{52} } func (m *GetReputerStakeInTopicRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -2547,7 +2547,7 @@ func (m *GetReputerStakeInTopicResponse) Reset() { *m = GetReputerStakeI func (m *GetReputerStakeInTopicResponse) String() string { return proto.CompactTextString(m) } func (*GetReputerStakeInTopicResponse) ProtoMessage() {} func (*GetReputerStakeInTopicResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_654c5ef5213700ee, []int{53} + return fileDescriptor_a0e710a1eb587f03, []int{53} } func (m *GetReputerStakeInTopicResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -2585,7 +2585,7 @@ func (m *GetMultiReputerStakeInTopicRequest) Reset() { *m = GetMultiRepu func (m *GetMultiReputerStakeInTopicRequest) String() string { return proto.CompactTextString(m) } func (*GetMultiReputerStakeInTopicRequest) ProtoMessage() {} func (*GetMultiReputerStakeInTopicRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_654c5ef5213700ee, []int{54} + return fileDescriptor_a0e710a1eb587f03, []int{54} } func (m *GetMultiReputerStakeInTopicRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -2636,7 +2636,7 @@ func (m *GetMultiReputerStakeInTopicResponse) Reset() { *m = GetMultiRep func (m *GetMultiReputerStakeInTopicResponse) String() string { return proto.CompactTextString(m) } func (*GetMultiReputerStakeInTopicResponse) ProtoMessage() {} func (*GetMultiReputerStakeInTopicResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_654c5ef5213700ee, []int{55} + return fileDescriptor_a0e710a1eb587f03, []int{55} } func (m *GetMultiReputerStakeInTopicResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -2683,7 +2683,7 @@ func (m *GetStakeFromReputerInTopicInSelfRequest) Reset() { func (m *GetStakeFromReputerInTopicInSelfRequest) String() string { return proto.CompactTextString(m) } func (*GetStakeFromReputerInTopicInSelfRequest) ProtoMessage() {} func (*GetStakeFromReputerInTopicInSelfRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_654c5ef5213700ee, []int{56} + return fileDescriptor_a0e710a1eb587f03, []int{56} } func (m *GetStakeFromReputerInTopicInSelfRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -2736,7 +2736,7 @@ func (m *GetStakeFromReputerInTopicInSelfResponse) Reset() { func (m *GetStakeFromReputerInTopicInSelfResponse) String() string { return proto.CompactTextString(m) } func (*GetStakeFromReputerInTopicInSelfResponse) ProtoMessage() {} func (*GetStakeFromReputerInTopicInSelfResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_654c5ef5213700ee, []int{57} + return fileDescriptor_a0e710a1eb587f03, []int{57} } func (m *GetStakeFromReputerInTopicInSelfResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -2776,7 +2776,7 @@ func (m *GetDelegateStakeInTopicInReputerRequest) Reset() { func (m *GetDelegateStakeInTopicInReputerRequest) String() string { return proto.CompactTextString(m) } func (*GetDelegateStakeInTopicInReputerRequest) ProtoMessage() {} func (*GetDelegateStakeInTopicInReputerRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_654c5ef5213700ee, []int{58} + return fileDescriptor_a0e710a1eb587f03, []int{58} } func (m *GetDelegateStakeInTopicInReputerRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -2829,7 +2829,7 @@ func (m *GetDelegateStakeInTopicInReputerResponse) Reset() { func (m *GetDelegateStakeInTopicInReputerResponse) String() string { return proto.CompactTextString(m) } func (*GetDelegateStakeInTopicInReputerResponse) ProtoMessage() {} func (*GetDelegateStakeInTopicInReputerResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_654c5ef5213700ee, []int{59} + return fileDescriptor_a0e710a1eb587f03, []int{59} } func (m *GetDelegateStakeInTopicInReputerResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -2872,7 +2872,7 @@ func (m *GetStakeFromDelegatorInTopicInReputerRequest) String() string { } func (*GetStakeFromDelegatorInTopicInReputerRequest) ProtoMessage() {} func (*GetStakeFromDelegatorInTopicInReputerRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_654c5ef5213700ee, []int{60} + return fileDescriptor_a0e710a1eb587f03, []int{60} } func (m *GetStakeFromDelegatorInTopicInReputerRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -2934,7 +2934,7 @@ func (m *GetStakeFromDelegatorInTopicInReputerResponse) String() string { } func (*GetStakeFromDelegatorInTopicInReputerResponse) ProtoMessage() {} func (*GetStakeFromDelegatorInTopicInReputerResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_654c5ef5213700ee, []int{61} + return fileDescriptor_a0e710a1eb587f03, []int{61} } func (m *GetStakeFromDelegatorInTopicInReputerResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -2972,7 +2972,7 @@ func (m *GetStakeFromDelegatorInTopicRequest) Reset() { *m = GetStakeFro func (m *GetStakeFromDelegatorInTopicRequest) String() string { return proto.CompactTextString(m) } func (*GetStakeFromDelegatorInTopicRequest) ProtoMessage() {} func (*GetStakeFromDelegatorInTopicRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_654c5ef5213700ee, []int{62} + return fileDescriptor_a0e710a1eb587f03, []int{62} } func (m *GetStakeFromDelegatorInTopicRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -3023,7 +3023,7 @@ func (m *GetStakeFromDelegatorInTopicResponse) Reset() { *m = GetStakeFr func (m *GetStakeFromDelegatorInTopicResponse) String() string { return proto.CompactTextString(m) } func (*GetStakeFromDelegatorInTopicResponse) ProtoMessage() {} func (*GetStakeFromDelegatorInTopicResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_654c5ef5213700ee, []int{63} + return fileDescriptor_a0e710a1eb587f03, []int{63} } func (m *GetStakeFromDelegatorInTopicResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -3060,7 +3060,7 @@ func (m *GetTopicStakeRequest) Reset() { *m = GetTopicStakeRequest{} } func (m *GetTopicStakeRequest) String() string { return proto.CompactTextString(m) } func (*GetTopicStakeRequest) ProtoMessage() {} func (*GetTopicStakeRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_654c5ef5213700ee, []int{64} + return fileDescriptor_a0e710a1eb587f03, []int{64} } func (m *GetTopicStakeRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -3104,7 +3104,7 @@ func (m *GetTopicStakeResponse) Reset() { *m = GetTopicStakeResponse{} } func (m *GetTopicStakeResponse) String() string { return proto.CompactTextString(m) } func (*GetTopicStakeResponse) ProtoMessage() {} func (*GetTopicStakeResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_654c5ef5213700ee, []int{65} + return fileDescriptor_a0e710a1eb587f03, []int{65} } func (m *GetTopicStakeResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -3142,7 +3142,7 @@ func (m *GetNetworkLossBundleAtBlockRequest) Reset() { *m = GetNetworkLo func (m *GetNetworkLossBundleAtBlockRequest) String() string { return proto.CompactTextString(m) } func (*GetNetworkLossBundleAtBlockRequest) ProtoMessage() {} func (*GetNetworkLossBundleAtBlockRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_654c5ef5213700ee, []int{66} + return fileDescriptor_a0e710a1eb587f03, []int{66} } func (m *GetNetworkLossBundleAtBlockRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -3193,7 +3193,7 @@ func (m *GetNetworkLossBundleAtBlockResponse) Reset() { *m = GetNetworkL func (m *GetNetworkLossBundleAtBlockResponse) String() string { return proto.CompactTextString(m) } func (*GetNetworkLossBundleAtBlockResponse) ProtoMessage() {} func (*GetNetworkLossBundleAtBlockResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_654c5ef5213700ee, []int{67} + return fileDescriptor_a0e710a1eb587f03, []int{67} } func (m *GetNetworkLossBundleAtBlockResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -3236,7 +3236,7 @@ func (m *GetNextTopicIdRequest) Reset() { *m = GetNextTopicIdRequest{} } func (m *GetNextTopicIdRequest) String() string { return proto.CompactTextString(m) } func (*GetNextTopicIdRequest) ProtoMessage() {} func (*GetNextTopicIdRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_654c5ef5213700ee, []int{68} + return fileDescriptor_a0e710a1eb587f03, []int{68} } func (m *GetNextTopicIdRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -3273,7 +3273,7 @@ func (m *GetNextTopicIdResponse) Reset() { *m = GetNextTopicIdResponse{} func (m *GetNextTopicIdResponse) String() string { return proto.CompactTextString(m) } func (*GetNextTopicIdResponse) ProtoMessage() {} func (*GetNextTopicIdResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_654c5ef5213700ee, []int{69} + return fileDescriptor_a0e710a1eb587f03, []int{69} } func (m *GetNextTopicIdResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -3317,7 +3317,7 @@ func (m *GetTopicRequest) Reset() { *m = GetTopicRequest{} } func (m *GetTopicRequest) String() string { return proto.CompactTextString(m) } func (*GetTopicRequest) ProtoMessage() {} func (*GetTopicRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_654c5ef5213700ee, []int{70} + return fileDescriptor_a0e710a1eb587f03, []int{70} } func (m *GetTopicRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -3363,7 +3363,7 @@ func (m *GetTopicResponse) Reset() { *m = GetTopicResponse{} } func (m *GetTopicResponse) String() string { return proto.CompactTextString(m) } func (*GetTopicResponse) ProtoMessage() {} func (*GetTopicResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_654c5ef5213700ee, []int{71} + return fileDescriptor_a0e710a1eb587f03, []int{71} } func (m *GetTopicResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -3421,7 +3421,7 @@ func (m *GetActiveTopicsRequest) Reset() { *m = GetActiveTopicsRequest{} func (m *GetActiveTopicsRequest) String() string { return proto.CompactTextString(m) } func (*GetActiveTopicsRequest) ProtoMessage() {} func (*GetActiveTopicsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_654c5ef5213700ee, []int{72} + return fileDescriptor_a0e710a1eb587f03, []int{72} } func (m *GetActiveTopicsRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -3466,7 +3466,7 @@ func (m *GetActiveTopicsResponse) Reset() { *m = GetActiveTopicsResponse func (m *GetActiveTopicsResponse) String() string { return proto.CompactTextString(m) } func (*GetActiveTopicsResponse) ProtoMessage() {} func (*GetActiveTopicsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_654c5ef5213700ee, []int{73} + return fileDescriptor_a0e710a1eb587f03, []int{73} } func (m *GetActiveTopicsResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -3519,7 +3519,7 @@ func (m *GetInferencesAtBlockRequest) Reset() { *m = GetInferencesAtBloc func (m *GetInferencesAtBlockRequest) String() string { return proto.CompactTextString(m) } func (*GetInferencesAtBlockRequest) ProtoMessage() {} func (*GetInferencesAtBlockRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_654c5ef5213700ee, []int{74} + return fileDescriptor_a0e710a1eb587f03, []int{74} } func (m *GetInferencesAtBlockRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -3574,7 +3574,7 @@ func (m *GetInferencesAtBlockResponse) Reset() { *m = GetInferencesAtBlo func (m *GetInferencesAtBlockResponse) String() string { return proto.CompactTextString(m) } func (*GetInferencesAtBlockResponse) ProtoMessage() {} func (*GetInferencesAtBlockResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_654c5ef5213700ee, []int{75} + return fileDescriptor_a0e710a1eb587f03, []int{75} } func (m *GetInferencesAtBlockResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -3618,7 +3618,7 @@ func (m *GetLatestTopicInferencesRequest) Reset() { *m = GetLatestTopicI func (m *GetLatestTopicInferencesRequest) String() string { return proto.CompactTextString(m) } func (*GetLatestTopicInferencesRequest) ProtoMessage() {} func (*GetLatestTopicInferencesRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_654c5ef5213700ee, []int{76} + return fileDescriptor_a0e710a1eb587f03, []int{76} } func (m *GetLatestTopicInferencesRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -3663,7 +3663,7 @@ func (m *GetLatestTopicInferencesResponse) Reset() { *m = GetLatestTopic func (m *GetLatestTopicInferencesResponse) String() string { return proto.CompactTextString(m) } func (*GetLatestTopicInferencesResponse) ProtoMessage() {} func (*GetLatestTopicInferencesResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_654c5ef5213700ee, []int{77} + return fileDescriptor_a0e710a1eb587f03, []int{77} } func (m *GetLatestTopicInferencesResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -3716,7 +3716,7 @@ func (m *GetForecastsAtBlockRequest) Reset() { *m = GetForecastsAtBlockR func (m *GetForecastsAtBlockRequest) String() string { return proto.CompactTextString(m) } func (*GetForecastsAtBlockRequest) ProtoMessage() {} func (*GetForecastsAtBlockRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_654c5ef5213700ee, []int{78} + return fileDescriptor_a0e710a1eb587f03, []int{78} } func (m *GetForecastsAtBlockRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -3771,7 +3771,7 @@ func (m *GetForecastsAtBlockResponse) Reset() { *m = GetForecastsAtBlock func (m *GetForecastsAtBlockResponse) String() string { return proto.CompactTextString(m) } func (*GetForecastsAtBlockResponse) ProtoMessage() {} func (*GetForecastsAtBlockResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_654c5ef5213700ee, []int{79} + return fileDescriptor_a0e710a1eb587f03, []int{79} } func (m *GetForecastsAtBlockResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -3818,7 +3818,7 @@ func (m *GetWorkerLatestInferenceByTopicIdRequest) Reset() { func (m *GetWorkerLatestInferenceByTopicIdRequest) String() string { return proto.CompactTextString(m) } func (*GetWorkerLatestInferenceByTopicIdRequest) ProtoMessage() {} func (*GetWorkerLatestInferenceByTopicIdRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_654c5ef5213700ee, []int{80} + return fileDescriptor_a0e710a1eb587f03, []int{80} } func (m *GetWorkerLatestInferenceByTopicIdRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -3873,7 +3873,7 @@ func (m *GetWorkerLatestInferenceByTopicIdResponse) String() string { } func (*GetWorkerLatestInferenceByTopicIdResponse) ProtoMessage() {} func (*GetWorkerLatestInferenceByTopicIdResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_654c5ef5213700ee, []int{81} + return fileDescriptor_a0e710a1eb587f03, []int{81} } func (m *GetWorkerLatestInferenceByTopicIdResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -3917,7 +3917,7 @@ func (m *GetWorkerNodeInfoRequest) Reset() { *m = GetWorkerNodeInfoReque func (m *GetWorkerNodeInfoRequest) String() string { return proto.CompactTextString(m) } func (*GetWorkerNodeInfoRequest) ProtoMessage() {} func (*GetWorkerNodeInfoRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_654c5ef5213700ee, []int{82} + return fileDescriptor_a0e710a1eb587f03, []int{82} } func (m *GetWorkerNodeInfoRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -3961,7 +3961,7 @@ func (m *GetWorkerNodeInfoResponse) Reset() { *m = GetWorkerNodeInfoResp func (m *GetWorkerNodeInfoResponse) String() string { return proto.CompactTextString(m) } func (*GetWorkerNodeInfoResponse) ProtoMessage() {} func (*GetWorkerNodeInfoResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_654c5ef5213700ee, []int{83} + return fileDescriptor_a0e710a1eb587f03, []int{83} } func (m *GetWorkerNodeInfoResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -4005,7 +4005,7 @@ func (m *GetReputerNodeInfoRequest) Reset() { *m = GetReputerNodeInfoReq func (m *GetReputerNodeInfoRequest) String() string { return proto.CompactTextString(m) } func (*GetReputerNodeInfoRequest) ProtoMessage() {} func (*GetReputerNodeInfoRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_654c5ef5213700ee, []int{84} + return fileDescriptor_a0e710a1eb587f03, []int{84} } func (m *GetReputerNodeInfoRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -4049,7 +4049,7 @@ func (m *GetReputerNodeInfoResponse) Reset() { *m = GetReputerNodeInfoRe func (m *GetReputerNodeInfoResponse) String() string { return proto.CompactTextString(m) } func (*GetReputerNodeInfoResponse) ProtoMessage() {} func (*GetReputerNodeInfoResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_654c5ef5213700ee, []int{85} + return fileDescriptor_a0e710a1eb587f03, []int{85} } func (m *GetReputerNodeInfoResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -4094,7 +4094,7 @@ func (m *GetNetworkInferencesAtBlockRequest) Reset() { *m = GetNetworkIn func (m *GetNetworkInferencesAtBlockRequest) String() string { return proto.CompactTextString(m) } func (*GetNetworkInferencesAtBlockRequest) ProtoMessage() {} func (*GetNetworkInferencesAtBlockRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_654c5ef5213700ee, []int{86} + return fileDescriptor_a0e710a1eb587f03, []int{86} } func (m *GetNetworkInferencesAtBlockRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -4150,7 +4150,7 @@ func (m *GetNetworkInferencesAtBlockOutlierResistantRequest) String() string { } func (*GetNetworkInferencesAtBlockOutlierResistantRequest) ProtoMessage() {} func (*GetNetworkInferencesAtBlockOutlierResistantRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_654c5ef5213700ee, []int{87} + return fileDescriptor_a0e710a1eb587f03, []int{87} } func (m *GetNetworkInferencesAtBlockOutlierResistantRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -4201,7 +4201,7 @@ func (m *GetLatestNetworkInferencesRequest) Reset() { *m = GetLatestNetw func (m *GetLatestNetworkInferencesRequest) String() string { return proto.CompactTextString(m) } func (*GetLatestNetworkInferencesRequest) ProtoMessage() {} func (*GetLatestNetworkInferencesRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_654c5ef5213700ee, []int{88} + return fileDescriptor_a0e710a1eb587f03, []int{88} } func (m *GetLatestNetworkInferencesRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -4249,7 +4249,7 @@ func (m *GetLatestNetworkInferencesOutlierResistantRequest) String() string { } func (*GetLatestNetworkInferencesOutlierResistantRequest) ProtoMessage() {} func (*GetLatestNetworkInferencesOutlierResistantRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_654c5ef5213700ee, []int{89} + return fileDescriptor_a0e710a1eb587f03, []int{89} } func (m *GetLatestNetworkInferencesOutlierResistantRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -4297,7 +4297,7 @@ func (m *GetLatestAvailableNetworkInferencesRequest) String() string { } func (*GetLatestAvailableNetworkInferencesRequest) ProtoMessage() {} func (*GetLatestAvailableNetworkInferencesRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_654c5ef5213700ee, []int{90} + return fileDescriptor_a0e710a1eb587f03, []int{90} } func (m *GetLatestAvailableNetworkInferencesRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -4345,7 +4345,7 @@ func (m *GetLatestAvailableNetworkInferencesOutlierResistantRequest) String() st } func (*GetLatestAvailableNetworkInferencesOutlierResistantRequest) ProtoMessage() {} func (*GetLatestAvailableNetworkInferencesOutlierResistantRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_654c5ef5213700ee, []int{91} + return fileDescriptor_a0e710a1eb587f03, []int{91} } func (m *GetLatestAvailableNetworkInferencesOutlierResistantRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -4390,7 +4390,7 @@ func (m *IsWorkerNonceUnfulfilledRequest) Reset() { *m = IsWorkerNonceUn func (m *IsWorkerNonceUnfulfilledRequest) String() string { return proto.CompactTextString(m) } func (*IsWorkerNonceUnfulfilledRequest) ProtoMessage() {} func (*IsWorkerNonceUnfulfilledRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_654c5ef5213700ee, []int{92} + return fileDescriptor_a0e710a1eb587f03, []int{92} } func (m *IsWorkerNonceUnfulfilledRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -4441,7 +4441,7 @@ func (m *IsWorkerNonceUnfulfilledResponse) Reset() { *m = IsWorkerNonceU func (m *IsWorkerNonceUnfulfilledResponse) String() string { return proto.CompactTextString(m) } func (*IsWorkerNonceUnfulfilledResponse) ProtoMessage() {} func (*IsWorkerNonceUnfulfilledResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_654c5ef5213700ee, []int{93} + return fileDescriptor_a0e710a1eb587f03, []int{93} } func (m *IsWorkerNonceUnfulfilledResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -4485,7 +4485,7 @@ func (m *GetUnfulfilledReputerNoncesRequest) Reset() { *m = GetUnfulfill func (m *GetUnfulfilledReputerNoncesRequest) String() string { return proto.CompactTextString(m) } func (*GetUnfulfilledReputerNoncesRequest) ProtoMessage() {} func (*GetUnfulfilledReputerNoncesRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_654c5ef5213700ee, []int{94} + return fileDescriptor_a0e710a1eb587f03, []int{94} } func (m *GetUnfulfilledReputerNoncesRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -4529,7 +4529,7 @@ func (m *GetUnfulfilledReputerNoncesResponse) Reset() { *m = GetUnfulfil func (m *GetUnfulfilledReputerNoncesResponse) String() string { return proto.CompactTextString(m) } func (*GetUnfulfilledReputerNoncesResponse) ProtoMessage() {} func (*GetUnfulfilledReputerNoncesResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_654c5ef5213700ee, []int{95} + return fileDescriptor_a0e710a1eb587f03, []int{95} } func (m *GetUnfulfilledReputerNoncesResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -4573,7 +4573,7 @@ func (m *GetUnfulfilledWorkerNoncesRequest) Reset() { *m = GetUnfulfille func (m *GetUnfulfilledWorkerNoncesRequest) String() string { return proto.CompactTextString(m) } func (*GetUnfulfilledWorkerNoncesRequest) ProtoMessage() {} func (*GetUnfulfilledWorkerNoncesRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_654c5ef5213700ee, []int{96} + return fileDescriptor_a0e710a1eb587f03, []int{96} } func (m *GetUnfulfilledWorkerNoncesRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -4617,7 +4617,7 @@ func (m *GetUnfulfilledWorkerNoncesResponse) Reset() { *m = GetUnfulfill func (m *GetUnfulfilledWorkerNoncesResponse) String() string { return proto.CompactTextString(m) } func (*GetUnfulfilledWorkerNoncesResponse) ProtoMessage() {} func (*GetUnfulfilledWorkerNoncesResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_654c5ef5213700ee, []int{97} + return fileDescriptor_a0e710a1eb587f03, []int{97} } func (m *GetUnfulfilledWorkerNoncesResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -4662,7 +4662,7 @@ func (m *GetInfererNetworkRegretRequest) Reset() { *m = GetInfererNetwor func (m *GetInfererNetworkRegretRequest) String() string { return proto.CompactTextString(m) } func (*GetInfererNetworkRegretRequest) ProtoMessage() {} func (*GetInfererNetworkRegretRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_654c5ef5213700ee, []int{98} + return fileDescriptor_a0e710a1eb587f03, []int{98} } func (m *GetInfererNetworkRegretRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -4713,7 +4713,7 @@ func (m *GetInfererNetworkRegretResponse) Reset() { *m = GetInfererNetwo func (m *GetInfererNetworkRegretResponse) String() string { return proto.CompactTextString(m) } func (*GetInfererNetworkRegretResponse) ProtoMessage() {} func (*GetInfererNetworkRegretResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_654c5ef5213700ee, []int{99} + return fileDescriptor_a0e710a1eb587f03, []int{99} } func (m *GetInfererNetworkRegretResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -4758,7 +4758,7 @@ func (m *GetForecasterNetworkRegretRequest) Reset() { *m = GetForecaster func (m *GetForecasterNetworkRegretRequest) String() string { return proto.CompactTextString(m) } func (*GetForecasterNetworkRegretRequest) ProtoMessage() {} func (*GetForecasterNetworkRegretRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_654c5ef5213700ee, []int{100} + return fileDescriptor_a0e710a1eb587f03, []int{100} } func (m *GetForecasterNetworkRegretRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -4809,7 +4809,7 @@ func (m *GetForecasterNetworkRegretResponse) Reset() { *m = GetForecaste func (m *GetForecasterNetworkRegretResponse) String() string { return proto.CompactTextString(m) } func (*GetForecasterNetworkRegretResponse) ProtoMessage() {} func (*GetForecasterNetworkRegretResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_654c5ef5213700ee, []int{101} + return fileDescriptor_a0e710a1eb587f03, []int{101} } func (m *GetForecasterNetworkRegretResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -4857,7 +4857,7 @@ func (m *GetOneInForecasterNetworkRegretRequest) Reset() { func (m *GetOneInForecasterNetworkRegretRequest) String() string { return proto.CompactTextString(m) } func (*GetOneInForecasterNetworkRegretRequest) ProtoMessage() {} func (*GetOneInForecasterNetworkRegretRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_654c5ef5213700ee, []int{102} + return fileDescriptor_a0e710a1eb587f03, []int{102} } func (m *GetOneInForecasterNetworkRegretRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -4917,7 +4917,7 @@ func (m *GetOneInForecasterNetworkRegretResponse) Reset() { func (m *GetOneInForecasterNetworkRegretResponse) String() string { return proto.CompactTextString(m) } func (*GetOneInForecasterNetworkRegretResponse) ProtoMessage() {} func (*GetOneInForecasterNetworkRegretResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_654c5ef5213700ee, []int{103} + return fileDescriptor_a0e710a1eb587f03, []int{103} } func (m *GetOneInForecasterNetworkRegretResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -4962,7 +4962,7 @@ func (m *IsReputerNonceUnfulfilledRequest) Reset() { *m = IsReputerNonce func (m *IsReputerNonceUnfulfilledRequest) String() string { return proto.CompactTextString(m) } func (*IsReputerNonceUnfulfilledRequest) ProtoMessage() {} func (*IsReputerNonceUnfulfilledRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_654c5ef5213700ee, []int{104} + return fileDescriptor_a0e710a1eb587f03, []int{104} } func (m *IsReputerNonceUnfulfilledRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -5013,7 +5013,7 @@ func (m *IsReputerNonceUnfulfilledResponse) Reset() { *m = IsReputerNonc func (m *IsReputerNonceUnfulfilledResponse) String() string { return proto.CompactTextString(m) } func (*IsReputerNonceUnfulfilledResponse) ProtoMessage() {} func (*IsReputerNonceUnfulfilledResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_654c5ef5213700ee, []int{105} + return fileDescriptor_a0e710a1eb587f03, []int{105} } func (m *IsReputerNonceUnfulfilledResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -5057,7 +5057,7 @@ func (m *GetNetworkInferencesAtBlockResponse) Reset() { *m = GetNetworkI func (m *GetNetworkInferencesAtBlockResponse) String() string { return proto.CompactTextString(m) } func (*GetNetworkInferencesAtBlockResponse) ProtoMessage() {} func (*GetNetworkInferencesAtBlockResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_654c5ef5213700ee, []int{106} + return fileDescriptor_a0e710a1eb587f03, []int{106} } func (m *GetNetworkInferencesAtBlockResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -5105,7 +5105,7 @@ func (m *GetNetworkInferencesAtBlockOutlierResistantResponse) String() string { } func (*GetNetworkInferencesAtBlockOutlierResistantResponse) ProtoMessage() {} func (*GetNetworkInferencesAtBlockOutlierResistantResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_654c5ef5213700ee, []int{107} + return fileDescriptor_a0e710a1eb587f03, []int{107} } func (m *GetNetworkInferencesAtBlockOutlierResistantResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -5155,7 +5155,7 @@ func (m *GetLatestNetworkInferencesResponse) Reset() { *m = GetLatestNet func (m *GetLatestNetworkInferencesResponse) String() string { return proto.CompactTextString(m) } func (*GetLatestNetworkInferencesResponse) ProtoMessage() {} func (*GetLatestNetworkInferencesResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_654c5ef5213700ee, []int{108} + return fileDescriptor_a0e710a1eb587f03, []int{108} } func (m *GetLatestNetworkInferencesResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -5237,7 +5237,7 @@ func (m *GetLatestNetworkInferencesOutlierResistantResponse) String() string { } func (*GetLatestNetworkInferencesOutlierResistantResponse) ProtoMessage() {} func (*GetLatestNetworkInferencesOutlierResistantResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_654c5ef5213700ee, []int{109} + return fileDescriptor_a0e710a1eb587f03, []int{109} } func (m *GetLatestNetworkInferencesOutlierResistantResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -5319,7 +5319,7 @@ func (m *GetLatestAvailableNetworkInferencesResponse) String() string { } func (*GetLatestAvailableNetworkInferencesResponse) ProtoMessage() {} func (*GetLatestAvailableNetworkInferencesResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_654c5ef5213700ee, []int{110} + return fileDescriptor_a0e710a1eb587f03, []int{110} } func (m *GetLatestAvailableNetworkInferencesResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -5401,7 +5401,7 @@ func (m *GetLatestAvailableNetworkInferencesOutlierResistantResponse) String() s } func (*GetLatestAvailableNetworkInferencesOutlierResistantResponse) ProtoMessage() {} func (*GetLatestAvailableNetworkInferencesOutlierResistantResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_654c5ef5213700ee, []int{111} + return fileDescriptor_a0e710a1eb587f03, []int{111} } func (m *GetLatestAvailableNetworkInferencesOutlierResistantResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -5474,7 +5474,7 @@ func (m *IsWorkerRegisteredInTopicIdRequest) Reset() { *m = IsWorkerRegi func (m *IsWorkerRegisteredInTopicIdRequest) String() string { return proto.CompactTextString(m) } func (*IsWorkerRegisteredInTopicIdRequest) ProtoMessage() {} func (*IsWorkerRegisteredInTopicIdRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_654c5ef5213700ee, []int{112} + return fileDescriptor_a0e710a1eb587f03, []int{112} } func (m *IsWorkerRegisteredInTopicIdRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -5525,7 +5525,7 @@ func (m *IsWorkerRegisteredInTopicIdResponse) Reset() { *m = IsWorkerReg func (m *IsWorkerRegisteredInTopicIdResponse) String() string { return proto.CompactTextString(m) } func (*IsWorkerRegisteredInTopicIdResponse) ProtoMessage() {} func (*IsWorkerRegisteredInTopicIdResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_654c5ef5213700ee, []int{113} + return fileDescriptor_a0e710a1eb587f03, []int{113} } func (m *IsWorkerRegisteredInTopicIdResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -5570,7 +5570,7 @@ func (m *IsReputerRegisteredInTopicIdRequest) Reset() { *m = IsReputerRe func (m *IsReputerRegisteredInTopicIdRequest) String() string { return proto.CompactTextString(m) } func (*IsReputerRegisteredInTopicIdRequest) ProtoMessage() {} func (*IsReputerRegisteredInTopicIdRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_654c5ef5213700ee, []int{114} + return fileDescriptor_a0e710a1eb587f03, []int{114} } func (m *IsReputerRegisteredInTopicIdRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -5621,7 +5621,7 @@ func (m *IsReputerRegisteredInTopicIdResponse) Reset() { *m = IsReputerR func (m *IsReputerRegisteredInTopicIdResponse) String() string { return proto.CompactTextString(m) } func (*IsReputerRegisteredInTopicIdResponse) ProtoMessage() {} func (*IsReputerRegisteredInTopicIdResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_654c5ef5213700ee, []int{115} + return fileDescriptor_a0e710a1eb587f03, []int{115} } func (m *IsReputerRegisteredInTopicIdResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -5665,7 +5665,7 @@ func (m *IsWhitelistAdminRequest) Reset() { *m = IsWhitelistAdminRequest func (m *IsWhitelistAdminRequest) String() string { return proto.CompactTextString(m) } func (*IsWhitelistAdminRequest) ProtoMessage() {} func (*IsWhitelistAdminRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_654c5ef5213700ee, []int{116} + return fileDescriptor_a0e710a1eb587f03, []int{116} } func (m *IsWhitelistAdminRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -5709,7 +5709,7 @@ func (m *IsWhitelistAdminResponse) Reset() { *m = IsWhitelistAdminRespon func (m *IsWhitelistAdminResponse) String() string { return proto.CompactTextString(m) } func (*IsWhitelistAdminResponse) ProtoMessage() {} func (*IsWhitelistAdminResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_654c5ef5213700ee, []int{117} + return fileDescriptor_a0e710a1eb587f03, []int{117} } func (m *IsWhitelistAdminResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -5753,7 +5753,7 @@ func (m *GetStakeRemovalsUpUntilBlockRequest) Reset() { *m = GetStakeRem func (m *GetStakeRemovalsUpUntilBlockRequest) String() string { return proto.CompactTextString(m) } func (*GetStakeRemovalsUpUntilBlockRequest) ProtoMessage() {} func (*GetStakeRemovalsUpUntilBlockRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_654c5ef5213700ee, []int{118} + return fileDescriptor_a0e710a1eb587f03, []int{118} } func (m *GetStakeRemovalsUpUntilBlockRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -5797,7 +5797,7 @@ func (m *GetStakeRemovalsUpUntilBlockResponse) Reset() { *m = GetStakeRe func (m *GetStakeRemovalsUpUntilBlockResponse) String() string { return proto.CompactTextString(m) } func (*GetStakeRemovalsUpUntilBlockResponse) ProtoMessage() {} func (*GetStakeRemovalsUpUntilBlockResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_654c5ef5213700ee, []int{119} + return fileDescriptor_a0e710a1eb587f03, []int{119} } func (m *GetStakeRemovalsUpUntilBlockResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -5845,7 +5845,7 @@ func (m *GetDelegateStakeRemovalsUpUntilBlockRequest) String() string { } func (*GetDelegateStakeRemovalsUpUntilBlockRequest) ProtoMessage() {} func (*GetDelegateStakeRemovalsUpUntilBlockRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_654c5ef5213700ee, []int{120} + return fileDescriptor_a0e710a1eb587f03, []int{120} } func (m *GetDelegateStakeRemovalsUpUntilBlockRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -5893,7 +5893,7 @@ func (m *GetDelegateStakeRemovalsUpUntilBlockResponse) String() string { } func (*GetDelegateStakeRemovalsUpUntilBlockResponse) ProtoMessage() {} func (*GetDelegateStakeRemovalsUpUntilBlockResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_654c5ef5213700ee, []int{121} + return fileDescriptor_a0e710a1eb587f03, []int{121} } func (m *GetDelegateStakeRemovalsUpUntilBlockResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -5938,7 +5938,7 @@ func (m *GetStakeRemovalInfoRequest) Reset() { *m = GetStakeRemovalInfoR func (m *GetStakeRemovalInfoRequest) String() string { return proto.CompactTextString(m) } func (*GetStakeRemovalInfoRequest) ProtoMessage() {} func (*GetStakeRemovalInfoRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_654c5ef5213700ee, []int{122} + return fileDescriptor_a0e710a1eb587f03, []int{122} } func (m *GetStakeRemovalInfoRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -5989,7 +5989,7 @@ func (m *GetStakeRemovalInfoResponse) Reset() { *m = GetStakeRemovalInfo func (m *GetStakeRemovalInfoResponse) String() string { return proto.CompactTextString(m) } func (*GetStakeRemovalInfoResponse) ProtoMessage() {} func (*GetStakeRemovalInfoResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_654c5ef5213700ee, []int{123} + return fileDescriptor_a0e710a1eb587f03, []int{123} } func (m *GetStakeRemovalInfoResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -6035,7 +6035,7 @@ func (m *GetDelegateStakeRemovalInfoRequest) Reset() { *m = GetDelegateS func (m *GetDelegateStakeRemovalInfoRequest) String() string { return proto.CompactTextString(m) } func (*GetDelegateStakeRemovalInfoRequest) ProtoMessage() {} func (*GetDelegateStakeRemovalInfoRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_654c5ef5213700ee, []int{124} + return fileDescriptor_a0e710a1eb587f03, []int{124} } func (m *GetDelegateStakeRemovalInfoRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -6093,7 +6093,7 @@ func (m *GetDelegateStakeRemovalInfoResponse) Reset() { *m = GetDelegate func (m *GetDelegateStakeRemovalInfoResponse) String() string { return proto.CompactTextString(m) } func (*GetDelegateStakeRemovalInfoResponse) ProtoMessage() {} func (*GetDelegateStakeRemovalInfoResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_654c5ef5213700ee, []int{125} + return fileDescriptor_a0e710a1eb587f03, []int{125} } func (m *GetDelegateStakeRemovalInfoResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -6137,7 +6137,7 @@ func (m *GetTopicLastWorkerCommitInfoRequest) Reset() { *m = GetTopicLas func (m *GetTopicLastWorkerCommitInfoRequest) String() string { return proto.CompactTextString(m) } func (*GetTopicLastWorkerCommitInfoRequest) ProtoMessage() {} func (*GetTopicLastWorkerCommitInfoRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_654c5ef5213700ee, []int{126} + return fileDescriptor_a0e710a1eb587f03, []int{126} } func (m *GetTopicLastWorkerCommitInfoRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -6181,7 +6181,7 @@ func (m *GetTopicLastWorkerCommitInfoResponse) Reset() { *m = GetTopicLa func (m *GetTopicLastWorkerCommitInfoResponse) String() string { return proto.CompactTextString(m) } func (*GetTopicLastWorkerCommitInfoResponse) ProtoMessage() {} func (*GetTopicLastWorkerCommitInfoResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_654c5ef5213700ee, []int{127} + return fileDescriptor_a0e710a1eb587f03, []int{127} } func (m *GetTopicLastWorkerCommitInfoResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -6225,7 +6225,7 @@ func (m *GetTopicLastReputerCommitInfoRequest) Reset() { *m = GetTopicLa func (m *GetTopicLastReputerCommitInfoRequest) String() string { return proto.CompactTextString(m) } func (*GetTopicLastReputerCommitInfoRequest) ProtoMessage() {} func (*GetTopicLastReputerCommitInfoRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_654c5ef5213700ee, []int{128} + return fileDescriptor_a0e710a1eb587f03, []int{128} } func (m *GetTopicLastReputerCommitInfoRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -6269,7 +6269,7 @@ func (m *GetTopicLastReputerCommitInfoResponse) Reset() { *m = GetTopicL func (m *GetTopicLastReputerCommitInfoResponse) String() string { return proto.CompactTextString(m) } func (*GetTopicLastReputerCommitInfoResponse) ProtoMessage() {} func (*GetTopicLastReputerCommitInfoResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_654c5ef5213700ee, []int{129} + return fileDescriptor_a0e710a1eb587f03, []int{129} } func (m *GetTopicLastReputerCommitInfoResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -6313,7 +6313,7 @@ func (m *GetTopicRewardNonceRequest) Reset() { *m = GetTopicRewardNonceR func (m *GetTopicRewardNonceRequest) String() string { return proto.CompactTextString(m) } func (*GetTopicRewardNonceRequest) ProtoMessage() {} func (*GetTopicRewardNonceRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_654c5ef5213700ee, []int{130} + return fileDescriptor_a0e710a1eb587f03, []int{130} } func (m *GetTopicRewardNonceRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -6357,7 +6357,7 @@ func (m *GetTopicRewardNonceResponse) Reset() { *m = GetTopicRewardNonce func (m *GetTopicRewardNonceResponse) String() string { return proto.CompactTextString(m) } func (*GetTopicRewardNonceResponse) ProtoMessage() {} func (*GetTopicRewardNonceResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_654c5ef5213700ee, []int{131} + return fileDescriptor_a0e710a1eb587f03, []int{131} } func (m *GetTopicRewardNonceResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -6402,7 +6402,7 @@ func (m *GetReputerLossBundlesAtBlockRequest) Reset() { *m = GetReputerL func (m *GetReputerLossBundlesAtBlockRequest) String() string { return proto.CompactTextString(m) } func (*GetReputerLossBundlesAtBlockRequest) ProtoMessage() {} func (*GetReputerLossBundlesAtBlockRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_654c5ef5213700ee, []int{132} + return fileDescriptor_a0e710a1eb587f03, []int{132} } func (m *GetReputerLossBundlesAtBlockRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -6453,7 +6453,7 @@ func (m *GetReputerLossBundlesAtBlockResponse) Reset() { *m = GetReputer func (m *GetReputerLossBundlesAtBlockResponse) String() string { return proto.CompactTextString(m) } func (*GetReputerLossBundlesAtBlockResponse) ProtoMessage() {} func (*GetReputerLossBundlesAtBlockResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_654c5ef5213700ee, []int{133} + return fileDescriptor_a0e710a1eb587f03, []int{133} } func (m *GetReputerLossBundlesAtBlockResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -6498,7 +6498,7 @@ func (m *GetStakeReputerAuthorityRequest) Reset() { *m = GetStakeReputer func (m *GetStakeReputerAuthorityRequest) String() string { return proto.CompactTextString(m) } func (*GetStakeReputerAuthorityRequest) ProtoMessage() {} func (*GetStakeReputerAuthorityRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_654c5ef5213700ee, []int{134} + return fileDescriptor_a0e710a1eb587f03, []int{134} } func (m *GetStakeReputerAuthorityRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -6549,7 +6549,7 @@ func (m *GetStakeReputerAuthorityResponse) Reset() { *m = GetStakeRepute func (m *GetStakeReputerAuthorityResponse) String() string { return proto.CompactTextString(m) } func (*GetStakeReputerAuthorityResponse) ProtoMessage() {} func (*GetStakeReputerAuthorityResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_654c5ef5213700ee, []int{135} + return fileDescriptor_a0e710a1eb587f03, []int{135} } func (m *GetStakeReputerAuthorityResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -6588,7 +6588,7 @@ func (m *GetDelegateStakePlacementRequest) Reset() { *m = GetDelegateSta func (m *GetDelegateStakePlacementRequest) String() string { return proto.CompactTextString(m) } func (*GetDelegateStakePlacementRequest) ProtoMessage() {} func (*GetDelegateStakePlacementRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_654c5ef5213700ee, []int{136} + return fileDescriptor_a0e710a1eb587f03, []int{136} } func (m *GetDelegateStakePlacementRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -6646,7 +6646,7 @@ func (m *GetDelegateStakePlacementResponse) Reset() { *m = GetDelegateSt func (m *GetDelegateStakePlacementResponse) String() string { return proto.CompactTextString(m) } func (*GetDelegateStakePlacementResponse) ProtoMessage() {} func (*GetDelegateStakePlacementResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_654c5ef5213700ee, []int{137} + return fileDescriptor_a0e710a1eb587f03, []int{137} } func (m *GetDelegateStakePlacementResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -6691,7 +6691,7 @@ func (m *GetDelegateStakeUponReputerRequest) Reset() { *m = GetDelegateS func (m *GetDelegateStakeUponReputerRequest) String() string { return proto.CompactTextString(m) } func (*GetDelegateStakeUponReputerRequest) ProtoMessage() {} func (*GetDelegateStakeUponReputerRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_654c5ef5213700ee, []int{138} + return fileDescriptor_a0e710a1eb587f03, []int{138} } func (m *GetDelegateStakeUponReputerRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -6742,7 +6742,7 @@ func (m *GetDelegateStakeUponReputerResponse) Reset() { *m = GetDelegate func (m *GetDelegateStakeUponReputerResponse) String() string { return proto.CompactTextString(m) } func (*GetDelegateStakeUponReputerResponse) ProtoMessage() {} func (*GetDelegateStakeUponReputerResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_654c5ef5213700ee, []int{139} + return fileDescriptor_a0e710a1eb587f03, []int{139} } func (m *GetDelegateStakeUponReputerResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -6780,7 +6780,7 @@ func (m *GetDelegateRewardPerShareRequest) Reset() { *m = GetDelegateRew func (m *GetDelegateRewardPerShareRequest) String() string { return proto.CompactTextString(m) } func (*GetDelegateRewardPerShareRequest) ProtoMessage() {} func (*GetDelegateRewardPerShareRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_654c5ef5213700ee, []int{140} + return fileDescriptor_a0e710a1eb587f03, []int{140} } func (m *GetDelegateRewardPerShareRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -6831,7 +6831,7 @@ func (m *GetDelegateRewardPerShareResponse) Reset() { *m = GetDelegateRe func (m *GetDelegateRewardPerShareResponse) String() string { return proto.CompactTextString(m) } func (*GetDelegateRewardPerShareResponse) ProtoMessage() {} func (*GetDelegateRewardPerShareResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_654c5ef5213700ee, []int{141} + return fileDescriptor_a0e710a1eb587f03, []int{141} } func (m *GetDelegateRewardPerShareResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -6873,7 +6873,7 @@ func (m *GetStakeRemovalForReputerAndTopicIdRequest) String() string { } func (*GetStakeRemovalForReputerAndTopicIdRequest) ProtoMessage() {} func (*GetStakeRemovalForReputerAndTopicIdRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_654c5ef5213700ee, []int{142} + return fileDescriptor_a0e710a1eb587f03, []int{142} } func (m *GetStakeRemovalForReputerAndTopicIdRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -6928,7 +6928,7 @@ func (m *GetStakeRemovalForReputerAndTopicIdResponse) String() string { } func (*GetStakeRemovalForReputerAndTopicIdResponse) ProtoMessage() {} func (*GetStakeRemovalForReputerAndTopicIdResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_654c5ef5213700ee, []int{143} + return fileDescriptor_a0e710a1eb587f03, []int{143} } func (m *GetStakeRemovalForReputerAndTopicIdResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -6975,7 +6975,7 @@ func (m *GetDelegateStakeRemovalRequest) Reset() { *m = GetDelegateStake func (m *GetDelegateStakeRemovalRequest) String() string { return proto.CompactTextString(m) } func (*GetDelegateStakeRemovalRequest) ProtoMessage() {} func (*GetDelegateStakeRemovalRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_654c5ef5213700ee, []int{144} + return fileDescriptor_a0e710a1eb587f03, []int{144} } func (m *GetDelegateStakeRemovalRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -7040,7 +7040,7 @@ func (m *GetDelegateStakeRemovalResponse) Reset() { *m = GetDelegateStak func (m *GetDelegateStakeRemovalResponse) String() string { return proto.CompactTextString(m) } func (*GetDelegateStakeRemovalResponse) ProtoMessage() {} func (*GetDelegateStakeRemovalResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_654c5ef5213700ee, []int{145} + return fileDescriptor_a0e710a1eb587f03, []int{145} } func (m *GetDelegateStakeRemovalResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -7084,7 +7084,7 @@ func (m *GetPreviousTopicWeightRequest) Reset() { *m = GetPreviousTopicW func (m *GetPreviousTopicWeightRequest) String() string { return proto.CompactTextString(m) } func (*GetPreviousTopicWeightRequest) ProtoMessage() {} func (*GetPreviousTopicWeightRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_654c5ef5213700ee, []int{146} + return fileDescriptor_a0e710a1eb587f03, []int{146} } func (m *GetPreviousTopicWeightRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -7129,7 +7129,7 @@ func (m *GetPreviousTopicWeightResponse) Reset() { *m = GetPreviousTopic func (m *GetPreviousTopicWeightResponse) String() string { return proto.CompactTextString(m) } func (*GetPreviousTopicWeightResponse) ProtoMessage() {} func (*GetPreviousTopicWeightResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_654c5ef5213700ee, []int{147} + return fileDescriptor_a0e710a1eb587f03, []int{147} } func (m *GetPreviousTopicWeightResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -7174,7 +7174,7 @@ func (m *GetTotalSumPreviousTopicWeightsRequest) Reset() { func (m *GetTotalSumPreviousTopicWeightsRequest) String() string { return proto.CompactTextString(m) } func (*GetTotalSumPreviousTopicWeightsRequest) ProtoMessage() {} func (*GetTotalSumPreviousTopicWeightsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_654c5ef5213700ee, []int{148} + return fileDescriptor_a0e710a1eb587f03, []int{148} } func (m *GetTotalSumPreviousTopicWeightsRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -7213,7 +7213,7 @@ func (m *GetTotalSumPreviousTopicWeightsResponse) Reset() { func (m *GetTotalSumPreviousTopicWeightsResponse) String() string { return proto.CompactTextString(m) } func (*GetTotalSumPreviousTopicWeightsResponse) ProtoMessage() {} func (*GetTotalSumPreviousTopicWeightsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_654c5ef5213700ee, []int{149} + return fileDescriptor_a0e710a1eb587f03, []int{149} } func (m *GetTotalSumPreviousTopicWeightsResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -7250,7 +7250,7 @@ func (m *TopicExistsRequest) Reset() { *m = TopicExistsRequest{} } func (m *TopicExistsRequest) String() string { return proto.CompactTextString(m) } func (*TopicExistsRequest) ProtoMessage() {} func (*TopicExistsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_654c5ef5213700ee, []int{150} + return fileDescriptor_a0e710a1eb587f03, []int{150} } func (m *TopicExistsRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -7294,7 +7294,7 @@ func (m *TopicExistsResponse) Reset() { *m = TopicExistsResponse{} } func (m *TopicExistsResponse) String() string { return proto.CompactTextString(m) } func (*TopicExistsResponse) ProtoMessage() {} func (*TopicExistsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_654c5ef5213700ee, []int{151} + return fileDescriptor_a0e710a1eb587f03, []int{151} } func (m *TopicExistsResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -7338,7 +7338,7 @@ func (m *IsTopicActiveRequest) Reset() { *m = IsTopicActiveRequest{} } func (m *IsTopicActiveRequest) String() string { return proto.CompactTextString(m) } func (*IsTopicActiveRequest) ProtoMessage() {} func (*IsTopicActiveRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_654c5ef5213700ee, []int{152} + return fileDescriptor_a0e710a1eb587f03, []int{152} } func (m *IsTopicActiveRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -7382,7 +7382,7 @@ func (m *IsTopicActiveResponse) Reset() { *m = IsTopicActiveResponse{} } func (m *IsTopicActiveResponse) String() string { return proto.CompactTextString(m) } func (*IsTopicActiveResponse) ProtoMessage() {} func (*IsTopicActiveResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_654c5ef5213700ee, []int{153} + return fileDescriptor_a0e710a1eb587f03, []int{153} } func (m *IsTopicActiveResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -7426,7 +7426,7 @@ func (m *GetTopicFeeRevenueRequest) Reset() { *m = GetTopicFeeRevenueReq func (m *GetTopicFeeRevenueRequest) String() string { return proto.CompactTextString(m) } func (*GetTopicFeeRevenueRequest) ProtoMessage() {} func (*GetTopicFeeRevenueRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_654c5ef5213700ee, []int{154} + return fileDescriptor_a0e710a1eb587f03, []int{154} } func (m *GetTopicFeeRevenueRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -7470,7 +7470,7 @@ func (m *GetTopicFeeRevenueResponse) Reset() { *m = GetTopicFeeRevenueRe func (m *GetTopicFeeRevenueResponse) String() string { return proto.CompactTextString(m) } func (*GetTopicFeeRevenueResponse) ProtoMessage() {} func (*GetTopicFeeRevenueResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_654c5ef5213700ee, []int{155} + return fileDescriptor_a0e710a1eb587f03, []int{155} } func (m *GetTopicFeeRevenueResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -7508,7 +7508,7 @@ func (m *GetInfererScoreEmaRequest) Reset() { *m = GetInfererScoreEmaReq func (m *GetInfererScoreEmaRequest) String() string { return proto.CompactTextString(m) } func (*GetInfererScoreEmaRequest) ProtoMessage() {} func (*GetInfererScoreEmaRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_654c5ef5213700ee, []int{156} + return fileDescriptor_a0e710a1eb587f03, []int{156} } func (m *GetInfererScoreEmaRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -7559,7 +7559,7 @@ func (m *GetInfererScoreEmaResponse) Reset() { *m = GetInfererScoreEmaRe func (m *GetInfererScoreEmaResponse) String() string { return proto.CompactTextString(m) } func (*GetInfererScoreEmaResponse) ProtoMessage() {} func (*GetInfererScoreEmaResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_654c5ef5213700ee, []int{157} + return fileDescriptor_a0e710a1eb587f03, []int{157} } func (m *GetInfererScoreEmaResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -7604,7 +7604,7 @@ func (m *GetForecasterScoreEmaRequest) Reset() { *m = GetForecasterScore func (m *GetForecasterScoreEmaRequest) String() string { return proto.CompactTextString(m) } func (*GetForecasterScoreEmaRequest) ProtoMessage() {} func (*GetForecasterScoreEmaRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_654c5ef5213700ee, []int{158} + return fileDescriptor_a0e710a1eb587f03, []int{158} } func (m *GetForecasterScoreEmaRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -7655,7 +7655,7 @@ func (m *GetForecasterScoreEmaResponse) Reset() { *m = GetForecasterScor func (m *GetForecasterScoreEmaResponse) String() string { return proto.CompactTextString(m) } func (*GetForecasterScoreEmaResponse) ProtoMessage() {} func (*GetForecasterScoreEmaResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_654c5ef5213700ee, []int{159} + return fileDescriptor_a0e710a1eb587f03, []int{159} } func (m *GetForecasterScoreEmaResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -7700,7 +7700,7 @@ func (m *GetReputerScoreEmaRequest) Reset() { *m = GetReputerScoreEmaReq func (m *GetReputerScoreEmaRequest) String() string { return proto.CompactTextString(m) } func (*GetReputerScoreEmaRequest) ProtoMessage() {} func (*GetReputerScoreEmaRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_654c5ef5213700ee, []int{160} + return fileDescriptor_a0e710a1eb587f03, []int{160} } func (m *GetReputerScoreEmaRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -7751,7 +7751,7 @@ func (m *GetReputerScoreEmaResponse) Reset() { *m = GetReputerScoreEmaRe func (m *GetReputerScoreEmaResponse) String() string { return proto.CompactTextString(m) } func (*GetReputerScoreEmaResponse) ProtoMessage() {} func (*GetReputerScoreEmaResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_654c5ef5213700ee, []int{161} + return fileDescriptor_a0e710a1eb587f03, []int{161} } func (m *GetReputerScoreEmaResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -7796,7 +7796,7 @@ func (m *GetInferenceScoresUntilBlockRequest) Reset() { *m = GetInferenc func (m *GetInferenceScoresUntilBlockRequest) String() string { return proto.CompactTextString(m) } func (*GetInferenceScoresUntilBlockRequest) ProtoMessage() {} func (*GetInferenceScoresUntilBlockRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_654c5ef5213700ee, []int{162} + return fileDescriptor_a0e710a1eb587f03, []int{162} } func (m *GetInferenceScoresUntilBlockRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -7847,7 +7847,7 @@ func (m *GetInferenceScoresUntilBlockResponse) Reset() { *m = GetInferen func (m *GetInferenceScoresUntilBlockResponse) String() string { return proto.CompactTextString(m) } func (*GetInferenceScoresUntilBlockResponse) ProtoMessage() {} func (*GetInferenceScoresUntilBlockResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_654c5ef5213700ee, []int{163} + return fileDescriptor_a0e710a1eb587f03, []int{163} } func (m *GetInferenceScoresUntilBlockResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -7895,7 +7895,7 @@ func (m *GetPreviousTopicQuantileForecasterScoreEmaRequest) String() string { } func (*GetPreviousTopicQuantileForecasterScoreEmaRequest) ProtoMessage() {} func (*GetPreviousTopicQuantileForecasterScoreEmaRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_654c5ef5213700ee, []int{164} + return fileDescriptor_a0e710a1eb587f03, []int{164} } func (m *GetPreviousTopicQuantileForecasterScoreEmaRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -7943,7 +7943,7 @@ func (m *GetPreviousTopicQuantileForecasterScoreEmaResponse) String() string { } func (*GetPreviousTopicQuantileForecasterScoreEmaResponse) ProtoMessage() {} func (*GetPreviousTopicQuantileForecasterScoreEmaResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_654c5ef5213700ee, []int{165} + return fileDescriptor_a0e710a1eb587f03, []int{165} } func (m *GetPreviousTopicQuantileForecasterScoreEmaResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -7984,7 +7984,7 @@ func (m *GetPreviousTopicQuantileInfererScoreEmaRequest) String() string { } func (*GetPreviousTopicQuantileInfererScoreEmaRequest) ProtoMessage() {} func (*GetPreviousTopicQuantileInfererScoreEmaRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_654c5ef5213700ee, []int{166} + return fileDescriptor_a0e710a1eb587f03, []int{166} } func (m *GetPreviousTopicQuantileInfererScoreEmaRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -8032,7 +8032,7 @@ func (m *GetPreviousTopicQuantileInfererScoreEmaResponse) String() string { } func (*GetPreviousTopicQuantileInfererScoreEmaResponse) ProtoMessage() {} func (*GetPreviousTopicQuantileInfererScoreEmaResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_654c5ef5213700ee, []int{167} + return fileDescriptor_a0e710a1eb587f03, []int{167} } func (m *GetPreviousTopicQuantileInfererScoreEmaResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -8073,7 +8073,7 @@ func (m *GetPreviousTopicQuantileReputerScoreEmaRequest) String() string { } func (*GetPreviousTopicQuantileReputerScoreEmaRequest) ProtoMessage() {} func (*GetPreviousTopicQuantileReputerScoreEmaRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_654c5ef5213700ee, []int{168} + return fileDescriptor_a0e710a1eb587f03, []int{168} } func (m *GetPreviousTopicQuantileReputerScoreEmaRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -8121,7 +8121,7 @@ func (m *GetPreviousTopicQuantileReputerScoreEmaResponse) String() string { } func (*GetPreviousTopicQuantileReputerScoreEmaResponse) ProtoMessage() {} func (*GetPreviousTopicQuantileReputerScoreEmaResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_654c5ef5213700ee, []int{169} + return fileDescriptor_a0e710a1eb587f03, []int{169} } func (m *GetPreviousTopicQuantileReputerScoreEmaResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -8161,7 +8161,7 @@ func (m *GetWorkerInferenceScoresAtBlockRequest) Reset() { func (m *GetWorkerInferenceScoresAtBlockRequest) String() string { return proto.CompactTextString(m) } func (*GetWorkerInferenceScoresAtBlockRequest) ProtoMessage() {} func (*GetWorkerInferenceScoresAtBlockRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_654c5ef5213700ee, []int{170} + return fileDescriptor_a0e710a1eb587f03, []int{170} } func (m *GetWorkerInferenceScoresAtBlockRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -8214,7 +8214,7 @@ func (m *GetWorkerInferenceScoresAtBlockResponse) Reset() { func (m *GetWorkerInferenceScoresAtBlockResponse) String() string { return proto.CompactTextString(m) } func (*GetWorkerInferenceScoresAtBlockResponse) ProtoMessage() {} func (*GetWorkerInferenceScoresAtBlockResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_654c5ef5213700ee, []int{171} + return fileDescriptor_a0e710a1eb587f03, []int{171} } func (m *GetWorkerInferenceScoresAtBlockResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -8258,7 +8258,7 @@ func (m *GetCurrentLowestInfererScoreRequest) Reset() { *m = GetCurrentL func (m *GetCurrentLowestInfererScoreRequest) String() string { return proto.CompactTextString(m) } func (*GetCurrentLowestInfererScoreRequest) ProtoMessage() {} func (*GetCurrentLowestInfererScoreRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_654c5ef5213700ee, []int{172} + return fileDescriptor_a0e710a1eb587f03, []int{172} } func (m *GetCurrentLowestInfererScoreRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -8302,7 +8302,7 @@ func (m *GetCurrentLowestInfererScoreResponse) Reset() { *m = GetCurrent func (m *GetCurrentLowestInfererScoreResponse) String() string { return proto.CompactTextString(m) } func (*GetCurrentLowestInfererScoreResponse) ProtoMessage() {} func (*GetCurrentLowestInfererScoreResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_654c5ef5213700ee, []int{173} + return fileDescriptor_a0e710a1eb587f03, []int{173} } func (m *GetCurrentLowestInfererScoreResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -8347,7 +8347,7 @@ func (m *GetForecastScoresUntilBlockRequest) Reset() { *m = GetForecastS func (m *GetForecastScoresUntilBlockRequest) String() string { return proto.CompactTextString(m) } func (*GetForecastScoresUntilBlockRequest) ProtoMessage() {} func (*GetForecastScoresUntilBlockRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_654c5ef5213700ee, []int{174} + return fileDescriptor_a0e710a1eb587f03, []int{174} } func (m *GetForecastScoresUntilBlockRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -8398,7 +8398,7 @@ func (m *GetForecastScoresUntilBlockResponse) Reset() { *m = GetForecast func (m *GetForecastScoresUntilBlockResponse) String() string { return proto.CompactTextString(m) } func (*GetForecastScoresUntilBlockResponse) ProtoMessage() {} func (*GetForecastScoresUntilBlockResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_654c5ef5213700ee, []int{175} + return fileDescriptor_a0e710a1eb587f03, []int{175} } func (m *GetForecastScoresUntilBlockResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -8443,7 +8443,7 @@ func (m *GetWorkerForecastScoresAtBlockRequest) Reset() { *m = GetWorker func (m *GetWorkerForecastScoresAtBlockRequest) String() string { return proto.CompactTextString(m) } func (*GetWorkerForecastScoresAtBlockRequest) ProtoMessage() {} func (*GetWorkerForecastScoresAtBlockRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_654c5ef5213700ee, []int{176} + return fileDescriptor_a0e710a1eb587f03, []int{176} } func (m *GetWorkerForecastScoresAtBlockRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -8496,7 +8496,7 @@ func (m *GetWorkerForecastScoresAtBlockResponse) Reset() { func (m *GetWorkerForecastScoresAtBlockResponse) String() string { return proto.CompactTextString(m) } func (*GetWorkerForecastScoresAtBlockResponse) ProtoMessage() {} func (*GetWorkerForecastScoresAtBlockResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_654c5ef5213700ee, []int{177} + return fileDescriptor_a0e710a1eb587f03, []int{177} } func (m *GetWorkerForecastScoresAtBlockResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -8542,7 +8542,7 @@ func (m *GetCurrentLowestForecasterScoreRequest) Reset() { func (m *GetCurrentLowestForecasterScoreRequest) String() string { return proto.CompactTextString(m) } func (*GetCurrentLowestForecasterScoreRequest) ProtoMessage() {} func (*GetCurrentLowestForecasterScoreRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_654c5ef5213700ee, []int{178} + return fileDescriptor_a0e710a1eb587f03, []int{178} } func (m *GetCurrentLowestForecasterScoreRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -8588,7 +8588,7 @@ func (m *GetCurrentLowestForecasterScoreResponse) Reset() { func (m *GetCurrentLowestForecasterScoreResponse) String() string { return proto.CompactTextString(m) } func (*GetCurrentLowestForecasterScoreResponse) ProtoMessage() {} func (*GetCurrentLowestForecasterScoreResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_654c5ef5213700ee, []int{179} + return fileDescriptor_a0e710a1eb587f03, []int{179} } func (m *GetCurrentLowestForecasterScoreResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -8633,7 +8633,7 @@ func (m *GetReputersScoresAtBlockRequest) Reset() { *m = GetReputersScor func (m *GetReputersScoresAtBlockRequest) String() string { return proto.CompactTextString(m) } func (*GetReputersScoresAtBlockRequest) ProtoMessage() {} func (*GetReputersScoresAtBlockRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_654c5ef5213700ee, []int{180} + return fileDescriptor_a0e710a1eb587f03, []int{180} } func (m *GetReputersScoresAtBlockRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -8684,7 +8684,7 @@ func (m *GetReputersScoresAtBlockResponse) Reset() { *m = GetReputersSco func (m *GetReputersScoresAtBlockResponse) String() string { return proto.CompactTextString(m) } func (*GetReputersScoresAtBlockResponse) ProtoMessage() {} func (*GetReputersScoresAtBlockResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_654c5ef5213700ee, []int{181} + return fileDescriptor_a0e710a1eb587f03, []int{181} } func (m *GetReputersScoresAtBlockResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -8728,7 +8728,7 @@ func (m *GetCurrentLowestReputerScoreRequest) Reset() { *m = GetCurrentL func (m *GetCurrentLowestReputerScoreRequest) String() string { return proto.CompactTextString(m) } func (*GetCurrentLowestReputerScoreRequest) ProtoMessage() {} func (*GetCurrentLowestReputerScoreRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_654c5ef5213700ee, []int{182} + return fileDescriptor_a0e710a1eb587f03, []int{182} } func (m *GetCurrentLowestReputerScoreRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -8772,7 +8772,7 @@ func (m *GetCurrentLowestReputerScoreResponse) Reset() { *m = GetCurrent func (m *GetCurrentLowestReputerScoreResponse) String() string { return proto.CompactTextString(m) } func (*GetCurrentLowestReputerScoreResponse) ProtoMessage() {} func (*GetCurrentLowestReputerScoreResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_654c5ef5213700ee, []int{183} + return fileDescriptor_a0e710a1eb587f03, []int{183} } func (m *GetCurrentLowestReputerScoreResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -8817,7 +8817,7 @@ func (m *GetListeningCoefficientRequest) Reset() { *m = GetListeningCoef func (m *GetListeningCoefficientRequest) String() string { return proto.CompactTextString(m) } func (*GetListeningCoefficientRequest) ProtoMessage() {} func (*GetListeningCoefficientRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_654c5ef5213700ee, []int{184} + return fileDescriptor_a0e710a1eb587f03, []int{184} } func (m *GetListeningCoefficientRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -8868,7 +8868,7 @@ func (m *GetListeningCoefficientResponse) Reset() { *m = GetListeningCoe func (m *GetListeningCoefficientResponse) String() string { return proto.CompactTextString(m) } func (*GetListeningCoefficientResponse) ProtoMessage() {} func (*GetListeningCoefficientResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_654c5ef5213700ee, []int{185} + return fileDescriptor_a0e710a1eb587f03, []int{185} } func (m *GetListeningCoefficientResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -8915,7 +8915,7 @@ func (m *GetPreviousReputerRewardFractionRequest) Reset() { func (m *GetPreviousReputerRewardFractionRequest) String() string { return proto.CompactTextString(m) } func (*GetPreviousReputerRewardFractionRequest) ProtoMessage() {} func (*GetPreviousReputerRewardFractionRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_654c5ef5213700ee, []int{186} + return fileDescriptor_a0e710a1eb587f03, []int{186} } func (m *GetPreviousReputerRewardFractionRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -8969,7 +8969,7 @@ func (m *GetPreviousReputerRewardFractionResponse) Reset() { func (m *GetPreviousReputerRewardFractionResponse) String() string { return proto.CompactTextString(m) } func (*GetPreviousReputerRewardFractionResponse) ProtoMessage() {} func (*GetPreviousReputerRewardFractionResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_654c5ef5213700ee, []int{187} + return fileDescriptor_a0e710a1eb587f03, []int{187} } func (m *GetPreviousReputerRewardFractionResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -9018,7 +9018,7 @@ func (m *GetPreviousInferenceRewardFractionRequest) String() string { } func (*GetPreviousInferenceRewardFractionRequest) ProtoMessage() {} func (*GetPreviousInferenceRewardFractionRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_654c5ef5213700ee, []int{188} + return fileDescriptor_a0e710a1eb587f03, []int{188} } func (m *GetPreviousInferenceRewardFractionRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -9074,7 +9074,7 @@ func (m *GetPreviousInferenceRewardFractionResponse) String() string { } func (*GetPreviousInferenceRewardFractionResponse) ProtoMessage() {} func (*GetPreviousInferenceRewardFractionResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_654c5ef5213700ee, []int{189} + return fileDescriptor_a0e710a1eb587f03, []int{189} } func (m *GetPreviousInferenceRewardFractionResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -9121,7 +9121,7 @@ func (m *GetPreviousForecastRewardFractionRequest) Reset() { func (m *GetPreviousForecastRewardFractionRequest) String() string { return proto.CompactTextString(m) } func (*GetPreviousForecastRewardFractionRequest) ProtoMessage() {} func (*GetPreviousForecastRewardFractionRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_654c5ef5213700ee, []int{190} + return fileDescriptor_a0e710a1eb587f03, []int{190} } func (m *GetPreviousForecastRewardFractionRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -9177,7 +9177,7 @@ func (m *GetPreviousForecastRewardFractionResponse) String() string { } func (*GetPreviousForecastRewardFractionResponse) ProtoMessage() {} func (*GetPreviousForecastRewardFractionResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_654c5ef5213700ee, []int{191} + return fileDescriptor_a0e710a1eb587f03, []int{191} } func (m *GetPreviousForecastRewardFractionResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -9224,7 +9224,7 @@ func (m *GetPreviousPercentageRewardToStakedReputersRequest) String() string { } func (*GetPreviousPercentageRewardToStakedReputersRequest) ProtoMessage() {} func (*GetPreviousPercentageRewardToStakedReputersRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_654c5ef5213700ee, []int{192} + return fileDescriptor_a0e710a1eb587f03, []int{192} } func (m *GetPreviousPercentageRewardToStakedReputersRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -9265,7 +9265,7 @@ func (m *GetPreviousPercentageRewardToStakedReputersResponse) String() string { } func (*GetPreviousPercentageRewardToStakedReputersResponse) ProtoMessage() {} func (*GetPreviousPercentageRewardToStakedReputersResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_654c5ef5213700ee, []int{193} + return fileDescriptor_a0e710a1eb587f03, []int{193} } func (m *GetPreviousPercentageRewardToStakedReputersResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -9301,7 +9301,7 @@ func (m *GetTotalRewardToDistributeRequest) Reset() { *m = GetTotalRewar func (m *GetTotalRewardToDistributeRequest) String() string { return proto.CompactTextString(m) } func (*GetTotalRewardToDistributeRequest) ProtoMessage() {} func (*GetTotalRewardToDistributeRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_654c5ef5213700ee, []int{194} + return fileDescriptor_a0e710a1eb587f03, []int{194} } func (m *GetTotalRewardToDistributeRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -9338,7 +9338,7 @@ func (m *GetTotalRewardToDistributeResponse) Reset() { *m = GetTotalRewa func (m *GetTotalRewardToDistributeResponse) String() string { return proto.CompactTextString(m) } func (*GetTotalRewardToDistributeResponse) ProtoMessage() {} func (*GetTotalRewardToDistributeResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_654c5ef5213700ee, []int{195} + return fileDescriptor_a0e710a1eb587f03, []int{195} } func (m *GetTotalRewardToDistributeResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -9375,7 +9375,7 @@ func (m *GetActiveTopicsAtBlockRequest) Reset() { *m = GetActiveTopicsAt func (m *GetActiveTopicsAtBlockRequest) String() string { return proto.CompactTextString(m) } func (*GetActiveTopicsAtBlockRequest) ProtoMessage() {} func (*GetActiveTopicsAtBlockRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_654c5ef5213700ee, []int{196} + return fileDescriptor_a0e710a1eb587f03, []int{196} } func (m *GetActiveTopicsAtBlockRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -9420,7 +9420,7 @@ func (m *GetActiveTopicsAtBlockResponse) Reset() { *m = GetActiveTopicsA func (m *GetActiveTopicsAtBlockResponse) String() string { return proto.CompactTextString(m) } func (*GetActiveTopicsAtBlockResponse) ProtoMessage() {} func (*GetActiveTopicsAtBlockResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_654c5ef5213700ee, []int{197} + return fileDescriptor_a0e710a1eb587f03, []int{197} } func (m *GetActiveTopicsAtBlockResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -9471,7 +9471,7 @@ func (m *GetNextChurningBlockByTopicIdRequest) Reset() { *m = GetNextChu func (m *GetNextChurningBlockByTopicIdRequest) String() string { return proto.CompactTextString(m) } func (*GetNextChurningBlockByTopicIdRequest) ProtoMessage() {} func (*GetNextChurningBlockByTopicIdRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_654c5ef5213700ee, []int{198} + return fileDescriptor_a0e710a1eb587f03, []int{198} } func (m *GetNextChurningBlockByTopicIdRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -9515,7 +9515,7 @@ func (m *GetNextChurningBlockByTopicIdResponse) Reset() { *m = GetNextCh func (m *GetNextChurningBlockByTopicIdResponse) String() string { return proto.CompactTextString(m) } func (*GetNextChurningBlockByTopicIdResponse) ProtoMessage() {} func (*GetNextChurningBlockByTopicIdResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_654c5ef5213700ee, []int{199} + return fileDescriptor_a0e710a1eb587f03, []int{199} } func (m *GetNextChurningBlockByTopicIdResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -9559,7 +9559,7 @@ func (m *GetActiveReputersForTopicRequest) Reset() { *m = GetActiveReput func (m *GetActiveReputersForTopicRequest) String() string { return proto.CompactTextString(m) } func (*GetActiveReputersForTopicRequest) ProtoMessage() {} func (*GetActiveReputersForTopicRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_654c5ef5213700ee, []int{200} + return fileDescriptor_a0e710a1eb587f03, []int{200} } func (m *GetActiveReputersForTopicRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -9603,7 +9603,7 @@ func (m *GetActiveReputersForTopicResponse) Reset() { *m = GetActiveRepu func (m *GetActiveReputersForTopicResponse) String() string { return proto.CompactTextString(m) } func (*GetActiveReputersForTopicResponse) ProtoMessage() {} func (*GetActiveReputersForTopicResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_654c5ef5213700ee, []int{201} + return fileDescriptor_a0e710a1eb587f03, []int{201} } func (m *GetActiveReputersForTopicResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -9647,7 +9647,7 @@ func (m *GetActiveForecastersForTopicRequest) Reset() { *m = GetActiveFo func (m *GetActiveForecastersForTopicRequest) String() string { return proto.CompactTextString(m) } func (*GetActiveForecastersForTopicRequest) ProtoMessage() {} func (*GetActiveForecastersForTopicRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_654c5ef5213700ee, []int{202} + return fileDescriptor_a0e710a1eb587f03, []int{202} } func (m *GetActiveForecastersForTopicRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -9691,7 +9691,7 @@ func (m *GetActiveForecastersForTopicResponse) Reset() { *m = GetActiveF func (m *GetActiveForecastersForTopicResponse) String() string { return proto.CompactTextString(m) } func (*GetActiveForecastersForTopicResponse) ProtoMessage() {} func (*GetActiveForecastersForTopicResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_654c5ef5213700ee, []int{203} + return fileDescriptor_a0e710a1eb587f03, []int{203} } func (m *GetActiveForecastersForTopicResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -9735,7 +9735,7 @@ func (m *GetActiveInferersForTopicRequest) Reset() { *m = GetActiveInfer func (m *GetActiveInferersForTopicRequest) String() string { return proto.CompactTextString(m) } func (*GetActiveInferersForTopicRequest) ProtoMessage() {} func (*GetActiveInferersForTopicRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_654c5ef5213700ee, []int{204} + return fileDescriptor_a0e710a1eb587f03, []int{204} } func (m *GetActiveInferersForTopicRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -9779,7 +9779,7 @@ func (m *GetActiveInferersForTopicResponse) Reset() { *m = GetActiveInfe func (m *GetActiveInferersForTopicResponse) String() string { return proto.CompactTextString(m) } func (*GetActiveInferersForTopicResponse) ProtoMessage() {} func (*GetActiveInferersForTopicResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_654c5ef5213700ee, []int{205} + return fileDescriptor_a0e710a1eb587f03, []int{205} } func (m *GetActiveInferersForTopicResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -9823,7 +9823,7 @@ func (m *GetTopicInitialInfererEmaScoreRequest) Reset() { *m = GetTopicI func (m *GetTopicInitialInfererEmaScoreRequest) String() string { return proto.CompactTextString(m) } func (*GetTopicInitialInfererEmaScoreRequest) ProtoMessage() {} func (*GetTopicInitialInfererEmaScoreRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_654c5ef5213700ee, []int{206} + return fileDescriptor_a0e710a1eb587f03, []int{206} } func (m *GetTopicInitialInfererEmaScoreRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -9869,7 +9869,7 @@ func (m *GetTopicInitialInfererEmaScoreResponse) Reset() { func (m *GetTopicInitialInfererEmaScoreResponse) String() string { return proto.CompactTextString(m) } func (*GetTopicInitialInfererEmaScoreResponse) ProtoMessage() {} func (*GetTopicInitialInfererEmaScoreResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_654c5ef5213700ee, []int{207} + return fileDescriptor_a0e710a1eb587f03, []int{207} } func (m *GetTopicInitialInfererEmaScoreResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -9908,7 +9908,7 @@ func (m *GetTopicInitialForecasterEmaScoreRequest) Reset() { func (m *GetTopicInitialForecasterEmaScoreRequest) String() string { return proto.CompactTextString(m) } func (*GetTopicInitialForecasterEmaScoreRequest) ProtoMessage() {} func (*GetTopicInitialForecasterEmaScoreRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_654c5ef5213700ee, []int{208} + return fileDescriptor_a0e710a1eb587f03, []int{208} } func (m *GetTopicInitialForecasterEmaScoreRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -9956,7 +9956,7 @@ func (m *GetTopicInitialForecasterEmaScoreResponse) String() string { } func (*GetTopicInitialForecasterEmaScoreResponse) ProtoMessage() {} func (*GetTopicInitialForecasterEmaScoreResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_654c5ef5213700ee, []int{209} + return fileDescriptor_a0e710a1eb587f03, []int{209} } func (m *GetTopicInitialForecasterEmaScoreResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -9993,7 +9993,7 @@ func (m *GetTopicInitialReputerEmaScoreRequest) Reset() { *m = GetTopicI func (m *GetTopicInitialReputerEmaScoreRequest) String() string { return proto.CompactTextString(m) } func (*GetTopicInitialReputerEmaScoreRequest) ProtoMessage() {} func (*GetTopicInitialReputerEmaScoreRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_654c5ef5213700ee, []int{210} + return fileDescriptor_a0e710a1eb587f03, []int{210} } func (m *GetTopicInitialReputerEmaScoreRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -10039,7 +10039,7 @@ func (m *GetTopicInitialReputerEmaScoreResponse) Reset() { func (m *GetTopicInitialReputerEmaScoreResponse) String() string { return proto.CompactTextString(m) } func (*GetTopicInitialReputerEmaScoreResponse) ProtoMessage() {} func (*GetTopicInitialReputerEmaScoreResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_654c5ef5213700ee, []int{211} + return fileDescriptor_a0e710a1eb587f03, []int{211} } func (m *GetTopicInitialReputerEmaScoreResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -10068,691 +10068,965 @@ func (m *GetTopicInitialReputerEmaScoreResponse) XXX_DiscardUnknown() { var xxx_messageInfo_GetTopicInitialReputerEmaScoreResponse proto.InternalMessageInfo +type GetLatestRegretStdNormRequest struct { + TopicId uint64 `protobuf:"varint,1,opt,name=topic_id,json=topicId,proto3" json:"topic_id,omitempty"` +} + +func (m *GetLatestRegretStdNormRequest) Reset() { *m = GetLatestRegretStdNormRequest{} } +func (m *GetLatestRegretStdNormRequest) String() string { return proto.CompactTextString(m) } +func (*GetLatestRegretStdNormRequest) ProtoMessage() {} +func (*GetLatestRegretStdNormRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_a0e710a1eb587f03, []int{212} +} +func (m *GetLatestRegretStdNormRequest) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *GetLatestRegretStdNormRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_GetLatestRegretStdNormRequest.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *GetLatestRegretStdNormRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_GetLatestRegretStdNormRequest.Merge(m, src) +} +func (m *GetLatestRegretStdNormRequest) XXX_Size() int { + return m.Size() +} +func (m *GetLatestRegretStdNormRequest) XXX_DiscardUnknown() { + xxx_messageInfo_GetLatestRegretStdNormRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_GetLatestRegretStdNormRequest proto.InternalMessageInfo + +func (m *GetLatestRegretStdNormRequest) GetTopicId() uint64 { + if m != nil { + return m.TopicId + } + return 0 +} + +type GetLatestRegretStdNormResponse struct { + Value github_com_allora_network_allora_chain_math.Dec `protobuf:"bytes,1,opt,name=value,proto3,customtype=github.com/allora-network/allora-chain/math.Dec" json:"value"` +} + +func (m *GetLatestRegretStdNormResponse) Reset() { *m = GetLatestRegretStdNormResponse{} } +func (m *GetLatestRegretStdNormResponse) String() string { return proto.CompactTextString(m) } +func (*GetLatestRegretStdNormResponse) ProtoMessage() {} +func (*GetLatestRegretStdNormResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_a0e710a1eb587f03, []int{213} +} +func (m *GetLatestRegretStdNormResponse) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *GetLatestRegretStdNormResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_GetLatestRegretStdNormResponse.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *GetLatestRegretStdNormResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_GetLatestRegretStdNormResponse.Merge(m, src) +} +func (m *GetLatestRegretStdNormResponse) XXX_Size() int { + return m.Size() +} +func (m *GetLatestRegretStdNormResponse) XXX_DiscardUnknown() { + xxx_messageInfo_GetLatestRegretStdNormResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_GetLatestRegretStdNormResponse proto.InternalMessageInfo + +type GetLatestInfererWeightRequest struct { + TopicId uint64 `protobuf:"varint,1,opt,name=topic_id,json=topicId,proto3" json:"topic_id,omitempty"` + ActorId string `protobuf:"bytes,2,opt,name=actor_id,json=actorId,proto3" json:"actor_id,omitempty"` +} + +func (m *GetLatestInfererWeightRequest) Reset() { *m = GetLatestInfererWeightRequest{} } +func (m *GetLatestInfererWeightRequest) String() string { return proto.CompactTextString(m) } +func (*GetLatestInfererWeightRequest) ProtoMessage() {} +func (*GetLatestInfererWeightRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_a0e710a1eb587f03, []int{214} +} +func (m *GetLatestInfererWeightRequest) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *GetLatestInfererWeightRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_GetLatestInfererWeightRequest.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *GetLatestInfererWeightRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_GetLatestInfererWeightRequest.Merge(m, src) +} +func (m *GetLatestInfererWeightRequest) XXX_Size() int { + return m.Size() +} +func (m *GetLatestInfererWeightRequest) XXX_DiscardUnknown() { + xxx_messageInfo_GetLatestInfererWeightRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_GetLatestInfererWeightRequest proto.InternalMessageInfo + +func (m *GetLatestInfererWeightRequest) GetTopicId() uint64 { + if m != nil { + return m.TopicId + } + return 0 +} + +func (m *GetLatestInfererWeightRequest) GetActorId() string { + if m != nil { + return m.ActorId + } + return "" +} + +type GetLatestInfererWeightResponse struct { + Weight github_com_allora_network_allora_chain_math.Dec `protobuf:"bytes,1,opt,name=weight,proto3,customtype=github.com/allora-network/allora-chain/math.Dec" json:"weight"` +} + +func (m *GetLatestInfererWeightResponse) Reset() { *m = GetLatestInfererWeightResponse{} } +func (m *GetLatestInfererWeightResponse) String() string { return proto.CompactTextString(m) } +func (*GetLatestInfererWeightResponse) ProtoMessage() {} +func (*GetLatestInfererWeightResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_a0e710a1eb587f03, []int{215} +} +func (m *GetLatestInfererWeightResponse) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *GetLatestInfererWeightResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_GetLatestInfererWeightResponse.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *GetLatestInfererWeightResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_GetLatestInfererWeightResponse.Merge(m, src) +} +func (m *GetLatestInfererWeightResponse) XXX_Size() int { + return m.Size() +} +func (m *GetLatestInfererWeightResponse) XXX_DiscardUnknown() { + xxx_messageInfo_GetLatestInfererWeightResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_GetLatestInfererWeightResponse proto.InternalMessageInfo + +type GetLatestForecasterWeightRequest struct { + TopicId uint64 `protobuf:"varint,1,opt,name=topic_id,json=topicId,proto3" json:"topic_id,omitempty"` + ActorId string `protobuf:"bytes,2,opt,name=actor_id,json=actorId,proto3" json:"actor_id,omitempty"` +} + +func (m *GetLatestForecasterWeightRequest) Reset() { *m = GetLatestForecasterWeightRequest{} } +func (m *GetLatestForecasterWeightRequest) String() string { return proto.CompactTextString(m) } +func (*GetLatestForecasterWeightRequest) ProtoMessage() {} +func (*GetLatestForecasterWeightRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_a0e710a1eb587f03, []int{216} +} +func (m *GetLatestForecasterWeightRequest) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *GetLatestForecasterWeightRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_GetLatestForecasterWeightRequest.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *GetLatestForecasterWeightRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_GetLatestForecasterWeightRequest.Merge(m, src) +} +func (m *GetLatestForecasterWeightRequest) XXX_Size() int { + return m.Size() +} +func (m *GetLatestForecasterWeightRequest) XXX_DiscardUnknown() { + xxx_messageInfo_GetLatestForecasterWeightRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_GetLatestForecasterWeightRequest proto.InternalMessageInfo + +func (m *GetLatestForecasterWeightRequest) GetTopicId() uint64 { + if m != nil { + return m.TopicId + } + return 0 +} + +func (m *GetLatestForecasterWeightRequest) GetActorId() string { + if m != nil { + return m.ActorId + } + return "" +} + +type GetLatestForecasterWeightResponse struct { + Weight github_com_allora_network_allora_chain_math.Dec `protobuf:"bytes,1,opt,name=weight,proto3,customtype=github.com/allora-network/allora-chain/math.Dec" json:"weight"` +} + +func (m *GetLatestForecasterWeightResponse) Reset() { *m = GetLatestForecasterWeightResponse{} } +func (m *GetLatestForecasterWeightResponse) String() string { return proto.CompactTextString(m) } +func (*GetLatestForecasterWeightResponse) ProtoMessage() {} +func (*GetLatestForecasterWeightResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_a0e710a1eb587f03, []int{217} +} +func (m *GetLatestForecasterWeightResponse) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *GetLatestForecasterWeightResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_GetLatestForecasterWeightResponse.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *GetLatestForecasterWeightResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_GetLatestForecasterWeightResponse.Merge(m, src) +} +func (m *GetLatestForecasterWeightResponse) XXX_Size() int { + return m.Size() +} +func (m *GetLatestForecasterWeightResponse) XXX_DiscardUnknown() { + xxx_messageInfo_GetLatestForecasterWeightResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_GetLatestForecasterWeightResponse proto.InternalMessageInfo + func init() { - proto.RegisterType((*IsWhitelistedGlobalWorkerRequest)(nil), "emissions.v7.IsWhitelistedGlobalWorkerRequest") - proto.RegisterType((*IsWhitelistedGlobalWorkerResponse)(nil), "emissions.v7.IsWhitelistedGlobalWorkerResponse") - proto.RegisterType((*IsWhitelistedGlobalReputerRequest)(nil), "emissions.v7.IsWhitelistedGlobalReputerRequest") - proto.RegisterType((*IsWhitelistedGlobalReputerResponse)(nil), "emissions.v7.IsWhitelistedGlobalReputerResponse") - proto.RegisterType((*IsWhitelistedGlobalAdminRequest)(nil), "emissions.v7.IsWhitelistedGlobalAdminRequest") - proto.RegisterType((*IsWhitelistedGlobalAdminResponse)(nil), "emissions.v7.IsWhitelistedGlobalAdminResponse") - proto.RegisterType((*IsTopicWorkerWhitelistEnabledRequest)(nil), "emissions.v7.IsTopicWorkerWhitelistEnabledRequest") - proto.RegisterType((*IsTopicWorkerWhitelistEnabledResponse)(nil), "emissions.v7.IsTopicWorkerWhitelistEnabledResponse") - proto.RegisterType((*IsTopicReputerWhitelistEnabledRequest)(nil), "emissions.v7.IsTopicReputerWhitelistEnabledRequest") - proto.RegisterType((*IsTopicReputerWhitelistEnabledResponse)(nil), "emissions.v7.IsTopicReputerWhitelistEnabledResponse") - proto.RegisterType((*IsWhitelistedTopicCreatorRequest)(nil), "emissions.v7.IsWhitelistedTopicCreatorRequest") - proto.RegisterType((*IsWhitelistedTopicCreatorResponse)(nil), "emissions.v7.IsWhitelistedTopicCreatorResponse") - proto.RegisterType((*IsWhitelistedGlobalActorRequest)(nil), "emissions.v7.IsWhitelistedGlobalActorRequest") - proto.RegisterType((*IsWhitelistedGlobalActorResponse)(nil), "emissions.v7.IsWhitelistedGlobalActorResponse") - proto.RegisterType((*IsWhitelistedTopicWorkerRequest)(nil), "emissions.v7.IsWhitelistedTopicWorkerRequest") - proto.RegisterType((*IsWhitelistedTopicWorkerResponse)(nil), "emissions.v7.IsWhitelistedTopicWorkerResponse") - proto.RegisterType((*IsWhitelistedTopicReputerRequest)(nil), "emissions.v7.IsWhitelistedTopicReputerRequest") - proto.RegisterType((*IsWhitelistedTopicReputerResponse)(nil), "emissions.v7.IsWhitelistedTopicReputerResponse") - proto.RegisterType((*CanUpdateAllGlobalWhitelistsRequest)(nil), "emissions.v7.CanUpdateAllGlobalWhitelistsRequest") - proto.RegisterType((*CanUpdateAllGlobalWhitelistsResponse)(nil), "emissions.v7.CanUpdateAllGlobalWhitelistsResponse") - proto.RegisterType((*CanUpdateGlobalWorkerWhitelistRequest)(nil), "emissions.v7.CanUpdateGlobalWorkerWhitelistRequest") - proto.RegisterType((*CanUpdateGlobalWorkerWhitelistResponse)(nil), "emissions.v7.CanUpdateGlobalWorkerWhitelistResponse") - proto.RegisterType((*CanUpdateGlobalReputerWhitelistRequest)(nil), "emissions.v7.CanUpdateGlobalReputerWhitelistRequest") - proto.RegisterType((*CanUpdateGlobalReputerWhitelistResponse)(nil), "emissions.v7.CanUpdateGlobalReputerWhitelistResponse") - proto.RegisterType((*CanUpdateParamsRequest)(nil), "emissions.v7.CanUpdateParamsRequest") - proto.RegisterType((*CanUpdateParamsResponse)(nil), "emissions.v7.CanUpdateParamsResponse") - proto.RegisterType((*CanUpdateTopicWhitelistRequest)(nil), "emissions.v7.CanUpdateTopicWhitelistRequest") - proto.RegisterType((*CanUpdateTopicWhitelistResponse)(nil), "emissions.v7.CanUpdateTopicWhitelistResponse") - proto.RegisterType((*CanCreateTopicRequest)(nil), "emissions.v7.CanCreateTopicRequest") - proto.RegisterType((*CanCreateTopicResponse)(nil), "emissions.v7.CanCreateTopicResponse") - proto.RegisterType((*CanSubmitWorkerPayloadRequest)(nil), "emissions.v7.CanSubmitWorkerPayloadRequest") - proto.RegisterType((*CanSubmitWorkerPayloadResponse)(nil), "emissions.v7.CanSubmitWorkerPayloadResponse") - proto.RegisterType((*CanSubmitReputerPayloadRequest)(nil), "emissions.v7.CanSubmitReputerPayloadRequest") - proto.RegisterType((*CanSubmitReputerPayloadResponse)(nil), "emissions.v7.CanSubmitReputerPayloadResponse") - proto.RegisterType((*GetCountInfererInclusionsInTopicRequest)(nil), "emissions.v7.GetCountInfererInclusionsInTopicRequest") - proto.RegisterType((*GetCountInfererInclusionsInTopicResponse)(nil), "emissions.v7.GetCountInfererInclusionsInTopicResponse") - proto.RegisterType((*GetCountForecasterInclusionsInTopicRequest)(nil), "emissions.v7.GetCountForecasterInclusionsInTopicRequest") - proto.RegisterType((*GetCountForecasterInclusionsInTopicResponse)(nil), "emissions.v7.GetCountForecasterInclusionsInTopicResponse") - proto.RegisterType((*GetNaiveInfererNetworkRegretRequest)(nil), "emissions.v7.GetNaiveInfererNetworkRegretRequest") - proto.RegisterType((*GetNaiveInfererNetworkRegretResponse)(nil), "emissions.v7.GetNaiveInfererNetworkRegretResponse") - proto.RegisterType((*GetOneOutInfererInfererNetworkRegretRequest)(nil), "emissions.v7.GetOneOutInfererInfererNetworkRegretRequest") - proto.RegisterType((*GetOneOutInfererInfererNetworkRegretResponse)(nil), "emissions.v7.GetOneOutInfererInfererNetworkRegretResponse") - proto.RegisterType((*GetOneOutInfererForecasterNetworkRegretRequest)(nil), "emissions.v7.GetOneOutInfererForecasterNetworkRegretRequest") - proto.RegisterType((*GetOneOutInfererForecasterNetworkRegretResponse)(nil), "emissions.v7.GetOneOutInfererForecasterNetworkRegretResponse") - proto.RegisterType((*GetOneOutForecasterInfererNetworkRegretRequest)(nil), "emissions.v7.GetOneOutForecasterInfererNetworkRegretRequest") - proto.RegisterType((*GetOneOutForecasterInfererNetworkRegretResponse)(nil), "emissions.v7.GetOneOutForecasterInfererNetworkRegretResponse") - proto.RegisterType((*GetOneOutForecasterForecasterNetworkRegretRequest)(nil), "emissions.v7.GetOneOutForecasterForecasterNetworkRegretRequest") - proto.RegisterType((*GetOneOutForecasterForecasterNetworkRegretResponse)(nil), "emissions.v7.GetOneOutForecasterForecasterNetworkRegretResponse") - proto.RegisterType((*GetParamsRequest)(nil), "emissions.v7.GetParamsRequest") - proto.RegisterType((*GetParamsResponse)(nil), "emissions.v7.GetParamsResponse") - proto.RegisterType((*GetTotalStakeRequest)(nil), "emissions.v7.GetTotalStakeRequest") - proto.RegisterType((*GetTotalStakeResponse)(nil), "emissions.v7.GetTotalStakeResponse") - proto.RegisterType((*GetReputerStakeInTopicRequest)(nil), "emissions.v7.GetReputerStakeInTopicRequest") - proto.RegisterType((*GetReputerStakeInTopicResponse)(nil), "emissions.v7.GetReputerStakeInTopicResponse") - proto.RegisterType((*GetMultiReputerStakeInTopicRequest)(nil), "emissions.v7.GetMultiReputerStakeInTopicRequest") - proto.RegisterType((*GetMultiReputerStakeInTopicResponse)(nil), "emissions.v7.GetMultiReputerStakeInTopicResponse") - proto.RegisterType((*GetStakeFromReputerInTopicInSelfRequest)(nil), "emissions.v7.GetStakeFromReputerInTopicInSelfRequest") - proto.RegisterType((*GetStakeFromReputerInTopicInSelfResponse)(nil), "emissions.v7.GetStakeFromReputerInTopicInSelfResponse") - proto.RegisterType((*GetDelegateStakeInTopicInReputerRequest)(nil), "emissions.v7.GetDelegateStakeInTopicInReputerRequest") - proto.RegisterType((*GetDelegateStakeInTopicInReputerResponse)(nil), "emissions.v7.GetDelegateStakeInTopicInReputerResponse") - proto.RegisterType((*GetStakeFromDelegatorInTopicInReputerRequest)(nil), "emissions.v7.GetStakeFromDelegatorInTopicInReputerRequest") - proto.RegisterType((*GetStakeFromDelegatorInTopicInReputerResponse)(nil), "emissions.v7.GetStakeFromDelegatorInTopicInReputerResponse") - proto.RegisterType((*GetStakeFromDelegatorInTopicRequest)(nil), "emissions.v7.GetStakeFromDelegatorInTopicRequest") - proto.RegisterType((*GetStakeFromDelegatorInTopicResponse)(nil), "emissions.v7.GetStakeFromDelegatorInTopicResponse") - proto.RegisterType((*GetTopicStakeRequest)(nil), "emissions.v7.GetTopicStakeRequest") - proto.RegisterType((*GetTopicStakeResponse)(nil), "emissions.v7.GetTopicStakeResponse") - proto.RegisterType((*GetNetworkLossBundleAtBlockRequest)(nil), "emissions.v7.GetNetworkLossBundleAtBlockRequest") - proto.RegisterType((*GetNetworkLossBundleAtBlockResponse)(nil), "emissions.v7.GetNetworkLossBundleAtBlockResponse") - proto.RegisterType((*GetNextTopicIdRequest)(nil), "emissions.v7.GetNextTopicIdRequest") - proto.RegisterType((*GetNextTopicIdResponse)(nil), "emissions.v7.GetNextTopicIdResponse") - proto.RegisterType((*GetTopicRequest)(nil), "emissions.v7.GetTopicRequest") - proto.RegisterType((*GetTopicResponse)(nil), "emissions.v7.GetTopicResponse") - proto.RegisterType((*GetActiveTopicsRequest)(nil), "emissions.v7.GetActiveTopicsRequest") - proto.RegisterType((*GetActiveTopicsResponse)(nil), "emissions.v7.GetActiveTopicsResponse") - proto.RegisterType((*GetInferencesAtBlockRequest)(nil), "emissions.v7.GetInferencesAtBlockRequest") - proto.RegisterType((*GetInferencesAtBlockResponse)(nil), "emissions.v7.GetInferencesAtBlockResponse") - proto.RegisterType((*GetLatestTopicInferencesRequest)(nil), "emissions.v7.GetLatestTopicInferencesRequest") - proto.RegisterType((*GetLatestTopicInferencesResponse)(nil), "emissions.v7.GetLatestTopicInferencesResponse") - proto.RegisterType((*GetForecastsAtBlockRequest)(nil), "emissions.v7.GetForecastsAtBlockRequest") - proto.RegisterType((*GetForecastsAtBlockResponse)(nil), "emissions.v7.GetForecastsAtBlockResponse") - proto.RegisterType((*GetWorkerLatestInferenceByTopicIdRequest)(nil), "emissions.v7.GetWorkerLatestInferenceByTopicIdRequest") - proto.RegisterType((*GetWorkerLatestInferenceByTopicIdResponse)(nil), "emissions.v7.GetWorkerLatestInferenceByTopicIdResponse") - proto.RegisterType((*GetWorkerNodeInfoRequest)(nil), "emissions.v7.GetWorkerNodeInfoRequest") - proto.RegisterType((*GetWorkerNodeInfoResponse)(nil), "emissions.v7.GetWorkerNodeInfoResponse") - proto.RegisterType((*GetReputerNodeInfoRequest)(nil), "emissions.v7.GetReputerNodeInfoRequest") - proto.RegisterType((*GetReputerNodeInfoResponse)(nil), "emissions.v7.GetReputerNodeInfoResponse") - proto.RegisterType((*GetNetworkInferencesAtBlockRequest)(nil), "emissions.v7.GetNetworkInferencesAtBlockRequest") - proto.RegisterType((*GetNetworkInferencesAtBlockOutlierResistantRequest)(nil), "emissions.v7.GetNetworkInferencesAtBlockOutlierResistantRequest") - proto.RegisterType((*GetLatestNetworkInferencesRequest)(nil), "emissions.v7.GetLatestNetworkInferencesRequest") - proto.RegisterType((*GetLatestNetworkInferencesOutlierResistantRequest)(nil), "emissions.v7.GetLatestNetworkInferencesOutlierResistantRequest") - proto.RegisterType((*GetLatestAvailableNetworkInferencesRequest)(nil), "emissions.v7.GetLatestAvailableNetworkInferencesRequest") - proto.RegisterType((*GetLatestAvailableNetworkInferencesOutlierResistantRequest)(nil), "emissions.v7.GetLatestAvailableNetworkInferencesOutlierResistantRequest") - proto.RegisterType((*IsWorkerNonceUnfulfilledRequest)(nil), "emissions.v7.IsWorkerNonceUnfulfilledRequest") - proto.RegisterType((*IsWorkerNonceUnfulfilledResponse)(nil), "emissions.v7.IsWorkerNonceUnfulfilledResponse") - proto.RegisterType((*GetUnfulfilledReputerNoncesRequest)(nil), "emissions.v7.GetUnfulfilledReputerNoncesRequest") - proto.RegisterType((*GetUnfulfilledReputerNoncesResponse)(nil), "emissions.v7.GetUnfulfilledReputerNoncesResponse") - proto.RegisterType((*GetUnfulfilledWorkerNoncesRequest)(nil), "emissions.v7.GetUnfulfilledWorkerNoncesRequest") - proto.RegisterType((*GetUnfulfilledWorkerNoncesResponse)(nil), "emissions.v7.GetUnfulfilledWorkerNoncesResponse") - proto.RegisterType((*GetInfererNetworkRegretRequest)(nil), "emissions.v7.GetInfererNetworkRegretRequest") - proto.RegisterType((*GetInfererNetworkRegretResponse)(nil), "emissions.v7.GetInfererNetworkRegretResponse") - proto.RegisterType((*GetForecasterNetworkRegretRequest)(nil), "emissions.v7.GetForecasterNetworkRegretRequest") - proto.RegisterType((*GetForecasterNetworkRegretResponse)(nil), "emissions.v7.GetForecasterNetworkRegretResponse") - proto.RegisterType((*GetOneInForecasterNetworkRegretRequest)(nil), "emissions.v7.GetOneInForecasterNetworkRegretRequest") - proto.RegisterType((*GetOneInForecasterNetworkRegretResponse)(nil), "emissions.v7.GetOneInForecasterNetworkRegretResponse") - proto.RegisterType((*IsReputerNonceUnfulfilledRequest)(nil), "emissions.v7.IsReputerNonceUnfulfilledRequest") - proto.RegisterType((*IsReputerNonceUnfulfilledResponse)(nil), "emissions.v7.IsReputerNonceUnfulfilledResponse") - proto.RegisterType((*GetNetworkInferencesAtBlockResponse)(nil), "emissions.v7.GetNetworkInferencesAtBlockResponse") - proto.RegisterType((*GetNetworkInferencesAtBlockOutlierResistantResponse)(nil), "emissions.v7.GetNetworkInferencesAtBlockOutlierResistantResponse") - proto.RegisterType((*GetLatestNetworkInferencesResponse)(nil), "emissions.v7.GetLatestNetworkInferencesResponse") - proto.RegisterType((*GetLatestNetworkInferencesOutlierResistantResponse)(nil), "emissions.v7.GetLatestNetworkInferencesOutlierResistantResponse") - proto.RegisterType((*GetLatestAvailableNetworkInferencesResponse)(nil), "emissions.v7.GetLatestAvailableNetworkInferencesResponse") - proto.RegisterType((*GetLatestAvailableNetworkInferencesOutlierResistantResponse)(nil), "emissions.v7.GetLatestAvailableNetworkInferencesOutlierResistantResponse") - proto.RegisterType((*IsWorkerRegisteredInTopicIdRequest)(nil), "emissions.v7.IsWorkerRegisteredInTopicIdRequest") - proto.RegisterType((*IsWorkerRegisteredInTopicIdResponse)(nil), "emissions.v7.IsWorkerRegisteredInTopicIdResponse") - proto.RegisterType((*IsReputerRegisteredInTopicIdRequest)(nil), "emissions.v7.IsReputerRegisteredInTopicIdRequest") - proto.RegisterType((*IsReputerRegisteredInTopicIdResponse)(nil), "emissions.v7.IsReputerRegisteredInTopicIdResponse") - proto.RegisterType((*IsWhitelistAdminRequest)(nil), "emissions.v7.IsWhitelistAdminRequest") - proto.RegisterType((*IsWhitelistAdminResponse)(nil), "emissions.v7.IsWhitelistAdminResponse") - proto.RegisterType((*GetStakeRemovalsUpUntilBlockRequest)(nil), "emissions.v7.GetStakeRemovalsUpUntilBlockRequest") - proto.RegisterType((*GetStakeRemovalsUpUntilBlockResponse)(nil), "emissions.v7.GetStakeRemovalsUpUntilBlockResponse") - proto.RegisterType((*GetDelegateStakeRemovalsUpUntilBlockRequest)(nil), "emissions.v7.GetDelegateStakeRemovalsUpUntilBlockRequest") - proto.RegisterType((*GetDelegateStakeRemovalsUpUntilBlockResponse)(nil), "emissions.v7.GetDelegateStakeRemovalsUpUntilBlockResponse") - proto.RegisterType((*GetStakeRemovalInfoRequest)(nil), "emissions.v7.GetStakeRemovalInfoRequest") - proto.RegisterType((*GetStakeRemovalInfoResponse)(nil), "emissions.v7.GetStakeRemovalInfoResponse") - proto.RegisterType((*GetDelegateStakeRemovalInfoRequest)(nil), "emissions.v7.GetDelegateStakeRemovalInfoRequest") - proto.RegisterType((*GetDelegateStakeRemovalInfoResponse)(nil), "emissions.v7.GetDelegateStakeRemovalInfoResponse") - proto.RegisterType((*GetTopicLastWorkerCommitInfoRequest)(nil), "emissions.v7.GetTopicLastWorkerCommitInfoRequest") - proto.RegisterType((*GetTopicLastWorkerCommitInfoResponse)(nil), "emissions.v7.GetTopicLastWorkerCommitInfoResponse") - proto.RegisterType((*GetTopicLastReputerCommitInfoRequest)(nil), "emissions.v7.GetTopicLastReputerCommitInfoRequest") - proto.RegisterType((*GetTopicLastReputerCommitInfoResponse)(nil), "emissions.v7.GetTopicLastReputerCommitInfoResponse") - proto.RegisterType((*GetTopicRewardNonceRequest)(nil), "emissions.v7.GetTopicRewardNonceRequest") - proto.RegisterType((*GetTopicRewardNonceResponse)(nil), "emissions.v7.GetTopicRewardNonceResponse") - proto.RegisterType((*GetReputerLossBundlesAtBlockRequest)(nil), "emissions.v7.GetReputerLossBundlesAtBlockRequest") - proto.RegisterType((*GetReputerLossBundlesAtBlockResponse)(nil), "emissions.v7.GetReputerLossBundlesAtBlockResponse") - proto.RegisterType((*GetStakeReputerAuthorityRequest)(nil), "emissions.v7.GetStakeReputerAuthorityRequest") - proto.RegisterType((*GetStakeReputerAuthorityResponse)(nil), "emissions.v7.GetStakeReputerAuthorityResponse") - proto.RegisterType((*GetDelegateStakePlacementRequest)(nil), "emissions.v7.GetDelegateStakePlacementRequest") - proto.RegisterType((*GetDelegateStakePlacementResponse)(nil), "emissions.v7.GetDelegateStakePlacementResponse") - proto.RegisterType((*GetDelegateStakeUponReputerRequest)(nil), "emissions.v7.GetDelegateStakeUponReputerRequest") - proto.RegisterType((*GetDelegateStakeUponReputerResponse)(nil), "emissions.v7.GetDelegateStakeUponReputerResponse") - proto.RegisterType((*GetDelegateRewardPerShareRequest)(nil), "emissions.v7.GetDelegateRewardPerShareRequest") - proto.RegisterType((*GetDelegateRewardPerShareResponse)(nil), "emissions.v7.GetDelegateRewardPerShareResponse") - proto.RegisterType((*GetStakeRemovalForReputerAndTopicIdRequest)(nil), "emissions.v7.GetStakeRemovalForReputerAndTopicIdRequest") - proto.RegisterType((*GetStakeRemovalForReputerAndTopicIdResponse)(nil), "emissions.v7.GetStakeRemovalForReputerAndTopicIdResponse") - proto.RegisterType((*GetDelegateStakeRemovalRequest)(nil), "emissions.v7.GetDelegateStakeRemovalRequest") - proto.RegisterType((*GetDelegateStakeRemovalResponse)(nil), "emissions.v7.GetDelegateStakeRemovalResponse") - proto.RegisterType((*GetPreviousTopicWeightRequest)(nil), "emissions.v7.GetPreviousTopicWeightRequest") - proto.RegisterType((*GetPreviousTopicWeightResponse)(nil), "emissions.v7.GetPreviousTopicWeightResponse") - proto.RegisterType((*GetTotalSumPreviousTopicWeightsRequest)(nil), "emissions.v7.GetTotalSumPreviousTopicWeightsRequest") - proto.RegisterType((*GetTotalSumPreviousTopicWeightsResponse)(nil), "emissions.v7.GetTotalSumPreviousTopicWeightsResponse") - proto.RegisterType((*TopicExistsRequest)(nil), "emissions.v7.TopicExistsRequest") - proto.RegisterType((*TopicExistsResponse)(nil), "emissions.v7.TopicExistsResponse") - proto.RegisterType((*IsTopicActiveRequest)(nil), "emissions.v7.IsTopicActiveRequest") - proto.RegisterType((*IsTopicActiveResponse)(nil), "emissions.v7.IsTopicActiveResponse") - proto.RegisterType((*GetTopicFeeRevenueRequest)(nil), "emissions.v7.GetTopicFeeRevenueRequest") - proto.RegisterType((*GetTopicFeeRevenueResponse)(nil), "emissions.v7.GetTopicFeeRevenueResponse") - proto.RegisterType((*GetInfererScoreEmaRequest)(nil), "emissions.v7.GetInfererScoreEmaRequest") - proto.RegisterType((*GetInfererScoreEmaResponse)(nil), "emissions.v7.GetInfererScoreEmaResponse") - proto.RegisterType((*GetForecasterScoreEmaRequest)(nil), "emissions.v7.GetForecasterScoreEmaRequest") - proto.RegisterType((*GetForecasterScoreEmaResponse)(nil), "emissions.v7.GetForecasterScoreEmaResponse") - proto.RegisterType((*GetReputerScoreEmaRequest)(nil), "emissions.v7.GetReputerScoreEmaRequest") - proto.RegisterType((*GetReputerScoreEmaResponse)(nil), "emissions.v7.GetReputerScoreEmaResponse") - proto.RegisterType((*GetInferenceScoresUntilBlockRequest)(nil), "emissions.v7.GetInferenceScoresUntilBlockRequest") - proto.RegisterType((*GetInferenceScoresUntilBlockResponse)(nil), "emissions.v7.GetInferenceScoresUntilBlockResponse") - proto.RegisterType((*GetPreviousTopicQuantileForecasterScoreEmaRequest)(nil), "emissions.v7.GetPreviousTopicQuantileForecasterScoreEmaRequest") - proto.RegisterType((*GetPreviousTopicQuantileForecasterScoreEmaResponse)(nil), "emissions.v7.GetPreviousTopicQuantileForecasterScoreEmaResponse") - proto.RegisterType((*GetPreviousTopicQuantileInfererScoreEmaRequest)(nil), "emissions.v7.GetPreviousTopicQuantileInfererScoreEmaRequest") - proto.RegisterType((*GetPreviousTopicQuantileInfererScoreEmaResponse)(nil), "emissions.v7.GetPreviousTopicQuantileInfererScoreEmaResponse") - proto.RegisterType((*GetPreviousTopicQuantileReputerScoreEmaRequest)(nil), "emissions.v7.GetPreviousTopicQuantileReputerScoreEmaRequest") - proto.RegisterType((*GetPreviousTopicQuantileReputerScoreEmaResponse)(nil), "emissions.v7.GetPreviousTopicQuantileReputerScoreEmaResponse") - proto.RegisterType((*GetWorkerInferenceScoresAtBlockRequest)(nil), "emissions.v7.GetWorkerInferenceScoresAtBlockRequest") - proto.RegisterType((*GetWorkerInferenceScoresAtBlockResponse)(nil), "emissions.v7.GetWorkerInferenceScoresAtBlockResponse") - proto.RegisterType((*GetCurrentLowestInfererScoreRequest)(nil), "emissions.v7.GetCurrentLowestInfererScoreRequest") - proto.RegisterType((*GetCurrentLowestInfererScoreResponse)(nil), "emissions.v7.GetCurrentLowestInfererScoreResponse") - proto.RegisterType((*GetForecastScoresUntilBlockRequest)(nil), "emissions.v7.GetForecastScoresUntilBlockRequest") - proto.RegisterType((*GetForecastScoresUntilBlockResponse)(nil), "emissions.v7.GetForecastScoresUntilBlockResponse") - proto.RegisterType((*GetWorkerForecastScoresAtBlockRequest)(nil), "emissions.v7.GetWorkerForecastScoresAtBlockRequest") - proto.RegisterType((*GetWorkerForecastScoresAtBlockResponse)(nil), "emissions.v7.GetWorkerForecastScoresAtBlockResponse") - proto.RegisterType((*GetCurrentLowestForecasterScoreRequest)(nil), "emissions.v7.GetCurrentLowestForecasterScoreRequest") - proto.RegisterType((*GetCurrentLowestForecasterScoreResponse)(nil), "emissions.v7.GetCurrentLowestForecasterScoreResponse") - proto.RegisterType((*GetReputersScoresAtBlockRequest)(nil), "emissions.v7.GetReputersScoresAtBlockRequest") - proto.RegisterType((*GetReputersScoresAtBlockResponse)(nil), "emissions.v7.GetReputersScoresAtBlockResponse") - proto.RegisterType((*GetCurrentLowestReputerScoreRequest)(nil), "emissions.v7.GetCurrentLowestReputerScoreRequest") - proto.RegisterType((*GetCurrentLowestReputerScoreResponse)(nil), "emissions.v7.GetCurrentLowestReputerScoreResponse") - proto.RegisterType((*GetListeningCoefficientRequest)(nil), "emissions.v7.GetListeningCoefficientRequest") - proto.RegisterType((*GetListeningCoefficientResponse)(nil), "emissions.v7.GetListeningCoefficientResponse") - proto.RegisterType((*GetPreviousReputerRewardFractionRequest)(nil), "emissions.v7.GetPreviousReputerRewardFractionRequest") - proto.RegisterType((*GetPreviousReputerRewardFractionResponse)(nil), "emissions.v7.GetPreviousReputerRewardFractionResponse") - proto.RegisterType((*GetPreviousInferenceRewardFractionRequest)(nil), "emissions.v7.GetPreviousInferenceRewardFractionRequest") - proto.RegisterType((*GetPreviousInferenceRewardFractionResponse)(nil), "emissions.v7.GetPreviousInferenceRewardFractionResponse") - proto.RegisterType((*GetPreviousForecastRewardFractionRequest)(nil), "emissions.v7.GetPreviousForecastRewardFractionRequest") - proto.RegisterType((*GetPreviousForecastRewardFractionResponse)(nil), "emissions.v7.GetPreviousForecastRewardFractionResponse") - proto.RegisterType((*GetPreviousPercentageRewardToStakedReputersRequest)(nil), "emissions.v7.GetPreviousPercentageRewardToStakedReputersRequest") - proto.RegisterType((*GetPreviousPercentageRewardToStakedReputersResponse)(nil), "emissions.v7.GetPreviousPercentageRewardToStakedReputersResponse") - proto.RegisterType((*GetTotalRewardToDistributeRequest)(nil), "emissions.v7.GetTotalRewardToDistributeRequest") - proto.RegisterType((*GetTotalRewardToDistributeResponse)(nil), "emissions.v7.GetTotalRewardToDistributeResponse") - proto.RegisterType((*GetActiveTopicsAtBlockRequest)(nil), "emissions.v7.GetActiveTopicsAtBlockRequest") - proto.RegisterType((*GetActiveTopicsAtBlockResponse)(nil), "emissions.v7.GetActiveTopicsAtBlockResponse") - proto.RegisterType((*GetNextChurningBlockByTopicIdRequest)(nil), "emissions.v7.GetNextChurningBlockByTopicIdRequest") - proto.RegisterType((*GetNextChurningBlockByTopicIdResponse)(nil), "emissions.v7.GetNextChurningBlockByTopicIdResponse") - proto.RegisterType((*GetActiveReputersForTopicRequest)(nil), "emissions.v7.GetActiveReputersForTopicRequest") - proto.RegisterType((*GetActiveReputersForTopicResponse)(nil), "emissions.v7.GetActiveReputersForTopicResponse") - proto.RegisterType((*GetActiveForecastersForTopicRequest)(nil), "emissions.v7.GetActiveForecastersForTopicRequest") - proto.RegisterType((*GetActiveForecastersForTopicResponse)(nil), "emissions.v7.GetActiveForecastersForTopicResponse") - proto.RegisterType((*GetActiveInferersForTopicRequest)(nil), "emissions.v7.GetActiveInferersForTopicRequest") - proto.RegisterType((*GetActiveInferersForTopicResponse)(nil), "emissions.v7.GetActiveInferersForTopicResponse") - proto.RegisterType((*GetTopicInitialInfererEmaScoreRequest)(nil), "emissions.v7.GetTopicInitialInfererEmaScoreRequest") - proto.RegisterType((*GetTopicInitialInfererEmaScoreResponse)(nil), "emissions.v7.GetTopicInitialInfererEmaScoreResponse") - proto.RegisterType((*GetTopicInitialForecasterEmaScoreRequest)(nil), "emissions.v7.GetTopicInitialForecasterEmaScoreRequest") - proto.RegisterType((*GetTopicInitialForecasterEmaScoreResponse)(nil), "emissions.v7.GetTopicInitialForecasterEmaScoreResponse") - proto.RegisterType((*GetTopicInitialReputerEmaScoreRequest)(nil), "emissions.v7.GetTopicInitialReputerEmaScoreRequest") - proto.RegisterType((*GetTopicInitialReputerEmaScoreResponse)(nil), "emissions.v7.GetTopicInitialReputerEmaScoreResponse") -} - -func init() { proto.RegisterFile("emissions/v7/query.proto", fileDescriptor_654c5ef5213700ee) } - -var fileDescriptor_654c5ef5213700ee = []byte{ - // 7442 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xec, 0x5d, 0x59, 0x8c, 0x1c, 0xb9, - 0x79, 0xde, 0xd2, 0xb5, 0x33, 0x9c, 0x95, 0x34, 0xa2, 0xb5, 0x92, 0xa6, 0x25, 0x8d, 0xa4, 0xd2, - 0xea, 0x58, 0x1d, 0xd3, 0xab, 0x63, 0x25, 0xad, 0x8e, 0x95, 0x66, 0x66, 0xa5, 0xd1, 0x68, 0x67, - 0xa5, 0x51, 0xeb, 0xb2, 0xe5, 0xd8, 0xe5, 0x9a, 0x6e, 0xce, 0xa8, 0xac, 0xea, 0xaa, 0x76, 0x55, - 0xf5, 0x8c, 0x64, 0x45, 0x59, 0xc3, 0x81, 0x8d, 0x20, 0x0f, 0x39, 0xec, 0xd8, 0x2f, 0x36, 0x12, - 0x03, 0x0e, 0x72, 0x23, 0x70, 0x9c, 0x03, 0x30, 0x82, 0x1c, 0x70, 0x2e, 0xdb, 0x31, 0x62, 0x3b, - 0xb1, 0x83, 0x75, 0x80, 0x18, 0xf6, 0xae, 0x9d, 0x0b, 0x4e, 0x5e, 0xf2, 0x12, 0x04, 0x7e, 0x08, - 0x9a, 0x64, 0x15, 0xc9, 0x2a, 0x92, 0xc5, 0xee, 0x99, 0xd9, 0xf8, 0x41, 0x2f, 0x8b, 0x9d, 0x2e, - 0xf2, 0xe7, 0xf7, 0x91, 0x3f, 0xc9, 0x9f, 0x3f, 0xff, 0x9f, 0x02, 0x5b, 0x50, 0xd3, 0x8b, 0x63, - 0x2f, 0x0c, 0xe2, 0xea, 0xfc, 0xc9, 0xea, 0x07, 0xda, 0x28, 0x7a, 0x38, 0xd2, 0x8a, 0xc2, 0x24, - 0x84, 0xcf, 0x64, 0x5f, 0x46, 0xe6, 0x4f, 0x56, 0x36, 0xb8, 0x4d, 0x2f, 0x08, 0xab, 0xf8, 0xbf, - 0xa4, 0x40, 0x65, 0x6b, 0x3d, 0x8c, 0x9b, 0x61, 0x4c, 0x2a, 0x55, 0xe7, 0x8f, 0xf0, 0xb5, 0x2b, - 0x43, 0xe4, 0xa3, 0x83, 0xff, 0xaa, 0x92, 0x3f, 0xe8, 0xa7, 0x6d, 0x5c, 0x93, 0xc7, 0xaa, 0x5e, - 0x30, 0x8b, 0x22, 0x14, 0xd4, 0x11, 0xfd, 0xba, 0x59, 0xf8, 0x1a, 0x84, 0x8d, 0xf4, 0xc3, 0x96, - 0xdc, 0x07, 0x56, 0xa5, 0x22, 0x7c, 0x89, 0x50, 0xab, 0x9d, 0xa0, 0x48, 0x5a, 0x2b, 0xae, 0x87, - 0x91, 0x5c, 0x5e, 0x9c, 0xb8, 0xf7, 0xe5, 0x5f, 0x92, 0xb0, 0xe5, 0xd5, 0xe5, 0x5f, 0x1e, 0xb6, - 0x50, 0x4a, 0x6a, 0x48, 0xf8, 0xb2, 0x10, 0x46, 0xf7, 0x33, 0x08, 0x43, 0x42, 0x17, 0xb7, 0xdc, - 0xc8, 0x6d, 0xa6, 0xb5, 0x36, 0xce, 0x85, 0x73, 0x21, 0xe9, 0xa2, 0xce, 0xff, 0xa5, 0x1d, 0x34, - 0x17, 0x86, 0x73, 0x3e, 0xaa, 0xba, 0x2d, 0xaf, 0xea, 0x06, 0x41, 0x98, 0xb8, 0x09, 0x1e, 0x06, - 0xfc, 0xd5, 0x3e, 0x0b, 0x76, 0x4e, 0xc6, 0x77, 0xee, 0x79, 0x09, 0xf2, 0xbd, 0x38, 0x41, 0x8d, - 0x09, 0x3f, 0x9c, 0x71, 0xfd, 0x3b, 0xb8, 0xc5, 0x1a, 0xfa, 0x40, 0x1b, 0xc5, 0x09, 0xdc, 0x02, - 0x9e, 0x76, 0x1b, 0x8d, 0x08, 0xc5, 0xf1, 0x16, 0x6b, 0xa7, 0xb5, 0xbf, 0xbf, 0x96, 0xfe, 0x69, - 0xdf, 0x07, 0xbb, 0x34, 0xb5, 0xe3, 0x56, 0x18, 0xc4, 0x08, 0x5e, 0x02, 0xdb, 0xbc, 0xd8, 0x59, - 0x60, 0xa5, 0x9c, 0x39, 0x5c, 0xcc, 0x21, 0xbc, 0xb0, 0xcc, 0xbe, 0xb1, 0xd5, 0xbf, 0xf1, 0xaf, - 0x9f, 0x3b, 0x60, 0xd5, 0x86, 0x3c, 0x95, 0x3c, 0xfb, 0x9c, 0xb4, 0xb1, 0x1a, 0x19, 0xa0, 0x72, - 0xac, 0x01, 0xb0, 0x75, 0xd5, 0x29, 0xd8, 0xcb, 0x60, 0xbb, 0x1c, 0x2c, 0x55, 0x04, 0x11, 0x6d, - 0xc5, 0x53, 0x4a, 0xb4, 0xcf, 0x80, 0x1d, 0x92, 0xf6, 0x46, 0x1b, 0x4d, 0x2f, 0x28, 0x07, 0x7b, - 0x4f, 0x3a, 0x2c, 0xb4, 0x32, 0x85, 0xfa, 0x0a, 0xd8, 0x2a, 0x87, 0xea, 0x76, 0x8a, 0x89, 0x40, - 0xb7, 0x78, 0x0a, 0x69, 0xf6, 0x28, 0x78, 0x6e, 0x32, 0xbe, 0xd9, 0xd1, 0x4a, 0xd2, 0xcd, 0x59, - 0xb1, 0x8b, 0x81, 0x3b, 0xe3, 0xa3, 0x46, 0x8a, 0x75, 0x08, 0xf4, 0x61, 0xdd, 0x75, 0xbc, 0x06, - 0x16, 0xbd, 0xaa, 0xf6, 0x34, 0xfe, 0x7b, 0xb2, 0x61, 0x3f, 0x00, 0x7b, 0x4a, 0x44, 0x50, 0xc4, - 0xd7, 0xc0, 0x2e, 0x2f, 0x76, 0x88, 0x18, 0x32, 0xf8, 0x0c, 0xbe, 0x83, 0x48, 0x61, 0x11, 0xf7, - 0x76, 0x4f, 0x27, 0xd8, 0x1e, 0xcb, 0x5a, 0xa6, 0xbd, 0xde, 0x03, 0xfa, 0x47, 0x60, 0x6f, 0x99, - 0x0c, 0x0a, 0xff, 0x3a, 0xb0, 0x33, 0xf8, 0x54, 0x1d, 0xca, 0xf0, 0x0f, 0x7b, 0x5a, 0xd1, 0x85, - 0xe9, 0x87, 0x0b, 0x8f, 0x47, 0xc8, 0x4d, 0xc2, 0x1e, 0xa6, 0x9f, 0x58, 0x5b, 0x39, 0xfd, 0x08, - 0x83, 0x3a, 0x29, 0xa7, 0x9b, 0x7e, 0xbc, 0x3c, 0x95, 0x3e, 0xd7, 0x8d, 0x90, 0x2a, 0xf4, 0xb9, - 0xce, 0x03, 0x55, 0xeb, 0x73, 0xbd, 0x80, 0x53, 0xaa, 0xcf, 0x9d, 0x62, 0xf6, 0xed, 0x1c, 0x4c, - 0x4e, 0x7d, 0xca, 0x95, 0x81, 0x67, 0xb0, 0x42, 0xcf, 0x40, 0x90, 0xab, 0x64, 0xc0, 0xeb, 0xba, - 0x8e, 0x01, 0x27, 0xcd, 0xbe, 0x23, 0x6b, 0x29, 0xb7, 0xcc, 0xf5, 0x44, 0x41, 0xaa, 0x2e, 0xf9, - 0x05, 0x50, 0xa5, 0x2e, 0xd2, 0xf5, 0x4f, 0xa2, 0x2e, 0xe9, 0xf2, 0x77, 0x1e, 0xec, 0x1e, 0x77, - 0x83, 0x5b, 0xad, 0x86, 0x9b, 0xa0, 0x51, 0xdf, 0xa7, 0x2b, 0x79, 0x5a, 0x38, 0x2e, 0x57, 0x99, - 0x36, 0x78, 0x4e, 0x2f, 0x80, 0x02, 0x7e, 0x0d, 0xec, 0xac, 0xbb, 0x81, 0xd3, 0xc6, 0x05, 0x1d, - 0xd7, 0xf7, 0xb3, 0xed, 0x25, 0x2b, 0x2b, 0x82, 0xde, 0x56, 0xd7, 0x88, 0xb5, 0x47, 0xc1, 0x9e, - 0xac, 0x59, 0x7e, 0xfb, 0xc9, 0x8a, 0x94, 0x23, 0x7f, 0x04, 0xf6, 0x96, 0x89, 0x60, 0x2b, 0x0a, - 0x87, 0x5d, 0xd8, 0x16, 0x19, 0xfc, 0xdc, 0x8a, 0x52, 0xd7, 0x8a, 0xb6, 0xc7, 0x0a, 0x8d, 0xe7, - 0xd7, 0x9e, 0x72, 0x02, 0x3f, 0x05, 0xf6, 0x95, 0xca, 0xa0, 0x0c, 0x6e, 0x80, 0xdd, 0x45, 0x06, - 0x85, 0xc5, 0x51, 0xa4, 0xb0, 0xa3, 0xae, 0x17, 0x6e, 0x1f, 0x05, 0x9b, 0xb2, 0xf6, 0xa7, 0xb1, - 0x85, 0x53, 0x8e, 0x79, 0x0a, 0x6c, 0x2e, 0xd4, 0xa1, 0x18, 0x8f, 0x80, 0x0d, 0x1c, 0x46, 0x62, - 0x32, 0x89, 0x88, 0xd6, 0xd7, 0xc5, 0xaa, 0xf6, 0x2d, 0x30, 0x9c, 0x49, 0x23, 0x73, 0x33, 0xdf, - 0x7b, 0x3d, 0xcd, 0x40, 0x04, 0x76, 0x28, 0xc5, 0x52, 0xb0, 0x63, 0xa0, 0xc2, 0x81, 0xa5, 0xeb, - 0x87, 0xbc, 0x1f, 0x37, 0xd7, 0xe5, 0xb2, 0xec, 0x23, 0xe0, 0xd9, 0x71, 0x37, 0xc0, 0x0b, 0x37, - 0xa2, 0x93, 0xb2, 0xac, 0xfb, 0x26, 0x71, 0x97, 0x0b, 0x55, 0x28, 0xa0, 0x2a, 0x18, 0xec, 0x00, - 0xc2, 0xdb, 0x05, 0x05, 0x24, 0xc2, 0x58, 0x57, 0x17, 0x2a, 0xda, 0x37, 0xc1, 0xf6, 0x71, 0x37, - 0xb8, 0xd1, 0x9e, 0x69, 0x7a, 0x09, 0xd1, 0xce, 0x69, 0xf7, 0xa1, 0x1f, 0xba, 0x8d, 0x45, 0x75, - 0xdd, 0x0c, 0x1e, 0x11, 0xa9, 0x54, 0x0a, 0xf4, 0x02, 0x18, 0xea, 0x00, 0x8d, 0x71, 0x91, 0x74, - 0x16, 0xb5, 0x48, 0x21, 0x11, 0xf1, 0xa6, 0xba, 0x54, 0x12, 0x1d, 0x75, 0xf2, 0x85, 0x2a, 0xe5, - 0x52, 0x40, 0x27, 0xa3, 0x2e, 0x17, 0x2b, 0x8e, 0x3a, 0xc5, 0x9e, 0xce, 0x1f, 0x29, 0xf8, 0xcd, - 0x75, 0xb9, 0x2c, 0xfb, 0xbd, 0x60, 0xdf, 0x04, 0x4a, 0xc6, 0xc3, 0x76, 0x90, 0x4c, 0xe2, 0x63, - 0x50, 0x34, 0x19, 0xd4, 0xfd, 0x36, 0x3e, 0x2b, 0x4c, 0x06, 0x82, 0x1e, 0xe8, 0x69, 0x90, 0x43, - 0x54, 0x94, 0xd2, 0xa0, 0x7f, 0xda, 0x17, 0xc0, 0xfe, 0x72, 0xf9, 0x94, 0xcf, 0x46, 0xb0, 0xba, - 0xde, 0x29, 0x48, 0xa5, 0x93, 0x3f, 0xec, 0x39, 0x70, 0x20, 0x95, 0x70, 0x29, 0x8c, 0x50, 0xdd, - 0x8d, 0x93, 0xde, 0x40, 0x0e, 0x03, 0x30, 0x9b, 0x09, 0xa0, 0x38, 0xb9, 0x5f, 0xec, 0x71, 0x70, - 0xd0, 0xa8, 0x21, 0x2d, 0xda, 0xbb, 0x60, 0xf7, 0x04, 0x4a, 0xae, 0xba, 0xde, 0x3c, 0xa2, 0x7c, - 0xaf, 0xa2, 0xa4, 0xa3, 0x56, 0x35, 0x34, 0x17, 0xa1, 0x64, 0x51, 0x7d, 0xf9, 0x5e, 0xf0, 0x9c, - 0x5e, 0x36, 0x45, 0x76, 0x02, 0xac, 0x89, 0xf0, 0x2f, 0x58, 0xf4, 0xc0, 0xd1, 0xe1, 0x11, 0xee, - 0x1c, 0x7d, 0x6c, 0xe4, 0xa6, 0xd7, 0x44, 0x71, 0xe2, 0x36, 0x5b, 0xa8, 0x71, 0xdb, 0xf5, 0xdb, - 0xa8, 0x46, 0x4b, 0xdb, 0x3f, 0x6b, 0xe1, 0x1e, 0xb8, 0x16, 0xa0, 0x6b, 0x6d, 0x36, 0x5a, 0x3d, - 0x91, 0xd8, 0x0b, 0xd6, 0x87, 0x01, 0x72, 0xc2, 0x76, 0xe2, 0x88, 0x64, 0xd6, 0x86, 0xbc, 0x74, - 0x9e, 0xec, 0x4a, 0x91, 0xec, 0x2c, 0x38, 0x64, 0x86, 0x65, 0x91, 0xa4, 0x3f, 0x6e, 0x81, 0x91, - 0x7c, 0x43, 0x6c, 0xf8, 0x97, 0x8b, 0xb7, 0xa8, 0x8b, 0x2b, 0x0b, 0xba, 0xe8, 0x81, 0xaa, 0x31, - 0xa8, 0xa5, 0xec, 0x00, 0x5e, 0xf1, 0x7b, 0x1a, 0xf8, 0x43, 0x00, 0xa6, 0x1d, 0x50, 0x98, 0x6c, - 0x83, 0x61, 0xae, 0x0d, 0xcd, 0xf0, 0xf3, 0x1d, 0x50, 0x06, 0x6a, 0x91, 0x1d, 0xf0, 0x69, 0x0b, - 0x1c, 0x91, 0xb4, 0xd5, 0xbb, 0x12, 0x74, 0xd7, 0x07, 0x65, 0xaa, 0xe0, 0x83, 0xa3, 0xdd, 0xa0, - 0x5b, 0x64, 0x67, 0x40, 0x30, 0x38, 0x81, 0x12, 0xc1, 0x7e, 0xb2, 0xa7, 0xc0, 0x06, 0xee, 0x37, - 0xda, 0xc0, 0x49, 0xb0, 0x86, 0x33, 0x8a, 0x06, 0x8e, 0x6e, 0xe4, 0x1b, 0x38, 0x39, 0x42, 0x4a, - 0x8f, 0xf5, 0x7f, 0xe9, 0x3b, 0x3b, 0x9e, 0x22, 0x5b, 0x10, 0x2d, 0x6e, 0x6f, 0x02, 0x1b, 0x27, - 0x50, 0x72, 0x33, 0x4c, 0x5c, 0xff, 0x46, 0xe2, 0xde, 0x47, 0x69, 0x2b, 0x73, 0xe0, 0xd9, 0xdc, - 0xef, 0x99, 0x77, 0x65, 0x8d, 0xdb, 0xcc, 0x56, 0xda, 0xfe, 0xb1, 0x17, 0x3a, 0x32, 0xff, 0xe9, - 0x3b, 0x3b, 0x9e, 0x25, 0x2e, 0xbd, 0xb8, 0x71, 0x7f, 0xc4, 0x0b, 0xab, 0x4d, 0x37, 0xb9, 0x37, - 0x32, 0x19, 0x24, 0x7f, 0xff, 0x07, 0x87, 0x01, 0xf5, 0xf5, 0x4d, 0x06, 0x09, 0x6d, 0x9a, 0xd4, - 0x3f, 0xbd, 0xea, 0xdf, 0x3e, 0xb3, 0xc3, 0xea, 0x98, 0x1a, 0x13, 0x28, 0xdd, 0x07, 0x71, 0x53, - 0xb9, 0x3d, 0x44, 0x69, 0xf0, 0x08, 0x83, 0xbe, 0x42, 0xf4, 0x08, 0xb4, 0xc0, 0xb0, 0x4a, 0xea, - 0x32, 0xf1, 0x78, 0x0f, 0xb0, 0x27, 0x50, 0xf2, 0x5a, 0xdb, 0x4f, 0x3c, 0x0d, 0x99, 0x6d, 0xa0, - 0x9f, 0xa2, 0x47, 0x1d, 0x3a, 0x2b, 0xf7, 0xf7, 0xd7, 0xd8, 0x0f, 0x3a, 0x42, 0xef, 0xc4, 0x3b, - 0x99, 0x5a, 0x7c, 0x66, 0x27, 0x3f, 0x4d, 0x50, 0x11, 0xe9, 0x03, 0x47, 0x37, 0x8b, 0x9a, 0x46, - 0x2b, 0xcd, 0x86, 0xb5, 0xb4, 0x9c, 0xdd, 0xc4, 0x36, 0x07, 0xfe, 0x70, 0x29, 0x0a, 0x9b, 0x54, - 0x3a, 0x15, 0x3c, 0x19, 0xdc, 0x40, 0xfe, 0x6c, 0x8a, 0x7e, 0x1f, 0x58, 0x9f, 0xda, 0x35, 0xe2, - 0x90, 0xac, 0xa3, 0x3f, 0x8f, 0x96, 0x8f, 0xcc, 0x07, 0xb1, 0x09, 0x52, 0xd2, 0xdc, 0x32, 0x8d, - 0x11, 0xa1, 0xfa, 0x0a, 0xf2, 0xd1, 0x9c, 0x9b, 0x20, 0xbe, 0x03, 0x27, 0x83, 0xdc, 0xe9, 0x7c, - 0xe9, 0xa8, 0x96, 0x34, 0xb7, 0x4c, 0x54, 0x7f, 0xc5, 0xc2, 0x3b, 0x76, 0xd6, 0xcf, 0x14, 0x45, - 0x18, 0xa9, 0x08, 0x1f, 0x04, 0x1b, 0x1a, 0x69, 0x99, 0x1c, 0xe5, 0xc1, 0xec, 0x43, 0x4a, 0x5a, - 0xd2, 0x3b, 0x2b, 0x4a, 0x7b, 0x67, 0xa5, 0xd8, 0x3b, 0xaf, 0x83, 0xc3, 0x86, 0x00, 0x97, 0x4d, - 0x1b, 0x76, 0xeb, 0x00, 0xf4, 0xd4, 0x31, 0x1a, 0x6d, 0x98, 0xc7, 0xf6, 0xa2, 0xa6, 0xb9, 0x65, - 0xa2, 0x79, 0x84, 0xae, 0xf0, 0x2d, 0xaf, 0xce, 0xaf, 0xf0, 0x3a, 0x7f, 0x6a, 0xba, 0xf8, 0xb3, - 0x2a, 0xcb, 0x84, 0x6d, 0x06, 0x2f, 0x9a, 0x74, 0xcf, 0x9c, 0x0a, 0xe3, 0x78, 0xac, 0x1d, 0x34, - 0x7c, 0x34, 0x9a, 0x8c, 0xf9, 0x61, 0xfd, 0xbe, 0xc1, 0xe6, 0xbe, 0x0b, 0x3c, 0x33, 0xd3, 0x29, - 0xea, 0xdc, 0x43, 0xde, 0xdc, 0xbd, 0x04, 0xf7, 0xf9, 0xca, 0xda, 0x00, 0xfe, 0xed, 0x32, 0xfe, - 0xc9, 0x76, 0xc9, 0x19, 0x40, 0xd9, 0x06, 0xa5, 0x76, 0x1a, 0x0c, 0xf8, 0x61, 0x1c, 0x3b, 0x33, - 0xf8, 0x2b, 0xdd, 0x46, 0x87, 0xc4, 0xd5, 0x13, 0x6f, 0xce, 0xa4, 0x7a, 0x0d, 0xf8, 0x99, 0x28, - 0x7b, 0x33, 0xee, 0xaf, 0xab, 0xe8, 0x01, 0xe9, 0xb3, 0xc9, 0xf4, 0xac, 0x69, 0x9f, 0x05, 0x9b, - 0xf2, 0x1f, 0x68, 0x73, 0x36, 0x58, 0x1b, 0xa0, 0x07, 0x89, 0x93, 0x23, 0x36, 0x10, 0xb0, 0xb2, - 0xf6, 0x21, 0xb0, 0x3e, 0x1d, 0x06, 0x83, 0x41, 0xfb, 0xb0, 0x85, 0x8d, 0x05, 0x51, 0x99, 0x9e, - 0x07, 0xab, 0xd9, 0x71, 0x7f, 0xe0, 0xe8, 0x3b, 0x72, 0x76, 0x07, 0x2e, 0x4b, 0x4a, 0xc0, 0x4d, - 0x60, 0xcd, 0x02, 0xeb, 0xc4, 0xfe, 0x1a, 0xfd, 0xab, 0xa3, 0xff, 0x68, 0x76, 0x16, 0xd5, 0x13, - 0x6f, 0x1e, 0x39, 0x11, 0x9a, 0x47, 0x41, 0x1b, 0x51, 0xc3, 0x68, 0x30, 0xfb, 0x50, 0x23, 0xbf, - 0xdb, 0x08, 0x13, 0x1e, 0xc5, 0xbf, 0x61, 0xe9, 0x99, 0xdb, 0xe7, 0x55, 0x00, 0x5a, 0xee, 0x9c, - 0x17, 0xe0, 0xab, 0x2b, 0x0a, 0xe7, 0x60, 0x6e, 0x73, 0xf2, 0x9a, 0x2d, 0x1f, 0x8d, 0xb7, 0xa3, - 0x38, 0x8c, 0xa6, 0xb3, 0xb2, 0x54, 0x40, 0x8d, 0xab, 0x6e, 0xff, 0x92, 0x05, 0x36, 0x17, 0xda, - 0xa1, 0x94, 0x0f, 0x82, 0x35, 0x98, 0x50, 0xba, 0x03, 0x4a, 0x39, 0xd3, 0x22, 0x70, 0x4a, 0x40, - 0xb5, 0x02, 0xa3, 0x3a, 0x64, 0x86, 0x8a, 0x34, 0x27, 0xc0, 0x7a, 0x37, 0xd8, 0x3a, 0x81, 0xe8, - 0x09, 0x21, 0xa8, 0xa3, 0x78, 0x49, 0xf5, 0xf8, 0x9d, 0x60, 0x9b, 0x5c, 0x38, 0xe5, 0x7d, 0x0a, - 0x80, 0xec, 0xea, 0x34, 0x35, 0x03, 0xb7, 0x88, 0x54, 0x58, 0xe5, 0x1a, 0x57, 0xd6, 0x3e, 0x0b, - 0x76, 0x4c, 0xa0, 0x64, 0xca, 0x4d, 0x50, 0x4c, 0x75, 0x8f, 0x95, 0x2b, 0xd7, 0xbb, 0xd7, 0xc1, - 0x4e, 0x75, 0xed, 0xc5, 0x62, 0x33, 0xe9, 0x98, 0xbb, 0xa0, 0x32, 0x81, 0x32, 0x63, 0x7c, 0x69, - 0x3b, 0xfd, 0x26, 0x1e, 0xd1, 0xa2, 0x6c, 0xca, 0xeb, 0x45, 0xd0, 0x9f, 0x9e, 0x0d, 0x52, 0x5a, - 0x39, 0x83, 0x2b, 0xab, 0x5a, 0x63, 0x25, 0x6d, 0x1f, 0x1b, 0x06, 0xc4, 0x71, 0x45, 0x3a, 0x2e, - 0x63, 0x3f, 0xf6, 0x50, 0x5c, 0x42, 0x74, 0xf8, 0xf7, 0x80, 0x75, 0xd4, 0x45, 0x26, 0x6e, 0xc2, - 0x6b, 0xc9, 0xaf, 0x74, 0x4f, 0xb2, 0x43, 0xf0, 0xbc, 0x41, 0x6b, 0x99, 0x17, 0x6b, 0xd0, 0xc7, - 0x65, 0x9c, 0x6c, 0x10, 0xe4, 0xc4, 0x32, 0x19, 0xb5, 0xf5, 0xbe, 0x28, 0xd4, 0xbe, 0x04, 0xb6, - 0x64, 0x0d, 0x5e, 0x0d, 0x1b, 0xc4, 0xde, 0x2c, 0x5a, 0xf3, 0xa2, 0x8b, 0xed, 0xca, 0xaa, 0x3e, - 0x6b, 0x70, 0x45, 0x0d, 0xf8, 0xde, 0x4c, 0xeb, 0x68, 0xcb, 0xb9, 0x8f, 0x1e, 0xda, 0x37, 0xc1, - 0x90, 0x44, 0x4e, 0x76, 0xe2, 0xe9, 0x0f, 0xc2, 0x06, 0xea, 0xc0, 0x0c, 0x29, 0xc2, 0x8a, 0x88, - 0xf0, 0xda, 0xec, 0x6c, 0xfd, 0x9e, 0xeb, 0x05, 0x9d, 0xaa, 0xb5, 0xbe, 0x80, 0x0a, 0xb0, 0x27, - 0xb0, 0x54, 0x6a, 0x5c, 0x2c, 0x06, 0xde, 0x2d, 0xac, 0x77, 0x05, 0x41, 0x8b, 0xc5, 0xf7, 0xcb, - 0x16, 0xbf, 0x29, 0xf6, 0xb2, 0x98, 0x9c, 0x03, 0x5b, 0x79, 0xbd, 0x76, 0x7c, 0x57, 0x18, 0x4e, - 0xa2, 0xe6, 0x5b, 0x38, 0x35, 0x9f, 0x72, 0xb9, 0xe1, 0xbb, 0xb2, 0xaa, 0x6f, 0xe5, 0xe0, 0x2a, - 0xfa, 0x5d, 0x10, 0x11, 0xa1, 0x05, 0x37, 0x6a, 0xd8, 0x3f, 0x67, 0xe1, 0x33, 0xb0, 0x0a, 0xe0, - 0xb5, 0x76, 0xe2, 0x7b, 0xd8, 0x6c, 0xf3, 0xe2, 0xc4, 0x0d, 0x92, 0x65, 0x07, 0x6c, 0xbf, 0x0c, - 0x76, 0x65, 0x2b, 0x50, 0x01, 0x95, 0xc1, 0x0a, 0x76, 0x15, 0x7b, 0x1c, 0x14, 0xf5, 0xbb, 0xa7, - 0x63, 0x4f, 0x60, 0x1f, 0x29, 0x91, 0x37, 0x3a, 0xef, 0x7a, 0xbe, 0x3b, 0xe3, 0xa3, 0x5e, 0x80, - 0xdd, 0x01, 0xa7, 0x0d, 0x04, 0xf5, 0x80, 0xd0, 0xc1, 0x37, 0xac, 0x74, 0x62, 0x05, 0x75, 0x74, - 0x2b, 0x98, 0x6d, 0xfb, 0xb3, 0x9e, 0x6f, 0x74, 0xdd, 0x6e, 0xb2, 0x6e, 0x92, 0xab, 0x56, 0x45, - 0x03, 0xe2, 0x55, 0x2b, 0x59, 0xc1, 0x70, 0xf8, 0x8e, 0xd3, 0x66, 0xc5, 0x8a, 0x57, 0xad, 0x52, - 0x69, 0xf6, 0x79, 0x3c, 0x5b, 0x04, 0xf9, 0x74, 0x42, 0x1a, 0x76, 0x32, 0xb1, 0x0f, 0xd5, 0x02, - 0x32, 0xfb, 0x70, 0x0d, 0xc6, 0x98, 0xae, 0xf3, 0xb6, 0x38, 0x99, 0xc5, 0xd3, 0x14, 0xad, 0x4b, - 0x6b, 0x50, 0x05, 0xe5, 0x9a, 0xe0, 0xb8, 0x98, 0x40, 0xac, 0xe5, 0x39, 0x8a, 0xf5, 0x29, 0xc2, - 0x43, 0x39, 0x84, 0x1b, 0x45, 0x84, 0x39, 0x4c, 0xb7, 0xb1, 0x87, 0xa4, 0x47, 0xbf, 0xe2, 0x10, - 0xe8, 0xc3, 0x37, 0xfa, 0xe9, 0x31, 0xa7, 0xb3, 0x4e, 0x76, 0xfe, 0x9e, 0x6c, 0xd8, 0xef, 0xc2, - 0xc6, 0xc4, 0xb2, 0xb8, 0x06, 0x6f, 0xe3, 0x6e, 0xec, 0xdd, 0x13, 0xd8, 0xb1, 0x70, 0xc9, 0x35, - 0x7e, 0x6a, 0xe1, 0x92, 0xdb, 0xfa, 0x9f, 0xc0, 0xdd, 0xbb, 0x5c, 0x3e, 0xbc, 0xc7, 0x60, 0x2f, - 0xf1, 0x18, 0x4e, 0x06, 0xbd, 0x43, 0x2f, 0xb9, 0x2d, 0xd1, 0xb8, 0x6e, 0x5d, 0xec, 0xf3, 0xd0, - 0x37, 0xbf, 0x48, 0x86, 0xef, 0xeb, 0x4c, 0x76, 0x7e, 0xd6, 0x2c, 0xf9, 0x72, 0x82, 0xc3, 0x1e, - 0x94, 0x2d, 0x08, 0x61, 0x0f, 0xa9, 0x5f, 0xa2, 0x64, 0x41, 0x19, 0xf2, 0x54, 0xf2, 0xec, 0x90, - 0x3f, 0x30, 0xaa, 0xed, 0xed, 0xcb, 0x00, 0x06, 0xa4, 0x8c, 0x53, 0xb0, 0x6d, 0x35, 0xe7, 0xc6, - 0x0d, 0x41, 0x5e, 0xb0, 0xfd, 0x3a, 0x38, 0xd6, 0xd5, 0x7e, 0xba, 0xe4, 0x00, 0x3e, 0xbe, 0x1a, - 0xcf, 0x00, 0xe5, 0x0e, 0xba, 0xd4, 0x0d, 0xc2, 0x57, 0xc1, 0x7a, 0xaa, 0x9f, 0x0e, 0x39, 0x65, - 0x76, 0xcc, 0xad, 0x95, 0xb2, 0x55, 0xb5, 0xa3, 0x60, 0x1d, 0xb3, 0x28, 0x6a, 0xa2, 0xc6, 0x1d, - 0x5c, 0xb4, 0xb6, 0x8e, 0x56, 0x25, 0x7f, 0xc6, 0xf0, 0x3a, 0x80, 0x6c, 0x26, 0x64, 0xf2, 0x56, - 0x1a, 0xcb, 0xdb, 0xc0, 0x6a, 0xa7, 0x22, 0x8f, 0x83, 0x4d, 0x19, 0x43, 0x47, 0x50, 0xce, 0xd5, - 0x58, 0x39, 0x37, 0x66, 0x5f, 0xc7, 0x98, 0x96, 0xc2, 0x03, 0x60, 0x03, 0x71, 0x21, 0xf0, 0x15, - 0xd6, 0xe0, 0x0a, 0xeb, 0xb1, 0xb7, 0x80, 0x2b, 0xfb, 0x51, 0x0b, 0xec, 0xae, 0x87, 0xc1, 0xac, - 0xd7, 0xc0, 0x6d, 0x78, 0x41, 0x82, 0xa2, 0x79, 0xd7, 0x77, 0x22, 0x77, 0xc1, 0x69, 0xa1, 0xa8, - 0x8e, 0x82, 0xc4, 0xf3, 0x51, 0xbc, 0xe5, 0xe9, 0x9d, 0x2b, 0xf7, 0xf7, 0x8f, 0x9d, 0xa4, 0x7e, - 0x96, 0xea, 0x9c, 0x97, 0xdc, 0x6b, 0xcf, 0x8c, 0xd4, 0xc3, 0x66, 0xd5, 0xf5, 0xfd, 0x30, 0x72, - 0x0f, 0xd3, 0xce, 0x4d, 0xff, 0xc4, 0x16, 0x25, 0xf1, 0xc0, 0xbc, 0x82, 0xea, 0xb5, 0x9d, 0xac, - 0x8d, 0x49, 0xda, 0x44, 0xcd, 0x5d, 0x98, 0x66, 0x0d, 0xc0, 0x36, 0xa8, 0xc8, 0x70, 0xcc, 0x77, - 0x06, 0x30, 0xde, 0xd2, 0xb7, 0xb8, 0xe6, 0xb7, 0x14, 0x9b, 0xc7, 0x9a, 0xd1, 0x31, 0xa7, 0x57, - 0x0d, 0xae, 0xae, 0x6d, 0x4d, 0xbb, 0xde, 0xe9, 0x1c, 0xb2, 0x3d, 0xd4, 0xe0, 0x14, 0xcb, 0xfe, - 0xec, 0x6a, 0x6c, 0x67, 0x1a, 0xdb, 0x65, 0x4f, 0xb4, 0xf4, 0x89, 0x96, 0xbe, 0xfd, 0x5a, 0xfa, - 0xe9, 0xd5, 0xf8, 0x9a, 0xbe, 0xdc, 0xda, 0x7f, 0xa2, 0x9e, 0x4f, 0xd4, 0xf3, 0xed, 0x57, 0xcf, - 0xdf, 0x59, 0x0d, 0xce, 0xf4, 0x74, 0x86, 0x7c, 0xa2, 0xae, 0x4f, 0xd4, 0xf5, 0xed, 0x57, 0xd7, - 0x77, 0xe1, 0x0c, 0x0f, 0x1a, 0x92, 0x3d, 0xe7, 0x75, 0xc6, 0x07, 0x35, 0xd2, 0x1b, 0xc1, 0xc5, - 0x85, 0xf0, 0x5d, 0x07, 0xbb, 0xb5, 0xa2, 0xa9, 0xc2, 0x1f, 0x00, 0x6b, 0xf1, 0x29, 0x22, 0x2d, - 0x21, 0x1e, 0x1b, 0x9e, 0xe9, 0x1c, 0x1b, 0xd2, 0x4f, 0xf6, 0xdd, 0x8e, 0xc8, 0xec, 0xe4, 0xbf, - 0xb4, 0x70, 0x6b, 0xe0, 0x39, 0xbd, 0xec, 0x1e, 0xf0, 0x1e, 0x03, 0x9b, 0xb9, 0xe8, 0x71, 0xc3, - 0x3c, 0x96, 0xb3, 0x60, 0x4b, 0xb1, 0x12, 0x6d, 0x7c, 0x27, 0xe8, 0xf3, 0x62, 0x59, 0xb2, 0xca, - 0xd3, 0x5e, 0x4c, 0x72, 0x53, 0x2e, 0xb3, 0x4b, 0xd6, 0x1a, 0x6a, 0x86, 0xf3, 0xae, 0x1f, 0xdf, - 0x6a, 0xdd, 0xea, 0xe8, 0xa1, 0xe0, 0xcd, 0xcc, 0x9f, 0x01, 0xad, 0xe2, 0x19, 0x70, 0x86, 0xdd, - 0x9f, 0xca, 0x25, 0x65, 0x8e, 0x9a, 0xbe, 0x88, 0x7e, 0xa7, 0x37, 0x40, 0xc3, 0x92, 0x18, 0x08, - 0x2a, 0x02, 0xbb, 0x6c, 0xb3, 0xf2, 0xf6, 0x34, 0xde, 0xcb, 0x85, 0x1b, 0xfb, 0x45, 0xa2, 0x8e, - 0xf0, 0x35, 0xbc, 0x81, 0xc4, 0xcc, 0xff, 0x9e, 0x47, 0xbf, 0x57, 0x44, 0x2f, 0x13, 0x95, 0x63, - 0x71, 0x1d, 0x3b, 0xa6, 0x0b, 0x05, 0x8c, 0xb4, 0x31, 0xcd, 0x11, 0xa0, 0xda, 0x48, 0xff, 0xb4, - 0xef, 0xe0, 0x7b, 0x90, 0xa2, 0xc8, 0xec, 0x7e, 0xe7, 0x69, 0xda, 0xba, 0xdc, 0x75, 0x50, 0xa8, - 0x98, 0x16, 0xb7, 0x17, 0xf0, 0xc9, 0x53, 0x49, 0xaa, 0x1c, 0xf3, 0x36, 0xd0, 0x9f, 0xdd, 0xc2, - 0x53, 0xd4, 0xec, 0x07, 0x9e, 0xd1, 0x4a, 0x91, 0xd1, 0x1c, 0x56, 0x4c, 0x75, 0xc3, 0x59, 0x44, - 0x72, 0x8e, 0x99, 0xe9, 0x70, 0x64, 0x0c, 0x2f, 0xe0, 0x86, 0xf0, 0xb4, 0x9d, 0x72, 0x63, 0x7a, - 0x9d, 0x31, 0x1e, 0x36, 0x9b, 0x5e, 0x62, 0x46, 0xd1, 0xf6, 0xb1, 0xe6, 0x6b, 0x24, 0x64, 0x0e, - 0xd5, 0x01, 0xec, 0x39, 0xaf, 0xe3, 0x4f, 0x14, 0xef, 0x6e, 0xa5, 0x13, 0x07, 0x27, 0xdb, 0x60, - 0xef, 0x47, 0x0d, 0x74, 0xea, 0x11, 0x89, 0xf6, 0xa8, 0xd8, 0x1a, 0x5d, 0x82, 0xba, 0x02, 0xdc, - 0x04, 0x7b, 0x4a, 0x44, 0x2c, 0x29, 0xe2, 0x93, 0x58, 0xdf, 0xe9, 0xc5, 0xf7, 0x82, 0x1b, 0x35, - 0x48, 0x91, 0x72, 0x9c, 0xc7, 0xb0, 0x56, 0x17, 0x2b, 0xb2, 0x98, 0x62, 0xec, 0x45, 0xa2, 0xf3, - 0x9a, 0xfc, 0x61, 0xd7, 0xf1, 0x78, 0x52, 0x4e, 0x2c, 0x9e, 0x60, 0x69, 0xef, 0x1d, 0xc9, 0x90, - 0x6b, 0x1a, 0xc9, 0x3a, 0xf0, 0x19, 0x2e, 0x6a, 0x21, 0x35, 0xcc, 0x76, 0x49, 0x7d, 0xd3, 0x9c, - 0x7d, 0x16, 0xd7, 0x06, 0x58, 0xf8, 0x42, 0x6c, 0xdf, 0xc6, 0x3e, 0x5b, 0xaa, 0xc2, 0x24, 0x7e, - 0xa7, 0x9d, 0xdc, 0x0b, 0x23, 0x2f, 0x79, 0xb8, 0xa8, 0x55, 0x23, 0xc2, 0x57, 0xc3, 0x0a, 0xb9, - 0x94, 0xc1, 0x55, 0xd0, 0xef, 0xa6, 0x3f, 0xf6, 0x1c, 0x55, 0xc2, 0x44, 0xd8, 0x31, 0x6e, 0x53, - 0x98, 0x96, 0xd3, 0xbe, 0x5b, 0x47, 0x4d, 0x64, 0x74, 0x15, 0xa5, 0x5f, 0x4e, 0x36, 0x81, 0x35, - 0x89, 0x1b, 0xcd, 0xa1, 0x84, 0xae, 0x26, 0xf4, 0x2f, 0x7b, 0x0e, 0x7b, 0xa6, 0x55, 0x8d, 0x66, - 0x4b, 0xfb, 0x3a, 0x16, 0x48, 0xc4, 0x5d, 0x0b, 0x6e, 0x95, 0xae, 0x28, 0x61, 0x84, 0x67, 0xca, - 0xda, 0x06, 0xff, 0xa7, 0x7d, 0xa7, 0xb8, 0x5c, 0xde, 0x6a, 0x85, 0x81, 0x79, 0x6a, 0x19, 0x63, - 0xb0, 0x42, 0x60, 0xd0, 0x2c, 0x2e, 0x87, 0x82, 0xe0, 0xcc, 0xc7, 0xba, 0x1a, 0x27, 0x46, 0xf7, - 0x3c, 0x52, 0xa4, 0xba, 0x7d, 0x47, 0x18, 0x25, 0x32, 0xf9, 0xa6, 0x51, 0x74, 0xe3, 0x9e, 0x1b, - 0xa1, 0x45, 0xa9, 0xdc, 0x47, 0x2d, 0x61, 0x28, 0xf2, 0x92, 0x29, 0x0d, 0x17, 0x0c, 0x92, 0xcb, - 0xcc, 0x8e, 0xdd, 0xed, 0xc4, 0x9d, 0x6f, 0x94, 0x51, 0xcf, 0x66, 0xef, 0xba, 0x48, 0x68, 0xca, - 0x76, 0xf1, 0x25, 0x20, 0xbf, 0x2d, 0x5c, 0x0a, 0xa3, 0x74, 0x16, 0x04, 0x8d, 0x9c, 0x89, 0xc8, - 0x11, 0xb2, 0x04, 0x42, 0xba, 0x88, 0xb2, 0x47, 0xd8, 0x5a, 0x29, 0x6f, 0x82, 0x92, 0x9e, 0x02, - 0x10, 0x77, 0xbe, 0x43, 0x77, 0x26, 0x5e, 0x07, 0xcb, 0xf6, 0xeb, 0xc1, 0x38, 0xf7, 0x8b, 0xfd, - 0x49, 0x0b, 0x5f, 0x20, 0xc9, 0xf6, 0x3f, 0x73, 0xf3, 0x48, 0xc3, 0x4e, 0x9c, 0x89, 0x2b, 0x35, - 0x1b, 0xfb, 0x2a, 0x51, 0x03, 0x16, 0xf0, 0x62, 0x26, 0xc7, 0x45, 0x7b, 0xe2, 0xa6, 0xa6, 0x27, - 0x4c, 0xf7, 0xf7, 0x62, 0x8f, 0x9c, 0xc6, 0x91, 0xcc, 0xd3, 0x11, 0x9a, 0xf7, 0xc2, 0x36, 0xcd, - 0x79, 0x26, 0xa7, 0xcd, 0xf2, 0x9d, 0xe8, 0x13, 0xa4, 0x37, 0xa5, 0x95, 0xb3, 0xcc, 0xeb, 0x34, - 0x3e, 0x6b, 0x91, 0x9a, 0x9a, 0x06, 0x76, 0xd9, 0xa0, 0x3f, 0x08, 0x13, 0x67, 0x36, 0x6c, 0x07, - 0xa4, 0xf3, 0x33, 0xeb, 0xbd, 0x2f, 0x08, 0x93, 0x4b, 0x9d, 0x9f, 0xed, 0xfd, 0xf8, 0xf2, 0x8a, - 0x84, 0x81, 0xb7, 0x9b, 0x12, 0x78, 0x59, 0x58, 0xfa, 0x07, 0xf1, 0x3d, 0x93, 0xbe, 0xe4, 0x32, - 0x31, 0xb1, 0xab, 0x00, 0xe2, 0x86, 0x2e, 0x3e, 0xe0, 0xf3, 0x52, 0x35, 0xdd, 0x7d, 0x1c, 0xbc, - 0x43, 0xa8, 0x40, 0x81, 0x6d, 0x07, 0x6b, 0xd0, 0x83, 0x62, 0xb6, 0x29, 0xfd, 0xd1, 0x3e, 0x02, - 0x36, 0xd2, 0x34, 0xf3, 0x51, 0x1a, 0xf4, 0x56, 0xda, 0xd0, 0x19, 0xf0, 0x6c, 0xae, 0x4a, 0x16, - 0xff, 0xd7, 0xdf, 0x39, 0x39, 0xe1, 0x1f, 0xc5, 0xd6, 0xfa, 0xbc, 0x98, 0x94, 0xb5, 0x4f, 0xe0, - 0x48, 0x15, 0x5c, 0xfb, 0x12, 0x4a, 0x43, 0xec, 0x0c, 0x1a, 0x0d, 0x99, 0x3d, 0xc4, 0xd7, 0xcb, - 0x12, 0x56, 0x07, 0x66, 0x11, 0x8b, 0xe4, 0xeb, 0x75, 0x21, 0x07, 0xb3, 0x99, 0x68, 0x7b, 0x1a, - 0x03, 0xa5, 0x77, 0xbe, 0x37, 0xea, 0x61, 0x84, 0x2e, 0x36, 0xdd, 0x45, 0x25, 0x57, 0x4d, 0x60, - 0x0a, 0x05, 0x89, 0x2c, 0xaa, 0x11, 0x3f, 0xdc, 0x21, 0x8f, 0x6a, 0xc4, 0xc5, 0x6b, 0xa4, 0x84, - 0xfd, 0x2e, 0x1c, 0x35, 0xc7, 0x6e, 0x3e, 0xbb, 0x40, 0x57, 0x96, 0xa1, 0x76, 0x05, 0xcf, 0x77, - 0x99, 0xe8, 0xee, 0x61, 0x4e, 0xf3, 0x41, 0x49, 0xdd, 0xf5, 0xa0, 0x62, 0x23, 0x9c, 0xe0, 0xa3, - 0x93, 0x16, 0x03, 0x8d, 0xd8, 0xbb, 0x99, 0x23, 0x0f, 0x7f, 0x8b, 0x8b, 0x67, 0xe1, 0xc5, 0xd9, - 0xbb, 0x37, 0xb0, 0xbd, 0xab, 0x69, 0x84, 0x05, 0x77, 0x62, 0x54, 0x8a, 0xe0, 0x4e, 0x02, 0x9c, - 0x16, 0xa1, 0x71, 0x3d, 0xc2, 0x52, 0x74, 0xbd, 0xed, 0x62, 0x1f, 0x58, 0x2f, 0x0a, 0x61, 0xff, - 0x34, 0x09, 0x7c, 0x32, 0x16, 0x98, 0x65, 0xb7, 0xaf, 0xc6, 0x9e, 0xb5, 0xc5, 0xae, 0x76, 0x44, - 0x8a, 0xfd, 0x2a, 0x4e, 0x10, 0x93, 0x82, 0xe8, 0x7a, 0x06, 0xda, 0x1f, 0xb2, 0x70, 0x66, 0x97, - 0x99, 0xb4, 0xb7, 0x9d, 0x4f, 0xd7, 0xf3, 0x41, 0xcb, 0x47, 0x35, 0x17, 0x96, 0x98, 0xcf, 0x2c, - 0xde, 0x32, 0xc9, 0x21, 0x3d, 0xa7, 0xd0, 0x4b, 0x7a, 0x44, 0xbc, 0x83, 0x37, 0x5c, 0x7d, 0x3b, - 0x2c, 0x32, 0x28, 0x9b, 0x35, 0x92, 0xc8, 0x20, 0x52, 0x29, 0x9b, 0x36, 0xc4, 0x61, 0x31, 0xde, - 0x8e, 0x22, 0x14, 0x24, 0x53, 0xe1, 0x42, 0x16, 0xdb, 0x49, 0xba, 0xce, 0x60, 0x14, 0xae, 0xe3, - 0xd9, 0xac, 0x91, 0xd0, 0xfd, 0x2a, 0x34, 0x23, 0xc4, 0xe8, 0x2c, 0xcf, 0x22, 0x54, 0xc3, 0xc4, - 0xd5, 0x6d, 0xf4, 0xb2, 0x06, 0x21, 0xec, 0x0a, 0x21, 0xa3, 0x24, 0x4a, 0x5e, 0x52, 0x65, 0xb8, - 0xcd, 0x29, 0x9d, 0xa2, 0x99, 0x9e, 0x74, 0x61, 0x1c, 0xcb, 0x15, 0x46, 0x32, 0xb7, 0xd2, 0x19, - 0xa8, 0xc3, 0x4d, 0x92, 0xd5, 0xae, 0x15, 0xd2, 0xbd, 0x46, 0x38, 0xd8, 0xce, 0xa7, 0x93, 0x3a, - 0x5e, 0x86, 0x3e, 0x9d, 0xc6, 0x67, 0x54, 0x45, 0x03, 0x4b, 0x35, 0xb3, 0xf8, 0x45, 0xa9, 0xb7, - 0x99, 0x25, 0x4a, 0xe8, 0xbe, 0x1f, 0x6f, 0xe1, 0x93, 0xc7, 0x94, 0x17, 0x27, 0x28, 0xf0, 0x82, - 0xb9, 0xf1, 0x10, 0xcd, 0xce, 0x7a, 0x75, 0xcf, 0xcc, 0x5d, 0xa2, 0xb6, 0x3f, 0x3e, 0x48, 0x92, - 0x0a, 0xa4, 0x62, 0x29, 0xc8, 0x3b, 0xe0, 0x59, 0x3f, 0xfd, 0xee, 0xd4, 0x59, 0x01, 0x79, 0x84, - 0xa5, 0x54, 0xd4, 0x46, 0x5f, 0xf2, 0x2b, 0x7d, 0x46, 0x21, 0xdd, 0x04, 0x32, 0x1f, 0x46, 0xe7, - 0x7c, 0x7e, 0x29, 0xea, 0xd8, 0xdc, 0x59, 0x56, 0x49, 0x6f, 0xdc, 0x3e, 0x67, 0xe1, 0x00, 0xfe, - 0x92, 0x06, 0x28, 0xcb, 0xf7, 0x81, 0xf5, 0xd4, 0xd7, 0x30, 0x4b, 0x3f, 0x2d, 0x91, 0xab, 0x21, - 0x6d, 0xc9, 0xe8, 0x20, 0xf7, 0x5e, 0x9c, 0x04, 0x90, 0x22, 0x66, 0xc1, 0xfb, 0xdd, 0x76, 0x8a, - 0x2a, 0x86, 0xf2, 0xf3, 0x16, 0xf6, 0x77, 0x94, 0x36, 0xf0, 0x63, 0xd5, 0x29, 0xef, 0x11, 0x86, - 0x31, 0x5d, 0x93, 0x96, 0xac, 0x4f, 0x7e, 0xcf, 0x12, 0x3a, 0x5d, 0x25, 0xff, 0xc7, 0xaa, 0x4b, - 0x8e, 0x0b, 0x26, 0x2e, 0xbd, 0x34, 0x76, 0xe7, 0xe8, 0x38, 0xde, 0x0c, 0xb1, 0x1f, 0x24, 0x0d, - 0x91, 0xce, 0x0e, 0xff, 0x9f, 0xb2, 0x70, 0x08, 0xa3, 0x79, 0x35, 0xca, 0xb9, 0x01, 0x36, 0xb4, - 0xb2, 0xb2, 0x34, 0xbf, 0x60, 0xb1, 0xac, 0x07, 0x5b, 0xb9, 0xd6, 0xed, 0xdd, 0xd8, 0x25, 0x88, - 0x5d, 0x13, 0x29, 0x9e, 0x57, 0xbc, 0x38, 0x89, 0xbc, 0x99, 0x76, 0x92, 0x25, 0xbc, 0x7f, 0x88, - 0xa4, 0x5d, 0x28, 0x4b, 0x51, 0xc4, 0x77, 0xc1, 0x33, 0x49, 0xa7, 0xc8, 0x12, 0x81, 0x1d, 0x48, - 0x58, 0x7b, 0xf6, 0x18, 0x3e, 0x50, 0xf2, 0x49, 0x6d, 0xb9, 0xfd, 0xcc, 0xe0, 0xbe, 0xf1, 0x53, - 0xc4, 0x91, 0x24, 0x15, 0xf2, 0xff, 0x9f, 0x20, 0x47, 0xee, 0x96, 0xae, 0xa2, 0x07, 0xc9, 0xf8, - 0xbd, 0x76, 0xd4, 0x59, 0xb6, 0x31, 0xb4, 0x2e, 0x92, 0x9e, 0xec, 0x2b, 0xd8, 0xa0, 0xd2, 0x89, - 0xa0, 0x34, 0x0d, 0x3a, 0xeb, 0x1c, 0xde, 0xe1, 0x53, 0xcf, 0x0c, 0xd1, 0xcd, 0x4b, 0x61, 0x64, - 0x9a, 0x71, 0x79, 0x1e, 0xeb, 0x95, 0xaa, 0x3a, 0x85, 0x51, 0x01, 0x7d, 0x74, 0xdb, 0x48, 0x13, - 0xfe, 0xb3, 0xbf, 0xa9, 0x3d, 0x40, 0x04, 0x30, 0x8b, 0xa8, 0x1b, 0x08, 0x97, 0x71, 0x87, 0x6a, - 0x24, 0x64, 0x17, 0xf5, 0x03, 0xcc, 0x73, 0x91, 0x02, 0xe1, 0x7f, 0x12, 0xfa, 0x82, 0x1a, 0xeb, - 0xbd, 0xf6, 0x45, 0xb1, 0x3a, 0xeb, 0x0b, 0xea, 0xe0, 0xc9, 0xfa, 0x22, 0xfd, 0xdb, 0x1e, 0x63, - 0x77, 0x86, 0x93, 0x81, 0x97, 0x78, 0xd8, 0xa9, 0xda, 0xf9, 0x74, 0xb1, 0xe9, 0x9a, 0x5a, 0x47, - 0x3f, 0x49, 0xbd, 0x95, 0x1a, 0x19, 0x14, 0x49, 0x8d, 0xb7, 0x8f, 0xfa, 0xc7, 0xce, 0xf6, 0x38, - 0x7f, 0xd3, 0x3b, 0x0d, 0x6c, 0x48, 0x5d, 0xc4, 0xbb, 0x09, 0xdf, 0x3a, 0x1b, 0x91, 0x2e, 0x48, - 0xbc, 0x8e, 0x37, 0x8d, 0x32, 0x31, 0xcb, 0xc8, 0xa3, 0x38, 0x12, 0x54, 0xb9, 0x17, 0x35, 0x12, - 0x05, 0x19, 0xcb, 0xc7, 0xe0, 0xe8, 0x67, 0x7f, 0xcd, 0x02, 0xcf, 0x5c, 0x6f, 0xa3, 0xe8, 0xe1, - 0x0d, 0x14, 0xcd, 0x7b, 0x75, 0x04, 0xdf, 0x0f, 0xfa, 0xb3, 0x47, 0x53, 0xe0, 0xb0, 0xf8, 0x38, - 0x4a, 0xfe, 0x85, 0x95, 0xca, 0x0e, 0xe5, 0x77, 0x82, 0xd9, 0xde, 0xf6, 0xe1, 0x7f, 0xf8, 0xfe, - 0xc7, 0x57, 0x6c, 0x82, 0x1b, 0xab, 0x92, 0x97, 0x7c, 0xe1, 0x47, 0x2c, 0xb0, 0x4e, 0xcc, 0xfa, - 0x86, 0xbb, 0x0b, 0x12, 0x8b, 0xc9, 0xe2, 0x95, 0xe7, 0xf4, 0x85, 0x68, 0xdb, 0xfb, 0x7f, 0xa6, - 0xc3, 0x14, 0x03, 0xd8, 0x0e, 0xb7, 0x8a, 0x00, 0x84, 0x8c, 0x72, 0xb8, 0x00, 0xfa, 0xd2, 0x31, - 0x80, 0xdb, 0x0b, 0xb2, 0xf9, 0x89, 0x5d, 0x19, 0x56, 0x7d, 0xa6, 0x8d, 0x1e, 0x62, 0x8d, 0xee, - 0x82, 0x3b, 0xc4, 0x46, 0xc9, 0x46, 0x51, 0x7d, 0x94, 0xb6, 0xfb, 0x18, 0xfe, 0x90, 0xdc, 0xc1, - 0xe9, 0x33, 0x4e, 0xe1, 0x89, 0x42, 0x9b, 0x46, 0x09, 0xb1, 0x95, 0x93, 0x5d, 0xd7, 0xa3, 0x24, - 0x6e, 0x33, 0x12, 0xaf, 0xc2, 0xc9, 0x12, 0x12, 0xf4, 0xc5, 0xe6, 0xb8, 0xfa, 0x48, 0x4c, 0xb1, - 0x7d, 0x5c, 0xcd, 0xa7, 0xc7, 0xc2, 0xdf, 0xb5, 0xf0, 0x0b, 0x0b, 0x85, 0xc4, 0x0d, 0xf8, 0x7c, - 0x01, 0xa9, 0x2a, 0x9b, 0xb3, 0x72, 0xc0, 0xa4, 0x28, 0xe5, 0x71, 0x9e, 0xf1, 0x38, 0x0e, 0x8f, - 0x8a, 0x3c, 0x58, 0x28, 0x1d, 0xcf, 0xe5, 0x11, 0xbf, 0x11, 0x3e, 0x86, 0x9f, 0xb7, 0x70, 0x82, - 0xae, 0x34, 0x65, 0x1b, 0x1e, 0x2e, 0x20, 0xd1, 0x25, 0x86, 0x57, 0x46, 0x4c, 0x8b, 0x53, 0xf0, - 0x27, 0x19, 0xf8, 0x43, 0xf0, 0x80, 0x08, 0x3e, 0xdf, 0xb3, 0x82, 0x52, 0xfd, 0x96, 0x05, 0xde, - 0x21, 0x49, 0xc5, 0x86, 0xfb, 0x0b, 0x00, 0x14, 0x99, 0xe0, 0x95, 0xe7, 0x0d, 0x4a, 0x52, 0x94, - 0x2f, 0x33, 0x94, 0xc7, 0xe0, 0x11, 0x11, 0x65, 0x96, 0xc6, 0xad, 0xe9, 0xe1, 0xbf, 0xb2, 0x70, - 0x64, 0x89, 0xea, 0xd1, 0x09, 0xf8, 0x82, 0x64, 0xaa, 0x6b, 0xdf, 0xc0, 0xa8, 0x1c, 0xe9, 0xa2, - 0x06, 0x25, 0x31, 0xca, 0x48, 0x9c, 0x80, 0xc7, 0xf3, 0x2b, 0x05, 0x89, 0xe9, 0xf5, 0xc3, 0x58, - 0xc7, 0xe3, 0x43, 0x16, 0x58, 0x2b, 0x3c, 0x03, 0x05, 0x6d, 0xc9, 0x4a, 0x91, 0x7b, 0x3b, 0xaa, - 0xb2, 0x5b, 0x5b, 0x86, 0xa2, 0xdb, 0xcb, 0xd0, 0x6d, 0x85, 0x43, 0xf9, 0xd9, 0xd8, 0xb1, 0xb0, - 0xf1, 0x05, 0x6b, 0x47, 0x59, 0x37, 0xc9, 0x9f, 0x72, 0x82, 0x07, 0x0b, 0xed, 0xa8, 0x5f, 0x5e, - 0xaa, 0x1c, 0x32, 0x2b, 0x4c, 0xd1, 0x9d, 0x63, 0xe8, 0x8e, 0xc2, 0x17, 0x44, 0x74, 0x69, 0x86, - 0x19, 0xc6, 0x57, 0x7d, 0x94, 0x2d, 0x0c, 0x9c, 0xb2, 0x7e, 0x81, 0x8c, 0xbf, 0xea, 0xb9, 0x26, - 0xc9, 0xf8, 0x97, 0x3c, 0x1c, 0x25, 0x19, 0xff, 0xb2, 0xb7, 0xa0, 0xec, 0x17, 0x19, 0x87, 0x03, - 0x70, 0xbf, 0x94, 0x43, 0x4c, 0x48, 0x08, 0x13, 0xed, 0x9f, 0x2d, 0x16, 0xb5, 0xa3, 0x7a, 0xa1, - 0x09, 0xbe, 0x58, 0x80, 0x63, 0xf2, 0x80, 0x54, 0xe5, 0x44, 0xb7, 0xd5, 0x28, 0x95, 0x2b, 0x8c, - 0xca, 0x79, 0x78, 0x4e, 0x33, 0x1c, 0x4e, 0x8c, 0xfc, 0xd9, 0xea, 0xa3, 0xdc, 0xe3, 0x44, 0xc2, - 0xd8, 0x7c, 0xcf, 0x2a, 0x46, 0x08, 0xe5, 0xdf, 0x1c, 0x92, 0xf0, 0x33, 0x79, 0x35, 0x4a, 0xc2, - 0xcf, 0xe8, 0xf5, 0x27, 0xfb, 0x2a, 0xe3, 0x37, 0x0e, 0x47, 0xe5, 0xfc, 0x68, 0xec, 0x03, 0x4a, - 0xf5, 0x4e, 0xc7, 0xf1, 0x47, 0x16, 0xb6, 0xe1, 0xca, 0x1f, 0x57, 0x82, 0xa7, 0xd5, 0x23, 0x52, - 0xf6, 0x64, 0x54, 0xe5, 0x4c, 0x4f, 0x75, 0x29, 0xe5, 0xbb, 0x8c, 0xf2, 0x35, 0xf8, 0x9a, 0x48, - 0x39, 0x4f, 0xb5, 0xf0, 0xfe, 0xd2, 0x63, 0x3d, 0xfd, 0xaf, 0x59, 0xf8, 0xd6, 0x57, 0x89, 0x06, - 0x1e, 0x31, 0x47, 0x9e, 0x92, 0x3d, 0xda, 0x4d, 0x15, 0xca, 0xf1, 0x32, 0xe3, 0x78, 0x0e, 0x9e, - 0xe9, 0x9e, 0x23, 0x63, 0xf4, 0x91, 0x74, 0x21, 0x4e, 0x9f, 0x64, 0x92, 0x2e, 0xc4, 0xb9, 0x27, - 0x9e, 0xa4, 0x0b, 0x71, 0xfe, 0x4d, 0x27, 0xfb, 0x20, 0x03, 0xb9, 0x13, 0x0e, 0x8b, 0x20, 0x29, - 0x36, 0x86, 0xe3, 0xcf, 0xb8, 0x9e, 0x95, 0xc5, 0x31, 0xab, 0x7a, 0x56, 0x13, 0x45, 0xad, 0xea, - 0x59, 0x5d, 0x98, 0xb4, 0x7d, 0x8a, 0x81, 0x3e, 0x0c, 0x0f, 0x4a, 0x40, 0xa7, 0xa1, 0x3d, 0x71, - 0x7e, 0x4b, 0xfb, 0xae, 0x85, 0x8f, 0xcc, 0xa5, 0x11, 0xd9, 0xf0, 0x25, 0xfd, 0x5c, 0xd6, 0x31, - 0x3a, 0xdd, 0x4b, 0x55, 0x83, 0x5d, 0x5b, 0xd4, 0x19, 0x25, 0xc5, 0xdf, 0x24, 0xa6, 0x52, 0x3e, - 0x64, 0x49, 0x62, 0x2a, 0x29, 0xe2, 0xad, 0x25, 0xa6, 0x92, 0x2a, 0x40, 0x5a, 0xbb, 0x53, 0x0a, - 0x30, 0x05, 0x33, 0x83, 0xce, 0xde, 0xc7, 0xf0, 0x1f, 0xc9, 0x4e, 0xa9, 0x0a, 0xb3, 0x92, 0xec, - 0x94, 0x25, 0xb1, 0xe2, 0x92, 0x9d, 0xb2, 0x2c, 0xc8, 0xdb, 0xae, 0x31, 0x0e, 0x13, 0xf0, 0xa2, - 0x49, 0x9f, 0x0b, 0x64, 0xb2, 0xa9, 0xcb, 0x13, 0xfb, 0x45, 0x0b, 0xbf, 0xd3, 0x29, 0xbe, 0x5e, - 0x03, 0xf7, 0x2a, 0x0e, 0x2f, 0xb9, 0x77, 0x68, 0x2a, 0xfb, 0x4a, 0xcb, 0x19, 0xcc, 0x5e, 0x72, - 0x72, 0x61, 0x16, 0x0a, 0xfc, 0x84, 0x05, 0x60, 0xf1, 0xc9, 0x1a, 0xb8, 0x4f, 0x65, 0x1a, 0xe5, - 0x51, 0xed, 0x2f, 0x2f, 0x68, 0x70, 0x60, 0xa4, 0x5d, 0xc4, 0xe1, 0xea, 0x98, 0xcb, 0x9a, 0xdc, - 0x9c, 0xbc, 0x12, 0x94, 0x67, 0x08, 0xe5, 0x95, 0xc0, 0x20, 0xf1, 0x47, 0x3b, 0xf1, 0xe8, 0x19, - 0x90, 0x65, 0xd9, 0x08, 0xe3, 0x9f, 0xf1, 0xf8, 0xb2, 0x05, 0xb6, 0xe9, 0x92, 0x76, 0x60, 0x01, - 0x56, 0x69, 0xf2, 0x50, 0x7e, 0x75, 0x34, 0xc9, 0x09, 0xb2, 0xc7, 0x18, 0x95, 0x93, 0xf0, 0x45, - 0xb9, 0x39, 0x51, 0xc6, 0xe5, 0xdf, 0x85, 0x23, 0x4c, 0xf1, 0x70, 0xab, 0x3c, 0xc2, 0x28, 0xcf, - 0xb8, 0x47, 0xba, 0xa8, 0x41, 0x89, 0x20, 0x46, 0xe4, 0x2e, 0x7c, 0xa7, 0xfc, 0x08, 0x23, 0x3f, - 0xf2, 0x8a, 0x4f, 0x08, 0x89, 0x2b, 0x64, 0xee, 0x7d, 0xa1, 0xc7, 0xf0, 0xb7, 0x57, 0xe0, 0x48, - 0x5a, 0xd3, 0x17, 0x18, 0xe0, 0x05, 0x63, 0x26, 0x8a, 0xb7, 0x79, 0x2a, 0xa3, 0x8b, 0x90, 0x40, - 0xfb, 0x66, 0x81, 0xf5, 0x8d, 0x0f, 0xdf, 0x5f, 0xd6, 0x37, 0x4e, 0x48, 0xe4, 0x38, 0x51, 0x2a, - 0xa8, 0xe7, 0xde, 0xfa, 0x73, 0x0b, 0x87, 0x96, 0x29, 0xf2, 0xf2, 0x61, 0x55, 0xe1, 0x11, 0x50, - 0x3d, 0x80, 0x54, 0x79, 0xc1, 0xbc, 0x82, 0x81, 0x07, 0x84, 0x3a, 0x11, 0xb4, 0xda, 0x01, 0x3f, - 0xbc, 0x82, 0x7b, 0xa2, 0xa9, 0x34, 0x19, 0x16, 0x9e, 0x37, 0x45, 0xa8, 0x1a, 0xee, 0x0b, 0xbd, - 0x0b, 0xa0, 0x94, 0xaf, 0x33, 0xca, 0x97, 0xe0, 0x2b, 0x86, 0x94, 0xb5, 0x83, 0x0e, 0x7f, 0x60, - 0xe1, 0xeb, 0x87, 0xb2, 0xd4, 0x60, 0x78, 0x4a, 0x01, 0xbe, 0xf4, 0x69, 0xab, 0xca, 0x4b, 0x3d, - 0xd4, 0xa4, 0x7c, 0x27, 0x19, 0xdf, 0x97, 0xe1, 0x59, 0x29, 0x5f, 0x37, 0x95, 0x52, 0x32, 0xd8, - 0xbf, 0xbe, 0x02, 0x5f, 0x4e, 0x76, 0x9b, 0x02, 0x0d, 0x2f, 0x77, 0x8d, 0x5e, 0x35, 0xfc, 0x93, - 0x4b, 0x20, 0x89, 0xf6, 0xcb, 0xbb, 0x59, 0xbf, 0x4c, 0xc3, 0xab, 0x5d, 0xf7, 0x8b, 0x5e, 0x23, - 0xfe, 0xd6, 0xc2, 0xb9, 0x9e, 0xd2, 0x87, 0xb6, 0xf2, 0x8e, 0xc1, 0x92, 0xf7, 0xc3, 0xf2, 0x8e, - 0xc1, 0xb2, 0xd7, 0xc0, 0xec, 0x69, 0x46, 0xec, 0x22, 0x1c, 0xcf, 0x79, 0x35, 0xd5, 0xcf, 0x84, - 0x69, 0x9c, 0x57, 0x5f, 0xb3, 0xc0, 0x90, 0xf2, 0xd5, 0x20, 0x38, 0xa2, 0xd8, 0x57, 0x55, 0x7c, - 0xaa, 0xc6, 0xe5, 0x0d, 0x66, 0xac, 0xee, 0x9d, 0x22, 0x0d, 0x23, 0xba, 0xf2, 0x2a, 0x1e, 0x02, - 0x93, 0xac, 0xbc, 0xfa, 0x27, 0xc7, 0x24, 0x2b, 0x6f, 0xc9, 0x1b, 0x63, 0xda, 0x95, 0x97, 0xe3, - 0x20, 0x0c, 0x97, 0x30, 0x19, 0xff, 0x92, 0x98, 0x15, 0xaa, 0xe7, 0xd6, 0xa0, 0x16, 0x92, 0xec, - 0x69, 0x37, 0x89, 0x59, 0x51, 0xf6, 0x96, 0x9b, 0x7d, 0x81, 0xb1, 0x78, 0x11, 0x1e, 0x53, 0xb3, - 0x10, 0xc6, 0x28, 0xce, 0x9d, 0x83, 0x37, 0x2b, 0x9e, 0x39, 0x83, 0x87, 0x14, 0xbe, 0x7c, 0xe9, - 0xa3, 0x5f, 0x95, 0xc3, 0x86, 0xa5, 0x29, 0xf4, 0x09, 0x06, 0xfd, 0x2c, 0x3c, 0x2d, 0x73, 0xfe, - 0x47, 0xd9, 0xb4, 0x27, 0xcf, 0x73, 0x89, 0xe6, 0x1d, 0x7d, 0xb5, 0x0d, 0xdb, 0xaa, 0x15, 0xf5, - 0xab, 0x67, 0x12, 0x5d, 0xd2, 0x3f, 0x5e, 0x26, 0xd1, 0xa5, 0x92, 0xe7, 0xc6, 0xb4, 0xde, 0x11, - 0xee, 0x71, 0x07, 0x0d, 0x1b, 0xa2, 0x65, 0x8f, 0xe1, 0x7f, 0x5a, 0x38, 0xd8, 0x4c, 0xf7, 0xc8, - 0x19, 0x3c, 0x5e, 0xc0, 0x67, 0xf0, 0x24, 0x5b, 0xe5, 0xc5, 0x2e, 0x6b, 0x51, 0x6a, 0xef, 0x61, - 0xd4, 0x6a, 0x70, 0x5a, 0xa4, 0x16, 0x06, 0xc8, 0xf1, 0x02, 0xc7, 0x8c, 0x21, 0x2b, 0xf5, 0xb8, - 0xfa, 0x88, 0x8e, 0xef, 0x63, 0xf8, 0x31, 0x0b, 0x0c, 0xe6, 0x73, 0xf2, 0xe1, 0x9e, 0xc2, 0x82, - 0x2b, 0x4b, 0xf4, 0xaf, 0xec, 0x2d, 0x2b, 0x46, 0x29, 0x54, 0x31, 0xfa, 0xe7, 0xe1, 0xbe, 0xdc, - 0x49, 0x28, 0xfb, 0xc7, 0x12, 0x71, 0xd6, 0x3f, 0x77, 0x60, 0xf8, 0x0a, 0x71, 0x0d, 0x29, 0xd3, - 0x94, 0x25, 0xae, 0xa1, 0xb2, 0xa4, 0x68, 0x89, 0x6b, 0xa8, 0x34, 0x0b, 0xda, 0x1e, 0x67, 0x7d, - 0x7f, 0x0a, 0x9e, 0x90, 0x5c, 0xf3, 0x11, 0x83, 0x96, 0xae, 0x50, 0x24, 0xf3, 0x18, 0x27, 0x80, - 0xf1, 0xf3, 0xfb, 0xef, 0x2c, 0x1c, 0x8b, 0xa3, 0x4e, 0x61, 0x86, 0x1a, 0x68, 0xaa, 0x94, 0xe9, - 0xca, 0xb1, 0xae, 0xea, 0x50, 0x3e, 0xaf, 0x30, 0x3e, 0x2f, 0xc1, 0x93, 0x4a, 0x3e, 0xe9, 0x5a, - 0xa5, 0x20, 0xf4, 0xab, 0xc4, 0x27, 0x94, 0xcf, 0x75, 0x96, 0xf8, 0x84, 0x14, 0x79, 0xd4, 0x12, - 0x9f, 0x90, 0x2a, 0x71, 0x5a, 0xeb, 0x9d, 0x4b, 0xff, 0x29, 0x42, 0x1c, 0xe9, 0x86, 0x17, 0x56, - 0x1e, 0xe6, 0xd7, 0x89, 0x12, 0x29, 0x13, 0x9f, 0x25, 0x4a, 0x54, 0x96, 0x89, 0x2d, 0x51, 0xa2, - 0xd2, 0xbc, 0x6a, 0xad, 0xf9, 0x99, 0xf6, 0x34, 0x9f, 0x78, 0xad, 0xd9, 0xb4, 0xbf, 0x48, 0x6e, - 0x5b, 0xa5, 0x59, 0xd0, 0x92, 0xdb, 0x56, 0x5d, 0x16, 0xb6, 0xe4, 0xb6, 0x55, 0x9b, 0x5c, 0xad, - 0xdd, 0x2d, 0x52, 0x7f, 0x16, 0x75, 0xa3, 0xa7, 0x75, 0xe5, 0x6e, 0xba, 0x6f, 0x58, 0x38, 0x41, - 0x49, 0x9e, 0xe1, 0x0c, 0x47, 0xf4, 0x2e, 0xb7, 0x7c, 0xfe, 0x75, 0xa5, 0x6a, 0x5c, 0x9e, 0xf2, - 0xb8, 0xc1, 0x78, 0x5c, 0x86, 0x97, 0xb4, 0x0e, 0xba, 0x56, 0x5a, 0x59, 0xe9, 0xa2, 0x23, 0x19, - 0xcf, 0x78, 0x8e, 0x6f, 0xd5, 0xe4, 0x3c, 0x97, 0xb9, 0x1e, 0x8b, 0x79, 0xd7, 0x65, 0xae, 0x47, - 0x49, 0x42, 0xb5, 0xf6, 0x66, 0x2b, 0xc7, 0xac, 0xdd, 0x0a, 0x03, 0x27, 0x73, 0x9e, 0x71, 0xe4, - 0x52, 0x42, 0x7f, 0x23, 0x0e, 0x92, 0x98, 0xfb, 0xac, 0x19, 0x24, 0x69, 0xfa, 0xb5, 0x66, 0x90, - 0xe4, 0x49, 0xd5, 0xda, 0x39, 0x93, 0x51, 0xc9, 0xa7, 0x5d, 0xcb, 0xd5, 0xed, 0xdb, 0x56, 0xe1, - 0xd9, 0x18, 0x59, 0x6a, 0xb3, 0xe4, 0x68, 0x6a, 0x98, 0x70, 0x2d, 0x39, 0x9a, 0x9a, 0xe6, 0x51, - 0x77, 0xe3, 0xf1, 0x4e, 0x09, 0xf1, 0x4b, 0xdc, 0xb7, 0x89, 0xe9, 0x28, 0x73, 0x4a, 0x4b, 0x4c, - 0x47, 0x4d, 0x7e, 0xb5, 0xc4, 0x74, 0xd4, 0x65, 0x3d, 0xdb, 0x2e, 0xc3, 0x7d, 0x1b, 0xde, 0x34, - 0xf3, 0x72, 0x0b, 0x4b, 0x59, 0xb9, 0xd3, 0xfb, 0x73, 0xe4, 0xb2, 0x5e, 0x92, 0xfd, 0x2b, 0xb9, - 0xac, 0x57, 0x67, 0x4a, 0x4b, 0x2e, 0xeb, 0x35, 0x99, 0xd1, 0xf6, 0x19, 0x46, 0xec, 0x05, 0x38, - 0x92, 0x8b, 0xc9, 0xa2, 0xf5, 0xd2, 0x7f, 0x86, 0x13, 0xd7, 0xe4, 0x87, 0xe3, 0x2b, 0xc4, 0x76, - 0xd4, 0x25, 0x2e, 0x4b, 0x6c, 0x47, 0x83, 0x8c, 0x68, 0x89, 0xed, 0x68, 0x92, 0x1d, 0x6d, 0x9f, - 0x66, 0x6c, 0xaa, 0xf0, 0x70, 0x4e, 0xbd, 0xda, 0x4d, 0x87, 0x63, 0x94, 0xb8, 0xbe, 0xc0, 0x0b, - 0x7e, 0xd4, 0x02, 0x03, 0x5c, 0x62, 0x33, 0xdc, 0x29, 0x42, 0x28, 0x26, 0x49, 0x57, 0x76, 0x69, - 0x4a, 0x50, 0x40, 0x47, 0x19, 0xa0, 0x7d, 0x70, 0x8f, 0x6c, 0x37, 0x27, 0xf9, 0xd1, 0x7c, 0xaf, - 0xfe, 0xbc, 0x05, 0xd6, 0x0a, 0x89, 0xcf, 0xf9, 0xfb, 0x4a, 0x59, 0x22, 0x75, 0xfe, 0xbe, 0x52, - 0x9a, 0x39, 0xad, 0x0d, 0x6b, 0xc8, 0xfe, 0x6d, 0x6f, 0x92, 0x58, 0xcd, 0x23, 0xfa, 0x0c, 0xb9, - 0xfb, 0xc8, 0x65, 0x45, 0x4b, 0xee, 0x3e, 0xe4, 0xf9, 0xd6, 0x95, 0xfd, 0xe5, 0x05, 0x0d, 0x42, - 0x9c, 0x08, 0x1e, 0x2e, 0xff, 0x3a, 0x17, 0xe2, 0x04, 0x8b, 0x59, 0xcf, 0x12, 0x88, 0xf2, 0x3c, - 0x4f, 0x09, 0x44, 0x45, 0x0a, 0xa7, 0xf6, 0xae, 0x23, 0x3d, 0x45, 0xe2, 0x50, 0x4a, 0x07, 0x35, - 0x5d, 0x61, 0xda, 0x67, 0x67, 0x90, 0x2f, 0x58, 0xf8, 0x1f, 0xbd, 0x29, 0xe6, 0xbd, 0xc2, 0x03, - 0x9a, 0x93, 0x60, 0x1e, 0xf2, 0x41, 0xa3, 0xb2, 0x06, 0xd6, 0x0c, 0x77, 0x9c, 0x92, 0x03, 0xe7, - 0x4e, 0x52, 0x69, 0x47, 0xe7, 0x12, 0x42, 0xd5, 0xf7, 0x60, 0xe5, 0x1d, 0xad, 0xc8, 0x2d, 0xd5, - 0x76, 0x74, 0x16, 0xb8, 0x22, 0xc5, 0x9b, 0xad, 0xa9, 0x6f, 0x58, 0xe2, 0x3f, 0xfc, 0x92, 0xcf, - 0x4b, 0x94, 0x98, 0xc4, 0x65, 0xc9, 0xda, 0x12, 0x93, 0xb8, 0x34, 0xf5, 0x5a, 0xef, 0xcf, 0xca, - 0x1e, 0x4e, 0x24, 0x99, 0x6e, 0x4e, 0xbb, 0x53, 0x9f, 0x3c, 0x8a, 0xa8, 0x31, 0x8d, 0xff, 0x57, - 0x4c, 0x1a, 0x2a, 0x49, 0xa8, 0x96, 0xb8, 0xe1, 0xbb, 0xcb, 0xed, 0x96, 0xb8, 0xe1, 0xbb, 0xcc, - 0xe5, 0xd6, 0xda, 0x38, 0x84, 0xe6, 0x07, 0xa8, 0x10, 0xa7, 0x44, 0x23, 0xe1, 0x7f, 0x59, 0x42, - 0x96, 0x9a, 0x2e, 0xf5, 0x1a, 0x9e, 0x35, 0x03, 0xae, 0x58, 0x17, 0xce, 0xf5, 0x58, 0x9b, 0x72, - 0xbe, 0xc4, 0x38, 0x9f, 0x81, 0x2f, 0x69, 0x39, 0xeb, 0xd6, 0x0e, 0x2d, 0xe1, 0xfc, 0x54, 0x34, - 0x24, 0xac, 0x98, 0x9f, 0xe7, 0x7a, 0xac, 0xdd, 0x3d, 0x61, 0xdd, 0x1c, 0x86, 0x3f, 0x20, 0xa6, - 0x85, 0x2e, 0x45, 0x5b, 0x62, 0x5a, 0x18, 0x64, 0x8e, 0x4b, 0x4c, 0x0b, 0x93, 0x3c, 0x70, 0xfb, - 0x16, 0x23, 0x76, 0x05, 0x5e, 0x96, 0x5e, 0x71, 0x17, 0x66, 0xb2, 0x9b, 0x94, 0x4e, 0xe3, 0x2f, - 0x93, 0x15, 0x4a, 0x99, 0xef, 0x2d, 0x59, 0xa1, 0xca, 0xb2, 0xcb, 0x25, 0x2b, 0x54, 0x69, 0x3a, - 0xb9, 0xf6, 0xda, 0xbb, 0x4e, 0x6a, 0x3b, 0x3e, 0xae, 0x2e, 0x2a, 0x2a, 0x3f, 0x66, 0xdf, 0xb4, - 0x84, 0x7f, 0xf1, 0xa9, 0xb0, 0xd8, 0xaa, 0xdd, 0x9c, 0xaa, 0xb5, 0xf6, 0x48, 0x17, 0x35, 0x0c, - 0xee, 0x42, 0xb2, 0xd7, 0x53, 0xbb, 0x5a, 0x69, 0xbf, 0x47, 0xd2, 0xc2, 0x34, 0x09, 0xe2, 0xf0, - 0x98, 0x42, 0xa7, 0x74, 0x59, 0xeb, 0x95, 0xe3, 0xdd, 0x55, 0xa2, 0xfc, 0x6e, 0x32, 0x7e, 0x93, - 0x70, 0x42, 0xaa, 0x87, 0x79, 0x9a, 0x06, 0x6a, 0xf8, 0x2d, 0x32, 0xdd, 0x74, 0x79, 0xe6, 0x92, - 0xe9, 0x66, 0x90, 0xdb, 0x2e, 0x99, 0x6e, 0x26, 0xc9, 0xec, 0xf6, 0x45, 0x46, 0xf3, 0x34, 0x3c, - 0xa5, 0xd5, 0xc7, 0xfc, 0x66, 0xc1, 0xab, 0xe4, 0x97, 0x88, 0x03, 0x49, 0x9a, 0x88, 0x2e, 0x71, - 0x20, 0xe9, 0x32, 0xe2, 0x25, 0x0e, 0x24, 0x6d, 0x7e, 0xbb, 0xfd, 0x1a, 0xa3, 0x30, 0x06, 0x2f, - 0xa8, 0x62, 0x88, 0x17, 0xb5, 0x52, 0xf0, 0xab, 0x70, 0xd9, 0x4a, 0x21, 0xc9, 0x96, 0x2f, 0x5b, - 0x29, 0x64, 0xe9, 0xf1, 0xdd, 0xac, 0x14, 0xc2, 0x0a, 0xcf, 0x0f, 0xcb, 0x9f, 0x90, 0x73, 0xbc, - 0x2c, 0x2d, 0x5d, 0x72, 0x8e, 0xd7, 0xe4, 0xd7, 0x4b, 0xce, 0xf1, 0xba, 0xb4, 0x79, 0xad, 0x5a, - 0x49, 0xf3, 0xe9, 0xe5, 0x76, 0xe5, 0x5b, 0x24, 0x0e, 0x5a, 0x9b, 0xc4, 0x2e, 0x89, 0x83, 0x36, - 0xc9, 0xaa, 0x97, 0xc4, 0x41, 0x1b, 0xe5, 0xca, 0x6b, 0x17, 0xbe, 0xec, 0xdc, 0xcb, 0x22, 0x98, - 0x84, 0x6c, 0x69, 0x39, 0xcb, 0xff, 0x20, 0x69, 0xbd, 0x25, 0x79, 0xe9, 0xf0, 0xa4, 0x12, 0xb0, - 0x3e, 0x55, 0xbe, 0x72, 0xaa, 0xfb, 0x8a, 0x06, 0xf6, 0x74, 0xc6, 0x95, 0x6d, 0xc7, 0x3a, 0xb6, - 0xe9, 0x3d, 0xd8, 0xbf, 0x90, 0xc4, 0x2b, 0x7d, 0xc2, 0x39, 0x54, 0x0f, 0x8e, 0x36, 0x03, 0xbe, - 0x72, 0xb2, 0xeb, 0x7a, 0xdd, 0x8c, 0x6a, 0xb6, 0xe0, 0x9b, 0x10, 0xfd, 0x91, 0x85, 0x03, 0xb6, - 0x4c, 0xf3, 0xcd, 0xa1, 0xda, 0xf0, 0x37, 0xcc, 0x70, 0x97, 0x04, 0x6c, 0x75, 0x9b, 0xec, 0xae, - 0xbd, 0xef, 0xcc, 0xba, 0xa1, 0x90, 0x0e, 0xef, 0x24, 0x21, 0x71, 0xca, 0x65, 0xd7, 0xd1, 0x31, - 0xfc, 0x23, 0x8b, 0xbe, 0xf0, 0x26, 0xcd, 0x55, 0x97, 0xdc, 0xdd, 0xea, 0x73, 0xdf, 0x25, 0x77, - 0xb7, 0x25, 0x69, 0xf0, 0x5a, 0x27, 0x0c, 0x9f, 0x1f, 0xdf, 0x41, 0xdf, 0x60, 0xc8, 0x68, 0xf8, - 0xf8, 0x55, 0x97, 0x65, 0x09, 0x8b, 0xb7, 0xb4, 0x92, 0x18, 0x41, 0x55, 0x59, 0xf5, 0xfa, 0xaf, - 0xa9, 0x62, 0x70, 0x41, 0x15, 0xb8, 0xf8, 0x5f, 0xba, 0x95, 0x5f, 0xa6, 0xa7, 0xe1, 0xe3, 0xd7, - 0x02, 0x74, 0xad, 0x9d, 0x5a, 0xa1, 0x52, 0x26, 0x2f, 0xc9, 0x6e, 0x8e, 0xf5, 0x75, 0xd4, 0xe1, - 0xe3, 0x06, 0x55, 0x0d, 0x1c, 0x0e, 0x61, 0x80, 0x9c, 0xb0, 0xcd, 0x8c, 0x5f, 0x05, 0xc5, 0x1f, - 0x5a, 0xe9, 0x3f, 0x19, 0xc6, 0xda, 0x54, 0xdd, 0xaa, 0x9f, 0xd5, 0x43, 0x2d, 0xb9, 0x5d, 0x3f, - 0xd7, 0x63, 0x6d, 0x83, 0x9b, 0xd1, 0x3c, 0x57, 0xe5, 0x75, 0xbb, 0x48, 0x97, 0x35, 0x29, 0x1d, - 0x54, 0x15, 0x5d, 0x7d, 0xb5, 0x32, 0xba, 0x65, 0xb5, 0xbb, 0xa0, 0xcb, 0xd1, 0x54, 0x8c, 0xee, - 0xff, 0x10, 0x9f, 0x4b, 0xbe, 0x65, 0xd5, 0x00, 0x9f, 0x2f, 0xc5, 0x5c, 0x32, 0xc6, 0x17, 0x7a, - 0x17, 0x60, 0xe0, 0xf6, 0x93, 0xf0, 0x56, 0x8f, 0xf4, 0x1f, 0x5a, 0x85, 0x7f, 0x9d, 0x3a, 0x35, - 0xa3, 0x8b, 0x7e, 0x48, 0xf5, 0x33, 0x1c, 0x92, 0xdb, 0x09, 0xcd, 0x73, 0x1b, 0xda, 0x60, 0x23, - 0xe2, 0xa6, 0x26, 0x3e, 0x6b, 0xde, 0x80, 0x2e, 0x04, 0xb2, 0x6d, 0xd7, 0xbe, 0x79, 0x21, 0x09, - 0x46, 0x28, 0x7d, 0x63, 0x43, 0x12, 0x8c, 0x50, 0xfe, 0xa8, 0x86, 0xd6, 0xf6, 0xc4, 0xd9, 0xe7, - 0x75, 0x5a, 0x9f, 0xfe, 0x83, 0x28, 0x33, 0x0f, 0xb3, 0x7c, 0x74, 0xde, 0x76, 0xfe, 0x3e, 0xb1, - 0x3d, 0xc7, 0xc3, 0x76, 0xc0, 0x56, 0xb5, 0xba, 0xdf, 0xc6, 0xb2, 0xd2, 0x24, 0x2d, 0xc9, 0xa9, - 0x4b, 0x57, 0x5e, 0x6d, 0x7b, 0x96, 0x54, 0x33, 0xb0, 0xc7, 0xea, 0x1d, 0x09, 0xdc, 0xba, 0x99, - 0xca, 0x70, 0xbc, 0x80, 0xf0, 0x93, 0xfb, 0xc8, 0xff, 0x9b, 0x5c, 0x63, 0xe2, 0xf6, 0xf9, 0x49, - 0x9e, 0x67, 0x7a, 0x4a, 0x0e, 0x59, 0x53, 0x45, 0x7d, 0x8d, 0x59, 0x5e, 0x93, 0xf2, 0xbd, 0xc3, - 0xf8, 0x4e, 0xc1, 0x2b, 0x32, 0xbe, 0xc2, 0x62, 0xa2, 0xa7, 0xcc, 0x7b, 0xd7, 0x7f, 0x9f, 0x5c, - 0x43, 0xcb, 0xdf, 0x45, 0x91, 0x5c, 0x43, 0x6b, 0xdf, 0x5f, 0x91, 0x5c, 0x43, 0xeb, 0x1f, 0x5c, - 0xd1, 0x9a, 0x26, 0x6e, 0xfa, 0xaf, 0xd8, 0x93, 0xba, 0x92, 0xcc, 0x36, 0xe5, 0x53, 0x2a, 0x12, - 0xd3, 0xa4, 0xec, 0xe1, 0x16, 0x89, 0x69, 0x52, 0xfa, 0x52, 0x8b, 0xd6, 0x34, 0xa1, 0xf0, 0xb9, - 0x67, 0x5b, 0x78, 0x06, 0x42, 0xbf, 0xe7, 0xdf, 0x60, 0x51, 0xf6, 0xbb, 0xe2, 0xad, 0x17, 0x65, - 0xbf, 0xab, 0x1e, 0x77, 0x31, 0xe9, 0xf7, 0xf4, 0xb1, 0x97, 0x5c, 0xbf, 0x0f, 0x71, 0x41, 0x68, - 0xa8, 0x31, 0xe1, 0x87, 0x33, 0xae, 0x4f, 0xdc, 0x48, 0xc5, 0x28, 0x5d, 0x45, 0x41, 0x65, 0x94, - 0xae, 0xb2, 0xbc, 0xc9, 0x4d, 0x58, 0xec, 0x2c, 0xb0, 0xea, 0xce, 0x1c, 0xae, 0xef, 0x14, 0xb2, - 0xaa, 0xfe, 0xc2, 0x02, 0x15, 0x49, 0x43, 0x69, 0x18, 0x49, 0x39, 0xa4, 0x5c, 0x14, 0xc9, 0x0b, - 0xe6, 0x15, 0x0c, 0xdc, 0x19, 0x72, 0x12, 0xc5, 0x1c, 0xac, 0x3f, 0xb6, 0x84, 0x7f, 0xe7, 0x27, - 0x6d, 0x8a, 0xc4, 0x16, 0x1e, 0x2e, 0x85, 0x24, 0xc4, 0x18, 0x8e, 0x98, 0x16, 0x37, 0xd8, 0x22, - 0xe5, 0xf8, 0xf3, 0xc1, 0x87, 0xdf, 0xb0, 0xc0, 0x76, 0x7a, 0x5d, 0x4c, 0x06, 0x38, 0x6b, 0xf1, - 0x62, 0xe0, 0xce, 0xf8, 0xa8, 0xb0, 0x45, 0x6a, 0x0b, 0x2b, 0xb6, 0xc8, 0x92, 0x3a, 0x26, 0x11, - 0xba, 0x59, 0x1c, 0x02, 0xf1, 0x72, 0xb2, 0x68, 0x4a, 0x44, 0xa4, 0xf0, 0x33, 0xe3, 0x5b, 0x16, - 0x18, 0xa6, 0x4d, 0xd2, 0x01, 0x2f, 0x90, 0x92, 0x03, 0x54, 0x94, 0x56, 0xf8, 0x6c, 0xcb, 0x2a, - 0x19, 0x9c, 0x5e, 0x33, 0x5a, 0xa9, 0x6b, 0x46, 0xcb, 0xab, 0x30, 0xe3, 0x71, 0xfb, 0xe3, 0x11, - 0xc2, 0x0f, 0xfb, 0xeb, 0x74, 0x87, 0x2f, 0x68, 0x32, 0xe3, 0xc5, 0xf2, 0xdd, 0xcf, 0x78, 0x82, - 0xb9, 0x4e, 0x04, 0x18, 0xcc, 0x95, 0x7a, 0x87, 0x80, 0xc1, 0x5c, 0xa9, 0x73, 0xf8, 0x47, 0x4c, - 0x8b, 0xf7, 0x3e, 0x57, 0xea, 0x22, 0xfa, 0xbf, 0xce, 0xa3, 0xe7, 0xb4, 0x5a, 0x8b, 0x9e, 0x2b, - 0x67, 0x82, 0x5e, 0x28, 0x4e, 0xd1, 0xbf, 0xca, 0xd0, 0x5f, 0x80, 0x2f, 0x1b, 0x74, 0x7e, 0xba, - 0xda, 0xca, 0x52, 0x14, 0xbf, 0x22, 0x55, 0xa4, 0x74, 0xdd, 0x2d, 0x85, 0x96, 0x5b, 0x76, 0xab, - 0xc6, 0xe5, 0x29, 0x97, 0x29, 0xc6, 0x65, 0x14, 0x9e, 0x37, 0xe0, 0x22, 0x8b, 0xdd, 0xcb, 0xc8, - 0x7c, 0xd5, 0x02, 0xdb, 0xc6, 0xdd, 0xe0, 0x56, 0xab, 0xe1, 0x26, 0x68, 0xd4, 0xf7, 0xe9, 0x6e, - 0x95, 0x0a, 0x89, 0xf3, 0xf6, 0x87, 0xae, 0xac, 0xc2, 0xfe, 0xd0, 0x57, 0x31, 0xb9, 0xb4, 0x70, - 0x03, 0xa7, 0x8d, 0x25, 0x38, 0xae, 0xef, 0x67, 0x1b, 0x62, 0x26, 0x84, 0xa3, 0xf3, 0x4d, 0x0b, - 0x0c, 0x67, 0xed, 0xf1, 0x3b, 0x6f, 0xd6, 0x64, 0x7e, 0xf1, 0xd2, 0x97, 0x56, 0x2c, 0x5e, 0x65, - 0x95, 0x0c, 0xd6, 0x64, 0x8e, 0x94, 0xb0, 0xc3, 0x33, 0x5e, 0x1c, 0xad, 0x37, 0x2c, 0xb0, 0x23, - 0xd7, 0x66, 0x7e, 0xe1, 0x84, 0x7a, 0x88, 0xf9, 0xe2, 0x8a, 0x3b, 0xa6, 0xd2, 0x5a, 0x06, 0xcb, - 0x72, 0x91, 0x59, 0x61, 0x7d, 0xe6, 0xa8, 0x7d, 0xd2, 0x02, 0xeb, 0xb3, 0x56, 0xe9, 0x4b, 0x69, - 0xcf, 0x29, 0x40, 0x89, 0xef, 0xa5, 0xed, 0x29, 0x29, 0x45, 0xa1, 0x9e, 0x60, 0x50, 0x0f, 0xc2, - 0xe7, 0x95, 0x50, 0xc9, 0x2b, 0x6a, 0x1c, 0xb0, 0x2f, 0x5a, 0x60, 0x73, 0x26, 0x93, 0x2c, 0x2a, - 0x59, 0x5f, 0x1f, 0x52, 0x34, 0x2d, 0x16, 0x53, 0x5c, 0xb4, 0x28, 0x4b, 0x1b, 0xc4, 0xe6, 0x72, - 0x80, 0xe9, 0x42, 0xc5, 0xba, 0x54, 0x36, 0xbd, 0x3f, 0x66, 0x81, 0x75, 0xe3, 0x6e, 0x80, 0x37, - 0x23, 0xd2, 0x5e, 0xfe, 0x51, 0x38, 0xf1, 0xab, 0xe2, 0x51, 0xb8, 0x7c, 0x21, 0x03, 0xdb, 0xbb, - 0x83, 0x14, 0x6f, 0x61, 0x28, 0x3d, 0xb7, 0x65, 0xa0, 0xfe, 0xd4, 0x02, 0x9b, 0xc6, 0xdd, 0xe0, - 0x46, 0x7b, 0xa6, 0xe9, 0xd1, 0x8b, 0xdb, 0x69, 0xf7, 0xa1, 0x1f, 0xba, 0x8d, 0xbc, 0x43, 0x44, - 0x5e, 0x4a, 0xe1, 0x10, 0x51, 0x15, 0x36, 0x88, 0xa1, 0xe9, 0x80, 0x8d, 0x71, 0xdd, 0x74, 0x16, - 0xb6, 0x48, 0x6d, 0x79, 0xaf, 0x52, 0xd5, 0x20, 0xad, 0xd1, 0x39, 0x92, 0x32, 0x50, 0x81, 0x12, - 0x8b, 0xa9, 0x55, 0x43, 0x5e, 0xda, 0x50, 0x35, 0x28, 0x87, 0x74, 0xbe, 0x69, 0x49, 0x7c, 0x95, - 0xdc, 0xcd, 0x6b, 0x9e, 0xad, 0x84, 0x8a, 0xc4, 0x11, 0xed, 0x43, 0x99, 0x95, 0xe3, 0xdd, 0x55, - 0x32, 0x7a, 0x5d, 0x0e, 0x57, 0xcd, 0x1c, 0x21, 0xa8, 0xe9, 0x16, 0xef, 0x45, 0xdf, 0xb0, 0xe8, - 0x73, 0xbb, 0xba, 0x07, 0x2c, 0x25, 0x97, 0x50, 0x46, 0x0f, 0x67, 0x4a, 0x2e, 0xa1, 0xcc, 0x5e, - 0xca, 0xd4, 0x9f, 0x91, 0x28, 0x2f, 0xce, 0xe1, 0x21, 0xa5, 0x26, 0x19, 0xa9, 0xdc, 0xb3, 0x96, - 0x25, 0x23, 0x25, 0x7f, 0x48, 0xb3, 0x64, 0xa4, 0x14, 0x2f, 0x67, 0x1a, 0x8d, 0x54, 0xaa, 0x80, - 0x32, 0x3a, 0x63, 0xb5, 0x2f, 0xbd, 0x39, 0x6c, 0x7d, 0xfd, 0xcd, 0x61, 0xeb, 0xbb, 0x6f, 0x0e, - 0x5b, 0xbf, 0xf0, 0xd6, 0xf0, 0x53, 0x5f, 0x7f, 0x6b, 0xf8, 0xa9, 0x37, 0xde, 0x1a, 0x7e, 0xea, - 0xee, 0x29, 0xc3, 0xd7, 0x37, 0x1f, 0x70, 0xad, 0x26, 0x0f, 0x5b, 0x28, 0x9e, 0x59, 0xd3, 0x8a, - 0xc2, 0x24, 0x3c, 0xf6, 0x7f, 0x01, 0x00, 0x00, 0xff, 0xff, 0x1d, 0x4d, 0x52, 0xec, 0x47, 0xac, - 0x00, 0x00, + proto.RegisterType((*IsWhitelistedGlobalWorkerRequest)(nil), "emissions.v8.IsWhitelistedGlobalWorkerRequest") + proto.RegisterType((*IsWhitelistedGlobalWorkerResponse)(nil), "emissions.v8.IsWhitelistedGlobalWorkerResponse") + proto.RegisterType((*IsWhitelistedGlobalReputerRequest)(nil), "emissions.v8.IsWhitelistedGlobalReputerRequest") + proto.RegisterType((*IsWhitelistedGlobalReputerResponse)(nil), "emissions.v8.IsWhitelistedGlobalReputerResponse") + proto.RegisterType((*IsWhitelistedGlobalAdminRequest)(nil), "emissions.v8.IsWhitelistedGlobalAdminRequest") + proto.RegisterType((*IsWhitelistedGlobalAdminResponse)(nil), "emissions.v8.IsWhitelistedGlobalAdminResponse") + proto.RegisterType((*IsTopicWorkerWhitelistEnabledRequest)(nil), "emissions.v8.IsTopicWorkerWhitelistEnabledRequest") + proto.RegisterType((*IsTopicWorkerWhitelistEnabledResponse)(nil), "emissions.v8.IsTopicWorkerWhitelistEnabledResponse") + proto.RegisterType((*IsTopicReputerWhitelistEnabledRequest)(nil), "emissions.v8.IsTopicReputerWhitelistEnabledRequest") + proto.RegisterType((*IsTopicReputerWhitelistEnabledResponse)(nil), "emissions.v8.IsTopicReputerWhitelistEnabledResponse") + proto.RegisterType((*IsWhitelistedTopicCreatorRequest)(nil), "emissions.v8.IsWhitelistedTopicCreatorRequest") + proto.RegisterType((*IsWhitelistedTopicCreatorResponse)(nil), "emissions.v8.IsWhitelistedTopicCreatorResponse") + proto.RegisterType((*IsWhitelistedGlobalActorRequest)(nil), "emissions.v8.IsWhitelistedGlobalActorRequest") + proto.RegisterType((*IsWhitelistedGlobalActorResponse)(nil), "emissions.v8.IsWhitelistedGlobalActorResponse") + proto.RegisterType((*IsWhitelistedTopicWorkerRequest)(nil), "emissions.v8.IsWhitelistedTopicWorkerRequest") + proto.RegisterType((*IsWhitelistedTopicWorkerResponse)(nil), "emissions.v8.IsWhitelistedTopicWorkerResponse") + proto.RegisterType((*IsWhitelistedTopicReputerRequest)(nil), "emissions.v8.IsWhitelistedTopicReputerRequest") + proto.RegisterType((*IsWhitelistedTopicReputerResponse)(nil), "emissions.v8.IsWhitelistedTopicReputerResponse") + proto.RegisterType((*CanUpdateAllGlobalWhitelistsRequest)(nil), "emissions.v8.CanUpdateAllGlobalWhitelistsRequest") + proto.RegisterType((*CanUpdateAllGlobalWhitelistsResponse)(nil), "emissions.v8.CanUpdateAllGlobalWhitelistsResponse") + proto.RegisterType((*CanUpdateGlobalWorkerWhitelistRequest)(nil), "emissions.v8.CanUpdateGlobalWorkerWhitelistRequest") + proto.RegisterType((*CanUpdateGlobalWorkerWhitelistResponse)(nil), "emissions.v8.CanUpdateGlobalWorkerWhitelistResponse") + proto.RegisterType((*CanUpdateGlobalReputerWhitelistRequest)(nil), "emissions.v8.CanUpdateGlobalReputerWhitelistRequest") + proto.RegisterType((*CanUpdateGlobalReputerWhitelistResponse)(nil), "emissions.v8.CanUpdateGlobalReputerWhitelistResponse") + proto.RegisterType((*CanUpdateParamsRequest)(nil), "emissions.v8.CanUpdateParamsRequest") + proto.RegisterType((*CanUpdateParamsResponse)(nil), "emissions.v8.CanUpdateParamsResponse") + proto.RegisterType((*CanUpdateTopicWhitelistRequest)(nil), "emissions.v8.CanUpdateTopicWhitelistRequest") + proto.RegisterType((*CanUpdateTopicWhitelistResponse)(nil), "emissions.v8.CanUpdateTopicWhitelistResponse") + proto.RegisterType((*CanCreateTopicRequest)(nil), "emissions.v8.CanCreateTopicRequest") + proto.RegisterType((*CanCreateTopicResponse)(nil), "emissions.v8.CanCreateTopicResponse") + proto.RegisterType((*CanSubmitWorkerPayloadRequest)(nil), "emissions.v8.CanSubmitWorkerPayloadRequest") + proto.RegisterType((*CanSubmitWorkerPayloadResponse)(nil), "emissions.v8.CanSubmitWorkerPayloadResponse") + proto.RegisterType((*CanSubmitReputerPayloadRequest)(nil), "emissions.v8.CanSubmitReputerPayloadRequest") + proto.RegisterType((*CanSubmitReputerPayloadResponse)(nil), "emissions.v8.CanSubmitReputerPayloadResponse") + proto.RegisterType((*GetCountInfererInclusionsInTopicRequest)(nil), "emissions.v8.GetCountInfererInclusionsInTopicRequest") + proto.RegisterType((*GetCountInfererInclusionsInTopicResponse)(nil), "emissions.v8.GetCountInfererInclusionsInTopicResponse") + proto.RegisterType((*GetCountForecasterInclusionsInTopicRequest)(nil), "emissions.v8.GetCountForecasterInclusionsInTopicRequest") + proto.RegisterType((*GetCountForecasterInclusionsInTopicResponse)(nil), "emissions.v8.GetCountForecasterInclusionsInTopicResponse") + proto.RegisterType((*GetNaiveInfererNetworkRegretRequest)(nil), "emissions.v8.GetNaiveInfererNetworkRegretRequest") + proto.RegisterType((*GetNaiveInfererNetworkRegretResponse)(nil), "emissions.v8.GetNaiveInfererNetworkRegretResponse") + proto.RegisterType((*GetOneOutInfererInfererNetworkRegretRequest)(nil), "emissions.v8.GetOneOutInfererInfererNetworkRegretRequest") + proto.RegisterType((*GetOneOutInfererInfererNetworkRegretResponse)(nil), "emissions.v8.GetOneOutInfererInfererNetworkRegretResponse") + proto.RegisterType((*GetOneOutInfererForecasterNetworkRegretRequest)(nil), "emissions.v8.GetOneOutInfererForecasterNetworkRegretRequest") + proto.RegisterType((*GetOneOutInfererForecasterNetworkRegretResponse)(nil), "emissions.v8.GetOneOutInfererForecasterNetworkRegretResponse") + proto.RegisterType((*GetOneOutForecasterInfererNetworkRegretRequest)(nil), "emissions.v8.GetOneOutForecasterInfererNetworkRegretRequest") + proto.RegisterType((*GetOneOutForecasterInfererNetworkRegretResponse)(nil), "emissions.v8.GetOneOutForecasterInfererNetworkRegretResponse") + proto.RegisterType((*GetOneOutForecasterForecasterNetworkRegretRequest)(nil), "emissions.v8.GetOneOutForecasterForecasterNetworkRegretRequest") + proto.RegisterType((*GetOneOutForecasterForecasterNetworkRegretResponse)(nil), "emissions.v8.GetOneOutForecasterForecasterNetworkRegretResponse") + proto.RegisterType((*GetParamsRequest)(nil), "emissions.v8.GetParamsRequest") + proto.RegisterType((*GetParamsResponse)(nil), "emissions.v8.GetParamsResponse") + proto.RegisterType((*GetTotalStakeRequest)(nil), "emissions.v8.GetTotalStakeRequest") + proto.RegisterType((*GetTotalStakeResponse)(nil), "emissions.v8.GetTotalStakeResponse") + proto.RegisterType((*GetReputerStakeInTopicRequest)(nil), "emissions.v8.GetReputerStakeInTopicRequest") + proto.RegisterType((*GetReputerStakeInTopicResponse)(nil), "emissions.v8.GetReputerStakeInTopicResponse") + proto.RegisterType((*GetMultiReputerStakeInTopicRequest)(nil), "emissions.v8.GetMultiReputerStakeInTopicRequest") + proto.RegisterType((*GetMultiReputerStakeInTopicResponse)(nil), "emissions.v8.GetMultiReputerStakeInTopicResponse") + proto.RegisterType((*GetStakeFromReputerInTopicInSelfRequest)(nil), "emissions.v8.GetStakeFromReputerInTopicInSelfRequest") + proto.RegisterType((*GetStakeFromReputerInTopicInSelfResponse)(nil), "emissions.v8.GetStakeFromReputerInTopicInSelfResponse") + proto.RegisterType((*GetDelegateStakeInTopicInReputerRequest)(nil), "emissions.v8.GetDelegateStakeInTopicInReputerRequest") + proto.RegisterType((*GetDelegateStakeInTopicInReputerResponse)(nil), "emissions.v8.GetDelegateStakeInTopicInReputerResponse") + proto.RegisterType((*GetStakeFromDelegatorInTopicInReputerRequest)(nil), "emissions.v8.GetStakeFromDelegatorInTopicInReputerRequest") + proto.RegisterType((*GetStakeFromDelegatorInTopicInReputerResponse)(nil), "emissions.v8.GetStakeFromDelegatorInTopicInReputerResponse") + proto.RegisterType((*GetStakeFromDelegatorInTopicRequest)(nil), "emissions.v8.GetStakeFromDelegatorInTopicRequest") + proto.RegisterType((*GetStakeFromDelegatorInTopicResponse)(nil), "emissions.v8.GetStakeFromDelegatorInTopicResponse") + proto.RegisterType((*GetTopicStakeRequest)(nil), "emissions.v8.GetTopicStakeRequest") + proto.RegisterType((*GetTopicStakeResponse)(nil), "emissions.v8.GetTopicStakeResponse") + proto.RegisterType((*GetNetworkLossBundleAtBlockRequest)(nil), "emissions.v8.GetNetworkLossBundleAtBlockRequest") + proto.RegisterType((*GetNetworkLossBundleAtBlockResponse)(nil), "emissions.v8.GetNetworkLossBundleAtBlockResponse") + proto.RegisterType((*GetNextTopicIdRequest)(nil), "emissions.v8.GetNextTopicIdRequest") + proto.RegisterType((*GetNextTopicIdResponse)(nil), "emissions.v8.GetNextTopicIdResponse") + proto.RegisterType((*GetTopicRequest)(nil), "emissions.v8.GetTopicRequest") + proto.RegisterType((*GetTopicResponse)(nil), "emissions.v8.GetTopicResponse") + proto.RegisterType((*GetActiveTopicsRequest)(nil), "emissions.v8.GetActiveTopicsRequest") + proto.RegisterType((*GetActiveTopicsResponse)(nil), "emissions.v8.GetActiveTopicsResponse") + proto.RegisterType((*GetInferencesAtBlockRequest)(nil), "emissions.v8.GetInferencesAtBlockRequest") + proto.RegisterType((*GetInferencesAtBlockResponse)(nil), "emissions.v8.GetInferencesAtBlockResponse") + proto.RegisterType((*GetLatestTopicInferencesRequest)(nil), "emissions.v8.GetLatestTopicInferencesRequest") + proto.RegisterType((*GetLatestTopicInferencesResponse)(nil), "emissions.v8.GetLatestTopicInferencesResponse") + proto.RegisterType((*GetForecastsAtBlockRequest)(nil), "emissions.v8.GetForecastsAtBlockRequest") + proto.RegisterType((*GetForecastsAtBlockResponse)(nil), "emissions.v8.GetForecastsAtBlockResponse") + proto.RegisterType((*GetWorkerLatestInferenceByTopicIdRequest)(nil), "emissions.v8.GetWorkerLatestInferenceByTopicIdRequest") + proto.RegisterType((*GetWorkerLatestInferenceByTopicIdResponse)(nil), "emissions.v8.GetWorkerLatestInferenceByTopicIdResponse") + proto.RegisterType((*GetWorkerNodeInfoRequest)(nil), "emissions.v8.GetWorkerNodeInfoRequest") + proto.RegisterType((*GetWorkerNodeInfoResponse)(nil), "emissions.v8.GetWorkerNodeInfoResponse") + proto.RegisterType((*GetReputerNodeInfoRequest)(nil), "emissions.v8.GetReputerNodeInfoRequest") + proto.RegisterType((*GetReputerNodeInfoResponse)(nil), "emissions.v8.GetReputerNodeInfoResponse") + proto.RegisterType((*GetNetworkInferencesAtBlockRequest)(nil), "emissions.v8.GetNetworkInferencesAtBlockRequest") + proto.RegisterType((*GetNetworkInferencesAtBlockOutlierResistantRequest)(nil), "emissions.v8.GetNetworkInferencesAtBlockOutlierResistantRequest") + proto.RegisterType((*GetLatestNetworkInferencesRequest)(nil), "emissions.v8.GetLatestNetworkInferencesRequest") + proto.RegisterType((*GetLatestNetworkInferencesOutlierResistantRequest)(nil), "emissions.v8.GetLatestNetworkInferencesOutlierResistantRequest") + proto.RegisterType((*GetLatestAvailableNetworkInferencesRequest)(nil), "emissions.v8.GetLatestAvailableNetworkInferencesRequest") + proto.RegisterType((*GetLatestAvailableNetworkInferencesOutlierResistantRequest)(nil), "emissions.v8.GetLatestAvailableNetworkInferencesOutlierResistantRequest") + proto.RegisterType((*IsWorkerNonceUnfulfilledRequest)(nil), "emissions.v8.IsWorkerNonceUnfulfilledRequest") + proto.RegisterType((*IsWorkerNonceUnfulfilledResponse)(nil), "emissions.v8.IsWorkerNonceUnfulfilledResponse") + proto.RegisterType((*GetUnfulfilledReputerNoncesRequest)(nil), "emissions.v8.GetUnfulfilledReputerNoncesRequest") + proto.RegisterType((*GetUnfulfilledReputerNoncesResponse)(nil), "emissions.v8.GetUnfulfilledReputerNoncesResponse") + proto.RegisterType((*GetUnfulfilledWorkerNoncesRequest)(nil), "emissions.v8.GetUnfulfilledWorkerNoncesRequest") + proto.RegisterType((*GetUnfulfilledWorkerNoncesResponse)(nil), "emissions.v8.GetUnfulfilledWorkerNoncesResponse") + proto.RegisterType((*GetInfererNetworkRegretRequest)(nil), "emissions.v8.GetInfererNetworkRegretRequest") + proto.RegisterType((*GetInfererNetworkRegretResponse)(nil), "emissions.v8.GetInfererNetworkRegretResponse") + proto.RegisterType((*GetForecasterNetworkRegretRequest)(nil), "emissions.v8.GetForecasterNetworkRegretRequest") + proto.RegisterType((*GetForecasterNetworkRegretResponse)(nil), "emissions.v8.GetForecasterNetworkRegretResponse") + proto.RegisterType((*GetOneInForecasterNetworkRegretRequest)(nil), "emissions.v8.GetOneInForecasterNetworkRegretRequest") + proto.RegisterType((*GetOneInForecasterNetworkRegretResponse)(nil), "emissions.v8.GetOneInForecasterNetworkRegretResponse") + proto.RegisterType((*IsReputerNonceUnfulfilledRequest)(nil), "emissions.v8.IsReputerNonceUnfulfilledRequest") + proto.RegisterType((*IsReputerNonceUnfulfilledResponse)(nil), "emissions.v8.IsReputerNonceUnfulfilledResponse") + proto.RegisterType((*GetNetworkInferencesAtBlockResponse)(nil), "emissions.v8.GetNetworkInferencesAtBlockResponse") + proto.RegisterType((*GetNetworkInferencesAtBlockOutlierResistantResponse)(nil), "emissions.v8.GetNetworkInferencesAtBlockOutlierResistantResponse") + proto.RegisterType((*GetLatestNetworkInferencesResponse)(nil), "emissions.v8.GetLatestNetworkInferencesResponse") + proto.RegisterType((*GetLatestNetworkInferencesOutlierResistantResponse)(nil), "emissions.v8.GetLatestNetworkInferencesOutlierResistantResponse") + proto.RegisterType((*GetLatestAvailableNetworkInferencesResponse)(nil), "emissions.v8.GetLatestAvailableNetworkInferencesResponse") + proto.RegisterType((*GetLatestAvailableNetworkInferencesOutlierResistantResponse)(nil), "emissions.v8.GetLatestAvailableNetworkInferencesOutlierResistantResponse") + proto.RegisterType((*IsWorkerRegisteredInTopicIdRequest)(nil), "emissions.v8.IsWorkerRegisteredInTopicIdRequest") + proto.RegisterType((*IsWorkerRegisteredInTopicIdResponse)(nil), "emissions.v8.IsWorkerRegisteredInTopicIdResponse") + proto.RegisterType((*IsReputerRegisteredInTopicIdRequest)(nil), "emissions.v8.IsReputerRegisteredInTopicIdRequest") + proto.RegisterType((*IsReputerRegisteredInTopicIdResponse)(nil), "emissions.v8.IsReputerRegisteredInTopicIdResponse") + proto.RegisterType((*IsWhitelistAdminRequest)(nil), "emissions.v8.IsWhitelistAdminRequest") + proto.RegisterType((*IsWhitelistAdminResponse)(nil), "emissions.v8.IsWhitelistAdminResponse") + proto.RegisterType((*GetStakeRemovalsUpUntilBlockRequest)(nil), "emissions.v8.GetStakeRemovalsUpUntilBlockRequest") + proto.RegisterType((*GetStakeRemovalsUpUntilBlockResponse)(nil), "emissions.v8.GetStakeRemovalsUpUntilBlockResponse") + proto.RegisterType((*GetDelegateStakeRemovalsUpUntilBlockRequest)(nil), "emissions.v8.GetDelegateStakeRemovalsUpUntilBlockRequest") + proto.RegisterType((*GetDelegateStakeRemovalsUpUntilBlockResponse)(nil), "emissions.v8.GetDelegateStakeRemovalsUpUntilBlockResponse") + proto.RegisterType((*GetStakeRemovalInfoRequest)(nil), "emissions.v8.GetStakeRemovalInfoRequest") + proto.RegisterType((*GetStakeRemovalInfoResponse)(nil), "emissions.v8.GetStakeRemovalInfoResponse") + proto.RegisterType((*GetDelegateStakeRemovalInfoRequest)(nil), "emissions.v8.GetDelegateStakeRemovalInfoRequest") + proto.RegisterType((*GetDelegateStakeRemovalInfoResponse)(nil), "emissions.v8.GetDelegateStakeRemovalInfoResponse") + proto.RegisterType((*GetTopicLastWorkerCommitInfoRequest)(nil), "emissions.v8.GetTopicLastWorkerCommitInfoRequest") + proto.RegisterType((*GetTopicLastWorkerCommitInfoResponse)(nil), "emissions.v8.GetTopicLastWorkerCommitInfoResponse") + proto.RegisterType((*GetTopicLastReputerCommitInfoRequest)(nil), "emissions.v8.GetTopicLastReputerCommitInfoRequest") + proto.RegisterType((*GetTopicLastReputerCommitInfoResponse)(nil), "emissions.v8.GetTopicLastReputerCommitInfoResponse") + proto.RegisterType((*GetTopicRewardNonceRequest)(nil), "emissions.v8.GetTopicRewardNonceRequest") + proto.RegisterType((*GetTopicRewardNonceResponse)(nil), "emissions.v8.GetTopicRewardNonceResponse") + proto.RegisterType((*GetReputerLossBundlesAtBlockRequest)(nil), "emissions.v8.GetReputerLossBundlesAtBlockRequest") + proto.RegisterType((*GetReputerLossBundlesAtBlockResponse)(nil), "emissions.v8.GetReputerLossBundlesAtBlockResponse") + proto.RegisterType((*GetStakeReputerAuthorityRequest)(nil), "emissions.v8.GetStakeReputerAuthorityRequest") + proto.RegisterType((*GetStakeReputerAuthorityResponse)(nil), "emissions.v8.GetStakeReputerAuthorityResponse") + proto.RegisterType((*GetDelegateStakePlacementRequest)(nil), "emissions.v8.GetDelegateStakePlacementRequest") + proto.RegisterType((*GetDelegateStakePlacementResponse)(nil), "emissions.v8.GetDelegateStakePlacementResponse") + proto.RegisterType((*GetDelegateStakeUponReputerRequest)(nil), "emissions.v8.GetDelegateStakeUponReputerRequest") + proto.RegisterType((*GetDelegateStakeUponReputerResponse)(nil), "emissions.v8.GetDelegateStakeUponReputerResponse") + proto.RegisterType((*GetDelegateRewardPerShareRequest)(nil), "emissions.v8.GetDelegateRewardPerShareRequest") + proto.RegisterType((*GetDelegateRewardPerShareResponse)(nil), "emissions.v8.GetDelegateRewardPerShareResponse") + proto.RegisterType((*GetStakeRemovalForReputerAndTopicIdRequest)(nil), "emissions.v8.GetStakeRemovalForReputerAndTopicIdRequest") + proto.RegisterType((*GetStakeRemovalForReputerAndTopicIdResponse)(nil), "emissions.v8.GetStakeRemovalForReputerAndTopicIdResponse") + proto.RegisterType((*GetDelegateStakeRemovalRequest)(nil), "emissions.v8.GetDelegateStakeRemovalRequest") + proto.RegisterType((*GetDelegateStakeRemovalResponse)(nil), "emissions.v8.GetDelegateStakeRemovalResponse") + proto.RegisterType((*GetPreviousTopicWeightRequest)(nil), "emissions.v8.GetPreviousTopicWeightRequest") + proto.RegisterType((*GetPreviousTopicWeightResponse)(nil), "emissions.v8.GetPreviousTopicWeightResponse") + proto.RegisterType((*GetTotalSumPreviousTopicWeightsRequest)(nil), "emissions.v8.GetTotalSumPreviousTopicWeightsRequest") + proto.RegisterType((*GetTotalSumPreviousTopicWeightsResponse)(nil), "emissions.v8.GetTotalSumPreviousTopicWeightsResponse") + proto.RegisterType((*TopicExistsRequest)(nil), "emissions.v8.TopicExistsRequest") + proto.RegisterType((*TopicExistsResponse)(nil), "emissions.v8.TopicExistsResponse") + proto.RegisterType((*IsTopicActiveRequest)(nil), "emissions.v8.IsTopicActiveRequest") + proto.RegisterType((*IsTopicActiveResponse)(nil), "emissions.v8.IsTopicActiveResponse") + proto.RegisterType((*GetTopicFeeRevenueRequest)(nil), "emissions.v8.GetTopicFeeRevenueRequest") + proto.RegisterType((*GetTopicFeeRevenueResponse)(nil), "emissions.v8.GetTopicFeeRevenueResponse") + proto.RegisterType((*GetInfererScoreEmaRequest)(nil), "emissions.v8.GetInfererScoreEmaRequest") + proto.RegisterType((*GetInfererScoreEmaResponse)(nil), "emissions.v8.GetInfererScoreEmaResponse") + proto.RegisterType((*GetForecasterScoreEmaRequest)(nil), "emissions.v8.GetForecasterScoreEmaRequest") + proto.RegisterType((*GetForecasterScoreEmaResponse)(nil), "emissions.v8.GetForecasterScoreEmaResponse") + proto.RegisterType((*GetReputerScoreEmaRequest)(nil), "emissions.v8.GetReputerScoreEmaRequest") + proto.RegisterType((*GetReputerScoreEmaResponse)(nil), "emissions.v8.GetReputerScoreEmaResponse") + proto.RegisterType((*GetInferenceScoresUntilBlockRequest)(nil), "emissions.v8.GetInferenceScoresUntilBlockRequest") + proto.RegisterType((*GetInferenceScoresUntilBlockResponse)(nil), "emissions.v8.GetInferenceScoresUntilBlockResponse") + proto.RegisterType((*GetPreviousTopicQuantileForecasterScoreEmaRequest)(nil), "emissions.v8.GetPreviousTopicQuantileForecasterScoreEmaRequest") + proto.RegisterType((*GetPreviousTopicQuantileForecasterScoreEmaResponse)(nil), "emissions.v8.GetPreviousTopicQuantileForecasterScoreEmaResponse") + proto.RegisterType((*GetPreviousTopicQuantileInfererScoreEmaRequest)(nil), "emissions.v8.GetPreviousTopicQuantileInfererScoreEmaRequest") + proto.RegisterType((*GetPreviousTopicQuantileInfererScoreEmaResponse)(nil), "emissions.v8.GetPreviousTopicQuantileInfererScoreEmaResponse") + proto.RegisterType((*GetPreviousTopicQuantileReputerScoreEmaRequest)(nil), "emissions.v8.GetPreviousTopicQuantileReputerScoreEmaRequest") + proto.RegisterType((*GetPreviousTopicQuantileReputerScoreEmaResponse)(nil), "emissions.v8.GetPreviousTopicQuantileReputerScoreEmaResponse") + proto.RegisterType((*GetWorkerInferenceScoresAtBlockRequest)(nil), "emissions.v8.GetWorkerInferenceScoresAtBlockRequest") + proto.RegisterType((*GetWorkerInferenceScoresAtBlockResponse)(nil), "emissions.v8.GetWorkerInferenceScoresAtBlockResponse") + proto.RegisterType((*GetCurrentLowestInfererScoreRequest)(nil), "emissions.v8.GetCurrentLowestInfererScoreRequest") + proto.RegisterType((*GetCurrentLowestInfererScoreResponse)(nil), "emissions.v8.GetCurrentLowestInfererScoreResponse") + proto.RegisterType((*GetForecastScoresUntilBlockRequest)(nil), "emissions.v8.GetForecastScoresUntilBlockRequest") + proto.RegisterType((*GetForecastScoresUntilBlockResponse)(nil), "emissions.v8.GetForecastScoresUntilBlockResponse") + proto.RegisterType((*GetWorkerForecastScoresAtBlockRequest)(nil), "emissions.v8.GetWorkerForecastScoresAtBlockRequest") + proto.RegisterType((*GetWorkerForecastScoresAtBlockResponse)(nil), "emissions.v8.GetWorkerForecastScoresAtBlockResponse") + proto.RegisterType((*GetCurrentLowestForecasterScoreRequest)(nil), "emissions.v8.GetCurrentLowestForecasterScoreRequest") + proto.RegisterType((*GetCurrentLowestForecasterScoreResponse)(nil), "emissions.v8.GetCurrentLowestForecasterScoreResponse") + proto.RegisterType((*GetReputersScoresAtBlockRequest)(nil), "emissions.v8.GetReputersScoresAtBlockRequest") + proto.RegisterType((*GetReputersScoresAtBlockResponse)(nil), "emissions.v8.GetReputersScoresAtBlockResponse") + proto.RegisterType((*GetCurrentLowestReputerScoreRequest)(nil), "emissions.v8.GetCurrentLowestReputerScoreRequest") + proto.RegisterType((*GetCurrentLowestReputerScoreResponse)(nil), "emissions.v8.GetCurrentLowestReputerScoreResponse") + proto.RegisterType((*GetListeningCoefficientRequest)(nil), "emissions.v8.GetListeningCoefficientRequest") + proto.RegisterType((*GetListeningCoefficientResponse)(nil), "emissions.v8.GetListeningCoefficientResponse") + proto.RegisterType((*GetPreviousReputerRewardFractionRequest)(nil), "emissions.v8.GetPreviousReputerRewardFractionRequest") + proto.RegisterType((*GetPreviousReputerRewardFractionResponse)(nil), "emissions.v8.GetPreviousReputerRewardFractionResponse") + proto.RegisterType((*GetPreviousInferenceRewardFractionRequest)(nil), "emissions.v8.GetPreviousInferenceRewardFractionRequest") + proto.RegisterType((*GetPreviousInferenceRewardFractionResponse)(nil), "emissions.v8.GetPreviousInferenceRewardFractionResponse") + proto.RegisterType((*GetPreviousForecastRewardFractionRequest)(nil), "emissions.v8.GetPreviousForecastRewardFractionRequest") + proto.RegisterType((*GetPreviousForecastRewardFractionResponse)(nil), "emissions.v8.GetPreviousForecastRewardFractionResponse") + proto.RegisterType((*GetPreviousPercentageRewardToStakedReputersRequest)(nil), "emissions.v8.GetPreviousPercentageRewardToStakedReputersRequest") + proto.RegisterType((*GetPreviousPercentageRewardToStakedReputersResponse)(nil), "emissions.v8.GetPreviousPercentageRewardToStakedReputersResponse") + proto.RegisterType((*GetTotalRewardToDistributeRequest)(nil), "emissions.v8.GetTotalRewardToDistributeRequest") + proto.RegisterType((*GetTotalRewardToDistributeResponse)(nil), "emissions.v8.GetTotalRewardToDistributeResponse") + proto.RegisterType((*GetActiveTopicsAtBlockRequest)(nil), "emissions.v8.GetActiveTopicsAtBlockRequest") + proto.RegisterType((*GetActiveTopicsAtBlockResponse)(nil), "emissions.v8.GetActiveTopicsAtBlockResponse") + proto.RegisterType((*GetNextChurningBlockByTopicIdRequest)(nil), "emissions.v8.GetNextChurningBlockByTopicIdRequest") + proto.RegisterType((*GetNextChurningBlockByTopicIdResponse)(nil), "emissions.v8.GetNextChurningBlockByTopicIdResponse") + proto.RegisterType((*GetActiveReputersForTopicRequest)(nil), "emissions.v8.GetActiveReputersForTopicRequest") + proto.RegisterType((*GetActiveReputersForTopicResponse)(nil), "emissions.v8.GetActiveReputersForTopicResponse") + proto.RegisterType((*GetActiveForecastersForTopicRequest)(nil), "emissions.v8.GetActiveForecastersForTopicRequest") + proto.RegisterType((*GetActiveForecastersForTopicResponse)(nil), "emissions.v8.GetActiveForecastersForTopicResponse") + proto.RegisterType((*GetActiveInferersForTopicRequest)(nil), "emissions.v8.GetActiveInferersForTopicRequest") + proto.RegisterType((*GetActiveInferersForTopicResponse)(nil), "emissions.v8.GetActiveInferersForTopicResponse") + proto.RegisterType((*GetTopicInitialInfererEmaScoreRequest)(nil), "emissions.v8.GetTopicInitialInfererEmaScoreRequest") + proto.RegisterType((*GetTopicInitialInfererEmaScoreResponse)(nil), "emissions.v8.GetTopicInitialInfererEmaScoreResponse") + proto.RegisterType((*GetTopicInitialForecasterEmaScoreRequest)(nil), "emissions.v8.GetTopicInitialForecasterEmaScoreRequest") + proto.RegisterType((*GetTopicInitialForecasterEmaScoreResponse)(nil), "emissions.v8.GetTopicInitialForecasterEmaScoreResponse") + proto.RegisterType((*GetTopicInitialReputerEmaScoreRequest)(nil), "emissions.v8.GetTopicInitialReputerEmaScoreRequest") + proto.RegisterType((*GetTopicInitialReputerEmaScoreResponse)(nil), "emissions.v8.GetTopicInitialReputerEmaScoreResponse") + proto.RegisterType((*GetLatestRegretStdNormRequest)(nil), "emissions.v8.GetLatestRegretStdNormRequest") + proto.RegisterType((*GetLatestRegretStdNormResponse)(nil), "emissions.v8.GetLatestRegretStdNormResponse") + proto.RegisterType((*GetLatestInfererWeightRequest)(nil), "emissions.v8.GetLatestInfererWeightRequest") + proto.RegisterType((*GetLatestInfererWeightResponse)(nil), "emissions.v8.GetLatestInfererWeightResponse") + proto.RegisterType((*GetLatestForecasterWeightRequest)(nil), "emissions.v8.GetLatestForecasterWeightRequest") + proto.RegisterType((*GetLatestForecasterWeightResponse)(nil), "emissions.v8.GetLatestForecasterWeightResponse") +} + +func init() { proto.RegisterFile("emissions/v8/query.proto", fileDescriptor_a0e710a1eb587f03) } + +var fileDescriptor_a0e710a1eb587f03 = []byte{ + // 7597 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xec, 0x5d, 0x69, 0x6c, 0x1c, 0xc9, + 0x75, 0xde, 0xd6, 0xb5, 0x64, 0x71, 0x25, 0x51, 0x65, 0xad, 0x24, 0x8e, 0x24, 0x4a, 0x6a, 0xad, + 0x8e, 0xd5, 0xc1, 0x59, 0x1d, 0x2b, 0x69, 0x75, 0xac, 0x44, 0x72, 0x45, 0x8a, 0x5a, 0xad, 0x44, + 0x8d, 0xae, 0xb5, 0x1c, 0xbb, 0xdd, 0x9c, 0x29, 0x52, 0x6d, 0xf5, 0x74, 0xcf, 0x76, 0xf7, 0x90, + 0x92, 0x15, 0x65, 0x0d, 0x07, 0x36, 0x82, 0xfc, 0xc8, 0x61, 0xc7, 0xfe, 0x63, 0x23, 0x31, 0x90, + 0x00, 0x49, 0x9c, 0x20, 0x70, 0x9c, 0x03, 0x30, 0x8c, 0x1c, 0x70, 0x2e, 0xdb, 0x31, 0x62, 0x3b, + 0xb1, 0x83, 0x75, 0x80, 0x18, 0xf6, 0xae, 0x9d, 0x0b, 0x4e, 0xfe, 0xe4, 0x4f, 0x10, 0xf8, 0x47, + 0x30, 0x55, 0xd5, 0x5d, 0x55, 0xdd, 0x55, 0xd5, 0x35, 0x43, 0x72, 0xe3, 0x1f, 0xfb, 0x47, 0xd0, + 0xcc, 0x54, 0xbd, 0x7a, 0x5f, 0xd5, 0xab, 0x57, 0xaf, 0x5e, 0xbd, 0xf7, 0x08, 0xb6, 0xa0, 0xa6, + 0x17, 0xc7, 0x5e, 0x18, 0xc4, 0xd5, 0xf9, 0x53, 0xd5, 0xd7, 0xda, 0x28, 0x7a, 0x38, 0xd2, 0x8a, + 0xc2, 0x24, 0x84, 0x4f, 0x65, 0xbf, 0x8c, 0xcc, 0x9f, 0xaa, 0x6c, 0x70, 0x9b, 0x5e, 0x10, 0x56, + 0xf1, 0xbf, 0xa4, 0x41, 0x65, 0x6b, 0x3d, 0x8c, 0x9b, 0x61, 0x4c, 0x3a, 0x55, 0xe7, 0x8f, 0xf0, + 0xbd, 0x2b, 0x43, 0xe4, 0x47, 0x07, 0x7f, 0xaa, 0x92, 0x0f, 0xf4, 0xa7, 0x6d, 0xdc, 0x90, 0xc7, + 0xaa, 0x5e, 0x30, 0x8b, 0x22, 0x14, 0xd4, 0x11, 0xfd, 0x75, 0xb3, 0xf0, 0x6b, 0x10, 0x36, 0xd2, + 0x1f, 0xb6, 0xe4, 0x7e, 0x60, 0x5d, 0x2a, 0xc2, 0x2f, 0x11, 0x6a, 0xb5, 0x13, 0x14, 0x49, 0x7b, + 0xc5, 0xf5, 0x30, 0x92, 0xd3, 0x8b, 0x13, 0xf7, 0xbe, 0xfc, 0x97, 0x24, 0x6c, 0x79, 0x75, 0xf9, + 0x2f, 0x0f, 0x5b, 0x28, 0x05, 0x35, 0x24, 0xfc, 0xb2, 0x10, 0x46, 0xf7, 0x33, 0x16, 0x86, 0x84, + 0x29, 0x6e, 0xb9, 0x91, 0xdb, 0x4c, 0x7b, 0x6d, 0x9c, 0x0b, 0xe7, 0x42, 0x32, 0x45, 0x9d, 0xff, + 0xa5, 0x13, 0x34, 0x17, 0x86, 0x73, 0x3e, 0xaa, 0xba, 0x2d, 0xaf, 0xea, 0x06, 0x41, 0x98, 0xb8, + 0x09, 0x5e, 0x06, 0xfc, 0xab, 0x7d, 0x16, 0xec, 0x9c, 0x8a, 0xef, 0xdc, 0xf3, 0x12, 0xe4, 0x7b, + 0x71, 0x82, 0x1a, 0x93, 0x7e, 0x38, 0xe3, 0xfa, 0x77, 0xf0, 0x88, 0x35, 0xf4, 0x5a, 0x1b, 0xc5, + 0x09, 0xdc, 0x02, 0x9e, 0x74, 0x1b, 0x8d, 0x08, 0xc5, 0xf1, 0x16, 0x6b, 0xa7, 0xb5, 0xbf, 0xbf, + 0x96, 0x7e, 0xb4, 0xef, 0x83, 0x5d, 0x9a, 0xde, 0x71, 0x2b, 0x0c, 0x62, 0x04, 0x27, 0xc0, 0x36, + 0x2f, 0x76, 0x16, 0x58, 0x2b, 0x67, 0x0e, 0x37, 0x73, 0x08, 0x2e, 0x4c, 0xb3, 0x6f, 0x6c, 0xf5, + 0x6f, 0xfd, 0xeb, 0xe7, 0x0e, 0x58, 0xb5, 0x21, 0x4f, 0x45, 0xcf, 0x3e, 0x27, 0x1d, 0xac, 0x46, + 0x16, 0xa8, 0x9c, 0xd7, 0x00, 0xd8, 0xba, 0xee, 0x94, 0xd9, 0x4b, 0x60, 0xbb, 0x9c, 0x59, 0x2a, + 0x08, 0x22, 0xb7, 0x15, 0x4f, 0x49, 0xd1, 0x3e, 0x03, 0x76, 0x48, 0xc6, 0x1b, 0x6d, 0x34, 0xbd, + 0xa0, 0x9c, 0xd9, 0x7b, 0xd2, 0x65, 0xa1, 0x9d, 0x29, 0xab, 0x2f, 0x81, 0xad, 0x72, 0x56, 0xdd, + 0x4e, 0x33, 0x91, 0xd1, 0x2d, 0x9e, 0x82, 0x9a, 0x3d, 0x0a, 0x9e, 0x99, 0x8a, 0x6f, 0x76, 0xa4, + 0x92, 0x4c, 0x73, 0xd6, 0xec, 0x62, 0xe0, 0xce, 0xf8, 0xa8, 0x91, 0xf2, 0x3a, 0x04, 0xfa, 0xb0, + 0xec, 0x3a, 0x5e, 0x03, 0x93, 0x5e, 0x55, 0x7b, 0x12, 0x7f, 0x9e, 0x6a, 0xd8, 0x0f, 0xc0, 0x9e, + 0x12, 0x12, 0x94, 0xe3, 0x6b, 0x60, 0x97, 0x17, 0x3b, 0x84, 0x0c, 0x59, 0x7c, 0xc6, 0xbe, 0x83, + 0x48, 0x63, 0x91, 0xef, 0xed, 0x9e, 0x8e, 0xb0, 0x3d, 0x96, 0x8d, 0x4c, 0x67, 0xbd, 0x07, 0xee, + 0x1f, 0x81, 0xbd, 0x65, 0x34, 0x28, 0xfb, 0xd7, 0x81, 0x9d, 0xb1, 0x4f, 0xc5, 0xa1, 0x8c, 0xff, + 0x61, 0x4f, 0x4b, 0xba, 0xb0, 0xfd, 0x70, 0xe3, 0xf1, 0x08, 0xb9, 0x49, 0xd8, 0xc3, 0xf6, 0x13, + 0x7b, 0x2b, 0xb7, 0x1f, 0x41, 0x50, 0x27, 0xed, 0x74, 0xdb, 0x8f, 0xa7, 0xa7, 0x92, 0xe7, 0xba, + 0x11, 0xa7, 0x0a, 0x79, 0xae, 0xf3, 0x8c, 0xaa, 0xe5, 0xb9, 0x5e, 0xe0, 0x53, 0x2a, 0xcf, 0x9d, + 0x66, 0xf6, 0xed, 0x1c, 0x9b, 0x9c, 0xf8, 0x94, 0x0b, 0x03, 0x8f, 0x60, 0x85, 0x1e, 0x81, 0x40, + 0x57, 0x89, 0x80, 0x97, 0x75, 0x1d, 0x02, 0x8e, 0x9a, 0x7d, 0x47, 0x36, 0x52, 0x4e, 0xcd, 0xf5, + 0x04, 0x41, 0x2a, 0x2e, 0x79, 0x05, 0xa8, 0x12, 0x17, 0xa9, 0xfe, 0x93, 0x88, 0x4b, 0xaa, 0xfe, + 0xce, 0x83, 0xdd, 0xe3, 0x6e, 0x70, 0xab, 0xd5, 0x70, 0x13, 0x34, 0xea, 0xfb, 0x54, 0x93, 0xa7, + 0x8d, 0xe3, 0x72, 0x91, 0x69, 0x83, 0x67, 0xf4, 0x04, 0x28, 0xc3, 0xaf, 0x80, 0x9d, 0x75, 0x37, + 0x70, 0xda, 0xb8, 0xa1, 0xe3, 0xfa, 0x7e, 0x76, 0xbc, 0x64, 0x6d, 0x45, 0xa6, 0xb7, 0xd5, 0x35, + 0x64, 0xed, 0x51, 0xb0, 0x27, 0x1b, 0x96, 0x3f, 0x7e, 0xb2, 0x26, 0xe5, 0x9c, 0x3f, 0x02, 0x7b, + 0xcb, 0x48, 0x30, 0x8d, 0xc2, 0xf1, 0x2e, 0x1c, 0x8b, 0x8c, 0xfd, 0x9c, 0x46, 0xa9, 0x6b, 0x49, + 0xdb, 0x63, 0x85, 0xc1, 0xf3, 0xba, 0xa7, 0x1c, 0xc0, 0xcf, 0x80, 0x7d, 0xa5, 0x34, 0x28, 0x82, + 0x1b, 0x60, 0x77, 0x11, 0x41, 0x41, 0x39, 0x8a, 0x10, 0x76, 0xd4, 0xf5, 0xc4, 0xed, 0xa3, 0x60, + 0x53, 0x36, 0xfe, 0x34, 0xb6, 0x70, 0xca, 0x79, 0xbe, 0x02, 0x36, 0x17, 0xfa, 0x50, 0x1e, 0x8f, + 0x80, 0x0d, 0x1c, 0x8f, 0xc4, 0x64, 0x12, 0x39, 0x5a, 0x5f, 0x17, 0xbb, 0xda, 0xb7, 0xc0, 0x70, + 0x46, 0x8d, 0xec, 0xcd, 0xfc, 0xec, 0xf5, 0xb4, 0x03, 0x11, 0xd8, 0xa1, 0x24, 0x4b, 0x99, 0x1d, + 0x03, 0x15, 0x8e, 0x59, 0xaa, 0x3f, 0xe4, 0xf3, 0xb8, 0xb9, 0x2e, 0xa7, 0x65, 0x1f, 0x01, 0x4f, + 0x8f, 0xbb, 0x01, 0x56, 0xdc, 0x88, 0x6e, 0xca, 0xb2, 0xe9, 0x9b, 0xc2, 0x53, 0x2e, 0x74, 0xa1, + 0x0c, 0x55, 0xc1, 0x60, 0x87, 0x21, 0x7c, 0x5c, 0x50, 0x86, 0x44, 0x36, 0xd6, 0xd5, 0x85, 0x8e, + 0xf6, 0x4d, 0xb0, 0x7d, 0xdc, 0x0d, 0x6e, 0xb4, 0x67, 0x9a, 0x5e, 0x42, 0xa4, 0x73, 0xda, 0x7d, + 0xe8, 0x87, 0x6e, 0x63, 0x51, 0x53, 0x37, 0x83, 0x57, 0x44, 0x4a, 0x95, 0x32, 0x7a, 0x01, 0x0c, + 0x75, 0x18, 0x8d, 0x71, 0x93, 0x74, 0x17, 0xb5, 0x48, 0x23, 0x91, 0xe3, 0x4d, 0x75, 0x29, 0x25, + 0xba, 0xea, 0xe4, 0x17, 0x2a, 0x94, 0x4b, 0xc1, 0x3a, 0x59, 0x75, 0x39, 0x59, 0x71, 0xd5, 0x29, + 0xef, 0xe9, 0xfe, 0x91, 0x32, 0xbf, 0xb9, 0x2e, 0xa7, 0x65, 0xbf, 0x0f, 0xec, 0x9b, 0x44, 0xc9, + 0x78, 0xd8, 0x0e, 0x92, 0x29, 0x7c, 0x0d, 0x8a, 0xa6, 0x82, 0xba, 0xdf, 0xc6, 0x77, 0x85, 0xa9, + 0x40, 0x90, 0x03, 0x3d, 0x0c, 0x72, 0x89, 0x8a, 0x52, 0x18, 0xf4, 0xa3, 0x7d, 0x01, 0xec, 0x2f, + 0xa7, 0x4f, 0xf1, 0x6c, 0x04, 0xab, 0xeb, 0x9d, 0x86, 0x94, 0x3a, 0xf9, 0x60, 0xcf, 0x81, 0x03, + 0x29, 0x85, 0x89, 0x30, 0x42, 0x75, 0x37, 0x4e, 0x7a, 0x63, 0x72, 0x18, 0x80, 0xd9, 0x8c, 0x00, + 0xe5, 0x93, 0xfb, 0xc6, 0x1e, 0x07, 0x07, 0x8d, 0x06, 0xd2, 0x72, 0x7b, 0x17, 0xec, 0x9e, 0x44, + 0xc9, 0x55, 0xd7, 0x9b, 0x47, 0x14, 0xef, 0x55, 0x94, 0x74, 0xc4, 0xaa, 0x86, 0xe6, 0x22, 0x94, + 0x2c, 0x6a, 0x2e, 0xdf, 0x07, 0x9e, 0xd1, 0xd3, 0xa6, 0x9c, 0x9d, 0x00, 0x6b, 0x22, 0xfc, 0x0d, + 0x26, 0x3d, 0x70, 0x74, 0x78, 0x84, 0xbb, 0x47, 0x1f, 0x1b, 0xb9, 0xe9, 0x35, 0x51, 0x9c, 0xb8, + 0xcd, 0x16, 0x6a, 0xdc, 0x76, 0xfd, 0x36, 0xaa, 0xd1, 0xd6, 0xf6, 0xcf, 0x5b, 0x78, 0x06, 0xae, + 0x05, 0xe8, 0x5a, 0x9b, 0xad, 0x56, 0x4f, 0x20, 0xf6, 0x82, 0xf5, 0x61, 0x80, 0x9c, 0xb0, 0x9d, + 0x38, 0x22, 0x98, 0xb5, 0x21, 0x4f, 0x9d, 0x07, 0xbb, 0x52, 0x04, 0x3b, 0x0b, 0x0e, 0x99, 0xf1, + 0xb2, 0x48, 0xd0, 0x1f, 0xb7, 0xc0, 0x48, 0x7e, 0x20, 0xb6, 0xfc, 0xcb, 0x85, 0x5b, 0x94, 0xc5, + 0x95, 0x05, 0x59, 0xf4, 0x40, 0xd5, 0x98, 0xa9, 0xa5, 0x9c, 0x00, 0x5e, 0xf0, 0x7b, 0x5a, 0xf8, + 0x43, 0x00, 0xa6, 0x13, 0x50, 0xd8, 0x6c, 0x83, 0x61, 0x6e, 0x0c, 0xcd, 0xf2, 0xf3, 0x13, 0x50, + 0xc6, 0xd4, 0x22, 0x27, 0xe0, 0xd3, 0x16, 0x38, 0x22, 0x19, 0xab, 0x77, 0x21, 0xe8, 0x6e, 0x0e, + 0xca, 0x44, 0xc1, 0x07, 0x47, 0xbb, 0xe1, 0x6e, 0x91, 0x93, 0x01, 0xc1, 0xe0, 0x24, 0x4a, 0x04, + 0xfb, 0xc9, 0xbe, 0x02, 0x36, 0x70, 0xdf, 0xd1, 0x01, 0x4e, 0x82, 0x35, 0x9c, 0x51, 0x34, 0x70, + 0x74, 0x23, 0x3f, 0xc0, 0xa9, 0x11, 0xd2, 0x7a, 0xac, 0xff, 0xcb, 0xdf, 0xdd, 0xf1, 0x04, 0x39, + 0x82, 0x68, 0x73, 0x7b, 0x13, 0xd8, 0x38, 0x89, 0x92, 0x9b, 0x61, 0xe2, 0xfa, 0x37, 0x12, 0xf7, + 0x3e, 0x4a, 0x47, 0x99, 0x03, 0x4f, 0xe7, 0xbe, 0xcf, 0xbc, 0x2b, 0x6b, 0xdc, 0x66, 0xa6, 0x69, + 0xfb, 0xc7, 0x9e, 0xeb, 0xd0, 0xfc, 0xa7, 0xef, 0xee, 0x78, 0x9a, 0xb8, 0xf4, 0xe2, 0xc6, 0xfd, + 0x11, 0x2f, 0xac, 0x36, 0xdd, 0xe4, 0xde, 0xc8, 0x54, 0x90, 0xfc, 0xfd, 0x1f, 0x1e, 0x06, 0xd4, + 0xd7, 0x37, 0x15, 0x24, 0x74, 0x68, 0xd2, 0xff, 0xf4, 0xaa, 0x7f, 0xfb, 0xcc, 0x0e, 0xab, 0x63, + 0x6a, 0x4c, 0xa2, 0xf4, 0x1c, 0xc4, 0x43, 0xe5, 0xce, 0x10, 0xa5, 0xc1, 0x23, 0x2c, 0xfa, 0x0a, + 0xd1, 0x23, 0xd0, 0x02, 0xc3, 0x2a, 0xaa, 0xcb, 0x84, 0xe3, 0xbd, 0xc0, 0x9e, 0x44, 0xc9, 0x2b, + 0x6d, 0x3f, 0xf1, 0x34, 0x60, 0xb6, 0x81, 0x7e, 0xca, 0x3d, 0xea, 0xc0, 0x59, 0xb9, 0xbf, 0xbf, + 0xc6, 0xbe, 0xd0, 0x01, 0x7a, 0x15, 0x9f, 0x64, 0x6a, 0xf2, 0x99, 0x9d, 0xfc, 0x24, 0xe1, 0x8a, + 0x50, 0x1f, 0x38, 0xba, 0x59, 0x94, 0x34, 0xda, 0x69, 0x36, 0xac, 0xa5, 0xed, 0xec, 0x26, 0xb6, + 0x39, 0xf0, 0x0f, 0x13, 0x51, 0xd8, 0xa4, 0xd4, 0x29, 0xe1, 0xa9, 0xe0, 0x06, 0xf2, 0x67, 0x53, + 0xee, 0xf7, 0x81, 0xf5, 0xa9, 0x5d, 0x23, 0x2e, 0xc9, 0x3a, 0xfa, 0xf5, 0x68, 0xf9, 0xca, 0x7c, + 0x10, 0x9b, 0x20, 0x25, 0xc3, 0x2d, 0xd3, 0x1a, 0x11, 0xa8, 0x2f, 0x21, 0x1f, 0xcd, 0xb9, 0x09, + 0xe2, 0x27, 0x70, 0x2a, 0xc8, 0xdd, 0xce, 0x97, 0x0e, 0x6a, 0xc9, 0x70, 0xcb, 0x04, 0xf5, 0xd7, + 0x2c, 0x7c, 0x62, 0x67, 0xf3, 0x4c, 0xb9, 0x08, 0x23, 0x15, 0xe0, 0x83, 0x60, 0x43, 0x23, 0x6d, + 0x93, 0x83, 0x3c, 0x98, 0xfd, 0x90, 0x82, 0x96, 0xcc, 0xce, 0x8a, 0xd2, 0xd9, 0x59, 0x29, 0xce, + 0xce, 0xeb, 0xe0, 0xb0, 0x21, 0x83, 0xcb, 0x26, 0x0d, 0xbb, 0x75, 0x0c, 0xf4, 0x34, 0x31, 0x1a, + 0x69, 0x98, 0xc7, 0xf6, 0xa2, 0x66, 0xb8, 0x65, 0x82, 0x79, 0x84, 0x6a, 0xf8, 0x96, 0x57, 0xe7, + 0x35, 0xbc, 0xce, 0x9f, 0x9a, 0x2a, 0x7f, 0xd6, 0x65, 0x99, 0x78, 0x9b, 0xc1, 0x4a, 0x93, 0x9e, + 0x99, 0x57, 0xc2, 0x38, 0x1e, 0x6b, 0x07, 0x0d, 0x1f, 0x8d, 0x26, 0x63, 0x7e, 0x58, 0xbf, 0x6f, + 0x70, 0xb8, 0xef, 0x02, 0x4f, 0xcd, 0x74, 0x9a, 0x3a, 0xf7, 0x90, 0x37, 0x77, 0x2f, 0xc1, 0x73, + 0xbe, 0xb2, 0x36, 0x80, 0xbf, 0xbb, 0x84, 0xbf, 0xb2, 0x5d, 0x72, 0x07, 0x50, 0x8e, 0x41, 0xa1, + 0x9d, 0x06, 0x03, 0x7e, 0x18, 0xc7, 0xce, 0x0c, 0xfe, 0x95, 0x1e, 0xa3, 0x43, 0xa2, 0xf6, 0xc4, + 0x87, 0x33, 0xe9, 0x5e, 0x03, 0x7e, 0x46, 0xca, 0xde, 0x8c, 0xe7, 0xeb, 0x2a, 0x7a, 0x40, 0xe6, + 0x6c, 0x2a, 0xbd, 0x6b, 0xda, 0x67, 0xc1, 0xa6, 0xfc, 0x0f, 0x74, 0x38, 0x1b, 0xac, 0x0d, 0xd0, + 0x83, 0xc4, 0xc9, 0x01, 0x1b, 0x08, 0x58, 0x5b, 0xfb, 0x10, 0x58, 0x9f, 0x2e, 0x83, 0xc1, 0xa2, + 0x7d, 0xd8, 0xc2, 0xc6, 0x82, 0x28, 0x4c, 0xcf, 0x82, 0xd5, 0xec, 0xba, 0x3f, 0x70, 0xf4, 0x5d, + 0x39, 0xbb, 0x03, 0xb7, 0x25, 0x2d, 0xe0, 0x26, 0xb0, 0x66, 0x81, 0x4d, 0x62, 0x7f, 0x8d, 0x7e, + 0xea, 0xc8, 0x3f, 0x9a, 0x9d, 0x45, 0xf5, 0xc4, 0x9b, 0x47, 0x4e, 0x84, 0xe6, 0x51, 0xd0, 0x46, + 0xd4, 0x30, 0x1a, 0xcc, 0x7e, 0xa8, 0x91, 0xef, 0x6d, 0x84, 0x01, 0x8f, 0xe2, 0xef, 0x30, 0xf5, + 0xcc, 0xed, 0xf3, 0x32, 0x00, 0x2d, 0x77, 0xce, 0x0b, 0xf0, 0xd3, 0x15, 0x65, 0xe7, 0x60, 0xee, + 0x70, 0xf2, 0x9a, 0x2d, 0x1f, 0x8d, 0xb7, 0xa3, 0x38, 0x8c, 0xa6, 0xb3, 0xb6, 0x94, 0x40, 0x8d, + 0xeb, 0x6e, 0xff, 0x8a, 0x05, 0x36, 0x17, 0xc6, 0xa1, 0x90, 0x0f, 0x82, 0x35, 0x18, 0x50, 0x7a, + 0x02, 0x4a, 0x31, 0xd3, 0x26, 0xf0, 0x8a, 0xc0, 0xd5, 0x0a, 0xcc, 0xd5, 0x21, 0x33, 0xae, 0xc8, + 0x70, 0x02, 0x5b, 0xef, 0x01, 0x5b, 0x27, 0x11, 0xbd, 0x21, 0x04, 0x75, 0x14, 0x2f, 0xa9, 0x1c, + 0xbf, 0x0a, 0xb6, 0xc9, 0x89, 0x53, 0xdc, 0xa7, 0x00, 0xc8, 0x9e, 0x4e, 0x53, 0x33, 0x70, 0x8b, + 0x08, 0x85, 0x75, 0xae, 0x71, 0x6d, 0xed, 0xb3, 0x60, 0xc7, 0x24, 0x4a, 0xae, 0xb8, 0x09, 0x8a, + 0xa9, 0xec, 0xb1, 0x76, 0xe5, 0x72, 0xf7, 0x3a, 0xd8, 0xa9, 0xee, 0xbd, 0x58, 0xde, 0x4c, 0x26, + 0xe6, 0x2e, 0xa8, 0x4c, 0xa2, 0xcc, 0x18, 0x5f, 0xda, 0x49, 0xbf, 0x89, 0x57, 0xb4, 0x48, 0x9b, + 0xe2, 0x7a, 0x1e, 0xf4, 0xa7, 0x77, 0x83, 0x14, 0x56, 0xce, 0xe0, 0xca, 0xba, 0xd6, 0x58, 0x4b, + 0xdb, 0xc7, 0x86, 0x01, 0x71, 0x5c, 0x91, 0x89, 0xcb, 0xd0, 0x8f, 0x3d, 0x14, 0x55, 0x88, 0x8e, + 0xff, 0x3d, 0x60, 0x1d, 0x75, 0x91, 0x89, 0x87, 0xf0, 0x5a, 0xf2, 0x2d, 0x3d, 0x93, 0xec, 0x10, + 0x3c, 0x6b, 0x30, 0x5a, 0xe6, 0xc5, 0x1a, 0xf4, 0x71, 0x1b, 0x27, 0x5b, 0x04, 0x39, 0xb0, 0x8c, + 0x46, 0x6d, 0xbd, 0x2f, 0x12, 0xb5, 0x27, 0xc0, 0x96, 0x6c, 0xc0, 0xab, 0x61, 0x83, 0xd8, 0x9b, + 0x45, 0x6b, 0x5e, 0x74, 0xb1, 0x5d, 0x5e, 0xd5, 0x67, 0x0d, 0xae, 0xa8, 0x01, 0xdf, 0x9b, 0x69, + 0x1d, 0x6d, 0x39, 0xf7, 0xd1, 0x43, 0xfb, 0x26, 0x18, 0x92, 0xd0, 0xc9, 0x6e, 0x3c, 0xfd, 0x41, + 0xd8, 0x40, 0x1d, 0x36, 0x43, 0xca, 0x61, 0x45, 0xe4, 0xf0, 0xda, 0xec, 0x6c, 0xfd, 0x9e, 0xeb, + 0x05, 0x9d, 0xae, 0xb5, 0xbe, 0x80, 0x12, 0xb0, 0x27, 0x31, 0x55, 0x6a, 0x5c, 0x2c, 0x86, 0xbd, + 0x5b, 0x58, 0xee, 0x0a, 0x84, 0x16, 0xcb, 0xdf, 0xaf, 0x5a, 0xfc, 0xa1, 0xd8, 0x8b, 0x32, 0x39, + 0x07, 0xb6, 0xf2, 0x72, 0xed, 0xf8, 0xae, 0xb0, 0x9c, 0x44, 0xcc, 0xb7, 0x70, 0x62, 0x7e, 0xc5, + 0xe5, 0x96, 0xef, 0xf2, 0xaa, 0xbe, 0x95, 0x83, 0xab, 0xe8, 0xef, 0x02, 0x89, 0x08, 0x2d, 0xb8, + 0x51, 0xc3, 0xfe, 0x05, 0x0b, 0xdf, 0x81, 0x55, 0x0c, 0x5e, 0x6b, 0x27, 0xbe, 0x87, 0xcd, 0x36, + 0x2f, 0x4e, 0xdc, 0x20, 0x59, 0x76, 0x86, 0xed, 0x17, 0xc1, 0xae, 0x4c, 0x03, 0x15, 0xb8, 0x32, + 0xd0, 0x60, 0x57, 0xb1, 0xc7, 0x41, 0xd1, 0xbf, 0x7b, 0x38, 0xf6, 0x24, 0xf6, 0x91, 0x12, 0x7a, + 0xa3, 0xf3, 0xae, 0xe7, 0xbb, 0x33, 0x3e, 0xea, 0x85, 0xb1, 0x3b, 0xe0, 0xb4, 0x01, 0xa1, 0x1e, + 0x38, 0x74, 0xf0, 0x0b, 0x2b, 0xdd, 0x58, 0x41, 0x1d, 0xdd, 0x0a, 0x66, 0xdb, 0xfe, 0xac, 0xe7, + 0x1b, 0x3d, 0xb7, 0x9b, 0xe8, 0x4d, 0xf2, 0xd4, 0xaa, 0x18, 0x40, 0x7c, 0x6a, 0x25, 0x1a, 0x0c, + 0x87, 0xef, 0x38, 0x6d, 0xd6, 0xac, 0xf8, 0xd4, 0x2a, 0xa5, 0x66, 0x9f, 0xc7, 0xbb, 0x45, 0xa0, + 0x4f, 0x37, 0xa4, 0xe1, 0x24, 0x13, 0xfb, 0x50, 0x4d, 0x20, 0xb3, 0x0f, 0xd7, 0x60, 0x1e, 0x53, + 0x3d, 0x6f, 0x8b, 0x9b, 0x59, 0xbc, 0x4d, 0xd1, 0xbe, 0xb4, 0x07, 0x15, 0x50, 0x6e, 0x08, 0x0e, + 0x8b, 0x09, 0x8b, 0xb5, 0x3c, 0x46, 0xb1, 0x3f, 0xe5, 0xf0, 0x50, 0x8e, 0xc3, 0x8d, 0x22, 0x87, + 0x39, 0x9e, 0x6e, 0x63, 0x0f, 0x49, 0x8f, 0x7e, 0xc5, 0x21, 0xd0, 0x87, 0x5f, 0xf4, 0xd3, 0x6b, + 0x4e, 0x47, 0x4f, 0x76, 0x3e, 0x4f, 0x35, 0xec, 0x77, 0x63, 0x63, 0x62, 0x59, 0x5c, 0x83, 0xb7, + 0xf1, 0x34, 0xf6, 0xee, 0x09, 0xec, 0x58, 0xb8, 0xe4, 0x19, 0x3f, 0xb5, 0x70, 0xc9, 0x6b, 0xfd, + 0x4f, 0xe1, 0xe9, 0x5d, 0x2e, 0x1f, 0xde, 0x63, 0xb0, 0x97, 0x78, 0x0c, 0xa7, 0x82, 0xde, 0x59, + 0x2f, 0x79, 0x2d, 0xd1, 0xb8, 0x6e, 0x5d, 0xec, 0xf3, 0xd0, 0x0f, 0xbf, 0x48, 0x84, 0xef, 0xef, + 0x6c, 0x76, 0x7e, 0xd7, 0x2c, 0xb9, 0x3a, 0xc1, 0x61, 0x0f, 0xca, 0x11, 0x84, 0xb0, 0x87, 0xd4, + 0x2f, 0x51, 0xa2, 0x50, 0x86, 0x3c, 0x15, 0x3d, 0x3b, 0xe4, 0x2f, 0x8c, 0x6a, 0x7b, 0xfb, 0x12, + 0x80, 0x01, 0x69, 0xe3, 0x14, 0x6c, 0x5b, 0xcd, 0xbd, 0x71, 0x43, 0x90, 0x27, 0x6c, 0xbf, 0x0e, + 0x8e, 0x75, 0x75, 0x9e, 0x2e, 0x39, 0x03, 0x1f, 0x5f, 0x8d, 0x77, 0x80, 0xf2, 0x04, 0x5d, 0xea, + 0x01, 0xe1, 0xcb, 0x60, 0x3d, 0x95, 0x4f, 0x87, 0xdc, 0x32, 0x3b, 0xe6, 0xd6, 0x4a, 0x99, 0x56, + 0xed, 0x08, 0x58, 0xc7, 0x2c, 0x8a, 0x9a, 0xa8, 0x71, 0x07, 0x37, 0xad, 0xad, 0xa3, 0x5d, 0xc9, + 0xc7, 0x18, 0x5e, 0x07, 0x90, 0xed, 0x84, 0x8c, 0xde, 0x4a, 0x63, 0x7a, 0x1b, 0x58, 0xef, 0x94, + 0xe4, 0x71, 0xb0, 0x29, 0x43, 0xe8, 0x08, 0xc2, 0xb9, 0x1a, 0x0b, 0xe7, 0xc6, 0xec, 0xd7, 0x31, + 0x26, 0xa5, 0xf0, 0x00, 0xd8, 0x40, 0x5c, 0x08, 0x7c, 0x87, 0x35, 0xb8, 0xc3, 0x7a, 0xec, 0x2d, + 0xe0, 0xda, 0x7e, 0xd4, 0x02, 0xbb, 0xeb, 0x61, 0x30, 0xeb, 0x35, 0xf0, 0x18, 0x5e, 0x90, 0xa0, + 0x68, 0xde, 0xf5, 0x9d, 0xc8, 0x5d, 0x70, 0x5a, 0x28, 0xaa, 0xa3, 0x20, 0xf1, 0x7c, 0x14, 0x6f, + 0x79, 0x72, 0xe7, 0xca, 0xfd, 0xfd, 0x63, 0x27, 0xa9, 0x9f, 0xa5, 0x3a, 0xe7, 0x25, 0xf7, 0xda, + 0x33, 0x23, 0xf5, 0xb0, 0x59, 0x75, 0x7d, 0x3f, 0x8c, 0xdc, 0xc3, 0x74, 0x72, 0xd3, 0x8f, 0xd8, + 0xa2, 0x24, 0x1e, 0x98, 0x97, 0x50, 0xbd, 0xb6, 0x93, 0x8d, 0x31, 0x45, 0x87, 0xa8, 0xb9, 0x0b, + 0xd3, 0x6c, 0x00, 0xd8, 0x06, 0x15, 0x19, 0x1f, 0xf3, 0x9d, 0x05, 0x8c, 0xb7, 0xf4, 0x2d, 0x6e, + 0xf8, 0x2d, 0xc5, 0xe1, 0xb1, 0x64, 0x74, 0xcc, 0xe9, 0x55, 0x83, 0xab, 0x6b, 0x5b, 0xd3, 0xa9, + 0x77, 0x3a, 0x97, 0x6c, 0x0f, 0x35, 0x38, 0xc1, 0xb2, 0x7f, 0x7d, 0x35, 0xb6, 0x33, 0x8d, 0xed, + 0xb2, 0x77, 0xa4, 0xf4, 0x1d, 0x29, 0x7d, 0xfb, 0xa5, 0xf4, 0xd3, 0xab, 0xf1, 0x33, 0x7d, 0xb9, + 0xb5, 0xff, 0x8e, 0x78, 0xbe, 0x23, 0x9e, 0x6f, 0xbf, 0x78, 0xfe, 0xee, 0x6a, 0x70, 0xa6, 0xa7, + 0x3b, 0xe4, 0x3b, 0xe2, 0xfa, 0x8e, 0xb8, 0xbe, 0xfd, 0xe2, 0xfa, 0x6e, 0x9c, 0xe1, 0x41, 0x43, + 0xb2, 0xe7, 0xbc, 0xce, 0xfa, 0xa0, 0x46, 0xfa, 0x22, 0xb8, 0xb8, 0x10, 0xbe, 0xeb, 0x60, 0xb7, + 0x96, 0x34, 0x15, 0xf8, 0x03, 0x60, 0x2d, 0xbe, 0x45, 0xa4, 0x2d, 0xc4, 0x6b, 0xc3, 0x53, 0x9d, + 0x6b, 0x43, 0xfa, 0x93, 0x7d, 0xb7, 0x43, 0x32, 0xbb, 0xf9, 0x2f, 0x2d, 0xbb, 0x35, 0xf0, 0x8c, + 0x9e, 0x76, 0x0f, 0xfc, 0x1e, 0x03, 0x9b, 0xb9, 0xe8, 0x71, 0xc3, 0x3c, 0x96, 0xb3, 0x60, 0x4b, + 0xb1, 0x13, 0x1d, 0x7c, 0x27, 0xe8, 0xf3, 0x62, 0x59, 0xb2, 0xca, 0x93, 0x5e, 0x4c, 0x72, 0x53, + 0x2e, 0xb1, 0x47, 0xd6, 0x1a, 0x6a, 0x86, 0xf3, 0xae, 0x1f, 0xdf, 0x6a, 0xdd, 0xea, 0xc8, 0xa1, + 0xe0, 0xcd, 0xcc, 0xdf, 0x01, 0xad, 0xe2, 0x1d, 0x70, 0x86, 0xbd, 0x9f, 0xca, 0x29, 0x65, 0x8e, + 0x9a, 0xbe, 0x88, 0xfe, 0x4e, 0x5f, 0x80, 0x86, 0x25, 0x31, 0x10, 0x94, 0x04, 0x76, 0xd9, 0x66, + 0xed, 0xed, 0x69, 0x7c, 0x96, 0x0b, 0x2f, 0xf6, 0x8b, 0xe4, 0x3a, 0xc2, 0xcf, 0xf0, 0x06, 0x14, + 0x33, 0xff, 0x7b, 0x9e, 0xfb, 0xbd, 0x22, 0xf7, 0x32, 0x52, 0x39, 0x14, 0xd7, 0xb1, 0x63, 0xba, + 0xd0, 0xc0, 0x48, 0x1a, 0xd3, 0x1c, 0x01, 0x2a, 0x8d, 0xf4, 0xa3, 0x7d, 0x07, 0xbf, 0x83, 0x14, + 0x49, 0x66, 0xef, 0x3b, 0x4f, 0xd2, 0xd1, 0xe5, 0xae, 0x83, 0x42, 0xc7, 0xb4, 0xb9, 0xbd, 0x80, + 0x6f, 0x9e, 0x4a, 0x50, 0xe5, 0x3c, 0x6f, 0x03, 0xfd, 0xd9, 0x2b, 0x3c, 0xe5, 0x9a, 0x7d, 0xc1, + 0x23, 0x5a, 0x29, 0x22, 0x9a, 0xc3, 0x82, 0xa9, 0x1e, 0x38, 0x8b, 0x48, 0xce, 0x21, 0x33, 0x5d, + 0x8e, 0x0c, 0xe1, 0x05, 0x3c, 0x10, 0xde, 0xb6, 0x57, 0xdc, 0x98, 0x3e, 0x67, 0x8c, 0x87, 0xcd, + 0xa6, 0x97, 0x98, 0x41, 0xb4, 0x7d, 0x2c, 0xf9, 0x1a, 0x0a, 0x99, 0x43, 0x75, 0x00, 0x7b, 0xce, + 0xeb, 0xf8, 0x27, 0xca, 0xef, 0x6e, 0xa5, 0x13, 0x07, 0x27, 0xdb, 0x60, 0xef, 0x47, 0x0d, 0x74, + 0xfa, 0x11, 0x8a, 0xf6, 0xa8, 0x38, 0x1a, 0x55, 0x41, 0x5d, 0x31, 0xdc, 0x04, 0x7b, 0x4a, 0x48, + 0x2c, 0x29, 0xc7, 0x27, 0xb1, 0xbc, 0xd3, 0x87, 0xef, 0x05, 0x37, 0x6a, 0x90, 0x26, 0xe5, 0x7c, + 0x1e, 0xc3, 0x52, 0x5d, 0xec, 0xc8, 0x62, 0x8a, 0xb1, 0x17, 0x89, 0xee, 0x6b, 0xf2, 0xc1, 0xae, + 0xe3, 0xf5, 0xa4, 0x98, 0x58, 0x3c, 0xc1, 0xd2, 0xbe, 0x3b, 0x92, 0x25, 0xd7, 0x0c, 0x92, 0x4d, + 0xe0, 0x53, 0x5c, 0xd4, 0x42, 0x6a, 0x98, 0xed, 0x92, 0xfa, 0xa6, 0x39, 0xfb, 0x2c, 0xae, 0x0d, + 0xb0, 0xf0, 0x85, 0xd8, 0xbe, 0x8d, 0x7d, 0xb6, 0x54, 0x84, 0x49, 0xfc, 0x4e, 0x3b, 0xb9, 0x17, + 0x46, 0x5e, 0xf2, 0x70, 0x51, 0x5a, 0x23, 0xc2, 0x4f, 0xc3, 0x0a, 0xba, 0x14, 0xc1, 0x55, 0xd0, + 0xef, 0xa6, 0x5f, 0xf6, 0x1c, 0x55, 0xc2, 0x48, 0xd8, 0x31, 0x1e, 0x53, 0xd8, 0x96, 0xd3, 0xbe, + 0x5b, 0x47, 0x4d, 0x64, 0xf4, 0x14, 0xa5, 0x57, 0x27, 0x9b, 0xc0, 0x9a, 0xc4, 0x8d, 0xe6, 0x50, + 0x42, 0xb5, 0x09, 0xfd, 0x64, 0xcf, 0x61, 0xcf, 0xb4, 0x6a, 0xd0, 0x4c, 0xb5, 0xaf, 0x63, 0x81, + 0x44, 0xdc, 0xb3, 0xe0, 0x56, 0xa9, 0x46, 0x09, 0x23, 0xbc, 0x53, 0xd6, 0x36, 0xf8, 0x8f, 0xf6, + 0x9d, 0xa2, 0xba, 0xbc, 0xd5, 0x0a, 0x03, 0xf3, 0xd4, 0x32, 0x86, 0x60, 0x85, 0x80, 0xa0, 0x59, + 0x54, 0x87, 0x02, 0xe1, 0xcc, 0xc7, 0xba, 0x1a, 0x27, 0x46, 0xf7, 0xbc, 0x52, 0xa4, 0xbb, 0x7d, + 0x47, 0x58, 0x25, 0xb2, 0xf9, 0xa6, 0x51, 0x74, 0xe3, 0x9e, 0x1b, 0xa1, 0x45, 0x89, 0xdc, 0x47, + 0x2d, 0x61, 0x29, 0xf2, 0x94, 0x29, 0x0c, 0x17, 0x0c, 0x92, 0xc7, 0xcc, 0x8e, 0xdd, 0xed, 0xc4, + 0x9d, 0xdf, 0x28, 0xa2, 0x9e, 0xcd, 0xde, 0x75, 0x91, 0x30, 0x94, 0xed, 0xe2, 0x47, 0x40, 0xfe, + 0x58, 0x98, 0x08, 0xa3, 0x74, 0x17, 0x04, 0x8d, 0x9c, 0x89, 0xc8, 0x01, 0xb2, 0x04, 0x40, 0xba, + 0x88, 0xb2, 0x47, 0xd8, 0x5a, 0x29, 0x1f, 0x82, 0x82, 0xbe, 0x02, 0x20, 0x9e, 0x7c, 0x87, 0x9e, + 0x4c, 0xbc, 0x0c, 0x96, 0x9d, 0xd7, 0x83, 0x71, 0xee, 0x1b, 0xfb, 0x93, 0x16, 0x7e, 0x40, 0x92, + 0x9d, 0x7f, 0xe6, 0xe6, 0x91, 0x06, 0x9d, 0xb8, 0x13, 0x57, 0x6a, 0x0e, 0xf6, 0x55, 0xa2, 0x04, + 0x2c, 0x60, 0x65, 0x26, 0xe7, 0x8b, 0xce, 0xc4, 0x4d, 0xcd, 0x4c, 0x98, 0x9e, 0xef, 0xc5, 0x19, + 0x39, 0x8d, 0x23, 0x99, 0xa7, 0x23, 0x34, 0xef, 0x85, 0x6d, 0x9a, 0xf3, 0x4c, 0x6e, 0x9b, 0xe5, + 0x27, 0xd1, 0x27, 0xc8, 0x6c, 0x4a, 0x3b, 0x67, 0x99, 0xd7, 0x69, 0x7c, 0xd6, 0x22, 0x25, 0x35, + 0x0d, 0xec, 0xb2, 0x41, 0x7f, 0x10, 0x26, 0xce, 0x6c, 0xd8, 0x0e, 0xc8, 0xe4, 0x67, 0xd6, 0x7b, + 0x5f, 0x10, 0x26, 0x13, 0x9d, 0xaf, 0xed, 0xfd, 0xf8, 0xf1, 0x8a, 0x84, 0x81, 0xb7, 0x9b, 0x12, + 0xf6, 0xb2, 0xb0, 0xf4, 0x0f, 0xe2, 0x77, 0x26, 0x7d, 0xcb, 0x65, 0x42, 0x62, 0x57, 0x01, 0xc4, + 0x03, 0x5d, 0x7c, 0xc0, 0xe7, 0xa5, 0x6a, 0xa6, 0xfb, 0x38, 0x78, 0x97, 0xd0, 0x81, 0x32, 0xb6, + 0x1d, 0xac, 0x41, 0x0f, 0x8a, 0xd9, 0xa6, 0xf4, 0x4b, 0xfb, 0x08, 0xd8, 0x48, 0xd3, 0xcc, 0x47, + 0x69, 0xd0, 0x5b, 0xe9, 0x40, 0x67, 0xc0, 0xd3, 0xb9, 0x2e, 0x59, 0xfc, 0x5f, 0x7f, 0xe7, 0xe6, + 0x84, 0xbf, 0x14, 0x47, 0xeb, 0xf3, 0x62, 0xd2, 0xd6, 0x3e, 0x81, 0x23, 0x55, 0x70, 0xef, 0x09, + 0x94, 0x86, 0xd8, 0x19, 0x0c, 0x1a, 0x32, 0x7b, 0x88, 0xef, 0x97, 0x25, 0xac, 0x0e, 0xcc, 0x22, + 0x16, 0xc9, 0xd7, 0xab, 0x22, 0x07, 0xb3, 0x19, 0x69, 0x7b, 0x1a, 0x33, 0x4a, 0xdf, 0x7c, 0x6f, + 0xd4, 0xc3, 0x08, 0x5d, 0x6c, 0xba, 0x8b, 0x4a, 0xae, 0x9a, 0xc4, 0x10, 0x0a, 0x14, 0x59, 0x54, + 0x23, 0x2e, 0xdc, 0x21, 0x8f, 0x6a, 0xc4, 0xcd, 0x6b, 0xa4, 0x85, 0xfd, 0x6e, 0x1c, 0x35, 0xc7, + 0x5e, 0x3e, 0xbb, 0xe0, 0xae, 0x2c, 0x43, 0xed, 0x32, 0xde, 0xef, 0x32, 0xd2, 0xdd, 0xb3, 0x39, + 0xcd, 0x07, 0x25, 0x75, 0x37, 0x83, 0x8a, 0x83, 0x70, 0x92, 0x8f, 0x4e, 0x5a, 0x0c, 0x6b, 0xc4, + 0xde, 0xcd, 0x1c, 0x79, 0xf8, 0xb7, 0xb8, 0x78, 0x17, 0x5e, 0x9c, 0xbd, 0x7b, 0x03, 0xdb, 0xbb, + 0x9a, 0x41, 0x58, 0x70, 0x27, 0xe6, 0x4a, 0x11, 0xdc, 0x49, 0x18, 0xa7, 0x4d, 0x68, 0x5c, 0x8f, + 0xa0, 0x8a, 0xae, 0xb7, 0x5d, 0xec, 0x03, 0xeb, 0x45, 0x20, 0xec, 0x9f, 0x25, 0x81, 0x4f, 0xc6, + 0x04, 0xb3, 0xec, 0xf6, 0xd5, 0xd8, 0xb3, 0xb6, 0x58, 0x6d, 0x47, 0xa8, 0xd8, 0x2f, 0xe3, 0x04, + 0x31, 0x29, 0x13, 0x5d, 0xef, 0x40, 0xfb, 0x43, 0x16, 0xce, 0xec, 0x32, 0xa3, 0xf6, 0xb6, 0xe3, + 0xe9, 0x7a, 0x3f, 0x68, 0xf1, 0xa8, 0xf6, 0xc2, 0x12, 0xe3, 0x99, 0xc5, 0x47, 0x26, 0xb9, 0xa4, + 0xe7, 0x04, 0x7a, 0x49, 0xaf, 0x88, 0x77, 0xf0, 0x81, 0xab, 0x1f, 0x87, 0x45, 0x06, 0x65, 0xbb, + 0x46, 0x12, 0x19, 0x44, 0x3a, 0x65, 0xdb, 0x86, 0x38, 0x2c, 0xc6, 0xdb, 0x51, 0x84, 0x82, 0xe4, + 0x4a, 0xb8, 0x90, 0xc5, 0x76, 0x92, 0xa9, 0x33, 0x58, 0x85, 0xeb, 0x78, 0x37, 0x6b, 0x28, 0x74, + 0xaf, 0x85, 0x66, 0x84, 0x18, 0x9d, 0xe5, 0x51, 0x42, 0x35, 0x0c, 0x5c, 0x3d, 0x46, 0x2f, 0x3a, + 0x08, 0x61, 0x57, 0x08, 0x59, 0x25, 0x91, 0xf2, 0x92, 0x0a, 0xc3, 0x6d, 0x4e, 0xe8, 0x14, 0xc3, + 0xf4, 0x24, 0x0b, 0xe3, 0x98, 0xae, 0xb0, 0x92, 0x39, 0x4d, 0x67, 0x20, 0x0e, 0x37, 0x49, 0x56, + 0xbb, 0x96, 0x48, 0xf7, 0x12, 0xe1, 0x60, 0x3b, 0x9f, 0x6e, 0xea, 0x78, 0x19, 0xe6, 0x74, 0x1a, + 0xdf, 0x51, 0x15, 0x03, 0x2c, 0xd5, 0xce, 0xe2, 0x95, 0x52, 0x6f, 0x3b, 0x4b, 0xa4, 0xd0, 0xfd, + 0x3c, 0xde, 0xc2, 0x37, 0x8f, 0x2b, 0x5e, 0x9c, 0xa0, 0xc0, 0x0b, 0xe6, 0xc6, 0x43, 0x34, 0x3b, + 0xeb, 0xd5, 0x3d, 0x33, 0x77, 0x89, 0xda, 0xfe, 0xf8, 0x20, 0x49, 0x2a, 0x90, 0x92, 0xa5, 0x4c, + 0xde, 0x01, 0x4f, 0xfb, 0xe9, 0xef, 0x4e, 0x9d, 0x35, 0x90, 0x47, 0x58, 0x4a, 0x49, 0x6d, 0xf4, + 0x25, 0xdf, 0xd2, 0x32, 0x0a, 0xe9, 0x21, 0x90, 0xf9, 0x30, 0x3a, 0xf7, 0xf3, 0x89, 0xa8, 0x63, + 0x73, 0x67, 0x59, 0x25, 0xbd, 0x61, 0xfb, 0x9c, 0x85, 0x03, 0xf8, 0x4b, 0x06, 0xa0, 0x28, 0xdf, + 0x0f, 0xd6, 0x53, 0x5f, 0xc3, 0x2c, 0xfd, 0x69, 0x89, 0x5c, 0x0d, 0xe9, 0x48, 0x46, 0x17, 0xb9, + 0xf7, 0xe1, 0x24, 0x80, 0x94, 0x63, 0x16, 0xbc, 0xdf, 0xed, 0xa4, 0xa8, 0x62, 0x28, 0x3f, 0x6f, + 0x61, 0x7f, 0x47, 0xe9, 0x00, 0x3f, 0x51, 0x93, 0xf2, 0x5e, 0x61, 0x19, 0x53, 0x9d, 0xb4, 0x64, + 0x73, 0xf2, 0xfb, 0x96, 0x30, 0xe9, 0x2a, 0xfa, 0x3f, 0x51, 0x53, 0x72, 0x5c, 0x30, 0x71, 0xe9, + 0xa3, 0xb1, 0x3b, 0x47, 0xd7, 0xf1, 0x66, 0x88, 0xfd, 0x20, 0x69, 0x88, 0x74, 0x76, 0xf9, 0xff, + 0x94, 0x85, 0x43, 0x18, 0xcd, 0xbb, 0x51, 0xcc, 0x0d, 0xb0, 0xa1, 0x95, 0xb5, 0xa5, 0xf9, 0x05, + 0x8b, 0x45, 0x3d, 0xd8, 0xca, 0x8d, 0x6e, 0xef, 0xc6, 0x2e, 0x41, 0xec, 0x9a, 0x48, 0xf9, 0x79, + 0xc9, 0x8b, 0x93, 0xc8, 0x9b, 0x69, 0x27, 0x59, 0xc2, 0xfb, 0x87, 0x48, 0xda, 0x85, 0xb2, 0x15, + 0xe5, 0xf8, 0x2e, 0x78, 0x2a, 0xe9, 0x34, 0x59, 0x22, 0x66, 0x07, 0x12, 0x36, 0x9e, 0x3d, 0x86, + 0x2f, 0x94, 0x7c, 0x52, 0x5b, 0xee, 0x3c, 0x33, 0x78, 0x6f, 0xfc, 0x14, 0x71, 0x24, 0x49, 0x89, + 0xfc, 0xff, 0x27, 0xc8, 0x91, 0xb7, 0xa5, 0xab, 0xe8, 0x41, 0x32, 0x7e, 0xaf, 0x1d, 0x75, 0xd4, + 0x36, 0x66, 0xad, 0x8b, 0xa4, 0x27, 0xfb, 0x32, 0x36, 0xa8, 0x74, 0x24, 0x28, 0x4c, 0x83, 0xc9, + 0x3a, 0x87, 0x4f, 0xf8, 0xd4, 0x33, 0x43, 0x64, 0x73, 0x22, 0x8c, 0x4c, 0x33, 0x2e, 0xcf, 0x63, + 0xb9, 0x52, 0x75, 0xa7, 0x6c, 0x54, 0x40, 0x1f, 0x3d, 0x36, 0xd2, 0x84, 0xff, 0xec, 0x33, 0xb5, + 0x07, 0x08, 0x01, 0x66, 0x11, 0x75, 0xc3, 0xc2, 0x25, 0x3c, 0xa1, 0x1a, 0x0a, 0xd9, 0x43, 0xfd, + 0x00, 0xf3, 0x5c, 0xa4, 0x8c, 0xf0, 0x5f, 0x09, 0x73, 0x41, 0x8d, 0xf5, 0x5e, 0xe7, 0xa2, 0xd8, + 0x9d, 0xcd, 0x05, 0x75, 0xf0, 0x64, 0x73, 0x91, 0x7e, 0xb6, 0xc7, 0xd8, 0x9b, 0xe1, 0x54, 0xe0, + 0x25, 0x1e, 0x76, 0xaa, 0x76, 0x7e, 0xba, 0xd8, 0x74, 0x4d, 0xad, 0xa3, 0x9f, 0xa6, 0xde, 0x4a, + 0x0d, 0x0d, 0xca, 0x49, 0x8d, 0xb7, 0x8f, 0xfa, 0xc7, 0xce, 0xf6, 0xb8, 0x7f, 0xd3, 0x37, 0x0d, + 0x6c, 0x48, 0x5d, 0xc4, 0xa7, 0x09, 0x3f, 0x3a, 0x5b, 0x91, 0x2e, 0x40, 0xbc, 0x8e, 0x0f, 0x8d, + 0x32, 0x32, 0xcb, 0x88, 0xa3, 0xb8, 0x12, 0x54, 0xb8, 0x17, 0xb5, 0x12, 0x05, 0x1a, 0xcb, 0x88, + 0x80, 0x78, 0xe2, 0x49, 0xcc, 0x1b, 0x09, 0xff, 0xba, 0x91, 0x34, 0xae, 0x86, 0x51, 0xd3, 0xc8, + 0x79, 0x3a, 0xac, 0xea, 0xbb, 0x3c, 0xfe, 0x82, 0x5b, 0x1c, 0xb3, 0x53, 0x7c, 0x94, 0xdb, 0xe2, + 0xf2, 0x70, 0x5e, 0xe3, 0x70, 0xe4, 0xc8, 0x2e, 0x97, 0x1b, 0xfe, 0x55, 0x2e, 0x13, 0x78, 0x22, + 0x17, 0x5f, 0xb7, 0x38, 0x30, 0x09, 0x97, 0xe1, 0x57, 0xa4, 0xbc, 0x4c, 0x78, 0x8e, 0x7e, 0xf7, + 0xb3, 0x16, 0x78, 0xea, 0x7a, 0x1b, 0x45, 0x0f, 0x6f, 0xa0, 0x68, 0xde, 0xab, 0x23, 0xf8, 0x01, + 0xd0, 0x9f, 0xd5, 0xde, 0x81, 0xc3, 0x62, 0x8d, 0x9d, 0x7c, 0xa1, 0x9e, 0xca, 0x0e, 0xe5, 0xef, + 0x84, 0x61, 0x7b, 0xdb, 0x87, 0xff, 0xe1, 0x07, 0x1f, 0x5f, 0xb1, 0x09, 0x6e, 0xac, 0x4a, 0x0a, + 0x42, 0xc3, 0x8f, 0x58, 0x60, 0x9d, 0x58, 0x3c, 0x00, 0xee, 0x2e, 0x50, 0x2c, 0xd6, 0x1c, 0xa8, + 0x3c, 0xa3, 0x6f, 0x44, 0xc7, 0xde, 0xff, 0x73, 0x9d, 0x0d, 0x83, 0x19, 0xd8, 0x0e, 0xb7, 0x8a, + 0x0c, 0x08, 0x85, 0x09, 0xe0, 0x02, 0xe8, 0x4b, 0xb7, 0x32, 0xdc, 0x5e, 0xa0, 0xcd, 0x9f, 0x0f, + 0x95, 0x61, 0xd5, 0xcf, 0x74, 0xd0, 0x43, 0x6c, 0xd0, 0x5d, 0x70, 0x87, 0x38, 0x28, 0xb1, 0x37, + 0xaa, 0x8f, 0xd2, 0x71, 0x1f, 0xc3, 0x1f, 0x91, 0xa7, 0x5c, 0x7d, 0xe2, 0x32, 0x3c, 0x51, 0x18, + 0xd3, 0x28, 0xaf, 0xba, 0x72, 0xb2, 0xeb, 0x7e, 0x14, 0xc4, 0x6d, 0x06, 0xe2, 0x65, 0x38, 0x55, + 0x02, 0x82, 0x16, 0xfe, 0x8e, 0xab, 0x8f, 0xc4, 0x4c, 0xed, 0xc7, 0xd5, 0x7c, 0x96, 0x35, 0xfc, + 0x3d, 0x0b, 0x17, 0xea, 0x28, 0xe4, 0xff, 0xc0, 0x67, 0x0b, 0x9c, 0xaa, 0x92, 0x82, 0x2b, 0x07, + 0x4c, 0x9a, 0x52, 0x1c, 0xe7, 0x19, 0x8e, 0xe3, 0xf0, 0xa8, 0x88, 0x83, 0x45, 0x64, 0xf2, 0x58, + 0x1e, 0xf1, 0xf6, 0xd4, 0x63, 0xf8, 0x79, 0x0b, 0xe7, 0x79, 0x4b, 0x33, 0xff, 0xe1, 0xe1, 0x02, + 0x27, 0xba, 0xfa, 0x02, 0x95, 0x11, 0xd3, 0xe6, 0x94, 0xf9, 0x93, 0x8c, 0xf9, 0x43, 0xf0, 0x80, + 0xc8, 0x7c, 0x7e, 0x66, 0x05, 0xa1, 0xfa, 0xac, 0x05, 0xde, 0x25, 0xc9, 0xe8, 0x87, 0xfb, 0x0b, + 0x0c, 0x28, 0x0a, 0x0a, 0x54, 0x9e, 0x35, 0x68, 0x49, 0xb9, 0x7c, 0x91, 0x71, 0x79, 0x0c, 0x1e, + 0x11, 0xb9, 0xcc, 0xaa, 0x01, 0x68, 0x66, 0xf8, 0xaf, 0x2c, 0x1c, 0xa0, 0xa4, 0xaa, 0x5d, 0x02, + 0x9f, 0x93, 0x6c, 0x75, 0x6d, 0x29, 0x95, 0xca, 0x91, 0x2e, 0x7a, 0x50, 0x10, 0xa3, 0x0c, 0xc4, + 0x09, 0x78, 0x3c, 0xaf, 0x29, 0x48, 0x68, 0xb8, 0x1f, 0xc6, 0x3a, 0x1c, 0x1f, 0xb2, 0xc0, 0x5a, + 0xa1, 0x9a, 0x18, 0xb4, 0x25, 0x9a, 0x22, 0x57, 0x82, 0xac, 0xb2, 0x5b, 0xdb, 0x86, 0x72, 0xb7, + 0x97, 0x71, 0xb7, 0x15, 0x0e, 0xe5, 0x77, 0x63, 0xe7, 0xa2, 0x86, 0xdf, 0xe9, 0x3b, 0xc2, 0xba, + 0x49, 0x5e, 0x11, 0x0c, 0x1e, 0x2c, 0x8c, 0xa3, 0x2e, 0xe0, 0x55, 0x39, 0x64, 0xd6, 0x98, 0x72, + 0x77, 0x8e, 0x71, 0x77, 0x14, 0x3e, 0x27, 0x72, 0x97, 0x26, 0x2a, 0x62, 0xfe, 0xaa, 0x8f, 0x32, + 0xc5, 0xc0, 0x09, 0xeb, 0x17, 0xc8, 0xfa, 0xab, 0xaa, 0x7e, 0x49, 0xd6, 0xbf, 0xa4, 0xfe, 0x98, + 0x64, 0xfd, 0xcb, 0x4a, 0x8a, 0xd9, 0xcf, 0x33, 0x0c, 0x07, 0xe0, 0x7e, 0x29, 0x86, 0x98, 0x80, + 0x10, 0x36, 0xda, 0x3f, 0x5b, 0x2c, 0xf8, 0x4b, 0x55, 0xe8, 0x0b, 0x3e, 0x5f, 0x60, 0xc7, 0xa4, + 0x0e, 0x59, 0xe5, 0x44, 0xb7, 0xdd, 0x28, 0x94, 0xcb, 0x0c, 0xca, 0x79, 0x78, 0x4e, 0xb3, 0x1c, + 0x4e, 0x8c, 0xfc, 0xd9, 0xea, 0xa3, 0x5c, 0x8d, 0x2b, 0x61, 0x6d, 0xbe, 0x6f, 0x15, 0x03, 0xcd, + 0xf2, 0xa5, 0xab, 0x24, 0xf8, 0x4c, 0x8a, 0x8f, 0x49, 0xf0, 0x19, 0x15, 0x11, 0xb3, 0xaf, 0x32, + 0x7c, 0xe3, 0x70, 0x54, 0x8e, 0x8f, 0x86, 0xd0, 0xa0, 0x54, 0xee, 0x74, 0x18, 0x7f, 0x6c, 0xe1, + 0xab, 0x40, 0x79, 0x8d, 0x2e, 0x78, 0x5a, 0xbd, 0x22, 0x65, 0x95, 0xc7, 0x2a, 0x67, 0x7a, 0xea, + 0x4b, 0x21, 0xdf, 0x65, 0x90, 0xaf, 0xc1, 0x57, 0x44, 0xc8, 0x79, 0xa8, 0x85, 0x32, 0x5e, 0x8f, + 0xf5, 0xf0, 0xbf, 0x6e, 0xe1, 0xe0, 0x01, 0x25, 0x37, 0xf0, 0x88, 0x39, 0xe7, 0x29, 0xd8, 0xa3, + 0xdd, 0x74, 0xa1, 0x18, 0x2f, 0x31, 0x8c, 0xe7, 0xe0, 0x99, 0xee, 0x31, 0x32, 0x44, 0x1f, 0x49, + 0x15, 0x71, 0x5a, 0xd9, 0x4b, 0xaa, 0x88, 0x73, 0x95, 0xc2, 0xa4, 0x8a, 0x38, 0x5f, 0x1a, 0xcc, + 0x3e, 0xc8, 0x98, 0xdc, 0x09, 0x87, 0x45, 0x26, 0x29, 0x6f, 0x8c, 0x8f, 0x3f, 0xe3, 0x66, 0x56, + 0x16, 0x0e, 0xaf, 0x9a, 0x59, 0x4d, 0x30, 0xbe, 0x6a, 0x66, 0x75, 0xd1, 0xf6, 0xf6, 0x29, 0xc6, + 0xf4, 0x61, 0x78, 0x50, 0xc2, 0x74, 0x1a, 0x21, 0x16, 0xe7, 0x8f, 0xb4, 0xef, 0x59, 0xd8, 0xf3, + 0x52, 0x1a, 0xd8, 0x0f, 0x5f, 0xd0, 0xef, 0x65, 0x1d, 0xa2, 0xd3, 0xbd, 0x74, 0x35, 0x38, 0xb5, + 0x45, 0x99, 0x51, 0x42, 0xfc, 0x6d, 0x62, 0x2a, 0xe5, 0x23, 0xdf, 0x24, 0xa6, 0x92, 0x22, 0x6c, + 0x5f, 0x62, 0x2a, 0xa9, 0xe2, 0xec, 0xb5, 0x27, 0xa5, 0xc0, 0xa6, 0x60, 0x66, 0xd0, 0xdd, 0xfb, + 0x18, 0xfe, 0x23, 0x39, 0x29, 0x55, 0xd1, 0x7a, 0x92, 0x93, 0xb2, 0x24, 0xe5, 0x40, 0x72, 0x52, + 0x96, 0xe5, 0x0a, 0xd8, 0x35, 0x86, 0x61, 0x12, 0x5e, 0x34, 0x99, 0x73, 0x01, 0x4c, 0xb6, 0x75, + 0x79, 0x60, 0xbf, 0x6c, 0xe1, 0x72, 0xaf, 0x62, 0x11, 0x24, 0xb8, 0x57, 0x71, 0x79, 0xc9, 0x95, + 0x33, 0xaa, 0xec, 0x2b, 0x6d, 0x67, 0xb0, 0x7b, 0xc9, 0xcd, 0x85, 0x59, 0x28, 0xf0, 0x13, 0x16, + 0x80, 0xc5, 0xca, 0x47, 0x70, 0x9f, 0xca, 0x34, 0xca, 0x73, 0xb5, 0xbf, 0xbc, 0xa1, 0xc1, 0x85, + 0x91, 0x4e, 0x11, 0xc7, 0x57, 0xc7, 0x5c, 0xd6, 0xa4, 0x78, 0xe5, 0x85, 0xa0, 0x3c, 0xd1, 0x2c, + 0x2f, 0x04, 0x06, 0xf9, 0x63, 0xda, 0x8d, 0x47, 0xef, 0x80, 0x2c, 0x59, 0x4b, 0x58, 0xff, 0x0c, + 0xc7, 0x57, 0x2c, 0xb0, 0x4d, 0x97, 0xfb, 0x05, 0x0b, 0x6c, 0x95, 0xe6, 0xa0, 0xe5, 0xb5, 0xa3, + 0x49, 0x6a, 0x99, 0x3d, 0xc6, 0xa0, 0x9c, 0x84, 0xcf, 0xcb, 0xcd, 0x89, 0x32, 0x2c, 0xff, 0x2e, + 0x5c, 0x61, 0x8a, 0x97, 0x5b, 0xe5, 0x15, 0x46, 0x79, 0xc7, 0x3d, 0xd2, 0x45, 0x0f, 0x0a, 0x04, + 0x31, 0x20, 0x77, 0xe1, 0xab, 0xf2, 0x2b, 0x8c, 0xfc, 0xca, 0x2b, 0x56, 0xa2, 0x12, 0x35, 0x64, + 0xae, 0x4c, 0xd5, 0x63, 0xf8, 0x3b, 0x2b, 0x70, 0x40, 0xb6, 0x69, 0x21, 0x0f, 0x78, 0xc1, 0x18, + 0x89, 0xa2, 0xc4, 0x53, 0x65, 0x74, 0x11, 0x14, 0xe8, 0xdc, 0x2c, 0xb0, 0xb9, 0xf1, 0xe1, 0x07, + 0xca, 0xe6, 0xc6, 0x09, 0x09, 0x1d, 0x27, 0x4a, 0x09, 0xf5, 0x3c, 0x5b, 0x7f, 0x6e, 0xe1, 0x08, + 0x45, 0x45, 0x79, 0x07, 0x58, 0x55, 0x78, 0x04, 0x54, 0x75, 0xb4, 0x2a, 0xcf, 0x99, 0x77, 0x30, + 0xf0, 0x80, 0x50, 0x27, 0x82, 0x56, 0x3a, 0xe0, 0x87, 0x57, 0x70, 0x95, 0xbe, 0x4a, 0x73, 0xaa, + 0xe1, 0x79, 0x53, 0x0e, 0x55, 0xcb, 0x7d, 0xa1, 0x77, 0x02, 0x14, 0xf2, 0x75, 0x06, 0x79, 0x02, + 0xbe, 0x64, 0x08, 0x59, 0xbb, 0xe8, 0xf0, 0x87, 0x16, 0x7e, 0xc5, 0x2a, 0xcb, 0x30, 0x87, 0xa7, + 0x14, 0xcc, 0x97, 0x56, 0x48, 0xab, 0xbc, 0xd0, 0x43, 0x4f, 0x8a, 0x77, 0x8a, 0xe1, 0x7d, 0x11, + 0x9e, 0x95, 0xe2, 0x75, 0x53, 0x2a, 0x25, 0x8b, 0xfd, 0x9b, 0x2b, 0xf0, 0x1b, 0x77, 0xb7, 0x99, + 0xf4, 0xf0, 0x52, 0xd7, 0xdc, 0xab, 0x96, 0x7f, 0x6a, 0x09, 0x28, 0xd1, 0x79, 0x79, 0x0f, 0x9b, + 0x97, 0x69, 0x78, 0xb5, 0xeb, 0x79, 0xd1, 0x4b, 0xc4, 0xdf, 0x5a, 0x38, 0x65, 0x58, 0x5a, 0xaf, + 0x2d, 0xef, 0x18, 0x2c, 0x29, 0x43, 0x97, 0x77, 0x0c, 0x96, 0x15, 0x95, 0xb3, 0xa7, 0x19, 0xb0, + 0x8b, 0x70, 0x3c, 0xe7, 0xd5, 0x54, 0x57, 0x9b, 0xd3, 0x38, 0xaf, 0xbe, 0x6e, 0x81, 0x21, 0x65, + 0xf1, 0x29, 0x38, 0xa2, 0x38, 0x57, 0x55, 0x78, 0xaa, 0xc6, 0xed, 0x0d, 0x76, 0xac, 0xae, 0xdc, + 0x95, 0x06, 0x11, 0xd5, 0xbc, 0x8a, 0x7a, 0x72, 0x12, 0xcd, 0xab, 0xaf, 0x5c, 0x27, 0xd1, 0xbc, + 0x25, 0xa5, 0xea, 0xb4, 0x9a, 0x97, 0xc3, 0x20, 0x2c, 0x97, 0xb0, 0x19, 0xff, 0x92, 0x98, 0x15, + 0xaa, 0xaa, 0x7d, 0x50, 0xcb, 0x92, 0xac, 0x42, 0xa0, 0xc4, 0xac, 0x28, 0x2b, 0x09, 0x68, 0x5f, + 0x60, 0x28, 0x9e, 0x87, 0xc7, 0xd4, 0x28, 0x84, 0x35, 0x8a, 0x73, 0xf7, 0xe0, 0xcd, 0x8a, 0x6a, + 0x79, 0xf0, 0x90, 0xc2, 0x97, 0x2f, 0xad, 0x1d, 0x57, 0x39, 0x6c, 0xd8, 0x9a, 0xb2, 0x3e, 0xc9, + 0x58, 0x3f, 0x0b, 0x4f, 0xcb, 0x9c, 0xff, 0x51, 0xb6, 0xed, 0x49, 0x95, 0x37, 0xd1, 0xbc, 0xa3, + 0xef, 0x74, 0xd8, 0x56, 0xad, 0xa8, 0x8b, 0xe7, 0x49, 0x64, 0x49, 0x5f, 0x03, 0x4f, 0x22, 0x4b, + 0x25, 0x55, 0xeb, 0xb4, 0xde, 0x11, 0xae, 0x46, 0x88, 0x06, 0x0d, 0x91, 0xb2, 0xc7, 0xf0, 0x3f, + 0x2d, 0x1c, 0xb3, 0xa8, 0xab, 0x95, 0x07, 0x8f, 0x17, 0xf8, 0x33, 0xa8, 0xec, 0x57, 0x79, 0xbe, + 0xcb, 0x5e, 0x14, 0xda, 0x7b, 0x19, 0xb4, 0x1a, 0x9c, 0x16, 0xa1, 0x85, 0x01, 0x72, 0xbc, 0xc0, + 0x31, 0x43, 0xc8, 0x5a, 0x3d, 0xae, 0x3e, 0xa2, 0xeb, 0xfb, 0x18, 0x7e, 0xcc, 0x02, 0x83, 0xf9, + 0xd2, 0x0e, 0x70, 0x4f, 0x41, 0xe1, 0xca, 0xea, 0x45, 0x54, 0xf6, 0x96, 0x35, 0xa3, 0x10, 0xaa, + 0x98, 0xfb, 0x67, 0xe1, 0xbe, 0xdc, 0x4d, 0x28, 0xfb, 0x9b, 0x9b, 0xb8, 0x78, 0x04, 0x77, 0x61, + 0xf8, 0x2a, 0x71, 0x0d, 0x29, 0xb3, 0xdd, 0x25, 0xae, 0xa1, 0xb2, 0xdc, 0x7a, 0x89, 0x6b, 0xa8, + 0x34, 0x99, 0xde, 0x1e, 0x67, 0x73, 0x7f, 0x0a, 0x9e, 0x90, 0x3c, 0xf3, 0x11, 0x83, 0x96, 0x6a, + 0x28, 0x92, 0xc0, 0x8e, 0xf3, 0x08, 0xf9, 0xfd, 0xfd, 0x77, 0x16, 0x7e, 0xdc, 0x57, 0x67, 0xc2, + 0x43, 0x0d, 0x6b, 0xaa, 0xcc, 0xfb, 0xca, 0xb1, 0xae, 0xfa, 0x50, 0x3c, 0x2f, 0x31, 0x3c, 0x2f, + 0xc0, 0x93, 0x4a, 0x3c, 0xa9, 0xae, 0x52, 0x00, 0xfa, 0x0d, 0xe2, 0x13, 0xca, 0xa7, 0xcc, 0x4b, + 0x7c, 0x42, 0x8a, 0x74, 0x7c, 0x89, 0x4f, 0x48, 0x95, 0x7f, 0xaf, 0xf5, 0xce, 0xa5, 0x7f, 0xd1, + 0x12, 0x07, 0x4c, 0x62, 0xc5, 0xca, 0xb3, 0xf9, 0x0d, 0x22, 0x44, 0xca, 0xfc, 0x79, 0x89, 0x10, + 0x95, 0x25, 0xf4, 0x4b, 0x84, 0xa8, 0x34, 0x3d, 0x5f, 0x6b, 0x7e, 0xa6, 0x33, 0xcd, 0xe7, 0xef, + 0x6b, 0x0e, 0xed, 0x2f, 0x91, 0xd7, 0x56, 0x69, 0x32, 0xbd, 0xe4, 0xb5, 0x55, 0x97, 0xcc, 0x2f, + 0x79, 0x6d, 0xd5, 0xe6, 0xe8, 0x6b, 0x4f, 0x8b, 0xd4, 0x9f, 0x45, 0xdd, 0xe8, 0x69, 0x5f, 0xb9, + 0x9b, 0xee, 0x9b, 0x16, 0xce, 0x73, 0x93, 0x27, 0xca, 0xc3, 0x11, 0xbd, 0xcb, 0x2d, 0x9f, 0xc6, + 0x5f, 0xa9, 0x1a, 0xb7, 0xa7, 0x38, 0x6e, 0x30, 0x1c, 0x97, 0xe0, 0x84, 0xd6, 0x41, 0xd7, 0x4a, + 0x3b, 0x2b, 0x5d, 0x74, 0x24, 0x71, 0x1e, 0xef, 0xf1, 0xad, 0x9a, 0xd4, 0xf9, 0x32, 0xd7, 0x63, + 0x31, 0x7d, 0xbf, 0xcc, 0xf5, 0x28, 0xc9, 0xcb, 0xd7, 0xbe, 0x6c, 0xe5, 0x90, 0xb5, 0x5b, 0x61, + 0xe0, 0x64, 0xce, 0x33, 0x0e, 0x5c, 0x0a, 0xe8, 0x6f, 0xc4, 0x45, 0x12, 0x53, 0xe8, 0x35, 0x8b, + 0x24, 0xcd, 0xe2, 0xd7, 0x2c, 0x92, 0x3c, 0x37, 0x5f, 0xbb, 0x67, 0x32, 0x28, 0xf9, 0xec, 0x7d, + 0xb9, 0xb8, 0x7d, 0xc7, 0x2a, 0x54, 0x1f, 0x92, 0x65, 0xc8, 0x4b, 0xae, 0xa6, 0x86, 0x79, 0xfb, + 0x92, 0xab, 0xa9, 0x69, 0x3a, 0x7e, 0x37, 0x1e, 0xef, 0x14, 0x10, 0xaf, 0xe2, 0xbe, 0x43, 0x4c, + 0x47, 0x99, 0x53, 0x5a, 0x62, 0x3a, 0x6a, 0xd2, 0xf4, 0x25, 0xa6, 0xa3, 0x2e, 0x79, 0xde, 0x76, + 0x19, 0xdf, 0xb7, 0xe1, 0x4d, 0x33, 0x2f, 0xb7, 0xa0, 0xca, 0xca, 0x9d, 0xde, 0x9f, 0x23, 0x8f, + 0xf5, 0x92, 0x24, 0x72, 0xc9, 0x63, 0xbd, 0x3a, 0xe1, 0x5e, 0xf2, 0x58, 0xaf, 0x49, 0xb0, 0xb7, + 0xcf, 0x30, 0x60, 0xcf, 0xc1, 0x91, 0x5c, 0x4c, 0x16, 0xed, 0x97, 0xfe, 0x35, 0x57, 0xdc, 0x93, + 0x5f, 0x8e, 0xaf, 0x12, 0xdb, 0x51, 0x97, 0xff, 0x2e, 0xb1, 0x1d, 0x0d, 0x12, 0xeb, 0x25, 0xb6, + 0xa3, 0x49, 0x92, 0xbd, 0x7d, 0x9a, 0xa1, 0xa9, 0xc2, 0xc3, 0x39, 0xf1, 0x6a, 0x37, 0x1d, 0x0e, + 0x51, 0xe2, 0xfa, 0x02, 0x2e, 0xf8, 0x51, 0x0b, 0x0c, 0x70, 0xf9, 0xf1, 0x70, 0xa7, 0xc8, 0x42, + 0x31, 0xd7, 0xbe, 0xb2, 0x4b, 0xd3, 0x82, 0x32, 0x74, 0x94, 0x31, 0xb4, 0x0f, 0xee, 0x91, 0x9d, + 0xe6, 0x24, 0xcd, 0x9e, 0x9f, 0xd5, 0x5f, 0xb4, 0xc0, 0x5a, 0x21, 0x7f, 0x3e, 0xff, 0x5e, 0x29, + 0xcb, 0xc7, 0xcf, 0xbf, 0x57, 0x4a, 0x13, 0xf0, 0xb5, 0x61, 0x0d, 0xd9, 0x9f, 0x88, 0x27, 0xf9, + 0xf9, 0x3c, 0x47, 0x9f, 0x21, 0x6f, 0x1f, 0xb9, 0xe4, 0x7a, 0xc9, 0xdb, 0x87, 0x3c, 0x6d, 0xbf, + 0xb2, 0xbf, 0xbc, 0xa1, 0x41, 0x88, 0x13, 0xe1, 0x87, 0x4b, 0xe3, 0xcf, 0x85, 0x38, 0xc1, 0x62, + 0xf2, 0xbc, 0x84, 0x45, 0x79, 0xba, 0xb0, 0x84, 0x45, 0x45, 0x26, 0xb0, 0xf6, 0xad, 0x23, 0xbd, + 0x45, 0xe2, 0x88, 0x5c, 0x07, 0x35, 0x5d, 0x61, 0xdb, 0x67, 0x77, 0x90, 0x2f, 0x58, 0xf8, 0x6f, + 0x27, 0x15, 0xd3, 0xa7, 0xe1, 0x01, 0xcd, 0x4d, 0x30, 0xcf, 0xf2, 0x41, 0xa3, 0xb6, 0x06, 0xd6, + 0x0c, 0x77, 0x9d, 0x92, 0x33, 0xce, 0xdd, 0xa4, 0xd2, 0x89, 0xce, 0xe5, 0x15, 0xab, 0xdf, 0xc1, + 0xca, 0x27, 0x5a, 0x91, 0xa2, 0xac, 0x9d, 0xe8, 0x2c, 0x70, 0x45, 0xca, 0x6f, 0xa6, 0x53, 0xdf, + 0xb0, 0xc4, 0xbf, 0x1f, 0x94, 0x4f, 0x6f, 0x95, 0x98, 0xc4, 0x65, 0x39, 0xff, 0x12, 0x93, 0xb8, + 0x34, 0x83, 0x5f, 0xef, 0xcf, 0xca, 0xea, 0x6f, 0x92, 0x84, 0x49, 0xa7, 0xdd, 0xe9, 0x4f, 0x6a, + 0x6b, 0x6a, 0x4c, 0xe3, 0xff, 0x15, 0x73, 0xcf, 0x4a, 0xf2, 0xf2, 0x25, 0x6e, 0xf8, 0xee, 0x4a, + 0x04, 0x48, 0xdc, 0xf0, 0x5d, 0x96, 0x04, 0xd0, 0xda, 0x38, 0x04, 0xe6, 0x6b, 0x94, 0x88, 0x53, + 0x22, 0x91, 0xf0, 0xbf, 0x2c, 0x21, 0xd9, 0x51, 0x97, 0xc1, 0x0f, 0xcf, 0x9a, 0x31, 0xae, 0xd0, + 0x0b, 0xe7, 0x7a, 0xec, 0x4d, 0x31, 0x4f, 0x30, 0xcc, 0x67, 0xe0, 0x0b, 0x5a, 0xcc, 0x3a, 0xdd, + 0xa1, 0x05, 0x9c, 0xdf, 0x8a, 0x86, 0x80, 0x15, 0xfb, 0xf3, 0x5c, 0x8f, 0xbd, 0xbb, 0x07, 0xac, + 0xdb, 0xc3, 0xf0, 0x87, 0xc4, 0xb4, 0xd0, 0x65, 0xfa, 0x4b, 0x4c, 0x0b, 0x83, 0x02, 0x04, 0x12, + 0xd3, 0xc2, 0xa4, 0x9c, 0x80, 0x7d, 0x8b, 0x01, 0xbb, 0x0c, 0x2f, 0x49, 0x9f, 0xb8, 0x0b, 0x3b, + 0xd9, 0x4d, 0x4a, 0xb7, 0xf1, 0x57, 0x88, 0x86, 0x52, 0x96, 0x0d, 0x90, 0x68, 0xa8, 0xb2, 0x22, + 0x05, 0x12, 0x0d, 0x55, 0x5a, 0x95, 0x40, 0xfb, 0xec, 0x5d, 0x27, 0xbd, 0x1d, 0x1f, 0x77, 0x17, + 0x05, 0x95, 0x5f, 0xb3, 0x6f, 0x59, 0xc2, 0x1f, 0x0e, 0x2b, 0x28, 0x5b, 0xb5, 0x9b, 0x53, 0xa5, + 0x6b, 0x8f, 0x74, 0xd1, 0xc3, 0xe0, 0x2d, 0x24, 0x2b, 0xc2, 0xdb, 0x95, 0xa6, 0xfd, 0x3e, 0xc9, + 0x2e, 0xd4, 0xd4, 0x19, 0x80, 0xc7, 0x14, 0x32, 0xa5, 0x2b, 0x7e, 0x50, 0x39, 0xde, 0x5d, 0x27, + 0x8a, 0xef, 0x26, 0xc3, 0x37, 0x05, 0x27, 0xa5, 0x72, 0x98, 0x87, 0x69, 0x20, 0x86, 0xdf, 0x26, + 0xdb, 0x4d, 0x57, 0xae, 0x40, 0xb2, 0xdd, 0x0c, 0x4a, 0x24, 0x48, 0xb6, 0x9b, 0x49, 0x4d, 0x04, + 0xfb, 0x22, 0x83, 0x79, 0x1a, 0x9e, 0xd2, 0xca, 0x63, 0xfe, 0xb0, 0xe0, 0x45, 0xf2, 0xcb, 0xc4, + 0x81, 0x24, 0xad, 0x67, 0x20, 0x71, 0x20, 0xe9, 0x0a, 0x2b, 0x48, 0x1c, 0x48, 0xda, 0x32, 0x09, + 0xf6, 0x2b, 0x0c, 0xc2, 0x18, 0xbc, 0xa0, 0x8a, 0x21, 0x5e, 0x94, 0xa6, 0xe0, 0xb5, 0x70, 0x99, + 0xa6, 0x90, 0x14, 0x5d, 0x28, 0xd3, 0x14, 0xb2, 0x2a, 0x0b, 0xdd, 0x68, 0x0a, 0x41, 0xc3, 0xf3, + 0xcb, 0xf2, 0x27, 0xe4, 0x1e, 0x2f, 0xab, 0x6e, 0x20, 0xb9, 0xc7, 0x6b, 0xca, 0x34, 0x48, 0xee, + 0xf1, 0xba, 0xea, 0x0b, 0x5a, 0xb1, 0x92, 0x96, 0x65, 0x90, 0xdb, 0x95, 0x6f, 0x91, 0x38, 0x68, + 0x6d, 0x2d, 0x04, 0x49, 0x1c, 0xb4, 0x49, 0x71, 0x06, 0x49, 0x1c, 0xb4, 0x51, 0xc9, 0x05, 0xad, + 0xe2, 0xcb, 0xee, 0xbd, 0x2c, 0x82, 0x49, 0x48, 0xba, 0x97, 0xa3, 0xfc, 0x0f, 0x92, 0x1d, 0x5e, + 0x52, 0xde, 0x00, 0x9e, 0x54, 0x32, 0xac, 0xaf, 0xb8, 0x50, 0x39, 0xd5, 0x7d, 0x47, 0x03, 0x7b, + 0x3a, 0xc3, 0xca, 0x8e, 0x63, 0x1d, 0xda, 0xf4, 0x1d, 0xec, 0x5f, 0x48, 0xe2, 0x95, 0xbe, 0x6e, + 0x01, 0x54, 0x2f, 0x8e, 0xb6, 0x90, 0x42, 0xe5, 0x64, 0xd7, 0xfd, 0xba, 0x59, 0xd5, 0x4c, 0xe1, + 0x9b, 0x00, 0xfd, 0xb1, 0x85, 0x03, 0xb6, 0x4c, 0xcb, 0x16, 0x40, 0xb5, 0xe1, 0x6f, 0x58, 0x28, + 0x41, 0x12, 0xb0, 0xd5, 0x6d, 0xcd, 0x04, 0xed, 0x7b, 0x67, 0x36, 0x0d, 0x85, 0xaa, 0x0a, 0x4e, + 0x12, 0x12, 0xa7, 0x5c, 0xf6, 0x1c, 0x1d, 0xc3, 0x3f, 0xb6, 0x68, 0xa1, 0x40, 0x69, 0xc9, 0x03, + 0xc9, 0xdb, 0xad, 0xbe, 0x84, 0x82, 0xe4, 0xed, 0xb6, 0xa4, 0x9a, 0x82, 0xd6, 0x09, 0xc3, 0x97, + 0x59, 0xe8, 0x70, 0xdf, 0x60, 0x9c, 0xd1, 0xf0, 0xf1, 0xab, 0x2e, 0x4b, 0x36, 0x17, 0x5f, 0x69, + 0x25, 0x31, 0x82, 0xaa, 0xb6, 0x6a, 0xfd, 0xaf, 0xe9, 0x62, 0xf0, 0x40, 0x15, 0xb8, 0xf8, 0x0f, + 0x26, 0xcb, 0x1f, 0xd3, 0xd3, 0xf0, 0xf1, 0x6b, 0x01, 0xba, 0xd6, 0x4e, 0xad, 0x50, 0x29, 0x92, + 0x17, 0x64, 0x2f, 0xc7, 0xfa, 0x3e, 0xea, 0xf0, 0x71, 0x83, 0xae, 0x06, 0x0e, 0x87, 0x30, 0x40, + 0x4e, 0xd8, 0x66, 0xc6, 0xaf, 0x02, 0xe2, 0x8f, 0xac, 0xf4, 0x2f, 0xcf, 0xb1, 0x31, 0x55, 0xaf, + 0xea, 0x67, 0xf5, 0xac, 0x96, 0xbc, 0xae, 0x9f, 0xeb, 0xb1, 0xb7, 0xc1, 0xcb, 0x68, 0x1e, 0xab, + 0xf2, 0xb9, 0x5d, 0x84, 0xcb, 0x86, 0x94, 0x2e, 0xaa, 0x0a, 0xae, 0xbe, 0x5b, 0x19, 0xdc, 0xb2, + 0xde, 0x5d, 0xc0, 0xe5, 0x60, 0x2a, 0x56, 0xf7, 0x7f, 0x88, 0xcf, 0x25, 0x3f, 0xb2, 0x6a, 0x81, + 0xcf, 0x97, 0xf2, 0x5c, 0xb2, 0xc6, 0x17, 0x7a, 0x27, 0x60, 0xe0, 0xf6, 0x93, 0xe0, 0x56, 0xaf, + 0xf4, 0x1f, 0x59, 0x85, 0x3f, 0x72, 0x9e, 0x9a, 0xd1, 0x45, 0x3f, 0xa4, 0xba, 0x9a, 0x8b, 0xe4, + 0x75, 0x42, 0x53, 0xb5, 0x45, 0x1b, 0x6c, 0x44, 0xdc, 0xd4, 0xc4, 0x67, 0xcd, 0x1b, 0xd0, 0x85, + 0x40, 0xb6, 0xed, 0xda, 0xd2, 0x29, 0x92, 0x60, 0x84, 0xd2, 0x52, 0x2d, 0x92, 0x60, 0x84, 0xf2, + 0xda, 0x2c, 0x5a, 0xdb, 0x13, 0x67, 0x9f, 0xd7, 0x69, 0x7f, 0xfa, 0x77, 0x75, 0x66, 0x1e, 0x66, + 0xf9, 0xe8, 0xbc, 0xed, 0xfc, 0x03, 0x62, 0x7b, 0x8e, 0x87, 0xed, 0x80, 0x69, 0xb5, 0xba, 0xdf, + 0xc6, 0xb4, 0xd2, 0x24, 0x2d, 0xc9, 0xad, 0x4b, 0xd7, 0x5e, 0x6d, 0x7b, 0x96, 0x74, 0x33, 0xb0, + 0xc7, 0xea, 0x1d, 0x0a, 0x9c, 0xde, 0x4c, 0x69, 0x38, 0x5e, 0x40, 0xf0, 0xc9, 0x7d, 0xe4, 0xff, + 0x4d, 0x9e, 0x31, 0xf1, 0xf8, 0xfc, 0x26, 0xcf, 0x23, 0x3d, 0x25, 0x67, 0x59, 0xd3, 0x45, 0xfd, + 0x8c, 0x59, 0xde, 0x93, 0xe2, 0xbd, 0xc3, 0xf0, 0x5e, 0x81, 0x97, 0x65, 0x78, 0x05, 0x65, 0xa2, + 0x87, 0xcc, 0x7b, 0xd7, 0xff, 0x80, 0x3c, 0x43, 0xcb, 0xcb, 0xeb, 0x48, 0x9e, 0xa1, 0xb5, 0x65, + 0x7c, 0x24, 0xcf, 0xd0, 0xfa, 0xba, 0x3d, 0x5a, 0xd3, 0x84, 0xee, 0xb7, 0xd4, 0x90, 0x92, 0x64, + 0xb6, 0x29, 0x2b, 0xf2, 0x48, 0x4c, 0x93, 0xb2, 0xfa, 0x3f, 0x12, 0xd3, 0xa4, 0xb4, 0xe0, 0x8f, + 0xd6, 0x34, 0xa1, 0xec, 0x73, 0xd5, 0x7f, 0x78, 0x04, 0xc2, 0xbc, 0xe7, 0x4b, 0xf9, 0x28, 0xe7, + 0x5d, 0x51, 0x32, 0x48, 0x39, 0xef, 0xaa, 0x1a, 0x41, 0x26, 0xf3, 0x9e, 0xd6, 0x0c, 0xca, 0xcd, + 0xfb, 0x10, 0x17, 0x84, 0x86, 0x1a, 0x93, 0x7e, 0x38, 0xe3, 0xfa, 0xc4, 0x8d, 0x54, 0x8c, 0xd2, + 0x55, 0x34, 0x54, 0x46, 0xe9, 0x2a, 0xdb, 0x9b, 0xbc, 0x84, 0xc5, 0xce, 0x02, 0xeb, 0xee, 0xcc, + 0xe1, 0xfe, 0x4e, 0x21, 0xab, 0xea, 0x2f, 0x2c, 0x50, 0x91, 0x0c, 0x94, 0x86, 0x91, 0x94, 0xb3, + 0x94, 0x8b, 0x22, 0x79, 0xce, 0xbc, 0x83, 0x81, 0x3b, 0x43, 0x0e, 0xa2, 0x98, 0x83, 0xf5, 0x45, + 0x4b, 0xf8, 0x73, 0x51, 0xe9, 0x50, 0x24, 0xb6, 0xf0, 0x70, 0x29, 0x4b, 0x42, 0x8c, 0xe1, 0x88, + 0x69, 0x73, 0x83, 0x23, 0x52, 0xce, 0x7f, 0x3e, 0xf8, 0xf0, 0x9b, 0x16, 0xd8, 0x4e, 0x9f, 0x8b, + 0xc9, 0x02, 0x67, 0x23, 0x5e, 0x0c, 0xdc, 0x19, 0x1f, 0x15, 0x8e, 0x48, 0x6d, 0x63, 0xc5, 0x11, + 0x59, 0xd2, 0xc7, 0x24, 0x42, 0x37, 0x8b, 0x43, 0x20, 0x5e, 0x4e, 0x16, 0x4d, 0x89, 0x08, 0x15, + 0x7e, 0x67, 0x7c, 0xdb, 0x02, 0xc3, 0x74, 0x48, 0xba, 0xe0, 0x05, 0x50, 0x72, 0x06, 0x15, 0xad, + 0x15, 0x3e, 0xdb, 0xb2, 0x4e, 0x06, 0xb7, 0xd7, 0x0c, 0x56, 0xea, 0x9a, 0xd1, 0xe2, 0x2a, 0xec, + 0x78, 0x3c, 0xfe, 0x78, 0x84, 0xf0, 0xdf, 0x87, 0xd0, 0xc9, 0x0e, 0xdf, 0xd0, 0x64, 0xc7, 0x8b, + 0xed, 0xbb, 0xdf, 0xf1, 0x84, 0xe7, 0x3a, 0x21, 0x60, 0xb0, 0x57, 0xea, 0x1d, 0x00, 0x06, 0x7b, + 0xa5, 0xce, 0xf1, 0x3f, 0x62, 0xda, 0xbc, 0xf7, 0xbd, 0x52, 0x17, 0xb9, 0xff, 0xeb, 0x3c, 0xf7, + 0x9c, 0x54, 0x6b, 0xb9, 0xe7, 0xda, 0x99, 0x70, 0x2f, 0x34, 0xa7, 0xdc, 0xbf, 0xcc, 0xb8, 0xbf, + 0x00, 0x5f, 0x34, 0x98, 0xfc, 0x54, 0xdb, 0xca, 0x52, 0x14, 0xbf, 0x2a, 0x15, 0xa4, 0x54, 0xef, + 0x96, 0xb2, 0x96, 0x53, 0xbb, 0x55, 0xe3, 0xf6, 0x14, 0xcb, 0x15, 0x86, 0x65, 0x14, 0x9e, 0x37, + 0xc0, 0x22, 0x8b, 0xdd, 0xcb, 0xc0, 0x7c, 0xcd, 0x02, 0xdb, 0xc6, 0xdd, 0xe0, 0x56, 0xab, 0xe1, + 0x26, 0x68, 0xd4, 0xf7, 0xe9, 0x69, 0x95, 0x12, 0x89, 0xf3, 0xf6, 0x87, 0xae, 0xad, 0xc2, 0xfe, + 0xd0, 0x77, 0x31, 0x79, 0xb4, 0x70, 0x03, 0xa7, 0x8d, 0x29, 0x38, 0xae, 0xef, 0x67, 0x07, 0x62, + 0x46, 0x84, 0x83, 0xf3, 0x2d, 0x0b, 0x0c, 0x67, 0xe3, 0xf1, 0x27, 0x6f, 0x36, 0x64, 0x5e, 0x79, + 0xe9, 0x5b, 0x2b, 0x94, 0x57, 0x59, 0x27, 0x03, 0x9d, 0xcc, 0x81, 0x12, 0x4e, 0x78, 0x86, 0x8b, + 0x83, 0xf5, 0x86, 0x05, 0x76, 0xe4, 0xc6, 0xcc, 0x2b, 0x4e, 0xa8, 0x67, 0x31, 0xdf, 0x5c, 0xf1, + 0xc6, 0x54, 0xda, 0xcb, 0x40, 0x2d, 0x17, 0x91, 0x15, 0xf4, 0x33, 0x07, 0xed, 0x93, 0x16, 0x58, + 0x9f, 0x8d, 0x4a, 0x2b, 0xa5, 0x3d, 0xa3, 0x60, 0x4a, 0xac, 0x97, 0xb6, 0xa7, 0xa4, 0x15, 0x65, + 0xf5, 0x04, 0x63, 0xf5, 0x20, 0x7c, 0x56, 0xc9, 0x2a, 0xa9, 0xa2, 0xc6, 0x31, 0xf6, 0x25, 0x0b, + 0x6c, 0xce, 0x68, 0x12, 0xa5, 0x92, 0xcd, 0xf5, 0x21, 0xc5, 0xd0, 0x62, 0x33, 0xc5, 0x43, 0x8b, + 0xb2, 0xb5, 0x41, 0x6c, 0x2e, 0xc7, 0x30, 0x55, 0x54, 0x6c, 0x4a, 0x65, 0xdb, 0xfb, 0x63, 0x16, + 0x58, 0x37, 0xee, 0x06, 0xf8, 0x30, 0x22, 0xe3, 0xe5, 0x8b, 0xc2, 0x89, 0xbf, 0x2a, 0x8a, 0xc2, + 0xe5, 0x1b, 0x19, 0xd8, 0xde, 0x1d, 0x4e, 0xf1, 0x11, 0x86, 0xd2, 0x7b, 0x5b, 0xc6, 0xd4, 0x9f, + 0x5a, 0x60, 0xd3, 0xb8, 0x1b, 0xdc, 0x68, 0xcf, 0x34, 0x3d, 0xfa, 0x70, 0x3b, 0xed, 0x3e, 0xf4, + 0x43, 0xb7, 0x91, 0x77, 0x88, 0xc8, 0x5b, 0x29, 0x1c, 0x22, 0xaa, 0xc6, 0x06, 0x31, 0x34, 0x1d, + 0x66, 0x63, 0xdc, 0x37, 0xdd, 0x85, 0x2d, 0xd2, 0x5b, 0x3e, 0xab, 0x54, 0x34, 0xc8, 0x68, 0x74, + 0x8f, 0xa4, 0x08, 0x54, 0x4c, 0x89, 0xcd, 0xd4, 0xa2, 0x21, 0x6f, 0x6d, 0x28, 0x1a, 0x14, 0x43, + 0xba, 0xdf, 0xb4, 0x20, 0xbe, 0x46, 0xde, 0xe6, 0x35, 0xd5, 0x4f, 0xa1, 0x22, 0x71, 0x44, 0x5b, + 0x6f, 0xb5, 0x72, 0xbc, 0xbb, 0x4e, 0x46, 0xd5, 0xe5, 0x70, 0xd7, 0xcc, 0x11, 0x82, 0x9a, 0x6e, + 0xf1, 0x5d, 0xf4, 0x0d, 0x8b, 0x56, 0x6d, 0xd6, 0xd5, 0x41, 0x95, 0x3c, 0x42, 0x19, 0xd5, 0x5f, + 0x95, 0x3c, 0x42, 0x99, 0x15, 0x5c, 0xd5, 0xdf, 0x91, 0x28, 0x2e, 0xce, 0xe1, 0x21, 0x85, 0x26, + 0x59, 0xa9, 0x5c, 0x75, 0xd4, 0x92, 0x95, 0x92, 0xd7, 0x63, 0x2d, 0x59, 0x29, 0x45, 0x01, 0x56, + 0xa3, 0x95, 0x4a, 0x05, 0x50, 0x0a, 0x87, 0x46, 0x6b, 0x4b, 0x4a, 0xa6, 0x4a, 0xfc, 0xa1, 0xea, + 0xa2, 0xac, 0x12, 0x7f, 0xa8, 0xa6, 0x0a, 0xab, 0x36, 0x5a, 0x9b, 0x66, 0x30, 0x13, 0x7f, 0xad, + 0x13, 0x27, 0x8d, 0x20, 0x8c, 0x9a, 0x3c, 0xcb, 0x5f, 0xe4, 0x59, 0x16, 0xaa, 0xa3, 0x2a, 0x59, + 0x96, 0x95, 0x66, 0x55, 0xb2, 0x2c, 0x2d, 0xb8, 0xaa, 0x0d, 0x08, 0x13, 0x8a, 0x16, 0x46, 0xc5, + 0x00, 0x73, 0x3e, 0xe7, 0x92, 0x26, 0x68, 0xc8, 0xcb, 0xa1, 0x42, 0x55, 0x29, 0x45, 0x45, 0x45, + 0xd6, 0x4a, 0xd5, 0xb8, 0xbd, 0x79, 0x4e, 0x7d, 0xe1, 0x6f, 0xb3, 0xcb, 0x91, 0x8c, 0xd5, 0xbe, + 0xfc, 0xe6, 0xb0, 0xf5, 0x8d, 0x37, 0x87, 0xad, 0xef, 0xbd, 0x39, 0x6c, 0xfd, 0xd2, 0x5b, 0xc3, + 0x4f, 0x7c, 0xe3, 0xad, 0xe1, 0x27, 0xde, 0x78, 0x6b, 0xf8, 0x89, 0xbb, 0xa7, 0x0c, 0x8b, 0xb6, + 0x3e, 0xe0, 0xc6, 0x4f, 0x1e, 0xb6, 0x50, 0x3c, 0xb3, 0xa6, 0x15, 0x85, 0x49, 0x78, 0xec, 0xff, + 0x02, 0x00, 0x00, 0xff, 0xff, 0x93, 0x2d, 0x75, 0x7e, 0xc9, 0xb0, 0x00, 0x00, } func (this *GetTotalStakeResponse) Equal(that interface{}) bool { @@ -11045,6 +11319,12 @@ type QueryServiceClient interface { GetTopicInitialForecasterEmaScore(ctx context.Context, in *GetTopicInitialForecasterEmaScoreRequest, opts ...grpc.CallOption) (*GetTopicInitialForecasterEmaScoreResponse, error) // GetTopicInitialReputerEmaScore returns the initial EMA score for reputers in a topic GetTopicInitialReputerEmaScore(ctx context.Context, in *GetTopicInitialReputerEmaScoreRequest, opts ...grpc.CallOption) (*GetTopicInitialReputerEmaScoreResponse, error) + // Get latest regret stdnorm for a topic + GetLatestRegretStdNorm(ctx context.Context, in *GetLatestRegretStdNormRequest, opts ...grpc.CallOption) (*GetLatestRegretStdNormResponse, error) + // Get latest inferer weight for a topic and actor + GetLatestInfererWeight(ctx context.Context, in *GetLatestInfererWeightRequest, opts ...grpc.CallOption) (*GetLatestInfererWeightResponse, error) + // Get latest forecaster weight for a topic and actor + GetLatestForecasterWeight(ctx context.Context, in *GetLatestForecasterWeightRequest, opts ...grpc.CallOption) (*GetLatestForecasterWeightResponse, error) } type queryServiceClient struct { @@ -11057,7 +11337,7 @@ func NewQueryServiceClient(cc grpc1.ClientConn) QueryServiceClient { func (c *queryServiceClient) GetParams(ctx context.Context, in *GetParamsRequest, opts ...grpc.CallOption) (*GetParamsResponse, error) { out := new(GetParamsResponse) - err := c.cc.Invoke(ctx, "/emissions.v7.QueryService/GetParams", in, out, opts...) + err := c.cc.Invoke(ctx, "/emissions.v8.QueryService/GetParams", in, out, opts...) if err != nil { return nil, err } @@ -11066,7 +11346,7 @@ func (c *queryServiceClient) GetParams(ctx context.Context, in *GetParamsRequest func (c *queryServiceClient) GetNextTopicId(ctx context.Context, in *GetNextTopicIdRequest, opts ...grpc.CallOption) (*GetNextTopicIdResponse, error) { out := new(GetNextTopicIdResponse) - err := c.cc.Invoke(ctx, "/emissions.v7.QueryService/GetNextTopicId", in, out, opts...) + err := c.cc.Invoke(ctx, "/emissions.v8.QueryService/GetNextTopicId", in, out, opts...) if err != nil { return nil, err } @@ -11075,7 +11355,7 @@ func (c *queryServiceClient) GetNextTopicId(ctx context.Context, in *GetNextTopi func (c *queryServiceClient) GetTopic(ctx context.Context, in *GetTopicRequest, opts ...grpc.CallOption) (*GetTopicResponse, error) { out := new(GetTopicResponse) - err := c.cc.Invoke(ctx, "/emissions.v7.QueryService/GetTopic", in, out, opts...) + err := c.cc.Invoke(ctx, "/emissions.v8.QueryService/GetTopic", in, out, opts...) if err != nil { return nil, err } @@ -11084,7 +11364,7 @@ func (c *queryServiceClient) GetTopic(ctx context.Context, in *GetTopicRequest, func (c *queryServiceClient) GetWorkerLatestInferenceByTopicId(ctx context.Context, in *GetWorkerLatestInferenceByTopicIdRequest, opts ...grpc.CallOption) (*GetWorkerLatestInferenceByTopicIdResponse, error) { out := new(GetWorkerLatestInferenceByTopicIdResponse) - err := c.cc.Invoke(ctx, "/emissions.v7.QueryService/GetWorkerLatestInferenceByTopicId", in, out, opts...) + err := c.cc.Invoke(ctx, "/emissions.v8.QueryService/GetWorkerLatestInferenceByTopicId", in, out, opts...) if err != nil { return nil, err } @@ -11093,7 +11373,7 @@ func (c *queryServiceClient) GetWorkerLatestInferenceByTopicId(ctx context.Conte func (c *queryServiceClient) GetInferencesAtBlock(ctx context.Context, in *GetInferencesAtBlockRequest, opts ...grpc.CallOption) (*GetInferencesAtBlockResponse, error) { out := new(GetInferencesAtBlockResponse) - err := c.cc.Invoke(ctx, "/emissions.v7.QueryService/GetInferencesAtBlock", in, out, opts...) + err := c.cc.Invoke(ctx, "/emissions.v8.QueryService/GetInferencesAtBlock", in, out, opts...) if err != nil { return nil, err } @@ -11102,7 +11382,7 @@ func (c *queryServiceClient) GetInferencesAtBlock(ctx context.Context, in *GetIn func (c *queryServiceClient) GetLatestTopicInferences(ctx context.Context, in *GetLatestTopicInferencesRequest, opts ...grpc.CallOption) (*GetLatestTopicInferencesResponse, error) { out := new(GetLatestTopicInferencesResponse) - err := c.cc.Invoke(ctx, "/emissions.v7.QueryService/GetLatestTopicInferences", in, out, opts...) + err := c.cc.Invoke(ctx, "/emissions.v8.QueryService/GetLatestTopicInferences", in, out, opts...) if err != nil { return nil, err } @@ -11111,7 +11391,7 @@ func (c *queryServiceClient) GetLatestTopicInferences(ctx context.Context, in *G func (c *queryServiceClient) GetForecastsAtBlock(ctx context.Context, in *GetForecastsAtBlockRequest, opts ...grpc.CallOption) (*GetForecastsAtBlockResponse, error) { out := new(GetForecastsAtBlockResponse) - err := c.cc.Invoke(ctx, "/emissions.v7.QueryService/GetForecastsAtBlock", in, out, opts...) + err := c.cc.Invoke(ctx, "/emissions.v8.QueryService/GetForecastsAtBlock", in, out, opts...) if err != nil { return nil, err } @@ -11120,7 +11400,7 @@ func (c *queryServiceClient) GetForecastsAtBlock(ctx context.Context, in *GetFor func (c *queryServiceClient) GetNetworkLossBundleAtBlock(ctx context.Context, in *GetNetworkLossBundleAtBlockRequest, opts ...grpc.CallOption) (*GetNetworkLossBundleAtBlockResponse, error) { out := new(GetNetworkLossBundleAtBlockResponse) - err := c.cc.Invoke(ctx, "/emissions.v7.QueryService/GetNetworkLossBundleAtBlock", in, out, opts...) + err := c.cc.Invoke(ctx, "/emissions.v8.QueryService/GetNetworkLossBundleAtBlock", in, out, opts...) if err != nil { return nil, err } @@ -11129,7 +11409,7 @@ func (c *queryServiceClient) GetNetworkLossBundleAtBlock(ctx context.Context, in func (c *queryServiceClient) GetTotalStake(ctx context.Context, in *GetTotalStakeRequest, opts ...grpc.CallOption) (*GetTotalStakeResponse, error) { out := new(GetTotalStakeResponse) - err := c.cc.Invoke(ctx, "/emissions.v7.QueryService/GetTotalStake", in, out, opts...) + err := c.cc.Invoke(ctx, "/emissions.v8.QueryService/GetTotalStake", in, out, opts...) if err != nil { return nil, err } @@ -11138,7 +11418,7 @@ func (c *queryServiceClient) GetTotalStake(ctx context.Context, in *GetTotalStak func (c *queryServiceClient) GetReputerStakeInTopic(ctx context.Context, in *GetReputerStakeInTopicRequest, opts ...grpc.CallOption) (*GetReputerStakeInTopicResponse, error) { out := new(GetReputerStakeInTopicResponse) - err := c.cc.Invoke(ctx, "/emissions.v7.QueryService/GetReputerStakeInTopic", in, out, opts...) + err := c.cc.Invoke(ctx, "/emissions.v8.QueryService/GetReputerStakeInTopic", in, out, opts...) if err != nil { return nil, err } @@ -11147,7 +11427,7 @@ func (c *queryServiceClient) GetReputerStakeInTopic(ctx context.Context, in *Get func (c *queryServiceClient) GetMultiReputerStakeInTopic(ctx context.Context, in *GetMultiReputerStakeInTopicRequest, opts ...grpc.CallOption) (*GetMultiReputerStakeInTopicResponse, error) { out := new(GetMultiReputerStakeInTopicResponse) - err := c.cc.Invoke(ctx, "/emissions.v7.QueryService/GetMultiReputerStakeInTopic", in, out, opts...) + err := c.cc.Invoke(ctx, "/emissions.v8.QueryService/GetMultiReputerStakeInTopic", in, out, opts...) if err != nil { return nil, err } @@ -11156,7 +11436,7 @@ func (c *queryServiceClient) GetMultiReputerStakeInTopic(ctx context.Context, in func (c *queryServiceClient) GetStakeFromReputerInTopicInSelf(ctx context.Context, in *GetStakeFromReputerInTopicInSelfRequest, opts ...grpc.CallOption) (*GetStakeFromReputerInTopicInSelfResponse, error) { out := new(GetStakeFromReputerInTopicInSelfResponse) - err := c.cc.Invoke(ctx, "/emissions.v7.QueryService/GetStakeFromReputerInTopicInSelf", in, out, opts...) + err := c.cc.Invoke(ctx, "/emissions.v8.QueryService/GetStakeFromReputerInTopicInSelf", in, out, opts...) if err != nil { return nil, err } @@ -11165,7 +11445,7 @@ func (c *queryServiceClient) GetStakeFromReputerInTopicInSelf(ctx context.Contex func (c *queryServiceClient) GetDelegateStakeInTopicInReputer(ctx context.Context, in *GetDelegateStakeInTopicInReputerRequest, opts ...grpc.CallOption) (*GetDelegateStakeInTopicInReputerResponse, error) { out := new(GetDelegateStakeInTopicInReputerResponse) - err := c.cc.Invoke(ctx, "/emissions.v7.QueryService/GetDelegateStakeInTopicInReputer", in, out, opts...) + err := c.cc.Invoke(ctx, "/emissions.v8.QueryService/GetDelegateStakeInTopicInReputer", in, out, opts...) if err != nil { return nil, err } @@ -11174,7 +11454,7 @@ func (c *queryServiceClient) GetDelegateStakeInTopicInReputer(ctx context.Contex func (c *queryServiceClient) GetStakeFromDelegatorInTopicInReputer(ctx context.Context, in *GetStakeFromDelegatorInTopicInReputerRequest, opts ...grpc.CallOption) (*GetStakeFromDelegatorInTopicInReputerResponse, error) { out := new(GetStakeFromDelegatorInTopicInReputerResponse) - err := c.cc.Invoke(ctx, "/emissions.v7.QueryService/GetStakeFromDelegatorInTopicInReputer", in, out, opts...) + err := c.cc.Invoke(ctx, "/emissions.v8.QueryService/GetStakeFromDelegatorInTopicInReputer", in, out, opts...) if err != nil { return nil, err } @@ -11183,7 +11463,7 @@ func (c *queryServiceClient) GetStakeFromDelegatorInTopicInReputer(ctx context.C func (c *queryServiceClient) GetStakeFromDelegatorInTopic(ctx context.Context, in *GetStakeFromDelegatorInTopicRequest, opts ...grpc.CallOption) (*GetStakeFromDelegatorInTopicResponse, error) { out := new(GetStakeFromDelegatorInTopicResponse) - err := c.cc.Invoke(ctx, "/emissions.v7.QueryService/GetStakeFromDelegatorInTopic", in, out, opts...) + err := c.cc.Invoke(ctx, "/emissions.v8.QueryService/GetStakeFromDelegatorInTopic", in, out, opts...) if err != nil { return nil, err } @@ -11192,7 +11472,7 @@ func (c *queryServiceClient) GetStakeFromDelegatorInTopic(ctx context.Context, i func (c *queryServiceClient) GetTopicStake(ctx context.Context, in *GetTopicStakeRequest, opts ...grpc.CallOption) (*GetTopicStakeResponse, error) { out := new(GetTopicStakeResponse) - err := c.cc.Invoke(ctx, "/emissions.v7.QueryService/GetTopicStake", in, out, opts...) + err := c.cc.Invoke(ctx, "/emissions.v8.QueryService/GetTopicStake", in, out, opts...) if err != nil { return nil, err } @@ -11201,7 +11481,7 @@ func (c *queryServiceClient) GetTopicStake(ctx context.Context, in *GetTopicStak func (c *queryServiceClient) GetStakeRemovalsUpUntilBlock(ctx context.Context, in *GetStakeRemovalsUpUntilBlockRequest, opts ...grpc.CallOption) (*GetStakeRemovalsUpUntilBlockResponse, error) { out := new(GetStakeRemovalsUpUntilBlockResponse) - err := c.cc.Invoke(ctx, "/emissions.v7.QueryService/GetStakeRemovalsUpUntilBlock", in, out, opts...) + err := c.cc.Invoke(ctx, "/emissions.v8.QueryService/GetStakeRemovalsUpUntilBlock", in, out, opts...) if err != nil { return nil, err } @@ -11210,7 +11490,7 @@ func (c *queryServiceClient) GetStakeRemovalsUpUntilBlock(ctx context.Context, i func (c *queryServiceClient) GetDelegateStakeRemovalsUpUntilBlock(ctx context.Context, in *GetDelegateStakeRemovalsUpUntilBlockRequest, opts ...grpc.CallOption) (*GetDelegateStakeRemovalsUpUntilBlockResponse, error) { out := new(GetDelegateStakeRemovalsUpUntilBlockResponse) - err := c.cc.Invoke(ctx, "/emissions.v7.QueryService/GetDelegateStakeRemovalsUpUntilBlock", in, out, opts...) + err := c.cc.Invoke(ctx, "/emissions.v8.QueryService/GetDelegateStakeRemovalsUpUntilBlock", in, out, opts...) if err != nil { return nil, err } @@ -11219,7 +11499,7 @@ func (c *queryServiceClient) GetDelegateStakeRemovalsUpUntilBlock(ctx context.Co func (c *queryServiceClient) GetStakeRemovalInfo(ctx context.Context, in *GetStakeRemovalInfoRequest, opts ...grpc.CallOption) (*GetStakeRemovalInfoResponse, error) { out := new(GetStakeRemovalInfoResponse) - err := c.cc.Invoke(ctx, "/emissions.v7.QueryService/GetStakeRemovalInfo", in, out, opts...) + err := c.cc.Invoke(ctx, "/emissions.v8.QueryService/GetStakeRemovalInfo", in, out, opts...) if err != nil { return nil, err } @@ -11228,7 +11508,7 @@ func (c *queryServiceClient) GetStakeRemovalInfo(ctx context.Context, in *GetSta func (c *queryServiceClient) GetDelegateStakeRemovalInfo(ctx context.Context, in *GetDelegateStakeRemovalInfoRequest, opts ...grpc.CallOption) (*GetDelegateStakeRemovalInfoResponse, error) { out := new(GetDelegateStakeRemovalInfoResponse) - err := c.cc.Invoke(ctx, "/emissions.v7.QueryService/GetDelegateStakeRemovalInfo", in, out, opts...) + err := c.cc.Invoke(ctx, "/emissions.v8.QueryService/GetDelegateStakeRemovalInfo", in, out, opts...) if err != nil { return nil, err } @@ -11237,7 +11517,7 @@ func (c *queryServiceClient) GetDelegateStakeRemovalInfo(ctx context.Context, in func (c *queryServiceClient) GetWorkerNodeInfo(ctx context.Context, in *GetWorkerNodeInfoRequest, opts ...grpc.CallOption) (*GetWorkerNodeInfoResponse, error) { out := new(GetWorkerNodeInfoResponse) - err := c.cc.Invoke(ctx, "/emissions.v7.QueryService/GetWorkerNodeInfo", in, out, opts...) + err := c.cc.Invoke(ctx, "/emissions.v8.QueryService/GetWorkerNodeInfo", in, out, opts...) if err != nil { return nil, err } @@ -11246,7 +11526,7 @@ func (c *queryServiceClient) GetWorkerNodeInfo(ctx context.Context, in *GetWorke func (c *queryServiceClient) GetReputerNodeInfo(ctx context.Context, in *GetReputerNodeInfoRequest, opts ...grpc.CallOption) (*GetReputerNodeInfoResponse, error) { out := new(GetReputerNodeInfoResponse) - err := c.cc.Invoke(ctx, "/emissions.v7.QueryService/GetReputerNodeInfo", in, out, opts...) + err := c.cc.Invoke(ctx, "/emissions.v8.QueryService/GetReputerNodeInfo", in, out, opts...) if err != nil { return nil, err } @@ -11255,7 +11535,7 @@ func (c *queryServiceClient) GetReputerNodeInfo(ctx context.Context, in *GetRepu func (c *queryServiceClient) IsWorkerRegisteredInTopicId(ctx context.Context, in *IsWorkerRegisteredInTopicIdRequest, opts ...grpc.CallOption) (*IsWorkerRegisteredInTopicIdResponse, error) { out := new(IsWorkerRegisteredInTopicIdResponse) - err := c.cc.Invoke(ctx, "/emissions.v7.QueryService/IsWorkerRegisteredInTopicId", in, out, opts...) + err := c.cc.Invoke(ctx, "/emissions.v8.QueryService/IsWorkerRegisteredInTopicId", in, out, opts...) if err != nil { return nil, err } @@ -11264,7 +11544,7 @@ func (c *queryServiceClient) IsWorkerRegisteredInTopicId(ctx context.Context, in func (c *queryServiceClient) IsReputerRegisteredInTopicId(ctx context.Context, in *IsReputerRegisteredInTopicIdRequest, opts ...grpc.CallOption) (*IsReputerRegisteredInTopicIdResponse, error) { out := new(IsReputerRegisteredInTopicIdResponse) - err := c.cc.Invoke(ctx, "/emissions.v7.QueryService/IsReputerRegisteredInTopicId", in, out, opts...) + err := c.cc.Invoke(ctx, "/emissions.v8.QueryService/IsReputerRegisteredInTopicId", in, out, opts...) if err != nil { return nil, err } @@ -11273,7 +11553,7 @@ func (c *queryServiceClient) IsReputerRegisteredInTopicId(ctx context.Context, i func (c *queryServiceClient) GetNetworkInferencesAtBlock(ctx context.Context, in *GetNetworkInferencesAtBlockRequest, opts ...grpc.CallOption) (*GetNetworkInferencesAtBlockResponse, error) { out := new(GetNetworkInferencesAtBlockResponse) - err := c.cc.Invoke(ctx, "/emissions.v7.QueryService/GetNetworkInferencesAtBlock", in, out, opts...) + err := c.cc.Invoke(ctx, "/emissions.v8.QueryService/GetNetworkInferencesAtBlock", in, out, opts...) if err != nil { return nil, err } @@ -11282,7 +11562,7 @@ func (c *queryServiceClient) GetNetworkInferencesAtBlock(ctx context.Context, in func (c *queryServiceClient) GetNetworkInferencesAtBlockOutlierResistant(ctx context.Context, in *GetNetworkInferencesAtBlockOutlierResistantRequest, opts ...grpc.CallOption) (*GetNetworkInferencesAtBlockOutlierResistantResponse, error) { out := new(GetNetworkInferencesAtBlockOutlierResistantResponse) - err := c.cc.Invoke(ctx, "/emissions.v7.QueryService/GetNetworkInferencesAtBlockOutlierResistant", in, out, opts...) + err := c.cc.Invoke(ctx, "/emissions.v8.QueryService/GetNetworkInferencesAtBlockOutlierResistant", in, out, opts...) if err != nil { return nil, err } @@ -11291,7 +11571,7 @@ func (c *queryServiceClient) GetNetworkInferencesAtBlockOutlierResistant(ctx con func (c *queryServiceClient) GetLatestNetworkInferences(ctx context.Context, in *GetLatestNetworkInferencesRequest, opts ...grpc.CallOption) (*GetLatestNetworkInferencesResponse, error) { out := new(GetLatestNetworkInferencesResponse) - err := c.cc.Invoke(ctx, "/emissions.v7.QueryService/GetLatestNetworkInferences", in, out, opts...) + err := c.cc.Invoke(ctx, "/emissions.v8.QueryService/GetLatestNetworkInferences", in, out, opts...) if err != nil { return nil, err } @@ -11300,7 +11580,7 @@ func (c *queryServiceClient) GetLatestNetworkInferences(ctx context.Context, in func (c *queryServiceClient) GetLatestNetworkInferencesOutlierResistant(ctx context.Context, in *GetLatestNetworkInferencesOutlierResistantRequest, opts ...grpc.CallOption) (*GetLatestNetworkInferencesOutlierResistantResponse, error) { out := new(GetLatestNetworkInferencesOutlierResistantResponse) - err := c.cc.Invoke(ctx, "/emissions.v7.QueryService/GetLatestNetworkInferencesOutlierResistant", in, out, opts...) + err := c.cc.Invoke(ctx, "/emissions.v8.QueryService/GetLatestNetworkInferencesOutlierResistant", in, out, opts...) if err != nil { return nil, err } @@ -11309,7 +11589,7 @@ func (c *queryServiceClient) GetLatestNetworkInferencesOutlierResistant(ctx cont func (c *queryServiceClient) GetLatestAvailableNetworkInferences(ctx context.Context, in *GetLatestAvailableNetworkInferencesRequest, opts ...grpc.CallOption) (*GetLatestAvailableNetworkInferencesResponse, error) { out := new(GetLatestAvailableNetworkInferencesResponse) - err := c.cc.Invoke(ctx, "/emissions.v7.QueryService/GetLatestAvailableNetworkInferences", in, out, opts...) + err := c.cc.Invoke(ctx, "/emissions.v8.QueryService/GetLatestAvailableNetworkInferences", in, out, opts...) if err != nil { return nil, err } @@ -11318,7 +11598,7 @@ func (c *queryServiceClient) GetLatestAvailableNetworkInferences(ctx context.Con func (c *queryServiceClient) GetLatestAvailableNetworkInferencesOutlierResistant(ctx context.Context, in *GetLatestAvailableNetworkInferencesOutlierResistantRequest, opts ...grpc.CallOption) (*GetLatestAvailableNetworkInferencesOutlierResistantResponse, error) { out := new(GetLatestAvailableNetworkInferencesOutlierResistantResponse) - err := c.cc.Invoke(ctx, "/emissions.v7.QueryService/GetLatestAvailableNetworkInferencesOutlierResistant", in, out, opts...) + err := c.cc.Invoke(ctx, "/emissions.v8.QueryService/GetLatestAvailableNetworkInferencesOutlierResistant", in, out, opts...) if err != nil { return nil, err } @@ -11327,7 +11607,7 @@ func (c *queryServiceClient) GetLatestAvailableNetworkInferencesOutlierResistant func (c *queryServiceClient) IsWorkerNonceUnfulfilled(ctx context.Context, in *IsWorkerNonceUnfulfilledRequest, opts ...grpc.CallOption) (*IsWorkerNonceUnfulfilledResponse, error) { out := new(IsWorkerNonceUnfulfilledResponse) - err := c.cc.Invoke(ctx, "/emissions.v7.QueryService/IsWorkerNonceUnfulfilled", in, out, opts...) + err := c.cc.Invoke(ctx, "/emissions.v8.QueryService/IsWorkerNonceUnfulfilled", in, out, opts...) if err != nil { return nil, err } @@ -11336,7 +11616,7 @@ func (c *queryServiceClient) IsWorkerNonceUnfulfilled(ctx context.Context, in *I func (c *queryServiceClient) IsReputerNonceUnfulfilled(ctx context.Context, in *IsReputerNonceUnfulfilledRequest, opts ...grpc.CallOption) (*IsReputerNonceUnfulfilledResponse, error) { out := new(IsReputerNonceUnfulfilledResponse) - err := c.cc.Invoke(ctx, "/emissions.v7.QueryService/IsReputerNonceUnfulfilled", in, out, opts...) + err := c.cc.Invoke(ctx, "/emissions.v8.QueryService/IsReputerNonceUnfulfilled", in, out, opts...) if err != nil { return nil, err } @@ -11345,7 +11625,7 @@ func (c *queryServiceClient) IsReputerNonceUnfulfilled(ctx context.Context, in * func (c *queryServiceClient) GetUnfulfilledWorkerNonces(ctx context.Context, in *GetUnfulfilledWorkerNoncesRequest, opts ...grpc.CallOption) (*GetUnfulfilledWorkerNoncesResponse, error) { out := new(GetUnfulfilledWorkerNoncesResponse) - err := c.cc.Invoke(ctx, "/emissions.v7.QueryService/GetUnfulfilledWorkerNonces", in, out, opts...) + err := c.cc.Invoke(ctx, "/emissions.v8.QueryService/GetUnfulfilledWorkerNonces", in, out, opts...) if err != nil { return nil, err } @@ -11354,7 +11634,7 @@ func (c *queryServiceClient) GetUnfulfilledWorkerNonces(ctx context.Context, in func (c *queryServiceClient) GetUnfulfilledReputerNonces(ctx context.Context, in *GetUnfulfilledReputerNoncesRequest, opts ...grpc.CallOption) (*GetUnfulfilledReputerNoncesResponse, error) { out := new(GetUnfulfilledReputerNoncesResponse) - err := c.cc.Invoke(ctx, "/emissions.v7.QueryService/GetUnfulfilledReputerNonces", in, out, opts...) + err := c.cc.Invoke(ctx, "/emissions.v8.QueryService/GetUnfulfilledReputerNonces", in, out, opts...) if err != nil { return nil, err } @@ -11363,7 +11643,7 @@ func (c *queryServiceClient) GetUnfulfilledReputerNonces(ctx context.Context, in func (c *queryServiceClient) GetInfererNetworkRegret(ctx context.Context, in *GetInfererNetworkRegretRequest, opts ...grpc.CallOption) (*GetInfererNetworkRegretResponse, error) { out := new(GetInfererNetworkRegretResponse) - err := c.cc.Invoke(ctx, "/emissions.v7.QueryService/GetInfererNetworkRegret", in, out, opts...) + err := c.cc.Invoke(ctx, "/emissions.v8.QueryService/GetInfererNetworkRegret", in, out, opts...) if err != nil { return nil, err } @@ -11372,7 +11652,7 @@ func (c *queryServiceClient) GetInfererNetworkRegret(ctx context.Context, in *Ge func (c *queryServiceClient) GetForecasterNetworkRegret(ctx context.Context, in *GetForecasterNetworkRegretRequest, opts ...grpc.CallOption) (*GetForecasterNetworkRegretResponse, error) { out := new(GetForecasterNetworkRegretResponse) - err := c.cc.Invoke(ctx, "/emissions.v7.QueryService/GetForecasterNetworkRegret", in, out, opts...) + err := c.cc.Invoke(ctx, "/emissions.v8.QueryService/GetForecasterNetworkRegret", in, out, opts...) if err != nil { return nil, err } @@ -11381,7 +11661,7 @@ func (c *queryServiceClient) GetForecasterNetworkRegret(ctx context.Context, in func (c *queryServiceClient) GetOneInForecasterNetworkRegret(ctx context.Context, in *GetOneInForecasterNetworkRegretRequest, opts ...grpc.CallOption) (*GetOneInForecasterNetworkRegretResponse, error) { out := new(GetOneInForecasterNetworkRegretResponse) - err := c.cc.Invoke(ctx, "/emissions.v7.QueryService/GetOneInForecasterNetworkRegret", in, out, opts...) + err := c.cc.Invoke(ctx, "/emissions.v8.QueryService/GetOneInForecasterNetworkRegret", in, out, opts...) if err != nil { return nil, err } @@ -11390,7 +11670,7 @@ func (c *queryServiceClient) GetOneInForecasterNetworkRegret(ctx context.Context func (c *queryServiceClient) IsWhitelistAdmin(ctx context.Context, in *IsWhitelistAdminRequest, opts ...grpc.CallOption) (*IsWhitelistAdminResponse, error) { out := new(IsWhitelistAdminResponse) - err := c.cc.Invoke(ctx, "/emissions.v7.QueryService/IsWhitelistAdmin", in, out, opts...) + err := c.cc.Invoke(ctx, "/emissions.v8.QueryService/IsWhitelistAdmin", in, out, opts...) if err != nil { return nil, err } @@ -11399,7 +11679,7 @@ func (c *queryServiceClient) IsWhitelistAdmin(ctx context.Context, in *IsWhiteli func (c *queryServiceClient) GetTopicLastWorkerCommitInfo(ctx context.Context, in *GetTopicLastWorkerCommitInfoRequest, opts ...grpc.CallOption) (*GetTopicLastWorkerCommitInfoResponse, error) { out := new(GetTopicLastWorkerCommitInfoResponse) - err := c.cc.Invoke(ctx, "/emissions.v7.QueryService/GetTopicLastWorkerCommitInfo", in, out, opts...) + err := c.cc.Invoke(ctx, "/emissions.v8.QueryService/GetTopicLastWorkerCommitInfo", in, out, opts...) if err != nil { return nil, err } @@ -11408,7 +11688,7 @@ func (c *queryServiceClient) GetTopicLastWorkerCommitInfo(ctx context.Context, i func (c *queryServiceClient) GetTopicLastReputerCommitInfo(ctx context.Context, in *GetTopicLastReputerCommitInfoRequest, opts ...grpc.CallOption) (*GetTopicLastReputerCommitInfoResponse, error) { out := new(GetTopicLastReputerCommitInfoResponse) - err := c.cc.Invoke(ctx, "/emissions.v7.QueryService/GetTopicLastReputerCommitInfo", in, out, opts...) + err := c.cc.Invoke(ctx, "/emissions.v8.QueryService/GetTopicLastReputerCommitInfo", in, out, opts...) if err != nil { return nil, err } @@ -11417,7 +11697,7 @@ func (c *queryServiceClient) GetTopicLastReputerCommitInfo(ctx context.Context, func (c *queryServiceClient) GetTopicRewardNonce(ctx context.Context, in *GetTopicRewardNonceRequest, opts ...grpc.CallOption) (*GetTopicRewardNonceResponse, error) { out := new(GetTopicRewardNonceResponse) - err := c.cc.Invoke(ctx, "/emissions.v7.QueryService/GetTopicRewardNonce", in, out, opts...) + err := c.cc.Invoke(ctx, "/emissions.v8.QueryService/GetTopicRewardNonce", in, out, opts...) if err != nil { return nil, err } @@ -11426,7 +11706,7 @@ func (c *queryServiceClient) GetTopicRewardNonce(ctx context.Context, in *GetTop func (c *queryServiceClient) GetReputerLossBundlesAtBlock(ctx context.Context, in *GetReputerLossBundlesAtBlockRequest, opts ...grpc.CallOption) (*GetReputerLossBundlesAtBlockResponse, error) { out := new(GetReputerLossBundlesAtBlockResponse) - err := c.cc.Invoke(ctx, "/emissions.v7.QueryService/GetReputerLossBundlesAtBlock", in, out, opts...) + err := c.cc.Invoke(ctx, "/emissions.v8.QueryService/GetReputerLossBundlesAtBlock", in, out, opts...) if err != nil { return nil, err } @@ -11435,7 +11715,7 @@ func (c *queryServiceClient) GetReputerLossBundlesAtBlock(ctx context.Context, i func (c *queryServiceClient) GetStakeReputerAuthority(ctx context.Context, in *GetStakeReputerAuthorityRequest, opts ...grpc.CallOption) (*GetStakeReputerAuthorityResponse, error) { out := new(GetStakeReputerAuthorityResponse) - err := c.cc.Invoke(ctx, "/emissions.v7.QueryService/GetStakeReputerAuthority", in, out, opts...) + err := c.cc.Invoke(ctx, "/emissions.v8.QueryService/GetStakeReputerAuthority", in, out, opts...) if err != nil { return nil, err } @@ -11444,7 +11724,7 @@ func (c *queryServiceClient) GetStakeReputerAuthority(ctx context.Context, in *G func (c *queryServiceClient) GetDelegateStakePlacement(ctx context.Context, in *GetDelegateStakePlacementRequest, opts ...grpc.CallOption) (*GetDelegateStakePlacementResponse, error) { out := new(GetDelegateStakePlacementResponse) - err := c.cc.Invoke(ctx, "/emissions.v7.QueryService/GetDelegateStakePlacement", in, out, opts...) + err := c.cc.Invoke(ctx, "/emissions.v8.QueryService/GetDelegateStakePlacement", in, out, opts...) if err != nil { return nil, err } @@ -11453,7 +11733,7 @@ func (c *queryServiceClient) GetDelegateStakePlacement(ctx context.Context, in * func (c *queryServiceClient) GetDelegateStakeUponReputer(ctx context.Context, in *GetDelegateStakeUponReputerRequest, opts ...grpc.CallOption) (*GetDelegateStakeUponReputerResponse, error) { out := new(GetDelegateStakeUponReputerResponse) - err := c.cc.Invoke(ctx, "/emissions.v7.QueryService/GetDelegateStakeUponReputer", in, out, opts...) + err := c.cc.Invoke(ctx, "/emissions.v8.QueryService/GetDelegateStakeUponReputer", in, out, opts...) if err != nil { return nil, err } @@ -11462,7 +11742,7 @@ func (c *queryServiceClient) GetDelegateStakeUponReputer(ctx context.Context, in func (c *queryServiceClient) GetDelegateRewardPerShare(ctx context.Context, in *GetDelegateRewardPerShareRequest, opts ...grpc.CallOption) (*GetDelegateRewardPerShareResponse, error) { out := new(GetDelegateRewardPerShareResponse) - err := c.cc.Invoke(ctx, "/emissions.v7.QueryService/GetDelegateRewardPerShare", in, out, opts...) + err := c.cc.Invoke(ctx, "/emissions.v8.QueryService/GetDelegateRewardPerShare", in, out, opts...) if err != nil { return nil, err } @@ -11471,7 +11751,7 @@ func (c *queryServiceClient) GetDelegateRewardPerShare(ctx context.Context, in * func (c *queryServiceClient) GetStakeRemovalForReputerAndTopicId(ctx context.Context, in *GetStakeRemovalForReputerAndTopicIdRequest, opts ...grpc.CallOption) (*GetStakeRemovalForReputerAndTopicIdResponse, error) { out := new(GetStakeRemovalForReputerAndTopicIdResponse) - err := c.cc.Invoke(ctx, "/emissions.v7.QueryService/GetStakeRemovalForReputerAndTopicId", in, out, opts...) + err := c.cc.Invoke(ctx, "/emissions.v8.QueryService/GetStakeRemovalForReputerAndTopicId", in, out, opts...) if err != nil { return nil, err } @@ -11480,7 +11760,7 @@ func (c *queryServiceClient) GetStakeRemovalForReputerAndTopicId(ctx context.Con func (c *queryServiceClient) GetDelegateStakeRemoval(ctx context.Context, in *GetDelegateStakeRemovalRequest, opts ...grpc.CallOption) (*GetDelegateStakeRemovalResponse, error) { out := new(GetDelegateStakeRemovalResponse) - err := c.cc.Invoke(ctx, "/emissions.v7.QueryService/GetDelegateStakeRemoval", in, out, opts...) + err := c.cc.Invoke(ctx, "/emissions.v8.QueryService/GetDelegateStakeRemoval", in, out, opts...) if err != nil { return nil, err } @@ -11489,7 +11769,7 @@ func (c *queryServiceClient) GetDelegateStakeRemoval(ctx context.Context, in *Ge func (c *queryServiceClient) GetPreviousTopicWeight(ctx context.Context, in *GetPreviousTopicWeightRequest, opts ...grpc.CallOption) (*GetPreviousTopicWeightResponse, error) { out := new(GetPreviousTopicWeightResponse) - err := c.cc.Invoke(ctx, "/emissions.v7.QueryService/GetPreviousTopicWeight", in, out, opts...) + err := c.cc.Invoke(ctx, "/emissions.v8.QueryService/GetPreviousTopicWeight", in, out, opts...) if err != nil { return nil, err } @@ -11498,7 +11778,7 @@ func (c *queryServiceClient) GetPreviousTopicWeight(ctx context.Context, in *Get func (c *queryServiceClient) GetTotalSumPreviousTopicWeights(ctx context.Context, in *GetTotalSumPreviousTopicWeightsRequest, opts ...grpc.CallOption) (*GetTotalSumPreviousTopicWeightsResponse, error) { out := new(GetTotalSumPreviousTopicWeightsResponse) - err := c.cc.Invoke(ctx, "/emissions.v7.QueryService/GetTotalSumPreviousTopicWeights", in, out, opts...) + err := c.cc.Invoke(ctx, "/emissions.v8.QueryService/GetTotalSumPreviousTopicWeights", in, out, opts...) if err != nil { return nil, err } @@ -11507,7 +11787,7 @@ func (c *queryServiceClient) GetTotalSumPreviousTopicWeights(ctx context.Context func (c *queryServiceClient) TopicExists(ctx context.Context, in *TopicExistsRequest, opts ...grpc.CallOption) (*TopicExistsResponse, error) { out := new(TopicExistsResponse) - err := c.cc.Invoke(ctx, "/emissions.v7.QueryService/TopicExists", in, out, opts...) + err := c.cc.Invoke(ctx, "/emissions.v8.QueryService/TopicExists", in, out, opts...) if err != nil { return nil, err } @@ -11516,7 +11796,7 @@ func (c *queryServiceClient) TopicExists(ctx context.Context, in *TopicExistsReq func (c *queryServiceClient) IsTopicActive(ctx context.Context, in *IsTopicActiveRequest, opts ...grpc.CallOption) (*IsTopicActiveResponse, error) { out := new(IsTopicActiveResponse) - err := c.cc.Invoke(ctx, "/emissions.v7.QueryService/IsTopicActive", in, out, opts...) + err := c.cc.Invoke(ctx, "/emissions.v8.QueryService/IsTopicActive", in, out, opts...) if err != nil { return nil, err } @@ -11525,7 +11805,7 @@ func (c *queryServiceClient) IsTopicActive(ctx context.Context, in *IsTopicActiv func (c *queryServiceClient) GetTopicFeeRevenue(ctx context.Context, in *GetTopicFeeRevenueRequest, opts ...grpc.CallOption) (*GetTopicFeeRevenueResponse, error) { out := new(GetTopicFeeRevenueResponse) - err := c.cc.Invoke(ctx, "/emissions.v7.QueryService/GetTopicFeeRevenue", in, out, opts...) + err := c.cc.Invoke(ctx, "/emissions.v8.QueryService/GetTopicFeeRevenue", in, out, opts...) if err != nil { return nil, err } @@ -11534,7 +11814,7 @@ func (c *queryServiceClient) GetTopicFeeRevenue(ctx context.Context, in *GetTopi func (c *queryServiceClient) GetInfererScoreEma(ctx context.Context, in *GetInfererScoreEmaRequest, opts ...grpc.CallOption) (*GetInfererScoreEmaResponse, error) { out := new(GetInfererScoreEmaResponse) - err := c.cc.Invoke(ctx, "/emissions.v7.QueryService/GetInfererScoreEma", in, out, opts...) + err := c.cc.Invoke(ctx, "/emissions.v8.QueryService/GetInfererScoreEma", in, out, opts...) if err != nil { return nil, err } @@ -11543,7 +11823,7 @@ func (c *queryServiceClient) GetInfererScoreEma(ctx context.Context, in *GetInfe func (c *queryServiceClient) GetForecasterScoreEma(ctx context.Context, in *GetForecasterScoreEmaRequest, opts ...grpc.CallOption) (*GetForecasterScoreEmaResponse, error) { out := new(GetForecasterScoreEmaResponse) - err := c.cc.Invoke(ctx, "/emissions.v7.QueryService/GetForecasterScoreEma", in, out, opts...) + err := c.cc.Invoke(ctx, "/emissions.v8.QueryService/GetForecasterScoreEma", in, out, opts...) if err != nil { return nil, err } @@ -11552,7 +11832,7 @@ func (c *queryServiceClient) GetForecasterScoreEma(ctx context.Context, in *GetF func (c *queryServiceClient) GetReputerScoreEma(ctx context.Context, in *GetReputerScoreEmaRequest, opts ...grpc.CallOption) (*GetReputerScoreEmaResponse, error) { out := new(GetReputerScoreEmaResponse) - err := c.cc.Invoke(ctx, "/emissions.v7.QueryService/GetReputerScoreEma", in, out, opts...) + err := c.cc.Invoke(ctx, "/emissions.v8.QueryService/GetReputerScoreEma", in, out, opts...) if err != nil { return nil, err } @@ -11561,7 +11841,7 @@ func (c *queryServiceClient) GetReputerScoreEma(ctx context.Context, in *GetRepu func (c *queryServiceClient) GetInferenceScoresUntilBlock(ctx context.Context, in *GetInferenceScoresUntilBlockRequest, opts ...grpc.CallOption) (*GetInferenceScoresUntilBlockResponse, error) { out := new(GetInferenceScoresUntilBlockResponse) - err := c.cc.Invoke(ctx, "/emissions.v7.QueryService/GetInferenceScoresUntilBlock", in, out, opts...) + err := c.cc.Invoke(ctx, "/emissions.v8.QueryService/GetInferenceScoresUntilBlock", in, out, opts...) if err != nil { return nil, err } @@ -11570,7 +11850,7 @@ func (c *queryServiceClient) GetInferenceScoresUntilBlock(ctx context.Context, i func (c *queryServiceClient) GetPreviousTopicQuantileForecasterScoreEma(ctx context.Context, in *GetPreviousTopicQuantileForecasterScoreEmaRequest, opts ...grpc.CallOption) (*GetPreviousTopicQuantileForecasterScoreEmaResponse, error) { out := new(GetPreviousTopicQuantileForecasterScoreEmaResponse) - err := c.cc.Invoke(ctx, "/emissions.v7.QueryService/GetPreviousTopicQuantileForecasterScoreEma", in, out, opts...) + err := c.cc.Invoke(ctx, "/emissions.v8.QueryService/GetPreviousTopicQuantileForecasterScoreEma", in, out, opts...) if err != nil { return nil, err } @@ -11579,7 +11859,7 @@ func (c *queryServiceClient) GetPreviousTopicQuantileForecasterScoreEma(ctx cont func (c *queryServiceClient) GetPreviousTopicQuantileInfererScoreEma(ctx context.Context, in *GetPreviousTopicQuantileInfererScoreEmaRequest, opts ...grpc.CallOption) (*GetPreviousTopicQuantileInfererScoreEmaResponse, error) { out := new(GetPreviousTopicQuantileInfererScoreEmaResponse) - err := c.cc.Invoke(ctx, "/emissions.v7.QueryService/GetPreviousTopicQuantileInfererScoreEma", in, out, opts...) + err := c.cc.Invoke(ctx, "/emissions.v8.QueryService/GetPreviousTopicQuantileInfererScoreEma", in, out, opts...) if err != nil { return nil, err } @@ -11588,7 +11868,7 @@ func (c *queryServiceClient) GetPreviousTopicQuantileInfererScoreEma(ctx context func (c *queryServiceClient) GetPreviousTopicQuantileReputerScoreEma(ctx context.Context, in *GetPreviousTopicQuantileReputerScoreEmaRequest, opts ...grpc.CallOption) (*GetPreviousTopicQuantileReputerScoreEmaResponse, error) { out := new(GetPreviousTopicQuantileReputerScoreEmaResponse) - err := c.cc.Invoke(ctx, "/emissions.v7.QueryService/GetPreviousTopicQuantileReputerScoreEma", in, out, opts...) + err := c.cc.Invoke(ctx, "/emissions.v8.QueryService/GetPreviousTopicQuantileReputerScoreEma", in, out, opts...) if err != nil { return nil, err } @@ -11597,7 +11877,7 @@ func (c *queryServiceClient) GetPreviousTopicQuantileReputerScoreEma(ctx context func (c *queryServiceClient) GetWorkerInferenceScoresAtBlock(ctx context.Context, in *GetWorkerInferenceScoresAtBlockRequest, opts ...grpc.CallOption) (*GetWorkerInferenceScoresAtBlockResponse, error) { out := new(GetWorkerInferenceScoresAtBlockResponse) - err := c.cc.Invoke(ctx, "/emissions.v7.QueryService/GetWorkerInferenceScoresAtBlock", in, out, opts...) + err := c.cc.Invoke(ctx, "/emissions.v8.QueryService/GetWorkerInferenceScoresAtBlock", in, out, opts...) if err != nil { return nil, err } @@ -11606,7 +11886,7 @@ func (c *queryServiceClient) GetWorkerInferenceScoresAtBlock(ctx context.Context func (c *queryServiceClient) GetCurrentLowestInfererScore(ctx context.Context, in *GetCurrentLowestInfererScoreRequest, opts ...grpc.CallOption) (*GetCurrentLowestInfererScoreResponse, error) { out := new(GetCurrentLowestInfererScoreResponse) - err := c.cc.Invoke(ctx, "/emissions.v7.QueryService/GetCurrentLowestInfererScore", in, out, opts...) + err := c.cc.Invoke(ctx, "/emissions.v8.QueryService/GetCurrentLowestInfererScore", in, out, opts...) if err != nil { return nil, err } @@ -11615,7 +11895,7 @@ func (c *queryServiceClient) GetCurrentLowestInfererScore(ctx context.Context, i func (c *queryServiceClient) GetForecastScoresUntilBlock(ctx context.Context, in *GetForecastScoresUntilBlockRequest, opts ...grpc.CallOption) (*GetForecastScoresUntilBlockResponse, error) { out := new(GetForecastScoresUntilBlockResponse) - err := c.cc.Invoke(ctx, "/emissions.v7.QueryService/GetForecastScoresUntilBlock", in, out, opts...) + err := c.cc.Invoke(ctx, "/emissions.v8.QueryService/GetForecastScoresUntilBlock", in, out, opts...) if err != nil { return nil, err } @@ -11624,7 +11904,7 @@ func (c *queryServiceClient) GetForecastScoresUntilBlock(ctx context.Context, in func (c *queryServiceClient) GetWorkerForecastScoresAtBlock(ctx context.Context, in *GetWorkerForecastScoresAtBlockRequest, opts ...grpc.CallOption) (*GetWorkerForecastScoresAtBlockResponse, error) { out := new(GetWorkerForecastScoresAtBlockResponse) - err := c.cc.Invoke(ctx, "/emissions.v7.QueryService/GetWorkerForecastScoresAtBlock", in, out, opts...) + err := c.cc.Invoke(ctx, "/emissions.v8.QueryService/GetWorkerForecastScoresAtBlock", in, out, opts...) if err != nil { return nil, err } @@ -11633,7 +11913,7 @@ func (c *queryServiceClient) GetWorkerForecastScoresAtBlock(ctx context.Context, func (c *queryServiceClient) GetCurrentLowestForecasterScore(ctx context.Context, in *GetCurrentLowestForecasterScoreRequest, opts ...grpc.CallOption) (*GetCurrentLowestForecasterScoreResponse, error) { out := new(GetCurrentLowestForecasterScoreResponse) - err := c.cc.Invoke(ctx, "/emissions.v7.QueryService/GetCurrentLowestForecasterScore", in, out, opts...) + err := c.cc.Invoke(ctx, "/emissions.v8.QueryService/GetCurrentLowestForecasterScore", in, out, opts...) if err != nil { return nil, err } @@ -11642,7 +11922,7 @@ func (c *queryServiceClient) GetCurrentLowestForecasterScore(ctx context.Context func (c *queryServiceClient) GetReputersScoresAtBlock(ctx context.Context, in *GetReputersScoresAtBlockRequest, opts ...grpc.CallOption) (*GetReputersScoresAtBlockResponse, error) { out := new(GetReputersScoresAtBlockResponse) - err := c.cc.Invoke(ctx, "/emissions.v7.QueryService/GetReputersScoresAtBlock", in, out, opts...) + err := c.cc.Invoke(ctx, "/emissions.v8.QueryService/GetReputersScoresAtBlock", in, out, opts...) if err != nil { return nil, err } @@ -11651,7 +11931,7 @@ func (c *queryServiceClient) GetReputersScoresAtBlock(ctx context.Context, in *G func (c *queryServiceClient) GetCurrentLowestReputerScore(ctx context.Context, in *GetCurrentLowestReputerScoreRequest, opts ...grpc.CallOption) (*GetCurrentLowestReputerScoreResponse, error) { out := new(GetCurrentLowestReputerScoreResponse) - err := c.cc.Invoke(ctx, "/emissions.v7.QueryService/GetCurrentLowestReputerScore", in, out, opts...) + err := c.cc.Invoke(ctx, "/emissions.v8.QueryService/GetCurrentLowestReputerScore", in, out, opts...) if err != nil { return nil, err } @@ -11660,7 +11940,7 @@ func (c *queryServiceClient) GetCurrentLowestReputerScore(ctx context.Context, i func (c *queryServiceClient) GetListeningCoefficient(ctx context.Context, in *GetListeningCoefficientRequest, opts ...grpc.CallOption) (*GetListeningCoefficientResponse, error) { out := new(GetListeningCoefficientResponse) - err := c.cc.Invoke(ctx, "/emissions.v7.QueryService/GetListeningCoefficient", in, out, opts...) + err := c.cc.Invoke(ctx, "/emissions.v8.QueryService/GetListeningCoefficient", in, out, opts...) if err != nil { return nil, err } @@ -11669,7 +11949,7 @@ func (c *queryServiceClient) GetListeningCoefficient(ctx context.Context, in *Ge func (c *queryServiceClient) GetPreviousReputerRewardFraction(ctx context.Context, in *GetPreviousReputerRewardFractionRequest, opts ...grpc.CallOption) (*GetPreviousReputerRewardFractionResponse, error) { out := new(GetPreviousReputerRewardFractionResponse) - err := c.cc.Invoke(ctx, "/emissions.v7.QueryService/GetPreviousReputerRewardFraction", in, out, opts...) + err := c.cc.Invoke(ctx, "/emissions.v8.QueryService/GetPreviousReputerRewardFraction", in, out, opts...) if err != nil { return nil, err } @@ -11678,7 +11958,7 @@ func (c *queryServiceClient) GetPreviousReputerRewardFraction(ctx context.Contex func (c *queryServiceClient) GetPreviousInferenceRewardFraction(ctx context.Context, in *GetPreviousInferenceRewardFractionRequest, opts ...grpc.CallOption) (*GetPreviousInferenceRewardFractionResponse, error) { out := new(GetPreviousInferenceRewardFractionResponse) - err := c.cc.Invoke(ctx, "/emissions.v7.QueryService/GetPreviousInferenceRewardFraction", in, out, opts...) + err := c.cc.Invoke(ctx, "/emissions.v8.QueryService/GetPreviousInferenceRewardFraction", in, out, opts...) if err != nil { return nil, err } @@ -11687,7 +11967,7 @@ func (c *queryServiceClient) GetPreviousInferenceRewardFraction(ctx context.Cont func (c *queryServiceClient) GetPreviousForecastRewardFraction(ctx context.Context, in *GetPreviousForecastRewardFractionRequest, opts ...grpc.CallOption) (*GetPreviousForecastRewardFractionResponse, error) { out := new(GetPreviousForecastRewardFractionResponse) - err := c.cc.Invoke(ctx, "/emissions.v7.QueryService/GetPreviousForecastRewardFraction", in, out, opts...) + err := c.cc.Invoke(ctx, "/emissions.v8.QueryService/GetPreviousForecastRewardFraction", in, out, opts...) if err != nil { return nil, err } @@ -11696,7 +11976,7 @@ func (c *queryServiceClient) GetPreviousForecastRewardFraction(ctx context.Conte func (c *queryServiceClient) GetPreviousPercentageRewardToStakedReputers(ctx context.Context, in *GetPreviousPercentageRewardToStakedReputersRequest, opts ...grpc.CallOption) (*GetPreviousPercentageRewardToStakedReputersResponse, error) { out := new(GetPreviousPercentageRewardToStakedReputersResponse) - err := c.cc.Invoke(ctx, "/emissions.v7.QueryService/GetPreviousPercentageRewardToStakedReputers", in, out, opts...) + err := c.cc.Invoke(ctx, "/emissions.v8.QueryService/GetPreviousPercentageRewardToStakedReputers", in, out, opts...) if err != nil { return nil, err } @@ -11705,7 +11985,7 @@ func (c *queryServiceClient) GetPreviousPercentageRewardToStakedReputers(ctx con func (c *queryServiceClient) GetTotalRewardToDistribute(ctx context.Context, in *GetTotalRewardToDistributeRequest, opts ...grpc.CallOption) (*GetTotalRewardToDistributeResponse, error) { out := new(GetTotalRewardToDistributeResponse) - err := c.cc.Invoke(ctx, "/emissions.v7.QueryService/GetTotalRewardToDistribute", in, out, opts...) + err := c.cc.Invoke(ctx, "/emissions.v8.QueryService/GetTotalRewardToDistribute", in, out, opts...) if err != nil { return nil, err } @@ -11714,7 +11994,7 @@ func (c *queryServiceClient) GetTotalRewardToDistribute(ctx context.Context, in func (c *queryServiceClient) GetNaiveInfererNetworkRegret(ctx context.Context, in *GetNaiveInfererNetworkRegretRequest, opts ...grpc.CallOption) (*GetNaiveInfererNetworkRegretResponse, error) { out := new(GetNaiveInfererNetworkRegretResponse) - err := c.cc.Invoke(ctx, "/emissions.v7.QueryService/GetNaiveInfererNetworkRegret", in, out, opts...) + err := c.cc.Invoke(ctx, "/emissions.v8.QueryService/GetNaiveInfererNetworkRegret", in, out, opts...) if err != nil { return nil, err } @@ -11723,7 +12003,7 @@ func (c *queryServiceClient) GetNaiveInfererNetworkRegret(ctx context.Context, i func (c *queryServiceClient) GetOneOutInfererInfererNetworkRegret(ctx context.Context, in *GetOneOutInfererInfererNetworkRegretRequest, opts ...grpc.CallOption) (*GetOneOutInfererInfererNetworkRegretResponse, error) { out := new(GetOneOutInfererInfererNetworkRegretResponse) - err := c.cc.Invoke(ctx, "/emissions.v7.QueryService/GetOneOutInfererInfererNetworkRegret", in, out, opts...) + err := c.cc.Invoke(ctx, "/emissions.v8.QueryService/GetOneOutInfererInfererNetworkRegret", in, out, opts...) if err != nil { return nil, err } @@ -11732,7 +12012,7 @@ func (c *queryServiceClient) GetOneOutInfererInfererNetworkRegret(ctx context.Co func (c *queryServiceClient) GetOneOutInfererForecasterNetworkRegret(ctx context.Context, in *GetOneOutInfererForecasterNetworkRegretRequest, opts ...grpc.CallOption) (*GetOneOutInfererForecasterNetworkRegretResponse, error) { out := new(GetOneOutInfererForecasterNetworkRegretResponse) - err := c.cc.Invoke(ctx, "/emissions.v7.QueryService/GetOneOutInfererForecasterNetworkRegret", in, out, opts...) + err := c.cc.Invoke(ctx, "/emissions.v8.QueryService/GetOneOutInfererForecasterNetworkRegret", in, out, opts...) if err != nil { return nil, err } @@ -11741,7 +12021,7 @@ func (c *queryServiceClient) GetOneOutInfererForecasterNetworkRegret(ctx context func (c *queryServiceClient) GetOneOutForecasterInfererNetworkRegret(ctx context.Context, in *GetOneOutForecasterInfererNetworkRegretRequest, opts ...grpc.CallOption) (*GetOneOutForecasterInfererNetworkRegretResponse, error) { out := new(GetOneOutForecasterInfererNetworkRegretResponse) - err := c.cc.Invoke(ctx, "/emissions.v7.QueryService/GetOneOutForecasterInfererNetworkRegret", in, out, opts...) + err := c.cc.Invoke(ctx, "/emissions.v8.QueryService/GetOneOutForecasterInfererNetworkRegret", in, out, opts...) if err != nil { return nil, err } @@ -11750,7 +12030,7 @@ func (c *queryServiceClient) GetOneOutForecasterInfererNetworkRegret(ctx context func (c *queryServiceClient) GetOneOutForecasterForecasterNetworkRegret(ctx context.Context, in *GetOneOutForecasterForecasterNetworkRegretRequest, opts ...grpc.CallOption) (*GetOneOutForecasterForecasterNetworkRegretResponse, error) { out := new(GetOneOutForecasterForecasterNetworkRegretResponse) - err := c.cc.Invoke(ctx, "/emissions.v7.QueryService/GetOneOutForecasterForecasterNetworkRegret", in, out, opts...) + err := c.cc.Invoke(ctx, "/emissions.v8.QueryService/GetOneOutForecasterForecasterNetworkRegret", in, out, opts...) if err != nil { return nil, err } @@ -11759,7 +12039,7 @@ func (c *queryServiceClient) GetOneOutForecasterForecasterNetworkRegret(ctx cont func (c *queryServiceClient) GetActiveTopicsAtBlock(ctx context.Context, in *GetActiveTopicsAtBlockRequest, opts ...grpc.CallOption) (*GetActiveTopicsAtBlockResponse, error) { out := new(GetActiveTopicsAtBlockResponse) - err := c.cc.Invoke(ctx, "/emissions.v7.QueryService/GetActiveTopicsAtBlock", in, out, opts...) + err := c.cc.Invoke(ctx, "/emissions.v8.QueryService/GetActiveTopicsAtBlock", in, out, opts...) if err != nil { return nil, err } @@ -11768,7 +12048,7 @@ func (c *queryServiceClient) GetActiveTopicsAtBlock(ctx context.Context, in *Get func (c *queryServiceClient) GetNextChurningBlockByTopicId(ctx context.Context, in *GetNextChurningBlockByTopicIdRequest, opts ...grpc.CallOption) (*GetNextChurningBlockByTopicIdResponse, error) { out := new(GetNextChurningBlockByTopicIdResponse) - err := c.cc.Invoke(ctx, "/emissions.v7.QueryService/GetNextChurningBlockByTopicId", in, out, opts...) + err := c.cc.Invoke(ctx, "/emissions.v8.QueryService/GetNextChurningBlockByTopicId", in, out, opts...) if err != nil { return nil, err } @@ -11777,7 +12057,7 @@ func (c *queryServiceClient) GetNextChurningBlockByTopicId(ctx context.Context, func (c *queryServiceClient) GetCountInfererInclusionsInTopic(ctx context.Context, in *GetCountInfererInclusionsInTopicRequest, opts ...grpc.CallOption) (*GetCountInfererInclusionsInTopicResponse, error) { out := new(GetCountInfererInclusionsInTopicResponse) - err := c.cc.Invoke(ctx, "/emissions.v7.QueryService/GetCountInfererInclusionsInTopic", in, out, opts...) + err := c.cc.Invoke(ctx, "/emissions.v8.QueryService/GetCountInfererInclusionsInTopic", in, out, opts...) if err != nil { return nil, err } @@ -11786,7 +12066,7 @@ func (c *queryServiceClient) GetCountInfererInclusionsInTopic(ctx context.Contex func (c *queryServiceClient) GetCountForecasterInclusionsInTopic(ctx context.Context, in *GetCountForecasterInclusionsInTopicRequest, opts ...grpc.CallOption) (*GetCountForecasterInclusionsInTopicResponse, error) { out := new(GetCountForecasterInclusionsInTopicResponse) - err := c.cc.Invoke(ctx, "/emissions.v7.QueryService/GetCountForecasterInclusionsInTopic", in, out, opts...) + err := c.cc.Invoke(ctx, "/emissions.v8.QueryService/GetCountForecasterInclusionsInTopic", in, out, opts...) if err != nil { return nil, err } @@ -11795,7 +12075,7 @@ func (c *queryServiceClient) GetCountForecasterInclusionsInTopic(ctx context.Con func (c *queryServiceClient) GetActiveReputersForTopic(ctx context.Context, in *GetActiveReputersForTopicRequest, opts ...grpc.CallOption) (*GetActiveReputersForTopicResponse, error) { out := new(GetActiveReputersForTopicResponse) - err := c.cc.Invoke(ctx, "/emissions.v7.QueryService/GetActiveReputersForTopic", in, out, opts...) + err := c.cc.Invoke(ctx, "/emissions.v8.QueryService/GetActiveReputersForTopic", in, out, opts...) if err != nil { return nil, err } @@ -11804,7 +12084,7 @@ func (c *queryServiceClient) GetActiveReputersForTopic(ctx context.Context, in * func (c *queryServiceClient) GetActiveForecastersForTopic(ctx context.Context, in *GetActiveForecastersForTopicRequest, opts ...grpc.CallOption) (*GetActiveForecastersForTopicResponse, error) { out := new(GetActiveForecastersForTopicResponse) - err := c.cc.Invoke(ctx, "/emissions.v7.QueryService/GetActiveForecastersForTopic", in, out, opts...) + err := c.cc.Invoke(ctx, "/emissions.v8.QueryService/GetActiveForecastersForTopic", in, out, opts...) if err != nil { return nil, err } @@ -11813,7 +12093,7 @@ func (c *queryServiceClient) GetActiveForecastersForTopic(ctx context.Context, i func (c *queryServiceClient) GetActiveInferersForTopic(ctx context.Context, in *GetActiveInferersForTopicRequest, opts ...grpc.CallOption) (*GetActiveInferersForTopicResponse, error) { out := new(GetActiveInferersForTopicResponse) - err := c.cc.Invoke(ctx, "/emissions.v7.QueryService/GetActiveInferersForTopic", in, out, opts...) + err := c.cc.Invoke(ctx, "/emissions.v8.QueryService/GetActiveInferersForTopic", in, out, opts...) if err != nil { return nil, err } @@ -11822,7 +12102,7 @@ func (c *queryServiceClient) GetActiveInferersForTopic(ctx context.Context, in * func (c *queryServiceClient) IsWhitelistedGlobalWorker(ctx context.Context, in *IsWhitelistedGlobalWorkerRequest, opts ...grpc.CallOption) (*IsWhitelistedGlobalWorkerResponse, error) { out := new(IsWhitelistedGlobalWorkerResponse) - err := c.cc.Invoke(ctx, "/emissions.v7.QueryService/IsWhitelistedGlobalWorker", in, out, opts...) + err := c.cc.Invoke(ctx, "/emissions.v8.QueryService/IsWhitelistedGlobalWorker", in, out, opts...) if err != nil { return nil, err } @@ -11831,7 +12111,7 @@ func (c *queryServiceClient) IsWhitelistedGlobalWorker(ctx context.Context, in * func (c *queryServiceClient) IsWhitelistedGlobalReputer(ctx context.Context, in *IsWhitelistedGlobalReputerRequest, opts ...grpc.CallOption) (*IsWhitelistedGlobalReputerResponse, error) { out := new(IsWhitelistedGlobalReputerResponse) - err := c.cc.Invoke(ctx, "/emissions.v7.QueryService/IsWhitelistedGlobalReputer", in, out, opts...) + err := c.cc.Invoke(ctx, "/emissions.v8.QueryService/IsWhitelistedGlobalReputer", in, out, opts...) if err != nil { return nil, err } @@ -11840,7 +12120,7 @@ func (c *queryServiceClient) IsWhitelistedGlobalReputer(ctx context.Context, in func (c *queryServiceClient) IsWhitelistedGlobalAdmin(ctx context.Context, in *IsWhitelistedGlobalAdminRequest, opts ...grpc.CallOption) (*IsWhitelistedGlobalAdminResponse, error) { out := new(IsWhitelistedGlobalAdminResponse) - err := c.cc.Invoke(ctx, "/emissions.v7.QueryService/IsWhitelistedGlobalAdmin", in, out, opts...) + err := c.cc.Invoke(ctx, "/emissions.v8.QueryService/IsWhitelistedGlobalAdmin", in, out, opts...) if err != nil { return nil, err } @@ -11849,7 +12129,7 @@ func (c *queryServiceClient) IsWhitelistedGlobalAdmin(ctx context.Context, in *I func (c *queryServiceClient) IsTopicWorkerWhitelistEnabled(ctx context.Context, in *IsTopicWorkerWhitelistEnabledRequest, opts ...grpc.CallOption) (*IsTopicWorkerWhitelistEnabledResponse, error) { out := new(IsTopicWorkerWhitelistEnabledResponse) - err := c.cc.Invoke(ctx, "/emissions.v7.QueryService/IsTopicWorkerWhitelistEnabled", in, out, opts...) + err := c.cc.Invoke(ctx, "/emissions.v8.QueryService/IsTopicWorkerWhitelistEnabled", in, out, opts...) if err != nil { return nil, err } @@ -11858,7 +12138,7 @@ func (c *queryServiceClient) IsTopicWorkerWhitelistEnabled(ctx context.Context, func (c *queryServiceClient) IsTopicReputerWhitelistEnabled(ctx context.Context, in *IsTopicReputerWhitelistEnabledRequest, opts ...grpc.CallOption) (*IsTopicReputerWhitelistEnabledResponse, error) { out := new(IsTopicReputerWhitelistEnabledResponse) - err := c.cc.Invoke(ctx, "/emissions.v7.QueryService/IsTopicReputerWhitelistEnabled", in, out, opts...) + err := c.cc.Invoke(ctx, "/emissions.v8.QueryService/IsTopicReputerWhitelistEnabled", in, out, opts...) if err != nil { return nil, err } @@ -11867,7 +12147,7 @@ func (c *queryServiceClient) IsTopicReputerWhitelistEnabled(ctx context.Context, func (c *queryServiceClient) IsWhitelistedTopicCreator(ctx context.Context, in *IsWhitelistedTopicCreatorRequest, opts ...grpc.CallOption) (*IsWhitelistedTopicCreatorResponse, error) { out := new(IsWhitelistedTopicCreatorResponse) - err := c.cc.Invoke(ctx, "/emissions.v7.QueryService/IsWhitelistedTopicCreator", in, out, opts...) + err := c.cc.Invoke(ctx, "/emissions.v8.QueryService/IsWhitelistedTopicCreator", in, out, opts...) if err != nil { return nil, err } @@ -11876,7 +12156,7 @@ func (c *queryServiceClient) IsWhitelistedTopicCreator(ctx context.Context, in * func (c *queryServiceClient) IsWhitelistedGlobalActor(ctx context.Context, in *IsWhitelistedGlobalActorRequest, opts ...grpc.CallOption) (*IsWhitelistedGlobalActorResponse, error) { out := new(IsWhitelistedGlobalActorResponse) - err := c.cc.Invoke(ctx, "/emissions.v7.QueryService/IsWhitelistedGlobalActor", in, out, opts...) + err := c.cc.Invoke(ctx, "/emissions.v8.QueryService/IsWhitelistedGlobalActor", in, out, opts...) if err != nil { return nil, err } @@ -11885,7 +12165,7 @@ func (c *queryServiceClient) IsWhitelistedGlobalActor(ctx context.Context, in *I func (c *queryServiceClient) IsWhitelistedTopicWorker(ctx context.Context, in *IsWhitelistedTopicWorkerRequest, opts ...grpc.CallOption) (*IsWhitelistedTopicWorkerResponse, error) { out := new(IsWhitelistedTopicWorkerResponse) - err := c.cc.Invoke(ctx, "/emissions.v7.QueryService/IsWhitelistedTopicWorker", in, out, opts...) + err := c.cc.Invoke(ctx, "/emissions.v8.QueryService/IsWhitelistedTopicWorker", in, out, opts...) if err != nil { return nil, err } @@ -11894,7 +12174,7 @@ func (c *queryServiceClient) IsWhitelistedTopicWorker(ctx context.Context, in *I func (c *queryServiceClient) IsWhitelistedTopicReputer(ctx context.Context, in *IsWhitelistedTopicReputerRequest, opts ...grpc.CallOption) (*IsWhitelistedTopicReputerResponse, error) { out := new(IsWhitelistedTopicReputerResponse) - err := c.cc.Invoke(ctx, "/emissions.v7.QueryService/IsWhitelistedTopicReputer", in, out, opts...) + err := c.cc.Invoke(ctx, "/emissions.v8.QueryService/IsWhitelistedTopicReputer", in, out, opts...) if err != nil { return nil, err } @@ -11903,7 +12183,7 @@ func (c *queryServiceClient) IsWhitelistedTopicReputer(ctx context.Context, in * func (c *queryServiceClient) CanUpdateAllGlobalWhitelists(ctx context.Context, in *CanUpdateAllGlobalWhitelistsRequest, opts ...grpc.CallOption) (*CanUpdateAllGlobalWhitelistsResponse, error) { out := new(CanUpdateAllGlobalWhitelistsResponse) - err := c.cc.Invoke(ctx, "/emissions.v7.QueryService/CanUpdateAllGlobalWhitelists", in, out, opts...) + err := c.cc.Invoke(ctx, "/emissions.v8.QueryService/CanUpdateAllGlobalWhitelists", in, out, opts...) if err != nil { return nil, err } @@ -11912,7 +12192,7 @@ func (c *queryServiceClient) CanUpdateAllGlobalWhitelists(ctx context.Context, i func (c *queryServiceClient) CanUpdateGlobalWorkerWhitelist(ctx context.Context, in *CanUpdateGlobalWorkerWhitelistRequest, opts ...grpc.CallOption) (*CanUpdateGlobalWorkerWhitelistResponse, error) { out := new(CanUpdateGlobalWorkerWhitelistResponse) - err := c.cc.Invoke(ctx, "/emissions.v7.QueryService/CanUpdateGlobalWorkerWhitelist", in, out, opts...) + err := c.cc.Invoke(ctx, "/emissions.v8.QueryService/CanUpdateGlobalWorkerWhitelist", in, out, opts...) if err != nil { return nil, err } @@ -11921,7 +12201,7 @@ func (c *queryServiceClient) CanUpdateGlobalWorkerWhitelist(ctx context.Context, func (c *queryServiceClient) CanUpdateGlobalReputerWhitelist(ctx context.Context, in *CanUpdateGlobalReputerWhitelistRequest, opts ...grpc.CallOption) (*CanUpdateGlobalReputerWhitelistResponse, error) { out := new(CanUpdateGlobalReputerWhitelistResponse) - err := c.cc.Invoke(ctx, "/emissions.v7.QueryService/CanUpdateGlobalReputerWhitelist", in, out, opts...) + err := c.cc.Invoke(ctx, "/emissions.v8.QueryService/CanUpdateGlobalReputerWhitelist", in, out, opts...) if err != nil { return nil, err } @@ -11930,7 +12210,7 @@ func (c *queryServiceClient) CanUpdateGlobalReputerWhitelist(ctx context.Context func (c *queryServiceClient) CanUpdateParams(ctx context.Context, in *CanUpdateParamsRequest, opts ...grpc.CallOption) (*CanUpdateParamsResponse, error) { out := new(CanUpdateParamsResponse) - err := c.cc.Invoke(ctx, "/emissions.v7.QueryService/CanUpdateParams", in, out, opts...) + err := c.cc.Invoke(ctx, "/emissions.v8.QueryService/CanUpdateParams", in, out, opts...) if err != nil { return nil, err } @@ -11939,7 +12219,7 @@ func (c *queryServiceClient) CanUpdateParams(ctx context.Context, in *CanUpdateP func (c *queryServiceClient) CanUpdateTopicWhitelist(ctx context.Context, in *CanUpdateTopicWhitelistRequest, opts ...grpc.CallOption) (*CanUpdateTopicWhitelistResponse, error) { out := new(CanUpdateTopicWhitelistResponse) - err := c.cc.Invoke(ctx, "/emissions.v7.QueryService/CanUpdateTopicWhitelist", in, out, opts...) + err := c.cc.Invoke(ctx, "/emissions.v8.QueryService/CanUpdateTopicWhitelist", in, out, opts...) if err != nil { return nil, err } @@ -11948,7 +12228,7 @@ func (c *queryServiceClient) CanUpdateTopicWhitelist(ctx context.Context, in *Ca func (c *queryServiceClient) CanCreateTopic(ctx context.Context, in *CanCreateTopicRequest, opts ...grpc.CallOption) (*CanCreateTopicResponse, error) { out := new(CanCreateTopicResponse) - err := c.cc.Invoke(ctx, "/emissions.v7.QueryService/CanCreateTopic", in, out, opts...) + err := c.cc.Invoke(ctx, "/emissions.v8.QueryService/CanCreateTopic", in, out, opts...) if err != nil { return nil, err } @@ -11957,7 +12237,7 @@ func (c *queryServiceClient) CanCreateTopic(ctx context.Context, in *CanCreateTo func (c *queryServiceClient) CanSubmitWorkerPayload(ctx context.Context, in *CanSubmitWorkerPayloadRequest, opts ...grpc.CallOption) (*CanSubmitWorkerPayloadResponse, error) { out := new(CanSubmitWorkerPayloadResponse) - err := c.cc.Invoke(ctx, "/emissions.v7.QueryService/CanSubmitWorkerPayload", in, out, opts...) + err := c.cc.Invoke(ctx, "/emissions.v8.QueryService/CanSubmitWorkerPayload", in, out, opts...) if err != nil { return nil, err } @@ -11966,7 +12246,7 @@ func (c *queryServiceClient) CanSubmitWorkerPayload(ctx context.Context, in *Can func (c *queryServiceClient) CanSubmitReputerPayload(ctx context.Context, in *CanSubmitReputerPayloadRequest, opts ...grpc.CallOption) (*CanSubmitReputerPayloadResponse, error) { out := new(CanSubmitReputerPayloadResponse) - err := c.cc.Invoke(ctx, "/emissions.v7.QueryService/CanSubmitReputerPayload", in, out, opts...) + err := c.cc.Invoke(ctx, "/emissions.v8.QueryService/CanSubmitReputerPayload", in, out, opts...) if err != nil { return nil, err } @@ -11975,7 +12255,7 @@ func (c *queryServiceClient) CanSubmitReputerPayload(ctx context.Context, in *Ca func (c *queryServiceClient) GetTopicInitialInfererEmaScore(ctx context.Context, in *GetTopicInitialInfererEmaScoreRequest, opts ...grpc.CallOption) (*GetTopicInitialInfererEmaScoreResponse, error) { out := new(GetTopicInitialInfererEmaScoreResponse) - err := c.cc.Invoke(ctx, "/emissions.v7.QueryService/GetTopicInitialInfererEmaScore", in, out, opts...) + err := c.cc.Invoke(ctx, "/emissions.v8.QueryService/GetTopicInitialInfererEmaScore", in, out, opts...) if err != nil { return nil, err } @@ -11984,7 +12264,7 @@ func (c *queryServiceClient) GetTopicInitialInfererEmaScore(ctx context.Context, func (c *queryServiceClient) GetTopicInitialForecasterEmaScore(ctx context.Context, in *GetTopicInitialForecasterEmaScoreRequest, opts ...grpc.CallOption) (*GetTopicInitialForecasterEmaScoreResponse, error) { out := new(GetTopicInitialForecasterEmaScoreResponse) - err := c.cc.Invoke(ctx, "/emissions.v7.QueryService/GetTopicInitialForecasterEmaScore", in, out, opts...) + err := c.cc.Invoke(ctx, "/emissions.v8.QueryService/GetTopicInitialForecasterEmaScore", in, out, opts...) if err != nil { return nil, err } @@ -11993,7 +12273,34 @@ func (c *queryServiceClient) GetTopicInitialForecasterEmaScore(ctx context.Conte func (c *queryServiceClient) GetTopicInitialReputerEmaScore(ctx context.Context, in *GetTopicInitialReputerEmaScoreRequest, opts ...grpc.CallOption) (*GetTopicInitialReputerEmaScoreResponse, error) { out := new(GetTopicInitialReputerEmaScoreResponse) - err := c.cc.Invoke(ctx, "/emissions.v7.QueryService/GetTopicInitialReputerEmaScore", in, out, opts...) + err := c.cc.Invoke(ctx, "/emissions.v8.QueryService/GetTopicInitialReputerEmaScore", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *queryServiceClient) GetLatestRegretStdNorm(ctx context.Context, in *GetLatestRegretStdNormRequest, opts ...grpc.CallOption) (*GetLatestRegretStdNormResponse, error) { + out := new(GetLatestRegretStdNormResponse) + err := c.cc.Invoke(ctx, "/emissions.v8.QueryService/GetLatestRegretStdNorm", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *queryServiceClient) GetLatestInfererWeight(ctx context.Context, in *GetLatestInfererWeightRequest, opts ...grpc.CallOption) (*GetLatestInfererWeightResponse, error) { + out := new(GetLatestInfererWeightResponse) + err := c.cc.Invoke(ctx, "/emissions.v8.QueryService/GetLatestInfererWeight", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *queryServiceClient) GetLatestForecasterWeight(ctx context.Context, in *GetLatestForecasterWeightRequest, opts ...grpc.CallOption) (*GetLatestForecasterWeightResponse, error) { + out := new(GetLatestForecasterWeightResponse) + err := c.cc.Invoke(ctx, "/emissions.v8.QueryService/GetLatestForecasterWeight", in, out, opts...) if err != nil { return nil, err } @@ -12111,6 +12418,12 @@ type QueryServiceServer interface { GetTopicInitialForecasterEmaScore(context.Context, *GetTopicInitialForecasterEmaScoreRequest) (*GetTopicInitialForecasterEmaScoreResponse, error) // GetTopicInitialReputerEmaScore returns the initial EMA score for reputers in a topic GetTopicInitialReputerEmaScore(context.Context, *GetTopicInitialReputerEmaScoreRequest) (*GetTopicInitialReputerEmaScoreResponse, error) + // Get latest regret stdnorm for a topic + GetLatestRegretStdNorm(context.Context, *GetLatestRegretStdNormRequest) (*GetLatestRegretStdNormResponse, error) + // Get latest inferer weight for a topic and actor + GetLatestInfererWeight(context.Context, *GetLatestInfererWeightRequest) (*GetLatestInfererWeightResponse, error) + // Get latest forecaster weight for a topic and actor + GetLatestForecasterWeight(context.Context, *GetLatestForecasterWeightRequest) (*GetLatestForecasterWeightResponse, error) } // UnimplementedQueryServiceServer can be embedded to have forward compatible implementations. @@ -12432,6 +12745,15 @@ func (*UnimplementedQueryServiceServer) GetTopicInitialForecasterEmaScore(ctx co func (*UnimplementedQueryServiceServer) GetTopicInitialReputerEmaScore(ctx context.Context, req *GetTopicInitialReputerEmaScoreRequest) (*GetTopicInitialReputerEmaScoreResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method GetTopicInitialReputerEmaScore not implemented") } +func (*UnimplementedQueryServiceServer) GetLatestRegretStdNorm(ctx context.Context, req *GetLatestRegretStdNormRequest) (*GetLatestRegretStdNormResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetLatestRegretStdNorm not implemented") +} +func (*UnimplementedQueryServiceServer) GetLatestInfererWeight(ctx context.Context, req *GetLatestInfererWeightRequest) (*GetLatestInfererWeightResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetLatestInfererWeight not implemented") +} +func (*UnimplementedQueryServiceServer) GetLatestForecasterWeight(ctx context.Context, req *GetLatestForecasterWeightRequest) (*GetLatestForecasterWeightResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetLatestForecasterWeight not implemented") +} func RegisterQueryServiceServer(s grpc1.Server, srv QueryServiceServer) { s.RegisterService(&_QueryService_serviceDesc, srv) @@ -12447,7 +12769,7 @@ func _QueryService_GetParams_Handler(srv interface{}, ctx context.Context, dec f } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/emissions.v7.QueryService/GetParams", + FullMethod: "/emissions.v8.QueryService/GetParams", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(QueryServiceServer).GetParams(ctx, req.(*GetParamsRequest)) @@ -12465,7 +12787,7 @@ func _QueryService_GetNextTopicId_Handler(srv interface{}, ctx context.Context, } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/emissions.v7.QueryService/GetNextTopicId", + FullMethod: "/emissions.v8.QueryService/GetNextTopicId", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(QueryServiceServer).GetNextTopicId(ctx, req.(*GetNextTopicIdRequest)) @@ -12483,7 +12805,7 @@ func _QueryService_GetTopic_Handler(srv interface{}, ctx context.Context, dec fu } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/emissions.v7.QueryService/GetTopic", + FullMethod: "/emissions.v8.QueryService/GetTopic", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(QueryServiceServer).GetTopic(ctx, req.(*GetTopicRequest)) @@ -12501,7 +12823,7 @@ func _QueryService_GetWorkerLatestInferenceByTopicId_Handler(srv interface{}, ct } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/emissions.v7.QueryService/GetWorkerLatestInferenceByTopicId", + FullMethod: "/emissions.v8.QueryService/GetWorkerLatestInferenceByTopicId", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(QueryServiceServer).GetWorkerLatestInferenceByTopicId(ctx, req.(*GetWorkerLatestInferenceByTopicIdRequest)) @@ -12519,7 +12841,7 @@ func _QueryService_GetInferencesAtBlock_Handler(srv interface{}, ctx context.Con } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/emissions.v7.QueryService/GetInferencesAtBlock", + FullMethod: "/emissions.v8.QueryService/GetInferencesAtBlock", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(QueryServiceServer).GetInferencesAtBlock(ctx, req.(*GetInferencesAtBlockRequest)) @@ -12537,7 +12859,7 @@ func _QueryService_GetLatestTopicInferences_Handler(srv interface{}, ctx context } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/emissions.v7.QueryService/GetLatestTopicInferences", + FullMethod: "/emissions.v8.QueryService/GetLatestTopicInferences", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(QueryServiceServer).GetLatestTopicInferences(ctx, req.(*GetLatestTopicInferencesRequest)) @@ -12555,7 +12877,7 @@ func _QueryService_GetForecastsAtBlock_Handler(srv interface{}, ctx context.Cont } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/emissions.v7.QueryService/GetForecastsAtBlock", + FullMethod: "/emissions.v8.QueryService/GetForecastsAtBlock", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(QueryServiceServer).GetForecastsAtBlock(ctx, req.(*GetForecastsAtBlockRequest)) @@ -12573,7 +12895,7 @@ func _QueryService_GetNetworkLossBundleAtBlock_Handler(srv interface{}, ctx cont } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/emissions.v7.QueryService/GetNetworkLossBundleAtBlock", + FullMethod: "/emissions.v8.QueryService/GetNetworkLossBundleAtBlock", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(QueryServiceServer).GetNetworkLossBundleAtBlock(ctx, req.(*GetNetworkLossBundleAtBlockRequest)) @@ -12591,7 +12913,7 @@ func _QueryService_GetTotalStake_Handler(srv interface{}, ctx context.Context, d } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/emissions.v7.QueryService/GetTotalStake", + FullMethod: "/emissions.v8.QueryService/GetTotalStake", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(QueryServiceServer).GetTotalStake(ctx, req.(*GetTotalStakeRequest)) @@ -12609,7 +12931,7 @@ func _QueryService_GetReputerStakeInTopic_Handler(srv interface{}, ctx context.C } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/emissions.v7.QueryService/GetReputerStakeInTopic", + FullMethod: "/emissions.v8.QueryService/GetReputerStakeInTopic", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(QueryServiceServer).GetReputerStakeInTopic(ctx, req.(*GetReputerStakeInTopicRequest)) @@ -12627,7 +12949,7 @@ func _QueryService_GetMultiReputerStakeInTopic_Handler(srv interface{}, ctx cont } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/emissions.v7.QueryService/GetMultiReputerStakeInTopic", + FullMethod: "/emissions.v8.QueryService/GetMultiReputerStakeInTopic", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(QueryServiceServer).GetMultiReputerStakeInTopic(ctx, req.(*GetMultiReputerStakeInTopicRequest)) @@ -12645,7 +12967,7 @@ func _QueryService_GetStakeFromReputerInTopicInSelf_Handler(srv interface{}, ctx } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/emissions.v7.QueryService/GetStakeFromReputerInTopicInSelf", + FullMethod: "/emissions.v8.QueryService/GetStakeFromReputerInTopicInSelf", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(QueryServiceServer).GetStakeFromReputerInTopicInSelf(ctx, req.(*GetStakeFromReputerInTopicInSelfRequest)) @@ -12663,7 +12985,7 @@ func _QueryService_GetDelegateStakeInTopicInReputer_Handler(srv interface{}, ctx } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/emissions.v7.QueryService/GetDelegateStakeInTopicInReputer", + FullMethod: "/emissions.v8.QueryService/GetDelegateStakeInTopicInReputer", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(QueryServiceServer).GetDelegateStakeInTopicInReputer(ctx, req.(*GetDelegateStakeInTopicInReputerRequest)) @@ -12681,7 +13003,7 @@ func _QueryService_GetStakeFromDelegatorInTopicInReputer_Handler(srv interface{} } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/emissions.v7.QueryService/GetStakeFromDelegatorInTopicInReputer", + FullMethod: "/emissions.v8.QueryService/GetStakeFromDelegatorInTopicInReputer", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(QueryServiceServer).GetStakeFromDelegatorInTopicInReputer(ctx, req.(*GetStakeFromDelegatorInTopicInReputerRequest)) @@ -12699,7 +13021,7 @@ func _QueryService_GetStakeFromDelegatorInTopic_Handler(srv interface{}, ctx con } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/emissions.v7.QueryService/GetStakeFromDelegatorInTopic", + FullMethod: "/emissions.v8.QueryService/GetStakeFromDelegatorInTopic", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(QueryServiceServer).GetStakeFromDelegatorInTopic(ctx, req.(*GetStakeFromDelegatorInTopicRequest)) @@ -12717,7 +13039,7 @@ func _QueryService_GetTopicStake_Handler(srv interface{}, ctx context.Context, d } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/emissions.v7.QueryService/GetTopicStake", + FullMethod: "/emissions.v8.QueryService/GetTopicStake", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(QueryServiceServer).GetTopicStake(ctx, req.(*GetTopicStakeRequest)) @@ -12735,7 +13057,7 @@ func _QueryService_GetStakeRemovalsUpUntilBlock_Handler(srv interface{}, ctx con } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/emissions.v7.QueryService/GetStakeRemovalsUpUntilBlock", + FullMethod: "/emissions.v8.QueryService/GetStakeRemovalsUpUntilBlock", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(QueryServiceServer).GetStakeRemovalsUpUntilBlock(ctx, req.(*GetStakeRemovalsUpUntilBlockRequest)) @@ -12753,7 +13075,7 @@ func _QueryService_GetDelegateStakeRemovalsUpUntilBlock_Handler(srv interface{}, } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/emissions.v7.QueryService/GetDelegateStakeRemovalsUpUntilBlock", + FullMethod: "/emissions.v8.QueryService/GetDelegateStakeRemovalsUpUntilBlock", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(QueryServiceServer).GetDelegateStakeRemovalsUpUntilBlock(ctx, req.(*GetDelegateStakeRemovalsUpUntilBlockRequest)) @@ -12771,7 +13093,7 @@ func _QueryService_GetStakeRemovalInfo_Handler(srv interface{}, ctx context.Cont } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/emissions.v7.QueryService/GetStakeRemovalInfo", + FullMethod: "/emissions.v8.QueryService/GetStakeRemovalInfo", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(QueryServiceServer).GetStakeRemovalInfo(ctx, req.(*GetStakeRemovalInfoRequest)) @@ -12789,7 +13111,7 @@ func _QueryService_GetDelegateStakeRemovalInfo_Handler(srv interface{}, ctx cont } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/emissions.v7.QueryService/GetDelegateStakeRemovalInfo", + FullMethod: "/emissions.v8.QueryService/GetDelegateStakeRemovalInfo", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(QueryServiceServer).GetDelegateStakeRemovalInfo(ctx, req.(*GetDelegateStakeRemovalInfoRequest)) @@ -12807,7 +13129,7 @@ func _QueryService_GetWorkerNodeInfo_Handler(srv interface{}, ctx context.Contex } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/emissions.v7.QueryService/GetWorkerNodeInfo", + FullMethod: "/emissions.v8.QueryService/GetWorkerNodeInfo", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(QueryServiceServer).GetWorkerNodeInfo(ctx, req.(*GetWorkerNodeInfoRequest)) @@ -12825,7 +13147,7 @@ func _QueryService_GetReputerNodeInfo_Handler(srv interface{}, ctx context.Conte } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/emissions.v7.QueryService/GetReputerNodeInfo", + FullMethod: "/emissions.v8.QueryService/GetReputerNodeInfo", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(QueryServiceServer).GetReputerNodeInfo(ctx, req.(*GetReputerNodeInfoRequest)) @@ -12843,7 +13165,7 @@ func _QueryService_IsWorkerRegisteredInTopicId_Handler(srv interface{}, ctx cont } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/emissions.v7.QueryService/IsWorkerRegisteredInTopicId", + FullMethod: "/emissions.v8.QueryService/IsWorkerRegisteredInTopicId", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(QueryServiceServer).IsWorkerRegisteredInTopicId(ctx, req.(*IsWorkerRegisteredInTopicIdRequest)) @@ -12861,7 +13183,7 @@ func _QueryService_IsReputerRegisteredInTopicId_Handler(srv interface{}, ctx con } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/emissions.v7.QueryService/IsReputerRegisteredInTopicId", + FullMethod: "/emissions.v8.QueryService/IsReputerRegisteredInTopicId", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(QueryServiceServer).IsReputerRegisteredInTopicId(ctx, req.(*IsReputerRegisteredInTopicIdRequest)) @@ -12879,7 +13201,7 @@ func _QueryService_GetNetworkInferencesAtBlock_Handler(srv interface{}, ctx cont } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/emissions.v7.QueryService/GetNetworkInferencesAtBlock", + FullMethod: "/emissions.v8.QueryService/GetNetworkInferencesAtBlock", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(QueryServiceServer).GetNetworkInferencesAtBlock(ctx, req.(*GetNetworkInferencesAtBlockRequest)) @@ -12897,7 +13219,7 @@ func _QueryService_GetNetworkInferencesAtBlockOutlierResistant_Handler(srv inter } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/emissions.v7.QueryService/GetNetworkInferencesAtBlockOutlierResistant", + FullMethod: "/emissions.v8.QueryService/GetNetworkInferencesAtBlockOutlierResistant", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(QueryServiceServer).GetNetworkInferencesAtBlockOutlierResistant(ctx, req.(*GetNetworkInferencesAtBlockOutlierResistantRequest)) @@ -12915,7 +13237,7 @@ func _QueryService_GetLatestNetworkInferences_Handler(srv interface{}, ctx conte } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/emissions.v7.QueryService/GetLatestNetworkInferences", + FullMethod: "/emissions.v8.QueryService/GetLatestNetworkInferences", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(QueryServiceServer).GetLatestNetworkInferences(ctx, req.(*GetLatestNetworkInferencesRequest)) @@ -12933,7 +13255,7 @@ func _QueryService_GetLatestNetworkInferencesOutlierResistant_Handler(srv interf } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/emissions.v7.QueryService/GetLatestNetworkInferencesOutlierResistant", + FullMethod: "/emissions.v8.QueryService/GetLatestNetworkInferencesOutlierResistant", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(QueryServiceServer).GetLatestNetworkInferencesOutlierResistant(ctx, req.(*GetLatestNetworkInferencesOutlierResistantRequest)) @@ -12951,7 +13273,7 @@ func _QueryService_GetLatestAvailableNetworkInferences_Handler(srv interface{}, } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/emissions.v7.QueryService/GetLatestAvailableNetworkInferences", + FullMethod: "/emissions.v8.QueryService/GetLatestAvailableNetworkInferences", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(QueryServiceServer).GetLatestAvailableNetworkInferences(ctx, req.(*GetLatestAvailableNetworkInferencesRequest)) @@ -12969,7 +13291,7 @@ func _QueryService_GetLatestAvailableNetworkInferencesOutlierResistant_Handler(s } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/emissions.v7.QueryService/GetLatestAvailableNetworkInferencesOutlierResistant", + FullMethod: "/emissions.v8.QueryService/GetLatestAvailableNetworkInferencesOutlierResistant", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(QueryServiceServer).GetLatestAvailableNetworkInferencesOutlierResistant(ctx, req.(*GetLatestAvailableNetworkInferencesOutlierResistantRequest)) @@ -12987,7 +13309,7 @@ func _QueryService_IsWorkerNonceUnfulfilled_Handler(srv interface{}, ctx context } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/emissions.v7.QueryService/IsWorkerNonceUnfulfilled", + FullMethod: "/emissions.v8.QueryService/IsWorkerNonceUnfulfilled", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(QueryServiceServer).IsWorkerNonceUnfulfilled(ctx, req.(*IsWorkerNonceUnfulfilledRequest)) @@ -13005,7 +13327,7 @@ func _QueryService_IsReputerNonceUnfulfilled_Handler(srv interface{}, ctx contex } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/emissions.v7.QueryService/IsReputerNonceUnfulfilled", + FullMethod: "/emissions.v8.QueryService/IsReputerNonceUnfulfilled", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(QueryServiceServer).IsReputerNonceUnfulfilled(ctx, req.(*IsReputerNonceUnfulfilledRequest)) @@ -13023,7 +13345,7 @@ func _QueryService_GetUnfulfilledWorkerNonces_Handler(srv interface{}, ctx conte } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/emissions.v7.QueryService/GetUnfulfilledWorkerNonces", + FullMethod: "/emissions.v8.QueryService/GetUnfulfilledWorkerNonces", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(QueryServiceServer).GetUnfulfilledWorkerNonces(ctx, req.(*GetUnfulfilledWorkerNoncesRequest)) @@ -13041,7 +13363,7 @@ func _QueryService_GetUnfulfilledReputerNonces_Handler(srv interface{}, ctx cont } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/emissions.v7.QueryService/GetUnfulfilledReputerNonces", + FullMethod: "/emissions.v8.QueryService/GetUnfulfilledReputerNonces", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(QueryServiceServer).GetUnfulfilledReputerNonces(ctx, req.(*GetUnfulfilledReputerNoncesRequest)) @@ -13059,7 +13381,7 @@ func _QueryService_GetInfererNetworkRegret_Handler(srv interface{}, ctx context. } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/emissions.v7.QueryService/GetInfererNetworkRegret", + FullMethod: "/emissions.v8.QueryService/GetInfererNetworkRegret", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(QueryServiceServer).GetInfererNetworkRegret(ctx, req.(*GetInfererNetworkRegretRequest)) @@ -13077,7 +13399,7 @@ func _QueryService_GetForecasterNetworkRegret_Handler(srv interface{}, ctx conte } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/emissions.v7.QueryService/GetForecasterNetworkRegret", + FullMethod: "/emissions.v8.QueryService/GetForecasterNetworkRegret", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(QueryServiceServer).GetForecasterNetworkRegret(ctx, req.(*GetForecasterNetworkRegretRequest)) @@ -13095,7 +13417,7 @@ func _QueryService_GetOneInForecasterNetworkRegret_Handler(srv interface{}, ctx } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/emissions.v7.QueryService/GetOneInForecasterNetworkRegret", + FullMethod: "/emissions.v8.QueryService/GetOneInForecasterNetworkRegret", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(QueryServiceServer).GetOneInForecasterNetworkRegret(ctx, req.(*GetOneInForecasterNetworkRegretRequest)) @@ -13113,7 +13435,7 @@ func _QueryService_IsWhitelistAdmin_Handler(srv interface{}, ctx context.Context } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/emissions.v7.QueryService/IsWhitelistAdmin", + FullMethod: "/emissions.v8.QueryService/IsWhitelistAdmin", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(QueryServiceServer).IsWhitelistAdmin(ctx, req.(*IsWhitelistAdminRequest)) @@ -13131,7 +13453,7 @@ func _QueryService_GetTopicLastWorkerCommitInfo_Handler(srv interface{}, ctx con } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/emissions.v7.QueryService/GetTopicLastWorkerCommitInfo", + FullMethod: "/emissions.v8.QueryService/GetTopicLastWorkerCommitInfo", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(QueryServiceServer).GetTopicLastWorkerCommitInfo(ctx, req.(*GetTopicLastWorkerCommitInfoRequest)) @@ -13149,7 +13471,7 @@ func _QueryService_GetTopicLastReputerCommitInfo_Handler(srv interface{}, ctx co } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/emissions.v7.QueryService/GetTopicLastReputerCommitInfo", + FullMethod: "/emissions.v8.QueryService/GetTopicLastReputerCommitInfo", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(QueryServiceServer).GetTopicLastReputerCommitInfo(ctx, req.(*GetTopicLastReputerCommitInfoRequest)) @@ -13167,7 +13489,7 @@ func _QueryService_GetTopicRewardNonce_Handler(srv interface{}, ctx context.Cont } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/emissions.v7.QueryService/GetTopicRewardNonce", + FullMethod: "/emissions.v8.QueryService/GetTopicRewardNonce", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(QueryServiceServer).GetTopicRewardNonce(ctx, req.(*GetTopicRewardNonceRequest)) @@ -13185,7 +13507,7 @@ func _QueryService_GetReputerLossBundlesAtBlock_Handler(srv interface{}, ctx con } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/emissions.v7.QueryService/GetReputerLossBundlesAtBlock", + FullMethod: "/emissions.v8.QueryService/GetReputerLossBundlesAtBlock", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(QueryServiceServer).GetReputerLossBundlesAtBlock(ctx, req.(*GetReputerLossBundlesAtBlockRequest)) @@ -13203,7 +13525,7 @@ func _QueryService_GetStakeReputerAuthority_Handler(srv interface{}, ctx context } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/emissions.v7.QueryService/GetStakeReputerAuthority", + FullMethod: "/emissions.v8.QueryService/GetStakeReputerAuthority", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(QueryServiceServer).GetStakeReputerAuthority(ctx, req.(*GetStakeReputerAuthorityRequest)) @@ -13221,7 +13543,7 @@ func _QueryService_GetDelegateStakePlacement_Handler(srv interface{}, ctx contex } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/emissions.v7.QueryService/GetDelegateStakePlacement", + FullMethod: "/emissions.v8.QueryService/GetDelegateStakePlacement", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(QueryServiceServer).GetDelegateStakePlacement(ctx, req.(*GetDelegateStakePlacementRequest)) @@ -13239,7 +13561,7 @@ func _QueryService_GetDelegateStakeUponReputer_Handler(srv interface{}, ctx cont } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/emissions.v7.QueryService/GetDelegateStakeUponReputer", + FullMethod: "/emissions.v8.QueryService/GetDelegateStakeUponReputer", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(QueryServiceServer).GetDelegateStakeUponReputer(ctx, req.(*GetDelegateStakeUponReputerRequest)) @@ -13257,7 +13579,7 @@ func _QueryService_GetDelegateRewardPerShare_Handler(srv interface{}, ctx contex } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/emissions.v7.QueryService/GetDelegateRewardPerShare", + FullMethod: "/emissions.v8.QueryService/GetDelegateRewardPerShare", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(QueryServiceServer).GetDelegateRewardPerShare(ctx, req.(*GetDelegateRewardPerShareRequest)) @@ -13275,7 +13597,7 @@ func _QueryService_GetStakeRemovalForReputerAndTopicId_Handler(srv interface{}, } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/emissions.v7.QueryService/GetStakeRemovalForReputerAndTopicId", + FullMethod: "/emissions.v8.QueryService/GetStakeRemovalForReputerAndTopicId", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(QueryServiceServer).GetStakeRemovalForReputerAndTopicId(ctx, req.(*GetStakeRemovalForReputerAndTopicIdRequest)) @@ -13293,7 +13615,7 @@ func _QueryService_GetDelegateStakeRemoval_Handler(srv interface{}, ctx context. } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/emissions.v7.QueryService/GetDelegateStakeRemoval", + FullMethod: "/emissions.v8.QueryService/GetDelegateStakeRemoval", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(QueryServiceServer).GetDelegateStakeRemoval(ctx, req.(*GetDelegateStakeRemovalRequest)) @@ -13311,7 +13633,7 @@ func _QueryService_GetPreviousTopicWeight_Handler(srv interface{}, ctx context.C } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/emissions.v7.QueryService/GetPreviousTopicWeight", + FullMethod: "/emissions.v8.QueryService/GetPreviousTopicWeight", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(QueryServiceServer).GetPreviousTopicWeight(ctx, req.(*GetPreviousTopicWeightRequest)) @@ -13329,7 +13651,7 @@ func _QueryService_GetTotalSumPreviousTopicWeights_Handler(srv interface{}, ctx } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/emissions.v7.QueryService/GetTotalSumPreviousTopicWeights", + FullMethod: "/emissions.v8.QueryService/GetTotalSumPreviousTopicWeights", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(QueryServiceServer).GetTotalSumPreviousTopicWeights(ctx, req.(*GetTotalSumPreviousTopicWeightsRequest)) @@ -13347,7 +13669,7 @@ func _QueryService_TopicExists_Handler(srv interface{}, ctx context.Context, dec } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/emissions.v7.QueryService/TopicExists", + FullMethod: "/emissions.v8.QueryService/TopicExists", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(QueryServiceServer).TopicExists(ctx, req.(*TopicExistsRequest)) @@ -13365,7 +13687,7 @@ func _QueryService_IsTopicActive_Handler(srv interface{}, ctx context.Context, d } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/emissions.v7.QueryService/IsTopicActive", + FullMethod: "/emissions.v8.QueryService/IsTopicActive", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(QueryServiceServer).IsTopicActive(ctx, req.(*IsTopicActiveRequest)) @@ -13383,7 +13705,7 @@ func _QueryService_GetTopicFeeRevenue_Handler(srv interface{}, ctx context.Conte } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/emissions.v7.QueryService/GetTopicFeeRevenue", + FullMethod: "/emissions.v8.QueryService/GetTopicFeeRevenue", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(QueryServiceServer).GetTopicFeeRevenue(ctx, req.(*GetTopicFeeRevenueRequest)) @@ -13401,7 +13723,7 @@ func _QueryService_GetInfererScoreEma_Handler(srv interface{}, ctx context.Conte } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/emissions.v7.QueryService/GetInfererScoreEma", + FullMethod: "/emissions.v8.QueryService/GetInfererScoreEma", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(QueryServiceServer).GetInfererScoreEma(ctx, req.(*GetInfererScoreEmaRequest)) @@ -13419,7 +13741,7 @@ func _QueryService_GetForecasterScoreEma_Handler(srv interface{}, ctx context.Co } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/emissions.v7.QueryService/GetForecasterScoreEma", + FullMethod: "/emissions.v8.QueryService/GetForecasterScoreEma", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(QueryServiceServer).GetForecasterScoreEma(ctx, req.(*GetForecasterScoreEmaRequest)) @@ -13437,7 +13759,7 @@ func _QueryService_GetReputerScoreEma_Handler(srv interface{}, ctx context.Conte } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/emissions.v7.QueryService/GetReputerScoreEma", + FullMethod: "/emissions.v8.QueryService/GetReputerScoreEma", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(QueryServiceServer).GetReputerScoreEma(ctx, req.(*GetReputerScoreEmaRequest)) @@ -13455,7 +13777,7 @@ func _QueryService_GetInferenceScoresUntilBlock_Handler(srv interface{}, ctx con } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/emissions.v7.QueryService/GetInferenceScoresUntilBlock", + FullMethod: "/emissions.v8.QueryService/GetInferenceScoresUntilBlock", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(QueryServiceServer).GetInferenceScoresUntilBlock(ctx, req.(*GetInferenceScoresUntilBlockRequest)) @@ -13473,7 +13795,7 @@ func _QueryService_GetPreviousTopicQuantileForecasterScoreEma_Handler(srv interf } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/emissions.v7.QueryService/GetPreviousTopicQuantileForecasterScoreEma", + FullMethod: "/emissions.v8.QueryService/GetPreviousTopicQuantileForecasterScoreEma", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(QueryServiceServer).GetPreviousTopicQuantileForecasterScoreEma(ctx, req.(*GetPreviousTopicQuantileForecasterScoreEmaRequest)) @@ -13491,7 +13813,7 @@ func _QueryService_GetPreviousTopicQuantileInfererScoreEma_Handler(srv interface } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/emissions.v7.QueryService/GetPreviousTopicQuantileInfererScoreEma", + FullMethod: "/emissions.v8.QueryService/GetPreviousTopicQuantileInfererScoreEma", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(QueryServiceServer).GetPreviousTopicQuantileInfererScoreEma(ctx, req.(*GetPreviousTopicQuantileInfererScoreEmaRequest)) @@ -13509,7 +13831,7 @@ func _QueryService_GetPreviousTopicQuantileReputerScoreEma_Handler(srv interface } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/emissions.v7.QueryService/GetPreviousTopicQuantileReputerScoreEma", + FullMethod: "/emissions.v8.QueryService/GetPreviousTopicQuantileReputerScoreEma", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(QueryServiceServer).GetPreviousTopicQuantileReputerScoreEma(ctx, req.(*GetPreviousTopicQuantileReputerScoreEmaRequest)) @@ -13527,7 +13849,7 @@ func _QueryService_GetWorkerInferenceScoresAtBlock_Handler(srv interface{}, ctx } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/emissions.v7.QueryService/GetWorkerInferenceScoresAtBlock", + FullMethod: "/emissions.v8.QueryService/GetWorkerInferenceScoresAtBlock", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(QueryServiceServer).GetWorkerInferenceScoresAtBlock(ctx, req.(*GetWorkerInferenceScoresAtBlockRequest)) @@ -13545,7 +13867,7 @@ func _QueryService_GetCurrentLowestInfererScore_Handler(srv interface{}, ctx con } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/emissions.v7.QueryService/GetCurrentLowestInfererScore", + FullMethod: "/emissions.v8.QueryService/GetCurrentLowestInfererScore", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(QueryServiceServer).GetCurrentLowestInfererScore(ctx, req.(*GetCurrentLowestInfererScoreRequest)) @@ -13563,7 +13885,7 @@ func _QueryService_GetForecastScoresUntilBlock_Handler(srv interface{}, ctx cont } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/emissions.v7.QueryService/GetForecastScoresUntilBlock", + FullMethod: "/emissions.v8.QueryService/GetForecastScoresUntilBlock", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(QueryServiceServer).GetForecastScoresUntilBlock(ctx, req.(*GetForecastScoresUntilBlockRequest)) @@ -13581,7 +13903,7 @@ func _QueryService_GetWorkerForecastScoresAtBlock_Handler(srv interface{}, ctx c } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/emissions.v7.QueryService/GetWorkerForecastScoresAtBlock", + FullMethod: "/emissions.v8.QueryService/GetWorkerForecastScoresAtBlock", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(QueryServiceServer).GetWorkerForecastScoresAtBlock(ctx, req.(*GetWorkerForecastScoresAtBlockRequest)) @@ -13599,7 +13921,7 @@ func _QueryService_GetCurrentLowestForecasterScore_Handler(srv interface{}, ctx } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/emissions.v7.QueryService/GetCurrentLowestForecasterScore", + FullMethod: "/emissions.v8.QueryService/GetCurrentLowestForecasterScore", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(QueryServiceServer).GetCurrentLowestForecasterScore(ctx, req.(*GetCurrentLowestForecasterScoreRequest)) @@ -13617,7 +13939,7 @@ func _QueryService_GetReputersScoresAtBlock_Handler(srv interface{}, ctx context } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/emissions.v7.QueryService/GetReputersScoresAtBlock", + FullMethod: "/emissions.v8.QueryService/GetReputersScoresAtBlock", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(QueryServiceServer).GetReputersScoresAtBlock(ctx, req.(*GetReputersScoresAtBlockRequest)) @@ -13635,7 +13957,7 @@ func _QueryService_GetCurrentLowestReputerScore_Handler(srv interface{}, ctx con } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/emissions.v7.QueryService/GetCurrentLowestReputerScore", + FullMethod: "/emissions.v8.QueryService/GetCurrentLowestReputerScore", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(QueryServiceServer).GetCurrentLowestReputerScore(ctx, req.(*GetCurrentLowestReputerScoreRequest)) @@ -13653,7 +13975,7 @@ func _QueryService_GetListeningCoefficient_Handler(srv interface{}, ctx context. } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/emissions.v7.QueryService/GetListeningCoefficient", + FullMethod: "/emissions.v8.QueryService/GetListeningCoefficient", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(QueryServiceServer).GetListeningCoefficient(ctx, req.(*GetListeningCoefficientRequest)) @@ -13671,7 +13993,7 @@ func _QueryService_GetPreviousReputerRewardFraction_Handler(srv interface{}, ctx } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/emissions.v7.QueryService/GetPreviousReputerRewardFraction", + FullMethod: "/emissions.v8.QueryService/GetPreviousReputerRewardFraction", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(QueryServiceServer).GetPreviousReputerRewardFraction(ctx, req.(*GetPreviousReputerRewardFractionRequest)) @@ -13689,7 +14011,7 @@ func _QueryService_GetPreviousInferenceRewardFraction_Handler(srv interface{}, c } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/emissions.v7.QueryService/GetPreviousInferenceRewardFraction", + FullMethod: "/emissions.v8.QueryService/GetPreviousInferenceRewardFraction", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(QueryServiceServer).GetPreviousInferenceRewardFraction(ctx, req.(*GetPreviousInferenceRewardFractionRequest)) @@ -13707,7 +14029,7 @@ func _QueryService_GetPreviousForecastRewardFraction_Handler(srv interface{}, ct } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/emissions.v7.QueryService/GetPreviousForecastRewardFraction", + FullMethod: "/emissions.v8.QueryService/GetPreviousForecastRewardFraction", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(QueryServiceServer).GetPreviousForecastRewardFraction(ctx, req.(*GetPreviousForecastRewardFractionRequest)) @@ -13725,7 +14047,7 @@ func _QueryService_GetPreviousPercentageRewardToStakedReputers_Handler(srv inter } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/emissions.v7.QueryService/GetPreviousPercentageRewardToStakedReputers", + FullMethod: "/emissions.v8.QueryService/GetPreviousPercentageRewardToStakedReputers", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(QueryServiceServer).GetPreviousPercentageRewardToStakedReputers(ctx, req.(*GetPreviousPercentageRewardToStakedReputersRequest)) @@ -13743,7 +14065,7 @@ func _QueryService_GetTotalRewardToDistribute_Handler(srv interface{}, ctx conte } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/emissions.v7.QueryService/GetTotalRewardToDistribute", + FullMethod: "/emissions.v8.QueryService/GetTotalRewardToDistribute", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(QueryServiceServer).GetTotalRewardToDistribute(ctx, req.(*GetTotalRewardToDistributeRequest)) @@ -13761,7 +14083,7 @@ func _QueryService_GetNaiveInfererNetworkRegret_Handler(srv interface{}, ctx con } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/emissions.v7.QueryService/GetNaiveInfererNetworkRegret", + FullMethod: "/emissions.v8.QueryService/GetNaiveInfererNetworkRegret", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(QueryServiceServer).GetNaiveInfererNetworkRegret(ctx, req.(*GetNaiveInfererNetworkRegretRequest)) @@ -13779,7 +14101,7 @@ func _QueryService_GetOneOutInfererInfererNetworkRegret_Handler(srv interface{}, } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/emissions.v7.QueryService/GetOneOutInfererInfererNetworkRegret", + FullMethod: "/emissions.v8.QueryService/GetOneOutInfererInfererNetworkRegret", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(QueryServiceServer).GetOneOutInfererInfererNetworkRegret(ctx, req.(*GetOneOutInfererInfererNetworkRegretRequest)) @@ -13797,7 +14119,7 @@ func _QueryService_GetOneOutInfererForecasterNetworkRegret_Handler(srv interface } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/emissions.v7.QueryService/GetOneOutInfererForecasterNetworkRegret", + FullMethod: "/emissions.v8.QueryService/GetOneOutInfererForecasterNetworkRegret", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(QueryServiceServer).GetOneOutInfererForecasterNetworkRegret(ctx, req.(*GetOneOutInfererForecasterNetworkRegretRequest)) @@ -13815,7 +14137,7 @@ func _QueryService_GetOneOutForecasterInfererNetworkRegret_Handler(srv interface } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/emissions.v7.QueryService/GetOneOutForecasterInfererNetworkRegret", + FullMethod: "/emissions.v8.QueryService/GetOneOutForecasterInfererNetworkRegret", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(QueryServiceServer).GetOneOutForecasterInfererNetworkRegret(ctx, req.(*GetOneOutForecasterInfererNetworkRegretRequest)) @@ -13833,7 +14155,7 @@ func _QueryService_GetOneOutForecasterForecasterNetworkRegret_Handler(srv interf } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/emissions.v7.QueryService/GetOneOutForecasterForecasterNetworkRegret", + FullMethod: "/emissions.v8.QueryService/GetOneOutForecasterForecasterNetworkRegret", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(QueryServiceServer).GetOneOutForecasterForecasterNetworkRegret(ctx, req.(*GetOneOutForecasterForecasterNetworkRegretRequest)) @@ -13851,7 +14173,7 @@ func _QueryService_GetActiveTopicsAtBlock_Handler(srv interface{}, ctx context.C } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/emissions.v7.QueryService/GetActiveTopicsAtBlock", + FullMethod: "/emissions.v8.QueryService/GetActiveTopicsAtBlock", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(QueryServiceServer).GetActiveTopicsAtBlock(ctx, req.(*GetActiveTopicsAtBlockRequest)) @@ -13869,7 +14191,7 @@ func _QueryService_GetNextChurningBlockByTopicId_Handler(srv interface{}, ctx co } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/emissions.v7.QueryService/GetNextChurningBlockByTopicId", + FullMethod: "/emissions.v8.QueryService/GetNextChurningBlockByTopicId", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(QueryServiceServer).GetNextChurningBlockByTopicId(ctx, req.(*GetNextChurningBlockByTopicIdRequest)) @@ -13887,7 +14209,7 @@ func _QueryService_GetCountInfererInclusionsInTopic_Handler(srv interface{}, ctx } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/emissions.v7.QueryService/GetCountInfererInclusionsInTopic", + FullMethod: "/emissions.v8.QueryService/GetCountInfererInclusionsInTopic", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(QueryServiceServer).GetCountInfererInclusionsInTopic(ctx, req.(*GetCountInfererInclusionsInTopicRequest)) @@ -13905,7 +14227,7 @@ func _QueryService_GetCountForecasterInclusionsInTopic_Handler(srv interface{}, } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/emissions.v7.QueryService/GetCountForecasterInclusionsInTopic", + FullMethod: "/emissions.v8.QueryService/GetCountForecasterInclusionsInTopic", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(QueryServiceServer).GetCountForecasterInclusionsInTopic(ctx, req.(*GetCountForecasterInclusionsInTopicRequest)) @@ -13923,7 +14245,7 @@ func _QueryService_GetActiveReputersForTopic_Handler(srv interface{}, ctx contex } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/emissions.v7.QueryService/GetActiveReputersForTopic", + FullMethod: "/emissions.v8.QueryService/GetActiveReputersForTopic", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(QueryServiceServer).GetActiveReputersForTopic(ctx, req.(*GetActiveReputersForTopicRequest)) @@ -13941,7 +14263,7 @@ func _QueryService_GetActiveForecastersForTopic_Handler(srv interface{}, ctx con } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/emissions.v7.QueryService/GetActiveForecastersForTopic", + FullMethod: "/emissions.v8.QueryService/GetActiveForecastersForTopic", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(QueryServiceServer).GetActiveForecastersForTopic(ctx, req.(*GetActiveForecastersForTopicRequest)) @@ -13959,7 +14281,7 @@ func _QueryService_GetActiveInferersForTopic_Handler(srv interface{}, ctx contex } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/emissions.v7.QueryService/GetActiveInferersForTopic", + FullMethod: "/emissions.v8.QueryService/GetActiveInferersForTopic", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(QueryServiceServer).GetActiveInferersForTopic(ctx, req.(*GetActiveInferersForTopicRequest)) @@ -13977,7 +14299,7 @@ func _QueryService_IsWhitelistedGlobalWorker_Handler(srv interface{}, ctx contex } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/emissions.v7.QueryService/IsWhitelistedGlobalWorker", + FullMethod: "/emissions.v8.QueryService/IsWhitelistedGlobalWorker", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(QueryServiceServer).IsWhitelistedGlobalWorker(ctx, req.(*IsWhitelistedGlobalWorkerRequest)) @@ -13995,7 +14317,7 @@ func _QueryService_IsWhitelistedGlobalReputer_Handler(srv interface{}, ctx conte } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/emissions.v7.QueryService/IsWhitelistedGlobalReputer", + FullMethod: "/emissions.v8.QueryService/IsWhitelistedGlobalReputer", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(QueryServiceServer).IsWhitelistedGlobalReputer(ctx, req.(*IsWhitelistedGlobalReputerRequest)) @@ -14013,7 +14335,7 @@ func _QueryService_IsWhitelistedGlobalAdmin_Handler(srv interface{}, ctx context } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/emissions.v7.QueryService/IsWhitelistedGlobalAdmin", + FullMethod: "/emissions.v8.QueryService/IsWhitelistedGlobalAdmin", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(QueryServiceServer).IsWhitelistedGlobalAdmin(ctx, req.(*IsWhitelistedGlobalAdminRequest)) @@ -14031,7 +14353,7 @@ func _QueryService_IsTopicWorkerWhitelistEnabled_Handler(srv interface{}, ctx co } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/emissions.v7.QueryService/IsTopicWorkerWhitelistEnabled", + FullMethod: "/emissions.v8.QueryService/IsTopicWorkerWhitelistEnabled", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(QueryServiceServer).IsTopicWorkerWhitelistEnabled(ctx, req.(*IsTopicWorkerWhitelistEnabledRequest)) @@ -14049,7 +14371,7 @@ func _QueryService_IsTopicReputerWhitelistEnabled_Handler(srv interface{}, ctx c } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/emissions.v7.QueryService/IsTopicReputerWhitelistEnabled", + FullMethod: "/emissions.v8.QueryService/IsTopicReputerWhitelistEnabled", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(QueryServiceServer).IsTopicReputerWhitelistEnabled(ctx, req.(*IsTopicReputerWhitelistEnabledRequest)) @@ -14067,7 +14389,7 @@ func _QueryService_IsWhitelistedTopicCreator_Handler(srv interface{}, ctx contex } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/emissions.v7.QueryService/IsWhitelistedTopicCreator", + FullMethod: "/emissions.v8.QueryService/IsWhitelistedTopicCreator", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(QueryServiceServer).IsWhitelistedTopicCreator(ctx, req.(*IsWhitelistedTopicCreatorRequest)) @@ -14085,7 +14407,7 @@ func _QueryService_IsWhitelistedGlobalActor_Handler(srv interface{}, ctx context } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/emissions.v7.QueryService/IsWhitelistedGlobalActor", + FullMethod: "/emissions.v8.QueryService/IsWhitelistedGlobalActor", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(QueryServiceServer).IsWhitelistedGlobalActor(ctx, req.(*IsWhitelistedGlobalActorRequest)) @@ -14103,7 +14425,7 @@ func _QueryService_IsWhitelistedTopicWorker_Handler(srv interface{}, ctx context } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/emissions.v7.QueryService/IsWhitelistedTopicWorker", + FullMethod: "/emissions.v8.QueryService/IsWhitelistedTopicWorker", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(QueryServiceServer).IsWhitelistedTopicWorker(ctx, req.(*IsWhitelistedTopicWorkerRequest)) @@ -14121,7 +14443,7 @@ func _QueryService_IsWhitelistedTopicReputer_Handler(srv interface{}, ctx contex } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/emissions.v7.QueryService/IsWhitelistedTopicReputer", + FullMethod: "/emissions.v8.QueryService/IsWhitelistedTopicReputer", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(QueryServiceServer).IsWhitelistedTopicReputer(ctx, req.(*IsWhitelistedTopicReputerRequest)) @@ -14139,7 +14461,7 @@ func _QueryService_CanUpdateAllGlobalWhitelists_Handler(srv interface{}, ctx con } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/emissions.v7.QueryService/CanUpdateAllGlobalWhitelists", + FullMethod: "/emissions.v8.QueryService/CanUpdateAllGlobalWhitelists", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(QueryServiceServer).CanUpdateAllGlobalWhitelists(ctx, req.(*CanUpdateAllGlobalWhitelistsRequest)) @@ -14157,7 +14479,7 @@ func _QueryService_CanUpdateGlobalWorkerWhitelist_Handler(srv interface{}, ctx c } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/emissions.v7.QueryService/CanUpdateGlobalWorkerWhitelist", + FullMethod: "/emissions.v8.QueryService/CanUpdateGlobalWorkerWhitelist", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(QueryServiceServer).CanUpdateGlobalWorkerWhitelist(ctx, req.(*CanUpdateGlobalWorkerWhitelistRequest)) @@ -14175,7 +14497,7 @@ func _QueryService_CanUpdateGlobalReputerWhitelist_Handler(srv interface{}, ctx } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/emissions.v7.QueryService/CanUpdateGlobalReputerWhitelist", + FullMethod: "/emissions.v8.QueryService/CanUpdateGlobalReputerWhitelist", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(QueryServiceServer).CanUpdateGlobalReputerWhitelist(ctx, req.(*CanUpdateGlobalReputerWhitelistRequest)) @@ -14193,7 +14515,7 @@ func _QueryService_CanUpdateParams_Handler(srv interface{}, ctx context.Context, } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/emissions.v7.QueryService/CanUpdateParams", + FullMethod: "/emissions.v8.QueryService/CanUpdateParams", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(QueryServiceServer).CanUpdateParams(ctx, req.(*CanUpdateParamsRequest)) @@ -14211,7 +14533,7 @@ func _QueryService_CanUpdateTopicWhitelist_Handler(srv interface{}, ctx context. } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/emissions.v7.QueryService/CanUpdateTopicWhitelist", + FullMethod: "/emissions.v8.QueryService/CanUpdateTopicWhitelist", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(QueryServiceServer).CanUpdateTopicWhitelist(ctx, req.(*CanUpdateTopicWhitelistRequest)) @@ -14229,7 +14551,7 @@ func _QueryService_CanCreateTopic_Handler(srv interface{}, ctx context.Context, } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/emissions.v7.QueryService/CanCreateTopic", + FullMethod: "/emissions.v8.QueryService/CanCreateTopic", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(QueryServiceServer).CanCreateTopic(ctx, req.(*CanCreateTopicRequest)) @@ -14247,7 +14569,7 @@ func _QueryService_CanSubmitWorkerPayload_Handler(srv interface{}, ctx context.C } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/emissions.v7.QueryService/CanSubmitWorkerPayload", + FullMethod: "/emissions.v8.QueryService/CanSubmitWorkerPayload", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(QueryServiceServer).CanSubmitWorkerPayload(ctx, req.(*CanSubmitWorkerPayloadRequest)) @@ -14265,7 +14587,7 @@ func _QueryService_CanSubmitReputerPayload_Handler(srv interface{}, ctx context. } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/emissions.v7.QueryService/CanSubmitReputerPayload", + FullMethod: "/emissions.v8.QueryService/CanSubmitReputerPayload", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(QueryServiceServer).CanSubmitReputerPayload(ctx, req.(*CanSubmitReputerPayloadRequest)) @@ -14283,7 +14605,7 @@ func _QueryService_GetTopicInitialInfererEmaScore_Handler(srv interface{}, ctx c } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/emissions.v7.QueryService/GetTopicInitialInfererEmaScore", + FullMethod: "/emissions.v8.QueryService/GetTopicInitialInfererEmaScore", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(QueryServiceServer).GetTopicInitialInfererEmaScore(ctx, req.(*GetTopicInitialInfererEmaScoreRequest)) @@ -14301,7 +14623,7 @@ func _QueryService_GetTopicInitialForecasterEmaScore_Handler(srv interface{}, ct } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/emissions.v7.QueryService/GetTopicInitialForecasterEmaScore", + FullMethod: "/emissions.v8.QueryService/GetTopicInitialForecasterEmaScore", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(QueryServiceServer).GetTopicInitialForecasterEmaScore(ctx, req.(*GetTopicInitialForecasterEmaScoreRequest)) @@ -14319,7 +14641,7 @@ func _QueryService_GetTopicInitialReputerEmaScore_Handler(srv interface{}, ctx c } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/emissions.v7.QueryService/GetTopicInitialReputerEmaScore", + FullMethod: "/emissions.v8.QueryService/GetTopicInitialReputerEmaScore", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(QueryServiceServer).GetTopicInitialReputerEmaScore(ctx, req.(*GetTopicInitialReputerEmaScoreRequest)) @@ -14327,9 +14649,63 @@ func _QueryService_GetTopicInitialReputerEmaScore_Handler(srv interface{}, ctx c return interceptor(ctx, in, info, handler) } +func _QueryService_GetLatestRegretStdNorm_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(GetLatestRegretStdNormRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(QueryServiceServer).GetLatestRegretStdNorm(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/emissions.v8.QueryService/GetLatestRegretStdNorm", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(QueryServiceServer).GetLatestRegretStdNorm(ctx, req.(*GetLatestRegretStdNormRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _QueryService_GetLatestInfererWeight_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(GetLatestInfererWeightRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(QueryServiceServer).GetLatestInfererWeight(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/emissions.v8.QueryService/GetLatestInfererWeight", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(QueryServiceServer).GetLatestInfererWeight(ctx, req.(*GetLatestInfererWeightRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _QueryService_GetLatestForecasterWeight_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(GetLatestForecasterWeightRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(QueryServiceServer).GetLatestForecasterWeight(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/emissions.v8.QueryService/GetLatestForecasterWeight", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(QueryServiceServer).GetLatestForecasterWeight(ctx, req.(*GetLatestForecasterWeightRequest)) + } + return interceptor(ctx, in, info, handler) +} + var QueryService_serviceDesc = _QueryService_serviceDesc var _QueryService_serviceDesc = grpc.ServiceDesc{ - ServiceName: "emissions.v7.QueryService", + ServiceName: "emissions.v8.QueryService", HandlerType: (*QueryServiceServer)(nil), Methods: []grpc.MethodDesc{ { @@ -14752,9 +15128,21 @@ var _QueryService_serviceDesc = grpc.ServiceDesc{ MethodName: "GetTopicInitialReputerEmaScore", Handler: _QueryService_GetTopicInitialReputerEmaScore_Handler, }, + { + MethodName: "GetLatestRegretStdNorm", + Handler: _QueryService_GetLatestRegretStdNorm_Handler, + }, + { + MethodName: "GetLatestInfererWeight", + Handler: _QueryService_GetLatestInfererWeight_Handler, + }, + { + MethodName: "GetLatestForecasterWeight", + Handler: _QueryService_GetLatestForecasterWeight_Handler, + }, }, Streams: []grpc.StreamDesc{}, - Metadata: "emissions/v7/query.proto", + Metadata: "emissions/v8/query.proto", } func (m *IsWhitelistedGlobalWorkerRequest) Marshal() (dAtA []byte, err error) { @@ -22065,6 +22453,203 @@ func (m *GetTopicInitialReputerEmaScoreResponse) MarshalToSizedBuffer(dAtA []byt return len(dAtA) - i, nil } +func (m *GetLatestRegretStdNormRequest) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *GetLatestRegretStdNormRequest) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *GetLatestRegretStdNormRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if m.TopicId != 0 { + i = encodeVarintQuery(dAtA, i, uint64(m.TopicId)) + i-- + dAtA[i] = 0x8 + } + return len(dAtA) - i, nil +} + +func (m *GetLatestRegretStdNormResponse) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *GetLatestRegretStdNormResponse) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *GetLatestRegretStdNormResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + { + size := m.Value.Size() + i -= size + if _, err := m.Value.MarshalTo(dAtA[i:]); err != nil { + return 0, err + } + i = encodeVarintQuery(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0xa + return len(dAtA) - i, nil +} + +func (m *GetLatestInfererWeightRequest) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *GetLatestInfererWeightRequest) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *GetLatestInfererWeightRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if len(m.ActorId) > 0 { + i -= len(m.ActorId) + copy(dAtA[i:], m.ActorId) + i = encodeVarintQuery(dAtA, i, uint64(len(m.ActorId))) + i-- + dAtA[i] = 0x12 + } + if m.TopicId != 0 { + i = encodeVarintQuery(dAtA, i, uint64(m.TopicId)) + i-- + dAtA[i] = 0x8 + } + return len(dAtA) - i, nil +} + +func (m *GetLatestInfererWeightResponse) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *GetLatestInfererWeightResponse) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *GetLatestInfererWeightResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + { + size := m.Weight.Size() + i -= size + if _, err := m.Weight.MarshalTo(dAtA[i:]); err != nil { + return 0, err + } + i = encodeVarintQuery(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0xa + return len(dAtA) - i, nil +} + +func (m *GetLatestForecasterWeightRequest) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *GetLatestForecasterWeightRequest) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *GetLatestForecasterWeightRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if len(m.ActorId) > 0 { + i -= len(m.ActorId) + copy(dAtA[i:], m.ActorId) + i = encodeVarintQuery(dAtA, i, uint64(len(m.ActorId))) + i-- + dAtA[i] = 0x12 + } + if m.TopicId != 0 { + i = encodeVarintQuery(dAtA, i, uint64(m.TopicId)) + i-- + dAtA[i] = 0x8 + } + return len(dAtA) - i, nil +} + +func (m *GetLatestForecasterWeightResponse) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *GetLatestForecasterWeightResponse) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *GetLatestForecasterWeightResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + { + size := m.Weight.Size() + i -= size + if _, err := m.Weight.MarshalTo(dAtA[i:]); err != nil { + return 0, err + } + i = encodeVarintQuery(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0xa + return len(dAtA) - i, nil +} + func encodeVarintQuery(dAtA []byte, offset int, v uint64) int { offset -= sovQuery(v) base := offset @@ -25050,6 +25635,83 @@ func (m *GetTopicInitialReputerEmaScoreResponse) Size() (n int) { return n } +func (m *GetLatestRegretStdNormRequest) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.TopicId != 0 { + n += 1 + sovQuery(uint64(m.TopicId)) + } + return n +} + +func (m *GetLatestRegretStdNormResponse) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = m.Value.Size() + n += 1 + l + sovQuery(uint64(l)) + return n +} + +func (m *GetLatestInfererWeightRequest) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.TopicId != 0 { + n += 1 + sovQuery(uint64(m.TopicId)) + } + l = len(m.ActorId) + if l > 0 { + n += 1 + l + sovQuery(uint64(l)) + } + return n +} + +func (m *GetLatestInfererWeightResponse) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = m.Weight.Size() + n += 1 + l + sovQuery(uint64(l)) + return n +} + +func (m *GetLatestForecasterWeightRequest) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.TopicId != 0 { + n += 1 + sovQuery(uint64(m.TopicId)) + } + l = len(m.ActorId) + if l > 0 { + n += 1 + l + sovQuery(uint64(l)) + } + return n +} + +func (m *GetLatestForecasterWeightResponse) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = m.Weight.Size() + n += 1 + l + sovQuery(uint64(l)) + return n +} + func sovQuery(x uint64) (n int) { return (math_bits.Len64(x|1) + 6) / 7 } @@ -41389,15 +42051,202 @@ func (m *GetCurrentLowestReputerScoreResponse) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: GetCurrentLowestReputerScoreResponse: wiretype end group for non-group") + return fmt.Errorf("proto: GetCurrentLowestReputerScoreResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: GetCurrentLowestReputerScoreResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Score", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowQuery + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthQuery + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthQuery + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.Score == nil { + m.Score = &Score{} + } + if err := m.Score.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipQuery(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthQuery + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *GetListeningCoefficientRequest) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowQuery + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: GetListeningCoefficientRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: GetListeningCoefficientRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field TopicId", wireType) + } + m.TopicId = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowQuery + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.TopicId |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Reputer", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowQuery + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthQuery + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthQuery + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Reputer = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipQuery(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthQuery + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *GetListeningCoefficientResponse) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowQuery + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: GetListeningCoefficientResponse: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: GetCurrentLowestReputerScoreResponse: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: GetListeningCoefficientResponse: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Score", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field ListeningCoefficient", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -41424,10 +42273,10 @@ func (m *GetCurrentLowestReputerScoreResponse) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - if m.Score == nil { - m.Score = &Score{} + if m.ListeningCoefficient == nil { + m.ListeningCoefficient = &ListeningCoefficient{} } - if err := m.Score.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + if err := m.ListeningCoefficient.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err } iNdEx = postIndex @@ -41452,7 +42301,7 @@ func (m *GetCurrentLowestReputerScoreResponse) Unmarshal(dAtA []byte) error { } return nil } -func (m *GetListeningCoefficientRequest) Unmarshal(dAtA []byte) error { +func (m *GetPreviousReputerRewardFractionRequest) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -41475,10 +42324,10 @@ func (m *GetListeningCoefficientRequest) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: GetListeningCoefficientRequest: wiretype end group for non-group") + return fmt.Errorf("proto: GetPreviousReputerRewardFractionRequest: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: GetListeningCoefficientRequest: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: GetPreviousReputerRewardFractionRequest: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: @@ -41553,7 +42402,7 @@ func (m *GetListeningCoefficientRequest) Unmarshal(dAtA []byte) error { } return nil } -func (m *GetListeningCoefficientResponse) Unmarshal(dAtA []byte) error { +func (m *GetPreviousReputerRewardFractionResponse) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -41576,17 +42425,17 @@ func (m *GetListeningCoefficientResponse) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: GetListeningCoefficientResponse: wiretype end group for non-group") + return fmt.Errorf("proto: GetPreviousReputerRewardFractionResponse: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: GetListeningCoefficientResponse: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: GetPreviousReputerRewardFractionResponse: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field ListeningCoefficient", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field RewardFraction", wireType) } - var msglen int + var stringLen uint64 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowQuery @@ -41596,28 +42445,46 @@ func (m *GetListeningCoefficientResponse) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= int(b&0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } } - if msglen < 0 { + intStringLen := int(stringLen) + if intStringLen < 0 { return ErrInvalidLengthQuery } - postIndex := iNdEx + msglen + postIndex := iNdEx + intStringLen if postIndex < 0 { return ErrInvalidLengthQuery } if postIndex > l { return io.ErrUnexpectedEOF } - if m.ListeningCoefficient == nil { - m.ListeningCoefficient = &ListeningCoefficient{} - } - if err := m.ListeningCoefficient.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + if err := m.RewardFraction.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err } iNdEx = postIndex + case 2: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field NotFound", wireType) + } + var v int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowQuery + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + m.NotFound = bool(v != 0) default: iNdEx = preIndex skippy, err := skipQuery(dAtA[iNdEx:]) @@ -41639,7 +42506,7 @@ func (m *GetListeningCoefficientResponse) Unmarshal(dAtA []byte) error { } return nil } -func (m *GetPreviousReputerRewardFractionRequest) Unmarshal(dAtA []byte) error { +func (m *GetPreviousInferenceRewardFractionRequest) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -41662,10 +42529,10 @@ func (m *GetPreviousReputerRewardFractionRequest) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: GetPreviousReputerRewardFractionRequest: wiretype end group for non-group") + return fmt.Errorf("proto: GetPreviousInferenceRewardFractionRequest: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: GetPreviousReputerRewardFractionRequest: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: GetPreviousInferenceRewardFractionRequest: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: @@ -41689,7 +42556,7 @@ func (m *GetPreviousReputerRewardFractionRequest) Unmarshal(dAtA []byte) error { } case 2: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Reputer", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Worker", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -41717,7 +42584,7 @@ func (m *GetPreviousReputerRewardFractionRequest) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.Reputer = string(dAtA[iNdEx:postIndex]) + m.Worker = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex default: iNdEx = preIndex @@ -41740,7 +42607,7 @@ func (m *GetPreviousReputerRewardFractionRequest) Unmarshal(dAtA []byte) error { } return nil } -func (m *GetPreviousReputerRewardFractionResponse) Unmarshal(dAtA []byte) error { +func (m *GetPreviousInferenceRewardFractionResponse) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -41763,10 +42630,10 @@ func (m *GetPreviousReputerRewardFractionResponse) Unmarshal(dAtA []byte) error fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: GetPreviousReputerRewardFractionResponse: wiretype end group for non-group") + return fmt.Errorf("proto: GetPreviousInferenceRewardFractionResponse: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: GetPreviousReputerRewardFractionResponse: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: GetPreviousInferenceRewardFractionResponse: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: @@ -41844,7 +42711,7 @@ func (m *GetPreviousReputerRewardFractionResponse) Unmarshal(dAtA []byte) error } return nil } -func (m *GetPreviousInferenceRewardFractionRequest) Unmarshal(dAtA []byte) error { +func (m *GetPreviousForecastRewardFractionRequest) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -41867,10 +42734,10 @@ func (m *GetPreviousInferenceRewardFractionRequest) Unmarshal(dAtA []byte) error fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: GetPreviousInferenceRewardFractionRequest: wiretype end group for non-group") + return fmt.Errorf("proto: GetPreviousForecastRewardFractionRequest: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: GetPreviousInferenceRewardFractionRequest: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: GetPreviousForecastRewardFractionRequest: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: @@ -41945,7 +42812,7 @@ func (m *GetPreviousInferenceRewardFractionRequest) Unmarshal(dAtA []byte) error } return nil } -func (m *GetPreviousInferenceRewardFractionResponse) Unmarshal(dAtA []byte) error { +func (m *GetPreviousForecastRewardFractionResponse) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -41968,10 +42835,10 @@ func (m *GetPreviousInferenceRewardFractionResponse) Unmarshal(dAtA []byte) erro fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: GetPreviousInferenceRewardFractionResponse: wiretype end group for non-group") + return fmt.Errorf("proto: GetPreviousForecastRewardFractionResponse: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: GetPreviousInferenceRewardFractionResponse: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: GetPreviousForecastRewardFractionResponse: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: @@ -42049,7 +42916,7 @@ func (m *GetPreviousInferenceRewardFractionResponse) Unmarshal(dAtA []byte) erro } return nil } -func (m *GetPreviousForecastRewardFractionRequest) Unmarshal(dAtA []byte) error { +func (m *GetPreviousPercentageRewardToStakedReputersRequest) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -42072,63 +42939,12 @@ func (m *GetPreviousForecastRewardFractionRequest) Unmarshal(dAtA []byte) error fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: GetPreviousForecastRewardFractionRequest: wiretype end group for non-group") + return fmt.Errorf("proto: GetPreviousPercentageRewardToStakedReputersRequest: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: GetPreviousForecastRewardFractionRequest: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: GetPreviousPercentageRewardToStakedReputersRequest: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { - case 1: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field TopicId", wireType) - } - m.TopicId = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowQuery - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.TopicId |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Worker", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowQuery - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthQuery - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthQuery - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Worker = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex default: iNdEx = preIndex skippy, err := skipQuery(dAtA[iNdEx:]) @@ -42150,7 +42966,7 @@ func (m *GetPreviousForecastRewardFractionRequest) Unmarshal(dAtA []byte) error } return nil } -func (m *GetPreviousForecastRewardFractionResponse) Unmarshal(dAtA []byte) error { +func (m *GetPreviousPercentageRewardToStakedReputersResponse) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -42173,15 +42989,15 @@ func (m *GetPreviousForecastRewardFractionResponse) Unmarshal(dAtA []byte) error fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: GetPreviousForecastRewardFractionResponse: wiretype end group for non-group") + return fmt.Errorf("proto: GetPreviousPercentageRewardToStakedReputersResponse: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: GetPreviousForecastRewardFractionResponse: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: GetPreviousPercentageRewardToStakedReputersResponse: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field RewardFraction", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field PercentageReward", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -42209,30 +43025,10 @@ func (m *GetPreviousForecastRewardFractionResponse) Unmarshal(dAtA []byte) error if postIndex > l { return io.ErrUnexpectedEOF } - if err := m.RewardFraction.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + if err := m.PercentageReward.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err } iNdEx = postIndex - case 2: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field NotFound", wireType) - } - var v int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowQuery - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - v |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - m.NotFound = bool(v != 0) default: iNdEx = preIndex skippy, err := skipQuery(dAtA[iNdEx:]) @@ -42254,7 +43050,7 @@ func (m *GetPreviousForecastRewardFractionResponse) Unmarshal(dAtA []byte) error } return nil } -func (m *GetPreviousPercentageRewardToStakedReputersRequest) Unmarshal(dAtA []byte) error { +func (m *GetTotalRewardToDistributeRequest) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -42277,10 +43073,10 @@ func (m *GetPreviousPercentageRewardToStakedReputersRequest) Unmarshal(dAtA []by fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: GetPreviousPercentageRewardToStakedReputersRequest: wiretype end group for non-group") + return fmt.Errorf("proto: GetTotalRewardToDistributeRequest: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: GetPreviousPercentageRewardToStakedReputersRequest: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: GetTotalRewardToDistributeRequest: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { default: @@ -42304,7 +43100,7 @@ func (m *GetPreviousPercentageRewardToStakedReputersRequest) Unmarshal(dAtA []by } return nil } -func (m *GetPreviousPercentageRewardToStakedReputersResponse) Unmarshal(dAtA []byte) error { +func (m *GetTotalRewardToDistributeResponse) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -42327,15 +43123,15 @@ func (m *GetPreviousPercentageRewardToStakedReputersResponse) Unmarshal(dAtA []b fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: GetPreviousPercentageRewardToStakedReputersResponse: wiretype end group for non-group") + return fmt.Errorf("proto: GetTotalRewardToDistributeResponse: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: GetPreviousPercentageRewardToStakedReputersResponse: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: GetTotalRewardToDistributeResponse: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field PercentageReward", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field TotalReward", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -42363,7 +43159,7 @@ func (m *GetPreviousPercentageRewardToStakedReputersResponse) Unmarshal(dAtA []b if postIndex > l { return io.ErrUnexpectedEOF } - if err := m.PercentageReward.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + if err := m.TotalReward.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err } iNdEx = postIndex @@ -42388,7 +43184,76 @@ func (m *GetPreviousPercentageRewardToStakedReputersResponse) Unmarshal(dAtA []b } return nil } -func (m *GetTotalRewardToDistributeRequest) Unmarshal(dAtA []byte) error { +func (m *GetActiveTopicsAtBlockRequest) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowQuery + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: GetActiveTopicsAtBlockRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: GetActiveTopicsAtBlockRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field BlockHeight", wireType) + } + m.BlockHeight = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowQuery + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.BlockHeight |= int64(b&0x7F) << shift + if b < 0x80 { + break + } + } + default: + iNdEx = preIndex + skippy, err := skipQuery(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthQuery + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *GetActiveTopicsAtBlockResponse) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -42411,12 +43276,82 @@ func (m *GetTotalRewardToDistributeRequest) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: GetTotalRewardToDistributeRequest: wiretype end group for non-group") + return fmt.Errorf("proto: GetActiveTopicsAtBlockResponse: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: GetTotalRewardToDistributeRequest: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: GetActiveTopicsAtBlockResponse: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Topics", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowQuery + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthQuery + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthQuery + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Topics = append(m.Topics, &Topic{}) + if err := m.Topics[len(m.Topics)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Pagination", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowQuery + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthQuery + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthQuery + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.Pagination == nil { + m.Pagination = &SimpleCursorPaginationResponse{} + } + if err := m.Pagination.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex default: iNdEx = preIndex skippy, err := skipQuery(dAtA[iNdEx:]) @@ -42438,7 +43373,7 @@ func (m *GetTotalRewardToDistributeRequest) Unmarshal(dAtA []byte) error { } return nil } -func (m *GetTotalRewardToDistributeResponse) Unmarshal(dAtA []byte) error { +func (m *GetNextChurningBlockByTopicIdRequest) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -42461,17 +43396,17 @@ func (m *GetTotalRewardToDistributeResponse) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: GetTotalRewardToDistributeResponse: wiretype end group for non-group") + return fmt.Errorf("proto: GetNextChurningBlockByTopicIdRequest: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: GetTotalRewardToDistributeResponse: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: GetNextChurningBlockByTopicIdRequest: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field TotalReward", wireType) + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field TopicId", wireType) } - var stringLen uint64 + m.TopicId = 0 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowQuery @@ -42481,26 +43416,11 @@ func (m *GetTotalRewardToDistributeResponse) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= uint64(b&0x7F) << shift + m.TopicId |= uint64(b&0x7F) << shift if b < 0x80 { break } } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthQuery - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthQuery - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if err := m.TotalReward.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex default: iNdEx = preIndex skippy, err := skipQuery(dAtA[iNdEx:]) @@ -42522,7 +43442,7 @@ func (m *GetTotalRewardToDistributeResponse) Unmarshal(dAtA []byte) error { } return nil } -func (m *GetActiveTopicsAtBlockRequest) Unmarshal(dAtA []byte) error { +func (m *GetNextChurningBlockByTopicIdResponse) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -42545,10 +43465,10 @@ func (m *GetActiveTopicsAtBlockRequest) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: GetActiveTopicsAtBlockRequest: wiretype end group for non-group") + return fmt.Errorf("proto: GetNextChurningBlockByTopicIdResponse: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: GetActiveTopicsAtBlockRequest: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: GetNextChurningBlockByTopicIdResponse: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: @@ -42591,7 +43511,7 @@ func (m *GetActiveTopicsAtBlockRequest) Unmarshal(dAtA []byte) error { } return nil } -func (m *GetActiveTopicsAtBlockResponse) Unmarshal(dAtA []byte) error { +func (m *GetActiveReputersForTopicRequest) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -42614,17 +43534,17 @@ func (m *GetActiveTopicsAtBlockResponse) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: GetActiveTopicsAtBlockResponse: wiretype end group for non-group") + return fmt.Errorf("proto: GetActiveReputersForTopicRequest: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: GetActiveTopicsAtBlockResponse: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: GetActiveReputersForTopicRequest: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Topics", wireType) + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field TopicId", wireType) } - var msglen int + m.TopicId = 0 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowQuery @@ -42634,31 +43554,66 @@ func (m *GetActiveTopicsAtBlockResponse) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= int(b&0x7F) << shift + m.TopicId |= uint64(b&0x7F) << shift if b < 0x80 { break } } - if msglen < 0 { - return ErrInvalidLengthQuery + default: + iNdEx = preIndex + skippy, err := skipQuery(dAtA[iNdEx:]) + if err != nil { + return err } - postIndex := iNdEx + msglen - if postIndex < 0 { + if (skippy < 0) || (iNdEx+skippy) < 0 { return ErrInvalidLengthQuery } - if postIndex > l { + if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } - m.Topics = append(m.Topics, &Topic{}) - if err := m.Topics[len(m.Topics)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *GetActiveReputersForTopicResponse) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowQuery } - iNdEx = postIndex - case 2: + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: GetActiveReputersForTopicResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: GetActiveReputersForTopicResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Pagination", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Reputers", wireType) } - var msglen int + var stringLen uint64 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowQuery @@ -42668,27 +43623,23 @@ func (m *GetActiveTopicsAtBlockResponse) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= int(b&0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } } - if msglen < 0 { + intStringLen := int(stringLen) + if intStringLen < 0 { return ErrInvalidLengthQuery } - postIndex := iNdEx + msglen + postIndex := iNdEx + intStringLen if postIndex < 0 { return ErrInvalidLengthQuery } if postIndex > l { return io.ErrUnexpectedEOF } - if m.Pagination == nil { - m.Pagination = &SimpleCursorPaginationResponse{} - } - if err := m.Pagination.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } + m.Reputers = append(m.Reputers, string(dAtA[iNdEx:postIndex])) iNdEx = postIndex default: iNdEx = preIndex @@ -42711,7 +43662,7 @@ func (m *GetActiveTopicsAtBlockResponse) Unmarshal(dAtA []byte) error { } return nil } -func (m *GetNextChurningBlockByTopicIdRequest) Unmarshal(dAtA []byte) error { +func (m *GetActiveForecastersForTopicRequest) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -42734,10 +43685,10 @@ func (m *GetNextChurningBlockByTopicIdRequest) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: GetNextChurningBlockByTopicIdRequest: wiretype end group for non-group") + return fmt.Errorf("proto: GetActiveForecastersForTopicRequest: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: GetNextChurningBlockByTopicIdRequest: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: GetActiveForecastersForTopicRequest: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: @@ -42780,7 +43731,7 @@ func (m *GetNextChurningBlockByTopicIdRequest) Unmarshal(dAtA []byte) error { } return nil } -func (m *GetNextChurningBlockByTopicIdResponse) Unmarshal(dAtA []byte) error { +func (m *GetActiveForecastersForTopicResponse) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -42803,17 +43754,17 @@ func (m *GetNextChurningBlockByTopicIdResponse) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: GetNextChurningBlockByTopicIdResponse: wiretype end group for non-group") + return fmt.Errorf("proto: GetActiveForecastersForTopicResponse: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: GetNextChurningBlockByTopicIdResponse: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: GetActiveForecastersForTopicResponse: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field BlockHeight", wireType) + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Forecasters", wireType) } - m.BlockHeight = 0 + var stringLen uint64 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowQuery @@ -42823,11 +43774,24 @@ func (m *GetNextChurningBlockByTopicIdResponse) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - m.BlockHeight |= int64(b&0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthQuery + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthQuery + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Forecasters = append(m.Forecasters, string(dAtA[iNdEx:postIndex])) + iNdEx = postIndex default: iNdEx = preIndex skippy, err := skipQuery(dAtA[iNdEx:]) @@ -42849,7 +43813,7 @@ func (m *GetNextChurningBlockByTopicIdResponse) Unmarshal(dAtA []byte) error { } return nil } -func (m *GetActiveReputersForTopicRequest) Unmarshal(dAtA []byte) error { +func (m *GetActiveInferersForTopicRequest) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -42872,10 +43836,10 @@ func (m *GetActiveReputersForTopicRequest) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: GetActiveReputersForTopicRequest: wiretype end group for non-group") + return fmt.Errorf("proto: GetActiveInferersForTopicRequest: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: GetActiveReputersForTopicRequest: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: GetActiveInferersForTopicRequest: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: @@ -42918,7 +43882,7 @@ func (m *GetActiveReputersForTopicRequest) Unmarshal(dAtA []byte) error { } return nil } -func (m *GetActiveReputersForTopicResponse) Unmarshal(dAtA []byte) error { +func (m *GetActiveInferersForTopicResponse) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -42941,15 +43905,15 @@ func (m *GetActiveReputersForTopicResponse) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: GetActiveReputersForTopicResponse: wiretype end group for non-group") + return fmt.Errorf("proto: GetActiveInferersForTopicResponse: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: GetActiveReputersForTopicResponse: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: GetActiveInferersForTopicResponse: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Reputers", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Inferers", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -42977,7 +43941,7 @@ func (m *GetActiveReputersForTopicResponse) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.Reputers = append(m.Reputers, string(dAtA[iNdEx:postIndex])) + m.Inferers = append(m.Inferers, string(dAtA[iNdEx:postIndex])) iNdEx = postIndex default: iNdEx = preIndex @@ -43000,7 +43964,7 @@ func (m *GetActiveReputersForTopicResponse) Unmarshal(dAtA []byte) error { } return nil } -func (m *GetActiveForecastersForTopicRequest) Unmarshal(dAtA []byte) error { +func (m *GetTopicInitialInfererEmaScoreRequest) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -43023,10 +43987,10 @@ func (m *GetActiveForecastersForTopicRequest) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: GetActiveForecastersForTopicRequest: wiretype end group for non-group") + return fmt.Errorf("proto: GetTopicInitialInfererEmaScoreRequest: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: GetActiveForecastersForTopicRequest: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: GetTopicInitialInfererEmaScoreRequest: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: @@ -43069,7 +44033,7 @@ func (m *GetActiveForecastersForTopicRequest) Unmarshal(dAtA []byte) error { } return nil } -func (m *GetActiveForecastersForTopicResponse) Unmarshal(dAtA []byte) error { +func (m *GetTopicInitialInfererEmaScoreResponse) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -43092,15 +44056,15 @@ func (m *GetActiveForecastersForTopicResponse) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: GetActiveForecastersForTopicResponse: wiretype end group for non-group") + return fmt.Errorf("proto: GetTopicInitialInfererEmaScoreResponse: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: GetActiveForecastersForTopicResponse: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: GetTopicInitialInfererEmaScoreResponse: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Forecasters", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Score", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -43128,7 +44092,9 @@ func (m *GetActiveForecastersForTopicResponse) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.Forecasters = append(m.Forecasters, string(dAtA[iNdEx:postIndex])) + if err := m.Score.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } iNdEx = postIndex default: iNdEx = preIndex @@ -43151,7 +44117,7 @@ func (m *GetActiveForecastersForTopicResponse) Unmarshal(dAtA []byte) error { } return nil } -func (m *GetActiveInferersForTopicRequest) Unmarshal(dAtA []byte) error { +func (m *GetTopicInitialForecasterEmaScoreRequest) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -43174,10 +44140,10 @@ func (m *GetActiveInferersForTopicRequest) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: GetActiveInferersForTopicRequest: wiretype end group for non-group") + return fmt.Errorf("proto: GetTopicInitialForecasterEmaScoreRequest: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: GetActiveInferersForTopicRequest: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: GetTopicInitialForecasterEmaScoreRequest: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: @@ -43220,7 +44186,7 @@ func (m *GetActiveInferersForTopicRequest) Unmarshal(dAtA []byte) error { } return nil } -func (m *GetActiveInferersForTopicResponse) Unmarshal(dAtA []byte) error { +func (m *GetTopicInitialForecasterEmaScoreResponse) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -43243,15 +44209,15 @@ func (m *GetActiveInferersForTopicResponse) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: GetActiveInferersForTopicResponse: wiretype end group for non-group") + return fmt.Errorf("proto: GetTopicInitialForecasterEmaScoreResponse: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: GetActiveInferersForTopicResponse: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: GetTopicInitialForecasterEmaScoreResponse: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Inferers", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Score", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -43279,7 +44245,9 @@ func (m *GetActiveInferersForTopicResponse) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.Inferers = append(m.Inferers, string(dAtA[iNdEx:postIndex])) + if err := m.Score.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } iNdEx = postIndex default: iNdEx = preIndex @@ -43302,7 +44270,7 @@ func (m *GetActiveInferersForTopicResponse) Unmarshal(dAtA []byte) error { } return nil } -func (m *GetTopicInitialInfererEmaScoreRequest) Unmarshal(dAtA []byte) error { +func (m *GetTopicInitialReputerEmaScoreRequest) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -43325,10 +44293,10 @@ func (m *GetTopicInitialInfererEmaScoreRequest) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: GetTopicInitialInfererEmaScoreRequest: wiretype end group for non-group") + return fmt.Errorf("proto: GetTopicInitialReputerEmaScoreRequest: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: GetTopicInitialInfererEmaScoreRequest: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: GetTopicInitialReputerEmaScoreRequest: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: @@ -43371,7 +44339,7 @@ func (m *GetTopicInitialInfererEmaScoreRequest) Unmarshal(dAtA []byte) error { } return nil } -func (m *GetTopicInitialInfererEmaScoreResponse) Unmarshal(dAtA []byte) error { +func (m *GetTopicInitialReputerEmaScoreResponse) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -43394,10 +44362,10 @@ func (m *GetTopicInitialInfererEmaScoreResponse) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: GetTopicInitialInfererEmaScoreResponse: wiretype end group for non-group") + return fmt.Errorf("proto: GetTopicInitialReputerEmaScoreResponse: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: GetTopicInitialInfererEmaScoreResponse: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: GetTopicInitialReputerEmaScoreResponse: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: @@ -43455,7 +44423,7 @@ func (m *GetTopicInitialInfererEmaScoreResponse) Unmarshal(dAtA []byte) error { } return nil } -func (m *GetTopicInitialForecasterEmaScoreRequest) Unmarshal(dAtA []byte) error { +func (m *GetLatestRegretStdNormRequest) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -43478,10 +44446,10 @@ func (m *GetTopicInitialForecasterEmaScoreRequest) Unmarshal(dAtA []byte) error fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: GetTopicInitialForecasterEmaScoreRequest: wiretype end group for non-group") + return fmt.Errorf("proto: GetLatestRegretStdNormRequest: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: GetTopicInitialForecasterEmaScoreRequest: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: GetLatestRegretStdNormRequest: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: @@ -43524,7 +44492,7 @@ func (m *GetTopicInitialForecasterEmaScoreRequest) Unmarshal(dAtA []byte) error } return nil } -func (m *GetTopicInitialForecasterEmaScoreResponse) Unmarshal(dAtA []byte) error { +func (m *GetLatestRegretStdNormResponse) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -43547,15 +44515,15 @@ func (m *GetTopicInitialForecasterEmaScoreResponse) Unmarshal(dAtA []byte) error fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: GetTopicInitialForecasterEmaScoreResponse: wiretype end group for non-group") + return fmt.Errorf("proto: GetLatestRegretStdNormResponse: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: GetTopicInitialForecasterEmaScoreResponse: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: GetLatestRegretStdNormResponse: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Score", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Value", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -43583,7 +44551,7 @@ func (m *GetTopicInitialForecasterEmaScoreResponse) Unmarshal(dAtA []byte) error if postIndex > l { return io.ErrUnexpectedEOF } - if err := m.Score.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + if err := m.Value.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err } iNdEx = postIndex @@ -43608,7 +44576,7 @@ func (m *GetTopicInitialForecasterEmaScoreResponse) Unmarshal(dAtA []byte) error } return nil } -func (m *GetTopicInitialReputerEmaScoreRequest) Unmarshal(dAtA []byte) error { +func (m *GetLatestInfererWeightRequest) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -43631,10 +44599,10 @@ func (m *GetTopicInitialReputerEmaScoreRequest) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: GetTopicInitialReputerEmaScoreRequest: wiretype end group for non-group") + return fmt.Errorf("proto: GetLatestInfererWeightRequest: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: GetTopicInitialReputerEmaScoreRequest: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: GetLatestInfererWeightRequest: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: @@ -43656,6 +44624,38 @@ func (m *GetTopicInitialReputerEmaScoreRequest) Unmarshal(dAtA []byte) error { break } } + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field ActorId", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowQuery + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthQuery + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthQuery + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.ActorId = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex default: iNdEx = preIndex skippy, err := skipQuery(dAtA[iNdEx:]) @@ -43677,7 +44677,7 @@ func (m *GetTopicInitialReputerEmaScoreRequest) Unmarshal(dAtA []byte) error { } return nil } -func (m *GetTopicInitialReputerEmaScoreResponse) Unmarshal(dAtA []byte) error { +func (m *GetLatestInfererWeightResponse) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -43700,15 +44700,15 @@ func (m *GetTopicInitialReputerEmaScoreResponse) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: GetTopicInitialReputerEmaScoreResponse: wiretype end group for non-group") + return fmt.Errorf("proto: GetLatestInfererWeightResponse: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: GetTopicInitialReputerEmaScoreResponse: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: GetLatestInfererWeightResponse: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Score", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Weight", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -43736,7 +44736,192 @@ func (m *GetTopicInitialReputerEmaScoreResponse) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - if err := m.Score.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + if err := m.Weight.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipQuery(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthQuery + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *GetLatestForecasterWeightRequest) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowQuery + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: GetLatestForecasterWeightRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: GetLatestForecasterWeightRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field TopicId", wireType) + } + m.TopicId = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowQuery + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.TopicId |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field ActorId", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowQuery + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthQuery + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthQuery + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.ActorId = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipQuery(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthQuery + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *GetLatestForecasterWeightResponse) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowQuery + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: GetLatestForecasterWeightResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: GetLatestForecasterWeightResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Weight", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowQuery + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthQuery + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthQuery + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if err := m.Weight.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err } iNdEx = postIndex diff --git a/x/emissions/types/query.pb.gw.go b/x/emissions/types/query.pb.gw.go index db5b85d96..5e1edca51 100644 --- a/x/emissions/types/query.pb.gw.go +++ b/x/emissions/types/query.pb.gw.go @@ -1,5 +1,5 @@ // Code generated by protoc-gen-grpc-gateway. DO NOT EDIT. -// source: emissions/v7/query.proto +// source: emissions/v8/query.proto /* Package types is a reverse proxy. @@ -6559,6 +6559,212 @@ func local_request_QueryService_GetTopicInitialReputerEmaScore_0(ctx context.Con } +func request_QueryService_GetLatestRegretStdNorm_0(ctx context.Context, marshaler runtime.Marshaler, client QueryServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq GetLatestRegretStdNormRequest + var metadata runtime.ServerMetadata + + var ( + val string + ok bool + err error + _ = err + ) + + val, ok = pathParams["topic_id"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "topic_id") + } + + protoReq.TopicId, err = runtime.Uint64(val) + + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "topic_id", err) + } + + msg, err := client.GetLatestRegretStdNorm(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) + return msg, metadata, err + +} + +func local_request_QueryService_GetLatestRegretStdNorm_0(ctx context.Context, marshaler runtime.Marshaler, server QueryServiceServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq GetLatestRegretStdNormRequest + var metadata runtime.ServerMetadata + + var ( + val string + ok bool + err error + _ = err + ) + + val, ok = pathParams["topic_id"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "topic_id") + } + + protoReq.TopicId, err = runtime.Uint64(val) + + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "topic_id", err) + } + + msg, err := server.GetLatestRegretStdNorm(ctx, &protoReq) + return msg, metadata, err + +} + +func request_QueryService_GetLatestInfererWeight_0(ctx context.Context, marshaler runtime.Marshaler, client QueryServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq GetLatestInfererWeightRequest + var metadata runtime.ServerMetadata + + var ( + val string + ok bool + err error + _ = err + ) + + val, ok = pathParams["topic_id"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "topic_id") + } + + protoReq.TopicId, err = runtime.Uint64(val) + + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "topic_id", err) + } + + val, ok = pathParams["actor_id"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "actor_id") + } + + protoReq.ActorId, err = runtime.String(val) + + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "actor_id", err) + } + + msg, err := client.GetLatestInfererWeight(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) + return msg, metadata, err + +} + +func local_request_QueryService_GetLatestInfererWeight_0(ctx context.Context, marshaler runtime.Marshaler, server QueryServiceServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq GetLatestInfererWeightRequest + var metadata runtime.ServerMetadata + + var ( + val string + ok bool + err error + _ = err + ) + + val, ok = pathParams["topic_id"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "topic_id") + } + + protoReq.TopicId, err = runtime.Uint64(val) + + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "topic_id", err) + } + + val, ok = pathParams["actor_id"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "actor_id") + } + + protoReq.ActorId, err = runtime.String(val) + + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "actor_id", err) + } + + msg, err := server.GetLatestInfererWeight(ctx, &protoReq) + return msg, metadata, err + +} + +func request_QueryService_GetLatestForecasterWeight_0(ctx context.Context, marshaler runtime.Marshaler, client QueryServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq GetLatestForecasterWeightRequest + var metadata runtime.ServerMetadata + + var ( + val string + ok bool + err error + _ = err + ) + + val, ok = pathParams["topic_id"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "topic_id") + } + + protoReq.TopicId, err = runtime.Uint64(val) + + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "topic_id", err) + } + + val, ok = pathParams["actor_id"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "actor_id") + } + + protoReq.ActorId, err = runtime.String(val) + + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "actor_id", err) + } + + msg, err := client.GetLatestForecasterWeight(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) + return msg, metadata, err + +} + +func local_request_QueryService_GetLatestForecasterWeight_0(ctx context.Context, marshaler runtime.Marshaler, server QueryServiceServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq GetLatestForecasterWeightRequest + var metadata runtime.ServerMetadata + + var ( + val string + ok bool + err error + _ = err + ) + + val, ok = pathParams["topic_id"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "topic_id") + } + + protoReq.TopicId, err = runtime.Uint64(val) + + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "topic_id", err) + } + + val, ok = pathParams["actor_id"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "actor_id") + } + + protoReq.ActorId, err = runtime.String(val) + + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "actor_id", err) + } + + msg, err := server.GetLatestForecasterWeight(ctx, &protoReq) + return msg, metadata, err + +} + // RegisterQueryServiceHandlerServer registers the http handlers for service QueryService to "mux". // UnaryRPC :call QueryServiceServer directly. // StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. @@ -8980,6 +9186,75 @@ func RegisterQueryServiceHandlerServer(ctx context.Context, mux *runtime.ServeMu }) + mux.Handle("GET", pattern_QueryService_GetLatestRegretStdNorm_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + ctx, cancel := context.WithCancel(req.Context()) + defer cancel() + var stream runtime.ServerTransportStream + ctx = grpc.NewContextWithServerTransportStream(ctx, &stream) + inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) + rctx, err := runtime.AnnotateIncomingContext(ctx, mux, req) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := local_request_QueryService_GetLatestRegretStdNorm_0(rctx, inboundMarshaler, server, req, pathParams) + md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer()) + ctx = runtime.NewServerMetadataContext(ctx, md) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + + forward_QueryService_GetLatestRegretStdNorm_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + + mux.Handle("GET", pattern_QueryService_GetLatestInfererWeight_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + ctx, cancel := context.WithCancel(req.Context()) + defer cancel() + var stream runtime.ServerTransportStream + ctx = grpc.NewContextWithServerTransportStream(ctx, &stream) + inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) + rctx, err := runtime.AnnotateIncomingContext(ctx, mux, req) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := local_request_QueryService_GetLatestInfererWeight_0(rctx, inboundMarshaler, server, req, pathParams) + md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer()) + ctx = runtime.NewServerMetadataContext(ctx, md) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + + forward_QueryService_GetLatestInfererWeight_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + + mux.Handle("GET", pattern_QueryService_GetLatestForecasterWeight_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + ctx, cancel := context.WithCancel(req.Context()) + defer cancel() + var stream runtime.ServerTransportStream + ctx = grpc.NewContextWithServerTransportStream(ctx, &stream) + inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) + rctx, err := runtime.AnnotateIncomingContext(ctx, mux, req) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := local_request_QueryService_GetLatestForecasterWeight_0(rctx, inboundMarshaler, server, req, pathParams) + md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer()) + ctx = runtime.NewServerMetadataContext(ctx, md) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + + forward_QueryService_GetLatestForecasterWeight_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + return nil } @@ -11121,219 +11396,285 @@ func RegisterQueryServiceHandlerClient(ctx context.Context, mux *runtime.ServeMu }) + mux.Handle("GET", pattern_QueryService_GetLatestRegretStdNorm_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + ctx, cancel := context.WithCancel(req.Context()) + defer cancel() + inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) + rctx, err := runtime.AnnotateContext(ctx, mux, req) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := request_QueryService_GetLatestRegretStdNorm_0(rctx, inboundMarshaler, client, req, pathParams) + ctx = runtime.NewServerMetadataContext(ctx, md) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + + forward_QueryService_GetLatestRegretStdNorm_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + + mux.Handle("GET", pattern_QueryService_GetLatestInfererWeight_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + ctx, cancel := context.WithCancel(req.Context()) + defer cancel() + inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) + rctx, err := runtime.AnnotateContext(ctx, mux, req) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := request_QueryService_GetLatestInfererWeight_0(rctx, inboundMarshaler, client, req, pathParams) + ctx = runtime.NewServerMetadataContext(ctx, md) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + + forward_QueryService_GetLatestInfererWeight_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + + mux.Handle("GET", pattern_QueryService_GetLatestForecasterWeight_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + ctx, cancel := context.WithCancel(req.Context()) + defer cancel() + inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) + rctx, err := runtime.AnnotateContext(ctx, mux, req) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := request_QueryService_GetLatestForecasterWeight_0(rctx, inboundMarshaler, client, req, pathParams) + ctx = runtime.NewServerMetadataContext(ctx, md) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + + forward_QueryService_GetLatestForecasterWeight_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + return nil } var ( - pattern_QueryService_GetParams_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2}, []string{"emissions", "v7", "params"}, "", runtime.AssumeColonVerbOpt(false))) + pattern_QueryService_GetParams_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2}, []string{"emissions", "v8", "params"}, "", runtime.AssumeColonVerbOpt(false))) + + pattern_QueryService_GetNextTopicId_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2}, []string{"emissions", "v8", "next_topic_id"}, "", runtime.AssumeColonVerbOpt(false))) + + pattern_QueryService_GetTopic_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 1, 0, 4, 1, 5, 3}, []string{"emissions", "v8", "topics", "topic_id"}, "", runtime.AssumeColonVerbOpt(false))) - pattern_QueryService_GetNextTopicId_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2}, []string{"emissions", "v7", "next_topic_id"}, "", runtime.AssumeColonVerbOpt(false))) + pattern_QueryService_GetWorkerLatestInferenceByTopicId_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 1, 0, 4, 1, 5, 3, 2, 4, 1, 0, 4, 1, 5, 5, 2, 6}, []string{"emissions", "v8", "topics", "topic_id", "workers", "worker_address", "latest_inference"}, "", runtime.AssumeColonVerbOpt(false))) - pattern_QueryService_GetTopic_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 1, 0, 4, 1, 5, 3}, []string{"emissions", "v7", "topics", "topic_id"}, "", runtime.AssumeColonVerbOpt(false))) + pattern_QueryService_GetInferencesAtBlock_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 1, 0, 4, 1, 5, 3, 1, 0, 4, 1, 5, 4}, []string{"emissions", "v8", "inferences", "topic_id", "block_height"}, "", runtime.AssumeColonVerbOpt(false))) - pattern_QueryService_GetWorkerLatestInferenceByTopicId_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 1, 0, 4, 1, 5, 3, 2, 4, 1, 0, 4, 1, 5, 5, 2, 6}, []string{"emissions", "v7", "topics", "topic_id", "workers", "worker_address", "latest_inference"}, "", runtime.AssumeColonVerbOpt(false))) + pattern_QueryService_GetLatestTopicInferences_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 1, 0, 4, 1, 5, 3}, []string{"emissions", "v8", "latest_inferences", "topic_id"}, "", runtime.AssumeColonVerbOpt(false))) - pattern_QueryService_GetInferencesAtBlock_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 1, 0, 4, 1, 5, 3, 1, 0, 4, 1, 5, 4}, []string{"emissions", "v7", "inferences", "topic_id", "block_height"}, "", runtime.AssumeColonVerbOpt(false))) + pattern_QueryService_GetForecastsAtBlock_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 1, 0, 4, 1, 5, 3, 1, 0, 4, 1, 5, 4}, []string{"emissions", "v8", "forecasts", "topic_id", "block_height"}, "", runtime.AssumeColonVerbOpt(false))) - pattern_QueryService_GetLatestTopicInferences_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 1, 0, 4, 1, 5, 3}, []string{"emissions", "v7", "latest_inferences", "topic_id"}, "", runtime.AssumeColonVerbOpt(false))) + pattern_QueryService_GetNetworkLossBundleAtBlock_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 1, 0, 4, 1, 5, 3, 1, 0, 4, 1, 5, 4}, []string{"emissions", "v8", "network_loss", "topic_id", "block_height"}, "", runtime.AssumeColonVerbOpt(false))) - pattern_QueryService_GetForecastsAtBlock_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 1, 0, 4, 1, 5, 3, 1, 0, 4, 1, 5, 4}, []string{"emissions", "v7", "forecasts", "topic_id", "block_height"}, "", runtime.AssumeColonVerbOpt(false))) + pattern_QueryService_GetTotalStake_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2}, []string{"emissions", "v8", "total_stake"}, "", runtime.AssumeColonVerbOpt(false))) - pattern_QueryService_GetNetworkLossBundleAtBlock_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 1, 0, 4, 1, 5, 3, 1, 0, 4, 1, 5, 4}, []string{"emissions", "v7", "network_loss", "topic_id", "block_height"}, "", runtime.AssumeColonVerbOpt(false))) + pattern_QueryService_GetReputerStakeInTopic_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 1, 0, 4, 1, 5, 3, 1, 0, 4, 1, 5, 4}, []string{"emissions", "v8", "reputer_stake", "address", "topic_id"}, "", runtime.AssumeColonVerbOpt(false))) - pattern_QueryService_GetTotalStake_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2}, []string{"emissions", "v7", "total_stake"}, "", runtime.AssumeColonVerbOpt(false))) + pattern_QueryService_GetMultiReputerStakeInTopic_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 1, 0, 4, 1, 5, 3}, []string{"emissions", "v8", "reputers_stakes", "topic_id"}, "", runtime.AssumeColonVerbOpt(false))) - pattern_QueryService_GetReputerStakeInTopic_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 1, 0, 4, 1, 5, 3, 1, 0, 4, 1, 5, 4}, []string{"emissions", "v7", "reputer_stake", "address", "topic_id"}, "", runtime.AssumeColonVerbOpt(false))) + pattern_QueryService_GetStakeFromReputerInTopicInSelf_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 1, 0, 4, 1, 5, 3, 1, 0, 4, 1, 5, 4}, []string{"emissions", "v8", "reputer_stake_self", "reputer_address", "topic_id"}, "", runtime.AssumeColonVerbOpt(false))) - pattern_QueryService_GetMultiReputerStakeInTopic_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 1, 0, 4, 1, 5, 3}, []string{"emissions", "v7", "reputers_stakes", "topic_id"}, "", runtime.AssumeColonVerbOpt(false))) + pattern_QueryService_GetDelegateStakeInTopicInReputer_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 1, 0, 4, 1, 5, 3, 1, 0, 4, 1, 5, 4}, []string{"emissions", "v8", "reputer_delegate_stake", "reputer_address", "topic_id"}, "", runtime.AssumeColonVerbOpt(false))) - pattern_QueryService_GetStakeFromReputerInTopicInSelf_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 1, 0, 4, 1, 5, 3, 1, 0, 4, 1, 5, 4}, []string{"emissions", "v7", "reputer_stake_self", "reputer_address", "topic_id"}, "", runtime.AssumeColonVerbOpt(false))) + pattern_QueryService_GetStakeFromDelegatorInTopicInReputer_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 1, 0, 4, 1, 5, 3, 1, 0, 4, 1, 5, 4, 1, 0, 4, 1, 5, 5}, []string{"emissions", "v8", "delegate_stake", "delegator_address", "reputer_address", "topic_id"}, "", runtime.AssumeColonVerbOpt(false))) - pattern_QueryService_GetDelegateStakeInTopicInReputer_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 1, 0, 4, 1, 5, 3, 1, 0, 4, 1, 5, 4}, []string{"emissions", "v7", "reputer_delegate_stake", "reputer_address", "topic_id"}, "", runtime.AssumeColonVerbOpt(false))) + pattern_QueryService_GetStakeFromDelegatorInTopic_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 1, 0, 4, 1, 5, 3, 1, 0, 4, 1, 5, 4}, []string{"emissions", "v8", "delegate_stake", "delegator_address", "topic_id"}, "", runtime.AssumeColonVerbOpt(false))) - pattern_QueryService_GetStakeFromDelegatorInTopicInReputer_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 1, 0, 4, 1, 5, 3, 1, 0, 4, 1, 5, 4, 1, 0, 4, 1, 5, 5}, []string{"emissions", "v7", "delegate_stake", "delegator_address", "reputer_address", "topic_id"}, "", runtime.AssumeColonVerbOpt(false))) + pattern_QueryService_GetTopicStake_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 1, 0, 4, 1, 5, 3}, []string{"emissions", "v8", "stake", "topic_id"}, "", runtime.AssumeColonVerbOpt(false))) - pattern_QueryService_GetStakeFromDelegatorInTopic_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 1, 0, 4, 1, 5, 3, 1, 0, 4, 1, 5, 4}, []string{"emissions", "v7", "delegate_stake", "delegator_address", "topic_id"}, "", runtime.AssumeColonVerbOpt(false))) + pattern_QueryService_GetStakeRemovalsUpUntilBlock_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 1, 0, 4, 1, 5, 3}, []string{"emissions", "v8", "stake_removals", "block_height"}, "", runtime.AssumeColonVerbOpt(false))) - pattern_QueryService_GetTopicStake_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 1, 0, 4, 1, 5, 3}, []string{"emissions", "v7", "stake", "topic_id"}, "", runtime.AssumeColonVerbOpt(false))) + pattern_QueryService_GetDelegateStakeRemovalsUpUntilBlock_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 1, 0, 4, 1, 5, 3}, []string{"emissions", "v8", "delegate_stake_removals", "block_height"}, "", runtime.AssumeColonVerbOpt(false))) - pattern_QueryService_GetStakeRemovalsUpUntilBlock_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 1, 0, 4, 1, 5, 3}, []string{"emissions", "v7", "stake_removals", "block_height"}, "", runtime.AssumeColonVerbOpt(false))) + pattern_QueryService_GetStakeRemovalInfo_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 1, 0, 4, 1, 5, 3, 1, 0, 4, 1, 5, 4}, []string{"emissions", "v8", "stake_removal", "topic_id", "reputer"}, "", runtime.AssumeColonVerbOpt(false))) - pattern_QueryService_GetDelegateStakeRemovalsUpUntilBlock_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 1, 0, 4, 1, 5, 3}, []string{"emissions", "v7", "delegate_stake_removals", "block_height"}, "", runtime.AssumeColonVerbOpt(false))) + pattern_QueryService_GetDelegateStakeRemovalInfo_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 1, 0, 4, 1, 5, 3, 1, 0, 4, 1, 5, 4, 1, 0, 4, 1, 5, 5}, []string{"emissions", "v8", "delegate_stake_removal", "topic_id", "delegator", "reputer"}, "", runtime.AssumeColonVerbOpt(false))) - pattern_QueryService_GetStakeRemovalInfo_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 1, 0, 4, 1, 5, 3, 1, 0, 4, 1, 5, 4}, []string{"emissions", "v7", "stake_removal", "topic_id", "reputer"}, "", runtime.AssumeColonVerbOpt(false))) + pattern_QueryService_GetWorkerNodeInfo_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 1, 0, 4, 1, 5, 3}, []string{"emissions", "v8", "worker", "address"}, "", runtime.AssumeColonVerbOpt(false))) - pattern_QueryService_GetDelegateStakeRemovalInfo_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 1, 0, 4, 1, 5, 3, 1, 0, 4, 1, 5, 4, 1, 0, 4, 1, 5, 5}, []string{"emissions", "v7", "delegate_stake_removal", "topic_id", "delegator", "reputer"}, "", runtime.AssumeColonVerbOpt(false))) + pattern_QueryService_GetReputerNodeInfo_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 1, 0, 4, 1, 5, 3}, []string{"emissions", "v8", "reputer", "address"}, "", runtime.AssumeColonVerbOpt(false))) - pattern_QueryService_GetWorkerNodeInfo_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 1, 0, 4, 1, 5, 3}, []string{"emissions", "v7", "worker", "address"}, "", runtime.AssumeColonVerbOpt(false))) + pattern_QueryService_IsWorkerRegisteredInTopicId_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 1, 0, 4, 1, 5, 3, 1, 0, 4, 1, 5, 4}, []string{"emissions", "v8", "worker_registered", "topic_id", "address"}, "", runtime.AssumeColonVerbOpt(false))) - pattern_QueryService_GetReputerNodeInfo_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 1, 0, 4, 1, 5, 3}, []string{"emissions", "v7", "reputer", "address"}, "", runtime.AssumeColonVerbOpt(false))) + pattern_QueryService_IsReputerRegisteredInTopicId_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 1, 0, 4, 1, 5, 3, 1, 0, 4, 1, 5, 4}, []string{"emissions", "v8", "reputer_registered", "topic_id", "address"}, "", runtime.AssumeColonVerbOpt(false))) - pattern_QueryService_IsWorkerRegisteredInTopicId_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 1, 0, 4, 1, 5, 3, 1, 0, 4, 1, 5, 4}, []string{"emissions", "v7", "worker_registered", "topic_id", "address"}, "", runtime.AssumeColonVerbOpt(false))) + pattern_QueryService_GetNetworkInferencesAtBlock_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 1, 0, 4, 1, 5, 3, 2, 4, 1, 0, 4, 1, 5, 5}, []string{"emissions", "v8", "network_inferences", "topic_id", "last_inference", "block_height_last_inference"}, "", runtime.AssumeColonVerbOpt(false))) - pattern_QueryService_IsReputerRegisteredInTopicId_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 1, 0, 4, 1, 5, 3, 1, 0, 4, 1, 5, 4}, []string{"emissions", "v7", "reputer_registered", "topic_id", "address"}, "", runtime.AssumeColonVerbOpt(false))) + pattern_QueryService_GetNetworkInferencesAtBlockOutlierResistant_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 1, 0, 4, 1, 5, 3, 2, 4, 1, 0, 4, 1, 5, 5}, []string{"emissions", "v8", "network_inferences_outlier_resistant", "topic_id", "last_inference", "block_height_last_inference"}, "", runtime.AssumeColonVerbOpt(false))) - pattern_QueryService_GetNetworkInferencesAtBlock_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 1, 0, 4, 1, 5, 3, 2, 4, 1, 0, 4, 1, 5, 5}, []string{"emissions", "v7", "network_inferences", "topic_id", "last_inference", "block_height_last_inference"}, "", runtime.AssumeColonVerbOpt(false))) + pattern_QueryService_GetLatestNetworkInferences_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 1, 0, 4, 1, 5, 3}, []string{"emissions", "v8", "latest_network_inferences", "topic_id"}, "", runtime.AssumeColonVerbOpt(false))) - pattern_QueryService_GetNetworkInferencesAtBlockOutlierResistant_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 1, 0, 4, 1, 5, 3, 2, 4, 1, 0, 4, 1, 5, 5}, []string{"emissions", "v7", "network_inferences_outlier_resistant", "topic_id", "last_inference", "block_height_last_inference"}, "", runtime.AssumeColonVerbOpt(false))) + pattern_QueryService_GetLatestNetworkInferencesOutlierResistant_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 1, 0, 4, 1, 5, 3}, []string{"emissions", "v8", "latest_network_inferences_outlier_resistant", "topic_id"}, "", runtime.AssumeColonVerbOpt(false))) - pattern_QueryService_GetLatestNetworkInferences_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 1, 0, 4, 1, 5, 3}, []string{"emissions", "v7", "latest_network_inferences", "topic_id"}, "", runtime.AssumeColonVerbOpt(false))) + pattern_QueryService_GetLatestAvailableNetworkInferences_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 1, 0, 4, 1, 5, 3}, []string{"emissions", "v8", "latest_available_network_inferences", "topic_id"}, "", runtime.AssumeColonVerbOpt(false))) - pattern_QueryService_GetLatestNetworkInferencesOutlierResistant_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 1, 0, 4, 1, 5, 3}, []string{"emissions", "v7", "latest_network_inferences_outlier_resistant", "topic_id"}, "", runtime.AssumeColonVerbOpt(false))) + pattern_QueryService_GetLatestAvailableNetworkInferencesOutlierResistant_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 1, 0, 4, 1, 5, 3}, []string{"emissions", "v8", "latest_available_network_inferences_outlier_resistant", "topic_id"}, "", runtime.AssumeColonVerbOpt(false))) - pattern_QueryService_GetLatestAvailableNetworkInferences_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 1, 0, 4, 1, 5, 3}, []string{"emissions", "v7", "latest_available_network_inferences", "topic_id"}, "", runtime.AssumeColonVerbOpt(false))) + pattern_QueryService_IsWorkerNonceUnfulfilled_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 1, 0, 4, 1, 5, 3, 1, 0, 4, 1, 5, 4}, []string{"emissions", "v8", "is_worker_nonce_unfulfilled", "topic_id", "block_height"}, "", runtime.AssumeColonVerbOpt(false))) - pattern_QueryService_GetLatestAvailableNetworkInferencesOutlierResistant_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 1, 0, 4, 1, 5, 3}, []string{"emissions", "v7", "latest_available_network_inferences_outlier_resistant", "topic_id"}, "", runtime.AssumeColonVerbOpt(false))) + pattern_QueryService_IsReputerNonceUnfulfilled_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 1, 0, 4, 1, 5, 3, 1, 0, 4, 1, 5, 4}, []string{"emissions", "v8", "is_reputer_nonce_unfulfilled", "topic_id", "block_height"}, "", runtime.AssumeColonVerbOpt(false))) - pattern_QueryService_IsWorkerNonceUnfulfilled_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 1, 0, 4, 1, 5, 3, 1, 0, 4, 1, 5, 4}, []string{"emissions", "v7", "is_worker_nonce_unfulfilled", "topic_id", "block_height"}, "", runtime.AssumeColonVerbOpt(false))) + pattern_QueryService_GetUnfulfilledWorkerNonces_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 1, 0, 4, 1, 5, 3}, []string{"emissions", "v8", "unfulfilled_worker_nonces", "topic_id"}, "", runtime.AssumeColonVerbOpt(false))) - pattern_QueryService_IsReputerNonceUnfulfilled_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 1, 0, 4, 1, 5, 3, 1, 0, 4, 1, 5, 4}, []string{"emissions", "v7", "is_reputer_nonce_unfulfilled", "topic_id", "block_height"}, "", runtime.AssumeColonVerbOpt(false))) + pattern_QueryService_GetUnfulfilledReputerNonces_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 1, 0, 4, 1, 5, 3}, []string{"emissions", "v8", "unfulfilled_reputer_nonces", "topic_id"}, "", runtime.AssumeColonVerbOpt(false))) - pattern_QueryService_GetUnfulfilledWorkerNonces_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 1, 0, 4, 1, 5, 3}, []string{"emissions", "v7", "unfulfilled_worker_nonces", "topic_id"}, "", runtime.AssumeColonVerbOpt(false))) + pattern_QueryService_GetInfererNetworkRegret_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 1, 0, 4, 1, 5, 3, 1, 0, 4, 1, 5, 4}, []string{"emissions", "v8", "inferer_network_regret", "topic_id", "actor_id"}, "", runtime.AssumeColonVerbOpt(false))) - pattern_QueryService_GetUnfulfilledReputerNonces_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 1, 0, 4, 1, 5, 3}, []string{"emissions", "v7", "unfulfilled_reputer_nonces", "topic_id"}, "", runtime.AssumeColonVerbOpt(false))) + pattern_QueryService_GetForecasterNetworkRegret_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 1, 0, 4, 1, 5, 3, 1, 0, 4, 1, 5, 4}, []string{"emissions", "v8", "forecaster_network_regret", "topic_id", "worker"}, "", runtime.AssumeColonVerbOpt(false))) - pattern_QueryService_GetInfererNetworkRegret_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 1, 0, 4, 1, 5, 3, 1, 0, 4, 1, 5, 4}, []string{"emissions", "v7", "inferer_network_regret", "topic_id", "actor_id"}, "", runtime.AssumeColonVerbOpt(false))) + pattern_QueryService_GetOneInForecasterNetworkRegret_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 1, 0, 4, 1, 5, 3, 1, 0, 4, 1, 5, 4, 1, 0, 4, 1, 5, 5}, []string{"emissions", "v8", "one_in_forecaster_network_regret", "topic_id", "forecaster", "inferer"}, "", runtime.AssumeColonVerbOpt(false))) - pattern_QueryService_GetForecasterNetworkRegret_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 1, 0, 4, 1, 5, 3, 1, 0, 4, 1, 5, 4}, []string{"emissions", "v7", "forecaster_network_regret", "topic_id", "worker"}, "", runtime.AssumeColonVerbOpt(false))) + pattern_QueryService_IsWhitelistAdmin_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 1, 0, 4, 1, 5, 3}, []string{"emissions", "v8", "whitelist_admin", "address"}, "", runtime.AssumeColonVerbOpt(false))) - pattern_QueryService_GetOneInForecasterNetworkRegret_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 1, 0, 4, 1, 5, 3, 1, 0, 4, 1, 5, 4, 1, 0, 4, 1, 5, 5}, []string{"emissions", "v7", "one_in_forecaster_network_regret", "topic_id", "forecaster", "inferer"}, "", runtime.AssumeColonVerbOpt(false))) + pattern_QueryService_GetTopicLastWorkerCommitInfo_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 1, 0, 4, 1, 5, 3}, []string{"emissions", "v8", "topic_last_worker_commit_info", "topic_id"}, "", runtime.AssumeColonVerbOpt(false))) - pattern_QueryService_IsWhitelistAdmin_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 1, 0, 4, 1, 5, 3}, []string{"emissions", "v7", "whitelist_admin", "address"}, "", runtime.AssumeColonVerbOpt(false))) + pattern_QueryService_GetTopicLastReputerCommitInfo_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 1, 0, 4, 1, 5, 3}, []string{"emissions", "v8", "topic_last_reputer_commit_info", "topic_id"}, "", runtime.AssumeColonVerbOpt(false))) - pattern_QueryService_GetTopicLastWorkerCommitInfo_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 1, 0, 4, 1, 5, 3}, []string{"emissions", "v7", "topic_last_worker_commit_info", "topic_id"}, "", runtime.AssumeColonVerbOpt(false))) + pattern_QueryService_GetTopicRewardNonce_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 1, 0, 4, 1, 5, 3}, []string{"emissions", "v8", "topic_reward_nonce", "topic_id"}, "", runtime.AssumeColonVerbOpt(false))) - pattern_QueryService_GetTopicLastReputerCommitInfo_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 1, 0, 4, 1, 5, 3}, []string{"emissions", "v7", "topic_last_reputer_commit_info", "topic_id"}, "", runtime.AssumeColonVerbOpt(false))) + pattern_QueryService_GetReputerLossBundlesAtBlock_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 1, 0, 4, 1, 5, 3, 1, 0, 4, 1, 5, 4}, []string{"emissions", "v8", "reputer_loss_bundles", "topic_id", "block_height"}, "", runtime.AssumeColonVerbOpt(false))) - pattern_QueryService_GetTopicRewardNonce_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 1, 0, 4, 1, 5, 3}, []string{"emissions", "v7", "topic_reward_nonce", "topic_id"}, "", runtime.AssumeColonVerbOpt(false))) + pattern_QueryService_GetStakeReputerAuthority_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 1, 0, 4, 1, 5, 3, 1, 0, 4, 1, 5, 4}, []string{"emissions", "v8", "stake_reputer_authority", "topic_id", "reputer"}, "", runtime.AssumeColonVerbOpt(false))) - pattern_QueryService_GetReputerLossBundlesAtBlock_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 1, 0, 4, 1, 5, 3, 1, 0, 4, 1, 5, 4}, []string{"emissions", "v7", "reputer_loss_bundles", "topic_id", "block_height"}, "", runtime.AssumeColonVerbOpt(false))) + pattern_QueryService_GetDelegateStakePlacement_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 1, 0, 4, 1, 5, 3, 1, 0, 4, 1, 5, 4, 1, 0, 4, 1, 5, 5}, []string{"emissions", "v8", "delegate_stake_placement", "topic_id", "delegator", "target"}, "", runtime.AssumeColonVerbOpt(false))) - pattern_QueryService_GetStakeReputerAuthority_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 1, 0, 4, 1, 5, 3, 1, 0, 4, 1, 5, 4}, []string{"emissions", "v7", "stake_reputer_authority", "topic_id", "reputer"}, "", runtime.AssumeColonVerbOpt(false))) + pattern_QueryService_GetDelegateStakeUponReputer_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 1, 0, 4, 1, 5, 3, 1, 0, 4, 1, 5, 4}, []string{"emissions", "v8", "delegate_stake_upon_reputer", "topic_id", "target"}, "", runtime.AssumeColonVerbOpt(false))) - pattern_QueryService_GetDelegateStakePlacement_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 1, 0, 4, 1, 5, 3, 1, 0, 4, 1, 5, 4, 1, 0, 4, 1, 5, 5}, []string{"emissions", "v7", "delegate_stake_placement", "topic_id", "delegator", "target"}, "", runtime.AssumeColonVerbOpt(false))) + pattern_QueryService_GetDelegateRewardPerShare_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 1, 0, 4, 1, 5, 3, 1, 0, 4, 1, 5, 4}, []string{"emissions", "v8", "delegate_reward_per_share", "topic_id", "reputer"}, "", runtime.AssumeColonVerbOpt(false))) - pattern_QueryService_GetDelegateStakeUponReputer_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 1, 0, 4, 1, 5, 3, 1, 0, 4, 1, 5, 4}, []string{"emissions", "v7", "delegate_stake_upon_reputer", "topic_id", "target"}, "", runtime.AssumeColonVerbOpt(false))) + pattern_QueryService_GetStakeRemovalForReputerAndTopicId_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 1, 0, 4, 1, 5, 3, 1, 0, 4, 1, 5, 4}, []string{"emissions", "v8", "stake_removal", "reputer", "topic_id"}, "", runtime.AssumeColonVerbOpt(false))) - pattern_QueryService_GetDelegateRewardPerShare_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 1, 0, 4, 1, 5, 3, 1, 0, 4, 1, 5, 4}, []string{"emissions", "v7", "delegate_reward_per_share", "topic_id", "reputer"}, "", runtime.AssumeColonVerbOpt(false))) + pattern_QueryService_GetDelegateStakeRemoval_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 1, 0, 4, 1, 5, 3, 1, 0, 4, 1, 5, 4, 1, 0, 4, 1, 5, 5, 1, 0, 4, 1, 5, 6}, []string{"emissions", "v8", "delegate_stake_removal", "block_height", "topic_id", "delegator", "reputer"}, "", runtime.AssumeColonVerbOpt(false))) - pattern_QueryService_GetStakeRemovalForReputerAndTopicId_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 1, 0, 4, 1, 5, 3, 1, 0, 4, 1, 5, 4}, []string{"emissions", "v7", "stake_removal", "reputer", "topic_id"}, "", runtime.AssumeColonVerbOpt(false))) + pattern_QueryService_GetPreviousTopicWeight_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 1, 0, 4, 1, 5, 3}, []string{"emissions", "v8", "previous_topic_weight", "topic_id"}, "", runtime.AssumeColonVerbOpt(false))) - pattern_QueryService_GetDelegateStakeRemoval_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 1, 0, 4, 1, 5, 3, 1, 0, 4, 1, 5, 4, 1, 0, 4, 1, 5, 5, 1, 0, 4, 1, 5, 6}, []string{"emissions", "v7", "delegate_stake_removal", "block_height", "topic_id", "delegator", "reputer"}, "", runtime.AssumeColonVerbOpt(false))) + pattern_QueryService_GetTotalSumPreviousTopicWeights_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2}, []string{"emissions", "v8", "sum_previous_total_topic_weight"}, "", runtime.AssumeColonVerbOpt(false))) - pattern_QueryService_GetPreviousTopicWeight_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 1, 0, 4, 1, 5, 3}, []string{"emissions", "v7", "previous_topic_weight", "topic_id"}, "", runtime.AssumeColonVerbOpt(false))) + pattern_QueryService_TopicExists_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 1, 0, 4, 1, 5, 3}, []string{"emissions", "v8", "topic_exists", "topic_id"}, "", runtime.AssumeColonVerbOpt(false))) - pattern_QueryService_GetTotalSumPreviousTopicWeights_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2}, []string{"emissions", "v7", "sum_previous_total_topic_weight"}, "", runtime.AssumeColonVerbOpt(false))) + pattern_QueryService_IsTopicActive_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 1, 0, 4, 1, 5, 3}, []string{"emissions", "v8", "is_topic_active", "topic_id"}, "", runtime.AssumeColonVerbOpt(false))) - pattern_QueryService_TopicExists_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 1, 0, 4, 1, 5, 3}, []string{"emissions", "v7", "topic_exists", "topic_id"}, "", runtime.AssumeColonVerbOpt(false))) + pattern_QueryService_GetTopicFeeRevenue_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 1, 0, 4, 1, 5, 3}, []string{"emissions", "v8", "topic_fee_revenue", "topic_id"}, "", runtime.AssumeColonVerbOpt(false))) - pattern_QueryService_IsTopicActive_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 1, 0, 4, 1, 5, 3}, []string{"emissions", "v7", "is_topic_active", "topic_id"}, "", runtime.AssumeColonVerbOpt(false))) + pattern_QueryService_GetInfererScoreEma_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 1, 0, 4, 1, 5, 3, 1, 0, 4, 1, 5, 4}, []string{"emissions", "v8", "inferer_score_ema", "topic_id", "inferer"}, "", runtime.AssumeColonVerbOpt(false))) - pattern_QueryService_GetTopicFeeRevenue_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 1, 0, 4, 1, 5, 3}, []string{"emissions", "v7", "topic_fee_revenue", "topic_id"}, "", runtime.AssumeColonVerbOpt(false))) + pattern_QueryService_GetForecasterScoreEma_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 1, 0, 4, 1, 5, 3, 1, 0, 4, 1, 5, 4}, []string{"emissions", "v8", "forecaster_score_ema", "topic_id", "forecaster"}, "", runtime.AssumeColonVerbOpt(false))) - pattern_QueryService_GetInfererScoreEma_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 1, 0, 4, 1, 5, 3, 1, 0, 4, 1, 5, 4}, []string{"emissions", "v7", "inferer_score_ema", "topic_id", "inferer"}, "", runtime.AssumeColonVerbOpt(false))) + pattern_QueryService_GetReputerScoreEma_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 1, 0, 4, 1, 5, 3, 1, 0, 4, 1, 5, 4}, []string{"emissions", "v8", "reputer_score_ema", "topic_id", "reputer"}, "", runtime.AssumeColonVerbOpt(false))) - pattern_QueryService_GetForecasterScoreEma_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 1, 0, 4, 1, 5, 3, 1, 0, 4, 1, 5, 4}, []string{"emissions", "v7", "forecaster_score_ema", "topic_id", "forecaster"}, "", runtime.AssumeColonVerbOpt(false))) + pattern_QueryService_GetInferenceScoresUntilBlock_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 1, 0, 4, 1, 5, 3, 1, 0, 4, 1, 5, 4}, []string{"emissions", "v8", "inference_scores_until_block", "topic_id", "block_height"}, "", runtime.AssumeColonVerbOpt(false))) - pattern_QueryService_GetReputerScoreEma_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 1, 0, 4, 1, 5, 3, 1, 0, 4, 1, 5, 4}, []string{"emissions", "v7", "reputer_score_ema", "topic_id", "reputer"}, "", runtime.AssumeColonVerbOpt(false))) + pattern_QueryService_GetPreviousTopicQuantileForecasterScoreEma_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 1, 0, 4, 1, 5, 3}, []string{"emissions", "v8", "topic_quantile_forecaster_score_ema", "topic_id"}, "", runtime.AssumeColonVerbOpt(false))) - pattern_QueryService_GetInferenceScoresUntilBlock_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 1, 0, 4, 1, 5, 3, 1, 0, 4, 1, 5, 4}, []string{"emissions", "v7", "inference_scores_until_block", "topic_id", "block_height"}, "", runtime.AssumeColonVerbOpt(false))) + pattern_QueryService_GetPreviousTopicQuantileInfererScoreEma_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 1, 0, 4, 1, 5, 3}, []string{"emissions", "v8", "topic_quantile_inferer_score_ema", "topic_id"}, "", runtime.AssumeColonVerbOpt(false))) - pattern_QueryService_GetPreviousTopicQuantileForecasterScoreEma_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 1, 0, 4, 1, 5, 3}, []string{"emissions", "v7", "topic_quantile_forecaster_score_ema", "topic_id"}, "", runtime.AssumeColonVerbOpt(false))) + pattern_QueryService_GetPreviousTopicQuantileReputerScoreEma_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 1, 0, 4, 1, 5, 3}, []string{"emissions", "v8", "topic_quantile_reputer_score_ema", "topic_id"}, "", runtime.AssumeColonVerbOpt(false))) - pattern_QueryService_GetPreviousTopicQuantileInfererScoreEma_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 1, 0, 4, 1, 5, 3}, []string{"emissions", "v7", "topic_quantile_inferer_score_ema", "topic_id"}, "", runtime.AssumeColonVerbOpt(false))) + pattern_QueryService_GetWorkerInferenceScoresAtBlock_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 1, 0, 4, 1, 5, 3, 1, 0, 4, 1, 5, 4}, []string{"emissions", "v8", "worker_inference_scores_at_block", "topic_id", "block_height"}, "", runtime.AssumeColonVerbOpt(false))) - pattern_QueryService_GetPreviousTopicQuantileReputerScoreEma_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 1, 0, 4, 1, 5, 3}, []string{"emissions", "v7", "topic_quantile_reputer_score_ema", "topic_id"}, "", runtime.AssumeColonVerbOpt(false))) + pattern_QueryService_GetCurrentLowestInfererScore_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 1, 0, 4, 1, 5, 3}, []string{"emissions", "v8", "current_lowest_inferer_score", "topic_id"}, "", runtime.AssumeColonVerbOpt(false))) - pattern_QueryService_GetWorkerInferenceScoresAtBlock_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 1, 0, 4, 1, 5, 3, 1, 0, 4, 1, 5, 4}, []string{"emissions", "v7", "worker_inference_scores_at_block", "topic_id", "block_height"}, "", runtime.AssumeColonVerbOpt(false))) + pattern_QueryService_GetForecastScoresUntilBlock_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 1, 0, 4, 1, 5, 3, 1, 0, 4, 1, 5, 4}, []string{"emissions", "v8", "forecast_scores_until_block", "topic_id", "block_height"}, "", runtime.AssumeColonVerbOpt(false))) - pattern_QueryService_GetCurrentLowestInfererScore_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 1, 0, 4, 1, 5, 3}, []string{"emissions", "v7", "current_lowest_inferer_score", "topic_id"}, "", runtime.AssumeColonVerbOpt(false))) + pattern_QueryService_GetWorkerForecastScoresAtBlock_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 1, 0, 4, 1, 5, 3, 1, 0, 4, 1, 5, 4}, []string{"emissions", "v8", "worker_forecast_scores_at_block", "topic_id", "block_height"}, "", runtime.AssumeColonVerbOpt(false))) - pattern_QueryService_GetForecastScoresUntilBlock_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 1, 0, 4, 1, 5, 3, 1, 0, 4, 1, 5, 4}, []string{"emissions", "v7", "forecast_scores_until_block", "topic_id", "block_height"}, "", runtime.AssumeColonVerbOpt(false))) + pattern_QueryService_GetCurrentLowestForecasterScore_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 1, 0, 4, 1, 5, 3}, []string{"emissions", "v8", "current_lowest_forecaster_score", "topic_id"}, "", runtime.AssumeColonVerbOpt(false))) - pattern_QueryService_GetWorkerForecastScoresAtBlock_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 1, 0, 4, 1, 5, 3, 1, 0, 4, 1, 5, 4}, []string{"emissions", "v7", "worker_forecast_scores_at_block", "topic_id", "block_height"}, "", runtime.AssumeColonVerbOpt(false))) + pattern_QueryService_GetReputersScoresAtBlock_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 1, 0, 4, 1, 5, 3, 1, 0, 4, 1, 5, 4}, []string{"emissions", "v8", "reputers_scores_at_block", "topic_id", "block_height"}, "", runtime.AssumeColonVerbOpt(false))) - pattern_QueryService_GetCurrentLowestForecasterScore_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 1, 0, 4, 1, 5, 3}, []string{"emissions", "v7", "current_lowest_forecaster_score", "topic_id"}, "", runtime.AssumeColonVerbOpt(false))) + pattern_QueryService_GetCurrentLowestReputerScore_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 1, 0, 4, 1, 5, 3}, []string{"emissions", "v8", "current_lowest_reputer_score", "topic_id"}, "", runtime.AssumeColonVerbOpt(false))) - pattern_QueryService_GetReputersScoresAtBlock_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 1, 0, 4, 1, 5, 3, 1, 0, 4, 1, 5, 4}, []string{"emissions", "v7", "reputers_scores_at_block", "topic_id", "block_height"}, "", runtime.AssumeColonVerbOpt(false))) + pattern_QueryService_GetListeningCoefficient_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 1, 0, 4, 1, 5, 3, 1, 0, 4, 1, 5, 4}, []string{"emissions", "v8", "listening_coefficient", "topic_id", "reputer"}, "", runtime.AssumeColonVerbOpt(false))) - pattern_QueryService_GetCurrentLowestReputerScore_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 1, 0, 4, 1, 5, 3}, []string{"emissions", "v7", "current_lowest_reputer_score", "topic_id"}, "", runtime.AssumeColonVerbOpt(false))) + pattern_QueryService_GetPreviousReputerRewardFraction_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 1, 0, 4, 1, 5, 3, 1, 0, 4, 1, 5, 4}, []string{"emissions", "v8", "previous_reputer_reward_fraction", "topic_id", "reputer"}, "", runtime.AssumeColonVerbOpt(false))) - pattern_QueryService_GetListeningCoefficient_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 1, 0, 4, 1, 5, 3, 1, 0, 4, 1, 5, 4}, []string{"emissions", "v7", "listening_coefficient", "topic_id", "reputer"}, "", runtime.AssumeColonVerbOpt(false))) + pattern_QueryService_GetPreviousInferenceRewardFraction_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 1, 0, 4, 1, 5, 3, 1, 0, 4, 1, 5, 4}, []string{"emissions", "v8", "previous_inference_reward_fraction", "topic_id", "worker"}, "", runtime.AssumeColonVerbOpt(false))) - pattern_QueryService_GetPreviousReputerRewardFraction_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 1, 0, 4, 1, 5, 3, 1, 0, 4, 1, 5, 4}, []string{"emissions", "v7", "previous_reputer_reward_fraction", "topic_id", "reputer"}, "", runtime.AssumeColonVerbOpt(false))) + pattern_QueryService_GetPreviousForecastRewardFraction_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 1, 0, 4, 1, 5, 3, 1, 0, 4, 1, 5, 4}, []string{"emissions", "v8", "previous_forecast_reward_fraction", "topic_id", "worker"}, "", runtime.AssumeColonVerbOpt(false))) - pattern_QueryService_GetPreviousInferenceRewardFraction_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 1, 0, 4, 1, 5, 3, 1, 0, 4, 1, 5, 4}, []string{"emissions", "v7", "previous_inference_reward_fraction", "topic_id", "worker"}, "", runtime.AssumeColonVerbOpt(false))) + pattern_QueryService_GetPreviousPercentageRewardToStakedReputers_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2}, []string{"emissions", "v8", "previous_percentage_reward_to_staked_reputers"}, "", runtime.AssumeColonVerbOpt(false))) - pattern_QueryService_GetPreviousForecastRewardFraction_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 1, 0, 4, 1, 5, 3, 1, 0, 4, 1, 5, 4}, []string{"emissions", "v7", "previous_forecast_reward_fraction", "topic_id", "worker"}, "", runtime.AssumeColonVerbOpt(false))) + pattern_QueryService_GetTotalRewardToDistribute_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2}, []string{"emissions", "v8", "total_reward_to_distribute"}, "", runtime.AssumeColonVerbOpt(false))) - pattern_QueryService_GetPreviousPercentageRewardToStakedReputers_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2}, []string{"emissions", "v7", "previous_percentage_reward_to_staked_reputers"}, "", runtime.AssumeColonVerbOpt(false))) + pattern_QueryService_GetNaiveInfererNetworkRegret_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2}, []string{"emissions", "v8", "native_inferer_network_regret"}, "", runtime.AssumeColonVerbOpt(false))) - pattern_QueryService_GetTotalRewardToDistribute_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2}, []string{"emissions", "v7", "total_reward_to_distribute"}, "", runtime.AssumeColonVerbOpt(false))) + pattern_QueryService_GetOneOutInfererInfererNetworkRegret_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2}, []string{"emissions", "v8", "one_out_inferer_inferer_network_regret"}, "", runtime.AssumeColonVerbOpt(false))) - pattern_QueryService_GetNaiveInfererNetworkRegret_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2}, []string{"emissions", "v7", "native_inferer_network_regret"}, "", runtime.AssumeColonVerbOpt(false))) + pattern_QueryService_GetOneOutInfererForecasterNetworkRegret_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2}, []string{"emissions", "v8", "one_out_inferer_forecaster_network_regret"}, "", runtime.AssumeColonVerbOpt(false))) - pattern_QueryService_GetOneOutInfererInfererNetworkRegret_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2}, []string{"emissions", "v7", "one_out_inferer_inferer_network_regret"}, "", runtime.AssumeColonVerbOpt(false))) + pattern_QueryService_GetOneOutForecasterInfererNetworkRegret_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2}, []string{"emissions", "v8", "one_out_forecaster_inferer_network_regret"}, "", runtime.AssumeColonVerbOpt(false))) - pattern_QueryService_GetOneOutInfererForecasterNetworkRegret_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2}, []string{"emissions", "v7", "one_out_inferer_forecaster_network_regret"}, "", runtime.AssumeColonVerbOpt(false))) + pattern_QueryService_GetOneOutForecasterForecasterNetworkRegret_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2}, []string{"emissions", "v8", "one_out_forecaster_forecaster_network_regret"}, "", runtime.AssumeColonVerbOpt(false))) - pattern_QueryService_GetOneOutForecasterInfererNetworkRegret_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2}, []string{"emissions", "v7", "one_out_forecaster_inferer_network_regret"}, "", runtime.AssumeColonVerbOpt(false))) + pattern_QueryService_GetActiveTopicsAtBlock_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 1, 0, 4, 1, 5, 3}, []string{"emissions", "v8", "active_topics_at_block", "block_height"}, "", runtime.AssumeColonVerbOpt(false))) - pattern_QueryService_GetOneOutForecasterForecasterNetworkRegret_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2}, []string{"emissions", "v7", "one_out_forecaster_forecaster_network_regret"}, "", runtime.AssumeColonVerbOpt(false))) + pattern_QueryService_GetNextChurningBlockByTopicId_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 1, 0, 4, 1, 5, 3}, []string{"emissions", "v8", "next_churning_block_by_topic_id", "topic_id"}, "", runtime.AssumeColonVerbOpt(false))) - pattern_QueryService_GetActiveTopicsAtBlock_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 1, 0, 4, 1, 5, 3}, []string{"emissions", "v7", "active_topics_at_block", "block_height"}, "", runtime.AssumeColonVerbOpt(false))) + pattern_QueryService_GetCountInfererInclusionsInTopic_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 1, 0, 4, 1, 5, 3, 1, 0, 4, 1, 5, 4}, []string{"emissions", "v8", "count_inferer_inclusions_in_topic", "topic_id", "inferer"}, "", runtime.AssumeColonVerbOpt(false))) - pattern_QueryService_GetNextChurningBlockByTopicId_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 1, 0, 4, 1, 5, 3}, []string{"emissions", "v7", "next_churning_block_by_topic_id", "topic_id"}, "", runtime.AssumeColonVerbOpt(false))) + pattern_QueryService_GetCountForecasterInclusionsInTopic_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 1, 0, 4, 1, 5, 3, 1, 0, 4, 1, 5, 4}, []string{"emissions", "v8", "count_forecaster_inclusions_in_topic", "topic_id", "forecaster"}, "", runtime.AssumeColonVerbOpt(false))) - pattern_QueryService_GetCountInfererInclusionsInTopic_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 1, 0, 4, 1, 5, 3, 1, 0, 4, 1, 5, 4}, []string{"emissions", "v7", "count_inferer_inclusions_in_topic", "topic_id", "inferer"}, "", runtime.AssumeColonVerbOpt(false))) + pattern_QueryService_GetActiveReputersForTopic_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 1, 0, 4, 1, 5, 3}, []string{"emissions", "v8", "active_reputers", "topic_id"}, "", runtime.AssumeColonVerbOpt(false))) - pattern_QueryService_GetCountForecasterInclusionsInTopic_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 1, 0, 4, 1, 5, 3, 1, 0, 4, 1, 5, 4}, []string{"emissions", "v7", "count_forecaster_inclusions_in_topic", "topic_id", "forecaster"}, "", runtime.AssumeColonVerbOpt(false))) + pattern_QueryService_GetActiveForecastersForTopic_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 1, 0, 4, 1, 5, 3}, []string{"emissions", "v8", "active_forecasters", "topic_id"}, "", runtime.AssumeColonVerbOpt(false))) - pattern_QueryService_GetActiveReputersForTopic_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 1, 0, 4, 1, 5, 3}, []string{"emissions", "v7", "active_reputers", "topic_id"}, "", runtime.AssumeColonVerbOpt(false))) + pattern_QueryService_GetActiveInferersForTopic_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 1, 0, 4, 1, 5, 3}, []string{"emissions", "v8", "active_inferers", "topic_id"}, "", runtime.AssumeColonVerbOpt(false))) - pattern_QueryService_GetActiveForecastersForTopic_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 1, 0, 4, 1, 5, 3}, []string{"emissions", "v7", "active_forecasters", "topic_id"}, "", runtime.AssumeColonVerbOpt(false))) + pattern_QueryService_IsWhitelistedGlobalWorker_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 1, 0, 4, 1, 5, 3}, []string{"emissions", "v8", "is_whitelisted_global_worker", "address"}, "", runtime.AssumeColonVerbOpt(false))) - pattern_QueryService_GetActiveInferersForTopic_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 1, 0, 4, 1, 5, 3}, []string{"emissions", "v7", "active_inferers", "topic_id"}, "", runtime.AssumeColonVerbOpt(false))) + pattern_QueryService_IsWhitelistedGlobalReputer_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 1, 0, 4, 1, 5, 3}, []string{"emissions", "v8", "is_whitelisted_global_reputer", "address"}, "", runtime.AssumeColonVerbOpt(false))) - pattern_QueryService_IsWhitelistedGlobalWorker_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 1, 0, 4, 1, 5, 3}, []string{"emissions", "v7", "is_whitelisted_global_worker", "address"}, "", runtime.AssumeColonVerbOpt(false))) + pattern_QueryService_IsWhitelistedGlobalAdmin_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 1, 0, 4, 1, 5, 3}, []string{"emissions", "v8", "is_whitelisted_global_admin", "address"}, "", runtime.AssumeColonVerbOpt(false))) - pattern_QueryService_IsWhitelistedGlobalReputer_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 1, 0, 4, 1, 5, 3}, []string{"emissions", "v7", "is_whitelisted_global_reputer", "address"}, "", runtime.AssumeColonVerbOpt(false))) + pattern_QueryService_IsTopicWorkerWhitelistEnabled_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 1, 0, 4, 1, 5, 3}, []string{"emissions", "v8", "is_topic_worker_whitelist_enabled", "topic_id"}, "", runtime.AssumeColonVerbOpt(false))) - pattern_QueryService_IsWhitelistedGlobalAdmin_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 1, 0, 4, 1, 5, 3}, []string{"emissions", "v7", "is_whitelisted_global_admin", "address"}, "", runtime.AssumeColonVerbOpt(false))) + pattern_QueryService_IsTopicReputerWhitelistEnabled_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 1, 0, 4, 1, 5, 3}, []string{"emissions", "v8", "is_topic_reputer_whitelist_enabled", "topic_id"}, "", runtime.AssumeColonVerbOpt(false))) - pattern_QueryService_IsTopicWorkerWhitelistEnabled_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 1, 0, 4, 1, 5, 3}, []string{"emissions", "v7", "is_topic_worker_whitelist_enabled", "topic_id"}, "", runtime.AssumeColonVerbOpt(false))) + pattern_QueryService_IsWhitelistedTopicCreator_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 1, 0, 4, 1, 5, 3}, []string{"emissions", "v8", "is_whitelisted_topic_creator", "address"}, "", runtime.AssumeColonVerbOpt(false))) - pattern_QueryService_IsTopicReputerWhitelistEnabled_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 1, 0, 4, 1, 5, 3}, []string{"emissions", "v7", "is_topic_reputer_whitelist_enabled", "topic_id"}, "", runtime.AssumeColonVerbOpt(false))) + pattern_QueryService_IsWhitelistedGlobalActor_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 1, 0, 4, 1, 5, 3}, []string{"emissions", "v8", "is_whitelisted_global_actor", "address"}, "", runtime.AssumeColonVerbOpt(false))) - pattern_QueryService_IsWhitelistedTopicCreator_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 1, 0, 4, 1, 5, 3}, []string{"emissions", "v7", "is_whitelisted_topic_creator", "address"}, "", runtime.AssumeColonVerbOpt(false))) + pattern_QueryService_IsWhitelistedTopicWorker_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 1, 0, 4, 1, 5, 3, 1, 0, 4, 1, 5, 4}, []string{"emissions", "v8", "is_whitelisted_topic_worker", "topic_id", "address"}, "", runtime.AssumeColonVerbOpt(false))) - pattern_QueryService_IsWhitelistedGlobalActor_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 1, 0, 4, 1, 5, 3}, []string{"emissions", "v7", "is_whitelisted_global_actor", "address"}, "", runtime.AssumeColonVerbOpt(false))) + pattern_QueryService_IsWhitelistedTopicReputer_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 1, 0, 4, 1, 5, 3, 1, 0, 4, 1, 5, 4}, []string{"emissions", "v8", "is_whitelisted_topic_reputer", "topic_id", "address"}, "", runtime.AssumeColonVerbOpt(false))) - pattern_QueryService_IsWhitelistedTopicWorker_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 1, 0, 4, 1, 5, 3, 1, 0, 4, 1, 5, 4}, []string{"emissions", "v7", "is_whitelisted_topic_worker", "topic_id", "address"}, "", runtime.AssumeColonVerbOpt(false))) + pattern_QueryService_CanUpdateAllGlobalWhitelists_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 1, 0, 4, 1, 5, 3}, []string{"emissions", "v8", "can_update_all_global_whitelists", "address"}, "", runtime.AssumeColonVerbOpt(false))) - pattern_QueryService_IsWhitelistedTopicReputer_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 1, 0, 4, 1, 5, 3, 1, 0, 4, 1, 5, 4}, []string{"emissions", "v7", "is_whitelisted_topic_reputer", "topic_id", "address"}, "", runtime.AssumeColonVerbOpt(false))) + pattern_QueryService_CanUpdateGlobalWorkerWhitelist_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 1, 0, 4, 1, 5, 3}, []string{"emissions", "v8", "can_update_global_worker_whitelist", "address"}, "", runtime.AssumeColonVerbOpt(false))) - pattern_QueryService_CanUpdateAllGlobalWhitelists_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 1, 0, 4, 1, 5, 3}, []string{"emissions", "v7", "can_update_all_global_whitelists", "address"}, "", runtime.AssumeColonVerbOpt(false))) + pattern_QueryService_CanUpdateGlobalReputerWhitelist_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 1, 0, 4, 1, 5, 3}, []string{"emissions", "v8", "can_update_global_reputer_whitelist", "address"}, "", runtime.AssumeColonVerbOpt(false))) - pattern_QueryService_CanUpdateGlobalWorkerWhitelist_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 1, 0, 4, 1, 5, 3}, []string{"emissions", "v7", "can_update_global_worker_whitelist", "address"}, "", runtime.AssumeColonVerbOpt(false))) + pattern_QueryService_CanUpdateParams_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 1, 0, 4, 1, 5, 3}, []string{"emissions", "v8", "can_update_params", "address"}, "", runtime.AssumeColonVerbOpt(false))) - pattern_QueryService_CanUpdateGlobalReputerWhitelist_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 1, 0, 4, 1, 5, 3}, []string{"emissions", "v7", "can_update_global_reputer_whitelist", "address"}, "", runtime.AssumeColonVerbOpt(false))) + pattern_QueryService_CanUpdateTopicWhitelist_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 1, 0, 4, 1, 5, 3, 1, 0, 4, 1, 5, 4}, []string{"emissions", "v8", "can_update_topic_whitelist", "topic_id", "address"}, "", runtime.AssumeColonVerbOpt(false))) - pattern_QueryService_CanUpdateParams_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 1, 0, 4, 1, 5, 3}, []string{"emissions", "v7", "can_update_params", "address"}, "", runtime.AssumeColonVerbOpt(false))) + pattern_QueryService_CanCreateTopic_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 1, 0, 4, 1, 5, 3}, []string{"emissions", "v8", "can_create_topic", "address"}, "", runtime.AssumeColonVerbOpt(false))) - pattern_QueryService_CanUpdateTopicWhitelist_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 1, 0, 4, 1, 5, 3, 1, 0, 4, 1, 5, 4}, []string{"emissions", "v7", "can_update_topic_whitelist", "topic_id", "address"}, "", runtime.AssumeColonVerbOpt(false))) + pattern_QueryService_CanSubmitWorkerPayload_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 1, 0, 4, 1, 5, 3, 1, 0, 4, 1, 5, 4}, []string{"emissions", "v8", "can_submit_worker_payload", "topic_id", "address"}, "", runtime.AssumeColonVerbOpt(false))) - pattern_QueryService_CanCreateTopic_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 1, 0, 4, 1, 5, 3}, []string{"emissions", "v7", "can_create_topic", "address"}, "", runtime.AssumeColonVerbOpt(false))) + pattern_QueryService_CanSubmitReputerPayload_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 1, 0, 4, 1, 5, 3, 1, 0, 4, 1, 5, 4}, []string{"emissions", "v8", "can_submit_reputer_payload", "topic_id", "address"}, "", runtime.AssumeColonVerbOpt(false))) - pattern_QueryService_CanSubmitWorkerPayload_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 1, 0, 4, 1, 5, 3, 1, 0, 4, 1, 5, 4}, []string{"emissions", "v7", "can_submit_worker_payload", "topic_id", "address"}, "", runtime.AssumeColonVerbOpt(false))) + pattern_QueryService_GetTopicInitialInfererEmaScore_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 1, 0, 4, 1, 5, 3}, []string{"emissions", "v8", "initial_inferer_ema_score", "topic_id"}, "", runtime.AssumeColonVerbOpt(false))) - pattern_QueryService_CanSubmitReputerPayload_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 1, 0, 4, 1, 5, 3, 1, 0, 4, 1, 5, 4}, []string{"emissions", "v7", "can_submit_reputer_payload", "topic_id", "address"}, "", runtime.AssumeColonVerbOpt(false))) + pattern_QueryService_GetTopicInitialForecasterEmaScore_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 1, 0, 4, 1, 5, 3}, []string{"emissions", "v8", "initial_forecaster_ema_score", "topic_id"}, "", runtime.AssumeColonVerbOpt(false))) - pattern_QueryService_GetTopicInitialInfererEmaScore_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 1, 0, 4, 1, 5, 3}, []string{"emissions", "v7", "initial_inferer_ema_score", "topic_id"}, "", runtime.AssumeColonVerbOpt(false))) + pattern_QueryService_GetTopicInitialReputerEmaScore_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 1, 0, 4, 1, 5, 3}, []string{"emissions", "v8", "initial_reputer_ema_score", "topic_id"}, "", runtime.AssumeColonVerbOpt(false))) - pattern_QueryService_GetTopicInitialForecasterEmaScore_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 1, 0, 4, 1, 5, 3}, []string{"emissions", "v7", "initial_forecaster_ema_score", "topic_id"}, "", runtime.AssumeColonVerbOpt(false))) + pattern_QueryService_GetLatestRegretStdNorm_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 1, 0, 4, 1, 5, 3}, []string{"emissions", "v8", "latest_regret_stdnorm", "topic_id"}, "", runtime.AssumeColonVerbOpt(false))) - pattern_QueryService_GetTopicInitialReputerEmaScore_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 1, 0, 4, 1, 5, 3}, []string{"emissions", "v7", "initial_reputer_ema_score", "topic_id"}, "", runtime.AssumeColonVerbOpt(false))) + pattern_QueryService_GetLatestInfererWeight_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 1, 0, 4, 1, 5, 3, 1, 0, 4, 1, 5, 4}, []string{"emissions", "v8", "latest_inferer_weight", "topic_id", "actor_id"}, "", runtime.AssumeColonVerbOpt(false))) + + pattern_QueryService_GetLatestForecasterWeight_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 1, 0, 4, 1, 5, 3, 1, 0, 4, 1, 5, 4}, []string{"emissions", "v8", "latest_forecaster_weight", "topic_id", "actor_id"}, "", runtime.AssumeColonVerbOpt(false))) ) var ( @@ -11546,4 +11887,10 @@ var ( forward_QueryService_GetTopicInitialForecasterEmaScore_0 = runtime.ForwardResponseMessage forward_QueryService_GetTopicInitialReputerEmaScore_0 = runtime.ForwardResponseMessage + + forward_QueryService_GetLatestRegretStdNorm_0 = runtime.ForwardResponseMessage + + forward_QueryService_GetLatestInfererWeight_0 = runtime.ForwardResponseMessage + + forward_QueryService_GetLatestForecasterWeight_0 = runtime.ForwardResponseMessage ) diff --git a/x/emissions/types/tx.pb.go b/x/emissions/types/tx.pb.go index 0d134e1f5..daf335c16 100644 --- a/x/emissions/types/tx.pb.go +++ b/x/emissions/types/tx.pb.go @@ -1,5 +1,5 @@ // Code generated by protoc-gen-gogo. DO NOT EDIT. -// source: emissions/v7/tx.proto +// source: emissions/v8/tx.proto package types @@ -93,13 +93,14 @@ type OptionalParams struct { GlobalReputerWhitelistEnabled []bool `protobuf:"varint,57,rep,packed,name=global_reputer_whitelist_enabled,json=globalReputerWhitelistEnabled,proto3" json:"global_reputer_whitelist_enabled,omitempty"` GlobalAdminWhitelistAppended []bool `protobuf:"varint,58,rep,packed,name=global_admin_whitelist_appended,json=globalAdminWhitelistAppended,proto3" json:"global_admin_whitelist_appended,omitempty"` MaxWhitelistInputArrayLength []uint64 `protobuf:"varint,59,rep,packed,name=max_whitelist_input_array_length,json=maxWhitelistInputArrayLength,proto3" json:"max_whitelist_input_array_length,omitempty"` + MinWeightThresholdForStdnorm []github_com_allora_network_allora_chain_math.Dec `protobuf:"bytes,60,rep,name=min_weight_threshold_for_stdnorm,json=minWeightThresholdForStdnorm,proto3,customtype=github.com/allora-network/allora-chain/math.Dec" json:"min_weight_threshold_for_stdnorm"` } func (m *OptionalParams) Reset() { *m = OptionalParams{} } func (m *OptionalParams) String() string { return proto.CompactTextString(m) } func (*OptionalParams) ProtoMessage() {} func (*OptionalParams) Descriptor() ([]byte, []int) { - return fileDescriptor_25da82f6ba30300b, []int{0} + return fileDescriptor_c17fac3e9d48321b, []int{0} } func (m *OptionalParams) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -319,7 +320,7 @@ func (m *UpdateParamsRequest) Reset() { *m = UpdateParamsRequest{} } func (m *UpdateParamsRequest) String() string { return proto.CompactTextString(m) } func (*UpdateParamsRequest) ProtoMessage() {} func (*UpdateParamsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_25da82f6ba30300b, []int{1} + return fileDescriptor_c17fac3e9d48321b, []int{1} } func (m *UpdateParamsRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -369,7 +370,7 @@ func (m *UpdateParamsResponse) Reset() { *m = UpdateParamsResponse{} } func (m *UpdateParamsResponse) String() string { return proto.CompactTextString(m) } func (*UpdateParamsResponse) ProtoMessage() {} func (*UpdateParamsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_25da82f6ba30300b, []int{2} + return fileDescriptor_c17fac3e9d48321b, []int{2} } func (m *UpdateParamsResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -422,7 +423,7 @@ func (m *CreateNewTopicRequest) Reset() { *m = CreateNewTopicRequest{} } func (m *CreateNewTopicRequest) String() string { return proto.CompactTextString(m) } func (*CreateNewTopicRequest) ProtoMessage() {} func (*CreateNewTopicRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_25da82f6ba30300b, []int{3} + return fileDescriptor_c17fac3e9d48321b, []int{3} } func (m *CreateNewTopicRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -522,7 +523,7 @@ func (m *CreateNewTopicResponse) Reset() { *m = CreateNewTopicResponse{} func (m *CreateNewTopicResponse) String() string { return proto.CompactTextString(m) } func (*CreateNewTopicResponse) ProtoMessage() {} func (*CreateNewTopicResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_25da82f6ba30300b, []int{4} + return fileDescriptor_c17fac3e9d48321b, []int{4} } func (m *CreateNewTopicResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -567,7 +568,7 @@ func (m *InsertReputerPayloadRequest) Reset() { *m = InsertReputerPayloa func (m *InsertReputerPayloadRequest) String() string { return proto.CompactTextString(m) } func (*InsertReputerPayloadRequest) ProtoMessage() {} func (*InsertReputerPayloadRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_25da82f6ba30300b, []int{5} + return fileDescriptor_c17fac3e9d48321b, []int{5} } func (m *InsertReputerPayloadRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -617,7 +618,7 @@ func (m *InsertReputerPayloadResponse) Reset() { *m = InsertReputerPaylo func (m *InsertReputerPayloadResponse) String() string { return proto.CompactTextString(m) } func (*InsertReputerPayloadResponse) ProtoMessage() {} func (*InsertReputerPayloadResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_25da82f6ba30300b, []int{6} + return fileDescriptor_c17fac3e9d48321b, []int{6} } func (m *InsertReputerPayloadResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -655,7 +656,7 @@ func (m *InsertWorkerPayloadRequest) Reset() { *m = InsertWorkerPayloadR func (m *InsertWorkerPayloadRequest) String() string { return proto.CompactTextString(m) } func (*InsertWorkerPayloadRequest) ProtoMessage() {} func (*InsertWorkerPayloadRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_25da82f6ba30300b, []int{7} + return fileDescriptor_c17fac3e9d48321b, []int{7} } func (m *InsertWorkerPayloadRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -705,7 +706,7 @@ func (m *InsertWorkerPayloadResponse) Reset() { *m = InsertWorkerPayload func (m *InsertWorkerPayloadResponse) String() string { return proto.CompactTextString(m) } func (*InsertWorkerPayloadResponse) ProtoMessage() {} func (*InsertWorkerPayloadResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_25da82f6ba30300b, []int{8} + return fileDescriptor_c17fac3e9d48321b, []int{8} } func (m *InsertWorkerPayloadResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -745,7 +746,7 @@ func (m *RegisterRequest) Reset() { *m = RegisterRequest{} } func (m *RegisterRequest) String() string { return proto.CompactTextString(m) } func (*RegisterRequest) ProtoMessage() {} func (*RegisterRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_25da82f6ba30300b, []int{9} + return fileDescriptor_c17fac3e9d48321b, []int{9} } func (m *RegisterRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -811,7 +812,7 @@ func (m *RegisterResponse) Reset() { *m = RegisterResponse{} } func (m *RegisterResponse) String() string { return proto.CompactTextString(m) } func (*RegisterResponse) ProtoMessage() {} func (*RegisterResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_25da82f6ba30300b, []int{10} + return fileDescriptor_c17fac3e9d48321b, []int{10} } func (m *RegisterResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -864,7 +865,7 @@ func (m *RemoveRegistrationRequest) Reset() { *m = RemoveRegistrationReq func (m *RemoveRegistrationRequest) String() string { return proto.CompactTextString(m) } func (*RemoveRegistrationRequest) ProtoMessage() {} func (*RemoveRegistrationRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_25da82f6ba30300b, []int{11} + return fileDescriptor_c17fac3e9d48321b, []int{11} } func (m *RemoveRegistrationRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -923,7 +924,7 @@ func (m *RemoveRegistrationResponse) Reset() { *m = RemoveRegistrationRe func (m *RemoveRegistrationResponse) String() string { return proto.CompactTextString(m) } func (*RemoveRegistrationResponse) ProtoMessage() {} func (*RemoveRegistrationResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_25da82f6ba30300b, []int{12} + return fileDescriptor_c17fac3e9d48321b, []int{12} } func (m *RemoveRegistrationResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -976,7 +977,7 @@ func (m *AddStakeRequest) Reset() { *m = AddStakeRequest{} } func (m *AddStakeRequest) String() string { return proto.CompactTextString(m) } func (*AddStakeRequest) ProtoMessage() {} func (*AddStakeRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_25da82f6ba30300b, []int{13} + return fileDescriptor_c17fac3e9d48321b, []int{13} } func (m *AddStakeRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1026,7 +1027,7 @@ func (m *AddStakeResponse) Reset() { *m = AddStakeResponse{} } func (m *AddStakeResponse) String() string { return proto.CompactTextString(m) } func (*AddStakeResponse) ProtoMessage() {} func (*AddStakeResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_25da82f6ba30300b, []int{14} + return fileDescriptor_c17fac3e9d48321b, []int{14} } func (m *AddStakeResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1065,7 +1066,7 @@ func (m *RemoveStakeRequest) Reset() { *m = RemoveStakeRequest{} } func (m *RemoveStakeRequest) String() string { return proto.CompactTextString(m) } func (*RemoveStakeRequest) ProtoMessage() {} func (*RemoveStakeRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_25da82f6ba30300b, []int{15} + return fileDescriptor_c17fac3e9d48321b, []int{15} } func (m *RemoveStakeRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1115,7 +1116,7 @@ func (m *RemoveStakeResponse) Reset() { *m = RemoveStakeResponse{} } func (m *RemoveStakeResponse) String() string { return proto.CompactTextString(m) } func (*RemoveStakeResponse) ProtoMessage() {} func (*RemoveStakeResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_25da82f6ba30300b, []int{16} + return fileDescriptor_c17fac3e9d48321b, []int{16} } func (m *RemoveStakeResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1153,7 +1154,7 @@ func (m *CancelRemoveStakeRequest) Reset() { *m = CancelRemoveStakeReque func (m *CancelRemoveStakeRequest) String() string { return proto.CompactTextString(m) } func (*CancelRemoveStakeRequest) ProtoMessage() {} func (*CancelRemoveStakeRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_25da82f6ba30300b, []int{17} + return fileDescriptor_c17fac3e9d48321b, []int{17} } func (m *CancelRemoveStakeRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1203,7 +1204,7 @@ func (m *CancelRemoveStakeResponse) Reset() { *m = CancelRemoveStakeResp func (m *CancelRemoveStakeResponse) String() string { return proto.CompactTextString(m) } func (*CancelRemoveStakeResponse) ProtoMessage() {} func (*CancelRemoveStakeResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_25da82f6ba30300b, []int{18} + return fileDescriptor_c17fac3e9d48321b, []int{18} } func (m *CancelRemoveStakeResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1243,7 +1244,7 @@ func (m *DelegateStakeRequest) Reset() { *m = DelegateStakeRequest{} } func (m *DelegateStakeRequest) String() string { return proto.CompactTextString(m) } func (*DelegateStakeRequest) ProtoMessage() {} func (*DelegateStakeRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_25da82f6ba30300b, []int{19} + return fileDescriptor_c17fac3e9d48321b, []int{19} } func (m *DelegateStakeRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1300,7 +1301,7 @@ func (m *DelegateStakeResponse) Reset() { *m = DelegateStakeResponse{} } func (m *DelegateStakeResponse) String() string { return proto.CompactTextString(m) } func (*DelegateStakeResponse) ProtoMessage() {} func (*DelegateStakeResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_25da82f6ba30300b, []int{20} + return fileDescriptor_c17fac3e9d48321b, []int{20} } func (m *DelegateStakeResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1340,7 +1341,7 @@ func (m *RemoveDelegateStakeRequest) Reset() { *m = RemoveDelegateStakeR func (m *RemoveDelegateStakeRequest) String() string { return proto.CompactTextString(m) } func (*RemoveDelegateStakeRequest) ProtoMessage() {} func (*RemoveDelegateStakeRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_25da82f6ba30300b, []int{21} + return fileDescriptor_c17fac3e9d48321b, []int{21} } func (m *RemoveDelegateStakeRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1397,7 +1398,7 @@ func (m *RemoveDelegateStakeResponse) Reset() { *m = RemoveDelegateStake func (m *RemoveDelegateStakeResponse) String() string { return proto.CompactTextString(m) } func (*RemoveDelegateStakeResponse) ProtoMessage() {} func (*RemoveDelegateStakeResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_25da82f6ba30300b, []int{22} + return fileDescriptor_c17fac3e9d48321b, []int{22} } func (m *RemoveDelegateStakeResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1437,7 +1438,7 @@ func (m *CancelRemoveDelegateStakeRequest) Reset() { *m = CancelRemoveDe func (m *CancelRemoveDelegateStakeRequest) String() string { return proto.CompactTextString(m) } func (*CancelRemoveDelegateStakeRequest) ProtoMessage() {} func (*CancelRemoveDelegateStakeRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_25da82f6ba30300b, []int{23} + return fileDescriptor_c17fac3e9d48321b, []int{23} } func (m *CancelRemoveDelegateStakeRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1501,7 +1502,7 @@ func (m *CancelRemoveDelegateStakeResponse) Reset() { *m = CancelRemoveD func (m *CancelRemoveDelegateStakeResponse) String() string { return proto.CompactTextString(m) } func (*CancelRemoveDelegateStakeResponse) ProtoMessage() {} func (*CancelRemoveDelegateStakeResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_25da82f6ba30300b, []int{24} + return fileDescriptor_c17fac3e9d48321b, []int{24} } func (m *CancelRemoveDelegateStakeResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1540,7 +1541,7 @@ func (m *RewardDelegateStakeRequest) Reset() { *m = RewardDelegateStakeR func (m *RewardDelegateStakeRequest) String() string { return proto.CompactTextString(m) } func (*RewardDelegateStakeRequest) ProtoMessage() {} func (*RewardDelegateStakeRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_25da82f6ba30300b, []int{25} + return fileDescriptor_c17fac3e9d48321b, []int{25} } func (m *RewardDelegateStakeRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1597,7 +1598,7 @@ func (m *RewardDelegateStakeResponse) Reset() { *m = RewardDelegateStake func (m *RewardDelegateStakeResponse) String() string { return proto.CompactTextString(m) } func (*RewardDelegateStakeResponse) ProtoMessage() {} func (*RewardDelegateStakeResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_25da82f6ba30300b, []int{26} + return fileDescriptor_c17fac3e9d48321b, []int{26} } func (m *RewardDelegateStakeResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1638,7 +1639,7 @@ func (m *FundTopicRequest) Reset() { *m = FundTopicRequest{} } func (m *FundTopicRequest) String() string { return proto.CompactTextString(m) } func (*FundTopicRequest) ProtoMessage() {} func (*FundTopicRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_25da82f6ba30300b, []int{27} + return fileDescriptor_c17fac3e9d48321b, []int{27} } func (m *FundTopicRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1688,7 +1689,7 @@ func (m *FundTopicResponse) Reset() { *m = FundTopicResponse{} } func (m *FundTopicResponse) String() string { return proto.CompactTextString(m) } func (*FundTopicResponse) ProtoMessage() {} func (*FundTopicResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_25da82f6ba30300b, []int{28} + return fileDescriptor_c17fac3e9d48321b, []int{28} } func (m *FundTopicResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1726,7 +1727,7 @@ func (m *AddToWhitelistAdminRequest) Reset() { *m = AddToWhitelistAdminR func (m *AddToWhitelistAdminRequest) String() string { return proto.CompactTextString(m) } func (*AddToWhitelistAdminRequest) ProtoMessage() {} func (*AddToWhitelistAdminRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_25da82f6ba30300b, []int{29} + return fileDescriptor_c17fac3e9d48321b, []int{29} } func (m *AddToWhitelistAdminRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1776,7 +1777,7 @@ func (m *AddToWhitelistAdminResponse) Reset() { *m = AddToWhitelistAdmin func (m *AddToWhitelistAdminResponse) String() string { return proto.CompactTextString(m) } func (*AddToWhitelistAdminResponse) ProtoMessage() {} func (*AddToWhitelistAdminResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_25da82f6ba30300b, []int{30} + return fileDescriptor_c17fac3e9d48321b, []int{30} } func (m *AddToWhitelistAdminResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1814,7 +1815,7 @@ func (m *RemoveFromWhitelistAdminRequest) Reset() { *m = RemoveFromWhite func (m *RemoveFromWhitelistAdminRequest) String() string { return proto.CompactTextString(m) } func (*RemoveFromWhitelistAdminRequest) ProtoMessage() {} func (*RemoveFromWhitelistAdminRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_25da82f6ba30300b, []int{31} + return fileDescriptor_c17fac3e9d48321b, []int{31} } func (m *RemoveFromWhitelistAdminRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1864,7 +1865,7 @@ func (m *RemoveFromWhitelistAdminResponse) Reset() { *m = RemoveFromWhit func (m *RemoveFromWhitelistAdminResponse) String() string { return proto.CompactTextString(m) } func (*RemoveFromWhitelistAdminResponse) ProtoMessage() {} func (*RemoveFromWhitelistAdminResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_25da82f6ba30300b, []int{32} + return fileDescriptor_c17fac3e9d48321b, []int{32} } func (m *RemoveFromWhitelistAdminResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1902,7 +1903,7 @@ func (m *EnableTopicWorkerWhitelistRequest) Reset() { *m = EnableTopicWo func (m *EnableTopicWorkerWhitelistRequest) String() string { return proto.CompactTextString(m) } func (*EnableTopicWorkerWhitelistRequest) ProtoMessage() {} func (*EnableTopicWorkerWhitelistRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_25da82f6ba30300b, []int{33} + return fileDescriptor_c17fac3e9d48321b, []int{33} } func (m *EnableTopicWorkerWhitelistRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1952,7 +1953,7 @@ func (m *EnableTopicWorkerWhitelistResponse) Reset() { *m = EnableTopicW func (m *EnableTopicWorkerWhitelistResponse) String() string { return proto.CompactTextString(m) } func (*EnableTopicWorkerWhitelistResponse) ProtoMessage() {} func (*EnableTopicWorkerWhitelistResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_25da82f6ba30300b, []int{34} + return fileDescriptor_c17fac3e9d48321b, []int{34} } func (m *EnableTopicWorkerWhitelistResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1990,7 +1991,7 @@ func (m *DisableTopicWorkerWhitelistRequest) Reset() { *m = DisableTopic func (m *DisableTopicWorkerWhitelistRequest) String() string { return proto.CompactTextString(m) } func (*DisableTopicWorkerWhitelistRequest) ProtoMessage() {} func (*DisableTopicWorkerWhitelistRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_25da82f6ba30300b, []int{35} + return fileDescriptor_c17fac3e9d48321b, []int{35} } func (m *DisableTopicWorkerWhitelistRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -2040,7 +2041,7 @@ func (m *DisableTopicWorkerWhitelistResponse) Reset() { *m = DisableTopi func (m *DisableTopicWorkerWhitelistResponse) String() string { return proto.CompactTextString(m) } func (*DisableTopicWorkerWhitelistResponse) ProtoMessage() {} func (*DisableTopicWorkerWhitelistResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_25da82f6ba30300b, []int{36} + return fileDescriptor_c17fac3e9d48321b, []int{36} } func (m *DisableTopicWorkerWhitelistResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -2078,7 +2079,7 @@ func (m *EnableTopicReputerWhitelistRequest) Reset() { *m = EnableTopicR func (m *EnableTopicReputerWhitelistRequest) String() string { return proto.CompactTextString(m) } func (*EnableTopicReputerWhitelistRequest) ProtoMessage() {} func (*EnableTopicReputerWhitelistRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_25da82f6ba30300b, []int{37} + return fileDescriptor_c17fac3e9d48321b, []int{37} } func (m *EnableTopicReputerWhitelistRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -2128,7 +2129,7 @@ func (m *EnableTopicReputerWhitelistResponse) Reset() { *m = EnableTopic func (m *EnableTopicReputerWhitelistResponse) String() string { return proto.CompactTextString(m) } func (*EnableTopicReputerWhitelistResponse) ProtoMessage() {} func (*EnableTopicReputerWhitelistResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_25da82f6ba30300b, []int{38} + return fileDescriptor_c17fac3e9d48321b, []int{38} } func (m *EnableTopicReputerWhitelistResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -2166,7 +2167,7 @@ func (m *DisableTopicReputerWhitelistRequest) Reset() { *m = DisableTopi func (m *DisableTopicReputerWhitelistRequest) String() string { return proto.CompactTextString(m) } func (*DisableTopicReputerWhitelistRequest) ProtoMessage() {} func (*DisableTopicReputerWhitelistRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_25da82f6ba30300b, []int{39} + return fileDescriptor_c17fac3e9d48321b, []int{39} } func (m *DisableTopicReputerWhitelistRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -2216,7 +2217,7 @@ func (m *DisableTopicReputerWhitelistResponse) Reset() { *m = DisableTop func (m *DisableTopicReputerWhitelistResponse) String() string { return proto.CompactTextString(m) } func (*DisableTopicReputerWhitelistResponse) ProtoMessage() {} func (*DisableTopicReputerWhitelistResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_25da82f6ba30300b, []int{40} + return fileDescriptor_c17fac3e9d48321b, []int{40} } func (m *DisableTopicReputerWhitelistResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -2254,7 +2255,7 @@ func (m *AddToGlobalWhitelistRequest) Reset() { *m = AddToGlobalWhitelis func (m *AddToGlobalWhitelistRequest) String() string { return proto.CompactTextString(m) } func (*AddToGlobalWhitelistRequest) ProtoMessage() {} func (*AddToGlobalWhitelistRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_25da82f6ba30300b, []int{41} + return fileDescriptor_c17fac3e9d48321b, []int{41} } func (m *AddToGlobalWhitelistRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -2304,7 +2305,7 @@ func (m *AddToGlobalWhitelistResponse) Reset() { *m = AddToGlobalWhiteli func (m *AddToGlobalWhitelistResponse) String() string { return proto.CompactTextString(m) } func (*AddToGlobalWhitelistResponse) ProtoMessage() {} func (*AddToGlobalWhitelistResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_25da82f6ba30300b, []int{42} + return fileDescriptor_c17fac3e9d48321b, []int{42} } func (m *AddToGlobalWhitelistResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -2342,7 +2343,7 @@ func (m *RemoveFromGlobalWhitelistRequest) Reset() { *m = RemoveFromGlob func (m *RemoveFromGlobalWhitelistRequest) String() string { return proto.CompactTextString(m) } func (*RemoveFromGlobalWhitelistRequest) ProtoMessage() {} func (*RemoveFromGlobalWhitelistRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_25da82f6ba30300b, []int{43} + return fileDescriptor_c17fac3e9d48321b, []int{43} } func (m *RemoveFromGlobalWhitelistRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -2392,7 +2393,7 @@ func (m *RemoveFromGlobalWhitelistResponse) Reset() { *m = RemoveFromGlo func (m *RemoveFromGlobalWhitelistResponse) String() string { return proto.CompactTextString(m) } func (*RemoveFromGlobalWhitelistResponse) ProtoMessage() {} func (*RemoveFromGlobalWhitelistResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_25da82f6ba30300b, []int{44} + return fileDescriptor_c17fac3e9d48321b, []int{44} } func (m *RemoveFromGlobalWhitelistResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -2430,7 +2431,7 @@ func (m *AddToTopicCreatorWhitelistRequest) Reset() { *m = AddToTopicCre func (m *AddToTopicCreatorWhitelistRequest) String() string { return proto.CompactTextString(m) } func (*AddToTopicCreatorWhitelistRequest) ProtoMessage() {} func (*AddToTopicCreatorWhitelistRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_25da82f6ba30300b, []int{45} + return fileDescriptor_c17fac3e9d48321b, []int{45} } func (m *AddToTopicCreatorWhitelistRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -2480,7 +2481,7 @@ func (m *AddToTopicCreatorWhitelistResponse) Reset() { *m = AddToTopicCr func (m *AddToTopicCreatorWhitelistResponse) String() string { return proto.CompactTextString(m) } func (*AddToTopicCreatorWhitelistResponse) ProtoMessage() {} func (*AddToTopicCreatorWhitelistResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_25da82f6ba30300b, []int{46} + return fileDescriptor_c17fac3e9d48321b, []int{46} } func (m *AddToTopicCreatorWhitelistResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -2518,7 +2519,7 @@ func (m *AddToGlobalWorkerWhitelistRequest) Reset() { *m = AddToGlobalWo func (m *AddToGlobalWorkerWhitelistRequest) String() string { return proto.CompactTextString(m) } func (*AddToGlobalWorkerWhitelistRequest) ProtoMessage() {} func (*AddToGlobalWorkerWhitelistRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_25da82f6ba30300b, []int{47} + return fileDescriptor_c17fac3e9d48321b, []int{47} } func (m *AddToGlobalWorkerWhitelistRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -2568,7 +2569,7 @@ func (m *AddToGlobalWorkerWhitelistResponse) Reset() { *m = AddToGlobalW func (m *AddToGlobalWorkerWhitelistResponse) String() string { return proto.CompactTextString(m) } func (*AddToGlobalWorkerWhitelistResponse) ProtoMessage() {} func (*AddToGlobalWorkerWhitelistResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_25da82f6ba30300b, []int{48} + return fileDescriptor_c17fac3e9d48321b, []int{48} } func (m *AddToGlobalWorkerWhitelistResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -2608,7 +2609,7 @@ func (m *RemoveFromGlobalWorkerWhitelistRequest) Reset() { func (m *RemoveFromGlobalWorkerWhitelistRequest) String() string { return proto.CompactTextString(m) } func (*RemoveFromGlobalWorkerWhitelistRequest) ProtoMessage() {} func (*RemoveFromGlobalWorkerWhitelistRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_25da82f6ba30300b, []int{49} + return fileDescriptor_c17fac3e9d48321b, []int{49} } func (m *RemoveFromGlobalWorkerWhitelistRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -2660,7 +2661,7 @@ func (m *RemoveFromGlobalWorkerWhitelistResponse) Reset() { func (m *RemoveFromGlobalWorkerWhitelistResponse) String() string { return proto.CompactTextString(m) } func (*RemoveFromGlobalWorkerWhitelistResponse) ProtoMessage() {} func (*RemoveFromGlobalWorkerWhitelistResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_25da82f6ba30300b, []int{50} + return fileDescriptor_c17fac3e9d48321b, []int{50} } func (m *RemoveFromGlobalWorkerWhitelistResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -2698,7 +2699,7 @@ func (m *AddToGlobalReputerWhitelistRequest) Reset() { *m = AddToGlobalR func (m *AddToGlobalReputerWhitelistRequest) String() string { return proto.CompactTextString(m) } func (*AddToGlobalReputerWhitelistRequest) ProtoMessage() {} func (*AddToGlobalReputerWhitelistRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_25da82f6ba30300b, []int{51} + return fileDescriptor_c17fac3e9d48321b, []int{51} } func (m *AddToGlobalReputerWhitelistRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -2748,7 +2749,7 @@ func (m *AddToGlobalReputerWhitelistResponse) Reset() { *m = AddToGlobal func (m *AddToGlobalReputerWhitelistResponse) String() string { return proto.CompactTextString(m) } func (*AddToGlobalReputerWhitelistResponse) ProtoMessage() {} func (*AddToGlobalReputerWhitelistResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_25da82f6ba30300b, []int{52} + return fileDescriptor_c17fac3e9d48321b, []int{52} } func (m *AddToGlobalReputerWhitelistResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -2788,7 +2789,7 @@ func (m *RemoveFromGlobalReputerWhitelistRequest) Reset() { func (m *RemoveFromGlobalReputerWhitelistRequest) String() string { return proto.CompactTextString(m) } func (*RemoveFromGlobalReputerWhitelistRequest) ProtoMessage() {} func (*RemoveFromGlobalReputerWhitelistRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_25da82f6ba30300b, []int{53} + return fileDescriptor_c17fac3e9d48321b, []int{53} } func (m *RemoveFromGlobalReputerWhitelistRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -2840,7 +2841,7 @@ func (m *RemoveFromGlobalReputerWhitelistResponse) Reset() { func (m *RemoveFromGlobalReputerWhitelistResponse) String() string { return proto.CompactTextString(m) } func (*RemoveFromGlobalReputerWhitelistResponse) ProtoMessage() {} func (*RemoveFromGlobalReputerWhitelistResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_25da82f6ba30300b, []int{54} + return fileDescriptor_c17fac3e9d48321b, []int{54} } func (m *RemoveFromGlobalReputerWhitelistResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -2878,7 +2879,7 @@ func (m *AddToGlobalAdminWhitelistRequest) Reset() { *m = AddToGlobalAdm func (m *AddToGlobalAdminWhitelistRequest) String() string { return proto.CompactTextString(m) } func (*AddToGlobalAdminWhitelistRequest) ProtoMessage() {} func (*AddToGlobalAdminWhitelistRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_25da82f6ba30300b, []int{55} + return fileDescriptor_c17fac3e9d48321b, []int{55} } func (m *AddToGlobalAdminWhitelistRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -2928,7 +2929,7 @@ func (m *AddToGlobalAdminWhitelistResponse) Reset() { *m = AddToGlobalAd func (m *AddToGlobalAdminWhitelistResponse) String() string { return proto.CompactTextString(m) } func (*AddToGlobalAdminWhitelistResponse) ProtoMessage() {} func (*AddToGlobalAdminWhitelistResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_25da82f6ba30300b, []int{56} + return fileDescriptor_c17fac3e9d48321b, []int{56} } func (m *AddToGlobalAdminWhitelistResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -2966,7 +2967,7 @@ func (m *RemoveFromGlobalAdminWhitelistRequest) Reset() { *m = RemoveFro func (m *RemoveFromGlobalAdminWhitelistRequest) String() string { return proto.CompactTextString(m) } func (*RemoveFromGlobalAdminWhitelistRequest) ProtoMessage() {} func (*RemoveFromGlobalAdminWhitelistRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_25da82f6ba30300b, []int{57} + return fileDescriptor_c17fac3e9d48321b, []int{57} } func (m *RemoveFromGlobalAdminWhitelistRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -3018,7 +3019,7 @@ func (m *RemoveFromGlobalAdminWhitelistResponse) Reset() { func (m *RemoveFromGlobalAdminWhitelistResponse) String() string { return proto.CompactTextString(m) } func (*RemoveFromGlobalAdminWhitelistResponse) ProtoMessage() {} func (*RemoveFromGlobalAdminWhitelistResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_25da82f6ba30300b, []int{58} + return fileDescriptor_c17fac3e9d48321b, []int{58} } func (m *RemoveFromGlobalAdminWhitelistResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -3056,7 +3057,7 @@ func (m *BulkAddToGlobalWorkerWhitelistRequest) Reset() { *m = BulkAddTo func (m *BulkAddToGlobalWorkerWhitelistRequest) String() string { return proto.CompactTextString(m) } func (*BulkAddToGlobalWorkerWhitelistRequest) ProtoMessage() {} func (*BulkAddToGlobalWorkerWhitelistRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_25da82f6ba30300b, []int{59} + return fileDescriptor_c17fac3e9d48321b, []int{59} } func (m *BulkAddToGlobalWorkerWhitelistRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -3108,7 +3109,7 @@ func (m *BulkAddToGlobalWorkerWhitelistResponse) Reset() { func (m *BulkAddToGlobalWorkerWhitelistResponse) String() string { return proto.CompactTextString(m) } func (*BulkAddToGlobalWorkerWhitelistResponse) ProtoMessage() {} func (*BulkAddToGlobalWorkerWhitelistResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_25da82f6ba30300b, []int{60} + return fileDescriptor_c17fac3e9d48321b, []int{60} } func (m *BulkAddToGlobalWorkerWhitelistResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -3150,7 +3151,7 @@ func (m *BulkRemoveFromGlobalWorkerWhitelistRequest) String() string { } func (*BulkRemoveFromGlobalWorkerWhitelistRequest) ProtoMessage() {} func (*BulkRemoveFromGlobalWorkerWhitelistRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_25da82f6ba30300b, []int{61} + return fileDescriptor_c17fac3e9d48321b, []int{61} } func (m *BulkRemoveFromGlobalWorkerWhitelistRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -3204,7 +3205,7 @@ func (m *BulkRemoveFromGlobalWorkerWhitelistResponse) String() string { } func (*BulkRemoveFromGlobalWorkerWhitelistResponse) ProtoMessage() {} func (*BulkRemoveFromGlobalWorkerWhitelistResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_25da82f6ba30300b, []int{62} + return fileDescriptor_c17fac3e9d48321b, []int{62} } func (m *BulkRemoveFromGlobalWorkerWhitelistResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -3244,7 +3245,7 @@ func (m *BulkAddToGlobalReputerWhitelistRequest) Reset() { func (m *BulkAddToGlobalReputerWhitelistRequest) String() string { return proto.CompactTextString(m) } func (*BulkAddToGlobalReputerWhitelistRequest) ProtoMessage() {} func (*BulkAddToGlobalReputerWhitelistRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_25da82f6ba30300b, []int{63} + return fileDescriptor_c17fac3e9d48321b, []int{63} } func (m *BulkAddToGlobalReputerWhitelistRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -3296,7 +3297,7 @@ func (m *BulkAddToGlobalReputerWhitelistResponse) Reset() { func (m *BulkAddToGlobalReputerWhitelistResponse) String() string { return proto.CompactTextString(m) } func (*BulkAddToGlobalReputerWhitelistResponse) ProtoMessage() {} func (*BulkAddToGlobalReputerWhitelistResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_25da82f6ba30300b, []int{64} + return fileDescriptor_c17fac3e9d48321b, []int{64} } func (m *BulkAddToGlobalReputerWhitelistResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -3338,7 +3339,7 @@ func (m *BulkRemoveFromGlobalReputerWhitelistRequest) String() string { } func (*BulkRemoveFromGlobalReputerWhitelistRequest) ProtoMessage() {} func (*BulkRemoveFromGlobalReputerWhitelistRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_25da82f6ba30300b, []int{65} + return fileDescriptor_c17fac3e9d48321b, []int{65} } func (m *BulkRemoveFromGlobalReputerWhitelistRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -3392,7 +3393,7 @@ func (m *BulkRemoveFromGlobalReputerWhitelistResponse) String() string { } func (*BulkRemoveFromGlobalReputerWhitelistResponse) ProtoMessage() {} func (*BulkRemoveFromGlobalReputerWhitelistResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_25da82f6ba30300b, []int{66} + return fileDescriptor_c17fac3e9d48321b, []int{66} } func (m *BulkRemoveFromGlobalReputerWhitelistResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -3431,7 +3432,7 @@ func (m *BulkAddToTopicWorkerWhitelistRequest) Reset() { *m = BulkAddToT func (m *BulkAddToTopicWorkerWhitelistRequest) String() string { return proto.CompactTextString(m) } func (*BulkAddToTopicWorkerWhitelistRequest) ProtoMessage() {} func (*BulkAddToTopicWorkerWhitelistRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_25da82f6ba30300b, []int{67} + return fileDescriptor_c17fac3e9d48321b, []int{67} } func (m *BulkAddToTopicWorkerWhitelistRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -3488,7 +3489,7 @@ func (m *BulkAddToTopicWorkerWhitelistResponse) Reset() { *m = BulkAddTo func (m *BulkAddToTopicWorkerWhitelistResponse) String() string { return proto.CompactTextString(m) } func (*BulkAddToTopicWorkerWhitelistResponse) ProtoMessage() {} func (*BulkAddToTopicWorkerWhitelistResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_25da82f6ba30300b, []int{68} + return fileDescriptor_c17fac3e9d48321b, []int{68} } func (m *BulkAddToTopicWorkerWhitelistResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -3531,7 +3532,7 @@ func (m *BulkRemoveFromTopicWorkerWhitelistRequest) String() string { } func (*BulkRemoveFromTopicWorkerWhitelistRequest) ProtoMessage() {} func (*BulkRemoveFromTopicWorkerWhitelistRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_25da82f6ba30300b, []int{69} + return fileDescriptor_c17fac3e9d48321b, []int{69} } func (m *BulkRemoveFromTopicWorkerWhitelistRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -3592,7 +3593,7 @@ func (m *BulkRemoveFromTopicWorkerWhitelistResponse) String() string { } func (*BulkRemoveFromTopicWorkerWhitelistResponse) ProtoMessage() {} func (*BulkRemoveFromTopicWorkerWhitelistResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_25da82f6ba30300b, []int{70} + return fileDescriptor_c17fac3e9d48321b, []int{70} } func (m *BulkRemoveFromTopicWorkerWhitelistResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -3631,7 +3632,7 @@ func (m *BulkAddToTopicReputerWhitelistRequest) Reset() { *m = BulkAddTo func (m *BulkAddToTopicReputerWhitelistRequest) String() string { return proto.CompactTextString(m) } func (*BulkAddToTopicReputerWhitelistRequest) ProtoMessage() {} func (*BulkAddToTopicReputerWhitelistRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_25da82f6ba30300b, []int{71} + return fileDescriptor_c17fac3e9d48321b, []int{71} } func (m *BulkAddToTopicReputerWhitelistRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -3690,7 +3691,7 @@ func (m *BulkAddToTopicReputerWhitelistResponse) Reset() { func (m *BulkAddToTopicReputerWhitelistResponse) String() string { return proto.CompactTextString(m) } func (*BulkAddToTopicReputerWhitelistResponse) ProtoMessage() {} func (*BulkAddToTopicReputerWhitelistResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_25da82f6ba30300b, []int{72} + return fileDescriptor_c17fac3e9d48321b, []int{72} } func (m *BulkAddToTopicReputerWhitelistResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -3733,7 +3734,7 @@ func (m *BulkRemoveFromTopicReputerWhitelistRequest) String() string { } func (*BulkRemoveFromTopicReputerWhitelistRequest) ProtoMessage() {} func (*BulkRemoveFromTopicReputerWhitelistRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_25da82f6ba30300b, []int{73} + return fileDescriptor_c17fac3e9d48321b, []int{73} } func (m *BulkRemoveFromTopicReputerWhitelistRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -3794,7 +3795,7 @@ func (m *BulkRemoveFromTopicReputerWhitelistResponse) String() string { } func (*BulkRemoveFromTopicReputerWhitelistResponse) ProtoMessage() {} func (*BulkRemoveFromTopicReputerWhitelistResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_25da82f6ba30300b, []int{74} + return fileDescriptor_c17fac3e9d48321b, []int{74} } func (m *BulkRemoveFromTopicReputerWhitelistResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -3834,7 +3835,7 @@ func (m *RemoveFromTopicCreatorWhitelistRequest) Reset() { func (m *RemoveFromTopicCreatorWhitelistRequest) String() string { return proto.CompactTextString(m) } func (*RemoveFromTopicCreatorWhitelistRequest) ProtoMessage() {} func (*RemoveFromTopicCreatorWhitelistRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_25da82f6ba30300b, []int{75} + return fileDescriptor_c17fac3e9d48321b, []int{75} } func (m *RemoveFromTopicCreatorWhitelistRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -3886,7 +3887,7 @@ func (m *RemoveFromTopicCreatorWhitelistResponse) Reset() { func (m *RemoveFromTopicCreatorWhitelistResponse) String() string { return proto.CompactTextString(m) } func (*RemoveFromTopicCreatorWhitelistResponse) ProtoMessage() {} func (*RemoveFromTopicCreatorWhitelistResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_25da82f6ba30300b, []int{76} + return fileDescriptor_c17fac3e9d48321b, []int{76} } func (m *RemoveFromTopicCreatorWhitelistResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -3925,7 +3926,7 @@ func (m *AddToTopicWorkerWhitelistRequest) Reset() { *m = AddToTopicWork func (m *AddToTopicWorkerWhitelistRequest) String() string { return proto.CompactTextString(m) } func (*AddToTopicWorkerWhitelistRequest) ProtoMessage() {} func (*AddToTopicWorkerWhitelistRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_25da82f6ba30300b, []int{77} + return fileDescriptor_c17fac3e9d48321b, []int{77} } func (m *AddToTopicWorkerWhitelistRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -3982,7 +3983,7 @@ func (m *AddToTopicWorkerWhitelistResponse) Reset() { *m = AddToTopicWor func (m *AddToTopicWorkerWhitelistResponse) String() string { return proto.CompactTextString(m) } func (*AddToTopicWorkerWhitelistResponse) ProtoMessage() {} func (*AddToTopicWorkerWhitelistResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_25da82f6ba30300b, []int{78} + return fileDescriptor_c17fac3e9d48321b, []int{78} } func (m *AddToTopicWorkerWhitelistResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -4021,7 +4022,7 @@ func (m *RemoveFromTopicWorkerWhitelistRequest) Reset() { *m = RemoveFro func (m *RemoveFromTopicWorkerWhitelistRequest) String() string { return proto.CompactTextString(m) } func (*RemoveFromTopicWorkerWhitelistRequest) ProtoMessage() {} func (*RemoveFromTopicWorkerWhitelistRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_25da82f6ba30300b, []int{79} + return fileDescriptor_c17fac3e9d48321b, []int{79} } func (m *RemoveFromTopicWorkerWhitelistRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -4080,7 +4081,7 @@ func (m *RemoveFromTopicWorkerWhitelistResponse) Reset() { func (m *RemoveFromTopicWorkerWhitelistResponse) String() string { return proto.CompactTextString(m) } func (*RemoveFromTopicWorkerWhitelistResponse) ProtoMessage() {} func (*RemoveFromTopicWorkerWhitelistResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_25da82f6ba30300b, []int{80} + return fileDescriptor_c17fac3e9d48321b, []int{80} } func (m *RemoveFromTopicWorkerWhitelistResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -4119,7 +4120,7 @@ func (m *AddToTopicReputerWhitelistRequest) Reset() { *m = AddToTopicRep func (m *AddToTopicReputerWhitelistRequest) String() string { return proto.CompactTextString(m) } func (*AddToTopicReputerWhitelistRequest) ProtoMessage() {} func (*AddToTopicReputerWhitelistRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_25da82f6ba30300b, []int{81} + return fileDescriptor_c17fac3e9d48321b, []int{81} } func (m *AddToTopicReputerWhitelistRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -4176,7 +4177,7 @@ func (m *AddToTopicReputerWhitelistResponse) Reset() { *m = AddToTopicRe func (m *AddToTopicReputerWhitelistResponse) String() string { return proto.CompactTextString(m) } func (*AddToTopicReputerWhitelistResponse) ProtoMessage() {} func (*AddToTopicReputerWhitelistResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_25da82f6ba30300b, []int{82} + return fileDescriptor_c17fac3e9d48321b, []int{82} } func (m *AddToTopicReputerWhitelistResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -4217,7 +4218,7 @@ func (m *RemoveFromTopicReputerWhitelistRequest) Reset() { func (m *RemoveFromTopicReputerWhitelistRequest) String() string { return proto.CompactTextString(m) } func (*RemoveFromTopicReputerWhitelistRequest) ProtoMessage() {} func (*RemoveFromTopicReputerWhitelistRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_25da82f6ba30300b, []int{83} + return fileDescriptor_c17fac3e9d48321b, []int{83} } func (m *RemoveFromTopicReputerWhitelistRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -4276,7 +4277,7 @@ func (m *RemoveFromTopicReputerWhitelistResponse) Reset() { func (m *RemoveFromTopicReputerWhitelistResponse) String() string { return proto.CompactTextString(m) } func (*RemoveFromTopicReputerWhitelistResponse) ProtoMessage() {} func (*RemoveFromTopicReputerWhitelistResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_25da82f6ba30300b, []int{84} + return fileDescriptor_c17fac3e9d48321b, []int{84} } func (m *RemoveFromTopicReputerWhitelistResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -4306,332 +4307,334 @@ func (m *RemoveFromTopicReputerWhitelistResponse) XXX_DiscardUnknown() { var xxx_messageInfo_RemoveFromTopicReputerWhitelistResponse proto.InternalMessageInfo func init() { - proto.RegisterType((*OptionalParams)(nil), "emissions.v7.OptionalParams") - proto.RegisterType((*UpdateParamsRequest)(nil), "emissions.v7.UpdateParamsRequest") - proto.RegisterType((*UpdateParamsResponse)(nil), "emissions.v7.UpdateParamsResponse") - proto.RegisterType((*CreateNewTopicRequest)(nil), "emissions.v7.CreateNewTopicRequest") - proto.RegisterType((*CreateNewTopicResponse)(nil), "emissions.v7.CreateNewTopicResponse") - proto.RegisterType((*InsertReputerPayloadRequest)(nil), "emissions.v7.InsertReputerPayloadRequest") - proto.RegisterType((*InsertReputerPayloadResponse)(nil), "emissions.v7.InsertReputerPayloadResponse") - proto.RegisterType((*InsertWorkerPayloadRequest)(nil), "emissions.v7.InsertWorkerPayloadRequest") - proto.RegisterType((*InsertWorkerPayloadResponse)(nil), "emissions.v7.InsertWorkerPayloadResponse") - proto.RegisterType((*RegisterRequest)(nil), "emissions.v7.RegisterRequest") - proto.RegisterType((*RegisterResponse)(nil), "emissions.v7.RegisterResponse") - proto.RegisterType((*RemoveRegistrationRequest)(nil), "emissions.v7.RemoveRegistrationRequest") - proto.RegisterType((*RemoveRegistrationResponse)(nil), "emissions.v7.RemoveRegistrationResponse") - proto.RegisterType((*AddStakeRequest)(nil), "emissions.v7.AddStakeRequest") - proto.RegisterType((*AddStakeResponse)(nil), "emissions.v7.AddStakeResponse") - proto.RegisterType((*RemoveStakeRequest)(nil), "emissions.v7.RemoveStakeRequest") - proto.RegisterType((*RemoveStakeResponse)(nil), "emissions.v7.RemoveStakeResponse") - proto.RegisterType((*CancelRemoveStakeRequest)(nil), "emissions.v7.CancelRemoveStakeRequest") - proto.RegisterType((*CancelRemoveStakeResponse)(nil), "emissions.v7.CancelRemoveStakeResponse") - proto.RegisterType((*DelegateStakeRequest)(nil), "emissions.v7.DelegateStakeRequest") - proto.RegisterType((*DelegateStakeResponse)(nil), "emissions.v7.DelegateStakeResponse") - proto.RegisterType((*RemoveDelegateStakeRequest)(nil), "emissions.v7.RemoveDelegateStakeRequest") - proto.RegisterType((*RemoveDelegateStakeResponse)(nil), "emissions.v7.RemoveDelegateStakeResponse") - proto.RegisterType((*CancelRemoveDelegateStakeRequest)(nil), "emissions.v7.CancelRemoveDelegateStakeRequest") - proto.RegisterType((*CancelRemoveDelegateStakeResponse)(nil), "emissions.v7.CancelRemoveDelegateStakeResponse") - proto.RegisterType((*RewardDelegateStakeRequest)(nil), "emissions.v7.RewardDelegateStakeRequest") - proto.RegisterType((*RewardDelegateStakeResponse)(nil), "emissions.v7.RewardDelegateStakeResponse") - proto.RegisterType((*FundTopicRequest)(nil), "emissions.v7.FundTopicRequest") - proto.RegisterType((*FundTopicResponse)(nil), "emissions.v7.FundTopicResponse") - proto.RegisterType((*AddToWhitelistAdminRequest)(nil), "emissions.v7.AddToWhitelistAdminRequest") - proto.RegisterType((*AddToWhitelistAdminResponse)(nil), "emissions.v7.AddToWhitelistAdminResponse") - proto.RegisterType((*RemoveFromWhitelistAdminRequest)(nil), "emissions.v7.RemoveFromWhitelistAdminRequest") - proto.RegisterType((*RemoveFromWhitelistAdminResponse)(nil), "emissions.v7.RemoveFromWhitelistAdminResponse") - proto.RegisterType((*EnableTopicWorkerWhitelistRequest)(nil), "emissions.v7.EnableTopicWorkerWhitelistRequest") - proto.RegisterType((*EnableTopicWorkerWhitelistResponse)(nil), "emissions.v7.EnableTopicWorkerWhitelistResponse") - proto.RegisterType((*DisableTopicWorkerWhitelistRequest)(nil), "emissions.v7.DisableTopicWorkerWhitelistRequest") - proto.RegisterType((*DisableTopicWorkerWhitelistResponse)(nil), "emissions.v7.DisableTopicWorkerWhitelistResponse") - proto.RegisterType((*EnableTopicReputerWhitelistRequest)(nil), "emissions.v7.EnableTopicReputerWhitelistRequest") - proto.RegisterType((*EnableTopicReputerWhitelistResponse)(nil), "emissions.v7.EnableTopicReputerWhitelistResponse") - proto.RegisterType((*DisableTopicReputerWhitelistRequest)(nil), "emissions.v7.DisableTopicReputerWhitelistRequest") - proto.RegisterType((*DisableTopicReputerWhitelistResponse)(nil), "emissions.v7.DisableTopicReputerWhitelistResponse") - proto.RegisterType((*AddToGlobalWhitelistRequest)(nil), "emissions.v7.AddToGlobalWhitelistRequest") - proto.RegisterType((*AddToGlobalWhitelistResponse)(nil), "emissions.v7.AddToGlobalWhitelistResponse") - proto.RegisterType((*RemoveFromGlobalWhitelistRequest)(nil), "emissions.v7.RemoveFromGlobalWhitelistRequest") - proto.RegisterType((*RemoveFromGlobalWhitelistResponse)(nil), "emissions.v7.RemoveFromGlobalWhitelistResponse") - proto.RegisterType((*AddToTopicCreatorWhitelistRequest)(nil), "emissions.v7.AddToTopicCreatorWhitelistRequest") - proto.RegisterType((*AddToTopicCreatorWhitelistResponse)(nil), "emissions.v7.AddToTopicCreatorWhitelistResponse") - proto.RegisterType((*AddToGlobalWorkerWhitelistRequest)(nil), "emissions.v7.AddToGlobalWorkerWhitelistRequest") - proto.RegisterType((*AddToGlobalWorkerWhitelistResponse)(nil), "emissions.v7.AddToGlobalWorkerWhitelistResponse") - proto.RegisterType((*RemoveFromGlobalWorkerWhitelistRequest)(nil), "emissions.v7.RemoveFromGlobalWorkerWhitelistRequest") - proto.RegisterType((*RemoveFromGlobalWorkerWhitelistResponse)(nil), "emissions.v7.RemoveFromGlobalWorkerWhitelistResponse") - proto.RegisterType((*AddToGlobalReputerWhitelistRequest)(nil), "emissions.v7.AddToGlobalReputerWhitelistRequest") - proto.RegisterType((*AddToGlobalReputerWhitelistResponse)(nil), "emissions.v7.AddToGlobalReputerWhitelistResponse") - proto.RegisterType((*RemoveFromGlobalReputerWhitelistRequest)(nil), "emissions.v7.RemoveFromGlobalReputerWhitelistRequest") - proto.RegisterType((*RemoveFromGlobalReputerWhitelistResponse)(nil), "emissions.v7.RemoveFromGlobalReputerWhitelistResponse") - proto.RegisterType((*AddToGlobalAdminWhitelistRequest)(nil), "emissions.v7.AddToGlobalAdminWhitelistRequest") - proto.RegisterType((*AddToGlobalAdminWhitelistResponse)(nil), "emissions.v7.AddToGlobalAdminWhitelistResponse") - proto.RegisterType((*RemoveFromGlobalAdminWhitelistRequest)(nil), "emissions.v7.RemoveFromGlobalAdminWhitelistRequest") - proto.RegisterType((*RemoveFromGlobalAdminWhitelistResponse)(nil), "emissions.v7.RemoveFromGlobalAdminWhitelistResponse") - proto.RegisterType((*BulkAddToGlobalWorkerWhitelistRequest)(nil), "emissions.v7.BulkAddToGlobalWorkerWhitelistRequest") - proto.RegisterType((*BulkAddToGlobalWorkerWhitelistResponse)(nil), "emissions.v7.BulkAddToGlobalWorkerWhitelistResponse") - proto.RegisterType((*BulkRemoveFromGlobalWorkerWhitelistRequest)(nil), "emissions.v7.BulkRemoveFromGlobalWorkerWhitelistRequest") - proto.RegisterType((*BulkRemoveFromGlobalWorkerWhitelistResponse)(nil), "emissions.v7.BulkRemoveFromGlobalWorkerWhitelistResponse") - proto.RegisterType((*BulkAddToGlobalReputerWhitelistRequest)(nil), "emissions.v7.BulkAddToGlobalReputerWhitelistRequest") - proto.RegisterType((*BulkAddToGlobalReputerWhitelistResponse)(nil), "emissions.v7.BulkAddToGlobalReputerWhitelistResponse") - proto.RegisterType((*BulkRemoveFromGlobalReputerWhitelistRequest)(nil), "emissions.v7.BulkRemoveFromGlobalReputerWhitelistRequest") - proto.RegisterType((*BulkRemoveFromGlobalReputerWhitelistResponse)(nil), "emissions.v7.BulkRemoveFromGlobalReputerWhitelistResponse") - proto.RegisterType((*BulkAddToTopicWorkerWhitelistRequest)(nil), "emissions.v7.BulkAddToTopicWorkerWhitelistRequest") - proto.RegisterType((*BulkAddToTopicWorkerWhitelistResponse)(nil), "emissions.v7.BulkAddToTopicWorkerWhitelistResponse") - proto.RegisterType((*BulkRemoveFromTopicWorkerWhitelistRequest)(nil), "emissions.v7.BulkRemoveFromTopicWorkerWhitelistRequest") - proto.RegisterType((*BulkRemoveFromTopicWorkerWhitelistResponse)(nil), "emissions.v7.BulkRemoveFromTopicWorkerWhitelistResponse") - proto.RegisterType((*BulkAddToTopicReputerWhitelistRequest)(nil), "emissions.v7.BulkAddToTopicReputerWhitelistRequest") - proto.RegisterType((*BulkAddToTopicReputerWhitelistResponse)(nil), "emissions.v7.BulkAddToTopicReputerWhitelistResponse") - proto.RegisterType((*BulkRemoveFromTopicReputerWhitelistRequest)(nil), "emissions.v7.BulkRemoveFromTopicReputerWhitelistRequest") - proto.RegisterType((*BulkRemoveFromTopicReputerWhitelistResponse)(nil), "emissions.v7.BulkRemoveFromTopicReputerWhitelistResponse") - proto.RegisterType((*RemoveFromTopicCreatorWhitelistRequest)(nil), "emissions.v7.RemoveFromTopicCreatorWhitelistRequest") - proto.RegisterType((*RemoveFromTopicCreatorWhitelistResponse)(nil), "emissions.v7.RemoveFromTopicCreatorWhitelistResponse") - proto.RegisterType((*AddToTopicWorkerWhitelistRequest)(nil), "emissions.v7.AddToTopicWorkerWhitelistRequest") - proto.RegisterType((*AddToTopicWorkerWhitelistResponse)(nil), "emissions.v7.AddToTopicWorkerWhitelistResponse") - proto.RegisterType((*RemoveFromTopicWorkerWhitelistRequest)(nil), "emissions.v7.RemoveFromTopicWorkerWhitelistRequest") - proto.RegisterType((*RemoveFromTopicWorkerWhitelistResponse)(nil), "emissions.v7.RemoveFromTopicWorkerWhitelistResponse") - proto.RegisterType((*AddToTopicReputerWhitelistRequest)(nil), "emissions.v7.AddToTopicReputerWhitelistRequest") - proto.RegisterType((*AddToTopicReputerWhitelistResponse)(nil), "emissions.v7.AddToTopicReputerWhitelistResponse") - proto.RegisterType((*RemoveFromTopicReputerWhitelistRequest)(nil), "emissions.v7.RemoveFromTopicReputerWhitelistRequest") - proto.RegisterType((*RemoveFromTopicReputerWhitelistResponse)(nil), "emissions.v7.RemoveFromTopicReputerWhitelistResponse") -} - -func init() { proto.RegisterFile("emissions/v7/tx.proto", fileDescriptor_25da82f6ba30300b) } - -var fileDescriptor_25da82f6ba30300b = []byte{ - // 3755 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xcc, 0x5c, 0xcb, 0x6f, 0x1c, 0x47, - 0x7a, 0x57, 0x8b, 0x43, 0x72, 0xf8, 0x91, 0x22, 0x47, 0x25, 0x92, 0x6a, 0x8e, 0xf8, 0x1c, 0x52, - 0xd2, 0x88, 0x2b, 0x71, 0x64, 0x51, 0xb2, 0x1e, 0x1b, 0x20, 0xa1, 0x4c, 0x49, 0x21, 0x21, 0x6a, - 0xb9, 0x4d, 0xda, 0x0a, 0xe4, 0x45, 0x7a, 0x8b, 0xd3, 0xc5, 0x61, 0x2f, 0xfb, 0x31, 0xdb, 0xdd, - 0xc3, 0x87, 0xb1, 0x41, 0x12, 0x21, 0x06, 0x92, 0x0d, 0x90, 0xc7, 0x25, 0x01, 0x36, 0x8f, 0x73, - 0x4e, 0x81, 0x0f, 0xc9, 0x25, 0xb9, 0xe4, 0xe8, 0xa3, 0x91, 0x5c, 0x82, 0x1c, 0x8c, 0xc0, 0x3e, - 0xf8, 0xdf, 0x08, 0xea, 0xd1, 0xd3, 0x8f, 0xe9, 0xee, 0x99, 0xe1, 0x90, 0xb1, 0x2f, 0xb6, 0xba, - 0xea, 0x7b, 0xfc, 0xbe, 0xaf, 0xbe, 0xfa, 0xea, 0xab, 0xaf, 0x06, 0x84, 0x09, 0x62, 0xea, 0xae, - 0xab, 0xdb, 0x96, 0x5b, 0x39, 0x7a, 0x5c, 0xf1, 0x4e, 0x56, 0xea, 0x8e, 0xed, 0xd9, 0x68, 0xa4, - 0x39, 0xbc, 0x72, 0xf4, 0xb8, 0x78, 0x15, 0x9b, 0xba, 0x65, 0x57, 0xd8, 0x7f, 0x39, 0x41, 0xf1, - 0x7a, 0xd5, 0x76, 0x4d, 0xdb, 0xad, 0x98, 0x6e, 0xad, 0x72, 0xf4, 0x01, 0xfd, 0x9f, 0x98, 0x98, - 0xe2, 0x13, 0x2a, 0xfb, 0xaa, 0xf0, 0x0f, 0x31, 0x55, 0x0c, 0xe9, 0x5a, 0xad, 0x38, 0xa4, 0xde, - 0xf0, 0x88, 0xe3, 0xb3, 0x45, 0xe6, 0x8e, 0x6d, 0xe7, 0xb0, 0x39, 0x35, 0x5e, 0xb3, 0x6b, 0x36, - 0x17, 0x47, 0xff, 0xc5, 0x47, 0x4b, 0xff, 0xbe, 0x04, 0xa3, 0x3f, 0xa9, 0x7b, 0xba, 0x6d, 0x61, - 0x63, 0x1b, 0x3b, 0xd8, 0x74, 0x91, 0x0c, 0x83, 0x47, 0xc4, 0xa1, 0x42, 0x64, 0x69, 0xbe, 0xaf, - 0x3c, 0xa4, 0xf8, 0x9f, 0xe8, 0x29, 0x4c, 0x99, 0xf8, 0x44, 0x75, 0x89, 0xa3, 0x63, 0x43, 0xff, - 0x8c, 0x68, 0xaa, 0xe9, 0xd6, 0x54, 0x83, 0x58, 0x35, 0xef, 0x40, 0xbe, 0x3c, 0xdf, 0x57, 0xee, - 0x53, 0x26, 0x4d, 0x7c, 0xb2, 0xd3, 0x9c, 0xdf, 0x72, 0x6b, 0xaf, 0xd9, 0x2c, 0xc2, 0x50, 0x30, - 0x75, 0x4b, 0xf5, 0xec, 0xba, 0x5e, 0x55, 0x8f, 0x89, 0x5e, 0x3b, 0xf0, 0xe4, 0x3e, 0x2a, 0xfd, - 0xf9, 0xe3, 0x2f, 0xbf, 0x9e, 0xbb, 0xf4, 0x3f, 0x5f, 0xcf, 0x55, 0x6a, 0xba, 0x77, 0xd0, 0xd8, - 0x5b, 0xa9, 0xda, 0x66, 0x05, 0x1b, 0x86, 0xed, 0xe0, 0x7b, 0x16, 0xf1, 0xa8, 0x09, 0xfe, 0x67, - 0xf5, 0x00, 0xeb, 0x56, 0xc5, 0xc4, 0xde, 0xc1, 0xca, 0x3a, 0xa9, 0x2a, 0xa3, 0xa6, 0x6e, 0xed, - 0x52, 0x79, 0x6f, 0x99, 0x38, 0xb4, 0x0f, 0x93, 0x0e, 0xf9, 0x65, 0x43, 0x77, 0x28, 0x2e, 0xdd, - 0xd2, 0xcd, 0x86, 0xa9, 0xba, 0x1e, 0x3e, 0x24, 0x72, 0x3f, 0x53, 0x74, 0x5f, 0x28, 0x9a, 0xe0, - 0xde, 0x74, 0xb5, 0xc3, 0x15, 0xdd, 0xe6, 0xe2, 0x36, 0x2c, 0xef, 0x3f, 0xff, 0xe5, 0x1e, 0x08, - 0x37, 0x6f, 0x58, 0xde, 0x3f, 0x7d, 0xf7, 0xc5, 0xb2, 0xa4, 0x8c, 0xfb, 0xf2, 0xb6, 0xb8, 0xb8, - 0x1d, 0x2a, 0x8d, 0x7a, 0xc1, 0x21, 0xa6, 0x7d, 0x44, 0xb8, 0x74, 0x55, 0x23, 0x06, 0x3e, 0x55, - 0x8f, 0x75, 0x4b, 0xb3, 0x8f, 0xe5, 0x01, 0xee, 0x05, 0x4e, 0xc0, 0xe8, 0xd7, 0xe9, 0xf4, 0x5b, - 0x36, 0x8b, 0xca, 0xdc, 0x0b, 0xa4, 0x6e, 0x57, 0x0f, 0x7c, 0xbf, 0x0d, 0x32, 0x0e, 0x6a, 0xcc, - 0x0b, 0x3a, 0x2c, 0xfc, 0xf5, 0x0e, 0x46, 0xf6, 0x88, 0x87, 0x55, 0x62, 0x79, 0x8e, 0x5d, 0x3f, - 0x95, 0xf3, 0xbd, 0xf9, 0x6a, 0x98, 0x0a, 0x7b, 0xc1, 0x65, 0xa1, 0x9f, 0xc1, 0x15, 0x83, 0x60, - 0xc7, 0xd2, 0xad, 0x9a, 0xea, 0x60, 0x8f, 0xc8, 0x43, 0xbd, 0x09, 0x1f, 0xf1, 0xa5, 0x29, 0xd8, - 0x23, 0xc8, 0x04, 0x1a, 0x03, 0x6a, 0xcd, 0xc1, 0x9a, 0x4e, 0x2c, 0x4f, 0xf5, 0x0e, 0x1c, 0xe2, - 0x1e, 0xd8, 0x86, 0x26, 0x43, 0x6f, 0x6a, 0xc6, 0x4d, 0x7c, 0xf2, 0x4a, 0x48, 0xdd, 0xf5, 0x85, - 0x22, 0x02, 0x88, 0xba, 0x94, 0x2f, 0xc5, 0xbe, 0x83, 0xab, 0x34, 0x96, 0xe5, 0xe1, 0xde, 0x54, - 0xd1, 0x55, 0x62, 0x8b, 0xf7, 0x52, 0x08, 0x44, 0x2f, 0x60, 0x8e, 0x5a, 0xd5, 0xb0, 0xf6, 0x1b, - 0xc6, 0xbe, 0x6e, 0x18, 0x44, 0x53, 0xf9, 0xee, 0x52, 0x69, 0x8c, 0x10, 0xd7, 0x73, 0xe5, 0x2b, - 0xf3, 0x7d, 0xe5, 0x9c, 0x32, 0x6d, 0xe2, 0x93, 0x8f, 0x03, 0xaa, 0xb7, 0x8c, 0x48, 0x11, 0x34, - 0xe8, 0x15, 0xcc, 0xc7, 0xc5, 0x88, 0x0d, 0x1c, 0xc8, 0x19, 0x65, 0x72, 0x66, 0xa2, 0x72, 0x14, - 0x4e, 0xd5, 0x14, 0xf4, 0x19, 0xcc, 0xf0, 0xbd, 0xe4, 0x90, 0x63, 0xec, 0x68, 0xc2, 0x7e, 0xdd, - 0xac, 0xdb, 0x8e, 0x87, 0xad, 0x2a, 0x91, 0xc7, 0x7a, 0xf3, 0x40, 0x91, 0x49, 0x57, 0x98, 0x70, - 0xe6, 0x89, 0x8d, 0xa6, 0x68, 0xf4, 0xb9, 0x04, 0x8b, 0x11, 0xe5, 0xfb, 0x84, 0xa8, 0x0e, 0x39, - 0x22, 0x56, 0x23, 0x02, 0xa1, 0xd0, 0x1b, 0x84, 0xb9, 0x10, 0x84, 0x97, 0x84, 0x28, 0x5c, 0x41, - 0x08, 0x07, 0x01, 0x14, 0x81, 0x81, 0x8d, 0xfa, 0x01, 0x96, 0xaf, 0xf6, 0xb8, 0xf4, 0x21, 0xad, - 0x6b, 0x54, 0x20, 0xaa, 0xc2, 0x55, 0x0f, 0xbb, 0x87, 0x51, 0x2d, 0xa8, 0x37, 0x2d, 0x63, 0x54, - 0x62, 0x58, 0x09, 0xf5, 0xe9, 0x11, 0x36, 0x74, 0x0d, 0x7b, 0xb6, 0xe3, 0xaa, 0x47, 0xae, 0xca, - 0x19, 0xd5, 0x3a, 0x71, 0xaa, 0x74, 0x1b, 0x71, 0xed, 0xf2, 0xb5, 0x1e, 0x7d, 0x1a, 0xe8, 0xf8, - 0xc4, 0x5d, 0x63, 0x24, 0xdb, 0x5c, 0x01, 0x07, 0x83, 0x7e, 0x0b, 0x6e, 0xb0, 0x14, 0x8f, 0xcd, - 0xba, 0x41, 0x5c, 0xd5, 0xb3, 0x55, 0xb7, 0x8a, 0x0d, 0xa2, 0xba, 0x55, 0xdb, 0x21, 0xae, 0x3c, - 0xce, 0x62, 0xf3, 0x3a, 0x4d, 0xf2, 0x9c, 0x62, 0xd7, 0xde, 0xa1, 0xf3, 0x3b, 0x6c, 0x1a, 0x3d, - 0x83, 0x22, 0xe5, 0xf6, 0xec, 0xba, 0xaa, 0x5b, 0xfb, 0xc4, 0x21, 0x0e, 0x13, 0x21, 0xb0, 0x4f, - 0x30, 0x66, 0x9a, 0x1d, 0x76, 0xed, 0xfa, 0x86, 0x98, 0xdf, 0xb5, 0x85, 0xe6, 0xdf, 0x81, 0x19, - 0x9f, 0x77, 0xdf, 0x76, 0x48, 0x15, 0xbb, 0x5e, 0x94, 0x7d, 0x92, 0xb1, 0x4f, 0x71, 0xf6, 0x97, - 0x01, 0x49, 0x53, 0x42, 0x48, 0xbb, 0xd8, 0x54, 0x61, 0xf6, 0xeb, 0x61, 0xed, 0x62, 0x3b, 0x05, - 0xbc, 0xef, 0xa0, 0x50, 0x75, 0x08, 0xf6, 0x88, 0x38, 0xa2, 0xf6, 0x09, 0x91, 0xe5, 0x33, 0x1e, - 0x1b, 0xa3, 0x5c, 0x12, 0x3b, 0x9b, 0x5e, 0x12, 0x82, 0x7e, 0x0c, 0xc5, 0x66, 0x36, 0xd4, 0x88, - 0xcb, 0x96, 0x93, 0x02, 0xd5, 0x29, 0x02, 0x79, 0x8a, 0xbb, 0xd4, 0xa7, 0x58, 0xe7, 0x04, 0x5b, - 0xf8, 0x64, 0x83, 0x4e, 0xa3, 0x4f, 0xa1, 0xe0, 0x90, 0x9a, 0xee, 0x7a, 0x0e, 0xa6, 0x89, 0x88, - 0x01, 0x9b, 0x3e, 0x23, 0xb0, 0xb1, 0xb0, 0x24, 0x8a, 0xec, 0x2e, 0x20, 0x8d, 0xec, 0xe3, 0x86, - 0xe1, 0xa9, 0x75, 0x5c, 0x23, 0xaa, 0xa1, 0x9b, 0xba, 0x27, 0xcf, 0x30, 0x44, 0x05, 0x31, 0xb3, - 0x8d, 0x6b, 0xe4, 0x35, 0x1d, 0x47, 0x4b, 0x30, 0x4a, 0x61, 0x87, 0x28, 0x67, 0x19, 0xe5, 0x88, - 0x89, 0x4f, 0x02, 0x2a, 0xba, 0x8e, 0xb1, 0x33, 0x4e, 0x75, 0x48, 0xd5, 0x76, 0x34, 0xc1, 0x34, - 0xc7, 0x0e, 0xbc, 0xa9, 0xe8, 0x81, 0xa7, 0x30, 0x0a, 0x2e, 0xa1, 0x0c, 0x85, 0x3d, 0xc3, 0xae, - 0x1e, 0xba, 0x34, 0xf8, 0x55, 0xd3, 0xb6, 0xbc, 0x03, 0x79, 0x9e, 0x69, 0x1a, 0xe5, 0xe3, 0xdb, - 0xc4, 0xd9, 0xa2, 0xa3, 0x34, 0x03, 0xd4, 0xfd, 0x7d, 0xc9, 0x03, 0x8e, 0xe6, 0x9d, 0x85, 0x1e, - 0x33, 0x40, 0x9d, 0xc7, 0xc4, 0x86, 0x2f, 0x90, 0x66, 0x80, 0xa6, 0x1a, 0x3f, 0x36, 0xe5, 0x52, - 0x8f, 0x19, 0x40, 0x68, 0xf1, 0x03, 0x99, 0x56, 0x48, 0x4d, 0x25, 0x22, 0x7c, 0xe5, 0xc5, 0x1e, - 0x2b, 0x24, 0xa1, 0x43, 0x44, 0x3b, 0x75, 0x57, 0xb5, 0xd5, 0x5d, 0x4b, 0x3d, 0xba, 0xab, 0x9a, - 0xe0, 0xae, 0x6a, 0x8b, 0xbb, 0x6e, 0xf6, 0xe8, 0xae, 0x6a, 0xcc, 0x5d, 0x6f, 0x60, 0xa0, 0xaa, - 0x5a, 0xb6, 0x63, 0xca, 0xb7, 0x7a, 0x93, 0xdc, 0x5f, 0x7d, 0x63, 0x3b, 0x26, 0xfa, 0x39, 0x8c, - 0x91, 0xba, 0xab, 0x1b, 0xb6, 0xd5, 0xf4, 0x7e, 0xb9, 0x47, 0xef, 0x0b, 0x79, 0xbe, 0xf7, 0x3f, - 0x81, 0x3b, 0x07, 0xd8, 0xd8, 0x67, 0x5b, 0xbf, 0xee, 0xd8, 0x55, 0xe2, 0xba, 0xe2, 0xd8, 0x66, - 0xd5, 0x22, 0x36, 0x5c, 0x95, 0x58, 0x9a, 0xca, 0x42, 0x5c, 0x5e, 0x66, 0xf1, 0xbe, 0x48, 0x19, - 0xb6, 0xf0, 0xc9, 0x36, 0x27, 0x67, 0x07, 0xb1, 0x22, 0x88, 0x5f, 0x58, 0xda, 0x73, 0x4a, 0x4a, - 0x53, 0x97, 0x86, 0x3d, 0xac, 0xba, 0xc4, 0xd2, 0x68, 0x49, 0x47, 0x33, 0xc4, 0x8f, 0xce, 0x9a, - 0xba, 0xa8, 0xa4, 0x1d, 0x2e, 0x88, 0x26, 0x08, 0x0c, 0x05, 0xdf, 0x2b, 0x2e, 0xde, 0x27, 0xaa, - 0xa6, 0x1f, 0xc9, 0x77, 0xcf, 0xc7, 0x2d, 0x3b, 0x78, 0x9f, 0xac, 0xeb, 0x47, 0xfe, 0xa5, 0x82, - 0x18, 0xc4, 0x24, 0x96, 0xc7, 0xf7, 0x7c, 0x33, 0x6a, 0xee, 0x35, 0x93, 0xf6, 0x0b, 0x31, 0xbf, - 0x4d, 0x9c, 0x66, 0x0c, 0x88, 0xc3, 0x8a, 0x96, 0x68, 0x47, 0x22, 0x71, 0x73, 0x7e, 0xee, 0xc3, - 0x95, 0xe6, 0x61, 0xb5, 0xc6, 0x28, 0x58, 0x42, 0xa6, 0x02, 0xb8, 0xdf, 0x96, 0xe1, 0x2a, 0x3b, - 0xea, 0x3c, 0x87, 0x7a, 0x4d, 0x54, 0xe3, 0x15, 0xc6, 0x33, 0x46, 0x0f, 0x38, 0x36, 0x2e, 0xca, - 0x71, 0x1b, 0xae, 0xeb, 0x96, 0xee, 0xe9, 0xd8, 0x50, 0x1d, 0x52, 0x73, 0x88, 0xa7, 0xfe, 0xb2, - 0x81, 0x2d, 0x4f, 0x37, 0x88, 0x7c, 0xbf, 0x37, 0x77, 0x4c, 0x08, 0xb9, 0x0a, 0x13, 0xfb, 0x53, - 0x21, 0x15, 0xfd, 0x3e, 0x8c, 0xd5, 0x59, 0x78, 0x07, 0x7e, 0xff, 0xa0, 0xc7, 0x2a, 0xbd, 0x4e, - 0xe3, 0xdc, 0xf7, 0xfa, 0x6f, 0x83, 0x5c, 0x33, 0xec, 0x3d, 0x6c, 0xa8, 0xc7, 0x07, 0xba, 0x47, - 0x0c, 0xdd, 0xf5, 0x54, 0x62, 0xe1, 0x3d, 0x83, 0x68, 0xf2, 0x83, 0xf9, 0xbe, 0x72, 0xfe, 0x79, - 0x3f, 0x8f, 0x88, 0x49, 0x4e, 0xf6, 0xd6, 0xa7, 0x7a, 0xc1, 0x89, 0xd0, 0x6b, 0xe0, 0xf5, 0x99, - 0xca, 0x0e, 0x3b, 0xdb, 0x49, 0x90, 0xb3, 0x1a, 0x96, 0x33, 0xcd, 0xa8, 0x3f, 0xe2, 0xc4, 0x2d, - 0xd2, 0x3e, 0x82, 0x59, 0x76, 0x68, 0x9c, 0xd4, 0x89, 0xa3, 0xd3, 0x24, 0x12, 0x2a, 0xaf, 0xa9, - 0x5f, 0x5c, 0xf9, 0x21, 0x5b, 0x98, 0x1b, 0xf4, 0xd4, 0x08, 0x88, 0xfc, 0xea, 0x9a, 0x91, 0xa0, - 0x5f, 0x4b, 0x70, 0xb3, 0x99, 0xd6, 0x54, 0xbb, 0xe1, 0x19, 0x3a, 0x71, 0x54, 0x8d, 0x78, 0x84, - 0xd5, 0xf0, 0xa1, 0x9b, 0xc8, 0xa3, 0xde, 0x5c, 0x59, 0x6a, 0x6a, 0xf9, 0x09, 0x57, 0xb2, 0xee, - 0xeb, 0x08, 0xee, 0x25, 0xef, 0x25, 0x58, 0xc8, 0x02, 0xc3, 0xcb, 0xc8, 0x0f, 0x7b, 0x03, 0x32, - 0x9b, 0x0a, 0x84, 0x57, 0x95, 0x3a, 0x8c, 0x1b, 0xd8, 0xdc, 0xd3, 0xb0, 0xea, 0x47, 0x2f, 0xab, - 0xe3, 0xe4, 0xc7, 0xbd, 0xa9, 0x45, 0x5c, 0xe8, 0x06, 0x97, 0xc9, 0x6a, 0x3f, 0x1a, 0x0f, 0x7e, - 0x40, 0xf1, 0x85, 0x6b, 0x8d, 0x87, 0x27, 0x91, 0x78, 0x10, 0x71, 0xc5, 0x88, 0x5b, 0xe2, 0xe1, - 0x0d, 0xcc, 0x0b, 0x69, 0xfe, 0xf5, 0xa8, 0x55, 0xdc, 0xd3, 0xb0, 0xb8, 0x19, 0x4e, 0x2e, 0x72, - 0x6d, 0x52, 0xb4, 0x0a, 0x79, 0x58, 0xa3, 0x81, 0x16, 0x48, 0xc3, 0xf5, 0x3a, 0xb1, 0x34, 0xa2, - 0xc9, 0xcf, 0x12, 0xd0, 0xad, 0x51, 0xe2, 0xa6, 0xb0, 0x35, 0x41, 0x8a, 0xb6, 0xf8, 0x2d, 0x2e, - 0x10, 0xa2, 0x5b, 0xf5, 0x86, 0xa7, 0x62, 0xc7, 0xc1, 0xa7, 0x7e, 0x22, 0xf9, 0x31, 0x8d, 0xd7, - 0xa6, 0x38, 0x13, 0x9f, 0x34, 0xc5, 0x6c, 0x50, 0xe2, 0x35, 0x4a, 0xcb, 0x93, 0xcb, 0x66, 0x2e, - 0x9f, 0x2b, 0xf4, 0x6f, 0xe6, 0xf2, 0xc5, 0xc2, 0x8d, 0xcd, 0x5c, 0xfe, 0x46, 0x61, 0x7a, 0x33, - 0x97, 0xbf, 0x5d, 0x28, 0x6f, 0xe6, 0xf2, 0x77, 0x0a, 0xcb, 0xec, 0xda, 0xdb, 0x92, 0xdb, 0xd8, - 0x46, 0x50, 0xc9, 0xfe, 0x3e, 0x09, 0xe5, 0x3e, 0xff, 0x0e, 0xa6, 0x2c, 0x52, 0x16, 0x87, 0x78, - 0x8e, 0xce, 0x4b, 0x78, 0x7e, 0x8b, 0x54, 0x2d, 0xdb, 0xaa, 0x12, 0x57, 0xac, 0x8f, 0xd8, 0x90, - 0x91, 0xbb, 0x9b, 0x46, 0xaa, 0xf8, 0x94, 0xb5, 0x04, 0x94, 0xa5, 0x4c, 0x11, 0x62, 0x51, 0x4a, - 0x75, 0xb8, 0xf6, 0x71, 0x5d, 0xc3, 0x1e, 0xe1, 0xad, 0x23, 0x71, 0x3b, 0x45, 0x93, 0x30, 0x40, - 0x0f, 0x23, 0xe2, 0xc8, 0xd2, 0xbc, 0x54, 0x1e, 0x52, 0xc4, 0x17, 0x7a, 0x08, 0x03, 0x75, 0x46, - 0x28, 0x5f, 0x9e, 0x97, 0xca, 0xc3, 0x0f, 0xa6, 0x57, 0xc2, 0xfd, 0xb1, 0x95, 0x68, 0x1f, 0x4a, - 0x11, 0xb4, 0xcf, 0x86, 0xdf, 0x7f, 0xf7, 0xc5, 0xb2, 0x10, 0x51, 0x9a, 0x84, 0xf1, 0xa8, 0x46, - 0xb7, 0x6e, 0x5b, 0x2e, 0x29, 0xfd, 0xeb, 0x10, 0x4c, 0xb0, 0xe4, 0x42, 0xde, 0x90, 0xe3, 0x5d, - 0x7e, 0x85, 0xe3, 0x60, 0x64, 0x18, 0x14, 0x29, 0x4a, 0xa0, 0xf1, 0x3f, 0x51, 0x11, 0xf2, 0x26, - 0xf1, 0x30, 0x3d, 0xf2, 0x18, 0xa0, 0x21, 0xa5, 0xf9, 0x8d, 0xe6, 0x60, 0xd8, 0xb0, 0x5d, 0x57, - 0x35, 0x89, 0x77, 0x60, 0x6b, 0x72, 0x8e, 0x4d, 0x03, 0x1d, 0xda, 0x62, 0x23, 0x68, 0x01, 0x46, - 0x62, 0x6d, 0x1c, 0xa9, 0xdc, 0xa7, 0x0c, 0x93, 0x50, 0x0f, 0xa7, 0x0c, 0x85, 0x9a, 0x63, 0x37, - 0x2c, 0x4d, 0xf5, 0x9c, 0x86, 0x77, 0xa0, 0x1a, 0xb8, 0x26, 0xe7, 0x19, 0xd9, 0x28, 0x1f, 0xdf, - 0xa5, 0xc3, 0xaf, 0x71, 0x8d, 0x16, 0x33, 0x3c, 0xdb, 0xcb, 0x40, 0x15, 0xf5, 0x50, 0xcc, 0xb0, - 0x24, 0x8f, 0xde, 0xc1, 0x08, 0xcb, 0x2f, 0x22, 0x7b, 0xca, 0xc3, 0xbd, 0x49, 0x1d, 0x66, 0xc2, - 0x78, 0x9a, 0x45, 0x37, 0x61, 0x94, 0x52, 0x1d, 0xab, 0x16, 0xa9, 0x61, 0x1a, 0x7c, 0xf2, 0xc8, - 0xbc, 0x54, 0xce, 0x2b, 0x57, 0xd8, 0xe8, 0x1b, 0x31, 0x88, 0x7e, 0x0a, 0x83, 0xe2, 0xa0, 0x97, - 0xaf, 0xf4, 0xa6, 0xdd, 0x97, 0x83, 0x9e, 0x80, 0x2c, 0x72, 0x8b, 0xdb, 0xd8, 0x13, 0x81, 0xe3, - 0xf7, 0xdd, 0x46, 0x99, 0x5f, 0x27, 0xf9, 0xfc, 0x4e, 0x73, 0x5a, 0xf4, 0xdd, 0x0e, 0x61, 0xc2, - 0x24, 0x8e, 0xee, 0xa9, 0xae, 0xed, 0x78, 0x7a, 0x28, 0xff, 0x8e, 0xf5, 0x06, 0xed, 0x1a, 0x93, - 0xba, 0xe3, 0x0b, 0xe5, 0x49, 0xd7, 0x86, 0xeb, 0xa2, 0x22, 0x11, 0x77, 0xe0, 0xa0, 0x56, 0x28, - 0xf4, 0xa6, 0x6e, 0x82, 0xcb, 0x15, 0x57, 0xe7, 0x66, 0xad, 0xd0, 0x80, 0xa2, 0x50, 0x18, 0x5c, - 0x9c, 0x03, 0x9d, 0x57, 0x7b, 0xd3, 0x29, 0x73, 0xd1, 0xc1, 0x7d, 0xbb, 0xa9, 0x36, 0xb0, 0xd3, - 0xcf, 0xd1, 0x4d, 0x9d, 0xe8, 0x5c, 0xec, 0x14, 0xc9, 0xbc, 0xa9, 0xf0, 0x43, 0xb8, 0xce, 0x73, - 0x7f, 0xcb, 0x11, 0x23, 0x5f, 0x63, 0x21, 0x38, 0xc1, 0xa7, 0x63, 0x67, 0x0a, 0x8d, 0x1b, 0xc1, - 0xd7, 0x72, 0x98, 0xc8, 0xe3, 0x8c, 0x71, 0x92, 0xcf, 0xc7, 0x4f, 0x8f, 0x67, 0x23, 0x34, 0xf5, - 0xf8, 0xf9, 0x62, 0x33, 0x97, 0xef, 0x2b, 0xe4, 0x36, 0x73, 0xf9, 0xfe, 0xc2, 0xc0, 0x66, 0x2e, - 0x3f, 0x50, 0x18, 0xdc, 0xcc, 0xe5, 0x87, 0x0a, 0xc0, 0xd3, 0x82, 0x6a, 0xd8, 0x35, 0xbd, 0xaa, - 0x8c, 0x05, 0x67, 0x3e, 0x1f, 0x28, 0x04, 0x03, 0x3c, 0x97, 0x28, 0xc3, 0xfe, 0x95, 0x1b, 0x3b, - 0xb5, 0xd2, 0x2a, 0x4c, 0xc6, 0xd3, 0x16, 0xcf, 0x68, 0x68, 0x0a, 0xf2, 0x3c, 0x43, 0xeb, 0x1a, - 0x4b, 0x5c, 0x39, 0x65, 0x90, 0x7d, 0x6f, 0x68, 0xa5, 0xbf, 0x91, 0xe0, 0xc6, 0x86, 0xe5, 0x12, - 0xc7, 0x13, 0x88, 0xb7, 0xf1, 0xa9, 0x61, 0x63, 0xad, 0x5d, 0xfe, 0x55, 0x60, 0xdc, 0xf7, 0xc0, - 0x11, 0x36, 0x1a, 0x44, 0xdd, 0x6b, 0x58, 0x9a, 0x41, 0x44, 0x36, 0x9e, 0x0f, 0x67, 0xe3, 0xd5, - 0x15, 0x21, 0xfa, 0x13, 0x4a, 0xf8, 0x9c, 0xd1, 0x29, 0xc8, 0x69, 0x19, 0x8b, 0x66, 0xe7, 0x59, - 0x98, 0x4e, 0xc6, 0x25, 0xb2, 0xf4, 0x5f, 0x4a, 0x50, 0xe4, 0x04, 0x7c, 0x8d, 0x3a, 0xc4, 0xfd, - 0x1a, 0x90, 0x58, 0x71, 0x76, 0xd1, 0x89, 0xa0, 0x9e, 0x8d, 0xa2, 0xe6, 0x72, 0xd7, 0xb1, 0x87, - 0x05, 0xe6, 0xc2, 0x71, 0x6c, 0x24, 0x8a, 0x78, 0xc6, 0xf7, 0x64, 0x0c, 0x90, 0x00, 0xfc, 0xcf, - 0x12, 0x8c, 0x29, 0xac, 0x69, 0xd2, 0xec, 0xbd, 0xa6, 0xa2, 0x0c, 0x2f, 0x58, 0x2e, 0xb2, 0x60, - 0x68, 0x1c, 0xfa, 0xed, 0x63, 0x8b, 0x38, 0x72, 0x3f, 0xe3, 0xe0, 0x1f, 0x68, 0x06, 0x40, 0x6f, - 0x9e, 0xa5, 0xf2, 0x00, 0x8b, 0xc4, 0x21, 0xdd, 0x15, 0xbe, 0x8b, 0xe0, 0xdc, 0xcc, 0xe5, 0x2f, - 0x17, 0xfa, 0x78, 0x04, 0x2a, 0xc3, 0x86, 0xbe, 0xa7, 0xd6, 0x1f, 0xd4, 0xd5, 0x43, 0x72, 0xaa, - 0x5c, 0x31, 0x1b, 0x86, 0xa7, 0xab, 0x58, 0xd3, 0x1c, 0xe2, 0xba, 0xa5, 0x97, 0x50, 0x08, 0xf0, - 0x8a, 0x48, 0x92, 0x61, 0xd0, 0x6d, 0x54, 0xe9, 0x05, 0x92, 0x21, 0xce, 0x2b, 0xfe, 0x27, 0x9d, - 0x31, 0x89, 0xeb, 0xe2, 0x1a, 0x11, 0x07, 0xa0, 0xff, 0x59, 0xfa, 0x0c, 0xa6, 0xd8, 0x45, 0x93, - 0x28, 0xa1, 0x96, 0x51, 0x37, 0x1e, 0xb8, 0x1c, 0xf5, 0x40, 0xd4, 0xd6, 0xbe, 0x2c, 0x5b, 0x4b, - 0xdb, 0x50, 0x4c, 0xd2, 0xdd, 0x83, 0x35, 0x7f, 0x27, 0xc1, 0xd8, 0x9a, 0xa6, 0x89, 0xfb, 0xf3, - 0x99, 0x8d, 0xf8, 0x5d, 0x18, 0xc0, 0xa6, 0xdd, 0xb0, 0x3c, 0x66, 0xc0, 0x59, 0xee, 0xd7, 0x82, - 0x3f, 0x6a, 0x2f, 0x82, 0x42, 0x00, 0x4e, 0x04, 0xde, 0x3f, 0x4a, 0x80, 0x94, 0xe0, 0x11, 0xe9, - 0x87, 0x07, 0x7a, 0x02, 0xae, 0x45, 0xf0, 0x09, 0xdc, 0xef, 0x40, 0xfe, 0x08, 0x5b, 0x55, 0x62, - 0x9c, 0x0b, 0xf8, 0xa8, 0xca, 0x1b, 0x30, 0x95, 0x20, 0x5b, 0x28, 0xfe, 0x37, 0x09, 0xc6, 0xd7, - 0x89, 0x41, 0xcb, 0x8f, 0x9e, 0x5d, 0x26, 0xc3, 0x60, 0x38, 0x52, 0x87, 0x14, 0xff, 0x33, 0xe4, - 0xcc, 0xdc, 0x79, 0x3a, 0xf3, 0x3a, 0x4c, 0xc4, 0xb0, 0x0b, 0xab, 0xfe, 0x43, 0xf2, 0xf7, 0x42, - 0x57, 0xb6, 0x85, 0x0c, 0xb8, 0x1c, 0x35, 0x20, 0x6c, 0x75, 0x5f, 0x5a, 0xa0, 0x9c, 0xab, 0x6d, - 0x33, 0x70, 0x23, 0xd1, 0x02, 0x61, 0xe1, 0x6f, 0x24, 0x98, 0x0f, 0xaf, 0xea, 0x79, 0xad, 0xe1, - 0x34, 0x0c, 0x69, 0x5c, 0x94, 0xed, 0xaf, 0x62, 0x30, 0x10, 0x76, 0x50, 0x2e, 0xe2, 0xa0, 0x28, - 0xf6, 0x45, 0x58, 0xc8, 0xc0, 0x26, 0x2c, 0x38, 0xa2, 0x4b, 0x74, 0x8c, 0x1d, 0xed, 0xc2, 0xc3, - 0x2f, 0xc1, 0xb1, 0x09, 0x7a, 0x05, 0xac, 0xbf, 0x97, 0xa0, 0xf0, 0x92, 0x5e, 0x32, 0xc2, 0x97, - 0xa1, 0x1f, 0x4e, 0xfe, 0xb8, 0x06, 0x57, 0x43, 0xe8, 0x04, 0xe6, 0x4f, 0xa1, 0xb8, 0xa6, 0x69, - 0xbb, 0x76, 0x70, 0xe5, 0xa6, 0x17, 0xf0, 0x0e, 0xa2, 0x5d, 0x1c, 0x7f, 0x7e, 0xb4, 0x8b, 0xcf, - 0x16, 0x7f, 0x25, 0x0a, 0x17, 0xba, 0x7f, 0x0e, 0x73, 0x7c, 0x95, 0x5f, 0x3a, 0xb6, 0x79, 0x21, - 0x00, 0x4a, 0x30, 0x9f, 0xae, 0x41, 0xa0, 0xa8, 0xc2, 0x02, 0xef, 0x59, 0xf0, 0x5f, 0x36, 0x44, - 0x2b, 0xd9, 0xf3, 0x4a, 0xa4, 0x4b, 0x50, 0xca, 0x52, 0x22, 0xa0, 0x68, 0x50, 0x5a, 0xd7, 0xdd, - 0x8b, 0xc6, 0x72, 0x13, 0x16, 0x33, 0xb5, 0x04, 0x60, 0x42, 0x90, 0xe3, 0x85, 0xfa, 0x39, 0x82, - 0xc9, 0xd4, 0x22, 0xc0, 0x90, 0x28, 0xe6, 0x8b, 0x42, 0x73, 0x0b, 0x96, 0xb2, 0xd5, 0x08, 0x38, - 0x3f, 0x13, 0x81, 0xfd, 0x2a, 0xda, 0xa9, 0x3d, 0xa7, 0xa8, 0x9d, 0x85, 0xe9, 0x64, 0xe9, 0x42, - 0x3b, 0x0e, 0x47, 0xf5, 0xc5, 0x40, 0x58, 0x84, 0x85, 0x0c, 0x15, 0x02, 0xc7, 0x1e, 0x2c, 0x30, - 0x9c, 0xbb, 0x49, 0x7d, 0xe6, 0x73, 0x02, 0xb2, 0x04, 0xa5, 0x2c, 0x1d, 0x31, 0x24, 0xaf, 0x92, - 0x3a, 0x9c, 0xe7, 0x8c, 0x24, 0x45, 0x87, 0x40, 0x52, 0x83, 0x5b, 0x2d, 0x8e, 0xbb, 0x10, 0x38, - 0x77, 0xe0, 0x76, 0x5b, 0x45, 0xcd, 0x0c, 0x17, 0x46, 0xde, 0xed, 0xde, 0xe9, 0x10, 0xcf, 0x4d, - 0x58, 0xcc, 0x54, 0x22, 0xb0, 0x1c, 0xb4, 0xc2, 0xbe, 0x20, 0x40, 0xcb, 0x50, 0x6e, 0xaf, 0x29, - 0xd8, 0x51, 0x21, 0xf0, 0xd1, 0x1e, 0xf4, 0xf9, 0xed, 0xa8, 0x0c, 0x15, 0x02, 0xc7, 0x3e, 0xdc, - 0x8c, 0x63, 0xbe, 0x10, 0x30, 0xe5, 0xd6, 0x28, 0x4d, 0x41, 0xf4, 0x0b, 0xb8, 0xf9, 0xbc, 0x61, - 0x1c, 0x9e, 0x7d, 0x77, 0x4d, 0xc3, 0x90, 0x80, 0x40, 0x5c, 0xf6, 0x8b, 0xc5, 0x21, 0x25, 0x18, - 0x68, 0x41, 0xd5, 0x4e, 0x97, 0x40, 0x65, 0xc3, 0x32, 0xa5, 0xec, 0x71, 0xa7, 0x75, 0x01, 0xed, - 0x1e, 0xfc, 0xa8, 0x23, 0x85, 0x02, 0xdf, 0x61, 0x8b, 0x25, 0xdd, 0x06, 0x79, 0x17, 0xd8, 0xee, - 0xc0, 0xed, 0xb6, 0xca, 0x04, 0xae, 0x7a, 0xb2, 0x19, 0x17, 0x08, 0x6e, 0x05, 0xee, 0x76, 0xa6, - 0x51, 0x20, 0xfc, 0x13, 0x09, 0x96, 0x9a, 0xd6, 0x9c, 0xa5, 0x0a, 0xca, 0xc4, 0x96, 0x71, 0x19, - 0x8b, 0xc2, 0xbe, 0x1d, 0x0a, 0xfb, 0xcc, 0x2a, 0xe9, 0xcf, 0x24, 0xb8, 0x13, 0x35, 0xf0, 0xfb, - 0x03, 0x7d, 0x37, 0xbe, 0x2b, 0x32, 0x91, 0x7f, 0x2e, 0xc5, 0x6d, 0x3c, 0xd7, 0x30, 0xe8, 0x18, - 0x75, 0x78, 0xd7, 0x67, 0x57, 0x5d, 0xbf, 0x96, 0x12, 0x0d, 0xfc, 0x7e, 0x60, 0xb7, 0x64, 0x84, - 0x6c, 0xec, 0x91, 0xba, 0xe0, 0x22, 0x0b, 0xa6, 0x48, 0x5d, 0x90, 0x5d, 0x35, 0xfd, 0x4a, 0x9c, - 0x7a, 0x67, 0x89, 0xd8, 0x54, 0x34, 0x1d, 0x3b, 0x70, 0x31, 0x5c, 0x3d, 0xa6, 0x05, 0xe9, 0x1f, - 0x4b, 0xe1, 0x13, 0xf1, 0xfb, 0x01, 0x5a, 0x6e, 0x59, 0xba, 0x34, 0xb4, 0x7f, 0x10, 0x36, 0xe9, - 0xdc, 0xca, 0x9a, 0x8e, 0x81, 0x46, 0x6a, 0xe5, 0xd4, 0x48, 0x7c, 0x2f, 0xb5, 0xd8, 0xf3, 0xff, - 0x0f, 0xb5, 0x35, 0x4a, 0xd3, 0xf0, 0x3e, 0xf8, 0xaf, 0x32, 0xc0, 0x96, 0x5b, 0xdb, 0x21, 0xce, - 0x91, 0x5e, 0x25, 0xe8, 0x63, 0x18, 0x09, 0x3f, 0x47, 0xa3, 0x85, 0xe8, 0x8b, 0x76, 0xc2, 0xe3, - 0x78, 0xb1, 0x94, 0x45, 0x22, 0x7a, 0xdc, 0x9f, 0xc2, 0x68, 0xf4, 0x55, 0x08, 0x2d, 0x46, 0xb9, - 0x12, 0x9f, 0xba, 0x8b, 0x4b, 0xd9, 0x44, 0x42, 0xf8, 0x06, 0xe4, 0xfd, 0x27, 0x02, 0x34, 0x13, - 0xe5, 0x88, 0x3d, 0x75, 0x14, 0x67, 0xd3, 0xa6, 0x85, 0xa8, 0x9a, 0xdf, 0xa4, 0x0e, 0x77, 0xea, - 0xd1, 0xed, 0x38, 0x57, 0xca, 0x3b, 0x42, 0xb1, 0xdc, 0x9e, 0x30, 0xc0, 0xec, 0xb7, 0xc8, 0xe3, - 0x98, 0x63, 0x7d, 0xfd, 0x38, 0xe6, 0x78, 0x67, 0x1d, 0x29, 0x30, 0x1c, 0xea, 0x1f, 0xa3, 0xf9, - 0x24, 0x0c, 0x11, 0x81, 0x0b, 0x19, 0x14, 0x42, 0xa6, 0x06, 0x57, 0x5b, 0x3a, 0xd3, 0xe8, 0x56, - 0x6c, 0x35, 0x52, 0xda, 0xe2, 0xc5, 0xdb, 0x6d, 0xe9, 0x84, 0x96, 0xdf, 0x83, 0x2b, 0x91, 0x56, - 0x1f, 0x8a, 0x85, 0x52, 0x52, 0xff, 0xb1, 0xb8, 0x98, 0x49, 0x23, 0x24, 0xff, 0x02, 0xae, 0x25, - 0xb4, 0x12, 0x51, 0xcb, 0xfa, 0xa4, 0x75, 0x39, 0x8b, 0x77, 0x3a, 0xa0, 0x0c, 0xeb, 0x6a, 0xe9, - 0xa6, 0xa2, 0xc4, 0x58, 0xe8, 0x4c, 0x57, 0x6a, 0x6b, 0x16, 0xfd, 0x2a, 0xfa, 0x62, 0x10, 0xd5, - 0xb8, 0x92, 0xee, 0xf7, 0x44, 0xbd, 0x95, 0x8e, 0xe9, 0x85, 0xf6, 0xd7, 0x30, 0xd4, 0x6c, 0x71, - 0xa2, 0x58, 0x58, 0xc6, 0x3b, 0xb3, 0xc5, 0xb9, 0xd4, 0xf9, 0xc0, 0x6f, 0x09, 0xed, 0xcb, 0xb8, - 0xdf, 0xd2, 0xdb, 0xa7, 0x71, 0xbf, 0x65, 0xf4, 0x42, 0xd1, 0x29, 0xc8, 0x69, 0x9d, 0x4a, 0x74, - 0x2f, 0xc9, 0xfd, 0xa9, 0x3d, 0xd3, 0xe2, 0x4a, 0xa7, 0xe4, 0x81, 0x99, 0x09, 0x0f, 0xb2, 0x71, - 0x33, 0xd3, 0x1f, 0x91, 0xe3, 0x66, 0x66, 0xbc, 0xee, 0x22, 0x13, 0xc6, 0x93, 0x9e, 0xab, 0x51, - 0xa2, 0x88, 0xc4, 0xa7, 0xf6, 0xe2, 0x72, 0x27, 0xa4, 0x81, 0xba, 0xa4, 0x4e, 0x1a, 0x4a, 0x5a, - 0x98, 0xe4, 0x46, 0x5a, 0x5c, 0x5d, 0x56, 0x63, 0x8e, 0x06, 0x7f, 0x6a, 0xd7, 0x0c, 0xa5, 0x2e, - 0x4b, 0x8a, 0xe2, 0x4a, 0xc7, 0xf4, 0x42, 0xfb, 0x1f, 0x8a, 0x56, 0x7e, 0xe2, 0xd5, 0x14, 0x55, - 0xd2, 0xed, 0x48, 0x2c, 0xa8, 0x8a, 0xf7, 0x3b, 0x67, 0x10, 0x00, 0xfe, 0x42, 0x0a, 0x37, 0xf4, - 0x93, 0x61, 0x3c, 0x6c, 0x63, 0x55, 0x32, 0x96, 0x47, 0x5d, 0x72, 0x09, 0x40, 0xef, 0xa5, 0x48, - 0x9f, 0x36, 0x5e, 0x62, 0xa0, 0x74, 0x13, 0x53, 0x2a, 0xa2, 0xe2, 0x07, 0x5d, 0x70, 0x08, 0x10, - 0x7f, 0x2d, 0xb5, 0xb6, 0x6b, 0x5b, 0x90, 0xb4, 0x31, 0x30, 0x0d, 0xce, 0x87, 0xdd, 0xb2, 0x05, - 0x81, 0x9a, 0xda, 0x8c, 0x8a, 0x07, 0x6a, 0xbb, 0xc6, 0x58, 0xb1, 0xd2, 0x31, 0xbd, 0xd0, 0xfe, - 0xe7, 0x12, 0xcc, 0x66, 0xb7, 0x9f, 0xd0, 0x6a, 0xb6, 0x61, 0xc9, 0x40, 0x1e, 0x76, 0xc7, 0x14, - 0x42, 0x93, 0xdd, 0x76, 0x8a, 0xa3, 0xe9, 0xa8, 0x21, 0x16, 0x47, 0xd3, 0x59, 0x67, 0x0b, 0xfd, - 0x46, 0x82, 0xc5, 0x0e, 0x3a, 0x4d, 0xe8, 0x49, 0xab, 0xf4, 0x0e, 0xf7, 0xd2, 0xd3, 0x33, 0x70, - 0x86, 0x36, 0x78, 0x9b, 0x56, 0x13, 0xca, 0x36, 0x3b, 0x2d, 0x90, 0x1f, 0x75, 0xc9, 0x25, 0x00, - 0xfd, 0x83, 0xe8, 0x16, 0xb5, 0xdd, 0x5f, 0x1d, 0x18, 0x9d, 0x06, 0xed, 0xd9, 0x59, 0x58, 0x05, - 0xbe, 0x3f, 0x95, 0x60, 0x26, 0xb3, 0x8f, 0x84, 0x1e, 0xa4, 0x18, 0x9e, 0x71, 0xd5, 0x2d, 0xae, - 0x76, 0xc5, 0x23, 0xa0, 0xfc, 0xad, 0x04, 0xa5, 0xf6, 0xdd, 0x21, 0xf4, 0x38, 0xcb, 0xda, 0x2c, - 0x50, 0x4f, 0xba, 0x67, 0x4c, 0xda, 0x80, 0x89, 0x77, 0x41, 0x94, 0x69, 0x71, 0xda, 0xc2, 0x3d, - 0xec, 0x8e, 0x29, 0x75, 0x03, 0x26, 0x43, 0x6a, 0x6f, 0x6f, 0x1a, 0xae, 0xa7, 0x67, 0xe0, 0x0c, - 0x8e, 0xf8, 0xf4, 0x67, 0xe4, 0xf8, 0x11, 0xdf, 0xf6, 0x55, 0x3b, 0x7e, 0xc4, 0xb7, 0x7f, 0xa1, - 0x66, 0x27, 0x6a, 0xc6, 0xe3, 0x71, 0xfc, 0x44, 0x6d, 0xff, 0x9a, 0x1d, 0x3f, 0x51, 0x3b, 0x78, - 0x99, 0x66, 0x20, 0x32, 0x1e, 0x8d, 0x51, 0xba, 0x59, 0x1d, 0x1e, 0xeb, 0x1d, 0xbc, 0x48, 0xa3, - 0xcf, 0x25, 0x98, 0xce, 0x7a, 0x2b, 0x46, 0x19, 0x86, 0xa5, 0xc1, 0x78, 0xd0, 0x0d, 0x4b, 0xac, - 0xea, 0x4b, 0x6c, 0xf5, 0x25, 0x56, 0x7d, 0x59, 0xdd, 0xc7, 0xc4, 0xaa, 0x2f, 0xb3, 0x8b, 0x18, - 0xab, 0xfa, 0x92, 0x61, 0xa4, 0x9e, 0xcc, 0x99, 0x58, 0x1e, 0x75, 0xc9, 0x15, 0x2b, 0x6e, 0x12, - 0x03, 0x74, 0x25, 0xcd, 0xbe, 0x94, 0xf0, 0xac, 0x74, 0x4c, 0x9f, 0x58, 0xdc, 0x24, 0x62, 0x58, - 0xcd, 0xb4, 0xab, 0xb3, 0x72, 0xa2, 0xc3, 0xdc, 0x1a, 0x89, 0x8e, 0x96, 0x10, 0x4d, 0x35, 0x2e, - 0x2d, 0x40, 0xef, 0x77, 0xce, 0x90, 0x1e, 0x1d, 0xed, 0x4a, 0x86, 0x0e, 0xd3, 0xe8, 0xa3, 0x2e, - 0xb9, 0x38, 0xa0, 0x62, 0xff, 0x1f, 0x7d, 0xf7, 0xc5, 0xb2, 0xf4, 0x5c, 0xf9, 0xf2, 0x9b, 0x59, - 0xe9, 0xab, 0x6f, 0x66, 0xa5, 0xff, 0xfd, 0x66, 0x56, 0xfa, 0xab, 0x6f, 0x67, 0x2f, 0x7d, 0xf5, - 0xed, 0xec, 0xa5, 0xff, 0xfe, 0x76, 0xf6, 0xd2, 0xbb, 0x27, 0x1d, 0xfe, 0x76, 0xfe, 0xa4, 0x12, - 0xfc, 0xe5, 0x17, 0xef, 0xb4, 0x4e, 0xdc, 0xbd, 0x01, 0xf6, 0x07, 0x5e, 0x56, 0xff, 0x2f, 0x00, - 0x00, 0xff, 0xff, 0xb1, 0xbd, 0x01, 0x7e, 0x9b, 0x46, 0x00, 0x00, + proto.RegisterType((*OptionalParams)(nil), "emissions.v8.OptionalParams") + proto.RegisterType((*UpdateParamsRequest)(nil), "emissions.v8.UpdateParamsRequest") + proto.RegisterType((*UpdateParamsResponse)(nil), "emissions.v8.UpdateParamsResponse") + proto.RegisterType((*CreateNewTopicRequest)(nil), "emissions.v8.CreateNewTopicRequest") + proto.RegisterType((*CreateNewTopicResponse)(nil), "emissions.v8.CreateNewTopicResponse") + proto.RegisterType((*InsertReputerPayloadRequest)(nil), "emissions.v8.InsertReputerPayloadRequest") + proto.RegisterType((*InsertReputerPayloadResponse)(nil), "emissions.v8.InsertReputerPayloadResponse") + proto.RegisterType((*InsertWorkerPayloadRequest)(nil), "emissions.v8.InsertWorkerPayloadRequest") + proto.RegisterType((*InsertWorkerPayloadResponse)(nil), "emissions.v8.InsertWorkerPayloadResponse") + proto.RegisterType((*RegisterRequest)(nil), "emissions.v8.RegisterRequest") + proto.RegisterType((*RegisterResponse)(nil), "emissions.v8.RegisterResponse") + proto.RegisterType((*RemoveRegistrationRequest)(nil), "emissions.v8.RemoveRegistrationRequest") + proto.RegisterType((*RemoveRegistrationResponse)(nil), "emissions.v8.RemoveRegistrationResponse") + proto.RegisterType((*AddStakeRequest)(nil), "emissions.v8.AddStakeRequest") + proto.RegisterType((*AddStakeResponse)(nil), "emissions.v8.AddStakeResponse") + proto.RegisterType((*RemoveStakeRequest)(nil), "emissions.v8.RemoveStakeRequest") + proto.RegisterType((*RemoveStakeResponse)(nil), "emissions.v8.RemoveStakeResponse") + proto.RegisterType((*CancelRemoveStakeRequest)(nil), "emissions.v8.CancelRemoveStakeRequest") + proto.RegisterType((*CancelRemoveStakeResponse)(nil), "emissions.v8.CancelRemoveStakeResponse") + proto.RegisterType((*DelegateStakeRequest)(nil), "emissions.v8.DelegateStakeRequest") + proto.RegisterType((*DelegateStakeResponse)(nil), "emissions.v8.DelegateStakeResponse") + proto.RegisterType((*RemoveDelegateStakeRequest)(nil), "emissions.v8.RemoveDelegateStakeRequest") + proto.RegisterType((*RemoveDelegateStakeResponse)(nil), "emissions.v8.RemoveDelegateStakeResponse") + proto.RegisterType((*CancelRemoveDelegateStakeRequest)(nil), "emissions.v8.CancelRemoveDelegateStakeRequest") + proto.RegisterType((*CancelRemoveDelegateStakeResponse)(nil), "emissions.v8.CancelRemoveDelegateStakeResponse") + proto.RegisterType((*RewardDelegateStakeRequest)(nil), "emissions.v8.RewardDelegateStakeRequest") + proto.RegisterType((*RewardDelegateStakeResponse)(nil), "emissions.v8.RewardDelegateStakeResponse") + proto.RegisterType((*FundTopicRequest)(nil), "emissions.v8.FundTopicRequest") + proto.RegisterType((*FundTopicResponse)(nil), "emissions.v8.FundTopicResponse") + proto.RegisterType((*AddToWhitelistAdminRequest)(nil), "emissions.v8.AddToWhitelistAdminRequest") + proto.RegisterType((*AddToWhitelistAdminResponse)(nil), "emissions.v8.AddToWhitelistAdminResponse") + proto.RegisterType((*RemoveFromWhitelistAdminRequest)(nil), "emissions.v8.RemoveFromWhitelistAdminRequest") + proto.RegisterType((*RemoveFromWhitelistAdminResponse)(nil), "emissions.v8.RemoveFromWhitelistAdminResponse") + proto.RegisterType((*EnableTopicWorkerWhitelistRequest)(nil), "emissions.v8.EnableTopicWorkerWhitelistRequest") + proto.RegisterType((*EnableTopicWorkerWhitelistResponse)(nil), "emissions.v8.EnableTopicWorkerWhitelistResponse") + proto.RegisterType((*DisableTopicWorkerWhitelistRequest)(nil), "emissions.v8.DisableTopicWorkerWhitelistRequest") + proto.RegisterType((*DisableTopicWorkerWhitelistResponse)(nil), "emissions.v8.DisableTopicWorkerWhitelistResponse") + proto.RegisterType((*EnableTopicReputerWhitelistRequest)(nil), "emissions.v8.EnableTopicReputerWhitelistRequest") + proto.RegisterType((*EnableTopicReputerWhitelistResponse)(nil), "emissions.v8.EnableTopicReputerWhitelistResponse") + proto.RegisterType((*DisableTopicReputerWhitelistRequest)(nil), "emissions.v8.DisableTopicReputerWhitelistRequest") + proto.RegisterType((*DisableTopicReputerWhitelistResponse)(nil), "emissions.v8.DisableTopicReputerWhitelistResponse") + proto.RegisterType((*AddToGlobalWhitelistRequest)(nil), "emissions.v8.AddToGlobalWhitelistRequest") + proto.RegisterType((*AddToGlobalWhitelistResponse)(nil), "emissions.v8.AddToGlobalWhitelistResponse") + proto.RegisterType((*RemoveFromGlobalWhitelistRequest)(nil), "emissions.v8.RemoveFromGlobalWhitelistRequest") + proto.RegisterType((*RemoveFromGlobalWhitelistResponse)(nil), "emissions.v8.RemoveFromGlobalWhitelistResponse") + proto.RegisterType((*AddToTopicCreatorWhitelistRequest)(nil), "emissions.v8.AddToTopicCreatorWhitelistRequest") + proto.RegisterType((*AddToTopicCreatorWhitelistResponse)(nil), "emissions.v8.AddToTopicCreatorWhitelistResponse") + proto.RegisterType((*AddToGlobalWorkerWhitelistRequest)(nil), "emissions.v8.AddToGlobalWorkerWhitelistRequest") + proto.RegisterType((*AddToGlobalWorkerWhitelistResponse)(nil), "emissions.v8.AddToGlobalWorkerWhitelistResponse") + proto.RegisterType((*RemoveFromGlobalWorkerWhitelistRequest)(nil), "emissions.v8.RemoveFromGlobalWorkerWhitelistRequest") + proto.RegisterType((*RemoveFromGlobalWorkerWhitelistResponse)(nil), "emissions.v8.RemoveFromGlobalWorkerWhitelistResponse") + proto.RegisterType((*AddToGlobalReputerWhitelistRequest)(nil), "emissions.v8.AddToGlobalReputerWhitelistRequest") + proto.RegisterType((*AddToGlobalReputerWhitelistResponse)(nil), "emissions.v8.AddToGlobalReputerWhitelistResponse") + proto.RegisterType((*RemoveFromGlobalReputerWhitelistRequest)(nil), "emissions.v8.RemoveFromGlobalReputerWhitelistRequest") + proto.RegisterType((*RemoveFromGlobalReputerWhitelistResponse)(nil), "emissions.v8.RemoveFromGlobalReputerWhitelistResponse") + proto.RegisterType((*AddToGlobalAdminWhitelistRequest)(nil), "emissions.v8.AddToGlobalAdminWhitelistRequest") + proto.RegisterType((*AddToGlobalAdminWhitelistResponse)(nil), "emissions.v8.AddToGlobalAdminWhitelistResponse") + proto.RegisterType((*RemoveFromGlobalAdminWhitelistRequest)(nil), "emissions.v8.RemoveFromGlobalAdminWhitelistRequest") + proto.RegisterType((*RemoveFromGlobalAdminWhitelistResponse)(nil), "emissions.v8.RemoveFromGlobalAdminWhitelistResponse") + proto.RegisterType((*BulkAddToGlobalWorkerWhitelistRequest)(nil), "emissions.v8.BulkAddToGlobalWorkerWhitelistRequest") + proto.RegisterType((*BulkAddToGlobalWorkerWhitelistResponse)(nil), "emissions.v8.BulkAddToGlobalWorkerWhitelistResponse") + proto.RegisterType((*BulkRemoveFromGlobalWorkerWhitelistRequest)(nil), "emissions.v8.BulkRemoveFromGlobalWorkerWhitelistRequest") + proto.RegisterType((*BulkRemoveFromGlobalWorkerWhitelistResponse)(nil), "emissions.v8.BulkRemoveFromGlobalWorkerWhitelistResponse") + proto.RegisterType((*BulkAddToGlobalReputerWhitelistRequest)(nil), "emissions.v8.BulkAddToGlobalReputerWhitelistRequest") + proto.RegisterType((*BulkAddToGlobalReputerWhitelistResponse)(nil), "emissions.v8.BulkAddToGlobalReputerWhitelistResponse") + proto.RegisterType((*BulkRemoveFromGlobalReputerWhitelistRequest)(nil), "emissions.v8.BulkRemoveFromGlobalReputerWhitelistRequest") + proto.RegisterType((*BulkRemoveFromGlobalReputerWhitelistResponse)(nil), "emissions.v8.BulkRemoveFromGlobalReputerWhitelistResponse") + proto.RegisterType((*BulkAddToTopicWorkerWhitelistRequest)(nil), "emissions.v8.BulkAddToTopicWorkerWhitelistRequest") + proto.RegisterType((*BulkAddToTopicWorkerWhitelistResponse)(nil), "emissions.v8.BulkAddToTopicWorkerWhitelistResponse") + proto.RegisterType((*BulkRemoveFromTopicWorkerWhitelistRequest)(nil), "emissions.v8.BulkRemoveFromTopicWorkerWhitelistRequest") + proto.RegisterType((*BulkRemoveFromTopicWorkerWhitelistResponse)(nil), "emissions.v8.BulkRemoveFromTopicWorkerWhitelistResponse") + proto.RegisterType((*BulkAddToTopicReputerWhitelistRequest)(nil), "emissions.v8.BulkAddToTopicReputerWhitelistRequest") + proto.RegisterType((*BulkAddToTopicReputerWhitelistResponse)(nil), "emissions.v8.BulkAddToTopicReputerWhitelistResponse") + proto.RegisterType((*BulkRemoveFromTopicReputerWhitelistRequest)(nil), "emissions.v8.BulkRemoveFromTopicReputerWhitelistRequest") + proto.RegisterType((*BulkRemoveFromTopicReputerWhitelistResponse)(nil), "emissions.v8.BulkRemoveFromTopicReputerWhitelistResponse") + proto.RegisterType((*RemoveFromTopicCreatorWhitelistRequest)(nil), "emissions.v8.RemoveFromTopicCreatorWhitelistRequest") + proto.RegisterType((*RemoveFromTopicCreatorWhitelistResponse)(nil), "emissions.v8.RemoveFromTopicCreatorWhitelistResponse") + proto.RegisterType((*AddToTopicWorkerWhitelistRequest)(nil), "emissions.v8.AddToTopicWorkerWhitelistRequest") + proto.RegisterType((*AddToTopicWorkerWhitelistResponse)(nil), "emissions.v8.AddToTopicWorkerWhitelistResponse") + proto.RegisterType((*RemoveFromTopicWorkerWhitelistRequest)(nil), "emissions.v8.RemoveFromTopicWorkerWhitelistRequest") + proto.RegisterType((*RemoveFromTopicWorkerWhitelistResponse)(nil), "emissions.v8.RemoveFromTopicWorkerWhitelistResponse") + proto.RegisterType((*AddToTopicReputerWhitelistRequest)(nil), "emissions.v8.AddToTopicReputerWhitelistRequest") + proto.RegisterType((*AddToTopicReputerWhitelistResponse)(nil), "emissions.v8.AddToTopicReputerWhitelistResponse") + proto.RegisterType((*RemoveFromTopicReputerWhitelistRequest)(nil), "emissions.v8.RemoveFromTopicReputerWhitelistRequest") + proto.RegisterType((*RemoveFromTopicReputerWhitelistResponse)(nil), "emissions.v8.RemoveFromTopicReputerWhitelistResponse") +} + +func init() { proto.RegisterFile("emissions/v8/tx.proto", fileDescriptor_c17fac3e9d48321b) } + +var fileDescriptor_c17fac3e9d48321b = []byte{ + // 3792 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xcc, 0x5c, 0x4b, 0x6f, 0x1c, 0x49, + 0x72, 0x9e, 0x12, 0x9b, 0x64, 0x33, 0x48, 0x91, 0xad, 0x14, 0x49, 0x15, 0x5b, 0x7c, 0x36, 0xc9, + 0x51, 0x8b, 0x2b, 0xb1, 0x35, 0xa2, 0x34, 0x23, 0x69, 0x17, 0xb0, 0xa9, 0xa1, 0x28, 0x93, 0x10, + 0xb5, 0xdc, 0x22, 0x67, 0x64, 0x68, 0x16, 0xae, 0x4d, 0x76, 0x25, 0x9b, 0xb5, 0xac, 0x47, 0x6f, + 0x55, 0x35, 0x1f, 0x83, 0x35, 0xd6, 0x16, 0x3c, 0x80, 0xbd, 0x06, 0xfc, 0xb8, 0xd8, 0xc0, 0xfa, + 0x71, 0xf6, 0xc9, 0x98, 0x83, 0x7d, 0x31, 0x7c, 0xf0, 0x71, 0x8f, 0x0b, 0xfb, 0x62, 0xf8, 0xb0, + 0x30, 0x66, 0x0e, 0xf3, 0x37, 0x8c, 0x7c, 0x54, 0xd7, 0xa3, 0xab, 0xaa, 0xbb, 0xd9, 0xa4, 0x67, + 0x2e, 0x33, 0xaa, 0xcc, 0xc8, 0x88, 0x2f, 0x22, 0x23, 0x23, 0x22, 0x23, 0x1b, 0x84, 0x09, 0x62, + 0xea, 0xae, 0xab, 0xdb, 0x96, 0x5b, 0x39, 0x79, 0x52, 0xf1, 0xce, 0x56, 0xeb, 0x8e, 0xed, 0xd9, + 0x68, 0xa4, 0x39, 0xbc, 0x7a, 0xf2, 0xa4, 0x78, 0x03, 0x9b, 0xba, 0x65, 0x57, 0xd8, 0x7f, 0x39, + 0x41, 0xf1, 0x56, 0xd5, 0x76, 0x4d, 0xdb, 0xad, 0x98, 0x6e, 0xad, 0x72, 0xf2, 0x01, 0xfd, 0x9f, + 0x98, 0x98, 0xe2, 0x13, 0x2a, 0xfb, 0xaa, 0xf0, 0x0f, 0x31, 0x55, 0x0c, 0xc9, 0x5a, 0xab, 0x38, + 0xa4, 0xde, 0xf0, 0x88, 0xe3, 0x2f, 0x8b, 0xcc, 0x9d, 0xda, 0xce, 0x71, 0x73, 0x6a, 0xbc, 0x66, + 0xd7, 0x6c, 0xce, 0x8e, 0xfe, 0x8b, 0x8f, 0x96, 0xfe, 0x7d, 0x19, 0x46, 0x7f, 0x58, 0xf7, 0x74, + 0xdb, 0xc2, 0xc6, 0x2e, 0x76, 0xb0, 0xe9, 0x22, 0x19, 0x06, 0x4f, 0x88, 0x43, 0x99, 0xc8, 0xd2, + 0x7c, 0x5f, 0x79, 0x48, 0xf1, 0x3f, 0xd1, 0x53, 0x98, 0x32, 0xf1, 0x99, 0xea, 0x12, 0x47, 0xc7, + 0x86, 0xfe, 0x39, 0xd1, 0x54, 0xd3, 0xad, 0xa9, 0x06, 0xb1, 0x6a, 0xde, 0x91, 0x7c, 0x6d, 0xbe, + 0xaf, 0xdc, 0xa7, 0x4c, 0x9a, 0xf8, 0x6c, 0xaf, 0x39, 0xbf, 0xe3, 0xd6, 0x5e, 0xb1, 0x59, 0x84, + 0xa1, 0x60, 0xea, 0x96, 0xea, 0xd9, 0x75, 0xbd, 0xaa, 0x9e, 0x12, 0xbd, 0x76, 0xe4, 0xc9, 0x7d, + 0x94, 0xfb, 0xf3, 0x8f, 0x7e, 0xfd, 0xdb, 0xb9, 0xf7, 0xfe, 0xe7, 0xb7, 0x73, 0x95, 0x9a, 0xee, + 0x1d, 0x35, 0x0e, 0x56, 0xab, 0xb6, 0x59, 0xc1, 0x86, 0x61, 0x3b, 0xf8, 0xbe, 0x45, 0x3c, 0xaa, + 0x82, 0xff, 0x59, 0x3d, 0xc2, 0xba, 0x55, 0x31, 0xb1, 0x77, 0xb4, 0xba, 0x41, 0xaa, 0xca, 0xa8, + 0xa9, 0x5b, 0xfb, 0x94, 0xdf, 0x1b, 0xc6, 0x0e, 0x1d, 0xc2, 0xa4, 0x43, 0x7e, 0xd6, 0xd0, 0x1d, + 0x8a, 0x4b, 0xb7, 0x74, 0xb3, 0x61, 0xaa, 0xae, 0x87, 0x8f, 0x89, 0xdc, 0xcf, 0x04, 0x3d, 0x10, + 0x82, 0x26, 0xb8, 0x35, 0x5d, 0xed, 0x78, 0x55, 0xb7, 0x39, 0xbb, 0x2d, 0xcb, 0xfb, 0xcf, 0x7f, + 0xb9, 0x0f, 0xc2, 0xcc, 0x5b, 0x96, 0xf7, 0x4f, 0xdf, 0x7c, 0xb9, 0x22, 0x29, 0xe3, 0x3e, 0xbf, + 0x1d, 0xce, 0x6e, 0x8f, 0x72, 0xa3, 0x56, 0x70, 0x88, 0x69, 0x9f, 0x10, 0xce, 0x5d, 0xd5, 0x88, + 0x81, 0xcf, 0xd5, 0x53, 0xdd, 0xd2, 0xec, 0x53, 0x79, 0x80, 0x5b, 0x81, 0x13, 0x30, 0xfa, 0x0d, + 0x3a, 0xfd, 0x86, 0xcd, 0xa2, 0x32, 0xb7, 0x02, 0xa9, 0xdb, 0xd5, 0x23, 0xdf, 0x6e, 0x83, 0x6c, + 0x05, 0x55, 0xe6, 0x05, 0x1d, 0x16, 0xf6, 0x7a, 0x0b, 0x23, 0x07, 0xc4, 0xc3, 0x2a, 0xb1, 0x3c, + 0xc7, 0xae, 0x9f, 0xcb, 0xf9, 0xde, 0x6c, 0x35, 0x4c, 0x99, 0xbd, 0xe0, 0xbc, 0xd0, 0x8f, 0xe1, + 0xba, 0x41, 0xb0, 0x63, 0xe9, 0x56, 0x4d, 0x75, 0xb0, 0x47, 0xe4, 0xa1, 0xde, 0x98, 0x8f, 0xf8, + 0xdc, 0x14, 0xec, 0x11, 0x64, 0x02, 0xf5, 0x01, 0xb5, 0xe6, 0x60, 0x4d, 0x27, 0x96, 0xa7, 0x7a, + 0x47, 0x0e, 0x71, 0x8f, 0x6c, 0x43, 0x93, 0xa1, 0x37, 0x31, 0xe3, 0x26, 0x3e, 0x7b, 0x29, 0xb8, + 0xee, 0xfb, 0x4c, 0x11, 0x01, 0x44, 0x4d, 0xca, 0xb7, 0xe2, 0xd0, 0xc1, 0x55, 0xea, 0xcb, 0xf2, + 0x70, 0x6f, 0xa2, 0xe8, 0x2e, 0xb1, 0xcd, 0xdb, 0x14, 0x0c, 0xd1, 0x0b, 0x98, 0xa3, 0x5a, 0x35, + 0xac, 0xc3, 0x86, 0x71, 0xa8, 0x1b, 0x06, 0xd1, 0x54, 0x7e, 0xba, 0x54, 0xea, 0x23, 0xc4, 0xf5, + 0x5c, 0xf9, 0xfa, 0x7c, 0x5f, 0x39, 0xa7, 0x4c, 0x9b, 0xf8, 0xec, 0x93, 0x80, 0xea, 0x0d, 0x23, + 0x52, 0x04, 0x0d, 0x7a, 0x09, 0xf3, 0x71, 0x36, 0xe2, 0x00, 0x07, 0x7c, 0x46, 0x19, 0x9f, 0x99, + 0x28, 0x1f, 0x85, 0x53, 0x35, 0x19, 0x7d, 0x0e, 0x33, 0xfc, 0x2c, 0x39, 0xe4, 0x14, 0x3b, 0x9a, + 0xd0, 0x5f, 0x37, 0xeb, 0xb6, 0xe3, 0x61, 0xab, 0x4a, 0xe4, 0xb1, 0xde, 0x2c, 0x50, 0x64, 0xdc, + 0x15, 0xc6, 0x9c, 0x59, 0x62, 0xab, 0xc9, 0x1a, 0x7d, 0x21, 0xc1, 0x62, 0x44, 0xf8, 0x21, 0x21, + 0xaa, 0x43, 0x4e, 0x88, 0xd5, 0x88, 0x40, 0x28, 0xf4, 0x06, 0x61, 0x2e, 0x04, 0x61, 0x93, 0x10, + 0x85, 0x0b, 0x08, 0xe1, 0x20, 0x80, 0x22, 0x30, 0xb0, 0x51, 0x3f, 0xc2, 0xf2, 0x8d, 0x1e, 0xb7, + 0x3e, 0x24, 0x75, 0x9d, 0x32, 0x44, 0x55, 0xb8, 0xe1, 0x61, 0xf7, 0x38, 0x2a, 0x05, 0xf5, 0x26, + 0x65, 0x8c, 0x72, 0x0c, 0x0b, 0xa1, 0x36, 0x3d, 0xc1, 0x86, 0xae, 0x61, 0xcf, 0x76, 0x5c, 0xf5, + 0xc4, 0x55, 0xf9, 0x42, 0xb5, 0x4e, 0x9c, 0x2a, 0x3d, 0x46, 0x5c, 0xba, 0x7c, 0xb3, 0x47, 0x9b, + 0x06, 0x32, 0x3e, 0x75, 0xd7, 0x19, 0xc9, 0x2e, 0x17, 0xc0, 0xc1, 0xa0, 0x1f, 0xc0, 0x6d, 0x16, + 0xe2, 0xb1, 0x59, 0x37, 0x88, 0xab, 0x7a, 0xb6, 0xea, 0x56, 0xb1, 0x41, 0x54, 0xb7, 0x6a, 0x3b, + 0xc4, 0x95, 0xc7, 0x99, 0x6f, 0xde, 0xa2, 0x41, 0x9e, 0x53, 0xec, 0xdb, 0x7b, 0x74, 0x7e, 0x8f, + 0x4d, 0xa3, 0x67, 0x50, 0xa4, 0xab, 0x3d, 0xbb, 0xae, 0xea, 0xd6, 0x21, 0x71, 0x88, 0xc3, 0x58, + 0x08, 0xec, 0x13, 0x6c, 0x31, 0x8d, 0x0e, 0xfb, 0x76, 0x7d, 0x4b, 0xcc, 0xef, 0xdb, 0x42, 0xf2, + 0xef, 0xc2, 0x8c, 0xbf, 0xf6, 0xd0, 0x76, 0x48, 0x15, 0xbb, 0x5e, 0x74, 0xf9, 0x24, 0x5b, 0x3e, + 0xc5, 0x97, 0x6f, 0x06, 0x24, 0x4d, 0x0e, 0x21, 0xe9, 0xe2, 0x50, 0x85, 0x97, 0xdf, 0x0a, 0x4b, + 0x17, 0xc7, 0x29, 0x58, 0xfb, 0x16, 0x0a, 0x55, 0x87, 0x60, 0x8f, 0x88, 0x14, 0x75, 0x48, 0x88, + 0x2c, 0x5f, 0x30, 0x6d, 0x8c, 0x72, 0x4e, 0x2c, 0x37, 0x6d, 0x12, 0x82, 0xbe, 0x0f, 0xc5, 0x66, + 0x34, 0xd4, 0x88, 0xcb, 0xb6, 0x93, 0x02, 0xd5, 0x29, 0x02, 0x79, 0x8a, 0x9b, 0xd4, 0xa7, 0xd8, + 0xe0, 0x04, 0x3b, 0xf8, 0x6c, 0x8b, 0x4e, 0xa3, 0xcf, 0xa0, 0xe0, 0x90, 0x9a, 0xee, 0x7a, 0x0e, + 0xa6, 0x81, 0x88, 0x01, 0x9b, 0xbe, 0x20, 0xb0, 0xb1, 0x30, 0x27, 0x8a, 0xec, 0x1e, 0x20, 0x8d, + 0x1c, 0xe2, 0x86, 0xe1, 0xa9, 0x75, 0x5c, 0x23, 0xaa, 0xa1, 0x9b, 0xba, 0x27, 0xcf, 0x30, 0x44, + 0x05, 0x31, 0xb3, 0x8b, 0x6b, 0xe4, 0x15, 0x1d, 0x47, 0x4b, 0x30, 0x4a, 0x61, 0x87, 0x28, 0x67, + 0x19, 0xe5, 0x88, 0x89, 0xcf, 0x02, 0x2a, 0xba, 0x8f, 0xb1, 0x1c, 0xa7, 0x3a, 0xa4, 0x6a, 0x3b, + 0x9a, 0x58, 0x34, 0xc7, 0x12, 0xde, 0x54, 0x34, 0xe1, 0x29, 0x8c, 0x82, 0x73, 0x28, 0x43, 0xe1, + 0xc0, 0xb0, 0xab, 0xc7, 0x2e, 0x75, 0x7e, 0xd5, 0xb4, 0x2d, 0xef, 0x48, 0x9e, 0x67, 0x92, 0x46, + 0xf9, 0xf8, 0x2e, 0x71, 0x76, 0xe8, 0x28, 0x8d, 0x00, 0x75, 0xff, 0x5c, 0x72, 0x87, 0xa3, 0x71, + 0x67, 0xa1, 0xc7, 0x08, 0x50, 0xe7, 0x3e, 0xb1, 0xe5, 0x33, 0xa4, 0x11, 0xa0, 0x29, 0xc6, 0xf7, + 0x4d, 0xb9, 0xd4, 0x63, 0x04, 0x10, 0x52, 0x7c, 0x47, 0xa6, 0x15, 0x52, 0x53, 0x88, 0x70, 0x5f, + 0x79, 0xb1, 0xc7, 0x0a, 0x49, 0xc8, 0x10, 0xde, 0x4e, 0xcd, 0x55, 0x6d, 0x35, 0xd7, 0x52, 0x8f, + 0xe6, 0xaa, 0x26, 0x98, 0xab, 0xda, 0x62, 0xae, 0xe5, 0x1e, 0xcd, 0x55, 0x8d, 0x99, 0xeb, 0x35, + 0x0c, 0x54, 0x55, 0xcb, 0x76, 0x4c, 0xf9, 0xfd, 0xde, 0x38, 0xf7, 0x57, 0x5f, 0xdb, 0x8e, 0x89, + 0x7e, 0x02, 0x63, 0xa4, 0xee, 0xea, 0x86, 0x6d, 0x35, 0xad, 0x5f, 0xee, 0xd1, 0xfa, 0x82, 0x9f, + 0x6f, 0xfd, 0x4f, 0xe1, 0xee, 0x11, 0x36, 0x0e, 0xd9, 0xd1, 0xaf, 0x3b, 0x76, 0x95, 0xb8, 0xae, + 0x48, 0xdb, 0xac, 0x5a, 0xc4, 0x86, 0xab, 0x12, 0x4b, 0x53, 0x99, 0x8b, 0xcb, 0x2b, 0xcc, 0xdf, + 0x17, 0xe9, 0x82, 0x1d, 0x7c, 0xb6, 0xcb, 0xc9, 0x59, 0x22, 0x56, 0x04, 0xf1, 0x0b, 0x4b, 0x7b, + 0x4e, 0x49, 0x69, 0xe8, 0xd2, 0xb0, 0x87, 0x55, 0x97, 0x58, 0x1a, 0x2d, 0xe9, 0x68, 0x84, 0xf8, + 0xde, 0x45, 0x43, 0x17, 0xe5, 0xb4, 0xc7, 0x19, 0xd1, 0x00, 0x81, 0xa1, 0xe0, 0x5b, 0xc5, 0xc5, + 0x87, 0x44, 0xd5, 0xf4, 0x13, 0xf9, 0xde, 0xe5, 0x98, 0x65, 0x0f, 0x1f, 0x92, 0x0d, 0xfd, 0xc4, + 0xbf, 0x54, 0x10, 0x83, 0x98, 0xc4, 0xf2, 0xf8, 0x99, 0x6f, 0x7a, 0xcd, 0xfd, 0x66, 0xd0, 0x7e, + 0x21, 0xe6, 0x77, 0x89, 0xd3, 0xf4, 0x01, 0x91, 0xac, 0x68, 0x89, 0x76, 0x22, 0x02, 0x37, 0x5f, + 0xcf, 0x6d, 0xb8, 0xda, 0x4c, 0x56, 0xeb, 0x8c, 0x82, 0x05, 0x64, 0xca, 0x80, 0xdb, 0x6d, 0x05, + 0x6e, 0xb0, 0x54, 0xe7, 0x39, 0xd4, 0x6a, 0xa2, 0x1a, 0xaf, 0xb0, 0x35, 0x63, 0x34, 0xc1, 0xb1, + 0x71, 0x51, 0x8e, 0xdb, 0x70, 0x4b, 0xb7, 0x74, 0x4f, 0xc7, 0x86, 0xea, 0x90, 0x9a, 0x43, 0x3c, + 0xf5, 0x67, 0x0d, 0x6c, 0x79, 0xba, 0x41, 0xe4, 0x07, 0xbd, 0x99, 0x63, 0x42, 0xf0, 0x55, 0x18, + 0xdb, 0x1f, 0x09, 0xae, 0xe8, 0x0f, 0x60, 0xac, 0xce, 0xdc, 0x3b, 0xb0, 0xfb, 0x07, 0x3d, 0x56, + 0xe9, 0x75, 0xea, 0xe7, 0xbe, 0xd5, 0x7f, 0x07, 0xe4, 0x9a, 0x61, 0x1f, 0x60, 0x43, 0x3d, 0x3d, + 0xd2, 0x3d, 0x62, 0xe8, 0xae, 0xa7, 0x12, 0x0b, 0x1f, 0x18, 0x44, 0x93, 0x1f, 0xce, 0xf7, 0x95, + 0xf3, 0xcf, 0xfb, 0xb9, 0x47, 0x4c, 0x72, 0xb2, 0x37, 0x3e, 0xd5, 0x0b, 0x4e, 0x84, 0x5e, 0x01, + 0xaf, 0xcf, 0x54, 0x96, 0xec, 0x6c, 0x27, 0x81, 0xcf, 0x5a, 0x98, 0xcf, 0x34, 0xa3, 0xfe, 0x98, + 0x13, 0xb7, 0x70, 0xfb, 0x18, 0x66, 0x59, 0xd2, 0x38, 0xab, 0x13, 0x47, 0xa7, 0x41, 0x24, 0x54, + 0x5e, 0x53, 0xbb, 0xb8, 0xf2, 0x23, 0xb6, 0x31, 0xb7, 0x69, 0xd6, 0x08, 0x88, 0xfc, 0xea, 0x9a, + 0x91, 0xa0, 0x5f, 0x4a, 0xb0, 0xdc, 0x0c, 0x6b, 0xaa, 0xdd, 0xf0, 0x0c, 0x9d, 0x38, 0xaa, 0x46, + 0x3c, 0xc2, 0x6a, 0xf8, 0xd0, 0x4d, 0xe4, 0x71, 0x6f, 0xa6, 0x2c, 0x35, 0xa5, 0xfc, 0x90, 0x0b, + 0xd9, 0xf0, 0x65, 0x04, 0xf7, 0x92, 0x77, 0x12, 0x2c, 0x64, 0x81, 0xe1, 0x65, 0xe4, 0x87, 0xbd, + 0x01, 0x99, 0x4d, 0x05, 0xc2, 0xab, 0x4a, 0x1d, 0xc6, 0x0d, 0x6c, 0x1e, 0x68, 0x58, 0xf5, 0xbd, + 0x97, 0xd5, 0x71, 0xf2, 0x47, 0xbd, 0x89, 0x45, 0x9c, 0xe9, 0x16, 0xe7, 0xc9, 0x6a, 0x3f, 0xea, + 0x0f, 0xbe, 0x43, 0xf1, 0x8d, 0x6b, 0xf5, 0x87, 0x27, 0x11, 0x7f, 0x10, 0x7e, 0xc5, 0x88, 0x5b, + 0xfc, 0xe1, 0x35, 0xcc, 0x0b, 0x6e, 0xfe, 0xf5, 0xa8, 0x95, 0xdd, 0xd3, 0x30, 0xbb, 0x19, 0x4e, + 0x2e, 0x62, 0x6d, 0x92, 0xb7, 0x0a, 0x7e, 0x58, 0xa3, 0x8e, 0x16, 0x70, 0xc3, 0xf5, 0x3a, 0xb1, + 0x34, 0xa2, 0xc9, 0xcf, 0x12, 0xd0, 0xad, 0x53, 0xe2, 0x26, 0xb3, 0x75, 0x41, 0x8a, 0x76, 0xf8, + 0x2d, 0x2e, 0x60, 0xa2, 0x5b, 0xf5, 0x86, 0xa7, 0x62, 0xc7, 0xc1, 0xe7, 0x7e, 0x20, 0xf9, 0x3e, + 0xf5, 0xd7, 0x26, 0x3b, 0x13, 0x9f, 0x35, 0xd9, 0x6c, 0x51, 0xe2, 0x75, 0x4a, 0x2b, 0x82, 0xcb, + 0x2f, 0x60, 0x9e, 0x61, 0x62, 0x6d, 0x8c, 0xc0, 0x4b, 0x69, 0x14, 0x54, 0x5d, 0x4f, 0x63, 0x49, + 0xee, 0x07, 0xbd, 0xed, 0xd8, 0x34, 0xd5, 0x83, 0xf1, 0x6f, 0x7a, 0xe8, 0xa6, 0xed, 0xec, 0x71, + 0xe6, 0xdb, 0xb9, 0x7c, 0xae, 0xd0, 0xbf, 0x9d, 0xcb, 0x17, 0x0b, 0xb7, 0xb7, 0x73, 0xf9, 0xdb, + 0x85, 0xe9, 0xed, 0x5c, 0xfe, 0x4e, 0xa1, 0xbc, 0x9d, 0xcb, 0xdf, 0x2d, 0xac, 0xb0, 0x7b, 0x77, + 0x4b, 0x70, 0x65, 0x27, 0x51, 0x25, 0x87, 0x87, 0x24, 0x14, 0x7c, 0xfd, 0x4b, 0xa0, 0xb2, 0x48, + 0x97, 0x38, 0xc4, 0x73, 0x74, 0x7e, 0x87, 0xe0, 0xd7, 0x58, 0xd5, 0xb2, 0xad, 0x2a, 0x71, 0x85, + 0x83, 0x88, 0x88, 0x10, 0xb9, 0x3c, 0x6a, 0xa4, 0x8a, 0xcf, 0x59, 0x4f, 0x42, 0x59, 0xca, 0x64, + 0x21, 0xbc, 0xa2, 0x54, 0x87, 0x9b, 0x9f, 0xd4, 0x35, 0xec, 0x11, 0xde, 0xbb, 0x12, 0xd7, 0x63, + 0x34, 0x09, 0x03, 0x34, 0x1b, 0x12, 0x47, 0x96, 0xe6, 0xa5, 0xf2, 0x90, 0x22, 0xbe, 0xd0, 0x23, + 0x18, 0xa8, 0x33, 0x42, 0xf9, 0xda, 0xbc, 0x54, 0x1e, 0x7e, 0x38, 0xbd, 0x1a, 0x6e, 0xd0, 0xad, + 0x46, 0x1b, 0x61, 0x8a, 0xa0, 0x7d, 0x36, 0xfc, 0xee, 0x9b, 0x2f, 0x57, 0x04, 0x8b, 0xd2, 0x24, + 0x8c, 0x47, 0x25, 0xba, 0x75, 0xdb, 0x72, 0x49, 0xe9, 0x5f, 0x87, 0x60, 0x82, 0x45, 0x37, 0xf2, + 0x9a, 0x9c, 0xee, 0xf3, 0x3b, 0x24, 0x07, 0x23, 0xc3, 0xa0, 0x88, 0x91, 0x02, 0x8d, 0xff, 0x89, + 0x8a, 0x90, 0x37, 0x89, 0x87, 0x69, 0xce, 0x65, 0x80, 0x86, 0x94, 0xe6, 0x37, 0x9a, 0x83, 0x61, + 0xc3, 0x76, 0x5d, 0xd5, 0x24, 0xde, 0x91, 0xad, 0xc9, 0x39, 0x36, 0x0d, 0x74, 0x68, 0x87, 0x8d, + 0xa0, 0x05, 0x18, 0x89, 0xf5, 0x91, 0xa4, 0x72, 0x9f, 0x32, 0x4c, 0x42, 0x4d, 0xa4, 0x32, 0x14, + 0x6a, 0x8e, 0xdd, 0xb0, 0x34, 0xd5, 0x73, 0x1a, 0xde, 0x91, 0x6a, 0xe0, 0x9a, 0x9c, 0x67, 0x64, + 0xa3, 0x7c, 0x7c, 0x9f, 0x0e, 0xbf, 0xc2, 0x35, 0x5a, 0x4d, 0xf1, 0x74, 0x23, 0x03, 0x15, 0xd4, + 0x43, 0x35, 0xc5, 0xb2, 0x0c, 0x7a, 0x0b, 0x23, 0x2c, 0xc0, 0x89, 0xf0, 0x2d, 0x0f, 0xf7, 0xc6, + 0x75, 0x98, 0x31, 0xe3, 0x71, 0x1e, 0x2d, 0xc3, 0x28, 0xa5, 0x3a, 0x55, 0x2d, 0x52, 0xc3, 0xd4, + 0xf9, 0xe4, 0x91, 0x79, 0xa9, 0x9c, 0x57, 0xae, 0xb3, 0xd1, 0xd7, 0x62, 0x10, 0xfd, 0x08, 0x06, + 0x45, 0xa5, 0x21, 0x5f, 0xef, 0x4d, 0xba, 0xcf, 0x07, 0x3d, 0x01, 0x59, 0x04, 0x37, 0xb7, 0x71, + 0x20, 0x1c, 0xc7, 0x6f, 0xfc, 0x8d, 0x32, 0xbb, 0x4e, 0xf2, 0xf9, 0xbd, 0xe6, 0xb4, 0x68, 0xfc, + 0x1d, 0xc3, 0x84, 0x49, 0x1c, 0xdd, 0x53, 0x5d, 0xdb, 0xf1, 0xf4, 0x50, 0x02, 0x18, 0xeb, 0x0d, + 0xda, 0x4d, 0xc6, 0x75, 0xcf, 0x67, 0xca, 0xa3, 0xbe, 0x0d, 0xb7, 0x44, 0x49, 0x24, 0x2e, 0xe1, + 0x41, 0xb1, 0x52, 0xe8, 0x4d, 0xdc, 0x04, 0xe7, 0x2b, 0xee, 0xee, 0xcd, 0x62, 0xa5, 0x01, 0x45, + 0x21, 0x30, 0xb8, 0xb9, 0x07, 0x32, 0x6f, 0xf4, 0x26, 0x53, 0xe6, 0xac, 0x83, 0x0b, 0x7f, 0x53, + 0x6c, 0xa0, 0xa7, 0x9f, 0x24, 0x9a, 0x32, 0xd1, 0xa5, 0xe8, 0x29, 0xb2, 0x49, 0x53, 0xe0, 0x87, + 0x70, 0x8b, 0x27, 0x9f, 0x96, 0x1c, 0x27, 0xdf, 0x64, 0x2e, 0x38, 0xc1, 0xa7, 0x63, 0x49, 0x8d, + 0xfa, 0x8d, 0x58, 0xd7, 0x92, 0xcd, 0xe4, 0x71, 0xb6, 0x70, 0x92, 0xcf, 0xc7, 0xd3, 0xd7, 0xb3, + 0x11, 0x1a, 0x7a, 0xfc, 0x78, 0xb1, 0x9d, 0xcb, 0xf7, 0x15, 0x72, 0xdb, 0xb9, 0x7c, 0x7f, 0x61, + 0x60, 0x3b, 0x97, 0x1f, 0x28, 0x0c, 0x6e, 0xe7, 0xf2, 0x43, 0x05, 0xe0, 0x61, 0x41, 0x35, 0xec, + 0x9a, 0x5e, 0x55, 0xc6, 0x82, 0xa2, 0x83, 0x0f, 0x14, 0x82, 0x01, 0x1e, 0x4b, 0x94, 0x61, 0xff, + 0xce, 0x8f, 0x9d, 0x5a, 0x69, 0x0d, 0x26, 0xe3, 0x61, 0x8b, 0x47, 0x34, 0x34, 0x05, 0x79, 0x1e, + 0xa1, 0x75, 0x8d, 0x05, 0xae, 0x9c, 0x32, 0xc8, 0xbe, 0xb7, 0xb4, 0xd2, 0xdf, 0x48, 0x70, 0x7b, + 0xcb, 0x72, 0x89, 0xe3, 0x09, 0xc4, 0xbb, 0xf8, 0xdc, 0xb0, 0xb1, 0xd6, 0x2e, 0xfe, 0x2a, 0x30, + 0xee, 0x5b, 0xe0, 0x04, 0x1b, 0x0d, 0xa2, 0x1e, 0x34, 0x2c, 0xcd, 0x20, 0x22, 0x1a, 0xcf, 0x87, + 0xa3, 0xf1, 0xda, 0xaa, 0x60, 0xfd, 0x29, 0x25, 0x7c, 0xce, 0xe8, 0x14, 0xe4, 0xb4, 0x8c, 0x45, + 0xa3, 0xf3, 0x2c, 0x4c, 0x27, 0xe3, 0x12, 0x51, 0xfa, 0x2f, 0x25, 0x28, 0x72, 0x02, 0xbe, 0x47, + 0x1d, 0xe2, 0x7e, 0x05, 0x48, 0xec, 0x38, 0xbb, 0x69, 0x45, 0x50, 0xcf, 0x46, 0x51, 0x73, 0xbe, + 0x1b, 0xd8, 0xc3, 0x02, 0x73, 0xe1, 0x34, 0x36, 0x12, 0x45, 0x3c, 0xe3, 0x5b, 0x32, 0x06, 0x48, + 0x00, 0xfe, 0x67, 0x09, 0xc6, 0x14, 0xd6, 0xb5, 0x69, 0x36, 0x7f, 0x53, 0x51, 0x86, 0x37, 0x2c, + 0x17, 0xd9, 0x30, 0x34, 0x0e, 0xfd, 0xf6, 0xa9, 0x45, 0x1c, 0xb9, 0x9f, 0xad, 0xe0, 0x1f, 0x68, + 0x06, 0x40, 0x6f, 0xe6, 0x52, 0x79, 0x80, 0x79, 0xe2, 0x90, 0xee, 0x0a, 0xdb, 0x45, 0x70, 0x6e, + 0xe7, 0xf2, 0xd7, 0x0a, 0x7d, 0xdc, 0x03, 0x95, 0x61, 0x43, 0x3f, 0x50, 0xeb, 0x0f, 0xeb, 0xea, + 0x31, 0x39, 0x57, 0xae, 0x9b, 0x0d, 0xc3, 0xd3, 0x55, 0xac, 0x69, 0x0e, 0x71, 0xdd, 0xd2, 0x26, + 0x14, 0x02, 0xbc, 0xc2, 0x93, 0x64, 0x18, 0x74, 0x1b, 0x55, 0x7a, 0x83, 0x65, 0x88, 0xf3, 0x8a, + 0xff, 0x49, 0x67, 0x4c, 0xe2, 0xba, 0xb8, 0x46, 0x44, 0x02, 0xf4, 0x3f, 0x4b, 0x9f, 0xc3, 0x14, + 0xbb, 0xe9, 0x12, 0x25, 0xd4, 0xb3, 0xea, 0xc6, 0x02, 0xd7, 0xa2, 0x16, 0x88, 0xea, 0xda, 0x97, + 0xa5, 0x6b, 0x69, 0x17, 0x8a, 0x49, 0xb2, 0x7b, 0xd0, 0xe6, 0xef, 0x24, 0x18, 0x5b, 0xd7, 0x34, + 0x71, 0x81, 0xbf, 0xb0, 0x12, 0xbf, 0x07, 0x03, 0xd8, 0xb4, 0x1b, 0x96, 0xc7, 0x14, 0xb8, 0xc8, + 0x05, 0x5f, 0xac, 0x8f, 0xea, 0x8b, 0xa0, 0x10, 0x80, 0x13, 0x8e, 0xf7, 0x8f, 0x12, 0x20, 0x25, + 0x78, 0xc5, 0xfa, 0xee, 0x81, 0x9e, 0x80, 0x9b, 0x11, 0x7c, 0x02, 0xf7, 0x5b, 0x90, 0x3f, 0xc6, + 0x56, 0x95, 0x18, 0x97, 0x02, 0x3e, 0x2a, 0xf2, 0x36, 0x4c, 0x25, 0xf0, 0x16, 0x82, 0xff, 0x4d, + 0x82, 0xf1, 0x0d, 0x62, 0xd0, 0xf2, 0xa3, 0x67, 0x93, 0xc9, 0x30, 0x18, 0xf6, 0xd4, 0x21, 0xc5, + 0xff, 0x0c, 0x19, 0x33, 0x77, 0x99, 0xc6, 0xbc, 0x05, 0x13, 0x31, 0xec, 0x42, 0xab, 0xff, 0x90, + 0xfc, 0xb3, 0xd0, 0x95, 0x6e, 0x21, 0x05, 0xae, 0x45, 0x15, 0x08, 0x6b, 0xdd, 0x97, 0xe6, 0x28, + 0x97, 0xaa, 0xdb, 0x0c, 0xdc, 0x4e, 0xd4, 0x40, 0x68, 0xf8, 0x2b, 0x09, 0xe6, 0xc3, 0xbb, 0x7a, + 0x59, 0x7b, 0x38, 0x0d, 0x43, 0x1a, 0x67, 0x65, 0xfb, 0xbb, 0x18, 0x0c, 0x84, 0x0d, 0x94, 0x8b, + 0x18, 0x28, 0x8a, 0x7d, 0x11, 0x16, 0x32, 0xb0, 0x09, 0x0d, 0x4e, 0xe8, 0x16, 0x9d, 0x62, 0x47, + 0xbb, 0x72, 0xf7, 0x4b, 0x30, 0x6c, 0x82, 0x5c, 0x01, 0xeb, 0xef, 0x25, 0x28, 0x6c, 0xd2, 0x4b, + 0x46, 0xf8, 0x32, 0xf4, 0xdd, 0x89, 0x1f, 0x37, 0xe1, 0x46, 0x08, 0x9d, 0xc0, 0xfc, 0x19, 0x14, + 0xd7, 0x35, 0x6d, 0xdf, 0x0e, 0xee, 0xfc, 0x9a, 0xa9, 0x5b, 0x1d, 0x78, 0xbb, 0x48, 0x7f, 0xbe, + 0xb7, 0x8b, 0xcf, 0x16, 0x7b, 0x25, 0x32, 0x17, 0xb2, 0x7f, 0x02, 0x73, 0x7c, 0x97, 0x37, 0x1d, + 0xdb, 0xbc, 0x12, 0x00, 0x25, 0x98, 0x4f, 0x97, 0x20, 0x50, 0x54, 0x61, 0x81, 0x37, 0x4d, 0xf8, + 0x4f, 0x2b, 0xa2, 0x95, 0xec, 0x65, 0x05, 0xd2, 0x25, 0x28, 0x65, 0x09, 0x11, 0x50, 0x34, 0x28, + 0x6d, 0xe8, 0xee, 0x55, 0x63, 0x59, 0x86, 0xc5, 0x4c, 0x29, 0x01, 0x98, 0x10, 0xe4, 0x78, 0xa1, + 0x7e, 0x89, 0x60, 0x32, 0xa5, 0x08, 0x30, 0x24, 0x8a, 0xf9, 0xaa, 0xd0, 0xbc, 0x0f, 0x4b, 0xd9, + 0x62, 0x04, 0x9c, 0x1f, 0x0b, 0xc7, 0x7e, 0x19, 0x6d, 0x15, 0x5f, 0x92, 0xd7, 0xce, 0xc2, 0x74, + 0x32, 0x77, 0x21, 0x1d, 0x87, 0xbd, 0xfa, 0x6a, 0x20, 0x2c, 0xc2, 0x42, 0x86, 0x08, 0x81, 0xe3, + 0x00, 0x16, 0x18, 0xce, 0xfd, 0xa4, 0x46, 0xf7, 0x25, 0x01, 0x59, 0x82, 0x52, 0x96, 0x8c, 0x18, + 0x92, 0x97, 0x49, 0x2d, 0xd6, 0x4b, 0x46, 0x92, 0x22, 0x43, 0x20, 0xa9, 0xc1, 0xfb, 0x2d, 0x86, + 0xbb, 0x12, 0x38, 0x77, 0xe1, 0x4e, 0x5b, 0x41, 0xcd, 0x08, 0x17, 0x46, 0xde, 0xed, 0xd9, 0xe9, + 0x10, 0xcf, 0x32, 0x2c, 0x66, 0x0a, 0x11, 0x58, 0x8e, 0x5a, 0x61, 0x5f, 0x11, 0xa0, 0x15, 0x28, + 0xb7, 0x97, 0x14, 0x9c, 0xa8, 0x10, 0xf8, 0x68, 0x13, 0xfc, 0xf2, 0x4e, 0x54, 0x86, 0x08, 0x81, + 0xe3, 0x10, 0x96, 0xe3, 0x98, 0xaf, 0x04, 0x4c, 0xb9, 0xd5, 0x4b, 0x53, 0x10, 0xfd, 0x14, 0x96, + 0x9f, 0x37, 0x8c, 0xe3, 0x8b, 0x9f, 0xae, 0x69, 0x18, 0x12, 0x10, 0x88, 0xcb, 0x7e, 0x32, 0x39, + 0xa4, 0x04, 0x03, 0x2d, 0xa8, 0xda, 0xc9, 0x12, 0xa8, 0x6c, 0x58, 0xa1, 0x94, 0x3d, 0x9e, 0xb4, + 0x2e, 0xa0, 0xdd, 0x87, 0xef, 0x75, 0x24, 0x50, 0xe0, 0x3b, 0x6e, 0xd1, 0xa4, 0x5b, 0x27, 0xef, + 0x02, 0xdb, 0x5d, 0xb8, 0xd3, 0x56, 0x98, 0xc0, 0x55, 0x4f, 0x56, 0xe3, 0x0a, 0xc1, 0xad, 0xc2, + 0xbd, 0xce, 0x24, 0x0a, 0x84, 0x7f, 0x22, 0xc1, 0x52, 0x53, 0x9b, 0x8b, 0x54, 0x41, 0x99, 0xd8, + 0x32, 0x2e, 0x63, 0x51, 0xd8, 0x77, 0x42, 0x6e, 0x9f, 0x59, 0x25, 0xfd, 0x99, 0x04, 0x77, 0xa3, + 0x0a, 0x7e, 0x7b, 0xa0, 0xef, 0xc5, 0x4f, 0x45, 0x26, 0xf2, 0x2f, 0xa4, 0xb8, 0x8e, 0x97, 0xea, + 0x06, 0x1d, 0xa3, 0x0e, 0x9f, 0xfa, 0xec, 0xaa, 0xeb, 0x97, 0x52, 0xa2, 0x82, 0xdf, 0x0e, 0xec, + 0x96, 0x88, 0x90, 0x8d, 0x3d, 0x52, 0x17, 0x5c, 0x65, 0xc1, 0x14, 0xa9, 0x0b, 0xb2, 0xab, 0xa6, + 0x9f, 0x8b, 0xac, 0x77, 0x11, 0x8f, 0x4d, 0x45, 0xd3, 0xb1, 0x01, 0x17, 0xc3, 0xd5, 0x63, 0x9a, + 0x93, 0xfe, 0xb1, 0x14, 0xce, 0x88, 0xdf, 0x0e, 0xd0, 0x72, 0xcb, 0xd6, 0xa5, 0xa1, 0xfd, 0xc3, + 0xb0, 0x4a, 0x97, 0x56, 0xd6, 0x74, 0x0c, 0x34, 0x52, 0x2b, 0xa7, 0x7a, 0xe2, 0x3b, 0xa9, 0x45, + 0x9f, 0xff, 0x7f, 0xa8, 0xad, 0x5e, 0x9a, 0x86, 0xf7, 0xe1, 0x7f, 0x95, 0x01, 0x76, 0xdc, 0xda, + 0x1e, 0x71, 0x4e, 0xf4, 0x2a, 0x41, 0x9f, 0xc0, 0x48, 0xf8, 0x39, 0x1a, 0x2d, 0x44, 0x5f, 0xb4, + 0x13, 0x1e, 0xc7, 0x8b, 0xa5, 0x2c, 0x12, 0xd1, 0xe3, 0xfe, 0x0c, 0x46, 0xa3, 0xaf, 0x42, 0x68, + 0x31, 0xba, 0x2a, 0xf1, 0xa9, 0xbb, 0xb8, 0x94, 0x4d, 0x24, 0x98, 0x6f, 0x41, 0xde, 0x7f, 0x22, + 0x40, 0x33, 0xd1, 0x15, 0xb1, 0xa7, 0x8e, 0xe2, 0x6c, 0xda, 0xb4, 0x60, 0x55, 0xf3, 0x9b, 0xd4, + 0xe1, 0x4e, 0x3d, 0xba, 0x13, 0x5f, 0x95, 0xf2, 0x8e, 0x50, 0x2c, 0xb7, 0x27, 0x0c, 0x30, 0xfb, + 0x2d, 0xf2, 0x38, 0xe6, 0x58, 0x5f, 0x3f, 0x8e, 0x39, 0xde, 0x59, 0x47, 0x0a, 0x0c, 0x87, 0xfa, + 0xc7, 0x68, 0x3e, 0x09, 0x43, 0x84, 0xe1, 0x42, 0x06, 0x85, 0xe0, 0xa9, 0xc1, 0x8d, 0x96, 0xce, + 0x34, 0x7a, 0x3f, 0xb6, 0x1b, 0x29, 0x6d, 0xf1, 0xe2, 0x9d, 0xb6, 0x74, 0x42, 0xca, 0xef, 0xc3, + 0xf5, 0x48, 0xab, 0x0f, 0xc5, 0x5c, 0x29, 0xa9, 0xff, 0x58, 0x5c, 0xcc, 0xa4, 0x11, 0x9c, 0x7f, + 0x0a, 0x37, 0x13, 0x5a, 0x89, 0xa8, 0x65, 0x7f, 0xd2, 0xba, 0x9c, 0xc5, 0xbb, 0x1d, 0x50, 0x86, + 0x65, 0xb5, 0x74, 0x53, 0x51, 0xa2, 0x2f, 0x74, 0x26, 0x2b, 0xb5, 0x35, 0x8b, 0x7e, 0x1e, 0x7d, + 0x31, 0x88, 0x4a, 0x5c, 0x4d, 0xb7, 0x7b, 0xa2, 0xdc, 0x4a, 0xc7, 0xf4, 0x42, 0xfa, 0x2b, 0x18, + 0x6a, 0xb6, 0x38, 0x51, 0xcc, 0x2d, 0xe3, 0x9d, 0xd9, 0xe2, 0x5c, 0xea, 0x7c, 0x60, 0xb7, 0x84, + 0xf6, 0x65, 0xdc, 0x6e, 0xe9, 0xed, 0xd3, 0xb8, 0xdd, 0x32, 0x7a, 0xa1, 0xe8, 0x1c, 0xe4, 0xb4, + 0x4e, 0x25, 0xba, 0x9f, 0x64, 0xfe, 0xd4, 0x9e, 0x69, 0x71, 0xb5, 0x53, 0xf2, 0x40, 0xcd, 0x84, + 0x07, 0xd9, 0xb8, 0x9a, 0xe9, 0x8f, 0xc8, 0x71, 0x35, 0x33, 0x5e, 0x77, 0x91, 0x09, 0xe3, 0x49, + 0xcf, 0xd5, 0x28, 0x91, 0x45, 0xe2, 0x53, 0x7b, 0x71, 0xa5, 0x13, 0xd2, 0x40, 0x5c, 0x52, 0x27, + 0x0d, 0x25, 0x6d, 0x4c, 0x72, 0x23, 0x2d, 0x2e, 0x2e, 0xab, 0x31, 0x47, 0x9d, 0x3f, 0xb5, 0x6b, + 0x86, 0x52, 0xb7, 0x25, 0x45, 0x70, 0xa5, 0x63, 0x7a, 0x21, 0xfd, 0x17, 0xa2, 0x95, 0x9f, 0x78, + 0x35, 0x45, 0x95, 0x74, 0x3d, 0x12, 0x0b, 0xaa, 0xe2, 0x83, 0xce, 0x17, 0x08, 0x00, 0x7f, 0x21, + 0x85, 0x1b, 0xfa, 0xc9, 0x30, 0x1e, 0xb5, 0xd1, 0x2a, 0x19, 0xcb, 0xe3, 0x2e, 0x57, 0x09, 0x40, + 0xef, 0xa4, 0x48, 0x9f, 0x36, 0x5e, 0x62, 0xa0, 0x74, 0x15, 0x53, 0x2a, 0xa2, 0xe2, 0x07, 0x5d, + 0xac, 0x10, 0x20, 0xfe, 0x5a, 0x6a, 0x6d, 0xd7, 0xb6, 0x20, 0x69, 0xa3, 0x60, 0x1a, 0x9c, 0x0f, + 0xbb, 0x5d, 0x16, 0x38, 0x6a, 0x6a, 0x33, 0x2a, 0xee, 0xa8, 0xed, 0x1a, 0x63, 0xc5, 0x4a, 0xc7, + 0xf4, 0x42, 0xfa, 0x9f, 0x4b, 0x30, 0x9b, 0xdd, 0x7e, 0x42, 0x6b, 0xd9, 0x8a, 0x25, 0x03, 0x79, + 0xd4, 0xdd, 0xa2, 0x10, 0x9a, 0xec, 0xb6, 0x53, 0x1c, 0x4d, 0x47, 0x0d, 0xb1, 0x38, 0x9a, 0xce, + 0x3a, 0x5b, 0xe8, 0x57, 0x12, 0x2c, 0x76, 0xd0, 0x69, 0x42, 0x4f, 0x5a, 0xb9, 0x77, 0x78, 0x96, + 0x9e, 0x5e, 0x60, 0x65, 0xe8, 0x80, 0xb7, 0x69, 0x35, 0xa1, 0x6c, 0xb5, 0xd3, 0x1c, 0xf9, 0x71, + 0x97, 0xab, 0x04, 0xa0, 0x7f, 0x10, 0xdd, 0xa2, 0xb6, 0xe7, 0xab, 0x03, 0xa5, 0xd3, 0xa0, 0x3d, + 0xbb, 0xc8, 0x52, 0x81, 0xef, 0x4f, 0x25, 0x98, 0xc9, 0xec, 0x23, 0xa1, 0x87, 0x29, 0x8a, 0x67, + 0x5c, 0x75, 0x8b, 0x6b, 0x5d, 0xad, 0x11, 0x50, 0xfe, 0x56, 0x82, 0x52, 0xfb, 0xee, 0x10, 0xfa, + 0x28, 0x4b, 0xdb, 0x2c, 0x50, 0x4f, 0xba, 0x5f, 0x98, 0x74, 0x00, 0x13, 0xef, 0x82, 0x28, 0x53, + 0xe3, 0xb4, 0x8d, 0x7b, 0xd4, 0xdd, 0xa2, 0xd4, 0x03, 0x98, 0x0c, 0xa9, 0xbd, 0xbe, 0x69, 0xb8, + 0x9e, 0x5e, 0x60, 0x65, 0x90, 0xe2, 0xd3, 0x9f, 0x91, 0xe3, 0x29, 0xbe, 0xed, 0xab, 0x76, 0x3c, + 0xc5, 0xb7, 0x7f, 0xa1, 0x66, 0x19, 0x35, 0xe3, 0xf1, 0x38, 0x9e, 0x51, 0xdb, 0xbf, 0x66, 0xc7, + 0x33, 0x6a, 0x07, 0x2f, 0xd3, 0x0c, 0x44, 0xc6, 0xa3, 0x31, 0x4a, 0x57, 0xab, 0xc3, 0xb4, 0xde, + 0xc1, 0x8b, 0x34, 0xfa, 0x42, 0x82, 0xe9, 0xac, 0xb7, 0x62, 0x94, 0xa1, 0x58, 0x1a, 0x8c, 0x87, + 0xdd, 0x2c, 0x89, 0x55, 0x7d, 0x89, 0xad, 0xbe, 0xc4, 0xaa, 0x2f, 0xab, 0xfb, 0x98, 0x58, 0xf5, + 0x65, 0x76, 0x11, 0x63, 0x55, 0x5f, 0x32, 0x8c, 0xd4, 0xcc, 0x9c, 0x89, 0xe5, 0x71, 0x97, 0xab, + 0x62, 0xc5, 0x4d, 0xa2, 0x83, 0xae, 0xa6, 0xe9, 0x97, 0xe2, 0x9e, 0x95, 0x8e, 0xe9, 0x13, 0x8b, + 0x9b, 0x44, 0x0c, 0x6b, 0x99, 0x7a, 0x75, 0x56, 0x4e, 0x74, 0x18, 0x5b, 0x23, 0xde, 0xd1, 0xe2, + 0xa2, 0xa9, 0xca, 0xa5, 0x39, 0xe8, 0x83, 0xce, 0x17, 0xa4, 0x7b, 0x47, 0xbb, 0x92, 0xa1, 0xc3, + 0x30, 0xfa, 0xb8, 0xcb, 0x55, 0x1c, 0x50, 0xb1, 0xff, 0x8f, 0xbe, 0xf9, 0x72, 0x45, 0x7a, 0xae, + 0xfc, 0xfa, 0xab, 0x59, 0xe9, 0x37, 0x5f, 0xcd, 0x4a, 0xff, 0xfb, 0xd5, 0xac, 0xf4, 0x57, 0x5f, + 0xcf, 0xbe, 0xf7, 0x9b, 0xaf, 0x67, 0xdf, 0xfb, 0xef, 0xaf, 0x67, 0xdf, 0x7b, 0xfb, 0xa4, 0xc3, + 0xdf, 0xce, 0x9f, 0x55, 0x82, 0x3f, 0x3d, 0xe3, 0x9d, 0xd7, 0x89, 0x7b, 0x30, 0xc0, 0xfe, 0xc2, + 0xcc, 0xda, 0xff, 0x05, 0x00, 0x00, 0xff, 0xff, 0x6a, 0xc9, 0xd4, 0x51, 0x1c, 0x47, 0x00, 0x00, } // Reference imports to suppress errors if they are not otherwise used. @@ -4700,7 +4703,7 @@ func NewMsgServiceClient(cc grpc1.ClientConn) MsgServiceClient { func (c *msgServiceClient) UpdateParams(ctx context.Context, in *UpdateParamsRequest, opts ...grpc.CallOption) (*UpdateParamsResponse, error) { out := new(UpdateParamsResponse) - err := c.cc.Invoke(ctx, "/emissions.v7.MsgService/UpdateParams", in, out, opts...) + err := c.cc.Invoke(ctx, "/emissions.v8.MsgService/UpdateParams", in, out, opts...) if err != nil { return nil, err } @@ -4709,7 +4712,7 @@ func (c *msgServiceClient) UpdateParams(ctx context.Context, in *UpdateParamsReq func (c *msgServiceClient) CreateNewTopic(ctx context.Context, in *CreateNewTopicRequest, opts ...grpc.CallOption) (*CreateNewTopicResponse, error) { out := new(CreateNewTopicResponse) - err := c.cc.Invoke(ctx, "/emissions.v7.MsgService/CreateNewTopic", in, out, opts...) + err := c.cc.Invoke(ctx, "/emissions.v8.MsgService/CreateNewTopic", in, out, opts...) if err != nil { return nil, err } @@ -4718,7 +4721,7 @@ func (c *msgServiceClient) CreateNewTopic(ctx context.Context, in *CreateNewTopi func (c *msgServiceClient) Register(ctx context.Context, in *RegisterRequest, opts ...grpc.CallOption) (*RegisterResponse, error) { out := new(RegisterResponse) - err := c.cc.Invoke(ctx, "/emissions.v7.MsgService/Register", in, out, opts...) + err := c.cc.Invoke(ctx, "/emissions.v8.MsgService/Register", in, out, opts...) if err != nil { return nil, err } @@ -4727,7 +4730,7 @@ func (c *msgServiceClient) Register(ctx context.Context, in *RegisterRequest, op func (c *msgServiceClient) RemoveRegistration(ctx context.Context, in *RemoveRegistrationRequest, opts ...grpc.CallOption) (*RemoveRegistrationResponse, error) { out := new(RemoveRegistrationResponse) - err := c.cc.Invoke(ctx, "/emissions.v7.MsgService/RemoveRegistration", in, out, opts...) + err := c.cc.Invoke(ctx, "/emissions.v8.MsgService/RemoveRegistration", in, out, opts...) if err != nil { return nil, err } @@ -4736,7 +4739,7 @@ func (c *msgServiceClient) RemoveRegistration(ctx context.Context, in *RemoveReg func (c *msgServiceClient) AddStake(ctx context.Context, in *AddStakeRequest, opts ...grpc.CallOption) (*AddStakeResponse, error) { out := new(AddStakeResponse) - err := c.cc.Invoke(ctx, "/emissions.v7.MsgService/AddStake", in, out, opts...) + err := c.cc.Invoke(ctx, "/emissions.v8.MsgService/AddStake", in, out, opts...) if err != nil { return nil, err } @@ -4745,7 +4748,7 @@ func (c *msgServiceClient) AddStake(ctx context.Context, in *AddStakeRequest, op func (c *msgServiceClient) RemoveStake(ctx context.Context, in *RemoveStakeRequest, opts ...grpc.CallOption) (*RemoveStakeResponse, error) { out := new(RemoveStakeResponse) - err := c.cc.Invoke(ctx, "/emissions.v7.MsgService/RemoveStake", in, out, opts...) + err := c.cc.Invoke(ctx, "/emissions.v8.MsgService/RemoveStake", in, out, opts...) if err != nil { return nil, err } @@ -4754,7 +4757,7 @@ func (c *msgServiceClient) RemoveStake(ctx context.Context, in *RemoveStakeReque func (c *msgServiceClient) CancelRemoveStake(ctx context.Context, in *CancelRemoveStakeRequest, opts ...grpc.CallOption) (*CancelRemoveStakeResponse, error) { out := new(CancelRemoveStakeResponse) - err := c.cc.Invoke(ctx, "/emissions.v7.MsgService/CancelRemoveStake", in, out, opts...) + err := c.cc.Invoke(ctx, "/emissions.v8.MsgService/CancelRemoveStake", in, out, opts...) if err != nil { return nil, err } @@ -4763,7 +4766,7 @@ func (c *msgServiceClient) CancelRemoveStake(ctx context.Context, in *CancelRemo func (c *msgServiceClient) DelegateStake(ctx context.Context, in *DelegateStakeRequest, opts ...grpc.CallOption) (*DelegateStakeResponse, error) { out := new(DelegateStakeResponse) - err := c.cc.Invoke(ctx, "/emissions.v7.MsgService/DelegateStake", in, out, opts...) + err := c.cc.Invoke(ctx, "/emissions.v8.MsgService/DelegateStake", in, out, opts...) if err != nil { return nil, err } @@ -4772,7 +4775,7 @@ func (c *msgServiceClient) DelegateStake(ctx context.Context, in *DelegateStakeR func (c *msgServiceClient) RewardDelegateStake(ctx context.Context, in *RewardDelegateStakeRequest, opts ...grpc.CallOption) (*RewardDelegateStakeResponse, error) { out := new(RewardDelegateStakeResponse) - err := c.cc.Invoke(ctx, "/emissions.v7.MsgService/RewardDelegateStake", in, out, opts...) + err := c.cc.Invoke(ctx, "/emissions.v8.MsgService/RewardDelegateStake", in, out, opts...) if err != nil { return nil, err } @@ -4781,7 +4784,7 @@ func (c *msgServiceClient) RewardDelegateStake(ctx context.Context, in *RewardDe func (c *msgServiceClient) RemoveDelegateStake(ctx context.Context, in *RemoveDelegateStakeRequest, opts ...grpc.CallOption) (*RemoveDelegateStakeResponse, error) { out := new(RemoveDelegateStakeResponse) - err := c.cc.Invoke(ctx, "/emissions.v7.MsgService/RemoveDelegateStake", in, out, opts...) + err := c.cc.Invoke(ctx, "/emissions.v8.MsgService/RemoveDelegateStake", in, out, opts...) if err != nil { return nil, err } @@ -4790,7 +4793,7 @@ func (c *msgServiceClient) RemoveDelegateStake(ctx context.Context, in *RemoveDe func (c *msgServiceClient) CancelRemoveDelegateStake(ctx context.Context, in *CancelRemoveDelegateStakeRequest, opts ...grpc.CallOption) (*CancelRemoveDelegateStakeResponse, error) { out := new(CancelRemoveDelegateStakeResponse) - err := c.cc.Invoke(ctx, "/emissions.v7.MsgService/CancelRemoveDelegateStake", in, out, opts...) + err := c.cc.Invoke(ctx, "/emissions.v8.MsgService/CancelRemoveDelegateStake", in, out, opts...) if err != nil { return nil, err } @@ -4799,7 +4802,7 @@ func (c *msgServiceClient) CancelRemoveDelegateStake(ctx context.Context, in *Ca func (c *msgServiceClient) FundTopic(ctx context.Context, in *FundTopicRequest, opts ...grpc.CallOption) (*FundTopicResponse, error) { out := new(FundTopicResponse) - err := c.cc.Invoke(ctx, "/emissions.v7.MsgService/FundTopic", in, out, opts...) + err := c.cc.Invoke(ctx, "/emissions.v8.MsgService/FundTopic", in, out, opts...) if err != nil { return nil, err } @@ -4808,7 +4811,7 @@ func (c *msgServiceClient) FundTopic(ctx context.Context, in *FundTopicRequest, func (c *msgServiceClient) AddToWhitelistAdmin(ctx context.Context, in *AddToWhitelistAdminRequest, opts ...grpc.CallOption) (*AddToWhitelistAdminResponse, error) { out := new(AddToWhitelistAdminResponse) - err := c.cc.Invoke(ctx, "/emissions.v7.MsgService/AddToWhitelistAdmin", in, out, opts...) + err := c.cc.Invoke(ctx, "/emissions.v8.MsgService/AddToWhitelistAdmin", in, out, opts...) if err != nil { return nil, err } @@ -4817,7 +4820,7 @@ func (c *msgServiceClient) AddToWhitelistAdmin(ctx context.Context, in *AddToWhi func (c *msgServiceClient) RemoveFromWhitelistAdmin(ctx context.Context, in *RemoveFromWhitelistAdminRequest, opts ...grpc.CallOption) (*RemoveFromWhitelistAdminResponse, error) { out := new(RemoveFromWhitelistAdminResponse) - err := c.cc.Invoke(ctx, "/emissions.v7.MsgService/RemoveFromWhitelistAdmin", in, out, opts...) + err := c.cc.Invoke(ctx, "/emissions.v8.MsgService/RemoveFromWhitelistAdmin", in, out, opts...) if err != nil { return nil, err } @@ -4826,7 +4829,7 @@ func (c *msgServiceClient) RemoveFromWhitelistAdmin(ctx context.Context, in *Rem func (c *msgServiceClient) InsertWorkerPayload(ctx context.Context, in *InsertWorkerPayloadRequest, opts ...grpc.CallOption) (*InsertWorkerPayloadResponse, error) { out := new(InsertWorkerPayloadResponse) - err := c.cc.Invoke(ctx, "/emissions.v7.MsgService/InsertWorkerPayload", in, out, opts...) + err := c.cc.Invoke(ctx, "/emissions.v8.MsgService/InsertWorkerPayload", in, out, opts...) if err != nil { return nil, err } @@ -4835,7 +4838,7 @@ func (c *msgServiceClient) InsertWorkerPayload(ctx context.Context, in *InsertWo func (c *msgServiceClient) InsertReputerPayload(ctx context.Context, in *InsertReputerPayloadRequest, opts ...grpc.CallOption) (*InsertReputerPayloadResponse, error) { out := new(InsertReputerPayloadResponse) - err := c.cc.Invoke(ctx, "/emissions.v7.MsgService/InsertReputerPayload", in, out, opts...) + err := c.cc.Invoke(ctx, "/emissions.v8.MsgService/InsertReputerPayload", in, out, opts...) if err != nil { return nil, err } @@ -4844,7 +4847,7 @@ func (c *msgServiceClient) InsertReputerPayload(ctx context.Context, in *InsertR func (c *msgServiceClient) AddToGlobalWhitelist(ctx context.Context, in *AddToGlobalWhitelistRequest, opts ...grpc.CallOption) (*AddToGlobalWhitelistResponse, error) { out := new(AddToGlobalWhitelistResponse) - err := c.cc.Invoke(ctx, "/emissions.v7.MsgService/AddToGlobalWhitelist", in, out, opts...) + err := c.cc.Invoke(ctx, "/emissions.v8.MsgService/AddToGlobalWhitelist", in, out, opts...) if err != nil { return nil, err } @@ -4853,7 +4856,7 @@ func (c *msgServiceClient) AddToGlobalWhitelist(ctx context.Context, in *AddToGl func (c *msgServiceClient) RemoveFromGlobalWhitelist(ctx context.Context, in *RemoveFromGlobalWhitelistRequest, opts ...grpc.CallOption) (*RemoveFromGlobalWhitelistResponse, error) { out := new(RemoveFromGlobalWhitelistResponse) - err := c.cc.Invoke(ctx, "/emissions.v7.MsgService/RemoveFromGlobalWhitelist", in, out, opts...) + err := c.cc.Invoke(ctx, "/emissions.v8.MsgService/RemoveFromGlobalWhitelist", in, out, opts...) if err != nil { return nil, err } @@ -4862,7 +4865,7 @@ func (c *msgServiceClient) RemoveFromGlobalWhitelist(ctx context.Context, in *Re func (c *msgServiceClient) AddToGlobalWorkerWhitelist(ctx context.Context, in *AddToGlobalWorkerWhitelistRequest, opts ...grpc.CallOption) (*AddToGlobalWorkerWhitelistResponse, error) { out := new(AddToGlobalWorkerWhitelistResponse) - err := c.cc.Invoke(ctx, "/emissions.v7.MsgService/AddToGlobalWorkerWhitelist", in, out, opts...) + err := c.cc.Invoke(ctx, "/emissions.v8.MsgService/AddToGlobalWorkerWhitelist", in, out, opts...) if err != nil { return nil, err } @@ -4871,7 +4874,7 @@ func (c *msgServiceClient) AddToGlobalWorkerWhitelist(ctx context.Context, in *A func (c *msgServiceClient) RemoveFromGlobalWorkerWhitelist(ctx context.Context, in *RemoveFromGlobalWorkerWhitelistRequest, opts ...grpc.CallOption) (*RemoveFromGlobalWorkerWhitelistResponse, error) { out := new(RemoveFromGlobalWorkerWhitelistResponse) - err := c.cc.Invoke(ctx, "/emissions.v7.MsgService/RemoveFromGlobalWorkerWhitelist", in, out, opts...) + err := c.cc.Invoke(ctx, "/emissions.v8.MsgService/RemoveFromGlobalWorkerWhitelist", in, out, opts...) if err != nil { return nil, err } @@ -4880,7 +4883,7 @@ func (c *msgServiceClient) RemoveFromGlobalWorkerWhitelist(ctx context.Context, func (c *msgServiceClient) AddToGlobalReputerWhitelist(ctx context.Context, in *AddToGlobalReputerWhitelistRequest, opts ...grpc.CallOption) (*AddToGlobalReputerWhitelistResponse, error) { out := new(AddToGlobalReputerWhitelistResponse) - err := c.cc.Invoke(ctx, "/emissions.v7.MsgService/AddToGlobalReputerWhitelist", in, out, opts...) + err := c.cc.Invoke(ctx, "/emissions.v8.MsgService/AddToGlobalReputerWhitelist", in, out, opts...) if err != nil { return nil, err } @@ -4889,7 +4892,7 @@ func (c *msgServiceClient) AddToGlobalReputerWhitelist(ctx context.Context, in * func (c *msgServiceClient) RemoveFromGlobalReputerWhitelist(ctx context.Context, in *RemoveFromGlobalReputerWhitelistRequest, opts ...grpc.CallOption) (*RemoveFromGlobalReputerWhitelistResponse, error) { out := new(RemoveFromGlobalReputerWhitelistResponse) - err := c.cc.Invoke(ctx, "/emissions.v7.MsgService/RemoveFromGlobalReputerWhitelist", in, out, opts...) + err := c.cc.Invoke(ctx, "/emissions.v8.MsgService/RemoveFromGlobalReputerWhitelist", in, out, opts...) if err != nil { return nil, err } @@ -4898,7 +4901,7 @@ func (c *msgServiceClient) RemoveFromGlobalReputerWhitelist(ctx context.Context, func (c *msgServiceClient) AddToGlobalAdminWhitelist(ctx context.Context, in *AddToGlobalAdminWhitelistRequest, opts ...grpc.CallOption) (*AddToGlobalAdminWhitelistResponse, error) { out := new(AddToGlobalAdminWhitelistResponse) - err := c.cc.Invoke(ctx, "/emissions.v7.MsgService/AddToGlobalAdminWhitelist", in, out, opts...) + err := c.cc.Invoke(ctx, "/emissions.v8.MsgService/AddToGlobalAdminWhitelist", in, out, opts...) if err != nil { return nil, err } @@ -4907,7 +4910,7 @@ func (c *msgServiceClient) AddToGlobalAdminWhitelist(ctx context.Context, in *Ad func (c *msgServiceClient) RemoveFromGlobalAdminWhitelist(ctx context.Context, in *RemoveFromGlobalAdminWhitelistRequest, opts ...grpc.CallOption) (*RemoveFromGlobalAdminWhitelistResponse, error) { out := new(RemoveFromGlobalAdminWhitelistResponse) - err := c.cc.Invoke(ctx, "/emissions.v7.MsgService/RemoveFromGlobalAdminWhitelist", in, out, opts...) + err := c.cc.Invoke(ctx, "/emissions.v8.MsgService/RemoveFromGlobalAdminWhitelist", in, out, opts...) if err != nil { return nil, err } @@ -4916,7 +4919,7 @@ func (c *msgServiceClient) RemoveFromGlobalAdminWhitelist(ctx context.Context, i func (c *msgServiceClient) BulkAddToGlobalWorkerWhitelist(ctx context.Context, in *BulkAddToGlobalWorkerWhitelistRequest, opts ...grpc.CallOption) (*BulkAddToGlobalWorkerWhitelistResponse, error) { out := new(BulkAddToGlobalWorkerWhitelistResponse) - err := c.cc.Invoke(ctx, "/emissions.v7.MsgService/BulkAddToGlobalWorkerWhitelist", in, out, opts...) + err := c.cc.Invoke(ctx, "/emissions.v8.MsgService/BulkAddToGlobalWorkerWhitelist", in, out, opts...) if err != nil { return nil, err } @@ -4925,7 +4928,7 @@ func (c *msgServiceClient) BulkAddToGlobalWorkerWhitelist(ctx context.Context, i func (c *msgServiceClient) BulkRemoveFromGlobalWorkerWhitelist(ctx context.Context, in *BulkRemoveFromGlobalWorkerWhitelistRequest, opts ...grpc.CallOption) (*BulkRemoveFromGlobalWorkerWhitelistResponse, error) { out := new(BulkRemoveFromGlobalWorkerWhitelistResponse) - err := c.cc.Invoke(ctx, "/emissions.v7.MsgService/BulkRemoveFromGlobalWorkerWhitelist", in, out, opts...) + err := c.cc.Invoke(ctx, "/emissions.v8.MsgService/BulkRemoveFromGlobalWorkerWhitelist", in, out, opts...) if err != nil { return nil, err } @@ -4934,7 +4937,7 @@ func (c *msgServiceClient) BulkRemoveFromGlobalWorkerWhitelist(ctx context.Conte func (c *msgServiceClient) BulkAddToGlobalReputerWhitelist(ctx context.Context, in *BulkAddToGlobalReputerWhitelistRequest, opts ...grpc.CallOption) (*BulkAddToGlobalReputerWhitelistResponse, error) { out := new(BulkAddToGlobalReputerWhitelistResponse) - err := c.cc.Invoke(ctx, "/emissions.v7.MsgService/BulkAddToGlobalReputerWhitelist", in, out, opts...) + err := c.cc.Invoke(ctx, "/emissions.v8.MsgService/BulkAddToGlobalReputerWhitelist", in, out, opts...) if err != nil { return nil, err } @@ -4943,7 +4946,7 @@ func (c *msgServiceClient) BulkAddToGlobalReputerWhitelist(ctx context.Context, func (c *msgServiceClient) BulkRemoveFromGlobalReputerWhitelist(ctx context.Context, in *BulkRemoveFromGlobalReputerWhitelistRequest, opts ...grpc.CallOption) (*BulkRemoveFromGlobalReputerWhitelistResponse, error) { out := new(BulkRemoveFromGlobalReputerWhitelistResponse) - err := c.cc.Invoke(ctx, "/emissions.v7.MsgService/BulkRemoveFromGlobalReputerWhitelist", in, out, opts...) + err := c.cc.Invoke(ctx, "/emissions.v8.MsgService/BulkRemoveFromGlobalReputerWhitelist", in, out, opts...) if err != nil { return nil, err } @@ -4952,7 +4955,7 @@ func (c *msgServiceClient) BulkRemoveFromGlobalReputerWhitelist(ctx context.Cont func (c *msgServiceClient) BulkAddToTopicWorkerWhitelist(ctx context.Context, in *BulkAddToTopicWorkerWhitelistRequest, opts ...grpc.CallOption) (*BulkAddToTopicWorkerWhitelistResponse, error) { out := new(BulkAddToTopicWorkerWhitelistResponse) - err := c.cc.Invoke(ctx, "/emissions.v7.MsgService/BulkAddToTopicWorkerWhitelist", in, out, opts...) + err := c.cc.Invoke(ctx, "/emissions.v8.MsgService/BulkAddToTopicWorkerWhitelist", in, out, opts...) if err != nil { return nil, err } @@ -4961,7 +4964,7 @@ func (c *msgServiceClient) BulkAddToTopicWorkerWhitelist(ctx context.Context, in func (c *msgServiceClient) BulkRemoveFromTopicWorkerWhitelist(ctx context.Context, in *BulkRemoveFromTopicWorkerWhitelistRequest, opts ...grpc.CallOption) (*BulkRemoveFromTopicWorkerWhitelistResponse, error) { out := new(BulkRemoveFromTopicWorkerWhitelistResponse) - err := c.cc.Invoke(ctx, "/emissions.v7.MsgService/BulkRemoveFromTopicWorkerWhitelist", in, out, opts...) + err := c.cc.Invoke(ctx, "/emissions.v8.MsgService/BulkRemoveFromTopicWorkerWhitelist", in, out, opts...) if err != nil { return nil, err } @@ -4970,7 +4973,7 @@ func (c *msgServiceClient) BulkRemoveFromTopicWorkerWhitelist(ctx context.Contex func (c *msgServiceClient) BulkAddToTopicReputerWhitelist(ctx context.Context, in *BulkAddToTopicReputerWhitelistRequest, opts ...grpc.CallOption) (*BulkAddToTopicReputerWhitelistResponse, error) { out := new(BulkAddToTopicReputerWhitelistResponse) - err := c.cc.Invoke(ctx, "/emissions.v7.MsgService/BulkAddToTopicReputerWhitelist", in, out, opts...) + err := c.cc.Invoke(ctx, "/emissions.v8.MsgService/BulkAddToTopicReputerWhitelist", in, out, opts...) if err != nil { return nil, err } @@ -4979,7 +4982,7 @@ func (c *msgServiceClient) BulkAddToTopicReputerWhitelist(ctx context.Context, i func (c *msgServiceClient) BulkRemoveFromTopicReputerWhitelist(ctx context.Context, in *BulkRemoveFromTopicReputerWhitelistRequest, opts ...grpc.CallOption) (*BulkRemoveFromTopicReputerWhitelistResponse, error) { out := new(BulkRemoveFromTopicReputerWhitelistResponse) - err := c.cc.Invoke(ctx, "/emissions.v7.MsgService/BulkRemoveFromTopicReputerWhitelist", in, out, opts...) + err := c.cc.Invoke(ctx, "/emissions.v8.MsgService/BulkRemoveFromTopicReputerWhitelist", in, out, opts...) if err != nil { return nil, err } @@ -4988,7 +4991,7 @@ func (c *msgServiceClient) BulkRemoveFromTopicReputerWhitelist(ctx context.Conte func (c *msgServiceClient) EnableTopicWorkerWhitelist(ctx context.Context, in *EnableTopicWorkerWhitelistRequest, opts ...grpc.CallOption) (*EnableTopicWorkerWhitelistResponse, error) { out := new(EnableTopicWorkerWhitelistResponse) - err := c.cc.Invoke(ctx, "/emissions.v7.MsgService/EnableTopicWorkerWhitelist", in, out, opts...) + err := c.cc.Invoke(ctx, "/emissions.v8.MsgService/EnableTopicWorkerWhitelist", in, out, opts...) if err != nil { return nil, err } @@ -4997,7 +5000,7 @@ func (c *msgServiceClient) EnableTopicWorkerWhitelist(ctx context.Context, in *E func (c *msgServiceClient) DisableTopicWorkerWhitelist(ctx context.Context, in *DisableTopicWorkerWhitelistRequest, opts ...grpc.CallOption) (*DisableTopicWorkerWhitelistResponse, error) { out := new(DisableTopicWorkerWhitelistResponse) - err := c.cc.Invoke(ctx, "/emissions.v7.MsgService/DisableTopicWorkerWhitelist", in, out, opts...) + err := c.cc.Invoke(ctx, "/emissions.v8.MsgService/DisableTopicWorkerWhitelist", in, out, opts...) if err != nil { return nil, err } @@ -5006,7 +5009,7 @@ func (c *msgServiceClient) DisableTopicWorkerWhitelist(ctx context.Context, in * func (c *msgServiceClient) EnableTopicReputerWhitelist(ctx context.Context, in *EnableTopicReputerWhitelistRequest, opts ...grpc.CallOption) (*EnableTopicReputerWhitelistResponse, error) { out := new(EnableTopicReputerWhitelistResponse) - err := c.cc.Invoke(ctx, "/emissions.v7.MsgService/EnableTopicReputerWhitelist", in, out, opts...) + err := c.cc.Invoke(ctx, "/emissions.v8.MsgService/EnableTopicReputerWhitelist", in, out, opts...) if err != nil { return nil, err } @@ -5015,7 +5018,7 @@ func (c *msgServiceClient) EnableTopicReputerWhitelist(ctx context.Context, in * func (c *msgServiceClient) DisableTopicReputerWhitelist(ctx context.Context, in *DisableTopicReputerWhitelistRequest, opts ...grpc.CallOption) (*DisableTopicReputerWhitelistResponse, error) { out := new(DisableTopicReputerWhitelistResponse) - err := c.cc.Invoke(ctx, "/emissions.v7.MsgService/DisableTopicReputerWhitelist", in, out, opts...) + err := c.cc.Invoke(ctx, "/emissions.v8.MsgService/DisableTopicReputerWhitelist", in, out, opts...) if err != nil { return nil, err } @@ -5024,7 +5027,7 @@ func (c *msgServiceClient) DisableTopicReputerWhitelist(ctx context.Context, in func (c *msgServiceClient) AddToTopicCreatorWhitelist(ctx context.Context, in *AddToTopicCreatorWhitelistRequest, opts ...grpc.CallOption) (*AddToTopicCreatorWhitelistResponse, error) { out := new(AddToTopicCreatorWhitelistResponse) - err := c.cc.Invoke(ctx, "/emissions.v7.MsgService/AddToTopicCreatorWhitelist", in, out, opts...) + err := c.cc.Invoke(ctx, "/emissions.v8.MsgService/AddToTopicCreatorWhitelist", in, out, opts...) if err != nil { return nil, err } @@ -5033,7 +5036,7 @@ func (c *msgServiceClient) AddToTopicCreatorWhitelist(ctx context.Context, in *A func (c *msgServiceClient) RemoveFromTopicCreatorWhitelist(ctx context.Context, in *RemoveFromTopicCreatorWhitelistRequest, opts ...grpc.CallOption) (*RemoveFromTopicCreatorWhitelistResponse, error) { out := new(RemoveFromTopicCreatorWhitelistResponse) - err := c.cc.Invoke(ctx, "/emissions.v7.MsgService/RemoveFromTopicCreatorWhitelist", in, out, opts...) + err := c.cc.Invoke(ctx, "/emissions.v8.MsgService/RemoveFromTopicCreatorWhitelist", in, out, opts...) if err != nil { return nil, err } @@ -5042,7 +5045,7 @@ func (c *msgServiceClient) RemoveFromTopicCreatorWhitelist(ctx context.Context, func (c *msgServiceClient) AddToTopicWorkerWhitelist(ctx context.Context, in *AddToTopicWorkerWhitelistRequest, opts ...grpc.CallOption) (*AddToTopicWorkerWhitelistResponse, error) { out := new(AddToTopicWorkerWhitelistResponse) - err := c.cc.Invoke(ctx, "/emissions.v7.MsgService/AddToTopicWorkerWhitelist", in, out, opts...) + err := c.cc.Invoke(ctx, "/emissions.v8.MsgService/AddToTopicWorkerWhitelist", in, out, opts...) if err != nil { return nil, err } @@ -5051,7 +5054,7 @@ func (c *msgServiceClient) AddToTopicWorkerWhitelist(ctx context.Context, in *Ad func (c *msgServiceClient) RemoveFromTopicWorkerWhitelist(ctx context.Context, in *RemoveFromTopicWorkerWhitelistRequest, opts ...grpc.CallOption) (*RemoveFromTopicWorkerWhitelistResponse, error) { out := new(RemoveFromTopicWorkerWhitelistResponse) - err := c.cc.Invoke(ctx, "/emissions.v7.MsgService/RemoveFromTopicWorkerWhitelist", in, out, opts...) + err := c.cc.Invoke(ctx, "/emissions.v8.MsgService/RemoveFromTopicWorkerWhitelist", in, out, opts...) if err != nil { return nil, err } @@ -5060,7 +5063,7 @@ func (c *msgServiceClient) RemoveFromTopicWorkerWhitelist(ctx context.Context, i func (c *msgServiceClient) AddToTopicReputerWhitelist(ctx context.Context, in *AddToTopicReputerWhitelistRequest, opts ...grpc.CallOption) (*AddToTopicReputerWhitelistResponse, error) { out := new(AddToTopicReputerWhitelistResponse) - err := c.cc.Invoke(ctx, "/emissions.v7.MsgService/AddToTopicReputerWhitelist", in, out, opts...) + err := c.cc.Invoke(ctx, "/emissions.v8.MsgService/AddToTopicReputerWhitelist", in, out, opts...) if err != nil { return nil, err } @@ -5069,7 +5072,7 @@ func (c *msgServiceClient) AddToTopicReputerWhitelist(ctx context.Context, in *A func (c *msgServiceClient) RemoveFromTopicReputerWhitelist(ctx context.Context, in *RemoveFromTopicReputerWhitelistRequest, opts ...grpc.CallOption) (*RemoveFromTopicReputerWhitelistResponse, error) { out := new(RemoveFromTopicReputerWhitelistResponse) - err := c.cc.Invoke(ctx, "/emissions.v7.MsgService/RemoveFromTopicReputerWhitelist", in, out, opts...) + err := c.cc.Invoke(ctx, "/emissions.v8.MsgService/RemoveFromTopicReputerWhitelist", in, out, opts...) if err != nil { return nil, err } @@ -5267,7 +5270,7 @@ func _MsgService_UpdateParams_Handler(srv interface{}, ctx context.Context, dec } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/emissions.v7.MsgService/UpdateParams", + FullMethod: "/emissions.v8.MsgService/UpdateParams", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(MsgServiceServer).UpdateParams(ctx, req.(*UpdateParamsRequest)) @@ -5285,7 +5288,7 @@ func _MsgService_CreateNewTopic_Handler(srv interface{}, ctx context.Context, de } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/emissions.v7.MsgService/CreateNewTopic", + FullMethod: "/emissions.v8.MsgService/CreateNewTopic", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(MsgServiceServer).CreateNewTopic(ctx, req.(*CreateNewTopicRequest)) @@ -5303,7 +5306,7 @@ func _MsgService_Register_Handler(srv interface{}, ctx context.Context, dec func } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/emissions.v7.MsgService/Register", + FullMethod: "/emissions.v8.MsgService/Register", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(MsgServiceServer).Register(ctx, req.(*RegisterRequest)) @@ -5321,7 +5324,7 @@ func _MsgService_RemoveRegistration_Handler(srv interface{}, ctx context.Context } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/emissions.v7.MsgService/RemoveRegistration", + FullMethod: "/emissions.v8.MsgService/RemoveRegistration", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(MsgServiceServer).RemoveRegistration(ctx, req.(*RemoveRegistrationRequest)) @@ -5339,7 +5342,7 @@ func _MsgService_AddStake_Handler(srv interface{}, ctx context.Context, dec func } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/emissions.v7.MsgService/AddStake", + FullMethod: "/emissions.v8.MsgService/AddStake", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(MsgServiceServer).AddStake(ctx, req.(*AddStakeRequest)) @@ -5357,7 +5360,7 @@ func _MsgService_RemoveStake_Handler(srv interface{}, ctx context.Context, dec f } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/emissions.v7.MsgService/RemoveStake", + FullMethod: "/emissions.v8.MsgService/RemoveStake", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(MsgServiceServer).RemoveStake(ctx, req.(*RemoveStakeRequest)) @@ -5375,7 +5378,7 @@ func _MsgService_CancelRemoveStake_Handler(srv interface{}, ctx context.Context, } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/emissions.v7.MsgService/CancelRemoveStake", + FullMethod: "/emissions.v8.MsgService/CancelRemoveStake", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(MsgServiceServer).CancelRemoveStake(ctx, req.(*CancelRemoveStakeRequest)) @@ -5393,7 +5396,7 @@ func _MsgService_DelegateStake_Handler(srv interface{}, ctx context.Context, dec } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/emissions.v7.MsgService/DelegateStake", + FullMethod: "/emissions.v8.MsgService/DelegateStake", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(MsgServiceServer).DelegateStake(ctx, req.(*DelegateStakeRequest)) @@ -5411,7 +5414,7 @@ func _MsgService_RewardDelegateStake_Handler(srv interface{}, ctx context.Contex } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/emissions.v7.MsgService/RewardDelegateStake", + FullMethod: "/emissions.v8.MsgService/RewardDelegateStake", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(MsgServiceServer).RewardDelegateStake(ctx, req.(*RewardDelegateStakeRequest)) @@ -5429,7 +5432,7 @@ func _MsgService_RemoveDelegateStake_Handler(srv interface{}, ctx context.Contex } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/emissions.v7.MsgService/RemoveDelegateStake", + FullMethod: "/emissions.v8.MsgService/RemoveDelegateStake", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(MsgServiceServer).RemoveDelegateStake(ctx, req.(*RemoveDelegateStakeRequest)) @@ -5447,7 +5450,7 @@ func _MsgService_CancelRemoveDelegateStake_Handler(srv interface{}, ctx context. } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/emissions.v7.MsgService/CancelRemoveDelegateStake", + FullMethod: "/emissions.v8.MsgService/CancelRemoveDelegateStake", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(MsgServiceServer).CancelRemoveDelegateStake(ctx, req.(*CancelRemoveDelegateStakeRequest)) @@ -5465,7 +5468,7 @@ func _MsgService_FundTopic_Handler(srv interface{}, ctx context.Context, dec fun } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/emissions.v7.MsgService/FundTopic", + FullMethod: "/emissions.v8.MsgService/FundTopic", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(MsgServiceServer).FundTopic(ctx, req.(*FundTopicRequest)) @@ -5483,7 +5486,7 @@ func _MsgService_AddToWhitelistAdmin_Handler(srv interface{}, ctx context.Contex } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/emissions.v7.MsgService/AddToWhitelistAdmin", + FullMethod: "/emissions.v8.MsgService/AddToWhitelistAdmin", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(MsgServiceServer).AddToWhitelistAdmin(ctx, req.(*AddToWhitelistAdminRequest)) @@ -5501,7 +5504,7 @@ func _MsgService_RemoveFromWhitelistAdmin_Handler(srv interface{}, ctx context.C } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/emissions.v7.MsgService/RemoveFromWhitelistAdmin", + FullMethod: "/emissions.v8.MsgService/RemoveFromWhitelistAdmin", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(MsgServiceServer).RemoveFromWhitelistAdmin(ctx, req.(*RemoveFromWhitelistAdminRequest)) @@ -5519,7 +5522,7 @@ func _MsgService_InsertWorkerPayload_Handler(srv interface{}, ctx context.Contex } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/emissions.v7.MsgService/InsertWorkerPayload", + FullMethod: "/emissions.v8.MsgService/InsertWorkerPayload", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(MsgServiceServer).InsertWorkerPayload(ctx, req.(*InsertWorkerPayloadRequest)) @@ -5537,7 +5540,7 @@ func _MsgService_InsertReputerPayload_Handler(srv interface{}, ctx context.Conte } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/emissions.v7.MsgService/InsertReputerPayload", + FullMethod: "/emissions.v8.MsgService/InsertReputerPayload", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(MsgServiceServer).InsertReputerPayload(ctx, req.(*InsertReputerPayloadRequest)) @@ -5555,7 +5558,7 @@ func _MsgService_AddToGlobalWhitelist_Handler(srv interface{}, ctx context.Conte } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/emissions.v7.MsgService/AddToGlobalWhitelist", + FullMethod: "/emissions.v8.MsgService/AddToGlobalWhitelist", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(MsgServiceServer).AddToGlobalWhitelist(ctx, req.(*AddToGlobalWhitelistRequest)) @@ -5573,7 +5576,7 @@ func _MsgService_RemoveFromGlobalWhitelist_Handler(srv interface{}, ctx context. } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/emissions.v7.MsgService/RemoveFromGlobalWhitelist", + FullMethod: "/emissions.v8.MsgService/RemoveFromGlobalWhitelist", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(MsgServiceServer).RemoveFromGlobalWhitelist(ctx, req.(*RemoveFromGlobalWhitelistRequest)) @@ -5591,7 +5594,7 @@ func _MsgService_AddToGlobalWorkerWhitelist_Handler(srv interface{}, ctx context } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/emissions.v7.MsgService/AddToGlobalWorkerWhitelist", + FullMethod: "/emissions.v8.MsgService/AddToGlobalWorkerWhitelist", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(MsgServiceServer).AddToGlobalWorkerWhitelist(ctx, req.(*AddToGlobalWorkerWhitelistRequest)) @@ -5609,7 +5612,7 @@ func _MsgService_RemoveFromGlobalWorkerWhitelist_Handler(srv interface{}, ctx co } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/emissions.v7.MsgService/RemoveFromGlobalWorkerWhitelist", + FullMethod: "/emissions.v8.MsgService/RemoveFromGlobalWorkerWhitelist", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(MsgServiceServer).RemoveFromGlobalWorkerWhitelist(ctx, req.(*RemoveFromGlobalWorkerWhitelistRequest)) @@ -5627,7 +5630,7 @@ func _MsgService_AddToGlobalReputerWhitelist_Handler(srv interface{}, ctx contex } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/emissions.v7.MsgService/AddToGlobalReputerWhitelist", + FullMethod: "/emissions.v8.MsgService/AddToGlobalReputerWhitelist", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(MsgServiceServer).AddToGlobalReputerWhitelist(ctx, req.(*AddToGlobalReputerWhitelistRequest)) @@ -5645,7 +5648,7 @@ func _MsgService_RemoveFromGlobalReputerWhitelist_Handler(srv interface{}, ctx c } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/emissions.v7.MsgService/RemoveFromGlobalReputerWhitelist", + FullMethod: "/emissions.v8.MsgService/RemoveFromGlobalReputerWhitelist", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(MsgServiceServer).RemoveFromGlobalReputerWhitelist(ctx, req.(*RemoveFromGlobalReputerWhitelistRequest)) @@ -5663,7 +5666,7 @@ func _MsgService_AddToGlobalAdminWhitelist_Handler(srv interface{}, ctx context. } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/emissions.v7.MsgService/AddToGlobalAdminWhitelist", + FullMethod: "/emissions.v8.MsgService/AddToGlobalAdminWhitelist", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(MsgServiceServer).AddToGlobalAdminWhitelist(ctx, req.(*AddToGlobalAdminWhitelistRequest)) @@ -5681,7 +5684,7 @@ func _MsgService_RemoveFromGlobalAdminWhitelist_Handler(srv interface{}, ctx con } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/emissions.v7.MsgService/RemoveFromGlobalAdminWhitelist", + FullMethod: "/emissions.v8.MsgService/RemoveFromGlobalAdminWhitelist", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(MsgServiceServer).RemoveFromGlobalAdminWhitelist(ctx, req.(*RemoveFromGlobalAdminWhitelistRequest)) @@ -5699,7 +5702,7 @@ func _MsgService_BulkAddToGlobalWorkerWhitelist_Handler(srv interface{}, ctx con } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/emissions.v7.MsgService/BulkAddToGlobalWorkerWhitelist", + FullMethod: "/emissions.v8.MsgService/BulkAddToGlobalWorkerWhitelist", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(MsgServiceServer).BulkAddToGlobalWorkerWhitelist(ctx, req.(*BulkAddToGlobalWorkerWhitelistRequest)) @@ -5717,7 +5720,7 @@ func _MsgService_BulkRemoveFromGlobalWorkerWhitelist_Handler(srv interface{}, ct } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/emissions.v7.MsgService/BulkRemoveFromGlobalWorkerWhitelist", + FullMethod: "/emissions.v8.MsgService/BulkRemoveFromGlobalWorkerWhitelist", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(MsgServiceServer).BulkRemoveFromGlobalWorkerWhitelist(ctx, req.(*BulkRemoveFromGlobalWorkerWhitelistRequest)) @@ -5735,7 +5738,7 @@ func _MsgService_BulkAddToGlobalReputerWhitelist_Handler(srv interface{}, ctx co } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/emissions.v7.MsgService/BulkAddToGlobalReputerWhitelist", + FullMethod: "/emissions.v8.MsgService/BulkAddToGlobalReputerWhitelist", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(MsgServiceServer).BulkAddToGlobalReputerWhitelist(ctx, req.(*BulkAddToGlobalReputerWhitelistRequest)) @@ -5753,7 +5756,7 @@ func _MsgService_BulkRemoveFromGlobalReputerWhitelist_Handler(srv interface{}, c } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/emissions.v7.MsgService/BulkRemoveFromGlobalReputerWhitelist", + FullMethod: "/emissions.v8.MsgService/BulkRemoveFromGlobalReputerWhitelist", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(MsgServiceServer).BulkRemoveFromGlobalReputerWhitelist(ctx, req.(*BulkRemoveFromGlobalReputerWhitelistRequest)) @@ -5771,7 +5774,7 @@ func _MsgService_BulkAddToTopicWorkerWhitelist_Handler(srv interface{}, ctx cont } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/emissions.v7.MsgService/BulkAddToTopicWorkerWhitelist", + FullMethod: "/emissions.v8.MsgService/BulkAddToTopicWorkerWhitelist", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(MsgServiceServer).BulkAddToTopicWorkerWhitelist(ctx, req.(*BulkAddToTopicWorkerWhitelistRequest)) @@ -5789,7 +5792,7 @@ func _MsgService_BulkRemoveFromTopicWorkerWhitelist_Handler(srv interface{}, ctx } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/emissions.v7.MsgService/BulkRemoveFromTopicWorkerWhitelist", + FullMethod: "/emissions.v8.MsgService/BulkRemoveFromTopicWorkerWhitelist", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(MsgServiceServer).BulkRemoveFromTopicWorkerWhitelist(ctx, req.(*BulkRemoveFromTopicWorkerWhitelistRequest)) @@ -5807,7 +5810,7 @@ func _MsgService_BulkAddToTopicReputerWhitelist_Handler(srv interface{}, ctx con } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/emissions.v7.MsgService/BulkAddToTopicReputerWhitelist", + FullMethod: "/emissions.v8.MsgService/BulkAddToTopicReputerWhitelist", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(MsgServiceServer).BulkAddToTopicReputerWhitelist(ctx, req.(*BulkAddToTopicReputerWhitelistRequest)) @@ -5825,7 +5828,7 @@ func _MsgService_BulkRemoveFromTopicReputerWhitelist_Handler(srv interface{}, ct } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/emissions.v7.MsgService/BulkRemoveFromTopicReputerWhitelist", + FullMethod: "/emissions.v8.MsgService/BulkRemoveFromTopicReputerWhitelist", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(MsgServiceServer).BulkRemoveFromTopicReputerWhitelist(ctx, req.(*BulkRemoveFromTopicReputerWhitelistRequest)) @@ -5843,7 +5846,7 @@ func _MsgService_EnableTopicWorkerWhitelist_Handler(srv interface{}, ctx context } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/emissions.v7.MsgService/EnableTopicWorkerWhitelist", + FullMethod: "/emissions.v8.MsgService/EnableTopicWorkerWhitelist", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(MsgServiceServer).EnableTopicWorkerWhitelist(ctx, req.(*EnableTopicWorkerWhitelistRequest)) @@ -5861,7 +5864,7 @@ func _MsgService_DisableTopicWorkerWhitelist_Handler(srv interface{}, ctx contex } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/emissions.v7.MsgService/DisableTopicWorkerWhitelist", + FullMethod: "/emissions.v8.MsgService/DisableTopicWorkerWhitelist", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(MsgServiceServer).DisableTopicWorkerWhitelist(ctx, req.(*DisableTopicWorkerWhitelistRequest)) @@ -5879,7 +5882,7 @@ func _MsgService_EnableTopicReputerWhitelist_Handler(srv interface{}, ctx contex } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/emissions.v7.MsgService/EnableTopicReputerWhitelist", + FullMethod: "/emissions.v8.MsgService/EnableTopicReputerWhitelist", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(MsgServiceServer).EnableTopicReputerWhitelist(ctx, req.(*EnableTopicReputerWhitelistRequest)) @@ -5897,7 +5900,7 @@ func _MsgService_DisableTopicReputerWhitelist_Handler(srv interface{}, ctx conte } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/emissions.v7.MsgService/DisableTopicReputerWhitelist", + FullMethod: "/emissions.v8.MsgService/DisableTopicReputerWhitelist", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(MsgServiceServer).DisableTopicReputerWhitelist(ctx, req.(*DisableTopicReputerWhitelistRequest)) @@ -5915,7 +5918,7 @@ func _MsgService_AddToTopicCreatorWhitelist_Handler(srv interface{}, ctx context } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/emissions.v7.MsgService/AddToTopicCreatorWhitelist", + FullMethod: "/emissions.v8.MsgService/AddToTopicCreatorWhitelist", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(MsgServiceServer).AddToTopicCreatorWhitelist(ctx, req.(*AddToTopicCreatorWhitelistRequest)) @@ -5933,7 +5936,7 @@ func _MsgService_RemoveFromTopicCreatorWhitelist_Handler(srv interface{}, ctx co } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/emissions.v7.MsgService/RemoveFromTopicCreatorWhitelist", + FullMethod: "/emissions.v8.MsgService/RemoveFromTopicCreatorWhitelist", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(MsgServiceServer).RemoveFromTopicCreatorWhitelist(ctx, req.(*RemoveFromTopicCreatorWhitelistRequest)) @@ -5951,7 +5954,7 @@ func _MsgService_AddToTopicWorkerWhitelist_Handler(srv interface{}, ctx context. } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/emissions.v7.MsgService/AddToTopicWorkerWhitelist", + FullMethod: "/emissions.v8.MsgService/AddToTopicWorkerWhitelist", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(MsgServiceServer).AddToTopicWorkerWhitelist(ctx, req.(*AddToTopicWorkerWhitelistRequest)) @@ -5969,7 +5972,7 @@ func _MsgService_RemoveFromTopicWorkerWhitelist_Handler(srv interface{}, ctx con } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/emissions.v7.MsgService/RemoveFromTopicWorkerWhitelist", + FullMethod: "/emissions.v8.MsgService/RemoveFromTopicWorkerWhitelist", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(MsgServiceServer).RemoveFromTopicWorkerWhitelist(ctx, req.(*RemoveFromTopicWorkerWhitelistRequest)) @@ -5987,7 +5990,7 @@ func _MsgService_AddToTopicReputerWhitelist_Handler(srv interface{}, ctx context } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/emissions.v7.MsgService/AddToTopicReputerWhitelist", + FullMethod: "/emissions.v8.MsgService/AddToTopicReputerWhitelist", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(MsgServiceServer).AddToTopicReputerWhitelist(ctx, req.(*AddToTopicReputerWhitelistRequest)) @@ -6005,7 +6008,7 @@ func _MsgService_RemoveFromTopicReputerWhitelist_Handler(srv interface{}, ctx co } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/emissions.v7.MsgService/RemoveFromTopicReputerWhitelist", + FullMethod: "/emissions.v8.MsgService/RemoveFromTopicReputerWhitelist", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(MsgServiceServer).RemoveFromTopicReputerWhitelist(ctx, req.(*RemoveFromTopicReputerWhitelistRequest)) @@ -6015,7 +6018,7 @@ func _MsgService_RemoveFromTopicReputerWhitelist_Handler(srv interface{}, ctx co var MsgService_serviceDesc = _MsgService_serviceDesc var _MsgService_serviceDesc = grpc.ServiceDesc{ - ServiceName: "emissions.v7.MsgService", + ServiceName: "emissions.v8.MsgService", HandlerType: (*MsgServiceServer)(nil), Methods: []grpc.MethodDesc{ { @@ -6188,7 +6191,7 @@ var _MsgService_serviceDesc = grpc.ServiceDesc{ }, }, Streams: []grpc.StreamDesc{}, - Metadata: "emissions/v7/tx.proto", + Metadata: "emissions/v8/tx.proto", } func (m *OptionalParams) Marshal() (dAtA []byte, err error) { @@ -6211,6 +6214,22 @@ func (m *OptionalParams) MarshalToSizedBuffer(dAtA []byte) (int, error) { _ = i var l int _ = l + if len(m.MinWeightThresholdForStdnorm) > 0 { + for iNdEx := len(m.MinWeightThresholdForStdnorm) - 1; iNdEx >= 0; iNdEx-- { + { + size := m.MinWeightThresholdForStdnorm[iNdEx].Size() + i -= size + if _, err := m.MinWeightThresholdForStdnorm[iNdEx].MarshalTo(dAtA[i:]); err != nil { + return 0, err + } + i = encodeVarintTx(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x3 + i-- + dAtA[i] = 0xe2 + } + } if len(m.MaxWhitelistInputArrayLength) > 0 { dAtA2 := make([]byte, len(m.MaxWhitelistInputArrayLength)*10) var j1 int @@ -10296,6 +10315,12 @@ func (m *OptionalParams) Size() (n int) { } n += 2 + sovTx(uint64(l)) + l } + if len(m.MinWeightThresholdForStdnorm) > 0 { + for _, e := range m.MinWeightThresholdForStdnorm { + l = e.Size() + n += 2 + l + sovTx(uint64(l)) + } + } return n } @@ -14419,6 +14444,42 @@ func (m *OptionalParams) Unmarshal(dAtA []byte) error { } else { return fmt.Errorf("proto: wrong wireType = %d for field MaxWhitelistInputArrayLength", wireType) } + case 60: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field MinWeightThresholdForStdnorm", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthTx + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthTx + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + var v github_com_allora_network_allora_chain_math.Dec + m.MinWeightThresholdForStdnorm = append(m.MinWeightThresholdForStdnorm, v) + if err := m.MinWeightThresholdForStdnorm[len(m.MinWeightThresholdForStdnorm)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex default: iNdEx = preIndex skippy, err := skipTx(dAtA[iNdEx:])